@zezosoft/zezo-ott-react-native-ui-kit 1.1.2 → 1.1.5

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.
Files changed (667) hide show
  1. package/lib/module/components/Auth/AuthProvider/AuthProvider.js +5 -2
  2. package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
  3. package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js +232 -0
  4. package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js.map +1 -0
  5. package/lib/module/components/Auth/One/Login/LoginWithEmail.js +324 -0
  6. package/lib/module/components/Auth/One/Login/LoginWithEmail.js.map +1 -0
  7. package/lib/module/components/Auth/{Login → One/Login}/LoginWithPhone.js +13 -11
  8. package/lib/module/components/Auth/One/Login/LoginWithPhone.js.map +1 -0
  9. package/lib/module/components/Auth/One/OTP/OTP.js +301 -0
  10. package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -0
  11. package/lib/module/components/Auth/One/QrLogin/QrLogin.js +479 -0
  12. package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -0
  13. package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js +295 -0
  14. package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js.map +1 -0
  15. package/lib/module/components/Auth/One/SignUp/SignUp.js +362 -0
  16. package/lib/module/components/Auth/One/SignUp/SignUp.js.map +1 -0
  17. package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.js +8 -5
  18. package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -0
  19. package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js +80 -0
  20. package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
  21. package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.js +1 -1
  22. package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
  23. package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.js +42 -21
  24. package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
  25. package/lib/module/components/Auth/One/index.js +25 -0
  26. package/lib/module/components/Auth/One/index.js.map +1 -0
  27. package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js +93 -0
  28. package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js.map +1 -0
  29. package/lib/module/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.js +55 -28
  30. package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js.map +1 -0
  31. package/lib/module/components/Auth/Two/Login/AuthLoginShell.js +138 -0
  32. package/lib/module/components/Auth/Two/Login/AuthLoginShell.js.map +1 -0
  33. package/lib/module/components/Auth/Two/Login/LoginWithEmail.js +226 -0
  34. package/lib/module/components/Auth/Two/Login/LoginWithEmail.js.map +1 -0
  35. package/lib/module/components/Auth/Two/Login/LoginWithPhone.js +143 -0
  36. package/lib/module/components/Auth/Two/Login/LoginWithPhone.js.map +1 -0
  37. package/lib/module/components/Auth/{OTP → Two/OTP}/OTP.js +93 -63
  38. package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -0
  39. package/lib/module/components/Auth/Two/QrLogin/QrLogin.js +479 -0
  40. package/lib/module/components/Auth/Two/QrLogin/QrLogin.js.map +1 -0
  41. package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js +295 -0
  42. package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js.map +1 -0
  43. package/lib/module/components/Auth/Two/SignUp/SignUp.js +379 -0
  44. package/lib/module/components/Auth/Two/SignUp/SignUp.js.map +1 -0
  45. package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js +141 -0
  46. package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js.map +1 -0
  47. package/lib/module/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.js +1 -1
  48. package/lib/module/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
  49. package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js +63 -0
  50. package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
  51. package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js +157 -0
  52. package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
  53. package/lib/module/components/Auth/Two/index.js +29 -0
  54. package/lib/module/components/Auth/Two/index.js.map +1 -0
  55. package/lib/module/components/Auth/index.js +7 -22
  56. package/lib/module/components/Auth/index.js.map +1 -1
  57. package/lib/module/components/BackgroundLayout/BackgroundLayout.js +7 -3
  58. package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
  59. package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js +52 -0
  60. package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js.map +1 -0
  61. package/lib/module/components/BottomSheet/BottomSheet.js +7 -3
  62. package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
  63. package/lib/module/components/BottomSheet/BottomSheetOne.js +170 -0
  64. package/lib/module/components/BottomSheet/BottomSheetOne.js.map +1 -0
  65. package/lib/module/components/BottomSheet/index.js +1 -0
  66. package/lib/module/components/BottomSheet/index.js.map +1 -1
  67. package/lib/module/components/Button/PrimaryBtn.js +16 -6
  68. package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
  69. package/lib/module/components/Content/Card/Category/Category.js +88 -13
  70. package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
  71. package/lib/module/components/Content/Card/Category/CategroyTwo.js +287 -0
  72. package/lib/module/components/Content/Card/Category/CategroyTwo.js.map +1 -0
  73. package/lib/module/components/Content/Card/NowWatching/NowWatching.js +237 -108
  74. package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
  75. package/lib/module/components/Content/Card/Sliders/Styles/One.js +191 -132
  76. package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
  77. package/lib/module/components/Content/Card/Sliders/Styles/Three.js +714 -0
  78. package/lib/module/components/Content/Card/Sliders/Styles/Three.js.map +1 -0
  79. package/lib/module/components/Content/Card/Sliders/Styles/Two.js +139 -92
  80. package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
  81. package/lib/module/components/Content/Card/Sliders/index.js +3 -1
  82. package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
  83. package/lib/module/components/Content/Card/Styles/Five.js +132 -48
  84. package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
  85. package/lib/module/components/Content/Card/Styles/Four.js +127 -59
  86. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  87. package/lib/module/components/Content/Card/Styles/One.js +126 -50
  88. package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
  89. package/lib/module/components/Content/Card/Styles/RotateInOut.js +139 -53
  90. package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
  91. package/lib/module/components/Content/Card/Styles/Six.js +207 -115
  92. package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
  93. package/lib/module/components/Content/Card/Styles/Three.js +119 -94
  94. package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
  95. package/lib/module/components/Content/Card/Styles/TopTen.js +187 -171
  96. package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
  97. package/lib/module/components/Content/Card/Styles/Two.js +145 -64
  98. package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
  99. package/lib/module/components/Content/Card/components/AdsPoster.js +162 -0
  100. package/lib/module/components/Content/Card/components/AdsPoster.js.map +1 -0
  101. package/lib/module/components/Content/Card/components/CardPoster.js +217 -135
  102. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  103. package/lib/module/components/Content/Card/components/NavigateToMore.js +26 -2
  104. package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
  105. package/lib/module/components/Content/Card/components/index.js +4 -0
  106. package/lib/module/components/Content/Card/components/index.js.map +1 -0
  107. package/lib/module/components/Content/Content.js +90 -33
  108. package/lib/module/components/Content/Content.js.map +1 -1
  109. package/lib/module/components/Content/Sections.js +41 -11
  110. package/lib/module/components/Content/Sections.js.map +1 -1
  111. package/lib/module/components/Content/types.js +4 -0
  112. package/lib/module/components/Content/types.js.map +1 -0
  113. package/lib/module/components/ContentView/MoreContentList.js +1 -0
  114. package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
  115. package/lib/module/components/ContentView/{ContentView.js → One/ContentViewOne.js} +6 -5
  116. package/lib/module/components/ContentView/One/ContentViewOne.js.map +1 -0
  117. package/lib/module/components/ContentView/{components → One/components}/AboutSection.js +2 -2
  118. package/lib/module/components/ContentView/One/components/AboutSection.js.map +1 -0
  119. package/lib/module/components/ContentView/{components → One/components}/CastCard.js +2 -2
  120. package/lib/module/components/ContentView/One/components/CastCard.js.map +1 -0
  121. package/lib/module/components/ContentView/{components → One/components}/EpisodeCard.js +5 -6
  122. package/lib/module/components/ContentView/One/components/EpisodeCard.js.map +1 -0
  123. package/lib/module/components/ContentView/{components → One/components}/GenreTags.js +2 -2
  124. package/lib/module/components/ContentView/One/components/GenreTags.js.map +1 -0
  125. package/lib/module/components/ContentView/{components → One/components}/HeroBanner.js +45 -44
  126. package/lib/module/components/ContentView/One/components/HeroBanner.js.map +1 -0
  127. package/lib/module/components/ContentView/{components → One/components}/MiniInfo.js +50 -5
  128. package/lib/module/components/ContentView/One/components/MiniInfo.js.map +1 -0
  129. package/lib/module/components/ContentView/{components → One/components}/PlayButton.js +1 -1
  130. package/lib/module/components/ContentView/One/components/PlayButton.js.map +1 -0
  131. package/lib/module/components/ContentView/{components → One/components}/Title.js +1 -1
  132. package/lib/module/components/ContentView/One/components/Title.js.map +1 -0
  133. package/lib/module/components/ContentView/{components → One/components}/TrailerButton.js +2 -2
  134. package/lib/module/components/ContentView/One/components/TrailerButton.js.map +1 -0
  135. package/lib/module/components/ContentView/Two/ContentViewTwo.js +220 -0
  136. package/lib/module/components/ContentView/Two/ContentViewTwo.js.map +1 -0
  137. package/lib/module/components/ContentView/Two/components/AboutSection.js +150 -0
  138. package/lib/module/components/ContentView/Two/components/AboutSection.js.map +1 -0
  139. package/lib/module/components/ContentView/Two/components/Details.js +156 -0
  140. package/lib/module/components/ContentView/Two/components/Details.js.map +1 -0
  141. package/lib/module/components/ContentView/Two/components/EpisodeCard.js +425 -0
  142. package/lib/module/components/ContentView/Two/components/EpisodeCard.js.map +1 -0
  143. package/lib/module/components/ContentView/Two/components/GenreTags.js +86 -0
  144. package/lib/module/components/ContentView/Two/components/GenreTags.js.map +1 -0
  145. package/lib/module/components/ContentView/Two/components/HeroBanner.js +339 -0
  146. package/lib/module/components/ContentView/Two/components/HeroBanner.js.map +1 -0
  147. package/lib/module/components/ContentView/Two/components/LikeShareActions.js +88 -0
  148. package/lib/module/components/ContentView/Two/components/LikeShareActions.js.map +1 -0
  149. package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js +235 -0
  150. package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js.map +1 -0
  151. package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js +120 -0
  152. package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js.map +1 -0
  153. package/lib/module/components/ContentView/Two/components/SectionTabs.js +112 -0
  154. package/lib/module/components/ContentView/Two/components/SectionTabs.js.map +1 -0
  155. package/lib/module/components/ContentView/Two/components/Title.js +146 -0
  156. package/lib/module/components/ContentView/Two/components/Title.js.map +1 -0
  157. package/lib/module/components/ContentView/Two/components/index.js +18 -0
  158. package/lib/module/components/ContentView/Two/components/index.js.map +1 -0
  159. package/lib/module/components/ContentView/index.js +6 -1
  160. package/lib/module/components/ContentView/index.js.map +1 -1
  161. package/lib/module/components/Headers/Four.js +68 -0
  162. package/lib/module/components/Headers/Four.js.map +1 -0
  163. package/lib/module/components/Headers/Three.js +75 -24
  164. package/lib/module/components/Headers/Three.js.map +1 -1
  165. package/lib/module/components/Headers/index.js +3 -1
  166. package/lib/module/components/Headers/index.js.map +1 -1
  167. package/lib/module/components/Input/Input.js +5 -1
  168. package/lib/module/components/Input/Input.js.map +1 -1
  169. package/lib/module/components/Input/InputThree.js +157 -0
  170. package/lib/module/components/Input/InputThree.js.map +1 -0
  171. package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
  172. package/lib/module/components/Input/PhoneNumberInputTwo.js +316 -0
  173. package/lib/module/components/Input/PhoneNumberInputTwo.js.map +1 -0
  174. package/lib/module/components/Loader/Loader.js +14 -6
  175. package/lib/module/components/Loader/Loader.js.map +1 -1
  176. package/lib/module/components/Logo/Logo.js +42 -17
  177. package/lib/module/components/Logo/Logo.js.map +1 -1
  178. package/lib/module/components/NewRelease/NewReleaseSheet.js +227 -0
  179. package/lib/module/components/NewRelease/NewReleaseSheet.js.map +1 -0
  180. package/lib/module/components/NewRelease/index.js +4 -0
  181. package/lib/module/components/NewRelease/index.js.map +1 -0
  182. package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +92 -17
  183. package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -1
  184. package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +65 -2
  185. package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -1
  186. package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +2 -1
  187. package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -1
  188. package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +4 -2
  189. package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -1
  190. package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +80 -46
  191. package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
  192. package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +78 -29
  193. package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
  194. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +21 -34
  195. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -1
  196. package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js +58 -0
  197. package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js.map +1 -0
  198. package/lib/module/components/Reels/ReelsSeries/utils/quality.js +44 -0
  199. package/lib/module/components/Reels/ReelsSeries/utils/quality.js.map +1 -0
  200. package/lib/module/components/Reels/index.js +1 -0
  201. package/lib/module/components/Reels/index.js.map +1 -1
  202. package/lib/module/components/Search/One.js +7 -4
  203. package/lib/module/components/Search/One.js.map +1 -1
  204. package/lib/module/components/Search/components/SearchCard.js +59 -7
  205. package/lib/module/components/Search/components/SearchCard.js.map +1 -1
  206. package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +2 -1
  207. package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
  208. package/lib/module/components/User/WatchHistory/WatchHistory.js +1 -0
  209. package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
  210. package/lib/module/components/User/WatchLater/WatchLater.js +1 -0
  211. package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
  212. package/lib/module/components/common/AppStatusBar.js +2 -1
  213. package/lib/module/components/common/AppStatusBar.js.map +1 -1
  214. package/lib/module/components/index.js +1 -0
  215. package/lib/module/components/index.js.map +1 -1
  216. package/lib/module/constants/dummySections.js +47 -5
  217. package/lib/module/constants/dummySections.js.map +1 -1
  218. package/lib/module/hooks/Images/index.js +5 -0
  219. package/lib/module/hooks/Images/index.js.map +1 -0
  220. package/lib/module/hooks/Images/useImageLoader.js +168 -0
  221. package/lib/module/hooks/Images/useImageLoader.js.map +1 -0
  222. package/lib/module/hooks/Images/useImageValidation.js +36 -0
  223. package/lib/module/hooks/Images/useImageValidation.js.map +1 -0
  224. package/lib/module/hooks/index.js +3 -0
  225. package/lib/module/hooks/index.js.map +1 -1
  226. package/lib/module/hooks/useAdTracking.js +270 -0
  227. package/lib/module/hooks/useAdTracking.js.map +1 -0
  228. package/lib/module/hooks/useCards.js +164 -0
  229. package/lib/module/hooks/useCards.js.map +1 -0
  230. package/lib/module/hooks/usePaginatedSection.js +11 -6
  231. package/lib/module/hooks/usePaginatedSection.js.map +1 -1
  232. package/lib/module/hooks/useSplashCache.js +78 -60
  233. package/lib/module/hooks/useSplashCache.js.map +1 -1
  234. package/lib/module/theme/ThemeProvider.js +14 -2
  235. package/lib/module/theme/ThemeProvider.js.map +1 -1
  236. package/lib/module/theme/hook/index.js +0 -1
  237. package/lib/module/theme/hook/index.js.map +1 -1
  238. package/lib/module/theme/hook/useInternalTheme.js +21 -7
  239. package/lib/module/theme/hook/useInternalTheme.js.map +1 -1
  240. package/lib/module/theme/themes.js +2 -0
  241. package/lib/module/theme/themes.js.map +1 -1
  242. package/lib/module/theme/utils/validateColor.js +84 -0
  243. package/lib/module/theme/utils/validateColor.js.map +1 -0
  244. package/lib/module/utils/colorUtils.js +68 -0
  245. package/lib/module/utils/colorUtils.js.map +1 -0
  246. package/lib/typescript/src/components/Auth/{ForgotPassword → One/ForgotPassword}/ForgotPassword.d.ts +1 -1
  247. package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts.map +1 -0
  248. package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithEmail.d.ts +1 -1
  249. package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts.map +1 -0
  250. package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithPhone.d.ts +1 -1
  251. package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts.map +1 -0
  252. package/lib/typescript/src/components/Auth/{OTP → One/OTP}/OTP.d.ts +1 -1
  253. package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -0
  254. package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/QrLogin.d.ts +3 -1
  255. package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts.map +1 -0
  256. package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.d.ts +1 -1
  257. package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts.map +1 -0
  258. package/lib/typescript/src/components/Auth/{SignUp → One/SignUp}/SignUp.d.ts +1 -1
  259. package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts.map +1 -0
  260. package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.d.ts +1 -1
  261. package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts.map +1 -0
  262. package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts +14 -0
  263. package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
  264. package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
  265. package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
  266. package/lib/typescript/src/components/Auth/One/index.d.ts +234 -0
  267. package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -0
  268. package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts +16 -0
  269. package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts.map +1 -0
  270. package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts +53 -0
  271. package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts.map +1 -0
  272. package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts +17 -0
  273. package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts.map +1 -0
  274. package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts +52 -0
  275. package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts.map +1 -0
  276. package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts +37 -0
  277. package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts.map +1 -0
  278. package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts +63 -0
  279. package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -0
  280. package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts +19 -0
  281. package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts.map +1 -0
  282. package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts +14 -0
  283. package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts.map +1 -0
  284. package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts +67 -0
  285. package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts.map +1 -0
  286. package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts +35 -0
  287. package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts.map +1 -0
  288. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
  289. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
  290. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
  291. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts +20 -0
  292. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
  293. package/lib/typescript/src/components/Auth/Two/index.d.ts +220 -0
  294. package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -0
  295. package/lib/typescript/src/components/Auth/index.d.ts +447 -232
  296. package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
  297. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
  298. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts +7 -0
  299. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts.map +1 -0
  300. package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
  301. package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts +19 -0
  302. package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts.map +1 -0
  303. package/lib/typescript/src/components/BottomSheet/index.d.ts +2 -0
  304. package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -1
  305. package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +1 -0
  306. package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
  307. package/lib/typescript/src/components/Button/index.d.ts +1 -0
  308. package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
  309. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
  310. package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts +26 -0
  311. package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts.map +1 -0
  312. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
  313. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
  314. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts +19 -0
  315. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts.map +1 -0
  316. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
  317. package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +11 -0
  318. package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts.map +1 -1
  319. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +13 -1
  320. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
  321. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +13 -1
  322. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  323. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +15 -3
  324. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
  325. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +13 -1
  326. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
  327. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +1 -0
  328. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
  329. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +13 -5
  330. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
  331. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +1 -0
  332. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
  333. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +13 -1
  334. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
  335. package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts +26 -0
  336. package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts.map +1 -0
  337. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +4 -1
  338. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
  339. package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts +3 -0
  340. package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
  341. package/lib/typescript/src/components/Content/Card/components/index.d.ts +2 -0
  342. package/lib/typescript/src/components/Content/Card/components/index.d.ts.map +1 -0
  343. package/lib/typescript/src/components/Content/Card/index.d.ts +76 -6
  344. package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -1
  345. package/lib/typescript/src/components/Content/Content.d.ts +2 -51
  346. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  347. package/lib/typescript/src/components/Content/Sections.d.ts +2 -39
  348. package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
  349. package/lib/typescript/src/components/Content/types.d.ts +149 -0
  350. package/lib/typescript/src/components/Content/types.d.ts.map +1 -0
  351. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
  352. package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts +15 -0
  353. package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts.map +1 -0
  354. package/lib/typescript/src/components/ContentView/{components → One/components}/AboutSection.d.ts +1 -1
  355. package/lib/typescript/src/components/ContentView/One/components/AboutSection.d.ts.map +1 -0
  356. package/lib/typescript/src/components/ContentView/{components → One/components}/CastCard.d.ts +1 -1
  357. package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts.map +1 -0
  358. package/lib/typescript/src/components/ContentView/{components → One/components}/EpisodeCard.d.ts +1 -1
  359. package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts.map +1 -0
  360. package/lib/typescript/src/components/ContentView/{components → One/components}/GenreTags.d.ts +1 -1
  361. package/lib/typescript/src/components/ContentView/One/components/GenreTags.d.ts.map +1 -0
  362. package/lib/typescript/src/components/ContentView/{components → One/components}/HeroBanner.d.ts +1 -1
  363. package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts.map +1 -0
  364. package/lib/typescript/src/components/ContentView/{components → One/components}/MiniInfo.d.ts +1 -1
  365. package/lib/typescript/src/components/ContentView/One/components/MiniInfo.d.ts.map +1 -0
  366. package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts.map +1 -0
  367. package/lib/typescript/src/components/ContentView/{components → One/components}/Title.d.ts +1 -1
  368. package/lib/typescript/src/components/ContentView/One/components/Title.d.ts.map +1 -0
  369. package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts.map +1 -0
  370. package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts +18 -0
  371. package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts.map +1 -0
  372. package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts +27 -0
  373. package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts.map +1 -0
  374. package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts +15 -0
  375. package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts.map +1 -0
  376. package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts +23 -0
  377. package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts.map +1 -0
  378. package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts +22 -0
  379. package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts.map +1 -0
  380. package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts +8 -0
  381. package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts.map +1 -0
  382. package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts +25 -0
  383. package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts.map +1 -0
  384. package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts +26 -0
  385. package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts.map +1 -0
  386. package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts +21 -0
  387. package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts.map +1 -0
  388. package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts +28 -0
  389. package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts.map +1 -0
  390. package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts +34 -0
  391. package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts.map +1 -0
  392. package/lib/typescript/src/components/ContentView/Two/components/index.d.ts +15 -0
  393. package/lib/typescript/src/components/ContentView/Two/components/index.d.ts.map +1 -0
  394. package/lib/typescript/src/components/ContentView/index.d.ts +6 -1
  395. package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -1
  396. package/lib/typescript/src/components/Headers/Four.d.ts +18 -0
  397. package/lib/typescript/src/components/Headers/Four.d.ts.map +1 -0
  398. package/lib/typescript/src/components/Headers/Three.d.ts +9 -1
  399. package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
  400. package/lib/typescript/src/components/Headers/index.d.ts +1 -0
  401. package/lib/typescript/src/components/Headers/index.d.ts.map +1 -1
  402. package/lib/typescript/src/components/Input/Input.d.ts +2 -0
  403. package/lib/typescript/src/components/Input/Input.d.ts.map +1 -1
  404. package/lib/typescript/src/components/Input/InputThree.d.ts +22 -0
  405. package/lib/typescript/src/components/Input/InputThree.d.ts.map +1 -0
  406. package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
  407. package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts +26 -0
  408. package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts.map +1 -0
  409. package/lib/typescript/src/components/Loader/Loader.d.ts +2 -0
  410. package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
  411. package/lib/typescript/src/components/Logo/Logo.d.ts +1 -1
  412. package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
  413. package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts +10 -0
  414. package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts.map +1 -0
  415. package/lib/typescript/src/components/NewRelease/index.d.ts +2 -0
  416. package/lib/typescript/src/components/NewRelease/index.d.ts.map +1 -0
  417. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +2 -0
  418. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -1
  419. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +1 -0
  420. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -1
  421. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -1
  422. package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +2 -1
  423. package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -1
  424. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +9 -2
  425. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
  426. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +11 -1
  427. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
  428. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
  429. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -1
  430. package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +15 -0
  431. package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
  432. package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts +34 -0
  433. package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts.map +1 -0
  434. package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts +10 -0
  435. package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts.map +1 -0
  436. package/lib/typescript/src/components/Reels/index.d.ts +1 -0
  437. package/lib/typescript/src/components/Reels/index.d.ts.map +1 -1
  438. package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
  439. package/lib/typescript/src/components/Search/components/SearchCard.d.ts +1 -0
  440. package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
  441. package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
  442. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
  443. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
  444. package/lib/typescript/src/components/common/AppStatusBar.d.ts +1 -0
  445. package/lib/typescript/src/components/common/AppStatusBar.d.ts.map +1 -1
  446. package/lib/typescript/src/components/index.d.ts +1 -0
  447. package/lib/typescript/src/components/index.d.ts.map +1 -1
  448. package/lib/typescript/src/constants/dummySections.d.ts +8 -1
  449. package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
  450. package/lib/typescript/src/hooks/Images/index.d.ts +3 -0
  451. package/lib/typescript/src/hooks/Images/index.d.ts.map +1 -0
  452. package/lib/typescript/src/hooks/Images/useImageLoader.d.ts +36 -0
  453. package/lib/typescript/src/hooks/Images/useImageLoader.d.ts.map +1 -0
  454. package/lib/typescript/src/hooks/Images/useImageValidation.d.ts +17 -0
  455. package/lib/typescript/src/hooks/Images/useImageValidation.d.ts.map +1 -0
  456. package/lib/typescript/src/hooks/index.d.ts +3 -0
  457. package/lib/typescript/src/hooks/index.d.ts.map +1 -1
  458. package/lib/typescript/src/hooks/useAdTracking.d.ts +39 -0
  459. package/lib/typescript/src/hooks/useAdTracking.d.ts.map +1 -0
  460. package/lib/typescript/src/hooks/useCards.d.ts +36 -0
  461. package/lib/typescript/src/hooks/useCards.d.ts.map +1 -0
  462. package/lib/typescript/src/hooks/usePaginatedSection.d.ts +12 -2
  463. package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
  464. package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
  465. package/lib/typescript/src/theme/ThemeProvider.d.ts +2 -0
  466. package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
  467. package/lib/typescript/src/theme/hook/index.d.ts +0 -1
  468. package/lib/typescript/src/theme/hook/index.d.ts.map +1 -1
  469. package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +1 -1
  470. package/lib/typescript/src/theme/themes.d.ts +1 -0
  471. package/lib/typescript/src/theme/themes.d.ts.map +1 -1
  472. package/lib/typescript/src/theme/utils/validateColor.d.ts +21 -0
  473. package/lib/typescript/src/theme/utils/validateColor.d.ts.map +1 -0
  474. package/lib/typescript/src/types/content/content-view.types.d.ts +40 -1
  475. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  476. package/lib/typescript/src/types/sections/index.d.ts +7 -4
  477. package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
  478. package/lib/typescript/src/utils/colorUtils.d.ts +19 -0
  479. package/lib/typescript/src/utils/colorUtils.d.ts.map +1 -0
  480. package/package.json +13 -4
  481. package/src/components/Auth/AuthProvider/AuthProvider.tsx +6 -2
  482. package/src/components/Auth/One/ForgotPassword/ForgotPassword.tsx +324 -0
  483. package/src/components/Auth/One/Login/LoginWithEmail.tsx +455 -0
  484. package/src/components/Auth/{Login → One/Login}/LoginWithPhone.tsx +12 -12
  485. package/src/components/Auth/One/OTP/OTP.tsx +465 -0
  486. package/src/components/Auth/One/QrLogin/QrLogin.tsx +602 -0
  487. package/src/components/Auth/One/QrLogin/components/QrViewArea.tsx +423 -0
  488. package/src/components/Auth/One/SignUp/SignUp.tsx +479 -0
  489. package/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.tsx +10 -6
  490. package/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.tsx +103 -0
  491. package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.tsx +1 -1
  492. package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.tsx +35 -25
  493. package/src/components/Auth/One/index.ts +24 -0
  494. package/src/components/Auth/Two/AuthHeader/AuthHeader.tsx +108 -0
  495. package/src/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.tsx +62 -35
  496. package/src/components/Auth/Two/Login/AuthLoginShell.tsx +173 -0
  497. package/src/components/Auth/Two/Login/LoginWithEmail.tsx +279 -0
  498. package/src/components/Auth/Two/Login/LoginWithPhone.tsx +188 -0
  499. package/src/components/Auth/{OTP → Two/OTP}/OTP.tsx +92 -81
  500. package/src/components/Auth/Two/QrLogin/QrLogin.tsx +602 -0
  501. package/src/components/Auth/Two/QrLogin/components/QrViewArea.tsx +423 -0
  502. package/src/components/Auth/Two/SignUp/SignUp.tsx +472 -0
  503. package/src/components/Auth/Two/SplashScreen/SplashScreen.tsx +248 -0
  504. package/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.tsx +1 -1
  505. package/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.tsx +77 -0
  506. package/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.tsx +178 -0
  507. package/src/components/Auth/Two/index.ts +28 -0
  508. package/src/components/Auth/index.ts +7 -22
  509. package/src/components/BackgroundLayout/BackgroundLayout.tsx +2 -0
  510. package/src/components/BackgroundLayout/BackgroundLayoutOne.tsx +56 -0
  511. package/src/components/BottomSheet/BottomSheet.tsx +6 -1
  512. package/src/components/BottomSheet/BottomSheetOne.tsx +220 -0
  513. package/src/components/BottomSheet/index.ts +2 -0
  514. package/src/components/Button/PrimaryBtn.tsx +10 -2
  515. package/src/components/Content/Card/Category/Category.tsx +104 -10
  516. package/src/components/Content/Card/Category/CategroyTwo.tsx +429 -0
  517. package/src/components/Content/Card/NowWatching/NowWatching.tsx +281 -136
  518. package/src/components/Content/Card/Sliders/Styles/One.tsx +248 -152
  519. package/src/components/Content/Card/Sliders/Styles/Three.tsx +935 -0
  520. package/src/components/Content/Card/Sliders/Styles/Two.tsx +171 -102
  521. package/src/components/Content/Card/Sliders/index.ts +2 -0
  522. package/src/components/Content/Card/Styles/Five.tsx +162 -62
  523. package/src/components/Content/Card/Styles/Four.tsx +165 -85
  524. package/src/components/Content/Card/Styles/One.tsx +162 -71
  525. package/src/components/Content/Card/Styles/RotateInOut.tsx +158 -60
  526. package/src/components/Content/Card/Styles/Six.tsx +242 -142
  527. package/src/components/Content/Card/Styles/Three.tsx +160 -162
  528. package/src/components/Content/Card/Styles/TopTen.tsx +231 -191
  529. package/src/components/Content/Card/Styles/Two.tsx +183 -79
  530. package/src/components/Content/Card/components/AdsPoster.tsx +202 -0
  531. package/src/components/Content/Card/components/CardPoster.tsx +250 -151
  532. package/src/components/Content/Card/components/NavigateToMore.tsx +29 -1
  533. package/src/components/Content/Card/components/index.ts +1 -0
  534. package/src/components/Content/Content.tsx +103 -119
  535. package/src/components/Content/Sections.tsx +51 -45
  536. package/src/components/Content/types.ts +176 -0
  537. package/src/components/ContentView/MoreContentList.tsx +1 -0
  538. package/src/components/ContentView/{ContentView.tsx → One/ContentViewOne.tsx} +8 -7
  539. package/src/components/ContentView/{components → One/components}/AboutSection.tsx +3 -3
  540. package/src/components/ContentView/{components → One/components}/CastCard.tsx +3 -3
  541. package/src/components/ContentView/{components → One/components}/EpisodeCard.tsx +7 -8
  542. package/src/components/ContentView/{components → One/components}/GenreTags.tsx +3 -3
  543. package/src/components/ContentView/{components → One/components}/HeroBanner.tsx +44 -59
  544. package/src/components/ContentView/{components → One/components}/MiniInfo.tsx +69 -5
  545. package/src/components/ContentView/{components → One/components}/PlayButton.tsx +1 -1
  546. package/src/components/ContentView/{components → One/components}/Title.tsx +2 -2
  547. package/src/components/ContentView/{components → One/components}/TrailerButton.tsx +2 -2
  548. package/src/components/ContentView/Two/ContentViewTwo.tsx +343 -0
  549. package/src/components/ContentView/Two/components/AboutSection.tsx +216 -0
  550. package/src/components/ContentView/Two/components/Details.tsx +193 -0
  551. package/src/components/ContentView/Two/components/EpisodeCard.tsx +602 -0
  552. package/src/components/ContentView/Two/components/GenreTags.tsx +123 -0
  553. package/src/components/ContentView/Two/components/HeroBanner.tsx +402 -0
  554. package/src/components/ContentView/Two/components/LikeShareActions.tsx +125 -0
  555. package/src/components/ContentView/Two/components/MoreLikeThisContentList .tsx +305 -0
  556. package/src/components/ContentView/Two/components/PlayOrTrailer.tsx +133 -0
  557. package/src/components/ContentView/Two/components/SectionTabs.tsx +177 -0
  558. package/src/components/ContentView/Two/components/Title.tsx +226 -0
  559. package/src/components/ContentView/Two/components/index.ts +15 -0
  560. package/src/components/ContentView/index.ts +7 -1
  561. package/src/components/Headers/Four.tsx +83 -0
  562. package/src/components/Headers/Three.tsx +88 -25
  563. package/src/components/Headers/index.ts +2 -0
  564. package/src/components/Input/Input.ts +4 -0
  565. package/src/components/Input/InputThree.tsx +212 -0
  566. package/src/components/Input/PhoneNumberInput.tsx +4 -2
  567. package/src/components/Input/PhoneNumberInputTwo.tsx +418 -0
  568. package/src/components/Loader/Loader.tsx +25 -9
  569. package/src/components/Logo/Logo.tsx +53 -34
  570. package/src/components/NewRelease/NewReleaseSheet.tsx +250 -0
  571. package/src/components/NewRelease/index.ts +1 -0
  572. package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +92 -27
  573. package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +81 -1
  574. package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +4 -1
  575. package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +6 -3
  576. package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +88 -55
  577. package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +92 -30
  578. package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +35 -38
  579. package/src/components/Reels/ReelsSeries/types.ts +16 -0
  580. package/src/components/Reels/ReelsSeries/useReelsWatchProgress.ts +85 -0
  581. package/src/components/Reels/ReelsSeries/utils/quality.ts +48 -0
  582. package/src/components/Reels/index.ts +1 -0
  583. package/src/components/Search/One.tsx +8 -5
  584. package/src/components/Search/components/SearchCard.tsx +68 -11
  585. package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -0
  586. package/src/components/User/WatchHistory/WatchHistory.tsx +1 -0
  587. package/src/components/User/WatchLater/WatchLater.tsx +1 -0
  588. package/src/components/common/AppStatusBar.tsx +7 -1
  589. package/src/components/index.ts +1 -0
  590. package/src/constants/dummySections.ts +54 -3
  591. package/src/hooks/Images/index.ts +2 -0
  592. package/src/hooks/Images/useImageLoader.ts +206 -0
  593. package/src/hooks/Images/useImageValidation.ts +36 -0
  594. package/src/hooks/index.ts +3 -0
  595. package/src/hooks/useAdTracking.ts +349 -0
  596. package/src/hooks/useCards.ts +228 -0
  597. package/src/hooks/usePaginatedSection.ts +26 -7
  598. package/src/hooks/useSplashCache.ts +88 -69
  599. package/src/theme/ThemeProvider.tsx +15 -2
  600. package/src/theme/hook/index.ts +0 -1
  601. package/src/theme/hook/useInternalTheme.ts +22 -13
  602. package/src/theme/themes.ts +3 -0
  603. package/src/theme/utils/validateColor.ts +127 -0
  604. package/src/types/content/content-view.types.ts +43 -1
  605. package/src/types/sections/index.ts +7 -4
  606. package/src/utils/colorUtils.ts +70 -0
  607. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +0 -1
  608. package/lib/module/components/Auth/Login/LoginWithEmail.js +0 -314
  609. package/lib/module/components/Auth/Login/LoginWithEmail.js.map +0 -1
  610. package/lib/module/components/Auth/Login/LoginWithPhone.js.map +0 -1
  611. package/lib/module/components/Auth/OTP/OTP.js.map +0 -1
  612. package/lib/module/components/Auth/QrLogin/QrLogin.js +0 -313
  613. package/lib/module/components/Auth/QrLogin/QrLogin.js.map +0 -1
  614. package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +0 -243
  615. package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +0 -1
  616. package/lib/module/components/Auth/SignUp/SignUp.js +0 -352
  617. package/lib/module/components/Auth/SignUp/SignUp.js.map +0 -1
  618. package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +0 -1
  619. package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +0 -1
  620. package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +0 -1
  621. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +0 -1
  622. package/lib/module/components/ContentView/ContentView.js.map +0 -1
  623. package/lib/module/components/ContentView/components/AboutSection.js.map +0 -1
  624. package/lib/module/components/ContentView/components/CastCard.js.map +0 -1
  625. package/lib/module/components/ContentView/components/EpisodeCard.js.map +0 -1
  626. package/lib/module/components/ContentView/components/GenreTags.js.map +0 -1
  627. package/lib/module/components/ContentView/components/HeroBanner.js.map +0 -1
  628. package/lib/module/components/ContentView/components/MiniInfo.js.map +0 -1
  629. package/lib/module/components/ContentView/components/PlayButton.js.map +0 -1
  630. package/lib/module/components/ContentView/components/Title.js.map +0 -1
  631. package/lib/module/components/ContentView/components/TrailerButton.js.map +0 -1
  632. package/lib/module/theme/hook/useThemeStatusBar.js +0 -33
  633. package/lib/module/theme/hook/useThemeStatusBar.js.map +0 -1
  634. package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +0 -1
  635. package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +0 -1
  636. package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +0 -1
  637. package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +0 -1
  638. package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +0 -1
  639. package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +0 -1
  640. package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +0 -1
  641. package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +0 -1
  642. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +0 -1
  643. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +0 -1
  644. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +0 -1
  645. package/lib/typescript/src/components/ContentView/ContentView.d.ts +0 -15
  646. package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +0 -1
  647. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +0 -1
  648. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +0 -1
  649. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +0 -1
  650. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +0 -1
  651. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +0 -1
  652. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +0 -1
  653. package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +0 -1
  654. package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +0 -1
  655. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +0 -1
  656. package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts +0 -10
  657. package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts.map +0 -1
  658. package/src/components/Auth/Login/LoginWithEmail.tsx +0 -441
  659. package/src/components/Auth/QrLogin/QrLogin.tsx +0 -342
  660. package/src/components/Auth/QrLogin/components/QrViewArea.tsx +0 -329
  661. package/src/components/Auth/SignUp/SignUp.tsx +0 -462
  662. package/src/theme/hook/useThemeStatusBar.ts +0 -42
  663. /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.d.ts +0 -0
  664. /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.d.ts +0 -0
  665. /package/lib/typescript/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.d.ts +0 -0
  666. /package/lib/typescript/src/components/ContentView/{components → One/components}/PlayButton.d.ts +0 -0
  667. /package/lib/typescript/src/components/ContentView/{components → One/components}/TrailerButton.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useCallback","useMemo","StyleSheet","View","Keyboard","KeyboardAvoidingView","Platform","useForm","Controller","scale","verticalScale","Input","Button","TextButton","useInternalTheme","useKeyboard","HideKeyboard","Text","RFValue","Lock","Mail","UserIcon","BackgroundLayoutOne","AuthHeader","jsx","_jsx","jsxs","_jsxs","Signup","memo","title","subTitle","onSubmit","onLogin","containerStyle","titleStyle","subtitleStyle","formStyle","inputStyle","inputContainerStyle","minPasswordLength","loadingSubmitBtn","logoUri","theme","overrideTheme","text","loginTextProps","loginLinkTextProps","renderSingUpHeader","renderLoginPrompt","renderSubmitButton","control","handleSubmit","formState","errors","isValid","touchedFields","getValues","defaultValues","username","email","password","confirmPassword","mode","resolvedTheme","isKeyboardOpen","isLoading","setIsLoading","useState","handleFormSubmit","data","error","console","isDisabled","children","style","styles","root","keyboardVerticalOffset","keyboardArea","behavior","OS","undefined","onLogoPress","rightTitle","onRightPress","dismiss","requestAnimationFrame","centerContent","headerTextContainer","color","colors","textPrimary","form","name","rules","required","minLength","value","message","render","field","onChange","onBlur","Three","placeholder","usernamePlaceholder","label","usernameLabel","onChangeText","disabled","errorMessage","leftIcon","size","pattern","emailPlaceholder","emailLabel","inputText","sanitized","replace","textContentType","autoCapitalize","keyboardType","autoCorrect","passwordPlaceholder","passwordLabel","secureTextEntry","spellCheck","autoComplete","validate","confirmPasswordPlaceholder","confirmPasswordLabel","onPress","loading","Primary","signupButton","loadingText","loadingSubmitBtnText","bottomFixed","loginRow","loginPrompt","loginLink","bold","create","container","flex","width","justifyContent","alignItems","paddingTop","position","paddingHorizontal","marginBottom","fontSize","fontWeight","marginTop","opacity","textAlign","gap","bottom","left","right","zIndex","flexDirection","flexWrap","marginRight","loginContainer"],"sourceRoot":"../../../../../../src","sources":["components/Auth/Two/SignUp/SignUp.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AACnD,SACEC,UAAU,EACVC,IAAI,EACJC,QAAQ,EAGRC,oBAAoB,EACpBC,QAAQ,QACH,cAAc;AACrB,SAASC,OAAO,EAAEC,UAAU,QAAQ,iBAAiB;AACrD,SAASC,KAAK,EAAEC,aAAa,QAAQ,2BAA2B;AAChE,SAASC,KAAK,QAAQ,yBAAsB;AAC5C,SAASC,MAAM,QAAQ,0BAAiB;AACxC,OAAOC,UAAU,MAAM,+BAA4B;AACnD,SAASC,gBAAgB,QAAQ,4CAAyC;AAC1E,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,OAAOC,YAAY,MAAM,mCAAgC;AACzD,SAASC,IAAI,QAAQ,wBAAe;AAEpC,SAASC,OAAO,QAAQ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;IACbE,UAAU,EAAE,QAAQ;IACpBI,YAAY,EAAE9I,aAAa,CAAC,EAAE;EAChC,CAAC;EACDoB,KAAK,EAAE;IACL2H,QAAQ,EAAEvI,OAAO,CAAC,EAAE,CAAC;IACrBwI,UAAU,EAAE,KAAK;IACjBC,SAAS,EAAEjJ,aAAa,CAAC,CAAC,CAAC;IAC3B8I,YAAY,EAAE9I,aAAa,CAAC,EAAE;EAChC,CAAC;EACDqB,QAAQ,EAAE;IACR0H,QAAQ,EAAEvI,OAAO,CAAC,EAAE,CAAC;IACrB0I,OAAO,EAAE,GAAG;IACZC,SAAS,EAAE;EACb,CAAC;EACDhE,IAAI,EAAE;IACJqD,KAAK,EAAE,MAAM;IACbY,GAAG,EAAEpJ,aAAa,CAAC,CAAC;EACtB,CAAC;EACDgI,WAAW,EAAE;IACXY,QAAQ,EAAE,UAAU;IACpBS,MAAM,EAAErJ,aAAa,CAAC,EAAE,CAAC;IACzBsJ,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRb,UAAU,EAAE,QAAQ;IACpBc,MAAM,EAAE;EACV,CAAC;EACDvB,QAAQ,EAAE;IACRwB,aAAa,EAAE,KAAK;IACpBf,UAAU,EAAE,QAAQ;IACpBD,cAAc,EAAE,QAAQ;IACxBiB,QAAQ,EAAE;EACZ,CAAC;EACDxB,WAAW,EAAE;IACXiB,SAAS,EAAE,QAAQ;IACnBQ,WAAW,EAAE;EACf,CAAC;EACDC,cAAc,EAAE;IACdlB,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * @author Naresh Dhamu
