@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
package/bundle/bundle.umd.js
CHANGED
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isEmbedded = false, isTheme = false, ...rest }) => {
|
|
138
138
|
const versionStyle = headlineVersionStyles[headlineVersion];
|
|
139
139
|
const descriptionStyle = { marginTop: versionStyle.descriptionStyle };
|
|
140
|
-
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-
|
|
140
|
+
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] }));
|
|
141
141
|
});
|
|
142
142
|
|
|
143
143
|
const DEFAULT_SLOT_NAME = null;
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
|
|
147
147
|
const DEFAULT_ANCESTORS = [];
|
|
148
148
|
const defaultStyle$2 = 'col-span-12';
|
|
149
|
-
function renderBlock
|
|
149
|
+
function renderBlock(block, options, { className, ...extraProps } = {}) {
|
|
150
150
|
const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, } = options;
|
|
151
151
|
const { type } = block;
|
|
152
152
|
if (!(type && type in blocksRegistry)) {
|
|
@@ -166,9 +166,9 @@
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
const EMPTY_ANCESTORS = [];
|
|
169
|
-
const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock
|
|
169
|
+
const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock, ...options }) => {
|
|
170
170
|
const renderChildBlock = extraProps
|
|
171
|
-
? (childBlock, childOptions) => renderBlock
|
|
171
|
+
? (childBlock, childOptions) => renderBlock(childBlock, childOptions, extraProps)
|
|
172
172
|
: renderProps;
|
|
173
173
|
return (blocks || []).map((_, i) => renderChildBlock(_, {
|
|
174
174
|
...options,
|
|
@@ -473,8 +473,12 @@
|
|
|
473
473
|
|
|
474
474
|
const useDialogManager = () => useEmitterWithActions(defaultEventBus.emitter, 'dialog');
|
|
475
475
|
|
|
476
|
-
const
|
|
476
|
+
const FORWARD_SLASH = '/';
|
|
477
|
+
const adjustBase = (href = FORWARD_SLASH, basePath = FORWARD_SLASH) => [href, basePath].some((_) => _ === FORWARD_SLASH)
|
|
478
|
+
? href
|
|
479
|
+
: href.replace(basePath, '') || FORWARD_SLASH;
|
|
477
480
|
|
|
481
|
+
const RESERVED_PREFIX = ['/api'];
|
|
478
482
|
function useLink() {
|
|
479
483
|
const router = useRouter();
|
|
480
484
|
const { closeAll } = useDialogManager();
|
|
@@ -497,7 +501,7 @@
|
|
|
497
501
|
};
|
|
498
502
|
}
|
|
499
503
|
const isClientRouting = (href, target, basePath) => isLocalURL(href, target) &&
|
|
500
|
-
!env.SUB_PORTALS?.split(',')
|
|
504
|
+
![...RESERVED_PREFIX, ...(env.SUB_PORTALS?.split(',') ?? [])].some(hasPrefix(href)) &&
|
|
501
505
|
hasPrefix(href)(basePath || '/');
|
|
502
506
|
|
|
503
507
|
const getAspectsAttributes = (data) => {
|
|
@@ -513,7 +517,7 @@
|
|
|
513
517
|
const ButtonInner = JSX((props) => {
|
|
514
518
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
515
519
|
const iconHideStyle = isWithText(props) && 'hidden lg:block';
|
|
516
|
-
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
|
|
520
|
+
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] }));
|
|
517
521
|
});
|
|
518
522
|
const buttonStyle$1 = (props) => {
|
|
519
523
|
const { version, aboveText, rounded } = props;
|
|
@@ -632,7 +636,7 @@
|
|
|
632
636
|
imageAlign,
|
|
633
637
|
}), buttons ? jsx("div", { className: "self-end", children: buttons }) : null] })] })] }));
|
|
634
638
|
});
|
|
635
|
-
const renderMiddleContent = (insetTitle, children) => insetTitle || children ? (jsxs("div", { className: "grow space-y-lg
|
|
639
|
+
const renderMiddleContent = (insetTitle, children) => insetTitle || children ? (jsxs("div", { className: "grow space-y-lg w-fit", children: [insetTitle, children] })) : null;
|
|
636
640
|
const imageAlwaysOnRightContainerStyle = (isImage) => style(isImage ? 'row-span-2' : '@xl:row-span-2');
|
|
637
641
|
const renderUnitContainer = (childrenBlocks) => childrenBlocks?.length ? (jsx("div", { className: "flex items-start justify-end", children: childrenBlocks })) : null;
|
|
638
642
|
|
|
@@ -751,10 +755,10 @@
|
|
|
751
755
|
const and = (a, b) => (...args) => a(...args) && b(...args);
|
|
752
756
|
|
|
753
757
|
const table = (...table) => (...input) => {
|
|
754
|
-
const [, unit] = assertNonEmpty
|
|
758
|
+
const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(...input)));
|
|
755
759
|
return unit(...input);
|
|
756
760
|
};
|
|
757
|
-
function assertNonEmpty
|
|
761
|
+
function assertNonEmpty(value) {
|
|
758
762
|
if (!value) {
|
|
759
763
|
throw new Error('Value should be fulfilled');
|
|
760
764
|
}
|
|
@@ -973,7 +977,7 @@
|
|
|
973
977
|
return OutputComponent;
|
|
974
978
|
}
|
|
975
979
|
|
|
976
|
-
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 }) }))
|
|
980
|
+
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 }) })));
|
|
977
981
|
|
|
978
982
|
const AdTile = JSX((props) => {
|
|
979
983
|
const { items } = (props.options?.page?.adSourceBook ?? {});
|
|
@@ -1057,9 +1061,12 @@
|
|
|
1057
1061
|
: { secondaryPhoneNumber: formatPhone(secondaryPhone) };
|
|
1058
1062
|
};
|
|
1059
1063
|
|
|
1060
|
-
const handleAspects = ({ aspectsAttributes, aspects, ev }) => {
|
|
1064
|
+
const handleAspects = async ({ aspectsAttributes, aspects, ev }) => {
|
|
1061
1065
|
for (const { aspectName, params } of aspectsAttributes ?? []) {
|
|
1062
|
-
aspects[aspectName ?? '']
|
|
1066
|
+
const aspectFn = aspects[aspectName ?? ''];
|
|
1067
|
+
if (aspectFn) {
|
|
1068
|
+
await aspectFn(ev, params);
|
|
1069
|
+
}
|
|
1063
1070
|
}
|
|
1064
1071
|
};
|
|
1065
1072
|
|
|
@@ -1102,7 +1109,7 @@
|
|
|
1102
1109
|
return url.toString();
|
|
1103
1110
|
};
|
|
1104
1111
|
|
|
1105
|
-
const forwardQuery = (ev) => {
|
|
1112
|
+
const forwardQuery = async (ev) => {
|
|
1106
1113
|
const anchor = ev.target?.closest('a');
|
|
1107
1114
|
const navigator = locationNavigator();
|
|
1108
1115
|
if (isURL(anchor?.href) && !anchor?.href?.startsWith(navigator.origin)) {
|
|
@@ -1272,7 +1279,7 @@
|
|
|
1272
1279
|
|
|
1273
1280
|
const getValidStyle = (valid) => (valid ? inputValidStyle : 'border-error');
|
|
1274
1281
|
|
|
1275
|
-
const renderLabel = (label) => label ? (jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label })) : null;
|
|
1282
|
+
const renderLabel$1 = (label) => label ? (jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label })) : null;
|
|
1276
1283
|
|
|
1277
1284
|
const Input = JSX(
|
|
1278
1285
|
// eslint-disable-next-line max-lines-per-function
|
|
@@ -1290,26 +1297,30 @@
|
|
|
1290
1297
|
const paddingStyle = children ? 'pr-3xl' : '';
|
|
1291
1298
|
const validStyle = getValidStyle(valid);
|
|
1292
1299
|
const ariaLabel = label ?? name ?? id;
|
|
1293
|
-
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] }));
|
|
1300
|
+
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] }));
|
|
1294
1301
|
});
|
|
1295
1302
|
const defaultStyle$1 = 'w-full border rounded-md text-primary-text outline-none p-m';
|
|
1296
1303
|
|
|
1297
1304
|
const renderErrorText = (error) => (jsx("div", { className: "h-6", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
|
|
1298
1305
|
|
|
1299
|
-
const
|
|
1300
|
-
const
|
|
1301
|
-
const popupRef = useOutsideClick(close);
|
|
1306
|
+
const InputWrapper = JSX(({ className, label, value = '', error, errors, type, isInteger, placeholder, maxLength, inputRef, isOpen, onOpen, onClose, onChange = noop, ...rest }) => {
|
|
1307
|
+
const popupRef = useOutsideClick(onClose);
|
|
1302
1308
|
const handleChange = useCallback((v) => {
|
|
1303
|
-
|
|
1304
|
-
|
|
1309
|
+
const isOverMax = maxLength && v.length > maxLength;
|
|
1310
|
+
!isOpen && onOpen();
|
|
1311
|
+
if (!isOverMax) {
|
|
1312
|
+
onChange(normalizeInteger(v, isInteger));
|
|
1313
|
+
}
|
|
1305
1314
|
}, [isOpen, onChange]);
|
|
1306
|
-
|
|
1307
|
-
isInteger && value ? onChange(normalizeInteger$1(value)) : null;
|
|
1308
|
-
}, [value]);
|
|
1309
|
-
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)] }));
|
|
1315
|
+
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)] }));
|
|
1310
1316
|
});
|
|
1311
|
-
const normalizeInteger
|
|
1312
|
-
const getPlaceholder
|
|
1317
|
+
const normalizeInteger = (val = '', isInteger = false) => isInteger && val ? val.replace(/[^\d]+/g, '') : val;
|
|
1318
|
+
const getPlaceholder = ({ placeholder, errors, label }) => errors && !label ? `${placeholder}*` : placeholder;
|
|
1319
|
+
|
|
1320
|
+
const InputControl = JSX((props) => {
|
|
1321
|
+
const [isOpen, { setFalse: close, setTrue: open }] = useBool();
|
|
1322
|
+
return jsx(InputWrapper, { isOpen: isOpen, onOpen: open, onClose: close, ...props });
|
|
1323
|
+
});
|
|
1313
1324
|
|
|
1314
1325
|
const formatOption = (_) => _?.text || _?.key || '';
|
|
1315
1326
|
|
|
@@ -1383,7 +1394,7 @@
|
|
|
1383
1394
|
onClose: handleClose,
|
|
1384
1395
|
iconVersion,
|
|
1385
1396
|
});
|
|
1386
|
-
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$1(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] })] }));
|
|
1397
|
+
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$1(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] })] }));
|
|
1387
1398
|
});
|
|
1388
1399
|
const renderIcon$1 = (isOpen, iconVersion) => (jsx(Icon, { className: style('absolute right-0 flex self-center', { 'rotate-180': !isOpen }), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
|
|
1389
1400
|
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');
|
|
@@ -1483,14 +1494,14 @@
|
|
|
1483
1494
|
}
|
|
1484
1495
|
|
|
1485
1496
|
const BRANCHES_URL = `${API_BASE_URI$1}/branches`;
|
|
1486
|
-
const EMPTY_VALUE$
|
|
1497
|
+
const EMPTY_VALUE$2 = [];
|
|
1487
1498
|
function useBranches(regionCode) {
|
|
1488
|
-
const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes
|
|
1489
|
-
return data || EMPTY_VALUE$
|
|
1499
|
+
const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
|
|
1500
|
+
return data || EMPTY_VALUE$2;
|
|
1490
1501
|
}
|
|
1491
|
-
const fetchSafeBoxes
|
|
1502
|
+
const fetchSafeBoxes = async (url) => {
|
|
1492
1503
|
const result = await fetchJSON(url, { method: 'GET' });
|
|
1493
|
-
return result || EMPTY_VALUE$
|
|
1504
|
+
return result || EMPTY_VALUE$2;
|
|
1494
1505
|
};
|
|
1495
1506
|
|
|
1496
1507
|
const REGIONS_URL$1 = '/branchesByRegions';
|
|
@@ -1574,7 +1585,7 @@
|
|
|
1574
1585
|
const handleChange = useCallback((ev) => {
|
|
1575
1586
|
onChange && onChange(parseDecimal(ev.target?.value));
|
|
1576
1587
|
}, [onChange]);
|
|
1577
|
-
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
|
|
1588
|
+
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)] }));
|
|
1578
1589
|
});
|
|
1579
1590
|
const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
|
|
1580
1591
|
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)))) }));
|
|
@@ -1878,7 +1889,7 @@
|
|
|
1878
1889
|
value,
|
|
1879
1890
|
});
|
|
1880
1891
|
const spaceAbove = useElementSpace(ref, 370);
|
|
1881
|
-
return (jsxs("div", { className: style('space-y-xs', className), ref: ref, children: [renderLabel(label), jsxs("div", { className: "relative", children: [renderDatePickerForm({
|
|
1892
|
+
return (jsxs("div", { className: style('space-y-xs', className), ref: ref, children: [renderLabel$1(label), jsxs("div", { className: "relative", children: [renderDatePickerForm({
|
|
1882
1893
|
handleChangeVisibleCalendar,
|
|
1883
1894
|
value,
|
|
1884
1895
|
valid,
|
|
@@ -2067,7 +2078,7 @@
|
|
|
2067
2078
|
};
|
|
2068
2079
|
};
|
|
2069
2080
|
|
|
2070
|
-
const cyrillicPattern = /^[
|
|
2081
|
+
const cyrillicPattern = /^[а-яё-]*$/i;
|
|
2071
2082
|
const isCyrillic = (_ = '') => cyrillicPattern.test(_);
|
|
2072
2083
|
|
|
2073
2084
|
const required = validator((_) => _ !== null && _ !== undefined && _ !== '');
|
|
@@ -2102,7 +2113,7 @@
|
|
|
2102
2113
|
sufferedFrom: defaultValidator(),
|
|
2103
2114
|
applierType: defaultValidator(),
|
|
2104
2115
|
surname: nameValidator('Укажите свою фамилию на кириллице'),
|
|
2105
|
-
name: nameValidator('Укажите своё имя на кириллице'),
|
|
2116
|
+
name: nameValidator('Укажите своё имя на кириллице (без сокращений)'),
|
|
2106
2117
|
middleName: nameValidator('Укажите своё отчество на кириллице'),
|
|
2107
2118
|
birthday: defaultValidator('Укажите дату рождения'),
|
|
2108
2119
|
phone: phoneValidator('Укажите номер телефона'),
|
|
@@ -2459,6 +2470,7 @@
|
|
|
2459
2470
|
return false;
|
|
2460
2471
|
})('Укажите дату выдачи паспорта');
|
|
2461
2472
|
const deliveryDateValidator = (errorMsg) => validator((_) => _?.getTime() >= new Date().getTime())(errorMsg);
|
|
2473
|
+
const notLaterDateValidator = (errorMsg) => validator((_) => _?.getTime() <= new Date().getTime())(errorMsg);
|
|
2462
2474
|
const numberValidator = (errorMsg) => validator((_) => typeof _ === 'string' && _.length === 6)(errorMsg);
|
|
2463
2475
|
const serieValidator = (errorMsg) => validator((_) => typeof _ === 'string' && _.length === 4)(errorMsg);
|
|
2464
2476
|
const snilsValidate = (snils) => {
|
|
@@ -2525,7 +2537,7 @@
|
|
|
2525
2537
|
lastJobExperience: jobNumberValidator('Укажите стаж на последнем месте работы'),
|
|
2526
2538
|
experience5Years: jobNumberValidator('Укажите общий стаж за последние 5 лет'),
|
|
2527
2539
|
jobsNumber: jobNumberValidator('Укажите количество мест работы за последние 5 лет'),
|
|
2528
|
-
beginDate:
|
|
2540
|
+
beginDate: notLaterDateValidator('Укажите дату заключения трудового договора'),
|
|
2529
2541
|
addressFact: addressDaDataValidator(),
|
|
2530
2542
|
addressRegistration: addressDaDataValidator(),
|
|
2531
2543
|
addressRetail: defaultSelectValidator('Выберите адрес банка'),
|
|
@@ -2552,7 +2564,7 @@
|
|
|
2552
2564
|
dulNumber: numberValidator('Укажите номер паспорта'),
|
|
2553
2565
|
dulSubdivisionCode: numberValidator('Укажите код подразделения'),
|
|
2554
2566
|
dulIssuedBy: defaultValidator('Укажите организацию, выдавшую паспорт'),
|
|
2555
|
-
participantDateRegistration:
|
|
2567
|
+
participantDateRegistration: notLaterDateValidator('Укажите дату регистрации'),
|
|
2556
2568
|
retirementIncome: defaultValidator(),
|
|
2557
2569
|
otherIncome: defaultValidator(),
|
|
2558
2570
|
wages: defaultValidator(),
|
|
@@ -2617,10 +2629,6 @@
|
|
|
2617
2629
|
text: 'Согласие на получение информационных материалов',
|
|
2618
2630
|
docId: 18,
|
|
2619
2631
|
},
|
|
2620
|
-
consentPhotoFlg: {
|
|
2621
|
-
text: 'Согласие на фотографирование',
|
|
2622
|
-
docId: 17,
|
|
2623
|
-
},
|
|
2624
2632
|
};
|
|
2625
2633
|
const DEBIT_CARD_CONSENTS = {
|
|
2626
2634
|
processPersonalDataFlg: {
|
|
@@ -2659,7 +2667,6 @@
|
|
|
2659
2667
|
{ name: 'consentInformFlg' },
|
|
2660
2668
|
{ name: 'consentPfrFlg' },
|
|
2661
2669
|
{ name: 'consentInformMaterialsFlg' },
|
|
2662
|
-
{ name: 'consentPhotoFlg' },
|
|
2663
2670
|
{ name: 'consentFATCA', required: true },
|
|
2664
2671
|
];
|
|
2665
2672
|
return [
|
|
@@ -2680,6 +2687,13 @@
|
|
|
2680
2687
|
];
|
|
2681
2688
|
};
|
|
2682
2689
|
|
|
2690
|
+
var EsiaStatuses;
|
|
2691
|
+
(function (EsiaStatuses) {
|
|
2692
|
+
EsiaStatuses["Success"] = "SUCCESS";
|
|
2693
|
+
EsiaStatuses["Error"] = "ERROR";
|
|
2694
|
+
EsiaStatuses["Pending"] = "PENDING";
|
|
2695
|
+
})(EsiaStatuses || (EsiaStatuses = {}));
|
|
2696
|
+
|
|
2683
2697
|
const getTraceId = () => {
|
|
2684
2698
|
const result = new Uint8Array(8);
|
|
2685
2699
|
globalThis.crypto.getRandomValues(result);
|
|
@@ -2718,14 +2732,19 @@
|
|
|
2718
2732
|
|
|
2719
2733
|
const getLink = (body) => fetchRetailJSON('/esia/getLink', 'POST', body);
|
|
2720
2734
|
|
|
2721
|
-
const EsiaLoginBanner = JSX(() => {
|
|
2735
|
+
const EsiaLoginBanner = JSX(({ onChangeEsiaStatus }) => {
|
|
2722
2736
|
const navigator = locationNavigator();
|
|
2723
2737
|
const handleAuth = useCallback(async () => {
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2738
|
+
try {
|
|
2739
|
+
const resp = await getLink({
|
|
2740
|
+
redirectUri: globalThis.location.origin + globalThis.location.pathname,
|
|
2741
|
+
});
|
|
2742
|
+
if (resp?.link) {
|
|
2743
|
+
navigator.assign(resp.link);
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2746
|
+
catch {
|
|
2747
|
+
onChangeEsiaStatus(EsiaStatuses.Error);
|
|
2729
2748
|
}
|
|
2730
2749
|
}, []);
|
|
2731
2750
|
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" })] }));
|
|
@@ -2923,16 +2942,8 @@
|
|
|
2923
2942
|
return inputRef;
|
|
2924
2943
|
}
|
|
2925
2944
|
|
|
2926
|
-
const DaDataInputControl = JSX(({
|
|
2945
|
+
const DaDataInputControl = JSX(({ value = '', onChange = noop, onDaDataChange, name = '', daDataQueryPrefix, dadata = false, ...rest }) => {
|
|
2927
2946
|
const [isOpen, { setFalse: close, setTrue: open }] = useBool();
|
|
2928
|
-
const popupRef = useOutsideClick(close);
|
|
2929
|
-
const handleChange = useCallback((v) => {
|
|
2930
|
-
dadata && !isOpen && open();
|
|
2931
|
-
maxLength ? v.length <= maxLength && onChange(v) : onChange(v);
|
|
2932
|
-
}, [isOpen, onChange]);
|
|
2933
|
-
useEffect(() => {
|
|
2934
|
-
isInteger && value && onChange(normalizeInteger(value));
|
|
2935
|
-
}, [value]);
|
|
2936
2947
|
const inputRef = useInputPopup({
|
|
2937
2948
|
isOpen: isOpen && dadata,
|
|
2938
2949
|
name,
|
|
@@ -2941,10 +2952,8 @@
|
|
|
2941
2952
|
onChange,
|
|
2942
2953
|
onDaDataChange,
|
|
2943
2954
|
});
|
|
2944
|
-
return (
|
|
2945
|
-
});
|
|
2946
|
-
const normalizeInteger = (val = '') => val.replace(/[^\d]+/g, '');
|
|
2947
|
-
const getPlaceholder = (placeholder, errors, label) => errors && !label ? `${placeholder}*` : placeholder;
|
|
2955
|
+
return (jsx(InputWrapper, { value: value, onChange: onChange, inputRef: inputRef, isOpen: isOpen, onOpen: open, onClose: close, ...rest }));
|
|
2956
|
+
});
|
|
2948
2957
|
|
|
2949
2958
|
const AddressField = JSX(({ field, input }) => {
|
|
2950
2959
|
const fieldName = input?.name || 'addressRegistration';
|
|
@@ -3503,16 +3512,6 @@
|
|
|
3503
3512
|
});
|
|
3504
3513
|
}
|
|
3505
3514
|
};
|
|
3506
|
-
const initializeExternalStylesheet = (url = '') => {
|
|
3507
|
-
const link = globalThis.document.getElementById(url);
|
|
3508
|
-
if (!link) {
|
|
3509
|
-
const newLink = globalThis.document.createElement('link');
|
|
3510
|
-
newLink.href = url;
|
|
3511
|
-
newLink.id = url;
|
|
3512
|
-
newLink.rel = 'stylesheet';
|
|
3513
|
-
globalThis.document.head.appendChild(newLink);
|
|
3514
|
-
}
|
|
3515
|
-
};
|
|
3516
3515
|
function useExternalNS(namespaceName, url, unmountNS = true) {
|
|
3517
3516
|
const [externalNS, setExternalNS] = useState(undefined);
|
|
3518
3517
|
useEffect(() => {
|
|
@@ -3846,7 +3845,7 @@
|
|
|
3846
3845
|
|
|
3847
3846
|
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 ?? '') })));
|
|
3848
3847
|
|
|
3849
|
-
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) })));
|
|
3848
|
+
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() })));
|
|
3850
3849
|
|
|
3851
3850
|
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) })));
|
|
3852
3851
|
|
|
@@ -3964,7 +3963,7 @@
|
|
|
3964
3963
|
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] })));
|
|
3965
3964
|
|
|
3966
3965
|
const CalculatorStyle = {
|
|
3967
|
-
wrapper: 'flex flex-col justify-between lg:flex-row gap-
|
|
3966
|
+
wrapper: 'flex flex-col justify-between lg:flex-row gap-4xl',
|
|
3968
3967
|
input: 'flex flex-col lg:w-1/2 gap-2xl',
|
|
3969
3968
|
result: 'flex flex-col gap-y-xl min-w-52',
|
|
3970
3969
|
};
|
|
@@ -4442,9 +4441,7 @@
|
|
|
4442
4441
|
updateOrganizationFields(store, field, item);
|
|
4443
4442
|
}, []);
|
|
4444
4443
|
useEffect(() => {
|
|
4445
|
-
if (!esiaAccountTypeCd ||
|
|
4446
|
-
!inn ||
|
|
4447
|
-
!(employerActivities && employerOrganization && organization && amountWorkers)) {
|
|
4444
|
+
if (!esiaAccountTypeCd || !inn || !isDictionariesAlreadyLoad(store)) {
|
|
4448
4445
|
return;
|
|
4449
4446
|
}
|
|
4450
4447
|
(async () => {
|
|
@@ -4455,7 +4452,16 @@
|
|
|
4455
4452
|
})();
|
|
4456
4453
|
}, [employerActivities, employerOrganization, organization, amountWorkers]);
|
|
4457
4454
|
return (jsx(DaDataInputControl, { label: "\u0418\u041D\u041D", isInteger: true, maxLength: 12, ...input, ...field(input?.name ?? ''), onDaDataChange: onDaDataChange, disabled: isEsiaAuthorize(field, input) }));
|
|
4458
|
-
});
|
|
4455
|
+
});
|
|
4456
|
+
const isDictionariesAlreadyLoad = (store) => {
|
|
4457
|
+
const { employerActivities, employerOrganization, organization, amountWorkers, productType } = store;
|
|
4458
|
+
return [
|
|
4459
|
+
employerOrganization,
|
|
4460
|
+
organization,
|
|
4461
|
+
amountWorkers,
|
|
4462
|
+
productType === 'creditCard' ? employerActivities : true,
|
|
4463
|
+
].every(Boolean);
|
|
4464
|
+
};
|
|
4459
4465
|
|
|
4460
4466
|
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() })));
|
|
4461
4467
|
|
|
@@ -4567,6 +4573,8 @@
|
|
|
4567
4573
|
|
|
4568
4574
|
const InfoCardField = JSX(({ input }) => (jsx(InfoCard, { __html: input?.label })));
|
|
4569
4575
|
|
|
4576
|
+
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 ?? '') })));
|
|
4577
|
+
|
|
4570
4578
|
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) })));
|
|
4571
4579
|
|
|
4572
4580
|
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) })));
|
|
@@ -4740,7 +4748,7 @@
|
|
|
4740
4748
|
|
|
4741
4749
|
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 })));
|
|
4742
4750
|
|
|
4743
|
-
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 ?? '') })));
|
|
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 ?? ''), maxDate: new Date() })));
|
|
4744
4752
|
|
|
4745
4753
|
const MAX_PART = 100;
|
|
4746
4754
|
const MIN_PART = 0;
|
|
@@ -4800,22 +4808,27 @@
|
|
|
4800
4808
|
};
|
|
4801
4809
|
|
|
4802
4810
|
const RegionRetailField = JSX(({ field, input }) => {
|
|
4811
|
+
const { programId, productType } = useRetailFormStore();
|
|
4803
4812
|
const { data: regions } = useLeadFormData('REGION_RF');
|
|
4804
4813
|
const { data: regionsDelivery } = useAsyncData('regionsDelivery', getRegionsCardDelivery);
|
|
4805
|
-
const {
|
|
4814
|
+
const { data: productSettings } = useLeadFormData(getCurrentProductSettings(productType));
|
|
4806
4815
|
const isSalaryCard = programId === '38';
|
|
4807
4816
|
const formatRegions = regions?.map(({ key, value }) => ({ key, text: value }));
|
|
4817
|
+
const isDeliveryActive = productSettings?.find((_) => _?.key === 'DELIVERY_ACTIVE')?.value === 'true';
|
|
4808
4818
|
const handleChangeRegion = field('regionRetail')?.onChange;
|
|
4809
4819
|
const handleChangeRegionHasDelivery = field('regionHasDelivery')?.onChange;
|
|
4810
4820
|
const handleChangeMethodObtain = field('methodObtain')?.onChange;
|
|
4811
4821
|
const onChange = useCallback((value) => {
|
|
4812
|
-
const regionHasDelivery =
|
|
4822
|
+
const regionHasDelivery = isDeliveryActive &&
|
|
4823
|
+
regionsDelivery?.find((_) => _.regionCode === value.key)?.deliveryFlg &&
|
|
4824
|
+
!isSalaryCard;
|
|
4813
4825
|
handleChangeRegionHasDelivery?.(regionHasDelivery);
|
|
4814
4826
|
handleChangeMethodObtain?.(regionHasDelivery ? 'courier' : 'office');
|
|
4815
4827
|
handleChangeRegion?.(value);
|
|
4816
|
-
}, [regionsDelivery]);
|
|
4828
|
+
}, [regionsDelivery, isDeliveryActive]);
|
|
4817
4829
|
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 }));
|
|
4818
|
-
});
|
|
4830
|
+
});
|
|
4831
|
+
const getCurrentProductSettings = (productType) => productType === 'debitCard' ? 'DEBIT_CARD_LEAD_PROCESS_SETTINGS' : 'CREDIT_LEAD_PROCESS_SETTINGS';
|
|
4819
4832
|
|
|
4820
4833
|
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 })));
|
|
4821
4834
|
|
|
@@ -4900,7 +4913,6 @@
|
|
|
4900
4913
|
consentInformFlg: ConsentField,
|
|
4901
4914
|
consentPfrFlg: ConsentField,
|
|
4902
4915
|
consentInformMaterialsFlg: ConsentField,
|
|
4903
|
-
consentPhotoFlg: ConsentField,
|
|
4904
4916
|
consentFATCA: ConsentField,
|
|
4905
4917
|
};
|
|
4906
4918
|
const InputsRetailMap = {
|
|
@@ -4947,6 +4959,7 @@
|
|
|
4947
4959
|
wages: WagesField,
|
|
4948
4960
|
mandatoryPayments: MandatoryPaymentsField,
|
|
4949
4961
|
bankruptcyFlg: BankruptcyFlgField,
|
|
4962
|
+
initiateBankruptcyFlg: InitiateBankruptcyFlgField,
|
|
4950
4963
|
shareholderFlg: ShareholderFlgField,
|
|
4951
4964
|
legalEntityName: LegalEntityNameField,
|
|
4952
4965
|
creditInRshbCd: CreditInRshbCdField,
|
|
@@ -5073,7 +5086,7 @@
|
|
|
5073
5086
|
.then((res) => res.text())
|
|
5074
5087
|
.then((text) => text === 'OK');
|
|
5075
5088
|
|
|
5076
|
-
const ICON_SIZE
|
|
5089
|
+
const ICON_SIZE = { width: '118', height: '24' };
|
|
5077
5090
|
|
|
5078
5091
|
const logoTitleSizeStyle = '';
|
|
5079
5092
|
|
|
@@ -5099,7 +5112,7 @@
|
|
|
5099
5112
|
'bg-white': 'text-primary-text',
|
|
5100
5113
|
transparent: 'text-white',
|
|
5101
5114
|
};
|
|
5102
|
-
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
|
|
5115
|
+
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
|
|
5103
5116
|
? children ?? (jsx("div", { className: "ml-s", children: jsx(Text, { font: "font-medium", color: TEXT_COLOR[bgColor], size: logoTitleSizeStyle, children: logo?.title ?? 'Россельхозбанк' }) }))
|
|
5104
5117
|
: null] })));
|
|
5105
5118
|
|
|
@@ -5130,7 +5143,7 @@
|
|
|
5130
5143
|
(async () => setCaptcha(URL.createObjectURL(await createCaptcha(phoneNumber))))();
|
|
5131
5144
|
}, []);
|
|
5132
5145
|
useEffect(handleCreateCaptcha, []);
|
|
5133
|
-
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
|
|
5146
|
+
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] }) }));
|
|
5134
5147
|
});
|
|
5135
5148
|
|
|
5136
5149
|
const InputCode = JSX(({ values, setValues, hasError, errorText }) => {
|
|
@@ -5173,9 +5186,7 @@
|
|
|
5173
5186
|
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`;
|
|
5174
5187
|
};
|
|
5175
5188
|
|
|
5176
|
-
const SubmitButton = JSX(({
|
|
5177
|
-
return (jsx(Button, { type: "button", onClick: onClick, disabled: isDisabled, children: jsx(Text, { font: "font-normal", children: text }) }));
|
|
5178
|
-
});
|
|
5189
|
+
const SubmitButton = JSX(({ disabled = false, onClick, text }) => (jsx(Button, { type: "button", onClick: onClick, disabled: disabled, children: jsx(Text, { font: "font-normal", children: text }) })));
|
|
5179
5190
|
|
|
5180
5191
|
const checkCode = async (body) => fetchRetailJSON('/sms/checkCode', 'POST', body).then(saveToken);
|
|
5181
5192
|
const saveToken = (data) => {
|
|
@@ -5256,8 +5267,8 @@
|
|
|
5256
5267
|
}, []);
|
|
5257
5268
|
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$1(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] }) }));
|
|
5258
5269
|
});
|
|
5259
|
-
const renderNextButton = (
|
|
5260
|
-
const renderText$1 = (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: "
|
|
5270
|
+
const renderNextButton = (disabled, onClick) => (jsx(SubmitButton, { text: "\u0414\u0430\u043B\u0435\u0435", disabled: disabled, onClick: onClick }));
|
|
5271
|
+
const renderText$1 = (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" }) }));
|
|
5261
5272
|
|
|
5262
5273
|
const defaultConsentText = {
|
|
5263
5274
|
title: 'Подпишите согласие на запрос в БКИ',
|
|
@@ -5267,7 +5278,7 @@
|
|
|
5267
5278
|
title: 'Вы уверены, что хотите отказаться от запроса в БКИ',
|
|
5268
5279
|
description: 'Согласие на запрос в Бюро кредитных историй (БКИ) повысит вероятность одобрения',
|
|
5269
5280
|
};
|
|
5270
|
-
const ITEMS
|
|
5281
|
+
const ITEMS = [
|
|
5271
5282
|
{ id: 'SIGNED', text: 'Подписать' },
|
|
5272
5283
|
{ id: 'REFUSE', text: 'Отказаться' },
|
|
5273
5284
|
];
|
|
@@ -5284,7 +5295,7 @@
|
|
|
5284
5295
|
setShowRefuseContent(value === 'REFUSE');
|
|
5285
5296
|
}, []);
|
|
5286
5297
|
const consentText = showRefuseContent ? refuseConsentText : defaultConsentText;
|
|
5287
|
-
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
|
|
5298
|
+
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" })] }) }));
|
|
5288
5299
|
});
|
|
5289
5300
|
|
|
5290
5301
|
const useConsentBkiDialog = (onClose) => {
|
|
@@ -5324,7 +5335,7 @@
|
|
|
5324
5335
|
};
|
|
5325
5336
|
};
|
|
5326
5337
|
|
|
5327
|
-
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] })] })));
|
|
5338
|
+
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] })] })));
|
|
5328
5339
|
|
|
5329
5340
|
const fieldsNamesToContactKeysMap = {
|
|
5330
5341
|
email: 'EMAIL',
|
|
@@ -5394,7 +5405,7 @@
|
|
|
5394
5405
|
}, []);
|
|
5395
5406
|
|
|
5396
5407
|
const getFamilyStatusAndIncomeData = (formData) => {
|
|
5397
|
-
const { familyStatus, familyMembers, dependents, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
|
|
5408
|
+
const { familyStatus, familyMembers, dependents, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, initiateBankruptcyFlg, } = formData;
|
|
5398
5409
|
return {
|
|
5399
5410
|
maritalStatusCd: familyStatus,
|
|
5400
5411
|
totalDependents: familyMembers,
|
|
@@ -5414,6 +5425,7 @@
|
|
|
5414
5425
|
}),
|
|
5415
5426
|
snils: snils?.replace(/[-\s]/g, ''),
|
|
5416
5427
|
armyIdFlg,
|
|
5428
|
+
initiateBankruptcyFlg,
|
|
5417
5429
|
};
|
|
5418
5430
|
};
|
|
5419
5431
|
const countIncomeAverage = (wages, retirementIncome) => (Number(wages ?? 0) + Number(retirementIncome ?? 0)).toString();
|
|
@@ -5594,7 +5606,7 @@
|
|
|
5594
5606
|
const handleGoToNewTask = useCallback(() => {
|
|
5595
5607
|
navigator.assign(isCredit ? '/natural/loans/all-goals' : '/natural/creditcards/svoya');
|
|
5596
5608
|
}, []);
|
|
5597
|
-
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
|
|
5609
|
+
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 })] })] }) }));
|
|
5598
5610
|
});
|
|
5599
5611
|
|
|
5600
5612
|
const EmptyDraftDialog = JSX(function ({ onClose = noop }) {
|
|
@@ -5854,19 +5866,19 @@
|
|
|
5854
5866
|
}
|
|
5855
5867
|
};
|
|
5856
5868
|
const transformConsentsFields = (formData, productType) => {
|
|
5857
|
-
const { consentOthersFlg, consentPfrFlg, processPersonalDataFlg, consentInformFlg, consentProviderFlg, consentInformMaterialsFlg,
|
|
5869
|
+
const { consentOthersFlg, consentPfrFlg, processPersonalDataFlg, consentInformFlg, consentProviderFlg, consentInformMaterialsFlg, consentFATCA, } = formData;
|
|
5858
5870
|
let consents;
|
|
5859
5871
|
if (productType === 'credit') {
|
|
5860
5872
|
consents = {
|
|
5861
|
-
consentPhotoFlg: consentOthersFlg,
|
|
5862
5873
|
consentPfrFlg: consentPfrFlg,
|
|
5863
5874
|
consentInformMaterialsFlg: consentOthersFlg,
|
|
5875
|
+
consentPhotoFlg: false,
|
|
5864
5876
|
};
|
|
5865
5877
|
}
|
|
5866
5878
|
else if (productType === 'creditCard') {
|
|
5867
5879
|
consents = {
|
|
5868
5880
|
consentInformMaterialsFlg,
|
|
5869
|
-
consentPhotoFlg,
|
|
5881
|
+
consentPhotoFlg: false,
|
|
5870
5882
|
};
|
|
5871
5883
|
}
|
|
5872
5884
|
else {
|
|
@@ -5975,8 +5987,10 @@
|
|
|
5975
5987
|
dulSubdivisionCode: document.dulSubdivisionCode,
|
|
5976
5988
|
birthPlace: addInfo.birthPlace,
|
|
5977
5989
|
addressRegistration: buildAddress(addressRegistration),
|
|
5978
|
-
addressFact: buildAddress(addressFact),
|
|
5979
5990
|
esiaAccountTypeCd: isDebit ? profile.esiaAccountType : { key: '' },
|
|
5991
|
+
...(addressFact && {
|
|
5992
|
+
addressFact: buildAddress(addressFact),
|
|
5993
|
+
}),
|
|
5980
5994
|
};
|
|
5981
5995
|
return {
|
|
5982
5996
|
...mainData,
|
|
@@ -6057,16 +6071,6 @@
|
|
|
6057
6071
|
category: 'CONFIRMING_INCOME_DOC',
|
|
6058
6072
|
isPDF: false,
|
|
6059
6073
|
},
|
|
6060
|
-
{
|
|
6061
|
-
file: esiaAdditionalDocument.pdfFileSigWorkbook,
|
|
6062
|
-
category: 'CONFIRMING_INCOME_DOC',
|
|
6063
|
-
isPDF: true,
|
|
6064
|
-
},
|
|
6065
|
-
{
|
|
6066
|
-
file: esiaAdditionalDocument.xmlFileSigWorkbook,
|
|
6067
|
-
category: 'CONFIRMING_INCOME_DOC',
|
|
6068
|
-
isPDF: false,
|
|
6069
|
-
},
|
|
6070
6074
|
];
|
|
6071
6075
|
for (const doc of documents) {
|
|
6072
6076
|
const contentType = doc.isPDF ? 'data:application/pdf;base64' : 'data:application/xml;base64';
|
|
@@ -6113,8 +6117,6 @@
|
|
|
6113
6117
|
esiaAdditionalDocument?.xmlFilePayout,
|
|
6114
6118
|
esiaAdditionalDocument?.xmlFileSigPayout,
|
|
6115
6119
|
esiaAdditionalDocument?.xmlFileWorkbook,
|
|
6116
|
-
esiaAdditionalDocument?.pdfFileSigWorkbook,
|
|
6117
|
-
esiaAdditionalDocument?.xmlFileSigWorkbook,
|
|
6118
6120
|
];
|
|
6119
6121
|
return data.every(Boolean);
|
|
6120
6122
|
};
|
|
@@ -6161,12 +6163,6 @@
|
|
|
6161
6163
|
return initialFormState;
|
|
6162
6164
|
};
|
|
6163
6165
|
|
|
6164
|
-
var EsiaStatuses;
|
|
6165
|
-
(function (EsiaStatuses) {
|
|
6166
|
-
EsiaStatuses["Success"] = "SUCCESS";
|
|
6167
|
-
EsiaStatuses["Error"] = "ERROR";
|
|
6168
|
-
EsiaStatuses["Pending"] = "PENDING";
|
|
6169
|
-
})(EsiaStatuses || (EsiaStatuses = {}));
|
|
6170
6166
|
const ApplicationLeadForm = JSX(({ className, title, programId = '', nextStepLink = '/credit-lead', button, productType = 'credit', data, ...rest }) => {
|
|
6171
6167
|
const [esiaStatus, setEsiaStatus] = useState();
|
|
6172
6168
|
const leadForm = useRef(null);
|
|
@@ -6207,7 +6203,7 @@
|
|
|
6207
6203
|
reset();
|
|
6208
6204
|
}
|
|
6209
6205
|
}, [leadForm?.current, esiaStatus]);
|
|
6210
|
-
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] })] }));
|
|
6206
|
+
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] })] }));
|
|
6211
6207
|
});
|
|
6212
6208
|
const getInputs = (applicationFormData) => (applicationFormData?.flatMap((_) => _?.inputs) || []);
|
|
6213
6209
|
const getExtendedValidatorObj = (productType) => ({
|
|
@@ -6332,7 +6328,7 @@
|
|
|
6332
6328
|
const inactiveDotStyle = 'w-2 h-2 opacity-30';
|
|
6333
6329
|
const renderDotButton = ({ activeIndex, onClick, listType = 'horizontal-list' }) => (_, idx) => (jsx("div", { className: style(dotStyle, idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle), role: "button", "aria-hidden": true, onClick: () => onClick(idx) }, String(idx)));
|
|
6334
6330
|
|
|
6335
|
-
const renderNavButton
|
|
6331
|
+
const renderNavButton = ({ activeIndex, onClick }) => (nav, i) => {
|
|
6336
6332
|
const isActive = i === activeIndex;
|
|
6337
6333
|
const btnClassName = isActive
|
|
6338
6334
|
? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
|
|
@@ -6437,7 +6433,7 @@
|
|
|
6437
6433
|
}
|
|
6438
6434
|
}, [containerRef?.current]);
|
|
6439
6435
|
if (navButtons?.length && !isMobileMode) {
|
|
6440
|
-
return (jsx(SwipeListContainer, { containerRef: navRef, snapAlign: "snap-start", itemClassName: "h-36 flex items-stretch w-screen", gap: 8, children: navButtons.map(renderNavButton
|
|
6436
|
+
return (jsx(SwipeListContainer, { containerRef: navRef, snapAlign: "snap-start", itemClassName: "h-36 flex items-stretch w-screen", gap: 8, children: navButtons.map(renderNavButton({ activeIndex, onClick: onChangeActiveIndex })) }));
|
|
6441
6437
|
}
|
|
6442
6438
|
else if (dotCount) {
|
|
6443
6439
|
return (jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : '', className, { 'pb-xl': navButtons?.length && isMobileMode }), "data-ver": version, children: Array.from({ length: dotCount })
|
|
@@ -6486,7 +6482,7 @@
|
|
|
6486
6482
|
const renderCarouselBlocks = ({ blocksToRender, ...rest }) => (jsx(SwipeListControl, { visibleItemCount: 0, gap: 0, arrowsPadded: true, children: renderBlocksList(blocksToRender, {
|
|
6487
6483
|
...rest.options,
|
|
6488
6484
|
parent: rest.block,
|
|
6489
|
-
renderProps: (block, options, i) => (jsx("div", { className: style('relative min-w-80', getBorderStyle(true)), children: renderBlock
|
|
6485
|
+
renderProps: (block, options, i) => (jsx("div", { className: style('relative min-w-80', getBorderStyle(true)), children: renderBlock(block, options) }, String(i))),
|
|
6490
6486
|
}) }));
|
|
6491
6487
|
|
|
6492
6488
|
const FilteredBlocks = JSX(({ blocksSection, blocksToRender = [], notFound, ...rest }) => {
|
|
@@ -6591,9 +6587,9 @@
|
|
|
6591
6587
|
};
|
|
6592
6588
|
|
|
6593
6589
|
const EMPTY_SCHEMA = {};
|
|
6594
|
-
const initialFiltrationState$
|
|
6590
|
+
const initialFiltrationState$1 = {};
|
|
6595
6591
|
const BankAccountFiltration = UniBlock(({ className, filtrationSchema = EMPTY_SCHEMA, consumerField = {}, resetButton, ...rest }) => {
|
|
6596
|
-
const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$
|
|
6592
|
+
const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$1, {
|
|
6597
6593
|
block: rest.block,
|
|
6598
6594
|
page: rest.options?.page,
|
|
6599
6595
|
});
|
|
@@ -6632,7 +6628,7 @@
|
|
|
6632
6628
|
const isMobileMode = useMobileMode();
|
|
6633
6629
|
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] }));
|
|
6634
6630
|
});
|
|
6635
|
-
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-
|
|
6631
|
+
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)));
|
|
6636
6632
|
|
|
6637
6633
|
const bonusBenefitStyles = 'items-center';
|
|
6638
6634
|
|
|
@@ -7284,7 +7280,7 @@
|
|
|
7284
7280
|
...field('moneyExtra'),
|
|
7285
7281
|
value: calcParams.moneyExtra,
|
|
7286
7282
|
})
|
|
7287
|
-
: null, jsx("div", { className: "sm:hidden
|
|
7283
|
+
: 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)] })] }) }));
|
|
7288
7284
|
});
|
|
7289
7285
|
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 })] }));
|
|
7290
7286
|
|
|
@@ -7349,7 +7345,7 @@
|
|
|
7349
7345
|
const FAILED_TITLE = 'Ошибка перевода';
|
|
7350
7346
|
const SubmitFailedDialog = ({ onClose, errorCode, errorMessage, }) => {
|
|
7351
7347
|
const description = errorCode ? `Код ошибки - ${errorCode}` : 'Пожалуйста, повторите позднее';
|
|
7352
|
-
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
|
|
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 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] }) }));
|
|
7353
7349
|
};
|
|
7354
7350
|
|
|
7355
7351
|
const useSubmitCardTransfer = (formType) => {
|
|
@@ -7384,16 +7380,11 @@
|
|
|
7384
7380
|
amount: 1500,
|
|
7385
7381
|
};
|
|
7386
7382
|
const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, button, formType = 'private', ...rest }) => {
|
|
7387
|
-
const [isDisabled, { setValue: setDisabled }] = useBool(false);
|
|
7388
7383
|
const handleSubmit = useSubmitCardTransfer(formType);
|
|
7389
7384
|
const [{ amount }, { field, onSubmit }] = useForm(INITIAL_FORM_STATE, {
|
|
7390
7385
|
onSubmit: handleSubmit,
|
|
7391
7386
|
});
|
|
7392
|
-
|
|
7393
|
-
useEffect(() => {
|
|
7394
|
-
setDisabled(amount <= 0);
|
|
7395
|
-
}, [amount]);
|
|
7396
|
-
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] })] }));
|
|
7387
|
+
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] })] }));
|
|
7397
7388
|
});
|
|
7398
7389
|
|
|
7399
7390
|
const ITEMS_GAP = 16;
|
|
@@ -7412,7 +7403,7 @@
|
|
|
7412
7403
|
const defaultPadding = isNavButtons ? { defaultPadding: 'p-6xl pb-m' } : {};
|
|
7413
7404
|
return renderChildren({
|
|
7414
7405
|
...rest,
|
|
7415
|
-
renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock
|
|
7406
|
+
renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock(block, options, {
|
|
7416
7407
|
className: cardStyle(block, {
|
|
7417
7408
|
someCardsHighlighted,
|
|
7418
7409
|
showBorder: !noCardBorder,
|
|
@@ -7425,9 +7416,9 @@
|
|
|
7425
7416
|
: null] }, String(blockIndex))),
|
|
7426
7417
|
});
|
|
7427
7418
|
};
|
|
7428
|
-
const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-
|
|
7419
|
+
const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-16'));
|
|
7429
7420
|
const cardStyle = (_, { someCardsHighlighted, showBorder, cardSize = 'normal', }) => style(cardBaseStyle, 'min-w-80', CARD_SIZE_MAP[cardSize], // TODO fix для RecommendationCard
|
|
7430
|
-
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-
|
|
7421
|
+
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-16' : 'pt-3xl'), getBorderStyle(showBorder), showBorder && 'h-full');
|
|
7431
7422
|
const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
|
|
7432
7423
|
|
|
7433
7424
|
const VISIBLE_ITEM_COUNT = 1;
|
|
@@ -7456,15 +7447,6 @@
|
|
|
7456
7447
|
};
|
|
7457
7448
|
}) ?? [];
|
|
7458
7449
|
|
|
7459
|
-
const titleSize = 'XS';
|
|
7460
|
-
|
|
7461
|
-
const layerBaseStyle = 'z-10 border border-solid w-full h-full';
|
|
7462
|
-
const layerStyle = style(layerBaseStyle, 'absolute hidden @xl:block border-transparent');
|
|
7463
|
-
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], {
|
|
7464
|
-
className: 'mt-m sm:mt-6xl sm:justify-center',
|
|
7465
|
-
isVertical: true,
|
|
7466
|
-
})] })] }) })));
|
|
7467
|
-
|
|
7468
7450
|
const cardStyleMap = {
|
|
7469
7451
|
black: 'bg-black',
|
|
7470
7452
|
white: 'bg-white',
|
|
@@ -7472,19 +7454,6 @@
|
|
|
7472
7454
|
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] }) })));
|
|
7473
7455
|
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)));
|
|
7474
7456
|
|
|
7475
|
-
const CarouselLinkButton = JSX(({ icon, ...linkProps }) => {
|
|
7476
|
-
const link = useLink();
|
|
7477
|
-
const { text, href, target, onClick } = link(linkProps);
|
|
7478
|
-
const textStyle = 'font-light md:font-normal text-primary-text text-center text-xs md:text-sm whitespace-wrap';
|
|
7479
|
-
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: {
|
|
7480
|
-
...icon,
|
|
7481
|
-
iconVersion: icon?.iconVersion,
|
|
7482
|
-
}, alt: text })) : null, jsx("div", { className: textStyle, children: text })] }) }) })) : null;
|
|
7483
|
-
});
|
|
7484
|
-
|
|
7485
|
-
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] }) })));
|
|
7486
|
-
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)))) }));
|
|
7487
|
-
|
|
7488
7457
|
const LinkWrapper = JSX(({ className = '', href, target, onClick, data, children }) => {
|
|
7489
7458
|
const link = useLink();
|
|
7490
7459
|
const linkProps = link({ href, target, onClick });
|
|
@@ -7644,7 +7613,7 @@
|
|
|
7644
7613
|
return () => clearInterval(timer);
|
|
7645
7614
|
};
|
|
7646
7615
|
|
|
7647
|
-
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
|
|
7616
|
+
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] })] })));
|
|
7648
7617
|
|
|
7649
7618
|
const CreditCardFormProgress = JSX(({ step = 1, totalSteps = 6, stepsTitles = [] }) => {
|
|
7650
7619
|
const progress = useMemo(() => ((step + 1) / totalSteps) * 100, [step, totalSteps]);
|
|
@@ -7739,7 +7708,7 @@
|
|
|
7739
7708
|
|
|
7740
7709
|
const SuccessStatusCardContent = JSX(() => {
|
|
7741
7710
|
const { statusInfo } = useRetailFormStore();
|
|
7742
|
-
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" }));
|
|
7711
|
+
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" }));
|
|
7743
7712
|
});
|
|
7744
7713
|
const getSectionInfo = (statusInfo) => {
|
|
7745
7714
|
const sectionInfo = [
|
|
@@ -7810,6 +7779,7 @@
|
|
|
7810
7779
|
.map((_) => {
|
|
7811
7780
|
if ([
|
|
7812
7781
|
checkIsRetiree(step, getValue),
|
|
7782
|
+
checkIsUnemployedRetiree(_, getValue),
|
|
7813
7783
|
checkBusinessOwner(_, getValue),
|
|
7814
7784
|
checkConsentPfrFlg(_, getValue),
|
|
7815
7785
|
checkAddressFillFromESIA(_, getValue),
|
|
@@ -7821,6 +7791,7 @@
|
|
|
7821
7791
|
return _;
|
|
7822
7792
|
});
|
|
7823
7793
|
const checkIsRetiree = (step, getValue) => step === 2 && getValue('employment')?.key === 'RETIREE';
|
|
7794
|
+
const checkIsUnemployedRetiree = ({ name }, getValue) => name === 'wages' && getValue('employment')?.key === 'RETIREE' && !getValue('inn');
|
|
7824
7795
|
const checkBusinessOwner = ({ name }, getValue) => name === 'partInBusiness' && getValue('positionOrganization')?.key !== 'BUSINESS_OWNER';
|
|
7825
7796
|
const checkAddressFillFromESIA = ({ name, filledByEsia }, getValue) => name?.startsWith('address') && getValue('esiaAccountTypeCd')?.key && filledByEsia;
|
|
7826
7797
|
const checkAddressFact = ({ name }, getValue) => name === 'addressFact' && getValue('addressMatch');
|
|
@@ -7837,7 +7808,13 @@
|
|
|
7837
7808
|
|
|
7838
7809
|
const renderStep$1 = ({ sections, field, step, params, }) => sections?.map(({ inputs: origInputs = [], columns, title, condition }, i) => {
|
|
7839
7810
|
const inputs = calculateInputs(getValue(field))(origInputs, step);
|
|
7840
|
-
|
|
7811
|
+
const cleanElements = [
|
|
7812
|
+
!checkCondition({ condition }, getValue(field)) ? renderTitle(title) : null,
|
|
7813
|
+
...renderInputs({ field, inputs, params }),
|
|
7814
|
+
]
|
|
7815
|
+
.filter(Boolean)
|
|
7816
|
+
.map((_, j) => ({ ..._, key: _.key ?? `elem-${j}` }));
|
|
7817
|
+
return cleanElements.length ? (jsx("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: cleanElements }, `section-${i}`)) : null;
|
|
7841
7818
|
});
|
|
7842
7819
|
const getValue = (field) => (name) => field(name)?.value;
|
|
7843
7820
|
|
|
@@ -7871,7 +7848,7 @@
|
|
|
7871
7848
|
}
|
|
7872
7849
|
};
|
|
7873
7850
|
|
|
7874
|
-
const
|
|
7851
|
+
const getMainFormStateMap = (isCredit = false) => [
|
|
7875
7852
|
{
|
|
7876
7853
|
surname: '',
|
|
7877
7854
|
name: '',
|
|
@@ -7926,8 +7903,9 @@
|
|
|
7926
7903
|
wages: undefined,
|
|
7927
7904
|
mandatoryPayments: undefined,
|
|
7928
7905
|
snils: '',
|
|
7929
|
-
armyIdFlg: false,
|
|
7906
|
+
armyIdFlg: isCredit ? undefined : false,
|
|
7930
7907
|
esiaAccountTypeCd: { key: '', text: '' },
|
|
7908
|
+
initiateBankruptcyFlg: isCredit ? false : undefined,
|
|
7931
7909
|
},
|
|
7932
7910
|
{
|
|
7933
7911
|
bankruptcyFlg: false,
|
|
@@ -7943,7 +7921,7 @@
|
|
|
7943
7921
|
currency: '810',
|
|
7944
7922
|
codeWord: '',
|
|
7945
7923
|
},
|
|
7946
|
-
...
|
|
7924
|
+
...getMainFormStateMap(),
|
|
7947
7925
|
{
|
|
7948
7926
|
regionRetail: { key: '', text: '' },
|
|
7949
7927
|
addressRetail: { key: '', text: '' },
|
|
@@ -7984,7 +7962,7 @@
|
|
|
7984
7962
|
employmentTypeCd: employment,
|
|
7985
7963
|
organizationName,
|
|
7986
7964
|
organizationInn: inn,
|
|
7987
|
-
organizationActivityTypeCd: employerActivities,
|
|
7965
|
+
organizationActivityTypeCd: employerActivities?.key ? employerActivities : undefined,
|
|
7988
7966
|
organizationTypeCd: organization,
|
|
7989
7967
|
organizationKindCd: employerOrganization,
|
|
7990
7968
|
employeesNumberCd: amountWorkers,
|
|
@@ -7993,17 +7971,17 @@
|
|
|
7993
7971
|
generalSeniority: experience5Years,
|
|
7994
7972
|
jobsNumber,
|
|
7995
7973
|
lastWorkDuration: lastJobExperience,
|
|
7996
|
-
positionCd: positionOrganization,
|
|
7974
|
+
positionCd: positionOrganization?.key ? positionOrganization : undefined,
|
|
7997
7975
|
participantContacts: getParticipantContacts$1({
|
|
7998
7976
|
organizationPhone: organizationPhone && formatPhone(organizationPhone),
|
|
7999
7977
|
}),
|
|
8000
7978
|
participantAddresses: getParticipantAddresses$1({ organizationAddress }),
|
|
8001
|
-
ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness :
|
|
7979
|
+
ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness : undefined,
|
|
8002
7980
|
};
|
|
8003
7981
|
};
|
|
8004
7982
|
|
|
8005
7983
|
const getPersonalInfoData = (formData) => {
|
|
8006
|
-
const { name, surname, middleName, limitedBirthday = '', phone = '', email, sex, birthPlace, dulIssueDate = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration
|
|
7984
|
+
const { name, surname, middleName, limitedBirthday = '', phone = '', email, sex, birthPlace, dulIssueDate = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration, housing, addressRegistration, addressFact, addressMatch, } = formData;
|
|
8007
7985
|
return {
|
|
8008
7986
|
birthDate: formatDate(limitedBirthday, true),
|
|
8009
7987
|
midname: middleName,
|
|
@@ -8016,7 +7994,9 @@
|
|
|
8016
7994
|
dulSerie,
|
|
8017
7995
|
dulSubdivisionCode,
|
|
8018
7996
|
educationLevelCd: education,
|
|
8019
|
-
registrationDate:
|
|
7997
|
+
registrationDate: participantDateRegistration
|
|
7998
|
+
? formatDate(participantDateRegistration, true)
|
|
7999
|
+
: undefined,
|
|
8020
8000
|
homeMatchFlg: addressMatch,
|
|
8021
8001
|
houseTypeCd: housing,
|
|
8022
8002
|
participantContacts: getParticipantContacts$1({
|
|
@@ -8186,7 +8166,6 @@
|
|
|
8186
8166
|
return (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep$1({ sections, field, step }), jsx(StepsNavigationButtons$2, { isSending: isSending, step: step, onPrevStep: onPrevStep })] }));
|
|
8187
8167
|
});
|
|
8188
8168
|
|
|
8189
|
-
/* eslint-disable max-lines */
|
|
8190
8169
|
const PERSONAL_DATA = [
|
|
8191
8170
|
{
|
|
8192
8171
|
title: 'Персональные данные',
|
|
@@ -8222,9 +8201,6 @@
|
|
|
8222
8201
|
},
|
|
8223
8202
|
],
|
|
8224
8203
|
},
|
|
8225
|
-
];
|
|
8226
|
-
const PERSONAL_INFO_CONTENT = [
|
|
8227
|
-
...PERSONAL_DATA,
|
|
8228
8204
|
{
|
|
8229
8205
|
inputs: [
|
|
8230
8206
|
{
|
|
@@ -8233,6 +8209,124 @@
|
|
|
8233
8209
|
dadata: true,
|
|
8234
8210
|
filledByEsia: true,
|
|
8235
8211
|
},
|
|
8212
|
+
],
|
|
8213
|
+
},
|
|
8214
|
+
];
|
|
8215
|
+
const DELIVERY_CARD_CONTENT = [
|
|
8216
|
+
{
|
|
8217
|
+
title: 'Регион обслуживания карты',
|
|
8218
|
+
columns: 1,
|
|
8219
|
+
inputs: [],
|
|
8220
|
+
},
|
|
8221
|
+
{
|
|
8222
|
+
inputs: [
|
|
8223
|
+
{
|
|
8224
|
+
name: 'regionRetail',
|
|
8225
|
+
required: true,
|
|
8226
|
+
},
|
|
8227
|
+
],
|
|
8228
|
+
},
|
|
8229
|
+
{
|
|
8230
|
+
title: 'Способ получения',
|
|
8231
|
+
columns: 1,
|
|
8232
|
+
inputs: [],
|
|
8233
|
+
condition: {
|
|
8234
|
+
name: 'regionHasDelivery',
|
|
8235
|
+
values: [true],
|
|
8236
|
+
},
|
|
8237
|
+
},
|
|
8238
|
+
{
|
|
8239
|
+
inputs: [
|
|
8240
|
+
{
|
|
8241
|
+
name: 'methodObtain',
|
|
8242
|
+
condition: {
|
|
8243
|
+
name: 'regionHasDelivery',
|
|
8244
|
+
values: [true],
|
|
8245
|
+
},
|
|
8246
|
+
},
|
|
8247
|
+
],
|
|
8248
|
+
},
|
|
8249
|
+
{
|
|
8250
|
+
title: 'Выбор офиса',
|
|
8251
|
+
columns: 1,
|
|
8252
|
+
inputs: [],
|
|
8253
|
+
condition: {
|
|
8254
|
+
name: 'methodObtain',
|
|
8255
|
+
values: ['office'],
|
|
8256
|
+
},
|
|
8257
|
+
},
|
|
8258
|
+
{
|
|
8259
|
+
title: 'Адрес доставки',
|
|
8260
|
+
columns: 1,
|
|
8261
|
+
inputs: [],
|
|
8262
|
+
condition: {
|
|
8263
|
+
name: 'methodObtain',
|
|
8264
|
+
values: ['courier'],
|
|
8265
|
+
},
|
|
8266
|
+
},
|
|
8267
|
+
{
|
|
8268
|
+
inputs: [
|
|
8269
|
+
{
|
|
8270
|
+
name: 'addressCourier',
|
|
8271
|
+
dadata: true,
|
|
8272
|
+
condition: {
|
|
8273
|
+
name: 'methodObtain',
|
|
8274
|
+
values: ['courier'],
|
|
8275
|
+
},
|
|
8276
|
+
required: true,
|
|
8277
|
+
},
|
|
8278
|
+
],
|
|
8279
|
+
},
|
|
8280
|
+
{
|
|
8281
|
+
columns: 2,
|
|
8282
|
+
inputs: [
|
|
8283
|
+
{
|
|
8284
|
+
name: 'deliveryDate',
|
|
8285
|
+
condition: {
|
|
8286
|
+
name: 'methodObtain',
|
|
8287
|
+
values: ['courier'],
|
|
8288
|
+
},
|
|
8289
|
+
required: true,
|
|
8290
|
+
},
|
|
8291
|
+
{
|
|
8292
|
+
name: 'deliveryTime',
|
|
8293
|
+
condition: {
|
|
8294
|
+
name: 'methodObtain',
|
|
8295
|
+
values: ['courier'],
|
|
8296
|
+
},
|
|
8297
|
+
},
|
|
8298
|
+
],
|
|
8299
|
+
},
|
|
8300
|
+
{
|
|
8301
|
+
inputs: [
|
|
8302
|
+
{
|
|
8303
|
+
name: 'comment',
|
|
8304
|
+
condition: {
|
|
8305
|
+
name: 'methodObtain',
|
|
8306
|
+
values: ['courier'],
|
|
8307
|
+
},
|
|
8308
|
+
},
|
|
8309
|
+
],
|
|
8310
|
+
},
|
|
8311
|
+
{
|
|
8312
|
+
inputs: [
|
|
8313
|
+
{
|
|
8314
|
+
name: 'addressRetail',
|
|
8315
|
+
required: true,
|
|
8316
|
+
condition: {
|
|
8317
|
+
name: 'methodObtain',
|
|
8318
|
+
values: ['office'],
|
|
8319
|
+
},
|
|
8320
|
+
},
|
|
8321
|
+
],
|
|
8322
|
+
},
|
|
8323
|
+
];
|
|
8324
|
+
|
|
8325
|
+
/* eslint-disable max-lines */
|
|
8326
|
+
const PERSONAL_INFO_CONTENT$1 = [
|
|
8327
|
+
...PERSONAL_DATA,
|
|
8328
|
+
{
|
|
8329
|
+
inputs: [
|
|
8236
8330
|
{
|
|
8237
8331
|
name: 'education',
|
|
8238
8332
|
required: true,
|
|
@@ -8271,7 +8365,7 @@
|
|
|
8271
8365
|
inputs: [{ name: 'addressFact', required: true, dadata: true }],
|
|
8272
8366
|
},
|
|
8273
8367
|
];
|
|
8274
|
-
const EMPLOYMENT_CONTENT = [
|
|
8368
|
+
const EMPLOYMENT_CONTENT$1 = [
|
|
8275
8369
|
{
|
|
8276
8370
|
title: 'Данные о трудоустройстве',
|
|
8277
8371
|
inputs: [],
|
|
@@ -8344,7 +8438,7 @@
|
|
|
8344
8438
|
inputs: [{ name: 'organizationAddress', required: true, dadata: true }],
|
|
8345
8439
|
},
|
|
8346
8440
|
];
|
|
8347
|
-
const FAMILY_STATUS_AND_INCOME_CONTENT = [
|
|
8441
|
+
const FAMILY_STATUS_AND_INCOME_CONTENT$1 = [
|
|
8348
8442
|
{
|
|
8349
8443
|
title: 'Семейное положение',
|
|
8350
8444
|
},
|
|
@@ -8385,6 +8479,16 @@
|
|
|
8385
8479
|
columns: 1,
|
|
8386
8480
|
inputs: [{ name: 'wages', required: true, filledByEsia: true }],
|
|
8387
8481
|
},
|
|
8482
|
+
{
|
|
8483
|
+
columns: 1,
|
|
8484
|
+
inputs: [
|
|
8485
|
+
{
|
|
8486
|
+
name: 'retirementIncome',
|
|
8487
|
+
required: true,
|
|
8488
|
+
condition: { name: 'employment', values: ['RETIREE'] },
|
|
8489
|
+
},
|
|
8490
|
+
],
|
|
8491
|
+
},
|
|
8388
8492
|
{
|
|
8389
8493
|
columns: 1,
|
|
8390
8494
|
inputs: [{ name: 'mandatoryPayments', required: true }],
|
|
@@ -8421,41 +8525,6 @@
|
|
|
8421
8525
|
inputs: [{ name: 'creditInRshbCd' }],
|
|
8422
8526
|
},
|
|
8423
8527
|
];
|
|
8424
|
-
const COMMON_RETAIL_CONTENT = [
|
|
8425
|
-
PERSONAL_INFO_CONTENT,
|
|
8426
|
-
EMPLOYMENT_CONTENT,
|
|
8427
|
-
FAMILY_STATUS_AND_INCOME_CONTENT,
|
|
8428
|
-
ADDITIONAL_CONTENT,
|
|
8429
|
-
];
|
|
8430
|
-
const DELIVERY_CREDIT_CONTENT = [
|
|
8431
|
-
{
|
|
8432
|
-
title: 'Отделение Банка',
|
|
8433
|
-
columns: 1,
|
|
8434
|
-
inputs: [],
|
|
8435
|
-
},
|
|
8436
|
-
{
|
|
8437
|
-
inputs: [{ name: 'regionRetail', required: true }],
|
|
8438
|
-
},
|
|
8439
|
-
{
|
|
8440
|
-
inputs: [{ name: 'addressRetail', required: true }],
|
|
8441
|
-
},
|
|
8442
|
-
{
|
|
8443
|
-
title: 'Код представителя Банка',
|
|
8444
|
-
columns: 1,
|
|
8445
|
-
inputs: [],
|
|
8446
|
-
},
|
|
8447
|
-
{
|
|
8448
|
-
inputs: [
|
|
8449
|
-
{
|
|
8450
|
-
name: 'infoCard',
|
|
8451
|
-
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
8452
|
-
},
|
|
8453
|
-
],
|
|
8454
|
-
},
|
|
8455
|
-
{
|
|
8456
|
-
inputs: [{ name: 'bankEmployeeCode' }],
|
|
8457
|
-
},
|
|
8458
|
-
];
|
|
8459
8528
|
const CREDIT_CARD_CONTENT = [
|
|
8460
8529
|
{
|
|
8461
8530
|
title: 'Параметры карты',
|
|
@@ -8470,229 +8539,34 @@
|
|
|
8470
8539
|
],
|
|
8471
8540
|
},
|
|
8472
8541
|
];
|
|
8473
|
-
const
|
|
8542
|
+
const DELIVERY_CREDIT_CARD_CONTENT = [
|
|
8543
|
+
...DELIVERY_CARD_CONTENT,
|
|
8474
8544
|
{
|
|
8475
|
-
columns: 1,
|
|
8476
8545
|
inputs: [
|
|
8477
8546
|
{
|
|
8478
|
-
name: '
|
|
8547
|
+
name: 'infoCard',
|
|
8548
|
+
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
8549
|
+
condition: {
|
|
8550
|
+
name: 'methodObtain',
|
|
8551
|
+
values: ['office'],
|
|
8552
|
+
},
|
|
8553
|
+
},
|
|
8554
|
+
{
|
|
8555
|
+
name: 'bankEmployeeCode',
|
|
8556
|
+
condition: {
|
|
8557
|
+
name: 'methodObtain',
|
|
8558
|
+
values: ['office'],
|
|
8559
|
+
},
|
|
8479
8560
|
},
|
|
8480
8561
|
],
|
|
8481
8562
|
},
|
|
8482
8563
|
];
|
|
8483
|
-
const DELIVERY_DEBIT_CARD_CONTENT = [
|
|
8484
|
-
{
|
|
8485
|
-
title: 'Регион обслуживания карты',
|
|
8486
|
-
columns: 1,
|
|
8487
|
-
inputs: [],
|
|
8488
|
-
},
|
|
8489
|
-
{
|
|
8490
|
-
inputs: [
|
|
8491
|
-
{
|
|
8492
|
-
name: 'regionRetail',
|
|
8493
|
-
required: true,
|
|
8494
|
-
},
|
|
8495
|
-
],
|
|
8496
|
-
},
|
|
8497
|
-
{
|
|
8498
|
-
title: 'Способ получения',
|
|
8499
|
-
columns: 1,
|
|
8500
|
-
inputs: [],
|
|
8501
|
-
condition: {
|
|
8502
|
-
name: 'regionHasDelivery',
|
|
8503
|
-
values: [true],
|
|
8504
|
-
},
|
|
8505
|
-
},
|
|
8506
|
-
{
|
|
8507
|
-
inputs: [
|
|
8508
|
-
{
|
|
8509
|
-
name: 'methodObtain',
|
|
8510
|
-
condition: {
|
|
8511
|
-
name: 'regionHasDelivery',
|
|
8512
|
-
values: [true],
|
|
8513
|
-
},
|
|
8514
|
-
},
|
|
8515
|
-
],
|
|
8516
|
-
},
|
|
8517
|
-
{
|
|
8518
|
-
title: 'Выбор офиса',
|
|
8519
|
-
columns: 1,
|
|
8520
|
-
inputs: [],
|
|
8521
|
-
condition: {
|
|
8522
|
-
name: 'methodObtain',
|
|
8523
|
-
values: ['office'],
|
|
8524
|
-
},
|
|
8525
|
-
},
|
|
8526
|
-
{
|
|
8527
|
-
title: 'Адрес доставки',
|
|
8528
|
-
columns: 1,
|
|
8529
|
-
inputs: [],
|
|
8530
|
-
condition: {
|
|
8531
|
-
name: 'methodObtain',
|
|
8532
|
-
values: ['courier'],
|
|
8533
|
-
},
|
|
8534
|
-
},
|
|
8535
|
-
{
|
|
8536
|
-
inputs: [
|
|
8537
|
-
{
|
|
8538
|
-
name: 'addressCourier',
|
|
8539
|
-
dadata: true,
|
|
8540
|
-
condition: {
|
|
8541
|
-
name: 'methodObtain',
|
|
8542
|
-
values: ['courier'],
|
|
8543
|
-
},
|
|
8544
|
-
required: true,
|
|
8545
|
-
},
|
|
8546
|
-
],
|
|
8547
|
-
},
|
|
8548
|
-
{
|
|
8549
|
-
columns: 2,
|
|
8550
|
-
inputs: [
|
|
8551
|
-
{
|
|
8552
|
-
name: 'deliveryDate',
|
|
8553
|
-
condition: {
|
|
8554
|
-
name: 'methodObtain',
|
|
8555
|
-
values: ['courier'],
|
|
8556
|
-
},
|
|
8557
|
-
required: true,
|
|
8558
|
-
},
|
|
8559
|
-
{
|
|
8560
|
-
name: 'deliveryTime',
|
|
8561
|
-
condition: {
|
|
8562
|
-
name: 'methodObtain',
|
|
8563
|
-
values: ['courier'],
|
|
8564
|
-
},
|
|
8565
|
-
},
|
|
8566
|
-
],
|
|
8567
|
-
},
|
|
8568
|
-
{
|
|
8569
|
-
inputs: [
|
|
8570
|
-
{
|
|
8571
|
-
name: 'comment',
|
|
8572
|
-
condition: {
|
|
8573
|
-
name: 'methodObtain',
|
|
8574
|
-
values: ['courier'],
|
|
8575
|
-
},
|
|
8576
|
-
},
|
|
8577
|
-
],
|
|
8578
|
-
},
|
|
8579
|
-
{
|
|
8580
|
-
inputs: [
|
|
8581
|
-
{
|
|
8582
|
-
name: 'addressRetail',
|
|
8583
|
-
required: true,
|
|
8584
|
-
condition: {
|
|
8585
|
-
name: 'methodObtain',
|
|
8586
|
-
values: ['office'],
|
|
8587
|
-
},
|
|
8588
|
-
},
|
|
8589
|
-
],
|
|
8590
|
-
},
|
|
8591
|
-
];
|
|
8592
|
-
const DEBIT_PERSONAL_INFO_CONTENT = [
|
|
8593
|
-
...PERSONAL_DATA,
|
|
8594
|
-
{
|
|
8595
|
-
inputs: [
|
|
8596
|
-
{
|
|
8597
|
-
name: 'dulIssuedBy',
|
|
8598
|
-
required: true,
|
|
8599
|
-
dadata: true,
|
|
8600
|
-
filledByEsia: true,
|
|
8601
|
-
},
|
|
8602
|
-
],
|
|
8603
|
-
},
|
|
8604
|
-
{
|
|
8605
|
-
title: 'Адрес регистрации по месту жительства',
|
|
8606
|
-
columns: 1,
|
|
8607
|
-
inputs: [],
|
|
8608
|
-
},
|
|
8609
|
-
{
|
|
8610
|
-
inputs: [
|
|
8611
|
-
{
|
|
8612
|
-
name: 'addressRegistration',
|
|
8613
|
-
required: true,
|
|
8614
|
-
dadata: true,
|
|
8615
|
-
filledByEsia: true,
|
|
8616
|
-
},
|
|
8617
|
-
{ name: 'addressMatch' },
|
|
8618
|
-
],
|
|
8619
|
-
},
|
|
8620
|
-
{
|
|
8621
|
-
title: 'Адрес фактического проживания (место пребывания РФ)',
|
|
8622
|
-
inputs: [],
|
|
8623
|
-
},
|
|
8624
|
-
{
|
|
8625
|
-
inputs: [{ name: 'addressFact', required: true, dadata: true }],
|
|
8626
|
-
},
|
|
8627
|
-
];
|
|
8628
|
-
const DEBIT_CARD_CONTENT = [
|
|
8629
|
-
{
|
|
8630
|
-
title: 'Параметры карты',
|
|
8631
|
-
inputs: [],
|
|
8632
|
-
},
|
|
8633
|
-
{
|
|
8634
|
-
inputs: [
|
|
8635
|
-
{ name: 'currency', required: true },
|
|
8636
|
-
{ name: 'paymentSystem', required: true },
|
|
8637
|
-
{ name: 'cardCategory', required: true },
|
|
8638
|
-
],
|
|
8639
|
-
},
|
|
8640
|
-
{
|
|
8641
|
-
title: 'Отображение на карте',
|
|
8642
|
-
inputs: [],
|
|
8643
|
-
},
|
|
8644
|
-
{
|
|
8645
|
-
columns: 2,
|
|
8646
|
-
inputs: [{ name: 'latinName' }, { name: 'latinSurname', required: true }],
|
|
8647
|
-
},
|
|
8648
|
-
{
|
|
8649
|
-
inputs: [
|
|
8650
|
-
{
|
|
8651
|
-
name: 'infoCard',
|
|
8652
|
-
label: 'Проверьте корректность заполненных полей, при необходимости внесите изменения.',
|
|
8653
|
-
},
|
|
8654
|
-
],
|
|
8655
|
-
},
|
|
8656
|
-
{
|
|
8657
|
-
inputs: [
|
|
8658
|
-
{
|
|
8659
|
-
name: 'infoCard',
|
|
8660
|
-
label:
|
|
8661
|
-
// eslint-disable-next-line max-len
|
|
8662
|
-
'Количество символов ограничивается 20. При этом, если фамилия и имя на карте содержит более 21 символа, то необходимо сократить имя и указывать на карте только первую букву имени и фамилию, если при таком сокращении фамилия и имя не умещается в количество символов – 20, то указывать только фамилию.',
|
|
8663
|
-
},
|
|
8664
|
-
],
|
|
8665
|
-
},
|
|
8666
|
-
{
|
|
8667
|
-
inputs: [{ name: 'codeWord', required: true }],
|
|
8668
|
-
},
|
|
8669
|
-
];
|
|
8670
|
-
const DELIVERY_CREDIT_CARD_CONTENT = [
|
|
8671
|
-
...DELIVERY_DEBIT_CARD_CONTENT,
|
|
8672
|
-
{
|
|
8673
|
-
inputs: [
|
|
8674
|
-
{
|
|
8675
|
-
name: 'infoCard',
|
|
8676
|
-
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
8677
|
-
condition: {
|
|
8678
|
-
name: 'methodObtain',
|
|
8679
|
-
values: ['office'],
|
|
8680
|
-
},
|
|
8681
|
-
},
|
|
8682
|
-
{
|
|
8683
|
-
name: 'bankEmployeeCode',
|
|
8684
|
-
condition: {
|
|
8685
|
-
name: 'methodObtain',
|
|
8686
|
-
values: ['office'],
|
|
8687
|
-
},
|
|
8688
|
-
},
|
|
8689
|
-
],
|
|
8690
|
-
},
|
|
8691
|
-
];
|
|
8692
|
-
|
|
8693
8564
|
const stepsSectionsMap$2 = [
|
|
8694
8565
|
CREDIT_CARD_CONTENT,
|
|
8695
|
-
|
|
8566
|
+
PERSONAL_INFO_CONTENT$1,
|
|
8567
|
+
EMPLOYMENT_CONTENT$1,
|
|
8568
|
+
FAMILY_STATUS_AND_INCOME_CONTENT$1,
|
|
8569
|
+
ADDITIONAL_CONTENT,
|
|
8696
8570
|
DELIVERY_CREDIT_CARD_CONTENT,
|
|
8697
8571
|
];
|
|
8698
8572
|
|
|
@@ -8778,7 +8652,7 @@
|
|
|
8778
8652
|
|
|
8779
8653
|
const SuccessStatusContent$1 = JSX(() => {
|
|
8780
8654
|
const { statusInfo } = useRetailFormStore();
|
|
8781
|
-
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: [
|
|
8655
|
+
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: [
|
|
8782
8656
|
{
|
|
8783
8657
|
label: 'Название продукта',
|
|
8784
8658
|
description: 'Кредит на любые цели',
|
|
@@ -8848,7 +8722,7 @@
|
|
|
8848
8722
|
|
|
8849
8723
|
const PAYMENT_TYPE_DATA = {
|
|
8850
8724
|
annuity: { key: 'ANNUITY', value: 'Аннуитетный' },
|
|
8851
|
-
differential: { key: '
|
|
8725
|
+
differential: { key: 'DIFFERENTIATED', value: 'Дифференцированный ' },
|
|
8852
8726
|
};
|
|
8853
8727
|
const getCalcData = (formData) => {
|
|
8854
8728
|
const { moneyValue, monthsValue, isAnnuity } = formData?.calculator ?? {};
|
|
@@ -8915,8 +8789,6 @@
|
|
|
8915
8789
|
return getEmploymentData(formData);
|
|
8916
8790
|
case 3:
|
|
8917
8791
|
return getFamilyStatusAndIncomeData(formData);
|
|
8918
|
-
case 4:
|
|
8919
|
-
return getAdditionalInfoData(formData);
|
|
8920
8792
|
default:
|
|
8921
8793
|
return {};
|
|
8922
8794
|
}
|
|
@@ -8936,7 +8808,7 @@
|
|
|
8936
8808
|
isStateEmployee: false,
|
|
8937
8809
|
},
|
|
8938
8810
|
},
|
|
8939
|
-
...
|
|
8811
|
+
...getMainFormStateMap(true),
|
|
8940
8812
|
{
|
|
8941
8813
|
regionRetail: { key: '', text: '' },
|
|
8942
8814
|
addressRetail: undefined,
|
|
@@ -8946,7 +8818,7 @@
|
|
|
8946
8818
|
|
|
8947
8819
|
const useCreditFormAPI = ({ step, onNextStep, onFinish, }) => {
|
|
8948
8820
|
const [isSending, { setTrue: startSending, setFalse: endSending }] = useBool(false);
|
|
8949
|
-
const isFinalStep = step ===
|
|
8821
|
+
const isFinalStep = step === 4;
|
|
8950
8822
|
const retailFormStore = useRetailFormStore();
|
|
8951
8823
|
const initialState = useMemo(() => getInitialFormState(step, retailFormStore.leadForm, formStateMap$1), [step, retailFormStore.leadForm]);
|
|
8952
8824
|
const resetForm = useCallback((response) => {
|
|
@@ -9016,34 +8888,222 @@
|
|
|
9016
8888
|
return (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep$1({ sections, field, step, params: { calcData } }), jsx(StepsNavigationButtons$1, { step: step, isSending: isSending, onPrevStep: onPrevStep })] }));
|
|
9017
8889
|
});
|
|
9018
8890
|
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
...
|
|
9022
|
-
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
8891
|
+
/* eslint-disable max-lines */
|
|
8892
|
+
const PERSONAL_INFO_CONTENT = [
|
|
8893
|
+
...PERSONAL_DATA,
|
|
8894
|
+
{
|
|
8895
|
+
title: 'Адрес регистрации по месту жительства',
|
|
8896
|
+
columns: 1,
|
|
8897
|
+
inputs: [],
|
|
8898
|
+
},
|
|
8899
|
+
{
|
|
8900
|
+
inputs: [
|
|
8901
|
+
{
|
|
8902
|
+
name: 'addressRegistration',
|
|
8903
|
+
required: true,
|
|
8904
|
+
dadata: true,
|
|
8905
|
+
filledByEsia: true,
|
|
8906
|
+
},
|
|
8907
|
+
{ name: 'addressMatch' },
|
|
8908
|
+
],
|
|
8909
|
+
},
|
|
8910
|
+
{
|
|
8911
|
+
title: 'Адрес фактического проживания (место пребывания РФ)',
|
|
8912
|
+
inputs: [],
|
|
8913
|
+
},
|
|
8914
|
+
{
|
|
8915
|
+
inputs: [{ name: 'addressFact', required: true, dadata: true }],
|
|
8916
|
+
},
|
|
9033
8917
|
];
|
|
9034
|
-
const
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
8918
|
+
const EMPLOYMENT_CONTENT = [
|
|
8919
|
+
{
|
|
8920
|
+
title: 'Данные о трудоустройстве',
|
|
8921
|
+
inputs: [],
|
|
8922
|
+
},
|
|
8923
|
+
{
|
|
8924
|
+
inputs: [
|
|
8925
|
+
{
|
|
8926
|
+
name: 'infoCard',
|
|
8927
|
+
label: 'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, ' +
|
|
8928
|
+
'если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
|
|
8929
|
+
},
|
|
8930
|
+
],
|
|
8931
|
+
},
|
|
8932
|
+
{
|
|
8933
|
+
inputs: [
|
|
8934
|
+
{ name: 'employment', required: true },
|
|
8935
|
+
{ name: 'organizationName', required: true, dadata: true, filledByEsia: true },
|
|
8936
|
+
],
|
|
8937
|
+
},
|
|
8938
|
+
{
|
|
8939
|
+
columns: 2,
|
|
8940
|
+
inputs: [
|
|
8941
|
+
{ name: 'inn', required: true, dadata: true, filledByEsia: true },
|
|
8942
|
+
{ name: 'legalForm', required: true },
|
|
8943
|
+
],
|
|
8944
|
+
},
|
|
8945
|
+
{
|
|
8946
|
+
inputs: [
|
|
8947
|
+
{ name: 'organization', required: true },
|
|
8948
|
+
{ name: 'amountWorkers', required: true },
|
|
8949
|
+
],
|
|
8950
|
+
},
|
|
8951
|
+
{
|
|
8952
|
+
columns: 2,
|
|
8953
|
+
inputs: [
|
|
8954
|
+
{ name: 'employerOrganization', required: true },
|
|
8955
|
+
{ name: 'jobsNumber', required: true, filledByEsia: true },
|
|
8956
|
+
],
|
|
8957
|
+
},
|
|
8958
|
+
{
|
|
8959
|
+
inputs: [
|
|
8960
|
+
{
|
|
8961
|
+
name: 'organizationPhone',
|
|
8962
|
+
label: 'Телефон работодателя',
|
|
8963
|
+
required: true,
|
|
8964
|
+
},
|
|
8965
|
+
{ name: 'beginDate', required: true, filledByEsia: true },
|
|
8966
|
+
],
|
|
8967
|
+
},
|
|
8968
|
+
{
|
|
8969
|
+
title: 'Адрес работодателя',
|
|
8970
|
+
inputs: [],
|
|
8971
|
+
},
|
|
8972
|
+
{
|
|
8973
|
+
inputs: [{ name: 'organizationAddress', required: true, dadata: true }],
|
|
8974
|
+
},
|
|
8975
|
+
];
|
|
8976
|
+
const FAMILY_STATUS_AND_INCOME_CONTENT = [
|
|
8977
|
+
{
|
|
8978
|
+
title: 'Семейное положение',
|
|
8979
|
+
},
|
|
8980
|
+
{
|
|
8981
|
+
columns: 1,
|
|
8982
|
+
inputs: [{ name: 'familyStatus', required: true }],
|
|
8983
|
+
},
|
|
8984
|
+
{
|
|
8985
|
+
columns: 2,
|
|
8986
|
+
inputs: [
|
|
8987
|
+
{ name: 'children', required: true },
|
|
8988
|
+
{ name: 'dependents', required: true },
|
|
8989
|
+
],
|
|
8990
|
+
},
|
|
8991
|
+
{
|
|
8992
|
+
title: 'Совокупный доход',
|
|
8993
|
+
},
|
|
8994
|
+
{
|
|
8995
|
+
columns: 1,
|
|
8996
|
+
inputs: [
|
|
8997
|
+
{
|
|
8998
|
+
name: 'confirmationIncome',
|
|
8999
|
+
required: true,
|
|
9000
|
+
filledByEsia: true,
|
|
9001
|
+
},
|
|
9002
|
+
],
|
|
9003
|
+
},
|
|
9004
|
+
{
|
|
9005
|
+
inputs: [
|
|
9006
|
+
{
|
|
9007
|
+
name: 'infoCard',
|
|
9008
|
+
label: 'Сумма основного и дополнительных доходов после вычета налога',
|
|
9009
|
+
},
|
|
9010
|
+
],
|
|
9011
|
+
},
|
|
9012
|
+
{
|
|
9013
|
+
columns: 1,
|
|
9014
|
+
inputs: [{ name: 'wages', required: true, filledByEsia: true }],
|
|
9015
|
+
},
|
|
9016
|
+
{
|
|
9017
|
+
columns: 1,
|
|
9018
|
+
inputs: [
|
|
9019
|
+
{
|
|
9020
|
+
name: 'retirementIncome',
|
|
9021
|
+
required: true,
|
|
9022
|
+
condition: { name: 'employment', values: ['RETIREE'] },
|
|
9023
|
+
},
|
|
9024
|
+
],
|
|
9025
|
+
},
|
|
9026
|
+
{
|
|
9027
|
+
columns: 1,
|
|
9028
|
+
inputs: [{ name: 'mandatoryPayments', required: true }],
|
|
9029
|
+
},
|
|
9030
|
+
{
|
|
9031
|
+
columns: 1,
|
|
9032
|
+
inputs: [{ name: 'snils', required: true }],
|
|
9033
|
+
},
|
|
9034
|
+
{
|
|
9035
|
+
columns: 1,
|
|
9036
|
+
inputs: [{ name: 'initiateBankruptcyFlg' }],
|
|
9037
|
+
},
|
|
9038
|
+
];
|
|
9039
|
+
const DELIVERY_CREDIT_CONTENT = [
|
|
9040
|
+
{
|
|
9041
|
+
title: 'Отделение Банка',
|
|
9042
|
+
columns: 1,
|
|
9043
|
+
inputs: [],
|
|
9044
|
+
},
|
|
9045
|
+
{
|
|
9046
|
+
inputs: [{ name: 'regionRetail', required: true }],
|
|
9047
|
+
},
|
|
9048
|
+
{
|
|
9049
|
+
inputs: [{ name: 'addressRetail', required: true }],
|
|
9050
|
+
},
|
|
9051
|
+
{
|
|
9052
|
+
title: 'Код представителя Банка',
|
|
9053
|
+
columns: 1,
|
|
9054
|
+
inputs: [],
|
|
9055
|
+
},
|
|
9056
|
+
{
|
|
9057
|
+
inputs: [
|
|
9058
|
+
{
|
|
9059
|
+
name: 'infoCard',
|
|
9060
|
+
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
9061
|
+
},
|
|
9062
|
+
],
|
|
9063
|
+
},
|
|
9064
|
+
{
|
|
9065
|
+
inputs: [{ name: 'bankEmployeeCode' }],
|
|
9066
|
+
},
|
|
9067
|
+
];
|
|
9068
|
+
const CALCULATOR_CONTENT = [
|
|
9069
|
+
{
|
|
9070
|
+
columns: 1,
|
|
9071
|
+
inputs: [
|
|
9072
|
+
{
|
|
9073
|
+
name: 'calculator',
|
|
9074
|
+
},
|
|
9075
|
+
],
|
|
9076
|
+
},
|
|
9077
|
+
];
|
|
9078
|
+
const stepsSectionsMap$1 = [
|
|
9079
|
+
CALCULATOR_CONTENT,
|
|
9080
|
+
PERSONAL_INFO_CONTENT,
|
|
9081
|
+
EMPLOYMENT_CONTENT,
|
|
9082
|
+
FAMILY_STATUS_AND_INCOME_CONTENT,
|
|
9083
|
+
DELIVERY_CREDIT_CONTENT,
|
|
9084
|
+
];
|
|
9085
|
+
|
|
9086
|
+
const STEPS$1 = 4;
|
|
9087
|
+
const STEP_TITLES$1 = [
|
|
9088
|
+
'',
|
|
9089
|
+
'Персональные данные',
|
|
9090
|
+
'Данные о трудоустройстве',
|
|
9091
|
+
'Семейное положение и доход',
|
|
9092
|
+
'Отделение Банка',
|
|
9093
|
+
];
|
|
9094
|
+
const CreditForm = UniBlock(({ className, programsSource, ...rest }) => {
|
|
9095
|
+
const [step, setStep] = useState(0);
|
|
9096
|
+
const formContainerRef = useRef(null);
|
|
9097
|
+
const scrollToTop = useCallback(() => formContainerRef?.current?.scrollIntoView({ behavior: 'smooth' }), [formContainerRef]);
|
|
9098
|
+
useEffect(updateRefreshToken, []);
|
|
9099
|
+
const handleNextStep = useCallback(() => {
|
|
9100
|
+
setStep((_) => Math.min(_ + 1, STEPS$1));
|
|
9101
|
+
scrollToTop();
|
|
9102
|
+
}, []);
|
|
9103
|
+
const handlePrevStep = useCallback(() => {
|
|
9104
|
+
//TODO search hook - 1,
|
|
9105
|
+
setStep((_) => Math.max(_ - 1, 0));
|
|
9106
|
+
scrollToTop();
|
|
9047
9107
|
}, []);
|
|
9048
9108
|
const sections = stepsSectionsMap$1[step];
|
|
9049
9109
|
const isStartStep = step === 0;
|
|
@@ -9334,8 +9394,76 @@
|
|
|
9334
9394
|
return (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep$1({ sections, field, step }), jsx(StepsNavigationButtons, { step: step, isSending: isSending, onPrevStep: onPrevStep })] }));
|
|
9335
9395
|
});
|
|
9336
9396
|
|
|
9397
|
+
const DEBIT_PERSONAL_INFO_CONTENT = [
|
|
9398
|
+
...PERSONAL_DATA,
|
|
9399
|
+
{
|
|
9400
|
+
title: 'Адрес регистрации по месту жительства',
|
|
9401
|
+
columns: 1,
|
|
9402
|
+
inputs: [],
|
|
9403
|
+
},
|
|
9404
|
+
{
|
|
9405
|
+
inputs: [
|
|
9406
|
+
{
|
|
9407
|
+
name: 'addressRegistration',
|
|
9408
|
+
required: true,
|
|
9409
|
+
dadata: true,
|
|
9410
|
+
filledByEsia: true,
|
|
9411
|
+
},
|
|
9412
|
+
{ name: 'addressMatch' },
|
|
9413
|
+
],
|
|
9414
|
+
},
|
|
9415
|
+
{
|
|
9416
|
+
title: 'Адрес фактического проживания (место пребывания РФ)',
|
|
9417
|
+
inputs: [],
|
|
9418
|
+
},
|
|
9419
|
+
{
|
|
9420
|
+
inputs: [{ name: 'addressFact', required: true, dadata: true }],
|
|
9421
|
+
},
|
|
9422
|
+
];
|
|
9423
|
+
const DEBIT_CARD_CONTENT = [
|
|
9424
|
+
{
|
|
9425
|
+
title: 'Параметры карты',
|
|
9426
|
+
inputs: [],
|
|
9427
|
+
},
|
|
9428
|
+
{
|
|
9429
|
+
inputs: [
|
|
9430
|
+
{ name: 'currency', required: true },
|
|
9431
|
+
{ name: 'paymentSystem', required: true },
|
|
9432
|
+
{ name: 'cardCategory', required: true },
|
|
9433
|
+
],
|
|
9434
|
+
},
|
|
9435
|
+
{
|
|
9436
|
+
title: 'Отображение на карте',
|
|
9437
|
+
inputs: [],
|
|
9438
|
+
},
|
|
9439
|
+
{
|
|
9440
|
+
columns: 2,
|
|
9441
|
+
inputs: [{ name: 'latinName' }, { name: 'latinSurname', required: true }],
|
|
9442
|
+
},
|
|
9443
|
+
{
|
|
9444
|
+
inputs: [
|
|
9445
|
+
{
|
|
9446
|
+
name: 'infoCard',
|
|
9447
|
+
label: 'Проверьте корректность заполненных полей, при необходимости внесите изменения.',
|
|
9448
|
+
},
|
|
9449
|
+
],
|
|
9450
|
+
},
|
|
9451
|
+
{
|
|
9452
|
+
inputs: [
|
|
9453
|
+
{
|
|
9454
|
+
name: 'infoCard',
|
|
9455
|
+
label:
|
|
9456
|
+
// eslint-disable-next-line max-len
|
|
9457
|
+
'Количество символов ограничивается 20. При этом, если фамилия и имя на карте содержит более 21 символа, то необходимо сократить имя и указывать на карте только первую букву имени и фамилию, если при таком сокращении фамилия и имя не умещается в количество символов – 20, то указывать только фамилию.',
|
|
9458
|
+
},
|
|
9459
|
+
],
|
|
9460
|
+
},
|
|
9461
|
+
{
|
|
9462
|
+
inputs: [{ name: 'codeWord', required: true }],
|
|
9463
|
+
},
|
|
9464
|
+
];
|
|
9337
9465
|
const stepsSectionsMap = [
|
|
9338
|
-
|
|
9466
|
+
DELIVERY_CARD_CONTENT,
|
|
9339
9467
|
DEBIT_PERSONAL_INFO_CONTENT,
|
|
9340
9468
|
DEBIT_CARD_CONTENT,
|
|
9341
9469
|
];
|
|
@@ -9368,7 +9496,7 @@
|
|
|
9368
9496
|
|
|
9369
9497
|
const DEFAULT_MIN_SUM = 500;
|
|
9370
9498
|
const DEFAULT_MAX_SUM = 1000000000;
|
|
9371
|
-
const initialFiltrationState
|
|
9499
|
+
const initialFiltrationState = {
|
|
9372
9500
|
sum: {
|
|
9373
9501
|
min: 10000,
|
|
9374
9502
|
max: DEFAULT_MAX_SUM,
|
|
@@ -9376,7 +9504,7 @@
|
|
|
9376
9504
|
period: 3,
|
|
9377
9505
|
};
|
|
9378
9506
|
const DepositFiltration = UniBlock(({ className, filtrationSchema = {}, resetButton, sumInput, periodInput, ...rest }) => {
|
|
9379
|
-
const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState
|
|
9507
|
+
const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState, {
|
|
9380
9508
|
block: rest.block,
|
|
9381
9509
|
page: rest.options?.page,
|
|
9382
9510
|
normalize: (content) => ({ ...content, period: getPeriod(content) }),
|
|
@@ -9405,115 +9533,6 @@
|
|
|
9405
9533
|
.filter(isRateRow)
|
|
9406
9534
|
.flatMap((_) => numberRange(_.minMonths, _.maxMonths))).sort((a, b) => a - b) || [];
|
|
9407
9535
|
|
|
9408
|
-
const DEFAULT_OPTIONS = [{ key: '10' }, { key: '50' }, { key: '100' }];
|
|
9409
|
-
const PageSizeSelector = ({ itemCount, onItemCountChange }) => {
|
|
9410
|
-
const handleItemCountChange = useCallback(({ key }) => onItemCountChange(Number(key)), []);
|
|
9411
|
-
return (jsxs("div", { className: "mt-2 @lg:mt-0 items-center gap-s hidden @lg:flex", children: [jsx("span", { children: "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E" }), jsx(Select, { className: "min-w-20", onChange: handleItemCountChange, value: { key: String(itemCount) }, options: DEFAULT_OPTIONS, iconVersion: "black" })] }));
|
|
9412
|
-
};
|
|
9413
|
-
|
|
9414
|
-
const paginationBlockStyle = 'py-m @lg:px-lg px-m rounded-md cursor-pointer text-center min-w-10 @lg:min-w-0 hover:bg-primary-hover hover:text-white';
|
|
9415
|
-
|
|
9416
|
-
const checkPageRange = (page, currentPage, totalPages) => (currentPage <= 2 && page <= currentPage + 2) ||
|
|
9417
|
-
(currentPage >= totalPages - 1 && page >= totalPages - 3);
|
|
9418
|
-
const shouldRenderPage = (page, currentPage, totalPages) => (page < currentPage && page >= currentPage - 1) ||
|
|
9419
|
-
(page <= currentPage + 1 && page > currentPage) ||
|
|
9420
|
-
checkPageRange(page, currentPage, totalPages);
|
|
9421
|
-
|
|
9422
|
-
const renderPages = (pagesParams, index) => {
|
|
9423
|
-
const { currentPage, onPageChange, totalPages } = pagesParams;
|
|
9424
|
-
const page = index + 1;
|
|
9425
|
-
if (page === currentPage) {
|
|
9426
|
-
return (jsx("div", { "aria-current": "true", className: "py-m @lg:px-lg px-m bg-primary-main text-center min-w-10 @lg:min-w-0 text-white rounded-md", children: page }, String(index)));
|
|
9427
|
-
}
|
|
9428
|
-
if (page !== 1 && page !== totalPages && shouldRenderPage(page, currentPage, totalPages)) {
|
|
9429
|
-
return (jsx("div", { onClick: () => onPageChange(page), className: paginationBlockStyle, "aria-label": `Страница ${page}`, children: page }, String(index)));
|
|
9430
|
-
}
|
|
9431
|
-
return null;
|
|
9432
|
-
};
|
|
9433
|
-
|
|
9434
|
-
const ICON_SIZE = { width: '24', height: '24' };
|
|
9435
|
-
const PaginationContainer = ({ currentPage, onPageChange, totalPages, }) => {
|
|
9436
|
-
const pages = useMemo(() => Array.from({ length: totalPages }).fill({
|
|
9437
|
-
currentPage,
|
|
9438
|
-
onPageChange,
|
|
9439
|
-
totalPages,
|
|
9440
|
-
}), [totalPages, currentPage]);
|
|
9441
|
-
const handlePrevPage = useCallback(() => {
|
|
9442
|
-
if (currentPage > 1) {
|
|
9443
|
-
onPageChange(currentPage - 1);
|
|
9444
|
-
}
|
|
9445
|
-
}, [currentPage]);
|
|
9446
|
-
const handleNextPage = useCallback(() => {
|
|
9447
|
-
if (currentPage < totalPages) {
|
|
9448
|
-
onPageChange(currentPage + 1);
|
|
9449
|
-
}
|
|
9450
|
-
}, [currentPage, totalPages]);
|
|
9451
|
-
const handleFirstPage = useCallback(() => onPageChange(1), []);
|
|
9452
|
-
const handleLastPage = useCallback(() => onPageChange(totalPages), [totalPages]);
|
|
9453
|
-
return (jsxs("div", { className: "flex gap-m items-center", children: [jsx("div", { onClick: handlePrevPage, children: jsx(Icon, { name: "ArrowLeftIcon", iconVersion: "black", imageClassName: getIconStyle(currentPage === 1), ...ICON_SIZE }) }), jsxs("div", { className: "flex @lg:gap-2xs", children: [currentPage > 1 ? (jsx("div", { onClick: handleFirstPage, className: paginationBlockStyle, "aria-label": "\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 1", children: "1" })) : null, currentPage > 3 ? jsx("div", { className: "py-m @lg:px-s", children: "..." }) : null, pages.map(renderPages), currentPage < totalPages - 2 ? jsx("div", { className: "py-m @lg:px-s", children: "..." }) : null, currentPage < totalPages ? (jsx("div", { onClick: handleLastPage, className: paginationBlockStyle, "aria-label": `Страница ${totalPages}`, children: totalPages })) : null] }), jsx("div", { onClick: handleNextPage, children: jsx(Icon, { className: "rotate-180", name: "ArrowLeftIcon", iconVersion: "black", imageClassName: getIconStyle(currentPage === totalPages), ...ICON_SIZE }) })] }));
|
|
9454
|
-
};
|
|
9455
|
-
const getIconStyle = (condition) => condition ? 'opacity-20' : 'cursor-pointer hover:opacity-60';
|
|
9456
|
-
|
|
9457
|
-
const Pagination = ({ currentPage, onPageChange, totalPages, itemCount, onItemCountChange, }) => (jsxs("div", { className: "mt-3xl flex justify-between flex-col @lg:flex-row items-center select-none", role: "navigation", "aria-label": "\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F", children: [jsx(PaginationContainer, { currentPage: currentPage, onPageChange: onPageChange, totalPages: totalPages }), itemCount && onItemCountChange ? (jsx(PageSizeSelector, { itemCount: itemCount, onItemCountChange: onItemCountChange })) : null] }));
|
|
9458
|
-
|
|
9459
|
-
const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus, placeholder = 'Поиск по сайту' }) => {
|
|
9460
|
-
const handleChange = useCallback((ev) => {
|
|
9461
|
-
onChange && onChange(ev.target?.value || '');
|
|
9462
|
-
}, [onChange]);
|
|
9463
|
-
return (jsxs("div", { className: style('relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-m pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: 'black' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-14 w-full px-10 text-l text-black box-border rounded-md', inputValidStyle), value: value, type: "text", name: "search-bar-input", placeholder: placeholder, autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
|
|
9464
|
-
});
|
|
9465
|
-
|
|
9466
|
-
const DepositoryFilter = JSX(({ field, onClearFilter, filtrationState }) => (jsxs("div", { className: "grid grid-cols-12 mb-3xl @lg:space-x-xl", children: [jsx(SearchInput, { className: "col-span-12 @lg:col-span-4 mt-auto", placeholder: "\u041F\u043E\u0438\u0441\u043A", ...field('query') }), jsx(DatePicker, { className: "col-span-12 @lg:col-span-3 mt-4 @lg:mt-0", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u043E\u0442", maxDate: filtrationState.endDate, ...field('startDate') }), jsx(DatePicker, { className: "col-span-12 @lg:col-span-3 mt-4 @lg:mt-0", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u0434\u043E", minDate: filtrationState.startDate, ...field('endDate') }), jsx("div", { className: "col-span-12 @lg:col-span-2 mt-8 @lg:mt-auto", children: jsx(Button, { type: "reset", className: "w-full", version: "secondary", onClick: onClearFilter, children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C" }) })] })));
|
|
9467
|
-
|
|
9468
|
-
const DepositoryItem = JSX(({ title, timestamp, publicId }) => {
|
|
9469
|
-
const link = useLink();
|
|
9470
|
-
const { href } = link({ href: `${API_BASE_URI$1}/depository/${publicId}/file` });
|
|
9471
|
-
return (jsxs("div", { className: "flex gap-3 items-center py-lg border-gray border-opacity-50 border-b", children: [jsx(RoundedIcon, { className: "shrink-0", icon: "DocDownloadIcon", iconVersion: "black" }), jsxs("div", { className: "flex flex-col gap-x-6xl lg:flex-row lg:items-center", children: [timestamp ? (jsx(Text, { size: "text-m", "font-weight": "font-light", children: formatDate(timestamp) })) : null, jsx("a", { className: "text-h6 hover:text-primary-active", href: href, download: true, "aria-label": "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: title })] })] }, publicId));
|
|
9472
|
-
});
|
|
9473
|
-
|
|
9474
|
-
const DEPOSITARY_URL = `${API_BASE_URI$1}/depository`;
|
|
9475
|
-
const useDepository = ({ size, page, query, startDate, endDate }) => {
|
|
9476
|
-
const formatStartDate = startDate ? formatDate(startDate, true) : '';
|
|
9477
|
-
const formatEndDate = endDate ? formatDate(endDate, true) : '';
|
|
9478
|
-
const searchParams = new URLSearchParams(DEPOSITARY_URL);
|
|
9479
|
-
searchParams.set('page', String(page));
|
|
9480
|
-
searchParams.set('size', String(size));
|
|
9481
|
-
searchParams.set('query', query);
|
|
9482
|
-
searchParams.set('timestampStart', formatStartDate);
|
|
9483
|
-
searchParams.set('timestampEnd', formatEndDate);
|
|
9484
|
-
const queryString = `?${searchParams.toString()}`;
|
|
9485
|
-
const { data } = useAsyncData(DEPOSITARY_URL + queryString, fetchJSONUnsafe);
|
|
9486
|
-
return { items: data?.content, totalPages: data?.totalPages };
|
|
9487
|
-
};
|
|
9488
|
-
|
|
9489
|
-
const DEFAULT_ITEMS_COUNT = 10;
|
|
9490
|
-
const initialFiltrationState$1 = {
|
|
9491
|
-
startDate: undefined,
|
|
9492
|
-
endDate: undefined,
|
|
9493
|
-
query: '',
|
|
9494
|
-
};
|
|
9495
|
-
const Depository = UniBlock(({ className, ...rest }) => {
|
|
9496
|
-
const [currentPage, setCurrentPage] = useState(0);
|
|
9497
|
-
const [itemCount, setItemCount] = useState(DEFAULT_ITEMS_COUNT);
|
|
9498
|
-
const [filtrationState, { field, reset }] = useForm(initialFiltrationState$1);
|
|
9499
|
-
const { totalPages = 0, items = [] } = useDepository({
|
|
9500
|
-
size: itemCount,
|
|
9501
|
-
page: currentPage,
|
|
9502
|
-
...filtrationState,
|
|
9503
|
-
});
|
|
9504
|
-
const handleChangePage = useCallback((page) => setCurrentPage(page - 1), []);
|
|
9505
|
-
const handleItemCountChange = useCallback((count) => {
|
|
9506
|
-
if (itemCount !== count) {
|
|
9507
|
-
setItemCount(count);
|
|
9508
|
-
setCurrentPage(0);
|
|
9509
|
-
}
|
|
9510
|
-
else {
|
|
9511
|
-
setItemCount(count);
|
|
9512
|
-
}
|
|
9513
|
-
}, []);
|
|
9514
|
-
return (jsxs(BlockWrapper, { className: style(className, 'container p-6xl'), ...rest, children: [jsx(DepositoryFilter, { filtrationState: filtrationState, field: field, onClearFilter: reset }), jsxs("div", { className: "flex flex-col", children: [jsxs("div", { className: "grid grid-cols-12 pb-lg border-gray border-opacity-50 border-b", children: [jsx("div", { className: "col-span-4 @lg:col-span-2 hidden @lg:block", children: jsx(Text, { size: "text-m", color: "text-secondary-text", children: "\u0414\u0430\u0442\u0430" }) }), jsx("span", { className: "col-span-8 @lg:col-span-10 hidden @lg:block", children: jsx(Text, { size: "text-m", color: "text-secondary-text", children: "\u0422\u0435\u043C\u0430" }) })] }), items.length ? (items.map((params) => jsx(DepositoryItem, { ...params }, String(params.publicId)))) : (jsx(NotFound, { title: "\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E", description: "\u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440\u044B" })), jsx(Pagination, { currentPage: currentPage + 1, onPageChange: handleChangePage, totalPages: totalPages, itemCount: itemCount, onItemCountChange: handleItemCountChange })] })] }));
|
|
9515
|
-
});
|
|
9516
|
-
|
|
9517
9536
|
const renderErrorContent = (error) => {
|
|
9518
9537
|
if (error?.contentType === 'Image' && error?.image) {
|
|
9519
9538
|
return jsx(Img, { image: error.image });
|
|
@@ -9525,214 +9544,6 @@
|
|
|
9525
9544
|
};
|
|
9526
9545
|
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] })));
|
|
9527
9546
|
|
|
9528
|
-
const REGION_URL = `${API_BASE_URI$1}/region`;
|
|
9529
|
-
function useLocation(defaultLocation = 'Москва') {
|
|
9530
|
-
const locationStore = useLocalStore();
|
|
9531
|
-
return locationStore.location ?? { name: defaultLocation };
|
|
9532
|
-
}
|
|
9533
|
-
function useDefaultLocation(defaultLocation = 'Москва') {
|
|
9534
|
-
const locationStore = useLocalStore();
|
|
9535
|
-
const preselectLocation = useCallback(async () => {
|
|
9536
|
-
if (!locationStore.location) {
|
|
9537
|
-
const region = await fetchJSON(REGION_URL);
|
|
9538
|
-
locationStore.location = region ?? { name: defaultLocation };
|
|
9539
|
-
}
|
|
9540
|
-
}, [locationStore, defaultLocation]);
|
|
9541
|
-
useAsyncData(REGION_URL, preselectLocation);
|
|
9542
|
-
return locationStore;
|
|
9543
|
-
}
|
|
9544
|
-
|
|
9545
|
-
var Currency;
|
|
9546
|
-
(function (Currency) {
|
|
9547
|
-
Currency["RUB"] = "RUB";
|
|
9548
|
-
Currency["EUR"] = "EUR";
|
|
9549
|
-
Currency["USD"] = "USD";
|
|
9550
|
-
Currency["CNY"] = "CNY";
|
|
9551
|
-
})(Currency || (Currency = {}));
|
|
9552
|
-
|
|
9553
|
-
const currencyNumberFormat = new Intl.NumberFormat('ru', {
|
|
9554
|
-
style: 'currency',
|
|
9555
|
-
currency: Currency.RUB,
|
|
9556
|
-
});
|
|
9557
|
-
const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
|
|
9558
|
-
|
|
9559
|
-
const TABLE_STYLE_BASE = 'text-m font-light text-secondary-text ';
|
|
9560
|
-
const TABLE_HEAD_STYLE = `${TABLE_STYLE_BASE} text-left`;
|
|
9561
|
-
const TABLE_HEAD_STYLE_CENTER = `${TABLE_STYLE_BASE} pl-5xl text-center`;
|
|
9562
|
-
const TABLE_HEAD_STYLE_RIGHT = `${TABLE_STYLE_BASE} pl-5xl text-right`;
|
|
9563
|
-
const CURRENCY_ICONS_MAP = {
|
|
9564
|
-
USD: 'DollarIcon',
|
|
9565
|
-
EUR: 'EuroIcon',
|
|
9566
|
-
CNY: 'ChineseYuanRenminbiIcon',
|
|
9567
|
-
};
|
|
9568
|
-
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) })] })));
|
|
9569
|
-
const renderCurrencyRow = (exchangeCurrencyItem) => {
|
|
9570
|
-
const currency = exchangeCurrencyItem?.currency?.currency;
|
|
9571
|
-
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));
|
|
9572
|
-
};
|
|
9573
|
-
|
|
9574
|
-
const icon = { icon: 'GpsIcon' };
|
|
9575
|
-
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" })] })] })));
|
|
9576
|
-
|
|
9577
|
-
const roundTo = (value, precision = 2) => {
|
|
9578
|
-
const factor = 10 ** precision;
|
|
9579
|
-
return Math.round(parseFloat(String(value)) * factor) / factor;
|
|
9580
|
-
};
|
|
9581
|
-
|
|
9582
|
-
const calculateResult = (value, rate, precision) => {
|
|
9583
|
-
const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
|
|
9584
|
-
return Number.isInteger(result) ? result : roundTo(result);
|
|
9585
|
-
};
|
|
9586
|
-
const formatValue = (value) => value.replace(/[^\d.,]/g, '').replace(',', '.');
|
|
9587
|
-
|
|
9588
|
-
function assertNonEmpty(value) {
|
|
9589
|
-
if (!value) {
|
|
9590
|
-
throw new Error('Value should be fulfilled');
|
|
9591
|
-
}
|
|
9592
|
-
return value;
|
|
9593
|
-
}
|
|
9594
|
-
|
|
9595
|
-
const baseTableFunc = (table) => (input) => {
|
|
9596
|
-
const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(input)));
|
|
9597
|
-
return unit(input);
|
|
9598
|
-
};
|
|
9599
|
-
const tableFunc = (table) => baseTableFunc(table.map(([p, o]) => [p, () => o]));
|
|
9600
|
-
tableFunc.if = (predicate) => new TableFuncBuilder(undefined, predicate);
|
|
9601
|
-
class TableFuncBuilder {
|
|
9602
|
-
parent;
|
|
9603
|
-
predicate;
|
|
9604
|
-
unit;
|
|
9605
|
-
get entry() {
|
|
9606
|
-
return [assertNonEmpty(this.predicate), assertNonEmpty(this.unit)];
|
|
9607
|
-
}
|
|
9608
|
-
constructor(parent, predicate, unit) {
|
|
9609
|
-
this.parent = parent;
|
|
9610
|
-
this.predicate = predicate;
|
|
9611
|
-
this.unit = unit;
|
|
9612
|
-
}
|
|
9613
|
-
if(predicate) {
|
|
9614
|
-
return new TableFuncBuilder(this, predicate);
|
|
9615
|
-
}
|
|
9616
|
-
then(unit) {
|
|
9617
|
-
return new TableFuncBuilder(this.parent, this.predicate, unit);
|
|
9618
|
-
}
|
|
9619
|
-
else(unit) {
|
|
9620
|
-
return baseTableFunc([...buildTable(this), [() => true, unit]]);
|
|
9621
|
-
}
|
|
9622
|
-
}
|
|
9623
|
-
const buildTable = (builder) => [
|
|
9624
|
-
...(builder?.parent ? buildTable(builder.parent) : []),
|
|
9625
|
-
builder.entry,
|
|
9626
|
-
];
|
|
9627
|
-
|
|
9628
|
-
const callbackCurrencySelect = (props) => tableFunc([
|
|
9629
|
-
[
|
|
9630
|
-
(_) => _.value !== Currency.RUB && _.oppositeValue !== Currency.RUB,
|
|
9631
|
-
() => props.handleConvert(props.value, Currency.RUB),
|
|
9632
|
-
],
|
|
9633
|
-
[
|
|
9634
|
-
(_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
|
|
9635
|
-
() => props.handleConvert(props.value, Currency.USD),
|
|
9636
|
-
],
|
|
9637
|
-
[
|
|
9638
|
-
(_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
|
|
9639
|
-
() => props.handleConvert(props.value, Currency.CNY),
|
|
9640
|
-
],
|
|
9641
|
-
[() => true, () => props.handleConvert(props.value)],
|
|
9642
|
-
])(props)?.();
|
|
9643
|
-
|
|
9644
|
-
function renderInput(props) {
|
|
9645
|
-
const { placeholder, rates, selected, value, setValue, setSelected } = props;
|
|
9646
|
-
const ratesOptions = rates.map((_) => ({
|
|
9647
|
-
key: _?.currency?.currency ?? '',
|
|
9648
|
-
text: _?.currency?.currency ?? '',
|
|
9649
|
-
}));
|
|
9650
|
-
const selectedValue = { key: selected, text: selected };
|
|
9651
|
-
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] }));
|
|
9652
|
-
}
|
|
9653
|
-
|
|
9654
|
-
const ExchangeCurrencyCalculator = JSX(({ className = '', currencyRatesBuy, currencyRatesSell, button }) => {
|
|
9655
|
-
const [calcState, setCalcState] = useState({
|
|
9656
|
-
inputSell: '',
|
|
9657
|
-
inputBuy: '',
|
|
9658
|
-
selectSell: currencyRatesBuy?.[0]?.currency?.currency || Currency.RUB,
|
|
9659
|
-
selectBuy: currencyRatesSell?.[0]?.currency?.currency || Currency.USD,
|
|
9660
|
-
});
|
|
9661
|
-
const handleSetCalcState = useCallback((newState) => setCalcState((oldState) => ({ ...oldState, ...newState })), []);
|
|
9662
|
-
return (jsxs("div", { className: `flex flex-col gap-m pt-2xl ${className}`, children: [currencyRatesBuy && currencyRatesSell ? (jsxs("div", { className: "grid gap-m", children: [renderInput({
|
|
9663
|
-
placeholder: 'Хочу продать',
|
|
9664
|
-
rates: currencyRatesSell,
|
|
9665
|
-
selected: calcState.selectSell,
|
|
9666
|
-
setSelected: handleSelectSell(calcState, handleSetCalcState, currencyRatesSell),
|
|
9667
|
-
value: calcState.inputSell,
|
|
9668
|
-
setValue: (value) => handleInputSell(handleSetCalcState, currencyRatesSell)(value, calcState.selectSell, calcState.selectBuy),
|
|
9669
|
-
}), renderInput({
|
|
9670
|
-
placeholder: 'Получу',
|
|
9671
|
-
rates: currencyRatesBuy,
|
|
9672
|
-
selected: calcState.selectBuy,
|
|
9673
|
-
setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
|
|
9674
|
-
value: calcState.inputBuy,
|
|
9675
|
-
setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
|
|
9676
|
-
})] })) : null, button?.text ? (jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
|
|
9677
|
-
});
|
|
9678
|
-
const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
|
|
9679
|
-
setCalcState({ selectSell: value });
|
|
9680
|
-
callbackCurrencySelect({
|
|
9681
|
-
value,
|
|
9682
|
-
oppositeValue: calcState.selectBuy,
|
|
9683
|
-
handleConvert: (currencyFrom = calcState.selectSell, currencyTo = calcState.selectBuy) => {
|
|
9684
|
-
handleInputSell(setCalcState, currencyRatesSell)(calcState.inputSell, currencyFrom, currencyTo);
|
|
9685
|
-
},
|
|
9686
|
-
});
|
|
9687
|
-
};
|
|
9688
|
-
const handleSelectBuy = (calcState, setCalcState, currencyRatesBuy) => (value) => {
|
|
9689
|
-
setCalcState({ selectBuy: value });
|
|
9690
|
-
callbackCurrencySelect({
|
|
9691
|
-
value,
|
|
9692
|
-
oppositeValue: calcState.selectSell,
|
|
9693
|
-
handleConvert: (currencyTo = calcState.selectBuy, currencyFrom = calcState.selectSell) => handleInputBuy(setCalcState, currencyRatesBuy)(calcState.inputBuy, currencyTo, currencyFrom),
|
|
9694
|
-
});
|
|
9695
|
-
};
|
|
9696
|
-
const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
|
|
9697
|
-
setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
|
|
9698
|
-
const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.buyExchangeRate ||
|
|
9699
|
-
currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
|
|
9700
|
-
if (rate) {
|
|
9701
|
-
setCalcState({
|
|
9702
|
-
inputBuy: String(calculateResult(value, rate, currencyFrom === Currency.RUB) || ''),
|
|
9703
|
-
});
|
|
9704
|
-
}
|
|
9705
|
-
};
|
|
9706
|
-
const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
|
|
9707
|
-
setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
|
|
9708
|
-
const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.saleExchangeRate ||
|
|
9709
|
-
currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
|
|
9710
|
-
if (rate) {
|
|
9711
|
-
setCalcState({
|
|
9712
|
-
inputSell: String(calculateResult(value, rate, currencyTo === Currency.RUB) || ''),
|
|
9713
|
-
});
|
|
9714
|
-
}
|
|
9715
|
-
};
|
|
9716
|
-
|
|
9717
|
-
const EXCHANGE_RATES_URL = `${API_BASE_URI$1}/exchangerates`;
|
|
9718
|
-
function useFetchExchangeRateData(currentRegion) {
|
|
9719
|
-
const regionCode = currentRegion?.code || '000';
|
|
9720
|
-
const { data } = useAsyncData(EXCHANGE_RATES_URL + `?regionCode=${regionCode}`, fetchJSONUnsafe);
|
|
9721
|
-
return data || {};
|
|
9722
|
-
}
|
|
9723
|
-
|
|
9724
|
-
const ExchangeRateTile = JSX(({ className = '', title = 'Курсы обмена валют', button, ...rest }) => {
|
|
9725
|
-
const currentLocation = useLocation();
|
|
9726
|
-
const exchangeRates = useFetchExchangeRateData(currentLocation);
|
|
9727
|
-
const currencyRates = getCurrencyRates(exchangeRates?.exchangeRate?.currencies);
|
|
9728
|
-
const currencyRatesBuy = currencyRates.filter((_) => _.buyExchangeRate);
|
|
9729
|
-
currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
|
|
9730
|
-
const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
|
|
9731
|
-
currencyRatesSell.push({ currency: { currency: Currency.RUB } });
|
|
9732
|
-
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 })] }) }) }));
|
|
9733
|
-
});
|
|
9734
|
-
const getCurrencyRates = (currencies) => currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
|
|
9735
|
-
|
|
9736
9547
|
const LinkList = JSX(({ className = '', items }) => {
|
|
9737
9548
|
const link = useLink();
|
|
9738
9549
|
return (jsx("ul", { className: style('flex flex-col gap-s w-full', className), children: items?.map(renderLinkListItem(link)) }));
|
|
@@ -9779,7 +9590,7 @@
|
|
|
9779
9590
|
return (jsx("a", { className: style('text-secondary-text', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
|
|
9780
9591
|
});
|
|
9781
9592
|
|
|
9782
|
-
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-
|
|
9593
|
+
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 })));
|
|
9783
9594
|
|
|
9784
9595
|
const LEFT_COLUMN_STYLE = 'w-full lg:w-52';
|
|
9785
9596
|
|
|
@@ -9914,12 +9725,13 @@
|
|
|
9914
9725
|
const SEARCH_INDEX_FILENAME = 'search.index.json';
|
|
9915
9726
|
const useSearch = ({ basePathList, initialQuery = '', }) => {
|
|
9916
9727
|
const [query, setQuery] = useState(initialQuery || '');
|
|
9728
|
+
const router = useRouter();
|
|
9917
9729
|
useEffect(() => {
|
|
9918
9730
|
if (initialQuery !== undefined && initialQuery !== null) {
|
|
9919
9731
|
setQuery(initialQuery);
|
|
9920
9732
|
}
|
|
9921
9733
|
}, [initialQuery]);
|
|
9922
|
-
const { data } = useAsyncData(basePathList?.length ? basePathList : null, fetchSearchIndex);
|
|
9734
|
+
const { data } = useAsyncData(basePathList?.length ? basePathList : null, fetchSearchIndex(router));
|
|
9923
9735
|
const [result, setResult] = useState(null);
|
|
9924
9736
|
useDebouncedEffect(() => {
|
|
9925
9737
|
if (data) {
|
|
@@ -9928,13 +9740,13 @@
|
|
|
9928
9740
|
}, [data, query]);
|
|
9929
9741
|
return [result, { value: query, onChange: setQuery }];
|
|
9930
9742
|
};
|
|
9931
|
-
const fetchSearchIndex = async (...basePathList) => (await Promise.allSettled(basePathList.map(async (basePath) => [
|
|
9743
|
+
const fetchSearchIndex = (router) => async (...basePathList) => (await Promise.allSettled(basePathList.map(async (basePath) => [
|
|
9932
9744
|
basePath,
|
|
9933
9745
|
await fetchJSON(joinPath(basePath, SEARCH_INDEX_FILENAME)),
|
|
9934
9746
|
])))
|
|
9935
9747
|
.map((_) => (_.status === 'fulfilled' ? _.value : []))
|
|
9936
|
-
.map(getSearchIndex);
|
|
9937
|
-
const getSearchIndex = ([basePath, result]) => {
|
|
9748
|
+
.map(getSearchIndex(router));
|
|
9749
|
+
const getSearchIndex = (router) => ([basePath, result]) => {
|
|
9938
9750
|
if (!result) {
|
|
9939
9751
|
return {};
|
|
9940
9752
|
}
|
|
@@ -9942,11 +9754,18 @@
|
|
|
9942
9754
|
...result,
|
|
9943
9755
|
corpus: result.corpus?.map((_) => ({
|
|
9944
9756
|
..._,
|
|
9945
|
-
uri: _.uri === 'index' ? basePath :
|
|
9757
|
+
uri: _.uri === 'index' ? basePath : adjustHref(router)(_.uri, basePath),
|
|
9946
9758
|
})),
|
|
9947
9759
|
};
|
|
9948
9760
|
};
|
|
9949
9761
|
|
|
9762
|
+
const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus, placeholder = 'Поиск по сайту' }) => {
|
|
9763
|
+
const handleChange = useCallback((ev) => {
|
|
9764
|
+
onChange && onChange(ev.target?.value || '');
|
|
9765
|
+
}, [onChange]);
|
|
9766
|
+
return (jsxs("div", { className: style('relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-m pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: 'black' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-14 w-full px-10 text-l text-black box-border rounded-md', inputValidStyle), value: value, type: "text", name: "search-bar-input", placeholder: placeholder, autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
|
|
9767
|
+
});
|
|
9768
|
+
|
|
9950
9769
|
const SearchDialog = JSX(({ initialQuery, navigationItems, onClose }) => {
|
|
9951
9770
|
const basePathList = useMemo(() => navigationItems?.map((_) => _.href || '/'), [navigationItems]);
|
|
9952
9771
|
const [searchResult, searchInputProps] = useSearch({
|
|
@@ -9988,7 +9807,7 @@
|
|
|
9988
9807
|
const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
|
|
9989
9808
|
const link = useLink();
|
|
9990
9809
|
const { href, target, text, onClick } = link(rest);
|
|
9991
|
-
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-
|
|
9810
|
+
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}` }));
|
|
9992
9811
|
});
|
|
9993
9812
|
|
|
9994
9813
|
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] })));
|
|
@@ -10012,8 +9831,48 @@
|
|
|
10012
9831
|
'': '',
|
|
10013
9832
|
};
|
|
10014
9833
|
|
|
10015
|
-
const
|
|
9834
|
+
const useSortProductBlocks = (parentBlock = {}) => {
|
|
9835
|
+
const [blocks, setBlocks] = useState(parentBlock.blocks ?? []);
|
|
9836
|
+
const sessionStore = useSessionStore();
|
|
9837
|
+
const offerIds = sessionStore?.offerIds || [];
|
|
9838
|
+
const sortedBlocks = useMemo(() => {
|
|
9839
|
+
const blocksMap = new Map(parentBlock.blocks?.map((block) => [block?.__id, block]) ?? []);
|
|
9840
|
+
const blocksByOfferIds = offerIds
|
|
9841
|
+
.map((id) => blocksMap.get(id))
|
|
9842
|
+
.filter((block) => Boolean(block));
|
|
9843
|
+
const tailBlocks = blocks.filter(({ __id = '' }) => !offerIds.includes(__id));
|
|
9844
|
+
return [...blocksByOfferIds, ...tailBlocks];
|
|
9845
|
+
}, [blocks, offerIds]);
|
|
9846
|
+
useEffect(() => setBlocks(sortedBlocks), []);
|
|
9847
|
+
return blocks;
|
|
9848
|
+
};
|
|
9849
|
+
|
|
10016
9850
|
const SHORT_TILE_INDEXES = [1, 2, 3, 4];
|
|
9851
|
+
const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
|
|
9852
|
+
? 'lg:col-span-1 lg:row-span-1'
|
|
9853
|
+
: 'lg:col-span-2 lg:row-span-2';
|
|
9854
|
+
const modifyBlock = (block, i) => {
|
|
9855
|
+
const content = { ...block.content };
|
|
9856
|
+
const isSmallTile = SHORT_TILE_INDEXES.includes(i);
|
|
9857
|
+
if (isSmallTile) {
|
|
9858
|
+
delete content.description;
|
|
9859
|
+
delete content.benefits;
|
|
9860
|
+
if (content.link?.href) {
|
|
9861
|
+
delete content.buttons;
|
|
9862
|
+
}
|
|
9863
|
+
content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
|
|
9864
|
+
content.headlineVersion = 'S';
|
|
9865
|
+
}
|
|
9866
|
+
else {
|
|
9867
|
+
if ((content.buttons ?? []).length) {
|
|
9868
|
+
delete content.link;
|
|
9869
|
+
}
|
|
9870
|
+
content.headlineVersion = 'L';
|
|
9871
|
+
}
|
|
9872
|
+
return { ...block, content };
|
|
9873
|
+
};
|
|
9874
|
+
|
|
9875
|
+
const MIN_LENGTH_CHILD = 5;
|
|
10017
9876
|
const LINK_SCHEMA = {
|
|
10018
9877
|
link: {
|
|
10019
9878
|
allOf: [
|
|
@@ -10033,15 +9892,19 @@
|
|
|
10033
9892
|
required: ['href'],
|
|
10034
9893
|
},
|
|
10035
9894
|
};
|
|
10036
|
-
const GalleryLayout = UniBlock(({ className = '', padding = 'p-0', gap = '', isInnerPadding = true, version = 'transparent', isTheme = false, isCardBorder = false,
|
|
10037
|
-
|
|
10038
|
-
|
|
10039
|
-
|
|
9895
|
+
const GalleryLayout = UniBlock(({ className = '', padding = 'p-0', gap = '', isInnerPadding = true, version = 'transparent', isTheme = false, isCardBorder = false, block = {}, ...rest }) => {
|
|
9896
|
+
const blocks = useSortProductBlocks(block);
|
|
9897
|
+
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({
|
|
9898
|
+
...rest,
|
|
9899
|
+
block: { ...block, blocks },
|
|
9900
|
+
renderProps: getRenderProps({ isInnerPadding, isCardBorder }),
|
|
9901
|
+
}) }));
|
|
9902
|
+
}, {
|
|
10040
9903
|
childrenTypes: ['ProductBlock'],
|
|
10041
9904
|
childSchema: () => LINK_SCHEMA,
|
|
10042
9905
|
allowRemoveChild: (slot) => (slot?.blocks ?? []).length > MIN_LENGTH_CHILD,
|
|
10043
9906
|
});
|
|
10044
|
-
const getRenderProps = ({ isInnerPadding, isCardBorder, }) => (childBlock, childOptions, i) => renderBlock
|
|
9907
|
+
const getRenderProps = ({ isInnerPadding, isCardBorder, }) => (childBlock, childOptions, i) => renderBlock(childBlock, {
|
|
10045
9908
|
...childOptions,
|
|
10046
9909
|
blockDecorator: blockDecoratorWrapper(childOptions.blockDecorator, i),
|
|
10047
9910
|
}, {
|
|
@@ -10052,51 +9915,15 @@
|
|
|
10052
9915
|
...props,
|
|
10053
9916
|
render: (renderProps) => productBlockDecorator(idx)({ ...props, ...renderProps }, i),
|
|
10054
9917
|
}, `wrap_${i}`) ?? productBlockDecorator(idx)(props, i);
|
|
9918
|
+
const visibilityByIdx = (i) => (Number(i) < 5 ? '' : 'hidden');
|
|
10055
9919
|
const productBlockDecorator = (idx) => ({ blockClassName, block, render }, i) => {
|
|
10056
9920
|
const modifiedBlock = modifyBlock(block, idx);
|
|
10057
|
-
return (jsx(LinkWrapper, { ...modifiedBlock.content?.link, className: getChildStyle(idx), children: render({
|
|
9921
|
+
return (jsx(LinkWrapper, { ...modifiedBlock.content?.link, className: style(visibilityByIdx(idx), getChildStyle(idx)), children: render({
|
|
10058
9922
|
blockClassName: style(blockClassName, 'h-full'),
|
|
10059
9923
|
block: modifiedBlock,
|
|
10060
9924
|
}) }, String(i)));
|
|
10061
|
-
};
|
|
10062
|
-
const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
|
|
10063
|
-
? 'lg:col-span-1 lg:row-span-1'
|
|
10064
|
-
: 'lg:col-span-2 lg:row-span-2';
|
|
10065
|
-
const modifyBlock = (block, i) => {
|
|
10066
|
-
const content = { ...block.content };
|
|
10067
|
-
const isSmallTile = SHORT_TILE_INDEXES.includes(i);
|
|
10068
|
-
if (isSmallTile) {
|
|
10069
|
-
delete content.description;
|
|
10070
|
-
delete content.benefits;
|
|
10071
|
-
if (content.link?.href) {
|
|
10072
|
-
delete content.buttons;
|
|
10073
|
-
}
|
|
10074
|
-
content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
|
|
10075
|
-
}
|
|
10076
|
-
else {
|
|
10077
|
-
if ((content.buttons ?? []).length) {
|
|
10078
|
-
delete content.link;
|
|
10079
|
-
}
|
|
10080
|
-
}
|
|
10081
|
-
return { ...block, content };
|
|
10082
9925
|
};
|
|
10083
9926
|
|
|
10084
|
-
const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-m', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true }), calendar ? renderCalendar(calendar) : null] })));
|
|
10085
|
-
const renderCalendar = (calendar) => {
|
|
10086
|
-
const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
|
|
10087
|
-
const colSize = 100 / colCount;
|
|
10088
|
-
const mappedCalendar = calendar
|
|
10089
|
-
.filter((_) => _?.month?.length)
|
|
10090
|
-
.map((_) => ({
|
|
10091
|
-
..._,
|
|
10092
|
-
// Condition lower is always true, TS does not understand this, notice filter above
|
|
10093
|
-
flexBasis: `${_?.month?.length ? _.month.length * colSize : ''}%`,
|
|
10094
|
-
}));
|
|
10095
|
-
return (jsxs("div", { className: "w-full flex flex-col justify-center gap-s", children: [jsx("div", { className: "flex w-full text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex gap-s w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "border-r border-main-divider last:border-r-0 space-y-s", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex gap-s", children: renderMonthImages(_) }), jsxs("div", { className: "text-s", children: [jsx(Text, { size: "text-s", font: "font-light", color: "text-primary-text", children: _.text }), "\u2009", jsx(Text, { size: "text-s", font: "font-light", color: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
|
|
10096
|
-
};
|
|
10097
|
-
const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
|
|
10098
|
-
const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-52 border-r pr-s border-main-divider last:border-r-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
|
|
10099
|
-
|
|
10100
9927
|
const GrantSupport = UniBlock(({ className, title, button, regionSource, data, ...rest }) => {
|
|
10101
9928
|
const [region, setRegion] = useState({ key: '' });
|
|
10102
9929
|
const regions = regionSource?.regions ?? [];
|
|
@@ -10180,65 +10007,18 @@
|
|
|
10180
10007
|
});
|
|
10181
10008
|
const getDataTestIdAttribute = (dataTestId) => dataTestId ? { 'data-test-id': dataTestId } : null;
|
|
10182
10009
|
|
|
10183
|
-
const
|
|
10184
|
-
const
|
|
10185
|
-
|
|
10186
|
-
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
|
|
10190
|
-
|
|
10191
|
-
|
|
10192
|
-
};
|
|
10193
|
-
const useChatBot = (chat) => {
|
|
10194
|
-
const [isLoading, setIsLoading] = useState(false);
|
|
10195
|
-
useEffect(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
|
|
10196
|
-
const chatUrl = CHATBOT_URL[chat ?? ''];
|
|
10197
|
-
const load = useCallback((ev) => {
|
|
10198
|
-
if (!chatUrl) {
|
|
10199
|
-
return;
|
|
10200
|
-
}
|
|
10201
|
-
setIsLoading(true);
|
|
10202
|
-
if (chat === 'business') {
|
|
10203
|
-
renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
|
|
10204
|
-
}
|
|
10205
|
-
else {
|
|
10206
|
-
renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
|
|
10010
|
+
const CHAT_BOT_ASPECT_NAME = 'openChatBot';
|
|
10011
|
+
const HeaderChatBotButton = JSX(({ iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large' }) => {
|
|
10012
|
+
const [isLoading, { setTrue: startLoad, setFalse: endLoad }] = useBool(false);
|
|
10013
|
+
const aspects = useAspects();
|
|
10014
|
+
const handleClick = useCallback((ev) => {
|
|
10015
|
+
const openChatBot = aspects[CHAT_BOT_ASPECT_NAME];
|
|
10016
|
+
if (openChatBot) {
|
|
10017
|
+
startLoad();
|
|
10018
|
+
openChatBot(ev).finally(endLoad);
|
|
10207
10019
|
}
|
|
10208
|
-
}, [
|
|
10209
|
-
return {
|
|
10210
|
-
};
|
|
10211
|
-
const renderPersonalChatBot = async (ev, chatUrl) => {
|
|
10212
|
-
const target = ev.target;
|
|
10213
|
-
if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
|
|
10214
|
-
target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
|
|
10215
|
-
}
|
|
10216
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
10217
|
-
if (!chatFrame) {
|
|
10218
|
-
await initializeExternalNS(CHAT_NAMESPACE, chatUrl);
|
|
10219
|
-
}
|
|
10220
|
-
};
|
|
10221
|
-
const renderBusinessChatBot = async (chatUrl) => {
|
|
10222
|
-
const businessChat = (await initializeExternalNS(CHAT_NAMESPACE, `${chatUrl}/bundle.js`, true));
|
|
10223
|
-
initializeExternalStylesheet(`${chatUrl}/bundle.css`);
|
|
10224
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
10225
|
-
if (chatFrame) {
|
|
10226
|
-
businessChat?.chatOpen?.();
|
|
10227
|
-
}
|
|
10228
|
-
else {
|
|
10229
|
-
createChatFrame();
|
|
10230
|
-
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
|
|
10231
|
-
}
|
|
10232
|
-
};
|
|
10233
|
-
const createChatFrame = () => {
|
|
10234
|
-
const chatFrame = globalThis.document.createElement('div');
|
|
10235
|
-
chatFrame.id = CHAT_FRAME_ID;
|
|
10236
|
-
globalThis.document.body.appendChild(chatFrame);
|
|
10237
|
-
};
|
|
10238
|
-
|
|
10239
|
-
const HeaderChatBotButton = JSX(({ chat = 'personal', iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large', }) => {
|
|
10240
|
-
const { load, isLoading } = useChatBot(chat);
|
|
10241
|
-
return (jsx(HeaderSecondaryMenuButton, { className: className, image: { icon: 'ChatBotIcon', iconVersion }, ariaLabel: ariaLabel, onClick: load, buttonSize: buttonSize, isGrayBg: true, version: version, isLoading: isLoading, dataTestId: "chat icon" }));
|
|
10020
|
+
}, []);
|
|
10021
|
+
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" }));
|
|
10242
10022
|
});
|
|
10243
10023
|
|
|
10244
10024
|
const HeaderItem = JSX(({ className = '', active, dataItemName, children, data, ...rest }) => {
|
|
@@ -10283,11 +10063,28 @@
|
|
|
10283
10063
|
? handleIntersectionActivation$1(index)
|
|
10284
10064
|
: handleIntersectionDeactivation$1(index));
|
|
10285
10065
|
}), [subItems]);
|
|
10286
|
-
return (jsxs("nav", { className: "mt-s flex gap-s items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-s mt-xs space-x-lg", role: "menu", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], data: _.dataHeader, ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { items: dropDownMenuItems, activeItem: activeSubItem, ariaLabel: dropdownMenuAriaLabel })) : null, projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { version: version, iconVersion: iconVersion,
|
|
10066
|
+
return (jsxs("nav", { className: "mt-s flex gap-s items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-s mt-xs space-x-lg", role: "menu", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], data: _.dataHeader, ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { items: dropDownMenuItems, activeItem: activeSubItem, ariaLabel: dropdownMenuAriaLabel })) : null, projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { version: version, iconVersion: iconVersion, ariaLabel: chatBotAriaLabel })) : null, jsx(InternetBankButton, { version: version, ...internetBankButton })] }));
|
|
10287
10067
|
});
|
|
10288
10068
|
const handleIntersectionActivation$1 = (index) => (prev) => Math.max(prev, index + 1);
|
|
10289
10069
|
const handleIntersectionDeactivation$1 = (index) => (prev) => Math.min(prev, index);
|
|
10290
10070
|
|
|
10071
|
+
const REGION_URL = `${API_BASE_URI$1}/region`;
|
|
10072
|
+
function useLocation(defaultLocation = 'Москва') {
|
|
10073
|
+
const locationStore = useLocalStore();
|
|
10074
|
+
return locationStore.location ?? { name: defaultLocation };
|
|
10075
|
+
}
|
|
10076
|
+
function useDefaultLocation(defaultLocation = 'Москва') {
|
|
10077
|
+
const locationStore = useLocalStore();
|
|
10078
|
+
const preselectLocation = useCallback(async () => {
|
|
10079
|
+
if (!locationStore.location) {
|
|
10080
|
+
const region = await fetchJSON(REGION_URL);
|
|
10081
|
+
locationStore.location = region ?? { name: defaultLocation };
|
|
10082
|
+
}
|
|
10083
|
+
}, [locationStore, defaultLocation]);
|
|
10084
|
+
useAsyncData(REGION_URL, preselectLocation);
|
|
10085
|
+
return locationStore;
|
|
10086
|
+
}
|
|
10087
|
+
|
|
10291
10088
|
const groupBy = (list, keyGetter) => {
|
|
10292
10089
|
const result = new Map();
|
|
10293
10090
|
for (const item of list) {
|
|
@@ -10363,7 +10160,7 @@
|
|
|
10363
10160
|
const locationDialog = useDialog(LocationDialog, rest);
|
|
10364
10161
|
const openSearchDialog = useCallback(() => searchDialog.open({}), [searchDialog]);
|
|
10365
10162
|
const openLocationDialog = useCallback(() => locationDialog.open({}), [locationDialog]);
|
|
10366
|
-
return (jsxs("div", { className: style('flex items-center ml-5 md:max-w-[300px] xl:max-w-full gap-lg', className), role: "navigation", children: [currentLocation?.name && rest?.branches?.visible ? (jsx(
|
|
10163
|
+
return (jsxs("div", { className: style('flex items-center ml-5 md:max-w-[300px] xl:max-w-full gap-lg', className), role: "navigation", children: [currentLocation?.name && rest?.branches?.visible ? (jsx(TopItem, { className: "whitespace-nowrap text-ellipsis overflow-hidden", flat: true, href: "#", text: currentLocation?.name, data: getAspectsWithInclude(rest?.branches?.dataClick, currentLocation?.name ?? ''), onClick: openLocationDialog })) : null, rest?.officesAtms?.href ? (jsx(TopItem, { className: "whitespace-nowrap", flat: true, ...rest.officesAtms })) : null, jsx(HeaderSecondaryMenuButton, { image: { icon: 'LoupeIcon', iconVersion }, ariaLabel: rest?.search?.ariaLabel ?? 'Поиск', onClick: openSearchDialog, data: rest?.search?.data })] }));
|
|
10367
10164
|
});
|
|
10368
10165
|
|
|
10369
10166
|
const HeaderTopMenuItem = JSX(({ observerOptions, onVisibilityChange, children, className, ...rest }) => {
|
|
@@ -10391,7 +10188,7 @@
|
|
|
10391
10188
|
}), [navigationItems]);
|
|
10392
10189
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10393
10190
|
const { dataFooter, dataHeader, ...logoProps } = logo ?? {};
|
|
10394
|
-
return (jsxs("div", { className: "flex items-center justify-between", children: [jsx(Logo, { className: "mr-3xl", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }), jsx("div", { ref: topItemsListRef, className: "overflow-hidden min-w-
|
|
10191
|
+
return (jsxs("div", { className: "flex items-center justify-between", children: [jsx(Logo, { className: "mr-3xl", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }), jsx("div", { ref: topItemsListRef, className: "overflow-hidden min-w-40 pb-xs mt-xs", role: "menu", children: navigationItems.map((_, i) => (jsx(HeaderTopMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeTopItem, observerOptions: observerOptions, onVisibilityChange: topItemsVisibilityHandlers[i], data: _.dataHeader, ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "mx-xs", items: dropDownMenuItems, activeItem: activeTopItem, ariaLabel: dropdownMenuAriaLabel })) : null, jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", search: search, navigationItems: navigationItems, ...headerData })] }));
|
|
10395
10192
|
});
|
|
10396
10193
|
const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
|
|
10397
10194
|
const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
|
|
@@ -10430,370 +10227,88 @@
|
|
|
10430
10227
|
const ImgBlock = JSX((props) => {
|
|
10431
10228
|
const { className, align, image, ...rest } = props;
|
|
10432
10229
|
const alignStyle = align ? style('flex', AlignJustifyStyle[align]) : '';
|
|
10433
|
-
return (jsx(BlockWrapper, { className: style(alignStyle, className), defaultPadding: "p-0", ...rest, children: jsx(Img, { image: image }) }));
|
|
10434
|
-
});
|
|
10435
|
-
|
|
10436
|
-
const useCarouselControls = (props, initialIndex = 0) => {
|
|
10437
|
-
const { itemCount, visibleItemCount } = props;
|
|
10438
|
-
const [activeIndex, setActiveIndex] = useState(initialIndex);
|
|
10439
|
-
const inc = useCallback(() => setActiveIndex((_) => Math.min(_ + 1, itemCount - 1)), [itemCount]);
|
|
10440
|
-
const dec = useCallback(() => setActiveIndex((_) => Math.max(_ - 1, 0)), [itemCount]);
|
|
10441
|
-
const canInc = visibleItemCount
|
|
10442
|
-
? itemCount > visibleItemCount && activeIndex < itemCount - visibleItemCount
|
|
10443
|
-
: activeIndex < itemCount - 1;
|
|
10444
|
-
const canDec = activeIndex > 0;
|
|
10445
|
-
const isScrollAvailable = canDec || canInc;
|
|
10446
|
-
return [
|
|
10447
|
-
activeIndex,
|
|
10448
|
-
{
|
|
10449
|
-
inc,
|
|
10450
|
-
dec,
|
|
10451
|
-
canInc,
|
|
10452
|
-
canDec,
|
|
10453
|
-
isScrollAvailable,
|
|
10454
|
-
},
|
|
10455
|
-
];
|
|
10456
|
-
};
|
|
10457
|
-
|
|
10458
|
-
/** @deprecated */
|
|
10459
|
-
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;
|
|
10460
|
-
|
|
10461
|
-
const InsuranceAmountBlockInner = JSX(({ className = '', cards = [], button }) => {
|
|
10462
|
-
const [selectedCardIndex, setSelectedCardIndex] = useState(0);
|
|
10463
|
-
const handleSelectedCardIndex = useCallback((_) => setSelectedCardIndex(_), []);
|
|
10464
|
-
const galleryLength = cards.length;
|
|
10465
|
-
const CARD_VIEW_COUNT = 2;
|
|
10466
|
-
const [activeIndex, controls] = useCarouselControls({
|
|
10467
|
-
itemCount: galleryLength,
|
|
10468
|
-
visibleItemCount: CARD_VIEW_COUNT,
|
|
10469
|
-
});
|
|
10470
|
-
const { canDec, canInc } = controls;
|
|
10471
|
-
const activeHref = cards[activeIndex]?.href;
|
|
10472
|
-
return (jsxs("section", { role: "listitem", className: `min-w-full text-center ${className}`, children: [jsxs("div", { className: "relative overflow-hidden", "aria-label": "\u0421\u0442\u0440\u0430\u0445\u043E\u0432\u044B\u0435 \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B", children: [galleryLength
|
|
10473
|
-
? renderGallery({
|
|
10474
|
-
activeIndex,
|
|
10475
|
-
cards,
|
|
10476
|
-
selectedCardIndex,
|
|
10477
|
-
onClick: handleSelectedCardIndex,
|
|
10478
|
-
})
|
|
10479
|
-
: null, renderArrows({
|
|
10480
|
-
...controls,
|
|
10481
|
-
btnClass: ['left-12', 'right-12'],
|
|
10482
|
-
className: 'top-16',
|
|
10483
|
-
}), canDec ? (jsx("div", { className: "absolute top-0 left-0 h-full w-32 bg-opacity-from-white" })) : null, canInc ? (jsx("div", { className: "absolute top-0 right-0 h-full w-32 bg-opacity-to-white" })) : null] }), jsx(LinkButton, { className: "w-60 text-center", version: "primary", ...button, href: activeHref })] }));
|
|
10484
|
-
});
|
|
10485
|
-
function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }) {
|
|
10486
|
-
const tabsShiftWidth = activeIndex * 460;
|
|
10487
|
-
const cardsAlignStyle = cards.length > 2 ? 'justify-start' : 'justify-center';
|
|
10488
|
-
return (jsx("div", { style: { transform: `translateX(-${tabsShiftWidth}px)` }, className: "duration-1000 px-6xl", children: jsx("div", { className: `w-full flex flex-nowrap gap-s pb-6xl ${cardsAlignStyle}`, children: cards.map((slide, i) => renderNavButton$2({
|
|
10489
|
-
slide,
|
|
10490
|
-
i,
|
|
10491
|
-
isActive: Boolean(i === selectedCardIndex),
|
|
10492
|
-
onClick: () => onClick(i),
|
|
10493
|
-
})) }) }));
|
|
10494
|
-
}
|
|
10495
|
-
function renderNavButton$2({ slide, i, isActive, onClick }) {
|
|
10496
|
-
const btnClassName = isActive
|
|
10497
|
-
? 'shadow-dark-blue border-primary-main'
|
|
10498
|
-
: `ease-in duration-300 border-gray`;
|
|
10499
|
-
return (jsxs("button", { type: "button", onClick: onClick, className: `p-3xl min-w-fit flex items-center gap-2xl bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(Img, { className: "p-lg rounded-full bg-secondary-light", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-s", children: [slide?.sum ? renderValueBlock('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
|
|
10500
|
-
}
|
|
10501
|
-
function renderValueBlock(title, sum) {
|
|
10502
|
-
return (jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [jsxs(Text, { size: "text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] }), jsx("div", { className: "mt-2xs", children: jsx(Text, { size: "text-l", color: "text-secondary-text", children: title }) })] }));
|
|
10503
|
-
}
|
|
10504
|
-
function renderDoneIcon(isActive) {
|
|
10505
|
-
return isActive ? (jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: { icon: 'DoneIcon' }, width: "24", height: "24" })) : null;
|
|
10506
|
-
}
|
|
10507
|
-
|
|
10508
|
-
const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
|
|
10509
|
-
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
10510
|
-
const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
|
|
10511
|
-
return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden relative px-0 space-y-2xl', className), defaultPadding: "p-6xl", ...rest, children: [title ? jsx(Heading, { className: "text-center", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-xs bg-secondary-light w-fit mx-auto rounded-md", children: insuranceTabs.map((item, i) => renderNavButton$1({
|
|
10512
|
-
title: item?.title,
|
|
10513
|
-
i,
|
|
10514
|
-
isActive: Boolean(i === activeSlideIndex),
|
|
10515
|
-
onClick: () => handleActiveSlideIndex(i),
|
|
10516
|
-
})) })) : null, jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: renderInsuranceGalleries({
|
|
10517
|
-
insuranceTabs,
|
|
10518
|
-
button,
|
|
10519
|
-
}) })] }));
|
|
10520
|
-
});
|
|
10521
|
-
const renderInsuranceGalleries = ({ insuranceTabs, button }) => {
|
|
10522
|
-
const insuranceGalleries = insuranceTabs?.map((_) => _.cards);
|
|
10523
|
-
return insuranceGalleries?.length
|
|
10524
|
-
? insuranceGalleries.map((cards, i) => (jsx(InsuranceAmountBlockInner, { button: button, cards: cards }, String(i))))
|
|
10525
|
-
: null;
|
|
10526
|
-
};
|
|
10527
|
-
function renderNavButton$1({ title, i, isActive, onClick }) {
|
|
10528
|
-
const btnClassName = isActive ? 'bg-primary-main text-white rounded-md' : `text-secondary-text`;
|
|
10529
|
-
return (jsx("button", { type: "button", onClick: onClick, "aria-label": `Кнопка ${title}`, className: `box-border px-m py-s text-m font-light ${btnClassName}`, children: title }, String(i)));
|
|
10530
|
-
}
|
|
10531
|
-
|
|
10532
|
-
const investmentCellColorMap = {
|
|
10533
|
-
yellow: 'bg-yellow',
|
|
10534
|
-
green: 'bg-green',
|
|
10535
|
-
'green-light': 'bg-green-light',
|
|
10536
|
-
'green-dark': 'bg-green-dark',
|
|
10537
|
-
};
|
|
10538
|
-
const investmentCellSizeMap = {
|
|
10539
|
-
XS: 'h-10',
|
|
10540
|
-
S: 'h-16',
|
|
10541
|
-
M: 'h-24',
|
|
10542
|
-
L: 'h-32',
|
|
10543
|
-
XL: 'h-52',
|
|
10544
|
-
};
|
|
10545
|
-
const InvestmentInfo = JSX((props) => {
|
|
10546
|
-
const { className = '', __html, isDotted, investmentZeroColumn, investmentColumns, ...rest } = props;
|
|
10547
|
-
const columns = investmentColumns ? [...investmentColumns] : [];
|
|
10548
|
-
if (investmentZeroColumn) {
|
|
10549
|
-
columns.unshift(investmentZeroColumn);
|
|
10550
|
-
}
|
|
10551
|
-
return (jsx(BlockWrapper, { className: className, defaultPadding: "p-4xl", ...rest, children: jsxs("div", { className: "container text-m font-light space-y-4xl", children: [columns?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-3xl pr-lg text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(columns.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-3xl w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-xs mx-3xl" }), jsx("div", { className: "flex justify-between text-primary-text mt-s -mx-5xl", children: columns.map(renderInvestmentColumnTitle) })] })) : null, __html ? (jsx("div", { className: "max-w-2xl font-light text-base", children: jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-s" }) })) : null] }) }));
|
|
10552
|
-
});
|
|
10553
|
-
const renderInvestmentColumn = (column, i, arr) => {
|
|
10554
|
-
const isSecondColumn = i === 1;
|
|
10555
|
-
const isLastColumn = i === arr.length - 1;
|
|
10556
|
-
const reversedCells = column.cells?.reverse() || [];
|
|
10557
|
-
return (jsx("div", { className: `${getColumnClasses(isSecondColumn, isLastColumn, column.cells)}`, children: reversedCells.length ? (jsx("div", { className: `w-full ${isLastColumn ? 'border-4 border-green-more-dark p-1.5 min-w-72' : ''}`, children: reversedCells.map(renderInvestmentCell) })) : null }, `column_${i}`));
|
|
10558
|
-
};
|
|
10559
|
-
const getColumnClasses = (isSecondColumn, isLastColumn, cells = []) => [
|
|
10560
|
-
cells.length ? 'flex-1' : 'flex-0',
|
|
10561
|
-
cells.length && !isSecondColumn && !isLastColumn ? 'pl-s' : '',
|
|
10562
|
-
cells.length && !isLastColumn ? 'pr-s pb-3xl' : 'pb-xl',
|
|
10563
|
-
].join(' ');
|
|
10564
|
-
const renderInvestmentCell = (cell, i) => {
|
|
10565
|
-
const cellSize = cell.cellSize || 'XS';
|
|
10566
|
-
const cellColor = cell.cellColor || 'green';
|
|
10567
|
-
return cell.text ? (jsx("div", { className: `flex-1 flex items-center justify-center relative py-xs ${investmentCellSizeMap[cellSize]} ${investmentCellColorMap[cellColor]} ${cellSize === 'XS' ? 'px-s' : 'px-5xl'}`, children: jsx(Text, { align: "text-center", children: cell.text }) }, `cell_${i}`)) : null;
|
|
10568
|
-
};
|
|
10569
|
-
const renderInvestmentColumnTitle = (column, i) => column?.title ? (jsx("div", { className: "flex-1 max-w-44 text-center px-xs last:pr-4xl last:max-w-52", children: column.title }, `title_${i}`)) : null;
|
|
10570
|
-
|
|
10571
|
-
const KILO = 1024;
|
|
10572
|
-
const KILO_SIZES = ['байт', 'Кб', 'Мб', 'Гб', 'Тб', 'Пб'];
|
|
10573
|
-
const formatBytes = (bytes, decimals = 2) => {
|
|
10574
|
-
if (bytes === 0) {
|
|
10575
|
-
return '';
|
|
10576
|
-
}
|
|
10577
|
-
const i = Math.floor(Math.log(bytes) / Math.log(KILO));
|
|
10578
|
-
return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
|
|
10579
|
-
};
|
|
10580
|
-
|
|
10581
|
-
const LinkDocItem = JSX(({ icon, text, href, target, fileFormat, data, fileSize }) => {
|
|
10582
|
-
const prefix = fileSize && fileFormat ? ',' : '';
|
|
10583
|
-
const size = fileSize ?? '';
|
|
10584
|
-
const format = fileFormat ? String(fileFormat) : '';
|
|
10585
|
-
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] }));
|
|
10586
|
-
});
|
|
10587
|
-
const addSpace = (size, format) => (size || format ? jsx("span", { children: ",\u00A0" }) : '');
|
|
10588
|
-
|
|
10589
|
-
const linkIconStyle = 'min-w-6 min-h-6';
|
|
10590
|
-
|
|
10591
|
-
const renderDefaultItem = (router, icon) => (docBlockDef, i) => {
|
|
10592
|
-
const href = adjustHref(router)(docBlockDef?.docType === 'Attachment' ? docBlockDef?.attachment?.src : docBlockDef?.href);
|
|
10593
|
-
const fileSize = docBlockDef?.docType === 'Attachment'
|
|
10594
|
-
? formatBytes(docBlockDef?.attachment?.fileSize || 0)
|
|
10595
|
-
: docBlockDef?.fileSize;
|
|
10596
|
-
const fileFormat = docBlockDef?.docType === 'Attachment' ? getExtFromHref(href) : docBlockDef?.fileFormat;
|
|
10597
|
-
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)));
|
|
10598
|
-
};
|
|
10599
|
-
const renderImg = (icon) => icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null;
|
|
10600
|
-
const getExtFromHref = (href) => {
|
|
10601
|
-
if (!href) {
|
|
10602
|
-
return '';
|
|
10603
|
-
}
|
|
10604
|
-
const index = href.lastIndexOf('.');
|
|
10605
|
-
const regexp = new RegExp(/\/(.*)/);
|
|
10606
|
-
const docFormat = index !== -1 ? href.substring(index + 1) : '';
|
|
10607
|
-
return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
|
|
10608
|
-
};
|
|
10609
|
-
|
|
10610
|
-
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" })] })));
|
|
10611
|
-
|
|
10612
|
-
const ReportDialogButton = JSX(({ text, href, target, __html, icon }) => {
|
|
10613
|
-
const { open } = useDialog(ReportDialog);
|
|
10614
|
-
const openReportDialog = useCallback(() => open({ __html, href, target }), [__html, href, target]);
|
|
10615
|
-
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;
|
|
10616
|
-
});
|
|
10617
|
-
|
|
10618
|
-
const linkColumnsModeStyleMap = {
|
|
10619
|
-
double: 'sm:flex-wrap sm:flex-row',
|
|
10620
|
-
single: 'sm:flex-col',
|
|
10621
|
-
};
|
|
10622
|
-
const LinkDocs = UniBlock(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
|
|
10623
|
-
const router = useRouter();
|
|
10624
|
-
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] }));
|
|
10625
|
-
});
|
|
10626
|
-
const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
|
|
10627
|
-
const docType = docBlockDef?.docType;
|
|
10628
|
-
if (docType === '') {
|
|
10629
|
-
return null;
|
|
10630
|
-
}
|
|
10631
|
-
if ('reportSource' in docBlockDef && docBlockDef?.reportSource?.__html) {
|
|
10632
|
-
return renderModalItem(icon)(docBlockDef, i);
|
|
10633
|
-
}
|
|
10634
|
-
return renderDefaultItem(router, icon)(docBlockDef, i);
|
|
10635
|
-
};
|
|
10636
|
-
const renderModalItem = (icon) => (props, i) => {
|
|
10637
|
-
const commonProps = {
|
|
10638
|
-
text: props.text,
|
|
10639
|
-
target: props.target,
|
|
10640
|
-
__html: props.reportSource?.__html,
|
|
10641
|
-
};
|
|
10642
|
-
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;
|
|
10643
|
-
};
|
|
10644
|
-
const isLinkDoc = (data) => 'href' in data;
|
|
10645
|
-
|
|
10646
|
-
const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, __html, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
|
|
10647
|
-
const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
|
|
10648
|
-
const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
|
|
10649
|
-
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] })] }) }));
|
|
10650
|
-
});
|
|
10651
|
-
|
|
10652
|
-
const getVersion = (isPrimary, type) => isPrimary && type !== 'underlined' ? 'primary' : 'secondary';
|
|
10653
|
-
|
|
10654
|
-
const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) => targetMatchPattern(filter, content)).length;
|
|
10655
|
-
|
|
10656
|
-
const scalarCmp = (a, b) => a === b;
|
|
10657
|
-
const arrCmp = (cmp = scalarCmp) => (a, b) => a === b || Boolean(a && b && a.length === b.length && a.every((_, i) => cmp(_, b[i])));
|
|
10658
|
-
const objCmp = (cmp) => (a, b) => a === b ||
|
|
10659
|
-
Boolean(a &&
|
|
10660
|
-
b &&
|
|
10661
|
-
Object.keys(a).length === Object.keys(b).length &&
|
|
10662
|
-
Object.entries(a).every(([key, value]) => cmp(value, b[key])));
|
|
10663
|
-
function combineBoolCmps(...comparators) {
|
|
10664
|
-
return (a, b) => comparators.some((cmp) => cmp(a, b));
|
|
10665
|
-
}
|
|
10666
|
-
|
|
10667
|
-
const hotFilterRecordCmp = objCmp(combineBoolCmps(scalarCmp, arrCmp()));
|
|
10668
|
-
|
|
10669
|
-
const EMPTY_ARR = [];
|
|
10670
|
-
const EMPTY_OBJ = {};
|
|
10671
|
-
const useHotFilters = ({ hotFilters = EMPTY_ARR, filtrationState = EMPTY_OBJ, blocks = EMPTY_ARR, onFiltrationStateChange, }) => {
|
|
10672
|
-
const activeItemIndex = useMemo(() => Math.max(0, hotFilters.findIndex((_) => hotFilterRecordCmp(_.filter, filtrationState))), [hotFilters, filtrationState]);
|
|
10673
|
-
const items = useMemo(() => hotFilters.map((_) => ({
|
|
10674
|
-
text: _.text,
|
|
10675
|
-
count: getBadgeCount(blocks, _.filter),
|
|
10676
|
-
version: getVersion(_ === hotFilters[activeItemIndex]),
|
|
10677
|
-
})), [hotFilters, blocks, activeItemIndex]);
|
|
10678
|
-
const handleChange = useCallback((_) => {
|
|
10679
|
-
onFiltrationStateChange(hotFilters[items.indexOf(_)].filter);
|
|
10680
|
-
}, [hotFilters, items]);
|
|
10681
|
-
return {
|
|
10682
|
-
activeItem: items[activeItemIndex],
|
|
10683
|
-
items: items,
|
|
10684
|
-
onChange: handleChange,
|
|
10685
|
-
};
|
|
10686
|
-
};
|
|
10687
|
-
|
|
10688
|
-
const badgeBgStyleMap = {
|
|
10689
|
-
primary: 'bg-white/30',
|
|
10690
|
-
secondary: 'bg-main-divider',
|
|
10691
|
-
};
|
|
10692
|
-
const badgeTextColorStyleMap = {
|
|
10693
|
-
primary: { desktop: 'text-white', mobile: 'text-primary-text' },
|
|
10694
|
-
secondary: { desktop: 'text-secondary-text', mobile: 'text-secondary-text' },
|
|
10695
|
-
};
|
|
10696
|
-
const Badge = JSX(({ count, version = 'secondary' }) => {
|
|
10697
|
-
const isMobileMode = useMobileMode();
|
|
10698
|
-
const badgeBgStyle = isMobileMode ? 'bg-main-divider' : badgeBgStyleMap[version];
|
|
10699
|
-
const textStyle = badgeTextColorStyleMap[version][isMobileMode ? 'mobile' : 'desktop'];
|
|
10700
|
-
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 }) }));
|
|
10701
|
-
});
|
|
10702
|
-
|
|
10703
|
-
const getButtonClassNames = (isActive) => ({
|
|
10704
|
-
btn: `w-96 ${isActive ? 'p-m border-none bg-primary-main text-white' : 'p-s ease-in duration-300 bg-white'}`,
|
|
10705
|
-
text: isActive ? 'mb-xs text-xl' : 'mb-2xs text-l text-primary-text',
|
|
10706
|
-
desc: `font-light ${isActive ? 'text-l text-white' : 'text-m text-secondary-text'}`,
|
|
10707
|
-
icon: isActive ? '' : 'text-primary-main',
|
|
10708
|
-
iconVersion: (isActive ? 'white' : 'normal'),
|
|
10709
|
-
oldText: 'text-m text-center',
|
|
10710
|
-
oldDesc: 'text-m-light',
|
|
10711
|
-
});
|
|
10712
|
-
const renderTabItemInner = ({ text, description, icon, isActive, type, }) => {
|
|
10713
|
-
const buttonClassNames = getButtonClassNames(isActive);
|
|
10714
|
-
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: {
|
|
10715
|
-
...icon,
|
|
10716
|
-
iconVersion: icon?.iconVersion ?? buttonClassNames.iconVersion,
|
|
10717
|
-
}, 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 })] })] }));
|
|
10718
|
-
};
|
|
10719
|
-
|
|
10720
|
-
const tabPaddingStyleMap = {
|
|
10721
|
-
default: 'px-xs',
|
|
10722
|
-
underlined: 'px-m',
|
|
10723
|
-
animated: 'px-m border border-gray cursor-pointer text-left border-b-0 mt-auto flex gap-2xs',
|
|
10724
|
-
};
|
|
10725
|
-
const tabTextStyle = 'text-secondary-text hover:text-primary-main';
|
|
10726
|
-
const activeTabTextStyleMap = {
|
|
10727
|
-
default: 'text-black sm:text-white',
|
|
10728
|
-
underlined: 'text-primary-main border-b-2',
|
|
10729
|
-
animated: 'text-white sm:text-white',
|
|
10730
|
-
};
|
|
10731
|
-
const tabBgStyleMap = {
|
|
10732
|
-
default: 'bg-white',
|
|
10733
|
-
underlined: 'bg-white',
|
|
10734
|
-
animated: 'p-1 ease-in duration-300 bg-white text-primary-text h-[70px] w-96',
|
|
10735
|
-
};
|
|
10736
|
-
const activeTabBgStyleMap = {
|
|
10737
|
-
default: 'bg-white sm:bg-primary-main',
|
|
10738
|
-
underlined: 'bg-white',
|
|
10739
|
-
animated: 'p-2 border-none bg-primary-main text-white h-20 w-96',
|
|
10740
|
-
};
|
|
10741
|
-
const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
|
|
10742
|
-
const Tag = tag;
|
|
10743
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10744
|
-
const { text, description, icon, count, tabName, ...link } = item;
|
|
10745
|
-
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({
|
|
10746
|
-
text,
|
|
10747
|
-
description,
|
|
10748
|
-
icon,
|
|
10749
|
-
isActive,
|
|
10750
|
-
type,
|
|
10751
|
-
}), Number.isInteger(count) ? (jsx("div", { className: "ml-xs", role: "status", "aria-label": `Количество программ и сервисов ${count}`, children: jsx(Badge, { count: count, version: getVersion(isActive, type) }) })) : null] }) }));
|
|
10752
|
-
});
|
|
10753
|
-
|
|
10754
|
-
const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
|
|
10755
|
-
const LinkTabItem = JSX((props) => {
|
|
10756
|
-
const link = useLink();
|
|
10757
|
-
const handleClick = useCallback(() => {
|
|
10758
|
-
props.onClick && props.onClick(props.item || {});
|
|
10759
|
-
}, [props.onClick, props.item]);
|
|
10760
|
-
const { onClick, ...item } = link({ ...props.item, onClick: handleClick });
|
|
10761
|
-
return jsx(TabItemInner, { ...props, tag: "a", item: item, onClick: onClick });
|
|
10762
|
-
});
|
|
10763
|
-
// TODO: Update handlerDecorator (support buttons?)
|
|
10764
|
-
const ButtonTabItem = JSX(({ item = {}, onClick, ...rest }) => {
|
|
10765
|
-
const handleClick = useCallback(() => {
|
|
10766
|
-
onClick && onClick(item);
|
|
10767
|
-
}, [onClick, item]);
|
|
10768
|
-
return jsx(TabItemInner, { item: item, onClick: handleClick, ...rest });
|
|
10230
|
+
return (jsx(BlockWrapper, { className: style(alignStyle, className), defaultPadding: "p-0", ...rest, children: jsx(Img, { image: image }) }));
|
|
10769
10231
|
});
|
|
10770
10232
|
|
|
10771
|
-
const
|
|
10233
|
+
const KILO = 1024;
|
|
10234
|
+
const KILO_SIZES = ['байт', 'Кб', 'Мб', 'Гб', 'Тб', 'Пб'];
|
|
10235
|
+
const formatBytes = (bytes, decimals = 2) => {
|
|
10236
|
+
if (bytes === 0) {
|
|
10237
|
+
return '';
|
|
10238
|
+
}
|
|
10239
|
+
const i = Math.floor(Math.log(bytes) / Math.log(KILO));
|
|
10240
|
+
return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
|
|
10241
|
+
};
|
|
10242
|
+
|
|
10243
|
+
const LinkDocItem = JSX(({ icon, text, href, target, fileFormat, data, fileSize }) => {
|
|
10244
|
+
const prefix = fileSize && fileFormat ? ',' : '';
|
|
10245
|
+
const size = fileSize ?? '';
|
|
10246
|
+
const format = fileFormat ? String(fileFormat) : '';
|
|
10247
|
+
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] }));
|
|
10248
|
+
});
|
|
10249
|
+
const addSpace = (size, format) => (size || format ? jsx("span", { children: ",\u00A0" }) : '');
|
|
10772
10250
|
|
|
10773
|
-
const
|
|
10251
|
+
const linkIconStyle = 'min-w-6 min-h-6';
|
|
10774
10252
|
|
|
10775
|
-
const
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
|
|
10253
|
+
const renderDefaultItem = (router, icon) => (docBlockDef, i) => {
|
|
10254
|
+
const href = adjustHref(router)(docBlockDef?.docType === 'Attachment' ? docBlockDef?.attachment?.src : docBlockDef?.href);
|
|
10255
|
+
const fileSize = docBlockDef?.docType === 'Attachment'
|
|
10256
|
+
? formatBytes(docBlockDef?.attachment?.fileSize || 0)
|
|
10257
|
+
: docBlockDef?.fileSize;
|
|
10258
|
+
const fileFormat = docBlockDef?.docType === 'Attachment' ? getExtFromHref(href) : docBlockDef?.fileFormat;
|
|
10259
|
+
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)));
|
|
10780
10260
|
};
|
|
10781
|
-
const
|
|
10782
|
-
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
}
|
|
10786
|
-
const
|
|
10787
|
-
const
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
10791
|
-
|
|
10792
|
-
|
|
10793
|
-
|
|
10794
|
-
|
|
10795
|
-
|
|
10796
|
-
|
|
10261
|
+
const renderImg = (icon) => icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null;
|
|
10262
|
+
const getExtFromHref = (href) => {
|
|
10263
|
+
if (!href) {
|
|
10264
|
+
return '';
|
|
10265
|
+
}
|
|
10266
|
+
const index = href.lastIndexOf('.');
|
|
10267
|
+
const regexp = new RegExp(/\/(.*)/);
|
|
10268
|
+
const docFormat = index !== -1 ? href.substring(index + 1) : '';
|
|
10269
|
+
return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
|
|
10270
|
+
};
|
|
10271
|
+
|
|
10272
|
+
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" })] })));
|
|
10273
|
+
|
|
10274
|
+
const ReportDialogButton = JSX(({ text, href, target, __html, icon }) => {
|
|
10275
|
+
const { open } = useDialog(ReportDialog);
|
|
10276
|
+
const openReportDialog = useCallback(() => open({ __html, href, target }), [__html, href, target]);
|
|
10277
|
+
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;
|
|
10278
|
+
});
|
|
10279
|
+
|
|
10280
|
+
const linkColumnsModeStyleMap = {
|
|
10281
|
+
double: 'sm:flex-wrap sm:flex-row',
|
|
10282
|
+
single: 'sm:flex-col',
|
|
10283
|
+
};
|
|
10284
|
+
const LinkDocs = UniBlock(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
|
|
10285
|
+
const router = useRouter();
|
|
10286
|
+
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] }));
|
|
10287
|
+
});
|
|
10288
|
+
const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
|
|
10289
|
+
const docType = docBlockDef?.docType;
|
|
10290
|
+
if (docType === '') {
|
|
10291
|
+
return null;
|
|
10292
|
+
}
|
|
10293
|
+
if ('reportSource' in docBlockDef && docBlockDef?.reportSource?.__html) {
|
|
10294
|
+
return renderModalItem(icon)(docBlockDef, i);
|
|
10295
|
+
}
|
|
10296
|
+
return renderDefaultItem(router, icon)(docBlockDef, i);
|
|
10297
|
+
};
|
|
10298
|
+
const renderModalItem = (icon) => (props, i) => {
|
|
10299
|
+
const commonProps = {
|
|
10300
|
+
text: props.text,
|
|
10301
|
+
target: props.target,
|
|
10302
|
+
__html: props.reportSource?.__html,
|
|
10303
|
+
};
|
|
10304
|
+
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;
|
|
10305
|
+
};
|
|
10306
|
+
const isLinkDoc = (data) => 'href' in data;
|
|
10307
|
+
|
|
10308
|
+
const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, __html, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
|
|
10309
|
+
const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
|
|
10310
|
+
const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
|
|
10311
|
+
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] })] }) }));
|
|
10797
10312
|
});
|
|
10798
10313
|
|
|
10799
10314
|
const COMMON_FILTERS_STYLES = 'flex flex-col sm:flex-row sm:flex-wrap gap-3xl pb-2xl';
|
|
@@ -10807,6 +10322,8 @@
|
|
|
10807
10322
|
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 }));
|
|
10808
10323
|
});
|
|
10809
10324
|
|
|
10325
|
+
const getVersion = (isPrimary, type) => isPrimary && type !== 'underlined' ? 'primary' : 'secondary';
|
|
10326
|
+
|
|
10810
10327
|
const renderButtonsGroup = (data, activeButton, onButtonClick) => {
|
|
10811
10328
|
const allButtonVersion = getVersion(activeButton === 'all');
|
|
10812
10329
|
const businessButtonVersion = getVersion(activeButton === 'business');
|
|
@@ -10821,7 +10338,7 @@
|
|
|
10821
10338
|
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" })] }));
|
|
10822
10339
|
};
|
|
10823
10340
|
|
|
10824
|
-
const renderDescriptionBlock
|
|
10341
|
+
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;
|
|
10825
10342
|
|
|
10826
10343
|
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] }) }));
|
|
10827
10344
|
|
|
@@ -10838,7 +10355,7 @@
|
|
|
10838
10355
|
getBalloonRemoteWorkplaces,
|
|
10839
10356
|
});
|
|
10840
10357
|
const [activeButton, setActiveButton] = useState('all');
|
|
10841
|
-
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
|
|
10358
|
+
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)] })] }));
|
|
10842
10359
|
});
|
|
10843
10360
|
const getFiltersWithNonEmptyData = (data) => Object.keys(INITIAL_FILTRATION_STATE$1).filter((_) => data.filter((item) => FILTRATION_PREDICATES$1[_](item)).length);
|
|
10844
10361
|
|
|
@@ -10869,15 +10386,15 @@
|
|
|
10869
10386
|
return { header, body };
|
|
10870
10387
|
};
|
|
10871
10388
|
|
|
10872
|
-
const EMPTY_VALUE$
|
|
10389
|
+
const EMPTY_VALUE$1 = [];
|
|
10873
10390
|
function useAtms(regionCode) {
|
|
10874
10391
|
const { data, error } = useAsyncData(`${API_BASE_URI$1}/atms?regionCode=${regionCode}`, fetchMap$1);
|
|
10875
10392
|
const isLoad = !data && !error;
|
|
10876
|
-
return { data: data || EMPTY_VALUE$
|
|
10393
|
+
return { data: data || EMPTY_VALUE$1, isLoad };
|
|
10877
10394
|
}
|
|
10878
10395
|
const fetchMap$1 = async (url) => {
|
|
10879
10396
|
const result = await fetchJSON(url, { method: 'GET' });
|
|
10880
|
-
return Array.isArray(result) ? result : EMPTY_VALUE$
|
|
10397
|
+
return Array.isArray(result) ? result : EMPTY_VALUE$1;
|
|
10881
10398
|
};
|
|
10882
10399
|
|
|
10883
10400
|
const INITIAL_FILTRATION_STATE = {
|
|
@@ -10930,17 +10447,17 @@
|
|
|
10930
10447
|
return { header, body };
|
|
10931
10448
|
};
|
|
10932
10449
|
|
|
10933
|
-
const EMPTY_VALUE
|
|
10450
|
+
const EMPTY_VALUE = { branches: [], remoteWorkplaces: [] };
|
|
10934
10451
|
function useOffices(regionCode = '000') {
|
|
10935
10452
|
const { data, error } = useAsyncData(`${API_BASE_URI$1}/branchesAndRemoteWorkplaces?regionCode=${encodeURIComponent(regionCode)}`, fetchMap);
|
|
10936
10453
|
const isLoad = !data && !error;
|
|
10937
|
-
return { data: data || EMPTY_VALUE
|
|
10454
|
+
return { data: data || EMPTY_VALUE, isLoad };
|
|
10938
10455
|
}
|
|
10939
10456
|
const fetchMap = async (url) => {
|
|
10940
10457
|
const result = await fetchJSON(url, {
|
|
10941
10458
|
method: 'GET',
|
|
10942
10459
|
});
|
|
10943
|
-
return result || EMPTY_VALUE
|
|
10460
|
+
return result || EMPTY_VALUE;
|
|
10944
10461
|
};
|
|
10945
10462
|
|
|
10946
10463
|
const OfficesMap = JSX(({ className }) => {
|
|
@@ -10955,43 +10472,6 @@
|
|
|
10955
10472
|
return (jsx(BlockWrapper, { version: "transparent", className: style(className), defaultPadding: "p-0", ...rest, children: dataType === 'offices' ? jsx(OfficesMap, {}) : jsx(AtmsMap, { descriptionData: data }) }));
|
|
10956
10473
|
});
|
|
10957
10474
|
|
|
10958
|
-
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, {})] })));
|
|
10959
|
-
|
|
10960
|
-
const scrollButtonStyle$1 = 'hidden sm:flex absolute z-40 top-10';
|
|
10961
|
-
const ProductGallery = UniBlock(({ className = '', padding, slides = [], ...rest }) => {
|
|
10962
|
-
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
10963
|
-
const [containerRef, scroll] = useSwipeListScroll({
|
|
10964
|
-
itemCount: slides?.length || 0,
|
|
10965
|
-
});
|
|
10966
|
-
return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden', className), defaultPadding: "pt-6xl", padding: padding, ...rest, children: [jsx("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => (jsx("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: jsx(BaseProductTile, { className: "pl-6xl h-full", headlineVersion: "M", isFullWidthTitle: false, ...productBlock, ...rest }) }, String(i)))) }), jsxs("div", { className: "relative pr-xs mt-m -mb-m flex gap-xs box-border", children: [jsx(SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, itemClassName: 'h-40 flex items-stretch w-screen', gap: 8, children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) }), scroll.canScrollLeft ? (jsx(ArrowLeftButton, { wcmsIgnore: true, className: style('left-6', scrollButtonStyle$1), onClick: scroll.scrollLeft })) : null, scroll.canScrollRight ? (jsx(ArrowRightButton, { wcmsIgnore: true, className: style('right-6', scrollButtonStyle$1), onClick: scroll.scrollRight })) : null] })] }));
|
|
10967
|
-
});
|
|
10968
|
-
const renderNavButton = ({ activeSlideIndex, onClick }) => ({ nav }, i) => {
|
|
10969
|
-
const isActive = i === activeSlideIndex;
|
|
10970
|
-
const btnClassName = isActive
|
|
10971
|
-
? 'min-w-[370px] mt-s h-28 bg-white shadow-dark-blue border-none p-6'
|
|
10972
|
-
: 'min-w-72 mt-lg h-24 ease-in duration-300 bg-white/10 px-xl py-lg hover:backdrop-blur';
|
|
10973
|
-
const btnTitleClassName = isActive
|
|
10974
|
-
? 'text-primary-text text-h6 py-xs'
|
|
10975
|
-
: 'text-l pb-2xs text-secondary-text group-data-secondary:text-white';
|
|
10976
|
-
const btnDescClassName = isActive
|
|
10977
|
-
? 'text-secondary-text text-l font-light'
|
|
10978
|
-
: 'text-secondary-text text-m font-light group-data-secondary:text-white/80';
|
|
10979
|
-
return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('relative overflow-hidden grow', 'ml-xs px-xl', 'box-border basis-0 border', 'border-gray group-data-secondary:border-white/50', 'text-left whitespace-nowrap', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
|
|
10980
|
-
};
|
|
10981
|
-
|
|
10982
|
-
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({
|
|
10983
|
-
label: 'Адрес',
|
|
10984
|
-
data: address,
|
|
10985
|
-
iconName: 'GeolocationIcon',
|
|
10986
|
-
}), renderBlock({ label: 'Телефон(факс)', data: telephone, iconName: 'PhoneIcon' }), renderBlock({
|
|
10987
|
-
label: 'E-mail',
|
|
10988
|
-
data: email,
|
|
10989
|
-
iconName: 'MailIcon',
|
|
10990
|
-
dataColor: 'text-primary-main',
|
|
10991
|
-
}), button?.text ? renderButtonsSection([button]) : null] })] })));
|
|
10992
|
-
const renderDescriptionBlock = (props) => (jsx("div", { className: "border-b border-main-divider pb-lg", children: jsx(RichText, { ...props, itemSize: "list-s" }) }));
|
|
10993
|
-
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;
|
|
10994
|
-
|
|
10995
10475
|
const RichTextBlock = JSX((props) => {
|
|
10996
10476
|
const { __html, richVersion = '', ...rest } = props;
|
|
10997
10477
|
return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
|
|
@@ -11013,133 +10493,6 @@
|
|
|
11013
10493
|
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] }) }));
|
|
11014
10494
|
}, { childrenTypes: { exclude: ['RollupItem'] } });
|
|
11015
10495
|
|
|
11016
|
-
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] }) })));
|
|
11017
|
-
|
|
11018
|
-
const RadioButtons = JSX(({ className = '' }) => {
|
|
11019
|
-
const [selectedOption, setSelectedOption] = useState('option2');
|
|
11020
|
-
const onChange = useCallback((_) => setSelectedOption(_), []);
|
|
11021
|
-
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 })] }));
|
|
11022
|
-
});
|
|
11023
|
-
|
|
11024
|
-
const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
|
|
11025
|
-
const dataFormat = data
|
|
11026
|
-
.filter(Boolean)
|
|
11027
|
-
.map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
|
|
11028
|
-
const selectedObj = dataFormat.find((_) => _.key === selected);
|
|
11029
|
-
return (jsx(Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
|
|
11030
|
-
});
|
|
11031
|
-
|
|
11032
|
-
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" }) })] })));
|
|
11033
|
-
|
|
11034
|
-
const ITEMS = ['От 1 дня', 'До 365 дней'];
|
|
11035
|
-
const MIN = 1;
|
|
11036
|
-
const MAX = 365;
|
|
11037
|
-
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 })] })));
|
|
11038
|
-
|
|
11039
|
-
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" }) })] })));
|
|
11040
|
-
|
|
11041
|
-
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" })] })] })));
|
|
11042
|
-
const onSelectedBranch = (onChange) => (value) => {
|
|
11043
|
-
onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
|
|
11044
|
-
};
|
|
11045
|
-
const onSelectedCaseVolume = (onChange) => (value) => {
|
|
11046
|
-
onChange({ selectedCaseVolume: value, selectedBoxSize: '' });
|
|
11047
|
-
};
|
|
11048
|
-
|
|
11049
|
-
const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
|
|
11050
|
-
const price = calculatePrice(days, tariffs);
|
|
11051
|
-
const imageDescription = 'На рисунке изображена пачка листов\nформата А4';
|
|
11052
|
-
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 }) })] })] }));
|
|
11053
|
-
});
|
|
11054
|
-
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 })] }));
|
|
11055
|
-
const calculatePrice = (days, tariffs) => {
|
|
11056
|
-
const tariffType = getTariffType(days);
|
|
11057
|
-
const tariffValue = tariffs?.find((_) => _.tariffType === String(tariffType))?.tariffValue || 0;
|
|
11058
|
-
return days * tariffValue;
|
|
11059
|
-
};
|
|
11060
|
-
const getTariffType = (days) => {
|
|
11061
|
-
let tariffType = 1;
|
|
11062
|
-
switch (true) {
|
|
11063
|
-
case days > 30 && days <= 90:
|
|
11064
|
-
tariffType = 2;
|
|
11065
|
-
break;
|
|
11066
|
-
case days > 90 && days <= 180:
|
|
11067
|
-
tariffType = 3;
|
|
11068
|
-
break;
|
|
11069
|
-
case days > 180 && days <= 365:
|
|
11070
|
-
tariffType = 4;
|
|
11071
|
-
break;
|
|
11072
|
-
}
|
|
11073
|
-
return tariffType;
|
|
11074
|
-
};
|
|
11075
|
-
|
|
11076
|
-
const getCoordinates = (data) => {
|
|
11077
|
-
const getBalloon = () => void 0;
|
|
11078
|
-
if (Array.isArray(data)) {
|
|
11079
|
-
return data
|
|
11080
|
-
.map((_) => ({
|
|
11081
|
-
coords: [Number(_.gpsLatitude), Number(_.gpsLongitude)].filter(Boolean),
|
|
11082
|
-
content: getBalloon(),
|
|
11083
|
-
}))
|
|
11084
|
-
.filter((_) => _.coords && _.coords.length === 2);
|
|
11085
|
-
}
|
|
11086
|
-
if (data?.gpsLatitude && data?.gpsLongitude) {
|
|
11087
|
-
return [{ coords: [data.gpsLatitude, data.gpsLongitude] }];
|
|
11088
|
-
}
|
|
11089
|
-
return [];
|
|
11090
|
-
};
|
|
11091
|
-
const getBranch = (branches, selectedBranch) => branches.find((_) => _.branchCode === selectedBranch);
|
|
11092
|
-
|
|
11093
|
-
const SafeDepositRentalForm = JSX((props) => {
|
|
11094
|
-
const { regions, data, branches, onChange, onClick } = props;
|
|
11095
|
-
useEffect(() => {
|
|
11096
|
-
onChange({
|
|
11097
|
-
selectedBranch: '',
|
|
11098
|
-
selectedCaseVolume: '',
|
|
11099
|
-
selectedBoxSize: '',
|
|
11100
|
-
});
|
|
11101
|
-
}, [data.selectedRegion, onChange]);
|
|
11102
|
-
const branch = getBranch(branches, data.selectedBranch);
|
|
11103
|
-
const caseVolumes = getCaseVolumes(branch?.safeBoxCaseVolumes);
|
|
11104
|
-
const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes, data.selectedCaseVolume)?.safeBoxCases;
|
|
11105
|
-
const tariffs = getTariffs(safeBoxCases, data.selectedBoxSize);
|
|
11106
|
-
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 })] }));
|
|
11107
|
-
});
|
|
11108
|
-
const getCaseVolumes = (safeBoxCaseVolumes) => safeBoxCaseVolumes?.length ? safeBoxCaseVolumes?.filter((_) => _?.safeBoxCases?.length) : [];
|
|
11109
|
-
const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
|
|
11110
|
-
const getTariffs = (safeBoxCases, selectedBoxSize) => safeBoxCases?.find((_) => _.safeBoxCasesSize === selectedBoxSize)?.tariffs;
|
|
11111
|
-
|
|
11112
|
-
const SAFEBOXES_URL = `${API_BASE_URI$1}/safeboxes`;
|
|
11113
|
-
const EMPTY_VALUE = [];
|
|
11114
|
-
function useSafeBoxes(regionCode) {
|
|
11115
|
-
const { data } = useAsyncData(regionCode ? `${SAFEBOXES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
|
|
11116
|
-
return data || EMPTY_VALUE;
|
|
11117
|
-
}
|
|
11118
|
-
const fetchSafeBoxes = async (url) => {
|
|
11119
|
-
const result = await fetchJSON(url, { method: 'GET' });
|
|
11120
|
-
return result || EMPTY_VALUE;
|
|
11121
|
-
};
|
|
11122
|
-
|
|
11123
|
-
const DEFAULT_DAYS = 26;
|
|
11124
|
-
const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest }) => {
|
|
11125
|
-
const [showMap, setShowMap] = useState(false);
|
|
11126
|
-
const handleShowMap = useCallback(() => setShowMap((_) => !_), []);
|
|
11127
|
-
const [safeDepositState, setStateDepositState] = useState({
|
|
11128
|
-
selectedRegion: '',
|
|
11129
|
-
selectedBranch: '',
|
|
11130
|
-
selectedCaseVolume: '',
|
|
11131
|
-
selectedBoxSize: '',
|
|
11132
|
-
days: DEFAULT_DAYS,
|
|
11133
|
-
});
|
|
11134
|
-
const regions = useRegions();
|
|
11135
|
-
const selectedRegion = normalizeSelectedRegion(safeDepositState.selectedRegion, regions);
|
|
11136
|
-
const branches = useSafeBoxes(selectedRegion);
|
|
11137
|
-
const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
|
|
11138
|
-
const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
|
|
11139
|
-
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] }));
|
|
11140
|
-
});
|
|
11141
|
-
const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
|
|
11142
|
-
|
|
11143
10496
|
const getIconTextStyle = (version) => version === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
|
|
11144
10497
|
|
|
11145
10498
|
const STEP_BREAKPOINT = 4;
|
|
@@ -11180,6 +10533,92 @@
|
|
|
11180
10533
|
return href ? new URL(href).searchParams.get(params) : null;
|
|
11181
10534
|
};
|
|
11182
10535
|
|
|
10536
|
+
const badgeBgStyleMap = {
|
|
10537
|
+
primary: 'bg-white/30',
|
|
10538
|
+
secondary: 'bg-main-divider',
|
|
10539
|
+
};
|
|
10540
|
+
const badgeTextColorStyleMap = {
|
|
10541
|
+
primary: { desktop: 'text-white', mobile: 'text-primary-text' },
|
|
10542
|
+
secondary: { desktop: 'text-secondary-text', mobile: 'text-secondary-text' },
|
|
10543
|
+
};
|
|
10544
|
+
const Badge = JSX(({ count, version = 'secondary' }) => {
|
|
10545
|
+
const isMobileMode = useMobileMode();
|
|
10546
|
+
const badgeBgStyle = isMobileMode ? 'bg-main-divider' : badgeBgStyleMap[version];
|
|
10547
|
+
const textStyle = badgeTextColorStyleMap[version][isMobileMode ? 'mobile' : 'desktop'];
|
|
10548
|
+
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 }) }));
|
|
10549
|
+
});
|
|
10550
|
+
|
|
10551
|
+
const getButtonClassNames = (isActive) => ({
|
|
10552
|
+
btn: `w-96 ${isActive ? 'p-m border-none bg-primary-main text-white' : 'p-s ease-in duration-300 bg-white'}`,
|
|
10553
|
+
text: isActive ? 'mb-xs text-xl' : 'mb-2xs text-l text-primary-text',
|
|
10554
|
+
desc: `font-light ${isActive ? 'text-l text-white' : 'text-m text-secondary-text'}`,
|
|
10555
|
+
icon: isActive ? '' : 'text-primary-main',
|
|
10556
|
+
iconVersion: (isActive ? 'white' : 'normal'),
|
|
10557
|
+
oldText: 'text-m text-center',
|
|
10558
|
+
oldDesc: 'text-m-light',
|
|
10559
|
+
});
|
|
10560
|
+
const renderTabItemInner = ({ text, description, icon, isActive, type, }) => {
|
|
10561
|
+
const buttonClassNames = getButtonClassNames(isActive);
|
|
10562
|
+
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: {
|
|
10563
|
+
...icon,
|
|
10564
|
+
iconVersion: icon?.iconVersion ?? buttonClassNames.iconVersion,
|
|
10565
|
+
}, 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 })] })] }));
|
|
10566
|
+
};
|
|
10567
|
+
|
|
10568
|
+
const tabPaddingStyleMap = {
|
|
10569
|
+
default: 'px-xs',
|
|
10570
|
+
underlined: 'px-m',
|
|
10571
|
+
animated: 'px-m border border-gray cursor-pointer text-left border-b-0 mt-auto flex gap-2xs',
|
|
10572
|
+
};
|
|
10573
|
+
const tabTextStyle = 'text-secondary-text hover:text-primary-main';
|
|
10574
|
+
const activeTabTextStyleMap = {
|
|
10575
|
+
default: 'text-black sm:text-white',
|
|
10576
|
+
underlined: 'text-primary-main border-b-2',
|
|
10577
|
+
animated: 'text-white sm:text-white',
|
|
10578
|
+
};
|
|
10579
|
+
const tabBgStyleMap = {
|
|
10580
|
+
default: 'bg-white',
|
|
10581
|
+
underlined: 'bg-white',
|
|
10582
|
+
animated: 'p-1 ease-in duration-300 bg-white text-primary-text h-[70px] w-96',
|
|
10583
|
+
};
|
|
10584
|
+
const activeTabBgStyleMap = {
|
|
10585
|
+
default: 'bg-white sm:bg-primary-main',
|
|
10586
|
+
underlined: 'bg-white',
|
|
10587
|
+
animated: 'p-2 border-none bg-primary-main text-white h-20 w-96',
|
|
10588
|
+
};
|
|
10589
|
+
const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
|
|
10590
|
+
const Tag = tag;
|
|
10591
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10592
|
+
const { text, description, icon, count, tabName, ...link } = item;
|
|
10593
|
+
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({
|
|
10594
|
+
text,
|
|
10595
|
+
description,
|
|
10596
|
+
icon,
|
|
10597
|
+
isActive,
|
|
10598
|
+
type,
|
|
10599
|
+
}), Number.isInteger(count) ? (jsx("div", { className: "ml-xs", role: "status", "aria-label": `Количество программ и сервисов ${count}`, children: jsx(Badge, { count: count, version: getVersion(isActive, type) }) })) : null] }) }));
|
|
10600
|
+
});
|
|
10601
|
+
|
|
10602
|
+
const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
|
|
10603
|
+
const LinkTabItem = JSX((props) => {
|
|
10604
|
+
const link = useLink();
|
|
10605
|
+
const handleClick = useCallback(() => {
|
|
10606
|
+
props.onClick && props.onClick(props.item || {});
|
|
10607
|
+
}, [props.onClick, props.item]);
|
|
10608
|
+
const { onClick, ...item } = link({ ...props.item, onClick: handleClick });
|
|
10609
|
+
return jsx(TabItemInner, { ...props, tag: "a", item: item, onClick: onClick });
|
|
10610
|
+
});
|
|
10611
|
+
// TODO: Update handlerDecorator (support buttons?)
|
|
10612
|
+
const ButtonTabItem = JSX(({ item = {}, onClick, ...rest }) => {
|
|
10613
|
+
const handleClick = useCallback((e) => {
|
|
10614
|
+
e.target.scrollIntoView({ block: 'nearest' });
|
|
10615
|
+
onClick?.(item);
|
|
10616
|
+
}, [onClick, item]);
|
|
10617
|
+
return jsx(TabItemInner, { item: item, onClick: handleClick, ...rest });
|
|
10618
|
+
});
|
|
10619
|
+
|
|
10620
|
+
const renderTab = (activeTab, onClick, type) => (tab, i) => (jsx(TabItem, { isActive: tab === activeTab, onClick: onClick, type: type, item: tab }, String(i)));
|
|
10621
|
+
|
|
11183
10622
|
const scrollButtonStyle = 'hidden sm:flex absolute z-40';
|
|
11184
10623
|
const scrollStyle = {
|
|
11185
10624
|
default: {
|
|
@@ -11299,74 +10738,61 @@
|
|
|
11299
10738
|
? Number(paramsId)
|
|
11300
10739
|
: tabs.reduce((selectedIndex, tab, i) => (tab.selected ? i : selectedIndex), 0);
|
|
11301
10740
|
|
|
11302
|
-
const
|
|
11303
|
-
const
|
|
11304
|
-
const COLS_LENGTH_FOR_SCROLL = 2;
|
|
11305
|
-
const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
|
|
10741
|
+
const FIRST_CELL_STYLES = 'w-80 flex-shrink-0 sticky left-0 bg-white';
|
|
10742
|
+
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] }));
|
|
11306
10743
|
|
|
11307
10744
|
const carouselContainerClassesMap = {
|
|
11308
10745
|
comparison: 'flex gap-m duration-1000',
|
|
11309
10746
|
tariff: 'flex gap-5xl flex-grow duration-1000',
|
|
11310
10747
|
};
|
|
11311
|
-
const TableCarouselContainer = JSX(({ children,
|
|
10748
|
+
const TableCarouselContainer = JSX(({ children, version = 'comparison' }) => (jsx("div", { className: "flex flex-1", children: jsx("div", { className: carouselContainerClassesMap[version], children: children }) })));
|
|
11312
10749
|
|
|
11313
10750
|
const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (jsx(DefaultFoldButton, { className: className, label: isOpen ? 'Скрыть' : 'Показать', isUnfolded: isOpen, version: "secondary", short: true, onClick: onClick })));
|
|
11314
10751
|
|
|
11315
|
-
const
|
|
11316
|
-
|
|
11317
|
-
|
|
11318
|
-
const
|
|
11319
|
-
const
|
|
11320
|
-
const
|
|
11321
|
-
|
|
11322
|
-
|
|
11323
|
-
|
|
11324
|
-
|
|
11325
|
-
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
|
|
11329
|
-
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
|
|
11336
|
-
|
|
11337
|
-
|
|
11338
|
-
|
|
11339
|
-
const
|
|
11340
|
-
|
|
11341
|
-
|
|
11342
|
-
|
|
11343
|
-
|
|
11344
|
-
|
|
11345
|
-
|
|
11346
|
-
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
10752
|
+
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, {
|
|
10753
|
+
buttonClassName: 'basis-0',
|
|
10754
|
+
}), image?.src ? jsx(Img, { image: image }) : null] }, String(i)));
|
|
10755
|
+
const renderLabel = (label) => label ? (jsx("div", { children: jsx(Text, { size: "text-h6", children: label }) })) : null;
|
|
10756
|
+
const renderDescription$1 = (description) => description ? (jsx("div", { className: "text-l font-light", children: jsx(Text, { color: "text-secondary-text", children: description }) })) : null;
|
|
10757
|
+
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;
|
|
10758
|
+
|
|
10759
|
+
const TariffsTableCell = JSX(({ cells, tableInner, onSetTable }) => {
|
|
10760
|
+
return (jsx("div", { className: "w-80 flex-grow flex flex-col gap-lg", role: "cell", children: cells?.length
|
|
10761
|
+
? cells.map((_, i) => {
|
|
10762
|
+
if (_?.tableSource?.tableData) {
|
|
10763
|
+
return (jsx(TableInnerButton, { className: "w-fit", isOpen: Boolean(tableInner), onClick: () => {
|
|
10764
|
+
onSetTable(tableInner ? undefined : { tableSource: _.tableSource });
|
|
10765
|
+
} }, String(i)));
|
|
10766
|
+
}
|
|
10767
|
+
return renderCell(_, i);
|
|
10768
|
+
})
|
|
10769
|
+
: null }));
|
|
10770
|
+
});
|
|
10771
|
+
|
|
10772
|
+
const useCarouselControls = (props, initialIndex = 0) => {
|
|
10773
|
+
const { itemCount, visibleItemCount } = props;
|
|
10774
|
+
const [activeIndex, setActiveIndex] = useState(initialIndex);
|
|
10775
|
+
const inc = useCallback(() => setActiveIndex((_) => Math.min(_ + 1, itemCount - 1)), [itemCount]);
|
|
10776
|
+
const dec = useCallback(() => setActiveIndex((_) => Math.max(_ - 1, 0)), [itemCount]);
|
|
10777
|
+
const canInc = visibleItemCount
|
|
10778
|
+
? itemCount > visibleItemCount && activeIndex < itemCount - visibleItemCount
|
|
10779
|
+
: activeIndex < itemCount - 1;
|
|
10780
|
+
const canDec = activeIndex > 0;
|
|
10781
|
+
const isScrollAvailable = canDec || canInc;
|
|
10782
|
+
return [
|
|
10783
|
+
activeIndex,
|
|
10784
|
+
{
|
|
10785
|
+
inc,
|
|
10786
|
+
dec,
|
|
10787
|
+
canInc,
|
|
10788
|
+
canDec,
|
|
10789
|
+
isScrollAvailable,
|
|
11352
10790
|
},
|
|
11353
|
-
|
|
11354
|
-
});
|
|
11355
|
-
const renderCell = ({ cell, cellProps }) => {
|
|
11356
|
-
if (!cell) {
|
|
11357
|
-
return null;
|
|
11358
|
-
}
|
|
11359
|
-
const { tableCellType: type, ...rest } = cell;
|
|
11360
|
-
if (!type || !(type in EmbeddableCellData)) {
|
|
11361
|
-
return null;
|
|
11362
|
-
}
|
|
11363
|
-
const EmbeddableCellInner = EmbeddableCellData[type];
|
|
11364
|
-
return jsx(EmbeddableCellInner, { ...cellProps, ...rest });
|
|
10791
|
+
];
|
|
11365
10792
|
};
|
|
11366
10793
|
|
|
11367
|
-
|
|
11368
|
-
|
|
11369
|
-
: null })));
|
|
10794
|
+
/** @deprecated */
|
|
10795
|
+
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;
|
|
11370
10796
|
|
|
11371
10797
|
const COLUMN_WIDTH = 140;
|
|
11372
10798
|
const getHorizontalShift = (columns, activeColumnIndex) => sum(columns.slice(0, activeColumnIndex).map((_) => _?.cols?.length ?? 1)) * COLUMN_WIDTH;
|
|
@@ -11377,7 +10803,7 @@
|
|
|
11377
10803
|
}
|
|
11378
10804
|
const [headerColumn, ...columns] = rowData;
|
|
11379
10805
|
const columnsStyle = style('flex duration-1000 text-center', rowIdx !== 0 ? 'font-normal' : 'font-light');
|
|
11380
|
-
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: {
|
|
10806
|
+
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: {
|
|
11381
10807
|
transform: `translateX(-${getHorizontalShift(columns, activeColumnIndex)}px)`,
|
|
11382
10808
|
}, 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)));
|
|
11383
10809
|
};
|
|
@@ -11397,12 +10823,10 @@
|
|
|
11397
10823
|
})] }));
|
|
11398
10824
|
});
|
|
11399
10825
|
|
|
11400
|
-
const InnerTableBody = JSX(({ activeTabIndex, items }) => {
|
|
11401
|
-
|
|
11402
|
-
|
|
11403
|
-
|
|
11404
|
-
}) }));
|
|
11405
|
-
});
|
|
10826
|
+
const InnerTableBody = JSX(({ activeTabIndex, items }) => (jsx("div", { children: items.map((_, tableIdx) => {
|
|
10827
|
+
const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
|
|
10828
|
+
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));
|
|
10829
|
+
}) })));
|
|
11406
10830
|
|
|
11407
10831
|
const linkButtonVersion = 'secondary';
|
|
11408
10832
|
|
|
@@ -11412,65 +10836,44 @@
|
|
|
11412
10836
|
}), 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] })));
|
|
11413
10837
|
|
|
11414
10838
|
const EMPTY_DATA$1 = 'Данных нет';
|
|
11415
|
-
const InnerTable = UniBlock(({ tableSource
|
|
10839
|
+
const InnerTable = UniBlock(({ tableSource }) => {
|
|
11416
10840
|
const tableData = tableSource?.tableData;
|
|
11417
10841
|
const [activeTabIndex, setActiveTabIndex] = useState(0);
|
|
11418
10842
|
const handleActiveTabIndex = useCallback((_) => setActiveTabIndex(_), []);
|
|
11419
10843
|
const items = tableData?.[activeTabIndex]?.items ?? [];
|
|
11420
10844
|
const currencies = tableData?.map((item) => item.currency ?? '');
|
|
11421
|
-
return tableData ? (jsxs("div", { className: "bg-white z-10", children: [jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex
|
|
10845
|
+
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 }) }));
|
|
11422
10846
|
});
|
|
11423
10847
|
|
|
11424
|
-
const
|
|
10848
|
+
const DIVIDER_STYLE = 'border-main-divider lg:border-b w-full py-s lg:py-xl';
|
|
10849
|
+
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] })));
|
|
11425
10850
|
|
|
11426
|
-
const TariffsTableRow = JSX(({ row: { header, data
|
|
10851
|
+
const TariffsTableRow = JSX(({ row: { header, data = [] }, ...rest }) => {
|
|
11427
10852
|
const [tableInner, setTableInner] = useState(undefined);
|
|
11428
|
-
const handleSetTableInner = useCallback((_) =>
|
|
11429
|
-
|
|
11430
|
-
|
|
11431
|
-
|
|
11432
|
-
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] }));
|
|
10853
|
+
const handleSetTableInner = useCallback((_) => {
|
|
10854
|
+
setTableInner(_);
|
|
10855
|
+
}, []);
|
|
10856
|
+
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] }));
|
|
11433
10857
|
});
|
|
11434
10858
|
|
|
11435
|
-
const TariffsTableWrapper = JSX(({ children
|
|
11436
|
-
const { isScrollAvailable } = controls;
|
|
11437
|
-
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({
|
|
11438
|
-
...controls,
|
|
11439
|
-
btnClass: ['top-28', 'top-11'],
|
|
11440
|
-
className: 'right-7',
|
|
11441
|
-
})] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-20 bg-opacity-to-white" })) : null] }));
|
|
11442
|
-
});
|
|
10859
|
+
const TariffsTableWrapper = JSX(({ children }) => (jsx("div", { role: "table", className: "overflow-x-auto w-auto grid relative gap-y-xs", children: children })));
|
|
11443
10860
|
|
|
11444
|
-
const TariffsTable =
|
|
10861
|
+
const TariffsTable = UniBlock(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
|
|
11445
10862
|
const colData = columns?.map(({ data }) => data) || [];
|
|
11446
10863
|
const rowData = rowHeaders?.map((header, i) => ({
|
|
11447
10864
|
header,
|
|
11448
10865
|
data: colData.map((col) => col?.[i] || []),
|
|
11449
10866
|
}));
|
|
11450
|
-
const
|
|
11451
|
-
const [activeIndex, controls] = useCarouselControls({
|
|
11452
|
-
itemCount: itemCount,
|
|
11453
|
-
visibleItemCount: COLS_LENGTH_FOR_SCROLL,
|
|
11454
|
-
});
|
|
11455
|
-
const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
|
|
10867
|
+
const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, ...rest }, String(i))));
|
|
11456
10868
|
const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
|
|
11457
10869
|
const [isUnfolded, { toggle }] = useBool(false);
|
|
11458
|
-
return (jsxs(BlockWrapper, { className: style('relative space-y-
|
|
10870
|
+
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 })) })] }));
|
|
11459
10871
|
});
|
|
11460
10872
|
|
|
11461
10873
|
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] })] })));
|
|
11462
10874
|
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" }));
|
|
11463
10875
|
const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text group-data-secondary:text-white", children: description }));
|
|
11464
10876
|
|
|
11465
|
-
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 ? (
|
|
11466
|
-
// -mb-n добавлен для выравнивания unit относительно prefix и suffix, тк шрифт font-mohave неправильно высчитывает line-height
|
|
11467
|
-
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] })));
|
|
11468
|
-
|
|
11469
|
-
const UnitBlock = JSX((props) => {
|
|
11470
|
-
const { prefix, unit, suffix, ...rest } = props;
|
|
11471
|
-
return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(Unit, { prefix: prefix, unit: unit, suffix: suffix }) }));
|
|
11472
|
-
});
|
|
11473
|
-
|
|
11474
10877
|
const VerticalLayout = UniBlock(({ className = '', padding = 'p-0', gap = '', isInnerPadding = true, version = 'transparent', isTheme = false, isCardBorder = false, image, ...rest }) => {
|
|
11475
10878
|
const router = useRouter();
|
|
11476
10879
|
return (jsx(BlockWrapper, { className: style('relative flex flex-col', gapStyles[gap], image?.src ? 'bg-right-bottom bg-no-repeat' : '', className), ...(image?.src
|
|
@@ -11512,43 +10915,30 @@
|
|
|
11512
10915
|
CalculatorRefinancing,
|
|
11513
10916
|
CardTransfer,
|
|
11514
10917
|
Carousel,
|
|
11515
|
-
CarouselCard,
|
|
11516
10918
|
CarouselCatalogCard,
|
|
11517
|
-
CarouselLinks,
|
|
11518
10919
|
CarouselRecommendationCard,
|
|
11519
10920
|
CarouselTariffsCard,
|
|
11520
10921
|
ContactsBlock,
|
|
11521
10922
|
DepositFiltration,
|
|
11522
|
-
Depository,
|
|
11523
10923
|
ErrorBlock,
|
|
11524
|
-
ExchangeRateTile,
|
|
11525
10924
|
Footer,
|
|
11526
10925
|
GalleryLayout,
|
|
11527
|
-
GracePeriod,
|
|
11528
10926
|
GrantSupport,
|
|
11529
10927
|
Header,
|
|
11530
10928
|
Headline,
|
|
11531
10929
|
HorizontalLayout,
|
|
11532
10930
|
ImgBlock,
|
|
11533
|
-
InsuranceAmountBlock,
|
|
11534
|
-
InvestmentInfo,
|
|
11535
10931
|
LinkDocs,
|
|
11536
10932
|
MobileAppTile,
|
|
11537
|
-
MortgageFiltration,
|
|
11538
10933
|
OfficesAtmsMap,
|
|
11539
|
-
Placeholder,
|
|
11540
10934
|
ProductBlock,
|
|
11541
|
-
ProductGallery,
|
|
11542
|
-
RepresentativeOfficeInfo,
|
|
11543
10935
|
RichTextBlock,
|
|
11544
10936
|
RollupItem,
|
|
11545
|
-
SafeDepositRental,
|
|
11546
10937
|
StepsBlock,
|
|
11547
10938
|
StickyBottomMenu,
|
|
11548
10939
|
TabsLayout,
|
|
11549
10940
|
TariffsTable,
|
|
11550
10941
|
TextBlock,
|
|
11551
|
-
UnitBlock,
|
|
11552
10942
|
VerticalLayout,
|
|
11553
10943
|
Video,
|
|
11554
10944
|
ApplicationLeadForm,
|
|
@@ -11696,7 +11086,7 @@
|
|
|
11696
11086
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
11697
11087
|
});
|
|
11698
11088
|
|
|
11699
|
-
const packageVersion = "0.
|
|
11089
|
+
const packageVersion = "0.14.856";
|
|
11700
11090
|
|
|
11701
11091
|
exports.Blocks = Blocks;
|
|
11702
11092
|
exports.ContentPage = ContentPage;
|