@zezosoft/zezo-ott-react-native-ui-kit 1.1.1 → 1.1.3
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/Styles/globalStyles.js +0 -5
- package/lib/module/Styles/globalStyles.js.map +1 -1
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js +64 -40
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +5 -2
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +17 -11
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js +12 -6
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -1
- package/lib/module/components/Auth/OTP/OTP.js +7 -4
- package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
- package/lib/module/components/Auth/QrLogin/QrLogin.js +357 -144
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +1 -1
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +227 -110
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +1 -1
- package/lib/module/components/Auth/SignUp/SignUp.js +19 -13
- package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js +54 -36
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +29 -11
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +13 -7
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +33 -21
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +26 -20
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BlogView/BlogView.js +36 -20
- package/lib/module/components/BlogView/BlogView.js.map +1 -1
- package/lib/module/components/Button/BackBtn.js +24 -20
- package/lib/module/components/Button/BackBtn.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +19 -13
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Button/SecondaryBtn.js +19 -13
- package/lib/module/components/Button/SecondaryBtn.js.map +1 -1
- package/lib/module/components/Button/TextButton.js +19 -13
- package/lib/module/components/Button/TextButton.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +151 -46
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- 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 +200 -133
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +192 -84
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +131 -48
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +126 -59
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +125 -50
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +143 -65
- 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 +134 -79
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +186 -171
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +144 -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 +139 -93
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/RentOrBuyIcon.js +18 -17
- package/lib/module/components/Content/Card/components/RentOrBuyIcon.js.map +1 -1
- package/lib/module/components/Content/Card/components/ThumbnailCard.js +78 -28
- package/lib/module/components/Content/Card/components/ThumbnailCard.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 +99 -40
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +63 -34
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/ContentView/ContentView.js +70 -41
- package/lib/module/components/ContentView/ContentView.js.map +1 -1
- package/lib/module/components/ContentView/MoreContentList.js +74 -40
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/components/AboutSection.js +40 -19
- package/lib/module/components/ContentView/components/AboutSection.js.map +1 -1
- package/lib/module/components/ContentView/components/CastCard.js +6 -7
- package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js +2 -2
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js +25 -13
- package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
- package/lib/module/components/ContentView/components/HeroBanner.js +39 -11
- package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -1
- package/lib/module/components/ContentView/components/MiniInfo.js +84 -77
- package/lib/module/components/ContentView/components/MiniInfo.js.map +1 -1
- package/lib/module/components/ContentView/components/PlayButton.js +11 -7
- package/lib/module/components/ContentView/components/PlayButton.js.map +1 -1
- package/lib/module/components/ContentView/components/Title.js +12 -12
- package/lib/module/components/ContentView/components/Title.js.map +1 -1
- package/lib/module/components/ContentView/components/TrailerButton.js +12 -7
- package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -1
- package/lib/module/components/Fallbacks/NoContentFallback.js +27 -22
- package/lib/module/components/Fallbacks/NoContentFallback.js.map +1 -1
- package/lib/module/components/Fallbacks/NotFoundFallback.js +6 -4
- package/lib/module/components/Fallbacks/NotFoundFallback.js.map +1 -1
- package/lib/module/components/Headers/AppHeader.js +22 -13
- package/lib/module/components/Headers/AppHeader.js.map +1 -1
- package/lib/module/components/Headers/Three.js +6 -5
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/Two.js +19 -14
- package/lib/module/components/Headers/Two.js.map +1 -1
- package/lib/module/components/Input/InputOne.js +46 -31
- package/lib/module/components/Input/InputOne.js.map +1 -1
- package/lib/module/components/Loader/Loader.js +2 -2
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +17 -14
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/Search/One.js +2 -1
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +15 -19
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/Settings/AppSettings.js +97 -62
- package/lib/module/components/Settings/AppSettings.js.map +1 -1
- package/lib/module/components/Subscription/SubOne.js +313 -254
- package/lib/module/components/Subscription/SubOne.js.map +1 -1
- package/lib/module/components/Text/Text.js +15 -12
- package/lib/module/components/Text/Text.js.map +1 -1
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js +25 -23
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js +23 -18
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +38 -24
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js +21 -14
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +30 -21
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/User/components/UserAvatar.js +38 -19
- package/lib/module/components/User/components/UserAvatar.js.map +1 -1
- package/lib/module/components/User/components/UserSection.js +37 -17
- package/lib/module/components/User/components/UserSection.js.map +1 -1
- package/lib/module/components/View/View.js +7 -4
- package/lib/module/components/View/View.js.map +1 -1
- package/lib/module/components/index.js +0 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/constants/dummySections.js +44 -4
- 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 +20 -0
- package/lib/module/hooks/index.js.map +1 -0
- 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/useDebounce.js +25 -6
- package/lib/module/hooks/useDebounce.js.map +1 -1
- package/lib/module/hooks/useKeyboard.js +7 -4
- package/lib/module/hooks/useKeyboard.js.map +1 -1
- package/lib/module/hooks/useNavigationMode.js +10 -4
- package/lib/module/hooks/useNavigationMode.js.map +1 -1
- package/lib/module/hooks/usePaginatedSection.js +12 -7
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/hooks/usePrevious.js +30 -0
- package/lib/module/hooks/usePrevious.js.map +1 -0
- package/lib/module/hooks/useSafeCallback.js +33 -0
- package/lib/module/hooks/useSafeCallback.js.map +1 -0
- package/lib/module/hooks/useSkeletonItems.js +33 -0
- package/lib/module/hooks/useSkeletonItems.js.map +1 -0
- package/lib/module/hooks/useSplashCache.js +2 -1
- package/lib/module/hooks/useSplashCache.js.map +1 -1
- package/lib/module/hooks/useThemeColors.js +33 -0
- package/lib/module/hooks/useThemeColors.js.map +1 -0
- package/lib/module/theme/ThemeProvider.js +17 -11
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/useInternalTheme.js +18 -11
- package/lib/module/theme/hook/useInternalTheme.js.map +1 -1
- package/lib/module/theme/hook/useThemeStatusBar.js +10 -4
- package/lib/module/theme/hook/useThemeStatusBar.js.map +1 -1
- package/lib/typescript/src/Styles/globalStyles.d.ts +0 -5
- package/lib/typescript/src/Styles/globalStyles.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/AuthProvider/AuthProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts +2 -15
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
- package/lib/typescript/src/components/BlogView/BlogView.d.ts +2 -1
- package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/BackBtn.d.ts +2 -2
- package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +2 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/SecondaryBtn.d.ts +2 -1
- package/lib/typescript/src/components/Button/SecondaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/TextButton.d.ts +2 -2
- package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +2 -2
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- 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/Two.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 +3 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts +2 -2
- package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts +2 -0
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.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 +6 -3
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +22 -8
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +6 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +2 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +6 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +2 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +2 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +2 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +2 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Fallbacks/NoContentFallback.d.ts +2 -1
- package/lib/typescript/src/components/Fallbacks/NoContentFallback.d.ts.map +1 -1
- package/lib/typescript/src/components/Fallbacks/NotFoundFallback.d.ts +1 -1
- package/lib/typescript/src/components/Fallbacks/NotFoundFallback.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/AppHeader.d.ts +2 -2
- package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts +2 -2
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts +2 -2
- package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/index.d.ts +2 -2
- package/lib/typescript/src/components/Input/Input.d.ts +1 -1
- package/lib/typescript/src/components/Input/InputOne.d.ts +2 -2
- package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts +2 -1
- package/lib/typescript/src/components/Logo/Logo.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 +2 -5
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/index.d.ts +1 -1
- package/lib/typescript/src/components/Settings/AppSettings.d.ts +2 -2
- package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Text/Text.d.ts +2 -2
- package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +1 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -1
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts +1 -1
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts +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 +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 +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts +1 -1
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserSection.d.ts +1 -1
- package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
- package/lib/typescript/src/components/View/View.d.ts +2 -0
- package/lib/typescript/src/components/View/View.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +0 -1
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts +5 -0
- 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 +17 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -0
- 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/useDebounce.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useNavigationMode.d.ts.map +1 -1
- 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/usePrevious.d.ts +12 -0
- package/lib/typescript/src/hooks/usePrevious.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useSafeCallback.d.ts +15 -0
- package/lib/typescript/src/hooks/useSafeCallback.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useSkeletonItems.d.ts +11 -0
- package/lib/typescript/src/hooks/useSkeletonItems.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useThemeColors.d.ts +27 -0
- package/lib/typescript/src/hooks/useThemeColors.d.ts.map +1 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useThemeStatusBar.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/package.json +6 -3
- package/src/Styles/globalStyles.ts +0 -5
- package/src/components/Auth/AuthProvider/AuthProvider.tsx +288 -212
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +11 -4
- package/src/components/Auth/Login/LoginWithEmail.tsx +266 -238
- package/src/components/Auth/Login/LoginWithPhone.tsx +18 -6
- package/src/components/Auth/OTP/OTP.tsx +21 -5
- package/src/components/Auth/QrLogin/QrLogin.tsx +477 -177
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +349 -139
- package/src/components/Auth/SignUp/SignUp.tsx +312 -293
- package/src/components/Auth/SplashScreen/SplashScreen.tsx +186 -131
- package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +32 -15
- package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +11 -5
- package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +34 -18
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +43 -37
- package/src/components/BlogView/BlogView.tsx +66 -30
- package/src/components/Button/BackBtn.tsx +64 -34
- package/src/components/Button/PrimaryBtn.tsx +42 -25
- package/src/components/Button/SecondaryBtn.tsx +41 -25
- package/src/components/Button/TextButton.tsx +54 -32
- package/src/components/Content/Card/Category/Category.tsx +189 -64
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +281 -136
- package/src/components/Content/Card/Sliders/Styles/One.tsx +270 -158
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +239 -90
- package/src/components/Content/Card/Styles/Five.tsx +161 -62
- package/src/components/Content/Card/Styles/Four.tsx +164 -85
- package/src/components/Content/Card/Styles/One.tsx +161 -71
- package/src/components/Content/Card/Styles/RotateInOut.tsx +162 -67
- package/src/components/Content/Card/Styles/Six.tsx +242 -142
- package/src/components/Content/Card/Styles/Three.tsx +166 -133
- package/src/components/Content/Card/Styles/TopTen.tsx +230 -191
- package/src/components/Content/Card/Styles/Two.tsx +182 -79
- package/src/components/Content/Card/components/AdsPoster.tsx +202 -0
- package/src/components/Content/Card/components/CardPoster.tsx +166 -105
- package/src/components/Content/Card/components/RentOrBuyIcon.tsx +58 -38
- package/src/components/Content/Card/components/ThumbnailCard.tsx +122 -47
- package/src/components/Content/Card/components/index.ts +1 -0
- package/src/components/Content/Content.tsx +211 -106
- package/src/components/Content/Sections.tsx +148 -51
- package/src/components/ContentView/ContentView.tsx +194 -128
- package/src/components/ContentView/MoreContentList.tsx +215 -151
- package/src/components/ContentView/components/AboutSection.tsx +132 -93
- package/src/components/ContentView/components/CastCard.tsx +148 -138
- package/src/components/ContentView/components/EpisodeCard.tsx +160 -155
- package/src/components/ContentView/components/GenreTags.tsx +68 -53
- package/src/components/ContentView/components/HeroBanner.tsx +326 -284
- package/src/components/ContentView/components/MiniInfo.tsx +181 -159
- package/src/components/ContentView/components/PlayButton.tsx +27 -16
- package/src/components/ContentView/components/Title.tsx +89 -72
- package/src/components/ContentView/components/TrailerButton.tsx +35 -22
- package/src/components/Fallbacks/NoContentFallback.tsx +107 -103
- package/src/components/Fallbacks/NotFoundFallback.tsx +12 -4
- package/src/components/Headers/AppHeader.tsx +42 -26
- package/src/components/Headers/Three.tsx +12 -8
- package/src/components/Headers/Two.tsx +31 -10
- package/src/components/Input/InputOne.tsx +136 -108
- package/src/components/Loader/Loader.tsx +2 -2
- package/src/components/Logo/Logo.tsx +43 -27
- package/src/components/Search/One.tsx +2 -4
- package/src/components/Search/components/SearchCard.tsx +19 -13
- package/src/components/Settings/AppSettings.tsx +217 -128
- package/src/components/Subscription/SubOne.tsx +394 -317
- package/src/components/Text/Text.tsx +33 -22
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +129 -102
- package/src/components/User/ProfileUpdate/ProfileUpdate.tsx +36 -17
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +194 -140
- package/src/components/User/WatchHistory/WatchHistory.tsx +63 -36
- package/src/components/User/WatchLater/WatchLater.tsx +119 -81
- package/src/components/User/components/UserAvatar.tsx +49 -15
- package/src/components/User/components/UserSection.tsx +71 -37
- package/src/components/View/View.tsx +10 -2
- package/src/components/index.ts +0 -1
- package/src/constants/dummySections.ts +48 -1
- 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 +17 -0
- package/src/hooks/useAdTracking.ts +349 -0
- package/src/hooks/useCards.ts +228 -0
- package/src/hooks/useDebounce.ts +25 -6
- package/src/hooks/useKeyboard.ts +12 -5
- package/src/hooks/useNavigationMode.ts +16 -5
- package/src/hooks/usePaginatedSection.ts +27 -8
- package/src/hooks/usePrevious.ts +28 -0
- package/src/hooks/useSafeCallback.ts +43 -0
- package/src/hooks/useSkeletonItems.ts +30 -0
- package/src/hooks/useSplashCache.ts +2 -1
- package/src/hooks/useThemeColors.ts +51 -0
- package/src/theme/ThemeProvider.tsx +25 -9
- package/src/theme/hook/useInternalTheme.ts +19 -13
- package/src/theme/hook/useThemeStatusBar.ts +14 -5
- package/src/types/sections/index.ts +7 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","memo","useCallback","useMemo","useRef","View","FlatList","TouchableOpacity","StyleSheet","ScrollView","SkeletonPlaceholder","moderateScale","verticalScale","
|
|
1
|
+
{"version":3,"names":["React","memo","useCallback","useMemo","useRef","View","FlatList","TouchableOpacity","StyleSheet","ScrollView","SkeletonPlaceholder","moderateScale","verticalScale","FastImage","RFValue","NavigateToMore","AdsPoster","CardPoster","useInternalTheme","useCards","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","DEFAULT_ITEM_WIDTH","DEFAULT_BORDER_RADIUS","DEFAULT_SKELETON_COUNT","ASPECT_RATIO","END_REACHED_THRESHOLD","ITEM_ACTIVE_OPACITY","SKELETON_TITLE_WIDTH","SKELETON_TITLE_HEIGHT","SKELETON_TITLE_BORDER_RADIUS","SKELETON_TITLE_MARGIN_HORIZONTAL","SKELETON_TITLE_MARGIN_BOTTOM","SKELETON_ITEM_MARGIN_LEFT","SKELETON_ITEM_MARGIN_RIGHT","ITEM_MARGIN_LEFT","LIST_CONTENT_PADDING_RIGHT","SKELETON_LIST_PADDING_RIGHT","MovieCardFour","title","section_id","type","data","externalData","moreFetchData","onPressItem","onPressMore","itemWidth","itemHeight","borderRadius","skeletonCount","containerStyle","paginationSkeletonCount","titleStyle","itemStyle","isLoading","theme","accessibilityLabel","accessibilityHint","onDisplayAds","screenDimensions","viewportOffsets","flatListRef","onEndReachedCalledDuringMomentum","appliedTheme","styles","getStyles","listData","pagination","loadMore","isEmpty","isPaging","isPaginating","sectionId","fetchMore","loading","initialSkeleton","pagingSkeleton","adsRender","handleItemPress","item","handlePressMore","name","handleEndReached","current","hasNextPage","nextPage","handleMomentumScrollBegin","renderItem","index","adItem","style","children","ad","width","height","imageStyle","image","tracking","impression","contentItem","isSkeleton","_id","startsWith","activeOpacity","onPress","posterUri","poster","content_offering_type","posterWrapperStyle","resizeMode","cover","renderSkeletonItem","highlightColor","colors","skeletonHighlightColor","backgroundColor","skeletonBaseColor","Item","marginLeft","marginRight","keyExtractor","length","root","marginHorizontal","marginBottom","horizontal","showsHorizontalScrollIndicator","contentContainerStyle","skeletonList","Array","from","map","_","color","textPrimary","navigateToMoreContainer","showAllProps","iconColor","ref","listContent","onEndReached","onEndReachedThreshold","onMomentumScrollBegin","ListFooterComponent","radius","create","marginVertical","surfaceVariant","paddingHorizontal","fontSize","fontWeight","paddingRight","flexDirection","alignItems"],"sourceRoot":"../../../../../../src","sources":["components/Content/Card/Styles/Four.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AACjE,SACEC,IAAI,EACJC,QAAQ,EACRC,gBAAgB,EAChBC,UAAU,EACVC,UAAU,QAKL,cAAc;AAErB,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,SAASC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AACxE,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,SAASC,OAAO,QAAQ,kCAAkC;AAE1D,OAAOC,cAAc,MAAM,iCAA8B;AACzD,SAASC,SAAS,QAAQ,wBAAe;AACzC,OAAOC,UAAU,MAAM,6BAA0B;AAEjD,SAASC,gBAAgB,QAAQ,4CAAyC;AAU1E,SAASC,QAAQ,QAAQ,4BAAmB;;AAE5C;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AACA,MAAMC,kBAAkB,GAAGf,aAAa,CAAC,GAAG,CAAC;AAC7C,MAAMgB,qBAAqB,GAAGhB,aAAa,CAAC,CAAC,CAAC;AAC9C,MAAMiB,sBAAsB,GAAG,CAAC;AAChC,MAAMC,YAAY,GAAG,GAAG,GAAG,CAAC;AAC5B,MAAMC,qBAAqB,GAAG,GAAG;AACjC,MAAMC,mBAAmB,GAAG,GAAG;AAC/B,MAAMC,oBAAoB,GAAGrB,aAAa,CAAC,GAAG,CAAC;AAC/C,MAAMsB,qBAAqB,GAAGtB,aAAa,CAAC,EAAE,CAAC;AAC/C,MAAMuB,4BAA4B,GAAGvB,aAAa,CAAC,CAAC,CAA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AC,EAAE,CAAC;IACrB6I,UAAU,EAAE;EACd,CAAC;EACDX,WAAW,EAAE;IACXY,YAAY,EAAEpH;EAChB,CAAC;EACD6F,YAAY,EAAE;IACZwB,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,YAAY;IACxBF,YAAY,EAAEnH;EAChB;AACF,CAAC,CAAC;AAEJ,4BAAexC,IAAI,CAACyC,aAAa,CAAC","ignoreList":[]}
|
|
@@ -10,51 +10,88 @@ import { View, FlatList, TouchableOpacity, StyleSheet } from 'react-native';
|
|
|
10
10
|
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
11
11
|
import FastImage from 'react-native-fast-image';
|
|
12
12
|
import { moderateScale, verticalScale } from 'react-native-size-matters';
|
|
13
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
13
14
|
import { useInternalTheme } from "../../../../theme/hook/useInternalTheme.js";
|
|
14
15
|
import CardPoster from "../components/CardPoster.js";
|
|
15
16
|
import NavigateToMore from "../components/NavigateToMore.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
17
|
+
import { AdsPoster } from "../components/index.js";
|
|
18
|
+
import { useCards } from "../../../../hooks/index.js";
|
|
19
|
+
|
|
19
20
|
// Constants
|
|
21
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
22
|
const DEFAULT_ITEM_WIDTH = moderateScale(105);
|
|
21
23
|
const DEFAULT_ITEM_HEIGHT = moderateScale(160);
|
|
22
24
|
const DEFAULT_BORDER_RADIUS = moderateScale(6);
|
|
23
25
|
const DEFAULT_SKELETON_COUNT = 5;
|
|
26
|
+
const END_REACHED_THRESHOLD = 0.5;
|
|
27
|
+
const SKELETON_TITLE_WIDTH = moderateScale(100);
|
|
28
|
+
const SKELETON_TITLE_HEIGHT = verticalScale(14);
|
|
29
|
+
const SKELETON_TITLE_BORDER_RADIUS = moderateScale(4);
|
|
30
|
+
const SKELETON_ITEM_MARGIN = moderateScale(12);
|
|
31
|
+
const ITEM_ACTIVE_OPACITY = 0.8;
|
|
32
|
+
|
|
33
|
+
// Types
|
|
34
|
+
|
|
35
|
+
// Main Component
|
|
24
36
|
const MovieCard = ({
|
|
25
37
|
title,
|
|
26
38
|
section_id,
|
|
27
39
|
type,
|
|
28
|
-
data:
|
|
40
|
+
data: externalData,
|
|
29
41
|
moreFetchData,
|
|
30
|
-
onPressMore,
|
|
31
42
|
onPressItem,
|
|
43
|
+
onPressMore,
|
|
32
44
|
renderItemImage,
|
|
33
45
|
itemWidth = DEFAULT_ITEM_WIDTH,
|
|
34
46
|
itemHeight = DEFAULT_ITEM_HEIGHT,
|
|
35
47
|
borderRadius = DEFAULT_BORDER_RADIUS,
|
|
36
48
|
skeletonCount = DEFAULT_SKELETON_COUNT,
|
|
49
|
+
paginationSkeletonCount,
|
|
37
50
|
containerStyle,
|
|
38
51
|
titleStyle,
|
|
39
52
|
itemStyle,
|
|
40
53
|
isLoading = false,
|
|
41
54
|
theme,
|
|
42
55
|
accessibilityLabel,
|
|
43
|
-
accessibilityHint
|
|
56
|
+
accessibilityHint,
|
|
57
|
+
onDisplayAds,
|
|
58
|
+
screenDimensions,
|
|
59
|
+
viewportOffsets
|
|
44
60
|
}) => {
|
|
61
|
+
// Refs
|
|
45
62
|
const flatListRef = useRef(null);
|
|
63
|
+
const containerRef = useRef(null);
|
|
46
64
|
const onEndReachedCalledDuringMomentum = useRef(false);
|
|
65
|
+
|
|
66
|
+
// Theme
|
|
47
67
|
const {
|
|
48
68
|
theme: appliedTheme
|
|
49
69
|
} = useInternalTheme(theme);
|
|
70
|
+
|
|
71
|
+
// Styles
|
|
50
72
|
const styles = useMemo(() => getStyles(appliedTheme, itemWidth, itemHeight, borderRadius), [appliedTheme, itemWidth, itemHeight, borderRadius]);
|
|
73
|
+
|
|
74
|
+
// Data Management
|
|
51
75
|
const {
|
|
52
|
-
|
|
76
|
+
listData,
|
|
53
77
|
pagination,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
78
|
+
loadMore,
|
|
79
|
+
isEmpty,
|
|
80
|
+
isPaging: isPaginating
|
|
81
|
+
} = useCards({
|
|
82
|
+
sectionId: section_id,
|
|
83
|
+
data: externalData,
|
|
84
|
+
fetchMore: moreFetchData,
|
|
85
|
+
loading: isLoading,
|
|
86
|
+
initialSkeleton: skeletonCount,
|
|
87
|
+
pagingSkeleton: paginationSkeletonCount,
|
|
88
|
+
adsRender: true
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
// Event Handlers
|
|
92
|
+
const handleItemPress = useCallback(item => {
|
|
93
|
+
onPressItem?.(item);
|
|
94
|
+
}, [onPressItem]);
|
|
58
95
|
const handlePressMore = useCallback(() => {
|
|
59
96
|
onPressMore?.({
|
|
60
97
|
section_id,
|
|
@@ -65,32 +102,67 @@ const MovieCard = ({
|
|
|
65
102
|
const handleEndReached = useCallback(() => {
|
|
66
103
|
if (!onEndReachedCalledDuringMomentum.current && pagination?.hasNextPage && pagination?.nextPage) {
|
|
67
104
|
onEndReachedCalledDuringMomentum.current = true;
|
|
68
|
-
|
|
105
|
+
loadMore(pagination.nextPage);
|
|
69
106
|
}
|
|
70
|
-
}, [
|
|
107
|
+
}, [pagination, loadMore]);
|
|
108
|
+
const handleMomentumScrollBegin = useCallback(() => {
|
|
109
|
+
onEndReachedCalledDuringMomentum.current = false;
|
|
110
|
+
}, []);
|
|
111
|
+
|
|
112
|
+
// Render Functions
|
|
71
113
|
const renderItem = useCallback(({
|
|
72
114
|
item,
|
|
73
115
|
index
|
|
74
116
|
}) => {
|
|
117
|
+
// Handle ads
|
|
118
|
+
if ('type' in item && item.type === 'ads') {
|
|
119
|
+
const adItem = item;
|
|
120
|
+
return /*#__PURE__*/_jsx(View, {
|
|
121
|
+
style: [styles.item, itemStyle],
|
|
122
|
+
children: /*#__PURE__*/_jsx(AdsPoster, {
|
|
123
|
+
ad: adItem,
|
|
124
|
+
theme: appliedTheme,
|
|
125
|
+
isLoading: isLoading,
|
|
126
|
+
containerStyle: {
|
|
127
|
+
width: itemWidth,
|
|
128
|
+
height: itemHeight
|
|
129
|
+
},
|
|
130
|
+
imageStyle: styles.image,
|
|
131
|
+
onPress: () => handleItemPress(adItem),
|
|
132
|
+
borderRadius: borderRadius,
|
|
133
|
+
onDisplayAds: onDisplayAds,
|
|
134
|
+
screenDimensions: screenDimensions,
|
|
135
|
+
viewportOffsets: viewportOffsets
|
|
136
|
+
})
|
|
137
|
+
}, `ad-${adItem.tracking?.impression || index}`);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// Handle content items
|
|
141
|
+
const contentItem = item;
|
|
142
|
+
const isSkeleton = contentItem._id?.startsWith?.('pagination-skeleton') ?? false;
|
|
75
143
|
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
76
144
|
style: [styles.item, itemStyle],
|
|
77
|
-
|
|
78
|
-
|
|
145
|
+
activeOpacity: ITEM_ACTIVE_OPACITY,
|
|
146
|
+
onPress: () => {
|
|
147
|
+
if (!isSkeleton && !isLoading) {
|
|
148
|
+
handleItemPress(contentItem);
|
|
149
|
+
}
|
|
150
|
+
},
|
|
79
151
|
children: renderItemImage ? renderItemImage({
|
|
80
152
|
item,
|
|
81
153
|
index
|
|
82
154
|
}) : /*#__PURE__*/_jsx(CardPoster, {
|
|
83
|
-
|
|
84
|
-
|
|
155
|
+
posterUri: contentItem.poster,
|
|
156
|
+
content_offering_type: contentItem.content_offering_type,
|
|
85
157
|
theme: appliedTheme,
|
|
86
158
|
borderRadius: borderRadius,
|
|
87
159
|
posterWrapperStyle: styles.image,
|
|
88
160
|
resizeMode: FastImage.resizeMode.cover,
|
|
89
|
-
isLoading: isLoading
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
}, [styles.item, styles.image, itemStyle, renderItemImage, appliedTheme, borderRadius, isLoading, handleItemPress]);
|
|
93
|
-
const renderSkeletonItem = ({
|
|
161
|
+
isLoading: isSkeleton || isLoading
|
|
162
|
+
})
|
|
163
|
+
}, contentItem._id);
|
|
164
|
+
}, [styles.item, styles.image, itemStyle, renderItemImage, appliedTheme, borderRadius, isLoading, itemWidth, itemHeight, onDisplayAds, screenDimensions, viewportOffsets, handleItemPress]);
|
|
165
|
+
const renderSkeletonItem = useCallback(({
|
|
94
166
|
index
|
|
95
167
|
}) => /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
96
168
|
highlightColor: appliedTheme.colors.skeletonHighlightColor,
|
|
@@ -99,32 +171,39 @@ const MovieCard = ({
|
|
|
99
171
|
width: itemWidth,
|
|
100
172
|
height: itemHeight,
|
|
101
173
|
borderRadius: borderRadius,
|
|
102
|
-
marginLeft: index === 0 ?
|
|
103
|
-
marginRight:
|
|
174
|
+
marginLeft: index === 0 ? SKELETON_ITEM_MARGIN : 0,
|
|
175
|
+
marginRight: SKELETON_ITEM_MARGIN
|
|
104
176
|
})
|
|
105
|
-
}, `skeleton-${index}`);
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
177
|
+
}, `skeleton-${index}`), [appliedTheme, itemWidth, itemHeight, borderRadius]);
|
|
178
|
+
const keyExtractor = useCallback((item, index) => {
|
|
179
|
+
if ('type' in item && item.type === 'ads') {
|
|
180
|
+
return `ad-${item.tracking?.impression || index}`;
|
|
181
|
+
}
|
|
182
|
+
return item._id || `item-${index}`;
|
|
183
|
+
}, []);
|
|
184
|
+
|
|
185
|
+
// Early Returns
|
|
186
|
+
if (!externalData) return null;
|
|
187
|
+
if (!isLoading && listData.length === 0 && !isEmpty) return null;
|
|
188
|
+
|
|
189
|
+
// Loading State
|
|
110
190
|
if (isLoading) {
|
|
111
191
|
return /*#__PURE__*/_jsxs(View, {
|
|
112
192
|
style: [styles.root, containerStyle],
|
|
113
|
-
testID: `movie-card-skeleton-${section_id}`,
|
|
114
193
|
children: [/*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
115
194
|
highlightColor: appliedTheme.colors.skeletonHighlightColor,
|
|
116
195
|
backgroundColor: appliedTheme.colors.skeletonBaseColor,
|
|
117
196
|
children: /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
118
|
-
width:
|
|
119
|
-
height:
|
|
120
|
-
borderRadius:
|
|
121
|
-
marginLeft:
|
|
197
|
+
width: SKELETON_TITLE_WIDTH,
|
|
198
|
+
height: SKELETON_TITLE_HEIGHT,
|
|
199
|
+
borderRadius: SKELETON_TITLE_BORDER_RADIUS,
|
|
200
|
+
marginLeft: SKELETON_ITEM_MARGIN,
|
|
122
201
|
marginBottom: verticalScale(6)
|
|
123
202
|
})
|
|
124
203
|
}), /*#__PURE__*/_jsx(FlatList, {
|
|
125
204
|
data: Array.from({
|
|
126
205
|
length: skeletonCount
|
|
127
|
-
}
|
|
206
|
+
}),
|
|
128
207
|
horizontal: true,
|
|
129
208
|
keyExtractor: (_, index) => `skeleton-${index}`,
|
|
130
209
|
renderItem: renderSkeletonItem,
|
|
@@ -133,11 +212,14 @@ const MovieCard = ({
|
|
|
133
212
|
})]
|
|
134
213
|
});
|
|
135
214
|
}
|
|
215
|
+
|
|
216
|
+
// Main Render
|
|
136
217
|
return /*#__PURE__*/_jsxs(View, {
|
|
218
|
+
ref: containerRef,
|
|
137
219
|
style: [styles.root, containerStyle],
|
|
138
|
-
testID: `movie-card-${section_id}`,
|
|
139
220
|
accessibilityLabel: accessibilityLabel || `Movie section: ${title}`,
|
|
140
|
-
accessibilityHint: accessibilityHint || 'Scroll to view
|
|
221
|
+
accessibilityHint: accessibilityHint || 'Scroll to view items',
|
|
222
|
+
testID: `movie-card-${section_id}`,
|
|
141
223
|
children: [/*#__PURE__*/_jsx(NavigateToMore, {
|
|
142
224
|
title: title,
|
|
143
225
|
onPress: handlePressMore,
|
|
@@ -151,27 +233,23 @@ const MovieCard = ({
|
|
|
151
233
|
}
|
|
152
234
|
}), /*#__PURE__*/_jsx(FlatList, {
|
|
153
235
|
ref: flatListRef,
|
|
154
|
-
data:
|
|
236
|
+
data: listData,
|
|
155
237
|
horizontal: true,
|
|
156
|
-
keyExtractor:
|
|
238
|
+
keyExtractor: keyExtractor,
|
|
157
239
|
renderItem: renderItem,
|
|
158
240
|
showsHorizontalScrollIndicator: false,
|
|
159
241
|
contentContainerStyle: styles.listContent,
|
|
160
|
-
initialNumToRender: 5,
|
|
161
242
|
onEndReached: handleEndReached,
|
|
162
|
-
onEndReachedThreshold:
|
|
163
|
-
|
|
164
|
-
onEndReachedCalledDuringMomentum.current = false;
|
|
165
|
-
},
|
|
166
|
-
onMomentumScrollBegin: () => {
|
|
167
|
-
onEndReachedCalledDuringMomentum.current = false;
|
|
168
|
-
},
|
|
243
|
+
onEndReachedThreshold: END_REACHED_THRESHOLD,
|
|
244
|
+
onMomentumScrollBegin: handleMomentumScrollBegin,
|
|
169
245
|
ListFooterComponent: isPaginating ? renderSkeletonItem({
|
|
170
246
|
index: 0
|
|
171
247
|
}) : null
|
|
172
248
|
})]
|
|
173
249
|
});
|
|
174
250
|
};
|
|
251
|
+
|
|
252
|
+
// Styles
|
|
175
253
|
const getStyles = (theme, width, height, radius) => StyleSheet.create({
|
|
176
254
|
root: {
|
|
177
255
|
marginVertical: verticalScale(6)
|
|
@@ -185,9 +263,6 @@ const getStyles = (theme, width, height, radius) => StyleSheet.create({
|
|
|
185
263
|
borderRadius: radius,
|
|
186
264
|
backgroundColor: theme.colors.surfaceVariant
|
|
187
265
|
},
|
|
188
|
-
imageWrapper: {
|
|
189
|
-
position: 'relative'
|
|
190
|
-
},
|
|
191
266
|
navigateToMoreContainer: {
|
|
192
267
|
paddingHorizontal: moderateScale(10),
|
|
193
268
|
marginBottom: verticalScale(8)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","memo","useCallback","useMemo","useRef","View","FlatList","TouchableOpacity","StyleSheet","SkeletonPlaceholder","FastImage","moderateScale","verticalScale","useInternalTheme","CardPoster","NavigateToMore","
|
|
1
|
+
{"version":3,"names":["React","memo","useCallback","useMemo","useRef","View","FlatList","TouchableOpacity","StyleSheet","SkeletonPlaceholder","FastImage","moderateScale","verticalScale","RFValue","useInternalTheme","CardPoster","NavigateToMore","AdsPoster","useCards","jsx","_jsx","jsxs","_jsxs","DEFAULT_ITEM_WIDTH","DEFAULT_ITEM_HEIGHT","DEFAULT_BORDER_RADIUS","DEFAULT_SKELETON_COUNT","END_REACHED_THRESHOLD","SKELETON_TITLE_WIDTH","SKELETON_TITLE_HEIGHT","SKELETON_TITLE_BORDER_RADIUS","SKELETON_ITEM_MARGIN","ITEM_ACTIVE_OPACITY","MovieCard","title","section_id","type","data","externalData","moreFetchData","onPressItem","onPressMore","renderItemImage","itemWidth","itemHeight","borderRadius","skeletonCount","paginationSkeletonCount","containerStyle","titleStyle","itemStyle","isLoading","theme","accessibilityLabel","accessibilityHint","onDisplayAds","screenDimensions","viewportOffsets","flatListRef","containerRef","onEndReachedCalledDuringMomentum","appliedTheme","styles","getStyles","listData","pagination","loadMore","isEmpty","isPaging","isPaginating","sectionId","fetchMore","loading","initialSkeleton","pagingSkeleton","adsRender","handleItemPress","item","handlePressMore","name","handleEndReached","current","hasNextPage","nextPage","handleMomentumScrollBegin","renderItem","index","adItem","style","children","ad","width","height","imageStyle","image","onPress","tracking","impression","contentItem","isSkeleton","_id","startsWith","activeOpacity","posterUri","poster","content_offering_type","posterWrapperStyle","resizeMode","cover","renderSkeletonItem","highlightColor","colors","skeletonHighlightColor","backgroundColor","skeletonBaseColor","Item","marginLeft","marginRight","keyExtractor","length","root","marginBottom","Array","from","horizontal","_","showsHorizontalScrollIndicator","contentContainerStyle","listContent","ref","testID","color","textPrimary","navigateToMoreContainer","showAllProps","iconColor","onEndReached","onEndReachedThreshold","onMomentumScrollBegin","ListFooterComponent","radius","create","marginVertical","surfaceVariant","paddingHorizontal","fontSize","fontWeight","paddingRight"],"sourceRoot":"../../../../../../src","sources":["components/Content/Card/Styles/One.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,O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