react-native-reanimated-carousel 5.0.0-beta.7 → 5.0.0

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 (428) hide show
  1. package/README.md +60 -28
  2. package/lib/commonjs/components/Carousel.js +1 -1
  3. package/lib/commonjs/components/Carousel.js.map +1 -1
  4. package/lib/commonjs/components/CarouselLayout.js +1 -1
  5. package/lib/commonjs/components/CarouselLayout.js.map +1 -1
  6. package/lib/commonjs/components/ItemLayout.js +1 -1
  7. package/lib/commonjs/components/ItemLayout.js.map +1 -1
  8. package/lib/commonjs/components/ItemRenderer.js +1 -1
  9. package/lib/commonjs/components/ItemRenderer.js.map +1 -1
  10. package/lib/commonjs/components/Pagination/PaginationItem.js +2 -0
  11. package/lib/commonjs/components/Pagination/PaginationItem.js.map +1 -0
  12. package/lib/commonjs/components/Pagination/index.js +1 -1
  13. package/lib/commonjs/components/Pagination/index.js.map +1 -1
  14. package/lib/commonjs/components/ScrollViewGesture.js +1 -1
  15. package/lib/commonjs/components/ScrollViewGesture.js.map +1 -1
  16. package/lib/commonjs/hooks/useAutoPlay.js +1 -1
  17. package/lib/commonjs/hooks/useAutoPlay.js.map +1 -1
  18. package/lib/commonjs/hooks/useCarouselController.js +1 -1
  19. package/lib/commonjs/hooks/useCarouselController.js.map +1 -1
  20. package/lib/commonjs/hooks/useCommonVariables.js +1 -1
  21. package/lib/commonjs/hooks/useCommonVariables.js.map +1 -1
  22. package/lib/commonjs/hooks/useInitProps.js +1 -1
  23. package/lib/commonjs/hooks/useInitProps.js.map +1 -1
  24. package/lib/commonjs/hooks/useLayoutConfig.js +1 -1
  25. package/lib/commonjs/hooks/useLayoutConfig.js.map +1 -1
  26. package/lib/commonjs/hooks/useOffsetX.js.map +1 -1
  27. package/lib/commonjs/hooks/useOnProgressChange.js +1 -1
  28. package/lib/commonjs/hooks/useOnProgressChange.js.map +1 -1
  29. package/lib/commonjs/hooks/usePanGestureProxy.js.map +1 -1
  30. package/lib/commonjs/hooks/usePropsErrorBoundary.js +1 -1
  31. package/lib/commonjs/hooks/usePropsErrorBoundary.js.map +1 -1
  32. package/lib/commonjs/hooks/useUpdateGestureConfig.js.map +1 -1
  33. package/lib/commonjs/hooks/useVisibleRanges.js.map +1 -1
  34. package/lib/commonjs/index.js +1 -1
  35. package/lib/commonjs/index.js.map +1 -1
  36. package/lib/commonjs/layouts/index.js.map +1 -1
  37. package/lib/commonjs/layouts/normal.js +1 -1
  38. package/lib/commonjs/layouts/normal.js.map +1 -1
  39. package/lib/commonjs/layouts/parallax.js +1 -1
  40. package/lib/commonjs/layouts/parallax.js.map +1 -1
  41. package/lib/commonjs/layouts/stack.js +1 -1
  42. package/lib/commonjs/layouts/stack.js.map +1 -1
  43. package/lib/commonjs/public-types.js +2 -0
  44. package/lib/commonjs/public-types.js.map +1 -0
  45. package/lib/commonjs/store/index.js.map +1 -1
  46. package/lib/commonjs/utils/carousel-direction.js +2 -0
  47. package/lib/commonjs/utils/carousel-direction.js.map +1 -0
  48. package/lib/commonjs/utils/carousel-math.js +2 -0
  49. package/lib/commonjs/utils/carousel-math.js.map +1 -0
  50. package/lib/commonjs/utils/deal-with-animation.js +1 -1
  51. package/lib/commonjs/utils/deal-with-animation.js.map +1 -1
  52. package/lib/module/components/Carousel.js +1 -1
  53. package/lib/module/components/Carousel.js.map +1 -1
  54. package/lib/module/components/CarouselLayout.js +1 -1
  55. package/lib/module/components/CarouselLayout.js.map +1 -1
  56. package/lib/module/components/ItemLayout.js +1 -1
  57. package/lib/module/components/ItemLayout.js.map +1 -1
  58. package/lib/module/components/ItemRenderer.js +1 -1
  59. package/lib/module/components/ItemRenderer.js.map +1 -1
  60. package/lib/module/components/LazyView.js +1 -1
  61. package/lib/module/components/LazyView.js.map +1 -1
  62. package/lib/module/components/Pagination/PaginationItem.js +2 -0
  63. package/lib/module/components/Pagination/PaginationItem.js.map +1 -0
  64. package/lib/module/components/Pagination/index.js +1 -1
  65. package/lib/module/components/Pagination/index.js.map +1 -1
  66. package/lib/module/components/ScrollViewGesture.js +1 -1
  67. package/lib/module/components/ScrollViewGesture.js.map +1 -1
  68. package/lib/module/constants/index.js +1 -1
  69. package/lib/module/constants/index.js.map +1 -1
  70. package/lib/module/hooks/useAutoPlay.js +1 -1
  71. package/lib/module/hooks/useAutoPlay.js.map +1 -1
  72. package/lib/module/hooks/useCarouselController.js +1 -1
  73. package/lib/module/hooks/useCarouselController.js.map +1 -1
  74. package/lib/module/hooks/useCheckMounted.js +1 -1
  75. package/lib/module/hooks/useCheckMounted.js.map +1 -1
  76. package/lib/module/hooks/useCommonVariables.js +1 -1
  77. package/lib/module/hooks/useCommonVariables.js.map +1 -1
  78. package/lib/module/hooks/useInitProps.js +1 -1
  79. package/lib/module/hooks/useInitProps.js.map +1 -1
  80. package/lib/module/hooks/useLayoutConfig.js +1 -1
  81. package/lib/module/hooks/useLayoutConfig.js.map +1 -1
  82. package/lib/module/hooks/useOffsetX.js +1 -1
  83. package/lib/module/hooks/useOffsetX.js.map +1 -1
  84. package/lib/module/hooks/useOnProgressChange.js +1 -1
  85. package/lib/module/hooks/useOnProgressChange.js.map +1 -1
  86. package/lib/module/hooks/usePanGestureProxy.js +1 -1
  87. package/lib/module/hooks/usePanGestureProxy.js.map +1 -1
  88. package/lib/module/hooks/usePropsErrorBoundary.js +1 -1
  89. package/lib/module/hooks/usePropsErrorBoundary.js.map +1 -1
  90. package/lib/module/hooks/useUpdateGestureConfig.js +1 -1
  91. package/lib/module/hooks/useUpdateGestureConfig.js.map +1 -1
  92. package/lib/module/hooks/useVisibleRanges.js +1 -1
  93. package/lib/module/hooks/useVisibleRanges.js.map +1 -1
  94. package/lib/module/index.js +1 -1
  95. package/lib/module/index.js.map +1 -1
  96. package/lib/module/layouts/index.js +1 -1
  97. package/lib/module/layouts/index.js.map +1 -1
  98. package/lib/module/layouts/normal.js +1 -1
  99. package/lib/module/layouts/normal.js.map +1 -1
  100. package/lib/module/layouts/parallax.js +1 -1
  101. package/lib/module/layouts/parallax.js.map +1 -1
  102. package/lib/module/layouts/stack.js +1 -1
  103. package/lib/module/layouts/stack.js.map +1 -1
  104. package/lib/module/package.json +1 -0
  105. package/lib/module/public-types.js +2 -0
  106. package/lib/module/public-types.js.map +1 -0
  107. package/lib/module/store/index.js +1 -1
  108. package/lib/module/store/index.js.map +1 -1
  109. package/lib/module/types.js +1 -1
  110. package/lib/module/utils/carousel-direction.js +2 -0
  111. package/lib/module/utils/carousel-direction.js.map +1 -0
  112. package/lib/module/utils/carousel-math.js +2 -0
  113. package/lib/module/utils/carousel-math.js.map +1 -0
  114. package/lib/module/utils/compute-gesture-translation.js +1 -1
  115. package/lib/module/utils/compute-gesture-translation.js.map +1 -1
  116. package/lib/module/utils/compute-offset-if-size-changed.js +1 -1
  117. package/lib/module/utils/compute-offset-if-size-changed.js.map +1 -1
  118. package/lib/module/utils/computed-with-auto-fill-data.js +1 -1
  119. package/lib/module/utils/computed-with-auto-fill-data.js.map +1 -1
  120. package/lib/module/utils/deal-with-animation.js +1 -1
  121. package/lib/module/utils/deal-with-animation.js.map +1 -1
  122. package/lib/module/utils/log.js +1 -1
  123. package/lib/module/utils/log.js.map +1 -1
  124. package/lib/module/utils/sanitize-animation-style.js +1 -1
  125. package/lib/module/utils/sanitize-animation-style.js.map +1 -1
  126. package/lib/typescript/commonjs/components/Carousel.d.ts +8 -0
  127. package/lib/typescript/commonjs/components/Carousel.d.ts.map +1 -0
  128. package/lib/typescript/{components → commonjs/components}/CarouselLayout.d.ts +5 -8
  129. package/lib/typescript/commonjs/components/CarouselLayout.d.ts.map +1 -0
  130. package/lib/typescript/{components → commonjs/components}/ItemLayout.d.ts +7 -6
  131. package/lib/typescript/commonjs/components/ItemLayout.d.ts.map +1 -0
  132. package/lib/typescript/commonjs/components/ItemRenderer.d.ts +24 -0
  133. package/lib/typescript/commonjs/components/ItemRenderer.d.ts.map +1 -0
  134. package/lib/typescript/commonjs/components/LazyView.d.ts.map +1 -0
  135. package/lib/typescript/commonjs/components/Pagination/PaginationItem.d.ts +14 -0
  136. package/lib/typescript/commonjs/components/Pagination/PaginationItem.d.ts.map +1 -0
  137. package/lib/typescript/commonjs/components/Pagination/index.d.ts +4 -0
  138. package/lib/typescript/commonjs/components/Pagination/index.d.ts.map +1 -0
  139. package/lib/typescript/{components → commonjs/components}/ScrollViewGesture.d.ts +3 -4
  140. package/lib/typescript/commonjs/components/ScrollViewGesture.d.ts.map +1 -0
  141. package/lib/typescript/commonjs/constants/index.d.ts.map +1 -0
  142. package/lib/typescript/commonjs/hooks/useAutoPlay.d.ts +12 -0
  143. package/lib/typescript/commonjs/hooks/useAutoPlay.d.ts.map +1 -0
  144. package/lib/typescript/commonjs/hooks/useCarouselController.d.ts +29 -0
  145. package/lib/typescript/commonjs/hooks/useCarouselController.d.ts.map +1 -0
  146. package/lib/typescript/commonjs/hooks/useCheckMounted.d.ts.map +1 -0
  147. package/lib/typescript/commonjs/hooks/useCommonVariables.d.ts +18 -0
  148. package/lib/typescript/commonjs/hooks/useCommonVariables.d.ts.map +1 -0
  149. package/lib/typescript/commonjs/hooks/useInitProps.d.ts +25 -0
  150. package/lib/typescript/commonjs/hooks/useInitProps.d.ts.map +1 -0
  151. package/lib/typescript/commonjs/hooks/useLayoutConfig.d.ts +8 -0
  152. package/lib/typescript/commonjs/hooks/useLayoutConfig.d.ts.map +1 -0
  153. package/lib/typescript/commonjs/hooks/useOffsetX.d.ts +13 -0
  154. package/lib/typescript/commonjs/hooks/useOffsetX.d.ts.map +1 -0
  155. package/lib/typescript/commonjs/hooks/useOnProgressChange.d.ts +12 -0
  156. package/lib/typescript/commonjs/hooks/useOnProgressChange.d.ts.map +1 -0
  157. package/lib/typescript/{hooks → commonjs/hooks}/usePanGestureProxy.d.ts +3 -2
  158. package/lib/typescript/commonjs/hooks/usePanGestureProxy.d.ts.map +1 -0
  159. package/lib/typescript/commonjs/hooks/usePropsErrorBoundary.d.ts +3 -0
  160. package/lib/typescript/commonjs/hooks/usePropsErrorBoundary.d.ts.map +1 -0
  161. package/lib/typescript/commonjs/hooks/useUpdateGestureConfig.d.ts +9 -0
  162. package/lib/typescript/commonjs/hooks/useUpdateGestureConfig.d.ts.map +1 -0
  163. package/lib/typescript/{hooks → commonjs/hooks}/useVisibleRanges.d.ts +2 -2
  164. package/lib/typescript/commonjs/hooks/useVisibleRanges.d.ts.map +1 -0
  165. package/lib/typescript/commonjs/index.d.ts +4 -0
  166. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  167. package/lib/typescript/{layouts → commonjs/layouts}/index.d.ts +0 -1
  168. package/lib/typescript/commonjs/layouts/index.d.ts.map +1 -0
  169. package/lib/typescript/{layouts → commonjs/layouts}/normal.d.ts +3 -1
  170. package/lib/typescript/commonjs/layouts/normal.d.ts.map +1 -0
  171. package/lib/typescript/commonjs/layouts/parallax.d.ts +27 -0
  172. package/lib/typescript/commonjs/layouts/parallax.d.ts.map +1 -0
  173. package/lib/typescript/commonjs/layouts/stack.d.ts +10 -0
  174. package/lib/typescript/commonjs/layouts/stack.d.ts.map +1 -0
  175. package/lib/typescript/commonjs/package.json +1 -0
  176. package/lib/typescript/commonjs/public-types.d.ts +161 -0
  177. package/lib/typescript/commonjs/public-types.d.ts.map +1 -0
  178. package/lib/typescript/{store → commonjs/store}/index.d.ts +8 -8
  179. package/lib/typescript/commonjs/store/index.d.ts.map +1 -0
  180. package/lib/typescript/commonjs/types.d.ts +15 -0
  181. package/lib/typescript/commonjs/types.d.ts.map +1 -0
  182. package/lib/typescript/commonjs/utils/carousel-direction.d.ts +9 -0
  183. package/lib/typescript/commonjs/utils/carousel-direction.d.ts.map +1 -0
  184. package/lib/typescript/commonjs/utils/carousel-math.d.ts +28 -0
  185. package/lib/typescript/commonjs/utils/carousel-math.d.ts.map +1 -0
  186. package/lib/typescript/commonjs/utils/compute-gesture-translation.d.ts.map +1 -0
  187. package/lib/typescript/commonjs/utils/compute-offset-if-size-changed.d.ts.map +1 -0
  188. package/lib/typescript/commonjs/utils/computed-with-auto-fill-data.d.ts.map +1 -0
  189. package/lib/typescript/commonjs/utils/deal-with-animation.d.ts +3 -0
  190. package/lib/typescript/commonjs/utils/deal-with-animation.d.ts.map +1 -0
  191. package/lib/typescript/commonjs/utils/log.d.ts.map +1 -0
  192. package/lib/typescript/commonjs/utils/sanitize-animation-style.d.ts.map +1 -0
  193. package/lib/typescript/module/components/Carousel.d.ts +8 -0
  194. package/lib/typescript/module/components/Carousel.d.ts.map +1 -0
  195. package/lib/typescript/module/components/CarouselLayout.d.ts +14 -0
  196. package/lib/typescript/module/components/CarouselLayout.d.ts.map +1 -0
  197. package/lib/typescript/module/components/ItemLayout.d.ts +21 -0
  198. package/lib/typescript/module/components/ItemLayout.d.ts.map +1 -0
  199. package/lib/typescript/module/components/ItemRenderer.d.ts +24 -0
  200. package/lib/typescript/module/components/ItemRenderer.d.ts.map +1 -0
  201. package/lib/typescript/module/components/LazyView.d.ts +8 -0
  202. package/lib/typescript/module/components/LazyView.d.ts.map +1 -0
  203. package/lib/typescript/module/components/Pagination/PaginationItem.d.ts +14 -0
  204. package/lib/typescript/module/components/Pagination/PaginationItem.d.ts.map +1 -0
  205. package/lib/typescript/module/components/Pagination/index.d.ts +4 -0
  206. package/lib/typescript/module/components/Pagination/index.d.ts.map +1 -0
  207. package/lib/typescript/module/components/ScrollViewGesture.d.ts +18 -0
  208. package/lib/typescript/module/components/ScrollViewGesture.d.ts.map +1 -0
  209. package/lib/typescript/module/constants/index.d.ts +9 -0
  210. package/lib/typescript/module/constants/index.d.ts.map +1 -0
  211. package/lib/typescript/module/hooks/useAutoPlay.d.ts +12 -0
  212. package/lib/typescript/module/hooks/useAutoPlay.d.ts.map +1 -0
  213. package/lib/typescript/module/hooks/useCarouselController.d.ts +29 -0
  214. package/lib/typescript/module/hooks/useCarouselController.d.ts.map +1 -0
  215. package/lib/typescript/module/hooks/useCheckMounted.d.ts +3 -0
  216. package/lib/typescript/module/hooks/useCheckMounted.d.ts.map +1 -0
  217. package/lib/typescript/module/hooks/useCommonVariables.d.ts +18 -0
  218. package/lib/typescript/module/hooks/useCommonVariables.d.ts.map +1 -0
  219. package/lib/typescript/module/hooks/useInitProps.d.ts +25 -0
  220. package/lib/typescript/module/hooks/useInitProps.d.ts.map +1 -0
  221. package/lib/typescript/module/hooks/useLayoutConfig.d.ts +8 -0
  222. package/lib/typescript/module/hooks/useLayoutConfig.d.ts.map +1 -0
  223. package/lib/typescript/module/hooks/useOffsetX.d.ts +13 -0
  224. package/lib/typescript/module/hooks/useOffsetX.d.ts.map +1 -0
  225. package/lib/typescript/module/hooks/useOnProgressChange.d.ts +12 -0
  226. package/lib/typescript/module/hooks/useOnProgressChange.d.ts.map +1 -0
  227. package/lib/typescript/module/hooks/usePanGestureProxy.d.ts +11 -0
  228. package/lib/typescript/module/hooks/usePanGestureProxy.d.ts.map +1 -0
  229. package/lib/typescript/module/hooks/usePropsErrorBoundary.d.ts +3 -0
  230. package/lib/typescript/module/hooks/usePropsErrorBoundary.d.ts.map +1 -0
  231. package/lib/typescript/module/hooks/useUpdateGestureConfig.d.ts +9 -0
  232. package/lib/typescript/module/hooks/useUpdateGestureConfig.d.ts.map +1 -0
  233. package/lib/typescript/module/hooks/useVisibleRanges.d.ts +22 -0
  234. package/lib/typescript/module/hooks/useVisibleRanges.d.ts.map +1 -0
  235. package/lib/typescript/module/index.d.ts +4 -0
  236. package/lib/typescript/module/index.d.ts.map +1 -0
  237. package/lib/typescript/module/layouts/index.d.ts +10 -0
  238. package/lib/typescript/module/layouts/index.d.ts.map +1 -0
  239. package/lib/typescript/module/layouts/normal.d.ts +15 -0
  240. package/lib/typescript/module/layouts/normal.d.ts.map +1 -0
  241. package/lib/typescript/module/layouts/parallax.d.ts +27 -0
  242. package/lib/typescript/module/layouts/parallax.d.ts.map +1 -0
  243. package/lib/typescript/module/layouts/stack.d.ts +10 -0
  244. package/lib/typescript/module/layouts/stack.d.ts.map +1 -0
  245. package/lib/typescript/module/package.json +1 -0
  246. package/lib/typescript/module/public-types.d.ts +161 -0
  247. package/lib/typescript/module/public-types.d.ts.map +1 -0
  248. package/lib/typescript/module/store/index.d.ts +35 -0
  249. package/lib/typescript/module/store/index.d.ts.map +1 -0
  250. package/lib/typescript/module/types.d.ts +15 -0
  251. package/lib/typescript/module/types.d.ts.map +1 -0
  252. package/lib/typescript/module/utils/carousel-direction.d.ts +9 -0
  253. package/lib/typescript/module/utils/carousel-direction.d.ts.map +1 -0
  254. package/lib/typescript/module/utils/carousel-math.d.ts +28 -0
  255. package/lib/typescript/module/utils/carousel-math.d.ts.map +1 -0
  256. package/lib/typescript/module/utils/compute-gesture-translation.d.ts +9 -0
  257. package/lib/typescript/module/utils/compute-gesture-translation.d.ts.map +1 -0
  258. package/lib/typescript/module/utils/compute-offset-if-size-changed.d.ts +6 -0
  259. package/lib/typescript/module/utils/compute-offset-if-size-changed.d.ts.map +1 -0
  260. package/lib/typescript/module/utils/computed-with-auto-fill-data.d.ts +23 -0
  261. package/lib/typescript/module/utils/computed-with-auto-fill-data.d.ts.map +1 -0
  262. package/lib/typescript/module/utils/deal-with-animation.d.ts +3 -0
  263. package/lib/typescript/module/utils/deal-with-animation.d.ts.map +1 -0
  264. package/lib/typescript/module/utils/log.d.ts +7 -0
  265. package/lib/typescript/module/utils/log.d.ts.map +1 -0
  266. package/lib/typescript/module/utils/sanitize-animation-style.d.ts +3 -0
  267. package/lib/typescript/module/utils/sanitize-animation-style.d.ts.map +1 -0
  268. package/package.json +34 -7
  269. package/scripts/codemods/v5.mjs +502 -0
  270. package/src/components/Carousel.tsx +5 -5
  271. package/src/components/CarouselLayout.tsx +53 -91
  272. package/src/components/ItemLayout.tsx +55 -46
  273. package/src/components/ItemRenderer.tsx +29 -18
  274. package/src/components/Pagination/PaginationItem.tsx +162 -0
  275. package/src/components/Pagination/index.tsx +105 -6
  276. package/src/components/ScrollViewGesture.tsx +92 -177
  277. package/src/hooks/useAutoPlay.ts +23 -18
  278. package/src/hooks/useCarouselController.tsx +194 -340
  279. package/src/hooks/useCommonVariables.ts +159 -71
  280. package/src/hooks/useInitProps.ts +161 -71
  281. package/src/hooks/useLayoutConfig.ts +21 -12
  282. package/src/hooks/useOffsetX.ts +3 -3
  283. package/src/hooks/useOnProgressChange.ts +23 -48
  284. package/src/hooks/usePanGestureProxy.ts +2 -2
  285. package/src/hooks/usePropsErrorBoundary.ts +32 -90
  286. package/src/hooks/useUpdateGestureConfig.ts +5 -2
  287. package/src/hooks/useVisibleRanges.tsx +2 -2
  288. package/src/index.tsx +14 -9
  289. package/src/layouts/index.tsx +0 -2
  290. package/src/layouts/normal.ts +14 -4
  291. package/src/layouts/parallax.ts +32 -59
  292. package/src/layouts/stack.ts +30 -70
  293. package/src/public-types.ts +198 -0
  294. package/src/store/index.tsx +7 -7
  295. package/src/types.ts +30 -322
  296. package/src/utils/carousel-direction.ts +39 -0
  297. package/src/utils/carousel-math.ts +156 -0
  298. package/src/utils/deal-with-animation.ts +11 -9
  299. package/lib/commonjs/components/Pagination/Basic/PaginationItem.js +0 -2
  300. package/lib/commonjs/components/Pagination/Basic/PaginationItem.js.map +0 -1
  301. package/lib/commonjs/components/Pagination/Basic/index.js +0 -2
  302. package/lib/commonjs/components/Pagination/Basic/index.js.map +0 -1
  303. package/lib/commonjs/components/Pagination/Custom/PaginationItem.js +0 -2
  304. package/lib/commonjs/components/Pagination/Custom/PaginationItem.js.map +0 -1
  305. package/lib/commonjs/components/Pagination/Custom/index.js +0 -2
  306. package/lib/commonjs/components/Pagination/Custom/index.js.map +0 -1
  307. package/lib/commonjs/utils/compute-offset-if-data-changed.js +0 -2
  308. package/lib/commonjs/utils/compute-offset-if-data-changed.js.map +0 -1
  309. package/lib/commonjs/utils/handleroffset-direction.js +0 -2
  310. package/lib/commonjs/utils/handleroffset-direction.js.map +0 -1
  311. package/lib/module/components/Pagination/Basic/PaginationItem.js +0 -2
  312. package/lib/module/components/Pagination/Basic/PaginationItem.js.map +0 -1
  313. package/lib/module/components/Pagination/Basic/index.js +0 -2
  314. package/lib/module/components/Pagination/Basic/index.js.map +0 -1
  315. package/lib/module/components/Pagination/Custom/PaginationItem.js +0 -2
  316. package/lib/module/components/Pagination/Custom/PaginationItem.js.map +0 -1
  317. package/lib/module/components/Pagination/Custom/index.js +0 -2
  318. package/lib/module/components/Pagination/Custom/index.js.map +0 -1
  319. package/lib/module/utils/compute-offset-if-data-changed.js +0 -2
  320. package/lib/module/utils/compute-offset-if-data-changed.js.map +0 -1
  321. package/lib/module/utils/handleroffset-direction.js +0 -2
  322. package/lib/module/utils/handleroffset-direction.js.map +0 -1
  323. package/lib/typescript/components/Carousel.d.ts +0 -8
  324. package/lib/typescript/components/Carousel.d.ts.map +0 -1
  325. package/lib/typescript/components/CarouselLayout.d.ts.map +0 -1
  326. package/lib/typescript/components/ItemLayout.d.ts.map +0 -1
  327. package/lib/typescript/components/ItemRenderer.d.ts +0 -23
  328. package/lib/typescript/components/ItemRenderer.d.ts.map +0 -1
  329. package/lib/typescript/components/LazyView.d.ts.map +0 -1
  330. package/lib/typescript/components/Pagination/Basic/PaginationItem.d.ts +0 -29
  331. package/lib/typescript/components/Pagination/Basic/PaginationItem.d.ts.map +0 -1
  332. package/lib/typescript/components/Pagination/Basic/index.d.ts +0 -23
  333. package/lib/typescript/components/Pagination/Basic/index.d.ts.map +0 -1
  334. package/lib/typescript/components/Pagination/Custom/PaginationItem.d.ts +0 -35
  335. package/lib/typescript/components/Pagination/Custom/PaginationItem.d.ts.map +0 -1
  336. package/lib/typescript/components/Pagination/Custom/index.d.ts +0 -26
  337. package/lib/typescript/components/Pagination/Custom/index.d.ts.map +0 -1
  338. package/lib/typescript/components/Pagination/index.d.ts +0 -5
  339. package/lib/typescript/components/Pagination/index.d.ts.map +0 -1
  340. package/lib/typescript/components/ScrollViewGesture.d.ts.map +0 -1
  341. package/lib/typescript/constants/index.d.ts.map +0 -1
  342. package/lib/typescript/hooks/useAutoPlay.d.ts +0 -12
  343. package/lib/typescript/hooks/useAutoPlay.d.ts.map +0 -1
  344. package/lib/typescript/hooks/useCarouselController.d.ts +0 -28
  345. package/lib/typescript/hooks/useCarouselController.d.ts.map +0 -1
  346. package/lib/typescript/hooks/useCheckMounted.d.ts.map +0 -1
  347. package/lib/typescript/hooks/useCommonVariables.d.ts +0 -13
  348. package/lib/typescript/hooks/useCommonVariables.d.ts.map +0 -1
  349. package/lib/typescript/hooks/useInitProps.d.ts +0 -10
  350. package/lib/typescript/hooks/useInitProps.d.ts.map +0 -1
  351. package/lib/typescript/hooks/useLayoutConfig.d.ts +0 -8
  352. package/lib/typescript/hooks/useLayoutConfig.d.ts.map +0 -1
  353. package/lib/typescript/hooks/useOffsetX.d.ts +0 -13
  354. package/lib/typescript/hooks/useOffsetX.d.ts.map +0 -1
  355. package/lib/typescript/hooks/useOnProgressChange.d.ts +0 -11
  356. package/lib/typescript/hooks/useOnProgressChange.d.ts.map +0 -1
  357. package/lib/typescript/hooks/usePanGestureProxy.d.ts.map +0 -1
  358. package/lib/typescript/hooks/usePropsErrorBoundary.d.ts +0 -5
  359. package/lib/typescript/hooks/usePropsErrorBoundary.d.ts.map +0 -1
  360. package/lib/typescript/hooks/useUpdateGestureConfig.d.ts +0 -6
  361. package/lib/typescript/hooks/useUpdateGestureConfig.d.ts.map +0 -1
  362. package/lib/typescript/hooks/useVisibleRanges.d.ts.map +0 -1
  363. package/lib/typescript/index.d.ts +0 -7
  364. package/lib/typescript/index.d.ts.map +0 -1
  365. package/lib/typescript/layouts/index.d.ts.map +0 -1
  366. package/lib/typescript/layouts/normal.d.ts.map +0 -1
  367. package/lib/typescript/layouts/parallax.d.ts +0 -47
  368. package/lib/typescript/layouts/parallax.d.ts.map +0 -1
  369. package/lib/typescript/layouts/stack.d.ts +0 -38
  370. package/lib/typescript/layouts/stack.d.ts.map +0 -1
  371. package/lib/typescript/store/index.d.ts.map +0 -1
  372. package/lib/typescript/types.d.ts +0 -302
  373. package/lib/typescript/types.d.ts.map +0 -1
  374. package/lib/typescript/utils/compute-gesture-translation.d.ts.map +0 -1
  375. package/lib/typescript/utils/compute-offset-if-data-changed.d.ts +0 -9
  376. package/lib/typescript/utils/compute-offset-if-data-changed.d.ts.map +0 -1
  377. package/lib/typescript/utils/compute-offset-if-size-changed.d.ts.map +0 -1
  378. package/lib/typescript/utils/computed-with-auto-fill-data.d.ts.map +0 -1
  379. package/lib/typescript/utils/deal-with-animation.d.ts +0 -3
  380. package/lib/typescript/utils/deal-with-animation.d.ts.map +0 -1
  381. package/lib/typescript/utils/handleroffset-direction.d.ts +0 -4
  382. package/lib/typescript/utils/handleroffset-direction.d.ts.map +0 -1
  383. package/lib/typescript/utils/log.d.ts.map +0 -1
  384. package/lib/typescript/utils/sanitize-animation-style.d.ts.map +0 -1
  385. package/src/components/Carousel.test.tsx +0 -1215
  386. package/src/components/LazyView.test.tsx +0 -61
  387. package/src/components/Pagination/Basic/PaginationItem.tsx +0 -149
  388. package/src/components/Pagination/Basic/index.tsx +0 -98
  389. package/src/components/Pagination/Custom/PaginationItem.tsx +0 -166
  390. package/src/components/Pagination/Custom/index.tsx +0 -111
  391. package/src/components/Pagination/Pagination.test.tsx +0 -178
  392. package/src/components/ScrollViewGesture.test.tsx +0 -155
  393. package/src/components/issue-899-parallax-reverse-loop.test.tsx +0 -131
  394. package/src/components/rnr-demo.test.tsx +0 -53
  395. package/src/hooks/useAutoPlay.test.ts +0 -194
  396. package/src/hooks/useCarouselController.test.tsx +0 -1158
  397. package/src/hooks/useCheckMounted.test.ts +0 -47
  398. package/src/hooks/useCommonVariables.test.tsx +0 -384
  399. package/src/hooks/useInitProps.test.tsx +0 -134
  400. package/src/hooks/useLayoutConfig.test.tsx +0 -247
  401. package/src/hooks/useOffsetX.test.ts +0 -54
  402. package/src/hooks/useOnProgressChange.test.tsx +0 -270
  403. package/src/hooks/usePanGestureProxy.test.tsx +0 -368
  404. package/src/hooks/usePropsErrorBoundary.test.tsx +0 -57
  405. package/src/hooks/useUpdateGestureConfig.test.ts +0 -89
  406. package/src/hooks/useVisibleRanges.test.tsx +0 -347
  407. package/src/layouts/parallax.test.ts +0 -239
  408. package/src/layouts/stack.test.ts +0 -252
  409. package/src/store/index.test.tsx +0 -314
  410. package/src/utils/compute-gesture-translation.test.ts +0 -70
  411. package/src/utils/compute-offset-if-data-changed.test.ts +0 -133
  412. package/src/utils/compute-offset-if-data-changed.ts +0 -44
  413. package/src/utils/compute-offset-if-size-changed.test.ts +0 -78
  414. package/src/utils/computed-with-auto-fill-data.test.ts +0 -298
  415. package/src/utils/deal-with-animation.test.ts +0 -181
  416. package/src/utils/handleroffset-direction.test.ts +0 -124
  417. package/src/utils/handleroffset-direction.ts +0 -18
  418. package/src/utils/index.test.ts +0 -90
  419. package/src/utils/log.test.ts +0 -134
  420. package/src/utils/sanitize-animation-style.test.ts +0 -40
  421. /package/lib/typescript/{components → commonjs/components}/LazyView.d.ts +0 -0
  422. /package/lib/typescript/{constants → commonjs/constants}/index.d.ts +0 -0
  423. /package/lib/typescript/{hooks → commonjs/hooks}/useCheckMounted.d.ts +0 -0
  424. /package/lib/typescript/{utils → commonjs/utils}/compute-gesture-translation.d.ts +0 -0
  425. /package/lib/typescript/{utils → commonjs/utils}/compute-offset-if-size-changed.d.ts +0 -0
  426. /package/lib/typescript/{utils → commonjs/utils}/computed-with-auto-fill-data.d.ts +0 -0
  427. /package/lib/typescript/{utils → commonjs/utils}/log.d.ts +0 -0
  428. /package/lib/typescript/{utils → commonjs/utils}/sanitize-animation-style.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["computeGestureTranslation_computeGestureTranslationTs1Factory","_ref","_worklet_13264039731154_init_data","_e","global","Error","computeGestureTranslation","options","loop","overscrollEnabled","currentTranslation","panOffset","panTranslation","max","raw","Math","min","boundary","fixed","dynamic","__closure","__workletHash","__pluginVersion","__initData","__stackDetails"],"sourceRoot":"../../../src","sources":["utils/compute-gesture-translation.ts"],"mappings":"ggEAAO,SAAAA,8DAAAC,IAAA,MAAAC,iCAAA,CAAAD,IAAA,CAAAC,iCAAA,KAAAC,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GestureTranslation_computeGestureTranslationTs1Factory","_ref","_worklet_13264039731154_init_data","_e","global","Error","options","loop","overscrollEnabled","currentTranslation","panOffset","panTranslation","max","raw","Math","min","boundary","fixed","dynamic","__closure","__workletHash","__pluginVersion","__initData","__stackDetails"],"sourceRoot":"../../../src","sources":["utils/compute-gesture-translation.ts"],"mappings":"81DAAA,WAAAA,yBAAA,CAAO,SAAAC,8DAAAC,IAAA,MAAAC,iCAAA,CAAAD,IAAA,CAAAC,iCAAA,KAAAC,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAN,yBAAA,UAAAA,0BAAmCO,OAOzC,CAAU,CAET,GAAQ,CAAAC,IAAI,CAA4ED,OAAO,CAAvFC,IAAI,CAAEC,iBAAiB,CAAyDF,OAAO,CAAjFE,iBAAiB,CAAEC,kBAAkB,CAAqCH,OAAO,CAA9DG,kBAAkB,CAAEC,SAAS,CAA0BJ,OAAO,CAA1CI,SAAS,CAAEC,cAAc,CAAUL,OAAO,CAA/BK,cAAc,CAAEC,GAAG,CAAKN,OAAO,CAAfM,GAAG,CACnF,GAAM,CAAAC,GAAG,CAAGH,SAAS,CAAGC,cAAc,CAEtC,GAAIJ,IAAI,CAAE,MAAO,CAAAM,GAAG,CAEpB,GAAI,CAACL,iBAAiB,CAAE,CAEtB,MAAO,CAAAM,IAAI,CAACC,GAAG,CAAC,CAAC,CAAED,IAAI,CAACF,GAAG,CAAC,CAACA,GAAG,CAAEC,GAAG,CAAC,CAAC,CACzC,CAGA,GAAIJ,kBAAkB,CAAG,CAAC,EAAIA,kBAAkB,CAAG,CAACG,GAAG,CAAE,CACvD,GAAM,CAAAI,QAAQ,CAAGP,kBAAkB,CAAG,CAAC,CAAG,CAAC,CAAG,CAACG,GAAG,CAClD,GAAM,CAAAK,KAAK,CAAGD,QAAQ,CAAGN,SAAS,CAClC,GAAM,CAAAQ,OAAO,CAAGP,cAAc,CAAGM,KAAK,CACtC,MAAO,CAAAD,QAAQ,CAAGE,OAAO,CAAG,GAAG,CACjC,CAEA,MAAO,CAAAL,GAAG,CACZ,CAAC,CAAAd,yBAAA,CAAAoB,SAAA,IAAApB,yBAAA,CAAAqB,aAAA,gBAAArB,yBAAA,CAAAsB,eAAA,SAAAtB,yBAAA,CAAAuB,UAAA,CAAApB,iCAAA,CAAAH,yBAAA,CAAAwB,cAAA,CAAApB,EAAA,QAAAJ,yBAAA,EA5BM,EAAAG,iCAAA,CAAAA,iCAAA","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.computeOffsetIfSizeChanged=void 0;var _worklet_1542177680893_init_data={code:"function computeOffsetIfSizeChanged_computeOffsetIfSizeChangedTs1(params){const{handlerOffset:handlerOffset,prevSize:prevSize,size:size}=params;if(!prevSize){return handlerOffset;}return handlerOffset/prevSize*size;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-size-changed.ts",sourceMap:"{\"version\":3,\"names\":[\"computeOffsetIfSizeChanged_computeOffsetIfSizeChangedTs1\",\"params\",\"handlerOffset\",\"prevSize\",\"size\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-size-changed.ts\"],\"mappings\":\"AAAO,SAAAA,wDAIJA,CAAAC,MAAA,EAED,KAAM,CAAEC,aAAa,CAAbA,aAAa,CAAEC,QAAQ,CAARA,QAAQ,CAAEC,IAAA,CAAAA,IAAK,CAAC,CAAGH,MAAM,CAEhD,GAAI,CAACE,QAAQ,CAAE,CACb,MAAO,CAAAD,aAAa,CACtB,CAEA,MAAQ,CAAAA,aAAa,CAAGC,QAAQ,CAAIC,IAAI,CAC1C\",\"ignoreList\":[]}"};var computeOffsetIfSizeChanged=exports.computeOffsetIfSizeChanged=function computeOffsetIfSizeChanged_computeOffsetIfSizeChangedTs1Factory(_ref){var _worklet_1542177680893_init_data=_ref._worklet_1542177680893_init_data;var _e=[new global.Error(),1,-27];var computeOffsetIfSizeChanged=function computeOffsetIfSizeChanged(params){var handlerOffset=params.handlerOffset,prevSize=params.prevSize,size=params.size;if(!prevSize){return handlerOffset;}return handlerOffset/prevSize*size;};computeOffsetIfSizeChanged.__closure={};computeOffsetIfSizeChanged.__workletHash=1542177680893;computeOffsetIfSizeChanged.__pluginVersion="0.5.2";computeOffsetIfSizeChanged.__initData=_worklet_1542177680893_init_data;computeOffsetIfSizeChanged.__stackDetails=_e;return computeOffsetIfSizeChanged;}({_worklet_1542177680893_init_data:_worklet_1542177680893_init_data});
1
+ var _worklet_1542177680893_init_data={code:"function computeOffsetIfSizeChanged_computeOffsetIfSizeChangedTs1(params){const{handlerOffset:handlerOffset,prevSize:prevSize,size:size}=params;if(!prevSize){return handlerOffset;}return handlerOffset/prevSize*size;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-size-changed.ts",sourceMap:"{\"version\":3,\"names\":[\"computeOffsetIfSizeChanged_computeOffsetIfSizeChangedTs1\",\"params\",\"handlerOffset\",\"prevSize\",\"size\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-size-changed.ts\"],\"mappings\":\"AAAO,SAAAA,wDAIJA,CAAAC,MAAA,EAED,KAAM,CAAEC,aAAa,CAAbA,aAAa,CAAEC,QAAQ,CAARA,QAAQ,CAAEC,IAAA,CAAAA,IAAK,CAAC,CAAGH,MAAM,CAEhD,GAAI,CAACE,QAAQ,CAAE,CACb,MAAO,CAAAD,aAAa,CACtB,CAEA,MAAQ,CAAAA,aAAa,CAAGC,QAAQ,CAAIC,IAAI,CAC1C\",\"ignoreList\":[]}"};export var computeOffsetIfSizeChanged=function computeOffsetIfSizeChanged_computeOffsetIfSizeChangedTs1Factory(_ref){var _worklet_1542177680893_init_data=_ref._worklet_1542177680893_init_data;var _e=[new global.Error(),1,-27];var computeOffsetIfSizeChanged=function computeOffsetIfSizeChanged(params){var handlerOffset=params.handlerOffset,prevSize=params.prevSize,size=params.size;if(!prevSize){return handlerOffset;}return handlerOffset/prevSize*size;};computeOffsetIfSizeChanged.__closure={};computeOffsetIfSizeChanged.__workletHash=1542177680893;computeOffsetIfSizeChanged.__pluginVersion="0.5.2";computeOffsetIfSizeChanged.__initData=_worklet_1542177680893_init_data;computeOffsetIfSizeChanged.__stackDetails=_e;return computeOffsetIfSizeChanged;}({_worklet_1542177680893_init_data:_worklet_1542177680893_init_data});
2
2
  //# sourceMappingURL=compute-offset-if-size-changed.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["computeOffsetIfSizeChanged_computeOffsetIfSizeChangedTs1Factory","_ref","_worklet_1542177680893_init_data","_e","global","Error","computeOffsetIfSizeChanged","params","handlerOffset","prevSize","size","__closure","__workletHash","__pluginVersion","__initData","__stackDetails"],"sourceRoot":"../../../src","sources":["utils/compute-offset-if-size-changed.ts"],"mappings":"omCAAO,SAAAA,gEAAAC,IAAA,MAAAC,gCAAA,CAAAD,IAAA,CAAAC,gCAAA,KAAAC,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAC,0BAAA,UAAAA,2BAAoCC,MAI1C,CAAE,CAED,GAAQ,CAAAC,aAAa,CAAqBD,MAAM,CAAxCC,aAAa,CAAEC,QAAQ,CAAWF,MAAM,CAAzBE,QAAQ,CAAEC,IAAI,CAAKH,MAAM,CAAfG,IAAI,CAErC,GAAI,CAACD,QAAQ,CAAE,CACb,MAAO,CAAAD,aAAa,CACtB,CAEA,MAAQ,CAAAA,aAAa,CAAGC,QAAQ,CAAIC,IAAI,CAC1C,CAAC,CAAAJ,0BAAA,CAAAK,SAAA,IAAAL,0BAAA,CAAAM,aAAA,eAAAN,0BAAA,CAAAO,eAAA,SAAAP,0BAAA,CAAAQ,UAAA,CAAAZ,gCAAA,CAAAI,0BAAA,CAAAS,cAAA,CAAAZ,EAAA,QAAAG,0BAAA,EAbM,EAAAJ,gCAAA,CAAAA,gCAAA","ignoreList":[]}
1
+ {"version":3,"names":["computeOffsetIfSizeChanged","computeOffsetIfSizeChanged_computeOffsetIfSizeChangedTs1Factory","_ref","_worklet_1542177680893_init_data","_e","global","Error","params","handlerOffset","prevSize","size","__closure","__workletHash","__pluginVersion","__initData","__stackDetails"],"sourceRoot":"../../../src","sources":["utils/compute-offset-if-size-changed.ts"],"mappings":"+7BAAA,WAAAA,0BAAA,CAAO,SAAAC,gEAAAC,IAAA,MAAAC,gCAAA,CAAAD,IAAA,CAAAC,gCAAA,KAAAC,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAN,0BAAA,UAAAA,2BAAoCO,MAI1C,CAAE,CAED,GAAQ,CAAAC,aAAa,CAAqBD,MAAM,CAAxCC,aAAa,CAAEC,QAAQ,CAAWF,MAAM,CAAzBE,QAAQ,CAAEC,IAAI,CAAKH,MAAM,CAAfG,IAAI,CAErC,GAAI,CAACD,QAAQ,CAAE,CACb,MAAO,CAAAD,aAAa,CACtB,CAEA,MAAQ,CAAAA,aAAa,CAAGC,QAAQ,CAAIC,IAAI,CAC1C,CAAC,CAAAV,0BAAA,CAAAW,SAAA,IAAAX,0BAAA,CAAAY,aAAA,eAAAZ,0BAAA,CAAAa,eAAA,SAAAb,0BAAA,CAAAc,UAAA,CAAAX,gCAAA,CAAAH,0BAAA,CAAAe,cAAA,CAAAX,EAAA,QAAAJ,0BAAA,EAbM,EAAAG,gCAAA,CAAAA,gCAAA","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.computedFillDataWithAutoFillData=computedFillDataWithAutoFillData;exports.computedOffsetXValueWithAutoFillData=void 0;exports.computedRealIndexWithAutoFillData=computedRealIndexWithAutoFillData;exports.convertToSharedIndex=void 0;var _constants=require("../constants");var SINGLE_ITEM=_constants.DATA_LENGTH.SINGLE_ITEM,DOUBLE_ITEM=_constants.DATA_LENGTH.DOUBLE_ITEM;var _worklet_14851497008739_init_data={code:"function isAutoFillData_computedWithAutoFillDataTs1(params){return!!params.loop&&!!params.autoFillData;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts",sourceMap:"{\"version\":3,\"names\":[\"isAutoFillData_computedWithAutoFillDataTs1\",\"params\",\"loop\",\"autoFillData\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts\"],\"mappings\":\"AAIA,SAAAA,0CAA0EA,CAAAC,MAAA,EAExE,MAAO,CAAC,CAACA,MAAM,CAACC,IAAI,EAAI,CAAC,CAACD,MAAM,CAACE,YAAY,CAC/C\",\"ignoreList\":[]}"};var isAutoFillData=function isAutoFillData_computedWithAutoFillDataTs1Factory(_ref){var _worklet_14851497008739_init_data=_ref._worklet_14851497008739_init_data;var _e=[new global.Error(),1,-27];var isAutoFillData=function isAutoFillData(params){return!!params.loop&&!!params.autoFillData;};isAutoFillData.__closure={};isAutoFillData.__workletHash=14851497008739;isAutoFillData.__pluginVersion="0.5.2";isAutoFillData.__initData=_worklet_14851497008739_init_data;isAutoFillData.__stackDetails=_e;return isAutoFillData;}({_worklet_14851497008739_init_data:_worklet_14851497008739_init_data});var _worklet_9348172572397_init_data={code:"function convertToSharedIndex_computedWithAutoFillDataTs2(params){const{isAutoFillData,SINGLE_ITEM,DOUBLE_ITEM}=this.__closure;const{loop:loop,rawDataLength:rawDataLength,index:index,autoFillData:autoFillData}=params;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(rawDataLength){case SINGLE_ITEM:return 0;case DOUBLE_ITEM:return index%2;}}return index;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts",sourceMap:"{\"version\":3,\"names\":[\"convertToSharedIndex_computedWithAutoFillDataTs2\",\"params\",\"isAutoFillData\",\"SINGLE_ITEM\",\"DOUBLE_ITEM\",\"__closure\",\"loop\",\"rawDataLength\",\"index\",\"autoFillData\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts\"],\"mappings\":\"AAcO,SAAAA,gDAA4FA,CAAAC,MAAA,QAAAC,cAAA,CAAAC,WAAA,CAAAC,WAAA,OAAAC,SAAA,CAEjG,KAAM,CAAEC,IAAI,CAAJA,IAAI,CAAEC,aAAa,CAAbA,aAAa,CAAEC,KAAK,CAALA,KAAK,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAGR,MAAM,CAE3D,GAAIC,cAAc,CAAC,CAAEI,IAAI,CAAJA,IAAI,CAAEG,YAAA,CAAAA,YAAa,CAAC,CAAC,CAAE,CAC1C,OAAQF,aAAa,EACnB,IAAK,CAAAJ,WAAW,CACd,MAAO,EAAC,CACV,IAAK,CAAAC,WAAW,CACd,MAAO,CAAAI,KAAK,CAAG,CAAC,CACpB,CACF,CAEA,MAAO,CAAAA,KAAK,CACd\",\"ignoreList\":[]}"};var convertToSharedIndex=exports.convertToSharedIndex=function convertToSharedIndex_computedWithAutoFillDataTs2Factory(_ref2){var _worklet_9348172572397_init_data=_ref2._worklet_9348172572397_init_data,isAutoFillData=_ref2.isAutoFillData,SINGLE_ITEM=_ref2.SINGLE_ITEM,DOUBLE_ITEM=_ref2.DOUBLE_ITEM;var _e=[new global.Error(),-4,-27];var convertToSharedIndex=function convertToSharedIndex(params){var loop=params.loop,rawDataLength=params.rawDataLength,index=params.index,autoFillData=params.autoFillData;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(rawDataLength){case SINGLE_ITEM:return 0;case DOUBLE_ITEM:return index%2;}}return index;};convertToSharedIndex.__closure={isAutoFillData:isAutoFillData,SINGLE_ITEM:SINGLE_ITEM,DOUBLE_ITEM:DOUBLE_ITEM};convertToSharedIndex.__workletHash=9348172572397;convertToSharedIndex.__pluginVersion="0.5.2";convertToSharedIndex.__initData=_worklet_9348172572397_init_data;convertToSharedIndex.__stackDetails=_e;return convertToSharedIndex;}({_worklet_9348172572397_init_data:_worklet_9348172572397_init_data,isAutoFillData:isAutoFillData,SINGLE_ITEM:SINGLE_ITEM,DOUBLE_ITEM:DOUBLE_ITEM});var _worklet_12639980643241_init_data={code:"function computedOffsetXValueWithAutoFillData_computedWithAutoFillDataTs3(params){const{isAutoFillData,SINGLE_ITEM,DOUBLE_ITEM}=this.__closure;const{rawDataLength:rawDataLength,value:value,size:size,loop:loop,autoFillData:autoFillData}=params;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(rawDataLength){case SINGLE_ITEM:return value%size;case DOUBLE_ITEM:return value%(size*2);}}return value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts",sourceMap:"{\"version\":3,\"names\":[\"computedOffsetXValueWithAutoFillData_computedWithAutoFillDataTs3\",\"params\",\"isAutoFillData\",\"SINGLE_ITEM\",\"DOUBLE_ITEM\",\"__closure\",\"rawDataLength\",\"value\",\"size\",\"loop\",\"autoFillData\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts\"],\"mappings\":\"AA8BO,SAAAA,gEAMLA,CAAAC,MAAA,QAAAC,cAAA,CAAAC,WAAA,CAAAC,WAAA,OAAAC,SAAA,CAGA,KAAM,CAAEC,aAAa,CAAbA,aAAa,CAAEC,KAAK,CAALA,KAAK,CAAEC,IAAI,CAAJA,IAAI,CAAEC,IAAI,CAAJA,IAAI,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAGT,MAAM,CAEjE,GAAIC,cAAc,CAAC,CAAEO,IAAI,CAAJA,IAAI,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAC,CAAE,CAC1C,OAAQJ,aAAa,EACnB,IAAK,CAAAH,WAAW,CACd,MAAO,CAAAI,KAAK,CAAGC,IAAI,CACrB,IAAK,CAAAJ,WAAW,CACd,MAAO,CAAAG,KAAK,EAAIC,IAAI,CAAG,CAAC,CAAC,CAC7B,CACF,CAEA,MAAO,CAAAD,KAAK,CACd\",\"ignoreList\":[]}"};var computedOffsetXValueWithAutoFillData=exports.computedOffsetXValueWithAutoFillData=function computedOffsetXValueWithAutoFillData_computedWithAutoFillDataTs3Factory(_ref3){var _worklet_12639980643241_init_data=_ref3._worklet_12639980643241_init_data,isAutoFillData=_ref3.isAutoFillData,SINGLE_ITEM=_ref3.SINGLE_ITEM,DOUBLE_ITEM=_ref3.DOUBLE_ITEM;var _e=[new global.Error(),-4,-27];var computedOffsetXValueWithAutoFillData=function computedOffsetXValueWithAutoFillData(params){var rawDataLength=params.rawDataLength,value=params.value,size=params.size,loop=params.loop,autoFillData=params.autoFillData;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(rawDataLength){case SINGLE_ITEM:return value%size;case DOUBLE_ITEM:return value%(size*2);}}return value;};computedOffsetXValueWithAutoFillData.__closure={isAutoFillData:isAutoFillData,SINGLE_ITEM:SINGLE_ITEM,DOUBLE_ITEM:DOUBLE_ITEM};computedOffsetXValueWithAutoFillData.__workletHash=12639980643241;computedOffsetXValueWithAutoFillData.__pluginVersion="0.5.2";computedOffsetXValueWithAutoFillData.__initData=_worklet_12639980643241_init_data;computedOffsetXValueWithAutoFillData.__stackDetails=_e;return computedOffsetXValueWithAutoFillData;}({_worklet_12639980643241_init_data:_worklet_12639980643241_init_data,isAutoFillData:isAutoFillData,SINGLE_ITEM:SINGLE_ITEM,DOUBLE_ITEM:DOUBLE_ITEM});function computedRealIndexWithAutoFillData(params){var index=params.index,dataLength=params.dataLength,loop=params.loop,autoFillData=params.autoFillData;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(dataLength){case SINGLE_ITEM:return index%1;case DOUBLE_ITEM:return index%2;}}return index;}function computedFillDataWithAutoFillData(params){var data=params.data,loop=params.loop,autoFillData=params.autoFillData,dataLength=params.dataLength;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(dataLength){case SINGLE_ITEM:return[data[0],data[0],data[0]];case DOUBLE_ITEM:return[data[0],data[1],data[0],data[1]];}}return data;}
1
+ import{DATA_LENGTH}from"../constants";var SINGLE_ITEM=DATA_LENGTH.SINGLE_ITEM,DOUBLE_ITEM=DATA_LENGTH.DOUBLE_ITEM;var _worklet_14851497008739_init_data={code:"function isAutoFillData_computedWithAutoFillDataTs1(params){return!!params.loop&&!!params.autoFillData;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts",sourceMap:"{\"version\":3,\"names\":[\"isAutoFillData_computedWithAutoFillDataTs1\",\"params\",\"loop\",\"autoFillData\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts\"],\"mappings\":\"AAIA,SAAAA,0CAA0EA,CAAAC,MAAA,EAExE,MAAO,CAAC,CAACA,MAAM,CAACC,IAAI,EAAI,CAAC,CAACD,MAAM,CAACE,YAAY,CAC/C\",\"ignoreList\":[]}"};var isAutoFillData=function isAutoFillData_computedWithAutoFillDataTs1Factory(_ref){var _worklet_14851497008739_init_data=_ref._worklet_14851497008739_init_data;var _e=[new global.Error(),1,-27];var isAutoFillData=function isAutoFillData(params){return!!params.loop&&!!params.autoFillData;};isAutoFillData.__closure={};isAutoFillData.__workletHash=14851497008739;isAutoFillData.__pluginVersion="0.5.2";isAutoFillData.__initData=_worklet_14851497008739_init_data;isAutoFillData.__stackDetails=_e;return isAutoFillData;}({_worklet_14851497008739_init_data:_worklet_14851497008739_init_data});var _worklet_9348172572397_init_data={code:"function convertToSharedIndex_computedWithAutoFillDataTs2(params){const{isAutoFillData,SINGLE_ITEM,DOUBLE_ITEM}=this.__closure;const{loop:loop,rawDataLength:rawDataLength,index:index,autoFillData:autoFillData}=params;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(rawDataLength){case SINGLE_ITEM:return 0;case DOUBLE_ITEM:return index%2;}}return index;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts",sourceMap:"{\"version\":3,\"names\":[\"convertToSharedIndex_computedWithAutoFillDataTs2\",\"params\",\"isAutoFillData\",\"SINGLE_ITEM\",\"DOUBLE_ITEM\",\"__closure\",\"loop\",\"rawDataLength\",\"index\",\"autoFillData\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts\"],\"mappings\":\"AAcO,SAAAA,gDAA4FA,CAAAC,MAAA,QAAAC,cAAA,CAAAC,WAAA,CAAAC,WAAA,OAAAC,SAAA,CAEjG,KAAM,CAAEC,IAAI,CAAJA,IAAI,CAAEC,aAAa,CAAbA,aAAa,CAAEC,KAAK,CAALA,KAAK,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAGR,MAAM,CAE3D,GAAIC,cAAc,CAAC,CAAEI,IAAI,CAAJA,IAAI,CAAEG,YAAA,CAAAA,YAAa,CAAC,CAAC,CAAE,CAC1C,OAAQF,aAAa,EACnB,IAAK,CAAAJ,WAAW,CACd,MAAO,EAAC,CACV,IAAK,CAAAC,WAAW,CACd,MAAO,CAAAI,KAAK,CAAG,CAAC,CACpB,CACF,CAEA,MAAO,CAAAA,KAAK,CACd\",\"ignoreList\":[]}"};export var convertToSharedIndex=function convertToSharedIndex_computedWithAutoFillDataTs2Factory(_ref2){var _worklet_9348172572397_init_data=_ref2._worklet_9348172572397_init_data,isAutoFillData=_ref2.isAutoFillData,SINGLE_ITEM=_ref2.SINGLE_ITEM,DOUBLE_ITEM=_ref2.DOUBLE_ITEM;var _e=[new global.Error(),-4,-27];var convertToSharedIndex=function convertToSharedIndex(params){var loop=params.loop,rawDataLength=params.rawDataLength,index=params.index,autoFillData=params.autoFillData;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(rawDataLength){case SINGLE_ITEM:return 0;case DOUBLE_ITEM:return index%2;}}return index;};convertToSharedIndex.__closure={isAutoFillData:isAutoFillData,SINGLE_ITEM:SINGLE_ITEM,DOUBLE_ITEM:DOUBLE_ITEM};convertToSharedIndex.__workletHash=9348172572397;convertToSharedIndex.__pluginVersion="0.5.2";convertToSharedIndex.__initData=_worklet_9348172572397_init_data;convertToSharedIndex.__stackDetails=_e;return convertToSharedIndex;}({_worklet_9348172572397_init_data:_worklet_9348172572397_init_data,isAutoFillData:isAutoFillData,SINGLE_ITEM:SINGLE_ITEM,DOUBLE_ITEM:DOUBLE_ITEM});var _worklet_12639980643241_init_data={code:"function computedOffsetXValueWithAutoFillData_computedWithAutoFillDataTs3(params){const{isAutoFillData,SINGLE_ITEM,DOUBLE_ITEM}=this.__closure;const{rawDataLength:rawDataLength,value:value,size:size,loop:loop,autoFillData:autoFillData}=params;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(rawDataLength){case SINGLE_ITEM:return value%size;case DOUBLE_ITEM:return value%(size*2);}}return value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts",sourceMap:"{\"version\":3,\"names\":[\"computedOffsetXValueWithAutoFillData_computedWithAutoFillDataTs3\",\"params\",\"isAutoFillData\",\"SINGLE_ITEM\",\"DOUBLE_ITEM\",\"__closure\",\"rawDataLength\",\"value\",\"size\",\"loop\",\"autoFillData\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts\"],\"mappings\":\"AA8BO,SAAAA,gEAMLA,CAAAC,MAAA,QAAAC,cAAA,CAAAC,WAAA,CAAAC,WAAA,OAAAC,SAAA,CAGA,KAAM,CAAEC,aAAa,CAAbA,aAAa,CAAEC,KAAK,CAALA,KAAK,CAAEC,IAAI,CAAJA,IAAI,CAAEC,IAAI,CAAJA,IAAI,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAGT,MAAM,CAEjE,GAAIC,cAAc,CAAC,CAAEO,IAAI,CAAJA,IAAI,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAC,CAAE,CAC1C,OAAQJ,aAAa,EACnB,IAAK,CAAAH,WAAW,CACd,MAAO,CAAAI,KAAK,CAAGC,IAAI,CACrB,IAAK,CAAAJ,WAAW,CACd,MAAO,CAAAG,KAAK,EAAIC,IAAI,CAAG,CAAC,CAAC,CAC7B,CACF,CAEA,MAAO,CAAAD,KAAK,CACd\",\"ignoreList\":[]}"};export var computedOffsetXValueWithAutoFillData=function computedOffsetXValueWithAutoFillData_computedWithAutoFillDataTs3Factory(_ref3){var _worklet_12639980643241_init_data=_ref3._worklet_12639980643241_init_data,isAutoFillData=_ref3.isAutoFillData,SINGLE_ITEM=_ref3.SINGLE_ITEM,DOUBLE_ITEM=_ref3.DOUBLE_ITEM;var _e=[new global.Error(),-4,-27];var computedOffsetXValueWithAutoFillData=function computedOffsetXValueWithAutoFillData(params){var rawDataLength=params.rawDataLength,value=params.value,size=params.size,loop=params.loop,autoFillData=params.autoFillData;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(rawDataLength){case SINGLE_ITEM:return value%size;case DOUBLE_ITEM:return value%(size*2);}}return value;};computedOffsetXValueWithAutoFillData.__closure={isAutoFillData:isAutoFillData,SINGLE_ITEM:SINGLE_ITEM,DOUBLE_ITEM:DOUBLE_ITEM};computedOffsetXValueWithAutoFillData.__workletHash=12639980643241;computedOffsetXValueWithAutoFillData.__pluginVersion="0.5.2";computedOffsetXValueWithAutoFillData.__initData=_worklet_12639980643241_init_data;computedOffsetXValueWithAutoFillData.__stackDetails=_e;return computedOffsetXValueWithAutoFillData;}({_worklet_12639980643241_init_data:_worklet_12639980643241_init_data,isAutoFillData:isAutoFillData,SINGLE_ITEM:SINGLE_ITEM,DOUBLE_ITEM:DOUBLE_ITEM});export function computedRealIndexWithAutoFillData(params){var index=params.index,dataLength=params.dataLength,loop=params.loop,autoFillData=params.autoFillData;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(dataLength){case SINGLE_ITEM:return index%1;case DOUBLE_ITEM:return index%2;}}return index;}export function computedFillDataWithAutoFillData(params){var data=params.data,loop=params.loop,autoFillData=params.autoFillData,dataLength=params.dataLength;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(dataLength){case SINGLE_ITEM:return[data[0],data[0],data[0]];case DOUBLE_ITEM:return[data[0],data[1],data[0],data[1]];}}return data;}
2
2
  //# sourceMappingURL=computed-with-auto-fill-data.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_constants","require","SINGLE_ITEM","DATA_LENGTH","DOUBLE_ITEM","_worklet_14851497008739_init_data","code","location","sourceMap","isAutoFillData","isAutoFillData_computedWithAutoFillDataTs1Factory","_ref","_e","global","Error","params","loop","autoFillData","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","_worklet_9348172572397_init_data","convertToSharedIndex","exports","convertToSharedIndex_computedWithAutoFillDataTs2Factory","_ref2","rawDataLength","index","_worklet_12639980643241_init_data","computedOffsetXValueWithAutoFillData","computedOffsetXValueWithAutoFillData_computedWithAutoFillDataTs3Factory","_ref3","value","size","computedRealIndexWithAutoFillData","dataLength","computedFillDataWithAutoFillData","data"],"sourceRoot":"../../../src","sources":["utils/computed-with-auto-fill-data.ts"],"mappings":"uSAAA,IAAAA,UAAA,CAAAC,OAAA,iBAEA,GAAQ,CAAAC,WAAW,CAAkBC,sBAAW,CAAxCD,WAAW,CAAEE,WAAW,CAAKD,sBAAW,CAA3BC,WAAW,CAAiB,IAAAC,iCAAA,EAAAC,IAAA,4GAAAC,QAAA,iIAAAC,SAAA,qZAAAC,cAAA,CAEjD,SAAAC,kDAAAC,IAAA,MAAAN,iCAAA,CAAAM,IAAA,CAAAN,iCAAA,KAAAO,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAL,cAAA,UAAAA,eAAwBM,MAAgD,CAAE,CAExE,MAAO,CAAC,CAACA,MAAM,CAACC,IAAI,EAAI,CAAC,CAACD,MAAM,CAACE,YAAY,CAC/C,CAAC,CAAAR,cAAA,CAAAS,SAAA,IAAAT,cAAA,CAAAU,aAAA,gBAAAV,cAAA,CAAAW,eAAA,SAAAX,cAAA,CAAAY,UAAA,CAAAhB,iCAAA,CAAAI,cAAA,C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AAC,CAAC,CAAEA,IAAI,CAAC,CAAC,CAAC,CAAEA,IAAI,CAAC,CAAC,CAAC,CAAC,CAC/C,CACF,CAEA,MAAO,CAAAA,IAAI,CACb","ignoreList":[]}
