@zezosoft/zezo-ott-react-native-ui-kit 0.1.0 → 1.0.1
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 +255 -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 +217 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/Login/LoginWithEmail.js +306 -0
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/Login/LoginWithPhone.js +208 -0
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/OTP/OTP.js +274 -0
- package/lib/module/components/Auth/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/SignUp/SignUp.js +344 -0
- package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js +132 -0
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +61 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +57 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +82 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/index.js +23 -0
- package/lib/module/components/Auth/index.js.map +1 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +124 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -0
- package/lib/module/components/BlogView/BlogView.js +211 -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 +169 -0
- package/lib/module/components/Button/MenuBtn.js.map +1 -0
- package/lib/module/components/Button/PrimaryBtn.js +83 -0
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -0
- package/lib/module/components/Button/TextButton.js +89 -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 +182 -0
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +355 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +315 -0
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +199 -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 +198 -0
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Four.js +204 -0
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/One.js +200 -0
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +216 -0
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Six.js +209 -0
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Three.js +214 -0
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/TopTen.js +287 -0
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Two.js +217 -0
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -0
- package/lib/module/components/Content/Card/components/CardPoster.js +183 -0
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -0
- package/lib/module/components/Content/Card/components/NavigateToMore.js +57 -0
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -0
- package/lib/module/components/Content/Card/components/NoContentFallback.js +116 -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 +129 -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 +127 -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/MoreContentList.js +211 -0
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -0
- package/lib/module/components/ContentView/components/AboutSection.js +115 -0
- package/lib/module/components/ContentView/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/components/CastCard.js +191 -0
- package/lib/module/components/ContentView/components/CastCard.js.map +1 -0
- package/lib/module/components/ContentView/components/EpisodeCard.js +393 -0
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/components/GenreTags.js +78 -0
- package/lib/module/components/ContentView/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/components/HeroBanner.js +223 -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 +104 -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 +10 -0
- package/lib/module/components/ContentView/index.js.map +1 -0
- package/lib/module/components/Headers/AppHeader.js +96 -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 +11 -14
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/Two.js +12 -10
- 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 +126 -0
- package/lib/module/components/Input/InputOne.js.map +1 -0
- package/lib/module/components/Input/InputTwo.js +153 -0
- package/lib/module/components/Input/InputTwo.js.map +1 -0
- package/lib/module/components/Input/PhoneNumberInput.js +285 -0
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -0
- package/lib/module/components/Keyboard/HideKeyboard.js +69 -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 +43 -5
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/Search/One.js +193 -0
- package/lib/module/components/Search/One.js.map +1 -0
- package/lib/module/components/Search/components/RecentSearchesSection.js +161 -0
- package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -0
- package/lib/module/components/Search/components/SearchCard.js +182 -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 +226 -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/Subscription/SubOne.js +333 -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 +146 -0
- package/lib/module/components/TabBar/One.js.map +1 -0
- package/lib/module/components/TabBar/Three.js +131 -0
- package/lib/module/components/TabBar/Three.js.map +1 -0
- package/lib/module/components/TabBar/Two.js +133 -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 +315 -0
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js +117 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -0
- package/lib/module/components/User/WatchLater/WatchLater.js +275 -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 +164 -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 +18 -5
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js +34 -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 +116 -0
- package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -0
- package/lib/module/hooks/useKeyboard.js +31 -0
- package/lib/module/hooks/useKeyboard.js.map +1 -0
- package/lib/module/hooks/usePaginatedSection.js +64 -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 +90 -0
- package/lib/module/theme/ThemeProvider.js.map +1 -0
- package/lib/module/theme/hook/useTheme.js +45 -0
- package/lib/module/theme/hook/useTheme.js.map +1 -0
- package/lib/module/theme/index.js +10 -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 +51 -0
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts +69 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts +57 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts +62 -0
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts +65 -0
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts +34 -0
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts +16 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts +19 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/index.d.ts +230 -0
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts +16 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -0
- package/lib/typescript/src/components/BlogView/BlogView.d.ts +29 -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 +17 -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 +24 -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 +59 -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/MoreContentList.d.ts +27 -0
- package/lib/typescript/src/components/ContentView/MoreContentList.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 +7 -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 +4 -3
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts +4 -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/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 +15 -2
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts +13 -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 +12 -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 +23 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/src/theme/hook/useTheme.d.ts +9 -0
- package/lib/typescript/src/theme/hook/useTheme.d.ts.map +1 -0
- package/lib/typescript/src/theme/index.d.ts +7 -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 +139 -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 +74 -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 +289 -0
- package/src/components/Account/index.ts +1 -0
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +273 -0
- package/src/components/Auth/Login/LoginWithEmail.tsx +376 -0
- package/src/components/Auth/Login/LoginWithPhone.tsx +263 -0
- package/src/components/Auth/OTP/OTP.tsx +357 -0
- package/src/components/Auth/SignUp/SignUp.tsx +401 -0
- package/src/components/Auth/SplashScreen/SplashScreen.tsx +166 -0
- package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +66 -0
- package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +71 -0
- package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +103 -0
- package/src/components/Auth/index.ts +22 -0
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +136 -0
- package/src/components/BlogView/BlogView.tsx +215 -0
- package/src/components/BlogView/index.ts +8 -0
- package/src/components/Button/BackBtn.tsx +83 -0
- package/src/components/Button/MenuBtn.tsx +190 -0
- package/src/components/Button/PrimaryBtn.tsx +89 -0
- package/src/components/Button/TextButton.tsx +108 -0
- package/src/components/Button/index.ts +16 -0
- package/src/components/Content/Card/Category/Category.tsx +263 -0
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +413 -0
- package/src/components/Content/Card/Sliders/Styles/One.tsx +321 -0
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +210 -0
- package/src/components/{Section → Content}/Card/Sliders/index.ts +3 -1
- package/src/components/Content/Card/Styles/Five.tsx +241 -0
- package/src/components/Content/Card/Styles/Four.tsx +246 -0
- package/src/components/Content/Card/Styles/One.tsx +242 -0
- package/src/components/Content/Card/Styles/RotateInOut.tsx +280 -0
- package/src/components/Content/Card/Styles/Six.tsx +249 -0
- package/src/components/Content/Card/Styles/Three.tsx +279 -0
- package/src/components/Content/Card/Styles/TopTen.tsx +338 -0
- package/src/components/Content/Card/Styles/Two.tsx +290 -0
- package/src/components/Content/Card/components/CardPoster.tsx +217 -0
- package/src/components/Content/Card/components/NavigateToMore.tsx +59 -0
- package/src/components/Content/Card/components/NoContentFallback.tsx +130 -0
- package/src/components/Content/Card/components/ShowAllButton.tsx +83 -0
- package/src/components/Content/Card/components/ThumbnailCard.tsx +151 -0
- package/src/components/Content/Card/index.ts +30 -0
- package/src/components/Content/Content.tsx +218 -0
- package/src/components/Content/Sections.tsx +169 -0
- package/src/components/ContentView/ContentView.tsx +137 -0
- package/src/components/ContentView/MoreContentList.tsx +238 -0
- package/src/components/ContentView/components/AboutSection.tsx +139 -0
- package/src/components/ContentView/components/CastCard.tsx +213 -0
- package/src/components/ContentView/components/EpisodeCard.tsx +454 -0
- package/src/components/ContentView/components/GenreTags.tsx +93 -0
- package/src/components/ContentView/components/HeroBanner.tsx +245 -0
- package/src/components/ContentView/components/PlayButton.tsx +37 -0
- package/src/components/ContentView/components/Title.tsx +121 -0
- package/src/components/ContentView/components/TrailerButton.tsx +53 -0
- package/src/components/ContentView/index.ts +7 -0
- package/src/components/Headers/AppHeader.tsx +108 -0
- package/src/components/Headers/One.tsx +34 -28
- package/src/components/Headers/Three.tsx +14 -24
- package/src/components/Headers/Two.tsx +16 -23
- 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 +162 -0
- package/src/components/Input/InputTwo.tsx +189 -0
- package/src/components/Input/PhoneNumberInput.tsx +383 -0
- package/src/components/Keyboard/HideKeyboard.tsx +82 -0
- package/src/components/Loader/Loader.tsx +2 -2
- package/src/components/Logo/Logo.tsx +70 -26
- package/src/components/Search/One.tsx +229 -0
- package/src/components/Search/components/RecentSearchesSection.tsx +154 -0
- package/src/components/Search/components/SearchCard.tsx +194 -0
- package/src/components/Search/index.ts +16 -0
- package/src/components/Settings/AppSettings.tsx +288 -0
- package/src/components/Settings/index.ts +1 -0
- package/src/components/Subscription/SubOne.tsx +337 -0
- package/src/components/Subscription/index.ts +12 -0
- package/src/components/TabBar/One.tsx +202 -0
- package/src/components/TabBar/Three.tsx +148 -0
- package/src/components/TabBar/Two.tsx +153 -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 +374 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +173 -0
- package/src/components/User/WatchLater/WatchLater.tsx +293 -0
- package/src/components/User/components/UserAvatar.tsx +43 -0
- package/src/components/User/components/UserSection.tsx +182 -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 +15 -2
- package/src/components/layout/SafeAreaWrapper.tsx +39 -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 +146 -0
- package/src/hooks/useKeyboard.ts +34 -0
- package/src/hooks/usePaginatedSection.ts +78 -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 +107 -0
- package/src/theme/hook/useTheme.ts +41 -0
- package/src/theme/index.ts +7 -0
- package/src/theme/themes.ts +210 -123
- package/src/types/content/content-view.types.ts +148 -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,"file":"TopTen.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/TopTen.tsx"],"names":[],"mappings":"AAAA;;;IAGI;AAEJ,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,EAExB,MAAM,cAAc,CAAC;AAMtB,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvG,OAAO,KAAK,EAAE,QAAQ,EAAU,MAAM,0BAA0B,CAAC;AAYjE,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;QACrB,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;KAC/B,KAAK,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB,GAAG,kBAAkB,CAAC;;AAyRvB,wBAAgC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Thu 26 Jun 2025 at 10:00 AM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type StyleProp, type TextStyle, type ViewStyle, type AccessibilityProps } from 'react-native';
|
|
7
|
+
import type { IContentData, IGetSectionData, ISectionContent, MoreFetchData } from '../../../../types';
|
|
8
|
+
import type { AppTheme } from '../../../../theme/themes';
|
|
9
|
+
type MovieCardTwoProps = {
|
|
10
|
+
title: string;
|
|
11
|
+
section_id: string;
|
|
12
|
+
type: IGetSectionData['type'];
|
|
13
|
+
data: ISectionContent | null;
|
|
14
|
+
moreFetchData?: MoreFetchData<IContentData>;
|
|
15
|
+
onPressItem?: (item: IContentData) => void;
|
|
16
|
+
onPressMore?: (params: {
|
|
17
|
+
section_id: IGetSectionData['_id'];
|
|
18
|
+
name: IGetSectionData['name'];
|
|
19
|
+
type: IGetSectionData['type'];
|
|
20
|
+
}) => void;
|
|
21
|
+
renderItemImage?: (params: {
|
|
22
|
+
item: IContentData;
|
|
23
|
+
index: number;
|
|
24
|
+
}) => React.ReactNode;
|
|
25
|
+
itemWidth?: number;
|
|
26
|
+
borderRadius?: number;
|
|
27
|
+
skeletonCount?: number;
|
|
28
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
29
|
+
titleStyle?: StyleProp<TextStyle>;
|
|
30
|
+
itemStyle?: StyleProp<ViewStyle>;
|
|
31
|
+
isLoading?: boolean;
|
|
32
|
+
theme?: AppTheme;
|
|
33
|
+
} & AccessibilityProps;
|
|
34
|
+
declare const _default: React.NamedExoticComponent<MovieCardTwoProps>;
|
|
35
|
+
export default _default;
|
|
36
|
+
//# sourceMappingURL=Two.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Two.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/Two.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,EAGxB,MAAM,cAAc,CAAC;AAMtB,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvG,OAAO,KAAK,EAAE,QAAQ,EAAU,MAAM,0BAA0B,CAAC;AAWjE,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;QACrB,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;KAC/B,KAAK,IAAI,CAAC;IACX,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,YAAY,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB,GAAG,kBAAkB,CAAC;;AAyOvB,wBAAkC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Wed 02 Jul 2025 at 10:29 AM
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @author Naresh Dhamu
|
|
7
|
+
* @lastModified Wed 02 Jul 2025 at 10:29 AM
|
|
8
|
+
*/
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
11
|
+
import type { ImageStyle as FastImageStyle, ResizeMode } from 'react-native-fast-image';
|
|
12
|
+
import type { ITheme } from '../../../../theme/themes';
|
|
13
|
+
export type CardPosterProps = {
|
|
14
|
+
posterUri: string;
|
|
15
|
+
theme: ITheme;
|
|
16
|
+
isLoading?: boolean;
|
|
17
|
+
borderRadius?: number;
|
|
18
|
+
posterWrapperStyle?: StyleProp<ViewStyle>;
|
|
19
|
+
imageStyle?: FastImageStyle;
|
|
20
|
+
resizeMode?: ResizeMode;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: React.NamedExoticComponent<CardPosterProps>;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=CardPoster.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardPoster.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/components/CardPoster.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAc,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAMpG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAGvD,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC1C,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;;AAoIF,wBAAsC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Wed 25 Jun 2025 at 11:59 AM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
7
|
+
import { type ShowAllButtonProps } from './ShowAllButton';
|
|
8
|
+
interface IProps {
|
|
9
|
+
title: string;
|
|
10
|
+
onPress: () => void;
|
|
11
|
+
titleStyle?: StyleProp<TextStyle>;
|
|
12
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
13
|
+
showAllProps?: Partial<ShowAllButtonProps>;
|
|
14
|
+
}
|
|
15
|
+
declare const NavigateToMore: React.FC<IProps>;
|
|
16
|
+
export default NavigateToMore;
|
|
17
|
+
//# sourceMappingURL=NavigateToMore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigateToMore.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/components/NavigateToMore.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhG,OAAsB,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAIzE,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAC5C;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAiBpC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Wed 25 Jun 2025 at 11:59 AM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
7
|
+
import type { AppTheme } from '../../../../theme/themes';
|
|
8
|
+
type NoContentFallbackProps = {
|
|
9
|
+
message?: string;
|
|
10
|
+
retryText?: string;
|
|
11
|
+
onRetry?: () => void;
|
|
12
|
+
theme?: AppTheme;
|
|
13
|
+
emoji?: string;
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
};
|
|
16
|
+
declare const NoContentFallback: ({ message, retryText, onRetry, theme, emoji, style }: NoContentFallbackProps) => React.JSX.Element;
|
|
17
|
+
export default NoContentFallback;
|
|
18
|
+
//# sourceMappingURL=NoContentFallback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoContentFallback.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/components/NoContentFallback.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAgC,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAK5F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGzD,KAAK,sBAAsB,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,sDAOxB,sBAAsB,sBAgExB,CAAC;AAmCF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Wed 25 Jun 2025 at 11:58 AM
|
|
4
|
+
**/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type GestureResponderEvent, type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
7
|
+
export type ShowAllButtonProps = {
|
|
8
|
+
text?: string;
|
|
9
|
+
onPress?: (event: GestureResponderEvent) => void;
|
|
10
|
+
iconSize?: number;
|
|
11
|
+
gap?: number;
|
|
12
|
+
iconColor?: string;
|
|
13
|
+
textStyle?: StyleProp<TextStyle>;
|
|
14
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
15
|
+
iconPosition?: 'left' | 'right';
|
|
16
|
+
IconComponent?: React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
declare const ShowAllButton: React.FC<ShowAllButtonProps>;
|
|
19
|
+
export default ShowAllButton;
|
|
20
|
+
//# sourceMappingURL=ShowAllButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShowAllButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/components/ShowAllButton.tsx"],"names":[],"mappings":"AAAA;;;IAGI;AAEJ,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0B/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Wed 25 Jun 2025 at 05:40 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
7
|
+
import type { ImageStyle as FastImageStyle, ResizeMode } from 'react-native-fast-image';
|
|
8
|
+
import type { ITheme } from '../../../../theme/themes';
|
|
9
|
+
export type ThumbnailCardProps = {
|
|
10
|
+
thumbnailUri?: string;
|
|
11
|
+
theme: ITheme;
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
borderRadius?: number;
|
|
14
|
+
wrapperStyle?: StyleProp<ViewStyle>;
|
|
15
|
+
imageStyle?: FastImageStyle;
|
|
16
|
+
resizeMode?: ResizeMode;
|
|
17
|
+
};
|
|
18
|
+
export declare const ThumbnailCard: React.FC<ThumbnailCardProps>;
|
|
19
|
+
//# sourceMappingURL=ThumbnailCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThumbnailCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/components/ThumbnailCard.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAMxF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAGvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAmFtD,CAAC"}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
declare const Cards: {
|
|
2
|
+
Styles: {
|
|
3
|
+
One: import("react").NamedExoticComponent<{
|
|
4
|
+
title: string;
|
|
5
|
+
section_id: string;
|
|
6
|
+
type: import("../../..").IGetSectionData["type"];
|
|
7
|
+
data: import("../../..").ISectionContent | null;
|
|
8
|
+
moreFetchData?: import("../../..").MoreFetchData<import("../../..").IContentData>;
|
|
9
|
+
onPressItem?: (item: import("../../..").IContentData) => void;
|
|
10
|
+
onPressMore?: (params: {
|
|
11
|
+
section_id: import("../../..").IGetSectionData["_id"];
|
|
12
|
+
name: import("../../..").IGetSectionData["name"];
|
|
13
|
+
type: import("../../..").IGetSectionData["type"];
|
|
14
|
+
}) => void;
|
|
15
|
+
renderItemImage?: (params: {
|
|
16
|
+
item: import("../../..").IContentData;
|
|
17
|
+
index: number;
|
|
18
|
+
}) => React.ReactNode;
|
|
19
|
+
itemWidth?: number;
|
|
20
|
+
itemHeight?: number;
|
|
21
|
+
borderRadius?: number;
|
|
22
|
+
skeletonCount?: number;
|
|
23
|
+
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
24
|
+
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
25
|
+
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
26
|
+
isLoading?: boolean;
|
|
27
|
+
theme?: import("../../../theme/themes").AppTheme;
|
|
28
|
+
} & import("react-native").AccessibilityProps>;
|
|
29
|
+
Two: import("react").NamedExoticComponent<{
|
|
30
|
+
title: string;
|
|
31
|
+
section_id: string;
|
|
32
|
+
type: import("../../..").IGetSectionData["type"];
|
|
33
|
+
data: import("../../..").ISectionContent | null;
|
|
34
|
+
moreFetchData?: import("../../..").MoreFetchData<import("../../..").IContentData>;
|
|
35
|
+
onPressItem?: (item: import("../../..").IContentData) => void;
|
|
36
|
+
onPressMore?: (params: {
|
|
37
|
+
section_id: import("../../..").IGetSectionData["_id"];
|
|
38
|
+
name: import("../../..").IGetSectionData["name"];
|
|
39
|
+
type: import("../../..").IGetSectionData["type"];
|
|
40
|
+
}) => void;
|
|
41
|
+
renderItemImage?: (params: {
|
|
42
|
+
item: import("../../..").IContentData;
|
|
43
|
+
index: number;
|
|
44
|
+
}) => React.ReactNode;
|
|
45
|
+
itemWidth?: number;
|
|
46
|
+
borderRadius?: number;
|
|
47
|
+
skeletonCount?: number;
|
|
48
|
+
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
49
|
+
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
50
|
+
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
51
|
+
isLoading?: boolean;
|
|
52
|
+
theme?: import("../../../theme/themes").AppTheme;
|
|
53
|
+
} & import("react-native").AccessibilityProps>;
|
|
54
|
+
Three: import("react").NamedExoticComponent<{
|
|
55
|
+
title: string;
|
|
56
|
+
section_id: string;
|
|
57
|
+
data: import("../../..").ISectionContent | null;
|
|
58
|
+
type: import("../../..").IGetSectionData["type"];
|
|
59
|
+
moreFetchData?: import("../../..").MoreFetchData<import("../../..").IContentData>;
|
|
60
|
+
onPressItem?: (item: import("../../..").IContentData) => void;
|
|
61
|
+
onPressMore?: (params: {
|
|
62
|
+
section_id: import("../../..").IGetSectionData["_id"];
|
|
63
|
+
name: import("../../..").IGetSectionData["name"];
|
|
64
|
+
type: import("../../..").IGetSectionData["type"];
|
|
65
|
+
}) => void;
|
|
66
|
+
renderItemImage?: (params: {
|
|
67
|
+
item: import("../../..").IContentData;
|
|
68
|
+
index: number;
|
|
69
|
+
}) => React.ReactNode;
|
|
70
|
+
itemWidth?: number;
|
|
71
|
+
itemHeight?: number;
|
|
72
|
+
borderRadius?: number;
|
|
73
|
+
skeletonCount?: number;
|
|
74
|
+
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
75
|
+
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
76
|
+
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
77
|
+
isLoading?: boolean;
|
|
78
|
+
theme?: import("../../../theme/themes").AppTheme;
|
|
79
|
+
}>;
|
|
80
|
+
Four: import("react").NamedExoticComponent<{
|
|
81
|
+
title: string;
|
|
82
|
+
section_id: string;
|
|
83
|
+
type: import("../../..").IGetSectionData["type"];
|
|
84
|
+
data: import("../../..").ISectionContent | null;
|
|
85
|
+
moreFetchData?: import("../../..").MoreFetchData<import("../../..").IContentData>;
|
|
86
|
+
onPressItem?: (item: import("../../..").IContentData) => void;
|
|
87
|
+
onPressMore?: (params: {
|
|
88
|
+
section_id: import("../../..").IGetSectionData["_id"];
|
|
89
|
+
name: import("../../..").IGetSectionData["name"];
|
|
90
|
+
type: import("../../..").IGetSectionData["type"];
|
|
91
|
+
}) => void;
|
|
92
|
+
renderItemImage?: (params: {
|
|
93
|
+
item: import("../../..").IContentData;
|
|
94
|
+
index: number;
|
|
95
|
+
}) => React.ReactNode;
|
|
96
|
+
itemWidth?: number;
|
|
97
|
+
itemHeight?: number;
|
|
98
|
+
borderRadius?: number;
|
|
99
|
+
skeletonCount?: number;
|
|
100
|
+
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
101
|
+
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
102
|
+
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
103
|
+
isLoading?: boolean;
|
|
104
|
+
theme?: import("../../../theme/themes").AppTheme;
|
|
105
|
+
} & import("react-native").AccessibilityProps>;
|
|
106
|
+
Five: import("react").NamedExoticComponent<{
|
|
107
|
+
theme?: import("../../../theme/themes").AppTheme;
|
|
108
|
+
title: string;
|
|
109
|
+
section_id: string;
|
|
110
|
+
type: import("../../..").IGetSectionData["type"];
|
|
111
|
+
data: import("../../..").ISectionContent | null;
|
|
112
|
+
moreFetchData?: import("../../..").MoreFetchData<import("../../..").IContentData>;
|
|
113
|
+
onPressItem?: (item: import("../../..").IContentData) => void;
|
|
114
|
+
onPressMore?: (params: {
|
|
115
|
+
section_id: import("../../..").IGetSectionData["_id"];
|
|
116
|
+
name: import("../../..").IGetSectionData["name"];
|
|
117
|
+
type: import("../../..").IGetSectionData["type"];
|
|
118
|
+
}) => void;
|
|
119
|
+
renderItemImage?: (params: {
|
|
120
|
+
item: import("../../..").IContentData;
|
|
121
|
+
index: number;
|
|
122
|
+
}) => React.ReactNode;
|
|
123
|
+
itemWidth?: number;
|
|
124
|
+
borderRadius?: number;
|
|
125
|
+
skeletonCount?: number;
|
|
126
|
+
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
127
|
+
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
128
|
+
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
129
|
+
isLoading?: boolean;
|
|
130
|
+
} & import("react-native").AccessibilityProps>;
|
|
131
|
+
Six: import("react").NamedExoticComponent<{
|
|
132
|
+
theme?: import("../../../theme/themes").AppTheme;
|
|
133
|
+
title: string;
|
|
134
|
+
section_id: string;
|
|
135
|
+
type: import("../../..").IGetSectionData["type"];
|
|
136
|
+
data: import("../../..").ISectionContent | null;
|
|
137
|
+
moreFetchData?: import("../../..").MoreFetchData<import("../../..").IContentData>;
|
|
138
|
+
onPressItem?: (item: import("../../..").IContentData) => void;
|
|
139
|
+
onPressMore?: (params: {
|
|
140
|
+
section_id: import("../../..").IGetSectionData["_id"];
|
|
141
|
+
name: import("../../..").IGetSectionData["name"];
|
|
142
|
+
type: import("../../..").IGetSectionData["type"];
|
|
143
|
+
}) => void;
|
|
144
|
+
itemWidth?: number;
|
|
145
|
+
borderRadius?: number;
|
|
146
|
+
skeletonCount?: number;
|
|
147
|
+
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
148
|
+
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
149
|
+
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
150
|
+
isLoading?: boolean;
|
|
151
|
+
} & import("react-native").AccessibilityProps>;
|
|
152
|
+
TopTen: import("react").NamedExoticComponent<{
|
|
153
|
+
title: string;
|
|
154
|
+
section_id: string;
|
|
155
|
+
type: import("../../..").IGetSectionData["type"];
|
|
156
|
+
data: import("../../..").ISectionContent | null;
|
|
157
|
+
moreFetchData?: import("../../..").MoreFetchData<import("../../..").IContentData>;
|
|
158
|
+
onPressItem?: (item: import("../../..").IContentData) => void;
|
|
159
|
+
onPressMore?: (params: {
|
|
160
|
+
section_id: import("../../..").IGetSectionData["_id"];
|
|
161
|
+
name: import("../../..").IGetSectionData["name"];
|
|
162
|
+
type: import("../../..").IGetSectionData["type"];
|
|
163
|
+
}) => void;
|
|
164
|
+
itemWidth?: number;
|
|
165
|
+
itemHeight?: number;
|
|
166
|
+
borderRadius?: number;
|
|
167
|
+
skeletonCount?: number;
|
|
168
|
+
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
169
|
+
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
170
|
+
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
171
|
+
isLoading?: boolean;
|
|
172
|
+
theme?: import("../../../theme/themes").AppTheme;
|
|
173
|
+
} & import("react-native").AccessibilityProps>;
|
|
174
|
+
RotateCarousel: import("react").NamedExoticComponent<{
|
|
175
|
+
title: string;
|
|
176
|
+
section_id: string;
|
|
177
|
+
data: import("../../..").ISectionContent | null;
|
|
178
|
+
type: import("../../..").IGetSectionData["type"];
|
|
179
|
+
moreFetchData?: import("../../..").MoreFetchData<import("../../..").IContentData>;
|
|
180
|
+
onPressItem?: (item: import("../../..").IContentData) => void;
|
|
181
|
+
onPressMore?: (params: {
|
|
182
|
+
section_id: import("../../..").IGetSectionData["_id"];
|
|
183
|
+
name: import("../../..").IGetSectionData["name"];
|
|
184
|
+
type: import("../../..").IGetSectionData["type"];
|
|
185
|
+
}) => void;
|
|
186
|
+
renderItemImage?: (params: {
|
|
187
|
+
item: import("../../..").IContentData;
|
|
188
|
+
index: number;
|
|
189
|
+
}) => React.ReactNode;
|
|
190
|
+
itemWidth?: number;
|
|
191
|
+
itemHeight?: number;
|
|
192
|
+
borderRadius?: number;
|
|
193
|
+
skeletonCount?: number;
|
|
194
|
+
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
195
|
+
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
196
|
+
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
197
|
+
isLoading?: boolean;
|
|
198
|
+
theme?: import("../../../theme/themes").AppTheme;
|
|
199
|
+
}>;
|
|
200
|
+
NowWatching: import("react").NamedExoticComponent<{
|
|
201
|
+
section_id: string;
|
|
202
|
+
title: string;
|
|
203
|
+
historyData?: import("./NowWatching/NowWatching").IHistoryItem[];
|
|
204
|
+
type: import("../../..").IGetSectionData["type"];
|
|
205
|
+
moreFetchDataHistory?: import("../../..").MoreFetchData<import("./NowWatching/NowWatching").IHistoryItem>;
|
|
206
|
+
theme?: import("../../../theme/themes").AppTheme;
|
|
207
|
+
onPressItem?: (item: import("../../..").IContentData) => void;
|
|
208
|
+
onPressMore?: (params: {
|
|
209
|
+
section_id: import("../../..").IGetSectionData["_id"];
|
|
210
|
+
name: import("../../..").IGetSectionData["name"];
|
|
211
|
+
type: import("../../..").IGetSectionData["type"];
|
|
212
|
+
}) => void;
|
|
213
|
+
renderItemImage?: (params: {
|
|
214
|
+
item: import("../../..").IContentData;
|
|
215
|
+
index: number;
|
|
216
|
+
}) => React.ReactNode;
|
|
217
|
+
itemWidth?: number;
|
|
218
|
+
borderRadius?: number;
|
|
219
|
+
skeletonCount?: number;
|
|
220
|
+
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
221
|
+
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
222
|
+
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
223
|
+
isLoading?: boolean;
|
|
224
|
+
isLoadingHistory?: boolean;
|
|
225
|
+
}>;
|
|
226
|
+
Category: import("react").MemoExoticComponent<({ category, activeCategory, onPressCategory, theme, mode, isLoading }: {
|
|
227
|
+
category?: import("./Category/Category").ICategory[];
|
|
228
|
+
activeCategory?: import("./Category/Category").ICategory;
|
|
229
|
+
onPressCategory?: (category: import("./Category/Category").ICategory) => void;
|
|
230
|
+
theme?: import("../../../theme/themes").AppTheme;
|
|
231
|
+
mode?: "text" | "filled";
|
|
232
|
+
isLoading?: boolean;
|
|
233
|
+
}) => import("react").JSX.Element>;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
export default Cards;
|
|
237
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Content/Card/index.ts"],"names":[],"mappings":"AAcA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Sun 08 Jun 2025 at 03:50 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type NativeScrollEvent, type NativeSyntheticEvent, type StyleProp, type ViewStyle } from 'react-native';
|
|
7
|
+
import { type AnimatedStyle, type SharedValue } from 'react-native-reanimated';
|
|
8
|
+
import type { IContentData, IGetSectionData, MoreFetchData } from '../../types';
|
|
9
|
+
import { type ICategory } from './Card/Category/Category';
|
|
10
|
+
import type { IHistoryItem } from './Card/NowWatching/NowWatching';
|
|
11
|
+
import type { AppTheme } from '../../theme/themes';
|
|
12
|
+
export interface ICustomComponentsForContent {
|
|
13
|
+
type: string;
|
|
14
|
+
component: React.ReactElement;
|
|
15
|
+
}
|
|
16
|
+
export type IContentLoading = {
|
|
17
|
+
category?: boolean;
|
|
18
|
+
history?: boolean;
|
|
19
|
+
section?: boolean;
|
|
20
|
+
InfiniteScrollIsLoading?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export interface IContentProps {
|
|
23
|
+
contentData: {
|
|
24
|
+
category?: ICategory[];
|
|
25
|
+
sectionData: IGetSectionData[] | null;
|
|
26
|
+
historyData?: IHistoryItem[];
|
|
27
|
+
};
|
|
28
|
+
customComponents?: ICustomComponentsForContent[];
|
|
29
|
+
LoaderComponent?: React.ReactNode;
|
|
30
|
+
ErrorComponent?: React.ReactNode;
|
|
31
|
+
InfiniteScrollLoaderComponent?: React.ReactNode;
|
|
32
|
+
onScroll?: ((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | SharedValue<((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined>;
|
|
33
|
+
contentContainerStyle?: StyleProp<ViewStyle> | AnimatedStyle<StyleProp<ViewStyle>>;
|
|
34
|
+
onEndReached?: () => void;
|
|
35
|
+
theme?: AppTheme;
|
|
36
|
+
autoSwitchTheme?: boolean;
|
|
37
|
+
events?: {
|
|
38
|
+
onPressItem?: (item: IContentData) => void;
|
|
39
|
+
onPressMore?: (params: {
|
|
40
|
+
section_id: IGetSectionData['_id'];
|
|
41
|
+
name: IGetSectionData['name'];
|
|
42
|
+
type: IGetSectionData['type'];
|
|
43
|
+
}) => void;
|
|
44
|
+
activeCategory?: ICategory;
|
|
45
|
+
onPressCategory?: (category: ICategory) => void;
|
|
46
|
+
};
|
|
47
|
+
sectionProps?: {
|
|
48
|
+
showPlayBtn?: boolean;
|
|
49
|
+
};
|
|
50
|
+
moreFetchData?: MoreFetchData<IContentData>;
|
|
51
|
+
moreFetchDataHistory?: MoreFetchData<IHistoryItem>;
|
|
52
|
+
isLoading?: IContentLoading;
|
|
53
|
+
}
|
|
54
|
+
export declare const Content: React.FC<IContentProps>;
|
|
55
|
+
export declare namespace Content {
|
|
56
|
+
type Props = IContentProps;
|
|
57
|
+
type Data = Props['contentData'];
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=Content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Content.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAiB,EAAE,KAAK,aAAa,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGzF,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEhF,OAAqB,EAAE,KAAK,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAExE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;CAC/B;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AACF,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE;QACX,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;QACvB,WAAW,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;QACtC,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;KAC9B,CAAC;IACF,gBAAgB,CAAC,EAAE,2BAA2B,EAAE,CAAC;IACjD,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,6BAA6B,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChD,QAAQ,CAAC,EACL,CAAC,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC,GAC1D,WAAW,CAAC,CAAC,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC;IACxF,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,aAAa,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;IACnF,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE;QACP,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;QAC3C,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;YACrB,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;YACnC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;YAC9B,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;SAC/B,KAAK,IAAI,CAAC;QACX,cAAc,CAAC,EAAE,SAAS,CAAC;QAC3B,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;KACjD,CAAC;IAEF,YAAY,CAAC,EAAE;QACb,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;IACF,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAC5C,oBAAoB,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACnD,SAAS,CAAC,EAAE,eAAe,CAAC;CAC7B;AAyCD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqG3C,CAAC;AAEF,yBAAiB,OAAO,CAAC;IACvB,KAAY,KAAK,GAAG,aAAa,CAAC;IAClC,KAAY,IAAI,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;CACzC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Sun 08 Jun 2025 at 03:50 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import type { IContentData, IGetSectionData, MoreFetchData } from '../../types';
|
|
7
|
+
import type { IHistoryItem } from './Card/NowWatching/NowWatching';
|
|
8
|
+
import type { ICategory } from './Card/Category/Category';
|
|
9
|
+
import type { AppTheme } from '../../theme/themes';
|
|
10
|
+
import type { IContentLoading } from './Content';
|
|
11
|
+
export interface ICustomComponentsForSections {
|
|
12
|
+
type: string;
|
|
13
|
+
component: React.ReactElement;
|
|
14
|
+
}
|
|
15
|
+
export interface IProps {
|
|
16
|
+
type: IGetSectionData['type'];
|
|
17
|
+
data: {
|
|
18
|
+
sectionData: IGetSectionData['content'] | null;
|
|
19
|
+
historyData?: IHistoryItem[];
|
|
20
|
+
category?: ICategory[];
|
|
21
|
+
};
|
|
22
|
+
name: string;
|
|
23
|
+
customComponents?: ICustomComponentsForSections[];
|
|
24
|
+
theme?: AppTheme;
|
|
25
|
+
index: number;
|
|
26
|
+
section_id: string;
|
|
27
|
+
events?: {
|
|
28
|
+
onPressItem?: (item: IContentData) => void;
|
|
29
|
+
onPressMore?: (params: {
|
|
30
|
+
section_id: IGetSectionData['_id'];
|
|
31
|
+
name: IGetSectionData['name'];
|
|
32
|
+
type: IGetSectionData['type'];
|
|
33
|
+
}) => void;
|
|
34
|
+
onPressCategory?: (category: ICategory) => void;
|
|
35
|
+
};
|
|
36
|
+
sectionProps?: {
|
|
37
|
+
showPlayBtn?: boolean;
|
|
38
|
+
};
|
|
39
|
+
isLoading?: IContentLoading;
|
|
40
|
+
moreFetchData?: MoreFetchData<IContentData>;
|
|
41
|
+
moreFetchDataHistory?: MoreFetchData<IHistoryItem>;
|
|
42
|
+
}
|
|
43
|
+
declare const Sections: React.FC<IProps>;
|
|
44
|
+
export default Sections;
|
|
45
|
+
//# sourceMappingURL=Sections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sections.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Sections.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;CAC/B;AAED,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,WAAW,EAAE,eAAe,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;QAC/C,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;QAC7B,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;KACxB,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,CAAC;IAClD,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE;QACP,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;QAC3C,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;YACrB,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;YACnC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;YAC9B,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;SAC/B,KAAK,IAAI,CAAC;QACX,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;KACjD,CAAC;IACF,YAAY,CAAC,EAAE;QACb,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;IACF,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAC5C,oBAAoB,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;CACpD;AAwDD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAiE9B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Tue 01 Jul 2025 at 02:28 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import type { ComponentProps } from '../../types/content/content-view.types';
|
|
7
|
+
export declare const ContentView: ({ content, seasons, isLoading, seasonsIsLoading, theme, recommendedContent, events, heroBannerProps, titleStyles, genreTagsStyles, aboutSectionStyles, castStyles, recommendedContentCardStyles, history, episodeCardMode }: ComponentProps) => React.JSX.Element;
|
|
8
|
+
export declare namespace ContentView {
|
|
9
|
+
type Props = ComponentProps;
|
|
10
|
+
type RecommendedContent = Props['recommendedContent'];
|
|
11
|
+
type HeroBannerProps = Props['heroBannerProps'];
|
|
12
|
+
type MenuAction = NonNullable<NonNullable<ComponentProps['heroBannerProps']>['menuActions']>[number];
|
|
13
|
+
type History = NonNullable<ComponentProps['history']>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=ContentView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContentView/ContentView.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,eAAO,MAAM,WAAW,GAAI,6NAgBzB,cAAc,sBAyFhB,CAAC;AAQF,yBAAiB,WAAW,CAAC;IAC3B,KAAY,KAAK,GAAG,cAAc,CAAC;IACnC,KAAY,kBAAkB,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAC7D,KAAY,eAAe,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvD,KAAY,UAAU,GAAG,WAAW,CAAC,WAAW,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IAC5G,KAAY,OAAO,GAAG,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC;CAC9D"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Tue 01 Jul 2025 at 02:28 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import type { IContentData } from '../../types';
|
|
7
|
+
import { type AppHeaderProps } from '../Headers/AppHeader';
|
|
8
|
+
import type { AppTheme } from '../../theme/themes';
|
|
9
|
+
interface Props {
|
|
10
|
+
headerProps?: AppHeaderProps;
|
|
11
|
+
contentList: IContentData[];
|
|
12
|
+
onItemPress?: (item: IContentData) => void;
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
error?: boolean | string | Error;
|
|
15
|
+
errorText?: string;
|
|
16
|
+
theme?: AppTheme;
|
|
17
|
+
moreDataIsLoading?: boolean;
|
|
18
|
+
onEndReached?: () => void;
|
|
19
|
+
skeletonCount?: number;
|
|
20
|
+
numColumns?: number;
|
|
21
|
+
footerComponent?: React.ReactNode;
|
|
22
|
+
refreshing?: boolean;
|
|
23
|
+
onRefresh?: () => void;
|
|
24
|
+
}
|
|
25
|
+
declare const MoreContentList: React.FC<Props>;
|
|
26
|
+
export default MoreContentList;
|
|
27
|
+
//# sourceMappingURL=MoreContentList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoreContentList.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContentView/MoreContentList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,OAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAKnD,UAAU,KAAK;IACb,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAID,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAyJpC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Tue 01 Jul 2025 at 02:28 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type StyleProp, type ViewStyle, type TextStyle } from 'react-native';
|
|
7
|
+
import type { ITheme } from '../../../theme/themes';
|
|
8
|
+
type Props = {
|
|
9
|
+
theme: ITheme;
|
|
10
|
+
title?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
style?: {
|
|
14
|
+
container?: StyleProp<ViewStyle>;
|
|
15
|
+
title?: StyleProp<TextStyle>;
|
|
16
|
+
body?: StyleProp<TextStyle>;
|
|
17
|
+
scrollExpanded?: StyleProp<ViewStyle>;
|
|
18
|
+
toggleText?: StyleProp<TextStyle>;
|
|
19
|
+
skeletonLine?: StyleProp<ViewStyle>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare const AboutSection: ({ theme, title, description, isLoading, style }: Props) => React.JSX.Element;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=AboutSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AboutSection.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ContentView/components/AboutSection.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE;QACN,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACjC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAC7B,IAAI,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAC5B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACtC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAClC,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACrC,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,iDAAmE,KAAK,sBA6EpG,CAAC"}
|