@zezosoft/zezo-ott-react-native-ui-kit 1.0.2 → 1.0.4
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/LICENSE +0 -0
- package/README.md +6 -0
- package/lib/module/assets/animations/135037-payment-processing-error.json +1347 -1
- package/lib/module/assets/animations/7227-vui-animation.json +3377 -1
- package/lib/module/assets/animations/heart.json +788 -0
- package/lib/module/assets/animations/succesfull-payment.json +2379 -1
- package/lib/module/assets/animations/voice-icon.json +542 -1
- package/lib/module/components/Account/Account.js +6 -6
- package/lib/module/components/Account/Account.js.map +1 -1
- package/lib/module/components/Account/index.js +1 -1
- package/lib/module/components/Account/index.js.map +1 -1
- package/lib/module/components/Alert/UAAlert.js +138 -0
- package/lib/module/components/Alert/UAAlert.js.map +1 -0
- package/lib/module/components/Alert/index.js +4 -0
- package/lib/module/components/Alert/index.js.map +1 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +9 -9
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +10 -10
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js +10 -10
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -1
- package/lib/module/components/Auth/OTP/OTP.js +9 -9
- package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
- package/lib/module/components/Auth/QrLogin/QrLogin.js +267 -0
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +178 -0
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/SignUp/SignUp.js +10 -10
- package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js +6 -6
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +1 -6
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
- package/lib/module/components/Auth/index.js +9 -7
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BlogView/BlogView.js +4 -10
- package/lib/module/components/BlogView/BlogView.js.map +1 -1
- package/lib/module/components/BlogView/index.js +1 -1
- package/lib/module/components/BlogView/index.js.map +1 -1
- package/lib/module/components/Button/BackBtn.js +1 -1
- package/lib/module/components/Button/BackBtn.js.map +1 -1
- package/lib/module/components/Button/MenuBtn.js +1 -1
- package/lib/module/components/Button/MenuBtn.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +2 -2
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Button/TextButton.js +2 -2
- package/lib/module/components/Button/TextButton.js.map +1 -1
- package/lib/module/components/Button/index.js +3 -3
- package/lib/module/components/Button/index.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +2 -2
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +6 -6
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +3 -3
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +4 -4
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +2 -2
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +4 -4
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +4 -4
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +4 -4
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +4 -4
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +5 -5
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +4 -4
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +5 -5
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +4 -4
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js +1 -10
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/NavigateToMore.js +2 -2
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/NoContentFallback.js +3 -3
- package/lib/module/components/Content/Card/components/NoContentFallback.js.map +1 -1
- package/lib/module/components/Content/Card/components/ShowAllButton.js +1 -1
- package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -1
- package/lib/module/components/Content/Card/components/ThumbnailCard.js +1 -1
- package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -1
- package/lib/module/components/Content/Card/index.js +10 -10
- package/lib/module/components/Content/Card/index.js.map +1 -1
- package/lib/module/components/Content/Content.js +4 -4
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +2 -2
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/ContentView/ContentView.js +8 -9
- package/lib/module/components/ContentView/ContentView.js.map +1 -1
- package/lib/module/components/ContentView/MoreContentList.js +6 -6
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/components/AboutSection.js +2 -2
- package/lib/module/components/ContentView/components/AboutSection.js.map +1 -1
- package/lib/module/components/ContentView/components/CastCard.js +2 -2
- package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
- package/lib/module/components/ContentView/components/HeroBanner.js +5 -5
- package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -1
- package/lib/module/components/ContentView/components/PlayButton.js +0 -1
- package/lib/module/components/ContentView/components/PlayButton.js.map +1 -1
- package/lib/module/components/ContentView/components/Title.js +1 -1
- package/lib/module/components/ContentView/components/Title.js.map +1 -1
- package/lib/module/components/ContentView/components/TrailerButton.js +1 -2
- package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -1
- package/lib/module/components/ContentView/index.js +2 -2
- package/lib/module/components/ContentView/index.js.map +1 -1
- package/lib/module/components/Headers/AppHeader.js +3 -3
- package/lib/module/components/Headers/AppHeader.js.map +1 -1
- package/lib/module/components/Headers/One.js +3 -3
- package/lib/module/components/Headers/One.js.map +1 -1
- package/lib/module/components/Headers/Three.js +2 -2
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/Two.js +6 -7
- package/lib/module/components/Headers/Two.js.map +1 -1
- package/lib/module/components/Headers/index.js +3 -3
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Input/Input.js +3 -3
- package/lib/module/components/Input/Input.js.map +1 -1
- package/lib/module/components/Input/InputOne.js +1 -1
- package/lib/module/components/Input/InputOne.js.map +1 -1
- package/lib/module/components/Input/InputTwo.js +1 -1
- package/lib/module/components/Input/InputTwo.js.map +1 -1
- package/lib/module/components/Input/PhoneNumberInput.js +1 -1
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
- package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -1
- package/lib/module/components/Loader/Loader.js +1 -6
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +2 -2
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js +110 -0
- package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js +216 -0
- package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js +182 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js +203 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +121 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +290 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/types.js +2 -0
- package/lib/module/components/Reels/ReelsSeries/types.js.map +1 -0
- package/lib/module/components/Reels/index.js +11 -0
- package/lib/module/components/Reels/index.js.map +1 -0
- package/lib/module/components/Search/One.js +9 -9
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/RecentSearchesSection.js +1 -1
- package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +3 -3
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/Search/index.js +2 -2
- package/lib/module/components/Search/index.js.map +1 -1
- package/lib/module/components/Settings/AppSettings.js +4 -4
- package/lib/module/components/Settings/AppSettings.js.map +1 -1
- package/lib/module/components/Settings/index.js +1 -1
- package/lib/module/components/Settings/index.js.map +1 -1
- package/lib/module/components/Subscription/SubOne.js +4 -4
- package/lib/module/components/Subscription/SubOne.js.map +1 -1
- package/lib/module/components/Subscription/index.js +1 -1
- package/lib/module/components/Subscription/index.js.map +1 -1
- package/lib/module/components/TabBar/One.js +2 -2
- package/lib/module/components/TabBar/One.js.map +1 -1
- package/lib/module/components/TabBar/Three.js +1 -1
- package/lib/module/components/TabBar/Three.js.map +1 -1
- package/lib/module/components/TabBar/Two.js +2 -2
- package/lib/module/components/TabBar/Two.js.map +1 -1
- package/lib/module/components/TabBar/index.js +3 -3
- package/lib/module/components/TabBar/index.js.map +1 -1
- package/lib/module/components/Text/Text.js +1 -1
- package/lib/module/components/Text/Text.js.map +1 -1
- package/lib/module/components/Text/index.js +1 -1
- package/lib/module/components/Text/index.js.map +1 -1
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js +11 -3
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js +258 -0
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js.map +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js +4 -4
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +5 -5
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/User/components/UserAvatar.js +1 -1
- package/lib/module/components/User/components/UserAvatar.js.map +1 -1
- package/lib/module/components/User/components/UserSection.js +11 -16
- package/lib/module/components/User/components/UserSection.js.map +1 -1
- package/lib/module/components/User/index.js +5 -4
- package/lib/module/components/User/index.js.map +1 -1
- package/lib/module/components/View/View.js.map +1 -1
- package/lib/module/components/View/index.js +1 -1
- package/lib/module/components/View/index.js.map +1 -1
- package/lib/module/components/index.js +20 -18
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
- package/lib/module/components/layout/index.js +1 -1
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/useDebounce.js.map +1 -1
- package/lib/module/hooks/useInitSplashCacheSync.js +7 -7
- package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -1
- package/lib/module/hooks/useKeyboard.js.map +1 -1
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/index.js +3 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/store/RecentSearchesStore.js.map +1 -1
- package/lib/module/store/splashStore.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +24 -18
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/useTheme.js +2 -2
- package/lib/module/theme/hook/useTheme.js.map +1 -1
- package/lib/module/theme/index.js +3 -2
- package/lib/module/theme/index.js.map +1 -1
- package/lib/module/theme/themes.js +2 -13
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/utils/Formater.js +17 -0
- package/lib/module/utils/Formater.js.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/components/Account/Account.d.ts +0 -1
- package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
- package/lib/typescript/src/components/Alert/UAAlert.d.ts +16 -0
- package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -0
- package/lib/typescript/src/components/Alert/index.d.ts +2 -0
- package/lib/typescript/src/components/Alert/index.d.ts.map +1 -0
- 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 +32 -0
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts +15 -0
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +1 -0
- 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 +0 -4
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.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 +2 -1
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
- package/lib/typescript/src/components/BlogView/BlogView.d.ts +0 -4
- package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +1 -1
- 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.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +0 -8
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +1 -2
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/index.d.ts +2 -2
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +1 -2
- 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 +1 -2
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -6
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -2
- 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 +1 -2
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +1 -2
- 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 +1 -2
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/components/Loader/Loader.d.ts +0 -4
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts +12 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts +9 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts +13 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts +18 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +18 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +24 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts +8 -0
- package/lib/typescript/src/components/Reels/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/index.d.ts +2 -2
- package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/One.d.ts +2 -2
- package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Two.d.ts +1 -1
- package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/index.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 +2 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -1
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts +27 -0
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts.map +1 -0
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
- package/lib/typescript/src/components/User/index.d.ts +2 -1
- package/lib/typescript/src/components/User/index.d.ts.map +1 -1
- package/lib/typescript/src/components/View/View.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +2 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts +1 -1
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/store/RecentSearchesStore.d.ts +5 -3
- package/lib/typescript/src/store/RecentSearchesStore.d.ts.map +1 -1
- package/lib/typescript/src/store/splashStore.d.ts +5 -3
- package/lib/typescript/src/store/splashStore.d.ts.map +1 -1
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/index.d.ts +5 -0
- package/lib/typescript/src/theme/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/themes.d.ts +12 -4
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +1 -1
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -1
- package/lib/typescript/src/utils/Formater.d.ts +2 -0
- package/lib/typescript/src/utils/Formater.d.ts.map +1 -0
- package/package.json +175 -70
- package/src/Styles/globalStyles.ts +18 -18
- package/src/assets/animations/135037-payment-processing-error.json +1347 -1
- package/src/assets/animations/7227-vui-animation.json +3377 -1
- package/src/assets/animations/heart.json +788 -0
- package/src/assets/animations/succesfull-payment.json +2379 -1
- package/src/assets/animations/voice-icon.json +542 -1
- package/src/components/Account/Account.tsx +139 -61
- package/src/components/Alert/UAAlert.tsx +168 -0
- package/src/components/Alert/index.ts +1 -0
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +53 -23
- package/src/components/Auth/Login/LoginWithEmail.tsx +62 -32
- package/src/components/Auth/Login/LoginWithPhone.tsx +55 -24
- package/src/components/Auth/OTP/OTP.tsx +77 -32
- package/src/components/Auth/QrLogin/QrLogin.tsx +306 -0
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +213 -0
- package/src/components/Auth/SignUp/SignUp.tsx +67 -32
- package/src/components/Auth/SplashScreen/SplashScreen.tsx +44 -16
- package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +21 -12
- package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +5 -5
- package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +15 -5
- package/src/components/Auth/index.ts +3 -1
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +45 -17
- package/src/components/BlogView/BlogView.tsx +51 -31
- package/src/components/Button/BackBtn.tsx +31 -9
- package/src/components/Button/MenuBtn.tsx +61 -22
- package/src/components/Button/PrimaryBtn.tsx +30 -10
- package/src/components/Button/TextButton.tsx +30 -15
- package/src/components/Button/index.ts +1 -1
- package/src/components/Content/Card/Category/Category.tsx +73 -32
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +102 -44
- package/src/components/Content/Card/Sliders/Styles/One.tsx +89 -38
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +47 -21
- package/src/components/Content/Card/Sliders/index.ts +2 -2
- package/src/components/Content/Card/Styles/Five.tsx +65 -22
- package/src/components/Content/Card/Styles/Four.tsx +73 -23
- package/src/components/Content/Card/Styles/One.tsx +68 -21
- package/src/components/Content/Card/Styles/RotateInOut.tsx +59 -23
- package/src/components/Content/Card/Styles/Six.tsx +57 -19
- package/src/components/Content/Card/Styles/Three.tsx +59 -23
- package/src/components/Content/Card/Styles/TopTen.tsx +59 -26
- package/src/components/Content/Card/Styles/Two.tsx +39 -18
- package/src/components/Content/Card/components/CardPoster.tsx +34 -32
- package/src/components/Content/Card/components/NavigateToMore.tsx +17 -7
- package/src/components/Content/Card/components/NoContentFallback.tsx +36 -19
- package/src/components/Content/Card/components/ShowAllButton.tsx +12 -8
- package/src/components/Content/Card/components/ThumbnailCard.tsx +26 -17
- package/src/components/Content/Card/index.ts +2 -2
- package/src/components/Content/Content.tsx +41 -17
- package/src/components/Content/Sections.tsx +14 -8
- package/src/components/ContentView/ContentView.tsx +34 -27
- package/src/components/ContentView/MoreContentList.tsx +40 -18
- package/src/components/ContentView/components/AboutSection.tsx +30 -12
- package/src/components/ContentView/components/CastCard.tsx +65 -24
- package/src/components/ContentView/components/EpisodeCard.tsx +109 -44
- package/src/components/ContentView/components/GenreTags.tsx +35 -11
- package/src/components/ContentView/components/HeroBanner.tsx +52 -21
- package/src/components/ContentView/components/PlayButton.tsx +13 -5
- package/src/components/ContentView/components/Title.tsx +30 -10
- package/src/components/ContentView/components/TrailerButton.tsx +16 -7
- package/src/components/Headers/AppHeader.tsx +41 -15
- package/src/components/Headers/One.tsx +19 -10
- package/src/components/Headers/Three.tsx +22 -7
- package/src/components/Headers/Two.tsx +25 -14
- package/src/components/Headers/index.ts +1 -1
- package/src/components/Input/Input.ts +1 -1
- package/src/components/Input/InputOne.tsx +69 -23
- package/src/components/Input/InputTwo.tsx +41 -18
- package/src/components/Input/PhoneNumberInput.tsx +94 -48
- package/src/components/Keyboard/HideKeyboard.tsx +16 -10
- package/src/components/Loader/Loader.tsx +3 -8
- package/src/components/Logo/Logo.tsx +17 -9
- package/src/components/Reels/ReelsSeries/Model/Episodes.tsx +133 -0
- package/src/components/Reels/ReelsSeries/Model/Synopsis.tsx +249 -0
- package/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.tsx +209 -0
- package/src/components/Reels/ReelsSeries/ReelSeriesOverlay.tsx +185 -0
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +163 -0
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +333 -0
- package/src/components/Reels/ReelsSeries/types.ts +27 -0
- package/src/components/Reels/index.ts +8 -0
- package/src/components/Search/One.tsx +46 -17
- package/src/components/Search/components/RecentSearchesSection.tsx +48 -21
- package/src/components/Search/components/SearchCard.tsx +34 -16
- package/src/components/Search/index.ts +1 -1
- package/src/components/Settings/AppSettings.tsx +80 -29
- package/src/components/Subscription/SubOne.tsx +84 -39
- package/src/components/Subscription/index.ts +1 -1
- package/src/components/TabBar/One.tsx +22 -18
- package/src/components/TabBar/Three.tsx +55 -19
- package/src/components/TabBar/Two.tsx +16 -12
- package/src/components/TabBar/index.ts +1 -1
- package/src/components/Text/Text.tsx +7 -3
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +104 -38
- package/src/components/User/ProfileUpdate/ProfileUpdate.tsx +265 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +37 -12
- package/src/components/User/WatchLater/WatchLater.tsx +94 -31
- package/src/components/User/components/UserAvatar.tsx +8 -4
- package/src/components/User/components/UserSection.tsx +39 -27
- package/src/components/User/index.ts +3 -1
- package/src/components/View/View.tsx +11 -2
- package/src/components/index.ts +2 -0
- package/src/components/layout/SafeAreaWrapper.tsx +10 -4
- package/src/constants/dummySections.ts +9 -7
- package/src/hooks/useDebounce.ts +4 -1
- package/src/hooks/useInitSplashCacheSync.ts +46 -18
- package/src/hooks/useKeyboard.ts +5 -3
- package/src/hooks/usePaginatedSection.ts +11 -7
- package/src/store/RecentSearchesStore.ts +12 -7
- package/src/store/splashStore.ts +16 -16
- package/src/theme/ThemeProvider.tsx +57 -24
- package/src/theme/hook/useTheme.ts +7 -3
- package/src/theme/index.ts +6 -0
- package/src/theme/themes.ts +45 -31
- package/src/types/content/content-view.types.ts +4 -1
- package/src/types/hook/usePaginatedSetion.ts +1 -1
- package/src/utils/Formater.ts +14 -0
- package/lib/module/components/Icons/AlertIcon.js +0 -33
- package/lib/module/components/Icons/AlertIcon.js.map +0 -1
- package/lib/module/components/Icons/DeviceIcon.js +0 -25
- package/lib/module/components/Icons/DeviceIcon.js.map +0 -1
- package/lib/module/components/Icons/DoneIcon/DoneIcon.js +0 -23
- package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +0 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +0 -65
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +0 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +0 -56
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +0 -1
- package/lib/module/components/Icons/NewIndex.js +0 -36
- package/lib/module/components/Icons/NewIndex.js.map +0 -1
- package/lib/module/components/Icons/ResendOTP.js +0 -21
- package/lib/module/components/Icons/ResendOTP.js.map +0 -1
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts +0 -7
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +0 -7
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +0 -6
- package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +0 -3
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +0 -3
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/NewIndex.d.ts +0 -19
- package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts +0 -7
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +0 -1
- package/src/components/Icons/AlertIcon.tsx +0 -18
- package/src/components/Icons/DeviceIcon.tsx +0 -18
- package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -17
- package/src/components/Icons/ForgotPasswordMessageIcon.tsx +0 -34
- package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +0 -32
- package/src/components/Icons/NewIndex.ts +0 -35
- package/src/components/Icons/ResendOTP.tsx +0 -13
- /package/lib/module/assets/{img → svg}/h.svg +0 -0
- /package/src/assets/{img → svg}/h.svg +0 -0
- /package/src/{index.ts → index.tsx} +0 -0
|
@@ -12,19 +12,27 @@ import {
|
|
|
12
12
|
type StyleProp,
|
|
13
13
|
type ViewStyle,
|
|
14
14
|
type ListRenderItem,
|
|
15
|
-
type TextStyle
|
|
15
|
+
type TextStyle,
|
|
16
16
|
} from 'react-native';
|
|
17
17
|
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
18
18
|
import { moderateScale, verticalScale } from 'react-native-size-matters';
|
|
19
19
|
import LinearGradient from 'react-native-linear-gradient';
|
|
20
20
|
import FastImage from 'react-native-fast-image';
|
|
21
21
|
import { Play } from 'lucide-react-native';
|
|
22
|
-
import Animated, {
|
|
22
|
+
import Animated, {
|
|
23
|
+
useSharedValue,
|
|
24
|
+
useAnimatedStyle,
|
|
25
|
+
withTiming,
|
|
26
|
+
} from 'react-native-reanimated';
|
|
23
27
|
|
|
24
28
|
import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
|
|
25
29
|
import { useTheme } from '../../../../theme/hook/useTheme';
|
|
26
30
|
import NavigateToMore from '../components/NavigateToMore';
|
|
27
|
-
import type {
|
|
31
|
+
import type {
|
|
32
|
+
IContentData,
|
|
33
|
+
IGetSectionData,
|
|
34
|
+
MoreFetchData,
|
|
35
|
+
} from '../../../../types';
|
|
28
36
|
import type { AppTheme, ITheme } from '../../../../theme/themes';
|
|
29
37
|
import { Text } from '../../../Text';
|
|
30
38
|
import { RFValue } from 'react-native-responsive-fontsize';
|
|
@@ -56,7 +64,10 @@ type Props = {
|
|
|
56
64
|
type: IGetSectionData['type'];
|
|
57
65
|
}) => void;
|
|
58
66
|
|
|
59
|
-
renderItemImage?: (params: {
|
|
67
|
+
renderItemImage?: (params: {
|
|
68
|
+
item: IContentData;
|
|
69
|
+
index: number;
|
|
70
|
+
}) => React.ReactNode;
|
|
60
71
|
itemWidth?: number;
|
|
61
72
|
borderRadius?: number;
|
|
62
73
|
skeletonCount?: number;
|
|
@@ -80,19 +91,25 @@ const NowWatchingItem = memo(
|
|
|
80
91
|
renderItemImage,
|
|
81
92
|
itemStyle,
|
|
82
93
|
itemWidth,
|
|
83
|
-
borderRadius
|
|
94
|
+
borderRadius,
|
|
84
95
|
}: {
|
|
85
96
|
item: IHistoryItem;
|
|
86
97
|
index: number;
|
|
87
98
|
isLast: boolean;
|
|
88
99
|
appliedTheme: ITheme;
|
|
89
100
|
onPressItem?: (item: IContentData) => void;
|
|
90
|
-
renderItemImage?: (params: {
|
|
101
|
+
renderItemImage?: (params: {
|
|
102
|
+
item: IContentData;
|
|
103
|
+
index: number;
|
|
104
|
+
}) => React.ReactNode;
|
|
91
105
|
itemStyle?: StyleProp<ViewStyle>;
|
|
92
106
|
itemWidth: number;
|
|
93
107
|
borderRadius: number;
|
|
94
108
|
}) => {
|
|
95
|
-
const percentage = Math.max(
|
|
109
|
+
const percentage = Math.max(
|
|
110
|
+
0,
|
|
111
|
+
Math.min(100, Math.round((item.currentTime / item.duration) * 100))
|
|
112
|
+
);
|
|
96
113
|
|
|
97
114
|
const progress = useSharedValue(0);
|
|
98
115
|
|
|
@@ -101,7 +118,7 @@ const NowWatchingItem = memo(
|
|
|
101
118
|
}, [percentage, progress]);
|
|
102
119
|
|
|
103
120
|
const animatedProgressStyle = useAnimatedStyle(() => ({
|
|
104
|
-
width: `${progress.value}
|
|
121
|
+
width: `${progress.value}%`,
|
|
105
122
|
}));
|
|
106
123
|
|
|
107
124
|
const styles = useMemo(
|
|
@@ -110,7 +127,12 @@ const NowWatchingItem = memo(
|
|
|
110
127
|
);
|
|
111
128
|
return (
|
|
112
129
|
<TouchableOpacity
|
|
113
|
-
style={[
|
|
130
|
+
style={[
|
|
131
|
+
styles.item,
|
|
132
|
+
itemStyle,
|
|
133
|
+
index === 0 && styles.firstItem,
|
|
134
|
+
isLast && { marginRight: moderateScale(12) },
|
|
135
|
+
]}
|
|
114
136
|
activeOpacity={0.9}
|
|
115
137
|
onPress={() => onPressItem?.(item.content)}
|
|
116
138
|
>
|
|
@@ -122,7 +144,7 @@ const NowWatchingItem = memo(
|
|
|
122
144
|
source={{
|
|
123
145
|
uri: item.content?.thumbnail || item.content?.poster,
|
|
124
146
|
cache: FastImage.cacheControl.immutable,
|
|
125
|
-
priority: FastImage.priority.normal
|
|
147
|
+
priority: FastImage.priority.normal,
|
|
126
148
|
}}
|
|
127
149
|
style={styles.poster}
|
|
128
150
|
>
|
|
@@ -146,11 +168,17 @@ const NowWatchingItem = memo(
|
|
|
146
168
|
</Text>
|
|
147
169
|
)}
|
|
148
170
|
<View style={styles.progressBackground}>
|
|
149
|
-
<Animated.View
|
|
171
|
+
<Animated.View
|
|
172
|
+
style={[styles.progressForeground, animatedProgressStyle]}
|
|
173
|
+
/>
|
|
150
174
|
</View>
|
|
151
175
|
</View>
|
|
152
176
|
<View style={styles.playIconWrapper}>
|
|
153
|
-
<Play
|
|
177
|
+
<Play
|
|
178
|
+
size={moderateScale(20)}
|
|
179
|
+
color={appliedTheme.colors.primary}
|
|
180
|
+
fill={appliedTheme.colors.primary}
|
|
181
|
+
/>
|
|
154
182
|
</View>
|
|
155
183
|
</View>
|
|
156
184
|
</View>
|
|
@@ -176,7 +204,7 @@ const NowWatching: React.FC<Props> = ({
|
|
|
176
204
|
skeletonCount = 4,
|
|
177
205
|
containerStyle,
|
|
178
206
|
itemStyle,
|
|
179
|
-
isLoadingHistory
|
|
207
|
+
isLoadingHistory,
|
|
180
208
|
}) => {
|
|
181
209
|
const flatListRef = useRef<FlatList<IHistoryItem>>(null);
|
|
182
210
|
const onEndReachedCalledDuringMomentum = useRef(false);
|
|
@@ -190,8 +218,13 @@ const NowWatching: React.FC<Props> = ({
|
|
|
190
218
|
data,
|
|
191
219
|
loadMoreData,
|
|
192
220
|
pagination,
|
|
193
|
-
loading: isPaginating
|
|
194
|
-
} = usePaginatedSection<IHistoryItem>(
|
|
221
|
+
loading: isPaginating,
|
|
222
|
+
} = usePaginatedSection<IHistoryItem>(
|
|
223
|
+
section_id,
|
|
224
|
+
moreFetchDataHistory,
|
|
225
|
+
initialData,
|
|
226
|
+
isLoading || isLoadingHistory
|
|
227
|
+
);
|
|
195
228
|
|
|
196
229
|
const handlePressMore = useCallback(() => {
|
|
197
230
|
onPressMore?.({ section_id, name: title, type });
|
|
@@ -200,7 +233,11 @@ const NowWatching: React.FC<Props> = ({
|
|
|
200
233
|
const listData = useMemo(() => data ?? [], [data]);
|
|
201
234
|
|
|
202
235
|
const handleEndReached = useCallback(() => {
|
|
203
|
-
if (
|
|
236
|
+
if (
|
|
237
|
+
!onEndReachedCalledDuringMomentum.current &&
|
|
238
|
+
pagination?.hasNextPage &&
|
|
239
|
+
pagination?.nextPage
|
|
240
|
+
) {
|
|
204
241
|
onEndReachedCalledDuringMomentum.current = true;
|
|
205
242
|
loadMoreData(pagination.nextPage);
|
|
206
243
|
}
|
|
@@ -223,13 +260,26 @@ const NowWatching: React.FC<Props> = ({
|
|
|
223
260
|
/>
|
|
224
261
|
);
|
|
225
262
|
},
|
|
226
|
-
[
|
|
263
|
+
[
|
|
264
|
+
listData.length,
|
|
265
|
+
appliedTheme,
|
|
266
|
+
onPressItem,
|
|
267
|
+
renderItemImage,
|
|
268
|
+
itemStyle,
|
|
269
|
+
itemWidth,
|
|
270
|
+
borderRadius,
|
|
271
|
+
]
|
|
227
272
|
);
|
|
228
273
|
|
|
229
274
|
const renderSkeletonItem = (index: number) => (
|
|
230
275
|
<View
|
|
231
276
|
key={index}
|
|
232
|
-
style={[
|
|
277
|
+
style={[
|
|
278
|
+
styles.item,
|
|
279
|
+
itemStyle,
|
|
280
|
+
index === 0 && styles.firstItem,
|
|
281
|
+
{ marginRight: moderateScale(12) },
|
|
282
|
+
]}
|
|
233
283
|
>
|
|
234
284
|
<SkeletonPlaceholder
|
|
235
285
|
backgroundColor={appliedTheme.colors.skeletonBaseColor}
|
|
@@ -259,7 +309,11 @@ const NowWatching: React.FC<Props> = ({
|
|
|
259
309
|
<NavigateToMore
|
|
260
310
|
title={title}
|
|
261
311
|
onPress={handlePressMore}
|
|
262
|
-
titleStyle={[
|
|
312
|
+
titleStyle={[
|
|
313
|
+
styles.title,
|
|
314
|
+
{ color: appliedTheme.colors.textPrimary },
|
|
315
|
+
titleStyle,
|
|
316
|
+
]}
|
|
263
317
|
containerStyle={styles.navigateToMoreContainer}
|
|
264
318
|
showAllProps={{ iconColor: appliedTheme.colors.textPrimary }}
|
|
265
319
|
/>
|
|
@@ -281,7 +335,11 @@ const NowWatching: React.FC<Props> = ({
|
|
|
281
335
|
<FlatList
|
|
282
336
|
ref={flatListRef}
|
|
283
337
|
horizontal
|
|
284
|
-
data={
|
|
338
|
+
data={
|
|
339
|
+
isLoading || isLoadingHistory
|
|
340
|
+
? Array(skeletonCount).fill(0)
|
|
341
|
+
: listData
|
|
342
|
+
}
|
|
285
343
|
keyExtractor={(_, index) => index.toString()}
|
|
286
344
|
renderItem={({ item, index }) =>
|
|
287
345
|
isLoading || isLoadingHistory
|
|
@@ -292,8 +350,8 @@ const NowWatching: React.FC<Props> = ({
|
|
|
292
350
|
separators: {
|
|
293
351
|
highlight: () => {},
|
|
294
352
|
unhighlight: () => {},
|
|
295
|
-
updateProps: () => {}
|
|
296
|
-
}
|
|
353
|
+
updateProps: () => {},
|
|
354
|
+
},
|
|
297
355
|
})
|
|
298
356
|
}
|
|
299
357
|
showsHorizontalScrollIndicator={false}
|
|
@@ -312,24 +370,24 @@ const NowWatching: React.FC<Props> = ({
|
|
|
312
370
|
const getStyles = (theme: ITheme, itemWidth: number, borderRadius: number) =>
|
|
313
371
|
StyleSheet.create({
|
|
314
372
|
container: {
|
|
315
|
-
marginVertical: verticalScale(6)
|
|
373
|
+
marginVertical: verticalScale(6),
|
|
316
374
|
},
|
|
317
375
|
listContent: {
|
|
318
|
-
paddingRight: moderateScale(15)
|
|
376
|
+
paddingRight: moderateScale(15),
|
|
319
377
|
},
|
|
320
378
|
item: {
|
|
321
|
-
marginRight: moderateScale(12)
|
|
379
|
+
marginRight: moderateScale(12),
|
|
322
380
|
},
|
|
323
381
|
firstItem: {
|
|
324
|
-
marginLeft: moderateScale(10)
|
|
382
|
+
marginLeft: moderateScale(10),
|
|
325
383
|
},
|
|
326
384
|
navigateToMoreContainer: {
|
|
327
385
|
paddingHorizontal: moderateScale(10),
|
|
328
|
-
marginBottom: verticalScale(8)
|
|
386
|
+
marginBottom: verticalScale(8),
|
|
329
387
|
},
|
|
330
388
|
title: {
|
|
331
389
|
fontSize: RFValue(13),
|
|
332
|
-
fontWeight: '600'
|
|
390
|
+
fontWeight: '600',
|
|
333
391
|
},
|
|
334
392
|
cardWrapper: {
|
|
335
393
|
width: itemWidth,
|
|
@@ -340,18 +398,18 @@ const getStyles = (theme: ITheme, itemWidth: number, borderRadius: number) =>
|
|
|
340
398
|
shadowOffset: { width: 0, height: 2 },
|
|
341
399
|
shadowOpacity: 0.08,
|
|
342
400
|
shadowRadius: 4,
|
|
343
|
-
elevation: 2
|
|
401
|
+
elevation: 2,
|
|
344
402
|
},
|
|
345
403
|
poster: {
|
|
346
404
|
width: '100%',
|
|
347
405
|
height: itemWidth * (9 / 16),
|
|
348
406
|
borderRadius,
|
|
349
407
|
overflow: 'hidden',
|
|
350
|
-
backgroundColor: theme.colors.surfaceVariant
|
|
408
|
+
backgroundColor: theme.colors.surfaceVariant,
|
|
351
409
|
},
|
|
352
410
|
gradientOverlay: {
|
|
353
411
|
...StyleSheet.absoluteFillObject,
|
|
354
|
-
borderRadius
|
|
412
|
+
borderRadius,
|
|
355
413
|
},
|
|
356
414
|
infoContainer: {
|
|
357
415
|
position: 'absolute',
|
|
@@ -360,34 +418,34 @@ const getStyles = (theme: ITheme, itemWidth: number, borderRadius: number) =>
|
|
|
360
418
|
right: 8,
|
|
361
419
|
flexDirection: 'row',
|
|
362
420
|
alignItems: 'center',
|
|
363
|
-
justifyContent: 'space-between'
|
|
421
|
+
justifyContent: 'space-between',
|
|
364
422
|
},
|
|
365
423
|
textSection: {
|
|
366
424
|
flex: 1,
|
|
367
|
-
paddingRight: 8
|
|
425
|
+
paddingRight: 8,
|
|
368
426
|
},
|
|
369
427
|
titleText: {
|
|
370
|
-
color: theme.colors.
|
|
428
|
+
color: theme.colors.white,
|
|
371
429
|
fontWeight: '600',
|
|
372
|
-
fontSize: RFValue(11)
|
|
430
|
+
fontSize: RFValue(11),
|
|
373
431
|
},
|
|
374
432
|
subTitleText: {
|
|
375
|
-
color: theme.colors.
|
|
433
|
+
color: theme.colors.white,
|
|
376
434
|
fontSize: RFValue(10),
|
|
377
435
|
opacity: 0.85,
|
|
378
|
-
marginTop: verticalScale(2)
|
|
436
|
+
marginTop: verticalScale(2),
|
|
379
437
|
},
|
|
380
438
|
progressBackground: {
|
|
381
439
|
marginTop: verticalScale(4),
|
|
382
440
|
height: verticalScale(4),
|
|
383
441
|
backgroundColor: '#4F4E4E',
|
|
384
442
|
borderRadius: 6,
|
|
385
|
-
width: '100%'
|
|
443
|
+
width: '100%',
|
|
386
444
|
},
|
|
387
445
|
progressForeground: {
|
|
388
446
|
height: '100%',
|
|
389
447
|
borderRadius: 6,
|
|
390
|
-
backgroundColor: theme.colors.primary
|
|
448
|
+
backgroundColor: theme.colors.primary,
|
|
391
449
|
},
|
|
392
450
|
playIconWrapper: {
|
|
393
451
|
justifyContent: 'center',
|
|
@@ -395,25 +453,25 @@ const getStyles = (theme: ITheme, itemWidth: number, borderRadius: number) =>
|
|
|
395
453
|
width: moderateScale(32),
|
|
396
454
|
height: moderateScale(32),
|
|
397
455
|
borderRadius: moderateScale(16),
|
|
398
|
-
backgroundColor: theme.colors.blueBackground
|
|
456
|
+
backgroundColor: theme.colors.blueBackground,
|
|
399
457
|
},
|
|
400
458
|
skeletonTitle: {
|
|
401
459
|
width: '80%',
|
|
402
460
|
height: verticalScale(10),
|
|
403
461
|
borderRadius: 4,
|
|
404
|
-
marginBottom: verticalScale(4)
|
|
462
|
+
marginBottom: verticalScale(4),
|
|
405
463
|
},
|
|
406
464
|
skeletonSubTitle: {
|
|
407
465
|
width: '60%',
|
|
408
466
|
height: verticalScale(8),
|
|
409
467
|
borderRadius: 4,
|
|
410
|
-
marginBottom: verticalScale(6)
|
|
468
|
+
marginBottom: verticalScale(6),
|
|
411
469
|
},
|
|
412
470
|
playIconSkeleton: {
|
|
413
471
|
width: moderateScale(32),
|
|
414
472
|
height: moderateScale(32),
|
|
415
|
-
borderRadius: moderateScale(16)
|
|
416
|
-
}
|
|
473
|
+
borderRadius: moderateScale(16),
|
|
474
|
+
},
|
|
417
475
|
});
|
|
418
476
|
|
|
419
477
|
export default memo(NowWatching);
|
|
@@ -4,7 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import React, { memo, useCallback, useMemo, useState } from 'react';
|
|
7
|
-
import {
|
|
7
|
+
import {
|
|
8
|
+
View,
|
|
9
|
+
TouchableOpacity,
|
|
10
|
+
StyleSheet,
|
|
11
|
+
type AccessibilityProps,
|
|
12
|
+
} from 'react-native';
|
|
8
13
|
import Carousel from 'react-native-reanimated-carousel';
|
|
9
14
|
import { scale, verticalScale } from 'react-native-size-matters';
|
|
10
15
|
import FastImage from 'react-native-fast-image';
|
|
@@ -41,7 +46,10 @@ type ImageTouchableProps = {
|
|
|
41
46
|
onImagePress?: () => void;
|
|
42
47
|
};
|
|
43
48
|
|
|
44
|
-
const ImageTouchable: React.FC<ImageTouchableProps> = ({
|
|
49
|
+
const ImageTouchable: React.FC<ImageTouchableProps> = ({
|
|
50
|
+
children,
|
|
51
|
+
onImagePress,
|
|
52
|
+
}) => (
|
|
45
53
|
<TouchableOpacity
|
|
46
54
|
activeOpacity={0.8}
|
|
47
55
|
style={styles.imageWrapper}
|
|
@@ -63,7 +71,7 @@ const SliderOne: React.FC<SliderOneProps> = ({
|
|
|
63
71
|
skeletonCount = DEFAULT_SKELETON_COUNT,
|
|
64
72
|
theme,
|
|
65
73
|
accessibilityLabel = 'Content carousel',
|
|
66
|
-
accessibilityHint = 'Swipe to view content'
|
|
74
|
+
accessibilityHint = 'Swipe to view content',
|
|
67
75
|
}) => {
|
|
68
76
|
const { theme: appliedTheme } = useTheme(theme);
|
|
69
77
|
const contentData = useMemo(() => data?.data ?? [], [data]);
|
|
@@ -85,26 +93,39 @@ const SliderOne: React.FC<SliderOneProps> = ({
|
|
|
85
93
|
source={{
|
|
86
94
|
uri: item.thumbnail,
|
|
87
95
|
priority: FastImage.priority.normal,
|
|
88
|
-
cache: FastImage.cacheControl.immutable
|
|
96
|
+
cache: FastImage.cacheControl.immutable,
|
|
89
97
|
}}
|
|
90
98
|
style={styles.sliderImage}
|
|
91
99
|
resizeMode={FastImage.resizeMode.cover}
|
|
92
100
|
accessibilityLabel={`Image of ${item.name || 'content'}`}
|
|
93
101
|
/>
|
|
94
102
|
{showPlayIcon && (
|
|
95
|
-
<LinearGradient
|
|
103
|
+
<LinearGradient
|
|
104
|
+
colors={['transparent', 'rgba(0,0,0,0.6)']}
|
|
105
|
+
style={styles.gradientOverlay}
|
|
106
|
+
>
|
|
96
107
|
<View style={styles.playOverlay}>
|
|
97
108
|
<TouchableOpacity
|
|
98
109
|
onPress={() => onPressItem?.(item)}
|
|
99
|
-
style={[
|
|
110
|
+
style={[
|
|
111
|
+
styles.playIcon,
|
|
112
|
+
{ backgroundColor: appliedTheme.colors.button },
|
|
113
|
+
]}
|
|
100
114
|
activeOpacity={0.8}
|
|
101
115
|
accessibilityRole="button"
|
|
102
116
|
accessibilityLabel="Play content"
|
|
103
117
|
>
|
|
104
|
-
<Play
|
|
118
|
+
<Play
|
|
119
|
+
size={scale(25)}
|
|
120
|
+
color={appliedTheme.colors.black}
|
|
121
|
+
fill={appliedTheme.colors.black}
|
|
122
|
+
/>
|
|
105
123
|
</TouchableOpacity>
|
|
106
124
|
<Text
|
|
107
|
-
style={[
|
|
125
|
+
style={[
|
|
126
|
+
styles.playText,
|
|
127
|
+
{ color: appliedTheme.colors.white },
|
|
128
|
+
]}
|
|
108
129
|
numberOfLines={1}
|
|
109
130
|
accessibilityLabel={item.name}
|
|
110
131
|
>
|
|
@@ -128,7 +149,11 @@ const SliderOne: React.FC<SliderOneProps> = ({
|
|
|
128
149
|
highlightColor={appliedTheme.colors.skeletonHighlightColor}
|
|
129
150
|
speed={1000}
|
|
130
151
|
>
|
|
131
|
-
<SkeletonPlaceholder.Item
|
|
152
|
+
<SkeletonPlaceholder.Item
|
|
153
|
+
width={CAROUSEL_WIDTH}
|
|
154
|
+
height={CAROUSEL_HEIGHT}
|
|
155
|
+
borderRadius={BORDER_RADIUS}
|
|
156
|
+
/>
|
|
132
157
|
</SkeletonPlaceholder>
|
|
133
158
|
</View>
|
|
134
159
|
),
|
|
@@ -145,7 +170,11 @@ const SliderOne: React.FC<SliderOneProps> = ({
|
|
|
145
170
|
highlightColor={appliedTheme.colors.skeletonHighlightColor}
|
|
146
171
|
speed={2000}
|
|
147
172
|
>
|
|
148
|
-
<SkeletonPlaceholder.Item
|
|
173
|
+
<SkeletonPlaceholder.Item
|
|
174
|
+
width={scale(18)}
|
|
175
|
+
height={scale(8)}
|
|
176
|
+
borderRadius={scale(50)}
|
|
177
|
+
/>
|
|
149
178
|
</SkeletonPlaceholder>
|
|
150
179
|
) : i === activeIndex ? (
|
|
151
180
|
<LinearGradient
|
|
@@ -155,7 +184,12 @@ const SliderOne: React.FC<SliderOneProps> = ({
|
|
|
155
184
|
style={styles.activeIndicator}
|
|
156
185
|
/>
|
|
157
186
|
) : (
|
|
158
|
-
<View
|
|
187
|
+
<View
|
|
188
|
+
style={[
|
|
189
|
+
styles.inactiveIndicator,
|
|
190
|
+
{ backgroundColor: appliedTheme.colors.onSurface },
|
|
191
|
+
]}
|
|
192
|
+
/>
|
|
159
193
|
)}
|
|
160
194
|
</View>
|
|
161
195
|
),
|
|
@@ -165,7 +199,7 @@ const SliderOne: React.FC<SliderOneProps> = ({
|
|
|
165
199
|
appliedTheme.colors.skeletonHighlightColor,
|
|
166
200
|
appliedTheme.colors.onSurface,
|
|
167
201
|
activeIndex,
|
|
168
|
-
gradientColors
|
|
202
|
+
gradientColors,
|
|
169
203
|
]
|
|
170
204
|
);
|
|
171
205
|
|
|
@@ -177,14 +211,18 @@ const SliderOne: React.FC<SliderOneProps> = ({
|
|
|
177
211
|
loop: true,
|
|
178
212
|
scrollAnimationDuration: 1000,
|
|
179
213
|
autoPlayInterval: 2500,
|
|
180
|
-
style: styles.carousel
|
|
214
|
+
style: styles.carousel,
|
|
181
215
|
};
|
|
182
216
|
if (!data) {
|
|
183
217
|
return null;
|
|
184
218
|
}
|
|
185
219
|
if (isLoading) {
|
|
186
220
|
return (
|
|
187
|
-
<View
|
|
221
|
+
<View
|
|
222
|
+
style={styles.container}
|
|
223
|
+
accessibilityLabel={accessibilityLabel}
|
|
224
|
+
accessibilityHint={accessibilityHint}
|
|
225
|
+
>
|
|
188
226
|
<Carousel
|
|
189
227
|
{...carouselProps}
|
|
190
228
|
data={Array.from({ length: skeletonCount })}
|
|
@@ -192,13 +230,18 @@ const SliderOne: React.FC<SliderOneProps> = ({
|
|
|
192
230
|
mode="parallax"
|
|
193
231
|
modeConfig={{
|
|
194
232
|
parallaxScrollingOffset: 48,
|
|
195
|
-
parallaxScrollingScale: 0.9
|
|
233
|
+
parallaxScrollingScale: 0.9,
|
|
196
234
|
}}
|
|
197
|
-
onConfigurePanGesture={(gesture) =>
|
|
235
|
+
onConfigurePanGesture={(gesture) =>
|
|
236
|
+
gesture.activeOffsetX([-10, 10]).failOffsetY([-5, 5])
|
|
237
|
+
}
|
|
198
238
|
/>
|
|
199
239
|
<View style={styles.indicatorContainer}>
|
|
200
240
|
<View style={styles.indicator}>
|
|
201
|
-
{Array.from(
|
|
241
|
+
{Array.from(
|
|
242
|
+
{ length: isLoading ? skeletonCount : contentData.length },
|
|
243
|
+
renderIndicator
|
|
244
|
+
)}
|
|
202
245
|
</View>
|
|
203
246
|
</View>
|
|
204
247
|
</View>
|
|
@@ -208,7 +251,11 @@ const SliderOne: React.FC<SliderOneProps> = ({
|
|
|
208
251
|
return null;
|
|
209
252
|
}
|
|
210
253
|
return (
|
|
211
|
-
<View
|
|
254
|
+
<View
|
|
255
|
+
style={styles.container}
|
|
256
|
+
accessibilityLabel={accessibilityLabel}
|
|
257
|
+
accessibilityHint={accessibilityHint}
|
|
258
|
+
>
|
|
212
259
|
<Carousel
|
|
213
260
|
{...carouselProps}
|
|
214
261
|
data={contentData}
|
|
@@ -217,13 +264,17 @@ const SliderOne: React.FC<SliderOneProps> = ({
|
|
|
217
264
|
mode="parallax"
|
|
218
265
|
modeConfig={{
|
|
219
266
|
parallaxScrollingOffset: 48,
|
|
220
|
-
parallaxScrollingScale: 0.9
|
|
267
|
+
parallaxScrollingScale: 0.9,
|
|
221
268
|
}}
|
|
222
|
-
onConfigurePanGesture={(gesture) =>
|
|
269
|
+
onConfigurePanGesture={(gesture) =>
|
|
270
|
+
gesture.activeOffsetX([-10, 10]).failOffsetY([-5, 5])
|
|
271
|
+
}
|
|
223
272
|
/>
|
|
224
273
|
{index === 0 && (
|
|
225
274
|
<View style={styles.indicatorContainer}>
|
|
226
|
-
<View style={styles.indicator}>
|
|
275
|
+
<View style={styles.indicator}>
|
|
276
|
+
{Array.from({ length: contentData.length }, renderIndicator)}
|
|
277
|
+
</View>
|
|
227
278
|
</View>
|
|
228
279
|
)}
|
|
229
280
|
</View>
|
|
@@ -236,86 +287,86 @@ const styles = StyleSheet.create({
|
|
|
236
287
|
flex: 1,
|
|
237
288
|
alignItems: 'center',
|
|
238
289
|
marginTop: verticalScale(6),
|
|
239
|
-
marginBottom: verticalScale(1)
|
|
290
|
+
marginBottom: verticalScale(1),
|
|
240
291
|
},
|
|
241
292
|
carousel: {
|
|
242
|
-
borderRadius: BORDER_RADIUS
|
|
293
|
+
borderRadius: BORDER_RADIUS,
|
|
243
294
|
},
|
|
244
295
|
sliderContainer: {
|
|
245
296
|
flex: 1,
|
|
246
297
|
justifyContent: 'center',
|
|
247
|
-
marginTop: verticalScale(-15)
|
|
298
|
+
marginTop: verticalScale(-15),
|
|
248
299
|
},
|
|
249
300
|
imageWrapper: {
|
|
250
301
|
borderRadius: BORDER_RADIUS,
|
|
251
302
|
overflow: 'hidden',
|
|
252
|
-
position: 'relative'
|
|
303
|
+
position: 'relative',
|
|
253
304
|
},
|
|
254
305
|
sliderImage: {
|
|
255
306
|
width: '100%',
|
|
256
307
|
aspectRatio: 16 / 9,
|
|
257
308
|
borderRadius: BORDER_RADIUS,
|
|
258
|
-
backgroundColor: '#444'
|
|
309
|
+
backgroundColor: '#444',
|
|
259
310
|
},
|
|
260
311
|
gradientOverlay: {
|
|
261
312
|
...StyleSheet.absoluteFillObject,
|
|
262
|
-
justifyContent: 'flex-end'
|
|
313
|
+
justifyContent: 'flex-end',
|
|
263
314
|
},
|
|
264
315
|
playOverlay: {
|
|
265
316
|
flexDirection: 'row',
|
|
266
317
|
alignItems: 'center',
|
|
267
318
|
gap: scale(8),
|
|
268
319
|
paddingBottom: verticalScale(10),
|
|
269
|
-
paddingHorizontal: scale(12)
|
|
320
|
+
paddingHorizontal: scale(12),
|
|
270
321
|
},
|
|
271
322
|
playIcon: {
|
|
272
323
|
width: scale(40),
|
|
273
324
|
height: scale(40),
|
|
274
325
|
borderRadius: scale(50),
|
|
275
326
|
alignItems: 'center',
|
|
276
|
-
justifyContent: 'center'
|
|
327
|
+
justifyContent: 'center',
|
|
277
328
|
},
|
|
278
329
|
playText: {
|
|
279
330
|
fontSize: RFValue(15),
|
|
280
331
|
fontWeight: 'bold',
|
|
281
|
-
maxWidth: scale(220)
|
|
332
|
+
maxWidth: scale(220),
|
|
282
333
|
},
|
|
283
334
|
indicatorContainer: {
|
|
284
335
|
alignItems: 'center',
|
|
285
336
|
justifyContent: 'center',
|
|
286
337
|
width: '100%',
|
|
287
|
-
marginTop: verticalScale(-7)
|
|
338
|
+
marginTop: verticalScale(-7),
|
|
288
339
|
},
|
|
289
340
|
indicator: {
|
|
290
341
|
flexDirection: 'row',
|
|
291
342
|
alignItems: 'center',
|
|
292
|
-
gap: scale(6)
|
|
343
|
+
gap: scale(6),
|
|
293
344
|
},
|
|
294
345
|
indicatorWrapper: {
|
|
295
346
|
alignItems: 'center',
|
|
296
|
-
justifyContent: 'center'
|
|
347
|
+
justifyContent: 'center',
|
|
297
348
|
},
|
|
298
349
|
activeIndicator: {
|
|
299
350
|
width: scale(18),
|
|
300
351
|
height: scale(8),
|
|
301
|
-
borderRadius: scale(50)
|
|
352
|
+
borderRadius: scale(50),
|
|
302
353
|
},
|
|
303
354
|
inactiveIndicator: {
|
|
304
355
|
width: scale(8),
|
|
305
356
|
height: scale(8),
|
|
306
|
-
borderRadius: scale(50)
|
|
357
|
+
borderRadius: scale(50),
|
|
307
358
|
},
|
|
308
359
|
emptyState: {
|
|
309
360
|
padding: scale(12),
|
|
310
361
|
alignItems: 'center',
|
|
311
|
-
justifyContent: 'center'
|
|
362
|
+
justifyContent: 'center',
|
|
312
363
|
},
|
|
313
364
|
emptyText: {
|
|
314
365
|
fontSize: RFValue(13),
|
|
315
366
|
fontWeight: '500',
|
|
316
367
|
color: '#fff',
|
|
317
|
-
textAlign: 'center'
|
|
318
|
-
}
|
|
368
|
+
textAlign: 'center',
|
|
369
|
+
},
|
|
319
370
|
});
|
|
320
371
|
|
|
321
372
|
export default memo(SliderOne);
|