1
+ {"version":3,"names":["DATA_LENGTH","SINGLE_ITEM","DOUBLE_ITEM","_worklet_14851497008739_init_data","code","location","sourceMap","isAutoFillData","isAutoFillData_computedWithAutoFillDataTs1Factory","_ref","_e","global","Error","params","loop","autoFillData","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","_worklet_9348172572397_init_data","convertToSharedIndex","convertToSharedIndex_computedWithAutoFillDataTs2Factory","_ref2","rawDataLength","index","_worklet_12639980643241_init_data","computedOffsetXValueWithAutoFillData","computedOffsetXValueWithAutoFillData_computedWithAutoFillDataTs3Factory","_ref3","value","size","computedRealIndexWithAutoFillData","dataLength","computedFillDataWithAutoFillData","data"],"sourceRoot":"../../../src","sources":["utils/computed-with-auto-fill-data.ts"],"mappings":"AAAA,OAASA,WAAW,KAAQ,cAAc,CAE1C,GAAQ,CAAAC,WAAW,CAAkBD,WAAW,CAAxCC,WAAW,CAAEC,WAAW,CAAKF,WAAW,CAA3BE,WAAW,CAAiB,IAAAC,iCAAA,EAAAC,IAAA,4GAAAC,QAAA,iIAAAC,SAAA,qZAAAC,cAAA,CAEjD,SAAAC,kDAAAC,IAAA,MAAAN,iCAAA,CAAAM,IAAA,CAAAN,iCAAA,KAAAO,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAL,cAAA,UAAAA,eAAwBM,MAAgD,CAAE,CAExE,MAAO,CAAC,CAACA,MAAM,CAACC,IAAI,EAAI,CAAC,CAACD,MAAM,CAACE,YAAY,CAC/C,CAAC,CAAAR,cAAA,CAAAS,SAAA,IAAAT,cAAA,CAAAU,aAAA,gBAAAV,cAAA,CAAAW,eAAA,SAAAX,cAAA,CAAAY,UAAA,CAAAhB,iCAAA,CAAAI,cAAA,CAAAa,cAAA,CAAAV,EAAA,QAAAH,cAAA,EAHD,E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C,CAAC,CAC/C,CACF,CAEA,MAAO,CAAAA,IAAI,CACb","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.dealWithAnimation=void 0;var _reactNativeReanimated=require("react-native-reanimated");var _worklet_5099821743065_init_data={code:"function dealWithAnimation_dealWithAnimationTs1(withAnimation){const{withSpring,withTiming}=this.__closure;switch(withAnimation.type){case\"spring\":return function(value,cb){return withSpring(value,withAnimation.config,function(isFinished){return cb(isFinished);});};case\"timing\":return function(value,cb){return withTiming(value,withAnimation.config,function(isFinished){return cb(isFinished);});};}}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts",sourceMap:"{\"version\":3,\"names\":[\"dealWithAnimation_dealWithAnimationTs1\",\"withAnimation\",\"withSpring\",\"withTiming\",\"__closure\",\"type\",\"value\",\"cb\",\"config\",\"isFinished\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts\"],\"mappings\":\"AAIO,SAAAA,sCAEyDA,CAAAC,aAAA,QAAAC,UAAA,CAAAC,UAAA,OAAAC,SAAA,CAE9D,OAAQH,aAAa,CAACI,IAAI,EACxB,IAAK,QAAQ,CACX,MAAO,UAACC,KAAK,CAAEC,EAAE,QACf,CAAAL,UAAU,CAACI,KAAK,CAAEL,aAAa,CAACO,MAAM,CAAG,SAAAC,UAAU,QAAK,CAAAF,EAAE,CAACE,UAAqB,CAAC,GAAC,GACtF,IAAK,QAAQ,CACX,MAAO,UAACH,KAAK,CAAEC,EAAE,QACf,CAAAJ,UAAU,CAACG,KAAK,CAAEL,aAAa,CAACO,MAAM,CAAG,SAAAC,UAAU,QAAK,CAAAF,EAAE,CAACE,UAAqB,CAAC,GAAC,GACxF,CACF\",\"ignoreList\":[]}"};var _worklet_13669641383651_init_data={code:"function dealWithAnimationTs2(isFinished){const{cb}=this.__closure;return cb(isFinished);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts",sourceMap:"{\"version\":3,\"names\":[\"dealWithAnimationTs2\",\"isFinished\",\"cb\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts\"],\"mappings\":\"AAWiD,SAAAA,oBAAUA,CAAAC,UAAA,QAAAC,EAAA,OAAAC,SAAA,OAAK,CAAAD,EAAG,CAAAD,UAAqB\",\"ignoreList\":[]}"};var _worklet_13747239236962_init_data={code:"function dealWithAnimationTs3(isFinished){const{cb}=this.__closure;return cb(isFinished);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts",sourceMap:"{\"version\":3,\"names\":[\"dealWithAnimationTs3\",\"isFinished\",\"cb\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts\"],\"mappings\":\"AAciD,SAAAA,oBAAUA,CAAAC,UAAA,QAAAC,EAAA,OAAAC,SAAA,OAAK,CAAAD,EAAG,CAAAD,UAAqB\",\"ignoreList\":[]}"};var dealWithAnimation=exports.dealWithAnimation=function dealWithAnimation_dealWithAnimationTs1Factory(_ref){var _worklet_5099821743065_init_data=_ref._worklet_5099821743065_init_data,withSpring=_ref.withSpring,withTiming=_ref.withTiming;var _e=[new global.Error(),-3,-27];var dealWithAnimation=function dealWithAnimation(withAnimation){switch(withAnimation.type){case"spring":return function(value,cb){return withSpring(value,withAnimation.config,function dealWithAnimationTs2Factory(_ref2){var _worklet_13669641383651_init_data=_ref2._worklet_13669641383651_init_data,cb=_ref2.cb;var _e=[new global.Error(),-2,-27];var dealWithAnimationTs2=function dealWithAnimationTs2(isFinished){return cb(isFinished);};dealWithAnimationTs2.__closure={cb:cb};dealWithAnimationTs2.__workletHash=13669641383651;dealWithAnimationTs2.__pluginVersion="0.5.2";dealWithAnimationTs2.__initData=_worklet_13669641383651_init_data;dealWithAnimationTs2.__stackDetails=_e;return dealWithAnimationTs2;}({_worklet_13669641383651_init_data:_worklet_13669641383651_init_data,cb:cb}));};case"timing":return function(value,cb){return withTiming(value,withAnimation.config,function dealWithAnimationTs3Factory(_ref3){var _worklet_13747239236962_init_data=_ref3._worklet_13747239236962_init_data,cb=_ref3.cb;var _e=[new global.Error(),-2,-27];var dealWithAnimationTs3=function dealWithAnimationTs3(isFinished){return cb(isFinished);};dealWithAnimationTs3.__closure={cb:cb};dealWithAnimationTs3.__workletHash=13747239236962;dealWithAnimationTs3.__pluginVersion="0.5.2";dealWithAnimationTs3.__initData=_worklet_13747239236962_init_data;dealWithAnimationTs3.__stackDetails=_e;return dealWithAnimationTs3;}({_worklet_13747239236962_init_data:_worklet_13747239236962_init_data,cb:cb}));};}};dealWithAnimation.__closure={withSpring:withSpring,withTiming:withTiming};dealWithAnimation.__workletHash=5099821743065;dealWithAnimation.__pluginVersion="0.5.2";dealWithAnimation.__initData=_worklet_5099821743065_init_data;dealWithAnimation.__stackDetails=_e;return dealWithAnimation;}({_worklet_5099821743065_init_data:_worklet_5099821743065_init_data,withSpring:_reactNativeReanimated.withSpring,withTiming:_reactNativeReanimated.withTiming});
1
+ import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["type"],_excluded2=["type"];import{withSpring,withTiming}from"react-native-reanimated";var _worklet_9395448689721_init_data={code:"function dealWithAnimation_dealWithAnimationTs1(animation){const{withSpring,withTiming}=this.__closure;switch(animation.type){case\"spring\":{const{type:_,...config}=animation;return function(value,cb){return withSpring(value,config,function(isFinished){return cb(isFinished);});};}case\"timing\":{const{type:_,...config}=animation;return function(value,cb){return withTiming(value,config,function(isFinished){return cb(isFinished);});};}}}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts",sourceMap:"{\"version\":3,\"names\":[\"dealWithAnimation_dealWithAnimationTs1\",\"animation\",\"withSpring\",\"withTiming\",\"__closure\",\"type\",\"_\",\"config\",\"value\",\"cb\",\"isFinished\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts\"],\"mappings\":\"AAIO,SAAAA,sCAEyDA,CAAAC,SAAA,QAAAC,UAAA,CAAAC,UAAA,OAAAC,SAAA,CAE9D,OAAQH,SAAS,CAACI,IAAI,EACpB,IAAK,QAAQ,CAAE,CACb,KAAM,CAAEA,IAAI,CAAEC,CAAC,CAAE,GAAGC,MAAO,CAAC,CAAGN,SAAS,CACxC,MAAO,UAACO,KAAK,CAAEC,EAAE,QAAK,CAAAP,UAAU,CAACM,KAAK,CAAED,MAAM,CAAG,SAAAG,UAAU,QAAK,CAAAD,EAAE,CAACC,UAAqB,CAAC,GAAC,GAC5F,CACA,IAAK,QAAQ,CAAE,CACb,KAAM,CAAEL,IAAI,CAAEC,CAAC,CAAE,GAAGC,MAAO,CAAC,CAAGN,SAAS,CACxC,MAAO,UAACO,KAAK,CAAEC,EAAE,QAAK,CAAAN,UAAU,CAACK,KAAK,CAAED,MAAM,CAAG,SAAAG,UAAU,QAAK,CAAAD,EAAE,CAACC,UAAqB,CAAC,GAAC,GAC5F,CACF,CACF\",\"ignoreList\":[]}"};var _worklet_13669641383651_init_data={code:"function dealWithAnimationTs2(isFinished){const{cb}=this.__closure;return cb(isFinished);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts",sourceMap:"{\"version\":3,\"names\":[\"dealWithAnimationTs2\",\"isFinished\",\"cb\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts\"],\"mappings\":\"AAWuD,SAAAA,oBAAUA,CAAAC,UAAA,QAAAC,EAAA,OAAAC,SAAA,OAAK,CAAAD,EAAG,CAAAD,UAAqB\",\"ignoreList\":[]}"};var _worklet_13747239236962_init_data={code:"function dealWithAnimationTs3(isFinished){const{cb}=this.__closure;return cb(isFinished);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts",sourceMap:"{\"version\":3,\"names\":[\"dealWithAnimationTs3\",\"isFinished\",\"cb\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts\"],\"mappings\":\"AAeuD,SAAAA,oBAAUA,CAAAC,UAAA,QAAAC,EAAA,OAAAC,SAAA,OAAK,CAAAD,EAAG,CAAAD,UAAqB\",\"ignoreList\":[]}"};export var dealWithAnimation=function dealWithAnimation_dealWithAnimationTs1Factory(_ref){var _worklet_9395448689721_init_data=_ref._worklet_9395448689721_init_data,withSpring=_ref.withSpring,withTiming=_ref.withTiming;var _e=[new global.Error(),-3,-27];var dealWithAnimation=function dealWithAnimation(animation){switch(animation.type){case"spring":{var _=animation.type,config=_objectWithoutProperties(animation,_excluded);return function(value,cb){return withSpring(value,config,function dealWithAnimationTs2Factory(_ref2){var _worklet_13669641383651_init_data=_ref2._worklet_13669641383651_init_data,cb=_ref2.cb;var _e=[new global.Error(),-2,-27];var dealWithAnimationTs2=function dealWithAnimationTs2(isFinished){return cb(isFinished);};dealWithAnimationTs2.__closure={cb:cb};dealWithAnimationTs2.__workletHash=13669641383651;dealWithAnimationTs2.__pluginVersion="0.5.2";dealWithAnimationTs2.__initData=_worklet_13669641383651_init_data;dealWithAnimationTs2.__stackDetails=_e;return dealWithAnimationTs2;}({_worklet_13669641383651_init_data:_worklet_13669641383651_init_data,cb:cb}));};}case"timing":{var _2=animation.type,_config=_objectWithoutProperties(animation,_excluded2);return function(value,cb){return withTiming(value,_config,function dealWithAnimationTs3Factory(_ref3){var _worklet_13747239236962_init_data=_ref3._worklet_13747239236962_init_data,cb=_ref3.cb;var _e=[new global.Error(),-2,-27];var dealWithAnimationTs3=function dealWithAnimationTs3(isFinished){return cb(isFinished);};dealWithAnimationTs3.__closure={cb:cb};dealWithAnimationTs3.__workletHash=13747239236962;dealWithAnimationTs3.__pluginVersion="0.5.2";dealWithAnimationTs3.__initData=_worklet_13747239236962_init_data;dealWithAnimationTs3.__stackDetails=_e;return dealWithAnimationTs3;}({_worklet_13747239236962_init_data:_worklet_13747239236962_init_data,cb:cb}));};}}};dealWithAnimation.__closure={withSpring:withSpring,withTiming:withTiming};dealWithAnimation.__workletHash=9395448689721;dealWithAnimation.__pluginVersion="0.5.2";dealWithAnimation.__initData=_worklet_9395448689721_init_data;dealWithAnimation.__stackDetails=_e;return dealWithAnimation;}({_worklet_9395448689721_init_data:_worklet_9395448689721_init_data,withSpring:withSpring,withTiming:withTiming});
2
2
  //# sourceMappingURL=deal-with-animation.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNativeReanimated","require","_worklet_5099821743065_init_data","code","location","sourceMap","_worklet_13669641383651_init_data","_worklet_13747239236962_init_data","dealWithAnimation","exports","dealWithAnimation_dealWithAnimationTs1Factory","_ref","withSpring","withTiming","_e","global","Error","withAnimation","type","value","cb","config","dealWithAnimationTs2Factory","_ref2","dealWithAnimationTs2","isFinished","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","dealWithAnimationTs3Factory","_ref3","dealWithAnimationTs3"],"sourceRoot":"../../../src","sources":["utils/deal-with-animation.ts"],"mappings":"0FAAA,IAAAA,sBAAA,CAAAC,OAAA,4BAAiE,IAAAC,gCAAA,EAAAC,IAAA,wZAAAC,QAAA,wHAAAC,SAAA,+vBAAAC,iCAAA,EAAAH,IAAA,8FAAAC,QAAA,wHAAAC,SAAA,2VAAAE,iCAAA,EAAAJ,IAAA,8FAAAC,QAAA,wHAAAC,SAAA,2VAAAG,iBAAA,CAAAC,OAAA,CAAAD,iBAAA,CAI1D,SAAAE,8CAAAC,IAAA,MAAAT,gCAAA,CAAAS,IAAA,CAAAT,gCAAA,CAOCU,UAAU,CAAAD,IAAA,CAAVC,UAAU,CAGVC,UAAU,CAAAF,IAAA,CAAVE,UAAU,KAAAC,EAAA,MAAAC,MAAA,CAAAC,KAAA,eAAAR,i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H,cAAA,CAAAhB,EAAA,QAAAmB,oBAAA,EAAlB,EAAA1B,iCAAA,CAAAA,iCAAA,CAAgBa,EAAE,CAAFA,EAAE,EAAuB,CAAC,GACxF,CACF,CAAC,CAAAZ,iBAAA,CAAAkB,SAAA,EALOd,UAAU,CAAVA,UAAU,CAGVC,UAAU,CAAVA,UAAU,EAAAL,iBAAA,CAAAmB,aAAA,eAAAnB,iBAAA,CAAAoB,eAAA,SAAApB,iBAAA,CAAAqB,UAAA,CAAA3B,gCAAA,CAAAM,iBAAA,CAAAsB,cAAA,CAAAhB,EAAA,QAAAN,iBAAA,EAVX,EAAAN,gCAAA,CAAAA,gCAAA,CAOCU,UAAU,CAAVA,iCAAU,CAGVC,UAAU,CAAVA,iCAAU","ignoreList":[]}
1
+ {"version":3,"names":["withSpring","withTiming","_worklet_9395448689721_init_data","code","location","sourceMap","_worklet_13669641383651_init_data","_worklet_13747239236962_init_data","dealWithAnimation","dealWithAnimation_dealWithAnimationTs1Factory","_ref","_e","global","Error","animation","type","_","config","_objectWithoutProperties","_excluded","value","cb","dealWithAnimationTs2Factory","_ref2","dealWithAnimationTs2","isFinished","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","_excluded2","dealWithAnimationTs3Factory","_ref3","dealWithAnimationTs3"],"sourceRoot":"../../../src","sources":["utils/deal-with-animation.ts"],"mappings":"gIAAA,OAASA,UAAU,CAAEC,UAAU,KAAQ,yBAAyB,CAAC,IAAAC,gCAAA,EAAAC,IAAA,4bAAAC,QAAA,wHAAAC,SAAA,i4BAAAC,iCAAA,EAAAH,IAAA,8FAAAC,QAAA,wHAAAC,SAAA,2VAAAE,iCAAA,EAAAJ,IAAA,8FAAAC,QAAA,wHAAAC,SAAA,uVAIjE,WAAAG,iBAAA,CAAO,SAAAC,8CAAAC,IAAA,MAAAR,gCAAA,CAAAQ,IAAA,CAAAR,gCAAA,CAOqBF,UAAU,CAAAU,IAAA,CAAVV,UAAU,CAIVC,UAAU,CAAAS,IAAA,CAAV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AA,CAAAC,KAAA,eAAAqB,oBAAA,CAAlB,SAAAA,qBAACT,UAAU,QAAK,CAAAJ,EAAE,CAACI,UAAqB,CAAC,GAAAS,oBAAA,CAAAR,SAAA,EAAzBL,EAAE,CAAFA,EAAE,EAAAa,oBAAA,CAAAP,aAAA,gBAAAO,oBAAA,CAAAN,eAAA,SAAAM,oBAAA,CAAAL,UAAA,CAAAtB,iCAAA,CAAA2B,oBAAA,CAAAJ,cAAA,CAAAnB,EAAA,QAAAuB,oBAAA,EAAlB,EAAA3B,iCAAA,CAAAA,iCAAA,CAAgBc,EAAE,CAAFA,EAAE,EAAuB,CAAC,GAC5F,CACF,CACF,CAAC,CAAAb,iBAAA,CAAAkB,SAAA,EAP2B1B,UAAU,CAAVA,UAAU,CAIVC,UAAU,CAAVA,UAAU,EAAAO,iBAAA,CAAAmB,aAAA,eAAAnB,iBAAA,CAAAoB,eAAA,SAAApB,iBAAA,CAAAqB,UAAA,CAAA3B,gCAAA,CAAAM,iBAAA,CAAAsB,cAAA,CAAAnB,EAAA,QAAAH,iBAAA,EAX/B,EAAAN,gCAAA,CAAAA,gCAAA,CAOqBF,UAAU,CAAVA,UAAU,CAIVC,UAAU,CAAVA,UAAU","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.log=log;exports.round=void 0;function log(){var _console;(_console=console).log.apply(_console,arguments);}var _worklet_2604713759937_init_data={code:"function round_logTs1(number){return Math.round(number);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/log.ts",sourceMap:"{\"version\":3,\"names\":[\"round_logTs1\",\"number\",\"Math\",\"round\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/log.ts\"],\"mappings\":\"AAQO,SAAAA,YAAeA,CAAcC,MAAE,EAEpC,MAAO,CAAAC,IAAI,CAACC,KAAK,CAACF,MAAM,CAAC,CAC3B\",\"ignoreList\":[]}"};var round=exports.round=function round_logTs1Factory(_ref){var _worklet_2604713759937_init_data=_ref._worklet_2604713759937_init_data;var _e=[new global.Error(),1,-27];var round=function round(number){return Math.round(number);};round.__closure={};round.__workletHash=2604713759937;round.__pluginVersion="0.5.2";round.__initData=_worklet_2604713759937_init_data;round.__stackDetails=_e;return round;}({_worklet_2604713759937_init_data:_worklet_2604713759937_init_data});
1
+ export function log(){var _console;(_console=console).log.apply(_console,arguments);}var _worklet_2604713759937_init_data={code:"function round_logTs1(number){return Math.round(number);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/log.ts",sourceMap:"{\"version\":3,\"names\":[\"round_logTs1\",\"number\",\"Math\",\"round\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/log.ts\"],\"mappings\":\"AAQO,SAAAA,YAAeA,CAAcC,MAAE,EAEpC,MAAO,CAAAC,IAAI,CAACC,KAAK,CAACF,MAAM,CAAC,CAC3B\",\"ignoreList\":[]}"};export var round=function round_logTs1Factory(_ref){var _worklet_2604713759937_init_data=_ref._worklet_2604713759937_init_data;var _e=[new global.Error(),1,-27];var round=function round(number){return Math.round(number);};round.__closure={};round.__workletHash=2604713759937;round.__pluginVersion="0.5.2";round.__initData=_worklet_2604713759937_init_data;round.__stackDetails=_e;return round;}({_worklet_2604713759937_init_data:_worklet_2604713759937_init_data});
2
2
  //# sourceMappingURL=log.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["log","_console","console","apply","arguments","_worklet_2604713759937_init_data","code","location","sourceMap","round","exports","round_logTs1Factory","_ref","_e","global","Error","number","Math","__closure","__workletHash","__pluginVersion","__initData","__stackDetails"],"sourceRoot":"../../../src","sources":["utils/log.ts"],"mappings":"8FAIO,QAAS,CAAAA,GAAGA,CAAA,CAAc,KAAAC,QAAA,CAC/B,CAAAA,QAAA,CAAAC,OAAO,EAACF,GAAG,CAAAG,KAAA,CAAAF,QAAA,CAAAG,SAAO,CAAC,CACrB,CAAC,IAAAC,gCAAA,EAAAC,IAAA,6DAAAC,QAAA,wGAAAC,SAAA,gUAAAC,KAAA,CAAAC,OAAA,CAAAD,KAAA,CAEM,SAAAE,oBAAAC,IAAA,MAAAP,gCAAA,CAAAO,IAAA,CAAAP,gCAAA,KAAAQ,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAN,KAAA,UAAAA,MAAeO,MAAc,CAAE,CAEpC,MAAO,CAAAC,IAAI,CAACR,KAAK,CAACO,MAAM,CAAC,CAC3B,CAAC,CAAAP,KAAA,CAAAS,SAAA,IAAAT,KAAA,CAAAU,aAAA,eAAAV,KAAA,CAAAW,eAAA,SAAAX,KAAA,CAAAY,UAAA,CAAAhB,gCAAA,CAAAI,KAAA,CAAAa,cAAA,CAAAT,EAAA,QAAAJ,KAAA,EAHM,EAAAJ,gCAAA,CAAAA,gCAAA","ignoreList":[]}
1
+ {"version":3,"names":["log","_console","console","apply","arguments","_worklet_2604713759937_init_data","code","location","sourceMap","round","round_logTs1Factory","_ref","_e","global","Error","number","Math","__closure","__workletHash","__pluginVersion","__initData","__stackDetails"],"sourceRoot":"../../../src","sources":["utils/log.ts"],"mappings":"AAIA,MAAO,SAAS,CAAAA,GAAGA,CAAA,CAAc,KAAAC,QAAA,CAC/B,CAAAA,QAAA,CAAAC,OAAO,EAACF,GAAG,CAAAG,KAAA,CAAAF,QAAA,CAAAG,SAAO,CAAC,CACrB,CAAC,IAAAC,gCAAA,EAAAC,IAAA,6DAAAC,QAAA,wGAAAC,SAAA,4TAED,WAAAC,KAAA,CAAO,SAAAC,oBAAAC,IAAA,MAAAN,gCAAA,CAAAM,IAAA,CAAAN,gCAAA,KAAAO,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAL,KAAA,UAAAA,MAAeM,MAAc,CAAE,CAEpC,MAAO,CAAAC,IAAI,CAACP,KAAK,CAACM,MAAM,CAAC,CAC3B,CAAC,CAAAN,KAAA,CAAAQ,SAAA,IAAAR,KAAA,CAAAS,aAAA,eAAAT,KAAA,CAAAU,eAAA,SAAAV,KAAA,CAAAW,UAAA,CAAAf,gCAAA,CAAAI,KAAA,CAAAY,cAAA,CAAAT,EAAA,QAAAH,KAAA,EAHM,EAAAJ,gCAAA,CAAAA,gCAAA","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.sanitizeAnimationStyle=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _excluded=["zIndex"];var _worklet_227117361491_init_data={code:"function sanitizeAnimationStyle_sanitizeAnimationStyleTs1(style){if(!style||typeof style!==\"object\")return{};const nextStyle={...style};const{zIndex:zIndex,...restStyle}=nextStyle;if(typeof zIndex===\"number\"){if(Number.isFinite(zIndex))return{...restStyle,zIndex:Math.round(zIndex)};return restStyle;}return typeof zIndex===\"undefined\"?nextStyle:restStyle;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/sanitize-animation-style.ts",sourceMap:"{\"version\":3,\"names\":[\"sanitizeAnimationStyle_sanitizeAnimationStyleTs1\",\"style\",\"nextStyle\",\"zIndex\",\"restStyle\",\"Number\",\"isFinite\",\"Math\",\"round\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/sanitize-animation-style.ts\"],\"mappings\":\"AAIO,SAAAA,gDAA6DA,CAAAC,KAAA,EAGlE,GAAI,CAACA,KAAK,EAAI,MAAO,CAAAA,KAAK,GAAK,QAAQ,CAAE,MAAO,CAAC,CAAC,CAElD,KAAM,CAAAC,SAA2B,CAAG,CAAE,GAAGD,KAAM,CAAC,CAChD,KAAM,CAAEE,MAAM,CAANA,MAAM,CAAE,GAAGC,SAAU,CAAC,CAAGF,SAAS,CAE1C,GAAI,MAAO,CAAAC,MAAM,GAAK,QAAQ,CAAE,CAE9B,GAAIE,MAAM,CAACC,QAAQ,CAACH,MAAM,CAAC,CAAE,MAAO,CAAE,GAAGC,SAAS,CAAED,MAAM,CAAEI,IAAI,CAACC,KAAK,CAACL,MAAM,CAAE,CAAC,CAChF,MAAO,CAAAC,SAAS,CAClB,CAEA,MAAO,OAAO,CAAAD,MAAM,GAAK,WAAW,CAAGD,SAAS,CAAGE,SAAS,CAC9D\",\"ignoreList\":[]}"};var sanitizeAnimationStyle=exports.sanitizeAnimationStyle=function sanitizeAnimationStyle_sanitizeAnimationStyleTs1Factory(_ref){var _worklet_227117361491_init_data=_ref._worklet_227117361491_init_data;var _e=[new global.Error(),1,-27];var sanitizeAnimationStyle=function sanitizeAnimationStyle(style){if(!style||typeof style!=="object")return{};var nextStyle=Object.assign({},style);var zIndex=nextStyle.zIndex,restStyle=(0,_objectWithoutProperties2.default)(nextStyle,_excluded);if(typeof zIndex==="number"){if(Number.isFinite(zIndex))return Object.assign({},restStyle,{zIndex:Math.round(zIndex)});return restStyle;}return typeof zIndex==="undefined"?nextStyle:restStyle;};sanitizeAnimationStyle.__closure={};sanitizeAnimationStyle.__workletHash=227117361491;sanitizeAnimationStyle.__pluginVersion="0.5.2";sanitizeAnimationStyle.__initData=_worklet_227117361491_init_data;sanitizeAnimationStyle.__stackDetails=_e;return sanitizeAnimationStyle;}({_worklet_227117361491_init_data:_worklet_227117361491_init_data});
1
+ import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["zIndex"];var _worklet_227117361491_init_data={code:"function sanitizeAnimationStyle_sanitizeAnimationStyleTs1(style){if(!style||typeof style!==\"object\")return{};const nextStyle={...style};const{zIndex:zIndex,...restStyle}=nextStyle;if(typeof zIndex===\"number\"){if(Number.isFinite(zIndex))return{...restStyle,zIndex:Math.round(zIndex)};return restStyle;}return typeof zIndex===\"undefined\"?nextStyle:restStyle;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/sanitize-animation-style.ts",sourceMap:"{\"version\":3,\"names\":[\"sanitizeAnimationStyle_sanitizeAnimationStyleTs1\",\"style\",\"nextStyle\",\"zIndex\",\"restStyle\",\"Number\",\"isFinite\",\"Math\",\"round\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/sanitize-animation-style.ts\"],\"mappings\":\"AAIO,SAAAA,gDAA6DA,CAAAC,KAAA,EAGlE,GAAI,CAACA,KAAK,EAAI,MAAO,CAAAA,KAAK,GAAK,QAAQ,CAAE,MAAO,CAAC,CAAC,CAElD,KAAM,CAAAC,SAA2B,CAAG,CAAE,GAAGD,KAAM,CAAC,CAChD,KAAM,CAAEE,MAAM,CAANA,MAAM,CAAE,GAAGC,SAAU,CAAC,CAAGF,SAAS,CAE1C,GAAI,MAAO,CAAAC,MAAM,GAAK,QAAQ,CAAE,CAE9B,GAAIE,MAAM,CAACC,QAAQ,CAACH,MAAM,CAAC,CAAE,MAAO,CAAE,GAAGC,SAAS,CAAED,MAAM,CAAEI,IAAI,CAACC,KAAK,CAACL,MAAM,CAAE,CAAC,CAChF,MAAO,CAAAC,SAAS,CAClB,CAEA,MAAO,OAAO,CAAAD,MAAM,GAAK,WAAW,CAAGD,SAAS,CAAGE,SAAS,CAC9D\",\"ignoreList\":[]}"};export var sanitizeAnimationStyle=function sanitizeAnimationStyle_sanitizeAnimationStyleTs1Factory(_ref){var _worklet_227117361491_init_data=_ref._worklet_227117361491_init_data;var _e=[new global.Error(),1,-27];var sanitizeAnimationStyle=function sanitizeAnimationStyle(style){if(!style||typeof style!=="object")return{};var nextStyle=Object.assign({},style);var zIndex=nextStyle.zIndex,restStyle=_objectWithoutProperties(nextStyle,_excluded);if(typeof zIndex==="number"){if(Number.isFinite(zIndex))return Object.assign({},restStyle,{zIndex:Math.round(zIndex)});return restStyle;}return typeof zIndex==="undefined"?nextStyle:restStyle;};sanitizeAnimationStyle.__closure={};sanitizeAnimationStyle.__workletHash=227117361491;sanitizeAnimationStyle.__pluginVersion="0.5.2";sanitizeAnimationStyle.__initData=_worklet_227117361491_init_data;sanitizeAnimationStyle.__stackDetails=_e;return sanitizeAnimationStyle;}({_worklet_227117361491_init_data:_worklet_227117361491_init_data});
2
2
  //# sourceMappingURL=sanitize-animation-style.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["sanitizeAnimationStyle_sanitizeAnimationStyleTs1Factory","_ref","_worklet_227117361491_init_data","_e","global","Error","sanitizeAnimationStyle","style","nextStyle","Object","assign","zIndex","restStyle","_objectWithoutProperties2","default","_excluded","Number","isFinite","Math","round","__closure","__workletHash","__pluginVersion","__initData","__stackDetails"],"sourceRoot":"../../../src","sources":["utils/sanitize-animation-style.ts"],"mappings":"stDAIO,SAAAA,wDAAAC,IAAA,MAAAC,+BAAA,CAAAD,IAAA,CAAAC,+BAAA,KAAAC,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAC,sBAAA,UAAAA,uBAAgCC,KAAgB,CAAa,CAGlE,GAAI,CAACA,KAAK,EAAI,MAAO,CAAAA,KAAK,GAAK,QAAQ,CAAE,MAAO,CAAC,CAAC,CAElD,GAAM,CAAAC,SAA2B,CAAAC,MAAA,CAAAC,MAAA,IAAQH,KAAK,CAAE,CAChD,GAAQ,CAAAI,MAAM,CAAmBH,SAAS,CAAlCG,MAAM,CAAKC,SAAS,IAAAC,yBAAA,CAAAC,OAAA,EAAKN,SAAS,CAAAO,SAAA,EAE1C,GAAI,MAAO,CAAAJ,MAAM,GAAK,QAAQ,CAAE,CAE9B,GAAIK,MAAM,CAACC,QAAQ,CAACN,MAAM,CAAC,CAAE,OAAAF,MAAA,CAAAC,MAAA,IAAYE,SAAS,EAAED,MAAM,CAAEO,IAAI,CAACC,KAAK,CAACR,MAAM,CAAC,GAC9E,MAAO,CAAAC,SAAS,CAClB,CAEA,MAAO,OAAO,CAAAD,MAAM,GAAK,WAAW,CAAGH,SAAS,CAAGI,SAAS,CAC9D,CAAC,CAAAN,sBAAA,CAAAc,SAAA,IAAAd,sBAAA,CAAAe,aAAA,cAAAf,sBAAA,CAAAgB,eAAA,SAAAhB,sBAAA,CAAAiB,UAAA,CAAArB,+BAAA,CAAAI,sBAAA,CAAAkB,cAAA,CAAArB,EAAA,QAAAG,sBAAA,EAfM,EAAAJ,+BAAA,CAAAA,+BAAA","ignoreList":[]}
1
+ {"version":3,"names":["sanitizeAnimationStyle","sanitizeAnimationStyle_sanitizeAnimationStyleTs1Factory","_ref","_worklet_227117361491_init_data","_e","global","Error","style","nextStyle","Object","assign","zIndex","restStyle","_objectWithoutProperties","_excluded","Number","isFinite","Math","round","__closure","__workletHash","__pluginVersion","__initData","__stackDetails"],"sourceRoot":"../../../src","sources":["utils/sanitize-animation-style.ts"],"mappings":"+8CAIA,WAAAA,sBAAA,CAAO,SAAAC,wDAAAC,IAAA,MAAAC,+BAAA,CAAAD,IAAA,CAAAC,+BAAA,KAAAC,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAN,sBAAA,UAAAA,uBAAgCO,KAAgB,CAAa,CAGlE,GAAI,CAACA,KAAK,EAAI,MAAO,CAAAA,KAAK,GAAK,QAAQ,CAAE,MAAO,CAAC,CAAC,CAElD,GAAM,CAAAC,SAA2B,CAAAC,MAAA,CAAAC,MAAA,IAAQH,KAAK,CAAE,CAChD,GAAQ,CAAAI,MAAM,CAAmBH,SAAS,CAAlCG,MAAM,CAAKC,SAAS,CAAAC,wBAAA,CAAKL,SAAS,CAAAM,SAAA,EAE1C,GAAI,MAAO,CAAAH,MAAM,GAAK,QAAQ,CAAE,CAE9B,GAAII,MAAM,CAACC,QAAQ,CAACL,MAAM,CAAC,CAAE,OAAAF,MAAA,CAAAC,MAAA,IAAYE,SAAS,EAAED,MAAM,CAAEM,IAAI,CAACC,KAAK,CAACP,MAAM,CAAC,GAC9E,MAAO,CAAAC,SAAS,CAClB,CAEA,MAAO,OAAO,CAAAD,MAAM,GAAK,WAAW,CAAGH,SAAS,CAAGI,SAAS,CAC9D,CAAC,CAAAZ,sBAAA,CAAAmB,SAAA,IAAAnB,sBAAA,CAAAoB,aAAA,cAAApB,sBAAA,CAAAqB,eAAA,SAAArB,sBAAA,CAAAsB,UAAA,CAAAnB,+BAAA,CAAAH,sBAAA,CAAAuB,cAAA,CAAAnB,EAAA,QAAAJ,sBAAA,EAfM,EAAAG,+BAAA,CAAAA,+BAAA","ignoreList":[]}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { CarouselProps, CarouselRef } from "../types";
3
+ type CarouselComponent = <T>(props: CarouselProps<T> & {
4
+ ref?: React.Ref<CarouselRef>;
5
+ }) => React.ReactElement;
6
+ export declare const Carousel: CarouselComponent;
7
+ export {};
8
+ //# sourceMappingURL=Carousel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAgB3D,KAAK,iBAAiB,GAAG,CAAC,CAAC,EACzB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG;IACxB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;CAC9B,KACE,KAAK,CAAC,YAAY,CAAC;AAExB,eAAO,MAAM,QAAQ,EAAmB,iBAAiB,CAAC"}
@@ -1,17 +1,14 @@
1
1
  import React from "react";
2
2
  import { type ViewStyle } from "react-native";
3
- import { ICarouselInstance } from "../types";
4
- export type TAnimationStyle = (value: number) => ViewStyle;
3
+ import type { CarouselRef } from "../types";
5
4
  export declare function resolveCarouselLayoutStyle(params: {
6
5
  flattenedStyle: Partial<ViewStyle>;
7
- vertical: boolean;
6
+ isVertical: boolean;
8
7
  measuredSize: number;
9
8
  sizeExplicit: boolean;
10
- legacyWidth?: number;
11
- legacyHeight?: number;
12
9
  }): {
13
- width: number | import("react-native").Animated.AnimatedNode | `${number}%` | "auto";
14
- height: number | import("react-native").Animated.AnimatedNode | `${number}%` | "auto";
10
+ width: number | import("react-native").Animated.AnimatedNode | "auto" | `${number}%`;
11
+ height: number | import("react-native").Animated.AnimatedNode | "auto" | `${number}%`;
15
12
  };
16
- export declare const CarouselLayout: React.ForwardRefExoticComponent<React.RefAttributes<ICarouselInstance>>;
13
+ export declare const CarouselLayout: React.ForwardRefExoticComponent<React.RefAttributes<CarouselRef>>;
17
14
  //# sourceMappingURL=CarouselLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CarouselLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/CarouselLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAQhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,wBAAgB,0BAA0B,CAAC,MAAM,EAAE;IACjD,cAAc,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;CACvB;;;EAWA;AAED,eAAO,MAAM,cAAc,mEAuLzB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  import type { SharedValue } from "react-native-reanimated";
3
- import type { IVisibleRanges } from "../hooks/useVisibleRanges";
4
- import type { TCarouselProps } from "../types";
5
- export type TAnimationStyle = NonNullable<TCarouselProps["customAnimation"]>;
3
+ import type { VisibleRangesValue } from "../hooks/useVisibleRanges";
4
+ import type { CarouselItemAnimation } from "../types";
5
+ export type ItemAnimationStyle = CarouselItemAnimation;
6
6
  export declare function resolveItemMainAxisSize(params: {
7
7
  explicitSize?: number;
8
8
  effectivePageSize?: number;
@@ -10,11 +10,12 @@ export declare function resolveItemMainAxisSize(params: {
10
10
  }): number | "100%";
11
11
  export declare const ItemLayout: React.FC<{
12
12
  index: number;
13
+ rawIndex: number;
13
14
  handlerOffset: SharedValue<number>;
14
- visibleRanges: IVisibleRanges;
15
- animationStyle: TAnimationStyle;
15
+ visibleRanges: VisibleRangesValue;
16
+ animationStyle: ItemAnimationStyle;
16
17
  children: (ctx: {
17
- animationValue: SharedValue<number>;
18
+ relativeProgress: SharedValue<number>;
18
19
  }) => React.ReactElement;
19
20
  }>;
20
21
  //# sourceMappingURL=ItemLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/ItemLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAW3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAKtD,MAAM,MAAM,kBAAkB,GAAG,qBAAqB,CAAC;AAEvD,wBAAgB,uBAAuB,CAAC,MAAM,EAAE;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,mBAQA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,aAAa,EAAE,kBAAkB,CAAC;IAClC,cAAc,EAAE,kBAAkB,CAAC;IACnC,QAAQ,EAAE,CAAC,GAAG,EAAE;QACd,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;KACvC,KAAK,KAAK,CAAC,YAAY,CAAC;CAC1B,CAwKA,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { FC } from "react";
2
+ import type { SharedValue } from "react-native-reanimated";
3
+ import type { ItemAnimationStyle } from "./ItemLayout";
4
+ import type { CarouselItemAnimation, CarouselRenderItem } from "../types";
5
+ interface Props {
6
+ data: unknown[];
7
+ rawData: unknown[];
8
+ dataLength: number;
9
+ rawDataLength: number;
10
+ loop: boolean;
11
+ size: number;
12
+ renderWindowSize?: number;
13
+ defaultIndex: number;
14
+ autoFillData: boolean;
15
+ offsetX: SharedValue<number>;
16
+ handlerOffset: SharedValue<number>;
17
+ layoutConfig: ItemAnimationStyle;
18
+ renderItem: CarouselRenderItem<unknown>;
19
+ itemAnimation?: CarouselItemAnimation;
20
+ keyExtractor?: (item: unknown, index: number) => string;
21
+ }
22
+ export declare const ItemRenderer: FC<Props>;
23
+ export {};
24
+ //# sourceMappingURL=ItemRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ItemRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAKvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG1E,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,YAAY,EAAE,kBAAkB,CAAC;IACjC,UAAU,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACzD;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CA6FlC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LazyView.d.ts","sourceRoot":"","sources":["../../../../src/components/LazyView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,KAAK;IACb,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAMvD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import type { PaginationDotStyle, PaginationProps } from "../../public-types";
3
+ export declare function getPaginationDotDistance(progress: number, index: number, count: number): number;
4
+ export declare function getPaginationSelectedIndex(progress: number, count: number): number;
5
+ export declare function PaginationItem(props: {
6
+ activeDotStyle?: PaginationDotStyle;
7
+ count: number;
8
+ dotStyle?: PaginationDotStyle;
9
+ index: number;
10
+ label?: string;
11
+ onPress?: (index: number) => void;
12
+ progress: PaginationProps["progress"];
13
+ }): React.JSX.Element;
14
+ //# sourceMappingURL=PaginationItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/PaginationItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO9E,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAK/F;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAIlF;AAgBD,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CACvC,qBA2GA"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { PaginationProps } from "../../public-types";
3
+ export declare function Pagination(props: PaginationProps): React.JSX.Element | null;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAmC1D,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,4BAmEhD"}
@@ -1,14 +1,13 @@
1
1
  import type { PropsWithChildren } from "react";
2
2
  import React from "react";
3
- import type { LayoutChangeEvent, StyleProp, ViewStyle } from "react-native";
4
- import type { SharedValue } from "react-native-reanimated";
3
+ import type { ViewProps } from "react-native";
4
+ import type { AnimatedProps, SharedValue } from "react-native-reanimated";
5
5
  interface Props {
6
6
  size: number;
7
7
  infinite?: boolean;
8
8
  testID?: string;
9
- style?: StyleProp<ViewStyle>;
9
+ style?: AnimatedProps<ViewProps>["style"];
10
10
  translation: SharedValue<number>;
11
- onLayout?: (e: LayoutChangeEvent) => void;
12
11
  onScrollStart?: () => void;
13
12
  onScrollEnd?: () => void;
14
13
  onTouchBegin?: () => void;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollViewGesture.d.ts","sourceRoot":"","sources":["../../../../src/components/ScrollViewGesture.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAqB,SAAS,EAAE,MAAM,cAAc,CAAC;AAajE,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAS1E,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC;IAC1C,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAwZD,eAAO,MAAM,iBAAiB,oCAAqB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,oBAAY,WAAW;IACrB,WAAW,IAAI;IACf,WAAW,IAAI;CAChB;AAED,eAAO,MAAM,MAAM;kBAC2C,cAAc;CAC3E,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { CarouselController } from "./useCarouselController";
2
+ export declare function useAutoPlay(options: {
3
+ autoplay?: boolean;
4
+ autoplayInterval?: number;
5
+ autoplayDirection?: "forward" | "backward";
6
+ carouselController: CarouselController;
7
+ }): {
8
+ pause: () => void;
9
+ start: () => void;
10
+ trigger: () => void;
11
+ };
12
+ //# sourceMappingURL=useAutoPlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAutoPlay.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAutoPlay.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,wBAAgB,WAAW,CAAC,OAAO,EAAE;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC3C,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;;;;EAqDA"}
@@ -0,0 +1,29 @@
1
+ import React from "react";
2
+ import type { SharedValue } from "react-native-reanimated";
3
+ import type { CarouselAnimation, CarouselRef, InternalCarouselScrollToOptions, InternalCarouselStepOptions } from "../types";
4
+ interface CarouselControllerOptions {
5
+ ref: React.ForwardedRef<CarouselRef>;
6
+ loop: boolean;
7
+ size: number;
8
+ dataLength: number;
9
+ rawDataLength: number;
10
+ handlerOffset: SharedValue<number>;
11
+ animation: CarouselAnimation;
12
+ defaultIndex?: number;
13
+ onScrollStart?: () => void;
14
+ onMovementEnd?: (index: number) => void;
15
+ }
16
+ export interface CarouselController {
17
+ getSharedIndex: () => number;
18
+ prev: (options?: InternalCarouselStepOptions) => void;
19
+ next: (options?: InternalCarouselStepOptions) => void;
20
+ getCurrentIndex: () => number;
21
+ scrollTo: (options: InternalCarouselScrollToOptions) => void;
22
+ index: SharedValue<number>;
23
+ startMovement: () => void;
24
+ cancelMovement: () => void;
25
+ settle: () => number;
26
+ }
27
+ export declare function useCarouselController(options: CarouselControllerOptions): CarouselController;
28
+ export {};
29
+ //# sourceMappingURL=useCarouselController.d.ts.map
@@ -0,0 +1 @@
1
+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BAAkB,CAwP5F"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCheckMounted.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCheckMounted.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,wBAAgB,eAAe,6BAW9B"}
@@ -0,0 +1,18 @@
1
+ import type { SharedValue } from "react-native-reanimated";
2
+ import type { InitializedCarouselProps } from "./useInitProps";
3
+ export type CarouselSizePhase = "pending" | "ready" | "updating";
4
+ export interface CarouselCommonVariables {
5
+ size: number;
6
+ validLength: number;
7
+ handlerOffset: SharedValue<number>;
8
+ resolvedSize: SharedValue<number | null>;
9
+ sizePhase: SharedValue<CarouselSizePhase>;
10
+ sizeExplicit: boolean;
11
+ isMoving: SharedValue<boolean>;
12
+ dataRevision: number;
13
+ startMovement: () => void;
14
+ cancelMovement: () => void;
15
+ settleMovement: () => void;
16
+ }
17
+ export declare function useCommonVariables(props: InitializedCarouselProps<unknown>): CarouselCommonVariables;
18
+ //# sourceMappingURL=useCommonVariables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCommonVariables.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCommonVariables.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAS/D,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC;AAEjE,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,YAAY,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACzC,SAAS,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IAC1C,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,wBAAwB,CAAC,OAAO,CAAC,GACvC,uBAAuB,CAmOzB"}
@@ -0,0 +1,25 @@
1
+ import type { CarouselAnimation, CarouselProps } from "../types";
2
+ import { type CarouselDirectionSign } from "../utils/carousel-direction";
3
+ type CarouselSnapMode = NonNullable<CarouselProps<unknown>["snapMode"]>;
4
+ export type InitializedCarouselProps<Item> = Omit<CarouselProps<Item>, "autoplay" | "autoplayDirection" | "autoplayInterval" | "data" | "defaultIndex" | "loop" | "orientation" | "overscrollEnabled" | "scrollEnabled" | "snapMode" | "style"> & {
5
+ autoplay: boolean;
6
+ autoplayDirection: "forward" | "backward";
7
+ autoplayInterval: number;
8
+ data: Item[];
9
+ defaultIndex: number;
10
+ loop: boolean;
11
+ orientation: "horizontal" | "vertical";
12
+ overscrollEnabled: boolean;
13
+ scrollEnabled: boolean;
14
+ snapMode: CarouselSnapMode;
15
+ style: NonNullable<CarouselProps<Item>["style"]>;
16
+ animation: CarouselAnimation;
17
+ rawData: Item[];
18
+ dataLength: number;
19
+ rawDataLength: number;
20
+ autoFillData: true;
21
+ directionSign: CarouselDirectionSign;
22
+ };
23
+ export declare function useInitProps<Item>(props: CarouselProps<Item>): InitializedCarouselProps<Item>;
24
+ export {};
25
+ //# sourceMappingURL=useInitProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInitProps.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useInitProps.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,KAAK,qBAAqB,EAA4B,MAAM,6BAA6B,CAAC;AAGnG,KAAK,gBAAgB,GAAG,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;AAExE,MAAM,MAAM,wBAAwB,CAAC,IAAI,IAAI,IAAI,CAC/C,aAAa,CAAC,IAAI,CAAC,EACjB,UAAU,GACV,mBAAmB,GACnB,kBAAkB,GAClB,MAAM,GACN,cAAc,GACd,MAAM,GACN,aAAa,GACb,mBAAmB,GACnB,eAAe,GACf,UAAU,GACV,OAAO,CACV,GAAG;IACF,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,SAAS,GAAG,UAAU,CAAC;IAC1C,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,IAAI,EAAE,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACvC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,KAAK,EAAE,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IACjD,SAAS,EAAE,iBAAiB,CAAC;IAC7B,OAAO,EAAE,IAAI,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,IAAI,CAAC;IACnB,aAAa,EAAE,qBAAqB,CAAC;CACtC,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,wBAAwB,CAAC,IAAI,CAAC,CA2F7F"}
@@ -0,0 +1,8 @@
1
+ import type { CarouselItemAnimation } from "../types";
2
+ import type { InitializedCarouselProps } from "./useInitProps";
3
+ type LayoutConfigOptions<Item> = InitializedCarouselProps<Item> & {
4
+ size: number;
5
+ };
6
+ export declare function useLayoutConfig<Item>(options: LayoutConfigOptions<Item>): CarouselItemAnimation;
7
+ export {};
8
+ //# sourceMappingURL=useLayoutConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLayoutConfig.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useLayoutConfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,KAAK,mBAAmB,CAAC,IAAI,IAAI,wBAAwB,CAAC,IAAI,CAAC,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnF,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,EAAE,mBAAmB,CAAC,IAAI,CAAC,GAAG,qBAAqB,CA0B/F"}
@@ -0,0 +1,13 @@
1
+ import type { SharedValue } from "react-native-reanimated";
2
+ import type { VisibleRangesValue } from "./useVisibleRanges";
3
+ export interface OffsetOptions {
4
+ index: number;
5
+ size: number;
6
+ handlerOffset: SharedValue<number>;
7
+ dataLength: number;
8
+ type?: "positive" | "negative";
9
+ viewCount?: number;
10
+ loop?: boolean;
11
+ }
12
+ export declare const useOffsetX: (opts: OffsetOptions, visibleRanges: VisibleRangesValue) => import("react-native-reanimated").DerivedValue<number>;
13
+ //# sourceMappingURL=useOffsetX.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useOffsetX.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useOffsetX.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,UAAU,SAAU,aAAa,iBAAiB,kBAAkB,2DAiEhF,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { SharedValue } from "react-native-reanimated";
2
+ import type { CarouselProgressChangeHandler } from "../types";
3
+ export declare function useOnProgressChange(options: {
4
+ loop: boolean;
5
+ offset: SharedValue<number>;
6
+ onProgressChange?: CarouselProgressChangeHandler;
7
+ progress?: SharedValue<number>;
8
+ rawDataLength: number;
9
+ size: number;
10
+ sizeReady: SharedValue<boolean>;
11
+ }): void;
12
+ //# sourceMappingURL=useOnProgressChange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useOnProgressChange.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useOnProgressChange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAG9D,wBAAgB,mBAAmB,CAAC,OAAO,EAAE;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5B,gBAAgB,CAAC,EAAE,6BAA6B,CAAC;IACjD,QAAQ,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACjC,QAiBA"}
@@ -1,7 +1,8 @@
1
- import type { GestureStateChangeEvent, GestureUpdateEvent, PanGesture, PanGestureHandlerEventPayload } from "react-native-gesture-handler";
1
+ import type { GestureStateChangeEvent, GestureUpdateEvent, PanGestureHandlerEventPayload } from "react-native-gesture-handler";
2
+ import type { CarouselPanGesture } from "../types";
2
3
  import type { GestureConfig } from "./useUpdateGestureConfig";
3
4
  export declare const usePanGestureProxy: (customization: {
4
- onConfigurePanGesture?: (gesture: PanGesture) => void;
5
+ onConfigurePanGesture?: (gesture: CarouselPanGesture) => void;
5
6
  onGestureStart: (event: GestureStateChangeEvent<PanGestureHandlerEventPayload>) => void;
6
7
  onGestureUpdate: (event: GestureUpdateEvent<PanGestureHandlerEventPayload>) => void;
7
8
  onGestureEnd: (event: GestureStateChangeEvent<PanGestureHandlerEventPayload>, success: boolean) => void;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePanGestureProxy.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePanGestureProxy.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,uBAAuB,EACvB,kBAAkB,EAClB,6BAA6B,EAC9B,MAAM,8BAA8B,CAAC;AAGtC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,eAAO,MAAM,kBAAkB,kBAAmB;IAChD,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC9D,cAAc,EAAE,CAAC,KAAK,EAAE,uBAAuB,CAAC,6BAA6B,CAAC,KAAK,IAAI,CAAC;IACxF,eAAe,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,6BAA6B,CAAC,KAAK,IAAI,CAAC;IACpF,YAAY,EAAE,CACZ,KAAK,EAAE,uBAAuB,CAAC,6BAA6B,CAAC,EAC7D,OAAO,EAAE,OAAO,KACb,IAAI,CAAC;IACV,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,kGA0HA,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { InitializedCarouselProps } from "./useInitProps";
2
+ export declare function usePropsErrorBoundary(props: InitializedCarouselProps<unknown>): void;
3
+ //# sourceMappingURL=usePropsErrorBoundary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePropsErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePropsErrorBoundary.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,wBAAwB,CAAC,OAAO,CAAC,QAmC7E"}
@@ -0,0 +1,9 @@
1
+ export interface GestureConfig {
2
+ enabled?: boolean;
3
+ }
4
+ type ConfigurablePanGesture = {
5
+ enabled(enabled: boolean): unknown;
6
+ };
7
+ export declare const useUpdateGestureConfig: (gesture: ConfigurablePanGesture, config: GestureConfig) => void;
8
+ export {};
9
+ //# sourceMappingURL=useUpdateGestureConfig.d.ts.map