@zezosoft/zezo-ott-react-native-ui-kit 1.0.2 → 1.0.3

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 (466) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +6 -0
  3. package/lib/module/assets/animations/135037-payment-processing-error.json +1347 -1
  4. package/lib/module/assets/animations/7227-vui-animation.json +3377 -1
  5. package/lib/module/assets/animations/succesfull-payment.json +2379 -1
  6. package/lib/module/assets/animations/voice-icon.json +542 -1
  7. package/lib/module/components/Account/Account.js +6 -6
  8. package/lib/module/components/Account/Account.js.map +1 -1
  9. package/lib/module/components/Account/index.js +1 -1
  10. package/lib/module/components/Account/index.js.map +1 -1
  11. package/lib/module/components/Alert/UAAlert.js +138 -0
  12. package/lib/module/components/Alert/UAAlert.js.map +1 -0
  13. package/lib/module/components/Alert/index.js +4 -0
  14. package/lib/module/components/Alert/index.js.map +1 -0
  15. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +9 -9
  16. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -1
  17. package/lib/module/components/Auth/Login/LoginWithEmail.js +10 -10
  18. package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
  19. package/lib/module/components/Auth/Login/LoginWithPhone.js +10 -10
  20. package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -1
  21. package/lib/module/components/Auth/OTP/OTP.js +9 -9
  22. package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
  23. package/lib/module/components/Auth/SignUp/SignUp.js +10 -10
  24. package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
  25. package/lib/module/components/Auth/SplashScreen/SplashScreen.js +6 -6
  26. package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -1
  27. package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +1 -6
  28. package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
  29. package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +1 -1
  30. package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
  31. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +1 -1
  32. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
  33. package/lib/module/components/Auth/index.js +6 -6
  34. package/lib/module/components/Auth/index.js.map +1 -1
  35. package/lib/module/components/BackgroundLayout/BackgroundLayout.js +1 -1
  36. package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
  37. package/lib/module/components/BlogView/BlogView.js +4 -10
  38. package/lib/module/components/BlogView/BlogView.js.map +1 -1
  39. package/lib/module/components/BlogView/index.js +1 -1
  40. package/lib/module/components/BlogView/index.js.map +1 -1
  41. package/lib/module/components/Button/BackBtn.js +1 -1
  42. package/lib/module/components/Button/BackBtn.js.map +1 -1
  43. package/lib/module/components/Button/MenuBtn.js +1 -1
  44. package/lib/module/components/Button/MenuBtn.js.map +1 -1
  45. package/lib/module/components/Button/PrimaryBtn.js +2 -2
  46. package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
  47. package/lib/module/components/Button/TextButton.js +2 -2
  48. package/lib/module/components/Button/TextButton.js.map +1 -1
  49. package/lib/module/components/Button/index.js +3 -3
  50. package/lib/module/components/Button/index.js.map +1 -1
  51. package/lib/module/components/Content/Card/Category/Category.js +2 -2
  52. package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
  53. package/lib/module/components/Content/Card/NowWatching/NowWatching.js +6 -6
  54. package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
  55. package/lib/module/components/Content/Card/Sliders/Styles/One.js +3 -3
  56. package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
  57. package/lib/module/components/Content/Card/Sliders/Styles/Two.js +4 -4
  58. package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
  59. package/lib/module/components/Content/Card/Sliders/index.js +2 -2
  60. package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
  61. package/lib/module/components/Content/Card/Styles/Five.js +4 -4
  62. package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
  63. package/lib/module/components/Content/Card/Styles/Four.js +4 -4
  64. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  65. package/lib/module/components/Content/Card/Styles/One.js +4 -4
  66. package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
  67. package/lib/module/components/Content/Card/Styles/RotateInOut.js +4 -4
  68. package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
  69. package/lib/module/components/Content/Card/Styles/Six.js +5 -5
  70. package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
  71. package/lib/module/components/Content/Card/Styles/Three.js +4 -4
  72. package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
  73. package/lib/module/components/Content/Card/Styles/TopTen.js +5 -5
  74. package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
  75. package/lib/module/components/Content/Card/Styles/Two.js +4 -4
  76. package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
  77. package/lib/module/components/Content/Card/components/CardPoster.js +1 -10
  78. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  79. package/lib/module/components/Content/Card/components/NavigateToMore.js +2 -2
  80. package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
  81. package/lib/module/components/Content/Card/components/NoContentFallback.js +3 -3
  82. package/lib/module/components/Content/Card/components/NoContentFallback.js.map +1 -1
  83. package/lib/module/components/Content/Card/components/ShowAllButton.js +1 -1
  84. package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -1
  85. package/lib/module/components/Content/Card/components/ThumbnailCard.js +1 -1
  86. package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -1
  87. package/lib/module/components/Content/Card/index.js +10 -10
  88. package/lib/module/components/Content/Card/index.js.map +1 -1
  89. package/lib/module/components/Content/Content.js +4 -4
  90. package/lib/module/components/Content/Content.js.map +1 -1
  91. package/lib/module/components/Content/Sections.js +2 -2
  92. package/lib/module/components/Content/Sections.js.map +1 -1
  93. package/lib/module/components/ContentView/ContentView.js +8 -9
  94. package/lib/module/components/ContentView/ContentView.js.map +1 -1
  95. package/lib/module/components/ContentView/MoreContentList.js +6 -6
  96. package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
  97. package/lib/module/components/ContentView/components/AboutSection.js +2 -2
  98. package/lib/module/components/ContentView/components/AboutSection.js.map +1 -1
  99. package/lib/module/components/ContentView/components/CastCard.js +2 -2
  100. package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
  101. package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
  102. package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
  103. package/lib/module/components/ContentView/components/GenreTags.js +1 -1
  104. package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
  105. package/lib/module/components/ContentView/components/HeroBanner.js +5 -5
  106. package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -1
  107. package/lib/module/components/ContentView/components/PlayButton.js +0 -1
  108. package/lib/module/components/ContentView/components/PlayButton.js.map +1 -1
  109. package/lib/module/components/ContentView/components/Title.js +1 -1
  110. package/lib/module/components/ContentView/components/Title.js.map +1 -1
  111. package/lib/module/components/ContentView/components/TrailerButton.js +1 -2
  112. package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -1
  113. package/lib/module/components/ContentView/index.js +2 -2
  114. package/lib/module/components/ContentView/index.js.map +1 -1
  115. package/lib/module/components/Headers/AppHeader.js +2 -2
  116. package/lib/module/components/Headers/AppHeader.js.map +1 -1
  117. package/lib/module/components/Headers/One.js +2 -2
  118. package/lib/module/components/Headers/One.js.map +1 -1
  119. package/lib/module/components/Headers/Three.js +2 -2
  120. package/lib/module/components/Headers/Three.js.map +1 -1
  121. package/lib/module/components/Headers/Two.js +5 -6
  122. package/lib/module/components/Headers/Two.js.map +1 -1
  123. package/lib/module/components/Headers/index.js +3 -3
  124. package/lib/module/components/Headers/index.js.map +1 -1
  125. package/lib/module/components/Input/Input.js +3 -3
  126. package/lib/module/components/Input/Input.js.map +1 -1
  127. package/lib/module/components/Input/InputOne.js +1 -1
  128. package/lib/module/components/Input/InputOne.js.map +1 -1
  129. package/lib/module/components/Input/InputTwo.js +1 -1
  130. package/lib/module/components/Input/InputTwo.js.map +1 -1
  131. package/lib/module/components/Input/PhoneNumberInput.js +1 -1
  132. package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
  133. package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -1
  134. package/lib/module/components/Loader/Loader.js +1 -6
  135. package/lib/module/components/Loader/Loader.js.map +1 -1
  136. package/lib/module/components/Logo/Logo.js +2 -2
  137. package/lib/module/components/Logo/Logo.js.map +1 -1
  138. package/lib/module/components/Search/One.js +9 -9
  139. package/lib/module/components/Search/One.js.map +1 -1
  140. package/lib/module/components/Search/components/RecentSearchesSection.js +1 -1
  141. package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -1
  142. package/lib/module/components/Search/components/SearchCard.js +3 -3
  143. package/lib/module/components/Search/components/SearchCard.js.map +1 -1
  144. package/lib/module/components/Search/index.js +2 -2
  145. package/lib/module/components/Search/index.js.map +1 -1
  146. package/lib/module/components/Settings/AppSettings.js +4 -4
  147. package/lib/module/components/Settings/AppSettings.js.map +1 -1
  148. package/lib/module/components/Settings/index.js +1 -1
  149. package/lib/module/components/Settings/index.js.map +1 -1
  150. package/lib/module/components/Subscription/SubOne.js +4 -4
  151. package/lib/module/components/Subscription/SubOne.js.map +1 -1
  152. package/lib/module/components/Subscription/index.js +1 -1
  153. package/lib/module/components/Subscription/index.js.map +1 -1
  154. package/lib/module/components/TabBar/One.js +2 -2
  155. package/lib/module/components/TabBar/One.js.map +1 -1
  156. package/lib/module/components/TabBar/Three.js +1 -1
  157. package/lib/module/components/TabBar/Three.js.map +1 -1
  158. package/lib/module/components/TabBar/Two.js +2 -2
  159. package/lib/module/components/TabBar/Two.js.map +1 -1
  160. package/lib/module/components/TabBar/index.js +3 -3
  161. package/lib/module/components/TabBar/index.js.map +1 -1
  162. package/lib/module/components/Text/Text.js +1 -1
  163. package/lib/module/components/Text/Text.js.map +1 -1
  164. package/lib/module/components/Text/index.js +1 -1
  165. package/lib/module/components/Text/index.js.map +1 -1
  166. package/lib/module/components/User/DeviceSessions/DeviceSessions.js +3 -3
  167. package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
  168. package/lib/module/components/User/WatchHistory/WatchHistory.js +4 -4
  169. package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
  170. package/lib/module/components/User/WatchLater/WatchLater.js +5 -5
  171. package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
  172. package/lib/module/components/User/components/UserAvatar.js +1 -1
  173. package/lib/module/components/User/components/UserAvatar.js.map +1 -1
  174. package/lib/module/components/User/components/UserSection.js +3 -3
  175. package/lib/module/components/User/components/UserSection.js.map +1 -1
  176. package/lib/module/components/User/index.js +3 -3
  177. package/lib/module/components/User/index.js.map +1 -1
  178. package/lib/module/components/View/View.js.map +1 -1
  179. package/lib/module/components/View/index.js +1 -1
  180. package/lib/module/components/View/index.js.map +1 -1
  181. package/lib/module/components/index.js +19 -18
  182. package/lib/module/components/index.js.map +1 -1
  183. package/lib/module/components/layout/SafeAreaWrapper.js +1 -1
  184. package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
  185. package/lib/module/components/layout/index.js +1 -1
  186. package/lib/module/components/layout/index.js.map +1 -1
  187. package/lib/module/constants/dummySections.js.map +1 -1
  188. package/lib/module/hooks/useDebounce.js.map +1 -1
  189. package/lib/module/hooks/useInitSplashCacheSync.js +7 -7
  190. package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -1
  191. package/lib/module/hooks/useKeyboard.js.map +1 -1
  192. package/lib/module/hooks/usePaginatedSection.js.map +1 -1
  193. package/lib/module/index.js +3 -3
  194. package/lib/module/index.js.map +1 -1
  195. package/lib/module/package.json +1 -0
  196. package/lib/module/store/RecentSearchesStore.js.map +1 -1
  197. package/lib/module/store/splashStore.js.map +1 -1
  198. package/lib/module/theme/ThemeProvider.js +11 -8
  199. package/lib/module/theme/ThemeProvider.js.map +1 -1
  200. package/lib/module/theme/hook/useTheme.js +2 -2
  201. package/lib/module/theme/hook/useTheme.js.map +1 -1
  202. package/lib/module/theme/index.js +3 -2
  203. package/lib/module/theme/index.js.map +1 -1
  204. package/lib/module/theme/themes.js +0 -13
  205. package/lib/module/theme/themes.js.map +1 -1
  206. package/lib/typescript/package.json +1 -0
  207. package/lib/typescript/src/components/Account/Account.d.ts +0 -1
  208. package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
  209. package/lib/typescript/src/components/Alert/UAAlert.d.ts +16 -0
  210. package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -0
  211. package/lib/typescript/src/components/Alert/index.d.ts +2 -0
  212. package/lib/typescript/src/components/Alert/index.d.ts.map +1 -0
  213. package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -1
  214. package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -1
  215. package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -1
  216. package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -1
  217. package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -1
  218. package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -1
  219. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts +0 -4
  220. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -1
  221. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
  222. package/lib/typescript/src/components/Auth/index.d.ts +1 -1
  223. package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
  224. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
  225. package/lib/typescript/src/components/BlogView/BlogView.d.ts +0 -4
  226. package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
  227. package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
  228. package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
  229. package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
  230. package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
  231. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +1 -1
  232. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
  233. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
  234. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
  235. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
  236. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
  237. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  238. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
  239. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
  240. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
  241. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
  242. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
  243. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
  244. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +0 -8
  245. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
  246. package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
  247. package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +1 -2
  248. package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +1 -1
  249. package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -1
  250. package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -1
  251. package/lib/typescript/src/components/Content/Card/index.d.ts +2 -2
  252. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  253. package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
  254. package/lib/typescript/src/components/ContentView/ContentView.d.ts +1 -2
  255. package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -1
  256. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
  257. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -2
  258. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
  259. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -6
  260. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
  261. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -2
  262. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
  263. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
  264. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
  265. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +1 -2
  266. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -1
  267. package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +1 -2
  268. package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +1 -1
  269. package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
  270. package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
  271. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +1 -2
  272. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -1
  273. package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
  274. package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
  275. package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
  276. package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
  277. package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
  278. package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
  279. package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
  280. package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -1
  281. package/lib/typescript/src/components/Loader/Loader.d.ts +0 -4
  282. package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
  283. package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
  284. package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
  285. package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts.map +1 -1
  286. package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
  287. package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
  288. package/lib/typescript/src/components/Subscription/SubOne.d.ts +1 -1
  289. package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
  290. package/lib/typescript/src/components/Subscription/index.d.ts +2 -2
  291. package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
  292. package/lib/typescript/src/components/TabBar/One.d.ts +2 -2
  293. package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
  294. package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
  295. package/lib/typescript/src/components/TabBar/Two.d.ts +1 -1
  296. package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
  297. package/lib/typescript/src/components/TabBar/index.d.ts +2 -2
  298. package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
  299. package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +1 -1
  300. package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -1
  301. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
  302. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
  303. package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -1
  304. package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
  305. package/lib/typescript/src/components/View/View.d.ts.map +1 -1
  306. package/lib/typescript/src/components/index.d.ts +1 -0
  307. package/lib/typescript/src/components/index.d.ts.map +1 -1
  308. package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -1
  309. package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
  310. package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -1
  311. package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts +1 -1
  312. package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts.map +1 -1
  313. package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -1
  314. package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
  315. package/lib/typescript/src/index.d.ts.map +1 -1
  316. package/lib/typescript/src/store/RecentSearchesStore.d.ts +5 -3
  317. package/lib/typescript/src/store/RecentSearchesStore.d.ts.map +1 -1
  318. package/lib/typescript/src/store/splashStore.d.ts +5 -3
  319. package/lib/typescript/src/store/splashStore.d.ts.map +1 -1
  320. package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
  321. package/lib/typescript/src/theme/hook/useTheme.d.ts.map +1 -1
  322. package/lib/typescript/src/theme/index.d.ts +5 -0
  323. package/lib/typescript/src/theme/index.d.ts.map +1 -1
  324. package/lib/typescript/src/theme/themes.d.ts +11 -4
  325. package/lib/typescript/src/theme/themes.d.ts.map +1 -1
  326. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  327. package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +1 -1
  328. package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -1
  329. package/package.json +167 -70
  330. package/src/Styles/globalStyles.ts +18 -18
  331. package/src/assets/animations/135037-payment-processing-error.json +1347 -1
  332. package/src/assets/animations/7227-vui-animation.json +3377 -1
  333. package/src/assets/animations/succesfull-payment.json +2379 -1
  334. package/src/assets/animations/voice-icon.json +542 -1
  335. package/src/components/Account/Account.tsx +139 -61
  336. package/src/components/Alert/UAAlert.tsx +168 -0
  337. package/src/components/Alert/index.ts +1 -0
  338. package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +53 -23
  339. package/src/components/Auth/Login/LoginWithEmail.tsx +62 -32
  340. package/src/components/Auth/Login/LoginWithPhone.tsx +55 -24
  341. package/src/components/Auth/OTP/OTP.tsx +77 -32
  342. package/src/components/Auth/SignUp/SignUp.tsx +67 -32
  343. package/src/components/Auth/SplashScreen/SplashScreen.tsx +44 -16
  344. package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +21 -12
  345. package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +5 -5
  346. package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +15 -5
  347. package/src/components/Auth/index.ts +1 -1
  348. package/src/components/BackgroundLayout/BackgroundLayout.tsx +45 -17
  349. package/src/components/BlogView/BlogView.tsx +51 -31
  350. package/src/components/Button/BackBtn.tsx +31 -9
  351. package/src/components/Button/MenuBtn.tsx +61 -22
  352. package/src/components/Button/PrimaryBtn.tsx +30 -10
  353. package/src/components/Button/TextButton.tsx +30 -15
  354. package/src/components/Button/index.ts +1 -1
  355. package/src/components/Content/Card/Category/Category.tsx +73 -32
  356. package/src/components/Content/Card/NowWatching/NowWatching.tsx +102 -44
  357. package/src/components/Content/Card/Sliders/Styles/One.tsx +89 -38
  358. package/src/components/Content/Card/Sliders/Styles/Two.tsx +47 -21
  359. package/src/components/Content/Card/Sliders/index.ts +2 -2
  360. package/src/components/Content/Card/Styles/Five.tsx +65 -22
  361. package/src/components/Content/Card/Styles/Four.tsx +73 -23
  362. package/src/components/Content/Card/Styles/One.tsx +68 -21
  363. package/src/components/Content/Card/Styles/RotateInOut.tsx +59 -23
  364. package/src/components/Content/Card/Styles/Six.tsx +57 -19
  365. package/src/components/Content/Card/Styles/Three.tsx +59 -23
  366. package/src/components/Content/Card/Styles/TopTen.tsx +59 -26
  367. package/src/components/Content/Card/Styles/Two.tsx +39 -18
  368. package/src/components/Content/Card/components/CardPoster.tsx +34 -32
  369. package/src/components/Content/Card/components/NavigateToMore.tsx +17 -7
  370. package/src/components/Content/Card/components/NoContentFallback.tsx +36 -19
  371. package/src/components/Content/Card/components/ShowAllButton.tsx +12 -8
  372. package/src/components/Content/Card/components/ThumbnailCard.tsx +26 -17
  373. package/src/components/Content/Card/index.ts +2 -2
  374. package/src/components/Content/Content.tsx +41 -17
  375. package/src/components/Content/Sections.tsx +14 -8
  376. package/src/components/ContentView/ContentView.tsx +34 -27
  377. package/src/components/ContentView/MoreContentList.tsx +40 -18
  378. package/src/components/ContentView/components/AboutSection.tsx +30 -12
  379. package/src/components/ContentView/components/CastCard.tsx +65 -24
  380. package/src/components/ContentView/components/EpisodeCard.tsx +109 -44
  381. package/src/components/ContentView/components/GenreTags.tsx +35 -11
  382. package/src/components/ContentView/components/HeroBanner.tsx +52 -21
  383. package/src/components/ContentView/components/PlayButton.tsx +13 -5
  384. package/src/components/ContentView/components/Title.tsx +30 -10
  385. package/src/components/ContentView/components/TrailerButton.tsx +16 -7
  386. package/src/components/Headers/AppHeader.tsx +40 -14
  387. package/src/components/Headers/One.tsx +18 -9
  388. package/src/components/Headers/Three.tsx +22 -7
  389. package/src/components/Headers/Two.tsx +24 -13
  390. package/src/components/Headers/index.ts +1 -1
  391. package/src/components/Input/Input.ts +1 -1
  392. package/src/components/Input/InputOne.tsx +69 -23
  393. package/src/components/Input/InputTwo.tsx +41 -18
  394. package/src/components/Input/PhoneNumberInput.tsx +94 -48
  395. package/src/components/Keyboard/HideKeyboard.tsx +16 -10
  396. package/src/components/Loader/Loader.tsx +3 -8
  397. package/src/components/Logo/Logo.tsx +17 -9
  398. package/src/components/Search/One.tsx +46 -17
  399. package/src/components/Search/components/RecentSearchesSection.tsx +48 -21
  400. package/src/components/Search/components/SearchCard.tsx +34 -16
  401. package/src/components/Search/index.ts +1 -1
  402. package/src/components/Settings/AppSettings.tsx +80 -29
  403. package/src/components/Subscription/SubOne.tsx +84 -39
  404. package/src/components/Subscription/index.ts +1 -1
  405. package/src/components/TabBar/One.tsx +22 -18
  406. package/src/components/TabBar/Three.tsx +55 -19
  407. package/src/components/TabBar/Two.tsx +16 -12
  408. package/src/components/TabBar/index.ts +1 -1
  409. package/src/components/Text/Text.tsx +7 -3
  410. package/src/components/User/DeviceSessions/DeviceSessions.tsx +93 -38
  411. package/src/components/User/WatchHistory/WatchHistory.tsx +37 -12
  412. package/src/components/User/WatchLater/WatchLater.tsx +94 -31
  413. package/src/components/User/components/UserAvatar.tsx +8 -4
  414. package/src/components/User/components/UserSection.tsx +34 -19
  415. package/src/components/View/View.tsx +11 -2
  416. package/src/components/index.ts +1 -0
  417. package/src/components/layout/SafeAreaWrapper.tsx +10 -4
  418. package/src/constants/dummySections.ts +9 -7
  419. package/src/hooks/useDebounce.ts +4 -1
  420. package/src/hooks/useInitSplashCacheSync.ts +46 -18
  421. package/src/hooks/useKeyboard.ts +5 -3
  422. package/src/hooks/usePaginatedSection.ts +11 -7
  423. package/src/store/RecentSearchesStore.ts +12 -7
  424. package/src/store/splashStore.ts +16 -16
  425. package/src/theme/ThemeProvider.tsx +50 -20
  426. package/src/theme/hook/useTheme.ts +7 -3
  427. package/src/theme/index.ts +6 -0
  428. package/src/theme/themes.ts +42 -31
  429. package/src/types/content/content-view.types.ts +4 -1
  430. package/src/types/hook/usePaginatedSetion.ts +1 -1
  431. package/lib/module/components/Icons/AlertIcon.js +0 -33
  432. package/lib/module/components/Icons/AlertIcon.js.map +0 -1
  433. package/lib/module/components/Icons/DeviceIcon.js +0 -25
  434. package/lib/module/components/Icons/DeviceIcon.js.map +0 -1
  435. package/lib/module/components/Icons/DoneIcon/DoneIcon.js +0 -23
  436. package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +0 -1
  437. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +0 -65
  438. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +0 -1
  439. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +0 -56
  440. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +0 -1
  441. package/lib/module/components/Icons/NewIndex.js +0 -36
  442. package/lib/module/components/Icons/NewIndex.js.map +0 -1
  443. package/lib/module/components/Icons/ResendOTP.js +0 -21
  444. package/lib/module/components/Icons/ResendOTP.js.map +0 -1
  445. package/lib/typescript/src/components/Icons/AlertIcon.d.ts +0 -7
  446. package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +0 -1
  447. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +0 -7
  448. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +0 -1
  449. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +0 -6
  450. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +0 -1
  451. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +0 -3
  452. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +0 -1
  453. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +0 -3
  454. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +0 -1
  455. package/lib/typescript/src/components/Icons/NewIndex.d.ts +0 -19
  456. package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +0 -1
  457. package/lib/typescript/src/components/Icons/ResendOTP.d.ts +0 -7
  458. package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +0 -1
  459. package/src/components/Icons/AlertIcon.tsx +0 -18
  460. package/src/components/Icons/DeviceIcon.tsx +0 -18
  461. package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -17
  462. package/src/components/Icons/ForgotPasswordMessageIcon.tsx +0 -34
  463. package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +0 -32
  464. package/src/components/Icons/NewIndex.ts +0 -35
  465. package/src/components/Icons/ResendOTP.tsx +0 -13
  466. /package/src/{index.ts → index.tsx} +0 -0
