@zezosoft/zezo-ott-react-native-ui-kit 0.1.0 → 1.0.0
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 +46 -15
- package/lib/module/Styles/globalStyles.js +76 -0
- package/lib/module/Styles/globalStyles.js.map +1 -0
- package/lib/module/assets/animations/135037-payment-processing-error.json +0 -0
- package/lib/module/assets/animations/7227-vui-animation.json +0 -0
- package/lib/module/assets/animations/succesfull-payment.json +0 -0
- package/lib/module/assets/animations/voice-icon.json +0 -0
- package/lib/module/assets/img/back.png +0 -0
- package/lib/module/assets/img/bottom-panel.png +0 -0
- package/lib/module/assets/img/camera.png +0 -0
- package/lib/module/assets/img/camera2.png +0 -0
- package/lib/module/assets/img/h.svg +0 -0
- package/lib/module/assets/img/home.png +0 -0
- package/lib/module/assets/img/lock.png +0 -0
- package/lib/module/assets/img/play.png +0 -0
- package/lib/module/assets/img/profile.jpg +0 -0
- package/lib/module/assets/img/qr-code.png +0 -0
- package/lib/module/assets/img/shadow.png +0 -0
- package/lib/module/assets/img/shadow2.png +0 -0
- package/lib/module/assets/img/user.png +0 -0
- package/lib/module/assets/svg/Account.svg +4 -0
- package/lib/module/assets/svg/Favourite.svg +14 -0
- package/lib/module/assets/svg/Upcoming.svg +4 -0
- package/lib/module/assets/svg/content-error.svg +0 -0
- package/lib/module/assets/svg/download.svg +0 -0
- package/lib/module/assets/svg/eye-off.svg +10 -0
- package/lib/module/assets/svg/favorites.svg +0 -0
- package/lib/module/assets/svg/home.svg +0 -0
- package/lib/module/assets/svg/home1.svg +3 -0
- package/lib/module/assets/svg/menu-bar.svg +0 -0
- package/lib/module/assets/svg/my-space.svg +0 -0
- package/lib/module/assets/svg/play-icon-with-bg.svg +0 -0
- package/lib/module/assets/svg/profile.svg +4 -0
- package/lib/module/assets/svg/search.svg +0 -0
- package/lib/module/assets/svg/search1.svg +4 -0
- package/lib/module/assets/svg/server-error.svg +0 -0
- package/lib/module/components/Account/Account.js +254 -0
- package/lib/module/components/Account/Account.js.map +1 -0
- package/lib/module/components/Account/index.js +4 -0
- package/lib/module/components/Account/index.js.map +1 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +205 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/Login/LoginWithEmail.js +292 -0
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/Login/LoginWithPhone.js +199 -0
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/OTP/OTP.js +255 -0
- package/lib/module/components/Auth/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/SignUp/SignUp.js +329 -0
- package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/index.js +21 -0
- package/lib/module/components/Auth/index.js.map +1 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +104 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -0
- package/lib/module/components/BlogView/BlogView.js +192 -0
- package/lib/module/components/BlogView/BlogView.js.map +1 -0
- package/lib/module/components/BlogView/index.js +10 -0
- package/lib/module/components/BlogView/index.js.map +1 -0
- package/lib/module/components/Button/BackBtn.js +72 -0
- package/lib/module/components/Button/BackBtn.js.map +1 -0
- package/lib/module/components/Button/MenuBtn.js +167 -0
- package/lib/module/components/Button/MenuBtn.js.map +1 -0
- package/lib/module/components/Button/PrimaryBtn.js +82 -0
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -0
- package/lib/module/components/Button/TextButton.js +88 -0
- package/lib/module/components/Button/TextButton.js.map +1 -0
- package/lib/module/components/Button/index.js +17 -0
- package/lib/module/components/Button/index.js.map +1 -0
- package/lib/module/components/Content/Card/Category/Category.js +181 -0
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +354 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +313 -0
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +198 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -0
- package/lib/module/components/{Section → Content}/Card/Sliders/index.js +4 -2
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Five.js +197 -0
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Four.js +202 -0
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/One.js +237 -0
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +215 -0
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Six.js +207 -0
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Three.js +213 -0
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/TopTen.js +289 -0
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Two.js +215 -0
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -0
- package/lib/module/components/Content/Card/components/CardPoster.js +175 -0
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -0
- package/lib/module/components/Content/Card/components/NavigateToMore.js +56 -0
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -0
- package/lib/module/components/Content/Card/components/NoContentFallback.js +115 -0
- package/lib/module/components/Content/Card/components/NoContentFallback.js.map +1 -0
- package/lib/module/components/Content/Card/components/ShowAllButton.js +71 -0
- package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -0
- package/lib/module/components/Content/Card/components/ThumbnailCard.js +128 -0
- package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -0
- package/lib/module/components/Content/Card/index.js +32 -0
- package/lib/module/components/Content/Card/index.js.map +1 -0
- package/lib/module/components/Content/Content.js +113 -0
- package/lib/module/components/Content/Content.js.map +1 -0
- package/lib/module/components/Content/Sections.js +145 -0
- package/lib/module/components/Content/Sections.js.map +1 -0
- package/lib/module/components/ContentView/ContentView.js +128 -0
- package/lib/module/components/ContentView/ContentView.js.map +1 -0
- package/lib/module/components/ContentView/components/AboutSection.js +114 -0
- package/lib/module/components/ContentView/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/components/CastCard.js +190 -0
- package/lib/module/components/ContentView/components/CastCard.js.map +1 -0
- package/lib/module/components/ContentView/components/EpisodeCard.js +373 -0
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/components/GenreTags.js +77 -0
- package/lib/module/components/ContentView/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/components/HeroBanner.js +222 -0
- package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/components/PlayButton.js +40 -0
- package/lib/module/components/ContentView/components/PlayButton.js.map +1 -0
- package/lib/module/components/ContentView/components/Title.js +103 -0
- package/lib/module/components/ContentView/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/components/TrailerButton.js +53 -0
- package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -0
- package/lib/module/components/ContentView/index.js +9 -0
- package/lib/module/components/ContentView/index.js.map +1 -0
- package/lib/module/components/Headers/AppHeader.js +101 -0
- package/lib/module/components/Headers/AppHeader.js.map +1 -0
- package/lib/module/components/Headers/One.js +31 -28
- package/lib/module/components/Headers/One.js.map +1 -1
- package/lib/module/components/Headers/Three.js +7 -12
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/Two.js +8 -8
- package/lib/module/components/Headers/Two.js.map +1 -1
- package/lib/module/components/Headers/index.js +4 -4
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Icons/AlertIcon.js.map +1 -1
- package/lib/module/components/Icons/DeviceIcon.js.map +1 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +1 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +1 -1
- package/lib/module/components/Icons/NewIndex.js +13 -1
- package/lib/module/components/Icons/NewIndex.js.map +1 -1
- package/lib/module/components/Icons/ResendOTP.js.map +1 -1
- package/lib/module/components/Input/Input.js +17 -0
- package/lib/module/components/Input/Input.js.map +1 -0
- package/lib/module/components/Input/InputOne.js +124 -0
- package/lib/module/components/Input/InputOne.js.map +1 -0
- package/lib/module/components/Input/InputTwo.js +152 -0
- package/lib/module/components/Input/InputTwo.js.map +1 -0
- package/lib/module/components/Input/PhoneNumberInput.js +284 -0
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -0
- package/lib/module/components/Keyboard/HideKeyboard.js +41 -0
- package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -0
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +42 -5
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/Search/One.js +191 -0
- package/lib/module/components/Search/One.js.map +1 -0
- package/lib/module/components/Search/components/RecentSearchesSection.js +160 -0
- package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -0
- package/lib/module/components/Search/components/SearchCard.js +181 -0
- package/lib/module/components/Search/components/SearchCard.js.map +1 -0
- package/lib/module/components/Search/index.js +14 -0
- package/lib/module/components/Search/index.js.map +1 -0
- package/lib/module/components/Settings/AppSettings.js +225 -0
- package/lib/module/components/Settings/AppSettings.js.map +1 -0
- package/lib/module/components/Settings/index.js +4 -0
- package/lib/module/components/Settings/index.js.map +1 -0
- package/lib/module/components/SplashScreen/SplashScreen.js +109 -0
- package/lib/module/components/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/SplashScreen/components/SplashImage/SplashImage.js +68 -0
- package/lib/module/components/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/SplashScreen/components/SplashLottie/SplashLottie.js +66 -0
- package/lib/module/components/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/SplashScreen/components/SplashVideo/SplashVideo.js +68 -0
- package/lib/module/components/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/SplashScreen/index.js +9 -0
- package/lib/module/components/SplashScreen/index.js.map +1 -0
- package/lib/module/components/Subscription/SubOne.js +332 -0
- package/lib/module/components/Subscription/SubOne.js.map +1 -0
- package/lib/module/components/Subscription/index.js +13 -0
- package/lib/module/components/Subscription/index.js.map +1 -0
- package/lib/module/components/TabBar/One.js +144 -0
- package/lib/module/components/TabBar/One.js.map +1 -0
- package/lib/module/components/TabBar/Three.js +127 -0
- package/lib/module/components/TabBar/Three.js.map +1 -0
- package/lib/module/components/TabBar/Two.js +131 -0
- package/lib/module/components/TabBar/Two.js.map +1 -0
- package/lib/module/components/TabBar/index.js +17 -0
- package/lib/module/components/TabBar/index.js.map +1 -0
- package/lib/module/components/Text/Text.js +43 -0
- package/lib/module/components/Text/Text.js.map +1 -0
- package/lib/module/components/Text/index.js +8 -0
- package/lib/module/components/Text/index.js.map +1 -0
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js +314 -0
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js +118 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -0
- package/lib/module/components/User/WatchLater/WatchLater.js +272 -0
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -0
- package/lib/module/components/User/components/UserAvatar.js +44 -0
- package/lib/module/components/User/components/UserAvatar.js.map +1 -0
- package/lib/module/components/User/components/UserSection.js +163 -0
- package/lib/module/components/User/components/UserSection.js.map +1 -0
- package/lib/module/components/User/index.js +12 -0
- package/lib/module/components/User/index.js.map +1 -0
- package/lib/module/components/View/View.js +24 -0
- package/lib/module/components/View/View.js.map +1 -0
- package/lib/module/components/View/index.js +8 -0
- package/lib/module/components/View/index.js.map +1 -0
- package/lib/module/components/index.js +19 -5
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js +33 -0
- package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -0
- package/lib/module/components/layout/index.js +4 -0
- package/lib/module/components/layout/index.js.map +1 -0
- package/lib/module/constants/dummySections.js +38 -0
- package/lib/module/constants/dummySections.js.map +1 -0
- package/lib/module/hooks/useDebounce.js +11 -0
- package/lib/module/hooks/useDebounce.js.map +1 -0
- package/lib/module/hooks/useInitSplashCacheSync.js +112 -0
- package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -0
- package/lib/module/hooks/useKeyboard.js +33 -0
- package/lib/module/hooks/useKeyboard.js.map +1 -0
- package/lib/module/hooks/usePaginatedSection.js +57 -0
- package/lib/module/hooks/usePaginatedSection.js.map +1 -0
- package/lib/module/index.js +3 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/store/RecentSearchesStore.js +65 -0
- package/lib/module/store/RecentSearchesStore.js.map +1 -0
- package/lib/module/store/splashStore.js +69 -0
- package/lib/module/store/splashStore.js.map +1 -0
- package/lib/module/theme/ThemeProvider.js +87 -0
- package/lib/module/theme/ThemeProvider.js.map +1 -0
- package/lib/module/theme/index.js +9 -0
- package/lib/module/theme/index.js.map +1 -0
- package/lib/module/theme/themes.js +124 -90
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/types/content/content-view.types.js +4 -0
- package/lib/module/types/content/content-view.types.js.map +1 -0
- package/lib/module/types/content/index.js +2 -0
- package/lib/module/types/content/index.js.map +1 -0
- package/lib/module/types/hook/index.js +2 -0
- package/lib/module/types/hook/index.js.map +1 -0
- package/lib/module/types/hook/usePaginatedSetion.js +4 -0
- package/lib/module/types/hook/usePaginatedSetion.js.map +1 -0
- package/lib/module/types/index.js +0 -3
- package/lib/module/types/index.js.map +1 -1
- package/lib/module/types/sections/index.js +4 -0
- package/lib/module/types/sections/index.js.map +1 -0
- package/lib/module/utils/Display.js +22 -0
- package/lib/module/utils/Display.js.map +1 -0
- package/lib/module/utils/PlatformSelector.js +31 -0
- package/lib/module/utils/PlatformSelector.js.map +1 -0
- package/lib/module/utils/SizeMatters.js +9 -0
- package/lib/module/utils/SizeMatters.js.map +1 -0
- package/lib/typescript/src/Styles/globalStyles.d.ts +71 -0
- package/lib/typescript/src/Styles/globalStyles.d.ts.map +1 -0
- package/lib/typescript/src/components/Account/Account.d.ts +56 -0
- package/lib/typescript/src/components/Account/Account.d.ts.map +1 -0
- package/lib/typescript/src/components/Account/index.d.ts +2 -0
- package/lib/typescript/src/components/Account/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts +48 -0
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts +65 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts +53 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts +58 -0
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts +61 -0
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/index.d.ts +192 -0
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts +15 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -0
- package/lib/typescript/src/components/BlogView/BlogView.d.ts +28 -0
- package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -0
- package/lib/typescript/src/components/BlogView/index.d.ts +7 -0
- package/lib/typescript/src/components/BlogView/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/BackBtn.d.ts +18 -0
- package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/MenuBtn.d.ts +24 -0
- package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +20 -0
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/TextButton.d.ts +17 -0
- package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/index.d.ts +38 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts +49 -0
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts +20 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts +18 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +22 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +36 -0
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +37 -0
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +37 -0
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +37 -0
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +32 -0
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +37 -0
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +33 -0
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +36 -0
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +20 -0
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts +17 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +18 -0
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts +20 -0
- package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts +19 -0
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/index.d.ts +237 -0
- package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Content.d.ts +58 -0
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Sections.d.ts +45 -0
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +24 -0
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +32 -0
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +22 -0
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +22 -0
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +8 -0
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/Title.d.ts +24 -0
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +18 -0
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/index.d.ts +6 -0
- package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/AppHeader.d.ts +20 -0
- package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/One.d.ts +4 -3
- package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts +3 -3
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts +3 -3
- 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/Icons/AlertIcon.d.ts +1 -1
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +1 -1
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/Icons/NewIndex.d.ts +6 -0
- package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +1 -1
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/Input.d.ts +11 -0
- package/lib/typescript/src/components/Input/Input.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/InputOne.d.ts +21 -0
- package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/InputTwo.d.ts +25 -0
- package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts +26 -0
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -0
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts +15 -0
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -0
- package/lib/typescript/src/components/Logo/Logo.d.ts +3 -0
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts +46 -0
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -0
- package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts +16 -0
- package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts.map +1 -0
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts +32 -0
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -0
- package/lib/typescript/src/components/Search/index.d.ts +11 -0
- package/lib/typescript/src/components/Search/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Settings/AppSettings.d.ts +53 -0
- package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -0
- package/lib/typescript/src/components/Settings/index.d.ts +2 -0
- package/lib/typescript/src/components/Settings/index.d.ts.map +1 -0
- package/lib/typescript/src/components/SplashScreen/SplashScreen.d.ts +32 -0
- package/lib/typescript/src/components/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/SplashScreen/components/SplashImage/SplashImage.d.ts +17 -0
- package/lib/typescript/src/components/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
- package/lib/typescript/src/components/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/SplashScreen/components/SplashVideo/SplashVideo.d.ts +19 -0
- package/lib/typescript/src/components/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/SplashScreen/index.d.ts +6 -0
- package/lib/typescript/src/components/SplashScreen/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Subscription/SubOne.d.ts +40 -0
- package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -0
- package/lib/typescript/src/components/Subscription/index.d.ts +30 -0
- package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -0
- package/lib/typescript/src/components/TabBar/One.d.ts +33 -0
- package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -0
- package/lib/typescript/src/components/TabBar/Three.d.ts +24 -0
- package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/TabBar/Two.d.ts +24 -0
- package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -0
- package/lib/typescript/src/components/TabBar/index.d.ts +14 -0
- package/lib/typescript/src/components/TabBar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Text/Text.d.ts +19 -0
- package/lib/typescript/src/components/Text/Text.d.ts.map +1 -0
- package/lib/typescript/src/components/Text/index.d.ts +6 -0
- package/lib/typescript/src/components/Text/index.d.ts.map +1 -0
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +69 -0
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -0
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts +49 -0
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -0
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts +46 -0
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -0
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts +10 -0
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -0
- package/lib/typescript/src/components/User/components/UserSection.d.ts +30 -0
- package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -0
- package/lib/typescript/src/components/User/index.d.ts +9 -0
- package/lib/typescript/src/components/User/index.d.ts.map +1 -0
- package/lib/typescript/src/components/View/View.d.ts +12 -0
- package/lib/typescript/src/components/View/View.d.ts.map +1 -0
- package/lib/typescript/src/components/View/index.d.ts +6 -0
- package/lib/typescript/src/components/View/index.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +16 -2
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts +15 -0
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -0
- package/lib/typescript/src/components/layout/index.d.ts +2 -0
- package/lib/typescript/src/components/layout/index.d.ts.map +1 -0
- package/lib/typescript/src/constants/dummySections.d.ts +3 -0
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts +22 -0
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useKeyboard.d.ts +9 -0
- package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -0
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts +11 -0
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +3 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/store/RecentSearchesStore.d.ts +26 -0
- package/lib/typescript/src/store/RecentSearchesStore.d.ts.map +1 -0
- package/lib/typescript/src/store/splashStore.d.ts +29 -0
- package/lib/typescript/src/store/splashStore.d.ts.map +1 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts +19 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/src/theme/index.d.ts +6 -0
- package/lib/typescript/src/theme/index.d.ts.map +1 -0
- package/lib/typescript/src/theme/themes.d.ts +38 -25
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts +137 -0
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -0
- package/lib/typescript/src/types/{content.types.d.ts → content/index.d.ts} +89 -69
- package/lib/typescript/src/types/content/index.d.ts.map +1 -0
- package/lib/typescript/src/types/hook/index.d.ts +6 -0
- package/lib/typescript/src/types/hook/index.d.ts.map +1 -0
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +16 -0
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +7 -2
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/types/sections/index.d.ts +62 -0
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -0
- package/lib/typescript/src/utils/Display.d.ts +8 -0
- package/lib/typescript/src/utils/Display.d.ts.map +1 -0
- package/lib/typescript/src/utils/PlatformSelector.d.ts +22 -0
- package/lib/typescript/src/utils/PlatformSelector.d.ts.map +1 -0
- package/lib/typescript/src/utils/SizeMatters.d.ts +7 -0
- package/lib/typescript/src/utils/SizeMatters.d.ts.map +1 -0
- package/package.json +73 -125
- package/src/Styles/globalStyles.ts +75 -0
- package/src/assets/animations/135037-payment-processing-error.json +0 -0
- package/src/assets/animations/7227-vui-animation.json +0 -0
- package/src/assets/animations/succesfull-payment.json +0 -0
- package/src/assets/animations/voice-icon.json +0 -0
- package/src/assets/img/back.png +0 -0
- package/src/assets/img/bottom-panel.png +0 -0
- package/src/assets/img/camera.png +0 -0
- package/src/assets/img/camera2.png +0 -0
- package/src/assets/img/h.svg +0 -0
- package/src/assets/img/home.png +0 -0
- package/src/assets/img/lock.png +0 -0
- package/src/assets/img/play.png +0 -0
- package/src/assets/img/profile.jpg +0 -0
- package/src/assets/img/qr-code.png +0 -0
- package/src/assets/img/shadow.png +0 -0
- package/src/assets/img/shadow2.png +0 -0
- package/src/assets/img/user.png +0 -0
- package/src/assets/svg/Account.svg +4 -0
- package/src/assets/svg/Favourite.svg +14 -0
- package/src/assets/svg/Upcoming.svg +4 -0
- package/src/assets/svg/content-error.svg +0 -0
- package/src/assets/svg/download.svg +0 -0
- package/src/assets/svg/eye-off.svg +10 -0
- package/src/assets/svg/favorites.svg +0 -0
- package/src/assets/svg/home.svg +0 -0
- package/src/assets/svg/home1.svg +3 -0
- package/src/assets/svg/menu-bar.svg +0 -0
- package/src/assets/svg/my-space.svg +0 -0
- package/src/assets/svg/play-icon-with-bg.svg +0 -0
- package/src/assets/svg/profile.svg +4 -0
- package/src/assets/svg/search.svg +0 -0
- package/src/assets/svg/search1.svg +4 -0
- package/src/assets/svg/server-error.svg +0 -0
- package/src/components/Account/Account.tsx +288 -0
- package/src/components/Account/index.ts +1 -0
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +254 -0
- package/src/components/Auth/Login/LoginWithEmail.tsx +357 -0
- package/src/components/Auth/Login/LoginWithPhone.tsx +249 -0
- package/src/components/Auth/OTP/OTP.tsx +322 -0
- package/src/components/Auth/SignUp/SignUp.tsx +383 -0
- package/src/components/Auth/index.ts +20 -0
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +114 -0
- package/src/components/BlogView/BlogView.tsx +195 -0
- package/src/components/BlogView/index.ts +8 -0
- package/src/components/Button/BackBtn.tsx +83 -0
- package/src/components/Button/MenuBtn.tsx +193 -0
- package/src/components/Button/PrimaryBtn.tsx +88 -0
- package/src/components/Button/TextButton.tsx +107 -0
- package/src/components/Button/index.ts +16 -0
- package/src/components/Content/Card/Category/Category.tsx +262 -0
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +412 -0
- package/src/components/Content/Card/Sliders/Styles/One.tsx +320 -0
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +209 -0
- package/src/components/{Section → Content}/Card/Sliders/index.ts +3 -1
- package/src/components/Content/Card/Styles/Five.tsx +240 -0
- package/src/components/Content/Card/Styles/Four.tsx +245 -0
- package/src/components/Content/Card/Styles/One.tsx +309 -0
- package/src/components/Content/Card/Styles/RotateInOut.tsx +280 -0
- package/src/components/Content/Card/Styles/Six.tsx +247 -0
- package/src/components/Content/Card/Styles/Three.tsx +279 -0
- package/src/components/Content/Card/Styles/TopTen.tsx +342 -0
- package/src/components/Content/Card/Styles/Two.tsx +288 -0
- package/src/components/Content/Card/components/CardPoster.tsx +204 -0
- package/src/components/Content/Card/components/NavigateToMore.tsx +58 -0
- package/src/components/Content/Card/components/NoContentFallback.tsx +129 -0
- package/src/components/Content/Card/components/ShowAllButton.tsx +83 -0
- package/src/components/Content/Card/components/ThumbnailCard.tsx +150 -0
- package/src/components/Content/Card/index.ts +30 -0
- package/src/components/Content/Content.tsx +187 -0
- package/src/components/Content/Sections.tsx +169 -0
- package/src/components/ContentView/ContentView.tsx +137 -0
- package/src/components/ContentView/components/AboutSection.tsx +138 -0
- package/src/components/ContentView/components/CastCard.tsx +212 -0
- package/src/components/ContentView/components/EpisodeCard.tsx +428 -0
- package/src/components/ContentView/components/GenreTags.tsx +92 -0
- package/src/components/ContentView/components/HeroBanner.tsx +244 -0
- package/src/components/ContentView/components/PlayButton.tsx +37 -0
- package/src/components/ContentView/components/Title.tsx +120 -0
- package/src/components/ContentView/components/TrailerButton.tsx +53 -0
- package/src/components/ContentView/index.ts +6 -0
- package/src/components/Headers/AppHeader.tsx +122 -0
- package/src/components/Headers/One.tsx +34 -28
- package/src/components/Headers/Three.tsx +12 -23
- package/src/components/Headers/Two.tsx +14 -22
- package/src/components/Headers/index.ts +2 -2
- package/src/components/Icons/AlertIcon.tsx +2 -13
- package/src/components/Icons/DeviceIcon.tsx +1 -7
- package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -0
- package/src/components/Icons/ForgotPasswordMessageIcon.tsx +3 -24
- package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +2 -16
- package/src/components/Icons/NewIndex.ts +12 -0
- package/src/components/Icons/ResendOTP.tsx +2 -12
- package/src/components/Input/Input.ts +16 -0
- package/src/components/Input/InputOne.tsx +160 -0
- package/src/components/Input/InputTwo.tsx +188 -0
- package/src/components/Input/PhoneNumberInput.tsx +382 -0
- package/src/components/Keyboard/HideKeyboard.tsx +56 -0
- package/src/components/Loader/Loader.tsx +2 -2
- package/src/components/Logo/Logo.tsx +69 -26
- package/src/components/Search/One.tsx +228 -0
- package/src/components/Search/components/RecentSearchesSection.tsx +153 -0
- package/src/components/Search/components/SearchCard.tsx +193 -0
- package/src/components/Search/index.ts +16 -0
- package/src/components/Settings/AppSettings.tsx +287 -0
- package/src/components/Settings/index.ts +1 -0
- package/src/components/SplashScreen/SplashScreen.tsx +131 -0
- package/src/components/SplashScreen/components/SplashImage/SplashImage.tsx +84 -0
- package/src/components/SplashScreen/components/SplashLottie/SplashLottie.tsx +83 -0
- package/src/components/SplashScreen/components/SplashVideo/SplashVideo.tsx +94 -0
- package/src/components/SplashScreen/index.ts +6 -0
- package/src/components/Subscription/SubOne.tsx +336 -0
- package/src/components/Subscription/index.ts +12 -0
- package/src/components/TabBar/One.tsx +199 -0
- package/src/components/TabBar/Three.tsx +134 -0
- package/src/components/TabBar/Two.tsx +151 -0
- package/src/components/TabBar/index.ts +20 -0
- package/src/components/Text/Text.tsx +57 -0
- package/src/components/Text/index.ts +5 -0
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +373 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +175 -0
- package/src/components/User/WatchLater/WatchLater.tsx +290 -0
- package/src/components/User/components/UserAvatar.tsx +43 -0
- package/src/components/User/components/UserSection.tsx +181 -0
- package/src/components/User/index.ts +9 -0
- package/src/components/View/View.tsx +19 -0
- package/src/components/View/index.ts +5 -0
- package/src/components/index.ts +16 -2
- package/src/components/layout/SafeAreaWrapper.tsx +32 -0
- package/src/components/layout/index.ts +1 -0
- package/src/constants/dummySections.ts +45 -0
- package/src/hooks/useDebounce.ts +13 -0
- package/src/hooks/useInitSplashCacheSync.ts +159 -0
- package/src/hooks/useKeyboard.ts +33 -0
- package/src/hooks/usePaginatedSection.ts +74 -0
- package/src/index.ts +3 -1
- package/src/store/RecentSearchesStore.ts +74 -0
- package/src/store/splashStore.ts +91 -0
- package/src/theme/ThemeProvider.tsx +103 -0
- package/src/theme/index.ts +6 -0
- package/src/theme/themes.ts +210 -123
- package/src/types/content/content-view.types.ts +146 -0
- package/src/types/{content.types.ts → content/index.ts} +108 -77
- package/src/types/hook/index.ts +5 -0
- package/src/types/hook/usePaginatedSetion.ts +19 -0
- package/src/types/index.ts +7 -2
- package/src/types/sections/index.ts +81 -0
- package/src/utils/Display.ts +14 -0
- package/src/utils/PlatformSelector.ts +29 -0
- package/src/utils/SizeMatters.ts +7 -0
- package/lib/module/assets/img/profile.png +0 -0
- package/lib/module/components/Button/Button.js +0 -22
- package/lib/module/components/Button/Button.js.map +0 -1
- package/lib/module/components/Button/styles.js +0 -23
- package/lib/module/components/Button/styles.js.map +0 -1
- package/lib/module/components/Section/Card/Sliders/Styles/One.js +0 -123
- package/lib/module/components/Section/Card/Sliders/Styles/One.js.map +0 -1
- package/lib/module/components/Section/Card/Sliders/index.js.map +0 -1
- package/lib/module/components/Section/Card/Styles/One.js +0 -92
- package/lib/module/components/Section/Card/Styles/One.js.map +0 -1
- package/lib/module/components/Section/Card/index.js +0 -14
- package/lib/module/components/Section/Card/index.js.map +0 -1
- package/lib/module/components/Section/SectionType.js +0 -98
- package/lib/module/components/Section/SectionType.js.map +0 -1
- package/lib/module/components/Section/Sections.js +0 -72
- package/lib/module/components/Section/Sections.js.map +0 -1
- package/lib/module/package.json +0 -1
- package/lib/module/sample.test.js +0 -8
- package/lib/module/sample.test.js.map +0 -1
- package/lib/module/theme/useAppTheme.js +0 -14
- package/lib/module/theme/useAppTheme.js.map +0 -1
- package/lib/module/types/content.types.js +0 -2
- package/lib/module/types/content.types.js.map +0 -1
- package/lib/module/types/sections.types.js +0 -4
- package/lib/module/types/sections.types.js.map +0 -1
- package/lib/typescript/package.json +0 -1
- package/lib/typescript/src/components/Button/Button.d.ts +0 -9
- package/lib/typescript/src/components/Button/Button.d.ts.map +0 -1
- package/lib/typescript/src/components/Button/styles.d.ts +0 -20
- package/lib/typescript/src/components/Button/styles.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/Card/Sliders/Styles/One.d.ts +0 -18
- package/lib/typescript/src/components/Section/Card/Sliders/Styles/One.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/Card/Sliders/index.d.ts +0 -7
- package/lib/typescript/src/components/Section/Card/Sliders/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/Card/Styles/One.d.ts +0 -19
- package/lib/typescript/src/components/Section/Card/Styles/One.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/Card/index.d.ts +0 -7
- package/lib/typescript/src/components/Section/Card/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/SectionType.d.ts +0 -26
- package/lib/typescript/src/components/Section/SectionType.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/Sections.d.ts +0 -27
- package/lib/typescript/src/components/Section/Sections.d.ts.map +0 -1
- package/lib/typescript/src/sample.test.d.ts +0 -1
- package/lib/typescript/src/sample.test.d.ts.map +0 -1
- package/lib/typescript/src/theme/useAppTheme.d.ts +0 -46
- package/lib/typescript/src/theme/useAppTheme.d.ts.map +0 -1
- package/lib/typescript/src/types/content.types.d.ts.map +0 -1
- package/lib/typescript/src/types/sections.types.d.ts +0 -41
- package/lib/typescript/src/types/sections.types.d.ts.map +0 -1
- package/src/assets/img/profile.png +0 -0
- package/src/components/Button/Button.tsx +0 -32
- package/src/components/Button/styles.ts +0 -21
- package/src/components/Section/Card/Sliders/Styles/One.tsx +0 -147
- package/src/components/Section/Card/Styles/One.tsx +0 -112
- package/src/components/Section/Card/index.ts +0 -13
- package/src/components/Section/SectionType.tsx +0 -127
- package/src/components/Section/Sections.tsx +0 -120
- package/src/sample.test.ts +0 -5
- package/src/theme/useAppTheme.ts +0 -13
- package/src/types/sections.types.ts +0 -56
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","useCallback","useMemo","useRef","View","FlatList","TouchableOpacity","StyleSheet","SkeletonPlaceholder","FastImage","moderateScale","verticalScale","useTheme","CardPoster","NavigateToMore","usePaginatedSection","jsx","_jsx","jsxs","_jsxs","DEFAULT_ITEM_WIDTH","DEFAULT_ITEM_HEIGHT","DEFAULT_BORDER_RADIUS","DEFAULT_SKELETON_COUNT","MovieCard","title","section_id","type","data","initialData","moreFetchData","onPressMore","onPressItem","renderItemImage","itemWidth","itemHeight","borderRadius","skeletonCount","containerStyle","titleStyle","itemStyle","isLoading","theme","accessibilityLabel","accessibilityHint","flatListRef","onEndReachedCalledDuringMomentum","appliedTheme","styles","getStyles","pagination","paginated","loading","isPaginating","loadMoreData","listData","handleItemPress","item","handlePressMore","name","handleEndReached","current","hasNextPage","nextPage","renderItem","index","style","firstItem","onPress","activeOpacity","testID","children","posterUri","poster","posterWrapperStyle","image","resizeMode","cover","renderSkeletonItem","highlightColor","colors","skeletonHighlightColor","backgroundColor","skeletonBaseColor","Item","width","height","marginRight","marginLeft","length","root","marginBottom","Array","from","horizontal","keyExtractor","_","showsHorizontalScrollIndicator","contentContainerStyle","listContent","color","textPrimary","navigateToMoreContainer","showAllProps","iconColor","ref","_id","initialNumToRender","maxToRenderPerBatch","windowSize","onEndReachedThreshold","onMomentumScrollBegin","onEndReached","ListFooterComponent","radius","create","marginVertical","overflow","surfaceVariant","elevation","shadowColor","shadow","shadowOffset","shadowOpacity","shadowRadius","paddingHorizontal","fontSize","fontWeight","paddingRight","emptyState","padding","alignItems","justifyContent","emptyText","textAlign"],"sourceRoot":"../../../../../../src","sources":["components/Content/Card/Styles/One.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AACjE,SACEC,IAAI,EACJC,QAAQ,EACRC,gBAAgB,EAChBC,UAAU,QAOL,cAAc;AACrB,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,SAASC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AACxE,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,OAAOC,UAAU,MAAM,0BAA0B;AACjD,OAAOC,cAAc,MAAM,8BAA8B;AACzD,SAASC,mBAAmB,QAAQ,uCAAuC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAI5E;AACA,MAAMC,kBAAkB,GAAGV,aAAa,CAAC,GAAG,CAAC;AAC7C,MAAMW,mBAAmB,GAAGX,aAAa,CAAC,GAAG,CAAC;AAC9C,MAAMY,qBAAqB,GAAGZ,aAAa,CAAC,CAAC,CAAC;AAC9C,MAAMa,sBAAsB,GAAG,CAAC;AA0BhC,MAAMC,SAAmC,GAAGA,CAAC;EAC3CC,KAAK;EACLC,UAAU;EACVC,IAAI;EACJC,IAAI,EAAEC,WAAW;EACjBC,aAAa;EACbC,WAAW;EACXC,WAAW;EACXC,eAAe;EACfC,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AAEJ,4BAAetI,IAAI,CAACwB,SAAS,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Naresh Dhamu
|
|
5
|
+
* @LastModified Thu 26 Jun 2025 at 05:45 PM
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React, { memo, useCallback, useMemo, useRef } from 'react';
|
|
9
|
+
import { View, StyleSheet, Dimensions, TouchableOpacity } from 'react-native';
|
|
10
|
+
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
11
|
+
import FastImage from 'react-native-fast-image';
|
|
12
|
+
import Carousel from 'react-native-snap-carousel';
|
|
13
|
+
import { moderateScale, verticalScale } from 'react-native-size-matters';
|
|
14
|
+
import { debounce } from 'lodash';
|
|
15
|
+
import { useTheme } from '../../../../theme';
|
|
16
|
+
import CardPoster from '../components/CardPoster';
|
|
17
|
+
import NavigateToMore from '../components/NavigateToMore';
|
|
18
|
+
import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
|
|
19
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
+
const {
|
|
21
|
+
width,
|
|
22
|
+
height
|
|
23
|
+
} = Dimensions.get('window');
|
|
24
|
+
const DEFAULT_ITEM_WIDTH = width * 0.42;
|
|
25
|
+
const DEFAULT_ITEM_HEIGHT = height * 0.28;
|
|
26
|
+
const DEFAULT_BORDER_RADIUS = moderateScale(10);
|
|
27
|
+
|
|
28
|
+
// Static styles defined outside getStyles to avoid recalculation
|
|
29
|
+
const staticStyles = StyleSheet.create({
|
|
30
|
+
root: {
|
|
31
|
+
marginVertical: verticalScale(6)
|
|
32
|
+
},
|
|
33
|
+
navigateToMoreContainer: {
|
|
34
|
+
paddingHorizontal: moderateScale(12),
|
|
35
|
+
marginBottom: verticalScale(8)
|
|
36
|
+
},
|
|
37
|
+
title: {
|
|
38
|
+
fontSize: moderateScale(14),
|
|
39
|
+
fontWeight: '600',
|
|
40
|
+
marginHorizontal: moderateScale(15),
|
|
41
|
+
marginVertical: moderateScale(5)
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
const RotateCarousel = ({
|
|
45
|
+
title,
|
|
46
|
+
section_id,
|
|
47
|
+
type,
|
|
48
|
+
data: initialData,
|
|
49
|
+
moreFetchData,
|
|
50
|
+
onPressMore,
|
|
51
|
+
onPressItem,
|
|
52
|
+
renderItemImage,
|
|
53
|
+
itemWidth = DEFAULT_ITEM_WIDTH,
|
|
54
|
+
itemHeight = DEFAULT_ITEM_HEIGHT,
|
|
55
|
+
borderRadius = DEFAULT_BORDER_RADIUS,
|
|
56
|
+
skeletonCount = 5,
|
|
57
|
+
containerStyle,
|
|
58
|
+
titleStyle,
|
|
59
|
+
itemStyle,
|
|
60
|
+
isLoading = false,
|
|
61
|
+
theme
|
|
62
|
+
}) => {
|
|
63
|
+
const {
|
|
64
|
+
theme: appliedTheme
|
|
65
|
+
} = useTheme(theme);
|
|
66
|
+
const carouselRef = useRef(null);
|
|
67
|
+
|
|
68
|
+
// Memoized dynamic styles
|
|
69
|
+
const styles = useMemo(() => StyleSheet.create({
|
|
70
|
+
item: {
|
|
71
|
+
width: itemWidth,
|
|
72
|
+
height: itemHeight,
|
|
73
|
+
borderRadius,
|
|
74
|
+
overflow: 'hidden',
|
|
75
|
+
elevation: 0,
|
|
76
|
+
shadowColor: 'transparent',
|
|
77
|
+
shadowOffset: {
|
|
78
|
+
width: 0,
|
|
79
|
+
height: 0
|
|
80
|
+
},
|
|
81
|
+
shadowOpacity: 0,
|
|
82
|
+
shadowRadius: 0
|
|
83
|
+
},
|
|
84
|
+
image: {
|
|
85
|
+
width: '100%',
|
|
86
|
+
height: '100%',
|
|
87
|
+
backgroundColor: appliedTheme.colors.skeletonBaseColor ?? '#222'
|
|
88
|
+
},
|
|
89
|
+
skeleton: {
|
|
90
|
+
width: itemWidth,
|
|
91
|
+
height: itemHeight,
|
|
92
|
+
borderRadius,
|
|
93
|
+
overflow: 'hidden',
|
|
94
|
+
marginRight: moderateScale(12)
|
|
95
|
+
}
|
|
96
|
+
}), [appliedTheme.colors.skeletonBaseColor, itemWidth, itemHeight, borderRadius]);
|
|
97
|
+
const {
|
|
98
|
+
data,
|
|
99
|
+
loading: isPaginating,
|
|
100
|
+
pagination,
|
|
101
|
+
loadMoreData
|
|
102
|
+
} = usePaginatedSection(section_id, moreFetchData, initialData?.data || [], isLoading);
|
|
103
|
+
|
|
104
|
+
// Memoized skeleton items
|
|
105
|
+
const skeletonItems = useMemo(() => {
|
|
106
|
+
const count = isLoading ? skeletonCount : isPaginating ? 1 : 0;
|
|
107
|
+
return Array.from({
|
|
108
|
+
length: count
|
|
109
|
+
}, (_, i) => ({
|
|
110
|
+
_id: `skeleton-${i}`,
|
|
111
|
+
isSkeleton: true
|
|
112
|
+
}));
|
|
113
|
+
}, [isLoading, isPaginating, skeletonCount]);
|
|
114
|
+
|
|
115
|
+
// Optimized finalData to avoid unnecessary spread
|
|
116
|
+
const finalData = useMemo(() => isLoading ? skeletonItems : skeletonItems.length > 0 ? [...data, ...skeletonItems] : data, [isLoading, data, skeletonItems]);
|
|
117
|
+
|
|
118
|
+
// Debounced loadMoreData to prevent excessive calls
|
|
119
|
+
const debouncedLoadMore = useMemo(() => debounce(nextPage => {
|
|
120
|
+
return loadMoreData(nextPage);
|
|
121
|
+
}, 300), [loadMoreData]);
|
|
122
|
+
const handleItemPress = useCallback(item => {
|
|
123
|
+
onPressItem?.(item);
|
|
124
|
+
}, [onPressItem]);
|
|
125
|
+
const handlePressMore = useCallback(() => {
|
|
126
|
+
onPressMore?.({
|
|
127
|
+
section_id,
|
|
128
|
+
name: title,
|
|
129
|
+
type
|
|
130
|
+
});
|
|
131
|
+
}, [onPressMore, section_id, title, type]);
|
|
132
|
+
const renderItem = useCallback(({
|
|
133
|
+
item,
|
|
134
|
+
index
|
|
135
|
+
}) => {
|
|
136
|
+
if ('isSkeleton' in item) {
|
|
137
|
+
return /*#__PURE__*/_jsx(View, {
|
|
138
|
+
style: styles.skeleton,
|
|
139
|
+
children: /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
140
|
+
highlightColor: appliedTheme.colors.skeletonHighlightColor,
|
|
141
|
+
backgroundColor: appliedTheme.colors.skeletonBaseColor,
|
|
142
|
+
children: /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
143
|
+
width: itemWidth,
|
|
144
|
+
height: itemHeight,
|
|
145
|
+
borderRadius: borderRadius
|
|
146
|
+
})
|
|
147
|
+
})
|
|
148
|
+
}, item._id);
|
|
149
|
+
}
|
|
150
|
+
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
151
|
+
activeOpacity: 0.8,
|
|
152
|
+
style: [styles.item, itemStyle],
|
|
153
|
+
disabled: !item || !onPressItem || isLoading,
|
|
154
|
+
onPress: () => handleItemPress(item),
|
|
155
|
+
children: renderItemImage ? renderItemImage({
|
|
156
|
+
item,
|
|
157
|
+
index
|
|
158
|
+
}) : /*#__PURE__*/_jsx(CardPoster, {
|
|
159
|
+
posterUri: item.poster,
|
|
160
|
+
theme: appliedTheme,
|
|
161
|
+
borderRadius: borderRadius,
|
|
162
|
+
posterWrapperStyle: styles.image,
|
|
163
|
+
resizeMode: FastImage.resizeMode.cover,
|
|
164
|
+
isLoading: isPaginating
|
|
165
|
+
})
|
|
166
|
+
}, item._id || `item-${index}`);
|
|
167
|
+
}, [styles.item, styles.image, styles.skeleton, itemStyle, onPressItem, isLoading, renderItemImage, appliedTheme, borderRadius, isPaginating, itemWidth, itemHeight, handleItemPress]);
|
|
168
|
+
if (!initialData) {
|
|
169
|
+
return null;
|
|
170
|
+
}
|
|
171
|
+
if (!isLoading && (!data || data.length === 0)) return null;
|
|
172
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
173
|
+
style: [staticStyles.root, containerStyle],
|
|
174
|
+
testID: `movie-card-${section_id}`,
|
|
175
|
+
children: [isLoading ? /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
176
|
+
highlightColor: appliedTheme.colors.skeletonHighlightColor,
|
|
177
|
+
backgroundColor: appliedTheme.colors.skeletonBaseColor,
|
|
178
|
+
children: /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
179
|
+
width: moderateScale(100),
|
|
180
|
+
height: verticalScale(14),
|
|
181
|
+
borderRadius: moderateScale(4),
|
|
182
|
+
marginLeft: moderateScale(12),
|
|
183
|
+
marginBottom: verticalScale(6)
|
|
184
|
+
})
|
|
185
|
+
}) : /*#__PURE__*/_jsx(NavigateToMore, {
|
|
186
|
+
title: title,
|
|
187
|
+
onPress: handlePressMore,
|
|
188
|
+
titleStyle: [staticStyles.title, {
|
|
189
|
+
color: appliedTheme.colors.textPrimary
|
|
190
|
+
}, titleStyle],
|
|
191
|
+
containerStyle: staticStyles.navigateToMoreContainer,
|
|
192
|
+
showAllProps: {
|
|
193
|
+
iconColor: appliedTheme.colors.textPrimary
|
|
194
|
+
}
|
|
195
|
+
}), /*#__PURE__*/_jsx(Carousel, {
|
|
196
|
+
ref: carouselRef,
|
|
197
|
+
data: finalData,
|
|
198
|
+
vertical: false,
|
|
199
|
+
renderItem: renderItem,
|
|
200
|
+
firstItem: 1,
|
|
201
|
+
inactiveSlideOpacity: 0.6,
|
|
202
|
+
inactiveSlideScale: 0.9,
|
|
203
|
+
sliderWidth: width,
|
|
204
|
+
itemWidth: itemWidth,
|
|
205
|
+
onSnapToItem: index => {
|
|
206
|
+
if (isLoading || !pagination?.hasNextPage || !pagination?.nextPage) return;
|
|
207
|
+
if (index >= finalData.length - 2) {
|
|
208
|
+
debouncedLoadMore(pagination.nextPage);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
})]
|
|
212
|
+
});
|
|
213
|
+
};
|
|
214
|
+
export default /*#__PURE__*/memo(RotateCarousel);
|
|
215
|
+
//# sourceMappingURL=RotateInOut.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","useCallback","useMemo","useRef","View","StyleSheet","Dimensions","TouchableOpacity","SkeletonPlaceholder","FastImage","Carousel","moderateScale","verticalScale","debounce","useTheme","CardPoster","NavigateToMore","usePaginatedSection","jsx","_jsx","jsxs","_jsxs","width","height","get","DEFAULT_ITEM_WIDTH","DEFAULT_ITEM_HEIGHT","DEFAULT_BORDER_RADIUS","staticStyles","create","root","marginVertical","navigateToMoreContainer","paddingHorizontal","marginBottom","title","fontSize","fontWeight","marginHorizontal","RotateCarousel","section_id","type","data","initialData","moreFetchData","onPressMore","onPressItem","renderItemImage","itemWidth","itemHeight","borderRadius","skeletonCount","containerStyle","titleStyle","itemStyle","isLoading","theme","appliedTheme","carouselRef","styles","item","overflow","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","image","backgroundColor","colors","skeletonBaseColor","skeleton","marginRight","loading","isPaginating","pagination","loadMoreData","skeletonItems","count","Array","from","length","_","i","_id","isSkeleton","finalData","debouncedLoadMore","nextPage","handleItemPress","handlePressMore","name","renderItem","index","style","children","highlightColor","skeletonHighlightColor","Item","activeOpacity","disabled","onPress","posterUri","poster","posterWrapperStyle","resizeMode","cover","testID","marginLeft","color","textPrimary","showAllProps","iconColor","ref","vertical","firstItem","inactiveSlideOpacity","inactiveSlideScale","sliderWidth","onSnapToItem","hasNextPage"],"sourceRoot":"../../../../../../src","sources":["components/Content/Card/Styles/RotateInOut.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AACjE,SACEC,IAAI,EACJC,UAAU,EACVC,UAAU,EACVC,gBAAgB,QAIX,cAAc;AACrB,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,OAAOC,QAAQ,MAAM,4BAA4B;AACjD,SAASC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AACxE,SAASC,QAAQ,QAAQ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AAQ;MACPuG,GAAG,EAAEvD,WAAY;MACjBhB,IAAI,EAAE4C,SAAiB;MACvB4B,QAAQ,EAAE,KAAM;MAChBtB,UAAU,EAAEA,UAAW;MACvBuB,SAAS,EAAE,CAAE;MACbC,oBAAoB,EAAE,GAAI;MAC1BC,kBAAkB,EAAE,GAAI;MACxBC,WAAW,EAAEhG,KAAM;MACnB0B,SAAS,EAAEA,SAAU;MACrBuE,YAAY,EAAG1B,KAAK,IAAK;QACvB,IAAItC,SAAS,IAAI,CAACoB,UAAU,EAAE6C,WAAW,IAAI,CAAC7C,UAAU,EAAEa,QAAQ,EAAE;QACpE,IAAIK,KAAK,IAAIP,SAAS,CAACL,MAAM,GAAG,CAAC,EAAE;UACjCM,iBAAiB,CAACZ,UAAU,CAACa,QAAQ,CAAC;QACxC;MACF;IAAE,CACH,CAAC;EAAA,CACE,CAAC;AAEX,CAAC;AAED,4BAAexF,IAAI,CAACuC,cAAc,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Naresh Dhamu
|
|
5
|
+
* @LastModified Sat 28 Jun 2025 at 01:00 AM
|
|
6
|
+
**/
|
|
7
|
+
|
|
8
|
+
import React, { memo, useCallback, useRef } from 'react';
|
|
9
|
+
import { View, FlatList, TouchableOpacity, StyleSheet, ScrollView } from 'react-native';
|
|
10
|
+
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
11
|
+
import { moderateScale, verticalScale } from 'react-native-size-matters';
|
|
12
|
+
import FastImage from 'react-native-fast-image';
|
|
13
|
+
import { useTheme } from '../../../../theme';
|
|
14
|
+
import NavigateToMore from '../components/NavigateToMore';
|
|
15
|
+
import { ThumbnailCard } from '../components/ThumbnailCard';
|
|
16
|
+
import { Text } from '../../../Text';
|
|
17
|
+
import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
|
|
18
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
19
|
+
const DEFAULT_ITEM_WIDTH = moderateScale(160);
|
|
20
|
+
const DEFAULT_BORDER_RADIUS = moderateScale(5);
|
|
21
|
+
const DEFAULT_SKELETON_COUNT = 3;
|
|
22
|
+
const MovieCardSix = ({
|
|
23
|
+
theme,
|
|
24
|
+
title,
|
|
25
|
+
section_id,
|
|
26
|
+
type,
|
|
27
|
+
data: initialData,
|
|
28
|
+
moreFetchData,
|
|
29
|
+
onPressItem,
|
|
30
|
+
onPressMore,
|
|
31
|
+
itemWidth = DEFAULT_ITEM_WIDTH,
|
|
32
|
+
borderRadius = DEFAULT_BORDER_RADIUS,
|
|
33
|
+
skeletonCount = DEFAULT_SKELETON_COUNT,
|
|
34
|
+
containerStyle,
|
|
35
|
+
titleStyle,
|
|
36
|
+
itemStyle,
|
|
37
|
+
isLoading = false,
|
|
38
|
+
accessibilityLabel,
|
|
39
|
+
accessibilityHint
|
|
40
|
+
}) => {
|
|
41
|
+
const flatListRef = useRef(null);
|
|
42
|
+
const onEndReachedCalledDuringMomentum = useRef(false);
|
|
43
|
+
const {
|
|
44
|
+
theme: appliedTheme
|
|
45
|
+
} = useTheme(theme);
|
|
46
|
+
const paginated = usePaginatedSection(section_id, moreFetchData, initialData?.data, isLoading);
|
|
47
|
+
const sectionData = paginated.data;
|
|
48
|
+
const pagination = paginated.pagination;
|
|
49
|
+
const isPaginating = paginated.loading;
|
|
50
|
+
const loadMoreData = paginated.loadMoreData;
|
|
51
|
+
const handleItemPress = useCallback(item => {
|
|
52
|
+
onPressItem?.(item);
|
|
53
|
+
}, [onPressItem]);
|
|
54
|
+
const handlePressMore = useCallback(() => {
|
|
55
|
+
onPressMore?.({
|
|
56
|
+
section_id,
|
|
57
|
+
name: title,
|
|
58
|
+
type
|
|
59
|
+
});
|
|
60
|
+
}, [onPressMore, section_id, title, type]);
|
|
61
|
+
const handleEndReached = useCallback(() => {
|
|
62
|
+
if (!onEndReachedCalledDuringMomentum.current && pagination?.hasNextPage && pagination?.nextPage) {
|
|
63
|
+
onEndReachedCalledDuringMomentum.current = true;
|
|
64
|
+
loadMoreData(pagination.nextPage);
|
|
65
|
+
}
|
|
66
|
+
}, [pagination?.hasNextPage, pagination?.nextPage, loadMoreData]);
|
|
67
|
+
const renderItem = useCallback(({
|
|
68
|
+
item
|
|
69
|
+
}) => /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
70
|
+
style: [styles.item, itemStyle],
|
|
71
|
+
onPress: () => handleItemPress(item),
|
|
72
|
+
activeOpacity: 0.8,
|
|
73
|
+
children: [/*#__PURE__*/_jsx(ThumbnailCard, {
|
|
74
|
+
thumbnailUri: item.thumbnail,
|
|
75
|
+
theme: appliedTheme,
|
|
76
|
+
isLoading: false,
|
|
77
|
+
borderRadius: borderRadius,
|
|
78
|
+
wrapperStyle: {
|
|
79
|
+
width: itemWidth
|
|
80
|
+
},
|
|
81
|
+
resizeMode: FastImage.resizeMode.cover
|
|
82
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
83
|
+
style: {
|
|
84
|
+
width: itemWidth,
|
|
85
|
+
marginTop: verticalScale(4)
|
|
86
|
+
},
|
|
87
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
88
|
+
style: [styles.itemTitle, {
|
|
89
|
+
color: appliedTheme.colors.textPrimary
|
|
90
|
+
}],
|
|
91
|
+
numberOfLines: 1,
|
|
92
|
+
children: item.name
|
|
93
|
+
})
|
|
94
|
+
})]
|
|
95
|
+
}), [handleItemPress, itemStyle, appliedTheme, borderRadius, itemWidth]);
|
|
96
|
+
const renderSkeletonItem = useCallback(index => /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
97
|
+
highlightColor: appliedTheme.colors.skeletonHighlightColor,
|
|
98
|
+
backgroundColor: appliedTheme.colors.skeletonBaseColor,
|
|
99
|
+
children: /*#__PURE__*/_jsxs(SkeletonPlaceholder.Item, {
|
|
100
|
+
flexDirection: "column",
|
|
101
|
+
alignItems: "flex-start",
|
|
102
|
+
marginLeft: index === 0 ? moderateScale(12) : moderateScale(0),
|
|
103
|
+
marginRight: moderateScale(12),
|
|
104
|
+
children: [/*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
105
|
+
width: itemWidth,
|
|
106
|
+
height: itemWidth * 9 / 16,
|
|
107
|
+
borderRadius: borderRadius
|
|
108
|
+
}), /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
109
|
+
width: itemWidth * 0.8,
|
|
110
|
+
height: moderateScale(13),
|
|
111
|
+
borderRadius: moderateScale(3),
|
|
112
|
+
marginTop: verticalScale(6)
|
|
113
|
+
})]
|
|
114
|
+
})
|
|
115
|
+
}, `skeleton-${index}`), [appliedTheme.colors, itemWidth, borderRadius]);
|
|
116
|
+
if (!initialData) {
|
|
117
|
+
return null;
|
|
118
|
+
}
|
|
119
|
+
if (!isLoading && sectionData.length === 0) return null;
|
|
120
|
+
return /*#__PURE__*/_jsx(View, {
|
|
121
|
+
style: [styles.root, containerStyle],
|
|
122
|
+
accessibilityLabel: accessibilityLabel || `Movie section: ${title}`,
|
|
123
|
+
accessibilityHint: accessibilityHint || 'Scroll to view content',
|
|
124
|
+
children: isLoading ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
125
|
+
children: [/*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
126
|
+
highlightColor: appliedTheme.colors.skeletonHighlightColor,
|
|
127
|
+
backgroundColor: appliedTheme.colors.skeletonBaseColor,
|
|
128
|
+
children: /*#__PURE__*/_jsx(SkeletonPlaceholder.Item, {
|
|
129
|
+
width: moderateScale(100),
|
|
130
|
+
height: moderateScale(20),
|
|
131
|
+
borderRadius: moderateScale(4),
|
|
132
|
+
marginHorizontal: moderateScale(15),
|
|
133
|
+
marginBottom: verticalScale(6)
|
|
134
|
+
})
|
|
135
|
+
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
136
|
+
horizontal: true,
|
|
137
|
+
showsHorizontalScrollIndicator: false,
|
|
138
|
+
contentContainerStyle: styles.skeletonList,
|
|
139
|
+
children: Array.from({
|
|
140
|
+
length: isPaginating ? 1 : skeletonCount
|
|
141
|
+
}).map((_, index) => renderSkeletonItem(index))
|
|
142
|
+
})]
|
|
143
|
+
}) : /*#__PURE__*/_jsxs(_Fragment, {
|
|
144
|
+
children: [/*#__PURE__*/_jsx(NavigateToMore, {
|
|
145
|
+
title: title,
|
|
146
|
+
onPress: handlePressMore,
|
|
147
|
+
titleStyle: [styles.title, {
|
|
148
|
+
color: appliedTheme.colors.textPrimary
|
|
149
|
+
}, titleStyle],
|
|
150
|
+
containerStyle: styles.navigateToMoreContainer,
|
|
151
|
+
showAllProps: {
|
|
152
|
+
iconColor: appliedTheme.colors.textPrimary
|
|
153
|
+
}
|
|
154
|
+
}), /*#__PURE__*/_jsx(FlatList, {
|
|
155
|
+
ref: flatListRef,
|
|
156
|
+
data: sectionData,
|
|
157
|
+
horizontal: true,
|
|
158
|
+
keyExtractor: (item, index) => `${item._id}-${index}`,
|
|
159
|
+
renderItem: renderItem,
|
|
160
|
+
showsHorizontalScrollIndicator: false,
|
|
161
|
+
contentContainerStyle: styles.listContent,
|
|
162
|
+
initialNumToRender: 5,
|
|
163
|
+
onEndReached: handleEndReached,
|
|
164
|
+
onEndReachedThreshold: 0.5,
|
|
165
|
+
onScrollBeginDrag: () => {
|
|
166
|
+
onEndReachedCalledDuringMomentum.current = false;
|
|
167
|
+
},
|
|
168
|
+
onMomentumScrollBegin: () => {
|
|
169
|
+
onEndReachedCalledDuringMomentum.current = false;
|
|
170
|
+
},
|
|
171
|
+
ListFooterComponent: isPaginating ? renderSkeletonItem(0) : null
|
|
172
|
+
})]
|
|
173
|
+
})
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
const styles = StyleSheet.create({
|
|
177
|
+
root: {
|
|
178
|
+
marginVertical: verticalScale(6)
|
|
179
|
+
},
|
|
180
|
+
item: {
|
|
181
|
+
marginLeft: moderateScale(12)
|
|
182
|
+
},
|
|
183
|
+
navigateToMoreContainer: {
|
|
184
|
+
paddingHorizontal: moderateScale(12),
|
|
185
|
+
marginBottom: verticalScale(8)
|
|
186
|
+
},
|
|
187
|
+
title: {
|
|
188
|
+
fontSize: moderateScale(14),
|
|
189
|
+
fontWeight: '600'
|
|
190
|
+
},
|
|
191
|
+
itemTitle: {
|
|
192
|
+
fontSize: moderateScale(10),
|
|
193
|
+
fontWeight: '500',
|
|
194
|
+
lineHeight: moderateScale(13),
|
|
195
|
+
height: moderateScale(13)
|
|
196
|
+
},
|
|
197
|
+
listContent: {
|
|
198
|
+
paddingRight: moderateScale(15)
|
|
199
|
+
},
|
|
200
|
+
skeletonList: {
|
|
201
|
+
flexDirection: 'row',
|
|
202
|
+
alignItems: 'flex-start',
|
|
203
|
+
paddingRight: moderateScale(15)
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
export default /*#__PURE__*/memo(MovieCardSix);
|
|
207
|
+
//# sourceMappingURL=Six.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","useCallback","useRef","View","FlatList","TouchableOpacity","StyleSheet","ScrollView","SkeletonPlaceholder","moderateScale","verticalScale","FastImage","useTheme","NavigateToMore","ThumbnailCard","Text","usePaginatedSection","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","DEFAULT_ITEM_WIDTH","DEFAULT_BORDER_RADIUS","DEFAULT_SKELETON_COUNT","MovieCardSix","theme","title","section_id","type","data","initialData","moreFetchData","onPressItem","onPressMore","itemWidth","borderRadius","skeletonCount","containerStyle","titleStyle","itemStyle","isLoading","accessibilityLabel","accessibilityHint","flatListRef","onEndReachedCalledDuringMomentum","appliedTheme","paginated","sectionData","pagination","isPaginating","loading","loadMoreData","handleItemPress","item","handlePressMore","name","handleEndReached","current","hasNextPage","nextPage","renderItem","style","styles","onPress","activeOpacity","children","thumbnailUri","thumbnail","wrapperStyle","width","resizeMode","cover","marginTop","itemTitle","color","colors","textPrimary","numberOfLines","renderSkeletonItem","index","highlightColor","skeletonHighlightColor","backgroundColor","skeletonBaseColor","Item","flexDirection","alignItems","marginLeft","marginRight","height","length","root","marginHorizontal","marginBottom","horizontal","showsHorizontalScrollIndicator","contentContainerStyle","skeletonList","Array","from","map","_","navigateToMoreContainer","showAllProps","iconColor","ref","keyExtractor","_id","listContent","initialNumToRender","onEndReached","onEndReachedThreshold","onScrollBeginDrag","onMomentumScrollBegin","ListFooterComponent","create","marginVertical","paddingHorizontal","fontSize","fontWeight","lineHeight","paddingRight"],"sourceRoot":"../../../../../../src","sources":["components/Content/Card/Styles/Six.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,MAAM,QAAQ,OAAO;AACxD,SACEC,IAAI,EACJC,QAAQ,EACRC,gBAAgB,EAChBC,UAAU,EAMVC,UAAU,QACL,cAAc;AACrB,OAAOC,mBAAmB,MAAM,mCAAmC;AACnE,SAASC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AACxE,OAAOC,SAAS,MAAM,yBAAyB;AAE/C,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,OAAOC,cAAc,MAAM,8BAA8B;AACzD,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,IAAI,QAAQ,eAAe;AACpC,SAASC,mBAAmB,QAAQ,uCAAuC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAG5E,MAAMC,kBAAkB,GAAGd,aAAa,CAAC,GAAG,CAAC;AAC7C,MAAMe,qBAAqB,GAAGf,aAAa,CAAC,CAAC,CAAC;AAC9C,MAAMgB,sBAAsB,GAAG,CAAC;AAwBhC,MAAMC,YAAyC,GAAGA,CAAC;EACjDC,KAAK;EACLC,KAAK;EACLC,UAAU;EACVC,IAAI;EACJC,IAAI,EAAEC,WAAW;EACjBC,aAAa;EACbC,WAAW;EACXC,WAAW;EACXC,SAAS,G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