@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":"BaseFiltrationInner.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"BaseFiltrationInner.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,iBAA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P,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;4BACxC,OAAO,CACL,KAAC,eAAe,IAAC,SAAS,EAAE,KAAK,CAAC,gBAAgB,CAAC,EAAE,UAAU,EAAE,UAAU,YACxE,gBAAgB,CAAC,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,KAAC,iBAAiB,IAChB,SAAS,EAAE,KAAK,CAAC,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,cAAK,SAAS,EAAC,gBAAgB,YAC7B,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAC,GAAG,EAAC,UAAU,EAAE,IAAI,GAAI,GACtF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) =>
|
|
1
|
+
import { shouldRenderBlock } from './shouldRenderBlock.js';
|
|
2
|
+
export const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) => shouldRenderBlock(filter, content)).length;
|
|
3
3
|
//# sourceMappingURL=getBadgeCount.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBadgeCount.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/getBadgeCount.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"getBadgeCount.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/getBadgeCount.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,MAAM,CAAC,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,iBAAiB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { identity } from '../../utils/identity.js';
|
|
2
|
+
import { shouldRenderBlock } from './shouldRenderBlock.js';
|
|
3
|
+
export const getBlocksToRender = (blocks, filtrationState) => (normalize = identity) => blocks && blocks.filter((b) => shouldRenderBlock(filtrationState, normalize(b.content || {})));
|
|
4
|
+
//# sourceMappingURL=getBlocksToRender.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBlocksToRender.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/getBlocksToRender.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,CAAC,MAAM,iBAAiB,GAC5B,CAAC,MAA8B,EAAE,eAAoC,EAAE,EAAE,CACzE,CAAC,SAAS,GAAG,QAAQ,EAAE,EAAE,CACvB,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const shouldRenderBlock: (pattern: Record<string, any>, target: Record<string, any>) => boolean;
|
|
@@ -6,14 +6,17 @@ const isMultipleFieldMatch = (key, pattern) => (target) => isEmpty(pattern[key])
|
|
|
6
6
|
const isNumberFieldMatch = (key, pattern) => (target) => isEmpty(pattern[key]) ||
|
|
7
7
|
isEmpty(target[key]) ||
|
|
8
8
|
naturalNumber(pattern[key]) <= naturalNumber(target[key]);
|
|
9
|
+
const isMultipleNumberFieldMatch = (key, pattern) => (target) => isEmpty(pattern[key]) || isEmpty(target[key]) || target[key]?.includes(pattern[key]);
|
|
9
10
|
const isValueInRange = (key, pattern) => (target) => isEmpty(pattern[key]) ||
|
|
10
11
|
isEmpty(target[key]) ||
|
|
11
12
|
(naturalNumber(pattern[key]?.min) >= naturalNumber(target[key]?.min) &&
|
|
12
13
|
naturalNumber(pattern[key]?.min) <= naturalNumber(target[key]?.max));
|
|
13
|
-
export const
|
|
14
|
+
export const shouldRenderBlock = (pattern, target) => Object.entries(pattern)
|
|
14
15
|
.map(([key, subPattern]) => {
|
|
15
16
|
if (typeof subPattern === 'number') {
|
|
16
|
-
return
|
|
17
|
+
return Array.isArray(target[key])
|
|
18
|
+
? isMultipleNumberFieldMatch(key, pattern)
|
|
19
|
+
: isNumberFieldMatch(key, pattern);
|
|
17
20
|
}
|
|
18
21
|
if (typeof subPattern === 'object' && 'min' in subPattern && 'max' in subPattern) {
|
|
19
22
|
return isValueInRange(key, pattern);
|
|
@@ -24,4 +27,4 @@ export const checkShouldRenderBlock = (pattern, target) => Object.entries(patter
|
|
|
24
27
|
})
|
|
25
28
|
.every((predicate) => predicate(target));
|
|
26
29
|
const naturalNumber = (n) => Number(n || 0);
|
|
27
|
-
//# sourceMappingURL=
|
|
30
|
+
//# sourceMappingURL=shouldRenderBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shouldRenderBlock.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseFiltration/shouldRenderBlock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,oBAAoB,GACxB,CAAsD,GAAW,EAAE,OAAU,EAAE,EAAE,CACjF,CAAC,MAAS,EAAE,EAAE,CACZ,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,OAAO,CAAC,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,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB,OAAO,CAAC,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,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB,OAAO,CAAC,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,OAAO,CAAC,OAAO,CAAC,GAAG,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C,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;AAE7C,MAAM,aAAa,GAAG,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -14,8 +14,5 @@ const getIconVersion = (icon, version = 'secondary') => {
|
|
|
14
14
|
const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
|
|
15
15
|
return icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
|
|
16
16
|
};
|
|
17
|
-
const renderButtonIcon = (icon) => {
|
|
18
|
-
console.log(icon);
|
|
19
|
-
return icon?.icon || icon?.src ? (_jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
|
|
20
|
-
};
|
|
17
|
+
const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (_jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
|
|
21
18
|
//# sourceMappingURL=renderButtonsSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAAuC,EACvC,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAA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IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
-
import { useBool } from '
|
|
4
|
+
import { useBool } from '@redneckz/uni-jsx/lib/hooks/useBool';
|
|
5
|
+
import { useDebouncedEffect } from '@redneckz/uni-jsx/lib/hooks/useDebouncedEffect';
|
|
5
6
|
import { style } from '../../utils/style.js';
|
|
6
|
-
import { useDebouncedEffect } from '../../utils/useDebouncedEffect.js';
|
|
7
7
|
import { CloseButton } from '../DialogManager/CloseButton.js';
|
|
8
8
|
import { LinkWrapper } from '../LinkWrapper/LinkWrapper.js';
|
|
9
9
|
import { Paragraph } from '../Paragraph/Paragraph.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookiePopup.js","sourceRoot":"","sources":["../../../src/ui-kit/CookiePopup/CookiePopup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CookiePopup.js","sourceRoot":"","sources":["../../../src/ui-kit/CookiePopup/CookiePopup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDA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AGd,KAAC,WAAW,IACV,QAAQ,QACR,SAAS,EAAE,gBAAgB,CAAC,sBAAsB,EAAE,IAAI,CAAC,KACrD,sBAAsB,oNAGd,2gBAGJ,GACR,EACN,cAAK,SAAS,EAAC,oCAAoC,YACjD,KAAC,WAAW,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,KAAK,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useCallback, useEffect } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
+
import { useEventListener } from '@redneckz/uni-jsx/lib/hooks/useEventListener';
|
|
4
5
|
import { style } from '../../utils/style.js';
|
|
5
6
|
import { useDialogManager } from './useDialogManager.js';
|
|
6
7
|
import { useDialogsList } from './useDialogsList.js';
|
|
@@ -15,17 +16,12 @@ export const DialogManager = JSX(() => {
|
|
|
15
16
|
}, []);
|
|
16
17
|
const dialogs = useDialogsList({ onCloseAll: handleCloseAll, onClose: handleClose });
|
|
17
18
|
const { close } = useDialogManager();
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
globalThis.document?.addEventListener('keydown', handleEscape);
|
|
25
|
-
return () => {
|
|
26
|
-
globalThis.document?.removeEventListener('keydown', handleEscape);
|
|
27
|
-
};
|
|
28
|
-
}, [close]);
|
|
19
|
+
const escapeHandler = useCallback(({ key }) => {
|
|
20
|
+
if (key === 'Escape') {
|
|
21
|
+
close();
|
|
22
|
+
}
|
|
23
|
+
}, []);
|
|
24
|
+
useEventListener(globalThis.document, 'keydown', escapeHandler);
|
|
29
25
|
useEffect(() => {
|
|
30
26
|
if (dialogs.length) {
|
|
31
27
|
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,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAC,GAAG,EAAE;IACpC,MAAM,cAAc,GAAG,WAAW,CAAC,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,WAAW,CAAC,CAAC,CAAmB,EAAE,EAAE;QACtD,CAAC,EAAE,OAAO,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;IAC5B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,OAAO,GAAG,cAAc,CAAC,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAErF,MAAM,EAAE,KAAK,EAAE,GAAG,gBAAgB,EAAE,CAAC;IAErC,
|
|
1
|
+
{"version":3,"file":"DialogManager.js","sourceRoot":"","sources":["../../../src/ui-kit/DialogManager/DialogManager.tsx"],"names":[],"m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,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,cAAK,SAAS,EAAC,oBAAoB,EAAC,IAAI,EAAC,QAAQ,YAC9C,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAClC,cAEE,SAAS,EAAE,KAAK,CACd,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,6 +1,6 @@
|
|
|
1
1
|
import { useCallback, useEffect } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
+
import { useList } from '@redneckz/uni-jsx/lib/hooks/useList';
|
|
2
3
|
import { defaultEventBus } from '../../EventBus/defaultEventBus.js';
|
|
3
|
-
import { useList } from '../../hooks/useList.js';
|
|
4
4
|
import { assertUnreachable } from '../../utils/assertUnreachable.js';
|
|
5
5
|
export const useDialogsList = ({ onCloseAll, onClose, } = {}) => {
|
|
6
6
|
const [dialogs, { push, pop, clear }] = useList();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDialogsList.js","sourceRoot":"","sources":["../../../src/ui-kit/DialogManager/useDialogsList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useDialogsList.js","sourceRoot":"","sources":["../../../src/ui-kit/DialogManager/useDialogsList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAQlE,MAAM,CAAC,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,OAAO,EAAoB,CAAC;IAEpE,MAAM,QAAQ,GAAG,WAAW,CAAC,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,WAAW,CAAC,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,SAAS,CACP,GAAG,EAAE,CACH,eAAe,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,iBAAiB,CAAC,MAAM,CAAC,CAAC;SAC7B;IACH,CAAC,CAAC,EACJ,CAAC,QAAQ,EAAE,KAAK,CAAC,CAClB,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { style } from '../../utils/style.js';
|
|
4
4
|
import { Img } from '../Img/Img.js';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
});
|
|
5
|
+
import { TextWithIcon } from '../TextWithIcon/TextWithIcon.js';
|
|
6
|
+
export const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => (_jsx(TextWithIcon, { tag: "button", onClick: onClick, disabled: disabled, "data-theme": dataTheme, justifyContent: "center", className: style('py-4 border border-transparent outline-none focus:border-primary-text', disabled
|
|
7
|
+
? 'bg-main-divider text-main-disabled hover:bg-main-divider'
|
|
8
|
+
: 'bg-primary-main text-white hover:bg-primary-hove', className), textNode: _jsx("span", { className: "text-h4 pr-s", children: label }), iconNode: icon ? (_jsx(Img, { image: {
|
|
9
|
+
icon,
|
|
10
|
+
iconVersion: 'white',
|
|
11
|
+
}, className: "my-auto", width: "20", height: "20" })) : null })));
|
|
13
12
|
export const renderDefaultFoldButton = ({ isUnfolded, onToggle }) => {
|
|
14
13
|
const labels = ['Развернуть', 'Скрыть'];
|
|
15
14
|
const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultFoldButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/DefaultFoldButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultFoldButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/DefaultFoldButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAW5D,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC9E,KAAC,YAAY,IACX,GAAG,EAAC,QAAQ,EACZ,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,gBACN,SAAS,EACrB,cAAc,EAAC,QAAQ,EACvB,SAAS,EAAE,KAAK,CACd,uEAAuE,EACvE,QAAQ;QACN,CAAC,CAAC,0DAA0D;QAC5D,CAAC,CAAC,kDAAkD,EACtD,SAAS,CACV,EACD,QAAQ,EAAE,eAAM,SAAS,EAAC,cAAc,YAAE,KAAK,GAAQ,EACvD,QAAQ,EACN,IAAI,CAAC,CAAC,CAAC,CACL,KAAC,GAAG,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;AAEF,MAAM,CAAC,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,KAAC,iBAAiB,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"}
|
|
@@ -12,6 +12,6 @@ export const InnerTable = JSX(({ dataUrl, pdfUrl, onClick }) => {
|
|
|
12
12
|
const handleActiveTabIndex = useCallback((_) => setActiveTabIndex(_), []);
|
|
13
13
|
const items = tableData?.[activeTabIndex]?.items ?? [];
|
|
14
14
|
const currencies = tableData?.map((item) => item.currency ?? '');
|
|
15
|
-
return tableData ? (_jsxs("div", { className: "bg-white z-10", children: [_jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex, linkToPDF: pdfUrl }), _jsx(InnerTableBody, { activeTabIndex: activeTabIndex, items: items }), _jsx(TableInnerButton, { onClick: onClick, isOpen: true })] })) : (_jsxs("div", { className: "my-lg text-h6 text-center", children: [_jsx("p", { children: EMPTY_DATA }), _jsx(TableInnerButton, { onClick: onClick, isOpen: true })] }));
|
|
15
|
+
return tableData ? (_jsxs("div", { className: "bg-white z-10", children: [_jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex, linkToPDF: pdfUrl }), _jsx(InnerTableBody, { activeTabIndex: activeTabIndex, items: items }), _jsx(TableInnerButton, { className: "mt-xl", onClick: onClick, isOpen: true })] })) : (_jsxs("div", { className: "my-lg space-y-m text-h6 text-center", children: [_jsx("p", { children: EMPTY_DATA }), _jsx(TableInnerButton, { onClick: onClick, isOpen: true })] }));
|
|
16
16
|
});
|
|
17
17
|
//# sourceMappingURL=InnerTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTable.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAMtE,MAAM,UAAU,GAAG,YAAY,CAAC;AAEhC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9E,MAAM,EAAE,SAAS,EAAE,GAAmB,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACxE,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACxD,MAAM,oBAAoB,GAAG,WAAW,CAAC,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;I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AE,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,eAAK,SAAS,EAAC,eAAe,aAC5B,KAAC,gBAAgB,IACf,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,oBAAoB,EACvC,SAAS,EAAE,MAAM,GACjB,EACF,KAAC,cAAc,IAAC,cAAc,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,GAAI,EAChE,KAAC,gBAAgB,IAAC,SAAS,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAG,IAC3D,CACP,CAAC,CAAC,CAAC,CACF,eAAK,SAAS,EAAC,qCAAqC,aAClD,sBAAI,UAAU,GAAK,EACnB,KAAC,gBAAgB,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAG,IACzC,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
4
|
-
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
5
|
-
import { Img } from '../Img/Img.js';
|
|
6
4
|
import { InnerTableBodyItem } from './InnerTableBodyItem.js';
|
|
7
5
|
export const InnerTableBody = JSX(({ activeTabIndex, items }) => {
|
|
8
|
-
const [hiddenTables, setHiddenTables] = useState({});
|
|
9
|
-
const toggleTables = useCallback((key) => setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] })), []);
|
|
10
6
|
return (_jsx("div", { children: items.map((_, tableIdx) => {
|
|
11
7
|
const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
|
|
12
|
-
return (_jsxs("div", { className: "w-full", children: [
|
|
8
|
+
return (_jsxs("div", { className: "w-full @container", children: [_jsx("div", { className: "flex p-m bg-white @4xl:bg-gray text-center justify-center relative", children: _jsx(Text, { size: "text-xl", font: "font-light", children: _.title }) }), _jsx("div", { className: "w-full pl-xs overflow-hidden transition-height duration-500 ease-in-out", children: _jsx("div", { className: "relative", children: _jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
|
|
13
9
|
}) }));
|
|
14
10
|
});
|
|
15
11
|
//# sourceMappingURL=InnerTableBody.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableBody.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"InnerTableBody.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ1D,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAsB,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,wBACG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE;YACzB,MAAM,GAAG,GAAG,gBAAgB,cAAc,aAAa,QAAQ,EAAE,CAAC;YAElE,OAAO,CACL,eAAe,SAAS,EAAC,mBAAmB,aAC1C,cAAK,SAAS,EAAC,oEAAoE,YACjF,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,YAAY,YACnC,CAAC,CAAC,KAAK,GACH,GACH,EACN,cAAK,SAAS,EAAC,yEAAyE,YACtF,cAAK,SAAS,EAAC,UAAU,YACvB,KAAC,kBAAkB,IAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,GAAI,GACpC,GACF,KAVE,GAAG,CAWP,CACP,CAAC;QACJ,CAAC,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,35 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const COLUMN_WIDTH = 140;
|
|
7
|
-
export const InnerTableBodyItem = JSX(({ rows }) => {
|
|
8
|
-
const rowsLength = rows?.[0]?.length ?? 0;
|
|
9
|
-
const CARD_VIEW_COUNT = 5;
|
|
10
|
-
const [activeIndex, controls] = useCarouselControls({
|
|
11
|
-
itemCount: rowsLength,
|
|
12
|
-
visibleItemCount: CARD_VIEW_COUNT,
|
|
13
|
-
});
|
|
14
|
-
return (_jsxs("div", { children: [rows?.map(renderRow(activeIndex)), renderArrows({
|
|
15
|
-
...controls,
|
|
16
|
-
btnClass: ['left-3 top-20', 'right-3 top-20'],
|
|
17
|
-
className: '',
|
|
18
|
-
})] }));
|
|
19
|
-
});
|
|
20
|
-
const renderRow = (activeColumnIndex) => (rowData, rowIdx) => {
|
|
21
|
-
if (!rowData?.length) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
const [headerColumn, ...columns] = rowData;
|
|
25
|
-
const transform = [...Array(activeColumnIndex).keys()].reduce((res, i) => (columns?.[i]?.cols?.length ?? 1) * COLUMN_WIDTH + res, 0);
|
|
26
|
-
const columnsClassName = [
|
|
27
|
-
'flex duration-1000 text-center',
|
|
28
|
-
rowIdx !== 0 ? 'font-normal' : 'font-light',
|
|
29
|
-
].join(' ');
|
|
30
|
-
return (_jsxs("div", { className: "flex border-main-divider border border-t-0 border-x-0 border-solid", children: [headerColumn?.data ? (_jsx("div", { className: `text-xl font-light w-52 py-lg `, children: headerColumn.data })) : null, _jsx("div", { className: "flex flex-grow overflow-hidden", children: _jsx("div", { className: columnsClassName, style: {
|
|
31
|
-
transform: `translateX(-${transform}px)`,
|
|
32
|
-
}, children: columns?.map((_, i) => (_jsxs("div", { className: "flex flex-col flex-grow gap-s justify-center py-xl odd:bg-main-divider", children: [_?.data ? _jsx("div", { className: "text-xl font-light", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
|
|
33
|
-
};
|
|
34
|
-
const renderCols = (cols, rowIndex) => cols?.length > 0 ? (_jsx("div", { className: style('flex', rowIndex === 0 ? 'text-secondary-text' : ''), children: cols.map((data, i) => (_jsx("div", { className: `w-20 text-h6 mx-lg`, children: data }, String(i)))) })) : null;
|
|
3
|
+
import { SwipeListContainer } from '../SwipeListControl/SwipeListContainer.js';
|
|
4
|
+
import { renderInnerTableRow } from './renderInnerTableRow.js';
|
|
5
|
+
export const InnerTableBodyItem = JSX(({ rows }) => (_jsx(SwipeListContainer, { visibleItemCount: 0, snapAlign: "snap-start", children: _jsx("div", { children: rows?.map(renderInnerTableRow(0)) }) })));
|
|
35
6
|
//# sourceMappingURL=InnerTableBodyItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableBodyItem.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBodyItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"InnerTableBodyItem.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBodyItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAM5D,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAA0B,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC3E,KAAC,kBAAkB,IAAC,gBAAgB,EAAE,CAAC,EAAE,SAAS,EAAC,YAAY,YAC7D,wBAAM,IAAI,EAAE,GAAG,CAAC,mBAAmB,CAAC,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>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Img } from '../Img/Img.js';
|
|
3
4
|
import { Button } from '../Button/Button.js';
|
|
4
|
-
|
|
5
|
-
export const TableInnerButton = JSX(({ isOpen, onClick }) => {
|
|
6
|
-
return (_jsxs(Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-lg", children: [_jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать' }), _jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-s", iconVersion: "white", width: "20", height: "20" })] }));
|
|
7
|
-
});
|
|
5
|
+
export const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (_jsx(Button, { className: className, appendRight: _jsx(Img, { image: { icon: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon' }, width: "20", height: "20" }), text: isOpen ? 'Скрыть' : 'Показать', version: "gray", onClick: onClick })));
|
|
8
6
|
//# sourceMappingURL=InnerTableButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAU1C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACvC,KAAC,MAAM,IACL,SAAS,EAAE,SAAS,EACpB,WAAW,EACT,KAAC,GAAG,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"}
|
|
@@ -2,5 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { Button } from '../Button/Button.js';
|
|
4
4
|
import { Icon } from '../Icon/Icon.js';
|
|
5
|
-
|
|
5
|
+
import { linkButtonVersion } from './linkButtonVersion.js';
|
|
6
|
+
export const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (_jsxs("div", { className: "flex justify-between items-center w-full py-lg", children: [currencies && currencies.length > 1 ? (_jsx("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => (_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 ? (_jsx(Button, { className: "text-primary-main", href: linkToPDF, version: linkButtonVersion, target: "_blank", appendLeft: _jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
|
|
6
7
|
//# sourceMappingURL=InnerTableHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableHeader.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM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EJ,IAAI,EAAC,uDAAe,GACpB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CACF,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { sum } from '../../utils/sum.js';
|
|
2
|
+
const COLUMN_WIDTH = 140;
|
|
3
|
+
export const getHorizontalShift = (columns, activeColumnIndex) => sum(columns.slice(0, activeColumnIndex).map((_) => _?.cols?.length ?? 1)) * COLUMN_WIDTH;
|
|
4
|
+
//# sourceMappingURL=getHorizontalShift.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getHorizontalShift.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/getHorizontalShift.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAEtC,MAAM,YAAY,GAAG,GAAG,CAAC;AAEzB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,OAAmB,EAAE,iBAAyB,EAAE,EAAE,CACnF,GAAG,CAAC,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const linkButtonVersion = "link";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkButtonVersion.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/linkButtonVersion.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { style } from '../../utils/style.js';
|
|
3
|
+
import { getHorizontalShift } from './getHorizontalShift.js';
|
|
4
|
+
export const renderInnerTableRow = (activeColumnIndex) => (rowData, rowIdx) => {
|
|
5
|
+
if (!rowData?.length) {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
const [headerColumn, ...columns] = rowData;
|
|
9
|
+
const columnsStyle = style('flex duration-1000 text-center', rowIdx !== 0 ? 'font-normal' : 'font-light');
|
|
10
|
+
return (_jsxs("div", { className: "flex border-main-divider border-b border-solid h-full", children: [headerColumn?.data ? (_jsx("div", { className: "text-xl font-light min-w-56 py-lg", children: headerColumn.data })) : null, _jsx("div", { className: "flex flex-grow overflow-hidden", children: _jsx("div", { className: columnsStyle, style: {
|
|
11
|
+
transform: `translateX(-${getHorizontalShift(columns, activeColumnIndex)}px)`,
|
|
12
|
+
}, children: columns?.map((_, i) => (_jsxs("div", { className: "flex flex-col flex-grow gap-s justify-center py-xl odd:bg-main-divider", children: [_?.data ? _jsx("div", { className: "text-xl font-light", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
|
|
13
|
+
};
|
|
14
|
+
const renderCols = (cols, rowIndex) => cols?.length > 0 ? (_jsx("div", { className: style('flex', rowIndex === 0 ? 'text-secondary-text' : ''), children: cols.map((data, i) => (_jsx("div", { className: "w-20 text-h6 mx-lg", children: data }, String(i)))) })) : null;
|
|
15
|
+
//# sourceMappingURL=renderInnerTableRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderInnerTableRow.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/renderInnerTableRow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,MAAM,mBAAmB,GAC9B,CAAC,iBAAyB,EAAE,EAAE,CAAC,CAAC,OAAmB,EAAE,MAAc,EAAE,EAAE;IACrE,IAAI,CAAC,OAAO,EAAE,MAA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,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC,YACvE,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACrB,cAAqB,SAAS,EAAC,oBAAoB,YAChD,IAAI,IADG,MAAM,CAAC,CAAC,CAAC,CAEb,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -3,16 +3,16 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
4
|
import { useLocation } from '../../hooks/useLocation.js';
|
|
5
5
|
import { useRegions } from '../../hooks/useRegions.js';
|
|
6
|
-
import { jaroWinklerDistance } from '../../services/search/jaroWinklerDistance.js';
|
|
7
6
|
import { useSitemap } from '../../services/sitemap/useSitemap.js';
|
|
8
7
|
import { groupBy } from '../../utils/groupBy.js';
|
|
8
|
+
import { jaroWinklerDistance } from '../../utils/jaroWinklerDistance.js';
|
|
9
9
|
import { Dialog } from '../DialogManager/Dialog.js';
|
|
10
10
|
import { useDialogManager } from '../DialogManager/useDialogManager.js';
|
|
11
11
|
import { Text } from '../Text/Text.js';
|
|
12
|
+
import { SearchBar } from './SearchBar.js';
|
|
12
13
|
import { renderForeignOffices } from './renderForeignOffices.js';
|
|
13
14
|
import { renderRegion } from './renderRegion.js';
|
|
14
15
|
import { renderRegionGroup } from './renderRegionGroup.js';
|
|
15
|
-
import { SearchBar } from './SearchBar.js';
|
|
16
16
|
const SEARCH_TERM_MIN_LENGTH = 3;
|
|
17
17
|
export const LocationDialog = JSX(() => {
|
|
18
18
|
const { defaultLocation, foreignOffices } = useSitemap();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationDialog.js","sourceRoot":"","sources":["../../../src/ui-kit/LocationDialog/LocationDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAA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,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,IAAI,GAAG,CAC9E;qBACA,GAAG,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC,GACtC,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,wBAAwB,YACpC,KAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAAC,GACpF,CACP,EACA,oBAAoB,CAAC,cAAc,CAAC,IAC9B,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AAE3E,MAAM,cAAc,GAAG,CAAC,OAAiB,EAAE,EAAE,CAC3C,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACvB,GAAG,MAAM;IACT,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE;CAC1E,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { VNode } from '../../model/VNode';
|
|
2
|
+
export declare type PopupAction = PopupOpenAction | PopupCloseAction;
|
|
3
|
+
export interface PopupOptions {
|
|
4
|
+
top: number;
|
|
5
|
+
left: number;
|
|
6
|
+
width?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface PopupOpenAction extends PopupOptions {
|
|
9
|
+
type: 'open' | 'update';
|
|
10
|
+
popup: VNode;
|
|
11
|
+
}
|
|
12
|
+
export interface PopupCloseAction {
|
|
13
|
+
type: 'close';
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopupAction.js","sourceRoot":"","sources":["../../../src/ui-kit/PopupManager/PopupAction.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
+
import { useEventListener } from '@redneckz/uni-jsx/lib/hooks/useEventListener';
|
|
5
|
+
import { defaultEventBus } from '../../EventBus/defaultEventBus.js';
|
|
6
|
+
import { assertUnreachable } from '../../utils/assertUnreachable.js';
|
|
7
|
+
export const PopupManager = JSX(() => {
|
|
8
|
+
const [popup, setPopup] = useState(null);
|
|
9
|
+
const close = useCallback(() => {
|
|
10
|
+
setPopup(null);
|
|
11
|
+
}, []);
|
|
12
|
+
useEffect(() => defaultEventBus.subscribe('popup', (action) => {
|
|
13
|
+
switch (action.type) {
|
|
14
|
+
case 'open':
|
|
15
|
+
case 'update':
|
|
16
|
+
setPopup(action);
|
|
17
|
+
break;
|
|
18
|
+
case 'close':
|
|
19
|
+
close();
|
|
20
|
+
break;
|
|
21
|
+
default:
|
|
22
|
+
assertUnreachable(action);
|
|
23
|
+
}
|
|
24
|
+
}), []);
|
|
25
|
+
const escapeHandler = useCallback(({ key }) => {
|
|
26
|
+
if (key === 'Escape') {
|
|
27
|
+
close();
|
|
28
|
+
}
|
|
29
|
+
}, [close]);
|
|
30
|
+
useEventListener(globalThis.document, 'keydown', escapeHandler);
|
|
31
|
+
return popup ? (_jsx("div", { className: "absolute z-50", style: {
|
|
32
|
+
left: `${popup.left}px`,
|
|
33
|
+
top: `${popup.top}px`,
|
|
34
|
+
...(popup.width ? { width: `${popup.width}px` } : {}),
|
|
35
|
+
}, role: "dialog", children: popup.popup })) : null;
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=PopupManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopupManager.js","sourceRoot":"","sources":["../../../src/ui-kit/PopupManager/P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,CAAC,CAAC,CACb,cACE,SAAS,EAAC,eAAe,EACzB,KAAK,EAAE;YACL,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,IAAI;YACvB,GAAG,EAAE,GAAG,KAAK,CAAC,GAAG,IAAI;YACrB,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACtD,EACD,IAAI,EAAC,QAAQ,YAEZ,KAAK,CAAC,KAAK,GACR,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { VNode } from '../../model/VNode';
|
|
2
|
+
import type { PopupOptions } from './PopupAction';
|
|
3
|
+
export declare const usePopupManager: () => {
|
|
4
|
+
open: (popup: VNode, options: PopupOptions) => void;
|
|
5
|
+
update: (popup: VNode, options: PopupOptions) => void;
|
|
6
|
+
close: () => void;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { defaultEventBus } from '../../EventBus/defaultEventBus.js';
|
|
2
|
+
export const usePopupManager = () => ({
|
|
3
|
+
open: (popup, options) => defaultEventBus.fire('popup', { type: 'open', popup, ...options }),
|
|
4
|
+
update: (popup, options) => defaultEventBus.fire('popup', { type: 'update', popup, ...options }),
|
|
5
|
+
close: () => defaultEventBus.fire('popup', { type: 'close' }),
|
|
6
|
+
});
|
|
7
|
+
//# sourceMappingURL=usePopupManager.js.map
|