@@ -3,7 +3,12 @@
3
3
  * @LastModified Mon 30 Jun 2025 at 11:30 PM
4
4
  */
5
5
  import React, { memo, useCallback, useMemo, useState } from 'react';
6
- import { View, TouchableOpacity, StyleSheet, type AccessibilityProps } from 'react-native';
6
+ import {
7
+ View,
8
+ TouchableOpacity,
9
+ StyleSheet,
10
+ type AccessibilityProps,
11
+ } from 'react-native';
7
12
  import Carousel from 'react-native-reanimated-carousel';
8
13
  import { scale, verticalScale } from 'react-native-size-matters';
9
14
  import FastImage from 'react-native-fast-image';
@@ -35,7 +40,7 @@ const SliderTwo: React.FC<SliderTwoProps> = ({
35
40
  skeletonCount = 3,
36
41
  accessibilityLabel = 'Full Width Slider',
37
42
  accessibilityHint = 'Swipe to view content',
38
- theme
43
+ theme,
39
44
  }) => {
40
45
  const { theme: appliedTheme } = useTheme(theme);
41
46
  const contentData = useMemo(() => data?.data ?? [], [data]);
@@ -96,7 +101,11 @@ const SliderTwo: React.FC<SliderTwoProps> = ({
96
101
  highlightColor={appliedTheme.colors.skeletonHighlightColor}
97
102
  speed={2000}
98
103
  >
99
- <SkeletonPlaceholder.Item width={scale(18)} height={scale(8)} borderRadius={scale(50)} />
104
+ <SkeletonPlaceholder.Item
105
+ width={scale(18)}
106
+ height={scale(8)}
107
+ borderRadius={scale(50)}
108
+ />
100
109
  </SkeletonPlaceholder>
101
110
  ) : i === activeIndex ? (
102
111
  <LinearGradient
@@ -106,7 +115,12 @@ const SliderTwo: React.FC<SliderTwoProps> = ({
106
115
  style={styles.activeIndicator}
107
116
  />
108
117
  ) : (
109
- <View style={[styles.inactiveIndicator, { backgroundColor: appliedTheme.colors.onSurface }]} />
118
+ <View
119
+ style={[
120
+ styles.inactiveIndicator,
121
+ { backgroundColor: appliedTheme.colors.onSurface },
122
+ ]}
123
+ />
110
124
  )}
111
125
  </View>
112
126
  ),
@@ -116,7 +130,7 @@ const SliderTwo: React.FC<SliderTwoProps> = ({
116
130
  appliedTheme.colors.skeletonHighlightColor,
117
131
  appliedTheme.colors.onSurface,
118
132
  activeIndex,
119
- gradientColors
133
+ gradientColors,
120
134
  ]
121
135
  );
122
136
 
@@ -129,7 +143,11 @@ const SliderTwo: React.FC<SliderTwoProps> = ({
129
143
  }
130
144
 
131
145
  return (
132
- <View style={styles.container} accessibilityLabel={accessibilityLabel} accessibilityHint={accessibilityHint}>
146
+ <View
147
+ style={styles.container}
148
+ accessibilityLabel={accessibilityLabel}
149
+ accessibilityHint={accessibilityHint}
150
+ >
133
151
  <Carousel
134
152
  width={FULL_WIDTH}
135
153
  height={FULL_HEIGHT}
@@ -137,13 +155,21 @@ const SliderTwo: React.FC<SliderTwoProps> = ({
137
155
  loop={!isLoading && contentData.length > 1}
138
156
  scrollAnimationDuration={1000}
139
157
  autoPlayInterval={3000}
140
- data={isLoading ? (Array.from({ length: skeletonCount }) as IContentData[]) : contentData}
158
+ data={
159
+ isLoading
160
+ ? (Array.from({ length: skeletonCount }) as IContentData[])
161
+ : contentData
162
+ }
141
163
  renderItem={isLoading ? renderSkeletonItem : renderCarouselItem}
142
164
  onSnapToItem={handleSnapToItem}
143
- onConfigurePanGesture={(gesture: any) => gesture.activeOffsetX([-10, 10]).failOffsetY([-5, 5])}
165
+ onConfigurePanGesture={(gesture: any) =>
166
+ gesture.activeOffsetX([-10, 10]).failOffsetY([-5, 5])
167
+ }
144
168
  />
145
169
  <View style={styles.indicatorContainer}>
146
- <View style={styles.indicator}>{Array.from({ length: contentData.length }, renderIndicator)}</View>
170
+ <View style={styles.indicator}>
171
+ {Array.from({ length: contentData.length }, renderIndicator)}
172
+ </View>
147
173
  </View>
148
174
  </View>
149
175
  );
@@ -152,14 +178,14 @@ const SliderTwo: React.FC<SliderTwoProps> = ({
152
178
  const styles = StyleSheet.create({
153
179
  container: {
154
180
  flex: 1,
155
- marginVertical: verticalScale(6)
181
+ marginVertical: verticalScale(6),
156
182
  },
157
183
  itemWrapper: {
158
- overflow: 'hidden'
184
+ overflow: 'hidden',
159
185
  },
160
186
  image: {
161
187
  width: FULL_WIDTH,
162
- height: FULL_HEIGHT
188
+ height: FULL_HEIGHT,
163
189
  },
164
190
  gradientBottomOverlay: {
165
191
  position: 'absolute',
@@ -167,44 +193,44 @@ const styles = StyleSheet.create({
167
193
  left: 0,
168
194
  right: 0,
169
195
  height: verticalScale(120),
170
- zIndex: 2
196
+ zIndex: 2,
171
197
  },
172
198
  indicatorContainer: {
173
199
  alignItems: 'center',
174
200
  justifyContent: 'center',
175
201
  width: '100%',
176
- marginTop: verticalScale(10)
202
+ marginTop: verticalScale(10),
177
203
  },
178
204
  indicator: {
179
205
  flexDirection: 'row',
180
206
  alignItems: 'center',
181
- gap: scale(6)
207
+ gap: scale(6),
182
208
  },
183
209
  indicatorWrapper: {
184
210
  alignItems: 'center',
185
- justifyContent: 'center'
211
+ justifyContent: 'center',
186
212
  },
187
213
  activeIndicator: {
188
214
  width: scale(18),
189
215
  height: scale(8),
190
- borderRadius: scale(50)
216
+ borderRadius: scale(50),
191
217
  },
192
218
  inactiveIndicator: {
193
219
  width: scale(8),
194
220
  height: scale(8),
195
- borderRadius: scale(50)
221
+ borderRadius: scale(50),
196
222
  },
197
223
  emptyState: {
198
224
  padding: scale(12),
199
225
  alignItems: 'center',
200
- justifyContent: 'center'
226
+ justifyContent: 'center',
201
227
  },
202
228
  emptyText: {
203
229
  fontSize: RFValue(13),
204
230
  fontWeight: '500',
205
231
  color: '#fff',
206
- textAlign: 'center'
207
- }
232
+ textAlign: 'center',
233
+ },
208
234
  });
209
235
 
210
236
  export default memo(SliderTwo);
@@ -8,8 +8,8 @@ import SliderTwo from './Styles/Two';
8
8
  const Sliders = {
9
9
  Styles: {
10
10
  One: SliderOne,
11
- Two: SliderTwo
12
- }
11
+ Two: SliderTwo,
12
+ },
13
13
  };
14
14
 
15
15
  export default Sliders;
@@ -14,7 +14,7 @@ import {
14
14
  type ViewStyle,
15
15
  type TextStyle,
16
16
  type AccessibilityProps,
17
- type ListRenderItemInfo
17
+ type ListRenderItemInfo,
18
18
  } from 'react-native';
19
19
  import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
20
20
  import { moderateScale, verticalScale } from 'react-native-size-matters';
@@ -25,7 +25,12 @@ import NavigateToMore from '../components/NavigateToMore';
25
25
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
26
26
  import { useTheme } from '../../../../theme/hook/useTheme';
27
27
  import type { AppTheme, ITheme } from '../../../../theme/themes';
28
- import type { IContentData, IGetSectionData, ISectionContent, MoreFetchData } from '../../../../types';
28
+ import type {
29
+ IContentData,
30
+ IGetSectionData,
31
+ ISectionContent,
32
+ MoreFetchData,
33
+ } from '../../../../types';
29
34
  import { RFValue } from 'react-native-responsive-fontsize';
30
35
 
31
36
  const DEFAULT_ITEM_WIDTH = moderateScale(140);
@@ -45,7 +50,10 @@ type MovieCardFiveProps = {
45
50
  name: IGetSectionData['name'];
46
51
  type: IGetSectionData['type'];
47
52
  }) => void;
48
- renderItemImage?: (params: { item: IContentData; index: number }) => React.ReactNode;
53
+ renderItemImage?: (params: {
54
+ item: IContentData;
55
+ index: number;
56
+ }) => React.ReactNode;
49
57
  itemWidth?: number;
50
58
  borderRadius?: number;
51
59
  skeletonCount?: number;
@@ -73,7 +81,7 @@ const MovieCardFive: React.FC<MovieCardFiveProps> = ({
73
81
  itemStyle,
74
82
  isLoading = false,
75
83
  accessibilityLabel,
76
- accessibilityHint
84
+ accessibilityHint,
77
85
  }) => {
78
86
  const { theme: appliedTheme } = useTheme(theme);
79
87
  const flatListRef = useRef<FlatList<IContentData>>(null);
@@ -87,16 +95,28 @@ const MovieCardFive: React.FC<MovieCardFiveProps> = ({
87
95
  data,
88
96
  pagination,
89
97
  loading: isPaginating,
90
- loadMoreData
91
- } = usePaginatedSection(section_id, moreFetchData, initialData?.data, isLoading);
92
- const handleItemPress = useCallback((item: IContentData) => onPressItem?.(item), [onPressItem]);
98
+ loadMoreData,
99
+ } = usePaginatedSection(
100
+ section_id,
101
+ moreFetchData,
102
+ initialData?.data,
103
+ isLoading
104
+ );
105
+ const handleItemPress = useCallback(
106
+ (item: IContentData) => onPressItem?.(item),
107
+ [onPressItem]
108
+ );
93
109
 
94
110
  const handlePressMore = useCallback(() => {
95
111
  onPressMore?.({ section_id, name: title, type });
96
112
  }, [onPressMore, section_id, title, type]);
97
113
 
98
114
  const handleEndReached = useCallback(() => {
99
- if (!onEndReachedCalledDuringMomentum.current && pagination?.hasNextPage && pagination?.nextPage) {
115
+ if (
116
+ !onEndReachedCalledDuringMomentum.current &&
117
+ pagination?.hasNextPage &&
118
+ pagination?.nextPage
119
+ ) {
100
120
  onEndReachedCalledDuringMomentum.current = true;
101
121
  loadMoreData(pagination.nextPage);
102
122
  }
@@ -105,7 +125,11 @@ const MovieCardFive: React.FC<MovieCardFiveProps> = ({
105
125
  const renderItem = useCallback(
106
126
  ({ item, index }: ListRenderItemInfo<IContentData>) => {
107
127
  return (
108
- <TouchableOpacity style={[styles.item, itemStyle]} onPress={() => handleItemPress(item)} activeOpacity={0.8}>
128
+ <TouchableOpacity
129
+ style={[styles.item, itemStyle]}
130
+ onPress={() => handleItemPress(item)}
131
+ activeOpacity={0.8}
132
+ >
109
133
  {renderItemImage ? (
110
134
  renderItemImage({ item, index })
111
135
  ) : (
@@ -121,7 +145,16 @@ const MovieCardFive: React.FC<MovieCardFiveProps> = ({
121
145
  </TouchableOpacity>
122
146
  );
123
147
  },
124
- [styles.item, styles.image, itemStyle, renderItemImage, appliedTheme, borderRadius, isLoading, handleItemPress]
148
+ [
149
+ styles.item,
150
+ styles.image,
151
+ itemStyle,
152
+ renderItemImage,
153
+ appliedTheme,
154
+ borderRadius,
155
+ isLoading,
156
+ handleItemPress,
157
+ ]
125
158
  );
126
159
  if (!initialData) {
127
160
  return null;
@@ -165,9 +198,13 @@ const MovieCardFive: React.FC<MovieCardFiveProps> = ({
165
198
  />
166
199
  </SkeletonPlaceholder>
167
200
 
168
- <ScrollView horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={styles.skeletonList}>
201
+ <ScrollView
202
+ horizontal
203
+ showsHorizontalScrollIndicator={false}
204
+ contentContainerStyle={styles.skeletonList}
205
+ >
169
206
  {Array.from({
170
- length: isPaginating ? 1 : skeletonCount
207
+ length: isPaginating ? 1 : skeletonCount,
171
208
  }).map((_, index) => renderSkeletonItem({ index }))}
172
209
  </ScrollView>
173
210
  </>
@@ -176,7 +213,11 @@ const MovieCardFive: React.FC<MovieCardFiveProps> = ({
176
213
  <NavigateToMore
177
214
  title={title}
178
215
  onPress={handlePressMore}
179
- titleStyle={[styles.title, { color: appliedTheme.colors.textPrimary }, titleStyle]}
216
+ titleStyle={[
217
+ styles.title,
218
+ { color: appliedTheme.colors.textPrimary },
219
+ titleStyle,
220
+ ]}
180
221
  containerStyle={styles.navigateToMoreContainer}
181
222
  showAllProps={{ iconColor: appliedTheme.colors.textPrimary }}
182
223
  />
@@ -197,7 +238,9 @@ const MovieCardFive: React.FC<MovieCardFiveProps> = ({
197
238
  onMomentumScrollBegin={() => {
198
239
  onEndReachedCalledDuringMomentum.current = false;
199
240
  }}
200
- ListFooterComponent={isPaginating ? renderSkeletonItem({ index: 0 }) : null}
241
+ ListFooterComponent={
242
+ isPaginating ? renderSkeletonItem({ index: 0 }) : null
243
+ }
201
244
  />
202
245
  </>
203
246
  )}
@@ -208,34 +251,34 @@ const MovieCardFive: React.FC<MovieCardFiveProps> = ({
208
251
  const getStyles = (theme: ITheme, width: number, radius: number) =>
209
252
  StyleSheet.create({
210
253
  root: {
211
- marginVertical: verticalScale(6)
254
+ marginVertical: verticalScale(6),
212
255
  },
213
256
  item: {
214
257
  marginLeft: moderateScale(10),
215
- marginBottom: verticalScale(2)
258
+ marginBottom: verticalScale(2),
216
259
  },
217
260
  image: {
218
261
  width,
219
262
  aspectRatio: 0.67,
220
263
  borderRadius: radius,
221
- backgroundColor: theme.colors.surfaceVariant
264
+ backgroundColor: theme.colors.surfaceVariant,
222
265
  },
223
266
  navigateToMoreContainer: {
224
267
  paddingHorizontal: moderateScale(10),
225
- marginBottom: verticalScale(8)
268
+ marginBottom: verticalScale(8),
226
269
  },
227
270
  title: {
228
271
  fontSize: RFValue(13),
229
- fontWeight: '600'
272
+ fontWeight: '600',
230
273
  },
231
274
  listContent: {
232
- paddingRight: moderateScale(15)
275
+ paddingRight: moderateScale(15),
233
276
  },
234
277
  skeletonList: {
235
278
  flexDirection: 'row',
236
279
  alignItems: 'flex-start',
237
- paddingRight: moderateScale(15)
238
- }
280
+ paddingRight: moderateScale(15),
281
+ },
239
282
  });
240
283
 
241
284
  export default memo(MovieCardFive);
@@ -14,7 +14,7 @@ import {
14
14
  type TextStyle,
15
15
  type ViewStyle,
16
16
  type AccessibilityProps,
17
- type ListRenderItemInfo
17
+ type ListRenderItemInfo,
18
18
  } from 'react-native';
19
19
  import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
20
20
  import { moderateScale, verticalScale } from 'react-native-size-matters';
@@ -23,7 +23,12 @@ import NavigateToMore from '../components/NavigateToMore';
23
23
  import { useTheme } from '../../../../theme/hook/useTheme';
24
24
  import CardPoster from '../components/CardPoster';
25
25
  import FastImage from 'react-native-fast-image';
26
- import type { IContentData, IGetSectionData, ISectionContent, MoreFetchData } from '../../../../types';
26
+ import type {
27
+ IContentData,
28
+ IGetSectionData,
29
+ ISectionContent,
30
+ MoreFetchData,
31
+ } from '../../../../types';
27
32
  import type { AppTheme, ITheme } from '../../../../theme/themes';
28
33
  import { RFValue } from 'react-native-responsive-fontsize';
29
34
 
@@ -45,7 +50,10 @@ type MovieCardFourProps = {
45
50
  name: IGetSectionData['name'];
46
51
  type: IGetSectionData['type'];
47
52
  }) => void;
48
- renderItemImage?: (params: { item: IContentData; index: number }) => React.ReactNode;
53
+ renderItemImage?: (params: {
54
+ item: IContentData;
55
+ index: number;
56
+ }) => React.ReactNode;
49
57
  itemWidth?: number;
50
58
  itemHeight?: number;
51
59
  borderRadius?: number;
@@ -76,7 +84,7 @@ const MovieCardFour: React.FC<MovieCardFourProps> = ({
76
84
  isLoading = false,
77
85
  theme,
78
86
  accessibilityLabel,
79
- accessibilityHint
87
+ accessibilityHint,
80
88
  }) => {
81
89
  const flatListRef = useRef<FlatList<IContentData>>(null);
82
90
  const onEndReachedCalledDuringMomentum = useRef(false);
@@ -91,17 +99,29 @@ const MovieCardFour: React.FC<MovieCardFourProps> = ({
91
99
  data,
92
100
  pagination,
93
101
  loading: isPaginating,
94
- loadMoreData
95
- } = usePaginatedSection(section_id, moreFetchData, initialData?.data || [], isLoading);
102
+ loadMoreData,
103
+ } = usePaginatedSection(
104
+ section_id,
105
+ moreFetchData,
106
+ initialData?.data || [],
107
+ isLoading
108
+ );
96
109
 
97
- const handleItemPress = useCallback((item: IContentData) => onPressItem?.(item), [onPressItem]);
110
+ const handleItemPress = useCallback(
111
+ (item: IContentData) => onPressItem?.(item),
112
+ [onPressItem]
113
+ );
98
114
 
99
115
  const handlePressMore = useCallback(() => {
100
116
  onPressMore?.({ section_id, name: title, type });
101
117
  }, [onPressMore, section_id, title, type]);
102
118
 
103
119
  const handleEndReached = useCallback(() => {
104
- if (!onEndReachedCalledDuringMomentum.current && pagination?.hasNextPage && pagination?.nextPage) {
120
+ if (
121
+ !onEndReachedCalledDuringMomentum.current &&
122
+ pagination?.hasNextPage &&
123
+ pagination?.nextPage
124
+ ) {
105
125
  onEndReachedCalledDuringMomentum.current = true;
106
126
  loadMoreData(pagination.nextPage);
107
127
  }
@@ -110,7 +130,11 @@ const MovieCardFour: React.FC<MovieCardFourProps> = ({
110
130
  const renderItem = useCallback(
111
131
  ({ item, index }: ListRenderItemInfo<IContentData>) => {
112
132
  return (
113
- <TouchableOpacity style={[styles.item, itemStyle]} onPress={() => handleItemPress(item)} activeOpacity={0.8}>
133
+ <TouchableOpacity
134
+ style={[styles.item, itemStyle]}
135
+ onPress={() => handleItemPress(item)}
136
+ activeOpacity={0.8}
137
+ >
114
138
  {renderItemImage ? (
115
139
  renderItemImage({ item, index })
116
140
  ) : (
@@ -126,7 +150,16 @@ const MovieCardFour: React.FC<MovieCardFourProps> = ({
126
150
  </TouchableOpacity>
127
151
  );
128
152
  },
129
- [styles.item, styles.image, itemStyle, renderItemImage, appliedTheme, borderRadius, isLoading, handleItemPress]
153
+ [
154
+ styles.item,
155
+ styles.image,
156
+ itemStyle,
157
+ renderItemImage,
158
+ appliedTheme,
159
+ borderRadius,
160
+ isLoading,
161
+ handleItemPress,
162
+ ]
130
163
  );
131
164
 
132
165
  const renderSkeletonItem = ({ index }: { index: number }) => (
@@ -169,10 +202,16 @@ const MovieCardFour: React.FC<MovieCardFourProps> = ({
169
202
  marginBottom={verticalScale(6)}
170
203
  />
171
204
  </SkeletonPlaceholder>
172
- <ScrollView horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={styles.skeletonList}>
205
+ <ScrollView
206
+ horizontal
207
+ showsHorizontalScrollIndicator={false}
208
+ contentContainerStyle={styles.skeletonList}
209
+ >
173
210
  {skeletonCount > 0 && (
174
211
  <View style={styles.skeletonList}>
175
- {Array.from({ length: skeletonCount }).map((_, index) => renderSkeletonItem({ index }))}
212
+ {Array.from({ length: skeletonCount }).map((_, index) =>
213
+ renderSkeletonItem({ index })
214
+ )}
176
215
  </View>
177
216
  )}
178
217
  </ScrollView>
@@ -182,7 +221,11 @@ const MovieCardFour: React.FC<MovieCardFourProps> = ({
182
221
  <NavigateToMore
183
222
  title={title}
184
223
  onPress={handlePressMore}
185
- titleStyle={[styles.title, { color: appliedTheme.colors.textPrimary }, titleStyle]}
224
+ titleStyle={[
225
+ styles.title,
226
+ { color: appliedTheme.colors.textPrimary },
227
+ titleStyle,
228
+ ]}
186
229
  containerStyle={styles.navigateToMoreContainer}
187
230
  showAllProps={{ iconColor: appliedTheme.colors.textPrimary }}
188
231
  />
@@ -203,7 +246,9 @@ const MovieCardFour: React.FC<MovieCardFourProps> = ({
203
246
  onMomentumScrollBegin={() => {
204
247
  onEndReachedCalledDuringMomentum.current = false;
205
248
  }}
206
- ListFooterComponent={isPaginating ? renderSkeletonItem({ index: 0 }) : null}
249
+ ListFooterComponent={
250
+ isPaginating ? renderSkeletonItem({ index: 0 }) : null
251
+ }
207
252
  />
208
253
  </>
209
254
  )}
@@ -211,36 +256,41 @@ const MovieCardFour: React.FC<MovieCardFourProps> = ({
211
256
  );
212
257
  };
213
258
 
214
- const getStyles = (theme: ITheme, width: number, height: number, radius: number) =>
259
+ const getStyles = (
260
+ theme: ITheme,
261
+ width: number,
262
+ height: number,
263
+ radius: number
264
+ ) =>
215
265
  StyleSheet.create({
216
266
  root: {
217
- marginVertical: verticalScale(6)
267
+ marginVertical: verticalScale(6),
218
268
  },
219
269
  item: {
220
- marginLeft: moderateScale(10)
270
+ marginLeft: moderateScale(10),
221
271
  },
222
272
  image: {
223
273
  width,
224
274
  height,
225
275
  borderRadius: radius,
226
- backgroundColor: theme.colors.surfaceVariant
276
+ backgroundColor: theme.colors.surfaceVariant,
227
277
  },
228
278
  navigateToMoreContainer: {
229
279
  paddingHorizontal: moderateScale(10),
230
- marginBottom: verticalScale(8)
280
+ marginBottom: verticalScale(8),
231
281
  },
232
282
  title: {
233
283
  fontSize: RFValue(13),
234
- fontWeight: '600'
284
+ fontWeight: '600',
235
285
  },
236
286
  listContent: {
237
- paddingRight: moderateScale(12)
287
+ paddingRight: moderateScale(12),
238
288
  },
239
289
  skeletonList: {
240
290
  flexDirection: 'row',
241
291
  alignItems: 'flex-start',
242
- paddingRight: moderateScale(15)
243
- }
292
+ paddingRight: moderateScale(15),
293
+ },
244
294
  });
245
295
 
246
296
  export default memo(MovieCardFour);