5
+ * @lastModified Fri 17 Oct 2025 at 09:51 PM
6
+ */
7
+
8
+ import React, { useEffect, useMemo, useCallback } from 'react';
9
+ import SplashImage from "./components/SplashImage/SplashImage.js";
10
+ import SplashVideo from "./components/SplashVideo/SplashVideo.js";
11
+ import SplashLottie from "./components/SplashLottie/SplashLottie.js";
12
+ import { useInternalTheme } from "../../../../theme/hook/useInternalTheme.js";
13
+ import { BackgroundLayout } from "../../../BackgroundLayout/BackgroundLayout.js";
14
+ import { useSplashCache } from "../../../../hooks/useSplashCache.js";
15
+ import { AppStatusBar } from "../../../common/AppStatusBar.js";
16
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
+ const DEFAULT_IMAGE_TIMEOUT = 5;
18
+ const FALLBACK_TIMEOUT = 0.5;
19
+
20
+ // Move extension arrays outside component to prevent recreation
21
+ const VIDEO_EXTENSIONS = ['.mp4', '.mov', '.mkv', '.webm', '.avi', '.3gp'];
22
+ const LOTTIE_EXTENSIONS = ['.json', '.lottie'];
23
+ export const SplashScreen = /*#__PURE__*/React.memo(({
24
+ splashScreenConfig,
25
+ innerContainerStyle,
26
+ backgroundImage = {
27
+ gradientSplitBackground: 0.4,
28
+ resizeMode: 'cover'
29
+ },
30
+ onRedirect,
31
+ theme: overrideTheme
32
+ }) => {
33
+ useInternalTheme(overrideTheme);
34
+ const {
35
+ source: splashSource = '',
36
+ type: splashType = 'image',
37
+ width,
38
+ height,
39
+ isStatic = false,
40
+ screenTime,
41
+ fullscreen = false,
42
+ resizeMode = 'contain',
43
+ backgroundColor: splashBgColor
44
+ } = splashScreenConfig;
45
+
46
+ // Memoize computed values
47
+ const isRemote = useMemo(() => splashSource?.startsWith('http') ?? false, [splashSource]);
48
+ const isImageSplash = useMemo(() => splashType === 'image', [splashType]);
49
+ const backgroundImageUrl = useMemo(() => isImageSplash && backgroundImage.source?.startsWith('http') ? backgroundImage.source : undefined, [isImageSplash, backgroundImage.source]);
50
+ const {
51
+ data
52
+ } = useSplashCache({
53
+ logoUrl: isRemote ? splashSource : undefined,
54
+ backgroundUrl: backgroundImageUrl
55
+ });
56
+ const resolvedSplashUri = useMemo(() => (isRemote && data.logoPath ? data.logoPath : splashSource) || '', [isRemote, data.logoPath, splashSource]);
57
+ const displayTimeout = useMemo(() => {
58
+ if (typeof screenTime === 'number' && screenTime > 0) return screenTime;
59
+ if (isImageSplash || isStatic) return DEFAULT_IMAGE_TIMEOUT;
60
+ return 0;
61
+ }, [screenTime, isImageSplash, isStatic]);
62
+ const handleRedirect = useCallback(() => {
63
+ try {
64
+ onRedirect();
65
+ } catch (err) {
66
+ console.error('[SplashScreen] Redirect error:', err);
67
+ }
68
+ }, [onRedirect]);
69
+ useEffect(() => {
70
+ const timeoutSec = displayTimeout > 0 ? displayTimeout : FALLBACK_TIMEOUT;
71
+ const timer = setTimeout(handleRedirect, timeoutSec * 1000);
72
+ return () => clearTimeout(timer);
73
+ }, [displayTimeout, handleRedirect]);
74
+ const splashProps = useMemo(() => ({
75
+ source: resolvedSplashUri,
76
+ width,
77
+ height,
78
+ fullscreen,
79
+ resizeMode: resizeMode
80
+ }), [resolvedSplashUri, width, height, fullscreen, resizeMode]);
81
+
82
+ // Memoize file type checks
83
+ const isVideoFile = useMemo(() => VIDEO_EXTENSIONS.some(ext => resolvedSplashUri.toLowerCase().endsWith(ext)), [resolvedSplashUri]);
84
+ const isLottieFile = useMemo(() => LOTTIE_EXTENSIONS.some(ext => resolvedSplashUri.toLowerCase().endsWith(ext)), [resolvedSplashUri]);
85
+
86
+ // Memoize video onEnd handler
87
+ const videoOnEnd = useMemo(() => displayTimeout ? undefined : handleRedirect, [displayTimeout, handleRedirect]);
88
+
89
+ // Memoize lottie onAnimationFinish handler
90
+ const lottieOnAnimationFinish = useMemo(() => displayTimeout ? undefined : handleRedirect, [displayTimeout, handleRedirect]);
91
+
92
+ // Memoize BackgroundLayout props
93
+ const backgroundLayoutProps = useMemo(() => ({
94
+ backgroundImage: isImageSplash ? backgroundImage.source : undefined,
95
+ backgroundColor: splashBgColor,
96
+ resizeMode: backgroundImage.resizeMode ?? 'cover',
97
+ innerContainerStyle,
98
+ onImageError: backgroundImage.onImageError,
99
+ theme: overrideTheme,
100
+ gradientSplitBackground: backgroundImage.gradientSplitBackground ?? 0.4
101
+ }), [isImageSplash, backgroundImage.source, backgroundImage.resizeMode, backgroundImage.onImageError, backgroundImage.gradientSplitBackground, splashBgColor, innerContainerStyle, overrideTheme]);
102
+
103
+ // Memoize AppStatusBar theme
104
+ const appStatusBarTheme = useMemo(() => ({
105
+ ...overrideTheme,
106
+ dark: {
107
+ ...overrideTheme?.dark,
108
+ background: splashBgColor
109
+ },
110
+ light: {
111
+ ...overrideTheme?.light,
112
+ background: splashBgColor
113
+ }
114
+ }), [overrideTheme, splashBgColor]);
115
+ const renderSplashContent = useCallback(() => {
116
+ switch (splashType) {
117
+ case 'video':
118
+ return isVideoFile ? /*#__PURE__*/_jsx(SplashVideo, {
119
+ ...splashProps,
120
+ onEnd: videoOnEnd
121
+ }) : null;
122
+ case 'lottie-animation':
123
+ return isLottieFile ? /*#__PURE__*/_jsx(SplashLottie, {
124
+ ...splashProps,
125
+ onAnimationFinish: lottieOnAnimationFinish
126
+ }) : null;
127
+ case 'image':
128
+ default:
129
+ return /*#__PURE__*/_jsx(SplashImage, {
130
+ ...splashProps
131
+ });
132
+ }
133
+ }, [splashType, isVideoFile, splashProps, videoOnEnd, isLottieFile, lottieOnAnimationFinish]);
134
+ return /*#__PURE__*/_jsxs(BackgroundLayout, {
135
+ ...backgroundLayoutProps,
136
+ children: [/*#__PURE__*/_jsx(AppStatusBar, {
137
+ theme: appStatusBarTheme
138
+ }), renderSplashContent()]
139
+ });
140
+ });
141
+ //# sourceMappingURL=SplashScreen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","useMemo","useCallback","SplashImage","SplashVideo","SplashLottie","useInternalTheme","BackgroundLayout","useSplashCache","AppStatusBar","jsx","_jsx","jsxs","_jsxs","DEFAULT_IMAGE_TIMEOUT","FALLBACK_TIMEOUT","VIDEO_EXTENSIONS","LOTTIE_EXTENSIONS","SplashScreen","memo","splashScreenConfig","innerContainerStyle","backgroundImage","gradientSplitBackground","resizeMode","onRedirect","theme","overrideTheme","source","splashSource","type","splashType","width","height","isStatic","screenTime","fullscreen","backgroundColor","splashBgColor","isRemote","startsWith","isImageSplash","backgroundImageUrl","undefined","data","logoUrl","backgroundUrl","resolvedSplashUri","logoPath","displayTimeout","handleRedirect","err","console","error","timeoutSec","timer","setTimeout","clearTimeout","splashProps","isVideoFile","some","ext","toLowerCase","endsWith","isLottieFile","videoOnEnd","lottieOnAnimationFinish","backgroundLayoutProps","onImageError","appStatusBarTheme","dark","background","light","renderSplashContent","onEnd","onAnimationFinish","children"],"sourceRoot":"../../../../../../src","sources":["components/Auth/Two/SplashScreen/SplashScreen.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,WAAW,QAAQ,OAAO;AAE9D,OAAOC,WAAW,MAAM,yCAAsC;AAC9D,OAAOC,WAAW,MAAM,yCAAsC;AAC9D,OAAOC,YAAY,MAAM,2CAAwC;AAGjE,SAASC,gBAAgB,QAAQ,4CAAyC;AAE1E,SAASC,gBAAgB,QAAQ,+CAA4C;AAC7E,SAASC,cAAc,QAAQ,qCAAkC;AACjE,SAASC,YAAY,QAAQ,iCAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA8B5D,MAAMC,qBAAqB,GAAG,CAAC;AAC/B,MAAMC,gBAAgB,GAAG,GAAG;;AAE5B;AACA,MAAMC,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AAC1E,MAAMC,iBAAiB,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC;AAE9C,OAAO,MAAMC,YAAyC,gBAAGnB,KAAK,CAACoB,IAAI,CACjE,CAAC;EACCC,kBAAkB;EAClBC,mBAAmB;EACnBC,eAAe,GAAG;IAChBC,uBAAuB,EAAE,GAAG;IAC5BC,UAAU,EAAE;EACd,CAAC;EACDC,UAAU;EACVC,KAAK,EAAEC;AACT,CAAC,KAAK;EACJrB,gBAAgB,CAACqB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AAW,gBAChBhD,IAAA,CAACP,WAAW;UAAA,GAAKsD,WAAW;UAAEgB,KAAK,EAAET;QAAW,CAAE,CAAC,GACjD,IAAI;MAEV,KAAK,kBAAkB;QACrB,OAAOD,YAAY,gBACjBrD,IAAA,CAACN,YAAY;UAAA,GACPqD,WAAW;UACfiB,iBAAiB,EAAET;QAAwB,CAC5C,CAAC,GACA,IAAI;MAEV,KAAK,OAAO;MACZ;QACE,oBAAOvD,IAAA,CAACR,WAAW;UAAA,GAAKuD;QAAW,CAAG,CAAC;IAC3C;EACF,CAAC,EAAE,CACD3B,UAAU,EACV4B,WAAW,EACXD,WAAW,EACXO,UAAU,EACVD,YAAY,EACZE,uBAAuB,CACxB,CAAC;EAEF,oBACErD,KAAA,CAACN,gBAAgB;IAAA,GAAK4D,qBAAqB;IAAAS,QAAA,gBACzCjE,IAAA,CAACF,YAAY;MAACiB,KAAK,EAAE2C;IAAkB,CAAE,CAAC,EACzCI,mBAAmB,CAAC,CAAC;EAAA,CACN,CAAC;AAEvB,CACF,CAAC","ignoreList":[]}
@@ -3,7 +3,7 @@
3
3
  import React, { useState, useMemo, useCallback, useEffect } from 'react';
