@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
package/bundle/bundle.umd.js
CHANGED
|
@@ -513,7 +513,7 @@
|
|
|
513
513
|
const ButtonInner = JSX((props) => {
|
|
514
514
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
515
515
|
const iconHideStyle = isWithText(props) && 'hidden lg:block';
|
|
516
|
-
return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s
|
|
516
|
+
return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendRight })) : null] }));
|
|
517
517
|
});
|
|
518
518
|
const buttonStyle$1 = (props) => {
|
|
519
519
|
const { version, aboveText, rounded } = props;
|
|
@@ -751,10 +751,10 @@
|
|
|
751
751
|
const and = (a, b) => (...args) => a(...args) && b(...args);
|
|
752
752
|
|
|
753
753
|
const table = (...table) => (...input) => {
|
|
754
|
-
const [, unit] = assertNonEmpty
|
|
754
|
+
const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(...input)));
|
|
755
755
|
return unit(...input);
|
|
756
756
|
};
|
|
757
|
-
function assertNonEmpty
|
|
757
|
+
function assertNonEmpty(value) {
|
|
758
758
|
if (!value) {
|
|
759
759
|
throw new Error('Value should be fulfilled');
|
|
760
760
|
}
|
|
@@ -1296,20 +1296,24 @@
|
|
|
1296
1296
|
|
|
1297
1297
|
const renderErrorText = (error) => (jsx("div", { className: "h-6", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
|
|
1298
1298
|
|
|
1299
|
-
const
|
|
1300
|
-
const
|
|
1301
|
-
const popupRef = useOutsideClick(close);
|
|
1299
|
+
const InputWrapper = JSX(({ className, label, value = '', error, errors, type, isInteger, placeholder, maxLength, inputRef, isOpen, onOpen, onClose, onChange = noop, ...rest }) => {
|
|
1300
|
+
const popupRef = useOutsideClick(onClose);
|
|
1302
1301
|
const handleChange = useCallback((v) => {
|
|
1303
|
-
|
|
1304
|
-
|
|
1302
|
+
const isOverMax = maxLength && v.length > maxLength;
|
|
1303
|
+
!isOpen && onOpen();
|
|
1304
|
+
if (!isOverMax) {
|
|
1305
|
+
onChange(normalizeInteger(v, isInteger));
|
|
1306
|
+
}
|
|
1305
1307
|
}, [isOpen, onChange]);
|
|
1306
|
-
|
|
1307
|
-
isInteger && value ? onChange(normalizeInteger$1(value)) : null;
|
|
1308
|
-
}, [value]);
|
|
1309
|
-
return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: close, onFocus: open, children: [jsx("div", { children: jsx(Input, { disabled: disabled, type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), value: value, onChange: handleChange, onBlur: onBlur, isTextarea: isTextarea, placeholder: getPlaceholder$1(placeholder, errors, label) }) }), renderErrorText(error)] }));
|
|
1308
|
+
return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: onClose, onFocus: onOpen, children: [jsx("div", { ref: inputRef, children: jsx(Input, { type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), onChange: handleChange, placeholder: getPlaceholder({ placeholder, errors, label }), value: value, ...rest }) }), renderErrorText(error)] }));
|
|
1310
1309
|
});
|
|
1311
|
-
const normalizeInteger
|
|
1312
|
-
const getPlaceholder
|
|
1310
|
+
const normalizeInteger = (val = '', isInteger = false) => isInteger && val ? val.replace(/[^\d]+/g, '') : val;
|
|
1311
|
+
const getPlaceholder = ({ placeholder, errors, label }) => errors && !label ? `${placeholder}*` : placeholder;
|
|
1312
|
+
|
|
1313
|
+
const InputControl = JSX((props) => {
|
|
1314
|
+
const [isOpen, { setFalse: close, setTrue: open }] = useBool();
|
|
1315
|
+
return jsx(InputWrapper, { isOpen: isOpen, onOpen: open, onClose: close, ...props });
|
|
1316
|
+
});
|
|
1313
1317
|
|
|
1314
1318
|
const formatOption = (_) => _?.text || _?.key || '';
|
|
1315
1319
|
|
|
@@ -1574,7 +1578,7 @@
|
|
|
1574
1578
|
const handleChange = useCallback((ev) => {
|
|
1575
1579
|
onChange && onChange(parseDecimal(ev.target?.value));
|
|
1576
1580
|
}, [onChange]);
|
|
1577
|
-
return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('text-h3 w-full h-14', 'pl-m
|
|
1581
|
+
return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('text-h3 w-full h-14', 'pl-m box-border', 'text-primary-text', inputValidStyle, inputDisabledStyle), disabled: disabled, onChange: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
|
|
1578
1582
|
});
|
|
1579
1583
|
const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
|
|
1580
1584
|
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)))) }));
|
|
@@ -2067,7 +2071,7 @@
|
|
|
2067
2071
|
};
|
|
2068
2072
|
};
|
|
2069
2073
|
|
|
2070
|
-
const cyrillicPattern = /^[
|
|
2074
|
+
const cyrillicPattern = /^[а-яё-]*$/i;
|
|
2071
2075
|
const isCyrillic = (_ = '') => cyrillicPattern.test(_);
|
|
2072
2076
|
|
|
2073
2077
|
const required = validator((_) => _ !== null && _ !== undefined && _ !== '');
|
|
@@ -2102,7 +2106,7 @@
|
|
|
2102
2106
|
sufferedFrom: defaultValidator(),
|
|
2103
2107
|
applierType: defaultValidator(),
|
|
2104
2108
|
surname: nameValidator('Укажите свою фамилию на кириллице'),
|
|
2105
|
-
name: nameValidator('Укажите своё имя на кириллице'),
|
|
2109
|
+
name: nameValidator('Укажите своё имя на кириллице (без сокращений)'),
|
|
2106
2110
|
middleName: nameValidator('Укажите своё отчество на кириллице'),
|
|
2107
2111
|
birthday: defaultValidator('Укажите дату рождения'),
|
|
2108
2112
|
phone: phoneValidator('Укажите номер телефона'),
|
|
@@ -2725,14 +2729,19 @@
|
|
|
2725
2729
|
|
|
2726
2730
|
const getLink = (body) => fetchRetailJSON('/esia/getLink', 'POST', body);
|
|
2727
2731
|
|
|
2728
|
-
const EsiaLoginBanner = JSX(() => {
|
|
2732
|
+
const EsiaLoginBanner = JSX(({ onChangeEsiaStatus }) => {
|
|
2729
2733
|
const navigator = locationNavigator();
|
|
2730
2734
|
const handleAuth = useCallback(async () => {
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2735
|
+
try {
|
|
2736
|
+
const resp = await getLink({
|
|
2737
|
+
redirectUri: globalThis.location.origin + globalThis.location.pathname,
|
|
2738
|
+
});
|
|
2739
|
+
if (resp?.link) {
|
|
2740
|
+
navigator.assign(resp.link);
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
catch {
|
|
2744
|
+
onChangeEsiaStatus(EsiaStatuses.Error);
|
|
2736
2745
|
}
|
|
2737
2746
|
}, []);
|
|
2738
2747
|
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" })] }));
|
|
@@ -2930,16 +2939,8 @@
|
|
|
2930
2939
|
return inputRef;
|
|
2931
2940
|
}
|
|
2932
2941
|
|
|
2933
|
-
const DaDataInputControl = JSX(({
|
|
2942
|
+
const DaDataInputControl = JSX(({ value = '', onChange = noop, onDaDataChange, name = '', daDataQueryPrefix, dadata = false, ...rest }) => {
|
|
2934
2943
|
const [isOpen, { setFalse: close, setTrue: open }] = useBool();
|
|
2935
|
-
const popupRef = useOutsideClick(close);
|
|
2936
|
-
const handleChange = useCallback((v) => {
|
|
2937
|
-
dadata && !isOpen && open();
|
|
2938
|
-
maxLength ? v.length <= maxLength && onChange(v) : onChange(v);
|
|
2939
|
-
}, [isOpen, onChange]);
|
|
2940
|
-
useEffect(() => {
|
|
2941
|
-
isInteger && value && onChange(normalizeInteger(value));
|
|
2942
|
-
}, [value]);
|
|
2943
2944
|
const inputRef = useInputPopup({
|
|
2944
2945
|
isOpen: isOpen && dadata,
|
|
2945
2946
|
name,
|
|
@@ -2948,10 +2949,8 @@
|
|
|
2948
2949
|
onChange,
|
|
2949
2950
|
onDaDataChange,
|
|
2950
2951
|
});
|
|
2951
|
-
return (
|
|
2952
|
-
});
|
|
2953
|
-
const normalizeInteger = (val = '') => val.replace(/[^\d]+/g, '');
|
|
2954
|
-
const getPlaceholder = (placeholder, errors, label) => errors && !label ? `${placeholder}*` : placeholder;
|
|
2952
|
+
return (jsx(InputWrapper, { value: value, onChange: onChange, inputRef: inputRef, isOpen: isOpen, onOpen: open, onClose: close, ...rest }));
|
|
2953
|
+
});
|
|
2955
2954
|
|
|
2956
2955
|
const AddressField = JSX(({ field, input }) => {
|
|
2957
2956
|
const fieldName = input?.name || 'addressRegistration';
|
|
@@ -3971,7 +3970,7 @@
|
|
|
3971
3970
|
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] })));
|
|
3972
3971
|
|
|
3973
3972
|
const CalculatorStyle = {
|
|
3974
|
-
wrapper: 'flex flex-col justify-between lg:flex-row gap-
|
|
3973
|
+
wrapper: 'flex flex-col justify-between lg:flex-row gap-4xl',
|
|
3975
3974
|
input: 'flex flex-col lg:w-1/2 gap-2xl',
|
|
3976
3975
|
result: 'flex flex-col gap-y-xl min-w-52',
|
|
3977
3976
|
};
|
|
@@ -4809,22 +4808,27 @@
|
|
|
4809
4808
|
};
|
|
4810
4809
|
|
|
4811
4810
|
const RegionRetailField = JSX(({ field, input }) => {
|
|
4811
|
+
const { programId, productType } = useRetailFormStore();
|
|
4812
4812
|
const { data: regions } = useLeadFormData('REGION_RF');
|
|
4813
4813
|
const { data: regionsDelivery } = useAsyncData('regionsDelivery', getRegionsCardDelivery);
|
|
4814
|
-
const {
|
|
4814
|
+
const { data: productSettings } = useLeadFormData(getCurrentProductSettings(productType));
|
|
4815
4815
|
const isSalaryCard = programId === '38';
|
|
4816
4816
|
const formatRegions = regions?.map(({ key, value }) => ({ key, text: value }));
|
|
4817
|
+
const isDeliveryActive = productSettings?.find((_) => _?.key === 'DELIVERY_ACTIVE')?.value === 'true';
|
|
4817
4818
|
const handleChangeRegion = field('regionRetail')?.onChange;
|
|
4818
4819
|
const handleChangeRegionHasDelivery = field('regionHasDelivery')?.onChange;
|
|
4819
4820
|
const handleChangeMethodObtain = field('methodObtain')?.onChange;
|
|
4820
4821
|
const onChange = useCallback((value) => {
|
|
4821
|
-
const regionHasDelivery =
|
|
4822
|
+
const regionHasDelivery = isDeliveryActive &&
|
|
4823
|
+
regionsDelivery?.find((_) => _.regionCode === value.key)?.deliveryFlg &&
|
|
4824
|
+
!isSalaryCard;
|
|
4822
4825
|
handleChangeRegionHasDelivery?.(regionHasDelivery);
|
|
4823
4826
|
handleChangeMethodObtain?.(regionHasDelivery ? 'courier' : 'office');
|
|
4824
4827
|
handleChangeRegion?.(value);
|
|
4825
|
-
}, [regionsDelivery]);
|
|
4828
|
+
}, [regionsDelivery, isDeliveryActive]);
|
|
4826
4829
|
return (jsx(SelectControl, { label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: formatRegions, ...field(input?.name ?? ''), onChange: onChange }));
|
|
4827
|
-
});
|
|
4830
|
+
});
|
|
4831
|
+
const getCurrentProductSettings = (productType) => productType === 'debitCard' ? 'DEBIT_CARD_LEAD_PROCESS_SETTINGS' : 'CREDIT_LEAD_PROCESS_SETTINGS';
|
|
4828
4832
|
|
|
4829
4833
|
const RetirementIncomeField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041F\u0435\u043D\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", isInteger: true, ...field(input?.name ?? ''), ...input })));
|
|
4830
4834
|
|
|
@@ -5083,7 +5087,7 @@
|
|
|
5083
5087
|
.then((res) => res.text())
|
|
5084
5088
|
.then((text) => text === 'OK');
|
|
5085
5089
|
|
|
5086
|
-
const ICON_SIZE
|
|
5090
|
+
const ICON_SIZE = { width: '118', height: '24' };
|
|
5087
5091
|
|
|
5088
5092
|
const logoTitleSizeStyle = '';
|
|
5089
5093
|
|
|
@@ -5109,7 +5113,7 @@
|
|
|
5109
5113
|
'bg-white': 'text-primary-text',
|
|
5110
5114
|
transparent: 'text-white',
|
|
5111
5115
|
};
|
|
5112
|
-
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
|
|
5116
|
+
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
|
|
5113
5117
|
? children ?? (jsx("div", { className: "ml-s", children: jsx(Text, { font: "font-medium", color: TEXT_COLOR[bgColor], size: logoTitleSizeStyle, children: logo?.title ?? 'Россельхозбанк' }) }))
|
|
5114
5118
|
: null] })));
|
|
5115
5119
|
|
|
@@ -5140,7 +5144,7 @@
|
|
|
5140
5144
|
(async () => setCaptcha(URL.createObjectURL(await createCaptcha(phoneNumber))))();
|
|
5141
5145
|
}, []);
|
|
5142
5146
|
useEffect(handleCreateCaptcha, []);
|
|
5143
|
-
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
|
|
5147
|
+
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] }) }));
|
|
5144
5148
|
});
|
|
5145
5149
|
|
|
5146
5150
|
const InputCode = JSX(({ values, setValues, hasError, errorText }) => {
|
|
@@ -5183,9 +5187,7 @@
|
|
|
5183
5187
|
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`;
|
|
5184
5188
|
};
|
|
5185
5189
|
|
|
5186
|
-
const SubmitButton = JSX(({
|
|
5187
|
-
return (jsx(Button, { type: "button", onClick: onClick, disabled: isDisabled, children: jsx(Text, { font: "font-normal", children: text }) }));
|
|
5188
|
-
});
|
|
5190
|
+
const SubmitButton = JSX(({ disabled = false, onClick, text }) => (jsx(Button, { type: "button", onClick: onClick, disabled: disabled, children: jsx(Text, { font: "font-normal", children: text }) })));
|
|
5189
5191
|
|
|
5190
5192
|
const checkCode = async (body) => fetchRetailJSON('/sms/checkCode', 'POST', body).then(saveToken);
|
|
5191
5193
|
const saveToken = (data) => {
|
|
@@ -5266,8 +5268,8 @@
|
|
|
5266
5268
|
}, []);
|
|
5267
5269
|
return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-xl p-m", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center rounded-md", children: [jsx(Headline, { className: "w-full", title: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430", description: `Мы отправили код на ${phone}`, headlineVersion: "XS", isEmbedded: true, as: "h6" }), code ? (jsx(InputCode, { values: values, setValues: setValues, errorText: errorText, hasError: hasError })) : null, renderText$1(timeNextReq, handleSendCode), withDescription ? (jsxs(RichText, { itemSize: "list-s", children: [jsx("span", { children: "\u0412\u0432\u043E\u0434\u044F \u043A\u043E\u0434, \u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E, \u0447\u0442\u043E \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044B\u0432\u0430\u044E: " }), jsx("ul", { children: consents?.map((_, i) => (jsx("li", { children: _ }, `${_}-${i}`))) })] })) : null, renderNextButton(isSubmitButtonDisabled, handleSubmit), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
|
|
5268
5270
|
});
|
|
5269
|
-
const renderNextButton = (
|
|
5270
|
-
const renderText$1 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "
|
|
5271
|
+
const renderNextButton = (disabled, onClick) => (jsx(SubmitButton, { text: "\u0414\u0430\u043B\u0435\u0435", disabled: disabled, onClick: onClick }));
|
|
5272
|
+
const renderText$1 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "pl-2xs", seconds: timeNextReq })] })) : (jsx(Button, { embedded: true, onClick: handleSendCode, children: jsx(ButtonTitle, { children: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434" }) }));
|
|
5271
5273
|
|
|
5272
5274
|
const defaultConsentText = {
|
|
5273
5275
|
title: 'Подпишите согласие на запрос в БКИ',
|
|
@@ -5605,7 +5607,7 @@
|
|
|
5605
5607
|
const handleGoToNewTask = useCallback(() => {
|
|
5606
5608
|
navigator.assign(isCredit ? '/natural/loans/all-goals' : '/natural/creditcards/svoya');
|
|
5607
5609
|
}, []);
|
|
5608
|
-
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
|
|
5610
|
+
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 })] })] }) }));
|
|
5609
5611
|
});
|
|
5610
5612
|
|
|
5611
5613
|
const EmptyDraftDialog = JSX(function ({ onClose = noop }) {
|
|
@@ -5986,8 +5988,10 @@
|
|
|
5986
5988
|
dulSubdivisionCode: document.dulSubdivisionCode,
|
|
5987
5989
|
birthPlace: addInfo.birthPlace,
|
|
5988
5990
|
addressRegistration: buildAddress(addressRegistration),
|
|
5989
|
-
addressFact: buildAddress(addressFact),
|
|
5990
5991
|
esiaAccountTypeCd: isDebit ? profile.esiaAccountType : { key: '' },
|
|
5992
|
+
...(addressFact && {
|
|
5993
|
+
addressFact: buildAddress(addressFact),
|
|
5994
|
+
}),
|
|
5991
5995
|
};
|
|
5992
5996
|
return {
|
|
5993
5997
|
...mainData,
|
|
@@ -6000,6 +6004,8 @@
|
|
|
6000
6004
|
generalSeniority: getYearFromMonth(esiaAdditionalDocument.workLength).toString(),
|
|
6001
6005
|
lastJobExperience: getYearFromMonth(esiaAdditionalDocument.workLengthLastJob).toString(),
|
|
6002
6006
|
jobsNumber: esiaAdditionalDocument.jobsNumberInFiveYears.toString(),
|
|
6007
|
+
esiaAccountTypeCd: profile.esiaAccountType,
|
|
6008
|
+
confirmationIncome: { key: 'SFR_CERTIFICATE', text: 'Запрос Банком доходов из СФР' },
|
|
6003
6009
|
employment: { key: 'WORK', text: 'Работаю' },
|
|
6004
6010
|
files,
|
|
6005
6011
|
}),
|
|
@@ -6066,16 +6072,6 @@
|
|
|
6066
6072
|
category: 'CONFIRMING_INCOME_DOC',
|
|
6067
6073
|
isPDF: false,
|
|
6068
6074
|
},
|
|
6069
|
-
{
|
|
6070
|
-
file: esiaAdditionalDocument.pdfFileSigWorkbook,
|
|
6071
|
-
category: 'CONFIRMING_INCOME_DOC',
|
|
6072
|
-
isPDF: true,
|
|
6073
|
-
},
|
|
6074
|
-
{
|
|
6075
|
-
file: esiaAdditionalDocument.xmlFileSigWorkbook,
|
|
6076
|
-
category: 'CONFIRMING_INCOME_DOC',
|
|
6077
|
-
isPDF: false,
|
|
6078
|
-
},
|
|
6079
6075
|
];
|
|
6080
6076
|
for (const doc of documents) {
|
|
6081
6077
|
const contentType = doc.isPDF ? 'data:application/pdf;base64' : 'data:application/xml;base64';
|
|
@@ -6122,8 +6118,6 @@
|
|
|
6122
6118
|
esiaAdditionalDocument?.xmlFilePayout,
|
|
6123
6119
|
esiaAdditionalDocument?.xmlFileSigPayout,
|
|
6124
6120
|
esiaAdditionalDocument?.xmlFileWorkbook,
|
|
6125
|
-
esiaAdditionalDocument?.pdfFileSigWorkbook,
|
|
6126
|
-
esiaAdditionalDocument?.xmlFileSigWorkbook,
|
|
6127
6121
|
];
|
|
6128
6122
|
return data.every(Boolean);
|
|
6129
6123
|
};
|
|
@@ -6210,7 +6204,7 @@
|
|
|
6210
6204
|
reset();
|
|
6211
6205
|
}
|
|
6212
6206
|
}, [leadForm?.current, esiaStatus]);
|
|
6213
|
-
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] })] }));
|
|
6207
|
+
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] })] }));
|
|
6214
6208
|
});
|
|
6215
6209
|
const getInputs = (applicationFormData) => (applicationFormData?.flatMap((_) => _?.inputs) || []);
|
|
6216
6210
|
const getExtendedValidatorObj = (productType) => ({
|
|
@@ -6335,7 +6329,7 @@
|
|
|
6335
6329
|
const inactiveDotStyle = 'w-2 h-2 opacity-30';
|
|
6336
6330
|
const renderDotButton = ({ activeIndex, onClick, listType = 'horizontal-list' }) => (_, idx) => (jsx("div", { className: style(dotStyle, idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle), role: "button", "aria-hidden": true, onClick: () => onClick(idx) }, String(idx)));
|
|
6337
6331
|
|
|
6338
|
-
const renderNavButton
|
|
6332
|
+
const renderNavButton = ({ activeIndex, onClick }) => (nav, i) => {
|
|
6339
6333
|
const isActive = i === activeIndex;
|
|
6340
6334
|
const btnClassName = isActive
|
|
6341
6335
|
? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
|
|
@@ -6440,7 +6434,7 @@
|
|
|
6440
6434
|
}
|
|
6441
6435
|
}, [containerRef?.current]);
|
|
6442
6436
|
if (navButtons?.length && !isMobileMode) {
|
|
6443
|
-
return (jsx(SwipeListContainer, { containerRef: navRef, snapAlign: "snap-start", itemClassName: "h-36 flex items-stretch w-screen", gap: 8, children: navButtons.map(renderNavButton
|
|
6437
|
+
return (jsx(SwipeListContainer, { containerRef: navRef, snapAlign: "snap-start", itemClassName: "h-36 flex items-stretch w-screen", gap: 8, children: navButtons.map(renderNavButton({ activeIndex, onClick: onChangeActiveIndex })) }));
|
|
6444
6438
|
}
|
|
6445
6439
|
else if (dotCount) {
|
|
6446
6440
|
return (jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : '', className, { 'pb-xl': navButtons?.length && isMobileMode }), "data-ver": version, children: Array.from({ length: dotCount })
|
|
@@ -6594,9 +6588,9 @@
|
|
|
6594
6588
|
};
|
|
6595
6589
|
|
|
6596
6590
|
const EMPTY_SCHEMA = {};
|
|
6597
|
-
const initialFiltrationState$
|
|
6591
|
+
const initialFiltrationState$1 = {};
|
|
6598
6592
|
const BankAccountFiltration = UniBlock(({ className, filtrationSchema = EMPTY_SCHEMA, consumerField = {}, resetButton, ...rest }) => {
|
|
6599
|
-
const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$
|
|
6593
|
+
const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$1, {
|
|
6600
6594
|
block: rest.block,
|
|
6601
6595
|
page: rest.options?.page,
|
|
6602
6596
|
});
|
|
@@ -6635,7 +6629,7 @@
|
|
|
6635
6629
|
const isMobileMode = useMobileMode();
|
|
6636
6630
|
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] }));
|
|
6637
6631
|
});
|
|
6638
|
-
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-
|
|
6632
|
+
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)));
|
|
6639
6633
|
|
|
6640
6634
|
const bonusBenefitStyles = 'items-center';
|
|
6641
6635
|
|
|
@@ -7287,7 +7281,7 @@
|
|
|
7287
7281
|
...field('moneyExtra'),
|
|
7288
7282
|
value: calcParams.moneyExtra,
|
|
7289
7283
|
})
|
|
7290
|
-
: null, jsx("div", { className: "sm:hidden
|
|
7284
|
+
: 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)] })] }) }));
|
|
7291
7285
|
});
|
|
7292
7286
|
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 })] }));
|
|
7293
7287
|
|
|
@@ -7352,7 +7346,7 @@
|
|
|
7352
7346
|
const FAILED_TITLE = 'Ошибка перевода';
|
|
7353
7347
|
const SubmitFailedDialog = ({ onClose, errorCode, errorMessage, }) => {
|
|
7354
7348
|
const description = errorCode ? `Код ошибки - ${errorCode}` : 'Пожалуйста, повторите позднее';
|
|
7355
|
-
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
|
|
7349
|
+
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] }) }));
|
|
7356
7350
|
};
|
|
7357
7351
|
|
|
7358
7352
|
const useSubmitCardTransfer = (formType) => {
|
|
@@ -7387,16 +7381,11 @@
|
|
|
7387
7381
|
amount: 1500,
|
|
7388
7382
|
};
|
|
7389
7383
|
const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, button, formType = 'private', ...rest }) => {
|
|
7390
|
-
const [isDisabled, { setValue: setDisabled }] = useBool(false);
|
|
7391
7384
|
const handleSubmit = useSubmitCardTransfer(formType);
|
|
7392
7385
|
const [{ amount }, { field, onSubmit }] = useForm(INITIAL_FORM_STATE, {
|
|
7393
7386
|
onSubmit: handleSubmit,
|
|
7394
7387
|
});
|
|
7395
|
-
|
|
7396
|
-
useEffect(() => {
|
|
7397
|
-
setDisabled(amount <= 0);
|
|
7398
|
-
}, [amount]);
|
|
7399
|
-
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] })] }));
|
|
7388
|
+
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] })] }));
|
|
7400
7389
|
});
|
|
7401
7390
|
|
|
7402
7391
|
const ITEMS_GAP = 16;
|
|
@@ -7428,9 +7417,9 @@
|
|
|
7428
7417
|
: null] }, String(blockIndex))),
|
|
7429
7418
|
});
|
|
7430
7419
|
};
|
|
7431
|
-
const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-
|
|
7420
|
+
const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-16'));
|
|
7432
7421
|
const cardStyle = (_, { someCardsHighlighted, showBorder, cardSize = 'normal', }) => style(cardBaseStyle, 'min-w-80', CARD_SIZE_MAP[cardSize], // TODO fix для RecommendationCard
|
|
7433
|
-
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-
|
|
7422
|
+
someCardsHighlighted && (isCardHighlighted(_) ? 'pt-16' : 'pt-3xl'), getBorderStyle(showBorder), showBorder && 'h-full');
|
|
7434
7423
|
const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
|
|
7435
7424
|
|
|
7436
7425
|
const VISIBLE_ITEM_COUNT = 1;
|
|
@@ -7459,15 +7448,6 @@
|
|
|
7459
7448
|
};
|
|
7460
7449
|
}) ?? [];
|
|
7461
7450
|
|
|
7462
|
-
const titleSize = 'XS';
|
|
7463
|
-
|
|
7464
|
-
const layerBaseStyle = 'z-10 border border-solid w-full h-full';
|
|
7465
|
-
const layerStyle = style(layerBaseStyle, 'absolute hidden @xl:block border-transparent');
|
|
7466
|
-
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], {
|
|
7467
|
-
className: 'mt-m sm:mt-6xl sm:justify-center',
|
|
7468
|
-
isVertical: true,
|
|
7469
|
-
})] })] }) })));
|
|
7470
|
-
|
|
7471
7451
|
const cardStyleMap = {
|
|
7472
7452
|
black: 'bg-black',
|
|
7473
7453
|
white: 'bg-white',
|
|
@@ -7475,19 +7455,6 @@
|
|
|
7475
7455
|
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] }) })));
|
|
7476
7456
|
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)));
|
|
7477
7457
|
|
|
7478
|
-
const CarouselLinkButton = JSX(({ icon, ...linkProps }) => {
|
|
7479
|
-
const link = useLink();
|
|
7480
|
-
const { text, href, target, onClick } = link(linkProps);
|
|
7481
|
-
const textStyle = 'font-light md:font-normal text-primary-text text-center text-xs md:text-sm whitespace-wrap';
|
|
7482
|
-
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: {
|
|
7483
|
-
...icon,
|
|
7484
|
-
iconVersion: icon?.iconVersion,
|
|
7485
|
-
}, alt: text })) : null, jsx("div", { className: textStyle, children: text })] }) }) })) : null;
|
|
7486
|
-
});
|
|
7487
|
-
|
|
7488
|
-
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] }) })));
|
|
7489
|
-
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)))) }));
|
|
7490
|
-
|
|
7491
7458
|
const LinkWrapper = JSX(({ className = '', href, target, onClick, data, children }) => {
|
|
7492
7459
|
const link = useLink();
|
|
7493
7460
|
const linkProps = link({ href, target, onClick });
|
|
@@ -7647,7 +7614,7 @@
|
|
|
7647
7614
|
return () => clearInterval(timer);
|
|
7648
7615
|
};
|
|
7649
7616
|
|
|
7650
|
-
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
|
|
7617
|
+
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] })] })));
|
|
7651
7618
|
|
|
7652
7619
|
const CreditCardFormProgress = JSX(({ step = 1, totalSteps = 6, stepsTitles = [] }) => {
|
|
7653
7620
|
const progress = useMemo(() => ((step + 1) / totalSteps) * 100, [step, totalSteps]);
|
|
@@ -9528,7 +9495,7 @@
|
|
|
9528
9495
|
|
|
9529
9496
|
const DEFAULT_MIN_SUM = 500;
|
|
9530
9497
|
const DEFAULT_MAX_SUM = 1000000000;
|
|
9531
|
-
const initialFiltrationState
|
|
9498
|
+
const initialFiltrationState = {
|
|
9532
9499
|
sum: {
|
|
9533
9500
|
min: 10000,
|
|
9534
9501
|
max: DEFAULT_MAX_SUM,
|
|
@@ -9536,7 +9503,7 @@
|
|
|
9536
9503
|
period: 3,
|
|
9537
9504
|
};
|
|
9538
9505
|
const DepositFiltration = UniBlock(({ className, filtrationSchema = {}, resetButton, sumInput, periodInput, ...rest }) => {
|
|
9539
|
-
const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState
|
|
9506
|
+
const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState, {
|
|
9540
9507
|
block: rest.block,
|
|
9541
9508
|
page: rest.options?.page,
|
|
9542
9509
|
normalize: (content) => ({ ...content, period: getPeriod(content) }),
|
|
@@ -9565,115 +9532,6 @@
|
|
|
9565
9532
|
.filter(isRateRow)
|
|
9566
9533
|
.flatMap((_) => numberRange(_.minMonths, _.maxMonths))).sort((a, b) => a - b) || [];
|
|
9567
9534
|
|
|
9568
|
-
const DEFAULT_OPTIONS = [{ key: '10' }, { key: '50' }, { key: '100' }];
|
|
9569
|
-
const PageSizeSelector = ({ itemCount, onItemCountChange }) => {
|
|
9570
|
-
const handleItemCountChange = useCallback(({ key }) => onItemCountChange(Number(key)), []);
|
|
9571
|
-
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" })] }));
|
|
9572
|
-
};
|
|
9573
|
-
|
|
9574
|
-
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';
|
|
9575
|
-
|
|
9576
|
-
const checkPageRange = (page, currentPage, totalPages) => (currentPage <= 2 && page <= currentPage + 2) ||
|
|
9577
|
-
(currentPage >= totalPages - 1 && page >= totalPages - 3);
|
|
9578
|
-
const shouldRenderPage = (page, currentPage, totalPages) => (page < currentPage && page >= currentPage - 1) ||
|
|
9579
|
-
(page <= currentPage + 1 && page > currentPage) ||
|
|
9580
|
-
checkPageRange(page, currentPage, totalPages);
|
|
9581
|
-
|
|
9582
|
-
const renderPages = (pagesParams, index) => {
|
|
9583
|
-
const { currentPage, onPageChange, totalPages } = pagesParams;
|
|
9584
|
-
const page = index + 1;
|
|
9585
|
-
if (page === currentPage) {
|
|
9586
|
-
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)));
|
|
9587
|
-
}
|
|
9588
|
-
if (page !== 1 && page !== totalPages && shouldRenderPage(page, currentPage, totalPages)) {
|
|
9589
|
-
return (jsx("div", { onClick: () => onPageChange(page), className: paginationBlockStyle, "aria-label": `Страница ${page}`, children: page }, String(index)));
|
|
9590
|
-
}
|
|
9591
|
-
return null;
|
|
9592
|
-
};
|
|
9593
|
-
|
|
9594
|
-
const ICON_SIZE = { width: '24', height: '24' };
|
|
9595
|
-
const PaginationContainer = ({ currentPage, onPageChange, totalPages, }) => {
|
|
9596
|
-
const pages = useMemo(() => Array.from({ length: totalPages }).fill({
|
|
9597
|
-
currentPage,
|
|
9598
|
-
onPageChange,
|
|
9599
|
-
totalPages,
|
|
9600
|
-
}), [totalPages, currentPage]);
|
|
9601
|
-
const handlePrevPage = useCallback(() => {
|
|
9602
|
-
if (currentPage > 1) {
|
|
9603
|
-
onPageChange(currentPage - 1);
|
|
9604
|
-
}
|
|
9605
|
-
}, [currentPage]);
|
|
9606
|
-
const handleNextPage = useCallback(() => {
|
|
9607
|
-
if (currentPage < totalPages) {
|
|
9608
|
-
onPageChange(currentPage + 1);
|
|
9609
|
-
}
|
|
9610
|
-
}, [currentPage, totalPages]);
|
|
9611
|
-
const handleFirstPage = useCallback(() => onPageChange(1), []);
|
|
9612
|
-
const handleLastPage = useCallback(() => onPageChange(totalPages), [totalPages]);
|
|
9613
|
-
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 }) })] }));
|
|
9614
|
-
};
|
|
9615
|
-
const getIconStyle = (condition) => condition ? 'opacity-20' : 'cursor-pointer hover:opacity-60';
|
|
9616
|
-
|
|
9617
|
-
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] }));
|
|
9618
|
-
|
|
9619
|
-
const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus, placeholder = 'Поиск по сайту' }) => {
|
|
9620
|
-
const handleChange = useCallback((ev) => {
|
|
9621
|
-
onChange && onChange(ev.target?.value || '');
|
|
9622
|
-
}, [onChange]);
|
|
9623
|
-
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 })] }));
|
|
9624
|
-
});
|
|
9625
|
-
|
|
9626
|
-
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" }) })] })));
|
|
9627
|
-
|
|
9628
|
-
const DepositoryItem = JSX(({ title, timestamp, publicId }) => {
|
|
9629
|
-
const link = useLink();
|
|
9630
|
-
const { href } = link({ href: `${API_BASE_URI$1}/depository/${publicId}/file` });
|
|
9631
|
-
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));
|
|
9632
|
-
});
|
|
9633
|
-
|
|
9634
|
-
const DEPOSITARY_URL = `${API_BASE_URI$1}/depository`;
|
|
9635
|
-
const useDepository = ({ size, page, query, startDate, endDate }) => {
|
|
9636
|
-
const formatStartDate = startDate ? formatDate(startDate, true) : '';
|
|
9637
|
-
const formatEndDate = endDate ? formatDate(endDate, true) : '';
|
|
9638
|
-
const searchParams = new URLSearchParams(DEPOSITARY_URL);
|
|
9639
|
-
searchParams.set('page', String(page));
|
|
9640
|
-
searchParams.set('size', String(size));
|
|
9641
|
-
searchParams.set('query', query);
|
|
9642
|
-
searchParams.set('timestampStart', formatStartDate);
|
|
9643
|
-
searchParams.set('timestampEnd', formatEndDate);
|
|
9644
|
-
const queryString = `?${searchParams.toString()}`;
|
|
9645
|
-
const { data } = useAsyncData(DEPOSITARY_URL + queryString, fetchJSONUnsafe);
|
|
9646
|
-
return { items: data?.content, totalPages: data?.totalPages };
|
|
9647
|
-
};
|
|
9648
|
-
|
|
9649
|
-
const DEFAULT_ITEMS_COUNT = 10;
|
|
9650
|
-
const initialFiltrationState = {
|
|
9651
|
-
startDate: undefined,
|
|
9652
|
-
endDate: undefined,
|
|
9653
|
-
query: '',
|
|
9654
|
-
};
|
|
9655
|
-
const Depository = UniBlock(({ className, ...rest }) => {
|
|
9656
|
-
const [currentPage, setCurrentPage] = useState(0);
|
|
9657
|
-
const [itemCount, setItemCount] = useState(DEFAULT_ITEMS_COUNT);
|
|
9658
|
-
const [filtrationState, { field, reset }] = useForm(initialFiltrationState);
|
|
9659
|
-
const { totalPages = 0, items = [] } = useDepository({
|
|
9660
|
-
size: itemCount,
|
|
9661
|
-
page: currentPage,
|
|
9662
|
-
...filtrationState,
|
|
9663
|
-
});
|
|
9664
|
-
const handleChangePage = useCallback((page) => setCurrentPage(page - 1), []);
|
|
9665
|
-
const handleItemCountChange = useCallback((count) => {
|
|
9666
|
-
if (itemCount !== count) {
|
|
9667
|
-
setItemCount(count);
|
|
9668
|
-
setCurrentPage(0);
|
|
9669
|
-
}
|
|
9670
|
-
else {
|
|
9671
|
-
setItemCount(count);
|
|
9672
|
-
}
|
|
9673
|
-
}, []);
|
|
9674
|
-
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 })] })] }));
|
|
9675
|
-
});
|
|
9676
|
-
|
|
9677
9535
|
const renderErrorContent = (error) => {
|
|
9678
9536
|
if (error?.contentType === 'Image' && error?.image) {
|
|
9679
9537
|
return jsx(Img, { image: error.image });
|
|
@@ -9685,214 +9543,6 @@
|
|
|
9685
9543
|
};
|
|
9686
9544
|
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] })));
|
|
9687
9545
|
|
|
9688
|
-
const REGION_URL = `${API_BASE_URI$1}/region`;
|
|
9689
|
-
function useLocation(defaultLocation = 'Москва') {
|
|
9690
|
-
const locationStore = useLocalStore();
|
|
9691
|
-
return locationStore.location ?? { name: defaultLocation };
|
|
9692
|
-
}
|
|
9693
|
-
function useDefaultLocation(defaultLocation = 'Москва') {
|
|
9694
|
-
const locationStore = useLocalStore();
|
|
9695
|
-
const preselectLocation = useCallback(async () => {
|
|
9696
|
-
if (!locationStore.location) {
|
|
9697
|
-
const region = await fetchJSON(REGION_URL);
|
|
9698
|
-
locationStore.location = region ?? { name: defaultLocation };
|
|
9699
|
-
}
|
|
9700
|
-
}, [locationStore, defaultLocation]);
|
|
9701
|
-
useAsyncData(REGION_URL, preselectLocation);
|
|
9702
|
-
return locationStore;
|
|
9703
|
-
}
|
|
9704
|
-
|
|
9705
|
-
var Currency;
|
|
9706
|
-
(function (Currency) {
|
|
9707
|
-
Currency["RUB"] = "RUB";
|
|
9708
|
-
Currency["EUR"] = "EUR";
|
|
9709
|
-
Currency["USD"] = "USD";
|
|
9710
|
-
Currency["CNY"] = "CNY";
|
|
9711
|
-
})(Currency || (Currency = {}));
|
|
9712
|
-
|
|
9713
|
-
const currencyNumberFormat = new Intl.NumberFormat('ru', {
|
|
9714
|
-
style: 'currency',
|
|
9715
|
-
currency: Currency.RUB,
|
|
9716
|
-
});
|
|
9717
|
-
const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
|
|
9718
|
-
|
|
9719
|
-
const TABLE_STYLE_BASE = 'text-m font-light text-secondary-text ';
|
|
9720
|
-
const TABLE_HEAD_STYLE = `${TABLE_STYLE_BASE} text-left`;
|
|
9721
|
-
const TABLE_HEAD_STYLE_CENTER = `${TABLE_STYLE_BASE} pl-5xl text-center`;
|
|
9722
|
-
const TABLE_HEAD_STYLE_RIGHT = `${TABLE_STYLE_BASE} pl-5xl text-right`;
|
|
9723
|
-
const CURRENCY_ICONS_MAP = {
|
|
9724
|
-
USD: 'DollarIcon',
|
|
9725
|
-
EUR: 'EuroIcon',
|
|
9726
|
-
CNY: 'ChineseYuanRenminbiIcon',
|
|
9727
|
-
};
|
|
9728
|
-
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) })] })));
|
|
9729
|
-
const renderCurrencyRow = (exchangeCurrencyItem) => {
|
|
9730
|
-
const currency = exchangeCurrencyItem?.currency?.currency;
|
|
9731
|
-
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));
|
|
9732
|
-
};
|
|
9733
|
-
|
|
9734
|
-
const icon = { icon: 'GpsIcon' };
|
|
9735
|
-
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" })] })] })));
|
|
9736
|
-
|
|
9737
|
-
const roundTo = (value, precision = 2) => {
|
|
9738
|
-
const factor = 10 ** precision;
|
|
9739
|
-
return Math.round(parseFloat(String(value)) * factor) / factor;
|
|
9740
|
-
};
|
|
9741
|
-
|
|
9742
|
-
const calculateResult = (value, rate, precision) => {
|
|
9743
|
-
const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
|
|
9744
|
-
return Number.isInteger(result) ? result : roundTo(result);
|
|
9745
|
-
};
|
|
9746
|
-
const formatValue = (value) => value.replace(/[^\d.,]/g, '').replace(',', '.');
|
|
9747
|
-
|
|
9748
|
-
function assertNonEmpty(value) {
|
|
9749
|
-
if (!value) {
|
|
9750
|
-
throw new Error('Value should be fulfilled');
|
|
9751
|
-
}
|
|
9752
|
-
return value;
|
|
9753
|
-
}
|
|
9754
|
-
|
|
9755
|
-
const baseTableFunc = (table) => (input) => {
|
|
9756
|
-
const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(input)));
|
|
9757
|
-
return unit(input);
|
|
9758
|
-
};
|
|
9759
|
-
const tableFunc = (table) => baseTableFunc(table.map(([p, o]) => [p, () => o]));
|
|
9760
|
-
tableFunc.if = (predicate) => new TableFuncBuilder(undefined, predicate);
|
|
9761
|
-
class TableFuncBuilder {
|
|
9762
|
-
parent;
|
|
9763
|
-
predicate;
|
|
9764
|
-
unit;
|
|
9765
|
-
get entry() {
|
|
9766
|
-
return [assertNonEmpty(this.predicate), assertNonEmpty(this.unit)];
|
|
9767
|
-
}
|
|
9768
|
-
constructor(parent, predicate, unit) {
|
|
9769
|
-
this.parent = parent;
|
|
9770
|
-
this.predicate = predicate;
|
|
9771
|
-
this.unit = unit;
|
|
9772
|
-
}
|
|
9773
|
-
if(predicate) {
|
|
9774
|
-
return new TableFuncBuilder(this, predicate);
|
|
9775
|
-
}
|
|
9776
|
-
then(unit) {
|
|
9777
|
-
return new TableFuncBuilder(this.parent, this.predicate, unit);
|
|
9778
|
-
}
|
|
9779
|
-
else(unit) {
|
|
9780
|
-
return baseTableFunc([...buildTable(this), [() => true, unit]]);
|
|
9781
|
-
}
|
|
9782
|
-
}
|
|
9783
|
-
const buildTable = (builder) => [
|
|
9784
|
-
...(builder?.parent ? buildTable(builder.parent) : []),
|
|
9785
|
-
builder.entry,
|
|
9786
|
-
];
|
|
9787
|
-
|
|
9788
|
-
const callbackCurrencySelect = (props) => tableFunc([
|
|
9789
|
-
[
|
|
9790
|
-
(_) => _.value !== Currency.RUB && _.oppositeValue !== Currency.RUB,
|
|
9791
|
-
() => props.handleConvert(props.value, Currency.RUB),
|
|
9792
|
-
],
|
|
9793
|
-
[
|
|
9794
|
-
(_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
|
|
9795
|
-
() => props.handleConvert(props.value, Currency.USD),
|
|
9796
|
-
],
|
|
9797
|
-
[
|
|
9798
|
-
(_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
|
|
9799
|
-
() => props.handleConvert(props.value, Currency.CNY),
|
|
9800
|
-
],
|
|
9801
|
-
[() => true, () => props.handleConvert(props.value)],
|
|
9802
|
-
])(props)?.();
|
|
9803
|
-
|
|
9804
|
-
function renderInput(props) {
|
|
9805
|
-
const { placeholder, rates, selected, value, setValue, setSelected } = props;
|
|
9806
|
-
const ratesOptions = rates.map((_) => ({
|
|
9807
|
-
key: _?.currency?.currency ?? '',
|
|
9808
|
-
text: _?.currency?.currency ?? '',
|
|
9809
|
-
}));
|
|
9810
|
-
const selectedValue = { key: selected, text: selected };
|
|
9811
|
-
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] }));
|
|
9812
|
-
}
|
|
9813
|
-
|
|
9814
|
-
const ExchangeCurrencyCalculator = JSX(({ className = '', currencyRatesBuy, currencyRatesSell, button }) => {
|
|
9815
|
-
const [calcState, setCalcState] = useState({
|
|
9816
|
-
inputSell: '',
|
|
9817
|
-
inputBuy: '',
|
|
9818
|
-
selectSell: currencyRatesBuy?.[0]?.currency?.currency || Currency.RUB,
|
|
9819
|
-
selectBuy: currencyRatesSell?.[0]?.currency?.currency || Currency.USD,
|
|
9820
|
-
});
|
|
9821
|
-
const handleSetCalcState = useCallback((newState) => setCalcState((oldState) => ({ ...oldState, ...newState })), []);
|
|
9822
|
-
return (jsxs("div", { className: `flex flex-col gap-m pt-2xl ${className}`, children: [currencyRatesBuy && currencyRatesSell ? (jsxs("div", { className: "grid gap-m", children: [renderInput({
|
|
9823
|
-
placeholder: 'Хочу продать',
|
|
9824
|
-
rates: currencyRatesSell,
|
|
9825
|
-
selected: calcState.selectSell,
|
|
9826
|
-
setSelected: handleSelectSell(calcState, handleSetCalcState, currencyRatesSell),
|
|
9827
|
-
value: calcState.inputSell,
|
|
9828
|
-
setValue: (value) => handleInputSell(handleSetCalcState, currencyRatesSell)(value, calcState.selectSell, calcState.selectBuy),
|
|
9829
|
-
}), renderInput({
|
|
9830
|
-
placeholder: 'Получу',
|
|
9831
|
-
rates: currencyRatesBuy,
|
|
9832
|
-
selected: calcState.selectBuy,
|
|
9833
|
-
setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
|
|
9834
|
-
value: calcState.inputBuy,
|
|
9835
|
-
setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
|
|
9836
|
-
})] })) : null, button?.text ? (jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
|
|
9837
|
-
});
|
|
9838
|
-
const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
|
|
9839
|
-
setCalcState({ selectSell: value });
|
|
9840
|
-
callbackCurrencySelect({
|
|
9841
|
-
value,
|
|
9842
|
-
oppositeValue: calcState.selectBuy,
|
|
9843
|
-
handleConvert: (currencyFrom = calcState.selectSell, currencyTo = calcState.selectBuy) => {
|
|
9844
|
-
handleInputSell(setCalcState, currencyRatesSell)(calcState.inputSell, currencyFrom, currencyTo);
|
|
9845
|
-
},
|
|
9846
|
-
});
|
|
9847
|
-
};
|
|
9848
|
-
const handleSelectBuy = (calcState, setCalcState, currencyRatesBuy) => (value) => {
|
|
9849
|
-
setCalcState({ selectBuy: value });
|
|
9850
|
-
callbackCurrencySelect({
|
|
9851
|
-
value,
|
|
9852
|
-
oppositeValue: calcState.selectSell,
|
|
9853
|
-
handleConvert: (currencyTo = calcState.selectBuy, currencyFrom = calcState.selectSell) => handleInputBuy(setCalcState, currencyRatesBuy)(calcState.inputBuy, currencyTo, currencyFrom),
|
|
9854
|
-
});
|
|
9855
|
-
};
|
|
9856
|
-
const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
|
|
9857
|
-
setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
|
|
9858
|
-
const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.buyExchangeRate ||
|
|
9859
|
-
currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
|
|
9860
|
-
if (rate) {
|
|
9861
|
-
setCalcState({
|
|
9862
|
-
inputBuy: String(calculateResult(value, rate, currencyFrom === Currency.RUB) || ''),
|
|
9863
|
-
});
|
|
9864
|
-
}
|
|
9865
|
-
};
|
|
9866
|
-
const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
|
|
9867
|
-
setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
|
|
9868
|
-
const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.saleExchangeRate ||
|
|
9869
|
-
currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
|
|
9870
|
-
if (rate) {
|
|
9871
|
-
setCalcState({
|
|
9872
|
-
inputSell: String(calculateResult(value, rate, currencyTo === Currency.RUB) || ''),
|
|
9873
|
-
});
|
|
9874
|
-
}
|
|
9875
|
-
};
|
|
9876
|
-
|
|
9877
|
-
const EXCHANGE_RATES_URL = `${API_BASE_URI$1}/exchangerates`;
|
|
9878
|
-
function useFetchExchangeRateData(currentRegion) {
|
|
9879
|
-
const regionCode = currentRegion?.code || '000';
|
|
9880
|
-
const { data } = useAsyncData(EXCHANGE_RATES_URL + `?regionCode=${regionCode}`, fetchJSONUnsafe);
|
|
9881
|
-
return data || {};
|
|
9882
|
-
}
|
|
9883
|
-
|
|
9884
|
-
const ExchangeRateTile = JSX(({ className = '', title = 'Курсы обмена валют', button, ...rest }) => {
|
|
9885
|
-
const currentLocation = useLocation();
|
|
9886
|
-
const exchangeRates = useFetchExchangeRateData(currentLocation);
|
|
9887
|
-
const currencyRates = getCurrencyRates(exchangeRates?.exchangeRate?.currencies);
|
|
9888
|
-
const currencyRatesBuy = currencyRates.filter((_) => _.buyExchangeRate);
|
|
9889
|
-
currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
|
|
9890
|
-
const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
|
|
9891
|
-
currencyRatesSell.push({ currency: { currency: Currency.RUB } });
|
|
9892
|
-
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 })] }) }) }));
|
|
9893
|
-
});
|
|
9894
|
-
const getCurrencyRates = (currencies) => currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
|
|
9895
|
-
|
|
9896
9546
|
const LinkList = JSX(({ className = '', items }) => {
|
|
9897
9547
|
const link = useLink();
|
|
9898
9548
|
return (jsx("ul", { className: style('flex flex-col gap-s w-full', className), children: items?.map(renderLinkListItem(link)) }));
|
|
@@ -9939,7 +9589,7 @@
|
|
|
9939
9589
|
return (jsx("a", { className: style('text-secondary-text', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
|
|
9940
9590
|
});
|
|
9941
9591
|
|
|
9942
|
-
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-
|
|
9592
|
+
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 })));
|
|
9943
9593
|
|
|
9944
9594
|
const LEFT_COLUMN_STYLE = 'w-full lg:w-52';
|
|
9945
9595
|
|
|
@@ -10107,6 +9757,13 @@
|
|
|
10107
9757
|
};
|
|
10108
9758
|
};
|
|
10109
9759
|
|
|
9760
|
+
const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus, placeholder = 'Поиск по сайту' }) => {
|
|
9761
|
+
const handleChange = useCallback((ev) => {
|
|
9762
|
+
onChange && onChange(ev.target?.value || '');
|
|
9763
|
+
}, [onChange]);
|
|
9764
|
+
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 })] }));
|
|
9765
|
+
});
|
|
9766
|
+
|
|
10110
9767
|
const SearchDialog = JSX(({ initialQuery, navigationItems, onClose }) => {
|
|
10111
9768
|
const basePathList = useMemo(() => navigationItems?.map((_) => _.href || '/'), [navigationItems]);
|
|
10112
9769
|
const [searchResult, searchInputProps] = useSearch({
|
|
@@ -10148,7 +9805,7 @@
|
|
|
10148
9805
|
const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
|
|
10149
9806
|
const link = useLink();
|
|
10150
9807
|
const { href, target, text, onClick } = link(rest);
|
|
10151
|
-
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-
|
|
9808
|
+
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}` }));
|
|
10152
9809
|
});
|
|
10153
9810
|
|
|
10154
9811
|
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] })));
|
|
@@ -10188,8 +9845,32 @@
|
|
|
10188
9845
|
return blocks;
|
|
10189
9846
|
};
|
|
10190
9847
|
|
|
10191
|
-
const MIN_LENGTH_CHILD = 5;
|
|
10192
9848
|
const SHORT_TILE_INDEXES = [1, 2, 3, 4];
|
|
9849
|
+
const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
|
|
9850
|
+
? 'lg:col-span-1 lg:row-span-1'
|
|
9851
|
+
: 'lg:col-span-2 lg:row-span-2';
|
|
9852
|
+
const modifyBlock = (block, i) => {
|
|
9853
|
+
const content = { ...block.content };
|
|
9854
|
+
const isSmallTile = SHORT_TILE_INDEXES.includes(i);
|
|
9855
|
+
if (isSmallTile) {
|
|
9856
|
+
delete content.description;
|
|
9857
|
+
delete content.benefits;
|
|
9858
|
+
if (content.link?.href) {
|
|
9859
|
+
delete content.buttons;
|
|
9860
|
+
}
|
|
9861
|
+
content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
|
|
9862
|
+
content.headlineVersion = 'S';
|
|
9863
|
+
}
|
|
9864
|
+
else {
|
|
9865
|
+
if ((content.buttons ?? []).length) {
|
|
9866
|
+
delete content.link;
|
|
9867
|
+
}
|
|
9868
|
+
content.headlineVersion = 'L';
|
|
9869
|
+
}
|
|
9870
|
+
return { ...block, content };
|
|
9871
|
+
};
|
|
9872
|
+
|
|
9873
|
+
const MIN_LENGTH_CHILD = 5;
|
|
10193
9874
|
const LINK_SCHEMA = {
|
|
10194
9875
|
link: {
|
|
10195
9876
|
allOf: [
|
|
@@ -10239,27 +9920,6 @@
|
|
|
10239
9920
|
blockClassName: style(blockClassName, 'h-full'),
|
|
10240
9921
|
block: modifiedBlock,
|
|
10241
9922
|
}) }, String(i)));
|
|
10242
|
-
};
|
|
10243
|
-
const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
|
|
10244
|
-
? 'lg:col-span-1 lg:row-span-1'
|
|
10245
|
-
: 'lg:col-span-2 lg:row-span-2';
|
|
10246
|
-
const modifyBlock = (block, i) => {
|
|
10247
|
-
const content = { ...block.content };
|
|
10248
|
-
const isSmallTile = SHORT_TILE_INDEXES.includes(i);
|
|
10249
|
-
if (isSmallTile) {
|
|
10250
|
-
delete content.description;
|
|
10251
|
-
delete content.benefits;
|
|
10252
|
-
if (content.link?.href) {
|
|
10253
|
-
delete content.buttons;
|
|
10254
|
-
}
|
|
10255
|
-
content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
|
|
10256
|
-
}
|
|
10257
|
-
else {
|
|
10258
|
-
if ((content.buttons ?? []).length) {
|
|
10259
|
-
delete content.link;
|
|
10260
|
-
}
|
|
10261
|
-
}
|
|
10262
|
-
return { ...block, content };
|
|
10263
9923
|
};
|
|
10264
9924
|
|
|
10265
9925
|
const GrantSupport = UniBlock(({ className, title, button, regionSource, data, ...rest }) => {
|
|
@@ -10453,6 +10113,23 @@
|
|
|
10453
10113
|
const handleIntersectionActivation$1 = (index) => (prev) => Math.max(prev, index + 1);
|
|
10454
10114
|
const handleIntersectionDeactivation$1 = (index) => (prev) => Math.min(prev, index);
|
|
10455
10115
|
|
|
10116
|
+
const REGION_URL = `${API_BASE_URI$1}/region`;
|
|
10117
|
+
function useLocation(defaultLocation = 'Москва') {
|
|
10118
|
+
const locationStore = useLocalStore();
|
|
10119
|
+
return locationStore.location ?? { name: defaultLocation };
|
|
10120
|
+
}
|
|
10121
|
+
function useDefaultLocation(defaultLocation = 'Москва') {
|
|
10122
|
+
const locationStore = useLocalStore();
|
|
10123
|
+
const preselectLocation = useCallback(async () => {
|
|
10124
|
+
if (!locationStore.location) {
|
|
10125
|
+
const region = await fetchJSON(REGION_URL);
|
|
10126
|
+
locationStore.location = region ?? { name: defaultLocation };
|
|
10127
|
+
}
|
|
10128
|
+
}, [locationStore, defaultLocation]);
|
|
10129
|
+
useAsyncData(REGION_URL, preselectLocation);
|
|
10130
|
+
return locationStore;
|
|
10131
|
+
}
|
|
10132
|
+
|
|
10456
10133
|
const groupBy = (list, keyGetter) => {
|
|
10457
10134
|
const result = new Map();
|
|
10458
10135
|
for (const item of list) {
|
|
@@ -10556,7 +10233,7 @@
|
|
|
10556
10233
|
}), [navigationItems]);
|
|
10557
10234
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10558
10235
|
const { dataFooter, dataHeader, ...logoProps } = logo ?? {};
|
|
10559
|
-
return (jsxs("div", { className: "flex items-center justify-between", children: [jsx(Logo, { className: "mr-3xl", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }), jsx("div", { ref: topItemsListRef, className: "overflow-hidden min-w-
|
|
10236
|
+
return (jsxs("div", { className: "flex items-center justify-between", children: [jsx(Logo, { className: "mr-3xl", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }), jsx("div", { ref: topItemsListRef, className: "overflow-hidden min-w-40 pb-xs mt-xs", role: "menu", children: navigationItems.map((_, i) => (jsx(HeaderTopMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeTopItem, observerOptions: observerOptions, onVisibilityChange: topItemsVisibilityHandlers[i], data: _.dataHeader, ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "mx-xs", items: dropDownMenuItems, activeItem: activeTopItem, ariaLabel: dropdownMenuAriaLabel })) : null, jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", search: search, navigationItems: navigationItems, ...headerData })] }));
|
|
10560
10237
|
});
|
|
10561
10238
|
const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
|
|
10562
10239
|
const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
|
|
@@ -10598,102 +10275,6 @@
|
|
|
10598
10275
|
return (jsx(BlockWrapper, { className: style(alignStyle, className), defaultPadding: "p-0", ...rest, children: jsx(Img, { image: image }) }));
|
|
10599
10276
|
});
|
|
10600
10277
|
|
|
10601
|
-
const useCarouselControls = (props, initialIndex = 0) => {
|
|
10602
|
-
const { itemCount, visibleItemCount } = props;
|
|
10603
|
-
const [activeIndex, setActiveIndex] = useState(initialIndex);
|
|
10604
|
-
const inc = useCallback(() => setActiveIndex((_) => Math.min(_ + 1, itemCount - 1)), [itemCount]);
|
|
10605
|
-
const dec = useCallback(() => setActiveIndex((_) => Math.max(_ - 1, 0)), [itemCount]);
|
|
10606
|
-
const canInc = visibleItemCount
|
|
10607
|
-
? itemCount > visibleItemCount && activeIndex < itemCount - visibleItemCount
|
|
10608
|
-
: activeIndex < itemCount - 1;
|
|
10609
|
-
const canDec = activeIndex > 0;
|
|
10610
|
-
const isScrollAvailable = canDec || canInc;
|
|
10611
|
-
return [
|
|
10612
|
-
activeIndex,
|
|
10613
|
-
{
|
|
10614
|
-
inc,
|
|
10615
|
-
dec,
|
|
10616
|
-
canInc,
|
|
10617
|
-
canDec,
|
|
10618
|
-
isScrollAvailable,
|
|
10619
|
-
},
|
|
10620
|
-
];
|
|
10621
|
-
};
|
|
10622
|
-
|
|
10623
|
-
/** @deprecated */
|
|
10624
|
-
const renderArrows = ({ className, btnClass, canDec, canInc, dec, inc, }) => canDec || canInc ? (jsxs("div", { children: [canDec ? (jsx(ArrowLeftButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[0], className), onClick: dec })) : null, canInc ? (jsx(ArrowRightButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[1], className), onClick: inc })) : null] })) : null;
|
|
10625
|
-
|
|
10626
|
-
const InsuranceAmountBlockInner = JSX(({ className = '', cards = [], button }) => {
|
|
10627
|
-
const [selectedCardIndex, setSelectedCardIndex] = useState(0);
|
|
10628
|
-
const handleSelectedCardIndex = useCallback((_) => setSelectedCardIndex(_), []);
|
|
10629
|
-
const galleryLength = cards.length;
|
|
10630
|
-
const CARD_VIEW_COUNT = 2;
|
|
10631
|
-
const [activeIndex, controls] = useCarouselControls({
|
|
10632
|
-
itemCount: galleryLength,
|
|
10633
|
-
visibleItemCount: CARD_VIEW_COUNT,
|
|
10634
|
-
});
|
|
10635
|
-
const { canDec, canInc } = controls;
|
|
10636
|
-
const activeHref = cards[activeIndex]?.href;
|
|
10637
|
-
return (jsxs("section", { role: "listitem", className: `min-w-full text-center ${className}`, children: [jsxs("div", { className: "relative overflow-hidden", "aria-label": "\u0421\u0442\u0440\u0430\u0445\u043E\u0432\u044B\u0435 \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B", children: [galleryLength
|
|
10638
|
-
? renderGallery({
|
|
10639
|
-
activeIndex,
|
|
10640
|
-
cards,
|
|
10641
|
-
selectedCardIndex,
|
|
10642
|
-
onClick: handleSelectedCardIndex,
|
|
10643
|
-
})
|
|
10644
|
-
: null, renderArrows({
|
|
10645
|
-
...controls,
|
|
10646
|
-
btnClass: ['left-12', 'right-12'],
|
|
10647
|
-
className: 'top-16',
|
|
10648
|
-
}), canDec ? (jsx("div", { className: "absolute top-0 left-0 h-full w-32 bg-opacity-from-white" })) : null, canInc ? (jsx("div", { className: "absolute top-0 right-0 h-full w-32 bg-opacity-to-white" })) : null] }), jsx(LinkButton, { className: "w-60 text-center", version: "primary", ...button, href: activeHref })] }));
|
|
10649
|
-
});
|
|
10650
|
-
function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }) {
|
|
10651
|
-
const tabsShiftWidth = activeIndex * 460;
|
|
10652
|
-
const cardsAlignStyle = cards.length > 2 ? 'justify-start' : 'justify-center';
|
|
10653
|
-
return (jsx("div", { style: { transform: `translateX(-${tabsShiftWidth}px)` }, className: "duration-1000 px-6xl", children: jsx("div", { className: `w-full flex flex-nowrap gap-s pb-6xl ${cardsAlignStyle}`, children: cards.map((slide, i) => renderNavButton$1({
|
|
10654
|
-
slide,
|
|
10655
|
-
i,
|
|
10656
|
-
isActive: Boolean(i === selectedCardIndex),
|
|
10657
|
-
onClick: () => onClick(i),
|
|
10658
|
-
})) }) }));
|
|
10659
|
-
}
|
|
10660
|
-
function renderNavButton$1({ slide, i, isActive, onClick }) {
|
|
10661
|
-
const btnClassName = isActive
|
|
10662
|
-
? 'shadow-dark-blue border-primary-main'
|
|
10663
|
-
: `ease-in duration-300 border-gray`;
|
|
10664
|
-
return (jsxs("button", { type: "button", onClick: onClick, className: `p-3xl min-w-fit flex items-center gap-2xl bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(Img, { className: "p-lg rounded-full bg-secondary-light", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-s", children: [slide?.sum ? renderValueBlock('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
|
|
10665
|
-
}
|
|
10666
|
-
function renderValueBlock(title, sum) {
|
|
10667
|
-
return (jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [jsxs(Text, { size: "text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] }), jsx("div", { className: "mt-2xs", children: jsx(Text, { size: "text-l", color: "text-secondary-text", children: title }) })] }));
|
|
10668
|
-
}
|
|
10669
|
-
function renderDoneIcon(isActive) {
|
|
10670
|
-
return isActive ? (jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: { icon: 'DoneIcon' }, width: "24", height: "24" })) : null;
|
|
10671
|
-
}
|
|
10672
|
-
|
|
10673
|
-
const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
|
|
10674
|
-
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
10675
|
-
const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
|
|
10676
|
-
return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden relative px-0 space-y-2xl', className), defaultPadding: "p-6xl", ...rest, children: [title ? jsx(Heading, { className: "text-center", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-xs bg-secondary-light w-fit mx-auto rounded-md", children: insuranceTabs.map((item, i) => renderNavButton({
|
|
10677
|
-
title: item?.title,
|
|
10678
|
-
i,
|
|
10679
|
-
isActive: Boolean(i === activeSlideIndex),
|
|
10680
|
-
onClick: () => handleActiveSlideIndex(i),
|
|
10681
|
-
})) })) : null, jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: renderInsuranceGalleries({
|
|
10682
|
-
insuranceTabs,
|
|
10683
|
-
button,
|
|
10684
|
-
}) })] }));
|
|
10685
|
-
});
|
|
10686
|
-
const renderInsuranceGalleries = ({ insuranceTabs, button }) => {
|
|
10687
|
-
const insuranceGalleries = insuranceTabs?.map((_) => _.cards);
|
|
10688
|
-
return insuranceGalleries?.length
|
|
10689
|
-
? insuranceGalleries.map((cards, i) => (jsx(InsuranceAmountBlockInner, { button: button, cards: cards }, String(i))))
|
|
10690
|
-
: null;
|
|
10691
|
-
};
|
|
10692
|
-
function renderNavButton({ title, i, isActive, onClick }) {
|
|
10693
|
-
const btnClassName = isActive ? 'bg-primary-main text-white rounded-md' : `text-secondary-text`;
|
|
10694
|
-
return (jsx("button", { type: "button", onClick: onClick, "aria-label": `Кнопка ${title}`, className: `box-border px-m py-s text-m font-light ${btnClassName}`, children: title }, String(i)));
|
|
10695
|
-
}
|
|
10696
|
-
|
|
10697
10278
|
const KILO = 1024;
|
|
10698
10279
|
const KILO_SIZES = ['байт', 'Кб', 'Мб', 'Гб', 'Тб', 'Пб'];
|
|
10699
10280
|
const formatBytes = (bytes, decimals = 2) => {
|
|
@@ -11201,6 +10782,28 @@
|
|
|
11201
10782
|
? Number(paramsId)
|
|
11202
10783
|
: tabs.reduce((selectedIndex, tab, i) => (tab.selected ? i : selectedIndex), 0);
|
|
11203
10784
|
|
|
10785
|
+
const useCarouselControls = (props, initialIndex = 0) => {
|
|
10786
|
+
const { itemCount, visibleItemCount } = props;
|
|
10787
|
+
const [activeIndex, setActiveIndex] = useState(initialIndex);
|
|
10788
|
+
const inc = useCallback(() => setActiveIndex((_) => Math.min(_ + 1, itemCount - 1)), [itemCount]);
|
|
10789
|
+
const dec = useCallback(() => setActiveIndex((_) => Math.max(_ - 1, 0)), [itemCount]);
|
|
10790
|
+
const canInc = visibleItemCount
|
|
10791
|
+
? itemCount > visibleItemCount && activeIndex < itemCount - visibleItemCount
|
|
10792
|
+
: activeIndex < itemCount - 1;
|
|
10793
|
+
const canDec = activeIndex > 0;
|
|
10794
|
+
const isScrollAvailable = canDec || canInc;
|
|
10795
|
+
return [
|
|
10796
|
+
activeIndex,
|
|
10797
|
+
{
|
|
10798
|
+
inc,
|
|
10799
|
+
dec,
|
|
10800
|
+
canInc,
|
|
10801
|
+
canDec,
|
|
10802
|
+
isScrollAvailable,
|
|
10803
|
+
},
|
|
10804
|
+
];
|
|
10805
|
+
};
|
|
10806
|
+
|
|
11204
10807
|
const dividerStyle = '@4xl:border-main-divider @4xl:border-b';
|
|
11205
10808
|
const firstCellStyle = 'w-80 flex-shrink-0';
|
|
11206
10809
|
const COLS_LENGTH_FOR_SCROLL = 2;
|
|
@@ -11270,6 +10873,9 @@
|
|
|
11270
10873
|
? cells.map((_, i) => (jsx(RenderCellInner, { cell: _, fieldIdx: i, rowIdx: rowIdx, cellIdx: cellIdx, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx }, String(i))))
|
|
11271
10874
|
: null })));
|
|
11272
10875
|
|
|
10876
|
+
/** @deprecated */
|
|
10877
|
+
const renderArrows = ({ className, btnClass, canDec, canInc, dec, inc, }) => canDec || canInc ? (jsxs("div", { children: [canDec ? (jsx(ArrowLeftButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[0], className), onClick: dec })) : null, canInc ? (jsx(ArrowRightButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[1], className), onClick: inc })) : null] })) : null;
|
|
10878
|
+
|
|
11273
10879
|
const COLUMN_WIDTH = 140;
|
|
11274
10880
|
const getHorizontalShift = (columns, activeColumnIndex) => sum(columns.slice(0, activeColumnIndex).map((_) => _?.cols?.length ?? 1)) * COLUMN_WIDTH;
|
|
11275
10881
|
|
|
@@ -11405,16 +11011,12 @@
|
|
|
11405
11011
|
CalculatorRefinancing,
|
|
11406
11012
|
CardTransfer,
|
|
11407
11013
|
Carousel,
|
|
11408
|
-
CarouselCard,
|
|
11409
11014
|
CarouselCatalogCard,
|
|
11410
|
-
CarouselLinks,
|
|
11411
11015
|
CarouselRecommendationCard,
|
|
11412
11016
|
CarouselTariffsCard,
|
|
11413
11017
|
ContactsBlock,
|
|
11414
11018
|
DepositFiltration,
|
|
11415
|
-
Depository,
|
|
11416
11019
|
ErrorBlock,
|
|
11417
|
-
ExchangeRateTile,
|
|
11418
11020
|
Footer,
|
|
11419
11021
|
GalleryLayout,
|
|
11420
11022
|
GrantSupport,
|
|
@@ -11422,7 +11024,6 @@
|
|
|
11422
11024
|
Headline,
|
|
11423
11025
|
HorizontalLayout,
|
|
11424
11026
|
ImgBlock,
|
|
11425
|
-
InsuranceAmountBlock,
|
|
11426
11027
|
LinkDocs,
|
|
11427
11028
|
MobileAppTile,
|
|
11428
11029
|
OfficesAtmsMap,
|
|
@@ -11581,7 +11182,7 @@
|
|
|
11581
11182
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
11582
11183
|
});
|
|
11583
11184
|
|
|
11584
|
-
const packageVersion = "0.
|
|
11185
|
+
const packageVersion = "0.14.843";
|
|
11585
11186
|
|
|
11586
11187
|
exports.Blocks = Blocks;
|
|
11587
11188
|
exports.ContentPage = ContentPage;
|