@redneckz/wildless-cms-uni-blocks 0.16.1-credit → 0.16.2-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 +1 -0
- package/bundle/UniBlock/UniBlockProps.d.ts +2 -2
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +149 -548
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -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/Carousel/renderCardHighlight.d.ts +2 -3
- package/bundle/components/ContentPage/ContentPage.d.ts +2 -2
- 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/utils.d.ts +29 -0
- package/bundle/components/Header/DropdownMenu.d.ts +2 -2
- package/bundle/components/Header/HeaderChatBotButton.d.ts +2 -2
- 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 +2 -2
- package/bundle/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/bundle/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/bundle/components/TabsLayout/renderTabsLayout.d.ts +2 -2
- package/bundle/data/CommonData.d.ts +2 -2
- 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/DefaultControlType.d.ts +5 -5
- package/bundle/model/DisabledProps.d.ts +3 -0
- package/bundle/model/Picture.d.ts +2 -2
- package/bundle/model/PlaceholderProps.d.ts +3 -0
- package/bundle/retail/components/Fields/SelectField.d.ts +4 -4
- package/bundle/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
- package/bundle/retail/model/RetailFormContent.d.ts +2 -2
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -3
- 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 -2
- package/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
- 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 +1 -1
- package/bundle/ui-kit/DatePicker/DatePickerInput.d.ts +3 -3
- 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 +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/InnerTableButton.d.ts +2 -2
- 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 +4 -4
- 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 +2 -2
- package/bundle/ui-kit/ListControlProps.d.ts +1 -1
- package/bundle/ui-kit/Loader/Loader.d.ts +1 -1
- package/bundle/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
- package/bundle/ui-kit/Radio/RadioProps.d.ts +3 -4
- package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -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/SearchInput.d.ts +4 -5
- package/bundle/ui-kit/Select/Select.d.ts +1 -2
- package/bundle/ui-kit/Select/SelectPopup.d.ts +2 -3
- 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 +2 -3
- package/bundle/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +1 -1
- 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/Tags/Tags.d.ts +2 -2
- package/bundle/ui-kit/TimerCircle/Timer.d.ts +2 -2
- package/bundle/ui-kit/TopItem/TopItem.d.ts +2 -2
- package/bundle/ui-kit/YandexMap/YandexMap.d.ts +2 -2
- package/dist/UniBlock/UniBlockProps.d.ts +2 -2
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.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/parseEsiaProfile.js +5 -13
- package/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +0 -10
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -8
- 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.js +1 -1
- package/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/dist/components/Carousel/renderCardHighlight.d.ts +2 -3
- 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/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 +3 -24
- package/dist/components/GalleryLayout/GalleryLayout.js.map +1 -1
- 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 -2
- package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -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/HeaderSubMenuItem.d.ts +2 -2
- package/dist/components/Header/HeaderSubMenuItem.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/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 +2 -2
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/dist/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/dist/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
- package/dist/components/TabsLayout/renderTabsLayout.d.ts +2 -2
- package/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
- package/dist/data/CommonData.d.ts +2 -2
- package/dist/hooks/useForm/useForm.d.ts +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/{ui-kit/Unit/UnitProps.js → model/ComponentType.js} +1 -1
- package/dist/model/ComponentType.js.map +1 -0
- package/dist/{ui-kit → model}/ControlProps.js.map +1 -1
- package/dist/model/DefaultControlType.d.ts +5 -5
- package/dist/model/DisabledProps.d.ts +3 -0
- package/{mobile/dist/ui-kit/Unit/UnitProps.js → dist/model/DisabledProps.js} +1 -1
- package/dist/model/DisabledProps.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/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/dist/retail/components/CaptchaDialog/CaptchaDialog.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/DraftDialog/DraftDialog.js +1 -1
- package/dist/retail/components/DraftDialog/DraftDialog.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/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.js +2 -2
- package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/dist/retail/model/RetailFormContent.d.ts +2 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -3
- 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 -2
- package/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
- package/dist/ui-kit/Calculator/CalculatorStyle.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/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 +1 -1
- package/dist/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
- package/dist/ui-kit/DatePicker/DatePickerInput.d.ts +3 -3
- 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 +2 -2
- package/dist/ui-kit/DialogManager/Dialog.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/InnerTableButton.d.ts +2 -2
- package/dist/ui-kit/InnerTable/InnerTableButton.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 +4 -4
- 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 +2 -2
- 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/SearchBar.d.ts +2 -2
- package/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
- 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 +1 -2
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.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/SearchInput.d.ts +4 -5
- package/dist/ui-kit/SearchDialog/SearchInput.js.map +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/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 +2 -3
- package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +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/TabsControlProps.d.ts +2 -2
- 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/TopItem/TopItem.d.ts +2 -2
- 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/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/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.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/parseEsiaProfile.js +5 -13
- package/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +0 -10
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -8
- 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.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 +2 -3
- 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/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 +1 -22
- package/lib/components/GalleryLayout/GalleryLayout.js.map +1 -1
- 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 -2
- package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -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/HeaderSubMenuItem.d.ts +2 -2
- package/lib/components/Header/HeaderSubMenuItem.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/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 +2 -2
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/lib/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/lib/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
- package/lib/components/TabsLayout/renderTabsLayout.d.ts +2 -2
- package/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
- package/lib/data/CommonData.d.ts +2 -2
- package/lib/hooks/useForm/useForm.d.ts +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/{ui-kit → model}/ControlProps.js.map +1 -1
- 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/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/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/lib/retail/components/CaptchaDialog/CaptchaDialog.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/DraftDialog/DraftDialog.js +1 -1
- package/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/lib/retail/components/DraftDialog/utils.d.ts +3 -3
- 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/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.js +2 -2
- package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/lib/retail/model/RetailFormContent.d.ts +2 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -3
- 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 -2
- package/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
- package/lib/ui-kit/Calculator/CalculatorStyle.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/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 +1 -1
- package/lib/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
- package/lib/ui-kit/DatePicker/DatePickerInput.d.ts +3 -3
- 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 +2 -2
- package/lib/ui-kit/DialogManager/Dialog.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/InnerTableButton.d.ts +2 -2
- package/lib/ui-kit/InnerTable/InnerTableButton.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 +4 -4
- 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 +2 -2
- 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/SearchBar.d.ts +2 -2
- package/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
- 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 +1 -2
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.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/SearchInput.d.ts +4 -5
- package/lib/ui-kit/SearchDialog/SearchInput.js.map +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/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 +2 -3
- package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +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/TabsControlProps.d.ts +2 -2
- 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/TopItem/TopItem.d.ts +2 -2
- 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/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 +114 -448
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -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/Carousel/renderCardHighlight.d.ts +2 -3
- package/mobile/bundle/components/ContentPage/ContentPage.d.ts +2 -2
- 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/utils.d.ts +29 -0
- package/mobile/bundle/components/Header/DropdownMenu.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderChatBotButton.d.ts +2 -2
- 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 +2 -2
- package/mobile/bundle/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/mobile/bundle/components/TabsLayout/renderTabsLayout.d.ts +2 -2
- package/mobile/bundle/data/CommonData.d.ts +2 -2
- 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/DefaultControlType.d.ts +5 -5
- package/mobile/bundle/model/DisabledProps.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/retail/components/Fields/SelectField.d.ts +4 -4
- package/mobile/bundle/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
- package/mobile/bundle/retail/model/RetailFormContent.d.ts +2 -2
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -3
- 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 -2
- package/mobile/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
- 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 +1 -1
- package/mobile/bundle/ui-kit/DatePicker/DatePickerInput.d.ts +3 -3
- 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 +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/InnerTableButton.d.ts +2 -2
- 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 +4 -4
- 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 +2 -2
- 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/SearchBar.d.ts +2 -2
- package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +3 -4
- package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -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/SearchInput.d.ts +4 -5
- 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/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 +2 -3
- package/mobile/bundle/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +1 -1
- 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/Tags/Tags.d.ts +2 -2
- package/mobile/bundle/ui-kit/TimerCircle/Timer.d.ts +2 -2
- package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +2 -2
- package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +2 -2
- package/mobile/dist/UniBlock/UniBlockProps.d.ts +2 -2
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.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/parseEsiaProfile.js +5 -13
- package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.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/Blocks.js +0 -8
- 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.js +1 -1
- package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/mobile/dist/components/Carousel/renderCardHighlight.d.ts +2 -3
- 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/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 +3 -24
- package/mobile/dist/components/GalleryLayout/GalleryLayout.js.map +1 -1
- 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 -2
- 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.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/HeaderSubMenuItem.d.ts +2 -2
- package/mobile/dist/components/Header/HeaderSubMenuItem.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/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 +2 -2
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuDialog.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/data/CommonData.d.ts +2 -2
- package/mobile/dist/hooks/useForm/useForm.d.ts +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/{ui-kit → model}/ControlProps.js.map +1 -1
- 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/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/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.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/DraftDialog/DraftDialog.js +1 -1
- package/mobile/dist/retail/components/DraftDialog/DraftDialog.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/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.js +2 -2
- package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/dist/retail/model/RetailFormContent.d.ts +2 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -3
- 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 -2
- 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/renderBinaryRadioButtonGroup.d.ts +5 -6
- package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.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 +1 -1
- package/mobile/dist/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
- package/mobile/dist/ui-kit/DatePicker/DatePickerInput.d.ts +3 -3
- 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 +2 -2
- package/mobile/dist/ui-kit/DialogManager/Dialog.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/InnerTableButton.d.ts +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.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 +4 -4
- 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 +2 -2
- 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/SearchBar.d.ts +2 -2
- package/mobile/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
- 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 +1 -2
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.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/SearchInput.d.ts +4 -5
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +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/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 +2 -3
- package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +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/TabsControlProps.d.ts +2 -2
- 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/TopItem/TopItem.d.ts +2 -2
- 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/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/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.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/parseEsiaProfile.js +5 -13
- package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.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/Blocks.js +0 -8
- 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.js +1 -1
- package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/mobile/lib/components/Carousel/renderCardHighlight.d.ts +2 -3
- 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/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 +1 -22
- package/mobile/lib/components/GalleryLayout/GalleryLayout.js.map +1 -1
- 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 -2
- 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.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/HeaderSubMenuItem.d.ts +2 -2
- package/mobile/lib/components/Header/HeaderSubMenuItem.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/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 +2 -2
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
- package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuDialog.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/data/CommonData.d.ts +2 -2
- package/mobile/lib/hooks/useForm/useForm.d.ts +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/{ui-kit → model}/ControlProps.js.map +1 -1
- 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/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/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.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/DraftDialog/DraftDialog.js +1 -1
- package/mobile/lib/retail/components/DraftDialog/DraftDialog.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/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.js +2 -2
- package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/lib/retail/model/RetailFormContent.d.ts +2 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -3
- 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 -2
- 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/renderBinaryRadioButtonGroup.d.ts +5 -6
- package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.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 +1 -1
- package/mobile/lib/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
- package/mobile/lib/ui-kit/DatePicker/DatePickerInput.d.ts +3 -3
- 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 +2 -2
- package/mobile/lib/ui-kit/DialogManager/Dialog.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/InnerTableButton.d.ts +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.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 +4 -4
- 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 +2 -2
- 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/SearchBar.d.ts +2 -2
- package/mobile/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
- 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 +1 -2
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.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/SearchInput.d.ts +4 -5
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +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/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 +2 -3
- package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +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/TabsControlProps.d.ts +2 -2
- 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/TopItem/TopItem.d.ts +2 -2
- 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/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/ApplicationLeadForm/ApplicationLeadForm.tsx +1 -1
- package/mobile/src/components/ApplicationLeadForm/EsiaLoginBanner.tsx +12 -7
- package/mobile/src/components/ApplicationLeadForm/parseEsiaProfile.ts +5 -13
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.ts +0 -8
- 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 +2 -2
- package/mobile/src/components/Carousel/renderCardHighlight.tsx +2 -3
- package/mobile/src/components/Carousel/renderCarouselCards.tsx +2 -6
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
- 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 +1 -32
- 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 +2 -2
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +3 -2
- package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +7 -3
- package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -2
- package/mobile/src/components/Header/HeaderTopMenu.tsx +3 -7
- package/mobile/src/components/Header/HeaderTopMenuItem.tsx +2 -2
- 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 +2 -2
- package/mobile/src/components/OfficesAtmsMap/OfficesMap.tsx +2 -5
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenuDialog.tsx +2 -2
- package/mobile/src/components/TabsLayout/renderTabsLayout.tsx +2 -2
- package/mobile/src/data/CommonData.ts +2 -1
- package/mobile/src/hooks/useForm/useForm.ts +1 -1
- package/mobile/src/model/CommonInputProps.ts +12 -0
- package/mobile/src/model/ComponentType.ts +4 -0
- package/mobile/src/model/DefaultControlType.ts +10 -5
- package/mobile/src/model/DisabledProps.ts +3 -0
- package/mobile/src/model/Picture.ts +2 -2
- package/mobile/src/model/PlaceholderProps.ts +3 -0
- package/mobile/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +4 -4
- package/mobile/src/retail/components/DaDataInputControl/DaDataInputControl.tsx +11 -57
- package/mobile/src/retail/components/DraftDialog/DraftDialog.tsx +1 -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/VerifyPhoneDialog/SubmitButton.tsx +7 -9
- package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +3 -3
- package/mobile/src/retail/model/RetailFormContent.ts +3 -2
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -3
- 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 -2
- package/mobile/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
- package/mobile/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +9 -6
- 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 +1 -1
- package/mobile/src/ui-kit/DatePicker/DatePickerInput.tsx +3 -3
- 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 +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/InnerTableButton.tsx +3 -2
- 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 +4 -4
- 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 +2 -2
- 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/SearchBar.tsx +2 -2
- package/mobile/src/ui-kit/ProgressBar/ProgressBar.tsx +1 -1
- package/mobile/src/ui-kit/Radio/RadioProps.ts +4 -4
- package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -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/SearchInput.tsx +4 -5
- 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/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 +5 -5
- package/mobile/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +1 -1
- 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/TabsControlProps.ts +2 -2
- 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/TopItem/TopItem.tsx +2 -2
- package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
- package/mobile/src/utils/isCyrilic.ts +1 -1
- package/package.json +2 -2
- package/src/UniBlock/UniBlockProps.ts +2 -2
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +1 -1
- package/src/components/ApplicationLeadForm/EsiaLoginBanner.tsx +12 -7
- package/src/components/ApplicationLeadForm/parseEsiaProfile.ts +5 -13
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.mobile.ts +0 -8
- package/src/components/Blocks.ts +0 -10
- 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 +2 -2
- 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 +2 -3
- package/src/components/Carousel/renderCarouselCards.tsx +2 -6
- package/src/components/ContentPage/ContentPage.tsx +2 -2
- 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 +1 -32
- package/src/components/GalleryLayout/utils.ts +35 -0
- package/src/components/Header/DropdownMenu.tsx +2 -2
- package/src/components/Header/HeaderChatBotButton.tsx +2 -2
- package/src/components/Header/HeaderSecondaryMenu.tsx +3 -2
- package/src/components/Header/HeaderSecondaryMenuButton.tsx +7 -3
- package/src/components/Header/HeaderSubMenuItem.tsx +2 -2
- package/src/components/Header/HeaderTopMenu.tsx +3 -7
- package/src/components/Header/HeaderTopMenuItem.tsx +2 -2
- 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 +2 -2
- package/src/components/OfficesAtmsMap/OfficesMap.tsx +2 -5
- package/src/components/StickyBottomMenu/StickyBottomMenuDialog.tsx +2 -2
- package/src/components/TabsLayout/renderTabsLayout.tsx +2 -2
- package/src/data/CommonData.ts +2 -1
- package/src/hooks/useForm/useForm.ts +1 -1
- package/src/model/CommonInputProps.ts +12 -0
- package/src/model/ComponentType.ts +4 -0
- package/src/model/DefaultControlType.ts +10 -5
- package/src/model/DisabledProps.ts +3 -0
- package/src/model/Picture.ts +2 -2
- package/src/model/PlaceholderProps.ts +3 -0
- package/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +4 -4
- package/src/retail/components/DaDataInputControl/DaDataInputControl.tsx +11 -57
- package/src/retail/components/DraftDialog/DraftDialog.tsx +1 -1
- package/src/retail/components/Fields/RegionRetailField.tsx +12 -3
- package/src/retail/components/Fields/SelectField.tsx +9 -4
- package/src/retail/components/VerifyPhoneDialog/SubmitButton.tsx +7 -9
- package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +3 -3
- package/src/retail/model/RetailFormContent.ts +3 -2
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -3
- 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 -2
- package/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
- package/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +9 -6
- 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 +1 -1
- package/src/ui-kit/DatePicker/DatePickerInput.tsx +3 -3
- 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 +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/InnerTableButton.tsx +3 -2
- 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 +4 -4
- 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 +2 -2
- package/src/ui-kit/ListControlProps.ts +1 -1
- package/src/ui-kit/Loader/Loader.tsx +1 -1
- 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 +1 -1
- package/src/ui-kit/Radio/RadioProps.ts +4 -4
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -2
- package/src/ui-kit/SVG.tsx +2 -2
- package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
- package/src/ui-kit/SearchDialog/SearchInput.tsx +4 -5
- package/src/ui-kit/Select/Select.tsx +1 -2
- package/src/ui-kit/Select/SelectPopup.tsx +2 -3
- 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 +5 -5
- package/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +1 -1
- 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/TabsControlProps.ts +2 -2
- package/src/ui-kit/Tags/Tags.tsx +2 -3
- package/src/ui-kit/TimerCircle/Timer.tsx +2 -2
- package/src/ui-kit/TopItem/TopItem.tsx +2 -2
- package/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
- 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/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/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/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/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.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/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/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/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/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/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/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.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/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/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/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/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/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/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
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
const ButtonInner = JSX((props) => {
|
|
522
522
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
523
523
|
const iconHideStyle = isWithText(props) && 'hidden lg:block';
|
|
524
|
-
return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s
|
|
524
|
+
return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendRight })) : null] }));
|
|
525
525
|
});
|
|
526
526
|
const buttonStyle$1 = (props) => {
|
|
527
527
|
const { version, aboveText, rounded } = props;
|
|
@@ -759,10 +759,10 @@
|
|
|
759
759
|
const and = (a, b) => (...args) => a(...args) && b(...args);
|
|
760
760
|
|
|
761
761
|
const table = (...table) => (...input) => {
|
|
762
|
-
const [, unit] = assertNonEmpty
|
|
762
|
+
const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(...input)));
|
|
763
763
|
return unit(...input);
|
|
764
764
|
};
|
|
765
|
-
function assertNonEmpty
|
|
765
|
+
function assertNonEmpty(value) {
|
|
766
766
|
if (!value) {
|
|
767
767
|
throw new Error('Value should be fulfilled');
|
|
768
768
|
}
|
|
@@ -1304,20 +1304,24 @@
|
|
|
1304
1304
|
|
|
1305
1305
|
const renderErrorText = (error) => (jsx("div", { className: "h-6", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
|
|
1306
1306
|
|
|
1307
|
-
const
|
|
1308
|
-
const
|
|
1309
|
-
const popupRef = useOutsideClick(close);
|
|
1307
|
+
const InputWrapper = JSX(({ className, label, value = '', error, errors, type, isInteger, placeholder, maxLength, inputRef, isOpen, onOpen, onClose, onChange = noop, ...rest }) => {
|
|
1308
|
+
const popupRef = useOutsideClick(onClose);
|
|
1310
1309
|
const handleChange = useCallback((v) => {
|
|
1311
|
-
|
|
1312
|
-
|
|
1310
|
+
const isOverMax = maxLength && v.length > maxLength;
|
|
1311
|
+
!isOpen && onOpen();
|
|
1312
|
+
if (!isOverMax) {
|
|
1313
|
+
onChange(normalizeInteger(v, isInteger));
|
|
1314
|
+
}
|
|
1313
1315
|
}, [isOpen, onChange]);
|
|
1314
|
-
|
|
1315
|
-
isInteger && value ? onChange(normalizeInteger$1(value)) : null;
|
|
1316
|
-
}, [value]);
|
|
1317
|
-
return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: close, onFocus: open, children: [jsx("div", { children: jsx(Input, { disabled: disabled, type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), value: value, onChange: handleChange, onBlur: onBlur, isTextarea: isTextarea, placeholder: getPlaceholder$1(placeholder, errors, label) }) }), renderErrorText(error)] }));
|
|
1316
|
+
return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: onClose, onFocus: onOpen, children: [jsx("div", { ref: inputRef, children: jsx(Input, { type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), onChange: handleChange, placeholder: getPlaceholder({ placeholder, errors, label }), value: value, ...rest }) }), renderErrorText(error)] }));
|
|
1318
1317
|
});
|
|
1319
|
-
const normalizeInteger
|
|
1320
|
-
const getPlaceholder
|
|
1318
|
+
const normalizeInteger = (val = '', isInteger = false) => isInteger && val ? val.replace(/[^\d]+/g, '') : val;
|
|
1319
|
+
const getPlaceholder = ({ placeholder, errors, label }) => errors && !label ? `${placeholder}*` : placeholder;
|
|
1320
|
+
|
|
1321
|
+
const InputControl = JSX((props) => {
|
|
1322
|
+
const [isOpen, { setFalse: close, setTrue: open }] = useBool();
|
|
1323
|
+
return jsx(InputWrapper, { isOpen: isOpen, onOpen: open, onClose: close, ...props });
|
|
1324
|
+
});
|
|
1321
1325
|
|
|
1322
1326
|
const formatOption = (_) => _?.text || _?.key || '';
|
|
1323
1327
|
|
|
@@ -1582,7 +1586,7 @@
|
|
|
1582
1586
|
const handleChange = useCallback((ev) => {
|
|
1583
1587
|
onChange && onChange(parseDecimal(ev.target?.value));
|
|
1584
1588
|
}, [onChange]);
|
|
1585
|
-
return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('text-h3 w-full h-14', 'pl-m
|
|
1589
|
+
return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('text-h3 w-full h-14', 'pl-m box-border', 'text-primary-text', inputValidStyle, inputDisabledStyle), disabled: disabled, onChange: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
|
|
1586
1590
|
});
|
|
1587
1591
|
const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
|
|
1588
1592
|
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)))) }));
|
|
@@ -2075,7 +2079,7 @@
|
|
|
2075
2079
|
};
|
|
2076
2080
|
};
|
|
2077
2081
|
|
|
2078
|
-
const cyrillicPattern = /^[
|
|
2082
|
+
const cyrillicPattern = /^[а-яё-]*$/i;
|
|
2079
2083
|
const isCyrillic = (_ = '') => cyrillicPattern.test(_);
|
|
2080
2084
|
|
|
2081
2085
|
const required = validator((_) => _ !== null && _ !== undefined && _ !== '');
|
|
@@ -2110,7 +2114,7 @@
|
|
|
2110
2114
|
sufferedFrom: defaultValidator(),
|
|
2111
2115
|
applierType: defaultValidator(),
|
|
2112
2116
|
surname: nameValidator('Укажите свою фамилию на кириллице'),
|
|
2113
|
-
name: nameValidator('Укажите своё имя на кириллице'),
|
|
2117
|
+
name: nameValidator('Укажите своё имя на кириллице (без сокращений)'),
|
|
2114
2118
|
middleName: nameValidator('Укажите своё отчество на кириллице'),
|
|
2115
2119
|
birthday: defaultValidator('Укажите дату рождения'),
|
|
2116
2120
|
phone: phoneValidator('Укажите номер телефона'),
|
|
@@ -2733,14 +2737,19 @@
|
|
|
2733
2737
|
|
|
2734
2738
|
const getLink = (body) => fetchRetailJSON('/esia/getLink', 'POST', body);
|
|
2735
2739
|
|
|
2736
|
-
const EsiaLoginBanner = JSX(() => {
|
|
2740
|
+
const EsiaLoginBanner = JSX(({ onChangeEsiaStatus }) => {
|
|
2737
2741
|
const navigator = locationNavigator();
|
|
2738
2742
|
const handleAuth = useCallback(async () => {
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2743
|
+
try {
|
|
2744
|
+
const resp = await getLink({
|
|
2745
|
+
redirectUri: globalThis.location.origin + globalThis.location.pathname,
|
|
2746
|
+
});
|
|
2747
|
+
if (resp?.link) {
|
|
2748
|
+
navigator.assign(resp.link);
|
|
2749
|
+
}
|
|
2750
|
+
}
|
|
2751
|
+
catch {
|
|
2752
|
+
onChangeEsiaStatus(EsiaStatuses.Error);
|
|
2744
2753
|
}
|
|
2745
2754
|
}, []);
|
|
2746
2755
|
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" })] }));
|
|
@@ -2938,16 +2947,8 @@
|
|
|
2938
2947
|
return inputRef;
|
|
2939
2948
|
}
|
|
2940
2949
|
|
|
2941
|
-
const DaDataInputControl = JSX(({
|
|
2950
|
+
const DaDataInputControl = JSX(({ value = '', onChange = noop, onDaDataChange, name = '', daDataQueryPrefix, dadata = false, ...rest }) => {
|
|
2942
2951
|
const [isOpen, { setFalse: close, setTrue: open }] = useBool();
|
|
2943
|
-
const popupRef = useOutsideClick(close);
|
|
2944
|
-
const handleChange = useCallback((v) => {
|
|
2945
|
-
dadata && !isOpen && open();
|
|
2946
|
-
maxLength ? v.length <= maxLength && onChange(v) : onChange(v);
|
|
2947
|
-
}, [isOpen, onChange]);
|
|
2948
|
-
useEffect(() => {
|
|
2949
|
-
isInteger && value && onChange(normalizeInteger(value));
|
|
2950
|
-
}, [value]);
|
|
2951
2952
|
const inputRef = useInputPopup({
|
|
2952
2953
|
isOpen: isOpen && dadata,
|
|
2953
2954
|
name,
|
|
@@ -2956,10 +2957,8 @@
|
|
|
2956
2957
|
onChange,
|
|
2957
2958
|
onDaDataChange,
|
|
2958
2959
|
});
|
|
2959
|
-
return (
|
|
2960
|
-
});
|
|
2961
|
-
const normalizeInteger = (val = '') => val.replace(/[^\d]+/g, '');
|
|
2962
|
-
const getPlaceholder = (placeholder, errors, label) => errors && !label ? `${placeholder}*` : placeholder;
|
|
2960
|
+
return (jsx(InputWrapper, { value: value, onChange: onChange, inputRef: inputRef, isOpen: isOpen, onOpen: open, onClose: close, ...rest }));
|
|
2961
|
+
});
|
|
2963
2962
|
|
|
2964
2963
|
const AddressField = JSX(({ field, input }) => {
|
|
2965
2964
|
const fieldName = input?.name || 'addressRegistration';
|
|
@@ -3979,7 +3978,7 @@
|
|
|
3979
3978
|
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] })));
|
|
3980
3979
|
|
|
3981
3980
|
const CalculatorStyle = {
|
|
3982
|
-
wrapper: 'flex flex-col justify-between lg:flex-row gap-
|
|
3981
|
+
wrapper: 'flex flex-col justify-between lg:flex-row gap-4xl',
|
|
3983
3982
|
input: 'flex flex-col lg:w-1/2 gap-2xl',
|
|
3984
3983
|
result: 'flex flex-col gap-y-xl min-w-52',
|
|
3985
3984
|
};
|
|
@@ -4817,22 +4816,27 @@
|
|
|
4817
4816
|
};
|
|
4818
4817
|
|
|
4819
4818
|
const RegionRetailField = JSX(({ field, input }) => {
|
|
4819
|
+
const { programId, productType } = useRetailFormStore();
|
|
4820
4820
|
const { data: regions } = useLeadFormData('REGION_RF');
|
|
4821
4821
|
const { data: regionsDelivery } = useAsyncData('regionsDelivery', getRegionsCardDelivery);
|
|
4822
|
-
const {
|
|
4822
|
+
const { data: productSettings } = useLeadFormData(getCurrentProductSettings(productType));
|
|
4823
4823
|
const isSalaryCard = programId === '38';
|
|
4824
4824
|
const formatRegions = regions?.map(({ key, value }) => ({ key, text: value }));
|
|
4825
|
+
const isDeliveryActive = productSettings?.find((_) => _?.key === 'DELIVERY_ACTIVE')?.value === 'true';
|
|
4825
4826
|
const handleChangeRegion = field('regionRetail')?.onChange;
|
|
4826
4827
|
const handleChangeRegionHasDelivery = field('regionHasDelivery')?.onChange;
|
|
4827
4828
|
const handleChangeMethodObtain = field('methodObtain')?.onChange;
|
|
4828
4829
|
const onChange = useCallback((value) => {
|
|
4829
|
-
const regionHasDelivery =
|
|
4830
|
+
const regionHasDelivery = isDeliveryActive &&
|
|
4831
|
+
regionsDelivery?.find((_) => _.regionCode === value.key)?.deliveryFlg &&
|
|
4832
|
+
!isSalaryCard;
|
|
4830
4833
|
handleChangeRegionHasDelivery?.(regionHasDelivery);
|
|
4831
4834
|
handleChangeMethodObtain?.(regionHasDelivery ? 'courier' : 'office');
|
|
4832
4835
|
handleChangeRegion?.(value);
|
|
4833
|
-
}, [regionsDelivery]);
|
|
4836
|
+
}, [regionsDelivery, isDeliveryActive]);
|
|
4834
4837
|
return (jsx(SelectControl, { label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: formatRegions, ...field(input?.name ?? ''), onChange: onChange }));
|
|
4835
|
-
});
|
|
4838
|
+
});
|
|
4839
|
+
const getCurrentProductSettings = (productType) => productType === 'debitCard' ? 'DEBIT_CARD_LEAD_PROCESS_SETTINGS' : 'CREDIT_LEAD_PROCESS_SETTINGS';
|
|
4836
4840
|
|
|
4837
4841
|
const RetirementIncomeField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041F\u0435\u043D\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", isInteger: true, ...field(input?.name ?? ''), ...input })));
|
|
4838
4842
|
|
|
@@ -5091,7 +5095,7 @@
|
|
|
5091
5095
|
.then((res) => res.text())
|
|
5092
5096
|
.then((text) => text === 'OK');
|
|
5093
5097
|
|
|
5094
|
-
const ICON_SIZE
|
|
5098
|
+
const ICON_SIZE = { width: '103', height: '21' };
|
|
5095
5099
|
|
|
5096
5100
|
const logoTitleSizeStyle = 'text-s';
|
|
5097
5101
|
|
|
@@ -5117,7 +5121,7 @@
|
|
|
5117
5121
|
'bg-white': 'text-primary-text',
|
|
5118
5122
|
transparent: 'text-white',
|
|
5119
5123
|
};
|
|
5120
|
-
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
|
|
5124
|
+
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
|
|
5121
5125
|
? children ?? (jsx("div", { className: "ml-s", children: jsx(Text, { font: "font-medium", color: TEXT_COLOR[bgColor], size: logoTitleSizeStyle, children: logo?.title ?? 'Россельхозбанк' }) }))
|
|
5122
5126
|
: null] })));
|
|
5123
5127
|
|
|
@@ -5148,7 +5152,7 @@
|
|
|
5148
5152
|
(async () => setCaptcha(URL.createObjectURL(await createCaptcha(phoneNumber))))();
|
|
5149
5153
|
}, []);
|
|
5150
5154
|
useEffect(handleCreateCaptcha, []);
|
|
5151
|
-
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
|
|
5155
|
+
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] }) }));
|
|
5152
5156
|
});
|
|
5153
5157
|
|
|
5154
5158
|
const InputCode = JSX(({ values, setValues, hasError, errorText }) => {
|
|
@@ -5191,9 +5195,7 @@
|
|
|
5191
5195
|
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`;
|
|
5192
5196
|
};
|
|
5193
5197
|
|
|
5194
|
-
const SubmitButton = JSX(({
|
|
5195
|
-
return (jsx(Button, { type: "button", onClick: onClick, disabled: isDisabled, children: jsx(Text, { font: "font-normal", children: text }) }));
|
|
5196
|
-
});
|
|
5198
|
+
const SubmitButton = JSX(({ disabled = false, onClick, text }) => (jsx(Button, { type: "button", onClick: onClick, disabled: disabled, children: jsx(Text, { font: "font-normal", children: text }) })));
|
|
5197
5199
|
|
|
5198
5200
|
const checkCode = async (body) => fetchRetailJSON('/sms/checkCode', 'POST', body).then(saveToken);
|
|
5199
5201
|
const saveToken = (data) => {
|
|
@@ -5274,8 +5276,8 @@
|
|
|
5274
5276
|
}, []);
|
|
5275
5277
|
return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-xl p-m", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center rounded-md", children: [jsx(Headline, { className: "w-full", title: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430", description: `Мы отправили код на ${phone}`, headlineVersion: "XS", isEmbedded: true, as: "h6" }), code ? (jsx(InputCode, { values: values, setValues: setValues, errorText: errorText, hasError: hasError })) : null, renderText$2(timeNextReq, handleSendCode), withDescription ? (jsxs(RichText, { itemSize: "list-s", children: [jsx("span", { children: "\u0412\u0432\u043E\u0434\u044F \u043A\u043E\u0434, \u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E, \u0447\u0442\u043E \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044B\u0432\u0430\u044E: " }), jsx("ul", { children: consents?.map((_, i) => (jsx("li", { children: _ }, `${_}-${i}`))) })] })) : null, renderNextButton(isSubmitButtonDisabled, handleSubmit), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
|
|
5276
5278
|
});
|
|
5277
|
-
const renderNextButton = (
|
|
5278
|
-
const renderText$2 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "
|
|
5279
|
+
const renderNextButton = (disabled, onClick) => (jsx(SubmitButton, { text: "\u0414\u0430\u043B\u0435\u0435", disabled: disabled, onClick: onClick }));
|
|
5280
|
+
const renderText$2 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "pl-2xs", seconds: timeNextReq })] })) : (jsx(Button, { embedded: true, onClick: handleSendCode, children: jsx(ButtonTitle, { children: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434" }) }));
|
|
5279
5281
|
|
|
5280
5282
|
const defaultConsentText = {
|
|
5281
5283
|
title: 'Подпишите согласие на запрос в БКИ',
|
|
@@ -5613,7 +5615,7 @@
|
|
|
5613
5615
|
const handleGoToNewTask = useCallback(() => {
|
|
5614
5616
|
navigator.assign(isCredit ? '/natural/loans/all-goals' : '/natural/creditcards/svoya');
|
|
5615
5617
|
}, []);
|
|
5616
|
-
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
|
|
5618
|
+
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 })] })] }) }));
|
|
5617
5619
|
});
|
|
5618
5620
|
|
|
5619
5621
|
const EmptyDraftDialog = JSX(function ({ onClose = noop }) {
|
|
@@ -5994,8 +5996,10 @@
|
|
|
5994
5996
|
dulSubdivisionCode: document.dulSubdivisionCode,
|
|
5995
5997
|
birthPlace: addInfo.birthPlace,
|
|
5996
5998
|
addressRegistration: buildAddress(addressRegistration),
|
|
5997
|
-
addressFact: buildAddress(addressFact),
|
|
5998
5999
|
esiaAccountTypeCd: isDebit ? profile.esiaAccountType : { key: '' },
|
|
6000
|
+
...(addressFact && {
|
|
6001
|
+
addressFact: buildAddress(addressFact),
|
|
6002
|
+
}),
|
|
5999
6003
|
};
|
|
6000
6004
|
return {
|
|
6001
6005
|
...mainData,
|
|
@@ -6008,6 +6012,8 @@
|
|
|
6008
6012
|
generalSeniority: getYearFromMonth(esiaAdditionalDocument.workLength).toString(),
|
|
6009
6013
|
lastJobExperience: getYearFromMonth(esiaAdditionalDocument.workLengthLastJob).toString(),
|
|
6010
6014
|
jobsNumber: esiaAdditionalDocument.jobsNumberInFiveYears.toString(),
|
|
6015
|
+
esiaAccountTypeCd: profile.esiaAccountType,
|
|
6016
|
+
confirmationIncome: { key: 'SFR_CERTIFICATE', text: 'Запрос Банком доходов из СФР' },
|
|
6011
6017
|
employment: { key: 'WORK', text: 'Работаю' },
|
|
6012
6018
|
files,
|
|
6013
6019
|
}),
|
|
@@ -6074,16 +6080,6 @@
|
|
|
6074
6080
|
category: 'CONFIRMING_INCOME_DOC',
|
|
6075
6081
|
isPDF: false,
|
|
6076
6082
|
},
|
|
6077
|
-
{
|
|
6078
|
-
file: esiaAdditionalDocument.pdfFileSigWorkbook,
|
|
6079
|
-
category: 'CONFIRMING_INCOME_DOC',
|
|
6080
|
-
isPDF: true,
|
|
6081
|
-
},
|
|
6082
|
-
{
|
|
6083
|
-
file: esiaAdditionalDocument.xmlFileSigWorkbook,
|
|
6084
|
-
category: 'CONFIRMING_INCOME_DOC',
|
|
6085
|
-
isPDF: false,
|
|
6086
|
-
},
|
|
6087
6083
|
];
|
|
6088
6084
|
for (const doc of documents) {
|
|
6089
6085
|
const contentType = doc.isPDF ? 'data:application/pdf;base64' : 'data:application/xml;base64';
|
|
@@ -6130,8 +6126,6 @@
|
|
|
6130
6126
|
esiaAdditionalDocument?.xmlFilePayout,
|
|
6131
6127
|
esiaAdditionalDocument?.xmlFileSigPayout,
|
|
6132
6128
|
esiaAdditionalDocument?.xmlFileWorkbook,
|
|
6133
|
-
esiaAdditionalDocument?.pdfFileSigWorkbook,
|
|
6134
|
-
esiaAdditionalDocument?.xmlFileSigWorkbook,
|
|
6135
6129
|
];
|
|
6136
6130
|
return data.every(Boolean);
|
|
6137
6131
|
};
|
|
@@ -6218,7 +6212,7 @@
|
|
|
6218
6212
|
reset();
|
|
6219
6213
|
}
|
|
6220
6214
|
}, [leadForm?.current, esiaStatus]);
|
|
6221
|
-
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] })] }));
|
|
6215
|
+
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] })] }));
|
|
6222
6216
|
});
|
|
6223
6217
|
const getInputs = (applicationFormData) => (applicationFormData?.flatMap((_) => _?.inputs) || []);
|
|
6224
6218
|
const getExtendedValidatorObj = (productType) => ({
|
|
@@ -6602,9 +6596,9 @@
|
|
|
6602
6596
|
};
|
|
6603
6597
|
|
|
6604
6598
|
const EMPTY_SCHEMA = {};
|
|
6605
|
-
const initialFiltrationState$
|
|
6599
|
+
const initialFiltrationState$1 = {};
|
|
6606
6600
|
const BankAccountFiltration = UniBlock(({ className, filtrationSchema = EMPTY_SCHEMA, consumerField = {}, resetButton, ...rest }) => {
|
|
6607
|
-
const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$
|
|
6601
|
+
const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$1, {
|
|
6608
6602
|
block: rest.block,
|
|
6609
6603
|
page: rest.options?.page,
|
|
6610
6604
|
});
|
|
@@ -6643,7 +6637,7 @@
|
|
|
6643
6637
|
const isMobileMode = useMobileMode();
|
|
6644
6638
|
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] }));
|
|
6645
6639
|
});
|
|
6646
|
-
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-
|
|
6640
|
+
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)));
|
|
6647
6641
|
|
|
6648
6642
|
const bonusBenefitStyles = 'justify-between p-m h-full border border-gray';
|
|
6649
6643
|
|
|
@@ -7283,7 +7277,7 @@
|
|
|
7283
7277
|
...field('moneyExtra'),
|
|
7284
7278
|
value: calcParams.moneyExtra,
|
|
7285
7279
|
})
|
|
7286
|
-
: null, jsx("div", { className: "sm:hidden
|
|
7280
|
+
: 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)] })] }) }));
|
|
7287
7281
|
});
|
|
7288
7282
|
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 })] }));
|
|
7289
7283
|
|
|
@@ -7348,7 +7342,7 @@
|
|
|
7348
7342
|
const FAILED_TITLE = 'Ошибка перевода';
|
|
7349
7343
|
const SubmitFailedDialog = ({ onClose, errorCode, errorMessage, }) => {
|
|
7350
7344
|
const description = errorCode ? `Код ошибки - ${errorCode}` : 'Пожалуйста, повторите позднее';
|
|
7351
|
-
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
|
|
7345
|
+
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] }) }));
|
|
7352
7346
|
};
|
|
7353
7347
|
|
|
7354
7348
|
const useSubmitCardTransfer = (formType) => {
|
|
@@ -7383,16 +7377,11 @@
|
|
|
7383
7377
|
amount: 1500,
|
|
7384
7378
|
};
|
|
7385
7379
|
const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, button, formType = 'private', ...rest }) => {
|
|
7386
|
-
const [isDisabled, { setValue: setDisabled }] = useBool(false);
|
|
7387
7380
|
const handleSubmit = useSubmitCardTransfer(formType);
|
|
7388
7381
|
const [{ amount }, { field, onSubmit }] = useForm(INITIAL_FORM_STATE, {
|
|
7389
7382
|
onSubmit: handleSubmit,
|
|
7390
7383
|
});
|
|
7391
|
-
|
|
7392
|
-
useEffect(() => {
|
|
7393
|
-
setDisabled(amount <= 0);
|
|
7394
|
-
}, [amount]);
|
|
7395
|
-
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] })] }));
|
|
7384
|
+
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] })] }));
|
|
7396
7385
|
});
|
|
7397
7386
|
|
|
7398
7387
|
const ITEMS_GAP = 16;
|
|
@@ -7424,9 +7413,9 @@
|
|
|
7424
7413
|
: null] }, String(blockIndex))),
|
|
7425
7414
|
});
|
|
7426
7415
|
};
|
|
7427
|
-
const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-
|
|
7416
|
+
const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-16'));
|
|
7428
7417
|
const cardStyle = (_, { someCardsHighlighted, showBorder, cardSize = 'normal', }) => style(cardBaseStyle, 'min-w-80', CARD_SIZE_MAP[cardSize], // TODO fix для RecommendationCard
|
|
7429
|
-
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-
|
|
7418
|
+
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-16' : 'pt-3xl'), getBorderStyle(showBorder), showBorder && 'h-full');
|
|
7430
7419
|
const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
|
|
7431
7420
|
|
|
7432
7421
|
const VISIBLE_ITEM_COUNT = 0;
|
|
@@ -7455,15 +7444,6 @@
|
|
|
7455
7444
|
};
|
|
7456
7445
|
}) ?? [];
|
|
7457
7446
|
|
|
7458
|
-
const titleSize = 'XS';
|
|
7459
|
-
|
|
7460
|
-
const layerBaseStyle = 'z-10 border border-solid w-full h-full';
|
|
7461
|
-
const layerStyle = style(layerBaseStyle, 'absolute hidden @xl:block border-transparent');
|
|
7462
|
-
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], {
|
|
7463
|
-
className: 'mt-m sm:mt-6xl sm:justify-center',
|
|
7464
|
-
isVertical: true,
|
|
7465
|
-
})] })] }) })));
|
|
7466
|
-
|
|
7467
7447
|
const cardStyleMap = {
|
|
7468
7448
|
black: 'bg-black',
|
|
7469
7449
|
white: 'bg-white',
|
|
@@ -7471,19 +7451,6 @@
|
|
|
7471
7451
|
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] }) })));
|
|
7472
7452
|
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)));
|
|
7473
7453
|
|
|
7474
|
-
const CarouselLinkButton = JSX(({ icon, ...linkProps }) => {
|
|
7475
|
-
const link = useLink();
|
|
7476
|
-
const { text, href, target, onClick } = link(linkProps);
|
|
7477
|
-
const textStyle = 'font-light md:font-normal text-primary-text text-center text-xs md:text-sm whitespace-wrap';
|
|
7478
|
-
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: {
|
|
7479
|
-
...icon,
|
|
7480
|
-
iconVersion: icon?.iconVersion,
|
|
7481
|
-
}, alt: text })) : null, jsx("div", { className: textStyle, children: text })] }) }) })) : null;
|
|
7482
|
-
});
|
|
7483
|
-
|
|
7484
|
-
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] }) })));
|
|
7485
|
-
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)))) }));
|
|
7486
|
-
|
|
7487
7454
|
const LinkWrapper = JSX(({ className = '', href, target, onClick, data, children }) => {
|
|
7488
7455
|
const link = useLink();
|
|
7489
7456
|
const linkProps = link({ href, target, onClick });
|
|
@@ -7639,7 +7606,7 @@
|
|
|
7639
7606
|
return () => clearInterval(timer);
|
|
7640
7607
|
};
|
|
7641
7608
|
|
|
7642
|
-
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
|
|
7609
|
+
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] })] })));
|
|
7643
7610
|
|
|
7644
7611
|
const CreditCardFormProgress = JSX(({ step = 1, totalSteps = 6, stepsTitles = [] }) => {
|
|
7645
7612
|
const progress = useMemo(() => ((step + 1) / totalSteps) * 100, [step, totalSteps]);
|
|
@@ -9141,7 +9108,7 @@
|
|
|
9141
9108
|
|
|
9142
9109
|
const DEFAULT_MIN_SUM = 500;
|
|
9143
9110
|
const DEFAULT_MAX_SUM = 1000000000;
|
|
9144
|
-
const initialFiltrationState
|
|
9111
|
+
const initialFiltrationState = {
|
|
9145
9112
|
sum: {
|
|
9146
9113
|
min: 10000,
|
|
9147
9114
|
max: DEFAULT_MAX_SUM,
|
|
@@ -9149,7 +9116,7 @@
|
|
|
9149
9116
|
period: 3,
|
|
9150
9117
|
};
|
|
9151
9118
|
const DepositFiltration = UniBlock(({ className, filtrationSchema = {}, resetButton, sumInput, periodInput, ...rest }) => {
|
|
9152
|
-
const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState
|
|
9119
|
+
const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState, {
|
|
9153
9120
|
block: rest.block,
|
|
9154
9121
|
page: rest.options?.page,
|
|
9155
9122
|
normalize: (content) => ({ ...content, period: getPeriod(content) }),
|
|
@@ -9178,115 +9145,6 @@
|
|
|
9178
9145
|
.filter(isRateRow)
|
|
9179
9146
|
.flatMap((_) => numberRange(_.minMonths, _.maxMonths))).sort((a, b) => a - b) || [];
|
|
9180
9147
|
|
|
9181
|
-
const DEFAULT_OPTIONS = [{ key: '10' }, { key: '50' }, { key: '100' }];
|
|
9182
|
-
const PageSizeSelector = ({ itemCount, onItemCountChange }) => {
|
|
9183
|
-
const handleItemCountChange = useCallback(({ key }) => onItemCountChange(Number(key)), []);
|
|
9184
|
-
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" })] }));
|
|
9185
|
-
};
|
|
9186
|
-
|
|
9187
|
-
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';
|
|
9188
|
-
|
|
9189
|
-
const checkPageRange = (page, currentPage, totalPages) => (currentPage <= 2 && page <= currentPage + 2) ||
|
|
9190
|
-
(currentPage >= totalPages - 1 && page >= totalPages - 3);
|
|
9191
|
-
const shouldRenderPage = (page, currentPage, totalPages) => (page < currentPage && page >= currentPage - 1) ||
|
|
9192
|
-
(page <= currentPage + 1 && page > currentPage) ||
|
|
9193
|
-
checkPageRange(page, currentPage, totalPages);
|
|
9194
|
-
|
|
9195
|
-
const renderPages = (pagesParams, index) => {
|
|
9196
|
-
const { currentPage, onPageChange, totalPages } = pagesParams;
|
|
9197
|
-
const page = index + 1;
|
|
9198
|
-
if (page === currentPage) {
|
|
9199
|
-
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)));
|
|
9200
|
-
}
|
|
9201
|
-
if (page !== 1 && page !== totalPages && shouldRenderPage(page, currentPage, totalPages)) {
|
|
9202
|
-
return (jsx("div", { onClick: () => onPageChange(page), className: paginationBlockStyle, "aria-label": `Страница ${page}`, children: page }, String(index)));
|
|
9203
|
-
}
|
|
9204
|
-
return null;
|
|
9205
|
-
};
|
|
9206
|
-
|
|
9207
|
-
const ICON_SIZE = { width: '24', height: '24' };
|
|
9208
|
-
const PaginationContainer = ({ currentPage, onPageChange, totalPages, }) => {
|
|
9209
|
-
const pages = useMemo(() => Array.from({ length: totalPages }).fill({
|
|
9210
|
-
currentPage,
|
|
9211
|
-
onPageChange,
|
|
9212
|
-
totalPages,
|
|
9213
|
-
}), [totalPages, currentPage]);
|
|
9214
|
-
const handlePrevPage = useCallback(() => {
|
|
9215
|
-
if (currentPage > 1) {
|
|
9216
|
-
onPageChange(currentPage - 1);
|
|
9217
|
-
}
|
|
9218
|
-
}, [currentPage]);
|
|
9219
|
-
const handleNextPage = useCallback(() => {
|
|
9220
|
-
if (currentPage < totalPages) {
|
|
9221
|
-
onPageChange(currentPage + 1);
|
|
9222
|
-
}
|
|
9223
|
-
}, [currentPage, totalPages]);
|
|
9224
|
-
const handleFirstPage = useCallback(() => onPageChange(1), []);
|
|
9225
|
-
const handleLastPage = useCallback(() => onPageChange(totalPages), [totalPages]);
|
|
9226
|
-
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 }) })] }));
|
|
9227
|
-
};
|
|
9228
|
-
const getIconStyle = (condition) => condition ? 'opacity-20' : 'cursor-pointer hover:opacity-60';
|
|
9229
|
-
|
|
9230
|
-
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] }));
|
|
9231
|
-
|
|
9232
|
-
const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus, placeholder = 'Поиск по сайту' }) => {
|
|
9233
|
-
const handleChange = useCallback((ev) => {
|
|
9234
|
-
onChange && onChange(ev.target?.value || '');
|
|
9235
|
-
}, [onChange]);
|
|
9236
|
-
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 })] }));
|
|
9237
|
-
});
|
|
9238
|
-
|
|
9239
|
-
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" }) })] })));
|
|
9240
|
-
|
|
9241
|
-
const DepositoryItem = JSX(({ title, timestamp, publicId }) => {
|
|
9242
|
-
const link = useLink();
|
|
9243
|
-
const { href } = link({ href: `${API_BASE_URI$1}/depository/${publicId}/file` });
|
|
9244
|
-
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));
|
|
9245
|
-
});
|
|
9246
|
-
|
|
9247
|
-
const DEPOSITARY_URL = `${API_BASE_URI$1}/depository`;
|
|
9248
|
-
const useDepository = ({ size, page, query, startDate, endDate }) => {
|
|
9249
|
-
const formatStartDate = startDate ? formatDate(startDate, true) : '';
|
|
9250
|
-
const formatEndDate = endDate ? formatDate(endDate, true) : '';
|
|
9251
|
-
const searchParams = new URLSearchParams(DEPOSITARY_URL);
|
|
9252
|
-
searchParams.set('page', String(page));
|
|
9253
|
-
searchParams.set('size', String(size));
|
|
9254
|
-
searchParams.set('query', query);
|
|
9255
|
-
searchParams.set('timestampStart', formatStartDate);
|
|
9256
|
-
searchParams.set('timestampEnd', formatEndDate);
|
|
9257
|
-
const queryString = `?${searchParams.toString()}`;
|
|
9258
|
-
const { data } = useAsyncData(DEPOSITARY_URL + queryString, fetchJSONUnsafe);
|
|
9259
|
-
return { items: data?.content, totalPages: data?.totalPages };
|
|
9260
|
-
};
|
|
9261
|
-
|
|
9262
|
-
const DEFAULT_ITEMS_COUNT = 10;
|
|
9263
|
-
const initialFiltrationState = {
|
|
9264
|
-
startDate: undefined,
|
|
9265
|
-
endDate: undefined,
|
|
9266
|
-
query: '',
|
|
9267
|
-
};
|
|
9268
|
-
const Depository = UniBlock(({ className, ...rest }) => {
|
|
9269
|
-
const [currentPage, setCurrentPage] = useState(0);
|
|
9270
|
-
const [itemCount, setItemCount] = useState(DEFAULT_ITEMS_COUNT);
|
|
9271
|
-
const [filtrationState, { field, reset }] = useForm(initialFiltrationState);
|
|
9272
|
-
const { totalPages = 0, items = [] } = useDepository({
|
|
9273
|
-
size: itemCount,
|
|
9274
|
-
page: currentPage,
|
|
9275
|
-
...filtrationState,
|
|
9276
|
-
});
|
|
9277
|
-
const handleChangePage = useCallback((page) => setCurrentPage(page - 1), []);
|
|
9278
|
-
const handleItemCountChange = useCallback((count) => {
|
|
9279
|
-
if (itemCount !== count) {
|
|
9280
|
-
setItemCount(count);
|
|
9281
|
-
setCurrentPage(0);
|
|
9282
|
-
}
|
|
9283
|
-
else {
|
|
9284
|
-
setItemCount(count);
|
|
9285
|
-
}
|
|
9286
|
-
}, []);
|
|
9287
|
-
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 })] })] }));
|
|
9288
|
-
});
|
|
9289
|
-
|
|
9290
9148
|
const renderErrorContent = (error) => {
|
|
9291
9149
|
if (error?.contentType === 'Image' && error?.image) {
|
|
9292
9150
|
return jsx(Img, { image: error.image });
|
|
@@ -9298,214 +9156,6 @@
|
|
|
9298
9156
|
};
|
|
9299
9157
|
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] })));
|
|
9300
9158
|
|
|
9301
|
-
const REGION_URL = `${API_BASE_URI$1}/region`;
|
|
9302
|
-
function useLocation(defaultLocation = 'Москва') {
|
|
9303
|
-
const locationStore = useLocalStore();
|
|
9304
|
-
return locationStore.location ?? { name: defaultLocation };
|
|
9305
|
-
}
|
|
9306
|
-
function useDefaultLocation(defaultLocation = 'Москва') {
|
|
9307
|
-
const locationStore = useLocalStore();
|
|
9308
|
-
const preselectLocation = useCallback(async () => {
|
|
9309
|
-
if (!locationStore.location) {
|
|
9310
|
-
const region = await fetchJSON(REGION_URL);
|
|
9311
|
-
locationStore.location = region ?? { name: defaultLocation };
|
|
9312
|
-
}
|
|
9313
|
-
}, [locationStore, defaultLocation]);
|
|
9314
|
-
useAsyncData(REGION_URL, preselectLocation);
|
|
9315
|
-
return locationStore;
|
|
9316
|
-
}
|
|
9317
|
-
|
|
9318
|
-
var Currency;
|
|
9319
|
-
(function (Currency) {
|
|
9320
|
-
Currency["RUB"] = "RUB";
|
|
9321
|
-
Currency["EUR"] = "EUR";
|
|
9322
|
-
Currency["USD"] = "USD";
|
|
9323
|
-
Currency["CNY"] = "CNY";
|
|
9324
|
-
})(Currency || (Currency = {}));
|
|
9325
|
-
|
|
9326
|
-
const currencyNumberFormat = new Intl.NumberFormat('ru', {
|
|
9327
|
-
style: 'currency',
|
|
9328
|
-
currency: Currency.RUB,
|
|
9329
|
-
});
|
|
9330
|
-
const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
|
|
9331
|
-
|
|
9332
|
-
const TABLE_STYLE_BASE = 'text-m font-light text-secondary-text ';
|
|
9333
|
-
const TABLE_HEAD_STYLE = `${TABLE_STYLE_BASE} text-left`;
|
|
9334
|
-
const TABLE_HEAD_STYLE_CENTER = `${TABLE_STYLE_BASE} pl-5xl text-center`;
|
|
9335
|
-
const TABLE_HEAD_STYLE_RIGHT = `${TABLE_STYLE_BASE} pl-5xl text-right`;
|
|
9336
|
-
const CURRENCY_ICONS_MAP = {
|
|
9337
|
-
USD: 'DollarIcon',
|
|
9338
|
-
EUR: 'EuroIcon',
|
|
9339
|
-
CNY: 'ChineseYuanRenminbiIcon',
|
|
9340
|
-
};
|
|
9341
|
-
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) })] })));
|
|
9342
|
-
const renderCurrencyRow = (exchangeCurrencyItem) => {
|
|
9343
|
-
const currency = exchangeCurrencyItem?.currency?.currency;
|
|
9344
|
-
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));
|
|
9345
|
-
};
|
|
9346
|
-
|
|
9347
|
-
const icon = { icon: 'GpsIcon' };
|
|
9348
|
-
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" })] })] })));
|
|
9349
|
-
|
|
9350
|
-
const roundTo = (value, precision = 2) => {
|
|
9351
|
-
const factor = 10 ** precision;
|
|
9352
|
-
return Math.round(parseFloat(String(value)) * factor) / factor;
|
|
9353
|
-
};
|
|
9354
|
-
|
|
9355
|
-
const calculateResult = (value, rate, precision) => {
|
|
9356
|
-
const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
|
|
9357
|
-
return Number.isInteger(result) ? result : roundTo(result);
|
|
9358
|
-
};
|
|
9359
|
-
const formatValue = (value) => value.replace(/[^\d.,]/g, '').replace(',', '.');
|
|
9360
|
-
|
|
9361
|
-
function assertNonEmpty(value) {
|
|
9362
|
-
if (!value) {
|
|
9363
|
-
throw new Error('Value should be fulfilled');
|
|
9364
|
-
}
|
|
9365
|
-
return value;
|
|
9366
|
-
}
|
|
9367
|
-
|
|
9368
|
-
const baseTableFunc = (table) => (input) => {
|
|
9369
|
-
const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(input)));
|
|
9370
|
-
return unit(input);
|
|
9371
|
-
};
|
|
9372
|
-
const tableFunc = (table) => baseTableFunc(table.map(([p, o]) => [p, () => o]));
|
|
9373
|
-
tableFunc.if = (predicate) => new TableFuncBuilder(undefined, predicate);
|
|
9374
|
-
class TableFuncBuilder {
|
|
9375
|
-
parent;
|
|
9376
|
-
predicate;
|
|
9377
|
-
unit;
|
|
9378
|
-
get entry() {
|
|
9379
|
-
return [assertNonEmpty(this.predicate), assertNonEmpty(this.unit)];
|
|
9380
|
-
}
|
|
9381
|
-
constructor(parent, predicate, unit) {
|
|
9382
|
-
this.parent = parent;
|
|
9383
|
-
this.predicate = predicate;
|
|
9384
|
-
this.unit = unit;
|
|
9385
|
-
}
|
|
9386
|
-
if(predicate) {
|
|
9387
|
-
return new TableFuncBuilder(this, predicate);
|
|
9388
|
-
}
|
|
9389
|
-
then(unit) {
|
|
9390
|
-
return new TableFuncBuilder(this.parent, this.predicate, unit);
|
|
9391
|
-
}
|
|
9392
|
-
else(unit) {
|
|
9393
|
-
return baseTableFunc([...buildTable(this), [() => true, unit]]);
|
|
9394
|
-
}
|
|
9395
|
-
}
|
|
9396
|
-
const buildTable = (builder) => [
|
|
9397
|
-
...(builder?.parent ? buildTable(builder.parent) : []),
|
|
9398
|
-
builder.entry,
|
|
9399
|
-
];
|
|
9400
|
-
|
|
9401
|
-
const callbackCurrencySelect = (props) => tableFunc([
|
|
9402
|
-
[
|
|
9403
|
-
(_) => _.value !== Currency.RUB && _.oppositeValue !== Currency.RUB,
|
|
9404
|
-
() => props.handleConvert(props.value, Currency.RUB),
|
|
9405
|
-
],
|
|
9406
|
-
[
|
|
9407
|
-
(_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
|
|
9408
|
-
() => props.handleConvert(props.value, Currency.USD),
|
|
9409
|
-
],
|
|
9410
|
-
[
|
|
9411
|
-
(_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
|
|
9412
|
-
() => props.handleConvert(props.value, Currency.CNY),
|
|
9413
|
-
],
|
|
9414
|
-
[() => true, () => props.handleConvert(props.value)],
|
|
9415
|
-
])(props)?.();
|
|
9416
|
-
|
|
9417
|
-
function renderInput(props) {
|
|
9418
|
-
const { placeholder, rates, selected, value, setValue, setSelected } = props;
|
|
9419
|
-
const ratesOptions = rates.map((_) => ({
|
|
9420
|
-
key: _?.currency?.currency ?? '',
|
|
9421
|
-
text: _?.currency?.currency ?? '',
|
|
9422
|
-
}));
|
|
9423
|
-
const selectedValue = { key: selected, text: selected };
|
|
9424
|
-
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] }));
|
|
9425
|
-
}
|
|
9426
|
-
|
|
9427
|
-
const ExchangeCurrencyCalculator = JSX(({ className = '', currencyRatesBuy, currencyRatesSell, button }) => {
|
|
9428
|
-
const [calcState, setCalcState] = useState({
|
|
9429
|
-
inputSell: '',
|
|
9430
|
-
inputBuy: '',
|
|
9431
|
-
selectSell: currencyRatesBuy?.[0]?.currency?.currency || Currency.RUB,
|
|
9432
|
-
selectBuy: currencyRatesSell?.[0]?.currency?.currency || Currency.USD,
|
|
9433
|
-
});
|
|
9434
|
-
const handleSetCalcState = useCallback((newState) => setCalcState((oldState) => ({ ...oldState, ...newState })), []);
|
|
9435
|
-
return (jsxs("div", { className: `flex flex-col gap-m pt-2xl ${className}`, children: [currencyRatesBuy && currencyRatesSell ? (jsxs("div", { className: "grid gap-m", children: [renderInput({
|
|
9436
|
-
placeholder: 'Хочу продать',
|
|
9437
|
-
rates: currencyRatesSell,
|
|
9438
|
-
selected: calcState.selectSell,
|
|
9439
|
-
setSelected: handleSelectSell(calcState, handleSetCalcState, currencyRatesSell),
|
|
9440
|
-
value: calcState.inputSell,
|
|
9441
|
-
setValue: (value) => handleInputSell(handleSetCalcState, currencyRatesSell)(value, calcState.selectSell, calcState.selectBuy),
|
|
9442
|
-
}), renderInput({
|
|
9443
|
-
placeholder: 'Получу',
|
|
9444
|
-
rates: currencyRatesBuy,
|
|
9445
|
-
selected: calcState.selectBuy,
|
|
9446
|
-
setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
|
|
9447
|
-
value: calcState.inputBuy,
|
|
9448
|
-
setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
|
|
9449
|
-
})] })) : null, button?.text ? (jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
|
|
9450
|
-
});
|
|
9451
|
-
const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
|
|
9452
|
-
setCalcState({ selectSell: value });
|
|
9453
|
-
callbackCurrencySelect({
|
|
9454
|
-
value,
|
|
9455
|
-
oppositeValue: calcState.selectBuy,
|
|
9456
|
-
handleConvert: (currencyFrom = calcState.selectSell, currencyTo = calcState.selectBuy) => {
|
|
9457
|
-
handleInputSell(setCalcState, currencyRatesSell)(calcState.inputSell, currencyFrom, currencyTo);
|
|
9458
|
-
},
|
|
9459
|
-
});
|
|
9460
|
-
};
|
|
9461
|
-
const handleSelectBuy = (calcState, setCalcState, currencyRatesBuy) => (value) => {
|
|
9462
|
-
setCalcState({ selectBuy: value });
|
|
9463
|
-
callbackCurrencySelect({
|
|
9464
|
-
value,
|
|
9465
|
-
oppositeValue: calcState.selectSell,
|
|
9466
|
-
handleConvert: (currencyTo = calcState.selectBuy, currencyFrom = calcState.selectSell) => handleInputBuy(setCalcState, currencyRatesBuy)(calcState.inputBuy, currencyTo, currencyFrom),
|
|
9467
|
-
});
|
|
9468
|
-
};
|
|
9469
|
-
const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
|
|
9470
|
-
setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
|
|
9471
|
-
const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.buyExchangeRate ||
|
|
9472
|
-
currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
|
|
9473
|
-
if (rate) {
|
|
9474
|
-
setCalcState({
|
|
9475
|
-
inputBuy: String(calculateResult(value, rate, currencyFrom === Currency.RUB) || ''),
|
|
9476
|
-
});
|
|
9477
|
-
}
|
|
9478
|
-
};
|
|
9479
|
-
const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
|
|
9480
|
-
setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
|
|
9481
|
-
const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.saleExchangeRate ||
|
|
9482
|
-
currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
|
|
9483
|
-
if (rate) {
|
|
9484
|
-
setCalcState({
|
|
9485
|
-
inputSell: String(calculateResult(value, rate, currencyTo === Currency.RUB) || ''),
|
|
9486
|
-
});
|
|
9487
|
-
}
|
|
9488
|
-
};
|
|
9489
|
-
|
|
9490
|
-
const EXCHANGE_RATES_URL = `${API_BASE_URI$1}/exchangerates`;
|
|
9491
|
-
function useFetchExchangeRateData(currentRegion) {
|
|
9492
|
-
const regionCode = currentRegion?.code || '000';
|
|
9493
|
-
const { data } = useAsyncData(EXCHANGE_RATES_URL + `?regionCode=${regionCode}`, fetchJSONUnsafe);
|
|
9494
|
-
return data || {};
|
|
9495
|
-
}
|
|
9496
|
-
|
|
9497
|
-
const ExchangeRateTile = JSX(({ className = '', title = 'Курсы обмена валют', button, ...rest }) => {
|
|
9498
|
-
const currentLocation = useLocation();
|
|
9499
|
-
const exchangeRates = useFetchExchangeRateData(currentLocation);
|
|
9500
|
-
const currencyRates = getCurrencyRates(exchangeRates?.exchangeRate?.currencies);
|
|
9501
|
-
const currencyRatesBuy = currencyRates.filter((_) => _.buyExchangeRate);
|
|
9502
|
-
currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
|
|
9503
|
-
const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
|
|
9504
|
-
currencyRatesSell.push({ currency: { currency: Currency.RUB } });
|
|
9505
|
-
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 })] }) }) }));
|
|
9506
|
-
});
|
|
9507
|
-
const getCurrencyRates = (currencies) => currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
|
|
9508
|
-
|
|
9509
9159
|
const LinkList = JSX(({ className = '', items }) => {
|
|
9510
9160
|
const link = useLink();
|
|
9511
9161
|
return (jsx("ul", { className: style('flex flex-col gap-s w-full', className), children: items?.map(renderLinkListItem(link)) }));
|
|
@@ -9548,7 +9198,7 @@
|
|
|
9548
9198
|
return (jsx("a", { className: style('text-secondary-text', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
|
|
9549
9199
|
});
|
|
9550
9200
|
|
|
9551
|
-
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-
|
|
9201
|
+
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 })));
|
|
9552
9202
|
|
|
9553
9203
|
const LEFT_COLUMN_STYLE = 'w-full lg:w-52';
|
|
9554
9204
|
|
|
@@ -9558,7 +9208,7 @@
|
|
|
9558
9208
|
const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
|
|
9559
9209
|
const link = useLink();
|
|
9560
9210
|
const { href, target, text, onClick } = link(rest);
|
|
9561
|
-
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-
|
|
9211
|
+
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}` }));
|
|
9562
9212
|
});
|
|
9563
9213
|
|
|
9564
9214
|
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] })));
|
|
@@ -9598,8 +9248,32 @@
|
|
|
9598
9248
|
return blocks;
|
|
9599
9249
|
};
|
|
9600
9250
|
|
|
9601
|
-
const MIN_LENGTH_CHILD = 5;
|
|
9602
9251
|
const SHORT_TILE_INDEXES = [1, 2, 3, 4];
|
|
9252
|
+
const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
|
|
9253
|
+
? 'lg:col-span-1 lg:row-span-1'
|
|
9254
|
+
: 'lg:col-span-2 lg:row-span-2';
|
|
9255
|
+
const modifyBlock = (block, i) => {
|
|
9256
|
+
const content = { ...block.content };
|
|
9257
|
+
const isSmallTile = SHORT_TILE_INDEXES.includes(i);
|
|
9258
|
+
if (isSmallTile) {
|
|
9259
|
+
delete content.description;
|
|
9260
|
+
delete content.benefits;
|
|
9261
|
+
if (content.link?.href) {
|
|
9262
|
+
delete content.buttons;
|
|
9263
|
+
}
|
|
9264
|
+
content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
|
|
9265
|
+
content.headlineVersion = 'S';
|
|
9266
|
+
}
|
|
9267
|
+
else {
|
|
9268
|
+
if ((content.buttons ?? []).length) {
|
|
9269
|
+
delete content.link;
|
|
9270
|
+
}
|
|
9271
|
+
content.headlineVersion = 'L';
|
|
9272
|
+
}
|
|
9273
|
+
return { ...block, content };
|
|
9274
|
+
};
|
|
9275
|
+
|
|
9276
|
+
const MIN_LENGTH_CHILD = 5;
|
|
9603
9277
|
const LINK_SCHEMA = {
|
|
9604
9278
|
link: {
|
|
9605
9279
|
allOf: [
|
|
@@ -9649,27 +9323,6 @@
|
|
|
9649
9323
|
blockClassName: style(blockClassName, 'h-full'),
|
|
9650
9324
|
block: modifiedBlock,
|
|
9651
9325
|
}) }, String(i)));
|
|
9652
|
-
};
|
|
9653
|
-
const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
|
|
9654
|
-
? 'lg:col-span-1 lg:row-span-1'
|
|
9655
|
-
: 'lg:col-span-2 lg:row-span-2';
|
|
9656
|
-
const modifyBlock = (block, i) => {
|
|
9657
|
-
const content = { ...block.content };
|
|
9658
|
-
const isSmallTile = SHORT_TILE_INDEXES.includes(i);
|
|
9659
|
-
if (isSmallTile) {
|
|
9660
|
-
delete content.description;
|
|
9661
|
-
delete content.benefits;
|
|
9662
|
-
if (content.link?.href) {
|
|
9663
|
-
delete content.buttons;
|
|
9664
|
-
}
|
|
9665
|
-
content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
|
|
9666
|
-
}
|
|
9667
|
-
else {
|
|
9668
|
-
if ((content.buttons ?? []).length) {
|
|
9669
|
-
delete content.link;
|
|
9670
|
-
}
|
|
9671
|
-
}
|
|
9672
|
-
return { ...block, content };
|
|
9673
9326
|
};
|
|
9674
9327
|
|
|
9675
9328
|
const GrantSupport = UniBlock(({ className, title, button, regionSource, data, ...rest }) => {
|
|
@@ -9892,6 +9545,23 @@
|
|
|
9892
9545
|
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] })] }) }));
|
|
9893
9546
|
});
|
|
9894
9547
|
|
|
9548
|
+
const REGION_URL = `${API_BASE_URI$1}/region`;
|
|
9549
|
+
function useLocation(defaultLocation = 'Москва') {
|
|
9550
|
+
const locationStore = useLocalStore();
|
|
9551
|
+
return locationStore.location ?? { name: defaultLocation };
|
|
9552
|
+
}
|
|
9553
|
+
function useDefaultLocation(defaultLocation = 'Москва') {
|
|
9554
|
+
const locationStore = useLocalStore();
|
|
9555
|
+
const preselectLocation = useCallback(async () => {
|
|
9556
|
+
if (!locationStore.location) {
|
|
9557
|
+
const region = await fetchJSON(REGION_URL);
|
|
9558
|
+
locationStore.location = region ?? { name: defaultLocation };
|
|
9559
|
+
}
|
|
9560
|
+
}, [locationStore, defaultLocation]);
|
|
9561
|
+
useAsyncData(REGION_URL, preselectLocation);
|
|
9562
|
+
return locationStore;
|
|
9563
|
+
}
|
|
9564
|
+
|
|
9895
9565
|
const COMMON_FILTERS_STYLES = 'flex flex-col sm:flex-row sm:flex-wrap gap-3xl pb-2xl';
|
|
9896
9566
|
const FiltrationForm = JSX(({ filters, field: { field, reset }, onlyOffice, labels }) => {
|
|
9897
9567
|
const visibleFiltersNum = onlyOffice ? 5 : 6;
|
|
@@ -10786,15 +10456,11 @@
|
|
|
10786
10456
|
CalculatorRefinancing,
|
|
10787
10457
|
CardTransfer,
|
|
10788
10458
|
Carousel,
|
|
10789
|
-
CarouselCard,
|
|
10790
10459
|
CarouselCatalogCard,
|
|
10791
|
-
CarouselLinks,
|
|
10792
10460
|
CarouselRecommendationCard,
|
|
10793
10461
|
CarouselTariffsCard,
|
|
10794
10462
|
DepositFiltration,
|
|
10795
|
-
Depository,
|
|
10796
10463
|
ErrorBlock,
|
|
10797
|
-
ExchangeRateTile,
|
|
10798
10464
|
Footer,
|
|
10799
10465
|
GalleryLayout,
|
|
10800
10466
|
GrantSupport,
|
|
@@ -10938,7 +10604,7 @@
|
|
|
10938
10604
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
10939
10605
|
});
|
|
10940
10606
|
|
|
10941
|
-
const packageVersion = "0.
|
|
10607
|
+
const packageVersion = "0.14.843";
|
|
10942
10608
|
|
|
10943
10609
|
exports.Blocks = Blocks;
|
|
10944
10610
|
exports.ContentPage = ContentPage;
|