@zezosoft/zezo-ott-react-native-ui-kit 1.1.0 → 1.1.2
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 +133 -86
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +1 -1
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +174 -109
- 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/BottomSheet/BottomSheet.js +152 -0
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -0
- package/lib/module/components/BottomSheet/index.js +4 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -0
- package/lib/module/components/Button/BackBtn.js +46 -16
- 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 +70 -37
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +40 -32
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +109 -48
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +4 -11
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js +105 -43
- 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/Content.js +44 -25
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +37 -29
- 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/Reels/ReelsSeries/MediaControls/BottomControls.js +134 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +154 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js +173 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +77 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js +132 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js +165 -0
- package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +106 -0
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js +124 -0
- package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +102 -64
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +241 -232
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js +153 -0
- package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/{Model → components}/Episodes.js +46 -36
- package/lib/module/components/Reels/ReelsSeries/components/Episodes.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js +35 -0
- package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/Like.js +37 -0
- package/lib/module/components/Reels/ReelsSeries/components/Like.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js +55 -0
- package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js +268 -0
- package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +143 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js +56 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js.map +1 -0
- package/lib/module/components/Reels/utils/Controls/gestureUtils.js +30 -0
- package/lib/module/components/Reels/utils/Controls/gestureUtils.js.map +1 -0
- package/lib/module/components/Reels/utils/Controls/index.js +7 -0
- package/lib/module/components/Reels/utils/Controls/index.js.map +1 -0
- package/lib/module/components/Reels/utils/Controls/overlayUtils.js +28 -0
- package/lib/module/components/Reels/utils/Controls/overlayUtils.js.map +1 -0
- package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js +27 -0
- package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js.map +1 -0
- package/lib/module/components/Reels/utils/Controls/videoRef.js +5 -0
- package/lib/module/components/Reels/utils/Controls/videoRef.js.map +1 -0
- package/lib/module/components/Reels/utils/index.js +4 -0
- package/lib/module/components/Reels/utils/index.js.map +1 -0
- package/lib/module/components/Reels/utils/timeoutUtils.js +24 -0
- package/lib/module/components/Reels/utils/timeoutUtils.js.map +1 -0
- 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 +1 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/hooks/index.js +17 -0
- package/lib/module/hooks/index.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 +1 -1
- 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 +24 -15
- 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/module/theme/themes.js +3 -3
- 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 +0 -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/BottomSheet/BottomSheet.d.ts +18 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/BackBtn.d.ts +5 -3
- 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 +4 -2
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/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/RotateInOut.d.ts.map +1 -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/Content.d.ts +2 -0
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +2 -2
- 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/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +14 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +60 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts +14 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts +14 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts +12 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts +16 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts +14 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +8 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +8 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts +13 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/{Model → components}/Episodes.d.ts +3 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Episodes.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts +7 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts +7 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts +12 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts +12 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts +10 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts +3 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +13 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts +10 -0
- package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts +5 -0
- package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts +12 -0
- package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts +24 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts +3 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/index.d.ts +2 -0
- package/lib/typescript/src/components/Reels/utils/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts +14 -0
- package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts.map +1 -0
- 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 +1 -1
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/index.d.ts +14 -0
- package/lib/typescript/src/hooks/index.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/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/package.json +2 -2
- 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 +225 -185
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +282 -166
- 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/BottomSheet/BottomSheet.tsx +195 -0
- package/src/components/BottomSheet/index.ts +2 -0
- package/src/components/Button/BackBtn.tsx +87 -24
- 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 +94 -56
- package/src/components/Content/Card/Sliders/Styles/One.tsx +63 -47
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +131 -51
- package/src/components/Content/Card/Styles/RotateInOut.tsx +7 -9
- package/src/components/Content/Card/components/CardPoster.tsx +136 -55
- package/src/components/Content/Card/components/RentOrBuyIcon.tsx +58 -38
- package/src/components/Content/Card/components/ThumbnailCard.tsx +122 -47
- package/src/components/Content/Content.tsx +164 -97
- package/src/components/Content/Sections.tsx +99 -43
- 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/Reels/ReelsSeries/MediaControls/BottomControls.tsx +156 -0
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +234 -0
- package/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.tsx +196 -0
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +92 -0
- package/src/components/Reels/ReelsSeries/MediaControls/TopControls.tsx +163 -0
- package/src/components/Reels/ReelsSeries/Model/DetailsModal.tsx +210 -0
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +143 -0
- package/src/components/Reels/ReelsSeries/Model/UnlockModal.tsx +154 -0
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +142 -74
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +349 -250
- package/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.tsx +184 -0
- package/src/components/Reels/ReelsSeries/{Model → components}/Episodes.tsx +54 -33
- package/src/components/Reels/ReelsSeries/components/GradientOverlay.tsx +41 -0
- package/src/components/Reels/ReelsSeries/components/Like.tsx +40 -0
- package/src/components/Reels/ReelsSeries/components/RotatingLoader.tsx +79 -0
- package/src/components/Reels/ReelsSeries/components/Synopsis.tsx +332 -0
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +190 -0
- package/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.tsx +80 -0
- package/src/components/Reels/ReelsSeries/components/VideoControls/index.ts +2 -0
- package/src/components/Reels/ReelsSeries/types.ts +13 -2
- package/src/components/Reels/utils/Controls/gestureUtils.ts +42 -0
- package/src/components/Reels/utils/Controls/index.ts +4 -0
- package/src/components/Reels/utils/Controls/overlayUtils.ts +35 -0
- package/src/components/Reels/utils/Controls/videoControlsConstants.ts +25 -0
- package/src/components/Reels/utils/Controls/videoRef.ts +4 -0
- package/src/components/Reels/utils/index.ts +1 -0
- package/src/components/Reels/utils/timeoutUtils.ts +29 -0
- 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 +1 -1
- package/src/hooks/index.ts +14 -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 +1 -1
- 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 +33 -11
- package/src/theme/hook/useInternalTheme.ts +19 -13
- package/src/theme/hook/useThemeStatusBar.ts +14 -5
- package/src/theme/themes.ts +3 -3
- package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js.map +0 -1
- package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js +0 -212
- package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js.map +0 -1
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js +0 -182
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js.map +0 -1
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js +0 -203
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js.map +0 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts.map +0 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts +0 -9
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts.map +0 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts +0 -13
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts.map +0 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts +0 -18
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts.map +0 -1
- package/src/components/Reels/ReelsSeries/Model/Synopsis.tsx +0 -242
- package/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.tsx +0 -209
- package/src/components/Reels/ReelsSeries/ReelSeriesOverlay.tsx +0 -185
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleSheet, View } from 'react-native';
|
|
3
|
+
|
|
4
|
+
import GradientOverlay from '../../ReelsSeries/components/GradientOverlay';
|
|
5
|
+
import Like from '../../ReelsSeries/components/Like';
|
|
6
|
+
|
|
7
|
+
import type {
|
|
8
|
+
ISeriesItem,
|
|
9
|
+
ISeriesEpisode,
|
|
10
|
+
ModalState,
|
|
11
|
+
ILikeMoreData,
|
|
12
|
+
} from '../types';
|
|
13
|
+
import type { ITheme } from '../../../../theme';
|
|
14
|
+
|
|
15
|
+
import TopControls from './TopControls';
|
|
16
|
+
import MiddleControls from './MiddleControls';
|
|
17
|
+
import RightControls from './RightControls';
|
|
18
|
+
import BottomControls from './BottomControls';
|
|
19
|
+
import DetailsModal from '../Model/DetailsModal';
|
|
20
|
+
import UnLockModal from '../Model/UnlockModal';
|
|
21
|
+
import SettingModal from '../Model/SettingModal';
|
|
22
|
+
|
|
23
|
+
export interface ContentProps {
|
|
24
|
+
series: ISeriesItem;
|
|
25
|
+
episode: ISeriesEpisode;
|
|
26
|
+
activeIndex: number;
|
|
27
|
+
}
|
|
28
|
+
export interface UnlockProps {
|
|
29
|
+
isVisible: boolean;
|
|
30
|
+
onClose: () => void;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface VideoProps {
|
|
34
|
+
currentTime: number;
|
|
35
|
+
duration: number;
|
|
36
|
+
paused: boolean;
|
|
37
|
+
buffering: boolean;
|
|
38
|
+
showCenterControls: boolean;
|
|
39
|
+
isLocked: boolean;
|
|
40
|
+
hasError: boolean;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface LikeProps {
|
|
44
|
+
liked: boolean;
|
|
45
|
+
count: number;
|
|
46
|
+
showAnimation: boolean;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface ActionsProps {
|
|
50
|
+
onLike?: (ep: ISeriesEpisode) => void;
|
|
51
|
+
onUnlockPress?: (ep: ISeriesEpisode) => void;
|
|
52
|
+
onEpisodeSelect?: (ep: ISeriesEpisode) => void;
|
|
53
|
+
onLikeMore?: (item: ILikeMoreData) => void;
|
|
54
|
+
onShare?: () => void;
|
|
55
|
+
onUnLock?: () => void;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface NavigationProps {
|
|
59
|
+
onBack?: () => void;
|
|
60
|
+
onSearch?: () => void;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface SettingsProps {
|
|
64
|
+
playbackRate: number;
|
|
65
|
+
quality: string;
|
|
66
|
+
onPlaybackRateChange: (rate: number) => void;
|
|
67
|
+
onQualityChange: (q: string) => void;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface MediaControlsProps {
|
|
71
|
+
children: React.ReactNode;
|
|
72
|
+
content: ContentProps;
|
|
73
|
+
video: VideoProps;
|
|
74
|
+
likes: LikeProps;
|
|
75
|
+
actions: ActionsProps;
|
|
76
|
+
navigation: NavigationProps;
|
|
77
|
+
settings: SettingsProps;
|
|
78
|
+
modal?: ModalState;
|
|
79
|
+
setModal?: (m: ModalState) => void;
|
|
80
|
+
unlock: UnlockProps;
|
|
81
|
+
theme: ITheme;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
const MediaControlsProvider: React.FC<MediaControlsProps> = ({
|
|
85
|
+
children,
|
|
86
|
+
content,
|
|
87
|
+
video,
|
|
88
|
+
likes,
|
|
89
|
+
actions,
|
|
90
|
+
navigation,
|
|
91
|
+
settings,
|
|
92
|
+
modal,
|
|
93
|
+
unlock,
|
|
94
|
+
setModal,
|
|
95
|
+
theme,
|
|
96
|
+
}) => {
|
|
97
|
+
const { series, episode, activeIndex } = content;
|
|
98
|
+
const isSeries = series?.episodes ? true : false;
|
|
99
|
+
|
|
100
|
+
const {
|
|
101
|
+
currentTime,
|
|
102
|
+
duration,
|
|
103
|
+
paused,
|
|
104
|
+
buffering,
|
|
105
|
+
showCenterControls,
|
|
106
|
+
isLocked,
|
|
107
|
+
hasError,
|
|
108
|
+
} = video;
|
|
109
|
+
|
|
110
|
+
const { liked, count, showAnimation } = likes;
|
|
111
|
+
|
|
112
|
+
const {
|
|
113
|
+
onLike,
|
|
114
|
+
onEpisodeSelect,
|
|
115
|
+
onLikeMore,
|
|
116
|
+
onUnlockPress,
|
|
117
|
+
onShare,
|
|
118
|
+
onUnLock,
|
|
119
|
+
} = actions;
|
|
120
|
+
|
|
121
|
+
const { onBack, onSearch } = navigation;
|
|
122
|
+
|
|
123
|
+
const { playbackRate, quality, onPlaybackRateChange, onQualityChange } =
|
|
124
|
+
settings;
|
|
125
|
+
|
|
126
|
+
const episodeLabel = React.useMemo(() => {
|
|
127
|
+
return series.episodes.length > 0
|
|
128
|
+
? `Ep ${activeIndex + 1}/${series.episodes.length}`
|
|
129
|
+
: undefined;
|
|
130
|
+
}, [activeIndex, series.episodes.length]);
|
|
131
|
+
|
|
132
|
+
return (
|
|
133
|
+
<View style={styles.root}>
|
|
134
|
+
{/* ❤️ Like Animation */}
|
|
135
|
+
<Like visible={showAnimation} />
|
|
136
|
+
|
|
137
|
+
{/* Video behind controls */}
|
|
138
|
+
{children}
|
|
139
|
+
|
|
140
|
+
{/* Gradient overlay */}
|
|
141
|
+
<GradientOverlay />
|
|
142
|
+
|
|
143
|
+
{/* UI Controls */}
|
|
144
|
+
<View style={StyleSheet.absoluteFillObject}>
|
|
145
|
+
{/* TOP */}
|
|
146
|
+
<TopControls
|
|
147
|
+
theme={theme}
|
|
148
|
+
onBack={onBack}
|
|
149
|
+
episodeLabel={episodeLabel}
|
|
150
|
+
onSettings={() => setModal?.({ type: 'settings', isVisible: true })}
|
|
151
|
+
onSearch={onSearch}
|
|
152
|
+
/>
|
|
153
|
+
|
|
154
|
+
{/* CENTER */}
|
|
155
|
+
<MiddleControls
|
|
156
|
+
isLocked={isLocked}
|
|
157
|
+
theme={theme}
|
|
158
|
+
onUnLock={onUnLock}
|
|
159
|
+
isVisible={showCenterControls}
|
|
160
|
+
isPaused={paused}
|
|
161
|
+
isBuffering={buffering}
|
|
162
|
+
hasError={hasError}
|
|
163
|
+
/>
|
|
164
|
+
|
|
165
|
+
{/* RIGHT ACTIONS */}
|
|
166
|
+
<RightControls
|
|
167
|
+
episode={episode}
|
|
168
|
+
isLiked={liked}
|
|
169
|
+
likeCount={count}
|
|
170
|
+
onLike={onLike}
|
|
171
|
+
showEpisodesButton={isSeries}
|
|
172
|
+
onDetailsPress={() =>
|
|
173
|
+
setModal?.({ type: 'details', isVisible: true })
|
|
174
|
+
}
|
|
175
|
+
onShare={onShare}
|
|
176
|
+
/>
|
|
177
|
+
|
|
178
|
+
<BottomControls
|
|
179
|
+
theme={theme}
|
|
180
|
+
series={series}
|
|
181
|
+
episodeIndex={activeIndex}
|
|
182
|
+
videoCurrentTime={currentTime}
|
|
183
|
+
videoDuration={duration}
|
|
184
|
+
onEpisodesPress={() =>
|
|
185
|
+
setModal?.({ type: 'details', isVisible: true })
|
|
186
|
+
}
|
|
187
|
+
/>
|
|
188
|
+
</View>
|
|
189
|
+
|
|
190
|
+
{/* DETAILS MODAL */}
|
|
191
|
+
{isSeries && (
|
|
192
|
+
<DetailsModal
|
|
193
|
+
reel={episode}
|
|
194
|
+
data={series}
|
|
195
|
+
activeEpisodeIndex={activeIndex}
|
|
196
|
+
theme={theme}
|
|
197
|
+
isVisible={modal?.type === 'details' && modal.isVisible}
|
|
198
|
+
onClose={() => setModal?.({ type: 'none', isVisible: false })}
|
|
199
|
+
onEpisodeSelect={onEpisodeSelect}
|
|
200
|
+
onLikeMorePress={onLikeMore}
|
|
201
|
+
/>
|
|
202
|
+
)}
|
|
203
|
+
|
|
204
|
+
{/* SETTINGS MODAL */}
|
|
205
|
+
<SettingModal
|
|
206
|
+
theme={theme}
|
|
207
|
+
speed={playbackRate}
|
|
208
|
+
quality={quality}
|
|
209
|
+
videoUrl={episode.videoUrl}
|
|
210
|
+
onSpeedChange={onPlaybackRateChange}
|
|
211
|
+
onQualityChange={onQualityChange}
|
|
212
|
+
isVisible={modal?.type === 'settings' && modal.isVisible}
|
|
213
|
+
onClose={() => setModal?.({ type: 'none', isVisible: false })}
|
|
214
|
+
/>
|
|
215
|
+
|
|
216
|
+
<UnLockModal
|
|
217
|
+
isVisible={unlock.isVisible}
|
|
218
|
+
onClose={() => unlock.onClose()}
|
|
219
|
+
theme={theme}
|
|
220
|
+
episode={episode}
|
|
221
|
+
data={series}
|
|
222
|
+
onUnlockPress={onUnlockPress}
|
|
223
|
+
/>
|
|
224
|
+
</View>
|
|
225
|
+
);
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
export default MediaControlsProvider;
|
|
229
|
+
|
|
230
|
+
const styles = StyleSheet.create({
|
|
231
|
+
root: {
|
|
232
|
+
flex: 1,
|
|
233
|
+
},
|
|
234
|
+
});
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, StyleSheet, Text } from 'react-native';
|
|
3
|
+
import { Pause, Play, AlertCircle } from 'lucide-react-native';
|
|
4
|
+
import { moderateScale, verticalScale } from 'react-native-size-matters';
|
|
5
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
6
|
+
import RotatingLoader from '../../ReelsSeries/components/RotatingLoader';
|
|
7
|
+
import { Button } from '../../../Button';
|
|
8
|
+
import type { ITheme } from '../../../../theme';
|
|
9
|
+
|
|
10
|
+
interface MiddleControlsProps {
|
|
11
|
+
isVisible: boolean;
|
|
12
|
+
isPaused: boolean;
|
|
13
|
+
isBuffering: boolean;
|
|
14
|
+
isLocked: boolean;
|
|
15
|
+
hasError: boolean;
|
|
16
|
+
onUnLock?: () => void;
|
|
17
|
+
theme: ITheme;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const MiddleControls: React.FC<MiddleControlsProps> = ({
|
|
21
|
+
isVisible,
|
|
22
|
+
isPaused,
|
|
23
|
+
isBuffering,
|
|
24
|
+
isLocked,
|
|
25
|
+
hasError,
|
|
26
|
+
onUnLock,
|
|
27
|
+
theme,
|
|
28
|
+
}) => {
|
|
29
|
+
if (!isVisible) return null;
|
|
30
|
+
|
|
31
|
+
return (
|
|
32
|
+
<View style={styles.container} pointerEvents="box-none">
|
|
33
|
+
{/* ERROR MESSAGE */}
|
|
34
|
+
{hasError && !isBuffering && (
|
|
35
|
+
<View style={styles.errorWrapper}>
|
|
36
|
+
<View style={styles.errorContainer}>
|
|
37
|
+
<View style={styles.errorIconContainer}>
|
|
38
|
+
<AlertCircle
|
|
39
|
+
color={styles.errorIconColor.color}
|
|
40
|
+
size={moderateScale(28)}
|
|
41
|
+
strokeWidth={2.5}
|
|
42
|
+
/>
|
|
43
|
+
</View>
|
|
44
|
+
<Text style={styles.errorText}>Unable to play video</Text>
|
|
45
|
+
<Text style={styles.errorSubtext}>Please try again later</Text>
|
|
46
|
+
</View>
|
|
47
|
+
</View>
|
|
48
|
+
)}
|
|
49
|
+
|
|
50
|
+
{/* BUFFERING LOADER */}
|
|
51
|
+
{isBuffering && !hasError && (
|
|
52
|
+
<View style={styles.loaderWrapper}>
|
|
53
|
+
<RotatingLoader
|
|
54
|
+
color={theme.colors.buttonText}
|
|
55
|
+
containerStyle={[
|
|
56
|
+
styles.loadingContainer,
|
|
57
|
+
{ backgroundColor: theme.colors.button },
|
|
58
|
+
]}
|
|
59
|
+
autoRotate={isBuffering}
|
|
60
|
+
/>
|
|
61
|
+
</View>
|
|
62
|
+
)}
|
|
63
|
+
|
|
64
|
+
{/* PLAY / PAUSE ICON */}
|
|
65
|
+
{!isBuffering && !isLocked && !hasError && (
|
|
66
|
+
<View style={styles.iconWrapper}>
|
|
67
|
+
<View
|
|
68
|
+
style={[
|
|
69
|
+
styles.iconBackground,
|
|
70
|
+
{ backgroundColor: theme.colors.button },
|
|
71
|
+
]}
|
|
72
|
+
pointerEvents="none"
|
|
73
|
+
>
|
|
74
|
+
{isPaused ? (
|
|
75
|
+
<Play color={theme.colors.buttonText} size={moderateScale(26)} />
|
|
76
|
+
) : (
|
|
77
|
+
<Pause color={theme.colors.buttonText} size={moderateScale(26)} />
|
|
78
|
+
)}
|
|
79
|
+
</View>
|
|
80
|
+
</View>
|
|
81
|
+
)}
|
|
82
|
+
|
|
83
|
+
{/* LOCKED → SHOW UNLOCK BUTTON */}
|
|
84
|
+
{!isBuffering && isLocked && !hasError && (
|
|
85
|
+
<View style={styles.unlockWrapper}>
|
|
86
|
+
<Button.Primary
|
|
87
|
+
title="Unlock Episode"
|
|
88
|
+
onPress={onUnLock}
|
|
89
|
+
theme={{
|
|
90
|
+
dark: theme.colors,
|
|
91
|
+
light: theme.colors,
|
|
92
|
+
}}
|
|
93
|
+
containerStyle={styles.unlockButton}
|
|
94
|
+
/>
|
|
95
|
+
</View>
|
|
96
|
+
)}
|
|
97
|
+
</View>
|
|
98
|
+
);
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export default MiddleControls;
|
|
102
|
+
|
|
103
|
+
/* ---------------------- STYLES ---------------------- */
|
|
104
|
+
|
|
105
|
+
const styles = StyleSheet.create({
|
|
106
|
+
container: {
|
|
107
|
+
position: 'absolute',
|
|
108
|
+
height: '100%',
|
|
109
|
+
width: '100%',
|
|
110
|
+
justifyContent: 'center',
|
|
111
|
+
alignItems: 'center',
|
|
112
|
+
zIndex: 5,
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
/* BUFFERING */
|
|
116
|
+
loaderWrapper: {
|
|
117
|
+
justifyContent: 'center',
|
|
118
|
+
alignItems: 'center',
|
|
119
|
+
},
|
|
120
|
+
loadingContainer: {
|
|
121
|
+
// backgroundColor: 'rgba(0,0,0,0.5)',
|
|
122
|
+
padding: moderateScale(8),
|
|
123
|
+
borderRadius: 50,
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
/* PLAY/PAUSE */
|
|
127
|
+
iconWrapper: {
|
|
128
|
+
justifyContent: 'center',
|
|
129
|
+
alignItems: 'center',
|
|
130
|
+
},
|
|
131
|
+
iconBackground: {
|
|
132
|
+
// backgroundColor: 'rgba(0,0,0,0.55)',
|
|
133
|
+
padding: moderateScale(12),
|
|
134
|
+
borderRadius: 50,
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
/* UNLOCK */
|
|
138
|
+
unlockWrapper: {
|
|
139
|
+
justifyContent: 'center',
|
|
140
|
+
alignItems: 'center',
|
|
141
|
+
},
|
|
142
|
+
unlockButton: {
|
|
143
|
+
paddingVertical: moderateScale(12),
|
|
144
|
+
paddingHorizontal: moderateScale(20),
|
|
145
|
+
borderRadius: moderateScale(30),
|
|
146
|
+
},
|
|
147
|
+
|
|
148
|
+
/* ERROR */
|
|
149
|
+
errorWrapper: {
|
|
150
|
+
justifyContent: 'center',
|
|
151
|
+
alignItems: 'center',
|
|
152
|
+
},
|
|
153
|
+
errorContainer: {
|
|
154
|
+
backgroundColor: 'rgba(21, 21, 21, 0.95)',
|
|
155
|
+
padding: moderateScale(20),
|
|
156
|
+
borderRadius: moderateScale(16),
|
|
157
|
+
alignItems: 'center',
|
|
158
|
+
minWidth: moderateScale(220),
|
|
159
|
+
borderWidth: 2,
|
|
160
|
+
borderColor: '#FF4444',
|
|
161
|
+
shadowColor: '#FF4444',
|
|
162
|
+
shadowOffset: {
|
|
163
|
+
width: 0,
|
|
164
|
+
height: 4,
|
|
165
|
+
},
|
|
166
|
+
shadowOpacity: 0.5,
|
|
167
|
+
shadowRadius: 12,
|
|
168
|
+
elevation: 10,
|
|
169
|
+
},
|
|
170
|
+
errorIconContainer: {
|
|
171
|
+
width: moderateScale(56),
|
|
172
|
+
height: moderateScale(56),
|
|
173
|
+
borderRadius: moderateScale(28),
|
|
174
|
+
backgroundColor: 'rgba(255, 68, 68, 0.15)',
|
|
175
|
+
justifyContent: 'center',
|
|
176
|
+
alignItems: 'center',
|
|
177
|
+
marginBottom: verticalScale(8),
|
|
178
|
+
},
|
|
179
|
+
errorIconColor: {
|
|
180
|
+
color: '#FF4444',
|
|
181
|
+
},
|
|
182
|
+
errorText: {
|
|
183
|
+
fontSize: RFValue(16),
|
|
184
|
+
fontWeight: '700',
|
|
185
|
+
marginTop: verticalScale(8),
|
|
186
|
+
textAlign: 'center',
|
|
187
|
+
letterSpacing: 0.3,
|
|
188
|
+
color: '#FFFFFF',
|
|
189
|
+
},
|
|
190
|
+
errorSubtext: {
|
|
191
|
+
fontSize: RFValue(13),
|
|
192
|
+
marginTop: verticalScale(6),
|
|
193
|
+
textAlign: 'center',
|
|
194
|
+
color: 'rgba(255, 255, 255, 0.75)',
|
|
195
|
+
},
|
|
196
|
+
});
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
|
|
3
|
+
import { Heart, Forward, ListVideo } from 'lucide-react-native';
|
|
4
|
+
import { moderateScale, verticalScale } from 'react-native-size-matters';
|
|
5
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
6
|
+
import type { ISeriesEpisode } from '../types';
|
|
7
|
+
|
|
8
|
+
interface RightControlsProps {
|
|
9
|
+
episode: ISeriesEpisode;
|
|
10
|
+
isLiked: boolean;
|
|
11
|
+
likeCount: number;
|
|
12
|
+
|
|
13
|
+
onLike?: (item: ISeriesEpisode) => void;
|
|
14
|
+
onDetailsPress?: () => void;
|
|
15
|
+
onShare?: () => void;
|
|
16
|
+
|
|
17
|
+
showEpisodesButton?: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const RightControls: React.FC<RightControlsProps> = ({
|
|
21
|
+
episode,
|
|
22
|
+
isLiked,
|
|
23
|
+
likeCount,
|
|
24
|
+
onLike,
|
|
25
|
+
onShare,
|
|
26
|
+
onDetailsPress,
|
|
27
|
+
showEpisodesButton = true,
|
|
28
|
+
}) => {
|
|
29
|
+
return (
|
|
30
|
+
<View style={styles.container}>
|
|
31
|
+
{/* ❤️ Like */}
|
|
32
|
+
<TouchableOpacity
|
|
33
|
+
style={styles.actionButton}
|
|
34
|
+
onPress={() => onLike?.(episode)}
|
|
35
|
+
activeOpacity={0.7}
|
|
36
|
+
>
|
|
37
|
+
<Heart
|
|
38
|
+
size={moderateScale(26)}
|
|
39
|
+
color={isLiked ? 'red' : '#fff'}
|
|
40
|
+
fill={isLiked ? 'red' : 'none'}
|
|
41
|
+
/>
|
|
42
|
+
<Text style={styles.actionLabel}>{likeCount}</Text>
|
|
43
|
+
</TouchableOpacity>
|
|
44
|
+
|
|
45
|
+
{/* 📺 Episodes / Details */}
|
|
46
|
+
{showEpisodesButton && (
|
|
47
|
+
<TouchableOpacity
|
|
48
|
+
style={styles.actionButton}
|
|
49
|
+
onPress={onDetailsPress}
|
|
50
|
+
activeOpacity={0.7}
|
|
51
|
+
>
|
|
52
|
+
<ListVideo color={'#fff'} size={moderateScale(26)} />
|
|
53
|
+
<Text style={styles.actionLabel}>Episodes</Text>
|
|
54
|
+
</TouchableOpacity>
|
|
55
|
+
)}
|
|
56
|
+
|
|
57
|
+
{/* 📤 Share */}
|
|
58
|
+
{onShare && (
|
|
59
|
+
<TouchableOpacity
|
|
60
|
+
style={styles.actionButton}
|
|
61
|
+
onPress={onShare}
|
|
62
|
+
activeOpacity={0.7}
|
|
63
|
+
>
|
|
64
|
+
<Forward color={'#fff'} size={moderateScale(26)} />
|
|
65
|
+
<Text style={styles.actionLabel}>Share</Text>
|
|
66
|
+
</TouchableOpacity>
|
|
67
|
+
)}
|
|
68
|
+
</View>
|
|
69
|
+
);
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export default RightControls;
|
|
73
|
+
|
|
74
|
+
const styles = StyleSheet.create({
|
|
75
|
+
container: {
|
|
76
|
+
position: 'absolute',
|
|
77
|
+
bottom: verticalScale(120),
|
|
78
|
+
right: moderateScale(10),
|
|
79
|
+
flexDirection: 'column',
|
|
80
|
+
zIndex: 20,
|
|
81
|
+
},
|
|
82
|
+
actionButton: {
|
|
83
|
+
marginVertical: verticalScale(10),
|
|
84
|
+
alignItems: 'center',
|
|
85
|
+
},
|
|
86
|
+
actionLabel: {
|
|
87
|
+
marginTop: verticalScale(4),
|
|
88
|
+
fontSize: RFValue(10),
|
|
89
|
+
color: '#fff',
|
|
90
|
+
textAlign: 'center',
|
|
91
|
+
},
|
|
92
|
+
});
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, TouchableOpacity, StyleSheet, Alert } from 'react-native';
|
|
3
|
+
import { ArrowLeft, Search, Settings } from 'lucide-react-native';
|
|
4
|
+
import { scale, verticalScale } from 'react-native-size-matters';
|
|
5
|
+
import type { ITheme } from '../../../../theme';
|
|
6
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
7
|
+
import { Text } from '../../../Text';
|
|
8
|
+
|
|
9
|
+
interface TopControlsProps {
|
|
10
|
+
theme: ITheme;
|
|
11
|
+
episodeLabel?: string;
|
|
12
|
+
onBack?: () => void;
|
|
13
|
+
onSearch?: () => void;
|
|
14
|
+
onSettings?: () => void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type BackBtnProps = {
|
|
18
|
+
size?: number;
|
|
19
|
+
color?: string;
|
|
20
|
+
onPress?: () => void;
|
|
21
|
+
theme: ITheme;
|
|
22
|
+
enableBlur?: boolean;
|
|
23
|
+
label?: string;
|
|
24
|
+
};
|
|
25
|
+
const BackBtn: React.FC<BackBtnProps> = ({
|
|
26
|
+
size = scale(24),
|
|
27
|
+
color,
|
|
28
|
+
onPress,
|
|
29
|
+
theme,
|
|
30
|
+
label,
|
|
31
|
+
}) => {
|
|
32
|
+
const handlePress = () => {
|
|
33
|
+
if (onPress) {
|
|
34
|
+
onPress();
|
|
35
|
+
} else {
|
|
36
|
+
Alert.alert(
|
|
37
|
+
'Back Action Not Provided',
|
|
38
|
+
'Please define the back action using onPress prop.'
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
const hasLabel = !!label;
|
|
43
|
+
return (
|
|
44
|
+
<TouchableOpacity
|
|
45
|
+
activeOpacity={0.8}
|
|
46
|
+
style={styles.backButton}
|
|
47
|
+
onPress={handlePress}
|
|
48
|
+
>
|
|
49
|
+
<ArrowLeft size={size} color={color || theme.colors.textPrimary} />
|
|
50
|
+
{hasLabel && (
|
|
51
|
+
<Text
|
|
52
|
+
style={[styles.text, { color: color || theme.colors.textPrimary }]}
|
|
53
|
+
color={color || theme.colors.textPrimary}
|
|
54
|
+
>
|
|
55
|
+
{label}
|
|
56
|
+
</Text>
|
|
57
|
+
)}
|
|
58
|
+
</TouchableOpacity>
|
|
59
|
+
);
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
const TopControls: React.FC<TopControlsProps> = ({
|
|
63
|
+
theme,
|
|
64
|
+
episodeLabel,
|
|
65
|
+
onBack,
|
|
66
|
+
onSearch,
|
|
67
|
+
onSettings,
|
|
68
|
+
}) => {
|
|
69
|
+
const insets = useSafeAreaInsets();
|
|
70
|
+
const top = insets.top;
|
|
71
|
+
return (
|
|
72
|
+
<View
|
|
73
|
+
style={[
|
|
74
|
+
styles.container,
|
|
75
|
+
{
|
|
76
|
+
top,
|
|
77
|
+
paddingLeft: scale(16),
|
|
78
|
+
paddingRight: scale(16),
|
|
79
|
+
},
|
|
80
|
+
]}
|
|
81
|
+
>
|
|
82
|
+
{/* Back Button with Episode Number */}
|
|
83
|
+
<View style={styles.leftContainer}>
|
|
84
|
+
{onBack && (
|
|
85
|
+
<BackBtn
|
|
86
|
+
theme={theme}
|
|
87
|
+
onPress={onBack}
|
|
88
|
+
color={theme.colors.white}
|
|
89
|
+
size={scale(20)}
|
|
90
|
+
label={episodeLabel}
|
|
91
|
+
/>
|
|
92
|
+
)}
|
|
93
|
+
</View>
|
|
94
|
+
|
|
95
|
+
{/* Right Side Controls Container */}
|
|
96
|
+
<View style={styles.rightControlsContainer}>
|
|
97
|
+
{/* Search Button */}
|
|
98
|
+
{onSearch && (
|
|
99
|
+
<TouchableOpacity
|
|
100
|
+
style={styles.iconButton}
|
|
101
|
+
onPress={onSearch}
|
|
102
|
+
activeOpacity={0.7}
|
|
103
|
+
>
|
|
104
|
+
<Search color={theme.colors.white} size={verticalScale(22)} />
|
|
105
|
+
</TouchableOpacity>
|
|
106
|
+
)}
|
|
107
|
+
|
|
108
|
+
{/* Video Controls Button */}
|
|
109
|
+
<TouchableOpacity
|
|
110
|
+
style={styles.iconButton}
|
|
111
|
+
onPress={onSettings}
|
|
112
|
+
activeOpacity={0.7}
|
|
113
|
+
>
|
|
114
|
+
<Settings color={theme.colors.white} size={verticalScale(22)} />
|
|
115
|
+
</TouchableOpacity>
|
|
116
|
+
</View>
|
|
117
|
+
</View>
|
|
118
|
+
);
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
export default TopControls;
|
|
122
|
+
|
|
123
|
+
const styles = StyleSheet.create({
|
|
124
|
+
container: {
|
|
125
|
+
position: 'absolute',
|
|
126
|
+
top: 0,
|
|
127
|
+
left: 0,
|
|
128
|
+
right: 0,
|
|
129
|
+
flexDirection: 'row',
|
|
130
|
+
justifyContent: 'space-between',
|
|
131
|
+
alignItems: 'center',
|
|
132
|
+
zIndex: 10,
|
|
133
|
+
},
|
|
134
|
+
leftContainer: {
|
|
135
|
+
flex: 1,
|
|
136
|
+
flexDirection: 'row',
|
|
137
|
+
alignItems: 'center',
|
|
138
|
+
},
|
|
139
|
+
backButton: {
|
|
140
|
+
flexDirection: 'row',
|
|
141
|
+
alignItems: 'center',
|
|
142
|
+
paddingVertical: verticalScale(8),
|
|
143
|
+
paddingHorizontal: scale(4),
|
|
144
|
+
},
|
|
145
|
+
rightControlsContainer: {
|
|
146
|
+
flexDirection: 'row',
|
|
147
|
+
alignItems: 'center',
|
|
148
|
+
justifyContent: 'flex-end',
|
|
149
|
+
},
|
|
150
|
+
iconButton: {
|
|
151
|
+
padding: scale(8),
|
|
152
|
+
justifyContent: 'center',
|
|
153
|
+
alignItems: 'center',
|
|
154
|
+
},
|
|
155
|
+
text: {
|
|
156
|
+
fontSize: scale(14),
|
|
157
|
+
fontWeight: '600',
|
|
158
|
+
marginLeft: scale(8),
|
|
159
|
+
textShadowColor: 'rgba(0, 0, 0, 0.75)',
|
|
160
|
+
textShadowOffset: { width: 0, height: verticalScale(1) },
|
|
161
|
+
textShadowRadius: scale(3),
|
|
162
|
+
},
|
|
163
|
+
});
|