@zezosoft/zezo-ott-react-native-ui-kit 1.1.2 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js +5 -2
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js +232 -0
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js +324 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/{Login → One/Login}/LoginWithPhone.js +13 -11
- package/lib/module/components/Auth/One/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/One/OTP/OTP.js +301 -0
- package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js +362 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.js +8 -5
- package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js +80 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.js +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.js +42 -21
- package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/One/index.js +25 -0
- package/lib/module/components/Auth/One/index.js.map +1 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js +93 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js.map +1 -0
- package/lib/module/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.js +55 -28
- package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js +138 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js +226 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js +143 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/{OTP → Two/OTP}/OTP.js +93 -63
- package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js +379 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js +141 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.js +1 -1
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js +63 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js +157 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/Two/index.js +29 -0
- package/lib/module/components/Auth/Two/index.js.map +1 -0
- package/lib/module/components/Auth/index.js +7 -22
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +7 -3
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js +52 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js.map +1 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +7 -3
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheetOne.js +170 -0
- package/lib/module/components/BottomSheet/BottomSheetOne.js.map +1 -0
- package/lib/module/components/BottomSheet/index.js +1 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +16 -6
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +88 -13
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/Category/CategroyTwo.js +287 -0
- package/lib/module/components/Content/Card/Category/CategroyTwo.js.map +1 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +237 -108
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +191 -132
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js +714 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +139 -92
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +3 -1
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +132 -48
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +127 -59
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +126 -50
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +139 -53
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +207 -115
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +119 -94
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +187 -171
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +145 -64
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/AdsPoster.js +162 -0
- package/lib/module/components/Content/Card/components/AdsPoster.js.map +1 -0
- package/lib/module/components/Content/Card/components/CardPoster.js +217 -135
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/NavigateToMore.js +26 -2
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/index.js +4 -0
- package/lib/module/components/Content/Card/components/index.js.map +1 -0
- package/lib/module/components/Content/Content.js +90 -33
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +41 -11
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/Content/types.js +4 -0
- package/lib/module/components/Content/types.js.map +1 -0
- package/lib/module/components/ContentView/MoreContentList.js +1 -0
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/{ContentView.js → One/ContentViewOne.js} +6 -5
- package/lib/module/components/ContentView/One/ContentViewOne.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/AboutSection.js +2 -2
- package/lib/module/components/ContentView/One/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/CastCard.js +2 -2
- package/lib/module/components/ContentView/One/components/CastCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/EpisodeCard.js +5 -6
- package/lib/module/components/ContentView/One/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/GenreTags.js +2 -2
- package/lib/module/components/ContentView/One/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/HeroBanner.js +45 -44
- package/lib/module/components/ContentView/One/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/MiniInfo.js +50 -5
- package/lib/module/components/ContentView/One/components/MiniInfo.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/PlayButton.js +1 -1
- package/lib/module/components/ContentView/One/components/PlayButton.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/Title.js +1 -1
- package/lib/module/components/ContentView/One/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/TrailerButton.js +2 -2
- package/lib/module/components/ContentView/One/components/TrailerButton.js.map +1 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js +220 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js +150 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Details.js +156 -0
- package/lib/module/components/ContentView/Two/components/Details.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js +425 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js +86 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js +339 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js +88 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js +235 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js.map +1 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js +120 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js +112 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Title.js +146 -0
- package/lib/module/components/ContentView/Two/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/index.js +18 -0
- package/lib/module/components/ContentView/Two/components/index.js.map +1 -0
- package/lib/module/components/ContentView/index.js +6 -1
- package/lib/module/components/ContentView/index.js.map +1 -1
- package/lib/module/components/Headers/Four.js +68 -0
- package/lib/module/components/Headers/Four.js.map +1 -0
- package/lib/module/components/Headers/Three.js +75 -24
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/index.js +3 -1
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Input/Input.js +5 -1
- package/lib/module/components/Input/Input.js.map +1 -1
- package/lib/module/components/Input/InputThree.js +157 -0
- package/lib/module/components/Input/InputThree.js.map +1 -0
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
- package/lib/module/components/Input/PhoneNumberInputTwo.js +316 -0
- package/lib/module/components/Input/PhoneNumberInputTwo.js.map +1 -0
- package/lib/module/components/Loader/Loader.js +14 -6
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +42 -17
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/NewRelease/NewReleaseSheet.js +227 -0
- package/lib/module/components/NewRelease/NewReleaseSheet.js.map +1 -0
- package/lib/module/components/NewRelease/index.js +4 -0
- package/lib/module/components/NewRelease/index.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +92 -17
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +65 -2
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +2 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +4 -2
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +80 -46
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +78 -29
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +21 -34
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js +58 -0
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js +44 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js.map +1 -0
- package/lib/module/components/Reels/index.js +1 -0
- package/lib/module/components/Reels/index.js.map +1 -1
- package/lib/module/components/Search/One.js +7 -4
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +59 -7
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +2 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +1 -0
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/common/AppStatusBar.js +2 -1
- package/lib/module/components/common/AppStatusBar.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/constants/dummySections.js +47 -5
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/Images/index.js +5 -0
- package/lib/module/hooks/Images/index.js.map +1 -0
- package/lib/module/hooks/Images/useImageLoader.js +168 -0
- package/lib/module/hooks/Images/useImageLoader.js.map +1 -0
- package/lib/module/hooks/Images/useImageValidation.js +36 -0
- package/lib/module/hooks/Images/useImageValidation.js.map +1 -0
- package/lib/module/hooks/index.js +3 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useAdTracking.js +270 -0
- package/lib/module/hooks/useAdTracking.js.map +1 -0
- package/lib/module/hooks/useCards.js +164 -0
- package/lib/module/hooks/useCards.js.map +1 -0
- package/lib/module/hooks/usePaginatedSection.js +11 -6
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/hooks/useSplashCache.js +78 -60
- package/lib/module/hooks/useSplashCache.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +14 -2
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/index.js +0 -1
- package/lib/module/theme/hook/index.js.map +1 -1
- package/lib/module/theme/hook/useInternalTheme.js +21 -7
- package/lib/module/theme/hook/useInternalTheme.js.map +1 -1
- package/lib/module/theme/themes.js +2 -0
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/theme/utils/validateColor.js +84 -0
- package/lib/module/theme/utils/validateColor.js.map +1 -0
- package/lib/module/utils/colorUtils.js +68 -0
- package/lib/module/utils/colorUtils.js.map +1 -0
- package/lib/typescript/src/components/Auth/{ForgotPassword → One/ForgotPassword}/ForgotPassword.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithEmail.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithPhone.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{OTP → One/OTP}/OTP.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/QrLogin.d.ts +3 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SignUp → One/SignUp}/SignUp.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts +14 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts +234 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts +16 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts +53 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts +52 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts +37 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts +63 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts +19 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts +14 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts +67 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts +35 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts +20 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts +220 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/index.d.ts +447 -232
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts +7 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts +19 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts +2 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +1 -0
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +1 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts +19 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +11 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +15 -3
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +13 -5
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +4 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts +3 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/index.d.ts +2 -0
- package/lib/typescript/src/components/Content/Card/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/index.d.ts +76 -6
- package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts +2 -51
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +2 -39
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/types.d.ts +149 -0
- package/lib/typescript/src/components/Content/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/AboutSection.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/CastCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/EpisodeCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/HeroBanner.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/MiniInfo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts +18 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts +27 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts +23 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts +22 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts +8 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts +25 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts +26 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts +21 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts +28 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts +34 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/index.d.ts +6 -1
- package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Four.d.ts +18 -0
- package/lib/typescript/src/components/Headers/Four.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/Three.d.ts +9 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/index.d.ts +1 -0
- package/lib/typescript/src/components/Headers/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/Input.d.ts +2 -0
- package/lib/typescript/src/components/Input/Input.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputThree.d.ts +22 -0
- package/lib/typescript/src/components/Input/InputThree.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts +26 -0
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts +2 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts +10 -0
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts +2 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +2 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +2 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +9 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +11 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts +34 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts +10 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts +1 -0
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/common/AppStatusBar.d.ts +1 -0
- package/lib/typescript/src/components/common/AppStatusBar.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts +8 -1
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/Images/index.d.ts +3 -0
- package/lib/typescript/src/hooks/Images/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts +36 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts +17 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts.map +1 -0
- package/lib/typescript/src/hooks/index.d.ts +3 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useAdTracking.d.ts +39 -0
- package/lib/typescript/src/hooks/useAdTracking.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useCards.d.ts +36 -0
- package/lib/typescript/src/hooks/useCards.d.ts.map +1 -0
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts +12 -2
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
- package/lib/typescript/src/theme/ThemeProvider.d.ts +2 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/index.d.ts +0 -1
- package/lib/typescript/src/theme/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/themes.d.ts +1 -0
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/theme/utils/validateColor.d.ts +21 -0
- package/lib/typescript/src/theme/utils/validateColor.d.ts.map +1 -0
- package/lib/typescript/src/types/content/content-view.types.d.ts +40 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/sections/index.d.ts +7 -4
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
- package/lib/typescript/src/utils/colorUtils.d.ts +19 -0
- package/lib/typescript/src/utils/colorUtils.d.ts.map +1 -0
- package/package.json +13 -4
- package/src/components/Auth/AuthProvider/AuthProvider.tsx +6 -2
- package/src/components/Auth/One/ForgotPassword/ForgotPassword.tsx +324 -0
- package/src/components/Auth/One/Login/LoginWithEmail.tsx +455 -0
- package/src/components/Auth/{Login → One/Login}/LoginWithPhone.tsx +12 -12
- package/src/components/Auth/One/OTP/OTP.tsx +465 -0
- package/src/components/Auth/One/QrLogin/QrLogin.tsx +602 -0
- package/src/components/Auth/One/QrLogin/components/QrViewArea.tsx +423 -0
- package/src/components/Auth/One/SignUp/SignUp.tsx +479 -0
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.tsx +10 -6
- package/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.tsx +103 -0
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.tsx +1 -1
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.tsx +35 -25
- package/src/components/Auth/One/index.ts +24 -0
- package/src/components/Auth/Two/AuthHeader/AuthHeader.tsx +108 -0
- package/src/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.tsx +62 -35
- package/src/components/Auth/Two/Login/AuthLoginShell.tsx +173 -0
- package/src/components/Auth/Two/Login/LoginWithEmail.tsx +279 -0
- package/src/components/Auth/Two/Login/LoginWithPhone.tsx +188 -0
- package/src/components/Auth/{OTP → Two/OTP}/OTP.tsx +92 -81
- package/src/components/Auth/Two/QrLogin/QrLogin.tsx +602 -0
- package/src/components/Auth/Two/QrLogin/components/QrViewArea.tsx +423 -0
- package/src/components/Auth/Two/SignUp/SignUp.tsx +472 -0
- package/src/components/Auth/Two/SplashScreen/SplashScreen.tsx +248 -0
- package/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.tsx +1 -1
- package/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.tsx +77 -0
- package/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.tsx +178 -0
- package/src/components/Auth/Two/index.ts +28 -0
- package/src/components/Auth/index.ts +7 -22
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +2 -0
- package/src/components/BackgroundLayout/BackgroundLayoutOne.tsx +56 -0
- package/src/components/BottomSheet/BottomSheet.tsx +6 -1
- package/src/components/BottomSheet/BottomSheetOne.tsx +220 -0
- package/src/components/BottomSheet/index.ts +2 -0
- package/src/components/Button/PrimaryBtn.tsx +10 -2
- package/src/components/Content/Card/Category/Category.tsx +104 -10
- package/src/components/Content/Card/Category/CategroyTwo.tsx +429 -0
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +281 -136
- package/src/components/Content/Card/Sliders/Styles/One.tsx +248 -152
- package/src/components/Content/Card/Sliders/Styles/Three.tsx +935 -0
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +171 -102
- package/src/components/Content/Card/Sliders/index.ts +2 -0
- package/src/components/Content/Card/Styles/Five.tsx +162 -62
- package/src/components/Content/Card/Styles/Four.tsx +165 -85
- package/src/components/Content/Card/Styles/One.tsx +162 -71
- package/src/components/Content/Card/Styles/RotateInOut.tsx +158 -60
- package/src/components/Content/Card/Styles/Six.tsx +242 -142
- package/src/components/Content/Card/Styles/Three.tsx +160 -162
- package/src/components/Content/Card/Styles/TopTen.tsx +231 -191
- package/src/components/Content/Card/Styles/Two.tsx +183 -79
- package/src/components/Content/Card/components/AdsPoster.tsx +202 -0
- package/src/components/Content/Card/components/CardPoster.tsx +250 -151
- package/src/components/Content/Card/components/NavigateToMore.tsx +29 -1
- package/src/components/Content/Card/components/index.ts +1 -0
- package/src/components/Content/Content.tsx +103 -119
- package/src/components/Content/Sections.tsx +51 -45
- package/src/components/Content/types.ts +176 -0
- package/src/components/ContentView/MoreContentList.tsx +1 -0
- package/src/components/ContentView/{ContentView.tsx → One/ContentViewOne.tsx} +8 -7
- package/src/components/ContentView/{components → One/components}/AboutSection.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/CastCard.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/EpisodeCard.tsx +7 -8
- package/src/components/ContentView/{components → One/components}/GenreTags.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/HeroBanner.tsx +44 -59
- package/src/components/ContentView/{components → One/components}/MiniInfo.tsx +69 -5
- package/src/components/ContentView/{components → One/components}/PlayButton.tsx +1 -1
- package/src/components/ContentView/{components → One/components}/Title.tsx +2 -2
- package/src/components/ContentView/{components → One/components}/TrailerButton.tsx +2 -2
- package/src/components/ContentView/Two/ContentViewTwo.tsx +343 -0
- package/src/components/ContentView/Two/components/AboutSection.tsx +216 -0
- package/src/components/ContentView/Two/components/Details.tsx +193 -0
- package/src/components/ContentView/Two/components/EpisodeCard.tsx +602 -0
- package/src/components/ContentView/Two/components/GenreTags.tsx +123 -0
- package/src/components/ContentView/Two/components/HeroBanner.tsx +402 -0
- package/src/components/ContentView/Two/components/LikeShareActions.tsx +125 -0
- package/src/components/ContentView/Two/components/MoreLikeThisContentList .tsx +305 -0
- package/src/components/ContentView/Two/components/PlayOrTrailer.tsx +133 -0
- package/src/components/ContentView/Two/components/SectionTabs.tsx +177 -0
- package/src/components/ContentView/Two/components/Title.tsx +226 -0
- package/src/components/ContentView/Two/components/index.ts +15 -0
- package/src/components/ContentView/index.ts +7 -1
- package/src/components/Headers/Four.tsx +83 -0
- package/src/components/Headers/Three.tsx +88 -25
- package/src/components/Headers/index.ts +2 -0
- package/src/components/Input/Input.ts +4 -0
- package/src/components/Input/InputThree.tsx +212 -0
- package/src/components/Input/PhoneNumberInput.tsx +4 -2
- package/src/components/Input/PhoneNumberInputTwo.tsx +418 -0
- package/src/components/Loader/Loader.tsx +25 -9
- package/src/components/Logo/Logo.tsx +53 -34
- package/src/components/NewRelease/NewReleaseSheet.tsx +250 -0
- package/src/components/NewRelease/index.ts +1 -0
- package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +92 -27
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +81 -1
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +4 -1
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +6 -3
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +88 -55
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +92 -30
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +35 -38
- package/src/components/Reels/ReelsSeries/types.ts +16 -0
- package/src/components/Reels/ReelsSeries/useReelsWatchProgress.ts +85 -0
- package/src/components/Reels/ReelsSeries/utils/quality.ts +48 -0
- package/src/components/Reels/index.ts +1 -0
- package/src/components/Search/One.tsx +8 -5
- package/src/components/Search/components/SearchCard.tsx +68 -11
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +1 -0
- package/src/components/User/WatchLater/WatchLater.tsx +1 -0
- package/src/components/common/AppStatusBar.tsx +7 -1
- package/src/components/index.ts +1 -0
- package/src/constants/dummySections.ts +54 -3
- package/src/hooks/Images/index.ts +2 -0
- package/src/hooks/Images/useImageLoader.ts +206 -0
- package/src/hooks/Images/useImageValidation.ts +36 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useAdTracking.ts +349 -0
- package/src/hooks/useCards.ts +228 -0
- package/src/hooks/usePaginatedSection.ts +26 -7
- package/src/hooks/useSplashCache.ts +88 -69
- package/src/theme/ThemeProvider.tsx +15 -2
- package/src/theme/hook/index.ts +0 -1
- package/src/theme/hook/useInternalTheme.ts +22 -13
- package/src/theme/themes.ts +3 -0
- package/src/theme/utils/validateColor.ts +127 -0
- package/src/types/content/content-view.types.ts +43 -1
- package/src/types/sections/index.ts +7 -4
- package/src/utils/colorUtils.ts +70 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +0 -314
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +0 -1
- package/lib/module/components/Auth/OTP/OTP.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/QrLogin.js +0 -313
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +0 -243
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +0 -1
- package/lib/module/components/Auth/SignUp/SignUp.js +0 -352
- package/lib/module/components/Auth/SignUp/SignUp.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +0 -1
- package/lib/module/components/ContentView/ContentView.js.map +0 -1
- package/lib/module/components/ContentView/components/AboutSection.js.map +0 -1
- package/lib/module/components/ContentView/components/CastCard.js.map +0 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +0 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +0 -1
- package/lib/module/components/ContentView/components/HeroBanner.js.map +0 -1
- package/lib/module/components/ContentView/components/MiniInfo.js.map +0 -1
- package/lib/module/components/ContentView/components/PlayButton.js.map +0 -1
- package/lib/module/components/ContentView/components/Title.js.map +0 -1
- package/lib/module/components/ContentView/components/TrailerButton.js.map +0 -1
- package/lib/module/theme/hook/useThemeStatusBar.js +0 -33
- package/lib/module/theme/hook/useThemeStatusBar.js.map +0 -1
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +0 -15
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +0 -1
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts +0 -10
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts.map +0 -1
- package/src/components/Auth/Login/LoginWithEmail.tsx +0 -441
- package/src/components/Auth/QrLogin/QrLogin.tsx +0 -342
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +0 -329
- package/src/components/Auth/SignUp/SignUp.tsx +0 -462
- package/src/theme/hook/useThemeStatusBar.ts +0 -42
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/PlayButton.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/TrailerButton.d.ts +0 -0
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Naresh Dhamu
|
|
5
|
+
* @lastModified Thu 03 Jul 2025 at 01:46 AM
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React, { useState, useMemo, useCallback, memo } from 'react';
|
|
9
|
+
import { View, FlatList, TouchableOpacity, StyleSheet } from 'react-native';
|
|
10
|
+
import FastImage from 'react-native-fast-image';
|
|
11
|
+
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
12
|
+
import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
|
|
13
|
+
import { Text } from "../../../Text/index.js";
|
|
14
|
+
import Display from "../../../../utils/Display.js";
|
|
15
|
+
import { ThumbnailCard } from "../../../Content/Card/components/ThumbnailCard.js";
|
|
16
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
17
|
+
import RentOrBuyIcon from "../../../Content/Card/components/RentOrBuyIcon.js";
|
|
18
|
+
import { useInternalTheme } from "../../../../theme/hook/index.js";
|
|
19
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
+
// Constants
|
|
21
|
+
const SKELETON_COUNT = 3;
|
|
22
|
+
const LOADING_EPISODES = 4;
|
|
23
|
+
const THUMBNAIL_ASPECT_RATIO = 16 / 9;
|
|
24
|
+
const CARD_ELEVATION = 2;
|
|
25
|
+
const BORDER_WIDTH = scale(0.5);
|
|
26
|
+
const TAB_PADDING_HORIZONTAL = scale(10);
|
|
27
|
+
const TAB_PADDING_VERTICAL = verticalScale(6);
|
|
28
|
+
const TAB_MARGIN_RIGHT = scale(6);
|
|
29
|
+
const CONTAINER_PADDING_HORIZONTAL = scale(8);
|
|
30
|
+
const CONTAINER_GAP = verticalScale(8);
|
|
31
|
+
const TEXT_PADDING = scale(6);
|
|
32
|
+
const TITLE_FONT_SIZE = RFValue(11);
|
|
33
|
+
const SUBTITLE_FONT_SIZE = RFValue(9);
|
|
34
|
+
const SUBTITLE_LINE_HEIGHT = RFValue(13);
|
|
35
|
+
|
|
36
|
+
// Types
|
|
37
|
+
|
|
38
|
+
const formatDate = dateString => {
|
|
39
|
+
const date = new Date(dateString);
|
|
40
|
+
return date.toLocaleDateString('en-US', {
|
|
41
|
+
day: '2-digit',
|
|
42
|
+
month: 'short',
|
|
43
|
+
year: 'numeric'
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
// Memoized EpisodeCardItem
|
|
48
|
+
const EpisodeCardItem = /*#__PURE__*/memo(({
|
|
49
|
+
season_id,
|
|
50
|
+
season_number,
|
|
51
|
+
episode,
|
|
52
|
+
onPress,
|
|
53
|
+
isDarkMode,
|
|
54
|
+
theme,
|
|
55
|
+
style,
|
|
56
|
+
thumbnailHeight,
|
|
57
|
+
isLoading = false,
|
|
58
|
+
content_offering_type
|
|
59
|
+
}) => {
|
|
60
|
+
const handlePress = useCallback(() => {
|
|
61
|
+
if (!isLoading) {
|
|
62
|
+
onPress?.({
|
|
63
|
+
season_id,
|
|
64
|
+
episode_id: episode._id,
|
|
65
|
+
episode_number: episode.number
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}, [season_id, episode._id, episode.number, onPress, isLoading]);
|
|
69
|
+
const isVerticalMode = useMemo(() => style && style.width === Display.fullWidth - scale(16), [style]);
|
|
70
|
+
const cardStyle = useMemo(() => [styles.card, style, {
|
|
71
|
+
shadowColor: isVerticalMode ? 'transparent' : '#000',
|
|
72
|
+
shadowOffset: {
|
|
73
|
+
width: 0,
|
|
74
|
+
height: isVerticalMode ? 0 : 1
|
|
75
|
+
},
|
|
76
|
+
shadowOpacity: isVerticalMode ? 0 : 0.1,
|
|
77
|
+
shadowRadius: isVerticalMode ? 0 : 2,
|
|
78
|
+
backgroundColor: isVerticalMode ? 'transparent' : theme.colors.surfaceVariant,
|
|
79
|
+
flexDirection: isVerticalMode ? 'row' : 'column',
|
|
80
|
+
borderWidth: isVerticalMode ? 0 : isDarkMode ? 0 : BORDER_WIDTH,
|
|
81
|
+
borderColor: isVerticalMode ? 'transparent' : isDarkMode ? 'transparent' : theme.colors.border
|
|
82
|
+
}], [style, isVerticalMode, theme.colors.surfaceVariant, theme.colors.border, isDarkMode]);
|
|
83
|
+
const windowWidth = Display.fullWidth;
|
|
84
|
+
const thumbnailStyle = useMemo(() => [styles.thumbnailCommon, isVerticalMode ? {
|
|
85
|
+
borderRadius: moderateScale(6),
|
|
86
|
+
width: windowWidth * 0.45,
|
|
87
|
+
aspectRatio: THUMBNAIL_ASPECT_RATIO,
|
|
88
|
+
height: thumbnailHeight
|
|
89
|
+
} : {
|
|
90
|
+
borderRadius: 0,
|
|
91
|
+
height: thumbnailHeight
|
|
92
|
+
}], [isVerticalMode, thumbnailHeight, windowWidth]);
|
|
93
|
+
if (isLoading) {
|
|
94
|
+
return /*#__PURE__*/_jsx(View, {
|
|
95
|
+
style: cardStyle,
|
|
96
|
+
children: /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
97
|
+
backgroundColor: theme.colors.skeletonBaseColor,
|
|
98
|
+
highlightColor: theme.colors.skeletonHighlightColor,
|
|
99
|
+
children: isVerticalMode ? /*#__PURE__*/_jsxs(SkeletonPlaceholder.Item, {
|
|
100
|
+
flexDirection: "row",
|
|
101
|
+
alignItems: "flex-start",
|
|
102
|
+
width: "100%",
|
|
103
|
+
children: [/*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
104
|
+
width: "45%",
|
|
105
|
+
aspectRatio: THUMBNAIL_ASPECT_RATIO,
|
|
106
|
+
borderRadius: moderateScale(6)
|
|
107
|
+
}), /*#__PURE__*/_jsxs(SkeletonPlaceholder.Item, {
|
|
108
|
+
width: "55%",
|
|
109
|
+
paddingLeft: scale(6),
|
|
110
|
+
justifyContent: "center",
|
|
111
|
+
paddingTop: scale(2),
|
|
112
|
+
children: [/*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
113
|
+
width: "80%",
|
|
114
|
+
height: verticalScale(12),
|
|
115
|
+
borderRadius: moderateScale(4)
|
|
116
|
+
}), Array(4).fill(0).map((_, index) => /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
117
|
+
marginTop: verticalScale(5),
|
|
118
|
+
width: `${80 - index * 5}%`,
|
|
119
|
+
height: verticalScale(8),
|
|
120
|
+
borderRadius: moderateScale(4)
|
|
121
|
+
}, `skeleton_${index}`))]
|
|
122
|
+
})]
|
|
123
|
+
}) : /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
124
|
+
width: "100%",
|
|
125
|
+
height: thumbnailHeight + scale(40),
|
|
126
|
+
borderRadius: moderateScale(8)
|
|
127
|
+
})
|
|
128
|
+
})
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
132
|
+
activeOpacity: 0.85,
|
|
133
|
+
onPress: handlePress,
|
|
134
|
+
style: cardStyle,
|
|
135
|
+
accessibilityRole: "button",
|
|
136
|
+
accessibilityLabel: episode.name || `Episode ${episode.number}`,
|
|
137
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
138
|
+
style: [styles.cardContent, isVerticalMode && styles.cardGrid],
|
|
139
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
140
|
+
style: thumbnailStyle,
|
|
141
|
+
children: [/*#__PURE__*/_jsx(RentOrBuyIcon, {
|
|
142
|
+
theme: theme,
|
|
143
|
+
content_offering_type: content_offering_type === 'BUY_OR_RENT' ? content_offering_type : episode.content_offering_type
|
|
144
|
+
}), /*#__PURE__*/_jsx(ThumbnailCard, {
|
|
145
|
+
thumbnailUri: episode.thumbnail,
|
|
146
|
+
theme: theme
|
|
147
|
+
// wrapperStyle={styles.thumbnail}
|
|
148
|
+
,
|
|
149
|
+
resizeMode: FastImage.resizeMode.cover
|
|
150
|
+
})]
|
|
151
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
152
|
+
style: [isVerticalMode ? styles.textRightHalf : styles.textWrapper],
|
|
153
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
154
|
+
numberOfLines: 1,
|
|
155
|
+
color: theme.colors.textPrimary,
|
|
156
|
+
style: styles.title,
|
|
157
|
+
children: episode.name || `Episode ${episode.number}`
|
|
158
|
+
}), /*#__PURE__*/_jsxs(Text, {
|
|
159
|
+
color: theme.colors.onSurface,
|
|
160
|
+
style: {
|
|
161
|
+
fontSize: RFValue(9),
|
|
162
|
+
marginTop: verticalScale(2)
|
|
163
|
+
},
|
|
164
|
+
children: [`S${String(season_number).padStart(2, '0')} | E${String(episode.number).padStart(2, '0')} | `, episode.createdAt && formatDate(episode.createdAt)]
|
|
165
|
+
}), !!episode.description && /*#__PURE__*/_jsx(Text, {
|
|
166
|
+
numberOfLines: isVerticalMode ? 4 : 2,
|
|
167
|
+
color: theme.colors.textSecondary,
|
|
168
|
+
style: styles.subtitle,
|
|
169
|
+
children: episode.description
|
|
170
|
+
})]
|
|
171
|
+
})]
|
|
172
|
+
})
|
|
173
|
+
});
|
|
174
|
+
}, (prevProps, nextProps) => prevProps.season_id === nextProps.season_id && prevProps.episode._id === nextProps.episode._id && prevProps.isLoading === nextProps.isLoading && prevProps.thumbnailHeight === nextProps.thumbnailHeight && prevProps.theme === nextProps.theme);
|
|
175
|
+
|
|
176
|
+
// Main Component
|
|
177
|
+
export const EpisodeCard = /*#__PURE__*/React.memo(({
|
|
178
|
+
seasons,
|
|
179
|
+
onPress,
|
|
180
|
+
theme: themeOverride,
|
|
181
|
+
isLoading = false,
|
|
182
|
+
mode = 'horizontal',
|
|
183
|
+
content_offering_type
|
|
184
|
+
}) => {
|
|
185
|
+
const {
|
|
186
|
+
isDarkMode,
|
|
187
|
+
theme
|
|
188
|
+
} = useInternalTheme(themeOverride);
|
|
189
|
+
const [selectedSeasonIndex, setSelectedSeasonIndex] = useState(0);
|
|
190
|
+
const windowWidth = Display.fullWidth;
|
|
191
|
+
const selectedSeason = useMemo(() => seasons[selectedSeasonIndex] || null, [seasons, selectedSeasonIndex]);
|
|
192
|
+
const cardWidth = useMemo(() => mode === 'horizontal' ? Math.min(windowWidth * 0.45, moderateScale(180)) : windowWidth - scale(16), [windowWidth, mode]);
|
|
193
|
+
const thumbnailHeight = useMemo(() => mode === 'vertical' ? verticalScale(100) : cardWidth * (9 / 16), [cardWidth, mode]);
|
|
194
|
+
const renderSeasonTab = useCallback(({
|
|
195
|
+
item: season,
|
|
196
|
+
index
|
|
197
|
+
}) => /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
198
|
+
activeOpacity: 0.7,
|
|
199
|
+
onPress: () => setSelectedSeasonIndex(index),
|
|
200
|
+
style: [styles.tab, {
|
|
201
|
+
backgroundColor: selectedSeasonIndex === index ? theme.colors.button : theme.colors.surfaceVariant,
|
|
202
|
+
borderColor: theme.colors.border
|
|
203
|
+
}],
|
|
204
|
+
accessibilityRole: "tab",
|
|
205
|
+
accessibilityState: {
|
|
206
|
+
selected: selectedSeasonIndex === index
|
|
207
|
+
},
|
|
208
|
+
accessibilityLabel: season.name || `Season ${index + 1}`,
|
|
209
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
210
|
+
style: [styles.tabText, {
|
|
211
|
+
color: selectedSeasonIndex === index ? theme.colors.buttonText : theme.colors.textPrimary
|
|
212
|
+
}],
|
|
213
|
+
children: season.name || `Season ${index + 1}`
|
|
214
|
+
})
|
|
215
|
+
}, season._id), [selectedSeasonIndex, theme]);
|
|
216
|
+
const renderVerticalEpisodes = (episodes, season) => {
|
|
217
|
+
return episodes.map(item => /*#__PURE__*/_jsx(EpisodeCardItem, {
|
|
218
|
+
theme: theme,
|
|
219
|
+
season_id: season._id,
|
|
220
|
+
episode: item,
|
|
221
|
+
isDarkMode: isDarkMode,
|
|
222
|
+
season_number: season.season_number,
|
|
223
|
+
onPress: onPress,
|
|
224
|
+
style: {
|
|
225
|
+
width: cardWidth
|
|
226
|
+
},
|
|
227
|
+
thumbnailHeight: thumbnailHeight,
|
|
228
|
+
content_offering_type: content_offering_type
|
|
229
|
+
}, item._id));
|
|
230
|
+
};
|
|
231
|
+
const renderEpisodeItem = useCallback(({
|
|
232
|
+
item
|
|
233
|
+
}) => selectedSeason ? /*#__PURE__*/_jsx(EpisodeCardItem, {
|
|
234
|
+
theme: theme,
|
|
235
|
+
season_id: selectedSeason._id,
|
|
236
|
+
episode: item,
|
|
237
|
+
isDarkMode: isDarkMode,
|
|
238
|
+
season_number: selectedSeason.season_number,
|
|
239
|
+
onPress: onPress,
|
|
240
|
+
style: {
|
|
241
|
+
width: cardWidth
|
|
242
|
+
},
|
|
243
|
+
thumbnailHeight: thumbnailHeight,
|
|
244
|
+
content_offering_type: content_offering_type
|
|
245
|
+
}) : null, [selectedSeason, theme, isDarkMode, onPress, cardWidth, thumbnailHeight, content_offering_type]);
|
|
246
|
+
const renderLoadingItem = useCallback(() => /*#__PURE__*/_jsx(EpisodeCardItem, {
|
|
247
|
+
theme: theme,
|
|
248
|
+
season_id: "",
|
|
249
|
+
isDarkMode: isDarkMode,
|
|
250
|
+
season_number: 0,
|
|
251
|
+
episode: {
|
|
252
|
+
_id: '',
|
|
253
|
+
number: 0,
|
|
254
|
+
thumbnail: '',
|
|
255
|
+
name: '',
|
|
256
|
+
description: '',
|
|
257
|
+
duration: 0,
|
|
258
|
+
source_link: '',
|
|
259
|
+
trailer_source_link: '',
|
|
260
|
+
subtitles: [],
|
|
261
|
+
createdAt: '',
|
|
262
|
+
updatedAt: '',
|
|
263
|
+
source_type: 'HLS',
|
|
264
|
+
content_offering_type: 'FREE',
|
|
265
|
+
status: true,
|
|
266
|
+
data: ''
|
|
267
|
+
},
|
|
268
|
+
onPress: onPress,
|
|
269
|
+
style: {
|
|
270
|
+
width: cardWidth
|
|
271
|
+
},
|
|
272
|
+
thumbnailHeight: thumbnailHeight,
|
|
273
|
+
content_offering_type: content_offering_type,
|
|
274
|
+
isLoading: true
|
|
275
|
+
}), [theme, isDarkMode, onPress, cardWidth, thumbnailHeight, content_offering_type]);
|
|
276
|
+
if (isLoading) {
|
|
277
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
278
|
+
style: [styles.container, {
|
|
279
|
+
backgroundColor: theme.colors.background
|
|
280
|
+
}],
|
|
281
|
+
children: [/*#__PURE__*/_jsx(FlatList, {
|
|
282
|
+
data: Array(SKELETON_COUNT).fill(0),
|
|
283
|
+
keyExtractor: (_, index) => `skeleton_tab_${index}`,
|
|
284
|
+
horizontal: true,
|
|
285
|
+
showsHorizontalScrollIndicator: false,
|
|
286
|
+
contentContainerStyle: styles.tabsContainer,
|
|
287
|
+
renderItem: () => /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
288
|
+
backgroundColor: theme.colors.skeletonBaseColor,
|
|
289
|
+
highlightColor: theme.colors.skeletonHighlightColor,
|
|
290
|
+
children: /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
291
|
+
width: scale(80),
|
|
292
|
+
height: verticalScale(28),
|
|
293
|
+
borderRadius: moderateScale(16),
|
|
294
|
+
marginRight: TAB_MARGIN_RIGHT
|
|
295
|
+
})
|
|
296
|
+
})
|
|
297
|
+
}), /*#__PURE__*/_jsx(FlatList, {
|
|
298
|
+
data: Array(LOADING_EPISODES).fill({}),
|
|
299
|
+
keyExtractor: (_, index) => `loading_${index}`,
|
|
300
|
+
horizontal: mode === 'horizontal',
|
|
301
|
+
showsHorizontalScrollIndicator: false,
|
|
302
|
+
contentContainerStyle: styles.listContainer,
|
|
303
|
+
renderItem: renderLoadingItem
|
|
304
|
+
})]
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
if (!seasons?.length || !selectedSeason) {
|
|
308
|
+
return /*#__PURE__*/_jsx(View, {
|
|
309
|
+
style: styles.emptyContainer,
|
|
310
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
311
|
+
color: theme.colors.textSecondary,
|
|
312
|
+
children: "No seasons available"
|
|
313
|
+
})
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
317
|
+
style: [styles.container, {
|
|
318
|
+
backgroundColor: theme.colors.background
|
|
319
|
+
}],
|
|
320
|
+
children: [/*#__PURE__*/_jsx(FlatList, {
|
|
321
|
+
data: seasons,
|
|
322
|
+
renderItem: renderSeasonTab,
|
|
323
|
+
keyExtractor: item => item._id,
|
|
324
|
+
horizontal: true,
|
|
325
|
+
showsHorizontalScrollIndicator: false,
|
|
326
|
+
contentContainerStyle: styles.tabsContainer
|
|
327
|
+
}), mode === 'horizontal' ? /*#__PURE__*/_jsx(FlatList, {
|
|
328
|
+
data: selectedSeason.episodes || [],
|
|
329
|
+
keyExtractor: item => item._id,
|
|
330
|
+
horizontal: true,
|
|
331
|
+
showsHorizontalScrollIndicator: false,
|
|
332
|
+
contentContainerStyle: styles.listContainer,
|
|
333
|
+
renderItem: renderEpisodeItem,
|
|
334
|
+
ListEmptyComponent: /*#__PURE__*/_jsx(View, {
|
|
335
|
+
style: styles.emptyContainer,
|
|
336
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
337
|
+
color: theme.colors.textSecondary,
|
|
338
|
+
children: "No episodes available"
|
|
339
|
+
})
|
|
340
|
+
})
|
|
341
|
+
}) : /*#__PURE__*/_jsx(View, {
|
|
342
|
+
style: styles.listContainer,
|
|
343
|
+
children: selectedSeason.episodes?.length ? renderVerticalEpisodes(selectedSeason.episodes, selectedSeason) : /*#__PURE__*/_jsx(View, {
|
|
344
|
+
style: styles.emptyContainer,
|
|
345
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
346
|
+
color: theme.colors.textSecondary,
|
|
347
|
+
children: "No episodes available"
|
|
348
|
+
})
|
|
349
|
+
})
|
|
350
|
+
})]
|
|
351
|
+
});
|
|
352
|
+
});
|
|
353
|
+
|
|
354
|
+
// Styles
|
|
355
|
+
const styles = StyleSheet.create({
|
|
356
|
+
container: {
|
|
357
|
+
paddingVertical: verticalScale(4),
|
|
358
|
+
flexDirection: 'column',
|
|
359
|
+
gap: CONTAINER_GAP
|
|
360
|
+
},
|
|
361
|
+
tabsContainer: {
|
|
362
|
+
paddingHorizontal: CONTAINER_PADDING_HORIZONTAL
|
|
363
|
+
},
|
|
364
|
+
tab: {
|
|
365
|
+
paddingHorizontal: TAB_PADDING_HORIZONTAL,
|
|
366
|
+
paddingVertical: TAB_PADDING_VERTICAL,
|
|
367
|
+
borderRadius: moderateScale(16),
|
|
368
|
+
marginRight: TAB_MARGIN_RIGHT,
|
|
369
|
+
borderWidth: BORDER_WIDTH
|
|
370
|
+
},
|
|
371
|
+
tabText: {
|
|
372
|
+
fontSize: TITLE_FONT_SIZE,
|
|
373
|
+
fontWeight: '600'
|
|
374
|
+
},
|
|
375
|
+
listContainer: {
|
|
376
|
+
paddingHorizontal: CONTAINER_PADDING_HORIZONTAL,
|
|
377
|
+
gap: CONTAINER_GAP
|
|
378
|
+
},
|
|
379
|
+
card: {
|
|
380
|
+
borderRadius: moderateScale(8),
|
|
381
|
+
overflow: 'hidden',
|
|
382
|
+
elevation: CARD_ELEVATION
|
|
383
|
+
},
|
|
384
|
+
cardContent: {
|
|
385
|
+
flexDirection: 'column',
|
|
386
|
+
width: '100%'
|
|
387
|
+
},
|
|
388
|
+
cardGrid: {
|
|
389
|
+
flexDirection: 'row',
|
|
390
|
+
alignItems: 'flex-start'
|
|
391
|
+
},
|
|
392
|
+
thumbnailCommon: {
|
|
393
|
+
overflow: 'hidden',
|
|
394
|
+
backgroundColor: '#ccc',
|
|
395
|
+
width: '100%'
|
|
396
|
+
},
|
|
397
|
+
thumbnail: {
|
|
398
|
+
width: '100%',
|
|
399
|
+
height: '100%'
|
|
400
|
+
},
|
|
401
|
+
textWrapper: {
|
|
402
|
+
padding: TEXT_PADDING
|
|
403
|
+
},
|
|
404
|
+
textRightHalf: {
|
|
405
|
+
flex: 1,
|
|
406
|
+
width: '55%',
|
|
407
|
+
paddingHorizontal: TEXT_PADDING,
|
|
408
|
+
justifyContent: 'center'
|
|
409
|
+
},
|
|
410
|
+
title: {
|
|
411
|
+
fontSize: TITLE_FONT_SIZE,
|
|
412
|
+
fontWeight: '600'
|
|
413
|
+
},
|
|
414
|
+
subtitle: {
|
|
415
|
+
fontSize: SUBTITLE_FONT_SIZE,
|
|
416
|
+
lineHeight: SUBTITLE_LINE_HEIGHT,
|
|
417
|
+
opacity: 0.8,
|
|
418
|
+
marginTop: verticalScale(2)
|
|
419
|
+
},
|
|
420
|
+
emptyContainer: {
|
|
421
|
+
padding: CONTAINER_PADDING_HORIZONTAL,
|
|
422
|
+
alignItems: 'center'
|
|
423
|
+
}
|
|
424
|
+
});
|
|
425
|
+
//# sourceMappingURL=EpisodeCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","useMemo","useCallback","memo","View","FlatList","TouchableOpacity","StyleSheet","FastImage","SkeletonPlaceholder","scale","verticalScale","moderateScale","Text","Display","ThumbnailCard","RFValue","RentOrBuyIcon","useInternalTheme","jsx","_jsx","jsxs","_jsxs","SKELETON_COUNT","LOADING_EPISODES","THUMBNAIL_ASPECT_RATIO","CARD_ELEVATION","BORDER_WIDTH","TAB_PADDING_HORIZONTAL","TAB_PADDING_VERTICAL","TAB_MARGIN_RIGHT","CONTAINER_PADDING_HORIZONTAL","CONTAINER_GAP","TEXT_PADDING","TITLE_FONT_SIZE","SUBTITLE_FONT_SIZE","SUBTITLE_LINE_HEIGHT","formatDate","dateString","date","Date","toLocaleDateString","day","month","year","EpisodeCardItem","season_id","season_number","episode","onPress","isDarkMode","theme","style","thumbnailHeight","isLoading","content_offering_type","handlePress","episode_id","_id","episode_number","number","isVerticalMode","width","fullWidth","cardStyle","styles","card","shadowColor","shadowOffset","height","shadowOpacity","shadowRadius","backgroundColor","colors","surfaceVariant","flexDirection","borderWidth","borderColor","border","windowWidth","thumbnailStyle","thumbnailCommon","borderRadius","aspectRatio","children","skeletonBaseColor","highlightColor","skeletonHighlightColor","Item","alignItems","paddingLeft","justifyContent","paddingTop","Array","fill","map","_","index","marginTop","activeOpacity","accessibilityRole","accessibilityLabel","name","cardContent","cardGrid","thumbnailUri","thumbnail","resizeMode","cover","textRightHalf","textWrapper","numberOfLines","color","textPrimary","title","onSurface","fontSize","String","padStart","createdAt","description","textSecondary","subtitle","prevProps","nextProps","EpisodeCard","seasons","themeOverride","mode","selectedSeasonIndex","setSelectedSeasonIndex","selectedSeason","cardWidth","Math","min","renderSeasonTab","item","season","tab","button","accessibilityState","selected","tabText","buttonText","renderVerticalEpisodes","episodes","renderEpisodeItem","renderLoadingItem","duration","source_link","trailer_source_link","subtitles","updatedAt","source_type","status","data","container","background","keyExtractor","horizontal","showsHorizontalScrollIndicator","contentContainerStyle","tabsContainer","renderItem","marginRight","listContainer","length","emptyContainer","ListEmptyComponent","create","paddingVertical","gap","paddingHorizontal","fontWeight","overflow","elevation","padding","flex","lineHeight","opacity"],"sourceRoot":"../../../../../../src","sources":["components/ContentView/Two/components/EpisodeCard.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,OAAO,EAAEC,WAAW,EAAEC,IAAI,QAAQ,OAAO;AACnE,SACEC,IAAI,EACJC,QAAQ,EACRC,gBAAgB,EAChBC,UAAU,QAEL,cAAc;AACrB,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,OAAOC,mBAAmB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aAAa,EAAE,KAAK;IACpBc,UAAU,EAAE;EACd,CAAC;EACDR,eAAe,EAAE;IACf6F,QAAQ,EAAE,QAAQ;IAClBtG,eAAe,EAAE,MAAM;IACvBV,KAAK,EAAE;EACT,CAAC;EACD4C,SAAS,EAAE;IACT5C,KAAK,EAAE,MAAM;IACbO,MAAM,EAAE;EACV,CAAC;EACDyC,WAAW,EAAE;IACXkE,OAAO,EAAE/I;EACX,CAAC;EACD4E,aAAa,EAAE;IACboE,IAAI,EAAE,CAAC;IACPnH,KAAK,EAAE,KAAK;IACZ8G,iBAAiB,EAAE3I,YAAY;IAC/B0D,cAAc,EAAE;EAClB,CAAC;EACDuB,KAAK,EAAE;IACLE,QAAQ,EAAElF,eAAe;IACzB2I,UAAU,EAAE;EACd,CAAC;EACDnD,QAAQ,EAAE;IACRN,QAAQ,EAAEjF,kBAAkB;IAC5B+I,UAAU,EAAE9I,oBAAoB;IAChC+I,OAAO,EAAE,GAAG;IACZjF,SAAS,EAAEvF,aAAa,CAAC,CAAC;EAC5B,CAAC;EACD4J,cAAc,EAAE;IACdS,OAAO,EAAEjJ,4BAA4B;IACrC0D,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Ashok Desai
|
|
5
|
+
* @lastModified Tue 13 Jun 2025 at 02:28 PM
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React, { useMemo } from 'react';
|
|
9
|
+
import { useSkeletonItems } from "../../../../hooks/useSkeletonItems.js";
|
|
10
|
+
import { View, StyleSheet } from 'react-native';
|
|
11
|
+
import { Text } from "../../../Text/index.js";
|
|
12
|
+
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
13
|
+
import { scale, verticalScale } from 'react-native-size-matters';
|
|
14
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
15
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
export const GenreTags = /*#__PURE__*/React.memo(({
|
|
17
|
+
genres,
|
|
18
|
+
theme,
|
|
19
|
+
isLoading = false,
|
|
20
|
+
style
|
|
21
|
+
}) => {
|
|
22
|
+
const skeletonItems = useSkeletonItems(3, i => i + 1);
|
|
23
|
+
const tagTextStyle = useMemo(() => [styles.tagText, {
|
|
24
|
+
color: theme.colors.textPrimary
|
|
25
|
+
}, style?.tagText], [theme.colors.textPrimary, style?.tagText]);
|
|
26
|
+
const containerStyleMemo = useMemo(() => StyleSheet.flatten([styles.tagRow, style?.container]), [style?.container]);
|
|
27
|
+
if (isLoading || !genres?.length) {
|
|
28
|
+
return /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
29
|
+
backgroundColor: theme.colors.skeletonBaseColor,
|
|
30
|
+
highlightColor: theme.colors.skeletonHighlightColor,
|
|
31
|
+
borderRadius: scale(16),
|
|
32
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
33
|
+
style: containerStyleMemo,
|
|
34
|
+
children: skeletonItems.map((_, idx) => /*#__PURE__*/_jsx(View, {
|
|
35
|
+
style: StyleSheet.flatten([styles.skeletonTag, style?.skeletonTag])
|
|
36
|
+
}, idx))
|
|
37
|
+
})
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
return /*#__PURE__*/_jsx(View, {
|
|
41
|
+
style: containerStyleMemo,
|
|
42
|
+
children: genres.map((tag, idx) => /*#__PURE__*/_jsxs(View, {
|
|
43
|
+
style: styles.inlineRow,
|
|
44
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
45
|
+
style: tagTextStyle,
|
|
46
|
+
numberOfLines: 1,
|
|
47
|
+
ellipsizeMode: "tail",
|
|
48
|
+
children: tag?.name || String(tag)
|
|
49
|
+
}), idx < genres.length - 1 && /*#__PURE__*/_jsx(Text, {
|
|
50
|
+
style: [styles.separator, {
|
|
51
|
+
color: theme.colors.textPrimary
|
|
52
|
+
}],
|
|
53
|
+
children: "|"
|
|
54
|
+
})]
|
|
55
|
+
}, idx))
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
const styles = StyleSheet.create({
|
|
59
|
+
tagRow: {
|
|
60
|
+
flexDirection: 'row',
|
|
61
|
+
flexWrap: 'wrap',
|
|
62
|
+
marginTop: verticalScale(10),
|
|
63
|
+
paddingHorizontal: scale(10),
|
|
64
|
+
marginVertical: verticalScale(6)
|
|
65
|
+
},
|
|
66
|
+
inlineRow: {
|
|
67
|
+
flexDirection: 'row',
|
|
68
|
+
alignItems: 'center'
|
|
69
|
+
},
|
|
70
|
+
tagText: {
|
|
71
|
+
fontSize: RFValue(12),
|
|
72
|
+
maxWidth: scale(110)
|
|
73
|
+
},
|
|
74
|
+
separator: {
|
|
75
|
+
marginHorizontal: scale(6),
|
|
76
|
+
fontSize: RFValue(12),
|
|
77
|
+
opacity: 0.7
|
|
78
|
+
},
|
|
79
|
+
skeletonTag: {
|
|
80
|
+
width: scale(56),
|
|
81
|
+
height: scale(24),
|
|
82
|
+
borderRadius: scale(14),
|
|
83
|
+
marginRight: scale(6)
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
//# sourceMappingURL=GenreTags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useMemo","useSkeletonItems","View","StyleSheet","Text","SkeletonPlaceholder","scale","verticalScale","RFValue","jsx","_jsx","jsxs","_jsxs","GenreTags","memo","genres","theme","isLoading","style","skeletonItems","i","tagTextStyle","styles","tagText","color","colors","textPrimary","containerStyleMemo","flatten","tagRow","container","length","backgroundColor","skeletonBaseColor","highlightColor","skeletonHighlightColor","borderRadius","children","map","_","idx","skeletonTag","tag","inlineRow","numberOfLines","ellipsizeMode","name","String","separator","create","flexDirection","flexWrap","marginTop","paddingHorizontal","marginVertical","alignItems","fontSize","maxWidth","marginHorizontal","opacity","width","height","marginRight"],"sourceRoot":"../../../../../../src","sources":["components/ContentView/Two/components/GenreTags.tsx"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