@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
|
@@ -15,18 +15,45 @@ import { debounce } from 'lodash';
|
|
|
15
15
|
import { useInternalTheme } from "../../../../theme/hook/useInternalTheme.js";
|
|
16
16
|
import CardPoster from "../components/CardPoster.js";
|
|
17
17
|
import NavigateToMore from "../components/NavigateToMore.js";
|
|
18
|
-
import {
|
|
18
|
+
import { AdsPoster } from "../components/index.js";
|
|
19
|
+
import { useSkeletonItems } from "../../../../hooks/useSkeletonItems.js";
|
|
19
20
|
import { RFValue } from 'react-native-responsive-fontsize';
|
|
21
|
+
import { useCards } from "../../../../hooks/index.js";
|
|
22
|
+
|
|
23
|
+
// Constants
|
|
20
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
25
|
const {
|
|
22
26
|
width,
|
|
23
27
|
height
|
|
24
28
|
} = Dimensions.get('window');
|
|
25
|
-
const
|
|
26
|
-
const
|
|
29
|
+
const ITEM_WIDTH_RATIO = 0.42;
|
|
30
|
+
const ITEM_HEIGHT_RATIO = 0.28;
|
|
31
|
+
const DEFAULT_ITEM_WIDTH = width * ITEM_WIDTH_RATIO;
|
|
32
|
+
const DEFAULT_ITEM_HEIGHT = height * ITEM_HEIGHT_RATIO;
|
|
27
33
|
const DEFAULT_BORDER_RADIUS = moderateScale(10);
|
|
34
|
+
const DEFAULT_SKELETON_COUNT = 5;
|
|
35
|
+
const DEBOUNCE_DELAY = 300;
|
|
36
|
+
const ITEM_ACTIVE_OPACITY = 0.8;
|
|
37
|
+
const CAROUSEL_FIRST_ITEM = 1;
|
|
38
|
+
const CAROUSEL_INACTIVE_OPACITY = 0.6;
|
|
39
|
+
const CAROUSEL_INACTIVE_SCALE = 0.9;
|
|
40
|
+
const PAGINATION_TRIGGER_OFFSET = 2;
|
|
41
|
+
const SKELETON_TITLE_WIDTH = moderateScale(100);
|
|
42
|
+
const SKELETON_TITLE_HEIGHT = verticalScale(14);
|
|
43
|
+
const SKELETON_TITLE_BORDER_RADIUS = moderateScale(4);
|
|
44
|
+
const SKELETON_TITLE_MARGIN_LEFT = moderateScale(12);
|
|
45
|
+
const SKELETON_TITLE_MARGIN_BOTTOM = verticalScale(6);
|
|
46
|
+
const SKELETON_ITEM_MARGIN_RIGHT = moderateScale(12);
|
|
47
|
+
const DEFAULT_SKELETON_BACKGROUND_COLOR = '#222';
|
|
48
|
+
const SHADOW_ELEVATION = 0;
|
|
49
|
+
const SHADOW_OFFSET = {
|
|
50
|
+
width: 0,
|
|
51
|
+
height: 0
|
|
52
|
+
};
|
|
53
|
+
const SHADOW_OPACITY = 0;
|
|
54
|
+
const SHADOW_RADIUS = 0;
|
|
28
55
|
|
|
29
|
-
// Static
|
|
56
|
+
// Static Styles
|
|
30
57
|
const staticStyles = StyleSheet.create({
|
|
31
58
|
root: {
|
|
32
59
|
marginVertical: verticalScale(6)
|
|
@@ -42,11 +69,15 @@ const staticStyles = StyleSheet.create({
|
|
|
42
69
|
marginVertical: moderateScale(5)
|
|
43
70
|
}
|
|
44
71
|
});
|
|
72
|
+
|
|
73
|
+
// Types
|
|
74
|
+
|
|
75
|
+
// Main Component
|
|
45
76
|
const RotateCarousel = ({
|
|
46
77
|
title,
|
|
47
78
|
section_id,
|
|
48
79
|
type,
|
|
49
|
-
data:
|
|
80
|
+
data: externalData,
|
|
50
81
|
moreFetchData,
|
|
51
82
|
onPressMore,
|
|
52
83
|
onPressItem,
|
|
@@ -54,72 +85,80 @@ const RotateCarousel = ({
|
|
|
54
85
|
itemWidth = DEFAULT_ITEM_WIDTH,
|
|
55
86
|
itemHeight = DEFAULT_ITEM_HEIGHT,
|
|
56
87
|
borderRadius = DEFAULT_BORDER_RADIUS,
|
|
57
|
-
skeletonCount =
|
|
88
|
+
skeletonCount = DEFAULT_SKELETON_COUNT,
|
|
58
89
|
containerStyle,
|
|
59
90
|
titleStyle,
|
|
91
|
+
paginationSkeletonCount,
|
|
60
92
|
itemStyle,
|
|
61
93
|
isLoading = false,
|
|
62
|
-
theme
|
|
94
|
+
theme,
|
|
95
|
+
onDisplayAds,
|
|
96
|
+
screenDimensions,
|
|
97
|
+
viewportOffsets
|
|
63
98
|
}) => {
|
|
99
|
+
// Refs
|
|
100
|
+
const carouselRef = useRef(null);
|
|
101
|
+
|
|
102
|
+
// Theme
|
|
64
103
|
const {
|
|
65
104
|
theme: appliedTheme
|
|
66
105
|
} = useInternalTheme(theme);
|
|
67
|
-
const carouselRef = useRef(null);
|
|
68
106
|
|
|
69
|
-
//
|
|
107
|
+
// Styles
|
|
70
108
|
const styles = useMemo(() => StyleSheet.create({
|
|
71
109
|
item: {
|
|
72
110
|
width: itemWidth,
|
|
73
111
|
height: itemHeight,
|
|
74
112
|
borderRadius,
|
|
75
113
|
overflow: 'hidden',
|
|
76
|
-
elevation:
|
|
114
|
+
elevation: SHADOW_ELEVATION,
|
|
77
115
|
shadowColor: 'transparent',
|
|
78
|
-
shadowOffset:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
},
|
|
82
|
-
shadowOpacity: 0,
|
|
83
|
-
shadowRadius: 0
|
|
116
|
+
shadowOffset: SHADOW_OFFSET,
|
|
117
|
+
shadowOpacity: SHADOW_OPACITY,
|
|
118
|
+
shadowRadius: SHADOW_RADIUS
|
|
84
119
|
},
|
|
85
120
|
image: {
|
|
86
121
|
width: '100%',
|
|
87
122
|
height: '100%',
|
|
88
|
-
backgroundColor: appliedTheme.colors.skeletonBaseColor ??
|
|
123
|
+
backgroundColor: appliedTheme.colors.skeletonBaseColor ?? DEFAULT_SKELETON_BACKGROUND_COLOR
|
|
89
124
|
},
|
|
90
125
|
skeleton: {
|
|
91
126
|
width: itemWidth,
|
|
92
127
|
height: itemHeight,
|
|
93
128
|
borderRadius,
|
|
94
129
|
overflow: 'hidden',
|
|
95
|
-
marginRight:
|
|
130
|
+
marginRight: SKELETON_ITEM_MARGIN_RIGHT
|
|
96
131
|
}
|
|
97
132
|
}), [appliedTheme.colors.skeletonBaseColor, itemWidth, itemHeight, borderRadius]);
|
|
133
|
+
|
|
134
|
+
// Data Management
|
|
98
135
|
const {
|
|
99
|
-
|
|
100
|
-
loading: isPaginating,
|
|
136
|
+
listData,
|
|
101
137
|
pagination,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
|
|
119
|
-
|
|
138
|
+
loadMore,
|
|
139
|
+
isEmpty,
|
|
140
|
+
isPaging: isPaginating
|
|
141
|
+
} = useCards({
|
|
142
|
+
sectionId: section_id,
|
|
143
|
+
data: externalData,
|
|
144
|
+
fetchMore: moreFetchData,
|
|
145
|
+
loading: isLoading,
|
|
146
|
+
initialSkeleton: skeletonCount,
|
|
147
|
+
pagingSkeleton: paginationSkeletonCount,
|
|
148
|
+
adsRender: true
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
// Skeleton Data
|
|
152
|
+
const skeletonCountMemo = useMemo(() => isLoading ? skeletonCount : isPaginating ? 1 : 0, [isLoading, isPaginating, skeletonCount]);
|
|
153
|
+
const skeletonItems = useSkeletonItems(skeletonCountMemo);
|
|
154
|
+
const finalData = useMemo(() => isLoading ? skeletonItems : skeletonItems.length > 0 ? [...listData, ...skeletonItems] : listData, [isLoading, listData, skeletonItems]);
|
|
155
|
+
|
|
156
|
+
// Debounced Functions
|
|
120
157
|
const debouncedLoadMore = useMemo(() => debounce(nextPage => {
|
|
121
|
-
return
|
|
122
|
-
},
|
|
158
|
+
return loadMore(nextPage);
|
|
159
|
+
}, DEBOUNCE_DELAY), [loadMore]);
|
|
160
|
+
|
|
161
|
+
// Event Handlers
|
|
123
162
|
const handleItemPress = useCallback(item => {
|
|
124
163
|
onPressItem?.(item);
|
|
125
164
|
}, [onPressItem]);
|
|
@@ -130,10 +169,13 @@ const RotateCarousel = ({
|
|
|
130
169
|
type
|
|
131
170
|
});
|
|
132
171
|
}, [onPressMore, section_id, title, type]);
|
|
172
|
+
|
|
173
|
+
// Render Functions
|
|
133
174
|
const renderItem = useCallback(({
|
|
134
175
|
item,
|
|
135
176
|
index
|
|
136
177
|
}) => {
|
|
178
|
+
// Handle skeleton items
|
|
137
179
|
if ('isSkeleton' in item) {
|
|
138
180
|
return /*#__PURE__*/_jsx(View, {
|
|
139
181
|
style: styles.skeleton,
|
|
@@ -148,29 +190,70 @@ const RotateCarousel = ({
|
|
|
148
190
|
})
|
|
149
191
|
}, item._id);
|
|
150
192
|
}
|
|
193
|
+
|
|
194
|
+
// Handle ads
|
|
195
|
+
if ('type' in item && item.type === 'ads') {
|
|
196
|
+
const adItem = item;
|
|
197
|
+
return /*#__PURE__*/_jsx(View, {
|
|
198
|
+
style: [styles.item, itemStyle],
|
|
199
|
+
children: /*#__PURE__*/_jsx(AdsPoster, {
|
|
200
|
+
ad: adItem,
|
|
201
|
+
theme: appliedTheme,
|
|
202
|
+
isLoading: isLoading,
|
|
203
|
+
containerStyle: {
|
|
204
|
+
width: itemWidth,
|
|
205
|
+
height: itemHeight
|
|
206
|
+
},
|
|
207
|
+
imageStyle: styles.image,
|
|
208
|
+
borderRadius: borderRadius,
|
|
209
|
+
onDisplayAds: onDisplayAds,
|
|
210
|
+
screenDimensions: screenDimensions,
|
|
211
|
+
viewportOffsets: viewportOffsets
|
|
212
|
+
})
|
|
213
|
+
}, `ad-${adItem.tracking?.impression || index}`);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// Handle content items
|
|
217
|
+
const contentItem = item;
|
|
218
|
+
const isSkeleton = contentItem._id?.startsWith?.('pagination-skeleton') ?? false;
|
|
151
219
|
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
152
|
-
activeOpacity:
|
|
220
|
+
activeOpacity: ITEM_ACTIVE_OPACITY,
|
|
153
221
|
style: [styles.item, itemStyle],
|
|
154
|
-
disabled: !
|
|
155
|
-
onPress: () =>
|
|
222
|
+
disabled: !contentItem || !onPressItem || isLoading || isSkeleton,
|
|
223
|
+
onPress: () => {
|
|
224
|
+
if (!isSkeleton && !isLoading) {
|
|
225
|
+
handleItemPress(contentItem);
|
|
226
|
+
}
|
|
227
|
+
},
|
|
156
228
|
children: renderItemImage ? renderItemImage({
|
|
157
|
-
item,
|
|
229
|
+
item: contentItem,
|
|
158
230
|
index
|
|
159
231
|
}) : /*#__PURE__*/_jsx(CardPoster, {
|
|
160
|
-
content_offering_type:
|
|
161
|
-
posterUri:
|
|
232
|
+
content_offering_type: contentItem.content_offering_type,
|
|
233
|
+
posterUri: contentItem.poster,
|
|
162
234
|
theme: appliedTheme,
|
|
163
235
|
borderRadius: borderRadius,
|
|
164
236
|
posterWrapperStyle: styles.image,
|
|
165
237
|
resizeMode: FastImage.resizeMode.cover,
|
|
166
|
-
isLoading: isLoading
|
|
238
|
+
isLoading: isSkeleton || isLoading
|
|
167
239
|
})
|
|
168
|
-
},
|
|
169
|
-
}, [styles.item, styles.image, styles.skeleton, itemStyle, onPressItem, isLoading, renderItemImage, appliedTheme, borderRadius, itemWidth, itemHeight, handleItemPress]);
|
|
170
|
-
|
|
240
|
+
}, contentItem._id || `item-${index}`);
|
|
241
|
+
}, [styles.item, styles.image, styles.skeleton, itemStyle, onPressItem, isLoading, renderItemImage, appliedTheme, borderRadius, itemWidth, itemHeight, handleItemPress, onDisplayAds, screenDimensions, viewportOffsets]);
|
|
242
|
+
const handleSnapToItem = useCallback(index => {
|
|
243
|
+
if (isLoading || !pagination?.hasNextPage || !pagination?.nextPage) {
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
if (index >= finalData.length - PAGINATION_TRIGGER_OFFSET) {
|
|
247
|
+
debouncedLoadMore(pagination.nextPage);
|
|
248
|
+
}
|
|
249
|
+
}, [isLoading, pagination, finalData.length, debouncedLoadMore]);
|
|
250
|
+
|
|
251
|
+
// Early Returns
|
|
252
|
+
if (!externalData || !isLoading && listData.length === 0 || !isLoading && isEmpty) {
|
|
171
253
|
return null;
|
|
172
254
|
}
|
|
173
|
-
|
|
255
|
+
|
|
256
|
+
// Main Render
|
|
174
257
|
return /*#__PURE__*/_jsxs(View, {
|
|
175
258
|
style: [staticStyles.root, containerStyle],
|
|
176
259
|
testID: `movie-card-${section_id}`,
|
|
@@ -178,11 +261,11 @@ const RotateCarousel = ({
|
|
|
178
261
|
highlightColor: appliedTheme.colors.skeletonHighlightColor,
|
|
179
262
|
backgroundColor: appliedTheme.colors.skeletonBaseColor,
|
|
180
263
|
children: /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
181
|
-
width:
|
|
182
|
-
height:
|
|
183
|
-
borderRadius:
|
|
184
|
-
marginLeft:
|
|
185
|
-
marginBottom:
|
|
264
|
+
width: SKELETON_TITLE_WIDTH,
|
|
265
|
+
height: SKELETON_TITLE_HEIGHT,
|
|
266
|
+
borderRadius: SKELETON_TITLE_BORDER_RADIUS,
|
|
267
|
+
marginLeft: SKELETON_TITLE_MARGIN_LEFT,
|
|
268
|
+
marginBottom: SKELETON_TITLE_MARGIN_BOTTOM
|
|
186
269
|
})
|
|
187
270
|
}) : /*#__PURE__*/_jsx(NavigateToMore, {
|
|
188
271
|
title: title,
|
|
@@ -200,17 +283,12 @@ const RotateCarousel = ({
|
|
|
200
283
|
data: finalData,
|
|
201
284
|
vertical: false,
|
|
202
285
|
renderItem: renderItem,
|
|
203
|
-
firstItem:
|
|
204
|
-
inactiveSlideOpacity:
|
|
205
|
-
inactiveSlideScale:
|
|
286
|
+
firstItem: CAROUSEL_FIRST_ITEM,
|
|
287
|
+
inactiveSlideOpacity: CAROUSEL_INACTIVE_OPACITY,
|
|
288
|
+
inactiveSlideScale: CAROUSEL_INACTIVE_SCALE,
|
|
206
289
|
sliderWidth: width,
|
|
207
290
|
itemWidth: itemWidth,
|
|
208
|
-
onSnapToItem:
|
|
209
|
-
if (isLoading || !pagination?.hasNextPage || !pagination?.nextPage) return;
|
|
210
|
-
if (index >= finalData.length - 2) {
|
|
211
|
-
debouncedLoadMore(pagination.nextPage);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
291
|
+
onSnapToItem: handleSnapToItem
|
|
214
292
|
})]
|
|
215
293
|
});
|
|
216
294
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","memo","useCallback","useMemo","useRef","View","StyleSheet","Dimensions","TouchableOpacity","SkeletonPlaceholder","FastImage","Carousel","moderateScale","verticalScale","debounce","useInternalTheme","CardPoster","NavigateToMore","usePaginatedSection","RFValue","jsx","_jsx","jsxs","_jsxs","width","height","get","DEFAULT_ITEM_WIDTH","DEFAULT_ITEM_HEIGHT","DEFAULT_BORDER_RADIUS","staticStyles","create","root","marginVertical","navigateToMoreContainer","paddingHorizontal","marginBottom","title","fontSize","fontWeight","marginHorizontal","RotateCarousel","section_id","type","data","initialData","moreFetchData","onPressMore","onPressItem","renderItemImage","itemWidth","itemHeight","borderRadius","skeletonCount","containerStyle","titleStyle","itemStyle","isLoading","theme","appliedTheme","carouselRef","styles","item","overflow","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","image","backgroundColor","colors","skeletonBaseColor","skeleton","marginRight","loading","isPaginating","pagination","loadMoreData","skeletonItems","count","Array","from","length","_","i","_id","isSkeleton","finalData","debouncedLoadMore","nextPage","handleItemPress","handlePressMore","name","renderItem","index","style","children","highlightColor","skeletonHighlightColor","Item","activeOpacity","disabled","onPress","content_offering_type","posterUri","poster","posterWrapperStyle","resizeMode","cover","testID","marginLeft","color","textPrimary","showAllProps","iconColor","ref","vertical","firstItem","inactiveSlideOpacity","inactiveSlideScale","sliderWidth","onSnapToItem","hasNextPage"],"sourceRoot":"../../../../../../src","sources":["components/Content/Card/Styles/RotateInOut.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AACjE,SACEC,IAAI,EACJC,UAAU,EACVC,UAAU,EACVC,gBAAgB,QAIX,cAAc;AACrB,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,OAAOC,QAAQ,MAAM,4BAA4B;AACjD,SAASC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I,uBAAwB;MACrDgF,YAAY,EAAE;QAAEC,SAAS,EAAExD,YAAY,CAACY,MAAM,CAAC0C,WAAW;QAAEvD;MAAM;IAAE,CACrE,CACF,eACDrC,IAAA,CAACV,QAAQ;MACPyG,GAAG,EAAExD,WAAY;MACjBhB,IAAI,EAAE4C,SAAiB;MACvB6B,QAAQ,EAAE,KAAM;MAChBvB,UAAU,EAAEA,UAAW;MACvBwB,SAAS,EAAE,CAAE;MACbC,oBAAoB,EAAE,GAAI;MAC1BC,kBAAkB,EAAE,GAAI;MACxBC,WAAW,EAAEjG,KAAM;MACnB0B,SAAS,EAAEA,SAAU;MACrBwE,YAAY,EAAG3B,KAAK,IAAK;QACvB,IAAItC,SAAS,IAAI,CAACoB,UAAU,EAAE8C,WAAW,IAAI,CAAC9C,UAAU,EAAEa,QAAQ,EAChE;QACF,IAAIK,KAAK,IAAIP,SAAS,CAACL,MAAM,GAAG,CAAC,EAAE;UACjCM,iBAAiB,CAACZ,UAAU,CAACa,QAAQ,CAAC;QACxC;MACF;IAAE,CACH,CAAC;EAAA,CACE,CAAC;AAEX,CAAC;AAED,4BAAezF,IAAI,CAACwC,cAAc,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","memo","useCallback","useMemo","useRef","View","StyleSheet","Dimensions","TouchableOpacity","SkeletonPlaceholder","FastImage","Carousel","moderateScale","verticalScale","debounce","useInternalTheme","CardPoster","NavigateToMore","AdsPoster","useSkeletonItems","RFValue","useCards","jsx","_jsx","jsxs","_jsxs","width","height","get","ITEM_WIDTH_RATIO","ITEM_HEIGHT_RATIO","DEFAULT_ITEM_WIDTH","DEFAULT_ITEM_HEIGHT","DEFAULT_BORDER_RADIUS","DEFAULT_SKELETON_COUNT","DEBOUNCE_DELAY","ITEM_ACTIVE_OPACITY","CAROUSEL_FIRST_ITEM","CAROUSEL_INACTIVE_OPACITY","CAROUSEL_INACTIVE_SCALE","PAGINATION_TRIGGER_OFFSET","SKELETON_TITLE_WIDTH","SKELETON_TITLE_HEIGHT","SKELETON_TITLE_BORDER_RADIUS","SKELETON_TITLE_MARGIN_LEFT","SKELETON_TITLE_MARGIN_BOTTOM","SKELETON_ITEM_MARGIN_RIGHT","DEFAULT_SKELETON_BACKGROUND_COLOR","SHADOW_ELEVATION","SHADOW_OFFSET","SHADOW_OPACITY","SHADOW_RADIUS","staticStyles","create","root","marginVertical","navigateToMoreContainer","paddingHorizontal","marginBottom","title","fontSize","fontWeight","marginHorizontal","RotateCarousel","section_id","type","data","externalData","moreFetchData","onPressMore","onPressItem","renderItemImage","itemWidth","itemHeight","borderRadius","skeletonCount","containerStyle","titleStyle","paginationSkeletonCount","itemStyle","isLoading","theme","onDisplayAds","screenDimensions","viewportOffsets","carouselRef","appliedTheme","styles","item","overflow","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","image","backgroundColor","colors","skeletonBaseColor","skeleton","marginRight","listData","pagination","loadMore","isEmpty","isPaging","isPaginating","sectionId","fetchMore","loading","initialSkeleton","pagingSkeleton","adsRender","skeletonCountMemo","skeletonItems","finalData","length","debouncedLoadMore","nextPage","handleItemPress","handlePressMore","name","renderItem","index","style","children","highlightColor","skeletonHighlightColor","Item","_id","adItem","ad","imageStyle","tracking","impression","contentItem","isSkeleton","startsWith","activeOpacity","disabled","onPress","content_offering_type","posterUri","poster","posterWrapperStyle","resizeMode","cover","handleSnapToItem","hasNextPage","testID","marginLeft","color","textPrimary","showAllProps","iconColor","ref","vertical","firstItem","inactiveSlideOpacity","inactiveSlideScale","sliderWidth","onSnapToItem"],"sourceRoot":"../../../../../../src","sources":["components/Content/Card/Styles/RotateInOut.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AACjE,SACEC,IAAI,EACJC,UAAU,EACVC,UAAU,EACVC,gBAAgB,QAIX,cAAc;AACrB,OAAOC,mBAAmB,MAAM,mCAAmC;AACn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