@zezosoft/zezo-ott-react-native-ui-kit 1.0.2 → 1.0.4
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 +6 -0
- package/lib/module/assets/animations/135037-payment-processing-error.json +1347 -1
- package/lib/module/assets/animations/7227-vui-animation.json +3377 -1
- package/lib/module/assets/animations/heart.json +788 -0
- package/lib/module/assets/animations/succesfull-payment.json +2379 -1
- package/lib/module/assets/animations/voice-icon.json +542 -1
- package/lib/module/components/Account/Account.js +6 -6
- package/lib/module/components/Account/Account.js.map +1 -1
- package/lib/module/components/Account/index.js +1 -1
- package/lib/module/components/Account/index.js.map +1 -1
- package/lib/module/components/Alert/UAAlert.js +138 -0
- package/lib/module/components/Alert/UAAlert.js.map +1 -0
- package/lib/module/components/Alert/index.js +4 -0
- package/lib/module/components/Alert/index.js.map +1 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +9 -9
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +10 -10
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js +10 -10
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -1
- package/lib/module/components/Auth/OTP/OTP.js +9 -9
- package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
- package/lib/module/components/Auth/QrLogin/QrLogin.js +267 -0
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +178 -0
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/SignUp/SignUp.js +10 -10
- package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js +6 -6
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +1 -6
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
- package/lib/module/components/Auth/index.js +9 -7
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BlogView/BlogView.js +4 -10
- package/lib/module/components/BlogView/BlogView.js.map +1 -1
- package/lib/module/components/BlogView/index.js +1 -1
- package/lib/module/components/BlogView/index.js.map +1 -1
- package/lib/module/components/Button/BackBtn.js +1 -1
- package/lib/module/components/Button/BackBtn.js.map +1 -1
- package/lib/module/components/Button/MenuBtn.js +1 -1
- package/lib/module/components/Button/MenuBtn.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +2 -2
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Button/TextButton.js +2 -2
- package/lib/module/components/Button/TextButton.js.map +1 -1
- package/lib/module/components/Button/index.js +3 -3
- package/lib/module/components/Button/index.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +2 -2
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +6 -6
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +3 -3
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +4 -4
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +2 -2
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +4 -4
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +4 -4
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +4 -4
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +4 -4
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +5 -5
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +4 -4
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +5 -5
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +4 -4
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js +1 -10
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/NavigateToMore.js +2 -2
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/NoContentFallback.js +3 -3
- package/lib/module/components/Content/Card/components/NoContentFallback.js.map +1 -1
- package/lib/module/components/Content/Card/components/ShowAllButton.js +1 -1
- package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -1
- package/lib/module/components/Content/Card/components/ThumbnailCard.js +1 -1
- package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -1
- package/lib/module/components/Content/Card/index.js +10 -10
- package/lib/module/components/Content/Card/index.js.map +1 -1
- package/lib/module/components/Content/Content.js +4 -4
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +2 -2
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/ContentView/ContentView.js +8 -9
- package/lib/module/components/ContentView/ContentView.js.map +1 -1
- package/lib/module/components/ContentView/MoreContentList.js +6 -6
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/components/AboutSection.js +2 -2
- package/lib/module/components/ContentView/components/AboutSection.js.map +1 -1
- package/lib/module/components/ContentView/components/CastCard.js +2 -2
- package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
- package/lib/module/components/ContentView/components/HeroBanner.js +5 -5
- package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -1
- package/lib/module/components/ContentView/components/PlayButton.js +0 -1
- package/lib/module/components/ContentView/components/PlayButton.js.map +1 -1
- package/lib/module/components/ContentView/components/Title.js +1 -1
- package/lib/module/components/ContentView/components/Title.js.map +1 -1
- package/lib/module/components/ContentView/components/TrailerButton.js +1 -2
- package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -1
- package/lib/module/components/ContentView/index.js +2 -2
- package/lib/module/components/ContentView/index.js.map +1 -1
- package/lib/module/components/Headers/AppHeader.js +3 -3
- package/lib/module/components/Headers/AppHeader.js.map +1 -1
- package/lib/module/components/Headers/One.js +3 -3
- package/lib/module/components/Headers/One.js.map +1 -1
- package/lib/module/components/Headers/Three.js +2 -2
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/Two.js +6 -7
- package/lib/module/components/Headers/Two.js.map +1 -1
- package/lib/module/components/Headers/index.js +3 -3
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Input/Input.js +3 -3
- package/lib/module/components/Input/Input.js.map +1 -1
- package/lib/module/components/Input/InputOne.js +1 -1
- package/lib/module/components/Input/InputOne.js.map +1 -1
- package/lib/module/components/Input/InputTwo.js +1 -1
- package/lib/module/components/Input/InputTwo.js.map +1 -1
- package/lib/module/components/Input/PhoneNumberInput.js +1 -1
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
- package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -1
- package/lib/module/components/Loader/Loader.js +1 -6
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +2 -2
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js +110 -0
- package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js +216 -0
- package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js +182 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js +203 -0
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +121 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +290 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/types.js +2 -0
- package/lib/module/components/Reels/ReelsSeries/types.js.map +1 -0
- package/lib/module/components/Reels/index.js +11 -0
- package/lib/module/components/Reels/index.js.map +1 -0
- package/lib/module/components/Search/One.js +9 -9
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/RecentSearchesSection.js +1 -1
- package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +3 -3
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/Search/index.js +2 -2
- package/lib/module/components/Search/index.js.map +1 -1
- package/lib/module/components/Settings/AppSettings.js +4 -4
- package/lib/module/components/Settings/AppSettings.js.map +1 -1
- package/lib/module/components/Settings/index.js +1 -1
- package/lib/module/components/Settings/index.js.map +1 -1
- package/lib/module/components/Subscription/SubOne.js +4 -4
- package/lib/module/components/Subscription/SubOne.js.map +1 -1
- package/lib/module/components/Subscription/index.js +1 -1
- package/lib/module/components/Subscription/index.js.map +1 -1
- package/lib/module/components/TabBar/One.js +2 -2
- package/lib/module/components/TabBar/One.js.map +1 -1
- package/lib/module/components/TabBar/Three.js +1 -1
- package/lib/module/components/TabBar/Three.js.map +1 -1
- package/lib/module/components/TabBar/Two.js +2 -2
- package/lib/module/components/TabBar/Two.js.map +1 -1
- package/lib/module/components/TabBar/index.js +3 -3
- package/lib/module/components/TabBar/index.js.map +1 -1
- package/lib/module/components/Text/Text.js +1 -1
- package/lib/module/components/Text/Text.js.map +1 -1
- package/lib/module/components/Text/index.js +1 -1
- package/lib/module/components/Text/index.js.map +1 -1
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js +11 -3
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js +258 -0
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js.map +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js +4 -4
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +5 -5
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/User/components/UserAvatar.js +1 -1
- package/lib/module/components/User/components/UserAvatar.js.map +1 -1
- package/lib/module/components/User/components/UserSection.js +11 -16
- package/lib/module/components/User/components/UserSection.js.map +1 -1
- package/lib/module/components/User/index.js +5 -4
- package/lib/module/components/User/index.js.map +1 -1
- package/lib/module/components/View/View.js.map +1 -1
- package/lib/module/components/View/index.js +1 -1
- package/lib/module/components/View/index.js.map +1 -1
- package/lib/module/components/index.js +20 -18
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
- package/lib/module/components/layout/index.js +1 -1
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/useDebounce.js.map +1 -1
- package/lib/module/hooks/useInitSplashCacheSync.js +7 -7
- package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -1
- package/lib/module/hooks/useKeyboard.js.map +1 -1
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/index.js +3 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/store/RecentSearchesStore.js.map +1 -1
- package/lib/module/store/splashStore.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +24 -18
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/useTheme.js +2 -2
- package/lib/module/theme/hook/useTheme.js.map +1 -1
- package/lib/module/theme/index.js +3 -2
- package/lib/module/theme/index.js.map +1 -1
- package/lib/module/theme/themes.js +2 -13
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/utils/Formater.js +17 -0
- package/lib/module/utils/Formater.js.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/components/Account/Account.d.ts +0 -1
- package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
- package/lib/typescript/src/components/Alert/UAAlert.d.ts +16 -0
- package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -0
- package/lib/typescript/src/components/Alert/index.d.ts +2 -0
- package/lib/typescript/src/components/Alert/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts +32 -0
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts +15 -0
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts +0 -4
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/index.d.ts +2 -1
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
- package/lib/typescript/src/components/BlogView/BlogView.d.ts +0 -4
- package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +0 -8
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +1 -2
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/index.d.ts +2 -2
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -6
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/components/Loader/Loader.d.ts +0 -4
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts +12 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts +9 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts +13 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts +18 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +18 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +24 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts +8 -0
- package/lib/typescript/src/components/Reels/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/index.d.ts +2 -2
- package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/One.d.ts +2 -2
- package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Two.d.ts +1 -1
- package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/index.d.ts +2 -2
- package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +2 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -1
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts +27 -0
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts.map +1 -0
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
- package/lib/typescript/src/components/User/index.d.ts +2 -1
- package/lib/typescript/src/components/User/index.d.ts.map +1 -1
- package/lib/typescript/src/components/View/View.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +2 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts +1 -1
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/store/RecentSearchesStore.d.ts +5 -3
- package/lib/typescript/src/store/RecentSearchesStore.d.ts.map +1 -1
- package/lib/typescript/src/store/splashStore.d.ts +5 -3
- package/lib/typescript/src/store/splashStore.d.ts.map +1 -1
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/index.d.ts +5 -0
- package/lib/typescript/src/theme/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/themes.d.ts +12 -4
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +1 -1
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -1
- package/lib/typescript/src/utils/Formater.d.ts +2 -0
- package/lib/typescript/src/utils/Formater.d.ts.map +1 -0
- package/package.json +175 -70
- package/src/Styles/globalStyles.ts +18 -18
- package/src/assets/animations/135037-payment-processing-error.json +1347 -1
- package/src/assets/animations/7227-vui-animation.json +3377 -1
- package/src/assets/animations/heart.json +788 -0
- package/src/assets/animations/succesfull-payment.json +2379 -1
- package/src/assets/animations/voice-icon.json +542 -1
- package/src/components/Account/Account.tsx +139 -61
- package/src/components/Alert/UAAlert.tsx +168 -0
- package/src/components/Alert/index.ts +1 -0
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +53 -23
- package/src/components/Auth/Login/LoginWithEmail.tsx +62 -32
- package/src/components/Auth/Login/LoginWithPhone.tsx +55 -24
- package/src/components/Auth/OTP/OTP.tsx +77 -32
- package/src/components/Auth/QrLogin/QrLogin.tsx +306 -0
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +213 -0
- package/src/components/Auth/SignUp/SignUp.tsx +67 -32
- package/src/components/Auth/SplashScreen/SplashScreen.tsx +44 -16
- package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +21 -12
- package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +5 -5
- package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +15 -5
- package/src/components/Auth/index.ts +3 -1
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +45 -17
- package/src/components/BlogView/BlogView.tsx +51 -31
- package/src/components/Button/BackBtn.tsx +31 -9
- package/src/components/Button/MenuBtn.tsx +61 -22
- package/src/components/Button/PrimaryBtn.tsx +30 -10
- package/src/components/Button/TextButton.tsx +30 -15
- package/src/components/Button/index.ts +1 -1
- package/src/components/Content/Card/Category/Category.tsx +73 -32
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +102 -44
- package/src/components/Content/Card/Sliders/Styles/One.tsx +89 -38
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +47 -21
- package/src/components/Content/Card/Sliders/index.ts +2 -2
- package/src/components/Content/Card/Styles/Five.tsx +65 -22
- package/src/components/Content/Card/Styles/Four.tsx +73 -23
- package/src/components/Content/Card/Styles/One.tsx +68 -21
- package/src/components/Content/Card/Styles/RotateInOut.tsx +59 -23
- package/src/components/Content/Card/Styles/Six.tsx +57 -19
- package/src/components/Content/Card/Styles/Three.tsx +59 -23
- package/src/components/Content/Card/Styles/TopTen.tsx +59 -26
- package/src/components/Content/Card/Styles/Two.tsx +39 -18
- package/src/components/Content/Card/components/CardPoster.tsx +34 -32
- package/src/components/Content/Card/components/NavigateToMore.tsx +17 -7
- package/src/components/Content/Card/components/NoContentFallback.tsx +36 -19
- package/src/components/Content/Card/components/ShowAllButton.tsx +12 -8
- package/src/components/Content/Card/components/ThumbnailCard.tsx +26 -17
- package/src/components/Content/Card/index.ts +2 -2
- package/src/components/Content/Content.tsx +41 -17
- package/src/components/Content/Sections.tsx +14 -8
- package/src/components/ContentView/ContentView.tsx +34 -27
- package/src/components/ContentView/MoreContentList.tsx +40 -18
- package/src/components/ContentView/components/AboutSection.tsx +30 -12
- package/src/components/ContentView/components/CastCard.tsx +65 -24
- package/src/components/ContentView/components/EpisodeCard.tsx +109 -44
- package/src/components/ContentView/components/GenreTags.tsx +35 -11
- package/src/components/ContentView/components/HeroBanner.tsx +52 -21
- package/src/components/ContentView/components/PlayButton.tsx +13 -5
- package/src/components/ContentView/components/Title.tsx +30 -10
- package/src/components/ContentView/components/TrailerButton.tsx +16 -7
- package/src/components/Headers/AppHeader.tsx +41 -15
- package/src/components/Headers/One.tsx +19 -10
- package/src/components/Headers/Three.tsx +22 -7
- package/src/components/Headers/Two.tsx +25 -14
- package/src/components/Headers/index.ts +1 -1
- package/src/components/Input/Input.ts +1 -1
- package/src/components/Input/InputOne.tsx +69 -23
- package/src/components/Input/InputTwo.tsx +41 -18
- package/src/components/Input/PhoneNumberInput.tsx +94 -48
- package/src/components/Keyboard/HideKeyboard.tsx +16 -10
- package/src/components/Loader/Loader.tsx +3 -8
- package/src/components/Logo/Logo.tsx +17 -9
- package/src/components/Reels/ReelsSeries/Model/Episodes.tsx +133 -0
- package/src/components/Reels/ReelsSeries/Model/Synopsis.tsx +249 -0
- package/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.tsx +209 -0
- package/src/components/Reels/ReelsSeries/ReelSeriesOverlay.tsx +185 -0
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +163 -0
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +333 -0
- package/src/components/Reels/ReelsSeries/types.ts +27 -0
- package/src/components/Reels/index.ts +8 -0
- package/src/components/Search/One.tsx +46 -17
- package/src/components/Search/components/RecentSearchesSection.tsx +48 -21
- package/src/components/Search/components/SearchCard.tsx +34 -16
- package/src/components/Search/index.ts +1 -1
- package/src/components/Settings/AppSettings.tsx +80 -29
- package/src/components/Subscription/SubOne.tsx +84 -39
- package/src/components/Subscription/index.ts +1 -1
- package/src/components/TabBar/One.tsx +22 -18
- package/src/components/TabBar/Three.tsx +55 -19
- package/src/components/TabBar/Two.tsx +16 -12
- package/src/components/TabBar/index.ts +1 -1
- package/src/components/Text/Text.tsx +7 -3
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +104 -38
- package/src/components/User/ProfileUpdate/ProfileUpdate.tsx +265 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +37 -12
- package/src/components/User/WatchLater/WatchLater.tsx +94 -31
- package/src/components/User/components/UserAvatar.tsx +8 -4
- package/src/components/User/components/UserSection.tsx +39 -27
- package/src/components/User/index.ts +3 -1
- package/src/components/View/View.tsx +11 -2
- package/src/components/index.ts +2 -0
- package/src/components/layout/SafeAreaWrapper.tsx +10 -4
- package/src/constants/dummySections.ts +9 -7
- package/src/hooks/useDebounce.ts +4 -1
- package/src/hooks/useInitSplashCacheSync.ts +46 -18
- package/src/hooks/useKeyboard.ts +5 -3
- package/src/hooks/usePaginatedSection.ts +11 -7
- package/src/store/RecentSearchesStore.ts +12 -7
- package/src/store/splashStore.ts +16 -16
- package/src/theme/ThemeProvider.tsx +57 -24
- package/src/theme/hook/useTheme.ts +7 -3
- package/src/theme/index.ts +6 -0
- package/src/theme/themes.ts +45 -31
- package/src/types/content/content-view.types.ts +4 -1
- package/src/types/hook/usePaginatedSetion.ts +1 -1
- package/src/utils/Formater.ts +14 -0
- package/lib/module/components/Icons/AlertIcon.js +0 -33
- package/lib/module/components/Icons/AlertIcon.js.map +0 -1
- package/lib/module/components/Icons/DeviceIcon.js +0 -25
- package/lib/module/components/Icons/DeviceIcon.js.map +0 -1
- package/lib/module/components/Icons/DoneIcon/DoneIcon.js +0 -23
- package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +0 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +0 -65
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +0 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +0 -56
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +0 -1
- package/lib/module/components/Icons/NewIndex.js +0 -36
- package/lib/module/components/Icons/NewIndex.js.map +0 -1
- package/lib/module/components/Icons/ResendOTP.js +0 -21
- package/lib/module/components/Icons/ResendOTP.js.map +0 -1
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts +0 -7
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +0 -7
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +0 -6
- package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +0 -3
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +0 -3
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/NewIndex.d.ts +0 -19
- package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts +0 -7
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +0 -1
- package/src/components/Icons/AlertIcon.tsx +0 -18
- package/src/components/Icons/DeviceIcon.tsx +0 -18
- package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -17
- package/src/components/Icons/ForgotPasswordMessageIcon.tsx +0 -34
- package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +0 -32
- package/src/components/Icons/NewIndex.ts +0 -35
- package/src/components/Icons/ResendOTP.tsx +0 -13
- /package/lib/module/assets/{img → svg}/h.svg +0 -0
- /package/src/assets/{img → svg}/h.svg +0 -0
- /package/src/{index.ts → index.tsx} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
TouchableOpacity,
|
|
13
13
|
type TextInputProps,
|
|
14
14
|
type TextStyle,
|
|
15
|
-
type ViewStyle
|
|
15
|
+
type ViewStyle,
|
|
16
16
|
} from 'react-native';
|
|
17
17
|
import { Eye, EyeOff } from 'lucide-react-native';
|
|
18
18
|
import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
|
|
@@ -66,18 +66,37 @@ const InputTwo: React.FC<InputTwoProps> = ({
|
|
|
66
66
|
error: inputErrorColor,
|
|
67
67
|
backgroundDisabled,
|
|
68
68
|
errorContainer,
|
|
69
|
-
skeletonBaseColor
|
|
69
|
+
skeletonBaseColor,
|
|
70
70
|
} = appliedTheme?.colors || {};
|
|
71
71
|
|
|
72
|
-
const computedBorderColor = disabled
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
const computedBorderColor = disabled
|
|
73
|
+
? outline
|
|
74
|
+
: error
|
|
75
|
+
? inputErrorColor
|
|
76
|
+
: outlineDisabled;
|
|
77
|
+
const computedBackgroundColor = disabled
|
|
78
|
+
? backgroundDisabled
|
|
79
|
+
: error
|
|
80
|
+
? errorContainer
|
|
81
|
+
: skeletonBaseColor;
|
|
82
|
+
const computedTextColor = disabled
|
|
83
|
+
? textDisabled
|
|
84
|
+
: error
|
|
85
|
+
? inputErrorColor
|
|
86
|
+
: textPrimary;
|
|
75
87
|
|
|
76
88
|
return (
|
|
77
89
|
<View style={[styles.container, containerStyle]}>
|
|
78
90
|
{label && (
|
|
79
|
-
<View
|
|
80
|
-
|
|
91
|
+
<View
|
|
92
|
+
style={[
|
|
93
|
+
styles.labelContainer,
|
|
94
|
+
{ backgroundColor: skeletonBaseColor, borderRadius: scale(3) },
|
|
95
|
+
]}
|
|
96
|
+
>
|
|
97
|
+
<Text style={[styles.label, { color: computedTextColor }]}>
|
|
98
|
+
{label}
|
|
99
|
+
</Text>
|
|
81
100
|
</View>
|
|
82
101
|
)}
|
|
83
102
|
|
|
@@ -86,8 +105,8 @@ const InputTwo: React.FC<InputTwoProps> = ({
|
|
|
86
105
|
styles.inputWrapper,
|
|
87
106
|
{
|
|
88
107
|
borderColor: computedBorderColor,
|
|
89
|
-
backgroundColor: computedBackgroundColor
|
|
90
|
-
}
|
|
108
|
+
backgroundColor: computedBackgroundColor,
|
|
109
|
+
},
|
|
91
110
|
]}
|
|
92
111
|
>
|
|
93
112
|
{/* Left Icon */}
|
|
@@ -139,7 +158,11 @@ const InputTwo: React.FC<InputTwoProps> = ({
|
|
|
139
158
|
) : null}
|
|
140
159
|
</View>
|
|
141
160
|
|
|
142
|
-
{error && errorMessage &&
|
|
161
|
+
{error && errorMessage && (
|
|
162
|
+
<Text style={[styles.errorText, { color: inputErrorColor }]}>
|
|
163
|
+
{errorMessage}
|
|
164
|
+
</Text>
|
|
165
|
+
)}
|
|
143
166
|
</View>
|
|
144
167
|
);
|
|
145
168
|
};
|
|
@@ -149,19 +172,19 @@ export default InputTwo;
|
|
|
149
172
|
const styles = StyleSheet.create({
|
|
150
173
|
container: {
|
|
151
174
|
width: '100%',
|
|
152
|
-
marginBottom: verticalScale(5)
|
|
175
|
+
marginBottom: verticalScale(5),
|
|
153
176
|
},
|
|
154
177
|
labelContainer: {
|
|
155
178
|
position: 'absolute',
|
|
156
179
|
top: -9,
|
|
157
180
|
left: scale(12),
|
|
158
181
|
zIndex: 1,
|
|
159
|
-
paddingHorizontal: scale(4)
|
|
182
|
+
paddingHorizontal: scale(4),
|
|
160
183
|
},
|
|
161
184
|
label: {
|
|
162
185
|
fontSize: RFValue(11),
|
|
163
186
|
fontWeight: '500',
|
|
164
|
-
backgroundColor: 'transparent'
|
|
187
|
+
backgroundColor: 'transparent',
|
|
165
188
|
},
|
|
166
189
|
inputWrapper: {
|
|
167
190
|
width: '100%',
|
|
@@ -170,20 +193,20 @@ const styles = StyleSheet.create({
|
|
|
170
193
|
paddingHorizontal: scale(10),
|
|
171
194
|
paddingVertical: verticalScale(6),
|
|
172
195
|
flexDirection: 'row',
|
|
173
|
-
alignItems: 'center'
|
|
196
|
+
alignItems: 'center',
|
|
174
197
|
},
|
|
175
198
|
iconWrapper: {
|
|
176
|
-
marginHorizontal: scale(5)
|
|
199
|
+
marginHorizontal: scale(5),
|
|
177
200
|
},
|
|
178
201
|
input: {
|
|
179
202
|
flex: 1,
|
|
180
203
|
fontSize: RFValue(14),
|
|
181
204
|
minHeight: verticalScale(30),
|
|
182
|
-
padding: 0
|
|
205
|
+
padding: 0,
|
|
183
206
|
},
|
|
184
207
|
errorText: {
|
|
185
208
|
fontSize: RFValue(11),
|
|
186
209
|
marginTop: verticalScale(4),
|
|
187
|
-
marginLeft: scale(8)
|
|
188
|
-
}
|
|
210
|
+
marginLeft: scale(8),
|
|
211
|
+
},
|
|
189
212
|
});
|
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
* @lastModified Mon 16 Jun 2025 at 12:35 PM
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import React, {
|
|
6
|
+
import React, {
|
|
7
|
+
useRef,
|
|
8
|
+
useState,
|
|
9
|
+
useCallback,
|
|
10
|
+
useMemo,
|
|
11
|
+
useEffect,
|
|
12
|
+
} from 'react';
|
|
7
13
|
import {
|
|
8
14
|
StyleSheet,
|
|
9
15
|
View,
|
|
@@ -11,7 +17,7 @@ import {
|
|
|
11
17
|
Animated,
|
|
12
18
|
type AccessibilityProps,
|
|
13
19
|
type TextStyle,
|
|
14
|
-
type ViewStyle
|
|
20
|
+
type ViewStyle,
|
|
15
21
|
} from 'react-native';
|
|
16
22
|
import PhoneInput from 'react-native-phone-number-input';
|
|
17
23
|
import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
|
|
@@ -24,9 +30,14 @@ import { useTheme } from '../../theme/hook/useTheme';
|
|
|
24
30
|
import type { AppTheme } from '../../theme/themes';
|
|
25
31
|
import { RFValue } from 'react-native-responsive-fontsize';
|
|
26
32
|
|
|
27
|
-
export interface PhoneNumberInputProps
|
|
33
|
+
export interface PhoneNumberInputProps
|
|
34
|
+
extends Pick<AccessibilityProps, 'accessibilityLabel' | 'accessibilityHint'> {
|
|
28
35
|
value: string;
|
|
29
|
-
onChangeText: (params: {
|
|
36
|
+
onChangeText: (params: {
|
|
37
|
+
fullNumber: string;
|
|
38
|
+
countryCode: string;
|
|
39
|
+
formattedNumber: string;
|
|
40
|
+
}) => void;
|
|
30
41
|
label?: string;
|
|
31
42
|
placeholder?: string;
|
|
32
43
|
error?: boolean;
|
|
@@ -37,9 +48,15 @@ export interface PhoneNumberInputProps extends Pick<AccessibilityProps, 'accessi
|
|
|
37
48
|
disabled?: boolean;
|
|
38
49
|
}
|
|
39
50
|
|
|
40
|
-
const getMaxLengthForCountry = (
|
|
51
|
+
const getMaxLengthForCountry = (
|
|
52
|
+
countryCode: string,
|
|
53
|
+
defaultMaxLength: number
|
|
54
|
+
): number => {
|
|
41
55
|
try {
|
|
42
|
-
const example = getExampleNumber(
|
|
56
|
+
const example = getExampleNumber(
|
|
57
|
+
countryCode as keyof typeof examples,
|
|
58
|
+
examples
|
|
59
|
+
);
|
|
43
60
|
return example?.nationalNumber?.length ?? defaultMaxLength;
|
|
44
61
|
} catch (error) {
|
|
45
62
|
console.warn(`Failed to get max length for country ${countryCode}:`, error);
|
|
@@ -59,7 +76,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
59
76
|
theme: propTheme,
|
|
60
77
|
accessibilityLabel = label || 'Phone number input',
|
|
61
78
|
accessibilityHint,
|
|
62
|
-
disabled = false
|
|
79
|
+
disabled = false,
|
|
63
80
|
}) => {
|
|
64
81
|
const phoneInputRef = useRef<PhoneInput>(null);
|
|
65
82
|
const { theme: appliedTheme } = useTheme(propTheme);
|
|
@@ -77,13 +94,13 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
77
94
|
Animated.timing(errorAnimation, {
|
|
78
95
|
toValue: 1,
|
|
79
96
|
duration: 300,
|
|
80
|
-
useNativeDriver: true
|
|
97
|
+
useNativeDriver: true,
|
|
81
98
|
}).start();
|
|
82
99
|
} else {
|
|
83
100
|
Animated.timing(errorAnimation, {
|
|
84
101
|
toValue: 0,
|
|
85
102
|
duration: 300,
|
|
86
|
-
useNativeDriver: true
|
|
103
|
+
useNativeDriver: true,
|
|
87
104
|
}).start();
|
|
88
105
|
}
|
|
89
106
|
}, [inputError, error, errorAnimation]);
|
|
@@ -100,7 +117,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
100
117
|
onChangeText({
|
|
101
118
|
fullNumber: '',
|
|
102
119
|
formattedNumber: formattedText,
|
|
103
|
-
countryCode: inputCallingCode
|
|
120
|
+
countryCode: inputCallingCode,
|
|
104
121
|
});
|
|
105
122
|
return;
|
|
106
123
|
}
|
|
@@ -110,7 +127,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
110
127
|
onChangeText({
|
|
111
128
|
fullNumber: '',
|
|
112
129
|
formattedNumber: formattedText,
|
|
113
|
-
countryCode: inputCallingCode
|
|
130
|
+
countryCode: inputCallingCode,
|
|
114
131
|
});
|
|
115
132
|
return;
|
|
116
133
|
}
|
|
@@ -120,7 +137,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
120
137
|
onChangeText({
|
|
121
138
|
fullNumber: '',
|
|
122
139
|
formattedNumber: formattedText,
|
|
123
|
-
countryCode: inputCallingCode
|
|
140
|
+
countryCode: inputCallingCode,
|
|
124
141
|
});
|
|
125
142
|
return;
|
|
126
143
|
}
|
|
@@ -130,7 +147,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
130
147
|
onChangeText({
|
|
131
148
|
fullNumber: '',
|
|
132
149
|
formattedNumber: formattedText,
|
|
133
|
-
countryCode: inputCallingCode
|
|
150
|
+
countryCode: inputCallingCode,
|
|
134
151
|
});
|
|
135
152
|
return;
|
|
136
153
|
}
|
|
@@ -143,14 +160,14 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
143
160
|
onChangeText({
|
|
144
161
|
fullNumber: e164,
|
|
145
162
|
formattedNumber: formattedText,
|
|
146
|
-
countryCode: inputCallingCode
|
|
163
|
+
countryCode: inputCallingCode,
|
|
147
164
|
});
|
|
148
165
|
} else {
|
|
149
166
|
setInputError('Please enter a valid phone number');
|
|
150
167
|
onChangeText({
|
|
151
168
|
fullNumber: '',
|
|
152
169
|
formattedNumber: formattedText,
|
|
153
|
-
countryCode: inputCallingCode
|
|
170
|
+
countryCode: inputCallingCode,
|
|
154
171
|
});
|
|
155
172
|
}
|
|
156
173
|
},
|
|
@@ -190,8 +207,8 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
190
207
|
: inputError || error
|
|
191
208
|
? appliedTheme.colors.errorContainer
|
|
192
209
|
: appliedTheme.colors.background,
|
|
193
|
-
borderWidth: isFocused ? scale(1.5) : scale(1)
|
|
194
|
-
}
|
|
210
|
+
borderWidth: isFocused ? scale(1.5) : scale(1),
|
|
211
|
+
},
|
|
195
212
|
],
|
|
196
213
|
[
|
|
197
214
|
disabled,
|
|
@@ -204,7 +221,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
204
221
|
appliedTheme.colors.background,
|
|
205
222
|
inputError,
|
|
206
223
|
error,
|
|
207
|
-
isFocused
|
|
224
|
+
isFocused,
|
|
208
225
|
]
|
|
209
226
|
);
|
|
210
227
|
|
|
@@ -222,13 +239,18 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
222
239
|
{
|
|
223
240
|
opacity: errorAnimation.interpolate({
|
|
224
241
|
inputRange: [0, 1],
|
|
225
|
-
outputRange: [1, 0.95]
|
|
226
|
-
})
|
|
227
|
-
}
|
|
242
|
+
outputRange: [1, 0.95],
|
|
243
|
+
}),
|
|
244
|
+
},
|
|
228
245
|
]}
|
|
229
246
|
>
|
|
230
247
|
{label && (
|
|
231
|
-
<View
|
|
248
|
+
<View
|
|
249
|
+
style={[
|
|
250
|
+
styles.labelContainer,
|
|
251
|
+
{ backgroundColor: appliedTheme.colors.background },
|
|
252
|
+
]}
|
|
253
|
+
>
|
|
232
254
|
<Text
|
|
233
255
|
style={[
|
|
234
256
|
styles.label,
|
|
@@ -237,8 +259,8 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
237
259
|
? appliedTheme.colors.textDisabled
|
|
238
260
|
: error || inputError
|
|
239
261
|
? appliedTheme.colors.error
|
|
240
|
-
: appliedTheme.colors.textPrimary
|
|
241
|
-
}
|
|
262
|
+
: appliedTheme.colors.textPrimary,
|
|
263
|
+
},
|
|
242
264
|
]}
|
|
243
265
|
>
|
|
244
266
|
{label}
|
|
@@ -256,15 +278,23 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
256
278
|
autoFocus={false}
|
|
257
279
|
disabled={disabled}
|
|
258
280
|
placeholder={placeholder}
|
|
259
|
-
containerStyle={[
|
|
260
|
-
|
|
281
|
+
containerStyle={[
|
|
282
|
+
styles.phoneInputContainer,
|
|
283
|
+
{ backgroundColor: 'transparent' },
|
|
284
|
+
]}
|
|
285
|
+
textContainerStyle={[
|
|
286
|
+
styles.phoneInputTextContainer,
|
|
287
|
+
{ backgroundColor: 'transparent' },
|
|
288
|
+
]}
|
|
261
289
|
textInputStyle={[
|
|
262
290
|
styles.textInput,
|
|
263
291
|
{
|
|
264
|
-
color: disabled
|
|
265
|
-
|
|
292
|
+
color: disabled
|
|
293
|
+
? appliedTheme.colors.textDisabled
|
|
294
|
+
: appliedTheme.colors.textPrimary,
|
|
295
|
+
backgroundColor: 'transparent',
|
|
266
296
|
},
|
|
267
|
-
inputStyle
|
|
297
|
+
inputStyle,
|
|
268
298
|
]}
|
|
269
299
|
codeTextStyle={[
|
|
270
300
|
styles.codeTextStyle,
|
|
@@ -274,10 +304,13 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
274
304
|
: error || inputError
|
|
275
305
|
? appliedTheme.colors.onErrorContainer
|
|
276
306
|
: appliedTheme.colors.textPrimary,
|
|
277
|
-
backgroundColor: 'transparent'
|
|
278
|
-
}
|
|
307
|
+
backgroundColor: 'transparent',
|
|
308
|
+
},
|
|
309
|
+
]}
|
|
310
|
+
countryPickerButtonStyle={[
|
|
311
|
+
styles.countryPickerButtonStyle,
|
|
312
|
+
{ backgroundColor: 'transparent' },
|
|
279
313
|
]}
|
|
280
|
-
countryPickerButtonStyle={[styles.countryPickerButtonStyle, { backgroundColor: 'transparent' }]}
|
|
281
314
|
renderDropdownImage={
|
|
282
315
|
<ChevronDown
|
|
283
316
|
color={
|
|
@@ -293,20 +326,33 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
|
|
|
293
326
|
textInputProps={{
|
|
294
327
|
keyboardType: 'numeric',
|
|
295
328
|
maxLength,
|
|
296
|
-
placeholderTextColor: disabled
|
|
329
|
+
placeholderTextColor: disabled
|
|
330
|
+
? appliedTheme.colors.textDisabled
|
|
331
|
+
: appliedTheme.colors.textSecondary,
|
|
297
332
|
accessibilityLabel: computedAccessibilityLabel,
|
|
298
333
|
accessibilityHint: accessibilityHint,
|
|
299
|
-
cursorColor:
|
|
300
|
-
|
|
334
|
+
cursorColor:
|
|
335
|
+
inputError || error
|
|
336
|
+
? appliedTheme.colors.error
|
|
337
|
+
: appliedTheme.colors.primary,
|
|
338
|
+
selectionColor:
|
|
339
|
+
inputError || error
|
|
340
|
+
? appliedTheme.colors.error
|
|
341
|
+
: appliedTheme.colors.primary,
|
|
301
342
|
|
|
302
343
|
onFocus: () => setIsFocused(true),
|
|
303
|
-
onBlur: () => setIsFocused(false)
|
|
344
|
+
onBlur: () => setIsFocused(false),
|
|
304
345
|
}}
|
|
305
346
|
withDarkTheme={appliedTheme.dark}
|
|
306
347
|
/>
|
|
307
348
|
</View>
|
|
308
349
|
{(error || inputError) && (
|
|
309
|
-
<Text
|
|
350
|
+
<Text
|
|
351
|
+
style={[
|
|
352
|
+
styles.errorText,
|
|
353
|
+
{ color: appliedTheme.colors.onErrorContainer },
|
|
354
|
+
]}
|
|
355
|
+
>
|
|
310
356
|
{inputError || errorMessage || 'Invalid phone number'}
|
|
311
357
|
</Text>
|
|
312
358
|
)}
|
|
@@ -319,7 +365,7 @@ export default React.memo(PhoneNumberInputOne);
|
|
|
319
365
|
const styles = StyleSheet.create({
|
|
320
366
|
container: {
|
|
321
367
|
width: '100%',
|
|
322
|
-
marginBottom: verticalScale(16)
|
|
368
|
+
marginBottom: verticalScale(16),
|
|
323
369
|
},
|
|
324
370
|
labelContainer: {
|
|
325
371
|
position: 'absolute',
|
|
@@ -327,12 +373,12 @@ const styles = StyleSheet.create({
|
|
|
327
373
|
left: scale(12),
|
|
328
374
|
zIndex: 1,
|
|
329
375
|
paddingHorizontal: scale(6),
|
|
330
|
-
borderRadius: scale(4)
|
|
376
|
+
borderRadius: scale(4),
|
|
331
377
|
},
|
|
332
378
|
label: {
|
|
333
379
|
fontSize: RFValue(10),
|
|
334
380
|
fontWeight: '500',
|
|
335
|
-
letterSpacing: 0.3
|
|
381
|
+
letterSpacing: 0.3,
|
|
336
382
|
},
|
|
337
383
|
inputWrapper: {
|
|
338
384
|
width: '100%',
|
|
@@ -345,39 +391,39 @@ const styles = StyleSheet.create({
|
|
|
345
391
|
shadowOffset: { width: 0, height: 0 },
|
|
346
392
|
shadowOpacity: 0,
|
|
347
393
|
shadowRadius: 0,
|
|
348
|
-
elevation: 0
|
|
394
|
+
elevation: 0,
|
|
349
395
|
},
|
|
350
396
|
phoneInputContainer: {
|
|
351
397
|
flex: 1,
|
|
352
398
|
borderWidth: 0,
|
|
353
|
-
elevation: 0
|
|
399
|
+
elevation: 0,
|
|
354
400
|
},
|
|
355
401
|
phoneInputTextContainer: {
|
|
356
402
|
flex: 1,
|
|
357
403
|
paddingVertical: 0,
|
|
358
404
|
paddingHorizontal: scale(2),
|
|
359
|
-
alignItems: 'center'
|
|
405
|
+
alignItems: 'center',
|
|
360
406
|
},
|
|
361
407
|
textInput: {
|
|
362
408
|
flex: 1,
|
|
363
409
|
fontSize: RFValue(16),
|
|
364
410
|
padding: 0,
|
|
365
|
-
fontWeight: '400'
|
|
411
|
+
fontWeight: '400',
|
|
366
412
|
},
|
|
367
413
|
codeTextStyle: {
|
|
368
414
|
fontSize: RFValue(16),
|
|
369
|
-
fontWeight: '500'
|
|
415
|
+
fontWeight: '500',
|
|
370
416
|
},
|
|
371
417
|
countryPickerButtonStyle: {
|
|
372
418
|
marginRight: scale(-4),
|
|
373
419
|
padding: scale(2),
|
|
374
|
-
marginLeft: scale(-4)
|
|
420
|
+
marginLeft: scale(-4),
|
|
375
421
|
},
|
|
376
422
|
errorText: {
|
|
377
423
|
fontSize: RFValue(10),
|
|
378
424
|
marginTop: verticalScale(8),
|
|
379
425
|
marginLeft: scale(12),
|
|
380
426
|
fontWeight: '400',
|
|
381
|
-
opacity: 0.9
|
|
382
|
-
}
|
|
427
|
+
opacity: 0.9,
|
|
428
|
+
},
|
|
383
429
|
});
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
Animated,
|
|
12
12
|
Platform,
|
|
13
13
|
StatusBar,
|
|
14
|
-
type ViewStyle
|
|
14
|
+
type ViewStyle,
|
|
15
15
|
} from 'react-native';
|
|
16
16
|
import { scale } from 'react-native-size-matters';
|
|
17
17
|
|
|
@@ -26,22 +26,26 @@ const HideKeyboard: React.FC<HideKeyboardProps> = ({
|
|
|
26
26
|
children,
|
|
27
27
|
containerStyle,
|
|
28
28
|
behavior = 'padding',
|
|
29
|
-
keyboardVerticalOffset = scale(-160)
|
|
29
|
+
keyboardVerticalOffset = scale(-160),
|
|
30
30
|
}) => {
|
|
31
31
|
const fadeAnim = useRef(new Animated.Value(1)).current;
|
|
32
32
|
|
|
33
33
|
// Platform-based offset
|
|
34
|
-
const offset =
|
|
34
|
+
const offset =
|
|
35
|
+
keyboardVerticalOffset ??
|
|
36
|
+
(Platform.OS === 'ios' ? 0 : (StatusBar.currentHeight ?? 0));
|
|
35
37
|
|
|
36
38
|
useEffect(() => {
|
|
37
|
-
const showEvent =
|
|
38
|
-
|
|
39
|
+
const showEvent =
|
|
40
|
+
Platform.OS === 'ios' ? 'keyboardWillShow' : 'keyboardDidShow';
|
|
41
|
+
const hideEvent =
|
|
42
|
+
Platform.OS === 'ios' ? 'keyboardWillHide' : 'keyboardDidHide';
|
|
39
43
|
|
|
40
44
|
const showSub = Keyboard.addListener(showEvent, () => {
|
|
41
45
|
Animated.timing(fadeAnim, {
|
|
42
46
|
toValue: 0.98,
|
|
43
47
|
duration: 250,
|
|
44
|
-
useNativeDriver: true
|
|
48
|
+
useNativeDriver: true,
|
|
45
49
|
}).start();
|
|
46
50
|
});
|
|
47
51
|
|
|
@@ -49,7 +53,7 @@ const HideKeyboard: React.FC<HideKeyboardProps> = ({
|
|
|
49
53
|
Animated.timing(fadeAnim, {
|
|
50
54
|
toValue: 1,
|
|
51
55
|
duration: 250,
|
|
52
|
-
useNativeDriver: true
|
|
56
|
+
useNativeDriver: true,
|
|
53
57
|
}).start();
|
|
54
58
|
});
|
|
55
59
|
|
|
@@ -66,7 +70,9 @@ const HideKeyboard: React.FC<HideKeyboardProps> = ({
|
|
|
66
70
|
keyboardVerticalOffset={offset}
|
|
67
71
|
>
|
|
68
72
|
<TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}>
|
|
69
|
-
<Animated.View style={{ flex: 1, transform: [{ scale: fadeAnim }] }}>
|
|
73
|
+
<Animated.View style={{ flex: 1, transform: [{ scale: fadeAnim }] }}>
|
|
74
|
+
{children}
|
|
75
|
+
</Animated.View>
|
|
70
76
|
</TouchableWithoutFeedback>
|
|
71
77
|
</KeyboardAvoidingView>
|
|
72
78
|
);
|
|
@@ -75,8 +81,8 @@ const HideKeyboard: React.FC<HideKeyboardProps> = ({
|
|
|
75
81
|
const styles = StyleSheet.create({
|
|
76
82
|
keyboardAvoidingView: {
|
|
77
83
|
flex: 1,
|
|
78
|
-
width: '100%'
|
|
79
|
-
}
|
|
84
|
+
width: '100%',
|
|
85
|
+
},
|
|
80
86
|
});
|
|
81
87
|
|
|
82
88
|
export default HideKeyboard;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Naresh Dhamu
|
|
3
|
-
* @lastModified Sun 08 Jun 2025 at 03:30 PM
|
|
4
|
-
*/
|
|
5
1
|
import React from 'react';
|
|
6
|
-
import { StyleSheet, View } from 'react-native';
|
|
7
|
-
import { ActivityIndicator } from 'react-native-paper';
|
|
2
|
+
import { StyleSheet, View, ActivityIndicator } from 'react-native';
|
|
8
3
|
|
|
9
4
|
interface LoaderProps {
|
|
10
5
|
color?: string;
|
|
@@ -28,6 +23,6 @@ const styles = StyleSheet.create({
|
|
|
28
23
|
justifyContent: 'center',
|
|
29
24
|
alignItems: 'center',
|
|
30
25
|
zIndex: 999,
|
|
31
|
-
backgroundColor: 'rgba(255,255,255,0.4)' // optional semi-transparent backdrop
|
|
32
|
-
}
|
|
26
|
+
backgroundColor: 'rgba(255,255,255,0.4)', // optional semi-transparent backdrop
|
|
27
|
+
},
|
|
33
28
|
});
|
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
* @lastModified Sun 08 Jun 2025 at 03:23 PM
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
Image,
|
|
8
|
+
View,
|
|
9
|
+
type StyleProp,
|
|
10
|
+
type ImageStyle,
|
|
11
|
+
type ViewStyle,
|
|
12
|
+
} from 'react-native';
|
|
7
13
|
import { moderateScale } from 'react-native-size-matters';
|
|
8
14
|
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
9
15
|
import { useInitSplashCacheSync } from '../../hooks/useInitSplashCacheSync';
|
|
@@ -33,19 +39,21 @@ export const Logo: React.FC<ILogoProps> = ({
|
|
|
33
39
|
aspectRatio,
|
|
34
40
|
fallbackUri,
|
|
35
41
|
theme,
|
|
36
|
-
isLoading = false
|
|
42
|
+
isLoading = false,
|
|
37
43
|
}) => {
|
|
38
44
|
const { theme: appliedTheme } = useTheme(theme);
|
|
39
45
|
|
|
40
46
|
const {
|
|
41
47
|
data: { localPathLogo },
|
|
42
|
-
isLoading: isSplashLoading
|
|
48
|
+
isLoading: isSplashLoading,
|
|
43
49
|
} = useInitSplashCacheSync({
|
|
44
|
-
logoUrl: logoUri
|
|
50
|
+
logoUrl: logoUri,
|
|
45
51
|
});
|
|
46
52
|
const finalSource = localPathLogo
|
|
47
53
|
? {
|
|
48
|
-
uri: localPathLogo.startsWith('file://')
|
|
54
|
+
uri: localPathLogo.startsWith('file://')
|
|
55
|
+
? localPathLogo
|
|
56
|
+
: `file://${localPathLogo}`,
|
|
49
57
|
}
|
|
50
58
|
: logoUri
|
|
51
59
|
? { uri: logoUri }
|
|
@@ -61,9 +69,9 @@ export const Logo: React.FC<ILogoProps> = ({
|
|
|
61
69
|
style={[
|
|
62
70
|
{
|
|
63
71
|
alignItems: 'center',
|
|
64
|
-
justifyContent: 'center'
|
|
72
|
+
justifyContent: 'center',
|
|
65
73
|
},
|
|
66
|
-
containerStyle
|
|
74
|
+
containerStyle,
|
|
67
75
|
]}
|
|
68
76
|
>
|
|
69
77
|
{isLoading || isSplashLoading ? (
|
|
@@ -89,9 +97,9 @@ export const Logo: React.FC<ILogoProps> = ({
|
|
|
89
97
|
{
|
|
90
98
|
width: moderateScale(width),
|
|
91
99
|
height: moderateScale(height),
|
|
92
|
-
...(aspectRatio ? { aspectRatio } : {})
|
|
100
|
+
...(aspectRatio ? { aspectRatio } : {}),
|
|
93
101
|
},
|
|
94
|
-
imageStyle
|
|
102
|
+
imageStyle,
|
|
95
103
|
]}
|
|
96
104
|
onError={() => {
|
|
97
105
|
return null;
|