@redneckz/wildless-cms-uni-blocks 0.16.3-isr → 0.16.4-credit

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3840) hide show
  1. package/bin/migration-scripts/0.14.832.js +24 -0
  2. package/bin/migration-scripts/0.14.850.js +70 -0
  3. package/bundle/UniBlock/UniBlockProps.d.ts +2 -2
  4. package/bundle/blocks.schema.json +1 -1
  5. package/bundle/bundle.umd.js +924 -1534
  6. package/bundle/bundle.umd.min.js +1 -1
  7. package/bundle/components/ApplicationForm/Footnote.d.ts +1 -1
  8. package/bundle/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  9. package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  10. package/bundle/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  11. package/bundle/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  12. package/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
  13. package/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  14. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  15. package/bundle/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  16. package/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  17. package/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  18. package/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  19. package/bundle/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  20. package/bundle/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  21. package/bundle/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  22. package/bundle/components/Carousel/renderCardHighlight.d.ts +3 -4
  23. package/bundle/components/ContentPage/ContentPage.d.ts +2 -2
  24. package/bundle/components/DebitForm/DebitFormStatus.d.ts +2 -4
  25. package/bundle/components/Footer/Contacts.d.ts +2 -2
  26. package/bundle/components/Footer/FooterLink.d.ts +2 -2
  27. package/bundle/components/Footer/LinkList.d.ts +2 -2
  28. package/bundle/components/Footer/SocialMedia.d.ts +2 -2
  29. package/bundle/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  30. package/bundle/components/GalleryLayout/utils.d.ts +29 -0
  31. package/bundle/components/Header/DropdownMenu.d.ts +2 -2
  32. package/bundle/components/Header/HeaderChatBotButton.d.ts +2 -3
  33. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  34. package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  35. package/bundle/components/Header/HeaderSubMenuItem.d.ts +2 -2
  36. package/bundle/components/Header/HeaderTopMenu.d.ts +2 -2
  37. package/bundle/components/Header/HeaderTopMenuItem.d.ts +2 -2
  38. package/bundle/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  39. package/bundle/components/OfficesAtmsMap/Badge.d.ts +2 -2
  40. package/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  41. package/bundle/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  42. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
  43. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  44. package/bundle/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  45. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  46. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  47. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  48. package/bundle/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  49. package/bundle/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  50. package/bundle/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  51. package/bundle/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  52. package/bundle/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  53. package/bundle/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  54. package/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
  55. package/bundle/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  56. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  57. package/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  58. package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  59. package/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  60. package/bundle/components/TariffsTable/renderCell.d.ts +2 -0
  61. package/bundle/components/TariffsTable/renderHeader.d.ts +2 -0
  62. package/bundle/data/CommonData.d.ts +4 -4
  63. package/bundle/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  64. package/bundle/hooks/useAspects/handleAspects.d.ts +1 -1
  65. package/bundle/hooks/useAspects/useAspects.d.ts +1 -1
  66. package/bundle/hooks/useForm/useForm.d.ts +1 -1
  67. package/bundle/model/CommonInputProps.d.ts +7 -0
  68. package/bundle/model/ComponentType.d.ts +4 -0
  69. package/bundle/model/ContentPageBase.d.ts +2 -3
  70. package/bundle/model/DefaultControlType.d.ts +5 -5
  71. package/bundle/model/DisabledProps.d.ts +3 -0
  72. package/bundle/model/LinkProps.d.ts +1 -1
  73. package/bundle/model/OnClickProps.d.ts +3 -0
  74. package/bundle/model/OnCloseProps.d.ts +3 -0
  75. package/bundle/model/Picture.d.ts +2 -2
  76. package/bundle/model/PlaceholderProps.d.ts +3 -0
  77. package/bundle/model/onClick.d.ts +3 -0
  78. package/bundle/model/onClose.d.ts +3 -0
  79. package/bundle/retail/api/getCardTypes.d.ts +2 -2
  80. package/bundle/retail/api/updateUserTask.d.ts +1 -1
  81. package/bundle/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  82. package/bundle/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  83. package/bundle/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  84. package/bundle/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  85. package/bundle/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  86. package/bundle/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  87. package/bundle/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  88. package/bundle/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  89. package/bundle/retail/components/Fields/SelectField.d.ts +4 -4
  90. package/bundle/retail/components/FormStatus/FormStatus.d.ts +2 -4
  91. package/bundle/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  92. package/bundle/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  93. package/bundle/retail/content.d.ts +2 -8
  94. package/bundle/retail/inputs.d.ts +1 -1
  95. package/bundle/retail/model/LeadFormData.d.ts +2 -2
  96. package/bundle/retail/model/LeadFormState.d.ts +4 -2
  97. package/bundle/retail/model/NameFieldDef.d.ts +1 -1
  98. package/bundle/retail/model/RetailFormContent.d.ts +2 -2
  99. package/bundle/retail/utils/getMainFormStateMap.d.ts +2 -0
  100. package/bundle/retail/utils/getOrganizationParams.d.ts +1 -1
  101. package/bundle/retail/validator/validators.d.ts +1 -0
  102. package/bundle/services/search/search.d.ts +2 -2
  103. package/bundle/services/search/textRank.d.ts +1 -1
  104. package/bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  105. package/bundle/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  106. package/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  107. package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  108. package/bundle/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  109. package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  110. package/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  111. package/bundle/ui-kit/Button/Button.d.ts +3 -3
  112. package/bundle/ui-kit/Button/ButtonTitle.d.ts +2 -5
  113. package/bundle/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  114. package/bundle/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  115. package/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  116. package/bundle/ui-kit/Calculator/renderRate.d.ts +2 -2
  117. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  118. package/bundle/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  119. package/bundle/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  120. package/bundle/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  121. package/bundle/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  122. package/bundle/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  123. package/bundle/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  124. package/bundle/ui-kit/DialogManager/Dialog.d.ts +3 -3
  125. package/bundle/ui-kit/DialogManager/useDialog.d.ts +2 -3
  126. package/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  127. package/bundle/ui-kit/Foldable/Foldable.d.ts +2 -2
  128. package/bundle/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  129. package/bundle/ui-kit/Heading/HeadingProps.d.ts +2 -3
  130. package/bundle/ui-kit/Icon/IconProps.d.ts +2 -2
  131. package/bundle/ui-kit/Img/ImgProps.d.ts +2 -2
  132. package/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  133. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  134. package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  135. package/bundle/ui-kit/Input/InputProps.d.ts +4 -2
  136. package/bundle/ui-kit/Input/InputWrapper.d.ts +8 -0
  137. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  138. package/bundle/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  139. package/bundle/ui-kit/Link/Link.d.ts +2 -2
  140. package/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  141. package/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  142. package/bundle/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  143. package/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  144. package/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  145. package/bundle/ui-kit/ListControlProps.d.ts +1 -1
  146. package/bundle/ui-kit/Loader/Loader.d.ts +1 -1
  147. package/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  148. package/bundle/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  149. package/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  150. package/bundle/ui-kit/Radio/RadioProps.d.ts +3 -4
  151. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  152. package/bundle/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  153. package/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  154. package/bundle/ui-kit/SVG.d.ts +2 -2
  155. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  156. package/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  157. package/bundle/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  158. package/bundle/ui-kit/Select/Option.d.ts +1 -1
  159. package/bundle/ui-kit/Select/Select.d.ts +1 -2
  160. package/bundle/ui-kit/Select/SelectPopup.d.ts +2 -3
  161. package/bundle/ui-kit/Select/useSelectPopup.d.ts +2 -2
  162. package/bundle/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  163. package/bundle/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  164. package/bundle/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  165. package/bundle/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  166. package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  167. package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  168. package/bundle/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  169. package/bundle/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  170. package/bundle/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  171. package/bundle/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  172. package/bundle/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  173. package/bundle/ui-kit/Tags/Tags.d.ts +2 -2
  174. package/bundle/ui-kit/TimerCircle/Timer.d.ts +2 -2
  175. package/bundle/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  176. package/bundle/ui-kit/TopItem/TopItem.d.ts +3 -3
  177. package/bundle/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  178. package/dist/UniBlock/UniBlockProps.d.ts +2 -2
  179. package/dist/components/ApplicationForm/Footnote.d.ts +1 -1
  180. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  181. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +5 -10
  182. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  183. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  184. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js +7 -0
  185. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  186. package/dist/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  187. package/dist/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
  188. package/dist/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
  189. package/dist/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  190. package/dist/components/ApplicationLeadForm/applicationFormData.js +0 -1
  191. package/dist/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  192. package/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
  193. package/dist/components/ApplicationLeadForm/consents.js +0 -4
  194. package/dist/components/ApplicationLeadForm/consents.js.map +1 -1
  195. package/dist/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
  196. package/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  197. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +3 -3
  198. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  199. package/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  200. package/dist/components/ApplicationLeadForm/useInitApplicationLead.js +4 -4
  201. package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  202. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  203. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  204. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  205. package/dist/components/Blocks.js +0 -26
  206. package/dist/components/Blocks.js.map +1 -1
  207. package/dist/components/Blocks.mobile.js +0 -20
  208. package/dist/components/Blocks.mobile.js.map +1 -1
  209. package/dist/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  210. package/dist/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
  211. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  212. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  213. package/dist/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  214. package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  215. package/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  216. package/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  217. package/dist/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  218. package/dist/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
  219. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  220. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  221. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  222. package/dist/components/CardTransfer/CardTransfer.js +1 -8
  223. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  224. package/dist/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  225. package/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
  226. package/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  227. package/dist/components/Carousel/renderCardHighlight.d.ts +3 -4
  228. package/dist/components/Carousel/renderCardHighlight.js.map +1 -1
  229. package/dist/components/Carousel/renderCarouselCards.js +2 -2
  230. package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  231. package/dist/components/ContentPage/ContentPage.d.ts +2 -2
  232. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  233. package/dist/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
  234. package/dist/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
  235. package/dist/components/CreditCardForm/creditCardFormStepsData.js +245 -3
  236. package/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
  237. package/dist/components/CreditCardForm/formStateMap.js +2 -2
  238. package/dist/components/CreditCardForm/formStateMap.js.map +1 -1
  239. package/dist/components/CreditForm/CreditForm.js +1 -2
  240. package/dist/components/CreditForm/CreditForm.js.map +1 -1
  241. package/dist/components/CreditForm/SuccessStatusContent.js +1 -1
  242. package/dist/components/CreditForm/SuccessStatusContent.js.map +1 -1
  243. package/dist/components/CreditForm/creditFormStepsData.js +192 -3
  244. package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
  245. package/dist/components/CreditForm/formStateMap.js +2 -2
  246. package/dist/components/CreditForm/formStateMap.js.map +1 -1
  247. package/dist/components/CreditForm/getCalcData.js +1 -1
  248. package/dist/components/CreditForm/getCalcData.js.map +1 -1
  249. package/dist/components/CreditForm/useCreditFormAPI.js +1 -1
  250. package/dist/components/DebitForm/DebitFormStatus.d.ts +2 -4
  251. package/dist/components/DebitForm/DebitFormStatus.js.map +1 -1
  252. package/dist/components/DebitForm/DebitFormStepsData.js +71 -3
  253. package/dist/components/DebitForm/DebitFormStepsData.js.map +1 -1
  254. package/dist/components/Footer/Contacts.d.ts +2 -2
  255. package/dist/components/Footer/Contacts.js.map +1 -1
  256. package/dist/components/Footer/FooterLink.d.ts +2 -2
  257. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  258. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  259. package/dist/components/Footer/LinkList.d.ts +2 -2
  260. package/dist/components/Footer/LinkList.js.map +1 -1
  261. package/dist/components/Footer/SocialMedia.d.ts +2 -2
  262. package/dist/components/Footer/SocialMedia.js.map +1 -1
  263. package/dist/components/Footer/TextInformationLink.js +1 -1
  264. package/dist/components/Footer/TextInformationLink.js.map +1 -1
  265. package/dist/components/GalleryLayout/GalleryLayout.js +13 -28
  266. package/dist/components/GalleryLayout/GalleryLayout.js.map +1 -1
  267. package/dist/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  268. package/dist/components/GalleryLayout/useSortProductBlocks.js +21 -0
  269. package/dist/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
  270. package/dist/components/GalleryLayout/utils.d.ts +29 -0
  271. package/dist/components/GalleryLayout/utils.js +29 -0
  272. package/dist/components/GalleryLayout/utils.js.map +1 -0
  273. package/dist/components/Header/DropdownMenu.d.ts +2 -2
  274. package/dist/components/Header/DropdownMenu.js.map +1 -1
  275. package/dist/components/Header/HeaderChatBotButton.d.ts +2 -3
  276. package/dist/components/Header/HeaderChatBotButton.js +15 -4
  277. package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  278. package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  279. package/dist/components/Header/HeaderSecondaryMenu.js +1 -2
  280. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  281. package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  282. package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  283. package/dist/components/Header/HeaderSubMenu.js +1 -1
  284. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  285. package/dist/components/Header/HeaderSubMenuItem.d.ts +2 -2
  286. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  287. package/dist/components/Header/HeaderTop.js +1 -1
  288. package/dist/components/Header/HeaderTop.js.map +1 -1
  289. package/dist/components/Header/HeaderTopMenu.d.ts +2 -2
  290. package/dist/components/Header/HeaderTopMenu.js +1 -1
  291. package/dist/components/Header/HeaderTopMenu.js.map +1 -1
  292. package/dist/components/Header/HeaderTopMenuItem.d.ts +2 -2
  293. package/dist/components/Header/HeaderTopMenuItem.js.map +1 -1
  294. package/dist/components/Headline/Headline.js +1 -1
  295. package/dist/components/Headline/Headline.js.map +1 -1
  296. package/dist/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  297. package/dist/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
  298. package/dist/components/OfficesAtmsMap/Badge.d.ts +2 -2
  299. package/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
  300. package/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  301. package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
  302. package/dist/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  303. package/dist/components/OfficesAtmsMap/CardRow.js.map +1 -1
  304. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
  305. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  306. package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  307. package/dist/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  308. package/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  309. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  310. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  311. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  312. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  313. package/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  314. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  315. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  316. package/dist/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  317. package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  318. package/dist/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  319. package/dist/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
  320. package/dist/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  321. package/dist/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
  322. package/dist/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  323. package/dist/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
  324. package/dist/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  325. package/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
  326. package/dist/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  327. package/dist/components/TariffsTable/TableCarouselContainer.js +1 -1
  328. package/dist/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  329. package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  330. package/dist/components/TariffsTable/TariffsTable.js +4 -11
  331. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  332. package/dist/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  333. package/dist/components/TariffsTable/TariffsTableCell.js +14 -4
  334. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  335. package/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  336. package/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  337. package/dist/components/TariffsTable/TariffsTableRow.js +6 -10
  338. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  339. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  340. package/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
  341. package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  342. package/dist/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  343. package/dist/components/TariffsTable/TariffsTableWrapper.js +1 -9
  344. package/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  345. package/dist/components/TariffsTable/dataFixture.js +1 -14
  346. package/dist/components/TariffsTable/dataFixture.js.map +1 -1
  347. package/dist/components/TariffsTable/renderCell.d.ts +2 -0
  348. package/dist/components/TariffsTable/renderCell.js +15 -0
  349. package/dist/components/TariffsTable/renderCell.js.map +1 -0
  350. package/dist/components/TariffsTable/renderHeader.d.ts +2 -0
  351. package/dist/components/TariffsTable/renderHeader.js +10 -0
  352. package/dist/components/TariffsTable/renderHeader.js.map +1 -0
  353. package/dist/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  354. package/dist/components/TariffsTable/renderInnerTableCell.js +1 -0
  355. package/dist/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  356. package/dist/data/CommonData.d.ts +4 -4
  357. package/dist/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  358. package/dist/hooks/useAspects/aspects/forwardQuery.js +1 -1
  359. package/dist/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
  360. package/dist/hooks/useAspects/handleAspects.d.ts +1 -1
  361. package/dist/hooks/useAspects/handleAspects.js +5 -2
  362. package/dist/hooks/useAspects/handleAspects.js.map +1 -1
  363. package/dist/hooks/useAspects/useAspects.d.ts +1 -1
  364. package/dist/hooks/useForm/useForm.d.ts +1 -1
  365. package/dist/hooks/useLink.js +2 -1
  366. package/dist/hooks/useLink.js.map +1 -1
  367. package/dist/model/CommonInputProps.d.ts +7 -0
  368. package/dist/model/CommonInputProps.js +2 -0
  369. package/dist/model/CommonInputProps.js.map +1 -0
  370. package/dist/model/ComponentType.d.ts +4 -0
  371. package/dist/model/ComponentType.js +2 -0
  372. package/dist/model/ComponentType.js.map +1 -0
  373. package/dist/model/ContentPageBase.d.ts +2 -3
  374. package/dist/model/ControlProps.js.map +1 -0
  375. package/dist/model/DefaultControlType.d.ts +5 -5
  376. package/dist/model/DisabledProps.d.ts +3 -0
  377. package/dist/model/DisabledProps.js +2 -0
  378. package/dist/model/DisabledProps.js.map +1 -0
  379. package/dist/model/LinkProps.d.ts +1 -1
  380. package/dist/model/OnClickProps.d.ts +3 -0
  381. package/dist/model/OnClickProps.js +2 -0
  382. package/dist/model/OnClickProps.js.map +1 -0
  383. package/dist/model/OnCloseProps.d.ts +3 -0
  384. package/dist/model/OnCloseProps.js +2 -0
  385. package/dist/model/OnCloseProps.js.map +1 -0
  386. package/dist/model/Picture.d.ts +2 -2
  387. package/dist/model/PlaceholderProps.d.ts +3 -0
  388. package/dist/model/PlaceholderProps.js +2 -0
  389. package/dist/model/PlaceholderProps.js.map +1 -0
  390. package/dist/model/onClick.d.ts +3 -0
  391. package/dist/model/onClick.js +2 -0
  392. package/dist/model/onClick.js.map +1 -0
  393. package/dist/model/onClose.d.ts +3 -0
  394. package/dist/model/onClose.js +2 -0
  395. package/dist/model/onClose.js.map +1 -0
  396. package/dist/retail/adaptors/getCreditFormTaskData.js +0 -3
  397. package/dist/retail/adaptors/getCreditFormTaskData.js.map +1 -1
  398. package/dist/retail/adaptors/getEmploymentData.js +3 -3
  399. package/dist/retail/adaptors/getEmploymentData.js.map +1 -1
  400. package/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
  401. package/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  402. package/dist/retail/adaptors/getPersonalInfoData.js +4 -2
  403. package/dist/retail/adaptors/getPersonalInfoData.js.map +1 -1
  404. package/dist/retail/api/getCardTypes.d.ts +2 -2
  405. package/dist/retail/api/getCardTypes.js.map +1 -1
  406. package/dist/retail/api/updateUserTask.d.ts +1 -1
  407. package/dist/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  408. package/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  409. package/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  410. package/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  411. package/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
  412. package/dist/retail/components/DaDataInputControl/DaDataInputControl.js +3 -18
  413. package/dist/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
  414. package/dist/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  415. package/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  416. package/dist/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  417. package/dist/retail/components/DraftDialog/DraftActionButton.js +1 -1
  418. package/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  419. package/dist/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  420. package/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
  421. package/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  422. package/dist/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  423. package/dist/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
  424. package/dist/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  425. package/dist/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
  426. package/dist/retail/components/Fields/BeginDateField.js +1 -1
  427. package/dist/retail/components/Fields/BeginDateField.js.map +1 -1
  428. package/dist/retail/components/Fields/DaDataInnField.js +10 -3
  429. package/dist/retail/components/Fields/DaDataInnField.js.map +1 -1
  430. package/dist/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  431. package/dist/retail/components/Fields/InitiateBankruptcyFlgField.js +7 -0
  432. package/dist/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
  433. package/dist/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
  434. package/dist/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
  435. package/dist/retail/components/Fields/RegionRetailField.js +8 -3
  436. package/dist/retail/components/Fields/RegionRetailField.js.map +1 -1
  437. package/dist/retail/components/Fields/SelectField.d.ts +4 -4
  438. package/dist/retail/components/Fields/SelectField.js.map +1 -1
  439. package/dist/retail/components/FormStatus/FormStatus.d.ts +2 -4
  440. package/dist/retail/components/FormStatus/FormStatus.js.map +1 -1
  441. package/dist/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  442. package/dist/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
  443. package/dist/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
  444. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  445. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  446. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  447. package/dist/retail/content.d.ts +2 -8
  448. package/dist/retail/content.js +3 -351
  449. package/dist/retail/content.js.map +1 -1
  450. package/dist/retail/inputs.d.ts +1 -1
  451. package/dist/retail/inputs.js +2 -1
  452. package/dist/retail/inputs.js.map +1 -1
  453. package/dist/retail/model/LeadFormData.d.ts +2 -2
  454. package/dist/retail/model/LeadFormState.d.ts +4 -2
  455. package/dist/retail/model/NameFieldDef.d.ts +1 -1
  456. package/dist/retail/model/RetailFormContent.d.ts +2 -2
  457. package/dist/retail/utils/calculateInputs.js +2 -0
  458. package/dist/retail/utils/calculateInputs.js.map +1 -1
  459. package/dist/retail/utils/getMainFormStateMap.d.ts +2 -0
  460. package/dist/retail/utils/getMainFormStateMap.js +70 -0
  461. package/dist/retail/utils/getMainFormStateMap.js.map +1 -0
  462. package/dist/retail/utils/getOrganizationParams.d.ts +1 -1
  463. package/dist/retail/utils/getOrganizationParams.js.map +1 -1
  464. package/dist/retail/utils/renderStep.js +7 -1
  465. package/dist/retail/utils/renderStep.js.map +1 -1
  466. package/dist/retail/validator/validatorObj.js +2 -2
  467. package/dist/retail/validator/validatorObj.js.map +1 -1
  468. package/dist/retail/validator/validators.d.ts +1 -0
  469. package/dist/retail/validator/validators.js +3 -1
  470. package/dist/retail/validator/validators.js.map +1 -1
  471. package/dist/services/search/search.d.ts +2 -2
  472. package/dist/services/search/search.js.map +1 -1
  473. package/dist/services/search/textRank.d.ts +1 -1
  474. package/dist/services/search/textRank.js.map +1 -1
  475. package/dist/services/search/useSearch.js +8 -5
  476. package/dist/services/search/useSearch.js.map +1 -1
  477. package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  478. package/dist/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  479. package/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  480. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  481. package/dist/ui-kit/BaseTile/BaseTile.js +1 -1
  482. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  483. package/dist/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  484. package/dist/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
  485. package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  486. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  487. package/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  488. package/dist/ui-kit/Button/Button.d.ts +3 -3
  489. package/dist/ui-kit/Button/Button.js.map +1 -1
  490. package/dist/ui-kit/Button/ButtonTitle.d.ts +2 -5
  491. package/dist/ui-kit/Button/ButtonTitle.js.map +1 -1
  492. package/dist/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  493. package/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
  494. package/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  495. package/dist/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  496. package/dist/ui-kit/Calculator/UnknownRate.js.map +1 -1
  497. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  498. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  499. package/dist/ui-kit/Calculator/renderRate.d.ts +2 -2
  500. package/dist/ui-kit/Calculator/renderRate.js.map +1 -1
  501. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  502. package/dist/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  503. package/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
  504. package/dist/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  505. package/dist/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
  506. package/dist/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  507. package/dist/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  508. package/dist/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  509. package/dist/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
  510. package/dist/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  511. package/dist/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
  512. package/dist/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  513. package/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
  514. package/dist/ui-kit/DialogManager/Dialog.d.ts +3 -3
  515. package/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
  516. package/dist/ui-kit/DialogManager/useDialog.d.ts +2 -3
  517. package/dist/ui-kit/DialogManager/useDialog.js.map +1 -1
  518. package/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  519. package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  520. package/dist/ui-kit/Foldable/Foldable.d.ts +2 -2
  521. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  522. package/dist/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  523. package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
  524. package/dist/ui-kit/FormField/getObjectValidator.js +1 -1
  525. package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  526. package/dist/ui-kit/Heading/HeadingProps.d.ts +2 -3
  527. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  528. package/dist/ui-kit/Icon/IconProps.d.ts +2 -2
  529. package/dist/ui-kit/Img/ImgProps.d.ts +2 -2
  530. package/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  531. package/dist/ui-kit/InnerTable/InnerTable.js +2 -3
  532. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  533. package/dist/ui-kit/InnerTable/InnerTableBody.js +4 -6
  534. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  535. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  536. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  537. package/dist/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  538. package/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  539. package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  540. package/dist/ui-kit/Input/InputControl.js +3 -19
  541. package/dist/ui-kit/Input/InputControl.js.map +1 -1
  542. package/dist/ui-kit/Input/InputProps.d.ts +4 -2
  543. package/dist/ui-kit/Input/InputWrapper.d.ts +8 -0
  544. package/dist/ui-kit/Input/InputWrapper.js +25 -0
  545. package/dist/ui-kit/Input/InputWrapper.js.map +1 -0
  546. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  547. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  548. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  549. package/dist/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  550. package/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  551. package/dist/ui-kit/Link/Link.d.ts +2 -2
  552. package/dist/ui-kit/Link/Link.js.map +1 -1
  553. package/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
  554. package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  555. package/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  556. package/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  557. package/dist/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  558. package/dist/ui-kit/LinkButton/renderArrows.js.map +1 -1
  559. package/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  560. package/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
  561. package/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  562. package/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  563. package/dist/ui-kit/ListControlProps.d.ts +1 -1
  564. package/dist/ui-kit/Loader/Loader.d.ts +1 -1
  565. package/dist/ui-kit/Loader/Loader.js.map +1 -1
  566. package/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  567. package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  568. package/dist/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  569. package/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  570. package/dist/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  571. package/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  572. package/dist/ui-kit/Radio/RadioProps.d.ts +3 -4
  573. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  574. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  575. package/dist/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  576. package/dist/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
  577. package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  578. package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  579. package/dist/ui-kit/SVG.d.ts +2 -2
  580. package/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  581. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  582. package/dist/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  583. package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  584. package/dist/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  585. package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  586. package/dist/ui-kit/Select/Option.d.ts +1 -1
  587. package/dist/ui-kit/Select/Select.d.ts +1 -2
  588. package/dist/ui-kit/Select/Select.js.map +1 -1
  589. package/dist/ui-kit/Select/SelectPopup.d.ts +2 -3
  590. package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
  591. package/dist/ui-kit/Select/useSelectPopup.d.ts +2 -2
  592. package/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
  593. package/dist/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  594. package/dist/ui-kit/Shimmer/Shimmer.js.map +1 -1
  595. package/dist/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
  596. package/dist/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  597. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  598. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  599. package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  600. package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  601. package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  602. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  603. package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  604. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  605. package/dist/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  606. package/dist/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  607. package/dist/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  608. package/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  609. package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  610. package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  611. package/dist/ui-kit/TabsControl/TabItem.js +3 -2
  612. package/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  613. package/dist/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  614. package/dist/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  615. package/dist/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
  616. package/dist/ui-kit/Tags/Tags.d.ts +2 -2
  617. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  618. package/dist/ui-kit/TimerCircle/Timer.d.ts +2 -2
  619. package/dist/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  620. package/dist/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
  621. package/dist/ui-kit/TopItem/TopItem.d.ts +3 -3
  622. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  623. package/dist/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  624. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  625. package/dist/utils/adjustBase.js +4 -1
  626. package/dist/utils/adjustBase.js.map +1 -1
  627. package/dist/utils/isCyrilic.js +1 -1
  628. package/dist/utils/isCyrilic.js.map +1 -1
  629. package/lib/UniBlock/UniBlockProps.d.ts +2 -2
  630. package/lib/common.css +1 -1
  631. package/lib/components/ApplicationForm/Footnote.d.ts +1 -1
  632. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  633. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -7
  634. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  635. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  636. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js +6 -1
  637. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  638. package/lib/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  639. package/lib/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
  640. package/lib/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
  641. package/lib/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  642. package/lib/components/ApplicationLeadForm/applicationFormData.js +0 -1
  643. package/lib/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  644. package/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
  645. package/lib/components/ApplicationLeadForm/consents.js +0 -4
  646. package/lib/components/ApplicationLeadForm/consents.js.map +1 -1
  647. package/lib/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
  648. package/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  649. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +3 -3
  650. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  651. package/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  652. package/lib/components/ApplicationLeadForm/useInitApplicationLead.js +1 -1
  653. package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  654. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  655. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  656. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  657. package/lib/components/Blocks.js +0 -26
  658. package/lib/components/Blocks.js.map +1 -1
  659. package/lib/components/Blocks.mobile.js +0 -20
  660. package/lib/components/Blocks.mobile.js.map +1 -1
  661. package/lib/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  662. package/lib/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
  663. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  664. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  665. package/lib/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  666. package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  667. package/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  668. package/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  669. package/lib/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  670. package/lib/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
  671. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  672. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  673. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  674. package/lib/components/CardTransfer/CardTransfer.js +1 -8
  675. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  676. package/lib/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  677. package/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
  678. package/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  679. package/lib/components/Carousel/Carousel.fixture.d.ts +0 -2
  680. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +0 -1
  681. package/lib/components/Carousel/renderCardHighlight.d.ts +3 -4
  682. package/lib/components/Carousel/renderCardHighlight.js.map +1 -1
  683. package/lib/components/Carousel/renderCarouselCards.js +2 -2
  684. package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  685. package/lib/components/ContentPage/ContentPage.d.ts +2 -2
  686. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  687. package/lib/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
  688. package/lib/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
  689. package/lib/components/CreditCardForm/creditCardFormStepsData.js +244 -2
  690. package/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
  691. package/lib/components/CreditCardForm/formStateMap.js +2 -2
  692. package/lib/components/CreditCardForm/formStateMap.js.map +1 -1
  693. package/lib/components/CreditForm/CreditForm.js +1 -2
  694. package/lib/components/CreditForm/CreditForm.js.map +1 -1
  695. package/lib/components/CreditForm/SuccessStatusContent.js +1 -1
  696. package/lib/components/CreditForm/SuccessStatusContent.js.map +1 -1
  697. package/lib/components/CreditForm/creditFormStepsData.js +191 -2
  698. package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
  699. package/lib/components/CreditForm/formStateMap.js +2 -2
  700. package/lib/components/CreditForm/formStateMap.js.map +1 -1
  701. package/lib/components/CreditForm/getCalcData.js +1 -1
  702. package/lib/components/CreditForm/getCalcData.js.map +1 -1
  703. package/lib/components/CreditForm/useCreditFormAPI.js +1 -1
  704. package/lib/components/DebitForm/DebitFormStatus.d.ts +2 -4
  705. package/lib/components/DebitForm/DebitFormStatus.js.map +1 -1
  706. package/lib/components/DebitForm/DebitFormStepsData.js +70 -2
  707. package/lib/components/DebitForm/DebitFormStepsData.js.map +1 -1
  708. package/lib/components/Footer/Contacts.d.ts +2 -2
  709. package/lib/components/Footer/Contacts.js.map +1 -1
  710. package/lib/components/Footer/FooterLink.d.ts +2 -2
  711. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  712. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  713. package/lib/components/Footer/LinkList.d.ts +2 -2
  714. package/lib/components/Footer/LinkList.js.map +1 -1
  715. package/lib/components/Footer/SocialMedia.d.ts +2 -2
  716. package/lib/components/Footer/SocialMedia.js.map +1 -1
  717. package/lib/components/Footer/TextInformationLink.js +1 -1
  718. package/lib/components/Footer/TextInformationLink.js.map +1 -1
  719. package/lib/components/GalleryLayout/GalleryLayout.js +12 -27
  720. package/lib/components/GalleryLayout/GalleryLayout.js.map +1 -1
  721. package/lib/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  722. package/lib/components/GalleryLayout/useSortProductBlocks.js +18 -0
  723. package/lib/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
  724. package/lib/components/GalleryLayout/utils.d.ts +29 -0
  725. package/lib/components/GalleryLayout/utils.js +25 -0
  726. package/lib/components/GalleryLayout/utils.js.map +1 -0
  727. package/lib/components/Header/DropdownMenu.d.ts +2 -2
  728. package/lib/components/Header/DropdownMenu.js.map +1 -1
  729. package/lib/components/Header/HeaderChatBotButton.d.ts +2 -3
  730. package/lib/components/Header/HeaderChatBotButton.js +15 -4
  731. package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  732. package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  733. package/lib/components/Header/HeaderSecondaryMenu.js +1 -2
  734. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  735. package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  736. package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  737. package/lib/components/Header/HeaderSubMenu.js +1 -1
  738. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  739. package/lib/components/Header/HeaderSubMenuItem.d.ts +2 -2
  740. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  741. package/lib/components/Header/HeaderTop.js +1 -1
  742. package/lib/components/Header/HeaderTop.js.map +1 -1
  743. package/lib/components/Header/HeaderTopMenu.d.ts +2 -2
  744. package/lib/components/Header/HeaderTopMenu.js +1 -1
  745. package/lib/components/Header/HeaderTopMenu.js.map +1 -1
  746. package/lib/components/Header/HeaderTopMenuItem.d.ts +2 -2
  747. package/lib/components/Header/HeaderTopMenuItem.js.map +1 -1
  748. package/lib/components/Headline/Headline.js +1 -1
  749. package/lib/components/Headline/Headline.js.map +1 -1
  750. package/lib/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  751. package/lib/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
  752. package/lib/components/OfficesAtmsMap/Badge.d.ts +2 -2
  753. package/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
  754. package/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  755. package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
  756. package/lib/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  757. package/lib/components/OfficesAtmsMap/CardRow.js.map +1 -1
  758. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +4 -4
  759. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  760. package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  761. package/lib/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  762. package/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  763. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -2
  764. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  765. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  766. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  767. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  768. package/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  769. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  770. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  771. package/lib/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  772. package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  773. package/lib/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  774. package/lib/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
  775. package/lib/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  776. package/lib/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
  777. package/lib/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  778. package/lib/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
  779. package/lib/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  780. package/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
  781. package/lib/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  782. package/lib/components/TariffsTable/TableCarouselContainer.js +1 -1
  783. package/lib/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  784. package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  785. package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +3 -1
  786. package/lib/components/TariffsTable/TariffsTable.js +4 -11
  787. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  788. package/lib/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  789. package/lib/components/TariffsTable/TariffsTableCell.js +14 -4
  790. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  791. package/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  792. package/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  793. package/lib/components/TariffsTable/TariffsTableRow.js +6 -10
  794. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  795. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  796. package/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -2
  797. package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  798. package/lib/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  799. package/lib/components/TariffsTable/TariffsTableWrapper.js +2 -10
  800. package/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  801. package/lib/components/TariffsTable/dataFixture.js +1 -14
  802. package/lib/components/TariffsTable/dataFixture.js.map +1 -1
  803. package/lib/components/TariffsTable/renderCell.d.ts +2 -0
  804. package/lib/components/TariffsTable/renderCell.js +12 -0
  805. package/lib/components/TariffsTable/renderCell.js.map +1 -0
  806. package/lib/components/TariffsTable/renderHeader.d.ts +2 -0
  807. package/lib/components/TariffsTable/renderHeader.js +7 -0
  808. package/lib/components/TariffsTable/renderHeader.js.map +1 -0
  809. package/lib/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  810. package/lib/components/TariffsTable/renderInnerTableCell.js +1 -0
  811. package/lib/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  812. package/lib/data/CommonData.d.ts +4 -4
  813. package/lib/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  814. package/lib/hooks/useAspects/aspects/forwardQuery.js +1 -1
  815. package/lib/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
  816. package/lib/hooks/useAspects/handleAspects.d.ts +1 -1
  817. package/lib/hooks/useAspects/handleAspects.js +5 -2
  818. package/lib/hooks/useAspects/handleAspects.js.map +1 -1
  819. package/lib/hooks/useAspects/useAspects.d.ts +1 -1
  820. package/lib/hooks/useForm/useForm.d.ts +1 -1
  821. package/lib/hooks/useLink.js +2 -1
  822. package/lib/hooks/useLink.js.map +1 -1
  823. package/lib/model/CommonInputProps.d.ts +7 -0
  824. package/lib/model/CommonInputProps.js +2 -0
  825. package/lib/model/CommonInputProps.js.map +1 -0
  826. package/lib/model/ComponentType.d.ts +4 -0
  827. package/lib/model/ComponentType.js +2 -0
  828. package/lib/model/ComponentType.js.map +1 -0
  829. package/lib/model/ContentPageBase.d.ts +2 -3
  830. package/lib/model/ControlProps.js.map +1 -0
  831. package/lib/model/DefaultControlType.d.ts +5 -5
  832. package/lib/model/DisabledProps.d.ts +3 -0
  833. package/lib/model/DisabledProps.js +2 -0
  834. package/lib/model/DisabledProps.js.map +1 -0
  835. package/lib/model/LinkProps.d.ts +1 -1
  836. package/lib/model/OnClickProps.d.ts +3 -0
  837. package/lib/model/OnClickProps.js +2 -0
  838. package/lib/model/OnClickProps.js.map +1 -0
  839. package/lib/model/OnCloseProps.d.ts +3 -0
  840. package/lib/model/OnCloseProps.js +2 -0
  841. package/lib/model/OnCloseProps.js.map +1 -0
  842. package/lib/model/Picture.d.ts +2 -2
  843. package/lib/model/PlaceholderProps.d.ts +3 -0
  844. package/lib/model/PlaceholderProps.js +2 -0
  845. package/lib/model/PlaceholderProps.js.map +1 -0
  846. package/lib/model/onClick.d.ts +3 -0
  847. package/lib/model/onClick.js +2 -0
  848. package/lib/model/onClick.js.map +1 -0
  849. package/lib/model/onClose.d.ts +3 -0
  850. package/lib/model/onClose.js +2 -0
  851. package/lib/model/onClose.js.map +1 -0
  852. package/lib/retail/adaptors/getCreditFormTaskData.js +0 -3
  853. package/lib/retail/adaptors/getCreditFormTaskData.js.map +1 -1
  854. package/lib/retail/adaptors/getEmploymentData.js +3 -3
  855. package/lib/retail/adaptors/getEmploymentData.js.map +1 -1
  856. package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
  857. package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  858. package/lib/retail/adaptors/getPersonalInfoData.js +4 -2
  859. package/lib/retail/adaptors/getPersonalInfoData.js.map +1 -1
  860. package/lib/retail/api/getCardTypes.d.ts +2 -2
  861. package/lib/retail/api/getCardTypes.js.map +1 -1
  862. package/lib/retail/api/updateUserTask.d.ts +1 -1
  863. package/lib/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  864. package/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  865. package/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  866. package/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  867. package/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
  868. package/lib/retail/components/DaDataInputControl/DaDataInputControl.js +4 -19
  869. package/lib/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
  870. package/lib/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  871. package/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  872. package/lib/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  873. package/lib/retail/components/DraftDialog/DraftActionButton.js +1 -1
  874. package/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  875. package/lib/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  876. package/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
  877. package/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  878. package/lib/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  879. package/lib/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
  880. package/lib/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  881. package/lib/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
  882. package/lib/retail/components/DraftDialog/utils.d.ts +3 -3
  883. package/lib/retail/components/Fields/BeginDateField.js +1 -1
  884. package/lib/retail/components/Fields/BeginDateField.js.map +1 -1
  885. package/lib/retail/components/Fields/DaDataInnField.js +10 -3
  886. package/lib/retail/components/Fields/DaDataInnField.js.map +1 -1
  887. package/lib/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  888. package/lib/retail/components/Fields/InitiateBankruptcyFlgField.js +5 -0
  889. package/lib/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
  890. package/lib/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
  891. package/lib/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
  892. package/lib/retail/components/Fields/RegionRetailField.js +8 -3
  893. package/lib/retail/components/Fields/RegionRetailField.js.map +1 -1
  894. package/lib/retail/components/Fields/SelectField.d.ts +4 -4
  895. package/lib/retail/components/Fields/SelectField.js.map +1 -1
  896. package/lib/retail/components/FormStatus/FormStatus.d.ts +2 -4
  897. package/lib/retail/components/FormStatus/FormStatus.js.map +1 -1
  898. package/lib/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  899. package/lib/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
  900. package/lib/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
  901. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  902. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  903. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  904. package/lib/retail/content.d.ts +2 -8
  905. package/lib/retail/content.js +2 -350
  906. package/lib/retail/content.js.map +1 -1
  907. package/lib/retail/inputs.d.ts +1 -1
  908. package/lib/retail/inputs.js +2 -1
  909. package/lib/retail/inputs.js.map +1 -1
  910. package/lib/retail/model/LeadFormData.d.ts +2 -2
  911. package/lib/retail/model/LeadFormState.d.ts +4 -2
  912. package/lib/retail/model/NameFieldDef.d.ts +1 -1
  913. package/lib/retail/model/RetailFormContent.d.ts +2 -2
  914. package/lib/retail/utils/calculateInputs.js +2 -0
  915. package/lib/retail/utils/calculateInputs.js.map +1 -1
  916. package/lib/retail/utils/getMainFormStateMap.d.ts +2 -0
  917. package/lib/retail/utils/getMainFormStateMap.js +67 -0
  918. package/lib/retail/utils/getMainFormStateMap.js.map +1 -0
  919. package/lib/retail/utils/getOrganizationParams.d.ts +1 -1
  920. package/lib/retail/utils/getOrganizationParams.js.map +1 -1
  921. package/lib/retail/utils/renderStep.js +8 -2
  922. package/lib/retail/utils/renderStep.js.map +1 -1
  923. package/lib/retail/validator/validatorObj.js +3 -3
  924. package/lib/retail/validator/validatorObj.js.map +1 -1
  925. package/lib/retail/validator/validators.d.ts +1 -0
  926. package/lib/retail/validator/validators.js +1 -0
  927. package/lib/retail/validator/validators.js.map +1 -1
  928. package/lib/services/search/search.d.ts +2 -2
  929. package/lib/services/search/search.js.map +1 -1
  930. package/lib/services/search/textRank.d.ts +1 -1
  931. package/lib/services/search/textRank.js.map +1 -1
  932. package/lib/services/search/useSearch.js +8 -5
  933. package/lib/services/search/useSearch.js.map +1 -1
  934. package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  935. package/lib/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  936. package/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  937. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  938. package/lib/ui-kit/BaseTile/BaseTile.js +1 -1
  939. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  940. package/lib/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  941. package/lib/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
  942. package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  943. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  944. package/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  945. package/lib/ui-kit/Button/Button.d.ts +3 -3
  946. package/lib/ui-kit/Button/Button.js.map +1 -1
  947. package/lib/ui-kit/Button/ButtonTitle.d.ts +2 -5
  948. package/lib/ui-kit/Button/ButtonTitle.js.map +1 -1
  949. package/lib/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  950. package/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
  951. package/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  952. package/lib/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  953. package/lib/ui-kit/Calculator/UnknownRate.js.map +1 -1
  954. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  955. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  956. package/lib/ui-kit/Calculator/renderRate.d.ts +2 -2
  957. package/lib/ui-kit/Calculator/renderRate.js.map +1 -1
  958. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  959. package/lib/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  960. package/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
  961. package/lib/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  962. package/lib/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
  963. package/lib/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  964. package/lib/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  965. package/lib/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  966. package/lib/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
  967. package/lib/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  968. package/lib/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
  969. package/lib/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  970. package/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
  971. package/lib/ui-kit/DialogManager/Dialog.d.ts +3 -3
  972. package/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
  973. package/lib/ui-kit/DialogManager/useDialog.d.ts +2 -3
  974. package/lib/ui-kit/DialogManager/useDialog.js.map +1 -1
  975. package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  976. package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  977. package/lib/ui-kit/Foldable/Foldable.d.ts +2 -2
  978. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  979. package/lib/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  980. package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
  981. package/lib/ui-kit/FormField/getObjectValidator.js +1 -1
  982. package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  983. package/lib/ui-kit/Heading/HeadingProps.d.ts +2 -3
  984. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  985. package/lib/ui-kit/Icon/IconProps.d.ts +2 -2
  986. package/lib/ui-kit/Img/ImgProps.d.ts +2 -2
  987. package/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  988. package/lib/ui-kit/InnerTable/InnerTable.js +2 -3
  989. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  990. package/lib/ui-kit/InnerTable/InnerTableBody.js +4 -6
  991. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  992. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  993. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  994. package/lib/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  995. package/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  996. package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  997. package/lib/ui-kit/Input/InputControl.js +4 -20
  998. package/lib/ui-kit/Input/InputControl.js.map +1 -1
  999. package/lib/ui-kit/Input/InputProps.d.ts +4 -2
  1000. package/lib/ui-kit/Input/InputWrapper.d.ts +8 -0
  1001. package/lib/ui-kit/Input/InputWrapper.js +23 -0
  1002. package/lib/ui-kit/Input/InputWrapper.js.map +1 -0
  1003. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  1004. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1005. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  1006. package/lib/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  1007. package/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  1008. package/lib/ui-kit/Link/Link.d.ts +2 -2
  1009. package/lib/ui-kit/Link/Link.js.map +1 -1
  1010. package/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
  1011. package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  1012. package/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  1013. package/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  1014. package/lib/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  1015. package/lib/ui-kit/LinkButton/renderArrows.js.map +1 -1
  1016. package/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  1017. package/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
  1018. package/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  1019. package/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  1020. package/lib/ui-kit/ListControlProps.d.ts +1 -1
  1021. package/lib/ui-kit/Loader/Loader.d.ts +1 -1
  1022. package/lib/ui-kit/Loader/Loader.js.map +1 -1
  1023. package/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  1024. package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  1025. package/lib/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  1026. package/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  1027. package/lib/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  1028. package/lib/ui-kit/ProgressBar/ProgressBar.fixture.d.ts +4 -1
  1029. package/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  1030. package/lib/ui-kit/Radio/RadioProps.d.ts +3 -4
  1031. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  1032. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1033. package/lib/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  1034. package/lib/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
  1035. package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  1036. package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  1037. package/lib/ui-kit/SVG.d.ts +2 -2
  1038. package/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  1039. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1040. package/lib/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  1041. package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  1042. package/lib/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  1043. package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  1044. package/lib/ui-kit/Select/Option.d.ts +1 -1
  1045. package/lib/ui-kit/Select/Select.d.ts +1 -2
  1046. package/lib/ui-kit/Select/Select.js.map +1 -1
  1047. package/lib/ui-kit/Select/SelectPopup.d.ts +2 -3
  1048. package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
  1049. package/lib/ui-kit/Select/useSelectPopup.d.ts +2 -2
  1050. package/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
  1051. package/lib/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  1052. package/lib/ui-kit/Shimmer/Shimmer.js.map +1 -1
  1053. package/lib/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
  1054. package/lib/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  1055. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  1056. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  1057. package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  1058. package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  1059. package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  1060. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1061. package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  1062. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1063. package/lib/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  1064. package/lib/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  1065. package/lib/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  1066. package/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  1067. package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  1068. package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  1069. package/lib/ui-kit/TabsControl/TabItem.js +3 -2
  1070. package/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  1071. package/lib/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  1072. package/lib/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  1073. package/lib/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
  1074. package/lib/ui-kit/Tags/Tags.d.ts +2 -2
  1075. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  1076. package/lib/ui-kit/TimerCircle/Timer.d.ts +2 -2
  1077. package/lib/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  1078. package/lib/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
  1079. package/lib/ui-kit/TopItem/TopItem.d.ts +3 -3
  1080. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1081. package/lib/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  1082. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  1083. package/lib/utils/adjustBase.js +4 -1
  1084. package/lib/utils/adjustBase.js.map +1 -1
  1085. package/lib/utils/isCyrilic.js +1 -1
  1086. package/lib/utils/isCyrilic.js.map +1 -1
  1087. package/mobile/bundle/UniBlock/UniBlockProps.d.ts +2 -2
  1088. package/mobile/bundle/bundle.umd.js +850 -1336
  1089. package/mobile/bundle/bundle.umd.min.js +1 -1
  1090. package/mobile/bundle/components/ApplicationForm/Footnote.d.ts +1 -1
  1091. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  1092. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  1093. package/mobile/bundle/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  1094. package/mobile/bundle/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  1095. package/mobile/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
  1096. package/mobile/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  1097. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  1098. package/mobile/bundle/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  1099. package/mobile/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  1100. package/mobile/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  1101. package/mobile/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  1102. package/mobile/bundle/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  1103. package/mobile/bundle/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  1104. package/mobile/bundle/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  1105. package/mobile/bundle/components/Carousel/renderCardHighlight.d.ts +3 -4
  1106. package/mobile/bundle/components/ContentPage/ContentPage.d.ts +2 -2
  1107. package/mobile/bundle/components/DebitForm/DebitFormStatus.d.ts +2 -4
  1108. package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
  1109. package/mobile/bundle/components/Footer/FooterLink.d.ts +2 -2
  1110. package/mobile/bundle/components/Footer/LinkList.d.ts +2 -2
  1111. package/mobile/bundle/components/Footer/SocialMedia.d.ts +2 -2
  1112. package/mobile/bundle/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  1113. package/mobile/bundle/components/GalleryLayout/utils.d.ts +29 -0
  1114. package/mobile/bundle/components/Header/DropdownMenu.d.ts +2 -2
  1115. package/mobile/bundle/components/Header/HeaderChatBotButton.d.ts +2 -3
  1116. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  1117. package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  1118. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +2 -2
  1119. package/mobile/bundle/components/Header/HeaderTopMenu.d.ts +2 -2
  1120. package/mobile/bundle/components/Header/HeaderTopMenuItem.d.ts +2 -2
  1121. package/mobile/bundle/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  1122. package/mobile/bundle/components/OfficesAtmsMap/Badge.d.ts +2 -2
  1123. package/mobile/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  1124. package/mobile/bundle/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  1125. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
  1126. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  1127. package/mobile/bundle/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  1128. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  1129. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  1130. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  1131. package/mobile/bundle/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  1132. package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  1133. package/mobile/bundle/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  1134. package/mobile/bundle/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  1135. package/mobile/bundle/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  1136. package/mobile/bundle/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  1137. package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
  1138. package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  1139. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  1140. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  1141. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  1142. package/mobile/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  1143. package/mobile/bundle/components/TariffsTable/renderCell.d.ts +2 -0
  1144. package/mobile/bundle/components/TariffsTable/renderHeader.d.ts +2 -0
  1145. package/mobile/bundle/data/CommonData.d.ts +4 -4
  1146. package/mobile/bundle/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  1147. package/mobile/bundle/hooks/useAspects/handleAspects.d.ts +1 -1
  1148. package/mobile/bundle/hooks/useAspects/useAspects.d.ts +1 -1
  1149. package/mobile/bundle/hooks/useForm/useForm.d.ts +1 -1
  1150. package/mobile/bundle/model/CommonInputProps.d.ts +7 -0
  1151. package/mobile/bundle/model/ComponentType.d.ts +4 -0
  1152. package/mobile/bundle/model/ContentPageBase.d.ts +2 -3
  1153. package/mobile/bundle/model/DefaultControlType.d.ts +5 -5
  1154. package/mobile/bundle/model/DisabledProps.d.ts +3 -0
  1155. package/mobile/bundle/model/LinkProps.d.ts +1 -1
  1156. package/mobile/bundle/model/OnClickProps.d.ts +3 -0
  1157. package/mobile/bundle/model/OnCloseProps.d.ts +3 -0
  1158. package/mobile/bundle/model/Picture.d.ts +2 -2
  1159. package/mobile/bundle/model/PlaceholderProps.d.ts +3 -0
  1160. package/mobile/bundle/model/onClick.d.ts +3 -0
  1161. package/mobile/bundle/model/onClose.d.ts +3 -0
  1162. package/mobile/bundle/retail/api/getCardTypes.d.ts +2 -2
  1163. package/mobile/bundle/retail/api/updateUserTask.d.ts +1 -1
  1164. package/mobile/bundle/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  1165. package/mobile/bundle/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  1166. package/mobile/bundle/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  1167. package/mobile/bundle/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  1168. package/mobile/bundle/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  1169. package/mobile/bundle/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  1170. package/mobile/bundle/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  1171. package/mobile/bundle/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  1172. package/mobile/bundle/retail/components/Fields/SelectField.d.ts +4 -4
  1173. package/mobile/bundle/retail/components/FormStatus/FormStatus.d.ts +2 -4
  1174. package/mobile/bundle/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  1175. package/mobile/bundle/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  1176. package/mobile/bundle/retail/content.d.ts +2 -8
  1177. package/mobile/bundle/retail/inputs.d.ts +1 -1
  1178. package/mobile/bundle/retail/model/LeadFormData.d.ts +2 -2
  1179. package/mobile/bundle/retail/model/LeadFormState.d.ts +4 -2
  1180. package/mobile/bundle/retail/model/NameFieldDef.d.ts +1 -1
  1181. package/mobile/bundle/retail/model/RetailFormContent.d.ts +2 -2
  1182. package/mobile/bundle/retail/utils/getMainFormStateMap.d.ts +2 -0
  1183. package/mobile/bundle/retail/utils/getOrganizationParams.d.ts +1 -1
  1184. package/mobile/bundle/retail/validator/validators.d.ts +1 -0
  1185. package/mobile/bundle/services/search/search.d.ts +2 -2
  1186. package/mobile/bundle/services/search/textRank.d.ts +1 -1
  1187. package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  1188. package/mobile/bundle/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  1189. package/mobile/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  1190. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  1191. package/mobile/bundle/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  1192. package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  1193. package/mobile/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  1194. package/mobile/bundle/ui-kit/Button/Button.d.ts +3 -3
  1195. package/mobile/bundle/ui-kit/Button/ButtonTitle.d.ts +2 -5
  1196. package/mobile/bundle/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  1197. package/mobile/bundle/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  1198. package/mobile/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  1199. package/mobile/bundle/ui-kit/Calculator/renderRate.d.ts +2 -2
  1200. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  1201. package/mobile/bundle/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  1202. package/mobile/bundle/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  1203. package/mobile/bundle/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  1204. package/mobile/bundle/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  1205. package/mobile/bundle/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  1206. package/mobile/bundle/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  1207. package/mobile/bundle/ui-kit/DialogManager/Dialog.d.ts +3 -3
  1208. package/mobile/bundle/ui-kit/DialogManager/useDialog.d.ts +2 -3
  1209. package/mobile/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  1210. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +2 -2
  1211. package/mobile/bundle/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  1212. package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +2 -3
  1213. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +2 -2
  1214. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +2 -2
  1215. package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  1216. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  1217. package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  1218. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -2
  1219. package/mobile/bundle/ui-kit/Input/InputWrapper.d.ts +8 -0
  1220. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  1221. package/mobile/bundle/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  1222. package/mobile/bundle/ui-kit/Link/Link.d.ts +2 -2
  1223. package/mobile/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  1224. package/mobile/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  1225. package/mobile/bundle/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  1226. package/mobile/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  1227. package/mobile/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  1228. package/mobile/bundle/ui-kit/ListControlProps.d.ts +1 -1
  1229. package/mobile/bundle/ui-kit/Loader/Loader.d.ts +1 -1
  1230. package/mobile/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  1231. package/mobile/bundle/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  1232. package/mobile/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  1233. package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +3 -4
  1234. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  1235. package/mobile/bundle/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  1236. package/mobile/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  1237. package/mobile/bundle/ui-kit/SVG.d.ts +2 -2
  1238. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  1239. package/mobile/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  1240. package/mobile/bundle/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  1241. package/mobile/bundle/ui-kit/Select/Option.d.ts +1 -1
  1242. package/mobile/bundle/ui-kit/Select/Select.d.ts +1 -2
  1243. package/mobile/bundle/ui-kit/Select/SelectPopup.d.ts +2 -3
  1244. package/mobile/bundle/ui-kit/Select/useSelectPopup.d.ts +2 -2
  1245. package/mobile/bundle/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  1246. package/mobile/bundle/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  1247. package/mobile/bundle/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  1248. package/mobile/bundle/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  1249. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  1250. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  1251. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  1252. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  1253. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  1254. package/mobile/bundle/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  1255. package/mobile/bundle/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  1256. package/mobile/bundle/ui-kit/Tags/Tags.d.ts +2 -2
  1257. package/mobile/bundle/ui-kit/TimerCircle/Timer.d.ts +2 -2
  1258. package/mobile/bundle/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  1259. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +3 -3
  1260. package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  1261. package/mobile/dist/UniBlock/UniBlockProps.d.ts +2 -2
  1262. package/mobile/dist/components/ApplicationForm/Footnote.d.ts +1 -1
  1263. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  1264. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +5 -10
  1265. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  1266. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  1267. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js +7 -0
  1268. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  1269. package/mobile/dist/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  1270. package/mobile/dist/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
  1271. package/mobile/dist/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
  1272. package/mobile/dist/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  1273. package/mobile/dist/components/ApplicationLeadForm/applicationFormData.js +0 -1
  1274. package/mobile/dist/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  1275. package/mobile/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
  1276. package/mobile/dist/components/ApplicationLeadForm/consents.js +0 -4
  1277. package/mobile/dist/components/ApplicationLeadForm/consents.js.map +1 -1
  1278. package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
  1279. package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  1280. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +3 -3
  1281. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  1282. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  1283. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js +4 -4
  1284. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  1285. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1286. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1287. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  1288. package/mobile/dist/components/Blocks.js +0 -20
  1289. package/mobile/dist/components/Blocks.js.map +1 -1
  1290. package/mobile/dist/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  1291. package/mobile/dist/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
  1292. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  1293. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  1294. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  1295. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  1296. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  1297. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  1298. package/mobile/dist/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  1299. package/mobile/dist/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
  1300. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  1301. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  1302. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  1303. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -8
  1304. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  1305. package/mobile/dist/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  1306. package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
  1307. package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  1308. package/mobile/dist/components/Carousel/renderCardHighlight.d.ts +3 -4
  1309. package/mobile/dist/components/Carousel/renderCardHighlight.js.map +1 -1
  1310. package/mobile/dist/components/Carousel/renderCarouselCards.js +2 -2
  1311. package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  1312. package/mobile/dist/components/ContentPage/ContentPage.d.ts +2 -2
  1313. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  1314. package/mobile/dist/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
  1315. package/mobile/dist/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
  1316. package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js +245 -3
  1317. package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
  1318. package/mobile/dist/components/CreditCardForm/formStateMap.js +2 -2
  1319. package/mobile/dist/components/CreditCardForm/formStateMap.js.map +1 -1
  1320. package/mobile/dist/components/CreditForm/CreditForm.js +1 -2
  1321. package/mobile/dist/components/CreditForm/CreditForm.js.map +1 -1
  1322. package/mobile/dist/components/CreditForm/SuccessStatusContent.js +1 -1
  1323. package/mobile/dist/components/CreditForm/SuccessStatusContent.js.map +1 -1
  1324. package/mobile/dist/components/CreditForm/creditFormStepsData.js +192 -3
  1325. package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
  1326. package/mobile/dist/components/CreditForm/formStateMap.js +2 -2
  1327. package/mobile/dist/components/CreditForm/formStateMap.js.map +1 -1
  1328. package/mobile/dist/components/CreditForm/getCalcData.js +1 -1
  1329. package/mobile/dist/components/CreditForm/getCalcData.js.map +1 -1
  1330. package/mobile/dist/components/CreditForm/useCreditFormAPI.js +1 -1
  1331. package/mobile/dist/components/DebitForm/DebitFormStatus.d.ts +2 -4
  1332. package/mobile/dist/components/DebitForm/DebitFormStatus.js.map +1 -1
  1333. package/mobile/dist/components/DebitForm/DebitFormStepsData.js +71 -3
  1334. package/mobile/dist/components/DebitForm/DebitFormStepsData.js.map +1 -1
  1335. package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
  1336. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  1337. package/mobile/dist/components/Footer/FooterLink.d.ts +2 -2
  1338. package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
  1339. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  1340. package/mobile/dist/components/Footer/LinkList.d.ts +2 -2
  1341. package/mobile/dist/components/Footer/LinkList.js.map +1 -1
  1342. package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -2
  1343. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  1344. package/mobile/dist/components/Footer/TextInformationLink.js +1 -1
  1345. package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
  1346. package/mobile/dist/components/GalleryLayout/GalleryLayout.js +13 -28
  1347. package/mobile/dist/components/GalleryLayout/GalleryLayout.js.map +1 -1
  1348. package/mobile/dist/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  1349. package/mobile/dist/components/GalleryLayout/useSortProductBlocks.js +21 -0
  1350. package/mobile/dist/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
  1351. package/mobile/dist/components/GalleryLayout/utils.d.ts +29 -0
  1352. package/mobile/dist/components/GalleryLayout/utils.js +29 -0
  1353. package/mobile/dist/components/GalleryLayout/utils.js.map +1 -0
  1354. package/mobile/dist/components/Header/DropdownMenu.d.ts +2 -2
  1355. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  1356. package/mobile/dist/components/Header/HeaderChatBotButton.d.ts +2 -3
  1357. package/mobile/dist/components/Header/HeaderChatBotButton.js +15 -4
  1358. package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  1359. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  1360. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -2
  1361. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  1362. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  1363. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  1364. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
  1365. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  1366. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +2 -2
  1367. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  1368. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  1369. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  1370. package/mobile/dist/components/Header/HeaderTopMenu.d.ts +2 -2
  1371. package/mobile/dist/components/Header/HeaderTopMenu.js +1 -1
  1372. package/mobile/dist/components/Header/HeaderTopMenu.js.map +1 -1
  1373. package/mobile/dist/components/Header/HeaderTopMenuItem.d.ts +2 -2
  1374. package/mobile/dist/components/Header/HeaderTopMenuItem.js.map +1 -1
  1375. package/mobile/dist/components/Headline/Headline.js +1 -1
  1376. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  1377. package/mobile/dist/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  1378. package/mobile/dist/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
  1379. package/mobile/dist/components/OfficesAtmsMap/Badge.d.ts +2 -2
  1380. package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
  1381. package/mobile/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  1382. package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
  1383. package/mobile/dist/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  1384. package/mobile/dist/components/OfficesAtmsMap/CardRow.js.map +1 -1
  1385. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
  1386. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  1387. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  1388. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  1389. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  1390. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
  1391. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  1392. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  1393. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  1394. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  1395. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  1396. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1397. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  1398. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  1399. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  1400. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
  1401. package/mobile/dist/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  1402. package/mobile/dist/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
  1403. package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  1404. package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
  1405. package/mobile/dist/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  1406. package/mobile/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
  1407. package/mobile/dist/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  1408. package/mobile/dist/components/TariffsTable/TableCarouselContainer.js +1 -1
  1409. package/mobile/dist/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  1410. package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  1411. package/mobile/dist/components/TariffsTable/TariffsTable.js +4 -11
  1412. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  1413. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  1414. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +14 -4
  1415. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1416. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  1417. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  1418. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +6 -10
  1419. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1420. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  1421. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
  1422. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  1423. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  1424. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js +1 -9
  1425. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  1426. package/mobile/dist/components/TariffsTable/dataFixture.js +1 -14
  1427. package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
  1428. package/mobile/dist/components/TariffsTable/renderCell.d.ts +2 -0
  1429. package/mobile/dist/components/TariffsTable/renderCell.js +15 -0
  1430. package/mobile/dist/components/TariffsTable/renderCell.js.map +1 -0
  1431. package/mobile/dist/components/TariffsTable/renderHeader.d.ts +2 -0
  1432. package/mobile/dist/components/TariffsTable/renderHeader.js +10 -0
  1433. package/mobile/dist/components/TariffsTable/renderHeader.js.map +1 -0
  1434. package/mobile/dist/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  1435. package/mobile/dist/components/TariffsTable/renderInnerTableCell.js +1 -0
  1436. package/mobile/dist/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  1437. package/mobile/dist/data/CommonData.d.ts +4 -4
  1438. package/mobile/dist/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  1439. package/mobile/dist/hooks/useAspects/aspects/forwardQuery.js +1 -1
  1440. package/mobile/dist/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
  1441. package/mobile/dist/hooks/useAspects/handleAspects.d.ts +1 -1
  1442. package/mobile/dist/hooks/useAspects/handleAspects.js +5 -2
  1443. package/mobile/dist/hooks/useAspects/handleAspects.js.map +1 -1
  1444. package/mobile/dist/hooks/useAspects/useAspects.d.ts +1 -1
  1445. package/mobile/dist/hooks/useForm/useForm.d.ts +1 -1
  1446. package/mobile/dist/hooks/useLink.js +2 -1
  1447. package/mobile/dist/hooks/useLink.js.map +1 -1
  1448. package/mobile/dist/model/CommonInputProps.d.ts +7 -0
  1449. package/mobile/dist/model/CommonInputProps.js +2 -0
  1450. package/mobile/dist/model/CommonInputProps.js.map +1 -0
  1451. package/mobile/dist/model/ComponentType.d.ts +4 -0
  1452. package/mobile/dist/model/ComponentType.js +2 -0
  1453. package/mobile/dist/model/ComponentType.js.map +1 -0
  1454. package/mobile/dist/model/ContentPageBase.d.ts +2 -3
  1455. package/mobile/dist/model/ControlProps.js.map +1 -0
  1456. package/mobile/dist/model/DefaultControlType.d.ts +5 -5
  1457. package/mobile/dist/model/DisabledProps.d.ts +3 -0
  1458. package/mobile/dist/model/DisabledProps.js +2 -0
  1459. package/mobile/dist/model/DisabledProps.js.map +1 -0
  1460. package/mobile/dist/model/LinkProps.d.ts +1 -1
  1461. package/mobile/dist/model/OnClickProps.d.ts +3 -0
  1462. package/mobile/dist/model/OnClickProps.js +2 -0
  1463. package/mobile/dist/model/OnClickProps.js.map +1 -0
  1464. package/mobile/dist/model/OnCloseProps.d.ts +3 -0
  1465. package/mobile/dist/model/OnCloseProps.js +2 -0
  1466. package/mobile/dist/model/OnCloseProps.js.map +1 -0
  1467. package/mobile/dist/model/Picture.d.ts +2 -2
  1468. package/mobile/dist/model/PlaceholderProps.d.ts +3 -0
  1469. package/mobile/dist/model/PlaceholderProps.js +2 -0
  1470. package/mobile/dist/model/PlaceholderProps.js.map +1 -0
  1471. package/mobile/dist/model/onClick.d.ts +3 -0
  1472. package/mobile/dist/model/onClick.js +2 -0
  1473. package/mobile/dist/model/onClick.js.map +1 -0
  1474. package/mobile/dist/model/onClose.d.ts +3 -0
  1475. package/mobile/dist/model/onClose.js +2 -0
  1476. package/mobile/dist/model/onClose.js.map +1 -0
  1477. package/mobile/dist/retail/adaptors/getCreditFormTaskData.js +0 -3
  1478. package/mobile/dist/retail/adaptors/getCreditFormTaskData.js.map +1 -1
  1479. package/mobile/dist/retail/adaptors/getEmploymentData.js +3 -3
  1480. package/mobile/dist/retail/adaptors/getEmploymentData.js.map +1 -1
  1481. package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
  1482. package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  1483. package/mobile/dist/retail/adaptors/getPersonalInfoData.js +4 -2
  1484. package/mobile/dist/retail/adaptors/getPersonalInfoData.js.map +1 -1
  1485. package/mobile/dist/retail/api/getCardTypes.d.ts +2 -2
  1486. package/mobile/dist/retail/api/getCardTypes.js.map +1 -1
  1487. package/mobile/dist/retail/api/updateUserTask.d.ts +1 -1
  1488. package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  1489. package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  1490. package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  1491. package/mobile/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  1492. package/mobile/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
  1493. package/mobile/dist/retail/components/DaDataInputControl/DaDataInputControl.js +3 -18
  1494. package/mobile/dist/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
  1495. package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  1496. package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  1497. package/mobile/dist/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  1498. package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js +1 -1
  1499. package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  1500. package/mobile/dist/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  1501. package/mobile/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
  1502. package/mobile/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  1503. package/mobile/dist/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  1504. package/mobile/dist/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
  1505. package/mobile/dist/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  1506. package/mobile/dist/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
  1507. package/mobile/dist/retail/components/Fields/BeginDateField.js +1 -1
  1508. package/mobile/dist/retail/components/Fields/BeginDateField.js.map +1 -1
  1509. package/mobile/dist/retail/components/Fields/DaDataInnField.js +10 -3
  1510. package/mobile/dist/retail/components/Fields/DaDataInnField.js.map +1 -1
  1511. package/mobile/dist/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  1512. package/mobile/dist/retail/components/Fields/InitiateBankruptcyFlgField.js +7 -0
  1513. package/mobile/dist/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
  1514. package/mobile/dist/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
  1515. package/mobile/dist/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
  1516. package/mobile/dist/retail/components/Fields/RegionRetailField.js +8 -3
  1517. package/mobile/dist/retail/components/Fields/RegionRetailField.js.map +1 -1
  1518. package/mobile/dist/retail/components/Fields/SelectField.d.ts +4 -4
  1519. package/mobile/dist/retail/components/Fields/SelectField.js.map +1 -1
  1520. package/mobile/dist/retail/components/FormStatus/FormStatus.d.ts +2 -4
  1521. package/mobile/dist/retail/components/FormStatus/FormStatus.js.map +1 -1
  1522. package/mobile/dist/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  1523. package/mobile/dist/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
  1524. package/mobile/dist/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
  1525. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  1526. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  1527. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  1528. package/mobile/dist/retail/content.d.ts +2 -8
  1529. package/mobile/dist/retail/content.js +3 -351
  1530. package/mobile/dist/retail/content.js.map +1 -1
  1531. package/mobile/dist/retail/inputs.d.ts +1 -1
  1532. package/mobile/dist/retail/inputs.js +2 -1
  1533. package/mobile/dist/retail/inputs.js.map +1 -1
  1534. package/mobile/dist/retail/model/LeadFormData.d.ts +2 -2
  1535. package/mobile/dist/retail/model/LeadFormState.d.ts +4 -2
  1536. package/mobile/dist/retail/model/NameFieldDef.d.ts +1 -1
  1537. package/mobile/dist/retail/model/RetailFormContent.d.ts +2 -2
  1538. package/mobile/dist/retail/utils/calculateInputs.js +2 -0
  1539. package/mobile/dist/retail/utils/calculateInputs.js.map +1 -1
  1540. package/mobile/dist/retail/utils/getMainFormStateMap.d.ts +2 -0
  1541. package/mobile/dist/retail/utils/getMainFormStateMap.js +70 -0
  1542. package/mobile/dist/retail/utils/getMainFormStateMap.js.map +1 -0
  1543. package/mobile/dist/retail/utils/getOrganizationParams.d.ts +1 -1
  1544. package/mobile/dist/retail/utils/getOrganizationParams.js.map +1 -1
  1545. package/mobile/dist/retail/utils/renderStep.js +7 -1
  1546. package/mobile/dist/retail/utils/renderStep.js.map +1 -1
  1547. package/mobile/dist/retail/validator/validatorObj.js +2 -2
  1548. package/mobile/dist/retail/validator/validatorObj.js.map +1 -1
  1549. package/mobile/dist/retail/validator/validators.d.ts +1 -0
  1550. package/mobile/dist/retail/validator/validators.js +3 -1
  1551. package/mobile/dist/retail/validator/validators.js.map +1 -1
  1552. package/mobile/dist/services/search/search.d.ts +2 -2
  1553. package/mobile/dist/services/search/search.js.map +1 -1
  1554. package/mobile/dist/services/search/textRank.d.ts +1 -1
  1555. package/mobile/dist/services/search/textRank.js.map +1 -1
  1556. package/mobile/dist/services/search/useSearch.js +8 -5
  1557. package/mobile/dist/services/search/useSearch.js.map +1 -1
  1558. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  1559. package/mobile/dist/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  1560. package/mobile/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  1561. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  1562. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -1
  1563. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  1564. package/mobile/dist/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  1565. package/mobile/dist/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
  1566. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  1567. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1568. package/mobile/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  1569. package/mobile/dist/ui-kit/Button/Button.d.ts +3 -3
  1570. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  1571. package/mobile/dist/ui-kit/Button/ButtonTitle.d.ts +2 -5
  1572. package/mobile/dist/ui-kit/Button/ButtonTitle.js.map +1 -1
  1573. package/mobile/dist/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  1574. package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
  1575. package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  1576. package/mobile/dist/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  1577. package/mobile/dist/ui-kit/Calculator/UnknownRate.js.map +1 -1
  1578. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  1579. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  1580. package/mobile/dist/ui-kit/Calculator/renderRate.d.ts +2 -2
  1581. package/mobile/dist/ui-kit/Calculator/renderRate.js.map +1 -1
  1582. package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  1583. package/mobile/dist/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  1584. package/mobile/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
  1585. package/mobile/dist/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  1586. package/mobile/dist/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
  1587. package/mobile/dist/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  1588. package/mobile/dist/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  1589. package/mobile/dist/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  1590. package/mobile/dist/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
  1591. package/mobile/dist/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  1592. package/mobile/dist/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
  1593. package/mobile/dist/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  1594. package/mobile/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
  1595. package/mobile/dist/ui-kit/DialogManager/Dialog.d.ts +3 -3
  1596. package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
  1597. package/mobile/dist/ui-kit/DialogManager/useDialog.d.ts +2 -3
  1598. package/mobile/dist/ui-kit/DialogManager/useDialog.js.map +1 -1
  1599. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  1600. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  1601. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +2 -2
  1602. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  1603. package/mobile/dist/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  1604. package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
  1605. package/mobile/dist/ui-kit/FormField/getObjectValidator.js +1 -1
  1606. package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  1607. package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +2 -3
  1608. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  1609. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +2 -2
  1610. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +2 -2
  1611. package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  1612. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +2 -3
  1613. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  1614. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +4 -6
  1615. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1616. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  1617. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1618. package/mobile/dist/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  1619. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  1620. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  1621. package/mobile/dist/ui-kit/Input/InputControl.js +3 -19
  1622. package/mobile/dist/ui-kit/Input/InputControl.js.map +1 -1
  1623. package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -2
  1624. package/mobile/dist/ui-kit/Input/InputWrapper.d.ts +8 -0
  1625. package/mobile/dist/ui-kit/Input/InputWrapper.js +25 -0
  1626. package/mobile/dist/ui-kit/Input/InputWrapper.js.map +1 -0
  1627. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  1628. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  1629. package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  1630. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  1631. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  1632. package/mobile/dist/ui-kit/Link/Link.d.ts +2 -2
  1633. package/mobile/dist/ui-kit/Link/Link.js.map +1 -1
  1634. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
  1635. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  1636. package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  1637. package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  1638. package/mobile/dist/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  1639. package/mobile/dist/ui-kit/LinkButton/renderArrows.js.map +1 -1
  1640. package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  1641. package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
  1642. package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  1643. package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  1644. package/mobile/dist/ui-kit/ListControlProps.d.ts +1 -1
  1645. package/mobile/dist/ui-kit/Loader/Loader.d.ts +1 -1
  1646. package/mobile/dist/ui-kit/Loader/Loader.js.map +1 -1
  1647. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  1648. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  1649. package/mobile/dist/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  1650. package/mobile/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  1651. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  1652. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  1653. package/mobile/dist/ui-kit/Radio/RadioProps.d.ts +3 -4
  1654. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  1655. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1656. package/mobile/dist/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  1657. package/mobile/dist/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
  1658. package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  1659. package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  1660. package/mobile/dist/ui-kit/SVG.d.ts +2 -2
  1661. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  1662. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1663. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  1664. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  1665. package/mobile/dist/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  1666. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  1667. package/mobile/dist/ui-kit/Select/Option.d.ts +1 -1
  1668. package/mobile/dist/ui-kit/Select/Select.d.ts +1 -2
  1669. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  1670. package/mobile/dist/ui-kit/Select/SelectPopup.d.ts +2 -3
  1671. package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
  1672. package/mobile/dist/ui-kit/Select/useSelectPopup.d.ts +2 -2
  1673. package/mobile/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
  1674. package/mobile/dist/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  1675. package/mobile/dist/ui-kit/Shimmer/Shimmer.js.map +1 -1
  1676. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  1677. package/mobile/dist/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  1678. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  1679. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  1680. package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  1681. package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  1682. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  1683. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1684. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  1685. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1686. package/mobile/dist/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  1687. package/mobile/dist/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  1688. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  1689. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  1690. package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  1691. package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  1692. package/mobile/dist/ui-kit/TabsControl/TabItem.js +3 -2
  1693. package/mobile/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  1694. package/mobile/dist/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  1695. package/mobile/dist/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  1696. package/mobile/dist/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
  1697. package/mobile/dist/ui-kit/Tags/Tags.d.ts +2 -2
  1698. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  1699. package/mobile/dist/ui-kit/TimerCircle/Timer.d.ts +2 -2
  1700. package/mobile/dist/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  1701. package/mobile/dist/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
  1702. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +3 -3
  1703. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  1704. package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  1705. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  1706. package/mobile/dist/utils/adjustBase.js +4 -1
  1707. package/mobile/dist/utils/adjustBase.js.map +1 -1
  1708. package/mobile/dist/utils/isCyrilic.js +1 -1
  1709. package/mobile/dist/utils/isCyrilic.js.map +1 -1
  1710. package/mobile/lib/UniBlock/UniBlockProps.d.ts +2 -2
  1711. package/mobile/lib/common.css +1 -1
  1712. package/mobile/lib/components/ApplicationForm/Footnote.d.ts +1 -1
  1713. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  1714. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -7
  1715. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  1716. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  1717. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js +6 -1
  1718. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  1719. package/mobile/lib/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  1720. package/mobile/lib/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
  1721. package/mobile/lib/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
  1722. package/mobile/lib/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  1723. package/mobile/lib/components/ApplicationLeadForm/applicationFormData.js +0 -1
  1724. package/mobile/lib/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  1725. package/mobile/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
  1726. package/mobile/lib/components/ApplicationLeadForm/consents.js +0 -4
  1727. package/mobile/lib/components/ApplicationLeadForm/consents.js.map +1 -1
  1728. package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
  1729. package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  1730. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +3 -3
  1731. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  1732. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  1733. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js +1 -1
  1734. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  1735. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1736. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1737. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  1738. package/mobile/lib/components/Blocks.js +0 -20
  1739. package/mobile/lib/components/Blocks.js.map +1 -1
  1740. package/mobile/lib/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  1741. package/mobile/lib/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
  1742. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  1743. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  1744. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  1745. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  1746. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  1747. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  1748. package/mobile/lib/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  1749. package/mobile/lib/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
  1750. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  1751. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  1752. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  1753. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -8
  1754. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1755. package/mobile/lib/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  1756. package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
  1757. package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  1758. package/mobile/lib/components/Carousel/renderCardHighlight.d.ts +3 -4
  1759. package/mobile/lib/components/Carousel/renderCardHighlight.js.map +1 -1
  1760. package/mobile/lib/components/Carousel/renderCarouselCards.js +2 -2
  1761. package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  1762. package/mobile/lib/components/ContentPage/ContentPage.d.ts +2 -2
  1763. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  1764. package/mobile/lib/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
  1765. package/mobile/lib/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
  1766. package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js +244 -2
  1767. package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
  1768. package/mobile/lib/components/CreditCardForm/formStateMap.js +2 -2
  1769. package/mobile/lib/components/CreditCardForm/formStateMap.js.map +1 -1
  1770. package/mobile/lib/components/CreditForm/CreditForm.js +1 -2
  1771. package/mobile/lib/components/CreditForm/CreditForm.js.map +1 -1
  1772. package/mobile/lib/components/CreditForm/SuccessStatusContent.js +1 -1
  1773. package/mobile/lib/components/CreditForm/SuccessStatusContent.js.map +1 -1
  1774. package/mobile/lib/components/CreditForm/creditFormStepsData.js +191 -2
  1775. package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
  1776. package/mobile/lib/components/CreditForm/formStateMap.js +2 -2
  1777. package/mobile/lib/components/CreditForm/formStateMap.js.map +1 -1
  1778. package/mobile/lib/components/CreditForm/getCalcData.js +1 -1
  1779. package/mobile/lib/components/CreditForm/getCalcData.js.map +1 -1
  1780. package/mobile/lib/components/CreditForm/useCreditFormAPI.js +1 -1
  1781. package/mobile/lib/components/DebitForm/DebitFormStatus.d.ts +2 -4
  1782. package/mobile/lib/components/DebitForm/DebitFormStatus.js.map +1 -1
  1783. package/mobile/lib/components/DebitForm/DebitFormStepsData.js +70 -2
  1784. package/mobile/lib/components/DebitForm/DebitFormStepsData.js.map +1 -1
  1785. package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
  1786. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  1787. package/mobile/lib/components/Footer/FooterLink.d.ts +2 -2
  1788. package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
  1789. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  1790. package/mobile/lib/components/Footer/LinkList.d.ts +2 -2
  1791. package/mobile/lib/components/Footer/LinkList.js.map +1 -1
  1792. package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -2
  1793. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  1794. package/mobile/lib/components/Footer/TextInformationLink.js +1 -1
  1795. package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
  1796. package/mobile/lib/components/GalleryLayout/GalleryLayout.js +12 -27
  1797. package/mobile/lib/components/GalleryLayout/GalleryLayout.js.map +1 -1
  1798. package/mobile/lib/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  1799. package/mobile/lib/components/GalleryLayout/useSortProductBlocks.js +18 -0
  1800. package/mobile/lib/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
  1801. package/mobile/lib/components/GalleryLayout/utils.d.ts +29 -0
  1802. package/mobile/lib/components/GalleryLayout/utils.js +25 -0
  1803. package/mobile/lib/components/GalleryLayout/utils.js.map +1 -0
  1804. package/mobile/lib/components/Header/DropdownMenu.d.ts +2 -2
  1805. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  1806. package/mobile/lib/components/Header/HeaderChatBotButton.d.ts +2 -3
  1807. package/mobile/lib/components/Header/HeaderChatBotButton.js +15 -4
  1808. package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  1809. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  1810. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -2
  1811. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  1812. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  1813. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  1814. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
  1815. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1816. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +2 -2
  1817. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  1818. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  1819. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  1820. package/mobile/lib/components/Header/HeaderTopMenu.d.ts +2 -2
  1821. package/mobile/lib/components/Header/HeaderTopMenu.js +1 -1
  1822. package/mobile/lib/components/Header/HeaderTopMenu.js.map +1 -1
  1823. package/mobile/lib/components/Header/HeaderTopMenuItem.d.ts +2 -2
  1824. package/mobile/lib/components/Header/HeaderTopMenuItem.js.map +1 -1
  1825. package/mobile/lib/components/Headline/Headline.js +1 -1
  1826. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  1827. package/mobile/lib/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  1828. package/mobile/lib/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
  1829. package/mobile/lib/components/OfficesAtmsMap/Badge.d.ts +2 -2
  1830. package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
  1831. package/mobile/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  1832. package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
  1833. package/mobile/lib/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  1834. package/mobile/lib/components/OfficesAtmsMap/CardRow.js.map +1 -1
  1835. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
  1836. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  1837. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  1838. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  1839. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  1840. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
  1841. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  1842. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  1843. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  1844. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  1845. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  1846. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1847. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  1848. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  1849. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  1850. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
  1851. package/mobile/lib/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  1852. package/mobile/lib/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
  1853. package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  1854. package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
  1855. package/mobile/lib/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  1856. package/mobile/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
  1857. package/mobile/lib/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  1858. package/mobile/lib/components/TariffsTable/TableCarouselContainer.js +1 -1
  1859. package/mobile/lib/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  1860. package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  1861. package/mobile/lib/components/TariffsTable/TariffsTable.js +4 -11
  1862. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  1863. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  1864. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +14 -4
  1865. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1866. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  1867. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  1868. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +6 -10
  1869. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1870. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  1871. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -2
  1872. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  1873. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  1874. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js +2 -10
  1875. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  1876. package/mobile/lib/components/TariffsTable/dataFixture.js +1 -14
  1877. package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
  1878. package/mobile/lib/components/TariffsTable/renderCell.d.ts +2 -0
  1879. package/mobile/lib/components/TariffsTable/renderCell.js +12 -0
  1880. package/mobile/lib/components/TariffsTable/renderCell.js.map +1 -0
  1881. package/mobile/lib/components/TariffsTable/renderHeader.d.ts +2 -0
  1882. package/mobile/lib/components/TariffsTable/renderHeader.js +7 -0
  1883. package/mobile/lib/components/TariffsTable/renderHeader.js.map +1 -0
  1884. package/mobile/lib/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  1885. package/mobile/lib/components/TariffsTable/renderInnerTableCell.js +1 -0
  1886. package/mobile/lib/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  1887. package/mobile/lib/data/CommonData.d.ts +4 -4
  1888. package/mobile/lib/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  1889. package/mobile/lib/hooks/useAspects/aspects/forwardQuery.js +1 -1
  1890. package/mobile/lib/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
  1891. package/mobile/lib/hooks/useAspects/handleAspects.d.ts +1 -1
  1892. package/mobile/lib/hooks/useAspects/handleAspects.js +5 -2
  1893. package/mobile/lib/hooks/useAspects/handleAspects.js.map +1 -1
  1894. package/mobile/lib/hooks/useAspects/useAspects.d.ts +1 -1
  1895. package/mobile/lib/hooks/useForm/useForm.d.ts +1 -1
  1896. package/mobile/lib/hooks/useLink.js +2 -1
  1897. package/mobile/lib/hooks/useLink.js.map +1 -1
  1898. package/mobile/lib/model/CommonInputProps.d.ts +7 -0
  1899. package/mobile/lib/model/CommonInputProps.js +2 -0
  1900. package/mobile/lib/model/CommonInputProps.js.map +1 -0
  1901. package/mobile/lib/model/ComponentType.d.ts +4 -0
  1902. package/mobile/lib/model/ComponentType.js +2 -0
  1903. package/mobile/lib/model/ComponentType.js.map +1 -0
  1904. package/mobile/lib/model/ContentPageBase.d.ts +2 -3
  1905. package/mobile/lib/model/ControlProps.js.map +1 -0
  1906. package/mobile/lib/model/DefaultControlType.d.ts +5 -5
  1907. package/mobile/lib/model/DisabledProps.d.ts +3 -0
  1908. package/mobile/lib/model/DisabledProps.js +2 -0
  1909. package/mobile/lib/model/DisabledProps.js.map +1 -0
  1910. package/mobile/lib/model/LinkProps.d.ts +1 -1
  1911. package/mobile/lib/model/OnClickProps.d.ts +3 -0
  1912. package/mobile/lib/model/OnClickProps.js +2 -0
  1913. package/mobile/lib/model/OnClickProps.js.map +1 -0
  1914. package/mobile/lib/model/OnCloseProps.d.ts +3 -0
  1915. package/mobile/lib/model/OnCloseProps.js +2 -0
  1916. package/mobile/lib/model/OnCloseProps.js.map +1 -0
  1917. package/mobile/lib/model/Picture.d.ts +2 -2
  1918. package/mobile/lib/model/PlaceholderProps.d.ts +3 -0
  1919. package/mobile/lib/model/PlaceholderProps.js +2 -0
  1920. package/mobile/lib/model/PlaceholderProps.js.map +1 -0
  1921. package/mobile/lib/model/onClick.d.ts +3 -0
  1922. package/mobile/lib/model/onClick.js +2 -0
  1923. package/mobile/lib/model/onClick.js.map +1 -0
  1924. package/mobile/lib/model/onClose.d.ts +3 -0
  1925. package/mobile/lib/model/onClose.js +2 -0
  1926. package/mobile/lib/model/onClose.js.map +1 -0
  1927. package/mobile/lib/retail/adaptors/getCreditFormTaskData.js +0 -3
  1928. package/mobile/lib/retail/adaptors/getCreditFormTaskData.js.map +1 -1
  1929. package/mobile/lib/retail/adaptors/getEmploymentData.js +3 -3
  1930. package/mobile/lib/retail/adaptors/getEmploymentData.js.map +1 -1
  1931. package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
  1932. package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  1933. package/mobile/lib/retail/adaptors/getPersonalInfoData.js +4 -2
  1934. package/mobile/lib/retail/adaptors/getPersonalInfoData.js.map +1 -1
  1935. package/mobile/lib/retail/api/getCardTypes.d.ts +2 -2
  1936. package/mobile/lib/retail/api/getCardTypes.js.map +1 -1
  1937. package/mobile/lib/retail/api/updateUserTask.d.ts +1 -1
  1938. package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  1939. package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  1940. package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  1941. package/mobile/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  1942. package/mobile/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
  1943. package/mobile/lib/retail/components/DaDataInputControl/DaDataInputControl.js +4 -19
  1944. package/mobile/lib/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
  1945. package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  1946. package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  1947. package/mobile/lib/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  1948. package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js +1 -1
  1949. package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  1950. package/mobile/lib/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  1951. package/mobile/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
  1952. package/mobile/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  1953. package/mobile/lib/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  1954. package/mobile/lib/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
  1955. package/mobile/lib/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  1956. package/mobile/lib/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
  1957. package/mobile/lib/retail/components/Fields/BeginDateField.js +1 -1
  1958. package/mobile/lib/retail/components/Fields/BeginDateField.js.map +1 -1
  1959. package/mobile/lib/retail/components/Fields/DaDataInnField.js +10 -3
  1960. package/mobile/lib/retail/components/Fields/DaDataInnField.js.map +1 -1
  1961. package/mobile/lib/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  1962. package/mobile/lib/retail/components/Fields/InitiateBankruptcyFlgField.js +5 -0
  1963. package/mobile/lib/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
  1964. package/mobile/lib/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
  1965. package/mobile/lib/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
  1966. package/mobile/lib/retail/components/Fields/RegionRetailField.js +8 -3
  1967. package/mobile/lib/retail/components/Fields/RegionRetailField.js.map +1 -1
  1968. package/mobile/lib/retail/components/Fields/SelectField.d.ts +4 -4
  1969. package/mobile/lib/retail/components/Fields/SelectField.js.map +1 -1
  1970. package/mobile/lib/retail/components/FormStatus/FormStatus.d.ts +2 -4
  1971. package/mobile/lib/retail/components/FormStatus/FormStatus.js.map +1 -1
  1972. package/mobile/lib/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  1973. package/mobile/lib/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
  1974. package/mobile/lib/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
  1975. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  1976. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  1977. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  1978. package/mobile/lib/retail/content.d.ts +2 -8
  1979. package/mobile/lib/retail/content.js +2 -350
  1980. package/mobile/lib/retail/content.js.map +1 -1
  1981. package/mobile/lib/retail/inputs.d.ts +1 -1
  1982. package/mobile/lib/retail/inputs.js +2 -1
  1983. package/mobile/lib/retail/inputs.js.map +1 -1
  1984. package/mobile/lib/retail/model/LeadFormData.d.ts +2 -2
  1985. package/mobile/lib/retail/model/LeadFormState.d.ts +4 -2
  1986. package/mobile/lib/retail/model/NameFieldDef.d.ts +1 -1
  1987. package/mobile/lib/retail/model/RetailFormContent.d.ts +2 -2
  1988. package/mobile/lib/retail/utils/calculateInputs.js +2 -0
  1989. package/mobile/lib/retail/utils/calculateInputs.js.map +1 -1
  1990. package/mobile/lib/retail/utils/getMainFormStateMap.d.ts +2 -0
  1991. package/mobile/lib/retail/utils/getMainFormStateMap.js +67 -0
  1992. package/mobile/lib/retail/utils/getMainFormStateMap.js.map +1 -0
  1993. package/mobile/lib/retail/utils/getOrganizationParams.d.ts +1 -1
  1994. package/mobile/lib/retail/utils/getOrganizationParams.js.map +1 -1
  1995. package/mobile/lib/retail/utils/renderStep.js +8 -2
  1996. package/mobile/lib/retail/utils/renderStep.js.map +1 -1
  1997. package/mobile/lib/retail/validator/validatorObj.js +3 -3
  1998. package/mobile/lib/retail/validator/validatorObj.js.map +1 -1
  1999. package/mobile/lib/retail/validator/validators.d.ts +1 -0
  2000. package/mobile/lib/retail/validator/validators.js +1 -0
  2001. package/mobile/lib/retail/validator/validators.js.map +1 -1
  2002. package/mobile/lib/services/search/search.d.ts +2 -2
  2003. package/mobile/lib/services/search/search.js.map +1 -1
  2004. package/mobile/lib/services/search/textRank.d.ts +1 -1
  2005. package/mobile/lib/services/search/textRank.js.map +1 -1
  2006. package/mobile/lib/services/search/useSearch.js +8 -5
  2007. package/mobile/lib/services/search/useSearch.js.map +1 -1
  2008. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  2009. package/mobile/lib/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  2010. package/mobile/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  2011. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  2012. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -1
  2013. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  2014. package/mobile/lib/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  2015. package/mobile/lib/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
  2016. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  2017. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  2018. package/mobile/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  2019. package/mobile/lib/ui-kit/Button/Button.d.ts +3 -3
  2020. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  2021. package/mobile/lib/ui-kit/Button/ButtonTitle.d.ts +2 -5
  2022. package/mobile/lib/ui-kit/Button/ButtonTitle.js.map +1 -1
  2023. package/mobile/lib/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  2024. package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
  2025. package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  2026. package/mobile/lib/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  2027. package/mobile/lib/ui-kit/Calculator/UnknownRate.js.map +1 -1
  2028. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  2029. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  2030. package/mobile/lib/ui-kit/Calculator/renderRate.d.ts +2 -2
  2031. package/mobile/lib/ui-kit/Calculator/renderRate.js.map +1 -1
  2032. package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  2033. package/mobile/lib/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  2034. package/mobile/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
  2035. package/mobile/lib/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  2036. package/mobile/lib/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
  2037. package/mobile/lib/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  2038. package/mobile/lib/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  2039. package/mobile/lib/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  2040. package/mobile/lib/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
  2041. package/mobile/lib/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  2042. package/mobile/lib/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
  2043. package/mobile/lib/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  2044. package/mobile/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
  2045. package/mobile/lib/ui-kit/DialogManager/Dialog.d.ts +3 -3
  2046. package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
  2047. package/mobile/lib/ui-kit/DialogManager/useDialog.d.ts +2 -3
  2048. package/mobile/lib/ui-kit/DialogManager/useDialog.js.map +1 -1
  2049. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  2050. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  2051. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +2 -2
  2052. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  2053. package/mobile/lib/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  2054. package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
  2055. package/mobile/lib/ui-kit/FormField/getObjectValidator.js +1 -1
  2056. package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  2057. package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +2 -3
  2058. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  2059. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +2 -2
  2060. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +2 -2
  2061. package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  2062. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +2 -3
  2063. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  2064. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +4 -6
  2065. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  2066. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  2067. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  2068. package/mobile/lib/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  2069. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  2070. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  2071. package/mobile/lib/ui-kit/Input/InputControl.js +4 -20
  2072. package/mobile/lib/ui-kit/Input/InputControl.js.map +1 -1
  2073. package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -2
  2074. package/mobile/lib/ui-kit/Input/InputWrapper.d.ts +8 -0
  2075. package/mobile/lib/ui-kit/Input/InputWrapper.js +23 -0
  2076. package/mobile/lib/ui-kit/Input/InputWrapper.js.map +1 -0
  2077. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  2078. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  2079. package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  2080. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  2081. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  2082. package/mobile/lib/ui-kit/Link/Link.d.ts +2 -2
  2083. package/mobile/lib/ui-kit/Link/Link.js.map +1 -1
  2084. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
  2085. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  2086. package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  2087. package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  2088. package/mobile/lib/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  2089. package/mobile/lib/ui-kit/LinkButton/renderArrows.js.map +1 -1
  2090. package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  2091. package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
  2092. package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  2093. package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  2094. package/mobile/lib/ui-kit/ListControlProps.d.ts +1 -1
  2095. package/mobile/lib/ui-kit/Loader/Loader.d.ts +1 -1
  2096. package/mobile/lib/ui-kit/Loader/Loader.js.map +1 -1
  2097. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  2098. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  2099. package/mobile/lib/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  2100. package/mobile/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  2101. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  2102. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  2103. package/mobile/lib/ui-kit/Radio/RadioProps.d.ts +3 -4
  2104. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  2105. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  2106. package/mobile/lib/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  2107. package/mobile/lib/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
  2108. package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  2109. package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  2110. package/mobile/lib/ui-kit/SVG.d.ts +2 -2
  2111. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  2112. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  2113. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  2114. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  2115. package/mobile/lib/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  2116. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  2117. package/mobile/lib/ui-kit/Select/Option.d.ts +1 -1
  2118. package/mobile/lib/ui-kit/Select/Select.d.ts +1 -2
  2119. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  2120. package/mobile/lib/ui-kit/Select/SelectPopup.d.ts +2 -3
  2121. package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
  2122. package/mobile/lib/ui-kit/Select/useSelectPopup.d.ts +2 -2
  2123. package/mobile/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
  2124. package/mobile/lib/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  2125. package/mobile/lib/ui-kit/Shimmer/Shimmer.js.map +1 -1
  2126. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  2127. package/mobile/lib/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  2128. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  2129. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  2130. package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  2131. package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  2132. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  2133. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  2134. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  2135. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  2136. package/mobile/lib/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  2137. package/mobile/lib/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  2138. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  2139. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  2140. package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  2141. package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  2142. package/mobile/lib/ui-kit/TabsControl/TabItem.js +3 -2
  2143. package/mobile/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  2144. package/mobile/lib/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  2145. package/mobile/lib/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  2146. package/mobile/lib/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
  2147. package/mobile/lib/ui-kit/Tags/Tags.d.ts +2 -2
  2148. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  2149. package/mobile/lib/ui-kit/TimerCircle/Timer.d.ts +2 -2
  2150. package/mobile/lib/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  2151. package/mobile/lib/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
  2152. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +3 -3
  2153. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  2154. package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  2155. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  2156. package/mobile/lib/utils/adjustBase.js +4 -1
  2157. package/mobile/lib/utils/adjustBase.js.map +1 -1
  2158. package/mobile/lib/utils/isCyrilic.js +1 -1
  2159. package/mobile/lib/utils/isCyrilic.js.map +1 -1
  2160. package/mobile/src/UniBlock/UniBlockProps.ts +2 -2
  2161. package/mobile/src/components/ApplicationForm/Footnote.tsx +1 -1
  2162. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +6 -8
  2163. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +6 -0
  2164. package/mobile/src/components/ApplicationLeadForm/EsiaLoginBanner.tsx +12 -7
  2165. package/mobile/src/components/ApplicationLeadForm/Footnote.tsx +1 -1
  2166. package/mobile/src/components/ApplicationLeadForm/applicationFormData.tsx +0 -1
  2167. package/mobile/src/components/ApplicationLeadForm/consents.ts +2 -6
  2168. package/mobile/src/components/ApplicationLeadForm/parseEsiaProfile.ts +3 -13
  2169. package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -3
  2170. package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -2
  2171. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  2172. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -1
  2173. package/mobile/src/components/Blocks.ts +0 -20
  2174. package/mobile/src/components/CalculatorBonus/CalculatorBonus.tsx +0 -1
  2175. package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +3 -3
  2176. package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -1
  2177. package/mobile/src/components/CalculatorDeposit/CalculatorDeposit.tsx +0 -1
  2178. package/mobile/src/components/CalculatorDeposit/renderDepositResult.tsx +0 -1
  2179. package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
  2180. package/mobile/src/components/CardTransfer/CardTransfer.tsx +5 -18
  2181. package/mobile/src/components/CardTransfer/SubmitFailedDialog.tsx +4 -4
  2182. package/mobile/src/components/Carousel/renderCardHighlight.tsx +3 -4
  2183. package/mobile/src/components/Carousel/renderCarouselCards.tsx +2 -6
  2184. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
  2185. package/mobile/src/components/CreditCardForm/SuccessStatusCardContent.tsx +1 -1
  2186. package/mobile/src/components/CreditCardForm/creditCardFormStepsData.tsx +246 -6
  2187. package/mobile/src/components/CreditCardForm/formStateMap.tsx +2 -2
  2188. package/mobile/src/components/CreditForm/CreditForm.tsx +1 -2
  2189. package/mobile/src/components/CreditForm/SuccessStatusContent.tsx +1 -1
  2190. package/mobile/src/components/CreditForm/creditFormStepsData.tsx +194 -6
  2191. package/mobile/src/components/CreditForm/formStateMap.tsx +2 -2
  2192. package/mobile/src/components/CreditForm/getCalcData.ts +1 -1
  2193. package/mobile/src/components/CreditForm/useCreditFormAPI.tsx +1 -1
  2194. package/mobile/src/components/DebitForm/DebitFormStatus.tsx +9 -10
  2195. package/mobile/src/components/DebitForm/DebitFormStepsData.tsx +71 -6
  2196. package/mobile/src/components/Footer/Contacts.tsx +2 -2
  2197. package/mobile/src/components/Footer/FooterLink.ts +2 -2
  2198. package/mobile/src/components/Footer/HorizontalNavigation.tsx +1 -1
  2199. package/mobile/src/components/Footer/LinkList.tsx +2 -2
  2200. package/mobile/src/components/Footer/SocialMedia.tsx +2 -2
  2201. package/mobile/src/components/Footer/TextInformationLink.tsx +1 -1
  2202. package/mobile/src/components/GalleryLayout/GalleryLayout.tsx +33 -51
  2203. package/mobile/src/components/GalleryLayout/useSortProductBlocks.ts +25 -0
  2204. package/mobile/src/components/GalleryLayout/utils.ts +35 -0
  2205. package/mobile/src/components/Header/DropdownMenu.tsx +2 -2
  2206. package/mobile/src/components/Header/HeaderChatBotButton.tsx +20 -14
  2207. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +11 -13
  2208. package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +7 -3
  2209. package/mobile/src/components/Header/HeaderSubMenu.tsx +0 -1
  2210. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -2
  2211. package/mobile/src/components/Header/HeaderTop.tsx +1 -6
  2212. package/mobile/src/components/Header/HeaderTopMenu.tsx +3 -7
  2213. package/mobile/src/components/Header/HeaderTopMenuItem.tsx +2 -2
  2214. package/mobile/src/components/Headline/Headline.tsx +1 -1
  2215. package/mobile/src/components/OfficesAtmsMap/AtmsMap.tsx +2 -2
  2216. package/mobile/src/components/OfficesAtmsMap/Badge.tsx +2 -2
  2217. package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +3 -3
  2218. package/mobile/src/components/OfficesAtmsMap/CardRow.tsx +2 -5
  2219. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +3 -3
  2220. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -4
  2221. package/mobile/src/components/OfficesAtmsMap/OfficesMap.tsx +2 -5
  2222. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -11
  2223. package/mobile/src/components/ProductBlock/ProductBlock.tsx +0 -1
  2224. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
  2225. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +1 -1
  2226. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -2
  2227. package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +2 -2
  2228. package/mobile/src/components/StickyBottomMenu/StickyBottomMenuDialog.tsx +3 -3
  2229. package/mobile/src/components/StickyBottomMenu/useBottomMenuItemDialog.tsx +2 -2
  2230. package/mobile/src/components/StickyBottomMenu/useBurgerMenuDialog.tsx +2 -2
  2231. package/mobile/src/components/TabsLayout/renderTabsLayout.tsx +2 -2
  2232. package/mobile/src/components/TariffsTable/TableCarouselContainer.tsx +3 -10
  2233. package/mobile/src/components/TariffsTable/TariffsTable.example.json +1 -34
  2234. package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -13
  2235. package/mobile/src/components/TariffsTable/TariffsTable.ui.json +0 -3
  2236. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +37 -35
  2237. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +8 -85
  2238. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +9 -49
  2239. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +7 -13
  2240. package/mobile/src/components/TariffsTable/TariffsTableWrapper.tsx +5 -25
  2241. package/mobile/src/components/TariffsTable/dataFixture.tsx +9 -22
  2242. package/mobile/src/components/TariffsTable/renderCell.tsx +42 -0
  2243. package/mobile/src/components/TariffsTable/renderHeader.tsx +19 -0
  2244. package/mobile/src/components/TariffsTable/renderInnerTableCell.tsx +0 -0
  2245. package/mobile/src/data/CommonData.ts +4 -3
  2246. package/mobile/src/hooks/useAspects/aspects/forwardQuery.ts +1 -1
  2247. package/mobile/src/hooks/useAspects/handleAspects.ts +6 -2
  2248. package/mobile/src/hooks/useAspects/useAspects.ts +1 -1
  2249. package/mobile/src/hooks/useForm/useForm.ts +1 -1
  2250. package/mobile/src/hooks/useLink.ts +3 -1
  2251. package/mobile/src/model/CommonInputProps.ts +12 -0
  2252. package/mobile/src/model/ComponentType.ts +4 -0
  2253. package/mobile/src/model/ContentPageBase.ts +2 -3
  2254. package/mobile/src/model/DefaultControlType.ts +10 -5
  2255. package/mobile/src/model/DisabledProps.ts +3 -0
  2256. package/mobile/src/model/LinkProps.ts +1 -1
  2257. package/mobile/src/model/OnClickProps.ts +3 -0
  2258. package/mobile/src/model/OnCloseProps.ts +3 -0
  2259. package/mobile/src/model/Picture.ts +2 -2
  2260. package/mobile/src/model/PlaceholderProps.ts +3 -0
  2261. package/mobile/src/model/onClick.ts +3 -0
  2262. package/mobile/src/model/onClose.ts +3 -0
  2263. package/mobile/src/retail/adaptors/getCreditFormTaskData.ts +0 -3
  2264. package/mobile/src/retail/adaptors/getEmploymentData.tsx +3 -3
  2265. package/mobile/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +2 -0
  2266. package/mobile/src/retail/adaptors/getPersonalInfoData.tsx +4 -2
  2267. package/mobile/src/retail/api/getCardTypes.ts +2 -2
  2268. package/mobile/src/retail/api/updateUserTask.ts +1 -1
  2269. package/mobile/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +6 -6
  2270. package/mobile/src/retail/components/ConsentBkiDialog/ConsentBkiDialog.tsx +2 -2
  2271. package/mobile/src/retail/components/DaDataInputControl/DaDataInputControl.tsx +11 -57
  2272. package/mobile/src/retail/components/DocumentDialog/DocumentDialog.tsx +2 -2
  2273. package/mobile/src/retail/components/DraftDialog/DraftActionButton.tsx +12 -9
  2274. package/mobile/src/retail/components/DraftDialog/DraftDialog.tsx +3 -3
  2275. package/mobile/src/retail/components/DraftDialog/EmptyDraftDialog.tsx +2 -5
  2276. package/mobile/src/retail/components/DraftDialog/useDraftDialog.tsx +2 -2
  2277. package/mobile/src/retail/components/Fields/BeginDateField.tsx +1 -0
  2278. package/mobile/src/retail/components/Fields/DaDataInnField.tsx +14 -6
  2279. package/mobile/src/retail/components/Fields/InitiateBankruptcyFlgField.tsx +10 -0
  2280. package/mobile/src/retail/components/Fields/ParticipantDateRegistrationField.tsx +5 -1
  2281. package/mobile/src/retail/components/Fields/RegionRetailField.tsx +12 -3
  2282. package/mobile/src/retail/components/Fields/SelectField.tsx +9 -4
  2283. package/mobile/src/retail/components/FormStatus/FormStatus.tsx +17 -14
  2284. package/mobile/src/retail/components/VerifyPhoneDialog/SubmitButton.tsx +7 -9
  2285. package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +5 -5
  2286. package/mobile/src/retail/content.tsx +3 -352
  2287. package/mobile/src/retail/inputs.tsx +2 -1
  2288. package/mobile/src/retail/model/LeadFormData.ts +3 -2
  2289. package/mobile/src/retail/model/LeadFormState.ts +4 -2
  2290. package/mobile/src/retail/model/NameFieldDef.ts +1 -0
  2291. package/mobile/src/retail/model/RetailFormContent.ts +3 -2
  2292. package/mobile/src/retail/utils/calculateInputs.ts +4 -0
  2293. package/mobile/src/retail/utils/getMainFormStateMap.ts +68 -0
  2294. package/mobile/src/retail/utils/getOrganizationParams.ts +1 -1
  2295. package/mobile/src/retail/utils/renderStep.tsx +9 -4
  2296. package/mobile/src/retail/validator/validatorObj.ts +3 -2
  2297. package/mobile/src/retail/validator/validators.ts +3 -0
  2298. package/mobile/src/services/search/search.ts +2 -2
  2299. package/mobile/src/services/search/textRank.ts +1 -1
  2300. package/mobile/src/services/search/useSearch.ts +33 -22
  2301. package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationContent.ts +1 -1
  2302. package/mobile/src/ui-kit/BaseFiltration/FiltrationSchemaContent.ts +1 -7
  2303. package/mobile/src/ui-kit/BaseFiltration/HotFilterBase.ts +1 -1
  2304. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -5
  2305. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +1 -1
  2306. package/mobile/src/ui-kit/BaseTile/renderImageContainer.tsx +2 -1
  2307. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -4
  2308. package/mobile/src/ui-kit/BenefitsList/BenefitsListProps.ts +2 -2
  2309. package/mobile/src/ui-kit/Button/Button.tsx +3 -3
  2310. package/mobile/src/ui-kit/Button/ButtonTitle.tsx +2 -5
  2311. package/mobile/src/ui-kit/Calculator/CalculatorProps.ts +2 -3
  2312. package/mobile/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
  2313. package/mobile/src/ui-kit/Calculator/UnknownRate.tsx +2 -5
  2314. package/mobile/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +9 -6
  2315. package/mobile/src/ui-kit/Calculator/renderRate.tsx +3 -2
  2316. package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +3 -7
  2317. package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +4 -4
  2318. package/mobile/src/ui-kit/DatePicker/DatePickerControl.tsx +2 -1
  2319. package/mobile/src/ui-kit/DatePicker/DatePickerInput.tsx +4 -4
  2320. package/mobile/src/ui-kit/DatePicker/renderDatePickerForm.tsx +9 -9
  2321. package/mobile/src/ui-kit/DatePicker/useDatePickerManager.ts +3 -6
  2322. package/mobile/src/ui-kit/DialogManager/CloseButton.tsx +2 -2
  2323. package/mobile/src/ui-kit/DialogManager/Dialog.tsx +3 -3
  2324. package/mobile/src/ui-kit/DialogManager/useDialog.tsx +2 -1
  2325. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
  2326. package/mobile/src/ui-kit/Foldable/Foldable.tsx +2 -3
  2327. package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +2 -2
  2328. package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
  2329. package/mobile/src/ui-kit/Heading/HeadingProps.ts +2 -4
  2330. package/mobile/src/ui-kit/Icon/Icon.tsx +2 -1
  2331. package/mobile/src/ui-kit/Icon/IconProps.ts +7 -6
  2332. package/mobile/src/ui-kit/Img/ImgProps.ts +2 -2
  2333. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +4 -8
  2334. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +19 -21
  2335. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +5 -5
  2336. package/mobile/src/ui-kit/InnerTable/InnerTableProps.ts +2 -4
  2337. package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
  2338. package/mobile/src/ui-kit/Input/InputControl.tsx +5 -68
  2339. package/mobile/src/ui-kit/Input/InputProps.ts +2 -2
  2340. package/mobile/src/ui-kit/Input/InputWrapper.tsx +78 -0
  2341. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
  2342. package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +3 -3
  2343. package/mobile/src/ui-kit/InputRange/renderRangeWithTicks.tsx +3 -4
  2344. package/mobile/src/ui-kit/Link/Link.tsx +2 -2
  2345. package/mobile/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
  2346. package/mobile/src/ui-kit/LinkButton/GetButtonClassParams.ts +2 -2
  2347. package/mobile/src/ui-kit/LinkButton/LinkButtonProps.ts +6 -6
  2348. package/mobile/src/ui-kit/LinkButton/renderArrows.tsx +10 -9
  2349. package/mobile/src/ui-kit/LinkButton/renderButtonsSection.tsx +2 -2
  2350. package/mobile/src/ui-kit/LinkWrapper/LinkWrapper.tsx +4 -8
  2351. package/mobile/src/ui-kit/ListControlProps.ts +1 -1
  2352. package/mobile/src/ui-kit/Loader/Loader.tsx +1 -1
  2353. package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +2 -2
  2354. package/mobile/src/ui-kit/LocationDialog/SearchBar.tsx +2 -2
  2355. package/mobile/src/ui-kit/ProgressBar/ProgressBar.tsx +3 -3
  2356. package/mobile/src/ui-kit/Radio/RadioProps.ts +4 -4
  2357. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -3
  2358. package/mobile/src/ui-kit/ReportDialog/ReportDialog.tsx +2 -2
  2359. package/mobile/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +2 -2
  2360. package/mobile/src/ui-kit/SVG.tsx +2 -2
  2361. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  2362. package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +2 -2
  2363. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +4 -5
  2364. package/mobile/src/ui-kit/Select/Option.ts +1 -1
  2365. package/mobile/src/ui-kit/Select/Select.tsx +1 -2
  2366. package/mobile/src/ui-kit/Select/SelectPopup.tsx +2 -3
  2367. package/mobile/src/ui-kit/Select/useSelectPopup.tsx +2 -2
  2368. package/mobile/src/ui-kit/Shimmer/Shimmer.tsx +2 -2
  2369. package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +2 -1
  2370. package/mobile/src/ui-kit/Sitemap/SitemapProps.ts +2 -2
  2371. package/mobile/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +6 -6
  2372. package/mobile/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +3 -3
  2373. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +2 -2
  2374. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  2375. package/mobile/src/ui-kit/SwipeListControl/SwipeListDots.tsx +3 -2
  2376. package/mobile/src/ui-kit/SwipeListControl/SwipeListItem.tsx +2 -2
  2377. package/mobile/src/ui-kit/SwipeListControl/SwipeListScrollButtons.tsx +2 -2
  2378. package/mobile/src/ui-kit/TabsControl/TabItem.tsx +8 -3
  2379. package/mobile/src/ui-kit/TabsControl/TabsControlProps.ts +2 -2
  2380. package/mobile/src/ui-kit/TabsControl/renderTabItemInner.tsx +2 -3
  2381. package/mobile/src/ui-kit/Tags/Tags.tsx +2 -3
  2382. package/mobile/src/ui-kit/TimerCircle/Timer.tsx +2 -2
  2383. package/mobile/src/ui-kit/TimerCircle/TimerCircle.tsx +2 -2
  2384. package/mobile/src/ui-kit/TopItem/TopItem.tsx +3 -3
  2385. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
  2386. package/mobile/src/utils/adjustBase.ts +6 -1
  2387. package/mobile/src/utils/isCyrilic.ts +1 -1
  2388. package/package.json +10 -10
  2389. package/src/UniBlock/UniBlockProps.ts +2 -2
  2390. package/src/components/ApplicationForm/Footnote.tsx +1 -1
  2391. package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +6 -8
  2392. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +6 -0
  2393. package/src/components/ApplicationLeadForm/EsiaLoginBanner.tsx +12 -7
  2394. package/src/components/ApplicationLeadForm/Footnote.tsx +1 -1
  2395. package/src/components/ApplicationLeadForm/applicationFormData.tsx +0 -1
  2396. package/src/components/ApplicationLeadForm/consents.ts +2 -6
  2397. package/src/components/ApplicationLeadForm/parseEsiaProfile.ts +3 -13
  2398. package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -3
  2399. package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -2
  2400. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  2401. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -1
  2402. package/src/components/Blocks.mobile.ts +0 -20
  2403. package/src/components/Blocks.ts +0 -26
  2404. package/src/components/CalculatorBonus/CalculatorBonus.tsx +0 -1
  2405. package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +3 -3
  2406. package/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -1
  2407. package/src/components/CalculatorDeposit/CalculatorDeposit.tsx +0 -1
  2408. package/src/components/CalculatorDeposit/renderDepositResult.tsx +0 -1
  2409. package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
  2410. package/src/components/CardTransfer/CardTransfer.tsx +5 -18
  2411. package/src/components/CardTransfer/SubmitFailedDialog.tsx +4 -4
  2412. package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -16
  2413. package/src/components/Carousel/Carousel.fixture.tsx +0 -35
  2414. package/src/components/Carousel/renderCardHighlight.tsx +3 -4
  2415. package/src/components/Carousel/renderCarouselCards.tsx +2 -6
  2416. package/src/components/ContentPage/ContentPage.tsx +2 -2
  2417. package/src/components/CreditCardForm/SuccessStatusCardContent.tsx +1 -1
  2418. package/src/components/CreditCardForm/creditCardFormStepsData.tsx +246 -6
  2419. package/src/components/CreditCardForm/formStateMap.tsx +2 -2
  2420. package/src/components/CreditForm/CreditForm.tsx +1 -2
  2421. package/src/components/CreditForm/SuccessStatusContent.tsx +1 -1
  2422. package/src/components/CreditForm/creditFormStepsData.tsx +194 -6
  2423. package/src/components/CreditForm/formStateMap.tsx +2 -2
  2424. package/src/components/CreditForm/getCalcData.ts +1 -1
  2425. package/src/components/CreditForm/useCreditFormAPI.tsx +1 -1
  2426. package/src/components/DebitForm/DebitFormStatus.tsx +9 -10
  2427. package/src/components/DebitForm/DebitFormStepsData.tsx +71 -6
  2428. package/src/components/Footer/Contacts.tsx +2 -2
  2429. package/src/components/Footer/FooterLink.ts +2 -2
  2430. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  2431. package/src/components/Footer/LinkList.tsx +2 -2
  2432. package/src/components/Footer/SocialMedia.tsx +2 -2
  2433. package/src/components/Footer/TextInformationLink.tsx +1 -1
  2434. package/src/components/GalleryLayout/GalleryLayout.tsx +33 -51
  2435. package/src/components/GalleryLayout/useSortProductBlocks.ts +25 -0
  2436. package/src/components/GalleryLayout/utils.ts +35 -0
  2437. package/src/components/Header/DropdownMenu.tsx +2 -2
  2438. package/src/components/Header/HeaderChatBotButton.tsx +20 -14
  2439. package/src/components/Header/HeaderSecondaryMenu.tsx +11 -13
  2440. package/src/components/Header/HeaderSecondaryMenuButton.tsx +7 -3
  2441. package/src/components/Header/HeaderSubMenu.tsx +0 -1
  2442. package/src/components/Header/HeaderSubMenuItem.tsx +2 -2
  2443. package/src/components/Header/HeaderTop.tsx +1 -6
  2444. package/src/components/Header/HeaderTopMenu.tsx +3 -7
  2445. package/src/components/Header/HeaderTopMenuItem.tsx +2 -2
  2446. package/src/components/Headline/Headline.tsx +1 -1
  2447. package/src/components/OfficesAtmsMap/AtmsMap.tsx +2 -2
  2448. package/src/components/OfficesAtmsMap/Badge.tsx +2 -2
  2449. package/src/components/OfficesAtmsMap/CardCell.tsx +3 -3
  2450. package/src/components/OfficesAtmsMap/CardRow.tsx +2 -5
  2451. package/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +3 -3
  2452. package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -4
  2453. package/src/components/OfficesAtmsMap/OfficesMap.tsx +2 -5
  2454. package/src/components/ProductBlock/ProductBlock.example.json +1 -11
  2455. package/src/components/ProductBlock/ProductBlock.fixture.tsx +0 -28
  2456. package/src/components/ProductBlock/ProductBlock.tsx +0 -1
  2457. package/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
  2458. package/src/components/StepsBlock/StepsBlockContent.ts +1 -1
  2459. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -2
  2460. package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +2 -2
  2461. package/src/components/StickyBottomMenu/StickyBottomMenuDialog.tsx +3 -3
  2462. package/src/components/StickyBottomMenu/useBottomMenuItemDialog.tsx +2 -2
  2463. package/src/components/StickyBottomMenu/useBurgerMenuDialog.tsx +2 -2
  2464. package/src/components/TabsLayout/renderTabsLayout.tsx +2 -2
  2465. package/src/components/TariffsTable/TableCarouselContainer.tsx +3 -10
  2466. package/src/components/TariffsTable/TariffsTable.example.json +1 -34
  2467. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +28 -2
  2468. package/src/components/TariffsTable/TariffsTable.tsx +6 -13
  2469. package/src/components/TariffsTable/TariffsTable.ui.json +0 -3
  2470. package/src/components/TariffsTable/TariffsTableCell.tsx +37 -35
  2471. package/src/components/TariffsTable/TariffsTableContent.ts +8 -85
  2472. package/src/components/TariffsTable/TariffsTableRow.tsx +9 -49
  2473. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +7 -13
  2474. package/src/components/TariffsTable/TariffsTableWrapper.tsx +5 -25
  2475. package/src/components/TariffsTable/dataFixture.tsx +9 -22
  2476. package/src/components/TariffsTable/renderCell.tsx +42 -0
  2477. package/src/components/TariffsTable/renderHeader.tsx +19 -0
  2478. package/src/components/TariffsTable/renderInnerTableCell.tsx +0 -0
  2479. package/src/data/CommonData.ts +4 -3
  2480. package/src/hooks/useAspects/aspects/forwardQuery.ts +1 -1
  2481. package/src/hooks/useAspects/handleAspects.ts +6 -2
  2482. package/src/hooks/useAspects/useAspects.ts +1 -1
  2483. package/src/hooks/useForm/useForm.ts +1 -1
  2484. package/src/hooks/useLink.ts +3 -1
  2485. package/src/model/CommonInputProps.ts +12 -0
  2486. package/src/model/ComponentType.ts +4 -0
  2487. package/src/model/ContentPageBase.ts +2 -3
  2488. package/src/model/DefaultControlType.ts +10 -5
  2489. package/src/model/DisabledProps.ts +3 -0
  2490. package/src/model/LinkProps.ts +1 -1
  2491. package/src/model/OnClickProps.ts +3 -0
  2492. package/src/model/OnCloseProps.ts +3 -0
  2493. package/src/model/Picture.ts +2 -2
  2494. package/src/model/PlaceholderProps.ts +3 -0
  2495. package/src/model/onClick.ts +3 -0
  2496. package/src/model/onClose.ts +3 -0
  2497. package/src/retail/adaptors/getCreditFormTaskData.ts +0 -3
  2498. package/src/retail/adaptors/getEmploymentData.tsx +3 -3
  2499. package/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +2 -0
  2500. package/src/retail/adaptors/getPersonalInfoData.tsx +4 -2
  2501. package/src/retail/api/getCardTypes.ts +2 -2
  2502. package/src/retail/api/updateUserTask.ts +1 -1
  2503. package/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +6 -6
  2504. package/src/retail/components/ConsentBkiDialog/ConsentBkiDialog.tsx +2 -2
  2505. package/src/retail/components/DaDataInputControl/DaDataInputControl.tsx +11 -57
  2506. package/src/retail/components/DocumentDialog/DocumentDialog.tsx +2 -2
  2507. package/src/retail/components/DraftDialog/DraftActionButton.tsx +12 -9
  2508. package/src/retail/components/DraftDialog/DraftDialog.tsx +3 -3
  2509. package/src/retail/components/DraftDialog/EmptyDraftDialog.tsx +2 -5
  2510. package/src/retail/components/DraftDialog/useDraftDialog.tsx +2 -2
  2511. package/src/retail/components/Fields/BeginDateField.tsx +1 -0
  2512. package/src/retail/components/Fields/DaDataInnField.tsx +14 -6
  2513. package/src/retail/components/Fields/InitiateBankruptcyFlgField.tsx +10 -0
  2514. package/src/retail/components/Fields/ParticipantDateRegistrationField.tsx +5 -1
  2515. package/src/retail/components/Fields/RegionRetailField.tsx +12 -3
  2516. package/src/retail/components/Fields/SelectField.tsx +9 -4
  2517. package/src/retail/components/FormStatus/FormStatus.tsx +17 -14
  2518. package/src/retail/components/VerifyPhoneDialog/SubmitButton.tsx +7 -9
  2519. package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +5 -5
  2520. package/src/retail/content.tsx +3 -352
  2521. package/src/retail/inputs.tsx +2 -1
  2522. package/src/retail/model/LeadFormData.ts +3 -2
  2523. package/src/retail/model/LeadFormState.ts +4 -2
  2524. package/src/retail/model/NameFieldDef.ts +1 -0
  2525. package/src/retail/model/RetailFormContent.ts +3 -2
  2526. package/src/retail/utils/calculateInputs.ts +4 -0
  2527. package/src/retail/utils/getMainFormStateMap.ts +68 -0
  2528. package/src/retail/utils/getOrganizationParams.ts +1 -1
  2529. package/src/retail/utils/renderStep.tsx +9 -4
  2530. package/src/retail/validator/validatorObj.ts +3 -2
  2531. package/src/retail/validator/validators.ts +3 -0
  2532. package/src/services/search/search.ts +2 -2
  2533. package/src/services/search/textRank.ts +1 -1
  2534. package/src/services/search/useSearch.ts +33 -22
  2535. package/src/ui-kit/BaseFiltration/BaseFiltrationContent.ts +1 -1
  2536. package/src/ui-kit/BaseFiltration/FiltrationSchemaContent.ts +1 -7
  2537. package/src/ui-kit/BaseFiltration/HotFilterBase.ts +1 -1
  2538. package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -5
  2539. package/src/ui-kit/BaseTile/BaseTile.tsx +1 -1
  2540. package/src/ui-kit/BaseTile/renderImageContainer.tsx +2 -1
  2541. package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -4
  2542. package/src/ui-kit/BenefitsList/BenefitsListProps.ts +2 -2
  2543. package/src/ui-kit/Button/Button.tsx +3 -3
  2544. package/src/ui-kit/Button/ButtonTitle.tsx +2 -5
  2545. package/src/ui-kit/Calculator/CalculatorProps.ts +2 -3
  2546. package/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
  2547. package/src/ui-kit/Calculator/UnknownRate.tsx +2 -5
  2548. package/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +9 -6
  2549. package/src/ui-kit/Calculator/renderRate.tsx +3 -2
  2550. package/src/ui-kit/Checkbox/CheckboxProps.ts +3 -7
  2551. package/src/ui-kit/DatePicker/DatePicker.tsx +4 -4
  2552. package/src/ui-kit/DatePicker/DatePickerControl.tsx +2 -1
  2553. package/src/ui-kit/DatePicker/DatePickerInput.tsx +4 -4
  2554. package/src/ui-kit/DatePicker/renderDatePickerForm.tsx +9 -9
  2555. package/src/ui-kit/DatePicker/useDatePickerManager.ts +3 -6
  2556. package/src/ui-kit/DialogManager/CloseButton.tsx +2 -2
  2557. package/src/ui-kit/DialogManager/Dialog.tsx +3 -3
  2558. package/src/ui-kit/DialogManager/useDialog.tsx +2 -1
  2559. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
  2560. package/src/ui-kit/Foldable/Foldable.tsx +2 -3
  2561. package/src/ui-kit/Foldable/FoldableSection.tsx +2 -2
  2562. package/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
  2563. package/src/ui-kit/Heading/HeadingProps.ts +2 -4
  2564. package/src/ui-kit/Icon/Icon.tsx +2 -1
  2565. package/src/ui-kit/Icon/IconProps.ts +7 -6
  2566. package/src/ui-kit/Img/ImgProps.ts +2 -2
  2567. package/src/ui-kit/InnerTable/InnerTable.fixture.mobile.tsx +1 -4
  2568. package/src/ui-kit/InnerTable/InnerTable.fixture.tsx +1 -4
  2569. package/src/ui-kit/InnerTable/InnerTable.tsx +4 -8
  2570. package/src/ui-kit/InnerTable/InnerTableBody.tsx +19 -21
  2571. package/src/ui-kit/InnerTable/InnerTableButton.tsx +5 -5
  2572. package/src/ui-kit/InnerTable/InnerTableProps.ts +2 -4
  2573. package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
  2574. package/src/ui-kit/Input/InputControl.tsx +5 -68
  2575. package/src/ui-kit/Input/InputProps.ts +2 -2
  2576. package/src/ui-kit/Input/InputWrapper.tsx +78 -0
  2577. package/src/ui-kit/InputRange/InputRange.tsx +1 -1
  2578. package/src/ui-kit/InputRange/InputRangeProps.ts +3 -3
  2579. package/src/ui-kit/InputRange/renderRangeWithTicks.tsx +3 -4
  2580. package/src/ui-kit/Link/Link.tsx +2 -2
  2581. package/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
  2582. package/src/ui-kit/LinkButton/GetButtonClassParams.ts +2 -2
  2583. package/src/ui-kit/LinkButton/LinkButtonProps.ts +6 -6
  2584. package/src/ui-kit/LinkButton/renderArrows.tsx +10 -9
  2585. package/src/ui-kit/LinkButton/renderButtonsSection.tsx +2 -2
  2586. package/src/ui-kit/LinkWrapper/LinkWrapper.tsx +4 -8
  2587. package/src/ui-kit/ListControlProps.ts +1 -1
  2588. package/src/ui-kit/Loader/Loader.tsx +1 -1
  2589. package/src/ui-kit/LocationDialog/LocationDialog.tsx +2 -2
  2590. package/src/ui-kit/LocationDialog/SearchBar.tsx +2 -2
  2591. package/src/ui-kit/ProgressBar/ProgressBar.fixture.tsx +4 -1
  2592. package/src/ui-kit/ProgressBar/ProgressBar.tsx +3 -3
  2593. package/src/ui-kit/Radio/RadioProps.ts +4 -4
  2594. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -3
  2595. package/src/ui-kit/ReportDialog/ReportDialog.tsx +2 -2
  2596. package/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +2 -2
  2597. package/src/ui-kit/SVG.tsx +2 -2
  2598. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  2599. package/src/ui-kit/SearchDialog/SearchDialog.tsx +2 -2
  2600. package/src/ui-kit/SearchDialog/SearchInput.tsx +4 -5
  2601. package/src/ui-kit/Select/Option.ts +1 -1
  2602. package/src/ui-kit/Select/Select.tsx +1 -2
  2603. package/src/ui-kit/Select/SelectPopup.tsx +2 -3
  2604. package/src/ui-kit/Select/useSelectPopup.tsx +2 -2
  2605. package/src/ui-kit/Shimmer/Shimmer.tsx +2 -2
  2606. package/src/ui-kit/Sitemap/Sitemap.mobile.tsx +2 -1
  2607. package/src/ui-kit/Sitemap/SitemapProps.ts +2 -2
  2608. package/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +6 -6
  2609. package/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +3 -3
  2610. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +2 -2
  2611. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  2612. package/src/ui-kit/SwipeListControl/SwipeListDots.tsx +3 -2
  2613. package/src/ui-kit/SwipeListControl/SwipeListItem.tsx +2 -2
  2614. package/src/ui-kit/SwipeListControl/SwipeListScrollButtons.tsx +2 -2
  2615. package/src/ui-kit/TabsControl/TabItem.tsx +8 -3
  2616. package/src/ui-kit/TabsControl/TabsControlProps.ts +2 -2
  2617. package/src/ui-kit/TabsControl/renderTabItemInner.tsx +2 -3
  2618. package/src/ui-kit/Tags/Tags.tsx +2 -3
  2619. package/src/ui-kit/TimerCircle/Timer.tsx +2 -2
  2620. package/src/ui-kit/TimerCircle/TimerCircle.tsx +2 -2
  2621. package/src/ui-kit/TopItem/TopItem.tsx +3 -3
  2622. package/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
  2623. package/src/utils/adjustBase.ts +6 -1
  2624. package/src/utils/isCyrilic.ts +1 -1
  2625. package/bundle/components/CarouselCard/CarouselCard.d.ts +0 -5
  2626. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  2627. package/bundle/components/CarouselCard/constants.d.ts +0 -2
  2628. package/bundle/components/CarouselCard/titleSize.d.ts +0 -1
  2629. package/bundle/components/CarouselCard/titleSize.mobile.d.ts +0 -1
  2630. package/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  2631. package/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  2632. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  2633. package/bundle/components/Depository/Depository.d.ts +0 -11
  2634. package/bundle/components/Depository/DepositoryContent.d.ts +0 -5
  2635. package/bundle/components/Depository/DepositoryFilter.d.ts +0 -9
  2636. package/bundle/components/Depository/DepositoryItem.d.ts +0 -2
  2637. package/bundle/components/Depository/useDepository.d.ts +0 -15
  2638. package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  2639. package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  2640. package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  2641. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  2642. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  2643. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  2644. package/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  2645. package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  2646. package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  2647. package/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -12
  2648. package/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  2649. package/bundle/components/GracePeriod/GracePeriod.d.ts +0 -5
  2650. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  2651. package/bundle/components/Header/useChatBot.d.ts +0 -5
  2652. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  2653. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  2654. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  2655. package/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  2656. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  2657. package/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  2658. package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  2659. package/bundle/components/Placeholder/Placeholder.d.ts +0 -5
  2660. package/bundle/components/Placeholder/PlaceholderContent.d.ts +0 -6
  2661. package/bundle/components/ProductGallery/ProductGallery.d.ts +0 -5
  2662. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  2663. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  2664. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  2665. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  2666. package/bundle/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  2667. package/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  2668. package/bundle/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  2669. package/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  2670. package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  2671. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  2672. package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  2673. package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  2674. package/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  2675. package/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  2676. package/bundle/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  2677. package/bundle/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  2678. package/bundle/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  2679. package/bundle/components/SafeDepositRental/utils.d.ts +0 -4
  2680. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  2681. package/bundle/components/TariffsTable/TableTileHeader.d.ts +0 -2
  2682. package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  2683. package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  2684. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  2685. package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  2686. package/bundle/components/TariffsTable/constants.d.ts +0 -4
  2687. package/bundle/components/UnitBlock/UnitBlock.d.ts +0 -6
  2688. package/bundle/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  2689. package/bundle/retail/utils/mainFormStateMap.d.ts +0 -2
  2690. package/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  2691. package/bundle/ui-kit/ControlStateProps.d.ts +0 -3
  2692. package/bundle/ui-kit/Rating/Rating.d.ts +0 -1
  2693. package/bundle/ui-kit/Unit/Unit.d.ts +0 -2
  2694. package/bundle/ui-kit/Unit/UnitProps.d.ts +0 -8
  2695. package/dist/components/CarouselCard/CarouselCard.d.ts +0 -5
  2696. package/dist/components/CarouselCard/CarouselCard.js +0 -16
  2697. package/dist/components/CarouselCard/CarouselCard.js.map +0 -1
  2698. package/dist/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  2699. package/dist/components/CarouselCard/CarouselCardContent.js +0 -2
  2700. package/dist/components/CarouselCard/CarouselCardContent.js.map +0 -1
  2701. package/dist/components/CarouselCard/constants.d.ts +0 -2
  2702. package/dist/components/CarouselCard/constants.js +0 -7
  2703. package/dist/components/CarouselCard/constants.js.map +0 -1
  2704. package/dist/components/CarouselCard/titleSize.d.ts +0 -1
  2705. package/dist/components/CarouselCard/titleSize.js +0 -4
  2706. package/dist/components/CarouselCard/titleSize.js.map +0 -1
  2707. package/dist/components/CarouselCard/titleSize.mobile.d.ts +0 -1
  2708. package/dist/components/CarouselCard/titleSize.mobile.js +0 -4
  2709. package/dist/components/CarouselCard/titleSize.mobile.js.map +0 -1
  2710. package/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  2711. package/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
  2712. package/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  2713. package/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  2714. package/dist/components/CarouselLinks/CarouselLinks.js +0 -11
  2715. package/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
  2716. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  2717. package/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
  2718. package/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  2719. package/dist/components/Depository/Depository.d.ts +0 -11
  2720. package/dist/components/Depository/Depository.js +0 -42
  2721. package/dist/components/Depository/Depository.js.map +0 -1
  2722. package/dist/components/Depository/DepositoryContent.d.ts +0 -5
  2723. package/dist/components/Depository/DepositoryContent.js +0 -2
  2724. package/dist/components/Depository/DepositoryContent.js.map +0 -1
  2725. package/dist/components/Depository/DepositoryFilter.d.ts +0 -9
  2726. package/dist/components/Depository/DepositoryFilter.js +0 -9
  2727. package/dist/components/Depository/DepositoryFilter.js.map +0 -1
  2728. package/dist/components/Depository/DepositoryItem.d.ts +0 -2
  2729. package/dist/components/Depository/DepositoryItem.js +0 -15
  2730. package/dist/components/Depository/DepositoryItem.js.map +0 -1
  2731. package/dist/components/Depository/useDepository.d.ts +0 -15
  2732. package/dist/components/Depository/useDepository.js +0 -22
  2733. package/dist/components/Depository/useDepository.js.map +0 -1
  2734. package/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  2735. package/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
  2736. package/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  2737. package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  2738. package/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
  2739. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  2740. package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  2741. package/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
  2742. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  2743. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  2744. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
  2745. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  2746. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  2747. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
  2748. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  2749. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  2750. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  2751. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  2752. package/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  2753. package/dist/components/ExchangeRateTile/calculateResult.js +0 -11
  2754. package/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
  2755. package/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  2756. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
  2757. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  2758. package/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  2759. package/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
  2760. package/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  2761. package/dist/components/ExchangeRateTile/renderInput.d.ts +0 -12
  2762. package/dist/components/ExchangeRateTile/renderInput.js +0 -16
  2763. package/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
  2764. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  2765. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
  2766. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  2767. package/dist/components/GracePeriod/GracePeriod.d.ts +0 -5
  2768. package/dist/components/GracePeriod/GracePeriod.js +0 -25
  2769. package/dist/components/GracePeriod/GracePeriod.js.map +0 -1
  2770. package/dist/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  2771. package/dist/components/GracePeriod/GracePeriodContent.js +0 -2
  2772. package/dist/components/GracePeriod/GracePeriodContent.js.map +0 -1
  2773. package/dist/components/Header/useChatBot.d.ts +0 -5
  2774. package/dist/components/Header/useChatBot.js +0 -61
  2775. package/dist/components/Header/useChatBot.js.map +0 -1
  2776. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  2777. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
  2778. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  2779. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  2780. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  2781. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  2782. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  2783. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
  2784. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  2785. package/dist/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  2786. package/dist/components/InvestmentInfo/InvestmentInfo.js +0 -47
  2787. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  2788. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  2789. package/dist/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  2790. package/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  2791. package/dist/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  2792. package/dist/components/MortgageFiltration/MortgageFiltration.js +0 -36
  2793. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
  2794. package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  2795. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
  2796. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
  2797. package/dist/components/Placeholder/Placeholder.d.ts +0 -5
  2798. package/dist/components/Placeholder/Placeholder.js +0 -10
  2799. package/dist/components/Placeholder/Placeholder.js.map +0 -1
  2800. package/dist/components/Placeholder/PlaceholderContent.d.ts +0 -6
  2801. package/dist/components/Placeholder/PlaceholderContent.js +0 -2
  2802. package/dist/components/Placeholder/PlaceholderContent.js.map +0 -1
  2803. package/dist/components/ProductGallery/ProductGallery.d.ts +0 -5
  2804. package/dist/components/ProductGallery/ProductGallery.js +0 -33
  2805. package/dist/components/ProductGallery/ProductGallery.js.map +0 -1
  2806. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  2807. package/dist/components/ProductGallery/ProductGallery.mobile.js +0 -12
  2808. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
  2809. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  2810. package/dist/components/ProductGallery/ProductGalleryContent.js +0 -2
  2811. package/dist/components/ProductGallery/ProductGalleryContent.js.map +0 -1
  2812. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  2813. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -26
  2814. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  2815. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  2816. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  2817. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  2818. package/dist/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  2819. package/dist/components/SafeDepositRental/RadioButtons.js +0 -13
  2820. package/dist/components/SafeDepositRental/RadioButtons.js.map +0 -1
  2821. package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  2822. package/dist/components/SafeDepositRental/RegionsAndBranches.js +0 -7
  2823. package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
  2824. package/dist/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  2825. package/dist/components/SafeDepositRental/RentalPeriod.js +0 -11
  2826. package/dist/components/SafeDepositRental/RentalPeriod.js.map +0 -1
  2827. package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  2828. package/dist/components/SafeDepositRental/SafeBoxCases.js +0 -7
  2829. package/dist/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
  2830. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  2831. package/dist/components/SafeDepositRental/SafeDepositRental.js +0 -33
  2832. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
  2833. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  2834. package/dist/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
  2835. package/dist/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
  2836. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  2837. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +0 -18
  2838. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
  2839. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  2840. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +0 -27
  2841. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
  2842. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  2843. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -34
  2844. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
  2845. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  2846. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
  2847. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
  2848. package/dist/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  2849. package/dist/components/SafeDepositRental/WrapperSelect.js +0 -13
  2850. package/dist/components/SafeDepositRental/WrapperSelect.js.map +0 -1
  2851. package/dist/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  2852. package/dist/components/SafeDepositRental/useGetRegions.js +0 -13
  2853. package/dist/components/SafeDepositRental/useGetRegions.js.map +0 -1
  2854. package/dist/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  2855. package/dist/components/SafeDepositRental/useSafeBoxes.js +0 -17
  2856. package/dist/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
  2857. package/dist/components/SafeDepositRental/utils.d.ts +0 -4
  2858. package/dist/components/SafeDepositRental/utils.js +0 -21
  2859. package/dist/components/SafeDepositRental/utils.js.map +0 -1
  2860. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  2861. package/dist/components/TariffsTable/EmbeddableCellData.js +0 -25
  2862. package/dist/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  2863. package/dist/components/TariffsTable/TableTileHeader.d.ts +0 -2
  2864. package/dist/components/TariffsTable/TableTileHeader.js +0 -8
  2865. package/dist/components/TariffsTable/TableTileHeader.js.map +0 -1
  2866. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  2867. package/dist/components/TariffsTable/TariffsTableHorizontal.js +0 -8
  2868. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  2869. package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  2870. package/dist/components/TariffsTable/TariffsTableRenderCell.js +0 -41
  2871. package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  2872. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  2873. package/dist/components/TariffsTable/TariffsTableTileCell.js +0 -17
  2874. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  2875. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  2876. package/dist/components/TariffsTable/TariffsTableVertical.js +0 -7
  2877. package/dist/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  2878. package/dist/components/TariffsTable/constants.d.ts +0 -4
  2879. package/dist/components/TariffsTable/constants.js +0 -7
  2880. package/dist/components/TariffsTable/constants.js.map +0 -1
  2881. package/dist/components/UnitBlock/UnitBlock.d.ts +0 -6
  2882. package/dist/components/UnitBlock/UnitBlock.js +0 -11
  2883. package/dist/components/UnitBlock/UnitBlock.js.map +0 -1
  2884. package/dist/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  2885. package/dist/components/UnitBlock/UnitBlockContent.js +0 -2
  2886. package/dist/components/UnitBlock/UnitBlockContent.js.map +0 -1
  2887. package/dist/retail/utils/mainFormStateMap.d.ts +0 -2
  2888. package/dist/retail/utils/mainFormStateMap.js +0 -68
  2889. package/dist/retail/utils/mainFormStateMap.js.map +0 -1
  2890. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  2891. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
  2892. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
  2893. package/dist/ui-kit/ControlProps.js.map +0 -1
  2894. package/dist/ui-kit/ControlStateProps.d.ts +0 -3
  2895. package/dist/ui-kit/ControlStateProps.js +0 -2
  2896. package/dist/ui-kit/ControlStateProps.js.map +0 -1
  2897. package/dist/ui-kit/Rating/Rating.d.ts +0 -1
  2898. package/dist/ui-kit/Rating/Rating.js +0 -21
  2899. package/dist/ui-kit/Rating/Rating.js.map +0 -1
  2900. package/dist/ui-kit/Unit/Unit.d.ts +0 -2
  2901. package/dist/ui-kit/Unit/Unit.js +0 -9
  2902. package/dist/ui-kit/Unit/Unit.js.map +0 -1
  2903. package/dist/ui-kit/Unit/UnitProps.d.ts +0 -8
  2904. package/dist/ui-kit/Unit/UnitProps.js +0 -2
  2905. package/dist/ui-kit/Unit/UnitProps.js.map +0 -1
  2906. package/lib/components/CarouselCard/CarouselCard.d.ts +0 -5
  2907. package/lib/components/CarouselCard/CarouselCard.fixture.d.ts +0 -11
  2908. package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +0 -7
  2909. package/lib/components/CarouselCard/CarouselCard.js +0 -14
  2910. package/lib/components/CarouselCard/CarouselCard.js.map +0 -1
  2911. package/lib/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  2912. package/lib/components/CarouselCard/CarouselCardContent.js +0 -2
  2913. package/lib/components/CarouselCard/CarouselCardContent.js.map +0 -1
  2914. package/lib/components/CarouselCard/constants.d.ts +0 -2
  2915. package/lib/components/CarouselCard/constants.js +0 -5
  2916. package/lib/components/CarouselCard/constants.js.map +0 -1
  2917. package/lib/components/CarouselCard/titleSize.d.ts +0 -1
  2918. package/lib/components/CarouselCard/titleSize.js +0 -2
  2919. package/lib/components/CarouselCard/titleSize.js.map +0 -1
  2920. package/lib/components/CarouselCard/titleSize.mobile.d.ts +0 -1
  2921. package/lib/components/CarouselCard/titleSize.mobile.js +0 -2
  2922. package/lib/components/CarouselCard/titleSize.mobile.js.map +0 -1
  2923. package/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  2924. package/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
  2925. package/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  2926. package/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  2927. package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +0 -5
  2928. package/lib/components/CarouselLinks/CarouselLinks.fixture.mobile.d.ts +0 -5
  2929. package/lib/components/CarouselLinks/CarouselLinks.js +0 -9
  2930. package/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
  2931. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  2932. package/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
  2933. package/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  2934. package/lib/components/Depository/Depository.d.ts +0 -11
  2935. package/lib/components/Depository/Depository.fixture.d.ts +0 -5
  2936. package/lib/components/Depository/Depository.fixture.mobile.d.ts +0 -5
  2937. package/lib/components/Depository/Depository.js +0 -40
  2938. package/lib/components/Depository/Depository.js.map +0 -1
  2939. package/lib/components/Depository/DepositoryContent.d.ts +0 -5
  2940. package/lib/components/Depository/DepositoryContent.js +0 -2
  2941. package/lib/components/Depository/DepositoryContent.js.map +0 -1
  2942. package/lib/components/Depository/DepositoryFilter.d.ts +0 -9
  2943. package/lib/components/Depository/DepositoryFilter.js +0 -7
  2944. package/lib/components/Depository/DepositoryFilter.js.map +0 -1
  2945. package/lib/components/Depository/DepositoryItem.d.ts +0 -2
  2946. package/lib/components/Depository/DepositoryItem.js +0 -13
  2947. package/lib/components/Depository/DepositoryItem.js.map +0 -1
  2948. package/lib/components/Depository/useDepository.d.ts +0 -15
  2949. package/lib/components/Depository/useDepository.js +0 -19
  2950. package/lib/components/Depository/useDepository.js.map +0 -1
  2951. package/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  2952. package/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
  2953. package/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  2954. package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  2955. package/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
  2956. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  2957. package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  2958. package/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
  2959. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  2960. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  2961. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
  2962. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  2963. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  2964. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +0 -5
  2965. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.d.ts +0 -5
  2966. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
  2967. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  2968. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  2969. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  2970. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  2971. package/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  2972. package/lib/components/ExchangeRateTile/calculateResult.js +0 -7
  2973. package/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
  2974. package/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  2975. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
  2976. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  2977. package/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  2978. package/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
  2979. package/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  2980. package/lib/components/ExchangeRateTile/renderInput.d.ts +0 -12
  2981. package/lib/components/ExchangeRateTile/renderInput.js +0 -13
  2982. package/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
  2983. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  2984. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
  2985. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  2986. package/lib/components/GracePeriod/GracePeriod.d.ts +0 -5
  2987. package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +0 -7
  2988. package/lib/components/GracePeriod/GracePeriod.js +0 -23
  2989. package/lib/components/GracePeriod/GracePeriod.js.map +0 -1
  2990. package/lib/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  2991. package/lib/components/GracePeriod/GracePeriodContent.js +0 -2
  2992. package/lib/components/GracePeriod/GracePeriodContent.js.map +0 -1
  2993. package/lib/components/Header/useChatBot.d.ts +0 -5
  2994. package/lib/components/Header/useChatBot.js +0 -58
  2995. package/lib/components/Header/useChatBot.js.map +0 -1
  2996. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  2997. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +0 -5
  2998. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
  2999. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  3000. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  3001. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  3002. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  3003. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  3004. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
  3005. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  3006. package/lib/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  3007. package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +0 -7
  3008. package/lib/components/InvestmentInfo/InvestmentInfo.js +0 -45
  3009. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  3010. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  3011. package/lib/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  3012. package/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  3013. package/lib/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  3014. package/lib/components/MortgageFiltration/MortgageFiltration.fixture.d.ts +0 -6
  3015. package/lib/components/MortgageFiltration/MortgageFiltration.fixture.mobile.d.ts +0 -6
  3016. package/lib/components/MortgageFiltration/MortgageFiltration.js +0 -34
  3017. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
  3018. package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  3019. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
  3020. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
  3021. package/lib/components/Placeholder/Placeholder.d.ts +0 -5
  3022. package/lib/components/Placeholder/Placeholder.fixture.d.ts +0 -5
  3023. package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +0 -3
  3024. package/lib/components/Placeholder/Placeholder.js +0 -8
  3025. package/lib/components/Placeholder/Placeholder.js.map +0 -1
  3026. package/lib/components/Placeholder/PlaceholderContent.d.ts +0 -6
  3027. package/lib/components/Placeholder/PlaceholderContent.js +0 -2
  3028. package/lib/components/Placeholder/PlaceholderContent.js.map +0 -1
  3029. package/lib/components/ProductGallery/ProductGallery.d.ts +0 -5
  3030. package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +0 -6
  3031. package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +0 -6
  3032. package/lib/components/ProductGallery/ProductGallery.js +0 -31
  3033. package/lib/components/ProductGallery/ProductGallery.js.map +0 -1
  3034. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  3035. package/lib/components/ProductGallery/ProductGallery.mobile.js +0 -10
  3036. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
  3037. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  3038. package/lib/components/ProductGallery/ProductGalleryContent.js +0 -2
  3039. package/lib/components/ProductGallery/ProductGalleryContent.js.map +0 -1
  3040. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  3041. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.d.ts +0 -5
  3042. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.d.ts +0 -5
  3043. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -24
  3044. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  3045. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  3046. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  3047. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  3048. package/lib/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  3049. package/lib/components/SafeDepositRental/RadioButtons.js +0 -11
  3050. package/lib/components/SafeDepositRental/RadioButtons.js.map +0 -1
  3051. package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  3052. package/lib/components/SafeDepositRental/RegionsAndBranches.js +0 -5
  3053. package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
  3054. package/lib/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  3055. package/lib/components/SafeDepositRental/RentalPeriod.js +0 -9
  3056. package/lib/components/SafeDepositRental/RentalPeriod.js.map +0 -1
  3057. package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  3058. package/lib/components/SafeDepositRental/SafeBoxCases.js +0 -5
  3059. package/lib/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
  3060. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  3061. package/lib/components/SafeDepositRental/SafeDepositRental.fixture.d.ts +0 -5
  3062. package/lib/components/SafeDepositRental/SafeDepositRental.fixture.mobile.d.ts +0 -5
  3063. package/lib/components/SafeDepositRental/SafeDepositRental.js +0 -31
  3064. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
  3065. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  3066. package/lib/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
  3067. package/lib/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
  3068. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  3069. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +0 -16
  3070. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
  3071. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  3072. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +0 -25
  3073. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
  3074. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  3075. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -32
  3076. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
  3077. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  3078. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
  3079. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
  3080. package/lib/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  3081. package/lib/components/SafeDepositRental/WrapperSelect.js +0 -11
  3082. package/lib/components/SafeDepositRental/WrapperSelect.js.map +0 -1
  3083. package/lib/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  3084. package/lib/components/SafeDepositRental/useGetRegions.js +0 -10
  3085. package/lib/components/SafeDepositRental/useGetRegions.js.map +0 -1
  3086. package/lib/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  3087. package/lib/components/SafeDepositRental/useSafeBoxes.js +0 -14
  3088. package/lib/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
  3089. package/lib/components/SafeDepositRental/utils.d.ts +0 -4
  3090. package/lib/components/SafeDepositRental/utils.js +0 -17
  3091. package/lib/components/SafeDepositRental/utils.js.map +0 -1
  3092. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  3093. package/lib/components/TariffsTable/EmbeddableCellData.js +0 -23
  3094. package/lib/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  3095. package/lib/components/TariffsTable/TableTileHeader.d.ts +0 -2
  3096. package/lib/components/TariffsTable/TableTileHeader.js +0 -6
  3097. package/lib/components/TariffsTable/TableTileHeader.js.map +0 -1
  3098. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  3099. package/lib/components/TariffsTable/TariffsTableHorizontal.js +0 -6
  3100. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  3101. package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  3102. package/lib/components/TariffsTable/TariffsTableRenderCell.js +0 -39
  3103. package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  3104. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  3105. package/lib/components/TariffsTable/TariffsTableTileCell.js +0 -15
  3106. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  3107. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  3108. package/lib/components/TariffsTable/TariffsTableVertical.js +0 -5
  3109. package/lib/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  3110. package/lib/components/TariffsTable/constants.d.ts +0 -4
  3111. package/lib/components/TariffsTable/constants.js +0 -5
  3112. package/lib/components/TariffsTable/constants.js.map +0 -1
  3113. package/lib/components/UnitBlock/UnitBlock.d.ts +0 -6
  3114. package/lib/components/UnitBlock/UnitBlock.fixture.d.ts +0 -6
  3115. package/lib/components/UnitBlock/UnitBlock.fixture.mobile.d.ts +0 -6
  3116. package/lib/components/UnitBlock/UnitBlock.js +0 -9
  3117. package/lib/components/UnitBlock/UnitBlock.js.map +0 -1
  3118. package/lib/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  3119. package/lib/components/UnitBlock/UnitBlockContent.js +0 -2
  3120. package/lib/components/UnitBlock/UnitBlockContent.js.map +0 -1
  3121. package/lib/retail/utils/mainFormStateMap.d.ts +0 -2
  3122. package/lib/retail/utils/mainFormStateMap.js +0 -66
  3123. package/lib/retail/utils/mainFormStateMap.js.map +0 -1
  3124. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  3125. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
  3126. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
  3127. package/lib/ui-kit/ControlProps.js.map +0 -1
  3128. package/lib/ui-kit/ControlStateProps.d.ts +0 -3
  3129. package/lib/ui-kit/ControlStateProps.js +0 -2
  3130. package/lib/ui-kit/ControlStateProps.js.map +0 -1
  3131. package/lib/ui-kit/Rating/Rating.d.ts +0 -1
  3132. package/lib/ui-kit/Rating/Rating.fixture.d.ts +0 -5
  3133. package/lib/ui-kit/Rating/Rating.js +0 -18
  3134. package/lib/ui-kit/Rating/Rating.js.map +0 -1
  3135. package/lib/ui-kit/Unit/Unit.d.ts +0 -2
  3136. package/lib/ui-kit/Unit/Unit.js +0 -7
  3137. package/lib/ui-kit/Unit/Unit.js.map +0 -1
  3138. package/lib/ui-kit/Unit/UnitProps.d.ts +0 -8
  3139. package/lib/ui-kit/Unit/UnitProps.js +0 -2
  3140. package/lib/ui-kit/Unit/UnitProps.js.map +0 -1
  3141. package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +0 -5
  3142. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  3143. package/mobile/bundle/components/CarouselCard/constants.d.ts +0 -2
  3144. package/mobile/bundle/components/CarouselCard/titleSize.d.ts +0 -1
  3145. package/mobile/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  3146. package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  3147. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  3148. package/mobile/bundle/components/Depository/Depository.d.ts +0 -11
  3149. package/mobile/bundle/components/Depository/DepositoryContent.d.ts +0 -5
  3150. package/mobile/bundle/components/Depository/DepositoryFilter.d.ts +0 -9
  3151. package/mobile/bundle/components/Depository/DepositoryItem.d.ts +0 -2
  3152. package/mobile/bundle/components/Depository/useDepository.d.ts +0 -15
  3153. package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  3154. package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  3155. package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  3156. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  3157. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  3158. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  3159. package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  3160. package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  3161. package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  3162. package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -12
  3163. package/mobile/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  3164. package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +0 -5
  3165. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  3166. package/mobile/bundle/components/Header/useChatBot.d.ts +0 -5
  3167. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  3168. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  3169. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  3170. package/mobile/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  3171. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  3172. package/mobile/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  3173. package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  3174. package/mobile/bundle/components/Placeholder/Placeholder.d.ts +0 -5
  3175. package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +0 -6
  3176. package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +0 -5
  3177. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  3178. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  3179. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  3180. package/mobile/bundle/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  3181. package/mobile/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  3182. package/mobile/bundle/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  3183. package/mobile/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  3184. package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  3185. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  3186. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  3187. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  3188. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  3189. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  3190. package/mobile/bundle/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  3191. package/mobile/bundle/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  3192. package/mobile/bundle/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  3193. package/mobile/bundle/components/SafeDepositRental/utils.d.ts +0 -4
  3194. package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  3195. package/mobile/bundle/components/TariffsTable/TableTileHeader.d.ts +0 -2
  3196. package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  3197. package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  3198. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  3199. package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  3200. package/mobile/bundle/components/TariffsTable/constants.d.ts +0 -4
  3201. package/mobile/bundle/components/UnitBlock/UnitBlock.d.ts +0 -6
  3202. package/mobile/bundle/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  3203. package/mobile/bundle/retail/utils/mainFormStateMap.d.ts +0 -2
  3204. package/mobile/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  3205. package/mobile/bundle/ui-kit/ControlStateProps.d.ts +0 -3
  3206. package/mobile/bundle/ui-kit/Rating/Rating.d.ts +0 -1
  3207. package/mobile/bundle/ui-kit/Unit/Unit.d.ts +0 -2
  3208. package/mobile/bundle/ui-kit/Unit/UnitProps.d.ts +0 -8
  3209. package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +0 -5
  3210. package/mobile/dist/components/CarouselCard/CarouselCard.js +0 -16
  3211. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +0 -1
  3212. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  3213. package/mobile/dist/components/CarouselCard/CarouselCardContent.js +0 -2
  3214. package/mobile/dist/components/CarouselCard/CarouselCardContent.js.map +0 -1
  3215. package/mobile/dist/components/CarouselCard/constants.d.ts +0 -2
  3216. package/mobile/dist/components/CarouselCard/constants.js +0 -7
  3217. package/mobile/dist/components/CarouselCard/constants.js.map +0 -1
  3218. package/mobile/dist/components/CarouselCard/titleSize.d.ts +0 -1
  3219. package/mobile/dist/components/CarouselCard/titleSize.js +0 -4
  3220. package/mobile/dist/components/CarouselCard/titleSize.js.map +0 -1
  3221. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  3222. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
  3223. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  3224. package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  3225. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +0 -11
  3226. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
  3227. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  3228. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
  3229. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  3230. package/mobile/dist/components/Depository/Depository.d.ts +0 -11
  3231. package/mobile/dist/components/Depository/Depository.js +0 -42
  3232. package/mobile/dist/components/Depository/Depository.js.map +0 -1
  3233. package/mobile/dist/components/Depository/DepositoryContent.d.ts +0 -5
  3234. package/mobile/dist/components/Depository/DepositoryContent.js +0 -2
  3235. package/mobile/dist/components/Depository/DepositoryContent.js.map +0 -1
  3236. package/mobile/dist/components/Depository/DepositoryFilter.d.ts +0 -9
  3237. package/mobile/dist/components/Depository/DepositoryFilter.js +0 -9
  3238. package/mobile/dist/components/Depository/DepositoryFilter.js.map +0 -1
  3239. package/mobile/dist/components/Depository/DepositoryItem.d.ts +0 -2
  3240. package/mobile/dist/components/Depository/DepositoryItem.js +0 -15
  3241. package/mobile/dist/components/Depository/DepositoryItem.js.map +0 -1
  3242. package/mobile/dist/components/Depository/useDepository.d.ts +0 -15
  3243. package/mobile/dist/components/Depository/useDepository.js +0 -22
  3244. package/mobile/dist/components/Depository/useDepository.js.map +0 -1
  3245. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  3246. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
  3247. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  3248. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  3249. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
  3250. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  3251. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  3252. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
  3253. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  3254. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  3255. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
  3256. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  3257. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  3258. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
  3259. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  3260. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  3261. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  3262. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  3263. package/mobile/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  3264. package/mobile/dist/components/ExchangeRateTile/calculateResult.js +0 -11
  3265. package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
  3266. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  3267. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
  3268. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  3269. package/mobile/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  3270. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
  3271. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  3272. package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +0 -12
  3273. package/mobile/dist/components/ExchangeRateTile/renderInput.js +0 -16
  3274. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
  3275. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  3276. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
  3277. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  3278. package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +0 -5
  3279. package/mobile/dist/components/GracePeriod/GracePeriod.js +0 -25
  3280. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +0 -1
  3281. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  3282. package/mobile/dist/components/GracePeriod/GracePeriodContent.js +0 -2
  3283. package/mobile/dist/components/GracePeriod/GracePeriodContent.js.map +0 -1
  3284. package/mobile/dist/components/Header/useChatBot.d.ts +0 -5
  3285. package/mobile/dist/components/Header/useChatBot.js +0 -61
  3286. package/mobile/dist/components/Header/useChatBot.js.map +0 -1
  3287. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  3288. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
  3289. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  3290. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  3291. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  3292. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  3293. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  3294. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
  3295. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  3296. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  3297. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +0 -47
  3298. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  3299. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  3300. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  3301. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  3302. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  3303. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +0 -36
  3304. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
  3305. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  3306. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
  3307. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
  3308. package/mobile/dist/components/Placeholder/Placeholder.d.ts +0 -5
  3309. package/mobile/dist/components/Placeholder/Placeholder.js +0 -10
  3310. package/mobile/dist/components/Placeholder/Placeholder.js.map +0 -1
  3311. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +0 -6
  3312. package/mobile/dist/components/Placeholder/PlaceholderContent.js +0 -2
  3313. package/mobile/dist/components/Placeholder/PlaceholderContent.js.map +0 -1
  3314. package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +0 -5
  3315. package/mobile/dist/components/ProductGallery/ProductGallery.js +0 -12
  3316. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +0 -1
  3317. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  3318. package/mobile/dist/components/ProductGallery/ProductGalleryContent.js +0 -2
  3319. package/mobile/dist/components/ProductGallery/ProductGalleryContent.js.map +0 -1
  3320. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  3321. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -26
  3322. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  3323. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  3324. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  3325. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  3326. package/mobile/dist/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  3327. package/mobile/dist/components/SafeDepositRental/RadioButtons.js +0 -13
  3328. package/mobile/dist/components/SafeDepositRental/RadioButtons.js.map +0 -1
  3329. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  3330. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +0 -7
  3331. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
  3332. package/mobile/dist/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  3333. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +0 -11
  3334. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +0 -1
  3335. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  3336. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +0 -7
  3337. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
  3338. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  3339. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +0 -33
  3340. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
  3341. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  3342. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
  3343. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
  3344. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  3345. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +0 -18
  3346. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
  3347. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  3348. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +0 -27
  3349. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
  3350. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  3351. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -34
  3352. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
  3353. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  3354. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
  3355. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
  3356. package/mobile/dist/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  3357. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js +0 -13
  3358. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +0 -1
  3359. package/mobile/dist/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  3360. package/mobile/dist/components/SafeDepositRental/useGetRegions.js +0 -13
  3361. package/mobile/dist/components/SafeDepositRental/useGetRegions.js.map +0 -1
  3362. package/mobile/dist/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  3363. package/mobile/dist/components/SafeDepositRental/useSafeBoxes.js +0 -17
  3364. package/mobile/dist/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
  3365. package/mobile/dist/components/SafeDepositRental/utils.d.ts +0 -4
  3366. package/mobile/dist/components/SafeDepositRental/utils.js +0 -21
  3367. package/mobile/dist/components/SafeDepositRental/utils.js.map +0 -1
  3368. package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  3369. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +0 -25
  3370. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  3371. package/mobile/dist/components/TariffsTable/TableTileHeader.d.ts +0 -2
  3372. package/mobile/dist/components/TariffsTable/TableTileHeader.js +0 -8
  3373. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +0 -1
  3374. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  3375. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +0 -8
  3376. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  3377. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  3378. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +0 -41
  3379. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  3380. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  3381. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +0 -17
  3382. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  3383. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  3384. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +0 -7
  3385. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  3386. package/mobile/dist/components/TariffsTable/constants.d.ts +0 -4
  3387. package/mobile/dist/components/TariffsTable/constants.js +0 -7
  3388. package/mobile/dist/components/TariffsTable/constants.js.map +0 -1
  3389. package/mobile/dist/components/UnitBlock/UnitBlock.d.ts +0 -6
  3390. package/mobile/dist/components/UnitBlock/UnitBlock.js +0 -11
  3391. package/mobile/dist/components/UnitBlock/UnitBlock.js.map +0 -1
  3392. package/mobile/dist/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  3393. package/mobile/dist/components/UnitBlock/UnitBlockContent.js +0 -2
  3394. package/mobile/dist/components/UnitBlock/UnitBlockContent.js.map +0 -1
  3395. package/mobile/dist/retail/utils/mainFormStateMap.d.ts +0 -2
  3396. package/mobile/dist/retail/utils/mainFormStateMap.js +0 -68
  3397. package/mobile/dist/retail/utils/mainFormStateMap.js.map +0 -1
  3398. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  3399. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
  3400. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
  3401. package/mobile/dist/ui-kit/ControlProps.js.map +0 -1
  3402. package/mobile/dist/ui-kit/ControlStateProps.d.ts +0 -3
  3403. package/mobile/dist/ui-kit/ControlStateProps.js +0 -2
  3404. package/mobile/dist/ui-kit/ControlStateProps.js.map +0 -1
  3405. package/mobile/dist/ui-kit/Rating/Rating.d.ts +0 -1
  3406. package/mobile/dist/ui-kit/Rating/Rating.js +0 -21
  3407. package/mobile/dist/ui-kit/Rating/Rating.js.map +0 -1
  3408. package/mobile/dist/ui-kit/Unit/Unit.d.ts +0 -2
  3409. package/mobile/dist/ui-kit/Unit/Unit.js +0 -9
  3410. package/mobile/dist/ui-kit/Unit/Unit.js.map +0 -1
  3411. package/mobile/dist/ui-kit/Unit/UnitProps.d.ts +0 -8
  3412. package/mobile/dist/ui-kit/Unit/UnitProps.js +0 -2
  3413. package/mobile/dist/ui-kit/Unit/UnitProps.js.map +0 -1
  3414. package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +0 -5
  3415. package/mobile/lib/components/CarouselCard/CarouselCard.js +0 -14
  3416. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +0 -1
  3417. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  3418. package/mobile/lib/components/CarouselCard/CarouselCardContent.js +0 -2
  3419. package/mobile/lib/components/CarouselCard/CarouselCardContent.js.map +0 -1
  3420. package/mobile/lib/components/CarouselCard/constants.d.ts +0 -2
  3421. package/mobile/lib/components/CarouselCard/constants.js +0 -5
  3422. package/mobile/lib/components/CarouselCard/constants.js.map +0 -1
  3423. package/mobile/lib/components/CarouselCard/titleSize.d.ts +0 -1
  3424. package/mobile/lib/components/CarouselCard/titleSize.js +0 -2
  3425. package/mobile/lib/components/CarouselCard/titleSize.js.map +0 -1
  3426. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  3427. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
  3428. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  3429. package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  3430. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +0 -9
  3431. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
  3432. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  3433. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
  3434. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  3435. package/mobile/lib/components/Depository/Depository.d.ts +0 -11
  3436. package/mobile/lib/components/Depository/Depository.js +0 -40
  3437. package/mobile/lib/components/Depository/Depository.js.map +0 -1
  3438. package/mobile/lib/components/Depository/DepositoryContent.d.ts +0 -5
  3439. package/mobile/lib/components/Depository/DepositoryContent.js +0 -2
  3440. package/mobile/lib/components/Depository/DepositoryContent.js.map +0 -1
  3441. package/mobile/lib/components/Depository/DepositoryFilter.d.ts +0 -9
  3442. package/mobile/lib/components/Depository/DepositoryFilter.js +0 -7
  3443. package/mobile/lib/components/Depository/DepositoryFilter.js.map +0 -1
  3444. package/mobile/lib/components/Depository/DepositoryItem.d.ts +0 -2
  3445. package/mobile/lib/components/Depository/DepositoryItem.js +0 -13
  3446. package/mobile/lib/components/Depository/DepositoryItem.js.map +0 -1
  3447. package/mobile/lib/components/Depository/useDepository.d.ts +0 -15
  3448. package/mobile/lib/components/Depository/useDepository.js +0 -19
  3449. package/mobile/lib/components/Depository/useDepository.js.map +0 -1
  3450. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  3451. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
  3452. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  3453. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  3454. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
  3455. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  3456. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  3457. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
  3458. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  3459. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  3460. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
  3461. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  3462. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  3463. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
  3464. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  3465. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  3466. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  3467. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  3468. package/mobile/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  3469. package/mobile/lib/components/ExchangeRateTile/calculateResult.js +0 -7
  3470. package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
  3471. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  3472. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
  3473. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  3474. package/mobile/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  3475. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
  3476. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  3477. package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +0 -12
  3478. package/mobile/lib/components/ExchangeRateTile/renderInput.js +0 -13
  3479. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
  3480. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  3481. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
  3482. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  3483. package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +0 -5
  3484. package/mobile/lib/components/GracePeriod/GracePeriod.js +0 -23
  3485. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +0 -1
  3486. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  3487. package/mobile/lib/components/GracePeriod/GracePeriodContent.js +0 -2
  3488. package/mobile/lib/components/GracePeriod/GracePeriodContent.js.map +0 -1
  3489. package/mobile/lib/components/Header/useChatBot.d.ts +0 -5
  3490. package/mobile/lib/components/Header/useChatBot.js +0 -58
  3491. package/mobile/lib/components/Header/useChatBot.js.map +0 -1
  3492. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  3493. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
  3494. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  3495. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  3496. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  3497. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  3498. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  3499. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
  3500. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  3501. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  3502. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +0 -45
  3503. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  3504. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  3505. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  3506. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  3507. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  3508. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +0 -34
  3509. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
  3510. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  3511. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
  3512. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
  3513. package/mobile/lib/components/Placeholder/Placeholder.d.ts +0 -5
  3514. package/mobile/lib/components/Placeholder/Placeholder.js +0 -8
  3515. package/mobile/lib/components/Placeholder/Placeholder.js.map +0 -1
  3516. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +0 -6
  3517. package/mobile/lib/components/Placeholder/PlaceholderContent.js +0 -2
  3518. package/mobile/lib/components/Placeholder/PlaceholderContent.js.map +0 -1
  3519. package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +0 -5
  3520. package/mobile/lib/components/ProductGallery/ProductGallery.js +0 -10
  3521. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +0 -1
  3522. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  3523. package/mobile/lib/components/ProductGallery/ProductGalleryContent.js +0 -2
  3524. package/mobile/lib/components/ProductGallery/ProductGalleryContent.js.map +0 -1
  3525. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  3526. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -24
  3527. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  3528. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  3529. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  3530. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  3531. package/mobile/lib/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  3532. package/mobile/lib/components/SafeDepositRental/RadioButtons.js +0 -11
  3533. package/mobile/lib/components/SafeDepositRental/RadioButtons.js.map +0 -1
  3534. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  3535. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +0 -5
  3536. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
  3537. package/mobile/lib/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  3538. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +0 -9
  3539. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +0 -1
  3540. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  3541. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +0 -5
  3542. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
  3543. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  3544. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +0 -31
  3545. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
  3546. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  3547. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
  3548. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
  3549. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  3550. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +0 -16
  3551. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
  3552. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  3553. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +0 -25
  3554. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
  3555. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  3556. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -32
  3557. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
  3558. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  3559. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
  3560. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
  3561. package/mobile/lib/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  3562. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js +0 -11
  3563. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +0 -1
  3564. package/mobile/lib/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  3565. package/mobile/lib/components/SafeDepositRental/useGetRegions.js +0 -10
  3566. package/mobile/lib/components/SafeDepositRental/useGetRegions.js.map +0 -1
  3567. package/mobile/lib/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  3568. package/mobile/lib/components/SafeDepositRental/useSafeBoxes.js +0 -14
  3569. package/mobile/lib/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
  3570. package/mobile/lib/components/SafeDepositRental/utils.d.ts +0 -4
  3571. package/mobile/lib/components/SafeDepositRental/utils.js +0 -17
  3572. package/mobile/lib/components/SafeDepositRental/utils.js.map +0 -1
  3573. package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  3574. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +0 -23
  3575. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  3576. package/mobile/lib/components/TariffsTable/TableTileHeader.d.ts +0 -2
  3577. package/mobile/lib/components/TariffsTable/TableTileHeader.js +0 -6
  3578. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +0 -1
  3579. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  3580. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +0 -6
  3581. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  3582. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  3583. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +0 -39
  3584. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  3585. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  3586. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +0 -15
  3587. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  3588. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  3589. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +0 -5
  3590. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  3591. package/mobile/lib/components/TariffsTable/constants.d.ts +0 -4
  3592. package/mobile/lib/components/TariffsTable/constants.js +0 -5
  3593. package/mobile/lib/components/TariffsTable/constants.js.map +0 -1
  3594. package/mobile/lib/components/UnitBlock/UnitBlock.d.ts +0 -6
  3595. package/mobile/lib/components/UnitBlock/UnitBlock.js +0 -9
  3596. package/mobile/lib/components/UnitBlock/UnitBlock.js.map +0 -1
  3597. package/mobile/lib/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  3598. package/mobile/lib/components/UnitBlock/UnitBlockContent.js +0 -2
  3599. package/mobile/lib/components/UnitBlock/UnitBlockContent.js.map +0 -1
  3600. package/mobile/lib/retail/utils/mainFormStateMap.d.ts +0 -2
  3601. package/mobile/lib/retail/utils/mainFormStateMap.js +0 -66
  3602. package/mobile/lib/retail/utils/mainFormStateMap.js.map +0 -1
  3603. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  3604. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
  3605. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
  3606. package/mobile/lib/ui-kit/ControlProps.js.map +0 -1
  3607. package/mobile/lib/ui-kit/ControlStateProps.d.ts +0 -3
  3608. package/mobile/lib/ui-kit/ControlStateProps.js +0 -2
  3609. package/mobile/lib/ui-kit/ControlStateProps.js.map +0 -1
  3610. package/mobile/lib/ui-kit/Rating/Rating.d.ts +0 -1
  3611. package/mobile/lib/ui-kit/Rating/Rating.js +0 -18
  3612. package/mobile/lib/ui-kit/Rating/Rating.js.map +0 -1
  3613. package/mobile/lib/ui-kit/Unit/Unit.d.ts +0 -2
  3614. package/mobile/lib/ui-kit/Unit/Unit.js +0 -7
  3615. package/mobile/lib/ui-kit/Unit/Unit.js.map +0 -1
  3616. package/mobile/lib/ui-kit/Unit/UnitProps.d.ts +0 -8
  3617. package/mobile/lib/ui-kit/Unit/UnitProps.js +0 -2
  3618. package/mobile/lib/ui-kit/Unit/UnitProps.js.map +0 -1
  3619. package/mobile/src/components/CarouselCard/CarouselCard.example.json +0 -14
  3620. package/mobile/src/components/CarouselCard/CarouselCard.tsx +0 -47
  3621. package/mobile/src/components/CarouselCard/CarouselCard.ui.json +0 -1
  3622. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +0 -13
  3623. package/mobile/src/components/CarouselCard/constants.ts +0 -6
  3624. package/mobile/src/components/CarouselCard/titleSize.tsx +0 -1
  3625. package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -37
  3626. package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
  3627. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
  3628. package/mobile/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
  3629. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
  3630. package/mobile/src/components/Depository/Depository.example.json +0 -6
  3631. package/mobile/src/components/Depository/Depository.tsx +0 -84
  3632. package/mobile/src/components/Depository/Depository.ui.json +0 -1
  3633. package/mobile/src/components/Depository/DepositoryContent.ts +0 -6
  3634. package/mobile/src/components/Depository/DepositoryFilter.tsx +0 -41
  3635. package/mobile/src/components/Depository/DepositoryItem.tsx +0 -31
  3636. package/mobile/src/components/Depository/useDepository.ts +0 -46
  3637. package/mobile/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
  3638. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
  3639. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
  3640. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -153
  3641. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
  3642. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
  3643. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
  3644. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  3645. package/mobile/src/components/ExchangeRateTile/calculateResult.ts +0 -9
  3646. package/mobile/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
  3647. package/mobile/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
  3648. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +0 -44
  3649. package/mobile/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
  3650. package/mobile/src/components/GracePeriod/GracePeriod.example.json +0 -89
  3651. package/mobile/src/components/GracePeriod/GracePeriod.tsx +0 -87
  3652. package/mobile/src/components/GracePeriod/GracePeriod.ui.json +0 -20
  3653. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +0 -26
  3654. package/mobile/src/components/Header/useChatBot.ts +0 -86
  3655. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
  3656. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
  3657. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
  3658. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
  3659. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
  3660. package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +0 -53
  3661. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +0 -131
  3662. package/mobile/src/components/InvestmentInfo/InvestmentInfo.ui.json +0 -13
  3663. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +0 -51
  3664. package/mobile/src/components/MortgageFiltration/MortgageFiltration.example.json +0 -115
  3665. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +0 -69
  3666. package/mobile/src/components/MortgageFiltration/MortgageFiltration.ui.json +0 -12
  3667. package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +0 -38
  3668. package/mobile/src/components/Placeholder/Placeholder.tsx +0 -25
  3669. package/mobile/src/components/Placeholder/Placeholder.ui.json +0 -1
  3670. package/mobile/src/components/Placeholder/PlaceholderContent.ts +0 -7
  3671. package/mobile/src/components/ProductGallery/ProductGallery.example.json +0 -72
  3672. package/mobile/src/components/ProductGallery/ProductGallery.tsx +0 -29
  3673. package/mobile/src/components/ProductGallery/ProductGallery.ui.json +0 -42
  3674. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +0 -27
  3675. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +0 -14
  3676. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +0 -94
  3677. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +0 -24
  3678. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +0 -22
  3679. package/mobile/src/components/SafeDepositRental/RadioButtons.tsx +0 -33
  3680. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +0 -48
  3681. package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +0 -21
  3682. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +0 -46
  3683. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +0 -75
  3684. package/mobile/src/components/SafeDepositRental/SafeDepositRental.ui.json +0 -8
  3685. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +0 -8
  3686. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +0 -74
  3687. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +0 -62
  3688. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +0 -74
  3689. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -9
  3690. package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +0 -33
  3691. package/mobile/src/components/SafeDepositRental/useGetRegions.ts +0 -19
  3692. package/mobile/src/components/SafeDepositRental/useSafeBoxes.ts +0 -44
  3693. package/mobile/src/components/SafeDepositRental/utils.ts +0 -24
  3694. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +0 -79
  3695. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +0 -15
  3696. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +0 -14
  3697. package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -83
  3698. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +0 -33
  3699. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +0 -13
  3700. package/mobile/src/components/TariffsTable/constants.ts +0 -4
  3701. package/mobile/src/components/UnitBlock/UnitBlock.example.json +0 -9
  3702. package/mobile/src/components/UnitBlock/UnitBlock.tsx +0 -17
  3703. package/mobile/src/components/UnitBlock/UnitBlock.ui.json +0 -1
  3704. package/mobile/src/components/UnitBlock/UnitBlockContent.ts +0 -7
  3705. package/mobile/src/retail/utils/mainFormStateMap.ts +0 -67
  3706. package/mobile/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +0 -8
  3707. package/mobile/src/ui-kit/ControlStateProps.ts +0 -3
  3708. package/mobile/src/ui-kit/Rating/Rating.tsx +0 -39
  3709. package/mobile/src/ui-kit/Unit/Unit.tsx +0 -26
  3710. package/mobile/src/ui-kit/Unit/UnitProps.ts +0 -8
  3711. package/src/components/CarouselCard/CarouselCard.example.json +0 -14
  3712. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +0 -28
  3713. package/src/components/CarouselCard/CarouselCard.fixture.tsx +0 -53
  3714. package/src/components/CarouselCard/CarouselCard.tsx +0 -47
  3715. package/src/components/CarouselCard/CarouselCard.ui.json +0 -1
  3716. package/src/components/CarouselCard/CarouselCardContent.ts +0 -13
  3717. package/src/components/CarouselCard/constants.ts +0 -6
  3718. package/src/components/CarouselCard/titleSize.mobile.tsx +0 -1
  3719. package/src/components/CarouselCard/titleSize.tsx +0 -1
  3720. package/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -37
  3721. package/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
  3722. package/src/components/CarouselLinks/CarouselLinks.fixture.mobile.tsx +0 -83
  3723. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +0 -40
  3724. package/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
  3725. package/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
  3726. package/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
  3727. package/src/components/Depository/Depository.example.json +0 -6
  3728. package/src/components/Depository/Depository.fixture.mobile.tsx +0 -12
  3729. package/src/components/Depository/Depository.fixture.tsx +0 -12
  3730. package/src/components/Depository/Depository.tsx +0 -84
  3731. package/src/components/Depository/Depository.ui.json +0 -1
  3732. package/src/components/Depository/DepositoryContent.ts +0 -6
  3733. package/src/components/Depository/DepositoryFilter.tsx +0 -41
  3734. package/src/components/Depository/DepositoryItem.tsx +0 -31
  3735. package/src/components/Depository/useDepository.ts +0 -46
  3736. package/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
  3737. package/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
  3738. package/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
  3739. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -153
  3740. package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
  3741. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +0 -19
  3742. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +0 -21
  3743. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
  3744. package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
  3745. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  3746. package/src/components/ExchangeRateTile/calculateResult.ts +0 -9
  3747. package/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
  3748. package/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
  3749. package/src/components/ExchangeRateTile/renderInput.tsx +0 -44
  3750. package/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
  3751. package/src/components/GracePeriod/GracePeriod.example.json +0 -89
  3752. package/src/components/GracePeriod/GracePeriod.fixture.tsx +0 -109
  3753. package/src/components/GracePeriod/GracePeriod.tsx +0 -87
  3754. package/src/components/GracePeriod/GracePeriod.ui.json +0 -20
  3755. package/src/components/GracePeriod/GracePeriodContent.ts +0 -26
  3756. package/src/components/Header/useChatBot.ts +0 -86
  3757. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
  3758. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +0 -62
  3759. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
  3760. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
  3761. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
  3762. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
  3763. package/src/components/InvestmentInfo/InvestmentInfo.example.json +0 -53
  3764. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +0 -109
  3765. package/src/components/InvestmentInfo/InvestmentInfo.tsx +0 -131
  3766. package/src/components/InvestmentInfo/InvestmentInfo.ui.json +0 -13
  3767. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +0 -51
  3768. package/src/components/MortgageFiltration/MortgageFiltration.example.json +0 -115
  3769. package/src/components/MortgageFiltration/MortgageFiltration.fixture.mobile.tsx +0 -226
  3770. package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +0 -226
  3771. package/src/components/MortgageFiltration/MortgageFiltration.tsx +0 -69
  3772. package/src/components/MortgageFiltration/MortgageFiltration.ui.json +0 -12
  3773. package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +0 -38
  3774. package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +0 -9
  3775. package/src/components/Placeholder/Placeholder.fixture.tsx +0 -11
  3776. package/src/components/Placeholder/Placeholder.tsx +0 -25
  3777. package/src/components/Placeholder/Placeholder.ui.json +0 -1
  3778. package/src/components/Placeholder/PlaceholderContent.ts +0 -7
  3779. package/src/components/ProductGallery/ProductGallery.example.json +0 -72
  3780. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -146
  3781. package/src/components/ProductGallery/ProductGallery.fixture.tsx +0 -120
  3782. package/src/components/ProductGallery/ProductGallery.mobile.tsx +0 -29
  3783. package/src/components/ProductGallery/ProductGallery.tsx +0 -117
  3784. package/src/components/ProductGallery/ProductGallery.ui.json +0 -42
  3785. package/src/components/ProductGallery/ProductGalleryContent.ts +0 -27
  3786. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +0 -14
  3787. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +0 -47
  3788. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +0 -47
  3789. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +0 -94
  3790. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +0 -24
  3791. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +0 -22
  3792. package/src/components/SafeDepositRental/RadioButtons.tsx +0 -33
  3793. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +0 -48
  3794. package/src/components/SafeDepositRental/RentalPeriod.tsx +0 -21
  3795. package/src/components/SafeDepositRental/SafeBoxCases.tsx +0 -46
  3796. package/src/components/SafeDepositRental/SafeDepositRental.fixture.mobile.tsx +0 -15
  3797. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +0 -17
  3798. package/src/components/SafeDepositRental/SafeDepositRental.tsx +0 -75
  3799. package/src/components/SafeDepositRental/SafeDepositRental.ui.json +0 -8
  3800. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +0 -8
  3801. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +0 -74
  3802. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +0 -62
  3803. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +0 -74
  3804. package/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -9
  3805. package/src/components/SafeDepositRental/WrapperSelect.tsx +0 -33
  3806. package/src/components/SafeDepositRental/useGetRegions.ts +0 -19
  3807. package/src/components/SafeDepositRental/useSafeBoxes.ts +0 -44
  3808. package/src/components/SafeDepositRental/utils.ts +0 -24
  3809. package/src/components/TariffsTable/EmbeddableCellData.tsx +0 -79
  3810. package/src/components/TariffsTable/TableTileHeader.tsx +0 -15
  3811. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +0 -14
  3812. package/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -83
  3813. package/src/components/TariffsTable/TariffsTableTileCell.tsx +0 -33
  3814. package/src/components/TariffsTable/TariffsTableVertical.tsx +0 -13
  3815. package/src/components/TariffsTable/constants.ts +0 -4
  3816. package/src/components/UnitBlock/UnitBlock.example.json +0 -9
  3817. package/src/components/UnitBlock/UnitBlock.fixture.mobile.tsx +0 -27
  3818. package/src/components/UnitBlock/UnitBlock.fixture.tsx +0 -27
  3819. package/src/components/UnitBlock/UnitBlock.tsx +0 -17
  3820. package/src/components/UnitBlock/UnitBlock.ui.json +0 -1
  3821. package/src/components/UnitBlock/UnitBlockContent.ts +0 -7
  3822. package/src/retail/utils/mainFormStateMap.ts +0 -67
  3823. package/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +0 -8
  3824. package/src/ui-kit/ControlStateProps.ts +0 -3
  3825. package/src/ui-kit/Rating/Rating.fixture.tsx +0 -7
  3826. package/src/ui-kit/Rating/Rating.tsx +0 -39
  3827. package/src/ui-kit/Unit/Unit.tsx +0 -26
  3828. package/src/ui-kit/Unit/UnitProps.ts +0 -8
  3829. /package/bundle/{ui-kit → model}/ControlProps.d.ts +0 -0
  3830. /package/dist/{ui-kit → model}/ControlProps.d.ts +0 -0
  3831. /package/dist/{ui-kit → model}/ControlProps.js +0 -0
  3832. /package/lib/{ui-kit → model}/ControlProps.d.ts +0 -0
  3833. /package/lib/{ui-kit → model}/ControlProps.js +0 -0
  3834. /package/mobile/bundle/{ui-kit → model}/ControlProps.d.ts +0 -0
  3835. /package/mobile/dist/{ui-kit → model}/ControlProps.d.ts +0 -0
  3836. /package/mobile/dist/{ui-kit → model}/ControlProps.js +0 -0
  3837. /package/mobile/lib/{ui-kit → model}/ControlProps.d.ts +0 -0
  3838. /package/mobile/lib/{ui-kit → model}/ControlProps.js +0 -0
  3839. /package/mobile/src/{ui-kit → model}/ControlProps.ts +0 -0
  3840. /package/src/{ui-kit → model}/ControlProps.ts +0 -0
@@ -145,7 +145,7 @@
145
145
  const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isEmbedded = false, isTheme = false, ...rest }) => {
146
146
  const versionStyle = headlineVersionStyles[headlineVersion];
147
147
  const descriptionStyle = { marginTop: versionStyle.descriptionStyle };
148
- return (jsxs(BlockWrapper, { className: style({ '@container-normal': isEmbedded }, className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
148
+ return (jsxs(BlockWrapper, { className: style({ '@container-normal': isEmbedded }, className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-normal', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
149
149
  });
150
150
 
151
151
  const DEFAULT_SLOT_NAME = null;
@@ -154,7 +154,7 @@
154
154
 
155
155
  const DEFAULT_ANCESTORS = [];
156
156
  const defaultStyle$2 = 'col-span-12';
157
- function renderBlock$1(block, options, { className, ...extraProps } = {}) {
157
+ function renderBlock(block, options, { className, ...extraProps } = {}) {
158
158
  const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, } = options;
159
159
  const { type } = block;
160
160
  if (!(type && type in blocksRegistry)) {
@@ -174,9 +174,9 @@
174
174
  }
175
175
 
176
176
  const EMPTY_ANCESTORS = [];
177
- const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock$1, ...options }) => {
177
+ const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock, ...options }) => {
178
178
  const renderChildBlock = extraProps
179
- ? (childBlock, childOptions) => renderBlock$1(childBlock, childOptions, extraProps)
179
+ ? (childBlock, childOptions) => renderBlock(childBlock, childOptions, extraProps)
180
180
  : renderProps;
181
181
  return (blocks || []).map((_, i) => renderChildBlock(_, {
182
182
  ...options,
@@ -481,8 +481,12 @@
481
481
 
482
482
  const useDialogManager = () => useEmitterWithActions(defaultEventBus.emitter, 'dialog');
483
483
 
484
- const adjustBase = (href, basePath = '') => href?.replace(basePath, '') || '/';
484
+ const FORWARD_SLASH = '/';
485
+ const adjustBase = (href = FORWARD_SLASH, basePath = FORWARD_SLASH) => [href, basePath].some((_) => _ === FORWARD_SLASH)
486
+ ? href
487
+ : href.replace(basePath, '') || FORWARD_SLASH;
485
488
 
489
+ const RESERVED_PREFIX = ['/api'];
486
490
  function useLink() {
487
491
  const router = useRouter();
488
492
  const { closeAll } = useDialogManager();
@@ -505,7 +509,7 @@
505
509
  };
506
510
  }
507
511
  const isClientRouting = (href, target, basePath) => isLocalURL(href, target) &&
508
- !env.SUB_PORTALS?.split(',')?.some(hasPrefix(href)) &&
512
+ ![...RESERVED_PREFIX, ...(env.SUB_PORTALS?.split(',') ?? [])].some(hasPrefix(href)) &&
509
513
  hasPrefix(href)(basePath || '/');
510
514
 
511
515
  const getAspectsAttributes = (data) => {
@@ -521,7 +525,7 @@
521
525
  const ButtonInner = JSX((props) => {
522
526
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
523
527
  const iconHideStyle = isWithText(props) && 'hidden lg:block';
524
- return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-3xs' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendRight })) : null] }));
528
+ return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendRight })) : null] }));
525
529
  });
526
530
  const buttonStyle$1 = (props) => {
527
531
  const { version, aboveText, rounded } = props;
@@ -640,7 +644,7 @@
640
644
  imageAlign,
641
645
  }), buttons ? jsx("div", { className: "self-end", children: buttons }) : null] })] })] }));
642
646
  });
643
- const renderMiddleContent = (insetTitle, children) => insetTitle || children ? (jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] })) : null;
647
+ const renderMiddleContent = (insetTitle, children) => insetTitle || children ? (jsxs("div", { className: "grow space-y-lg w-fit", children: [insetTitle, children] })) : null;
644
648
  const imageAlwaysOnRightContainerStyle = (isImage) => style(isImage ? 'row-span-2' : '@xl:row-span-2');
645
649
  const renderUnitContainer = (childrenBlocks) => childrenBlocks?.length ? (jsx("div", { className: "flex items-start justify-end", children: childrenBlocks })) : null;
646
650
 
@@ -759,10 +763,10 @@
759
763
  const and = (a, b) => (...args) => a(...args) && b(...args);
760
764
 
761
765
  const table = (...table) => (...input) => {
762
- const [, unit] = assertNonEmpty$1(table.find(([predicate]) => predicate(...input)));
766
+ const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(...input)));
763
767
  return unit(...input);
764
768
  };
765
- function assertNonEmpty$1(value) {
769
+ function assertNonEmpty(value) {
766
770
  if (!value) {
767
771
  throw new Error('Value should be fulfilled');
768
772
  }
@@ -981,7 +985,7 @@
981
985
  return OutputComponent;
982
986
  }
983
987
 
984
- const ProductBlock = UniBlock(({ className, padding, defaultPadding, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: defaultPadding || 'p-6xl', padding: padding, className: "grow h-full", ...rest }) })), { childrenTypes: ['UnitBlock'] });
988
+ const ProductBlock = UniBlock(({ className, padding, defaultPadding, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: defaultPadding || 'p-6xl', padding: padding, className: "grow h-full", ...rest }) })));
985
989
 
986
990
  const AdTile = JSX((props) => {
987
991
  const { items } = (props.options?.page?.adSourceBook ?? {});
@@ -1065,9 +1069,12 @@
1065
1069
  : { secondaryPhoneNumber: formatPhone(secondaryPhone) };
1066
1070
  };
1067
1071
 
1068
- const handleAspects = ({ aspectsAttributes, aspects, ev }) => {
1072
+ const handleAspects = async ({ aspectsAttributes, aspects, ev }) => {
1069
1073
  for (const { aspectName, params } of aspectsAttributes ?? []) {
1070
- aspects[aspectName ?? '']?.(ev, params);
1074
+ const aspectFn = aspects[aspectName ?? ''];
1075
+ if (aspectFn) {
1076
+ await aspectFn(ev, params);
1077
+ }
1071
1078
  }
1072
1079
  };
1073
1080
 
@@ -1110,7 +1117,7 @@
1110
1117
  return url.toString();
1111
1118
  };
1112
1119
 
1113
- const forwardQuery = (ev) => {
1120
+ const forwardQuery = async (ev) => {
1114
1121
  const anchor = ev.target?.closest('a');
1115
1122
  const navigator = locationNavigator();
1116
1123
  if (isURL(anchor?.href) && !anchor?.href?.startsWith(navigator.origin)) {
@@ -1280,7 +1287,7 @@
1280
1287
 
1281
1288
  const getValidStyle = (valid) => (valid ? inputValidStyle : 'border-error');
1282
1289
 
1283
- const renderLabel = (label) => label ? (jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label })) : null;
1290
+ const renderLabel$1 = (label) => label ? (jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label })) : null;
1284
1291
 
1285
1292
  const Input = JSX(
1286
1293
  // eslint-disable-next-line max-lines-per-function
@@ -1298,26 +1305,30 @@
1298
1305
  const paddingStyle = children ? 'pr-3xl' : '';
1299
1306
  const validStyle = getValidStyle(valid);
1300
1307
  const ariaLabel = label ?? name ?? id;
1301
- return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { className: "space-y-xs", children: [renderLabel(label), isTextarea ? (jsx("textarea", { className: style('block resize-y min-h-24', defaultStyle$1, validStyle), id: style('textarea', id), value: value, name: name || id, placeholder: placeholder, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key)) : (jsx("input", { ref: inputRef, className: style('h-14', defaultStyle$1, paddingStyle, validStyle), id: id, type: type, value: value, name: name || id, placeholder: placeholder, pattern: pattern, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key))] }), children] }));
1308
+ return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { className: "space-y-xs", children: [renderLabel$1(label), isTextarea ? (jsx("textarea", { className: style('block resize-y min-h-24', defaultStyle$1, validStyle), id: style('textarea', id), value: value, name: name || id, placeholder: placeholder, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key)) : (jsx("input", { ref: inputRef, className: style('h-14', defaultStyle$1, paddingStyle, validStyle), id: id, type: type, value: value, name: name || id, placeholder: placeholder, pattern: pattern, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key))] }), children] }));
1302
1309
  });
1303
1310
  const defaultStyle$1 = 'w-full border rounded-md text-primary-text outline-none p-m';
1304
1311
 
1305
1312
  const renderErrorText = (error) => (jsx("div", { className: "h-6", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
1306
1313
 
1307
- const InputControl = JSX(({ className, label, value = '', placeholder, error, errors, onChange = noop, onBlur, isTextarea, type, isInteger = false, maxLength, disabled = false, }) => {
1308
- const [isOpen, { setFalse: close, setTrue: open }] = useBool();
1309
- const popupRef = useOutsideClick(close);
1314
+ const InputWrapper = JSX(({ className, label, value = '', error, errors, type, isInteger, placeholder, maxLength, inputRef, isOpen, onOpen, onClose, onChange = noop, ...rest }) => {
1315
+ const popupRef = useOutsideClick(onClose);
1310
1316
  const handleChange = useCallback((v) => {
1311
- !isOpen && open();
1312
- maxLength ? v.length <= maxLength && onChange(v) : onChange(v);
1317
+ const isOverMax = maxLength && v.length > maxLength;
1318
+ !isOpen && onOpen();
1319
+ if (!isOverMax) {
1320
+ onChange(normalizeInteger(v, isInteger));
1321
+ }
1313
1322
  }, [isOpen, onChange]);
1314
- useEffect(() => {
1315
- isInteger && value ? onChange(normalizeInteger$1(value)) : null;
1316
- }, [value]);
1317
- return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: close, onFocus: open, children: [jsx("div", { children: jsx(Input, { disabled: disabled, type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), value: value, onChange: handleChange, onBlur: onBlur, isTextarea: isTextarea, placeholder: getPlaceholder$1(placeholder, errors, label) }) }), renderErrorText(error)] }));
1323
+ return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: onClose, onFocus: onOpen, children: [jsx("div", { ref: inputRef, children: jsx(Input, { type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), onChange: handleChange, placeholder: getPlaceholder({ placeholder, errors, label }), value: value, ...rest }) }), renderErrorText(error)] }));
1318
1324
  });
1319
- const normalizeInteger$1 = (val = '') => val.replace(/[^\d]+/g, '');
1320
- const getPlaceholder$1 = (placeholder, errors, label) => errors && !label ? `${placeholder}*` : placeholder;
1325
+ const normalizeInteger = (val = '', isInteger = false) => isInteger && val ? val.replace(/[^\d]+/g, '') : val;
1326
+ const getPlaceholder = ({ placeholder, errors, label }) => errors && !label ? `${placeholder}*` : placeholder;
1327
+
1328
+ const InputControl = JSX((props) => {
1329
+ const [isOpen, { setFalse: close, setTrue: open }] = useBool();
1330
+ return jsx(InputWrapper, { isOpen: isOpen, onOpen: open, onClose: close, ...props });
1331
+ });
1321
1332
 
1322
1333
  const formatOption = (_) => _?.text || _?.key || '';
1323
1334
 
@@ -1391,7 +1402,7 @@
1391
1402
  onClose: handleClose,
1392
1403
  iconVersion,
1393
1404
  });
1394
- return (jsxs("div", { className: style('space-y-xs', className), children: [renderLabel(label), jsxs("div", { className: style('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [jsxs("div", { className: style('h-14 [&>*]:p-m pr-6 text-l flex items-center justify-between text-primary-text relative z-10 overflow-hidden', getStyle(isBorder, valid, isDisabled)), onClick: hasOpen ? handleClose : handleOpen, children: [jsx("p", { className: "line-clamp-2 text-ellipsis", children: formatOption(value) || placeholder }), renderIcon$2(hasOpen, iconVersion)] }), isSearch && hasOpen ? (jsx("div", { className: style('absolute top-0 w-full z-20'), children: jsx(Input, { type: "text", value: query, autoFocus: true, disabled: isDisabled, onChange: setQuery }) })) : null] })] }));
1405
+ return (jsxs("div", { className: style('space-y-xs', className), children: [renderLabel$1(label), jsxs("div", { className: style('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [jsxs("div", { className: style('h-14 [&>*]:p-m pr-6 text-l flex items-center justify-between text-primary-text relative z-10 overflow-hidden', getStyle(isBorder, valid, isDisabled)), onClick: hasOpen ? handleClose : handleOpen, children: [jsx("p", { className: "line-clamp-2 text-ellipsis", children: formatOption(value) || placeholder }), renderIcon$2(hasOpen, iconVersion)] }), isSearch && hasOpen ? (jsx("div", { className: style('absolute top-0 w-full z-20'), children: jsx(Input, { type: "text", value: query, autoFocus: true, disabled: isDisabled, onChange: setQuery }) })) : null] })] }));
1395
1406
  });
1396
1407
  const renderIcon$2 = (isOpen, iconVersion) => (jsx(Icon, { className: style('absolute right-0 flex self-center', { 'rotate-180': !isOpen }), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
1397
1408
  const getStyle = (isBorder, valid, disabled) => style(isBorder ? 'border rounded-md ' : '', isBorder && !disabled ? 'hover:border-primary-hover' : '', disabled ? 'bg-main-divider' : 'cursor-pointer ', valid ? 'border-gray' : 'border-error');
@@ -1491,14 +1502,14 @@
1491
1502
  }
1492
1503
 
1493
1504
  const BRANCHES_URL = `${API_BASE_URI$1}/branches`;
1494
- const EMPTY_VALUE$3 = [];
1505
+ const EMPTY_VALUE$2 = [];
1495
1506
  function useBranches(regionCode) {
1496
- const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes$1);
1497
- return data || EMPTY_VALUE$3;
1507
+ const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
1508
+ return data || EMPTY_VALUE$2;
1498
1509
  }
1499
- const fetchSafeBoxes$1 = async (url) => {
1510
+ const fetchSafeBoxes = async (url) => {
1500
1511
  const result = await fetchJSON(url, { method: 'GET' });
1501
- return result || EMPTY_VALUE$3;
1512
+ return result || EMPTY_VALUE$2;
1502
1513
  };
1503
1514
 
1504
1515
  const REGIONS_URL$1 = '/branchesByRegions';
@@ -1582,7 +1593,7 @@
1582
1593
  const handleChange = useCallback((ev) => {
1583
1594
  onChange && onChange(parseDecimal(ev.target?.value));
1584
1595
  }, [onChange]);
1585
- return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('text-h3 w-full h-14', 'pl-m mt-xs box-border', 'text-primary-text', inputValidStyle, inputDisabledStyle), disabled: disabled, onChange: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
1596
+ return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('text-h3 w-full h-14', 'pl-m box-border', 'text-primary-text', inputValidStyle, inputDisabledStyle), disabled: disabled, onChange: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
1586
1597
  });
1587
1598
  const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
1588
1599
  const renderRangeCaption = (items) => (jsx("div", { className: "flex justify-between my-xs", children: items.map((item, i) => (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item }, String(i)))) }));
@@ -1886,7 +1897,7 @@
1886
1897
  value,
1887
1898
  });
1888
1899
  const spaceAbove = useElementSpace(ref, 370);
1889
- return (jsxs("div", { className: style('space-y-xs', className), ref: ref, children: [renderLabel(label), jsxs("div", { className: "relative", children: [renderDatePickerForm({
1900
+ return (jsxs("div", { className: style('space-y-xs', className), ref: ref, children: [renderLabel$1(label), jsxs("div", { className: "relative", children: [renderDatePickerForm({
1890
1901
  handleChangeVisibleCalendar,
1891
1902
  value,
1892
1903
  valid,
@@ -2075,7 +2086,7 @@
2075
2086
  };
2076
2087
  };
2077
2088
 
2078
- const cyrillicPattern = /^[\u0400-\u04FF\d\s]+$/u;
2089
+ const cyrillicPattern = /^[а-яё-]*$/i;
2079
2090
  const isCyrillic = (_ = '') => cyrillicPattern.test(_);
2080
2091
 
2081
2092
  const required = validator((_) => _ !== null && _ !== undefined && _ !== '');
@@ -2110,7 +2121,7 @@
2110
2121
  sufferedFrom: defaultValidator(),
2111
2122
  applierType: defaultValidator(),
2112
2123
  surname: nameValidator('Укажите свою фамилию на кириллице'),
2113
- name: nameValidator('Укажите своё имя на кириллице'),
2124
+ name: nameValidator('Укажите своё имя на кириллице (без сокращений)'),
2114
2125
  middleName: nameValidator('Укажите своё отчество на кириллице'),
2115
2126
  birthday: defaultValidator('Укажите дату рождения'),
2116
2127
  phone: phoneValidator('Укажите номер телефона'),
@@ -2467,6 +2478,7 @@
2467
2478
  return false;
2468
2479
  })('Укажите дату выдачи паспорта');
2469
2480
  const deliveryDateValidator = (errorMsg) => validator((_) => _?.getTime() >= new Date().getTime())(errorMsg);
2481
+ const notLaterDateValidator = (errorMsg) => validator((_) => _?.getTime() <= new Date().getTime())(errorMsg);
2470
2482
  const numberValidator = (errorMsg) => validator((_) => typeof _ === 'string' && _.length === 6)(errorMsg);
2471
2483
  const serieValidator = (errorMsg) => validator((_) => typeof _ === 'string' && _.length === 4)(errorMsg);
2472
2484
  const snilsValidate = (snils) => {
@@ -2533,7 +2545,7 @@
2533
2545
  lastJobExperience: jobNumberValidator('Укажите стаж на последнем месте работы'),
2534
2546
  experience5Years: jobNumberValidator('Укажите общий стаж за последние 5 лет'),
2535
2547
  jobsNumber: jobNumberValidator('Укажите количество мест работы за последние 5 лет'),
2536
- beginDate: defaultValidator('Укажите дату заключения трудового договора'),
2548
+ beginDate: notLaterDateValidator('Укажите дату заключения трудового договора'),
2537
2549
  addressFact: addressDaDataValidator(),
2538
2550
  addressRegistration: addressDaDataValidator(),
2539
2551
  addressRetail: defaultSelectValidator('Выберите адрес банка'),
@@ -2560,7 +2572,7 @@
2560
2572
  dulNumber: numberValidator('Укажите номер паспорта'),
2561
2573
  dulSubdivisionCode: numberValidator('Укажите код подразделения'),
2562
2574
  dulIssuedBy: defaultValidator('Укажите организацию, выдавшую паспорт'),
2563
- participantDateRegistration: defaultValidator('Укажите дату регистрации'),
2575
+ participantDateRegistration: notLaterDateValidator('Укажите дату регистрации'),
2564
2576
  retirementIncome: defaultValidator(),
2565
2577
  otherIncome: defaultValidator(),
2566
2578
  wages: defaultValidator(),
@@ -2625,10 +2637,6 @@
2625
2637
  text: 'Согласие на получение информационных материалов',
2626
2638
  docId: 18,
2627
2639
  },
2628
- consentPhotoFlg: {
2629
- text: 'Согласие на фотографирование',
2630
- docId: 17,
2631
- },
2632
2640
  };
2633
2641
  const DEBIT_CARD_CONSENTS = {
2634
2642
  processPersonalDataFlg: {
@@ -2667,7 +2675,6 @@
2667
2675
  { name: 'consentInformFlg' },
2668
2676
  { name: 'consentPfrFlg' },
2669
2677
  { name: 'consentInformMaterialsFlg' },
2670
- { name: 'consentPhotoFlg' },
2671
2678
  { name: 'consentFATCA', required: true },
2672
2679
  ];
2673
2680
  return [
@@ -2688,6 +2695,13 @@
2688
2695
  ];
2689
2696
  };
2690
2697
 
2698
+ var EsiaStatuses;
2699
+ (function (EsiaStatuses) {
2700
+ EsiaStatuses["Success"] = "SUCCESS";
2701
+ EsiaStatuses["Error"] = "ERROR";
2702
+ EsiaStatuses["Pending"] = "PENDING";
2703
+ })(EsiaStatuses || (EsiaStatuses = {}));
2704
+
2691
2705
  const getTraceId = () => {
2692
2706
  const result = new Uint8Array(8);
2693
2707
  globalThis.crypto.getRandomValues(result);
@@ -2726,14 +2740,19 @@
2726
2740
 
2727
2741
  const getLink = (body) => fetchRetailJSON('/esia/getLink', 'POST', body);
2728
2742
 
2729
- const EsiaLoginBanner = JSX(() => {
2743
+ const EsiaLoginBanner = JSX(({ onChangeEsiaStatus }) => {
2730
2744
  const navigator = locationNavigator();
2731
2745
  const handleAuth = useCallback(async () => {
2732
- const resp = await getLink({
2733
- redirectUri: globalThis.location.origin + globalThis.location.pathname,
2734
- });
2735
- if (resp?.link) {
2736
- navigator.assign(resp.link);
2746
+ try {
2747
+ const resp = await getLink({
2748
+ redirectUri: globalThis.location.origin + globalThis.location.pathname,
2749
+ });
2750
+ if (resp?.link) {
2751
+ navigator.assign(resp.link);
2752
+ }
2753
+ }
2754
+ catch {
2755
+ onChangeEsiaStatus(EsiaStatuses.Error);
2737
2756
  }
2738
2757
  }, []);
2739
2758
  return (jsxs("div", { className: "flex gap-lg items-center rounded-md bg-main-gray p-4xl", children: [jsxs("div", { className: "flex flex-col justify-around w-full", children: [jsx("p", { className: "mb-m text-xl", children: "\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0447\u0435\u0440\u0435\u0437 \u0413\u043E\u0441\u0443\u0441\u043B\u0443\u0433\u0438" }), jsxs("ul", { className: "list-disc list-inside mb-4xl", children: [jsx("li", { children: "\u0412\u0435\u0440\u043E\u044F\u0442\u043D\u043E\u0441\u0442\u044C \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u044F \u0432\u044B\u0448\u0435" }), jsx("li", { children: "\u0411\u0435\u0437 \u0441\u043F\u0440\u0430\u0432\u043E\u043A \u043E \u0434\u043E\u0445\u043E\u0434\u0430\u0445 \u0438 \u0442\u0440\u0443\u0434\u043E\u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435" }), jsx("li", { children: "\u0421 \u0437\u0430\u0449\u0438\u0442\u043E\u0439 \u0412\u0430\u0448\u0438\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" })] }), jsx(Img, { className: "block mb-xl self-center @md:hidden", image: { icon: 'GosUslugiIcon', iconVersion: 'normal' }, height: "80", width: "80" }), jsx(Button, { type: "button", onClick: handleAuth, className: "w-full @md:w-fit", children: "\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C" })] }), jsx(Img, { className: "hidden @md:block", image: { icon: 'GosUslugiIcon', iconVersion: 'normal' }, height: "164" })] }));
@@ -2931,16 +2950,8 @@
2931
2950
  return inputRef;
2932
2951
  }
2933
2952
 
2934
- const DaDataInputControl = JSX(({ className, label, value = '', placeholder, error, errors, onChange = noop, onDaDataChange, onBlur, isTextarea, type, name = '', daDataQueryPrefix, isInteger = false, maxLength, dadata = false, disabled = false, }) => {
2953
+ const DaDataInputControl = JSX(({ value = '', onChange = noop, onDaDataChange, name = '', daDataQueryPrefix, dadata = false, ...rest }) => {
2935
2954
  const [isOpen, { setFalse: close, setTrue: open }] = useBool();
2936
- const popupRef = useOutsideClick(close);
2937
- const handleChange = useCallback((v) => {
2938
- dadata && !isOpen && open();
2939
- maxLength ? v.length <= maxLength && onChange(v) : onChange(v);
2940
- }, [isOpen, onChange]);
2941
- useEffect(() => {
2942
- isInteger && value && onChange(normalizeInteger(value));
2943
- }, [value]);
2944
2955
  const inputRef = useInputPopup({
2945
2956
  isOpen: isOpen && dadata,
2946
2957
  name,
@@ -2949,10 +2960,8 @@
2949
2960
  onChange,
2950
2961
  onDaDataChange,
2951
2962
  });
2952
- return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: close, onFocus: open, children: [jsx("div", { ref: inputRef, children: jsx(Input, { disabled: disabled, type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), value: value, onChange: handleChange, onBlur: onBlur, isTextarea: isTextarea, placeholder: getPlaceholder(placeholder, errors, label) }) }), renderErrorText(error)] }));
2953
- });
2954
- const normalizeInteger = (val = '') => val.replace(/[^\d]+/g, '');
2955
- const getPlaceholder = (placeholder, errors, label) => errors && !label ? `${placeholder}*` : placeholder;
2963
+ return (jsx(InputWrapper, { value: value, onChange: onChange, inputRef: inputRef, isOpen: isOpen, onOpen: open, onClose: close, ...rest }));
2964
+ });
2956
2965
 
2957
2966
  const AddressField = JSX(({ field, input }) => {
2958
2967
  const fieldName = input?.name || 'addressRegistration';
@@ -3511,16 +3520,6 @@
3511
3520
  });
3512
3521
  }
3513
3522
  };
3514
- const initializeExternalStylesheet = (url = '') => {
3515
- const link = globalThis.document.getElementById(url);
3516
- if (!link) {
3517
- const newLink = globalThis.document.createElement('link');
3518
- newLink.href = url;
3519
- newLink.id = url;
3520
- newLink.rel = 'stylesheet';
3521
- globalThis.document.head.appendChild(newLink);
3522
- }
3523
- };
3524
3523
  function useExternalNS(namespaceName, url, unmountNS = true) {
3525
3524
  const [externalNS, setExternalNS] = useState(undefined);
3526
3525
  useEffect(() => {
@@ -3854,7 +3853,7 @@
3854
3853
 
3855
3854
  const BankruptcyFlgField = JSX(({ field, input }) => (jsx(CheckboxWithError, { text: "\u0412 \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043C\u0435\u043D\u044F \u0432\u0435\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u043E \u043F\u043E \u0434\u0435\u043B\u0443 \u043E \u0431\u0430\u043D\u043A\u0440\u043E\u0442\u0441\u0442\u0432\u0435", ...field(input?.name ?? '') })));
3856
3855
 
3857
- const BeginDateField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u0442\u0435\u043A\u0443\u0449\u0435\u043C \u043C\u0435\u0441\u0442\u0435", ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
3856
+ const BeginDateField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u0442\u0435\u043A\u0443\u0449\u0435\u043C \u043C\u0435\u0441\u0442\u0435", ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input), maxDate: new Date() })));
3858
3857
 
3859
3858
  const BirthPlaceField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041C\u0435\u0441\u0442\u043E \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
3860
3859
 
@@ -3972,7 +3971,7 @@
3972
3971
  const CalculatorLayout = JSX(({ className, title, children, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-xl', className), defaultPadding: "p-4xl", ...rest, children: [title ? jsx(Heading, { className: "text-center", title: title }) : null, children] })));
3973
3972
 
3974
3973
  const CalculatorStyle = {
3975
- wrapper: 'flex flex-col justify-between lg:flex-row gap-x-4xl gap-y-7 lg:gap-y-4xl',
3974
+ wrapper: 'flex flex-col justify-between lg:flex-row gap-4xl',
3976
3975
  input: 'flex flex-col lg:w-1/2 gap-2xl',
3977
3976
  result: 'flex flex-col gap-y-xl min-w-52',
3978
3977
  };
@@ -4450,9 +4449,7 @@
4450
4449
  updateOrganizationFields(store, field, item);
4451
4450
  }, []);
4452
4451
  useEffect(() => {
4453
- if (!esiaAccountTypeCd ||
4454
- !inn ||
4455
- !(employerActivities && employerOrganization && organization && amountWorkers)) {
4452
+ if (!esiaAccountTypeCd || !inn || !isDictionariesAlreadyLoad(store)) {
4456
4453
  return;
4457
4454
  }
4458
4455
  (async () => {
@@ -4463,7 +4460,16 @@
4463
4460
  })();
4464
4461
  }, [employerActivities, employerOrganization, organization, amountWorkers]);
4465
4462
  return (jsx(DaDataInputControl, { label: "\u0418\u041D\u041D", isInteger: true, maxLength: 12, ...input, ...field(input?.name ?? ''), onDaDataChange: onDaDataChange, disabled: isEsiaAuthorize(field, input) }));
4466
- });
4463
+ });
4464
+ const isDictionariesAlreadyLoad = (store) => {
4465
+ const { employerActivities, employerOrganization, organization, amountWorkers, productType } = store;
4466
+ return [
4467
+ employerOrganization,
4468
+ organization,
4469
+ amountWorkers,
4470
+ productType === 'creditCard' ? employerActivities : true,
4471
+ ].every(Boolean);
4472
+ };
4467
4473
 
4468
4474
  const DeliveryDateFiels = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438", ...field(input?.name ?? ''), minDate: new Date() })));
4469
4475
 
@@ -4575,6 +4581,8 @@
4575
4581
 
4576
4582
  const InfoCardField = JSX(({ input }) => (jsx(InfoCard, { __html: input?.label })));
4577
4583
 
4584
+ const InitiateBankruptcyFlgField = JSX(({ field, input }) => (jsx(CheckboxWithError, { text: "\u042F \u043F\u043B\u0430\u043D\u0438\u0440\u0443\u044E \u0432 \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u0438\u043D\u0438\u0446\u0438\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0435\u043B\u043E \u043E \u0431\u0430\u043D\u043A\u0440\u043E\u0442\u0441\u0442\u0432\u0435 \u0432 \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u0441\u0435\u0431\u044F", ...field(input?.name ?? '') })));
4585
+
4578
4586
  const JobsNumberField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442 \u0440\u0430\u0431\u043E\u0442\u044B \u0437\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 5 \u043B\u0435\u0442", placeholder: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442", isInteger: true, maxLength: 2, ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
4579
4587
 
4580
4588
  const LastJobExperienceField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u0421\u0442\u0430\u0436 \u043D\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u043C \u0440\u0430\u0431\u043E\u0447\u0435\u043C \u043C\u0435\u0441\u0442\u0435", placeholder: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043B\u0435\u0442", type: "number", maxLength: 2, ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
@@ -4748,7 +4756,7 @@
4748
4756
 
4749
4757
  const OtherIncomeField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u0418\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", isInteger: true, ...field(input?.name ?? ''), ...input })));
4750
4758
 
4751
- const ParticipantDateRegistrationField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0441\u0442\u0443 \u0436\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430", ...field(input?.name ?? '') })));
4759
+ const ParticipantDateRegistrationField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0441\u0442\u0443 \u0436\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430", ...field(input?.name ?? ''), maxDate: new Date() })));
4752
4760
 
4753
4761
  const MAX_PART = 100;
4754
4762
  const MIN_PART = 0;
@@ -4808,22 +4816,27 @@
4808
4816
  };
4809
4817
 
4810
4818
  const RegionRetailField = JSX(({ field, input }) => {
4819
+ const { programId, productType } = useRetailFormStore();
4811
4820
  const { data: regions } = useLeadFormData('REGION_RF');
4812
4821
  const { data: regionsDelivery } = useAsyncData('regionsDelivery', getRegionsCardDelivery);
4813
- const { programId } = useRetailFormStore();
4822
+ const { data: productSettings } = useLeadFormData(getCurrentProductSettings(productType));
4814
4823
  const isSalaryCard = programId === '38';
4815
4824
  const formatRegions = regions?.map(({ key, value }) => ({ key, text: value }));
4825
+ const isDeliveryActive = productSettings?.find((_) => _?.key === 'DELIVERY_ACTIVE')?.value === 'true';
4816
4826
  const handleChangeRegion = field('regionRetail')?.onChange;
4817
4827
  const handleChangeRegionHasDelivery = field('regionHasDelivery')?.onChange;
4818
4828
  const handleChangeMethodObtain = field('methodObtain')?.onChange;
4819
4829
  const onChange = useCallback((value) => {
4820
- const regionHasDelivery = regionsDelivery?.find((_) => _.regionCode === value.key)?.deliveryFlg && !isSalaryCard;
4830
+ const regionHasDelivery = isDeliveryActive &&
4831
+ regionsDelivery?.find((_) => _.regionCode === value.key)?.deliveryFlg &&
4832
+ !isSalaryCard;
4821
4833
  handleChangeRegionHasDelivery?.(regionHasDelivery);
4822
4834
  handleChangeMethodObtain?.(regionHasDelivery ? 'courier' : 'office');
4823
4835
  handleChangeRegion?.(value);
4824
- }, [regionsDelivery]);
4836
+ }, [regionsDelivery, isDeliveryActive]);
4825
4837
  return (jsx(SelectControl, { label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: formatRegions, ...field(input?.name ?? ''), onChange: onChange }));
4826
- });
4838
+ });
4839
+ const getCurrentProductSettings = (productType) => productType === 'debitCard' ? 'DEBIT_CARD_LEAD_PROCESS_SETTINGS' : 'CREDIT_LEAD_PROCESS_SETTINGS';
4827
4840
 
4828
4841
  const RetirementIncomeField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041F\u0435\u043D\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", isInteger: true, ...field(input?.name ?? ''), ...input })));
4829
4842
 
@@ -4908,7 +4921,6 @@
4908
4921
  consentInformFlg: ConsentField,
4909
4922
  consentPfrFlg: ConsentField,
4910
4923
  consentInformMaterialsFlg: ConsentField,
4911
- consentPhotoFlg: ConsentField,
4912
4924
  consentFATCA: ConsentField,
4913
4925
  };
4914
4926
  const InputsRetailMap = {
@@ -4955,6 +4967,7 @@
4955
4967
  wages: WagesField,
4956
4968
  mandatoryPayments: MandatoryPaymentsField,
4957
4969
  bankruptcyFlg: BankruptcyFlgField,
4970
+ initiateBankruptcyFlg: InitiateBankruptcyFlgField,
4958
4971
  shareholderFlg: ShareholderFlgField,
4959
4972
  legalEntityName: LegalEntityNameField,
4960
4973
  creditInRshbCd: CreditInRshbCdField,
@@ -5081,7 +5094,7 @@
5081
5094
  .then((res) => res.text())
5082
5095
  .then((text) => text === 'OK');
5083
5096
 
5084
- const ICON_SIZE$1 = { width: '103', height: '21' };
5097
+ const ICON_SIZE = { width: '103', height: '21' };
5085
5098
 
5086
5099
  const logoTitleSizeStyle = 'text-s';
5087
5100
 
@@ -5107,7 +5120,7 @@
5107
5120
  'bg-white': 'text-primary-text',
5108
5121
  transparent: 'text-white',
5109
5122
  };
5110
- const Logo = JSX(({ className, href = '/', logo, children, targetBlank, bgColor = 'bg-white', showTitle = true, data, }) => (jsxs("a", { className: style('inline-flex items-center font-sans no-underline', className), href: logo?.href ?? href, target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title ?? 'Россельхозбанк', ...getAspectsAttributes(data), children: [renderImage(bgColor, logo?.image, ICON_SIZE$1), showTitle
5123
+ const Logo = JSX(({ className, href = '/', logo, children, targetBlank, bgColor = 'bg-white', showTitle = true, data, }) => (jsxs("a", { className: style('inline-flex items-center font-sans no-underline', className), href: logo?.href ?? href, target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title ?? 'Россельхозбанк', ...getAspectsAttributes(data), children: [renderImage(bgColor, logo?.image, ICON_SIZE), showTitle
5111
5124
  ? children ?? (jsx("div", { className: "ml-s", children: jsx(Text, { font: "font-medium", color: TEXT_COLOR[bgColor], size: logoTitleSizeStyle, children: logo?.title ?? 'Россельхозбанк' }) }))
5112
5125
  : null] })));
5113
5126
 
@@ -5138,7 +5151,7 @@
5138
5151
  (async () => setCaptcha(URL.createObjectURL(await createCaptcha(phoneNumber))))();
5139
5152
  }, []);
5140
5153
  useEffect(handleCreateCaptcha, []);
5141
- return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto rounded-lg", head: jsx(Logo, {}), onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md", children: [jsxs("div", { className: "flex h-36 w-72", children: [jsx("img", { className: "grow", src: captcha }), jsx(Button, { className: "w-8", embedded: true, onClick: handleCreateCaptcha, children: jsx(Icon, { iconVersion: "normal", name: "RefreshIcon" }) })] }), jsx(Input, { className: "w-[300px]", onChange: setCode, value: code, placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434 \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438" }), hasError ? jsx("div", { className: "text-error", children: "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434" }) : null, jsxs("div", { className: "flex w-[310px] justify-between", children: [jsx(Button, { version: "secondary", onClick: close, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F" }), jsx(SubmitButton$1, { version: "secondary", disabled: !code, onClick: handleCheckCaptcha, children: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C" })] }), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
5154
+ return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto rounded-lg", head: jsx(Logo, {}), onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center", children: [jsxs("div", { className: "flex", children: [jsx("img", { className: "grow", src: captcha }), jsx(Button, { className: "w-8", embedded: true, onClick: handleCreateCaptcha, children: jsx(Icon, { iconVersion: "normal", name: "RefreshIcon" }) })] }), jsx(Input, { className: "w-80", onChange: setCode, value: code, placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434 \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438" }), hasError ? jsx("div", { className: "text-error", children: "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434" }) : null, jsxs("div", { className: "flex w-80 justify-between", children: [jsx(Button, { version: "secondary", onClick: close, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F" }), jsx(SubmitButton$1, { version: "secondary", disabled: !code, onClick: handleCheckCaptcha, children: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C" })] }), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
5142
5155
  });
5143
5156
 
5144
5157
  const InputCode = JSX(({ values, setValues, hasError, errorText }) => {
@@ -5181,9 +5194,7 @@
5181
5194
  return `w-16 sm:w-20 h-24 text-5xl text-center p-md m-2 border ${getValidStyle(!hasError || !isInputEmpty)} rounded-md caret-transparent outline-none`;
5182
5195
  };
5183
5196
 
5184
- const SubmitButton = JSX(({ isDisabled, onClick, text }) => {
5185
- return (jsx(Button, { type: "button", onClick: onClick, disabled: isDisabled, children: jsx(Text, { font: "font-normal", children: text }) }));
5186
- });
5197
+ const SubmitButton = JSX(({ disabled = false, onClick, text }) => (jsx(Button, { type: "button", onClick: onClick, disabled: disabled, children: jsx(Text, { font: "font-normal", children: text }) })));
5187
5198
 
5188
5199
  const checkCode = async (body) => fetchRetailJSON('/sms/checkCode', 'POST', body).then(saveToken);
5189
5200
  const saveToken = (data) => {
@@ -5264,8 +5275,8 @@
5264
5275
  }, []);
5265
5276
  return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-xl p-m", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center rounded-md", children: [jsx(Headline, { className: "w-full", title: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430", description: `Мы отправили код на ${phone}`, headlineVersion: "XS", isEmbedded: true, as: "h6" }), code ? (jsx(InputCode, { values: values, setValues: setValues, errorText: errorText, hasError: hasError })) : null, renderText$2(timeNextReq, handleSendCode), withDescription ? (jsxs(RichText, { itemSize: "list-s", children: [jsx("span", { children: "\u0412\u0432\u043E\u0434\u044F \u043A\u043E\u0434, \u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E, \u0447\u0442\u043E \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044B\u0432\u0430\u044E: " }), jsx("ul", { children: consents?.map((_, i) => (jsx("li", { children: _ }, `${_}-${i}`))) })] })) : null, renderNextButton(isSubmitButtonDisabled, handleSubmit), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
5266
5277
  });
5267
- const renderNextButton = (isDisabled, onClick) => (jsx(SubmitButton, { text: "\u0414\u0430\u043B\u0435\u0435", isDisabled: isDisabled, onClick: onClick }));
5268
- const renderText$2 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "ml-1", seconds: timeNextReq })] })) : (jsx(Button, { embedded: true, onClick: handleSendCode, children: jsx(ButtonTitle, { children: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434" }) }));
5278
+ const renderNextButton = (disabled, onClick) => (jsx(SubmitButton, { text: "\u0414\u0430\u043B\u0435\u0435", disabled: disabled, onClick: onClick }));
5279
+ const renderText$2 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "pl-2xs", seconds: timeNextReq })] })) : (jsx(Button, { embedded: true, onClick: handleSendCode, children: jsx(ButtonTitle, { children: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434" }) }));
5269
5280
 
5270
5281
  const defaultConsentText = {
5271
5282
  title: 'Подпишите согласие на запрос в БКИ',
@@ -5275,7 +5286,7 @@
5275
5286
  title: 'Вы уверены, что хотите отказаться от запроса в БКИ',
5276
5287
  description: 'Согласие на запрос в Бюро кредитных историй (БКИ) повысит вероятность одобрения',
5277
5288
  };
5278
- const ITEMS$1 = [
5289
+ const ITEMS = [
5279
5290
  { id: 'SIGNED', text: 'Подписать' },
5280
5291
  { id: 'REFUSE', text: 'Отказаться' },
5281
5292
  ];
@@ -5292,7 +5303,7 @@
5292
5303
  setShowRefuseContent(value === 'REFUSE');
5293
5304
  }, []);
5294
5305
  const consentText = showRefuseContent ? refuseConsentText : defaultConsentText;
5295
- return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-lg px-5xl", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center", children: [jsx("div", { role: "button", onClick: openDocument, children: jsx(Heading, { className: "text-center text-balance", headingType: "h2", title: consentText.title }) }), jsx(Paragraph, { align: "text-center", children: consentText.description }), jsx(RadioButtonGroup, { className: "whitespace-normal", orientation: "horizontal", items: ITEMS$1, value: confirmStatus, onChange: handleConfirmChange }), jsx(Button, { disabled: !confirmStatus, type: "button", onClick: handleSubmit, children: "\u0414\u0430\u043B\u0435\u0435" })] }) }));
5306
+ return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-lg px-5xl", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center", children: [jsx("div", { role: "button", onClick: openDocument, children: jsx(Heading, { className: "text-center text-balance", headingType: "h2", title: consentText.title }) }), jsx(Paragraph, { align: "text-center", children: consentText.description }), jsx(RadioButtonGroup, { className: "whitespace-normal", orientation: "horizontal", items: ITEMS, value: confirmStatus, onChange: handleConfirmChange }), jsx(Button, { disabled: !confirmStatus, type: "button", onClick: handleSubmit, children: "\u0414\u0430\u043B\u0435\u0435" })] }) }));
5296
5307
  });
5297
5308
 
5298
5309
  const useConsentBkiDialog = (onClose) => {
@@ -5332,7 +5343,7 @@
5332
5343
  };
5333
5344
  };
5334
5345
 
5335
- const DraftActionButton = JSX(({ title, icon, description, onClick = noop }) => (jsxs("button", { className: "flex gap-lg items-center border border-gray/30 rounded-xl cursor-pointer p-4 hover:border-green", type: "button", onClick: onClick, children: [jsx(Img, { image: { icon, iconVersion: 'normal' }, width: "78", height: "78" }), jsxs("div", { className: "flex flex-col items-start gap-xs md:w-72 md:mr-lg", children: [jsx(Text, { font: "font-medium", size: "text-s", children: title }), description ? (jsx(Text, { color: "text-secondary-text", size: "text-xs", children: description })) : null] })] })));
5346
+ const DraftActionButton = JSX(({ title, icon, description, onClick = noop }) => (jsxs("button", { className: "flex gap-lg items-center border border-gray/30 rounded-xl cursor-pointer p-4 hover:border-green", type: "button", onClick: onClick, children: [jsx(Img, { image: { icon, iconVersion: 'normal' }, width: "78", height: "78" }), jsxs("div", { className: "flex flex-col items-start gap-xs md:w-72 md:mr-lg", children: [title ? (jsx(Text, { font: "font-medium", size: "text-s", children: title })) : null, description ? (jsx(Text, { color: "text-secondary-text", size: "text-xs", children: description })) : null] })] })));
5336
5347
 
5337
5348
  const fieldsNamesToContactKeysMap = {
5338
5349
  email: 'EMAIL',
@@ -5402,7 +5413,7 @@
5402
5413
  }, []);
5403
5414
 
5404
5415
  const getFamilyStatusAndIncomeData = (formData) => {
5405
- const { familyStatus, familyMembers, dependents, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
5416
+ const { familyStatus, familyMembers, dependents, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, initiateBankruptcyFlg, } = formData;
5406
5417
  return {
5407
5418
  maritalStatusCd: familyStatus,
5408
5419
  totalDependents: familyMembers,
@@ -5422,6 +5433,7 @@
5422
5433
  }),
5423
5434
  snils: snils?.replace(/[-\s]/g, ''),
5424
5435
  armyIdFlg,
5436
+ initiateBankruptcyFlg,
5425
5437
  };
5426
5438
  };
5427
5439
  const countIncomeAverage = (wages, retirementIncome) => (Number(wages ?? 0) + Number(retirementIncome ?? 0)).toString();
@@ -5602,7 +5614,7 @@
5602
5614
  const handleGoToNewTask = useCallback(() => {
5603
5615
  navigator.assign(isCredit ? '/natural/loans/all-goals' : '/natural/creditcards/svoya');
5604
5616
  }, []);
5605
- return (jsx(Dialog, { className: "my-6xl max-w-4xl w-full min-h-fit mx-auto rounded-xl py-0", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center mt-xs md:mt-0 mx-6xl", children: [jsx(Heading, { className: "whitespace-pre-wrap text-center", title: "\u041D\u0430\u0448\u043B\u0438 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u044F\u0432\u043A\u0438", headingType: "h5" }), jsxs("div", { className: "flex flex-col gap-m max-w-lg", children: [jsx(DraftActionButton, { title: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A\u0430", icon: "BankColorIcon", description: createdDate ? `Черновик от ${formatDate(new Date(createdDate))}` : '', onClick: handleGoToDraft }), jsx(DraftActionButton, { title: isFromLead ? 'Продолжить заполнение текущей заявки' : 'Создать новую заявку', icon: "NewLoanIcon", description: "\u041D\u0430 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u0430", onClick: isFromLead ? onClose : handleGoToNewTask })] })] }) }));
5617
+ return (jsx(Dialog, { className: "my-6xl max-w-4xl w-full min-h-fit mx-auto rounded-xl py-0", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center mt-xs mx-6xl", children: [jsx(Heading, { className: "whitespace-pre-wrap text-center", title: "\u041D\u0430\u0448\u043B\u0438 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u044F\u0432\u043A\u0438", headingType: "h5" }), jsxs("div", { className: "flex flex-col gap-m max-w-lg", children: [jsx(DraftActionButton, { title: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A\u0430", icon: "BankColorIcon", description: createdDate ? `Черновик от ${formatDate(new Date(createdDate))}` : '', onClick: handleGoToDraft }), jsx(DraftActionButton, { title: isFromLead ? 'Продолжить заполнение текущей заявки' : 'Создать новую заявку', icon: "NewLoanIcon", description: "\u041D\u0430 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u0430", onClick: isFromLead ? onClose : handleGoToNewTask })] })] }) }));
5606
5618
  });
5607
5619
 
5608
5620
  const EmptyDraftDialog = JSX(function ({ onClose = noop }) {
@@ -5862,19 +5874,19 @@
5862
5874
  }
5863
5875
  };
5864
5876
  const transformConsentsFields = (formData, productType) => {
5865
- const { consentOthersFlg, consentPfrFlg, processPersonalDataFlg, consentInformFlg, consentProviderFlg, consentInformMaterialsFlg, consentPhotoFlg, consentFATCA, } = formData;
5877
+ const { consentOthersFlg, consentPfrFlg, processPersonalDataFlg, consentInformFlg, consentProviderFlg, consentInformMaterialsFlg, consentFATCA, } = formData;
5866
5878
  let consents;
5867
5879
  if (productType === 'credit') {
5868
5880
  consents = {
5869
- consentPhotoFlg: consentOthersFlg,
5870
5881
  consentPfrFlg: consentPfrFlg,
5871
5882
  consentInformMaterialsFlg: consentOthersFlg,
5883
+ consentPhotoFlg: false,
5872
5884
  };
5873
5885
  }
5874
5886
  else if (productType === 'creditCard') {
5875
5887
  consents = {
5876
5888
  consentInformMaterialsFlg,
5877
- consentPhotoFlg,
5889
+ consentPhotoFlg: false,
5878
5890
  };
5879
5891
  }
5880
5892
  else {
@@ -5983,8 +5995,10 @@
5983
5995
  dulSubdivisionCode: document.dulSubdivisionCode,
5984
5996
  birthPlace: addInfo.birthPlace,
5985
5997
  addressRegistration: buildAddress(addressRegistration),
5986
- addressFact: buildAddress(addressFact),
5987
5998
  esiaAccountTypeCd: isDebit ? profile.esiaAccountType : { key: '' },
5999
+ ...(addressFact && {
6000
+ addressFact: buildAddress(addressFact),
6001
+ }),
5988
6002
  };
5989
6003
  return {
5990
6004
  ...mainData,
@@ -6065,16 +6079,6 @@
6065
6079
  category: 'CONFIRMING_INCOME_DOC',
6066
6080
  isPDF: false,
6067
6081
  },
6068
- {
6069
- file: esiaAdditionalDocument.pdfFileSigWorkbook,
6070
- category: 'CONFIRMING_INCOME_DOC',
6071
- isPDF: true,
6072
- },
6073
- {
6074
- file: esiaAdditionalDocument.xmlFileSigWorkbook,
6075
- category: 'CONFIRMING_INCOME_DOC',
6076
- isPDF: false,
6077
- },
6078
6082
  ];
6079
6083
  for (const doc of documents) {
6080
6084
  const contentType = doc.isPDF ? 'data:application/pdf;base64' : 'data:application/xml;base64';
@@ -6121,8 +6125,6 @@
6121
6125
  esiaAdditionalDocument?.xmlFilePayout,
6122
6126
  esiaAdditionalDocument?.xmlFileSigPayout,
6123
6127
  esiaAdditionalDocument?.xmlFileWorkbook,
6124
- esiaAdditionalDocument?.pdfFileSigWorkbook,
6125
- esiaAdditionalDocument?.xmlFileSigWorkbook,
6126
6128
  ];
6127
6129
  return data.every(Boolean);
6128
6130
  };
@@ -6169,12 +6171,6 @@
6169
6171
  return initialFormState;
6170
6172
  };
6171
6173
 
6172
- var EsiaStatuses;
6173
- (function (EsiaStatuses) {
6174
- EsiaStatuses["Success"] = "SUCCESS";
6175
- EsiaStatuses["Error"] = "ERROR";
6176
- EsiaStatuses["Pending"] = "PENDING";
6177
- })(EsiaStatuses || (EsiaStatuses = {}));
6178
6174
  const ApplicationLeadForm = JSX(({ className, title, programId = '', nextStepLink = '/credit-lead', button, productType = 'credit', data, ...rest }) => {
6179
6175
  const [esiaStatus, setEsiaStatus] = useState();
6180
6176
  const leadForm = useRef(null);
@@ -6215,7 +6211,7 @@
6215
6211
  reset();
6216
6212
  }
6217
6213
  }, [leadForm?.current, esiaStatus]);
6218
- return (jsxs(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, ...rest, children: [!esiaStatus ? jsx(EsiaLoginBanner, {}) : null, jsxs("form", { onSubmit: onSubmit, className: "space-y-m relative", ref: leadForm, children: [esiaStatus === EsiaStatuses.Pending ? jsx(Loader, { blur: false }) : null, applicationFormData.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [renderTitle(_.title), renderInputs$1({ field, inputs: _?.inputs }, productType)] }, `section-${i}`))), renderSubmitButton(button, isSending), esiaStatus === EsiaStatuses.Error ? (jsx(Text, { size: "text-m", font: "font-medium", color: "text-error", children: "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0413\u043E\u0441\u0443\u0441\u043B\u0443\u0433\u0438 \u0434\u043B\u044F \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0437\u0430\u044F\u0432\u043A\u0438 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043F\u043E\u043B\u044F \u0432\u0440\u0443\u0447\u043D\u0443\u044E." })) : null] })] }));
6214
+ return (jsxs(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, ...rest, children: [!esiaStatus ? jsx(EsiaLoginBanner, { onChangeEsiaStatus: setEsiaStatus }) : null, jsxs("form", { onSubmit: onSubmit, className: "space-y-m relative", ref: leadForm, children: [esiaStatus === EsiaStatuses.Pending ? jsx(Loader, { blur: false }) : null, applicationFormData.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [renderTitle(_.title), renderInputs$1({ field, inputs: _?.inputs }, productType)] }, `section-${i}`))), renderSubmitButton(button, isSending), esiaStatus === EsiaStatuses.Error ? (jsx(Text, { size: "text-m", font: "font-medium", color: "text-error", children: "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0413\u043E\u0441\u0443\u0441\u043B\u0443\u0433\u0438 \u0434\u043B\u044F \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0437\u0430\u044F\u0432\u043A\u0438 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043F\u043E\u043B\u044F \u0432\u0440\u0443\u0447\u043D\u0443\u044E." })) : null] })] }));
6219
6215
  });
6220
6216
  const getInputs = (applicationFormData) => (applicationFormData?.flatMap((_) => _?.inputs) || []);
6221
6217
  const getExtendedValidatorObj = (productType) => ({
@@ -6494,7 +6490,7 @@
6494
6490
  const renderCarouselBlocks = ({ blocksToRender, ...rest }) => (jsx(SwipeListControl, { visibleItemCount: 0, gap: 0, arrowsPadded: true, children: renderBlocksList(blocksToRender, {
6495
6491
  ...rest.options,
6496
6492
  parent: rest.block,
6497
- renderProps: (block, options, i) => (jsx("div", { className: style('relative min-w-80', getBorderStyle(true)), children: renderBlock$1(block, options) }, String(i))),
6493
+ renderProps: (block, options, i) => (jsx("div", { className: style('relative min-w-80', getBorderStyle(true)), children: renderBlock(block, options) }, String(i))),
6498
6494
  }) }));
6499
6495
 
6500
6496
  const FilteredBlocks = JSX(({ blocksSection, blocksToRender = [], notFound, ...rest }) => {
@@ -6599,9 +6595,9 @@
6599
6595
  };
6600
6596
 
6601
6597
  const EMPTY_SCHEMA = {};
6602
- const initialFiltrationState$3 = {};
6598
+ const initialFiltrationState$1 = {};
6603
6599
  const BankAccountFiltration = UniBlock(({ className, filtrationSchema = EMPTY_SCHEMA, consumerField = {}, resetButton, ...rest }) => {
6604
- const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$3, {
6600
+ const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$1, {
6605
6601
  block: rest.block,
6606
6602
  page: rest.options?.page,
6607
6603
  });
@@ -6640,7 +6636,7 @@
6640
6636
  const isMobileMode = useMobileMode();
6641
6637
  return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: getAlignStyles(isMobileMode), title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-col @md:flex-row flex-wrap w-full @md:justify-center mt-xl gap-5xl", role: "list", children: benefitList.map(renderBenefit) })) : null] }));
6642
6638
  });
6643
- const renderBenefit = ({ label, description, __html, icon, isDotted = false, iconBgVersion }, i) => (jsxs("div", { className: "flex gap-m items-center @md:basis-1/2 @md:max-w-[500px]", role: "listitem", children: [icon?.icon ? (jsx(RoundedIcon, { className: "shrink-0", iconBgVersion: iconBgVersion, ...icon })) : null, icon?.src ? jsx(Img, { className: "shrink-0", image: icon }) : null, label ? (jsxs("div", { className: "@sm:h-full space-y-xs", children: [jsx(Heading, { headingType: "h6", children: label }), jsx(Text, { size: "text-l", color: "text-secondary-text group-data-secondary:text-white/80", font: "font-light", children: description }), __html ? jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-s" }) : null] })) : null] }, String(i)));
6639
+ const renderBenefit = ({ label, description, __html, icon, isDotted = false, iconBgVersion }, i) => (jsxs("div", { className: "flex gap-m items-center @md:basis-1/2 @md:max-w-lg", role: "listitem", children: [icon?.icon ? (jsx(RoundedIcon, { className: "shrink-0", iconBgVersion: iconBgVersion, ...icon })) : null, icon?.src ? jsx(Img, { className: "shrink-0", image: icon }) : null, label ? (jsxs("div", { className: "@sm:h-full space-y-xs", children: [jsx(Heading, { headingType: "h6", children: label }), jsx(Text, { size: "text-l", color: "text-secondary-text group-data-secondary:text-white/80", font: "font-light", children: description }), __html ? jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-s" }) : null] })) : null] }, String(i)));
6644
6640
 
6645
6641
  const bonusBenefitStyles = 'justify-between p-m h-full border border-gray';
6646
6642
 
@@ -7280,7 +7276,7 @@
7280
7276
  ...field('moneyExtra'),
7281
7277
  value: calcParams.moneyExtra,
7282
7278
  })
7283
- : null, jsx("div", { className: "sm:hidden pt-1 pb-4 border-b border-main-divider", children: paymentTypeElement })] }), jsxs("div", { className: style(CalculatorStyle.result, '@4xl:w-1/2'), children: [jsx(CalculatorValue, { title: "\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u0430", value: calcSource?.totalLoanCost }), jsx(CalculatorValue, { title: "\u0421\u0442\u0430\u0432\u043A\u0430 \u043E\u0442", value: minRate, fractionDigits: 2, postfix: "%" }), jsx(CalculatorValue, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calcParams.monthlyPayment, postfix: "\u20BD" }), calcParams.benefit > 0 ? (jsx(CalculatorValue, { title: "\u0412\u044B\u0433\u043E\u0434\u0430 \u0432 \u043C\u0435\u0441\u044F\u0446", value: calcParams.benefit, postfix: "\u20BD" })) : null, jsx("div", { className: "hidden sm:block mb-lg", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }) }));
7279
+ : null, jsx("div", { className: "sm:hidden pb-m border-b border-main-divider", children: paymentTypeElement })] }), jsxs("div", { className: style(CalculatorStyle.result, '@4xl:w-1/2'), children: [jsx(CalculatorValue, { title: "\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u0430", value: calcSource?.totalLoanCost }), jsx(CalculatorValue, { title: "\u0421\u0442\u0430\u0432\u043A\u0430 \u043E\u0442", value: minRate, fractionDigits: 2, postfix: "%" }), jsx(CalculatorValue, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calcParams.monthlyPayment, postfix: "\u20BD" }), calcParams.benefit > 0 ? (jsx(CalculatorValue, { title: "\u0412\u044B\u0433\u043E\u0434\u0430 \u0432 \u043C\u0435\u0441\u044F\u0446", value: calcParams.benefit, postfix: "\u20BD" })) : null, jsx("div", { className: "hidden sm:block mb-lg", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }) }));
7284
7280
  });
7285
7281
  const renderCreditParamsForm = (params, field) => (jsxs("div", { className: "space-y-lg sm:space-y-s", children: [params.isShowSalaryClient ? (jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowInsurance ? (jsx(Checkbox, { text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", ...field('isInsurance'), value: params.isInsurance })) : null, jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0443\u044E \u0441\u0443\u043C\u043C\u0443", ...field('isExtraMoney'), value: params.isExtraMoney })] }));
7286
7282
 
@@ -7345,7 +7341,7 @@
7345
7341
  const FAILED_TITLE = 'Ошибка перевода';
7346
7342
  const SubmitFailedDialog = ({ onClose, errorCode, errorMessage, }) => {
7347
7343
  const description = errorCode ? `Код ошибки - ${errorCode}` : 'Пожалуйста, повторите позднее';
7348
- return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md space-x-m", children: [jsx(Img, { image: { icon: 'ResponseFailIcon', iconVersion: 'normal' }, width: "136", height: "136" }), jsx(Headline, { className: "w-full", title: FAILED_TITLE, description: description, headlineVersion: "XS", isEmbedded: true }), errorMessage ? (jsxs("div", { className: "bg-secondary-dark rounded-xl px-4 pt-4 pb-8 grid gap-4 grid-cols-12", children: [jsxs("div", { className: "col-span-8", children: [" ", errorMessage] }), jsx("div", { className: "col-span-4", children: jsx(Img, { image: { icon: 'ResponseFailIcon', iconVersion: 'normal' } }) })] })) : null] }) }));
7344
+ return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md space-x-m", children: [jsx(Img, { image: { icon: 'ResponseFailIcon', iconVersion: 'normal' }, width: "136", height: "136" }), jsx(Headline, { className: "w-full", title: FAILED_TITLE, description: description, headlineVersion: "XS", isEmbedded: true }), errorMessage ? (jsxs("div", { className: "bg-secondary-dark rounded-xl p-m grid gap-m grid-cols-12", children: [jsx("div", { className: "col-span-8", children: errorMessage }), jsx("div", { className: "col-span-4", children: jsx(Img, { image: { icon: 'ResponseFailIcon', iconVersion: 'normal' } }) })] })) : null] }) }));
7349
7345
  };
7350
7346
 
7351
7347
  const useSubmitCardTransfer = (formType) => {
@@ -7380,16 +7376,11 @@
7380
7376
  amount: 1500,
7381
7377
  };
7382
7378
  const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, button, formType = 'private', ...rest }) => {
7383
- const [isDisabled, { setValue: setDisabled }] = useBool(false);
7384
7379
  const handleSubmit = useSubmitCardTransfer(formType);
7385
7380
  const [{ amount }, { field, onSubmit }] = useForm(INITIAL_FORM_STATE, {
7386
7381
  onSubmit: handleSubmit,
7387
7382
  });
7388
- // TODO: dont set state in useEffect
7389
- useEffect(() => {
7390
- setDisabled(amount <= 0);
7391
- }, [amount]);
7392
- return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", onSubmit: onSubmit, children: [jsx(CurrencyInput, { valid: !isDisabled, label: label, max: MAX_AMOUNT, min: MIN_AMOUNT, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx(SubmitButton$1, { className: "w-full mt-lg", disabled: isDisabled, children: button.text })) : null] })] }));
7383
+ return (jsxs(BlockWrapper, { className: style('flex flex-col gap-4xl items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-md space-y-lg", method: "POST", onSubmit: onSubmit, children: [jsx(CurrencyInput, { valid: amount > 0, label: label, max: MAX_AMOUNT, min: MIN_AMOUNT, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx(SubmitButton$1, { className: "w-full", disabled: amount <= 0, children: button.text })) : null] })] }));
7393
7384
  });
7394
7385
 
7395
7386
  const ITEMS_GAP = 16;
@@ -7408,7 +7399,7 @@
7408
7399
  const defaultPadding = isNavButtons ? { defaultPadding: 'p-6xl pb-m' } : {};
7409
7400
  return renderChildren({
7410
7401
  ...rest,
7411
- renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock$1(block, options, {
7402
+ renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock(block, options, {
7412
7403
  className: cardStyle(block, {
7413
7404
  someCardsHighlighted,
7414
7405
  showBorder: !noCardBorder,
@@ -7421,9 +7412,9 @@
7421
7412
  : null] }, String(blockIndex))),
7422
7413
  });
7423
7414
  };
7424
- const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-3xl sm:pt-16'));
7415
+ const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-16'));
7425
7416
  const cardStyle = (_, { someCardsHighlighted, showBorder, cardSize = 'normal', }) => style(cardBaseStyle, 'min-w-80', CARD_SIZE_MAP[cardSize], // TODO fix для RecommendationCard
7426
- someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl sm:pt-16' : 'pt-3xl'), getBorderStyle(showBorder), showBorder && 'h-full');
7417
+ someCardsHighlighted && (isCardHighlighted(_) ? 'pt-16' : 'pt-3xl'), getBorderStyle(showBorder), showBorder && 'h-full');
7427
7418
  const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
7428
7419
 
7429
7420
  const VISIBLE_ITEM_COUNT = 0;
@@ -7452,15 +7443,6 @@
7452
7443
  };
7453
7444
  }) ?? [];
7454
7445
 
7455
- const titleSize = 'XS';
7456
-
7457
- const layerBaseStyle = 'z-10 border border-solid w-full h-full';
7458
- const layerStyle = style(layerBaseStyle, 'absolute hidden @xl:block border-transparent');
7459
- const CarouselCard = JSX(({ className, title, description, button, ...rest }) => (jsx(BlockWrapper, { className: style('sm:pl-6xl sm:pb-4xl @container-normal', className), defaultPadding: "p-0", ...rest, children: jsxs("div", { className: "relative h-full", children: [jsx("div", { className: style(layerStyle, 'top-9 right-12 bg-green-dark') }), jsx("div", { className: style(layerStyle, 'top-6 right-8 bg-green') }), jsx("div", { className: style(layerStyle, 'top-3 right-4 bg-green-light') }), jsxs("div", { className: style(layerBaseStyle, 'relative p-xl sm:p-5xl bg-white border-transparent sm:border-green-more-light'), children: [jsx(Headline, { title: title, description: description, headlineVersion: titleSize, align: "text-left", isEmbedded: true }), renderButtonsSection([button], {
7460
- className: 'mt-m sm:mt-6xl sm:justify-center',
7461
- isVertical: true,
7462
- })] })] }) })));
7463
-
7464
7446
  const cardStyleMap = {
7465
7447
  black: 'bg-black',
7466
7448
  white: 'bg-white',
@@ -7468,19 +7450,6 @@
7468
7450
  const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors = [], align = 'text-left', padding, ...rest }) => (jsx(BlockWrapper, { className: style('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, title: jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align, className: "min-h-24" }), rightImage: image?.src ? (jsx(Img, { className: "flex justify-center align-center mb-xl", image: image })) : null, buttons: renderButtonsSection([button], { buttonClassName: 'w-full self-end' }), children: [colors?.length ? (jsxs("div", { className: "flex text-secondary-text mb-m", children: [jsx("div", { className: "mr-xs", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null] }) })));
7469
7451
  const renderColorOption = (color, i) => (jsx("figure", { className: `w-6 h-6 ml-s border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
7470
7452
 
7471
- const CarouselLinkButton = JSX(({ icon, ...linkProps }) => {
7472
- const link = useLink();
7473
- const { text, href, target, onClick } = link(linkProps);
7474
- const textStyle = 'font-light md:font-normal text-primary-text text-center text-xs md:text-sm whitespace-wrap';
7475
- return text ? (jsx("div", { className: style('p-3 rounded-lg bg-white text-secondary-text flex justify-center'), children: jsx("a", { role: "link", href: href, target: target, onClick: onClick, children: jsxs("div", { className: "flex flex-col items-center gap-3 break-words max-w-[150px]", children: [icon ? (jsx(Img, { className: "w-7 h-7 md:w-12 md:h-12", image: {
7476
- ...icon,
7477
- iconVersion: icon?.iconVersion,
7478
- }, alt: text })) : null, jsx("div", { className: textStyle, children: text })] }) }) })) : null;
7479
- });
7480
-
7481
- const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsx(BlockWrapper, { defaultPadding: "p-5xl", className: style('overflow-hidden', className), ...rest, children: jsxs("div", { className: "flex flex-col lg:flex-row gap-5 justify-between", children: [jsxs("div", { className: "flex-1", children: [jsx(Headline, { isEmbedded: true, title: title, description: description, as: "h1", align: "text-left", headlineVersion: "XL" }), jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isEmbedded: true })] }), links?.length ? renderLinks(links) : null] }) })));
7482
- const renderLinks = (links) => (jsx("div", { className: style('lg:grid-cols-9 lg:[&>*]:col-span-2 lg:[&>*:nth-child(14n+2)]:col-span-3 lg:[&>*:nth-child(7n+5)]:col-span-3', 'lg:[&>*:nth-child(7n+6)]:col-span-3 lg:[&>*:nth-child(7n+7)]:col-span-3 lg:[&>*:nth-child(14n+10)]:col-span-3 lg:w-3/6', 'grid-cols-3 max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+3)]:col-span-2 max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+4)]:col-span-2', 'grid gap-3 lg:gap-5'), children: links.map((link, i) => (jsx(CarouselLinkButton, { ...link }, String(i)))) }));
7483
-
7484
7453
  const LinkWrapper = JSX(({ className = '', href, target, onClick, data, children }) => {
7485
7454
  const link = useLink();
7486
7455
  const linkProps = link({ href, target, onClick });
@@ -7636,7 +7605,7 @@
7636
7605
  return () => clearInterval(timer);
7637
7606
  };
7638
7607
 
7639
- const ProgressBar = JSX(({ step = 10, description, showPercentage = true }) => (jsxs("div", { children: [jsx("div", { className: "h-4 w-full bg-gray relative", children: jsx("div", { className: "h-4 bg-green", style: { width: `${step}%` } }) }), jsxs("div", { className: "relative", children: [showPercentage ? jsxs("div", { className: "absolute left-2/4 text-green", children: [step, "%"] }) : null, description ? jsx("div", { className: "text-right mr-4 text-gray", children: description }) : null] })] })));
7608
+ const ProgressBar = JSX(({ step = 10, description, showPercentage = true }) => (jsxs("div", { children: [jsx("div", { className: "h-4 w-full bg-gray relative", children: jsx("div", { className: "h-4 bg-green", style: { width: `${step}%` } }) }), jsxs("div", { className: "relative", children: [showPercentage ? jsxs("div", { className: "absolute left-2/4 text-green", children: [step, "%"] }) : null, description ? jsx("div", { className: "text-right pr-m text-gray", children: description }) : null] })] })));
7640
7609
 
7641
7610
  const CreditCardFormProgress = JSX(({ step = 1, totalSteps = 6, stepsTitles = [] }) => {
7642
7611
  const progress = useMemo(() => ((step + 1) / totalSteps) * 100, [step, totalSteps]);
@@ -7731,7 +7700,7 @@
7731
7700
 
7732
7701
  const SuccessStatusCardContent = JSX(() => {
7733
7702
  const { statusInfo } = useRetailFormStore();
7734
- return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442 \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: getSectionInfo(statusInfo), buttonText: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" }));
7703
+ return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: getSectionInfo(statusInfo), buttonText: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" }));
7735
7704
  });
7736
7705
  const getSectionInfo = (statusInfo) => {
7737
7706
  const sectionInfo = [
@@ -7802,6 +7771,7 @@
7802
7771
  .map((_) => {
7803
7772
  if ([
7804
7773
  checkIsRetiree(step, getValue),
7774
+ checkIsUnemployedRetiree(_, getValue),
7805
7775
  checkBusinessOwner(_, getValue),
7806
7776
  checkConsentPfrFlg(_, getValue),
7807
7777
  checkAddressFillFromESIA(_, getValue),
@@ -7813,6 +7783,7 @@
7813
7783
  return _;
7814
7784
  });
7815
7785
  const checkIsRetiree = (step, getValue) => step === 2 && getValue('employment')?.key === 'RETIREE';
7786
+ const checkIsUnemployedRetiree = ({ name }, getValue) => name === 'wages' && getValue('employment')?.key === 'RETIREE' && !getValue('inn');
7816
7787
  const checkBusinessOwner = ({ name }, getValue) => name === 'partInBusiness' && getValue('positionOrganization')?.key !== 'BUSINESS_OWNER';
7817
7788
  const checkAddressFillFromESIA = ({ name, filledByEsia }, getValue) => name?.startsWith('address') && getValue('esiaAccountTypeCd')?.key && filledByEsia;
7818
7789
  const checkAddressFact = ({ name }, getValue) => name === 'addressFact' && getValue('addressMatch');
@@ -7829,7 +7800,13 @@
7829
7800
 
7830
7801
  const renderStep = ({ sections, field, step, params, }) => sections?.map(({ inputs: origInputs = [], columns, title, condition }, i) => {
7831
7802
  const inputs = calculateInputs(getValue(field))(origInputs, step);
7832
- return (jsxs("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: [!checkCondition({ condition }, getValue(field)) ? renderTitle(title) : null, renderInputs({ field, inputs, params })] }, `section-${i}`));
7803
+ const cleanElements = [
7804
+ !checkCondition({ condition }, getValue(field)) ? renderTitle(title) : null,
7805
+ ...renderInputs({ field, inputs, params }),
7806
+ ]
7807
+ .filter(Boolean)
7808
+ .map((_, j) => ({ ..._, key: _.key ?? `elem-${j}` }));
7809
+ return cleanElements.length ? (jsx("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: cleanElements }, `section-${i}`)) : null;
7833
7810
  });
7834
7811
  const getValue = (field) => (name) => field(name)?.value;
7835
7812
 
@@ -7863,7 +7840,7 @@
7863
7840
  }
7864
7841
  };
7865
7842
 
7866
- const mainFormStateMap = [
7843
+ const getMainFormStateMap = (isCredit = false) => [
7867
7844
  {
7868
7845
  surname: '',
7869
7846
  name: '',
@@ -7918,8 +7895,9 @@
7918
7895
  wages: undefined,
7919
7896
  mandatoryPayments: undefined,
7920
7897
  snils: '',
7921
- armyIdFlg: false,
7898
+ armyIdFlg: isCredit ? undefined : false,
7922
7899
  esiaAccountTypeCd: { key: '', text: '' },
7900
+ initiateBankruptcyFlg: isCredit ? false : undefined,
7923
7901
  },
7924
7902
  {
7925
7903
  bankruptcyFlg: false,
@@ -7935,7 +7913,7 @@
7935
7913
  currency: '810',
7936
7914
  codeWord: '',
7937
7915
  },
7938
- ...mainFormStateMap,
7916
+ ...getMainFormStateMap(),
7939
7917
  {
7940
7918
  regionRetail: { key: '', text: '' },
7941
7919
  addressRetail: { key: '', text: '' },
@@ -7976,7 +7954,7 @@
7976
7954
  employmentTypeCd: employment,
7977
7955
  organizationName,
7978
7956
  organizationInn: inn,
7979
- organizationActivityTypeCd: employerActivities,
7957
+ organizationActivityTypeCd: employerActivities?.key ? employerActivities : undefined,
7980
7958
  organizationTypeCd: organization,
7981
7959
  organizationKindCd: employerOrganization,
7982
7960
  employeesNumberCd: amountWorkers,
@@ -7985,17 +7963,17 @@
7985
7963
  generalSeniority: experience5Years,
7986
7964
  jobsNumber,
7987
7965
  lastWorkDuration: lastJobExperience,
7988
- positionCd: positionOrganization,
7966
+ positionCd: positionOrganization?.key ? positionOrganization : undefined,
7989
7967
  participantContacts: getParticipantContacts$1({
7990
7968
  organizationPhone: organizationPhone && formatPhone(organizationPhone),
7991
7969
  }),
7992
7970
  participantAddresses: getParticipantAddresses$1({ organizationAddress }),
7993
- ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness : '',
7971
+ ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness : undefined,
7994
7972
  };
7995
7973
  };
7996
7974
 
7997
7975
  const getPersonalInfoData = (formData) => {
7998
- const { name, surname, middleName, limitedBirthday = '', phone = '', email, sex, birthPlace, dulIssueDate = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration = '', housing, addressRegistration, addressFact, addressMatch, } = formData;
7976
+ const { name, surname, middleName, limitedBirthday = '', phone = '', email, sex, birthPlace, dulIssueDate = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration, housing, addressRegistration, addressFact, addressMatch, } = formData;
7999
7977
  return {
8000
7978
  birthDate: formatDate(limitedBirthday, true),
8001
7979
  midname: middleName,
@@ -8008,7 +7986,9 @@
8008
7986
  dulSerie,
8009
7987
  dulSubdivisionCode,
8010
7988
  educationLevelCd: education,
8011
- registrationDate: formatDate(participantDateRegistration, true),
7989
+ registrationDate: participantDateRegistration
7990
+ ? formatDate(participantDateRegistration, true)
7991
+ : undefined,
8012
7992
  homeMatchFlg: addressMatch,
8013
7993
  houseTypeCd: housing,
8014
7994
  participantContacts: getParticipantContacts$1({
@@ -8178,7 +8158,6 @@
8178
8158
  return (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep({ sections, field, step }), jsx(StepsNavigationButtons$1, { isSending: isSending, step: step, onPrevStep: onPrevStep })] }));
8179
8159
  });
8180
8160
 
8181
- /* eslint-disable max-lines */
8182
8161
  const PERSONAL_DATA = [
8183
8162
  {
8184
8163
  title: 'Персональные данные',
@@ -8214,9 +8193,6 @@
8214
8193
  },
8215
8194
  ],
8216
8195
  },
8217
- ];
8218
- const PERSONAL_INFO_CONTENT = [
8219
- ...PERSONAL_DATA,
8220
8196
  {
8221
8197
  inputs: [
8222
8198
  {
@@ -8225,6 +8201,124 @@
8225
8201
  dadata: true,
8226
8202
  filledByEsia: true,
8227
8203
  },
8204
+ ],
8205
+ },
8206
+ ];
8207
+ const DELIVERY_CARD_CONTENT = [
8208
+ {
8209
+ title: 'Регион обслуживания карты',
8210
+ columns: 1,
8211
+ inputs: [],
8212
+ },
8213
+ {
8214
+ inputs: [
8215
+ {
8216
+ name: 'regionRetail',
8217
+ required: true,
8218
+ },
8219
+ ],
8220
+ },
8221
+ {
8222
+ title: 'Способ получения',
8223
+ columns: 1,
8224
+ inputs: [],
8225
+ condition: {
8226
+ name: 'regionHasDelivery',
8227
+ values: [true],
8228
+ },
8229
+ },
8230
+ {
8231
+ inputs: [
8232
+ {
8233
+ name: 'methodObtain',
8234
+ condition: {
8235
+ name: 'regionHasDelivery',
8236
+ values: [true],
8237
+ },
8238
+ },
8239
+ ],
8240
+ },
8241
+ {
8242
+ title: 'Выбор офиса',
8243
+ columns: 1,
8244
+ inputs: [],
8245
+ condition: {
8246
+ name: 'methodObtain',
8247
+ values: ['office'],
8248
+ },
8249
+ },
8250
+ {
8251
+ title: 'Адрес доставки',
8252
+ columns: 1,
8253
+ inputs: [],
8254
+ condition: {
8255
+ name: 'methodObtain',
8256
+ values: ['courier'],
8257
+ },
8258
+ },
8259
+ {
8260
+ inputs: [
8261
+ {
8262
+ name: 'addressCourier',
8263
+ dadata: true,
8264
+ condition: {
8265
+ name: 'methodObtain',
8266
+ values: ['courier'],
8267
+ },
8268
+ required: true,
8269
+ },
8270
+ ],
8271
+ },
8272
+ {
8273
+ columns: 2,
8274
+ inputs: [
8275
+ {
8276
+ name: 'deliveryDate',
8277
+ condition: {
8278
+ name: 'methodObtain',
8279
+ values: ['courier'],
8280
+ },
8281
+ required: true,
8282
+ },
8283
+ {
8284
+ name: 'deliveryTime',
8285
+ condition: {
8286
+ name: 'methodObtain',
8287
+ values: ['courier'],
8288
+ },
8289
+ },
8290
+ ],
8291
+ },
8292
+ {
8293
+ inputs: [
8294
+ {
8295
+ name: 'comment',
8296
+ condition: {
8297
+ name: 'methodObtain',
8298
+ values: ['courier'],
8299
+ },
8300
+ },
8301
+ ],
8302
+ },
8303
+ {
8304
+ inputs: [
8305
+ {
8306
+ name: 'addressRetail',
8307
+ required: true,
8308
+ condition: {
8309
+ name: 'methodObtain',
8310
+ values: ['office'],
8311
+ },
8312
+ },
8313
+ ],
8314
+ },
8315
+ ];
8316
+
8317
+ /* eslint-disable max-lines */
8318
+ const PERSONAL_INFO_CONTENT$1 = [
8319
+ ...PERSONAL_DATA,
8320
+ {
8321
+ inputs: [
8228
8322
  {
8229
8323
  name: 'education',
8230
8324
  required: true,
@@ -8263,7 +8357,7 @@
8263
8357
  inputs: [{ name: 'addressFact', required: true, dadata: true }],
8264
8358
  },
8265
8359
  ];
8266
- const EMPLOYMENT_CONTENT = [
8360
+ const EMPLOYMENT_CONTENT$1 = [
8267
8361
  {
8268
8362
  title: 'Данные о трудоустройстве',
8269
8363
  inputs: [],
@@ -8336,7 +8430,7 @@
8336
8430
  inputs: [{ name: 'organizationAddress', required: true, dadata: true }],
8337
8431
  },
8338
8432
  ];
8339
- const FAMILY_STATUS_AND_INCOME_CONTENT = [
8433
+ const FAMILY_STATUS_AND_INCOME_CONTENT$1 = [
8340
8434
  {
8341
8435
  title: 'Семейное положение',
8342
8436
  },
@@ -8377,6 +8471,16 @@
8377
8471
  columns: 1,
8378
8472
  inputs: [{ name: 'wages', required: true, filledByEsia: true }],
8379
8473
  },
8474
+ {
8475
+ columns: 1,
8476
+ inputs: [
8477
+ {
8478
+ name: 'retirementIncome',
8479
+ required: true,
8480
+ condition: { name: 'employment', values: ['RETIREE'] },
8481
+ },
8482
+ ],
8483
+ },
8380
8484
  {
8381
8485
  columns: 1,
8382
8486
  inputs: [{ name: 'mandatoryPayments', required: true }],
@@ -8413,41 +8517,6 @@
8413
8517
  inputs: [{ name: 'creditInRshbCd' }],
8414
8518
  },
8415
8519
  ];
8416
- const COMMON_RETAIL_CONTENT = [
8417
- PERSONAL_INFO_CONTENT,
8418
- EMPLOYMENT_CONTENT,
8419
- FAMILY_STATUS_AND_INCOME_CONTENT,
8420
- ADDITIONAL_CONTENT,
8421
- ];
8422
- const DELIVERY_CREDIT_CONTENT = [
8423
- {
8424
- title: 'Отделение Банка',
8425
- columns: 1,
8426
- inputs: [],
8427
- },
8428
- {
8429
- inputs: [{ name: 'regionRetail', required: true }],
8430
- },
8431
- {
8432
- inputs: [{ name: 'addressRetail', required: true }],
8433
- },
8434
- {
8435
- title: 'Код представителя Банка',
8436
- columns: 1,
8437
- inputs: [],
8438
- },
8439
- {
8440
- inputs: [
8441
- {
8442
- name: 'infoCard',
8443
- label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
8444
- },
8445
- ],
8446
- },
8447
- {
8448
- inputs: [{ name: 'bankEmployeeCode' }],
8449
- },
8450
- ];
8451
8520
  const CREDIT_CARD_CONTENT = [
8452
8521
  {
8453
8522
  title: 'Параметры карты',
@@ -8462,151 +8531,34 @@
8462
8531
  ],
8463
8532
  },
8464
8533
  ];
8465
- const CALCULATOR_CONTENT = [
8534
+ const DELIVERY_CREDIT_CARD_CONTENT = [
8535
+ ...DELIVERY_CARD_CONTENT,
8466
8536
  {
8467
- columns: 1,
8468
8537
  inputs: [
8469
8538
  {
8470
- name: 'calculator',
8539
+ name: 'infoCard',
8540
+ label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
8541
+ condition: {
8542
+ name: 'methodObtain',
8543
+ values: ['office'],
8544
+ },
8545
+ },
8546
+ {
8547
+ name: 'bankEmployeeCode',
8548
+ condition: {
8549
+ name: 'methodObtain',
8550
+ values: ['office'],
8551
+ },
8471
8552
  },
8472
8553
  ],
8473
8554
  },
8474
8555
  ];
8475
- const DELIVERY_DEBIT_CARD_CONTENT = [
8476
- {
8477
- title: 'Регион обслуживания карты',
8478
- columns: 1,
8479
- inputs: [],
8480
- },
8481
- {
8482
- inputs: [
8483
- {
8484
- name: 'regionRetail',
8485
- required: true,
8486
- },
8487
- ],
8488
- },
8489
- {
8490
- title: 'Способ получения',
8491
- columns: 1,
8492
- inputs: [],
8493
- condition: {
8494
- name: 'regionHasDelivery',
8495
- values: [true],
8496
- },
8497
- },
8498
- {
8499
- inputs: [
8500
- {
8501
- name: 'methodObtain',
8502
- condition: {
8503
- name: 'regionHasDelivery',
8504
- values: [true],
8505
- },
8506
- },
8507
- ],
8508
- },
8509
- {
8510
- title: 'Выбор офиса',
8511
- columns: 1,
8512
- inputs: [],
8513
- condition: {
8514
- name: 'methodObtain',
8515
- values: ['office'],
8516
- },
8517
- },
8518
- {
8519
- title: 'Адрес доставки',
8520
- columns: 1,
8521
- inputs: [],
8522
- condition: {
8523
- name: 'methodObtain',
8524
- values: ['courier'],
8525
- },
8526
- },
8527
- {
8528
- inputs: [
8529
- {
8530
- name: 'addressCourier',
8531
- dadata: true,
8532
- condition: {
8533
- name: 'methodObtain',
8534
- values: ['courier'],
8535
- },
8536
- required: true,
8537
- },
8538
- ],
8539
- },
8540
- {
8541
- columns: 2,
8542
- inputs: [
8543
- {
8544
- name: 'deliveryDate',
8545
- condition: {
8546
- name: 'methodObtain',
8547
- values: ['courier'],
8548
- },
8549
- required: true,
8550
- },
8551
- {
8552
- name: 'deliveryTime',
8553
- condition: {
8554
- name: 'methodObtain',
8555
- values: ['courier'],
8556
- },
8557
- },
8558
- ],
8559
- },
8560
- {
8561
- inputs: [
8562
- {
8563
- name: 'comment',
8564
- condition: {
8565
- name: 'methodObtain',
8566
- values: ['courier'],
8567
- },
8568
- },
8569
- ],
8570
- },
8571
- {
8572
- inputs: [
8573
- {
8574
- name: 'addressRetail',
8575
- required: true,
8576
- condition: {
8577
- name: 'methodObtain',
8578
- values: ['office'],
8579
- },
8580
- },
8581
- ],
8582
- },
8583
- ];
8584
- const DELIVERY_CREDIT_CARD_CONTENT = [
8585
- ...DELIVERY_DEBIT_CARD_CONTENT,
8586
- {
8587
- inputs: [
8588
- {
8589
- name: 'infoCard',
8590
- label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
8591
- condition: {
8592
- name: 'methodObtain',
8593
- values: ['office'],
8594
- },
8595
- },
8596
- {
8597
- name: 'bankEmployeeCode',
8598
- condition: {
8599
- name: 'methodObtain',
8600
- values: ['office'],
8601
- },
8602
- },
8603
- ],
8604
- },
8605
- ];
8606
-
8607
8556
  const stepsSectionsMap$1 = [
8608
8557
  CREDIT_CARD_CONTENT,
8609
- ...COMMON_RETAIL_CONTENT,
8558
+ PERSONAL_INFO_CONTENT$1,
8559
+ EMPLOYMENT_CONTENT$1,
8560
+ FAMILY_STATUS_AND_INCOME_CONTENT$1,
8561
+ ADDITIONAL_CONTENT,
8610
8562
  DELIVERY_CREDIT_CARD_CONTENT,
8611
8563
  ];
8612
8564
 
@@ -8692,7 +8644,7 @@
8692
8644
 
8693
8645
  const SuccessStatusContent = JSX(() => {
8694
8646
  const { statusInfo } = useRetailFormStore();
8695
- return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442 \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: [
8647
+ return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: [
8696
8648
  {
8697
8649
  label: 'Название продукта',
8698
8650
  description: 'Кредит на любые цели',
@@ -8762,7 +8714,7 @@
8762
8714
 
8763
8715
  const PAYMENT_TYPE_DATA = {
8764
8716
  annuity: { key: 'ANNUITY', value: 'Аннуитетный' },
8765
- differential: { key: 'DIFFERENTIAL', value: 'Дифференцированный ' },
8717
+ differential: { key: 'DIFFERENTIATED', value: 'Дифференцированный ' },
8766
8718
  };
8767
8719
  const getCalcData = (formData) => {
8768
8720
  const { moneyValue, monthsValue, isAnnuity } = formData?.calculator ?? {};
@@ -8829,8 +8781,6 @@
8829
8781
  return getEmploymentData(formData);
8830
8782
  case 3:
8831
8783
  return getFamilyStatusAndIncomeData(formData);
8832
- case 4:
8833
- return getAdditionalInfoData(formData);
8834
8784
  default:
8835
8785
  return {};
8836
8786
  }
@@ -8850,7 +8800,7 @@
8850
8800
  isStateEmployee: false,
8851
8801
  },
8852
8802
  },
8853
- ...mainFormStateMap,
8803
+ ...getMainFormStateMap(true),
8854
8804
  {
8855
8805
  regionRetail: { key: '', text: '' },
8856
8806
  addressRetail: undefined,
@@ -8860,7 +8810,7 @@
8860
8810
 
8861
8811
  const useCreditFormAPI = ({ step, onNextStep, onFinish, }) => {
8862
8812
  const [isSending, { setTrue: startSending, setFalse: endSending }] = useBool(false);
8863
- const isFinalStep = step === 5;
8813
+ const isFinalStep = step === 4;
8864
8814
  const retailFormStore = useRetailFormStore();
8865
8815
  const initialState = useMemo(() => getInitialFormState(step, retailFormStore.leadForm, formStateMap), [step, retailFormStore.leadForm]);
8866
8816
  const resetForm = useCallback((response) => {
@@ -8930,193 +8880,272 @@
8930
8880
  return (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep({ sections, field, step, params: { calcData } }), jsx(StepsNavigationButtons, { step: step, isSending: isSending, onPrevStep: onPrevStep })] }));
8931
8881
  });
8932
8882
 
8933
- const stepsSectionsMap = [
8934
- CALCULATOR_CONTENT,
8935
- ...COMMON_RETAIL_CONTENT,
8936
- DELIVERY_CREDIT_CONTENT,
8937
- ];
8938
-
8939
- const STEPS = 5;
8940
- const STEP_TITLES = [
8941
- '',
8942
- 'Персональные данные',
8943
- 'Данные о трудоустройстве',
8944
- 'Семейное положение и доход',
8945
- 'Дополнительные сведения',
8946
- 'Отделение Банка',
8883
+ /* eslint-disable max-lines */
8884
+ const PERSONAL_INFO_CONTENT = [
8885
+ ...PERSONAL_DATA,
8886
+ {
8887
+ title: 'Адрес регистрации по месту жительства',
8888
+ columns: 1,
8889
+ inputs: [],
8890
+ },
8891
+ {
8892
+ inputs: [
8893
+ {
8894
+ name: 'addressRegistration',
8895
+ required: true,
8896
+ dadata: true,
8897
+ filledByEsia: true,
8898
+ },
8899
+ { name: 'addressMatch' },
8900
+ ],
8901
+ },
8902
+ {
8903
+ title: 'Адрес фактического проживания (место пребывания РФ)',
8904
+ inputs: [],
8905
+ },
8906
+ {
8907
+ inputs: [{ name: 'addressFact', required: true, dadata: true }],
8908
+ },
8947
8909
  ];
8948
- const CreditForm = UniBlock(({ className, programsSource, ...rest }) => {
8949
- const [step, setStep] = useState(0);
8950
- const formContainerRef = useRef(null);
8951
- const scrollToTop = useCallback(() => formContainerRef?.current?.scrollIntoView({ behavior: 'smooth' }), [formContainerRef]);
8952
- useEffect(updateRefreshToken, []);
8953
- const handleNextStep = useCallback(() => {
8954
- setStep((_) => Math.min(_ + 1, STEPS));
8955
- scrollToTop();
8956
- }, []);
8957
- const handlePrevStep = useCallback(() => {
8958
- //TODO search hook - 1,
8959
- setStep((_) => Math.max(_ - 1, 0));
8960
- scrollToTop();
8961
- }, []);
8962
- const sections = stepsSectionsMap[step];
8963
- const isStartStep = step === 0;
8964
- const [isFormFinished, { setTrue: handleFinish }] = useBool(false);
8965
- return (jsx(BlockWrapper, { className: className, ...rest, children: jsxs("div", { ref: formContainerRef, className: "container grid grid-cols-12", children: [isStartStep || isFormFinished ? null : (jsx(CreditFormProgress, { stepsTitles: STEP_TITLES, step: step, totalSteps: STEPS })), jsx("div", { className: "py-lg px-5xl mt-2xs bg-white col-span-12", children: isFormFinished ? (jsx(CreditFormStatusTracker, {})) : (jsx(CreditFormStep, { step: step, sections: sections, programsSource: programsSource, onNextStep: handleNextStep, onPrevStep: handlePrevStep, onFinish: handleFinish }, String(step))) })] }) }));
8966
- });
8967
-
8968
- const isRateRow = (rateRow) => typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
8969
-
8970
- const numberRange = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
8971
-
8972
- const DEFAULT_MIN_SUM = 500;
8973
- const DEFAULT_MAX_SUM = 1000000000;
8974
- const initialFiltrationState$2 = {
8975
- sum: {
8976
- min: 10000,
8977
- max: DEFAULT_MAX_SUM,
8910
+ const EMPLOYMENT_CONTENT = [
8911
+ {
8912
+ title: 'Данные о трудоустройстве',
8913
+ inputs: [],
8978
8914
  },
8979
- period: 3,
8980
- };
8981
- const DepositFiltration = UniBlock(({ className, filtrationSchema = {}, resetButton, sumInput, periodInput, ...rest }) => {
8982
- const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState$2, {
8983
- block: rest.block,
8984
- page: rest.options?.page,
8985
- normalize: (content) => ({ ...content, period: getPeriod(content) }),
8986
- });
8987
- const rateRows = blocksWithProps.map(([, _]) => _?.paramsSource?.rows?.[0]?.rates);
8988
- const months = getMonths(rateRows);
8989
- return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [jsx(FiltrationForm$1, { filtrationSchema: filtrationSchema, resetButton: resetButton, field: field, reset: reset, children: jsxs("div", { className: "@4xl:max-w-xs space-y-lg", children: [jsx(CurrencyInput, { label: sumInput?.title, min: DEFAULT_MIN_SUM, max: DEFAULT_MAX_SUM, ...field('sum', {
8990
- parse: (min) => ({ min: Number(min), max: DEFAULT_MAX_SUM }),
8991
- format: ({ min }) => String(min),
8992
- }) }), jsx(InputRange, { title: periodInput?.title, items: ['От 3 мес', 'До 5 лет'], list: months, ...field('period') })] }) }), jsx(FilteredBlocks, { blocksToRender: blocksToRender, ...rest })] }));
8993
- }, {
8994
- childrenTypes: ['ProductBlock'],
8995
- childSchema: (content) => ({
8996
- ...(content?.filtrationSchema || {}),
8997
- paramsSource: {
8998
- type: 'object',
8999
- title: 'Адрес справочника',
9000
- },
9001
- }),
9002
- });
9003
- const getPeriod = (content) => unique((content?.paramsSource?.rateRows || [])
9004
- .filter(isRateRow)
9005
- .flatMap((_) => numberRange(_.minMonths, _.maxMonths)));
9006
- const getMonths = (rateRows) => unique(rateRows
9007
- .flatMap((item) => item || [])
9008
- .filter(isRateRow)
9009
- .flatMap((_) => numberRange(_.minMonths, _.maxMonths))).sort((a, b) => a - b) || [];
9010
-
9011
- const DEFAULT_OPTIONS = [{ key: '10' }, { key: '50' }, { key: '100' }];
9012
- const PageSizeSelector = ({ itemCount, onItemCountChange }) => {
9013
- const handleItemCountChange = useCallback(({ key }) => onItemCountChange(Number(key)), []);
9014
- return (jsxs("div", { className: "mt-2 @lg:mt-0 items-center gap-s hidden @lg:flex", children: [jsx("span", { children: "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E" }), jsx(Select, { className: "min-w-20", onChange: handleItemCountChange, value: { key: String(itemCount) }, options: DEFAULT_OPTIONS, iconVersion: "black" })] }));
9015
- };
9016
-
9017
- const paginationBlockStyle = 'py-m @lg:px-lg px-m rounded-md cursor-pointer text-center min-w-10 @lg:min-w-0 hover:bg-primary-hover hover:text-white';
9018
-
9019
- const checkPageRange = (page, currentPage, totalPages) => (currentPage <= 2 && page <= currentPage + 2) ||
9020
- (currentPage >= totalPages - 1 && page >= totalPages - 3);
9021
- const shouldRenderPage = (page, currentPage, totalPages) => (page < currentPage && page >= currentPage - 1) ||
9022
- (page <= currentPage + 1 && page > currentPage) ||
9023
- checkPageRange(page, currentPage, totalPages);
9024
-
9025
- const renderPages = (pagesParams, index) => {
9026
- const { currentPage, onPageChange, totalPages } = pagesParams;
9027
- const page = index + 1;
9028
- if (page === currentPage) {
9029
- return (jsx("div", { "aria-current": "true", className: "py-m @lg:px-lg px-m bg-primary-main text-center min-w-10 @lg:min-w-0 text-white rounded-md", children: page }, String(index)));
9030
- }
9031
- if (page !== 1 && page !== totalPages && shouldRenderPage(page, currentPage, totalPages)) {
9032
- return (jsx("div", { onClick: () => onPageChange(page), className: paginationBlockStyle, "aria-label": `Страница ${page}`, children: page }, String(index)));
9033
- }
9034
- return null;
9035
- };
9036
-
9037
- const ICON_SIZE = { width: '24', height: '24' };
9038
- const PaginationContainer = ({ currentPage, onPageChange, totalPages, }) => {
9039
- const pages = useMemo(() => Array.from({ length: totalPages }).fill({
9040
- currentPage,
9041
- onPageChange,
9042
- totalPages,
9043
- }), [totalPages, currentPage]);
9044
- const handlePrevPage = useCallback(() => {
9045
- if (currentPage > 1) {
9046
- onPageChange(currentPage - 1);
9047
- }
9048
- }, [currentPage]);
9049
- const handleNextPage = useCallback(() => {
9050
- if (currentPage < totalPages) {
9051
- onPageChange(currentPage + 1);
9052
- }
9053
- }, [currentPage, totalPages]);
9054
- const handleFirstPage = useCallback(() => onPageChange(1), []);
9055
- const handleLastPage = useCallback(() => onPageChange(totalPages), [totalPages]);
9056
- return (jsxs("div", { className: "flex gap-m items-center", children: [jsx("div", { onClick: handlePrevPage, children: jsx(Icon, { name: "ArrowLeftIcon", iconVersion: "black", imageClassName: getIconStyle(currentPage === 1), ...ICON_SIZE }) }), jsxs("div", { className: "flex @lg:gap-2xs", children: [currentPage > 1 ? (jsx("div", { onClick: handleFirstPage, className: paginationBlockStyle, "aria-label": "\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 1", children: "1" })) : null, currentPage > 3 ? jsx("div", { className: "py-m @lg:px-s", children: "..." }) : null, pages.map(renderPages), currentPage < totalPages - 2 ? jsx("div", { className: "py-m @lg:px-s", children: "..." }) : null, currentPage < totalPages ? (jsx("div", { onClick: handleLastPage, className: paginationBlockStyle, "aria-label": `Страница ${totalPages}`, children: totalPages })) : null] }), jsx("div", { onClick: handleNextPage, children: jsx(Icon, { className: "rotate-180", name: "ArrowLeftIcon", iconVersion: "black", imageClassName: getIconStyle(currentPage === totalPages), ...ICON_SIZE }) })] }));
9057
- };
9058
- const getIconStyle = (condition) => condition ? 'opacity-20' : 'cursor-pointer hover:opacity-60';
9059
-
9060
- const Pagination = ({ currentPage, onPageChange, totalPages, itemCount, onItemCountChange, }) => (jsxs("div", { className: "mt-3xl flex justify-between flex-col @lg:flex-row items-center select-none", role: "navigation", "aria-label": "\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F", children: [jsx(PaginationContainer, { currentPage: currentPage, onPageChange: onPageChange, totalPages: totalPages }), itemCount && onItemCountChange ? (jsx(PageSizeSelector, { itemCount: itemCount, onItemCountChange: onItemCountChange })) : null] }));
9061
-
9062
- const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus, placeholder = 'Поиск по сайту' }) => {
9063
- const handleChange = useCallback((ev) => {
9064
- onChange && onChange(ev.target?.value || '');
9065
- }, [onChange]);
9066
- return (jsxs("div", { className: style('relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-m pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: 'black' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-14 w-full px-10 text-l text-black box-border rounded-md', inputValidStyle), value: value, type: "text", name: "search-bar-input", placeholder: placeholder, autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
9067
- });
9068
-
9069
- const DepositoryFilter = JSX(({ field, onClearFilter, filtrationState }) => (jsxs("div", { className: "grid grid-cols-12 mb-3xl @lg:space-x-xl", children: [jsx(SearchInput, { className: "col-span-12 @lg:col-span-4 mt-auto", placeholder: "\u041F\u043E\u0438\u0441\u043A", ...field('query') }), jsx(DatePicker, { className: "col-span-12 @lg:col-span-3 mt-4 @lg:mt-0", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u043E\u0442", maxDate: filtrationState.endDate, ...field('startDate') }), jsx(DatePicker, { className: "col-span-12 @lg:col-span-3 mt-4 @lg:mt-0", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u0434\u043E", minDate: filtrationState.startDate, ...field('endDate') }), jsx("div", { className: "col-span-12 @lg:col-span-2 mt-8 @lg:mt-auto", children: jsx(Button, { type: "reset", className: "w-full", version: "secondary", onClick: onClearFilter, children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C" }) })] })));
9070
-
9071
- const DepositoryItem = JSX(({ title, timestamp, publicId }) => {
9072
- const link = useLink();
9073
- const { href } = link({ href: `${API_BASE_URI$1}/depository/${publicId}/file` });
9074
- return (jsxs("div", { className: "flex gap-3 items-center py-lg border-gray border-opacity-50 border-b", children: [jsx(RoundedIcon, { className: "shrink-0", icon: "DocDownloadIcon", iconVersion: "black" }), jsxs("div", { className: "flex flex-col gap-x-6xl lg:flex-row lg:items-center", children: [timestamp ? (jsx(Text, { size: "text-m", "font-weight": "font-light", children: formatDate(timestamp) })) : null, jsx("a", { className: "text-h6 hover:text-primary-active", href: href, download: true, "aria-label": "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: title })] })] }, publicId));
9075
- });
9076
-
9077
- const DEPOSITARY_URL = `${API_BASE_URI$1}/depository`;
9078
- const useDepository = ({ size, page, query, startDate, endDate }) => {
9079
- const formatStartDate = startDate ? formatDate(startDate, true) : '';
9080
- const formatEndDate = endDate ? formatDate(endDate, true) : '';
9081
- const searchParams = new URLSearchParams(DEPOSITARY_URL);
9082
- searchParams.set('page', String(page));
9083
- searchParams.set('size', String(size));
9084
- searchParams.set('query', query);
9085
- searchParams.set('timestampStart', formatStartDate);
9086
- searchParams.set('timestampEnd', formatEndDate);
9087
- const queryString = `?${searchParams.toString()}`;
9088
- const { data } = useAsyncData(DEPOSITARY_URL + queryString, fetchJSONUnsafe);
9089
- return { items: data?.content, totalPages: data?.totalPages };
9090
- };
9091
-
9092
- const DEFAULT_ITEMS_COUNT = 10;
9093
- const initialFiltrationState$1 = {
9094
- startDate: undefined,
9095
- endDate: undefined,
9096
- query: '',
9097
- };
9098
- const Depository = UniBlock(({ className, ...rest }) => {
9099
- const [currentPage, setCurrentPage] = useState(0);
9100
- const [itemCount, setItemCount] = useState(DEFAULT_ITEMS_COUNT);
9101
- const [filtrationState, { field, reset }] = useForm(initialFiltrationState$1);
9102
- const { totalPages = 0, items = [] } = useDepository({
9103
- size: itemCount,
9104
- page: currentPage,
9105
- ...filtrationState,
9106
- });
9107
- const handleChangePage = useCallback((page) => setCurrentPage(page - 1), []);
9108
- const handleItemCountChange = useCallback((count) => {
9109
- if (itemCount !== count) {
9110
- setItemCount(count);
9111
- setCurrentPage(0);
9112
- }
9113
- else {
9114
- setItemCount(count);
9115
- }
9116
- }, []);
9117
- return (jsxs(BlockWrapper, { className: style(className, 'container p-6xl'), ...rest, children: [jsx(DepositoryFilter, { filtrationState: filtrationState, field: field, onClearFilter: reset }), jsxs("div", { className: "flex flex-col", children: [jsxs("div", { className: "grid grid-cols-12 pb-lg border-gray border-opacity-50 border-b", children: [jsx("div", { className: "col-span-4 @lg:col-span-2 hidden @lg:block", children: jsx(Text, { size: "text-m", color: "text-secondary-text", children: "\u0414\u0430\u0442\u0430" }) }), jsx("span", { className: "col-span-8 @lg:col-span-10 hidden @lg:block", children: jsx(Text, { size: "text-m", color: "text-secondary-text", children: "\u0422\u0435\u043C\u0430" }) })] }), items.length ? (items.map((params) => jsx(DepositoryItem, { ...params }, String(params.publicId)))) : (jsx(NotFound, { title: "\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E", description: "\u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440\u044B" })), jsx(Pagination, { currentPage: currentPage + 1, onPageChange: handleChangePage, totalPages: totalPages, itemCount: itemCount, onItemCountChange: handleItemCountChange })] })] }));
9118
- });
9119
-
8915
+ {
8916
+ inputs: [
8917
+ {
8918
+ name: 'infoCard',
8919
+ label: 'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, ' +
8920
+ 'если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
8921
+ },
8922
+ ],
8923
+ },
8924
+ {
8925
+ inputs: [
8926
+ { name: 'employment', required: true },
8927
+ { name: 'organizationName', required: true, dadata: true, filledByEsia: true },
8928
+ ],
8929
+ },
8930
+ {
8931
+ columns: 2,
8932
+ inputs: [
8933
+ { name: 'inn', required: true, dadata: true, filledByEsia: true },
8934
+ { name: 'legalForm', required: true },
8935
+ ],
8936
+ },
8937
+ {
8938
+ inputs: [
8939
+ { name: 'organization', required: true },
8940
+ { name: 'amountWorkers', required: true },
8941
+ ],
8942
+ },
8943
+ {
8944
+ columns: 2,
8945
+ inputs: [
8946
+ { name: 'employerOrganization', required: true },
8947
+ { name: 'jobsNumber', required: true, filledByEsia: true },
8948
+ ],
8949
+ },
8950
+ {
8951
+ inputs: [
8952
+ {
8953
+ name: 'organizationPhone',
8954
+ label: 'Телефон работодателя',
8955
+ required: true,
8956
+ },
8957
+ { name: 'beginDate', required: true, filledByEsia: true },
8958
+ ],
8959
+ },
8960
+ {
8961
+ title: 'Адрес работодателя',
8962
+ inputs: [],
8963
+ },
8964
+ {
8965
+ inputs: [{ name: 'organizationAddress', required: true, dadata: true }],
8966
+ },
8967
+ ];
8968
+ const FAMILY_STATUS_AND_INCOME_CONTENT = [
8969
+ {
8970
+ title: 'Семейное положение',
8971
+ },
8972
+ {
8973
+ columns: 1,
8974
+ inputs: [{ name: 'familyStatus', required: true }],
8975
+ },
8976
+ {
8977
+ columns: 2,
8978
+ inputs: [
8979
+ { name: 'children', required: true },
8980
+ { name: 'dependents', required: true },
8981
+ ],
8982
+ },
8983
+ {
8984
+ title: 'Совокупный доход',
8985
+ },
8986
+ {
8987
+ columns: 1,
8988
+ inputs: [
8989
+ {
8990
+ name: 'confirmationIncome',
8991
+ required: true,
8992
+ filledByEsia: true,
8993
+ },
8994
+ ],
8995
+ },
8996
+ {
8997
+ inputs: [
8998
+ {
8999
+ name: 'infoCard',
9000
+ label: 'Сумма основного и дополнительных доходов после вычета налога',
9001
+ },
9002
+ ],
9003
+ },
9004
+ {
9005
+ columns: 1,
9006
+ inputs: [{ name: 'wages', required: true, filledByEsia: true }],
9007
+ },
9008
+ {
9009
+ columns: 1,
9010
+ inputs: [
9011
+ {
9012
+ name: 'retirementIncome',
9013
+ required: true,
9014
+ condition: { name: 'employment', values: ['RETIREE'] },
9015
+ },
9016
+ ],
9017
+ },
9018
+ {
9019
+ columns: 1,
9020
+ inputs: [{ name: 'mandatoryPayments', required: true }],
9021
+ },
9022
+ {
9023
+ columns: 1,
9024
+ inputs: [{ name: 'snils', required: true }],
9025
+ },
9026
+ {
9027
+ columns: 1,
9028
+ inputs: [{ name: 'initiateBankruptcyFlg' }],
9029
+ },
9030
+ ];
9031
+ const DELIVERY_CREDIT_CONTENT = [
9032
+ {
9033
+ title: 'Отделение Банка',
9034
+ columns: 1,
9035
+ inputs: [],
9036
+ },
9037
+ {
9038
+ inputs: [{ name: 'regionRetail', required: true }],
9039
+ },
9040
+ {
9041
+ inputs: [{ name: 'addressRetail', required: true }],
9042
+ },
9043
+ {
9044
+ title: 'Код представителя Банка',
9045
+ columns: 1,
9046
+ inputs: [],
9047
+ },
9048
+ {
9049
+ inputs: [
9050
+ {
9051
+ name: 'infoCard',
9052
+ label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
9053
+ },
9054
+ ],
9055
+ },
9056
+ {
9057
+ inputs: [{ name: 'bankEmployeeCode' }],
9058
+ },
9059
+ ];
9060
+ const CALCULATOR_CONTENT = [
9061
+ {
9062
+ columns: 1,
9063
+ inputs: [
9064
+ {
9065
+ name: 'calculator',
9066
+ },
9067
+ ],
9068
+ },
9069
+ ];
9070
+ const stepsSectionsMap = [
9071
+ CALCULATOR_CONTENT,
9072
+ PERSONAL_INFO_CONTENT,
9073
+ EMPLOYMENT_CONTENT,
9074
+ FAMILY_STATUS_AND_INCOME_CONTENT,
9075
+ DELIVERY_CREDIT_CONTENT,
9076
+ ];
9077
+
9078
+ const STEPS = 4;
9079
+ const STEP_TITLES = [
9080
+ '',
9081
+ 'Персональные данные',
9082
+ 'Данные о трудоустройстве',
9083
+ 'Семейное положение и доход',
9084
+ 'Отделение Банка',
9085
+ ];
9086
+ const CreditForm = UniBlock(({ className, programsSource, ...rest }) => {
9087
+ const [step, setStep] = useState(0);
9088
+ const formContainerRef = useRef(null);
9089
+ const scrollToTop = useCallback(() => formContainerRef?.current?.scrollIntoView({ behavior: 'smooth' }), [formContainerRef]);
9090
+ useEffect(updateRefreshToken, []);
9091
+ const handleNextStep = useCallback(() => {
9092
+ setStep((_) => Math.min(_ + 1, STEPS));
9093
+ scrollToTop();
9094
+ }, []);
9095
+ const handlePrevStep = useCallback(() => {
9096
+ //TODO search hook - 1,
9097
+ setStep((_) => Math.max(_ - 1, 0));
9098
+ scrollToTop();
9099
+ }, []);
9100
+ const sections = stepsSectionsMap[step];
9101
+ const isStartStep = step === 0;
9102
+ const [isFormFinished, { setTrue: handleFinish }] = useBool(false);
9103
+ return (jsx(BlockWrapper, { className: className, ...rest, children: jsxs("div", { ref: formContainerRef, className: "container grid grid-cols-12", children: [isStartStep || isFormFinished ? null : (jsx(CreditFormProgress, { stepsTitles: STEP_TITLES, step: step, totalSteps: STEPS })), jsx("div", { className: "py-lg px-5xl mt-2xs bg-white col-span-12", children: isFormFinished ? (jsx(CreditFormStatusTracker, {})) : (jsx(CreditFormStep, { step: step, sections: sections, programsSource: programsSource, onNextStep: handleNextStep, onPrevStep: handlePrevStep, onFinish: handleFinish }, String(step))) })] }) }));
9104
+ });
9105
+
9106
+ const isRateRow = (rateRow) => typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
9107
+
9108
+ const numberRange = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
9109
+
9110
+ const DEFAULT_MIN_SUM = 500;
9111
+ const DEFAULT_MAX_SUM = 1000000000;
9112
+ const initialFiltrationState = {
9113
+ sum: {
9114
+ min: 10000,
9115
+ max: DEFAULT_MAX_SUM,
9116
+ },
9117
+ period: 3,
9118
+ };
9119
+ const DepositFiltration = UniBlock(({ className, filtrationSchema = {}, resetButton, sumInput, periodInput, ...rest }) => {
9120
+ const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState, {
9121
+ block: rest.block,
9122
+ page: rest.options?.page,
9123
+ normalize: (content) => ({ ...content, period: getPeriod(content) }),
9124
+ });
9125
+ const rateRows = blocksWithProps.map(([, _]) => _?.paramsSource?.rows?.[0]?.rates);
9126
+ const months = getMonths(rateRows);
9127
+ return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [jsx(FiltrationForm$1, { filtrationSchema: filtrationSchema, resetButton: resetButton, field: field, reset: reset, children: jsxs("div", { className: "@4xl:max-w-xs space-y-lg", children: [jsx(CurrencyInput, { label: sumInput?.title, min: DEFAULT_MIN_SUM, max: DEFAULT_MAX_SUM, ...field('sum', {
9128
+ parse: (min) => ({ min: Number(min), max: DEFAULT_MAX_SUM }),
9129
+ format: ({ min }) => String(min),
9130
+ }) }), jsx(InputRange, { title: periodInput?.title, items: ['От 3 мес', 'До 5 лет'], list: months, ...field('period') })] }) }), jsx(FilteredBlocks, { blocksToRender: blocksToRender, ...rest })] }));
9131
+ }, {
9132
+ childrenTypes: ['ProductBlock'],
9133
+ childSchema: (content) => ({
9134
+ ...(content?.filtrationSchema || {}),
9135
+ paramsSource: {
9136
+ type: 'object',
9137
+ title: 'Адрес справочника',
9138
+ },
9139
+ }),
9140
+ });
9141
+ const getPeriod = (content) => unique((content?.paramsSource?.rateRows || [])
9142
+ .filter(isRateRow)
9143
+ .flatMap((_) => numberRange(_.minMonths, _.maxMonths)));
9144
+ const getMonths = (rateRows) => unique(rateRows
9145
+ .flatMap((item) => item || [])
9146
+ .filter(isRateRow)
9147
+ .flatMap((_) => numberRange(_.minMonths, _.maxMonths))).sort((a, b) => a - b) || [];
9148
+
9120
9149
  const renderErrorContent = (error) => {
9121
9150
  if (error?.contentType === 'Image' && error?.image) {
9122
9151
  return jsx(Img, { image: error.image });
@@ -9128,214 +9157,6 @@
9128
9157
  };
9129
9158
  const ErrorBlock = JSX(({ className = '', title, description, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: style('p-6xl'), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center", children: renderErrorContent(error) }), jsx(Headline, { title: title, description: description, headlineVersion: "XL", isEmbedded: true, className: "mb-2xl last:mb-0" }), button?.text ? (jsx(LinkButton, { version: button?.version, text: button?.text, ...button })) : null] })));
9130
9159
 
9131
- const REGION_URL = `${API_BASE_URI$1}/region`;
9132
- function useLocation(defaultLocation = 'Москва') {
9133
- const locationStore = useLocalStore();
9134
- return locationStore.location ?? { name: defaultLocation };
9135
- }
9136
- function useDefaultLocation(defaultLocation = 'Москва') {
9137
- const locationStore = useLocalStore();
9138
- const preselectLocation = useCallback(async () => {
9139
- if (!locationStore.location) {
9140
- const region = await fetchJSON(REGION_URL);
9141
- locationStore.location = region ?? { name: defaultLocation };
9142
- }
9143
- }, [locationStore, defaultLocation]);
9144
- useAsyncData(REGION_URL, preselectLocation);
9145
- return locationStore;
9146
- }
9147
-
9148
- var Currency;
9149
- (function (Currency) {
9150
- Currency["RUB"] = "RUB";
9151
- Currency["EUR"] = "EUR";
9152
- Currency["USD"] = "USD";
9153
- Currency["CNY"] = "CNY";
9154
- })(Currency || (Currency = {}));
9155
-
9156
- const currencyNumberFormat = new Intl.NumberFormat('ru', {
9157
- style: 'currency',
9158
- currency: Currency.RUB,
9159
- });
9160
- const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
9161
-
9162
- const TABLE_STYLE_BASE = 'text-m font-light text-secondary-text ';
9163
- const TABLE_HEAD_STYLE = `${TABLE_STYLE_BASE} text-left`;
9164
- const TABLE_HEAD_STYLE_CENTER = `${TABLE_STYLE_BASE} pl-5xl text-center`;
9165
- const TABLE_HEAD_STYLE_RIGHT = `${TABLE_STYLE_BASE} pl-5xl text-right`;
9166
- const CURRENCY_ICONS_MAP = {
9167
- USD: 'DollarIcon',
9168
- EUR: 'EuroIcon',
9169
- CNY: 'ChineseYuanRenminbiIcon',
9170
- };
9171
- const CurrencyTable = JSX(({ className, exchangeCurrencyItems }) => (jsxs("table", { className: style('h-fit w-full', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { className: TABLE_HEAD_STYLE, children: jsx(Text, { size: "text-m", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), jsx("th", { className: TABLE_HEAD_STYLE_CENTER, children: jsx(Text, { size: "text-m", children: "\u041A\u0443\u043F\u0438\u0442\u044C" }) }), jsx("th", { className: TABLE_HEAD_STYLE_RIGHT, children: jsx(Text, { size: "text-m", children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" }) })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map(renderCurrencyRow) })] })));
9172
- const renderCurrencyRow = (exchangeCurrencyItem) => {
9173
- const currency = exchangeCurrencyItem?.currency?.currency;
9174
- return (jsxs("tr", { className: "pb-2xs text-h6", children: [jsx("td", { className: "pt-m m-auto flex text-left", children: jsxs("div", { className: "flex items-center gap-xs", children: [currency ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx(Text, { size: "text-h6", children: currency })] }) }), jsx("td", { className: "pt-m pl-5xl text-center", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }) }), jsx("td", { className: "pt-m pl-5xl text-right", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) }) })] }, currency));
9175
- };
9176
-
9177
- const icon = { icon: 'GpsIcon' };
9178
- const CurrentLocation = JSX(({ className = '', address }) => (jsxs("div", { className: style('flex gap-s w-full justify-between @sm:justify-center', className), children: [jsx(RoundedIcon, { ...icon, iconBgVersion: "primary", className: "shrink-0" }), jsxs("div", { className: "space-y-2xs whitespace-pre-wrap", children: [address ? (jsx(Paragraph, { size: "text-l", color: "text-primary-main", children: address })) : null, jsx(Paragraph, { size: "text-m", color: "text-secondary-text", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
9179
-
9180
- const roundTo = (value, precision = 2) => {
9181
- const factor = 10 ** precision;
9182
- return Math.round(parseFloat(String(value)) * factor) / factor;
9183
- };
9184
-
9185
- const calculateResult = (value, rate, precision) => {
9186
- const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
9187
- return Number.isInteger(result) ? result : roundTo(result);
9188
- };
9189
- const formatValue = (value) => value.replace(/[^\d.,]/g, '').replace(',', '.');
9190
-
9191
- function assertNonEmpty(value) {
9192
- if (!value) {
9193
- throw new Error('Value should be fulfilled');
9194
- }
9195
- return value;
9196
- }
9197
-
9198
- const baseTableFunc = (table) => (input) => {
9199
- const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(input)));
9200
- return unit(input);
9201
- };
9202
- const tableFunc = (table) => baseTableFunc(table.map(([p, o]) => [p, () => o]));
9203
- tableFunc.if = (predicate) => new TableFuncBuilder(undefined, predicate);
9204
- class TableFuncBuilder {
9205
- parent;
9206
- predicate;
9207
- unit;
9208
- get entry() {
9209
- return [assertNonEmpty(this.predicate), assertNonEmpty(this.unit)];
9210
- }
9211
- constructor(parent, predicate, unit) {
9212
- this.parent = parent;
9213
- this.predicate = predicate;
9214
- this.unit = unit;
9215
- }
9216
- if(predicate) {
9217
- return new TableFuncBuilder(this, predicate);
9218
- }
9219
- then(unit) {
9220
- return new TableFuncBuilder(this.parent, this.predicate, unit);
9221
- }
9222
- else(unit) {
9223
- return baseTableFunc([...buildTable(this), [() => true, unit]]);
9224
- }
9225
- }
9226
- const buildTable = (builder) => [
9227
- ...(builder?.parent ? buildTable(builder.parent) : []),
9228
- builder.entry,
9229
- ];
9230
-
9231
- const callbackCurrencySelect = (props) => tableFunc([
9232
- [
9233
- (_) => _.value !== Currency.RUB && _.oppositeValue !== Currency.RUB,
9234
- () => props.handleConvert(props.value, Currency.RUB),
9235
- ],
9236
- [
9237
- (_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
9238
- () => props.handleConvert(props.value, Currency.USD),
9239
- ],
9240
- [
9241
- (_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
9242
- () => props.handleConvert(props.value, Currency.CNY),
9243
- ],
9244
- [() => true, () => props.handleConvert(props.value)],
9245
- ])(props)?.();
9246
-
9247
- function renderInput(props) {
9248
- const { placeholder, rates, selected, value, setValue, setSelected } = props;
9249
- const ratesOptions = rates.map((_) => ({
9250
- key: _?.currency?.currency ?? '',
9251
- text: _?.currency?.currency ?? '',
9252
- }));
9253
- const selectedValue = { key: selected, text: selected };
9254
- return (jsxs("div", { className: "relative flex", children: [jsx(Input, { className: "shrink-0 text-l w-full appearance-none -mr-20", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (jsx(Select, { className: "absolute right-0", isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
9255
- }
9256
-
9257
- const ExchangeCurrencyCalculator = JSX(({ className = '', currencyRatesBuy, currencyRatesSell, button }) => {
9258
- const [calcState, setCalcState] = useState({
9259
- inputSell: '',
9260
- inputBuy: '',
9261
- selectSell: currencyRatesBuy?.[0]?.currency?.currency || Currency.RUB,
9262
- selectBuy: currencyRatesSell?.[0]?.currency?.currency || Currency.USD,
9263
- });
9264
- const handleSetCalcState = useCallback((newState) => setCalcState((oldState) => ({ ...oldState, ...newState })), []);
9265
- return (jsxs("div", { className: `flex flex-col gap-m pt-2xl ${className}`, children: [currencyRatesBuy && currencyRatesSell ? (jsxs("div", { className: "grid gap-m", children: [renderInput({
9266
- placeholder: 'Хочу продать',
9267
- rates: currencyRatesSell,
9268
- selected: calcState.selectSell,
9269
- setSelected: handleSelectSell(calcState, handleSetCalcState, currencyRatesSell),
9270
- value: calcState.inputSell,
9271
- setValue: (value) => handleInputSell(handleSetCalcState, currencyRatesSell)(value, calcState.selectSell, calcState.selectBuy),
9272
- }), renderInput({
9273
- placeholder: 'Получу',
9274
- rates: currencyRatesBuy,
9275
- selected: calcState.selectBuy,
9276
- setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
9277
- value: calcState.inputBuy,
9278
- setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
9279
- })] })) : null, button?.text ? (jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
9280
- });
9281
- const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
9282
- setCalcState({ selectSell: value });
9283
- callbackCurrencySelect({
9284
- value,
9285
- oppositeValue: calcState.selectBuy,
9286
- handleConvert: (currencyFrom = calcState.selectSell, currencyTo = calcState.selectBuy) => {
9287
- handleInputSell(setCalcState, currencyRatesSell)(calcState.inputSell, currencyFrom, currencyTo);
9288
- },
9289
- });
9290
- };
9291
- const handleSelectBuy = (calcState, setCalcState, currencyRatesBuy) => (value) => {
9292
- setCalcState({ selectBuy: value });
9293
- callbackCurrencySelect({
9294
- value,
9295
- oppositeValue: calcState.selectSell,
9296
- handleConvert: (currencyTo = calcState.selectBuy, currencyFrom = calcState.selectSell) => handleInputBuy(setCalcState, currencyRatesBuy)(calcState.inputBuy, currencyTo, currencyFrom),
9297
- });
9298
- };
9299
- const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
9300
- setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
9301
- const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.buyExchangeRate ||
9302
- currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
9303
- if (rate) {
9304
- setCalcState({
9305
- inputBuy: String(calculateResult(value, rate, currencyFrom === Currency.RUB) || ''),
9306
- });
9307
- }
9308
- };
9309
- const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
9310
- setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
9311
- const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.saleExchangeRate ||
9312
- currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
9313
- if (rate) {
9314
- setCalcState({
9315
- inputSell: String(calculateResult(value, rate, currencyTo === Currency.RUB) || ''),
9316
- });
9317
- }
9318
- };
9319
-
9320
- const EXCHANGE_RATES_URL = `${API_BASE_URI$1}/exchangerates`;
9321
- function useFetchExchangeRateData(currentRegion) {
9322
- const regionCode = currentRegion?.code || '000';
9323
- const { data } = useAsyncData(EXCHANGE_RATES_URL + `?regionCode=${regionCode}`, fetchJSONUnsafe);
9324
- return data || {};
9325
- }
9326
-
9327
- const ExchangeRateTile = JSX(({ className = '', title = 'Курсы обмена валют', button, ...rest }) => {
9328
- const currentLocation = useLocation();
9329
- const exchangeRates = useFetchExchangeRateData(currentLocation);
9330
- const currencyRates = getCurrencyRates(exchangeRates?.exchangeRate?.currencies);
9331
- const currencyRatesBuy = currencyRates.filter((_) => _.buyExchangeRate);
9332
- currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
9333
- const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
9334
- currencyRatesSell.push({ currency: { currency: Currency.RUB } });
9335
- return (jsx(BlockWrapper, { className: style('box-border min-h-80', className), ...rest, children: jsx(BaseTile, { className: "h-full", title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap" }), children: jsxs("div", { className: "flex w-full gap-6xl flex-wrap @lg:flex-nowrap", children: [jsxs("div", { className: "w-full @2xl:w-auto @5xl:w-1/2", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-xl", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation, { address: exchangeRates?.address })] }), jsx(ExchangeCurrencyCalculator, { className: "grow w-1/2", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })] }) }) }));
9336
- });
9337
- const getCurrencyRates = (currencies) => currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
9338
-
9339
9160
  const LinkList = JSX(({ className = '', items }) => {
9340
9161
  const link = useLink();
9341
9162
  return (jsx("ul", { className: style('flex flex-col gap-s w-full', className), children: items?.map(renderLinkListItem(link)) }));
@@ -9378,7 +9199,7 @@
9378
9199
  return (jsx("a", { className: style('text-secondary-text', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
9379
9200
  });
9380
9201
 
9381
- const HorizontalNavigation = JSX(({ className = '', title, links }) => (jsx("div", { className: className, children: links?.length ? (jsxs("div", { className: "flex justify-between lg:items-center flex-col lg:flex-row gap-lg py-lg border-y border-y-main-divider", children: [jsx("div", { className: "lg:hidden", children: jsx(Text, { size: "text-l", font: "font-normal", children: title }) }), links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light lg:max-w-[292px]", ..._ }, String(i))))] })) : null })));
9202
+ const HorizontalNavigation = JSX(({ className = '', title, links }) => (jsx("div", { className: className, children: links?.length ? (jsxs("div", { className: "flex justify-between lg:items-center flex-col lg:flex-row gap-lg py-lg border-y border-y-main-divider", children: [jsx("div", { className: "lg:hidden", children: jsx(Text, { size: "text-l", font: "font-normal", children: title }) }), links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light lg:max-w-72", ..._ }, String(i))))] })) : null })));
9382
9203
 
9383
9204
  const LEFT_COLUMN_STYLE = 'w-full lg:w-52';
9384
9205
 
@@ -9388,7 +9209,7 @@
9388
9209
  const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
9389
9210
  const link = useLink();
9390
9211
  const { href, target, text, onClick } = link(rest);
9391
- return (jsx("a", { className: style('text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px]', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
9212
+ return (jsx("a", { className: style('text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-72', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
9392
9213
  });
9393
9214
 
9394
9215
  const TextInformation = JSX(({ className = '', links, license }) => (jsxs("div", { className: style('@container space-y-lg', className), children: [license ? (jsx("div", { children: jsx(Text, { size: "text-xs", font: "font-light", color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0${license}` }) })) : null, links?.length ? (jsx("div", { className: "flex flex-col @5xl:flex-row justify-start items-start gap-x-lg gap-y-xs", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
@@ -9412,8 +9233,48 @@
9412
9233
  '': '',
9413
9234
  };
9414
9235
 
9415
- const MIN_LENGTH_CHILD = 5;
9236
+ const useSortProductBlocks = (parentBlock = {}) => {
9237
+ const [blocks, setBlocks] = useState(parentBlock.blocks ?? []);
9238
+ const sessionStore = useSessionStore();
9239
+ const offerIds = sessionStore?.offerIds || [];
9240
+ const sortedBlocks = useMemo(() => {
9241
+ const blocksMap = new Map(parentBlock.blocks?.map((block) => [block?.__id, block]) ?? []);
9242
+ const blocksByOfferIds = offerIds
9243
+ .map((id) => blocksMap.get(id))
9244
+ .filter((block) => Boolean(block));
9245
+ const tailBlocks = blocks.filter(({ __id = '' }) => !offerIds.includes(__id));
9246
+ return [...blocksByOfferIds, ...tailBlocks];
9247
+ }, [blocks, offerIds]);
9248
+ useEffect(() => setBlocks(sortedBlocks), []);
9249
+ return blocks;
9250
+ };
9251
+
9416
9252
  const SHORT_TILE_INDEXES = [1, 2, 3, 4];
9253
+ const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
9254
+ ? 'lg:col-span-1 lg:row-span-1'
9255
+ : 'lg:col-span-2 lg:row-span-2';
9256
+ const modifyBlock = (block, i) => {
9257
+ const content = { ...block.content };
9258
+ const isSmallTile = SHORT_TILE_INDEXES.includes(i);
9259
+ if (isSmallTile) {
9260
+ delete content.description;
9261
+ delete content.benefits;
9262
+ if (content.link?.href) {
9263
+ delete content.buttons;
9264
+ }
9265
+ content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
9266
+ content.headlineVersion = 'S';
9267
+ }
9268
+ else {
9269
+ if ((content.buttons ?? []).length) {
9270
+ delete content.link;
9271
+ }
9272
+ content.headlineVersion = 'L';
9273
+ }
9274
+ return { ...block, content };
9275
+ };
9276
+
9277
+ const MIN_LENGTH_CHILD = 5;
9417
9278
  const LINK_SCHEMA = {
9418
9279
  link: {
9419
9280
  allOf: [
@@ -9433,15 +9294,19 @@
9433
9294
  required: ['href'],
9434
9295
  },
9435
9296
  };
9436
- const GalleryLayout = UniBlock(({ className = '', padding = 'p-0', gap = '', isInnerPadding = true, version = 'transparent', isTheme = false, isCardBorder = false, ...rest }) => (jsx(BlockWrapper, { className: style('grid grid-cols-1 sm:grid-cols-1 lg:grid-cols-4 lg:auto-rows-fr', gapStyles[gap], className), padding: padding, version: version, isTheme: isTheme, ...rest, children: renderChildren({
9437
- ...rest,
9438
- renderProps: getRenderProps({ isInnerPadding, isCardBorder }),
9439
- }) })), {
9297
+ const GalleryLayout = UniBlock(({ className = '', padding = 'p-0', gap = '', isInnerPadding = true, version = 'transparent', isTheme = false, isCardBorder = false, block = {}, ...rest }) => {
9298
+ const blocks = useSortProductBlocks(block);
9299
+ return (jsx(BlockWrapper, { className: style('grid grid-cols-1 sm:grid-cols-1 lg:grid-cols-4 lg:auto-rows-fr', gapStyles[gap], className), padding: padding, version: version, isTheme: isTheme, ...rest, children: renderChildren({
9300
+ ...rest,
9301
+ block: { ...block, blocks },
9302
+ renderProps: getRenderProps({ isInnerPadding, isCardBorder }),
9303
+ }) }));
9304
+ }, {
9440
9305
  childrenTypes: ['ProductBlock'],
9441
9306
  childSchema: () => LINK_SCHEMA,
9442
9307
  allowRemoveChild: (slot) => (slot?.blocks ?? []).length > MIN_LENGTH_CHILD,
9443
9308
  });
9444
- const getRenderProps = ({ isInnerPadding, isCardBorder, }) => (childBlock, childOptions, i) => renderBlock$1(childBlock, {
9309
+ const getRenderProps = ({ isInnerPadding, isCardBorder, }) => (childBlock, childOptions, i) => renderBlock(childBlock, {
9445
9310
  ...childOptions,
9446
9311
  blockDecorator: blockDecoratorWrapper(childOptions.blockDecorator, i),
9447
9312
  }, {
@@ -9452,33 +9317,13 @@
9452
9317
  ...props,
9453
9318
  render: (renderProps) => productBlockDecorator(idx)({ ...props, ...renderProps }, i),
9454
9319
  }, `wrap_${i}`) ?? productBlockDecorator(idx)(props, i);
9320
+ const visibilityByIdx = (i) => (Number(i) < 5 ? '' : 'hidden');
9455
9321
  const productBlockDecorator = (idx) => ({ blockClassName, block, render }, i) => {
9456
9322
  const modifiedBlock = modifyBlock(block, idx);
9457
- return (jsx(LinkWrapper, { ...modifiedBlock.content?.link, className: getChildStyle(idx), children: render({
9323
+ return (jsx(LinkWrapper, { ...modifiedBlock.content?.link, className: style(visibilityByIdx(idx), getChildStyle(idx)), children: render({
9458
9324
  blockClassName: style(blockClassName, 'h-full'),
9459
9325
  block: modifiedBlock,
9460
9326
  }) }, String(i)));
9461
- };
9462
- const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
9463
- ? 'lg:col-span-1 lg:row-span-1'
9464
- : 'lg:col-span-2 lg:row-span-2';
9465
- const modifyBlock = (block, i) => {
9466
- const content = { ...block.content };
9467
- const isSmallTile = SHORT_TILE_INDEXES.includes(i);
9468
- if (isSmallTile) {
9469
- delete content.description;
9470
- delete content.benefits;
9471
- if (content.link?.href) {
9472
- delete content.buttons;
9473
- }
9474
- content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
9475
- }
9476
- else {
9477
- if ((content.buttons ?? []).length) {
9478
- delete content.link;
9479
- }
9480
- }
9481
- return { ...block, content };
9482
9327
  };
9483
9328
 
9484
9329
  const GrantSupport = UniBlock(({ className, title, button, regionSource, data, ...rest }) => {
@@ -9504,65 +9349,18 @@
9504
9349
  });
9505
9350
  const getDataTestIdAttribute = (dataTestId) => dataTestId ? { 'data-test-id': dataTestId } : null;
9506
9351
 
9507
- const CHAT_NAMESPACE = 'chatbot';
9508
- const CHAT_BUTTON_EXTERNAL_NAME = 'text-page__btn-chat';
9509
- const CHAT_FRAME_ID = 'webchat-js-container:webchat_rshb';
9510
- const CHAT_STORAGE_NAME = 'webchat-keep-open';
9511
- const BUSINESS_CHAT_PREFIX = '/webchat-api';
9512
- const BUSINESS_CHAT_CLASSNAME = '@container fixed right-0 bottom-0 top-0 h-full w-full z-[100] @3xl:w-auto h-fit';
9513
- const CHATBOT_URL = {
9514
- personal: '//chat.mes.rshb.ru/assets/js/webchat_rshb',
9515
- business: '/webchat',
9516
- };
9517
- const useChatBot = (chat) => {
9518
- const [isLoading, setIsLoading] = useState(false);
9519
- useEffect(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
9520
- const chatUrl = CHATBOT_URL[chat ?? ''];
9521
- const load = useCallback((ev) => {
9522
- if (!chatUrl) {
9523
- return;
9524
- }
9525
- setIsLoading(true);
9526
- if (chat === 'business') {
9527
- renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
9528
- }
9529
- else {
9530
- renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
9352
+ const CHAT_BOT_ASPECT_NAME = 'openChatBot';
9353
+ const HeaderChatBotButton = JSX(({ iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large' }) => {
9354
+ const [isLoading, { setTrue: startLoad, setFalse: endLoad }] = useBool(false);
9355
+ const aspects = useAspects();
9356
+ const handleClick = useCallback((ev) => {
9357
+ const openChatBot = aspects[CHAT_BOT_ASPECT_NAME];
9358
+ if (openChatBot) {
9359
+ startLoad();
9360
+ openChatBot(ev).finally(endLoad);
9531
9361
  }
9532
- }, [chatUrl, chat]);
9533
- return { load, isLoading };
9534
- };
9535
- const renderPersonalChatBot = async (ev, chatUrl) => {
9536
- const target = ev.target;
9537
- if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
9538
- target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
9539
- }
9540
- const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
9541
- if (!chatFrame) {
9542
- await initializeExternalNS(CHAT_NAMESPACE, chatUrl);
9543
- }
9544
- };
9545
- const renderBusinessChatBot = async (chatUrl) => {
9546
- const businessChat = (await initializeExternalNS(CHAT_NAMESPACE, `${chatUrl}/bundle.js`, true));
9547
- initializeExternalStylesheet(`${chatUrl}/bundle.css`);
9548
- const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
9549
- if (chatFrame) {
9550
- businessChat?.chatOpen?.();
9551
- }
9552
- else {
9553
- createChatFrame();
9554
- businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
9555
- }
9556
- };
9557
- const createChatFrame = () => {
9558
- const chatFrame = globalThis.document.createElement('div');
9559
- chatFrame.id = CHAT_FRAME_ID;
9560
- globalThis.document.body.appendChild(chatFrame);
9561
- };
9562
-
9563
- const HeaderChatBotButton = JSX(({ chat = 'personal', iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large', }) => {
9564
- const { load, isLoading } = useChatBot(chat);
9565
- return (jsx(HeaderSecondaryMenuButton, { className: className, image: { icon: 'ChatBotIcon', iconVersion }, ariaLabel: ariaLabel, onClick: load, buttonSize: buttonSize, isGrayBg: true, version: version, isLoading: isLoading, dataTestId: "chat icon" }));
9362
+ }, []);
9363
+ return (jsx(HeaderSecondaryMenuButton, { className: className, image: { icon: 'ChatBotIcon', iconVersion }, ariaLabel: ariaLabel, onClick: handleClick, buttonSize: buttonSize, isGrayBg: true, version: version, isLoading: isLoading, disabled: isLoading, dataTestId: "chat icon" }));
9566
9364
  });
9567
9365
 
9568
9366
  const BUTTON_STYLE = {
@@ -9584,7 +9382,7 @@
9584
9382
  const onClick = useCallback(() => {
9585
9383
  router.back();
9586
9384
  }, [router]);
9587
- return (jsxs("div", { className: "flex items-center justify-between w-full", children: [alwaysShowLogo || isRootLocation ? (jsx("div", { children: jsx(Logo, { className: "my-2xs", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }) })) : (renderBackButton(onClick, backwardButton)), jsxs("div", { className: "flex gap-lg items-center", children: [projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { version: version, iconVersion: iconVersion, chat: projectSettings.CHAT_BOT, buttonSize: "medium" })) : null, jsx(InternetBankButton, { version: version, ...internetBankButton })] })] }));
9385
+ return (jsxs("div", { className: "flex items-center justify-between w-full", children: [alwaysShowLogo || isRootLocation ? (jsx("div", { children: jsx(Logo, { className: "my-2xs", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }) })) : (renderBackButton(onClick, backwardButton)), jsxs("div", { className: "flex gap-lg items-center", children: [projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { version: version, iconVersion: iconVersion, buttonSize: "medium" })) : null, jsx(InternetBankButton, { version: version, ...internetBankButton })] })] }));
9588
9386
  });
9589
9387
  const renderBackButton = (onClick, text) => text ? (jsxs("button", { className: "flex items-center text-l my-2xs", onClick: onClick, type: "button", "aria-label": "\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0430\u0437\u0430\u0434", children: [jsx(Icon, { name: "ChevronLeftIcon", iconVersion: "black", width: "24", height: "24" }), text] })) : null;
9590
9388
 
@@ -9630,224 +9428,94 @@
9630
9428
  return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
9631
9429
  };
9632
9430
 
9633
- const LinkDocItem = JSX(({ icon, text, href, target, fileFormat, data, fileSize }) => {
9634
- const prefix = fileSize && fileFormat ? ',' : '';
9635
- const size = fileSize ?? '';
9636
- const format = fileFormat ? String(fileFormat) : '';
9637
- return (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", href: href, target: target, ...getAspectsAttributes(data), children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, " ", addSpace(size, format), jsx(Text, { color: "text-secondary-text", children: href && `${size + prefix + format}` })] })) : null] }));
9638
- });
9639
- const addSpace = (size, format) => (size || format ? jsx("span", { children: ",\u00A0" }) : '');
9640
-
9641
- const linkIconStyle = 'min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md';
9642
-
9643
- const renderDefaultItem = (router, icon) => (docBlockDef, i) => {
9644
- const href = adjustHref(router)(docBlockDef?.docType === 'Attachment' ? docBlockDef?.attachment?.src : docBlockDef?.href);
9645
- const fileSize = docBlockDef?.docType === 'Attachment'
9646
- ? formatBytes(docBlockDef?.attachment?.fileSize || 0)
9647
- : docBlockDef?.fileSize;
9648
- const fileFormat = docBlockDef?.docType === 'Attachment' ? getExtFromHref(href) : docBlockDef?.fileFormat;
9649
- return (jsxs("div", { role: "listitem", children: [jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileFormat: fileFormat, fileSize: fileSize, icon: renderImg(icon), data: docBlockDef?.data }), jsx(RichText, { __html: docBlockDef?.__html })] }, String(i)));
9650
- };
9651
- const renderImg = (icon) => icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null;
9652
- const getExtFromHref = (href) => {
9653
- if (!href) {
9654
- return '';
9655
- }
9656
- const index = href.lastIndexOf('.');
9657
- const regexp = new RegExp(/\/(.*)/);
9658
- const docFormat = index !== -1 ? href.substring(index + 1) : '';
9659
- return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
9660
- };
9661
-
9662
- const ReportDialog = JSX(({ href, __html, target, onClose }) => (jsxs(Dialog, { className: "my-6xl min-h-fit w-fit mx-auto", onClose: onClose, children: [__html ? jsx(RichText, { __html: __html }) : null, jsxs("div", { className: "flex flex-row mx-auto w-fit gap-lg py-lg", children: [jsx(Link, { href: href, target: target, version: "primary", ariaLabel: "\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435", onClick: onClose, children: "\u042F \u0441\u043E\u0433\u043B\u0430\u0441\u0435\u043D" }), jsx(Button, { type: "button", version: "secondary", onClick: onClose, children: "\u042F \u043D\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0435\u043D" })] }), jsx("div", { children: "\u041D\u0430\u0436\u0438\u043C\u0430\u044F \u043A\u043D\u043E\u043F\u043A\u0443 \u00AB\u042F \u0421\u041E\u0413\u041B\u0410\u0421\u0415\u041D\u00BB \u043D\u0438\u0436\u0435 \u0412\u044B \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0443\u0441\u043B\u043E\u0432\u0438\u044F. \u0420\u0430\u0441\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u0440\u0430\u0441\u043A\u0440\u044B\u0442\u0438\u0435 \u043B\u044E\u0431\u043E\u0439 \u0447\u0430\u0441\u0442\u0438 \u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0417\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438, \u0438\u043B\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \u0432 \u043D\u0435\u043C \u0437\u0430\u043F\u0440\u0435\u0449\u0435\u043D\u043E.\u00BB" })] })));
9663
-
9664
- const ReportDialogButton = JSX(({ text, href, target, __html, icon }) => {
9665
- const { open } = useDialog(ReportDialog);
9666
- const openReportDialog = useCallback(() => open({ __html, href, target }), [__html, href, target]);
9667
- return text ? (jsxs("button", { className: "flex gap-s text-primary-text no-underline hover:text-primary-main", onClick: openReportDialog, children: [renderImg(icon), jsx(Text, { font: "font-light", children: text })] })) : null;
9668
- });
9669
-
9670
- const linkColumnsModeStyleMap = {
9671
- double: 'sm:flex-wrap sm:flex-row',
9672
- single: 'sm:flex-col',
9673
- };
9674
- const LinkDocs = UniBlock(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
9675
- const router = useRouter();
9676
- return (jsxs(BlockWrapper, { className: style('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? (jsx("div", { className: style('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, icon)) })) : null] }));
9677
- });
9678
- const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
9679
- const docType = docBlockDef?.docType;
9680
- if (docType === '') {
9681
- return null;
9682
- }
9683
- if ('reportSource' in docBlockDef && docBlockDef?.reportSource?.__html) {
9684
- return renderModalItem(icon)(docBlockDef, i);
9685
- }
9686
- return renderDefaultItem(router, icon)(docBlockDef, i);
9687
- };
9688
- const renderModalItem = (icon) => (props, i) => {
9689
- const commonProps = {
9690
- text: props.text,
9691
- target: props.target,
9692
- __html: props.reportSource?.__html,
9693
- };
9694
- return props.reportSource?.__html && props.text ? (jsxs("div", { role: "listitem", children: [jsx(ReportDialogButton, { ...commonProps, icon: icon, href: isLinkDoc(props) ? props?.href : props?.attachment?.src }), jsx(RichText, { __html: props?.__html })] }, String(i))) : null;
9695
- };
9696
- const isLinkDoc = (data) => 'href' in data;
9697
-
9698
- const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, __html, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
9699
- const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
9700
- const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
9701
- return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [__html ? jsx(RichText, { __html: __html, itemSize: "list-m" }) : null, jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
9702
- });
9703
-
9704
- const getVersion = (isPrimary, type) => isPrimary && type !== 'underlined' ? 'primary' : 'secondary';
9705
-
9706
- const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) => targetMatchPattern(filter, content)).length;
9707
-
9708
- const scalarCmp = (a, b) => a === b;
9709
- const arrCmp = (cmp = scalarCmp) => (a, b) => a === b || Boolean(a && b && a.length === b.length && a.every((_, i) => cmp(_, b[i])));
9710
- const objCmp = (cmp) => (a, b) => a === b ||
9711
- Boolean(a &&
9712
- b &&
9713
- Object.keys(a).length === Object.keys(b).length &&
9714
- Object.entries(a).every(([key, value]) => cmp(value, b[key])));
9715
- function combineBoolCmps(...comparators) {
9716
- return (a, b) => comparators.some((cmp) => cmp(a, b));
9717
- }
9718
-
9719
- const hotFilterRecordCmp = objCmp(combineBoolCmps(scalarCmp, arrCmp()));
9720
-
9721
- const EMPTY_ARR = [];
9722
- const EMPTY_OBJ = {};
9723
- const useHotFilters = ({ hotFilters = EMPTY_ARR, filtrationState = EMPTY_OBJ, blocks = EMPTY_ARR, onFiltrationStateChange, }) => {
9724
- const activeItemIndex = useMemo(() => Math.max(0, hotFilters.findIndex((_) => hotFilterRecordCmp(_.filter, filtrationState))), [hotFilters, filtrationState]);
9725
- const items = useMemo(() => hotFilters.map((_) => ({
9726
- text: _.text,
9727
- count: getBadgeCount(blocks, _.filter),
9728
- version: getVersion(_ === hotFilters[activeItemIndex]),
9729
- })), [hotFilters, blocks, activeItemIndex]);
9730
- const handleChange = useCallback((_) => {
9731
- onFiltrationStateChange(hotFilters[items.indexOf(_)].filter);
9732
- }, [hotFilters, items]);
9733
- return {
9734
- activeItem: items[activeItemIndex],
9735
- items: items,
9736
- onChange: handleChange,
9737
- };
9738
- };
9739
-
9740
- const badgeBgStyleMap = {
9741
- primary: 'bg-white/30',
9742
- secondary: 'bg-main-divider',
9743
- };
9744
- const badgeTextColorStyleMap = {
9745
- primary: { desktop: 'text-white', mobile: 'text-primary-text' },
9746
- secondary: { desktop: 'text-secondary-text', mobile: 'text-secondary-text' },
9747
- };
9748
- const Badge = JSX(({ count, version = 'secondary' }) => {
9749
- const isMobileMode = useMobileMode();
9750
- const badgeBgStyle = isMobileMode ? 'bg-main-divider' : badgeBgStyleMap[version];
9751
- const textStyle = badgeTextColorStyleMap[version][isMobileMode ? 'mobile' : 'desktop'];
9752
- return (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyle), role: "status", "aria-label": `Количество ${count} доступных программ и сервисов`, children: jsx(Text, { size: "text-xs", color: textStyle, children: count }) }));
9753
- });
9754
-
9755
- const getButtonClassNames = (isActive) => ({
9756
- btn: `w-96 ${isActive ? 'p-m border-none bg-primary-main text-white' : 'p-s ease-in duration-300 bg-white'}`,
9757
- text: isActive ? 'mb-xs text-xl' : 'mb-2xs text-l text-primary-text',
9758
- desc: `font-light ${isActive ? 'text-l text-white' : 'text-m text-secondary-text'}`,
9759
- icon: isActive ? '' : 'text-primary-main',
9760
- iconVersion: (isActive ? 'white' : 'normal'),
9761
- oldText: 'text-m text-center',
9762
- oldDesc: 'text-m-light',
9763
- });
9764
- const renderTabItemInner = ({ text, description, icon, isActive, type, }) => {
9765
- const buttonClassNames = getButtonClassNames(isActive);
9766
- return (jsxs("div", { className: style('cursor-pointer text-left border-b-0 flex gap-2xs'), "aria-label": text, "aria-labelledby": `${text}-label`, children: [icon ? (jsx(Img, { className: style('h-6 w-6 min-w-6 min-h-6', buttonClassNames.icon), image: {
9767
- ...icon,
9768
- iconVersion: icon?.iconVersion ?? buttonClassNames.iconVersion,
9769
- }, width: "24", height: "24", alt: text })) : null, jsxs("div", { className: "border-0", children: [jsx("div", { className: type === 'animated' ? buttonClassNames.text : buttonClassNames.oldText, children: text }), jsx("div", { className: type === 'animated' ? buttonClassNames.desc : buttonClassNames.oldDesc, children: description })] })] }));
9770
- };
9771
-
9772
- const tabPaddingStyleMap = {
9773
- default: 'px-xs',
9774
- underlined: 'px-m',
9775
- animated: 'px-m border border-gray cursor-pointer text-left border-b-0 mt-auto flex gap-2xs',
9776
- };
9777
- const tabTextStyle = 'text-secondary-text hover:text-primary-main';
9778
- const activeTabTextStyleMap = {
9779
- default: 'text-black sm:text-white',
9780
- underlined: 'text-primary-main border-b-2',
9781
- animated: 'text-white sm:text-white',
9782
- };
9783
- const tabBgStyleMap = {
9784
- default: 'bg-white',
9785
- underlined: 'bg-white',
9786
- animated: 'p-1 ease-in duration-300 bg-white text-primary-text h-[70px] w-96',
9787
- };
9788
- const activeTabBgStyleMap = {
9789
- default: 'bg-white sm:bg-primary-main',
9790
- underlined: 'bg-white',
9791
- animated: 'p-2 border-none bg-primary-main text-white h-20 w-96',
9792
- };
9793
- const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
9794
- const Tag = tag;
9795
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
9796
- const { text, description, icon, count, tabName, ...link } = item;
9797
- return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), "aria-label": "\u0421\u043F\u0438\u0441\u043E\u043A \u0442\u0430\u0431\u043E\u0432", onClick: onClick, ...link, children: jsxs("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), role: "tab", "aria-label": `Таб ${text}`, children: [renderTabItemInner({
9798
- text,
9799
- description,
9800
- icon,
9801
- isActive,
9802
- type,
9803
- }), Number.isInteger(count) ? (jsx("div", { className: "ml-xs", role: "status", "aria-label": `Количество программ и сервисов ${count}`, children: jsx(Badge, { count: count, version: getVersion(isActive, type) }) })) : null] }) }));
9804
- });
9805
-
9806
- const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
9807
- const LinkTabItem = JSX((props) => {
9808
- const link = useLink();
9809
- const handleClick = useCallback(() => {
9810
- props.onClick && props.onClick(props.item || {});
9811
- }, [props.onClick, props.item]);
9812
- const { onClick, ...item } = link({ ...props.item, onClick: handleClick });
9813
- return jsx(TabItemInner, { ...props, tag: "a", item: item, onClick: onClick });
9431
+ const LinkDocItem = JSX(({ icon, text, href, target, fileFormat, data, fileSize }) => {
9432
+ const prefix = fileSize && fileFormat ? ',' : '';
9433
+ const size = fileSize ?? '';
9434
+ const format = fileFormat ? String(fileFormat) : '';
9435
+ return (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", href: href, target: target, ...getAspectsAttributes(data), children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, " ", addSpace(size, format), jsx(Text, { color: "text-secondary-text", children: href && `${size + prefix + format}` })] })) : null] }));
9814
9436
  });
9815
- // TODO: Update handlerDecorator (support buttons?)
9816
- const ButtonTabItem = JSX(({ item = {}, onClick, ...rest }) => {
9817
- const handleClick = useCallback(() => {
9818
- onClick && onClick(item);
9819
- }, [onClick, item]);
9820
- return jsx(TabItemInner, { item: item, onClick: handleClick, ...rest });
9821
- });
9437
+ const addSpace = (size, format) => (size || format ? jsx("span", { children: ",\u00A0" }) : '');
9822
9438
 
9823
- const renderTab = (activeTab, onClick, type) => (tab, i) => (jsx(TabItem, { isActive: tab === activeTab, onClick: onClick, type: type, item: tab }, String(i)));
9439
+ const linkIconStyle = 'min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md';
9440
+
9441
+ const renderDefaultItem = (router, icon) => (docBlockDef, i) => {
9442
+ const href = adjustHref(router)(docBlockDef?.docType === 'Attachment' ? docBlockDef?.attachment?.src : docBlockDef?.href);
9443
+ const fileSize = docBlockDef?.docType === 'Attachment'
9444
+ ? formatBytes(docBlockDef?.attachment?.fileSize || 0)
9445
+ : docBlockDef?.fileSize;
9446
+ const fileFormat = docBlockDef?.docType === 'Attachment' ? getExtFromHref(href) : docBlockDef?.fileFormat;
9447
+ return (jsxs("div", { role: "listitem", children: [jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileFormat: fileFormat, fileSize: fileSize, icon: renderImg(icon), data: docBlockDef?.data }), jsx(RichText, { __html: docBlockDef?.__html })] }, String(i)));
9448
+ };
9449
+ const renderImg = (icon) => icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null;
9450
+ const getExtFromHref = (href) => {
9451
+ if (!href) {
9452
+ return '';
9453
+ }
9454
+ const index = href.lastIndexOf('.');
9455
+ const regexp = new RegExp(/\/(.*)/);
9456
+ const docFormat = index !== -1 ? href.substring(index + 1) : '';
9457
+ return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
9458
+ };
9824
9459
 
9825
- const TabsControl = JSX(({ className, tabsType = 'default', items = [], activeItem, onChange }) => (jsx("div", { className: style('flex gap-x-2xs overflow-x-auto no-scrollbar', className), role: "tabpanel", "aria-label": "\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0442\u0430\u0431\u0430\u043C\u0438", children: items.map(renderTab(activeItem, onChange, tabsType)) })));
9460
+ const ReportDialog = JSX(({ href, __html, target, onClose }) => (jsxs(Dialog, { className: "my-6xl min-h-fit w-fit mx-auto", onClose: onClose, children: [__html ? jsx(RichText, { __html: __html }) : null, jsxs("div", { className: "flex flex-row mx-auto w-fit gap-lg py-lg", children: [jsx(Link, { href: href, target: target, version: "primary", ariaLabel: "\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435", onClick: onClose, children: "\u042F \u0441\u043E\u0433\u043B\u0430\u0441\u0435\u043D" }), jsx(Button, { type: "button", version: "secondary", onClick: onClose, children: "\u042F \u043D\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0435\u043D" })] }), jsx("div", { children: "\u041D\u0430\u0436\u0438\u043C\u0430\u044F \u043A\u043D\u043E\u043F\u043A\u0443 \u00AB\u042F \u0421\u041E\u0413\u041B\u0410\u0421\u0415\u041D\u00BB \u043D\u0438\u0436\u0435 \u0412\u044B \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0443\u0441\u043B\u043E\u0432\u0438\u044F. \u0420\u0430\u0441\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u0440\u0430\u0441\u043A\u0440\u044B\u0442\u0438\u0435 \u043B\u044E\u0431\u043E\u0439 \u0447\u0430\u0441\u0442\u0438 \u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0417\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438, \u0438\u043B\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \u0432 \u043D\u0435\u043C \u0437\u0430\u043F\u0440\u0435\u0449\u0435\u043D\u043E.\u00BB" })] })));
9826
9461
 
9827
- const initialFiltrationState = {
9828
- categories: [],
9829
- extraOptions: [],
9830
- propertyType: [],
9831
- stage: [],
9462
+ const ReportDialogButton = JSX(({ text, href, target, __html, icon }) => {
9463
+ const { open } = useDialog(ReportDialog);
9464
+ const openReportDialog = useCallback(() => open({ __html, href, target }), [__html, href, target]);
9465
+ return text ? (jsxs("button", { className: "flex gap-s text-primary-text no-underline hover:text-primary-main", onClick: openReportDialog, children: [renderImg(icon), jsx(Text, { font: "font-light", children: text })] })) : null;
9466
+ });
9467
+
9468
+ const linkColumnsModeStyleMap = {
9469
+ double: 'sm:flex-wrap sm:flex-row',
9470
+ single: 'sm:flex-col',
9832
9471
  };
9833
- const MortgageFiltration = UniBlock(({ className, hotFilters, filtrationSchema = {}, resetButton, ...rest }) => {
9834
- const [filtrationState, { blocksToRender }, { field, reset, update: replaceFiltrationState }] = useFiltrationForm(initialFiltrationState, {
9835
- block: rest.block,
9836
- page: rest.options?.page,
9837
- });
9838
- const handleFiltrationStateChange = useCallback((_ = initialFiltrationState) => replaceFiltrationState(_), []);
9839
- const tabsControlProps = useHotFilters({
9840
- hotFilters,
9841
- filtrationState,
9842
- blocks: rest.block?.blocks,
9843
- onFiltrationStateChange: handleFiltrationStateChange,
9844
- });
9845
- return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [jsx(TabsControl, { ...tabsControlProps }), jsx(FiltrationForm$1, { filtrationSchema: filtrationSchema, resetButton: resetButton, field: field, reset: reset }), jsx(FilteredBlocks, { blocksToRender: blocksToRender, ...rest })] }));
9846
- }, {
9847
- childrenTypes: ['ProductBlock'],
9848
- childSchema: (content) => content?.filtrationSchema || {},
9472
+ const LinkDocs = UniBlock(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
9473
+ const router = useRouter();
9474
+ return (jsxs(BlockWrapper, { className: style('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? (jsx("div", { className: style('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, icon)) })) : null] }));
9475
+ });
9476
+ const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
9477
+ const docType = docBlockDef?.docType;
9478
+ if (docType === '') {
9479
+ return null;
9480
+ }
9481
+ if ('reportSource' in docBlockDef && docBlockDef?.reportSource?.__html) {
9482
+ return renderModalItem(icon)(docBlockDef, i);
9483
+ }
9484
+ return renderDefaultItem(router, icon)(docBlockDef, i);
9485
+ };
9486
+ const renderModalItem = (icon) => (props, i) => {
9487
+ const commonProps = {
9488
+ text: props.text,
9489
+ target: props.target,
9490
+ __html: props.reportSource?.__html,
9491
+ };
9492
+ return props.reportSource?.__html && props.text ? (jsxs("div", { role: "listitem", children: [jsx(ReportDialogButton, { ...commonProps, icon: icon, href: isLinkDoc(props) ? props?.href : props?.attachment?.src }), jsx(RichText, { __html: props?.__html })] }, String(i))) : null;
9493
+ };
9494
+ const isLinkDoc = (data) => 'href' in data;
9495
+
9496
+ const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, __html, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
9497
+ const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
9498
+ const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
9499
+ return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [__html ? jsx(RichText, { __html: __html, itemSize: "list-m" }) : null, jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
9849
9500
  });
9850
9501
 
9502
+ const REGION_URL = `${API_BASE_URI$1}/region`;
9503
+ function useLocation(defaultLocation = 'Москва') {
9504
+ const locationStore = useLocalStore();
9505
+ return locationStore.location ?? { name: defaultLocation };
9506
+ }
9507
+ function useDefaultLocation(defaultLocation = 'Москва') {
9508
+ const locationStore = useLocalStore();
9509
+ const preselectLocation = useCallback(async () => {
9510
+ if (!locationStore.location) {
9511
+ const region = await fetchJSON(REGION_URL);
9512
+ locationStore.location = region ?? { name: defaultLocation };
9513
+ }
9514
+ }, [locationStore, defaultLocation]);
9515
+ useAsyncData(REGION_URL, preselectLocation);
9516
+ return locationStore;
9517
+ }
9518
+
9851
9519
  const COMMON_FILTERS_STYLES = 'flex flex-col sm:flex-row sm:flex-wrap gap-3xl pb-2xl';
9852
9520
  const FiltrationForm = JSX(({ filters, field: { field, reset }, onlyOffice, labels }) => {
9853
9521
  const visibleFiltersNum = onlyOffice ? 5 : 6;
@@ -9859,6 +9527,8 @@
9859
9527
  return (jsx("div", { children: filters?.length ? (jsx("div", { children: jsxs(Foldable, { children: [jsxs("div", { children: [jsx("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }), jsx(FoldableSection, { className: COMMON_FILTERS_STYLES, isUnfolded: isUnfolded, children: hiddenFilters })] }), jsxs("div", { className: "flex space-x-lg", children: [onlyOffice ? (jsx(DefaultFoldButton, { label: isUnfolded ? 'Меньше фильтров' : 'Больше фильтров', isUnfolded: isUnfolded, embedded: true, short: true, onClick: toggle })) : null, jsxs(Button, { embedded: true, onClick: reset, children: [jsx(ButtonTitle, { children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440" }), jsx(Icon, { name: "CloseIcon", size: "small" })] })] })] }) })) : null }));
9860
9528
  });
9861
9529
 
9530
+ const getVersion = (isPrimary, type) => isPrimary && type !== 'underlined' ? 'primary' : 'secondary';
9531
+
9862
9532
  const renderButtonsGroup = (data, activeButton, onButtonClick) => {
9863
9533
  const allButtonVersion = getVersion(activeButton === 'all');
9864
9534
  const businessButtonVersion = getVersion(activeButton === 'business');
@@ -9873,7 +9543,7 @@
9873
9543
  return (jsxs("div", { className: "flex gap-lg flex-col sm:flex-row pb-lg", children: [jsx(Button, { "data-id": "all", onClick: (e) => handleClick(e, 'all', data), version: allButtonVersion, children: "\u0414\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" }), jsx(Button, { "data-id": "business", onClick: (e) => handleClick(e, 'business', data), version: businessButtonVersion, children: "\u0414\u043B\u044F \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" })] }));
9874
9544
  };
9875
9545
 
9876
- const renderDescriptionBlock$1 = ({ __html, list, richVersion }) => __html || list?.length ? (jsxs("div", { className: "mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (jsx("div", { className: "mb-2xl", children: jsx(RichText, { __html: __html, richVersion: richVersion }) })) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pb-2xl sm:pb-xl", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
9546
+ const renderDescriptionBlock = ({ __html, list, richVersion }) => __html || list?.length ? (jsxs("div", { className: "mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (jsx("div", { className: "mb-2xl", children: jsx(RichText, { __html: __html, richVersion: richVersion }) })) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pb-2xl sm:pb-xl", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
9877
9547
 
9878
9548
  const renderHeading = (title, lengthItems) => (jsx("div", { className: "flex flex-col sm:flex-row gap-xs mb-2xl", children: jsxs(Heading, { headingType: "h3", children: [jsx("span", { suppressHydrationWarning: true, children: title }), lengthItems ? (jsx(Text, { size: "text-h2", color: "text-secondary-text", children: jsx("span", { suppressHydrationWarning: true, children: ` (${lengthItems})` }) })) : null] }) }));
9879
9549
 
@@ -9890,7 +9560,7 @@
9890
9560
  getBalloonRemoteWorkplaces,
9891
9561
  });
9892
9562
  const [activeButton, setActiveButton] = useState('all');
9893
- return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-3xl pb-0", children: [renderHeading(title, lengthItems), descriptionData ? renderDescriptionBlock$1(descriptionData) : null, onlyOffice && renderButtonsGroup(data, activeButton, setActiveButton), jsx("div", { className: style('pb-3xl', filtersVisibleStyles(activeButton)), children: jsx(FiltrationForm, { filters: getFiltersWithNonEmptyData([...data, ...remoteWorkplaces]), field: { field, reset }, onlyOffice: onlyOffice, labels: FILTRATION_LABELS }) })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, isLoad: isLoad, className: "h-full" }) }) })] }), jsxs(ClientOnly, { children: [filteredItems.map(renderCard), filteredRemoteWorkplaces.map(renderRemoteWorkplaceCard)] })] }));
9563
+ return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-3xl pb-0", children: [renderHeading(title, lengthItems), descriptionData ? renderDescriptionBlock(descriptionData) : null, onlyOffice && renderButtonsGroup(data, activeButton, setActiveButton), jsx("div", { className: style('pb-3xl', filtersVisibleStyles(activeButton)), children: jsx(FiltrationForm, { filters: getFiltersWithNonEmptyData([...data, ...remoteWorkplaces]), field: { field, reset }, onlyOffice: onlyOffice, labels: FILTRATION_LABELS }) })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, isLoad: isLoad, className: "h-full" }) }) })] }), jsxs(ClientOnly, { children: [filteredItems.map(renderCard), filteredRemoteWorkplaces.map(renderRemoteWorkplaceCard)] })] }));
9894
9564
  });
9895
9565
  const getFiltersWithNonEmptyData = (data) => Object.keys(INITIAL_FILTRATION_STATE$1).filter((_) => data.filter((item) => FILTRATION_PREDICATES$1[_](item)).length);
9896
9566
 
@@ -9921,15 +9591,15 @@
9921
9591
  return { header, body };
9922
9592
  };
9923
9593
 
9924
- const EMPTY_VALUE$2 = [];
9594
+ const EMPTY_VALUE$1 = [];
9925
9595
  function useAtms(regionCode) {
9926
9596
  const { data, error } = useAsyncData(`${API_BASE_URI$1}/atms?regionCode=${regionCode}`, fetchMap$1);
9927
9597
  const isLoad = !data && !error;
9928
- return { data: data || EMPTY_VALUE$2, isLoad };
9598
+ return { data: data || EMPTY_VALUE$1, isLoad };
9929
9599
  }
9930
9600
  const fetchMap$1 = async (url) => {
9931
9601
  const result = await fetchJSON(url, { method: 'GET' });
9932
- return Array.isArray(result) ? result : EMPTY_VALUE$2;
9602
+ return Array.isArray(result) ? result : EMPTY_VALUE$1;
9933
9603
  };
9934
9604
 
9935
9605
  const INITIAL_FILTRATION_STATE = {
@@ -9982,17 +9652,17 @@
9982
9652
  return { header, body };
9983
9653
  };
9984
9654
 
9985
- const EMPTY_VALUE$1 = { branches: [], remoteWorkplaces: [] };
9655
+ const EMPTY_VALUE = { branches: [], remoteWorkplaces: [] };
9986
9656
  function useOffices(regionCode = '000') {
9987
9657
  const { data, error } = useAsyncData(`${API_BASE_URI$1}/branchesAndRemoteWorkplaces?regionCode=${encodeURIComponent(regionCode)}`, fetchMap);
9988
9658
  const isLoad = !data && !error;
9989
- return { data: data || EMPTY_VALUE$1, isLoad };
9659
+ return { data: data || EMPTY_VALUE, isLoad };
9990
9660
  }
9991
9661
  const fetchMap = async (url) => {
9992
9662
  const result = await fetchJSON(url, {
9993
9663
  method: 'GET',
9994
9664
  });
9995
- return result || EMPTY_VALUE$1;
9665
+ return result || EMPTY_VALUE;
9996
9666
  };
9997
9667
 
9998
9668
  const OfficesMap = JSX(({ className }) => {
@@ -10007,25 +9677,6 @@
10007
9677
  return (jsx(BlockWrapper, { version: "transparent", className: style(className), defaultPadding: "p-0", ...rest, children: dataType === 'offices' ? jsx(OfficesMap, {}) : jsx(AtmsMap, { descriptionData: data }) }));
10008
9678
  });
10009
9679
 
10010
- const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border', className), ...rest, children: [jsx(Headline, { className: "max-w-[600px]", title: title, description: description, headlineVersion: "L", align: "text-left", isEmbedded: true }), jsx(Shimmer, {})] })));
10011
-
10012
- const ProductGallery = JSX(({ className, padding, slides = [], ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden relative', className), padding: padding, ...rest, children: jsx(SwipeListControl, { gap: 0, padding: 0, children: slides
10013
- .map((s) => s.productBlock)
10014
- .map((_, i) => (jsx("div", { className: "box-border h-full", children: jsx(BaseProductTile, { className: "px-5 h-full", headlineVersion: "L", ..._, ...rest }) }, String(i)))) }) })));
10015
-
10016
- const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, richVersion, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [isIcon(icon) ? (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: jsx(Img, { image: icon }) })) : null, title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock({ __html, richVersion }) : null, renderBlock({
10017
- label: 'Адрес',
10018
- data: address,
10019
- iconName: 'GeolocationIcon',
10020
- }), renderBlock({ label: 'Телефон(факс)', data: telephone, iconName: 'PhoneIcon' }), renderBlock({
10021
- label: 'E-mail',
10022
- data: email,
10023
- iconName: 'MailIcon',
10024
- dataColor: 'text-primary-main',
10025
- }), button?.text ? renderButtonsSection([button]) : null] })] })));
10026
- const renderDescriptionBlock = (props) => (jsx("div", { className: "border-b border-main-divider pb-lg", children: jsx(RichText, { ...props, itemSize: "list-s" }) }));
10027
- const renderBlock = ({ label, data, iconName, dataColor = '' }) => data ? (jsxs("div", { className: "flex gap-s", children: [jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col gap-2xs", children: [jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: label }), jsx(Text, { size: "text-xl", color: dataColor, children: data })] })] })) : null;
10028
-
10029
9680
  const RichTextBlock = JSX((props) => {
10030
9681
  const { __html, richVersion = '', ...rest } = props;
10031
9682
  return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
@@ -10047,133 +9698,6 @@
10047
9698
  return (jsx(BlockWrapper, { className: style('w-full border-0 border-b border-solid border-main-divider last:border-b-0', className), defaultPadding: "p-0", tag: "div", version: "transparent", role: role, ...rest, children: jsxs(Foldable, { children: [isFoldButtonOnTop ? foldButton : foldableSection, isFoldButtonOnTop ? foldableSection : foldButton] }) }));
10048
9699
  }, { childrenTypes: { exclude: ['RollupItem'] } });
10049
9700
 
10050
- const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex gap-s items-center relative cursor-pointer", children: [jsx("input", { className: style(inputValidStyle.split(' ').filter((_) => _ !== 'rounded'), defaultCheckStyle, 'flex justify-center items-center after:block after:w-2.5 after:h-2.5 after:rounded-full rounded-full', 'checked:border-2 checked:!border-primary-main focus:checked:border-primary-main checked:after:bg-primary-main'), type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange?.(_.target.value), role: "radio" }), text ? jsx(Text, { color: "text-primary-text", children: text }) : null] }) })));
10051
-
10052
- const RadioButtons = JSX(({ className = '' }) => {
10053
- const [selectedOption, setSelectedOption] = useState('option2');
10054
- const onChange = useCallback((_) => setSelectedOption(_), []);
10055
- return (jsxs("div", { className: style('order-4', className), role: "radiogroup", children: [jsx(Radio, { className: "mb-xs", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selectedOption === 'option1', onChange: onChange }), jsx(Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selectedOption === 'option2', onChange: onChange })] }));
10056
- });
10057
-
10058
- const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
10059
- const dataFormat = data
10060
- .filter(Boolean)
10061
- .map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
10062
- const selectedObj = dataFormat.find((_) => _.key === selected);
10063
- return (jsx(Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
10064
- });
10065
-
10066
- const RegionsAndBranches = JSX(({ regions = [], selectedRegion, onSelectedRegion: onSelectedRegion, branches = [], selectedBranch, onSelectedBranch, }) => (jsxs("div", { className: "flex flex-col @xl:flex-row gap-m order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: selectedRegion, setSelected: onSelectedRegion, label: "\u0420\u0435\u0433\u0438\u043E\u043D" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: selectedBranch, setSelected: onSelectedBranch, label: "\u041E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435" }) })] })));
10067
-
10068
- const ITEMS = ['От 1 дня', 'До 365 дней'];
10069
- const MIN = 1;
10070
- const MAX = 365;
10071
- const RentalPeriod = JSX(({ days, setDays }) => (jsxs("div", { className: "order-1", children: [jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A \u0430\u0440\u0435\u043D\u0434\u044B" }), jsx(InputRange, { min: MIN, max: MAX, value: days, items: ITEMS, onChange: setDays })] })));
10072
-
10073
- const SafeBoxCases = JSX(({ caseVolumes = [], selectedCaseVolume, onSelectedCaseVolume, safeBoxCases = [], selectedBoxSize, onSelectedBoxSize, }) => (jsxs("div", { className: "flex flex-col @xl:flex-row gap-m order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] })));
10074
-
10075
- const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onClick, }) => (jsxs("div", { className: "contents @xl:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents @md:flex justify-between items-center gap-m", children: [jsx(RadioButtons, {}), jsx(Button, { className: "order-6", version: "primary", onClick: onClick, children: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" })] })] })));
10076
- const onSelectedBranch = (onChange) => (value) => {
10077
- onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
10078
- };
10079
- const onSelectedCaseVolume = (onChange) => (value) => {
10080
- onChange({ selectedCaseVolume: value, selectedBoxSize: '' });
10081
- };
10082
-
10083
- const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
10084
- const price = calculatePrice(days, tariffs);
10085
- const imageDescription = 'На рисунке изображена пачка листов\nформата А4';
10086
- return (jsxs("div", { className: "contents @xl:flex flex-col justify-between gap-xl order-2", children: [jsxs("div", { className: "flex flex-col @xl:flex-row gap-x-6xl gap-y-2xl order-5 @xl:order-none py-2xl @xl:py-0 border-t border-main-divider @xl:border-none", children: [renderTotal('Аренда за', days), renderTotal('Цена', price + ' ₽')] }), jsx("div", { className: "@xl:hidden order-3 mb-xs", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: imageDescription }) }), jsxs("div", { className: "flex flex-col items-center gap-s order-3 @xl:order-none mb-xl @xl:mb-0 bg-primary-main py-s @xl:p-3xl text-center", children: [jsx(Icon, { className: "@xl:h-60", name: "PackA4Icon" }), jsx("div", { className: "hidden @xl:inline opacity-80 whitespace-pre-line", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-white", children: imageDescription }) })] })] }));
10087
- });
10088
- const renderTotal = (label, total) => (jsxs("div", { className: "flex justify-between items-center gap-y-xs @xl:flex-col @xl:items-start", children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: label }), jsx("span", { className: "text-l @xl:text-h3 text-primary-text", children: total })] }));
10089
- const calculatePrice = (days, tariffs) => {
10090
- const tariffType = getTariffType(days);
10091
- const tariffValue = tariffs?.find((_) => _.tariffType === String(tariffType))?.tariffValue || 0;
10092
- return days * tariffValue;
10093
- };
10094
- const getTariffType = (days) => {
10095
- let tariffType = 1;
10096
- switch (true) {
10097
- case days > 30 && days <= 90:
10098
- tariffType = 2;
10099
- break;
10100
- case days > 90 && days <= 180:
10101
- tariffType = 3;
10102
- break;
10103
- case days > 180 && days <= 365:
10104
- tariffType = 4;
10105
- break;
10106
- }
10107
- return tariffType;
10108
- };
10109
-
10110
- const getCoordinates = (data) => {
10111
- const getBalloon = () => void 0;
10112
- if (Array.isArray(data)) {
10113
- return data
10114
- .map((_) => ({
10115
- coords: [Number(_.gpsLatitude), Number(_.gpsLongitude)].filter(Boolean),
10116
- content: getBalloon(),
10117
- }))
10118
- .filter((_) => _.coords && _.coords.length === 2);
10119
- }
10120
- if (data?.gpsLatitude && data?.gpsLongitude) {
10121
- return [{ coords: [data.gpsLatitude, data.gpsLongitude] }];
10122
- }
10123
- return [];
10124
- };
10125
- const getBranch = (branches, selectedBranch) => branches.find((_) => _.branchCode === selectedBranch);
10126
-
10127
- const SafeDepositRentalForm = JSX((props) => {
10128
- const { regions, data, branches, onChange, onClick } = props;
10129
- useEffect(() => {
10130
- onChange({
10131
- selectedBranch: '',
10132
- selectedCaseVolume: '',
10133
- selectedBoxSize: '',
10134
- });
10135
- }, [data.selectedRegion, onChange]);
10136
- const branch = getBranch(branches, data.selectedBranch);
10137
- const caseVolumes = getCaseVolumes(branch?.safeBoxCaseVolumes);
10138
- const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes, data.selectedCaseVolume)?.safeBoxCases;
10139
- const tariffs = getTariffs(safeBoxCases, data.selectedBoxSize);
10140
- return (jsxs("div", { className: "flex flex-col @4xl:flex-row gap-4xl align-top", children: [jsx(SafeDepositRentalFields, { ...data, regions: regions, onClick: onClick, branches: branches, caseVolumes: caseVolumes, safeBoxCases: safeBoxCases, onChange: onChange }), jsx(SafeDepositRentalTotal, { days: data.days, tariffs: tariffs })] }));
10141
- });
10142
- const getCaseVolumes = (safeBoxCaseVolumes) => safeBoxCaseVolumes?.length ? safeBoxCaseVolumes?.filter((_) => _?.safeBoxCases?.length) : [];
10143
- const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
10144
- const getTariffs = (safeBoxCases, selectedBoxSize) => safeBoxCases?.find((_) => _.safeBoxCasesSize === selectedBoxSize)?.tariffs;
10145
-
10146
- const SAFEBOXES_URL = `${API_BASE_URI$1}/safeboxes`;
10147
- const EMPTY_VALUE = [];
10148
- function useSafeBoxes(regionCode) {
10149
- const { data } = useAsyncData(regionCode ? `${SAFEBOXES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
10150
- return data || EMPTY_VALUE;
10151
- }
10152
- const fetchSafeBoxes = async (url) => {
10153
- const result = await fetchJSON(url, { method: 'GET' });
10154
- return result || EMPTY_VALUE;
10155
- };
10156
-
10157
- const DEFAULT_DAYS = 26;
10158
- const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest }) => {
10159
- const [showMap, setShowMap] = useState(false);
10160
- const handleShowMap = useCallback(() => setShowMap((_) => !_), []);
10161
- const [safeDepositState, setStateDepositState] = useState({
10162
- selectedRegion: '',
10163
- selectedBranch: '',
10164
- selectedCaseVolume: '',
10165
- selectedBoxSize: '',
10166
- days: DEFAULT_DAYS,
10167
- });
10168
- const regions = useRegions();
10169
- const selectedRegion = normalizeSelectedRegion(safeDepositState.selectedRegion, regions);
10170
- const branches = useSafeBoxes(selectedRegion);
10171
- const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
10172
- const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
10173
- return (jsxs(BlockWrapper, { className: className, defaultPadding: "", ...rest, children: [jsxs("div", { className: "p-4xl space-y-xl", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-s text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? (jsx(Paragraph, { size: "text-s", font: "font-light", children: footnote })) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
10174
- });
10175
- const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
10176
-
10177
9701
  const getIconTextStyle = (version) => version === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
10178
9702
 
10179
9703
  const STEPS_BLOCK_STYLE = {
@@ -10490,6 +10014,92 @@
10490
10014
  return href ? new URL(href).searchParams.get(params) : null;
10491
10015
  };
10492
10016
 
10017
+ const badgeBgStyleMap = {
10018
+ primary: 'bg-white/30',
10019
+ secondary: 'bg-main-divider',
10020
+ };
10021
+ const badgeTextColorStyleMap = {
10022
+ primary: { desktop: 'text-white', mobile: 'text-primary-text' },
10023
+ secondary: { desktop: 'text-secondary-text', mobile: 'text-secondary-text' },
10024
+ };
10025
+ const Badge = JSX(({ count, version = 'secondary' }) => {
10026
+ const isMobileMode = useMobileMode();
10027
+ const badgeBgStyle = isMobileMode ? 'bg-main-divider' : badgeBgStyleMap[version];
10028
+ const textStyle = badgeTextColorStyleMap[version][isMobileMode ? 'mobile' : 'desktop'];
10029
+ return (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyle), role: "status", "aria-label": `Количество ${count} доступных программ и сервисов`, children: jsx(Text, { size: "text-xs", color: textStyle, children: count }) }));
10030
+ });
10031
+
10032
+ const getButtonClassNames = (isActive) => ({
10033
+ btn: `w-96 ${isActive ? 'p-m border-none bg-primary-main text-white' : 'p-s ease-in duration-300 bg-white'}`,
10034
+ text: isActive ? 'mb-xs text-xl' : 'mb-2xs text-l text-primary-text',
10035
+ desc: `font-light ${isActive ? 'text-l text-white' : 'text-m text-secondary-text'}`,
10036
+ icon: isActive ? '' : 'text-primary-main',
10037
+ iconVersion: (isActive ? 'white' : 'normal'),
10038
+ oldText: 'text-m text-center',
10039
+ oldDesc: 'text-m-light',
10040
+ });
10041
+ const renderTabItemInner = ({ text, description, icon, isActive, type, }) => {
10042
+ const buttonClassNames = getButtonClassNames(isActive);
10043
+ return (jsxs("div", { className: style('cursor-pointer text-left border-b-0 flex gap-2xs'), "aria-label": text, "aria-labelledby": `${text}-label`, children: [icon ? (jsx(Img, { className: style('h-6 w-6 min-w-6 min-h-6', buttonClassNames.icon), image: {
10044
+ ...icon,
10045
+ iconVersion: icon?.iconVersion ?? buttonClassNames.iconVersion,
10046
+ }, width: "24", height: "24", alt: text })) : null, jsxs("div", { className: "border-0", children: [jsx("div", { className: type === 'animated' ? buttonClassNames.text : buttonClassNames.oldText, children: text }), jsx("div", { className: type === 'animated' ? buttonClassNames.desc : buttonClassNames.oldDesc, children: description })] })] }));
10047
+ };
10048
+
10049
+ const tabPaddingStyleMap = {
10050
+ default: 'px-xs',
10051
+ underlined: 'px-m',
10052
+ animated: 'px-m border border-gray cursor-pointer text-left border-b-0 mt-auto flex gap-2xs',
10053
+ };
10054
+ const tabTextStyle = 'text-secondary-text hover:text-primary-main';
10055
+ const activeTabTextStyleMap = {
10056
+ default: 'text-black sm:text-white',
10057
+ underlined: 'text-primary-main border-b-2',
10058
+ animated: 'text-white sm:text-white',
10059
+ };
10060
+ const tabBgStyleMap = {
10061
+ default: 'bg-white',
10062
+ underlined: 'bg-white',
10063
+ animated: 'p-1 ease-in duration-300 bg-white text-primary-text h-[70px] w-96',
10064
+ };
10065
+ const activeTabBgStyleMap = {
10066
+ default: 'bg-white sm:bg-primary-main',
10067
+ underlined: 'bg-white',
10068
+ animated: 'p-2 border-none bg-primary-main text-white h-20 w-96',
10069
+ };
10070
+ const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
10071
+ const Tag = tag;
10072
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
10073
+ const { text, description, icon, count, tabName, ...link } = item;
10074
+ return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), "aria-label": "\u0421\u043F\u0438\u0441\u043E\u043A \u0442\u0430\u0431\u043E\u0432", onClick: onClick, ...link, children: jsxs("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), role: "tab", "aria-label": `Таб ${text}`, children: [renderTabItemInner({
10075
+ text,
10076
+ description,
10077
+ icon,
10078
+ isActive,
10079
+ type,
10080
+ }), Number.isInteger(count) ? (jsx("div", { className: "ml-xs", role: "status", "aria-label": `Количество программ и сервисов ${count}`, children: jsx(Badge, { count: count, version: getVersion(isActive, type) }) })) : null] }) }));
10081
+ });
10082
+
10083
+ const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
10084
+ const LinkTabItem = JSX((props) => {
10085
+ const link = useLink();
10086
+ const handleClick = useCallback(() => {
10087
+ props.onClick && props.onClick(props.item || {});
10088
+ }, [props.onClick, props.item]);
10089
+ const { onClick, ...item } = link({ ...props.item, onClick: handleClick });
10090
+ return jsx(TabItemInner, { ...props, tag: "a", item: item, onClick: onClick });
10091
+ });
10092
+ // TODO: Update handlerDecorator (support buttons?)
10093
+ const ButtonTabItem = JSX(({ item = {}, onClick, ...rest }) => {
10094
+ const handleClick = useCallback((e) => {
10095
+ e.target.scrollIntoView({ block: 'nearest' });
10096
+ onClick?.(item);
10097
+ }, [onClick, item]);
10098
+ return jsx(TabItemInner, { item: item, onClick: handleClick, ...rest });
10099
+ });
10100
+
10101
+ const renderTab = (activeTab, onClick, type) => (tab, i) => (jsx(TabItem, { isActive: tab === activeTab, onClick: onClick, type: type, item: tab }, String(i)));
10102
+
10493
10103
  const scrollButtonStyle = 'hidden sm:flex absolute z-40';
10494
10104
  const scrollStyle = {
10495
10105
  default: {
@@ -10609,96 +10219,36 @@
10609
10219
  ? Number(paramsId)
10610
10220
  : tabs.reduce((selectedIndex, tab, i) => (tab.selected ? i : selectedIndex), 0);
10611
10221
 
10612
- const useCarouselControls = (props, initialIndex = 0) => {
10613
- const { itemCount, visibleItemCount } = props;
10614
- const [activeIndex, setActiveIndex] = useState(initialIndex);
10615
- const inc = useCallback(() => setActiveIndex((_) => Math.min(_ + 1, itemCount - 1)), [itemCount]);
10616
- const dec = useCallback(() => setActiveIndex((_) => Math.max(_ - 1, 0)), [itemCount]);
10617
- const canInc = visibleItemCount
10618
- ? itemCount > visibleItemCount && activeIndex < itemCount - visibleItemCount
10619
- : activeIndex < itemCount - 1;
10620
- const canDec = activeIndex > 0;
10621
- const isScrollAvailable = canDec || canInc;
10622
- return [
10623
- activeIndex,
10624
- {
10625
- inc,
10626
- dec,
10627
- canInc,
10628
- canDec,
10629
- isScrollAvailable,
10630
- },
10631
- ];
10632
- };
10633
-
10634
- const dividerStyle = '@4xl:border-main-divider @4xl:border-b';
10635
- const firstCellStyle = 'w-80 flex-shrink-0';
10636
- const COLS_LENGTH_FOR_SCROLL = 2;
10637
- const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
10222
+ const FIRST_CELL_STYLES = 'w-80 flex-shrink-0 sticky left-0 bg-white';
10223
+ const renderHeader = ({ title, icon }) => (jsxs("div", { className: style('flex gap-m items-center', FIRST_CELL_STYLES), role: "cell", children: [icon ? (jsx(Img, { className: "hidden lg:block max-w-6 shrink-0", image: icon, width: "24", height: "24" })) : null, title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null] }));
10638
10224
 
10639
10225
  const carouselContainerClassesMap = {
10640
10226
  comparison: 'flex gap-m duration-1000',
10641
10227
  tariff: 'flex gap-5xl flex-grow duration-1000',
10642
10228
  };
10643
- const TableCarouselContainer = JSX(({ children, activeIndex, columnWidth, version = 'comparison' }) => (jsx("div", { className: "flex flex-1 overflow-hidden", children: jsx("div", { className: carouselContainerClassesMap[version], style: { transform: `translateX(-${activeIndex * columnWidth}px)` }, children: children }) })));
10229
+ const TableCarouselContainer = JSX(({ children, version = 'comparison' }) => (jsx("div", { className: "flex flex-1", children: jsx("div", { className: carouselContainerClassesMap[version], children: children }) })));
10644
10230
 
10645
10231
  const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (jsx(DefaultFoldButton, { className: className, label: isOpen ? 'Скрыть' : 'Показать', isUnfolded: isOpen, version: "secondary", short: true, onClick: onClick })));
10646
10232
 
10647
- const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
10648
- buttonClassName: 'basis-0',
10649
- });
10650
- const renderLabelDescriptionCellData = ({ label, description }) => (jsxs("div", { className: "space-y-2xs", children: [label ? (jsx("div", { children: jsx(Text, { size: "text-h6", children: label }) })) : null, description ? (jsx("div", { className: "lg:text-l font-light text-xs", children: jsx(Text, { color: "text-secondary-text", children: description }) })) : null] }));
10651
- const renderImgCellData = ({ image }) => (image?.src ? jsx(Img, { image: image }) : null);
10652
- const renderRichTextCellData = ({ __html, isDotted = true }) => (jsx("div", { className: "flex flex-col justify-between items-start text-h6", children: jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-m" }) }));
10653
- const renderInnerTableCellData = ({ isVisible, displayTable, tableSource, pdfUrl, isOpen, }) => isVisible ? (jsx(TableInnerButton, { className: "w-fit", isOpen: isOpen, onClick: () => {
10654
- displayTable({ tableSource, pdfUrl });
10655
- } })) : null;
10656
- const EmbeddableCellData = {
10657
- Buttons: renderButtonsCellData,
10658
- Img: renderImgCellData,
10659
- RichText: renderRichTextCellData,
10660
- LabelDescription: renderLabelDescriptionCellData,
10661
- Table: renderInnerTableCellData,
10662
- };
10663
-
10664
- const RenderCellInner = JSX(({ cell, fieldIdx, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => {
10665
- const [isVisible, setVisibility] = useState(true);
10666
- useEffect(() => {
10667
- if (cellIdx !== openTableInnerIdx || !tableInner) {
10668
- setVisibility(true);
10669
- }
10670
- }, [tableInner, openTableInnerIdx]);
10671
- const displayTable = (props) => {
10672
- setVisibility(false);
10673
- setOpenTableInnerIdx(cellIdx);
10674
- setTableInner(props);
10675
- };
10676
- return renderCell({
10677
- cell,
10678
- cellProps: {
10679
- rowIdx,
10680
- cellIdx,
10681
- fieldIdx,
10682
- displayTable,
10683
- isVisible,
10684
- },
10685
- });
10686
- });
10687
- const renderCell = ({ cell, cellProps }) => {
10688
- if (!cell) {
10689
- return null;
10690
- }
10691
- const { tableCellType: type, ...rest } = cell;
10692
- if (!type || !(type in EmbeddableCellData)) {
10693
- return null;
10694
- }
10695
- const EmbeddableCellInner = EmbeddableCellData[type];
10696
- return jsx(EmbeddableCellInner, { ...cellProps, ...rest });
10697
- };
10698
-
10699
- const TariffsTableCell = JSX(({ cells, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => (jsx("div", { className: "w-80 flex-grow flex flex-col gap-m @4xl:gap-lg", role: "cell", children: cells?.length
10700
- ? cells.map((_, i) => (jsx(RenderCellInner, { cell: _, fieldIdx: i, rowIdx: rowIdx, cellIdx: cellIdx, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx }, String(i))))
10701
- : null })));
10233
+ const renderCell = ({ label, description, __html, isDotted, buttons, image }, i) => (jsxs("div", { className: "grid gap-xs", children: [renderLabel(label), renderDescription$1(description), renderRich({ __html, isDotted }), renderButtonsSection(buttons, {
10234
+ buttonClassName: 'basis-0',
10235
+ }), image?.src ? jsx(Img, { image: image }) : null] }, String(i)));
10236
+ const renderLabel = (label) => label ? (jsx("div", { children: jsx(Text, { size: "text-h6", children: label }) })) : null;
10237
+ const renderDescription$1 = (description) => description ? (jsx("div", { className: "text-l font-light", children: jsx(Text, { color: "text-secondary-text", children: description }) })) : null;
10238
+ const renderRich = ({ __html, isDotted }) => __html ? (jsx("div", { className: "flex flex-col justify-between items-start text-h6", children: jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-m" }) })) : null;
10239
+
10240
+ const TariffsTableCell = JSX(({ cells, tableInner, onSetTable }) => {
10241
+ return (jsx("div", { className: "w-80 flex-grow flex flex-col gap-lg", role: "cell", children: cells?.length
10242
+ ? cells.map((_, i) => {
10243
+ if (_?.tableSource?.tableData) {
10244
+ return (jsx(TableInnerButton, { className: "w-fit", isOpen: Boolean(tableInner), onClick: () => {
10245
+ onSetTable(tableInner ? undefined : { tableSource: _.tableSource });
10246
+ } }, String(i)));
10247
+ }
10248
+ return renderCell(_, i);
10249
+ })
10250
+ : null }));
10251
+ });
10702
10252
 
10703
10253
  const sum = (list = []) => list.reduce((a, b) => a + b, 0);
10704
10254
 
@@ -10711,7 +10261,7 @@
10711
10261
  }
10712
10262
  const [headerColumn, ...columns] = rowData;
10713
10263
  const columnsStyle = style('flex duration-1000 text-center', rowIdx !== 0 ? 'font-normal' : 'font-light');
10714
- return (jsxs("div", { className: "flex border-main-divider border-b border-solid h-full", children: [headerColumn?.data ? (jsx("div", { className: "whitespace-pre-wrap sm:whitespace-normal w-48 sm:w-56 sm:min-w-56 py-lg pr-lg sm:pr-0", children: jsx(Text, { size: "text-xl", font: "font-light", children: headerColumn.data }) })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsStyle, style: {
10264
+ return (jsxs("div", { className: "flex border-main-divider border-b border-solid h-full", children: [headerColumn?.data ? (jsx("div", { className: "whitespace-pre-wrap sm:whitespace-normal w-48 min-w-48 sm:w-56 sm:min-w-56 py-lg pr-lg sm:pr-0", children: jsx(Text, { size: "text-xl", font: "font-light", children: headerColumn.data }) })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsStyle, style: {
10715
10265
  transform: `translateX(-${getHorizontalShift(columns, activeColumnIndex)}px)`,
10716
10266
  }, children: columns?.map((_, i) => (jsxs("div", { className: "flex flex-col flex-grow gap-s justify-center py-xl odd:bg-main-divider", children: [_?.data ? jsx(Text, { size: "text-xl", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
10717
10267
  };
@@ -10719,12 +10269,10 @@
10719
10269
 
10720
10270
  const InnerTableBodyItem = JSX(({ rows }) => (jsx(SwipeListContainer, { visibleItemCount: 0, snapAlign: "snap-start", children: jsx("div", { children: rows?.map(renderInnerTableRow(0)) }) })));
10721
10271
 
10722
- const InnerTableBody = JSX(({ activeTabIndex, items }) => {
10723
- return (jsx("div", { children: items.map((_, tableIdx) => {
10724
- const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
10725
- return (jsxs("div", { className: "w-full @container", children: [jsx("div", { className: "flex py-m sm:px-m bg-white @4xl:bg-gray relative", children: jsx(Text, { size: "text-xl", align: "text-left", children: _.title }) }), jsx("div", { className: "w-full sm:pl-xs overflow-hidden transition-height duration-500 ease-in-out", children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
10726
- }) }));
10727
- });
10272
+ const InnerTableBody = JSX(({ activeTabIndex, items }) => (jsx("div", { children: items.map((_, tableIdx) => {
10273
+ const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
10274
+ return (jsxs("div", { className: "w-full @container", children: [jsx("div", { className: "flex py-m px-m bg-white @4xl:bg-gray relative", children: jsx(Text, { size: "text-xl", align: "text-left", children: _.title }) }), jsx("div", { className: "w-full sm:pl-xs overflow-hidden transition-height duration-500 ease-in-out", children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
10275
+ }) })));
10728
10276
 
10729
10277
  const linkButtonVersion = 'link';
10730
10278
 
@@ -10734,68 +10282,44 @@
10734
10282
  }), onClick: () => setActiveTabIndex(idx), children: jsx(Text, { size: "text-xl", font: "font-light", color: TableColor(idx === activeTabIndex), children: currency || idx + 1 }) }, currency))) })) : null, linkToPDF ? (jsx(LinkButton, { className: "text-primary-main", href: linkToPDF, version: linkButtonVersion, target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
10735
10283
 
10736
10284
  const EMPTY_DATA$1 = 'Данных нет';
10737
- const InnerTable = UniBlock(({ tableSource, pdfUrl, onClick }) => {
10285
+ const InnerTable = UniBlock(({ tableSource }) => {
10738
10286
  const tableData = tableSource?.tableData;
10739
10287
  const [activeTabIndex, setActiveTabIndex] = useState(0);
10740
10288
  const handleActiveTabIndex = useCallback((_) => setActiveTabIndex(_), []);
10741
10289
  const items = tableData?.[activeTabIndex]?.items ?? [];
10742
10290
  const currencies = tableData?.map((item) => item.currency ?? '');
10743
- return tableData ? (jsxs("div", { className: "bg-white z-10", children: [jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex, linkToPDF: pdfUrl }), jsx(InnerTableBody, { activeTabIndex: activeTabIndex, items: items }), jsx(TableInnerButton, { className: "mt-xl", onClick: onClick, isOpen: true })] })) : (jsxs("div", { className: "my-lg space-y-m text-center", children: [jsx(Text, { size: "text-h6", children: EMPTY_DATA$1 }), jsx(TableInnerButton, { onClick: onClick, isOpen: true })] }));
10291
+ return tableData ? (jsxs("div", { className: "bg-white z-10", children: [jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex }), jsx(InnerTableBody, { activeTabIndex: activeTabIndex, items: items })] })) : (jsx("div", { className: "space-y-m text-center", children: jsx(Text, { size: "text-h6", children: EMPTY_DATA$1 }) }));
10744
10292
  });
10745
10293
 
10746
- const TariffsTableRowContainer = JSX(({ children, tableInner, onHideContentClick }) => (jsxs("div", { className: "self-start flex flex-col", role: "row", children: [jsx("div", { className: style(dividerStyle, 'flex flex-col @4xl:flex-row gap-y-xs gap-x-5xl pb-lg @4xl:pt-lg'), children: children }), tableInner ? (jsx("div", { className: "origin-top animate-expansion", children: jsx(InnerTable, { ...tableInner, onClick: onHideContentClick }) })) : null] })));
10294
+ const DIVIDER_STYLE = 'border-main-divider lg:border-b w-full py-s lg:py-xl';
10295
+ const TariffsTableRowContainer = JSX(({ children, tableInner, onClick }) => (jsxs("div", { className: style('self-start flex flex-col gap-xl', DIVIDER_STYLE), role: "row", children: [jsx("div", { className: style('flex flex-col lg:flex-row gap-x-5xl gap-y-xs'), children: children }), tableInner ? (jsx("div", { className: "origin-top animate-expansion", children: jsx(InnerTable, { ...tableInner, onClick: onClick }) })) : null] })));
10747
10296
 
10748
- const TariffsTableRow = JSX(({ row: { header, data }, activeIndex, rowIdx, ...rest }) => {
10297
+ const TariffsTableRow = JSX(({ row: { header, data = [] }, ...rest }) => {
10749
10298
  const [tableInner, setTableInner] = useState(undefined);
10750
- const handleSetTableInner = useCallback((_) => setTableInner(_), []);
10751
- const [openTableInnerIdx, setOpenTableInnerIdx] = useState(undefined);
10752
- const handleOpenTableInnerIdx = useCallback((_) => setOpenTableInnerIdx(_), []);
10753
- const onHideContentClick = () => setTableInner(undefined);
10754
- return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: style('text-s', firstCellStyle), children: jsxs("div", { className: "flex gap-m items-center", role: "cell", children: [header?.icon ? (jsx(Img, { className: "hidden @4xl:block max-w-6 shrink-0", image: header.icon, width: "24", height: "24" })) : null, header?.title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: header?.title })) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
10299
+ const handleSetTableInner = useCallback((_) => {
10300
+ setTableInner(_);
10301
+ }, []);
10302
+ return (jsxs(TariffsTableRowContainer, { tableInner: tableInner, ...rest, children: [renderHeader(header), data?.length ? (jsx(TableCarouselContainer, { version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, onSetTable: handleSetTableInner, tableInner: tableInner, ...rest }, String(i)))) })) : null] }));
10755
10303
  });
10756
10304
 
10757
- /** @deprecated */
10758
- const renderArrows = ({ className, btnClass, canDec, canInc, dec, inc, }) => canDec || canInc ? (jsxs("div", { children: [canDec ? (jsx(ArrowLeftButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[0], className), onClick: dec })) : null, canInc ? (jsx(ArrowRightButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[1], className), onClick: inc })) : null] })) : null;
10759
-
10760
- const TariffsTableWrapper = JSX(({ children, controls }) => {
10761
- const { isScrollAvailable } = controls;
10762
- return (jsxs("div", { role: "table", className: "overflow-x-auto w-auto grid md:block", children: [jsxs("div", { className: "relative space-y-xs", children: [children, renderArrows({
10763
- ...controls,
10764
- btnClass: ['top-28', 'top-11'],
10765
- className: 'right-7',
10766
- })] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-20 bg-opacity-to-white" })) : null] }));
10767
- });
10305
+ const TariffsTableWrapper = JSX(({ children }) => (jsx("div", { role: "table", className: "overflow-x-auto w-auto grid relative gap-y-xs", children: children })));
10768
10306
 
10769
- const TariffsTable = JSX(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
10307
+ const TariffsTable = UniBlock(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
10770
10308
  const colData = columns?.map(({ data }) => data) || [];
10771
10309
  const rowData = rowHeaders?.map((header, i) => ({
10772
10310
  header,
10773
10311
  data: colData.map((col) => col?.[i] || []),
10774
10312
  }));
10775
- const itemCount = colData.length;
10776
- const [activeIndex, controls] = useCarouselControls({
10777
- itemCount: itemCount,
10778
- visibleItemCount: COLS_LENGTH_FOR_SCROLL,
10779
- });
10780
- const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
10313
+ const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, ...rest }, String(i))));
10781
10314
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
10782
10315
  const [isUnfolded, { toggle }] = useBool(false);
10783
- return (jsxs(BlockWrapper, { className: style('relative space-y-6xl @4xl:space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-center" }), jsx("div", { className: "space-y-m overflow-hidden", children: hiddenRowsNum > 0 ? (jsxs(Foldable, { children: [jsxs(TariffsTableWrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] }), jsx(DefaultFoldButton, { className: "text-h4", isUnfolded: isUnfolded, onClick: toggle })] })) : (jsx(TariffsTableWrapper, { controls: controls, children: rows })) })] }));
10316
+ return (jsxs(BlockWrapper, { className: style('relative space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-center" }), jsx("div", { className: "space-y-m overflow-hidden", children: hiddenRowsNum > 0 ? (jsxs(Foldable, { children: [jsxs(TariffsTableWrapper, { children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] }), jsx(DefaultFoldButton, { className: "text-h4", isUnfolded: isUnfolded, onClick: toggle })] })) : (jsx(TariffsTableWrapper, { children: rows })) })] }));
10784
10317
  });
10785
10318
 
10786
10319
  const TextBlock = JSX(({ className = '', title, description, iconVersion, __html, richVersion, ...rest }) => (jsxs(BlockWrapper, { className: style('flex gap-s sm:gap-m group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? renderIcon() : null, jsxs("div", { className: "flex flex-col w-fit gap-2xs sm:gap-xs", children: [title ? (jsx(Text, { size: "text-l", font: "font-normal", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, __html ? jsx(RichText, { richVersion: richVersion, __html: __html }) : null] })] })));
10787
10320
  const renderIcon = () => (jsx("div", { className: "rounded-full h-4 w-4 text-center text-xs font-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main", children: "i" }));
10788
10321
  const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text group-data-secondary:text-white", children: description }));
10789
10322
 
10790
- const Unit = JSX(({ prefix, unit, suffix }) => (jsxs("div", { className: "w-full flex items-end", children: [prefix ? (jsx("div", { className: "gradient-color-text", children: jsx(Text, { size: "text-h2", children: prefix }) })) : null, unit ? (
10791
- // -mb-n добавлен для выравнивания unit относительно prefix и suffix, тк шрифт font-mohave неправильно высчитывает line-height
10792
- jsx("div", { className: "-mb-6 @xl:-mb-4", children: jsx("span", { className: "font-mohave text-title-large sm:text-title-extra gradient-color-text", children: unit }) })) : null, suffix ? (jsx("div", { className: "gradient-color-text", children: jsx(Text, { size: "text-h2", children: suffix }) })) : null] })));
10793
-
10794
- const UnitBlock = JSX((props) => {
10795
- const { prefix, unit, suffix, ...rest } = props;
10796
- return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(Unit, { prefix: prefix, unit: unit, suffix: suffix }) }));
10797
- });
10798
-
10799
10323
  const Blocks = {
10800
10324
  AdTile,
10801
10325
  ApplicationForm,
@@ -10810,15 +10334,11 @@
10810
10334
  CalculatorRefinancing,
10811
10335
  CardTransfer,
10812
10336
  Carousel,
10813
- CarouselCard,
10814
10337
  CarouselCatalogCard,
10815
- CarouselLinks,
10816
10338
  CarouselRecommendationCard,
10817
10339
  CarouselTariffsCard,
10818
10340
  DepositFiltration,
10819
- Depository,
10820
10341
  ErrorBlock,
10821
- ExchangeRateTile,
10822
10342
  Footer,
10823
10343
  GalleryLayout,
10824
10344
  GrantSupport,
@@ -10828,21 +10348,15 @@
10828
10348
  ImgBlock,
10829
10349
  LinkDocs,
10830
10350
  MobileAppTile,
10831
- MortgageFiltration,
10832
10351
  OfficesAtmsMap,
10833
- Placeholder,
10834
10352
  ProductBlock,
10835
- ProductGallery,
10836
- RepresentativeOfficeInfo,
10837
10353
  RichTextBlock,
10838
10354
  RollupItem,
10839
- SafeDepositRental,
10840
10355
  StepsBlock,
10841
10356
  StickyBottomMenu,
10842
10357
  TabsLayout,
10843
10358
  TariffsTable,
10844
10359
  TextBlock,
10845
- UnitBlock,
10846
10360
  VerticalLayout,
10847
10361
  ApplicationLeadForm,
10848
10362
  CreditCardForm,
@@ -10968,7 +10482,7 @@
10968
10482
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10969
10483
  });
10970
10484
 
10971
- const packageVersion = "0.16.3";
10485
+ const packageVersion = "0.14.856";
10972
10486
 
10973
10487
  exports.Blocks = Blocks;
10974
10488
  exports.ContentPage = ContentPage;