4
4
  import FastImage from 'react-native-fast-image';
5
5
  import { ActivityIndicator, View, StyleSheet } from 'react-native';
6
- import Display from "../../../../../utils/Display.js";
6
+ import Display from "../../../../../../utils/Display.js";
7
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
8
  const SplashImage = ({
9
9
  fullscreen,
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","useMemo","useCallback","useEffect","FastImage","ActivityIndicator","View","StyleSheet","Display","jsx","_jsx","jsxs","_jsxs","SplashImage","fullscreen","height","resizeMode","source","width","isLoading","setIsLoading","imageStyles","fullWidth","fullHeight","flex","handleLoadEnd","handleError","resolvedUri","startsWith","imageSource","uri","style","styles","container","children","size","loader","onLoadEnd","onError","create","justifyContent","alignItems","position","memo"],"sourceRoot":"../../../../../../../../src","sources":["components/Auth/Two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dhamu
5
+ * @lastModified Thu 12 Jun 2025 at 09:22 AM
6
+ */
7
+ import React, { useMemo, useCallback } from 'react';
8
+ import LottieView from 'lottie-react-native';
9
+ import { StyleSheet } from 'react-native';
10
+ import Display from "../../../../../../utils/Display.js";
11
+ import { jsx as _jsx } from "react/jsx-runtime";
12
+ const SplashLottie = ({
13
+ fullscreen,
14
+ height,
15
+ source,
16
+ resizeMode = 'contain',
17
+ width,
18
+ onAnimationFinish
19
+ }) => {
20
+ // Memoize the style object
21
+ const lottieStyle = useMemo(() => ({
22
+ ...styles.base,
23
+ width: fullscreen ? Display.fullWidth : width,
24
+ height: fullscreen ? Display.fullHeight : height,
25
+ ...(fullscreen ? styles.fullscreen : {})
26
+ }), [fullscreen, width, height]);
27
+
28
+ // Memoize Lottie source
29
+ const lottieSource = useMemo(() => ({
30
+ uri: source
31
+ }), [source]);
32
+
33
+ // Memoize error handler
34
+ const handleAnimationFailure = useCallback(error => {
35
+ console.error('Lottie animation failed to load:', error);
36
+ }, []);
37
+
38
+ // Early return if invalid source
39
+ if (!source) {
40
+ return null;
41
+ }
42
+ return /*#__PURE__*/_jsx(LottieView, {
43
+ source: lottieSource,
44
+ autoPlay: true,
45
+ loop: false,
46
+ onAnimationFinish: onAnimationFinish,
47
+ style: lottieStyle,
48
+ resizeMode: resizeMode,
49
+ onAnimationFailure: handleAnimationFailure,
50
+ hardwareAccelerationAndroid: true,
51
+ cacheComposition: true
52
+ });
53
+ };
54
+ const styles = StyleSheet.create({
55
+ base: {
56
+ alignSelf: 'center'
57
+ },
58
+ fullscreen: {
59
+ flex: 1
60
+ }
61
+ });
62
+ export default /*#__PURE__*/React.memo(SplashLottie);
63
+ //# sourceMappingURL=SplashLottie.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useMemo","useCallback","LottieView","StyleSheet","Display","jsx","_jsx","SplashLottie","fullscreen","height","source","resizeMode","width","onAnimationFinish","lottieStyle","styles","base","fullWidth","fullHeight","lottieSource","uri","handleAnimationFailure","error","console","autoPlay","loop","style","onAnimationFailure","hardwareAccelerationAndroid","cacheComposition","create","alignSelf","flex","memo"],"sourceRoot":"../../../../../../../../src","sources":["components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,WAAW,QAAQ,OAAO;AACnD,OAAOC,UAAU,MAAM,qBAAqB;AAC5C,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAOC,OAAO,MAAM,oCAAiC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAatD,MAAMC,YAA8B,GAAGA,CAAC;EACtCC,UAAU;EACVC,MAAM;EACNC,MAAM;EACNC,UAAU,GAAG,SAAS;EACtBC,KAAK;EACLC;AACF,CAAC,KAAK;EACJ;EACA,MAAMC,WAAW,GAAGd,OAAO,CACzB,OAAO;IACL,GAAGe,MAAM,CAACC,IAAI;IACdJ,KAAK,EAAEJ,UAAU,GAAGJ,OAAO,CAACa,SAAS,GAAGL,KAAK;IAC7CH,MAAM,EAAED,UAAU,GAAGJ,OAAO,CAACc,UAAU,GAAGT,MAAM;IAChD,IAAID,UAAU,GAAGO,MAAM,CAACP,UAAU,GAAG,CAAC,CAAC;EACzC,CAAC,CAAC,EACF,CAACA,UAAU,EAAEI,KAAK,EAAEH,MAAM,CAC5B,CAAC;;EAED;EACA,MAAMU,YAAY,GAAGnB,OAAO,CAAC,OAAO;IAAEoB,GAAG,EAAEV;EAAO,CAAC,CAAC,EAAE,CAACA,MAAM,CAAC,CAAC;;EAE/D;EACA,MAAMW,sBAAsB,GAAGpB,WAAW,CAAEqB,KAAU,IAAK;IACzDC,OAAO,CAACD,KAAK,CAAC,kCAAkC,EAAEA,KAAK,CAAC;EAC1D,CAAC,EAAE,EAAE,CAAC;;EAEN;EACA,IAAI,CAACZ,MAAM,EAAE;IACX,OAAO,IAAI;EACb;EAEA,oBACEJ,IAAA,CAACJ,UAAU;IACTQ,MAAM,EAAES,YAAa;IACrBK,QAAQ;IACRC,IAAI,EAAE,KAAM;IACZZ,iBAAiB,EAAEA,iBAAkB;IACrCa,KAAK,EAAEZ,WAAY;IACnBH,UAAU,EAAEA,UAAW;IACvBgB,kBAAkB,EAAEN,sBAAuB;IAC3CO,2BAA2B;IAC3BC,gBAAgB;EAAA,CACjB,CAAC;AAEN,CAAC;AAED,MAAMd,MAAM,GAAGZ,UAAU,CAAC2B,MAAM,CAAC;EAC/Bd,IAAI,EAAE;IACJe,SAAS,EAAE;EACb,CAAC;EACDvB,UAAU,EAAE;IACVwB,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAEF,4BAAejC,KAAK,CAACkC,IAAI,CAAC1B,YAAY,CAAC","ignoreList":[]}
@@ -0,0 +1,157 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * @author Naresh Dhamu
5
+ * @lastModified Sat 25 Oct 2025
6
+ */
7
+
8
+ import React, { useMemo, useCallback, useRef, useEffect } from 'react';
9
+ import { StyleSheet, Animated, useWindowDimensions } from 'react-native';
10
+ import Video from 'react-native-video';
11
+ import Display from "../../../../../../utils/Display.js";
12
+ import { View } from "../../../../../View/index.js";
13
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ const SplashVideo = ({
15
+ fullscreen = true,
16
+ width,
17
+ height,
18
+ source,
19
+ resizeMode = 'cover',
20
+ onEnd,
21
+ onLoadStart,
22
+ onLoaded,
23
+ onError
24
+ }) => {
25
+ const fadeAnim = useRef(new Animated.Value(0)).current;
26
+ const {
27
+ width: windowWidth,
28
+ height: windowHeight
29
+ } = useWindowDimensions();
30
+
31
+ /** 🎨 Compute video dimensions – fullscreen uses 100% for all devices; otherwise use window dimensions */
32
+ const videoStyle = useMemo(() => {
33
+ if (fullscreen) {
34
+ return {
35
+ width: '100%',
36
+ height: '100%'
37
+ };
38
+ }
39
+ const w = width ?? windowWidth ?? Display.fullWidth;
40
+ const h = height ?? windowHeight ?? Display.fullHeight;
41
+ return {
42
+ width: w,
43
+ height: h
44
+ };
45
+ }, [fullscreen, width, height, windowWidth, windowHeight]);
46
+
47
+ /** 🎨 Fullscreen wrapper fills container so video covers entire screen on any device */
48
+ const wrapperStyle = useMemo(() => fullscreen ? [StyleSheet.absoluteFillObject, {
49
+ opacity: fadeAnim
50
+ }] : [videoStyle, {
51
+ opacity: fadeAnim,
52
+ position: 'absolute'
53
+ }], [fullscreen, videoStyle, fadeAnim]);
54
+
55
+ /** 🌀 Fade-in animation */
56
+ const animateIn = useCallback(() => {
57
+ Animated.timing(fadeAnim, {
58
+ toValue: 1,
59
+ duration: 400,
60
+ useNativeDriver: true
61
+ }).start();
62
+ }, [fadeAnim]);
63
+
64
+ /** 📦 Resolve video URI */
65
+ const resolveUri = useCallback(src => {
66
+ if (!src) return '';
67
+ if (/^(https?|file):\/\//.test(src)) return src;
68
+ return `file://${src}`;
69
+ }, []);
70
+
71
+ /** 🔄 Video lifecycle handlers */
72
+ const handleLoadStart = useCallback(() => {
73
+ fadeAnim.setValue(0);
74
+ onLoadStart?.();
75
+ }, [fadeAnim, onLoadStart]);
76
+ const handleLoad = useCallback(data => {
77
+ animateIn();
78
+ onLoaded?.(data);
79
+ }, [animateIn, onLoaded]);
80
+ const handleError = useCallback(err => {
81
+ const errorMsg = err?.error?.message || err?.message || JSON.stringify(err) || 'Unknown video error';
82
+ onError?.(errorMsg);
83
+ }, [onError]);
84
+
85
+ /** 🧹 Cleanup animation */
86
+ useEffect(() => {
87
+ return () => fadeAnim.stopAnimation();
88
+ }, [fadeAnim]);
89
+
90
+ // Memoize resolved URI
91
+ const resolvedUri = useMemo(() => resolveUri(source), [source, resolveUri]);
92
+
93
+ // Memoize video source
94
+ const videoSource = useMemo(() => ({
95
+ uri: resolvedUri
96
+ }), [resolvedUri]);
97
+
98
+ // Memoize controls styles
99
+ const controlsStyles = useMemo(() => ({
100
+ hideForward: true,
101
+ hideDuration: true,
102
+ hideFullscreen: true,
103
+ hidePlayPause: true,
104
+ hideNavigationBarOnFullScreenMode: true,
105
+ hideNotificationBarOnFullScreenMode: true,
106
+ hideNext: true,
107
+ hidePosition: true,
108
+ hidePrevious: true,
109
+ hideRewind: true,
110
+ hideSeekBar: true,
111
+ hideSettingButton: true
112
+ }), []);
113
+
114
+ /** 🧱 Render */
115
+ if (!source || !resolvedUri) {
116
+ return null;
117
+ }
118
+ return /*#__PURE__*/_jsx(View, {
119
+ style: styles.container,
120
+ children: /*#__PURE__*/_jsx(Animated.View, {
121
+ style: wrapperStyle,
122
+ children: /*#__PURE__*/_jsx(Video, {
123
+ source: videoSource,
124
+ style: styles.video,
125
+ resizeMode: resizeMode,
126
+ paused: false,
127
+ onLoadStart: handleLoadStart,
128
+ onLoad: handleLoad,
129
+ onError: handleError,
130
+ onEnd: onEnd,
131
+ controlsStyles: controlsStyles,
132
+ ignoreSilentSwitch: "obey",
133
+ playInBackground: false,
134
+ playWhenInactive: false,
135
+ allowsExternalPlayback: false,
136
+ automaticallyWaitsToMinimizeStalling: true,
137
+ controls: false,
138
+ repeat: false
139
+ })
140
+ })
141
+ });
142
+ };
143
+ const styles = StyleSheet.create({
144
+ container: {
145
+ flex: 1,
146
+ width: '100%',
147
+ height: '100%',
148
+ position: 'relative',
149
+ alignSelf: 'stretch'
150
+ },
151
+ video: {
152
+ width: '100%',
153
+ height: '100%'
154
+ }
155
+ });
156
+ export default /*#__PURE__*/React.memo(SplashVideo);
157
+ //# sourceMappingURL=SplashVideo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useMemo","useCallback","useRef","useEffect","StyleSheet","Animated","useWindowDimensions","Video","Display","View","jsx","_jsx","SplashVideo","fullscreen","width","height","source","resizeMode","onEnd","onLoadStart","onLoaded","onError","fadeAnim","Value","current","windowWidth","windowHeight","videoStyle","w","fullWidth","h","fullHeight","wrapperStyle","absoluteFillObject","opacity","position","animateIn","timing","toValue","duration","useNativeDriver","start","resolveUri","src","test","handleLoadStart","setValue","handleLoad","data","handleError","err","errorMsg","error","message","JSON","stringify","stopAnimation","resolvedUri","videoSource","uri","controlsStyles","hideForward","hideDuration","hideFullscreen","hidePlayPause","hideNavigationBarOnFullScreenMode","hideNotificationBarOnFullScreenMode","hideNext","hidePosition","hidePrevious","hideRewind","hideSeekBar","hideSettingButton","style","styles","container","children","video","paused","onLoad","ignoreSilentSwitch","playInBackground","playWhenInactive","allowsExternalPlayback","automaticallyWaitsToMinimizeStalling","controls","repeat","create","flex","alignSelf","memo"],"sourceRoot":"../../../../../../../../src","sources":["components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,WAAW,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AACtE,SAASC,UAAU,EAAEC,QAAQ,EAAEC,mBAAmB,QAAQ,cAAc;AACxE,OAAOC,KAAK,MAGL,oBAAoB;AAC3B,OAAOC,OAAO,MAAM,oCAAiC;AACrD,SAASC,IAAI,QAAQ,8BAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAc3C,MAAMC,WAA6B,GAAGA,CAAC;EACrCC,UAAU,GAAG,IAAI;EACjBC,KAAK;EACLC,MAAM;EACNC,MAAM;EACNC,UAAU,GAAG,OAAO;EACpBC,KAAK;EACLC,WAAW;EACXC,QAAQ;EACRC;AACF,CAAC,KAAK;EACJ,MAAMC,QAAQ,GAAGpB,MAAM,CAAC,IAAIG,QAAQ,CAACkB,KAAK,CAAC,CAAC,CAAC,CAAC,CAACC,OAAO;EACtD,MAAM;IAAEV,KAAK,EAAEW,WAAW;IAAEV,MAAM,EAAEW;EAAa,CAAC,GAAGpB,mBAAmB,CAAC,CAAC;;EAE1E;EACA,MAAMqB,UAAU,GAAG3B,OAAO,CAAC,MAAM;IAC/B,IAAIa,UAAU,EAAE;MACd,OAAO;QAAEC,KAAK,EAAE,MAAe;QAAEC,MAAM,EAAE;MAAgB,CAAC;IAC5D;IACA,MAAMa,CAAC,GAAGd,KAAK,IAAIW,WA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8
+ import AuthHeader from "./AuthHeader/AuthHeader.js";
9
+ import ForgotPassword from "./ForgotPassword/ForgotPassword.js";
10
+ import AuthLoginShell from "./Login/AuthLoginShell.js";
11
+ import LoginWithEmail from "./Login/LoginWithEmail.js";
12
+ import LoginWithPhone from "./Login/LoginWithPhone.js";
13
+ import OTP from "./OTP/OTP.js";
14
+ import QrLogin from "./QrLogin/QrLogin.js";
15
+ import SignUp from "./SignUp/SignUp.js";
16
+ import { SplashScreen } from "./SplashScreen/SplashScreen.js";
17
+ const AuthTwo = {
18
+ AuthHeader,
19
+ LoginWithEmail,
20
+ LoginWithPhone,
21
+ SignUp,
22
+ OTP,
23
+ ForgotPassword,
24
+ SplashScreen,
25
+ QrLogin,
26
+ AuthLoginShell
27
+ };
28
+ export default AuthTwo;
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AuthHeader","ForgotPassword","AuthLoginShell","LoginWithEmail","LoginWithPhone","OTP","QrLogin","SignUp","SplashScreen","AuthTwo"],"sourceRoot":"../../../../../src","sources":["components/Auth/Two/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,UAAU,MAAM,4BAAyB;AAChD,OAAOC,cAAc,MAAM,oCAAiC;AAC5D,OAAOC,cAAc,MAAM,2BAAwB;AACnD,OAAOC,cAAc,MAAM,2BAAwB;AACnD,OAAOC,cAAc,MAAM,2BAAwB;AACnD,OAAOC,GAAG,MAAM,cAAW;AAC3B,OAAOC,OAAO,MAAM,sBAAmB;AACvC,OAAOC,MAAM,MAAM,oBAAiB;AACpC,SAASC,YAAY,QAAQ,gCAA6B;AAE1D,MAAMC,OAAO,GAAG;EACdT,UAAU;EACVG,cAAc;EACdC,cAAc;EACdG,MAAM;EACNF,GAAG;EACHJ,cAAc;EACdO,YAAY;EACZF,OAAO;EACPJ;AACF,CAAC;AAED,eAAeO,OAAO","ignoreList":[]}
@@ -1,27 +1,12 @@
1
1
  "use strict";
2
2
 
3
- /**
4
- * @author Naresh Dhamu
5
- * @lastModified Fri 13 Jun 2025 at 11:11 AM
6
- */
7
-
3
+ import AuthOne from "./One/index.js";
4
+ import AuthTwo from "./Two/index.js";
8
5
  import AuthProvider from "./AuthProvider/AuthProvider.js";
9
- import ForgotPassword from "./ForgotPassword/ForgotPassword.js";
10
- import LoginWithEmail from "./Login/LoginWithEmail.js";
11
- import LoginWithPhone from "./Login/LoginWithPhone.js";
12
- import OTP from "./OTP/OTP.js";
13
- import QrLogin from "./QrLogin/QrLogin.js";
14
- import SignUp from "./SignUp/SignUp.js";
15
- import { SplashScreen } from "./SplashScreen/SplashScreen.js";
16
- const Auth = {
17
- AuthProvider,
18
- LoginWithEmail,
19
- LoginWithPhone,
20
- SignUp,
21
- OTP,
22
- ForgotPassword,
23
- SplashScreen,
24
- QrLogin
6
+ export const Auth = {
7
+ One: AuthOne,
8
+ Two: AuthTwo,
9
+ AuthProvider: AuthProvider
25
10
  };
26
- export { Auth };
11
+ export { AuthOne, AuthTwo, AuthProvider };
27
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["AuthProvider","ForgotPassword","LoginWithEmail","LoginWithPhone","OTP","QrLogin","SignUp","SplashScreen","Auth"],"sourceRoot":"../../../../src","sources":["components/Auth/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,YAAY,MAAM,gCAA6B;AACtD,OAAOC,cAAc,MAAM,oCAAiC;AAC5D,OAAOC,cAAc,MAAM,2BAAwB;AACnD,OAAOC,cAAc,MAAM,2BAAwB;AACnD,OAAOC,GAAG,MAAM,cAAW;AAC3B,OAAOC,OAAO,MAAM,sBAAmB;AACvC,OAAOC,MAAM,MAAM,oBAAiB;AACpC,SAASC,YAAY,QAAQ,gCAA6B;AAE1D,MAAMC,IAAI,GAAG;EACXR,YAAY;EACZE,cAAc;EACdC,cAAc;EACdG,MAAM;EACNF,GAAG;EACHH,cAAc;EACdM,YAAY;EACZF;AACF,CAAC;AAED,SAASG,IAAI","ignoreList":[]}
1
+ {"version":3,"names":["AuthOne","AuthTwo","AuthProvider","Auth","One","Two"],"sourceRoot":"../../../../src","sources":["components/Auth/index.ts"],"mappings":";;AAAA,OAAOA,OAAO,MAAM,gBAAO;AAC3B,OAAOC,OAAO,MAAM,gBAAO;AAC3B,OAAOC,YAAY,MAAM,gCAA6B;AAEtD,OAAO,MAAMC,IAAI,GAAG;EAClBC,GAAG,EAAEJ,OAAO;EACZK,GAAG,EAAEJ,OAAO;EACZC,YAAY,EAAEA;AAChB,CAAC;AAED,SAASF,OAAO,EAAEC,OAAO,EAAEC,YAAY","ignoreList":[]}
@@ -5,6 +5,7 @@ import { View, StyleSheet, ImageBackground } from 'react-native';
5
5
  import LinearGradient from 'react-native-linear-gradient';
6
6
  import { useSplashCache } from "../../hooks/useSplashCache.js";
7
7
  import { useInternalTheme } from "../../theme/hook/index.js";
8
+ import { AppStatusBar } from "../common/AppStatusBar.js";
8
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
10
  const BackgroundLayoutComponent = props => {
10
11
  const {
@@ -66,9 +67,12 @@ const BackgroundLayoutComponent = props => {
66
67
  } : null], [innerContainerStyle, bgColor]);
67
68
  const showBackground = Boolean(backgroundImageUri && resolvedImageUri);
68
69
  if (showBackground) {
69
- return /*#__PURE__*/_jsx(View, {
70
+ return /*#__PURE__*/_jsxs(View, {
70
71
  style: containerStyle,
71
- children: /*#__PURE__*/_jsxs(ImageBackground, {
72
+ children: [/*#__PURE__*/_jsx(AppStatusBar, {
73
+ theme: themeOverride,
74
+ transparent: true
75
+ }), /*#__PURE__*/_jsxs(ImageBackground, {
72
76
  source: {
73
77
  uri: resolvedImageUri
74
78
  },
@@ -92,7 +96,7 @@ const BackgroundLayoutComponent = props => {
92
96
  style: innerContainerStyleMemo,
93
97
  children: children
94
98
  })]
95
- })
99
+ })]
96
100
  });
97
101
  }
98
102
  return /*#__PURE__*/_jsx(View, {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useMemo","useCallback","memo","View","StyleSheet","ImageBackground","LinearGradient","useSplashCache","useInternalTheme","jsx","_jsx","jsxs","_jsxs","BackgroundLayoutComponent","props","children","backgroundImage","backgroundImageUri","backgroundColor","bgColor","gradientSplitBackground","resizeMode","innerContainerStyle","onImageError","theme","themeOverride","data","backgroundPath","localPathBackground","backgroundUrl","undefined","resolvedImageUri","rawPath","isRemoteUrl","startsWith","colors","background","containerStyle","styles","container","handleImageLoadError","e","console","warn","nativeEvent","error","Error","gradientLocations","gradientColors","backgroundLayoutGradient","count","length","baseSteps","locations","map","step","Math","min","slice","last","Array","fill","imageContainerStyle","imageContainer","imageStyle","innerContainerStyleMemo","innerContainer","showBackground","Boolean","style","source","uri","onError","start","x","y","end","gradientOverlay","BackgroundLayout","create","flex","width","height","alignSelf","absoluteFillObject","pointerEvents","justifyContent","alignItems"],"sourceRoot":"../../../../src","sources":["components/BackgroundLayout/BackgroundLayout.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,WAAW,EAAEC,IAAI,QAAQ,OAAO;AACzD,SACEC,IAAI,EACJC,UAAU,EACVC,eAAe,QAGV,cAAc;AACrB,OAAOC,cAAc,MAAM,8BAA8B;AAEzD,SAASC,cAAc,QAAQ,+BAA4B;AAC3D,SAASC,gBAAgB,QAAQ,2BAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAapD,MAAMC,yBAA0D,GAAIC,KAAK,IAAK;EAC5E,MAAM;IACJC,QAAQ;IACRC,eAAe,EAAEC,kBAAkB;IACnCC,eAAe,EAAEC,OAAO;IACxBC,uBAAuB,GAAG,GAAG;IAC7BC,UAAU,GAAG,OAAO;IACpBC,mBAAmB;IACnBC,YAAY;IACZC,KAAK,EAAEC;EACT,CAAC,GAAGX,KAAK;EAET,MAAM;IAAEU;EAAM,CAAC,GAAGhB,gBAAgB,CAACiB,aAAa,CAAC;EACjD,MAAM;IACJC,IAAI,EAAE;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2E,MAAM,CAAC;EAC/BxC,SAAS,EAAE;IACTyC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE;EACV,CAAC;EACDnB,cAAc,EAAE;IACdiB,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE;EACV,CAAC;EACDlB,UAAU,EAAE;IACVkB,MAAM,EAAE,KAAK;IACbD,KAAK,EAAE,MAAM;IACbE,SAAS,EAAE;EACb,CAAe;EACfN,eAAe,EAAE;IACf,GAAGzE,UAAU,CAACgF,kBAAkB;IAChCC,aAAa,EAAE;EACjB,CAAC;EACDnB,cAAc,EAAE;IACdc,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,MAAM;IACbK,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useMemo","useCallback","memo","View","StyleSheet","ImageBackground","LinearGradient","useSplashCache","useInternalTheme","AppStatusBar","jsx","_jsx","jsxs","_jsxs","BackgroundLayoutComponent","props","children","backgroundImage","backgroundImageUri","backgroundColor","bgColor","gradientSplitBackground","resizeMode","innerContainerStyle","onImageError","theme","themeOverride","data","backgroundPath","localPathBackground","backgroundUrl","undefined","resolvedImageUri","rawPath","isRemoteUrl","startsWith","colors","background","containerStyle","styles","container","handleImageLoadError","e","console","warn","nativeEvent","error","Error","gradientLocations","gradientColors","backgroundLayoutGradient","count","length","baseSteps","locations","map","step","Math","min","slice","last","Array","fill","imageContainerStyle","imageContainer","imageStyle","innerContainerStyleMemo","innerContainer","showBackground","Boolean","style","transparent","source","uri","onError","start","x","y","end","gradientOverlay","BackgroundLayout","create","flex","width","height","alignSelf","absoluteFillObject","pointerEvents","justifyContent","alignItems"],"sourceRoot":"../../../../src","sources":["components/BackgroundLayout/BackgroundLayout.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,WAAW,EAAEC,IAAI,QAAQ,O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@@ -0,0 +1,52 @@
1
+ "use strict";
2
+
3
+ import React, { memo, useRef, useEffect } from 'react';
4
+ import { View, StyleSheet, Animated, ImageBackground } from 'react-native';
5
+ import LinearGradient from 'react-native-linear-gradient';
6
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
+ const IMAGE_URL = 'https://res.cloudinary.com/dm4uaqlio/image/upload/v1704380994/869671_zohjp9.png';
8
+ const BackgroundLayoutOne = ({
9
+ children
10
+ }) => {
11
+ const fadeAnim = useRef(new Animated.Value(0)).current;
12
+ useEffect(() => {
13
+ Animated.timing(fadeAnim, {
14
+ toValue: 1,
15
+ duration: 400,
16
+ useNativeDriver: true
17
+ }).start();
18
+ }, [fadeAnim]);
19
+ return /*#__PURE__*/_jsxs(View, {
20
+ style: styles.root,
21
+ children: [/*#__PURE__*/_jsx(ImageBackground, {
22
+ source: {
23
+ uri: IMAGE_URL
24
+ },
25
+ resizeMode: "cover",
26
+ style: StyleSheet.absoluteFillObject
27
+ }), /*#__PURE__*/_jsxs(Animated.View, {
28
+ style: [StyleSheet.absoluteFillObject, {
29
+ opacity: fadeAnim
30
+ }],
31
+ children: [/*#__PURE__*/_jsx(LinearGradient, {
32
+ colors: ['rgba(0,0,0,0.85)', 'rgba(0,0,0,0.6)', 'rgba(0,0,0,0.85)'],
33
+ style: StyleSheet.absoluteFillObject
34
+ }), /*#__PURE__*/_jsx(View, {
35
+ style: styles.content,
36
+ children: children
37
+ })]
38
+ })]
39
+ });
40
+ };
41
+ export default /*#__PURE__*/memo(BackgroundLayoutOne);
42
+ const styles = StyleSheet.create({
43
+ root: {
44
+ flex: 1,
45
+ backgroundColor: '#000'
46
+ },
47
+ content: {
48
+ flex: 1,
49
+ width: '100%'
50
+ }
51
+ });
52
+ //# sourceMappingURL=BackgroundLayoutOne.js.map