@redneckz/wildless-cms-uni-blocks 0.14.10 → 0.14.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.14.7.js +32 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +47 -45
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -0
- package/bundle/components/Depository/useDepository.d.ts +1 -1
- package/bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +3 -5
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +6 -8
- package/bundle/ui-kit/BaseTile/BaseTile.d.ts +1 -1
- package/bundle/ui-kit/Pagination/PageSizeSelector.d.ts +7 -0
- package/bundle/ui-kit/Pagination/Pagination.d.ts +3 -2
- package/bundle/ui-kit/Pagination/PaginationContainer.d.ts +7 -0
- package/bundle/ui-kit/Pagination/paginationBlockStyle.d.ts +1 -0
- package/bundle/ui-kit/Pagination/renderPages.d.ts +2 -2
- package/bundle/utils/formatDate.d.ts +1 -0
- package/dist/components/Carousel/renderCardHighlight.js +1 -1
- package/dist/components/Carousel/renderCardHighlight.js.map +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +2 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -0
- package/dist/components/Depository/Depository.js +3 -2
- package/dist/components/Depository/Depository.js.map +1 -1
- package/dist/components/Depository/DepositoryItem.js +3 -3
- package/dist/components/Depository/DepositoryItem.js.map +1 -1
- package/dist/components/Depository/useDepository.d.ts +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +3 -5
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +6 -8
- package/dist/ui-kit/BaseTile/BaseTile.d.ts +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js +8 -5
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/Button/ArrowButton.js +3 -2
- package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/dist/ui-kit/InputRange/renderRangeWithTicks.js +2 -1
- package/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
- package/dist/ui-kit/Pagination/PageSizeSelector.d.ts +7 -0
- package/dist/ui-kit/Pagination/PageSizeSelector.js +12 -0
- package/dist/ui-kit/Pagination/PageSizeSelector.js.map +1 -0
- package/dist/ui-kit/Pagination/Pagination.d.ts +3 -2
- package/dist/ui-kit/Pagination/Pagination.js +4 -27
- package/dist/ui-kit/Pagination/Pagination.js.map +1 -1
- package/dist/ui-kit/Pagination/PaginationContainer.d.ts +7 -0
- package/dist/ui-kit/Pagination/PaginationContainer.js +31 -0
- package/dist/ui-kit/Pagination/PaginationContainer.js.map +1 -0
- package/dist/ui-kit/Pagination/paginationBlockStyle.d.ts +1 -0
- package/dist/ui-kit/Pagination/paginationBlockStyle.js +4 -0
- package/dist/ui-kit/Pagination/paginationBlockStyle.js.map +1 -0
- package/dist/ui-kit/Pagination/renderPages.d.ts +2 -2
- package/dist/ui-kit/Pagination/renderPages.js +2 -2
- package/dist/ui-kit/Pagination/renderPages.js.map +1 -1
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/Select/SelectPopup.js +1 -1
- package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
- package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/dist/utils/formatDate.d.ts +1 -0
- package/dist/utils/formatDate.js +5 -0
- package/dist/utils/formatDate.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Carousel/renderCardHighlight.js +1 -1
- package/lib/components/Carousel/renderCardHighlight.js.map +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +2 -2
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -0
- package/lib/components/Depository/Depository.js +3 -2
- package/lib/components/Depository/Depository.js.map +1 -1
- package/lib/components/Depository/DepositoryItem.js +3 -3
- package/lib/components/Depository/DepositoryItem.js.map +1 -1
- package/lib/components/Depository/useDepository.d.ts +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.js +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/Tile/Tile.fixture.d.ts +1 -1
- package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +3 -5
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +6 -8
- package/lib/ui-kit/BaseTile/BaseTile.d.ts +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js +8 -5
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/Button/ArrowButton.js +3 -2
- package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/lib/ui-kit/InputRange/renderRangeWithTicks.js +2 -1
- package/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
- package/lib/ui-kit/Pagination/PageSizeSelector.d.ts +7 -0
- package/lib/ui-kit/Pagination/PageSizeSelector.js +9 -0
- package/lib/ui-kit/Pagination/PageSizeSelector.js.map +1 -0
- package/lib/ui-kit/Pagination/Pagination.d.ts +3 -2
- package/lib/ui-kit/Pagination/Pagination.js +3 -26
- package/lib/ui-kit/Pagination/Pagination.js.map +1 -1
- package/lib/ui-kit/Pagination/PaginationContainer.d.ts +7 -0
- package/lib/ui-kit/Pagination/PaginationContainer.js +28 -0
- package/lib/ui-kit/Pagination/PaginationContainer.js.map +1 -0
- package/lib/ui-kit/Pagination/paginationBlockStyle.d.ts +1 -0
- package/lib/ui-kit/Pagination/paginationBlockStyle.js +2 -0
- package/lib/ui-kit/Pagination/paginationBlockStyle.js.map +1 -0
- package/lib/ui-kit/Pagination/renderPages.d.ts +2 -2
- package/lib/ui-kit/Pagination/renderPages.js +1 -1
- package/lib/ui-kit/Pagination/renderPages.js.map +1 -1
- package/lib/ui-kit/Select/Select.js +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/Select/SelectPopup.js +1 -1
- package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
- package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/lib/utils/formatDate.d.ts +1 -0
- package/lib/utils/formatDate.js +2 -0
- package/lib/utils/formatDate.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +20 -17
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -0
- package/mobile/bundle/components/Depository/useDepository.d.ts +1 -1
- package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +3 -5
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +6 -8
- package/mobile/bundle/ui-kit/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/bundle/ui-kit/Pagination/PageSizeSelector.d.ts +7 -0
- package/mobile/bundle/ui-kit/Pagination/Pagination.d.ts +3 -2
- package/mobile/bundle/ui-kit/Pagination/PaginationContainer.d.ts +7 -0
- package/mobile/bundle/ui-kit/Pagination/paginationBlockStyle.d.ts +1 -0
- package/mobile/bundle/ui-kit/Pagination/renderPages.d.ts +2 -2
- package/mobile/bundle/utils/formatDate.d.ts +1 -0
- package/mobile/dist/components/Carousel/renderCardHighlight.js +1 -1
- package/mobile/dist/components/Carousel/renderCardHighlight.js.map +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -0
- package/mobile/dist/components/Depository/Depository.js +3 -2
- package/mobile/dist/components/Depository/Depository.js.map +1 -1
- package/mobile/dist/components/Depository/DepositoryItem.js +3 -3
- package/mobile/dist/components/Depository/DepositoryItem.js.map +1 -1
- package/mobile/dist/components/Depository/useDepository.d.ts +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +3 -5
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +6 -8
- package/mobile/dist/ui-kit/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +8 -5
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ArrowButton.js +3 -2
- package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js +2 -1
- package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
- package/mobile/dist/ui-kit/Pagination/PageSizeSelector.d.ts +7 -0
- package/mobile/dist/ui-kit/Pagination/PageSizeSelector.js +12 -0
- package/mobile/dist/ui-kit/Pagination/PageSizeSelector.js.map +1 -0
- package/mobile/dist/ui-kit/Pagination/Pagination.d.ts +3 -2
- package/mobile/dist/ui-kit/Pagination/Pagination.js +4 -27
- package/mobile/dist/ui-kit/Pagination/Pagination.js.map +1 -1
- package/mobile/dist/ui-kit/Pagination/PaginationContainer.d.ts +7 -0
- package/mobile/dist/ui-kit/Pagination/PaginationContainer.js +31 -0
- package/mobile/dist/ui-kit/Pagination/PaginationContainer.js.map +1 -0
- package/mobile/dist/ui-kit/Pagination/paginationBlockStyle.d.ts +1 -0
- package/mobile/dist/ui-kit/Pagination/paginationBlockStyle.js +4 -0
- package/mobile/dist/ui-kit/Pagination/paginationBlockStyle.js.map +1 -0
- package/mobile/dist/ui-kit/Pagination/renderPages.d.ts +2 -2
- package/mobile/dist/ui-kit/Pagination/renderPages.js +2 -2
- package/mobile/dist/ui-kit/Pagination/renderPages.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/Select/SelectPopup.js +1 -1
- package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/mobile/dist/utils/formatDate.d.ts +1 -0
- package/mobile/dist/utils/formatDate.js +5 -0
- package/mobile/dist/utils/formatDate.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/Carousel/renderCardHighlight.js +1 -1
- package/mobile/lib/components/Carousel/renderCardHighlight.js.map +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -2
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -0
- package/mobile/lib/components/Depository/Depository.js +3 -2
- package/mobile/lib/components/Depository/Depository.js.map +1 -1
- package/mobile/lib/components/Depository/DepositoryItem.js +3 -3
- package/mobile/lib/components/Depository/DepositoryItem.js.map +1 -1
- package/mobile/lib/components/Depository/useDepository.d.ts +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +3 -5
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +6 -8
- package/mobile/lib/ui-kit/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +8 -5
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ArrowButton.js +3 -2
- package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js +2 -1
- package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
- package/mobile/lib/ui-kit/Pagination/PageSizeSelector.d.ts +7 -0
- package/mobile/lib/ui-kit/Pagination/PageSizeSelector.js +9 -0
- package/mobile/lib/ui-kit/Pagination/PageSizeSelector.js.map +1 -0
- package/mobile/lib/ui-kit/Pagination/Pagination.d.ts +3 -2
- package/mobile/lib/ui-kit/Pagination/Pagination.js +3 -26
- package/mobile/lib/ui-kit/Pagination/Pagination.js.map +1 -1
- package/mobile/lib/ui-kit/Pagination/PaginationContainer.d.ts +7 -0
- package/mobile/lib/ui-kit/Pagination/PaginationContainer.js +28 -0
- package/mobile/lib/ui-kit/Pagination/PaginationContainer.js.map +1 -0
- package/mobile/lib/ui-kit/Pagination/paginationBlockStyle.d.ts +1 -0
- package/mobile/lib/ui-kit/Pagination/paginationBlockStyle.js +2 -0
- package/mobile/lib/ui-kit/Pagination/paginationBlockStyle.js.map +1 -0
- package/mobile/lib/ui-kit/Pagination/renderPages.d.ts +2 -2
- package/mobile/lib/ui-kit/Pagination/renderPages.js +1 -1
- package/mobile/lib/ui-kit/Pagination/renderPages.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/Select/SelectPopup.js +1 -1
- package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/mobile/lib/utils/formatDate.d.ts +1 -0
- package/mobile/lib/utils/formatDate.js +2 -0
- package/mobile/lib/utils/formatDate.js.map +1 -0
- package/mobile/src/components/Carousel/renderCardHighlight.tsx +1 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +2 -2
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +1 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -0
- package/mobile/src/components/Depository/Depository.tsx +5 -2
- package/mobile/src/components/Depository/DepositoryItem.tsx +3 -3
- package/mobile/src/components/Depository/useDepository.ts +1 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/mobile/src/components/ProductTile/ProductTile.example.json +1 -1
- package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
- package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationContent.ts +3 -5
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +6 -5
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +7 -8
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +24 -18
- package/mobile/src/ui-kit/Button/ArrowButton.tsx +6 -3
- package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/renderRangeWithTicks.tsx +5 -3
- package/mobile/src/ui-kit/Pagination/PageSizeSelector.tsx +27 -0
- package/mobile/src/ui-kit/Pagination/Pagination.tsx +26 -80
- package/mobile/src/ui-kit/Pagination/PaginationContainer.tsx +87 -0
- package/mobile/src/ui-kit/Pagination/paginationBlockStyle.ts +2 -0
- package/mobile/src/ui-kit/Pagination/renderPages.tsx +3 -2
- package/mobile/src/ui-kit/Select/Select.tsx +2 -2
- package/mobile/src/ui-kit/Select/SelectPopup.tsx +2 -2
- package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +1 -1
- package/mobile/src/utils/formatDate.ts +1 -0
- package/package.json +1 -1
- package/src/components/Carousel/renderCardHighlight.tsx +1 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +2 -2
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +1 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +3 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -0
- package/src/components/Depository/Depository.fixture.tsx +2 -0
- package/src/components/Depository/Depository.tsx +5 -2
- package/src/components/Depository/DepositoryItem.tsx +3 -3
- package/src/components/Depository/useDepository.ts +1 -1
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +1 -1
- package/src/components/ProductTile/ProductTile.example.json +1 -1
- package/src/components/ProductTile/ProductTile.tsx +1 -1
- package/src/components/Tile/Tile.fixture.tsx +1 -2
- package/src/ui-kit/BaseFiltration/BaseFiltrationContent.ts +3 -5
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +6 -5
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +7 -8
- package/src/ui-kit/BaseTile/BaseTile.tsx +24 -18
- package/src/ui-kit/Button/ArrowButton.tsx +6 -3
- package/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
- package/src/ui-kit/InputRange/renderRangeWithTicks.tsx +5 -3
- package/src/ui-kit/Pagination/PageSizeSelector.tsx +27 -0
- package/src/ui-kit/Pagination/Pagination.tsx +26 -80
- package/src/ui-kit/Pagination/PaginationContainer.tsx +87 -0
- package/src/ui-kit/Pagination/paginationBlockStyle.ts +2 -0
- package/src/ui-kit/Pagination/renderPages.tsx +3 -2
- package/src/ui-kit/Select/Select.tsx +2 -2
- package/src/ui-kit/Select/SelectPopup.tsx +2 -2
- package/src/ui-kit/YandexMap/renderSearchField.tsx +1 -1
- package/src/utils/formatDate.ts +1 -0
- package/tailwind.config.cjs +21 -1
- package/bundle/utils/convertTimestampToDate.d.ts +0 -1
- package/dist/utils/convertTimestampToDate.d.ts +0 -1
- package/dist/utils/convertTimestampToDate.js +0 -16
- package/dist/utils/convertTimestampToDate.js.map +0 -1
- package/lib/utils/convertTimestampToDate.d.ts +0 -1
- package/lib/utils/convertTimestampToDate.js +0 -13
- package/lib/utils/convertTimestampToDate.js.map +0 -1
- package/mobile/bundle/utils/convertTimestampToDate.d.ts +0 -1
- package/mobile/dist/utils/convertTimestampToDate.d.ts +0 -1
- package/mobile/dist/utils/convertTimestampToDate.js +0 -16
- package/mobile/dist/utils/convertTimestampToDate.js.map +0 -1
- package/mobile/lib/utils/convertTimestampToDate.d.ts +0 -1
- package/mobile/lib/utils/convertTimestampToDate.js +0 -13
- package/mobile/lib/utils/convertTimestampToDate.js.map +0 -1
- package/mobile/src/utils/convertTimestampToDate.ts +0 -15
- package/src/utils/convertTimestampToDate.ts +0 -15
|
@@ -10,4 +10,6 @@ import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
|
10
10
|
export declare type CarouselRecommendationCardContent = UniBlockContent & HeadlineCommonProps & ListContent & IconProps & LinkCommonProps & AlignProps & {
|
|
11
11
|
/** @title Соц сети */
|
|
12
12
|
socialMedia?: ButtonContent[];
|
|
13
|
+
/** @title Изображение всегда справа */
|
|
14
|
+
isImageAlwaysOnRight?: boolean;
|
|
13
15
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
|
-
import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
3
3
|
/**
|
|
4
4
|
* @title Заголовок
|
|
5
5
|
*/
|
|
@@ -88,9 +88,7 @@ export declare type ResetButton = {
|
|
|
88
88
|
* @title Плитка "Не найдено"
|
|
89
89
|
*/
|
|
90
90
|
export declare type NotFound = TitleProps & DescriptionProps;
|
|
91
|
-
export
|
|
92
|
-
/** @title Название сворачивающейся кнопки */
|
|
93
|
-
label?: string;
|
|
91
|
+
export declare type BaseFiltrationInnerContent = LabelProps & {
|
|
94
92
|
/**
|
|
95
93
|
* @title Количество отображаемых предметов
|
|
96
94
|
* @minimum 1
|
|
@@ -98,5 +96,5 @@ export interface BaseFiltrationInnerContent {
|
|
|
98
96
|
topItemsCount?: number;
|
|
99
97
|
resetButton?: ResetButton;
|
|
100
98
|
notFound?: NotFound;
|
|
101
|
-
}
|
|
99
|
+
};
|
|
102
100
|
export {};
|
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
import type { Align } from '../../model/Align';
|
|
2
2
|
import type { BulletsProps } from '../../model/Bullets';
|
|
3
|
-
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { HeadlineProps, LabelProps } from '../../model/HeadlineType';
|
|
4
|
+
import type { BenefitsListContent } from '../BenefitsList/BenefitsListContent';
|
|
5
|
+
import type { ButtonsSectionContent } from '../Button/ButtonsSectionContent';
|
|
4
6
|
import type { ImageContent } from '../Img/ImgProps';
|
|
5
7
|
import type { ListContent } from '../List/ListContent';
|
|
6
8
|
import type { RichTextProps } from '../RichText/RichTextProps';
|
|
7
9
|
import type { TagsContent } from '../Tags/TagsContent';
|
|
8
|
-
import type { BenefitsListContent } from '../BenefitsList/BenefitsListContent';
|
|
9
|
-
import type { ButtonsSectionContent } from '../Button/ButtonsSectionContent';
|
|
10
10
|
/** @title Доп. настройки картинки */
|
|
11
11
|
export interface TileImageOptions {
|
|
12
12
|
/** @title Картинка справа/текст слева */
|
|
13
13
|
directionRight?: boolean;
|
|
14
14
|
/** @title Выравнивание изображения */
|
|
15
15
|
imageAlign?: Align;
|
|
16
|
-
/** @title
|
|
17
|
-
|
|
16
|
+
/** @title Второстепенное изображение */
|
|
17
|
+
isImageSecondary?: boolean;
|
|
18
18
|
/** @title Изображение всегда справа */
|
|
19
19
|
isImageAlwaysOnRight?: boolean;
|
|
20
20
|
}
|
|
21
|
-
export declare type BaseProductTileContent = HeadlineProps & BenefitsListContent & RichTextProps & ListContent & BulletsProps & TagsContent & ButtonsSectionContent & ImageContent & {
|
|
22
|
-
/** @title Лейбл (моб.) */
|
|
23
|
-
label?: string;
|
|
21
|
+
export declare type BaseProductTileContent = HeadlineProps & BenefitsListContent & RichTextProps & ListContent & BulletsProps & TagsContent & ButtonsSectionContent & ImageContent & LabelProps & {
|
|
24
22
|
imageOptions?: TileImageOptions;
|
|
25
23
|
/** @title Заголовок во всю ширину */
|
|
26
24
|
isFullWidthTitle?: boolean;
|
|
@@ -7,9 +7,9 @@ interface BaseTileProps extends UniBlockProps {
|
|
|
7
7
|
leftImage?: VNode;
|
|
8
8
|
rightImage?: VNode;
|
|
9
9
|
imageAlign?: Align;
|
|
10
|
-
backImage?: VNode;
|
|
11
10
|
buttons?: VNode;
|
|
12
11
|
isImageAlwaysOnRight?: boolean;
|
|
12
|
+
isImageSecondary?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export declare const BaseTile: import("@redneckz/uni-jsx").UNIComponent<BaseTileProps, any, any>;
|
|
15
15
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const paginationBlockStyle = "py-m px-lg rounded-md cursor-pointer hover:bg-green-more-dark hover:text-white";
|
|
3
2
|
export interface PaginationProps {
|
|
4
3
|
currentPage: number;
|
|
5
4
|
onPageChange: (page: number) => void;
|
|
6
5
|
totalPages: number;
|
|
6
|
+
itemCount?: number;
|
|
7
|
+
onItemCountChange?: (count: number) => void;
|
|
7
8
|
}
|
|
8
|
-
export declare const Pagination: ({ currentPage, onPageChange, totalPages }: PaginationProps) => JSX.Element;
|
|
9
|
+
export declare const Pagination: ({ currentPage, onPageChange, totalPages, itemCount, onItemCountChange, }: PaginationProps) => JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PaginationContainerProps {
|
|
3
|
+
currentPage: number;
|
|
4
|
+
onPageChange: (page: number) => void;
|
|
5
|
+
totalPages: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const PaginationContainer: ({ currentPage, onPageChange, totalPages, }: PaginationContainerProps) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const paginationBlockStyle = "py-m px-lg rounded-md cursor-pointer hover:bg-green-more-dark hover:text-white";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare const renderPages: (pagesParams:
|
|
2
|
+
import type { PaginationContainerProps } from './PaginationContainer';
|
|
3
|
+
export declare const renderPages: (pagesParams: PaginationContainerProps, index: number) => JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const formatDate: (date: string) => string;
|
|
@@ -4,6 +4,6 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
5
5
|
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
6
6
|
const style_1 = require("../../utils/style");
|
|
7
|
-
const renderCardHighlight = ({ className, text = 'ХИТ' } = {}) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('w-14 h-14 bg-white flex flex-col items-center justify-center rounded-md shadow-
|
|
7
|
+
const renderCardHighlight = ({ className, text = 'ХИТ' } = {}) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('w-14 h-14 bg-white flex flex-col items-center justify-center rounded-md shadow-main-black', className), children: [(0, jsx_runtime_1.jsx)(Icon_1.Icon, { iconVersion: "black", name: "HeartIcon", width: "24", height: "24" }), (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: text })] }));
|
|
8
8
|
exports.renderCardHighlight = renderCardHighlight;
|
|
9
9
|
//# sourceMappingURL=renderCardHighlight.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderCardHighlight.js","sourceRoot":"","sources":["../../../src/components/Carousel/renderCardHighlight.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;AAC9C,gEAA6D;AAC7D,6CAA0C;AAOnC,MAAM,mBAAmB,GAAG,CAAC,EAAE,SAAS,EAAE,IAAI,GAAG,KAAK,KAAyB,EAAE,EAAE,EAAE,CAAC,CAC3F,iCACE,SAAS,EAAE,IAAA,aAAK,EACd,
|
|
1
|
+
{"version":3,"file":"renderCardHighlight.js","sourceRoot":"","sources":["../../../src/components/Carousel/renderCardHighlight.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;AAC9C,gEAA6D;AAC7D,6CAA0C;AAOnC,MAAM,mBAAmB,GAAG,CAAC,EAAE,SAAS,EAAE,IAAI,GAAG,KAAK,KAAyB,EAAE,EAAE,EAAE,CAAC,CAC3F,iCACE,SAAS,EAAE,IAAA,aAAK,EACd,2FAA2F,EAC3F,SAAS,CACV,aAED,uBAAC,WAAI,IAAC,WAAW,EAAC,OAAO,EAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,EACpE,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,mBAAmB,YACtF,IAAI,GACK,IACR,CACP,CAAC;AAZW,QAAA,mBAAmB,uBAY9B"}
|
|
@@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.CarouselCatalogCard = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
5
|
const BaseTile_1 = require("../../ui-kit/BaseTile/BaseTile");
|
|
6
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
7
|
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
8
8
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
9
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
@@ -13,6 +13,6 @@ const cardStyleMap = {
|
|
|
13
13
|
black: 'bg-black',
|
|
14
14
|
white: 'bg-white',
|
|
15
15
|
};
|
|
16
|
-
exports.CarouselCatalogCard = (0, uni_jsx_1.JSX)(({ className = '', title, description, image, price, button, colors = [], align = 'text-left', padding, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: "h-full", padding: padding, title: title ? ((0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align })) : null, rightImage: image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "flex justify-center align-center mb-xl", image: image })) : null, buttons: (0, renderButtonsSection_1.renderButtonsSection)([button], { buttonClassName: 'w-full
|
|
16
|
+
exports.CarouselCatalogCard = (0, uni_jsx_1.JSX)(({ className = '', title, description, image, price, button, colors = [], align = 'text-left', padding, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: "h-full", padding: padding, title: title ? ((0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align })) : null, rightImage: image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "flex justify-center align-center mb-xl", image: image })) : null, buttons: (0, renderButtonsSection_1.renderButtonsSection)([button], { buttonClassName: 'w-full self-end' }), children: [colors?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex text-secondary-text mb-m", children: [(0, jsx_runtime_1.jsx)("div", { className: "mr-xs", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? ((0, jsx_runtime_1.jsxs)(Text_1.Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null] }) })));
|
|
17
17
|
const renderColorOption = (color, i) => ((0, jsx_runtime_1.jsx)("div", { role: "figure", className: `w-6 h-6 ml-s border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
|
|
18
18
|
//# sourceMappingURL=CarouselCatalogCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselCatalogCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCatalogCard/CarouselCatalogCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"CarouselCatalogCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCatalogCard/CarouselCatalogCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,6DAA0D;AAC1D,4DAAyD;AACzD,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,6CAA0C;AAC1C,mDAAgD;AAKhD,MAAM,YAAY,GAAwC;IACxD,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;CAClB,CAAC;A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IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,WAAW,aACnC,KAAK,oBACD,CACR,CAAC,CAAC,CAAC,IAAI,IACC,GACE,CAChB,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,KAA0B,EAAE,CAAS,EAAE,EAAE,CAAC,CACnE,gCACE,IAAI,EAAC,QAAQ,EAEb,SAAS,EAAE,qEAAqE,YAAY,CAAC,KAAK,CAAC,EAAE,IADhG,MAAM,CAAC,CAAC,CAAC,CAEd,CACH,CAAC"}
|
|
@@ -12,6 +12,6 @@ const cardColumnsModeStyleMap = {
|
|
|
12
12
|
1: 'grid-cols-1',
|
|
13
13
|
2: 'grid-cols-2',
|
|
14
14
|
};
|
|
15
|
-
exports.CarouselInvestmentCard = (0, uni_jsx_1.JSX)(({ className, padding, additionalDescription, cardsList = [], columnsMode = 1, description, image, title, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('text-left', className), padding: "p-0", ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, title: title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", as: "h3", className: "mb-m z-10", title: title }) : null,
|
|
15
|
+
exports.CarouselInvestmentCard = (0, uni_jsx_1.JSX)(({ className, padding, additionalDescription, cardsList = [], columnsMode = 1, description, image, title, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('text-left', className), padding: "p-0", ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, title: title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", as: "h3", className: "mb-m z-10", title: title }) : null, rightImage: image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image }) : null, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between mb-m", children: [description ? ((0, jsx_runtime_1.jsx)("div", { className: "w-1/3", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null] }), cardsList.length ? ((0, jsx_runtime_1.jsx)("ul", { className: (0, style_1.style)('list-none m-0 p-0 grid gap-xs', cardColumnsModeStyleMap[columnsMode]), children: renderCardList(cardsList) })) : null] }) })));
|
|
16
16
|
const renderCardList = (cardsList) => cardsList.map((item, i) => ((0, jsx_runtime_1.jsxs)("li", { children: [item?.parameter ? ((0, jsx_runtime_1.jsx)("div", { className: "inline pr-xs", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", children: item.parameter }) })) : null, item?.parameterDescription ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: item.parameterDescription })) : null] }, String(i))));
|
|
17
17
|
//# sourceMappingURL=CarouselInvestmentCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselInvestmentCard.js","sourceRoot":"","sources":["../../../src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAC1D,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,6CAA0C;AAS1C,MAAM,uBAAuB,GAAoC;IAC/D,CAAC,EAAE,aAAa;IAChB,CAAC,EAAE,aAAa;CACjB,CAAC;AAEW,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EACC,SAAS,EACT,OAAO,EACP,qBAAqB,EACrB,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,CAAC,EACf,WAAW,EACX,KAAK,EACL,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,WAAW,EAAE,SAAS,CAAC,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YAC5E,wBAAC,mBAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,MAAM,EACrB,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAEzF,
|
|
1
|
+
{"version":3,"file":"CarouselInvestmentCard.js","sourceRoot":"","sources":["../../../src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAC1D,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,6CAA0C;AAS1C,MAAM,uBAAuB,GAAoC;IAC/D,CAAC,EAAE,aAAa;IAChB,CAAC,EAAE,aAAa;CACjB,CAAC;AAEW,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EACC,SAAS,EACT,OAAO,EACP,qBAAqB,EACrB,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,CAAC,EACf,WAAW,EACX,KAAK,EACL,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,WAAW,EAAE,SAAS,CAAC,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YAC5E,wBAAC,mBAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,MAAM,EACrB,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE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B,GACrB,CACR,CAAC,CAAC,CAAC,IAAI,KAVD,MAAM,CAAC,CAAC,CAAC,CAWb,CACN,CAAC,CAAC"}
|
|
@@ -11,7 +11,7 @@ const style_1 = require("../../utils/style");
|
|
|
11
11
|
const SocialMedia_1 = require("../Footer/SocialMedia");
|
|
12
12
|
const Headline_1 = require("../Headline/Headline");
|
|
13
13
|
//TODO: replace SocialMedia with renderButtonSection
|
|
14
|
-
exports.CarouselRecommendationCard = (0, uni_jsx_1.JSX)(({ className, padding, description, href, icon, items = [], listItemSize = 'S', socialMedia = [], target, title, align = 'text-left', ...rest }) => {
|
|
15
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative min-h-28 group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: (0, jsx_runtime_1.jsx)(LinkWrapper_1.LinkWrapper, { href: href, target: target, className: "h-full", children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: "h-full", defaultPadding: "p-m", padding: padding, title: title ? ((0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, headlineVersion: "S", isEmbedded: true, align: align })) : null,
|
|
14
|
+
exports.CarouselRecommendationCard = (0, uni_jsx_1.JSX)(({ className, padding, description, href, icon, items = [], listItemSize = 'S', socialMedia = [], target, title, align = 'text-left', isImageAlwaysOnRight, ...rest }) => {
|
|
15
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative min-h-28 group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: (0, jsx_runtime_1.jsx)(LinkWrapper_1.LinkWrapper, { href: href, target: target, className: "h-full", children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: "h-full", defaultPadding: "p-m", padding: padding, title: title ? ((0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, headlineVersion: "S", isEmbedded: true, align: align })) : null, rightImage: icon?.icon || icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, buttons: socialMedia.length ? (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { media: socialMedia, showButtonText: true }) : null, isImageAlwaysOnRight: isImageAlwaysOnRight, children: items.length ? (0, jsx_runtime_1.jsx)(List_1.List, { items: items, listItemSize: listItemSize }) : null }) }) }));
|
|
16
16
|
});
|
|
17
17
|
//# sourceMappingURL=CarouselRecommendationCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAC1D,4DAAyD;AACzD,8CAA2C;AAC3C,sEAAmE;AACnE,iDAA8C;AAC9C,6CAA0C;AAC1C,uDAAoD;AACpD,mDAAgD;AAKhD,oDAAoD;AACvC,QAAA,0BAA0B,GAAG,IAAA,aAAG,EAC3C,CAAC,EACC,SAAS,EACT,OAAO,EACP,WAAW,EACX,IAAI,EACJ,IAAI,EACJ,KAAK,GAAG,EAAE,EACV,YAAY,GAAG,GAAG,EAClB,WAAW,GAAG,EAAE,EAChB,MAAM,EACN,KAAK,EACL,KAAK,GAAG,WAAW,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,sDAAsD,EAAE,SAAS,CAAC,EACnF,cAAc,EAAC,KAAK,KAChB,IAAI,YAER,uBAAC,yBAAW,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAC,QAAQ,YACzD,uBAAC,mBAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,KAAK,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,UAAU,EAAE,IAAI,EAChB,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,
|
|
1
|
+
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAC1D,4DAAyD;AACzD,8CAA2C;AAC3C,sEAAmE;AACnE,iDAA8C;AAC9C,6CAA0C;AAC1C,uDAAoD;AACpD,mDAAgD;AAKhD,oDAAoD;AACvC,QAAA,0BAA0B,GAAG,IAAA,aAAG,EAC3C,CAAC,EACC,SAAS,EACT,OAAO,EACP,WAAW,EACX,IAAI,EACJ,IAAI,EACJ,KAAK,GAAG,EAAE,EACV,YAAY,GAAG,GAAG,EAClB,WAAW,GAAG,EAAE,EAChB,MAAM,EACN,KAAK,EACL,KAAK,GAAG,WAAW,EACnB,oBAAoB,EACpB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,sDAAsD,EAAE,SAAS,CAAC,EACnF,cAAc,EAAC,KAAK,KAChB,IAAI,YAER,uBAAC,yBAAW,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAC,QAAQ,YACzD,uBAAC,mBAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,KAAK,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,UAAU,EAAE,IAAI,EAChB,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,UAAU,EAAE,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACjE,OAAO,EACL,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,uBAAC,yBAAW,IAAC,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EAEvF,oBAAoB,EAAE,oBAAoB,YAEzC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,GAAI,CAAC,CAAC,CAAC,IAAI,GAChE,GACC,GACD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -10,4 +10,6 @@ import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
|
10
10
|
export declare type CarouselRecommendationCardContent = UniBlockContent & HeadlineCommonProps & ListContent & IconProps & LinkCommonProps & AlignProps & {
|
|
11
11
|
/** @title Соц сети */
|
|
12
12
|
socialMedia?: ButtonContent[];
|
|
13
|
+
/** @title Изображение всегда справа */
|
|
14
|
+
isImageAlwaysOnRight?: boolean;
|
|
13
15
|
};
|
|
@@ -11,9 +11,10 @@ const useDepository_1 = require("./useDepository");
|
|
|
11
11
|
const DEFAULT_ITEMS_COUNT = 10;
|
|
12
12
|
exports.Depository = (0, uni_jsx_1.JSX)(({ className, ...rest }) => {
|
|
13
13
|
const [currentPage, setCurrentPage] = (0, hooks_1.useState)(0);
|
|
14
|
-
const [itemCount] = (0, hooks_1.useState)(DEFAULT_ITEMS_COUNT);
|
|
14
|
+
const [itemCount, setItemCount] = (0, hooks_1.useState)(DEFAULT_ITEMS_COUNT);
|
|
15
15
|
const { totalPages = 0, items } = (0, useDepository_1.useDepository)(itemCount, currentPage);
|
|
16
16
|
const handleChangePage = (0, hooks_1.useCallback)((page) => setCurrentPage(page - 1), []);
|
|
17
|
-
|
|
17
|
+
const handleItemCountChange = (0, hooks_1.useCallback)((count) => setItemCount(count), []);
|
|
18
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)(className, 'container p-4xl'), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col", children: [(0, jsx_runtime_1.jsxs)("div", { className: "grid grid-cols-12 pb-lg border-gray border-opacity-50 border-b", children: [(0, jsx_runtime_1.jsx)("span", { className: "col-span-2 text-gray text-m", children: "\u0414\u0430\u0442\u0430" }), (0, jsx_runtime_1.jsx)("span", { className: "col-span-10 text-gray text-m", children: "\u0422\u0435\u043C\u0430" })] }), items?.map((params) => ((0, jsx_runtime_1.jsx)(DepositoryItem_1.DepositoryItem, { ...params }, String(params.publicId)))), (0, jsx_runtime_1.jsx)(Pagination_1.Pagination, { currentPage: currentPage + 1, onPageChange: handleChangePage, totalPages: totalPages + 1, itemCount: itemCount, onItemCountChange: handleItemCountChange })] }) }));
|
|
18
19
|
});
|
|
19
20
|
//# sourceMappingURL=Depository.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Depository.js","sourceRoot":"","sources":["../../../src/components/Depository/Depository.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AAEpE,4DAAyD;AACzD,mEAAgE;AAChE,6CAA0C;AAE1C,qDAAkD;AAClD,mDAAgD;AAEhD,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAIlB,QAAA,UAAU,GAA8B,IAAA,aAAG,EACtD,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACzB,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAClD,MAAM,CAAC,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,mBAAmB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Depository.js","sourceRoot":"","sources":["../../../src/components/Depository/Depository.tsx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BAAC,uBAAU,IACT,WAAW,EAAE,WAAW,GAAG,CAAC,EAC5B,YAAY,EAAE,gBAAgB,EAC9B,UAAU,EAAE,UAAU,GAAG,CAAC,EAC1B,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,qBAAqB,GACxC,IACE,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -2,11 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.DepositoryItem = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const useLink_1 = require("../../hooks/useLink");
|
|
5
|
-
const
|
|
6
|
-
const DepositoryItem = ({ title, timestamp =
|
|
5
|
+
const formatDate_1 = require("../../utils/formatDate");
|
|
6
|
+
const DepositoryItem = ({ title, timestamp = '', publicId }) => {
|
|
7
7
|
const link = (0, useLink_1.useLink)();
|
|
8
8
|
const { href } = link({ href: `/api/v1/depository/${publicId}/file` });
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "grid grid-cols-12 py-lg border-gray border-opacity-50 border-b", children: [(0, jsx_runtime_1.jsx)("div", { className: "col-span-2 text-m", children: (0, jsx_runtime_1.jsx)("span", { children: (0,
|
|
9
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "grid grid-cols-12 py-lg border-gray border-opacity-50 border-b", children: [(0, jsx_runtime_1.jsx)("div", { className: "col-span-2 text-m", children: (0, jsx_runtime_1.jsx)("span", { children: (0, formatDate_1.formatDate)(timestamp) }) }), (0, jsx_runtime_1.jsx)("div", { className: "col-span-10 text-h6 hover:text-primary-active", children: (0, jsx_runtime_1.jsx)("a", { href: href, download: true, "aria-label": "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: title }) })] }, publicId));
|
|
10
10
|
};
|
|
11
11
|
exports.DepositoryItem = DepositoryItem;
|
|
12
12
|
//# sourceMappingURL=DepositoryItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositoryItem.js","sourceRoot":"","sources":["../../../src/components/Depository/DepositoryItem.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;AAC9C
|
|
1
|
+
{"version":3,"file":"DepositoryItem.js","sourceRoot":"","sources":["../../../src/components/Depository/DepositoryItem.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;AAC9C,uDAAoD;AAG7C,MAAM,cAAc,GAAG,CAAC,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAsB,EAAE,EAAE;IACxF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IACvB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,EAAE,sBAAsB,QAAQ,OAAO,EAAE,CAAC,CAAC;IAEvE,OAAO,CACL,iCAAK,SAAS,EAAC,gEAAgE,aAC7E,gCAAK,SAAS,EAAC,mBAAmB,YAChC,2CAAO,IAAA,uBAAU,EAAC,SAAS,CAAC,GAAQ,GAChC,EACN,gCAAK,SAAS,EAAC,+CAA+C,YAC5D,8BAAG,IAAI,EAAE,IAAI,EAAE,QAAQ,sBAAY,4CAAS,YACzC,KAAK,GACJ,GACA,KAR6E,QAAQ,CASvF,CACP,CAAC;AACJ,CAAC,CAAC;AAhBW,QAAA,cAAc,kBAgBzB"}
|
|
@@ -24,7 +24,7 @@ exports.InvestmentInfo = (0, uni_jsx_1.JSX)((props) => {
|
|
|
24
24
|
if (investmentZeroColumn) {
|
|
25
25
|
columns.unshift(investmentZeroColumn);
|
|
26
26
|
}
|
|
27
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container text-m font-light space-y-4xl", children: [columns?.length ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-end relative pl-3xl pr-lg text-white", children: [(0, joinList_1.joinList)((0, jsx_runtime_1.jsx)("div", { className: "w-px h-4 bg-gray" }))(columns.map(renderInvestmentColumn)), (0, jsx_runtime_1.jsx)("div", { className: "absolute right-3xl w-px h-4 bg-gray" })] }), (0, jsx_runtime_1.jsx)("div", { className: "border-t border-gray -mt-xs mx-3xl" }), (0, jsx_runtime_1.jsx)("div", { className: "flex justify-between text-primary-text mt-s -mx-5xl", children: columns.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "max-w-[657px]", items: items, isDotted: isDotted, listItemSize: "M" })) : null] }) }));
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-4xl", ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container text-m font-light space-y-4xl", children: [columns?.length ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-end relative pl-3xl pr-lg text-white", children: [(0, joinList_1.joinList)((0, jsx_runtime_1.jsx)("div", { className: "w-px h-4 bg-gray" }))(columns.map(renderInvestmentColumn)), (0, jsx_runtime_1.jsx)("div", { className: "absolute right-3xl w-px h-4 bg-gray" })] }), (0, jsx_runtime_1.jsx)("div", { className: "border-t border-gray -mt-xs mx-3xl" }), (0, jsx_runtime_1.jsx)("div", { className: "flex justify-between text-primary-text mt-s -mx-5xl", children: columns.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "max-w-[657px]", items: items, isDotted: isDotted, listItemSize: "M" })) : null] }) }));
|
|
28
28
|
});
|
|
29
29
|
const renderInvestmentColumn = (column, i, arr) => {
|
|
30
30
|
const isSecondColumn = i === 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvestmentInfo.js","sourceRoot":"","sources":["../../../src/components/InvestmentInfo/InvestmentInfo.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,iDAA8C;AAC9C,mDAAgD;AAUhD,MAAM,sBAAsB,GAAwC;IAClE,MAAM,EAAE,WAAW;IACnB,KAAK,EAAE,UAAU;IACjB,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,eAAe;CAC9B,CAAC;AAEF,MAAM,qBAAqB,GAAuC;IAChE,EAAE,EAAE,MAAM;IACV,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,EAAE,EAAE,MAAM;CACX,CAAC;AAIW,QAAA,cAAc,GAAG,IAAA,aAAG,EAAsB,CAAC,KAAK,EAAE,EAAE;IAC/D,MAAM,EACJ,SAAS,GAAG,EAAE,EACd,KAAK,EACL,QAAQ,EACR,oBAAoB,EACpB,iBAAiB,EACjB,GAAG,IAAI,EACR,GAAG,KAAK,CAAC;IACV,MAAM,OAAO,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAChE,IAAI,oBAAoB,EAAE;QACxB,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;KACvC;IAED,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"InvestmentInfo.js","sourceRoot":"","sources":["../../../src/components/InvestmentInfo/InvestmentInfo.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,iDAA8C;AAC9C,mDAAgD;AAUhD,MAAM,sBAAsB,GAAwC;IAClE,MAAM,EAAE,WAAW;IACnB,KAAK,EAAE,UAAU;IACjB,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,eAAe;CAC9B,CAAC;AAEF,MAAM,qBAAqB,GAAuC;IAChE,EAAE,EAAE,MAAM;IACV,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,EAAE,EAAE,MAAM;CACX,CAAC;AAIW,QAAA,cAAc,GAAG,IAAA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,CAAC,SAAS,CAAC,IAAI,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE,YAEhF,gCAAK,SAAS,EAAC,aAAa,YAAE,IAAI,CAAC,IAAI,GAAO,IALzC,QAAQ,CAAC,EAAE,CAMZ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,2BAA2B,GAAG,CAClC,MAA+C,EAC/C,CAAS,EACT,EAAE;IACF,OAAO,CACL,gCAAwB,SAAS,EAAE,oDAAoD,YACpF,MAAM,CAAC,KAAK,IADL,SAAS,CAAC,EAAE,CAEhB,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -5,5 +5,5 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const BaseProductTile_1 = require("../../ui-kit/BaseProductTile/BaseProductTile");
|
|
6
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
7
|
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
8
|
-
exports.ProductTile = (0, uni_jsx_1.JSX)(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, padding: "p-0", ...rest, children: (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { className: "h-full", defaultPadding: "p-4xl sm:p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: {
|
|
8
|
+
exports.ProductTile = (0, uni_jsx_1.JSX)(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, padding: "p-0", ...rest, children: (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { className: "h-full", defaultPadding: "p-4xl sm:p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isImageSecondary: true, ...imageOptions }, ...rest, children: additionalDescription ? ((0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
|
|
9
9
|
//# sourceMappingURL=ProductTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,kFAA+E;AAC/E,4DAAyD;AACzD,gEAA6D;AAKhD,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,EACT,OAAO,EACP,eAAe,GAAG,GAAG,EACrB,iBAAiB,GAAG,IAAI,EACxB,qBAAqB,EACrB,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,uBAAC,iCAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,eAAe,EAC9B,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,kFAA+E;AAC/E,4DAAyD;AACzD,gEAA6D;AAKhD,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,EACT,OAAO,EACP,eAAe,GAAG,GAAG,EACrB,iBAAiB,GAAG,IAAI,EACxB,qBAAqB,EACrB,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,uBAAC,iCAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,eAAe,EAC9B,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,GAAG,YAAY,EAAE,KACrD,IAAI,YAEP,qBAAqB,CAAC,CAAC,CAAC,CACvB,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,wCAAwC,YACtF,qBAAqB,GACZ,CACb,CAAC,CAAC,CAAC,IAAI,GACQ,GACL,CAChB,CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
|
-
import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
3
3
|
/**
|
|
4
4
|
* @title Заголовок
|
|
5
5
|
*/
|
|
@@ -88,9 +88,7 @@ export declare type ResetButton = {
|
|
|
88
88
|
* @title Плитка "Не найдено"
|
|
89
89
|
*/
|
|
90
90
|
export declare type NotFound = TitleProps & DescriptionProps;
|
|
91
|
-
export
|
|
92
|
-
/** @title Название сворачивающейся кнопки */
|
|
93
|
-
label?: string;
|
|
91
|
+
export declare type BaseFiltrationInnerContent = LabelProps & {
|
|
94
92
|
/**
|
|
95
93
|
* @title Количество отображаемых предметов
|
|
96
94
|
* @minimum 1
|
|
@@ -98,5 +96,5 @@ export interface BaseFiltrationInnerContent {
|
|
|
98
96
|
topItemsCount?: number;
|
|
99
97
|
resetButton?: ResetButton;
|
|
100
98
|
notFound?: NotFound;
|
|
101
|
-
}
|
|
99
|
+
};
|
|
102
100
|
export {};
|
|
@@ -10,11 +10,11 @@ const Img_1 = require("../Img/Img");
|
|
|
10
10
|
const List_1 = require("../List/List");
|
|
11
11
|
const RichText_1 = require("../RichText/RichText");
|
|
12
12
|
const Tags_1 = require("../Tags/Tags");
|
|
13
|
-
exports.BaseProductTile = (0, uni_jsx_1.JSX)(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', benefitsVersion, isTabularBenefits, benefits, __html, isFullWidthTitle = true, items, isDotted = true, listItemSize, tags = [], buttons, image, imageOptions: { imageAlign = '
|
|
13
|
+
exports.BaseProductTile = (0, uni_jsx_1.JSX)(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', benefitsVersion, isTabularBenefits, benefits, __html, isFullWidthTitle = true, items, isDotted = true, listItemSize, tags = [], buttons, image, imageOptions: { imageAlign = 'center', directionRight = true, isImageAlwaysOnRight, isImageSecondary = false, } = {}, children, }) => {
|
|
14
14
|
const img = image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image }) : null;
|
|
15
15
|
const headline = renderHeadline({ title, description, headlineVersion, align });
|
|
16
16
|
const filteredBenefits = benefits?.filter((_) => _?.type === 'rte' || 'label' in _ || 'description' in _);
|
|
17
|
-
return ((0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { insetTitle: headline } : { title: headline }), ...
|
|
17
|
+
return ((0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { insetTitle: headline } : { title: headline }), ...leftOrRightImage(img, directionRight), isImageSecondary: isImageSecondary, imageAlign: imageAlign, isImageAlwaysOnRight: isImageAlwaysOnRight, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons), children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col sm:gap-xl gap-4xl", children: [filteredBenefits?.length ? ((0, jsx_runtime_1.jsx)(BenefitsList_1.BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: filteredBenefits })) : null, __html ? (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, renderTags(tags)] }) }));
|
|
18
18
|
});
|
|
19
19
|
const leftOrRightImage = (img, directionRight) => directionRight ? { rightImage: img } : { leftImage: img };
|
|
20
20
|
const renderTags = (tags) => (tags?.length ? (0, jsx_runtime_1.jsx)(Tags_1.Tags, { tags: tags }) : null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseProductTile.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseProductTile/BaseProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;
|
|
1
|
+
{"version":3,"file":"BaseProductTile.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseProductTile/BaseProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAI9D,mDAAgD;AAChD,+DAA4D;AAC5D,yEAAsE;AACtE,oCAAiC;AACjC,uCAAoC;AACpC,mDAAgD;AAChD,uCAAoC;AAMvB,QAAA,eAAe,GAAG,IAAA,aAAG,EAChC,CAAC,EACC,SAAS,EACT,OAAO,EACP,cAAc,EACd,KAAK,EACL,WAAW,EACX,eAAe,GAAG,GAAG,EACrB,KAAK,GAAG,WAAW,EACnB,eAAe,EACf,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,gBAAgB,GAAG,IAAI,EACvB,KAAK,EACL,QAAQ,GAAG,IAAI,EACf,YAAY,EACZ,IAAI,GAAG,EAAE,EACT,OAAO,EACP,KAAK,EACL,YAAY,EAAE,EACZ,UAAU,GAAG,QAAQ,EACrB,cAAc,GAAG,IAAI,EACrB,oBAAoB,EACpB,gBAAgB,GAAG,KAAK,GACzB,GAAG,EAAE,EACN,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBA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AAC,IAAI,EACP,QAAQ,EACR,UAAU,CAAC,IAAI,CAAC,IACb,GACG,CACZ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,GAAU,EAAE,cAAuB,EAAE,EAAE,CAC/D,cAAc,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;AAE5D,MAAM,UAAU,GAAG,CAAC,IAAc,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AASpF,MAAM,cAAc,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,EAAkB,EAAE,EAAE,CACxF,KAAK,IAAI,WAAW,CAAC,CAAC,CAAC,CACrB,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,IAAI,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
import type { Align } from '../../model/Align';
|
|
2
2
|
import type { BulletsProps } from '../../model/Bullets';
|
|
3
|
-
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { HeadlineProps, LabelProps } from '../../model/HeadlineType';
|
|
4
|
+
import type { BenefitsListContent } from '../BenefitsList/BenefitsListContent';
|
|
5
|
+
import type { ButtonsSectionContent } from '../Button/ButtonsSectionContent';
|
|
4
6
|
import type { ImageContent } from '../Img/ImgProps';
|
|
5
7
|
import type { ListContent } from '../List/ListContent';
|
|
6
8
|
import type { RichTextProps } from '../RichText/RichTextProps';
|
|
7
9
|
import type { TagsContent } from '../Tags/TagsContent';
|
|
8
|
-
import type { BenefitsListContent } from '../BenefitsList/BenefitsListContent';
|
|
9
|
-
import type { ButtonsSectionContent } from '../Button/ButtonsSectionContent';
|
|
10
10
|
/** @title Доп. настройки картинки */
|
|
11
11
|
export interface TileImageOptions {
|
|
12
12
|
/** @title Картинка справа/текст слева */
|
|
13
13
|
directionRight?: boolean;
|
|
14
14
|
/** @title Выравнивание изображения */
|
|
15
15
|
imageAlign?: Align;
|
|
16
|
-
/** @title
|
|
17
|
-
|
|
16
|
+
/** @title Второстепенное изображение */
|
|
17
|
+
isImageSecondary?: boolean;
|
|
18
18
|
/** @title Изображение всегда справа */
|
|
19
19
|
isImageAlwaysOnRight?: boolean;
|
|
20
20
|
}
|
|
21
|
-
export declare type BaseProductTileContent = HeadlineProps & BenefitsListContent & RichTextProps & ListContent & BulletsProps & TagsContent & ButtonsSectionContent & ImageContent & {
|
|
22
|
-
/** @title Лейбл (моб.) */
|
|
23
|
-
label?: string;
|
|
21
|
+
export declare type BaseProductTileContent = HeadlineProps & BenefitsListContent & RichTextProps & ListContent & BulletsProps & TagsContent & ButtonsSectionContent & ImageContent & LabelProps & {
|
|
24
22
|
imageOptions?: TileImageOptions;
|
|
25
23
|
/** @title Заголовок во всю ширину */
|
|
26
24
|
isFullWidthTitle?: boolean;
|
|
@@ -7,9 +7,9 @@ interface BaseTileProps extends UniBlockProps {
|
|
|
7
7
|
leftImage?: VNode;
|
|
8
8
|
rightImage?: VNode;
|
|
9
9
|
imageAlign?: Align;
|
|
10
|
-
backImage?: VNode;
|
|
11
10
|
buttons?: VNode;
|
|
12
11
|
isImageAlwaysOnRight?: boolean;
|
|
12
|
+
isImageSecondary?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export declare const BaseTile: import("@redneckz/uni-jsx").UNIComponent<BaseTileProps, any, any>;
|
|
15
15
|
export {};
|
|
@@ -8,9 +8,12 @@ const imageAlignmentMap = {
|
|
|
8
8
|
center: '@xl:self-center',
|
|
9
9
|
end: '@xl:self-end',
|
|
10
10
|
};
|
|
11
|
-
exports.BaseTile = (0, uni_jsx_1.JSX)(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const
|
|
11
|
+
exports.BaseTile = (0, uni_jsx_1.JSX)(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary, children, }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? (0, jsx_runtime_1.jsx)("div", { className: "relative", children: title }) : null, (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('grow relative flex flex-col-reverse @xl:flex-row justify-around @xl:justify-between items-stretch gap-3xl'), children: [renderImageContainer(leftImage, { imageAlign }), (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('grid gap-3xl', rightImage ? '@xl:grid-cols-2' : '', leftImage ? '' : 'grow'), children: [(0, jsx_runtime_1.jsxs)("div", { className: "grow grid gap-3xl row-span-1", children: [insetTitle, children] }), renderImageContainer(rightImage, {
|
|
12
|
+
className: (0, style_1.style)('@xl:justify-self-end row-start-1 @xl:row-end-3 @xl:col-start-2', positionStyle(isImageAlwaysOnRight), isImageSecondary ? 'hidden @xl:block' : ''),
|
|
13
|
+
imageAlign,
|
|
14
|
+
}), (0, jsx_runtime_1.jsx)("div", { className: "self-end", children: buttons })] })] })] })));
|
|
15
|
+
const positionStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight
|
|
16
|
+
? 'ml-xl justify-self-end row-start-1 row-end-3 col-start-2 self-center'
|
|
17
|
+
: '';
|
|
18
|
+
const renderImageContainer = (image, { className, imageAlign }) => image ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('shrink-1/2 justify-self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
|
|
16
19
|
//# sourceMappingURL=BaseTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseTile/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,6CAA0C;AAa1C,MAAM,iBAAiB,GAA0B;IAC/C,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,iBAAiB;IACzB,GAAG,EAAE,cAAc;CACpB,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,EACT,cAAc,EACd,OAAO,EACP,KAAK,GAAG,EAAE,EACV,UAAU,GAAG,EAAE,EACf,OAAO,EACP,SAAS,EACT,UAAU,EACV,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseTile/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,6CAA0C;AAa1C,MAAM,iBAAiB,GAA0B;IAC/C,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,iBAAiB;IACzB,GAAG,EAAE,cAAc;CACpB,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,EACT,cAAc,EACd,OAAO,EACP,KAAK,GAAG,EAAE,EACV,UAAU,GAAG,EAAE,EACf,OAAO,EACP,SAAS,EACT,UAAU,EACV,UAAU,EACV,oBAAoB,GAAG,KAAK,EAC5B,gBAAgB,EAChB,QAAQ,GACT,EAAE,EAAE,CAAC,CACJ,iCACE,SAAS,EAAE,IAAA,aAAK,EACd,0DAA0D,EAC1D,OAAO,IAAI,cAAc,EACzB,SAAS,CACV,aAEA,KAAK,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,UAAU,YAAE,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EACvD,iCACE,SAAS,EAAE,IAAA,aAAK,EACd,2GAA2G,CAC5G,aAEA,oBAAoB,CAAC,SAAS,EAAE,EAAE,UAAU,EAAE,CAAC,EAChD,iCACE,SAAS,EAAE,IAAA,aAAK,EACd,cAAc,EACd,UAAU,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,EACnC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CACxB,aAED,iCAAK,SAAS,EAAC,8BAA8B,aAC1C,UAAU,EACV,QAAQ,IACL,EACL,oBAAoB,CAAC,UAAU,EAAE;4BAChC,SAAS,EAAE,IAAA,aAAK,EACd,gEAAgE,EAChE,aAAa,CAAC,oBAAoB,CAAC,EACnC,gBAAgB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAC3C;4BACD,UAAU;yBACX,CAAC,EACF,gCAAK,SAAS,EAAC,UAAU,YAAE,OAAO,GAAO,IACrC,IACF,IACF,CACP,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,oBAA6B,EAAE,EAAE,CACtD,oBAAoB;IAClB,CAAC,CAAC,sEAAsE;IACxE,CAAC,CAAC,EAAE,CAAC;AAET,MAAM,oBAAoB,GAAG,CAC3B,KAAwB,EACxB,EAAE,SAAS,EAAE,UAAU,EAA8C,EACrE,EAAE,CACF,KAAK,CAAC,CAAC,CAAC,CACN,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,gCAAgC,EAChC,UAAU,IAAI,iBAAiB,CAAC,UAAU,CAAC,EAC3C,SAAS,CACV,YAEA,KAAK,GACF,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -2,11 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.ScrollRightButton = exports.ScrollLeftButton = exports.ArrowButton = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const style_1 = require("../../utils/style");
|
|
5
6
|
const Img_1 = require("../Img/Img");
|
|
6
7
|
const Button_1 = require("./Button");
|
|
7
|
-
exports.ArrowButton = (0, uni_jsx_1.JSX)(({ className, disabled, ...rest }) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { rounded: true, className:
|
|
8
|
+
exports.ArrowButton = (0, uni_jsx_1.JSX)(({ className, disabled, ...rest }) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { rounded: true, className: (0, style_1.style)('group/btn w-12 h-12 min-h-12 max-h-12 flex items-center justify-center shadow-main-black', disabled
|
|
8
9
|
? 'bg-secondary-light text-secondary-text'
|
|
9
|
-
: 'bg-white text-primary-text hover:text-primary-main'
|
|
10
|
+
: 'bg-white text-primary-text hover:text-primary-main', className || ''), disabled: disabled, ...rest, children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16" }) })));
|
|
10
11
|
exports.ScrollLeftButton = (0, uni_jsx_1.JSX)((props) => ((0, jsx_runtime_1.jsx)(exports.ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
|
|
11
12
|
exports.ScrollRightButton = (0, uni_jsx_1.JSX)((props) => ((0, jsx_runtime_1.jsx)(exports.ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
|
|
12
13
|
//# sourceMappingURL=ArrowButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ArrowButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,oCAAiC;AACjC,qCAAkC;AAGrB,QAAA,WA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CAAC,CAAC"}
|
|
@@ -22,7 +22,7 @@ exports.CookiePopup = (0, uni_jsx_1.JSX)(({ termLink, personalDataPolicyLink })
|
|
|
22
22
|
globalThis.localStorage?.setItem(COOKIE_DIALOG_ID, 'true');
|
|
23
23
|
close();
|
|
24
24
|
}, []);
|
|
25
|
-
return opened ? ((0, jsx_runtime_1.jsx)("div", { className: "container fixed left-0 right-0 bottom-0 z-50", children: (0, jsx_runtime_1.jsxs)("div", { className: "bg-white m-xl p-xl rounded-md flex sm:items-center shadow-
|
|
25
|
+
return opened ? ((0, jsx_runtime_1.jsx)("div", { className: "container fixed left-0 right-0 bottom-0 z-50", children: (0, jsx_runtime_1.jsxs)("div", { className: "bg-white m-xl p-xl rounded-md flex sm:items-center shadow-main-black", children: [(0, jsx_runtime_1.jsx)("div", { className: "sm:flex-1", children: (0, jsx_runtime_1.jsxs)(Paragraph_1.Paragraph, { size: "text-s", font: "font-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", (0, jsx_runtime_1.jsx)(LinkWrapper_1.LinkWrapper, { isRemote: true, className: linkWrapperStyle(termLink?.href), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", (0, jsx_runtime_1.jsx)(LinkWrapper_1.LinkWrapper, { isRemote: true, className: linkWrapperStyle(personalDataPolicyLink?.href), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB."] }) }), (0, jsx_runtime_1.jsx)("div", { className: "ml-s sm:ml-0 w-24 flex justify-end", children: (0, jsx_runtime_1.jsx)(CloseButton_1.CloseButton, { className: "bg-main-gray rounded-md", onClose: handleClose }) })] }) })) : null;
|
|
26
26
|
});
|
|
27
27
|
const linkWrapperStyle = (href) => (0, style_1.style)('inline mx-2xs', href ? 'text-green-dark' : '');
|
|
28
28
|
//# sourceMappingURL=CookiePopup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookiePopup.js","sourceRoot":"","sources":["../../../src/ui-kit/CookiePopup/CookiePopup.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,iEAA8D;AAC9D,uFAAoF;AAEpF,6CAA0C;AAC1C,8DAA2D;AAC3D,4DAAyD;AACzD,sDAAmD;AAOnD,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAClC,MAAM,oBAAoB,GAAG,CAAC,GAAG,IAAI,CAAC;AAEzB,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,QAAQ,EAAE,sBAAsB,EAAE,EAAE,EAAE;IACxF,MAAM,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,GAAE,CAAC;IAE/D,IAAA,uCAAkB,EAChB,GAAG,EAAE;QACH,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,OAAO,CAAC,gBAAgB,CAAC,EAAE;YACvD,IAAI,EAAE,CAAC;SACR;IACH,CAAC,EACD,EAAE,EACF,oBAAoB,CACrB,CAAC;IAEF,MAAM,WAAW,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QACnC,UAAU,CAAC,YAAY,EAAE,OAAO,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;QAC3D,KAAK,EAAE,CAAC;IACV,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,MAAM,CAAC,CAAC,CAAC,CACd,gCAAK,SAAS,EAAC,8CAA8C,YAC3D,iCAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"CookiePopup.js","sourceRoot":"","sources":["../../../src/ui-kit/CookiePopup/CookiePopup.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,iEAA8D;AAC9D,uFAAoF;AAEpF,6CAA0C;AAC1C,8DAA2D;AAC3D,4DAAyD;AAC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