related-ui-components 1.9.6 → 1.9.8
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 +200 -0
- package/lib/commonjs/app.js +161 -0
- package/lib/commonjs/app.js.map +1 -0
- package/lib/commonjs/assets/components/BannerWithDetails.png +0 -0
- package/lib/commonjs/assets/components/DealCard-Horizontal.png +0 -0
- package/lib/commonjs/assets/components/DealCard-Vertical.png +0 -0
- package/lib/commonjs/assets/components/DealCard-floating.png +0 -0
- package/lib/commonjs/assets/components/DealCard-nested.png +0 -0
- package/lib/commonjs/assets/components/Filters.png +0 -0
- package/lib/commonjs/assets/components/Popup-1.png +0 -0
- package/lib/commonjs/assets/components/Popup-2.png +0 -0
- package/lib/commonjs/assets/components/Popup-3.png +0 -0
- package/lib/commonjs/assets/components/RedemptionOption-Horizontal.png +0 -0
- package/lib/commonjs/assets/components/RedemptionOption-Vertical.png +0 -0
- package/lib/commonjs/assets/components/SimpleBanner.png +0 -0
- package/lib/commonjs/assets/components/SimpleTrendingCard.png +0 -0
- package/lib/commonjs/assets/components/SimpleTrendingCardV2.png +0 -0
- package/lib/commonjs/assets/components/UnlockRewards-1.png +0 -0
- package/lib/commonjs/assets/components/UnlockRewards-2.png +0 -0
- package/lib/commonjs/assets/fonts/SpaceMono-Regular.ttf +0 -0
- package/lib/commonjs/assets/images/adaptive-icon.png +0 -0
- package/lib/commonjs/assets/images/face.jpg +0 -0
- package/lib/commonjs/assets/images/favicon.png +0 -0
- package/lib/commonjs/assets/images/giftvoucher.jpg +0 -0
- package/lib/commonjs/assets/images/icon.png +0 -0
- package/lib/commonjs/assets/images/insta.webp +0 -0
- package/lib/commonjs/assets/images/muse.jpg +0 -0
- package/lib/commonjs/assets/images/namshi-banner.png +0 -0
- package/lib/commonjs/assets/images/namshi.webp +0 -0
- package/lib/commonjs/assets/images/partial-react-logo.png +0 -0
- package/lib/commonjs/assets/images/pb-logo.jpg +0 -0
- package/lib/commonjs/assets/images/pb.jpg +0 -0
- package/lib/commonjs/assets/images/react-logo.png +0 -0
- package/lib/commonjs/assets/images/react-logo@2x.png +0 -0
- package/lib/commonjs/assets/images/react-logo@3x.png +0 -0
- package/lib/commonjs/assets/images/scratch_foreground.png +0 -0
- package/lib/commonjs/assets/images/splash-icon.png +0 -0
- package/lib/commonjs/assets/images/upgrade.png +0 -0
- package/lib/commonjs/components/Badges/Badge.js +67 -0
- package/lib/commonjs/components/Badges/Badge.js.map +1 -0
- package/lib/commonjs/components/Badges/README.md +98 -0
- package/lib/commonjs/components/Badges/index.js +29 -0
- package/lib/commonjs/components/Badges/index.js.map +1 -0
- package/lib/commonjs/components/Banner/Banner.js +138 -0
- package/lib/commonjs/components/Banner/Banner.js.map +1 -0
- package/lib/commonjs/components/Banner/BannerWithDetails.js +120 -0
- package/lib/commonjs/components/Banner/BannerWithDetails.js.map +1 -0
- package/lib/commonjs/components/Banner/README.md +101 -0
- package/lib/commonjs/components/Banner/index.js +48 -0
- package/lib/commonjs/components/Banner/index.js.map +1 -0
- package/lib/commonjs/components/BrandIcon/BrandIcon.js +115 -0
- package/lib/commonjs/components/BrandIcon/BrandIcon.js.map +1 -0
- package/lib/commonjs/components/BrandIcon/index.js +29 -0
- package/lib/commonjs/components/BrandIcon/index.js.map +1 -0
- package/lib/commonjs/components/Button/Button.js +124 -0
- package/lib/commonjs/components/Button/Button.js.map +1 -0
- package/lib/commonjs/components/Button/index.js +29 -0
- package/lib/commonjs/components/Button/index.js.map +1 -0
- package/lib/commonjs/components/Card/Card.js +116 -0
- package/lib/commonjs/components/Card/Card.js.map +1 -0
- package/lib/commonjs/components/Card/CardContent.js +42 -0
- package/lib/commonjs/components/Card/CardContent.js.map +1 -0
- package/lib/commonjs/components/Card/CardFooter.js +34 -0
- package/lib/commonjs/components/Card/CardFooter.js.map +1 -0
- package/lib/commonjs/components/Card/CardHeader.js +79 -0
- package/lib/commonjs/components/Card/CardHeader.js.map +1 -0
- package/lib/commonjs/components/Card/CardImage.js +52 -0
- package/lib/commonjs/components/Card/CardImage.js.map +1 -0
- package/lib/commonjs/components/Card/index.js +98 -0
- package/lib/commonjs/components/Card/index.js.map +1 -0
- package/lib/commonjs/components/Card/templates/DealCard.js +194 -0
- package/lib/commonjs/components/Card/templates/DealCard.js.map +1 -0
- package/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.js +237 -0
- package/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.js.map +1 -0
- package/lib/commonjs/components/Card/templates/README.md +233 -0
- package/lib/commonjs/components/Card/templates/SimpleTrendingCard.js +59 -0
- package/lib/commonjs/components/Card/templates/SimpleTrendingCard.js.map +1 -0
- package/lib/commonjs/components/Card/types.js +6 -0
- package/lib/commonjs/components/Card/types.js.map +1 -0
- package/lib/commonjs/components/CloseIcon/CloseIcon.js +75 -0
- package/lib/commonjs/components/CloseIcon/CloseIcon.js.map +1 -0
- package/lib/commonjs/components/CloseIcon/index.js +29 -0
- package/lib/commonjs/components/CloseIcon/index.js.map +1 -0
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +358 -0
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js.map +1 -0
- package/lib/commonjs/components/DateRangePicker/index.js +4 -0
- package/lib/commonjs/components/DateRangePicker/index.js.map +1 -0
- package/lib/commonjs/components/Filters/Filters.js +345 -0
- package/lib/commonjs/components/Filters/Filters.js.map +1 -0
- package/lib/commonjs/components/Filters/PointsRangeSelector.js +264 -0
- package/lib/commonjs/components/Filters/PointsRangeSelector.js.map +1 -0
- package/lib/commonjs/components/Filters/README.md +212 -0
- package/lib/commonjs/components/Filters/index.js +48 -0
- package/lib/commonjs/components/Filters/index.js.map +1 -0
- package/lib/commonjs/components/Input/Input.js +161 -0
- package/lib/commonjs/components/Input/Input.js.map +1 -0
- package/lib/commonjs/components/Input/README.md +128 -0
- package/lib/commonjs/components/Input/index.js +29 -0
- package/lib/commonjs/components/Input/index.js.map +1 -0
- package/lib/commonjs/components/LockOverlay/LockOverlay.js +65 -0
- package/lib/commonjs/components/LockOverlay/LockOverlay.js.map +1 -0
- package/lib/commonjs/components/LockOverlay/index.js +29 -0
- package/lib/commonjs/components/LockOverlay/index.js.map +1 -0
- package/lib/commonjs/components/Marquee/Marquee.js +105 -0
- package/lib/commonjs/components/Marquee/Marquee.js.map +1 -0
- package/lib/commonjs/components/Marquee/index.js +29 -0
- package/lib/commonjs/components/Marquee/index.js.map +1 -0
- package/lib/commonjs/components/NumericStepper/NumericStepper.js +103 -0
- package/lib/commonjs/components/NumericStepper/NumericStepper.js.map +1 -0
- package/lib/commonjs/components/NumericStepper/index.js +29 -0
- package/lib/commonjs/components/NumericStepper/index.js.map +1 -0
- package/lib/commonjs/components/Popup/Popup.js +342 -0
- package/lib/commonjs/components/Popup/Popup.js.map +1 -0
- package/lib/commonjs/components/Popup/README.md +133 -0
- package/lib/commonjs/components/Popup/index.js +29 -0
- package/lib/commonjs/components/Popup/index.js.map +1 -0
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +125 -0
- package/lib/commonjs/components/ProgressBar/ProgressBar.js.map +1 -0
- package/lib/commonjs/components/ProgressBar/index.js +29 -0
- package/lib/commonjs/components/ProgressBar/index.js.map +1 -0
- package/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.js +459 -0
- package/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.js.map +1 -0
- package/lib/commonjs/components/RedeemedVoucher/index.js +29 -0
- package/lib/commonjs/components/RedeemedVoucher/index.js.map +1 -0
- package/lib/commonjs/components/RedemptionOption/README.md +148 -0
- package/lib/commonjs/components/RedemptionOption/RedemptionOption.js +132 -0
- package/lib/commonjs/components/RedemptionOption/RedemptionOption.js.map +1 -0
- package/lib/commonjs/components/RedemptionOption/index.js +29 -0
- package/lib/commonjs/components/RedemptionOption/index.js.map +1 -0
- package/lib/commonjs/components/ScratchCard/README.md +119 -0
- package/lib/commonjs/components/ScratchCard/ScratchCard.js +222 -0
- package/lib/commonjs/components/ScratchCard/ScratchCard.js.map +1 -0
- package/lib/commonjs/components/ScratchCard/ScratchCardContent.js +28 -0
- package/lib/commonjs/components/ScratchCard/ScratchCardContent.js.map +1 -0
- package/lib/commonjs/components/ScratchCard/index.js +48 -0
- package/lib/commonjs/components/ScratchCard/index.js.map +1 -0
- package/lib/commonjs/components/SelectAmount/SelectAmount.js +189 -0
- package/lib/commonjs/components/SelectAmount/SelectAmount.js.map +1 -0
- package/lib/commonjs/components/SelectAmount/index.js +4 -0
- package/lib/commonjs/components/SelectAmount/index.js.map +1 -0
- package/lib/commonjs/components/Skeleton/Shimmer.js +75 -0
- package/lib/commonjs/components/Skeleton/Shimmer.js.map +1 -0
- package/lib/commonjs/components/Skeleton/SkeletonElement.js +36 -0
- package/lib/commonjs/components/Skeleton/SkeletonElement.js.map +1 -0
- package/lib/commonjs/components/Skeleton/index.js +48 -0
- package/lib/commonjs/components/Skeleton/index.js.map +1 -0
- package/lib/commonjs/components/Suggestions/SuggestionList.js +98 -0
- package/lib/commonjs/components/Suggestions/SuggestionList.js.map +1 -0
- package/lib/commonjs/components/TravelBooking/CarRentalForm.js +370 -0
- package/lib/commonjs/components/TravelBooking/CarRentalForm.js.map +1 -0
- package/lib/commonjs/components/TravelBooking/FlightForm.js +347 -0
- package/lib/commonjs/components/TravelBooking/FlightForm.js.map +1 -0
- package/lib/commonjs/components/TravelBooking/FlightSummary.js +257 -0
- package/lib/commonjs/components/TravelBooking/FlightSummary.js.map +1 -0
- package/lib/commonjs/components/TravelBooking/HotelForm.js +290 -0
- package/lib/commonjs/components/TravelBooking/HotelForm.js.map +1 -0
- package/lib/commonjs/components/TravelBooking/HotelSummary.js +246 -0
- package/lib/commonjs/components/TravelBooking/HotelSummary.js.map +1 -0
- package/lib/commonjs/components/TravelBooking/README.md +421 -0
- package/lib/commonjs/components/TravelBooking/SummaryBar.js +181 -0
- package/lib/commonjs/components/TravelBooking/SummaryBar.js.map +1 -0
- package/lib/commonjs/components/TravelBooking/TabSelector.js +115 -0
- package/lib/commonjs/components/TravelBooking/TabSelector.js.map +1 -0
- package/lib/commonjs/components/TravelBooking/TravelBooking.js +261 -0
- package/lib/commonjs/components/TravelBooking/TravelBooking.js.map +1 -0
- package/lib/commonjs/components/TravelBooking/index.js +22 -0
- package/lib/commonjs/components/TravelBooking/index.js.map +1 -0
- package/lib/commonjs/components/TravelBooking/types.js +15 -0
- package/lib/commonjs/components/TravelBooking/types.js.map +1 -0
- package/lib/commonjs/components/UnlockRewards/README.md +187 -0
- package/lib/commonjs/components/UnlockRewards/RewardItem.js +129 -0
- package/lib/commonjs/components/UnlockRewards/RewardItem.js.map +1 -0
- package/lib/commonjs/components/UnlockRewards/UnlockRewards.js +230 -0
- package/lib/commonjs/components/UnlockRewards/UnlockRewards.js.map +1 -0
- package/lib/commonjs/components/UnlockRewards/index.js +48 -0
- package/lib/commonjs/components/UnlockRewards/index.js.map +1 -0
- package/lib/commonjs/components/Wheel/README.md +141 -0
- package/lib/commonjs/components/Wheel/Wheel.js +361 -0
- package/lib/commonjs/components/Wheel/Wheel.js.map +1 -0
- package/lib/commonjs/components/Wheel/index.js +29 -0
- package/lib/commonjs/components/Wheel/index.js.map +1 -0
- package/lib/commonjs/components/index.js +204 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/constants/BRANDS.js +58 -0
- package/lib/commonjs/constants/BRANDS.js.map +1 -0
- package/lib/commonjs/index.js +28 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/theme/Colors.js +154 -0
- package/lib/commonjs/theme/Colors.js.map +1 -0
- package/lib/commonjs/theme/ThemeContext.js +57 -0
- package/lib/commonjs/theme/ThemeContext.js.map +1 -0
- package/lib/commonjs/theme/index.js +28 -0
- package/lib/commonjs/theme/index.js.map +1 -0
- package/lib/module/theme/ThemeContext.js +7 -2
- package/lib/module/theme/ThemeContext.js.map +1 -1
- package/lib/typescript/lib/commonjs/app.d.ts +4 -0
- package/lib/typescript/lib/commonjs/app.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Badges/Badge.d.ts +14 -0
- package/lib/typescript/lib/commonjs/components/Badges/Badge.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Badges/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Badges/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Banner/Banner.d.ts +24 -0
- package/lib/typescript/lib/commonjs/components/Banner/Banner.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Banner/BannerWithDetails.d.ts +16 -0
- package/lib/typescript/lib/commonjs/components/Banner/BannerWithDetails.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Banner/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Banner/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/BrandIcon/BrandIcon.d.ts +18 -0
- package/lib/typescript/lib/commonjs/components/BrandIcon/BrandIcon.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/BrandIcon/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/BrandIcon/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Button/Button.d.ts +17 -0
- package/lib/typescript/lib/commonjs/components/Button/Button.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Button/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Button/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/Card.d.ts +17 -0
- package/lib/typescript/lib/commonjs/components/Card/Card.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/CardContent.d.ts +8 -0
- package/lib/typescript/lib/commonjs/components/Card/CardContent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/CardFooter.d.ts +9 -0
- package/lib/typescript/lib/commonjs/components/Card/CardFooter.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/CardHeader.d.ts +14 -0
- package/lib/typescript/lib/commonjs/components/Card/CardHeader.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/CardImage.d.ts +12 -0
- package/lib/typescript/lib/commonjs/components/Card/CardImage.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/index.d.ts +10 -0
- package/lib/typescript/lib/commonjs/components/Card/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/DealCard.d.ts +30 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/DealCard.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.d.ts +37 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/SimpleTrendingCard.d.ts +12 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/SimpleTrendingCard.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/types.d.ts +2 -0
- package/lib/typescript/lib/commonjs/components/Card/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/CloseIcon/CloseIcon.d.ts +14 -0
- package/lib/typescript/lib/commonjs/components/CloseIcon/CloseIcon.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/CloseIcon/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/CloseIcon/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/DateRangePicker/DateRangePicker.d.ts +20 -0
- package/lib/typescript/lib/commonjs/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/DateRangePicker/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Filters/Filters.d.ts +56 -0
- package/lib/typescript/lib/commonjs/components/Filters/Filters.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Filters/PointsRangeSelector.d.ts +27 -0
- package/lib/typescript/lib/commonjs/components/Filters/PointsRangeSelector.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Filters/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Filters/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Input/Input.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Input/Input.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Input/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Input/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/LockOverlay/LockOverlay.d.ts +15 -0
- package/lib/typescript/lib/commonjs/components/LockOverlay/LockOverlay.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/LockOverlay/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/LockOverlay/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Marquee/Marquee.d.ts +14 -0
- package/lib/typescript/lib/commonjs/components/Marquee/Marquee.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Marquee/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Marquee/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/NumericStepper/NumericStepper.d.ts +16 -0
- package/lib/typescript/lib/commonjs/components/NumericStepper/NumericStepper.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/NumericStepper/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/NumericStepper/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Popup/Popup.d.ts +39 -0
- package/lib/typescript/lib/commonjs/components/Popup/Popup.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Popup/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Popup/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ProgressBar/ProgressBar.d.ts +22 -0
- package/lib/typescript/lib/commonjs/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ProgressBar/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/ProgressBar/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/RedeemedVoucher/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/RedeemedVoucher/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/RedemptionOption/RedemptionOption.d.ts +23 -0
- package/lib/typescript/lib/commonjs/components/RedemptionOption/RedemptionOption.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/RedemptionOption/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/RedemptionOption/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCard.d.ts +19 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCard.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCardContent.d.ts +7 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCardContent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/SelectAmount/SelectAmount.d.ts +29 -0
- package/lib/typescript/lib/commonjs/components/SelectAmount/SelectAmount.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/SelectAmount/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/Shimmer.d.ts +11 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/Shimmer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/SkeletonElement.d.ts +10 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/SkeletonElement.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Suggestions/SuggestionList.d.ts +12 -0
- package/lib/typescript/lib/commonjs/components/Suggestions/SuggestionList.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/CarRentalForm.d.ts +52 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/CarRentalForm.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/FlightForm.d.ts +47 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/FlightForm.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/FlightSummary.d.ts +32 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/FlightSummary.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/HotelForm.d.ts +45 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/HotelForm.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/HotelSummary.d.ts +36 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/HotelSummary.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/SummaryBar.d.ts +12 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/SummaryBar.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/TabSelector.d.ts +15 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/TabSelector.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/TravelBooking.d.ts +47 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/TravelBooking.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/types.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/RewardItem.d.ts +23 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/RewardItem.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/UnlockRewards.d.ts +41 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/UnlockRewards.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Wheel/Wheel.d.ts +25 -0
- package/lib/typescript/lib/commonjs/components/Wheel/Wheel.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Wheel/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Wheel/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/components/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/constants/BRANDS.d.ts +14 -0
- package/lib/typescript/lib/commonjs/constants/BRANDS.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/theme/Colors.d.ts +110 -0
- package/lib/typescript/lib/commonjs/theme/Colors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/theme/ThemeContext.d.ts +11 -0
- package/lib/typescript/lib/commonjs/theme/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/theme/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/theme/index.d.ts.map +1 -0
- package/lib/typescript/src/app.d.ts.map +1 -0
- package/lib/typescript/src/components/Badges/Badge.d.ts.map +1 -0
- package/lib/typescript/src/components/Badges/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Banner/Banner.d.ts.map +1 -0
- package/lib/typescript/src/components/Banner/BannerWithDetails.d.ts.map +1 -0
- package/lib/typescript/src/components/Banner/index.d.ts.map +1 -0
- package/lib/typescript/src/components/BrandIcon/BrandIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/BrandIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/Button.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Card/Card.d.ts.map +1 -0
- package/lib/typescript/src/components/Card/CardContent.d.ts.map +1 -0
- package/lib/typescript/src/components/Card/CardFooter.d.ts.map +1 -0
- package/lib/typescript/src/components/Card/CardHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Card/CardImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Card/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Card/templates/DealCard.d.ts.map +1 -0
- package/lib/typescript/src/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Card/templates/SimpleTrendingCard.d.ts.map +1 -0
- package/lib/typescript/src/components/Card/types.d.ts.map +1 -0
- package/lib/typescript/src/components/CloseIcon/CloseIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/CloseIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/lib/typescript/src/components/DateRangePicker/index.d.ts +2 -0
- package/lib/typescript/src/components/DateRangePicker/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Filters/Filters.d.ts.map +1 -0
- package/lib/typescript/src/components/Filters/PointsRangeSelector.d.ts.map +1 -0
- package/lib/typescript/src/components/Filters/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Input.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/index.d.ts.map +1 -0
- package/lib/typescript/src/components/LockOverlay/LockOverlay.d.ts.map +1 -0
- package/lib/typescript/src/components/LockOverlay/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Marquee/Marquee.d.ts.map +1 -0
- package/lib/typescript/src/components/Marquee/index.d.ts.map +1 -0
- package/lib/typescript/src/components/NumericStepper/NumericStepper.d.ts.map +1 -0
- package/lib/typescript/src/components/NumericStepper/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Popup/Popup.d.ts.map +1 -0
- package/lib/typescript/src/components/Popup/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/src/components/ProgressBar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/RedeemedVoucher/index.d.ts.map +1 -0
- package/lib/typescript/src/components/RedemptionOption/RedemptionOption.d.ts.map +1 -0
- package/lib/typescript/src/components/RedemptionOption/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ScratchCard/ScratchCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ScratchCard/ScratchCardContent.d.ts.map +1 -0
- package/lib/typescript/src/components/ScratchCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/SelectAmount/SelectAmount.d.ts.map +1 -0
- package/lib/typescript/src/components/SelectAmount/index.d.ts +2 -0
- package/lib/typescript/src/components/SelectAmount/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Skeleton/Shimmer.d.ts.map +1 -0
- package/lib/typescript/src/components/Skeleton/SkeletonElement.d.ts.map +1 -0
- package/lib/typescript/src/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Suggestions/SuggestionList.d.ts.map +1 -0
- package/lib/typescript/src/components/TravelBooking/CarRentalForm.d.ts.map +1 -0
- package/lib/typescript/src/components/TravelBooking/FlightForm.d.ts.map +1 -0
- package/lib/typescript/src/components/TravelBooking/FlightSummary.d.ts.map +1 -0
- package/lib/typescript/src/components/TravelBooking/HotelForm.d.ts.map +1 -0
- package/lib/typescript/src/components/TravelBooking/HotelSummary.d.ts.map +1 -0
- package/lib/typescript/src/components/TravelBooking/SummaryBar.d.ts.map +1 -0
- package/lib/typescript/src/components/TravelBooking/TabSelector.d.ts.map +1 -0
- package/lib/typescript/src/components/TravelBooking/TravelBooking.d.ts.map +1 -0
- package/lib/typescript/src/components/TravelBooking/index.d.ts +2 -0
- package/lib/typescript/src/components/TravelBooking/index.d.ts.map +1 -0
- package/lib/typescript/src/components/TravelBooking/types.d.ts.map +1 -0
- package/lib/typescript/src/components/UnlockRewards/RewardItem.d.ts.map +1 -0
- package/lib/typescript/src/components/UnlockRewards/UnlockRewards.d.ts.map +1 -0
- package/lib/typescript/src/components/UnlockRewards/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Wheel/Wheel.d.ts.map +1 -0
- package/lib/typescript/src/components/Wheel/index.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/constants/BRANDS.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/theme/Colors.d.ts.map +1 -0
- package/lib/typescript/{theme → src/theme}/ThemeContext.d.ts +2 -0
- package/lib/typescript/src/theme/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/src/theme/index.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/theme/ThemeContext.tsx +8 -0
- package/lib/typescript/app.d.ts.map +0 -1
- package/lib/typescript/components/Badges/Badge.d.ts.map +0 -1
- package/lib/typescript/components/Badges/index.d.ts.map +0 -1
- package/lib/typescript/components/Banner/Banner.d.ts.map +0 -1
- package/lib/typescript/components/Banner/BannerWithDetails.d.ts.map +0 -1
- package/lib/typescript/components/Banner/index.d.ts.map +0 -1
- package/lib/typescript/components/BrandIcon/BrandIcon.d.ts.map +0 -1
- package/lib/typescript/components/BrandIcon/index.d.ts.map +0 -1
- package/lib/typescript/components/Button/Button.d.ts.map +0 -1
- package/lib/typescript/components/Button/index.d.ts.map +0 -1
- package/lib/typescript/components/Card/Card.d.ts.map +0 -1
- package/lib/typescript/components/Card/CardContent.d.ts.map +0 -1
- package/lib/typescript/components/Card/CardFooter.d.ts.map +0 -1
- package/lib/typescript/components/Card/CardHeader.d.ts.map +0 -1
- package/lib/typescript/components/Card/CardImage.d.ts.map +0 -1
- package/lib/typescript/components/Card/index.d.ts.map +0 -1
- package/lib/typescript/components/Card/templates/DealCard.d.ts.map +0 -1
- package/lib/typescript/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +0 -1
- package/lib/typescript/components/Card/templates/SimpleTrendingCard.d.ts.map +0 -1
- package/lib/typescript/components/Card/types.d.ts.map +0 -1
- package/lib/typescript/components/CloseIcon/CloseIcon.d.ts.map +0 -1
- package/lib/typescript/components/CloseIcon/index.d.ts.map +0 -1
- package/lib/typescript/components/DateRangePicker/DateRangePicker.d.ts.map +0 -1
- package/lib/typescript/components/DateRangePicker/index.d.ts.map +0 -1
- package/lib/typescript/components/Filters/Filters.d.ts.map +0 -1
- package/lib/typescript/components/Filters/PointsRangeSelector.d.ts.map +0 -1
- package/lib/typescript/components/Filters/index.d.ts.map +0 -1
- package/lib/typescript/components/Input/Input.d.ts.map +0 -1
- package/lib/typescript/components/Input/index.d.ts.map +0 -1
- package/lib/typescript/components/LockOverlay/LockOverlay.d.ts.map +0 -1
- package/lib/typescript/components/LockOverlay/index.d.ts.map +0 -1
- package/lib/typescript/components/Marquee/Marquee.d.ts.map +0 -1
- package/lib/typescript/components/Marquee/index.d.ts.map +0 -1
- package/lib/typescript/components/NumericStepper/NumericStepper.d.ts.map +0 -1
- package/lib/typescript/components/NumericStepper/index.d.ts.map +0 -1
- package/lib/typescript/components/Popup/Popup.d.ts.map +0 -1
- package/lib/typescript/components/Popup/index.d.ts.map +0 -1
- package/lib/typescript/components/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/lib/typescript/components/ProgressBar/index.d.ts.map +0 -1
- package/lib/typescript/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +0 -1
- package/lib/typescript/components/RedeemedVoucher/index.d.ts.map +0 -1
- package/lib/typescript/components/RedemptionOption/RedemptionOption.d.ts.map +0 -1
- package/lib/typescript/components/RedemptionOption/index.d.ts.map +0 -1
- package/lib/typescript/components/ScratchCard/ScratchCard.d.ts.map +0 -1
- package/lib/typescript/components/ScratchCard/ScratchCardContent.d.ts.map +0 -1
- package/lib/typescript/components/ScratchCard/index.d.ts.map +0 -1
- package/lib/typescript/components/SelectAmount/SelectAmount.d.ts.map +0 -1
- package/lib/typescript/components/SelectAmount/index.d.ts.map +0 -1
- package/lib/typescript/components/Skeleton/Shimmer.d.ts.map +0 -1
- package/lib/typescript/components/Skeleton/SkeletonElement.d.ts.map +0 -1
- package/lib/typescript/components/Skeleton/index.d.ts.map +0 -1
- package/lib/typescript/components/Suggestions/SuggestionList.d.ts.map +0 -1
- package/lib/typescript/components/TravelBooking/CarRentalForm.d.ts.map +0 -1
- package/lib/typescript/components/TravelBooking/FlightForm.d.ts.map +0 -1
- package/lib/typescript/components/TravelBooking/FlightSummary.d.ts.map +0 -1
- package/lib/typescript/components/TravelBooking/HotelForm.d.ts.map +0 -1
- package/lib/typescript/components/TravelBooking/HotelSummary.d.ts.map +0 -1
- package/lib/typescript/components/TravelBooking/SummaryBar.d.ts.map +0 -1
- package/lib/typescript/components/TravelBooking/TabSelector.d.ts.map +0 -1
- package/lib/typescript/components/TravelBooking/TravelBooking.d.ts.map +0 -1
- package/lib/typescript/components/TravelBooking/index.d.ts.map +0 -1
- package/lib/typescript/components/TravelBooking/types.d.ts.map +0 -1
- package/lib/typescript/components/UnlockRewards/RewardItem.d.ts.map +0 -1
- package/lib/typescript/components/UnlockRewards/UnlockRewards.d.ts.map +0 -1
- package/lib/typescript/components/UnlockRewards/index.d.ts.map +0 -1
- package/lib/typescript/components/Wheel/Wheel.d.ts.map +0 -1
- package/lib/typescript/components/Wheel/index.d.ts.map +0 -1
- package/lib/typescript/components/index.d.ts.map +0 -1
- package/lib/typescript/constants/BRANDS.d.ts.map +0 -1
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/theme/Colors.d.ts.map +0 -1
- package/lib/typescript/theme/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/theme/index.d.ts.map +0 -1
- /package/lib/typescript/{components → lib/commonjs/components}/DateRangePicker/index.d.ts +0 -0
- /package/lib/typescript/{components → lib/commonjs/components}/SelectAmount/index.d.ts +0 -0
- /package/lib/typescript/{components → lib/commonjs/components}/TravelBooking/index.d.ts +0 -0
- /package/lib/typescript/{app.d.ts → src/app.d.ts} +0 -0
- /package/lib/typescript/{components → src/components}/Badges/Badge.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Badges/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Banner/Banner.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Banner/BannerWithDetails.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Banner/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/BrandIcon/BrandIcon.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/BrandIcon/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Button/Button.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Button/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Card/Card.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Card/CardContent.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Card/CardFooter.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Card/CardHeader.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Card/CardImage.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Card/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Card/templates/DealCard.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Card/templates/DealCardWithBackgroundImage.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Card/templates/SimpleTrendingCard.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Card/types.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/CloseIcon/CloseIcon.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/CloseIcon/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/DateRangePicker/DateRangePicker.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Filters/Filters.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Filters/PointsRangeSelector.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Filters/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Input/Input.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Input/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/LockOverlay/LockOverlay.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/LockOverlay/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Marquee/Marquee.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Marquee/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/NumericStepper/NumericStepper.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/NumericStepper/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Popup/Popup.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Popup/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/ProgressBar/ProgressBar.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/ProgressBar/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/RedeemedVoucher/RedeemedVoucherSheet.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/RedeemedVoucher/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/RedemptionOption/RedemptionOption.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/RedemptionOption/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/ScratchCard/ScratchCard.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/ScratchCard/ScratchCardContent.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/ScratchCard/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/SelectAmount/SelectAmount.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Skeleton/Shimmer.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Skeleton/SkeletonElement.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Skeleton/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Suggestions/SuggestionList.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/TravelBooking/CarRentalForm.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/TravelBooking/FlightForm.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/TravelBooking/FlightSummary.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/TravelBooking/HotelForm.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/TravelBooking/HotelSummary.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/TravelBooking/SummaryBar.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/TravelBooking/TabSelector.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/TravelBooking/TravelBooking.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/TravelBooking/types.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UnlockRewards/RewardItem.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UnlockRewards/UnlockRewards.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/UnlockRewards/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Wheel/Wheel.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/Wheel/index.d.ts +0 -0
- /package/lib/typescript/{components → src/components}/index.d.ts +0 -0
- /package/lib/typescript/{constants → src/constants}/BRANDS.d.ts +0 -0
- /package/lib/typescript/{index.d.ts → src/index.d.ts} +0 -0
- /package/lib/typescript/{theme → src/theme}/Colors.d.ts +0 -0
- /package/lib/typescript/{theme → src/theme}/index.d.ts +0 -0
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _bottomSheet = _interopRequireWildcard(require("@gorhom/bottom-sheet"));
|
|
10
|
+
var _PointsRangeSelector = _interopRequireDefault(require("./PointsRangeSelector.js"));
|
|
11
|
+
var _index = require("../BrandIcon/index.js");
|
|
12
|
+
var _vectorIcons = require("@expo/vector-icons");
|
|
13
|
+
var _expoCheckbox = _interopRequireDefault(require("expo-checkbox"));
|
|
14
|
+
var _index2 = require("../../theme/index.js");
|
|
15
|
+
var _index3 = require("../Button/index.js");
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
19
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
|
+
// Import ThemeType
|
|
21
|
+
|
|
22
|
+
// ... (Keep existing type definitions: SortOption, Brand, FilterResult) ...
|
|
23
|
+
|
|
24
|
+
const Filters = ({
|
|
25
|
+
isRTL: isRTLProp,
|
|
26
|
+
sortOptions = [],
|
|
27
|
+
sortSectionTitle = "Sort",
|
|
28
|
+
sectionTitleStyle,
|
|
29
|
+
sortSectionStyle,
|
|
30
|
+
onActionButtonPress,
|
|
31
|
+
rangeInitialMax = 1000,
|
|
32
|
+
rangeInitialMin = 0,
|
|
33
|
+
rangeMaxLimit = 1000,
|
|
34
|
+
rangeMinLimit = 0,
|
|
35
|
+
pointsRangeContainerStyle,
|
|
36
|
+
pointsRangeInputsContainerStyle,
|
|
37
|
+
pointsRangeCustomInputContainerStyle,
|
|
38
|
+
pointsRangeCustomInputFieldStyle,
|
|
39
|
+
pointsRangeSliderContainerStyle,
|
|
40
|
+
pointsRangeMultiSliderContainerStyle,
|
|
41
|
+
pointsRangeTrackStyle,
|
|
42
|
+
pointsRangeSelectedTrackStyle,
|
|
43
|
+
pointsRangeUnselectedTrackStyle,
|
|
44
|
+
pointsRangeMarkerStyle,
|
|
45
|
+
pointsRangeMarkerEnabledStyle,
|
|
46
|
+
pointsRangeMarkerDisabledStyle,
|
|
47
|
+
pointsRangeMarkerDotStyle,
|
|
48
|
+
pointsRangeInputProps,
|
|
49
|
+
pointsRangeMultiSliderProps,
|
|
50
|
+
containerStyle,
|
|
51
|
+
headerStyle,
|
|
52
|
+
titleStyle,
|
|
53
|
+
resetTextStyle,
|
|
54
|
+
sectionStyle,
|
|
55
|
+
optionRowStyle,
|
|
56
|
+
optionTextStyle,
|
|
57
|
+
checkboxColor: checkboxColorProp,
|
|
58
|
+
applyButtonStyle,
|
|
59
|
+
applyButtonTextStyle,
|
|
60
|
+
bottomSheetStyle,
|
|
61
|
+
bottomSheetIndex = 0,
|
|
62
|
+
handleIndicatorStyle,
|
|
63
|
+
brands = [],
|
|
64
|
+
brandContainerStyle,
|
|
65
|
+
brandActiveIcon,
|
|
66
|
+
showPointsRange = true,
|
|
67
|
+
pointsRangeSectionTitle = "Points range",
|
|
68
|
+
brandActiveIconStyle,
|
|
69
|
+
brandSectionTile = "Brands",
|
|
70
|
+
applyButtonText = "Apply Filter",
|
|
71
|
+
headerResetText = "Reset All",
|
|
72
|
+
headerTitleText = "Filter",
|
|
73
|
+
onClose,
|
|
74
|
+
visible = true,
|
|
75
|
+
applyButtonComponentProps
|
|
76
|
+
}) => {
|
|
77
|
+
const {
|
|
78
|
+
theme,
|
|
79
|
+
isRTL: themeIsRTL
|
|
80
|
+
} = (0, _index2.useTheme)();
|
|
81
|
+
const isRTL = isRTLProp ?? themeIsRTL ?? _reactNative.I18nManager.isRTL;
|
|
82
|
+
const bottomSheetRef = (0, _react.useRef)(null);
|
|
83
|
+
const styles = createStyles(theme, isRTL);
|
|
84
|
+
const checkboxColor = checkboxColorProp ?? theme.primary;
|
|
85
|
+
const handleSheetChanges = (0, _react.useCallback)(index => {
|
|
86
|
+
if (index === -1) {
|
|
87
|
+
if (onClose) {
|
|
88
|
+
onClose();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}, [onClose]);
|
|
92
|
+
const [resetCounter, setResetCounter] = (0, _react.useState)(0);
|
|
93
|
+
const [checkedItem, setCheckedItem] = (0, _react.useState)(sortOptions.find(option => option.checked)?.id || null);
|
|
94
|
+
const [selectedBrands, setSelectedBrands] = (0, _react.useState)(brands.reduce((acc, option) => {
|
|
95
|
+
acc[option.id] = option.checked || false;
|
|
96
|
+
return acc;
|
|
97
|
+
}, {}));
|
|
98
|
+
const [pointsRange, setPointsRange] = (0, _react.useState)({
|
|
99
|
+
min: rangeInitialMin,
|
|
100
|
+
max: rangeInitialMax
|
|
101
|
+
});
|
|
102
|
+
const handleCheckboxChange = id => {
|
|
103
|
+
setCheckedItem(id);
|
|
104
|
+
};
|
|
105
|
+
const handleBrandSelect = id => {
|
|
106
|
+
setSelectedBrands(prevState => ({
|
|
107
|
+
...prevState,
|
|
108
|
+
[id]: !prevState[id]
|
|
109
|
+
}));
|
|
110
|
+
};
|
|
111
|
+
const closeBottomSheet = (0, _react.useCallback)(() => {
|
|
112
|
+
bottomSheetRef.current?.close();
|
|
113
|
+
}, [
|
|
114
|
+
/* onClose */
|
|
115
|
+
]);
|
|
116
|
+
const handleApplyFilter = () => {
|
|
117
|
+
if (onActionButtonPress) {
|
|
118
|
+
const selectedSortOption = sortOptions.find(option => option.id == checkedItem);
|
|
119
|
+
const selectedBrandsList = brands.filter(brand => selectedBrands[brand.id]);
|
|
120
|
+
const filterResult = {
|
|
121
|
+
sort: selectedSortOption,
|
|
122
|
+
pointsRange: pointsRange,
|
|
123
|
+
selectedBrands: selectedBrandsList
|
|
124
|
+
};
|
|
125
|
+
onActionButtonPress(filterResult);
|
|
126
|
+
}
|
|
127
|
+
closeBottomSheet();
|
|
128
|
+
};
|
|
129
|
+
const handleResetAll = () => {
|
|
130
|
+
const resetBrands = brands.reduce((acc, option) => {
|
|
131
|
+
acc[option.id] = false;
|
|
132
|
+
return acc;
|
|
133
|
+
}, {});
|
|
134
|
+
setCheckedItem(null);
|
|
135
|
+
setSelectedBrands(resetBrands);
|
|
136
|
+
setPointsRange({
|
|
137
|
+
min: rangeMinLimit,
|
|
138
|
+
max: rangeInitialMax
|
|
139
|
+
});
|
|
140
|
+
setResetCounter(prev => prev + 1);
|
|
141
|
+
};
|
|
142
|
+
const renderBackdrop = (0, _react.useCallback)(props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_bottomSheet.BottomSheetBackdrop, {
|
|
143
|
+
...props,
|
|
144
|
+
appearsOnIndex: 0,
|
|
145
|
+
disappearsOnIndex: -1,
|
|
146
|
+
pressBehavior: "close",
|
|
147
|
+
opacity: 0.5
|
|
148
|
+
}), []);
|
|
149
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_bottomSheet.default, {
|
|
150
|
+
ref: bottomSheetRef,
|
|
151
|
+
index: visible ? bottomSheetIndex : -1,
|
|
152
|
+
onChange: handleSheetChanges,
|
|
153
|
+
handleComponent: () => null,
|
|
154
|
+
style: bottomSheetStyle,
|
|
155
|
+
backgroundStyle: {
|
|
156
|
+
backgroundColor: theme.surface
|
|
157
|
+
},
|
|
158
|
+
handleIndicatorStyle: [styles.handleIndicator, handleIndicatorStyle],
|
|
159
|
+
enablePanDownToClose: true,
|
|
160
|
+
backdropComponent: renderBackdrop,
|
|
161
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
162
|
+
style: [styles.container, containerStyle],
|
|
163
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
164
|
+
style: [styles.header, headerStyle],
|
|
165
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
166
|
+
style: [styles.title, titleStyle],
|
|
167
|
+
children: headerTitleText
|
|
168
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
169
|
+
onPress: handleResetAll,
|
|
170
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
171
|
+
style: [styles.resetText, resetTextStyle],
|
|
172
|
+
children: headerResetText
|
|
173
|
+
})
|
|
174
|
+
})]
|
|
175
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_bottomSheet.BottomSheetView, {
|
|
176
|
+
style: {
|
|
177
|
+
paddingBottom: 75
|
|
178
|
+
},
|
|
179
|
+
children: [sortOptions && sortOptions.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
180
|
+
style: [styles.section, sectionStyle, sortSectionStyle],
|
|
181
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
182
|
+
style: [styles.sectionTitle, sectionTitleStyle],
|
|
183
|
+
children: sortSectionTitle
|
|
184
|
+
}), sortOptions.map(option => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
185
|
+
style: [styles.optionRow, optionRowStyle],
|
|
186
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_expoCheckbox.default, {
|
|
187
|
+
value: option.id == checkedItem,
|
|
188
|
+
color: checkboxColor,
|
|
189
|
+
hitSlop: {
|
|
190
|
+
top: 10,
|
|
191
|
+
right: 10,
|
|
192
|
+
bottom: 10,
|
|
193
|
+
left: 10
|
|
194
|
+
},
|
|
195
|
+
onValueChange: () => handleCheckboxChange(option.id)
|
|
196
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
197
|
+
style: [styles.optionText, optionTextStyle],
|
|
198
|
+
children: option.name
|
|
199
|
+
})]
|
|
200
|
+
}, option.id))]
|
|
201
|
+
}), showPointsRange && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
202
|
+
style: [styles.section, sectionStyle],
|
|
203
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
204
|
+
style: [styles.sectionTitle, sectionTitleStyle],
|
|
205
|
+
children: pointsRangeSectionTitle
|
|
206
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_PointsRangeSelector.default, {
|
|
207
|
+
resetKey: resetCounter,
|
|
208
|
+
initialMax: rangeInitialMax,
|
|
209
|
+
initialMin: rangeInitialMin,
|
|
210
|
+
minLimit: rangeMinLimit,
|
|
211
|
+
maxLimit: rangeMaxLimit,
|
|
212
|
+
isRTL: isRTL,
|
|
213
|
+
containerStyle: pointsRangeContainerStyle,
|
|
214
|
+
inputsContainerStyle: pointsRangeInputsContainerStyle,
|
|
215
|
+
customInputContainerStyle: pointsRangeCustomInputContainerStyle,
|
|
216
|
+
customInputFieldStyle: pointsRangeCustomInputFieldStyle,
|
|
217
|
+
sliderContainerStyle: pointsRangeSliderContainerStyle,
|
|
218
|
+
multiSliderContainerStyle: pointsRangeMultiSliderContainerStyle,
|
|
219
|
+
trackStyle: pointsRangeTrackStyle,
|
|
220
|
+
selectedTrackStyle: pointsRangeSelectedTrackStyle,
|
|
221
|
+
unselectedTrackStyle: pointsRangeUnselectedTrackStyle,
|
|
222
|
+
markerStyle: pointsRangeMarkerStyle,
|
|
223
|
+
markerEnabledStyle: pointsRangeMarkerEnabledStyle,
|
|
224
|
+
markerDisabledStyle: pointsRangeMarkerDisabledStyle,
|
|
225
|
+
markerDotStyle: pointsRangeMarkerDotStyle,
|
|
226
|
+
inputProps: pointsRangeInputProps,
|
|
227
|
+
multiSliderProps: pointsRangeMultiSliderProps,
|
|
228
|
+
onChange: (min, max) => {
|
|
229
|
+
setPointsRange({
|
|
230
|
+
min,
|
|
231
|
+
max
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
})]
|
|
235
|
+
}), brands && brands.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
236
|
+
style: [styles.section, sectionStyle],
|
|
237
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
238
|
+
style: [styles.sectionTitle, sectionTitleStyle],
|
|
239
|
+
children: brandSectionTile
|
|
240
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
241
|
+
style: [styles.brandsGrid, brandContainerStyle],
|
|
242
|
+
children: brands.map(brand => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BrandIcon, {
|
|
243
|
+
size: 50,
|
|
244
|
+
selected: selectedBrands[brand.id],
|
|
245
|
+
onPress: () => handleBrandSelect(brand.id.toString()),
|
|
246
|
+
brandLogo: brand.logo,
|
|
247
|
+
brandName: brand.name,
|
|
248
|
+
selectionIndicatorIcon: brandActiveIcon || /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
249
|
+
name: "checkmark-outline",
|
|
250
|
+
color: theme.onPrimary
|
|
251
|
+
}),
|
|
252
|
+
selectionIndicatorStyle: brandActiveIconStyle
|
|
253
|
+
}, brand.id))
|
|
254
|
+
})]
|
|
255
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Button, {
|
|
256
|
+
style: [styles.applyButton, applyButtonStyle],
|
|
257
|
+
onPress: handleApplyFilter,
|
|
258
|
+
title: applyButtonText,
|
|
259
|
+
textStyle: [styles.applyButtonText, applyButtonTextStyle],
|
|
260
|
+
...applyButtonComponentProps
|
|
261
|
+
})]
|
|
262
|
+
})]
|
|
263
|
+
})
|
|
264
|
+
});
|
|
265
|
+
};
|
|
266
|
+
const createStyles = (theme, isRTL) => _reactNative.StyleSheet.create({
|
|
267
|
+
container: {
|
|
268
|
+
flex: 1,
|
|
269
|
+
paddingHorizontal: 25,
|
|
270
|
+
backgroundColor: theme.surface
|
|
271
|
+
},
|
|
272
|
+
handleIndicator: {
|
|
273
|
+
width: 40,
|
|
274
|
+
height: 4,
|
|
275
|
+
backgroundColor: theme.border,
|
|
276
|
+
alignSelf: "center",
|
|
277
|
+
marginTop: 8,
|
|
278
|
+
borderRadius: 2
|
|
279
|
+
},
|
|
280
|
+
header: {
|
|
281
|
+
flexDirection: isRTL ? "row-reverse" : "row",
|
|
282
|
+
justifyContent: "space-between",
|
|
283
|
+
alignItems: "center",
|
|
284
|
+
paddingVertical: 15,
|
|
285
|
+
borderBottomWidth: 1,
|
|
286
|
+
borderBottomColor: theme.border
|
|
287
|
+
},
|
|
288
|
+
title: {
|
|
289
|
+
fontSize: 18,
|
|
290
|
+
fontWeight: "bold",
|
|
291
|
+
color: theme.text,
|
|
292
|
+
textAlign: isRTL ? "right" : "left"
|
|
293
|
+
},
|
|
294
|
+
resetText: {
|
|
295
|
+
fontSize: 14,
|
|
296
|
+
color: theme.primary,
|
|
297
|
+
fontWeight: "500",
|
|
298
|
+
textAlign: isRTL ? "left" : "right"
|
|
299
|
+
},
|
|
300
|
+
section: {
|
|
301
|
+
marginTop: 20
|
|
302
|
+
},
|
|
303
|
+
sectionTitle: {
|
|
304
|
+
fontSize: 16,
|
|
305
|
+
fontWeight: "500",
|
|
306
|
+
color: theme.helper,
|
|
307
|
+
marginBottom: 15,
|
|
308
|
+
textAlign: isRTL ? "right" : "left"
|
|
309
|
+
},
|
|
310
|
+
optionRow: {
|
|
311
|
+
flexDirection: isRTL ? "row-reverse" : "row",
|
|
312
|
+
alignItems: "center",
|
|
313
|
+
marginBottom: 15,
|
|
314
|
+
gap: 5
|
|
315
|
+
},
|
|
316
|
+
optionText: {
|
|
317
|
+
fontSize: 15,
|
|
318
|
+
color: theme.text,
|
|
319
|
+
textAlign: isRTL ? "right" : "left",
|
|
320
|
+
marginLeft: isRTL ? 0 : 8,
|
|
321
|
+
marginRight: isRTL ? 8 : 0
|
|
322
|
+
},
|
|
323
|
+
brandsGrid: {
|
|
324
|
+
flexDirection: "row",
|
|
325
|
+
flexWrap: "wrap",
|
|
326
|
+
gap: 10,
|
|
327
|
+
justifyContent: isRTL ? "flex-end" : "flex-start"
|
|
328
|
+
},
|
|
329
|
+
applyButton: {
|
|
330
|
+
backgroundColor: theme.primary,
|
|
331
|
+
borderRadius: 30,
|
|
332
|
+
paddingVertical: 15,
|
|
333
|
+
alignItems: "center",
|
|
334
|
+
marginTop: 30
|
|
335
|
+
// Consider adding marginBottom if needed, especially inside BottomSheetView
|
|
336
|
+
// marginBottom: 20,
|
|
337
|
+
},
|
|
338
|
+
applyButtonText: {
|
|
339
|
+
color: theme.onPrimary,
|
|
340
|
+
fontSize: 16,
|
|
341
|
+
fontWeight: "bold"
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
var _default = exports.default = Filters;
|
|
345
|
+
//# sourceMappingURL=Filters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_bottomSheet","_PointsRangeSelector","_interopRequireDefault","_index","_vectorIcons","_expoCheckbox","_index2","_index3","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Filters","isRTL","isRTLProp","sortOptions","sortSectionTitle","sectionTitleStyle","sortSectionStyle","onActionButtonPress","rangeInitialMax","rangeInitialMin","rangeMaxLimit","rangeMinLimit","pointsRangeContainerStyle","pointsRangeInputsContainerStyle","pointsRangeCustomInputContainerStyle","pointsRangeCustomInputFieldStyle","pointsRangeSliderContainerStyle","pointsRangeMultiSliderContainerStyle","pointsRangeTrackStyle","pointsRangeSelectedTrackStyle","pointsRangeUnselectedTrackStyle","pointsRangeMarkerStyle","pointsRangeMarkerEnabledStyle","pointsRangeMarkerDisabledStyle","pointsRangeMarkerDotStyle","pointsRangeInputProps","pointsRangeMultiSliderProps","containerStyle","headerStyle","titleStyle","resetTextStyle","sectionStyle","optionRowStyle","optionTextStyle","checkboxColor","checkboxColorProp","applyButtonStyle","applyButtonTextStyle","bottomSheetStyle","bottomSheetIndex","handleIndicatorStyle","brands","brandContainerStyle","brandActiveIcon","showPointsRange","pointsRangeSectionTitle","brandActiveIconStyle","brandSectionTile","applyButtonText","headerResetText","headerTitleText","onClose","visible","applyButtonComponentProps","theme","themeIsRTL","useTheme","I18nManager","bottomSheetRef","useRef","styles","createStyles","primary","handleSheetChanges","useCallback","index","resetCounter","setResetCounter","useState","checkedItem","setCheckedItem","find","option","checked","id","selectedBrands","setSelectedBrands","reduce","acc","pointsRange","setPointsRange","min","max","handleCheckboxChange","handleBrandSelect","prevState","closeBottomSheet","current","close","handleApplyFilter","selectedSortOption","selectedBrandsList","filter","brand","filterResult","sort","handleResetAll","resetBrands","prev","renderBackdrop","props","jsx","BottomSheetBackdrop","appearsOnIndex","disappearsOnIndex","pressBehavior","opacity","ref","onChange","handleComponent","style","backgroundStyle","backgroundColor","surface","handleIndicator","enablePanDownToClose","backdropComponent","children","jsxs","View","container","header","Text","title","TouchableOpacity","onPress","resetText","BottomSheetView","paddingBottom","length","section","sectionTitle","map","optionRow","value","color","hitSlop","top","right","bottom","left","onValueChange","optionText","name","resetKey","initialMax","initialMin","minLimit","maxLimit","inputsContainerStyle","customInputContainerStyle","customInputFieldStyle","sliderContainerStyle","multiSliderContainerStyle","trackStyle","selectedTrackStyle","unselectedTrackStyle","markerStyle","markerEnabledStyle","markerDisabledStyle","markerDotStyle","inputProps","multiSliderProps","brandsGrid","BrandIcon","size","selected","toString","brandLogo","logo","brandName","selectionIndicatorIcon","Ionicons","onPrimary","selectionIndicatorStyle","Button","applyButton","textStyle","StyleSheet","create","flex","paddingHorizontal","width","height","border","alignSelf","marginTop","borderRadius","flexDirection","justifyContent","alignItems","paddingVertical","borderBottomWidth","borderBottomColor","fontSize","fontWeight","text","textAlign","helper","marginBottom","gap","marginLeft","marginRight","flexWrap","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Filters/Filters.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GA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,aAAa,EAAE,KAAK;IACpBe,QAAQ,EAAE,MAAM;IAChBH,GAAG,EAAE,EAAE;IACPX,cAAc,EAAE5L,KAAK,GAAG,UAAU,GAAG;EACvC,CAAC;EACD+K,WAAW,EAAE;IACXhE,eAAe,EAAE1D,KAAK,CAACQ,OAAO;IAC9B6H,YAAY,EAAE,EAAE;IAChBI,eAAe,EAAE,EAAE;IACnBD,UAAU,EAAE,QAAQ;IACpBJ,SAAS,EAAE;IACX;IACA;EACF,CAAC;EACD1I,eAAe,EAAE;IACfuF,KAAK,EAAEjF,KAAK,CAACuH,SAAS;IACtBqB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAA/N,OAAA,GAEUkB,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeMultiSlider = _interopRequireDefault(require("@ptomasroos/react-native-multi-slider"));
|
|
10
|
+
var _Input = _interopRequireDefault(require("../Input/Input.js"));
|
|
11
|
+
var _index = require("../../theme/index.js");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
|
+
// Get initial screen width (we'll refine this with onLayout)
|
|
17
|
+
const {
|
|
18
|
+
width: SCREEN_WIDTH
|
|
19
|
+
} = _reactNative.Dimensions.get("window");
|
|
20
|
+
const HORIZONTAL_PADDING = 40; // Adjust based on your container's padding
|
|
21
|
+
|
|
22
|
+
const PointsRangeSelector = ({
|
|
23
|
+
minLimit = 0,
|
|
24
|
+
maxLimit = 1000,
|
|
25
|
+
initialMin = 50,
|
|
26
|
+
initialMax = 500,
|
|
27
|
+
resetKey,
|
|
28
|
+
isRTL = _reactNative.I18nManager.isRTL,
|
|
29
|
+
onChange,
|
|
30
|
+
// Style props
|
|
31
|
+
containerStyle,
|
|
32
|
+
inputsContainerStyle,
|
|
33
|
+
customInputContainerStyle,
|
|
34
|
+
customInputFieldStyle,
|
|
35
|
+
sliderContainerStyle,
|
|
36
|
+
multiSliderContainerStyle,
|
|
37
|
+
trackStyle,
|
|
38
|
+
selectedTrackStyle,
|
|
39
|
+
unselectedTrackStyle,
|
|
40
|
+
markerStyle,
|
|
41
|
+
markerEnabledStyle,
|
|
42
|
+
markerDisabledStyle,
|
|
43
|
+
markerDotStyle,
|
|
44
|
+
inputProps = {},
|
|
45
|
+
multiSliderProps = {}
|
|
46
|
+
}) => {
|
|
47
|
+
const {
|
|
48
|
+
theme,
|
|
49
|
+
isRTL: rtl
|
|
50
|
+
} = (0, _index.useTheme)();
|
|
51
|
+
isRTL = rtl || isRTL;
|
|
52
|
+
const styles = createStyles(theme, isRTL);
|
|
53
|
+
const [values, setValues] = (0, _react.useState)([initialMin, initialMax]);
|
|
54
|
+
const [minInputValue, setMinInputValue] = (0, _react.useState)(initialMin.toString());
|
|
55
|
+
const [maxInputValue, setMaxInputValue] = (0, _react.useState)(initialMax.toString());
|
|
56
|
+
|
|
57
|
+
// Track container width for responsive sizing
|
|
58
|
+
const [containerWidth, setContainerWidth] = (0, _react.useState)(SCREEN_WIDTH - HORIZONTAL_PADDING);
|
|
59
|
+
|
|
60
|
+
// Handle container layout to get precise width
|
|
61
|
+
const onContainerLayout = (0, _react.useCallback)(event => {
|
|
62
|
+
const {
|
|
63
|
+
width
|
|
64
|
+
} = event.nativeEvent.layout;
|
|
65
|
+
setContainerWidth(width);
|
|
66
|
+
}, []);
|
|
67
|
+
(0, _react.useEffect)(() => {
|
|
68
|
+
setValues([initialMin, initialMax]);
|
|
69
|
+
setMinInputValue(initialMin.toString());
|
|
70
|
+
setMaxInputValue(initialMax.toString());
|
|
71
|
+
if (onChange) {
|
|
72
|
+
onChange(initialMin, initialMax);
|
|
73
|
+
}
|
|
74
|
+
}, [resetKey, initialMin, initialMax]);
|
|
75
|
+
const handleValuesChange = newValues => {
|
|
76
|
+
setValues(newValues);
|
|
77
|
+
setMinInputValue(newValues[0].toString());
|
|
78
|
+
setMaxInputValue(newValues[1].toString());
|
|
79
|
+
if (onChange) {
|
|
80
|
+
onChange(newValues[0], newValues[1]);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
const handleMinInputChange = text => {
|
|
84
|
+
setMinInputValue(text);
|
|
85
|
+
if (text && !isNaN(Number(text))) {
|
|
86
|
+
const newValue = Number(text);
|
|
87
|
+
if (newValue < minLimit || newValue >= values[1]) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
const newValues = [newValue, values[1]];
|
|
91
|
+
setValues(newValues);
|
|
92
|
+
if (onChange) {
|
|
93
|
+
onChange(newValues[0], newValues[1]);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
const handleMaxInputChange = text => {
|
|
98
|
+
setMaxInputValue(text);
|
|
99
|
+
if (text && !isNaN(Number(text))) {
|
|
100
|
+
const newValue = Number(text);
|
|
101
|
+
if (newValue > maxLimit || newValue <= values[0]) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
const newValues = [values[0], newValue];
|
|
105
|
+
setValues(newValues);
|
|
106
|
+
if (onChange) {
|
|
107
|
+
onChange(newValues[0], newValues[1]);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
// Custom marker component
|
|
113
|
+
const CustomMarker = ({
|
|
114
|
+
currentValue,
|
|
115
|
+
enabled
|
|
116
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
117
|
+
style: [styles.marker, enabled ? styles.markerEnabled : styles.markerDisabled, markerStyle, enabled ? markerEnabledStyle : markerDisabledStyle],
|
|
118
|
+
hitSlop: {
|
|
119
|
+
top: 10,
|
|
120
|
+
right: 10,
|
|
121
|
+
bottom: 10,
|
|
122
|
+
left: 10
|
|
123
|
+
},
|
|
124
|
+
children: enabled && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
125
|
+
style: [styles.markerDot, markerDotStyle]
|
|
126
|
+
})
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
// Prepare inputs in the correct order based on RTL setting
|
|
130
|
+
const renderInputs = () => {
|
|
131
|
+
const minInput = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Input.default, {
|
|
132
|
+
value: minInputValue,
|
|
133
|
+
onChangeText: handleMinInputChange,
|
|
134
|
+
keyboardType: "numeric",
|
|
135
|
+
placeholder: "Min",
|
|
136
|
+
containerStyle: [styles.customInputContainer, customInputContainerStyle],
|
|
137
|
+
inputContainerStyle: [styles.customInputField, customInputFieldStyle],
|
|
138
|
+
textAlign: isRTL ? "right" : "left",
|
|
139
|
+
...inputProps
|
|
140
|
+
});
|
|
141
|
+
const maxInput = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Input.default, {
|
|
142
|
+
value: maxInputValue,
|
|
143
|
+
onChangeText: handleMaxInputChange,
|
|
144
|
+
keyboardType: "numeric",
|
|
145
|
+
placeholder: "Max",
|
|
146
|
+
containerStyle: [styles.customInputContainer, customInputContainerStyle],
|
|
147
|
+
inputContainerStyle: [styles.customInputField, customInputFieldStyle],
|
|
148
|
+
textAlign: isRTL ? "right" : "left",
|
|
149
|
+
...inputProps
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
// If RTL, we swap the order of the inputs
|
|
153
|
+
return isRTL ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
154
|
+
children: [maxInput, minInput]
|
|
155
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
156
|
+
children: [minInput, maxInput]
|
|
157
|
+
});
|
|
158
|
+
};
|
|
159
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
160
|
+
style: [styles.container, containerStyle],
|
|
161
|
+
onLayout: onContainerLayout,
|
|
162
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
163
|
+
style: [styles.inputsContainer, inputsContainerStyle],
|
|
164
|
+
children: renderInputs()
|
|
165
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
166
|
+
style: [styles.sliderContainer, sliderContainerStyle],
|
|
167
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeMultiSlider.default, {
|
|
168
|
+
values: values,
|
|
169
|
+
min: minLimit,
|
|
170
|
+
max: maxLimit,
|
|
171
|
+
step: 10,
|
|
172
|
+
allowOverlap: false,
|
|
173
|
+
snapped: true,
|
|
174
|
+
onValuesChange: handleValuesChange,
|
|
175
|
+
selectedStyle: [styles.selectedTrack, selectedTrackStyle],
|
|
176
|
+
unselectedStyle: [styles.unselectedTrack, unselectedTrackStyle],
|
|
177
|
+
containerStyle: [styles.sliderContainerStyle, multiSliderContainerStyle],
|
|
178
|
+
trackStyle: [styles.track, trackStyle],
|
|
179
|
+
sliderLength: containerWidth // Use measured width for slider length
|
|
180
|
+
,
|
|
181
|
+
customMarker: CustomMarker
|
|
182
|
+
// For RTL support with MultiSlider
|
|
183
|
+
,
|
|
184
|
+
enabledsOne: true,
|
|
185
|
+
enabledTwo: true,
|
|
186
|
+
isRTL: isRTL,
|
|
187
|
+
...multiSliderProps
|
|
188
|
+
})
|
|
189
|
+
})]
|
|
190
|
+
});
|
|
191
|
+
};
|
|
192
|
+
const createStyles = (theme, isRTL) => _reactNative.StyleSheet.create({
|
|
193
|
+
container: {
|
|
194
|
+
// Default container styling
|
|
195
|
+
},
|
|
196
|
+
inputsContainer: {
|
|
197
|
+
flexDirection: "row",
|
|
198
|
+
justifyContent: "space-between",
|
|
199
|
+
marginBottom: 20
|
|
200
|
+
},
|
|
201
|
+
customInputContainer: {
|
|
202
|
+
width: "48%"
|
|
203
|
+
},
|
|
204
|
+
customInputField: {
|
|
205
|
+
minHeight: 40,
|
|
206
|
+
textAlign: isRTL ? "right" : "left"
|
|
207
|
+
},
|
|
208
|
+
sliderContainer: {
|
|
209
|
+
marginVertical: 10,
|
|
210
|
+
alignItems: "center",
|
|
211
|
+
width: "100%"
|
|
212
|
+
// Apply any RTL specific styling if needed
|
|
213
|
+
// transform: isRTL ? [{ scaleX: -1 }] : [],
|
|
214
|
+
},
|
|
215
|
+
sliderContainerStyle: {
|
|
216
|
+
height: 30,
|
|
217
|
+
width: "100%"
|
|
218
|
+
},
|
|
219
|
+
track: {
|
|
220
|
+
height: 4,
|
|
221
|
+
borderRadius: 2
|
|
222
|
+
},
|
|
223
|
+
selectedTrack: {
|
|
224
|
+
backgroundColor: theme.primary
|
|
225
|
+
},
|
|
226
|
+
unselectedTrack: {
|
|
227
|
+
backgroundColor: theme.border
|
|
228
|
+
},
|
|
229
|
+
marker: {
|
|
230
|
+
width: 20,
|
|
231
|
+
height: 20,
|
|
232
|
+
borderRadius: 12,
|
|
233
|
+
backgroundColor: theme.surface,
|
|
234
|
+
borderWidth: 2,
|
|
235
|
+
shadowColor: "#000",
|
|
236
|
+
shadowOffset: {
|
|
237
|
+
width: 0,
|
|
238
|
+
height: 2
|
|
239
|
+
},
|
|
240
|
+
shadowOpacity: 0.25,
|
|
241
|
+
shadowRadius: 2.84,
|
|
242
|
+
elevation: 3,
|
|
243
|
+
alignItems: "center",
|
|
244
|
+
justifyContent: "center",
|
|
245
|
+
// Flip the marker back when parent is flipped for RTL
|
|
246
|
+
transform: isRTL ? [{
|
|
247
|
+
scaleX: -1
|
|
248
|
+
}] : []
|
|
249
|
+
},
|
|
250
|
+
markerEnabled: {
|
|
251
|
+
borderColor: theme.primary
|
|
252
|
+
},
|
|
253
|
+
markerDisabled: {
|
|
254
|
+
borderColor: theme.disabled
|
|
255
|
+
},
|
|
256
|
+
markerDot: {
|
|
257
|
+
width: 18,
|
|
258
|
+
height: 18,
|
|
259
|
+
borderRadius: 12,
|
|
260
|
+
backgroundColor: theme.primary
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
var _default = exports.default = PointsRangeSelector;
|
|
264
|
+
//# sourceMappingURL=PointsRangeSelector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeMultiSlider","_interopRequireDefault","_Input","_index","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","width","SCREEN_WIDTH","Dimensions","HORIZONTAL_PADDING","PointsRangeSelector","minLimit","maxLimit","initialMin","initialMax","resetKey","isRTL","I18nManager","onChange","containerStyle","inputsContainerStyle","customInputContainerStyle","customInputFieldStyle","sliderContainerStyle","multiSliderContainerStyle","trackStyle","selectedTrackStyle","unselectedTrackStyle","markerStyle","markerEnabledStyle","markerDisabledStyle","markerDotStyle","inputProps","multiSliderProps","theme","rtl","useTheme","styles","createStyles","values","setValues","useState","minInputValue","setMinInputValue","toString","maxInputValue","setMaxInputValue","containerWidth","setContainerWidth","onContainerLayout","useCallback","event","nativeEvent","layout","useEffect","handleValuesChange","newValues","handleMinInputChange","text","isNaN","Number","newValue","handleMaxInputChange","CustomMarker","currentValue","enabled","jsx","View","style","marker","markerEnabled","markerDisabled","hitSlop","top","right","bottom","left","children","markerDot","renderInputs","minInput","value","onChangeText","keyboardType","placeholder","customInputContainer","inputContainerStyle","customInputField","textAlign","maxInput","jsxs","Fragment","container","onLayout","inputsContainer","sliderContainer","min","max","step","allowOverlap","snapped","onValuesChange","selectedStyle","selectedTrack","unselectedStyle","unselectedTrack","track","sliderLength","customMarker","enabledsOne","enabledTwo","StyleSheet","create","flexDirection","justifyContent","marginBottom","minHeight","marginVertical","alignItems","height","borderRadius","backgroundColor","primary","border","surface","borderWidth","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","transform","scaleX","borderColor","disabled","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Filters/PointsRangeSelector.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAUA,IAAAE,uBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,MAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAAkD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAG,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAR,wBAAAQ,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAA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