@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,235 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Ashok Desai
|
|
5
|
+
* @lastModified Sat 17 Jan 2026 at 02:28 PM
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React, { useCallback, useRef, useMemo } from 'react';
|
|
9
|
+
import { FlatList, StyleSheet, TouchableOpacity, ActivityIndicator } from 'react-native';
|
|
10
|
+
import { scale, verticalScale } from 'react-native-size-matters';
|
|
11
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
12
|
+
import Animated from 'react-native-reanimated';
|
|
13
|
+
import { useSkeletonItems } from "../../../../hooks/index.js";
|
|
14
|
+
import Display from "../../../../utils/Display.js";
|
|
15
|
+
import { Text } from "../../../Text/index.js";
|
|
16
|
+
import View from "../../../View/View.js";
|
|
17
|
+
import CardPoster from "../../../Content/Card/components/CardPoster.js";
|
|
18
|
+
import { useInternalTheme } from "../../../../theme/hook/index.js";
|
|
19
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
|
+
const AnimatedFlatList = Animated.createAnimatedComponent(FlatList);
|
|
21
|
+
const MoreLikeThisContentList = /*#__PURE__*/React.memo(({
|
|
22
|
+
contentList = [],
|
|
23
|
+
onItemPress,
|
|
24
|
+
isLoading = false,
|
|
25
|
+
error = false,
|
|
26
|
+
errorText = 'Something went wrong!',
|
|
27
|
+
theme,
|
|
28
|
+
moreDataIsLoading = false,
|
|
29
|
+
onEndReached,
|
|
30
|
+
skeletonCount = 12,
|
|
31
|
+
numColumns = 3,
|
|
32
|
+
footerComponent,
|
|
33
|
+
refreshing = false,
|
|
34
|
+
onRefresh,
|
|
35
|
+
hasFetchedOnce = false
|
|
36
|
+
}) => {
|
|
37
|
+
const {
|
|
38
|
+
theme: appliedTheme
|
|
39
|
+
} = useInternalTheme(theme);
|
|
40
|
+
const onEndReachedCalledDuringMomentum = useRef(false);
|
|
41
|
+
|
|
42
|
+
// Memoize computed values
|
|
43
|
+
const isEmpty = useMemo(() => hasFetchedOnce && !isLoading && Array.isArray(contentList) && contentList.length === 0, [hasFetchedOnce, isLoading, contentList]);
|
|
44
|
+
const errorMessage = useMemo(() => {
|
|
45
|
+
if (typeof error === 'string') return error;
|
|
46
|
+
if (error instanceof Error) return error.message;
|
|
47
|
+
return errorText;
|
|
48
|
+
}, [error, errorText]);
|
|
49
|
+
|
|
50
|
+
// Memoize skeleton items
|
|
51
|
+
const skeletonItems = useSkeletonItems(skeletonCount);
|
|
52
|
+
|
|
53
|
+
// Memoize skeleton data array
|
|
54
|
+
const skeletonData = useMemo(() => skeletonItems.map((_, index) => ({
|
|
55
|
+
_id: `skeleton-${index}`
|
|
56
|
+
})), [skeletonItems]);
|
|
57
|
+
const keyExtractor = useCallback((item, index) => {
|
|
58
|
+
return item._id?.toString() || index.toString();
|
|
59
|
+
}, []);
|
|
60
|
+
const renderItem = useCallback(({
|
|
61
|
+
item
|
|
62
|
+
}) => /*#__PURE__*/_jsx(View, {
|
|
63
|
+
style: styles.cardWrapper,
|
|
64
|
+
children: /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
65
|
+
onPress: () => onItemPress?.(item),
|
|
66
|
+
activeOpacity: 0.7,
|
|
67
|
+
children: /*#__PURE__*/_jsx(CardPoster, {
|
|
68
|
+
content_offering_type: item.content_offering_type,
|
|
69
|
+
contentType: item.type,
|
|
70
|
+
posterUri: item.poster,
|
|
71
|
+
borderRadius: 5,
|
|
72
|
+
isLoading: false,
|
|
73
|
+
theme: appliedTheme,
|
|
74
|
+
imageStyle: styles.itemContainer
|
|
75
|
+
})
|
|
76
|
+
})
|
|
77
|
+
}), [onItemPress, appliedTheme]);
|
|
78
|
+
const renderSkeletonItem = useCallback(({
|
|
79
|
+
index
|
|
80
|
+
}) => /*#__PURE__*/_jsx(View, {
|
|
81
|
+
style: styles.cardWrapper,
|
|
82
|
+
children: /*#__PURE__*/_jsx(CardPoster, {
|
|
83
|
+
posterUri: "",
|
|
84
|
+
borderRadius: 5,
|
|
85
|
+
isLoading: true,
|
|
86
|
+
theme: appliedTheme,
|
|
87
|
+
imageStyle: styles.itemContainer
|
|
88
|
+
})
|
|
89
|
+
}, `skeleton-${index}`), [appliedTheme]);
|
|
90
|
+
|
|
91
|
+
// Memoize footer component
|
|
92
|
+
const footerComponentMemo = useMemo(() => {
|
|
93
|
+
if (footerComponent) return footerComponent;
|
|
94
|
+
if (moreDataIsLoading) {
|
|
95
|
+
return /*#__PURE__*/_jsx(View, {
|
|
96
|
+
style: styles.footerLoading,
|
|
97
|
+
children: /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
98
|
+
size: "small"
|
|
99
|
+
})
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
return null;
|
|
103
|
+
}, [footerComponent, moreDataIsLoading]);
|
|
104
|
+
|
|
105
|
+
// Memoize onEndReached handler
|
|
106
|
+
const handleEndReached = useCallback(() => {
|
|
107
|
+
if (!onEndReachedCalledDuringMomentum.current && onEndReached && !moreDataIsLoading) {
|
|
108
|
+
onEndReached();
|
|
109
|
+
onEndReachedCalledDuringMomentum.current = true;
|
|
110
|
+
}
|
|
111
|
+
}, [onEndReached, moreDataIsLoading]);
|
|
112
|
+
|
|
113
|
+
// Memoize onMomentumScrollBegin handler
|
|
114
|
+
const handleMomentumScrollBegin = useCallback(() => {
|
|
115
|
+
onEndReachedCalledDuringMomentum.current = false;
|
|
116
|
+
}, []);
|
|
117
|
+
|
|
118
|
+
// Memoize content container style
|
|
119
|
+
const contentContainerStyle = useMemo(() => [styles.listContent, {
|
|
120
|
+
minHeight: Display.fullHeight - verticalScale(100)
|
|
121
|
+
}], []);
|
|
122
|
+
|
|
123
|
+
// Memoize skeleton key extractor
|
|
124
|
+
const skeletonKeyExtractor = useCallback((_, index) => `skeleton-${index}`, []);
|
|
125
|
+
|
|
126
|
+
// Memoize render content
|
|
127
|
+
const renderContent = useMemo(() => {
|
|
128
|
+
if (isLoading) {
|
|
129
|
+
return /*#__PURE__*/_jsx(FlatList, {
|
|
130
|
+
data: skeletonData,
|
|
131
|
+
numColumns: numColumns,
|
|
132
|
+
scrollEnabled: false,
|
|
133
|
+
keyExtractor: skeletonKeyExtractor,
|
|
134
|
+
renderItem: renderSkeletonItem,
|
|
135
|
+
showsVerticalScrollIndicator: false,
|
|
136
|
+
contentContainerStyle: contentContainerStyle
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
if (error) {
|
|
140
|
+
return /*#__PURE__*/_jsx(View, {
|
|
141
|
+
style: styles.centered,
|
|
142
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
143
|
+
style: styles.errorText,
|
|
144
|
+
children: errorMessage
|
|
145
|
+
})
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
if (isEmpty) {
|
|
149
|
+
return /*#__PURE__*/_jsx(View, {
|
|
150
|
+
style: styles.centered,
|
|
151
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
152
|
+
style: styles.emptyText,
|
|
153
|
+
children: "No content found"
|
|
154
|
+
})
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
return /*#__PURE__*/_jsx(AnimatedFlatList, {
|
|
158
|
+
data: contentList,
|
|
159
|
+
numColumns: numColumns,
|
|
160
|
+
showsVerticalScrollIndicator: false,
|
|
161
|
+
scrollEnabled: false // ✅ ADD
|
|
162
|
+
,
|
|
163
|
+
nestedScrollEnabled: false // ✅ ADD
|
|
164
|
+
,
|
|
165
|
+
removeClippedSubviews: false // ✅ ADD
|
|
166
|
+
// removeClippedSubviews
|
|
167
|
+
,
|
|
168
|
+
keyExtractor: keyExtractor,
|
|
169
|
+
renderItem: renderItem,
|
|
170
|
+
initialNumToRender: 6,
|
|
171
|
+
bounces: false,
|
|
172
|
+
scrollEventThrottle: 16,
|
|
173
|
+
contentContainerStyle: styles.listContent,
|
|
174
|
+
ListFooterComponent: footerComponentMemo,
|
|
175
|
+
onEndReachedThreshold: 0.7,
|
|
176
|
+
onEndReached: handleEndReached,
|
|
177
|
+
onMomentumScrollBegin: handleMomentumScrollBegin,
|
|
178
|
+
refreshing: refreshing,
|
|
179
|
+
onRefresh: onRefresh,
|
|
180
|
+
windowSize: 5,
|
|
181
|
+
maxToRenderPerBatch: 5,
|
|
182
|
+
updateCellsBatchingPeriod: 50
|
|
183
|
+
});
|
|
184
|
+
}, [isLoading, error, isEmpty, skeletonData, skeletonKeyExtractor, renderSkeletonItem, contentContainerStyle, errorMessage, numColumns, contentList, keyExtractor, renderItem, footerComponentMemo, handleEndReached, handleMomentumScrollBegin, refreshing, onRefresh]);
|
|
185
|
+
return /*#__PURE__*/_jsx(View, {
|
|
186
|
+
style: {
|
|
187
|
+
flex: 1
|
|
188
|
+
},
|
|
189
|
+
children: renderContent
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
export default MoreLikeThisContentList;
|
|
193
|
+
const styles = StyleSheet.create({
|
|
194
|
+
listContent: {
|
|
195
|
+
paddingHorizontal: scale(6),
|
|
196
|
+
paddingBottom: scale(100)
|
|
197
|
+
},
|
|
198
|
+
cardWrapper: {
|
|
199
|
+
flexBasis: '33.33%',
|
|
200
|
+
maxWidth: '33.33%',
|
|
201
|
+
padding: scale(4),
|
|
202
|
+
alignItems: 'center',
|
|
203
|
+
justifyContent: 'center'
|
|
204
|
+
},
|
|
205
|
+
itemContainer: {
|
|
206
|
+
width: '100%',
|
|
207
|
+
aspectRatio: 2 / 3,
|
|
208
|
+
borderRadius: 5
|
|
209
|
+
},
|
|
210
|
+
centered: {
|
|
211
|
+
flex: 1,
|
|
212
|
+
justifyContent: 'center',
|
|
213
|
+
alignItems: 'center',
|
|
214
|
+
paddingVertical: verticalScale(50)
|
|
215
|
+
},
|
|
216
|
+
errorText: {
|
|
217
|
+
fontSize: RFValue(14),
|
|
218
|
+
color: 'red',
|
|
219
|
+
fontWeight: '500'
|
|
220
|
+
},
|
|
221
|
+
emptyText: {
|
|
222
|
+
fontSize: RFValue(14),
|
|
223
|
+
fontWeight: '400'
|
|
224
|
+
},
|
|
225
|
+
headerTitle: {
|
|
226
|
+
fontSize: RFValue(15),
|
|
227
|
+
textTransform: 'capitalize'
|
|
228
|
+
},
|
|
229
|
+
footerLoading: {
|
|
230
|
+
marginTop: verticalScale(30),
|
|
231
|
+
paddingVertical: verticalScale(10),
|
|
232
|
+
alignItems: 'center'
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
//# sourceMappingURL=MoreLikeThisContentList .js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useCallback","useRef","useMemo","FlatList","StyleSheet","TouchableOpacity","ActivityIndicator","scale","verticalScale","RFValue","Animated","useSkeletonItems","Display","Text","View","CardPoster","useInternalTheme","jsx","_jsx","AnimatedFlatList","createAnimatedComponent","MoreLikeThisContentList","memo","contentList","onItemPress","isLoading","error","errorText","theme","moreDataIsLoading","onEndReached","skeletonCount","numColumns","footerComponent","refreshing","onRefresh","hasFetchedOnce","appliedTheme","onEndReachedCalledDuringMomentum","isEmpty","Array","isArray","length","errorMessage","Error","message","skeletonItems","skeletonData","map","_","index","_id","keyExtractor","item","toString","renderItem","style","styles","cardWrapper","children","onPress","activeOpacity","content_offering_type","contentType","type","posterUri","poster","borderRadius","imageStyle","itemContainer","renderSkeletonItem","footerComponentMemo","footerLoading","size","handleEndReached","current","handleMomentumScrollBegin","contentContainerStyle","listContent","minHeight","fullHeight","skeletonKeyExtractor","renderContent","data","scrollEnabled","showsVerticalScrollIndicator","centered","emptyText","nestedScrollEnabled","removeClippedSubviews","initialNumToRender","bounces","scrollEventThrottle","ListFooterComponent","onEndReachedThreshold","onMomentumScrollBegin","windowSize","maxToRenderPerBatch","updateCellsBatchingPeriod","flex","create","paddingHorizontal","paddingBottom","flexBasis","maxWidth","padding","alignItems","justifyContent","width","aspectRatio","paddingVertical","fontSize","color","fontWeight","headerTitle","textTransform","marginTop"],"sourceRoot":"../../../../../../src","sources":["components/ContentView/Two/components/MoreLikeThisContentList .tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,MAAM,EAAEC,OAAO,QAAQ,OAAO;AAC3D,SACEC,QAAQ,EACRC,UAAU,EACVC,gBAAgB,EAChBC,iBAAiB,QAEZ,cAAc;AACrB,SAASC,KAAK,EAAEC,aAAa,QAAQ,2BAA2B;AAChE,SAASC,OAAO,QAAQ,kCAAkC;AAC1D,OAAOC,QAAQ,MAAM,yBAAyB;AAE9C,SAASC,gBAAgB,QAAQ,4BAAmB;AACpD,OAAOC,OAAO,MAAM,8BAA2B;AAC/C,SAASC,IAAI,QAAQ,wBAAe;AACpC,OAAOC,IAAI,MAAM,uBAAoB;AACrC,OAAOC,UAAU,MAAM,gDAA6C;AAEpE,SAASC,gBAAgB,QAAQ,iCAAwB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAmB1D,MAAMC,gBAAgB,GAAGT,QAAQ,CAACU,uBAAuB,CACvDjB,QACF,CAAC;AAED,MAAMkB,uBAAwC,gBAAGtB,KAAK,CAACuB,IAAI,CACzD,CAAC;EACCC,WAAW,GAAG,EAAE;EAChBC,WAAW;EACXC,SAAS,GAAG,KAAK;EACjBC,KAAK,GAAG,KAAK;EACbC,SAAS,GAAG,uBAAuB;EACnCC,KAAK;EACLC,iBAAiB,GAAG,KAAK;EACzBC,YAAY;E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ACD3C,aAAa,EAAE;IACb4C,SAAS,EAAE5G,aAAa,CAAC,EAAE,CAAC;IAC5BsG,eAAe,EAAEtG,aAAa,CAAC,EAAE,CAAC;IAClCkG,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Ashok Desai
|
|
5
|
+
* @lastModified Tue 13 Jun 2025 at 02:28 PM
|
|
6
|
+
*/
|
|
7
|
+
import React, { useCallback, useMemo } from 'react';
|
|
8
|
+
import { View, StyleSheet } from 'react-native';
|
|
9
|
+
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
10
|
+
import { scale } from 'react-native-size-matters';
|
|
11
|
+
import { Play, ShoppingCart } from 'lucide-react-native';
|
|
12
|
+
import { Button } from "../../../Button/index.js";
|
|
13
|
+
import { useInternalTheme } from "../../../../theme/hook/useInternalTheme.js";
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
+
export const PlayOrTrailer = /*#__PURE__*/React.memo(({
|
|
16
|
+
onPressPlay,
|
|
17
|
+
theme,
|
|
18
|
+
isLoading = false,
|
|
19
|
+
playButtonConfig
|
|
20
|
+
}) => {
|
|
21
|
+
const {
|
|
22
|
+
theme: appliedTheme
|
|
23
|
+
} = useInternalTheme(theme);
|
|
24
|
+
const iconSize = scale(18);
|
|
25
|
+
const handlePressPlay = useCallback(({
|
|
26
|
+
is_trailer
|
|
27
|
+
}) => {
|
|
28
|
+
onPressPlay?.({
|
|
29
|
+
is_trailer
|
|
30
|
+
});
|
|
31
|
+
}, [onPressPlay]);
|
|
32
|
+
const playIcon = useMemo(() => {
|
|
33
|
+
if (playButtonConfig?.mode === 'RENT NOW') {
|
|
34
|
+
return /*#__PURE__*/_jsx(ShoppingCart, {
|
|
35
|
+
size: 22,
|
|
36
|
+
color: appliedTheme.colors.black,
|
|
37
|
+
fill: appliedTheme.colors.black,
|
|
38
|
+
strokeWidth: 2
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
return /*#__PURE__*/_jsx(Play, {
|
|
42
|
+
size: iconSize,
|
|
43
|
+
color: appliedTheme.colors.black,
|
|
44
|
+
fill: appliedTheme.colors.black,
|
|
45
|
+
stroke: "none"
|
|
46
|
+
});
|
|
47
|
+
}, [playButtonConfig, iconSize, appliedTheme]);
|
|
48
|
+
const watchNowTheme = {
|
|
49
|
+
light: {
|
|
50
|
+
button: appliedTheme.colors.surfaceVariant,
|
|
51
|
+
buttonText: appliedTheme.colors.black
|
|
52
|
+
},
|
|
53
|
+
dark: {
|
|
54
|
+
button: appliedTheme.colors.white,
|
|
55
|
+
buttonText: appliedTheme.colors.black
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
const trailerTheme = {
|
|
59
|
+
light: {
|
|
60
|
+
button: appliedTheme.colors.onBackground,
|
|
61
|
+
buttonText: appliedTheme.colors.white
|
|
62
|
+
},
|
|
63
|
+
dark: {
|
|
64
|
+
button: appliedTheme.colors.surface,
|
|
65
|
+
buttonText: appliedTheme.colors.onSurface
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
if (isLoading) {
|
|
69
|
+
return /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
70
|
+
backgroundColor: appliedTheme.colors.skeletonBaseColor,
|
|
71
|
+
highlightColor: appliedTheme.colors.skeletonHighlightColor,
|
|
72
|
+
borderRadius: scale(8),
|
|
73
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
74
|
+
style: styles.container,
|
|
75
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
76
|
+
style: styles.skeletonButton
|
|
77
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
78
|
+
style: styles.skeletonButton
|
|
79
|
+
})]
|
|
80
|
+
})
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
84
|
+
style: styles.container,
|
|
85
|
+
children: [/*#__PURE__*/_jsx(Button.Primary, {
|
|
86
|
+
title: playButtonConfig?.title || 'Watch Now',
|
|
87
|
+
onPress: () => handlePressPlay({
|
|
88
|
+
is_trailer: false
|
|
89
|
+
}),
|
|
90
|
+
theme: watchNowTheme,
|
|
91
|
+
containerStyle: styles.button,
|
|
92
|
+
leftIcon: playIcon
|
|
93
|
+
}), /*#__PURE__*/_jsx(Button.Primary, {
|
|
94
|
+
title: "Trailer",
|
|
95
|
+
onPress: () => handlePressPlay({
|
|
96
|
+
is_trailer: true
|
|
97
|
+
}),
|
|
98
|
+
theme: trailerTheme,
|
|
99
|
+
containerStyle: styles.button
|
|
100
|
+
})]
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
const styles = StyleSheet.create({
|
|
104
|
+
container: {
|
|
105
|
+
flexDirection: 'row',
|
|
106
|
+
gap: scale(10),
|
|
107
|
+
paddingHorizontal: scale(12),
|
|
108
|
+
alignItems: 'center',
|
|
109
|
+
marginTop: scale(10)
|
|
110
|
+
},
|
|
111
|
+
button: {
|
|
112
|
+
flex: 1
|
|
113
|
+
},
|
|
114
|
+
skeletonButton: {
|
|
115
|
+
flex: 1,
|
|
116
|
+
height: scale(42),
|
|
117
|
+
borderRadius: scale(8)
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
//# sourceMappingURL=PlayOrTrailer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useCallback","useMemo","View","StyleSheet","SkeletonPlaceholder","scale","Play","ShoppingCart","Button","useInternalTheme","jsx","_jsx","jsxs","_jsxs","PlayOrTrailer","memo","onPressPlay","theme","isLoading","playButtonConfig","appliedTheme","iconSize","handlePressPlay","is_trailer","playIcon","mode","size","color","colors","black","fill","strokeWidth","stroke","watchNowTheme","light","button","surfaceVariant","buttonText","dark","white","trailerTheme","onBackground","surface","onSurface","backgroundColor","skeletonBaseColor","highlightColor","skeletonHighlightColor","borderRadius","children","style","styles","container","skeletonButton","Primary","title","onPress","containerStyle","leftIcon","create","flexDirection","gap","paddingHorizontal","alignItems","marginTop","flex","height"],"sourceRoot":"../../../../../../src","sources":["components/ContentView/Two/components/PlayOrTrailer.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AACnD,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,SAASC,KAAK,QAAQ,2BAA2B;AACjD,SAASC,IAAI,EAAEC,YAAY,QAAQ,qBAAqB;AACxD,SAASC,MAAM,QAAQ,0BAAiB;AAExC,SAASC,gBAAgB,QAAQ,4CAAyC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAc3E,OAAO,MAAMC,aAAa,gBAAGf,KAAK,CAACgB,IAAI,CACrC,CAAC;EAAEC,WAAW;EAAEC,KAAK;EAAEC,SAAS,GAAG,KAAK;EAAEC;AAAwB,CAAC,KAAK;EACtE,MAAM;IAAEF,KAAK,EAAEG;EAAa,CAAC,GAAGX,gBAAgB,CAACQ,KAAK,CAAC;EAEvD,MAAMI,QAAQ,GAAGhB,KAAK,CAAC,EAAE,CAAC;EAC1B,MAAMiB,eAAe,GAAGtB,WAAW,CACjC,CAAC;IAAEuB;EAAoC,CAAC,KAAK;IAC3CP,WAAW,GAAG;MAAEO;IAAW,CAAC,CAAC;EAC/B,CAAC,EACD,CAACP,WAAW,CACd,CAAC;EACD,MAAMQ,QAAQ,GAAGvB,OAAO,CAAC,MAAM;IAC7B,IAAIkB,gBAAgB,EAAEM,IAAI,KAAK,UAAU,EAAE;MACzC,oBACEd,IAAA,CAACJ,YAAY;QACXmB,IAAI,EAAE,EAAG;QACTC,KAAK,EAAEP,YAAY,CAACQ,MAAM,CAACC,KAAM;QACjCC,IAAI,EAAEV,YAAY,CAACQ,MAAM,CAACC,KAAM;QAChCE,WAA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AC,CAAC;EACvB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Ashok Desai
|
|
5
|
+
* @lastModified Fri 16 Jun 2026 at 11:45 AM
|
|
6
|
+
*/
|
|
7
|
+
import React, { useCallback } from 'react';
|
|
8
|
+
import { View, StyleSheet, TouchableOpacity } from 'react-native';
|
|
9
|
+
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
10
|
+
import { scale } from 'react-native-size-matters';
|
|
11
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
12
|
+
import { Text } from "../../../Text/index.js";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
export const SectionTabs = /*#__PURE__*/React.memo(({
|
|
15
|
+
theme,
|
|
16
|
+
activeTab,
|
|
17
|
+
onTabChange,
|
|
18
|
+
isLoading = false,
|
|
19
|
+
leftTitle = 'More like this',
|
|
20
|
+
rightTitle = 'Details',
|
|
21
|
+
style = {}
|
|
22
|
+
}) => {
|
|
23
|
+
const handlePress = useCallback(tab => {
|
|
24
|
+
if (tab !== activeTab) {
|
|
25
|
+
onTabChange(tab);
|
|
26
|
+
}
|
|
27
|
+
}, [activeTab, onTabChange]);
|
|
28
|
+
|
|
29
|
+
/** 🔹 Skeleton loader */
|
|
30
|
+
if (isLoading) {
|
|
31
|
+
return /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
32
|
+
backgroundColor: theme.colors.skeletonBaseColor,
|
|
33
|
+
highlightColor: theme.colors.skeletonHighlightColor,
|
|
34
|
+
children: /*#__PURE__*/_jsxs(SkeletonPlaceholder.Item, {
|
|
35
|
+
flexDirection: "row",
|
|
36
|
+
justifyContent: "space-between",
|
|
37
|
+
paddingHorizontal: scale(12),
|
|
38
|
+
marginVertical: scale(12),
|
|
39
|
+
children: [/*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
40
|
+
width: scale(120),
|
|
41
|
+
height: scale(16),
|
|
42
|
+
borderRadius: scale(4)
|
|
43
|
+
}), /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
44
|
+
width: scale(80),
|
|
45
|
+
height: scale(16),
|
|
46
|
+
borderRadius: scale(4)
|
|
47
|
+
})]
|
|
48
|
+
})
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return /*#__PURE__*/_jsx(View, {
|
|
52
|
+
style: [styles.container, style.container],
|
|
53
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
54
|
+
style: styles.row,
|
|
55
|
+
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
56
|
+
activeOpacity: 0.8,
|
|
57
|
+
onPress: () => handlePress('more'),
|
|
58
|
+
style: [styles.tab, style.tab],
|
|
59
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
60
|
+
style: [styles.title, {
|
|
61
|
+
color: theme.colors.textPrimary
|
|
62
|
+
}, style.title],
|
|
63
|
+
children: leftTitle
|
|
64
|
+
}), activeTab === 'more' && /*#__PURE__*/_jsx(View, {
|
|
65
|
+
style: [styles.indicator, {
|
|
66
|
+
backgroundColor: theme.colors.primary
|
|
67
|
+
}, style.indicator]
|
|
68
|
+
})]
|
|
69
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
70
|
+
activeOpacity: 0.8,
|
|
71
|
+
onPress: () => handlePress('details'),
|
|
72
|
+
style: [styles.tab, style.tab],
|
|
73
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
74
|
+
style: [styles.title, {
|
|
75
|
+
color: theme.colors.textPrimary
|
|
76
|
+
}, style.title],
|
|
77
|
+
children: rightTitle
|
|
78
|
+
}), activeTab === 'details' && /*#__PURE__*/_jsx(View, {
|
|
79
|
+
style: [styles.indicator, {
|
|
80
|
+
backgroundColor: theme.colors.primary
|
|
81
|
+
}, style.indicator]
|
|
82
|
+
})]
|
|
83
|
+
})]
|
|
84
|
+
})
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
const styles = StyleSheet.create({
|
|
88
|
+
container: {
|
|
89
|
+
marginTop: scale(12)
|
|
90
|
+
},
|
|
91
|
+
row: {
|
|
92
|
+
flexDirection: 'row',
|
|
93
|
+
paddingHorizontal: scale(12),
|
|
94
|
+
justifyContent: 'space-between'
|
|
95
|
+
},
|
|
96
|
+
tab: {
|
|
97
|
+
flex: 1,
|
|
98
|
+
alignItems: 'center'
|
|
99
|
+
},
|
|
100
|
+
title: {
|
|
101
|
+
fontSize: RFValue(14),
|
|
102
|
+
fontWeight: '600'
|
|
103
|
+
},
|
|
104
|
+
indicator: {
|
|
105
|
+
marginTop: scale(6),
|
|
106
|
+
marginBottom: scale(10),
|
|
107
|
+
height: scale(2.5),
|
|
108
|
+
borderRadius: scale(2),
|
|
109
|
+
width: '100%'
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
//# sourceMappingURL=SectionTabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useCallback","View","StyleSheet","TouchableOpacity","SkeletonPlaceholder","scale","RFValue","Text","jsx","_jsx","jsxs","_jsxs","SectionTabs","memo","theme","activeTab","onTabChange","isLoading","leftTitle","rightTitle","style","handlePress","tab","backgroundColor","colors","skeletonBaseColor","highlightColor","skeletonHighlightColor","children","Item","flexDirection","justifyContent","paddingHorizontal","marginVertical","width","height","borderRadius","styles","container","row","activeOpacity","onPress","title","color","textPrimary","indicator","primary","create","marginTop","flex","alignItems","fontSize","fontWeight","marginBottom"],"sourceRoot":"../../../../../../src","sources":["components/ContentView/Two/components/SectionTabs.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,WAAW,QAAQ,OAAO;AAC1C,SACEC,IAAI,EACJC,UAAU,EACVC,gBAAgB,QAIX,cAAc;AACrB,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,SAASC,KAAK,QAAQ,2BA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7
|
+
|
|
8
|
+
import React, { useMemo } from 'react';
|
|
9
|
+
import { View, StyleSheet } from 'react-native';
|
|
10
|
+
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
11
|
+
import { scale } from 'react-native-size-matters';
|
|
12
|
+
import { Text } from "../../../Text/index.js";
|
|
13
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
14
|
+
import { LikeShareActions } from "./LikeShareActions.js";
|
|
15
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
export const Title = /*#__PURE__*/React.memo(({
|
|
17
|
+
contentId,
|
|
18
|
+
subtitle,
|
|
19
|
+
rating,
|
|
20
|
+
releaseYear,
|
|
21
|
+
duration,
|
|
22
|
+
language,
|
|
23
|
+
theme,
|
|
24
|
+
isLoading = false,
|
|
25
|
+
isLiked,
|
|
26
|
+
onPressLike,
|
|
27
|
+
onPressShare,
|
|
28
|
+
style
|
|
29
|
+
}) => {
|
|
30
|
+
const containerStyle = useMemo(() => StyleSheet.flatten([styles.container, style?.container]), [style?.container]);
|
|
31
|
+
const subTitleStyle = useMemo(() => StyleSheet.flatten([styles.subTitle, style?.subTitle]), [style?.subTitle]);
|
|
32
|
+
const ratingStyle = useMemo(() => StyleSheet.flatten([styles.rating, style?.rating]), [style?.rating]);
|
|
33
|
+
const releaseYearStyle = useMemo(() => StyleSheet.flatten([styles.metaText, style?.releaseYear]), [style?.releaseYear]);
|
|
34
|
+
const durationStyle = useMemo(() => StyleSheet.flatten([styles.metaText, style?.duration]), [style?.duration]);
|
|
35
|
+
const languageStyle = useMemo(() => StyleSheet.flatten([styles.metaText, style?.language]), [style?.language]);
|
|
36
|
+
if (isLoading) {
|
|
37
|
+
return /*#__PURE__*/_jsx(View, {
|
|
38
|
+
style: containerStyle,
|
|
39
|
+
children: /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
40
|
+
backgroundColor: theme.colors.skeletonBaseColor,
|
|
41
|
+
highlightColor: theme.colors.skeletonHighlightColor,
|
|
42
|
+
children: /*#__PURE__*/_jsxs(SkeletonPlaceholder.Item, {
|
|
43
|
+
children: [/*#__PURE__*/_jsxs(SkeletonPlaceholder.Item, {
|
|
44
|
+
flexDirection: "row",
|
|
45
|
+
alignItems: "center",
|
|
46
|
+
children: [/*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
47
|
+
width: scale(160),
|
|
48
|
+
height: scale(22),
|
|
49
|
+
borderRadius: scale(4)
|
|
50
|
+
}), /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
51
|
+
width: scale(60),
|
|
52
|
+
height: scale(22),
|
|
53
|
+
borderRadius: scale(4),
|
|
54
|
+
marginLeft: scale(6)
|
|
55
|
+
})]
|
|
56
|
+
}), /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
57
|
+
width: scale(36),
|
|
58
|
+
height: scale(16),
|
|
59
|
+
borderRadius: scale(4),
|
|
60
|
+
marginTop: scale(6)
|
|
61
|
+
})]
|
|
62
|
+
})
|
|
63
|
+
})
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
67
|
+
style: containerStyle,
|
|
68
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
69
|
+
style: styles.metaRow,
|
|
70
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
71
|
+
style: styles.leftMeta,
|
|
72
|
+
children: [!!subtitle && /*#__PURE__*/_jsx(View, {
|
|
73
|
+
style: [styles.subTitleContainer, {
|
|
74
|
+
backgroundColor: theme.colors.surfaceVariant
|
|
75
|
+
}],
|
|
76
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
77
|
+
color: theme.colors.textPrimary,
|
|
78
|
+
style: subTitleStyle,
|
|
79
|
+
numberOfLines: 1,
|
|
80
|
+
children: subtitle
|
|
81
|
+
})
|
|
82
|
+
}), !!releaseYear && /*#__PURE__*/_jsxs(Text, {
|
|
83
|
+
color: theme.colors.textPrimary,
|
|
84
|
+
style: releaseYearStyle,
|
|
85
|
+
children: ["\u2022 ", releaseYear]
|
|
86
|
+
}), !!duration && /*#__PURE__*/_jsxs(Text, {
|
|
87
|
+
color: theme.colors.textPrimary,
|
|
88
|
+
style: durationStyle,
|
|
89
|
+
children: ["\u2022 ", duration]
|
|
90
|
+
}), !!language && /*#__PURE__*/_jsxs(Text, {
|
|
91
|
+
color: theme.colors.textPrimary,
|
|
92
|
+
style: languageStyle,
|
|
93
|
+
children: ["\u2022 ", language]
|
|
94
|
+
})]
|
|
95
|
+
}), /*#__PURE__*/_jsx(LikeShareActions, {
|
|
96
|
+
theme: theme,
|
|
97
|
+
contentId: contentId,
|
|
98
|
+
isLiked: isLiked,
|
|
99
|
+
isLoading: isLoading,
|
|
100
|
+
onPressLike: onPressLike,
|
|
101
|
+
onPressShare: onPressShare
|
|
102
|
+
})]
|
|
103
|
+
}), !!rating && /*#__PURE__*/_jsxs(Text, {
|
|
104
|
+
color: theme.colors.textSecondary,
|
|
105
|
+
style: ratingStyle,
|
|
106
|
+
children: ["\u2B50 ", rating]
|
|
107
|
+
})]
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
const styles = StyleSheet.create({
|
|
111
|
+
container: {
|
|
112
|
+
paddingHorizontal: scale(12),
|
|
113
|
+
marginTop: scale(5)
|
|
114
|
+
},
|
|
115
|
+
metaRow: {
|
|
116
|
+
flexDirection: 'row',
|
|
117
|
+
alignItems: 'center',
|
|
118
|
+
justifyContent: 'space-between'
|
|
119
|
+
},
|
|
120
|
+
leftMeta: {
|
|
121
|
+
flexDirection: 'row',
|
|
122
|
+
alignItems: 'center',
|
|
123
|
+
flexWrap: 'wrap',
|
|
124
|
+
flex: 1
|
|
125
|
+
},
|
|
126
|
+
subTitleContainer: {
|
|
127
|
+
alignSelf: 'center',
|
|
128
|
+
paddingHorizontal: scale(8),
|
|
129
|
+
paddingVertical: scale(2),
|
|
130
|
+
borderRadius: scale(6),
|
|
131
|
+
marginRight: scale(6)
|
|
132
|
+
},
|
|
133
|
+
subTitle: {
|
|
134
|
+
fontSize: RFValue(12),
|
|
135
|
+
fontWeight: '500'
|
|
136
|
+
},
|
|
137
|
+
metaText: {
|
|
138
|
+
fontSize: RFValue(14),
|
|
139
|
+
marginRight: scale(4)
|
|
140
|
+
},
|
|
141
|
+
rating: {
|
|
142
|
+
fontSize: RFValue(12),
|
|
143
|
+
marginTop: scale(4)
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
//# sourceMappingURL=Title.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useMemo","View","StyleSheet","SkeletonPlaceholder","scale","Text","RFValue","LikeShareActions","jsx","_jsx","jsxs","_jsxs","Title","memo","contentId","subtitle","rating","releaseYear","duration","language","theme","isLoading","isLiked","onPressLike","onPressShare","style","containerStyle","flatten","styles","container","subTitleStyle","subTitle","ratingStyle","releaseYearStyle","metaText","durationStyle","languageStyle","children","backgroundColor","colors","skeletonBaseColor","highlightColor","skeletonHighlightColor","Item","flexDirection","alignItems","width","height","borderRadius","marginLeft","marginTop","metaRow","leftMeta","subTitleContainer","surfaceVariant","color","textPrimary","numberOfLines","textSecondary","create","paddingHorizontal","justifyContent","flexWrap","flex","alignSelf","paddingVertical","marginRight","fontSize","fontWeight"],"sourceRoot":"../../../../../../src","sources":["components/ContentView/Two/components/Title.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SACEC,IAAI,EACJC,UAAU,QAIL,cAAc;AACrB,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,SAASC,KAAK,QAAQ,2BAA2B;AACjD,SAASC,IAAI,QAAQ,wBAAe;AAEpC,SAASC,OAAO,QAAQ,kCAAkC;AAE1D,SAASC,gBAAgB,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA0BtD,OAAO,MAAMC,KA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