react-native-reanimated-carousel 5.0.0-beta.8 → 5.1.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.
- package/README.md +31 -29
- package/lib/commonjs/components/Carousel.js +1 -1
- package/lib/commonjs/components/Carousel.js.map +1 -1
- package/lib/commonjs/components/CarouselLayout.js +1 -1
- package/lib/commonjs/components/CarouselLayout.js.map +1 -1
- package/lib/commonjs/components/ItemLayout.js +1 -1
- package/lib/commonjs/components/ItemLayout.js.map +1 -1
- package/lib/commonjs/components/ItemRenderer.js +1 -1
- package/lib/commonjs/components/ItemRenderer.js.map +1 -1
- package/lib/commonjs/components/Pagination/PaginationItem.js +2 -0
- package/lib/commonjs/components/Pagination/PaginationItem.js.map +1 -0
- package/lib/commonjs/components/Pagination/index.js +1 -1
- package/lib/commonjs/components/Pagination/index.js.map +1 -1
- package/lib/commonjs/components/ScrollViewGesture.js +1 -1
- package/lib/commonjs/components/ScrollViewGesture.js.map +1 -1
- package/lib/commonjs/hooks/useAutoPlay.js +1 -1
- package/lib/commonjs/hooks/useAutoPlay.js.map +1 -1
- package/lib/commonjs/hooks/useCarouselController.js +1 -1
- package/lib/commonjs/hooks/useCarouselController.js.map +1 -1
- package/lib/commonjs/hooks/useCommonVariables.js +1 -1
- package/lib/commonjs/hooks/useCommonVariables.js.map +1 -1
- package/lib/commonjs/hooks/useInitProps.js +1 -1
- package/lib/commonjs/hooks/useInitProps.js.map +1 -1
- package/lib/commonjs/hooks/useLayoutConfig.js +1 -1
- package/lib/commonjs/hooks/useLayoutConfig.js.map +1 -1
- package/lib/commonjs/hooks/useOffsetX.js.map +1 -1
- package/lib/commonjs/hooks/useOnProgressChange.js +1 -1
- package/lib/commonjs/hooks/useOnProgressChange.js.map +1 -1
- package/lib/commonjs/hooks/usePanGestureProxy.js.map +1 -1
- package/lib/commonjs/hooks/usePropsErrorBoundary.js +1 -1
- package/lib/commonjs/hooks/usePropsErrorBoundary.js.map +1 -1
- package/lib/commonjs/hooks/useUpdateGestureConfig.js.map +1 -1
- package/lib/commonjs/hooks/useVisibleRanges.js.map +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/layouts/index.js.map +1 -1
- package/lib/commonjs/layouts/normal.js +1 -1
- package/lib/commonjs/layouts/normal.js.map +1 -1
- package/lib/commonjs/layouts/parallax.js +1 -1
- package/lib/commonjs/layouts/parallax.js.map +1 -1
- package/lib/commonjs/layouts/stack.js +1 -1
- package/lib/commonjs/layouts/stack.js.map +1 -1
- package/lib/commonjs/public-types.js +2 -0
- package/lib/commonjs/public-types.js.map +1 -0
- package/lib/commonjs/store/index.js.map +1 -1
- package/lib/commonjs/utils/carousel-direction.js +2 -0
- package/lib/commonjs/utils/carousel-direction.js.map +1 -0
- package/lib/commonjs/utils/carousel-math.js +2 -0
- package/lib/commonjs/utils/carousel-math.js.map +1 -0
- package/lib/commonjs/utils/computed-with-auto-fill-data.js.map +1 -1
- package/lib/commonjs/utils/deal-with-animation.js +1 -1
- package/lib/commonjs/utils/deal-with-animation.js.map +1 -1
- package/lib/module/components/Carousel.js +1 -1
- package/lib/module/components/Carousel.js.map +1 -1
- package/lib/module/components/CarouselLayout.js +1 -1
- package/lib/module/components/CarouselLayout.js.map +1 -1
- package/lib/module/components/ItemLayout.js +1 -1
- package/lib/module/components/ItemLayout.js.map +1 -1
- package/lib/module/components/ItemRenderer.js +1 -1
- package/lib/module/components/ItemRenderer.js.map +1 -1
- package/lib/module/components/LazyView.js +1 -1
- package/lib/module/components/LazyView.js.map +1 -1
- package/lib/module/components/Pagination/PaginationItem.js +2 -0
- package/lib/module/components/Pagination/PaginationItem.js.map +1 -0
- package/lib/module/components/Pagination/index.js +1 -1
- package/lib/module/components/Pagination/index.js.map +1 -1
- package/lib/module/components/ScrollViewGesture.js +1 -1
- package/lib/module/components/ScrollViewGesture.js.map +1 -1
- package/lib/module/constants/index.js +1 -1
- package/lib/module/constants/index.js.map +1 -1
- package/lib/module/hooks/useAutoPlay.js +1 -1
- package/lib/module/hooks/useAutoPlay.js.map +1 -1
- package/lib/module/hooks/useCarouselController.js +1 -1
- package/lib/module/hooks/useCarouselController.js.map +1 -1
- package/lib/module/hooks/useCheckMounted.js +1 -1
- package/lib/module/hooks/useCheckMounted.js.map +1 -1
- package/lib/module/hooks/useCommonVariables.js +1 -1
- package/lib/module/hooks/useCommonVariables.js.map +1 -1
- package/lib/module/hooks/useInitProps.js +1 -1
- package/lib/module/hooks/useInitProps.js.map +1 -1
- package/lib/module/hooks/useLayoutConfig.js +1 -1
- package/lib/module/hooks/useLayoutConfig.js.map +1 -1
- package/lib/module/hooks/useOffsetX.js +1 -1
- package/lib/module/hooks/useOffsetX.js.map +1 -1
- package/lib/module/hooks/useOnProgressChange.js +1 -1
- package/lib/module/hooks/useOnProgressChange.js.map +1 -1
- package/lib/module/hooks/usePanGestureProxy.js +1 -1
- package/lib/module/hooks/usePanGestureProxy.js.map +1 -1
- package/lib/module/hooks/usePropsErrorBoundary.js +1 -1
- package/lib/module/hooks/usePropsErrorBoundary.js.map +1 -1
- package/lib/module/hooks/useUpdateGestureConfig.js +1 -1
- package/lib/module/hooks/useUpdateGestureConfig.js.map +1 -1
- package/lib/module/hooks/useVisibleRanges.js +1 -1
- package/lib/module/hooks/useVisibleRanges.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/layouts/index.js +1 -1
- package/lib/module/layouts/index.js.map +1 -1
- package/lib/module/layouts/normal.js +1 -1
- package/lib/module/layouts/normal.js.map +1 -1
- package/lib/module/layouts/parallax.js +1 -1
- package/lib/module/layouts/parallax.js.map +1 -1
- package/lib/module/layouts/stack.js +1 -1
- package/lib/module/layouts/stack.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/public-types.js +2 -0
- package/lib/module/public-types.js.map +1 -0
- package/lib/module/store/index.js +1 -1
- package/lib/module/store/index.js.map +1 -1
- package/lib/module/types.js +1 -1
- package/lib/module/utils/carousel-direction.js +2 -0
- package/lib/module/utils/carousel-direction.js.map +1 -0
- package/lib/module/utils/carousel-math.js +2 -0
- package/lib/module/utils/carousel-math.js.map +1 -0
- package/lib/module/utils/compute-gesture-translation.js +1 -1
- package/lib/module/utils/compute-gesture-translation.js.map +1 -1
- package/lib/module/utils/compute-offset-if-size-changed.js +1 -1
- package/lib/module/utils/compute-offset-if-size-changed.js.map +1 -1
- package/lib/module/utils/computed-with-auto-fill-data.js +1 -1
- package/lib/module/utils/computed-with-auto-fill-data.js.map +1 -1
- package/lib/module/utils/deal-with-animation.js +1 -1
- package/lib/module/utils/deal-with-animation.js.map +1 -1
- package/lib/module/utils/log.js +1 -1
- package/lib/module/utils/log.js.map +1 -1
- package/lib/module/utils/sanitize-animation-style.js +1 -1
- package/lib/module/utils/sanitize-animation-style.js.map +1 -1
- package/lib/typescript/commonjs/components/Carousel.d.ts +8 -0
- package/lib/typescript/commonjs/components/Carousel.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/components}/CarouselLayout.d.ts +5 -8
- package/lib/typescript/commonjs/components/CarouselLayout.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/ItemLayout.d.ts +21 -0
- package/lib/typescript/commonjs/components/ItemLayout.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/ItemRenderer.d.ts +24 -0
- package/lib/typescript/commonjs/components/ItemRenderer.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/LazyView.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Pagination/PaginationItem.d.ts +14 -0
- package/lib/typescript/commonjs/components/Pagination/PaginationItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Pagination/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/Pagination/index.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/components}/ScrollViewGesture.d.ts +3 -4
- package/lib/typescript/commonjs/components/ScrollViewGesture.d.ts.map +1 -0
- package/lib/typescript/commonjs/constants/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useAutoPlay.d.ts +12 -0
- package/lib/typescript/commonjs/hooks/useAutoPlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useCarouselController.d.ts +29 -0
- package/lib/typescript/commonjs/hooks/useCarouselController.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useCheckMounted.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useCommonVariables.d.ts +18 -0
- package/lib/typescript/commonjs/hooks/useCommonVariables.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useInitProps.d.ts +25 -0
- package/lib/typescript/commonjs/hooks/useInitProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useLayoutConfig.d.ts +8 -0
- package/lib/typescript/commonjs/hooks/useLayoutConfig.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useOffsetX.d.ts +13 -0
- package/lib/typescript/commonjs/hooks/useOffsetX.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useOnProgressChange.d.ts +12 -0
- package/lib/typescript/commonjs/hooks/useOnProgressChange.d.ts.map +1 -0
- package/lib/typescript/{hooks → commonjs/hooks}/usePanGestureProxy.d.ts +4 -3
- package/lib/typescript/commonjs/hooks/usePanGestureProxy.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/usePropsErrorBoundary.d.ts +3 -0
- package/lib/typescript/commonjs/hooks/usePropsErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useUpdateGestureConfig.d.ts +9 -0
- package/lib/typescript/commonjs/hooks/useUpdateGestureConfig.d.ts.map +1 -0
- package/lib/typescript/{hooks → commonjs/hooks}/useVisibleRanges.d.ts +6 -6
- package/lib/typescript/commonjs/hooks/useVisibleRanges.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +4 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/{layouts → commonjs/layouts}/index.d.ts +0 -1
- package/lib/typescript/commonjs/layouts/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/layouts/normal.d.ts +15 -0
- package/lib/typescript/commonjs/layouts/normal.d.ts.map +1 -0
- package/lib/typescript/commonjs/layouts/parallax.d.ts +27 -0
- package/lib/typescript/commonjs/layouts/parallax.d.ts.map +1 -0
- package/lib/typescript/commonjs/layouts/stack.d.ts +10 -0
- package/lib/typescript/commonjs/layouts/stack.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/public-types.d.ts +171 -0
- package/lib/typescript/commonjs/public-types.d.ts.map +1 -0
- package/lib/typescript/{store → commonjs/store}/index.d.ts +8 -8
- package/lib/typescript/commonjs/store/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/types.d.ts +15 -0
- package/lib/typescript/commonjs/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/carousel-direction.d.ts +9 -0
- package/lib/typescript/commonjs/utils/carousel-direction.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/carousel-math.d.ts +28 -0
- package/lib/typescript/commonjs/utils/carousel-math.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/compute-gesture-translation.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/compute-offset-if-size-changed.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/computed-with-auto-fill-data.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/deal-with-animation.d.ts +3 -0
- package/lib/typescript/commonjs/utils/deal-with-animation.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/log.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/sanitize-animation-style.d.ts.map +1 -0
- package/lib/typescript/module/components/Carousel.d.ts +8 -0
- package/lib/typescript/module/components/Carousel.d.ts.map +1 -0
- package/lib/typescript/module/components/CarouselLayout.d.ts +14 -0
- package/lib/typescript/module/components/CarouselLayout.d.ts.map +1 -0
- package/lib/typescript/module/components/ItemLayout.d.ts +21 -0
- package/lib/typescript/module/components/ItemLayout.d.ts.map +1 -0
- package/lib/typescript/module/components/ItemRenderer.d.ts +24 -0
- package/lib/typescript/module/components/ItemRenderer.d.ts.map +1 -0
- package/lib/typescript/module/components/LazyView.d.ts +8 -0
- package/lib/typescript/module/components/LazyView.d.ts.map +1 -0
- package/lib/typescript/module/components/Pagination/PaginationItem.d.ts +14 -0
- package/lib/typescript/module/components/Pagination/PaginationItem.d.ts.map +1 -0
- package/lib/typescript/module/components/Pagination/index.d.ts +4 -0
- package/lib/typescript/module/components/Pagination/index.d.ts.map +1 -0
- package/lib/typescript/module/components/ScrollViewGesture.d.ts +18 -0
- package/lib/typescript/module/components/ScrollViewGesture.d.ts.map +1 -0
- package/lib/typescript/module/constants/index.d.ts +9 -0
- package/lib/typescript/module/constants/index.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useAutoPlay.d.ts +12 -0
- package/lib/typescript/module/hooks/useAutoPlay.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useCarouselController.d.ts +29 -0
- package/lib/typescript/module/hooks/useCarouselController.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useCheckMounted.d.ts +3 -0
- package/lib/typescript/module/hooks/useCheckMounted.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useCommonVariables.d.ts +18 -0
- package/lib/typescript/module/hooks/useCommonVariables.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useInitProps.d.ts +25 -0
- package/lib/typescript/module/hooks/useInitProps.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useLayoutConfig.d.ts +8 -0
- package/lib/typescript/module/hooks/useLayoutConfig.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useOffsetX.d.ts +13 -0
- package/lib/typescript/module/hooks/useOffsetX.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useOnProgressChange.d.ts +12 -0
- package/lib/typescript/module/hooks/useOnProgressChange.d.ts.map +1 -0
- package/lib/typescript/module/hooks/usePanGestureProxy.d.ts +11 -0
- package/lib/typescript/module/hooks/usePanGestureProxy.d.ts.map +1 -0
- package/lib/typescript/module/hooks/usePropsErrorBoundary.d.ts +3 -0
- package/lib/typescript/module/hooks/usePropsErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useUpdateGestureConfig.d.ts +9 -0
- package/lib/typescript/module/hooks/useUpdateGestureConfig.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useVisibleRanges.d.ts +22 -0
- package/lib/typescript/module/hooks/useVisibleRanges.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +4 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/layouts/index.d.ts +10 -0
- package/lib/typescript/module/layouts/index.d.ts.map +1 -0
- package/lib/typescript/module/layouts/normal.d.ts +15 -0
- package/lib/typescript/module/layouts/normal.d.ts.map +1 -0
- package/lib/typescript/module/layouts/parallax.d.ts +27 -0
- package/lib/typescript/module/layouts/parallax.d.ts.map +1 -0
- package/lib/typescript/module/layouts/stack.d.ts +10 -0
- package/lib/typescript/module/layouts/stack.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/public-types.d.ts +171 -0
- package/lib/typescript/module/public-types.d.ts.map +1 -0
- package/lib/typescript/module/store/index.d.ts +35 -0
- package/lib/typescript/module/store/index.d.ts.map +1 -0
- package/lib/typescript/module/types.d.ts +15 -0
- package/lib/typescript/module/types.d.ts.map +1 -0
- package/lib/typescript/module/utils/carousel-direction.d.ts +9 -0
- package/lib/typescript/module/utils/carousel-direction.d.ts.map +1 -0
- package/lib/typescript/module/utils/carousel-math.d.ts +28 -0
- package/lib/typescript/module/utils/carousel-math.d.ts.map +1 -0
- package/lib/typescript/module/utils/compute-gesture-translation.d.ts +9 -0
- package/lib/typescript/module/utils/compute-gesture-translation.d.ts.map +1 -0
- package/lib/typescript/module/utils/compute-offset-if-size-changed.d.ts +6 -0
- package/lib/typescript/module/utils/compute-offset-if-size-changed.d.ts.map +1 -0
- package/lib/typescript/module/utils/computed-with-auto-fill-data.d.ts +23 -0
- package/lib/typescript/module/utils/computed-with-auto-fill-data.d.ts.map +1 -0
- package/lib/typescript/module/utils/deal-with-animation.d.ts +3 -0
- package/lib/typescript/module/utils/deal-with-animation.d.ts.map +1 -0
- package/lib/typescript/module/utils/log.d.ts +7 -0
- package/lib/typescript/module/utils/log.d.ts.map +1 -0
- package/lib/typescript/module/utils/sanitize-animation-style.d.ts +3 -0
- package/lib/typescript/module/utils/sanitize-animation-style.d.ts.map +1 -0
- package/package.json +31 -6
- package/scripts/codemods/v5.mjs +502 -0
- package/src/components/Carousel.tsx +5 -5
- package/src/components/CarouselLayout.tsx +52 -89
- package/src/components/ItemLayout.tsx +57 -48
- package/src/components/ItemRenderer.tsx +29 -18
- package/src/components/Pagination/PaginationItem.tsx +166 -0
- package/src/components/Pagination/index.tsx +105 -6
- package/src/components/ScrollViewGesture.tsx +92 -177
- package/src/hooks/useAutoPlay.ts +23 -18
- package/src/hooks/useCarouselController.tsx +196 -342
- package/src/hooks/useCommonVariables.ts +159 -71
- package/src/hooks/useInitProps.ts +161 -71
- package/src/hooks/useLayoutConfig.ts +21 -12
- package/src/hooks/useOffsetX.ts +6 -6
- package/src/hooks/useOnProgressChange.ts +23 -48
- package/src/hooks/usePanGestureProxy.ts +8 -8
- package/src/hooks/usePropsErrorBoundary.ts +32 -90
- package/src/hooks/useUpdateGestureConfig.ts +6 -3
- package/src/hooks/useVisibleRanges.tsx +6 -6
- package/src/index.tsx +14 -9
- package/src/layouts/index.tsx +0 -2
- package/src/layouts/normal.ts +14 -4
- package/src/layouts/parallax.ts +32 -59
- package/src/layouts/stack.ts +30 -70
- package/src/public-types.ts +209 -0
- package/src/store/index.tsx +7 -7
- package/src/types.ts +30 -322
- package/src/utils/carousel-direction.ts +39 -0
- package/src/utils/carousel-math.ts +156 -0
- package/src/utils/computed-with-auto-fill-data.ts +2 -2
- package/src/utils/deal-with-animation.ts +11 -9
- package/lib/commonjs/components/Pagination/Basic/PaginationItem.js +0 -2
- package/lib/commonjs/components/Pagination/Basic/PaginationItem.js.map +0 -1
- package/lib/commonjs/components/Pagination/Basic/index.js +0 -2
- package/lib/commonjs/components/Pagination/Basic/index.js.map +0 -1
- package/lib/commonjs/components/Pagination/Custom/PaginationItem.js +0 -2
- package/lib/commonjs/components/Pagination/Custom/PaginationItem.js.map +0 -1
- package/lib/commonjs/components/Pagination/Custom/index.js +0 -2
- package/lib/commonjs/components/Pagination/Custom/index.js.map +0 -1
- package/lib/commonjs/utils/compute-offset-if-data-changed.js +0 -2
- package/lib/commonjs/utils/compute-offset-if-data-changed.js.map +0 -1
- package/lib/commonjs/utils/handleroffset-direction.js +0 -2
- package/lib/commonjs/utils/handleroffset-direction.js.map +0 -1
- package/lib/module/components/Pagination/Basic/PaginationItem.js +0 -2
- package/lib/module/components/Pagination/Basic/PaginationItem.js.map +0 -1
- package/lib/module/components/Pagination/Basic/index.js +0 -2
- package/lib/module/components/Pagination/Basic/index.js.map +0 -1
- package/lib/module/components/Pagination/Custom/PaginationItem.js +0 -2
- package/lib/module/components/Pagination/Custom/PaginationItem.js.map +0 -1
- package/lib/module/components/Pagination/Custom/index.js +0 -2
- package/lib/module/components/Pagination/Custom/index.js.map +0 -1
- package/lib/module/utils/compute-offset-if-data-changed.js +0 -2
- package/lib/module/utils/compute-offset-if-data-changed.js.map +0 -1
- package/lib/module/utils/handleroffset-direction.js +0 -2
- package/lib/module/utils/handleroffset-direction.js.map +0 -1
- package/lib/typescript/components/Carousel.d.ts +0 -8
- package/lib/typescript/components/Carousel.d.ts.map +0 -1
- package/lib/typescript/components/CarouselLayout.d.ts.map +0 -1
- package/lib/typescript/components/ItemLayout.d.ts +0 -20
- package/lib/typescript/components/ItemLayout.d.ts.map +0 -1
- package/lib/typescript/components/ItemRenderer.d.ts +0 -23
- package/lib/typescript/components/ItemRenderer.d.ts.map +0 -1
- package/lib/typescript/components/LazyView.d.ts.map +0 -1
- package/lib/typescript/components/Pagination/Basic/PaginationItem.d.ts +0 -29
- package/lib/typescript/components/Pagination/Basic/PaginationItem.d.ts.map +0 -1
- package/lib/typescript/components/Pagination/Basic/index.d.ts +0 -23
- package/lib/typescript/components/Pagination/Basic/index.d.ts.map +0 -1
- package/lib/typescript/components/Pagination/Custom/PaginationItem.d.ts +0 -35
- package/lib/typescript/components/Pagination/Custom/PaginationItem.d.ts.map +0 -1
- package/lib/typescript/components/Pagination/Custom/index.d.ts +0 -26
- package/lib/typescript/components/Pagination/Custom/index.d.ts.map +0 -1
- package/lib/typescript/components/Pagination/index.d.ts +0 -5
- package/lib/typescript/components/Pagination/index.d.ts.map +0 -1
- package/lib/typescript/components/ScrollViewGesture.d.ts.map +0 -1
- package/lib/typescript/constants/index.d.ts.map +0 -1
- package/lib/typescript/hooks/useAutoPlay.d.ts +0 -12
- package/lib/typescript/hooks/useAutoPlay.d.ts.map +0 -1
- package/lib/typescript/hooks/useCarouselController.d.ts +0 -28
- package/lib/typescript/hooks/useCarouselController.d.ts.map +0 -1
- package/lib/typescript/hooks/useCheckMounted.d.ts.map +0 -1
- package/lib/typescript/hooks/useCommonVariables.d.ts +0 -13
- package/lib/typescript/hooks/useCommonVariables.d.ts.map +0 -1
- package/lib/typescript/hooks/useInitProps.d.ts +0 -10
- package/lib/typescript/hooks/useInitProps.d.ts.map +0 -1
- package/lib/typescript/hooks/useLayoutConfig.d.ts +0 -8
- package/lib/typescript/hooks/useLayoutConfig.d.ts.map +0 -1
- package/lib/typescript/hooks/useOffsetX.d.ts +0 -13
- package/lib/typescript/hooks/useOffsetX.d.ts.map +0 -1
- package/lib/typescript/hooks/useOnProgressChange.d.ts +0 -11
- package/lib/typescript/hooks/useOnProgressChange.d.ts.map +0 -1
- package/lib/typescript/hooks/usePanGestureProxy.d.ts.map +0 -1
- package/lib/typescript/hooks/usePropsErrorBoundary.d.ts +0 -5
- package/lib/typescript/hooks/usePropsErrorBoundary.d.ts.map +0 -1
- package/lib/typescript/hooks/useUpdateGestureConfig.d.ts +0 -6
- package/lib/typescript/hooks/useUpdateGestureConfig.d.ts.map +0 -1
- package/lib/typescript/hooks/useVisibleRanges.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -7
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/layouts/index.d.ts.map +0 -1
- package/lib/typescript/layouts/normal.d.ts +0 -13
- package/lib/typescript/layouts/normal.d.ts.map +0 -1
- package/lib/typescript/layouts/parallax.d.ts +0 -47
- package/lib/typescript/layouts/parallax.d.ts.map +0 -1
- package/lib/typescript/layouts/stack.d.ts +0 -38
- package/lib/typescript/layouts/stack.d.ts.map +0 -1
- package/lib/typescript/store/index.d.ts.map +0 -1
- package/lib/typescript/types.d.ts +0 -302
- package/lib/typescript/types.d.ts.map +0 -1
- package/lib/typescript/utils/compute-gesture-translation.d.ts.map +0 -1
- package/lib/typescript/utils/compute-offset-if-data-changed.d.ts +0 -9
- package/lib/typescript/utils/compute-offset-if-data-changed.d.ts.map +0 -1
- package/lib/typescript/utils/compute-offset-if-size-changed.d.ts.map +0 -1
- package/lib/typescript/utils/computed-with-auto-fill-data.d.ts.map +0 -1
- package/lib/typescript/utils/deal-with-animation.d.ts +0 -3
- package/lib/typescript/utils/deal-with-animation.d.ts.map +0 -1
- package/lib/typescript/utils/handleroffset-direction.d.ts +0 -4
- package/lib/typescript/utils/handleroffset-direction.d.ts.map +0 -1
- package/lib/typescript/utils/log.d.ts.map +0 -1
- package/lib/typescript/utils/sanitize-animation-style.d.ts.map +0 -1
- package/src/components/Pagination/Basic/PaginationItem.tsx +0 -149
- package/src/components/Pagination/Basic/index.tsx +0 -98
- package/src/components/Pagination/Custom/PaginationItem.tsx +0 -166
- package/src/components/Pagination/Custom/index.tsx +0 -111
- package/src/utils/compute-offset-if-data-changed.ts +0 -44
- package/src/utils/handleroffset-direction.ts +0 -18
- /package/lib/typescript/{components → commonjs/components}/LazyView.d.ts +0 -0
- /package/lib/typescript/{constants → commonjs/constants}/index.d.ts +0 -0
- /package/lib/typescript/{hooks → commonjs/hooks}/useCheckMounted.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/compute-gesture-translation.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/compute-offset-if-size-changed.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/computed-with-auto-fill-data.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/log.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/sanitize-animation-style.d.ts +0 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
export function positiveModulo(value: number, divisor: number): number {
|
|
2
|
+
"worklet";
|
|
3
|
+
|
|
4
|
+
if (!Number.isFinite(value) || !Number.isFinite(divisor) || divisor <= 0) return 0;
|
|
5
|
+
|
|
6
|
+
const remainder = value % divisor;
|
|
7
|
+
return remainder < 0 ? remainder + divisor : remainder;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export function getLogicalProgress(offset: number, itemSize: number): number {
|
|
11
|
+
"worklet";
|
|
12
|
+
|
|
13
|
+
if (!Number.isFinite(offset) || !Number.isFinite(itemSize) || itemSize <= 0) return 0;
|
|
14
|
+
return -offset / itemSize;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function getOffsetForLogicalPage(page: number, itemSize: number): number {
|
|
18
|
+
"worklet";
|
|
19
|
+
|
|
20
|
+
if (!Number.isFinite(page) || !Number.isFinite(itemSize) || itemSize <= 0) return 0;
|
|
21
|
+
if (page === 0) return 0;
|
|
22
|
+
return -page * itemSize;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export function getNearestLogicalPage(offset: number, itemSize: number): number {
|
|
26
|
+
"worklet";
|
|
27
|
+
|
|
28
|
+
return Math.round(getLogicalProgress(offset, itemSize));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function getSettledRawIndex(progress: number, count: number): number {
|
|
32
|
+
"worklet";
|
|
33
|
+
|
|
34
|
+
if (!Number.isFinite(count) || count <= 0) return 0;
|
|
35
|
+
return positiveModulo(Math.round(progress), Math.floor(count));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function getNearestLoopPosition(rawIndex: number, progress: number, count: number): number {
|
|
39
|
+
"worklet";
|
|
40
|
+
|
|
41
|
+
if (
|
|
42
|
+
!Number.isFinite(rawIndex) ||
|
|
43
|
+
!Number.isFinite(progress) ||
|
|
44
|
+
!Number.isFinite(count) ||
|
|
45
|
+
count <= 0
|
|
46
|
+
) {
|
|
47
|
+
return 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const safeCount = Math.floor(count);
|
|
51
|
+
const normalizedIndex = positiveModulo(Math.round(rawIndex), safeCount);
|
|
52
|
+
const lowerCycle = Math.floor((progress - normalizedIndex) / safeCount);
|
|
53
|
+
const lower = normalizedIndex + lowerCycle * safeCount;
|
|
54
|
+
const upper = lower + safeCount;
|
|
55
|
+
const lowerDistance = Math.abs(progress - lower);
|
|
56
|
+
const upperDistance = Math.abs(upper - progress);
|
|
57
|
+
|
|
58
|
+
if (upperDistance < lowerDistance) return upper;
|
|
59
|
+
if (lowerDistance < upperDistance) return lower;
|
|
60
|
+
|
|
61
|
+
// An exact tie resolves in the logical forward direction.
|
|
62
|
+
return upper >= progress ? upper : lower;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function getRelativeProgress(params: {
|
|
66
|
+
rawIndex: number;
|
|
67
|
+
progress: number;
|
|
68
|
+
count: number;
|
|
69
|
+
loop: boolean;
|
|
70
|
+
}): number {
|
|
71
|
+
"worklet";
|
|
72
|
+
|
|
73
|
+
const { rawIndex, progress, count, loop } = params;
|
|
74
|
+
if (!Number.isFinite(progress)) return 0;
|
|
75
|
+
|
|
76
|
+
const itemPosition = loop ? getNearestLoopPosition(rawIndex, progress, count) : rawIndex;
|
|
77
|
+
return itemPosition - progress;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function getBoundedLoopOffset(offset: number, itemSize: number, count: number): number {
|
|
81
|
+
"worklet";
|
|
82
|
+
|
|
83
|
+
if (
|
|
84
|
+
!Number.isFinite(offset) ||
|
|
85
|
+
!Number.isFinite(itemSize) ||
|
|
86
|
+
!Number.isFinite(count) ||
|
|
87
|
+
itemSize <= 0 ||
|
|
88
|
+
count <= 0
|
|
89
|
+
) {
|
|
90
|
+
return 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const cycleSize = itemSize * Math.floor(count);
|
|
94
|
+
return offset % cycleSize;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function getShortestLoopTargetPage(params: {
|
|
98
|
+
currentPage: number;
|
|
99
|
+
targetIndex: number;
|
|
100
|
+
count: number;
|
|
101
|
+
}): number {
|
|
102
|
+
"worklet";
|
|
103
|
+
|
|
104
|
+
const { currentPage, targetIndex, count } = params;
|
|
105
|
+
if (
|
|
106
|
+
!Number.isFinite(currentPage) ||
|
|
107
|
+
!Number.isInteger(targetIndex) ||
|
|
108
|
+
!Number.isInteger(count) ||
|
|
109
|
+
count <= 0
|
|
110
|
+
) {
|
|
111
|
+
return 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const currentRawIndex = positiveModulo(currentPage, count);
|
|
115
|
+
const forwardDistance = positiveModulo(targetIndex - currentRawIndex, count);
|
|
116
|
+
const backwardDistance = forwardDistance - count;
|
|
117
|
+
const distance =
|
|
118
|
+
Math.abs(forwardDistance) <= Math.abs(backwardDistance) ? forwardDistance : backwardDistance;
|
|
119
|
+
|
|
120
|
+
return currentPage + distance;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function reconcileOffsetAfterDataChange(params: {
|
|
124
|
+
offset: number;
|
|
125
|
+
itemSize: number;
|
|
126
|
+
previousCount: number;
|
|
127
|
+
nextCount: number;
|
|
128
|
+
defaultIndex: number;
|
|
129
|
+
loop: boolean;
|
|
130
|
+
retainedIndex?: number | undefined;
|
|
131
|
+
}): number {
|
|
132
|
+
"worklet";
|
|
133
|
+
|
|
134
|
+
const { offset, itemSize, previousCount, nextCount, defaultIndex, loop, retainedIndex } = params;
|
|
135
|
+
if (!Number.isInteger(nextCount) || nextCount <= 0 || itemSize <= 0) return 0;
|
|
136
|
+
|
|
137
|
+
if (!Number.isInteger(previousCount) || previousCount <= 0) {
|
|
138
|
+
const initialIndex = Math.max(0, Math.min(nextCount - 1, defaultIndex));
|
|
139
|
+
return getOffsetForLogicalPage(initialIndex, itemSize);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
const currentPage = getNearestLogicalPage(offset, itemSize);
|
|
143
|
+
const previousRawIndex = positiveModulo(currentPage, previousCount);
|
|
144
|
+
const nextRawIndex =
|
|
145
|
+
typeof retainedIndex === "number" &&
|
|
146
|
+
Number.isInteger(retainedIndex) &&
|
|
147
|
+
retainedIndex >= 0 &&
|
|
148
|
+
retainedIndex < nextCount
|
|
149
|
+
? retainedIndex
|
|
150
|
+
: Math.min(previousRawIndex, nextCount - 1);
|
|
151
|
+
const nextPage = loop
|
|
152
|
+
? getNearestLoopPosition(nextRawIndex, currentPage, nextCount)
|
|
153
|
+
: nextRawIndex;
|
|
154
|
+
|
|
155
|
+
return getOffsetForLogicalPage(nextPage, itemSize);
|
|
156
|
+
}
|
|
@@ -82,9 +82,9 @@ export function computedFillDataWithAutoFillData<T>(
|
|
|
82
82
|
if (isAutoFillData({ loop, autoFillData })) {
|
|
83
83
|
switch (dataLength) {
|
|
84
84
|
case SINGLE_ITEM:
|
|
85
|
-
return [data[0]
|
|
85
|
+
return [data[0]!, data[0]!, data[0]!];
|
|
86
86
|
case DOUBLE_ITEM:
|
|
87
|
-
return [data[0]
|
|
87
|
+
return [data[0]!, data[1]!, data[0]!, data[1]!];
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { withSpring, withTiming } from "react-native-reanimated";
|
|
2
2
|
|
|
3
|
-
import type {
|
|
3
|
+
import type { CarouselAnimation } from "../types";
|
|
4
4
|
|
|
5
5
|
export function dealWithAnimation(
|
|
6
|
-
|
|
6
|
+
animation: CarouselAnimation
|
|
7
7
|
): (value: number, cb: (isFinished: boolean) => void) => number {
|
|
8
8
|
"worklet";
|
|
9
|
-
switch (
|
|
10
|
-
case "spring":
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
switch (animation.type) {
|
|
10
|
+
case "spring": {
|
|
11
|
+
const { type: _, ...config } = animation;
|
|
12
|
+
return (value, cb) => withSpring(value, config, (isFinished) => cb(isFinished as boolean));
|
|
13
|
+
}
|
|
14
|
+
case "timing": {
|
|
15
|
+
const { type: _, ...config } = animation;
|
|
16
|
+
return (value, cb) => withTiming(value, config, (isFinished) => cb(isFinished as boolean));
|
|
17
|
+
}
|
|
16
18
|
}
|
|
17
19
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.PaginationItem=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeReanimated=_interopRequireWildcard(require("react-native-reanimated"));var _reactNativeWorklets=require("react-native-worklets");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx";function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap(),n=new WeakMap();return(_interopRequireWildcard=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f);}for(var _t in e)"default"!==_t&&{}.hasOwnProperty.call(e,_t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,_t))&&(i.get||i.set)?o(f,_t,i):f[_t]=e[_t]);return f;})(e,t);}var _worklet_14735271691165_init_data={code:"function PaginationItemTsx1(){const{animValue}=this.__closure;return animValue.value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx1\",\"animValue\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx\"],\"mappings\":\"AAoFI,SAAAA,mBAAA,QAAAC,SAAA,OAAAC,SAAA,OAAM,CAAAD,SAAU,CAAAE,KAAA\",\"ignoreList\":[]}"};var _worklet_15827712769857_init_data={code:"function PaginationItemTsx2(value){const{scheduleOnRN,setIsSelected,index}=this.__closure;scheduleOnRN(setIsSelected,value===index);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx2\",\"value\",\"scheduleOnRN\",\"setIsSelected\",\"index\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx\"],\"mappings\":\"AAqFK,SAAAA,kBAAUA,CAAAC,KAAA,QAAAC,YAAA,CAAAC,aAAA,CAAAC,KAAA,OAAAC,SAAA,CACTH,YAAY,CAACC,aAAa,CAAEF,KAAK,GAAKG,KAAK,CAAC,CAC9C\",\"ignoreList\":[]}"};var _worklet_3460551008817_init_data={code:"function PaginationItemTsx3(){const{horizontal,height,width,index,animValue,count,interpolate,Extrapolation}=this.__closure;var _animValue,_animValue2;const size=horizontal?height:width;let inputRange=[index-1,index,index+1];let outputRange=[-size,0,size];if(index===0&&((_animValue=animValue)===null||_animValue===void 0?void 0:_animValue.value)>count-1){inputRange=[count-1,count,count+1];outputRange=[-size,0,size];}return{transform:[{translateX:interpolate((_animValue2=animValue)===null||_animValue2===void 0?void 0:_animValue2.value,inputRange,outputRange,Extrapolation.CLAMP)}]};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx3\",\"horizontal\",\"height\",\"width\",\"index\",\"animValue\",\"count\",\"interpolate\",\"Extrapolation\",\"__closure\",\"_animValue\",\"_animValue2\",\"size\",\"inputRange\",\"outputRange\",\"value\",\"transform\",\"translateX\",\"CLAMP\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx\"],\"mappings\":\"AA2FqC,SAAAA,kBAAMA,CAAA,QAAAC,UAAA,CAAAC,MAAA,CAAAC,KAAA,CAAAC,KAAA,CAAAC,SAAA,CAAAC,KAAA,CAAAC,WAAA,CAAAC,aAAA,OAAAC,SAAA,KAAAC,UAAA,CAAAC,WAAA,CACvC,KAAM,CAAAC,IAAI,CAAGX,UAAU,CAAGC,MAAM,CAAGC,KAAK,CACxC,GAAI,CAAAU,UAAU,CAAG,CAACT,KAAK,CAAG,CAAC,CAAEA,KAAK,CAAEA,KAAK,CAAG,CAAC,CAAC,CAC9C,GAAI,CAAAU,WAAW,CAAG,CAAC,CAACF,IAAI,CAAE,CAAC,CAAEA,IAAI,CAAC,CAElC,GAAIR,KAAK,GAAK,CAAC,EAAI,EAAAM,UAAA,CAAAL,SAAS,UAAAK,UAAA,iBAATA,UAAA,CAAWK,KAAK,EAAGT,KAAK,CAAG,CAAC,CAAE,CAC/CO,UAAU,CAAG,CAACP,KAAK,CAAG,CAAC,CAAEA,KAAK,CAAEA,KAAK,CAAG,CAAC,CAAC,CAC1CQ,WAAW,CAAG,CAAC,CAACF,IAAI,CAAE,CAAC,CAAEA,IAAI,CAAC,CAChC,CAEA,MAAO,CACLI,SAAS,CAAE,CACT,CACEC,UAAU,CAAEV,WAAW,EAAAI,WAAA,CAACN,SAAS,UAAAM,WAAA,iBAATA,WAAA,CAAWI,KAAK,CAAEF,UAAU,CAAEC,WAAW,CAAEN,aAAa,CAACU,KAAK,CACxF,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"};var PaginationItem=exports.PaginationItem=function PaginationItem(props){var animValue=props.animValue,dotStyle=props.dotStyle,activeDotStyle=props.activeDotStyle,index=props.index,count=props.count,size=props.size,horizontal=props.horizontal,children=props.children,onPress=props.onPress,accessibilityLabel=props.accessibilityLabel,accessibilityHint=props.accessibilityHint,accessibilityRole=props.accessibilityRole,accessibilityState=props.accessibilityState;var defaultDotSize=10;var sizes={width:size||(dotStyle==null?void 0:dotStyle.width)||defaultDotSize,height:size||(dotStyle==null?void 0:dotStyle.height)||defaultDotSize};var width=sizes.width;var height=sizes.height;var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),isSelected=_useState2[0],setIsSelected=_useState2[1];var resolvedAccessibilityLabel=accessibilityLabel!=null?accessibilityLabel:`Slide ${index+1} of ${count}`;var resolvedAccessibilityHint=accessibilityHint!=null?accessibilityHint:isSelected?"":`Go to ${resolvedAccessibilityLabel}`;var resolvedAccessibilityRole=accessibilityRole!=null?accessibilityRole:"button";var resolvedAccessibilityState=accessibilityState!=null?accessibilityState:{selected:isSelected};(0,_reactNativeReanimated.useAnimatedReaction)(function PaginationItemTsx1Factory(_ref){var _worklet_14735271691165_init_data=_ref._worklet_14735271691165_init_data,animValue=_ref.animValue;var _e=[new global.Error(),-2,-27];var PaginationItemTsx1=function PaginationItemTsx1(){return animValue.value;};PaginationItemTsx1.__closure={animValue:animValue};PaginationItemTsx1.__workletHash=14735271691165;PaginationItemTsx1.__pluginVersion="0.5.2";PaginationItemTsx1.__initData=_worklet_14735271691165_init_data;PaginationItemTsx1.__stackDetails=_e;return PaginationItemTsx1;}({_worklet_14735271691165_init_data:_worklet_14735271691165_init_data,animValue:animValue}),function PaginationItemTsx2Factory(_ref2){var _worklet_15827712769857_init_data=_ref2._worklet_15827712769857_init_data,scheduleOnRN=_ref2.scheduleOnRN,setIsSelected=_ref2.setIsSelected,index=_ref2.index;var _e=[new global.Error(),-4,-27];var PaginationItemTsx2=function PaginationItemTsx2(value){scheduleOnRN(setIsSelected,value===index);};PaginationItemTsx2.__closure={scheduleOnRN:scheduleOnRN,setIsSelected:setIsSelected,index:index};PaginationItemTsx2.__workletHash=15827712769857;PaginationItemTsx2.__pluginVersion="0.5.2";PaginationItemTsx2.__initData=_worklet_15827712769857_init_data;PaginationItemTsx2.__stackDetails=_e;return PaginationItemTsx2;}({_worklet_15827712769857_init_data:_worklet_15827712769857_init_data,scheduleOnRN:_reactNativeWorklets.scheduleOnRN,setIsSelected:setIsSelected,index:index}),[animValue,index]);var animStyle=(0,_reactNativeReanimated.useAnimatedStyle)(function PaginationItemTsx3Factory(_ref3){var _worklet_3460551008817_init_data=_ref3._worklet_3460551008817_init_data,horizontal=_ref3.horizontal,height=_ref3.height,width=_ref3.width,index=_ref3.index,animValue=_ref3.animValue,count=_ref3.count,interpolate=_ref3.interpolate,Extrapolation=_ref3.Extrapolation;var _e=[new global.Error(),-9,-27];var PaginationItemTsx3=function PaginationItemTsx3(){var size=horizontal?height:width;var inputRange=[index-1,index,index+1];var outputRange=[-size,0,size];if(index===0&&(animValue==null?void 0:animValue.value)>count-1){inputRange=[count-1,count,count+1];outputRange=[-size,0,size];}return{transform:[{translateX:interpolate(animValue==null?void 0:animValue.value,inputRange,outputRange,Extrapolation.CLAMP)}]};};PaginationItemTsx3.__closure={horizontal:horizontal,height:height,width:width,index:index,animValue:animValue,count:count,interpolate:interpolate,Extrapolation:Extrapolation};PaginationItemTsx3.__workletHash=3460551008817;PaginationItemTsx3.__pluginVersion="0.5.2";PaginationItemTsx3.__initData=_worklet_3460551008817_init_data;PaginationItemTsx3.__stackDetails=_e;return PaginationItemTsx3;}({_worklet_3460551008817_init_data:_worklet_3460551008817_init_data,horizontal:horizontal,height:height,width:width,index:index,animValue:animValue,count:count,interpolate:_reactNativeReanimated.interpolate,Extrapolation:_reactNativeReanimated.Extrapolation}),[animValue,index,count,horizontal]);return(0,_jsxRuntime.jsx)(_reactNative.Pressable,{onPress:onPress,accessibilityLabel:resolvedAccessibilityLabel,accessibilityRole:resolvedAccessibilityRole,accessibilityHint:resolvedAccessibilityHint,accessibilityState:resolvedAccessibilityState,children:(0,_jsxRuntime.jsx)(_reactNative.View,{style:[{width:width,height:height,overflow:"hidden",transform:[{rotateZ:horizontal?"90deg":"0deg"}]},dotStyle],children:(0,_jsxRuntime.jsx)(_reactNativeReanimated.default.View,{style:[{backgroundColor:"black",flex:1},animStyle,activeDotStyle],children:children})})});};
|
|
2
|
-
//# sourceMappingURL=PaginationItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_reactNativeWorklets","_jsxRuntime","_this","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_worklet_14735271691165_init_data","code","location","sourceMap","_worklet_15827712769857_init_data","_worklet_3460551008817_init_data","PaginationItem","exports","props","animValue","dotStyle","activeDotStyle","index","count","size","horizontal","children","onPress","accessibilityLabel","accessibilityHint","accessibilityRole","accessibilityState","defaultDotSize","sizes","width","height","_useState","useState","_useState2","_slicedToArray2","isSelected","setIsSelected","resolvedAccessibilityLabel","resolvedAccessibilityHint","resolvedAccessibilityRole","resolvedAccessibilityState","selected","useAnimatedReaction","PaginationItemTsx1Factory","_ref","_e","global","Error","PaginationItemTsx1","value","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","PaginationItemTsx2Factory","_ref2","scheduleOnRN","PaginationItemTsx2","animStyle","useAnimatedStyle","PaginationItemTsx3Factory","_ref3","interpolate","Extrapolation","PaginationItemTsx3","inputRange","outputRange","transform","translateX","CLAMP","jsx","Pressable","View","style","overflow","rotateZ","backgroundColor","flex"],"sourceRoot":"../../../../../src","sources":["components/Pagination/Basic/PaginationItem.tsx"],"mappings":"sQACA,IAAAA,MAAA,C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ACE,GAAAtC,WAAA,CAAAyF,GAAA,EAAC5F,YAAA,CAAA6F,SAAS,EACRlD,OAAO,CAAEA,OAAQ,CACjBC,kBAAkB,CAAEc,0BAA2B,CAC/CZ,iBAAiB,CAAEc,yBAA0B,CAC7Cf,iBAAiB,CAAEc,yBAA0B,CAC7CZ,kBAAkB,CAAEc,0BAA2B,CAAAnB,QAAA,CAE/C,GAAAvC,WAAA,CAAAyF,GAAA,EAAC5F,YAAA,CAAA8F,IAAI,EACHC,KAAK,CAAE,CACL,CACE7C,KAAK,CAALA,KAAK,CACLC,MAAM,CAANA,MAAM,CACN6C,QAAQ,CAAE,QAAQ,CAClBP,SAAS,CAAE,CACT,CACEQ,OAAO,CAAExD,UAAU,CAAG,OAAO,CAAG,MAClC,CAAC,CAEL,CAAC,CACDL,QAAQ,CACR,CAAAM,QAAA,CAEF,GAAAvC,WAAA,CAAAyF,GAAA,EAAC3F,sBAAA,CAAAe,OAAQ,CAAC8E,IAAI,EACZC,KAAK,CAAE,CACL,CACEG,eAAe,CAAE,OAAO,CACxBC,IAAI,CAAE,CACR,CAAC,CACDnB,SAAS,CACT3C,cAAc,CACd,CAAAK,QAAA,CAEDA,QAAQ,CACI,CAAC,CACZ,CAAC,CACE,CAAC,CAEhB,CAAC","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Basic=void 0;var _reactNative=require("react-native");var _react=_interopRequireDefault(require("react"));var _PaginationItem=require("./PaginationItem");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/index.tsx";var Basic=exports.Basic=function Basic(props){var activeDotStyle=props.activeDotStyle,dotStyle=props.dotStyle,progress=props.progress,_props$horizontal=props.horizontal,horizontal=_props$horizontal===void 0?true:_props$horizontal,data=props.data,size=props.size,containerStyle=props.containerStyle,renderItem=props.renderItem,_onPress=props.onPress,carouselName=props.carouselName,paginationItemAccessibility=props.paginationItemAccessibility;if(typeof size==="string"||typeof(dotStyle==null?void 0:dotStyle.width)==="string"||typeof(dotStyle==null?void 0:dotStyle.height)==="string")throw new Error("size/width/height must be a number");return(0,_jsxRuntime.jsx)(_reactNative.View,{style:[{justifyContent:"space-between",alignSelf:"center"},horizontal?{flexDirection:"row"}:{flexDirection:"column"},containerStyle],children:data.map(function(item,index){var _paginationItemAccess,_accessibilityOverrid;var defaultAccessibilityLabel=carouselName?`Slide ${index+1} of ${data.length} - ${carouselName}`:`Slide ${index+1} of ${data.length}`;var accessibilityOverrides=(_paginationItemAccess=paginationItemAccessibility==null?void 0:paginationItemAccessibility(index,data.length))!=null?_paginationItemAccess:{};return(0,_jsxRuntime.jsx)(_PaginationItem.PaginationItem,{index:index,size:size,count:data.length,dotStyle:dotStyle,animValue:progress,horizontal:!horizontal,activeDotStyle:activeDotStyle,onPress:function onPress(){return _onPress==null?void 0:_onPress(index);},accessibilityLabel:(_accessibilityOverrid=accessibilityOverrides.accessibilityLabel)!=null?_accessibilityOverrid:defaultAccessibilityLabel,accessibilityHint:accessibilityOverrides.accessibilityHint,accessibilityRole:accessibilityOverrides.accessibilityRole,accessibilityState:accessibilityOverrides.accessibilityState,children:renderItem==null?void 0:renderItem(item,index)},index);})});};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_react","_interopRequireDefault","_PaginationItem","_jsxRuntime","_this","_jsxFileName","Basic","exports","props","activeDotStyle","dotStyle","progress","_props$horizontal","horizontal","data","size","containerStyle","renderItem","onPress","carouselName","paginationItemAccessibility","width","height","Error","jsx","View","style","justifyContent","alignSelf","flexDirection","children","map","item","index","_paginationItemAccess","_accessibilityOverrid","defaultAccessibilityLabel","length","accessibilityOverrides","PaginationItem","count","animValue","accessibilityLabel","accessibilityHint","accessibilityRole","accessibil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B,CAAC,CAAC,CACE,CAAC,CAEX,CAAC","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.PaginationItem=void 0;var _toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeReanimated=_interopRequireWildcard(require("react-native-reanimated"));var _reactNativeWorklets=require("react-native-worklets");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["width","height","borderRadius","backgroundColor"],_excluded2=["width","height","borderRadius","backgroundColor"];var _this=this,_jsxFileName="/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx";function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap(),n=new WeakMap();return(_interopRequireWildcard=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f);}for(var _t in e)"default"!==_t&&{}.hasOwnProperty.call(e,_t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,_t))&&(i.get||i.set)?o(f,_t,i):f[_t]=e[_t]);return f;})(e,t);}var _worklet_15771819902534_init_data={code:"function PaginationItemTsx1(){const{scheduleOnRN,handleCustomAnimation,animValue}=this.__closure;var _animValue;scheduleOnRN(handleCustomAnimation,(_animValue=animValue)===null||_animValue===void 0?void 0:_animValue.value);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx1\",\"scheduleOnRN\",\"handleCustomAnimation\",\"animValue\",\"__closure\",\"_animValue\",\"value\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx\"],\"mappings\":\"AAmFkB,SAAAA,kBAAMA,CAAA,QAAAC,YAAA,CAAAC,qBAAA,CAAAC,SAAA,OAAAC,SAAA,KAAAC,UAAA,CACpBJ,YAAY,CAACC,qBAAqB,EAAAG,UAAA,CAAEF,SAAS,UAAAE,UAAA,iBAATA,UAAA,CAAWC,KAAK,CAAC,CACvD\",\"ignoreList\":[]}"};var _worklet_1491418758174_init_data={code:"function PaginationItemTsx2(){const{animValue}=this.__closure;return animValue.value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx2\",\"animValue\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx\"],\"mappings\":\"AAwFI,SAAAA,mBAAA,QAAAC,SAAA,OAAAC,SAAA,OAAM,CAAAD,SAAU,CAAAE,KAAA\",\"ignoreList\":[]}"};var _worklet_8491159381056_init_data={code:"function PaginationItemTsx3(value){const{scheduleOnRN,setIsSelected,index}=this.__closure;scheduleOnRN(setIsSelected,value===index);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx3\",\"value\",\"scheduleOnRN\",\"setIsSelected\",\"index\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx\"],\"mappings\":\"AAyFK,SAAAA,kBAAUA,CAAAC,KAAA,QAAAC,YAAA,CAAAC,aAAA,CAAAC,KAAA,OAAAC,SAAA,CACTH,YAAY,CAACC,aAAa,CAAEF,KAAK,GAAKG,KAAK,CAAC,CAC9C\",\"ignoreList\":[]}"};var _worklet_1894073649076_init_data={code:"function PaginationItemTsx4(){const{size,defaultDotSize,dotStyle,activeDotStyle,animValue,index,count,interpolate,Extrapolation,interpolateColor,customReanimatedStyleRef}=this.__closure;var _dotStyle,_activeDotStyle,_animValue,_animValue2,_animValue3,_ref,_ref2,_customReanimatedStyl,_restStyle$transform,_customReanimatedStyl2,_customReanimatedStyl3;const{width=size||defaultDotSize,height=size||defaultDotSize,borderRadius:borderRadius,backgroundColor=\"#FFF\",...restDotStyle}=(_dotStyle=dotStyle)!==null&&_dotStyle!==void 0?_dotStyle:{};const{width:activeWidth=width,height:activeHeight=height,borderRadius:activeBorderRadius,backgroundColor:activeBackgroundColor=\"#000\",...restActiveDotStyle}=(_activeDotStyle=activeDotStyle)!==null&&_activeDotStyle!==void 0?_activeDotStyle:{};let val=Math.abs(((_animValue=animValue)===null||_animValue===void 0?void 0:_animValue.value)-index);if(index===0&&((_animValue2=animValue)===null||_animValue2===void 0?void 0:_animValue2.value)>count-1)val=Math.abs(((_animValue3=animValue)===null||_animValue3===void 0?void 0:_animValue3.value)-count);const inputRange=[0,1,2];const restStyle=(_ref=val===0?restActiveDotStyle:restDotStyle)!==null&&_ref!==void 0?_ref:{};return{width:interpolate(val,inputRange,[activeWidth,width,width],Extrapolation.CLAMP),height:interpolate(val,inputRange,[activeHeight,height,height],Extrapolation.CLAMP),borderRadius:interpolate(val,inputRange,[(_ref2=activeBorderRadius!==null&&activeBorderRadius!==void 0?activeBorderRadius:borderRadius)!==null&&_ref2!==void 0?_ref2:0,borderRadius!==null&&borderRadius!==void 0?borderRadius:0,borderRadius!==null&&borderRadius!==void 0?borderRadius:0],Extrapolation.CLAMP),backgroundColor:interpolateColor(val,inputRange,[activeBackgroundColor,backgroundColor,backgroundColor]),...restStyle,...((_customReanimatedStyl=customReanimatedStyleRef.value)!==null&&_customReanimatedStyl!==void 0?_customReanimatedStyl:{}),transform:[...((_restStyle$transform=restStyle===null||restStyle===void 0?void 0:restStyle.transform)!==null&&_restStyle$transform!==void 0?_restStyle$transform:[]),...((_customReanimatedStyl2=(_customReanimatedStyl3=customReanimatedStyleRef.value)===null||_customReanimatedStyl3===void 0?void 0:_customReanimatedStyl3.transform)!==null&&_customReanimatedStyl2!==void 0?_customReanimatedStyl2:[])]};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx4\",\"size\",\"defaultDotSize\",\"dotStyle\",\"activeDotStyle\",\"animValue\",\"index\",\"count\",\"interpolate\",\"Extrapolation\",\"interpolateColor\",\"customReanimatedStyleRef\",\"__closure\",\"_dotStyle\",\"_activeDotStyle\",\"_animValue\",\"_animValue2\",\"_animValue3\",\"_ref\",\"_ref2\",\"_customReanimatedStyl\",\"_restStyle$transform\",\"_customReanimatedStyl2\",\"_customReanimatedStyl3\",\"width\",\"height\",\"borderRadius\",\"backgroundColor\",\"restDotStyle\",\"activeWidth\",\"activeHeight\",\"activeBorderRadius\",\"activeBackgroundColor\",\"restActiveDotStyle\",\"val\",\"Math\",\"abs\",\"value\",\"inputRange\",\"restStyle\",\"CLAMP\",\"transform\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx\"],\"mappings\":\"AA+FqC,SAAAA,kBAA4BA,CAAA,QAAAC,IAAA,CAAAC,cAAA,CAAAC,QAAA,CAAAC,cAAA,CAAAC,SAAA,CAAAC,KAAA,CAAAC,KAAA,CAAAC,WAAA,CAAAC,aAAA,CAAAC,gBAAA,CAAAC,wBAAA,OAAAC,SAAA,KAAAC,SAAA,CAAAC,eAAA,CAAAC,UAAA,CAAAC,WAAA,CAAAC,WAAA,CAAAC,IAAA,CAAAC,KAAA,CAAAC,qBAAA,CAAAC,oBAAA,CAAAC,sBAA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,WAAW,CAAEL,KAAK,CAAEA,KAAK,CAAC,CAAEf,aAAa,CAAC+B,KAAK,CAAC,CACrFf,MAAM,CAAEjB,WAAW,CAAC0B,GAAG,CAAEI,UAAU,CAAE,CAACR,YAAY,CAAEL,MAAM,CAAEA,MAAM,CAAC,CAAEhB,aAAa,CAAC+B,KAAK,CAAC,CACzFd,YAAY,CAAElB,WAAW,CACvB0B,GAAG,CACHI,UAAU,CACV,EAAAnB,KAAA,CAACY,kBAAkB,SAAlBA,kBAAkB,UAAlBA,kBAAkB,CAAIL,YAAY,UAAAP,KAAA,UAAAA,KAAA,CAAI,CAAC,CAAEO,YAAY,SAAZA,YAAY,UAAZA,YAAY,CAAI,CAAC,CAAEA,YAAY,SAAZA,YAAY,UAAZA,YAAY,CAAI,CAAC,CAAC,CAC/EjB,aAAa,CAAC+B,KAChB,CAAC,CACDb,eAAe,CAAEjB,gBAAgB,CAACwB,GAAG,CAAEI,UAAU,CAAE,CACjDN,qBAAqB,CACrBL,eAAe,CACfA,eAAe,CAChB,CAAC,CACF,GAAGY,SAAS,CACZ,KAAAnB,qBAAA,CAAIT,wBAAwB,CAAC0B,KAAK,UAAAjB,qBAAA,UAAAA,qBAAA,CAAI,CAAC,CAAC,CAAC,CACzCqB,SAAS,CAAE,CACT,KAAApB,oBAAA,CAAIkB,SAAS,SAATA,SAAS,iBAATA,SAAS,CAAEE,SAAS,UAAApB,oBAAA,UAAAA,oBAAA,CAAI,EAAE,CAAC,CAC/B,KAAAC,sBAAA,EAAAC,sBAAA,CAAIZ,wBAAwB,CAAC0B,KAAK,UAAAd,sBAAA,iBAA9BA,sBAAA,CAAgCkB,SAAS,UAAAnB,sBAAA,UAAAA,sBAAA,CAAI,EAAE,CAAC,CAExD,CAAC,CACH\",\"ignoreList\":[]}"};var PaginationItem=exports.PaginationItem=function PaginationItem(props){var defaultDotSize=10;var animValue=props.animValue,dotStyle=props.dotStyle,activeDotStyle=props.activeDotStyle,index=props.index,count=props.count,size=props.size,horizontal=props.horizontal,children=props.children,customReanimatedStyle=props.customReanimatedStyle,onPress=props.onPress,accessibilityLabel=props.accessibilityLabel,accessibilityHint=props.accessibilityHint,accessibilityRole=props.accessibilityRole,accessibilityState=props.accessibilityState;var customReanimatedStyleRef=(0,_reactNativeReanimated.useSharedValue)({});var handleCustomAnimation=function handleCustomAnimation(progress){var _customReanimatedStyl;customReanimatedStyleRef.value=(_customReanimatedStyl=customReanimatedStyle==null?void 0:customReanimatedStyle(progress,index,count))!=null?_customReanimatedStyl:{};};var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),isSelected=_useState2[0],setIsSelected=_useState2[1];var resolvedAccessibilityLabel=accessibilityLabel!=null?accessibilityLabel:`Slide ${index+1} of ${count}`;var resolvedAccessibilityHint=accessibilityHint!=null?accessibilityHint:isSelected?"":`Go to ${resolvedAccessibilityLabel}`;var resolvedAccessibilityRole=accessibilityRole!=null?accessibilityRole:"button";var resolvedAccessibilityState=accessibilityState!=null?accessibilityState:{selected:isSelected};(0,_reactNativeReanimated.useDerivedValue)(function PaginationItemTsx1Factory(_ref){var _worklet_15771819902534_init_data=_ref._worklet_15771819902534_init_data,scheduleOnRN=_ref.scheduleOnRN,handleCustomAnimation=_ref.handleCustomAnimation,animValue=_ref.animValue;var _e=[new global.Error(),-4,-27];var PaginationItemTsx1=function PaginationItemTsx1(){scheduleOnRN(handleCustomAnimation,animValue==null?void 0:animValue.value);};PaginationItemTsx1.__closure={scheduleOnRN:scheduleOnRN,handleCustomAnimation:handleCustomAnimation,animValue:animValue};PaginationItemTsx1.__workletHash=15771819902534;PaginationItemTsx1.__pluginVersion="0.5.2";PaginationItemTsx1.__initData=_worklet_15771819902534_init_data;PaginationItemTsx1.__stackDetails=_e;return PaginationItemTsx1;}({_worklet_15771819902534_init_data:_worklet_15771819902534_init_data,scheduleOnRN:_reactNativeWorklets.scheduleOnRN,handleCustomAnimation:handleCustomAnimation,animValue:animValue}));(0,_reactNativeReanimated.useAnimatedReaction)(function PaginationItemTsx2Factory(_ref2){var _worklet_1491418758174_init_data=_ref2._worklet_1491418758174_init_data,animValue=_ref2.animValue;var _e=[new global.Error(),-2,-27];var PaginationItemTsx2=function PaginationItemTsx2(){return animValue.value;};PaginationItemTsx2.__closure={animValue:animValue};PaginationItemTsx2.__workletHash=1491418758174;PaginationItemTsx2.__pluginVersion="0.5.2";PaginationItemTsx2.__initData=_worklet_1491418758174_init_data;PaginationItemTsx2.__stackDetails=_e;return PaginationItemTsx2;}({_worklet_1491418758174_init_data:_worklet_1491418758174_init_data,animValue:animValue}),function PaginationItemTsx3Factory(_ref3){var _worklet_8491159381056_init_data=_ref3._worklet_8491159381056_init_data,scheduleOnRN=_ref3.scheduleOnRN,setIsSelected=_ref3.setIsSelected,index=_ref3.index;var _e=[new global.Error(),-4,-27];var PaginationItemTsx3=function PaginationItemTsx3(value){scheduleOnRN(setIsSelected,value===index);};PaginationItemTsx3.__closure={scheduleOnRN:scheduleOnRN,setIsSelected:setIsSelected,index:index};PaginationItemTsx3.__workletHash=8491159381056;PaginationItemTsx3.__pluginVersion="0.5.2";PaginationItemTsx3.__initData=_worklet_8491159381056_init_data;PaginationItemTsx3.__stackDetails=_e;return PaginationItemTsx3;}({_worklet_8491159381056_init_data:_worklet_8491159381056_init_data,scheduleOnRN:_reactNativeWorklets.scheduleOnRN,setIsSelected:setIsSelected,index:index}),[animValue,index]);var animStyle=(0,_reactNativeReanimated.useAnimatedStyle)(function PaginationItemTsx4Factory(_ref4){var _worklet_1894073649076_init_data=_ref4._worklet_1894073649076_init_data,size=_ref4.size,defaultDotSize=_ref4.defaultDotSize,dotStyle=_ref4.dotStyle,activeDotStyle=_ref4.activeDotStyle,animValue=_ref4.animValue,index=_ref4.index,count=_ref4.count,interpolate=_ref4.interpolate,Extrapolation=_ref4.Extrapolation,interpolateColor=_ref4.interpolateColor,customReanimatedStyleRef=_ref4.customReanimatedStyleRef;var _e=[new global.Error(),-12,-27];var PaginationItemTsx4=function PaginationItemTsx4(){var _ref7,_ref8,_customReanimatedStyl2,_restStyle$transform,_customReanimatedStyl3,_customReanimatedStyl4;var _ref5=dotStyle!=null?dotStyle:{},_ref5$width=_ref5.width,width=_ref5$width===void 0?size||defaultDotSize:_ref5$width,_ref5$height=_ref5.height,height=_ref5$height===void 0?size||defaultDotSize:_ref5$height,borderRadius=_ref5.borderRadius,_ref5$backgroundColor=_ref5.backgroundColor,backgroundColor=_ref5$backgroundColor===void 0?"#FFF":_ref5$backgroundColor,restDotStyle=(0,_objectWithoutProperties2.default)(_ref5,_excluded);var _ref6=activeDotStyle!=null?activeDotStyle:{},_ref6$width=_ref6.width,activeWidth=_ref6$width===void 0?width:_ref6$width,_ref6$height=_ref6.height,activeHeight=_ref6$height===void 0?height:_ref6$height,activeBorderRadius=_ref6.borderRadius,_ref6$backgroundColor=_ref6.backgroundColor,activeBackgroundColor=_ref6$backgroundColor===void 0?"#000":_ref6$backgroundColor,restActiveDotStyle=(0,_objectWithoutProperties2.default)(_ref6,_excluded2);var val=Math.abs((animValue==null?void 0:animValue.value)-index);if(index===0&&(animValue==null?void 0:animValue.value)>count-1)val=Math.abs((animValue==null?void 0:animValue.value)-count);var inputRange=[0,1,2];var restStyle=(_ref7=val===0?restActiveDotStyle:restDotStyle)!=null?_ref7:{};return Object.assign({width:interpolate(val,inputRange,[activeWidth,width,width],Extrapolation.CLAMP),height:interpolate(val,inputRange,[activeHeight,height,height],Extrapolation.CLAMP),borderRadius:interpolate(val,inputRange,[(_ref8=activeBorderRadius!=null?activeBorderRadius:borderRadius)!=null?_ref8:0,borderRadius!=null?borderRadius:0,borderRadius!=null?borderRadius:0],Extrapolation.CLAMP),backgroundColor:interpolateColor(val,inputRange,[activeBackgroundColor,backgroundColor,backgroundColor])},restStyle,(_customReanimatedStyl2=customReanimatedStyleRef.value)!=null?_customReanimatedStyl2:{},{transform:[].concat((0,_toConsumableArray2.default)((_restStyle$transform=restStyle==null?void 0:restStyle.transform)!=null?_restStyle$transform:[]),(0,_toConsumableArray2.default)((_customReanimatedStyl3=(_customReanimatedStyl4=customReanimatedStyleRef.value)==null?void 0:_customReanimatedStyl4.transform)!=null?_customReanimatedStyl3:[]))});};PaginationItemTsx4.__closure={size:size,defaultDotSize:defaultDotSize,dotStyle:dotStyle,activeDotStyle:activeDotStyle,animValue:animValue,index:index,count:count,interpolate:interpolate,Extrapolation:Extrapolation,interpolateColor:interpolateColor,customReanimatedStyleRef:customReanimatedStyleRef};PaginationItemTsx4.__workletHash=1894073649076;PaginationItemTsx4.__pluginVersion="0.5.2";PaginationItemTsx4.__initData=_worklet_1894073649076_init_data;PaginationItemTsx4.__stackDetails=_e;return PaginationItemTsx4;}({_worklet_1894073649076_init_data:_worklet_1894073649076_init_data,size:size,defaultDotSize:defaultDotSize,dotStyle:dotStyle,activeDotStyle:activeDotStyle,animValue:animValue,index:index,count:count,interpolate:_reactNativeReanimated.interpolate,Extrapolation:_reactNativeReanimated.Extrapolation,interpolateColor:_reactNativeReanimated.interpolateColor,customReanimatedStyleRef:customReanimatedStyleRef}),[animValue,index,count,horizontal,dotStyle,activeDotStyle,customReanimatedStyle]);return(0,_jsxRuntime.jsx)(_reactNative.Pressable,{onPress:onPress,accessibilityLabel:resolvedAccessibilityLabel,accessibilityRole:resolvedAccessibilityRole,accessibilityHint:resolvedAccessibilityHint,accessibilityState:resolvedAccessibilityState,children:(0,_jsxRuntime.jsx)(_reactNativeReanimated.default.View,{style:[{overflow:"hidden",transform:[{rotateZ:horizontal?"90deg":"0deg"}]},dotStyle,animStyle],children:children})});};
|
|
2
|
-
//# sourceMappingURL=PaginationItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_reactNativeWorklets","_jsxRuntime","_excluded","_excluded2","_this","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_worklet_15771819902534_init_data","code","location","sourceMap","_worklet_1491418758174_init_data","_worklet_8491159381056_init_data","_worklet_1894073649076_init_data","PaginationItem","exports","props","defaultDotSize","animValue","dotStyle","activeDotStyle","index","count","size","horizontal","children","customReanimatedStyle","onPress","accessibilityLabel","accessibilityHint","accessibilityRole","accessibilityState","customReanimatedStyleRef","useSharedValue","handleCustomAnimation","progress","_customReanimatedStyl","value","_useState","useState","_useState2","_slicedToArray2","isSelected","setIsSelected","resolvedAccessibilityLabel","resolvedAccessibilityHint","resolvedAccessibilityRole","resolvedAccessibilityState","selected","useDerivedValue","PaginationItemTsx1Factory","_ref","scheduleOnRN","_e","global","Error","PaginationItemTsx1","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","useAnimatedReaction","PaginationItemTsx2Factory","_ref2","PaginationItemTsx2","PaginationItemTsx3Factory","_ref3","PaginationItemTsx3","animStyle","useAnimatedStyle","PaginationItemTsx4Factory","_ref4","interpolate","Extrapolation","interpolateColor","PaginationItemTsx4","_ref7","_ref8","_customReanimatedStyl2","_restStyle$transform","_customReanimatedStyl3","_customReanimatedStyl4","_ref5","_ref5$width","width","_ref5$height","height","borderRadius","_ref5$backgroundColor","backgroundColor","restDotStyle","_objectWithoutProperties2","_ref6","_ref6$width","activeWidth","_ref6$height","activeHeight","activeBorderRadius","_ref6$backgroundColor","activeBackgroundColor","restActiveDotStyle","val","Math","abs","inputRange","restStyle","assign","CLAMP","transform","concat","_toConsumableArray2","jsx","Pressable","View","style","overflow","rotateZ"],"sourceRoot":"../../../../../src","sources":["components/Pagination/Custom/PaginationItem.tsx"],"mappings":"0dACA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WAEA,IAAAC,YAAA,CAAAD,OAAA,iBAGA,IAAAE,sBAAA,CAAAH,uBAAA,CAAAC,OAAA,6BASA,IAAAG,oBAAA,CAAAH,OAAA,0BAAqD,IAAAI,WAAA,CAAAJ,OAAA,0BAAAK,SAAA,qDAAAC,UAAA,yDAAAC,KAAA,MAAAC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efault");Object.defineProperty(exports,"__esModule",{value:true});exports.Custom=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _PaginationItem=require("./PaginationItem");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/index.tsx";var Custom=exports.Custom=function Custom(props){var _dotStyle$width,_activeDotStyle$width,_dotStyle$height,_activeDotStyle$heigh;var activeDotStyle=props.activeDotStyle,dotStyle=props.dotStyle,progress=props.progress,_props$horizontal=props.horizontal,horizontal=_props$horizontal===void 0?true:_props$horizontal,data=props.data,size=props.size,containerStyle=props.containerStyle,renderItem=props.renderItem,_onPress=props.onPress,customReanimatedStyle=props.customReanimatedStyle,carouselName=props.carouselName,paginationItemAccessibility=props.paginationItemAccessibility;if(typeof size==="string"||typeof(dotStyle==null?void 0:dotStyle.width)==="string"||typeof(dotStyle==null?void 0:dotStyle.height)==="string"||typeof(activeDotStyle==null?void 0:activeDotStyle.width)==="string"||typeof(activeDotStyle==null?void 0:activeDotStyle.height)==="string")throw new Error("size/width/height must be a number");var maxItemWidth=Math.max(size!=null?size:0,(_dotStyle$width=dotStyle==null?void 0:dotStyle.width)!=null?_dotStyle$width:0,(_activeDotStyle$width=activeDotStyle==null?void 0:activeDotStyle.width)!=null?_activeDotStyle$width:0);var maxItemHeight=Math.max(size!=null?size:0,(_dotStyle$height=dotStyle==null?void 0:dotStyle.height)!=null?_dotStyle$height:0,(_activeDotStyle$heigh=activeDotStyle==null?void 0:activeDotStyle.height)!=null?_activeDotStyle$heigh:0);return(0,_jsxRuntime.jsx)(_reactNative.View,{style:[{justifyContent:"space-between",alignSelf:"center",minWidth:maxItemWidth,minHeight:maxItemHeight},horizontal?{flexDirection:"row"}:{flexDirection:"column"},containerStyle],children:data.map(function(item,index){var _paginationItemAccess,_accessibilityOverrid;var defaultAccessibilityLabel=carouselName?`Slide ${index+1} of ${data.length} - ${carouselName}`:`Slide ${index+1} of ${data.length}`;var accessibilityOverrides=(_paginationItemAccess=paginationItemAccessibility==null?void 0:paginationItemAccessibility(index,data.length))!=null?_paginationItemAccess:{};return(0,_jsxRuntime.jsx)(_PaginationItem.PaginationItem,{index:index,size:size,count:data.length,dotStyle:dotStyle,animValue:progress,horizontal:!horizontal,activeDotStyle:activeDotStyle,customReanimatedStyle:customReanimatedStyle,onPress:function onPress(){return _onPress==null?void 0:_onPress(index);},accessibilityLabel:(_accessibilityOverrid=accessibilityOverrides.accessibilityLabel)!=null?_accessibilityOverrid:defaultAccessibilityLabel,accessibilityHint:accessibilityOverrides.accessibilityHint,accessibilityRole:accessibilityOverrides.accessibilityRole,accessibilityState:accessibilityOverrides.accessibilityState,children:renderItem==null?void 0:renderItem(item,index)},index);})});};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_PaginationItem","_jsxRuntime","_this","_jsxFileName","Custom","exports","props","_dotStyle$width","_activeDotStyle$width","_dotStyle$height","_activeDotStyle$heigh","activeDotStyle","dotStyle","progress","_props$horizontal","horizontal","data","size","containerStyle","renderItem","onPress","customReanimatedStyle","carouselName","paginationItemAccessibility","width","height","Error","maxItemWidth","Math","max","maxItemHeight","jsx","View","style","justifyContent","alignSelf","minWidth","minHeight","flexDirection","children","map","item","index","_paginationItemAccess","_accessibilityOverrid","defaultAccessibilityLabel","length","accessibilityOverrides","PaginationItem","count","animValue","accessibilityLabel","accessibilityHint","accessibilityRole","accessibilityState"],"sourceRoot":"../../../../../src","sources":["components/Pagination/Custom/index.tsx"],"mappings":"kKAAA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WAEA,IAAAC,YAAA,CAAAD,OAAA,iBAIA,IAAAE,eAAA,CAAAF,OAAA,qBAAkD,IAAAG,WAAA,CAAAH,OAAA,0BAAAI,KAAA,MAAAC,YAAA,kIA0B3C,GAAM,CAAAC,MAAM,CAA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,QAAQ,CAAEA,QAAS,CACnBsC,SAAS,CAAErC,QAAS,CACpBE,UAAU,CAAE,CAACA,UAAW,CACxBJ,cAAc,CAAEA,cAAe,CAC/BU,qBAAqB,CAAEA,qBAAsB,CAC7CD,OAAO,CAAE,QAAT,CAAAA,OAAOA,CAAA,QAAQ,CAAAA,QAAO,cAAPA,QAAO,CAAGsB,KAAK,CAAC,EAAC,CAChCS,kBAAkB,EAAAP,qBAAA,CAChBG,sBAAsB,CAACI,kBAAkB,QAAAP,qBAAA,CAAIC,yBAC9C,CACDO,iBAAiB,CAAEL,sBAAsB,CAACK,iBAAkB,CAC5DC,iBAAiB,CAAEN,sBAAsB,CAACM,iBAAkB,CAC5DC,kBAAkB,CAAEP,sBAAsB,CAACO,kBAAmB,CAAAf,QAAA,CAE7DpB,UAAU,cAAVA,UAAU,CAAGsB,IAAI,CAAEC,KAAK,CAAC,EAjBrBA,KAkBS,CAAC,CAErB,CAAC,CAAC,CACE,CAAC,CAEX,CAAC","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.omitZero=exports.computeOffsetIfDataChanged=void 0;var _worklet_1373955993740_init_data={code:"function omitZero_computeOffsetIfDataChangedTs1(a,b){if(a===0)return 0;return b;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-data-changed.ts",sourceMap:"{\"version\":3,\"names\":[\"omitZero_computeOffsetIfDataChangedTs1\",\"a\",\"b\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-data-changed.ts\"],\"mappings\":\"AAAO,SAAAA,sCAAwCA,CAAAC,CAAA,CAAAC,CAAA,EAE7C,GAAID,CAAC,GAAK,CAAC,CAAE,MAAO,EAAC,CAErB,MAAO,CAAAC,CAAC,CACV\",\"ignoreList\":[]}"};var omitZero=exports.omitZero=function omitZero_computeOffsetIfDataChangedTs1Factory(_ref){var _worklet_1373955993740_init_data=_ref._worklet_1373955993740_init_data;var _e=[new global.Error(),1,-27];var omitZero=function omitZero(a,b){if(a===0)return 0;return b;};omitZero.__closure={};omitZero.__workletHash=1373955993740;omitZero.__pluginVersion="0.5.2";omitZero.__initData=_worklet_1373955993740_init_data;omitZero.__stackDetails=_e;return omitZero;}({_worklet_1373955993740_init_data:_worklet_1373955993740_init_data});var _worklet_2452656735005_init_data={code:"function computeOffsetIfDataChanged_computeOffsetIfDataChangedTs2(params){const{omitZero}=this.__closure;const{direction:direction,handlerOffset:_handlerOffset,size:size,previousLength:previousLength,currentLength:currentLength}=params;let handlerOffset=_handlerOffset;let positionIndex;let round;const isPositive=direction<0;if(isPositive){positionIndex=Math.abs(handlerOffset)/size;round=Number.parseInt(String(omitZero(previousLength,positionIndex/previousLength)));}else{positionIndex=(Math.abs(handlerOffset)-size)/size;round=Number.parseInt(String(omitZero(previousLength,positionIndex/previousLength)))+1;}const prevOffset=omitZero(previousLength,positionIndex%previousLength);const prevIndex=isPositive?prevOffset:previousLength-prevOffset-1;const changedLength=round*(currentLength-previousLength);const changedOffset=changedLength*size;if(prevIndex>currentLength-1&¤tLength<previousLength){if(isPositive)handlerOffset=(currentLength-1)*size*direction;else handlerOffset=(currentLength-1)*size*-1;}else{handlerOffset+=changedOffset*direction;}return handlerOffset;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-data-changed.ts",sourceMap:"{\"version\":3,\"names\":[\"computeOffsetIfDataChanged_computeOffsetIfDataChangedTs2\",\"params\",\"omitZero\",\"__closure\",\"direction\",\"handlerOffset\",\"_handlerOffset\",\"size\",\"previousLength\",\"currentLength\",\"positionIndex\",\"round\",\"isPositive\",\"Math\",\"abs\",\"Number\",\"parseInt\",\"String\",\"prevOffset\",\"prevIndex\",\"changedLength\",\"changedOffset\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-data-changed.ts\"],\"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UAAU,CAAEP,aAAa,CAAG,CAACI,aAAa,CAAG,CAAC,EAAIF,IAAI,CAAGH,SAAS,CAAC,IAClE,CAAAC,aAAa,CAAG,CAACI,aAAa,CAAG,CAAC,EAAIF,IAAI,CAAG,CAAC,CAAC,CACtD,CAAC,IAAM,CACLF,aAAa,EAAIgB,aAAa,CAAGjB,SAAS,CAC5C,CAEA,MAAO,CAAAC,aAAa,CACtB\",\"ignoreList\":[]}"};var computeOffsetIfDataChanged=exports.computeOffsetIfDataChanged=function computeOffsetIfDataChanged_computeOffsetIfDataChangedTs2Factory(_ref2){var _worklet_2452656735005_init_data=_ref2._worklet_2452656735005_init_data,omitZero=_ref2.omitZero;var _e=[new global.Error(),-2,-27];var computeOffsetIfDataChanged=function computeOffsetIfDataChanged(params){var direction=params.direction,_handlerOffset=params.handlerOffset,size=params.size,previousLength=params.previousLength,currentLength=params.currentLength;var handlerOffset=_handlerOffset;var positionIndex;var round;var isPositive=direction<0;if(isPositive){positionIndex=Math.abs(handlerOffset)/size;round=Number.parseInt(String(omitZero(previousLength,positionIndex/previousLength)));}else{positionIndex=(Math.abs(handlerOffset)-size)/size;round=Number.parseInt(String(omitZero(previousLength,positionIndex/previousLength)))+1;}var prevOffset=omitZero(previousLength,positionIndex%previousLength);var prevIndex=isPositive?prevOffset:previousLength-prevOffset-1;var changedLength=round*(currentLength-previousLength);var changedOffset=changedLength*size;if(prevIndex>currentLength-1&¤tLength<previousLength){if(isPositive)handlerOffset=(currentLength-1)*size*direction;else handlerOffset=(currentLength-1)*size*-1;}else{handlerOffset+=changedOffset*direction;}return handlerOffset;};computeOffsetIfDataChanged.__closure={omitZero:omitZero};computeOffsetIfDataChanged.__workletHash=2452656735005;computeOffsetIfDataChanged.__pluginVersion="0.5.2";computeOffsetIfDataChanged.__initData=_worklet_2452656735005_init_data;computeOffsetIfDataChanged.__stackDetails=_e;return computeOffsetIfDataChanged;}({_worklet_2452656735005_init_data:_worklet_2452656735005_init_data,omitZero:omitZero});
|
|
2
|
-
//# sourceMappingURL=compute-offset-if-data-changed.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["omitZero_computeOffsetIfDataChangedTs1Factory","_ref","_worklet_1373955993740_init_data","_e","global","Error","omitZero","a","b","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","_worklet_2452656735005_init_data","code","location","sourceMap","computeOffsetIfDataChanged","exports","computeOffsetIfDataChanged_computeOffsetIfDataChangedTs2Factory","_ref2","params","direction","_handlerOffset","handlerOffset","size","previousLength","currentLength","positionIndex","round","isPositive","Math","abs","Number","parseInt","String","prevOffset","prevIndex","changedLength","changedOffset"],"sourceRoot":"../../../src","sources":["utils/compute-offset-if-data-changed.ts"],"mappings":"+xBAAO,SAAAA,8CAAAC,IAAA,MAAAC,gCAAA,CAAAD,IAAA,CAAAC,gCAAA,KAAAC,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAC,QAAA,UAAAA,SAAkBC,CAAS,CAAEC,CAAS,CAAE,CAE7C,GAAID,CAAC,GAAK,CAAC,CAAE,MAAO,EAAC,CAErB,MAAO,CAAAC,CAAC,CACV,CAAC,CAAAF,QAAA,CAAAG,SAAA,IAAAH,QAAA,CAAAI,aAAA,eAAAJ,QAAA,CAAAK,eAAA,SAAAL,QAAA,CAAAM,UAAA,CAAAV,gCAAA,CAAAI,QAAA,CAAAO,cAAA,CAAAV,EAAA,QAAAG,QAAA,EALM,EAAAJ,gCAAA,CAAAA,gCAAA,OAAAY,gCAAA,EAAAC,IAAA,4jCAAAC,QAAA,mIAAAC,SAAA,qyDAAAC,0BAAA,CAAAC,OAAA,CAAAD,0BAAA,CAOA,SAAAE,gEAAAC,KAAA,MAAAP,gCAAA,CAAAO,KAAA,CAAAP,gCAAA,CAkB4BR,QAAQ,CAAAe,KAAA,CAARf,QAAQ,KAAAH,EAAA,MAAAC,MAAA,CAAAC,KAAA,eAAAa,0BAAA,UAAAA,2BAlBAI,MAM1C,CAAE,CAED,GAAQ,CAAAC,S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AAG,CAACG,aAAa,CAAG,CAAC,EAAIF,IAAI,CAAGH,SAAS,CAAC,IAClE,CAAAE,aAAa,CAAG,CAACG,aAAa,CAAG,CAAC,EAAIF,IAAI,CAAG,CAAC,CAAC,CACtD,CAAC,IAAM,CACLD,aAAa,EAAIe,aAAa,CAAGjB,SAAS,CAC5C,CAEA,MAAO,CAAAE,aAAa,CACtB,CAAC,CAAAP,0BAAA,CAAAT,SAAA,EAlBkCH,QAAQ,CAARA,QAAQ,EAAAY,0BAAA,CAAAR,aAAA,eAAAQ,0BAAA,CAAAP,eAAA,SAAAO,0BAAA,CAAAN,UAAA,CAAAE,gCAAA,CAAAI,0BAAA,CAAAL,cAAA,CAAAV,EAAA,QAAAe,0BAAA,EAlBpC,EAAAJ,gCAAA,CAAAA,gCAAA,CAkB4BR,QAAQ,CAARA,QAAQ","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.handlerOffsetDirection=void 0;var _worklet_7904405734231_init_data={code:"function handlerOffsetDirection_handleroffsetDirectionTs1(handlerOffset,fixedDirection){if(fixedDirection===\"negative\")return-1;if(fixedDirection===\"positive\")return 1;if(handlerOffset.value===0)return-1;return Math.sign(handlerOffset.value);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/handleroffset-direction.ts",sourceMap:"{\"version\":3,\"names\":[\"handlerOffsetDirection_handleroffsetDirectionTs1\",\"handlerOffset\",\"fixedDirection\",\"value\",\"Math\",\"sign\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/handleroffset-direction.ts\"],\"mappings\":\"AAIO,SAAAA,gDAELA,CAAAC,aACQ,CAAAC,cAAA,EAGR,GAAIA,cAAc,GAAK,UAAU,CAAE,MAAO,CAAC,CAAC,CAE5C,GAAIA,cAAc,GAAK,UAAU,CAAE,MAAO,EAAC,CAE3C,GAAID,aAAa,CAACE,KAAK,GAAK,CAAC,CAAE,MAAO,CAAC,CAAC,CAExC,MAAO,CAAAC,IAAI,CAACC,IAAI,CAACJ,aAAa,CAACE,KAAK,CAAC,CACvC\",\"ignoreList\":[]}"};var handlerOffsetDirection=exports.handlerOffsetDirection=function handlerOffsetDirection_handleroffsetDirectionTs1Factory(_ref){var _worklet_7904405734231_init_data=_ref._worklet_7904405734231_init_data;var _e=[new global.Error(),1,-27];var handlerOffsetDirection=function handlerOffsetDirection(handlerOffset,fixedDirection){if(fixedDirection==="negative")return-1;if(fixedDirection==="positive")return 1;if(handlerOffset.value===0)return-1;return Math.sign(handlerOffset.value);};handlerOffsetDirection.__closure={};handlerOffsetDirection.__workletHash=7904405734231;handlerOffsetDirection.__pluginVersion="0.5.2";handlerOffsetDirection.__initData=_worklet_7904405734231_init_data;handlerOffsetDirection.__stackDetails=_e;return handlerOffsetDirection;}({_worklet_7904405734231_init_data:_worklet_7904405734231_init_data});
|
|
2
|
-
//# sourceMappingURL=handleroffset-direction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["handlerOffsetDirection_handleroffsetDirectionTs1Factory","_ref","_worklet_7904405734231_init_data","_e","global","Error","handlerOffsetDirection","handlerOffset","fixedDirection","value","Math","sign","__closure","__workletHash","__pluginVersion","__initData","__stackDetails"],"sourceRoot":"../../../src","sources":["utils/handleroffset-direction.ts"],"mappings":"2oCAIO,SAAAA,wDAAAC,IAAA,MAAAC,gCAAA,CAAAD,IAAA,CAAAC,gCAAA,KAAAC,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAC,sBAAA,UAAAA,uBACLC,aAAkC,CAClCC,cAAiD,CACzC,CAGR,GAAIA,cAAc,GAAK,UAAU,CAAE,MAAO,CAAC,CAAC,CAE5C,GAAIA,cAAc,GAAK,UAAU,CAAE,MAAO,EAAC,CAE3C,GAAID,aAAa,CAACE,KAAK,GAAK,CAAC,CAAE,MAAO,CAAC,CAAC,CAExC,MAAO,CAAAC,IAAI,CAACC,IAAI,CAACJ,aAAa,CAACE,KAAK,CAAC,CACvC,CAAC,CAAAH,sBAAA,CAAAM,SAAA,IAAAN,sBAAA,CAAAO,aAAA,eAAAP,sBAAA,CAAAQ,eAAA,SAAAR,sBAAA,CAAAS,UAAA,CAAAb,gCAAA,CAAAI,sBAAA,CAAAU,cAAA,CAAAb,EAAA,QAAAG,sBAAA,EAbM,EAAAJ,gCAAA,CAAAA,gCAAA","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.PaginationItem=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeReanimated=_interopRequireWildcard(require("react-native-reanimated"));var _reactNativeWorklets=require("react-native-worklets");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx";function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap(),n=new WeakMap();return(_interopRequireWildcard=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f);}for(var _t in e)"default"!==_t&&{}.hasOwnProperty.call(e,_t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,_t))&&(i.get||i.set)?o(f,_t,i):f[_t]=e[_t]);return f;})(e,t);}var _worklet_14735271691165_init_data={code:"function PaginationItemTsx1(){const{animValue}=this.__closure;return animValue.value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx1\",\"animValue\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx\"],\"mappings\":\"AAoFI,SAAAA,mBAAA,QAAAC,SAAA,OAAAC,SAAA,OAAM,CAAAD,SAAU,CAAAE,KAAA\",\"ignoreList\":[]}"};var _worklet_15827712769857_init_data={code:"function PaginationItemTsx2(value){const{scheduleOnRN,setIsSelected,index}=this.__closure;scheduleOnRN(setIsSelected,value===index);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx2\",\"value\",\"scheduleOnRN\",\"setIsSelected\",\"index\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx\"],\"mappings\":\"AAqFK,SAAAA,kBAAUA,CAAAC,KAAA,QAAAC,YAAA,CAAAC,aAAA,CAAAC,KAAA,OAAAC,SAAA,CACTH,YAAY,CAACC,aAAa,CAAEF,KAAK,GAAKG,KAAK,CAAC,CAC9C\",\"ignoreList\":[]}"};var _worklet_3460551008817_init_data={code:"function PaginationItemTsx3(){const{horizontal,height,width,index,animValue,count,interpolate,Extrapolation}=this.__closure;var _animValue,_animValue2;const size=horizontal?height:width;let inputRange=[index-1,index,index+1];let outputRange=[-size,0,size];if(index===0&&((_animValue=animValue)===null||_animValue===void 0?void 0:_animValue.value)>count-1){inputRange=[count-1,count,count+1];outputRange=[-size,0,size];}return{transform:[{translateX:interpolate((_animValue2=animValue)===null||_animValue2===void 0?void 0:_animValue2.value,inputRange,outputRange,Extrapolation.CLAMP)}]};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx3\",\"horizontal\",\"height\",\"width\",\"index\",\"animValue\",\"count\",\"interpolate\",\"Extrapolation\",\"__closure\",\"_animValue\",\"_animValue2\",\"size\",\"inputRange\",\"outputRange\",\"value\",\"transform\",\"translateX\",\"CLAMP\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/PaginationItem.tsx\"],\"mappings\":\"AA2FqC,SAAAA,kBAAMA,CAAA,QAAAC,UAAA,CAAAC,MAAA,CAAAC,KAAA,CAAAC,KAAA,CAAAC,SAAA,CAAAC,KAAA,CAAAC,WAAA,CAAAC,aAAA,OAAAC,SAAA,KAAAC,UAAA,CAAAC,WAAA,CACvC,KAAM,CAAAC,IAAI,CAAGX,UAAU,CAAGC,MAAM,CAAGC,KAAK,CACxC,GAAI,CAAAU,UAAU,CAAG,CAACT,KAAK,CAAG,CAAC,CAAEA,KAAK,CAAEA,KAAK,CAAG,CAAC,CAAC,CAC9C,GAAI,CAAAU,WAAW,CAAG,CAAC,CAACF,IAAI,CAAE,CAAC,CAAEA,IAAI,CAAC,CAElC,GAAIR,KAAK,GAAK,CAAC,EAAI,EAAAM,UAAA,CAAAL,SAAS,UAAAK,UAAA,iBAATA,UAAA,CAAWK,KAAK,EAAGT,KAAK,CAAG,CAAC,CAAE,CAC/CO,UAAU,CAAG,CAACP,KAAK,CAAG,CAAC,CAAEA,KAAK,CAAEA,KAAK,CAAG,CAAC,CAAC,CAC1CQ,WAAW,CAAG,CAAC,CAACF,IAAI,CAAE,CAAC,CAAEA,IAAI,CAAC,CAChC,CAEA,MAAO,CACLI,SAAS,CAAE,CACT,CACEC,UAAU,CAAEV,WAAW,EAAAI,WAAA,CAACN,SAAS,UAAAM,WAAA,iBAATA,WAAA,CAAWI,KAAK,CAAEF,UAAU,CAAEC,WAAW,CAAEN,aAAa,CAACU,KAAK,CACxF,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"};var PaginationItem=exports.PaginationItem=function PaginationItem(props){var animValue=props.animValue,dotStyle=props.dotStyle,activeDotStyle=props.activeDotStyle,index=props.index,count=props.count,size=props.size,horizontal=props.horizontal,children=props.children,onPress=props.onPress,accessibilityLabel=props.accessibilityLabel,accessibilityHint=props.accessibilityHint,accessibilityRole=props.accessibilityRole,accessibilityState=props.accessibilityState;var defaultDotSize=10;var sizes={width:size||(dotStyle==null?void 0:dotStyle.width)||defaultDotSize,height:size||(dotStyle==null?void 0:dotStyle.height)||defaultDotSize};var width=sizes.width;var height=sizes.height;var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),isSelected=_useState2[0],setIsSelected=_useState2[1];var resolvedAccessibilityLabel=accessibilityLabel!=null?accessibilityLabel:`Slide ${index+1} of ${count}`;var resolvedAccessibilityHint=accessibilityHint!=null?accessibilityHint:isSelected?"":`Go to ${resolvedAccessibilityLabel}`;var resolvedAccessibilityRole=accessibilityRole!=null?accessibilityRole:"button";var resolvedAccessibilityState=accessibilityState!=null?accessibilityState:{selected:isSelected};(0,_reactNativeReanimated.useAnimatedReaction)(function PaginationItemTsx1Factory(_ref){var _worklet_14735271691165_init_data=_ref._worklet_14735271691165_init_data,animValue=_ref.animValue;var _e=[new global.Error(),-2,-27];var PaginationItemTsx1=function PaginationItemTsx1(){return animValue.value;};PaginationItemTsx1.__closure={animValue:animValue};PaginationItemTsx1.__workletHash=14735271691165;PaginationItemTsx1.__pluginVersion="0.5.2";PaginationItemTsx1.__initData=_worklet_14735271691165_init_data;PaginationItemTsx1.__stackDetails=_e;return PaginationItemTsx1;}({_worklet_14735271691165_init_data:_worklet_14735271691165_init_data,animValue:animValue}),function PaginationItemTsx2Factory(_ref2){var _worklet_15827712769857_init_data=_ref2._worklet_15827712769857_init_data,scheduleOnRN=_ref2.scheduleOnRN,setIsSelected=_ref2.setIsSelected,index=_ref2.index;var _e=[new global.Error(),-4,-27];var PaginationItemTsx2=function PaginationItemTsx2(value){scheduleOnRN(setIsSelected,value===index);};PaginationItemTsx2.__closure={scheduleOnRN:scheduleOnRN,setIsSelected:setIsSelected,index:index};PaginationItemTsx2.__workletHash=15827712769857;PaginationItemTsx2.__pluginVersion="0.5.2";PaginationItemTsx2.__initData=_worklet_15827712769857_init_data;PaginationItemTsx2.__stackDetails=_e;return PaginationItemTsx2;}({_worklet_15827712769857_init_data:_worklet_15827712769857_init_data,scheduleOnRN:_reactNativeWorklets.scheduleOnRN,setIsSelected:setIsSelected,index:index}),[animValue,index]);var animStyle=(0,_reactNativeReanimated.useAnimatedStyle)(function PaginationItemTsx3Factory(_ref3){var _worklet_3460551008817_init_data=_ref3._worklet_3460551008817_init_data,horizontal=_ref3.horizontal,height=_ref3.height,width=_ref3.width,index=_ref3.index,animValue=_ref3.animValue,count=_ref3.count,interpolate=_ref3.interpolate,Extrapolation=_ref3.Extrapolation;var _e=[new global.Error(),-9,-27];var PaginationItemTsx3=function PaginationItemTsx3(){var size=horizontal?height:width;var inputRange=[index-1,index,index+1];var outputRange=[-size,0,size];if(index===0&&(animValue==null?void 0:animValue.value)>count-1){inputRange=[count-1,count,count+1];outputRange=[-size,0,size];}return{transform:[{translateX:interpolate(animValue==null?void 0:animValue.value,inputRange,outputRange,Extrapolation.CLAMP)}]};};PaginationItemTsx3.__closure={horizontal:horizontal,height:height,width:width,index:index,animValue:animValue,count:count,interpolate:interpolate,Extrapolation:Extrapolation};PaginationItemTsx3.__workletHash=3460551008817;PaginationItemTsx3.__pluginVersion="0.5.2";PaginationItemTsx3.__initData=_worklet_3460551008817_init_data;PaginationItemTsx3.__stackDetails=_e;return PaginationItemTsx3;}({_worklet_3460551008817_init_data:_worklet_3460551008817_init_data,horizontal:horizontal,height:height,width:width,index:index,animValue:animValue,count:count,interpolate:_reactNativeReanimated.interpolate,Extrapolation:_reactNativeReanimated.Extrapolation}),[animValue,index,count,horizontal]);return(0,_jsxRuntime.jsx)(_reactNative.Pressable,{onPress:onPress,accessibilityLabel:resolvedAccessibilityLabel,accessibilityRole:resolvedAccessibilityRole,accessibilityHint:resolvedAccessibilityHint,accessibilityState:resolvedAccessibilityState,children:(0,_jsxRuntime.jsx)(_reactNative.View,{style:[{width:width,height:height,overflow:"hidden",transform:[{rotateZ:horizontal?"90deg":"0deg"}]},dotStyle],children:(0,_jsxRuntime.jsx)(_reactNativeReanimated.default.View,{style:[{backgroundColor:"black",flex:1},animStyle,activeDotStyle],children:children})})});};
|
|
2
|
-
//# sourceMappingURL=PaginationItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_reactNativeWorklets","_jsxRuntime","_this","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_worklet_14735271691165_init_data","code","location","sourceMap","_worklet_15827712769857_init_data","_worklet_3460551008817_init_data","PaginationItem","exports","props","animValue","dotStyle","activeDotStyle","index","count","size","horizontal","children","onPress","accessibilityLabel","accessibilityHint","accessibilityRole","accessibilityState","defaultDotSize","sizes","width","height","_useState","useState","_useState2","_slicedToArray2","isSelected","setIsSelected","resolvedAccessibilityLabel","resolvedAccessibilityHint","resolvedAccessibilityRole","resolvedAccessibilityState","selected","useAnimatedReaction","PaginationItemTsx1Factory","_ref","_e","global","Error","PaginationItemTsx1","value","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","PaginationItemTsx2Factory","_ref2","scheduleOnRN","PaginationItemTsx2","animStyle","useAnimatedStyle","PaginationItemTsx3Factory","_ref3","interpolate","Extrapolation","PaginationItemTsx3","inputRange","outputRange","transform","translateX","CLAMP","jsx","Pressable","View","style","overflow","rotateZ","backgroundColor","flex"],"sourceRoot":"../../../../../src","sources":["components/Pagination/Basic/PaginationItem.tsx"],"mappings":"sQACA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WAEA,IAAAC,YAAA,CAAAD,OAAA,iBAEA,IAAAE,sBAAA,CAAAH,uBAAA,CAAAC,OAAA,6BAMA,IAAAG,oBAAA,CAAAH,OAAA,0BAAqD,IAAAI,WAAA,CAAAJ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,CAAEc,yBAA0B,CAC7CZ,kBAAkB,CAAEc,0BAA2B,CAAAnB,QAAA,CAE/C,GAAAvC,WAAA,CAAAyF,GAAA,EAAC5F,YAAA,CAAA8F,IAAI,EACHC,KAAK,CAAE,CACL,CACE7C,KAAK,CAALA,KAAK,CACLC,MAAM,CAANA,MAAM,CACN6C,QAAQ,CAAE,QAAQ,CAClBP,SAAS,CAAE,CACT,CACEQ,OAAO,CAAExD,UAAU,CAAG,OAAO,CAAG,MAClC,CAAC,CAEL,CAAC,CACDL,QAAQ,CACR,CAAAM,QAAA,CAEF,GAAAvC,WAAA,CAAAyF,GAAA,EAAC3F,sBAAA,CAAAe,OAAQ,CAAC8E,IAAI,EACZC,KAAK,CAAE,CACL,CACEG,eAAe,CAAE,OAAO,CACxBC,IAAI,CAAE,CACR,CAAC,CACDnB,SAAS,CACT3C,cAAc,CACd,CAAAK,QAAA,CAEDA,QAAQ,CACI,CAAC,CACZ,CAAC,CACE,CAAC,CAEhB,CAAC","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Basic=void 0;var _reactNative=require("react-native");var _react=_interopRequireDefault(require("react"));var _PaginationItem=require("./PaginationItem");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Basic/index.tsx";var Basic=exports.Basic=function Basic(props){var activeDotStyle=props.activeDotStyle,dotStyle=props.dotStyle,progress=props.progress,_props$horizontal=props.horizontal,horizontal=_props$horizontal===void 0?true:_props$horizontal,data=props.data,size=props.size,containerStyle=props.containerStyle,renderItem=props.renderItem,_onPress=props.onPress,carouselName=props.carouselName,paginationItemAccessibility=props.paginationItemAccessibility;if(typeof size==="string"||typeof(dotStyle==null?void 0:dotStyle.width)==="string"||typeof(dotStyle==null?void 0:dotStyle.height)==="string")throw new Error("size/width/height must be a number");return(0,_jsxRuntime.jsx)(_reactNative.View,{style:[{justifyContent:"space-between",alignSelf:"center"},horizontal?{flexDirection:"row"}:{flexDirection:"column"},containerStyle],children:data.map(function(item,index){var _paginationItemAccess,_accessibilityOverrid;var defaultAccessibilityLabel=carouselName?`Slide ${index+1} of ${data.length} - ${carouselName}`:`Slide ${index+1} of ${data.length}`;var accessibilityOverrides=(_paginationItemAccess=paginationItemAccessibility==null?void 0:paginationItemAccessibility(index,data.length))!=null?_paginationItemAccess:{};return(0,_jsxRuntime.jsx)(_PaginationItem.PaginationItem,{index:index,size:size,count:data.length,dotStyle:dotStyle,animValue:progress,horizontal:!horizontal,activeDotStyle:activeDotStyle,onPress:function onPress(){return _onPress==null?void 0:_onPress(index);},accessibilityLabel:(_accessibilityOverrid=accessibilityOverrides.accessibilityLabel)!=null?_accessibilityOverrid:defaultAccessibilityLabel,accessibilityHint:accessibilityOverrides.accessibilityHint,accessibilityRole:accessibilityOverrides.accessibilityRole,accessibilityState:accessibilityOverrides.accessibilityState,children:renderItem==null?void 0:renderItem(item,index)},index);})});};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_react","_interopRequireDefault","_PaginationItem","_jsxRuntime","_this","_jsxFileName","Basic","exports","props","activeDotStyle","dotStyle","progress","_props$horizontal","horizontal","data","size","containerStyle","renderItem","onPress","carouselName","paginationItemAccessibility","width","height","Error","jsx","View","style","justifyContent","alignSelf","flexDirection","children","map","item","index","_paginationItemAccess","_accessibilityOverrid","defaultAccessibilityLabel","length","accessibilityOverrides","PaginationItem","count","animValue","accessibilityLabel","accessibilityHint","accessibilityRole","accessibilityState"],"sourceRoot":"../../../../../src","sources":["components/Pagination/Basic/index.tsx"],"mappings":"iKAAA,IAAAA,YAAA,CAAAC,OAAA,iBAGA,IAAAC,MAAA,CAAAC,sBAAA,CAAAF,OAAA,WAEA,IAAAG,eAAA,CAAAH,OAAA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qBAAA,CACzB,GAAM,CAAAC,yBAAyB,CAAGjB,YAAY,CAC1C,SAASc,KAAK,CAAG,CAAC,OAAOnB,IAAI,CAACuB,MAAM,MAAMlB,YAAY,EAAE,CACxD,SAASc,KAAK,CAAG,CAAC,OAAOnB,IAAI,CAACuB,MAAM,EAAE,CAC1C,GAAM,CAAAC,sBAAsB,EAAAJ,qBAAA,CAAGd,2BAA2B,cAA3BA,2BAA2B,CAAGa,KAAK,CAAEnB,IAAI,CAACuB,MAAM,CAAC,QAAAH,qBAAA,CAAI,CAAC,CAAC,CAEtF,MACE,GAAA/B,WAAA,CAAAqB,GAAA,EAACtB,eAAA,CAAAqC,cAAc,EAEbN,KAAK,CAAEA,KAAM,CACblB,IAAI,CAAEA,IAAK,CACXyB,KAAK,CAAE1B,IAAI,CAACuB,MAAO,CACnB3B,QAAQ,CAAEA,QAAS,CACnB+B,SAAS,CAAE9B,QAAS,CACpBE,UAAU,CAAE,CAACA,UAAW,CACxBJ,cAAc,CAAEA,cAAe,CAC/BS,OAAO,CAAE,QAAT,CAAAA,OAAOA,CAAA,QAAQ,CAAAA,QAAO,cAAPA,QAAO,CAAGe,KAAK,CAAC,EAAC,CAChCS,kBAAkB,EAAAP,qBAAA,CAChBG,sBAAsB,CAACI,kBAAkB,QAAAP,qBAAA,CAAIC,yBAC9C,CACDO,iBAAiB,CAAEL,sBAAsB,CAACK,iBAAkB,CAC5DC,iBAAiB,CAAEN,sBAAsB,CAACM,iBAAkB,CAC5DC,kBAAkB,CAAEP,sBAAsB,CAACO,kBAAmB,CAAAf,QAAA,CAE7Db,UAAU,cAAVA,UAAU,CAAGe,IAAI,CAAEC,KAAK,CAAC,EAhBrBA,KAiBS,CAAC,CAErB,CAAC,CAAC,CACE,CAAC,CAEX,CAAC","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.PaginationItem=void 0;var _toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeReanimated=_interopRequireWildcard(require("react-native-reanimated"));var _reactNativeWorklets=require("react-native-worklets");var _jsxRuntime=require("react/jsx-runtime");var _excluded=["width","height","borderRadius","backgroundColor"],_excluded2=["width","height","borderRadius","backgroundColor"];var _this=this,_jsxFileName="/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx";function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap(),n=new WeakMap();return(_interopRequireWildcard=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f);}for(var _t in e)"default"!==_t&&{}.hasOwnProperty.call(e,_t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,_t))&&(i.get||i.set)?o(f,_t,i):f[_t]=e[_t]);return f;})(e,t);}var _worklet_15771819902534_init_data={code:"function PaginationItemTsx1(){const{scheduleOnRN,handleCustomAnimation,animValue}=this.__closure;var _animValue;scheduleOnRN(handleCustomAnimation,(_animValue=animValue)===null||_animValue===void 0?void 0:_animValue.value);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx1\",\"scheduleOnRN\",\"handleCustomAnimation\",\"animValue\",\"__closure\",\"_animValue\",\"value\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx\"],\"mappings\":\"AAmFkB,SAAAA,kBAAMA,CAAA,QAAAC,YAAA,CAAAC,qBAAA,CAAAC,SAAA,OAAAC,SAAA,KAAAC,UAAA,CACpBJ,YAAY,CAACC,qBAAqB,EAAAG,UAAA,CAAEF,SAAS,UAAAE,UAAA,iBAATA,UAAA,CAAWC,KAAK,CAAC,CACvD\",\"ignoreList\":[]}"};var _worklet_1491418758174_init_data={code:"function PaginationItemTsx2(){const{animValue}=this.__closure;return animValue.value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx2\",\"animValue\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx\"],\"mappings\":\"AAwFI,SAAAA,mBAAA,QAAAC,SAAA,OAAAC,SAAA,OAAM,CAAAD,SAAU,CAAAE,KAAA\",\"ignoreList\":[]}"};var _worklet_8491159381056_init_data={code:"function PaginationItemTsx3(value){const{scheduleOnRN,setIsSelected,index}=this.__closure;scheduleOnRN(setIsSelected,value===index);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx3\",\"value\",\"scheduleOnRN\",\"setIsSelected\",\"index\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx\"],\"mappings\":\"AAyFK,SAAAA,kBAAUA,CAAAC,KAAA,QAAAC,YAAA,CAAAC,aAAA,CAAAC,KAAA,OAAAC,SAAA,CACTH,YAAY,CAACC,aAAa,CAAEF,KAAK,GAAKG,KAAK,CAAC,CAC9C\",\"ignoreList\":[]}"};var _worklet_1894073649076_init_data={code:"function PaginationItemTsx4(){const{size,defaultDotSize,dotStyle,activeDotStyle,animValue,index,count,interpolate,Extrapolation,interpolateColor,customReanimatedStyleRef}=this.__closure;var _dotStyle,_activeDotStyle,_animValue,_animValue2,_animValue3,_ref,_ref2,_customReanimatedStyl,_restStyle$transform,_customReanimatedStyl2,_customReanimatedStyl3;const{width=size||defaultDotSize,height=size||defaultDotSize,borderRadius:borderRadius,backgroundColor=\"#FFF\",...restDotStyle}=(_dotStyle=dotStyle)!==null&&_dotStyle!==void 0?_dotStyle:{};const{width:activeWidth=width,height:activeHeight=height,borderRadius:activeBorderRadius,backgroundColor:activeBackgroundColor=\"#000\",...restActiveDotStyle}=(_activeDotStyle=activeDotStyle)!==null&&_activeDotStyle!==void 0?_activeDotStyle:{};let val=Math.abs(((_animValue=animValue)===null||_animValue===void 0?void 0:_animValue.value)-index);if(index===0&&((_animValue2=animValue)===null||_animValue2===void 0?void 0:_animValue2.value)>count-1)val=Math.abs(((_animValue3=animValue)===null||_animValue3===void 0?void 0:_animValue3.value)-count);const inputRange=[0,1,2];const restStyle=(_ref=val===0?restActiveDotStyle:restDotStyle)!==null&&_ref!==void 0?_ref:{};return{width:interpolate(val,inputRange,[activeWidth,width,width],Extrapolation.CLAMP),height:interpolate(val,inputRange,[activeHeight,height,height],Extrapolation.CLAMP),borderRadius:interpolate(val,inputRange,[(_ref2=activeBorderRadius!==null&&activeBorderRadius!==void 0?activeBorderRadius:borderRadius)!==null&&_ref2!==void 0?_ref2:0,borderRadius!==null&&borderRadius!==void 0?borderRadius:0,borderRadius!==null&&borderRadius!==void 0?borderRadius:0],Extrapolation.CLAMP),backgroundColor:interpolateColor(val,inputRange,[activeBackgroundColor,backgroundColor,backgroundColor]),...restStyle,...((_customReanimatedStyl=customReanimatedStyleRef.value)!==null&&_customReanimatedStyl!==void 0?_customReanimatedStyl:{}),transform:[...((_restStyle$transform=restStyle===null||restStyle===void 0?void 0:restStyle.transform)!==null&&_restStyle$transform!==void 0?_restStyle$transform:[]),...((_customReanimatedStyl2=(_customReanimatedStyl3=customReanimatedStyleRef.value)===null||_customReanimatedStyl3===void 0?void 0:_customReanimatedStyl3.transform)!==null&&_customReanimatedStyl2!==void 0?_customReanimatedStyl2:[])]};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx",sourceMap:"{\"version\":3,\"names\":[\"PaginationItemTsx4\",\"size\",\"defaultDotSize\",\"dotStyle\",\"activeDotStyle\",\"animValue\",\"index\",\"count\",\"interpolate\",\"Extrapolation\",\"interpolateColor\",\"customReanimatedStyleRef\",\"__closure\",\"_dotStyle\",\"_activeDotStyle\",\"_animValue\",\"_animValue2\",\"_animValue3\",\"_ref\",\"_ref2\",\"_customReanimatedStyl\",\"_restStyle$transform\",\"_customReanimatedStyl2\",\"_customReanimatedStyl3\",\"width\",\"height\",\"borderRadius\",\"backgroundColor\",\"restDotStyle\",\"activeWidth\",\"activeHeight\",\"activeBorderRadius\",\"activeBackgroundColor\",\"restActiveDotStyle\",\"val\",\"Math\",\"abs\",\"value\",\"inputRange\",\"restStyle\",\"CLAMP\",\"transform\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/PaginationItem.tsx\"],\"mappings\":\"AA+FqC,SAAAA,kBAA4BA,CAAA,QAAAC,IAAA,CAAAC,cAAA,CAAAC,QAAA,CAAAC,cAAA,CAAAC,SAAA,CAAAC,KAAA,CAAAC,KAAA,CAAAC,WAAA,CAAAC,aAAA,CAAAC,gBAAA,CAAAC,wBAAA,OAAAC,SAAA,KAAAC,SAAA,CAAAC,eAAA,CAAAC,UAAA,CAAAC,WAAA,CAAAC,WAAA,CAAAC,IAAA,CAAAC,KAAA,CAAAC,qBAAA,CAAAC,oBAAA,CAAAC,sBAAA,CAAAC,sBAAA,CAC7D,KAAM,CACJC,KAAK,CAAGvB,IAAI,EAAIC,cAAc,CAC9BuB,MAAM,CAAGxB,IAAI,EAAIC,cAAc,CAC/BwB,YAAY,CAAZA,YAAY,CACZC,eAAe,CAAG,MAAM,CACxB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M,CAAC,CAAEhB,aAAa,CAAC+B,KAAK,CAAC,CACzFd,YAAY,CAAElB,WAAW,CACvB0B,GAAG,CACHI,UAAU,CACV,EAAAnB,KAAA,CAACY,kBAAkB,SAAlBA,kBAAkB,UAAlBA,kBAAkB,CAAIL,YAAY,UAAAP,KAAA,UAAAA,KAAA,CAAI,CAAC,CAAEO,YAAY,SAAZA,YAAY,UAAZA,YAAY,CAAI,CAAC,CAAEA,YAAY,SAAZA,YAAY,UAAZA,YAAY,CAAI,CAAC,CAAC,CAC/EjB,aAAa,CAAC+B,KAChB,CAAC,CACDb,eAAe,CAAEjB,gBAAgB,CAACwB,GAAG,CAAEI,UAAU,CAAE,CACjDN,qBAAqB,CACrBL,eAAe,CACfA,eAAe,CAChB,CAAC,CACF,GAAGY,SAAS,CACZ,KAAAnB,qBAAA,CAAIT,wBAAwB,CAAC0B,KAAK,UAAAjB,qBAAA,UAAAA,qBAAA,CAAI,CAAC,CAAC,CAAC,CACzCqB,SAAS,CAAE,CACT,KAAApB,oBAAA,CAAIkB,SAAS,SAATA,SAAS,iBAATA,SAAS,CAAEE,SAAS,UAAApB,oBAAA,UAAAA,oBAAA,CAAI,EAAE,CAAC,CAC/B,KAAAC,sBAAA,EAAAC,sBAAA,CAAIZ,wBAAwB,CAAC0B,KAAK,UAAAd,sBAAA,iBAA9BA,sBAAA,CAAgCkB,SAAS,UAAAnB,sBAAA,UAAAA,sBAAA,CAAI,EAAE,CAAC,CAExD,CAAC,CACH\",\"ignoreList\":[]}"};var PaginationItem=exports.PaginationItem=function PaginationItem(props){var defaultDotSize=10;var animValue=props.animValue,dotStyle=props.dotStyle,activeDotStyle=props.activeDotStyle,index=props.index,count=props.count,size=props.size,horizontal=props.horizontal,children=props.children,customReanimatedStyle=props.customReanimatedStyle,onPress=props.onPress,accessibilityLabel=props.accessibilityLabel,accessibilityHint=props.accessibilityHint,accessibilityRole=props.accessibilityRole,accessibilityState=props.accessibilityState;var customReanimatedStyleRef=(0,_reactNativeReanimated.useSharedValue)({});var handleCustomAnimation=function handleCustomAnimation(progress){var _customReanimatedStyl;customReanimatedStyleRef.value=(_customReanimatedStyl=customReanimatedStyle==null?void 0:customReanimatedStyle(progress,index,count))!=null?_customReanimatedStyl:{};};var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),isSelected=_useState2[0],setIsSelected=_useState2[1];var resolvedAccessibilityLabel=accessibilityLabel!=null?accessibilityLabel:`Slide ${index+1} of ${count}`;var resolvedAccessibilityHint=accessibilityHint!=null?accessibilityHint:isSelected?"":`Go to ${resolvedAccessibilityLabel}`;var resolvedAccessibilityRole=accessibilityRole!=null?accessibilityRole:"button";var resolvedAccessibilityState=accessibilityState!=null?accessibilityState:{selected:isSelected};(0,_reactNativeReanimated.useDerivedValue)(function PaginationItemTsx1Factory(_ref){var _worklet_15771819902534_init_data=_ref._worklet_15771819902534_init_data,scheduleOnRN=_ref.scheduleOnRN,handleCustomAnimation=_ref.handleCustomAnimation,animValue=_ref.animValue;var _e=[new global.Error(),-4,-27];var PaginationItemTsx1=function PaginationItemTsx1(){scheduleOnRN(handleCustomAnimation,animValue==null?void 0:animValue.value);};PaginationItemTsx1.__closure={scheduleOnRN:scheduleOnRN,handleCustomAnimation:handleCustomAnimation,animValue:animValue};PaginationItemTsx1.__workletHash=15771819902534;PaginationItemTsx1.__pluginVersion="0.5.2";PaginationItemTsx1.__initData=_worklet_15771819902534_init_data;PaginationItemTsx1.__stackDetails=_e;return PaginationItemTsx1;}({_worklet_15771819902534_init_data:_worklet_15771819902534_init_data,scheduleOnRN:_reactNativeWorklets.scheduleOnRN,handleCustomAnimation:handleCustomAnimation,animValue:animValue}));(0,_reactNativeReanimated.useAnimatedReaction)(function PaginationItemTsx2Factory(_ref2){var _worklet_1491418758174_init_data=_ref2._worklet_1491418758174_init_data,animValue=_ref2.animValue;var _e=[new global.Error(),-2,-27];var PaginationItemTsx2=function PaginationItemTsx2(){return animValue.value;};PaginationItemTsx2.__closure={animValue:animValue};PaginationItemTsx2.__workletHash=1491418758174;PaginationItemTsx2.__pluginVersion="0.5.2";PaginationItemTsx2.__initData=_worklet_1491418758174_init_data;PaginationItemTsx2.__stackDetails=_e;return PaginationItemTsx2;}({_worklet_1491418758174_init_data:_worklet_1491418758174_init_data,animValue:animValue}),function PaginationItemTsx3Factory(_ref3){var _worklet_8491159381056_init_data=_ref3._worklet_8491159381056_init_data,scheduleOnRN=_ref3.scheduleOnRN,setIsSelected=_ref3.setIsSelected,index=_ref3.index;var _e=[new global.Error(),-4,-27];var PaginationItemTsx3=function PaginationItemTsx3(value){scheduleOnRN(setIsSelected,value===index);};PaginationItemTsx3.__closure={scheduleOnRN:scheduleOnRN,setIsSelected:setIsSelected,index:index};PaginationItemTsx3.__workletHash=8491159381056;PaginationItemTsx3.__pluginVersion="0.5.2";PaginationItemTsx3.__initData=_worklet_8491159381056_init_data;PaginationItemTsx3.__stackDetails=_e;return PaginationItemTsx3;}({_worklet_8491159381056_init_data:_worklet_8491159381056_init_data,scheduleOnRN:_reactNativeWorklets.scheduleOnRN,setIsSelected:setIsSelected,index:index}),[animValue,index]);var animStyle=(0,_reactNativeReanimated.useAnimatedStyle)(function PaginationItemTsx4Factory(_ref4){var _worklet_1894073649076_init_data=_ref4._worklet_1894073649076_init_data,size=_ref4.size,defaultDotSize=_ref4.defaultDotSize,dotStyle=_ref4.dotStyle,activeDotStyle=_ref4.activeDotStyle,animValue=_ref4.animValue,index=_ref4.index,count=_ref4.count,interpolate=_ref4.interpolate,Extrapolation=_ref4.Extrapolation,interpolateColor=_ref4.interpolateColor,customReanimatedStyleRef=_ref4.customReanimatedStyleRef;var _e=[new global.Error(),-12,-27];var PaginationItemTsx4=function PaginationItemTsx4(){var _ref7,_ref8,_customReanimatedStyl2,_restStyle$transform,_customReanimatedStyl3,_customReanimatedStyl4;var _ref5=dotStyle!=null?dotStyle:{},_ref5$width=_ref5.width,width=_ref5$width===void 0?size||defaultDotSize:_ref5$width,_ref5$height=_ref5.height,height=_ref5$height===void 0?size||defaultDotSize:_ref5$height,borderRadius=_ref5.borderRadius,_ref5$backgroundColor=_ref5.backgroundColor,backgroundColor=_ref5$backgroundColor===void 0?"#FFF":_ref5$backgroundColor,restDotStyle=(0,_objectWithoutProperties2.default)(_ref5,_excluded);var _ref6=activeDotStyle!=null?activeDotStyle:{},_ref6$width=_ref6.width,activeWidth=_ref6$width===void 0?width:_ref6$width,_ref6$height=_ref6.height,activeHeight=_ref6$height===void 0?height:_ref6$height,activeBorderRadius=_ref6.borderRadius,_ref6$backgroundColor=_ref6.backgroundColor,activeBackgroundColor=_ref6$backgroundColor===void 0?"#000":_ref6$backgroundColor,restActiveDotStyle=(0,_objectWithoutProperties2.default)(_ref6,_excluded2);var val=Math.abs((animValue==null?void 0:animValue.value)-index);if(index===0&&(animValue==null?void 0:animValue.value)>count-1)val=Math.abs((animValue==null?void 0:animValue.value)-count);var inputRange=[0,1,2];var restStyle=(_ref7=val===0?restActiveDotStyle:restDotStyle)!=null?_ref7:{};return Object.assign({width:interpolate(val,inputRange,[activeWidth,width,width],Extrapolation.CLAMP),height:interpolate(val,inputRange,[activeHeight,height,height],Extrapolation.CLAMP),borderRadius:interpolate(val,inputRange,[(_ref8=activeBorderRadius!=null?activeBorderRadius:borderRadius)!=null?_ref8:0,borderRadius!=null?borderRadius:0,borderRadius!=null?borderRadius:0],Extrapolation.CLAMP),backgroundColor:interpolateColor(val,inputRange,[activeBackgroundColor,backgroundColor,backgroundColor])},restStyle,(_customReanimatedStyl2=customReanimatedStyleRef.value)!=null?_customReanimatedStyl2:{},{transform:[].concat((0,_toConsumableArray2.default)((_restStyle$transform=restStyle==null?void 0:restStyle.transform)!=null?_restStyle$transform:[]),(0,_toConsumableArray2.default)((_customReanimatedStyl3=(_customReanimatedStyl4=customReanimatedStyleRef.value)==null?void 0:_customReanimatedStyl4.transform)!=null?_customReanimatedStyl3:[]))});};PaginationItemTsx4.__closure={size:size,defaultDotSize:defaultDotSize,dotStyle:dotStyle,activeDotStyle:activeDotStyle,animValue:animValue,index:index,count:count,interpolate:interpolate,Extrapolation:Extrapolation,interpolateColor:interpolateColor,customReanimatedStyleRef:customReanimatedStyleRef};PaginationItemTsx4.__workletHash=1894073649076;PaginationItemTsx4.__pluginVersion="0.5.2";PaginationItemTsx4.__initData=_worklet_1894073649076_init_data;PaginationItemTsx4.__stackDetails=_e;return PaginationItemTsx4;}({_worklet_1894073649076_init_data:_worklet_1894073649076_init_data,size:size,defaultDotSize:defaultDotSize,dotStyle:dotStyle,activeDotStyle:activeDotStyle,animValue:animValue,index:index,count:count,interpolate:_reactNativeReanimated.interpolate,Extrapolation:_reactNativeReanimated.Extrapolation,interpolateColor:_reactNativeReanimated.interpolateColor,customReanimatedStyleRef:customReanimatedStyleRef}),[animValue,index,count,horizontal,dotStyle,activeDotStyle,customReanimatedStyle]);return(0,_jsxRuntime.jsx)(_reactNative.Pressable,{onPress:onPress,accessibilityLabel:resolvedAccessibilityLabel,accessibilityRole:resolvedAccessibilityRole,accessibilityHint:resolvedAccessibilityHint,accessibilityState:resolvedAccessibilityState,children:(0,_jsxRuntime.jsx)(_reactNativeReanimated.default.View,{style:[{overflow:"hidden",transform:[{rotateZ:horizontal?"90deg":"0deg"}]},dotStyle,animStyle],children:children})});};
|
|
2
|
-
//# sourceMappingURL=PaginationItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_reactNativeWorklets","_jsxRuntime","_excluded","_excluded2","_this","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_worklet_15771819902534_init_data","code","location","sourceMap","_worklet_1491418758174_init_data","_worklet_8491159381056_init_data","_worklet_1894073649076_init_data","PaginationItem","exports","props","defaultDotSize","animValue","dotStyle","activeDotStyle","index","count","size","horizontal","children","customReanimatedStyle","onPress","accessibilityLabel","accessibilityHint","accessibilityRole","accessibilityState","customReanimatedStyleRef","useSharedValue","handleCustomAnimation","progress","_customReanimatedStyl","value","_useState","useState","_useState2","_slicedToArray2","isSelected","setIsSelected","resolvedAccessibilityLabel","resolvedAccessibilityHint","resolvedAccessibilityRole","resolvedAccessibilityState","selected","useDerivedValue","PaginationItemTsx1Factory","_ref","scheduleOnRN","_e","global","Error","PaginationItemTsx1","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","useAnimatedReaction","PaginationItemTsx2Factory","_ref2","PaginationItemTsx2","PaginationItemTsx3Factory","_ref3","PaginationItemTsx3","animStyle","useAnimatedStyle","PaginationItemTsx4Factory","_ref4","interpolate","Extrapolation","interpolateColor","PaginationItemTsx4","_ref7","_ref8","_customReanimatedStyl2","_restStyle$transform","_customReanimatedStyl3","_customReanimatedStyl4","_ref5","_ref5$width","width","_ref5$height","height","borderRadius","_ref5$backgroundColor","backgroundColor","restDotStyle","_objectWithoutProperties2","_ref6","_ref6$width","activeWidth","_ref6$height","activeHeight","activeBorderRadius","_ref6$backgroundColor","activeBackgroundColor","restActiveDotStyle","val","Math","abs","inputRange","restStyle","assign","CLAMP","transform","concat","_toConsumableArray2","jsx","Pressable","View","style","overflow","rotateZ"],"sourceRoot":"../../../../../src","sources":["components/Pagination/Custom/PaginationItem.tsx"],"mappings":"0dACA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WAEA,IAAAC,YAAA,CAAAD,OAAA,iBAGA,IAAAE,sBAAA,CAAAH,uBAAA,CAAAC,OAAA,6BASA,IAAAG,oBAAA,CAAAH,OAAA,0BAAqD,IAAAI,WAAA,CAAAJ,OAAA,0BAAAK,SAAA,qDAAAC,UAAA,yDAAAC,KAAA,MAAAC,YAAA,oJAAAT,wBAAAU,CAAA,CAAAC,CAAA,wBAAAC,OAAA,KAAAC,CAAA,KAAAD,OAAA,GAAAE,CAAA,KAAAF,OAAA,UAAAZ,uBAAA,UAAAA,wBAAAU,CAAA,CAAAC,CAAA,MAAAA,CA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AJA,IAAI,CAAIN,cAAc,CAAdA,cAAc,CAK5BE,QAAQ,CAARA,QAAQ,CAORC,cAAc,CAAdA,cAAc,CACCF,SAAS,CAATA,SAAS,CAAUG,KAAK,CAALA,KAAK,CACLC,KAAK,CAALA,KAAK,CAMlCmD,WAAW,CAAXA,kCAAW,CAA+CC,aAAa,CAAbA,oCAAa,CAQ7DC,gBAAgB,CAAhBA,uCAAgB,CAM7B3C,wBAAwB,CAAxBA,wBAAwB,GAM7B,CAACd,SAAS,CAAEG,KAAK,CAAEC,KAAK,CAAEE,UAAU,CAAEL,QAAQ,CAAEC,cAAc,CAAEM,qBAAqB,CAAC,CAAC,CAE1F,MACE,GAAA5C,WAAA,CAAAkI,GAAA,EAACrI,YAAA,CAAAsI,SAAS,EACRtF,OAAO,CAAEA,OAAQ,CACjBC,kBAAkB,CAAEgB,0BAA2B,CAC/Cd,iBAAiB,CAAEgB,yBAA0B,CAC7CjB,iBAAiB,CAAEgB,yBAA0B,CAC7Cd,kBAAkB,CAAEgB,0BAA2B,CAAAtB,QAAA,CAE/C,GAAA3C,WAAA,CAAAkI,GAAA,EAACpI,sBAAA,CAAAiB,OAAQ,CAACqH,IAAI,EACZC,KAAK,CAAE,CACL,CACEC,QAAQ,CAAE,QAAQ,CAClBP,SAAS,CAAE,CACT,CACEQ,OAAO,CAAE7F,UAAU,CAAG,OAAO,CAAG,MAClC,CAAC,CAEL,CAAC,CACDL,QAAQ,CACRkD,SAAS,CACT,CAAA5C,QAAA,CAEDA,QAAQ,CACI,CAAC,CACP,CAAC,CAEhB,CAAC","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Custom=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _PaginationItem=require("./PaginationItem");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/Custom/index.tsx";var Custom=exports.Custom=function Custom(props){var _dotStyle$width,_activeDotStyle$width,_dotStyle$height,_activeDotStyle$heigh;var activeDotStyle=props.activeDotStyle,dotStyle=props.dotStyle,progress=props.progress,_props$horizontal=props.horizontal,horizontal=_props$horizontal===void 0?true:_props$horizontal,data=props.data,size=props.size,containerStyle=props.containerStyle,renderItem=props.renderItem,_onPress=props.onPress,customReanimatedStyle=props.customReanimatedStyle,carouselName=props.carouselName,paginationItemAccessibility=props.paginationItemAccessibility;if(typeof size==="string"||typeof(dotStyle==null?void 0:dotStyle.width)==="string"||typeof(dotStyle==null?void 0:dotStyle.height)==="string"||typeof(activeDotStyle==null?void 0:activeDotStyle.width)==="string"||typeof(activeDotStyle==null?void 0:activeDotStyle.height)==="string")throw new Error("size/width/height must be a number");var maxItemWidth=Math.max(size!=null?size:0,(_dotStyle$width=dotStyle==null?void 0:dotStyle.width)!=null?_dotStyle$width:0,(_activeDotStyle$width=activeDotStyle==null?void 0:activeDotStyle.width)!=null?_activeDotStyle$width:0);var maxItemHeight=Math.max(size!=null?size:0,(_dotStyle$height=dotStyle==null?void 0:dotStyle.height)!=null?_dotStyle$height:0,(_activeDotStyle$heigh=activeDotStyle==null?void 0:activeDotStyle.height)!=null?_activeDotStyle$heigh:0);return(0,_jsxRuntime.jsx)(_reactNative.View,{style:[{justifyContent:"space-between",alignSelf:"center",minWidth:maxItemWidth,minHeight:maxItemHeight},horizontal?{flexDirection:"row"}:{flexDirection:"column"},containerStyle],children:data.map(function(item,index){var _paginationItemAccess,_accessibilityOverrid;var defaultAccessibilityLabel=carouselName?`Slide ${index+1} of ${data.length} - ${carouselName}`:`Slide ${index+1} of ${data.length}`;var accessibilityOverrides=(_paginationItemAccess=paginationItemAccessibility==null?void 0:paginationItemAccessibility(index,data.length))!=null?_paginationItemAccess:{};return(0,_jsxRuntime.jsx)(_PaginationItem.PaginationItem,{index:index,size:size,count:data.length,dotStyle:dotStyle,animValue:progress,horizontal:!horizontal,activeDotStyle:activeDotStyle,customReanimatedStyle:customReanimatedStyle,onPress:function onPress(){return _onPress==null?void 0:_onPress(index);},accessibilityLabel:(_accessibilityOverrid=accessibilityOverrides.accessibilityLabel)!=null?_accessibilityOverrid:defaultAccessibilityLabel,accessibilityHint:accessibilityOverrides.accessibilityHint,accessibilityRole:accessibilityOverrides.accessibilityRole,accessibilityState:accessibilityOverrides.accessibilityState,children:renderItem==null?void 0:renderItem(item,index)},index);})});};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_PaginationItem","_jsxRuntime","_this","_jsxFileName","Custom","exports","props","_dotStyle$width","_activeDotStyle$width","_dotStyle$height","_activeDotStyle$heigh","activeDotStyle","dotStyle","progress","_props$horizontal","horizontal","data","size","containerStyle","renderItem","onPress","customReanimatedStyle","carouselName","paginationItemAccessibility","width","height","Error","maxItemWidth","Math","max","maxItemHeight","jsx","View","style","justifyContent","alignSelf","minWidth","minHeight","flexDirection","children","map","item","index","_paginationItemAccess","_accessibilityOverrid","defaultAccessibilityLabel","length","accessibilityOverrides","PaginationItem","count","animValue","accessibilityLabel","accessibilityHint","accessibilityRole","accessibilityState"],"sourceRoot":"../../../../../src","sources":["components/Pagination/Custom/index.tsx"],"mappings":"kKAAA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WAEA,IAAAC,YAAA,CAAAD,OAAA,iBAIA,IAAAE,eAAA,CAAAF,OAAA,qBAAkD,IAAAG,WAAA,CAAAH,OAAA,0BAAAI,KAAA,MAAAC,YAAA,kIA0B3C,GAAM,CAAAC,MAAM,CAAAC,OAAA,CAAAD,MAAA,CAAG,QAAT,CAAAA,MAAMA,CAAkBE,KAAoB,CAAK,KAAAC,eAAA,CAAAC,qBAAA,CAAAC,gBAAA,CAAAC,qBAAA,CAC5D,GACE,CAAAC,cAAc,CAYZL,KAAK,CAZP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