@redneckz/wildless-cms-uni-blocks 0.14.185 → 0.14.187
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/bundle/bundle.umd.js +52 -47
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/RollupItem/RollupItem.d.ts +1 -0
- package/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts +1 -0
- package/bundle/ui-kit/TextWithIcon/TextWithIcon.d.ts +1 -0
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/Calculator/Calculator.mobile.js +1 -1
- package/dist/components/Calculator/Calculator.mobile.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +6 -0
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js +2 -2
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.mobile.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/TableColumn.js +4 -4
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/Depository/DepositoryFilter.js +1 -1
- package/dist/components/Depository/DepositoryFilter.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +2 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Header/DropdownMenu.js +2 -2
- package/dist/components/Header/DropdownMenu.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js +1 -1
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderSubMenuItem.js +1 -1
- package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +2 -3
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocItem.js +1 -1
- package/dist/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/dist/components/OfficesAtmsMap/renderFoldButton.js +1 -1
- package/dist/components/OfficesAtmsMap/renderFoldButton.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.d.ts +1 -0
- package/dist/components/RollupItem/RollupItem.js +1 -1
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/SafeDepositRental/RadioButtons.js +1 -1
- package/dist/components/SafeDepositRental/RadioButtons.js.map +1 -1
- package/dist/components/StickyBottomMenu/StickyBottomMenuBurger.js +1 -1
- package/dist/components/StickyBottomMenu/StickyBottomMenuBurger.js.map +1 -1
- package/dist/ui-kit/Badge/Badge.js +1 -1
- package/dist/ui-kit/Badge/Badge.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js +1 -2
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BenefitsList/DefaultBenefitsList.js +1 -1
- package/dist/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -1
- package/dist/ui-kit/BenefitsList/TabularBenefitsList.js +1 -1
- package/dist/ui-kit/BenefitsList/TabularBenefitsList.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +2 -1
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/dist/ui-kit/DialogManager/CloseButton.js +1 -1
- package/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
- package/dist/ui-kit/DialogManager/Dialog.js +1 -1
- package/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.js +1 -1
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Icon/Icon.js +1 -1
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
- package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +1 -0
- package/dist/ui-kit/LinkButton/renderButtonsSection.js +1 -1
- package/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/LinkWrapper/LinkWrapper.js +1 -1
- package/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/dist/ui-kit/LocationDialog/LocationDialog.js +1 -1
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/LocationDialog/renderRegion.js +1 -1
- package/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/dist/ui-kit/PriceList/PriceList.js +2 -2
- package/dist/ui-kit/PriceList/PriceList.js.map +1 -1
- package/dist/ui-kit/Radio/Radio.js +1 -1
- package/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.js +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/Select/SelectPopup.js +1 -1
- package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/dist/ui-kit/TextWithIcon/TextWithIcon.d.ts +1 -0
- package/dist/ui-kit/TextWithIcon/TextWithIcon.js +2 -2
- package/dist/ui-kit/TextWithIcon/TextWithIcon.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/Calculator/Calculator.mobile.js +1 -1
- package/lib/components/Calculator/Calculator.mobile.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +6 -0
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js +2 -2
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.mobile.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/TableColumn.js +4 -4
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/Depository/DepositoryFilter.js +1 -1
- package/lib/components/Depository/DepositoryFilter.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +2 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Header/DropdownMenu.js +2 -2
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js +1 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderSubMenuItem.js +1 -1
- package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +2 -3
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocItem.js +1 -1
- package/lib/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/lib/components/OfficesAtmsMap/renderFoldButton.js +1 -1
- package/lib/components/OfficesAtmsMap/renderFoldButton.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.d.ts +1 -0
- package/lib/components/RollupItem/RollupItem.js +1 -1
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/SafeDepositRental/RadioButtons.js +1 -1
- package/lib/components/SafeDepositRental/RadioButtons.js.map +1 -1
- package/lib/components/StickyBottomMenu/StickyBottomMenuBurger.js +1 -1
- package/lib/components/StickyBottomMenu/StickyBottomMenuBurger.js.map +1 -1
- package/lib/ui-kit/Badge/Badge.js +1 -1
- package/lib/ui-kit/Badge/Badge.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js +1 -2
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BenefitsList/DefaultBenefitsList.js +1 -1
- package/lib/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -1
- package/lib/ui-kit/BenefitsList/TabularBenefitsList.js +1 -1
- package/lib/ui-kit/BenefitsList/TabularBenefitsList.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +2 -1
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/lib/ui-kit/DialogManager/CloseButton.js +1 -1
- package/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
- package/lib/ui-kit/DialogManager/Dialog.js +1 -1
- package/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.js +1 -1
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Icon/Icon.js +1 -1
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
- package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +1 -0
- package/lib/ui-kit/LinkButton/renderButtonsSection.js +1 -1
- package/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/LinkWrapper/LinkWrapper.js +1 -1
- package/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/lib/ui-kit/LocationDialog/LocationDialog.js +1 -1
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/LocationDialog/renderRegion.js +1 -1
- package/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/lib/ui-kit/PriceList/PriceList.js +2 -2
- package/lib/ui-kit/PriceList/PriceList.js.map +1 -1
- package/lib/ui-kit/Radio/Radio.js +1 -1
- package/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.js +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/Select/SelectPopup.js +1 -1
- package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/lib/ui-kit/TextWithIcon/TextWithIcon.d.ts +1 -0
- package/lib/ui-kit/TextWithIcon/TextWithIcon.js +2 -2
- package/lib/ui-kit/TextWithIcon/TextWithIcon.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +58 -54
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/RollupItem/RollupItem.d.ts +1 -0
- package/mobile/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts +1 -0
- package/mobile/bundle/ui-kit/TextWithIcon/TextWithIcon.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +1 -1
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +6 -0
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.js +4 -4
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/Depository/DepositoryFilter.js +1 -1
- package/mobile/dist/components/Depository/DepositoryFilter.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +2 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Header/DropdownMenu.js +2 -2
- package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenuItem.js +1 -1
- package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +2 -3
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocItem.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.js +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.d.ts +1 -0
- package/mobile/dist/components/RollupItem/RollupItem.js +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RadioButtons.js +1 -1
- package/mobile/dist/components/SafeDepositRental/RadioButtons.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuBurger.js +1 -1
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuBurger.js.map +1 -1
- package/mobile/dist/ui-kit/Badge/Badge.js +1 -1
- package/mobile/dist/ui-kit/Badge/Badge.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -2
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitsList/DefaultBenefitsList.js +1 -1
- package/mobile/dist/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitsList/TabularBenefitsList.js +1 -1
- package/mobile/dist/ui-kit/BenefitsList/TabularBenefitsList.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +2 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/CloseButton.js +1 -1
- package/mobile/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/Dialog.js +1 -1
- package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.js +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.js +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +1 -0
- package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.js +1 -1
- package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js +1 -1
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +1 -1
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/renderRegion.js +1 -1
- package/mobile/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/mobile/dist/ui-kit/PriceList/PriceList.js +2 -2
- package/mobile/dist/ui-kit/PriceList/PriceList.js.map +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/Select/SelectPopup.js +1 -1
- package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.d.ts +1 -0
- package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.js +2 -2
- package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +1 -1
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +6 -0
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.js +4 -4
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/Depository/DepositoryFilter.js +1 -1
- package/mobile/lib/components/Depository/DepositoryFilter.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +2 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Header/DropdownMenu.js +2 -2
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenuItem.js +1 -1
- package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +2 -3
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocItem.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.js +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.d.ts +1 -0
- package/mobile/lib/components/RollupItem/RollupItem.js +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RadioButtons.js +1 -1
- package/mobile/lib/components/SafeDepositRental/RadioButtons.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuBurger.js +1 -1
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuBurger.js.map +1 -1
- package/mobile/lib/ui-kit/Badge/Badge.js +1 -1
- package/mobile/lib/ui-kit/Badge/Badge.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -2
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitsList/DefaultBenefitsList.js +1 -1
- package/mobile/lib/ui-kit/BenefitsList/DefaultBenefitsList.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitsList/TabularBenefitsList.js +1 -1
- package/mobile/lib/ui-kit/BenefitsList/TabularBenefitsList.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +2 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/CloseButton.js +1 -1
- package/mobile/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/Dialog.js +1 -1
- package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.js +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.js +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +1 -0
- package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.js +1 -1
- package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js +1 -1
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +1 -1
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/renderRegion.js +1 -1
- package/mobile/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/mobile/lib/ui-kit/PriceList/PriceList.js +2 -2
- package/mobile/lib/ui-kit/PriceList/PriceList.js.map +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/Select/SelectPopup.js +1 -1
- package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
- package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.d.ts +1 -0
- package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.js +2 -2
- package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.js.map +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +3 -3
- package/mobile/src/components/Calculator/Calculator.tsx +1 -0
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +9 -0
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +1 -0
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +8 -4
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +2 -2
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +29 -29
- package/mobile/src/components/Depository/DepositoryFilter.tsx +1 -1
- package/mobile/src/components/Footer/Footer.tsx +4 -1
- package/mobile/src/components/Header/DropdownMenu.tsx +3 -0
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
- package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -0
- package/mobile/src/components/Header/HeaderSubMenuItem.tsx +1 -1
- package/mobile/src/components/Header/HeaderTop.tsx +3 -4
- package/mobile/src/components/LinkDocs/LinkDocItem.tsx +0 -1
- package/mobile/src/components/OfficesAtmsMap/renderFoldButton.tsx +1 -0
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -0
- package/mobile/src/components/RollupItem/RollupItem.tsx +3 -0
- package/mobile/src/components/SafeDepositRental/RadioButtons.tsx +1 -1
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenuBurger.tsx +1 -0
- package/mobile/src/ui-kit/Badge/Badge.tsx +1 -0
- package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +1 -1
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +1 -3
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
- package/mobile/src/ui-kit/BenefitsList/DefaultBenefitsList.tsx +1 -0
- package/mobile/src/ui-kit/BenefitsList/TabularBenefitsList.tsx +1 -0
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -1
- package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
- package/mobile/src/ui-kit/DialogManager/CloseButton.tsx +1 -0
- package/mobile/src/ui-kit/DialogManager/Dialog.tsx +1 -1
- package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -0
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +2 -2
- package/mobile/src/ui-kit/Heading/Heading.tsx +1 -1
- package/mobile/src/ui-kit/Icon/Icon.tsx +7 -1
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +5 -4
- package/mobile/src/ui-kit/LinkButton/LinkButtonProps.ts +1 -0
- package/mobile/src/ui-kit/LinkButton/renderButtonsSection.tsx +1 -0
- package/mobile/src/ui-kit/LinkWrapper/LinkWrapper.tsx +5 -1
- package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +1 -1
- package/mobile/src/ui-kit/LocationDialog/renderRegion.tsx +1 -0
- package/mobile/src/ui-kit/PriceList/PriceList.tsx +5 -1
- package/mobile/src/ui-kit/Radio/Radio.tsx +1 -0
- package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
- package/mobile/src/ui-kit/Select/SelectPopup.tsx +2 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +1 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListItem.tsx +1 -0
- package/mobile/src/ui-kit/TextWithIcon/TextWithIcon.tsx +3 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +3 -3
- package/src/components/Calculator/Calculator.mobile.tsx +1 -0
- package/src/components/Calculator/DepositCalculatorForm.tsx +9 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +1 -0
- package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +8 -4
- package/src/components/ComparisonTable/ComparisonTable.tsx +1 -0
- package/src/components/ComparisonTable/HeaderCell.mobile.tsx +2 -2
- package/src/components/ComparisonTable/TableColumn.tsx +29 -29
- package/src/components/ContentPage/ContentPage.fixture.tsx +1 -0
- package/src/components/Depository/DepositoryFilter.tsx +1 -1
- package/src/components/Footer/Footer.mobile.tsx +4 -1
- package/src/components/Header/DropdownMenu.tsx +3 -0
- package/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
- package/src/components/Header/HeaderSubMenu.tsx +1 -0
- package/src/components/Header/HeaderSubMenuItem.tsx +1 -1
- package/src/components/Header/HeaderTop.tsx +3 -4
- package/src/components/LinkDocs/LinkDocItem.tsx +0 -1
- package/src/components/OfficesAtmsMap/renderFoldButton.tsx +1 -0
- package/src/components/ProductBlock/renderBackwardButton.tsx +1 -0
- package/src/components/RollupItem/RollupItem.tsx +3 -0
- package/src/components/SafeDepositRental/RadioButtons.tsx +1 -1
- package/src/components/StickyBottomMenu/StickyBottomMenuBurger.tsx +1 -0
- package/src/ui-kit/Badge/Badge.tsx +1 -0
- package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +1 -1
- package/src/ui-kit/BaseTile/BaseTile.tsx +1 -3
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
- package/src/ui-kit/BenefitsList/DefaultBenefitsList.tsx +1 -0
- package/src/ui-kit/BenefitsList/TabularBenefitsList.tsx +1 -0
- package/src/ui-kit/Checkbox/Checkbox.tsx +2 -1
- package/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
- package/src/ui-kit/DialogManager/CloseButton.tsx +1 -0
- package/src/ui-kit/DialogManager/Dialog.tsx +1 -1
- package/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -0
- package/src/ui-kit/Foldable/Foldable.tsx +2 -2
- package/src/ui-kit/Heading/Heading.tsx +1 -1
- package/src/ui-kit/Icon/Icon.tsx +7 -1
- package/src/ui-kit/LinkButton/LinkButton.tsx +5 -4
- package/src/ui-kit/LinkButton/LinkButtonProps.ts +1 -0
- package/src/ui-kit/LinkButton/renderButtonsSection.tsx +1 -0
- package/src/ui-kit/LinkWrapper/LinkWrapper.tsx +5 -1
- package/src/ui-kit/LocationDialog/LocationDialog.tsx +1 -1
- package/src/ui-kit/LocationDialog/renderRegion.tsx +1 -0
- package/src/ui-kit/PriceList/PriceList.tsx +5 -1
- package/src/ui-kit/Radio/Radio.tsx +1 -0
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
- package/src/ui-kit/Select/SelectPopup.tsx +2 -2
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +1 -0
- package/src/ui-kit/SwipeListControl/SwipeListItem.tsx +1 -0
- package/src/ui-kit/TextWithIcon/TextWithIcon.tsx +3 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
};
|
|
170
170
|
const Heading = JSX(({ className = '', headingType = 'h3', as = 'h3', title, children }) => {
|
|
171
171
|
const Tag = headingTag(as);
|
|
172
|
-
return (jsx(Tag, { className: style('font-sans m-0', styles$2[headingType], className), children: title || children }));
|
|
172
|
+
return (jsx(Tag, { role: "heading", className: style('font-sans m-0', styles$2[headingType], className), children: title || children }));
|
|
173
173
|
});
|
|
174
174
|
|
|
175
175
|
const Paragraph = JSX(({ children, ...styleProps }) => (jsx("p", { className: style('font-sans', Object.values(styleProps)), children: children })));
|
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
return { height: isOnlyDigits(height) ? `${height}px` : height, width: 'auto' };
|
|
343
343
|
};
|
|
344
344
|
const getSvgSize = (width) => (width ? '' : 'w-full h-full');
|
|
345
|
-
const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
|
|
345
|
+
const Background = JSX(({ className, children }) => className ? (jsx("div", { role: "img", className: className, children: children })) : (children));
|
|
346
346
|
|
|
347
347
|
const adjustSrc = (router, pathPrefix) => (src) => src && !isURL(src) ? adjustHref(router)(joinPath(pathPrefix, src)) : src;
|
|
348
348
|
|
|
@@ -508,8 +508,8 @@
|
|
|
508
508
|
const buttonInner = children ?? jsx(ButtonInner, { ...adjustedProps });
|
|
509
509
|
return disabled ? (jsx(DisabledButton, { ...adjustedProps, children: buttonInner })) : (jsx(RegularButton, { ...adjustedProps, children: buttonInner }));
|
|
510
510
|
});
|
|
511
|
-
const RegularButton = JSX(({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => (jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, rel: rel, target: target, "aria-label": ariaLabel, role: href ? 'link' : 'button', onClick: onClick, children: children })));
|
|
512
|
-
const DisabledButton = JSX(({ className, ariaLabel, version, rounded, children }) => (jsx("
|
|
511
|
+
const RegularButton = JSX(({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, type, children }) => (jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, rel: rel, target: target, "aria-label": ariaLabel, role: href ? 'link' : 'button', onClick: onClick, type: type, children: children })));
|
|
512
|
+
const DisabledButton = JSX(({ className, ariaLabel, version, rounded, children }) => (jsx("button", { type: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: getDisabledButtonClasses({ className, rounded, version }), children: children })));
|
|
513
513
|
|
|
514
514
|
function renderBackwardButton(version, handleClick) {
|
|
515
515
|
const iconVersion = version === 'primary' ? 'white' : 'black';
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
return (jsxs("div", { className: "hidden sm:flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
|
|
519
519
|
icon: 'ArrowLeftIcon',
|
|
520
520
|
iconVersion: iconVersion,
|
|
521
|
-
} }) }), jsx(LinkButton, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick })] }));
|
|
521
|
+
} }) }), jsx(LinkButton, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick, type: "button" })] }));
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
const imageAlignmentMap = {
|
|
@@ -528,8 +528,7 @@
|
|
|
528
528
|
};
|
|
529
529
|
const BaseTile = JSX(({ className, version = 'primary', defaultPadding, padding = '', title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary = false, backwardButton, children, ...rest }) => {
|
|
530
530
|
const router = useRouter();
|
|
531
|
-
const handleClick = useCallback((
|
|
532
|
-
ev?.preventDefault();
|
|
531
|
+
const handleClick = useCallback(() => {
|
|
533
532
|
router.back();
|
|
534
533
|
}, []);
|
|
535
534
|
return (jsxs("div", { className: getStyle(padding, defaultPadding, className), children: [backwardButton ? renderBackwardButton(version, handleClick) : null, title ? jsx("div", { className: "relative h-full", children: title }) : null, jsxs("div", { className: style('grow relative flex flex-col @xl:flex-row gap-3xl w-full', leftImage ? 'self-start @xl:w-auto' : ''), children: [renderImageContainer(leftImage, { imageAlign, className: 'mx-auto' }), jsxs("div", { className: style('grid gap-3xl', rightImage ? '@xl:grid-cols-2' : '', leftImage ? '' : 'grow', 'h-full', //? fix issue https://github.com/redneckz/temp_wcms/issues/1254
|
|
@@ -575,7 +574,7 @@
|
|
|
575
574
|
'description' in _ ? (jsx("span", { className: _.descriptionClassName, children: renderBenefitDescription(_.description, i) }, String(i))) : null,
|
|
576
575
|
]);
|
|
577
576
|
|
|
578
|
-
const BenefitItem = JSX(({ className, benefitsVersion, ..._ }) => (jsxs("div", { className: style('flex gap-m min-w-56 items-center', className), children: ['icon' in _ ? renderBenefitIcon(_.icon, benefitsVersion) : null, jsx("div", { children: renderBenefitText(_) })] })));
|
|
577
|
+
const BenefitItem = JSX(({ className, benefitsVersion, ..._ }) => (jsxs("div", { className: style('flex gap-m min-w-56 items-center', className), role: "listitem", children: ['icon' in _ ? renderBenefitIcon(_.icon, benefitsVersion) : null, jsx("div", { children: renderBenefitText(_) })] })));
|
|
579
578
|
|
|
580
579
|
const MAX_BENEFITS_LEN_DEVIATION = 16;
|
|
581
580
|
const benefitLength = (_) => _.type === 'rte'
|
|
@@ -584,9 +583,9 @@
|
|
|
584
583
|
const isDistortedBenefits = (benefits) => deviation(benefits.map(benefitLength)) > MAX_BENEFITS_LEN_DEVIATION;
|
|
585
584
|
const hasIcon = (_) => _ && 'icon' in _ && _.icon && (_.icon.icon || _.icon.src);
|
|
586
585
|
const isTextualBenefits = (benefits) => !benefits.some(hasIcon);
|
|
587
|
-
const DefaultBenefitsList = JSX(({ className, benefitsVersion = 'normal', benefits }) => benefits?.length ? (jsx("div", { className: style('flex gap-x-m gap-y-s', isDistortedBenefits(benefits) || isTextualBenefits(benefits) ? 'flex-col' : 'flex-wrap', className), children: benefits.map((_, i) => (jsx(BenefitItem, { benefitsVersion: benefitsVersion, ..._ }, String(i)))) })) : null);
|
|
586
|
+
const DefaultBenefitsList = JSX(({ className, benefitsVersion = 'normal', benefits }) => benefits?.length ? (jsx("div", { className: style('flex gap-x-m gap-y-s', isDistortedBenefits(benefits) || isTextualBenefits(benefits) ? 'flex-col' : 'flex-wrap', className), role: "list", children: benefits.map((_, i) => (jsx(BenefitItem, { benefitsVersion: benefitsVersion, ..._ }, String(i)))) })) : null);
|
|
588
587
|
|
|
589
|
-
const TabularBenefitsList = JSX(({ className, benefits }) => benefits?.length ? (jsx("div", { className: style('grid grid-cols-[max-content_1fr] auto-rows-auto items-baseline gap-x-m gap-y-xs', className), children: benefits.flatMap(renderBenefitText) })) : null);
|
|
588
|
+
const TabularBenefitsList = JSX(({ className, benefits }) => benefits?.length ? (jsx("div", { className: style('grid grid-cols-[max-content_1fr] auto-rows-auto items-baseline gap-x-m gap-y-xs', className), role: "list", children: benefits.flatMap(renderBenefitText) })) : null);
|
|
590
589
|
|
|
591
590
|
const BenefitsList = JSX(({ isTabularBenefits, ...rest }) => isTabularBenefits ? jsx(TabularBenefitsList, { ...rest }) : jsx(DefaultBenefitsList, { ...rest }));
|
|
592
591
|
|
|
@@ -595,7 +594,7 @@
|
|
|
595
594
|
/** @deprecated */
|
|
596
595
|
const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical
|
|
597
596
|
? 'flex-col gap-xs justify-items-stretch'
|
|
598
|
-
: 'flex-wrap @xl:flex-nowrap gap-lg sm:gap-m', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
|
|
597
|
+
: 'flex-wrap @xl:flex-nowrap gap-lg sm:gap-m', className), role: "group", children: buttons.map(renderButton(buttonClassName)) })) : null;
|
|
599
598
|
const renderButton = (buttonClassName = '') => (button, index) => {
|
|
600
599
|
const { text, icon, iconRight, version, ...rest } = button || {};
|
|
601
600
|
const iconVersion = getIconVersion(icon, version);
|
|
@@ -638,8 +637,8 @@
|
|
|
638
637
|
maximumFractionDigits: fractionDigits,
|
|
639
638
|
}).format(Number(_) || 0);
|
|
640
639
|
|
|
641
|
-
const PriceList = JSX(({ priceList }) => priceList?.length ? (jsx("div", { className: "flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-xl", children: priceList.map(renderPriceListItem) })) : null);
|
|
642
|
-
const renderPriceListItem = ({ label, amount }, i) => (jsxs("div", { className: "basis-full flex flex-col-reverse sm:flex-row sm:justify-between sm:bg-main-divider sm:py-m sm:px-lg sm:rounded-md items-baseline whitespace-pre", children: [jsx(Text, { font: "font-light", size: "text-l", color: "text-secondary-text", children: label }), amount ? (jsxs("span", { className: "font-sans text-h6 sm:text-primary-main text-primary-text", children: [toLocalNumberFormat(2)(amount), " \u20BD"] })) : null] }, String(i)));
|
|
640
|
+
const PriceList = JSX(({ priceList }) => priceList?.length ? (jsx("div", { className: "flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-xl", role: "list", children: priceList.map(renderPriceListItem) })) : null);
|
|
641
|
+
const renderPriceListItem = ({ label, amount }, i) => (jsxs("div", { className: "basis-full flex flex-col-reverse sm:flex-row sm:justify-between sm:bg-main-divider sm:py-m sm:px-lg sm:rounded-md items-baseline whitespace-pre", role: "listitem", children: [jsx(Text, { font: "font-light", size: "text-l", color: "text-secondary-text", children: label }), amount ? (jsxs("span", { className: "font-sans text-h6 sm:text-primary-main text-primary-text", children: [toLocalNumberFormat(2)(amount), " \u20BD"] })) : null] }, String(i)));
|
|
643
642
|
|
|
644
643
|
const Tags = JSX(({ className, tags }) => tags?.length ? (jsx("div", { className: style('flex flex-wrap gap-xs', className), role: "list", children: tags.map(renderTag) })) : null);
|
|
645
644
|
const renderTag = (tag, key) => (jsx("div", { className: "p-xs border-solid border rounded-md border-gray", role: "listitem", children: jsx(Text, { size: "text-m", font: "font-light", children: tag }) }, String(key)));
|
|
@@ -1126,7 +1125,7 @@
|
|
|
1126
1125
|
return options.filter((_) => _.text?.toLocaleLowerCase().includes(query?.trim().toLocaleLowerCase()));
|
|
1127
1126
|
};
|
|
1128
1127
|
|
|
1129
|
-
const SelectPopup = JSX(({ popupRef, options, value, query, onChange, iconVersion }) => options?.length ? (jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md", role: "
|
|
1128
|
+
const SelectPopup = JSX(({ popupRef, options, value, query, onChange, iconVersion }) => options?.length ? (jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md", role: "list", ref: popupRef, children: filterOptions(options, query).map((option) => (jsxs("div", { className: "flex px-m py-s cursor-pointer hover:bg-main-divider pr-5xl relative", role: "listitem", "aria-selected": option.key === value?.key, onClick: (e) => {
|
|
1130
1129
|
e.stopPropagation();
|
|
1131
1130
|
if (onChange) {
|
|
1132
1131
|
onChange(option);
|
|
@@ -1257,7 +1256,7 @@
|
|
|
1257
1256
|
}, [onSubmit]);
|
|
1258
1257
|
const [, { field, ...formProps }] = useForm(initialFormState$9, { onSubmit: handleSubmit });
|
|
1259
1258
|
const isSlideCheckboxes = getSlideCheckboxes(field('acquiringType').value?.key);
|
|
1260
|
-
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderAcquiringRegion({ field, title: 'Вид эквайринга и регион' }), renderAcquiringDataOrganization(field, 'Данные организации'), isSlideCheckboxes ? (jsxs("div", { children: [jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043E\u043D\u043B\u0430\u0439\u043D-\u043A\u0430\u0441\u0441\u0443", ...field('onlineCheckout') }), jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C POS-\u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B", ...field('posTerminal') })] })) : null, renderSubmitButton(button), jsx(Footnote, { link: link })] }));
|
|
1259
|
+
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderAcquiringRegion({ field, title: 'Вид эквайринга и регион' }), renderAcquiringDataOrganization(field, 'Данные организации'), isSlideCheckboxes ? (jsxs("div", { role: "radiogroup", children: [jsx(SlideCheckbox, { type: "radio", text: "\u0425\u043E\u0447\u0443 \u043E\u043D\u043B\u0430\u0439\u043D-\u043A\u0430\u0441\u0441\u0443", ...field('onlineCheckout') }), jsx(SlideCheckbox, { type: "radio", text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C POS-\u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B", ...field('posTerminal') })] })) : null, renderSubmitButton(button), jsx(Footnote, { link: link })] }));
|
|
1261
1260
|
});
|
|
1262
1261
|
const getSlideCheckboxes = (type) => type === 'all' || type === 'trade';
|
|
1263
1262
|
|
|
@@ -1509,8 +1508,9 @@
|
|
|
1509
1508
|
onChange && onChange(!value);
|
|
1510
1509
|
}, [onChange, disabled, value]);
|
|
1511
1510
|
const icon = isRadio ? (jsx("div", { className: "absolute left-1 w-3 h-3 rounded-full bg-primary-main" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "absolute left-1 ml-px block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" }));
|
|
1512
|
-
return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group/box", onClick: handleChange, children: [jsx("div", { className: style('appearance-none w-5 h-5 border-solid cursor-pointer m-0', isRadio ? 'rounded-full border-2' : checkboxStyle(value), value ? 'border-primary-main' : 'border-gray', disabled ? 'bg-main-disabled' : 'group-hover/box:border-primary-hover'), role:
|
|
1511
|
+
return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group/box", onClick: handleChange, children: [jsx("div", { className: style('appearance-none w-5 h-5 border-solid cursor-pointer m-0', isRadio ? 'rounded-full border-2' : checkboxStyle(value), value ? 'border-primary-main' : 'border-gray', disabled ? 'bg-main-disabled' : 'group-hover/box:border-primary-hover'), role: role(isRadio), "aria-checked": Boolean(value), "aria-disabled": Boolean(disabled) }), value ? icon : null, text ? (jsx("div", { className: "ml-s", children: jsx(Text, { size: "text-l", font: "font-light", children: text }) })) : null] }) }));
|
|
1513
1512
|
});
|
|
1513
|
+
const role = (isRadio) => (isRadio ? 'radio' : 'checkbox');
|
|
1514
1514
|
const checkboxStyle = (value) => style('rounded border', value ? 'bg-primary-main' : '');
|
|
1515
1515
|
|
|
1516
1516
|
const agreementText = 'Нажимая кнопку, вы подтверждаете согласие с';
|
|
@@ -1808,7 +1808,7 @@
|
|
|
1808
1808
|
|
|
1809
1809
|
const renderContacts = () => (jsxs("div", { className: "flex gap-xl", children: [jsxs("a", { className: "flex gap-s items-center text-primary-text no-underline", href: `tel:8 (800) 200-78-70`, "aria-label": "8 (800) 200-78-70", children: [jsx(Img, { image: { icon: 'PhoneIcon' }, width: "24", height: "24" }), jsx("span", { children: "8 (800) 200-78-70" })] }), jsxs("a", { className: "flex gap-s items-center text-primary-text no-underline", "aria-label": "ved@rshb.ru", href: `mailto:ved@rshb.ru`, children: [jsx(Img, { image: { icon: 'MailIcon' }, width: "24", height: "24" }), jsx("span", { children: "ved@rshb.ru" })] })] }));
|
|
1810
1810
|
|
|
1811
|
-
const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex gap-s items-center relative cursor-pointer", children: [jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-primary-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer", type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange(_.target.value) }), text ? jsx(Text, { color: "text-primary-text", children: text }) : null] }) })));
|
|
1811
|
+
const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex gap-s items-center relative cursor-pointer", children: [jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-primary-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer", type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange(_.target.value), role: "radio" }), text ? jsx(Text, { color: "text-primary-text", children: text }) : null] }) })));
|
|
1812
1812
|
|
|
1813
1813
|
const renderQuestionsInterested = (field) => {
|
|
1814
1814
|
const { value, onChange } = field('vedTypes');
|
|
@@ -2331,7 +2331,7 @@
|
|
|
2331
2331
|
horizontal: 'gap-5xl',
|
|
2332
2332
|
vertical: 'flex-col gap-s',
|
|
2333
2333
|
};
|
|
2334
|
-
const RadioButtonGroup = JSX(({ items, checkedItem, className, onChange: onChangeCheckedItem, orientation = 'horizontal', }) => (jsx("div", { className: style(`flex ${orientationStyleMap[orientation]}`, className), children: items?.map(({ id, text }) => (jsx(Checkbox, { isRadio: true, text: text, value: checkedItem === id, onChange: () => onChangeCheckedItem && onChangeCheckedItem(id) }, String(id)))) })));
|
|
2334
|
+
const RadioButtonGroup = JSX(({ items, checkedItem, className, onChange: onChangeCheckedItem, orientation = 'horizontal', }) => (jsx("div", { className: style(`flex ${orientationStyleMap[orientation]}`, className), role: "radiogroup", children: items?.map(({ id, text }) => (jsx(Checkbox, { isRadio: true, text: text, value: checkedItem === id, onChange: () => onChangeCheckedItem && onChangeCheckedItem(id) }, String(id)))) })));
|
|
2335
2335
|
|
|
2336
2336
|
const renderBinaryRadioButtonGroup = ({ items, title, mobileTitle = title, orientation = 'horizontal', value, radioGroupClassName, onChange, }) => (jsxs("div", { className: "space-y-s", children: [title ? (jsx("div", { className: "hidden @5xl:block", children: jsx(Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, mobileTitle ? (jsx("div", { className: "@5xl:hidden", children: jsx(Text, { color: "text-secondary-text", font: "font-light", children: mobileTitle }) })) : null, jsx(RadioButtonGroup, { orientation: orientation, items: items, checkedItem: items[value ? 0 : 1].id, className: style('flex-col sm:flex-row', radioGroupClassName), onChange: (_) => onChange && onChange(_ === items[0].id) })] }));
|
|
2337
2337
|
|
|
@@ -2613,9 +2613,14 @@
|
|
|
2613
2613
|
const calculatorParams = getDepositCalculatorParams(userInputParams, calcSource, paramsViewSettings);
|
|
2614
2614
|
const { defaultMonth, rate, income, finalSum } = calculatorParams;
|
|
2615
2615
|
const { onChange: setMonthsValue } = field('monthsValue');
|
|
2616
|
+
const { onChange: setMoneyValue } = field('moneyValue');
|
|
2616
2617
|
useEffect(() => {
|
|
2617
2618
|
!userInputParams.monthsValue && setMonthsValue && setMonthsValue(defaultMonth);
|
|
2618
2619
|
}, [defaultMonth]);
|
|
2620
|
+
useEffect(() => {
|
|
2621
|
+
setMoneyValue &&
|
|
2622
|
+
setMoneyValue(clamp(userInputParams.moneyValue, calculatorParams.minSum, calculatorParams.maxSum));
|
|
2623
|
+
}, [calculatorParams.minSum, calculatorParams.maxSum]);
|
|
2619
2624
|
return (jsx(CalculatorFormLayout, { className: className, inputChildren: jsxs("div", { children: [renderWantedSumInput({
|
|
2620
2625
|
title: 'Сумма, ₽',
|
|
2621
2626
|
min: calculatorParams.minSum,
|
|
@@ -2921,7 +2926,7 @@
|
|
|
2921
2926
|
}
|
|
2922
2927
|
}, [onIntersection, idx]);
|
|
2923
2928
|
const ref = useIntersectionObserver(observerCallback, observerOptions);
|
|
2924
|
-
return (jsx("div", { className: style('inline-block snap-always box-border', className), style: inlineStyle, "aria-current": Boolean(idx === activeIndex), ref: ref, children: children }));
|
|
2929
|
+
return (jsx("div", { className: style('inline-block snap-always box-border', className), style: inlineStyle, "aria-current": Boolean(idx === activeIndex), ref: ref, role: "listitem", children: children }));
|
|
2925
2930
|
});
|
|
2926
2931
|
|
|
2927
2932
|
const childStyleMap = ['min-w-full', '@lg:min-w-[50%]', '@lg:min-w-[33.3%]', '@lg:min-w-[25%]'];
|
|
@@ -2946,7 +2951,7 @@
|
|
|
2946
2951
|
...(isVerticalList ? getContainerHeight(minHeight) : {}),
|
|
2947
2952
|
gap: `${gap}px`,
|
|
2948
2953
|
};
|
|
2949
|
-
return (jsx("div", { className: style('box-border overflow-auto no-scrollbar', listType, className), style: containerStyle, ref: containerRef, children: mapChildren((child, idx) => (jsx(SwipeListItem, { className: style(snapAlign, visibleItemCount ? childStyleMap[visibleItemCount - 1] : '', isVerticalList ? 'h-full' : '', itemClassName), style: isHorizontalList ? getContainerOffset(padding / 4) : {}, activeIndex: activeIndex, idx: idx, observerOptions: observerOptions, onIntersection: handleIntersection, children: child }, String(idx))))(children) }));
|
|
2954
|
+
return (jsx("div", { className: style('box-border overflow-auto no-scrollbar', listType, className), style: containerStyle, ref: containerRef, role: "list", children: mapChildren((child, idx) => (jsx(SwipeListItem, { className: style(snapAlign, visibleItemCount ? childStyleMap[visibleItemCount - 1] : '', isVerticalList ? 'h-full' : '', itemClassName), style: isHorizontalList ? getContainerOffset(padding / 4) : {}, activeIndex: activeIndex, idx: idx, observerOptions: observerOptions, onIntersection: handleIntersection, children: child }, String(idx))))(children) }));
|
|
2950
2955
|
});
|
|
2951
2956
|
// Styles used to compensate outer container padding to get rid of clipping effect
|
|
2952
2957
|
const getContainerOffset = (padding, additionalPadding = 0) => ({
|
|
@@ -3175,7 +3180,7 @@
|
|
|
3175
3180
|
white: 'bg-white',
|
|
3176
3181
|
};
|
|
3177
3182
|
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 }), 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] }) })));
|
|
3178
|
-
const renderColorOption = (color, i) => (jsx("
|
|
3183
|
+
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)));
|
|
3179
3184
|
|
|
3180
3185
|
const LINK_CLASS_NAME = `absolute border
|
|
3181
3186
|
bg-white flex justify-between group-hover/link:text-primary-main`;
|
|
@@ -3202,7 +3207,7 @@
|
|
|
3202
3207
|
const link = useLink({ isRemote });
|
|
3203
3208
|
const linkProps = link({ href, target });
|
|
3204
3209
|
const Tag = href ? 'a' : 'div';
|
|
3205
|
-
return (jsx(Tag, { className: style('block', className), ...(href ? linkProps : {}), children: children }));
|
|
3210
|
+
return (jsx(Tag, { className: style('block', className), ...(href ? linkProps : {}), role: href ? 'link' : 'none', children: children }));
|
|
3206
3211
|
});
|
|
3207
3212
|
|
|
3208
3213
|
const ICONS_MAP = [
|
|
@@ -3279,7 +3284,7 @@
|
|
|
3279
3284
|
}, []);
|
|
3280
3285
|
const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
|
|
3281
3286
|
const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
|
|
3282
|
-
return isFoldButtonOnTop ? (jsxs("div", { className: className, children: [buttonNode, sectionNode] })) : (jsxs("div", { className: className, children: [sectionNode, buttonNode] }));
|
|
3287
|
+
return isFoldButtonOnTop ? (jsxs("div", { className: className, role: "group", children: [buttonNode, sectionNode] })) : (jsxs("div", { className: className, role: "group", children: [sectionNode, buttonNode] }));
|
|
3283
3288
|
});
|
|
3284
3289
|
|
|
3285
3290
|
function useResizeObserver(callback, deps) {
|
|
@@ -3324,7 +3329,7 @@
|
|
|
3324
3329
|
: [cellsNode, []];
|
|
3325
3330
|
return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [isIcon(icon) ? (jsx("div", { className: "self-center", children: jsx(Img, { image: icon }) })) : null, title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button?.text ? jsx(LinkButton, { className: "w-full mt-m mb-lg", ...button }) : null, hiddenCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$2 : null })) : (jsx("div", { children: visibleCells }))] }));
|
|
3326
3331
|
});
|
|
3327
|
-
const renderFoldButton$2 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
|
|
3332
|
+
const renderFoldButton$2 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center", onClick: onToggle, type: "button", children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
|
|
3328
3333
|
|
|
3329
3334
|
const gradientStyle = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
|
|
3330
3335
|
const borderStyle = 'border-gray border-solid border';
|
|
@@ -3393,7 +3398,7 @@
|
|
|
3393
3398
|
? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
|
|
3394
3399
|
: null] }));
|
|
3395
3400
|
});
|
|
3396
|
-
const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-6xl", children: jsxs("div", { className: "flex gap-m w-full", children: [jsx("div", { className: firstCellStyle$1 }), jsx("button", { onClick: onClick, className: "py-xs flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx(Text, { size: "text-xs", font: "font-medium", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
|
|
3401
|
+
const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-6xl", children: jsxs("div", { className: "flex gap-m w-full", children: [jsx("div", { className: firstCellStyle$1 }), jsx("button", { type: "button", onClick: onClick, className: "py-xs flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx(Text, { size: "text-xs", font: "font-medium", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
|
|
3397
3402
|
|
|
3398
3403
|
const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-6xl", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
|
|
3399
3404
|
const renderBlocks = (info) => (jsx("div", { className: "flex gap-5xl grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
|
|
@@ -3401,12 +3406,12 @@
|
|
|
3401
3406
|
|
|
3402
3407
|
const isOdd = (n) => n % 2 !== 0;
|
|
3403
3408
|
|
|
3404
|
-
const TextWithIcon = JSX(({ textNode, iconNode, tag, onClick, justifyContent = 'between', className, ...rest }) => {
|
|
3409
|
+
const TextWithIcon = JSX(({ textNode, iconNode, tag, onClick, justifyContent = 'between', className, role, ...rest }) => {
|
|
3405
3410
|
const Tag = tag;
|
|
3406
|
-
return (jsxs(Tag, { tag: tag, className: style('flex items-center w-full gap-1', justifyContent === 'between' ? 'justify-between' : 'justify-center', className), onClick: onClick, ...rest, children: [textNode ? jsx("div", { children: textNode }) : null, iconNode ? jsx("div", { children: iconNode }) : null] }));
|
|
3411
|
+
return (jsxs(Tag, { tag: tag, className: style('flex items-center w-full gap-1', justifyContent === 'between' ? 'justify-between' : 'justify-center', className), onClick: onClick, role: role, ...rest, children: [textNode ? jsx("div", { children: textNode }) : null, iconNode ? jsx("div", { children: iconNode }) : null] }));
|
|
3407
3412
|
});
|
|
3408
3413
|
|
|
3409
|
-
const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => (jsx(TextWithIcon, { tag: "button", onClick: onClick, disabled: disabled, "data-theme": dataTheme, justifyContent: "center", className: style('py-4 border border-transparent outline-none focus:border-primary-text space-x-s', disabled
|
|
3414
|
+
const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => (jsx(TextWithIcon, { tag: "button", onClick: onClick, disabled: disabled, "data-theme": dataTheme, justifyContent: "center", role: "button", className: style('py-4 border border-transparent outline-none focus:border-primary-text space-x-s', disabled
|
|
3410
3415
|
? 'bg-main-divider text-main-disabled hover:bg-main-divider'
|
|
3411
3416
|
: 'bg-primary-main text-white hover:bg-primary-hove', className), textNode: jsx(Text, { size: "text-h4", children: label }), iconNode: icon ? (jsx(Img, { image: {
|
|
3412
3417
|
icon,
|
|
@@ -3484,7 +3489,7 @@
|
|
|
3484
3489
|
return items.map((item) => (jsx(SlideCheckbox, { text: item?.title, value: [value].flatMap((_) => _).includes(item.value), onChange: () => handleChange(item.value), type: multiple ? 'checkbox' : 'radio' }, item.value)));
|
|
3485
3490
|
});
|
|
3486
3491
|
|
|
3487
|
-
const renderFiltrationForm$1 = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset, children: resetButton?.text }) })) : null] }));
|
|
3492
|
+
const renderFiltrationForm$1 = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { type: "reset", className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset, children: resetButton?.text }) })) : null] }));
|
|
3488
3493
|
const renderFormItem = (field) => ([key, item]) => {
|
|
3489
3494
|
const type = item?.type;
|
|
3490
3495
|
switch (type) {
|
|
@@ -3626,7 +3631,7 @@
|
|
|
3626
3631
|
return (jsxs("div", { className: style('font-sans 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 outline-none box-border border border-solid rounded-md', 'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: placeholder, autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
|
|
3627
3632
|
});
|
|
3628
3633
|
|
|
3629
|
-
const DepositoryFilter = JSX(({ field, onClearFilter, filtrationState }) => (jsxs("div", { className: "grid grid-cols-12 mb-3xl space-x-xl", children: [jsx(SearchInput, { className: "col-span-4 mt-auto", placeholder: "\u041F\u043E\u0438\u0441\u043A", ...field('query') }), jsx(DatePicker, { className: "col-span-3", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u043E\u0442", maxDate: filtrationState.endDate, ...field('startDate') }), jsx(DatePicker, { className: "col-span-3", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u0434\u043E", minDate: filtrationState.startDate, ...field('endDate') }), jsx("div", { className: "col-span-2 mt-auto", children: jsx(Button, { className: "w-full", version: "secondary", onClick: onClearFilter, children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C" }) })] })));
|
|
3634
|
+
const DepositoryFilter = JSX(({ field, onClearFilter, filtrationState }) => (jsxs("div", { className: "grid grid-cols-12 mb-3xl space-x-xl", children: [jsx(SearchInput, { className: "col-span-4 mt-auto", placeholder: "\u041F\u043E\u0438\u0441\u043A", ...field('query') }), jsx(DatePicker, { className: "col-span-3", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u043E\u0442", maxDate: filtrationState.endDate, ...field('startDate') }), jsx(DatePicker, { className: "col-span-3", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u0434\u043E", minDate: filtrationState.startDate, ...field('endDate') }), jsx("div", { className: "col-span-2 mt-auto", children: jsx(Button, { type: "reset", className: "w-full", version: "secondary", onClick: onClearFilter, children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C" }) })] })));
|
|
3630
3635
|
|
|
3631
3636
|
const DepositoryItem = ({ title, timestamp, publicId }) => {
|
|
3632
3637
|
const link = useLink({ basePath: '/' });
|
|
@@ -3907,7 +3912,7 @@
|
|
|
3907
3912
|
? children ?? (jsx("div", { className: "ml-s", children: jsx(Text, { font: "font-medium", color: TEXT_COLOR[bgColor], size: logoTitleSizeStyle, children: logo?.title ?? 'Россельхозбанк' }) }))
|
|
3908
3913
|
: null] })));
|
|
3909
3914
|
|
|
3910
|
-
const CloseButton = JSX(({ className, onClose }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-2xs bg-transparent border-none', className), onClick: onClose, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
|
|
3915
|
+
const CloseButton = JSX(({ className, onClose }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-2xs bg-transparent border-none', className), onClick: onClose, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", type: "button", children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
|
|
3911
3916
|
|
|
3912
3917
|
function useDebouncedEffect(effect, deps, delay = 300) {
|
|
3913
3918
|
useEffect(() => {
|
|
@@ -4060,7 +4065,7 @@
|
|
|
4060
4065
|
close();
|
|
4061
4066
|
onClose && onClose();
|
|
4062
4067
|
}, [onClose]);
|
|
4063
|
-
return (jsxs("div", { className: style('relative min-h-full bg-white pt-0 p-5', className), children: [jsxs("div", { className: "sticky py-xl top-0 bg-white z-10", children: [jsx(CloseButton, { className: "absolute top-0 right-0", onClose: handleClose }), jsx("div", { className: "container", children: head })] }), jsx("div", { className: "container pb-6xl", children: children })] }));
|
|
4068
|
+
return (jsxs("div", { className: style('relative min-h-full bg-white pt-0 p-5', className), role: "dialog", children: [jsxs("div", { className: "sticky py-xl top-0 bg-white z-10", children: [jsx(CloseButton, { className: "absolute top-0 right-0", onClose: handleClose }), jsx("div", { className: "container", children: head })] }), jsx("div", { className: "container pb-6xl", children: children })] }));
|
|
4064
4069
|
});
|
|
4065
4070
|
|
|
4066
4071
|
const Sitemap = JSX(({ className, topItems }) => {
|
|
@@ -4115,7 +4120,7 @@
|
|
|
4115
4120
|
searchDialog.open({ initialQuery: _ }, { onClose: resetQueryOnDialogClose });
|
|
4116
4121
|
}
|
|
4117
4122
|
}, [resetQueryOnDialogClose, searchDialog]);
|
|
4118
|
-
return (jsxs("div", { className: style('relative', className), children: [jsx(SearchInput, { value: value, onChange: handleInitialInputChange }), jsx(CloseButton, { className: "absolute top-0 right-0 sm:hidden", onClose: resetQueryOnDialogClose })] }));
|
|
4123
|
+
return (jsxs("div", { className: style('relative', className), role: "search", children: [jsx(SearchInput, { value: value, onChange: handleInitialInputChange }), jsx(CloseButton, { className: "absolute top-0 right-0 sm:hidden", onClose: resetQueryOnDialogClose })] }));
|
|
4119
4124
|
});
|
|
4120
4125
|
const isQueryLongEnough = (_) => _ && _.length >= MIN_QUERY_LEN;
|
|
4121
4126
|
|
|
@@ -4232,7 +4237,7 @@
|
|
|
4232
4237
|
|
|
4233
4238
|
const renderRegion = (onChangeLocation) => (region) => (jsx("div", { className: "mb-xs sm:mb-2xs", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
|
|
4234
4239
|
onChangeLocation && onChangeLocation(region);
|
|
4235
|
-
}, children: jsx(Text, { size: "text-l", font: "font-light", children: region.name || '' }) }) }, region.id));
|
|
4240
|
+
}, type: "button", children: jsx(Text, { size: "text-l", font: "font-light", children: region.name || '' }) }) }, region.id));
|
|
4236
4241
|
|
|
4237
4242
|
const renderRegionGroup = (onChangeLocation) => ([letter, regions]) => (jsxs("div", { className: "break-inside-avoid mb-2xl w-56", children: [jsx("div", { className: "mb-s", children: jsx(Text, { size: "text-h6", children: letter }) }), regions.map(renderRegion(onChangeLocation))] }, letter));
|
|
4238
4243
|
|
|
@@ -4252,7 +4257,7 @@
|
|
|
4252
4257
|
selectCurrentLocation(region);
|
|
4253
4258
|
close();
|
|
4254
4259
|
}, []);
|
|
4255
|
-
return (jsxs(Dialog, { className: "pb-20", head: jsxs("div", { children: [jsx(Text, { size: "text-h4", color: "text-primary-text", children: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B" }), currentLocation ? (jsxs("div", { className: "mb-s", children: [jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), jsx("button", { onClick: () => selectCurrentLocation(currentLocation), children: jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null, jsx(SearchBar, { onSearch: setQuery, searchTerm: query })] }), children: [query && query.length >= SEARCH_TERM_MIN_LENGTH ? (jsx("div", { children: regions
|
|
4260
|
+
return (jsxs(Dialog, { className: "pb-20", head: jsxs("div", { children: [jsx(Text, { size: "text-h4", color: "text-primary-text", children: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B" }), currentLocation ? (jsxs("div", { className: "mb-s", children: [jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), jsx("button", { type: "button", onClick: () => selectCurrentLocation(currentLocation), children: jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null, jsx(SearchBar, { onSearch: setQuery, searchTerm: query })] }), children: [query && query.length >= SEARCH_TERM_MIN_LENGTH ? (jsx("div", { children: regions
|
|
4256
4261
|
.filter(({ name }) => name && jaroWinklerDistance(name.toLowerCase())(query.toLowerCase()) >= 0.8)
|
|
4257
4262
|
.map(renderRegion(handleChangeLocation)) })) : (jsx("div", { className: "columns-1 sm:columns-5", children: Array.from(regionsGroupByLetter.entries()).map(renderRegionGroup(handleChangeLocation)) })), renderForeignOffices(foreignOffices)] }));
|
|
4258
4263
|
});
|
|
@@ -4283,7 +4288,7 @@
|
|
|
4283
4288
|
const [currentLocation] = useLocation(rest.defaultLocation);
|
|
4284
4289
|
const searchDialog = useSearchDialog(rest);
|
|
4285
4290
|
const locationDialog = useLocationDialog(rest);
|
|
4286
|
-
return (jsxs("div", { className: style('flex items-center gap-lg', className), children: [jsx(TopItem, { flat: true, href: "#", text: currentLocation?.name, onClick: () => locationDialog.open() }), rest.officesLink ? (jsx(TopItem, { flat: true, href: rest.officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B" })) : null, jsx(HeaderSecondaryMenuButton, { image: { icon: 'LoupeIcon', iconVersion }, ariaLabel: "\u041F\u043E\u0438\u0441\u043A", onClick: () => searchDialog.open() })] }));
|
|
4291
|
+
return (jsxs("div", { className: style('flex items-center gap-lg', className), role: "navigation", children: [jsx(TopItem, { flat: true, href: "#", text: currentLocation?.name, onClick: () => locationDialog.open() }), rest.officesLink ? (jsx(TopItem, { flat: true, href: rest.officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B" })) : null, jsx(HeaderSecondaryMenuButton, { image: { icon: 'LoupeIcon', iconVersion }, ariaLabel: "\u041F\u043E\u0438\u0441\u043A", onClick: () => searchDialog.open() })] }));
|
|
4287
4292
|
});
|
|
4288
4293
|
|
|
4289
4294
|
const DropdownMenu = JSX(({ className = '', items, activeItem }) => {
|
|
@@ -4292,12 +4297,12 @@
|
|
|
4292
4297
|
const handleToggle = useCallback(() => setVisible((_) => !_), []);
|
|
4293
4298
|
const handleClickOutside = useCallback(() => setVisible(false), []);
|
|
4294
4299
|
const ref = useOutsideClick(handleClickOutside);
|
|
4295
|
-
return (jsxs("div", { className: style(visible ? 'bg-white rounded-md shadow-blue-gray' : '', className), ref: ref, children: [jsx("button", { className: "group/btn flex justify-between items-center h-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3)
|
|
4300
|
+
return (jsxs("div", { className: style(visible ? 'bg-white rounded-md shadow-blue-gray' : '', className), ref: ref, role: "navigation", children: [jsx("button", { type: "button", className: "group/btn flex justify-between items-center h-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3)
|
|
4296
4301
|
.fill(null)
|
|
4297
4302
|
.map((_, i) => (jsx("div", { className: "w-[3px] h-[3px] rounded mr-2xs bg-primary-text group-hover/btn:bg-primary-hover group-data-transparent:bg-white" }, String(i)))) }), jsx("div", { className: style('absolute flex flex-col rounded-md bg-white p-xl pb-xs w-56', visible ? '' : 'hidden'), "aria-hidden": !visible, children: items?.map((item, i) => {
|
|
4298
4303
|
const { text, ...linkProps } = item;
|
|
4299
4304
|
const { href, target, onClick } = link(linkProps);
|
|
4300
|
-
return (jsx("a", { className: style('text-l font-light pb-m hover:text-primary-main', item === activeItem ? 'text-primary-main' : ''), href: href, target: target, onClick: onClick, children: text }, href || String(i)));
|
|
4305
|
+
return (jsx("a", { className: style('text-l font-light pb-m hover:text-primary-main', item === activeItem ? 'text-primary-main' : ''), href: href, target: target, onClick: onClick, role: "menuitem", children: text }, href || String(i)));
|
|
4301
4306
|
}) })] }));
|
|
4302
4307
|
});
|
|
4303
4308
|
|
|
@@ -4380,7 +4385,7 @@
|
|
|
4380
4385
|
onVisibilityChange(entry.isIntersecting);
|
|
4381
4386
|
}, [onVisibilityChange]);
|
|
4382
4387
|
const ref = useIntersectionObserver(observerCallback, observerOptions);
|
|
4383
|
-
return (jsx("span", { ref: ref, className: className, children: jsx(HeaderItem, { ...rest, children: children }) }));
|
|
4388
|
+
return (jsx("span", { ref: ref, className: className, role: "menuitem", children: jsx(HeaderItem, { ...rest, children: children }) }));
|
|
4384
4389
|
});
|
|
4385
4390
|
|
|
4386
4391
|
const BUTTON_STYLE = {
|
|
@@ -4404,7 +4409,7 @@
|
|
|
4404
4409
|
? handleIntersectionActivation(index)
|
|
4405
4410
|
: handleIntersectionDeactivation(index));
|
|
4406
4411
|
}), [visibleSubItems]);
|
|
4407
|
-
return (jsxs("nav", { className: "relative mt-s flex items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-s mt-xs space-x-3xl", children: visibleSubItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "relative w-auto z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null, jsxs("div", { className: "flex", children: [projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { className: "ml-4xl", iconVersion: iconVersion, chat: projectSettings.CHAT_BOT })) : null, jsx(InternetBankButton, { version: version, internetBankUrl: internetBankUrl })] })] }));
|
|
4412
|
+
return (jsxs("nav", { className: "relative mt-s flex items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-s mt-xs space-x-3xl", role: "menu", children: visibleSubItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "relative w-auto z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null, jsxs("div", { className: "flex", children: [projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { className: "ml-4xl", iconVersion: iconVersion, chat: projectSettings.CHAT_BOT })) : null, jsx(InternetBankButton, { version: version, internetBankUrl: internetBankUrl })] })] }));
|
|
4408
4413
|
});
|
|
4409
4414
|
const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
|
|
4410
4415
|
const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
|
|
@@ -4570,7 +4575,7 @@
|
|
|
4570
4575
|
const prefix = fileSize && fileFormat ? ',' : '';
|
|
4571
4576
|
const size = fileSize ?? '';
|
|
4572
4577
|
const format = fileFormat ? String(fileFormat) : '';
|
|
4573
|
-
return (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main",
|
|
4578
|
+
return (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", href: href, target: target, children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, " ", addSpace(size, format), jsx(Text, { color: "text-secondary-text", children: href && `${size + prefix + format}` })] })) : null] }));
|
|
4574
4579
|
});
|
|
4575
4580
|
const addSpace = (size, format) => (size || format ? jsx("span", { children: ",\u00A0" }) : '');
|
|
4576
4581
|
|
|
@@ -4622,7 +4627,7 @@
|
|
|
4622
4627
|
secondary: 'text-secondary-text',
|
|
4623
4628
|
};
|
|
4624
4629
|
const Badge$1 = JSX(({ count, version = 'secondary' }) => {
|
|
4625
|
-
return (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyleMap[version]), children: jsx(Text, { size: "text-xs", color: badgeTextColorStyleMap[version], children: count }) }));
|
|
4630
|
+
return (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyleMap[version]), role: "status", children: jsx(Text, { size: "text-xs", color: badgeTextColorStyleMap[version], children: count }) }));
|
|
4626
4631
|
});
|
|
4627
4632
|
|
|
4628
4633
|
const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) => targetMatchPattern(filter, content)).length;
|
|
@@ -4924,7 +4929,7 @@
|
|
|
4924
4929
|
|
|
4925
4930
|
const ICONS = ['ArrowDownIcon', 'ArrowUpIcon'];
|
|
4926
4931
|
const labels = ['Подробнее', 'Скрыть'];
|
|
4927
|
-
const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full py-2xl cursor-pointer text-primary-main flex items-center border-b border-solid border-main-divider", onClick: onToggle, children: [jsx("div", { className: "pr-m", children: labels[Number(isUnfolded)] }), jsx(Icon, { className: "text-primary-text", name: ICONS[Number(isUnfolded)], width: "16", height: "16" })] }));
|
|
4932
|
+
const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full py-2xl cursor-pointer text-primary-main flex items-center border-b border-solid border-main-divider", onClick: onToggle, type: "button", children: [jsx("div", { className: "pr-m", children: labels[Number(isUnfolded)] }), jsx(Icon, { className: "text-primary-text", name: ICONS[Number(isUnfolded)], width: "16", height: "16" })] }));
|
|
4928
4933
|
|
|
4929
4934
|
const renderAtmCard = ({ location, address, billAcceptorType, terminalType, billAcceptorEnable, atmCode = '', atmAccess = '', workTime, }, index) => {
|
|
4930
4935
|
const additionalInfo = [
|
|
@@ -5224,7 +5229,7 @@
|
|
|
5224
5229
|
|
|
5225
5230
|
const RollupItem = UniBlock(({ className = '', isExpanded, isFoldButtonOnTop = true, label = 'Развернуть', labelIcon, labelIconBgVersion, foldButtonVersion = 'default',
|
|
5226
5231
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5227
|
-
version, ...rest }) => (jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), defaultPadding: "p-0", tag: "div", version: "transparent", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: style('gap-lg', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren({
|
|
5232
|
+
version, role, ...rest }) => (jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), defaultPadding: "p-0", tag: "div", version: "transparent", role: role, ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: style('gap-lg', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren({
|
|
5228
5233
|
...rest,
|
|
5229
5234
|
extraProps: { className: 'w-full', padding: 'p-0' },
|
|
5230
5235
|
}) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({
|
|
@@ -5246,7 +5251,7 @@
|
|
|
5246
5251
|
const RadioButtons = JSX(({ className = '' }) => {
|
|
5247
5252
|
const [selectedOption, setSelectedOption] = useState('option2');
|
|
5248
5253
|
const onChange = useCallback((_) => setSelectedOption(_), []);
|
|
5249
|
-
return (jsxs("div", { className: style('order-4', className), children: [jsx(Radio, { className: "mb-xs", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selectedOption === 'option1', onChange: onChange }), jsx(Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selectedOption === 'option2', onChange: onChange })] }));
|
|
5254
|
+
return (jsxs("div", { className: style('order-4', className), role: "radiogroup", children: [jsx(Radio, { className: "mb-xs", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selectedOption === 'option1', onChange: onChange }), jsx(Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selectedOption === 'option2', onChange: onChange })] }));
|
|
5250
5255
|
});
|
|
5251
5256
|
|
|
5252
5257
|
const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
|
|
@@ -5853,7 +5858,7 @@
|
|
|
5853
5858
|
globalThis.localStorage?.setItem(COOKIE_DIALOG_ID, 'true');
|
|
5854
5859
|
close();
|
|
5855
5860
|
}, []);
|
|
5856
|
-
return opened ? (jsx("div", { className: "container fixed left-0 right-0 bottom-0 z-50", children: jsxs("div", { className: "bg-white m-xl p-xl rounded-md flex sm:items-center shadow-main-black", children: [jsx("div", { className: "sm:flex-1", children: jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(termLink?.href), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(personalDataPolicyLink?.href), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB."] }) }), jsx("div", { className: "ml-s sm:ml-0 w-24 flex justify-end", children: jsx(CloseButton, { className: "bg-main-gray rounded-md", onClose: handleClose }) })] }) })) : null;
|
|
5861
|
+
return opened ? (jsx("div", { className: "container fixed left-0 right-0 bottom-0 z-50", role: "dialog", children: jsxs("div", { className: "bg-white m-xl p-xl rounded-md flex sm:items-center shadow-main-black", children: [jsx("div", { className: "sm:flex-1", children: jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(termLink?.href), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(personalDataPolicyLink?.href), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB."] }) }), jsx("div", { className: "ml-s sm:ml-0 w-24 flex justify-end", children: jsx(CloseButton, { className: "bg-main-gray rounded-md", onClose: handleClose }) })] }) })) : null;
|
|
5857
5862
|
});
|
|
5858
5863
|
const linkWrapperStyle = (href) => style('inline mx-2xs', href ? 'text-green-dark' : '');
|
|
5859
5864
|
|
|
@@ -5989,7 +5994,7 @@
|
|
|
5989
5994
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
5990
5995
|
});
|
|
5991
5996
|
|
|
5992
|
-
const packageVersion = "0.14.
|
|
5997
|
+
const packageVersion = "0.14.186";
|
|
5993
5998
|
|
|
5994
5999
|
exports.Blocks = Blocks;
|
|
5995
6000
|
exports.ContentPage = ContentPage;
|