@zezosoft/zezo-ott-react-native-ui-kit 1.3.5 → 1.3.7
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 +1 -1
- package/README.md +40 -36
- package/lib/module/components/Account/Account.js +10 -9
- package/lib/module/components/Account/Account.js.map +1 -1
- package/lib/module/components/Account/index.js +5 -0
- package/lib/module/components/Account/index.js.map +1 -1
- package/lib/module/components/Alert/AlertDialog.js +11 -9
- package/lib/module/components/Alert/AlertDialog.js.map +1 -1
- package/lib/module/components/Alert/UAAlert.js +15 -8
- package/lib/module/components/Alert/UAAlert.js.map +1 -1
- package/lib/module/components/Alert/index.js +5 -0
- package/lib/module/components/Alert/index.js.map +1 -1
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js +41 -33
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js +18 -15
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js.map +1 -1
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js +7 -8
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js.map +1 -1
- package/lib/module/components/Auth/One/Login/LoginWithPhone.js +5 -5
- package/lib/module/components/Auth/One/Login/LoginWithPhone.js.map +1 -1
- package/lib/module/components/Auth/One/OTP/OTP.js +19 -10
- package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -1
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js +178 -425
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -1
- package/lib/module/components/Auth/One/QrLogin/components/index.js +8 -0
- package/lib/module/components/Auth/One/QrLogin/components/index.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-fallback.js +125 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-fallback.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-frame.js +153 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-frame.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-header.js +50 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-header.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-intro.js +199 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-intro.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-overlay.js +219 -0
- package/lib/module/components/Auth/One/QrLogin/components/qr-scanner-overlay.js.map +1 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js +8 -12
- package/lib/module/components/Auth/One/SignUp/SignUp.js.map +1 -1
- package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js +74 -37
- package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js +17 -14
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js +19 -9
- package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js +8 -12
- package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
- package/lib/module/components/Auth/One/SplashScreen/utils/splashUtils.js +22 -0
- package/lib/module/components/Auth/One/SplashScreen/utils/splashUtils.js.map +1 -0
- package/lib/module/components/Auth/One/index.js +1 -1
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js +11 -5
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js.map +1 -1
- package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js +15 -21
- package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js.map +1 -1
- package/lib/module/components/Auth/Two/Login/EmailOrPhoneLogin.js +36 -25
- package/lib/module/components/Auth/Two/Login/EmailOrPhoneLogin.js.map +1 -1
- package/lib/module/components/Auth/Two/OTP/OTP.js +20 -11
- package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -1
- package/lib/module/components/Auth/Two/SignUp/SignUp.js +6 -11
- package/lib/module/components/Auth/Two/SignUp/SignUp.js.map +1 -1
- package/lib/module/components/Auth/Two/index.js +1 -1
- package/lib/module/components/Auth/index.js +5 -0
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/One/One.js +8 -3
- package/lib/module/components/BackgroundLayout/One/One.js.map +1 -1
- package/lib/module/components/BackgroundLayout/Two/Two.js +8 -3
- package/lib/module/components/BackgroundLayout/Two/Two.js.map +1 -1
- package/lib/module/components/BackgroundLayout/index.js +5 -0
- package/lib/module/components/BackgroundLayout/index.js.map +1 -1
- package/lib/module/components/BlogView/BlogView.js +7 -2
- package/lib/module/components/BlogView/BlogView.js.map +1 -1
- package/lib/module/components/BlogView/index.js +1 -1
- package/lib/module/components/BlurView/BlurView.js +2 -2
- package/lib/module/components/BlurView/BlurView.js.map +1 -1
- package/lib/module/components/BlurView/index.js +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.js +9 -4
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheetOne.js +10 -8
- package/lib/module/components/BottomSheet/BottomSheetOne.js.map +1 -1
- package/lib/module/components/BottomSheet/index.js +5 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -1
- package/lib/module/components/Button/BackBtn.js +41 -35
- package/lib/module/components/Button/BackBtn.js.map +1 -1
- package/lib/module/components/Button/MenuBtn.js +30 -28
- package/lib/module/components/Button/MenuBtn.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +11 -9
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Button/SecondaryBtn.js +29 -22
- package/lib/module/components/Button/SecondaryBtn.js.map +1 -1
- package/lib/module/components/Button/TextButton.js +7 -2
- package/lib/module/components/Button/TextButton.js.map +1 -1
- package/lib/module/components/Button/index.js +1 -1
- package/lib/module/components/Button/types.js +4 -0
- package/lib/module/components/Button/types.js.map +1 -0
- package/lib/module/components/Content/Card/Category/Category.js +11 -11
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/Category/CategroyTwo.js +6 -5
- package/lib/module/components/Content/Card/Category/CategroyTwo.js.map +1 -1
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +5 -25
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +4 -4
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js +19 -14
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +6 -5
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +2 -1
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +7 -7
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +8 -9
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +7 -7
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +6 -6
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +6 -6
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +7 -7
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +4 -4
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +7 -7
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/AdsPoster.js +5 -0
- package/lib/module/components/Content/Card/components/AdsPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js +21 -24
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/LiveBadge.js +93 -0
- package/lib/module/components/Content/Card/components/LiveBadge.js.map +1 -0
- package/lib/module/components/Content/Card/components/NavigateToMore.js +3 -3
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/RentOrBuyIcon.js +5 -0
- package/lib/module/components/Content/Card/components/RentOrBuyIcon.js.map +1 -1
- package/lib/module/components/Content/Card/components/ShowAllButton.js +2 -2
- package/lib/module/components/Content/Card/components/ThumbnailCard.js +12 -18
- package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -1
- package/lib/module/components/Content/Card/components/index.js +11 -0
- package/lib/module/components/Content/Card/components/index.js.map +1 -1
- package/lib/module/components/Content/Card/index.js +2 -1
- package/lib/module/components/Content/Card/index.js.map +1 -1
- package/lib/module/components/Content/Content.js +11 -14
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +2 -1
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/ContentView/MoreContentList.js +7 -6
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/One/ContentViewOne.js +10 -7
- package/lib/module/components/ContentView/One/ContentViewOne.js.map +1 -1
- package/lib/module/components/ContentView/One/components/CastCard.js +2 -1
- package/lib/module/components/ContentView/One/components/CastCard.js.map +1 -1
- package/lib/module/components/ContentView/One/components/HeroBanner.js +223 -184
- package/lib/module/components/ContentView/One/components/HeroBanner.js.map +1 -1
- package/lib/module/components/ContentView/One/components/MiniInfo.js +3 -3
- package/lib/module/components/ContentView/One/components/MiniInfo.js.map +1 -1
- package/lib/module/components/ContentView/One/components/Title.js +1 -1
- package/lib/module/components/ContentView/Two/ContentViewTwo.js +17 -13
- package/lib/module/components/ContentView/Two/ContentViewTwo.js.map +1 -1
- package/lib/module/components/ContentView/Two/components/Details.js +2 -2
- package/lib/module/components/ContentView/Two/components/HeroBanner.js +141 -265
- package/lib/module/components/ContentView/Two/components/HeroBanner.js.map +1 -1
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js +2 -2
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js +8 -7
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js.map +1 -1
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js +10 -7
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js.map +1 -1
- package/lib/module/components/ContentView/Two/components/SectionTabs.js +3 -2
- package/lib/module/components/ContentView/Two/components/SectionTabs.js.map +1 -1
- package/lib/module/components/ContentView/Two/components/Title.js +6 -6
- package/lib/module/components/ContentView/Two/components/Title.js.map +1 -1
- package/lib/module/components/ContentView/Two/components/index.js +2 -5
- package/lib/module/components/ContentView/Two/components/index.js.map +1 -1
- package/lib/module/components/ContentView/index.js +1 -1
- package/lib/module/components/ContentView/{One/components → shared}/AboutSection.js +49 -41
- package/lib/module/components/ContentView/shared/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/{Two/components → shared}/EpisodeCard.js +17 -23
- package/lib/module/components/ContentView/shared/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/shared/GenreTags.js +127 -0
- package/lib/module/components/ContentView/shared/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/{One/components → shared}/PlayButton.js +3 -3
- package/lib/module/components/ContentView/shared/PlayButton.js.map +1 -0
- package/lib/module/components/ContentView/{One/components → shared}/TrailerButton.js +3 -3
- package/lib/module/components/ContentView/shared/TrailerButton.js.map +1 -0
- package/lib/module/components/Fallbacks/NoContentFallback.js +13 -11
- package/lib/module/components/Fallbacks/NoContentFallback.js.map +1 -1
- package/lib/module/components/Fallbacks/NotFoundFallback.js +3 -3
- package/lib/module/components/Fallbacks/NotFoundFallback.js.map +1 -1
- package/lib/module/components/Fallbacks/index.js +5 -0
- package/lib/module/components/Fallbacks/index.js.map +1 -1
- package/lib/module/components/Headers/AppHeader.js +4 -3
- package/lib/module/components/Headers/AppHeader.js.map +1 -1
- package/lib/module/components/Headers/Four.js +2 -1
- package/lib/module/components/Headers/Four.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 +5 -4
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/Two.js +4 -3
- package/lib/module/components/Headers/Two.js.map +1 -1
- package/lib/module/components/Headers/index.js +1 -1
- package/lib/module/components/Input/Input.js +1 -1
- package/lib/module/components/Input/InputOne.js +10 -3
- package/lib/module/components/Input/InputOne.js.map +1 -1
- package/lib/module/components/Input/InputThree.js +3 -3
- package/lib/module/components/Input/InputThree.js.map +1 -1
- package/lib/module/components/Input/InputTwo.js +21 -3
- package/lib/module/components/Input/InputTwo.js.map +1 -1
- package/lib/module/components/Input/PhoneInput/One/One.js +37 -65
- package/lib/module/components/Input/PhoneInput/One/One.js.map +1 -1
- package/lib/module/components/Input/PhoneInput/Two/Two.js +38 -65
- package/lib/module/components/Input/PhoneInput/Two/Two.js.map +1 -1
- package/lib/module/components/Input/PhoneInput/index.js +1 -1
- package/lib/module/components/Keyboard/HideKeyboard.js +13 -11
- package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -1
- package/lib/module/components/Loader/Loader.js +7 -2
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +16 -10
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/NewRelease/NewReleaseSheet.js +19 -12
- package/lib/module/components/NewRelease/NewReleaseSheet.js.map +1 -1
- package/lib/module/components/NewRelease/index.js +5 -0
- package/lib/module/components/NewRelease/index.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +7 -2
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js +15 -8
- package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +15 -8
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +7 -2
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +22 -19
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/Episodes.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/Episodes.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/Like.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/Like.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js +12 -6
- package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +14 -7
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js +14 -7
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js +6 -1
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js.map +1 -1
- package/lib/module/components/Reels/index.js +1 -1
- package/lib/module/components/Reels/utils/Controls/gestureUtils.js +25 -16
- package/lib/module/components/Reels/utils/Controls/gestureUtils.js.map +1 -1
- package/lib/module/components/Reels/utils/Controls/index.js +5 -0
- package/lib/module/components/Reels/utils/Controls/index.js.map +1 -1
- package/lib/module/components/Reels/utils/Controls/overlayUtils.js +5 -0
- package/lib/module/components/Reels/utils/Controls/overlayUtils.js.map +1 -1
- package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js +5 -0
- package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js.map +1 -1
- package/lib/module/components/Reels/utils/Controls/videoRef.js +5 -0
- package/lib/module/components/Reels/utils/Controls/videoRef.js.map +1 -1
- package/lib/module/components/Reels/utils/index.js +5 -0
- package/lib/module/components/Reels/utils/index.js.map +1 -1
- package/lib/module/components/Reels/utils/timeoutUtils.js +5 -0
- package/lib/module/components/Reels/utils/timeoutUtils.js.map +1 -1
- package/lib/module/components/Search/One.js +16 -14
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/RecentSearchesSection.js +2 -2
- package/lib/module/components/Search/components/SearchCard.js +4 -4
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/Search/index.js +2 -2
- package/lib/module/components/Settings/AppSettings.js +3 -3
- package/lib/module/components/Settings/AppSettings.js.map +1 -1
- package/lib/module/components/Settings/index.js +5 -0
- package/lib/module/components/Settings/index.js.map +1 -1
- package/lib/module/components/Subscription/SubOne.js +19 -10
- package/lib/module/components/Subscription/SubOne.js.map +1 -1
- package/lib/module/components/Subscription/components/SubsDetailsModal.js +5 -0
- package/lib/module/components/Subscription/components/SubsDetailsModal.js.map +1 -1
- package/lib/module/components/Subscription/components/SubscriptionCard.js +17 -10
- package/lib/module/components/Subscription/components/SubscriptionCard.js.map +1 -1
- package/lib/module/components/Subscription/index.js +2 -2
- package/lib/module/components/TabBar/One.js +50 -48
- package/lib/module/components/TabBar/One.js.map +1 -1
- package/lib/module/components/TabBar/Three.js +52 -48
- package/lib/module/components/TabBar/Three.js.map +1 -1
- package/lib/module/components/TabBar/Two.js +5 -5
- package/lib/module/components/TabBar/Two.js.map +1 -1
- package/lib/module/components/TabBar/index.js +2 -2
- package/lib/module/components/Text/Text.js +7 -2
- package/lib/module/components/Text/Text.js.map +1 -1
- package/lib/module/components/Text/index.js +2 -1
- package/lib/module/components/Text/index.js.map +1 -1
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js +3 -3
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js +24 -19
- package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +3 -3
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js +3 -3
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +37 -31
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/User/components/UserAvatar.js +4 -3
- package/lib/module/components/User/components/UserAvatar.js.map +1 -1
- package/lib/module/components/User/components/UserSection.js +6 -5
- package/lib/module/components/User/components/UserSection.js.map +1 -1
- package/lib/module/components/User/index.js +1 -1
- package/lib/module/components/View/View.js +2 -1
- package/lib/module/components/View/View.js.map +1 -1
- package/lib/module/components/View/index.js +2 -1
- package/lib/module/components/View/index.js.map +1 -1
- package/lib/module/components/common/AppStatusBar.js +5 -5
- package/lib/module/components/common/AppStatusBar.js.map +1 -1
- package/lib/module/components/common/index.js +4 -0
- package/lib/module/components/common/index.js.map +1 -0
- package/lib/module/components/index.js +2 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js +7 -2
- package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
- package/lib/module/components/layout/index.js +5 -0
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/constants/dummySections.js +5 -0
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/Images/index.js +5 -1
- package/lib/module/hooks/Images/index.js.map +1 -1
- package/lib/module/hooks/Images/useImageLoader.js +18 -15
- package/lib/module/hooks/Images/useImageLoader.js.map +1 -1
- package/lib/module/hooks/index.js +1 -2
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useAdTracking.js +5 -0
- package/lib/module/hooks/useAdTracking.js.map +1 -1
- package/lib/module/hooks/useCards.js +10 -2
- package/lib/module/hooks/useCards.js.map +1 -1
- package/lib/module/hooks/useDebounce.js +5 -0
- package/lib/module/hooks/useDebounce.js.map +1 -1
- package/lib/module/hooks/useKeyboard.js +1 -1
- package/lib/module/hooks/useNavigationMode.js +3 -4
- package/lib/module/hooks/useNavigationMode.js.map +1 -1
- package/lib/module/hooks/usePaginatedSection.js +21 -5
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/hooks/usePrevious.js +1 -1
- package/lib/module/hooks/useSafeCallback.js +15 -22
- package/lib/module/hooks/useSafeCallback.js.map +1 -1
- package/lib/module/hooks/useSkeletonItems.js +1 -1
- package/lib/module/hooks/useSplashCache.js +70 -57
- package/lib/module/hooks/useSplashCache.js.map +1 -1
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/store/RecentSearchesStore.js +1 -1
- package/lib/module/store/splashStore.js +1 -1
- package/lib/module/store/storage.js +1 -1
- package/lib/module/theme/ThemeContext.js +10 -0
- package/lib/module/theme/ThemeContext.js.map +1 -0
- package/lib/module/theme/ThemeProvider.js +12 -22
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hooks/index.js +9 -0
- package/lib/module/theme/hooks/index.js.map +1 -0
- package/lib/module/theme/hooks/useTheme.js +91 -0
- package/lib/module/theme/hooks/useTheme.js.map +1 -0
- package/lib/module/theme/index.js +2 -1
- package/lib/module/theme/index.js.map +1 -1
- package/lib/module/{store/themeStore.js → theme/store/theme.js} +8 -6
- package/lib/module/theme/store/theme.js.map +1 -0
- package/lib/module/theme/themes.js +35 -70
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/theme/utils/cleanColors.js +60 -0
- package/lib/module/theme/utils/cleanColors.js.map +1 -0
- package/lib/module/theme/utils/toRgba.js +128 -0
- package/lib/module/theme/utils/toRgba.js.map +1 -0
- package/lib/module/types/hook/usePaginatedSection.js +4 -0
- package/lib/module/types/hook/usePaginatedSection.js.map +1 -0
- package/lib/module/types/navigation.js +4 -0
- package/lib/module/types/navigation.js.map +1 -0
- package/lib/module/types/user.js +4 -0
- package/lib/module/types/user.js.map +1 -0
- package/lib/module/utils/Display.js +2 -1
- package/lib/module/utils/Display.js.map +1 -1
- package/lib/module/utils/Formater.js +19 -0
- package/lib/module/utils/Formater.js.map +1 -1
- package/lib/module/utils/SizeMatters.js +2 -1
- package/lib/module/utils/SizeMatters.js.map +1 -1
- package/lib/module/utils/Spacing.js +1 -1
- package/lib/module/utils/colorUtils.js +1 -1
- package/lib/module/{hooks/Images/useImageValidation.js → utils/imageValidation.js} +10 -7
- package/lib/module/utils/imageValidation.js.map +1 -0
- package/lib/module/utils/interaction.js +20 -0
- package/lib/module/utils/interaction.js.map +1 -0
- package/lib/typescript/src/components/Account/Account.d.ts +3 -12
- package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
- package/lib/typescript/src/components/Account/index.d.ts +4 -0
- package/lib/typescript/src/components/Account/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Alert/AlertDialog.d.ts +1 -1
- package/lib/typescript/src/components/Alert/AlertDialog.d.ts.map +1 -1
- package/lib/typescript/src/components/Alert/UAAlert.d.ts +4 -0
- package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -1
- package/lib/typescript/src/components/Alert/index.d.ts +4 -0
- package/lib/typescript/src/components/Alert/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/AuthProvider/AuthProvider.d.ts +2 -2
- package/lib/typescript/src/components/Auth/AuthProvider/AuthProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts +9 -12
- package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts +8 -11
- package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts +8 -11
- package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts +11 -12
- package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts +13 -9
- package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/components/index.d.ts +6 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-fallback.d.ts +9 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-fallback.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-frame.d.ts +4 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-frame.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-header.d.ts +8 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-header.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-intro.d.ts +11 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-intro.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-overlay.d.ts +14 -0
- package/lib/typescript/src/components/Auth/One/QrLogin/components/qr-scanner-overlay.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts +8 -11
- package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts +3 -3
- package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/utils/splashUtils.d.ts +8 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/utils/splashUtils.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts +4426 -40
- package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts +6 -2
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts +10 -16
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/Login/EmailOrPhoneLogin.d.ts +13 -5
- package/lib/typescript/src/components/Auth/Two/Login/EmailOrPhoneLogin.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts +11 -7
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts +8 -8
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Two/index.d.ts +3037 -25
- package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/index.d.ts +7465 -63
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/One/One.d.ts +6 -2
- package/lib/typescript/src/components/BackgroundLayout/One/One.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/Two/Two.d.ts +4 -0
- package/lib/typescript/src/components/BackgroundLayout/Two/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/index.d.ts +172 -1
- package/lib/typescript/src/components/BackgroundLayout/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BlogView/BlogView.d.ts +6 -2
- package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
- package/lib/typescript/src/components/BlogView/index.d.ts +1 -1
- package/lib/typescript/src/components/BlurView/BlurView.d.ts +1 -1
- package/lib/typescript/src/components/BlurView/index.d.ts +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +6 -2
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts +6 -2
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet/index.d.ts +4 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/BackBtn.d.ts +1 -1
- package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/MenuBtn.d.ts +1 -1
- package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +4 -16
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/SecondaryBtn.d.ts +5 -17
- package/lib/typescript/src/components/Button/SecondaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/TextButton.d.ts +8 -4
- package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +726 -28
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/types.d.ts +32 -0
- package/lib/typescript/src/components/Button/types.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +2 -2
- 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 +2 -2
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts +5 -7
- 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 +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts +4 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +115 -3
- 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 +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 +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 +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 +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +2 -2
- 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 +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 +2 -2
- 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 +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts +5 -1
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +3 -2
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/LiveBadge.d.ts +16 -0
- package/lib/typescript/src/components/Content/Card/components/LiveBadge.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts +1 -1
- package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts +4 -0
- package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts +2 -2
- 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 +1 -1
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/index.d.ts +10 -0
- package/lib/typescript/src/components/Content/Card/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/index.d.ts +4990 -36
- package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/types.d.ts +6 -7
- package/lib/typescript/src/components/Content/types.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/components/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts +3 -3
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts +3 -3
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts +2 -2
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts +4 -3
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts +3 -3
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts +2 -2
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts +2 -5
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/index.d.ts +3 -3
- package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/{One/components → shared}/AboutSection.d.ts +6 -4
- package/lib/typescript/src/components/ContentView/shared/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{Two/components → shared}/EpisodeCard.d.ts +4 -4
- package/lib/typescript/src/components/ContentView/shared/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{One/components → shared}/GenreTags.d.ts +5 -4
- package/lib/typescript/src/components/ContentView/shared/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/shared/PlayButton.d.ts +14 -0
- package/lib/typescript/src/components/ContentView/shared/PlayButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/shared/TrailerButton.d.ts +18 -0
- package/lib/typescript/src/components/ContentView/shared/TrailerButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Fallbacks/NoContentFallback.d.ts +2 -2
- package/lib/typescript/src/components/Fallbacks/NoContentFallback.d.ts.map +1 -1
- package/lib/typescript/src/components/Fallbacks/NotFoundFallback.d.ts +1 -1
- package/lib/typescript/src/components/Fallbacks/index.d.ts +4 -0
- package/lib/typescript/src/components/Fallbacks/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/AppHeader.d.ts +2 -2
- package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Four.d.ts +1 -1
- package/lib/typescript/src/components/Headers/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/One.d.ts +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/index.d.ts +1 -1
- package/lib/typescript/src/components/Input/Input.d.ts +1 -1
- package/lib/typescript/src/components/Input/InputOne.d.ts +4 -4
- package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputThree.d.ts +4 -4
- package/lib/typescript/src/components/Input/InputThree.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputTwo.d.ts +4 -4
- package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneInput/One/One.d.ts +4 -4
- package/lib/typescript/src/components/Input/PhoneInput/One/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneInput/Two/Two.d.ts +4 -4
- package/lib/typescript/src/components/Input/PhoneInput/Two/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneInput/index.d.ts +1 -1
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts +3 -3
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/components/Loader/Loader.d.ts +4 -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 +5 -1
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/NewRelease/index.d.ts +4 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +4 -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 +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Episodes.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Episodes.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts +4 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/index.d.ts +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts +9 -5
- package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/index.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts +4 -0
- package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts +2 -2
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts +2 -2
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts +2 -2
- package/lib/typescript/src/components/Search/index.d.ts +2 -2
- package/lib/typescript/src/components/Settings/AppSettings.d.ts +7 -7
- package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
- package/lib/typescript/src/components/Settings/index.d.ts +4 -0
- package/lib/typescript/src/components/Settings/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts +5 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/components/SubsDetailsModal.d.ts +5 -1
- package/lib/typescript/src/components/Subscription/components/SubsDetailsModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/components/SubscriptionCard.d.ts +5 -1
- package/lib/typescript/src/components/Subscription/components/SubscriptionCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/index.d.ts +5 -5
- package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/One.d.ts +3 -12
- package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Three.d.ts +2 -11
- package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Two.d.ts +3 -12
- package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/index.d.ts +4 -4
- package/lib/typescript/src/components/Text/Text.d.ts +4 -0
- package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/Text/index.d.ts +1 -1
- package/lib/typescript/src/components/Text/index.d.ts.map +1 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +1 -1
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts +5 -1
- package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts +1 -1
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts +5 -17
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts +2 -2
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts +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 +2 -12
- package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
- package/lib/typescript/src/components/User/index.d.ts +1 -1
- package/lib/typescript/src/components/View/View.d.ts +1 -1
- package/lib/typescript/src/components/View/View.d.ts.map +1 -1
- package/lib/typescript/src/components/View/index.d.ts +1 -1
- package/lib/typescript/src/components/View/index.d.ts.map +1 -1
- package/lib/typescript/src/components/common/AppStatusBar.d.ts +1 -1
- package/lib/typescript/src/components/common/index.d.ts +2 -0
- package/lib/typescript/src/components/common/index.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +2 -1
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts +6 -2
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -1
- package/lib/typescript/src/components/layout/index.d.ts +4 -0
- package/lib/typescript/src/components/layout/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts +4 -0
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/Images/index.d.ts +4 -1
- package/lib/typescript/src/hooks/Images/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts +1 -1
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts.map +1 -1
- package/lib/typescript/src/hooks/index.d.ts +1 -2
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useAdTracking.d.ts +7 -3
- package/lib/typescript/src/hooks/useAdTracking.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useCards.d.ts +2 -7
- package/lib/typescript/src/hooks/useCards.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useDebounce.d.ts +4 -0
- package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useKeyboard.d.ts +1 -1
- package/lib/typescript/src/hooks/useNavigationMode.d.ts +1 -2
- package/lib/typescript/src/hooks/useNavigationMode.d.ts.map +1 -1
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts +5 -11
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/hooks/usePrevious.d.ts +1 -1
- package/lib/typescript/src/hooks/useSafeCallback.d.ts +6 -9
- package/lib/typescript/src/hooks/useSafeCallback.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSkeletonItems.d.ts +2 -2
- package/lib/typescript/src/hooks/useSkeletonItems.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSplashCache.d.ts +1 -1
- package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/store/RecentSearchesStore.d.ts +1 -1
- package/lib/typescript/src/store/splashStore.d.ts +1 -1
- package/lib/typescript/src/store/storage.d.ts +1 -1
- package/lib/typescript/src/theme/ThemeContext.d.ts +16 -0
- package/lib/typescript/src/theme/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts +4 -17
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hooks/index.d.ts +6 -0
- package/lib/typescript/src/theme/hooks/index.d.ts.map +1 -0
- package/lib/typescript/src/theme/hooks/useTheme.d.ts +7 -0
- package/lib/typescript/src/theme/hooks/useTheme.d.ts.map +1 -0
- package/lib/typescript/src/theme/index.d.ts +2 -1
- package/lib/typescript/src/theme/index.d.ts.map +1 -1
- package/lib/typescript/src/{store/themeStore.d.ts → theme/store/theme.d.ts} +3 -3
- package/lib/typescript/src/theme/store/theme.d.ts.map +1 -0
- package/lib/typescript/src/theme/themes.d.ts +9 -18
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/theme/utils/cleanColors.d.ts +15 -0
- package/lib/typescript/src/theme/utils/cleanColors.d.ts.map +1 -0
- package/lib/typescript/src/theme/utils/toRgba.d.ts +16 -0
- package/lib/typescript/src/theme/utils/toRgba.d.ts.map +1 -0
- package/lib/typescript/src/types/content/content-view.types.d.ts +5 -8
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/hook/index.d.ts +2 -2
- package/lib/typescript/src/types/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/types/hook/{usePaginatedSetion.d.ts → usePaginatedSection.d.ts} +2 -2
- package/lib/typescript/src/types/hook/usePaginatedSection.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +3 -1
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/types/navigation.d.ts +16 -0
- package/lib/typescript/src/types/navigation.d.ts.map +1 -0
- package/lib/typescript/src/types/sections/index.d.ts +2 -1
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
- package/lib/typescript/src/types/user.d.ts +16 -0
- package/lib/typescript/src/types/user.d.ts.map +1 -0
- package/lib/typescript/src/utils/Display.d.ts +4 -0
- package/lib/typescript/src/utils/Display.d.ts.map +1 -1
- package/lib/typescript/src/utils/Formater.d.ts +10 -0
- package/lib/typescript/src/utils/Formater.d.ts.map +1 -1
- package/lib/typescript/src/utils/SizeMatters.d.ts +1 -1
- package/lib/typescript/src/utils/SizeMatters.d.ts.map +1 -1
- package/lib/typescript/src/utils/Spacing.d.ts +1 -1
- package/lib/typescript/src/utils/colorUtils.d.ts +1 -1
- package/lib/typescript/src/{hooks/Images/useImageValidation.d.ts → utils/imageValidation.d.ts} +3 -3
- package/lib/typescript/src/utils/imageValidation.d.ts.map +1 -0
- package/lib/typescript/src/utils/interaction.d.ts +9 -0
- package/lib/typescript/src/utils/interaction.d.ts.map +1 -0
- package/package.json +132 -128
- package/lib/module/Styles/globalStyles.js +0 -71
- package/lib/module/Styles/globalStyles.js.map +0 -1
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js +0 -295
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js.map +0 -1
- package/lib/module/components/Content/index.js +0 -8
- package/lib/module/components/Content/index.js.map +0 -1
- package/lib/module/components/ContentView/One/components/AboutSection.js.map +0 -1
- package/lib/module/components/ContentView/One/components/EpisodeCard.js +0 -398
- package/lib/module/components/ContentView/One/components/EpisodeCard.js.map +0 -1
- package/lib/module/components/ContentView/One/components/GenreTags.js +0 -94
- package/lib/module/components/ContentView/One/components/GenreTags.js.map +0 -1
- package/lib/module/components/ContentView/One/components/PlayButton.js.map +0 -1
- package/lib/module/components/ContentView/One/components/TrailerButton.js.map +0 -1
- package/lib/module/components/ContentView/Two/components/AboutSection.js +0 -153
- package/lib/module/components/ContentView/Two/components/AboutSection.js.map +0 -1
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js.map +0 -1
- package/lib/module/components/ContentView/Two/components/GenreTags.js +0 -89
- package/lib/module/components/ContentView/Two/components/GenreTags.js.map +0 -1
- package/lib/module/components/Subscription/components/index.js +0 -5
- package/lib/module/components/Subscription/components/index.js.map +0 -1
- package/lib/module/hooks/Images/useImageValidation.js.map +0 -1
- package/lib/module/hooks/useThemeColors.js +0 -33
- package/lib/module/hooks/useThemeColors.js.map +0 -1
- package/lib/module/store/themeStore.js.map +0 -1
- package/lib/module/theme/hook/index.js +0 -4
- package/lib/module/theme/hook/index.js.map +0 -1
- package/lib/module/theme/hook/useInternalTheme.js +0 -78
- package/lib/module/theme/hook/useInternalTheme.js.map +0 -1
- package/lib/module/theme/utils/validateColor.js +0 -84
- package/lib/module/theme/utils/validateColor.js.map +0 -1
- package/lib/module/types/hook/usePaginatedSetion.js +0 -4
- package/lib/module/types/hook/usePaginatedSetion.js.map +0 -1
- package/lib/module/utils/PlatformSelector.js +0 -31
- package/lib/module/utils/PlatformSelector.js.map +0 -1
- package/lib/typescript/src/Styles/globalStyles.d.ts +0 -66
- package/lib/typescript/src/Styles/globalStyles.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts +0 -14
- package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts.map +0 -1
- package/lib/typescript/src/components/Content/index.d.ts +0 -6
- package/lib/typescript/src/components/Content/index.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/One/components/AboutSection.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts +0 -23
- package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/One/components/GenreTags.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts +0 -15
- package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts +0 -18
- package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts +0 -27
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts +0 -22
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts.map +0 -1
- package/lib/typescript/src/components/Subscription/components/index.d.ts +0 -3
- package/lib/typescript/src/components/Subscription/components/index.d.ts.map +0 -1
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts.map +0 -1
- package/lib/typescript/src/hooks/useThemeColors.d.ts +0 -27
- package/lib/typescript/src/hooks/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/src/store/themeStore.d.ts.map +0 -1
- package/lib/typescript/src/theme/hook/index.d.ts +0 -2
- package/lib/typescript/src/theme/hook/index.d.ts.map +0 -1
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts +0 -7
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +0 -1
- package/lib/typescript/src/theme/utils/validateColor.d.ts +0 -21
- package/lib/typescript/src/theme/utils/validateColor.d.ts.map +0 -1
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +0 -1
- package/lib/typescript/src/utils/PlatformSelector.d.ts +0 -22
- package/lib/typescript/src/utils/PlatformSelector.d.ts.map +0 -1
|
@@ -1 +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/One/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,S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uG,OAAO","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","useState","useMemo","useCallback","useRef","useEffect","View","StyleSheet","Camera","useCameraDevice","useCameraPermission","useCodeScanner","AppHeader","AppStatusBar","useTheme","QrScannerIntro","QrScannerOverlay","QrScannerFrame","QrScannerHeader","QrScannerFallback","jsx","_jsx","jsxs","_jsxs","QrLogin","memo","title","description","scanButtonText","onBackPress","onCodeScanned","isProcessing","theme","status","statusMessage","verifyQrLogin","onSuccess","onError","appliedTheme","colors","isScanning","setIsScanning","isPermissionDenied","setIsPermissionDenied","scannerState","setScannerState","message","errorTimeoutRef","cooldownTimeoutRef","lastScannedQrRef","isProcessingRef","clearErrorTimeout","current","clearTimeout","updateStatus","newStatus","msg","setTimeout","handleScan","scannedValue","trim","cleanedValue","replace","startsWith","err","rawMsg","response","data","errors","errorMsg","length","includes","currentStatus","undefined","currentMessage","currentIsLoading","device","hasPermission","requestPermission","codeScanner","codeTypes","codes","value","requestCameraPermission","granted","closeScanner","handleBackPress","openScanner","containerStyle","styles","container","backgroundColor","background","headerWrapperStyle","headerWrapper","renderContent","isCameraUnavailable","onPress","style","cameraContainer","children","absoluteFill","isActive","header","scanner","loading","titleAlign","cameraWrapper","displayName","create","flex","zIndex","elevation"],"sourceRoot":"../../../../../../src","sources":["components/Auth/One/QrLogin/QrLogin.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IACVC,QAAQ,EACRC,OAAO,EACPC,WAAW,EACXC,MAAM,EACNC,SAAS,QACJ,OAAO;AACd,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,SACEC,MAAM,EACNC,eAAe,EACfC,mBAAmB,EACnBC,cAAc,QACT,4BAA4B;AAEnC,SAASC,SAAS,QAAQ,2BAAkB;AAC5C,SAASC,YAAY,QAAQ,iCAA8B;AAC3D,SAASC,QAAQ,QAAQ,4BAAmB;AAE5C,SACEC,cAAc,EACdC,gBAAgB,EAChBC,cAAc,EACdC,eAAe,EACfC,iBAAiB,QAC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,UAAU,CAACsG,MAAM,CAAC;EAC/BnB,SAAS,EAAE;IAAEoB,IAAI,EAAE;EAAE,CAAC;EACtBhB,aAAa,EAAE;IACbiB,MAAM,EAAE,EAAE;IACVC,SAAS,EAAE;EACb,CAAC;EACDL,aAAa,EAAE;IACbG,IAAI,EAAE;EACR,CAAC;EACDX,eAAe,EAAE;IACfW,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAEF,eAAetF,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export { default as QrScannerIntro } from "./qr-scanner-intro.js";
|
|
4
|
+
export { default as QrScannerHeader } from "./qr-scanner-header.js";
|
|
5
|
+
export { default as QrScannerFrame } from "./qr-scanner-frame.js";
|
|
6
|
+
export { default as QrScannerFallback } from "./qr-scanner-fallback.js";
|
|
7
|
+
export { default as QrScannerOverlay } from "./qr-scanner-overlay.js";
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default","QrScannerIntro","QrScannerHeader","QrScannerFrame","QrScannerFallback","QrScannerOverlay"],"sourceRoot":"../../../../../../../src","sources":["components/Auth/One/QrLogin/components/index.ts"],"mappings":";;AAAA,SAASA,OAAO,IAAIC,cAAc,QAAQ,uBAAoB;AAE9D,SAASD,OAAO,IAAIE,eAAe,QAAQ,wBAAqB;AAEhE,SAASF,OAAO,IAAIG,cAAc,QAAQ,uBAAoB;AAE9D,SAASH,OAAO,IAAII,iBAAiB,QAAQ,0BAAuB;AACpE,SAASJ,OAAO,IAAIK,gBAAgB,QAAQ,yBAAsB","ignoreList":[]}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
6
|
+
import { moderateScale, scale, verticalScale } from 'react-native-size-matters';
|
|
7
|
+
import { Camera, ShieldAlert } from 'lucide-react-native';
|
|
8
|
+
import { useTheme } from "../../../../../theme/index.js";
|
|
9
|
+
import { toRgba } from "../../../../../theme/utils/toRgba.js";
|
|
10
|
+
import { Text } from "../../../../Text/index.js";
|
|
11
|
+
import { Button } from "../../../../Button/index.js";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
const QrScannerFallback = ({
|
|
14
|
+
hasPermission = false,
|
|
15
|
+
isCameraUnavailable = false,
|
|
16
|
+
onPress
|
|
17
|
+
}) => {
|
|
18
|
+
const {
|
|
19
|
+
theme
|
|
20
|
+
} = useTheme();
|
|
21
|
+
const {
|
|
22
|
+
colors
|
|
23
|
+
} = theme;
|
|
24
|
+
const title = isCameraUnavailable ? 'Camera Unavailable' : 'Camera Access Required';
|
|
25
|
+
const description = isCameraUnavailable ? 'No camera device was found on this device. Please use a device with a working camera.' : 'Please allow camera access so we can scan your QR code and sign you in securely.';
|
|
26
|
+
return /*#__PURE__*/_jsx(View, {
|
|
27
|
+
style: [styles.container, {
|
|
28
|
+
backgroundColor: colors.background
|
|
29
|
+
}],
|
|
30
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
31
|
+
style: styles.content,
|
|
32
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
33
|
+
style: [styles.iconOuter, {
|
|
34
|
+
backgroundColor: toRgba(colors.primary, 0.06)
|
|
35
|
+
}],
|
|
36
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
37
|
+
style: [styles.iconInner, {
|
|
38
|
+
backgroundColor: toRgba(colors.primary, 0.12)
|
|
39
|
+
}],
|
|
40
|
+
children: isCameraUnavailable ? /*#__PURE__*/_jsx(Camera, {
|
|
41
|
+
size: moderateScale(28),
|
|
42
|
+
color: colors.primary,
|
|
43
|
+
strokeWidth: 2
|
|
44
|
+
}) : /*#__PURE__*/_jsx(ShieldAlert, {
|
|
45
|
+
size: moderateScale(28),
|
|
46
|
+
color: colors.primary,
|
|
47
|
+
strokeWidth: 2
|
|
48
|
+
})
|
|
49
|
+
})
|
|
50
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
51
|
+
style: [styles.title, {
|
|
52
|
+
color: colors.textPrimary
|
|
53
|
+
}],
|
|
54
|
+
children: title
|
|
55
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
56
|
+
style: [styles.description, {
|
|
57
|
+
color: toRgba(colors.textPrimary, 0.65)
|
|
58
|
+
}],
|
|
59
|
+
children: description
|
|
60
|
+
}), !hasPermission && !isCameraUnavailable && /*#__PURE__*/_jsx(Button.Primary, {
|
|
61
|
+
title: "Allow Camera Access",
|
|
62
|
+
onPress: onPress,
|
|
63
|
+
containerStyle: styles.button,
|
|
64
|
+
titleStyle: styles.buttonText
|
|
65
|
+
}), isCameraUnavailable && /*#__PURE__*/_jsx(Button.Secondary, {
|
|
66
|
+
title: "Go Back",
|
|
67
|
+
onPress: onPress,
|
|
68
|
+
containerStyle: styles.button,
|
|
69
|
+
titleStyle: styles.buttonText
|
|
70
|
+
})]
|
|
71
|
+
})
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
export default QrScannerFallback;
|
|
75
|
+
const styles = StyleSheet.create({
|
|
76
|
+
container: {
|
|
77
|
+
flex: 1
|
|
78
|
+
},
|
|
79
|
+
content: {
|
|
80
|
+
flex: 1,
|
|
81
|
+
justifyContent: 'center',
|
|
82
|
+
alignItems: 'center',
|
|
83
|
+
paddingHorizontal: scale(32),
|
|
84
|
+
paddingBottom: verticalScale(60)
|
|
85
|
+
},
|
|
86
|
+
iconOuter: {
|
|
87
|
+
width: moderateScale(96),
|
|
88
|
+
height: moderateScale(96),
|
|
89
|
+
borderRadius: 999,
|
|
90
|
+
justifyContent: 'center',
|
|
91
|
+
alignItems: 'center',
|
|
92
|
+
marginBottom: verticalScale(24)
|
|
93
|
+
},
|
|
94
|
+
iconInner: {
|
|
95
|
+
width: moderateScale(68),
|
|
96
|
+
height: moderateScale(68),
|
|
97
|
+
borderRadius: 999,
|
|
98
|
+
justifyContent: 'center',
|
|
99
|
+
alignItems: 'center'
|
|
100
|
+
},
|
|
101
|
+
title: {
|
|
102
|
+
fontSize: RFValue(18),
|
|
103
|
+
lineHeight: RFValue(23),
|
|
104
|
+
fontWeight: '700',
|
|
105
|
+
textAlign: 'center',
|
|
106
|
+
marginBottom: verticalScale(10)
|
|
107
|
+
},
|
|
108
|
+
description: {
|
|
109
|
+
width: '85%',
|
|
110
|
+
fontSize: RFValue(12),
|
|
111
|
+
lineHeight: RFValue(18),
|
|
112
|
+
textAlign: 'center',
|
|
113
|
+
marginBottom: verticalScale(32)
|
|
114
|
+
},
|
|
115
|
+
button: {
|
|
116
|
+
width: '60%',
|
|
117
|
+
alignSelf: 'center',
|
|
118
|
+
minHeight: verticalScale(38),
|
|
119
|
+
paddingVertical: verticalScale(8)
|
|
120
|
+
},
|
|
121
|
+
buttonText: {
|
|
122
|
+
fontSize: RFValue(12)
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
//# sourceMappingURL=qr-scanner-fallback.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","RFValue","moderateScale","scale","verticalScale","Camera","ShieldAlert","useTheme","toRgba","Text","Button","jsx","_jsx","jsxs","_jsxs","QrScannerFallback","hasPermission","isCameraUnavailable","onPress","theme","colors","title","description","style","styles","container","backgroundColor","background","children","content","iconOuter","primary","iconInner","size","color","strokeWidth","textPrimary","Primary","containerStyle","button","titleStyle","buttonText","Secondary","create","flex","justifyContent","alignItems","paddingHorizontal","paddingBottom","width","height","borderRadius","marginBottom","fontSize","lineHeight","fontWeight","textAlign","alignSelf","minHeight","paddingVertical"],"sourceRoot":"../../../../../../../src","sources":["components/Auth/One/QrLogin/components/qr-scanner-fallback.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;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AAQ;IACnBC,SAAS,EAAEtD,aAAa,CAAC,EAAE,CAAC;IAC5BuD,eAAe,EAAEvD,aAAa,CAAC,CAAC;EAClC,CAAC;EAEDqC,UAAU,EAAE;IACVY,QAAQ,EAAEpD,OAAO,CAAC,EAAE;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import LinearGradient from 'react-native-linear-gradient';
|
|
6
|
+
import Animated, { useSharedValue, useAnimatedStyle, withRepeat, withSequence, withTiming, Easing } from 'react-native-reanimated';
|
|
7
|
+
import { moderateScale, scale, verticalScale } from 'react-native-size-matters';
|
|
8
|
+
import { useTheme } from "../../../../../theme/index.js";
|
|
9
|
+
import { toRgba } from "../../../../../theme/utils/toRgba.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
const SCANNER_SIZE = moderateScale(260);
|
|
12
|
+
const LINE_HEIGHT = verticalScale(2);
|
|
13
|
+
const VERTICAL_PADDING = verticalScale(30);
|
|
14
|
+
const MAX_TRANSLATE = SCANNER_SIZE - VERTICAL_PADDING * 2;
|
|
15
|
+
const GLOW_HEIGHT = verticalScale(20);
|
|
16
|
+
const QrScannerFrame = () => {
|
|
17
|
+
const {
|
|
18
|
+
theme
|
|
19
|
+
} = useTheme();
|
|
20
|
+
const {
|
|
21
|
+
colors
|
|
22
|
+
} = theme;
|
|
23
|
+
const translateY = useSharedValue(0);
|
|
24
|
+
React.useEffect(() => {
|
|
25
|
+
translateY.value = withRepeat(withSequence(withTiming(MAX_TRANSLATE, {
|
|
26
|
+
duration: 1800,
|
|
27
|
+
easing: Easing.inOut(Easing.ease)
|
|
28
|
+
}), withTiming(0, {
|
|
29
|
+
duration: 1800,
|
|
30
|
+
easing: Easing.inOut(Easing.ease)
|
|
31
|
+
})), -1, false);
|
|
32
|
+
}, [translateY]);
|
|
33
|
+
const animatedLineStyle = useAnimatedStyle(() => ({
|
|
34
|
+
transform: [{
|
|
35
|
+
translateY: translateY.value
|
|
36
|
+
}]
|
|
37
|
+
}));
|
|
38
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
39
|
+
style: styles.container,
|
|
40
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
41
|
+
style: [styles.frame, {
|
|
42
|
+
borderColor: toRgba(colors.primary, 0.08),
|
|
43
|
+
shadowColor: colors.primary
|
|
44
|
+
}],
|
|
45
|
+
children: /*#__PURE__*/_jsxs(Animated.View, {
|
|
46
|
+
style: [styles.scanLineWrapper, {
|
|
47
|
+
top: VERTICAL_PADDING - 14
|
|
48
|
+
}, animatedLineStyle],
|
|
49
|
+
children: [/*#__PURE__*/_jsx(LinearGradient, {
|
|
50
|
+
colors: ['transparent', toRgba(colors.primary, 0.08), toRgba(colors.primary, 0.4), toRgba(colors.primary, 0.08), 'transparent'],
|
|
51
|
+
locations: [0, 0.2, 0.5, 0.8, 1],
|
|
52
|
+
style: styles.glow
|
|
53
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
54
|
+
style: [styles.scanLine, {
|
|
55
|
+
backgroundColor: colors.primary,
|
|
56
|
+
shadowColor: colors.primary
|
|
57
|
+
}]
|
|
58
|
+
})]
|
|
59
|
+
})
|
|
60
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
61
|
+
style: [styles.corner, styles.cornerTopLeft, {
|
|
62
|
+
borderColor: colors.primary
|
|
63
|
+
}]
|
|
64
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
65
|
+
style: [styles.corner, styles.cornerTopRight, {
|
|
66
|
+
borderColor: colors.primary
|
|
67
|
+
}]
|
|
68
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
69
|
+
style: [styles.corner, styles.cornerBottomLeft, {
|
|
70
|
+
borderColor: colors.primary
|
|
71
|
+
}]
|
|
72
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
73
|
+
style: [styles.corner, styles.cornerBottomRight, {
|
|
74
|
+
borderColor: colors.primary
|
|
75
|
+
}]
|
|
76
|
+
})]
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
export default /*#__PURE__*/React.memo(QrScannerFrame);
|
|
80
|
+
const styles = StyleSheet.create({
|
|
81
|
+
container: {
|
|
82
|
+
width: SCANNER_SIZE,
|
|
83
|
+
height: SCANNER_SIZE,
|
|
84
|
+
position: 'relative',
|
|
85
|
+
justifyContent: 'center',
|
|
86
|
+
alignItems: 'center'
|
|
87
|
+
},
|
|
88
|
+
frame: {
|
|
89
|
+
width: SCANNER_SIZE,
|
|
90
|
+
height: SCANNER_SIZE,
|
|
91
|
+
borderRadius: moderateScale(28),
|
|
92
|
+
borderWidth: 1,
|
|
93
|
+
overflow: 'hidden',
|
|
94
|
+
backgroundColor: 'transparent',
|
|
95
|
+
shadowOffset: {
|
|
96
|
+
width: 0,
|
|
97
|
+
height: 10
|
|
98
|
+
},
|
|
99
|
+
shadowOpacity: 0.08,
|
|
100
|
+
shadowRadius: 18
|
|
101
|
+
},
|
|
102
|
+
scanLineWrapper: {
|
|
103
|
+
position: 'absolute',
|
|
104
|
+
width: '100%',
|
|
105
|
+
height: GLOW_HEIGHT,
|
|
106
|
+
alignItems: 'center',
|
|
107
|
+
justifyContent: 'center'
|
|
108
|
+
},
|
|
109
|
+
glow: {
|
|
110
|
+
position: 'absolute',
|
|
111
|
+
width: '82%',
|
|
112
|
+
height: GLOW_HEIGHT,
|
|
113
|
+
top: 0
|
|
114
|
+
},
|
|
115
|
+
scanLine: {
|
|
116
|
+
width: '82%',
|
|
117
|
+
height: LINE_HEIGHT
|
|
118
|
+
},
|
|
119
|
+
corner: {
|
|
120
|
+
position: 'absolute',
|
|
121
|
+
width: scale(46),
|
|
122
|
+
height: scale(46)
|
|
123
|
+
},
|
|
124
|
+
cornerTopLeft: {
|
|
125
|
+
top: 0,
|
|
126
|
+
left: 0,
|
|
127
|
+
borderTopWidth: 5,
|
|
128
|
+
borderLeftWidth: 5,
|
|
129
|
+
borderTopLeftRadius: moderateScale(26)
|
|
130
|
+
},
|
|
131
|
+
cornerTopRight: {
|
|
132
|
+
top: 0,
|
|
133
|
+
right: 0,
|
|
134
|
+
borderTopWidth: 5,
|
|
135
|
+
borderRightWidth: 5,
|
|
136
|
+
borderTopRightRadius: moderateScale(26)
|
|
137
|
+
},
|
|
138
|
+
cornerBottomLeft: {
|
|
139
|
+
bottom: 0,
|
|
140
|
+
left: 0,
|
|
141
|
+
borderBottomWidth: 5,
|
|
142
|
+
borderLeftWidth: 5,
|
|
143
|
+
borderBottomLeftRadius: moderateScale(26)
|
|
144
|
+
},
|
|
145
|
+
cornerBottomRight: {
|
|
146
|
+
bottom: 0,
|
|
147
|
+
right: 0,
|
|
148
|
+
borderBottomWidth: 5,
|
|
149
|
+
borderRightWidth: 5,
|
|
150
|
+
borderBottomRightRadius: moderateScale(26)
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
//# sourceMappingURL=qr-scanner-frame.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","LinearGradient","Animated","useSharedValue","useAnimatedStyle","withRepeat","withSequence","withTiming","Easing","moderateScale","scale","verticalScale","useTheme","toRgba","jsx","_jsx","jsxs","_jsxs","SCANNER_SIZE","LINE_HEIGHT","VERTICAL_PADDING","MAX_TRANSLATE","GLOW_HEIGHT","QrScannerFrame","theme","colors","translateY","useEffect","value","duration","easing","inOut","ease","animatedLineStyle","transform","style","styles","container","children","frame","borderColor","primary","shadowColor","scanLineWrapper","top","locations","glow","scanLine","backgroundColor","corner","cornerTopLeft","cornerTopRight","cornerBottomLeft","cornerBottomRight","memo","create","width","height","position","justifyContent","alignItems","borderRadius","borderWidth","overflow","shadowOffset","shadowOpacity","shadowRadius","left","borderTopWidth","borderLeftWidth","borderTopLeftRadius","right","borderRightWidth","borderTopRightRadius","bottom","borderBottomWidth","borderBottomLeftRadius","borderBottomRightRadius"],"sourceRoot":"../../../../../../../src","sources":["components/Auth/One/QrLogin/components/qr-scanner-frame.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,OAAOC,cAAc,MAAM,8BAA8B;AACzD,OAAOC,QAAQ,IACbC,cAAc,EACdC,gBAAgB,EAChBC,UAAU,EACVC,YAAY,EACZC,UAAU,EACVC,MAAM,QACD,yBAAyB;AAChC,SAASC,aAAa,EAAEC,KAAK,EAAEC,aAAa,QAAQ,2BAA2B;AAE/E,SAASC,QAAQ,QAAQ,+BAAsB;AAC/C,SAASC,MAAM,QAAQ,sCAAmC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE3D,MAAMC,YAAY,GAAGT,aAAa,CAAC,GAAG,CAAC;AACvC,MAAMU,WAAW,GAAGR,aAAa,CAAC,CAAC,CAAC;AACpC,MAAMS,gBAAgB,GAAGT,aAAa,CAAC,EAAE,CAAC;AAC1C,MAAMU,aAAa,GAAGH,YAAY,GAAGE,gBAAgB,GAAG,CAAC;AACzD,MAAME,WAAW,GAAGX,aAAa,CAAC,EAAE,CAAC;AAErC,MAAMY,cAAwB,GAAGA,CAAA,KAAM;EACrC,MAAM;IAAEC;EAAM,CAAC,GAAGZ,QAAQ,CAAC,CAAC;EAC5B,MAAM;IAAEa;EAAO,CAAC,GAAGD,KAAK;EAExB,MAAME,UAAU,GAAGvB,cAAc,CAAC,CAAC,CAAC;EAEpCL,KAAK,CAAC6B,SAAS,CAAC,MAAM;IACpBD,UAAU,CAACE,KAAK,GAAGvB,UAAU,CAC3BC,YAAY,CACVC,UAAU,CAACc,aAAa,EAAE;MACxBQ,QAAQ,EAAE,IAAI;MACdC,MAAM,EAAEtB,MAAM,CAACuB,KAAK,CAACvB,MAAM,CAACwB,IAAI;IAClC,CAAC,CAAC,EACFzB,UAAU,CAAC,CAAC,EAAE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sBAAsB,EAAEnE,aAAa,CAAC,EAAE;EAC1C,CAAC;EAED4C,iBAAiB,EAAE;IACjBqB,MAAM,EAAE,CAAC;IACTH,KAAK,EAAE,CAAC;IACRI,iBAAiB,EAAE,CAAC;IACpBH,gBAAgB,EAAE,CAAC;IACnBK,uBAAuB,EAAEpE,aAAa,CAAC,EAAE;EAC3C;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, Text, StyleSheet } from 'react-native';
|
|
5
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
6
|
+
import { verticalScale } from 'react-native-size-matters';
|
|
7
|
+
import { useTheme } from "../../../../../theme/index.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
const QrScannerHeader = ({
|
|
10
|
+
title = 'Scan QR Code',
|
|
11
|
+
description = 'Hold steady to scan'
|
|
12
|
+
}) => {
|
|
13
|
+
const {
|
|
14
|
+
theme
|
|
15
|
+
} = useTheme();
|
|
16
|
+
const {
|
|
17
|
+
colors
|
|
18
|
+
} = theme;
|
|
19
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
20
|
+
style: styles.container,
|
|
21
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
22
|
+
style: [styles.title, {
|
|
23
|
+
color: colors.white
|
|
24
|
+
}],
|
|
25
|
+
children: title
|
|
26
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
27
|
+
style: [styles.description, {
|
|
28
|
+
color: colors.white
|
|
29
|
+
}],
|
|
30
|
+
children: description
|
|
31
|
+
})]
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
export default QrScannerHeader;
|
|
35
|
+
const styles = StyleSheet.create({
|
|
36
|
+
container: {
|
|
37
|
+
alignItems: 'center',
|
|
38
|
+
marginTop: verticalScale(10)
|
|
39
|
+
},
|
|
40
|
+
title: {
|
|
41
|
+
fontSize: RFValue(15),
|
|
42
|
+
fontWeight: '700',
|
|
43
|
+
marginBottom: verticalScale(6)
|
|
44
|
+
},
|
|
45
|
+
description: {
|
|
46
|
+
fontSize: RFValue(11),
|
|
47
|
+
opacity: 0.8
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
//# sourceMappingURL=qr-scanner-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Text","StyleSheet","RFValue","verticalScale","useTheme","jsx","_jsx","jsxs","_jsxs","QrScannerHeader","title","description","theme","colors","style","styles","container","children","color","white","create","alignItems","marginTop","fontSize","fontWeight","marginBottom","opacity"],"sourceRoot":"../../../../../../../src","sources":["components/Auth/One/QrLogin/components/qr-scanner-header.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AACrD,SAASC,OAAO,QAAQ,kCAAkC;AAC1D,SAASC,aAAa,QAAQ,2BAA2B;AAEzD,SAASC,QAAQ,QAAQ,+BAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAOhD,MAAMC,eAAgC,GAAGA,CAAC;EACxCC,KAAK,GAAG,cAAc;EACtBC,WAAW,GAAG;AAChB,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAM,CAAC,GAAGR,QAAQ,CAAC,CAAC;EAC5B,MAAM;IAAES;EAAO,CAAC,GAAGD,KAAK;EAExB,oBACEJ,KAAA,CAACT,IAAI;IAACe,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,gBAC5BX,IAAA,CAACN,IAAI;MACHc,KAAK,EAAE,CACLC,MAAM,CAACL,KAAK,EACZ;QACEQ,KAAK,EAAEL,MAAM,CAACM;MAChB,CAAC,CACD;MAAAF,QAAA,EAEDP;IAAK,CACF,CAAC,eAEPJ,IAAA,CAACN,IAAI;MACHc,KAAK,EAAE,CACLC,MAAM,CAACJ,WAAW,EAClB;QACEO,KAAK,EAAEL,MAAM,CAACM;MAChB,CAAC,CACD;MAAAF,QAAA,EAEDN;IAAW,CACR,CAAC;EAAA,CACH,CAAC;AAEX,CAAC;AAED,eAAeF,eAAe;AAE9B,MAAMM,MAAM,GAAGd,UAAU,CAACmB,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,UAAU,EAAE,QAAQ;IACpBC,SAAS,EAAEnB,aAAa,CAAC,EAAE;EAC7B,CAAC;EAEDO,KAAK,EAAE;IACLa,QAAQ,EAAErB,OAAO,CAAC,EAAE,CAAC;IACrBsB,UAAU,EAAE,KAAK;IACjBC,YAAY,EAAEtB,aAAa,CAAC,CAAC;EAC/B,CAAC;EAEDQ,WAAW,EAAE;IACXY,QAAQ,EAAErB,OAAO,CAAC,EAAE,CAAC;IACrBwB,OAAO,EAAE;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet, ActivityIndicator } from 'react-native';
|
|
5
|
+
import { Camera as CameraIcon, QrCode } from 'lucide-react-native';
|
|
6
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
7
|
+
import { moderateScale, scale, verticalScale } from 'react-native-size-matters';
|
|
8
|
+
import { Button } from "../../../../Button/index.js";
|
|
9
|
+
import { Text } from "../../../../Text/index.js";
|
|
10
|
+
import { useTheme } from "../../../../../theme/index.js";
|
|
11
|
+
import { toRgba } from "../../../../../theme/utils/toRgba.js";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
const QrScannerIntro = ({
|
|
14
|
+
title = 'Scan QR to Sign In',
|
|
15
|
+
description = 'Open your TV app, go to Settings → Scan QR and point the code at your camera',
|
|
16
|
+
scanButtonText = 'Open Scanner',
|
|
17
|
+
loading = false,
|
|
18
|
+
onPress
|
|
19
|
+
}) => {
|
|
20
|
+
const {
|
|
21
|
+
theme
|
|
22
|
+
} = useTheme();
|
|
23
|
+
const {
|
|
24
|
+
colors
|
|
25
|
+
} = theme;
|
|
26
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
27
|
+
style: styles.container,
|
|
28
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
29
|
+
style: [styles.iconWrapper, {
|
|
30
|
+
backgroundColor: toRgba(colors.primary, 0.1)
|
|
31
|
+
}],
|
|
32
|
+
children: /*#__PURE__*/_jsx(CameraIcon, {
|
|
33
|
+
size: scale(34),
|
|
34
|
+
color: colors.primary,
|
|
35
|
+
strokeWidth: 2.4
|
|
36
|
+
})
|
|
37
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
38
|
+
style: [styles.title, {
|
|
39
|
+
color: colors.textPrimary
|
|
40
|
+
}],
|
|
41
|
+
children: title
|
|
42
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
43
|
+
style: [styles.description, {
|
|
44
|
+
color: toRgba(colors.textPrimary, 0.65)
|
|
45
|
+
}],
|
|
46
|
+
children: description
|
|
47
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
48
|
+
style: [styles.heroCard, {
|
|
49
|
+
backgroundColor: colors.surface,
|
|
50
|
+
borderColor: toRgba(colors.primary, 0.1),
|
|
51
|
+
shadowColor: colors.primary
|
|
52
|
+
}],
|
|
53
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
54
|
+
style: [styles.scannerBox, {
|
|
55
|
+
borderColor: toRgba(colors.primary, 0.2)
|
|
56
|
+
}],
|
|
57
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
58
|
+
style: [styles.corner, styles.cornerTL, {
|
|
59
|
+
borderColor: colors.primary
|
|
60
|
+
}]
|
|
61
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
62
|
+
style: [styles.corner, styles.cornerTR, {
|
|
63
|
+
borderColor: colors.primary
|
|
64
|
+
}]
|
|
65
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
66
|
+
style: [styles.corner, styles.cornerBL, {
|
|
67
|
+
borderColor: colors.primary
|
|
68
|
+
}]
|
|
69
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
70
|
+
style: [styles.corner, styles.cornerBR, {
|
|
71
|
+
borderColor: colors.primary
|
|
72
|
+
}]
|
|
73
|
+
}), /*#__PURE__*/_jsx(QrCode, {
|
|
74
|
+
size: moderateScale(190),
|
|
75
|
+
color: toRgba(colors.primary, 0.85),
|
|
76
|
+
strokeWidth: 1.6
|
|
77
|
+
})]
|
|
78
|
+
})
|
|
79
|
+
}), loading ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
80
|
+
color: colors.primary,
|
|
81
|
+
style: styles.loader
|
|
82
|
+
}) : /*#__PURE__*/_jsx(Button.Primary, {
|
|
83
|
+
title: scanButtonText,
|
|
84
|
+
onPress: onPress,
|
|
85
|
+
disabled: loading,
|
|
86
|
+
leftIcon: /*#__PURE__*/_jsx(CameraIcon, {
|
|
87
|
+
size: scale(14),
|
|
88
|
+
color: colors.buttonText,
|
|
89
|
+
strokeWidth: 2.3
|
|
90
|
+
}),
|
|
91
|
+
containerStyle: styles.button,
|
|
92
|
+
titleStyle: styles.buttonText
|
|
93
|
+
})]
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
export default QrScannerIntro;
|
|
97
|
+
const styles = StyleSheet.create({
|
|
98
|
+
container: {
|
|
99
|
+
flex: 1,
|
|
100
|
+
justifyContent: 'center',
|
|
101
|
+
alignItems: 'center',
|
|
102
|
+
paddingHorizontal: '6%',
|
|
103
|
+
paddingBottom: '22%'
|
|
104
|
+
},
|
|
105
|
+
iconWrapper: {
|
|
106
|
+
width: moderateScale(72),
|
|
107
|
+
height: moderateScale(72),
|
|
108
|
+
borderRadius: 999,
|
|
109
|
+
justifyContent: 'center',
|
|
110
|
+
alignItems: 'center',
|
|
111
|
+
marginBottom: verticalScale(16)
|
|
112
|
+
},
|
|
113
|
+
title: {
|
|
114
|
+
fontSize: RFValue(20),
|
|
115
|
+
lineHeight: RFValue(26),
|
|
116
|
+
fontWeight: '700',
|
|
117
|
+
letterSpacing: 0.3,
|
|
118
|
+
textAlign: 'center',
|
|
119
|
+
marginBottom: verticalScale(8)
|
|
120
|
+
},
|
|
121
|
+
description: {
|
|
122
|
+
fontSize: RFValue(12),
|
|
123
|
+
lineHeight: RFValue(18),
|
|
124
|
+
textAlign: 'center',
|
|
125
|
+
width: '82%',
|
|
126
|
+
marginBottom: verticalScale(24)
|
|
127
|
+
},
|
|
128
|
+
heroCard: {
|
|
129
|
+
width: '72%',
|
|
130
|
+
alignItems: 'center',
|
|
131
|
+
justifyContent: 'center',
|
|
132
|
+
borderWidth: 1,
|
|
133
|
+
borderRadius: moderateScale(24),
|
|
134
|
+
padding: scale(16),
|
|
135
|
+
marginBottom: verticalScale(28),
|
|
136
|
+
shadowOffset: {
|
|
137
|
+
width: 0,
|
|
138
|
+
height: 8
|
|
139
|
+
},
|
|
140
|
+
shadowOpacity: 0.07,
|
|
141
|
+
shadowRadius: 16,
|
|
142
|
+
elevation: 4
|
|
143
|
+
},
|
|
144
|
+
scannerBox: {
|
|
145
|
+
width: '100%',
|
|
146
|
+
aspectRatio: 1,
|
|
147
|
+
borderRadius: moderateScale(18),
|
|
148
|
+
borderWidth: 1.5,
|
|
149
|
+
justifyContent: 'center',
|
|
150
|
+
alignItems: 'center',
|
|
151
|
+
backgroundColor: 'transparent'
|
|
152
|
+
},
|
|
153
|
+
corner: {
|
|
154
|
+
position: 'absolute',
|
|
155
|
+
width: '20%',
|
|
156
|
+
aspectRatio: 1
|
|
157
|
+
},
|
|
158
|
+
cornerTL: {
|
|
159
|
+
top: 0,
|
|
160
|
+
left: 0,
|
|
161
|
+
borderTopWidth: 3,
|
|
162
|
+
borderLeftWidth: 3,
|
|
163
|
+
borderTopLeftRadius: moderateScale(16)
|
|
164
|
+
},
|
|
165
|
+
cornerTR: {
|
|
166
|
+
top: 0,
|
|
167
|
+
right: 0,
|
|
168
|
+
borderTopWidth: 3,
|
|
169
|
+
borderRightWidth: 3,
|
|
170
|
+
borderTopRightRadius: moderateScale(16)
|
|
171
|
+
},
|
|
172
|
+
cornerBL: {
|
|
173
|
+
bottom: 0,
|
|
174
|
+
left: 0,
|
|
175
|
+
borderBottomWidth: 3,
|
|
176
|
+
borderLeftWidth: 3,
|
|
177
|
+
borderBottomLeftRadius: moderateScale(16)
|
|
178
|
+
},
|
|
179
|
+
cornerBR: {
|
|
180
|
+
bottom: 0,
|
|
181
|
+
right: 0,
|
|
182
|
+
borderBottomWidth: 3,
|
|
183
|
+
borderRightWidth: 3,
|
|
184
|
+
borderBottomRightRadius: moderateScale(16)
|
|
185
|
+
},
|
|
186
|
+
button: {
|
|
187
|
+
width: '55%',
|
|
188
|
+
alignSelf: 'center',
|
|
189
|
+
minHeight: verticalScale(38),
|
|
190
|
+
paddingVertical: verticalScale(8)
|
|
191
|
+
},
|
|
192
|
+
buttonText: {
|
|
193
|
+
fontSize: RFValue(12)
|
|
194
|
+
},
|
|
195
|
+
loader: {
|
|
196
|
+
marginTop: verticalScale(8)
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
//# sourceMappingURL=qr-scanner-intro.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","ActivityIndicator","Camera","CameraIcon","QrCode","RFValue","moderateScale","scale","verticalScale","Button","Text","useTheme","toRgba","jsx","_jsx","jsxs","_jsxs","QrScannerIntro","title","description","scanButtonText","loading","onPress","theme","colors","style","styles","container","children","iconWrapper","backgroundColor","primary","size","color","strokeWidth","textPrimary","heroCard","surface","borderColor","shadowColor","scannerBox","corner","cornerTL","cornerTR","cornerBL","cornerBR","loader","Primary","disabled","leftIcon","buttonText","containerStyle","button","titleStyle","create","flex","justifyContent","alignItems","paddingHorizontal","paddingBottom","width","height","borderRadius","marginBottom","fontSize","lineHeight","fontWeight","letterSpacing","textAlign","borderWidth","padding","shadowOffset","shadowOpacity","shadowRadius","elevation","aspectRatio","position","top","left","borderTopWidth","borderLeftWidth","borderTopLeftRadius","right","borderRightWidth","borderTopRightRadius","bottom","borderBottomWidth","borderBottomLeftRadius","borderBottomRightRadius","alignSelf","minHeight","paddingVertical","marginTop"],"sourceRoot":"../../../../../../../src","sources":["components/Auth/One/QrLogin/components/qr-scanner-intro.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,EAAEC,iBAAiB,QAAQ,cAAc;AAClE,SAASC,MAAM,IAAIC,UAAU,EAAEC,MAAM,QAAQ,qBAAqB;AAClE,SAASC,OAAO,QAAQ,kCAAkC;AAC1D,SAASC,aAAa,EAAEC,KAAK,EAAEC,aAAa,QAAQ,2BAA2B;AAE/E,SAASC,MAAM,QAAQ,6BAAoB;AAC3C,SAASC,IAAI,QAAQ,2BAAkB;AACvC,SAASC,QAAQ,QAAQ,+BAAsB;AAC/C,SAASC,MAAM,QAAQ,sCAAmC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAU3D,MAAMC,cAA+B,GAAGA,CAAC;EACvCC,KAAK,GAAG,oBAAoB;EAC5BC,WAAW,GAAG,8EAA8E;EAC5FC,cAAc,GAAG,cAAc;EAC/BC,OAAO,GAAG,KAAK;EACfC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAM,CAAC,GAAGZ,QAAQ,CAAC,CAAC;EAC5B,MAAM;IAAEa;EAAO,CAAC,GAAGD,KAAK;EAExB,oBACEP,KAAA,CAACjB,IAAI;IAAC0B,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,gBAC5Bd,IAAA,CAACf,IAAI;MACH0B,KAAK,EAAE,CACLC,MAAM,CAACG,WAAW,EAClB;QACEC,eAAe,EAAElB,MAAM,CAACY,MAAM,CAACO,OAAO,EAAE,GAAG;MAC7C,CAAC,CACD;MAAAH,QAAA,eAEFd,IA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