@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,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Thu 12 Jun 2025 at 07:57 PM
|
|
4
|
+
*/
|
|
5
|
+
type UseSplashCacheSyncOptions = {
|
|
6
|
+
logoUrl?: string;
|
|
7
|
+
backgroundUrl?: string;
|
|
8
|
+
forceDownload?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const useInitSplashCacheSync: ({ logoUrl, backgroundUrl, forceDownload }: UseSplashCacheSyncOptions) => {
|
|
11
|
+
state: {
|
|
12
|
+
isReady: boolean;
|
|
13
|
+
error: Error | null;
|
|
14
|
+
};
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
data: {
|
|
17
|
+
localPathLogo: string | null;
|
|
18
|
+
localPathBackground: string | null;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=useInitSplashCacheSync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInitSplashCacheSync.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useInitSplashCacheSync.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+DH,KAAK,yBAAyB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAoBF,eAAO,MAAM,sBAAsB,GAAI,2CAIpC,yBAAyB,KAAG;IAC7B,KAAK,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;KAAE,CAAC;IACjD,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE;QACJ,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;KACpC,CAAC;CA0DH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKeyboard.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKeyboard.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,eAAO,MAAM,WAAW;;;CAuBvB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { MoreFetchData } from '../types';
|
|
2
|
+
export declare function usePaginatedSection<T>(sectionId: string, fetchFn?: MoreFetchData<T>, initialData?: T[], isLoading?: boolean): {
|
|
3
|
+
data: T[];
|
|
4
|
+
pagination: {
|
|
5
|
+
hasNextPage: boolean;
|
|
6
|
+
nextPage: number | null;
|
|
7
|
+
};
|
|
8
|
+
loading: boolean;
|
|
9
|
+
loadMoreData: (page: number | null) => Promise<void>;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=usePaginatedSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePaginatedSection.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePaginatedSection.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,wBAAgB,mBAAmB,CAAC,CAAC,EACnC,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,EAC1B,WAAW,GAAE,CAAC,EAAO,EACrB,SAAS,CAAC,EAAE,OAAO;;;qBAIJ,OAAO;kBACV,MAAM,GAAG,IAAI;;;yBAcV,MAAM,GAAG,IAAI;EA2C7B"}
|
|
@@ -3,5 +3,7 @@
|
|
|
3
3
|
* @lastModified Sun 08 Jun 2025 at 03:23 PM
|
|
4
4
|
*/
|
|
5
5
|
export * from './components';
|
|
6
|
-
export * from './
|
|
6
|
+
export * from './theme';
|
|
7
|
+
export type * from './types';
|
|
8
|
+
export { default as SizeMatters } from './utils/SizeMatters';
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Thu 04 Jul 2025 at 07:30 PM
|
|
4
|
+
*/
|
|
5
|
+
type RecentSearchesState = {
|
|
6
|
+
recentSearches: string[];
|
|
7
|
+
pillMaxCount: number;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
addSearchTerm: (term: string, limit?: number) => void;
|
|
10
|
+
removeSearchTerm: (term: string) => void;
|
|
11
|
+
clearSearches: () => void;
|
|
12
|
+
setPillMaxCount: (count: number) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const useRecentSearchesStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<RecentSearchesState>, "persist"> & {
|
|
15
|
+
persist: {
|
|
16
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<RecentSearchesState, unknown>>) => void;
|
|
17
|
+
clearStorage: () => void;
|
|
18
|
+
rehydrate: () => Promise<void> | void;
|
|
19
|
+
hasHydrated: () => boolean;
|
|
20
|
+
onHydrate: (fn: (state: RecentSearchesState) => void) => () => void;
|
|
21
|
+
onFinishHydration: (fn: (state: RecentSearchesState) => void) => () => void;
|
|
22
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<RecentSearchesState, unknown>>;
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=RecentSearchesStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecentSearchesStore.d.ts","sourceRoot":"","sources":["../../../../src/store/RecentSearchesStore.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,KAAK,mBAAmB,GAAG;IACzB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;EAmDlC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Thu 12 Jun 2025 at 07:57 PM
|
|
4
|
+
*/
|
|
5
|
+
interface ImageState {
|
|
6
|
+
localPath: string | null;
|
|
7
|
+
lastUpdated: number | null;
|
|
8
|
+
}
|
|
9
|
+
type SplashState = {
|
|
10
|
+
logo: ImageState;
|
|
11
|
+
backdrop: ImageState;
|
|
12
|
+
setLogoPath: (path: string | null) => void;
|
|
13
|
+
clearLogoPath: () => void;
|
|
14
|
+
setBackdropPath: (path: string | null) => void;
|
|
15
|
+
clearBackdropPath: () => void;
|
|
16
|
+
};
|
|
17
|
+
export declare const useSplashStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<SplashState>, "persist"> & {
|
|
18
|
+
persist: {
|
|
19
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<SplashState, unknown>>) => void;
|
|
20
|
+
clearStorage: () => void;
|
|
21
|
+
rehydrate: () => Promise<void> | void;
|
|
22
|
+
hasHydrated: () => boolean;
|
|
23
|
+
onHydrate: (fn: (state: SplashState) => void) => () => void;
|
|
24
|
+
onFinishHydration: (fn: (state: SplashState) => void) => () => void;
|
|
25
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<SplashState, unknown>>;
|
|
26
|
+
};
|
|
27
|
+
}>;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=splashStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splashStore.d.ts","sourceRoot":"","sources":["../../../../src/store/splashStore.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,UAAU,UAAU;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,UAAU,CAAC;IACrB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3C,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;EAiE1B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Sat 14 Jun 2025 at 11:11 AM
|
|
4
|
+
*/
|
|
5
|
+
import React, { type ReactNode } from 'react';
|
|
6
|
+
import { type ITheme, type AppTheme } from './themes';
|
|
7
|
+
type ZezoUIProviderProps = {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
theme?: Partial<AppTheme> & {
|
|
10
|
+
dark?: boolean;
|
|
11
|
+
};
|
|
12
|
+
autoSwitchTheme?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const ZezoUIProvider: React.FC<ZezoUIProviderProps>;
|
|
15
|
+
export declare const useTheme: (overrideTheme?: Partial<AppTheme>) => {
|
|
16
|
+
theme: ITheme;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,EAAwE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpH,OAAO,EAAyB,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAW7E,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG;QAAE,IAAI,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAC/C,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAcF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8CxD,CAAC;AAGF,eAAO,MAAM,QAAQ,GAAI,gBAAgB,OAAO,CAAC,QAAQ,CAAC,KAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAkB3E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,48 +1,61 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Naresh Dhamu
|
|
3
|
-
* @lastModified Mon 09 Jun 2025 at 04:45 PM
|
|
4
|
-
*/
|
|
5
1
|
import type { MD3ElevationColors, ThemeProp } from 'react-native-paper/lib/typescript/types';
|
|
6
2
|
type BaseColors = {
|
|
7
3
|
primary: string;
|
|
8
|
-
primaryContainer: string;
|
|
9
|
-
secondary: string;
|
|
10
|
-
secondaryContainer: string;
|
|
11
|
-
tertiary: string;
|
|
12
|
-
tertiaryContainer: string;
|
|
13
|
-
surface: string;
|
|
14
|
-
surfaceVariant: string;
|
|
15
|
-
surfaceDisabled: string;
|
|
16
|
-
background: string;
|
|
17
|
-
error: string;
|
|
18
|
-
errorContainer: string;
|
|
19
4
|
onPrimary: string;
|
|
5
|
+
primaryContainer: string;
|
|
20
6
|
onPrimaryContainer: string;
|
|
7
|
+
secondary: string;
|
|
21
8
|
onSecondary: string;
|
|
9
|
+
secondaryContainer: string;
|
|
22
10
|
onSecondaryContainer: string;
|
|
11
|
+
tertiary: string;
|
|
23
12
|
onTertiary: string;
|
|
13
|
+
tertiaryContainer: string;
|
|
24
14
|
onTertiaryContainer: string;
|
|
15
|
+
background: string;
|
|
16
|
+
backgroundDisabled: string;
|
|
17
|
+
onBackground: string;
|
|
18
|
+
blueBackground: string;
|
|
19
|
+
surface: string;
|
|
25
20
|
onSurface: string;
|
|
21
|
+
surfaceVariant: string;
|
|
26
22
|
onSurfaceVariant: string;
|
|
23
|
+
surfaceDisabled: string;
|
|
27
24
|
onSurfaceDisabled: string;
|
|
25
|
+
error: string;
|
|
28
26
|
onError: string;
|
|
27
|
+
errorContainer: string;
|
|
29
28
|
onErrorContainer: string;
|
|
30
|
-
onBackground: string;
|
|
31
29
|
outline: string;
|
|
30
|
+
outlineDisabled: string;
|
|
32
31
|
outlineVariant: string;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
inversePrimary: string;
|
|
32
|
+
border: string;
|
|
33
|
+
borderDisabled: string;
|
|
36
34
|
shadow: string;
|
|
37
35
|
scrim: string;
|
|
38
36
|
backdrop: string;
|
|
37
|
+
inverseSurface: string;
|
|
38
|
+
inverseOnSurface: string;
|
|
39
|
+
inversePrimary: string;
|
|
39
40
|
elevation: MD3ElevationColors;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
textPrimary: string;
|
|
42
|
+
textSecondary: string;
|
|
43
|
+
textDisabled: string;
|
|
44
|
+
button: string;
|
|
45
|
+
buttonDisabled: string;
|
|
46
|
+
buttonText: string;
|
|
47
|
+
white: string;
|
|
48
|
+
black: string;
|
|
49
|
+
transparent: string;
|
|
50
|
+
backgroundLayoutGradient: string[];
|
|
51
|
+
heroBannerGradient: string[];
|
|
52
|
+
cardGradient: string[];
|
|
53
|
+
skeletonHighlightColor: string;
|
|
54
|
+
skeletonBaseColor: string;
|
|
55
|
+
switchTrackColor: string;
|
|
56
|
+
switchThumbColor: string;
|
|
57
|
+
switchTrackColorDisabled: string;
|
|
58
|
+
switchThumbColorDisabled: string;
|
|
46
59
|
};
|
|
47
60
|
export interface ITheme extends Pick<ThemeProp, 'version' | 'dark' | 'mode' | 'animation' | 'fonts' | 'isV3' | 'roundness'> {
|
|
48
61
|
colors: BaseColors;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../../src/theme/themes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../../src/theme/themes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAE7F,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAE3B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAE7B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAE5B,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IAEvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAE1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IAEvB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IAEvB,MAAM,EAA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AAC"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Fri 04 Jul 2025 at 10:58 AM
|
|
4
|
+
*/
|
|
5
|
+
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
6
|
+
import type { ImageStyle as FastImageStyle } from 'react-native-fast-image';
|
|
7
|
+
import type { AppTheme, ITheme } from '../../theme/themes';
|
|
8
|
+
import type { IContentData } from '../../types';
|
|
9
|
+
import type { IGetSectionData, ISectionItem } from '../../types/sections';
|
|
10
|
+
import type { MoreFetchData } from '../../types/hook/usePaginatedSetion';
|
|
11
|
+
import type { IHistoryItem } from '../../components/User/WatchHistory/WatchHistory';
|
|
12
|
+
export type ViewStyleProp = StyleProp<ViewStyle>;
|
|
13
|
+
export type TextStyleProp = StyleProp<TextStyle>;
|
|
14
|
+
export type FastImageStyleProp = StyleProp<FastImageStyle>;
|
|
15
|
+
export type TitleStyles = {
|
|
16
|
+
container?: ViewStyleProp;
|
|
17
|
+
title?: TextStyleProp;
|
|
18
|
+
subTitle?: TextStyleProp;
|
|
19
|
+
rating?: TextStyleProp;
|
|
20
|
+
};
|
|
21
|
+
export type GenreTagStyles = {
|
|
22
|
+
container?: ViewStyleProp;
|
|
23
|
+
tagContainer?: ViewStyleProp;
|
|
24
|
+
tagText?: TextStyleProp;
|
|
25
|
+
skeletonTag?: ViewStyleProp;
|
|
26
|
+
};
|
|
27
|
+
export type AboutSectionStyles = {
|
|
28
|
+
container?: ViewStyleProp;
|
|
29
|
+
title?: TextStyleProp;
|
|
30
|
+
body?: TextStyleProp;
|
|
31
|
+
scrollExpanded?: ViewStyleProp;
|
|
32
|
+
toggleText?: TextStyleProp;
|
|
33
|
+
skeletonLine?: ViewStyleProp;
|
|
34
|
+
};
|
|
35
|
+
export type CastCardStyles = {
|
|
36
|
+
container?: ViewStyleProp;
|
|
37
|
+
heading?: TextStyleProp;
|
|
38
|
+
listContent?: ViewStyleProp;
|
|
39
|
+
card?: ViewStyleProp;
|
|
40
|
+
image?: FastImageStyleProp;
|
|
41
|
+
name?: TextStyleProp;
|
|
42
|
+
role?: TextStyleProp;
|
|
43
|
+
imageSkeleton?: ViewStyleProp;
|
|
44
|
+
nameSkeleton?: ViewStyleProp;
|
|
45
|
+
roleSkeleton?: ViewStyleProp;
|
|
46
|
+
};
|
|
47
|
+
export type RecommendedCardStyles = {
|
|
48
|
+
renderItemImage?: (params: {
|
|
49
|
+
item: IContentData;
|
|
50
|
+
index: number;
|
|
51
|
+
}) => React.ReactNode;
|
|
52
|
+
itemWidth?: number;
|
|
53
|
+
itemHeight?: number;
|
|
54
|
+
borderRadius?: number;
|
|
55
|
+
skeletonCount?: number;
|
|
56
|
+
containerStyle?: ViewStyleProp;
|
|
57
|
+
titleStyle?: TextStyleProp;
|
|
58
|
+
itemStyle?: ViewStyleProp;
|
|
59
|
+
};
|
|
60
|
+
export type PlayEventArgs = {
|
|
61
|
+
id: string;
|
|
62
|
+
slug: string;
|
|
63
|
+
type: IContentData['type'];
|
|
64
|
+
episodeId?: string;
|
|
65
|
+
current_season?: string;
|
|
66
|
+
current_episode?: string;
|
|
67
|
+
episode_number?: number;
|
|
68
|
+
is_trailer?: boolean;
|
|
69
|
+
seekTime?: number;
|
|
70
|
+
mode?: 'fullscreen' | 'normal';
|
|
71
|
+
};
|
|
72
|
+
export type ContentViewEvents = {
|
|
73
|
+
onPlay?: (args: PlayEventArgs) => void;
|
|
74
|
+
onPressRecommendedItem?: (args: {
|
|
75
|
+
item: IContentData;
|
|
76
|
+
}) => void;
|
|
77
|
+
onPressRecommendedMore?: (args: {
|
|
78
|
+
section_id: IGetSectionData['_id'];
|
|
79
|
+
name: IGetSectionData['name'];
|
|
80
|
+
type: IGetSectionData['type'];
|
|
81
|
+
}) => void;
|
|
82
|
+
onBackPress?: () => void;
|
|
83
|
+
onPressCast?: (args: {
|
|
84
|
+
cast: IContentData;
|
|
85
|
+
}) => void;
|
|
86
|
+
moreFetchDataRecommended?: MoreFetchData<IContentData>;
|
|
87
|
+
};
|
|
88
|
+
export type MenuAction = {
|
|
89
|
+
label: string;
|
|
90
|
+
icon: React.ComponentType<{
|
|
91
|
+
size?: number;
|
|
92
|
+
color?: string;
|
|
93
|
+
}>;
|
|
94
|
+
onPress: () => void;
|
|
95
|
+
};
|
|
96
|
+
export type RenderButtons = Partial<{
|
|
97
|
+
back: () => React.ReactNode;
|
|
98
|
+
menu: () => React.ReactNode;
|
|
99
|
+
play: () => React.ReactNode;
|
|
100
|
+
trailer: () => React.ReactNode;
|
|
101
|
+
}>;
|
|
102
|
+
export type SkeletonOverrides = Partial<{
|
|
103
|
+
play: () => React.ReactNode;
|
|
104
|
+
trailer: () => React.ReactNode;
|
|
105
|
+
back: () => React.ReactNode;
|
|
106
|
+
menu: () => React.ReactNode;
|
|
107
|
+
}>;
|
|
108
|
+
export type HeroBannerProps = {
|
|
109
|
+
backgroundImage: IContentData['thumbnail'];
|
|
110
|
+
title: IContentData['name'];
|
|
111
|
+
theme: ITheme;
|
|
112
|
+
isLoading?: boolean;
|
|
113
|
+
onPressPlay?: () => void;
|
|
114
|
+
onBackPress?: () => void;
|
|
115
|
+
style?: ViewStyleProp;
|
|
116
|
+
renderButtons?: RenderButtons;
|
|
117
|
+
renderSkeletons?: SkeletonOverrides;
|
|
118
|
+
menuActions?: MenuAction[];
|
|
119
|
+
};
|
|
120
|
+
export type ComponentProps = {
|
|
121
|
+
content: IContentData;
|
|
122
|
+
seasons?: IContentData['seasons'];
|
|
123
|
+
theme?: AppTheme;
|
|
124
|
+
isLoading?: boolean;
|
|
125
|
+
seasonsIsLoading?: boolean;
|
|
126
|
+
recommendedContent?: ISectionItem | null;
|
|
127
|
+
events?: ContentViewEvents;
|
|
128
|
+
heroBannerProps?: Partial<HeroBannerProps>;
|
|
129
|
+
titleStyles?: TitleStyles;
|
|
130
|
+
genreTagsStyles?: GenreTagStyles;
|
|
131
|
+
aboutSectionStyles?: AboutSectionStyles;
|
|
132
|
+
castStyles?: CastCardStyles;
|
|
133
|
+
recommendedContentCardStyles?: RecommendedCardStyles;
|
|
134
|
+
history?: IHistoryItem;
|
|
135
|
+
episodeCardMode?: 'horizontal' | 'vertical';
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=content-view.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-view.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/content/content-view.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAGpF,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;AACjD,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAC,cAAc,CAAC,CAAC;AAG3D,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,Y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O,CAAC;IAC3B,kBAAkB,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IACzC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAC3C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,eAAe,CAAC,EAAE,cAAc,CAAC;IACjC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,4BAA4B,CAAC,EAAE,qBAAqB,CAAC;IACrD,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,eAAe,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CAC7C,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Fri 04 Jul 2025 at 10:58 AM
|
|
4
|
+
*/
|
|
5
|
+
export interface IContentLanguage {
|
|
2
6
|
_id: string;
|
|
3
7
|
name: string;
|
|
4
8
|
}
|
|
@@ -8,17 +12,39 @@ export interface IContentCast {
|
|
|
8
12
|
avatar: string | null;
|
|
9
13
|
castType: string;
|
|
10
14
|
}
|
|
15
|
+
export interface IContentCategory {
|
|
16
|
+
_id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
}
|
|
19
|
+
export interface IContentGenres {
|
|
20
|
+
_id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
11
23
|
export interface ISubtitles {
|
|
12
24
|
title?: string;
|
|
13
25
|
language?: string;
|
|
14
26
|
type: 'application/x-subrip' | 'application/ttml+xml' | 'text/vtt';
|
|
15
27
|
url: string;
|
|
16
28
|
}
|
|
29
|
+
export interface IContentImages {
|
|
30
|
+
id?: string;
|
|
31
|
+
image_id?: string;
|
|
32
|
+
name?: string;
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
sizes?: {
|
|
36
|
+
small: string;
|
|
37
|
+
medium: string;
|
|
38
|
+
large: string;
|
|
39
|
+
original: string;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
17
42
|
export interface IContentEpisodes {
|
|
18
43
|
_id: string;
|
|
19
44
|
name: string;
|
|
20
45
|
description: string;
|
|
21
46
|
duration: number;
|
|
47
|
+
number: number;
|
|
22
48
|
source_link: string;
|
|
23
49
|
trailer_source_link: string;
|
|
24
50
|
source_type: 'HLS' | 'MP4';
|
|
@@ -27,33 +53,28 @@ export interface IContentEpisodes {
|
|
|
27
53
|
thumbnail: string;
|
|
28
54
|
createdAt: string;
|
|
29
55
|
updatedAt: string;
|
|
30
|
-
|
|
56
|
+
status: boolean;
|
|
31
57
|
skipIntroTimestamp?: {
|
|
32
58
|
start: number;
|
|
33
59
|
end: number;
|
|
34
60
|
} | null;
|
|
35
61
|
nextEpisodeTimestamp?: number | null;
|
|
62
|
+
source_key_type?: 'USE_PREFIX' | 'USE_CUSTOM' | 'NONE';
|
|
63
|
+
views?: number;
|
|
64
|
+
watch_time?: number;
|
|
36
65
|
}
|
|
37
66
|
export interface IContentSeasons {
|
|
38
67
|
_id: string;
|
|
39
68
|
name: string;
|
|
40
|
-
|
|
69
|
+
content_id: string;
|
|
41
70
|
order: number;
|
|
42
|
-
season_number
|
|
71
|
+
season_number: number;
|
|
43
72
|
episodes: IContentEpisodes[] | null;
|
|
44
73
|
status: boolean;
|
|
45
74
|
created_by: string;
|
|
46
75
|
createdAt: string;
|
|
47
76
|
updatedAt: string;
|
|
48
77
|
}
|
|
49
|
-
export interface IContentCategory {
|
|
50
|
-
_id: string;
|
|
51
|
-
name: string;
|
|
52
|
-
}
|
|
53
|
-
export interface IContentGenres {
|
|
54
|
-
_id: string;
|
|
55
|
-
name: string;
|
|
56
|
-
}
|
|
57
78
|
export interface IContentPagination {
|
|
58
79
|
length: number;
|
|
59
80
|
limit: number;
|
|
@@ -64,62 +85,6 @@ export interface IContentMeta {
|
|
|
64
85
|
pagination: IContentPagination;
|
|
65
86
|
report: any | null;
|
|
66
87
|
}
|
|
67
|
-
export interface IContentImages {
|
|
68
|
-
width: number;
|
|
69
|
-
height: number;
|
|
70
|
-
sizes?: {
|
|
71
|
-
small: string;
|
|
72
|
-
medium: string;
|
|
73
|
-
large: string;
|
|
74
|
-
original: string;
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
export interface IContentData {
|
|
78
|
-
_id: string;
|
|
79
|
-
name: string;
|
|
80
|
-
slug: string;
|
|
81
|
-
u_age: string;
|
|
82
|
-
description: string;
|
|
83
|
-
duration: string;
|
|
84
|
-
rating: number;
|
|
85
|
-
source_link: string | null;
|
|
86
|
-
source_type: 'HLS' | 'MP4' | 'LIVE_STREAM_HLS';
|
|
87
|
-
trailer_source_link: string | null;
|
|
88
|
-
trailer_source_type: 'HLS' | 'MP4';
|
|
89
|
-
language: IContentlanguage[] | null;
|
|
90
|
-
cast: IContentCast[] | null;
|
|
91
|
-
poster: string;
|
|
92
|
-
thumbnail: string;
|
|
93
|
-
views: number;
|
|
94
|
-
tags: string[];
|
|
95
|
-
job_id: string | null;
|
|
96
|
-
seasons: IContentSeasons[] | null;
|
|
97
|
-
status: 'PUBLIC' | 'PRIVATE' | 'PENDING' | 'REJECTED';
|
|
98
|
-
trash: boolean;
|
|
99
|
-
type: 'series' | 'movie' | 'live_stream';
|
|
100
|
-
content_offering_type: 'FREE' | 'PREMIUM' | 'BUY_OR_RENT';
|
|
101
|
-
updated_by: string;
|
|
102
|
-
created_by: Date;
|
|
103
|
-
createdAt: Date;
|
|
104
|
-
updatedAt: string;
|
|
105
|
-
category: IContentCategory[] | null;
|
|
106
|
-
genres: IContentGenres[] | null;
|
|
107
|
-
subtitles: ISubtitles[];
|
|
108
|
-
is_buy_or_rent?: 'BUY' | 'RENT';
|
|
109
|
-
rent_duration?: number | null;
|
|
110
|
-
price?: number | null;
|
|
111
|
-
title_image?: string;
|
|
112
|
-
content_duration?: string;
|
|
113
|
-
images?: IContentImages[];
|
|
114
|
-
buy_or_rent_status: {
|
|
115
|
-
_id?: string;
|
|
116
|
-
status?: 'valid' | 'expired';
|
|
117
|
-
}[];
|
|
118
|
-
}
|
|
119
|
-
export interface IContent {
|
|
120
|
-
data: IContentData[];
|
|
121
|
-
meta: IContentMeta;
|
|
122
|
-
}
|
|
123
88
|
export interface IRentOrBuyContentData {
|
|
124
89
|
_id: string;
|
|
125
90
|
content_id: IContentData;
|
|
@@ -151,4 +116,59 @@ export interface IGetIsRentOrBuyContentByIDData {
|
|
|
151
116
|
updatedAt: string;
|
|
152
117
|
};
|
|
153
118
|
}
|
|
154
|
-
|
|
119
|
+
export interface IContentData {
|
|
120
|
+
_id: string;
|
|
121
|
+
name: string;
|
|
122
|
+
slug: string;
|
|
123
|
+
description: string;
|
|
124
|
+
u_age: string;
|
|
125
|
+
duration: string;
|
|
126
|
+
rating: number;
|
|
127
|
+
type: 'series' | 'movie' | 'live_stream';
|
|
128
|
+
content_offering_type: 'FREE' | 'PREMIUM' | 'BUY_OR_RENT';
|
|
129
|
+
source_link: string | null;
|
|
130
|
+
trailer_source_link: string | null;
|
|
131
|
+
source_type: 'HLS' | 'MP4' | 'LIVE_STREAM_HLS';
|
|
132
|
+
trailer_source_type: 'HLS' | 'MP4';
|
|
133
|
+
source_key_type?: 'USE_PREFIX' | 'USE_CUSTOM';
|
|
134
|
+
trailer_source_key_type?: 'USE_PREFIX' | 'USE_CUSTOM';
|
|
135
|
+
language: IContentLanguage | null;
|
|
136
|
+
cast: IContentCast[] | null;
|
|
137
|
+
category: IContentCategory | null;
|
|
138
|
+
genres: IContentGenres[] | null;
|
|
139
|
+
subtitles: ISubtitles[];
|
|
140
|
+
images?: IContentImages[] | null;
|
|
141
|
+
seasons: IContentSeasons[] | null;
|
|
142
|
+
content_duration?: string | null;
|
|
143
|
+
release_year?: string | null;
|
|
144
|
+
poster: string;
|
|
145
|
+
thumbnail: string;
|
|
146
|
+
title_image?: string | null;
|
|
147
|
+
views: number;
|
|
148
|
+
watch_time?: number | null;
|
|
149
|
+
revenue?: number | null;
|
|
150
|
+
buy_or_rent_status: {
|
|
151
|
+
_id?: string;
|
|
152
|
+
status?: 'valid' | 'expired';
|
|
153
|
+
}[];
|
|
154
|
+
is_buy_or_rent?: 'BUY' | 'RENT';
|
|
155
|
+
rent_duration?: number | null;
|
|
156
|
+
price?: number | null;
|
|
157
|
+
buy_count?: number;
|
|
158
|
+
rent_count?: number;
|
|
159
|
+
buy_revenue?: number;
|
|
160
|
+
rent_revenue?: number;
|
|
161
|
+
status: 'PUBLIC' | 'PRIVATE' | 'PENDING' | 'REJECTED';
|
|
162
|
+
trash: boolean;
|
|
163
|
+
forKids: boolean;
|
|
164
|
+
forFamily: boolean;
|
|
165
|
+
created_by: string;
|
|
166
|
+
updated_by: string;
|
|
167
|
+
createdAt: string;
|
|
168
|
+
updatedAt: string;
|
|
169
|
+
}
|
|
170
|
+
export interface IContent {
|
|
171
|
+
data: IContentData[];
|
|
172
|
+
meta: IContentMeta;
|
|
173
|
+
}
|
|
174
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/content/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACz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