@zezosoft/zezo-ott-react-native-ui-kit 1.1.3 → 1.1.6
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/lib/module/components/Auth/AuthProvider/AuthProvider.js +5 -2
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js +232 -0
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js +324 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/{Login → One/Login}/LoginWithPhone.js +13 -11
- package/lib/module/components/Auth/One/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/One/OTP/OTP.js +301 -0
- package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/{QrLogin → One/QrLogin}/QrLogin.js +4 -4
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.js +1 -1
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js +362 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.js +8 -5
- package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js +80 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.js +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.js +42 -21
- package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/One/index.js +25 -0
- package/lib/module/components/Auth/One/index.js.map +1 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js +93 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js.map +1 -0
- package/lib/module/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.js +55 -28
- package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js +138 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js +226 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js +143 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/{OTP → Two/OTP}/OTP.js +93 -63
- package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js +379 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js +141 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.js +1 -1
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js +63 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js +157 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/Two/index.js +29 -0
- package/lib/module/components/Auth/Two/index.js.map +1 -0
- package/lib/module/components/Auth/index.js +7 -22
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +7 -3
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js +52 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js.map +1 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +7 -3
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheetOne.js +170 -0
- package/lib/module/components/BottomSheet/BottomSheetOne.js.map +1 -0
- package/lib/module/components/BottomSheet/index.js +1 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +16 -6
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +5 -2
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/Category/CategroyTwo.js +287 -0
- package/lib/module/components/Content/Card/Category/CategroyTwo.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +6 -6
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js +714 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/index.js +3 -1
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +1 -0
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +1 -0
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +1 -0
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +1 -0
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +14 -44
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +1 -0
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +1 -0
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js +102 -4
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/NavigateToMore.js +26 -2
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Content.js +28 -11
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +11 -2
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/Content/types.js +4 -0
- package/lib/module/components/Content/types.js.map +1 -0
- package/lib/module/components/ContentView/MoreContentList.js +1 -0
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/{ContentView.js → One/ContentViewOne.js} +6 -5
- package/lib/module/components/ContentView/One/ContentViewOne.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/AboutSection.js +2 -2
- package/lib/module/components/ContentView/One/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/CastCard.js +2 -2
- package/lib/module/components/ContentView/One/components/CastCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/EpisodeCard.js +5 -6
- package/lib/module/components/ContentView/One/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/GenreTags.js +2 -2
- package/lib/module/components/ContentView/One/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/HeroBanner.js +45 -44
- package/lib/module/components/ContentView/One/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/MiniInfo.js +50 -5
- package/lib/module/components/ContentView/One/components/MiniInfo.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/PlayButton.js +1 -1
- package/lib/module/components/ContentView/One/components/PlayButton.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/Title.js +1 -1
- package/lib/module/components/ContentView/One/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/TrailerButton.js +2 -2
- package/lib/module/components/ContentView/One/components/TrailerButton.js.map +1 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js +220 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js +150 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Details.js +156 -0
- package/lib/module/components/ContentView/Two/components/Details.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js +425 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js +86 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js +339 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js +88 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js +235 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js.map +1 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js +120 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js +112 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Title.js +146 -0
- package/lib/module/components/ContentView/Two/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/index.js +18 -0
- package/lib/module/components/ContentView/Two/components/index.js.map +1 -0
- package/lib/module/components/ContentView/index.js +6 -1
- package/lib/module/components/ContentView/index.js.map +1 -1
- package/lib/module/components/Headers/Four.js +68 -0
- package/lib/module/components/Headers/Four.js.map +1 -0
- package/lib/module/components/Headers/Three.js +75 -24
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/index.js +3 -1
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Input/Input.js +5 -1
- package/lib/module/components/Input/Input.js.map +1 -1
- package/lib/module/components/Input/InputThree.js +157 -0
- package/lib/module/components/Input/InputThree.js.map +1 -0
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
- package/lib/module/components/Input/PhoneNumberInputTwo.js +316 -0
- package/lib/module/components/Input/PhoneNumberInputTwo.js.map +1 -0
- package/lib/module/components/Loader/Loader.js +14 -6
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +42 -17
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/NewRelease/NewReleaseSheet.js +227 -0
- package/lib/module/components/NewRelease/NewReleaseSheet.js.map +1 -0
- package/lib/module/components/NewRelease/index.js +4 -0
- package/lib/module/components/NewRelease/index.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +92 -17
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +65 -2
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +2 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +4 -2
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +80 -46
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +78 -29
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +21 -34
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js +58 -0
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js +44 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js.map +1 -0
- package/lib/module/components/Reels/index.js +1 -0
- package/lib/module/components/Reels/index.js.map +1 -1
- package/lib/module/components/Search/One.js +7 -4
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +59 -7
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +2 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +1 -0
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/common/AppStatusBar.js +2 -1
- package/lib/module/components/common/AppStatusBar.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/constants/dummySections.js +3 -1
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/useSplashCache.js +78 -60
- package/lib/module/hooks/useSplashCache.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +14 -2
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/index.js +0 -1
- package/lib/module/theme/hook/index.js.map +1 -1
- package/lib/module/theme/hook/useInternalTheme.js +21 -7
- package/lib/module/theme/hook/useInternalTheme.js.map +1 -1
- package/lib/module/theme/themes.js +2 -0
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/theme/utils/validateColor.js +84 -0
- package/lib/module/theme/utils/validateColor.js.map +1 -0
- package/lib/module/utils/colorUtils.js +68 -0
- package/lib/module/utils/colorUtils.js.map +1 -0
- package/lib/typescript/src/components/Auth/{ForgotPassword → One/ForgotPassword}/ForgotPassword.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithEmail.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithPhone.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{OTP → One/OTP}/OTP.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/QrLogin.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SignUp → One/SignUp}/SignUp.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts +14 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts +234 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts +16 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts +53 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts +52 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts +37 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts +63 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts +19 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts +14 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts +67 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts +35 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts +20 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts +220 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/index.d.ts +447 -232
- 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/BackgroundLayout/BackgroundLayoutOne.d.ts +7 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts +19 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts +2 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +1 -0
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +1 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts +19 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +11 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.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/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 +1 -0
- 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 +3 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts +2 -52
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +1 -52
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/types.d.ts +149 -0
- package/lib/typescript/src/components/Content/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/AboutSection.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/CastCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/EpisodeCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/HeroBanner.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/MiniInfo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts +18 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts +27 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts +23 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts +22 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts +8 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts +25 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts +26 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts +21 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts +28 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts +34 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/index.d.ts +6 -1
- package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Four.d.ts +18 -0
- package/lib/typescript/src/components/Headers/Four.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/Three.d.ts +9 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/index.d.ts +1 -0
- package/lib/typescript/src/components/Headers/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/Input.d.ts +2 -0
- package/lib/typescript/src/components/Input/Input.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputThree.d.ts +22 -0
- package/lib/typescript/src/components/Input/InputThree.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts +26 -0
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts +2 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts +10 -0
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts +2 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +2 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +2 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +9 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +11 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts +34 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts +10 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts +1 -0
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
- 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/common/AppStatusBar.d.ts +1 -0
- package/lib/typescript/src/components/common/AppStatusBar.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts +3 -1
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
- package/lib/typescript/src/theme/ThemeProvider.d.ts +2 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/index.d.ts +0 -1
- package/lib/typescript/src/theme/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/themes.d.ts +1 -0
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/theme/utils/validateColor.d.ts +21 -0
- package/lib/typescript/src/theme/utils/validateColor.d.ts.map +1 -0
- package/lib/typescript/src/types/content/content-view.types.d.ts +40 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/utils/colorUtils.d.ts +19 -0
- package/lib/typescript/src/utils/colorUtils.d.ts.map +1 -0
- package/package.json +9 -16
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +0 -314
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +0 -1
- package/lib/module/components/Auth/OTP/OTP.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +0 -1
- package/lib/module/components/Auth/SignUp/SignUp.js +0 -352
- package/lib/module/components/Auth/SignUp/SignUp.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +0 -1
- package/lib/module/components/ContentView/ContentView.js.map +0 -1
- package/lib/module/components/ContentView/components/AboutSection.js.map +0 -1
- package/lib/module/components/ContentView/components/CastCard.js.map +0 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +0 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +0 -1
- package/lib/module/components/ContentView/components/HeroBanner.js.map +0 -1
- package/lib/module/components/ContentView/components/MiniInfo.js.map +0 -1
- package/lib/module/components/ContentView/components/PlayButton.js.map +0 -1
- package/lib/module/components/ContentView/components/Title.js.map +0 -1
- package/lib/module/components/ContentView/components/TrailerButton.js.map +0 -1
- package/lib/module/theme/hook/useThemeStatusBar.js +0 -33
- package/lib/module/theme/hook/useThemeStatusBar.js.map +0 -1
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +0 -15
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +0 -1
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts +0 -10
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts.map +0 -1
- package/src/Styles/globalStyles.ts +0 -70
- package/src/assets/animations/135037-payment-processing-error.json +0 -1347
- package/src/assets/animations/7227-vui-animation.json +0 -3377
- package/src/assets/animations/Failed.json +0 -2103
- package/src/assets/animations/Pending.json +0 -522
- package/src/assets/animations/Successful.json +0 -2289
- package/src/assets/animations/heart.json +0 -788
- package/src/assets/animations/succesfull-payment.json +0 -2379
- package/src/assets/animations/voice-icon.json +0 -542
- 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/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 +0 -4
- package/src/assets/svg/Favourite.svg +0 -14
- package/src/assets/svg/Upcoming.svg +0 -4
- package/src/assets/svg/content-error.svg +0 -28
- package/src/assets/svg/download.svg +0 -3
- package/src/assets/svg/eye-off.svg +0 -10
- package/src/assets/svg/favorites.svg +0 -3
- package/src/assets/svg/h.svg +0 -4
- package/src/assets/svg/home.svg +0 -5
- package/src/assets/svg/home1.svg +0 -3
- package/src/assets/svg/menu-bar.svg +0 -4
- package/src/assets/svg/my-space.svg +0 -14
- package/src/assets/svg/play-icon-with-bg.svg +0 -5
- package/src/assets/svg/profile.svg +0 -4
- package/src/assets/svg/search.svg +0 -5
- package/src/assets/svg/search1.svg +0 -4
- package/src/assets/svg/server-error.svg +0 -139
- package/src/components/Account/Account.tsx +0 -367
- package/src/components/Account/index.ts +0 -1
- package/src/components/Alert/AlertDialog.tsx +0 -247
- package/src/components/Alert/UAAlert.tsx +0 -170
- package/src/components/Alert/index.ts +0 -2
- package/src/components/Auth/AuthProvider/AuthProvider.tsx +0 -415
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +0 -308
- package/src/components/Auth/Login/LoginWithEmail.tsx +0 -441
- package/src/components/Auth/Login/LoginWithPhone.tsx +0 -306
- package/src/components/Auth/OTP/OTP.tsx +0 -454
- package/src/components/Auth/QrLogin/QrLogin.tsx +0 -602
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +0 -423
- package/src/components/Auth/SignUp/SignUp.tsx +0 -462
- package/src/components/Auth/SplashScreen/SplashScreen.tsx +0 -245
- package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +0 -92
- package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +0 -77
- package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +0 -164
- package/src/components/Auth/index.ts +0 -26
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +0 -172
- package/src/components/BlogView/BlogView.tsx +0 -276
- package/src/components/BlogView/index.ts +0 -8
- package/src/components/BlurView/BlurView.tsx +0 -199
- package/src/components/BlurView/index.ts +0 -7
- package/src/components/BottomSheet/BottomSheet.tsx +0 -195
- package/src/components/BottomSheet/index.ts +0 -2
- package/src/components/Button/BackBtn.tsx +0 -168
- package/src/components/Button/MenuBtn.tsx +0 -229
- package/src/components/Button/PrimaryBtn.tsx +0 -126
- package/src/components/Button/SecondaryBtn.tsx +0 -132
- package/src/components/Button/TextButton.tsx +0 -145
- package/src/components/Button/index.ts +0 -18
- package/src/components/Content/Card/Category/Category.tsx +0 -429
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +0 -624
- package/src/components/Content/Card/Sliders/Styles/One.tsx +0 -490
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +0 -391
- package/src/components/Content/Card/Sliders/index.ts +0 -15
- package/src/components/Content/Card/Styles/Five.tsx +0 -384
- package/src/components/Content/Card/Styles/Four.tsx +0 -378
- package/src/components/Content/Card/Styles/One.tsx +0 -385
- package/src/components/Content/Card/Styles/RotateInOut.tsx +0 -412
- package/src/components/Content/Card/Styles/Six.tsx +0 -392
- package/src/components/Content/Card/Styles/Three.tsx +0 -349
- package/src/components/Content/Card/Styles/TopTen.tsx +0 -411
- package/src/components/Content/Card/Styles/Two.tsx +0 -415
- package/src/components/Content/Card/components/AdsPoster.tsx +0 -202
- package/src/components/Content/Card/components/CardPoster.tsx +0 -258
- package/src/components/Content/Card/components/NavigateToMore.tsx +0 -69
- package/src/components/Content/Card/components/RentOrBuyIcon.tsx +0 -129
- package/src/components/Content/Card/components/ShowAllButton.tsx +0 -92
- package/src/components/Content/Card/components/ThumbnailCard.tsx +0 -234
- package/src/components/Content/Card/components/index.ts +0 -1
- package/src/components/Content/Card/index.ts +0 -30
- package/src/components/Content/Content.tsx +0 -369
- package/src/components/Content/Sections.tsx +0 -273
- package/src/components/ContentView/ContentView.tsx +0 -242
- package/src/components/ContentView/MoreContentList.tsx +0 -326
- package/src/components/ContentView/components/AboutSection.tsx +0 -216
- package/src/components/ContentView/components/CastCard.tsx +0 -265
- package/src/components/ContentView/components/EpisodeCard.tsx +0 -536
- package/src/components/ContentView/components/GenreTags.tsx +0 -132
- package/src/components/ContentView/components/HeroBanner.tsx +0 -372
- package/src/components/ContentView/components/MiniInfo.tsx +0 -292
- package/src/components/ContentView/components/PlayButton.tsx +0 -56
- package/src/components/ContentView/components/Title.tsx +0 -149
- package/src/components/ContentView/components/TrailerButton.tsx +0 -76
- package/src/components/ContentView/index.ts +0 -7
- package/src/components/Fallbacks/NoContentFallback.tsx +0 -176
- package/src/components/Fallbacks/NotFoundFallback.tsx +0 -94
- package/src/components/Fallbacks/index.ts +0 -2
- package/src/components/Headers/AppHeader.tsx +0 -150
- package/src/components/Headers/One.tsx +0 -115
- package/src/components/Headers/Three.tsx +0 -72
- package/src/components/Headers/Two.tsx +0 -100
- package/src/components/Headers/index.ts +0 -16
- package/src/components/Input/Input.ts +0 -16
- package/src/components/Input/InputOne.tsx +0 -259
- package/src/components/Input/InputTwo.tsx +0 -212
- package/src/components/Input/PhoneNumberInput.tsx +0 -429
- package/src/components/Keyboard/HideKeyboard.tsx +0 -88
- package/src/components/Loader/Loader.tsx +0 -28
- package/src/components/Logo/Logo.tsx +0 -126
- package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +0 -156
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +0 -234
- package/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.tsx +0 -196
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +0 -92
- package/src/components/Reels/ReelsSeries/MediaControls/TopControls.tsx +0 -163
- package/src/components/Reels/ReelsSeries/Model/DetailsModal.tsx +0 -210
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +0 -143
- package/src/components/Reels/ReelsSeries/Model/UnlockModal.tsx +0 -154
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +0 -231
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +0 -432
- package/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.tsx +0 -184
- package/src/components/Reels/ReelsSeries/components/Episodes.tsx +0 -154
- package/src/components/Reels/ReelsSeries/components/GradientOverlay.tsx +0 -41
- package/src/components/Reels/ReelsSeries/components/Like.tsx +0 -40
- package/src/components/Reels/ReelsSeries/components/RotatingLoader.tsx +0 -79
- package/src/components/Reels/ReelsSeries/components/Synopsis.tsx +0 -332
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +0 -190
- package/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.tsx +0 -80
- package/src/components/Reels/ReelsSeries/components/VideoControls/index.ts +0 -2
- package/src/components/Reels/ReelsSeries/types.ts +0 -38
- package/src/components/Reels/index.ts +0 -8
- package/src/components/Reels/utils/Controls/gestureUtils.ts +0 -42
- package/src/components/Reels/utils/Controls/index.ts +0 -4
- package/src/components/Reels/utils/Controls/overlayUtils.ts +0 -35
- package/src/components/Reels/utils/Controls/videoControlsConstants.ts +0 -25
- package/src/components/Reels/utils/Controls/videoRef.ts +0 -4
- package/src/components/Reels/utils/index.ts +0 -1
- package/src/components/Reels/utils/timeoutUtils.ts +0 -29
- package/src/components/Search/One.tsx +0 -253
- package/src/components/Search/components/RecentSearchesSection.tsx +0 -181
- package/src/components/Search/components/SearchCard.tsx +0 -218
- package/src/components/Search/index.ts +0 -16
- package/src/components/Settings/AppSettings.tsx +0 -428
- package/src/components/Settings/index.ts +0 -1
- package/src/components/Subscription/SubOne.tsx +0 -874
- package/src/components/Subscription/index.ts +0 -12
- package/src/components/TabBar/One.tsx +0 -148
- package/src/components/TabBar/Three.tsx +0 -169
- package/src/components/TabBar/Two.tsx +0 -189
- package/src/components/TabBar/index.ts +0 -20
- package/src/components/Text/Text.tsx +0 -85
- package/src/components/Text/index.ts +0 -5
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +0 -468
- package/src/components/User/ProfileUpdate/ProfileUpdate.tsx +0 -278
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +0 -493
- package/src/components/User/WatchHistory/WatchHistory.tsx +0 -226
- package/src/components/User/WatchLater/WatchLater.tsx +0 -396
- package/src/components/User/components/UserAvatar.tsx +0 -120
- package/src/components/User/components/UserSection.tsx +0 -228
- package/src/components/User/index.ts +0 -18
- package/src/components/View/View.tsx +0 -37
- package/src/components/View/index.ts +0 -5
- package/src/components/common/AppStatusBar.tsx +0 -51
- package/src/components/index.ts +0 -28
- package/src/components/layout/SafeAreaWrapper.tsx +0 -45
- package/src/components/layout/index.ts +0 -1
- package/src/constants/dummySections.ts +0 -94
- package/src/hooks/Images/index.ts +0 -2
- package/src/hooks/Images/useImageLoader.ts +0 -206
- package/src/hooks/Images/useImageValidation.ts +0 -36
- package/src/hooks/index.ts +0 -17
- package/src/hooks/useAdTracking.ts +0 -349
- package/src/hooks/useCards.ts +0 -228
- package/src/hooks/useDebounce.ts +0 -35
- package/src/hooks/useKeyboard.ts +0 -43
- package/src/hooks/useNavigationMode.ts +0 -46
- package/src/hooks/usePaginatedSection.ts +0 -101
- package/src/hooks/usePrevious.ts +0 -28
- package/src/hooks/useSafeCallback.ts +0 -43
- package/src/hooks/useSkeletonItems.ts +0 -30
- package/src/hooks/useSplashCache.ts +0 -167
- package/src/hooks/useThemeColors.ts +0 -51
- package/src/index.tsx +0 -8
- package/src/store/RecentSearchesStore.ts +0 -78
- package/src/store/splashStore.ts +0 -91
- package/src/store/themeStore.ts +0 -43
- package/src/theme/ThemeProvider.tsx +0 -99
- package/src/theme/hook/index.ts +0 -2
- package/src/theme/hook/useInternalTheme.ts +0 -89
- package/src/theme/hook/useThemeStatusBar.ts +0 -42
- package/src/theme/index.ts +0 -7
- package/src/theme/themes.ts +0 -333
- package/src/types/content/content-view.types.ts +0 -164
- package/src/types/hook/index.ts +0 -5
- package/src/types/hook/usePaginatedSetion.ts +0 -19
- package/src/types/index.ts +0 -7
- package/src/types/sections/index.ts +0 -84
- package/src/utils/Display.ts +0 -14
- package/src/utils/Formater.ts +0 -14
- package/src/utils/PlatformSelector.ts +0 -29
- package/src/utils/SizeMatters.ts +0 -7
- package/src/utils/Spacing.ts +0 -27
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/PlayButton.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/TrailerButton.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","useMemo","useState","useCallback","useEffect","View","StyleSheet","Platform","CodeField","Cursor","useBlurOnFulfill","useClearByFocusCell","scale","verticalScale","HideKeyboard","useKeyboard","BackBtn","useInternalTheme","Button","Display","Text","RFValue","BackgroundLayoutOne","MessageSquare","jsx","_jsx","jsxs","_jsxs","DEFAULT_TEXT","otpLabel","otpPlaceholder","submitButton","loadingSubmitBtnText","otpSentText","resendOtpText","resendOtpCountdownText","OTP","onSubmit","onTopBackBtnPress","containerStyle","formStyle","backBtnStyle","loading","theme","overrideTheme","otpDigitCount","keyboardType","phoneNumber","countryCode","enableAutoFill","autoSubmitOnFill","text","onResendOtp","resendDisabledTime","renderSubmitButton","renderBackButton","renderOtpInput","cellStyle","focusCellStyle","resolvedTheme","isKeyboardOpen","otp","setOtp","isSubmitting","setIsSubmitting","resendTimer","setResendTimer","ref","value","cellCount","codeFieldProps","getCellOnLayoutHandler","setValue","styles","create","container","flex","width","paddingHorizontal","justifyContent","alignItems","header","gap","topBackBtnWrapper","position","top","left","right","zIndex","headerRow","flexDirection","paddingVertical","headerTitle","fontSize","fontWeight","marginLeft","marginTop","color","colors","textPrimary","centerContent","maxWidth","title","textAlign","sentText","onSurfaceVariant","lineHeight","sentNumberContainer","form","marginBottom","codeFieldRoot","setWidth","cell","height","paddingTop","OS","borderWidth","borderRadius","alignSelf","overflow","borderColor","focusCell","primary","backgroundColor","surfaceVariant","otpInfoRow","flexWrap","otpInfoText","flexShrink","otpPhone","resendRow","timer","setInterval","prev","clearInterval","handleSubmit","length","error","console","setTimeout","clearTimeout","handleResendOtp","isLoading","isSubmitDisabled","shouldRender","condition","children","style","onPress","replace","onChange","val","isFocused","Array","from","_","i","onChangeText","input","rootStyle","textContentType","autoComplete","renderCell","index","symbol","onLayout","disabled","Primary","loadingText","titleStyle","size","undefined"],"sourceRoot":"../../../../../../src","sources":["components/Auth/Two/OTP/OTP.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC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C,GAAG4E,eAAe,GAAG8B,SAAU;kBACxDxB,KAAK,EAAE;oBACLtD,QAAQ,EAAExE,OAAO,CAAC,EAAE,CAAC;oBACrB4E,KAAK,EACHhC,WAAW,GAAG,CAAC,GACXN,aAAa,CAACuC,MAAM,CAACO,gBAAgB,GACrC9C,aAAa,CAACuC,MAAM,CAACC;kBAC7B,CAAE;kBAAA+C,QAAA,EAEDjF,WAAW,GAAG,CAAC,GACZ,GAAGd,IAAI,EAAEhB,sBAAsB,IAAIP,YAAY,CAACO,sBAAsB,IAAI8B,WAAW,GAAG,GACxFd,IAAI,EAAEjB,aAAa,IAAIN,YAAY,CAACM;gBAAa,CACjD,CAAC;cAAA,CACH;YAAC,CACH,CACP;UAAA,CACG,CAAC;QAAA,CACH;MAAC,CACK,CAAC;IAAA,CACX;EAAC,CACY,CAAC;AAE1B,CAAC;AAED,4BAAelC,IAAI,CAACoC,GAAG,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Ashok Desai
|
|
5
|
+
* @lastModified oct 02 Oct 2025 at 10:30 AM
|
|
6
|
+
*/
|
|
7
|
+
import React, { useState, useRef, useMemo, useCallback, useEffect } from 'react';
|
|
8
|
+
import { View, StyleSheet, Dimensions, TouchableOpacity, ActivityIndicator } from 'react-native';
|
|
9
|
+
import { scale } from 'react-native-size-matters';
|
|
10
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
11
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
12
|
+
import { Text } from "../../../Text/index.js";
|
|
13
|
+
import AppHeader from "../../../Headers/AppHeader.js";
|
|
14
|
+
import { useInternalTheme } from "../../../../theme/hook/useInternalTheme.js";
|
|
15
|
+
import { Camera as CameraIcon, QrCode } from 'lucide-react-native';
|
|
16
|
+
import { Camera, useCameraDevice, useCameraPermission, useCodeScanner } from 'react-native-vision-camera';
|
|
17
|
+
import QrViewArea from "./components/QrViewArea.js";
|
|
18
|
+
import { AppStatusBar } from "../../../common/AppStatusBar.js";
|
|
19
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
+
const {
|
|
21
|
+
width: SCREEN_W,
|
|
22
|
+
height: SCREEN_H
|
|
23
|
+
} = Dimensions.get('window');
|
|
24
|
+
|
|
25
|
+
// ==================== Constants ====================
|
|
26
|
+
const SCAN_DELAY_MS = 1000;
|
|
27
|
+
const RESET_DELAY_MS = 2000;
|
|
28
|
+
const CAMERA_TYPE = 'back';
|
|
29
|
+
const CARD_WIDTH_OFFSET = 40;
|
|
30
|
+
const CARD_MIN_HEIGHT_RATIO = 2.5;
|
|
31
|
+
const ICON_SIZES = {
|
|
32
|
+
camera: 50,
|
|
33
|
+
qrCode: 180,
|
|
34
|
+
button: 22
|
|
35
|
+
};
|
|
36
|
+
const STROKE_WIDTHS = {
|
|
37
|
+
icon: 1.6,
|
|
38
|
+
button: 2
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
// ==================== Types ====================
|
|
42
|
+
|
|
43
|
+
// ==================== Default Values ====================
|
|
44
|
+
const DEFAULTS = {
|
|
45
|
+
title: 'QR Login',
|
|
46
|
+
description: 'Please move your camera over the QR Code',
|
|
47
|
+
scanButtonText: 'Scan QR Code',
|
|
48
|
+
cameraType: CAMERA_TYPE
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
// ==================== Helper Functions ====================
|
|
52
|
+
/**
|
|
53
|
+
* Extracts error message from error object
|
|
54
|
+
*/
|
|
55
|
+
const getErrorMessage = (error, defaultMessage) => {
|
|
56
|
+
return error instanceof Error ? error.message : defaultMessage;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Creates style with background color
|
|
61
|
+
*/
|
|
62
|
+
const createBackgroundStyle = (baseStyle, backgroundColor) => [baseStyle, {
|
|
63
|
+
backgroundColor
|
|
64
|
+
}];
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Creates text style with color
|
|
68
|
+
*/
|
|
69
|
+
const createTextStyle = (baseStyle, color) => [baseStyle, {
|
|
70
|
+
color
|
|
71
|
+
}];
|
|
72
|
+
|
|
73
|
+
// ==================== Custom Hooks ====================
|
|
74
|
+
/**
|
|
75
|
+
* Hook to manage QR scan state and timers
|
|
76
|
+
*/
|
|
77
|
+
const useQrScanState = () => {
|
|
78
|
+
const scanTimer = useRef(null);
|
|
79
|
+
const resetTimer = useRef(null);
|
|
80
|
+
const lastValueRef = useRef(null);
|
|
81
|
+
const isScanning = useRef(false);
|
|
82
|
+
const resetScanState = useCallback(() => {
|
|
83
|
+
if (scanTimer.current) {
|
|
84
|
+
clearTimeout(scanTimer.current);
|
|
85
|
+
scanTimer.current = null;
|
|
86
|
+
}
|
|
87
|
+
if (resetTimer.current) {
|
|
88
|
+
clearTimeout(resetTimer.current);
|
|
89
|
+
resetTimer.current = null;
|
|
90
|
+
}
|
|
91
|
+
isScanning.current = false;
|
|
92
|
+
lastValueRef.current = null;
|
|
93
|
+
}, []);
|
|
94
|
+
useEffect(() => {
|
|
95
|
+
return () => {
|
|
96
|
+
resetScanState();
|
|
97
|
+
};
|
|
98
|
+
}, [resetScanState]);
|
|
99
|
+
return {
|
|
100
|
+
scanTimer,
|
|
101
|
+
resetTimer,
|
|
102
|
+
lastValueRef,
|
|
103
|
+
isScanning,
|
|
104
|
+
resetScanState
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Hook to handle camera permission request
|
|
110
|
+
*/
|
|
111
|
+
const useCameraPermissionHandler = (hasPermission, requestPermission, onError) => {
|
|
112
|
+
const [requesting, setRequesting] = useState(false);
|
|
113
|
+
const requestCameraPermission = useCallback(async () => {
|
|
114
|
+
if (hasPermission) return true;
|
|
115
|
+
setRequesting(true);
|
|
116
|
+
try {
|
|
117
|
+
const granted = await requestPermission();
|
|
118
|
+
setRequesting(false);
|
|
119
|
+
if (!granted) {
|
|
120
|
+
onError?.('Camera permission denied');
|
|
121
|
+
return false;
|
|
122
|
+
}
|
|
123
|
+
return true;
|
|
124
|
+
} catch (error) {
|
|
125
|
+
setRequesting(false);
|
|
126
|
+
const errorMessage = getErrorMessage(error, 'Camera permission request failed');
|
|
127
|
+
console.warn('Camera permission request failed:', error);
|
|
128
|
+
onError?.(errorMessage);
|
|
129
|
+
return false;
|
|
130
|
+
}
|
|
131
|
+
}, [hasPermission, requestPermission, onError]);
|
|
132
|
+
return {
|
|
133
|
+
requesting,
|
|
134
|
+
requestCameraPermission
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
// ==================== Sub-Components ====================
|
|
139
|
+
/**
|
|
140
|
+
* Camera view component when scanning is active
|
|
141
|
+
*/
|
|
142
|
+
const CameraView = /*#__PURE__*/React.memo(({
|
|
143
|
+
device,
|
|
144
|
+
codeScanner,
|
|
145
|
+
theme
|
|
146
|
+
}) => {
|
|
147
|
+
if (!device) {
|
|
148
|
+
return null;
|
|
149
|
+
}
|
|
150
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
151
|
+
children: [/*#__PURE__*/_jsx(Camera, {
|
|
152
|
+
style: StyleSheet.absoluteFill,
|
|
153
|
+
device: device,
|
|
154
|
+
isActive: true,
|
|
155
|
+
codeScanner: codeScanner,
|
|
156
|
+
enableFpsGraph: false
|
|
157
|
+
}), /*#__PURE__*/_jsx(QrViewArea, {
|
|
158
|
+
theme: theme
|
|
159
|
+
})]
|
|
160
|
+
});
|
|
161
|
+
});
|
|
162
|
+
CameraView.displayName = 'CameraView';
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* No camera available view
|
|
166
|
+
*/
|
|
167
|
+
const NoCameraView = /*#__PURE__*/React.memo(({
|
|
168
|
+
textStyle,
|
|
169
|
+
containerStyle
|
|
170
|
+
}) => /*#__PURE__*/_jsx(View, {
|
|
171
|
+
style: containerStyle,
|
|
172
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
173
|
+
style: textStyle,
|
|
174
|
+
children: "No camera available"
|
|
175
|
+
})
|
|
176
|
+
}));
|
|
177
|
+
NoCameraView.displayName = 'NoCameraView';
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Initial scan screen with QR code preview
|
|
181
|
+
*/
|
|
182
|
+
const ScanPreviewScreen = /*#__PURE__*/React.memo(({
|
|
183
|
+
description,
|
|
184
|
+
scanButtonText,
|
|
185
|
+
requesting,
|
|
186
|
+
onStartScan,
|
|
187
|
+
colors,
|
|
188
|
+
styles: componentStyles
|
|
189
|
+
}) => /*#__PURE__*/_jsx(View, {
|
|
190
|
+
style: styles.content,
|
|
191
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
192
|
+
style: styles.card,
|
|
193
|
+
children: [/*#__PURE__*/_jsx(CameraIcon, {
|
|
194
|
+
size: scale(ICON_SIZES.camera),
|
|
195
|
+
color: colors.button,
|
|
196
|
+
strokeWidth: STROKE_WIDTHS.icon,
|
|
197
|
+
style: componentStyles.iconMargin
|
|
198
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
199
|
+
style: componentStyles.descText,
|
|
200
|
+
children: description
|
|
201
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
202
|
+
style: componentStyles.qrBox,
|
|
203
|
+
children: /*#__PURE__*/_jsx(QrCode, {
|
|
204
|
+
size: scale(ICON_SIZES.qrCode),
|
|
205
|
+
color: colors.button,
|
|
206
|
+
strokeWidth: STROKE_WIDTHS.icon
|
|
207
|
+
})
|
|
208
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
209
|
+
style: componentStyles.scanBtn,
|
|
210
|
+
onPress: onStartScan,
|
|
211
|
+
activeOpacity: 0.85,
|
|
212
|
+
children: [/*#__PURE__*/_jsx(CameraIcon, {
|
|
213
|
+
size: scale(ICON_SIZES.button),
|
|
214
|
+
color: colors.button,
|
|
215
|
+
strokeWidth: STROKE_WIDTHS.button,
|
|
216
|
+
style: componentStyles.buttonIconMargin
|
|
217
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
218
|
+
style: componentStyles.scanText,
|
|
219
|
+
children: scanButtonText
|
|
220
|
+
})]
|
|
221
|
+
}), requesting && /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
222
|
+
style: componentStyles.loaderMargin,
|
|
223
|
+
color: colors.primary
|
|
224
|
+
})]
|
|
225
|
+
})
|
|
226
|
+
}));
|
|
227
|
+
ScanPreviewScreen.displayName = 'ScanPreviewScreen';
|
|
228
|
+
|
|
229
|
+
// ==================== Main Component ====================
|
|
230
|
+
export const QrLogin = /*#__PURE__*/React.memo(({
|
|
231
|
+
title = DEFAULTS.title,
|
|
232
|
+
description = DEFAULTS.description,
|
|
233
|
+
scanButtonText = DEFAULTS.scanButtonText,
|
|
234
|
+
onBackPress,
|
|
235
|
+
onScanSuccess,
|
|
236
|
+
onScanError,
|
|
237
|
+
allowMultipleScans = true,
|
|
238
|
+
theme
|
|
239
|
+
}) => {
|
|
240
|
+
const {
|
|
241
|
+
theme: appliedTheme
|
|
242
|
+
} = useInternalTheme(theme);
|
|
243
|
+
const {
|
|
244
|
+
colors
|
|
245
|
+
} = appliedTheme;
|
|
246
|
+
const {
|
|
247
|
+
top: statusBarHeight
|
|
248
|
+
} = useSafeAreaInsets();
|
|
249
|
+
const [scanActive, setScanActive] = useState(false);
|
|
250
|
+
const device = useCameraDevice(DEFAULTS.cameraType);
|
|
251
|
+
const {
|
|
252
|
+
hasPermission,
|
|
253
|
+
requestPermission
|
|
254
|
+
} = useCameraPermission();
|
|
255
|
+
|
|
256
|
+
// QR scan state management
|
|
257
|
+
const {
|
|
258
|
+
scanTimer,
|
|
259
|
+
resetTimer,
|
|
260
|
+
lastValueRef,
|
|
261
|
+
isScanning,
|
|
262
|
+
resetScanState
|
|
263
|
+
} = useQrScanState();
|
|
264
|
+
|
|
265
|
+
// Camera permission handler
|
|
266
|
+
const {
|
|
267
|
+
requesting,
|
|
268
|
+
requestCameraPermission
|
|
269
|
+
} = useCameraPermissionHandler(hasPermission, requestPermission, onScanError);
|
|
270
|
+
|
|
271
|
+
// Stop scanning
|
|
272
|
+
const stopScan = useCallback(() => {
|
|
273
|
+
resetScanState();
|
|
274
|
+
setScanActive(false);
|
|
275
|
+
}, [resetScanState]);
|
|
276
|
+
|
|
277
|
+
// Handle back press
|
|
278
|
+
const handleBackPress = useCallback(() => {
|
|
279
|
+
if (scanActive) {
|
|
280
|
+
stopScan();
|
|
281
|
+
}
|
|
282
|
+
onBackPress?.();
|
|
283
|
+
}, [scanActive, stopScan, onBackPress]);
|
|
284
|
+
|
|
285
|
+
// Handle code scanned
|
|
286
|
+
const handleCodeScanned = useCallback(codes => {
|
|
287
|
+
if (isScanning.current || codes.length === 0) return;
|
|
288
|
+
for (const code of codes) {
|
|
289
|
+
const value = code?.value;
|
|
290
|
+
if (!value) continue;
|
|
291
|
+
|
|
292
|
+
// Prevent duplicate scans
|
|
293
|
+
if (!allowMultipleScans && lastValueRef.current === value) return;
|
|
294
|
+
|
|
295
|
+
// Clear pending scan timer
|
|
296
|
+
if (scanTimer.current) {
|
|
297
|
+
clearTimeout(scanTimer.current);
|
|
298
|
+
scanTimer.current = null;
|
|
299
|
+
}
|
|
300
|
+
lastValueRef.current = value;
|
|
301
|
+
|
|
302
|
+
// Trigger success callback after delay
|
|
303
|
+
scanTimer.current = setTimeout(() => {
|
|
304
|
+
isScanning.current = true;
|
|
305
|
+
try {
|
|
306
|
+
onScanSuccess?.(value);
|
|
307
|
+
} catch (error) {
|
|
308
|
+
const errorMessage = getErrorMessage(error, 'Unknown error occurred');
|
|
309
|
+
onScanError?.(errorMessage);
|
|
310
|
+
console.error('QR scan success callback error:', error);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// Reset scan state after delay for re-scanning
|
|
314
|
+
if (allowMultipleScans) {
|
|
315
|
+
resetTimer.current = setTimeout(() => {
|
|
316
|
+
resetScanState();
|
|
317
|
+
}, RESET_DELAY_MS);
|
|
318
|
+
}
|
|
319
|
+
}, SCAN_DELAY_MS);
|
|
320
|
+
break;
|
|
321
|
+
}
|
|
322
|
+
}, [onScanSuccess, onScanError, allowMultipleScans, resetScanState, isScanning, lastValueRef, resetTimer, scanTimer]);
|
|
323
|
+
|
|
324
|
+
// Code scanner
|
|
325
|
+
const codeScanner = useCodeScanner({
|
|
326
|
+
codeTypes: ['qr'],
|
|
327
|
+
onCodeScanned: handleCodeScanned
|
|
328
|
+
});
|
|
329
|
+
|
|
330
|
+
// Start scan
|
|
331
|
+
const startScan = useCallback(async () => {
|
|
332
|
+
resetScanState();
|
|
333
|
+
const hasPermissionGranted = await requestCameraPermission();
|
|
334
|
+
if (!hasPermissionGranted) return;
|
|
335
|
+
if (!device) {
|
|
336
|
+
onScanError?.('No camera device available');
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
339
|
+
setScanActive(true);
|
|
340
|
+
}, [device, resetScanState, requestCameraPermission, onScanError]);
|
|
341
|
+
|
|
342
|
+
// Memoized styles
|
|
343
|
+
const containerStyle = useMemo(() => createBackgroundStyle(styles.container, colors.background), [colors.background]);
|
|
344
|
+
const headerWrapperStyle = useMemo(() => [styles.headerWrapper, {
|
|
345
|
+
height: statusBarHeight,
|
|
346
|
+
backgroundColor: colors.background
|
|
347
|
+
}], [colors.background, statusBarHeight]);
|
|
348
|
+
const centerStyle = useMemo(() => createBackgroundStyle(styles.center, colors.background), [colors.background]);
|
|
349
|
+
const descTextStyle = useMemo(() => createTextStyle(styles.descText, colors.textPrimary), [colors.textPrimary]);
|
|
350
|
+
const qrBoxStyle = useMemo(() => [styles.qrBox, {
|
|
351
|
+
borderColor: colors.primary,
|
|
352
|
+
backgroundColor: colors.skeletonBaseColor
|
|
353
|
+
}], [colors.primary, colors.skeletonBaseColor]);
|
|
354
|
+
const scanBtnStyle = useMemo(() => [styles.scanBtn, {
|
|
355
|
+
borderColor: colors.button
|
|
356
|
+
}], [colors.button]);
|
|
357
|
+
const scanTextStyle = useMemo(() => createTextStyle(styles.scanText, colors.button), [colors.button]);
|
|
358
|
+
const noCameraTextStyle = useMemo(() => ({
|
|
359
|
+
color: colors.textPrimary,
|
|
360
|
+
fontSize: RFValue(16)
|
|
361
|
+
}), [colors.textPrimary]);
|
|
362
|
+
const cameraWrapperStyle = useMemo(() => [styles.cameraWrapper, {
|
|
363
|
+
top: statusBarHeight
|
|
364
|
+
}], [statusBarHeight]);
|
|
365
|
+
const componentStyles = useMemo(() => ({
|
|
366
|
+
descText: descTextStyle,
|
|
367
|
+
qrBox: qrBoxStyle,
|
|
368
|
+
scanBtn: scanBtnStyle,
|
|
369
|
+
scanText: scanTextStyle,
|
|
370
|
+
iconMargin: styles.iconMargin,
|
|
371
|
+
buttonIconMargin: styles.buttonIconMargin,
|
|
372
|
+
loaderMargin: styles.loaderMargin
|
|
373
|
+
}), [descTextStyle, qrBoxStyle, scanBtnStyle, scanTextStyle]);
|
|
374
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
375
|
+
style: containerStyle,
|
|
376
|
+
children: [/*#__PURE__*/_jsx(AppStatusBar, {
|
|
377
|
+
theme: theme
|
|
378
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
379
|
+
style: headerWrapperStyle,
|
|
380
|
+
children: /*#__PURE__*/_jsx(AppHeader, {
|
|
381
|
+
title: title,
|
|
382
|
+
onBackPress: handleBackPress,
|
|
383
|
+
theme: theme,
|
|
384
|
+
titleAlign: "left"
|
|
385
|
+
})
|
|
386
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
387
|
+
style: cameraWrapperStyle,
|
|
388
|
+
children: scanActive ? device ? /*#__PURE__*/_jsx(CameraView, {
|
|
389
|
+
device: device,
|
|
390
|
+
codeScanner: codeScanner,
|
|
391
|
+
theme: theme
|
|
392
|
+
}) : /*#__PURE__*/_jsx(NoCameraView, {
|
|
393
|
+
textStyle: noCameraTextStyle,
|
|
394
|
+
containerStyle: centerStyle
|
|
395
|
+
}) : /*#__PURE__*/_jsx(ScanPreviewScreen, {
|
|
396
|
+
description: description,
|
|
397
|
+
scanButtonText: scanButtonText,
|
|
398
|
+
requesting: requesting,
|
|
399
|
+
onStartScan: startScan,
|
|
400
|
+
colors: colors,
|
|
401
|
+
styles: componentStyles
|
|
402
|
+
})
|
|
403
|
+
})]
|
|
404
|
+
});
|
|
405
|
+
});
|
|
406
|
+
QrLogin.displayName = 'QrLogin';
|
|
407
|
+
|
|
408
|
+
// ==================== Styles ====================
|
|
409
|
+
const styles = StyleSheet.create({
|
|
410
|
+
container: {
|
|
411
|
+
flex: 1
|
|
412
|
+
},
|
|
413
|
+
headerWrapper: {
|
|
414
|
+
position: 'absolute',
|
|
415
|
+
top: 0,
|
|
416
|
+
left: 0,
|
|
417
|
+
right: 0,
|
|
418
|
+
zIndex: 20,
|
|
419
|
+
elevation: 20
|
|
420
|
+
},
|
|
421
|
+
cameraWrapper: {
|
|
422
|
+
flex: 1
|
|
423
|
+
},
|
|
424
|
+
center: {
|
|
425
|
+
flex: 1,
|
|
426
|
+
alignItems: 'center',
|
|
427
|
+
justifyContent: 'center'
|
|
428
|
+
},
|
|
429
|
+
content: {
|
|
430
|
+
flex: 1,
|
|
431
|
+
justifyContent: 'center',
|
|
432
|
+
alignItems: 'center',
|
|
433
|
+
padding: scale(14),
|
|
434
|
+
marginBottom: scale(50)
|
|
435
|
+
},
|
|
436
|
+
card: {
|
|
437
|
+
width: SCREEN_W - scale(CARD_WIDTH_OFFSET),
|
|
438
|
+
minHeight: SCREEN_H / CARD_MIN_HEIGHT_RATIO,
|
|
439
|
+
alignItems: 'center',
|
|
440
|
+
padding: scale(20)
|
|
441
|
+
},
|
|
442
|
+
descText: {
|
|
443
|
+
fontSize: RFValue(15),
|
|
444
|
+
textAlign: 'center',
|
|
445
|
+
marginVertical: scale(12)
|
|
446
|
+
},
|
|
447
|
+
qrBox: {
|
|
448
|
+
marginVertical: scale(20),
|
|
449
|
+
padding: scale(20),
|
|
450
|
+
borderWidth: 2,
|
|
451
|
+
borderRadius: scale(12),
|
|
452
|
+
justifyContent: 'center',
|
|
453
|
+
alignItems: 'center'
|
|
454
|
+
},
|
|
455
|
+
scanBtn: {
|
|
456
|
+
flexDirection: 'row',
|
|
457
|
+
alignItems: 'center',
|
|
458
|
+
borderWidth: scale(2),
|
|
459
|
+
borderRadius: scale(12),
|
|
460
|
+
paddingVertical: scale(10),
|
|
461
|
+
paddingHorizontal: scale(25),
|
|
462
|
+
marginTop: scale(20)
|
|
463
|
+
},
|
|
464
|
+
scanText: {
|
|
465
|
+
fontWeight: '600',
|
|
466
|
+
fontSize: RFValue(14)
|
|
467
|
+
},
|
|
468
|
+
iconMargin: {
|
|
469
|
+
marginBottom: scale(12)
|
|
470
|
+
},
|
|
471
|
+
buttonIconMargin: {
|
|
472
|
+
marginRight: 10
|
|
473
|
+
},
|
|
474
|
+
loaderMargin: {
|
|
475
|
+
marginTop: scale(12)
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
export default QrLogin;
|
|
479
|
+
//# sourceMappingURL=QrLogin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","useRef","useMemo","useCallback","useEffect","View","StyleSheet","Dimensions","TouchableOpacity","ActivityIndicator","scale","RFValue","useSafeAreaInsets","Text","AppHeader","useInternalTheme","Camera","CameraIcon","QrCode","useCameraDevice","useCameraPermission","useCodeScanner","QrViewArea","AppStatusBar","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","width","SCREEN_W","height","SCREEN_H","get","SCAN_DELAY_MS","RESET_DELAY_MS","CAMERA_TYPE","CARD_WIDTH_OFFSET","CARD_MIN_HEIGHT_RATIO","ICON_SIZES","camera","qrCode","button","STROKE_WIDTHS","icon","DEFAULTS","title","description","scanButtonText","cameraType","getErrorMessage","error","defaultMessage","Error","message","createBackgroundStyle","baseStyle","backgroundColor","createTextStyle","color","useQrScanState","scanTimer","resetTimer","lastValueRef","isScanning","resetScanState","current","clearTimeout","useCameraPermissionHandler","hasPermission","requestPermission","onError","requesting","setRequesting","requestCameraPermission","granted","errorMessage","console","warn","CameraView","memo","device","codeScanner","theme","children","style","absoluteFill","isActive","enableFpsGraph","displayName","NoCameraView","textStyle","containerStyle","ScanPreviewScreen","onStartScan","colors","styles","componentStyles","content","card","size","strokeWidth","iconMargin","descText","qrBox","scanBtn","onPress","activeOpacity","buttonIconMargin","scanText","loaderMargin","primary","QrLogin","onBackPress","onScanSuccess","onScanError","allowMultipleScans","appliedTheme","top","statusBarHeight","scanActive","setScanActive","stopScan","handleBackPress","handleCodeScanned","codes","length","code","value","setTimeout","codeTypes","onCodeScanned","startScan","hasPermissionGranted","container","background","headerWrapperStyle","headerWrapper","centerStyle","center","descTextStyle","textPrimary","qrBoxStyle","borderColor","skeletonBaseColor","scanBtnStyle","scanTextStyle","noCameraTextStyle","fontSize","cameraWrapperStyle","cameraWrapper","titleAlign","create","flex","position","left","right","zIndex","elevation","alignItems","justifyContent","padding","marginBottom","minHeight","textAlign","marginVertical","borderWidth","borderRadius","flexDirection","paddingVertical","paddingHorizontal","marginTop","fontWeight","marginRight"],"sourceRoot":"../../../../../../src","sources":["components/Auth/Two/QrLogin/QrLogin.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IACVC,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPC,WAAW,EACXC,SAAS,QACJ,OAAO;AACd,SACEC,IAAI,EACJC,UAAU,EACVC,UAAU,EACVC,gBAAgB,EAChBC,iBAAiB,QACZ,cAAc;AAErB,SAASC,KAAK,QAAQ,2BAA2B;AACjD,SAASC,OAAO,QAAQ,kCAAkC;AAC1D,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,SAASC,IAAI,QAAQ,wBAAe;AACpC,OAAOC,SAAS,MAAM,+BAA4B;AAClD,SAASC,gBAAgB,QAAQ,4CAAyC;AAE1E,SAASC,MAAM,IAAIC,UAAU,EAAEC,MAAM,QAAQ,qBAAqB;AAClE,SACEF,MAAM,EACNG,eAAe,EACfC,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