@redneckz/wildless-cms-uni-blocks 0.14.28 → 0.14.30
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/bin/migration-scripts/0.14.28.js +28 -0
- package/bin/migration-scripts/0.14.29.js +73 -0
- package/bin/migration-scripts/0.14.30.js +54 -0
- package/bin/migration-scripts/0.14.4.js +4 -4
- package/bin/utils.js +54 -7
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +219 -133
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/bundle/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/bundle/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/bundle/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/bundle/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/bundle/hooks/useResizeObserver.d.ts +3 -0
- package/bundle/model/HeadlineType.d.ts +0 -8
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/bundle/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/bundle/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/bundle/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/bundle/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/dist/components/Blocks.js +0 -6
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -4
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +3 -2
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/dist/components/Calculator/RefinancingCalculatorForm.js +9 -3
- package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/dist/components/Depository/Depository.js +12 -3
- package/dist/components/Depository/Depository.js.map +1 -1
- package/dist/components/Depository/DepositoryFilter.js +1 -1
- package/dist/components/Depository/DepositoryFilter.js.map +1 -1
- package/dist/components/Depository/DepositoryItem.js +1 -1
- package/dist/components/Depository/DepositoryItem.js.map +1 -1
- package/dist/components/Depository/useDepository.js +11 -1
- package/dist/components/Depository/useDepository.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +2 -2
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/dist/components/Headline/headlineVersionStyles.js +1 -12
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/OfficesAtmsMap/Badge.js +2 -2
- package/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/dist/components/OfficesAtmsMap/CardCell.js +6 -4
- package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/dist/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/dist/components/OfficesAtmsMap/getScheduleDescription.js +36 -0
- package/dist/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
- package/dist/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js +28 -0
- package/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/dist/components/OfficesAtmsMap/renderBusinessSchedule.js +32 -0
- package/dist/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/dist/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
- package/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/dist/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/dist/components/StepsBlock/StepsBlock.js +3 -2
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/hooks/useResizeObserver.d.ts +3 -0
- package/dist/hooks/useResizeObserver.js +22 -0
- package/dist/hooks/useResizeObserver.js.map +1 -0
- package/dist/model/HeadlineType.d.ts +0 -8
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/dist/ui-kit/BaseTile/BaseTile.js +2 -2
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/dist/ui-kit/DatePicker/DatePicker.js +1 -1
- package/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/dist/ui-kit/Foldable/FoldableSection.js +5 -4
- package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/dist/ui-kit/List/List.js +1 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListItem.js +1 -1
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/dist/ui-kit/PriceList/PriceList.js +9 -0
- package/dist/ui-kit/PriceList/PriceList.js.map +1 -0
- package/dist/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/{mobile/dist/components/PictureText/PictureTextContent.js → dist/ui-kit/PriceList/PriceListProps.js} +1 -1
- package/dist/ui-kit/PriceList/PriceListProps.js.map +1 -0
- package/dist/ui-kit/Select/Select.js +1 -0
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/dist/ui-kit/Select/SelectPopup.js +2 -2
- package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/dist/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/dist/ui-kit/Select/useSelectPopup.js +2 -2
- package/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Blocks.js +0 -6
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -4
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +3 -2
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/lib/components/Calculator/RefinancingCalculatorForm.js +10 -4
- package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +0 -2
- package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +0 -2
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +2 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/lib/components/Depository/Depository.js +12 -3
- package/lib/components/Depository/Depository.js.map +1 -1
- package/lib/components/Depository/DepositoryFilter.js +1 -1
- package/lib/components/Depository/DepositoryFilter.js.map +1 -1
- package/lib/components/Depository/DepositoryItem.js +1 -1
- package/lib/components/Depository/DepositoryItem.js.map +1 -1
- package/lib/components/Depository/useDepository.js +11 -1
- package/lib/components/Depository/useDepository.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +2 -2
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/lib/components/Headline/headlineVersionStyles.js +0 -11
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/OfficesAtmsMap/Badge.js +2 -2
- package/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/lib/components/OfficesAtmsMap/CardCell.js +6 -4
- package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/lib/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/lib/components/OfficesAtmsMap/getScheduleDescription.js +32 -0
- package/lib/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
- package/lib/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js +25 -0
- package/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/lib/components/OfficesAtmsMap/renderBusinessSchedule.js +27 -0
- package/lib/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/lib/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
- package/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
- package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +1 -0
- package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +1 -0
- package/lib/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/lib/components/StepsBlock/StepsBlock.js +3 -2
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/hooks/useResizeObserver.d.ts +3 -0
- package/lib/hooks/useResizeObserver.js +19 -0
- package/lib/hooks/useResizeObserver.js.map +1 -0
- package/lib/model/HeadlineType.d.ts +0 -8
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/lib/ui-kit/BaseTile/BaseTile.js +2 -2
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/lib/ui-kit/DatePicker/DatePicker.js +1 -1
- package/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/lib/ui-kit/Foldable/FoldableSection.js +6 -5
- package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/lib/ui-kit/List/List.js +1 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListItem.js +1 -1
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/lib/ui-kit/PriceList/PriceList.fixture.d.ts +6 -0
- package/lib/ui-kit/PriceList/PriceList.js +7 -0
- package/lib/ui-kit/PriceList/PriceList.js.map +1 -0
- package/lib/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/lib/ui-kit/PriceList/PriceListProps.js +2 -0
- package/lib/ui-kit/PriceList/PriceListProps.js.map +1 -0
- package/lib/ui-kit/Select/Select.js +1 -0
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/lib/ui-kit/Select/SelectPopup.js +2 -2
- package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/lib/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/lib/ui-kit/Select/useSelectPopup.js +2 -2
- package/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +88 -88
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/mobile/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/mobile/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/mobile/bundle/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/mobile/bundle/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/mobile/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/mobile/bundle/hooks/useResizeObserver.d.ts +3 -0
- package/mobile/bundle/model/HeadlineType.d.ts +0 -8
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/mobile/bundle/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/mobile/bundle/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/mobile/bundle/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/mobile/bundle/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/mobile/dist/components/Blocks.js +0 -4
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +3 -2
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +9 -3
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/mobile/dist/components/Depository/Depository.js +12 -3
- package/mobile/dist/components/Depository/Depository.js.map +1 -1
- package/mobile/dist/components/Depository/DepositoryFilter.js +1 -1
- package/mobile/dist/components/Depository/DepositoryFilter.js.map +1 -1
- package/mobile/dist/components/Depository/DepositoryItem.js +1 -1
- package/mobile/dist/components/Depository/DepositoryItem.js.map +1 -1
- package/mobile/dist/components/Depository/useDepository.js +11 -1
- package/mobile/dist/components/Depository/useDepository.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js +2 -2
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/mobile/dist/components/Headline/headlineVersionStyles.js +1 -12
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/Badge.js +2 -2
- package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js +6 -4
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/mobile/dist/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/mobile/dist/components/OfficesAtmsMap/getScheduleDescription.js +36 -0
- package/mobile/dist/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/mobile/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js +28 -0
- package/mobile/dist/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/mobile/dist/components/OfficesAtmsMap/renderBusinessSchedule.js +32 -0
- package/mobile/dist/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/mobile/dist/hooks/useResizeObserver.d.ts +3 -0
- package/mobile/dist/hooks/useResizeObserver.js +22 -0
- package/mobile/dist/hooks/useResizeObserver.js.map +1 -0
- package/mobile/dist/model/HeadlineType.d.ts +0 -8
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +2 -2
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/dist/ui-kit/DatePicker/DatePicker.js +1 -1
- package/mobile/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/FoldableSection.js +5 -4
- package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/mobile/dist/ui-kit/List/List.js +1 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/mobile/dist/ui-kit/PriceList/PriceList.js +9 -0
- package/mobile/dist/ui-kit/PriceList/PriceList.js.map +1 -0
- package/mobile/dist/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/{dist/components/PictureText/PictureTextContent.js → mobile/dist/ui-kit/PriceList/PriceListProps.js} +1 -1
- package/mobile/dist/ui-kit/PriceList/PriceListProps.js.map +1 -0
- package/mobile/dist/ui-kit/Select/Select.js +1 -0
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/mobile/dist/ui-kit/Select/SelectPopup.js +2 -2
- package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/dist/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/mobile/dist/ui-kit/Select/useSelectPopup.js +2 -2
- package/mobile/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/Blocks.js +0 -4
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +3 -2
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.d.ts +1 -0
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +10 -4
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +2 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
- package/mobile/lib/components/Depository/Depository.js +12 -3
- package/mobile/lib/components/Depository/Depository.js.map +1 -1
- package/mobile/lib/components/Depository/DepositoryFilter.js +1 -1
- package/mobile/lib/components/Depository/DepositoryFilter.js.map +1 -1
- package/mobile/lib/components/Depository/DepositoryItem.js +1 -1
- package/mobile/lib/components/Depository/DepositoryItem.js.map +1 -1
- package/mobile/lib/components/Depository/useDepository.js +11 -1
- package/mobile/lib/components/Depository/useDepository.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js +2 -2
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +1 -2
- package/mobile/lib/components/Headline/headlineVersionStyles.js +0 -11
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/Badge.js +2 -2
- package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -2
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js +6 -4
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +5 -0
- package/mobile/lib/components/OfficesAtmsMap/getScheduleDescription.d.ts +4 -0
- package/mobile/lib/components/OfficesAtmsMap/getScheduleDescription.js +32 -0
- package/mobile/lib/components/OfficesAtmsMap/getScheduleDescription.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +3 -0
- package/mobile/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js +25 -0
- package/mobile/lib/components/OfficesAtmsMap/getWorkScheduleWeek.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +8 -0
- package/mobile/lib/components/OfficesAtmsMap/renderBusinessSchedule.js +27 -0
- package/mobile/lib/components/OfficesAtmsMap/renderBusinessSchedule.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +2 -2
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js +24 -28
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
- package/mobile/lib/hooks/useResizeObserver.d.ts +3 -0
- package/mobile/lib/hooks/useResizeObserver.js +19 -0
- package/mobile/lib/hooks/useResizeObserver.js.map +1 -0
- package/mobile/lib/model/HeadlineType.d.ts +0 -8
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +9 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +2 -2
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/lib/ui-kit/DatePicker/DatePicker.js +1 -1
- package/mobile/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/FoldableSection.js +6 -5
- package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/mobile/lib/ui-kit/List/List.js +1 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/PriceList/PriceList.d.ts +2 -0
- package/mobile/lib/ui-kit/PriceList/PriceList.js +7 -0
- package/mobile/lib/ui-kit/PriceList/PriceList.js.map +1 -0
- package/mobile/lib/ui-kit/PriceList/PriceListProps.d.ts +9 -0
- package/mobile/lib/ui-kit/PriceList/PriceListProps.js +2 -0
- package/mobile/lib/ui-kit/PriceList/PriceListProps.js.map +1 -0
- package/mobile/lib/ui-kit/Select/Select.js +1 -0
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/Select/SelectPopup.d.ts +5 -3
- package/mobile/lib/ui-kit/Select/SelectPopup.js +2 -2
- package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/lib/ui-kit/Select/useSelectPopup.d.ts +1 -1
- package/mobile/lib/ui-kit/Select/useSelectPopup.js +2 -2
- package/mobile/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/mobile/src/common.css +1 -0
- package/mobile/src/components/Blocks.ts +0 -4
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
- package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +14 -3
- package/mobile/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +11 -1
- package/mobile/src/components/Carousel/Carousel.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +20 -2
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -1
- package/mobile/src/components/Depository/Depository.tsx +25 -8
- package/mobile/src/components/Depository/DepositoryFilter.tsx +1 -1
- package/mobile/src/components/Depository/DepositoryItem.tsx +6 -2
- package/mobile/src/components/Depository/useDepository.ts +15 -6
- package/mobile/src/components/Footer/SocialMedia.tsx +2 -2
- package/mobile/src/components/Headline/headlineVersionStyles.ts +1 -13
- package/mobile/src/components/OfficesAtmsMap/Badge.tsx +2 -2
- package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +33 -21
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -0
- package/mobile/src/components/OfficesAtmsMap/getScheduleDescription.tsx +48 -0
- package/mobile/src/components/OfficesAtmsMap/getWorkScheduleWeek.tsx +28 -0
- package/mobile/src/components/OfficesAtmsMap/renderBusinessSchedule.tsx +54 -0
- package/mobile/src/components/OfficesAtmsMap/renderOfficeCard.tsx +46 -41
- package/mobile/src/components/RichTextBlock/RichTextBlockContent.ts +2 -1
- package/mobile/src/hooks/useResizeObserver.ts +28 -0
- package/mobile/src/model/HeadlineType.ts +0 -10
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +3 -0
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +12 -1
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +3 -1
- package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +16 -11
- package/mobile/src/ui-kit/List/List.tsx +1 -1
- package/mobile/src/ui-kit/List/ListItem.tsx +15 -17
- package/mobile/src/ui-kit/PriceList/PriceList.tsx +25 -0
- package/mobile/src/ui-kit/PriceList/PriceListProps.ts +11 -0
- package/mobile/src/ui-kit/Select/Select.tsx +1 -0
- package/mobile/src/ui-kit/Select/SelectPopup.tsx +41 -34
- package/mobile/src/ui-kit/Select/useSelectPopup.tsx +2 -0
- package/package.json +1 -1
- package/src/common.css +1 -0
- package/src/components/Blocks.mobile.ts +0 -4
- package/src/components/Blocks.ts +0 -6
- package/src/components/Calculator/Calculator.fixture.mobile.tsx +15 -0
- package/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
- package/src/components/Calculator/RefinancingCalculatorForm.tsx +14 -3
- package/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +11 -1
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -34
- package/src/components/Carousel/Carousel.fixture.tsx +2 -52
- package/src/components/Carousel/Carousel.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +44 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +20 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -1
- package/src/components/Depository/Depository.tsx +25 -8
- package/src/components/Depository/DepositoryFilter.tsx +1 -1
- package/src/components/Depository/DepositoryItem.tsx +6 -2
- package/src/components/Depository/useDepository.ts +15 -6
- package/src/components/Footer/SocialMedia.tsx +2 -2
- package/src/components/Headline/headlineVersionStyles.ts +1 -13
- package/src/components/OfficesAtmsMap/Badge.tsx +2 -2
- package/src/components/OfficesAtmsMap/CardCell.tsx +33 -21
- package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -0
- package/src/components/OfficesAtmsMap/getScheduleDescription.tsx +48 -0
- package/src/components/OfficesAtmsMap/getWorkScheduleWeek.tsx +28 -0
- package/src/components/OfficesAtmsMap/renderBusinessSchedule.tsx +54 -0
- package/src/components/OfficesAtmsMap/renderOfficeCard.tsx +46 -41
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +42 -0
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +42 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +15 -0
- package/src/components/RichTextBlock/RichTextBlockContent.ts +2 -1
- package/src/components/StepsBlock/StepsBlock.tsx +7 -4
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +4 -12
- package/src/hooks/useResizeObserver.ts +28 -0
- package/src/model/HeadlineType.ts +0 -10
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +3 -0
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +12 -1
- package/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
- package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/src/ui-kit/DatePicker/DatePicker.tsx +3 -1
- package/src/ui-kit/Foldable/FoldableSection.tsx +16 -11
- package/src/ui-kit/List/List.tsx +1 -1
- package/src/ui-kit/List/ListItem.tsx +15 -17
- package/src/ui-kit/PriceList/PriceList.fixture.tsx +16 -0
- package/src/ui-kit/PriceList/PriceList.tsx +25 -0
- package/src/ui-kit/PriceList/PriceListProps.ts +11 -0
- package/src/ui-kit/Select/Select.tsx +1 -0
- package/src/ui-kit/Select/SelectPopup.tsx +41 -34
- package/src/ui-kit/Select/useSelectPopup.tsx +2 -0
- package/tailwind.config.cjs +23 -20
- package/bin/migration-scripts/0.14.12.js +0 -34
- package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/bundle/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/bundle/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/bundle/components/PictureText/PictureText.d.ts +0 -5
- package/bundle/components/PictureText/PictureTextContent.d.ts +0 -11
- package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
- package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/dist/components/CarouselProductCard/CarouselProductCard.js +0 -26
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/dist/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -8
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/dist/components/OfficesAtmsMap/renderLunchHour.js +0 -10
- package/dist/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
- package/dist/components/PictureText/PictureText.d.ts +0 -5
- package/dist/components/PictureText/PictureText.js +0 -9
- package/dist/components/PictureText/PictureText.js.map +0 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +0 -11
- package/dist/components/PictureText/PictureTextContent.js.map +0 -1
- package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
- package/dist/components/PictureText/renderInsuranceSumMonth.js +0 -9
- package/dist/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +0 -13
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.mobile.d.ts +0 -13
- package/lib/components/CarouselProductCard/CarouselProductCard.js +0 -24
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/lib/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.fixture.d.ts +0 -8
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -6
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/lib/components/OfficesAtmsMap/renderLunchHour.js +0 -7
- package/lib/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
- package/lib/components/PictureText/PictureText.d.ts +0 -5
- package/lib/components/PictureText/PictureText.fixture.d.ts +0 -14
- package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +0 -14
- package/lib/components/PictureText/PictureText.js +0 -7
- package/lib/components/PictureText/PictureText.js.map +0 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +0 -11
- package/lib/components/PictureText/PictureTextContent.js +0 -2
- package/lib/components/PictureText/PictureTextContent.js.map +0 -1
- package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +0 -1
- package/lib/components/PictureText/renderInsuranceSumMonth.js +0 -6
- package/lib/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/mobile/bundle/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/mobile/bundle/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/mobile/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/mobile/bundle/components/PictureText/PictureText.d.ts +0 -5
- package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +0 -11
- package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +0 -26
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -8
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js +0 -10
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
- package/mobile/dist/components/PictureText/PictureText.d.ts +0 -5
- package/mobile/dist/components/PictureText/PictureText.js +0 -9
- package/mobile/dist/components/PictureText/PictureText.js.map +0 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +0 -11
- package/mobile/dist/components/PictureText/PictureTextContent.js.map +0 -1
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +0 -9
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +0 -24
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -6
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +0 -2
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js +0 -7
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js.map +0 -1
- package/mobile/lib/components/PictureText/PictureText.d.ts +0 -5
- package/mobile/lib/components/PictureText/PictureText.js +0 -7
- package/mobile/lib/components/PictureText/PictureText.js.map +0 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +0 -11
- package/mobile/lib/components/PictureText/PictureTextContent.js +0 -2
- package/mobile/lib/components/PictureText/PictureTextContent.js.map +0 -1
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +0 -2
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +0 -6
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +0 -1
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +0 -20
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +0 -115
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.ui.json +0 -21
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +0 -39
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.example.json +0 -6
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +0 -15
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.ui.json +0 -7
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts +0 -7
- package/mobile/src/components/OfficesAtmsMap/renderLunchHour.tsx +0 -28
- package/mobile/src/components/PictureText/PictureText.example.json +0 -40
- package/mobile/src/components/PictureText/PictureText.tsx +0 -36
- package/mobile/src/components/PictureText/PictureText.ui.json +0 -23
- package/mobile/src/components/PictureText/PictureTextContent.ts +0 -13
- package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +0 -21
- package/src/components/CarouselProductCard/CarouselProductCard.example.json +0 -20
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.mobile.tsx +0 -92
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +0 -96
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +0 -115
- package/src/components/CarouselProductCard/CarouselProductCard.ui.json +0 -21
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +0 -39
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.example.json +0 -6
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +0 -26
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +0 -15
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.ui.json +0 -7
- package/src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts +0 -7
- package/src/components/OfficesAtmsMap/renderLunchHour.tsx +0 -28
- package/src/components/PictureText/PictureText.example.json +0 -40
- package/src/components/PictureText/PictureText.fixture.mobile.tsx +0 -116
- package/src/components/PictureText/PictureText.fixture.tsx +0 -130
- package/src/components/PictureText/PictureText.tsx +0 -36
- package/src/components/PictureText/PictureText.ui.json +0 -23
- package/src/components/PictureText/PictureTextContent.ts +0 -13
- package/src/components/PictureText/renderInsuranceSumMonth.tsx +0 -21
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import '../../setup-fixture';
|
|
3
|
-
import { type CarouselProductCardContent } from './CarouselProductCardContent';
|
|
4
|
-
export declare const PRODUCT_CARD: CarouselProductCardContent;
|
|
5
|
-
export declare const PRODUCT_CARD_SMALL: CarouselProductCardContent;
|
|
6
|
-
export declare const PRODUCT_CARD_EVENT: CarouselProductCardContent;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
default: JSX.Element;
|
|
9
|
-
secondary: JSX.Element;
|
|
10
|
-
small: JSX.Element;
|
|
11
|
-
event: JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import '../../setup-fixture';
|
|
3
|
-
import { type CarouselProductCardContent } from './CarouselProductCardContent';
|
|
4
|
-
export declare const PRODUCT_CARD: CarouselProductCardContent;
|
|
5
|
-
export declare const PRODUCT_CARD_SMALL: CarouselProductCardContent;
|
|
6
|
-
export declare const PRODUCT_CARD_EVENT: CarouselProductCardContent;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
default: JSX.Element;
|
|
9
|
-
secondary: JSX.Element;
|
|
10
|
-
small: JSX.Element;
|
|
11
|
-
event: JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { AlignStyles } from '../../model/AlignStyles.js';
|
|
4
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
6
|
-
import { Img } from '../../ui-kit/Img/Img.js';
|
|
7
|
-
import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper.js';
|
|
8
|
-
import { List } from '../../ui-kit/List/List.js';
|
|
9
|
-
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
10
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
11
|
-
import { style } from '../../utils/style.js';
|
|
12
|
-
import { HEADLINE_SMALL_VERSION } from '../Headline/headlineVersionStyles.js';
|
|
13
|
-
export const CarouselProductCard = JSX(({ additionalDescription, align = AlignStyles, button = {}, className = '', description, headlineSmallVersion = 'H6', href, icon, isDotted = true, isButtonFullWidth = true, isImageFullWidth = false, isTopPosition = false, items = [], target, title, version = 'primary', ...rest }) => {
|
|
14
|
-
return (_jsxs(BlockWrapper, { className: style('flex flex-col justify-between', className), defaultPadding: "p-0", version: version, ...rest, children: [_jsxs(LinkWrapper, { className: "p-m flex flex-col gap-xs", href: href, target: target, children: [renderCardTitle(headlineSmallVersion, title, align), renderDescription(description, align), renderItems(items, isDotted, version), renderAdditionalDescription(additionalDescription, align), renderImage(icon, isImageFullWidth, isTopPosition)] }), renderButtonsSection([button], {
|
|
15
|
-
className: style('p-m pt-0', isButtonFullWidth ? '' : 'self-center'),
|
|
16
|
-
isVertical: isButtonFullWidth,
|
|
17
|
-
})] }));
|
|
18
|
-
});
|
|
19
|
-
const renderImage = (image, isImageFullWidth, isTopPosition) => (_jsxs("div", { className: style('flex gap-y-lg justify-center', isImageFullWidth ? 'min-w-full h-full' : '', isTopPosition ? 'order-first' : 'order-last'), children: [image?.src ? _jsx(Img, { image: image }) : null, image?.icon ? (_jsx(Img, { className: style(!isImageFullWidth ? 'w-8 h-8 min-w-8' : 'w-full h-full'), image: image })) : null] }));
|
|
20
|
-
const renderCardTitle = (headlineSmallVersion, title, align) => title ? (_jsx(Text, { align: align, size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title })) : null;
|
|
21
|
-
const renderDescription = (description, align) => description ? (_jsx(Paragraph, { align: align, size: "text-l", children: description })) : null;
|
|
22
|
-
const renderAdditionalDescription = (additionalDescription, align) => additionalDescription ? (_jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", align: align, children: additionalDescription })) : null;
|
|
23
|
-
const renderItems = (items, isDotted, version = 'primary') => items?.length ? (_jsx(List, { className: style('text-s', version === 'primary' ? '!text-secondary-text' : ''), items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, listItemSize: "S" })) : null;
|
|
24
|
-
//# sourceMappingURL=CarouselProductCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselProductCard.js","sourceRoot":"","sources":["../../../src/components/CarouselProductCard/CarouselProductCard.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type BulletsProps } from '../../model/Bullets';
|
|
2
|
-
import { type AdditionalDescriptionProps, type AlignProps, type HeadlineSmallProps } from '../../model/HeadlineType';
|
|
3
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
4
|
-
import { type LinkCommonProps } from '../../model/LinkProps';
|
|
5
|
-
import { type IconProps } from '../../model/Picture';
|
|
6
|
-
import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
7
|
-
/**
|
|
8
|
-
* @title Элемент списка
|
|
9
|
-
*/
|
|
10
|
-
export interface ListProps {
|
|
11
|
-
/** @title Текст */
|
|
12
|
-
text?: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @title Карточка продуктовой карусели
|
|
16
|
-
*/
|
|
17
|
-
export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmallProps & AdditionalDescriptionProps & IconProps & BulletsProps & LinkCommonProps & AlignProps & {
|
|
18
|
-
/** @title Список */
|
|
19
|
-
items?: ListProps[];
|
|
20
|
-
/** @title Изображение на всю ширину */
|
|
21
|
-
isImageFullWidth?: boolean;
|
|
22
|
-
/** @title Картинка сверху над текстом */
|
|
23
|
-
isTopPosition?: boolean;
|
|
24
|
-
/** @title Кнопка по всей ширине */
|
|
25
|
-
isButtonFullWidth?: boolean;
|
|
26
|
-
button?: ButtonContent;
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselProductCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselProductCard/CarouselProductCardContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type CarouselRichTextCardContent } from './CarouselRichTextCardContent';
|
|
3
|
-
export interface CarouselRichTextCardProps extends CarouselRichTextCardContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const CarouselRichTextCard: import("@redneckz/uni-jsx").UNIComponent<CarouselRichTextCardProps, any, any>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import '../../setup-fixture';
|
|
3
|
-
import { type CarouselRichTextCardContent } from './CarouselRichTextCardContent';
|
|
4
|
-
export declare const RICH_CARD: CarouselRichTextCardContent;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
default: JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
-
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
5
|
-
export const CarouselRichTextCard = JSX(({ className = '', __html, richVersion = 'striped', ...rest }) => (_jsx(BlockWrapper, { className: className, ...rest, children: _jsx(RichText, { __html: __html, richVersion: richVersion }) })));
|
|
6
|
-
//# sourceMappingURL=CarouselRichTextCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRichTextCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRichTextCard/CarouselRichTextCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAK1D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAChE,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,KAAM,IAAI,YAC1C,KAAC,QAAQ,IAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI,GACzC,CAChB,CACF,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
2
|
-
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
3
|
-
/**
|
|
4
|
-
* @title Карточка c форматированным вводом
|
|
5
|
-
*/
|
|
6
|
-
export declare type CarouselRichTextCardContent = UniBlockContent & RichTextProps;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRichTextCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
3
|
-
export const renderLunchHour = (lunchHour) => {
|
|
4
|
-
const hasLunch = /\d+/gi.test(lunchHour);
|
|
5
|
-
return hasLunch ? (_jsxs("div", { className: "flex flex-row w-full pb-2xs", children: [_jsx("div", { className: "pr-s", children: _jsx(Text, { size: "text-l", color: "text-error", children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }) }), _jsx("div", { children: _jsx(Text, { size: "text-l", color: "text-error", children: lunchHour }) })] })) : (_jsx("div", { className: "items-center w-full pb-2xs", children: _jsx("div", { children: _jsx(Text, { size: "text-m", color: "text-primary-main", font: "font-light", children: lunchHour }) }) }));
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=renderLunchHour.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderLunchHour.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/renderLunchHour.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,EAAE;IACnD,MAAM,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAEzC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,eAAK,SAAS,EAAC,6BAA6B,aAC1C,cAAK,SAAS,EAAC,MAAM,YACnB,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,YAAY,2DAE/B,GACH,EACN,wBACE,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,YAAY,YACnC,SAAS,GACL,GACH,IACF,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,4BAA4B,YACzC,wBACE,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,mBAAmB,EAAC,IAAI,EAAC,YAAY,YAC5D,SAAS,GACL,GACH,GACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type PictureTextContent } from './PictureTextContent';
|
|
3
|
-
export interface PictureTextProps extends PictureTextContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const PictureText: import("@redneckz/uni-jsx").UNIComponent<PictureTextProps, any, any>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import '../../setup-fixture';
|
|
3
|
-
import { type PictureTextContent } from './PictureTextContent';
|
|
4
|
-
export declare const PICTURE_TEXT: PictureTextContent;
|
|
5
|
-
export declare const INSURANCE_TEXT: PictureTextContent;
|
|
6
|
-
export declare const BENEFITS_HTML_TEXT: PictureTextContent;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
default: JSX.Element;
|
|
9
|
-
secondary: JSX.Element;
|
|
10
|
-
'insurance sum': JSX.Element;
|
|
11
|
-
'insurance monthPay': JSX.Element;
|
|
12
|
-
'benefits as html': JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import '../../setup-fixture';
|
|
3
|
-
import { type PictureTextContent } from './PictureTextContent';
|
|
4
|
-
export declare const PICTURE_TEXT: PictureTextContent;
|
|
5
|
-
export declare const INSURANCE_TEXT: PictureTextContent;
|
|
6
|
-
export declare const BENEFITS_HTML_TEXT: PictureTextContent;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
default: JSX.Element;
|
|
9
|
-
secondary: JSX.Element;
|
|
10
|
-
'insurance sum': JSX.Element;
|
|
11
|
-
'insurance monthPay': JSX.Element;
|
|
12
|
-
'benefits as html': JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile.js';
|
|
4
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
|
-
import { renderInsuranceSumMonth } from './renderInsuranceSumMonth.js';
|
|
6
|
-
export const PictureText = JSX(({ className, padding, headlineVersion = 'M', align = 'text-center', sum, monthLimit, imageOptions, ...rest }) => (_jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: _jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-6xl", padding: padding, headlineVersion: headlineVersion, align: align, isFullWidthTitle: true, imageOptions: { directionRight: false, imageAlign: 'center', ...imageOptions }, ...rest, children: renderInsuranceSumMonth(Number(sum), Number(monthLimit)) }) })));
|
|
7
|
-
//# sourceMappingURL=PictureText.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAIpE,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,EACT,OAAO,EACP,eAAe,GAAG,GAAG,EACrB,KAAK,GAAG,aAAa,EACrB,GAAG,EACH,UAAU,EACV,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,KAAC,eAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,OAAO,EACtB,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,EACtB,YAAY,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,YAAY,EAAE,KAC1E,IAAI,YAEP,uBAAuB,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,GACzC,GACL,CAChB,CACF,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
2
|
-
import { type BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
3
|
-
/**
|
|
4
|
-
* @title Картинка с текстом
|
|
5
|
-
*/
|
|
6
|
-
export declare type PictureTextContent = UniBlockContent & BaseProductTileContent & {
|
|
7
|
-
/** @title Ежемесячный лимит */
|
|
8
|
-
monthLimit?: number;
|
|
9
|
-
/** @title Страховая сумма */
|
|
10
|
-
sum?: number;
|
|
11
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PictureTextContent.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureTextContent.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const renderInsuranceSumMonth: (sum?: number, monthLimit?: number) => JSX.Element | null;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
3
|
-
import { toLocalNumberFormat } from '../../utils/toLocalNumberFormat.js';
|
|
4
|
-
export const renderInsuranceSumMonth = (sum, monthLimit) => sum || monthLimit ? (_jsxs("div", { className: "flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-xl", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма', sum) : null, Number(monthLimit) > 0 ? renderValueBlock('Ежемесячный лимит', monthLimit) : null] })) : null;
|
|
5
|
-
const renderValueBlock = (title, value = 0) => (_jsxs("div", { className: "basis-full flex flex-col-reverse sm:flex-row sm:justify-between sm:bg-main-divider sm:py-m sm:px-lg sm:rounded-md items-baseline whitespace-pre", children: [_jsx(Text, { font: "font-light", size: "text-l", color: "text-secondary-text", children: title }), _jsxs("span", { className: "font-sans text-h6 sm:text-primary-main text-primary-text", children: [toLocalNumberFormat(2)(value), " \u20BD"] })] }));
|
|
6
|
-
//# sourceMappingURL=renderInsuranceSumMonth.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderInsuranceSumMonth.js","sourceRoot":"","sources":["../../../src/components/PictureText/renderInsuranceSumMonth.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,GAAY,EAAE,UAAmB,EAAE,EAAE,CAC3E,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAClB,eAAK,SAAS,EAAC,4EAA4E,aACxF,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EACjE,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,IAC9E,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,gBAAgB,GAAG,CAAC,KAAa,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,CAAC,CACrD,eAAK,SAAS,EAAC,iJAAiJ,aAC9J,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,YAC9D,KAAK,GACD,EACP,gBAAM,SAAS,EAAC,0DAA0D,aACvE,mBAAmB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,eACzB,IACH,CACP,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type CarouselProductCardContent } from './CarouselProductCardContent';
|
|
3
|
-
export interface CarouselProductCardProps extends CarouselProductCardContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const CarouselProductCard: import("@redneckz/uni-jsx").UNIComponent<CarouselProductCardProps, any, any>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type BulletsProps } from '../../model/Bullets';
|
|
2
|
-
import { type AdditionalDescriptionProps, type AlignProps, type HeadlineSmallProps } from '../../model/HeadlineType';
|
|
3
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
4
|
-
import { type LinkCommonProps } from '../../model/LinkProps';
|
|
5
|
-
import { type IconProps } from '../../model/Picture';
|
|
6
|
-
import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
7
|
-
/**
|
|
8
|
-
* @title Элемент списка
|
|
9
|
-
*/
|
|
10
|
-
export interface ListProps {
|
|
11
|
-
/** @title Текст */
|
|
12
|
-
text?: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @title Карточка продуктовой карусели
|
|
16
|
-
*/
|
|
17
|
-
export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmallProps & AdditionalDescriptionProps & IconProps & BulletsProps & LinkCommonProps & AlignProps & {
|
|
18
|
-
/** @title Список */
|
|
19
|
-
items?: ListProps[];
|
|
20
|
-
/** @title Изображение на всю ширину */
|
|
21
|
-
isImageFullWidth?: boolean;
|
|
22
|
-
/** @title Картинка сверху над текстом */
|
|
23
|
-
isTopPosition?: boolean;
|
|
24
|
-
/** @title Кнопка по всей ширине */
|
|
25
|
-
isButtonFullWidth?: boolean;
|
|
26
|
-
button?: ButtonContent;
|
|
27
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type CarouselRichTextCardContent } from './CarouselRichTextCardContent';
|
|
3
|
-
export interface CarouselRichTextCardProps extends CarouselRichTextCardContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const CarouselRichTextCard: import("@redneckz/uni-jsx").UNIComponent<CarouselRichTextCardProps, any, any>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
2
|
-
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
3
|
-
/**
|
|
4
|
-
* @title Карточка c форматированным вводом
|
|
5
|
-
*/
|
|
6
|
-
export declare type CarouselRichTextCardContent = UniBlockContent & RichTextProps;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type PictureTextContent } from './PictureTextContent';
|
|
3
|
-
export interface PictureTextProps extends PictureTextContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const PictureText: import("@redneckz/uni-jsx").UNIComponent<PictureTextProps, any, any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
2
|
-
import { type BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
3
|
-
/**
|
|
4
|
-
* @title Картинка с текстом
|
|
5
|
-
*/
|
|
6
|
-
export declare type PictureTextContent = UniBlockContent & BaseProductTileContent & {
|
|
7
|
-
/** @title Ежемесячный лимит */
|
|
8
|
-
monthLimit?: number;
|
|
9
|
-
/** @title Страховая сумма */
|
|
10
|
-
sum?: number;
|
|
11
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type CarouselProductCardContent } from './CarouselProductCardContent';
|
|
3
|
-
export interface CarouselProductCardProps extends CarouselProductCardContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const CarouselProductCard: import("@redneckz/uni-jsx").UNIComponent<CarouselProductCardProps, any, any>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.CarouselProductCard = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const AlignStyles_1 = require("../../model/AlignStyles");
|
|
6
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
-
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
8
|
-
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
|
-
const LinkWrapper_1 = require("../../ui-kit/LinkWrapper/LinkWrapper");
|
|
10
|
-
const List_1 = require("../../ui-kit/List/List");
|
|
11
|
-
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
12
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
13
|
-
const style_1 = require("../../utils/style");
|
|
14
|
-
const headlineVersionStyles_1 = require("../Headline/headlineVersionStyles");
|
|
15
|
-
exports.CarouselProductCard = (0, uni_jsx_1.JSX)(({ additionalDescription, align = AlignStyles_1.AlignStyles, button = {}, className = '', description, headlineSmallVersion = 'H6', href, icon, isDotted = true, isButtonFullWidth = true, isImageFullWidth = false, isTopPosition = false, items = [], target, title, version = 'primary', ...rest }) => {
|
|
16
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col justify-between', className), defaultPadding: "p-0", version: version, ...rest, children: [(0, jsx_runtime_1.jsxs)(LinkWrapper_1.LinkWrapper, { className: "p-m flex flex-col gap-xs", href: href, target: target, children: [renderCardTitle(headlineSmallVersion, title, align), renderDescription(description, align), renderItems(items, isDotted, version), renderAdditionalDescription(additionalDescription, align), renderImage(icon, isImageFullWidth, isTopPosition)] }), (0, renderButtonsSection_1.renderButtonsSection)([button], {
|
|
17
|
-
className: (0, style_1.style)('p-m pt-0', isButtonFullWidth ? '' : 'self-center'),
|
|
18
|
-
isVertical: isButtonFullWidth,
|
|
19
|
-
})] }));
|
|
20
|
-
});
|
|
21
|
-
const renderImage = (image, isImageFullWidth, isTopPosition) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex gap-y-lg justify-center', isImageFullWidth ? 'min-w-full h-full' : '', isTopPosition ? 'order-first' : 'order-last'), children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image }) : null, image?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: (0, style_1.style)(!isImageFullWidth ? 'w-8 h-8 min-w-8' : 'w-full h-full'), image: image })) : null] }));
|
|
22
|
-
const renderCardTitle = (headlineSmallVersion, title, align) => title ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { align: align, size: headlineVersionStyles_1.HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title })) : null;
|
|
23
|
-
const renderDescription = (description, align) => description ? ((0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { align: align, size: "text-l", children: description })) : null;
|
|
24
|
-
const renderAdditionalDescription = (additionalDescription, align) => additionalDescription ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", align: align, children: additionalDescription })) : null;
|
|
25
|
-
const renderItems = (items, isDotted, version = 'primary') => items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: (0, style_1.style)('text-s', version === 'primary' ? '!text-secondary-text' : ''), items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, listItemSize: "S" })) : null;
|
|
26
|
-
//# sourceMappingURL=CarouselProductCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselProductCard.js","sourceRoot":"","sources":["../../../src/components/CarouselProductCard/CarouselProductCard.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type BulletsProps } from '../../model/Bullets';
|
|
2
|
-
import { type AdditionalDescriptionProps, type AlignProps, type HeadlineSmallProps } from '../../model/HeadlineType';
|
|
3
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
4
|
-
import { type LinkCommonProps } from '../../model/LinkProps';
|
|
5
|
-
import { type IconProps } from '../../model/Picture';
|
|
6
|
-
import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
7
|
-
/**
|
|
8
|
-
* @title Элемент списка
|
|
9
|
-
*/
|
|
10
|
-
export interface ListProps {
|
|
11
|
-
/** @title Текст */
|
|
12
|
-
text?: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @title Карточка продуктовой карусели
|
|
16
|
-
*/
|
|
17
|
-
export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmallProps & AdditionalDescriptionProps & IconProps & BulletsProps & LinkCommonProps & AlignProps & {
|
|
18
|
-
/** @title Список */
|
|
19
|
-
items?: ListProps[];
|
|
20
|
-
/** @title Изображение на всю ширину */
|
|
21
|
-
isImageFullWidth?: boolean;
|
|
22
|
-
/** @title Картинка сверху над текстом */
|
|
23
|
-
isTopPosition?: boolean;
|
|
24
|
-
/** @title Кнопка по всей ширине */
|
|
25
|
-
isButtonFullWidth?: boolean;
|
|
26
|
-
button?: ButtonContent;
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselProductCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselProductCard/CarouselProductCardContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type CarouselRichTextCardContent } from './CarouselRichTextCardContent';
|
|
3
|
-
export interface CarouselRichTextCardProps extends CarouselRichTextCardContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const CarouselRichTextCard: import("@redneckz/uni-jsx").UNIComponent<CarouselRichTextCardProps, any, any>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.CarouselRichTextCard = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const RichText_1 = require("../../ui-kit/RichText/RichText");
|
|
7
|
-
exports.CarouselRichTextCard = (0, uni_jsx_1.JSX)(({ className = '', __html, richVersion = 'striped', ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, ...rest, children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html, richVersion: richVersion }) })));
|
|
8
|
-
//# sourceMappingURL=CarouselRichTextCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRichTextCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRichTextCard/CarouselRichTextCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,6DAA0D;AAK7C,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAChE,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,KAAM,IAAI,YAC1C,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI,GACzC,CAChB,CACF,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
2
|
-
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
3
|
-
/**
|
|
4
|
-
* @title Карточка c форматированным вводом
|
|
5
|
-
*/
|
|
6
|
-
export declare type CarouselRichTextCardContent = UniBlockContent & RichTextProps;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRichTextCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderLunchHour = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
5
|
-
const renderLunchHour = (lunchHour) => {
|
|
6
|
-
const hasLunch = /\d+/gi.test(lunchHour);
|
|
7
|
-
return hasLunch ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row w-full pb-2xs", children: [(0, jsx_runtime_1.jsx)("div", { className: "pr-s", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l", color: "text-error", children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }) }), (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l", color: "text-error", children: lunchHour }) })] })) : ((0, jsx_runtime_1.jsx)("div", { className: "items-center w-full pb-2xs", children: (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", color: "text-primary-main", font: "font-light", children: lunchHour }) }) }));
|
|
8
|
-
};
|
|
9
|
-
exports.renderLunchHour = renderLunchHour;
|
|
10
|
-
//# sourceMappingURL=renderLunchHour.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderLunchHour.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/renderLunchHour.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;AAEvC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,EAAE;IACnD,MAAM,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAEzC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,iCAAK,SAAS,EAAC,6BAA6B,aAC1C,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,YAAY,2DAE/B,GACH,EACN,0CACE,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,YAAY,YACnC,SAAS,GACL,GACH,IACF,CACP,CAAC,CAAC,CAAC,CACF,gCAAK,SAAS,EAAC,4BAA4B,YACzC,0CACE,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,mBAAmB,EAAC,IAAI,EAAC,YAAY,YAC5D,SAAS,GACL,GACH,GACF,CACP,CAAC;AACJ,CAAC,CAAC;AAzBW,QAAA,eAAe,mBAyB1B"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type PictureTextContent } from './PictureTextContent';
|
|
3
|
-
export interface PictureTextProps extends PictureTextContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const PictureText: import("@redneckz/uni-jsx").UNIComponent<PictureTextProps, any, any>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.PictureText = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BaseProductTile_1 = require("../../ui-kit/BaseProductTile/BaseProductTile");
|
|
6
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
-
const renderInsuranceSumMonth_1 = require("./renderInsuranceSumMonth");
|
|
8
|
-
exports.PictureText = (0, uni_jsx_1.JSX)(({ className, padding, headlineVersion = 'M', align = 'text-center', sum, monthLimit, imageOptions, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, padding: "p-0", ...rest, children: (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { className: "h-full", defaultPadding: "p-6xl", padding: padding, headlineVersion: headlineVersion, align: align, isFullWidthTitle: true, imageOptions: { directionRight: false, imageAlign: 'center', ...imageOptions }, ...rest, children: (0, renderInsuranceSumMonth_1.renderInsuranceSumMonth)(Number(sum), Number(monthLimit)) }) })));
|
|
9
|
-
//# sourceMappingURL=PictureText.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,kFAA+E;AAC/E,4DAAyD;AAEzD,uEAAoE;AAIvD,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,EACT,OAAO,EACP,eAAe,GAAG,GAAG,EACrB,KAAK,GAAG,aAAa,EACrB,GAAG,EACH,UAAU,EACV,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,uBAAC,iCAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,OAAO,EACtB,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,EACtB,YAAY,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,YAAY,EAAE,KAC1E,IAAI,YAEP,IAAA,iDAAuB,EAAC,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,GACzC,GACL,CAChB,CACF,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
2
|
-
import { type BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
3
|
-
/**
|
|
4
|
-
* @title Картинка с текстом
|
|
5
|
-
*/
|
|
6
|
-
export declare type PictureTextContent = UniBlockContent & BaseProductTileContent & {
|
|
7
|
-
/** @title Ежемесячный лимит */
|
|
8
|
-
monthLimit?: number;
|
|
9
|
-
/** @title Страховая сумма */
|
|
10
|
-
sum?: number;
|
|
11
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PictureTextContent.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureTextContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderInsuranceSumMonth = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
5
|
-
const toLocalNumberFormat_1 = require("../../utils/toLocalNumberFormat");
|
|
6
|
-
const renderInsuranceSumMonth = (sum, monthLimit) => sum || monthLimit ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-xl", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма', sum) : null, Number(monthLimit) > 0 ? renderValueBlock('Ежемесячный лимит', monthLimit) : null] })) : null;
|
|
7
|
-
exports.renderInsuranceSumMonth = renderInsuranceSumMonth;
|
|
8
|
-
const renderValueBlock = (title, value = 0) => ((0, jsx_runtime_1.jsxs)("div", { className: "basis-full flex flex-col-reverse sm:flex-row sm:justify-between sm:bg-main-divider sm:py-m sm:px-lg sm:rounded-md items-baseline whitespace-pre", children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { font: "font-light", size: "text-l", color: "text-secondary-text", children: title }), (0, jsx_runtime_1.jsxs)("span", { className: "font-sans text-h6 sm:text-primary-main text-primary-text", children: [(0, toLocalNumberFormat_1.toLocalNumberFormat)(2)(value), " \u20BD"] })] }));
|
|
9
|
-
//# sourceMappingURL=renderInsuranceSumMonth.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderInsuranceSumMonth.js","sourceRoot":"","sources":["../../../src/components/PictureText/renderInsuranceSumMonth.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;AAC9C,yEAAsE;AAE/D,MAAM,uBAAuB,GAAG,CAAC,GAAY,EAAE,UAAmB,EAAE,EAAE,CAC3E,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAClB,iCAAK,SAAS,EAAC,4EAA4E,aACxF,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EACjE,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,IAC9E,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AANE,QAAA,uBAAuB,2BAMzB;AAEX,MAAM,gBAAgB,GAAG,CAAC,KAAa,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,CAAC,CACrD,iCAAK,SAAS,EAAC,iJAAiJ,aAC9J,uBAAC,WAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,YAC9D,KAAK,GACD,EACP,kCAAM,SAAS,EAAC,0DAA0D,aACvE,IAAA,yCAAmB,EAAC,CAAC,CAAC,CAAC,KAAK,CAAC,eACzB,IACH,CACP,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type CarouselProductCardContent } from './CarouselProductCardContent';
|
|
3
|
-
export interface CarouselProductCardProps extends CarouselProductCardContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const CarouselProductCard: import("@redneckz/uni-jsx").UNIComponent<CarouselProductCardProps, any, any>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { AlignStyles } from '../../model/AlignStyles.js';
|
|
4
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
6
|
-
import { Img } from '../../ui-kit/Img/Img.js';
|
|
7
|
-
import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper.js';
|
|
8
|
-
import { List } from '../../ui-kit/List/List.js';
|
|
9
|
-
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
10
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
11
|
-
import { style } from '../../utils/style.js';
|
|
12
|
-
import { HEADLINE_SMALL_VERSION } from '../Headline/headlineVersionStyles.js';
|
|
13
|
-
export const CarouselProductCard = JSX(({ additionalDescription, align = AlignStyles, button = {}, className = '', description, headlineSmallVersion = 'H6', href, icon, isDotted = true, isButtonFullWidth = true, isImageFullWidth = false, isTopPosition = false, items = [], target, title, version = 'primary', ...rest }) => {
|
|
14
|
-
return (_jsxs(BlockWrapper, { className: style('flex flex-col justify-between', className), defaultPadding: "p-0", version: version, ...rest, children: [_jsxs(LinkWrapper, { className: "p-m flex flex-col gap-xs", href: href, target: target, children: [renderCardTitle(headlineSmallVersion, title, align), renderDescription(description, align), renderItems(items, isDotted, version), renderAdditionalDescription(additionalDescription, align), renderImage(icon, isImageFullWidth, isTopPosition)] }), renderButtonsSection([button], {
|
|
15
|
-
className: style('p-m pt-0', isButtonFullWidth ? '' : 'self-center'),
|
|
16
|
-
isVertical: isButtonFullWidth,
|
|
17
|
-
})] }));
|
|
18
|
-
});
|
|
19
|
-
const renderImage = (image, isImageFullWidth, isTopPosition) => (_jsxs("div", { className: style('flex gap-y-lg justify-center', isImageFullWidth ? 'min-w-full h-full' : '', isTopPosition ? 'order-first' : 'order-last'), children: [image?.src ? _jsx(Img, { image: image }) : null, image?.icon ? (_jsx(Img, { className: style(!isImageFullWidth ? 'w-8 h-8 min-w-8' : 'w-full h-full'), image: image })) : null] }));
|
|
20
|
-
const renderCardTitle = (headlineSmallVersion, title, align) => title ? (_jsx(Text, { align: align, size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title })) : null;
|
|
21
|
-
const renderDescription = (description, align) => description ? (_jsx(Paragraph, { align: align, size: "text-l", children: description })) : null;
|
|
22
|
-
const renderAdditionalDescription = (additionalDescription, align) => additionalDescription ? (_jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", align: align, children: additionalDescription })) : null;
|
|
23
|
-
const renderItems = (items, isDotted, version = 'primary') => items?.length ? (_jsx(List, { className: style('text-s', version === 'primary' ? '!text-secondary-text' : ''), items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, listItemSize: "S" })) : null;
|
|
24
|
-
//# sourceMappingURL=CarouselProductCard.js.map
|