@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
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @author Pukhraj Dhamu
|
|
5
|
-
* @LastModified Sat 21 Sep 2024 at 03:26 PM
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { StyleSheet, View, TouchableOpacity, FlatList } from 'react-native';
|
|
9
|
-
import React, { memo } from 'react';
|
|
10
|
-
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
11
|
-
import { moderateScale, moderateVerticalScale, verticalScale } from 'react-native-size-matters';
|
|
12
|
-
import FastImage from 'react-native-fast-image';
|
|
13
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
const MovieCard = ({
|
|
15
|
-
data = [],
|
|
16
|
-
onEndReached,
|
|
17
|
-
isLoading = false
|
|
18
|
-
}) => {
|
|
19
|
-
const renderItem = ({
|
|
20
|
-
item,
|
|
21
|
-
index
|
|
22
|
-
}) => /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
23
|
-
style: styles.item,
|
|
24
|
-
children: /*#__PURE__*/_jsx(FastImage, {
|
|
25
|
-
source: {
|
|
26
|
-
uri: item.poster,
|
|
27
|
-
priority: FastImage.priority.normal
|
|
28
|
-
},
|
|
29
|
-
style: styles.image
|
|
30
|
-
})
|
|
31
|
-
}, index);
|
|
32
|
-
return /*#__PURE__*/_jsx(View, {
|
|
33
|
-
style: styles.root,
|
|
34
|
-
children: isLoading ? /*#__PURE__*/_jsx(SkeletonPlaceholder, {
|
|
35
|
-
children: /*#__PURE__*/_jsxs(_Fragment, {
|
|
36
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
37
|
-
style: styles.title
|
|
38
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
39
|
-
style: styles.SkeletonPlaceholder,
|
|
40
|
-
children: [1, 2, 3].map((_, index) => /*#__PURE__*/_jsx(View, {
|
|
41
|
-
style: styles.item,
|
|
42
|
-
children: /*#__PURE__*/_jsx(View, {
|
|
43
|
-
style: styles.image
|
|
44
|
-
})
|
|
45
|
-
}, index))
|
|
46
|
-
})]
|
|
47
|
-
})
|
|
48
|
-
}) : /*#__PURE__*/_jsx(_Fragment, {
|
|
49
|
-
children: /*#__PURE__*/_jsx(FlatList, {
|
|
50
|
-
horizontal: true,
|
|
51
|
-
showsHorizontalScrollIndicator: false,
|
|
52
|
-
data: data,
|
|
53
|
-
onEndReached: onEndReached,
|
|
54
|
-
onEndReachedThreshold: 0.5,
|
|
55
|
-
keyExtractor: (item, index) => item._id || index.toString(),
|
|
56
|
-
contentContainerStyle: {
|
|
57
|
-
paddingRight: moderateScale(15)
|
|
58
|
-
},
|
|
59
|
-
renderItem: renderItem
|
|
60
|
-
})
|
|
61
|
-
})
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
export default /*#__PURE__*/memo(MovieCard);
|
|
65
|
-
const styles = StyleSheet.create({
|
|
66
|
-
root: {
|
|
67
|
-
marginTop: verticalScale(10)
|
|
68
|
-
},
|
|
69
|
-
item: {
|
|
70
|
-
marginLeft: moderateScale(12)
|
|
71
|
-
},
|
|
72
|
-
image: {
|
|
73
|
-
width: moderateScale(105),
|
|
74
|
-
height: moderateScale(150),
|
|
75
|
-
borderRadius: moderateScale(5),
|
|
76
|
-
backgroundColor: '#D9D9D9'
|
|
77
|
-
},
|
|
78
|
-
title: {
|
|
79
|
-
marginHorizontal: moderateScale(15),
|
|
80
|
-
marginVertical: moderateScale(5),
|
|
81
|
-
width: moderateScale(100),
|
|
82
|
-
height: moderateScale(20),
|
|
83
|
-
borderRadius: moderateScale(4),
|
|
84
|
-
backgroundColor: '#D9D9D9'
|
|
85
|
-
},
|
|
86
|
-
SkeletonPlaceholder: {
|
|
87
|
-
flexDirection: 'row',
|
|
88
|
-
alignItems: 'center',
|
|
89
|
-
marginVertical: moderateVerticalScale(5)
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
//# sourceMappingURL=One.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","View","TouchableOpacity","FlatList","React","memo","SkeletonPlaceholder","moderateScale","moderateVerticalScale","verticalScale","FastImage","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","MovieCard","data","onEndReached","isLoading","renderItem","item","index","style","styles","children","source","uri","poster","priority","normal","image","root","title","map","_","horizontal","showsHorizontalScrollIndicator","onEndReachedThreshold","keyExtractor","_id","toString","contentContainerStyle","paddingRight","create","marginTop","marginLeft","width","height","borderRadius","backgroundColor","marginHorizontal","marginVertical","flexDirection","alignItems"],"sourceRoot":"../../../../../../src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8C,cAAc,EAAE9C,aAAa,CAAC,CAAC,CAAC;IAChCyC,KAAK,EAAEzC,aAAa,CAAC,GAAG,CAAC;IACzB0C,MAAM,EAAE1C,aAAa,CAAC,EAAE,CAAC;IACzB2C,YAAY,EAAE3C,aAAa,CAAC,CAAC,CAAC;IAC9B4C,eAAe,EAAE;EACnB,CAAC;EACD7C,mBAAmB,EAAE;IACnBgD,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBF,cAAc,EAAE7C,qBAAqB,CAAC,CAAC;EACzC;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @author Naresh Dhamu
|
|
5
|
-
* @LastModified Sun 08 Jun 2025 at 03:49 PM
|
|
6
|
-
*/
|
|
7
|
-
import StyleOne from "./Styles/One.js";
|
|
8
|
-
const Cards = {
|
|
9
|
-
Styles: {
|
|
10
|
-
One: StyleOne
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
export default Cards;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StyleOne","Cards","Styles","One"],"sourceRoot":"../../../../../src","sources":["components/Section/Card/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,QAAQ,MAAM,iBAAc;AAEnC,MAAMC,KAAK,GAAG;EACZC,MAAM,EAAE;IACNC,GAAG,EAAEH;EACP;AACF,CAAC;AAED,eAAeC,KAAK","ignoreList":[]}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @author Pukhraj Dhamu
|
|
5
|
-
* @lastModified Sat 21 Sep 2024 at 07:51 PM
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
// import Sliders from './Card/Sliders';
|
|
9
|
-
|
|
10
|
-
import Sliders from "./Card/Sliders/index.js";
|
|
11
|
-
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
12
|
-
const defaultComponentMap = (type, props) => {
|
|
13
|
-
const commonProps = {
|
|
14
|
-
theme: props.theme,
|
|
15
|
-
title: props.name,
|
|
16
|
-
section_id: props.section_id,
|
|
17
|
-
data: props.data,
|
|
18
|
-
index: props.index
|
|
19
|
-
};
|
|
20
|
-
switch (type) {
|
|
21
|
-
case 'slider':
|
|
22
|
-
return /*#__PURE__*/_jsx(Sliders.Styles.One, {
|
|
23
|
-
...commonProps
|
|
24
|
-
});
|
|
25
|
-
// case 'slider_style_2':
|
|
26
|
-
// return <Sliders.Styles.Two {...commonProps} />;
|
|
27
|
-
// case 'continue_watching':
|
|
28
|
-
// return <NowWatching {...commonProps} />;
|
|
29
|
-
// case 'new_releases':
|
|
30
|
-
// case 'normal':
|
|
31
|
-
// return <Cards.Styles.One {...commonProps} />;
|
|
32
|
-
// case 'card_style_2':
|
|
33
|
-
// return <Cards.Styles.Two {...commonProps} />;
|
|
34
|
-
// case 'card_style_3':
|
|
35
|
-
// return <Cards.Styles.Three {...commonProps} />;
|
|
36
|
-
// case 'card_style_4':
|
|
37
|
-
// return <Cards.Styles.Four {...commonProps} />;
|
|
38
|
-
// case 'card_style_5':
|
|
39
|
-
// return <Cards.Styles.Five {...commonProps} />;
|
|
40
|
-
// case 'card_style_6':
|
|
41
|
-
// return <Cards.Styles.Six {...commonProps} />;
|
|
42
|
-
// case 'card_rotate_in_out':
|
|
43
|
-
// return <Cards.Styles.RotateInOut {...commonProps} />;
|
|
44
|
-
// case 'top_10':
|
|
45
|
-
// return <Cards.Styles.TopTen {...commonProps} />;
|
|
46
|
-
default:
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
const SectionType = ({
|
|
51
|
-
type: sectionType,
|
|
52
|
-
data,
|
|
53
|
-
name,
|
|
54
|
-
customComponents = [],
|
|
55
|
-
theme,
|
|
56
|
-
index,
|
|
57
|
-
section_id
|
|
58
|
-
}) => {
|
|
59
|
-
const commonProps = {
|
|
60
|
-
data,
|
|
61
|
-
title: name
|
|
62
|
-
};
|
|
63
|
-
const customComponent = customComponents.find(component => component.type === sectionType);
|
|
64
|
-
if (customComponent) {
|
|
65
|
-
return /*#__PURE__*/React.cloneElement(customComponent.component, {
|
|
66
|
-
...(customComponent?.component?.props || {}),
|
|
67
|
-
...commonProps
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
const defaultComponent = defaultComponentMap(sectionType, {
|
|
71
|
-
data,
|
|
72
|
-
name,
|
|
73
|
-
section_id,
|
|
74
|
-
index,
|
|
75
|
-
theme
|
|
76
|
-
});
|
|
77
|
-
if (defaultComponent) return defaultComponent;
|
|
78
|
-
return /*#__PURE__*/_jsx(_Fragment, {
|
|
79
|
-
children: customComponents.filter(({
|
|
80
|
-
type: customType
|
|
81
|
-
}) => defaultComponentMap(customType, {
|
|
82
|
-
data,
|
|
83
|
-
name,
|
|
84
|
-
section_id,
|
|
85
|
-
index,
|
|
86
|
-
theme
|
|
87
|
-
}) === null).map(({
|
|
88
|
-
component,
|
|
89
|
-
type
|
|
90
|
-
}) => /*#__PURE__*/React.cloneElement(component, {
|
|
91
|
-
...(component?.props || {}),
|
|
92
|
-
key: type,
|
|
93
|
-
...commonProps
|
|
94
|
-
}))
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
export default SectionType;
|
|
98
|
-
//# sourceMappingURL=SectionType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Sliders","jsx","_jsx","Fragment","_Fragment","defaultComponentMap","type","props","commonProps","theme","title","name","section_id","data","index","Styles","One","SectionType","sectionType","customComponents","customComponent","find","component","cloneElement","defaultComponent","children","filter","customType","map","key"],"sourceRoot":"../../../../src","sources":["components/Section/SectionType.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB;;AA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AE;IACxDL,IAAI;IACJF,IAAI;IACJC,UAAU;IACVE,KAAK;IACLL;EACF,CAAC,CAAC;EAEF,IAAIe,gBAAgB,EAAE,OAAOA,gBAAgB;EAE7C,oBACEtB,IAAA,CAAAE,SAAA;IAAAqB,QAAA,EACGN,gBAAgB,CACdO,MAAM,CACL,CAAC;MAAEpB,IAAI,EAAEqB;IAAW,CAAC,KACnBtB,mBAAmB,CAACsB,UAAU,EAAE;MAC9Bd,IAAI;MACJF,IAAI;MACJC,UAAU;MACVE,KAAK;MACLL;IACF,CAAC,CAAC,KAAK,IACX,CAAC,CACAmB,GAAG,CAAC,CAAC;MAAEN,SAAS;MAAEhB;IAAK,CAAC,kBACvBP,KAAK,CAACwB,YAAY,CAACD,SAAS,EAAE;MAC5B,IAAIA,SAAS,EAAEf,KAAK,IAAI,CAAC,CAAC,CAAC;MAC3BsB,GAAG,EAAEvB,IAAI;MACT,GAAGE;IACL,CAAC,CACH;EAAC,CACH,CAAC;AAEP,CAAC;AAED,eAAeS,WAAW","ignoreList":[]}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @author Naresh Dhamu
|
|
5
|
-
* @lastModified Sun 08 Jun 2025 at 03:50 PM
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React, { useMemo } from 'react';
|
|
9
|
-
import { FlatList } from 'react-native';
|
|
10
|
-
import { scale } from 'react-native-size-matters';
|
|
11
|
-
import Animated from 'react-native-reanimated';
|
|
12
|
-
import SectionType from "./SectionType.js";
|
|
13
|
-
import { Loader } from "../Loader/Loader.js";
|
|
14
|
-
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
15
|
-
// 👇 Type-safe animated FlatList
|
|
16
|
-
const AnimatedFlatList = Animated.createAnimatedComponent(FlatList);
|
|
17
|
-
export const Sections = ({
|
|
18
|
-
customComponents,
|
|
19
|
-
LoaderComponent = /*#__PURE__*/_jsx(Loader, {}),
|
|
20
|
-
ErrorComponent,
|
|
21
|
-
onScroll,
|
|
22
|
-
contentContainerStyle,
|
|
23
|
-
data,
|
|
24
|
-
onEndReached,
|
|
25
|
-
theme
|
|
26
|
-
}) => {
|
|
27
|
-
const sectionData = useMemo(() => data, [data]);
|
|
28
|
-
const onEndReachedHandler = () => {
|
|
29
|
-
if (onEndReached) onEndReached();
|
|
30
|
-
};
|
|
31
|
-
const renderItem = ({
|
|
32
|
-
item,
|
|
33
|
-
index
|
|
34
|
-
}) => {
|
|
35
|
-
if (!item) return null;
|
|
36
|
-
return /*#__PURE__*/_jsx(SectionType, {
|
|
37
|
-
index: index,
|
|
38
|
-
type: item.type || 'normal',
|
|
39
|
-
data: item.content,
|
|
40
|
-
name: item.name,
|
|
41
|
-
theme: theme,
|
|
42
|
-
customComponents: customComponents,
|
|
43
|
-
section_id: item._id
|
|
44
|
-
}, index);
|
|
45
|
-
};
|
|
46
|
-
if (!data) {
|
|
47
|
-
if (LoaderComponent) return /*#__PURE__*/_jsx(_Fragment, {
|
|
48
|
-
children: LoaderComponent
|
|
49
|
-
});
|
|
50
|
-
if (ErrorComponent) return /*#__PURE__*/_jsx(_Fragment, {
|
|
51
|
-
children: ErrorComponent
|
|
52
|
-
});
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
return /*#__PURE__*/_jsx(AnimatedFlatList, {
|
|
56
|
-
initialNumToRender: 5,
|
|
57
|
-
showsVerticalScrollIndicator: false,
|
|
58
|
-
removeClippedSubviews: true,
|
|
59
|
-
onScroll: onScroll // casting to avoid SharedValue type issues
|
|
60
|
-
,
|
|
61
|
-
scrollEventThrottle: 16,
|
|
62
|
-
data: sectionData,
|
|
63
|
-
renderItem: renderItem,
|
|
64
|
-
keyExtractor: (_item, index) => index.toString(),
|
|
65
|
-
onEndReached: onEndReachedHandler,
|
|
66
|
-
onEndReachedThreshold: 0.7,
|
|
67
|
-
contentContainerStyle: [{
|
|
68
|
-
paddingBottom: scale(100)
|
|
69
|
-
}, contentContainerStyle]
|
|
70
|
-
});
|
|
71
|
-
};
|
|
72
|
-
//# sourceMappingURL=Sections.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","FlatList","scale","Animated","SectionType","Loader","jsx","_jsx","Fragment","_Fragment","AnimatedFlatList","createAnimatedComponent","Sections","customComponents","LoaderComponent","ErrorComponent","onScroll","contentContainerStyle","data","onEndReached","theme","sectionData","onEndReachedHandler","renderItem","item","index","type","content","name","section_id","_id","children","initialNumToRender","showsVerticalScrollIndicator","removeClippedSubviews","scrollEventThrottle","keyExtractor","_item","toString","onEndReachedThreshold","paddingBottom"],"sourceRoot":"../../../../src","sources":["components/Section/Sections.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAEEC,QAAQ,QAKH,cAAc;AACrB,SAASC,KAAK,QAAQ,2BAA2B;AACjD,OAAOC,QAAQ,MAGR,yBAAyB;AAEhC,OAAOC,WAAW,MAAM,kBAAe;AACvC,SAASC,MAAM,QAAQ,qBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AA4B1C;AACA,MAAMC,gBAAgB,GAAGP,QAAQ,CAACQ,uBAAuB,CACvDV,QACF,CAAC;AAED,OAAO,MAAMW,QAAkC,GAAGA,CAAC;EACjDC,gBAAgB;EAChBC,eAAe,gBAAGP,IAAA,CAACF,MAAM,IAAE,CAAC;EAC5BU,cAAc;EACdC,QAAQ;EACRC,qBAAqB;EACrBC,IAAI;EACJC,YAAY;EACZC;AACF,CAAC,KAAK;EACJ,MAAMC,WAAW,GAAGrB,OAAO,CAAC,MAAMkB,IAAI,EAAE,CAACA,IAAI,CAAC,CAAC;EAE/C,MAAMI,mBAAmB,GAAGA,CAAA,KAAM;IAChC,IAAIH,YAAY,EAAEA,YAAY,CAAC,CAAC;EAClC,CAAC;EAED,MAAMI,UAAU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|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["describe","it","expect","toBe"],"sourceRoot":"../../src","sources":["sample.test.ts"],"mappings":";;AAAAA,QAAQ,CAAC,aAAa,EAAE,MAAM;EAC5BC,EAAE,CAAC,aAAa,EAAE,MAAM;IACtBC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC,CAAC;EACvB,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useColorScheme } from 'react-native';
|
|
4
|
-
import { LightTheme, DarkTheme } from "./themes.js";
|
|
5
|
-
export function useAppTheme(externalTheme) {
|
|
6
|
-
const colorScheme = useColorScheme();
|
|
7
|
-
const isDarkAllowed = externalTheme?.dark === true && colorScheme === 'dark';
|
|
8
|
-
const appliedTheme = isDarkAllowed ? DarkTheme : LightTheme;
|
|
9
|
-
return {
|
|
10
|
-
colors: appliedTheme.colors,
|
|
11
|
-
isDarkMode: appliedTheme.dark ?? false
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=useAppTheme.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useColorScheme","LightTheme","DarkTheme","useAppTheme","externalTheme","colorScheme","isDarkAllowed","dark","appliedTheme","colors","isDarkMode"],"sourceRoot":"../../../src","sources":["theme/useAppTheme.ts"],"mappings":";;AAAA,SAASA,cAAc,QAAQ,cAAc;AAE7C,SAASC,UAAU,EAAEC,SAAS,QAAQ,aAAU;AAEhD,OAAO,SAASC,WAAWA,CAACC,aAAwB,EAAE;EACpD,MAAMC,WAAW,GAAGL,cAAc,CAAC,CAAC;EACpC,MAAMM,aAAa,GAAGF,aAAa,EAAEG,IAAI,KAAK,IAAI,IAAIF,WAAW,KAAK,MAAM;EAC5E,MAAMG,YAAY,GAAGF,aAAa,GAAGJ,SAAS,GAAGD,UAAU;EAC3D,OAAO;IACLQ,MAAM,EAAED,YAAY,CAACC,MAAM;IAC3BC,UAAU,EAAEF,YAAY,CAACD,IAAI,IAAI;EACnC,CAAC;AACH","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/content.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/sections.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"module"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type TouchableOpacityProps } from 'react-native';
|
|
3
|
-
interface ButtonProps extends TouchableOpacityProps {
|
|
4
|
-
title: string;
|
|
5
|
-
variant?: 'primary' | 'secondary';
|
|
6
|
-
}
|
|
7
|
-
export declare const Button: React.FC<ButtonProps>;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,cAAc,CAAC;AAGtB,UAAU,WAAY,SAAQ,qBAAqB;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CACnC;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAkBxC,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const styles: {
|
|
2
|
-
button: {
|
|
3
|
-
padding: number;
|
|
4
|
-
borderRadius: number;
|
|
5
|
-
alignItems: "center";
|
|
6
|
-
justifyContent: "center";
|
|
7
|
-
};
|
|
8
|
-
primary: {
|
|
9
|
-
backgroundColor: string;
|
|
10
|
-
};
|
|
11
|
-
secondary: {
|
|
12
|
-
backgroundColor: string;
|
|
13
|
-
};
|
|
14
|
-
text: {
|
|
15
|
-
color: string;
|
|
16
|
-
fontSize: number;
|
|
17
|
-
fontWeight: "600";
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;CAkBjB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Naresh Dhamu
|
|
3
|
-
* @lastModified Mon 09 Jun 2025 at 03:12 PM
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { IContentData, IGetSectionMeta } from '../../../../../types';
|
|
7
|
-
import { AppTheme } from '../../../../../theme/themes';
|
|
8
|
-
export interface IProps {
|
|
9
|
-
theme?: AppTheme;
|
|
10
|
-
data: {
|
|
11
|
-
data: IContentData[];
|
|
12
|
-
meta: IGetSectionMeta;
|
|
13
|
-
};
|
|
14
|
-
index: number;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: React.NamedExoticComponent<IProps>;
|
|
17
|
-
export default _default;
|
|
18
|
-
//# sourceMappingURL=One.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"One.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Section/Card/Sliders/Styles/One.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAkC,MAAM,OAAO,CAAC;AAYvD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,MAAM,WAAW,MAAM;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY,EAAE,CAAC;QACrB,IAAI,EAAE,eAAe,CAAC;KACvB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;CACf;;AA0FD,wBAA+B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Section/Card/Sliders/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;CAIZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Pukhraj Dhamu
|
|
3
|
-
* @LastModified Sat 21 Sep 2024 at 03:26 PM
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { IContentData } from '../../../../types';
|
|
7
|
-
import { AppTheme } from '../../../../theme/themes';
|
|
8
|
-
export interface IProps {
|
|
9
|
-
theme: AppTheme;
|
|
10
|
-
data?: IContentData[];
|
|
11
|
-
isLoading?: boolean;
|
|
12
|
-
title: string;
|
|
13
|
-
onEndReached?: () => void;
|
|
14
|
-
section_id: string;
|
|
15
|
-
showNavigateToMore?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare const _default: React.NamedExoticComponent<IProps>;
|
|
18
|
-
export default _default;
|
|
19
|
-
//# sourceMappingURL=One.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"One.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Section/Card/Styles/One.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAe,MAAM,OAAO,CAAC;AAQpC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;;AA0DD,wBAA+B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Section/Card/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,KAAK;;;;CAIV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Pukhraj Dhamu
|
|
3
|
-
* @lastModified Sat 21 Sep 2024 at 07:51 PM
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { IContentData, IGetSectionData, IGetSectionMeta } from '../../types';
|
|
7
|
-
import { AppTheme } from '../../theme/themes';
|
|
8
|
-
export interface ICustomComponentsForSections {
|
|
9
|
-
type: string;
|
|
10
|
-
component: React.ReactElement;
|
|
11
|
-
}
|
|
12
|
-
export interface IProps {
|
|
13
|
-
type: IGetSectionData['type'];
|
|
14
|
-
data: {
|
|
15
|
-
data: IContentData[];
|
|
16
|
-
meta: IGetSectionMeta;
|
|
17
|
-
};
|
|
18
|
-
name: string;
|
|
19
|
-
customComponents?: ICustomComponentsForSections[];
|
|
20
|
-
theme?: AppTheme;
|
|
21
|
-
index: number;
|
|
22
|
-
section_id: string;
|
|
23
|
-
}
|
|
24
|
-
declare const SectionType: React.FC<IProps>;
|
|
25
|
-
export default SectionType;
|
|
26
|
-
//# sourceMappingURL=SectionType.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SectionType.d.ts","sourceRoot":"","sources":["../../../../../src/components/Section/SectionType.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;CAC/B;AACD,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY,EAAE,CAAC;QACrB,IAAI,EAAE,eAAe,CAAC;KACvB,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;CACpB;AA6CD,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAsDjC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
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 { IGetSectionData } from '../../types';
|
|
9
|
-
import { AppTheme } from '../../theme/themes';
|
|
10
|
-
export interface ICustomComponentsForSections {
|
|
11
|
-
type: string;
|
|
12
|
-
component: React.ReactElement;
|
|
13
|
-
}
|
|
14
|
-
export interface ISectionsProps {
|
|
15
|
-
category?: string;
|
|
16
|
-
customComponents?: ICustomComponentsForSections[];
|
|
17
|
-
LoaderComponent?: React.ReactNode;
|
|
18
|
-
ErrorComponent?: React.ReactNode;
|
|
19
|
-
InfiniteScrollLoaderComponent?: React.ReactNode;
|
|
20
|
-
onScroll?: ((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | SharedValue<((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined>;
|
|
21
|
-
contentContainerStyle?: StyleProp<ViewStyle> | AnimatedStyle<StyleProp<ViewStyle>>;
|
|
22
|
-
data?: IGetSectionData[];
|
|
23
|
-
onEndReached?: () => void;
|
|
24
|
-
theme?: AppTheme;
|
|
25
|
-
}
|
|
26
|
-
export declare const Sections: React.FC<ISectionsProps>;
|
|
27
|
-
//# sourceMappingURL=Sections.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sections.d.ts","sourceRoot":"","sources":["../../../../../src/components/Section/Sections.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAiB,EACf,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;CAC/B;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,CAAC;IAClD,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,CACT,CAAC,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC,GAAG,SAAS,CACvE,CAAC;IACN,qBAAqB,CAAC,EAClB,SAAS,CAAC,SAAS,CAAC,GACpB,aAAa,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;IACxC,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB;AAOD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiE7C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=sample.test.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sample.test.d.ts","sourceRoot":"","sources":["../../../src/sample.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { AppTheme } from './themes';
|
|
2
|
-
export declare function useAppTheme(externalTheme?: AppTheme): {
|
|
3
|
-
colors: {
|
|
4
|
-
primary: string;
|
|
5
|
-
primaryContainer: string;
|
|
6
|
-
secondary: string;
|
|
7
|
-
secondaryContainer: string;
|
|
8
|
-
tertiary: string;
|
|
9
|
-
tertiaryContainer: string;
|
|
10
|
-
surface: string;
|
|
11
|
-
surfaceVariant: string;
|
|
12
|
-
surfaceDisabled: string;
|
|
13
|
-
background: string;
|
|
14
|
-
error: string;
|
|
15
|
-
errorContainer: string;
|
|
16
|
-
onPrimary: string;
|
|
17
|
-
onPrimaryContainer: string;
|
|
18
|
-
onSecondary: string;
|
|
19
|
-
onSecondaryContainer: string;
|
|
20
|
-
onTertiary: string;
|
|
21
|
-
onTertiaryContainer: string;
|
|
22
|
-
onSurface: string;
|
|
23
|
-
onSurfaceVariant: string;
|
|
24
|
-
onSurfaceDisabled: string;
|
|
25
|
-
onError: string;
|
|
26
|
-
onErrorContainer: string;
|
|
27
|
-
onBackground: string;
|
|
28
|
-
outline: string;
|
|
29
|
-
outlineVariant: string;
|
|
30
|
-
inverseSurface: string;
|
|
31
|
-
inverseOnSurface: string;
|
|
32
|
-
inversePrimary: string;
|
|
33
|
-
shadow: string;
|
|
34
|
-
scrim: string;
|
|
35
|
-
backdrop: string;
|
|
36
|
-
elevation: import("react-native-paper/lib/typescript/types").MD3ElevationColors;
|
|
37
|
-
CustomPrimary: string;
|
|
38
|
-
CustomSecondary: string;
|
|
39
|
-
CustomText: string;
|
|
40
|
-
CustomWhiteColor: string;
|
|
41
|
-
CustomBlackColor: string;
|
|
42
|
-
CustomTransparentColor: string;
|
|
43
|
-
};
|
|
44
|
-
isDarkMode: import("@callstack/react-theme-provider").$DeepPartial<boolean>;
|
|
45
|
-
};
|
|
46
|
-
//# sourceMappingURL=useAppTheme.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAppTheme.d.ts","sourceRoot":"","sources":["../../../../src/theme/useAppTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGzC,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQnD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"content.types.d.ts","sourceRoot":"","sources":["../../../../src/types/content.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IA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