@redneckz/wildless-cms-uni-blocks 0.13.24 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.13.22.js +28 -0
- package/bin/migration-scripts/0.14.0.js +26 -0
- package/bundle/EventBus/defaultEventBus.d.ts +3 -1
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +574 -447
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/AcquiringFormState.d.ts +1 -1
- package/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +1 -1
- package/bundle/components/ApplicationForm/CreditFormState.d.ts +1 -1
- package/bundle/components/ApplicationForm/WedFormState.d.ts +5 -4
- package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +4 -0
- package/bundle/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +4 -0
- package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +2 -1
- package/bundle/components/ApplicationForm/renderWedTextarea.d.ts +4 -0
- package/bundle/components/Bonus/BonusContent.d.ts +2 -0
- package/bundle/components/ComparisonTable/constants.d.ts +4 -4
- package/bundle/components/DepositFiltration/getChildSourceBook.d.ts +2 -0
- package/bundle/components/DepositFiltration/getPeriod.d.ts +9 -0
- package/bundle/components/DepositFiltration/useDepositsPeriods.d.ts +8 -0
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +0 -5
- package/bundle/components/MobileAppTile/renderList.d.ts +2 -1
- package/bundle/components/RollupItem/PrimaryFoldButton.d.ts +12 -0
- package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +4 -4
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +0 -3
- package/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +6 -0
- package/bundle/components/TariffsTable/constants.d.ts +2 -2
- package/bundle/components/TariffsTable/headlineAlign.d.ts +1 -0
- package/bundle/components/TariffsTable/headlineAlign.mobile.d.ts +1 -0
- package/bundle/model/AlignStyles.d.ts +1 -0
- package/bundle/model/AlignStyles.mobile.d.ts +1 -0
- package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +3 -2
- package/bundle/ui-kit/BaseFiltration/getBlocksToRender.d.ts +2 -0
- package/bundle/ui-kit/BaseFiltration/shouldRenderBlock.d.ts +1 -0
- package/bundle/ui-kit/InnerTable/InnerTableBodyItem.mobile.d.ts +5 -0
- package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/bundle/ui-kit/InnerTable/getHorizontalShift.d.ts +2 -0
- package/bundle/ui-kit/InnerTable/linkButtonVersion.d.ts +1 -0
- package/bundle/ui-kit/InnerTable/linkButtonVersion.mobile.d.ts +1 -0
- package/bundle/ui-kit/InnerTable/renderInnerTableRow.d.ts +3 -0
- package/bundle/ui-kit/PopupManager/PopupAction.d.ts +14 -0
- package/bundle/ui-kit/PopupManager/PopupManager.d.ts +2 -0
- package/bundle/ui-kit/PopupManager/usePopupManager.d.ts +7 -0
- package/bundle/ui-kit/Select/Option.d.ts +4 -0
- package/bundle/ui-kit/Select/Select.d.ts +2 -5
- package/bundle/ui-kit/Select/SelectPopup.d.ts +11 -0
- package/bundle/ui-kit/Select/filterOptions.d.ts +2 -0
- package/bundle/ui-kit/Select/formatOption.d.ts +2 -0
- package/bundle/ui-kit/Select/useSelectPopup.d.ts +9 -0
- package/bundle/ui-kit/TextWithIcon/TextWithIcon.d.ts +12 -0
- package/bundle/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/bundle/utils/fetchMultitudeJSON.d.ts +1 -0
- package/dist/EventBus/defaultEventBus.d.ts +3 -1
- package/dist/EventBus/defaultEventBus.js.map +1 -1
- package/dist/components/ApplicationForm/AcquiringFormState.d.ts +1 -1
- package/dist/components/ApplicationForm/ApplicationForm.js +1 -6
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js +35 -16
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/ApplicationForm/BusinessCardFormState.d.ts +1 -1
- package/dist/components/ApplicationForm/CreditFormState.d.ts +1 -1
- package/dist/components/ApplicationForm/WedFormState.d.ts +5 -4
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +4 -0
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js +10 -0
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js.map +1 -0
- package/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
- package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +4 -0
- package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.js +10 -0
- package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.js.map +1 -0
- package/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js +3 -3
- package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/dist/components/ApplicationForm/renderRegion.js.map +1 -1
- package/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
- package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/dist/components/ApplicationForm/renderSubmitButton.js +1 -1
- package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +2 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js +5 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderWedTextarea.d.ts +4 -0
- package/dist/components/ApplicationForm/renderWedTextarea.js +12 -0
- package/dist/components/ApplicationForm/renderWedTextarea.js.map +1 -0
- package/dist/components/Bonus/Bonus.js +4 -3
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/Bonus/BonusContent.d.ts +2 -0
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/renderBonusBenefit.js +2 -2
- package/dist/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/dist/components/Carousel/Carousel.js +1 -0
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinkButton.js +5 -5
- package/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +4 -4
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +2 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +2 -1
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/dist/components/ComparisonTable/TableCell.js +4 -3
- package/dist/components/ComparisonTable/TableCell.js.map +1 -1
- package/dist/components/ComparisonTable/TableCell.mobile.js +4 -6
- package/dist/components/ComparisonTable/TableCell.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/TableColumn.js +3 -2
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/ComparisonTable/TableRow.js +2 -1
- package/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/dist/components/ComparisonTable/constants.d.ts +4 -4
- package/dist/components/ComparisonTable/constants.js +5 -5
- package/dist/components/ComparisonTable/constants.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +2 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/DepositFiltration/DepositFiltration.js +16 -13
- package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/dist/components/DepositFiltration/getChildSourceBook.d.ts +2 -0
- package/dist/components/DepositFiltration/getChildSourceBook.js +6 -0
- package/dist/components/DepositFiltration/getChildSourceBook.js.map +1 -0
- package/dist/components/DepositFiltration/getPeriod.d.ts +9 -0
- package/dist/components/DepositFiltration/getPeriod.js +7 -0
- package/dist/components/DepositFiltration/getPeriod.js.map +1 -0
- package/dist/components/DepositFiltration/useDepositsPeriods.d.ts +8 -0
- package/dist/components/DepositFiltration/useDepositsPeriods.js +24 -0
- package/dist/components/DepositFiltration/useDepositsPeriods.js.map +1 -0
- package/dist/components/ErrorBlock/ErrorBlock.js +2 -2
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +1 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/dist/components/Footer/MediaButton.js +1 -1
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Header/DropdownMenu.js +1 -1
- package/dist/components/Header/DropdownMenu.js.map +1 -1
- package/dist/components/Header/HeaderChatBotButton.js +1 -1
- package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +2 -3
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +0 -5
- package/dist/components/MobileAppTile/renderDescription.js +1 -1
- package/dist/components/MobileAppTile/renderDescription.js.map +1 -1
- package/dist/components/MobileAppTile/renderList.d.ts +2 -1
- package/dist/components/MobileAppTile/renderList.js +2 -2
- package/dist/components/MobileAppTile/renderList.js.map +1 -1
- package/dist/components/MortgageFiltration/MortgageFiltration.js +3 -1
- package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/dist/components/RollupItem/PrimaryFoldButton.d.ts +12 -0
- package/dist/components/RollupItem/PrimaryFoldButton.js +12 -0
- package/dist/components/RollupItem/PrimaryFoldButton.js.map +1 -0
- package/dist/components/RollupItem/RollupItem.js +3 -14
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
- package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeBoxCases.js +1 -1
- package/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
- package/dist/components/StickyBottomMenu/RenderMenuItems.js +1 -1
- package/dist/components/StickyBottomMenu/RenderMenuItems.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.d.ts +4 -4
- package/dist/components/TariffsTable/EmbeddableCellData.js +8 -6
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +3 -10
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +0 -3
- package/dist/components/TariffsTable/TariffsTableRenderCell.js +10 -10
- package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +2 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableWrapper.d.ts +6 -0
- package/dist/components/TariffsTable/TariffsTableWrapper.js +14 -0
- package/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -0
- package/dist/components/TariffsTable/constants.d.ts +2 -2
- package/dist/components/TariffsTable/constants.js +3 -3
- package/dist/components/TariffsTable/constants.js.map +1 -1
- package/dist/components/TariffsTable/headlineAlign.d.ts +1 -0
- package/dist/components/TariffsTable/headlineAlign.js +4 -0
- package/dist/components/TariffsTable/headlineAlign.js.map +1 -0
- package/dist/components/TariffsTable/headlineAlign.mobile.d.ts +1 -0
- package/dist/components/TariffsTable/headlineAlign.mobile.js +4 -0
- package/dist/components/TariffsTable/headlineAlign.mobile.js.map +1 -0
- package/dist/content-page-repository/transformContentPage.js +5 -6
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/model/AlignStyles.d.ts +1 -0
- package/dist/model/AlignStyles.js +4 -0
- package/dist/model/AlignStyles.js.map +1 -0
- package/dist/model/AlignStyles.mobile.d.ts +1 -0
- package/dist/model/AlignStyles.mobile.js +4 -0
- package/dist/model/AlignStyles.mobile.js.map +1 -0
- package/dist/services/search/search.js +1 -1
- package/dist/services/search/search.js.map +1 -1
- package/dist/services/search/textRank.js +1 -1
- package/dist/services/search/textRank.js.map +1 -1
- package/dist/services/search/useSearch.js +1 -1
- package/dist/services/search/useSearch.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +3 -2
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -3
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/getBadgeCount.js +2 -2
- package/dist/ui-kit/BaseFiltration/getBadgeCount.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/getBlocksToRender.d.ts +2 -0
- package/dist/ui-kit/BaseFiltration/getBlocksToRender.js +7 -0
- package/dist/ui-kit/BaseFiltration/getBlocksToRender.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/shouldRenderBlock.d.ts +1 -0
- package/{mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js → dist/ui-kit/BaseFiltration/shouldRenderBlock.js} +8 -5
- package/dist/ui-kit/BaseFiltration/shouldRenderBlock.js.map +1 -0
- package/dist/ui-kit/Button/renderButtonsSection.js +1 -4
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js +2 -2
- package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/dist/ui-kit/DialogManager/DialogManager.js +7 -11
- package/dist/ui-kit/DialogManager/DialogManager.js.map +1 -1
- package/dist/ui-kit/DialogManager/useDialogsList.js +1 -1
- package/dist/ui-kit/DialogManager/useDialogsList.js.map +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.js +7 -8
- package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTable.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -5
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +2 -18
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.mobile.d.ts +5 -0
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.mobile.js +8 -0
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.mobile.js.map +1 -0
- package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/dist/ui-kit/InnerTable/InnerTableButton.js +2 -4
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/dist/ui-kit/InnerTable/getHorizontalShift.d.ts +2 -0
- package/dist/ui-kit/InnerTable/getHorizontalShift.js +7 -0
- package/dist/ui-kit/InnerTable/getHorizontalShift.js.map +1 -0
- package/dist/ui-kit/InnerTable/linkButtonVersion.d.ts +1 -0
- package/dist/ui-kit/InnerTable/linkButtonVersion.js +4 -0
- package/dist/ui-kit/InnerTable/linkButtonVersion.js.map +1 -0
- package/dist/ui-kit/InnerTable/linkButtonVersion.mobile.d.ts +1 -0
- package/dist/ui-kit/InnerTable/linkButtonVersion.mobile.js +4 -0
- package/dist/ui-kit/InnerTable/linkButtonVersion.mobile.js.map +1 -0
- package/dist/ui-kit/InnerTable/renderInnerTableRow.d.ts +3 -0
- package/dist/ui-kit/InnerTable/renderInnerTableRow.js +18 -0
- package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -0
- package/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/PopupManager/PopupAction.d.ts +14 -0
- package/dist/ui-kit/PopupManager/PopupAction.js +2 -0
- package/dist/ui-kit/PopupManager/PopupAction.js.map +1 -0
- package/dist/ui-kit/PopupManager/PopupManager.d.ts +2 -0
- package/dist/ui-kit/PopupManager/PopupManager.js +39 -0
- package/dist/ui-kit/PopupManager/PopupManager.js.map +1 -0
- package/dist/ui-kit/PopupManager/usePopupManager.d.ts +7 -0
- package/dist/ui-kit/PopupManager/usePopupManager.js +10 -0
- package/dist/ui-kit/PopupManager/usePopupManager.js.map +1 -0
- package/dist/ui-kit/Select/Option.d.ts +4 -0
- package/dist/ui-kit/Select/Option.js +2 -0
- package/dist/ui-kit/Select/Option.js.map +1 -0
- package/dist/ui-kit/Select/Select.d.ts +2 -5
- package/dist/ui-kit/Select/Select.js +18 -25
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/Select/SelectPopup.d.ts +11 -0
- package/dist/ui-kit/Select/SelectPopup.js +10 -0
- package/dist/ui-kit/Select/SelectPopup.js.map +1 -0
- package/dist/ui-kit/Select/filterOptions.d.ts +2 -0
- package/dist/ui-kit/Select/filterOptions.js +19 -0
- package/dist/ui-kit/Select/filterOptions.js.map +1 -0
- package/dist/ui-kit/Select/formatOption.d.ts +2 -0
- package/dist/ui-kit/Select/formatOption.js +5 -0
- package/dist/ui-kit/Select/formatOption.js.map +1 -0
- package/dist/ui-kit/Select/useSelectPopup.d.ts +9 -0
- package/dist/ui-kit/Select/useSelectPopup.js +35 -0
- package/dist/ui-kit/Select/useSelectPopup.js.map +1 -0
- package/dist/ui-kit/TextWithIcon/TextWithIcon.d.ts +12 -0
- package/dist/ui-kit/TextWithIcon/TextWithIcon.js +10 -0
- package/dist/ui-kit/TextWithIcon/TextWithIcon.js.map +1 -0
- package/dist/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/dist/ui-kit/YandexMap/YandexMap.js +6 -7
- package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/dist/utils/fetchMultitudeJSON.d.ts +1 -0
- package/dist/utils/fetchMultitudeJSON.js +9 -0
- package/dist/utils/fetchMultitudeJSON.js.map +1 -0
- package/dist/utils/jaroWinklerDistance.js.map +1 -0
- package/fonts/mohave/Mohave-Regular.ttf +0 -0
- package/fonts/mohave/Mohave-Regular.woff2 +0 -0
- package/fonts/mohave/mohave.css +2 -1
- package/lib/EventBus/defaultEventBus.d.ts +3 -1
- package/lib/EventBus/defaultEventBus.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/AcquiringFormState.d.ts +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js +1 -6
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js +36 -17
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/ApplicationForm/BusinessCardFormState.d.ts +1 -1
- package/lib/components/ApplicationForm/CreditFormState.d.ts +1 -1
- package/lib/components/ApplicationForm/WedFormState.d.ts +5 -4
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +1 -0
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +3 -0
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js +7 -0
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js.map +1 -0
- package/lib/components/ApplicationForm/renderAcquiringRegion.js +1 -1
- package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -0
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +3 -0
- package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.js +7 -0
- package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.js.map +1 -0
- package/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js +3 -3
- package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/lib/components/ApplicationForm/renderRegion.js.map +1 -1
- package/lib/components/ApplicationForm/renderRegionDepartment.js +1 -1
- package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/lib/components/ApplicationForm/renderSubmitButton.js +1 -1
- package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +2 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js +6 -2
- package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderWedTextarea.d.ts +3 -0
- package/lib/components/ApplicationForm/renderWedTextarea.js +9 -0
- package/lib/components/ApplicationForm/renderWedTextarea.js.map +1 -0
- package/lib/components/Bonus/Bonus.js +4 -3
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/Bonus/BonusContent.d.ts +2 -0
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/renderBonusBenefit.js +2 -2
- package/lib/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/Carousel/Carousel.js +1 -0
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +16 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.d.ts +16 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinkButton.js +5 -5
- package/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +4 -4
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +2 -2
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +2 -2
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +2 -2
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +3 -2
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/lib/components/ComparisonTable/TableCell.js +5 -4
- package/lib/components/ComparisonTable/TableCell.js.map +1 -1
- package/lib/components/ComparisonTable/TableCell.mobile.js +5 -7
- package/lib/components/ComparisonTable/TableCell.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/TableColumn.js +4 -3
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/ComparisonTable/TableRow.js +3 -2
- package/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/lib/components/ComparisonTable/constants.d.ts +4 -4
- package/lib/components/ComparisonTable/constants.js +4 -4
- package/lib/components/ComparisonTable/constants.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +2 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/DepositFiltration/DepositFiltration.js +16 -13
- package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/lib/components/DepositFiltration/getChildSourceBook.d.ts +2 -0
- package/lib/components/DepositFiltration/getChildSourceBook.js +3 -0
- package/lib/components/DepositFiltration/getChildSourceBook.js.map +1 -0
- package/lib/components/DepositFiltration/getPeriod.d.ts +9 -0
- package/lib/components/DepositFiltration/getPeriod.js +4 -0
- package/lib/components/DepositFiltration/getPeriod.js.map +1 -0
- package/lib/components/DepositFiltration/useDepositsPeriods.d.ts +8 -0
- package/lib/components/DepositFiltration/useDepositsPeriods.js +21 -0
- package/lib/components/DepositFiltration/useDepositsPeriods.js.map +1 -0
- package/lib/components/ErrorBlock/ErrorBlock.js +2 -2
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +1 -1
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/lib/components/Footer/MediaButton.js +1 -1
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Header/DropdownMenu.js +1 -1
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/HeaderChatBotButton.js +1 -1
- package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +2 -3
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +0 -5
- package/lib/components/MobileAppTile/renderDescription.js +1 -1
- package/lib/components/MobileAppTile/renderDescription.js.map +1 -1
- package/lib/components/MobileAppTile/renderList.d.ts +2 -1
- package/lib/components/MobileAppTile/renderList.js +2 -2
- package/lib/components/MobileAppTile/renderList.js.map +1 -1
- package/lib/components/MortgageFiltration/MortgageFiltration.js +3 -1
- package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/lib/components/RollupItem/PrimaryFoldButton.d.ts +12 -0
- package/lib/components/RollupItem/PrimaryFoldButton.js +10 -0
- package/lib/components/RollupItem/PrimaryFoldButton.js.map +1 -0
- package/lib/components/RollupItem/RollupItem.js +4 -15
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
- package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeBoxCases.js +1 -1
- package/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
- package/lib/components/StickyBottomMenu/RenderMenuItems.js +1 -1
- package/lib/components/StickyBottomMenu/RenderMenuItems.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.d.ts +4 -5
- package/lib/components/TariffsTable/EmbeddableCellData.js +8 -6
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +1 -2
- package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +3 -10
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +0 -3
- package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -1
- package/lib/components/TariffsTable/TariffsTableRenderCell.js +11 -11
- package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +3 -2
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.js +3 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableWrapper.d.ts +6 -0
- package/lib/components/TariffsTable/TariffsTableWrapper.js +12 -0
- package/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -0
- package/lib/components/TariffsTable/constants.d.ts +2 -2
- package/lib/components/TariffsTable/constants.js +2 -2
- package/lib/components/TariffsTable/constants.js.map +1 -1
- package/lib/components/TariffsTable/headlineAlign.d.ts +1 -0
- package/lib/components/TariffsTable/headlineAlign.js +2 -0
- package/lib/components/TariffsTable/headlineAlign.js.map +1 -0
- package/lib/components/TariffsTable/headlineAlign.mobile.d.ts +1 -0
- package/lib/components/TariffsTable/headlineAlign.mobile.js +2 -0
- package/lib/components/TariffsTable/headlineAlign.mobile.js.map +1 -0
- package/lib/content-page-repository/transformContentPage.js +5 -6
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/model/AlignStyles.d.ts +1 -0
- package/lib/model/AlignStyles.js +2 -0
- package/lib/model/AlignStyles.js.map +1 -0
- package/lib/model/AlignStyles.mobile.d.ts +1 -0
- package/lib/model/AlignStyles.mobile.js +2 -0
- package/lib/model/AlignStyles.mobile.js.map +1 -0
- package/lib/services/search/search.js +1 -1
- package/lib/services/search/search.js.map +1 -1
- package/lib/services/search/textRank.js +1 -1
- package/lib/services/search/textRank.js.map +1 -1
- package/lib/services/search/useSearch.js +1 -1
- package/lib/services/search/useSearch.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +3 -2
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -3
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/getBadgeCount.js +2 -2
- package/lib/ui-kit/BaseFiltration/getBadgeCount.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/getBlocksToRender.d.ts +2 -0
- package/lib/ui-kit/BaseFiltration/getBlocksToRender.js +4 -0
- package/lib/ui-kit/BaseFiltration/getBlocksToRender.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/shouldRenderBlock.d.ts +1 -0
- package/{mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js → lib/ui-kit/BaseFiltration/shouldRenderBlock.js} +6 -3
- package/lib/ui-kit/BaseFiltration/shouldRenderBlock.js.map +1 -0
- package/lib/ui-kit/Button/renderButtonsSection.js +1 -4
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js +2 -2
- package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/lib/ui-kit/DialogManager/DialogManager.js +7 -11
- package/lib/ui-kit/DialogManager/DialogManager.js.map +1 -1
- package/lib/ui-kit/DialogManager/useDialogsList.js +1 -1
- package/lib/ui-kit/DialogManager/useDialogsList.js.map +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.js +8 -9
- package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTable.fixture.d.ts +6 -0
- package/lib/ui-kit/InnerTable/InnerTable.fixture.mobile.d.ts +6 -0
- package/lib/ui-kit/InnerTable/InnerTable.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -5
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -19
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.mobile.d.ts +5 -0
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.mobile.js +6 -0
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.mobile.js.map +1 -0
- package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/lib/ui-kit/InnerTable/InnerTableButton.fixture.mobile.d.ts +6 -0
- package/lib/ui-kit/InnerTable/InnerTableButton.js +3 -5
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/lib/ui-kit/InnerTable/getHorizontalShift.d.ts +2 -0
- package/lib/ui-kit/InnerTable/getHorizontalShift.js +4 -0
- package/lib/ui-kit/InnerTable/getHorizontalShift.js.map +1 -0
- package/lib/ui-kit/InnerTable/linkButtonVersion.d.ts +1 -0
- package/lib/ui-kit/InnerTable/linkButtonVersion.js +2 -0
- package/lib/ui-kit/InnerTable/linkButtonVersion.js.map +1 -0
- package/lib/ui-kit/InnerTable/linkButtonVersion.mobile.d.ts +1 -0
- package/lib/ui-kit/InnerTable/linkButtonVersion.mobile.js +2 -0
- package/lib/ui-kit/InnerTable/linkButtonVersion.mobile.js.map +1 -0
- package/lib/ui-kit/InnerTable/renderInnerTableRow.d.ts +2 -0
- package/lib/ui-kit/InnerTable/renderInnerTableRow.js +15 -0
- package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -0
- package/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/PopupManager/PopupAction.d.ts +14 -0
- package/lib/ui-kit/PopupManager/PopupAction.js +2 -0
- package/lib/ui-kit/PopupManager/PopupAction.js.map +1 -0
- package/lib/ui-kit/PopupManager/PopupManager.d.ts +2 -0
- package/lib/ui-kit/PopupManager/PopupManager.js +37 -0
- package/lib/ui-kit/PopupManager/PopupManager.js.map +1 -0
- package/lib/ui-kit/PopupManager/usePopupManager.d.ts +7 -0
- package/lib/ui-kit/PopupManager/usePopupManager.js +7 -0
- package/lib/ui-kit/PopupManager/usePopupManager.js.map +1 -0
- package/lib/ui-kit/Select/Option.d.ts +4 -0
- package/lib/ui-kit/Select/Option.js +2 -0
- package/lib/ui-kit/Select/Option.js.map +1 -0
- package/lib/ui-kit/Select/Select.d.ts +2 -5
- package/lib/ui-kit/Select/Select.fixture.d.ts +1 -0
- package/lib/ui-kit/Select/Select.js +18 -25
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/Select/SelectPopup.d.ts +11 -0
- package/lib/ui-kit/Select/SelectPopup.js +8 -0
- package/lib/ui-kit/Select/SelectPopup.js.map +1 -0
- package/lib/ui-kit/Select/filterOptions.d.ts +2 -0
- package/lib/ui-kit/Select/filterOptions.js +16 -0
- package/lib/ui-kit/Select/filterOptions.js.map +1 -0
- package/lib/ui-kit/Select/formatOption.d.ts +2 -0
- package/lib/ui-kit/Select/formatOption.js +2 -0
- package/lib/ui-kit/Select/formatOption.js.map +1 -0
- package/lib/ui-kit/Select/useSelectPopup.d.ts +9 -0
- package/lib/ui-kit/Select/useSelectPopup.js +32 -0
- package/lib/ui-kit/Select/useSelectPopup.js.map +1 -0
- package/lib/ui-kit/TextWithIcon/TextWithIcon.d.ts +12 -0
- package/lib/ui-kit/TextWithIcon/TextWithIcon.js +8 -0
- package/lib/ui-kit/TextWithIcon/TextWithIcon.js.map +1 -0
- package/lib/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/lib/ui-kit/YandexMap/YandexMap.js +6 -7
- package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/lib/utils/fetchMultitudeJSON.d.ts +1 -0
- package/lib/utils/fetchMultitudeJSON.js +6 -0
- package/lib/utils/fetchMultitudeJSON.js.map +1 -0
- package/lib/utils/jaroWinklerDistance.js.map +1 -0
- package/mobile/bundle/EventBus/defaultEventBus.d.ts +3 -1
- package/mobile/bundle/bundle.umd.js +666 -419
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/AcquiringFormState.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/CreditFormState.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/WedFormState.d.ts +5 -4
- package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +2 -1
- package/mobile/bundle/components/ApplicationForm/renderWedTextarea.d.ts +4 -0
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +2 -0
- package/mobile/bundle/components/ComparisonTable/constants.d.ts +4 -4
- package/mobile/bundle/components/DepositFiltration/getChildSourceBook.d.ts +2 -0
- package/mobile/bundle/components/DepositFiltration/getPeriod.d.ts +9 -0
- package/mobile/bundle/components/DepositFiltration/useDepositsPeriods.d.ts +8 -0
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +0 -5
- package/mobile/bundle/components/MobileAppTile/renderList.d.ts +2 -1
- package/mobile/bundle/components/RollupItem/PrimaryFoldButton.d.ts +12 -0
- package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +9 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +0 -3
- package/mobile/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +6 -0
- package/mobile/bundle/components/TariffsTable/constants.d.ts +2 -2
- package/mobile/bundle/components/TariffsTable/headlineAlign.d.ts +1 -0
- package/mobile/bundle/model/AlignStyles.d.ts +1 -0
- package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +3 -2
- package/mobile/bundle/ui-kit/BaseFiltration/getBlocksToRender.d.ts +2 -0
- package/mobile/bundle/ui-kit/BaseFiltration/shouldRenderBlock.d.ts +1 -0
- package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/mobile/bundle/ui-kit/InnerTable/getHorizontalShift.d.ts +2 -0
- package/mobile/bundle/ui-kit/InnerTable/linkButtonVersion.d.ts +1 -0
- package/mobile/bundle/ui-kit/InnerTable/renderInnerTableRow.d.ts +3 -0
- package/mobile/bundle/ui-kit/PopupManager/PopupAction.d.ts +14 -0
- package/mobile/bundle/ui-kit/PopupManager/PopupManager.d.ts +2 -0
- package/mobile/bundle/ui-kit/PopupManager/usePopupManager.d.ts +7 -0
- package/mobile/bundle/ui-kit/Select/Option.d.ts +4 -0
- package/mobile/bundle/ui-kit/Select/Select.d.ts +2 -5
- package/mobile/bundle/ui-kit/Select/SelectPopup.d.ts +11 -0
- package/mobile/bundle/ui-kit/Select/filterOptions.d.ts +2 -0
- package/mobile/bundle/ui-kit/Select/formatOption.d.ts +2 -0
- package/mobile/bundle/ui-kit/Select/useSelectPopup.d.ts +9 -0
- package/mobile/bundle/ui-kit/TextWithIcon/TextWithIcon.d.ts +12 -0
- package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/mobile/bundle/utils/fetchMultitudeJSON.d.ts +1 -0
- package/mobile/dist/EventBus/defaultEventBus.d.ts +3 -1
- package/mobile/dist/EventBus/defaultEventBus.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/AcquiringFormState.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -6
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +35 -16
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/BusinessCardFormState.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/CreditFormState.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/WedFormState.d.ts +5 -4
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +3 -3
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +2 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +5 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedTextarea.d.ts +4 -0
- package/mobile/dist/components/ApplicationForm/renderWedTextarea.js +12 -0
- package/mobile/dist/components/ApplicationForm/renderWedTextarea.js.map +1 -0
- package/mobile/dist/components/Bonus/Bonus.js +4 -3
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/Bonus/BonusContent.d.ts +2 -0
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefit.js +2 -2
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -0
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +5 -5
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +4 -4
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableCell.js +4 -6
- package/mobile/dist/components/ComparisonTable/TableCell.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.js +3 -2
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.js +2 -1
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/constants.d.ts +4 -4
- package/mobile/dist/components/ComparisonTable/constants.js +5 -5
- package/mobile/dist/components/ComparisonTable/constants.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +2 -1
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js +16 -13
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/mobile/dist/components/DepositFiltration/getChildSourceBook.d.ts +2 -0
- package/mobile/dist/components/DepositFiltration/getChildSourceBook.js +6 -0
- package/mobile/dist/components/DepositFiltration/getChildSourceBook.js.map +1 -0
- package/mobile/dist/components/DepositFiltration/getPeriod.d.ts +9 -0
- package/mobile/dist/components/DepositFiltration/getPeriod.js +7 -0
- package/mobile/dist/components/DepositFiltration/getPeriod.js.map +1 -0
- package/mobile/dist/components/DepositFiltration/useDepositsPeriods.d.ts +8 -0
- package/mobile/dist/components/DepositFiltration/useDepositsPeriods.js +24 -0
- package/mobile/dist/components/DepositFiltration/useDepositsPeriods.js.map +1 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -2
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.js +1 -1
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Header/DropdownMenu.js +1 -1
- package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderChatBotButton.js +1 -1
- package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -3
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +0 -5
- package/mobile/dist/components/MobileAppTile/renderDescription.js +1 -1
- package/mobile/dist/components/MobileAppTile/renderDescription.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/renderList.d.ts +2 -1
- package/mobile/dist/components/MobileAppTile/renderList.js +2 -2
- package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +3 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/mobile/dist/components/RollupItem/PrimaryFoldButton.d.ts +12 -0
- package/mobile/dist/components/RollupItem/PrimaryFoldButton.js +12 -0
- package/mobile/dist/components/RollupItem/PrimaryFoldButton.js.map +1 -0
- package/mobile/dist/components/RollupItem/RollupItem.js +3 -14
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.js +1 -1
- package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.js.map +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +9 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +10 -5
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +24 -11
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +0 -3
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +10 -10
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +2 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.d.ts +6 -0
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js +14 -0
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -0
- package/mobile/dist/components/TariffsTable/constants.d.ts +2 -2
- package/mobile/dist/components/TariffsTable/constants.js +3 -3
- package/mobile/dist/components/TariffsTable/constants.js.map +1 -1
- package/mobile/dist/components/TariffsTable/headlineAlign.d.ts +1 -0
- package/mobile/dist/components/TariffsTable/headlineAlign.js +4 -0
- package/mobile/dist/components/TariffsTable/headlineAlign.js.map +1 -0
- package/mobile/dist/content-page-repository/transformContentPage.js +5 -6
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/model/AlignStyles.d.ts +1 -0
- package/mobile/dist/model/AlignStyles.js +4 -0
- package/mobile/dist/model/AlignStyles.js.map +1 -0
- package/mobile/dist/services/search/search.js +1 -1
- package/mobile/dist/services/search/search.js.map +1 -1
- package/mobile/dist/services/search/textRank.js +1 -1
- package/mobile/dist/services/search/textRank.js.map +1 -1
- package/mobile/dist/services/search/useSearch.js +1 -1
- package/mobile/dist/services/search/useSearch.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +3 -2
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -3
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/getBadgeCount.js +2 -2
- package/mobile/dist/ui-kit/BaseFiltration/getBadgeCount.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/getBlocksToRender.d.ts +2 -0
- package/mobile/dist/ui-kit/BaseFiltration/getBlocksToRender.js +7 -0
- package/mobile/dist/ui-kit/BaseFiltration/getBlocksToRender.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/shouldRenderBlock.d.ts +1 -0
- package/{dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js → mobile/dist/ui-kit/BaseFiltration/shouldRenderBlock.js} +8 -5
- package/mobile/dist/ui-kit/BaseFiltration/shouldRenderBlock.js.map +1 -0
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -4
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +2 -2
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/DialogManager.js +7 -11
- package/mobile/dist/ui-kit/DialogManager/DialogManager.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/useDialogsList.js +1 -1
- package/mobile/dist/ui-kit/DialogManager/useDialogsList.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +7 -8
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -5
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -32
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +2 -4
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/getHorizontalShift.d.ts +2 -0
- package/mobile/dist/ui-kit/InnerTable/getHorizontalShift.js +7 -0
- package/mobile/dist/ui-kit/InnerTable/getHorizontalShift.js.map +1 -0
- package/mobile/dist/ui-kit/InnerTable/linkButtonVersion.d.ts +1 -0
- package/mobile/dist/ui-kit/InnerTable/linkButtonVersion.js +4 -0
- package/mobile/dist/ui-kit/InnerTable/linkButtonVersion.js.map +1 -0
- package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.d.ts +3 -0
- package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js +18 -0
- package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -0
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/PopupManager/PopupAction.d.ts +14 -0
- package/mobile/dist/ui-kit/PopupManager/PopupAction.js +2 -0
- package/mobile/dist/ui-kit/PopupManager/PopupAction.js.map +1 -0
- package/mobile/dist/ui-kit/PopupManager/PopupManager.d.ts +2 -0
- package/mobile/dist/ui-kit/PopupManager/PopupManager.js +39 -0
- package/mobile/dist/ui-kit/PopupManager/PopupManager.js.map +1 -0
- package/mobile/dist/ui-kit/PopupManager/usePopupManager.d.ts +7 -0
- package/mobile/dist/ui-kit/PopupManager/usePopupManager.js +10 -0
- package/mobile/dist/ui-kit/PopupManager/usePopupManager.js.map +1 -0
- package/mobile/dist/ui-kit/Select/Option.d.ts +4 -0
- package/mobile/dist/ui-kit/Select/Option.js +2 -0
- package/mobile/dist/ui-kit/Select/Option.js.map +1 -0
- package/mobile/dist/ui-kit/Select/Select.d.ts +2 -5
- package/mobile/dist/ui-kit/Select/Select.js +18 -25
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/Select/SelectPopup.d.ts +11 -0
- package/mobile/dist/ui-kit/Select/SelectPopup.js +10 -0
- package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -0
- package/mobile/dist/ui-kit/Select/filterOptions.d.ts +2 -0
- package/mobile/dist/ui-kit/Select/filterOptions.js +19 -0
- package/mobile/dist/ui-kit/Select/filterOptions.js.map +1 -0
- package/mobile/dist/ui-kit/Select/formatOption.d.ts +2 -0
- package/mobile/dist/ui-kit/Select/formatOption.js +5 -0
- package/mobile/dist/ui-kit/Select/formatOption.js.map +1 -0
- package/mobile/dist/ui-kit/Select/useSelectPopup.d.ts +9 -0
- package/mobile/dist/ui-kit/Select/useSelectPopup.js +35 -0
- package/mobile/dist/ui-kit/Select/useSelectPopup.js.map +1 -0
- package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.d.ts +12 -0
- package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.js +10 -0
- package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.js.map +1 -0
- package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js +6 -7
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/dist/utils/fetchMultitudeJSON.d.ts +1 -0
- package/mobile/dist/utils/fetchMultitudeJSON.js +9 -0
- package/mobile/dist/utils/fetchMultitudeJSON.js.map +1 -0
- package/mobile/dist/utils/jaroWinklerDistance.js.map +1 -0
- package/mobile/fonts/mohave/Mohave-Regular.ttf +0 -0
- package/mobile/fonts/mohave/Mohave-Regular.woff2 +0 -0
- package/mobile/fonts/mohave/mohave.css +2 -1
- package/mobile/lib/EventBus/defaultEventBus.d.ts +3 -1
- package/mobile/lib/EventBus/defaultEventBus.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/AcquiringFormState.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -6
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +36 -17
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/BusinessCardFormState.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/CreditFormState.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/WedFormState.d.ts +5 -4
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +3 -3
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +2 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +6 -2
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedTextarea.d.ts +4 -0
- package/mobile/lib/components/ApplicationForm/renderWedTextarea.js +9 -0
- package/mobile/lib/components/ApplicationForm/renderWedTextarea.js.map +1 -0
- package/mobile/lib/components/Bonus/Bonus.js +4 -3
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/Bonus/BonusContent.d.ts +2 -0
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefit.js +2 -2
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -0
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +5 -5
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +4 -4
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +2 -2
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +2 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableCell.js +5 -7
- package/mobile/lib/components/ComparisonTable/TableCell.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.js +4 -3
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.js +3 -2
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/constants.d.ts +4 -4
- package/mobile/lib/components/ComparisonTable/constants.js +4 -4
- package/mobile/lib/components/ComparisonTable/constants.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +2 -1
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js +16 -13
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/mobile/lib/components/DepositFiltration/getChildSourceBook.d.ts +2 -0
- package/mobile/lib/components/DepositFiltration/getChildSourceBook.js +3 -0
- package/mobile/lib/components/DepositFiltration/getChildSourceBook.js.map +1 -0
- package/mobile/lib/components/DepositFiltration/getPeriod.d.ts +9 -0
- package/mobile/lib/components/DepositFiltration/getPeriod.js +4 -0
- package/mobile/lib/components/DepositFiltration/getPeriod.js.map +1 -0
- package/mobile/lib/components/DepositFiltration/useDepositsPeriods.d.ts +8 -0
- package/mobile/lib/components/DepositFiltration/useDepositsPeriods.js +21 -0
- package/mobile/lib/components/DepositFiltration/useDepositsPeriods.js.map +1 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -2
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.js +1 -1
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Header/DropdownMenu.js +1 -1
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderChatBotButton.js +1 -1
- package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -3
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +0 -5
- package/mobile/lib/components/MobileAppTile/renderDescription.js +1 -1
- package/mobile/lib/components/MobileAppTile/renderDescription.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/renderList.d.ts +2 -1
- package/mobile/lib/components/MobileAppTile/renderList.js +2 -2
- package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +3 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/mobile/lib/components/RollupItem/PrimaryFoldButton.d.ts +12 -0
- package/mobile/lib/components/RollupItem/PrimaryFoldButton.js +10 -0
- package/mobile/lib/components/RollupItem/PrimaryFoldButton.js.map +1 -0
- package/mobile/lib/components/RollupItem/RollupItem.js +4 -15
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.js +1 -1
- package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.js.map +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +9 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +10 -5
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +24 -11
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +0 -3
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +11 -11
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +3 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +3 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.d.ts +6 -0
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js +12 -0
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -0
- package/mobile/lib/components/TariffsTable/constants.d.ts +2 -2
- package/mobile/lib/components/TariffsTable/constants.js +2 -2
- package/mobile/lib/components/TariffsTable/constants.js.map +1 -1
- package/mobile/lib/components/TariffsTable/headlineAlign.d.ts +1 -0
- package/mobile/lib/components/TariffsTable/headlineAlign.js +2 -0
- package/mobile/lib/components/TariffsTable/headlineAlign.js.map +1 -0
- package/mobile/lib/content-page-repository/transformContentPage.js +5 -6
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/model/AlignStyles.d.ts +1 -0
- package/mobile/lib/model/AlignStyles.js +2 -0
- package/mobile/lib/model/AlignStyles.js.map +1 -0
- package/mobile/lib/services/search/search.js +1 -1
- package/mobile/lib/services/search/search.js.map +1 -1
- package/mobile/lib/services/search/textRank.js +1 -1
- package/mobile/lib/services/search/textRank.js.map +1 -1
- package/mobile/lib/services/search/useSearch.js +1 -1
- package/mobile/lib/services/search/useSearch.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +3 -2
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -3
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/getBadgeCount.js +2 -2
- package/mobile/lib/ui-kit/BaseFiltration/getBadgeCount.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/getBlocksToRender.d.ts +2 -0
- package/mobile/lib/ui-kit/BaseFiltration/getBlocksToRender.js +4 -0
- package/mobile/lib/ui-kit/BaseFiltration/getBlocksToRender.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/shouldRenderBlock.d.ts +1 -0
- package/{lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js → mobile/lib/ui-kit/BaseFiltration/shouldRenderBlock.js} +6 -3
- package/mobile/lib/ui-kit/BaseFiltration/shouldRenderBlock.js.map +1 -0
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -4
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +2 -2
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/DialogManager.js +7 -11
- package/mobile/lib/ui-kit/DialogManager/DialogManager.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/useDialogsList.js +1 -1
- package/mobile/lib/ui-kit/DialogManager/useDialogsList.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +8 -9
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -5
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +4 -33
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +3 -5
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/getHorizontalShift.d.ts +2 -0
- package/mobile/lib/ui-kit/InnerTable/getHorizontalShift.js +4 -0
- package/mobile/lib/ui-kit/InnerTable/getHorizontalShift.js.map +1 -0
- package/mobile/lib/ui-kit/InnerTable/linkButtonVersion.d.ts +1 -0
- package/mobile/lib/ui-kit/InnerTable/linkButtonVersion.js +2 -0
- package/mobile/lib/ui-kit/InnerTable/linkButtonVersion.js.map +1 -0
- package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.d.ts +3 -0
- package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js +15 -0
- package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -0
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/PopupManager/PopupAction.d.ts +14 -0
- package/mobile/lib/ui-kit/PopupManager/PopupAction.js +2 -0
- package/mobile/lib/ui-kit/PopupManager/PopupAction.js.map +1 -0
- package/mobile/lib/ui-kit/PopupManager/PopupManager.d.ts +2 -0
- package/mobile/lib/ui-kit/PopupManager/PopupManager.js +37 -0
- package/mobile/lib/ui-kit/PopupManager/PopupManager.js.map +1 -0
- package/mobile/lib/ui-kit/PopupManager/usePopupManager.d.ts +7 -0
- package/mobile/lib/ui-kit/PopupManager/usePopupManager.js +7 -0
- package/mobile/lib/ui-kit/PopupManager/usePopupManager.js.map +1 -0
- package/mobile/lib/ui-kit/Select/Option.d.ts +4 -0
- package/mobile/lib/ui-kit/Select/Option.js +2 -0
- package/mobile/lib/ui-kit/Select/Option.js.map +1 -0
- package/mobile/lib/ui-kit/Select/Select.d.ts +2 -5
- package/mobile/lib/ui-kit/Select/Select.js +18 -25
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/Select/SelectPopup.d.ts +11 -0
- package/mobile/lib/ui-kit/Select/SelectPopup.js +8 -0
- package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -0
- package/mobile/lib/ui-kit/Select/filterOptions.d.ts +2 -0
- package/mobile/lib/ui-kit/Select/filterOptions.js +16 -0
- package/mobile/lib/ui-kit/Select/filterOptions.js.map +1 -0
- package/mobile/lib/ui-kit/Select/formatOption.d.ts +2 -0
- package/mobile/lib/ui-kit/Select/formatOption.js +2 -0
- package/mobile/lib/ui-kit/Select/formatOption.js.map +1 -0
- package/mobile/lib/ui-kit/Select/useSelectPopup.d.ts +9 -0
- package/mobile/lib/ui-kit/Select/useSelectPopup.js +32 -0
- package/mobile/lib/ui-kit/Select/useSelectPopup.js.map +1 -0
- package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.d.ts +12 -0
- package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.js +8 -0
- package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.js.map +1 -0
- package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +1 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js +6 -7
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/lib/utils/fetchMultitudeJSON.d.ts +1 -0
- package/mobile/lib/utils/fetchMultitudeJSON.js +6 -0
- package/mobile/lib/utils/fetchMultitudeJSON.js.map +1 -0
- package/mobile/lib/utils/jaroWinklerDistance.js.map +1 -0
- package/mobile/src/EventBus/defaultEventBus.ts +3 -1
- package/mobile/src/components/ApplicationForm/AcquiringFormState.ts +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +2 -10
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +3 -3
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +44 -27
- package/mobile/src/components/ApplicationForm/BusinessCardFormState.ts +1 -1
- package/mobile/src/components/ApplicationForm/CreditFormState.ts +1 -1
- package/mobile/src/components/ApplicationForm/WedFormState.ts +6 -4
- package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +21 -25
- package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +11 -13
- package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +35 -15
- package/mobile/src/components/ApplicationForm/renderRegion.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +4 -4
- package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +41 -23
- package/mobile/src/components/ApplicationForm/renderWedTextarea.tsx +32 -0
- package/mobile/src/components/Bonus/Bonus.tsx +7 -3
- package/mobile/src/components/Bonus/BonusContent.ts +2 -0
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -6
- package/mobile/src/components/BonusBenefitsBlock/renderBonusBenefit.tsx +3 -3
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +2 -2
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
- package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +2 -2
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -1
- package/mobile/src/components/Carousel/Carousel.example.json +1 -0
- package/mobile/src/components/Carousel/Carousel.tsx +1 -0
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +4 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +49 -25
- package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +23 -21
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +24 -22
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -2
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +2 -1
- package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +2 -2
- package/mobile/src/components/ComparisonTable/TableCarouselContainer.tsx +1 -1
- package/mobile/src/components/ComparisonTable/TableCell.tsx +14 -12
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +7 -3
- package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -4
- package/mobile/src/components/ComparisonTable/constants.ts +4 -4
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -0
- package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +6 -2
- package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +22 -17
- package/mobile/src/components/DepositFiltration/getChildSourceBook.ts +7 -0
- package/mobile/src/components/DepositFiltration/getPeriod.ts +10 -0
- package/mobile/src/components/DepositFiltration/useDepositsPeriods.ts +34 -0
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +13 -3
- package/mobile/src/components/ExchangeRateTile/renderInput.tsx +1 -1
- package/mobile/src/components/Footer/Footer.tsx +1 -1
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/mobile/src/components/Footer/MediaButton.tsx +1 -1
- package/mobile/src/components/Header/DropdownMenu.tsx +2 -2
- package/mobile/src/components/Header/HeaderChatBotButton.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +0 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +4 -4
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +0 -5
- package/mobile/src/components/MobileAppTile/renderDescription.tsx +1 -1
- package/mobile/src/components/MobileAppTile/renderList.tsx +3 -2
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.example.json +9 -2
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +5 -2
- package/mobile/src/components/RollupItem/PrimaryFoldButton.tsx +44 -0
- package/mobile/src/components/RollupItem/RollupItem.tsx +10 -48
- package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +2 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +8 -8
- package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +2 -1
- package/mobile/src/components/StickyBottomMenu/RenderMenuItems.tsx +4 -1
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +43 -10
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +0 -1
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +50 -31
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -4
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +0 -3
- package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +1 -5
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +10 -4
- package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +10 -1
- package/mobile/src/components/TariffsTable/TariffsTableWrapper.tsx +27 -0
- package/mobile/src/components/TariffsTable/constants.ts +2 -2
- package/mobile/src/components/TariffsTable/headlineAlign.tsx +1 -0
- package/mobile/src/content-page-repository/transformContentPage.ts +12 -10
- package/mobile/src/model/AlignStyles.ts +1 -0
- package/mobile/src/services/search/search.ts +1 -1
- package/mobile/src/services/search/textRank.ts +1 -1
- package/mobile/src/services/search/useSearch.ts +1 -1
- package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +5 -8
- package/mobile/src/ui-kit/BaseFiltration/getBadgeCount.ts +2 -2
- package/mobile/src/ui-kit/BaseFiltration/getBlocksToRender.ts +8 -0
- package/mobile/src/ui-kit/BaseFiltration/{checkShouldRenderBlock.ts → shouldRenderBlock.ts} +9 -2
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -5
- package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +2 -2
- package/mobile/src/ui-kit/DialogManager/DialogManager.tsx +8 -13
- package/mobile/src/ui-kit/DialogManager/useDialogsList.ts +1 -1
- package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +23 -21
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -25
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +7 -82
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +15 -19
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +5 -3
- package/mobile/src/ui-kit/InnerTable/getHorizontalShift.tsx +7 -0
- package/mobile/src/ui-kit/InnerTable/linkButtonVersion.tsx +1 -0
- package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +54 -0
- package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +2 -2
- package/mobile/src/ui-kit/PopupManager/PopupAction.ts +18 -0
- package/mobile/src/ui-kit/PopupManager/PopupManager.tsx +57 -0
- package/mobile/src/ui-kit/PopupManager/usePopupManager.tsx +11 -0
- package/mobile/src/ui-kit/Select/Option.ts +4 -0
- package/mobile/src/ui-kit/Select/Select.tsx +36 -88
- package/mobile/src/ui-kit/Select/SelectPopup.tsx +42 -0
- package/mobile/src/ui-kit/Select/filterOptions.ts +19 -0
- package/mobile/src/ui-kit/Select/formatOption.ts +3 -0
- package/mobile/src/ui-kit/Select/useSelectPopup.tsx +63 -0
- package/mobile/src/ui-kit/TextWithIcon/TextWithIcon.tsx +35 -0
- package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +7 -8
- package/mobile/src/utils/fetchMultitudeJSON.ts +9 -0
- package/package.json +4 -3
- package/src/EventBus/defaultEventBus.ts +3 -1
- package/src/components/ApplicationForm/AcquiringFormState.ts +1 -1
- package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +7 -0
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +7 -0
- package/src/components/ApplicationForm/ApplicationForm.tsx +2 -10
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +3 -3
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
- package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +2 -2
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +44 -27
- package/src/components/ApplicationForm/BusinessCardFormState.ts +1 -1
- package/src/components/ApplicationForm/CreditFormState.ts +1 -1
- package/src/components/ApplicationForm/WedFormState.ts +6 -4
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.mobile.tsx +31 -0
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +3 -3
- package/src/components/ApplicationForm/renderAcquiringRegion.tsx +3 -3
- package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +3 -3
- package/src/components/ApplicationForm/renderCreditDataOrganization.mobile.tsx +39 -0
- package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +3 -3
- package/src/components/ApplicationForm/renderCreditParameters.tsx +3 -3
- package/src/components/ApplicationForm/renderQuestionsInterested.tsx +35 -15
- package/src/components/ApplicationForm/renderRegion.tsx +1 -1
- package/src/components/ApplicationForm/renderRegionDepartment.tsx +4 -4
- package/src/components/ApplicationForm/renderSubmitButton.tsx +1 -1
- package/src/components/ApplicationForm/renderWedDataOrganization.tsx +41 -23
- package/src/components/ApplicationForm/renderWedTextarea.tsx +32 -0
- package/src/components/Bonus/Bonus.tsx +7 -3
- package/src/components/Bonus/BonusContent.ts +2 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -6
- package/src/components/BonusBenefitsBlock/renderBonusBenefit.tsx +3 -3
- package/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +2 -2
- package/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
- package/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
- package/src/components/Calculator/RefinancingCalculatorForm.tsx +2 -2
- package/src/components/CardTransfer/CardTransfer.tsx +1 -1
- package/src/components/Carousel/Carousel.example.json +1 -0
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +16 -6
- package/src/components/Carousel/Carousel.fixture.tsx +15 -5
- package/src/components/Carousel/Carousel.tsx +1 -0
- package/src/components/CarouselCard/CarouselCard.tsx +4 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.tsx +30 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +30 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +49 -25
- package/src/components/CarouselLinks/CarouselLinkButton.tsx +23 -21
- package/src/components/CarouselLinks/CarouselLinks.tsx +24 -22
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -2
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +1 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +2 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
- package/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +2 -2
- package/src/components/ComparisonTable/HeaderCell.tsx +7 -2
- package/src/components/ComparisonTable/TableCarouselContainer.tsx +1 -1
- package/src/components/ComparisonTable/TableCell.mobile.tsx +14 -12
- package/src/components/ComparisonTable/TableCell.tsx +16 -9
- package/src/components/ComparisonTable/TableColumn.tsx +7 -3
- package/src/components/ComparisonTable/TableRow.tsx +3 -4
- package/src/components/ComparisonTable/constants.ts +4 -4
- package/src/components/ContentPage/ContentPage.tsx +2 -0
- package/src/components/DepositFiltration/DepositFiltration.example.json +6 -2
- package/src/components/DepositFiltration/DepositFiltration.fixture.mobile.tsx +13 -40
- package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +14 -41
- package/src/components/DepositFiltration/DepositFiltration.tsx +22 -17
- package/src/components/DepositFiltration/getChildSourceBook.ts +7 -0
- package/src/components/DepositFiltration/getPeriod.ts +10 -0
- package/src/components/DepositFiltration/useDepositsPeriods.ts +34 -0
- package/src/components/ErrorBlock/ErrorBlock.tsx +13 -3
- package/src/components/ExchangeRateTile/renderInput.tsx +1 -1
- package/src/components/Footer/Footer.mobile.tsx +1 -1
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +1 -1
- package/src/components/Footer/MediaButton.tsx +1 -1
- package/src/components/Header/DropdownMenu.tsx +2 -2
- package/src/components/Header/HeaderChatBotButton.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.example.json +0 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +4 -4
- package/src/components/MobileAppTile/MobileAppTileContent.ts +0 -5
- package/src/components/MobileAppTile/renderDescription.tsx +1 -1
- package/src/components/MobileAppTile/renderList.tsx +3 -2
- package/src/components/MortgageFiltration/MortgageFiltration.example.json +9 -2
- package/src/components/MortgageFiltration/MortgageFiltration.tsx +5 -2
- package/src/components/RollupItem/PrimaryFoldButton.tsx +44 -0
- package/src/components/RollupItem/RollupItem.tsx +10 -48
- package/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
- package/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +2 -2
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +8 -8
- package/src/components/SafeDepositRental/WrapperSelect.tsx +2 -1
- package/src/components/StickyBottomMenu/RenderMenuItems.tsx +4 -1
- package/src/components/TariffsTable/EmbeddableCellData.tsx +30 -19
- package/src/components/TariffsTable/TariffsTable.example.json +0 -1
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +8 -4
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +8 -18
- package/src/components/TariffsTable/TariffsTable.tsx +25 -41
- package/src/components/TariffsTable/TariffsTableCell.tsx +1 -4
- package/src/components/TariffsTable/TariffsTableContent.ts +0 -3
- package/src/components/TariffsTable/TariffsTableRenderCell.tsx +1 -5
- package/src/components/TariffsTable/TariffsTableRow.tsx +10 -4
- package/src/components/TariffsTable/TariffsTableRowContainer.tsx +10 -1
- package/src/components/TariffsTable/TariffsTableWrapper.tsx +27 -0
- package/src/components/TariffsTable/constants.ts +2 -2
- package/src/components/TariffsTable/headlineAlign.mobile.tsx +1 -0
- package/src/components/TariffsTable/headlineAlign.tsx +1 -0
- package/src/content-page-repository/transformContentPage.ts +12 -10
- package/src/icons/IconName.ts +5 -422
- package/src/model/AlignStyles.mobile.ts +1 -0
- package/src/model/AlignStyles.ts +1 -0
- package/src/services/search/search.ts +1 -1
- package/src/services/search/textRank.ts +1 -1
- package/src/services/search/useSearch.ts +1 -1
- package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +5 -8
- package/src/ui-kit/BaseFiltration/getBadgeCount.ts +2 -2
- package/src/ui-kit/BaseFiltration/getBlocksToRender.ts +8 -0
- package/src/ui-kit/BaseFiltration/{checkShouldRenderBlock.ts → shouldRenderBlock.ts} +9 -2
- package/src/ui-kit/Button/renderButtonsSection.tsx +2 -5
- package/src/ui-kit/CookiePopup/CookiePopup.tsx +2 -2
- package/src/ui-kit/DialogManager/DialogManager.tsx +8 -13
- package/src/ui-kit/DialogManager/useDialogsList.ts +1 -1
- package/src/ui-kit/Foldable/DefaultFoldButton.tsx +23 -21
- package/src/ui-kit/InnerTable/InnerTable.fixture.mobile.tsx +11 -0
- package/src/ui-kit/InnerTable/InnerTable.fixture.tsx +11 -0
- package/src/ui-kit/InnerTable/InnerTable.tsx +2 -2
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -25
- package/src/ui-kit/InnerTable/InnerTableBodyItem.mobile.tsx +14 -0
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +2 -62
- package/src/ui-kit/InnerTable/InnerTableButton.fixture.mobile.tsx +11 -0
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +15 -19
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +5 -3
- package/src/ui-kit/InnerTable/getHorizontalShift.tsx +7 -0
- package/src/ui-kit/InnerTable/linkButtonVersion.mobile.tsx +1 -0
- package/src/ui-kit/InnerTable/linkButtonVersion.tsx +1 -0
- package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +54 -0
- package/src/ui-kit/LocationDialog/LocationDialog.tsx +2 -2
- package/src/ui-kit/PopupManager/PopupAction.ts +18 -0
- package/src/ui-kit/PopupManager/PopupManager.tsx +57 -0
- package/src/ui-kit/PopupManager/usePopupManager.tsx +11 -0
- package/src/ui-kit/Select/Option.ts +4 -0
- package/src/ui-kit/Select/Select.fixture.tsx +22 -4
- package/src/ui-kit/Select/Select.tsx +36 -88
- package/src/ui-kit/Select/SelectPopup.tsx +42 -0
- package/src/ui-kit/Select/filterOptions.ts +19 -0
- package/src/ui-kit/Select/formatOption.ts +3 -0
- package/src/ui-kit/Select/useSelectPopup.tsx +63 -0
- package/src/ui-kit/TextWithIcon/TextWithIcon.tsx +35 -0
- package/src/ui-kit/YandexMap/YandexMap.tsx +7 -8
- package/src/utils/fetchMultitudeJSON.ts +9 -0
- package/bundle/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +0 -1
- package/bundle/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.d.ts +0 -1
- package/bundle/components/CarouselCatalogCard/CatalogCard.d.ts +0 -9
- package/bundle/components/CarouselProductCard/alignTextStyle.d.ts +0 -1
- package/bundle/components/CarouselProductCard/alignTextStyle.mobile.d.ts +0 -1
- package/bundle/components/TariffsTable/EmbeddableCellData.mobile.d.ts +0 -13
- package/bundle/components/TariffsTable/TariffsTable.mobile.d.ts +0 -5
- package/bundle/hooks/useBool.d.ts +0 -9
- package/bundle/hooks/useList.d.ts +0 -10
- package/bundle/hooks/useOutsideClick.d.ts +0 -3
- package/bundle/ui-kit/BaseFiltration/checkShouldRenderBlock.d.ts +0 -1
- package/bundle/utils/useDebouncedEffect.d.ts +0 -1
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +0 -1
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.js +0 -4
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.js.map +0 -1
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.d.ts +0 -1
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.js +0 -4
- package/dist/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.js.map +0 -1
- package/dist/components/CarouselCatalogCard/CatalogCard.d.ts +0 -9
- package/dist/components/CarouselCatalogCard/CatalogCard.js +0 -20
- package/dist/components/CarouselCatalogCard/CatalogCard.js.map +0 -1
- package/dist/components/CarouselProductCard/alignTextStyle.d.ts +0 -1
- package/dist/components/CarouselProductCard/alignTextStyle.js +0 -4
- package/dist/components/CarouselProductCard/alignTextStyle.js.map +0 -1
- package/dist/components/CarouselProductCard/alignTextStyle.mobile.d.ts +0 -1
- package/dist/components/CarouselProductCard/alignTextStyle.mobile.js +0 -4
- package/dist/components/CarouselProductCard/alignTextStyle.mobile.js.map +0 -1
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.d.ts +0 -13
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +0 -20
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +0 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +0 -5
- package/dist/components/TariffsTable/TariffsTable.mobile.js +0 -18
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +0 -1
- package/dist/hooks/useBool.d.ts +0 -9
- package/dist/hooks/useBool.js +0 -12
- package/dist/hooks/useBool.js.map +0 -1
- package/dist/hooks/useList.d.ts +0 -10
- package/dist/hooks/useList.js +0 -13
- package/dist/hooks/useList.js.map +0 -1
- package/dist/hooks/useOutsideClick.d.ts +0 -3
- package/dist/hooks/useOutsideClick.js +0 -23
- package/dist/hooks/useOutsideClick.js.map +0 -1
- package/dist/services/search/jaroWinklerDistance.js.map +0 -1
- package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.d.ts +0 -1
- package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +0 -1
- package/dist/utils/useDebouncedEffect.d.ts +0 -1
- package/dist/utils/useDebouncedEffect.js +0 -11
- package/dist/utils/useDebouncedEffect.js.map +0 -1
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +0 -1
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.js +0 -2
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.js.map +0 -1
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.d.ts +0 -1
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.js +0 -2
- package/lib/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.js.map +0 -1
- package/lib/components/CarouselCatalogCard/CatalogCard.d.ts +0 -9
- package/lib/components/CarouselCatalogCard/CatalogCard.js +0 -18
- package/lib/components/CarouselCatalogCard/CatalogCard.js.map +0 -1
- package/lib/components/CarouselProductCard/alignTextStyle.d.ts +0 -1
- package/lib/components/CarouselProductCard/alignTextStyle.js +0 -2
- package/lib/components/CarouselProductCard/alignTextStyle.js.map +0 -1
- package/lib/components/CarouselProductCard/alignTextStyle.mobile.d.ts +0 -1
- package/lib/components/CarouselProductCard/alignTextStyle.mobile.js +0 -2
- package/lib/components/CarouselProductCard/alignTextStyle.mobile.js.map +0 -1
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.d.ts +0 -12
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +0 -18
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +0 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +0 -5
- package/lib/components/TariffsTable/TariffsTable.mobile.js +0 -16
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +0 -1
- package/lib/hooks/useBool.d.ts +0 -9
- package/lib/hooks/useBool.js +0 -9
- package/lib/hooks/useBool.js.map +0 -1
- package/lib/hooks/useList.d.ts +0 -10
- package/lib/hooks/useList.js +0 -10
- package/lib/hooks/useList.js.map +0 -1
- package/lib/hooks/useOutsideClick.d.ts +0 -3
- package/lib/hooks/useOutsideClick.js +0 -20
- package/lib/hooks/useOutsideClick.js.map +0 -1
- package/lib/services/search/jaroWinklerDistance.js.map +0 -1
- package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.d.ts +0 -1
- package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +0 -1
- package/lib/utils/useDebouncedEffect.d.ts +0 -1
- package/lib/utils/useDebouncedEffect.js +0 -8
- package/lib/utils/useDebouncedEffect.js.map +0 -1
- package/mobile/bundle/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +0 -1
- package/mobile/bundle/components/CarouselCatalogCard/CatalogCard.d.ts +0 -9
- package/mobile/bundle/components/CarouselProductCard/alignTextStyle.d.ts +0 -1
- package/mobile/bundle/hooks/useBool.d.ts +0 -9
- package/mobile/bundle/hooks/useList.d.ts +0 -10
- package/mobile/bundle/hooks/useOutsideClick.d.ts +0 -3
- package/mobile/bundle/ui-kit/BaseFiltration/checkShouldRenderBlock.d.ts +0 -1
- package/mobile/bundle/utils/useDebouncedEffect.d.ts +0 -1
- package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +0 -1
- package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitAlign.js +0 -4
- package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitAlign.js.map +0 -1
- package/mobile/dist/components/CarouselCatalogCard/CatalogCard.d.ts +0 -9
- package/mobile/dist/components/CarouselCatalogCard/CatalogCard.js +0 -20
- package/mobile/dist/components/CarouselCatalogCard/CatalogCard.js.map +0 -1
- package/mobile/dist/components/CarouselProductCard/alignTextStyle.d.ts +0 -1
- package/mobile/dist/components/CarouselProductCard/alignTextStyle.js +0 -4
- package/mobile/dist/components/CarouselProductCard/alignTextStyle.js.map +0 -1
- package/mobile/dist/hooks/useBool.d.ts +0 -9
- package/mobile/dist/hooks/useBool.js +0 -12
- package/mobile/dist/hooks/useBool.js.map +0 -1
- package/mobile/dist/hooks/useList.d.ts +0 -10
- package/mobile/dist/hooks/useList.js +0 -13
- package/mobile/dist/hooks/useList.js.map +0 -1
- package/mobile/dist/hooks/useOutsideClick.d.ts +0 -3
- package/mobile/dist/hooks/useOutsideClick.js +0 -23
- package/mobile/dist/hooks/useOutsideClick.js.map +0 -1
- package/mobile/dist/services/search/jaroWinklerDistance.js.map +0 -1
- package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.d.ts +0 -1
- package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +0 -1
- package/mobile/dist/utils/useDebouncedEffect.d.ts +0 -1
- package/mobile/dist/utils/useDebouncedEffect.js +0 -11
- package/mobile/dist/utils/useDebouncedEffect.js.map +0 -1
- package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitAlign.d.ts +0 -1
- package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitAlign.js +0 -2
- package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitAlign.js.map +0 -1
- package/mobile/lib/components/CarouselCatalogCard/CatalogCard.d.ts +0 -9
- package/mobile/lib/components/CarouselCatalogCard/CatalogCard.js +0 -18
- package/mobile/lib/components/CarouselCatalogCard/CatalogCard.js.map +0 -1
- package/mobile/lib/components/CarouselProductCard/alignTextStyle.d.ts +0 -1
- package/mobile/lib/components/CarouselProductCard/alignTextStyle.js +0 -2
- package/mobile/lib/components/CarouselProductCard/alignTextStyle.js.map +0 -1
- package/mobile/lib/hooks/useBool.d.ts +0 -9
- package/mobile/lib/hooks/useBool.js +0 -9
- package/mobile/lib/hooks/useBool.js.map +0 -1
- package/mobile/lib/hooks/useList.d.ts +0 -10
- package/mobile/lib/hooks/useList.js +0 -10
- package/mobile/lib/hooks/useList.js.map +0 -1
- package/mobile/lib/hooks/useOutsideClick.d.ts +0 -3
- package/mobile/lib/hooks/useOutsideClick.js +0 -20
- package/mobile/lib/hooks/useOutsideClick.js.map +0 -1
- package/mobile/lib/services/search/jaroWinklerDistance.js.map +0 -1
- package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.d.ts +0 -1
- package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +0 -1
- package/mobile/lib/utils/useDebouncedEffect.d.ts +0 -1
- package/mobile/lib/utils/useDebouncedEffect.js +0 -8
- package/mobile/lib/utils/useDebouncedEffect.js.map +0 -1
- package/mobile/src/components/BonusBenefitsBlock/bonusBenefitAlign.ts +0 -1
- package/mobile/src/components/CarouselCatalogCard/CatalogCard.ts +0 -22
- package/mobile/src/components/CarouselProductCard/alignTextStyle.tsx +0 -1
- package/mobile/src/hooks/useBool.ts +0 -19
- package/mobile/src/hooks/useList.ts +0 -24
- package/mobile/src/hooks/useOutsideClick.ts +0 -25
- package/mobile/src/utils/useDebouncedEffect.ts +0 -14
- package/src/components/BonusBenefitsBlock/bonusBenefitAlign.mobile.ts +0 -1
- package/src/components/BonusBenefitsBlock/bonusBenefitAlign.ts +0 -1
- package/src/components/CarouselCatalogCard/CatalogCard.ts +0 -22
- package/src/components/CarouselProductCard/alignTextStyle.mobile.tsx +0 -1
- package/src/components/CarouselProductCard/alignTextStyle.tsx +0 -1
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +0 -45
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +0 -56
- package/src/hooks/useBool.ts +0 -19
- package/src/hooks/useList.ts +0 -24
- package/src/hooks/useOutsideClick.ts +0 -25
- package/src/utils/useDebouncedEffect.ts +0 -14
- /package/bundle/{services/search → utils}/jaroWinklerDistance.d.ts +0 -0
- /package/dist/{services/search → utils}/jaroWinklerDistance.d.ts +0 -0
- /package/dist/{services/search → utils}/jaroWinklerDistance.js +0 -0
- /package/lib/{services/search → utils}/jaroWinklerDistance.d.ts +0 -0
- /package/lib/{services/search → utils}/jaroWinklerDistance.js +0 -0
- /package/mobile/bundle/{services/search → utils}/jaroWinklerDistance.d.ts +0 -0
- /package/mobile/dist/{services/search → utils}/jaroWinklerDistance.d.ts +0 -0
- /package/mobile/dist/{services/search → utils}/jaroWinklerDistance.js +0 -0
- /package/mobile/lib/{services/search → utils}/jaroWinklerDistance.d.ts +0 -0
- /package/mobile/lib/{services/search → utils}/jaroWinklerDistance.js +0 -0
- /package/mobile/src/{services/search → utils}/jaroWinklerDistance.ts +0 -0
- /package/src/{services/search → utils}/jaroWinklerDistance.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/services/search/search.ts"],"names":[],"mappings":";;AAAA,uDAAyD;AACzD,yCAAsC;AACtC
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/services/search/search.ts"],"names":[],"mappings":";;AAAA,uDAAyD;AACzD,yEAAsE;AACtE,yCAAsC;AACtC,yCAAsC;AACtC,yCAAsC;AACtC,yCAAsC;AAkBtC,MAAM,YAAY,GAAG,GAAG,CAAC;AACzB,MAAM,QAAQ,GAAG,KAAK,CAAC;AAEhB,MAAM,MAAM,GACjB,CAAC,KAAyB,EAAE,EAAE,CAC9B,CAAC,WAAoC,EAAgB,EAAE;IACrD,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,WAAW,IAAI,EAAE,CAAC;IACjD,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,UAAU,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,EAAE;QAC/E,OAAO,EAAE,CAAC;KACX;IAED,MAAM,WAAW,GAAG,IAAA,mBAAQ,EAAC,KAAK,CAAC,CAAC;IACpC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE;QACvB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC/C,MAAM,YAAY,GAAgB,WAAW;SAC1C,GAAG,CAAC,2BAA2B,CAAC,WAAW,CAAC,CAAC;SAC7C,MAAM,CACL,IAAA,mBAAQ,EAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,EAC5B,IAAI,GAAG,EAAE,CACV,CAAC;IAEJ,MAAM,aAAa,GAAiB,CAAC,GAAG,YAAY,CAAC,OAAO,EAAE,CAAC;SAC5D,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,iCAAiC;SACtH,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;IAE3C,OAAO,iBAAiB,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC;AACvD,CAAC,CAAC;AA1BS,QAAA,MAAM,UA0Bf;AAEJ,MAAM,2BAA2B,GAC/B,CAAC,WAA6C,EAAE,EAAE,CAAC,CAAC,MAAc,EAAE,EAAE,CACpE,WAAW;KACR,GAAG,CACF,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,EAAE,CACtB,CAAC,IAAA,yCAAmB,EAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,WAAW,CAA8B,CAChF;KACA,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,YAAY,CAAC;KAChD,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,WAAW,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;KACpE,MAAM,CAAC,IAAA,mBAAQ,EAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,GAAG,EAAyB,CAAC,CAAC;AAEvE,MAAM,iBAAiB,GACrB,CAAC,WAAqB,EAAE,EAAE,CAC1B,CAAC,OAAqB,EAAgB,EAAE,CACtC,IAAA,SAAG,EAAC,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,IAAA,mBAAQ,EAAC,WAAW,CAAC,CAAC,CAAC;KACvE,IAAI,CAAC,IAAA,iBAAI,EAAC,IAAA,sBAAS,EAAC,CAAC,CAAC,EAAE,aAAa,CAAC,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;KAC3D,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC;AAEzC,MAAM,WAAW,GAAG,CAAO,IAAS,EAAE,KAAQ,EAAa,EAAE,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.textRank = void 0;
|
|
3
|
+
const jaroWinklerDistance_1 = require("../../utils/jaroWinklerDistance");
|
|
3
4
|
const maxBy_1 = require("../../utils/maxBy");
|
|
4
5
|
const sum_1 = require("../../utils/sum");
|
|
5
|
-
const jaroWinklerDistance_1 = require("./jaroWinklerDistance");
|
|
6
6
|
const tokenize_1 = require("./tokenize");
|
|
7
7
|
const textRank = (queryTokens) => (text) => {
|
|
8
8
|
const textTokens = (0, tokenize_1.tokenize)(text || '');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textRank.js","sourceRoot":"","sources":["../../../src/services/search/textRank.ts"],"names":[],"mappings":";;AAAA,6CAAwC;AACxC,yCAAsC;AACtC
|
|
1
|
+
{"version":3,"file":"textRank.js","sourceRoot":"","sources":["../../../src/services/search/textRank.ts"],"names":[],"mappings":";;AAAA,yEAAsE;AACtE,6CAAwC;AACxC,yCAAsC;AACtC,yCAAsC;AAE/B,MAAM,QAAQ,GACnB,CAAC,WAAqB,EAAE,EAAE,CAC1B,CAAC,IAAwB,EAAU,EAAE;IACnC,MAAM,UAAU,GAAG,IAAA,mBAAQ,EAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAExC,OAAO,UAAU,CAAC,MAAM;QACtB,CAAC,CAAC,IAAA,SAAG,EAAC,WAAW,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,IAAA,WAAG,EAAC,UAAU,CAAC,GAAG,CAAC,IAAA,yCAAmB,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QACpF,CAAC,CAAC,CAAC,CAAC;AACR,CAAC,CAAC;AARS,QAAA,QAAQ,YAQjB"}
|
|
@@ -2,9 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.useSearch = void 0;
|
|
3
3
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
4
4
|
const useAsyncData_1 = require("@redneckz/uni-jsx/lib/hooks/useAsyncData");
|
|
5
|
+
const useDebouncedEffect_1 = require("@redneckz/uni-jsx/lib/hooks/useDebouncedEffect");
|
|
5
6
|
const fetchJSON_1 = require("../../utils/fetchJSON");
|
|
6
7
|
const url_1 = require("../../utils/url");
|
|
7
|
-
const useDebouncedEffect_1 = require("../../utils/useDebouncedEffect");
|
|
8
8
|
const search_1 = require("./search");
|
|
9
9
|
const SEARCH_INDEX_FILENAME = 'search.index.json';
|
|
10
10
|
const useSearch = ({ basePathList, initialQuery = '', }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSearch.js","sourceRoot":"","sources":["../../../src/services/search/useSearch.ts"],"names":[],"mappings":";;AAAA,uDAAkE;AAClE,2EAAwE;AAExE,qDAAkD;AAClD,yCAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"useSearch.js","sourceRoot":"","sources":["../../../src/services/search/useSearch.ts"],"names":[],"mappings":";;AAAA,uDAAkE;AAClE,2EAAwE;AAExE,uFAAoF;AACpF,qDAAkD;AAClD,yCAA2C;AAC3C,qCAA2D;AAE3D,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AAc3C,MAAM,SAAS,GAAG,CAAC,EACxB,YAAY,EACZ,YAAY,GAAG,EAAE,GACJ,EAA2C,EAAE;IAC1D,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAC,YAAY,IAAI,EAAE,CAAC,CAAC;IAEvD,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,KAAK,IAAI,EAAE;YACvD,QAAQ,CAAC,YAAY,CAAC,CAAC;SACxB;IACH,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;IAE5F,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAsB,IAAI,CAAC,CAAC;IAEhE,IAAA,uCAAkB,EAAC,GAAG,EAAE;QACtB,IAAI,IAAI,EAAE;YACR,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,IAAA,eAAM,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACpC;IACH,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IAElB,OAAO,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;AACxD,CAAC,CAAC;AAvBW,QAAA,SAAS,aAuBpB;AAEF,MAAM,gBAAgB,GAAG,KAAK,EAAE,GAAG,YAA+B,EAA0B,EAAE,CAC5F,CACE,MAAM,OAAO,CAAC,UAAU,CACtB,YAAY,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAA,qBAAS,EAAC,IAAA,cAAQ,EAAC,QAAQ,EAAE,GAAG,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAC1F,CACF,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAgB,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import { BaseFiltrationInnerContent } from './BaseFiltrationContent';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
+
import type { BlockDef } from '../../model/ContentPageDef';
|
|
3
4
|
interface BaseFiltrationInnerProps extends BaseFiltrationInnerContent, UniBlockProps {
|
|
4
|
-
|
|
5
|
+
blocksToRender?: BlockDef[];
|
|
5
6
|
}
|
|
6
7
|
export declare const BaseFiltrationInner: import("@redneckz/uni-jsx").UNIComponent<BaseFiltrationInnerProps, any, any>;
|
|
7
8
|
export {};
|
|
@@ -4,15 +4,13 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const renderBlockList_1 = require("../../BlockRenderer/renderBlockList");
|
|
6
6
|
const style_1 = require("../../utils/style");
|
|
7
|
-
const checkShouldRenderBlock_1 = require("./checkShouldRenderBlock");
|
|
8
7
|
const DefaultFoldButton_1 = require("../Foldable/DefaultFoldButton");
|
|
9
8
|
const Foldable_1 = require("../Foldable/Foldable");
|
|
10
9
|
const FoldableSection_1 = require("../Foldable/FoldableSection");
|
|
11
10
|
const Headline_1 = require("../../components/Headline/Headline");
|
|
12
11
|
const ICONS = ['ArrowDownIcon', 'ArrowUpIcon'];
|
|
13
12
|
const resultsGridStyle = 'space-y-px lg:space-y-0 lg:grid lg:grid-cols-12 gap-2xs border-box';
|
|
14
|
-
exports.BaseFiltrationInner = (0, uni_jsx_1.JSX)(({ label = '',
|
|
15
|
-
const blocksToRender = block?.blocks?.filter((b) => (0, checkShouldRenderBlock_1.checkShouldRenderBlock)(filtrationState, b.content || {})) || [];
|
|
13
|
+
exports.BaseFiltrationInner = (0, uni_jsx_1.JSX)(({ label = '', blocksToRender = [], topItemsCount = 0, block, notFound, ...rest }) => {
|
|
16
14
|
const [visibleBlocks, hiddenBlocks] = topItemsCount > 0
|
|
17
15
|
? [blocksToRender.slice(0, topItemsCount), blocksToRender.slice(topItemsCount)]
|
|
18
16
|
: [blocksToRender, []];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseFiltrationInner.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAuE;
|
|
1
|
+
{"version":3,"file":"BaseFiltrationInner.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAuE;AACvE,6CAA0C;AAE1C,qEAAkE;AAClE,mDAAgD;AAChD,iEAA8D;AAC9D,iEAA8D;AAK9D,MAAM,KAAK,GAAe,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;AAE3D,MAAM,gBAAgB,GAAG,oEAAoE,CAAC;AAMjF,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,cAAc,GAAG,EAAE,EAAE,aAAa,GAAG,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACnF,MAAM,CAAC,aAAa,EAAE,YAAY,CAAC,GACjC,aAAa,GAAG,CAAC;QACf,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,aAAa,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAC/E,CAAC,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;IAE3B,OAAO,CACL,4CACE,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,YAC9D,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,GACvC,EACN,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,aACzE,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,gBAAgB,CAAC,YACpC,IAAA,kCAAgB,EAAC,aAAa,EAAE,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAChE,EACN,uBAAC,mBAAQ,IACP,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;4BACxC,OAAO,CACL,uBAAC,iCAAe,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,gBAAgB,CAAC,EAAE,UAAU,EAAE,UAAU,YACxE,IAAA,kCAAgB,EAAC,YAAY,EAAE,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GACnD,CACnB,CAAC;wBACJ,CAAC,EACD,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9C,uBAAC,qCAAiB,IAChB,SAAS,EAAE,IAAA,aAAK,EAAC,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACnD,QAAQ,EAAE,CAAC,YAAY,EAAE,MAAM,EAC/B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EAC/B,SAAS,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,YAAY,EAC3C,OAAO,EAAE,QAAQ,GACjB,CACH,GACD,IACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,cAAc,CAAC,EAAE,KAAK,EAAE,WAAW,EAAY;IACtD,OAAO,CACL,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,uBAAC,mBAAQ,IAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAC,GAAG,EAAC,UAAU,EAAE,IAAI,GAAI,GACtF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.getBadgeCount = void 0;
|
|
3
|
-
const
|
|
4
|
-
const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) => (0,
|
|
3
|
+
const shouldRenderBlock_1 = require("./shouldRenderBlock");
|
|
4
|
+
const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) => (0, shouldRenderBlock_1.shouldRenderBlock)(filter, content)).length;
|
|
5
5
|
exports.getBadgeCount = getBadgeCount;
|
|
6
6
|
//# sourceMappingURL=getBadgeCount.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBadgeCount.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/getBadgeCount.ts"],"names":[],"mappings":";;AACA
|
|
1
|
+
{"version":3,"file":"getBadgeCount.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/getBadgeCount.ts"],"names":[],"mappings":";;AACA,2DAAwD;AAGjD,MAAM,aAAa,GAAG,CAAC,SAAqB,EAAE,EAAE,SAAqB,EAAE,EAAE,EAAE,CAChF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,IAAA,qCAAiB,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;AADpE,QAAA,aAAa,iBACuD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.getBlocksToRender = void 0;
|
|
3
|
+
const identity_1 = require("../../utils/identity");
|
|
4
|
+
const shouldRenderBlock_1 = require("./shouldRenderBlock");
|
|
5
|
+
const getBlocksToRender = (blocks, filtrationState) => (normalize = identity_1.identity) => blocks && blocks.filter((b) => (0, shouldRenderBlock_1.shouldRenderBlock)(filtrationState, normalize(b.content || {})));
|
|
6
|
+
exports.getBlocksToRender = getBlocksToRender;
|
|
7
|
+
//# sourceMappingURL=getBlocksToRender.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBlocksToRender.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/getBlocksToRender.ts"],"names":[],"mappings":";;AACA,mDAAgD;AAChD,2DAAwD;AAEjD,MAAM,iBAAiB,GAC5B,CAAC,MAA8B,EAAE,eAAoC,EAAE,EAAE,CACzE,CAAC,SAAS,GAAG,mBAAQ,EAAE,EAAE,CACvB,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,qCAAiB,EAAC,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AAHtF,QAAA,iBAAiB,qBAGqE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const shouldRenderBlock: (pattern: Record<string, any>, target: Record<string, any>) => boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.
|
|
2
|
+
exports.shouldRenderBlock = void 0;
|
|
3
3
|
const isEmpty_1 = require("../../utils/isEmpty");
|
|
4
4
|
const isSingularFieldMatch = (key, pattern) => (target) => (0, isEmpty_1.isEmpty)(pattern[key]) || (0, isEmpty_1.isEmpty)(target[key]) || pattern[key] === target[key];
|
|
5
5
|
const isMultipleFieldMatch = (key, pattern) => (target) => (0, isEmpty_1.isEmpty)(pattern[key]) ||
|
|
@@ -8,14 +8,17 @@ const isMultipleFieldMatch = (key, pattern) => (target) => (0, isEmpty_1.isEmpty
|
|
|
8
8
|
const isNumberFieldMatch = (key, pattern) => (target) => (0, isEmpty_1.isEmpty)(pattern[key]) ||
|
|
9
9
|
(0, isEmpty_1.isEmpty)(target[key]) ||
|
|
10
10
|
naturalNumber(pattern[key]) <= naturalNumber(target[key]);
|
|
11
|
+
const isMultipleNumberFieldMatch = (key, pattern) => (target) => (0, isEmpty_1.isEmpty)(pattern[key]) || (0, isEmpty_1.isEmpty)(target[key]) || target[key]?.includes(pattern[key]);
|
|
11
12
|
const isValueInRange = (key, pattern) => (target) => (0, isEmpty_1.isEmpty)(pattern[key]) ||
|
|
12
13
|
(0, isEmpty_1.isEmpty)(target[key]) ||
|
|
13
14
|
(naturalNumber(pattern[key]?.min) >= naturalNumber(target[key]?.min) &&
|
|
14
15
|
naturalNumber(pattern[key]?.min) <= naturalNumber(target[key]?.max));
|
|
15
|
-
const
|
|
16
|
+
const shouldRenderBlock = (pattern, target) => Object.entries(pattern)
|
|
16
17
|
.map(([key, subPattern]) => {
|
|
17
18
|
if (typeof subPattern === 'number') {
|
|
18
|
-
return
|
|
19
|
+
return Array.isArray(target[key])
|
|
20
|
+
? isMultipleNumberFieldMatch(key, pattern)
|
|
21
|
+
: isNumberFieldMatch(key, pattern);
|
|
19
22
|
}
|
|
20
23
|
if (typeof subPattern === 'object' && 'min' in subPattern && 'max' in subPattern) {
|
|
21
24
|
return isValueInRange(key, pattern);
|
|
@@ -25,6 +28,6 @@ const checkShouldRenderBlock = (pattern, target) => Object.entries(pattern)
|
|
|
25
28
|
: isSingularFieldMatch(key, pattern);
|
|
26
29
|
})
|
|
27
30
|
.every((predicate) => predicate(target));
|
|
28
|
-
exports.
|
|
31
|
+
exports.shouldRenderBlock = shouldRenderBlock;
|
|
29
32
|
const naturalNumber = (n) => Number(n || 0);
|
|
30
|
-
//# sourceMappingURL=
|
|
33
|
+
//# sourceMappingURL=shouldRenderBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shouldRenderBlock.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/shouldRenderBlock.ts"],"names":[],"mappings":";;AAAA,iDAA8C;AAE9C,MAAM,oBAAoB,GACxB,CAAsD,GAAW,EAAE,OAAU,EAAE,EAAE,CACjF,CAAC,MAAS,EAAE,EAAE,CACZ,IAAA,iBAAO,EAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,IAAA,iBAAO,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC;AAElF,MAAM,oBAAoB,GACxB,CAAwD,GAAW,EAAE,OAAU,EAAE,EAAE,CACnF,CAAC,MAAS,EAAE,EAAE,CACZ,IAAA,iBAAO,EAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB,IAAA,iBAAO,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACpB,OAAO,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;AAExD,MAAM,kBAAkB,GACtB,CAAyD,GAAW,EAAE,OAAU,EAAE,EAAE,CACpF,CAAC,MAAS,EAAE,EAAE,CACZ,IAAA,iBAAO,EAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB,IAAA,iBAAO,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACpB,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AAE9D,MAAM,0BAA0B,GAC9B,CAAsD,GAAW,EAAE,OAAU,EAAE,EAAE,CACjF,CAAC,MAAS,EAAE,EAAE,CACZ,IAAA,iBAAO,EAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,IAAA,iBAAO,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;AAEzF,MAAM,cAAc,GAClB,CAAsD,GAAW,EAAE,OAAU,EAAE,EAAE,CACjF,CAAC,MAAS,EAAE,EAAE,CACZ,IAAA,iBAAO,EAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB,IAAA,iBAAO,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACpB,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC;QAClE,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;AAEpE,MAAM,iBAAiB,GAAG,CAAC,OAA4B,EAAE,MAA2B,EAAE,EAAE,CAC7F,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;KACpB,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,UAAU,CAAC,EAAE,EAAE;IACzB,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;QAClC,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YAC/B,CAAC,CAAC,0BAA0B,CAAC,GAAG,EAAE,OAAO,CAAC;YAC1C,CAAC,CAAC,kBAAkB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;KACtC;IAED,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,KAAK,IAAI,UAAU,IAAI,KAAK,IAAI,UAAU,EAAE;QAChF,OAAO,cAAc,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;KACrC;IAED,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;QAC9B,CAAC,CAAC,oBAAoB,CAAC,GAAG,EAAE,OAAO,CAAC;QACpC,CAAC,CAAC,oBAAoB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AACzC,CAAC,CAAC;KACD,KAAK,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;AAjBhC,QAAA,iBAAiB,qBAiBe;AAE7C,MAAM,aAAa,GAAG,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -17,8 +17,5 @@ const getIconVersion = (icon, version = 'secondary') => {
|
|
|
17
17
|
const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
|
|
18
18
|
return icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
|
|
19
19
|
};
|
|
20
|
-
const renderButtonIcon = (icon) => {
|
|
21
|
-
console.log(icon);
|
|
22
|
-
return icon?.icon || icon?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
|
|
23
|
-
};
|
|
20
|
+
const renderButtonIcon = (icon) => icon?.icon || icon?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
|
|
24
21
|
//# sourceMappingURL=renderButtonsSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";;;AACA,6CAA0C;AAC1C,oCAAiC;AACjC,qCAAkC;AAS3B,MAAM,oBAAoB,GAAG,CAClC,OAAuC,EACvC,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACjE,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,MAAM,EACN,UAAU,CAAC,CAAC,CAAC,uCAAuC,CAAC,CAAC,CAAC,iBAAiB,EACxE,SAAS,CACV,YAEA,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAdE,QAAA,oBAAoB,wBActB;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE,CACzB,CAAC,MAAsB,EAAE,KAAc,EAAE,EAAE;IACzC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IACjE,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClD,MAAM,gBAAgB,GAAG,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAE5D,OAAO,IAAI,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAC1B,uBAAC,eAAM,IAEL,SAAS,EAAE,IAAA,aAAK,EAAC,0BAA0B,EAAE,eAAe,CAAC,EAC7D,UAAU,EAAE,gBAAgB,CAAC,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,CAAC,EACtD,WAAW,EAAE,gBAAgB,CAAC,EAAE,GAAG,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC,EAC9E,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,KACN,IAAI,IANH,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAO/B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,cAAc,GAAG,CAAC,IAAyB,EAAE,OAAO,GAAG,WAAW,EAAE,EAAE;IAC1E,MAAM,kBAAkB,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEvE,OAAO,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC;AACpE,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";;;AACA,6CAA0C;AAC1C,oCAAiC;AACjC,qCAAkC;AAS3B,MAAM,oBAAoB,GAAG,CAClC,OAAuC,EACvC,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACjE,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,MAAM,EACN,UAAU,CAAC,CAAC,CAAC,uCAAuC,CAAC,CAAC,CAAC,iBAAiB,EACxE,SAAS,CACV,YAEA,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAdE,QAAA,oBAAoB,wBActB;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE,CACzB,CAAC,MAAsB,EAAE,KAAc,EAAE,EAAE;IACzC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IACjE,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClD,MAAM,gBAAgB,GAAG,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAE5D,OAAO,IAAI,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAC1B,uBAAC,eAAM,IAEL,SAAS,EAAE,IAAA,aAAK,EAAC,0BAA0B,EAAE,eAAe,CAAC,EAC7D,UAAU,EAAE,gBAAgB,CAAC,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,CAAC,EACtD,WAAW,EAAE,gBAAgB,CAAC,EAAE,GAAG,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC,EAC9E,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,KACN,IAAI,IANH,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAO/B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,cAAc,GAAG,CAAC,IAAyB,EAAE,OAAO,GAAG,WAAW,EAAE,EAAE;IAC1E,MAAM,kBAAkB,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEvE,OAAO,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC;AACpE,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CACzC,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CACxB,uBAAC,SAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -3,9 +3,9 @@ exports.CookiePopup = 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
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
-
const useBool_1 = require("
|
|
6
|
+
const useBool_1 = require("@redneckz/uni-jsx/lib/hooks/useBool");
|
|
7
|
+
const useDebouncedEffect_1 = require("@redneckz/uni-jsx/lib/hooks/useDebouncedEffect");
|
|
7
8
|
const style_1 = require("../../utils/style");
|
|
8
|
-
const useDebouncedEffect_1 = require("../../utils/useDebouncedEffect");
|
|
9
9
|
const CloseButton_1 = require("../DialogManager/CloseButton");
|
|
10
10
|
const LinkWrapper_1 = require("../LinkWrapper/LinkWrapper");
|
|
11
11
|
const Paragraph_1 = require("../Paragraph/Paragraph");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookiePopup.js","sourceRoot":"","sources":["../../../src/ui-kit/CookiePopup/CookiePopup.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,
|
|
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,yFAAyF,aACtG,gCAAK,SAAS,EAAC,WAAW,YACxB,wBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,mBAAmB,2LAElE,uBAAC,yBAAW,IAAC,QAAQ,QAAC,SAAS,EAAE,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAM,QAAQ,uBAEjE,+0BAGd,uBAAC,yBAAW,IACV,QAAQ,QACR,SAAS,EAAE,gBAAgB,CAAC,sBAAsB,EAAE,IAAI,CAAC,KACrD,sBAAsB,oNAGd,2gBAGJ,GACR,EACN,gCAAK,SAAS,EAAC,oCAAoC,YACjD,uBAAC,yBAAW,IAAC,SAAS,EAAC,yBAAyB,EAAC,OAAO,EAAE,WAAW,GAAI,GACrE,IACF,GACF,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,IAAA,aAAK,EAAC,eAAe,EAAE,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -3,6 +3,7 @@ exports.DialogManager = 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
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
+
const useEventListener_1 = require("@redneckz/uni-jsx/lib/hooks/useEventListener");
|
|
6
7
|
const style_1 = require("../../utils/style");
|
|
7
8
|
const useDialogManager_1 = require("./useDialogManager");
|
|
8
9
|
const useDialogsList_1 = require("./useDialogsList");
|
|
@@ -17,17 +18,12 @@ exports.DialogManager = (0, uni_jsx_1.JSX)(() => {
|
|
|
17
18
|
}, []);
|
|
18
19
|
const dialogs = (0, useDialogsList_1.useDialogsList)({ onCloseAll: handleCloseAll, onClose: handleClose });
|
|
19
20
|
const { close } = (0, useDialogManager_1.useDialogManager)();
|
|
20
|
-
(0, hooks_1.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
globalThis.document?.addEventListener('keydown', handleEscape);
|
|
27
|
-
return () => {
|
|
28
|
-
globalThis.document?.removeEventListener('keydown', handleEscape);
|
|
29
|
-
};
|
|
30
|
-
}, [close]);
|
|
21
|
+
const escapeHandler = (0, hooks_1.useCallback)(({ key }) => {
|
|
22
|
+
if (key === 'Escape') {
|
|
23
|
+
close();
|
|
24
|
+
}
|
|
25
|
+
}, []);
|
|
26
|
+
(0, useEventListener_1.useEventListener)(globalThis.document, 'keydown', escapeHandler);
|
|
31
27
|
(0, hooks_1.useEffect)(() => {
|
|
32
28
|
if (dialogs.length) {
|
|
33
29
|
globalThis.document?.body.classList.add('no-scrollbar');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogManager.js","sourceRoot":"","sources":["../../../src/ui-kit/DialogManager/DialogManager.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAqE;AACrE,6CAA0C;AAE1C,yDAAsD;AACtD,qDAAkD;AAErC,QAAA,aAAa,GAAG,IAAA,aAAG,EAAC,GAAG,EAAE;IACpC,MAAM,cAAc,GAAG,IAAA,mBAAW,EAAC,CAAC,OAA2B,EAAE,EAAE;QACjE,KAAK,MAAM,CAAC,IAAI,OAAO,EAAE;YACvB,CAAC,EAAE,OAAO,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;SAC3B;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,WAAW,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAmB,EAAE,EAAE;QACtD,CAAC,EAAE,OAAO,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;IAC5B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,OAAO,GAAG,IAAA,+BAAc,EAAC,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAErF,MAAM,EAAE,KAAK,EAAE,GAAG,IAAA,mCAAgB,GAAE,CAAC;IAErC,
|
|
1
|
+
{"version":3,"file":"DialogManager.js","sourceRoot":"","sources":["../../../src/ui-kit/DialogManager/DialogManager.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAqE;AACrE,mFAAgF;AAChF,6CAA0C;AAE1C,yDAAsD;AACtD,qDAAkD;AAErC,QAAA,aAAa,GAAG,IAAA,aAAG,EAAC,GAAG,EAAE;IACpC,MAAM,cAAc,GAAG,IAAA,mBAAW,EAAC,CAAC,OAA2B,EAAE,EAAE;QACjE,KAAK,MAAM,CAAC,IAAI,OAAO,EAAE;YACvB,CAAC,EAAE,OAAO,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;SAC3B;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,WAAW,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAmB,EAAE,EAAE;QACtD,CAAC,EAAE,OAAO,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;IAC5B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,OAAO,GAAG,IAAA,+BAAc,EAAC,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAErF,MAAM,EAAE,KAAK,EAAE,GAAG,IAAA,mCAAgB,GAAE,CAAC;IAErC,MAAM,aAAa,GAAG,IAAA,mBAAW,EAAC,CAAC,EAAE,GAAG,EAAmB,EAAE,EAAE;QAC7D,IAAI,GAAG,KAAK,QAAQ,EAAE;YACpB,KAAK,EAAE,CAAC;SACT;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,IAAA,mCAAgB,EAAC,UAAU,CAAC,QAAQ,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;IAEhE,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,OAAO,CAAC,MAAM,EAAE;YAClB,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;YACxD,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;SAC5D;aAAM;YACL,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;YAC3D,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;SAC/D;IACH,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CACtB,gCAAK,SAAS,EAAC,oBAAoB,EAAC,IAAI,EAAC,QAAQ,YAC9C,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAClC,gCAEE,SAAS,EAAE,IAAA,aAAK,EACd,mEAAmE,EACnE,CAAC,KAAK,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CACzC,YAEA,MAAM,IANF,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAOhB,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.useDialogsList = void 0;
|
|
3
3
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
4
|
+
const useList_1 = require("@redneckz/uni-jsx/lib/hooks/useList");
|
|
4
5
|
const defaultEventBus_1 = require("../../EventBus/defaultEventBus");
|
|
5
|
-
const useList_1 = require("../../hooks/useList");
|
|
6
6
|
const assertUnreachable_1 = require("../../utils/assertUnreachable");
|
|
7
7
|
const useDialogsList = ({ onCloseAll, onClose, } = {}) => {
|
|
8
8
|
const [dialogs, { push, pop, clear }] = (0, useList_1.useList)();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDialogsList.js","sourceRoot":"","sources":["../../../src/ui-kit/DialogManager/useDialogsList.ts"],"names":[],"mappings":";;AAAA,uDAAqE;AACrE,oEAAiE;AACjE,
|
|
1
|
+
{"version":3,"file":"useDialogsList.js","sourceRoot":"","sources":["../../../src/ui-kit/DialogManager/useDialogsList.ts"],"names":[],"mappings":";;AAAA,uDAAqE;AACrE,iEAA8D;AAC9D,oEAAiE;AACjE,qEAAkE;AAQ3D,MAAM,cAAc,GAAG,CAAC,EAC7B,UAAU,EACV,OAAO,MACe,EAAE,EAAsB,EAAE;IAChD,MAAM,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,GAAoB,CAAC;IAEpE,MAAM,QAAQ,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QAChC,UAAU,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC;QAClC,KAAK,EAAE,CAAC;IACV,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAE1B,MAAM,KAAK,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QAC7B,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;QAChD,GAAG,EAAE,CAAC;IACR,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAEvB,IAAA,iBAAS,EACP,GAAG,EAAE,CACH,iCAAe,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,EAAE;QAC7C,QAAQ,MAAM,CAAC,IAAI,EAAE;YACnB,KAAK,MAAM;gBACT,IAAI,CAAC,MAAM,CAAC,CAAC;gBACb,MAAM;YACR,KAAK,OAAO;gBACV,IAAI,MAAM,CAAC,GAAG,EAAE;oBACd,QAAQ,EAAE,CAAC;iBACZ;qBAAM;oBACL,KAAK,EAAE,CAAC;iBACT;gBACD,MAAM;YACR;gBACE,IAAA,qCAAiB,EAAC,MAAM,CAAC,CAAC;SAC7B;IACH,CAAC,CAAC,EACJ,CAAC,QAAQ,EAAE,KAAK,CAAC,CAClB,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAtCW,QAAA,cAAc,kBAsCzB"}
|
|
@@ -4,14 +4,13 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const style_1 = require("../../utils/style");
|
|
6
6
|
const Img_1 = require("../Img/Img");
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
});
|
|
7
|
+
const TextWithIcon_1 = require("../TextWithIcon/TextWithIcon");
|
|
8
|
+
exports.DefaultFoldButton = (0, uni_jsx_1.JSX)(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => ((0, jsx_runtime_1.jsx)(TextWithIcon_1.TextWithIcon, { tag: "button", onClick: onClick, disabled: disabled, "data-theme": dataTheme, justifyContent: "center", className: (0, style_1.style)('py-4 border border-transparent outline-none focus:border-primary-text', disabled
|
|
9
|
+
? 'bg-main-divider text-main-disabled hover:bg-main-divider'
|
|
10
|
+
: 'bg-primary-main text-white hover:bg-primary-hove', className), textNode: (0, jsx_runtime_1.jsx)("span", { className: "text-h4 pr-s", children: label }), iconNode: icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: {
|
|
11
|
+
icon,
|
|
12
|
+
iconVersion: 'white',
|
|
13
|
+
}, className: "my-auto", width: "20", height: "20" })) : null })));
|
|
15
14
|
const renderDefaultFoldButton = ({ isUnfolded, onToggle }) => {
|
|
16
15
|
const labels = ['Развернуть', 'Скрыть'];
|
|
17
16
|
const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultFoldButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/DefaultFoldButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAE1C,oCAAiC;
|
|
1
|
+
{"version":3,"file":"DefaultFoldButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/DefaultFoldButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAE1C,oCAAiC;AAEjC,+DAA4D;AAW/C,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC9E,uBAAC,2BAAY,IACX,GAAG,EAAC,QAAQ,EACZ,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,gBACN,SAAS,EACrB,cAAc,EAAC,QAAQ,EACvB,SAAS,EAAE,IAAA,aAAK,EACd,uEAAuE,EACvE,QAAQ;QACN,CAAC,CAAC,0DAA0D;QAC5D,CAAC,CAAC,kDAAkD,EACtD,SAAS,CACV,EACD,QAAQ,EAAE,iCAAM,SAAS,EAAC,cAAc,YAAE,KAAK,GAAQ,EACvD,QAAQ,EACN,IAAI,CAAC,CAAC,CAAC,CACL,uBAAC,SAAG,IACF,KAAK,EAAE;YACL,IAAI;YACJ,WAAW,EAAE,OAAO;SACrB,EACD,SAAS,EAAC,SAAS,EACnB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,CAAC,CAAC,CAAC,IAAI,GAEV,CACH,CACF,CAAC;AAEK,MAAM,uBAAuB,GAAG,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAqB,EAAE,EAAE;IACrF,MAAM,MAAM,GAAG,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACxC,MAAM,KAAK,GAAe,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;IAE3D,OAAO,CACL,uBAAC,yBAAiB,IAChB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EAC/B,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EACjC,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC;AACJ,CAAC,CAAC;AAXW,QAAA,uBAAuB,2BAWlC"}
|
|
@@ -14,6 +14,6 @@ exports.InnerTable = (0, uni_jsx_1.JSX)(({ dataUrl, pdfUrl, onClick }) => {
|
|
|
14
14
|
const handleActiveTabIndex = (0, hooks_1.useCallback)((_) => setActiveTabIndex(_), []);
|
|
15
15
|
const items = tableData?.[activeTabIndex]?.items ?? [];
|
|
16
16
|
const currencies = tableData?.map((item) => item.currency ?? '');
|
|
17
|
-
return tableData ? ((0, jsx_runtime_1.jsxs)("div", { className: "bg-white z-10", children: [(0, jsx_runtime_1.jsx)(InnerTableHeader_1.InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex, linkToPDF: pdfUrl }), (0, jsx_runtime_1.jsx)(InnerTableBody_1.InnerTableBody, { activeTabIndex: activeTabIndex, items: items }), (0, jsx_runtime_1.jsx)(InnerTableButton_1.TableInnerButton, { onClick: onClick, isOpen: true })] })) : ((0, jsx_runtime_1.jsxs)("div", { className: "my-lg text-h6 text-center", children: [(0, jsx_runtime_1.jsx)("p", { children: EMPTY_DATA }), (0, jsx_runtime_1.jsx)(InnerTableButton_1.TableInnerButton, { onClick: onClick, isOpen: true })] }));
|
|
17
|
+
return tableData ? ((0, jsx_runtime_1.jsxs)("div", { className: "bg-white z-10", children: [(0, jsx_runtime_1.jsx)(InnerTableHeader_1.InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex, linkToPDF: pdfUrl }), (0, jsx_runtime_1.jsx)(InnerTableBody_1.InnerTableBody, { activeTabIndex: activeTabIndex, items: items }), (0, jsx_runtime_1.jsx)(InnerTableButton_1.TableInnerButton, { className: "mt-xl", onClick: onClick, isOpen: true })] })) : ((0, jsx_runtime_1.jsxs)("div", { className: "my-lg space-y-m text-h6 text-center", children: [(0, jsx_runtime_1.jsx)("p", { children: EMPTY_DATA }), (0, jsx_runtime_1.jsx)(InnerTableButton_1.TableInnerButton, { onClick: onClick, isOpen: true })] }));
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=InnerTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTable.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,qDAAkD;AAClD,yDAAsD;AACtD,yDAAsD;AAEtD,yEAAsE;AAMtE,MAAM,UAAU,GAAG,YAAY,CAAC;AAEnB,QAAA,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9E,MAAM,EAAE,SAAS,EAAE,GAAmB,IAAA,mDAAwB,EAAC,OAAO,CAAC,CAAC;IACxE,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IACxD,MAAM,oBAAoB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAClF,MAAM,KAAK,GAAG,SAAS,EAAE,CAAC,cAAc,CAAC,EAAE,KAAK,IAAI,EAAE,CAAC;IACvD,MAAM,UAAU,GAAG,SAAS,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;IAEjE,OAAO,SAAS,CAAC,CAAC,CAAC,CACjB,iCAAK,SAAS,EAAC,eAAe,aAC5B,uBAAC,mCAAgB,IACf,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,oBAAoB,EACvC,SAAS,EAAE,MAAM,GACjB,EACF,uBAAC,+BAAc,IAAC,cAAc,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,GAAI,EAChE,uBAAC,mCAAgB,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAG,
|
|
1
|
+
{"version":3,"file":"InnerTable.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,qDAAkD;AAClD,yDAAsD;AACtD,yDAAsD;AAEtD,yEAAsE;AAMtE,MAAM,UAAU,GAAG,YAAY,CAAC;AAEnB,QAAA,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9E,MAAM,EAAE,SAAS,EAAE,GAAmB,IAAA,mDAAwB,EAAC,OAAO,CAAC,CAAC;IACxE,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IACxD,MAAM,oBAAoB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAClF,MAAM,KAAK,GAAG,SAAS,EAAE,CAAC,cAAc,CAAC,EAAE,KAAK,IAAI,EAAE,CAAC;IACvD,MAAM,UAAU,GAAG,SAAS,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;IAEjE,OAAO,SAAS,CAAC,CAAC,CAAC,CACjB,iCAAK,SAAS,EAAC,eAAe,aAC5B,uBAAC,mCAAgB,IACf,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,oBAAoB,EACvC,SAAS,EAAE,MAAM,GACjB,EACF,uBAAC,+BAAc,IAAC,cAAc,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,GAAI,EAChE,uBAAC,mCAAgB,IAAC,SAAS,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAG,IAC3D,CACP,CAAC,CAAC,CAAC,CACF,iCAAK,SAAS,EAAC,qCAAqC,aAClD,wCAAI,UAAU,GAAK,EACnB,uBAAC,mCAAgB,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAG,IACzC,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -3,15 +3,11 @@ exports.InnerTableBody = 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
5
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
|
-
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
7
|
-
const Img_1 = require("../Img/Img");
|
|
8
6
|
const InnerTableBodyItem_1 = require("./InnerTableBodyItem");
|
|
9
7
|
exports.InnerTableBody = (0, uni_jsx_1.JSX)(({ activeTabIndex, items }) => {
|
|
10
|
-
const [hiddenTables, setHiddenTables] = (0, hooks_1.useState)({});
|
|
11
|
-
const toggleTables = (0, hooks_1.useCallback)((key) => setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] })), []);
|
|
12
8
|
return ((0, jsx_runtime_1.jsx)("div", { children: items.map((_, tableIdx) => {
|
|
13
9
|
const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
|
|
14
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "w-full", children: [(0, jsx_runtime_1.
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "w-full @container", children: [(0, jsx_runtime_1.jsx)("div", { className: "flex p-m bg-white @4xl:bg-gray text-center justify-center relative", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xl", font: "font-light", children: _.title }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-full pl-xs overflow-hidden transition-height duration-500 ease-in-out", children: (0, jsx_runtime_1.jsx)("div", { className: "relative", children: (0, jsx_runtime_1.jsx)(InnerTableBodyItem_1.InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
|
|
15
11
|
}) }));
|
|
16
12
|
});
|
|
17
13
|
//# sourceMappingURL=InnerTableBody.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableBody.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBody.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"InnerTableBody.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBody.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,6DAA0D;AAQ7C,QAAA,cAAc,GAAG,IAAA,aAAG,EAAsB,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,0CACG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE;YACzB,MAAM,GAAG,GAAG,gBAAgB,cAAc,aAAa,QAAQ,EAAE,CAAC;YAElE,OAAO,CACL,iCAAe,SAAS,EAAC,mBAAmB,aAC1C,gCAAK,SAAS,EAAC,oEAAoE,YACjF,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,YAAY,YACnC,CAAC,CAAC,KAAK,GACH,GACH,EACN,gCAAK,SAAS,EAAC,yEAAyE,YACtF,gCAAK,SAAS,EAAC,UAAU,YACvB,uBAAC,uCAAkB,IAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,GAAI,GACpC,GACF,KAVE,GAAG,CAWP,CACP,CAAC;QACJ,CAAC,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -4,8 +4,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const useCarouselControls_1 = require("../../hooks/useCarouselControls");
|
|
6
6
|
const renderArrows_1 = require("../Button/renderArrows");
|
|
7
|
-
const
|
|
8
|
-
const COLUMN_WIDTH = 140;
|
|
7
|
+
const renderInnerTableRow_1 = require("./renderInnerTableRow");
|
|
9
8
|
exports.InnerTableBodyItem = (0, uni_jsx_1.JSX)(({ rows }) => {
|
|
10
9
|
const rowsLength = rows?.[0]?.length ?? 0;
|
|
11
10
|
const CARD_VIEW_COUNT = 5;
|
|
@@ -13,25 +12,10 @@ exports.InnerTableBodyItem = (0, uni_jsx_1.JSX)(({ rows }) => {
|
|
|
13
12
|
itemCount: rowsLength,
|
|
14
13
|
visibleItemCount: CARD_VIEW_COUNT,
|
|
15
14
|
});
|
|
16
|
-
return ((0, jsx_runtime_1.jsxs)("div", { children: [rows?.map(
|
|
15
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: [rows?.map((0, renderInnerTableRow_1.renderInnerTableRow)(activeIndex)), (0, renderArrows_1.renderArrows)({
|
|
17
16
|
...controls,
|
|
18
17
|
btnClass: ['left-3 top-20', 'right-3 top-20'],
|
|
19
18
|
className: '',
|
|
20
19
|
})] }));
|
|
21
20
|
});
|
|
22
|
-
const renderRow = (activeColumnIndex) => (rowData, rowIdx) => {
|
|
23
|
-
if (!rowData?.length) {
|
|
24
|
-
return null;
|
|
25
|
-
}
|
|
26
|
-
const [headerColumn, ...columns] = rowData;
|
|
27
|
-
const transform = [...Array(activeColumnIndex).keys()].reduce((res, i) => (columns?.[i]?.cols?.length ?? 1) * COLUMN_WIDTH + res, 0);
|
|
28
|
-
const columnsClassName = [
|
|
29
|
-
'flex duration-1000 text-center',
|
|
30
|
-
rowIdx !== 0 ? 'font-normal' : 'font-light',
|
|
31
|
-
].join(' ');
|
|
32
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex border-main-divider border border-t-0 border-x-0 border-solid", children: [headerColumn?.data ? ((0, jsx_runtime_1.jsx)("div", { className: `text-xl font-light w-52 py-lg `, children: headerColumn.data })) : null, (0, jsx_runtime_1.jsx)("div", { className: "flex flex-grow overflow-hidden", children: (0, jsx_runtime_1.jsx)("div", { className: columnsClassName, style: {
|
|
33
|
-
transform: `translateX(-${transform}px)`,
|
|
34
|
-
}, children: columns?.map((_, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col flex-grow gap-s justify-center py-xl odd:bg-main-divider", children: [_?.data ? (0, jsx_runtime_1.jsx)("div", { className: "text-xl font-light", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
|
|
35
|
-
};
|
|
36
|
-
const renderCols = (cols, rowIndex) => cols?.length > 0 ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex', rowIndex === 0 ? 'text-secondary-text' : ''), children: cols.map((data, i) => ((0, jsx_runtime_1.jsx)("div", { className: `w-20 text-h6 mx-lg`, children: data }, String(i)))) })) : null;
|
|
37
21
|
//# sourceMappingURL=InnerTableBodyItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableBodyItem.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBodyItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AACtE,yDAAsD;AAEtD
|
|
1
|
+
{"version":3,"file":"InnerTableBodyItem.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBodyItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AACtE,yDAAsD;AAEtD,+DAA4D;AAM/C,QAAA,kBAAkB,GAAG,IAAA,aAAG,EAA0B,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,UAAU,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,IAAI,CAAC,CAAC;IAC1C,MAAM,eAAe,GAAG,CAAC,CAAC;IAC1B,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,eAAe;KAClC,CAAC,CAAC;IAEH,OAAO,CACL,4CACG,IAAI,EAAE,GAAG,CAAC,IAAA,yCAAmB,EAAC,WAAW,CAAC,CAAC,EAC3C,IAAA,2BAAY,EAAC;gBACZ,GAAG,QAAQ;gBACX,QAAQ,EAAE,CAAC,eAAe,EAAE,gBAAgB,CAAC;gBAC7C,SAAS,EAAE,EAAE;aACd,CAAC,IACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.InnerTableBodyItem = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const SwipeListContainer_1 = require("../SwipeListControl/SwipeListContainer");
|
|
6
|
+
const renderInnerTableRow_1 = require("./renderInnerTableRow");
|
|
7
|
+
exports.InnerTableBodyItem = (0, uni_jsx_1.JSX)(({ rows }) => ((0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { visibleItemCount: 0, snapAlign: "snap-start", children: (0, jsx_runtime_1.jsx)("div", { children: rows?.map((0, renderInnerTableRow_1.renderInnerTableRow)(0)) }) })));
|
|
8
|
+
//# sourceMappingURL=InnerTableBodyItem.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InnerTableBodyItem.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBodyItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,+EAA4E;AAE5E,+DAA4D;AAM/C,QAAA,kBAAkB,GAAG,IAAA,aAAG,EAA0B,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC3E,uBAAC,uCAAkB,IAAC,gBAAgB,EAAE,CAAC,EAAE,SAAS,EAAC,YAAY,YAC7D,0CAAM,IAAI,EAAE,GAAG,CAAC,IAAA,yCAAmB,EAAC,CAAC,CAAC,CAAC,GAAO,GAC3B,CACtB,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { TariffsTableCellIndexProps } from '../../components/TariffsTable/TariffsTableContent';
|
|
2
2
|
import type { TariffsTableInnerContent } from './InnerTableProps';
|
|
3
|
-
export interface
|
|
3
|
+
export interface InnerTableButtonProps extends Partial<TariffsTableCellIndexProps>, TariffsTableInnerContent {
|
|
4
4
|
onClick?: () => void;
|
|
5
5
|
isOpen?: boolean;
|
|
6
|
+
className?: string;
|
|
6
7
|
}
|
|
7
|
-
export declare const TableInnerButton: import("@redneckz/uni-jsx").UNIComponent<
|
|
8
|
+
export declare const TableInnerButton: import("@redneckz/uni-jsx").UNIComponent<InnerTableButtonProps, any, any>;
|
|
@@ -2,9 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.TableInnerButton = 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 Img_1 = require("../Img/Img");
|
|
5
6
|
const Button_1 = require("../Button/Button");
|
|
6
|
-
|
|
7
|
-
exports.TableInnerButton = (0, uni_jsx_1.JSX)(({ isOpen, onClick }) => {
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-lg", children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать' }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-s", iconVersion: "white", width: "20", height: "20" })] }));
|
|
9
|
-
});
|
|
7
|
+
exports.TableInnerButton = (0, uni_jsx_1.JSX)(({ className = '', isOpen, onClick }) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: className, appendRight: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon' }, width: "20", height: "20" }), text: isOpen ? 'Скрыть' : 'Показать', version: "gray", onClick: onClick })));
|
|
10
8
|
//# sourceMappingURL=InnerTableButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,oCAAiC;AACjC,6CAA0C;AAU7B,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACvC,uBAAC,eAAM,IACL,SAAS,EAAE,SAAS,EACpB,WAAW,EACT,uBAAC,SAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,EAE3F,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,EACpC,OAAO,EAAC,MAAM,EACd,OAAO,EAAE,OAAO,GAChB,CACH,CACF,CAAC"}
|
|
@@ -4,5 +4,6 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const Button_1 = require("../Button/Button");
|
|
6
6
|
const Icon_1 = require("../Icon/Icon");
|
|
7
|
-
|
|
7
|
+
const linkButtonVersion_1 = require("./linkButtonVersion");
|
|
8
|
+
exports.InnerTableHeader = (0, uni_jsx_1.JSX)(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between items-center w-full py-lg", children: [currencies && currencies.length > 1 ? ((0, jsx_runtime_1.jsx)("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => ((0, jsx_runtime_1.jsx)("div", { className: `rounded-md text-xl font-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "text-primary-main", href: linkToPDF, version: linkButtonVersion_1.linkButtonVersion, target: "_blank", appendLeft: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
|
|
8
9
|
//# sourceMappingURL=InnerTableHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableHeader.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableHeader.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6CAA0C;AAC1C,uCAAoC;
|
|
1
|
+
{"version":3,"file":"InnerTableHeader.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableHeader.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6CAA0C;AAC1C,uCAAoC;AACpC,2DAAwD;AAS3C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,iBAAiB,EAAE,EAAE,EAAE,CAAC,CAChE,iCAAK,SAAS,EAAC,gDAAgD,aAC5D,UAAU,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACrC,gCAAK,SAAS,EAAC,0CAA0C,YACtD,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,CAAC,CACjC,gCAEE,SAAS,EAAE,0DACT,GAAG,KAAK,cAAc,CAAC,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC,qBAC1D,EAAE,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,GAAG,CAAC,YAEpC,QAAQ,IAAI,GAAG,GAAG,CAAC,IANf,QAAQ,CAOT,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACP,SAAS,CAAC,CAAC,CAAC,CACX,uBAAC,eAAM,IACL,SAAS,EAAC,mBAAmB,EAC7B,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,qCAAiB,EAC1B,MAAM,EAAC,QAAQ,EACf,UAAU,EACR,uBAAC,WAAI,IACH,IAAI,EAAC,iBAAiB,EACtB,WAAW,EAAC,OAAO,EACnB,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,EAEJ,IAAI,EAAC,uDAAe,GACpB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CACF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.getHorizontalShift = void 0;
|
|
3
|
+
const sum_1 = require("../../utils/sum");
|
|
4
|
+
const COLUMN_WIDTH = 140;
|
|
5
|
+
const getHorizontalShift = (columns, activeColumnIndex) => (0, sum_1.sum)(columns.slice(0, activeColumnIndex).map((_) => _?.cols?.length ?? 1)) * COLUMN_WIDTH;
|
|
6
|
+
exports.getHorizontalShift = getHorizontalShift;
|
|
7
|
+
//# sourceMappingURL=getHorizontalShift.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getHorizontalShift.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/getHorizontalShift.tsx"],"names":[],"mappings":";;AACA,yCAAsC;AAEtC,MAAM,YAAY,GAAG,GAAG,CAAC;AAElB,MAAM,kBAAkB,GAAG,CAAC,OAAmB,EAAE,iBAAyB,EAAE,EAAE,CACnF,IAAA,SAAG,EAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC;AAD9E,QAAA,kBAAkB,sBAC4D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const linkButtonVersion = "secondary";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkButtonVersion.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/linkButtonVersion.tsx"],"names":[],"mappings":";;AAAa,QAAA,iBAAiB,GAAG,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const linkButtonVersion = "link";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkButtonVersion.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/linkButtonVersion.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,iBAAiB,GAAG,MAAM,CAAC"}
|