@zezosoft/zezo-ott-react-native-ui-kit 1.0.9 → 1.1.1

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 (304) hide show
  1. package/lib/module/components/BottomSheet/BottomSheet.js +152 -0
  2. package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -0
  3. package/lib/module/components/BottomSheet/index.js +4 -0
  4. package/lib/module/components/BottomSheet/index.js.map +1 -0
  5. package/lib/module/components/Button/BackBtn.js +28 -2
  6. package/lib/module/components/Button/BackBtn.js.map +1 -1
  7. package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
  8. package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
  9. package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
  10. package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
  11. package/lib/module/components/Content/Card/Styles/Four.js +1 -2
  12. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  13. package/lib/module/components/Content/Card/Styles/One.js +1 -2
  14. package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
  15. package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
  16. package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
  17. package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
  18. package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
  19. package/lib/module/components/Content/Card/Styles/Two.js +1 -2
  20. package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
  21. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  22. package/lib/module/components/Content/Content.js.map +1 -1
  23. package/lib/module/components/Content/Sections.js.map +1 -1
  24. package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
  25. package/lib/module/components/ContentView/components/CastCard.js +2 -1
  26. package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
  27. package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
  28. package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
  29. package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
  30. package/lib/module/components/ContentView/components/MiniInfo.js.map +1 -1
  31. package/lib/module/components/ContentView/components/Title.js.map +1 -1
  32. package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +134 -0
  33. package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -0
  34. package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +154 -0
  35. package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -0
  36. package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js +173 -0
  37. package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js.map +1 -0
  38. package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +77 -0
  39. package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -0
  40. package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js +132 -0
  41. package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js.map +1 -0
  42. package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js +165 -0
  43. package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js.map +1 -0
  44. package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +106 -0
  45. package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -0
  46. package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js +124 -0
  47. package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js.map +1 -0
  48. package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +102 -64
  49. package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
  50. package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +241 -232
  51. package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
  52. package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js +153 -0
  53. package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js.map +1 -0
  54. package/lib/module/components/Reels/ReelsSeries/{Model → components}/Episodes.js +46 -36
  55. package/lib/module/components/Reels/ReelsSeries/components/Episodes.js.map +1 -0
  56. package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js +35 -0
  57. package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js.map +1 -0
  58. package/lib/module/components/Reels/ReelsSeries/components/Like.js +37 -0
  59. package/lib/module/components/Reels/ReelsSeries/components/Like.js.map +1 -0
  60. package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js +55 -0
  61. package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js.map +1 -0
  62. package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js +268 -0
  63. package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js.map +1 -0
  64. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +143 -0
  65. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -0
  66. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js +56 -0
  67. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js.map +1 -0
  68. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js +5 -0
  69. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js.map +1 -0
  70. package/lib/module/components/Reels/utils/Controls/gestureUtils.js +30 -0
  71. package/lib/module/components/Reels/utils/Controls/gestureUtils.js.map +1 -0
  72. package/lib/module/components/Reels/utils/Controls/index.js +7 -0
  73. package/lib/module/components/Reels/utils/Controls/index.js.map +1 -0
  74. package/lib/module/components/Reels/utils/Controls/overlayUtils.js +28 -0
  75. package/lib/module/components/Reels/utils/Controls/overlayUtils.js.map +1 -0
  76. package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js +27 -0
  77. package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js.map +1 -0
  78. package/lib/module/components/Reels/utils/Controls/videoRef.js +5 -0
  79. package/lib/module/components/Reels/utils/Controls/videoRef.js.map +1 -0
  80. package/lib/module/components/Reels/utils/index.js +4 -0
  81. package/lib/module/components/Reels/utils/index.js.map +1 -0
  82. package/lib/module/components/Reels/utils/timeoutUtils.js +24 -0
  83. package/lib/module/components/Reels/utils/timeoutUtils.js.map +1 -0
  84. package/lib/module/components/Search/One.js.map +1 -1
  85. package/lib/module/components/Subscription/SubOne.js +1 -2
  86. package/lib/module/components/Subscription/SubOne.js.map +1 -1
  87. package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
  88. package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
  89. package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
  90. package/lib/module/components/index.js +1 -0
  91. package/lib/module/components/index.js.map +1 -1
  92. package/lib/module/theme/ThemeProvider.js +7 -4
  93. package/lib/module/theme/ThemeProvider.js.map +1 -1
  94. package/lib/module/theme/themes.js +3 -3
  95. package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +18 -0
  96. package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -0
  97. package/lib/typescript/src/components/BottomSheet/index.d.ts +3 -0
  98. package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -0
  99. package/lib/typescript/src/components/Button/BackBtn.d.ts +3 -1
  100. package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
  101. package/lib/typescript/src/components/Button/index.d.ts +2 -0
  102. package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
  103. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts +2 -1
  104. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
  105. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts +2 -1
  106. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
  107. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts +2 -1
  108. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
  109. package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +2 -2
  110. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +2 -1
  111. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
  112. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +2 -1
  113. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  114. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +2 -1
  115. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
  116. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +2 -1
  117. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
  118. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +2 -1
  119. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
  120. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +2 -1
  121. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
  122. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +2 -1
  123. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
  124. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +2 -1
  125. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
  126. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +1 -1
  127. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
  128. package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts +1 -1
  129. package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts.map +1 -1
  130. package/lib/typescript/src/components/Content/Card/index.d.ts +24 -24
  131. package/lib/typescript/src/components/Content/Content.d.ts +2 -1
  132. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  133. package/lib/typescript/src/components/Content/Sections.d.ts +2 -1
  134. package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
  135. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts +1 -1
  136. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
  137. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -1
  138. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
  139. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -1
  140. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
  141. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -1
  142. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
  143. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
  144. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
  145. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts +1 -1
  146. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +1 -1
  147. package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
  148. package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
  149. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +14 -0
  150. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -0
  151. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +60 -0
  152. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -0
  153. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts +14 -0
  154. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts.map +1 -0
  155. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts +14 -0
  156. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -0
  157. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts +12 -0
  158. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts.map +1 -0
  159. package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts +16 -0
  160. package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts.map +1 -0
  161. package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +15 -0
  162. package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -0
  163. package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts +14 -0
  164. package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts.map +1 -0
  165. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +8 -2
  166. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
  167. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +8 -2
  168. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
  169. package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts +13 -0
  170. package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts.map +1 -0
  171. package/lib/typescript/src/components/Reels/ReelsSeries/{Model → components}/Episodes.d.ts +3 -2
  172. package/lib/typescript/src/components/Reels/ReelsSeries/components/Episodes.d.ts.map +1 -0
  173. package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts +7 -0
  174. package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts.map +1 -0
  175. package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts +7 -0
  176. package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts.map +1 -0
  177. package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts +12 -0
  178. package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts.map +1 -0
  179. package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts +12 -0
  180. package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts.map +1 -0
  181. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
  182. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -0
  183. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts +10 -0
  184. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts.map +1 -0
  185. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts +3 -0
  186. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts.map +1 -0
  187. package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +13 -0
  188. package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
  189. package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts +10 -0
  190. package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts.map +1 -0
  191. package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts +5 -0
  192. package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts.map +1 -0
  193. package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts +12 -0
  194. package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts.map +1 -0
  195. package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts +24 -0
  196. package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts.map +1 -0
  197. package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts +3 -0
  198. package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts.map +1 -0
  199. package/lib/typescript/src/components/Reels/utils/index.d.ts +2 -0
  200. package/lib/typescript/src/components/Reels/utils/index.d.ts.map +1 -0
  201. package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts +14 -0
  202. package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts.map +1 -0
  203. package/lib/typescript/src/components/Search/One.d.ts +2 -1
  204. package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
  205. package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts +1 -1
  206. package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
  207. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts +1 -1
  208. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
  209. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts +1 -1
  210. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
  211. package/lib/typescript/src/components/index.d.ts +1 -0
  212. package/lib/typescript/src/components/index.d.ts.map +1 -1
  213. package/lib/typescript/src/types/content/content-view.types.d.ts +1 -1
  214. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  215. package/lib/typescript/src/types/index.d.ts +1 -1
  216. package/lib/typescript/src/types/index.d.ts.map +1 -1
  217. package/lib/typescript/src/types/sections/index.d.ts +1 -1
  218. package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
  219. package/package.json +2 -1
  220. package/src/components/BottomSheet/BottomSheet.tsx +195 -0
  221. package/src/components/BottomSheet/index.ts +2 -0
  222. package/src/components/Button/BackBtn.tsx +33 -0
  223. package/src/components/Content/Card/NowWatching/NowWatching.tsx +2 -5
  224. package/src/components/Content/Card/Sliders/Styles/One.tsx +2 -1
  225. package/src/components/Content/Card/Sliders/Styles/Two.tsx +2 -1
  226. package/src/components/Content/Card/Styles/Five.tsx +1 -1
  227. package/src/components/Content/Card/Styles/Four.tsx +1 -1
  228. package/src/components/Content/Card/Styles/One.tsx +1 -1
  229. package/src/components/Content/Card/Styles/RotateInOut.tsx +1 -1
  230. package/src/components/Content/Card/Styles/Six.tsx +1 -1
  231. package/src/components/Content/Card/Styles/Three.tsx +1 -1
  232. package/src/components/Content/Card/Styles/TopTen.tsx +1 -1
  233. package/src/components/Content/Card/Styles/Two.tsx +1 -1
  234. package/src/components/Content/Card/components/CardPoster.tsx +1 -1
  235. package/src/components/Content/Card/components/RentOrBuyIcon.tsx +1 -1
  236. package/src/components/Content/Content.tsx +2 -1
  237. package/src/components/Content/Sections.tsx +2 -1
  238. package/src/components/ContentView/MoreContentList.tsx +1 -1
  239. package/src/components/ContentView/components/AboutSection.tsx +1 -1
  240. package/src/components/ContentView/components/CastCard.tsx +2 -1
  241. package/src/components/ContentView/components/EpisodeCard.tsx +5 -1
  242. package/src/components/ContentView/components/GenreTags.tsx +1 -1
  243. package/src/components/ContentView/components/MiniInfo.tsx +1 -1
  244. package/src/components/ContentView/components/Title.tsx +1 -1
  245. package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +156 -0
  246. package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +234 -0
  247. package/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.tsx +196 -0
  248. package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +92 -0
  249. package/src/components/Reels/ReelsSeries/MediaControls/TopControls.tsx +163 -0
  250. package/src/components/Reels/ReelsSeries/Model/DetailsModal.tsx +210 -0
  251. package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +143 -0
  252. package/src/components/Reels/ReelsSeries/Model/UnlockModal.tsx +154 -0
  253. package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +142 -74
  254. package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +349 -250
  255. package/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.tsx +184 -0
  256. package/src/components/Reels/ReelsSeries/{Model → components}/Episodes.tsx +54 -33
  257. package/src/components/Reels/ReelsSeries/components/GradientOverlay.tsx +41 -0
  258. package/src/components/Reels/ReelsSeries/components/Like.tsx +40 -0
  259. package/src/components/Reels/ReelsSeries/components/RotatingLoader.tsx +79 -0
  260. package/src/components/Reels/ReelsSeries/components/Synopsis.tsx +332 -0
  261. package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +190 -0
  262. package/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.tsx +80 -0
  263. package/src/components/Reels/ReelsSeries/components/VideoControls/index.ts +2 -0
  264. package/src/components/Reels/ReelsSeries/types.ts +13 -2
  265. package/src/components/Reels/utils/Controls/gestureUtils.ts +42 -0
  266. package/src/components/Reels/utils/Controls/index.ts +4 -0
  267. package/src/components/Reels/utils/Controls/overlayUtils.ts +35 -0
  268. package/src/components/Reels/utils/Controls/videoControlsConstants.ts +25 -0
  269. package/src/components/Reels/utils/Controls/videoRef.ts +4 -0
  270. package/src/components/Reels/utils/index.ts +1 -0
  271. package/src/components/Reels/utils/timeoutUtils.ts +29 -0
  272. package/src/components/Search/One.tsx +2 -6
  273. package/src/components/Subscription/SubOne.tsx +1 -2
  274. package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -1
  275. package/src/components/User/WatchHistory/WatchHistory.tsx +1 -1
  276. package/src/components/User/WatchLater/WatchLater.tsx +1 -1
  277. package/src/components/index.ts +1 -0
  278. package/src/theme/ThemeProvider.tsx +8 -2
  279. package/src/theme/themes.ts +3 -3
  280. package/src/types/content/content-view.types.ts +1 -1
  281. package/src/types/index.ts +1 -1
  282. package/src/types/sections/index.ts +1 -1
  283. package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js.map +0 -1
  284. package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js +0 -212
  285. package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js.map +0 -1
  286. package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js +0 -182
  287. package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js.map +0 -1
  288. package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js +0 -203
  289. package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js.map +0 -1
  290. package/lib/module/types/content/index.js +0 -2
  291. package/lib/module/types/content/index.js.map +0 -1
  292. package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts.map +0 -1
  293. package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts +0 -9
  294. package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts.map +0 -1
  295. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts +0 -13
  296. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts.map +0 -1
  297. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts +0 -18
  298. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts.map +0 -1
  299. package/lib/typescript/src/types/content/index.d.ts +0 -174
  300. package/lib/typescript/src/types/content/index.d.ts.map +0 -1
  301. package/src/components/Reels/ReelsSeries/Model/Synopsis.tsx +0 -242
  302. package/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.tsx +0 -209
  303. package/src/components/Reels/ReelsSeries/ReelSeriesOverlay.tsx +0 -185
  304. package/src/types/content/index.ts +0 -194
