@redneckz/wildless-cms-uni-blocks 0.5.5 → 0.5.7
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +218 -255
- package/bundle/bundle.umd.min.js +1 -1
- package/cosmos-static/icons/AirPlaneIcon.svg +1 -1
- package/cosmos-static/icons/ArrowDownIcon.svg +1 -1
- package/cosmos-static/icons/ArrowUpIcon.svg +1 -1
- package/cosmos-static/icons/BuildingIcon.svg +1 -0
- package/cosmos-static/icons/Car2Icon.svg +1 -0
- package/cosmos-static/icons/CarIcon.svg +1 -1
- package/cosmos-static/icons/CinemaIcon.svg +1 -1
- package/cosmos-static/icons/DocDownloadIcon.svg +1 -1
- package/cosmos-static/icons/DocsIcon.svg +1 -1
- package/cosmos-static/icons/DoneIcon.svg +1 -1
- package/cosmos-static/icons/DoneSimpleIcon.svg +1 -0
- package/cosmos-static/icons/GpsIcon.svg +1 -1
- package/cosmos-static/icons/MoneysIcon.svg +1 -0
- package/cosmos-static/icons/PackA4Icon.svg +1 -1
- package/cosmos-static/icons/PowerIcon.svg +1 -1
- package/cosmos-static/icons/PumpkinIcon.svg +1 -1
- package/cosmos-static/icons/SoundIcon.svg +1 -1
- package/cosmos-static/icons/StrongBoxIcon.svg +1 -0
- package/cosmos-static/icons/UserSquareIcon.svg +1 -0
- package/cosmos-static/icons/WateringCanIcon.svg +1 -1
- package/dist/ProjectSettings.d.ts +2 -0
- package/dist/ProjectSettings.js +3 -0
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +4 -9
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
- package/dist/components/BlockContent.d.ts +2 -3
- package/dist/components/Blocks.d.ts +0 -1
- package/dist/components/Blocks.js +1 -3
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Bonus/BonusContent.d.ts +6 -9
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
- package/dist/components/Calculator/BonusCalculatorForm.js +3 -2
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +7 -40
- package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +4 -3
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +21 -2
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
- package/dist/components/Calculator/EmbeddableCalcBlocks.js +0 -2
- package/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/dist/components/Calculator/renderFootnote.d.ts +2 -0
- package/dist/components/Calculator/renderFootnote.js +6 -0
- package/dist/components/Calculator/renderFootnote.js.map +1 -0
- package/dist/components/CardTransfer/CardTransferContent.d.ts +3 -6
- package/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/dist/components/Catalog/CatalogContent.d.ts +2 -5
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
- package/dist/components/ComparisonTable/TableColumn.d.ts +8 -1
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/ComparisonTable/TableRow.d.ts +5 -1
- package/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/dist/components/ContentPage/computeAPIFallback.d.ts +5 -0
- package/dist/components/ContentPage/computeAPIFallback.js +68 -0
- package/dist/components/ContentPage/computeAPIFallback.js.map +1 -0
- package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
- package/dist/components/ExchangeRateTile/renderInput.js +4 -3
- package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/dist/components/Footer/Footer.js +3 -2
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +3 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +5 -9
- package/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/dist/components/Footer/Sitemap.d.ts +2 -0
- package/dist/components/Footer/Sitemap.js +2 -2
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +16 -19
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +10 -14
- package/dist/components/Header/Header.fallback.d.ts +2 -0
- package/dist/components/Header/Header.fallback.js +12 -0
- package/dist/components/Header/Header.fallback.js.map +1 -0
- package/dist/components/Header/Header.js +4 -3
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +3 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +14 -23
- package/dist/components/Headline/HeadlineContent.d.ts +4 -3
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/dist/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -4
- package/dist/components/PictureText/PictureText.js +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +20 -4
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +13 -10
- package/dist/components/ProductTile/ProductTile.js +13 -8
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +19 -9
- package/dist/components/Recommendation/RecommendationContent.d.ts +20 -2
- package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -6
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/dist/components/SafeDepositRental/YandexMap.js +14 -7
- package/dist/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/dist/components/SafeDepositRental/renderClusterer.d.ts +2 -1
- package/dist/components/SafeDepositRental/renderClusterer.js +16 -18
- package/dist/components/SafeDepositRental/renderClusterer.js.map +1 -1
- package/dist/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
- package/dist/components/SafeDepositRental/useYandexMaps.js +12 -0
- package/dist/components/SafeDepositRental/useYandexMaps.js.map +1 -0
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -25
- package/dist/components/Tabs/TabsContent.d.ts +8 -5
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.d.ts +0 -3
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +19 -36
- package/dist/components/TariffsTable/TariffsTableRow.js +2 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TextBlock/TextBlockContent.d.ts +3 -6
- package/dist/components/Tile/TileContent.d.ts +17 -2
- package/dist/hooks/useExternalNS.d.ts +2 -0
- package/dist/hooks/useExternalNS.js +39 -0
- package/dist/hooks/useExternalNS.js.map +1 -0
- package/dist/icons/IconName.d.ts +18 -8
- package/dist/icons/IconName.js +16 -6
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/ButtonVersion.d.ts +1 -1
- package/dist/model/Footnote.d.ts +4 -0
- package/dist/{components/Navigation/NavigationContent.js → model/Footnote.js} +1 -1
- package/dist/model/Footnote.js.map +1 -0
- package/dist/model/HeadlineType.d.ts +4 -0
- package/dist/model/Picture.d.ts +4 -0
- package/dist/model/ProductColorVersion.d.ts +4 -0
- package/dist/model/ProductColorVersion.js +2 -0
- package/dist/model/ProductColorVersion.js.map +1 -0
- package/dist/services/sitemap/useSitemap.d.ts +2 -1
- package/dist/services/sitemap/useSitemap.js +2 -2
- package/dist/services/sitemap/useSitemap.js.map +1 -1
- package/dist/types/Fallback.d.ts +5 -0
- package/{mobile/dist/components/Navigation/NavigationContent.js → dist/types/Fallback.js} +1 -1
- package/dist/types/Fallback.js.map +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
- package/dist/ui-kit/Button/ButtonProps.d.ts +3 -5
- package/dist/ui-kit/Button/ButtonSection.js +2 -1
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/Button/buttonClassNameConstants.js +4 -3
- package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Input/Input.js +1 -1
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +8 -15
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/Radio/Radio.js +1 -1
- package/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.js +1 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
- package/dist/ui-kit/SelectCustom/SelectCustom.js +30 -0
- package/dist/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
- package/lib/ProjectSettings.d.ts +2 -0
- package/lib/ProjectSettings.js +3 -0
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +4 -9
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
- package/lib/components/BlockContent.d.ts +2 -3
- package/lib/components/Blocks.d.ts +0 -1
- package/lib/components/Blocks.js +1 -3
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Bonus/BonusContent.d.ts +6 -9
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
- package/lib/components/Calculator/BonusCalculatorForm.js +3 -2
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +7 -40
- package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +4 -3
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +21 -2
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
- package/lib/components/Calculator/EmbeddableCalcBlocks.js +0 -2
- package/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/lib/components/Calculator/renderFootnote.d.ts +2 -0
- package/lib/components/Calculator/renderFootnote.js +3 -0
- package/lib/components/Calculator/renderFootnote.js.map +1 -0
- package/lib/components/CardTransfer/CardTransferContent.d.ts +3 -6
- package/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/lib/components/Catalog/CatalogContent.d.ts +2 -5
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
- package/lib/components/ComparisonTable/TableColumn.d.ts +8 -1
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/ComparisonTable/TableRow.d.ts +5 -1
- package/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/lib/components/ContentPage/computeAPIFallback.d.ts +5 -0
- package/lib/components/ContentPage/computeAPIFallback.js +40 -0
- package/lib/components/ContentPage/computeAPIFallback.js.map +1 -0
- package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
- package/lib/components/ExchangeRateTile/renderInput.js +4 -3
- package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/lib/components/Footer/Footer.js +3 -2
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +3 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +5 -9
- package/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/lib/components/Footer/Sitemap.d.ts +2 -0
- package/lib/components/Footer/Sitemap.js +2 -2
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +16 -19
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +10 -14
- package/lib/components/Header/Header.fallback.d.ts +2 -0
- package/lib/components/Header/Header.fallback.js +9 -0
- package/lib/components/Header/Header.fallback.js.map +1 -0
- package/lib/components/Header/Header.js +4 -3
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +3 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +14 -23
- package/lib/components/Headline/HeadlineContent.d.ts +4 -3
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/lib/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -4
- package/lib/components/PictureText/PictureText.js +1 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +20 -4
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +13 -10
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -0
- package/lib/components/ProductTile/ProductTile.js +13 -8
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +19 -9
- package/lib/components/Recommendation/RecommendationContent.d.ts +20 -2
- package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -6
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/lib/components/SafeDepositRental/YandexMap.js +15 -8
- package/lib/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/lib/components/SafeDepositRental/renderClusterer.d.ts +2 -1
- package/lib/components/SafeDepositRental/renderClusterer.js +16 -18
- package/lib/components/SafeDepositRental/renderClusterer.js.map +1 -1
- package/lib/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
- package/lib/components/SafeDepositRental/useYandexMaps.js +9 -0
- package/lib/components/SafeDepositRental/useYandexMaps.js.map +1 -0
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -25
- package/lib/components/Tabs/TabsContent.d.ts +8 -5
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.d.ts +0 -3
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +19 -36
- package/lib/components/TariffsTable/TariffsTableRow.js +2 -1
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TextBlock/TextBlockContent.d.ts +3 -6
- package/lib/components/Tile/TileContent.d.ts +17 -2
- package/lib/hooks/useExternalNS.d.ts +2 -0
- package/lib/hooks/useExternalNS.js +35 -0
- package/lib/hooks/useExternalNS.js.map +1 -0
- package/lib/icons/IconName.d.ts +18 -8
- package/lib/icons/IconName.js +16 -6
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/ButtonVersion.d.ts +1 -1
- package/lib/model/Footnote.d.ts +4 -0
- package/lib/model/Footnote.js +2 -0
- package/lib/model/Footnote.js.map +1 -0
- package/lib/model/HeadlineType.d.ts +4 -0
- package/lib/model/Picture.d.ts +4 -0
- package/lib/model/ProductColorVersion.d.ts +4 -0
- package/lib/model/ProductColorVersion.js +2 -0
- package/lib/model/ProductColorVersion.js.map +1 -0
- package/lib/services/sitemap/useSitemap.d.ts +2 -1
- package/lib/services/sitemap/useSitemap.js +2 -2
- package/lib/services/sitemap/useSitemap.js.map +1 -1
- package/lib/types/Fallback.d.ts +5 -0
- package/lib/types/Fallback.js +2 -0
- package/lib/types/Fallback.js.map +1 -0
- package/lib/types.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
- package/lib/ui-kit/Button/ButtonProps.d.ts +3 -5
- package/lib/ui-kit/Button/ButtonSection.js +2 -1
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/Button/buttonClassNameConstants.js +4 -3
- package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Input/Input.js +1 -1
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +8 -15
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/Radio/Radio.js +1 -1
- package/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.js +1 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
- package/lib/{components/Navigation/Navigation.fixture.d.ts → ui-kit/SelectCustom/SelectCustom.fixture.d.ts} +0 -0
- package/lib/ui-kit/SelectCustom/SelectCustom.js +28 -0
- package/lib/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +56 -25
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ProjectSettings.d.ts +2 -0
- package/mobile/dist/ProjectSettings.js +3 -0
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +4 -9
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
- package/mobile/dist/components/BlockContent.d.ts +2 -3
- package/mobile/dist/components/Bonus/BonusContent.d.ts +6 -9
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +3 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +7 -40
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +4 -3
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +21 -2
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js +0 -2
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/mobile/dist/components/Calculator/renderFootnote.d.ts +2 -0
- package/mobile/dist/components/Calculator/renderFootnote.js +6 -0
- package/mobile/dist/components/Calculator/renderFootnote.js.map +1 -0
- package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +3 -6
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogContent.d.ts +2 -5
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
- package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +8 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +5 -1
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +5 -0
- package/mobile/dist/components/ContentPage/computeAPIFallback.js +68 -0
- package/mobile/dist/components/ContentPage/computeAPIFallback.js.map +1 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
- package/mobile/dist/components/ExchangeRateTile/renderInput.js +4 -3
- package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +3 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +5 -9
- package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/Sitemap.d.ts +2 -0
- package/mobile/dist/components/Footer/Sitemap.js +2 -2
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +16 -19
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +10 -14
- package/mobile/dist/components/Header/Header.fallback.d.ts +2 -0
- package/mobile/dist/components/Header/Header.fallback.js +12 -0
- package/mobile/dist/components/Header/Header.fallback.js.map +1 -0
- package/mobile/dist/components/Header/Header.js +3 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +14 -23
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +4 -3
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -4
- package/mobile/dist/components/PictureText/PictureText.js +1 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +20 -4
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +13 -10
- package/mobile/dist/components/ProductTile/ProductTile.js +13 -8
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +19 -9
- package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +20 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -6
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/mobile/dist/components/SafeDepositRental/YandexMap.js +14 -7
- package/mobile/dist/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/renderClusterer.d.ts +2 -1
- package/mobile/dist/components/SafeDepositRental/renderClusterer.js +16 -18
- package/mobile/dist/components/SafeDepositRental/renderClusterer.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
- package/mobile/dist/components/SafeDepositRental/useYandexMaps.js +12 -0
- package/mobile/dist/components/SafeDepositRental/useYandexMaps.js.map +1 -0
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -25
- package/mobile/dist/components/Tabs/TabsContent.d.ts +8 -5
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -3
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +19 -36
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +2 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +3 -6
- package/mobile/dist/components/Tile/TileContent.d.ts +17 -2
- package/mobile/dist/hooks/useExternalNS.d.ts +2 -0
- package/mobile/dist/hooks/useExternalNS.js +39 -0
- package/mobile/dist/hooks/useExternalNS.js.map +1 -0
- package/mobile/dist/icons/IconName.d.ts +18 -8
- package/mobile/dist/icons/IconName.js +16 -6
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/ButtonVersion.d.ts +1 -1
- package/mobile/dist/model/Footnote.d.ts +4 -0
- package/mobile/dist/model/Footnote.js +2 -0
- package/mobile/dist/model/Footnote.js.map +1 -0
- package/mobile/dist/model/HeadlineType.d.ts +4 -0
- package/mobile/dist/model/Picture.d.ts +4 -0
- package/mobile/dist/model/ProductColorVersion.d.ts +4 -0
- package/mobile/dist/model/ProductColorVersion.js +2 -0
- package/mobile/dist/model/ProductColorVersion.js.map +1 -0
- package/mobile/dist/services/sitemap/useSitemap.d.ts +2 -1
- package/mobile/dist/services/sitemap/useSitemap.js +2 -2
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/dist/types/Fallback.d.ts +5 -0
- package/mobile/dist/types/Fallback.js +2 -0
- package/mobile/dist/types/Fallback.js.map +1 -0
- package/mobile/dist/types.d.ts +1 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +3 -5
- package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +4 -3
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Input/Input.js +1 -1
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +8 -15
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
- package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js +30 -0
- package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
- package/mobile/lib/ProjectSettings.d.ts +2 -0
- package/mobile/lib/ProjectSettings.js +3 -0
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +4 -9
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
- package/mobile/lib/components/BlockContent.d.ts +2 -3
- package/mobile/lib/components/Bonus/BonusContent.d.ts +6 -9
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +3 -2
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +7 -40
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -3
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +21 -2
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js +0 -2
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/mobile/lib/components/Calculator/renderFootnote.d.ts +2 -0
- package/mobile/lib/components/Calculator/renderFootnote.js +3 -0
- package/mobile/lib/components/Calculator/renderFootnote.js.map +1 -0
- package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +3 -6
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogContent.d.ts +2 -5
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
- package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +8 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +5 -1
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +5 -0
- package/mobile/lib/components/ContentPage/computeAPIFallback.js +40 -0
- package/mobile/lib/components/ContentPage/computeAPIFallback.js.map +1 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
- package/mobile/lib/components/ExchangeRateTile/renderInput.js +4 -3
- package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +3 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +5 -9
- package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/Sitemap.d.ts +2 -0
- package/mobile/lib/components/Footer/Sitemap.js +2 -2
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +16 -19
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +10 -14
- package/mobile/lib/components/Header/Header.fallback.d.ts +2 -0
- package/mobile/lib/components/Header/Header.fallback.js +9 -0
- package/mobile/lib/components/Header/Header.fallback.js.map +1 -0
- package/mobile/lib/components/Header/Header.js +3 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +14 -23
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +4 -3
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -4
- package/mobile/lib/components/PictureText/PictureText.js +1 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +20 -4
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +13 -10
- package/mobile/lib/components/ProductTile/ProductTile.js +13 -8
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +19 -9
- package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +20 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -6
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/mobile/lib/components/SafeDepositRental/YandexMap.js +15 -8
- package/mobile/lib/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/renderClusterer.d.ts +2 -1
- package/mobile/lib/components/SafeDepositRental/renderClusterer.js +16 -18
- package/mobile/lib/components/SafeDepositRental/renderClusterer.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
- package/mobile/lib/components/SafeDepositRental/useYandexMaps.js +9 -0
- package/mobile/lib/components/SafeDepositRental/useYandexMaps.js.map +1 -0
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -25
- package/mobile/lib/components/Tabs/TabsContent.d.ts +8 -5
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -3
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +19 -36
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +2 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +3 -6
- package/mobile/lib/components/Tile/TileContent.d.ts +17 -2
- package/mobile/lib/hooks/useExternalNS.d.ts +2 -0
- package/mobile/lib/hooks/useExternalNS.js +35 -0
- package/mobile/lib/hooks/useExternalNS.js.map +1 -0
- package/mobile/lib/icons/IconName.d.ts +18 -8
- package/mobile/lib/icons/IconName.js +16 -6
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/ButtonVersion.d.ts +1 -1
- package/mobile/lib/model/Footnote.d.ts +4 -0
- package/mobile/lib/model/Footnote.js +2 -0
- package/mobile/lib/model/Footnote.js.map +1 -0
- package/mobile/lib/model/HeadlineType.d.ts +4 -0
- package/mobile/lib/model/Picture.d.ts +4 -0
- package/mobile/lib/model/ProductColorVersion.d.ts +4 -0
- package/mobile/lib/model/ProductColorVersion.js +2 -0
- package/mobile/lib/model/ProductColorVersion.js.map +1 -0
- package/mobile/lib/services/sitemap/useSitemap.d.ts +2 -1
- package/mobile/lib/services/sitemap/useSitemap.js +2 -2
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/lib/types/Fallback.d.ts +5 -0
- package/mobile/lib/types/Fallback.js +2 -0
- package/mobile/lib/types/Fallback.js.map +1 -0
- package/mobile/lib/types.d.ts +1 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +3 -5
- package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +4 -3
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Input/Input.js +1 -1
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +8 -15
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
- package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js +28 -0
- package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
- package/mobile/src/ProjectSettings.ts +4 -0
- package/mobile/src/components/Accordion/AccordionContent.ts +5 -9
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +8 -14
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +15 -22
- package/mobile/src/components/BlockContent.ts +1 -3
- package/mobile/src/components/Bonus/BonusContent.ts +6 -8
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +25 -27
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +5 -11
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +4 -2
- package/mobile/src/components/Calculator/CalculatorContent.ts +6 -44
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +4 -2
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +25 -2
- package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +0 -3
- package/mobile/src/components/Calculator/renderFootnote.tsx +2 -0
- package/mobile/src/components/CardTransfer/CardTransferContent.ts +9 -10
- package/mobile/src/components/Catalog/CatalogCard.tsx +4 -3
- package/mobile/src/components/Catalog/CatalogContent.ts +2 -6
- package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +9 -47
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +10 -1
- package/mobile/src/components/ComparisonTable/TableRow.tsx +5 -1
- package/mobile/src/components/ContentPage/computeAPIFallback.spec.ts +63 -0
- package/mobile/src/components/ContentPage/computeAPIFallback.ts +55 -0
- package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +17 -4
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
- package/mobile/src/components/ExchangeRateTile/renderInput.tsx +13 -16
- package/mobile/src/components/Footer/Footer.tsx +4 -1
- package/mobile/src/components/Footer/FooterContent.ts +5 -9
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +3 -4
- package/mobile/src/components/Footer/Sitemap.tsx +4 -2
- package/mobile/src/components/Gallery/GalleryContent.ts +16 -19
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +10 -13
- package/mobile/src/components/Header/Header.fallback.ts +14 -0
- package/mobile/src/components/Header/Header.tsx +4 -2
- package/mobile/src/components/Header/HeaderContent.ts +15 -23
- package/mobile/src/components/Headline/HeadlineContent.ts +9 -9
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +8 -13
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +8 -3
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +19 -6
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -3
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +5 -20
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +3 -4
- package/mobile/src/components/PictureText/PictureText.tsx +1 -1
- package/mobile/src/components/PictureText/PictureTextContent.ts +20 -5
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +13 -10
- package/mobile/src/components/ProductTile/ProductTile.tsx +21 -12
- package/mobile/src/components/ProductTile/ProductTileContent.ts +19 -10
- package/mobile/src/components/Recommendation/RecommendationContent.ts +20 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -12
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +8 -6
- package/mobile/src/components/SafeDepositRental/YandexMap.tsx +19 -11
- package/mobile/src/components/SafeDepositRental/renderClusterer.ts +29 -23
- package/mobile/src/components/SafeDepositRental/useYandexMaps.ts +13 -0
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +10 -27
- package/mobile/src/components/Tabs/TabsContent.ts +8 -5
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +0 -4
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +19 -36
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +4 -1
- package/mobile/src/components/TextBlock/TextBlockContent.ts +3 -6
- package/mobile/src/components/Tile/TileContent.ts +17 -3
- package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +16 -22
- package/mobile/src/hooks/useExternalNS.ts +44 -0
- package/mobile/src/icons/AirPlaneIcon.svg +1 -98
- package/mobile/src/icons/ArrowDownIcon.svg +1 -1
- package/mobile/src/icons/ArrowUpIcon.svg +1 -1
- package/mobile/src/icons/BuildingIcon.svg +10 -0
- package/mobile/src/icons/Car2Icon.svg +10 -0
- package/mobile/src/icons/CarIcon.svg +1 -466
- package/mobile/src/icons/CinemaIcon.svg +1 -274
- package/mobile/src/icons/DocDownloadIcon.svg +1 -1
- package/mobile/src/icons/DocsIcon.svg +1 -238
- package/mobile/src/icons/DoneIcon.svg +3 -3
- package/mobile/src/icons/DoneSimpleIcon.svg +3 -0
- package/mobile/src/icons/GpsIcon.svg +1 -1
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/MoneyIcon.svg +5 -1
- package/mobile/src/icons/MoneysIcon.svg +7 -0
- package/mobile/src/icons/PackA4Icon.svg +1 -1
- package/mobile/src/icons/PowerIcon.svg +1 -135
- package/mobile/src/icons/Profile2UserIcon.svg +6 -1
- package/mobile/src/icons/PumpkinIcon.svg +1 -236
- package/mobile/src/icons/SoundIcon.svg +1 -113
- package/mobile/src/icons/StrongBoxIcon.svg +5 -0
- package/mobile/src/icons/UserSquareIcon.svg +5 -0
- package/mobile/src/icons/UserTickIcon.svg +5 -1
- package/mobile/src/icons/WateringCanIcon.svg +1 -497
- package/mobile/src/model/ButtonVersion.ts +1 -1
- package/mobile/src/model/Footnote.ts +4 -0
- package/mobile/src/model/HeadlineType.ts +5 -0
- package/mobile/src/model/Picture.ts +5 -0
- package/mobile/src/model/ProductColorVersion.ts +4 -0
- package/mobile/src/services/sitemap/useSitemap.ts +3 -1
- package/mobile/src/types/Fallback.ts +4 -0
- package/mobile/src/types.ts +1 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +3 -8
- package/mobile/src/ui-kit/Button/ButtonProps.ts +12 -13
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +19 -2
- package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +5 -3
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/mobile/src/ui-kit/Input/Input.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +24 -25
- package/mobile/src/ui-kit/Radio/Radio.tsx +2 -1
- package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
- package/mobile/src/ui-kit/SelectCustom/SelectCustom.tsx +91 -0
- package/package.json +3 -2
- package/src/ProjectSettings.ts +4 -0
- package/src/components/Accordion/AccordionContent.ts +5 -9
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +8 -14
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +15 -22
- package/src/components/BlockContent.ts +1 -3
- package/src/components/Blocks.ts +1 -3
- package/src/components/Bonus/BonusContent.ts +6 -8
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +25 -27
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +5 -11
- package/src/components/Calculator/BonusCalculatorForm.tsx +4 -2
- package/src/components/Calculator/Calculator.fixture.tsx +5 -21
- package/src/components/Calculator/CalculatorContent.ts +6 -44
- package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +4 -2
- package/src/components/Calculator/DepositCalculatorForm.tsx +25 -2
- package/src/components/Calculator/EmbeddableCalcBlocks.tsx +0 -3
- package/src/components/Calculator/renderFootnote.tsx +2 -0
- package/src/components/CardTransfer/CardTransferContent.ts +9 -10
- package/src/components/Catalog/Catalog.fixture.tsx +2 -2
- package/src/components/Catalog/CatalogCard.tsx +4 -3
- package/src/components/Catalog/CatalogContent.ts +2 -6
- package/src/components/ComparisonTable/ComparisonTableContent.ts +9 -47
- package/src/components/ComparisonTable/TableColumn.tsx +10 -1
- package/src/components/ComparisonTable/TableRow.tsx +5 -1
- package/src/components/ContentPage/computeAPIFallback.spec.ts +63 -0
- package/src/components/ContentPage/computeAPIFallback.ts +55 -0
- package/src/components/ErrorBlock/ErrorBlockContent.ts +17 -4
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
- package/src/components/ExchangeRateTile/renderInput.tsx +13 -16
- package/src/components/Footer/Footer.mobile.tsx +4 -1
- package/src/components/Footer/Footer.tsx +5 -1
- package/src/components/Footer/FooterContent.ts +5 -9
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +3 -4
- package/src/components/Footer/HorizontalNavigation.tsx +3 -4
- package/src/components/Footer/Sitemap.tsx +4 -2
- package/src/components/Gallery/GalleryContent.ts +16 -19
- package/src/components/GracePeriod/GracePeriodContent.ts +10 -13
- package/src/components/Header/Header.fallback.ts +14 -0
- package/src/components/Header/Header.mobile.tsx +4 -2
- package/src/components/Header/Header.tsx +7 -2
- package/src/components/Header/HeaderContent.ts +15 -23
- package/src/components/Headline/HeadlineContent.ts +9 -9
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +8 -13
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/src/components/MiniGallery/MiniGalleryContent.ts +8 -3
- package/src/components/MobileAppTile/MobileAppTileContent.ts +19 -6
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -3
- package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +5 -20
- package/src/components/OtherProducts/OtherProductsContent.ts +3 -4
- package/src/components/PictureText/PictureText.tsx +1 -1
- package/src/components/PictureText/PictureTextContent.ts +20 -5
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +1 -21
- package/src/components/ProductBlock/ProductBlockContent.ts +13 -10
- package/src/components/ProductTile/ProductTile.fixture.tsx +12 -0
- package/src/components/ProductTile/ProductTile.tsx +21 -12
- package/src/components/ProductTile/ProductTileContent.ts +19 -10
- package/src/components/Recommendation/RecommendationContent.ts +20 -2
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -12
- package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +8 -6
- package/src/components/SafeDepositRental/YandexMap.tsx +19 -11
- package/src/components/SafeDepositRental/renderClusterer.ts +29 -23
- package/src/components/SafeDepositRental/useYandexMaps.ts +13 -0
- package/src/components/StepsBlock/StepsBlockContent.ts +10 -27
- package/src/components/Tabs/TabsContent.ts +8 -5
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +0 -4
- package/src/components/TariffsTable/TariffsTableContent.ts +19 -36
- package/src/components/TariffsTable/TariffsTableRow.tsx +4 -1
- package/src/components/TextBlock/TextBlockContent.ts +3 -6
- package/src/components/Tile/TileContent.ts +17 -3
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +16 -22
- package/src/hooks/useExternalNS.ts +44 -0
- package/src/icons/AirPlaneIcon.svg +1 -98
- package/src/icons/ArrowDownIcon.svg +1 -1
- package/src/icons/ArrowUpIcon.svg +1 -1
- package/src/icons/BuildingIcon.svg +10 -0
- package/src/icons/Car2Icon.svg +10 -0
- package/src/icons/CarIcon.svg +1 -466
- package/src/icons/CinemaIcon.svg +1 -274
- package/src/icons/DocDownloadIcon.svg +1 -1
- package/src/icons/DocsIcon.svg +1 -238
- package/src/icons/DoneIcon.svg +3 -3
- package/src/icons/DoneSimpleIcon.svg +3 -0
- package/src/icons/GpsIcon.svg +1 -1
- package/src/icons/IconName.ts +25 -10
- package/src/icons/MoneyIcon.svg +5 -1
- package/src/icons/MoneysIcon.svg +7 -0
- package/src/icons/PackA4Icon.svg +1 -1
- package/src/icons/PowerIcon.svg +1 -135
- package/src/icons/Profile2UserIcon.svg +6 -1
- package/src/icons/PumpkinIcon.svg +1 -236
- package/src/icons/SoundIcon.svg +1 -113
- package/src/icons/StrongBoxIcon.svg +5 -0
- package/src/icons/UserSquareIcon.svg +5 -0
- package/src/icons/UserTickIcon.svg +5 -1
- package/src/icons/WateringCanIcon.svg +1 -497
- package/src/model/ButtonVersion.ts +1 -1
- package/src/model/Footnote.ts +4 -0
- package/src/model/HeadlineType.ts +5 -0
- package/src/model/Picture.ts +5 -0
- package/src/model/ProductColorVersion.ts +4 -0
- package/src/services/sitemap/useSitemap.ts +3 -1
- package/src/types/Fallback.ts +4 -0
- package/src/types.ts +1 -0
- package/src/ui-kit/BenefitItem/BenefitItemProps.ts +3 -8
- package/src/ui-kit/Button/ButtonProps.ts +12 -13
- package/src/ui-kit/Button/ButtonSection.tsx +19 -2
- package/src/ui-kit/Button/buttonClassNameConstants.ts +5 -3
- package/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/src/ui-kit/Input/Input.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +24 -25
- package/src/ui-kit/Radio/Radio.tsx +2 -1
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
- package/src/ui-kit/SelectCustom/SelectCustom.fixture.tsx +15 -0
- package/src/ui-kit/SelectCustom/SelectCustom.tsx +91 -0
- package/cosmos-static/icons/StateMortgageIcon.svg +0 -1
- package/dist/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
- package/dist/components/Calculator/MortgageCalculatorForm.js +0 -34
- package/dist/components/Calculator/MortgageCalculatorForm.js.map +0 -1
- package/dist/components/Navigation/Navigation.d.ts +0 -5
- package/dist/components/Navigation/Navigation.js +0 -17
- package/dist/components/Navigation/Navigation.js.map +0 -1
- package/dist/components/Navigation/NavigationContent.d.ts +0 -10
- package/dist/components/Navigation/NavigationContent.js.map +0 -1
- package/dist/components/Navigation/NavigationItem.d.ts +0 -4
- package/dist/components/Navigation/NavigationItem.js +0 -6
- package/dist/components/Navigation/NavigationItem.js.map +0 -1
- package/dist/hooks/useScript.d.ts +0 -6
- package/dist/hooks/useScript.js +0 -75
- package/dist/hooks/useScript.js.map +0 -1
- package/lib/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
- package/lib/components/Calculator/MortgageCalculatorForm.js +0 -32
- package/lib/components/Calculator/MortgageCalculatorForm.js.map +0 -1
- package/lib/components/Navigation/Navigation.d.ts +0 -5
- package/lib/components/Navigation/Navigation.js +0 -15
- package/lib/components/Navigation/Navigation.js.map +0 -1
- package/lib/components/Navigation/NavigationContent.d.ts +0 -10
- package/lib/components/Navigation/NavigationContent.js +0 -2
- package/lib/components/Navigation/NavigationContent.js.map +0 -1
- package/lib/components/Navigation/NavigationItem.d.ts +0 -4
- package/lib/components/Navigation/NavigationItem.js +0 -4
- package/lib/components/Navigation/NavigationItem.js.map +0 -1
- package/lib/hooks/useScript.d.ts +0 -6
- package/lib/hooks/useScript.js +0 -72
- package/lib/hooks/useScript.js.map +0 -1
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +0 -34
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +0 -1
- package/mobile/dist/components/Navigation/Navigation.d.ts +0 -5
- package/mobile/dist/components/Navigation/Navigation.js +0 -17
- package/mobile/dist/components/Navigation/Navigation.js.map +0 -1
- package/mobile/dist/components/Navigation/NavigationContent.d.ts +0 -10
- package/mobile/dist/components/Navigation/NavigationContent.js.map +0 -1
- package/mobile/dist/components/Navigation/NavigationItem.d.ts +0 -4
- package/mobile/dist/components/Navigation/NavigationItem.js +0 -6
- package/mobile/dist/components/Navigation/NavigationItem.js.map +0 -1
- package/mobile/dist/hooks/useScript.d.ts +0 -6
- package/mobile/dist/hooks/useScript.js +0 -75
- package/mobile/dist/hooks/useScript.js.map +0 -1
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +0 -32
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +0 -1
- package/mobile/lib/components/Navigation/Navigation.d.ts +0 -5
- package/mobile/lib/components/Navigation/Navigation.js +0 -15
- package/mobile/lib/components/Navigation/Navigation.js.map +0 -1
- package/mobile/lib/components/Navigation/NavigationContent.d.ts +0 -10
- package/mobile/lib/components/Navigation/NavigationContent.js +0 -2
- package/mobile/lib/components/Navigation/NavigationContent.js.map +0 -1
- package/mobile/lib/components/Navigation/NavigationItem.d.ts +0 -4
- package/mobile/lib/components/Navigation/NavigationItem.js +0 -4
- package/mobile/lib/components/Navigation/NavigationItem.js.map +0 -1
- package/mobile/lib/hooks/useScript.d.ts +0 -6
- package/mobile/lib/hooks/useScript.js +0 -72
- package/mobile/lib/hooks/useScript.js.map +0 -1
- package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +0 -75
- package/mobile/src/components/Navigation/Navigation.tsx +0 -44
- package/mobile/src/components/Navigation/NavigationContent.ts +0 -11
- package/mobile/src/components/Navigation/NavigationItem.tsx +0 -17
- package/mobile/src/hooks/useScript.ts +0 -97
- package/mobile/src/icons/StateMortgageIcon.svg +0 -1
- package/src/components/Calculator/MortgageCalculatorForm.tsx +0 -75
- package/src/components/Navigation/Navigation.fixture.tsx +0 -30
- package/src/components/Navigation/Navigation.tsx +0 -44
- package/src/components/Navigation/NavigationContent.ts +0 -11
- package/src/components/Navigation/NavigationItem.tsx +0 -17
- package/src/hooks/useScript.ts +0 -97
- package/src/icons/StateMortgageIcon.svg +0 -1
|
@@ -2,6 +2,7 @@ import type { AlignType } from '../../model/AlignType';
|
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
import type { BlockDef } from '../../ui-kit/BlocksList/BlocksListProps';
|
|
5
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
5
6
|
/**
|
|
6
7
|
* @title Элемент списка
|
|
7
8
|
*/
|
|
@@ -11,9 +12,7 @@ export interface AccordionItemCommonProps {
|
|
|
11
12
|
* @default Список
|
|
12
13
|
*/
|
|
13
14
|
label?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @title Отображать в раскрытом виде
|
|
16
|
-
*/
|
|
15
|
+
/** @title Отображать в раскрытом виде */
|
|
17
16
|
isExpanded?: boolean;
|
|
18
17
|
/** @title Блоки */
|
|
19
18
|
blocks?: BlockDef[];
|
|
@@ -27,9 +26,7 @@ export interface AccordionItemCommonProps {
|
|
|
27
26
|
/**
|
|
28
27
|
* @title Аккордеон
|
|
29
28
|
*/
|
|
30
|
-
export
|
|
31
|
-
/** @title Заголовок */
|
|
32
|
-
title?: string;
|
|
29
|
+
export declare type AccordionContent = HeadlineCommonProps & {
|
|
33
30
|
/**
|
|
34
31
|
* @title Выравнивание заголовка
|
|
35
32
|
* @default center
|
|
@@ -38,11 +35,9 @@ export interface AccordionContent {
|
|
|
38
35
|
version?: BlockVersion;
|
|
39
36
|
/** @title Список */
|
|
40
37
|
accordionItems?: AccordionItemCommonProps[];
|
|
41
|
-
/** @title Описание */
|
|
42
|
-
description?: string;
|
|
43
38
|
/**
|
|
44
39
|
* @title Отображать/скрывать обводку у элемента списка
|
|
45
40
|
* @default false
|
|
46
41
|
*/
|
|
47
42
|
bordered?: boolean;
|
|
48
|
-
}
|
|
43
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAM3C,MAAM,qBAAqB,GAAG;IAC5B,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,iBAAiB;CAC7B,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,2BAA2B,GAAG;IAClC,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,uBAAuB;CACnC,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,mCAAmC;IAC5C,SAAS,EAAE,wBAAwB;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,oBAAoB,GAAG,SAAS,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WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAEpG,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE;IACzD,MAAM,aAAa,GAAG,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEnE,OAAO,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,aAAI,SAAS,EAAE,aAAa,YACzB,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,uBAAkC,CAAC,IAA1B,mBAAmB,CAAC,EAAE,CAAU,CAC1C,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { TitleProps } from '../../model/HeadlineType';
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
2
|
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
3
|
+
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
4
|
+
import type { IconProps } from '../../model/Picture';
|
|
4
5
|
/**
|
|
5
6
|
* @title Пункты описания
|
|
6
|
-
* @default {"benefitType": "text"}
|
|
7
7
|
*/
|
|
8
8
|
export declare type TextBenefitDef = {
|
|
9
|
-
/**
|
|
10
|
-
* @title Описание
|
|
11
|
-
*/
|
|
9
|
+
/** @title Описание */
|
|
12
10
|
name?: string;
|
|
11
|
+
/** @default text */
|
|
13
12
|
benefitType?: 'text';
|
|
14
13
|
};
|
|
15
14
|
/**
|
|
16
15
|
* @title Список
|
|
17
|
-
* @default {"benefitType": "list"}
|
|
18
16
|
*/
|
|
19
17
|
export declare type ListBenefitDef = {
|
|
20
18
|
/** @title Буллиты */
|
|
21
19
|
bullets?: boolean;
|
|
22
20
|
/**
|
|
23
21
|
* @title Пункты
|
|
24
|
-
* @
|
|
22
|
+
* @default [
|
|
23
|
+
* "Пункт 1"
|
|
24
|
+
* ]
|
|
25
25
|
*/
|
|
26
26
|
items?: string[];
|
|
27
|
+
/** @default list */
|
|
27
28
|
benefitType?: 'list';
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
@@ -33,18 +34,10 @@ export declare type DescriptionDef = EmptyOption | TextBenefitDef | ListBenefitD
|
|
|
33
34
|
/**
|
|
34
35
|
* @title Преимущество
|
|
35
36
|
*/
|
|
36
|
-
export
|
|
37
|
-
/** @title Название */
|
|
38
|
-
label?: string;
|
|
37
|
+
export declare type BenefitBlockItemProps = LabelProps & IconProps & {
|
|
39
38
|
/** @title Описание */
|
|
40
39
|
description?: DescriptionDef;
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @title Цвет блока
|
|
45
|
-
* @enumNames ["Основная", "Второстепенная"]
|
|
46
|
-
*/
|
|
47
|
-
export declare type BenefitsBlockVersion = 'primary' | 'secondary';
|
|
40
|
+
};
|
|
48
41
|
/**
|
|
49
42
|
* @title Блок преимущества
|
|
50
43
|
*/
|
|
@@ -55,5 +48,5 @@ export declare type BenefitsBlockContent = TitleProps & {
|
|
|
55
48
|
*/
|
|
56
49
|
benefitList?: BenefitBlockItemProps[];
|
|
57
50
|
/** @default primary */
|
|
58
|
-
benefitsBlockVersion?:
|
|
51
|
+
benefitsBlockVersion?: BlockVersion;
|
|
59
52
|
};
|
|
@@ -3,6 +3,7 @@ import type { BonusContent } from './Bonus/BonusContent';
|
|
|
3
3
|
import type { BonusBenefitsBlockContent } from './BonusBenefitsBlock/BonusBenefitsBlockContent';
|
|
4
4
|
import type { CardTransferContent } from './CardTransfer/CardTransferContent';
|
|
5
5
|
import type { ComparisonTableContent } from './ComparisonTable/ComparisonTableContent';
|
|
6
|
+
import type { ErrorBlockContent } from './ErrorBlock/ErrorBlockContent';
|
|
6
7
|
import type { ExchangeRateTileContent } from './ExchangeRateTile/ExchangeRateTileContent';
|
|
7
8
|
import type { FooterContent } from './Footer/FooterContent';
|
|
8
9
|
import type { GalleryContent } from './Gallery/GalleryContent';
|
|
@@ -12,7 +13,6 @@ import type { InsuranceAmountBlockContent } from './InsuranceAmountBlock/Insuran
|
|
|
12
13
|
import type { LinkDocsContent } from './LinkDocs/LinkDocsContent';
|
|
13
14
|
import type { LinkListContent } from './LinkList/LinkListContent';
|
|
14
15
|
import type { MobileAppTileContent } from './MobileAppTile/MobileAppTileContent';
|
|
15
|
-
import type { NavigationContent } from './Navigation/NavigationContent';
|
|
16
16
|
import type { OfficeServicesBlockContent } from './OfficeServicesBlock/OfficeServicesBlockContent';
|
|
17
17
|
import type { PictureTextContent } from './PictureText/PictureTextContent';
|
|
18
18
|
import type { PlaceholderContent } from './Placeholder/PlaceholderContent';
|
|
@@ -26,8 +26,7 @@ import type { TabsContent } from './Tabs/TabsContent';
|
|
|
26
26
|
import type { TariffsTableContent } from './TariffsTable/TariffsTableContent';
|
|
27
27
|
import type { TextBlockContent } from './TextBlock/TextBlockContent';
|
|
28
28
|
import type { TileContent } from './Tile/TileContent';
|
|
29
|
-
import type { ErrorBlockContent } from './ErrorBlock/ErrorBlockContent';
|
|
30
29
|
/**
|
|
31
30
|
* @hidden
|
|
32
31
|
*/
|
|
33
|
-
export declare type BlockContent = BenefitsBlockContent | BonusContent | CardTransferContent | ComparisonTableContent | ExchangeRateTileContent | FooterContent | GalleryContent | GracePeriodContent | HeaderContent | InsuranceAmountBlockContent | LinkDocsContent | MobileAppTileContent | PictureTextContent | PlaceholderContent | ProductBlockContent | ProductGalleryContent | ProductTileContent | PromoTileContent | StepsBlockContent | TariffsTableContent | TextBlockContent | TileContent |
|
|
32
|
+
export declare type BlockContent = BenefitsBlockContent | BonusContent | CardTransferContent | ComparisonTableContent | ExchangeRateTileContent | FooterContent | GalleryContent | GracePeriodContent | HeaderContent | InsuranceAmountBlockContent | LinkDocsContent | MobileAppTileContent | PictureTextContent | PlaceholderContent | ProductBlockContent | ProductGalleryContent | ProductTileContent | PromoTileContent | StepsBlockContent | TariffsTableContent | TextBlockContent | TileContent | LinkListContent | BonusBenefitsBlockContent | SafeDepositRentalContent | TabsContent | ErrorBlockContent | OfficeServicesBlockContent;
|
|
@@ -27,7 +27,6 @@ export declare const Blocks: {
|
|
|
27
27
|
TariffsTable: import("@redneckz/uni-jsx").UNIComponent<import("./TariffsTable/TariffsTable").TariffsTableProps, any, any>;
|
|
28
28
|
TextBlock: import("@redneckz/uni-jsx").UNIComponent<import("./TextBlock/TextBlock").TextBlockProps, any, any>;
|
|
29
29
|
Tile: import("@redneckz/uni-jsx").UNIComponent<import("./Tile/Tile").TileProps, any, any>;
|
|
30
|
-
Navigation: import("@redneckz/uni-jsx").UNIComponent<import("./Navigation/Navigation").NavigationProps, any, any>;
|
|
31
30
|
Placeholder: import("@redneckz/uni-jsx").UNIComponent<import("./Placeholder/Placeholder").PlaceholderProps, any, any>;
|
|
32
31
|
BonusBenefitsBlock: import("@redneckz/uni-jsx").UNIComponent<import("./BonusBenefitsBlock/BonusBenefitsBlock").BenefitsBlockProps, any, any>;
|
|
33
32
|
SafeDepositRental: import("@redneckz/uni-jsx").UNIComponent<import("./SafeDepositRental/SafeDepositRental").SafeDepositRentalProps, any, any>;
|
package/lib/components/Blocks.js
CHANGED
|
@@ -6,6 +6,7 @@ import { Calculator } from './Calculator/Calculator.js';
|
|
|
6
6
|
import { CardTransfer } from './CardTransfer/CardTransfer.js';
|
|
7
7
|
import { Catalog } from './Catalog/Catalog.js';
|
|
8
8
|
import { ComparisonTable } from './ComparisonTable/ComparisonTable.js';
|
|
9
|
+
import { ErrorBlock } from './ErrorBlock/ErrorBlock.js';
|
|
9
10
|
import { ExchangeRateTile } from './ExchangeRateTile/ExchangeRateTile.js';
|
|
10
11
|
import { Footer } from './Footer/Footer.js';
|
|
11
12
|
import { Gallery } from './Gallery/Gallery.js';
|
|
@@ -16,7 +17,6 @@ import { InsuranceAmountBlock } from './InsuranceAmountBlock/InsuranceAmountBloc
|
|
|
16
17
|
import { LinkDocs } from './LinkDocs/LinkDocs.js';
|
|
17
18
|
import { MiniGallery } from './MiniGallery/MiniGallery.js';
|
|
18
19
|
import { MobileAppTile } from './MobileAppTile/MobileAppTile.js';
|
|
19
|
-
import { Navigation } from './Navigation/Navigation.js';
|
|
20
20
|
import { OfficeServicesBlock } from './OfficeServicesBlock/OfficeServicesBlock.js';
|
|
21
21
|
import { OtherProducts } from './OtherProducts/OtherProducts.js';
|
|
22
22
|
import { PictureText } from './PictureText/PictureText.js';
|
|
@@ -32,7 +32,6 @@ import { Tabs } from './Tabs/Tabs.js';
|
|
|
32
32
|
import { TariffsTable } from './TariffsTable/TariffsTable.js';
|
|
33
33
|
import { TextBlock } from './TextBlock/TextBlock.js';
|
|
34
34
|
import { Tile } from './Tile/Tile.js';
|
|
35
|
-
import { ErrorBlock } from './ErrorBlock/ErrorBlock.js';
|
|
36
35
|
export const Blocks = {
|
|
37
36
|
Accordion,
|
|
38
37
|
BenefitsBlock,
|
|
@@ -62,7 +61,6 @@ export const Blocks = {
|
|
|
62
61
|
TariffsTable,
|
|
63
62
|
TextBlock,
|
|
64
63
|
Tile,
|
|
65
|
-
Navigation,
|
|
66
64
|
Placeholder,
|
|
67
65
|
BonusBenefitsBlock,
|
|
68
66
|
SafeDepositRental,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD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AAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,SAAS;IACT,aAAa;IACb,KAAK;IACL,YAAY;IACZ,eAAe;IACf,UAAU;IACV,OAAO;IACP,gBAAgB;IAChB,MAAM;IACN,OAAO;IACP,WAAW;IACX,MAAM;IACN,QAAQ;IACR,oBAAoB;IACpB,QAAQ;IACR,WAAW;IACX,aAAa;IACb,WAAW;IACX,YAAY;IACZ,cAAc;IACd,WAAW;IACX,SAAS;IACT,aAAa;IACb,cAAc;IACd,UAAU;IACV,YAAY;IACZ,SAAS;IACT,IAAI;IACJ,WAAW;IACX,kBAAkB;IAClB,iBAAiB;IACjB,IAAI;IACJ,UAAU;IACV,mBAAmB;CACpB,CAAC"}
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/** @title Описание плитки */
|
|
7
|
-
description?: string;
|
|
2
|
+
/**
|
|
3
|
+
* @title Плитка
|
|
4
|
+
*/
|
|
5
|
+
export declare type BonusItem = HeadlineCommonProps & {
|
|
8
6
|
/** @title Количество баллов */
|
|
9
7
|
bonusCount?: string;
|
|
10
8
|
/** @title Наименование */
|
|
11
9
|
bonusName?: string;
|
|
12
|
-
}
|
|
10
|
+
};
|
|
13
11
|
/**
|
|
14
12
|
* @title Блок Бонусы
|
|
15
13
|
*/
|
|
16
14
|
export declare type BonusContent = HeadlineCommonProps & {
|
|
17
15
|
/** @title Список плиток */
|
|
18
|
-
bonusItems?:
|
|
16
|
+
bonusItems?: BonusItem[];
|
|
19
17
|
};
|
|
20
|
-
export {};
|
|
@@ -2,12 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
|
-
import { getElementsColsValue } from './getElementsColsValue.js';
|
|
6
5
|
import { Headline } from '../Headline/Headline.js';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
});
|
|
6
|
+
import { getElementsColsValue } from './getElementsColsValue.js';
|
|
7
|
+
export const BonusBenefitsBlock = JSX(({ context, className = '', title, subtitle, bonusBenefits, ...rest }) => (_jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-[50px] flex flex-col text-center ${className}`, context: context, ...rest, children: [_jsx(Headline, { context: context, className: "!p-0", title: title, description: subtitle, headlineVersion: "M", align: "center" }), bonusBenefits?.length ? (_jsx("div", { className: `grid gap-1 mt-8 ${getElementsColsValue(className)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
|
|
10
8
|
const renderBonusBenefit = (bonusBenefit, i) => {
|
|
11
|
-
return (_jsxs("div", { className: "flex flex-col items-center max-w-[292px]", children: [bonusBenefit?.icon ? (_jsx(Img, { className: "h-[
|
|
9
|
+
return (_jsxs("div", { className: "flex flex-col items-center max-w-[292px]", children: [bonusBenefit?.icon ? (_jsx(Img, { className: "h-[160px] w-[180px] min-w-[180px] min-h-[160px]", image: bonusBenefit.icon, width: "180", height: "160" })) : null, _jsx("div", { children: bonusBenefit?.label ? _jsx("span", { className: "text-h6 m-0", children: bonusBenefit.label }) : null })] }, String(i)));
|
|
12
10
|
};
|
|
13
11
|
//# sourceMappingURL=BonusBenefitsBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock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EACR,wBACG,YAAY,EAAE,KAAK,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,aAAa,YAAE,YAAY,CAAC,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GACnF,KAXE,MAAM,CAAC,CAAC,CAAC,CAYb,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IconProps } from '../../model/Picture';
|
|
2
|
+
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
2
3
|
/**
|
|
3
4
|
* @title Бонус и преимущество
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
/** @title Название */
|
|
7
|
-
label?: string;
|
|
8
|
-
/** @title Изображение */
|
|
9
|
-
icon?: Picture;
|
|
10
|
-
}
|
|
6
|
+
export declare type BonusBenefit = LabelProps & IconProps;
|
|
11
7
|
/**
|
|
12
8
|
* @title Блок бонусов и преимуществ
|
|
13
9
|
*/
|
|
14
|
-
export
|
|
15
|
-
/** @title Заголовок */
|
|
16
|
-
title?: string;
|
|
10
|
+
export declare type BonusBenefitsBlockContent = TitleProps & {
|
|
17
11
|
/** @title Подзаголовок */
|
|
18
12
|
subtitle?: string;
|
|
19
13
|
/** @title Список бонусов */
|
|
20
14
|
bonusBenefits?: BonusBenefit[];
|
|
21
|
-
}
|
|
15
|
+
};
|
|
@@ -7,7 +7,8 @@ import { Rate } from './Rate.js';
|
|
|
7
7
|
import { renderButtonSection } from './renderButtonSection.js';
|
|
8
8
|
import { renderWantedSumInput } from './renderWantedSumInput.js';
|
|
9
9
|
import { useBonusCalculatorParams } from './useBonusCalculatorParams.js';
|
|
10
|
-
|
|
10
|
+
import { renderFootnote } from './renderFootnote.js';
|
|
11
|
+
export const BonusCalculatorForm = JSX(({ context, className = '', sourceBookDir = '', buttons, footnote }) => {
|
|
11
12
|
const [travelExpenseValue, setTravelExpenseValue] = useState(DEFAULT_TRAVEL_MIN_SUM);
|
|
12
13
|
const [restExpenseValue, setRestExpenseValue] = useState(DEFAULT_REST_MIN_SUM);
|
|
13
14
|
const userInputParams = {
|
|
@@ -28,6 +29,6 @@ export const BonusCalculatorForm = JSX(({ context, className = '', sourceBookDir
|
|
|
28
29
|
moneyValue: restExpenseValue,
|
|
29
30
|
step: 500,
|
|
30
31
|
isShowItems: false,
|
|
31
|
-
}, setRestExpenseValue)] }), _jsx("div", { children: monthBonus >= 0 ? (_jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), _jsxs("div", { className: "w-[
|
|
32
|
+
}, setRestExpenseValue)] }), _jsx("div", { children: monthBonus >= 0 ? (_jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), _jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? _jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonSection(context, buttons), renderFootnote(footnote)] })] }));
|
|
32
33
|
});
|
|
33
34
|
//# sourceMappingURL=BonusCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,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E,GACnF,wBAAwB,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;IAE3D,OAAO,CACL,mBAAS,SAAS,EAAE,SAAS,aAC3B,eAAK,SAAS,EAAC,WAAW,aACvB,oBAAoB,CACnB,0CAA0C,EAC1C;wBACE,MAAM,EAAE,YAAY;wBACpB,MAAM,EAAE,YAAY;wBACpB,UAAU,EAAE,kBAAkB;wBAC9B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,qBAAqB,CACtB,EACA,oBAAoB,CACnB,yCAAyC,EACzC;wBACE,SAAS,EAAE,MAAM;wBACjB,MAAM,EAAE,WAAW;wBACnB,MAAM,EAAE,WAAW;wBACnB,UAAU,EAAE,gBAAgB;wBAC5B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,mBAAmB,CACpB,IACG,EACN,wBACG,UAAU,IAAI,CAAC,CAAC,CAAC,CAAC,CACjB,KAAC,IAAI,IAAC,KAAK,EAAC,kFAAiB,EAAC,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAC,kBAAkB,GAAG,CACzF,CAAC,CAAC,CAAC,IAAI,GACJ,EACN,eAAK,SAAS,EAAC,sBAAsB,aAClC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,KAAC,oBAAoB,IAAC,KAAK,EAAC,sEAAe,EAAC,KAAK,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI,EACxF,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,EACrC,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IconProps } from '../../model/Picture';
|
|
3
3
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
|
-
import type { TitleProps } from '../../model/HeadlineType';
|
|
5
|
-
|
|
4
|
+
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
5
|
+
import type { Footnote } from '../../model/Footnote';
|
|
6
|
+
export declare type CommonCalculatorProps = Footnote & {
|
|
6
7
|
/** @title Кнопки */
|
|
7
8
|
buttons?: ButtonWithIconProps[];
|
|
8
9
|
/** @title Адрес справочника */
|
|
9
10
|
sourceBookDir?: string;
|
|
10
|
-
}
|
|
11
|
+
};
|
|
11
12
|
/**
|
|
12
13
|
* TODO: данные из справочника
|
|
13
14
|
**/
|
|
@@ -33,27 +34,6 @@ export interface CreditCalculatorParams {
|
|
|
33
34
|
/** @hidden */
|
|
34
35
|
rateWithoutInsurance?: number;
|
|
35
36
|
}
|
|
36
|
-
/**
|
|
37
|
-
* TODO: данные из справочника
|
|
38
|
-
**/
|
|
39
|
-
export interface MortgageCalculatorParams {
|
|
40
|
-
/** @hidden */
|
|
41
|
-
isAnnuity?: boolean;
|
|
42
|
-
/** @hidden */
|
|
43
|
-
minInitialContribution?: number;
|
|
44
|
-
/** @hidden */
|
|
45
|
-
minSum?: number;
|
|
46
|
-
/** @hidden */
|
|
47
|
-
maxSum?: number;
|
|
48
|
-
/** @hidden */
|
|
49
|
-
minMonths?: number;
|
|
50
|
-
/** @hidden */
|
|
51
|
-
maxMonths?: number;
|
|
52
|
-
/** @hidden */
|
|
53
|
-
rateWithInsurance?: number;
|
|
54
|
-
/** @hidden */
|
|
55
|
-
rateWithoutInsurance?: number;
|
|
56
|
-
}
|
|
57
37
|
/**
|
|
58
38
|
* TODO: данные из справочника
|
|
59
39
|
**/
|
|
@@ -111,13 +91,6 @@ export interface CalculatorParams {
|
|
|
111
91
|
export declare type CreditCalculatorParamsDef = TitleProps & CreditCalculatorParams & CommonCalculatorProps & {
|
|
112
92
|
calcType: 'CreditCalculatorForm';
|
|
113
93
|
};
|
|
114
|
-
/**
|
|
115
|
-
* @title Ипотечный калькулятор
|
|
116
|
-
* @default {"calcType": "MortgageCalculatorForm"}
|
|
117
|
-
*/
|
|
118
|
-
export declare type MortgageCalculatorParamsDef = TitleProps & MortgageCalculatorParams & CommonCalculatorProps & {
|
|
119
|
-
calcType: 'MortgageCalculatorForm';
|
|
120
|
-
};
|
|
121
94
|
/**
|
|
122
95
|
* @title Калькулятор вкладов
|
|
123
96
|
* @default {"calcType": "DepositCalculatorForm"}
|
|
@@ -135,17 +108,11 @@ export declare type BonusCalculatorParamsDef = TitleProps & BonusCalculatorParam
|
|
|
135
108
|
/**
|
|
136
109
|
* @title Настройки калькулятора
|
|
137
110
|
*/
|
|
138
|
-
export declare type CalculatorBlockDef = EmptyOption | CreditCalculatorParamsDef |
|
|
111
|
+
export declare type CalculatorBlockDef = EmptyOption | CreditCalculatorParamsDef | DepositCalculatorParamsDef | BonusCalculatorParamsDef;
|
|
139
112
|
/**
|
|
140
113
|
* @title Кнопка навигации
|
|
141
114
|
*/
|
|
142
|
-
export
|
|
143
|
-
/** @title Заголовок */
|
|
144
|
-
title?: string;
|
|
145
|
-
/** @title Описание */
|
|
146
|
-
description?: string;
|
|
147
|
-
icon?: Picture;
|
|
148
|
-
}
|
|
115
|
+
export declare type CalculatorNav = HeadlineCommonProps & IconProps;
|
|
149
116
|
/**
|
|
150
117
|
* @title Вкладка
|
|
151
118
|
*/
|
|
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers.js';
|
|
4
4
|
export const CalculatorValueBlock = JSX(({ title, value, postfix = '', prefix, className = '' }) => {
|
|
5
|
-
return (_jsxs("div", { className: `mb-
|
|
5
|
+
return (_jsxs("div", { className: `mb-7 ${className}`, children: [title ? _jsx("div", { className: "text-l-light text-secondary-text", children: title }) : null, value ? (_jsxs("div", { className: "text-h3", children: [prefix, " ", addSpacesBetweenNumbers(Math.round(value)), " ", postfix] })) : null] }));
|
|
6
6
|
});
|
|
7
7
|
//# sourceMappingURL=CalculatorValueBlock.js.map
|
|
@@ -10,6 +10,7 @@ import { renderMonthsInput } from './renderMonthsInput.js';
|
|
|
10
10
|
import { renderPaymentTypeSelector } from './renderPaymentTypeSelector.js';
|
|
11
11
|
import { renderWantedSumInput } from './renderWantedSumInput.js';
|
|
12
12
|
import { useCreditCalculatorParams } from './useCreditCalculatorParams.js';
|
|
13
|
+
import { renderFootnote } from './renderFootnote.js';
|
|
13
14
|
export const ANNUITY = 'annuity';
|
|
14
15
|
export const DIFFERENTIAL = 'differential';
|
|
15
16
|
const paymentTypeItems = [
|
|
@@ -22,7 +23,7 @@ const paymentTypeItems = [
|
|
|
22
23
|
text: 'Дифференцированный',
|
|
23
24
|
},
|
|
24
25
|
];
|
|
25
|
-
export const CreditCalculatorForm = JSX(({ context, className = '', sourceBookDir, buttons }) => {
|
|
26
|
+
export const CreditCalculatorForm = JSX(({ context, className = '', sourceBookDir, buttons, footnote }) => {
|
|
26
27
|
const [isAnnuity, toggleIsAnnuity] = useState(false);
|
|
27
28
|
const [isInsurance, toggleIsInsurance] = useState(true);
|
|
28
29
|
const [isSalaryClient, toggleIsSalaryClient] = useState(false);
|
|
@@ -38,10 +39,10 @@ export const CreditCalculatorForm = JSX(({ context, className = '', sourceBookDi
|
|
|
38
39
|
monthsValue,
|
|
39
40
|
};
|
|
40
41
|
const calculatorParams = useCreditCalculatorParams(userInputParams, sourceBookDir);
|
|
41
|
-
return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), _jsxs("div", { className: "mt-7", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), _jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), _jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), _jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-[
|
|
42
|
+
return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), _jsxs("div", { className: "mt-7", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), _jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), _jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), _jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [_jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), renderPaymentTypeSelector(context, {
|
|
42
43
|
items: paymentTypeItems,
|
|
43
44
|
checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL,
|
|
44
45
|
onChange: (text) => toggleIsAnnuity(text === ANNUITY),
|
|
45
|
-
}), renderButtonSection(context, buttons)] })] }));
|
|
46
|
+
}), renderButtonSection(context, buttons), renderFootnote(footnote)] })] }));
|
|
46
47
|
});
|
|
47
48
|
//# sourceMappingURL=CreditCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,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AE,qBAAqB,GAC/B,EACF,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,gKAA8B,EACnC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,iBAAiB,GAC3B,IACE,IACF,EACN,KAAC,IAAI,IACH,KAAK,EAAC,sCAAQ,EACd,IAAI,EAAE,gBAAgB,CAAC,SAAS,EAChC,kBAAkB,EAAC,kBAAkB,EACrC,IAAI,EAAC,GAAG,GACR,EACF,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,oBAAoB,IACnB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,uBAAuB,EACjE,KAAK,EAAE,gBAAgB,CAAC,cAAc,EACtC,OAAO,EAAC,QAAG,GACX,EACD,yBAAyB,CAAC,OAAO,EAAE;wBAClC,KAAK,EAAE,gBAAgB;wBACvB,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,YAAY;wBAC/C,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,KAAK,OAAO,CAAC;qBAC9D,CAAC,EACD,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,EACrC,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -8,9 +8,24 @@ import { Rate } from './Rate.js';
|
|
|
8
8
|
import { renderButtonSection } from './renderButtonSection.js';
|
|
9
9
|
import { renderMonthsInput } from './renderMonthsInput.js';
|
|
10
10
|
import { renderWantedSumInput } from './renderWantedSumInput.js';
|
|
11
|
-
|
|
11
|
+
import { renderPaymentTypeSelector } from './renderPaymentTypeSelector.js';
|
|
12
|
+
import { renderFootnote } from './renderFootnote.js';
|
|
13
|
+
const EVERY_MONTH = 'everyMonth';
|
|
14
|
+
const AT_END_TERM = 'atEndTerm';
|
|
15
|
+
const depositTypeItems = [
|
|
16
|
+
{
|
|
17
|
+
id: EVERY_MONTH,
|
|
18
|
+
text: 'Ежемесячно',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: AT_END_TERM,
|
|
22
|
+
text: 'В конце срока',
|
|
23
|
+
},
|
|
24
|
+
];
|
|
25
|
+
export const DepositCalculatorForm = JSX(({ context, className = '', rate, buttons, footnote }) => {
|
|
12
26
|
const [moneyValue, setMoneyValue] = useState(DEFAULT_SUM);
|
|
13
27
|
const [monthsValue, setMonthsValue] = useState(DEFAULT_MONTHS);
|
|
28
|
+
const [isEveryMonth, toggleIsEveryMonth] = useState(false);
|
|
14
29
|
const income = 948841;
|
|
15
30
|
const finallySum = 1218841;
|
|
16
31
|
return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма вклада, ₽', {
|
|
@@ -21,6 +36,10 @@ export const DepositCalculatorForm = JSX(({ context, className = '', buttons, ra
|
|
|
21
36
|
minMonths: DEFAULT_MIN_MONTHS,
|
|
22
37
|
maxMonths: DEFAULT_MAX_MONTHS,
|
|
23
38
|
monthsValue,
|
|
24
|
-
}, setMonthsValue)] }), _jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-[
|
|
39
|
+
}, setMonthsValue)] }), _jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (_jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finallySum ? (_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finallySum, postfix: "\u20BD" })) : null, renderPaymentTypeSelector(context, {
|
|
40
|
+
items: depositTypeItems,
|
|
41
|
+
checkedItem: isEveryMonth ? EVERY_MONTH : AT_END_TERM,
|
|
42
|
+
onChange: (text) => toggleIsEveryMonth(text === EVERY_MONTH),
|
|
43
|
+
}), renderButtonSection(context, buttons), renderFootnote(footnote)] })] }));
|
|
25
44
|
});
|
|
26
45
|
//# sourceMappingURL=DepositCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO;AAEP,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO;AAEP,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CA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E,kBAAkB;wBAC7B,WAAW;qBACZ,EACD,cAAc,CACf,IACG,EACN,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,IAAI,CAAC,EAAE,kBAAkB,EAAC,kBAAkB,EAAC,IAAI,EAAC,GAAG,GAAG,EACxE,eAAK,SAAS,EAAC,sBAAsB,aAClC,MAAM,CAAC,CAAC,CAAC,CACR,KAAC,oBAAoB,IAAC,KAAK,EAAC,kFAAiB,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,EAAC,MAAM,EAAC,GAAG,GAAG,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,CAAC,CAAC,CAAC,CACZ,KAAC,oBAAoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAC,QAAG,GAAG,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,yBAAyB,CAAC,OAAO,EAAE;wBAClC,KAAK,EAAE,gBAAgB;wBACvB,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW;wBACrD,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,kBAAkB,CAAC,IAAI,KAAK,WAAW,CAAC;qBACrE,CAAC,EACD,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,EACrC,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { BonusCalculatorProps } from './BonusCalculatorForm';
|
|
2
2
|
import { CreditCalculatorProp } from './CreditCalculatorForm';
|
|
3
3
|
import { DepositCalculatorProp } from './DepositCalculatorForm';
|
|
4
|
-
|
|
5
|
-
export declare type EmbeddableCalcProps = CreditCalculatorProp | MortgageCalculatorProp | DepositCalculatorProp | BonusCalculatorProps;
|
|
4
|
+
export declare type EmbeddableCalcProps = CreditCalculatorProp | DepositCalculatorProp | BonusCalculatorProps;
|
|
6
5
|
export declare const EmbeddableCalcBlocks: {
|
|
7
6
|
CreditCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<CreditCalculatorProp, any, any>;
|
|
8
|
-
MortgageCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<MortgageCalculatorProp, any, any>;
|
|
9
7
|
DepositCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<DepositCalculatorProp, any, any>;
|
|
10
8
|
BonusCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<BonusCalculatorProps, any, any>;
|
|
11
9
|
};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { BonusCalculatorForm } from './BonusCalculatorForm.js';
|
|
2
2
|
import { CreditCalculatorForm } from './CreditCalculatorForm.js';
|
|
3
3
|
import { DepositCalculatorForm } from './DepositCalculatorForm.js';
|
|
4
|
-
import { MortgageCalculatorForm } from './MortgageCalculatorForm.js';
|
|
5
4
|
export const EmbeddableCalcBlocks = {
|
|
6
5
|
CreditCalculatorForm,
|
|
7
|
-
MortgageCalculatorForm,
|
|
8
6
|
DepositCalculatorForm,
|
|
9
7
|
BonusCalculatorForm,
|
|
10
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddableCalcBlocks.js","sourceRoot":"","sources":["../../../src/components/Calculator/EmbeddableCalcBlocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAwB,MAAM,wBAAwB,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAyB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"EmbeddableCalcBlocks.js","sourceRoot":"","sources":["../../../src/components/Calculator/EmbeddableCalcBlocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAwB,MAAM,wBAAwB,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAyB,MAAM,yBAAyB,CAAC;AAOvF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,oBAAoB;IACpB,qBAAqB;IACrB,mBAAmB;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderFootnote.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderFootnote.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,EAAE,CACrC,IAAI,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,uCAAuC,YAAE,IAAI,GAAK,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
+
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
1
2
|
/**
|
|
2
3
|
* @title Перевод с карты на карту
|
|
3
4
|
*/
|
|
4
|
-
export declare type CardTransferContent = {
|
|
5
|
-
/** @title
|
|
6
|
-
title?: string;
|
|
7
|
-
/** @title Название поля */
|
|
8
|
-
label?: string;
|
|
9
|
-
/** @title Плейсхолдер поля */
|
|
5
|
+
export declare type CardTransferContent = LabelProps & TitleProps & {
|
|
6
|
+
/** @title Плейсхолдер */
|
|
10
7
|
placeholder?: string;
|
|
11
8
|
/** @title Текст кнопки */
|
|
12
9
|
buttonText?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKxC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,OAAO,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