@redneckz/wildless-cms-uni-blocks 0.16.3-isr → 0.16.4-credit
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.14.832.js +24 -0
- package/bin/migration-scripts/0.14.850.js +70 -0
- package/bundle/UniBlock/UniBlockProps.d.ts +2 -2
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +924 -1534
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/Footnote.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/bundle/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
- package/bundle/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/bundle/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
- package/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
- package/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
- package/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
- package/bundle/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
- package/bundle/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
- package/bundle/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/bundle/components/Carousel/renderCardHighlight.d.ts +3 -4
- package/bundle/components/ContentPage/ContentPage.d.ts +2 -2
- package/bundle/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/bundle/components/Footer/Contacts.d.ts +2 -2
- package/bundle/components/Footer/FooterLink.d.ts +2 -2
- package/bundle/components/Footer/LinkList.d.ts +2 -2
- package/bundle/components/Footer/SocialMedia.d.ts +2 -2
- package/bundle/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
- package/bundle/components/GalleryLayout/utils.d.ts +29 -0
- package/bundle/components/Header/DropdownMenu.d.ts +2 -2
- package/bundle/components/Header/HeaderChatBotButton.d.ts +2 -3
- package/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
- package/bundle/components/Header/HeaderSubMenuItem.d.ts +2 -2
- package/bundle/components/Header/HeaderTopMenu.d.ts +2 -2
- package/bundle/components/Header/HeaderTopMenuItem.d.ts +2 -2
- package/bundle/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
- package/bundle/components/OfficesAtmsMap/Badge.d.ts +2 -2
- package/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -3
- package/bundle/components/OfficesAtmsMap/CardRow.d.ts +2 -4
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/bundle/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/bundle/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/bundle/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
- package/bundle/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/bundle/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/bundle/components/TabsLayout/renderTabsLayout.d.ts +2 -2
- package/bundle/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/bundle/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +3 -69
- package/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/bundle/components/TariffsTable/renderCell.d.ts +2 -0
- package/bundle/components/TariffsTable/renderHeader.d.ts +2 -0
- package/bundle/data/CommonData.d.ts +4 -4
- package/bundle/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/bundle/hooks/useAspects/handleAspects.d.ts +1 -1
- package/bundle/hooks/useAspects/useAspects.d.ts +1 -1
- package/bundle/hooks/useForm/useForm.d.ts +1 -1
- package/bundle/model/CommonInputProps.d.ts +7 -0
- package/bundle/model/ComponentType.d.ts +4 -0
- package/bundle/model/ContentPageBase.d.ts +2 -3
- package/bundle/model/DefaultControlType.d.ts +5 -5
- package/bundle/model/DisabledProps.d.ts +3 -0
- package/bundle/model/LinkProps.d.ts +1 -1
- package/bundle/model/OnClickProps.d.ts +3 -0
- package/bundle/model/OnCloseProps.d.ts +3 -0
- package/bundle/model/Picture.d.ts +2 -2
- package/bundle/model/PlaceholderProps.d.ts +3 -0
- package/bundle/model/onClick.d.ts +3 -0
- package/bundle/model/onClose.d.ts +3 -0
- package/bundle/retail/api/getCardTypes.d.ts +2 -2
- package/bundle/retail/api/updateUserTask.d.ts +1 -1
- package/bundle/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/bundle/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/bundle/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/bundle/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/bundle/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/bundle/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/bundle/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/bundle/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
- package/bundle/retail/components/Fields/SelectField.d.ts +4 -4
- package/bundle/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/bundle/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
- package/bundle/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/bundle/retail/content.d.ts +2 -8
- package/bundle/retail/inputs.d.ts +1 -1
- package/bundle/retail/model/LeadFormData.d.ts +2 -2
- package/bundle/retail/model/LeadFormState.d.ts +4 -2
- package/bundle/retail/model/NameFieldDef.d.ts +1 -1
- package/bundle/retail/model/RetailFormContent.d.ts +2 -2
- package/bundle/retail/utils/getMainFormStateMap.d.ts +2 -0
- package/bundle/retail/utils/getOrganizationParams.d.ts +1 -1
- package/bundle/retail/validator/validators.d.ts +1 -0
- package/bundle/services/search/search.d.ts +2 -2
- package/bundle/services/search/textRank.d.ts +1 -1
- package/bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/bundle/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
- package/bundle/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
- package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
- package/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
- package/bundle/ui-kit/Button/Button.d.ts +3 -3
- package/bundle/ui-kit/Button/ButtonTitle.d.ts +2 -5
- package/bundle/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
- package/bundle/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
- package/bundle/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
- package/bundle/ui-kit/DatePicker/DatePicker.d.ts +4 -4
- package/bundle/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
- package/bundle/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
- package/bundle/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
- package/bundle/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
- package/bundle/ui-kit/DialogManager/CloseButton.d.ts +2 -2
- package/bundle/ui-kit/DialogManager/Dialog.d.ts +3 -3
- package/bundle/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/bundle/ui-kit/Foldable/Foldable.d.ts +2 -2
- package/bundle/ui-kit/Foldable/FoldableSection.d.ts +2 -2
- package/bundle/ui-kit/Heading/HeadingProps.d.ts +2 -3
- package/bundle/ui-kit/Icon/IconProps.d.ts +2 -2
- package/bundle/ui-kit/Img/ImgProps.d.ts +2 -2
- package/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
- package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/bundle/ui-kit/Input/InputProps.d.ts +4 -2
- package/bundle/ui-kit/Input/InputWrapper.d.ts +8 -0
- package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
- package/bundle/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
- package/bundle/ui-kit/Link/Link.d.ts +2 -2
- package/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
- package/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
- package/bundle/ui-kit/LinkButton/renderArrows.d.ts +3 -3
- package/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
- package/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
- package/bundle/ui-kit/ListControlProps.d.ts +1 -1
- package/bundle/ui-kit/Loader/Loader.d.ts +1 -1
- package/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/bundle/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
- package/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/bundle/ui-kit/Radio/RadioProps.d.ts +3 -4
- package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
- package/bundle/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/bundle/ui-kit/SVG.d.ts +2 -2
- package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/bundle/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
- package/bundle/ui-kit/Select/Option.d.ts +1 -1
- package/bundle/ui-kit/Select/Select.d.ts +1 -2
- package/bundle/ui-kit/Select/SelectPopup.d.ts +2 -3
- package/bundle/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/bundle/ui-kit/Shimmer/Shimmer.d.ts +2 -2
- package/bundle/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
- package/bundle/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
- package/bundle/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
- package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
- package/bundle/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
- package/bundle/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/bundle/ui-kit/Tags/Tags.d.ts +2 -2
- package/bundle/ui-kit/TimerCircle/Timer.d.ts +2 -2
- package/bundle/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/bundle/ui-kit/TopItem/TopItem.d.ts +3 -3
- package/bundle/ui-kit/YandexMap/YandexMap.d.ts +2 -2
- package/dist/UniBlock/UniBlockProps.d.ts +2 -2
- package/dist/components/ApplicationForm/Footnote.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +5 -10
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js +7 -0
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
- package/dist/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
- package/dist/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
- package/dist/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
- package/dist/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/applicationFormData.js +0 -1
- package/dist/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
- package/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/dist/components/ApplicationLeadForm/consents.js +0 -4
- package/dist/components/ApplicationLeadForm/consents.js.map +1 -1
- package/dist/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
- package/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +3 -3
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.js +4 -4
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/dist/components/Blocks.js +0 -26
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -20
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
- package/dist/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/dist/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
- package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
- package/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/dist/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
- package/dist/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +1 -8
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
- package/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/dist/components/Carousel/renderCardHighlight.d.ts +3 -4
- package/dist/components/Carousel/renderCardHighlight.js.map +1 -1
- package/dist/components/Carousel/renderCarouselCards.js +2 -2
- package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.d.ts +2 -2
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
- package/dist/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
- package/dist/components/CreditCardForm/creditCardFormStepsData.js +245 -3
- package/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/dist/components/CreditCardForm/formStateMap.js +2 -2
- package/dist/components/CreditCardForm/formStateMap.js.map +1 -1
- package/dist/components/CreditForm/CreditForm.js +1 -2
- package/dist/components/CreditForm/CreditForm.js.map +1 -1
- package/dist/components/CreditForm/SuccessStatusContent.js +1 -1
- package/dist/components/CreditForm/SuccessStatusContent.js.map +1 -1
- package/dist/components/CreditForm/creditFormStepsData.js +192 -3
- package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/dist/components/CreditForm/formStateMap.js +2 -2
- package/dist/components/CreditForm/formStateMap.js.map +1 -1
- package/dist/components/CreditForm/getCalcData.js +1 -1
- package/dist/components/CreditForm/getCalcData.js.map +1 -1
- package/dist/components/CreditForm/useCreditFormAPI.js +1 -1
- package/dist/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/dist/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/dist/components/DebitForm/DebitFormStepsData.js +71 -3
- package/dist/components/DebitForm/DebitFormStepsData.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +2 -2
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/FooterLink.d.ts +2 -2
- package/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/LinkList.d.ts +2 -2
- package/dist/components/Footer/LinkList.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/TextInformationLink.js +1 -1
- package/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/dist/components/GalleryLayout/GalleryLayout.js +13 -28
- package/dist/components/GalleryLayout/GalleryLayout.js.map +1 -1
- package/dist/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
- package/dist/components/GalleryLayout/useSortProductBlocks.js +21 -0
- package/dist/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
- package/dist/components/GalleryLayout/utils.d.ts +29 -0
- package/dist/components/GalleryLayout/utils.js +29 -0
- package/dist/components/GalleryLayout/utils.js.map +1 -0
- package/dist/components/Header/DropdownMenu.d.ts +2 -2
- package/dist/components/Header/DropdownMenu.js.map +1 -1
- package/dist/components/Header/HeaderChatBotButton.d.ts +2 -3
- package/dist/components/Header/HeaderChatBotButton.js +15 -4
- package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/dist/components/Header/HeaderSecondaryMenu.js +1 -2
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
- package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js +1 -1
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderSubMenuItem.d.ts +2 -2
- package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +1 -1
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Header/HeaderTopMenu.d.ts +2 -2
- package/dist/components/Header/HeaderTopMenu.js +1 -1
- package/dist/components/Header/HeaderTopMenu.js.map +1 -1
- package/dist/components/Header/HeaderTopMenuItem.d.ts +2 -2
- package/dist/components/Header/HeaderTopMenuItem.js.map +1 -1
- package/dist/components/Headline/Headline.js +1 -1
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
- package/dist/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
- package/dist/components/OfficesAtmsMap/Badge.d.ts +2 -2
- package/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -3
- package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/dist/components/OfficesAtmsMap/CardRow.d.ts +2 -4
- package/dist/components/OfficesAtmsMap/CardRow.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/dist/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/dist/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
- package/dist/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
- package/dist/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/dist/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
- package/dist/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/dist/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
- package/dist/components/TabsLayout/renderTabsLayout.d.ts +2 -2
- package/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
- package/dist/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/dist/components/TariffsTable/TableCarouselContainer.js +1 -1
- package/dist/components/TariffsTable/TableCarouselContainer.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +4 -11
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/dist/components/TariffsTable/TariffsTableCell.js +14 -4
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -69
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/dist/components/TariffsTable/TariffsTableRow.js +6 -10
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
- package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/dist/components/TariffsTable/TariffsTableWrapper.js +1 -9
- package/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/dist/components/TariffsTable/dataFixture.js +1 -14
- package/dist/components/TariffsTable/dataFixture.js.map +1 -1
- package/dist/components/TariffsTable/renderCell.d.ts +2 -0
- package/dist/components/TariffsTable/renderCell.js +15 -0
- package/dist/components/TariffsTable/renderCell.js.map +1 -0
- package/dist/components/TariffsTable/renderHeader.d.ts +2 -0
- package/dist/components/TariffsTable/renderHeader.js +10 -0
- package/dist/components/TariffsTable/renderHeader.js.map +1 -0
- package/dist/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
- package/dist/components/TariffsTable/renderInnerTableCell.js +1 -0
- package/dist/components/TariffsTable/renderInnerTableCell.js.map +1 -0
- package/dist/data/CommonData.d.ts +4 -4
- package/dist/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/dist/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/dist/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/dist/hooks/useAspects/handleAspects.d.ts +1 -1
- package/dist/hooks/useAspects/handleAspects.js +5 -2
- package/dist/hooks/useAspects/handleAspects.js.map +1 -1
- package/dist/hooks/useAspects/useAspects.d.ts +1 -1
- package/dist/hooks/useForm/useForm.d.ts +1 -1
- package/dist/hooks/useLink.js +2 -1
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/model/CommonInputProps.d.ts +7 -0
- package/dist/model/CommonInputProps.js +2 -0
- package/dist/model/CommonInputProps.js.map +1 -0
- package/dist/model/ComponentType.d.ts +4 -0
- package/dist/model/ComponentType.js +2 -0
- package/dist/model/ComponentType.js.map +1 -0
- package/dist/model/ContentPageBase.d.ts +2 -3
- package/dist/model/ControlProps.js.map +1 -0
- package/dist/model/DefaultControlType.d.ts +5 -5
- package/dist/model/DisabledProps.d.ts +3 -0
- package/dist/model/DisabledProps.js +2 -0
- package/dist/model/DisabledProps.js.map +1 -0
- package/dist/model/LinkProps.d.ts +1 -1
- package/dist/model/OnClickProps.d.ts +3 -0
- package/dist/model/OnClickProps.js +2 -0
- package/dist/model/OnClickProps.js.map +1 -0
- package/dist/model/OnCloseProps.d.ts +3 -0
- package/dist/model/OnCloseProps.js +2 -0
- package/dist/model/OnCloseProps.js.map +1 -0
- package/dist/model/Picture.d.ts +2 -2
- package/dist/model/PlaceholderProps.d.ts +3 -0
- package/dist/model/PlaceholderProps.js +2 -0
- package/dist/model/PlaceholderProps.js.map +1 -0
- package/dist/model/onClick.d.ts +3 -0
- package/dist/model/onClick.js +2 -0
- package/dist/model/onClick.js.map +1 -0
- package/dist/model/onClose.d.ts +3 -0
- package/dist/model/onClose.js +2 -0
- package/dist/model/onClose.js.map +1 -0
- package/dist/retail/adaptors/getCreditFormTaskData.js +0 -3
- package/dist/retail/adaptors/getCreditFormTaskData.js.map +1 -1
- package/dist/retail/adaptors/getEmploymentData.js +3 -3
- package/dist/retail/adaptors/getEmploymentData.js.map +1 -1
- package/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
- package/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/dist/retail/adaptors/getPersonalInfoData.js +4 -2
- package/dist/retail/adaptors/getPersonalInfoData.js.map +1 -1
- package/dist/retail/api/getCardTypes.d.ts +2 -2
- package/dist/retail/api/getCardTypes.js.map +1 -1
- package/dist/retail/api/updateUserTask.d.ts +1 -1
- package/dist/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
- package/dist/retail/components/DaDataInputControl/DaDataInputControl.js +3 -18
- package/dist/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
- package/dist/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/dist/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/dist/retail/components/DraftDialog/DraftActionButton.js +1 -1
- package/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/dist/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
- package/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/dist/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/dist/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
- package/dist/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/dist/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
- package/dist/retail/components/Fields/BeginDateField.js +1 -1
- package/dist/retail/components/Fields/BeginDateField.js.map +1 -1
- package/dist/retail/components/Fields/DaDataInnField.js +10 -3
- package/dist/retail/components/Fields/DaDataInnField.js.map +1 -1
- package/dist/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
- package/dist/retail/components/Fields/InitiateBankruptcyFlgField.js +7 -0
- package/dist/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
- package/dist/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
- package/dist/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
- package/dist/retail/components/Fields/RegionRetailField.js +8 -3
- package/dist/retail/components/Fields/RegionRetailField.js.map +1 -1
- package/dist/retail/components/Fields/SelectField.d.ts +4 -4
- package/dist/retail/components/Fields/SelectField.js.map +1 -1
- package/dist/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/dist/retail/components/FormStatus/FormStatus.js.map +1 -1
- package/dist/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
- package/dist/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
- package/dist/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
- package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
- package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/dist/retail/content.d.ts +2 -8
- package/dist/retail/content.js +3 -351
- package/dist/retail/content.js.map +1 -1
- package/dist/retail/inputs.d.ts +1 -1
- package/dist/retail/inputs.js +2 -1
- package/dist/retail/inputs.js.map +1 -1
- package/dist/retail/model/LeadFormData.d.ts +2 -2
- package/dist/retail/model/LeadFormState.d.ts +4 -2
- package/dist/retail/model/NameFieldDef.d.ts +1 -1
- package/dist/retail/model/RetailFormContent.d.ts +2 -2
- package/dist/retail/utils/calculateInputs.js +2 -0
- package/dist/retail/utils/calculateInputs.js.map +1 -1
- package/dist/retail/utils/getMainFormStateMap.d.ts +2 -0
- package/dist/retail/utils/getMainFormStateMap.js +70 -0
- package/dist/retail/utils/getMainFormStateMap.js.map +1 -0
- package/dist/retail/utils/getOrganizationParams.d.ts +1 -1
- package/dist/retail/utils/getOrganizationParams.js.map +1 -1
- package/dist/retail/utils/renderStep.js +7 -1
- package/dist/retail/utils/renderStep.js.map +1 -1
- package/dist/retail/validator/validatorObj.js +2 -2
- package/dist/retail/validator/validatorObj.js.map +1 -1
- package/dist/retail/validator/validators.d.ts +1 -0
- package/dist/retail/validator/validators.js +3 -1
- package/dist/retail/validator/validators.js.map +1 -1
- package/dist/services/search/search.d.ts +2 -2
- package/dist/services/search/search.js.map +1 -1
- package/dist/services/search/textRank.d.ts +1 -1
- package/dist/services/search/textRank.js.map +1 -1
- package/dist/services/search/useSearch.js +8 -5
- package/dist/services/search/useSearch.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/dist/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
- package/dist/ui-kit/BaseTile/BaseTile.js +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
- package/dist/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
- package/dist/ui-kit/Button/Button.d.ts +3 -3
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/ButtonTitle.d.ts +2 -5
- package/dist/ui-kit/Button/ButtonTitle.js.map +1 -1
- package/dist/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
- package/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
- package/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/dist/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/dist/ui-kit/Calculator/UnknownRate.js.map +1 -1
- package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
- package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/dist/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/dist/ui-kit/Calculator/renderRate.js.map +1 -1
- package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
- package/dist/ui-kit/DatePicker/DatePicker.d.ts +4 -4
- package/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/dist/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
- package/dist/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
- package/dist/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
- package/dist/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
- package/dist/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
- package/dist/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
- package/dist/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
- package/dist/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
- package/dist/ui-kit/DialogManager/CloseButton.d.ts +2 -2
- package/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
- package/dist/ui-kit/DialogManager/Dialog.d.ts +3 -3
- package/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/dist/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/dist/ui-kit/DialogManager/useDialog.js.map +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.d.ts +2 -2
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Foldable/FoldableSection.d.ts +2 -2
- package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/dist/ui-kit/FormField/getObjectValidator.js +1 -1
- package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/dist/ui-kit/Heading/HeadingProps.d.ts +2 -3
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +2 -2
- package/dist/ui-kit/Img/ImgProps.d.ts +2 -2
- package/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/dist/ui-kit/InnerTable/InnerTable.js +2 -3
- package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js +4 -6
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/dist/ui-kit/Input/InputControl.js +3 -19
- package/dist/ui-kit/Input/InputControl.js.map +1 -1
- package/dist/ui-kit/Input/InputProps.d.ts +4 -2
- package/dist/ui-kit/Input/InputWrapper.d.ts +8 -0
- package/dist/ui-kit/Input/InputWrapper.js +25 -0
- package/dist/ui-kit/Input/InputWrapper.js.map +1 -0
- package/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
- package/dist/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
- package/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
- package/dist/ui-kit/Link/Link.d.ts +2 -2
- package/dist/ui-kit/Link/Link.js.map +1 -1
- package/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
- package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
- package/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
- package/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
- package/dist/ui-kit/LinkButton/renderArrows.d.ts +3 -3
- package/dist/ui-kit/LinkButton/renderArrows.js.map +1 -1
- package/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
- package/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
- package/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/dist/ui-kit/ListControlProps.d.ts +1 -1
- package/dist/ui-kit/Loader/Loader.d.ts +1 -1
- package/dist/ui-kit/Loader/Loader.js.map +1 -1
- package/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
- package/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
- package/dist/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
- package/dist/ui-kit/Radio/RadioProps.d.ts +3 -4
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/dist/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/dist/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
- package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
- package/dist/ui-kit/SVG.d.ts +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
- package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/dist/ui-kit/Select/Option.d.ts +1 -1
- package/dist/ui-kit/Select/Select.d.ts +1 -2
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/Select/SelectPopup.d.ts +2 -3
- package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/dist/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/dist/ui-kit/Shimmer/Shimmer.d.ts +2 -2
- package/dist/ui-kit/Shimmer/Shimmer.js.map +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
- package/dist/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
- package/dist/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
- package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
- package/dist/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
- package/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
- package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
- package/dist/ui-kit/TabsControl/TabItem.js +3 -2
- package/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
- package/dist/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
- package/dist/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/dist/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
- package/dist/ui-kit/Tags/Tags.d.ts +2 -2
- package/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/dist/ui-kit/TimerCircle/Timer.d.ts +2 -2
- package/dist/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/dist/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
- package/dist/ui-kit/TopItem/TopItem.d.ts +3 -3
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/dist/ui-kit/YandexMap/YandexMap.d.ts +2 -2
- package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/dist/utils/adjustBase.js +4 -1
- package/dist/utils/adjustBase.js.map +1 -1
- package/dist/utils/isCyrilic.js +1 -1
- package/dist/utils/isCyrilic.js.map +1 -1
- package/lib/UniBlock/UniBlockProps.d.ts +2 -2
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/Footnote.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -7
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js +6 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
- package/lib/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
- package/lib/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
- package/lib/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
- package/lib/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/applicationFormData.js +0 -1
- package/lib/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
- package/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/lib/components/ApplicationLeadForm/consents.js +0 -4
- package/lib/components/ApplicationLeadForm/consents.js.map +1 -1
- package/lib/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
- package/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +3 -3
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.js +1 -1
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/lib/components/Blocks.js +0 -26
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -20
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
- package/lib/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/lib/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
- package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
- package/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/lib/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
- package/lib/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +1 -8
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
- package/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +0 -2
- package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +0 -1
- package/lib/components/Carousel/renderCardHighlight.d.ts +3 -4
- package/lib/components/Carousel/renderCardHighlight.js.map +1 -1
- package/lib/components/Carousel/renderCarouselCards.js +2 -2
- package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.d.ts +2 -2
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
- package/lib/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
- package/lib/components/CreditCardForm/creditCardFormStepsData.js +244 -2
- package/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/lib/components/CreditCardForm/formStateMap.js +2 -2
- package/lib/components/CreditCardForm/formStateMap.js.map +1 -1
- package/lib/components/CreditForm/CreditForm.js +1 -2
- package/lib/components/CreditForm/CreditForm.js.map +1 -1
- package/lib/components/CreditForm/SuccessStatusContent.js +1 -1
- package/lib/components/CreditForm/SuccessStatusContent.js.map +1 -1
- package/lib/components/CreditForm/creditFormStepsData.js +191 -2
- package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/lib/components/CreditForm/formStateMap.js +2 -2
- package/lib/components/CreditForm/formStateMap.js.map +1 -1
- package/lib/components/CreditForm/getCalcData.js +1 -1
- package/lib/components/CreditForm/getCalcData.js.map +1 -1
- package/lib/components/CreditForm/useCreditFormAPI.js +1 -1
- package/lib/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/lib/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/lib/components/DebitForm/DebitFormStepsData.js +70 -2
- package/lib/components/DebitForm/DebitFormStepsData.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +2 -2
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/FooterLink.d.ts +2 -2
- package/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/LinkList.d.ts +2 -2
- package/lib/components/Footer/LinkList.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/TextInformationLink.js +1 -1
- package/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/lib/components/GalleryLayout/GalleryLayout.js +12 -27
- package/lib/components/GalleryLayout/GalleryLayout.js.map +1 -1
- package/lib/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
- package/lib/components/GalleryLayout/useSortProductBlocks.js +18 -0
- package/lib/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
- package/lib/components/GalleryLayout/utils.d.ts +29 -0
- package/lib/components/GalleryLayout/utils.js +25 -0
- package/lib/components/GalleryLayout/utils.js.map +1 -0
- package/lib/components/Header/DropdownMenu.d.ts +2 -2
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/HeaderChatBotButton.d.ts +2 -3
- package/lib/components/Header/HeaderChatBotButton.js +15 -4
- package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/lib/components/Header/HeaderSecondaryMenu.js +1 -2
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
- package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js +1 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderSubMenuItem.d.ts +2 -2
- package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +1 -1
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Header/HeaderTopMenu.d.ts +2 -2
- package/lib/components/Header/HeaderTopMenu.js +1 -1
- package/lib/components/Header/HeaderTopMenu.js.map +1 -1
- package/lib/components/Header/HeaderTopMenuItem.d.ts +2 -2
- package/lib/components/Header/HeaderTopMenuItem.js.map +1 -1
- package/lib/components/Headline/Headline.js +1 -1
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
- package/lib/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
- package/lib/components/OfficesAtmsMap/Badge.d.ts +2 -2
- package/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -3
- package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/lib/components/OfficesAtmsMap/CardRow.d.ts +2 -4
- package/lib/components/OfficesAtmsMap/CardRow.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +4 -4
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/lib/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -2
- package/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/lib/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
- package/lib/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
- package/lib/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/lib/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
- package/lib/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/lib/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
- package/lib/components/TabsLayout/renderTabsLayout.d.ts +2 -2
- package/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
- package/lib/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/lib/components/TariffsTable/TableCarouselContainer.js +1 -1
- package/lib/components/TariffsTable/TableCarouselContainer.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +3 -1
- package/lib/components/TariffsTable/TariffsTable.js +4 -11
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/lib/components/TariffsTable/TariffsTableCell.js +14 -4
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -69
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/lib/components/TariffsTable/TariffsTableRow.js +6 -10
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -2
- package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/lib/components/TariffsTable/TariffsTableWrapper.js +2 -10
- package/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/lib/components/TariffsTable/dataFixture.js +1 -14
- package/lib/components/TariffsTable/dataFixture.js.map +1 -1
- package/lib/components/TariffsTable/renderCell.d.ts +2 -0
- package/lib/components/TariffsTable/renderCell.js +12 -0
- package/lib/components/TariffsTable/renderCell.js.map +1 -0
- package/lib/components/TariffsTable/renderHeader.d.ts +2 -0
- package/lib/components/TariffsTable/renderHeader.js +7 -0
- package/lib/components/TariffsTable/renderHeader.js.map +1 -0
- package/lib/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
- package/lib/components/TariffsTable/renderInnerTableCell.js +1 -0
- package/lib/components/TariffsTable/renderInnerTableCell.js.map +1 -0
- package/lib/data/CommonData.d.ts +4 -4
- package/lib/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/lib/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/lib/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/lib/hooks/useAspects/handleAspects.d.ts +1 -1
- package/lib/hooks/useAspects/handleAspects.js +5 -2
- package/lib/hooks/useAspects/handleAspects.js.map +1 -1
- package/lib/hooks/useAspects/useAspects.d.ts +1 -1
- package/lib/hooks/useForm/useForm.d.ts +1 -1
- package/lib/hooks/useLink.js +2 -1
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/model/CommonInputProps.d.ts +7 -0
- package/lib/model/CommonInputProps.js +2 -0
- package/lib/model/CommonInputProps.js.map +1 -0
- package/lib/model/ComponentType.d.ts +4 -0
- package/lib/model/ComponentType.js +2 -0
- package/lib/model/ComponentType.js.map +1 -0
- package/lib/model/ContentPageBase.d.ts +2 -3
- package/lib/model/ControlProps.js.map +1 -0
- package/lib/model/DefaultControlType.d.ts +5 -5
- package/lib/model/DisabledProps.d.ts +3 -0
- package/lib/model/DisabledProps.js +2 -0
- package/lib/model/DisabledProps.js.map +1 -0
- package/lib/model/LinkProps.d.ts +1 -1
- package/lib/model/OnClickProps.d.ts +3 -0
- package/lib/model/OnClickProps.js +2 -0
- package/lib/model/OnClickProps.js.map +1 -0
- package/lib/model/OnCloseProps.d.ts +3 -0
- package/lib/model/OnCloseProps.js +2 -0
- package/lib/model/OnCloseProps.js.map +1 -0
- package/lib/model/Picture.d.ts +2 -2
- package/lib/model/PlaceholderProps.d.ts +3 -0
- package/lib/model/PlaceholderProps.js +2 -0
- package/lib/model/PlaceholderProps.js.map +1 -0
- package/lib/model/onClick.d.ts +3 -0
- package/lib/model/onClick.js +2 -0
- package/lib/model/onClick.js.map +1 -0
- package/lib/model/onClose.d.ts +3 -0
- package/lib/model/onClose.js +2 -0
- package/lib/model/onClose.js.map +1 -0
- package/lib/retail/adaptors/getCreditFormTaskData.js +0 -3
- package/lib/retail/adaptors/getCreditFormTaskData.js.map +1 -1
- package/lib/retail/adaptors/getEmploymentData.js +3 -3
- package/lib/retail/adaptors/getEmploymentData.js.map +1 -1
- package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
- package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/lib/retail/adaptors/getPersonalInfoData.js +4 -2
- package/lib/retail/adaptors/getPersonalInfoData.js.map +1 -1
- package/lib/retail/api/getCardTypes.d.ts +2 -2
- package/lib/retail/api/getCardTypes.js.map +1 -1
- package/lib/retail/api/updateUserTask.d.ts +1 -1
- package/lib/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
- package/lib/retail/components/DaDataInputControl/DaDataInputControl.js +4 -19
- package/lib/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
- package/lib/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/lib/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/lib/retail/components/DraftDialog/DraftActionButton.js +1 -1
- package/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/lib/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
- package/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/lib/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/lib/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
- package/lib/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/lib/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
- package/lib/retail/components/DraftDialog/utils.d.ts +3 -3
- package/lib/retail/components/Fields/BeginDateField.js +1 -1
- package/lib/retail/components/Fields/BeginDateField.js.map +1 -1
- package/lib/retail/components/Fields/DaDataInnField.js +10 -3
- package/lib/retail/components/Fields/DaDataInnField.js.map +1 -1
- package/lib/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
- package/lib/retail/components/Fields/InitiateBankruptcyFlgField.js +5 -0
- package/lib/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
- package/lib/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
- package/lib/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
- package/lib/retail/components/Fields/RegionRetailField.js +8 -3
- package/lib/retail/components/Fields/RegionRetailField.js.map +1 -1
- package/lib/retail/components/Fields/SelectField.d.ts +4 -4
- package/lib/retail/components/Fields/SelectField.js.map +1 -1
- package/lib/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/lib/retail/components/FormStatus/FormStatus.js.map +1 -1
- package/lib/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
- package/lib/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
- package/lib/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
- package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
- package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/lib/retail/content.d.ts +2 -8
- package/lib/retail/content.js +2 -350
- package/lib/retail/content.js.map +1 -1
- package/lib/retail/inputs.d.ts +1 -1
- package/lib/retail/inputs.js +2 -1
- package/lib/retail/inputs.js.map +1 -1
- package/lib/retail/model/LeadFormData.d.ts +2 -2
- package/lib/retail/model/LeadFormState.d.ts +4 -2
- package/lib/retail/model/NameFieldDef.d.ts +1 -1
- package/lib/retail/model/RetailFormContent.d.ts +2 -2
- package/lib/retail/utils/calculateInputs.js +2 -0
- package/lib/retail/utils/calculateInputs.js.map +1 -1
- package/lib/retail/utils/getMainFormStateMap.d.ts +2 -0
- package/lib/retail/utils/getMainFormStateMap.js +67 -0
- package/lib/retail/utils/getMainFormStateMap.js.map +1 -0
- package/lib/retail/utils/getOrganizationParams.d.ts +1 -1
- package/lib/retail/utils/getOrganizationParams.js.map +1 -1
- package/lib/retail/utils/renderStep.js +8 -2
- package/lib/retail/utils/renderStep.js.map +1 -1
- package/lib/retail/validator/validatorObj.js +3 -3
- package/lib/retail/validator/validatorObj.js.map +1 -1
- package/lib/retail/validator/validators.d.ts +1 -0
- package/lib/retail/validator/validators.js +1 -0
- package/lib/retail/validator/validators.js.map +1 -1
- package/lib/services/search/search.d.ts +2 -2
- package/lib/services/search/search.js.map +1 -1
- package/lib/services/search/textRank.d.ts +1 -1
- package/lib/services/search/textRank.js.map +1 -1
- package/lib/services/search/useSearch.js +8 -5
- package/lib/services/search/useSearch.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/lib/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
- package/lib/ui-kit/BaseTile/BaseTile.js +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
- package/lib/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
- package/lib/ui-kit/Button/Button.d.ts +3 -3
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/ButtonTitle.d.ts +2 -5
- package/lib/ui-kit/Button/ButtonTitle.js.map +1 -1
- package/lib/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
- package/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
- package/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/lib/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/lib/ui-kit/Calculator/UnknownRate.js.map +1 -1
- package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
- package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/lib/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/lib/ui-kit/Calculator/renderRate.js.map +1 -1
- package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
- package/lib/ui-kit/DatePicker/DatePicker.d.ts +4 -4
- package/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/lib/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
- package/lib/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
- package/lib/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
- package/lib/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
- package/lib/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
- package/lib/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
- package/lib/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
- package/lib/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
- package/lib/ui-kit/DialogManager/CloseButton.d.ts +2 -2
- package/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
- package/lib/ui-kit/DialogManager/Dialog.d.ts +3 -3
- package/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/lib/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/lib/ui-kit/DialogManager/useDialog.js.map +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.d.ts +2 -2
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Foldable/FoldableSection.d.ts +2 -2
- package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/lib/ui-kit/FormField/getObjectValidator.js +1 -1
- package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/lib/ui-kit/Heading/HeadingProps.d.ts +2 -3
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +2 -2
- package/lib/ui-kit/Img/ImgProps.d.ts +2 -2
- package/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/lib/ui-kit/InnerTable/InnerTable.js +2 -3
- package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js +4 -6
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/lib/ui-kit/Input/InputControl.js +4 -20
- package/lib/ui-kit/Input/InputControl.js.map +1 -1
- package/lib/ui-kit/Input/InputProps.d.ts +4 -2
- package/lib/ui-kit/Input/InputWrapper.d.ts +8 -0
- package/lib/ui-kit/Input/InputWrapper.js +23 -0
- package/lib/ui-kit/Input/InputWrapper.js.map +1 -0
- package/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
- package/lib/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
- package/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
- package/lib/ui-kit/Link/Link.d.ts +2 -2
- package/lib/ui-kit/Link/Link.js.map +1 -1
- package/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
- package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
- package/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
- package/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
- package/lib/ui-kit/LinkButton/renderArrows.d.ts +3 -3
- package/lib/ui-kit/LinkButton/renderArrows.js.map +1 -1
- package/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
- package/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
- package/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/lib/ui-kit/ListControlProps.d.ts +1 -1
- package/lib/ui-kit/Loader/Loader.d.ts +1 -1
- package/lib/ui-kit/Loader/Loader.js.map +1 -1
- package/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
- package/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
- package/lib/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/lib/ui-kit/ProgressBar/ProgressBar.fixture.d.ts +4 -1
- package/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
- package/lib/ui-kit/Radio/RadioProps.d.ts +3 -4
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/lib/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/lib/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
- package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
- package/lib/ui-kit/SVG.d.ts +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
- package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/lib/ui-kit/Select/Option.d.ts +1 -1
- package/lib/ui-kit/Select/Select.d.ts +1 -2
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/Select/SelectPopup.d.ts +2 -3
- package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/lib/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/lib/ui-kit/Shimmer/Shimmer.d.ts +2 -2
- package/lib/ui-kit/Shimmer/Shimmer.js.map +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
- package/lib/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
- package/lib/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
- package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
- package/lib/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
- package/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
- package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
- package/lib/ui-kit/TabsControl/TabItem.js +3 -2
- package/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
- package/lib/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
- package/lib/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/lib/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
- package/lib/ui-kit/Tags/Tags.d.ts +2 -2
- package/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/lib/ui-kit/TimerCircle/Timer.d.ts +2 -2
- package/lib/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/lib/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
- package/lib/ui-kit/TopItem/TopItem.d.ts +3 -3
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/ui-kit/YandexMap/YandexMap.d.ts +2 -2
- package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/lib/utils/adjustBase.js +4 -1
- package/lib/utils/adjustBase.js.map +1 -1
- package/lib/utils/isCyrilic.js +1 -1
- package/lib/utils/isCyrilic.js.map +1 -1
- package/mobile/bundle/UniBlock/UniBlockProps.d.ts +2 -2
- package/mobile/bundle/bundle.umd.js +850 -1336
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/Footnote.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/mobile/bundle/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
- package/mobile/bundle/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/mobile/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/mobile/bundle/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
- package/mobile/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
- package/mobile/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
- package/mobile/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
- package/mobile/bundle/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
- package/mobile/bundle/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
- package/mobile/bundle/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/mobile/bundle/components/Carousel/renderCardHighlight.d.ts +3 -4
- package/mobile/bundle/components/ContentPage/ContentPage.d.ts +2 -2
- package/mobile/bundle/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
- package/mobile/bundle/components/Footer/FooterLink.d.ts +2 -2
- package/mobile/bundle/components/Footer/LinkList.d.ts +2 -2
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/bundle/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
- package/mobile/bundle/components/GalleryLayout/utils.d.ts +29 -0
- package/mobile/bundle/components/Header/DropdownMenu.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderChatBotButton.d.ts +2 -3
- package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
- package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderTopMenu.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderTopMenuItem.d.ts +2 -2
- package/mobile/bundle/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
- package/mobile/bundle/components/OfficesAtmsMap/Badge.d.ts +2 -2
- package/mobile/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -3
- package/mobile/bundle/components/OfficesAtmsMap/CardRow.d.ts +2 -4
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/mobile/bundle/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/mobile/bundle/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
- package/mobile/bundle/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/mobile/bundle/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/mobile/bundle/components/TabsLayout/renderTabsLayout.d.ts +2 -2
- package/mobile/bundle/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +3 -69
- package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/mobile/bundle/components/TariffsTable/renderCell.d.ts +2 -0
- package/mobile/bundle/components/TariffsTable/renderHeader.d.ts +2 -0
- package/mobile/bundle/data/CommonData.d.ts +4 -4
- package/mobile/bundle/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/mobile/bundle/hooks/useAspects/handleAspects.d.ts +1 -1
- package/mobile/bundle/hooks/useAspects/useAspects.d.ts +1 -1
- package/mobile/bundle/hooks/useForm/useForm.d.ts +1 -1
- package/mobile/bundle/model/CommonInputProps.d.ts +7 -0
- package/mobile/bundle/model/ComponentType.d.ts +4 -0
- package/mobile/bundle/model/ContentPageBase.d.ts +2 -3
- package/mobile/bundle/model/DefaultControlType.d.ts +5 -5
- package/mobile/bundle/model/DisabledProps.d.ts +3 -0
- package/mobile/bundle/model/LinkProps.d.ts +1 -1
- package/mobile/bundle/model/OnClickProps.d.ts +3 -0
- package/mobile/bundle/model/OnCloseProps.d.ts +3 -0
- package/mobile/bundle/model/Picture.d.ts +2 -2
- package/mobile/bundle/model/PlaceholderProps.d.ts +3 -0
- package/mobile/bundle/model/onClick.d.ts +3 -0
- package/mobile/bundle/model/onClose.d.ts +3 -0
- package/mobile/bundle/retail/api/getCardTypes.d.ts +2 -2
- package/mobile/bundle/retail/api/updateUserTask.d.ts +1 -1
- package/mobile/bundle/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/mobile/bundle/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/mobile/bundle/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/mobile/bundle/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/mobile/bundle/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/mobile/bundle/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/mobile/bundle/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/mobile/bundle/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
- package/mobile/bundle/retail/components/Fields/SelectField.d.ts +4 -4
- package/mobile/bundle/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/mobile/bundle/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
- package/mobile/bundle/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/mobile/bundle/retail/content.d.ts +2 -8
- package/mobile/bundle/retail/inputs.d.ts +1 -1
- package/mobile/bundle/retail/model/LeadFormData.d.ts +2 -2
- package/mobile/bundle/retail/model/LeadFormState.d.ts +4 -2
- package/mobile/bundle/retail/model/NameFieldDef.d.ts +1 -1
- package/mobile/bundle/retail/model/RetailFormContent.d.ts +2 -2
- package/mobile/bundle/retail/utils/getMainFormStateMap.d.ts +2 -0
- package/mobile/bundle/retail/utils/getOrganizationParams.d.ts +1 -1
- package/mobile/bundle/retail/validator/validators.d.ts +1 -0
- package/mobile/bundle/services/search/search.d.ts +2 -2
- package/mobile/bundle/services/search/textRank.d.ts +1 -1
- package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/mobile/bundle/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/mobile/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
- package/mobile/bundle/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
- package/mobile/bundle/ui-kit/Button/Button.d.ts +3 -3
- package/mobile/bundle/ui-kit/Button/ButtonTitle.d.ts +2 -5
- package/mobile/bundle/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
- package/mobile/bundle/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/mobile/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
- package/mobile/bundle/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
- package/mobile/bundle/ui-kit/DatePicker/DatePicker.d.ts +4 -4
- package/mobile/bundle/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
- package/mobile/bundle/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
- package/mobile/bundle/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
- package/mobile/bundle/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
- package/mobile/bundle/ui-kit/DialogManager/CloseButton.d.ts +2 -2
- package/mobile/bundle/ui-kit/DialogManager/Dialog.d.ts +3 -3
- package/mobile/bundle/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/mobile/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +2 -2
- package/mobile/bundle/ui-kit/Foldable/FoldableSection.d.ts +2 -2
- package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +2 -3
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +2 -2
- package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +2 -2
- package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
- package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -2
- package/mobile/bundle/ui-kit/Input/InputWrapper.d.ts +8 -0
- package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
- package/mobile/bundle/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
- package/mobile/bundle/ui-kit/Link/Link.d.ts +2 -2
- package/mobile/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
- package/mobile/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
- package/mobile/bundle/ui-kit/LinkButton/renderArrows.d.ts +3 -3
- package/mobile/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
- package/mobile/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
- package/mobile/bundle/ui-kit/ListControlProps.d.ts +1 -1
- package/mobile/bundle/ui-kit/Loader/Loader.d.ts +1 -1
- package/mobile/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/mobile/bundle/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
- package/mobile/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +3 -4
- package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
- package/mobile/bundle/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/mobile/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/mobile/bundle/ui-kit/SVG.d.ts +2 -2
- package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/mobile/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/mobile/bundle/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
- package/mobile/bundle/ui-kit/Select/Option.d.ts +1 -1
- package/mobile/bundle/ui-kit/Select/Select.d.ts +1 -2
- package/mobile/bundle/ui-kit/Select/SelectPopup.d.ts +2 -3
- package/mobile/bundle/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/mobile/bundle/ui-kit/Shimmer/Shimmer.d.ts +2 -2
- package/mobile/bundle/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
- package/mobile/bundle/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
- package/mobile/bundle/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
- package/mobile/bundle/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
- package/mobile/bundle/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/mobile/bundle/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/bundle/ui-kit/TimerCircle/Timer.d.ts +2 -2
- package/mobile/bundle/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +3 -3
- package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +2 -2
- package/mobile/dist/UniBlock/UniBlockProps.d.ts +2 -2
- package/mobile/dist/components/ApplicationForm/Footnote.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +5 -10
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js +7 -0
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
- package/mobile/dist/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
- package/mobile/dist/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/applicationFormData.js +0 -1
- package/mobile/dist/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/mobile/dist/components/ApplicationLeadForm/consents.js +0 -4
- package/mobile/dist/components/ApplicationLeadForm/consents.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
- package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +3 -3
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js +4 -4
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/mobile/dist/components/Blocks.js +0 -20
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
- package/mobile/dist/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
- package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/mobile/dist/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
- package/mobile/dist/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -8
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
- package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/mobile/dist/components/Carousel/renderCardHighlight.d.ts +3 -4
- package/mobile/dist/components/Carousel/renderCardHighlight.js.map +1 -1
- package/mobile/dist/components/Carousel/renderCarouselCards.js +2 -2
- package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.d.ts +2 -2
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
- package/mobile/dist/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js +245 -3
- package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/formStateMap.js +2 -2
- package/mobile/dist/components/CreditCardForm/formStateMap.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditForm.js +1 -2
- package/mobile/dist/components/CreditForm/CreditForm.js.map +1 -1
- package/mobile/dist/components/CreditForm/SuccessStatusContent.js +1 -1
- package/mobile/dist/components/CreditForm/SuccessStatusContent.js.map +1 -1
- package/mobile/dist/components/CreditForm/creditFormStepsData.js +192 -3
- package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/dist/components/CreditForm/formStateMap.js +2 -2
- package/mobile/dist/components/CreditForm/formStateMap.js.map +1 -1
- package/mobile/dist/components/CreditForm/getCalcData.js +1 -1
- package/mobile/dist/components/CreditForm/getCalcData.js.map +1 -1
- package/mobile/dist/components/CreditForm/useCreditFormAPI.js +1 -1
- package/mobile/dist/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/mobile/dist/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/mobile/dist/components/DebitForm/DebitFormStepsData.js +71 -3
- package/mobile/dist/components/DebitForm/DebitFormStepsData.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/FooterLink.d.ts +2 -2
- package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/LinkList.d.ts +2 -2
- package/mobile/dist/components/Footer/LinkList.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/dist/components/GalleryLayout/GalleryLayout.js +13 -28
- package/mobile/dist/components/GalleryLayout/GalleryLayout.js.map +1 -1
- package/mobile/dist/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
- package/mobile/dist/components/GalleryLayout/useSortProductBlocks.js +21 -0
- package/mobile/dist/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
- package/mobile/dist/components/GalleryLayout/utils.d.ts +29 -0
- package/mobile/dist/components/GalleryLayout/utils.js +29 -0
- package/mobile/dist/components/GalleryLayout/utils.js.map +1 -0
- package/mobile/dist/components/Header/DropdownMenu.d.ts +2 -2
- package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderChatBotButton.d.ts +2 -3
- package/mobile/dist/components/Header/HeaderChatBotButton.js +15 -4
- package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +2 -2
- package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +1 -1
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTopMenu.d.ts +2 -2
- package/mobile/dist/components/Header/HeaderTopMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderTopMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTopMenuItem.d.ts +2 -2
- package/mobile/dist/components/Header/HeaderTopMenuItem.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +1 -1
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
- package/mobile/dist/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/Badge.d.ts +2 -2
- package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -3
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/CardRow.d.ts +2 -4
- package/mobile/dist/components/OfficesAtmsMap/CardRow.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/mobile/dist/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/mobile/dist/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
- package/mobile/dist/components/TabsLayout/renderTabsLayout.d.ts +2 -2
- package/mobile/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/mobile/dist/components/TariffsTable/TableCarouselContainer.js +1 -1
- package/mobile/dist/components/TariffsTable/TableCarouselContainer.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +4 -11
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +14 -4
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -69
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +6 -10
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js +1 -9
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/mobile/dist/components/TariffsTable/dataFixture.js +1 -14
- package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
- package/mobile/dist/components/TariffsTable/renderCell.d.ts +2 -0
- package/mobile/dist/components/TariffsTable/renderCell.js +15 -0
- package/mobile/dist/components/TariffsTable/renderCell.js.map +1 -0
- package/mobile/dist/components/TariffsTable/renderHeader.d.ts +2 -0
- package/mobile/dist/components/TariffsTable/renderHeader.js +10 -0
- package/mobile/dist/components/TariffsTable/renderHeader.js.map +1 -0
- package/mobile/dist/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
- package/mobile/dist/components/TariffsTable/renderInnerTableCell.js +1 -0
- package/mobile/dist/components/TariffsTable/renderInnerTableCell.js.map +1 -0
- package/mobile/dist/data/CommonData.d.ts +4 -4
- package/mobile/dist/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/mobile/dist/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/mobile/dist/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/mobile/dist/hooks/useAspects/handleAspects.d.ts +1 -1
- package/mobile/dist/hooks/useAspects/handleAspects.js +5 -2
- package/mobile/dist/hooks/useAspects/handleAspects.js.map +1 -1
- package/mobile/dist/hooks/useAspects/useAspects.d.ts +1 -1
- package/mobile/dist/hooks/useForm/useForm.d.ts +1 -1
- package/mobile/dist/hooks/useLink.js +2 -1
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/model/CommonInputProps.d.ts +7 -0
- package/mobile/dist/model/CommonInputProps.js +2 -0
- package/mobile/dist/model/CommonInputProps.js.map +1 -0
- package/mobile/dist/model/ComponentType.d.ts +4 -0
- package/mobile/dist/model/ComponentType.js +2 -0
- package/mobile/dist/model/ComponentType.js.map +1 -0
- package/mobile/dist/model/ContentPageBase.d.ts +2 -3
- package/mobile/dist/model/ControlProps.js.map +1 -0
- package/mobile/dist/model/DefaultControlType.d.ts +5 -5
- package/mobile/dist/model/DisabledProps.d.ts +3 -0
- package/mobile/dist/model/DisabledProps.js +2 -0
- package/mobile/dist/model/DisabledProps.js.map +1 -0
- package/mobile/dist/model/LinkProps.d.ts +1 -1
- package/mobile/dist/model/OnClickProps.d.ts +3 -0
- package/mobile/dist/model/OnClickProps.js +2 -0
- package/mobile/dist/model/OnClickProps.js.map +1 -0
- package/mobile/dist/model/OnCloseProps.d.ts +3 -0
- package/mobile/dist/model/OnCloseProps.js +2 -0
- package/mobile/dist/model/OnCloseProps.js.map +1 -0
- package/mobile/dist/model/Picture.d.ts +2 -2
- package/mobile/dist/model/PlaceholderProps.d.ts +3 -0
- package/mobile/dist/model/PlaceholderProps.js +2 -0
- package/mobile/dist/model/PlaceholderProps.js.map +1 -0
- package/mobile/dist/model/onClick.d.ts +3 -0
- package/mobile/dist/model/onClick.js +2 -0
- package/mobile/dist/model/onClick.js.map +1 -0
- package/mobile/dist/model/onClose.d.ts +3 -0
- package/mobile/dist/model/onClose.js +2 -0
- package/mobile/dist/model/onClose.js.map +1 -0
- package/mobile/dist/retail/adaptors/getCreditFormTaskData.js +0 -3
- package/mobile/dist/retail/adaptors/getCreditFormTaskData.js.map +1 -1
- package/mobile/dist/retail/adaptors/getEmploymentData.js +3 -3
- package/mobile/dist/retail/adaptors/getEmploymentData.js.map +1 -1
- package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
- package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/mobile/dist/retail/adaptors/getPersonalInfoData.js +4 -2
- package/mobile/dist/retail/adaptors/getPersonalInfoData.js.map +1 -1
- package/mobile/dist/retail/api/getCardTypes.d.ts +2 -2
- package/mobile/dist/retail/api/getCardTypes.js.map +1 -1
- package/mobile/dist/retail/api/updateUserTask.d.ts +1 -1
- package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/mobile/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/mobile/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
- package/mobile/dist/retail/components/DaDataInputControl/DaDataInputControl.js +3 -18
- package/mobile/dist/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
- package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js +1 -1
- package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/mobile/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
- package/mobile/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/mobile/dist/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/mobile/dist/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
- package/mobile/dist/retail/components/Fields/BeginDateField.js +1 -1
- package/mobile/dist/retail/components/Fields/BeginDateField.js.map +1 -1
- package/mobile/dist/retail/components/Fields/DaDataInnField.js +10 -3
- package/mobile/dist/retail/components/Fields/DaDataInnField.js.map +1 -1
- package/mobile/dist/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
- package/mobile/dist/retail/components/Fields/InitiateBankruptcyFlgField.js +7 -0
- package/mobile/dist/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
- package/mobile/dist/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
- package/mobile/dist/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
- package/mobile/dist/retail/components/Fields/RegionRetailField.js +8 -3
- package/mobile/dist/retail/components/Fields/RegionRetailField.js.map +1 -1
- package/mobile/dist/retail/components/Fields/SelectField.d.ts +4 -4
- package/mobile/dist/retail/components/Fields/SelectField.js.map +1 -1
- package/mobile/dist/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/mobile/dist/retail/components/FormStatus/FormStatus.js.map +1 -1
- package/mobile/dist/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
- package/mobile/dist/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
- package/mobile/dist/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
- package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
- package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/dist/retail/content.d.ts +2 -8
- package/mobile/dist/retail/content.js +3 -351
- package/mobile/dist/retail/content.js.map +1 -1
- package/mobile/dist/retail/inputs.d.ts +1 -1
- package/mobile/dist/retail/inputs.js +2 -1
- package/mobile/dist/retail/inputs.js.map +1 -1
- package/mobile/dist/retail/model/LeadFormData.d.ts +2 -2
- package/mobile/dist/retail/model/LeadFormState.d.ts +4 -2
- package/mobile/dist/retail/model/NameFieldDef.d.ts +1 -1
- package/mobile/dist/retail/model/RetailFormContent.d.ts +2 -2
- package/mobile/dist/retail/utils/calculateInputs.js +2 -0
- package/mobile/dist/retail/utils/calculateInputs.js.map +1 -1
- package/mobile/dist/retail/utils/getMainFormStateMap.d.ts +2 -0
- package/mobile/dist/retail/utils/getMainFormStateMap.js +70 -0
- package/mobile/dist/retail/utils/getMainFormStateMap.js.map +1 -0
- package/mobile/dist/retail/utils/getOrganizationParams.d.ts +1 -1
- package/mobile/dist/retail/utils/getOrganizationParams.js.map +1 -1
- package/mobile/dist/retail/utils/renderStep.js +7 -1
- package/mobile/dist/retail/utils/renderStep.js.map +1 -1
- package/mobile/dist/retail/validator/validatorObj.js +2 -2
- package/mobile/dist/retail/validator/validatorObj.js.map +1 -1
- package/mobile/dist/retail/validator/validators.d.ts +1 -0
- package/mobile/dist/retail/validator/validators.js +3 -1
- package/mobile/dist/retail/validator/validators.js.map +1 -1
- package/mobile/dist/services/search/search.d.ts +2 -2
- package/mobile/dist/services/search/search.js.map +1 -1
- package/mobile/dist/services/search/textRank.d.ts +1 -1
- package/mobile/dist/services/search/textRank.js.map +1 -1
- package/mobile/dist/services/search/useSearch.js +8 -5
- package/mobile/dist/services/search/useSearch.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/mobile/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
- package/mobile/dist/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
- package/mobile/dist/ui-kit/Button/Button.d.ts +3 -3
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonTitle.d.ts +2 -5
- package/mobile/dist/ui-kit/Button/ButtonTitle.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
- package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
- package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/mobile/dist/ui-kit/Calculator/UnknownRate.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
- package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/mobile/dist/ui-kit/Calculator/renderRate.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
- package/mobile/dist/ui-kit/DatePicker/DatePicker.d.ts +4 -4
- package/mobile/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/mobile/dist/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
- package/mobile/dist/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
- package/mobile/dist/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
- package/mobile/dist/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
- package/mobile/dist/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
- package/mobile/dist/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
- package/mobile/dist/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
- package/mobile/dist/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/CloseButton.d.ts +2 -2
- package/mobile/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/Dialog.d.ts +3 -3
- package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/mobile/dist/ui-kit/DialogManager/useDialog.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +2 -2
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/FoldableSection.d.ts +2 -2
- package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js +1 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +2 -3
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +2 -2
- package/mobile/dist/ui-kit/Img/ImgProps.d.ts +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js +2 -3
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +4 -6
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/mobile/dist/ui-kit/Input/InputControl.js +3 -19
- package/mobile/dist/ui-kit/Input/InputControl.js.map +1 -1
- package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -2
- package/mobile/dist/ui-kit/Input/InputWrapper.d.ts +8 -0
- package/mobile/dist/ui-kit/Input/InputWrapper.js +25 -0
- package/mobile/dist/ui-kit/Input/InputWrapper.js.map +1 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
- package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
- package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
- package/mobile/dist/ui-kit/Link/Link.d.ts +2 -2
- package/mobile/dist/ui-kit/Link/Link.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
- package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
- package/mobile/dist/ui-kit/LinkButton/renderArrows.d.ts +3 -3
- package/mobile/dist/ui-kit/LinkButton/renderArrows.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
- package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/ListControlProps.d.ts +1 -1
- package/mobile/dist/ui-kit/Loader/Loader.d.ts +1 -1
- package/mobile/dist/ui-kit/Loader/Loader.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
- package/mobile/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/mobile/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
- package/mobile/dist/ui-kit/Radio/RadioProps.d.ts +3 -4
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/dist/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/mobile/dist/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
- package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
- package/mobile/dist/ui-kit/SVG.d.ts +2 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Option.d.ts +1 -1
- package/mobile/dist/ui-kit/Select/Select.d.ts +1 -2
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/Select/SelectPopup.d.ts +2 -3
- package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/dist/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/mobile/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/mobile/dist/ui-kit/Shimmer/Shimmer.d.ts +2 -2
- package/mobile/dist/ui-kit/Shimmer/Shimmer.js.map +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/dist/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
- package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
- package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
- package/mobile/dist/ui-kit/TabsControl/TabItem.js +3 -2
- package/mobile/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
- package/mobile/dist/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
- package/mobile/dist/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/mobile/dist/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
- package/mobile/dist/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/dist/ui-kit/TimerCircle/Timer.d.ts +2 -2
- package/mobile/dist/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/mobile/dist/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +3 -3
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +2 -2
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/dist/utils/adjustBase.js +4 -1
- package/mobile/dist/utils/adjustBase.js.map +1 -1
- package/mobile/dist/utils/isCyrilic.js +1 -1
- package/mobile/dist/utils/isCyrilic.js.map +1 -1
- package/mobile/lib/UniBlock/UniBlockProps.d.ts +2 -2
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -7
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js +6 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
- package/mobile/lib/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
- package/mobile/lib/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/applicationFormData.js +0 -1
- package/mobile/lib/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/mobile/lib/components/ApplicationLeadForm/consents.js +0 -4
- package/mobile/lib/components/ApplicationLeadForm/consents.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
- package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +3 -3
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/mobile/lib/components/Blocks.js +0 -20
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
- package/mobile/lib/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
- package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/mobile/lib/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
- package/mobile/lib/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -8
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
- package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/mobile/lib/components/Carousel/renderCardHighlight.d.ts +3 -4
- package/mobile/lib/components/Carousel/renderCardHighlight.js.map +1 -1
- package/mobile/lib/components/Carousel/renderCarouselCards.js +2 -2
- package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.d.ts +2 -2
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
- package/mobile/lib/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js +244 -2
- package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/formStateMap.js +2 -2
- package/mobile/lib/components/CreditCardForm/formStateMap.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditForm.js +1 -2
- package/mobile/lib/components/CreditForm/CreditForm.js.map +1 -1
- package/mobile/lib/components/CreditForm/SuccessStatusContent.js +1 -1
- package/mobile/lib/components/CreditForm/SuccessStatusContent.js.map +1 -1
- package/mobile/lib/components/CreditForm/creditFormStepsData.js +191 -2
- package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/lib/components/CreditForm/formStateMap.js +2 -2
- package/mobile/lib/components/CreditForm/formStateMap.js.map +1 -1
- package/mobile/lib/components/CreditForm/getCalcData.js +1 -1
- package/mobile/lib/components/CreditForm/getCalcData.js.map +1 -1
- package/mobile/lib/components/CreditForm/useCreditFormAPI.js +1 -1
- package/mobile/lib/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/mobile/lib/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/mobile/lib/components/DebitForm/DebitFormStepsData.js +70 -2
- package/mobile/lib/components/DebitForm/DebitFormStepsData.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/FooterLink.d.ts +2 -2
- package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/LinkList.d.ts +2 -2
- package/mobile/lib/components/Footer/LinkList.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/lib/components/GalleryLayout/GalleryLayout.js +12 -27
- package/mobile/lib/components/GalleryLayout/GalleryLayout.js.map +1 -1
- package/mobile/lib/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
- package/mobile/lib/components/GalleryLayout/useSortProductBlocks.js +18 -0
- package/mobile/lib/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
- package/mobile/lib/components/GalleryLayout/utils.d.ts +29 -0
- package/mobile/lib/components/GalleryLayout/utils.js +25 -0
- package/mobile/lib/components/GalleryLayout/utils.js.map +1 -0
- package/mobile/lib/components/Header/DropdownMenu.d.ts +2 -2
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderChatBotButton.d.ts +2 -3
- package/mobile/lib/components/Header/HeaderChatBotButton.js +15 -4
- package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +2 -2
- package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +1 -1
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTopMenu.d.ts +2 -2
- package/mobile/lib/components/Header/HeaderTopMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderTopMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTopMenuItem.d.ts +2 -2
- package/mobile/lib/components/Header/HeaderTopMenuItem.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +1 -1
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
- package/mobile/lib/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/Badge.d.ts +2 -2
- package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -3
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/CardRow.d.ts +2 -4
- package/mobile/lib/components/OfficesAtmsMap/CardRow.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/mobile/lib/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/mobile/lib/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
- package/mobile/lib/components/TabsLayout/renderTabsLayout.d.ts +2 -2
- package/mobile/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/mobile/lib/components/TariffsTable/TableCarouselContainer.js +1 -1
- package/mobile/lib/components/TariffsTable/TableCarouselContainer.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +4 -11
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +14 -4
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -69
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +6 -10
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js +2 -10
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/mobile/lib/components/TariffsTable/dataFixture.js +1 -14
- package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
- package/mobile/lib/components/TariffsTable/renderCell.d.ts +2 -0
- package/mobile/lib/components/TariffsTable/renderCell.js +12 -0
- package/mobile/lib/components/TariffsTable/renderCell.js.map +1 -0
- package/mobile/lib/components/TariffsTable/renderHeader.d.ts +2 -0
- package/mobile/lib/components/TariffsTable/renderHeader.js +7 -0
- package/mobile/lib/components/TariffsTable/renderHeader.js.map +1 -0
- package/mobile/lib/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
- package/mobile/lib/components/TariffsTable/renderInnerTableCell.js +1 -0
- package/mobile/lib/components/TariffsTable/renderInnerTableCell.js.map +1 -0
- package/mobile/lib/data/CommonData.d.ts +4 -4
- package/mobile/lib/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/mobile/lib/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/mobile/lib/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/mobile/lib/hooks/useAspects/handleAspects.d.ts +1 -1
- package/mobile/lib/hooks/useAspects/handleAspects.js +5 -2
- package/mobile/lib/hooks/useAspects/handleAspects.js.map +1 -1
- package/mobile/lib/hooks/useAspects/useAspects.d.ts +1 -1
- package/mobile/lib/hooks/useForm/useForm.d.ts +1 -1
- package/mobile/lib/hooks/useLink.js +2 -1
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/model/CommonInputProps.d.ts +7 -0
- package/mobile/lib/model/CommonInputProps.js +2 -0
- package/mobile/lib/model/CommonInputProps.js.map +1 -0
- package/mobile/lib/model/ComponentType.d.ts +4 -0
- package/mobile/lib/model/ComponentType.js +2 -0
- package/mobile/lib/model/ComponentType.js.map +1 -0
- package/mobile/lib/model/ContentPageBase.d.ts +2 -3
- package/mobile/lib/model/ControlProps.js.map +1 -0
- package/mobile/lib/model/DefaultControlType.d.ts +5 -5
- package/mobile/lib/model/DisabledProps.d.ts +3 -0
- package/mobile/lib/model/DisabledProps.js +2 -0
- package/mobile/lib/model/DisabledProps.js.map +1 -0
- package/mobile/lib/model/LinkProps.d.ts +1 -1
- package/mobile/lib/model/OnClickProps.d.ts +3 -0
- package/mobile/lib/model/OnClickProps.js +2 -0
- package/mobile/lib/model/OnClickProps.js.map +1 -0
- package/mobile/lib/model/OnCloseProps.d.ts +3 -0
- package/mobile/lib/model/OnCloseProps.js +2 -0
- package/mobile/lib/model/OnCloseProps.js.map +1 -0
- package/mobile/lib/model/Picture.d.ts +2 -2
- package/mobile/lib/model/PlaceholderProps.d.ts +3 -0
- package/mobile/lib/model/PlaceholderProps.js +2 -0
- package/mobile/lib/model/PlaceholderProps.js.map +1 -0
- package/mobile/lib/model/onClick.d.ts +3 -0
- package/mobile/lib/model/onClick.js +2 -0
- package/mobile/lib/model/onClick.js.map +1 -0
- package/mobile/lib/model/onClose.d.ts +3 -0
- package/mobile/lib/model/onClose.js +2 -0
- package/mobile/lib/model/onClose.js.map +1 -0
- package/mobile/lib/retail/adaptors/getCreditFormTaskData.js +0 -3
- package/mobile/lib/retail/adaptors/getCreditFormTaskData.js.map +1 -1
- package/mobile/lib/retail/adaptors/getEmploymentData.js +3 -3
- package/mobile/lib/retail/adaptors/getEmploymentData.js.map +1 -1
- package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
- package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/mobile/lib/retail/adaptors/getPersonalInfoData.js +4 -2
- package/mobile/lib/retail/adaptors/getPersonalInfoData.js.map +1 -1
- package/mobile/lib/retail/api/getCardTypes.d.ts +2 -2
- package/mobile/lib/retail/api/getCardTypes.js.map +1 -1
- package/mobile/lib/retail/api/updateUserTask.d.ts +1 -1
- package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/mobile/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/mobile/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
- package/mobile/lib/retail/components/DaDataInputControl/DaDataInputControl.js +4 -19
- package/mobile/lib/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
- package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js +1 -1
- package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/mobile/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
- package/mobile/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/mobile/lib/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/mobile/lib/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
- package/mobile/lib/retail/components/Fields/BeginDateField.js +1 -1
- package/mobile/lib/retail/components/Fields/BeginDateField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/DaDataInnField.js +10 -3
- package/mobile/lib/retail/components/Fields/DaDataInnField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
- package/mobile/lib/retail/components/Fields/InitiateBankruptcyFlgField.js +5 -0
- package/mobile/lib/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
- package/mobile/lib/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
- package/mobile/lib/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/RegionRetailField.js +8 -3
- package/mobile/lib/retail/components/Fields/RegionRetailField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/SelectField.d.ts +4 -4
- package/mobile/lib/retail/components/Fields/SelectField.js.map +1 -1
- package/mobile/lib/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/mobile/lib/retail/components/FormStatus/FormStatus.js.map +1 -1
- package/mobile/lib/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
- package/mobile/lib/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
- package/mobile/lib/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
- package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
- package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/lib/retail/content.d.ts +2 -8
- package/mobile/lib/retail/content.js +2 -350
- package/mobile/lib/retail/content.js.map +1 -1
- package/mobile/lib/retail/inputs.d.ts +1 -1
- package/mobile/lib/retail/inputs.js +2 -1
- package/mobile/lib/retail/inputs.js.map +1 -1
- package/mobile/lib/retail/model/LeadFormData.d.ts +2 -2
- package/mobile/lib/retail/model/LeadFormState.d.ts +4 -2
- package/mobile/lib/retail/model/NameFieldDef.d.ts +1 -1
- package/mobile/lib/retail/model/RetailFormContent.d.ts +2 -2
- package/mobile/lib/retail/utils/calculateInputs.js +2 -0
- package/mobile/lib/retail/utils/calculateInputs.js.map +1 -1
- package/mobile/lib/retail/utils/getMainFormStateMap.d.ts +2 -0
- package/mobile/lib/retail/utils/getMainFormStateMap.js +67 -0
- package/mobile/lib/retail/utils/getMainFormStateMap.js.map +1 -0
- package/mobile/lib/retail/utils/getOrganizationParams.d.ts +1 -1
- package/mobile/lib/retail/utils/getOrganizationParams.js.map +1 -1
- package/mobile/lib/retail/utils/renderStep.js +8 -2
- package/mobile/lib/retail/utils/renderStep.js.map +1 -1
- package/mobile/lib/retail/validator/validatorObj.js +3 -3
- package/mobile/lib/retail/validator/validatorObj.js.map +1 -1
- package/mobile/lib/retail/validator/validators.d.ts +1 -0
- package/mobile/lib/retail/validator/validators.js +1 -0
- package/mobile/lib/retail/validator/validators.js.map +1 -1
- package/mobile/lib/services/search/search.d.ts +2 -2
- package/mobile/lib/services/search/search.js.map +1 -1
- package/mobile/lib/services/search/textRank.d.ts +1 -1
- package/mobile/lib/services/search/textRank.js.map +1 -1
- package/mobile/lib/services/search/useSearch.js +8 -5
- package/mobile/lib/services/search/useSearch.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/mobile/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
- package/mobile/lib/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
- package/mobile/lib/ui-kit/Button/Button.d.ts +3 -3
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonTitle.d.ts +2 -5
- package/mobile/lib/ui-kit/Button/ButtonTitle.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
- package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
- package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/mobile/lib/ui-kit/Calculator/UnknownRate.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
- package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/mobile/lib/ui-kit/Calculator/renderRate.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
- package/mobile/lib/ui-kit/DatePicker/DatePicker.d.ts +4 -4
- package/mobile/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/mobile/lib/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
- package/mobile/lib/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
- package/mobile/lib/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
- package/mobile/lib/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
- package/mobile/lib/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
- package/mobile/lib/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
- package/mobile/lib/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
- package/mobile/lib/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/CloseButton.d.ts +2 -2
- package/mobile/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/Dialog.d.ts +3 -3
- package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/mobile/lib/ui-kit/DialogManager/useDialog.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +2 -2
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/FoldableSection.d.ts +2 -2
- package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js +1 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +2 -3
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +2 -2
- package/mobile/lib/ui-kit/Img/ImgProps.d.ts +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js +2 -3
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +4 -6
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/mobile/lib/ui-kit/Input/InputControl.js +4 -20
- package/mobile/lib/ui-kit/Input/InputControl.js.map +1 -1
- package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -2
- package/mobile/lib/ui-kit/Input/InputWrapper.d.ts +8 -0
- package/mobile/lib/ui-kit/Input/InputWrapper.js +23 -0
- package/mobile/lib/ui-kit/Input/InputWrapper.js.map +1 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
- package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
- package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
- package/mobile/lib/ui-kit/Link/Link.d.ts +2 -2
- package/mobile/lib/ui-kit/Link/Link.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
- package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
- package/mobile/lib/ui-kit/LinkButton/renderArrows.d.ts +3 -3
- package/mobile/lib/ui-kit/LinkButton/renderArrows.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
- package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/ListControlProps.d.ts +1 -1
- package/mobile/lib/ui-kit/Loader/Loader.d.ts +1 -1
- package/mobile/lib/ui-kit/Loader/Loader.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
- package/mobile/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/mobile/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
- package/mobile/lib/ui-kit/Radio/RadioProps.d.ts +3 -4
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/lib/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/mobile/lib/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
- package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
- package/mobile/lib/ui-kit/SVG.d.ts +2 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Option.d.ts +1 -1
- package/mobile/lib/ui-kit/Select/Select.d.ts +1 -2
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/Select/SelectPopup.d.ts +2 -3
- package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/lib/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/mobile/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/mobile/lib/ui-kit/Shimmer/Shimmer.d.ts +2 -2
- package/mobile/lib/ui-kit/Shimmer/Shimmer.js.map +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/lib/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
- package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
- package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
- package/mobile/lib/ui-kit/TabsControl/TabItem.js +3 -2
- package/mobile/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
- package/mobile/lib/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
- package/mobile/lib/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/mobile/lib/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
- package/mobile/lib/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/lib/ui-kit/TimerCircle/Timer.d.ts +2 -2
- package/mobile/lib/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/mobile/lib/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +3 -3
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +2 -2
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/lib/utils/adjustBase.js +4 -1
- package/mobile/lib/utils/adjustBase.js.map +1 -1
- package/mobile/lib/utils/isCyrilic.js +1 -1
- package/mobile/lib/utils/isCyrilic.js.map +1 -1
- package/mobile/src/UniBlock/UniBlockProps.ts +2 -2
- package/mobile/src/components/ApplicationForm/Footnote.tsx +1 -1
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +6 -8
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +6 -0
- package/mobile/src/components/ApplicationLeadForm/EsiaLoginBanner.tsx +12 -7
- package/mobile/src/components/ApplicationLeadForm/Footnote.tsx +1 -1
- package/mobile/src/components/ApplicationLeadForm/applicationFormData.tsx +0 -1
- package/mobile/src/components/ApplicationLeadForm/consents.ts +2 -6
- package/mobile/src/components/ApplicationLeadForm/parseEsiaProfile.ts +3 -13
- package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -3
- package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -2
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -1
- package/mobile/src/components/Blocks.ts +0 -20
- package/mobile/src/components/CalculatorBonus/CalculatorBonus.tsx +0 -1
- package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +3 -3
- package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -1
- package/mobile/src/components/CalculatorDeposit/CalculatorDeposit.tsx +0 -1
- package/mobile/src/components/CalculatorDeposit/renderDepositResult.tsx +0 -1
- package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +5 -18
- package/mobile/src/components/CardTransfer/SubmitFailedDialog.tsx +4 -4
- package/mobile/src/components/Carousel/renderCardHighlight.tsx +3 -4
- package/mobile/src/components/Carousel/renderCarouselCards.tsx +2 -6
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
- package/mobile/src/components/CreditCardForm/SuccessStatusCardContent.tsx +1 -1
- package/mobile/src/components/CreditCardForm/creditCardFormStepsData.tsx +246 -6
- package/mobile/src/components/CreditCardForm/formStateMap.tsx +2 -2
- package/mobile/src/components/CreditForm/CreditForm.tsx +1 -2
- package/mobile/src/components/CreditForm/SuccessStatusContent.tsx +1 -1
- package/mobile/src/components/CreditForm/creditFormStepsData.tsx +194 -6
- package/mobile/src/components/CreditForm/formStateMap.tsx +2 -2
- package/mobile/src/components/CreditForm/getCalcData.ts +1 -1
- package/mobile/src/components/CreditForm/useCreditFormAPI.tsx +1 -1
- package/mobile/src/components/DebitForm/DebitFormStatus.tsx +9 -10
- package/mobile/src/components/DebitForm/DebitFormStepsData.tsx +71 -6
- package/mobile/src/components/Footer/Contacts.tsx +2 -2
- package/mobile/src/components/Footer/FooterLink.ts +2 -2
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/mobile/src/components/Footer/LinkList.tsx +2 -2
- package/mobile/src/components/Footer/SocialMedia.tsx +2 -2
- package/mobile/src/components/Footer/TextInformationLink.tsx +1 -1
- package/mobile/src/components/GalleryLayout/GalleryLayout.tsx +33 -51
- package/mobile/src/components/GalleryLayout/useSortProductBlocks.ts +25 -0
- package/mobile/src/components/GalleryLayout/utils.ts +35 -0
- package/mobile/src/components/Header/DropdownMenu.tsx +2 -2
- package/mobile/src/components/Header/HeaderChatBotButton.tsx +20 -14
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +11 -13
- package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +7 -3
- package/mobile/src/components/Header/HeaderSubMenu.tsx +0 -1
- package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -2
- package/mobile/src/components/Header/HeaderTop.tsx +1 -6
- package/mobile/src/components/Header/HeaderTopMenu.tsx +3 -7
- package/mobile/src/components/Header/HeaderTopMenuItem.tsx +2 -2
- package/mobile/src/components/Headline/Headline.tsx +1 -1
- package/mobile/src/components/OfficesAtmsMap/AtmsMap.tsx +2 -2
- package/mobile/src/components/OfficesAtmsMap/Badge.tsx +2 -2
- package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +3 -3
- package/mobile/src/components/OfficesAtmsMap/CardRow.tsx +2 -5
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +3 -3
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -4
- package/mobile/src/components/OfficesAtmsMap/OfficesMap.tsx +2 -5
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -11
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +0 -1
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +1 -1
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -2
- package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +2 -2
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenuDialog.tsx +3 -3
- package/mobile/src/components/StickyBottomMenu/useBottomMenuItemDialog.tsx +2 -2
- package/mobile/src/components/StickyBottomMenu/useBurgerMenuDialog.tsx +2 -2
- package/mobile/src/components/TabsLayout/renderTabsLayout.tsx +2 -2
- package/mobile/src/components/TariffsTable/TableCarouselContainer.tsx +3 -10
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +1 -34
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -13
- package/mobile/src/components/TariffsTable/TariffsTable.ui.json +0 -3
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +37 -35
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +8 -85
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +9 -49
- package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +7 -13
- package/mobile/src/components/TariffsTable/TariffsTableWrapper.tsx +5 -25
- package/mobile/src/components/TariffsTable/dataFixture.tsx +9 -22
- package/mobile/src/components/TariffsTable/renderCell.tsx +42 -0
- package/mobile/src/components/TariffsTable/renderHeader.tsx +19 -0
- package/mobile/src/components/TariffsTable/renderInnerTableCell.tsx +0 -0
- package/mobile/src/data/CommonData.ts +4 -3
- package/mobile/src/hooks/useAspects/aspects/forwardQuery.ts +1 -1
- package/mobile/src/hooks/useAspects/handleAspects.ts +6 -2
- package/mobile/src/hooks/useAspects/useAspects.ts +1 -1
- package/mobile/src/hooks/useForm/useForm.ts +1 -1
- package/mobile/src/hooks/useLink.ts +3 -1
- package/mobile/src/model/CommonInputProps.ts +12 -0
- package/mobile/src/model/ComponentType.ts +4 -0
- package/mobile/src/model/ContentPageBase.ts +2 -3
- package/mobile/src/model/DefaultControlType.ts +10 -5
- package/mobile/src/model/DisabledProps.ts +3 -0
- package/mobile/src/model/LinkProps.ts +1 -1
- package/mobile/src/model/OnClickProps.ts +3 -0
- package/mobile/src/model/OnCloseProps.ts +3 -0
- package/mobile/src/model/Picture.ts +2 -2
- package/mobile/src/model/PlaceholderProps.ts +3 -0
- package/mobile/src/model/onClick.ts +3 -0
- package/mobile/src/model/onClose.ts +3 -0
- package/mobile/src/retail/adaptors/getCreditFormTaskData.ts +0 -3
- package/mobile/src/retail/adaptors/getEmploymentData.tsx +3 -3
- package/mobile/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +2 -0
- package/mobile/src/retail/adaptors/getPersonalInfoData.tsx +4 -2
- package/mobile/src/retail/api/getCardTypes.ts +2 -2
- package/mobile/src/retail/api/updateUserTask.ts +1 -1
- package/mobile/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +6 -6
- package/mobile/src/retail/components/ConsentBkiDialog/ConsentBkiDialog.tsx +2 -2
- package/mobile/src/retail/components/DaDataInputControl/DaDataInputControl.tsx +11 -57
- package/mobile/src/retail/components/DocumentDialog/DocumentDialog.tsx +2 -2
- package/mobile/src/retail/components/DraftDialog/DraftActionButton.tsx +12 -9
- package/mobile/src/retail/components/DraftDialog/DraftDialog.tsx +3 -3
- package/mobile/src/retail/components/DraftDialog/EmptyDraftDialog.tsx +2 -5
- package/mobile/src/retail/components/DraftDialog/useDraftDialog.tsx +2 -2
- package/mobile/src/retail/components/Fields/BeginDateField.tsx +1 -0
- package/mobile/src/retail/components/Fields/DaDataInnField.tsx +14 -6
- package/mobile/src/retail/components/Fields/InitiateBankruptcyFlgField.tsx +10 -0
- package/mobile/src/retail/components/Fields/ParticipantDateRegistrationField.tsx +5 -1
- package/mobile/src/retail/components/Fields/RegionRetailField.tsx +12 -3
- package/mobile/src/retail/components/Fields/SelectField.tsx +9 -4
- package/mobile/src/retail/components/FormStatus/FormStatus.tsx +17 -14
- package/mobile/src/retail/components/VerifyPhoneDialog/SubmitButton.tsx +7 -9
- package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +5 -5
- package/mobile/src/retail/content.tsx +3 -352
- package/mobile/src/retail/inputs.tsx +2 -1
- package/mobile/src/retail/model/LeadFormData.ts +3 -2
- package/mobile/src/retail/model/LeadFormState.ts +4 -2
- package/mobile/src/retail/model/NameFieldDef.ts +1 -0
- package/mobile/src/retail/model/RetailFormContent.ts +3 -2
- package/mobile/src/retail/utils/calculateInputs.ts +4 -0
- package/mobile/src/retail/utils/getMainFormStateMap.ts +68 -0
- package/mobile/src/retail/utils/getOrganizationParams.ts +1 -1
- package/mobile/src/retail/utils/renderStep.tsx +9 -4
- package/mobile/src/retail/validator/validatorObj.ts +3 -2
- package/mobile/src/retail/validator/validators.ts +3 -0
- package/mobile/src/services/search/search.ts +2 -2
- package/mobile/src/services/search/textRank.ts +1 -1
- package/mobile/src/services/search/useSearch.ts +33 -22
- package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationContent.ts +1 -1
- package/mobile/src/ui-kit/BaseFiltration/FiltrationSchemaContent.ts +1 -7
- package/mobile/src/ui-kit/BaseFiltration/HotFilterBase.ts +1 -1
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -5
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +1 -1
- package/mobile/src/ui-kit/BaseTile/renderImageContainer.tsx +2 -1
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -4
- package/mobile/src/ui-kit/BenefitsList/BenefitsListProps.ts +2 -2
- package/mobile/src/ui-kit/Button/Button.tsx +3 -3
- package/mobile/src/ui-kit/Button/ButtonTitle.tsx +2 -5
- package/mobile/src/ui-kit/Calculator/CalculatorProps.ts +2 -3
- package/mobile/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
- package/mobile/src/ui-kit/Calculator/UnknownRate.tsx +2 -5
- package/mobile/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +9 -6
- package/mobile/src/ui-kit/Calculator/renderRate.tsx +3 -2
- package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +3 -7
- package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +4 -4
- package/mobile/src/ui-kit/DatePicker/DatePickerControl.tsx +2 -1
- package/mobile/src/ui-kit/DatePicker/DatePickerInput.tsx +4 -4
- package/mobile/src/ui-kit/DatePicker/renderDatePickerForm.tsx +9 -9
- package/mobile/src/ui-kit/DatePicker/useDatePickerManager.ts +3 -6
- package/mobile/src/ui-kit/DialogManager/CloseButton.tsx +2 -2
- package/mobile/src/ui-kit/DialogManager/Dialog.tsx +3 -3
- package/mobile/src/ui-kit/DialogManager/useDialog.tsx +2 -1
- package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +2 -3
- package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +2 -2
- package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
- package/mobile/src/ui-kit/Heading/HeadingProps.ts +2 -4
- package/mobile/src/ui-kit/Icon/Icon.tsx +2 -1
- package/mobile/src/ui-kit/Icon/IconProps.ts +7 -6
- package/mobile/src/ui-kit/Img/ImgProps.ts +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +4 -8
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +19 -21
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +5 -5
- package/mobile/src/ui-kit/InnerTable/InnerTableProps.ts +2 -4
- package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
- package/mobile/src/ui-kit/Input/InputControl.tsx +5 -68
- package/mobile/src/ui-kit/Input/InputProps.ts +2 -2
- package/mobile/src/ui-kit/Input/InputWrapper.tsx +78 -0
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +3 -3
- package/mobile/src/ui-kit/InputRange/renderRangeWithTicks.tsx +3 -4
- package/mobile/src/ui-kit/Link/Link.tsx +2 -2
- package/mobile/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/LinkButton/GetButtonClassParams.ts +2 -2
- package/mobile/src/ui-kit/LinkButton/LinkButtonProps.ts +6 -6
- package/mobile/src/ui-kit/LinkButton/renderArrows.tsx +10 -9
- package/mobile/src/ui-kit/LinkButton/renderButtonsSection.tsx +2 -2
- package/mobile/src/ui-kit/LinkWrapper/LinkWrapper.tsx +4 -8
- package/mobile/src/ui-kit/ListControlProps.ts +1 -1
- package/mobile/src/ui-kit/Loader/Loader.tsx +1 -1
- package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +2 -2
- package/mobile/src/ui-kit/LocationDialog/SearchBar.tsx +2 -2
- package/mobile/src/ui-kit/ProgressBar/ProgressBar.tsx +3 -3
- package/mobile/src/ui-kit/Radio/RadioProps.ts +4 -4
- package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -3
- package/mobile/src/ui-kit/ReportDialog/ReportDialog.tsx +2 -2
- package/mobile/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +2 -2
- package/mobile/src/ui-kit/SVG.tsx +2 -2
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
- package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +2 -2
- package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +4 -5
- package/mobile/src/ui-kit/Select/Option.ts +1 -1
- package/mobile/src/ui-kit/Select/Select.tsx +1 -2
- package/mobile/src/ui-kit/Select/SelectPopup.tsx +2 -3
- package/mobile/src/ui-kit/Select/useSelectPopup.tsx +2 -2
- package/mobile/src/ui-kit/Shimmer/Shimmer.tsx +2 -2
- package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +2 -1
- package/mobile/src/ui-kit/Sitemap/SitemapProps.ts +2 -2
- package/mobile/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +6 -6
- package/mobile/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +3 -3
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +2 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListDots.tsx +3 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListItem.tsx +2 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListScrollButtons.tsx +2 -2
- package/mobile/src/ui-kit/TabsControl/TabItem.tsx +8 -3
- package/mobile/src/ui-kit/TabsControl/TabsControlProps.ts +2 -2
- package/mobile/src/ui-kit/TabsControl/renderTabItemInner.tsx +2 -3
- package/mobile/src/ui-kit/Tags/Tags.tsx +2 -3
- package/mobile/src/ui-kit/TimerCircle/Timer.tsx +2 -2
- package/mobile/src/ui-kit/TimerCircle/TimerCircle.tsx +2 -2
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +3 -3
- package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
- package/mobile/src/utils/adjustBase.ts +6 -1
- package/mobile/src/utils/isCyrilic.ts +1 -1
- package/package.json +10 -10
- package/src/UniBlock/UniBlockProps.ts +2 -2
- package/src/components/ApplicationForm/Footnote.tsx +1 -1
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +6 -8
- package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +6 -0
- package/src/components/ApplicationLeadForm/EsiaLoginBanner.tsx +12 -7
- package/src/components/ApplicationLeadForm/Footnote.tsx +1 -1
- package/src/components/ApplicationLeadForm/applicationFormData.tsx +0 -1
- package/src/components/ApplicationLeadForm/consents.ts +2 -6
- package/src/components/ApplicationLeadForm/parseEsiaProfile.ts +3 -13
- package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -3
- package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -2
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -1
- package/src/components/Blocks.mobile.ts +0 -20
- package/src/components/Blocks.ts +0 -26
- package/src/components/CalculatorBonus/CalculatorBonus.tsx +0 -1
- package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +3 -3
- package/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -1
- package/src/components/CalculatorDeposit/CalculatorDeposit.tsx +0 -1
- package/src/components/CalculatorDeposit/renderDepositResult.tsx +0 -1
- package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
- package/src/components/CardTransfer/CardTransfer.tsx +5 -18
- package/src/components/CardTransfer/SubmitFailedDialog.tsx +4 -4
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -16
- package/src/components/Carousel/Carousel.fixture.tsx +0 -35
- package/src/components/Carousel/renderCardHighlight.tsx +3 -4
- package/src/components/Carousel/renderCarouselCards.tsx +2 -6
- package/src/components/ContentPage/ContentPage.tsx +2 -2
- package/src/components/CreditCardForm/SuccessStatusCardContent.tsx +1 -1
- package/src/components/CreditCardForm/creditCardFormStepsData.tsx +246 -6
- package/src/components/CreditCardForm/formStateMap.tsx +2 -2
- package/src/components/CreditForm/CreditForm.tsx +1 -2
- package/src/components/CreditForm/SuccessStatusContent.tsx +1 -1
- package/src/components/CreditForm/creditFormStepsData.tsx +194 -6
- package/src/components/CreditForm/formStateMap.tsx +2 -2
- package/src/components/CreditForm/getCalcData.ts +1 -1
- package/src/components/CreditForm/useCreditFormAPI.tsx +1 -1
- package/src/components/DebitForm/DebitFormStatus.tsx +9 -10
- package/src/components/DebitForm/DebitFormStepsData.tsx +71 -6
- package/src/components/Footer/Contacts.tsx +2 -2
- package/src/components/Footer/FooterLink.ts +2 -2
- package/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/src/components/Footer/LinkList.tsx +2 -2
- package/src/components/Footer/SocialMedia.tsx +2 -2
- package/src/components/Footer/TextInformationLink.tsx +1 -1
- package/src/components/GalleryLayout/GalleryLayout.tsx +33 -51
- package/src/components/GalleryLayout/useSortProductBlocks.ts +25 -0
- package/src/components/GalleryLayout/utils.ts +35 -0
- package/src/components/Header/DropdownMenu.tsx +2 -2
- package/src/components/Header/HeaderChatBotButton.tsx +20 -14
- package/src/components/Header/HeaderSecondaryMenu.tsx +11 -13
- package/src/components/Header/HeaderSecondaryMenuButton.tsx +7 -3
- package/src/components/Header/HeaderSubMenu.tsx +0 -1
- package/src/components/Header/HeaderSubMenuItem.tsx +2 -2
- package/src/components/Header/HeaderTop.tsx +1 -6
- package/src/components/Header/HeaderTopMenu.tsx +3 -7
- package/src/components/Header/HeaderTopMenuItem.tsx +2 -2
- package/src/components/Headline/Headline.tsx +1 -1
- package/src/components/OfficesAtmsMap/AtmsMap.tsx +2 -2
- package/src/components/OfficesAtmsMap/Badge.tsx +2 -2
- package/src/components/OfficesAtmsMap/CardCell.tsx +3 -3
- package/src/components/OfficesAtmsMap/CardRow.tsx +2 -5
- package/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +3 -3
- package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -4
- package/src/components/OfficesAtmsMap/OfficesMap.tsx +2 -5
- package/src/components/ProductBlock/ProductBlock.example.json +1 -11
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +0 -28
- package/src/components/ProductBlock/ProductBlock.tsx +0 -1
- package/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
- package/src/components/StepsBlock/StepsBlockContent.ts +1 -1
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -2
- package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +2 -2
- package/src/components/StickyBottomMenu/StickyBottomMenuDialog.tsx +3 -3
- package/src/components/StickyBottomMenu/useBottomMenuItemDialog.tsx +2 -2
- package/src/components/StickyBottomMenu/useBurgerMenuDialog.tsx +2 -2
- package/src/components/TabsLayout/renderTabsLayout.tsx +2 -2
- package/src/components/TariffsTable/TableCarouselContainer.tsx +3 -10
- package/src/components/TariffsTable/TariffsTable.example.json +1 -34
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +28 -2
- package/src/components/TariffsTable/TariffsTable.tsx +6 -13
- package/src/components/TariffsTable/TariffsTable.ui.json +0 -3
- package/src/components/TariffsTable/TariffsTableCell.tsx +37 -35
- package/src/components/TariffsTable/TariffsTableContent.ts +8 -85
- package/src/components/TariffsTable/TariffsTableRow.tsx +9 -49
- package/src/components/TariffsTable/TariffsTableRowContainer.tsx +7 -13
- package/src/components/TariffsTable/TariffsTableWrapper.tsx +5 -25
- package/src/components/TariffsTable/dataFixture.tsx +9 -22
- package/src/components/TariffsTable/renderCell.tsx +42 -0
- package/src/components/TariffsTable/renderHeader.tsx +19 -0
- package/src/components/TariffsTable/renderInnerTableCell.tsx +0 -0
- package/src/data/CommonData.ts +4 -3
- package/src/hooks/useAspects/aspects/forwardQuery.ts +1 -1
- package/src/hooks/useAspects/handleAspects.ts +6 -2
- package/src/hooks/useAspects/useAspects.ts +1 -1
- package/src/hooks/useForm/useForm.ts +1 -1
- package/src/hooks/useLink.ts +3 -1
- package/src/model/CommonInputProps.ts +12 -0
- package/src/model/ComponentType.ts +4 -0
- package/src/model/ContentPageBase.ts +2 -3
- package/src/model/DefaultControlType.ts +10 -5
- package/src/model/DisabledProps.ts +3 -0
- package/src/model/LinkProps.ts +1 -1
- package/src/model/OnClickProps.ts +3 -0
- package/src/model/OnCloseProps.ts +3 -0
- package/src/model/Picture.ts +2 -2
- package/src/model/PlaceholderProps.ts +3 -0
- package/src/model/onClick.ts +3 -0
- package/src/model/onClose.ts +3 -0
- package/src/retail/adaptors/getCreditFormTaskData.ts +0 -3
- package/src/retail/adaptors/getEmploymentData.tsx +3 -3
- package/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +2 -0
- package/src/retail/adaptors/getPersonalInfoData.tsx +4 -2
- package/src/retail/api/getCardTypes.ts +2 -2
- package/src/retail/api/updateUserTask.ts +1 -1
- package/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +6 -6
- package/src/retail/components/ConsentBkiDialog/ConsentBkiDialog.tsx +2 -2
- package/src/retail/components/DaDataInputControl/DaDataInputControl.tsx +11 -57
- package/src/retail/components/DocumentDialog/DocumentDialog.tsx +2 -2
- package/src/retail/components/DraftDialog/DraftActionButton.tsx +12 -9
- package/src/retail/components/DraftDialog/DraftDialog.tsx +3 -3
- package/src/retail/components/DraftDialog/EmptyDraftDialog.tsx +2 -5
- package/src/retail/components/DraftDialog/useDraftDialog.tsx +2 -2
- package/src/retail/components/Fields/BeginDateField.tsx +1 -0
- package/src/retail/components/Fields/DaDataInnField.tsx +14 -6
- package/src/retail/components/Fields/InitiateBankruptcyFlgField.tsx +10 -0
- package/src/retail/components/Fields/ParticipantDateRegistrationField.tsx +5 -1
- package/src/retail/components/Fields/RegionRetailField.tsx +12 -3
- package/src/retail/components/Fields/SelectField.tsx +9 -4
- package/src/retail/components/FormStatus/FormStatus.tsx +17 -14
- package/src/retail/components/VerifyPhoneDialog/SubmitButton.tsx +7 -9
- package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +5 -5
- package/src/retail/content.tsx +3 -352
- package/src/retail/inputs.tsx +2 -1
- package/src/retail/model/LeadFormData.ts +3 -2
- package/src/retail/model/LeadFormState.ts +4 -2
- package/src/retail/model/NameFieldDef.ts +1 -0
- package/src/retail/model/RetailFormContent.ts +3 -2
- package/src/retail/utils/calculateInputs.ts +4 -0
- package/src/retail/utils/getMainFormStateMap.ts +68 -0
- package/src/retail/utils/getOrganizationParams.ts +1 -1
- package/src/retail/utils/renderStep.tsx +9 -4
- package/src/retail/validator/validatorObj.ts +3 -2
- package/src/retail/validator/validators.ts +3 -0
- package/src/services/search/search.ts +2 -2
- package/src/services/search/textRank.ts +1 -1
- package/src/services/search/useSearch.ts +33 -22
- package/src/ui-kit/BaseFiltration/BaseFiltrationContent.ts +1 -1
- package/src/ui-kit/BaseFiltration/FiltrationSchemaContent.ts +1 -7
- package/src/ui-kit/BaseFiltration/HotFilterBase.ts +1 -1
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -5
- package/src/ui-kit/BaseTile/BaseTile.tsx +1 -1
- package/src/ui-kit/BaseTile/renderImageContainer.tsx +2 -1
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -4
- package/src/ui-kit/BenefitsList/BenefitsListProps.ts +2 -2
- package/src/ui-kit/Button/Button.tsx +3 -3
- package/src/ui-kit/Button/ButtonTitle.tsx +2 -5
- package/src/ui-kit/Calculator/CalculatorProps.ts +2 -3
- package/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
- package/src/ui-kit/Calculator/UnknownRate.tsx +2 -5
- package/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +9 -6
- package/src/ui-kit/Calculator/renderRate.tsx +3 -2
- package/src/ui-kit/Checkbox/CheckboxProps.ts +3 -7
- package/src/ui-kit/DatePicker/DatePicker.tsx +4 -4
- package/src/ui-kit/DatePicker/DatePickerControl.tsx +2 -1
- package/src/ui-kit/DatePicker/DatePickerInput.tsx +4 -4
- package/src/ui-kit/DatePicker/renderDatePickerForm.tsx +9 -9
- package/src/ui-kit/DatePicker/useDatePickerManager.ts +3 -6
- package/src/ui-kit/DialogManager/CloseButton.tsx +2 -2
- package/src/ui-kit/DialogManager/Dialog.tsx +3 -3
- package/src/ui-kit/DialogManager/useDialog.tsx +2 -1
- package/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
- package/src/ui-kit/Foldable/Foldable.tsx +2 -3
- package/src/ui-kit/Foldable/FoldableSection.tsx +2 -2
- package/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
- package/src/ui-kit/Heading/HeadingProps.ts +2 -4
- package/src/ui-kit/Icon/Icon.tsx +2 -1
- package/src/ui-kit/Icon/IconProps.ts +7 -6
- package/src/ui-kit/Img/ImgProps.ts +2 -2
- package/src/ui-kit/InnerTable/InnerTable.fixture.mobile.tsx +1 -4
- package/src/ui-kit/InnerTable/InnerTable.fixture.tsx +1 -4
- package/src/ui-kit/InnerTable/InnerTable.tsx +4 -8
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +19 -21
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +5 -5
- package/src/ui-kit/InnerTable/InnerTableProps.ts +2 -4
- package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
- package/src/ui-kit/Input/InputControl.tsx +5 -68
- package/src/ui-kit/Input/InputProps.ts +2 -2
- package/src/ui-kit/Input/InputWrapper.tsx +78 -0
- package/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/src/ui-kit/InputRange/InputRangeProps.ts +3 -3
- package/src/ui-kit/InputRange/renderRangeWithTicks.tsx +3 -4
- package/src/ui-kit/Link/Link.tsx +2 -2
- package/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
- package/src/ui-kit/LinkButton/GetButtonClassParams.ts +2 -2
- package/src/ui-kit/LinkButton/LinkButtonProps.ts +6 -6
- package/src/ui-kit/LinkButton/renderArrows.tsx +10 -9
- package/src/ui-kit/LinkButton/renderButtonsSection.tsx +2 -2
- package/src/ui-kit/LinkWrapper/LinkWrapper.tsx +4 -8
- package/src/ui-kit/ListControlProps.ts +1 -1
- package/src/ui-kit/Loader/Loader.tsx +1 -1
- package/src/ui-kit/LocationDialog/LocationDialog.tsx +2 -2
- package/src/ui-kit/LocationDialog/SearchBar.tsx +2 -2
- package/src/ui-kit/ProgressBar/ProgressBar.fixture.tsx +4 -1
- package/src/ui-kit/ProgressBar/ProgressBar.tsx +3 -3
- package/src/ui-kit/Radio/RadioProps.ts +4 -4
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -3
- package/src/ui-kit/ReportDialog/ReportDialog.tsx +2 -2
- package/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +2 -2
- package/src/ui-kit/SVG.tsx +2 -2
- package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
- package/src/ui-kit/SearchDialog/SearchDialog.tsx +2 -2
- package/src/ui-kit/SearchDialog/SearchInput.tsx +4 -5
- package/src/ui-kit/Select/Option.ts +1 -1
- package/src/ui-kit/Select/Select.tsx +1 -2
- package/src/ui-kit/Select/SelectPopup.tsx +2 -3
- package/src/ui-kit/Select/useSelectPopup.tsx +2 -2
- package/src/ui-kit/Shimmer/Shimmer.tsx +2 -2
- package/src/ui-kit/Sitemap/Sitemap.mobile.tsx +2 -1
- package/src/ui-kit/Sitemap/SitemapProps.ts +2 -2
- package/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +6 -6
- package/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +3 -3
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +2 -2
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
- package/src/ui-kit/SwipeListControl/SwipeListDots.tsx +3 -2
- package/src/ui-kit/SwipeListControl/SwipeListItem.tsx +2 -2
- package/src/ui-kit/SwipeListControl/SwipeListScrollButtons.tsx +2 -2
- package/src/ui-kit/TabsControl/TabItem.tsx +8 -3
- package/src/ui-kit/TabsControl/TabsControlProps.ts +2 -2
- package/src/ui-kit/TabsControl/renderTabItemInner.tsx +2 -3
- package/src/ui-kit/Tags/Tags.tsx +2 -3
- package/src/ui-kit/TimerCircle/Timer.tsx +2 -2
- package/src/ui-kit/TimerCircle/TimerCircle.tsx +2 -2
- package/src/ui-kit/TopItem/TopItem.tsx +3 -3
- package/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
- package/src/utils/adjustBase.ts +6 -1
- package/src/utils/isCyrilic.ts +1 -1
- package/bundle/components/CarouselCard/CarouselCard.d.ts +0 -5
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +0 -11
- package/bundle/components/CarouselCard/constants.d.ts +0 -2
- package/bundle/components/CarouselCard/titleSize.d.ts +0 -1
- package/bundle/components/CarouselCard/titleSize.mobile.d.ts +0 -1
- package/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
- package/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/bundle/components/Depository/Depository.d.ts +0 -11
- package/bundle/components/Depository/DepositoryContent.d.ts +0 -5
- package/bundle/components/Depository/DepositoryFilter.d.ts +0 -9
- package/bundle/components/Depository/DepositoryItem.d.ts +0 -2
- package/bundle/components/Depository/useDepository.d.ts +0 -15
- package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -12
- package/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/bundle/components/GracePeriod/GracePeriod.d.ts +0 -5
- package/bundle/components/GracePeriod/GracePeriodContent.d.ts +0 -22
- package/bundle/components/Header/useChatBot.d.ts +0 -5
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
- package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
- package/bundle/components/Placeholder/Placeholder.d.ts +0 -5
- package/bundle/components/Placeholder/PlaceholderContent.d.ts +0 -6
- package/bundle/components/ProductGallery/ProductGallery.d.ts +0 -5
- package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
- package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
- package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/bundle/components/SafeDepositRental/RadioButtons.d.ts +0 -5
- package/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
- package/bundle/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
- package/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
- package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
- package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
- package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
- package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
- package/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
- package/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
- package/bundle/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
- package/bundle/components/SafeDepositRental/useGetRegions.d.ts +0 -6
- package/bundle/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
- package/bundle/components/SafeDepositRental/utils.d.ts +0 -4
- package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/bundle/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/bundle/components/TariffsTable/constants.d.ts +0 -4
- package/bundle/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/bundle/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/bundle/retail/utils/mainFormStateMap.d.ts +0 -2
- package/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
- package/bundle/ui-kit/ControlStateProps.d.ts +0 -3
- package/bundle/ui-kit/Rating/Rating.d.ts +0 -1
- package/bundle/ui-kit/Unit/Unit.d.ts +0 -2
- package/bundle/ui-kit/Unit/UnitProps.d.ts +0 -8
- package/dist/components/CarouselCard/CarouselCard.d.ts +0 -5
- package/dist/components/CarouselCard/CarouselCard.js +0 -16
- package/dist/components/CarouselCard/CarouselCard.js.map +0 -1
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +0 -11
- package/dist/components/CarouselCard/CarouselCardContent.js +0 -2
- package/dist/components/CarouselCard/CarouselCardContent.js.map +0 -1
- package/dist/components/CarouselCard/constants.d.ts +0 -2
- package/dist/components/CarouselCard/constants.js +0 -7
- package/dist/components/CarouselCard/constants.js.map +0 -1
- package/dist/components/CarouselCard/titleSize.d.ts +0 -1
- package/dist/components/CarouselCard/titleSize.js +0 -4
- package/dist/components/CarouselCard/titleSize.js.map +0 -1
- package/dist/components/CarouselCard/titleSize.mobile.d.ts +0 -1
- package/dist/components/CarouselCard/titleSize.mobile.js +0 -4
- package/dist/components/CarouselCard/titleSize.mobile.js.map +0 -1
- package/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
- package/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
- package/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
- package/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/dist/components/CarouselLinks/CarouselLinks.js +0 -11
- package/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
- package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
- package/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
- package/dist/components/Depository/Depository.d.ts +0 -11
- package/dist/components/Depository/Depository.js +0 -42
- package/dist/components/Depository/Depository.js.map +0 -1
- package/dist/components/Depository/DepositoryContent.d.ts +0 -5
- package/dist/components/Depository/DepositoryContent.js +0 -2
- package/dist/components/Depository/DepositoryContent.js.map +0 -1
- package/dist/components/Depository/DepositoryFilter.d.ts +0 -9
- package/dist/components/Depository/DepositoryFilter.js +0 -9
- package/dist/components/Depository/DepositoryFilter.js.map +0 -1
- package/dist/components/Depository/DepositoryItem.d.ts +0 -2
- package/dist/components/Depository/DepositoryItem.js +0 -15
- package/dist/components/Depository/DepositoryItem.js.map +0 -1
- package/dist/components/Depository/useDepository.d.ts +0 -15
- package/dist/components/Depository/useDepository.js +0 -22
- package/dist/components/Depository/useDepository.js.map +0 -1
- package/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
- package/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
- package/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
- package/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/dist/components/ExchangeRateTile/calculateResult.js +0 -11
- package/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
- package/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
- package/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
- package/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
- package/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
- package/dist/components/ExchangeRateTile/renderInput.d.ts +0 -12
- package/dist/components/ExchangeRateTile/renderInput.js +0 -16
- package/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
- package/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
- package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
- package/dist/components/GracePeriod/GracePeriod.d.ts +0 -5
- package/dist/components/GracePeriod/GracePeriod.js +0 -25
- package/dist/components/GracePeriod/GracePeriod.js.map +0 -1
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +0 -22
- package/dist/components/GracePeriod/GracePeriodContent.js +0 -2
- package/dist/components/GracePeriod/GracePeriodContent.js.map +0 -1
- package/dist/components/Header/useChatBot.d.ts +0 -5
- package/dist/components/Header/useChatBot.js +0 -61
- package/dist/components/Header/useChatBot.js.map +0 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/dist/components/InvestmentInfo/InvestmentInfo.js +0 -47
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
- package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/dist/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
- package/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
- package/dist/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
- package/dist/components/MortgageFiltration/MortgageFiltration.js +0 -36
- package/dist/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
- package/dist/components/Placeholder/Placeholder.d.ts +0 -5
- package/dist/components/Placeholder/Placeholder.js +0 -10
- package/dist/components/Placeholder/Placeholder.js.map +0 -1
- package/dist/components/Placeholder/PlaceholderContent.d.ts +0 -6
- package/dist/components/Placeholder/PlaceholderContent.js +0 -2
- package/dist/components/Placeholder/PlaceholderContent.js.map +0 -1
- package/dist/components/ProductGallery/ProductGallery.d.ts +0 -5
- package/dist/components/ProductGallery/ProductGallery.js +0 -33
- package/dist/components/ProductGallery/ProductGallery.js.map +0 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
- package/dist/components/ProductGallery/ProductGallery.mobile.js +0 -12
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
- package/dist/components/ProductGallery/ProductGalleryContent.js +0 -2
- package/dist/components/ProductGallery/ProductGalleryContent.js.map +0 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -26
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
- package/dist/components/SafeDepositRental/RadioButtons.d.ts +0 -5
- package/dist/components/SafeDepositRental/RadioButtons.js +0 -13
- package/dist/components/SafeDepositRental/RadioButtons.js.map +0 -1
- package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
- package/dist/components/SafeDepositRental/RegionsAndBranches.js +0 -7
- package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
- package/dist/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
- package/dist/components/SafeDepositRental/RentalPeriod.js +0 -11
- package/dist/components/SafeDepositRental/RentalPeriod.js.map +0 -1
- package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
- package/dist/components/SafeDepositRental/SafeBoxCases.js +0 -7
- package/dist/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
- package/dist/components/SafeDepositRental/SafeDepositRental.js +0 -33
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +0 -18
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +0 -27
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -34
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
- package/dist/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
- package/dist/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
- package/dist/components/SafeDepositRental/WrapperSelect.js +0 -13
- package/dist/components/SafeDepositRental/WrapperSelect.js.map +0 -1
- package/dist/components/SafeDepositRental/useGetRegions.d.ts +0 -6
- package/dist/components/SafeDepositRental/useGetRegions.js +0 -13
- package/dist/components/SafeDepositRental/useGetRegions.js.map +0 -1
- package/dist/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
- package/dist/components/SafeDepositRental/useSafeBoxes.js +0 -17
- package/dist/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
- package/dist/components/SafeDepositRental/utils.d.ts +0 -4
- package/dist/components/SafeDepositRental/utils.js +0 -21
- package/dist/components/SafeDepositRental/utils.js.map +0 -1
- package/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/dist/components/TariffsTable/EmbeddableCellData.js +0 -25
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +0 -1
- package/dist/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/dist/components/TariffsTable/TableTileHeader.js +0 -8
- package/dist/components/TariffsTable/TableTileHeader.js.map +0 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/dist/components/TariffsTable/TariffsTableHorizontal.js +0 -8
- package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
- package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/dist/components/TariffsTable/TariffsTableRenderCell.js +0 -41
- package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/dist/components/TariffsTable/TariffsTableTileCell.js +0 -17
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
- package/dist/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/dist/components/TariffsTable/TariffsTableVertical.js +0 -7
- package/dist/components/TariffsTable/TariffsTableVertical.js.map +0 -1
- package/dist/components/TariffsTable/constants.d.ts +0 -4
- package/dist/components/TariffsTable/constants.js +0 -7
- package/dist/components/TariffsTable/constants.js.map +0 -1
- package/dist/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/dist/components/UnitBlock/UnitBlock.js +0 -11
- package/dist/components/UnitBlock/UnitBlock.js.map +0 -1
- package/dist/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/dist/components/UnitBlock/UnitBlockContent.js +0 -2
- package/dist/components/UnitBlock/UnitBlockContent.js.map +0 -1
- package/dist/retail/utils/mainFormStateMap.d.ts +0 -2
- package/dist/retail/utils/mainFormStateMap.js +0 -68
- package/dist/retail/utils/mainFormStateMap.js.map +0 -1
- package/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
- package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
- package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
- package/dist/ui-kit/ControlProps.js.map +0 -1
- package/dist/ui-kit/ControlStateProps.d.ts +0 -3
- package/dist/ui-kit/ControlStateProps.js +0 -2
- package/dist/ui-kit/ControlStateProps.js.map +0 -1
- package/dist/ui-kit/Rating/Rating.d.ts +0 -1
- package/dist/ui-kit/Rating/Rating.js +0 -21
- package/dist/ui-kit/Rating/Rating.js.map +0 -1
- package/dist/ui-kit/Unit/Unit.d.ts +0 -2
- package/dist/ui-kit/Unit/Unit.js +0 -9
- package/dist/ui-kit/Unit/Unit.js.map +0 -1
- package/dist/ui-kit/Unit/UnitProps.d.ts +0 -8
- package/dist/ui-kit/Unit/UnitProps.js +0 -2
- package/dist/ui-kit/Unit/UnitProps.js.map +0 -1
- package/lib/components/CarouselCard/CarouselCard.d.ts +0 -5
- package/lib/components/CarouselCard/CarouselCard.fixture.d.ts +0 -11
- package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +0 -7
- package/lib/components/CarouselCard/CarouselCard.js +0 -14
- package/lib/components/CarouselCard/CarouselCard.js.map +0 -1
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +0 -11
- package/lib/components/CarouselCard/CarouselCardContent.js +0 -2
- package/lib/components/CarouselCard/CarouselCardContent.js.map +0 -1
- package/lib/components/CarouselCard/constants.d.ts +0 -2
- package/lib/components/CarouselCard/constants.js +0 -5
- package/lib/components/CarouselCard/constants.js.map +0 -1
- package/lib/components/CarouselCard/titleSize.d.ts +0 -1
- package/lib/components/CarouselCard/titleSize.js +0 -2
- package/lib/components/CarouselCard/titleSize.js.map +0 -1
- package/lib/components/CarouselCard/titleSize.mobile.d.ts +0 -1
- package/lib/components/CarouselCard/titleSize.mobile.js +0 -2
- package/lib/components/CarouselCard/titleSize.mobile.js.map +0 -1
- package/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
- package/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
- package/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
- package/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +0 -5
- package/lib/components/CarouselLinks/CarouselLinks.fixture.mobile.d.ts +0 -5
- package/lib/components/CarouselLinks/CarouselLinks.js +0 -9
- package/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
- package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
- package/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
- package/lib/components/Depository/Depository.d.ts +0 -11
- package/lib/components/Depository/Depository.fixture.d.ts +0 -5
- package/lib/components/Depository/Depository.fixture.mobile.d.ts +0 -5
- package/lib/components/Depository/Depository.js +0 -40
- package/lib/components/Depository/Depository.js.map +0 -1
- package/lib/components/Depository/DepositoryContent.d.ts +0 -5
- package/lib/components/Depository/DepositoryContent.js +0 -2
- package/lib/components/Depository/DepositoryContent.js.map +0 -1
- package/lib/components/Depository/DepositoryFilter.d.ts +0 -9
- package/lib/components/Depository/DepositoryFilter.js +0 -7
- package/lib/components/Depository/DepositoryFilter.js.map +0 -1
- package/lib/components/Depository/DepositoryItem.d.ts +0 -2
- package/lib/components/Depository/DepositoryItem.js +0 -13
- package/lib/components/Depository/DepositoryItem.js.map +0 -1
- package/lib/components/Depository/useDepository.d.ts +0 -15
- package/lib/components/Depository/useDepository.js +0 -19
- package/lib/components/Depository/useDepository.js.map +0 -1
- package/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
- package/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
- package/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +0 -5
- package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.d.ts +0 -5
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
- package/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/lib/components/ExchangeRateTile/calculateResult.js +0 -7
- package/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
- package/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
- package/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
- package/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
- package/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
- package/lib/components/ExchangeRateTile/renderInput.d.ts +0 -12
- package/lib/components/ExchangeRateTile/renderInput.js +0 -13
- package/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
- package/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
- package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
- package/lib/components/GracePeriod/GracePeriod.d.ts +0 -5
- package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +0 -7
- package/lib/components/GracePeriod/GracePeriod.js +0 -23
- package/lib/components/GracePeriod/GracePeriod.js.map +0 -1
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +0 -22
- package/lib/components/GracePeriod/GracePeriodContent.js +0 -2
- package/lib/components/GracePeriod/GracePeriodContent.js.map +0 -1
- package/lib/components/Header/useChatBot.d.ts +0 -5
- package/lib/components/Header/useChatBot.js +0 -58
- package/lib/components/Header/useChatBot.js.map +0 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +0 -5
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +0 -7
- package/lib/components/InvestmentInfo/InvestmentInfo.js +0 -45
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
- package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/lib/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
- package/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
- package/lib/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
- package/lib/components/MortgageFiltration/MortgageFiltration.fixture.d.ts +0 -6
- package/lib/components/MortgageFiltration/MortgageFiltration.fixture.mobile.d.ts +0 -6
- package/lib/components/MortgageFiltration/MortgageFiltration.js +0 -34
- package/lib/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
- package/lib/components/Placeholder/Placeholder.d.ts +0 -5
- package/lib/components/Placeholder/Placeholder.fixture.d.ts +0 -5
- package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +0 -3
- package/lib/components/Placeholder/Placeholder.js +0 -8
- package/lib/components/Placeholder/Placeholder.js.map +0 -1
- package/lib/components/Placeholder/PlaceholderContent.d.ts +0 -6
- package/lib/components/Placeholder/PlaceholderContent.js +0 -2
- package/lib/components/Placeholder/PlaceholderContent.js.map +0 -1
- package/lib/components/ProductGallery/ProductGallery.d.ts +0 -5
- package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +0 -6
- package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +0 -6
- package/lib/components/ProductGallery/ProductGallery.js +0 -31
- package/lib/components/ProductGallery/ProductGallery.js.map +0 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
- package/lib/components/ProductGallery/ProductGallery.mobile.js +0 -10
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
- package/lib/components/ProductGallery/ProductGalleryContent.js +0 -2
- package/lib/components/ProductGallery/ProductGalleryContent.js.map +0 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.d.ts +0 -5
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.d.ts +0 -5
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -24
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
- package/lib/components/SafeDepositRental/RadioButtons.d.ts +0 -5
- package/lib/components/SafeDepositRental/RadioButtons.js +0 -11
- package/lib/components/SafeDepositRental/RadioButtons.js.map +0 -1
- package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
- package/lib/components/SafeDepositRental/RegionsAndBranches.js +0 -5
- package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
- package/lib/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
- package/lib/components/SafeDepositRental/RentalPeriod.js +0 -9
- package/lib/components/SafeDepositRental/RentalPeriod.js.map +0 -1
- package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
- package/lib/components/SafeDepositRental/SafeBoxCases.js +0 -5
- package/lib/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
- package/lib/components/SafeDepositRental/SafeDepositRental.fixture.d.ts +0 -5
- package/lib/components/SafeDepositRental/SafeDepositRental.fixture.mobile.d.ts +0 -5
- package/lib/components/SafeDepositRental/SafeDepositRental.js +0 -31
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +0 -16
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +0 -25
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -32
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
- package/lib/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
- package/lib/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
- package/lib/components/SafeDepositRental/WrapperSelect.js +0 -11
- package/lib/components/SafeDepositRental/WrapperSelect.js.map +0 -1
- package/lib/components/SafeDepositRental/useGetRegions.d.ts +0 -6
- package/lib/components/SafeDepositRental/useGetRegions.js +0 -10
- package/lib/components/SafeDepositRental/useGetRegions.js.map +0 -1
- package/lib/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
- package/lib/components/SafeDepositRental/useSafeBoxes.js +0 -14
- package/lib/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
- package/lib/components/SafeDepositRental/utils.d.ts +0 -4
- package/lib/components/SafeDepositRental/utils.js +0 -17
- package/lib/components/SafeDepositRental/utils.js.map +0 -1
- package/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/lib/components/TariffsTable/EmbeddableCellData.js +0 -23
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +0 -1
- package/lib/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/lib/components/TariffsTable/TableTileHeader.js +0 -6
- package/lib/components/TariffsTable/TableTileHeader.js.map +0 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/lib/components/TariffsTable/TariffsTableHorizontal.js +0 -6
- package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
- package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/lib/components/TariffsTable/TariffsTableRenderCell.js +0 -39
- package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/lib/components/TariffsTable/TariffsTableTileCell.js +0 -15
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
- package/lib/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/lib/components/TariffsTable/TariffsTableVertical.js +0 -5
- package/lib/components/TariffsTable/TariffsTableVertical.js.map +0 -1
- package/lib/components/TariffsTable/constants.d.ts +0 -4
- package/lib/components/TariffsTable/constants.js +0 -5
- package/lib/components/TariffsTable/constants.js.map +0 -1
- package/lib/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/lib/components/UnitBlock/UnitBlock.fixture.d.ts +0 -6
- package/lib/components/UnitBlock/UnitBlock.fixture.mobile.d.ts +0 -6
- package/lib/components/UnitBlock/UnitBlock.js +0 -9
- package/lib/components/UnitBlock/UnitBlock.js.map +0 -1
- package/lib/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/lib/components/UnitBlock/UnitBlockContent.js +0 -2
- package/lib/components/UnitBlock/UnitBlockContent.js.map +0 -1
- package/lib/retail/utils/mainFormStateMap.d.ts +0 -2
- package/lib/retail/utils/mainFormStateMap.js +0 -66
- package/lib/retail/utils/mainFormStateMap.js.map +0 -1
- package/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
- package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
- package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
- package/lib/ui-kit/ControlProps.js.map +0 -1
- package/lib/ui-kit/ControlStateProps.d.ts +0 -3
- package/lib/ui-kit/ControlStateProps.js +0 -2
- package/lib/ui-kit/ControlStateProps.js.map +0 -1
- package/lib/ui-kit/Rating/Rating.d.ts +0 -1
- package/lib/ui-kit/Rating/Rating.fixture.d.ts +0 -5
- package/lib/ui-kit/Rating/Rating.js +0 -18
- package/lib/ui-kit/Rating/Rating.js.map +0 -1
- package/lib/ui-kit/Unit/Unit.d.ts +0 -2
- package/lib/ui-kit/Unit/Unit.js +0 -7
- package/lib/ui-kit/Unit/Unit.js.map +0 -1
- package/lib/ui-kit/Unit/UnitProps.d.ts +0 -8
- package/lib/ui-kit/Unit/UnitProps.js +0 -2
- package/lib/ui-kit/Unit/UnitProps.js.map +0 -1
- package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +0 -5
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +0 -11
- package/mobile/bundle/components/CarouselCard/constants.d.ts +0 -2
- package/mobile/bundle/components/CarouselCard/titleSize.d.ts +0 -1
- package/mobile/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
- package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/mobile/bundle/components/Depository/Depository.d.ts +0 -11
- package/mobile/bundle/components/Depository/DepositoryContent.d.ts +0 -5
- package/mobile/bundle/components/Depository/DepositoryFilter.d.ts +0 -9
- package/mobile/bundle/components/Depository/DepositoryItem.d.ts +0 -2
- package/mobile/bundle/components/Depository/useDepository.d.ts +0 -15
- package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -12
- package/mobile/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +0 -5
- package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +0 -22
- package/mobile/bundle/components/Header/useChatBot.d.ts +0 -5
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/mobile/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
- package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
- package/mobile/bundle/components/Placeholder/Placeholder.d.ts +0 -5
- package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +0 -6
- package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +0 -5
- package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
- package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/mobile/bundle/components/SafeDepositRental/RadioButtons.d.ts +0 -5
- package/mobile/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
- package/mobile/bundle/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
- package/mobile/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
- package/mobile/bundle/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
- package/mobile/bundle/components/SafeDepositRental/useGetRegions.d.ts +0 -6
- package/mobile/bundle/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
- package/mobile/bundle/components/SafeDepositRental/utils.d.ts +0 -4
- package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/mobile/bundle/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/mobile/bundle/components/TariffsTable/constants.d.ts +0 -4
- package/mobile/bundle/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/mobile/bundle/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/mobile/bundle/retail/utils/mainFormStateMap.d.ts +0 -2
- package/mobile/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
- package/mobile/bundle/ui-kit/ControlStateProps.d.ts +0 -3
- package/mobile/bundle/ui-kit/Rating/Rating.d.ts +0 -1
- package/mobile/bundle/ui-kit/Unit/Unit.d.ts +0 -2
- package/mobile/bundle/ui-kit/Unit/UnitProps.d.ts +0 -8
- package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +0 -5
- package/mobile/dist/components/CarouselCard/CarouselCard.js +0 -16
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +0 -1
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +0 -11
- package/mobile/dist/components/CarouselCard/CarouselCardContent.js +0 -2
- package/mobile/dist/components/CarouselCard/CarouselCardContent.js.map +0 -1
- package/mobile/dist/components/CarouselCard/constants.d.ts +0 -2
- package/mobile/dist/components/CarouselCard/constants.js +0 -7
- package/mobile/dist/components/CarouselCard/constants.js.map +0 -1
- package/mobile/dist/components/CarouselCard/titleSize.d.ts +0 -1
- package/mobile/dist/components/CarouselCard/titleSize.js +0 -4
- package/mobile/dist/components/CarouselCard/titleSize.js.map +0 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +0 -11
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
- package/mobile/dist/components/Depository/Depository.d.ts +0 -11
- package/mobile/dist/components/Depository/Depository.js +0 -42
- package/mobile/dist/components/Depository/Depository.js.map +0 -1
- package/mobile/dist/components/Depository/DepositoryContent.d.ts +0 -5
- package/mobile/dist/components/Depository/DepositoryContent.js +0 -2
- package/mobile/dist/components/Depository/DepositoryContent.js.map +0 -1
- package/mobile/dist/components/Depository/DepositoryFilter.d.ts +0 -9
- package/mobile/dist/components/Depository/DepositoryFilter.js +0 -9
- package/mobile/dist/components/Depository/DepositoryFilter.js.map +0 -1
- package/mobile/dist/components/Depository/DepositoryItem.d.ts +0 -2
- package/mobile/dist/components/Depository/DepositoryItem.js +0 -15
- package/mobile/dist/components/Depository/DepositoryItem.js.map +0 -1
- package/mobile/dist/components/Depository/useDepository.d.ts +0 -15
- package/mobile/dist/components/Depository/useDepository.js +0 -22
- package/mobile/dist/components/Depository/useDepository.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
- package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/mobile/dist/components/ExchangeRateTile/calculateResult.js +0 -11
- package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
- package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/mobile/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
- package/mobile/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +0 -12
- package/mobile/dist/components/ExchangeRateTile/renderInput.js +0 -16
- package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
- package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
- package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +0 -5
- package/mobile/dist/components/GracePeriod/GracePeriod.js +0 -25
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +0 -1
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +0 -22
- package/mobile/dist/components/GracePeriod/GracePeriodContent.js +0 -2
- package/mobile/dist/components/GracePeriod/GracePeriodContent.js.map +0 -1
- package/mobile/dist/components/Header/useChatBot.d.ts +0 -5
- package/mobile/dist/components/Header/useChatBot.js +0 -61
- package/mobile/dist/components/Header/useChatBot.js.map +0 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +0 -47
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +0 -36
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +0 -5
- package/mobile/dist/components/Placeholder/Placeholder.js +0 -10
- package/mobile/dist/components/Placeholder/Placeholder.js.map +0 -1
- package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +0 -6
- package/mobile/dist/components/Placeholder/PlaceholderContent.js +0 -2
- package/mobile/dist/components/Placeholder/PlaceholderContent.js.map +0 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +0 -5
- package/mobile/dist/components/ProductGallery/ProductGallery.js +0 -12
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +0 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.js +0 -2
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.js.map +0 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -26
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/RadioButtons.d.ts +0 -5
- package/mobile/dist/components/SafeDepositRental/RadioButtons.js +0 -13
- package/mobile/dist/components/SafeDepositRental/RadioButtons.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +0 -7
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +0 -11
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +0 -7
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +0 -33
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +0 -18
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +0 -27
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -34
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
- package/mobile/dist/components/SafeDepositRental/WrapperSelect.js +0 -13
- package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/useGetRegions.d.ts +0 -6
- package/mobile/dist/components/SafeDepositRental/useGetRegions.js +0 -13
- package/mobile/dist/components/SafeDepositRental/useGetRegions.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
- package/mobile/dist/components/SafeDepositRental/useSafeBoxes.js +0 -17
- package/mobile/dist/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/utils.d.ts +0 -4
- package/mobile/dist/components/SafeDepositRental/utils.js +0 -21
- package/mobile/dist/components/SafeDepositRental/utils.js.map +0 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +0 -25
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +0 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/mobile/dist/components/TariffsTable/TableTileHeader.js +0 -8
- package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +0 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +0 -8
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +0 -41
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +0 -17
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +0 -7
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +0 -1
- package/mobile/dist/components/TariffsTable/constants.d.ts +0 -4
- package/mobile/dist/components/TariffsTable/constants.js +0 -7
- package/mobile/dist/components/TariffsTable/constants.js.map +0 -1
- package/mobile/dist/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/mobile/dist/components/UnitBlock/UnitBlock.js +0 -11
- package/mobile/dist/components/UnitBlock/UnitBlock.js.map +0 -1
- package/mobile/dist/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/mobile/dist/components/UnitBlock/UnitBlockContent.js +0 -2
- package/mobile/dist/components/UnitBlock/UnitBlockContent.js.map +0 -1
- package/mobile/dist/retail/utils/mainFormStateMap.d.ts +0 -2
- package/mobile/dist/retail/utils/mainFormStateMap.js +0 -68
- package/mobile/dist/retail/utils/mainFormStateMap.js.map +0 -1
- package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
- package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
- package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
- package/mobile/dist/ui-kit/ControlProps.js.map +0 -1
- package/mobile/dist/ui-kit/ControlStateProps.d.ts +0 -3
- package/mobile/dist/ui-kit/ControlStateProps.js +0 -2
- package/mobile/dist/ui-kit/ControlStateProps.js.map +0 -1
- package/mobile/dist/ui-kit/Rating/Rating.d.ts +0 -1
- package/mobile/dist/ui-kit/Rating/Rating.js +0 -21
- package/mobile/dist/ui-kit/Rating/Rating.js.map +0 -1
- package/mobile/dist/ui-kit/Unit/Unit.d.ts +0 -2
- package/mobile/dist/ui-kit/Unit/Unit.js +0 -9
- package/mobile/dist/ui-kit/Unit/Unit.js.map +0 -1
- package/mobile/dist/ui-kit/Unit/UnitProps.d.ts +0 -8
- package/mobile/dist/ui-kit/Unit/UnitProps.js +0 -2
- package/mobile/dist/ui-kit/Unit/UnitProps.js.map +0 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +0 -5
- package/mobile/lib/components/CarouselCard/CarouselCard.js +0 -14
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +0 -1
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +0 -11
- package/mobile/lib/components/CarouselCard/CarouselCardContent.js +0 -2
- package/mobile/lib/components/CarouselCard/CarouselCardContent.js.map +0 -1
- package/mobile/lib/components/CarouselCard/constants.d.ts +0 -2
- package/mobile/lib/components/CarouselCard/constants.js +0 -5
- package/mobile/lib/components/CarouselCard/constants.js.map +0 -1
- package/mobile/lib/components/CarouselCard/titleSize.d.ts +0 -1
- package/mobile/lib/components/CarouselCard/titleSize.js +0 -2
- package/mobile/lib/components/CarouselCard/titleSize.js.map +0 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +0 -9
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
- package/mobile/lib/components/Depository/Depository.d.ts +0 -11
- package/mobile/lib/components/Depository/Depository.js +0 -40
- package/mobile/lib/components/Depository/Depository.js.map +0 -1
- package/mobile/lib/components/Depository/DepositoryContent.d.ts +0 -5
- package/mobile/lib/components/Depository/DepositoryContent.js +0 -2
- package/mobile/lib/components/Depository/DepositoryContent.js.map +0 -1
- package/mobile/lib/components/Depository/DepositoryFilter.d.ts +0 -9
- package/mobile/lib/components/Depository/DepositoryFilter.js +0 -7
- package/mobile/lib/components/Depository/DepositoryFilter.js.map +0 -1
- package/mobile/lib/components/Depository/DepositoryItem.d.ts +0 -2
- package/mobile/lib/components/Depository/DepositoryItem.js +0 -13
- package/mobile/lib/components/Depository/DepositoryItem.js.map +0 -1
- package/mobile/lib/components/Depository/useDepository.d.ts +0 -15
- package/mobile/lib/components/Depository/useDepository.js +0 -19
- package/mobile/lib/components/Depository/useDepository.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
- package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
- package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
- package/mobile/lib/components/ExchangeRateTile/calculateResult.js +0 -7
- package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
- package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
- package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
- package/mobile/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
- package/mobile/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +0 -12
- package/mobile/lib/components/ExchangeRateTile/renderInput.js +0 -13
- package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
- package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
- package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
- package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +0 -5
- package/mobile/lib/components/GracePeriod/GracePeriod.js +0 -23
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +0 -1
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +0 -22
- package/mobile/lib/components/GracePeriod/GracePeriodContent.js +0 -2
- package/mobile/lib/components/GracePeriod/GracePeriodContent.js.map +0 -1
- package/mobile/lib/components/Header/useChatBot.d.ts +0 -5
- package/mobile/lib/components/Header/useChatBot.js +0 -58
- package/mobile/lib/components/Header/useChatBot.js.map +0 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +0 -45
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +0 -34
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +0 -5
- package/mobile/lib/components/Placeholder/Placeholder.js +0 -8
- package/mobile/lib/components/Placeholder/Placeholder.js.map +0 -1
- package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +0 -6
- package/mobile/lib/components/Placeholder/PlaceholderContent.js +0 -2
- package/mobile/lib/components/Placeholder/PlaceholderContent.js.map +0 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +0 -5
- package/mobile/lib/components/ProductGallery/ProductGallery.js +0 -10
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +0 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.js +0 -2
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.js.map +0 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -24
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/RadioButtons.d.ts +0 -5
- package/mobile/lib/components/SafeDepositRental/RadioButtons.js +0 -11
- package/mobile/lib/components/SafeDepositRental/RadioButtons.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +0 -5
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +0 -9
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +0 -5
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +0 -31
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +0 -16
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +0 -25
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -32
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
- package/mobile/lib/components/SafeDepositRental/WrapperSelect.js +0 -11
- package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/useGetRegions.d.ts +0 -6
- package/mobile/lib/components/SafeDepositRental/useGetRegions.js +0 -10
- package/mobile/lib/components/SafeDepositRental/useGetRegions.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
- package/mobile/lib/components/SafeDepositRental/useSafeBoxes.js +0 -14
- package/mobile/lib/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/utils.d.ts +0 -4
- package/mobile/lib/components/SafeDepositRental/utils.js +0 -17
- package/mobile/lib/components/SafeDepositRental/utils.js.map +0 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +0 -23
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +0 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/mobile/lib/components/TariffsTable/TableTileHeader.js +0 -6
- package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +0 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +0 -6
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +0 -39
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +0 -15
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +0 -5
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +0 -1
- package/mobile/lib/components/TariffsTable/constants.d.ts +0 -4
- package/mobile/lib/components/TariffsTable/constants.js +0 -5
- package/mobile/lib/components/TariffsTable/constants.js.map +0 -1
- package/mobile/lib/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/mobile/lib/components/UnitBlock/UnitBlock.js +0 -9
- package/mobile/lib/components/UnitBlock/UnitBlock.js.map +0 -1
- package/mobile/lib/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/mobile/lib/components/UnitBlock/UnitBlockContent.js +0 -2
- package/mobile/lib/components/UnitBlock/UnitBlockContent.js.map +0 -1
- package/mobile/lib/retail/utils/mainFormStateMap.d.ts +0 -2
- package/mobile/lib/retail/utils/mainFormStateMap.js +0 -66
- package/mobile/lib/retail/utils/mainFormStateMap.js.map +0 -1
- package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
- package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
- package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
- package/mobile/lib/ui-kit/ControlProps.js.map +0 -1
- package/mobile/lib/ui-kit/ControlStateProps.d.ts +0 -3
- package/mobile/lib/ui-kit/ControlStateProps.js +0 -2
- package/mobile/lib/ui-kit/ControlStateProps.js.map +0 -1
- package/mobile/lib/ui-kit/Rating/Rating.d.ts +0 -1
- package/mobile/lib/ui-kit/Rating/Rating.js +0 -18
- package/mobile/lib/ui-kit/Rating/Rating.js.map +0 -1
- package/mobile/lib/ui-kit/Unit/Unit.d.ts +0 -2
- package/mobile/lib/ui-kit/Unit/Unit.js +0 -7
- package/mobile/lib/ui-kit/Unit/Unit.js.map +0 -1
- package/mobile/lib/ui-kit/Unit/UnitProps.d.ts +0 -8
- package/mobile/lib/ui-kit/Unit/UnitProps.js +0 -2
- package/mobile/lib/ui-kit/Unit/UnitProps.js.map +0 -1
- package/mobile/src/components/CarouselCard/CarouselCard.example.json +0 -14
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +0 -47
- package/mobile/src/components/CarouselCard/CarouselCard.ui.json +0 -1
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +0 -13
- package/mobile/src/components/CarouselCard/constants.ts +0 -6
- package/mobile/src/components/CarouselCard/titleSize.tsx +0 -1
- package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -37
- package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
- package/mobile/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
- package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
- package/mobile/src/components/Depository/Depository.example.json +0 -6
- package/mobile/src/components/Depository/Depository.tsx +0 -84
- package/mobile/src/components/Depository/Depository.ui.json +0 -1
- package/mobile/src/components/Depository/DepositoryContent.ts +0 -6
- package/mobile/src/components/Depository/DepositoryFilter.tsx +0 -41
- package/mobile/src/components/Depository/DepositoryItem.tsx +0 -31
- package/mobile/src/components/Depository/useDepository.ts +0 -46
- package/mobile/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
- package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -153
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
- package/mobile/src/components/ExchangeRateTile/calculateResult.ts +0 -9
- package/mobile/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
- package/mobile/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
- package/mobile/src/components/ExchangeRateTile/renderInput.tsx +0 -44
- package/mobile/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
- package/mobile/src/components/GracePeriod/GracePeriod.example.json +0 -89
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +0 -87
- package/mobile/src/components/GracePeriod/GracePeriod.ui.json +0 -20
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +0 -26
- package/mobile/src/components/Header/useChatBot.ts +0 -86
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +0 -53
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +0 -131
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.ui.json +0 -13
- package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +0 -51
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.example.json +0 -115
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +0 -69
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.ui.json +0 -12
- package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +0 -38
- package/mobile/src/components/Placeholder/Placeholder.tsx +0 -25
- package/mobile/src/components/Placeholder/Placeholder.ui.json +0 -1
- package/mobile/src/components/Placeholder/PlaceholderContent.ts +0 -7
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +0 -72
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +0 -29
- package/mobile/src/components/ProductGallery/ProductGallery.ui.json +0 -42
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +0 -27
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +0 -14
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +0 -94
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +0 -24
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +0 -22
- package/mobile/src/components/SafeDepositRental/RadioButtons.tsx +0 -33
- package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +0 -48
- package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +0 -21
- package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +0 -46
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +0 -75
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.ui.json +0 -8
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +0 -8
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +0 -74
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +0 -62
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +0 -74
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -9
- package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +0 -33
- package/mobile/src/components/SafeDepositRental/useGetRegions.ts +0 -19
- package/mobile/src/components/SafeDepositRental/useSafeBoxes.ts +0 -44
- package/mobile/src/components/SafeDepositRental/utils.ts +0 -24
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +0 -79
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +0 -15
- package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +0 -14
- package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -83
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +0 -33
- package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +0 -13
- package/mobile/src/components/TariffsTable/constants.ts +0 -4
- package/mobile/src/components/UnitBlock/UnitBlock.example.json +0 -9
- package/mobile/src/components/UnitBlock/UnitBlock.tsx +0 -17
- package/mobile/src/components/UnitBlock/UnitBlock.ui.json +0 -1
- package/mobile/src/components/UnitBlock/UnitBlockContent.ts +0 -7
- package/mobile/src/retail/utils/mainFormStateMap.ts +0 -67
- package/mobile/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +0 -8
- package/mobile/src/ui-kit/ControlStateProps.ts +0 -3
- package/mobile/src/ui-kit/Rating/Rating.tsx +0 -39
- package/mobile/src/ui-kit/Unit/Unit.tsx +0 -26
- package/mobile/src/ui-kit/Unit/UnitProps.ts +0 -8
- package/src/components/CarouselCard/CarouselCard.example.json +0 -14
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +0 -28
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +0 -53
- package/src/components/CarouselCard/CarouselCard.tsx +0 -47
- package/src/components/CarouselCard/CarouselCard.ui.json +0 -1
- package/src/components/CarouselCard/CarouselCardContent.ts +0 -13
- package/src/components/CarouselCard/constants.ts +0 -6
- package/src/components/CarouselCard/titleSize.mobile.tsx +0 -1
- package/src/components/CarouselCard/titleSize.tsx +0 -1
- package/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -37
- package/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
- package/src/components/CarouselLinks/CarouselLinks.fixture.mobile.tsx +0 -83
- package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +0 -40
- package/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
- package/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
- package/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
- package/src/components/Depository/Depository.example.json +0 -6
- package/src/components/Depository/Depository.fixture.mobile.tsx +0 -12
- package/src/components/Depository/Depository.fixture.tsx +0 -12
- package/src/components/Depository/Depository.tsx +0 -84
- package/src/components/Depository/Depository.ui.json +0 -1
- package/src/components/Depository/DepositoryContent.ts +0 -6
- package/src/components/Depository/DepositoryFilter.tsx +0 -41
- package/src/components/Depository/DepositoryItem.tsx +0 -31
- package/src/components/Depository/useDepository.ts +0 -46
- package/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
- package/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -153
- package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +0 -19
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +0 -21
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
- package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
- package/src/components/ExchangeRateTile/calculateResult.ts +0 -9
- package/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
- package/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
- package/src/components/ExchangeRateTile/renderInput.tsx +0 -44
- package/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
- package/src/components/GracePeriod/GracePeriod.example.json +0 -89
- package/src/components/GracePeriod/GracePeriod.fixture.tsx +0 -109
- package/src/components/GracePeriod/GracePeriod.tsx +0 -87
- package/src/components/GracePeriod/GracePeriod.ui.json +0 -20
- package/src/components/GracePeriod/GracePeriodContent.ts +0 -26
- package/src/components/Header/useChatBot.ts +0 -86
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +0 -62
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
- package/src/components/InvestmentInfo/InvestmentInfo.example.json +0 -53
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +0 -109
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +0 -131
- package/src/components/InvestmentInfo/InvestmentInfo.ui.json +0 -13
- package/src/components/InvestmentInfo/InvestmentInfoContent.ts +0 -51
- package/src/components/MortgageFiltration/MortgageFiltration.example.json +0 -115
- package/src/components/MortgageFiltration/MortgageFiltration.fixture.mobile.tsx +0 -226
- package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +0 -226
- package/src/components/MortgageFiltration/MortgageFiltration.tsx +0 -69
- package/src/components/MortgageFiltration/MortgageFiltration.ui.json +0 -12
- package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +0 -38
- package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +0 -9
- package/src/components/Placeholder/Placeholder.fixture.tsx +0 -11
- package/src/components/Placeholder/Placeholder.tsx +0 -25
- package/src/components/Placeholder/Placeholder.ui.json +0 -1
- package/src/components/Placeholder/PlaceholderContent.ts +0 -7
- package/src/components/ProductGallery/ProductGallery.example.json +0 -72
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -146
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +0 -120
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +0 -29
- package/src/components/ProductGallery/ProductGallery.tsx +0 -117
- package/src/components/ProductGallery/ProductGallery.ui.json +0 -42
- package/src/components/ProductGallery/ProductGalleryContent.ts +0 -27
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +0 -14
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +0 -47
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +0 -47
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +0 -94
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +0 -24
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +0 -22
- package/src/components/SafeDepositRental/RadioButtons.tsx +0 -33
- package/src/components/SafeDepositRental/RegionsAndBranches.tsx +0 -48
- package/src/components/SafeDepositRental/RentalPeriod.tsx +0 -21
- package/src/components/SafeDepositRental/SafeBoxCases.tsx +0 -46
- package/src/components/SafeDepositRental/SafeDepositRental.fixture.mobile.tsx +0 -15
- package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +0 -17
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +0 -75
- package/src/components/SafeDepositRental/SafeDepositRental.ui.json +0 -8
- package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +0 -8
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +0 -74
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +0 -62
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +0 -74
- package/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -9
- package/src/components/SafeDepositRental/WrapperSelect.tsx +0 -33
- package/src/components/SafeDepositRental/useGetRegions.ts +0 -19
- package/src/components/SafeDepositRental/useSafeBoxes.ts +0 -44
- package/src/components/SafeDepositRental/utils.ts +0 -24
- package/src/components/TariffsTable/EmbeddableCellData.tsx +0 -79
- package/src/components/TariffsTable/TableTileHeader.tsx +0 -15
- package/src/components/TariffsTable/TariffsTableHorizontal.tsx +0 -14
- package/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -83
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +0 -33
- package/src/components/TariffsTable/TariffsTableVertical.tsx +0 -13
- package/src/components/TariffsTable/constants.ts +0 -4
- package/src/components/UnitBlock/UnitBlock.example.json +0 -9
- package/src/components/UnitBlock/UnitBlock.fixture.mobile.tsx +0 -27
- package/src/components/UnitBlock/UnitBlock.fixture.tsx +0 -27
- package/src/components/UnitBlock/UnitBlock.tsx +0 -17
- package/src/components/UnitBlock/UnitBlock.ui.json +0 -1
- package/src/components/UnitBlock/UnitBlockContent.ts +0 -7
- package/src/retail/utils/mainFormStateMap.ts +0 -67
- package/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +0 -8
- package/src/ui-kit/ControlStateProps.ts +0 -3
- package/src/ui-kit/Rating/Rating.fixture.tsx +0 -7
- package/src/ui-kit/Rating/Rating.tsx +0 -39
- package/src/ui-kit/Unit/Unit.tsx +0 -26
- package/src/ui-kit/Unit/UnitProps.ts +0 -8
- /package/bundle/{ui-kit → model}/ControlProps.d.ts +0 -0
- /package/dist/{ui-kit → model}/ControlProps.d.ts +0 -0
- /package/dist/{ui-kit → model}/ControlProps.js +0 -0
- /package/lib/{ui-kit → model}/ControlProps.d.ts +0 -0
- /package/lib/{ui-kit → model}/ControlProps.js +0 -0
- /package/mobile/bundle/{ui-kit → model}/ControlProps.d.ts +0 -0
- /package/mobile/dist/{ui-kit → model}/ControlProps.d.ts +0 -0
- /package/mobile/dist/{ui-kit → model}/ControlProps.js +0 -0
- /package/mobile/lib/{ui-kit → model}/ControlProps.d.ts +0 -0
- /package/mobile/lib/{ui-kit → model}/ControlProps.js +0 -0
- /package/mobile/src/{ui-kit → model}/ControlProps.ts +0 -0
- /package/src/{ui-kit → model}/ControlProps.ts +0 -0
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isEmbedded = false, isTheme = false, ...rest }) => {
|
|
146
146
|
const versionStyle = headlineVersionStyles[headlineVersion];
|
|
147
147
|
const descriptionStyle = { marginTop: versionStyle.descriptionStyle };
|
|
148
|
-
return (jsxs(BlockWrapper, { className: style({ '@container-normal': isEmbedded }, className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-
|
|
148
|
+
return (jsxs(BlockWrapper, { className: style({ '@container-normal': isEmbedded }, className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-normal', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
|
|
149
149
|
});
|
|
150
150
|
|
|
151
151
|
const DEFAULT_SLOT_NAME = null;
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
|
|
155
155
|
const DEFAULT_ANCESTORS = [];
|
|
156
156
|
const defaultStyle$2 = 'col-span-12';
|
|
157
|
-
function renderBlock
|
|
157
|
+
function renderBlock(block, options, { className, ...extraProps } = {}) {
|
|
158
158
|
const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, } = options;
|
|
159
159
|
const { type } = block;
|
|
160
160
|
if (!(type && type in blocksRegistry)) {
|
|
@@ -174,9 +174,9 @@
|
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
const EMPTY_ANCESTORS = [];
|
|
177
|
-
const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock
|
|
177
|
+
const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock, ...options }) => {
|
|
178
178
|
const renderChildBlock = extraProps
|
|
179
|
-
? (childBlock, childOptions) => renderBlock
|
|
179
|
+
? (childBlock, childOptions) => renderBlock(childBlock, childOptions, extraProps)
|
|
180
180
|
: renderProps;
|
|
181
181
|
return (blocks || []).map((_, i) => renderChildBlock(_, {
|
|
182
182
|
...options,
|
|
@@ -481,8 +481,12 @@
|
|
|
481
481
|
|
|
482
482
|
const useDialogManager = () => useEmitterWithActions(defaultEventBus.emitter, 'dialog');
|
|
483
483
|
|
|
484
|
-
const
|
|
484
|
+
const FORWARD_SLASH = '/';
|
|
485
|
+
const adjustBase = (href = FORWARD_SLASH, basePath = FORWARD_SLASH) => [href, basePath].some((_) => _ === FORWARD_SLASH)
|
|
486
|
+
? href
|
|
487
|
+
: href.replace(basePath, '') || FORWARD_SLASH;
|
|
485
488
|
|
|
489
|
+
const RESERVED_PREFIX = ['/api'];
|
|
486
490
|
function useLink() {
|
|
487
491
|
const router = useRouter();
|
|
488
492
|
const { closeAll } = useDialogManager();
|
|
@@ -505,7 +509,7 @@
|
|
|
505
509
|
};
|
|
506
510
|
}
|
|
507
511
|
const isClientRouting = (href, target, basePath) => isLocalURL(href, target) &&
|
|
508
|
-
!env.SUB_PORTALS?.split(',')
|
|
512
|
+
![...RESERVED_PREFIX, ...(env.SUB_PORTALS?.split(',') ?? [])].some(hasPrefix(href)) &&
|
|
509
513
|
hasPrefix(href)(basePath || '/');
|
|
510
514
|
|
|
511
515
|
const getAspectsAttributes = (data) => {
|
|
@@ -521,7 +525,7 @@
|
|
|
521
525
|
const ButtonInner = JSX((props) => {
|
|
522
526
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
523
527
|
const iconHideStyle = isWithText(props) && 'hidden lg:block';
|
|
524
|
-
return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s
|
|
528
|
+
return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendRight })) : null] }));
|
|
525
529
|
});
|
|
526
530
|
const buttonStyle$1 = (props) => {
|
|
527
531
|
const { version, aboveText, rounded } = props;
|
|
@@ -640,7 +644,7 @@
|
|
|
640
644
|
imageAlign,
|
|
641
645
|
}), buttons ? jsx("div", { className: "self-end", children: buttons }) : null] })] })] }));
|
|
642
646
|
});
|
|
643
|
-
const renderMiddleContent = (insetTitle, children) => insetTitle || children ? (jsxs("div", { className: "grow space-y-lg
|
|
647
|
+
const renderMiddleContent = (insetTitle, children) => insetTitle || children ? (jsxs("div", { className: "grow space-y-lg w-fit", children: [insetTitle, children] })) : null;
|
|
644
648
|
const imageAlwaysOnRightContainerStyle = (isImage) => style(isImage ? 'row-span-2' : '@xl:row-span-2');
|
|
645
649
|
const renderUnitContainer = (childrenBlocks) => childrenBlocks?.length ? (jsx("div", { className: "flex items-start justify-end", children: childrenBlocks })) : null;
|
|
646
650
|
|
|
@@ -759,10 +763,10 @@
|
|
|
759
763
|
const and = (a, b) => (...args) => a(...args) && b(...args);
|
|
760
764
|
|
|
761
765
|
const table = (...table) => (...input) => {
|
|
762
|
-
const [, unit] = assertNonEmpty
|
|
766
|
+
const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(...input)));
|
|
763
767
|
return unit(...input);
|
|
764
768
|
};
|
|
765
|
-
function assertNonEmpty
|
|
769
|
+
function assertNonEmpty(value) {
|
|
766
770
|
if (!value) {
|
|
767
771
|
throw new Error('Value should be fulfilled');
|
|
768
772
|
}
|
|
@@ -981,7 +985,7 @@
|
|
|
981
985
|
return OutputComponent;
|
|
982
986
|
}
|
|
983
987
|
|
|
984
|
-
const ProductBlock = UniBlock(({ className, padding, defaultPadding, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: defaultPadding || 'p-6xl', padding: padding, className: "grow h-full", ...rest }) }))
|
|
988
|
+
const ProductBlock = UniBlock(({ className, padding, defaultPadding, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: defaultPadding || 'p-6xl', padding: padding, className: "grow h-full", ...rest }) })));
|
|
985
989
|
|
|
986
990
|
const AdTile = JSX((props) => {
|
|
987
991
|
const { items } = (props.options?.page?.adSourceBook ?? {});
|
|
@@ -1065,9 +1069,12 @@
|
|
|
1065
1069
|
: { secondaryPhoneNumber: formatPhone(secondaryPhone) };
|
|
1066
1070
|
};
|
|
1067
1071
|
|
|
1068
|
-
const handleAspects = ({ aspectsAttributes, aspects, ev }) => {
|
|
1072
|
+
const handleAspects = async ({ aspectsAttributes, aspects, ev }) => {
|
|
1069
1073
|
for (const { aspectName, params } of aspectsAttributes ?? []) {
|
|
1070
|
-
aspects[aspectName ?? '']
|
|
1074
|
+
const aspectFn = aspects[aspectName ?? ''];
|
|
1075
|
+
if (aspectFn) {
|
|
1076
|
+
await aspectFn(ev, params);
|
|
1077
|
+
}
|
|
1071
1078
|
}
|
|
1072
1079
|
};
|
|
1073
1080
|
|
|
@@ -1110,7 +1117,7 @@
|
|
|
1110
1117
|
return url.toString();
|
|
1111
1118
|
};
|
|
1112
1119
|
|
|
1113
|
-
const forwardQuery = (ev) => {
|
|
1120
|
+
const forwardQuery = async (ev) => {
|
|
1114
1121
|
const anchor = ev.target?.closest('a');
|
|
1115
1122
|
const navigator = locationNavigator();
|
|
1116
1123
|
if (isURL(anchor?.href) && !anchor?.href?.startsWith(navigator.origin)) {
|
|
@@ -1280,7 +1287,7 @@
|
|
|
1280
1287
|
|
|
1281
1288
|
const getValidStyle = (valid) => (valid ? inputValidStyle : 'border-error');
|
|
1282
1289
|
|
|
1283
|
-
const renderLabel = (label) => label ? (jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label })) : null;
|
|
1290
|
+
const renderLabel$1 = (label) => label ? (jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label })) : null;
|
|
1284
1291
|
|
|
1285
1292
|
const Input = JSX(
|
|
1286
1293
|
// eslint-disable-next-line max-lines-per-function
|
|
@@ -1298,26 +1305,30 @@
|
|
|
1298
1305
|
const paddingStyle = children ? 'pr-3xl' : '';
|
|
1299
1306
|
const validStyle = getValidStyle(valid);
|
|
1300
1307
|
const ariaLabel = label ?? name ?? id;
|
|
1301
|
-
return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { className: "space-y-xs", children: [renderLabel(label), isTextarea ? (jsx("textarea", { className: style('block resize-y min-h-24', defaultStyle$1, validStyle), id: style('textarea', id), value: value, name: name || id, placeholder: placeholder, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key)) : (jsx("input", { ref: inputRef, className: style('h-14', defaultStyle$1, paddingStyle, validStyle), id: id, type: type, value: value, name: name || id, placeholder: placeholder, pattern: pattern, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key))] }), children] }));
|
|
1308
|
+
return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { className: "space-y-xs", children: [renderLabel$1(label), isTextarea ? (jsx("textarea", { className: style('block resize-y min-h-24', defaultStyle$1, validStyle), id: style('textarea', id), value: value, name: name || id, placeholder: placeholder, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key)) : (jsx("input", { ref: inputRef, className: style('h-14', defaultStyle$1, paddingStyle, validStyle), id: id, type: type, value: value, name: name || id, placeholder: placeholder, pattern: pattern, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key))] }), children] }));
|
|
1302
1309
|
});
|
|
1303
1310
|
const defaultStyle$1 = 'w-full border rounded-md text-primary-text outline-none p-m';
|
|
1304
1311
|
|
|
1305
1312
|
const renderErrorText = (error) => (jsx("div", { className: "h-6", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
|
|
1306
1313
|
|
|
1307
|
-
const
|
|
1308
|
-
const
|
|
1309
|
-
const popupRef = useOutsideClick(close);
|
|
1314
|
+
const InputWrapper = JSX(({ className, label, value = '', error, errors, type, isInteger, placeholder, maxLength, inputRef, isOpen, onOpen, onClose, onChange = noop, ...rest }) => {
|
|
1315
|
+
const popupRef = useOutsideClick(onClose);
|
|
1310
1316
|
const handleChange = useCallback((v) => {
|
|
1311
|
-
|
|
1312
|
-
|
|
1317
|
+
const isOverMax = maxLength && v.length > maxLength;
|
|
1318
|
+
!isOpen && onOpen();
|
|
1319
|
+
if (!isOverMax) {
|
|
1320
|
+
onChange(normalizeInteger(v, isInteger));
|
|
1321
|
+
}
|
|
1313
1322
|
}, [isOpen, onChange]);
|
|
1314
|
-
|
|
1315
|
-
isInteger && value ? onChange(normalizeInteger$1(value)) : null;
|
|
1316
|
-
}, [value]);
|
|
1317
|
-
return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: close, onFocus: open, children: [jsx("div", { children: jsx(Input, { disabled: disabled, type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), value: value, onChange: handleChange, onBlur: onBlur, isTextarea: isTextarea, placeholder: getPlaceholder$1(placeholder, errors, label) }) }), renderErrorText(error)] }));
|
|
1323
|
+
return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: onClose, onFocus: onOpen, children: [jsx("div", { ref: inputRef, children: jsx(Input, { type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), onChange: handleChange, placeholder: getPlaceholder({ placeholder, errors, label }), value: value, ...rest }) }), renderErrorText(error)] }));
|
|
1318
1324
|
});
|
|
1319
|
-
const normalizeInteger
|
|
1320
|
-
const getPlaceholder
|
|
1325
|
+
const normalizeInteger = (val = '', isInteger = false) => isInteger && val ? val.replace(/[^\d]+/g, '') : val;
|
|
1326
|
+
const getPlaceholder = ({ placeholder, errors, label }) => errors && !label ? `${placeholder}*` : placeholder;
|
|
1327
|
+
|
|
1328
|
+
const InputControl = JSX((props) => {
|
|
1329
|
+
const [isOpen, { setFalse: close, setTrue: open }] = useBool();
|
|
1330
|
+
return jsx(InputWrapper, { isOpen: isOpen, onOpen: open, onClose: close, ...props });
|
|
1331
|
+
});
|
|
1321
1332
|
|
|
1322
1333
|
const formatOption = (_) => _?.text || _?.key || '';
|
|
1323
1334
|
|
|
@@ -1391,7 +1402,7 @@
|
|
|
1391
1402
|
onClose: handleClose,
|
|
1392
1403
|
iconVersion,
|
|
1393
1404
|
});
|
|
1394
|
-
return (jsxs("div", { className: style('space-y-xs', className), children: [renderLabel(label), jsxs("div", { className: style('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [jsxs("div", { className: style('h-14 [&>*]:p-m pr-6 text-l flex items-center justify-between text-primary-text relative z-10 overflow-hidden', getStyle(isBorder, valid, isDisabled)), onClick: hasOpen ? handleClose : handleOpen, children: [jsx("p", { className: "line-clamp-2 text-ellipsis", children: formatOption(value) || placeholder }), renderIcon$2(hasOpen, iconVersion)] }), isSearch && hasOpen ? (jsx("div", { className: style('absolute top-0 w-full z-20'), children: jsx(Input, { type: "text", value: query, autoFocus: true, disabled: isDisabled, onChange: setQuery }) })) : null] })] }));
|
|
1405
|
+
return (jsxs("div", { className: style('space-y-xs', className), children: [renderLabel$1(label), jsxs("div", { className: style('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [jsxs("div", { className: style('h-14 [&>*]:p-m pr-6 text-l flex items-center justify-between text-primary-text relative z-10 overflow-hidden', getStyle(isBorder, valid, isDisabled)), onClick: hasOpen ? handleClose : handleOpen, children: [jsx("p", { className: "line-clamp-2 text-ellipsis", children: formatOption(value) || placeholder }), renderIcon$2(hasOpen, iconVersion)] }), isSearch && hasOpen ? (jsx("div", { className: style('absolute top-0 w-full z-20'), children: jsx(Input, { type: "text", value: query, autoFocus: true, disabled: isDisabled, onChange: setQuery }) })) : null] })] }));
|
|
1395
1406
|
});
|
|
1396
1407
|
const renderIcon$2 = (isOpen, iconVersion) => (jsx(Icon, { className: style('absolute right-0 flex self-center', { 'rotate-180': !isOpen }), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
|
|
1397
1408
|
const getStyle = (isBorder, valid, disabled) => style(isBorder ? 'border rounded-md ' : '', isBorder && !disabled ? 'hover:border-primary-hover' : '', disabled ? 'bg-main-divider' : 'cursor-pointer ', valid ? 'border-gray' : 'border-error');
|
|
@@ -1491,14 +1502,14 @@
|
|
|
1491
1502
|
}
|
|
1492
1503
|
|
|
1493
1504
|
const BRANCHES_URL = `${API_BASE_URI$1}/branches`;
|
|
1494
|
-
const EMPTY_VALUE$
|
|
1505
|
+
const EMPTY_VALUE$2 = [];
|
|
1495
1506
|
function useBranches(regionCode) {
|
|
1496
|
-
const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes
|
|
1497
|
-
return data || EMPTY_VALUE$
|
|
1507
|
+
const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
|
|
1508
|
+
return data || EMPTY_VALUE$2;
|
|
1498
1509
|
}
|
|
1499
|
-
const fetchSafeBoxes
|
|
1510
|
+
const fetchSafeBoxes = async (url) => {
|
|
1500
1511
|
const result = await fetchJSON(url, { method: 'GET' });
|
|
1501
|
-
return result || EMPTY_VALUE$
|
|
1512
|
+
return result || EMPTY_VALUE$2;
|
|
1502
1513
|
};
|
|
1503
1514
|
|
|
1504
1515
|
const REGIONS_URL$1 = '/branchesByRegions';
|
|
@@ -1582,7 +1593,7 @@
|
|
|
1582
1593
|
const handleChange = useCallback((ev) => {
|
|
1583
1594
|
onChange && onChange(parseDecimal(ev.target?.value));
|
|
1584
1595
|
}, [onChange]);
|
|
1585
|
-
return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('text-h3 w-full h-14', 'pl-m
|
|
1596
|
+
return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('text-h3 w-full h-14', 'pl-m box-border', 'text-primary-text', inputValidStyle, inputDisabledStyle), disabled: disabled, onChange: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
|
|
1586
1597
|
});
|
|
1587
1598
|
const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
|
|
1588
1599
|
const renderRangeCaption = (items) => (jsx("div", { className: "flex justify-between my-xs", children: items.map((item, i) => (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item }, String(i)))) }));
|
|
@@ -1886,7 +1897,7 @@
|
|
|
1886
1897
|
value,
|
|
1887
1898
|
});
|
|
1888
1899
|
const spaceAbove = useElementSpace(ref, 370);
|
|
1889
|
-
return (jsxs("div", { className: style('space-y-xs', className), ref: ref, children: [renderLabel(label), jsxs("div", { className: "relative", children: [renderDatePickerForm({
|
|
1900
|
+
return (jsxs("div", { className: style('space-y-xs', className), ref: ref, children: [renderLabel$1(label), jsxs("div", { className: "relative", children: [renderDatePickerForm({
|
|
1890
1901
|
handleChangeVisibleCalendar,
|
|
1891
1902
|
value,
|
|
1892
1903
|
valid,
|
|
@@ -2075,7 +2086,7 @@
|
|
|
2075
2086
|
};
|
|
2076
2087
|
};
|
|
2077
2088
|
|
|
2078
|
-
const cyrillicPattern = /^[
|
|
2089
|
+
const cyrillicPattern = /^[а-яё-]*$/i;
|
|
2079
2090
|
const isCyrillic = (_ = '') => cyrillicPattern.test(_);
|
|
2080
2091
|
|
|
2081
2092
|
const required = validator((_) => _ !== null && _ !== undefined && _ !== '');
|
|
@@ -2110,7 +2121,7 @@
|
|
|
2110
2121
|
sufferedFrom: defaultValidator(),
|
|
2111
2122
|
applierType: defaultValidator(),
|
|
2112
2123
|
surname: nameValidator('Укажите свою фамилию на кириллице'),
|
|
2113
|
-
name: nameValidator('Укажите своё имя на кириллице'),
|
|
2124
|
+
name: nameValidator('Укажите своё имя на кириллице (без сокращений)'),
|
|
2114
2125
|
middleName: nameValidator('Укажите своё отчество на кириллице'),
|
|
2115
2126
|
birthday: defaultValidator('Укажите дату рождения'),
|
|
2116
2127
|
phone: phoneValidator('Укажите номер телефона'),
|
|
@@ -2467,6 +2478,7 @@
|
|
|
2467
2478
|
return false;
|
|
2468
2479
|
})('Укажите дату выдачи паспорта');
|
|
2469
2480
|
const deliveryDateValidator = (errorMsg) => validator((_) => _?.getTime() >= new Date().getTime())(errorMsg);
|
|
2481
|
+
const notLaterDateValidator = (errorMsg) => validator((_) => _?.getTime() <= new Date().getTime())(errorMsg);
|
|
2470
2482
|
const numberValidator = (errorMsg) => validator((_) => typeof _ === 'string' && _.length === 6)(errorMsg);
|
|
2471
2483
|
const serieValidator = (errorMsg) => validator((_) => typeof _ === 'string' && _.length === 4)(errorMsg);
|
|
2472
2484
|
const snilsValidate = (snils) => {
|
|
@@ -2533,7 +2545,7 @@
|
|
|
2533
2545
|
lastJobExperience: jobNumberValidator('Укажите стаж на последнем месте работы'),
|
|
2534
2546
|
experience5Years: jobNumberValidator('Укажите общий стаж за последние 5 лет'),
|
|
2535
2547
|
jobsNumber: jobNumberValidator('Укажите количество мест работы за последние 5 лет'),
|
|
2536
|
-
beginDate:
|
|
2548
|
+
beginDate: notLaterDateValidator('Укажите дату заключения трудового договора'),
|
|
2537
2549
|
addressFact: addressDaDataValidator(),
|
|
2538
2550
|
addressRegistration: addressDaDataValidator(),
|
|
2539
2551
|
addressRetail: defaultSelectValidator('Выберите адрес банка'),
|
|
@@ -2560,7 +2572,7 @@
|
|
|
2560
2572
|
dulNumber: numberValidator('Укажите номер паспорта'),
|
|
2561
2573
|
dulSubdivisionCode: numberValidator('Укажите код подразделения'),
|
|
2562
2574
|
dulIssuedBy: defaultValidator('Укажите организацию, выдавшую паспорт'),
|
|
2563
|
-
participantDateRegistration:
|
|
2575
|
+
participantDateRegistration: notLaterDateValidator('Укажите дату регистрации'),
|
|
2564
2576
|
retirementIncome: defaultValidator(),
|
|
2565
2577
|
otherIncome: defaultValidator(),
|
|
2566
2578
|
wages: defaultValidator(),
|
|
@@ -2625,10 +2637,6 @@
|
|
|
2625
2637
|
text: 'Согласие на получение информационных материалов',
|
|
2626
2638
|
docId: 18,
|
|
2627
2639
|
},
|
|
2628
|
-
consentPhotoFlg: {
|
|
2629
|
-
text: 'Согласие на фотографирование',
|
|
2630
|
-
docId: 17,
|
|
2631
|
-
},
|
|
2632
2640
|
};
|
|
2633
2641
|
const DEBIT_CARD_CONSENTS = {
|
|
2634
2642
|
processPersonalDataFlg: {
|
|
@@ -2667,7 +2675,6 @@
|
|
|
2667
2675
|
{ name: 'consentInformFlg' },
|
|
2668
2676
|
{ name: 'consentPfrFlg' },
|
|
2669
2677
|
{ name: 'consentInformMaterialsFlg' },
|
|
2670
|
-
{ name: 'consentPhotoFlg' },
|
|
2671
2678
|
{ name: 'consentFATCA', required: true },
|
|
2672
2679
|
];
|
|
2673
2680
|
return [
|
|
@@ -2688,6 +2695,13 @@
|
|
|
2688
2695
|
];
|
|
2689
2696
|
};
|
|
2690
2697
|
|
|
2698
|
+
var EsiaStatuses;
|
|
2699
|
+
(function (EsiaStatuses) {
|
|
2700
|
+
EsiaStatuses["Success"] = "SUCCESS";
|
|
2701
|
+
EsiaStatuses["Error"] = "ERROR";
|
|
2702
|
+
EsiaStatuses["Pending"] = "PENDING";
|
|
2703
|
+
})(EsiaStatuses || (EsiaStatuses = {}));
|
|
2704
|
+
|
|
2691
2705
|
const getTraceId = () => {
|
|
2692
2706
|
const result = new Uint8Array(8);
|
|
2693
2707
|
globalThis.crypto.getRandomValues(result);
|
|
@@ -2726,14 +2740,19 @@
|
|
|
2726
2740
|
|
|
2727
2741
|
const getLink = (body) => fetchRetailJSON('/esia/getLink', 'POST', body);
|
|
2728
2742
|
|
|
2729
|
-
const EsiaLoginBanner = JSX(() => {
|
|
2743
|
+
const EsiaLoginBanner = JSX(({ onChangeEsiaStatus }) => {
|
|
2730
2744
|
const navigator = locationNavigator();
|
|
2731
2745
|
const handleAuth = useCallback(async () => {
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2746
|
+
try {
|
|
2747
|
+
const resp = await getLink({
|
|
2748
|
+
redirectUri: globalThis.location.origin + globalThis.location.pathname,
|
|
2749
|
+
});
|
|
2750
|
+
if (resp?.link) {
|
|
2751
|
+
navigator.assign(resp.link);
|
|
2752
|
+
}
|
|
2753
|
+
}
|
|
2754
|
+
catch {
|
|
2755
|
+
onChangeEsiaStatus(EsiaStatuses.Error);
|
|
2737
2756
|
}
|
|
2738
2757
|
}, []);
|
|
2739
2758
|
return (jsxs("div", { className: "flex gap-lg items-center rounded-md bg-main-gray p-4xl", children: [jsxs("div", { className: "flex flex-col justify-around w-full", children: [jsx("p", { className: "mb-m text-xl", children: "\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0447\u0435\u0440\u0435\u0437 \u0413\u043E\u0441\u0443\u0441\u043B\u0443\u0433\u0438" }), jsxs("ul", { className: "list-disc list-inside mb-4xl", children: [jsx("li", { children: "\u0412\u0435\u0440\u043E\u044F\u0442\u043D\u043E\u0441\u0442\u044C \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u044F \u0432\u044B\u0448\u0435" }), jsx("li", { children: "\u0411\u0435\u0437 \u0441\u043F\u0440\u0430\u0432\u043E\u043A \u043E \u0434\u043E\u0445\u043E\u0434\u0430\u0445 \u0438 \u0442\u0440\u0443\u0434\u043E\u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435" }), jsx("li", { children: "\u0421 \u0437\u0430\u0449\u0438\u0442\u043E\u0439 \u0412\u0430\u0448\u0438\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" })] }), jsx(Img, { className: "block mb-xl self-center @md:hidden", image: { icon: 'GosUslugiIcon', iconVersion: 'normal' }, height: "80", width: "80" }), jsx(Button, { type: "button", onClick: handleAuth, className: "w-full @md:w-fit", children: "\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C" })] }), jsx(Img, { className: "hidden @md:block", image: { icon: 'GosUslugiIcon', iconVersion: 'normal' }, height: "164" })] }));
|
|
@@ -2931,16 +2950,8 @@
|
|
|
2931
2950
|
return inputRef;
|
|
2932
2951
|
}
|
|
2933
2952
|
|
|
2934
|
-
const DaDataInputControl = JSX(({
|
|
2953
|
+
const DaDataInputControl = JSX(({ value = '', onChange = noop, onDaDataChange, name = '', daDataQueryPrefix, dadata = false, ...rest }) => {
|
|
2935
2954
|
const [isOpen, { setFalse: close, setTrue: open }] = useBool();
|
|
2936
|
-
const popupRef = useOutsideClick(close);
|
|
2937
|
-
const handleChange = useCallback((v) => {
|
|
2938
|
-
dadata && !isOpen && open();
|
|
2939
|
-
maxLength ? v.length <= maxLength && onChange(v) : onChange(v);
|
|
2940
|
-
}, [isOpen, onChange]);
|
|
2941
|
-
useEffect(() => {
|
|
2942
|
-
isInteger && value && onChange(normalizeInteger(value));
|
|
2943
|
-
}, [value]);
|
|
2944
2955
|
const inputRef = useInputPopup({
|
|
2945
2956
|
isOpen: isOpen && dadata,
|
|
2946
2957
|
name,
|
|
@@ -2949,10 +2960,8 @@
|
|
|
2949
2960
|
onChange,
|
|
2950
2961
|
onDaDataChange,
|
|
2951
2962
|
});
|
|
2952
|
-
return (
|
|
2953
|
-
});
|
|
2954
|
-
const normalizeInteger = (val = '') => val.replace(/[^\d]+/g, '');
|
|
2955
|
-
const getPlaceholder = (placeholder, errors, label) => errors && !label ? `${placeholder}*` : placeholder;
|
|
2963
|
+
return (jsx(InputWrapper, { value: value, onChange: onChange, inputRef: inputRef, isOpen: isOpen, onOpen: open, onClose: close, ...rest }));
|
|
2964
|
+
});
|
|
2956
2965
|
|
|
2957
2966
|
const AddressField = JSX(({ field, input }) => {
|
|
2958
2967
|
const fieldName = input?.name || 'addressRegistration';
|
|
@@ -3511,16 +3520,6 @@
|
|
|
3511
3520
|
});
|
|
3512
3521
|
}
|
|
3513
3522
|
};
|
|
3514
|
-
const initializeExternalStylesheet = (url = '') => {
|
|
3515
|
-
const link = globalThis.document.getElementById(url);
|
|
3516
|
-
if (!link) {
|
|
3517
|
-
const newLink = globalThis.document.createElement('link');
|
|
3518
|
-
newLink.href = url;
|
|
3519
|
-
newLink.id = url;
|
|
3520
|
-
newLink.rel = 'stylesheet';
|
|
3521
|
-
globalThis.document.head.appendChild(newLink);
|
|
3522
|
-
}
|
|
3523
|
-
};
|
|
3524
3523
|
function useExternalNS(namespaceName, url, unmountNS = true) {
|
|
3525
3524
|
const [externalNS, setExternalNS] = useState(undefined);
|
|
3526
3525
|
useEffect(() => {
|
|
@@ -3854,7 +3853,7 @@
|
|
|
3854
3853
|
|
|
3855
3854
|
const BankruptcyFlgField = JSX(({ field, input }) => (jsx(CheckboxWithError, { text: "\u0412 \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043C\u0435\u043D\u044F \u0432\u0435\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u043E \u043F\u043E \u0434\u0435\u043B\u0443 \u043E \u0431\u0430\u043D\u043A\u0440\u043E\u0442\u0441\u0442\u0432\u0435", ...field(input?.name ?? '') })));
|
|
3856
3855
|
|
|
3857
|
-
const BeginDateField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u0442\u0435\u043A\u0443\u0449\u0435\u043C \u043C\u0435\u0441\u0442\u0435", ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
|
|
3856
|
+
const BeginDateField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u0442\u0435\u043A\u0443\u0449\u0435\u043C \u043C\u0435\u0441\u0442\u0435", ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input), maxDate: new Date() })));
|
|
3858
3857
|
|
|
3859
3858
|
const BirthPlaceField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041C\u0435\u0441\u0442\u043E \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
|
|
3860
3859
|
|
|
@@ -3972,7 +3971,7 @@
|
|
|
3972
3971
|
const CalculatorLayout = JSX(({ className, title, children, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-xl', className), defaultPadding: "p-4xl", ...rest, children: [title ? jsx(Heading, { className: "text-center", title: title }) : null, children] })));
|
|
3973
3972
|
|
|
3974
3973
|
const CalculatorStyle = {
|
|
3975
|
-
wrapper: 'flex flex-col justify-between lg:flex-row gap-
|
|
3974
|
+
wrapper: 'flex flex-col justify-between lg:flex-row gap-4xl',
|
|
3976
3975
|
input: 'flex flex-col lg:w-1/2 gap-2xl',
|
|
3977
3976
|
result: 'flex flex-col gap-y-xl min-w-52',
|
|
3978
3977
|
};
|
|
@@ -4450,9 +4449,7 @@
|
|
|
4450
4449
|
updateOrganizationFields(store, field, item);
|
|
4451
4450
|
}, []);
|
|
4452
4451
|
useEffect(() => {
|
|
4453
|
-
if (!esiaAccountTypeCd ||
|
|
4454
|
-
!inn ||
|
|
4455
|
-
!(employerActivities && employerOrganization && organization && amountWorkers)) {
|
|
4452
|
+
if (!esiaAccountTypeCd || !inn || !isDictionariesAlreadyLoad(store)) {
|
|
4456
4453
|
return;
|
|
4457
4454
|
}
|
|
4458
4455
|
(async () => {
|
|
@@ -4463,7 +4460,16 @@
|
|
|
4463
4460
|
})();
|
|
4464
4461
|
}, [employerActivities, employerOrganization, organization, amountWorkers]);
|
|
4465
4462
|
return (jsx(DaDataInputControl, { label: "\u0418\u041D\u041D", isInteger: true, maxLength: 12, ...input, ...field(input?.name ?? ''), onDaDataChange: onDaDataChange, disabled: isEsiaAuthorize(field, input) }));
|
|
4466
|
-
});
|
|
4463
|
+
});
|
|
4464
|
+
const isDictionariesAlreadyLoad = (store) => {
|
|
4465
|
+
const { employerActivities, employerOrganization, organization, amountWorkers, productType } = store;
|
|
4466
|
+
return [
|
|
4467
|
+
employerOrganization,
|
|
4468
|
+
organization,
|
|
4469
|
+
amountWorkers,
|
|
4470
|
+
productType === 'creditCard' ? employerActivities : true,
|
|
4471
|
+
].every(Boolean);
|
|
4472
|
+
};
|
|
4467
4473
|
|
|
4468
4474
|
const DeliveryDateFiels = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438", ...field(input?.name ?? ''), minDate: new Date() })));
|
|
4469
4475
|
|
|
@@ -4575,6 +4581,8 @@
|
|
|
4575
4581
|
|
|
4576
4582
|
const InfoCardField = JSX(({ input }) => (jsx(InfoCard, { __html: input?.label })));
|
|
4577
4583
|
|
|
4584
|
+
const InitiateBankruptcyFlgField = JSX(({ field, input }) => (jsx(CheckboxWithError, { text: "\u042F \u043F\u043B\u0430\u043D\u0438\u0440\u0443\u044E \u0432 \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u0438\u043D\u0438\u0446\u0438\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0435\u043B\u043E \u043E \u0431\u0430\u043D\u043A\u0440\u043E\u0442\u0441\u0442\u0432\u0435 \u0432 \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u0441\u0435\u0431\u044F", ...field(input?.name ?? '') })));
|
|
4585
|
+
|
|
4578
4586
|
const JobsNumberField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442 \u0440\u0430\u0431\u043E\u0442\u044B \u0437\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 5 \u043B\u0435\u0442", placeholder: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442", isInteger: true, maxLength: 2, ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
|
|
4579
4587
|
|
|
4580
4588
|
const LastJobExperienceField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u0421\u0442\u0430\u0436 \u043D\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u043C \u0440\u0430\u0431\u043E\u0447\u0435\u043C \u043C\u0435\u0441\u0442\u0435", placeholder: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043B\u0435\u0442", type: "number", maxLength: 2, ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
|
|
@@ -4748,7 +4756,7 @@
|
|
|
4748
4756
|
|
|
4749
4757
|
const OtherIncomeField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u0418\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", isInteger: true, ...field(input?.name ?? ''), ...input })));
|
|
4750
4758
|
|
|
4751
|
-
const ParticipantDateRegistrationField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0441\u0442\u0443 \u0436\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430", ...field(input?.name ?? '') })));
|
|
4759
|
+
const ParticipantDateRegistrationField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0441\u0442\u0443 \u0436\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430", ...field(input?.name ?? ''), maxDate: new Date() })));
|
|
4752
4760
|
|
|
4753
4761
|
const MAX_PART = 100;
|
|
4754
4762
|
const MIN_PART = 0;
|
|
@@ -4808,22 +4816,27 @@
|
|
|
4808
4816
|
};
|
|
4809
4817
|
|
|
4810
4818
|
const RegionRetailField = JSX(({ field, input }) => {
|
|
4819
|
+
const { programId, productType } = useRetailFormStore();
|
|
4811
4820
|
const { data: regions } = useLeadFormData('REGION_RF');
|
|
4812
4821
|
const { data: regionsDelivery } = useAsyncData('regionsDelivery', getRegionsCardDelivery);
|
|
4813
|
-
const {
|
|
4822
|
+
const { data: productSettings } = useLeadFormData(getCurrentProductSettings(productType));
|
|
4814
4823
|
const isSalaryCard = programId === '38';
|
|
4815
4824
|
const formatRegions = regions?.map(({ key, value }) => ({ key, text: value }));
|
|
4825
|
+
const isDeliveryActive = productSettings?.find((_) => _?.key === 'DELIVERY_ACTIVE')?.value === 'true';
|
|
4816
4826
|
const handleChangeRegion = field('regionRetail')?.onChange;
|
|
4817
4827
|
const handleChangeRegionHasDelivery = field('regionHasDelivery')?.onChange;
|
|
4818
4828
|
const handleChangeMethodObtain = field('methodObtain')?.onChange;
|
|
4819
4829
|
const onChange = useCallback((value) => {
|
|
4820
|
-
const regionHasDelivery =
|
|
4830
|
+
const regionHasDelivery = isDeliveryActive &&
|
|
4831
|
+
regionsDelivery?.find((_) => _.regionCode === value.key)?.deliveryFlg &&
|
|
4832
|
+
!isSalaryCard;
|
|
4821
4833
|
handleChangeRegionHasDelivery?.(regionHasDelivery);
|
|
4822
4834
|
handleChangeMethodObtain?.(regionHasDelivery ? 'courier' : 'office');
|
|
4823
4835
|
handleChangeRegion?.(value);
|
|
4824
|
-
}, [regionsDelivery]);
|
|
4836
|
+
}, [regionsDelivery, isDeliveryActive]);
|
|
4825
4837
|
return (jsx(SelectControl, { label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: formatRegions, ...field(input?.name ?? ''), onChange: onChange }));
|
|
4826
|
-
});
|
|
4838
|
+
});
|
|
4839
|
+
const getCurrentProductSettings = (productType) => productType === 'debitCard' ? 'DEBIT_CARD_LEAD_PROCESS_SETTINGS' : 'CREDIT_LEAD_PROCESS_SETTINGS';
|
|
4827
4840
|
|
|
4828
4841
|
const RetirementIncomeField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041F\u0435\u043D\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", isInteger: true, ...field(input?.name ?? ''), ...input })));
|
|
4829
4842
|
|
|
@@ -4908,7 +4921,6 @@
|
|
|
4908
4921
|
consentInformFlg: ConsentField,
|
|
4909
4922
|
consentPfrFlg: ConsentField,
|
|
4910
4923
|
consentInformMaterialsFlg: ConsentField,
|
|
4911
|
-
consentPhotoFlg: ConsentField,
|
|
4912
4924
|
consentFATCA: ConsentField,
|
|
4913
4925
|
};
|
|
4914
4926
|
const InputsRetailMap = {
|
|
@@ -4955,6 +4967,7 @@
|
|
|
4955
4967
|
wages: WagesField,
|
|
4956
4968
|
mandatoryPayments: MandatoryPaymentsField,
|
|
4957
4969
|
bankruptcyFlg: BankruptcyFlgField,
|
|
4970
|
+
initiateBankruptcyFlg: InitiateBankruptcyFlgField,
|
|
4958
4971
|
shareholderFlg: ShareholderFlgField,
|
|
4959
4972
|
legalEntityName: LegalEntityNameField,
|
|
4960
4973
|
creditInRshbCd: CreditInRshbCdField,
|
|
@@ -5081,7 +5094,7 @@
|
|
|
5081
5094
|
.then((res) => res.text())
|
|
5082
5095
|
.then((text) => text === 'OK');
|
|
5083
5096
|
|
|
5084
|
-
const ICON_SIZE
|
|
5097
|
+
const ICON_SIZE = { width: '103', height: '21' };
|
|
5085
5098
|
|
|
5086
5099
|
const logoTitleSizeStyle = 'text-s';
|
|
5087
5100
|
|
|
@@ -5107,7 +5120,7 @@
|
|
|
5107
5120
|
'bg-white': 'text-primary-text',
|
|
5108
5121
|
transparent: 'text-white',
|
|
5109
5122
|
};
|
|
5110
|
-
const Logo = JSX(({ className, href = '/', logo, children, targetBlank, bgColor = 'bg-white', showTitle = true, data, }) => (jsxs("a", { className: style('inline-flex items-center font-sans no-underline', className), href: logo?.href ?? href, target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title ?? 'Россельхозбанк', ...getAspectsAttributes(data), children: [renderImage(bgColor, logo?.image, ICON_SIZE
|
|
5123
|
+
const Logo = JSX(({ className, href = '/', logo, children, targetBlank, bgColor = 'bg-white', showTitle = true, data, }) => (jsxs("a", { className: style('inline-flex items-center font-sans no-underline', className), href: logo?.href ?? href, target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title ?? 'Россельхозбанк', ...getAspectsAttributes(data), children: [renderImage(bgColor, logo?.image, ICON_SIZE), showTitle
|
|
5111
5124
|
? children ?? (jsx("div", { className: "ml-s", children: jsx(Text, { font: "font-medium", color: TEXT_COLOR[bgColor], size: logoTitleSizeStyle, children: logo?.title ?? 'Россельхозбанк' }) }))
|
|
5112
5125
|
: null] })));
|
|
5113
5126
|
|
|
@@ -5138,7 +5151,7 @@
|
|
|
5138
5151
|
(async () => setCaptcha(URL.createObjectURL(await createCaptcha(phoneNumber))))();
|
|
5139
5152
|
}, []);
|
|
5140
5153
|
useEffect(handleCreateCaptcha, []);
|
|
5141
|
-
return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto rounded-lg", head: jsx(Logo, {}), onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center
|
|
5154
|
+
return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto rounded-lg", head: jsx(Logo, {}), onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center", children: [jsxs("div", { className: "flex", children: [jsx("img", { className: "grow", src: captcha }), jsx(Button, { className: "w-8", embedded: true, onClick: handleCreateCaptcha, children: jsx(Icon, { iconVersion: "normal", name: "RefreshIcon" }) })] }), jsx(Input, { className: "w-80", onChange: setCode, value: code, placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434 \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438" }), hasError ? jsx("div", { className: "text-error", children: "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434" }) : null, jsxs("div", { className: "flex w-80 justify-between", children: [jsx(Button, { version: "secondary", onClick: close, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F" }), jsx(SubmitButton$1, { version: "secondary", disabled: !code, onClick: handleCheckCaptcha, children: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C" })] }), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
|
|
5142
5155
|
});
|
|
5143
5156
|
|
|
5144
5157
|
const InputCode = JSX(({ values, setValues, hasError, errorText }) => {
|
|
@@ -5181,9 +5194,7 @@
|
|
|
5181
5194
|
return `w-16 sm:w-20 h-24 text-5xl text-center p-md m-2 border ${getValidStyle(!hasError || !isInputEmpty)} rounded-md caret-transparent outline-none`;
|
|
5182
5195
|
};
|
|
5183
5196
|
|
|
5184
|
-
const SubmitButton = JSX(({
|
|
5185
|
-
return (jsx(Button, { type: "button", onClick: onClick, disabled: isDisabled, children: jsx(Text, { font: "font-normal", children: text }) }));
|
|
5186
|
-
});
|
|
5197
|
+
const SubmitButton = JSX(({ disabled = false, onClick, text }) => (jsx(Button, { type: "button", onClick: onClick, disabled: disabled, children: jsx(Text, { font: "font-normal", children: text }) })));
|
|
5187
5198
|
|
|
5188
5199
|
const checkCode = async (body) => fetchRetailJSON('/sms/checkCode', 'POST', body).then(saveToken);
|
|
5189
5200
|
const saveToken = (data) => {
|
|
@@ -5264,8 +5275,8 @@
|
|
|
5264
5275
|
}, []);
|
|
5265
5276
|
return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-xl p-m", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center rounded-md", children: [jsx(Headline, { className: "w-full", title: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430", description: `Мы отправили код на ${phone}`, headlineVersion: "XS", isEmbedded: true, as: "h6" }), code ? (jsx(InputCode, { values: values, setValues: setValues, errorText: errorText, hasError: hasError })) : null, renderText$2(timeNextReq, handleSendCode), withDescription ? (jsxs(RichText, { itemSize: "list-s", children: [jsx("span", { children: "\u0412\u0432\u043E\u0434\u044F \u043A\u043E\u0434, \u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E, \u0447\u0442\u043E \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044B\u0432\u0430\u044E: " }), jsx("ul", { children: consents?.map((_, i) => (jsx("li", { children: _ }, `${_}-${i}`))) })] })) : null, renderNextButton(isSubmitButtonDisabled, handleSubmit), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
|
|
5266
5277
|
});
|
|
5267
|
-
const renderNextButton = (
|
|
5268
|
-
const renderText$2 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "
|
|
5278
|
+
const renderNextButton = (disabled, onClick) => (jsx(SubmitButton, { text: "\u0414\u0430\u043B\u0435\u0435", disabled: disabled, onClick: onClick }));
|
|
5279
|
+
const renderText$2 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "pl-2xs", seconds: timeNextReq })] })) : (jsx(Button, { embedded: true, onClick: handleSendCode, children: jsx(ButtonTitle, { children: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434" }) }));
|
|
5269
5280
|
|
|
5270
5281
|
const defaultConsentText = {
|
|
5271
5282
|
title: 'Подпишите согласие на запрос в БКИ',
|
|
@@ -5275,7 +5286,7 @@
|
|
|
5275
5286
|
title: 'Вы уверены, что хотите отказаться от запроса в БКИ',
|
|
5276
5287
|
description: 'Согласие на запрос в Бюро кредитных историй (БКИ) повысит вероятность одобрения',
|
|
5277
5288
|
};
|
|
5278
|
-
const ITEMS
|
|
5289
|
+
const ITEMS = [
|
|
5279
5290
|
{ id: 'SIGNED', text: 'Подписать' },
|
|
5280
5291
|
{ id: 'REFUSE', text: 'Отказаться' },
|
|
5281
5292
|
];
|
|
@@ -5292,7 +5303,7 @@
|
|
|
5292
5303
|
setShowRefuseContent(value === 'REFUSE');
|
|
5293
5304
|
}, []);
|
|
5294
5305
|
const consentText = showRefuseContent ? refuseConsentText : defaultConsentText;
|
|
5295
|
-
return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-lg px-5xl", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center", children: [jsx("div", { role: "button", onClick: openDocument, children: jsx(Heading, { className: "text-center text-balance", headingType: "h2", title: consentText.title }) }), jsx(Paragraph, { align: "text-center", children: consentText.description }), jsx(RadioButtonGroup, { className: "whitespace-normal", orientation: "horizontal", items: ITEMS
|
|
5306
|
+
return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-lg px-5xl", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center", children: [jsx("div", { role: "button", onClick: openDocument, children: jsx(Heading, { className: "text-center text-balance", headingType: "h2", title: consentText.title }) }), jsx(Paragraph, { align: "text-center", children: consentText.description }), jsx(RadioButtonGroup, { className: "whitespace-normal", orientation: "horizontal", items: ITEMS, value: confirmStatus, onChange: handleConfirmChange }), jsx(Button, { disabled: !confirmStatus, type: "button", onClick: handleSubmit, children: "\u0414\u0430\u043B\u0435\u0435" })] }) }));
|
|
5296
5307
|
});
|
|
5297
5308
|
|
|
5298
5309
|
const useConsentBkiDialog = (onClose) => {
|
|
@@ -5332,7 +5343,7 @@
|
|
|
5332
5343
|
};
|
|
5333
5344
|
};
|
|
5334
5345
|
|
|
5335
|
-
const DraftActionButton = JSX(({ title, icon, description, onClick = noop }) => (jsxs("button", { className: "flex gap-lg items-center border border-gray/30 rounded-xl cursor-pointer p-4 hover:border-green", type: "button", onClick: onClick, children: [jsx(Img, { image: { icon, iconVersion: 'normal' }, width: "78", height: "78" }), jsxs("div", { className: "flex flex-col items-start gap-xs md:w-72 md:mr-lg", children: [jsx(Text, { font: "font-medium", size: "text-s", children: title }), description ? (jsx(Text, { color: "text-secondary-text", size: "text-xs", children: description })) : null] })] })));
|
|
5346
|
+
const DraftActionButton = JSX(({ title, icon, description, onClick = noop }) => (jsxs("button", { className: "flex gap-lg items-center border border-gray/30 rounded-xl cursor-pointer p-4 hover:border-green", type: "button", onClick: onClick, children: [jsx(Img, { image: { icon, iconVersion: 'normal' }, width: "78", height: "78" }), jsxs("div", { className: "flex flex-col items-start gap-xs md:w-72 md:mr-lg", children: [title ? (jsx(Text, { font: "font-medium", size: "text-s", children: title })) : null, description ? (jsx(Text, { color: "text-secondary-text", size: "text-xs", children: description })) : null] })] })));
|
|
5336
5347
|
|
|
5337
5348
|
const fieldsNamesToContactKeysMap = {
|
|
5338
5349
|
email: 'EMAIL',
|
|
@@ -5402,7 +5413,7 @@
|
|
|
5402
5413
|
}, []);
|
|
5403
5414
|
|
|
5404
5415
|
const getFamilyStatusAndIncomeData = (formData) => {
|
|
5405
|
-
const { familyStatus, familyMembers, dependents, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
|
|
5416
|
+
const { familyStatus, familyMembers, dependents, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, initiateBankruptcyFlg, } = formData;
|
|
5406
5417
|
return {
|
|
5407
5418
|
maritalStatusCd: familyStatus,
|
|
5408
5419
|
totalDependents: familyMembers,
|
|
@@ -5422,6 +5433,7 @@
|
|
|
5422
5433
|
}),
|
|
5423
5434
|
snils: snils?.replace(/[-\s]/g, ''),
|
|
5424
5435
|
armyIdFlg,
|
|
5436
|
+
initiateBankruptcyFlg,
|
|
5425
5437
|
};
|
|
5426
5438
|
};
|
|
5427
5439
|
const countIncomeAverage = (wages, retirementIncome) => (Number(wages ?? 0) + Number(retirementIncome ?? 0)).toString();
|
|
@@ -5602,7 +5614,7 @@
|
|
|
5602
5614
|
const handleGoToNewTask = useCallback(() => {
|
|
5603
5615
|
navigator.assign(isCredit ? '/natural/loans/all-goals' : '/natural/creditcards/svoya');
|
|
5604
5616
|
}, []);
|
|
5605
|
-
return (jsx(Dialog, { className: "my-6xl max-w-4xl w-full min-h-fit mx-auto rounded-xl py-0", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center mt-xs
|
|
5617
|
+
return (jsx(Dialog, { className: "my-6xl max-w-4xl w-full min-h-fit mx-auto rounded-xl py-0", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center mt-xs mx-6xl", children: [jsx(Heading, { className: "whitespace-pre-wrap text-center", title: "\u041D\u0430\u0448\u043B\u0438 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u044F\u0432\u043A\u0438", headingType: "h5" }), jsxs("div", { className: "flex flex-col gap-m max-w-lg", children: [jsx(DraftActionButton, { title: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A\u0430", icon: "BankColorIcon", description: createdDate ? `Черновик от ${formatDate(new Date(createdDate))}` : '', onClick: handleGoToDraft }), jsx(DraftActionButton, { title: isFromLead ? 'Продолжить заполнение текущей заявки' : 'Создать новую заявку', icon: "NewLoanIcon", description: "\u041D\u0430 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u0430", onClick: isFromLead ? onClose : handleGoToNewTask })] })] }) }));
|
|
5606
5618
|
});
|
|
5607
5619
|
|
|
5608
5620
|
const EmptyDraftDialog = JSX(function ({ onClose = noop }) {
|
|
@@ -5862,19 +5874,19 @@
|
|
|
5862
5874
|
}
|
|
5863
5875
|
};
|
|
5864
5876
|
const transformConsentsFields = (formData, productType) => {
|
|
5865
|
-
const { consentOthersFlg, consentPfrFlg, processPersonalDataFlg, consentInformFlg, consentProviderFlg, consentInformMaterialsFlg,
|
|
5877
|
+
const { consentOthersFlg, consentPfrFlg, processPersonalDataFlg, consentInformFlg, consentProviderFlg, consentInformMaterialsFlg, consentFATCA, } = formData;
|
|
5866
5878
|
let consents;
|
|
5867
5879
|
if (productType === 'credit') {
|
|
5868
5880
|
consents = {
|
|
5869
|
-
consentPhotoFlg: consentOthersFlg,
|
|
5870
5881
|
consentPfrFlg: consentPfrFlg,
|
|
5871
5882
|
consentInformMaterialsFlg: consentOthersFlg,
|
|
5883
|
+
consentPhotoFlg: false,
|
|
5872
5884
|
};
|
|
5873
5885
|
}
|
|
5874
5886
|
else if (productType === 'creditCard') {
|
|
5875
5887
|
consents = {
|
|
5876
5888
|
consentInformMaterialsFlg,
|
|
5877
|
-
consentPhotoFlg,
|
|
5889
|
+
consentPhotoFlg: false,
|
|
5878
5890
|
};
|
|
5879
5891
|
}
|
|
5880
5892
|
else {
|
|
@@ -5983,8 +5995,10 @@
|
|
|
5983
5995
|
dulSubdivisionCode: document.dulSubdivisionCode,
|
|
5984
5996
|
birthPlace: addInfo.birthPlace,
|
|
5985
5997
|
addressRegistration: buildAddress(addressRegistration),
|
|
5986
|
-
addressFact: buildAddress(addressFact),
|
|
5987
5998
|
esiaAccountTypeCd: isDebit ? profile.esiaAccountType : { key: '' },
|
|
5999
|
+
...(addressFact && {
|
|
6000
|
+
addressFact: buildAddress(addressFact),
|
|
6001
|
+
}),
|
|
5988
6002
|
};
|
|
5989
6003
|
return {
|
|
5990
6004
|
...mainData,
|
|
@@ -6065,16 +6079,6 @@
|
|
|
6065
6079
|
category: 'CONFIRMING_INCOME_DOC',
|
|
6066
6080
|
isPDF: false,
|
|
6067
6081
|
},
|
|
6068
|
-
{
|
|
6069
|
-
file: esiaAdditionalDocument.pdfFileSigWorkbook,
|
|
6070
|
-
category: 'CONFIRMING_INCOME_DOC',
|
|
6071
|
-
isPDF: true,
|
|
6072
|
-
},
|
|
6073
|
-
{
|
|
6074
|
-
file: esiaAdditionalDocument.xmlFileSigWorkbook,
|
|
6075
|
-
category: 'CONFIRMING_INCOME_DOC',
|
|
6076
|
-
isPDF: false,
|
|
6077
|
-
},
|
|
6078
6082
|
];
|
|
6079
6083
|
for (const doc of documents) {
|
|
6080
6084
|
const contentType = doc.isPDF ? 'data:application/pdf;base64' : 'data:application/xml;base64';
|
|
@@ -6121,8 +6125,6 @@
|
|
|
6121
6125
|
esiaAdditionalDocument?.xmlFilePayout,
|
|
6122
6126
|
esiaAdditionalDocument?.xmlFileSigPayout,
|
|
6123
6127
|
esiaAdditionalDocument?.xmlFileWorkbook,
|
|
6124
|
-
esiaAdditionalDocument?.pdfFileSigWorkbook,
|
|
6125
|
-
esiaAdditionalDocument?.xmlFileSigWorkbook,
|
|
6126
6128
|
];
|
|
6127
6129
|
return data.every(Boolean);
|
|
6128
6130
|
};
|
|
@@ -6169,12 +6171,6 @@
|
|
|
6169
6171
|
return initialFormState;
|
|
6170
6172
|
};
|
|
6171
6173
|
|
|
6172
|
-
var EsiaStatuses;
|
|
6173
|
-
(function (EsiaStatuses) {
|
|
6174
|
-
EsiaStatuses["Success"] = "SUCCESS";
|
|
6175
|
-
EsiaStatuses["Error"] = "ERROR";
|
|
6176
|
-
EsiaStatuses["Pending"] = "PENDING";
|
|
6177
|
-
})(EsiaStatuses || (EsiaStatuses = {}));
|
|
6178
6174
|
const ApplicationLeadForm = JSX(({ className, title, programId = '', nextStepLink = '/credit-lead', button, productType = 'credit', data, ...rest }) => {
|
|
6179
6175
|
const [esiaStatus, setEsiaStatus] = useState();
|
|
6180
6176
|
const leadForm = useRef(null);
|
|
@@ -6215,7 +6211,7 @@
|
|
|
6215
6211
|
reset();
|
|
6216
6212
|
}
|
|
6217
6213
|
}, [leadForm?.current, esiaStatus]);
|
|
6218
|
-
return (jsxs(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, ...rest, children: [!esiaStatus ? jsx(EsiaLoginBanner, {}) : null, jsxs("form", { onSubmit: onSubmit, className: "space-y-m relative", ref: leadForm, children: [esiaStatus === EsiaStatuses.Pending ? jsx(Loader, { blur: false }) : null, applicationFormData.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [renderTitle(_.title), renderInputs$1({ field, inputs: _?.inputs }, productType)] }, `section-${i}`))), renderSubmitButton(button, isSending), esiaStatus === EsiaStatuses.Error ? (jsx(Text, { size: "text-m", font: "font-medium", color: "text-error", children: "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0413\u043E\u0441\u0443\u0441\u043B\u0443\u0433\u0438 \u0434\u043B\u044F \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0437\u0430\u044F\u0432\u043A\u0438 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043F\u043E\u043B\u044F \u0432\u0440\u0443\u0447\u043D\u0443\u044E." })) : null] })] }));
|
|
6214
|
+
return (jsxs(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, ...rest, children: [!esiaStatus ? jsx(EsiaLoginBanner, { onChangeEsiaStatus: setEsiaStatus }) : null, jsxs("form", { onSubmit: onSubmit, className: "space-y-m relative", ref: leadForm, children: [esiaStatus === EsiaStatuses.Pending ? jsx(Loader, { blur: false }) : null, applicationFormData.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [renderTitle(_.title), renderInputs$1({ field, inputs: _?.inputs }, productType)] }, `section-${i}`))), renderSubmitButton(button, isSending), esiaStatus === EsiaStatuses.Error ? (jsx(Text, { size: "text-m", font: "font-medium", color: "text-error", children: "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0413\u043E\u0441\u0443\u0441\u043B\u0443\u0433\u0438 \u0434\u043B\u044F \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0437\u0430\u044F\u0432\u043A\u0438 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043F\u043E\u043B\u044F \u0432\u0440\u0443\u0447\u043D\u0443\u044E." })) : null] })] }));
|
|
6219
6215
|
});
|
|
6220
6216
|
const getInputs = (applicationFormData) => (applicationFormData?.flatMap((_) => _?.inputs) || []);
|
|
6221
6217
|
const getExtendedValidatorObj = (productType) => ({
|
|
@@ -6494,7 +6490,7 @@
|
|
|
6494
6490
|
const renderCarouselBlocks = ({ blocksToRender, ...rest }) => (jsx(SwipeListControl, { visibleItemCount: 0, gap: 0, arrowsPadded: true, children: renderBlocksList(blocksToRender, {
|
|
6495
6491
|
...rest.options,
|
|
6496
6492
|
parent: rest.block,
|
|
6497
|
-
renderProps: (block, options, i) => (jsx("div", { className: style('relative min-w-80', getBorderStyle(true)), children: renderBlock
|
|
6493
|
+
renderProps: (block, options, i) => (jsx("div", { className: style('relative min-w-80', getBorderStyle(true)), children: renderBlock(block, options) }, String(i))),
|
|
6498
6494
|
}) }));
|
|
6499
6495
|
|
|
6500
6496
|
const FilteredBlocks = JSX(({ blocksSection, blocksToRender = [], notFound, ...rest }) => {
|
|
@@ -6599,9 +6595,9 @@
|
|
|
6599
6595
|
};
|
|
6600
6596
|
|
|
6601
6597
|
const EMPTY_SCHEMA = {};
|
|
6602
|
-
const initialFiltrationState$
|
|
6598
|
+
const initialFiltrationState$1 = {};
|
|
6603
6599
|
const BankAccountFiltration = UniBlock(({ className, filtrationSchema = EMPTY_SCHEMA, consumerField = {}, resetButton, ...rest }) => {
|
|
6604
|
-
const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$
|
|
6600
|
+
const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$1, {
|
|
6605
6601
|
block: rest.block,
|
|
6606
6602
|
page: rest.options?.page,
|
|
6607
6603
|
});
|
|
@@ -6640,7 +6636,7 @@
|
|
|
6640
6636
|
const isMobileMode = useMobileMode();
|
|
6641
6637
|
return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: getAlignStyles(isMobileMode), title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-col @md:flex-row flex-wrap w-full @md:justify-center mt-xl gap-5xl", role: "list", children: benefitList.map(renderBenefit) })) : null] }));
|
|
6642
6638
|
});
|
|
6643
|
-
const renderBenefit = ({ label, description, __html, icon, isDotted = false, iconBgVersion }, i) => (jsxs("div", { className: "flex gap-m items-center @md:basis-1/2 @md:max-w-
|
|
6639
|
+
const renderBenefit = ({ label, description, __html, icon, isDotted = false, iconBgVersion }, i) => (jsxs("div", { className: "flex gap-m items-center @md:basis-1/2 @md:max-w-lg", role: "listitem", children: [icon?.icon ? (jsx(RoundedIcon, { className: "shrink-0", iconBgVersion: iconBgVersion, ...icon })) : null, icon?.src ? jsx(Img, { className: "shrink-0", image: icon }) : null, label ? (jsxs("div", { className: "@sm:h-full space-y-xs", children: [jsx(Heading, { headingType: "h6", children: label }), jsx(Text, { size: "text-l", color: "text-secondary-text group-data-secondary:text-white/80", font: "font-light", children: description }), __html ? jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-s" }) : null] })) : null] }, String(i)));
|
|
6644
6640
|
|
|
6645
6641
|
const bonusBenefitStyles = 'justify-between p-m h-full border border-gray';
|
|
6646
6642
|
|
|
@@ -7280,7 +7276,7 @@
|
|
|
7280
7276
|
...field('moneyExtra'),
|
|
7281
7277
|
value: calcParams.moneyExtra,
|
|
7282
7278
|
})
|
|
7283
|
-
: null, jsx("div", { className: "sm:hidden
|
|
7279
|
+
: null, jsx("div", { className: "sm:hidden pb-m border-b border-main-divider", children: paymentTypeElement })] }), jsxs("div", { className: style(CalculatorStyle.result, '@4xl:w-1/2'), children: [jsx(CalculatorValue, { title: "\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u0430", value: calcSource?.totalLoanCost }), jsx(CalculatorValue, { title: "\u0421\u0442\u0430\u0432\u043A\u0430 \u043E\u0442", value: minRate, fractionDigits: 2, postfix: "%" }), jsx(CalculatorValue, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calcParams.monthlyPayment, postfix: "\u20BD" }), calcParams.benefit > 0 ? (jsx(CalculatorValue, { title: "\u0412\u044B\u0433\u043E\u0434\u0430 \u0432 \u043C\u0435\u0441\u044F\u0446", value: calcParams.benefit, postfix: "\u20BD" })) : null, jsx("div", { className: "hidden sm:block mb-lg", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }) }));
|
|
7284
7280
|
});
|
|
7285
7281
|
const renderCreditParamsForm = (params, field) => (jsxs("div", { className: "space-y-lg sm:space-y-s", children: [params.isShowSalaryClient ? (jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowInsurance ? (jsx(Checkbox, { text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", ...field('isInsurance'), value: params.isInsurance })) : null, jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0443\u044E \u0441\u0443\u043C\u043C\u0443", ...field('isExtraMoney'), value: params.isExtraMoney })] }));
|
|
7286
7282
|
|
|
@@ -7345,7 +7341,7 @@
|
|
|
7345
7341
|
const FAILED_TITLE = 'Ошибка перевода';
|
|
7346
7342
|
const SubmitFailedDialog = ({ onClose, errorCode, errorMessage, }) => {
|
|
7347
7343
|
const description = errorCode ? `Код ошибки - ${errorCode}` : 'Пожалуйста, повторите позднее';
|
|
7348
|
-
return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md space-x-m", children: [jsx(Img, { image: { icon: 'ResponseFailIcon', iconVersion: 'normal' }, width: "136", height: "136" }), jsx(Headline, { className: "w-full", title: FAILED_TITLE, description: description, headlineVersion: "XS", isEmbedded: true }), errorMessage ? (jsxs("div", { className: "bg-secondary-dark rounded-xl
|
|
7344
|
+
return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md space-x-m", children: [jsx(Img, { image: { icon: 'ResponseFailIcon', iconVersion: 'normal' }, width: "136", height: "136" }), jsx(Headline, { className: "w-full", title: FAILED_TITLE, description: description, headlineVersion: "XS", isEmbedded: true }), errorMessage ? (jsxs("div", { className: "bg-secondary-dark rounded-xl p-m grid gap-m grid-cols-12", children: [jsx("div", { className: "col-span-8", children: errorMessage }), jsx("div", { className: "col-span-4", children: jsx(Img, { image: { icon: 'ResponseFailIcon', iconVersion: 'normal' } }) })] })) : null] }) }));
|
|
7349
7345
|
};
|
|
7350
7346
|
|
|
7351
7347
|
const useSubmitCardTransfer = (formType) => {
|
|
@@ -7380,16 +7376,11 @@
|
|
|
7380
7376
|
amount: 1500,
|
|
7381
7377
|
};
|
|
7382
7378
|
const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, button, formType = 'private', ...rest }) => {
|
|
7383
|
-
const [isDisabled, { setValue: setDisabled }] = useBool(false);
|
|
7384
7379
|
const handleSubmit = useSubmitCardTransfer(formType);
|
|
7385
7380
|
const [{ amount }, { field, onSubmit }] = useForm(INITIAL_FORM_STATE, {
|
|
7386
7381
|
onSubmit: handleSubmit,
|
|
7387
7382
|
});
|
|
7388
|
-
|
|
7389
|
-
useEffect(() => {
|
|
7390
|
-
setDisabled(amount <= 0);
|
|
7391
|
-
}, [amount]);
|
|
7392
|
-
return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", onSubmit: onSubmit, children: [jsx(CurrencyInput, { valid: !isDisabled, label: label, max: MAX_AMOUNT, min: MIN_AMOUNT, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx(SubmitButton$1, { className: "w-full mt-lg", disabled: isDisabled, children: button.text })) : null] })] }));
|
|
7383
|
+
return (jsxs(BlockWrapper, { className: style('flex flex-col gap-4xl items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-md space-y-lg", method: "POST", onSubmit: onSubmit, children: [jsx(CurrencyInput, { valid: amount > 0, label: label, max: MAX_AMOUNT, min: MIN_AMOUNT, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx(SubmitButton$1, { className: "w-full", disabled: amount <= 0, children: button.text })) : null] })] }));
|
|
7393
7384
|
});
|
|
7394
7385
|
|
|
7395
7386
|
const ITEMS_GAP = 16;
|
|
@@ -7408,7 +7399,7 @@
|
|
|
7408
7399
|
const defaultPadding = isNavButtons ? { defaultPadding: 'p-6xl pb-m' } : {};
|
|
7409
7400
|
return renderChildren({
|
|
7410
7401
|
...rest,
|
|
7411
|
-
renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock
|
|
7402
|
+
renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock(block, options, {
|
|
7412
7403
|
className: cardStyle(block, {
|
|
7413
7404
|
someCardsHighlighted,
|
|
7414
7405
|
showBorder: !noCardBorder,
|
|
@@ -7421,9 +7412,9 @@
|
|
|
7421
7412
|
: null] }, String(blockIndex))),
|
|
7422
7413
|
});
|
|
7423
7414
|
};
|
|
7424
|
-
const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-
|
|
7415
|
+
const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-16'));
|
|
7425
7416
|
const cardStyle = (_, { someCardsHighlighted, showBorder, cardSize = 'normal', }) => style(cardBaseStyle, 'min-w-80', CARD_SIZE_MAP[cardSize], // TODO fix для RecommendationCard
|
|
7426
|
-
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-
|
|
7417
|
+
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-16' : 'pt-3xl'), getBorderStyle(showBorder), showBorder && 'h-full');
|
|
7427
7418
|
const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
|
|
7428
7419
|
|
|
7429
7420
|
const VISIBLE_ITEM_COUNT = 0;
|
|
@@ -7452,15 +7443,6 @@
|
|
|
7452
7443
|
};
|
|
7453
7444
|
}) ?? [];
|
|
7454
7445
|
|
|
7455
|
-
const titleSize = 'XS';
|
|
7456
|
-
|
|
7457
|
-
const layerBaseStyle = 'z-10 border border-solid w-full h-full';
|
|
7458
|
-
const layerStyle = style(layerBaseStyle, 'absolute hidden @xl:block border-transparent');
|
|
7459
|
-
const CarouselCard = JSX(({ className, title, description, button, ...rest }) => (jsx(BlockWrapper, { className: style('sm:pl-6xl sm:pb-4xl @container-normal', className), defaultPadding: "p-0", ...rest, children: jsxs("div", { className: "relative h-full", children: [jsx("div", { className: style(layerStyle, 'top-9 right-12 bg-green-dark') }), jsx("div", { className: style(layerStyle, 'top-6 right-8 bg-green') }), jsx("div", { className: style(layerStyle, 'top-3 right-4 bg-green-light') }), jsxs("div", { className: style(layerBaseStyle, 'relative p-xl sm:p-5xl bg-white border-transparent sm:border-green-more-light'), children: [jsx(Headline, { title: title, description: description, headlineVersion: titleSize, align: "text-left", isEmbedded: true }), renderButtonsSection([button], {
|
|
7460
|
-
className: 'mt-m sm:mt-6xl sm:justify-center',
|
|
7461
|
-
isVertical: true,
|
|
7462
|
-
})] })] }) })));
|
|
7463
|
-
|
|
7464
7446
|
const cardStyleMap = {
|
|
7465
7447
|
black: 'bg-black',
|
|
7466
7448
|
white: 'bg-white',
|
|
@@ -7468,19 +7450,6 @@
|
|
|
7468
7450
|
const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors = [], align = 'text-left', padding, ...rest }) => (jsx(BlockWrapper, { className: style('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, title: jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align, className: "min-h-24" }), rightImage: image?.src ? (jsx(Img, { className: "flex justify-center align-center mb-xl", image: image })) : null, buttons: renderButtonsSection([button], { buttonClassName: 'w-full self-end' }), children: [colors?.length ? (jsxs("div", { className: "flex text-secondary-text mb-m", children: [jsx("div", { className: "mr-xs", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null] }) })));
|
|
7469
7451
|
const renderColorOption = (color, i) => (jsx("figure", { className: `w-6 h-6 ml-s border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
|
|
7470
7452
|
|
|
7471
|
-
const CarouselLinkButton = JSX(({ icon, ...linkProps }) => {
|
|
7472
|
-
const link = useLink();
|
|
7473
|
-
const { text, href, target, onClick } = link(linkProps);
|
|
7474
|
-
const textStyle = 'font-light md:font-normal text-primary-text text-center text-xs md:text-sm whitespace-wrap';
|
|
7475
|
-
return text ? (jsx("div", { className: style('p-3 rounded-lg bg-white text-secondary-text flex justify-center'), children: jsx("a", { role: "link", href: href, target: target, onClick: onClick, children: jsxs("div", { className: "flex flex-col items-center gap-3 break-words max-w-[150px]", children: [icon ? (jsx(Img, { className: "w-7 h-7 md:w-12 md:h-12", image: {
|
|
7476
|
-
...icon,
|
|
7477
|
-
iconVersion: icon?.iconVersion,
|
|
7478
|
-
}, alt: text })) : null, jsx("div", { className: textStyle, children: text })] }) }) })) : null;
|
|
7479
|
-
});
|
|
7480
|
-
|
|
7481
|
-
const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsx(BlockWrapper, { defaultPadding: "p-5xl", className: style('overflow-hidden', className), ...rest, children: jsxs("div", { className: "flex flex-col lg:flex-row gap-5 justify-between", children: [jsxs("div", { className: "flex-1", children: [jsx(Headline, { isEmbedded: true, title: title, description: description, as: "h1", align: "text-left", headlineVersion: "XL" }), jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isEmbedded: true })] }), links?.length ? renderLinks(links) : null] }) })));
|
|
7482
|
-
const renderLinks = (links) => (jsx("div", { className: style('lg:grid-cols-9 lg:[&>*]:col-span-2 lg:[&>*:nth-child(14n+2)]:col-span-3 lg:[&>*:nth-child(7n+5)]:col-span-3', 'lg:[&>*:nth-child(7n+6)]:col-span-3 lg:[&>*:nth-child(7n+7)]:col-span-3 lg:[&>*:nth-child(14n+10)]:col-span-3 lg:w-3/6', 'grid-cols-3 max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+3)]:col-span-2 max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+4)]:col-span-2', 'grid gap-3 lg:gap-5'), children: links.map((link, i) => (jsx(CarouselLinkButton, { ...link }, String(i)))) }));
|
|
7483
|
-
|
|
7484
7453
|
const LinkWrapper = JSX(({ className = '', href, target, onClick, data, children }) => {
|
|
7485
7454
|
const link = useLink();
|
|
7486
7455
|
const linkProps = link({ href, target, onClick });
|
|
@@ -7636,7 +7605,7 @@
|
|
|
7636
7605
|
return () => clearInterval(timer);
|
|
7637
7606
|
};
|
|
7638
7607
|
|
|
7639
|
-
const ProgressBar = JSX(({ step = 10, description, showPercentage = true }) => (jsxs("div", { children: [jsx("div", { className: "h-4 w-full bg-gray relative", children: jsx("div", { className: "h-4 bg-green", style: { width: `${step}%` } }) }), jsxs("div", { className: "relative", children: [showPercentage ? jsxs("div", { className: "absolute left-2/4 text-green", children: [step, "%"] }) : null, description ? jsx("div", { className: "text-right
|
|
7608
|
+
const ProgressBar = JSX(({ step = 10, description, showPercentage = true }) => (jsxs("div", { children: [jsx("div", { className: "h-4 w-full bg-gray relative", children: jsx("div", { className: "h-4 bg-green", style: { width: `${step}%` } }) }), jsxs("div", { className: "relative", children: [showPercentage ? jsxs("div", { className: "absolute left-2/4 text-green", children: [step, "%"] }) : null, description ? jsx("div", { className: "text-right pr-m text-gray", children: description }) : null] })] })));
|
|
7640
7609
|
|
|
7641
7610
|
const CreditCardFormProgress = JSX(({ step = 1, totalSteps = 6, stepsTitles = [] }) => {
|
|
7642
7611
|
const progress = useMemo(() => ((step + 1) / totalSteps) * 100, [step, totalSteps]);
|
|
@@ -7731,7 +7700,7 @@
|
|
|
7731
7700
|
|
|
7732
7701
|
const SuccessStatusCardContent = JSX(() => {
|
|
7733
7702
|
const { statusInfo } = useRetailFormStore();
|
|
7734
|
-
return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442 \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: getSectionInfo(statusInfo), buttonText: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" }));
|
|
7703
|
+
return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: getSectionInfo(statusInfo), buttonText: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" }));
|
|
7735
7704
|
});
|
|
7736
7705
|
const getSectionInfo = (statusInfo) => {
|
|
7737
7706
|
const sectionInfo = [
|
|
@@ -7802,6 +7771,7 @@
|
|
|
7802
7771
|
.map((_) => {
|
|
7803
7772
|
if ([
|
|
7804
7773
|
checkIsRetiree(step, getValue),
|
|
7774
|
+
checkIsUnemployedRetiree(_, getValue),
|
|
7805
7775
|
checkBusinessOwner(_, getValue),
|
|
7806
7776
|
checkConsentPfrFlg(_, getValue),
|
|
7807
7777
|
checkAddressFillFromESIA(_, getValue),
|
|
@@ -7813,6 +7783,7 @@
|
|
|
7813
7783
|
return _;
|
|
7814
7784
|
});
|
|
7815
7785
|
const checkIsRetiree = (step, getValue) => step === 2 && getValue('employment')?.key === 'RETIREE';
|
|
7786
|
+
const checkIsUnemployedRetiree = ({ name }, getValue) => name === 'wages' && getValue('employment')?.key === 'RETIREE' && !getValue('inn');
|
|
7816
7787
|
const checkBusinessOwner = ({ name }, getValue) => name === 'partInBusiness' && getValue('positionOrganization')?.key !== 'BUSINESS_OWNER';
|
|
7817
7788
|
const checkAddressFillFromESIA = ({ name, filledByEsia }, getValue) => name?.startsWith('address') && getValue('esiaAccountTypeCd')?.key && filledByEsia;
|
|
7818
7789
|
const checkAddressFact = ({ name }, getValue) => name === 'addressFact' && getValue('addressMatch');
|
|
@@ -7829,7 +7800,13 @@
|
|
|
7829
7800
|
|
|
7830
7801
|
const renderStep = ({ sections, field, step, params, }) => sections?.map(({ inputs: origInputs = [], columns, title, condition }, i) => {
|
|
7831
7802
|
const inputs = calculateInputs(getValue(field))(origInputs, step);
|
|
7832
|
-
|
|
7803
|
+
const cleanElements = [
|
|
7804
|
+
!checkCondition({ condition }, getValue(field)) ? renderTitle(title) : null,
|
|
7805
|
+
...renderInputs({ field, inputs, params }),
|
|
7806
|
+
]
|
|
7807
|
+
.filter(Boolean)
|
|
7808
|
+
.map((_, j) => ({ ..._, key: _.key ?? `elem-${j}` }));
|
|
7809
|
+
return cleanElements.length ? (jsx("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: cleanElements }, `section-${i}`)) : null;
|
|
7833
7810
|
});
|
|
7834
7811
|
const getValue = (field) => (name) => field(name)?.value;
|
|
7835
7812
|
|
|
@@ -7863,7 +7840,7 @@
|
|
|
7863
7840
|
}
|
|
7864
7841
|
};
|
|
7865
7842
|
|
|
7866
|
-
const
|
|
7843
|
+
const getMainFormStateMap = (isCredit = false) => [
|
|
7867
7844
|
{
|
|
7868
7845
|
surname: '',
|
|
7869
7846
|
name: '',
|
|
@@ -7918,8 +7895,9 @@
|
|
|
7918
7895
|
wages: undefined,
|
|
7919
7896
|
mandatoryPayments: undefined,
|
|
7920
7897
|
snils: '',
|
|
7921
|
-
armyIdFlg: false,
|
|
7898
|
+
armyIdFlg: isCredit ? undefined : false,
|
|
7922
7899
|
esiaAccountTypeCd: { key: '', text: '' },
|
|
7900
|
+
initiateBankruptcyFlg: isCredit ? false : undefined,
|
|
7923
7901
|
},
|
|
7924
7902
|
{
|
|
7925
7903
|
bankruptcyFlg: false,
|
|
@@ -7935,7 +7913,7 @@
|
|
|
7935
7913
|
currency: '810',
|
|
7936
7914
|
codeWord: '',
|
|
7937
7915
|
},
|
|
7938
|
-
...
|
|
7916
|
+
...getMainFormStateMap(),
|
|
7939
7917
|
{
|
|
7940
7918
|
regionRetail: { key: '', text: '' },
|
|
7941
7919
|
addressRetail: { key: '', text: '' },
|
|
@@ -7976,7 +7954,7 @@
|
|
|
7976
7954
|
employmentTypeCd: employment,
|
|
7977
7955
|
organizationName,
|
|
7978
7956
|
organizationInn: inn,
|
|
7979
|
-
organizationActivityTypeCd: employerActivities,
|
|
7957
|
+
organizationActivityTypeCd: employerActivities?.key ? employerActivities : undefined,
|
|
7980
7958
|
organizationTypeCd: organization,
|
|
7981
7959
|
organizationKindCd: employerOrganization,
|
|
7982
7960
|
employeesNumberCd: amountWorkers,
|
|
@@ -7985,17 +7963,17 @@
|
|
|
7985
7963
|
generalSeniority: experience5Years,
|
|
7986
7964
|
jobsNumber,
|
|
7987
7965
|
lastWorkDuration: lastJobExperience,
|
|
7988
|
-
positionCd: positionOrganization,
|
|
7966
|
+
positionCd: positionOrganization?.key ? positionOrganization : undefined,
|
|
7989
7967
|
participantContacts: getParticipantContacts$1({
|
|
7990
7968
|
organizationPhone: organizationPhone && formatPhone(organizationPhone),
|
|
7991
7969
|
}),
|
|
7992
7970
|
participantAddresses: getParticipantAddresses$1({ organizationAddress }),
|
|
7993
|
-
ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness :
|
|
7971
|
+
ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness : undefined,
|
|
7994
7972
|
};
|
|
7995
7973
|
};
|
|
7996
7974
|
|
|
7997
7975
|
const getPersonalInfoData = (formData) => {
|
|
7998
|
-
const { name, surname, middleName, limitedBirthday = '', phone = '', email, sex, birthPlace, dulIssueDate = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration
|
|
7976
|
+
const { name, surname, middleName, limitedBirthday = '', phone = '', email, sex, birthPlace, dulIssueDate = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration, housing, addressRegistration, addressFact, addressMatch, } = formData;
|
|
7999
7977
|
return {
|
|
8000
7978
|
birthDate: formatDate(limitedBirthday, true),
|
|
8001
7979
|
midname: middleName,
|
|
@@ -8008,7 +7986,9 @@
|
|
|
8008
7986
|
dulSerie,
|
|
8009
7987
|
dulSubdivisionCode,
|
|
8010
7988
|
educationLevelCd: education,
|
|
8011
|
-
registrationDate:
|
|
7989
|
+
registrationDate: participantDateRegistration
|
|
7990
|
+
? formatDate(participantDateRegistration, true)
|
|
7991
|
+
: undefined,
|
|
8012
7992
|
homeMatchFlg: addressMatch,
|
|
8013
7993
|
houseTypeCd: housing,
|
|
8014
7994
|
participantContacts: getParticipantContacts$1({
|
|
@@ -8178,7 +8158,6 @@
|
|
|
8178
8158
|
return (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep({ sections, field, step }), jsx(StepsNavigationButtons$1, { isSending: isSending, step: step, onPrevStep: onPrevStep })] }));
|
|
8179
8159
|
});
|
|
8180
8160
|
|
|
8181
|
-
/* eslint-disable max-lines */
|
|
8182
8161
|
const PERSONAL_DATA = [
|
|
8183
8162
|
{
|
|
8184
8163
|
title: 'Персональные данные',
|
|
@@ -8214,9 +8193,6 @@
|
|
|
8214
8193
|
},
|
|
8215
8194
|
],
|
|
8216
8195
|
},
|
|
8217
|
-
];
|
|
8218
|
-
const PERSONAL_INFO_CONTENT = [
|
|
8219
|
-
...PERSONAL_DATA,
|
|
8220
8196
|
{
|
|
8221
8197
|
inputs: [
|
|
8222
8198
|
{
|
|
@@ -8225,6 +8201,124 @@
|
|
|
8225
8201
|
dadata: true,
|
|
8226
8202
|
filledByEsia: true,
|
|
8227
8203
|
},
|
|
8204
|
+
],
|
|
8205
|
+
},
|
|
8206
|
+
];
|
|
8207
|
+
const DELIVERY_CARD_CONTENT = [
|
|
8208
|
+
{
|
|
8209
|
+
title: 'Регион обслуживания карты',
|
|
8210
|
+
columns: 1,
|
|
8211
|
+
inputs: [],
|
|
8212
|
+
},
|
|
8213
|
+
{
|
|
8214
|
+
inputs: [
|
|
8215
|
+
{
|
|
8216
|
+
name: 'regionRetail',
|
|
8217
|
+
required: true,
|
|
8218
|
+
},
|
|
8219
|
+
],
|
|
8220
|
+
},
|
|
8221
|
+
{
|
|
8222
|
+
title: 'Способ получения',
|
|
8223
|
+
columns: 1,
|
|
8224
|
+
inputs: [],
|
|
8225
|
+
condition: {
|
|
8226
|
+
name: 'regionHasDelivery',
|
|
8227
|
+
values: [true],
|
|
8228
|
+
},
|
|
8229
|
+
},
|
|
8230
|
+
{
|
|
8231
|
+
inputs: [
|
|
8232
|
+
{
|
|
8233
|
+
name: 'methodObtain',
|
|
8234
|
+
condition: {
|
|
8235
|
+
name: 'regionHasDelivery',
|
|
8236
|
+
values: [true],
|
|
8237
|
+
},
|
|
8238
|
+
},
|
|
8239
|
+
],
|
|
8240
|
+
},
|
|
8241
|
+
{
|
|
8242
|
+
title: 'Выбор офиса',
|
|
8243
|
+
columns: 1,
|
|
8244
|
+
inputs: [],
|
|
8245
|
+
condition: {
|
|
8246
|
+
name: 'methodObtain',
|
|
8247
|
+
values: ['office'],
|
|
8248
|
+
},
|
|
8249
|
+
},
|
|
8250
|
+
{
|
|
8251
|
+
title: 'Адрес доставки',
|
|
8252
|
+
columns: 1,
|
|
8253
|
+
inputs: [],
|
|
8254
|
+
condition: {
|
|
8255
|
+
name: 'methodObtain',
|
|
8256
|
+
values: ['courier'],
|
|
8257
|
+
},
|
|
8258
|
+
},
|
|
8259
|
+
{
|
|
8260
|
+
inputs: [
|
|
8261
|
+
{
|
|
8262
|
+
name: 'addressCourier',
|
|
8263
|
+
dadata: true,
|
|
8264
|
+
condition: {
|
|
8265
|
+
name: 'methodObtain',
|
|
8266
|
+
values: ['courier'],
|
|
8267
|
+
},
|
|
8268
|
+
required: true,
|
|
8269
|
+
},
|
|
8270
|
+
],
|
|
8271
|
+
},
|
|
8272
|
+
{
|
|
8273
|
+
columns: 2,
|
|
8274
|
+
inputs: [
|
|
8275
|
+
{
|
|
8276
|
+
name: 'deliveryDate',
|
|
8277
|
+
condition: {
|
|
8278
|
+
name: 'methodObtain',
|
|
8279
|
+
values: ['courier'],
|
|
8280
|
+
},
|
|
8281
|
+
required: true,
|
|
8282
|
+
},
|
|
8283
|
+
{
|
|
8284
|
+
name: 'deliveryTime',
|
|
8285
|
+
condition: {
|
|
8286
|
+
name: 'methodObtain',
|
|
8287
|
+
values: ['courier'],
|
|
8288
|
+
},
|
|
8289
|
+
},
|
|
8290
|
+
],
|
|
8291
|
+
},
|
|
8292
|
+
{
|
|
8293
|
+
inputs: [
|
|
8294
|
+
{
|
|
8295
|
+
name: 'comment',
|
|
8296
|
+
condition: {
|
|
8297
|
+
name: 'methodObtain',
|
|
8298
|
+
values: ['courier'],
|
|
8299
|
+
},
|
|
8300
|
+
},
|
|
8301
|
+
],
|
|
8302
|
+
},
|
|
8303
|
+
{
|
|
8304
|
+
inputs: [
|
|
8305
|
+
{
|
|
8306
|
+
name: 'addressRetail',
|
|
8307
|
+
required: true,
|
|
8308
|
+
condition: {
|
|
8309
|
+
name: 'methodObtain',
|
|
8310
|
+
values: ['office'],
|
|
8311
|
+
},
|
|
8312
|
+
},
|
|
8313
|
+
],
|
|
8314
|
+
},
|
|
8315
|
+
];
|
|
8316
|
+
|
|
8317
|
+
/* eslint-disable max-lines */
|
|
8318
|
+
const PERSONAL_INFO_CONTENT$1 = [
|
|
8319
|
+
...PERSONAL_DATA,
|
|
8320
|
+
{
|
|
8321
|
+
inputs: [
|
|
8228
8322
|
{
|
|
8229
8323
|
name: 'education',
|
|
8230
8324
|
required: true,
|
|
@@ -8263,7 +8357,7 @@
|
|
|
8263
8357
|
inputs: [{ name: 'addressFact', required: true, dadata: true }],
|
|
8264
8358
|
},
|
|
8265
8359
|
];
|
|
8266
|
-
const EMPLOYMENT_CONTENT = [
|
|
8360
|
+
const EMPLOYMENT_CONTENT$1 = [
|
|
8267
8361
|
{
|
|
8268
8362
|
title: 'Данные о трудоустройстве',
|
|
8269
8363
|
inputs: [],
|
|
@@ -8336,7 +8430,7 @@
|
|
|
8336
8430
|
inputs: [{ name: 'organizationAddress', required: true, dadata: true }],
|
|
8337
8431
|
},
|
|
8338
8432
|
];
|
|
8339
|
-
const FAMILY_STATUS_AND_INCOME_CONTENT = [
|
|
8433
|
+
const FAMILY_STATUS_AND_INCOME_CONTENT$1 = [
|
|
8340
8434
|
{
|
|
8341
8435
|
title: 'Семейное положение',
|
|
8342
8436
|
},
|
|
@@ -8377,6 +8471,16 @@
|
|
|
8377
8471
|
columns: 1,
|
|
8378
8472
|
inputs: [{ name: 'wages', required: true, filledByEsia: true }],
|
|
8379
8473
|
},
|
|
8474
|
+
{
|
|
8475
|
+
columns: 1,
|
|
8476
|
+
inputs: [
|
|
8477
|
+
{
|
|
8478
|
+
name: 'retirementIncome',
|
|
8479
|
+
required: true,
|
|
8480
|
+
condition: { name: 'employment', values: ['RETIREE'] },
|
|
8481
|
+
},
|
|
8482
|
+
],
|
|
8483
|
+
},
|
|
8380
8484
|
{
|
|
8381
8485
|
columns: 1,
|
|
8382
8486
|
inputs: [{ name: 'mandatoryPayments', required: true }],
|
|
@@ -8413,41 +8517,6 @@
|
|
|
8413
8517
|
inputs: [{ name: 'creditInRshbCd' }],
|
|
8414
8518
|
},
|
|
8415
8519
|
];
|
|
8416
|
-
const COMMON_RETAIL_CONTENT = [
|
|
8417
|
-
PERSONAL_INFO_CONTENT,
|
|
8418
|
-
EMPLOYMENT_CONTENT,
|
|
8419
|
-
FAMILY_STATUS_AND_INCOME_CONTENT,
|
|
8420
|
-
ADDITIONAL_CONTENT,
|
|
8421
|
-
];
|
|
8422
|
-
const DELIVERY_CREDIT_CONTENT = [
|
|
8423
|
-
{
|
|
8424
|
-
title: 'Отделение Банка',
|
|
8425
|
-
columns: 1,
|
|
8426
|
-
inputs: [],
|
|
8427
|
-
},
|
|
8428
|
-
{
|
|
8429
|
-
inputs: [{ name: 'regionRetail', required: true }],
|
|
8430
|
-
},
|
|
8431
|
-
{
|
|
8432
|
-
inputs: [{ name: 'addressRetail', required: true }],
|
|
8433
|
-
},
|
|
8434
|
-
{
|
|
8435
|
-
title: 'Код представителя Банка',
|
|
8436
|
-
columns: 1,
|
|
8437
|
-
inputs: [],
|
|
8438
|
-
},
|
|
8439
|
-
{
|
|
8440
|
-
inputs: [
|
|
8441
|
-
{
|
|
8442
|
-
name: 'infoCard',
|
|
8443
|
-
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
8444
|
-
},
|
|
8445
|
-
],
|
|
8446
|
-
},
|
|
8447
|
-
{
|
|
8448
|
-
inputs: [{ name: 'bankEmployeeCode' }],
|
|
8449
|
-
},
|
|
8450
|
-
];
|
|
8451
8520
|
const CREDIT_CARD_CONTENT = [
|
|
8452
8521
|
{
|
|
8453
8522
|
title: 'Параметры карты',
|
|
@@ -8462,151 +8531,34 @@
|
|
|
8462
8531
|
],
|
|
8463
8532
|
},
|
|
8464
8533
|
];
|
|
8465
|
-
const
|
|
8534
|
+
const DELIVERY_CREDIT_CARD_CONTENT = [
|
|
8535
|
+
...DELIVERY_CARD_CONTENT,
|
|
8466
8536
|
{
|
|
8467
|
-
columns: 1,
|
|
8468
8537
|
inputs: [
|
|
8469
8538
|
{
|
|
8470
|
-
name: '
|
|
8539
|
+
name: 'infoCard',
|
|
8540
|
+
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
8541
|
+
condition: {
|
|
8542
|
+
name: 'methodObtain',
|
|
8543
|
+
values: ['office'],
|
|
8544
|
+
},
|
|
8545
|
+
},
|
|
8546
|
+
{
|
|
8547
|
+
name: 'bankEmployeeCode',
|
|
8548
|
+
condition: {
|
|
8549
|
+
name: 'methodObtain',
|
|
8550
|
+
values: ['office'],
|
|
8551
|
+
},
|
|
8471
8552
|
},
|
|
8472
8553
|
],
|
|
8473
8554
|
},
|
|
8474
8555
|
];
|
|
8475
|
-
const DELIVERY_DEBIT_CARD_CONTENT = [
|
|
8476
|
-
{
|
|
8477
|
-
title: 'Регион обслуживания карты',
|
|
8478
|
-
columns: 1,
|
|
8479
|
-
inputs: [],
|
|
8480
|
-
},
|
|
8481
|
-
{
|
|
8482
|
-
inputs: [
|
|
8483
|
-
{
|
|
8484
|
-
name: 'regionRetail',
|
|
8485
|
-
required: true,
|
|
8486
|
-
},
|
|
8487
|
-
],
|
|
8488
|
-
},
|
|
8489
|
-
{
|
|
8490
|
-
title: 'Способ получения',
|
|
8491
|
-
columns: 1,
|
|
8492
|
-
inputs: [],
|
|
8493
|
-
condition: {
|
|
8494
|
-
name: 'regionHasDelivery',
|
|
8495
|
-
values: [true],
|
|
8496
|
-
},
|
|
8497
|
-
},
|
|
8498
|
-
{
|
|
8499
|
-
inputs: [
|
|
8500
|
-
{
|
|
8501
|
-
name: 'methodObtain',
|
|
8502
|
-
condition: {
|
|
8503
|
-
name: 'regionHasDelivery',
|
|
8504
|
-
values: [true],
|
|
8505
|
-
},
|
|
8506
|
-
},
|
|
8507
|
-
],
|
|
8508
|
-
},
|
|
8509
|
-
{
|
|
8510
|
-
title: 'Выбор офиса',
|
|
8511
|
-
columns: 1,
|
|
8512
|
-
inputs: [],
|
|
8513
|
-
condition: {
|
|
8514
|
-
name: 'methodObtain',
|
|
8515
|
-
values: ['office'],
|
|
8516
|
-
},
|
|
8517
|
-
},
|
|
8518
|
-
{
|
|
8519
|
-
title: 'Адрес доставки',
|
|
8520
|
-
columns: 1,
|
|
8521
|
-
inputs: [],
|
|
8522
|
-
condition: {
|
|
8523
|
-
name: 'methodObtain',
|
|
8524
|
-
values: ['courier'],
|
|
8525
|
-
},
|
|
8526
|
-
},
|
|
8527
|
-
{
|
|
8528
|
-
inputs: [
|
|
8529
|
-
{
|
|
8530
|
-
name: 'addressCourier',
|
|
8531
|
-
dadata: true,
|
|
8532
|
-
condition: {
|
|
8533
|
-
name: 'methodObtain',
|
|
8534
|
-
values: ['courier'],
|
|
8535
|
-
},
|
|
8536
|
-
required: true,
|
|
8537
|
-
},
|
|
8538
|
-
],
|
|
8539
|
-
},
|
|
8540
|
-
{
|
|
8541
|
-
columns: 2,
|
|
8542
|
-
inputs: [
|
|
8543
|
-
{
|
|
8544
|
-
name: 'deliveryDate',
|
|
8545
|
-
condition: {
|
|
8546
|
-
name: 'methodObtain',
|
|
8547
|
-
values: ['courier'],
|
|
8548
|
-
},
|
|
8549
|
-
required: true,
|
|
8550
|
-
},
|
|
8551
|
-
{
|
|
8552
|
-
name: 'deliveryTime',
|
|
8553
|
-
condition: {
|
|
8554
|
-
name: 'methodObtain',
|
|
8555
|
-
values: ['courier'],
|
|
8556
|
-
},
|
|
8557
|
-
},
|
|
8558
|
-
],
|
|
8559
|
-
},
|
|
8560
|
-
{
|
|
8561
|
-
inputs: [
|
|
8562
|
-
{
|
|
8563
|
-
name: 'comment',
|
|
8564
|
-
condition: {
|
|
8565
|
-
name: 'methodObtain',
|
|
8566
|
-
values: ['courier'],
|
|
8567
|
-
},
|
|
8568
|
-
},
|
|
8569
|
-
],
|
|
8570
|
-
},
|
|
8571
|
-
{
|
|
8572
|
-
inputs: [
|
|
8573
|
-
{
|
|
8574
|
-
name: 'addressRetail',
|
|
8575
|
-
required: true,
|
|
8576
|
-
condition: {
|
|
8577
|
-
name: 'methodObtain',
|
|
8578
|
-
values: ['office'],
|
|
8579
|
-
},
|
|
8580
|
-
},
|
|
8581
|
-
],
|
|
8582
|
-
},
|
|
8583
|
-
];
|
|
8584
|
-
const DELIVERY_CREDIT_CARD_CONTENT = [
|
|
8585
|
-
...DELIVERY_DEBIT_CARD_CONTENT,
|
|
8586
|
-
{
|
|
8587
|
-
inputs: [
|
|
8588
|
-
{
|
|
8589
|
-
name: 'infoCard',
|
|
8590
|
-
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
8591
|
-
condition: {
|
|
8592
|
-
name: 'methodObtain',
|
|
8593
|
-
values: ['office'],
|
|
8594
|
-
},
|
|
8595
|
-
},
|
|
8596
|
-
{
|
|
8597
|
-
name: 'bankEmployeeCode',
|
|
8598
|
-
condition: {
|
|
8599
|
-
name: 'methodObtain',
|
|
8600
|
-
values: ['office'],
|
|
8601
|
-
},
|
|
8602
|
-
},
|
|
8603
|
-
],
|
|
8604
|
-
},
|
|
8605
|
-
];
|
|
8606
|
-
|
|
8607
8556
|
const stepsSectionsMap$1 = [
|
|
8608
8557
|
CREDIT_CARD_CONTENT,
|
|
8609
|
-
|
|
8558
|
+
PERSONAL_INFO_CONTENT$1,
|
|
8559
|
+
EMPLOYMENT_CONTENT$1,
|
|
8560
|
+
FAMILY_STATUS_AND_INCOME_CONTENT$1,
|
|
8561
|
+
ADDITIONAL_CONTENT,
|
|
8610
8562
|
DELIVERY_CREDIT_CARD_CONTENT,
|
|
8611
8563
|
];
|
|
8612
8564
|
|
|
@@ -8692,7 +8644,7 @@
|
|
|
8692
8644
|
|
|
8693
8645
|
const SuccessStatusContent = JSX(() => {
|
|
8694
8646
|
const { statusInfo } = useRetailFormStore();
|
|
8695
|
-
return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442 \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: [
|
|
8647
|
+
return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: [
|
|
8696
8648
|
{
|
|
8697
8649
|
label: 'Название продукта',
|
|
8698
8650
|
description: 'Кредит на любые цели',
|
|
@@ -8762,7 +8714,7 @@
|
|
|
8762
8714
|
|
|
8763
8715
|
const PAYMENT_TYPE_DATA = {
|
|
8764
8716
|
annuity: { key: 'ANNUITY', value: 'Аннуитетный' },
|
|
8765
|
-
differential: { key: '
|
|
8717
|
+
differential: { key: 'DIFFERENTIATED', value: 'Дифференцированный ' },
|
|
8766
8718
|
};
|
|
8767
8719
|
const getCalcData = (formData) => {
|
|
8768
8720
|
const { moneyValue, monthsValue, isAnnuity } = formData?.calculator ?? {};
|
|
@@ -8829,8 +8781,6 @@
|
|
|
8829
8781
|
return getEmploymentData(formData);
|
|
8830
8782
|
case 3:
|
|
8831
8783
|
return getFamilyStatusAndIncomeData(formData);
|
|
8832
|
-
case 4:
|
|
8833
|
-
return getAdditionalInfoData(formData);
|
|
8834
8784
|
default:
|
|
8835
8785
|
return {};
|
|
8836
8786
|
}
|
|
@@ -8850,7 +8800,7 @@
|
|
|
8850
8800
|
isStateEmployee: false,
|
|
8851
8801
|
},
|
|
8852
8802
|
},
|
|
8853
|
-
...
|
|
8803
|
+
...getMainFormStateMap(true),
|
|
8854
8804
|
{
|
|
8855
8805
|
regionRetail: { key: '', text: '' },
|
|
8856
8806
|
addressRetail: undefined,
|
|
@@ -8860,7 +8810,7 @@
|
|
|
8860
8810
|
|
|
8861
8811
|
const useCreditFormAPI = ({ step, onNextStep, onFinish, }) => {
|
|
8862
8812
|
const [isSending, { setTrue: startSending, setFalse: endSending }] = useBool(false);
|
|
8863
|
-
const isFinalStep = step ===
|
|
8813
|
+
const isFinalStep = step === 4;
|
|
8864
8814
|
const retailFormStore = useRetailFormStore();
|
|
8865
8815
|
const initialState = useMemo(() => getInitialFormState(step, retailFormStore.leadForm, formStateMap), [step, retailFormStore.leadForm]);
|
|
8866
8816
|
const resetForm = useCallback((response) => {
|
|
@@ -8930,193 +8880,272 @@
|
|
|
8930
8880
|
return (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep({ sections, field, step, params: { calcData } }), jsx(StepsNavigationButtons, { step: step, isSending: isSending, onPrevStep: onPrevStep })] }));
|
|
8931
8881
|
});
|
|
8932
8882
|
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
...
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8883
|
+
/* eslint-disable max-lines */
|
|
8884
|
+
const PERSONAL_INFO_CONTENT = [
|
|
8885
|
+
...PERSONAL_DATA,
|
|
8886
|
+
{
|
|
8887
|
+
title: 'Адрес регистрации по месту жительства',
|
|
8888
|
+
columns: 1,
|
|
8889
|
+
inputs: [],
|
|
8890
|
+
},
|
|
8891
|
+
{
|
|
8892
|
+
inputs: [
|
|
8893
|
+
{
|
|
8894
|
+
name: 'addressRegistration',
|
|
8895
|
+
required: true,
|
|
8896
|
+
dadata: true,
|
|
8897
|
+
filledByEsia: true,
|
|
8898
|
+
},
|
|
8899
|
+
{ name: 'addressMatch' },
|
|
8900
|
+
],
|
|
8901
|
+
},
|
|
8902
|
+
{
|
|
8903
|
+
title: 'Адрес фактического проживания (место пребывания РФ)',
|
|
8904
|
+
inputs: [],
|
|
8905
|
+
},
|
|
8906
|
+
{
|
|
8907
|
+
inputs: [{ name: 'addressFact', required: true, dadata: true }],
|
|
8908
|
+
},
|
|
8947
8909
|
];
|
|
8948
|
-
const
|
|
8949
|
-
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
useEffect(updateRefreshToken, []);
|
|
8953
|
-
const handleNextStep = useCallback(() => {
|
|
8954
|
-
setStep((_) => Math.min(_ + 1, STEPS));
|
|
8955
|
-
scrollToTop();
|
|
8956
|
-
}, []);
|
|
8957
|
-
const handlePrevStep = useCallback(() => {
|
|
8958
|
-
//TODO search hook - 1,
|
|
8959
|
-
setStep((_) => Math.max(_ - 1, 0));
|
|
8960
|
-
scrollToTop();
|
|
8961
|
-
}, []);
|
|
8962
|
-
const sections = stepsSectionsMap[step];
|
|
8963
|
-
const isStartStep = step === 0;
|
|
8964
|
-
const [isFormFinished, { setTrue: handleFinish }] = useBool(false);
|
|
8965
|
-
return (jsx(BlockWrapper, { className: className, ...rest, children: jsxs("div", { ref: formContainerRef, className: "container grid grid-cols-12", children: [isStartStep || isFormFinished ? null : (jsx(CreditFormProgress, { stepsTitles: STEP_TITLES, step: step, totalSteps: STEPS })), jsx("div", { className: "py-lg px-5xl mt-2xs bg-white col-span-12", children: isFormFinished ? (jsx(CreditFormStatusTracker, {})) : (jsx(CreditFormStep, { step: step, sections: sections, programsSource: programsSource, onNextStep: handleNextStep, onPrevStep: handlePrevStep, onFinish: handleFinish }, String(step))) })] }) }));
|
|
8966
|
-
});
|
|
8967
|
-
|
|
8968
|
-
const isRateRow = (rateRow) => typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
|
|
8969
|
-
|
|
8970
|
-
const numberRange = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
|
|
8971
|
-
|
|
8972
|
-
const DEFAULT_MIN_SUM = 500;
|
|
8973
|
-
const DEFAULT_MAX_SUM = 1000000000;
|
|
8974
|
-
const initialFiltrationState$2 = {
|
|
8975
|
-
sum: {
|
|
8976
|
-
min: 10000,
|
|
8977
|
-
max: DEFAULT_MAX_SUM,
|
|
8910
|
+
const EMPLOYMENT_CONTENT = [
|
|
8911
|
+
{
|
|
8912
|
+
title: 'Данные о трудоустройстве',
|
|
8913
|
+
inputs: [],
|
|
8978
8914
|
},
|
|
8979
|
-
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
|
|
8984
|
-
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
8992
|
-
|
|
8993
|
-
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
|
-
|
|
9009
|
-
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
}
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9034
|
-
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
|
|
9077
|
-
|
|
9078
|
-
|
|
9079
|
-
|
|
9080
|
-
|
|
9081
|
-
|
|
9082
|
-
|
|
9083
|
-
|
|
9084
|
-
|
|
9085
|
-
|
|
9086
|
-
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
|
|
9092
|
-
|
|
9093
|
-
|
|
9094
|
-
|
|
9095
|
-
|
|
9096
|
-
|
|
9097
|
-
|
|
9098
|
-
|
|
9099
|
-
|
|
9100
|
-
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
}
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
8915
|
+
{
|
|
8916
|
+
inputs: [
|
|
8917
|
+
{
|
|
8918
|
+
name: 'infoCard',
|
|
8919
|
+
label: 'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, ' +
|
|
8920
|
+
'если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
|
|
8921
|
+
},
|
|
8922
|
+
],
|
|
8923
|
+
},
|
|
8924
|
+
{
|
|
8925
|
+
inputs: [
|
|
8926
|
+
{ name: 'employment', required: true },
|
|
8927
|
+
{ name: 'organizationName', required: true, dadata: true, filledByEsia: true },
|
|
8928
|
+
],
|
|
8929
|
+
},
|
|
8930
|
+
{
|
|
8931
|
+
columns: 2,
|
|
8932
|
+
inputs: [
|
|
8933
|
+
{ name: 'inn', required: true, dadata: true, filledByEsia: true },
|
|
8934
|
+
{ name: 'legalForm', required: true },
|
|
8935
|
+
],
|
|
8936
|
+
},
|
|
8937
|
+
{
|
|
8938
|
+
inputs: [
|
|
8939
|
+
{ name: 'organization', required: true },
|
|
8940
|
+
{ name: 'amountWorkers', required: true },
|
|
8941
|
+
],
|
|
8942
|
+
},
|
|
8943
|
+
{
|
|
8944
|
+
columns: 2,
|
|
8945
|
+
inputs: [
|
|
8946
|
+
{ name: 'employerOrganization', required: true },
|
|
8947
|
+
{ name: 'jobsNumber', required: true, filledByEsia: true },
|
|
8948
|
+
],
|
|
8949
|
+
},
|
|
8950
|
+
{
|
|
8951
|
+
inputs: [
|
|
8952
|
+
{
|
|
8953
|
+
name: 'organizationPhone',
|
|
8954
|
+
label: 'Телефон работодателя',
|
|
8955
|
+
required: true,
|
|
8956
|
+
},
|
|
8957
|
+
{ name: 'beginDate', required: true, filledByEsia: true },
|
|
8958
|
+
],
|
|
8959
|
+
},
|
|
8960
|
+
{
|
|
8961
|
+
title: 'Адрес работодателя',
|
|
8962
|
+
inputs: [],
|
|
8963
|
+
},
|
|
8964
|
+
{
|
|
8965
|
+
inputs: [{ name: 'organizationAddress', required: true, dadata: true }],
|
|
8966
|
+
},
|
|
8967
|
+
];
|
|
8968
|
+
const FAMILY_STATUS_AND_INCOME_CONTENT = [
|
|
8969
|
+
{
|
|
8970
|
+
title: 'Семейное положение',
|
|
8971
|
+
},
|
|
8972
|
+
{
|
|
8973
|
+
columns: 1,
|
|
8974
|
+
inputs: [{ name: 'familyStatus', required: true }],
|
|
8975
|
+
},
|
|
8976
|
+
{
|
|
8977
|
+
columns: 2,
|
|
8978
|
+
inputs: [
|
|
8979
|
+
{ name: 'children', required: true },
|
|
8980
|
+
{ name: 'dependents', required: true },
|
|
8981
|
+
],
|
|
8982
|
+
},
|
|
8983
|
+
{
|
|
8984
|
+
title: 'Совокупный доход',
|
|
8985
|
+
},
|
|
8986
|
+
{
|
|
8987
|
+
columns: 1,
|
|
8988
|
+
inputs: [
|
|
8989
|
+
{
|
|
8990
|
+
name: 'confirmationIncome',
|
|
8991
|
+
required: true,
|
|
8992
|
+
filledByEsia: true,
|
|
8993
|
+
},
|
|
8994
|
+
],
|
|
8995
|
+
},
|
|
8996
|
+
{
|
|
8997
|
+
inputs: [
|
|
8998
|
+
{
|
|
8999
|
+
name: 'infoCard',
|
|
9000
|
+
label: 'Сумма основного и дополнительных доходов после вычета налога',
|
|
9001
|
+
},
|
|
9002
|
+
],
|
|
9003
|
+
},
|
|
9004
|
+
{
|
|
9005
|
+
columns: 1,
|
|
9006
|
+
inputs: [{ name: 'wages', required: true, filledByEsia: true }],
|
|
9007
|
+
},
|
|
9008
|
+
{
|
|
9009
|
+
columns: 1,
|
|
9010
|
+
inputs: [
|
|
9011
|
+
{
|
|
9012
|
+
name: 'retirementIncome',
|
|
9013
|
+
required: true,
|
|
9014
|
+
condition: { name: 'employment', values: ['RETIREE'] },
|
|
9015
|
+
},
|
|
9016
|
+
],
|
|
9017
|
+
},
|
|
9018
|
+
{
|
|
9019
|
+
columns: 1,
|
|
9020
|
+
inputs: [{ name: 'mandatoryPayments', required: true }],
|
|
9021
|
+
},
|
|
9022
|
+
{
|
|
9023
|
+
columns: 1,
|
|
9024
|
+
inputs: [{ name: 'snils', required: true }],
|
|
9025
|
+
},
|
|
9026
|
+
{
|
|
9027
|
+
columns: 1,
|
|
9028
|
+
inputs: [{ name: 'initiateBankruptcyFlg' }],
|
|
9029
|
+
},
|
|
9030
|
+
];
|
|
9031
|
+
const DELIVERY_CREDIT_CONTENT = [
|
|
9032
|
+
{
|
|
9033
|
+
title: 'Отделение Банка',
|
|
9034
|
+
columns: 1,
|
|
9035
|
+
inputs: [],
|
|
9036
|
+
},
|
|
9037
|
+
{
|
|
9038
|
+
inputs: [{ name: 'regionRetail', required: true }],
|
|
9039
|
+
},
|
|
9040
|
+
{
|
|
9041
|
+
inputs: [{ name: 'addressRetail', required: true }],
|
|
9042
|
+
},
|
|
9043
|
+
{
|
|
9044
|
+
title: 'Код представителя Банка',
|
|
9045
|
+
columns: 1,
|
|
9046
|
+
inputs: [],
|
|
9047
|
+
},
|
|
9048
|
+
{
|
|
9049
|
+
inputs: [
|
|
9050
|
+
{
|
|
9051
|
+
name: 'infoCard',
|
|
9052
|
+
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
9053
|
+
},
|
|
9054
|
+
],
|
|
9055
|
+
},
|
|
9056
|
+
{
|
|
9057
|
+
inputs: [{ name: 'bankEmployeeCode' }],
|
|
9058
|
+
},
|
|
9059
|
+
];
|
|
9060
|
+
const CALCULATOR_CONTENT = [
|
|
9061
|
+
{
|
|
9062
|
+
columns: 1,
|
|
9063
|
+
inputs: [
|
|
9064
|
+
{
|
|
9065
|
+
name: 'calculator',
|
|
9066
|
+
},
|
|
9067
|
+
],
|
|
9068
|
+
},
|
|
9069
|
+
];
|
|
9070
|
+
const stepsSectionsMap = [
|
|
9071
|
+
CALCULATOR_CONTENT,
|
|
9072
|
+
PERSONAL_INFO_CONTENT,
|
|
9073
|
+
EMPLOYMENT_CONTENT,
|
|
9074
|
+
FAMILY_STATUS_AND_INCOME_CONTENT,
|
|
9075
|
+
DELIVERY_CREDIT_CONTENT,
|
|
9076
|
+
];
|
|
9077
|
+
|
|
9078
|
+
const STEPS = 4;
|
|
9079
|
+
const STEP_TITLES = [
|
|
9080
|
+
'',
|
|
9081
|
+
'Персональные данные',
|
|
9082
|
+
'Данные о трудоустройстве',
|
|
9083
|
+
'Семейное положение и доход',
|
|
9084
|
+
'Отделение Банка',
|
|
9085
|
+
];
|
|
9086
|
+
const CreditForm = UniBlock(({ className, programsSource, ...rest }) => {
|
|
9087
|
+
const [step, setStep] = useState(0);
|
|
9088
|
+
const formContainerRef = useRef(null);
|
|
9089
|
+
const scrollToTop = useCallback(() => formContainerRef?.current?.scrollIntoView({ behavior: 'smooth' }), [formContainerRef]);
|
|
9090
|
+
useEffect(updateRefreshToken, []);
|
|
9091
|
+
const handleNextStep = useCallback(() => {
|
|
9092
|
+
setStep((_) => Math.min(_ + 1, STEPS));
|
|
9093
|
+
scrollToTop();
|
|
9094
|
+
}, []);
|
|
9095
|
+
const handlePrevStep = useCallback(() => {
|
|
9096
|
+
//TODO search hook - 1,
|
|
9097
|
+
setStep((_) => Math.max(_ - 1, 0));
|
|
9098
|
+
scrollToTop();
|
|
9099
|
+
}, []);
|
|
9100
|
+
const sections = stepsSectionsMap[step];
|
|
9101
|
+
const isStartStep = step === 0;
|
|
9102
|
+
const [isFormFinished, { setTrue: handleFinish }] = useBool(false);
|
|
9103
|
+
return (jsx(BlockWrapper, { className: className, ...rest, children: jsxs("div", { ref: formContainerRef, className: "container grid grid-cols-12", children: [isStartStep || isFormFinished ? null : (jsx(CreditFormProgress, { stepsTitles: STEP_TITLES, step: step, totalSteps: STEPS })), jsx("div", { className: "py-lg px-5xl mt-2xs bg-white col-span-12", children: isFormFinished ? (jsx(CreditFormStatusTracker, {})) : (jsx(CreditFormStep, { step: step, sections: sections, programsSource: programsSource, onNextStep: handleNextStep, onPrevStep: handlePrevStep, onFinish: handleFinish }, String(step))) })] }) }));
|
|
9104
|
+
});
|
|
9105
|
+
|
|
9106
|
+
const isRateRow = (rateRow) => typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
|
|
9107
|
+
|
|
9108
|
+
const numberRange = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
|
|
9109
|
+
|
|
9110
|
+
const DEFAULT_MIN_SUM = 500;
|
|
9111
|
+
const DEFAULT_MAX_SUM = 1000000000;
|
|
9112
|
+
const initialFiltrationState = {
|
|
9113
|
+
sum: {
|
|
9114
|
+
min: 10000,
|
|
9115
|
+
max: DEFAULT_MAX_SUM,
|
|
9116
|
+
},
|
|
9117
|
+
period: 3,
|
|
9118
|
+
};
|
|
9119
|
+
const DepositFiltration = UniBlock(({ className, filtrationSchema = {}, resetButton, sumInput, periodInput, ...rest }) => {
|
|
9120
|
+
const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState, {
|
|
9121
|
+
block: rest.block,
|
|
9122
|
+
page: rest.options?.page,
|
|
9123
|
+
normalize: (content) => ({ ...content, period: getPeriod(content) }),
|
|
9124
|
+
});
|
|
9125
|
+
const rateRows = blocksWithProps.map(([, _]) => _?.paramsSource?.rows?.[0]?.rates);
|
|
9126
|
+
const months = getMonths(rateRows);
|
|
9127
|
+
return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [jsx(FiltrationForm$1, { filtrationSchema: filtrationSchema, resetButton: resetButton, field: field, reset: reset, children: jsxs("div", { className: "@4xl:max-w-xs space-y-lg", children: [jsx(CurrencyInput, { label: sumInput?.title, min: DEFAULT_MIN_SUM, max: DEFAULT_MAX_SUM, ...field('sum', {
|
|
9128
|
+
parse: (min) => ({ min: Number(min), max: DEFAULT_MAX_SUM }),
|
|
9129
|
+
format: ({ min }) => String(min),
|
|
9130
|
+
}) }), jsx(InputRange, { title: periodInput?.title, items: ['От 3 мес', 'До 5 лет'], list: months, ...field('period') })] }) }), jsx(FilteredBlocks, { blocksToRender: blocksToRender, ...rest })] }));
|
|
9131
|
+
}, {
|
|
9132
|
+
childrenTypes: ['ProductBlock'],
|
|
9133
|
+
childSchema: (content) => ({
|
|
9134
|
+
...(content?.filtrationSchema || {}),
|
|
9135
|
+
paramsSource: {
|
|
9136
|
+
type: 'object',
|
|
9137
|
+
title: 'Адрес справочника',
|
|
9138
|
+
},
|
|
9139
|
+
}),
|
|
9140
|
+
});
|
|
9141
|
+
const getPeriod = (content) => unique((content?.paramsSource?.rateRows || [])
|
|
9142
|
+
.filter(isRateRow)
|
|
9143
|
+
.flatMap((_) => numberRange(_.minMonths, _.maxMonths)));
|
|
9144
|
+
const getMonths = (rateRows) => unique(rateRows
|
|
9145
|
+
.flatMap((item) => item || [])
|
|
9146
|
+
.filter(isRateRow)
|
|
9147
|
+
.flatMap((_) => numberRange(_.minMonths, _.maxMonths))).sort((a, b) => a - b) || [];
|
|
9148
|
+
|
|
9120
9149
|
const renderErrorContent = (error) => {
|
|
9121
9150
|
if (error?.contentType === 'Image' && error?.image) {
|
|
9122
9151
|
return jsx(Img, { image: error.image });
|
|
@@ -9128,214 +9157,6 @@
|
|
|
9128
9157
|
};
|
|
9129
9158
|
const ErrorBlock = JSX(({ className = '', title, description, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: style('p-6xl'), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center", children: renderErrorContent(error) }), jsx(Headline, { title: title, description: description, headlineVersion: "XL", isEmbedded: true, className: "mb-2xl last:mb-0" }), button?.text ? (jsx(LinkButton, { version: button?.version, text: button?.text, ...button })) : null] })));
|
|
9130
9159
|
|
|
9131
|
-
const REGION_URL = `${API_BASE_URI$1}/region`;
|
|
9132
|
-
function useLocation(defaultLocation = 'Москва') {
|
|
9133
|
-
const locationStore = useLocalStore();
|
|
9134
|
-
return locationStore.location ?? { name: defaultLocation };
|
|
9135
|
-
}
|
|
9136
|
-
function useDefaultLocation(defaultLocation = 'Москва') {
|
|
9137
|
-
const locationStore = useLocalStore();
|
|
9138
|
-
const preselectLocation = useCallback(async () => {
|
|
9139
|
-
if (!locationStore.location) {
|
|
9140
|
-
const region = await fetchJSON(REGION_URL);
|
|
9141
|
-
locationStore.location = region ?? { name: defaultLocation };
|
|
9142
|
-
}
|
|
9143
|
-
}, [locationStore, defaultLocation]);
|
|
9144
|
-
useAsyncData(REGION_URL, preselectLocation);
|
|
9145
|
-
return locationStore;
|
|
9146
|
-
}
|
|
9147
|
-
|
|
9148
|
-
var Currency;
|
|
9149
|
-
(function (Currency) {
|
|
9150
|
-
Currency["RUB"] = "RUB";
|
|
9151
|
-
Currency["EUR"] = "EUR";
|
|
9152
|
-
Currency["USD"] = "USD";
|
|
9153
|
-
Currency["CNY"] = "CNY";
|
|
9154
|
-
})(Currency || (Currency = {}));
|
|
9155
|
-
|
|
9156
|
-
const currencyNumberFormat = new Intl.NumberFormat('ru', {
|
|
9157
|
-
style: 'currency',
|
|
9158
|
-
currency: Currency.RUB,
|
|
9159
|
-
});
|
|
9160
|
-
const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
|
|
9161
|
-
|
|
9162
|
-
const TABLE_STYLE_BASE = 'text-m font-light text-secondary-text ';
|
|
9163
|
-
const TABLE_HEAD_STYLE = `${TABLE_STYLE_BASE} text-left`;
|
|
9164
|
-
const TABLE_HEAD_STYLE_CENTER = `${TABLE_STYLE_BASE} pl-5xl text-center`;
|
|
9165
|
-
const TABLE_HEAD_STYLE_RIGHT = `${TABLE_STYLE_BASE} pl-5xl text-right`;
|
|
9166
|
-
const CURRENCY_ICONS_MAP = {
|
|
9167
|
-
USD: 'DollarIcon',
|
|
9168
|
-
EUR: 'EuroIcon',
|
|
9169
|
-
CNY: 'ChineseYuanRenminbiIcon',
|
|
9170
|
-
};
|
|
9171
|
-
const CurrencyTable = JSX(({ className, exchangeCurrencyItems }) => (jsxs("table", { className: style('h-fit w-full', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { className: TABLE_HEAD_STYLE, children: jsx(Text, { size: "text-m", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), jsx("th", { className: TABLE_HEAD_STYLE_CENTER, children: jsx(Text, { size: "text-m", children: "\u041A\u0443\u043F\u0438\u0442\u044C" }) }), jsx("th", { className: TABLE_HEAD_STYLE_RIGHT, children: jsx(Text, { size: "text-m", children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" }) })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map(renderCurrencyRow) })] })));
|
|
9172
|
-
const renderCurrencyRow = (exchangeCurrencyItem) => {
|
|
9173
|
-
const currency = exchangeCurrencyItem?.currency?.currency;
|
|
9174
|
-
return (jsxs("tr", { className: "pb-2xs text-h6", children: [jsx("td", { className: "pt-m m-auto flex text-left", children: jsxs("div", { className: "flex items-center gap-xs", children: [currency ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx(Text, { size: "text-h6", children: currency })] }) }), jsx("td", { className: "pt-m pl-5xl text-center", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }) }), jsx("td", { className: "pt-m pl-5xl text-right", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) }) })] }, currency));
|
|
9175
|
-
};
|
|
9176
|
-
|
|
9177
|
-
const icon = { icon: 'GpsIcon' };
|
|
9178
|
-
const CurrentLocation = JSX(({ className = '', address }) => (jsxs("div", { className: style('flex gap-s w-full justify-between @sm:justify-center', className), children: [jsx(RoundedIcon, { ...icon, iconBgVersion: "primary", className: "shrink-0" }), jsxs("div", { className: "space-y-2xs whitespace-pre-wrap", children: [address ? (jsx(Paragraph, { size: "text-l", color: "text-primary-main", children: address })) : null, jsx(Paragraph, { size: "text-m", color: "text-secondary-text", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
|
|
9179
|
-
|
|
9180
|
-
const roundTo = (value, precision = 2) => {
|
|
9181
|
-
const factor = 10 ** precision;
|
|
9182
|
-
return Math.round(parseFloat(String(value)) * factor) / factor;
|
|
9183
|
-
};
|
|
9184
|
-
|
|
9185
|
-
const calculateResult = (value, rate, precision) => {
|
|
9186
|
-
const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
|
|
9187
|
-
return Number.isInteger(result) ? result : roundTo(result);
|
|
9188
|
-
};
|
|
9189
|
-
const formatValue = (value) => value.replace(/[^\d.,]/g, '').replace(',', '.');
|
|
9190
|
-
|
|
9191
|
-
function assertNonEmpty(value) {
|
|
9192
|
-
if (!value) {
|
|
9193
|
-
throw new Error('Value should be fulfilled');
|
|
9194
|
-
}
|
|
9195
|
-
return value;
|
|
9196
|
-
}
|
|
9197
|
-
|
|
9198
|
-
const baseTableFunc = (table) => (input) => {
|
|
9199
|
-
const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(input)));
|
|
9200
|
-
return unit(input);
|
|
9201
|
-
};
|
|
9202
|
-
const tableFunc = (table) => baseTableFunc(table.map(([p, o]) => [p, () => o]));
|
|
9203
|
-
tableFunc.if = (predicate) => new TableFuncBuilder(undefined, predicate);
|
|
9204
|
-
class TableFuncBuilder {
|
|
9205
|
-
parent;
|
|
9206
|
-
predicate;
|
|
9207
|
-
unit;
|
|
9208
|
-
get entry() {
|
|
9209
|
-
return [assertNonEmpty(this.predicate), assertNonEmpty(this.unit)];
|
|
9210
|
-
}
|
|
9211
|
-
constructor(parent, predicate, unit) {
|
|
9212
|
-
this.parent = parent;
|
|
9213
|
-
this.predicate = predicate;
|
|
9214
|
-
this.unit = unit;
|
|
9215
|
-
}
|
|
9216
|
-
if(predicate) {
|
|
9217
|
-
return new TableFuncBuilder(this, predicate);
|
|
9218
|
-
}
|
|
9219
|
-
then(unit) {
|
|
9220
|
-
return new TableFuncBuilder(this.parent, this.predicate, unit);
|
|
9221
|
-
}
|
|
9222
|
-
else(unit) {
|
|
9223
|
-
return baseTableFunc([...buildTable(this), [() => true, unit]]);
|
|
9224
|
-
}
|
|
9225
|
-
}
|
|
9226
|
-
const buildTable = (builder) => [
|
|
9227
|
-
...(builder?.parent ? buildTable(builder.parent) : []),
|
|
9228
|
-
builder.entry,
|
|
9229
|
-
];
|
|
9230
|
-
|
|
9231
|
-
const callbackCurrencySelect = (props) => tableFunc([
|
|
9232
|
-
[
|
|
9233
|
-
(_) => _.value !== Currency.RUB && _.oppositeValue !== Currency.RUB,
|
|
9234
|
-
() => props.handleConvert(props.value, Currency.RUB),
|
|
9235
|
-
],
|
|
9236
|
-
[
|
|
9237
|
-
(_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
|
|
9238
|
-
() => props.handleConvert(props.value, Currency.USD),
|
|
9239
|
-
],
|
|
9240
|
-
[
|
|
9241
|
-
(_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
|
|
9242
|
-
() => props.handleConvert(props.value, Currency.CNY),
|
|
9243
|
-
],
|
|
9244
|
-
[() => true, () => props.handleConvert(props.value)],
|
|
9245
|
-
])(props)?.();
|
|
9246
|
-
|
|
9247
|
-
function renderInput(props) {
|
|
9248
|
-
const { placeholder, rates, selected, value, setValue, setSelected } = props;
|
|
9249
|
-
const ratesOptions = rates.map((_) => ({
|
|
9250
|
-
key: _?.currency?.currency ?? '',
|
|
9251
|
-
text: _?.currency?.currency ?? '',
|
|
9252
|
-
}));
|
|
9253
|
-
const selectedValue = { key: selected, text: selected };
|
|
9254
|
-
return (jsxs("div", { className: "relative flex", children: [jsx(Input, { className: "shrink-0 text-l w-full appearance-none -mr-20", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (jsx(Select, { className: "absolute right-0", isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
|
|
9255
|
-
}
|
|
9256
|
-
|
|
9257
|
-
const ExchangeCurrencyCalculator = JSX(({ className = '', currencyRatesBuy, currencyRatesSell, button }) => {
|
|
9258
|
-
const [calcState, setCalcState] = useState({
|
|
9259
|
-
inputSell: '',
|
|
9260
|
-
inputBuy: '',
|
|
9261
|
-
selectSell: currencyRatesBuy?.[0]?.currency?.currency || Currency.RUB,
|
|
9262
|
-
selectBuy: currencyRatesSell?.[0]?.currency?.currency || Currency.USD,
|
|
9263
|
-
});
|
|
9264
|
-
const handleSetCalcState = useCallback((newState) => setCalcState((oldState) => ({ ...oldState, ...newState })), []);
|
|
9265
|
-
return (jsxs("div", { className: `flex flex-col gap-m pt-2xl ${className}`, children: [currencyRatesBuy && currencyRatesSell ? (jsxs("div", { className: "grid gap-m", children: [renderInput({
|
|
9266
|
-
placeholder: 'Хочу продать',
|
|
9267
|
-
rates: currencyRatesSell,
|
|
9268
|
-
selected: calcState.selectSell,
|
|
9269
|
-
setSelected: handleSelectSell(calcState, handleSetCalcState, currencyRatesSell),
|
|
9270
|
-
value: calcState.inputSell,
|
|
9271
|
-
setValue: (value) => handleInputSell(handleSetCalcState, currencyRatesSell)(value, calcState.selectSell, calcState.selectBuy),
|
|
9272
|
-
}), renderInput({
|
|
9273
|
-
placeholder: 'Получу',
|
|
9274
|
-
rates: currencyRatesBuy,
|
|
9275
|
-
selected: calcState.selectBuy,
|
|
9276
|
-
setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
|
|
9277
|
-
value: calcState.inputBuy,
|
|
9278
|
-
setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
|
|
9279
|
-
})] })) : null, button?.text ? (jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
|
|
9280
|
-
});
|
|
9281
|
-
const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
|
|
9282
|
-
setCalcState({ selectSell: value });
|
|
9283
|
-
callbackCurrencySelect({
|
|
9284
|
-
value,
|
|
9285
|
-
oppositeValue: calcState.selectBuy,
|
|
9286
|
-
handleConvert: (currencyFrom = calcState.selectSell, currencyTo = calcState.selectBuy) => {
|
|
9287
|
-
handleInputSell(setCalcState, currencyRatesSell)(calcState.inputSell, currencyFrom, currencyTo);
|
|
9288
|
-
},
|
|
9289
|
-
});
|
|
9290
|
-
};
|
|
9291
|
-
const handleSelectBuy = (calcState, setCalcState, currencyRatesBuy) => (value) => {
|
|
9292
|
-
setCalcState({ selectBuy: value });
|
|
9293
|
-
callbackCurrencySelect({
|
|
9294
|
-
value,
|
|
9295
|
-
oppositeValue: calcState.selectSell,
|
|
9296
|
-
handleConvert: (currencyTo = calcState.selectBuy, currencyFrom = calcState.selectSell) => handleInputBuy(setCalcState, currencyRatesBuy)(calcState.inputBuy, currencyTo, currencyFrom),
|
|
9297
|
-
});
|
|
9298
|
-
};
|
|
9299
|
-
const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
|
|
9300
|
-
setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
|
|
9301
|
-
const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.buyExchangeRate ||
|
|
9302
|
-
currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
|
|
9303
|
-
if (rate) {
|
|
9304
|
-
setCalcState({
|
|
9305
|
-
inputBuy: String(calculateResult(value, rate, currencyFrom === Currency.RUB) || ''),
|
|
9306
|
-
});
|
|
9307
|
-
}
|
|
9308
|
-
};
|
|
9309
|
-
const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
|
|
9310
|
-
setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
|
|
9311
|
-
const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.saleExchangeRate ||
|
|
9312
|
-
currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
|
|
9313
|
-
if (rate) {
|
|
9314
|
-
setCalcState({
|
|
9315
|
-
inputSell: String(calculateResult(value, rate, currencyTo === Currency.RUB) || ''),
|
|
9316
|
-
});
|
|
9317
|
-
}
|
|
9318
|
-
};
|
|
9319
|
-
|
|
9320
|
-
const EXCHANGE_RATES_URL = `${API_BASE_URI$1}/exchangerates`;
|
|
9321
|
-
function useFetchExchangeRateData(currentRegion) {
|
|
9322
|
-
const regionCode = currentRegion?.code || '000';
|
|
9323
|
-
const { data } = useAsyncData(EXCHANGE_RATES_URL + `?regionCode=${regionCode}`, fetchJSONUnsafe);
|
|
9324
|
-
return data || {};
|
|
9325
|
-
}
|
|
9326
|
-
|
|
9327
|
-
const ExchangeRateTile = JSX(({ className = '', title = 'Курсы обмена валют', button, ...rest }) => {
|
|
9328
|
-
const currentLocation = useLocation();
|
|
9329
|
-
const exchangeRates = useFetchExchangeRateData(currentLocation);
|
|
9330
|
-
const currencyRates = getCurrencyRates(exchangeRates?.exchangeRate?.currencies);
|
|
9331
|
-
const currencyRatesBuy = currencyRates.filter((_) => _.buyExchangeRate);
|
|
9332
|
-
currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
|
|
9333
|
-
const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
|
|
9334
|
-
currencyRatesSell.push({ currency: { currency: Currency.RUB } });
|
|
9335
|
-
return (jsx(BlockWrapper, { className: style('box-border min-h-80', className), ...rest, children: jsx(BaseTile, { className: "h-full", title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap" }), children: jsxs("div", { className: "flex w-full gap-6xl flex-wrap @lg:flex-nowrap", children: [jsxs("div", { className: "w-full @2xl:w-auto @5xl:w-1/2", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-xl", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation, { address: exchangeRates?.address })] }), jsx(ExchangeCurrencyCalculator, { className: "grow w-1/2", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })] }) }) }));
|
|
9336
|
-
});
|
|
9337
|
-
const getCurrencyRates = (currencies) => currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
|
|
9338
|
-
|
|
9339
9160
|
const LinkList = JSX(({ className = '', items }) => {
|
|
9340
9161
|
const link = useLink();
|
|
9341
9162
|
return (jsx("ul", { className: style('flex flex-col gap-s w-full', className), children: items?.map(renderLinkListItem(link)) }));
|
|
@@ -9378,7 +9199,7 @@
|
|
|
9378
9199
|
return (jsx("a", { className: style('text-secondary-text', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
|
|
9379
9200
|
});
|
|
9380
9201
|
|
|
9381
|
-
const HorizontalNavigation = JSX(({ className = '', title, links }) => (jsx("div", { className: className, children: links?.length ? (jsxs("div", { className: "flex justify-between lg:items-center flex-col lg:flex-row gap-lg py-lg border-y border-y-main-divider", children: [jsx("div", { className: "lg:hidden", children: jsx(Text, { size: "text-l", font: "font-normal", children: title }) }), links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light lg:max-w-
|
|
9202
|
+
const HorizontalNavigation = JSX(({ className = '', title, links }) => (jsx("div", { className: className, children: links?.length ? (jsxs("div", { className: "flex justify-between lg:items-center flex-col lg:flex-row gap-lg py-lg border-y border-y-main-divider", children: [jsx("div", { className: "lg:hidden", children: jsx(Text, { size: "text-l", font: "font-normal", children: title }) }), links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light lg:max-w-72", ..._ }, String(i))))] })) : null })));
|
|
9382
9203
|
|
|
9383
9204
|
const LEFT_COLUMN_STYLE = 'w-full lg:w-52';
|
|
9384
9205
|
|
|
@@ -9388,7 +9209,7 @@
|
|
|
9388
9209
|
const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
|
|
9389
9210
|
const link = useLink();
|
|
9390
9211
|
const { href, target, text, onClick } = link(rest);
|
|
9391
|
-
return (jsx("a", { className: style('text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-
|
|
9212
|
+
return (jsx("a", { className: style('text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-72', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
|
|
9392
9213
|
});
|
|
9393
9214
|
|
|
9394
9215
|
const TextInformation = JSX(({ className = '', links, license }) => (jsxs("div", { className: style('@container space-y-lg', className), children: [license ? (jsx("div", { children: jsx(Text, { size: "text-xs", font: "font-light", color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0${license}` }) })) : null, links?.length ? (jsx("div", { className: "flex flex-col @5xl:flex-row justify-start items-start gap-x-lg gap-y-xs", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
|
|
@@ -9412,8 +9233,48 @@
|
|
|
9412
9233
|
'': '',
|
|
9413
9234
|
};
|
|
9414
9235
|
|
|
9415
|
-
const
|
|
9236
|
+
const useSortProductBlocks = (parentBlock = {}) => {
|
|
9237
|
+
const [blocks, setBlocks] = useState(parentBlock.blocks ?? []);
|
|
9238
|
+
const sessionStore = useSessionStore();
|
|
9239
|
+
const offerIds = sessionStore?.offerIds || [];
|
|
9240
|
+
const sortedBlocks = useMemo(() => {
|
|
9241
|
+
const blocksMap = new Map(parentBlock.blocks?.map((block) => [block?.__id, block]) ?? []);
|
|
9242
|
+
const blocksByOfferIds = offerIds
|
|
9243
|
+
.map((id) => blocksMap.get(id))
|
|
9244
|
+
.filter((block) => Boolean(block));
|
|
9245
|
+
const tailBlocks = blocks.filter(({ __id = '' }) => !offerIds.includes(__id));
|
|
9246
|
+
return [...blocksByOfferIds, ...tailBlocks];
|
|
9247
|
+
}, [blocks, offerIds]);
|
|
9248
|
+
useEffect(() => setBlocks(sortedBlocks), []);
|
|
9249
|
+
return blocks;
|
|
9250
|
+
};
|
|
9251
|
+
|
|
9416
9252
|
const SHORT_TILE_INDEXES = [1, 2, 3, 4];
|
|
9253
|
+
const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
|
|
9254
|
+
? 'lg:col-span-1 lg:row-span-1'
|
|
9255
|
+
: 'lg:col-span-2 lg:row-span-2';
|
|
9256
|
+
const modifyBlock = (block, i) => {
|
|
9257
|
+
const content = { ...block.content };
|
|
9258
|
+
const isSmallTile = SHORT_TILE_INDEXES.includes(i);
|
|
9259
|
+
if (isSmallTile) {
|
|
9260
|
+
delete content.description;
|
|
9261
|
+
delete content.benefits;
|
|
9262
|
+
if (content.link?.href) {
|
|
9263
|
+
delete content.buttons;
|
|
9264
|
+
}
|
|
9265
|
+
content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
|
|
9266
|
+
content.headlineVersion = 'S';
|
|
9267
|
+
}
|
|
9268
|
+
else {
|
|
9269
|
+
if ((content.buttons ?? []).length) {
|
|
9270
|
+
delete content.link;
|
|
9271
|
+
}
|
|
9272
|
+
content.headlineVersion = 'L';
|
|
9273
|
+
}
|
|
9274
|
+
return { ...block, content };
|
|
9275
|
+
};
|
|
9276
|
+
|
|
9277
|
+
const MIN_LENGTH_CHILD = 5;
|
|
9417
9278
|
const LINK_SCHEMA = {
|
|
9418
9279
|
link: {
|
|
9419
9280
|
allOf: [
|
|
@@ -9433,15 +9294,19 @@
|
|
|
9433
9294
|
required: ['href'],
|
|
9434
9295
|
},
|
|
9435
9296
|
};
|
|
9436
|
-
const GalleryLayout = UniBlock(({ className = '', padding = 'p-0', gap = '', isInnerPadding = true, version = 'transparent', isTheme = false, isCardBorder = false,
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9297
|
+
const GalleryLayout = UniBlock(({ className = '', padding = 'p-0', gap = '', isInnerPadding = true, version = 'transparent', isTheme = false, isCardBorder = false, block = {}, ...rest }) => {
|
|
9298
|
+
const blocks = useSortProductBlocks(block);
|
|
9299
|
+
return (jsx(BlockWrapper, { className: style('grid grid-cols-1 sm:grid-cols-1 lg:grid-cols-4 lg:auto-rows-fr', gapStyles[gap], className), padding: padding, version: version, isTheme: isTheme, ...rest, children: renderChildren({
|
|
9300
|
+
...rest,
|
|
9301
|
+
block: { ...block, blocks },
|
|
9302
|
+
renderProps: getRenderProps({ isInnerPadding, isCardBorder }),
|
|
9303
|
+
}) }));
|
|
9304
|
+
}, {
|
|
9440
9305
|
childrenTypes: ['ProductBlock'],
|
|
9441
9306
|
childSchema: () => LINK_SCHEMA,
|
|
9442
9307
|
allowRemoveChild: (slot) => (slot?.blocks ?? []).length > MIN_LENGTH_CHILD,
|
|
9443
9308
|
});
|
|
9444
|
-
const getRenderProps = ({ isInnerPadding, isCardBorder, }) => (childBlock, childOptions, i) => renderBlock
|
|
9309
|
+
const getRenderProps = ({ isInnerPadding, isCardBorder, }) => (childBlock, childOptions, i) => renderBlock(childBlock, {
|
|
9445
9310
|
...childOptions,
|
|
9446
9311
|
blockDecorator: blockDecoratorWrapper(childOptions.blockDecorator, i),
|
|
9447
9312
|
}, {
|
|
@@ -9452,33 +9317,13 @@
|
|
|
9452
9317
|
...props,
|
|
9453
9318
|
render: (renderProps) => productBlockDecorator(idx)({ ...props, ...renderProps }, i),
|
|
9454
9319
|
}, `wrap_${i}`) ?? productBlockDecorator(idx)(props, i);
|
|
9320
|
+
const visibilityByIdx = (i) => (Number(i) < 5 ? '' : 'hidden');
|
|
9455
9321
|
const productBlockDecorator = (idx) => ({ blockClassName, block, render }, i) => {
|
|
9456
9322
|
const modifiedBlock = modifyBlock(block, idx);
|
|
9457
|
-
return (jsx(LinkWrapper, { ...modifiedBlock.content?.link, className: getChildStyle(idx), children: render({
|
|
9323
|
+
return (jsx(LinkWrapper, { ...modifiedBlock.content?.link, className: style(visibilityByIdx(idx), getChildStyle(idx)), children: render({
|
|
9458
9324
|
blockClassName: style(blockClassName, 'h-full'),
|
|
9459
9325
|
block: modifiedBlock,
|
|
9460
9326
|
}) }, String(i)));
|
|
9461
|
-
};
|
|
9462
|
-
const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
|
|
9463
|
-
? 'lg:col-span-1 lg:row-span-1'
|
|
9464
|
-
: 'lg:col-span-2 lg:row-span-2';
|
|
9465
|
-
const modifyBlock = (block, i) => {
|
|
9466
|
-
const content = { ...block.content };
|
|
9467
|
-
const isSmallTile = SHORT_TILE_INDEXES.includes(i);
|
|
9468
|
-
if (isSmallTile) {
|
|
9469
|
-
delete content.description;
|
|
9470
|
-
delete content.benefits;
|
|
9471
|
-
if (content.link?.href) {
|
|
9472
|
-
delete content.buttons;
|
|
9473
|
-
}
|
|
9474
|
-
content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
|
|
9475
|
-
}
|
|
9476
|
-
else {
|
|
9477
|
-
if ((content.buttons ?? []).length) {
|
|
9478
|
-
delete content.link;
|
|
9479
|
-
}
|
|
9480
|
-
}
|
|
9481
|
-
return { ...block, content };
|
|
9482
9327
|
};
|
|
9483
9328
|
|
|
9484
9329
|
const GrantSupport = UniBlock(({ className, title, button, regionSource, data, ...rest }) => {
|
|
@@ -9504,65 +9349,18 @@
|
|
|
9504
9349
|
});
|
|
9505
9350
|
const getDataTestIdAttribute = (dataTestId) => dataTestId ? { 'data-test-id': dataTestId } : null;
|
|
9506
9351
|
|
|
9507
|
-
const
|
|
9508
|
-
const
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
};
|
|
9517
|
-
const useChatBot = (chat) => {
|
|
9518
|
-
const [isLoading, setIsLoading] = useState(false);
|
|
9519
|
-
useEffect(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
|
|
9520
|
-
const chatUrl = CHATBOT_URL[chat ?? ''];
|
|
9521
|
-
const load = useCallback((ev) => {
|
|
9522
|
-
if (!chatUrl) {
|
|
9523
|
-
return;
|
|
9524
|
-
}
|
|
9525
|
-
setIsLoading(true);
|
|
9526
|
-
if (chat === 'business') {
|
|
9527
|
-
renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
|
|
9528
|
-
}
|
|
9529
|
-
else {
|
|
9530
|
-
renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
|
|
9352
|
+
const CHAT_BOT_ASPECT_NAME = 'openChatBot';
|
|
9353
|
+
const HeaderChatBotButton = JSX(({ iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large' }) => {
|
|
9354
|
+
const [isLoading, { setTrue: startLoad, setFalse: endLoad }] = useBool(false);
|
|
9355
|
+
const aspects = useAspects();
|
|
9356
|
+
const handleClick = useCallback((ev) => {
|
|
9357
|
+
const openChatBot = aspects[CHAT_BOT_ASPECT_NAME];
|
|
9358
|
+
if (openChatBot) {
|
|
9359
|
+
startLoad();
|
|
9360
|
+
openChatBot(ev).finally(endLoad);
|
|
9531
9361
|
}
|
|
9532
|
-
}, [
|
|
9533
|
-
return {
|
|
9534
|
-
};
|
|
9535
|
-
const renderPersonalChatBot = async (ev, chatUrl) => {
|
|
9536
|
-
const target = ev.target;
|
|
9537
|
-
if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
|
|
9538
|
-
target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
|
|
9539
|
-
}
|
|
9540
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
9541
|
-
if (!chatFrame) {
|
|
9542
|
-
await initializeExternalNS(CHAT_NAMESPACE, chatUrl);
|
|
9543
|
-
}
|
|
9544
|
-
};
|
|
9545
|
-
const renderBusinessChatBot = async (chatUrl) => {
|
|
9546
|
-
const businessChat = (await initializeExternalNS(CHAT_NAMESPACE, `${chatUrl}/bundle.js`, true));
|
|
9547
|
-
initializeExternalStylesheet(`${chatUrl}/bundle.css`);
|
|
9548
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
9549
|
-
if (chatFrame) {
|
|
9550
|
-
businessChat?.chatOpen?.();
|
|
9551
|
-
}
|
|
9552
|
-
else {
|
|
9553
|
-
createChatFrame();
|
|
9554
|
-
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
|
|
9555
|
-
}
|
|
9556
|
-
};
|
|
9557
|
-
const createChatFrame = () => {
|
|
9558
|
-
const chatFrame = globalThis.document.createElement('div');
|
|
9559
|
-
chatFrame.id = CHAT_FRAME_ID;
|
|
9560
|
-
globalThis.document.body.appendChild(chatFrame);
|
|
9561
|
-
};
|
|
9562
|
-
|
|
9563
|
-
const HeaderChatBotButton = JSX(({ chat = 'personal', iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large', }) => {
|
|
9564
|
-
const { load, isLoading } = useChatBot(chat);
|
|
9565
|
-
return (jsx(HeaderSecondaryMenuButton, { className: className, image: { icon: 'ChatBotIcon', iconVersion }, ariaLabel: ariaLabel, onClick: load, buttonSize: buttonSize, isGrayBg: true, version: version, isLoading: isLoading, dataTestId: "chat icon" }));
|
|
9362
|
+
}, []);
|
|
9363
|
+
return (jsx(HeaderSecondaryMenuButton, { className: className, image: { icon: 'ChatBotIcon', iconVersion }, ariaLabel: ariaLabel, onClick: handleClick, buttonSize: buttonSize, isGrayBg: true, version: version, isLoading: isLoading, disabled: isLoading, dataTestId: "chat icon" }));
|
|
9566
9364
|
});
|
|
9567
9365
|
|
|
9568
9366
|
const BUTTON_STYLE = {
|
|
@@ -9584,7 +9382,7 @@
|
|
|
9584
9382
|
const onClick = useCallback(() => {
|
|
9585
9383
|
router.back();
|
|
9586
9384
|
}, [router]);
|
|
9587
|
-
return (jsxs("div", { className: "flex items-center justify-between w-full", children: [alwaysShowLogo || isRootLocation ? (jsx("div", { children: jsx(Logo, { className: "my-2xs", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }) })) : (renderBackButton(onClick, backwardButton)), jsxs("div", { className: "flex gap-lg items-center", children: [projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { version: version, iconVersion: iconVersion,
|
|
9385
|
+
return (jsxs("div", { className: "flex items-center justify-between w-full", children: [alwaysShowLogo || isRootLocation ? (jsx("div", { children: jsx(Logo, { className: "my-2xs", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }) })) : (renderBackButton(onClick, backwardButton)), jsxs("div", { className: "flex gap-lg items-center", children: [projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { version: version, iconVersion: iconVersion, buttonSize: "medium" })) : null, jsx(InternetBankButton, { version: version, ...internetBankButton })] })] }));
|
|
9588
9386
|
});
|
|
9589
9387
|
const renderBackButton = (onClick, text) => text ? (jsxs("button", { className: "flex items-center text-l my-2xs", onClick: onClick, type: "button", "aria-label": "\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0430\u0437\u0430\u0434", children: [jsx(Icon, { name: "ChevronLeftIcon", iconVersion: "black", width: "24", height: "24" }), text] })) : null;
|
|
9590
9388
|
|
|
@@ -9630,224 +9428,94 @@
|
|
|
9630
9428
|
return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
|
|
9631
9429
|
};
|
|
9632
9430
|
|
|
9633
|
-
const LinkDocItem = JSX(({ icon, text, href, target, fileFormat, data, fileSize }) => {
|
|
9634
|
-
const prefix = fileSize && fileFormat ? ',' : '';
|
|
9635
|
-
const size = fileSize ?? '';
|
|
9636
|
-
const format = fileFormat ? String(fileFormat) : '';
|
|
9637
|
-
return (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", href: href, target: target, ...getAspectsAttributes(data), children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, " ", addSpace(size, format), jsx(Text, { color: "text-secondary-text", children: href && `${size + prefix + format}` })] })) : null] }));
|
|
9638
|
-
});
|
|
9639
|
-
const addSpace = (size, format) => (size || format ? jsx("span", { children: ",\u00A0" }) : '');
|
|
9640
|
-
|
|
9641
|
-
const linkIconStyle = 'min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md';
|
|
9642
|
-
|
|
9643
|
-
const renderDefaultItem = (router, icon) => (docBlockDef, i) => {
|
|
9644
|
-
const href = adjustHref(router)(docBlockDef?.docType === 'Attachment' ? docBlockDef?.attachment?.src : docBlockDef?.href);
|
|
9645
|
-
const fileSize = docBlockDef?.docType === 'Attachment'
|
|
9646
|
-
? formatBytes(docBlockDef?.attachment?.fileSize || 0)
|
|
9647
|
-
: docBlockDef?.fileSize;
|
|
9648
|
-
const fileFormat = docBlockDef?.docType === 'Attachment' ? getExtFromHref(href) : docBlockDef?.fileFormat;
|
|
9649
|
-
return (jsxs("div", { role: "listitem", children: [jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileFormat: fileFormat, fileSize: fileSize, icon: renderImg(icon), data: docBlockDef?.data }), jsx(RichText, { __html: docBlockDef?.__html })] }, String(i)));
|
|
9650
|
-
};
|
|
9651
|
-
const renderImg = (icon) => icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null;
|
|
9652
|
-
const getExtFromHref = (href) => {
|
|
9653
|
-
if (!href) {
|
|
9654
|
-
return '';
|
|
9655
|
-
}
|
|
9656
|
-
const index = href.lastIndexOf('.');
|
|
9657
|
-
const regexp = new RegExp(/\/(.*)/);
|
|
9658
|
-
const docFormat = index !== -1 ? href.substring(index + 1) : '';
|
|
9659
|
-
return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
|
|
9660
|
-
};
|
|
9661
|
-
|
|
9662
|
-
const ReportDialog = JSX(({ href, __html, target, onClose }) => (jsxs(Dialog, { className: "my-6xl min-h-fit w-fit mx-auto", onClose: onClose, children: [__html ? jsx(RichText, { __html: __html }) : null, jsxs("div", { className: "flex flex-row mx-auto w-fit gap-lg py-lg", children: [jsx(Link, { href: href, target: target, version: "primary", ariaLabel: "\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435", onClick: onClose, children: "\u042F \u0441\u043E\u0433\u043B\u0430\u0441\u0435\u043D" }), jsx(Button, { type: "button", version: "secondary", onClick: onClose, children: "\u042F \u043D\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0435\u043D" })] }), jsx("div", { children: "\u041D\u0430\u0436\u0438\u043C\u0430\u044F \u043A\u043D\u043E\u043F\u043A\u0443 \u00AB\u042F \u0421\u041E\u0413\u041B\u0410\u0421\u0415\u041D\u00BB \u043D\u0438\u0436\u0435 \u0412\u044B \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0443\u0441\u043B\u043E\u0432\u0438\u044F. \u0420\u0430\u0441\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u0440\u0430\u0441\u043A\u0440\u044B\u0442\u0438\u0435 \u043B\u044E\u0431\u043E\u0439 \u0447\u0430\u0441\u0442\u0438 \u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0417\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438, \u0438\u043B\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \u0432 \u043D\u0435\u043C \u0437\u0430\u043F\u0440\u0435\u0449\u0435\u043D\u043E.\u00BB" })] })));
|
|
9663
|
-
|
|
9664
|
-
const ReportDialogButton = JSX(({ text, href, target, __html, icon }) => {
|
|
9665
|
-
const { open } = useDialog(ReportDialog);
|
|
9666
|
-
const openReportDialog = useCallback(() => open({ __html, href, target }), [__html, href, target]);
|
|
9667
|
-
return text ? (jsxs("button", { className: "flex gap-s text-primary-text no-underline hover:text-primary-main", onClick: openReportDialog, children: [renderImg(icon), jsx(Text, { font: "font-light", children: text })] })) : null;
|
|
9668
|
-
});
|
|
9669
|
-
|
|
9670
|
-
const linkColumnsModeStyleMap = {
|
|
9671
|
-
double: 'sm:flex-wrap sm:flex-row',
|
|
9672
|
-
single: 'sm:flex-col',
|
|
9673
|
-
};
|
|
9674
|
-
const LinkDocs = UniBlock(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
|
|
9675
|
-
const router = useRouter();
|
|
9676
|
-
return (jsxs(BlockWrapper, { className: style('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? (jsx("div", { className: style('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, icon)) })) : null] }));
|
|
9677
|
-
});
|
|
9678
|
-
const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
|
|
9679
|
-
const docType = docBlockDef?.docType;
|
|
9680
|
-
if (docType === '') {
|
|
9681
|
-
return null;
|
|
9682
|
-
}
|
|
9683
|
-
if ('reportSource' in docBlockDef && docBlockDef?.reportSource?.__html) {
|
|
9684
|
-
return renderModalItem(icon)(docBlockDef, i);
|
|
9685
|
-
}
|
|
9686
|
-
return renderDefaultItem(router, icon)(docBlockDef, i);
|
|
9687
|
-
};
|
|
9688
|
-
const renderModalItem = (icon) => (props, i) => {
|
|
9689
|
-
const commonProps = {
|
|
9690
|
-
text: props.text,
|
|
9691
|
-
target: props.target,
|
|
9692
|
-
__html: props.reportSource?.__html,
|
|
9693
|
-
};
|
|
9694
|
-
return props.reportSource?.__html && props.text ? (jsxs("div", { role: "listitem", children: [jsx(ReportDialogButton, { ...commonProps, icon: icon, href: isLinkDoc(props) ? props?.href : props?.attachment?.src }), jsx(RichText, { __html: props?.__html })] }, String(i))) : null;
|
|
9695
|
-
};
|
|
9696
|
-
const isLinkDoc = (data) => 'href' in data;
|
|
9697
|
-
|
|
9698
|
-
const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, __html, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
|
|
9699
|
-
const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
|
|
9700
|
-
const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
|
|
9701
|
-
return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [__html ? jsx(RichText, { __html: __html, itemSize: "list-m" }) : null, jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
|
|
9702
|
-
});
|
|
9703
|
-
|
|
9704
|
-
const getVersion = (isPrimary, type) => isPrimary && type !== 'underlined' ? 'primary' : 'secondary';
|
|
9705
|
-
|
|
9706
|
-
const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) => targetMatchPattern(filter, content)).length;
|
|
9707
|
-
|
|
9708
|
-
const scalarCmp = (a, b) => a === b;
|
|
9709
|
-
const arrCmp = (cmp = scalarCmp) => (a, b) => a === b || Boolean(a && b && a.length === b.length && a.every((_, i) => cmp(_, b[i])));
|
|
9710
|
-
const objCmp = (cmp) => (a, b) => a === b ||
|
|
9711
|
-
Boolean(a &&
|
|
9712
|
-
b &&
|
|
9713
|
-
Object.keys(a).length === Object.keys(b).length &&
|
|
9714
|
-
Object.entries(a).every(([key, value]) => cmp(value, b[key])));
|
|
9715
|
-
function combineBoolCmps(...comparators) {
|
|
9716
|
-
return (a, b) => comparators.some((cmp) => cmp(a, b));
|
|
9717
|
-
}
|
|
9718
|
-
|
|
9719
|
-
const hotFilterRecordCmp = objCmp(combineBoolCmps(scalarCmp, arrCmp()));
|
|
9720
|
-
|
|
9721
|
-
const EMPTY_ARR = [];
|
|
9722
|
-
const EMPTY_OBJ = {};
|
|
9723
|
-
const useHotFilters = ({ hotFilters = EMPTY_ARR, filtrationState = EMPTY_OBJ, blocks = EMPTY_ARR, onFiltrationStateChange, }) => {
|
|
9724
|
-
const activeItemIndex = useMemo(() => Math.max(0, hotFilters.findIndex((_) => hotFilterRecordCmp(_.filter, filtrationState))), [hotFilters, filtrationState]);
|
|
9725
|
-
const items = useMemo(() => hotFilters.map((_) => ({
|
|
9726
|
-
text: _.text,
|
|
9727
|
-
count: getBadgeCount(blocks, _.filter),
|
|
9728
|
-
version: getVersion(_ === hotFilters[activeItemIndex]),
|
|
9729
|
-
})), [hotFilters, blocks, activeItemIndex]);
|
|
9730
|
-
const handleChange = useCallback((_) => {
|
|
9731
|
-
onFiltrationStateChange(hotFilters[items.indexOf(_)].filter);
|
|
9732
|
-
}, [hotFilters, items]);
|
|
9733
|
-
return {
|
|
9734
|
-
activeItem: items[activeItemIndex],
|
|
9735
|
-
items: items,
|
|
9736
|
-
onChange: handleChange,
|
|
9737
|
-
};
|
|
9738
|
-
};
|
|
9739
|
-
|
|
9740
|
-
const badgeBgStyleMap = {
|
|
9741
|
-
primary: 'bg-white/30',
|
|
9742
|
-
secondary: 'bg-main-divider',
|
|
9743
|
-
};
|
|
9744
|
-
const badgeTextColorStyleMap = {
|
|
9745
|
-
primary: { desktop: 'text-white', mobile: 'text-primary-text' },
|
|
9746
|
-
secondary: { desktop: 'text-secondary-text', mobile: 'text-secondary-text' },
|
|
9747
|
-
};
|
|
9748
|
-
const Badge = JSX(({ count, version = 'secondary' }) => {
|
|
9749
|
-
const isMobileMode = useMobileMode();
|
|
9750
|
-
const badgeBgStyle = isMobileMode ? 'bg-main-divider' : badgeBgStyleMap[version];
|
|
9751
|
-
const textStyle = badgeTextColorStyleMap[version][isMobileMode ? 'mobile' : 'desktop'];
|
|
9752
|
-
return (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyle), role: "status", "aria-label": `Количество ${count} доступных программ и сервисов`, children: jsx(Text, { size: "text-xs", color: textStyle, children: count }) }));
|
|
9753
|
-
});
|
|
9754
|
-
|
|
9755
|
-
const getButtonClassNames = (isActive) => ({
|
|
9756
|
-
btn: `w-96 ${isActive ? 'p-m border-none bg-primary-main text-white' : 'p-s ease-in duration-300 bg-white'}`,
|
|
9757
|
-
text: isActive ? 'mb-xs text-xl' : 'mb-2xs text-l text-primary-text',
|
|
9758
|
-
desc: `font-light ${isActive ? 'text-l text-white' : 'text-m text-secondary-text'}`,
|
|
9759
|
-
icon: isActive ? '' : 'text-primary-main',
|
|
9760
|
-
iconVersion: (isActive ? 'white' : 'normal'),
|
|
9761
|
-
oldText: 'text-m text-center',
|
|
9762
|
-
oldDesc: 'text-m-light',
|
|
9763
|
-
});
|
|
9764
|
-
const renderTabItemInner = ({ text, description, icon, isActive, type, }) => {
|
|
9765
|
-
const buttonClassNames = getButtonClassNames(isActive);
|
|
9766
|
-
return (jsxs("div", { className: style('cursor-pointer text-left border-b-0 flex gap-2xs'), "aria-label": text, "aria-labelledby": `${text}-label`, children: [icon ? (jsx(Img, { className: style('h-6 w-6 min-w-6 min-h-6', buttonClassNames.icon), image: {
|
|
9767
|
-
...icon,
|
|
9768
|
-
iconVersion: icon?.iconVersion ?? buttonClassNames.iconVersion,
|
|
9769
|
-
}, width: "24", height: "24", alt: text })) : null, jsxs("div", { className: "border-0", children: [jsx("div", { className: type === 'animated' ? buttonClassNames.text : buttonClassNames.oldText, children: text }), jsx("div", { className: type === 'animated' ? buttonClassNames.desc : buttonClassNames.oldDesc, children: description })] })] }));
|
|
9770
|
-
};
|
|
9771
|
-
|
|
9772
|
-
const tabPaddingStyleMap = {
|
|
9773
|
-
default: 'px-xs',
|
|
9774
|
-
underlined: 'px-m',
|
|
9775
|
-
animated: 'px-m border border-gray cursor-pointer text-left border-b-0 mt-auto flex gap-2xs',
|
|
9776
|
-
};
|
|
9777
|
-
const tabTextStyle = 'text-secondary-text hover:text-primary-main';
|
|
9778
|
-
const activeTabTextStyleMap = {
|
|
9779
|
-
default: 'text-black sm:text-white',
|
|
9780
|
-
underlined: 'text-primary-main border-b-2',
|
|
9781
|
-
animated: 'text-white sm:text-white',
|
|
9782
|
-
};
|
|
9783
|
-
const tabBgStyleMap = {
|
|
9784
|
-
default: 'bg-white',
|
|
9785
|
-
underlined: 'bg-white',
|
|
9786
|
-
animated: 'p-1 ease-in duration-300 bg-white text-primary-text h-[70px] w-96',
|
|
9787
|
-
};
|
|
9788
|
-
const activeTabBgStyleMap = {
|
|
9789
|
-
default: 'bg-white sm:bg-primary-main',
|
|
9790
|
-
underlined: 'bg-white',
|
|
9791
|
-
animated: 'p-2 border-none bg-primary-main text-white h-20 w-96',
|
|
9792
|
-
};
|
|
9793
|
-
const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
|
|
9794
|
-
const Tag = tag;
|
|
9795
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9796
|
-
const { text, description, icon, count, tabName, ...link } = item;
|
|
9797
|
-
return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), "aria-label": "\u0421\u043F\u0438\u0441\u043E\u043A \u0442\u0430\u0431\u043E\u0432", onClick: onClick, ...link, children: jsxs("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), role: "tab", "aria-label": `Таб ${text}`, children: [renderTabItemInner({
|
|
9798
|
-
text,
|
|
9799
|
-
description,
|
|
9800
|
-
icon,
|
|
9801
|
-
isActive,
|
|
9802
|
-
type,
|
|
9803
|
-
}), Number.isInteger(count) ? (jsx("div", { className: "ml-xs", role: "status", "aria-label": `Количество программ и сервисов ${count}`, children: jsx(Badge, { count: count, version: getVersion(isActive, type) }) })) : null] }) }));
|
|
9804
|
-
});
|
|
9805
|
-
|
|
9806
|
-
const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
|
|
9807
|
-
const LinkTabItem = JSX((props) => {
|
|
9808
|
-
const link = useLink();
|
|
9809
|
-
const handleClick = useCallback(() => {
|
|
9810
|
-
props.onClick && props.onClick(props.item || {});
|
|
9811
|
-
}, [props.onClick, props.item]);
|
|
9812
|
-
const { onClick, ...item } = link({ ...props.item, onClick: handleClick });
|
|
9813
|
-
return jsx(TabItemInner, { ...props, tag: "a", item: item, onClick: onClick });
|
|
9431
|
+
const LinkDocItem = JSX(({ icon, text, href, target, fileFormat, data, fileSize }) => {
|
|
9432
|
+
const prefix = fileSize && fileFormat ? ',' : '';
|
|
9433
|
+
const size = fileSize ?? '';
|
|
9434
|
+
const format = fileFormat ? String(fileFormat) : '';
|
|
9435
|
+
return (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", href: href, target: target, ...getAspectsAttributes(data), children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, " ", addSpace(size, format), jsx(Text, { color: "text-secondary-text", children: href && `${size + prefix + format}` })] })) : null] }));
|
|
9814
9436
|
});
|
|
9815
|
-
|
|
9816
|
-
const ButtonTabItem = JSX(({ item = {}, onClick, ...rest }) => {
|
|
9817
|
-
const handleClick = useCallback(() => {
|
|
9818
|
-
onClick && onClick(item);
|
|
9819
|
-
}, [onClick, item]);
|
|
9820
|
-
return jsx(TabItemInner, { item: item, onClick: handleClick, ...rest });
|
|
9821
|
-
});
|
|
9437
|
+
const addSpace = (size, format) => (size || format ? jsx("span", { children: ",\u00A0" }) : '');
|
|
9822
9438
|
|
|
9823
|
-
const
|
|
9439
|
+
const linkIconStyle = 'min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md';
|
|
9440
|
+
|
|
9441
|
+
const renderDefaultItem = (router, icon) => (docBlockDef, i) => {
|
|
9442
|
+
const href = adjustHref(router)(docBlockDef?.docType === 'Attachment' ? docBlockDef?.attachment?.src : docBlockDef?.href);
|
|
9443
|
+
const fileSize = docBlockDef?.docType === 'Attachment'
|
|
9444
|
+
? formatBytes(docBlockDef?.attachment?.fileSize || 0)
|
|
9445
|
+
: docBlockDef?.fileSize;
|
|
9446
|
+
const fileFormat = docBlockDef?.docType === 'Attachment' ? getExtFromHref(href) : docBlockDef?.fileFormat;
|
|
9447
|
+
return (jsxs("div", { role: "listitem", children: [jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileFormat: fileFormat, fileSize: fileSize, icon: renderImg(icon), data: docBlockDef?.data }), jsx(RichText, { __html: docBlockDef?.__html })] }, String(i)));
|
|
9448
|
+
};
|
|
9449
|
+
const renderImg = (icon) => icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null;
|
|
9450
|
+
const getExtFromHref = (href) => {
|
|
9451
|
+
if (!href) {
|
|
9452
|
+
return '';
|
|
9453
|
+
}
|
|
9454
|
+
const index = href.lastIndexOf('.');
|
|
9455
|
+
const regexp = new RegExp(/\/(.*)/);
|
|
9456
|
+
const docFormat = index !== -1 ? href.substring(index + 1) : '';
|
|
9457
|
+
return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
|
|
9458
|
+
};
|
|
9824
9459
|
|
|
9825
|
-
const
|
|
9460
|
+
const ReportDialog = JSX(({ href, __html, target, onClose }) => (jsxs(Dialog, { className: "my-6xl min-h-fit w-fit mx-auto", onClose: onClose, children: [__html ? jsx(RichText, { __html: __html }) : null, jsxs("div", { className: "flex flex-row mx-auto w-fit gap-lg py-lg", children: [jsx(Link, { href: href, target: target, version: "primary", ariaLabel: "\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435", onClick: onClose, children: "\u042F \u0441\u043E\u0433\u043B\u0430\u0441\u0435\u043D" }), jsx(Button, { type: "button", version: "secondary", onClick: onClose, children: "\u042F \u043D\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0435\u043D" })] }), jsx("div", { children: "\u041D\u0430\u0436\u0438\u043C\u0430\u044F \u043A\u043D\u043E\u043F\u043A\u0443 \u00AB\u042F \u0421\u041E\u0413\u041B\u0410\u0421\u0415\u041D\u00BB \u043D\u0438\u0436\u0435 \u0412\u044B \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0443\u0441\u043B\u043E\u0432\u0438\u044F. \u0420\u0430\u0441\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u0440\u0430\u0441\u043A\u0440\u044B\u0442\u0438\u0435 \u043B\u044E\u0431\u043E\u0439 \u0447\u0430\u0441\u0442\u0438 \u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0417\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438, \u0438\u043B\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \u0432 \u043D\u0435\u043C \u0437\u0430\u043F\u0440\u0435\u0449\u0435\u043D\u043E.\u00BB" })] })));
|
|
9826
9461
|
|
|
9827
|
-
const
|
|
9828
|
-
|
|
9829
|
-
|
|
9830
|
-
|
|
9831
|
-
|
|
9462
|
+
const ReportDialogButton = JSX(({ text, href, target, __html, icon }) => {
|
|
9463
|
+
const { open } = useDialog(ReportDialog);
|
|
9464
|
+
const openReportDialog = useCallback(() => open({ __html, href, target }), [__html, href, target]);
|
|
9465
|
+
return text ? (jsxs("button", { className: "flex gap-s text-primary-text no-underline hover:text-primary-main", onClick: openReportDialog, children: [renderImg(icon), jsx(Text, { font: "font-light", children: text })] })) : null;
|
|
9466
|
+
});
|
|
9467
|
+
|
|
9468
|
+
const linkColumnsModeStyleMap = {
|
|
9469
|
+
double: 'sm:flex-wrap sm:flex-row',
|
|
9470
|
+
single: 'sm:flex-col',
|
|
9832
9471
|
};
|
|
9833
|
-
const
|
|
9834
|
-
const
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
const
|
|
9839
|
-
|
|
9840
|
-
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
|
|
9844
|
-
}
|
|
9845
|
-
return (
|
|
9846
|
-
}
|
|
9847
|
-
|
|
9848
|
-
|
|
9472
|
+
const LinkDocs = UniBlock(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
|
|
9473
|
+
const router = useRouter();
|
|
9474
|
+
return (jsxs(BlockWrapper, { className: style('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? (jsx("div", { className: style('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, icon)) })) : null] }));
|
|
9475
|
+
});
|
|
9476
|
+
const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
|
|
9477
|
+
const docType = docBlockDef?.docType;
|
|
9478
|
+
if (docType === '') {
|
|
9479
|
+
return null;
|
|
9480
|
+
}
|
|
9481
|
+
if ('reportSource' in docBlockDef && docBlockDef?.reportSource?.__html) {
|
|
9482
|
+
return renderModalItem(icon)(docBlockDef, i);
|
|
9483
|
+
}
|
|
9484
|
+
return renderDefaultItem(router, icon)(docBlockDef, i);
|
|
9485
|
+
};
|
|
9486
|
+
const renderModalItem = (icon) => (props, i) => {
|
|
9487
|
+
const commonProps = {
|
|
9488
|
+
text: props.text,
|
|
9489
|
+
target: props.target,
|
|
9490
|
+
__html: props.reportSource?.__html,
|
|
9491
|
+
};
|
|
9492
|
+
return props.reportSource?.__html && props.text ? (jsxs("div", { role: "listitem", children: [jsx(ReportDialogButton, { ...commonProps, icon: icon, href: isLinkDoc(props) ? props?.href : props?.attachment?.src }), jsx(RichText, { __html: props?.__html })] }, String(i))) : null;
|
|
9493
|
+
};
|
|
9494
|
+
const isLinkDoc = (data) => 'href' in data;
|
|
9495
|
+
|
|
9496
|
+
const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, __html, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
|
|
9497
|
+
const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
|
|
9498
|
+
const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
|
|
9499
|
+
return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [__html ? jsx(RichText, { __html: __html, itemSize: "list-m" }) : null, jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
|
|
9849
9500
|
});
|
|
9850
9501
|
|
|
9502
|
+
const REGION_URL = `${API_BASE_URI$1}/region`;
|
|
9503
|
+
function useLocation(defaultLocation = 'Москва') {
|
|
9504
|
+
const locationStore = useLocalStore();
|
|
9505
|
+
return locationStore.location ?? { name: defaultLocation };
|
|
9506
|
+
}
|
|
9507
|
+
function useDefaultLocation(defaultLocation = 'Москва') {
|
|
9508
|
+
const locationStore = useLocalStore();
|
|
9509
|
+
const preselectLocation = useCallback(async () => {
|
|
9510
|
+
if (!locationStore.location) {
|
|
9511
|
+
const region = await fetchJSON(REGION_URL);
|
|
9512
|
+
locationStore.location = region ?? { name: defaultLocation };
|
|
9513
|
+
}
|
|
9514
|
+
}, [locationStore, defaultLocation]);
|
|
9515
|
+
useAsyncData(REGION_URL, preselectLocation);
|
|
9516
|
+
return locationStore;
|
|
9517
|
+
}
|
|
9518
|
+
|
|
9851
9519
|
const COMMON_FILTERS_STYLES = 'flex flex-col sm:flex-row sm:flex-wrap gap-3xl pb-2xl';
|
|
9852
9520
|
const FiltrationForm = JSX(({ filters, field: { field, reset }, onlyOffice, labels }) => {
|
|
9853
9521
|
const visibleFiltersNum = onlyOffice ? 5 : 6;
|
|
@@ -9859,6 +9527,8 @@
|
|
|
9859
9527
|
return (jsx("div", { children: filters?.length ? (jsx("div", { children: jsxs(Foldable, { children: [jsxs("div", { children: [jsx("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }), jsx(FoldableSection, { className: COMMON_FILTERS_STYLES, isUnfolded: isUnfolded, children: hiddenFilters })] }), jsxs("div", { className: "flex space-x-lg", children: [onlyOffice ? (jsx(DefaultFoldButton, { label: isUnfolded ? 'Меньше фильтров' : 'Больше фильтров', isUnfolded: isUnfolded, embedded: true, short: true, onClick: toggle })) : null, jsxs(Button, { embedded: true, onClick: reset, children: [jsx(ButtonTitle, { children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440" }), jsx(Icon, { name: "CloseIcon", size: "small" })] })] })] }) })) : null }));
|
|
9860
9528
|
});
|
|
9861
9529
|
|
|
9530
|
+
const getVersion = (isPrimary, type) => isPrimary && type !== 'underlined' ? 'primary' : 'secondary';
|
|
9531
|
+
|
|
9862
9532
|
const renderButtonsGroup = (data, activeButton, onButtonClick) => {
|
|
9863
9533
|
const allButtonVersion = getVersion(activeButton === 'all');
|
|
9864
9534
|
const businessButtonVersion = getVersion(activeButton === 'business');
|
|
@@ -9873,7 +9543,7 @@
|
|
|
9873
9543
|
return (jsxs("div", { className: "flex gap-lg flex-col sm:flex-row pb-lg", children: [jsx(Button, { "data-id": "all", onClick: (e) => handleClick(e, 'all', data), version: allButtonVersion, children: "\u0414\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" }), jsx(Button, { "data-id": "business", onClick: (e) => handleClick(e, 'business', data), version: businessButtonVersion, children: "\u0414\u043B\u044F \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" })] }));
|
|
9874
9544
|
};
|
|
9875
9545
|
|
|
9876
|
-
const renderDescriptionBlock
|
|
9546
|
+
const renderDescriptionBlock = ({ __html, list, richVersion }) => __html || list?.length ? (jsxs("div", { className: "mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (jsx("div", { className: "mb-2xl", children: jsx(RichText, { __html: __html, richVersion: richVersion }) })) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pb-2xl sm:pb-xl", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
|
|
9877
9547
|
|
|
9878
9548
|
const renderHeading = (title, lengthItems) => (jsx("div", { className: "flex flex-col sm:flex-row gap-xs mb-2xl", children: jsxs(Heading, { headingType: "h3", children: [jsx("span", { suppressHydrationWarning: true, children: title }), lengthItems ? (jsx(Text, { size: "text-h2", color: "text-secondary-text", children: jsx("span", { suppressHydrationWarning: true, children: ` (${lengthItems})` }) })) : null] }) }));
|
|
9879
9549
|
|
|
@@ -9890,7 +9560,7 @@
|
|
|
9890
9560
|
getBalloonRemoteWorkplaces,
|
|
9891
9561
|
});
|
|
9892
9562
|
const [activeButton, setActiveButton] = useState('all');
|
|
9893
|
-
return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-3xl pb-0", children: [renderHeading(title, lengthItems), descriptionData ? renderDescriptionBlock
|
|
9563
|
+
return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-3xl pb-0", children: [renderHeading(title, lengthItems), descriptionData ? renderDescriptionBlock(descriptionData) : null, onlyOffice && renderButtonsGroup(data, activeButton, setActiveButton), jsx("div", { className: style('pb-3xl', filtersVisibleStyles(activeButton)), children: jsx(FiltrationForm, { filters: getFiltersWithNonEmptyData([...data, ...remoteWorkplaces]), field: { field, reset }, onlyOffice: onlyOffice, labels: FILTRATION_LABELS }) })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, isLoad: isLoad, className: "h-full" }) }) })] }), jsxs(ClientOnly, { children: [filteredItems.map(renderCard), filteredRemoteWorkplaces.map(renderRemoteWorkplaceCard)] })] }));
|
|
9894
9564
|
});
|
|
9895
9565
|
const getFiltersWithNonEmptyData = (data) => Object.keys(INITIAL_FILTRATION_STATE$1).filter((_) => data.filter((item) => FILTRATION_PREDICATES$1[_](item)).length);
|
|
9896
9566
|
|
|
@@ -9921,15 +9591,15 @@
|
|
|
9921
9591
|
return { header, body };
|
|
9922
9592
|
};
|
|
9923
9593
|
|
|
9924
|
-
const EMPTY_VALUE$
|
|
9594
|
+
const EMPTY_VALUE$1 = [];
|
|
9925
9595
|
function useAtms(regionCode) {
|
|
9926
9596
|
const { data, error } = useAsyncData(`${API_BASE_URI$1}/atms?regionCode=${regionCode}`, fetchMap$1);
|
|
9927
9597
|
const isLoad = !data && !error;
|
|
9928
|
-
return { data: data || EMPTY_VALUE$
|
|
9598
|
+
return { data: data || EMPTY_VALUE$1, isLoad };
|
|
9929
9599
|
}
|
|
9930
9600
|
const fetchMap$1 = async (url) => {
|
|
9931
9601
|
const result = await fetchJSON(url, { method: 'GET' });
|
|
9932
|
-
return Array.isArray(result) ? result : EMPTY_VALUE$
|
|
9602
|
+
return Array.isArray(result) ? result : EMPTY_VALUE$1;
|
|
9933
9603
|
};
|
|
9934
9604
|
|
|
9935
9605
|
const INITIAL_FILTRATION_STATE = {
|
|
@@ -9982,17 +9652,17 @@
|
|
|
9982
9652
|
return { header, body };
|
|
9983
9653
|
};
|
|
9984
9654
|
|
|
9985
|
-
const EMPTY_VALUE
|
|
9655
|
+
const EMPTY_VALUE = { branches: [], remoteWorkplaces: [] };
|
|
9986
9656
|
function useOffices(regionCode = '000') {
|
|
9987
9657
|
const { data, error } = useAsyncData(`${API_BASE_URI$1}/branchesAndRemoteWorkplaces?regionCode=${encodeURIComponent(regionCode)}`, fetchMap);
|
|
9988
9658
|
const isLoad = !data && !error;
|
|
9989
|
-
return { data: data || EMPTY_VALUE
|
|
9659
|
+
return { data: data || EMPTY_VALUE, isLoad };
|
|
9990
9660
|
}
|
|
9991
9661
|
const fetchMap = async (url) => {
|
|
9992
9662
|
const result = await fetchJSON(url, {
|
|
9993
9663
|
method: 'GET',
|
|
9994
9664
|
});
|
|
9995
|
-
return result || EMPTY_VALUE
|
|
9665
|
+
return result || EMPTY_VALUE;
|
|
9996
9666
|
};
|
|
9997
9667
|
|
|
9998
9668
|
const OfficesMap = JSX(({ className }) => {
|
|
@@ -10007,25 +9677,6 @@
|
|
|
10007
9677
|
return (jsx(BlockWrapper, { version: "transparent", className: style(className), defaultPadding: "p-0", ...rest, children: dataType === 'offices' ? jsx(OfficesMap, {}) : jsx(AtmsMap, { descriptionData: data }) }));
|
|
10008
9678
|
});
|
|
10009
9679
|
|
|
10010
|
-
const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border', className), ...rest, children: [jsx(Headline, { className: "max-w-[600px]", title: title, description: description, headlineVersion: "L", align: "text-left", isEmbedded: true }), jsx(Shimmer, {})] })));
|
|
10011
|
-
|
|
10012
|
-
const ProductGallery = JSX(({ className, padding, slides = [], ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden relative', className), padding: padding, ...rest, children: jsx(SwipeListControl, { gap: 0, padding: 0, children: slides
|
|
10013
|
-
.map((s) => s.productBlock)
|
|
10014
|
-
.map((_, i) => (jsx("div", { className: "box-border h-full", children: jsx(BaseProductTile, { className: "px-5 h-full", headlineVersion: "L", ..._, ...rest }) }, String(i)))) }) })));
|
|
10015
|
-
|
|
10016
|
-
const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, richVersion, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [isIcon(icon) ? (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: jsx(Img, { image: icon }) })) : null, title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock({ __html, richVersion }) : null, renderBlock({
|
|
10017
|
-
label: 'Адрес',
|
|
10018
|
-
data: address,
|
|
10019
|
-
iconName: 'GeolocationIcon',
|
|
10020
|
-
}), renderBlock({ label: 'Телефон(факс)', data: telephone, iconName: 'PhoneIcon' }), renderBlock({
|
|
10021
|
-
label: 'E-mail',
|
|
10022
|
-
data: email,
|
|
10023
|
-
iconName: 'MailIcon',
|
|
10024
|
-
dataColor: 'text-primary-main',
|
|
10025
|
-
}), button?.text ? renderButtonsSection([button]) : null] })] })));
|
|
10026
|
-
const renderDescriptionBlock = (props) => (jsx("div", { className: "border-b border-main-divider pb-lg", children: jsx(RichText, { ...props, itemSize: "list-s" }) }));
|
|
10027
|
-
const renderBlock = ({ label, data, iconName, dataColor = '' }) => data ? (jsxs("div", { className: "flex gap-s", children: [jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col gap-2xs", children: [jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: label }), jsx(Text, { size: "text-xl", color: dataColor, children: data })] })] })) : null;
|
|
10028
|
-
|
|
10029
9680
|
const RichTextBlock = JSX((props) => {
|
|
10030
9681
|
const { __html, richVersion = '', ...rest } = props;
|
|
10031
9682
|
return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
|
|
@@ -10047,133 +9698,6 @@
|
|
|
10047
9698
|
return (jsx(BlockWrapper, { className: style('w-full border-0 border-b border-solid border-main-divider last:border-b-0', className), defaultPadding: "p-0", tag: "div", version: "transparent", role: role, ...rest, children: jsxs(Foldable, { children: [isFoldButtonOnTop ? foldButton : foldableSection, isFoldButtonOnTop ? foldableSection : foldButton] }) }));
|
|
10048
9699
|
}, { childrenTypes: { exclude: ['RollupItem'] } });
|
|
10049
9700
|
|
|
10050
|
-
const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex gap-s items-center relative cursor-pointer", children: [jsx("input", { className: style(inputValidStyle.split(' ').filter((_) => _ !== 'rounded'), defaultCheckStyle, 'flex justify-center items-center after:block after:w-2.5 after:h-2.5 after:rounded-full rounded-full', 'checked:border-2 checked:!border-primary-main focus:checked:border-primary-main checked:after:bg-primary-main'), type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange?.(_.target.value), role: "radio" }), text ? jsx(Text, { color: "text-primary-text", children: text }) : null] }) })));
|
|
10051
|
-
|
|
10052
|
-
const RadioButtons = JSX(({ className = '' }) => {
|
|
10053
|
-
const [selectedOption, setSelectedOption] = useState('option2');
|
|
10054
|
-
const onChange = useCallback((_) => setSelectedOption(_), []);
|
|
10055
|
-
return (jsxs("div", { className: style('order-4', className), role: "radiogroup", children: [jsx(Radio, { className: "mb-xs", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selectedOption === 'option1', onChange: onChange }), jsx(Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selectedOption === 'option2', onChange: onChange })] }));
|
|
10056
|
-
});
|
|
10057
|
-
|
|
10058
|
-
const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
|
|
10059
|
-
const dataFormat = data
|
|
10060
|
-
.filter(Boolean)
|
|
10061
|
-
.map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
|
|
10062
|
-
const selectedObj = dataFormat.find((_) => _.key === selected);
|
|
10063
|
-
return (jsx(Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
|
|
10064
|
-
});
|
|
10065
|
-
|
|
10066
|
-
const RegionsAndBranches = JSX(({ regions = [], selectedRegion, onSelectedRegion: onSelectedRegion, branches = [], selectedBranch, onSelectedBranch, }) => (jsxs("div", { className: "flex flex-col @xl:flex-row gap-m order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: selectedRegion, setSelected: onSelectedRegion, label: "\u0420\u0435\u0433\u0438\u043E\u043D" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: selectedBranch, setSelected: onSelectedBranch, label: "\u041E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435" }) })] })));
|
|
10067
|
-
|
|
10068
|
-
const ITEMS = ['От 1 дня', 'До 365 дней'];
|
|
10069
|
-
const MIN = 1;
|
|
10070
|
-
const MAX = 365;
|
|
10071
|
-
const RentalPeriod = JSX(({ days, setDays }) => (jsxs("div", { className: "order-1", children: [jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A \u0430\u0440\u0435\u043D\u0434\u044B" }), jsx(InputRange, { min: MIN, max: MAX, value: days, items: ITEMS, onChange: setDays })] })));
|
|
10072
|
-
|
|
10073
|
-
const SafeBoxCases = JSX(({ caseVolumes = [], selectedCaseVolume, onSelectedCaseVolume, safeBoxCases = [], selectedBoxSize, onSelectedBoxSize, }) => (jsxs("div", { className: "flex flex-col @xl:flex-row gap-m order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] })));
|
|
10074
|
-
|
|
10075
|
-
const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onClick, }) => (jsxs("div", { className: "contents @xl:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents @md:flex justify-between items-center gap-m", children: [jsx(RadioButtons, {}), jsx(Button, { className: "order-6", version: "primary", onClick: onClick, children: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" })] })] })));
|
|
10076
|
-
const onSelectedBranch = (onChange) => (value) => {
|
|
10077
|
-
onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
|
|
10078
|
-
};
|
|
10079
|
-
const onSelectedCaseVolume = (onChange) => (value) => {
|
|
10080
|
-
onChange({ selectedCaseVolume: value, selectedBoxSize: '' });
|
|
10081
|
-
};
|
|
10082
|
-
|
|
10083
|
-
const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
|
|
10084
|
-
const price = calculatePrice(days, tariffs);
|
|
10085
|
-
const imageDescription = 'На рисунке изображена пачка листов\nформата А4';
|
|
10086
|
-
return (jsxs("div", { className: "contents @xl:flex flex-col justify-between gap-xl order-2", children: [jsxs("div", { className: "flex flex-col @xl:flex-row gap-x-6xl gap-y-2xl order-5 @xl:order-none py-2xl @xl:py-0 border-t border-main-divider @xl:border-none", children: [renderTotal('Аренда за', days), renderTotal('Цена', price + ' ₽')] }), jsx("div", { className: "@xl:hidden order-3 mb-xs", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: imageDescription }) }), jsxs("div", { className: "flex flex-col items-center gap-s order-3 @xl:order-none mb-xl @xl:mb-0 bg-primary-main py-s @xl:p-3xl text-center", children: [jsx(Icon, { className: "@xl:h-60", name: "PackA4Icon" }), jsx("div", { className: "hidden @xl:inline opacity-80 whitespace-pre-line", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-white", children: imageDescription }) })] })] }));
|
|
10087
|
-
});
|
|
10088
|
-
const renderTotal = (label, total) => (jsxs("div", { className: "flex justify-between items-center gap-y-xs @xl:flex-col @xl:items-start", children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: label }), jsx("span", { className: "text-l @xl:text-h3 text-primary-text", children: total })] }));
|
|
10089
|
-
const calculatePrice = (days, tariffs) => {
|
|
10090
|
-
const tariffType = getTariffType(days);
|
|
10091
|
-
const tariffValue = tariffs?.find((_) => _.tariffType === String(tariffType))?.tariffValue || 0;
|
|
10092
|
-
return days * tariffValue;
|
|
10093
|
-
};
|
|
10094
|
-
const getTariffType = (days) => {
|
|
10095
|
-
let tariffType = 1;
|
|
10096
|
-
switch (true) {
|
|
10097
|
-
case days > 30 && days <= 90:
|
|
10098
|
-
tariffType = 2;
|
|
10099
|
-
break;
|
|
10100
|
-
case days > 90 && days <= 180:
|
|
10101
|
-
tariffType = 3;
|
|
10102
|
-
break;
|
|
10103
|
-
case days > 180 && days <= 365:
|
|
10104
|
-
tariffType = 4;
|
|
10105
|
-
break;
|
|
10106
|
-
}
|
|
10107
|
-
return tariffType;
|
|
10108
|
-
};
|
|
10109
|
-
|
|
10110
|
-
const getCoordinates = (data) => {
|
|
10111
|
-
const getBalloon = () => void 0;
|
|
10112
|
-
if (Array.isArray(data)) {
|
|
10113
|
-
return data
|
|
10114
|
-
.map((_) => ({
|
|
10115
|
-
coords: [Number(_.gpsLatitude), Number(_.gpsLongitude)].filter(Boolean),
|
|
10116
|
-
content: getBalloon(),
|
|
10117
|
-
}))
|
|
10118
|
-
.filter((_) => _.coords && _.coords.length === 2);
|
|
10119
|
-
}
|
|
10120
|
-
if (data?.gpsLatitude && data?.gpsLongitude) {
|
|
10121
|
-
return [{ coords: [data.gpsLatitude, data.gpsLongitude] }];
|
|
10122
|
-
}
|
|
10123
|
-
return [];
|
|
10124
|
-
};
|
|
10125
|
-
const getBranch = (branches, selectedBranch) => branches.find((_) => _.branchCode === selectedBranch);
|
|
10126
|
-
|
|
10127
|
-
const SafeDepositRentalForm = JSX((props) => {
|
|
10128
|
-
const { regions, data, branches, onChange, onClick } = props;
|
|
10129
|
-
useEffect(() => {
|
|
10130
|
-
onChange({
|
|
10131
|
-
selectedBranch: '',
|
|
10132
|
-
selectedCaseVolume: '',
|
|
10133
|
-
selectedBoxSize: '',
|
|
10134
|
-
});
|
|
10135
|
-
}, [data.selectedRegion, onChange]);
|
|
10136
|
-
const branch = getBranch(branches, data.selectedBranch);
|
|
10137
|
-
const caseVolumes = getCaseVolumes(branch?.safeBoxCaseVolumes);
|
|
10138
|
-
const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes, data.selectedCaseVolume)?.safeBoxCases;
|
|
10139
|
-
const tariffs = getTariffs(safeBoxCases, data.selectedBoxSize);
|
|
10140
|
-
return (jsxs("div", { className: "flex flex-col @4xl:flex-row gap-4xl align-top", children: [jsx(SafeDepositRentalFields, { ...data, regions: regions, onClick: onClick, branches: branches, caseVolumes: caseVolumes, safeBoxCases: safeBoxCases, onChange: onChange }), jsx(SafeDepositRentalTotal, { days: data.days, tariffs: tariffs })] }));
|
|
10141
|
-
});
|
|
10142
|
-
const getCaseVolumes = (safeBoxCaseVolumes) => safeBoxCaseVolumes?.length ? safeBoxCaseVolumes?.filter((_) => _?.safeBoxCases?.length) : [];
|
|
10143
|
-
const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
|
|
10144
|
-
const getTariffs = (safeBoxCases, selectedBoxSize) => safeBoxCases?.find((_) => _.safeBoxCasesSize === selectedBoxSize)?.tariffs;
|
|
10145
|
-
|
|
10146
|
-
const SAFEBOXES_URL = `${API_BASE_URI$1}/safeboxes`;
|
|
10147
|
-
const EMPTY_VALUE = [];
|
|
10148
|
-
function useSafeBoxes(regionCode) {
|
|
10149
|
-
const { data } = useAsyncData(regionCode ? `${SAFEBOXES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
|
|
10150
|
-
return data || EMPTY_VALUE;
|
|
10151
|
-
}
|
|
10152
|
-
const fetchSafeBoxes = async (url) => {
|
|
10153
|
-
const result = await fetchJSON(url, { method: 'GET' });
|
|
10154
|
-
return result || EMPTY_VALUE;
|
|
10155
|
-
};
|
|
10156
|
-
|
|
10157
|
-
const DEFAULT_DAYS = 26;
|
|
10158
|
-
const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest }) => {
|
|
10159
|
-
const [showMap, setShowMap] = useState(false);
|
|
10160
|
-
const handleShowMap = useCallback(() => setShowMap((_) => !_), []);
|
|
10161
|
-
const [safeDepositState, setStateDepositState] = useState({
|
|
10162
|
-
selectedRegion: '',
|
|
10163
|
-
selectedBranch: '',
|
|
10164
|
-
selectedCaseVolume: '',
|
|
10165
|
-
selectedBoxSize: '',
|
|
10166
|
-
days: DEFAULT_DAYS,
|
|
10167
|
-
});
|
|
10168
|
-
const regions = useRegions();
|
|
10169
|
-
const selectedRegion = normalizeSelectedRegion(safeDepositState.selectedRegion, regions);
|
|
10170
|
-
const branches = useSafeBoxes(selectedRegion);
|
|
10171
|
-
const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
|
|
10172
|
-
const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
|
|
10173
|
-
return (jsxs(BlockWrapper, { className: className, defaultPadding: "", ...rest, children: [jsxs("div", { className: "p-4xl space-y-xl", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-s text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? (jsx(Paragraph, { size: "text-s", font: "font-light", children: footnote })) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
|
|
10174
|
-
});
|
|
10175
|
-
const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
|
|
10176
|
-
|
|
10177
9701
|
const getIconTextStyle = (version) => version === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
|
|
10178
9702
|
|
|
10179
9703
|
const STEPS_BLOCK_STYLE = {
|
|
@@ -10490,6 +10014,92 @@
|
|
|
10490
10014
|
return href ? new URL(href).searchParams.get(params) : null;
|
|
10491
10015
|
};
|
|
10492
10016
|
|
|
10017
|
+
const badgeBgStyleMap = {
|
|
10018
|
+
primary: 'bg-white/30',
|
|
10019
|
+
secondary: 'bg-main-divider',
|
|
10020
|
+
};
|
|
10021
|
+
const badgeTextColorStyleMap = {
|
|
10022
|
+
primary: { desktop: 'text-white', mobile: 'text-primary-text' },
|
|
10023
|
+
secondary: { desktop: 'text-secondary-text', mobile: 'text-secondary-text' },
|
|
10024
|
+
};
|
|
10025
|
+
const Badge = JSX(({ count, version = 'secondary' }) => {
|
|
10026
|
+
const isMobileMode = useMobileMode();
|
|
10027
|
+
const badgeBgStyle = isMobileMode ? 'bg-main-divider' : badgeBgStyleMap[version];
|
|
10028
|
+
const textStyle = badgeTextColorStyleMap[version][isMobileMode ? 'mobile' : 'desktop'];
|
|
10029
|
+
return (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyle), role: "status", "aria-label": `Количество ${count} доступных программ и сервисов`, children: jsx(Text, { size: "text-xs", color: textStyle, children: count }) }));
|
|
10030
|
+
});
|
|
10031
|
+
|
|
10032
|
+
const getButtonClassNames = (isActive) => ({
|
|
10033
|
+
btn: `w-96 ${isActive ? 'p-m border-none bg-primary-main text-white' : 'p-s ease-in duration-300 bg-white'}`,
|
|
10034
|
+
text: isActive ? 'mb-xs text-xl' : 'mb-2xs text-l text-primary-text',
|
|
10035
|
+
desc: `font-light ${isActive ? 'text-l text-white' : 'text-m text-secondary-text'}`,
|
|
10036
|
+
icon: isActive ? '' : 'text-primary-main',
|
|
10037
|
+
iconVersion: (isActive ? 'white' : 'normal'),
|
|
10038
|
+
oldText: 'text-m text-center',
|
|
10039
|
+
oldDesc: 'text-m-light',
|
|
10040
|
+
});
|
|
10041
|
+
const renderTabItemInner = ({ text, description, icon, isActive, type, }) => {
|
|
10042
|
+
const buttonClassNames = getButtonClassNames(isActive);
|
|
10043
|
+
return (jsxs("div", { className: style('cursor-pointer text-left border-b-0 flex gap-2xs'), "aria-label": text, "aria-labelledby": `${text}-label`, children: [icon ? (jsx(Img, { className: style('h-6 w-6 min-w-6 min-h-6', buttonClassNames.icon), image: {
|
|
10044
|
+
...icon,
|
|
10045
|
+
iconVersion: icon?.iconVersion ?? buttonClassNames.iconVersion,
|
|
10046
|
+
}, width: "24", height: "24", alt: text })) : null, jsxs("div", { className: "border-0", children: [jsx("div", { className: type === 'animated' ? buttonClassNames.text : buttonClassNames.oldText, children: text }), jsx("div", { className: type === 'animated' ? buttonClassNames.desc : buttonClassNames.oldDesc, children: description })] })] }));
|
|
10047
|
+
};
|
|
10048
|
+
|
|
10049
|
+
const tabPaddingStyleMap = {
|
|
10050
|
+
default: 'px-xs',
|
|
10051
|
+
underlined: 'px-m',
|
|
10052
|
+
animated: 'px-m border border-gray cursor-pointer text-left border-b-0 mt-auto flex gap-2xs',
|
|
10053
|
+
};
|
|
10054
|
+
const tabTextStyle = 'text-secondary-text hover:text-primary-main';
|
|
10055
|
+
const activeTabTextStyleMap = {
|
|
10056
|
+
default: 'text-black sm:text-white',
|
|
10057
|
+
underlined: 'text-primary-main border-b-2',
|
|
10058
|
+
animated: 'text-white sm:text-white',
|
|
10059
|
+
};
|
|
10060
|
+
const tabBgStyleMap = {
|
|
10061
|
+
default: 'bg-white',
|
|
10062
|
+
underlined: 'bg-white',
|
|
10063
|
+
animated: 'p-1 ease-in duration-300 bg-white text-primary-text h-[70px] w-96',
|
|
10064
|
+
};
|
|
10065
|
+
const activeTabBgStyleMap = {
|
|
10066
|
+
default: 'bg-white sm:bg-primary-main',
|
|
10067
|
+
underlined: 'bg-white',
|
|
10068
|
+
animated: 'p-2 border-none bg-primary-main text-white h-20 w-96',
|
|
10069
|
+
};
|
|
10070
|
+
const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
|
|
10071
|
+
const Tag = tag;
|
|
10072
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10073
|
+
const { text, description, icon, count, tabName, ...link } = item;
|
|
10074
|
+
return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), "aria-label": "\u0421\u043F\u0438\u0441\u043E\u043A \u0442\u0430\u0431\u043E\u0432", onClick: onClick, ...link, children: jsxs("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), role: "tab", "aria-label": `Таб ${text}`, children: [renderTabItemInner({
|
|
10075
|
+
text,
|
|
10076
|
+
description,
|
|
10077
|
+
icon,
|
|
10078
|
+
isActive,
|
|
10079
|
+
type,
|
|
10080
|
+
}), Number.isInteger(count) ? (jsx("div", { className: "ml-xs", role: "status", "aria-label": `Количество программ и сервисов ${count}`, children: jsx(Badge, { count: count, version: getVersion(isActive, type) }) })) : null] }) }));
|
|
10081
|
+
});
|
|
10082
|
+
|
|
10083
|
+
const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
|
|
10084
|
+
const LinkTabItem = JSX((props) => {
|
|
10085
|
+
const link = useLink();
|
|
10086
|
+
const handleClick = useCallback(() => {
|
|
10087
|
+
props.onClick && props.onClick(props.item || {});
|
|
10088
|
+
}, [props.onClick, props.item]);
|
|
10089
|
+
const { onClick, ...item } = link({ ...props.item, onClick: handleClick });
|
|
10090
|
+
return jsx(TabItemInner, { ...props, tag: "a", item: item, onClick: onClick });
|
|
10091
|
+
});
|
|
10092
|
+
// TODO: Update handlerDecorator (support buttons?)
|
|
10093
|
+
const ButtonTabItem = JSX(({ item = {}, onClick, ...rest }) => {
|
|
10094
|
+
const handleClick = useCallback((e) => {
|
|
10095
|
+
e.target.scrollIntoView({ block: 'nearest' });
|
|
10096
|
+
onClick?.(item);
|
|
10097
|
+
}, [onClick, item]);
|
|
10098
|
+
return jsx(TabItemInner, { item: item, onClick: handleClick, ...rest });
|
|
10099
|
+
});
|
|
10100
|
+
|
|
10101
|
+
const renderTab = (activeTab, onClick, type) => (tab, i) => (jsx(TabItem, { isActive: tab === activeTab, onClick: onClick, type: type, item: tab }, String(i)));
|
|
10102
|
+
|
|
10493
10103
|
const scrollButtonStyle = 'hidden sm:flex absolute z-40';
|
|
10494
10104
|
const scrollStyle = {
|
|
10495
10105
|
default: {
|
|
@@ -10609,96 +10219,36 @@
|
|
|
10609
10219
|
? Number(paramsId)
|
|
10610
10220
|
: tabs.reduce((selectedIndex, tab, i) => (tab.selected ? i : selectedIndex), 0);
|
|
10611
10221
|
|
|
10612
|
-
const
|
|
10613
|
-
|
|
10614
|
-
const [activeIndex, setActiveIndex] = useState(initialIndex);
|
|
10615
|
-
const inc = useCallback(() => setActiveIndex((_) => Math.min(_ + 1, itemCount - 1)), [itemCount]);
|
|
10616
|
-
const dec = useCallback(() => setActiveIndex((_) => Math.max(_ - 1, 0)), [itemCount]);
|
|
10617
|
-
const canInc = visibleItemCount
|
|
10618
|
-
? itemCount > visibleItemCount && activeIndex < itemCount - visibleItemCount
|
|
10619
|
-
: activeIndex < itemCount - 1;
|
|
10620
|
-
const canDec = activeIndex > 0;
|
|
10621
|
-
const isScrollAvailable = canDec || canInc;
|
|
10622
|
-
return [
|
|
10623
|
-
activeIndex,
|
|
10624
|
-
{
|
|
10625
|
-
inc,
|
|
10626
|
-
dec,
|
|
10627
|
-
canInc,
|
|
10628
|
-
canDec,
|
|
10629
|
-
isScrollAvailable,
|
|
10630
|
-
},
|
|
10631
|
-
];
|
|
10632
|
-
};
|
|
10633
|
-
|
|
10634
|
-
const dividerStyle = '@4xl:border-main-divider @4xl:border-b';
|
|
10635
|
-
const firstCellStyle = 'w-80 flex-shrink-0';
|
|
10636
|
-
const COLS_LENGTH_FOR_SCROLL = 2;
|
|
10637
|
-
const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
|
|
10222
|
+
const FIRST_CELL_STYLES = 'w-80 flex-shrink-0 sticky left-0 bg-white';
|
|
10223
|
+
const renderHeader = ({ title, icon }) => (jsxs("div", { className: style('flex gap-m items-center', FIRST_CELL_STYLES), role: "cell", children: [icon ? (jsx(Img, { className: "hidden lg:block max-w-6 shrink-0", image: icon, width: "24", height: "24" })) : null, title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null] }));
|
|
10638
10224
|
|
|
10639
10225
|
const carouselContainerClassesMap = {
|
|
10640
10226
|
comparison: 'flex gap-m duration-1000',
|
|
10641
10227
|
tariff: 'flex gap-5xl flex-grow duration-1000',
|
|
10642
10228
|
};
|
|
10643
|
-
const TableCarouselContainer = JSX(({ children,
|
|
10229
|
+
const TableCarouselContainer = JSX(({ children, version = 'comparison' }) => (jsx("div", { className: "flex flex-1", children: jsx("div", { className: carouselContainerClassesMap[version], children: children }) })));
|
|
10644
10230
|
|
|
10645
10231
|
const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (jsx(DefaultFoldButton, { className: className, label: isOpen ? 'Скрыть' : 'Показать', isUnfolded: isOpen, version: "secondary", short: true, onClick: onClick })));
|
|
10646
10232
|
|
|
10647
|
-
const
|
|
10648
|
-
|
|
10649
|
-
|
|
10650
|
-
const
|
|
10651
|
-
const
|
|
10652
|
-
const
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
useEffect(() => {
|
|
10667
|
-
if (cellIdx !== openTableInnerIdx || !tableInner) {
|
|
10668
|
-
setVisibility(true);
|
|
10669
|
-
}
|
|
10670
|
-
}, [tableInner, openTableInnerIdx]);
|
|
10671
|
-
const displayTable = (props) => {
|
|
10672
|
-
setVisibility(false);
|
|
10673
|
-
setOpenTableInnerIdx(cellIdx);
|
|
10674
|
-
setTableInner(props);
|
|
10675
|
-
};
|
|
10676
|
-
return renderCell({
|
|
10677
|
-
cell,
|
|
10678
|
-
cellProps: {
|
|
10679
|
-
rowIdx,
|
|
10680
|
-
cellIdx,
|
|
10681
|
-
fieldIdx,
|
|
10682
|
-
displayTable,
|
|
10683
|
-
isVisible,
|
|
10684
|
-
},
|
|
10685
|
-
});
|
|
10686
|
-
});
|
|
10687
|
-
const renderCell = ({ cell, cellProps }) => {
|
|
10688
|
-
if (!cell) {
|
|
10689
|
-
return null;
|
|
10690
|
-
}
|
|
10691
|
-
const { tableCellType: type, ...rest } = cell;
|
|
10692
|
-
if (!type || !(type in EmbeddableCellData)) {
|
|
10693
|
-
return null;
|
|
10694
|
-
}
|
|
10695
|
-
const EmbeddableCellInner = EmbeddableCellData[type];
|
|
10696
|
-
return jsx(EmbeddableCellInner, { ...cellProps, ...rest });
|
|
10697
|
-
};
|
|
10698
|
-
|
|
10699
|
-
const TariffsTableCell = JSX(({ cells, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => (jsx("div", { className: "w-80 flex-grow flex flex-col gap-m @4xl:gap-lg", role: "cell", children: cells?.length
|
|
10700
|
-
? cells.map((_, i) => (jsx(RenderCellInner, { cell: _, fieldIdx: i, rowIdx: rowIdx, cellIdx: cellIdx, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx }, String(i))))
|
|
10701
|
-
: null })));
|
|
10233
|
+
const renderCell = ({ label, description, __html, isDotted, buttons, image }, i) => (jsxs("div", { className: "grid gap-xs", children: [renderLabel(label), renderDescription$1(description), renderRich({ __html, isDotted }), renderButtonsSection(buttons, {
|
|
10234
|
+
buttonClassName: 'basis-0',
|
|
10235
|
+
}), image?.src ? jsx(Img, { image: image }) : null] }, String(i)));
|
|
10236
|
+
const renderLabel = (label) => label ? (jsx("div", { children: jsx(Text, { size: "text-h6", children: label }) })) : null;
|
|
10237
|
+
const renderDescription$1 = (description) => description ? (jsx("div", { className: "text-l font-light", children: jsx(Text, { color: "text-secondary-text", children: description }) })) : null;
|
|
10238
|
+
const renderRich = ({ __html, isDotted }) => __html ? (jsx("div", { className: "flex flex-col justify-between items-start text-h6", children: jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-m" }) })) : null;
|
|
10239
|
+
|
|
10240
|
+
const TariffsTableCell = JSX(({ cells, tableInner, onSetTable }) => {
|
|
10241
|
+
return (jsx("div", { className: "w-80 flex-grow flex flex-col gap-lg", role: "cell", children: cells?.length
|
|
10242
|
+
? cells.map((_, i) => {
|
|
10243
|
+
if (_?.tableSource?.tableData) {
|
|
10244
|
+
return (jsx(TableInnerButton, { className: "w-fit", isOpen: Boolean(tableInner), onClick: () => {
|
|
10245
|
+
onSetTable(tableInner ? undefined : { tableSource: _.tableSource });
|
|
10246
|
+
} }, String(i)));
|
|
10247
|
+
}
|
|
10248
|
+
return renderCell(_, i);
|
|
10249
|
+
})
|
|
10250
|
+
: null }));
|
|
10251
|
+
});
|
|
10702
10252
|
|
|
10703
10253
|
const sum = (list = []) => list.reduce((a, b) => a + b, 0);
|
|
10704
10254
|
|
|
@@ -10711,7 +10261,7 @@
|
|
|
10711
10261
|
}
|
|
10712
10262
|
const [headerColumn, ...columns] = rowData;
|
|
10713
10263
|
const columnsStyle = style('flex duration-1000 text-center', rowIdx !== 0 ? 'font-normal' : 'font-light');
|
|
10714
|
-
return (jsxs("div", { className: "flex border-main-divider border-b border-solid h-full", children: [headerColumn?.data ? (jsx("div", { className: "whitespace-pre-wrap sm:whitespace-normal w-48 sm:w-56 sm:min-w-56 py-lg pr-lg sm:pr-0", children: jsx(Text, { size: "text-xl", font: "font-light", children: headerColumn.data }) })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsStyle, style: {
|
|
10264
|
+
return (jsxs("div", { className: "flex border-main-divider border-b border-solid h-full", children: [headerColumn?.data ? (jsx("div", { className: "whitespace-pre-wrap sm:whitespace-normal w-48 min-w-48 sm:w-56 sm:min-w-56 py-lg pr-lg sm:pr-0", children: jsx(Text, { size: "text-xl", font: "font-light", children: headerColumn.data }) })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsStyle, style: {
|
|
10715
10265
|
transform: `translateX(-${getHorizontalShift(columns, activeColumnIndex)}px)`,
|
|
10716
10266
|
}, 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(Text, { size: "text-xl", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
|
|
10717
10267
|
};
|
|
@@ -10719,12 +10269,10 @@
|
|
|
10719
10269
|
|
|
10720
10270
|
const InnerTableBodyItem = JSX(({ rows }) => (jsx(SwipeListContainer, { visibleItemCount: 0, snapAlign: "snap-start", children: jsx("div", { children: rows?.map(renderInnerTableRow(0)) }) })));
|
|
10721
10271
|
|
|
10722
|
-
const InnerTableBody = JSX(({ activeTabIndex, items }) => {
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
}) }));
|
|
10727
|
-
});
|
|
10272
|
+
const InnerTableBody = JSX(({ activeTabIndex, items }) => (jsx("div", { children: items.map((_, tableIdx) => {
|
|
10273
|
+
const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
|
|
10274
|
+
return (jsxs("div", { className: "w-full @container", children: [jsx("div", { className: "flex py-m px-m bg-white @4xl:bg-gray relative", children: jsx(Text, { size: "text-xl", align: "text-left", children: _.title }) }), jsx("div", { className: "w-full sm:pl-xs overflow-hidden transition-height duration-500 ease-in-out", children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
|
|
10275
|
+
}) })));
|
|
10728
10276
|
|
|
10729
10277
|
const linkButtonVersion = 'link';
|
|
10730
10278
|
|
|
@@ -10734,68 +10282,44 @@
|
|
|
10734
10282
|
}), onClick: () => setActiveTabIndex(idx), children: jsx(Text, { size: "text-xl", font: "font-light", color: TableColor(idx === activeTabIndex), children: currency || idx + 1 }) }, currency))) })) : null, linkToPDF ? (jsx(LinkButton, { 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] })));
|
|
10735
10283
|
|
|
10736
10284
|
const EMPTY_DATA$1 = 'Данных нет';
|
|
10737
|
-
const InnerTable = UniBlock(({ tableSource
|
|
10285
|
+
const InnerTable = UniBlock(({ tableSource }) => {
|
|
10738
10286
|
const tableData = tableSource?.tableData;
|
|
10739
10287
|
const [activeTabIndex, setActiveTabIndex] = useState(0);
|
|
10740
10288
|
const handleActiveTabIndex = useCallback((_) => setActiveTabIndex(_), []);
|
|
10741
10289
|
const items = tableData?.[activeTabIndex]?.items ?? [];
|
|
10742
10290
|
const currencies = tableData?.map((item) => item.currency ?? '');
|
|
10743
|
-
return tableData ? (jsxs("div", { className: "bg-white z-10", children: [jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex
|
|
10291
|
+
return tableData ? (jsxs("div", { className: "bg-white z-10", children: [jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex }), jsx(InnerTableBody, { activeTabIndex: activeTabIndex, items: items })] })) : (jsx("div", { className: "space-y-m text-center", children: jsx(Text, { size: "text-h6", children: EMPTY_DATA$1 }) }));
|
|
10744
10292
|
});
|
|
10745
10293
|
|
|
10746
|
-
const
|
|
10294
|
+
const DIVIDER_STYLE = 'border-main-divider lg:border-b w-full py-s lg:py-xl';
|
|
10295
|
+
const TariffsTableRowContainer = JSX(({ children, tableInner, onClick }) => (jsxs("div", { className: style('self-start flex flex-col gap-xl', DIVIDER_STYLE), role: "row", children: [jsx("div", { className: style('flex flex-col lg:flex-row gap-x-5xl gap-y-xs'), children: children }), tableInner ? (jsx("div", { className: "origin-top animate-expansion", children: jsx(InnerTable, { ...tableInner, onClick: onClick }) })) : null] })));
|
|
10747
10296
|
|
|
10748
|
-
const TariffsTableRow = JSX(({ row: { header, data
|
|
10297
|
+
const TariffsTableRow = JSX(({ row: { header, data = [] }, ...rest }) => {
|
|
10749
10298
|
const [tableInner, setTableInner] = useState(undefined);
|
|
10750
|
-
const handleSetTableInner = useCallback((_) =>
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: style('text-s', firstCellStyle), children: jsxs("div", { className: "flex gap-m items-center", role: "cell", children: [header?.icon ? (jsx(Img, { className: "hidden @4xl:block max-w-6 shrink-0", image: header.icon, width: "24", height: "24" })) : null, header?.title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: header?.title })) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
|
|
10299
|
+
const handleSetTableInner = useCallback((_) => {
|
|
10300
|
+
setTableInner(_);
|
|
10301
|
+
}, []);
|
|
10302
|
+
return (jsxs(TariffsTableRowContainer, { tableInner: tableInner, ...rest, children: [renderHeader(header), data?.length ? (jsx(TableCarouselContainer, { version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, onSetTable: handleSetTableInner, tableInner: tableInner, ...rest }, String(i)))) })) : null] }));
|
|
10755
10303
|
});
|
|
10756
10304
|
|
|
10757
|
-
|
|
10758
|
-
const renderArrows = ({ className, btnClass, canDec, canInc, dec, inc, }) => canDec || canInc ? (jsxs("div", { children: [canDec ? (jsx(ArrowLeftButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[0], className), onClick: dec })) : null, canInc ? (jsx(ArrowRightButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[1], className), onClick: inc })) : null] })) : null;
|
|
10759
|
-
|
|
10760
|
-
const TariffsTableWrapper = JSX(({ children, controls }) => {
|
|
10761
|
-
const { isScrollAvailable } = controls;
|
|
10762
|
-
return (jsxs("div", { role: "table", className: "overflow-x-auto w-auto grid md:block", children: [jsxs("div", { className: "relative space-y-xs", children: [children, renderArrows({
|
|
10763
|
-
...controls,
|
|
10764
|
-
btnClass: ['top-28', 'top-11'],
|
|
10765
|
-
className: 'right-7',
|
|
10766
|
-
})] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-20 bg-opacity-to-white" })) : null] }));
|
|
10767
|
-
});
|
|
10305
|
+
const TariffsTableWrapper = JSX(({ children }) => (jsx("div", { role: "table", className: "overflow-x-auto w-auto grid relative gap-y-xs", children: children })));
|
|
10768
10306
|
|
|
10769
|
-
const TariffsTable =
|
|
10307
|
+
const TariffsTable = UniBlock(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
|
|
10770
10308
|
const colData = columns?.map(({ data }) => data) || [];
|
|
10771
10309
|
const rowData = rowHeaders?.map((header, i) => ({
|
|
10772
10310
|
header,
|
|
10773
10311
|
data: colData.map((col) => col?.[i] || []),
|
|
10774
10312
|
}));
|
|
10775
|
-
const
|
|
10776
|
-
const [activeIndex, controls] = useCarouselControls({
|
|
10777
|
-
itemCount: itemCount,
|
|
10778
|
-
visibleItemCount: COLS_LENGTH_FOR_SCROLL,
|
|
10779
|
-
});
|
|
10780
|
-
const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
|
|
10313
|
+
const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, ...rest }, String(i))));
|
|
10781
10314
|
const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
|
|
10782
10315
|
const [isUnfolded, { toggle }] = useBool(false);
|
|
10783
|
-
return (jsxs(BlockWrapper, { className: style('relative space-y-
|
|
10316
|
+
return (jsxs(BlockWrapper, { className: style('relative space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-center" }), jsx("div", { className: "space-y-m overflow-hidden", children: hiddenRowsNum > 0 ? (jsxs(Foldable, { children: [jsxs(TariffsTableWrapper, { children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] }), jsx(DefaultFoldButton, { className: "text-h4", isUnfolded: isUnfolded, onClick: toggle })] })) : (jsx(TariffsTableWrapper, { children: rows })) })] }));
|
|
10784
10317
|
});
|
|
10785
10318
|
|
|
10786
10319
|
const TextBlock = JSX(({ className = '', title, description, iconVersion, __html, richVersion, ...rest }) => (jsxs(BlockWrapper, { className: style('flex gap-s sm:gap-m group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? renderIcon() : null, jsxs("div", { className: "flex flex-col w-fit gap-2xs sm:gap-xs", children: [title ? (jsx(Text, { size: "text-l", font: "font-normal", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, __html ? jsx(RichText, { richVersion: richVersion, __html: __html }) : null] })] })));
|
|
10787
10320
|
const renderIcon = () => (jsx("div", { className: "rounded-full h-4 w-4 text-center text-xs font-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main", children: "i" }));
|
|
10788
10321
|
const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text group-data-secondary:text-white", children: description }));
|
|
10789
10322
|
|
|
10790
|
-
const Unit = JSX(({ prefix, unit, suffix }) => (jsxs("div", { className: "w-full flex items-end", children: [prefix ? (jsx("div", { className: "gradient-color-text", children: jsx(Text, { size: "text-h2", children: prefix }) })) : null, unit ? (
|
|
10791
|
-
// -mb-n добавлен для выравнивания unit относительно prefix и suffix, тк шрифт font-mohave неправильно высчитывает line-height
|
|
10792
|
-
jsx("div", { className: "-mb-6 @xl:-mb-4", children: jsx("span", { className: "font-mohave text-title-large sm:text-title-extra gradient-color-text", children: unit }) })) : null, suffix ? (jsx("div", { className: "gradient-color-text", children: jsx(Text, { size: "text-h2", children: suffix }) })) : null] })));
|
|
10793
|
-
|
|
10794
|
-
const UnitBlock = JSX((props) => {
|
|
10795
|
-
const { prefix, unit, suffix, ...rest } = props;
|
|
10796
|
-
return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(Unit, { prefix: prefix, unit: unit, suffix: suffix }) }));
|
|
10797
|
-
});
|
|
10798
|
-
|
|
10799
10323
|
const Blocks = {
|
|
10800
10324
|
AdTile,
|
|
10801
10325
|
ApplicationForm,
|
|
@@ -10810,15 +10334,11 @@
|
|
|
10810
10334
|
CalculatorRefinancing,
|
|
10811
10335
|
CardTransfer,
|
|
10812
10336
|
Carousel,
|
|
10813
|
-
CarouselCard,
|
|
10814
10337
|
CarouselCatalogCard,
|
|
10815
|
-
CarouselLinks,
|
|
10816
10338
|
CarouselRecommendationCard,
|
|
10817
10339
|
CarouselTariffsCard,
|
|
10818
10340
|
DepositFiltration,
|
|
10819
|
-
Depository,
|
|
10820
10341
|
ErrorBlock,
|
|
10821
|
-
ExchangeRateTile,
|
|
10822
10342
|
Footer,
|
|
10823
10343
|
GalleryLayout,
|
|
10824
10344
|
GrantSupport,
|
|
@@ -10828,21 +10348,15 @@
|
|
|
10828
10348
|
ImgBlock,
|
|
10829
10349
|
LinkDocs,
|
|
10830
10350
|
MobileAppTile,
|
|
10831
|
-
MortgageFiltration,
|
|
10832
10351
|
OfficesAtmsMap,
|
|
10833
|
-
Placeholder,
|
|
10834
10352
|
ProductBlock,
|
|
10835
|
-
ProductGallery,
|
|
10836
|
-
RepresentativeOfficeInfo,
|
|
10837
10353
|
RichTextBlock,
|
|
10838
10354
|
RollupItem,
|
|
10839
|
-
SafeDepositRental,
|
|
10840
10355
|
StepsBlock,
|
|
10841
10356
|
StickyBottomMenu,
|
|
10842
10357
|
TabsLayout,
|
|
10843
10358
|
TariffsTable,
|
|
10844
10359
|
TextBlock,
|
|
10845
|
-
UnitBlock,
|
|
10846
10360
|
VerticalLayout,
|
|
10847
10361
|
ApplicationLeadForm,
|
|
10848
10362
|
CreditCardForm,
|
|
@@ -10968,7 +10482,7 @@
|
|
|
10968
10482
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
10969
10483
|
});
|
|
10970
10484
|
|
|
10971
|
-
const packageVersion = "0.
|
|
10485
|
+
const packageVersion = "0.14.856";
|
|
10972
10486
|
|
|
10973
10487
|
exports.Blocks = Blocks;
|
|
10974
10488
|
exports.ContentPage = ContentPage;
|