@@ -0,0 +1,35 @@
1
+ import { useMemo, useCallback } from 'react';
2
+ import { Dimensions } from 'react-native';
3
+ import {
4
+ OVERLAY_RIGHT_OFFSET,
5
+ OVERLAY_BOTTOM_OFFSET,
6
+ } from './videoControlsConstants';
7
+
8
+ const { width } = Dimensions.get('window');
9
+
10
+ /**
11
+ * Calculate overlay thresholds
12
+ */
13
+ export const useOverlayThresholds = (videoHeight: number) => {
14
+ const rightThreshold = useMemo(() => width - OVERLAY_RIGHT_OFFSET, []);
15
+
16
+ const bottomThreshold = useMemo(
17
+ () => videoHeight - OVERLAY_BOTTOM_OFFSET,
18
+ [videoHeight]
19
+ );
20
+
21
+ return { rightThreshold, bottomThreshold };
22
+ };
23
+
24
+ /**
25
+ * Check if coordinates are in overlay area
26
+ */
27
+ export const useIsInOverlay = (
28
+ rightThreshold: number,
29
+ bottomThreshold: number
30
+ ) => {
31
+ return useCallback(
32
+ (x: number, y: number) => x > rightThreshold || y > bottomThreshold,
33
+ [rightThreshold, bottomThreshold]
34
+ );
35
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Video Controls Constants
3
+ */
4
+
5
+ export const GESTURE_MAX_DURATION = 300;
6
+ export const PAUSE_ICON_TIMEOUT = 800;
7
+ export const LIKE_ANIM_TIMEOUT = 1200;
8
+ export const UNLOCK_MODAL_DELAY = 500;
9
+ export const OVERLAY_RIGHT_OFFSET = 80;
10
+ export const OVERLAY_BOTTOM_OFFSET = 150;
11
+
12
+ export const videoControlsStyles = {
13
+ hideForward: true,
14
+ hideDuration: true,
15
+ hideFullscreen: true,
16
+ hidePlayPause: true,
17
+ hideNavigationBarOnFullScreenMode: true,
18
+ hideNotificationBarOnFullScreenMode: true,
19
+ hideNext: true,
20
+ hidePosition: true,
21
+ hidePrevious: true,
22
+ hideRewind: true,
23
+ hideSeekBar: true,
24
+ hideSettingButton: true,
25
+ };
@@ -0,0 +1,4 @@
1
+ import { createRef } from 'react';
2
+ import type { VideoRef } from 'react-native-video';
3
+
4
+ export const videoRef = createRef<VideoRef>();
@@ -0,0 +1 @@
1
+ export * from './timeoutUtils';
@@ -0,0 +1,29 @@
1
+ import { type MutableRefObject } from 'react';
2
+
3
+ /**
4
+ * Safely clears a timeout stored in a ref
5
+ * @param ref - React ref containing the timeout
6
+ */
7
+ export const clearTimeoutSafely = (
8
+ ref: MutableRefObject<NodeJS.Timeout | null>
9
+ ): void => {
10
+ if (ref.current) {
11
+ clearTimeout(ref.current);
12
+ ref.current = null;
13
+ }
14
+ };
15
+
16
+ /**
17
+ * Safely sets a timeout and stores it in a ref, clearing any existing timeout first
18
+ * @param ref - React ref to store the timeout
19
+ * @param callback - Function to execute after delay
20
+ * @param delay - Delay in milliseconds
21
+ */
22
+ export const setTimeoutSafely = (
23
+ ref: MutableRefObject<NodeJS.Timeout | null>,
24
+ callback: () => void,
25
+ delay: number
26
+ ): void => {
27
+ clearTimeoutSafely(ref);
28
+ ref.current = setTimeout(callback, delay);
29
+ };
@@ -22,18 +22,14 @@ import SearchCard, {
22
22
  type SearchCardSkeletonConfig,
23
23
  } from './components/SearchCard';
24
24
  import { useDebounce } from '../../hooks/useDebounce';
25
- import type {
26
- IContentData,
27
- IGetSectionData,
28
- ISectionItem,
29
- MoreFetchData,
30
- } from '../../types';
25
+ import type { IGetSectionData, ISectionItem, MoreFetchData } from '../../types';
31
26
  import type { ThemeOverride } from '../../theme/themes';
32
27
  import { useRecentSearchesStore } from '../../store/RecentSearchesStore';
33
28
  import RecentSearchesSection from './components/RecentSearchesSection';
34
29
  import Cards from '../Content/Card';
35
30
  import type { RecommendedCardStyles } from '../../types/content/content-view.types';
36
31
  import { RFValue } from 'react-native-responsive-fontsize';
32
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
37
33
 
38
34
  // Types
39
35
  export type ISearchItem = IContentData;
@@ -607,7 +607,7 @@ const styles = StyleSheet.create({
607
607
  paddingHorizontal: scale(60),
608
608
  borderRadius: scale(30),
609
609
  alignItems: 'center',
610
- marginTop: verticalScale(15),
610
+ marginTop: verticalScale(5),
611
611
  },
612
612
  subscribeText: {
613
613
  fontSize: RFValue(14),
@@ -654,7 +654,6 @@ const styles = StyleSheet.create({
654
654
  fontWeight: '700',
655
655
  },
656
656
  viewDetailsButton: {
657
- marginTop: verticalScale(8),
658
657
  paddingVertical: verticalScale(6),
659
658
  paddingHorizontal: scale(20),
660
659
  alignItems: 'center',
@@ -22,9 +22,9 @@ import { useInternalTheme } from '../../../theme/hook/useInternalTheme';
22
22
  import AppHeader from '../../Headers/AppHeader';
23
23
  import { Text } from '../../Text';
24
24
  import CardPoster from '../../Content/Card/components/CardPoster';
25
- import type { IContentData } from '../../../types';
26
25
  import type { ThemeOverride } from '../../../theme/themes';
27
26
  import { RFValue } from 'react-native-responsive-fontsize';
27
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
28
28
 
29
29
  export interface IPurchaseHistoryItem {
30
30
  _id: string;
@@ -21,9 +21,9 @@ import { useInternalTheme } from '../../../theme/hook/useInternalTheme';
21
21
  import AppHeader from '../../Headers/AppHeader';
22
22
  import { Text } from '../../Text';
23
23
  import CardPoster from '../../Content/Card/components/CardPoster';
24
- import type { IContentData } from '../../../types';
25
24
  import type { ThemeOverride } from '../../../theme/themes';
26
25
  import { RFValue } from 'react-native-responsive-fontsize';
26
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
27
27
 
28
28
  export interface IHistoryItem {
29
29
  _id: string;
@@ -25,9 +25,9 @@ import AppHeader from '../../Headers/AppHeader';
25
25
  import { Text } from '../../Text';
26
26
  import { ThumbnailCard } from '../../Content/Card/components/ThumbnailCard';
27
27
  import CardPoster from '../../Content/Card/components/CardPoster';
28
- import type { IContentData } from '../../../types';
29
28
  import type { ITheme, ThemeOverride } from '../../../theme/themes';
30
29
  import { RFValue } from 'react-native-responsive-fontsize';
30
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
31
31
 
32
32
  type IWatchLaterItem = {
33
33
  _id: string;
@@ -26,3 +26,4 @@ export * from './Subscription';
26
26
  export * from './Alert';
27
27
  export * from './Reels';
28
28
  export * from './BlurView';
29
+ export * from './BottomSheet';
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import React, { createContext, useContext, type ReactNode } from 'react';
7
- import { View } from 'react-native';
7
+ import { StyleSheet, View } from 'react-native';
8
8
  import {
9
9
  SafeAreaProvider,
10
10
  initialWindowMetrics,
@@ -59,7 +59,7 @@ export const ZezoUIProvider: React.FC<ZezoUIProviderProps> = ({
59
59
  } = useInternalTheme(overrideTheme, isDark);
60
60
 
61
61
  return (
62
- <GestureHandlerRootView style={{ flex: 1 }}>
62
+ <GestureHandlerRootView style={styles.container}>
63
63
  <SafeAreaProvider initialMetrics={initialWindowMetrics}>
64
64
  <ThemeContext.Provider
65
65
  value={{ theme: themeFull, isDarkMode, setTheme, finalTheme }}
@@ -75,3 +75,9 @@ export const ZezoUIProvider: React.FC<ZezoUIProviderProps> = ({
75
75
  </GestureHandlerRootView>
76
76
  );
77
77
  };
78
+
79
+ const styles = StyleSheet.create({
80
+ container: {
81
+ flex: 1,
82
+ },
83
+ });
@@ -277,9 +277,9 @@ export const DarkTheme: ITheme = {
277
277
 
278
278
  elevation: {
279
279
  level0: 'transparent',
280
- level1: 'rgba(30, 41, 59, 1)',
281
- level2: 'rgba(37, 44, 60, 1)',
282
- level3: 'rgba(51, 65, 85, 1)',
280
+ level1: 'rgba(34, 34, 34, 1)',
281
+ level2: 'rgba(60, 60, 60, 1)',
282
+ level3: 'rgba(76, 76, 76, 1)',
283
283
  level4: 'rgba(71, 85, 105, 1)',
284
284
  level5: 'rgba(100, 116, 139, 1)',
285
285
  },
@@ -6,12 +6,12 @@
6
6
  import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
7
7
  import type { ImageStyle as FastImageStyle } from 'react-native-fast-image';
8
8
  import type { ThemeOverride } from '../../theme/themes';
9
- import type { IContentData } from '../../types';
10
9
  import type { IGetSectionData, ISectionItem } from '../../types/sections';
11
10
  import type { MoreFetchData } from '../../types/hook/usePaginatedSetion';
12
11
  import type { IHistoryItem } from '../../components/User/WatchHistory/WatchHistory';
13
12
  import type React from 'react';
14
13
  import type { MiniInfo } from '../../components/ContentView/components/MiniInfo';
14
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
15
15
 
16
16
  // 🔷 Common Style Aliases
17
17
  export type ViewStyleProp = StyleProp<ViewStyle>;
@@ -2,6 +2,6 @@
2
2
  * @author Naresh Dhamu
3
3
  * @lastModified Fri 04 Jul 2025 at 10:58 AM
4
4
  */
5
- export type * from './content';
5
+ export type * from './content/content-view.types';
6
6
  export type * from './sections';
7
7
  export type * from './hook';
@@ -3,7 +3,7 @@
3
3
  * @lastModified Fri 04 Jul 2025 at 10:58 AM
4
4
  */
5
5
 
6
- import type { IContentData } from '../content';
6
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
7
7
 
8
8
  export type ISectionType =
9
9
  | 'normal'
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Text","FlatList","StyleSheet","Dimensions","TouchableOpacity","Lock","ChartNoAxesColumnIncreasing","moderateScale","verticalScale","RFValue","jsx","_jsx","jsxs","_jsxs","height","width","get","NUM_COLUMNS","Episodes","data","currentReel","onEpisodeSelect","totalReels","totalBoxes","Math","max","episodes","length","EpisodeData","Array","from","_","i","renderItem","item","isAvailable","isActive","onPress","activeOpacity","children","style","styles","box","backgroundColor","number","color","lockContainer","size","activeIcon","numColumns","keyExtractor","contentContainerStyle","paddingBottom","showsVerticalScrollIndicator","scrollEnabled","removeClippedSubviews","windowSize","initialNumToRender","nestedScrollEnabled","create","borderRadius","justifyContent","alignItems","marginVertical","marginHorizontal","position","fontSize","fontWeight","top","right","borderTopLeftRadius","borderBottomRightRadius","bottom","left"],"sourceRoot":"../../../../../../src","sources":["components/Reels/ReelsSeries/Model/Episodes.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,IAAI,EACJC,IAAI,EACJC,QAAQ,EACRC,UAAU,EACVC,UAAU,EACVC,gBAAgB,QACX,cAAc;AACrB,SAASC,IAAI,EAAEC,2BAA2B,QAAQ,qBAAqB;AACvE,SAASC,aAAa,EAAEC,aAAa,QAAQ,2BAA2B;AACxE,SAASC,OAAO,QAAQ,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAG3D,MAAM;EAAEC,MAAM;EAAEC;AAAM,CAAC,GAAGZ,UAAU,CAACa,GAAG,CAAC,QAAQ,CAAC;AAClD,MAAMC,WAAW,GAAG,CAAC;AAUrB,MAAMC,QAAiC,GAAGA,CAAC;EACzCC,IAAI;EACJC,WAAW;EACXC,eAAe;EACfC,UAAU,GAAG;AACf,CAAC,K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MAAM,EAAE;IACNsB,QAAQ,EAAEzD,OAAO,CAAC,EAAE,CAAC;IACrB0D,UAAU,EAAE;EACd,CAAC;EACDrB,aAAa,EAAE;IACbmB,QAAQ,EAAE,UAAU;IACpBG,GAAG,EAAE,CAAC;IACNC,KAAK,EAAE,CAAC;IACRtD,KAAK,EAAER,aAAa,CAAC,EAAE,CAAC;IACxBO,MAAM,EAAEP,aAAa,CAAC,EAAE,CAAC;IACzBqD,YAAY,EAAErD,aAAa,CAAC,CAAC,CAAC;IAC9B+D,mBAAmB,EAAE,CAAC;IACtBC,uBAAuB,EAAE,CAAC;IAC1BV,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDd,UAAU,EAAE;IACViB,QAAQ,EAAE,UAAU;IACpBO,MAAM,EAAEhE,aAAa,CAAC,CAAC,CAAC;IACxBiE,IAAI,EAAElE,aAAa,CAAC,CAAC;EACvB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,212 +0,0 @@
1
- "use strict";
2
-
3
- import React, { useCallback } from 'react';
4
- import { Text, View, Image, StyleSheet, TouchableOpacity, Dimensions, FlatList } from 'react-native';
5
- import { RFValue } from 'react-native-responsive-fontsize';
6
- import { moderateScale, scale, verticalScale } from 'react-native-size-matters';
7
- import Svg, { Path, Defs, LinearGradient, Stop } from 'react-native-svg';
8
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
- const {
10
- width: SCREEN_WIDTH
11
- } = Dimensions.get('window');
12
- const GAP = moderateScale(10);
13
- const likeMoreData = [{
14
- id: 1,
15
- name: 'Housefull 5',
16
- thumbnail: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTZFKczA4mK0DoFSiKN75aAtWdhm_AZvCWGkwPl2StUpOQYq6_b'
17
- }, {
18
- id: 2,
19
- name: 'Sample Episode',
20
- thumbnail: 'https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTfRd3dwJUToDAbEB4afBWcic5_HCwbKbn-B7-ZgF7niTa-MTIt'
21
- }, {
22
- id: 3,
23
- name: 'Tees Maar Khan',
24
- thumbnail: 'https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcSwz8vklTTg8YdCqRHg9aauHq9BgpVgxLUvldi-Doz_Eh7ZIiVl'
25
- }, {
26
- id: 4,
27
- name: 'Aap Jaisa Koi',
28
- thumbnail: 'https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcQujccf3ymM7lkv83Y6TkS5BkcLYJLTu2d3rJQYxh6cGqwx8AuR'
29
- }, {
30
- id: 5,
31
- name: 'Kaalidhar Laapata',
32
- thumbnail: 'https://upload.wikimedia.org/wikipedia/en/b/bd/Kaalidhar_Laapata.jpg'
33
- }, {
34
- id: 6,
35
- name: 'Aankhon Ki Gustaakhiyan',
36
- thumbnail: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSLqG-A_lUucNT4TOcY1u42ujHyPbwuJvRLbO4zjNS8iuzNQ_6X'
37
- }];
38
- const Synopsis = ({
39
- data
40
- }) => {
41
- // responsive columns
42
- const numColumns = SCREEN_WIDTH >= 420 ? 4 : 3;
43
- const keyExtractor = useCallback(item => item.id.toString(), []);
44
- const renderItem = useCallback(({
45
- item
46
- }) => /*#__PURE__*/_jsxs(TouchableOpacity, {
47
- style: [styles.card],
48
- activeOpacity: 0.8,
49
- children: [/*#__PURE__*/_jsx(Image, {
50
- source: {
51
- uri: item.thumbnail || 'https://via.placeholder.com/300x400?text=Episode'
52
- },
53
- style: styles.thumbnail,
54
- resizeMode: "cover"
55
- }), /*#__PURE__*/_jsx(Text, {
56
- style: [styles.title, {
57
- color: '#fff',
58
- width: scale(90)
59
- }],
60
- numberOfLines: 2,
61
- children: item.name || 'Untitled'
62
- })]
63
- }), []);
64
- return /*#__PURE__*/_jsxs(View, {
65
- style: styles.container,
66
- children: [/*#__PURE__*/_jsx(Text, {
67
- style: {
68
- color: 'rgba(255,255,255,1)',
69
- fontSize: RFValue(10),
70
- lineHeight: RFValue(14),
71
- marginBottom: verticalScale(12)
72
- },
73
- children: data.description || 'No synopsis available for this reel. Please check back later.'
74
- }), /*#__PURE__*/_jsxs(View, {
75
- style: styles.header,
76
- children: [/*#__PURE__*/_jsxs(Svg, {
77
- width: 22,
78
- height: 2,
79
- viewBox: "0 0 22 2",
80
- fill: "none",
81
- children: [/*#__PURE__*/_jsx(Path, {
82
- d: "M21.692 1.196H.594",
83
- stroke: "url(#a)",
84
- strokeWidth: 1.005
85
- }), /*#__PURE__*/_jsx(Defs, {
86
- children: /*#__PURE__*/_jsxs(LinearGradient, {
87
- id: "a",
88
- x1: 0.594,
89
- y1: 1.696,
90
- x2: 21.692,
91
- y2: 1.696,
92
- gradientUnits: "userSpaceOnUse",
93
- children: [/*#__PURE__*/_jsx(Stop, {
94
- stopOpacity: 0
95
- }), /*#__PURE__*/_jsx(Stop, {
96
- offset: 1,
97
- stopColor: "#fff"
98
- })]
99
- })
100
- })]
101
- }), /*#__PURE__*/_jsx(Text, {
102
- style: {
103
- color: '#fff',
104
- fontSize: 12,
105
- textAlign: 'center',
106
- marginHorizontal: scale(8)
107
- },
108
- children: "More Like This"
109
- }), /*#__PURE__*/_jsxs(Svg, {
110
- width: 22,
111
- height: 2,
112
- viewBox: "0 0 22 2",
113
- fill: "none",
114
- children: [/*#__PURE__*/_jsx(Path, {
115
- d: "M.312 1.196H21.41",
116
- stroke: "url(#paint0_linear_797_3114)",
117
- strokeWidth: 1.00467
118
- }), /*#__PURE__*/_jsx(Defs, {
119
- children: /*#__PURE__*/_jsxs(LinearGradient, {
120
- id: "paint0_linear_797_3114",
121
- x1: 21.4102,
122
- y1: 1.69629,
123
- x2: 0.312025,
124
- y2: 1.69629,
125
- gradientUnits: "userSpaceOnUse",
126
- children: [/*#__PURE__*/_jsx(Stop, {
127
- stopOpacity: 0
128
- }), /*#__PURE__*/_jsx(Stop, {
129
- offset: 1,
130
- stopColor: "#fff"
131
- })]
132
- })
133
- })]
134
- })]
135
- }), likeMoreData.length === 0 ? /*#__PURE__*/_jsx(Text, {
136
- style: styles.noEpisodesText,
137
- children: "No recommendations available."
138
- }) : /*#__PURE__*/_jsx(FlatList, {
139
- data: likeMoreData,
140
- keyExtractor: keyExtractor,
141
- renderItem: renderItem,
142
- numColumns: numColumns,
143
- columnWrapperStyle: {
144
- justifyContent: 'space-between',
145
- marginBottom: GAP
146
- },
147
- showsVerticalScrollIndicator: false,
148
- contentContainerStyle: {
149
- paddingBottom: verticalScale(16)
150
- },
151
- removeClippedSubviews: false // Disable to prevent recycling issues
152
- ,
153
- nestedScrollEnabled: true // Allows scroll inside modal
154
- ,
155
- getItemLayout: (_data, index) => ({
156
- length: verticalScale(120) + verticalScale(6) + verticalScale(20),
157
- // thumbnail + margin + text
158
- offset: (verticalScale(120) + verticalScale(6) + verticalScale(20)) * Math.floor(index / numColumns),
159
- index
160
- }),
161
- initialNumToRender: 6,
162
- maxToRenderPerBatch: 6,
163
- windowSize: 5,
164
- disableVirtualization: false
165
- })]
166
- });
167
- };
168
- export default Synopsis;
169
- const styles = StyleSheet.create({
170
- container: {
171
- flex: 1
172
- },
173
- header: {
174
- flexDirection: 'row',
175
- alignItems: 'center',
176
- justifyContent: 'center',
177
- marginBottom: verticalScale(12)
178
- },
179
- headerLine: {
180
- height: verticalScale(1.5),
181
- width: moderateScale(50),
182
- marginHorizontal: moderateScale(8),
183
- borderRadius: 999
184
- },
185
- headerLabel: {
186
- fontSize: RFValue(12),
187
- textAlign: 'center'
188
- },
189
- card: {
190
- // alignItems: 'center',
191
- },
192
- thumbnail: {
193
- width: '100%',
194
- height: verticalScale(120),
195
- borderRadius: moderateScale(8),
196
- marginBottom: verticalScale(6),
197
- backgroundColor: 'rgba(255,255,255,0.06)',
198
- aspectRatio: 3 / 4
199
- },
200
- title: {
201
- fontSize: RFValue(10)
202
- // textAlign: 'center',
203
- },
204
- noEpisodesText: {
205
- color: 'rgba(180,180,180,1)',
206
- fontSize: RFValue(13),
207
- textAlign: 'center',
208
- marginTop: verticalScale(8),
209
- marginBottom: verticalScale(12)
210
- }
211
- });
212
- //# sourceMappingURL=Synopsis.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useCallback","Text","View","Image","StyleSheet","TouchableOpacity","Dimensions","FlatList","RFValue","moderateScale","scale","verticalScale","Svg","Path","Defs","LinearGradient","Stop","jsx","_jsx","jsxs","_jsxs","width","SCREEN_WIDTH","get","GAP","likeMoreData","id","name","thumbnail","Synopsis","data","numColumns","keyExtractor","item","toString","renderItem","style","styles","card","activeOpacity","children","source","uri","resizeMode","title","color","numberOfLines","container","fontSize","lineHeight","marginBottom","description","header","height","viewBox","fill","d","stroke","strokeWidth","x1","y1","x2","y2","gradientUnits","stopOpacity","offset","stopColor","textAlign","marginHorizontal","length","noEpisodesText","columnWrapperStyle","justifyContent","showsVerticalScrollIndicator","contentContainerStyle","paddingBottom","removeClippedSubviews","nestedScrollEnabled","getItemLayout","_data","index","Math","floor","initialNumToRender","maxToRenderPerBatch","windowSize","disableVirtualization","create","flex","flexDirection","alignItems","headerLine","borderRadius","headerLabel","backgroundColor","aspectRatio","marginTop"],"sourceRoot":"../../../../../../src","sources":["components/Reels/ReelsSeries/Model/Synopsis.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,WAAW,QAAQ,OAAO;AAC1C,SACEC,IAAI,EACJC,IAAI,EACJC,KAAK,EACLC,UAAU,EACVC,gBAAgB,EAChBC,UAAU,EACVC,QAAQ,QACH,cAAc;AACrB,SAASC,OAAO,QAAQ,kCAAkC;AAC1D,SAASC,aAAa,EAAEC,KAAK,EAAEC,aAAa,QAAQ,2BAA2B;AAE/E,OAAOC,GAAG,IAAIC,IAAI,EAAEC,IAAI,EAAEC,cAAc,EAAEC,IAAI,QAAQ,kBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEzE,MAAM;EAAEC,KAAK,EAAEC;AAAa,CAAC,GAAGhB,UAAU,CAACiB,GAAG,CAAC,QAAQ,C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