@redneckz/wildless-cms-uni-blocks 0.16.3-isr → 0.16.5-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 (3875) 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 +954 -1533
  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/saveReferalInfo.d.ts +7 -0
  81. package/bundle/retail/api/updateUserTask.d.ts +1 -1
  82. package/bundle/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  83. package/bundle/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  84. package/bundle/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  85. package/bundle/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  86. package/bundle/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  87. package/bundle/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  88. package/bundle/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  89. package/bundle/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  90. package/bundle/retail/components/Fields/SelectField.d.ts +4 -4
  91. package/bundle/retail/components/FormStatus/FormStatus.d.ts +2 -4
  92. package/bundle/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  93. package/bundle/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  94. package/bundle/retail/content.d.ts +2 -8
  95. package/bundle/retail/inputs.d.ts +1 -1
  96. package/bundle/retail/model/LeadFormData.d.ts +2 -2
  97. package/bundle/retail/model/LeadFormState.d.ts +7 -2
  98. package/bundle/retail/model/NameFieldDef.d.ts +1 -1
  99. package/bundle/retail/model/RetailFormContent.d.ts +2 -2
  100. package/bundle/retail/utils/getMainFormStateMap.d.ts +2 -0
  101. package/bundle/retail/utils/getOrganizationParams.d.ts +1 -1
  102. package/bundle/retail/validator/validators.d.ts +1 -0
  103. package/bundle/services/search/search.d.ts +2 -2
  104. package/bundle/services/search/textRank.d.ts +1 -1
  105. package/bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  106. package/bundle/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  107. package/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  108. package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  109. package/bundle/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  110. package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  111. package/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  112. package/bundle/ui-kit/Button/Button.d.ts +3 -3
  113. package/bundle/ui-kit/Button/ButtonTitle.d.ts +2 -5
  114. package/bundle/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  115. package/bundle/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  116. package/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  117. package/bundle/ui-kit/Calculator/renderRate.d.ts +2 -2
  118. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  119. package/bundle/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  120. package/bundle/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  121. package/bundle/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  122. package/bundle/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  123. package/bundle/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  124. package/bundle/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  125. package/bundle/ui-kit/DialogManager/Dialog.d.ts +3 -3
  126. package/bundle/ui-kit/DialogManager/useDialog.d.ts +2 -3
  127. package/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  128. package/bundle/ui-kit/Foldable/Foldable.d.ts +2 -2
  129. package/bundle/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  130. package/bundle/ui-kit/Heading/HeadingProps.d.ts +2 -3
  131. package/bundle/ui-kit/Icon/IconProps.d.ts +2 -2
  132. package/bundle/ui-kit/Img/ImgProps.d.ts +2 -2
  133. package/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  134. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  135. package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  136. package/bundle/ui-kit/Input/InputProps.d.ts +4 -2
  137. package/bundle/ui-kit/Input/InputWrapper.d.ts +8 -0
  138. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  139. package/bundle/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  140. package/bundle/ui-kit/Link/Link.d.ts +2 -2
  141. package/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  142. package/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  143. package/bundle/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  144. package/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  145. package/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  146. package/bundle/ui-kit/ListControlProps.d.ts +1 -1
  147. package/bundle/ui-kit/Loader/Loader.d.ts +1 -1
  148. package/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  149. package/bundle/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  150. package/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  151. package/bundle/ui-kit/Radio/RadioProps.d.ts +3 -4
  152. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  153. package/bundle/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  154. package/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  155. package/bundle/ui-kit/SVG.d.ts +2 -2
  156. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  157. package/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  158. package/bundle/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  159. package/bundle/ui-kit/Select/Option.d.ts +1 -1
  160. package/bundle/ui-kit/Select/Select.d.ts +1 -2
  161. package/bundle/ui-kit/Select/SelectPopup.d.ts +2 -3
  162. package/bundle/ui-kit/Select/useSelectPopup.d.ts +2 -2
  163. package/bundle/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  164. package/bundle/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  165. package/bundle/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  166. package/bundle/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  167. package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  168. package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  169. package/bundle/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  170. package/bundle/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  171. package/bundle/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  172. package/bundle/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  173. package/bundle/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  174. package/bundle/ui-kit/Tags/Tags.d.ts +2 -2
  175. package/bundle/ui-kit/TimerCircle/Timer.d.ts +2 -2
  176. package/bundle/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  177. package/bundle/ui-kit/TopItem/TopItem.d.ts +3 -3
  178. package/bundle/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  179. package/dist/UniBlock/UniBlockProps.d.ts +2 -2
  180. package/dist/components/ApplicationForm/Footnote.d.ts +1 -1
  181. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  182. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +5 -10
  183. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  184. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  185. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js +7 -0
  186. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  187. package/dist/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  188. package/dist/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
  189. package/dist/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
  190. package/dist/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  191. package/dist/components/ApplicationLeadForm/applicationFormData.js +0 -1
  192. package/dist/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  193. package/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
  194. package/dist/components/ApplicationLeadForm/consents.js +0 -4
  195. package/dist/components/ApplicationLeadForm/consents.js.map +1 -1
  196. package/dist/components/ApplicationLeadForm/getInitialFormState.js +3 -0
  197. package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  198. package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +3 -2
  199. package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  200. package/dist/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
  201. package/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  202. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +15 -3
  203. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  204. package/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  205. package/dist/components/ApplicationLeadForm/useInitApplicationLead.js +18 -4
  206. package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  207. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  208. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  209. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  210. package/dist/components/Blocks.js +0 -26
  211. package/dist/components/Blocks.js.map +1 -1
  212. package/dist/components/Blocks.mobile.js +0 -20
  213. package/dist/components/Blocks.mobile.js.map +1 -1
  214. package/dist/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  215. package/dist/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
  216. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  217. package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  218. package/dist/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  219. package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  220. package/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  221. package/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  222. package/dist/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  223. package/dist/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
  224. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  225. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  226. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  227. package/dist/components/CardTransfer/CardTransfer.js +1 -8
  228. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  229. package/dist/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  230. package/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
  231. package/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  232. package/dist/components/Carousel/renderCardHighlight.d.ts +3 -4
  233. package/dist/components/Carousel/renderCardHighlight.js.map +1 -1
  234. package/dist/components/Carousel/renderCarouselCards.js +2 -2
  235. package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  236. package/dist/components/ContentPage/ContentPage.d.ts +2 -2
  237. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  238. package/dist/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
  239. package/dist/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
  240. package/dist/components/CreditCardForm/creditCardFormStepsData.js +245 -3
  241. package/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
  242. package/dist/components/CreditCardForm/formStateMap.js +2 -2
  243. package/dist/components/CreditCardForm/formStateMap.js.map +1 -1
  244. package/dist/components/CreditForm/CreditForm.js +1 -2
  245. package/dist/components/CreditForm/CreditForm.js.map +1 -1
  246. package/dist/components/CreditForm/SuccessStatusContent.js +1 -1
  247. package/dist/components/CreditForm/SuccessStatusContent.js.map +1 -1
  248. package/dist/components/CreditForm/creditFormStepsData.js +192 -3
  249. package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
  250. package/dist/components/CreditForm/formStateMap.js +2 -2
  251. package/dist/components/CreditForm/formStateMap.js.map +1 -1
  252. package/dist/components/CreditForm/getCalcData.js +1 -1
  253. package/dist/components/CreditForm/getCalcData.js.map +1 -1
  254. package/dist/components/CreditForm/useCreditFormAPI.js +1 -1
  255. package/dist/components/DebitForm/DebitFormStatus.d.ts +2 -4
  256. package/dist/components/DebitForm/DebitFormStatus.js.map +1 -1
  257. package/dist/components/DebitForm/DebitFormStepsData.js +71 -3
  258. package/dist/components/DebitForm/DebitFormStepsData.js.map +1 -1
  259. package/dist/components/Footer/Contacts.d.ts +2 -2
  260. package/dist/components/Footer/Contacts.js.map +1 -1
  261. package/dist/components/Footer/FooterLink.d.ts +2 -2
  262. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  263. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  264. package/dist/components/Footer/LinkList.d.ts +2 -2
  265. package/dist/components/Footer/LinkList.js.map +1 -1
  266. package/dist/components/Footer/SocialMedia.d.ts +2 -2
  267. package/dist/components/Footer/SocialMedia.js.map +1 -1
  268. package/dist/components/Footer/TextInformationLink.js +1 -1
  269. package/dist/components/Footer/TextInformationLink.js.map +1 -1
  270. package/dist/components/GalleryLayout/GalleryLayout.js +13 -28
  271. package/dist/components/GalleryLayout/GalleryLayout.js.map +1 -1
  272. package/dist/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  273. package/dist/components/GalleryLayout/useSortProductBlocks.js +21 -0
  274. package/dist/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
  275. package/dist/components/GalleryLayout/utils.d.ts +29 -0
  276. package/dist/components/GalleryLayout/utils.js +29 -0
  277. package/dist/components/GalleryLayout/utils.js.map +1 -0
  278. package/dist/components/Header/DropdownMenu.d.ts +2 -2
  279. package/dist/components/Header/DropdownMenu.js.map +1 -1
  280. package/dist/components/Header/HeaderChatBotButton.d.ts +2 -3
  281. package/dist/components/Header/HeaderChatBotButton.js +15 -4
  282. package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  283. package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  284. package/dist/components/Header/HeaderSecondaryMenu.js +1 -2
  285. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  286. package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  287. package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  288. package/dist/components/Header/HeaderSubMenu.js +1 -1
  289. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  290. package/dist/components/Header/HeaderSubMenuItem.d.ts +2 -2
  291. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  292. package/dist/components/Header/HeaderTop.js +1 -1
  293. package/dist/components/Header/HeaderTop.js.map +1 -1
  294. package/dist/components/Header/HeaderTopMenu.d.ts +2 -2
  295. package/dist/components/Header/HeaderTopMenu.js +1 -1
  296. package/dist/components/Header/HeaderTopMenu.js.map +1 -1
  297. package/dist/components/Header/HeaderTopMenuItem.d.ts +2 -2
  298. package/dist/components/Header/HeaderTopMenuItem.js.map +1 -1
  299. package/dist/components/Headline/Headline.js +1 -1
  300. package/dist/components/Headline/Headline.js.map +1 -1
  301. package/dist/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  302. package/dist/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
  303. package/dist/components/OfficesAtmsMap/Badge.d.ts +2 -2
  304. package/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
  305. package/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  306. package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
  307. package/dist/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  308. package/dist/components/OfficesAtmsMap/CardRow.js.map +1 -1
  309. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
  310. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  311. package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  312. package/dist/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  313. package/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  314. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  315. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  316. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  317. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  318. package/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  319. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  320. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  321. package/dist/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  322. package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  323. package/dist/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  324. package/dist/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
  325. package/dist/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  326. package/dist/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
  327. package/dist/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  328. package/dist/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
  329. package/dist/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  330. package/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
  331. package/dist/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  332. package/dist/components/TariffsTable/TableCarouselContainer.js +1 -1
  333. package/dist/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  334. package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  335. package/dist/components/TariffsTable/TariffsTable.js +4 -11
  336. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  337. package/dist/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  338. package/dist/components/TariffsTable/TariffsTableCell.js +14 -4
  339. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  340. package/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  341. package/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  342. package/dist/components/TariffsTable/TariffsTableRow.js +6 -10
  343. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  344. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  345. package/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
  346. package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  347. package/dist/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  348. package/dist/components/TariffsTable/TariffsTableWrapper.js +1 -9
  349. package/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  350. package/dist/components/TariffsTable/dataFixture.js +1 -14
  351. package/dist/components/TariffsTable/dataFixture.js.map +1 -1
  352. package/dist/components/TariffsTable/renderCell.d.ts +2 -0
  353. package/dist/components/TariffsTable/renderCell.js +15 -0
  354. package/dist/components/TariffsTable/renderCell.js.map +1 -0
  355. package/dist/components/TariffsTable/renderHeader.d.ts +2 -0
  356. package/dist/components/TariffsTable/renderHeader.js +10 -0
  357. package/dist/components/TariffsTable/renderHeader.js.map +1 -0
  358. package/dist/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  359. package/dist/components/TariffsTable/renderInnerTableCell.js +1 -0
  360. package/dist/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  361. package/dist/data/CommonData.d.ts +4 -4
  362. package/dist/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  363. package/dist/hooks/useAspects/aspects/forwardQuery.js +1 -1
  364. package/dist/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
  365. package/dist/hooks/useAspects/handleAspects.d.ts +1 -1
  366. package/dist/hooks/useAspects/handleAspects.js +5 -2
  367. package/dist/hooks/useAspects/handleAspects.js.map +1 -1
  368. package/dist/hooks/useAspects/useAspects.d.ts +1 -1
  369. package/dist/hooks/useForm/useForm.d.ts +1 -1
  370. package/dist/hooks/useLink.js +2 -1
  371. package/dist/hooks/useLink.js.map +1 -1
  372. package/dist/model/CommonInputProps.d.ts +7 -0
  373. package/dist/model/CommonInputProps.js +2 -0
  374. package/dist/model/CommonInputProps.js.map +1 -0
  375. package/dist/model/ComponentType.d.ts +4 -0
  376. package/dist/model/ComponentType.js +2 -0
  377. package/dist/model/ComponentType.js.map +1 -0
  378. package/dist/model/ContentPageBase.d.ts +2 -3
  379. package/dist/model/ControlProps.js.map +1 -0
  380. package/dist/model/DefaultControlType.d.ts +5 -5
  381. package/dist/model/DisabledProps.d.ts +3 -0
  382. package/dist/model/DisabledProps.js +2 -0
  383. package/dist/model/DisabledProps.js.map +1 -0
  384. package/dist/model/LinkProps.d.ts +1 -1
  385. package/dist/model/OnClickProps.d.ts +3 -0
  386. package/dist/model/OnClickProps.js +2 -0
  387. package/dist/model/OnClickProps.js.map +1 -0
  388. package/dist/model/OnCloseProps.d.ts +3 -0
  389. package/dist/model/OnCloseProps.js +2 -0
  390. package/dist/model/OnCloseProps.js.map +1 -0
  391. package/dist/model/Picture.d.ts +2 -2
  392. package/dist/model/PlaceholderProps.d.ts +3 -0
  393. package/dist/model/PlaceholderProps.js +2 -0
  394. package/dist/model/PlaceholderProps.js.map +1 -0
  395. package/dist/model/onClick.d.ts +3 -0
  396. package/dist/model/onClick.js +2 -0
  397. package/dist/model/onClick.js.map +1 -0
  398. package/dist/model/onClose.d.ts +3 -0
  399. package/dist/model/onClose.js +2 -0
  400. package/dist/model/onClose.js.map +1 -0
  401. package/dist/retail/adaptors/getCreditFormTaskData.js +0 -3
  402. package/dist/retail/adaptors/getCreditFormTaskData.js.map +1 -1
  403. package/dist/retail/adaptors/getEmploymentData.js +3 -3
  404. package/dist/retail/adaptors/getEmploymentData.js.map +1 -1
  405. package/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
  406. package/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  407. package/dist/retail/adaptors/getPersonalInfoData.js +4 -2
  408. package/dist/retail/adaptors/getPersonalInfoData.js.map +1 -1
  409. package/dist/retail/api/getCardTypes.d.ts +2 -2
  410. package/dist/retail/api/getCardTypes.js.map +1 -1
  411. package/dist/retail/api/saveReferalInfo.d.ts +7 -0
  412. package/dist/retail/api/saveReferalInfo.js +6 -0
  413. package/dist/retail/api/saveReferalInfo.js.map +1 -0
  414. package/dist/retail/api/updateUserTask.d.ts +1 -1
  415. package/dist/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  416. package/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  417. package/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  418. package/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  419. package/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
  420. package/dist/retail/components/DaDataInputControl/DaDataInputControl.js +3 -18
  421. package/dist/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
  422. package/dist/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  423. package/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  424. package/dist/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  425. package/dist/retail/components/DraftDialog/DraftActionButton.js +1 -1
  426. package/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  427. package/dist/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  428. package/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
  429. package/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  430. package/dist/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  431. package/dist/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
  432. package/dist/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  433. package/dist/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
  434. package/dist/retail/components/Fields/BeginDateField.js +1 -1
  435. package/dist/retail/components/Fields/BeginDateField.js.map +1 -1
  436. package/dist/retail/components/Fields/DaDataInnField.js +10 -3
  437. package/dist/retail/components/Fields/DaDataInnField.js.map +1 -1
  438. package/dist/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  439. package/dist/retail/components/Fields/InitiateBankruptcyFlgField.js +7 -0
  440. package/dist/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
  441. package/dist/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
  442. package/dist/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
  443. package/dist/retail/components/Fields/RegionRetailField.js +8 -3
  444. package/dist/retail/components/Fields/RegionRetailField.js.map +1 -1
  445. package/dist/retail/components/Fields/SelectField.d.ts +4 -4
  446. package/dist/retail/components/Fields/SelectField.js.map +1 -1
  447. package/dist/retail/components/FormStatus/FormStatus.d.ts +2 -4
  448. package/dist/retail/components/FormStatus/FormStatus.js.map +1 -1
  449. package/dist/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  450. package/dist/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
  451. package/dist/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
  452. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  453. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  454. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  455. package/dist/retail/content.d.ts +2 -8
  456. package/dist/retail/content.js +3 -351
  457. package/dist/retail/content.js.map +1 -1
  458. package/dist/retail/inputs.d.ts +1 -1
  459. package/dist/retail/inputs.js +2 -1
  460. package/dist/retail/inputs.js.map +1 -1
  461. package/dist/retail/model/LeadFormData.d.ts +2 -2
  462. package/dist/retail/model/LeadFormState.d.ts +7 -2
  463. package/dist/retail/model/NameFieldDef.d.ts +1 -1
  464. package/dist/retail/model/RetailFormContent.d.ts +2 -2
  465. package/dist/retail/utils/calculateInputs.js +2 -0
  466. package/dist/retail/utils/calculateInputs.js.map +1 -1
  467. package/dist/retail/utils/getMainFormStateMap.d.ts +2 -0
  468. package/dist/retail/utils/getMainFormStateMap.js +70 -0
  469. package/dist/retail/utils/getMainFormStateMap.js.map +1 -0
  470. package/dist/retail/utils/getOrganizationParams.d.ts +1 -1
  471. package/dist/retail/utils/getOrganizationParams.js.map +1 -1
  472. package/dist/retail/utils/renderStep.js +7 -1
  473. package/dist/retail/utils/renderStep.js.map +1 -1
  474. package/dist/retail/validator/validatorObj.js +2 -2
  475. package/dist/retail/validator/validatorObj.js.map +1 -1
  476. package/dist/retail/validator/validators.d.ts +1 -0
  477. package/dist/retail/validator/validators.js +3 -1
  478. package/dist/retail/validator/validators.js.map +1 -1
  479. package/dist/services/search/search.d.ts +2 -2
  480. package/dist/services/search/search.js.map +1 -1
  481. package/dist/services/search/textRank.d.ts +1 -1
  482. package/dist/services/search/textRank.js.map +1 -1
  483. package/dist/services/search/useSearch.js +8 -5
  484. package/dist/services/search/useSearch.js.map +1 -1
  485. package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  486. package/dist/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  487. package/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  488. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  489. package/dist/ui-kit/BaseTile/BaseTile.js +1 -1
  490. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  491. package/dist/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  492. package/dist/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
  493. package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  494. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  495. package/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  496. package/dist/ui-kit/Button/Button.d.ts +3 -3
  497. package/dist/ui-kit/Button/Button.js.map +1 -1
  498. package/dist/ui-kit/Button/ButtonTitle.d.ts +2 -5
  499. package/dist/ui-kit/Button/ButtonTitle.js.map +1 -1
  500. package/dist/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  501. package/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
  502. package/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  503. package/dist/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  504. package/dist/ui-kit/Calculator/UnknownRate.js.map +1 -1
  505. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  506. package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  507. package/dist/ui-kit/Calculator/renderRate.d.ts +2 -2
  508. package/dist/ui-kit/Calculator/renderRate.js.map +1 -1
  509. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  510. package/dist/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  511. package/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
  512. package/dist/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  513. package/dist/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
  514. package/dist/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  515. package/dist/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  516. package/dist/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  517. package/dist/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
  518. package/dist/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  519. package/dist/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
  520. package/dist/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  521. package/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
  522. package/dist/ui-kit/DialogManager/Dialog.d.ts +3 -3
  523. package/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
  524. package/dist/ui-kit/DialogManager/useDialog.d.ts +2 -3
  525. package/dist/ui-kit/DialogManager/useDialog.js.map +1 -1
  526. package/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  527. package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  528. package/dist/ui-kit/Foldable/Foldable.d.ts +2 -2
  529. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  530. package/dist/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  531. package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
  532. package/dist/ui-kit/FormField/getObjectValidator.js +1 -1
  533. package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  534. package/dist/ui-kit/Heading/HeadingProps.d.ts +2 -3
  535. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  536. package/dist/ui-kit/Icon/IconProps.d.ts +2 -2
  537. package/dist/ui-kit/Img/ImgProps.d.ts +2 -2
  538. package/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  539. package/dist/ui-kit/InnerTable/InnerTable.js +2 -3
  540. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  541. package/dist/ui-kit/InnerTable/InnerTableBody.js +4 -6
  542. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  543. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  544. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  545. package/dist/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  546. package/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  547. package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  548. package/dist/ui-kit/Input/InputControl.js +3 -19
  549. package/dist/ui-kit/Input/InputControl.js.map +1 -1
  550. package/dist/ui-kit/Input/InputProps.d.ts +4 -2
  551. package/dist/ui-kit/Input/InputWrapper.d.ts +8 -0
  552. package/dist/ui-kit/Input/InputWrapper.js +25 -0
  553. package/dist/ui-kit/Input/InputWrapper.js.map +1 -0
  554. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  555. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  556. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  557. package/dist/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  558. package/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  559. package/dist/ui-kit/Link/Link.d.ts +2 -2
  560. package/dist/ui-kit/Link/Link.js.map +1 -1
  561. package/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
  562. package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  563. package/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  564. package/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  565. package/dist/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  566. package/dist/ui-kit/LinkButton/renderArrows.js.map +1 -1
  567. package/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  568. package/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
  569. package/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  570. package/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  571. package/dist/ui-kit/ListControlProps.d.ts +1 -1
  572. package/dist/ui-kit/Loader/Loader.d.ts +1 -1
  573. package/dist/ui-kit/Loader/Loader.js.map +1 -1
  574. package/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  575. package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  576. package/dist/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  577. package/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  578. package/dist/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  579. package/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  580. package/dist/ui-kit/Radio/RadioProps.d.ts +3 -4
  581. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  582. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  583. package/dist/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  584. package/dist/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
  585. package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  586. package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  587. package/dist/ui-kit/SVG.d.ts +2 -2
  588. package/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  589. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  590. package/dist/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  591. package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  592. package/dist/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  593. package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  594. package/dist/ui-kit/Select/Option.d.ts +1 -1
  595. package/dist/ui-kit/Select/Select.d.ts +1 -2
  596. package/dist/ui-kit/Select/Select.js.map +1 -1
  597. package/dist/ui-kit/Select/SelectPopup.d.ts +2 -3
  598. package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
  599. package/dist/ui-kit/Select/useSelectPopup.d.ts +2 -2
  600. package/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
  601. package/dist/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  602. package/dist/ui-kit/Shimmer/Shimmer.js.map +1 -1
  603. package/dist/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
  604. package/dist/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  605. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  606. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  607. package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  608. package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  609. package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  610. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  611. package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  612. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  613. package/dist/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  614. package/dist/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  615. package/dist/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  616. package/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  617. package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  618. package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  619. package/dist/ui-kit/TabsControl/TabItem.js +3 -2
  620. package/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  621. package/dist/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  622. package/dist/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  623. package/dist/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
  624. package/dist/ui-kit/Tags/Tags.d.ts +2 -2
  625. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  626. package/dist/ui-kit/TimerCircle/Timer.d.ts +2 -2
  627. package/dist/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  628. package/dist/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
  629. package/dist/ui-kit/TopItem/TopItem.d.ts +3 -3
  630. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  631. package/dist/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  632. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  633. package/dist/utils/adjustBase.js +4 -1
  634. package/dist/utils/adjustBase.js.map +1 -1
  635. package/dist/utils/isCyrilic.js +1 -1
  636. package/dist/utils/isCyrilic.js.map +1 -1
  637. package/lib/UniBlock/UniBlockProps.d.ts +2 -2
  638. package/lib/common.css +1 -1
  639. package/lib/components/ApplicationForm/Footnote.d.ts +1 -1
  640. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  641. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -7
  642. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  643. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  644. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js +6 -1
  645. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  646. package/lib/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  647. package/lib/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
  648. package/lib/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
  649. package/lib/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  650. package/lib/components/ApplicationLeadForm/applicationFormData.js +0 -1
  651. package/lib/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  652. package/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
  653. package/lib/components/ApplicationLeadForm/consents.js +0 -4
  654. package/lib/components/ApplicationLeadForm/consents.js.map +1 -1
  655. package/lib/components/ApplicationLeadForm/getInitialFormState.js +3 -0
  656. package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  657. package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +3 -2
  658. package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  659. package/lib/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
  660. package/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  661. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +15 -3
  662. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  663. package/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  664. package/lib/components/ApplicationLeadForm/useInitApplicationLead.js +15 -1
  665. package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  666. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  667. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  668. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  669. package/lib/components/Blocks.js +0 -26
  670. package/lib/components/Blocks.js.map +1 -1
  671. package/lib/components/Blocks.mobile.js +0 -20
  672. package/lib/components/Blocks.mobile.js.map +1 -1
  673. package/lib/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  674. package/lib/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
  675. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  676. package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  677. package/lib/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  678. package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  679. package/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  680. package/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  681. package/lib/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  682. package/lib/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
  683. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  684. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  685. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  686. package/lib/components/CardTransfer/CardTransfer.js +1 -8
  687. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  688. package/lib/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  689. package/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
  690. package/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  691. package/lib/components/Carousel/Carousel.fixture.d.ts +0 -2
  692. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +0 -1
  693. package/lib/components/Carousel/renderCardHighlight.d.ts +3 -4
  694. package/lib/components/Carousel/renderCardHighlight.js.map +1 -1
  695. package/lib/components/Carousel/renderCarouselCards.js +2 -2
  696. package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  697. package/lib/components/ContentPage/ContentPage.d.ts +2 -2
  698. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  699. package/lib/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
  700. package/lib/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
  701. package/lib/components/CreditCardForm/creditCardFormStepsData.js +244 -2
  702. package/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
  703. package/lib/components/CreditCardForm/formStateMap.js +2 -2
  704. package/lib/components/CreditCardForm/formStateMap.js.map +1 -1
  705. package/lib/components/CreditForm/CreditForm.js +1 -2
  706. package/lib/components/CreditForm/CreditForm.js.map +1 -1
  707. package/lib/components/CreditForm/SuccessStatusContent.js +1 -1
  708. package/lib/components/CreditForm/SuccessStatusContent.js.map +1 -1
  709. package/lib/components/CreditForm/creditFormStepsData.js +191 -2
  710. package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
  711. package/lib/components/CreditForm/formStateMap.js +2 -2
  712. package/lib/components/CreditForm/formStateMap.js.map +1 -1
  713. package/lib/components/CreditForm/getCalcData.js +1 -1
  714. package/lib/components/CreditForm/getCalcData.js.map +1 -1
  715. package/lib/components/CreditForm/useCreditFormAPI.js +1 -1
  716. package/lib/components/DebitForm/DebitFormStatus.d.ts +2 -4
  717. package/lib/components/DebitForm/DebitFormStatus.js.map +1 -1
  718. package/lib/components/DebitForm/DebitFormStepsData.js +70 -2
  719. package/lib/components/DebitForm/DebitFormStepsData.js.map +1 -1
  720. package/lib/components/Footer/Contacts.d.ts +2 -2
  721. package/lib/components/Footer/Contacts.js.map +1 -1
  722. package/lib/components/Footer/FooterLink.d.ts +2 -2
  723. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  724. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  725. package/lib/components/Footer/LinkList.d.ts +2 -2
  726. package/lib/components/Footer/LinkList.js.map +1 -1
  727. package/lib/components/Footer/SocialMedia.d.ts +2 -2
  728. package/lib/components/Footer/SocialMedia.js.map +1 -1
  729. package/lib/components/Footer/TextInformationLink.js +1 -1
  730. package/lib/components/Footer/TextInformationLink.js.map +1 -1
  731. package/lib/components/GalleryLayout/GalleryLayout.js +12 -27
  732. package/lib/components/GalleryLayout/GalleryLayout.js.map +1 -1
  733. package/lib/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  734. package/lib/components/GalleryLayout/useSortProductBlocks.js +18 -0
  735. package/lib/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
  736. package/lib/components/GalleryLayout/utils.d.ts +29 -0
  737. package/lib/components/GalleryLayout/utils.js +25 -0
  738. package/lib/components/GalleryLayout/utils.js.map +1 -0
  739. package/lib/components/Header/DropdownMenu.d.ts +2 -2
  740. package/lib/components/Header/DropdownMenu.js.map +1 -1
  741. package/lib/components/Header/HeaderChatBotButton.d.ts +2 -3
  742. package/lib/components/Header/HeaderChatBotButton.js +15 -4
  743. package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  744. package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  745. package/lib/components/Header/HeaderSecondaryMenu.js +1 -2
  746. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  747. package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  748. package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  749. package/lib/components/Header/HeaderSubMenu.js +1 -1
  750. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  751. package/lib/components/Header/HeaderSubMenuItem.d.ts +2 -2
  752. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  753. package/lib/components/Header/HeaderTop.js +1 -1
  754. package/lib/components/Header/HeaderTop.js.map +1 -1
  755. package/lib/components/Header/HeaderTopMenu.d.ts +2 -2
  756. package/lib/components/Header/HeaderTopMenu.js +1 -1
  757. package/lib/components/Header/HeaderTopMenu.js.map +1 -1
  758. package/lib/components/Header/HeaderTopMenuItem.d.ts +2 -2
  759. package/lib/components/Header/HeaderTopMenuItem.js.map +1 -1
  760. package/lib/components/Headline/Headline.js +1 -1
  761. package/lib/components/Headline/Headline.js.map +1 -1
  762. package/lib/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  763. package/lib/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
  764. package/lib/components/OfficesAtmsMap/Badge.d.ts +2 -2
  765. package/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
  766. package/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  767. package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
  768. package/lib/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  769. package/lib/components/OfficesAtmsMap/CardRow.js.map +1 -1
  770. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +4 -4
  771. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  772. package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  773. package/lib/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  774. package/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  775. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -2
  776. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  777. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  778. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  779. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  780. package/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  781. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  782. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  783. package/lib/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  784. package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  785. package/lib/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  786. package/lib/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
  787. package/lib/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  788. package/lib/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
  789. package/lib/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  790. package/lib/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
  791. package/lib/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  792. package/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
  793. package/lib/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  794. package/lib/components/TariffsTable/TableCarouselContainer.js +1 -1
  795. package/lib/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  796. package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  797. package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +3 -1
  798. package/lib/components/TariffsTable/TariffsTable.js +4 -11
  799. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  800. package/lib/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  801. package/lib/components/TariffsTable/TariffsTableCell.js +14 -4
  802. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  803. package/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  804. package/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  805. package/lib/components/TariffsTable/TariffsTableRow.js +6 -10
  806. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  807. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  808. package/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -2
  809. package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  810. package/lib/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  811. package/lib/components/TariffsTable/TariffsTableWrapper.js +2 -10
  812. package/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  813. package/lib/components/TariffsTable/dataFixture.js +1 -14
  814. package/lib/components/TariffsTable/dataFixture.js.map +1 -1
  815. package/lib/components/TariffsTable/renderCell.d.ts +2 -0
  816. package/lib/components/TariffsTable/renderCell.js +12 -0
  817. package/lib/components/TariffsTable/renderCell.js.map +1 -0
  818. package/lib/components/TariffsTable/renderHeader.d.ts +2 -0
  819. package/lib/components/TariffsTable/renderHeader.js +7 -0
  820. package/lib/components/TariffsTable/renderHeader.js.map +1 -0
  821. package/lib/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  822. package/lib/components/TariffsTable/renderInnerTableCell.js +1 -0
  823. package/lib/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  824. package/lib/data/CommonData.d.ts +4 -4
  825. package/lib/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  826. package/lib/hooks/useAspects/aspects/forwardQuery.js +1 -1
  827. package/lib/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
  828. package/lib/hooks/useAspects/handleAspects.d.ts +1 -1
  829. package/lib/hooks/useAspects/handleAspects.js +5 -2
  830. package/lib/hooks/useAspects/handleAspects.js.map +1 -1
  831. package/lib/hooks/useAspects/useAspects.d.ts +1 -1
  832. package/lib/hooks/useForm/useForm.d.ts +1 -1
  833. package/lib/hooks/useLink.js +2 -1
  834. package/lib/hooks/useLink.js.map +1 -1
  835. package/lib/model/CommonInputProps.d.ts +7 -0
  836. package/lib/model/CommonInputProps.js +2 -0
  837. package/lib/model/CommonInputProps.js.map +1 -0
  838. package/lib/model/ComponentType.d.ts +4 -0
  839. package/lib/model/ComponentType.js +2 -0
  840. package/lib/model/ComponentType.js.map +1 -0
  841. package/lib/model/ContentPageBase.d.ts +2 -3
  842. package/lib/model/ControlProps.js.map +1 -0
  843. package/lib/model/DefaultControlType.d.ts +5 -5
  844. package/lib/model/DisabledProps.d.ts +3 -0
  845. package/lib/model/DisabledProps.js +2 -0
  846. package/lib/model/DisabledProps.js.map +1 -0
  847. package/lib/model/LinkProps.d.ts +1 -1
  848. package/lib/model/OnClickProps.d.ts +3 -0
  849. package/lib/model/OnClickProps.js +2 -0
  850. package/lib/model/OnClickProps.js.map +1 -0
  851. package/lib/model/OnCloseProps.d.ts +3 -0
  852. package/lib/model/OnCloseProps.js +2 -0
  853. package/lib/model/OnCloseProps.js.map +1 -0
  854. package/lib/model/Picture.d.ts +2 -2
  855. package/lib/model/PlaceholderProps.d.ts +3 -0
  856. package/lib/model/PlaceholderProps.js +2 -0
  857. package/lib/model/PlaceholderProps.js.map +1 -0
  858. package/lib/model/onClick.d.ts +3 -0
  859. package/lib/model/onClick.js +2 -0
  860. package/lib/model/onClick.js.map +1 -0
  861. package/lib/model/onClose.d.ts +3 -0
  862. package/lib/model/onClose.js +2 -0
  863. package/lib/model/onClose.js.map +1 -0
  864. package/lib/retail/adaptors/getCreditFormTaskData.js +0 -3
  865. package/lib/retail/adaptors/getCreditFormTaskData.js.map +1 -1
  866. package/lib/retail/adaptors/getEmploymentData.js +3 -3
  867. package/lib/retail/adaptors/getEmploymentData.js.map +1 -1
  868. package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
  869. package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  870. package/lib/retail/adaptors/getPersonalInfoData.js +4 -2
  871. package/lib/retail/adaptors/getPersonalInfoData.js.map +1 -1
  872. package/lib/retail/api/getCardTypes.d.ts +2 -2
  873. package/lib/retail/api/getCardTypes.js.map +1 -1
  874. package/lib/retail/api/saveReferalInfo.d.ts +7 -0
  875. package/lib/retail/api/saveReferalInfo.js +3 -0
  876. package/lib/retail/api/saveReferalInfo.js.map +1 -0
  877. package/lib/retail/api/updateUserTask.d.ts +1 -1
  878. package/lib/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  879. package/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  880. package/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  881. package/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  882. package/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
  883. package/lib/retail/components/DaDataInputControl/DaDataInputControl.js +4 -19
  884. package/lib/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
  885. package/lib/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  886. package/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  887. package/lib/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  888. package/lib/retail/components/DraftDialog/DraftActionButton.js +1 -1
  889. package/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  890. package/lib/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  891. package/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
  892. package/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  893. package/lib/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  894. package/lib/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
  895. package/lib/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  896. package/lib/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
  897. package/lib/retail/components/Fields/BeginDateField.js +1 -1
  898. package/lib/retail/components/Fields/BeginDateField.js.map +1 -1
  899. package/lib/retail/components/Fields/DaDataInnField.js +10 -3
  900. package/lib/retail/components/Fields/DaDataInnField.js.map +1 -1
  901. package/lib/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  902. package/lib/retail/components/Fields/InitiateBankruptcyFlgField.js +5 -0
  903. package/lib/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
  904. package/lib/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
  905. package/lib/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
  906. package/lib/retail/components/Fields/RegionRetailField.js +8 -3
  907. package/lib/retail/components/Fields/RegionRetailField.js.map +1 -1
  908. package/lib/retail/components/Fields/SelectField.d.ts +4 -4
  909. package/lib/retail/components/Fields/SelectField.js.map +1 -1
  910. package/lib/retail/components/FormStatus/FormStatus.d.ts +2 -4
  911. package/lib/retail/components/FormStatus/FormStatus.js.map +1 -1
  912. package/lib/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  913. package/lib/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
  914. package/lib/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
  915. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  916. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  917. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  918. package/lib/retail/content.d.ts +2 -8
  919. package/lib/retail/content.js +2 -350
  920. package/lib/retail/content.js.map +1 -1
  921. package/lib/retail/inputs.d.ts +1 -1
  922. package/lib/retail/inputs.js +2 -1
  923. package/lib/retail/inputs.js.map +1 -1
  924. package/lib/retail/model/LeadFormData.d.ts +2 -2
  925. package/lib/retail/model/LeadFormState.d.ts +7 -2
  926. package/lib/retail/model/NameFieldDef.d.ts +1 -1
  927. package/lib/retail/model/RetailFormContent.d.ts +2 -2
  928. package/lib/retail/utils/calculateInputs.js +2 -0
  929. package/lib/retail/utils/calculateInputs.js.map +1 -1
  930. package/lib/retail/utils/getMainFormStateMap.d.ts +2 -0
  931. package/lib/retail/utils/getMainFormStateMap.js +67 -0
  932. package/lib/retail/utils/getMainFormStateMap.js.map +1 -0
  933. package/lib/retail/utils/getOrganizationParams.d.ts +1 -1
  934. package/lib/retail/utils/getOrganizationParams.js.map +1 -1
  935. package/lib/retail/utils/renderStep.js +8 -2
  936. package/lib/retail/utils/renderStep.js.map +1 -1
  937. package/lib/retail/validator/validatorObj.js +3 -3
  938. package/lib/retail/validator/validatorObj.js.map +1 -1
  939. package/lib/retail/validator/validators.d.ts +1 -0
  940. package/lib/retail/validator/validators.js +1 -0
  941. package/lib/retail/validator/validators.js.map +1 -1
  942. package/lib/services/search/search.d.ts +2 -2
  943. package/lib/services/search/search.js.map +1 -1
  944. package/lib/services/search/textRank.d.ts +1 -1
  945. package/lib/services/search/textRank.js.map +1 -1
  946. package/lib/services/search/useSearch.js +8 -5
  947. package/lib/services/search/useSearch.js.map +1 -1
  948. package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  949. package/lib/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  950. package/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  951. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  952. package/lib/ui-kit/BaseTile/BaseTile.js +1 -1
  953. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  954. package/lib/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  955. package/lib/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
  956. package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  957. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  958. package/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  959. package/lib/ui-kit/Button/Button.d.ts +3 -3
  960. package/lib/ui-kit/Button/Button.js.map +1 -1
  961. package/lib/ui-kit/Button/ButtonTitle.d.ts +2 -5
  962. package/lib/ui-kit/Button/ButtonTitle.js.map +1 -1
  963. package/lib/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  964. package/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
  965. package/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  966. package/lib/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  967. package/lib/ui-kit/Calculator/UnknownRate.js.map +1 -1
  968. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  969. package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  970. package/lib/ui-kit/Calculator/renderRate.d.ts +2 -2
  971. package/lib/ui-kit/Calculator/renderRate.js.map +1 -1
  972. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  973. package/lib/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  974. package/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
  975. package/lib/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  976. package/lib/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
  977. package/lib/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  978. package/lib/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  979. package/lib/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  980. package/lib/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
  981. package/lib/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  982. package/lib/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
  983. package/lib/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  984. package/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
  985. package/lib/ui-kit/DialogManager/Dialog.d.ts +3 -3
  986. package/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
  987. package/lib/ui-kit/DialogManager/useDialog.d.ts +2 -3
  988. package/lib/ui-kit/DialogManager/useDialog.js.map +1 -1
  989. package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  990. package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  991. package/lib/ui-kit/Foldable/Foldable.d.ts +2 -2
  992. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  993. package/lib/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  994. package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
  995. package/lib/ui-kit/FormField/getObjectValidator.js +1 -1
  996. package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  997. package/lib/ui-kit/Heading/HeadingProps.d.ts +2 -3
  998. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  999. package/lib/ui-kit/Icon/IconProps.d.ts +2 -2
  1000. package/lib/ui-kit/Img/ImgProps.d.ts +2 -2
  1001. package/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  1002. package/lib/ui-kit/InnerTable/InnerTable.js +2 -3
  1003. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  1004. package/lib/ui-kit/InnerTable/InnerTableBody.js +4 -6
  1005. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1006. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  1007. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1008. package/lib/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  1009. package/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  1010. package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  1011. package/lib/ui-kit/Input/InputControl.js +4 -20
  1012. package/lib/ui-kit/Input/InputControl.js.map +1 -1
  1013. package/lib/ui-kit/Input/InputProps.d.ts +4 -2
  1014. package/lib/ui-kit/Input/InputWrapper.d.ts +8 -0
  1015. package/lib/ui-kit/Input/InputWrapper.js +23 -0
  1016. package/lib/ui-kit/Input/InputWrapper.js.map +1 -0
  1017. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  1018. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1019. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  1020. package/lib/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  1021. package/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  1022. package/lib/ui-kit/Link/Link.d.ts +2 -2
  1023. package/lib/ui-kit/Link/Link.js.map +1 -1
  1024. package/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
  1025. package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  1026. package/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  1027. package/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  1028. package/lib/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  1029. package/lib/ui-kit/LinkButton/renderArrows.js.map +1 -1
  1030. package/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  1031. package/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
  1032. package/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  1033. package/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  1034. package/lib/ui-kit/ListControlProps.d.ts +1 -1
  1035. package/lib/ui-kit/Loader/Loader.d.ts +1 -1
  1036. package/lib/ui-kit/Loader/Loader.js.map +1 -1
  1037. package/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  1038. package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  1039. package/lib/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  1040. package/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  1041. package/lib/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  1042. package/lib/ui-kit/ProgressBar/ProgressBar.fixture.d.ts +4 -1
  1043. package/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  1044. package/lib/ui-kit/Radio/RadioProps.d.ts +3 -4
  1045. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  1046. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1047. package/lib/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  1048. package/lib/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
  1049. package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  1050. package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  1051. package/lib/ui-kit/SVG.d.ts +2 -2
  1052. package/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  1053. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1054. package/lib/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  1055. package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  1056. package/lib/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  1057. package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  1058. package/lib/ui-kit/Select/Option.d.ts +1 -1
  1059. package/lib/ui-kit/Select/Select.d.ts +1 -2
  1060. package/lib/ui-kit/Select/Select.js.map +1 -1
  1061. package/lib/ui-kit/Select/SelectPopup.d.ts +2 -3
  1062. package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
  1063. package/lib/ui-kit/Select/useSelectPopup.d.ts +2 -2
  1064. package/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
  1065. package/lib/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  1066. package/lib/ui-kit/Shimmer/Shimmer.js.map +1 -1
  1067. package/lib/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
  1068. package/lib/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  1069. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  1070. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  1071. package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  1072. package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  1073. package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  1074. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1075. package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  1076. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1077. package/lib/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  1078. package/lib/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  1079. package/lib/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  1080. package/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  1081. package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  1082. package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  1083. package/lib/ui-kit/TabsControl/TabItem.js +3 -2
  1084. package/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  1085. package/lib/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  1086. package/lib/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  1087. package/lib/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
  1088. package/lib/ui-kit/Tags/Tags.d.ts +2 -2
  1089. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  1090. package/lib/ui-kit/TimerCircle/Timer.d.ts +2 -2
  1091. package/lib/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  1092. package/lib/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
  1093. package/lib/ui-kit/TopItem/TopItem.d.ts +3 -3
  1094. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1095. package/lib/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  1096. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  1097. package/lib/utils/adjustBase.js +4 -1
  1098. package/lib/utils/adjustBase.js.map +1 -1
  1099. package/lib/utils/isCyrilic.js +1 -1
  1100. package/lib/utils/isCyrilic.js.map +1 -1
  1101. package/mobile/bundle/UniBlock/UniBlockProps.d.ts +2 -2
  1102. package/mobile/bundle/bundle.umd.js +878 -1333
  1103. package/mobile/bundle/bundle.umd.min.js +1 -1
  1104. package/mobile/bundle/components/ApplicationForm/Footnote.d.ts +1 -1
  1105. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  1106. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  1107. package/mobile/bundle/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  1108. package/mobile/bundle/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  1109. package/mobile/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
  1110. package/mobile/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  1111. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  1112. package/mobile/bundle/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  1113. package/mobile/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  1114. package/mobile/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  1115. package/mobile/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  1116. package/mobile/bundle/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  1117. package/mobile/bundle/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  1118. package/mobile/bundle/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  1119. package/mobile/bundle/components/Carousel/renderCardHighlight.d.ts +3 -4
  1120. package/mobile/bundle/components/ContentPage/ContentPage.d.ts +2 -2
  1121. package/mobile/bundle/components/DebitForm/DebitFormStatus.d.ts +2 -4
  1122. package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
  1123. package/mobile/bundle/components/Footer/FooterLink.d.ts +2 -2
  1124. package/mobile/bundle/components/Footer/LinkList.d.ts +2 -2
  1125. package/mobile/bundle/components/Footer/SocialMedia.d.ts +2 -2
  1126. package/mobile/bundle/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  1127. package/mobile/bundle/components/GalleryLayout/utils.d.ts +29 -0
  1128. package/mobile/bundle/components/Header/DropdownMenu.d.ts +2 -2
  1129. package/mobile/bundle/components/Header/HeaderChatBotButton.d.ts +2 -3
  1130. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  1131. package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  1132. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +2 -2
  1133. package/mobile/bundle/components/Header/HeaderTopMenu.d.ts +2 -2
  1134. package/mobile/bundle/components/Header/HeaderTopMenuItem.d.ts +2 -2
  1135. package/mobile/bundle/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  1136. package/mobile/bundle/components/OfficesAtmsMap/Badge.d.ts +2 -2
  1137. package/mobile/bundle/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  1138. package/mobile/bundle/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  1139. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
  1140. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  1141. package/mobile/bundle/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  1142. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  1143. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  1144. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  1145. package/mobile/bundle/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  1146. package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  1147. package/mobile/bundle/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  1148. package/mobile/bundle/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  1149. package/mobile/bundle/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  1150. package/mobile/bundle/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  1151. package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
  1152. package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  1153. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  1154. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  1155. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  1156. package/mobile/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  1157. package/mobile/bundle/components/TariffsTable/renderCell.d.ts +2 -0
  1158. package/mobile/bundle/components/TariffsTable/renderHeader.d.ts +2 -0
  1159. package/mobile/bundle/data/CommonData.d.ts +4 -4
  1160. package/mobile/bundle/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  1161. package/mobile/bundle/hooks/useAspects/handleAspects.d.ts +1 -1
  1162. package/mobile/bundle/hooks/useAspects/useAspects.d.ts +1 -1
  1163. package/mobile/bundle/hooks/useForm/useForm.d.ts +1 -1
  1164. package/mobile/bundle/model/CommonInputProps.d.ts +7 -0
  1165. package/mobile/bundle/model/ComponentType.d.ts +4 -0
  1166. package/mobile/bundle/model/ContentPageBase.d.ts +2 -3
  1167. package/mobile/bundle/model/DefaultControlType.d.ts +5 -5
  1168. package/mobile/bundle/model/DisabledProps.d.ts +3 -0
  1169. package/mobile/bundle/model/LinkProps.d.ts +1 -1
  1170. package/mobile/bundle/model/OnClickProps.d.ts +3 -0
  1171. package/mobile/bundle/model/OnCloseProps.d.ts +3 -0
  1172. package/mobile/bundle/model/Picture.d.ts +2 -2
  1173. package/mobile/bundle/model/PlaceholderProps.d.ts +3 -0
  1174. package/mobile/bundle/model/onClick.d.ts +3 -0
  1175. package/mobile/bundle/model/onClose.d.ts +3 -0
  1176. package/mobile/bundle/retail/api/getCardTypes.d.ts +2 -2
  1177. package/mobile/bundle/retail/api/saveReferalInfo.d.ts +7 -0
  1178. package/mobile/bundle/retail/api/updateUserTask.d.ts +1 -1
  1179. package/mobile/bundle/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  1180. package/mobile/bundle/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  1181. package/mobile/bundle/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  1182. package/mobile/bundle/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  1183. package/mobile/bundle/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  1184. package/mobile/bundle/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  1185. package/mobile/bundle/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  1186. package/mobile/bundle/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  1187. package/mobile/bundle/retail/components/Fields/SelectField.d.ts +4 -4
  1188. package/mobile/bundle/retail/components/FormStatus/FormStatus.d.ts +2 -4
  1189. package/mobile/bundle/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  1190. package/mobile/bundle/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  1191. package/mobile/bundle/retail/content.d.ts +2 -8
  1192. package/mobile/bundle/retail/inputs.d.ts +1 -1
  1193. package/mobile/bundle/retail/model/LeadFormData.d.ts +2 -2
  1194. package/mobile/bundle/retail/model/LeadFormState.d.ts +7 -2
  1195. package/mobile/bundle/retail/model/NameFieldDef.d.ts +1 -1
  1196. package/mobile/bundle/retail/model/RetailFormContent.d.ts +2 -2
  1197. package/mobile/bundle/retail/utils/getMainFormStateMap.d.ts +2 -0
  1198. package/mobile/bundle/retail/utils/getOrganizationParams.d.ts +1 -1
  1199. package/mobile/bundle/retail/validator/validators.d.ts +1 -0
  1200. package/mobile/bundle/services/search/search.d.ts +2 -2
  1201. package/mobile/bundle/services/search/textRank.d.ts +1 -1
  1202. package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  1203. package/mobile/bundle/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  1204. package/mobile/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  1205. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  1206. package/mobile/bundle/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  1207. package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  1208. package/mobile/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  1209. package/mobile/bundle/ui-kit/Button/Button.d.ts +3 -3
  1210. package/mobile/bundle/ui-kit/Button/ButtonTitle.d.ts +2 -5
  1211. package/mobile/bundle/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  1212. package/mobile/bundle/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  1213. package/mobile/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  1214. package/mobile/bundle/ui-kit/Calculator/renderRate.d.ts +2 -2
  1215. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  1216. package/mobile/bundle/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  1217. package/mobile/bundle/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  1218. package/mobile/bundle/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  1219. package/mobile/bundle/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  1220. package/mobile/bundle/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  1221. package/mobile/bundle/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  1222. package/mobile/bundle/ui-kit/DialogManager/Dialog.d.ts +3 -3
  1223. package/mobile/bundle/ui-kit/DialogManager/useDialog.d.ts +2 -3
  1224. package/mobile/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  1225. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +2 -2
  1226. package/mobile/bundle/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  1227. package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +2 -3
  1228. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +2 -2
  1229. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +2 -2
  1230. package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  1231. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  1232. package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  1233. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -2
  1234. package/mobile/bundle/ui-kit/Input/InputWrapper.d.ts +8 -0
  1235. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  1236. package/mobile/bundle/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  1237. package/mobile/bundle/ui-kit/Link/Link.d.ts +2 -2
  1238. package/mobile/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  1239. package/mobile/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  1240. package/mobile/bundle/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  1241. package/mobile/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  1242. package/mobile/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  1243. package/mobile/bundle/ui-kit/ListControlProps.d.ts +1 -1
  1244. package/mobile/bundle/ui-kit/Loader/Loader.d.ts +1 -1
  1245. package/mobile/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  1246. package/mobile/bundle/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  1247. package/mobile/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  1248. package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +3 -4
  1249. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  1250. package/mobile/bundle/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  1251. package/mobile/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  1252. package/mobile/bundle/ui-kit/SVG.d.ts +2 -2
  1253. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  1254. package/mobile/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  1255. package/mobile/bundle/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  1256. package/mobile/bundle/ui-kit/Select/Option.d.ts +1 -1
  1257. package/mobile/bundle/ui-kit/Select/Select.d.ts +1 -2
  1258. package/mobile/bundle/ui-kit/Select/SelectPopup.d.ts +2 -3
  1259. package/mobile/bundle/ui-kit/Select/useSelectPopup.d.ts +2 -2
  1260. package/mobile/bundle/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  1261. package/mobile/bundle/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  1262. package/mobile/bundle/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  1263. package/mobile/bundle/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  1264. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  1265. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  1266. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  1267. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  1268. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  1269. package/mobile/bundle/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  1270. package/mobile/bundle/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  1271. package/mobile/bundle/ui-kit/Tags/Tags.d.ts +2 -2
  1272. package/mobile/bundle/ui-kit/TimerCircle/Timer.d.ts +2 -2
  1273. package/mobile/bundle/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  1274. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +3 -3
  1275. package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  1276. package/mobile/dist/UniBlock/UniBlockProps.d.ts +2 -2
  1277. package/mobile/dist/components/ApplicationForm/Footnote.d.ts +1 -1
  1278. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  1279. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +5 -10
  1280. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  1281. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  1282. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js +7 -0
  1283. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  1284. package/mobile/dist/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  1285. package/mobile/dist/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
  1286. package/mobile/dist/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
  1287. package/mobile/dist/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  1288. package/mobile/dist/components/ApplicationLeadForm/applicationFormData.js +0 -1
  1289. package/mobile/dist/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  1290. package/mobile/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
  1291. package/mobile/dist/components/ApplicationLeadForm/consents.js +0 -4
  1292. package/mobile/dist/components/ApplicationLeadForm/consents.js.map +1 -1
  1293. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +3 -0
  1294. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  1295. package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +3 -2
  1296. package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  1297. package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
  1298. package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  1299. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +15 -3
  1300. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  1301. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  1302. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js +18 -4
  1303. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  1304. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1305. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1306. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  1307. package/mobile/dist/components/Blocks.js +0 -20
  1308. package/mobile/dist/components/Blocks.js.map +1 -1
  1309. package/mobile/dist/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  1310. package/mobile/dist/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
  1311. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  1312. package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  1313. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  1314. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  1315. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  1316. package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  1317. package/mobile/dist/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  1318. package/mobile/dist/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
  1319. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  1320. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  1321. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  1322. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -8
  1323. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  1324. package/mobile/dist/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  1325. package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
  1326. package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  1327. package/mobile/dist/components/Carousel/renderCardHighlight.d.ts +3 -4
  1328. package/mobile/dist/components/Carousel/renderCardHighlight.js.map +1 -1
  1329. package/mobile/dist/components/Carousel/renderCarouselCards.js +2 -2
  1330. package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  1331. package/mobile/dist/components/ContentPage/ContentPage.d.ts +2 -2
  1332. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  1333. package/mobile/dist/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
  1334. package/mobile/dist/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
  1335. package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js +245 -3
  1336. package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
  1337. package/mobile/dist/components/CreditCardForm/formStateMap.js +2 -2
  1338. package/mobile/dist/components/CreditCardForm/formStateMap.js.map +1 -1
  1339. package/mobile/dist/components/CreditForm/CreditForm.js +1 -2
  1340. package/mobile/dist/components/CreditForm/CreditForm.js.map +1 -1
  1341. package/mobile/dist/components/CreditForm/SuccessStatusContent.js +1 -1
  1342. package/mobile/dist/components/CreditForm/SuccessStatusContent.js.map +1 -1
  1343. package/mobile/dist/components/CreditForm/creditFormStepsData.js +192 -3
  1344. package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
  1345. package/mobile/dist/components/CreditForm/formStateMap.js +2 -2
  1346. package/mobile/dist/components/CreditForm/formStateMap.js.map +1 -1
  1347. package/mobile/dist/components/CreditForm/getCalcData.js +1 -1
  1348. package/mobile/dist/components/CreditForm/getCalcData.js.map +1 -1
  1349. package/mobile/dist/components/CreditForm/useCreditFormAPI.js +1 -1
  1350. package/mobile/dist/components/DebitForm/DebitFormStatus.d.ts +2 -4
  1351. package/mobile/dist/components/DebitForm/DebitFormStatus.js.map +1 -1
  1352. package/mobile/dist/components/DebitForm/DebitFormStepsData.js +71 -3
  1353. package/mobile/dist/components/DebitForm/DebitFormStepsData.js.map +1 -1
  1354. package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
  1355. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  1356. package/mobile/dist/components/Footer/FooterLink.d.ts +2 -2
  1357. package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
  1358. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  1359. package/mobile/dist/components/Footer/LinkList.d.ts +2 -2
  1360. package/mobile/dist/components/Footer/LinkList.js.map +1 -1
  1361. package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -2
  1362. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  1363. package/mobile/dist/components/Footer/TextInformationLink.js +1 -1
  1364. package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
  1365. package/mobile/dist/components/GalleryLayout/GalleryLayout.js +13 -28
  1366. package/mobile/dist/components/GalleryLayout/GalleryLayout.js.map +1 -1
  1367. package/mobile/dist/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  1368. package/mobile/dist/components/GalleryLayout/useSortProductBlocks.js +21 -0
  1369. package/mobile/dist/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
  1370. package/mobile/dist/components/GalleryLayout/utils.d.ts +29 -0
  1371. package/mobile/dist/components/GalleryLayout/utils.js +29 -0
  1372. package/mobile/dist/components/GalleryLayout/utils.js.map +1 -0
  1373. package/mobile/dist/components/Header/DropdownMenu.d.ts +2 -2
  1374. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  1375. package/mobile/dist/components/Header/HeaderChatBotButton.d.ts +2 -3
  1376. package/mobile/dist/components/Header/HeaderChatBotButton.js +15 -4
  1377. package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  1378. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  1379. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -2
  1380. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  1381. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  1382. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  1383. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
  1384. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  1385. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +2 -2
  1386. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  1387. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  1388. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  1389. package/mobile/dist/components/Header/HeaderTopMenu.d.ts +2 -2
  1390. package/mobile/dist/components/Header/HeaderTopMenu.js +1 -1
  1391. package/mobile/dist/components/Header/HeaderTopMenu.js.map +1 -1
  1392. package/mobile/dist/components/Header/HeaderTopMenuItem.d.ts +2 -2
  1393. package/mobile/dist/components/Header/HeaderTopMenuItem.js.map +1 -1
  1394. package/mobile/dist/components/Headline/Headline.js +1 -1
  1395. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  1396. package/mobile/dist/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  1397. package/mobile/dist/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
  1398. package/mobile/dist/components/OfficesAtmsMap/Badge.d.ts +2 -2
  1399. package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -1
  1400. package/mobile/dist/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  1401. package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -1
  1402. package/mobile/dist/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  1403. package/mobile/dist/components/OfficesAtmsMap/CardRow.js.map +1 -1
  1404. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
  1405. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  1406. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  1407. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  1408. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  1409. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
  1410. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  1411. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  1412. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  1413. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  1414. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  1415. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1416. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  1417. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  1418. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  1419. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
  1420. package/mobile/dist/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  1421. package/mobile/dist/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
  1422. package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  1423. package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
  1424. package/mobile/dist/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  1425. package/mobile/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
  1426. package/mobile/dist/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  1427. package/mobile/dist/components/TariffsTable/TableCarouselContainer.js +1 -1
  1428. package/mobile/dist/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  1429. package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  1430. package/mobile/dist/components/TariffsTable/TariffsTable.js +4 -11
  1431. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  1432. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  1433. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +14 -4
  1434. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1435. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  1436. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  1437. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +6 -10
  1438. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1439. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  1440. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
  1441. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  1442. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  1443. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js +1 -9
  1444. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  1445. package/mobile/dist/components/TariffsTable/dataFixture.js +1 -14
  1446. package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
  1447. package/mobile/dist/components/TariffsTable/renderCell.d.ts +2 -0
  1448. package/mobile/dist/components/TariffsTable/renderCell.js +15 -0
  1449. package/mobile/dist/components/TariffsTable/renderCell.js.map +1 -0
  1450. package/mobile/dist/components/TariffsTable/renderHeader.d.ts +2 -0
  1451. package/mobile/dist/components/TariffsTable/renderHeader.js +10 -0
  1452. package/mobile/dist/components/TariffsTable/renderHeader.js.map +1 -0
  1453. package/mobile/dist/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  1454. package/mobile/dist/components/TariffsTable/renderInnerTableCell.js +1 -0
  1455. package/mobile/dist/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  1456. package/mobile/dist/data/CommonData.d.ts +4 -4
  1457. package/mobile/dist/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  1458. package/mobile/dist/hooks/useAspects/aspects/forwardQuery.js +1 -1
  1459. package/mobile/dist/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
  1460. package/mobile/dist/hooks/useAspects/handleAspects.d.ts +1 -1
  1461. package/mobile/dist/hooks/useAspects/handleAspects.js +5 -2
  1462. package/mobile/dist/hooks/useAspects/handleAspects.js.map +1 -1
  1463. package/mobile/dist/hooks/useAspects/useAspects.d.ts +1 -1
  1464. package/mobile/dist/hooks/useForm/useForm.d.ts +1 -1
  1465. package/mobile/dist/hooks/useLink.js +2 -1
  1466. package/mobile/dist/hooks/useLink.js.map +1 -1
  1467. package/mobile/dist/model/CommonInputProps.d.ts +7 -0
  1468. package/mobile/dist/model/CommonInputProps.js +2 -0
  1469. package/mobile/dist/model/CommonInputProps.js.map +1 -0
  1470. package/mobile/dist/model/ComponentType.d.ts +4 -0
  1471. package/mobile/dist/model/ComponentType.js +2 -0
  1472. package/mobile/dist/model/ComponentType.js.map +1 -0
  1473. package/mobile/dist/model/ContentPageBase.d.ts +2 -3
  1474. package/mobile/dist/model/ControlProps.js.map +1 -0
  1475. package/mobile/dist/model/DefaultControlType.d.ts +5 -5
  1476. package/mobile/dist/model/DisabledProps.d.ts +3 -0
  1477. package/mobile/dist/model/DisabledProps.js +2 -0
  1478. package/mobile/dist/model/DisabledProps.js.map +1 -0
  1479. package/mobile/dist/model/LinkProps.d.ts +1 -1
  1480. package/mobile/dist/model/OnClickProps.d.ts +3 -0
  1481. package/mobile/dist/model/OnClickProps.js +2 -0
  1482. package/mobile/dist/model/OnClickProps.js.map +1 -0
  1483. package/mobile/dist/model/OnCloseProps.d.ts +3 -0
  1484. package/mobile/dist/model/OnCloseProps.js +2 -0
  1485. package/mobile/dist/model/OnCloseProps.js.map +1 -0
  1486. package/mobile/dist/model/Picture.d.ts +2 -2
  1487. package/mobile/dist/model/PlaceholderProps.d.ts +3 -0
  1488. package/mobile/dist/model/PlaceholderProps.js +2 -0
  1489. package/mobile/dist/model/PlaceholderProps.js.map +1 -0
  1490. package/mobile/dist/model/onClick.d.ts +3 -0
  1491. package/mobile/dist/model/onClick.js +2 -0
  1492. package/mobile/dist/model/onClick.js.map +1 -0
  1493. package/mobile/dist/model/onClose.d.ts +3 -0
  1494. package/mobile/dist/model/onClose.js +2 -0
  1495. package/mobile/dist/model/onClose.js.map +1 -0
  1496. package/mobile/dist/retail/adaptors/getCreditFormTaskData.js +0 -3
  1497. package/mobile/dist/retail/adaptors/getCreditFormTaskData.js.map +1 -1
  1498. package/mobile/dist/retail/adaptors/getEmploymentData.js +3 -3
  1499. package/mobile/dist/retail/adaptors/getEmploymentData.js.map +1 -1
  1500. package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
  1501. package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  1502. package/mobile/dist/retail/adaptors/getPersonalInfoData.js +4 -2
  1503. package/mobile/dist/retail/adaptors/getPersonalInfoData.js.map +1 -1
  1504. package/mobile/dist/retail/api/getCardTypes.d.ts +2 -2
  1505. package/mobile/dist/retail/api/getCardTypes.js.map +1 -1
  1506. package/mobile/dist/retail/api/saveReferalInfo.d.ts +7 -0
  1507. package/mobile/dist/retail/api/saveReferalInfo.js +6 -0
  1508. package/mobile/dist/retail/api/saveReferalInfo.js.map +1 -0
  1509. package/mobile/dist/retail/api/updateUserTask.d.ts +1 -1
  1510. package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  1511. package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  1512. package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  1513. package/mobile/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  1514. package/mobile/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
  1515. package/mobile/dist/retail/components/DaDataInputControl/DaDataInputControl.js +3 -18
  1516. package/mobile/dist/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
  1517. package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  1518. package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  1519. package/mobile/dist/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  1520. package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js +1 -1
  1521. package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  1522. package/mobile/dist/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  1523. package/mobile/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
  1524. package/mobile/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  1525. package/mobile/dist/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  1526. package/mobile/dist/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
  1527. package/mobile/dist/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  1528. package/mobile/dist/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
  1529. package/mobile/dist/retail/components/Fields/BeginDateField.js +1 -1
  1530. package/mobile/dist/retail/components/Fields/BeginDateField.js.map +1 -1
  1531. package/mobile/dist/retail/components/Fields/DaDataInnField.js +10 -3
  1532. package/mobile/dist/retail/components/Fields/DaDataInnField.js.map +1 -1
  1533. package/mobile/dist/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  1534. package/mobile/dist/retail/components/Fields/InitiateBankruptcyFlgField.js +7 -0
  1535. package/mobile/dist/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
  1536. package/mobile/dist/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
  1537. package/mobile/dist/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
  1538. package/mobile/dist/retail/components/Fields/RegionRetailField.js +8 -3
  1539. package/mobile/dist/retail/components/Fields/RegionRetailField.js.map +1 -1
  1540. package/mobile/dist/retail/components/Fields/SelectField.d.ts +4 -4
  1541. package/mobile/dist/retail/components/Fields/SelectField.js.map +1 -1
  1542. package/mobile/dist/retail/components/FormStatus/FormStatus.d.ts +2 -4
  1543. package/mobile/dist/retail/components/FormStatus/FormStatus.js.map +1 -1
  1544. package/mobile/dist/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  1545. package/mobile/dist/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
  1546. package/mobile/dist/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
  1547. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  1548. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  1549. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  1550. package/mobile/dist/retail/content.d.ts +2 -8
  1551. package/mobile/dist/retail/content.js +3 -351
  1552. package/mobile/dist/retail/content.js.map +1 -1
  1553. package/mobile/dist/retail/inputs.d.ts +1 -1
  1554. package/mobile/dist/retail/inputs.js +2 -1
  1555. package/mobile/dist/retail/inputs.js.map +1 -1
  1556. package/mobile/dist/retail/model/LeadFormData.d.ts +2 -2
  1557. package/mobile/dist/retail/model/LeadFormState.d.ts +7 -2
  1558. package/mobile/dist/retail/model/NameFieldDef.d.ts +1 -1
  1559. package/mobile/dist/retail/model/RetailFormContent.d.ts +2 -2
  1560. package/mobile/dist/retail/utils/calculateInputs.js +2 -0
  1561. package/mobile/dist/retail/utils/calculateInputs.js.map +1 -1
  1562. package/mobile/dist/retail/utils/getMainFormStateMap.d.ts +2 -0
  1563. package/mobile/dist/retail/utils/getMainFormStateMap.js +70 -0
  1564. package/mobile/dist/retail/utils/getMainFormStateMap.js.map +1 -0
  1565. package/mobile/dist/retail/utils/getOrganizationParams.d.ts +1 -1
  1566. package/mobile/dist/retail/utils/getOrganizationParams.js.map +1 -1
  1567. package/mobile/dist/retail/utils/renderStep.js +7 -1
  1568. package/mobile/dist/retail/utils/renderStep.js.map +1 -1
  1569. package/mobile/dist/retail/validator/validatorObj.js +2 -2
  1570. package/mobile/dist/retail/validator/validatorObj.js.map +1 -1
  1571. package/mobile/dist/retail/validator/validators.d.ts +1 -0
  1572. package/mobile/dist/retail/validator/validators.js +3 -1
  1573. package/mobile/dist/retail/validator/validators.js.map +1 -1
  1574. package/mobile/dist/services/search/search.d.ts +2 -2
  1575. package/mobile/dist/services/search/search.js.map +1 -1
  1576. package/mobile/dist/services/search/textRank.d.ts +1 -1
  1577. package/mobile/dist/services/search/textRank.js.map +1 -1
  1578. package/mobile/dist/services/search/useSearch.js +8 -5
  1579. package/mobile/dist/services/search/useSearch.js.map +1 -1
  1580. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  1581. package/mobile/dist/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  1582. package/mobile/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  1583. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  1584. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -1
  1585. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  1586. package/mobile/dist/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  1587. package/mobile/dist/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
  1588. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  1589. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1590. package/mobile/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  1591. package/mobile/dist/ui-kit/Button/Button.d.ts +3 -3
  1592. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  1593. package/mobile/dist/ui-kit/Button/ButtonTitle.d.ts +2 -5
  1594. package/mobile/dist/ui-kit/Button/ButtonTitle.js.map +1 -1
  1595. package/mobile/dist/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  1596. package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
  1597. package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  1598. package/mobile/dist/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  1599. package/mobile/dist/ui-kit/Calculator/UnknownRate.js.map +1 -1
  1600. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  1601. package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  1602. package/mobile/dist/ui-kit/Calculator/renderRate.d.ts +2 -2
  1603. package/mobile/dist/ui-kit/Calculator/renderRate.js.map +1 -1
  1604. package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  1605. package/mobile/dist/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  1606. package/mobile/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
  1607. package/mobile/dist/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  1608. package/mobile/dist/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
  1609. package/mobile/dist/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  1610. package/mobile/dist/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  1611. package/mobile/dist/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  1612. package/mobile/dist/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
  1613. package/mobile/dist/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  1614. package/mobile/dist/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
  1615. package/mobile/dist/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  1616. package/mobile/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
  1617. package/mobile/dist/ui-kit/DialogManager/Dialog.d.ts +3 -3
  1618. package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
  1619. package/mobile/dist/ui-kit/DialogManager/useDialog.d.ts +2 -3
  1620. package/mobile/dist/ui-kit/DialogManager/useDialog.js.map +1 -1
  1621. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  1622. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  1623. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +2 -2
  1624. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  1625. package/mobile/dist/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  1626. package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
  1627. package/mobile/dist/ui-kit/FormField/getObjectValidator.js +1 -1
  1628. package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  1629. package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +2 -3
  1630. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  1631. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +2 -2
  1632. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +2 -2
  1633. package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  1634. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +2 -3
  1635. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  1636. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +4 -6
  1637. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1638. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  1639. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1640. package/mobile/dist/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  1641. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  1642. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  1643. package/mobile/dist/ui-kit/Input/InputControl.js +3 -19
  1644. package/mobile/dist/ui-kit/Input/InputControl.js.map +1 -1
  1645. package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -2
  1646. package/mobile/dist/ui-kit/Input/InputWrapper.d.ts +8 -0
  1647. package/mobile/dist/ui-kit/Input/InputWrapper.js +25 -0
  1648. package/mobile/dist/ui-kit/Input/InputWrapper.js.map +1 -0
  1649. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  1650. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  1651. package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  1652. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  1653. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  1654. package/mobile/dist/ui-kit/Link/Link.d.ts +2 -2
  1655. package/mobile/dist/ui-kit/Link/Link.js.map +1 -1
  1656. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
  1657. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  1658. package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  1659. package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  1660. package/mobile/dist/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  1661. package/mobile/dist/ui-kit/LinkButton/renderArrows.js.map +1 -1
  1662. package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  1663. package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
  1664. package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  1665. package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  1666. package/mobile/dist/ui-kit/ListControlProps.d.ts +1 -1
  1667. package/mobile/dist/ui-kit/Loader/Loader.d.ts +1 -1
  1668. package/mobile/dist/ui-kit/Loader/Loader.js.map +1 -1
  1669. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  1670. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  1671. package/mobile/dist/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  1672. package/mobile/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  1673. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  1674. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  1675. package/mobile/dist/ui-kit/Radio/RadioProps.d.ts +3 -4
  1676. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  1677. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1678. package/mobile/dist/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  1679. package/mobile/dist/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
  1680. package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  1681. package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  1682. package/mobile/dist/ui-kit/SVG.d.ts +2 -2
  1683. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  1684. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1685. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  1686. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  1687. package/mobile/dist/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  1688. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  1689. package/mobile/dist/ui-kit/Select/Option.d.ts +1 -1
  1690. package/mobile/dist/ui-kit/Select/Select.d.ts +1 -2
  1691. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  1692. package/mobile/dist/ui-kit/Select/SelectPopup.d.ts +2 -3
  1693. package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
  1694. package/mobile/dist/ui-kit/Select/useSelectPopup.d.ts +2 -2
  1695. package/mobile/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
  1696. package/mobile/dist/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  1697. package/mobile/dist/ui-kit/Shimmer/Shimmer.js.map +1 -1
  1698. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  1699. package/mobile/dist/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  1700. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  1701. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  1702. package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  1703. package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  1704. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  1705. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1706. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  1707. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1708. package/mobile/dist/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  1709. package/mobile/dist/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  1710. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  1711. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  1712. package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  1713. package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  1714. package/mobile/dist/ui-kit/TabsControl/TabItem.js +3 -2
  1715. package/mobile/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  1716. package/mobile/dist/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  1717. package/mobile/dist/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  1718. package/mobile/dist/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
  1719. package/mobile/dist/ui-kit/Tags/Tags.d.ts +2 -2
  1720. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  1721. package/mobile/dist/ui-kit/TimerCircle/Timer.d.ts +2 -2
  1722. package/mobile/dist/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  1723. package/mobile/dist/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
  1724. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +3 -3
  1725. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  1726. package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  1727. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  1728. package/mobile/dist/utils/adjustBase.js +4 -1
  1729. package/mobile/dist/utils/adjustBase.js.map +1 -1
  1730. package/mobile/dist/utils/isCyrilic.js +1 -1
  1731. package/mobile/dist/utils/isCyrilic.js.map +1 -1
  1732. package/mobile/lib/UniBlock/UniBlockProps.d.ts +2 -2
  1733. package/mobile/lib/common.css +1 -1
  1734. package/mobile/lib/components/ApplicationForm/Footnote.d.ts +1 -1
  1735. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  1736. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -7
  1737. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  1738. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  1739. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js +6 -1
  1740. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  1741. package/mobile/lib/components/ApplicationLeadForm/EsiaLoginBanner.d.ts +2 -1
  1742. package/mobile/lib/components/ApplicationLeadForm/EsiaLoginBanner.js +12 -6
  1743. package/mobile/lib/components/ApplicationLeadForm/EsiaLoginBanner.js.map +1 -1
  1744. package/mobile/lib/components/ApplicationLeadForm/Footnote.d.ts +1 -1
  1745. package/mobile/lib/components/ApplicationLeadForm/applicationFormData.js +0 -1
  1746. package/mobile/lib/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  1747. package/mobile/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
  1748. package/mobile/lib/components/ApplicationLeadForm/consents.js +0 -4
  1749. package/mobile/lib/components/ApplicationLeadForm/consents.js.map +1 -1
  1750. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +3 -0
  1751. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  1752. package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +3 -2
  1753. package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  1754. package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js +3 -13
  1755. package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  1756. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +15 -3
  1757. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  1758. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  1759. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js +15 -1
  1760. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  1761. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1762. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1763. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
  1764. package/mobile/lib/components/Blocks.js +0 -20
  1765. package/mobile/lib/components/Blocks.js.map +1 -1
  1766. package/mobile/lib/components/CalculatorBonus/CalculatorBonus.d.ts +0 -1
  1767. package/mobile/lib/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
  1768. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +2 -2
  1769. package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
  1770. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.d.ts +0 -1
  1771. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  1772. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +0 -1
  1773. package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
  1774. package/mobile/lib/components/CalculatorDeposit/renderDepositResult.d.ts +0 -1
  1775. package/mobile/lib/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
  1776. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.d.ts +0 -1
  1777. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  1778. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  1779. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -8
  1780. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1781. package/mobile/lib/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
  1782. package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
  1783. package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  1784. package/mobile/lib/components/Carousel/renderCardHighlight.d.ts +3 -4
  1785. package/mobile/lib/components/Carousel/renderCardHighlight.js.map +1 -1
  1786. package/mobile/lib/components/Carousel/renderCarouselCards.js +2 -2
  1787. package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  1788. package/mobile/lib/components/ContentPage/ContentPage.d.ts +2 -2
  1789. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  1790. package/mobile/lib/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
  1791. package/mobile/lib/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
  1792. package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js +244 -2
  1793. package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
  1794. package/mobile/lib/components/CreditCardForm/formStateMap.js +2 -2
  1795. package/mobile/lib/components/CreditCardForm/formStateMap.js.map +1 -1
  1796. package/mobile/lib/components/CreditForm/CreditForm.js +1 -2
  1797. package/mobile/lib/components/CreditForm/CreditForm.js.map +1 -1
  1798. package/mobile/lib/components/CreditForm/SuccessStatusContent.js +1 -1
  1799. package/mobile/lib/components/CreditForm/SuccessStatusContent.js.map +1 -1
  1800. package/mobile/lib/components/CreditForm/creditFormStepsData.js +191 -2
  1801. package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
  1802. package/mobile/lib/components/CreditForm/formStateMap.js +2 -2
  1803. package/mobile/lib/components/CreditForm/formStateMap.js.map +1 -1
  1804. package/mobile/lib/components/CreditForm/getCalcData.js +1 -1
  1805. package/mobile/lib/components/CreditForm/getCalcData.js.map +1 -1
  1806. package/mobile/lib/components/CreditForm/useCreditFormAPI.js +1 -1
  1807. package/mobile/lib/components/DebitForm/DebitFormStatus.d.ts +2 -4
  1808. package/mobile/lib/components/DebitForm/DebitFormStatus.js.map +1 -1
  1809. package/mobile/lib/components/DebitForm/DebitFormStepsData.js +70 -2
  1810. package/mobile/lib/components/DebitForm/DebitFormStepsData.js.map +1 -1
  1811. package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
  1812. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  1813. package/mobile/lib/components/Footer/FooterLink.d.ts +2 -2
  1814. package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
  1815. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  1816. package/mobile/lib/components/Footer/LinkList.d.ts +2 -2
  1817. package/mobile/lib/components/Footer/LinkList.js.map +1 -1
  1818. package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -2
  1819. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  1820. package/mobile/lib/components/Footer/TextInformationLink.js +1 -1
  1821. package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
  1822. package/mobile/lib/components/GalleryLayout/GalleryLayout.js +12 -27
  1823. package/mobile/lib/components/GalleryLayout/GalleryLayout.js.map +1 -1
  1824. package/mobile/lib/components/GalleryLayout/useSortProductBlocks.d.ts +2 -0
  1825. package/mobile/lib/components/GalleryLayout/useSortProductBlocks.js +18 -0
  1826. package/mobile/lib/components/GalleryLayout/useSortProductBlocks.js.map +1 -0
  1827. package/mobile/lib/components/GalleryLayout/utils.d.ts +29 -0
  1828. package/mobile/lib/components/GalleryLayout/utils.js +25 -0
  1829. package/mobile/lib/components/GalleryLayout/utils.js.map +1 -0
  1830. package/mobile/lib/components/Header/DropdownMenu.d.ts +2 -2
  1831. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  1832. package/mobile/lib/components/Header/HeaderChatBotButton.d.ts +2 -3
  1833. package/mobile/lib/components/Header/HeaderChatBotButton.js +15 -4
  1834. package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  1835. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  1836. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -2
  1837. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  1838. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +3 -3
  1839. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  1840. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
  1841. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1842. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +2 -2
  1843. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  1844. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  1845. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  1846. package/mobile/lib/components/Header/HeaderTopMenu.d.ts +2 -2
  1847. package/mobile/lib/components/Header/HeaderTopMenu.js +1 -1
  1848. package/mobile/lib/components/Header/HeaderTopMenu.js.map +1 -1
  1849. package/mobile/lib/components/Header/HeaderTopMenuItem.d.ts +2 -2
  1850. package/mobile/lib/components/Header/HeaderTopMenuItem.js.map +1 -1
  1851. package/mobile/lib/components/Headline/Headline.js +1 -1
  1852. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  1853. package/mobile/lib/components/OfficesAtmsMap/AtmsMap.d.ts +2 -2
  1854. package/mobile/lib/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
  1855. package/mobile/lib/components/OfficesAtmsMap/Badge.d.ts +2 -2
  1856. package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -1
  1857. package/mobile/lib/components/OfficesAtmsMap/CardCell.d.ts +3 -3
  1858. package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -1
  1859. package/mobile/lib/components/OfficesAtmsMap/CardRow.d.ts +2 -4
  1860. package/mobile/lib/components/OfficesAtmsMap/CardRow.js.map +1 -1
  1861. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +3 -3
  1862. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  1863. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
  1864. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.d.ts +2 -4
  1865. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  1866. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
  1867. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  1868. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  1869. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  1870. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -1
  1871. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
  1872. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1873. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
  1874. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  1875. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +3 -3
  1876. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
  1877. package/mobile/lib/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
  1878. package/mobile/lib/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
  1879. package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
  1880. package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
  1881. package/mobile/lib/components/TabsLayout/renderTabsLayout.d.ts +2 -2
  1882. package/mobile/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
  1883. package/mobile/lib/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  1884. package/mobile/lib/components/TariffsTable/TableCarouselContainer.js +1 -1
  1885. package/mobile/lib/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  1886. package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  1887. package/mobile/lib/components/TariffsTable/TariffsTable.js +4 -11
  1888. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  1889. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  1890. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +14 -4
  1891. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1892. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -69
  1893. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  1894. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +6 -10
  1895. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1896. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  1897. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -2
  1898. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  1899. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  1900. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js +2 -10
  1901. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  1902. package/mobile/lib/components/TariffsTable/dataFixture.js +1 -14
  1903. package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
  1904. package/mobile/lib/components/TariffsTable/renderCell.d.ts +2 -0
  1905. package/mobile/lib/components/TariffsTable/renderCell.js +12 -0
  1906. package/mobile/lib/components/TariffsTable/renderCell.js.map +1 -0
  1907. package/mobile/lib/components/TariffsTable/renderHeader.d.ts +2 -0
  1908. package/mobile/lib/components/TariffsTable/renderHeader.js +7 -0
  1909. package/mobile/lib/components/TariffsTable/renderHeader.js.map +1 -0
  1910. package/mobile/lib/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  1911. package/mobile/lib/components/TariffsTable/renderInnerTableCell.js +1 -0
  1912. package/mobile/lib/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  1913. package/mobile/lib/data/CommonData.d.ts +4 -4
  1914. package/mobile/lib/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
  1915. package/mobile/lib/hooks/useAspects/aspects/forwardQuery.js +1 -1
  1916. package/mobile/lib/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
  1917. package/mobile/lib/hooks/useAspects/handleAspects.d.ts +1 -1
  1918. package/mobile/lib/hooks/useAspects/handleAspects.js +5 -2
  1919. package/mobile/lib/hooks/useAspects/handleAspects.js.map +1 -1
  1920. package/mobile/lib/hooks/useAspects/useAspects.d.ts +1 -1
  1921. package/mobile/lib/hooks/useForm/useForm.d.ts +1 -1
  1922. package/mobile/lib/hooks/useLink.js +2 -1
  1923. package/mobile/lib/hooks/useLink.js.map +1 -1
  1924. package/mobile/lib/model/CommonInputProps.d.ts +7 -0
  1925. package/mobile/lib/model/CommonInputProps.js +2 -0
  1926. package/mobile/lib/model/CommonInputProps.js.map +1 -0
  1927. package/mobile/lib/model/ComponentType.d.ts +4 -0
  1928. package/mobile/lib/model/ComponentType.js +2 -0
  1929. package/mobile/lib/model/ComponentType.js.map +1 -0
  1930. package/mobile/lib/model/ContentPageBase.d.ts +2 -3
  1931. package/mobile/lib/model/ControlProps.js.map +1 -0
  1932. package/mobile/lib/model/DefaultControlType.d.ts +5 -5
  1933. package/mobile/lib/model/DisabledProps.d.ts +3 -0
  1934. package/mobile/lib/model/DisabledProps.js +2 -0
  1935. package/mobile/lib/model/DisabledProps.js.map +1 -0
  1936. package/mobile/lib/model/LinkProps.d.ts +1 -1
  1937. package/mobile/lib/model/OnClickProps.d.ts +3 -0
  1938. package/mobile/lib/model/OnClickProps.js +2 -0
  1939. package/mobile/lib/model/OnClickProps.js.map +1 -0
  1940. package/mobile/lib/model/OnCloseProps.d.ts +3 -0
  1941. package/mobile/lib/model/OnCloseProps.js +2 -0
  1942. package/mobile/lib/model/OnCloseProps.js.map +1 -0
  1943. package/mobile/lib/model/Picture.d.ts +2 -2
  1944. package/mobile/lib/model/PlaceholderProps.d.ts +3 -0
  1945. package/mobile/lib/model/PlaceholderProps.js +2 -0
  1946. package/mobile/lib/model/PlaceholderProps.js.map +1 -0
  1947. package/mobile/lib/model/onClick.d.ts +3 -0
  1948. package/mobile/lib/model/onClick.js +2 -0
  1949. package/mobile/lib/model/onClick.js.map +1 -0
  1950. package/mobile/lib/model/onClose.d.ts +3 -0
  1951. package/mobile/lib/model/onClose.js +2 -0
  1952. package/mobile/lib/model/onClose.js.map +1 -0
  1953. package/mobile/lib/retail/adaptors/getCreditFormTaskData.js +0 -3
  1954. package/mobile/lib/retail/adaptors/getCreditFormTaskData.js.map +1 -1
  1955. package/mobile/lib/retail/adaptors/getEmploymentData.js +3 -3
  1956. package/mobile/lib/retail/adaptors/getEmploymentData.js.map +1 -1
  1957. package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +2 -1
  1958. package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  1959. package/mobile/lib/retail/adaptors/getPersonalInfoData.js +4 -2
  1960. package/mobile/lib/retail/adaptors/getPersonalInfoData.js.map +1 -1
  1961. package/mobile/lib/retail/api/getCardTypes.d.ts +2 -2
  1962. package/mobile/lib/retail/api/getCardTypes.js.map +1 -1
  1963. package/mobile/lib/retail/api/saveReferalInfo.d.ts +7 -0
  1964. package/mobile/lib/retail/api/saveReferalInfo.js +3 -0
  1965. package/mobile/lib/retail/api/saveReferalInfo.js.map +1 -0
  1966. package/mobile/lib/retail/api/updateUserTask.d.ts +1 -1
  1967. package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
  1968. package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  1969. package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  1970. package/mobile/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
  1971. package/mobile/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
  1972. package/mobile/lib/retail/components/DaDataInputControl/DaDataInputControl.js +4 -19
  1973. package/mobile/lib/retail/components/DaDataInputControl/DaDataInputControl.js.map +1 -1
  1974. package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
  1975. package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
  1976. package/mobile/lib/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
  1977. package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js +1 -1
  1978. package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  1979. package/mobile/lib/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
  1980. package/mobile/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
  1981. package/mobile/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  1982. package/mobile/lib/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
  1983. package/mobile/lib/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
  1984. package/mobile/lib/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
  1985. package/mobile/lib/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
  1986. package/mobile/lib/retail/components/Fields/BeginDateField.js +1 -1
  1987. package/mobile/lib/retail/components/Fields/BeginDateField.js.map +1 -1
  1988. package/mobile/lib/retail/components/Fields/DaDataInnField.js +10 -3
  1989. package/mobile/lib/retail/components/Fields/DaDataInnField.js.map +1 -1
  1990. package/mobile/lib/retail/components/Fields/InitiateBankruptcyFlgField.d.ts +2 -0
  1991. package/mobile/lib/retail/components/Fields/InitiateBankruptcyFlgField.js +5 -0
  1992. package/mobile/lib/retail/components/Fields/InitiateBankruptcyFlgField.js.map +1 -0
  1993. package/mobile/lib/retail/components/Fields/ParticipantDateRegistrationField.js +1 -1
  1994. package/mobile/lib/retail/components/Fields/ParticipantDateRegistrationField.js.map +1 -1
  1995. package/mobile/lib/retail/components/Fields/RegionRetailField.js +8 -3
  1996. package/mobile/lib/retail/components/Fields/RegionRetailField.js.map +1 -1
  1997. package/mobile/lib/retail/components/Fields/SelectField.d.ts +4 -4
  1998. package/mobile/lib/retail/components/Fields/SelectField.js.map +1 -1
  1999. package/mobile/lib/retail/components/FormStatus/FormStatus.d.ts +2 -4
  2000. package/mobile/lib/retail/components/FormStatus/FormStatus.js.map +1 -1
  2001. package/mobile/lib/retail/components/VerifyPhoneDialog/SubmitButton.d.ts +2 -2
  2002. package/mobile/lib/retail/components/VerifyPhoneDialog/SubmitButton.js +1 -3
  2003. package/mobile/lib/retail/components/VerifyPhoneDialog/SubmitButton.js.map +1 -1
  2004. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
  2005. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -2
  2006. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  2007. package/mobile/lib/retail/content.d.ts +2 -8
  2008. package/mobile/lib/retail/content.js +2 -350
  2009. package/mobile/lib/retail/content.js.map +1 -1
  2010. package/mobile/lib/retail/inputs.d.ts +1 -1
  2011. package/mobile/lib/retail/inputs.js +2 -1
  2012. package/mobile/lib/retail/inputs.js.map +1 -1
  2013. package/mobile/lib/retail/model/LeadFormData.d.ts +2 -2
  2014. package/mobile/lib/retail/model/LeadFormState.d.ts +7 -2
  2015. package/mobile/lib/retail/model/NameFieldDef.d.ts +1 -1
  2016. package/mobile/lib/retail/model/RetailFormContent.d.ts +2 -2
  2017. package/mobile/lib/retail/utils/calculateInputs.js +2 -0
  2018. package/mobile/lib/retail/utils/calculateInputs.js.map +1 -1
  2019. package/mobile/lib/retail/utils/getMainFormStateMap.d.ts +2 -0
  2020. package/mobile/lib/retail/utils/getMainFormStateMap.js +67 -0
  2021. package/mobile/lib/retail/utils/getMainFormStateMap.js.map +1 -0
  2022. package/mobile/lib/retail/utils/getOrganizationParams.d.ts +1 -1
  2023. package/mobile/lib/retail/utils/getOrganizationParams.js.map +1 -1
  2024. package/mobile/lib/retail/utils/renderStep.js +8 -2
  2025. package/mobile/lib/retail/utils/renderStep.js.map +1 -1
  2026. package/mobile/lib/retail/validator/validatorObj.js +3 -3
  2027. package/mobile/lib/retail/validator/validatorObj.js.map +1 -1
  2028. package/mobile/lib/retail/validator/validators.d.ts +1 -0
  2029. package/mobile/lib/retail/validator/validators.js +1 -0
  2030. package/mobile/lib/retail/validator/validators.js.map +1 -1
  2031. package/mobile/lib/services/search/search.d.ts +2 -2
  2032. package/mobile/lib/services/search/search.js.map +1 -1
  2033. package/mobile/lib/services/search/textRank.d.ts +1 -1
  2034. package/mobile/lib/services/search/textRank.js.map +1 -1
  2035. package/mobile/lib/services/search/useSearch.js +8 -5
  2036. package/mobile/lib/services/search/useSearch.js.map +1 -1
  2037. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
  2038. package/mobile/lib/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
  2039. package/mobile/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
  2040. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -5
  2041. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -1
  2042. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  2043. package/mobile/lib/ui-kit/BaseTile/renderImageContainer.d.ts +2 -2
  2044. package/mobile/lib/ui-kit/BaseTile/renderImageContainer.js.map +1 -1
  2045. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +2 -2
  2046. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  2047. package/mobile/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +2 -2
  2048. package/mobile/lib/ui-kit/Button/Button.d.ts +3 -3
  2049. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  2050. package/mobile/lib/ui-kit/Button/ButtonTitle.d.ts +2 -5
  2051. package/mobile/lib/ui-kit/Button/ButtonTitle.js.map +1 -1
  2052. package/mobile/lib/ui-kit/Calculator/CalculatorProps.d.ts +2 -3
  2053. package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
  2054. package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  2055. package/mobile/lib/ui-kit/Calculator/UnknownRate.d.ts +2 -4
  2056. package/mobile/lib/ui-kit/Calculator/UnknownRate.js.map +1 -1
  2057. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +5 -6
  2058. package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  2059. package/mobile/lib/ui-kit/Calculator/renderRate.d.ts +2 -2
  2060. package/mobile/lib/ui-kit/Calculator/renderRate.js.map +1 -1
  2061. package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -7
  2062. package/mobile/lib/ui-kit/DatePicker/DatePicker.d.ts +4 -4
  2063. package/mobile/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
  2064. package/mobile/lib/ui-kit/DatePicker/DatePickerControl.d.ts +2 -1
  2065. package/mobile/lib/ui-kit/DatePicker/DatePickerControl.js.map +1 -1
  2066. package/mobile/lib/ui-kit/DatePicker/DatePickerInput.d.ts +4 -4
  2067. package/mobile/lib/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  2068. package/mobile/lib/ui-kit/DatePicker/renderDatePickerForm.d.ts +3 -4
  2069. package/mobile/lib/ui-kit/DatePicker/renderDatePickerForm.js.map +1 -1
  2070. package/mobile/lib/ui-kit/DatePicker/useDatePickerManager.d.ts +2 -3
  2071. package/mobile/lib/ui-kit/DatePicker/useDatePickerManager.js.map +1 -1
  2072. package/mobile/lib/ui-kit/DialogManager/CloseButton.d.ts +2 -2
  2073. package/mobile/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
  2074. package/mobile/lib/ui-kit/DialogManager/Dialog.d.ts +3 -3
  2075. package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
  2076. package/mobile/lib/ui-kit/DialogManager/useDialog.d.ts +2 -3
  2077. package/mobile/lib/ui-kit/DialogManager/useDialog.js.map +1 -1
  2078. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
  2079. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  2080. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +2 -2
  2081. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  2082. package/mobile/lib/ui-kit/Foldable/FoldableSection.d.ts +2 -2
  2083. package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
  2084. package/mobile/lib/ui-kit/FormField/getObjectValidator.js +1 -1
  2085. package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  2086. package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +2 -3
  2087. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  2088. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +2 -2
  2089. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +2 -2
  2090. package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -2
  2091. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +2 -3
  2092. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  2093. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +4 -6
  2094. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  2095. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -4
  2096. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  2097. package/mobile/lib/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  2098. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  2099. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  2100. package/mobile/lib/ui-kit/Input/InputControl.js +4 -20
  2101. package/mobile/lib/ui-kit/Input/InputControl.js.map +1 -1
  2102. package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -2
  2103. package/mobile/lib/ui-kit/Input/InputWrapper.d.ts +8 -0
  2104. package/mobile/lib/ui-kit/Input/InputWrapper.js +23 -0
  2105. package/mobile/lib/ui-kit/Input/InputWrapper.js.map +1 -0
  2106. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  2107. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  2108. package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +3 -3
  2109. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.d.ts +3 -4
  2110. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -1
  2111. package/mobile/lib/ui-kit/Link/Link.d.ts +2 -2
  2112. package/mobile/lib/ui-kit/Link/Link.js.map +1 -1
  2113. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
  2114. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  2115. package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +2 -2
  2116. package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +6 -6
  2117. package/mobile/lib/ui-kit/LinkButton/renderArrows.d.ts +3 -3
  2118. package/mobile/lib/ui-kit/LinkButton/renderArrows.js.map +1 -1
  2119. package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +2 -2
  2120. package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -1
  2121. package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +4 -7
  2122. package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  2123. package/mobile/lib/ui-kit/ListControlProps.d.ts +1 -1
  2124. package/mobile/lib/ui-kit/Loader/Loader.d.ts +1 -1
  2125. package/mobile/lib/ui-kit/Loader/Loader.js.map +1 -1
  2126. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
  2127. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  2128. package/mobile/lib/ui-kit/LocationDialog/SearchBar.d.ts +2 -2
  2129. package/mobile/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  2130. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
  2131. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  2132. package/mobile/lib/ui-kit/Radio/RadioProps.d.ts +3 -4
  2133. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -3
  2134. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  2135. package/mobile/lib/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
  2136. package/mobile/lib/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
  2137. package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
  2138. package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  2139. package/mobile/lib/ui-kit/SVG.d.ts +2 -2
  2140. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  2141. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  2142. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
  2143. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  2144. package/mobile/lib/ui-kit/SearchDialog/SearchInput.d.ts +4 -5
  2145. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  2146. package/mobile/lib/ui-kit/Select/Option.d.ts +1 -1
  2147. package/mobile/lib/ui-kit/Select/Select.d.ts +1 -2
  2148. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  2149. package/mobile/lib/ui-kit/Select/SelectPopup.d.ts +2 -3
  2150. package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
  2151. package/mobile/lib/ui-kit/Select/useSelectPopup.d.ts +2 -2
  2152. package/mobile/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
  2153. package/mobile/lib/ui-kit/Shimmer/Shimmer.d.ts +2 -2
  2154. package/mobile/lib/ui-kit/Shimmer/Shimmer.js.map +1 -1
  2155. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  2156. package/mobile/lib/ui-kit/Sitemap/SitemapProps.d.ts +2 -2
  2157. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +3 -4
  2158. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  2159. package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +3 -3
  2160. package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  2161. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -2
  2162. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  2163. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -2
  2164. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  2165. package/mobile/lib/ui-kit/SwipeListControl/SwipeListDots.d.ts +2 -2
  2166. package/mobile/lib/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  2167. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.d.ts +2 -2
  2168. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  2169. package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +2 -2
  2170. package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  2171. package/mobile/lib/ui-kit/TabsControl/TabItem.js +3 -2
  2172. package/mobile/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  2173. package/mobile/lib/ui-kit/TabsControl/TabsControlProps.d.ts +2 -2
  2174. package/mobile/lib/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
  2175. package/mobile/lib/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
  2176. package/mobile/lib/ui-kit/Tags/Tags.d.ts +2 -2
  2177. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  2178. package/mobile/lib/ui-kit/TimerCircle/Timer.d.ts +2 -2
  2179. package/mobile/lib/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
  2180. package/mobile/lib/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
  2181. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +3 -3
  2182. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  2183. package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +2 -2
  2184. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  2185. package/mobile/lib/utils/adjustBase.js +4 -1
  2186. package/mobile/lib/utils/adjustBase.js.map +1 -1
  2187. package/mobile/lib/utils/isCyrilic.js +1 -1
  2188. package/mobile/lib/utils/isCyrilic.js.map +1 -1
  2189. package/mobile/src/UniBlock/UniBlockProps.ts +2 -2
  2190. package/mobile/src/components/ApplicationForm/Footnote.tsx +1 -1
  2191. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +6 -8
  2192. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +6 -0
  2193. package/mobile/src/components/ApplicationLeadForm/EsiaLoginBanner.tsx +12 -7
  2194. package/mobile/src/components/ApplicationLeadForm/Footnote.tsx +1 -1
  2195. package/mobile/src/components/ApplicationLeadForm/applicationFormData.tsx +0 -1
  2196. package/mobile/src/components/ApplicationLeadForm/consents.ts +2 -6
  2197. package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +3 -0
  2198. package/mobile/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +3 -2
  2199. package/mobile/src/components/ApplicationLeadForm/parseEsiaProfile.ts +3 -13
  2200. package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +14 -3
  2201. package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +20 -2
  2202. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  2203. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -1
  2204. package/mobile/src/components/Blocks.ts +0 -20
  2205. package/mobile/src/components/CalculatorBonus/CalculatorBonus.tsx +0 -1
  2206. package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +3 -3
  2207. package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -1
  2208. package/mobile/src/components/CalculatorDeposit/CalculatorDeposit.tsx +0 -1
  2209. package/mobile/src/components/CalculatorDeposit/renderDepositResult.tsx +0 -1
  2210. package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
  2211. package/mobile/src/components/CardTransfer/CardTransfer.tsx +5 -18
  2212. package/mobile/src/components/CardTransfer/SubmitFailedDialog.tsx +4 -4
  2213. package/mobile/src/components/Carousel/renderCardHighlight.tsx +3 -4
  2214. package/mobile/src/components/Carousel/renderCarouselCards.tsx +2 -6
  2215. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
  2216. package/mobile/src/components/CreditCardForm/SuccessStatusCardContent.tsx +1 -1
  2217. package/mobile/src/components/CreditCardForm/creditCardFormStepsData.tsx +246 -6
  2218. package/mobile/src/components/CreditCardForm/formStateMap.tsx +2 -2
  2219. package/mobile/src/components/CreditForm/CreditForm.tsx +1 -2
  2220. package/mobile/src/components/CreditForm/SuccessStatusContent.tsx +1 -1
  2221. package/mobile/src/components/CreditForm/creditFormStepsData.tsx +194 -6
  2222. package/mobile/src/components/CreditForm/formStateMap.tsx +2 -2
  2223. package/mobile/src/components/CreditForm/getCalcData.ts +1 -1
  2224. package/mobile/src/components/CreditForm/useCreditFormAPI.tsx +1 -1
  2225. package/mobile/src/components/DebitForm/DebitFormStatus.tsx +9 -10
  2226. package/mobile/src/components/DebitForm/DebitFormStepsData.tsx +71 -6
  2227. package/mobile/src/components/Footer/Contacts.tsx +2 -2
  2228. package/mobile/src/components/Footer/FooterLink.ts +2 -2
  2229. package/mobile/src/components/Footer/HorizontalNavigation.tsx +1 -1
  2230. package/mobile/src/components/Footer/LinkList.tsx +2 -2
  2231. package/mobile/src/components/Footer/SocialMedia.tsx +2 -2
  2232. package/mobile/src/components/Footer/TextInformationLink.tsx +1 -1
  2233. package/mobile/src/components/GalleryLayout/GalleryLayout.tsx +33 -51
  2234. package/mobile/src/components/GalleryLayout/useSortProductBlocks.ts +25 -0
  2235. package/mobile/src/components/GalleryLayout/utils.ts +35 -0
  2236. package/mobile/src/components/Header/DropdownMenu.tsx +2 -2
  2237. package/mobile/src/components/Header/HeaderChatBotButton.tsx +20 -14
  2238. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +11 -13
  2239. package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +7 -3
  2240. package/mobile/src/components/Header/HeaderSubMenu.tsx +0 -1
  2241. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -2
  2242. package/mobile/src/components/Header/HeaderTop.tsx +1 -6
  2243. package/mobile/src/components/Header/HeaderTopMenu.tsx +3 -7
  2244. package/mobile/src/components/Header/HeaderTopMenuItem.tsx +2 -2
  2245. package/mobile/src/components/Headline/Headline.tsx +1 -1
  2246. package/mobile/src/components/OfficesAtmsMap/AtmsMap.tsx +2 -2
  2247. package/mobile/src/components/OfficesAtmsMap/Badge.tsx +2 -2
  2248. package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +3 -3
  2249. package/mobile/src/components/OfficesAtmsMap/CardRow.tsx +2 -5
  2250. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +3 -3
  2251. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -4
  2252. package/mobile/src/components/OfficesAtmsMap/OfficesMap.tsx +2 -5
  2253. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -11
  2254. package/mobile/src/components/ProductBlock/ProductBlock.tsx +0 -1
  2255. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
  2256. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +1 -1
  2257. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -2
  2258. package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +2 -2
  2259. package/mobile/src/components/StickyBottomMenu/StickyBottomMenuDialog.tsx +3 -3
  2260. package/mobile/src/components/StickyBottomMenu/useBottomMenuItemDialog.tsx +2 -2
  2261. package/mobile/src/components/StickyBottomMenu/useBurgerMenuDialog.tsx +2 -2
  2262. package/mobile/src/components/TabsLayout/renderTabsLayout.tsx +2 -2
  2263. package/mobile/src/components/TariffsTable/TableCarouselContainer.tsx +3 -10
  2264. package/mobile/src/components/TariffsTable/TariffsTable.example.json +1 -34
  2265. package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -13
  2266. package/mobile/src/components/TariffsTable/TariffsTable.ui.json +0 -3
  2267. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +37 -35
  2268. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +8 -85
  2269. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +9 -49
  2270. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +7 -13
  2271. package/mobile/src/components/TariffsTable/TariffsTableWrapper.tsx +5 -25
  2272. package/mobile/src/components/TariffsTable/dataFixture.tsx +9 -22
  2273. package/mobile/src/components/TariffsTable/renderCell.tsx +42 -0
  2274. package/mobile/src/components/TariffsTable/renderHeader.tsx +19 -0
  2275. package/mobile/src/components/TariffsTable/renderInnerTableCell.tsx +0 -0
  2276. package/mobile/src/data/CommonData.ts +4 -3
  2277. package/mobile/src/hooks/useAspects/aspects/forwardQuery.ts +1 -1
  2278. package/mobile/src/hooks/useAspects/handleAspects.ts +6 -2
  2279. package/mobile/src/hooks/useAspects/useAspects.ts +1 -1
  2280. package/mobile/src/hooks/useForm/useForm.ts +1 -1
  2281. package/mobile/src/hooks/useLink.ts +3 -1
  2282. package/mobile/src/model/CommonInputProps.ts +12 -0
  2283. package/mobile/src/model/ComponentType.ts +4 -0
  2284. package/mobile/src/model/ContentPageBase.ts +2 -3
  2285. package/mobile/src/model/DefaultControlType.ts +10 -5
  2286. package/mobile/src/model/DisabledProps.ts +3 -0
  2287. package/mobile/src/model/LinkProps.ts +1 -1
  2288. package/mobile/src/model/OnClickProps.ts +3 -0
  2289. package/mobile/src/model/OnCloseProps.ts +3 -0
  2290. package/mobile/src/model/Picture.ts +2 -2
  2291. package/mobile/src/model/PlaceholderProps.ts +3 -0
  2292. package/mobile/src/model/onClick.ts +3 -0
  2293. package/mobile/src/model/onClose.ts +3 -0
  2294. package/mobile/src/retail/adaptors/getCreditFormTaskData.ts +0 -3
  2295. package/mobile/src/retail/adaptors/getEmploymentData.tsx +3 -3
  2296. package/mobile/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +2 -0
  2297. package/mobile/src/retail/adaptors/getPersonalInfoData.tsx +4 -2
  2298. package/mobile/src/retail/api/getCardTypes.ts +2 -2
  2299. package/mobile/src/retail/api/saveReferalInfo.ts +11 -0
  2300. package/mobile/src/retail/api/updateUserTask.ts +1 -1
  2301. package/mobile/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +6 -6
  2302. package/mobile/src/retail/components/ConsentBkiDialog/ConsentBkiDialog.tsx +2 -2
  2303. package/mobile/src/retail/components/DaDataInputControl/DaDataInputControl.tsx +11 -57
  2304. package/mobile/src/retail/components/DocumentDialog/DocumentDialog.tsx +2 -2
  2305. package/mobile/src/retail/components/DraftDialog/DraftActionButton.tsx +12 -9
  2306. package/mobile/src/retail/components/DraftDialog/DraftDialog.tsx +3 -3
  2307. package/mobile/src/retail/components/DraftDialog/EmptyDraftDialog.tsx +2 -5
  2308. package/mobile/src/retail/components/DraftDialog/useDraftDialog.tsx +2 -2
  2309. package/mobile/src/retail/components/Fields/BeginDateField.tsx +1 -0
  2310. package/mobile/src/retail/components/Fields/DaDataInnField.tsx +14 -6
  2311. package/mobile/src/retail/components/Fields/InitiateBankruptcyFlgField.tsx +10 -0
  2312. package/mobile/src/retail/components/Fields/ParticipantDateRegistrationField.tsx +5 -1
  2313. package/mobile/src/retail/components/Fields/RegionRetailField.tsx +12 -3
  2314. package/mobile/src/retail/components/Fields/SelectField.tsx +9 -4
  2315. package/mobile/src/retail/components/FormStatus/FormStatus.tsx +17 -14
  2316. package/mobile/src/retail/components/VerifyPhoneDialog/SubmitButton.tsx +7 -9
  2317. package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +5 -5
  2318. package/mobile/src/retail/content.tsx +3 -352
  2319. package/mobile/src/retail/inputs.tsx +2 -1
  2320. package/mobile/src/retail/model/LeadFormData.ts +3 -2
  2321. package/mobile/src/retail/model/LeadFormState.ts +7 -2
  2322. package/mobile/src/retail/model/NameFieldDef.ts +1 -0
  2323. package/mobile/src/retail/model/RetailFormContent.ts +3 -2
  2324. package/mobile/src/retail/utils/calculateInputs.ts +4 -0
  2325. package/mobile/src/retail/utils/getMainFormStateMap.ts +68 -0
  2326. package/mobile/src/retail/utils/getOrganizationParams.ts +1 -1
  2327. package/mobile/src/retail/utils/renderStep.tsx +9 -4
  2328. package/mobile/src/retail/validator/validatorObj.ts +3 -2
  2329. package/mobile/src/retail/validator/validators.ts +3 -0
  2330. package/mobile/src/services/search/search.ts +2 -2
  2331. package/mobile/src/services/search/textRank.ts +1 -1
  2332. package/mobile/src/services/search/useSearch.ts +33 -22
  2333. package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationContent.ts +1 -1
  2334. package/mobile/src/ui-kit/BaseFiltration/FiltrationSchemaContent.ts +1 -7
  2335. package/mobile/src/ui-kit/BaseFiltration/HotFilterBase.ts +1 -1
  2336. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -5
  2337. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +1 -1
  2338. package/mobile/src/ui-kit/BaseTile/renderImageContainer.tsx +2 -1
  2339. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -4
  2340. package/mobile/src/ui-kit/BenefitsList/BenefitsListProps.ts +2 -2
  2341. package/mobile/src/ui-kit/Button/Button.tsx +3 -3
  2342. package/mobile/src/ui-kit/Button/ButtonTitle.tsx +2 -5
  2343. package/mobile/src/ui-kit/Calculator/CalculatorProps.ts +2 -3
  2344. package/mobile/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
  2345. package/mobile/src/ui-kit/Calculator/UnknownRate.tsx +2 -5
  2346. package/mobile/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +9 -6
  2347. package/mobile/src/ui-kit/Calculator/renderRate.tsx +3 -2
  2348. package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +3 -7
  2349. package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +4 -4
  2350. package/mobile/src/ui-kit/DatePicker/DatePickerControl.tsx +2 -1
  2351. package/mobile/src/ui-kit/DatePicker/DatePickerInput.tsx +4 -4
  2352. package/mobile/src/ui-kit/DatePicker/renderDatePickerForm.tsx +9 -9
  2353. package/mobile/src/ui-kit/DatePicker/useDatePickerManager.ts +3 -6
  2354. package/mobile/src/ui-kit/DialogManager/CloseButton.tsx +2 -2
  2355. package/mobile/src/ui-kit/DialogManager/Dialog.tsx +3 -3
  2356. package/mobile/src/ui-kit/DialogManager/useDialog.tsx +2 -1
  2357. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
  2358. package/mobile/src/ui-kit/Foldable/Foldable.tsx +2 -3
  2359. package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +2 -2
  2360. package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
  2361. package/mobile/src/ui-kit/Heading/HeadingProps.ts +2 -4
  2362. package/mobile/src/ui-kit/Icon/Icon.tsx +2 -1
  2363. package/mobile/src/ui-kit/Icon/IconProps.ts +7 -6
  2364. package/mobile/src/ui-kit/Img/ImgProps.ts +2 -2
  2365. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +4 -8
  2366. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +19 -21
  2367. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +5 -5
  2368. package/mobile/src/ui-kit/InnerTable/InnerTableProps.ts +2 -4
  2369. package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
  2370. package/mobile/src/ui-kit/Input/InputControl.tsx +5 -68
  2371. package/mobile/src/ui-kit/Input/InputProps.ts +2 -2
  2372. package/mobile/src/ui-kit/Input/InputWrapper.tsx +78 -0
  2373. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
  2374. package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +3 -3
  2375. package/mobile/src/ui-kit/InputRange/renderRangeWithTicks.tsx +3 -4
  2376. package/mobile/src/ui-kit/Link/Link.tsx +2 -2
  2377. package/mobile/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
  2378. package/mobile/src/ui-kit/LinkButton/GetButtonClassParams.ts +2 -2
  2379. package/mobile/src/ui-kit/LinkButton/LinkButtonProps.ts +6 -6
  2380. package/mobile/src/ui-kit/LinkButton/renderArrows.tsx +10 -9
  2381. package/mobile/src/ui-kit/LinkButton/renderButtonsSection.tsx +2 -2
  2382. package/mobile/src/ui-kit/LinkWrapper/LinkWrapper.tsx +4 -8
  2383. package/mobile/src/ui-kit/ListControlProps.ts +1 -1
  2384. package/mobile/src/ui-kit/Loader/Loader.tsx +1 -1
  2385. package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +2 -2
  2386. package/mobile/src/ui-kit/LocationDialog/SearchBar.tsx +2 -2
  2387. package/mobile/src/ui-kit/ProgressBar/ProgressBar.tsx +3 -3
  2388. package/mobile/src/ui-kit/Radio/RadioProps.ts +4 -4
  2389. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -3
  2390. package/mobile/src/ui-kit/ReportDialog/ReportDialog.tsx +2 -2
  2391. package/mobile/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +2 -2
  2392. package/mobile/src/ui-kit/SVG.tsx +2 -2
  2393. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  2394. package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +2 -2
  2395. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +4 -5
  2396. package/mobile/src/ui-kit/Select/Option.ts +1 -1
  2397. package/mobile/src/ui-kit/Select/Select.tsx +1 -2
  2398. package/mobile/src/ui-kit/Select/SelectPopup.tsx +2 -3
  2399. package/mobile/src/ui-kit/Select/useSelectPopup.tsx +2 -2
  2400. package/mobile/src/ui-kit/Shimmer/Shimmer.tsx +2 -2
  2401. package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +2 -1
  2402. package/mobile/src/ui-kit/Sitemap/SitemapProps.ts +2 -2
  2403. package/mobile/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +6 -6
  2404. package/mobile/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +3 -3
  2405. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +2 -2
  2406. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  2407. package/mobile/src/ui-kit/SwipeListControl/SwipeListDots.tsx +3 -2
  2408. package/mobile/src/ui-kit/SwipeListControl/SwipeListItem.tsx +2 -2
  2409. package/mobile/src/ui-kit/SwipeListControl/SwipeListScrollButtons.tsx +2 -2
  2410. package/mobile/src/ui-kit/TabsControl/TabItem.tsx +8 -3
  2411. package/mobile/src/ui-kit/TabsControl/TabsControlProps.ts +2 -2
  2412. package/mobile/src/ui-kit/TabsControl/renderTabItemInner.tsx +2 -3
  2413. package/mobile/src/ui-kit/Tags/Tags.tsx +2 -3
  2414. package/mobile/src/ui-kit/TimerCircle/Timer.tsx +2 -2
  2415. package/mobile/src/ui-kit/TimerCircle/TimerCircle.tsx +2 -2
  2416. package/mobile/src/ui-kit/TopItem/TopItem.tsx +3 -3
  2417. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
  2418. package/mobile/src/utils/adjustBase.ts +6 -1
  2419. package/mobile/src/utils/isCyrilic.ts +1 -1
  2420. package/package.json +10 -10
  2421. package/src/UniBlock/UniBlockProps.ts +2 -2
  2422. package/src/components/ApplicationForm/Footnote.tsx +1 -1
  2423. package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +6 -8
  2424. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +6 -0
  2425. package/src/components/ApplicationLeadForm/EsiaLoginBanner.tsx +12 -7
  2426. package/src/components/ApplicationLeadForm/Footnote.tsx +1 -1
  2427. package/src/components/ApplicationLeadForm/applicationFormData.tsx +0 -1
  2428. package/src/components/ApplicationLeadForm/consents.ts +2 -6
  2429. package/src/components/ApplicationLeadForm/getInitialFormState.tsx +3 -0
  2430. package/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +3 -2
  2431. package/src/components/ApplicationLeadForm/parseEsiaProfile.ts +3 -13
  2432. package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +14 -3
  2433. package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +20 -2
  2434. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  2435. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -1
  2436. package/src/components/Blocks.mobile.ts +0 -20
  2437. package/src/components/Blocks.ts +0 -26
  2438. package/src/components/CalculatorBonus/CalculatorBonus.tsx +0 -1
  2439. package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +3 -3
  2440. package/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -1
  2441. package/src/components/CalculatorDeposit/CalculatorDeposit.tsx +0 -1
  2442. package/src/components/CalculatorDeposit/renderDepositResult.tsx +0 -1
  2443. package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
  2444. package/src/components/CardTransfer/CardTransfer.tsx +5 -18
  2445. package/src/components/CardTransfer/SubmitFailedDialog.tsx +4 -4
  2446. package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -16
  2447. package/src/components/Carousel/Carousel.fixture.tsx +0 -35
  2448. package/src/components/Carousel/renderCardHighlight.tsx +3 -4
  2449. package/src/components/Carousel/renderCarouselCards.tsx +2 -6
  2450. package/src/components/ContentPage/ContentPage.tsx +2 -2
  2451. package/src/components/CreditCardForm/SuccessStatusCardContent.tsx +1 -1
  2452. package/src/components/CreditCardForm/creditCardFormStepsData.tsx +246 -6
  2453. package/src/components/CreditCardForm/formStateMap.tsx +2 -2
  2454. package/src/components/CreditForm/CreditForm.tsx +1 -2
  2455. package/src/components/CreditForm/SuccessStatusContent.tsx +1 -1
  2456. package/src/components/CreditForm/creditFormStepsData.tsx +194 -6
  2457. package/src/components/CreditForm/formStateMap.tsx +2 -2
  2458. package/src/components/CreditForm/getCalcData.ts +1 -1
  2459. package/src/components/CreditForm/useCreditFormAPI.tsx +1 -1
  2460. package/src/components/DebitForm/DebitFormStatus.tsx +9 -10
  2461. package/src/components/DebitForm/DebitFormStepsData.tsx +71 -6
  2462. package/src/components/Footer/Contacts.tsx +2 -2
  2463. package/src/components/Footer/FooterLink.ts +2 -2
  2464. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  2465. package/src/components/Footer/LinkList.tsx +2 -2
  2466. package/src/components/Footer/SocialMedia.tsx +2 -2
  2467. package/src/components/Footer/TextInformationLink.tsx +1 -1
  2468. package/src/components/GalleryLayout/GalleryLayout.tsx +33 -51
  2469. package/src/components/GalleryLayout/useSortProductBlocks.ts +25 -0
  2470. package/src/components/GalleryLayout/utils.ts +35 -0
  2471. package/src/components/Header/DropdownMenu.tsx +2 -2
  2472. package/src/components/Header/HeaderChatBotButton.tsx +20 -14
  2473. package/src/components/Header/HeaderSecondaryMenu.tsx +11 -13
  2474. package/src/components/Header/HeaderSecondaryMenuButton.tsx +7 -3
  2475. package/src/components/Header/HeaderSubMenu.tsx +0 -1
  2476. package/src/components/Header/HeaderSubMenuItem.tsx +2 -2
  2477. package/src/components/Header/HeaderTop.tsx +1 -6
  2478. package/src/components/Header/HeaderTopMenu.tsx +3 -7
  2479. package/src/components/Header/HeaderTopMenuItem.tsx +2 -2
  2480. package/src/components/Headline/Headline.tsx +1 -1
  2481. package/src/components/OfficesAtmsMap/AtmsMap.tsx +2 -2
  2482. package/src/components/OfficesAtmsMap/Badge.tsx +2 -2
  2483. package/src/components/OfficesAtmsMap/CardCell.tsx +3 -3
  2484. package/src/components/OfficesAtmsMap/CardRow.tsx +2 -5
  2485. package/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +3 -3
  2486. package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -4
  2487. package/src/components/OfficesAtmsMap/OfficesMap.tsx +2 -5
  2488. package/src/components/ProductBlock/ProductBlock.example.json +1 -11
  2489. package/src/components/ProductBlock/ProductBlock.fixture.tsx +0 -28
  2490. package/src/components/ProductBlock/ProductBlock.tsx +0 -1
  2491. package/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
  2492. package/src/components/StepsBlock/StepsBlockContent.ts +1 -1
  2493. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -2
  2494. package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +2 -2
  2495. package/src/components/StickyBottomMenu/StickyBottomMenuDialog.tsx +3 -3
  2496. package/src/components/StickyBottomMenu/useBottomMenuItemDialog.tsx +2 -2
  2497. package/src/components/StickyBottomMenu/useBurgerMenuDialog.tsx +2 -2
  2498. package/src/components/TabsLayout/renderTabsLayout.tsx +2 -2
  2499. package/src/components/TariffsTable/TableCarouselContainer.tsx +3 -10
  2500. package/src/components/TariffsTable/TariffsTable.example.json +1 -34
  2501. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +28 -2
  2502. package/src/components/TariffsTable/TariffsTable.tsx +6 -13
  2503. package/src/components/TariffsTable/TariffsTable.ui.json +0 -3
  2504. package/src/components/TariffsTable/TariffsTableCell.tsx +37 -35
  2505. package/src/components/TariffsTable/TariffsTableContent.ts +8 -85
  2506. package/src/components/TariffsTable/TariffsTableRow.tsx +9 -49
  2507. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +7 -13
  2508. package/src/components/TariffsTable/TariffsTableWrapper.tsx +5 -25
  2509. package/src/components/TariffsTable/dataFixture.tsx +9 -22
  2510. package/src/components/TariffsTable/renderCell.tsx +42 -0
  2511. package/src/components/TariffsTable/renderHeader.tsx +19 -0
  2512. package/src/components/TariffsTable/renderInnerTableCell.tsx +0 -0
  2513. package/src/data/CommonData.ts +4 -3
  2514. package/src/hooks/useAspects/aspects/forwardQuery.ts +1 -1
  2515. package/src/hooks/useAspects/handleAspects.ts +6 -2
  2516. package/src/hooks/useAspects/useAspects.ts +1 -1
  2517. package/src/hooks/useForm/useForm.ts +1 -1
  2518. package/src/hooks/useLink.ts +3 -1
  2519. package/src/model/CommonInputProps.ts +12 -0
  2520. package/src/model/ComponentType.ts +4 -0
  2521. package/src/model/ContentPageBase.ts +2 -3
  2522. package/src/model/DefaultControlType.ts +10 -5
  2523. package/src/model/DisabledProps.ts +3 -0
  2524. package/src/model/LinkProps.ts +1 -1
  2525. package/src/model/OnClickProps.ts +3 -0
  2526. package/src/model/OnCloseProps.ts +3 -0
  2527. package/src/model/Picture.ts +2 -2
  2528. package/src/model/PlaceholderProps.ts +3 -0
  2529. package/src/model/onClick.ts +3 -0
  2530. package/src/model/onClose.ts +3 -0
  2531. package/src/retail/adaptors/getCreditFormTaskData.ts +0 -3
  2532. package/src/retail/adaptors/getEmploymentData.tsx +3 -3
  2533. package/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +2 -0
  2534. package/src/retail/adaptors/getPersonalInfoData.tsx +4 -2
  2535. package/src/retail/api/getCardTypes.ts +2 -2
  2536. package/src/retail/api/saveReferalInfo.ts +11 -0
  2537. package/src/retail/api/updateUserTask.ts +1 -1
  2538. package/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +6 -6
  2539. package/src/retail/components/ConsentBkiDialog/ConsentBkiDialog.tsx +2 -2
  2540. package/src/retail/components/DaDataInputControl/DaDataInputControl.tsx +11 -57
  2541. package/src/retail/components/DocumentDialog/DocumentDialog.tsx +2 -2
  2542. package/src/retail/components/DraftDialog/DraftActionButton.tsx +12 -9
  2543. package/src/retail/components/DraftDialog/DraftDialog.tsx +3 -3
  2544. package/src/retail/components/DraftDialog/EmptyDraftDialog.tsx +2 -5
  2545. package/src/retail/components/DraftDialog/useDraftDialog.tsx +2 -2
  2546. package/src/retail/components/Fields/BeginDateField.tsx +1 -0
  2547. package/src/retail/components/Fields/DaDataInnField.tsx +14 -6
  2548. package/src/retail/components/Fields/InitiateBankruptcyFlgField.tsx +10 -0
  2549. package/src/retail/components/Fields/ParticipantDateRegistrationField.tsx +5 -1
  2550. package/src/retail/components/Fields/RegionRetailField.tsx +12 -3
  2551. package/src/retail/components/Fields/SelectField.tsx +9 -4
  2552. package/src/retail/components/FormStatus/FormStatus.tsx +17 -14
  2553. package/src/retail/components/VerifyPhoneDialog/SubmitButton.tsx +7 -9
  2554. package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +5 -5
  2555. package/src/retail/content.tsx +3 -352
  2556. package/src/retail/inputs.tsx +2 -1
  2557. package/src/retail/model/LeadFormData.ts +3 -2
  2558. package/src/retail/model/LeadFormState.ts +7 -2
  2559. package/src/retail/model/NameFieldDef.ts +1 -0
  2560. package/src/retail/model/RetailFormContent.ts +3 -2
  2561. package/src/retail/utils/calculateInputs.ts +4 -0
  2562. package/src/retail/utils/getMainFormStateMap.ts +68 -0
  2563. package/src/retail/utils/getOrganizationParams.ts +1 -1
  2564. package/src/retail/utils/renderStep.tsx +9 -4
  2565. package/src/retail/validator/validatorObj.ts +3 -2
  2566. package/src/retail/validator/validators.ts +3 -0
  2567. package/src/services/search/search.ts +2 -2
  2568. package/src/services/search/textRank.ts +1 -1
  2569. package/src/services/search/useSearch.ts +33 -22
  2570. package/src/ui-kit/BaseFiltration/BaseFiltrationContent.ts +1 -1
  2571. package/src/ui-kit/BaseFiltration/FiltrationSchemaContent.ts +1 -7
  2572. package/src/ui-kit/BaseFiltration/HotFilterBase.ts +1 -1
  2573. package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -5
  2574. package/src/ui-kit/BaseTile/BaseTile.tsx +1 -1
  2575. package/src/ui-kit/BaseTile/renderImageContainer.tsx +2 -1
  2576. package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -4
  2577. package/src/ui-kit/BenefitsList/BenefitsListProps.ts +2 -2
  2578. package/src/ui-kit/Button/Button.tsx +3 -3
  2579. package/src/ui-kit/Button/ButtonTitle.tsx +2 -5
  2580. package/src/ui-kit/Calculator/CalculatorProps.ts +2 -3
  2581. package/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
  2582. package/src/ui-kit/Calculator/UnknownRate.tsx +2 -5
  2583. package/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +9 -6
  2584. package/src/ui-kit/Calculator/renderRate.tsx +3 -2
  2585. package/src/ui-kit/Checkbox/CheckboxProps.ts +3 -7
  2586. package/src/ui-kit/DatePicker/DatePicker.tsx +4 -4
  2587. package/src/ui-kit/DatePicker/DatePickerControl.tsx +2 -1
  2588. package/src/ui-kit/DatePicker/DatePickerInput.tsx +4 -4
  2589. package/src/ui-kit/DatePicker/renderDatePickerForm.tsx +9 -9
  2590. package/src/ui-kit/DatePicker/useDatePickerManager.ts +3 -6
  2591. package/src/ui-kit/DialogManager/CloseButton.tsx +2 -2
  2592. package/src/ui-kit/DialogManager/Dialog.tsx +3 -3
  2593. package/src/ui-kit/DialogManager/useDialog.tsx +2 -1
  2594. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
  2595. package/src/ui-kit/Foldable/Foldable.tsx +2 -3
  2596. package/src/ui-kit/Foldable/FoldableSection.tsx +2 -2
  2597. package/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
  2598. package/src/ui-kit/Heading/HeadingProps.ts +2 -4
  2599. package/src/ui-kit/Icon/Icon.tsx +2 -1
  2600. package/src/ui-kit/Icon/IconProps.ts +7 -6
  2601. package/src/ui-kit/Img/ImgProps.ts +2 -2
  2602. package/src/ui-kit/InnerTable/InnerTable.fixture.mobile.tsx +1 -4
  2603. package/src/ui-kit/InnerTable/InnerTable.fixture.tsx +1 -4
  2604. package/src/ui-kit/InnerTable/InnerTable.tsx +4 -8
  2605. package/src/ui-kit/InnerTable/InnerTableBody.tsx +19 -21
  2606. package/src/ui-kit/InnerTable/InnerTableButton.tsx +5 -5
  2607. package/src/ui-kit/InnerTable/InnerTableProps.ts +2 -4
  2608. package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
  2609. package/src/ui-kit/Input/InputControl.tsx +5 -68
  2610. package/src/ui-kit/Input/InputProps.ts +2 -2
  2611. package/src/ui-kit/Input/InputWrapper.tsx +78 -0
  2612. package/src/ui-kit/InputRange/InputRange.tsx +1 -1
  2613. package/src/ui-kit/InputRange/InputRangeProps.ts +3 -3
  2614. package/src/ui-kit/InputRange/renderRangeWithTicks.tsx +3 -4
  2615. package/src/ui-kit/Link/Link.tsx +2 -2
  2616. package/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
  2617. package/src/ui-kit/LinkButton/GetButtonClassParams.ts +2 -2
  2618. package/src/ui-kit/LinkButton/LinkButtonProps.ts +6 -6
  2619. package/src/ui-kit/LinkButton/renderArrows.tsx +10 -9
  2620. package/src/ui-kit/LinkButton/renderButtonsSection.tsx +2 -2
  2621. package/src/ui-kit/LinkWrapper/LinkWrapper.tsx +4 -8
  2622. package/src/ui-kit/ListControlProps.ts +1 -1
  2623. package/src/ui-kit/Loader/Loader.tsx +1 -1
  2624. package/src/ui-kit/LocationDialog/LocationDialog.tsx +2 -2
  2625. package/src/ui-kit/LocationDialog/SearchBar.tsx +2 -2
  2626. package/src/ui-kit/ProgressBar/ProgressBar.fixture.tsx +4 -1
  2627. package/src/ui-kit/ProgressBar/ProgressBar.tsx +3 -3
  2628. package/src/ui-kit/Radio/RadioProps.ts +4 -4
  2629. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -3
  2630. package/src/ui-kit/ReportDialog/ReportDialog.tsx +2 -2
  2631. package/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +2 -2
  2632. package/src/ui-kit/SVG.tsx +2 -2
  2633. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  2634. package/src/ui-kit/SearchDialog/SearchDialog.tsx +2 -2
  2635. package/src/ui-kit/SearchDialog/SearchInput.tsx +4 -5
  2636. package/src/ui-kit/Select/Option.ts +1 -1
  2637. package/src/ui-kit/Select/Select.tsx +1 -2
  2638. package/src/ui-kit/Select/SelectPopup.tsx +2 -3
  2639. package/src/ui-kit/Select/useSelectPopup.tsx +2 -2
  2640. package/src/ui-kit/Shimmer/Shimmer.tsx +2 -2
  2641. package/src/ui-kit/Sitemap/Sitemap.mobile.tsx +2 -1
  2642. package/src/ui-kit/Sitemap/SitemapProps.ts +2 -2
  2643. package/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +6 -6
  2644. package/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +3 -3
  2645. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +2 -2
  2646. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  2647. package/src/ui-kit/SwipeListControl/SwipeListDots.tsx +3 -2
  2648. package/src/ui-kit/SwipeListControl/SwipeListItem.tsx +2 -2
  2649. package/src/ui-kit/SwipeListControl/SwipeListScrollButtons.tsx +2 -2
  2650. package/src/ui-kit/TabsControl/TabItem.tsx +8 -3
  2651. package/src/ui-kit/TabsControl/TabsControlProps.ts +2 -2
  2652. package/src/ui-kit/TabsControl/renderTabItemInner.tsx +2 -3
  2653. package/src/ui-kit/Tags/Tags.tsx +2 -3
  2654. package/src/ui-kit/TimerCircle/Timer.tsx +2 -2
  2655. package/src/ui-kit/TimerCircle/TimerCircle.tsx +2 -2
  2656. package/src/ui-kit/TopItem/TopItem.tsx +3 -3
  2657. package/src/ui-kit/YandexMap/YandexMap.tsx +2 -2
  2658. package/src/utils/adjustBase.ts +6 -1
  2659. package/src/utils/isCyrilic.ts +1 -1
  2660. package/bundle/components/CarouselCard/CarouselCard.d.ts +0 -5
  2661. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  2662. package/bundle/components/CarouselCard/constants.d.ts +0 -2
  2663. package/bundle/components/CarouselCard/titleSize.d.ts +0 -1
  2664. package/bundle/components/CarouselCard/titleSize.mobile.d.ts +0 -1
  2665. package/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  2666. package/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  2667. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  2668. package/bundle/components/Depository/Depository.d.ts +0 -11
  2669. package/bundle/components/Depository/DepositoryContent.d.ts +0 -5
  2670. package/bundle/components/Depository/DepositoryFilter.d.ts +0 -9
  2671. package/bundle/components/Depository/DepositoryItem.d.ts +0 -2
  2672. package/bundle/components/Depository/useDepository.d.ts +0 -15
  2673. package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  2674. package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  2675. package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  2676. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  2677. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  2678. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  2679. package/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  2680. package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  2681. package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  2682. package/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -12
  2683. package/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  2684. package/bundle/components/GracePeriod/GracePeriod.d.ts +0 -5
  2685. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  2686. package/bundle/components/Header/useChatBot.d.ts +0 -5
  2687. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  2688. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  2689. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  2690. package/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  2691. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  2692. package/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  2693. package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  2694. package/bundle/components/Placeholder/Placeholder.d.ts +0 -5
  2695. package/bundle/components/Placeholder/PlaceholderContent.d.ts +0 -6
  2696. package/bundle/components/ProductGallery/ProductGallery.d.ts +0 -5
  2697. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  2698. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  2699. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  2700. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  2701. package/bundle/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  2702. package/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  2703. package/bundle/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  2704. package/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  2705. package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  2706. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  2707. package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  2708. package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  2709. package/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  2710. package/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  2711. package/bundle/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  2712. package/bundle/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  2713. package/bundle/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  2714. package/bundle/components/SafeDepositRental/utils.d.ts +0 -4
  2715. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  2716. package/bundle/components/TariffsTable/TableTileHeader.d.ts +0 -2
  2717. package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  2718. package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  2719. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  2720. package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  2721. package/bundle/components/TariffsTable/constants.d.ts +0 -4
  2722. package/bundle/components/UnitBlock/UnitBlock.d.ts +0 -6
  2723. package/bundle/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  2724. package/bundle/retail/utils/mainFormStateMap.d.ts +0 -2
  2725. package/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  2726. package/bundle/ui-kit/ControlStateProps.d.ts +0 -3
  2727. package/bundle/ui-kit/Rating/Rating.d.ts +0 -1
  2728. package/bundle/ui-kit/Unit/Unit.d.ts +0 -2
  2729. package/bundle/ui-kit/Unit/UnitProps.d.ts +0 -8
  2730. package/dist/components/CarouselCard/CarouselCard.d.ts +0 -5
  2731. package/dist/components/CarouselCard/CarouselCard.js +0 -16
  2732. package/dist/components/CarouselCard/CarouselCard.js.map +0 -1
  2733. package/dist/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  2734. package/dist/components/CarouselCard/CarouselCardContent.js +0 -2
  2735. package/dist/components/CarouselCard/CarouselCardContent.js.map +0 -1
  2736. package/dist/components/CarouselCard/constants.d.ts +0 -2
  2737. package/dist/components/CarouselCard/constants.js +0 -7
  2738. package/dist/components/CarouselCard/constants.js.map +0 -1
  2739. package/dist/components/CarouselCard/titleSize.d.ts +0 -1
  2740. package/dist/components/CarouselCard/titleSize.js +0 -4
  2741. package/dist/components/CarouselCard/titleSize.js.map +0 -1
  2742. package/dist/components/CarouselCard/titleSize.mobile.d.ts +0 -1
  2743. package/dist/components/CarouselCard/titleSize.mobile.js +0 -4
  2744. package/dist/components/CarouselCard/titleSize.mobile.js.map +0 -1
  2745. package/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  2746. package/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
  2747. package/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  2748. package/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  2749. package/dist/components/CarouselLinks/CarouselLinks.js +0 -11
  2750. package/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
  2751. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  2752. package/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
  2753. package/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  2754. package/dist/components/Depository/Depository.d.ts +0 -11
  2755. package/dist/components/Depository/Depository.js +0 -42
  2756. package/dist/components/Depository/Depository.js.map +0 -1
  2757. package/dist/components/Depository/DepositoryContent.d.ts +0 -5
  2758. package/dist/components/Depository/DepositoryContent.js +0 -2
  2759. package/dist/components/Depository/DepositoryContent.js.map +0 -1
  2760. package/dist/components/Depository/DepositoryFilter.d.ts +0 -9
  2761. package/dist/components/Depository/DepositoryFilter.js +0 -9
  2762. package/dist/components/Depository/DepositoryFilter.js.map +0 -1
  2763. package/dist/components/Depository/DepositoryItem.d.ts +0 -2
  2764. package/dist/components/Depository/DepositoryItem.js +0 -15
  2765. package/dist/components/Depository/DepositoryItem.js.map +0 -1
  2766. package/dist/components/Depository/useDepository.d.ts +0 -15
  2767. package/dist/components/Depository/useDepository.js +0 -22
  2768. package/dist/components/Depository/useDepository.js.map +0 -1
  2769. package/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  2770. package/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
  2771. package/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  2772. package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  2773. package/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
  2774. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  2775. package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  2776. package/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
  2777. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  2778. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  2779. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
  2780. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  2781. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  2782. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
  2783. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  2784. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  2785. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  2786. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  2787. package/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  2788. package/dist/components/ExchangeRateTile/calculateResult.js +0 -11
  2789. package/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
  2790. package/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  2791. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
  2792. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  2793. package/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  2794. package/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
  2795. package/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  2796. package/dist/components/ExchangeRateTile/renderInput.d.ts +0 -12
  2797. package/dist/components/ExchangeRateTile/renderInput.js +0 -16
  2798. package/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
  2799. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  2800. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
  2801. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  2802. package/dist/components/GracePeriod/GracePeriod.d.ts +0 -5
  2803. package/dist/components/GracePeriod/GracePeriod.js +0 -25
  2804. package/dist/components/GracePeriod/GracePeriod.js.map +0 -1
  2805. package/dist/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  2806. package/dist/components/GracePeriod/GracePeriodContent.js +0 -2
  2807. package/dist/components/GracePeriod/GracePeriodContent.js.map +0 -1
  2808. package/dist/components/Header/useChatBot.d.ts +0 -5
  2809. package/dist/components/Header/useChatBot.js +0 -61
  2810. package/dist/components/Header/useChatBot.js.map +0 -1
  2811. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  2812. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
  2813. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  2814. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  2815. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  2816. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  2817. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  2818. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
  2819. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  2820. package/dist/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  2821. package/dist/components/InvestmentInfo/InvestmentInfo.js +0 -47
  2822. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  2823. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  2824. package/dist/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  2825. package/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  2826. package/dist/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  2827. package/dist/components/MortgageFiltration/MortgageFiltration.js +0 -36
  2828. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
  2829. package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  2830. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
  2831. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
  2832. package/dist/components/Placeholder/Placeholder.d.ts +0 -5
  2833. package/dist/components/Placeholder/Placeholder.js +0 -10
  2834. package/dist/components/Placeholder/Placeholder.js.map +0 -1
  2835. package/dist/components/Placeholder/PlaceholderContent.d.ts +0 -6
  2836. package/dist/components/Placeholder/PlaceholderContent.js +0 -2
  2837. package/dist/components/Placeholder/PlaceholderContent.js.map +0 -1
  2838. package/dist/components/ProductGallery/ProductGallery.d.ts +0 -5
  2839. package/dist/components/ProductGallery/ProductGallery.js +0 -33
  2840. package/dist/components/ProductGallery/ProductGallery.js.map +0 -1
  2841. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  2842. package/dist/components/ProductGallery/ProductGallery.mobile.js +0 -12
  2843. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
  2844. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  2845. package/dist/components/ProductGallery/ProductGalleryContent.js +0 -2
  2846. package/dist/components/ProductGallery/ProductGalleryContent.js.map +0 -1
  2847. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  2848. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -26
  2849. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  2850. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  2851. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  2852. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  2853. package/dist/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  2854. package/dist/components/SafeDepositRental/RadioButtons.js +0 -13
  2855. package/dist/components/SafeDepositRental/RadioButtons.js.map +0 -1
  2856. package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  2857. package/dist/components/SafeDepositRental/RegionsAndBranches.js +0 -7
  2858. package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
  2859. package/dist/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  2860. package/dist/components/SafeDepositRental/RentalPeriod.js +0 -11
  2861. package/dist/components/SafeDepositRental/RentalPeriod.js.map +0 -1
  2862. package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  2863. package/dist/components/SafeDepositRental/SafeBoxCases.js +0 -7
  2864. package/dist/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
  2865. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  2866. package/dist/components/SafeDepositRental/SafeDepositRental.js +0 -33
  2867. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
  2868. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  2869. package/dist/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
  2870. package/dist/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
  2871. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  2872. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +0 -18
  2873. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
  2874. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  2875. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +0 -27
  2876. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
  2877. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  2878. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -34
  2879. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
  2880. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  2881. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
  2882. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
  2883. package/dist/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  2884. package/dist/components/SafeDepositRental/WrapperSelect.js +0 -13
  2885. package/dist/components/SafeDepositRental/WrapperSelect.js.map +0 -1
  2886. package/dist/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  2887. package/dist/components/SafeDepositRental/useGetRegions.js +0 -13
  2888. package/dist/components/SafeDepositRental/useGetRegions.js.map +0 -1
  2889. package/dist/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  2890. package/dist/components/SafeDepositRental/useSafeBoxes.js +0 -17
  2891. package/dist/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
  2892. package/dist/components/SafeDepositRental/utils.d.ts +0 -4
  2893. package/dist/components/SafeDepositRental/utils.js +0 -21
  2894. package/dist/components/SafeDepositRental/utils.js.map +0 -1
  2895. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  2896. package/dist/components/TariffsTable/EmbeddableCellData.js +0 -25
  2897. package/dist/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  2898. package/dist/components/TariffsTable/TableTileHeader.d.ts +0 -2
  2899. package/dist/components/TariffsTable/TableTileHeader.js +0 -8
  2900. package/dist/components/TariffsTable/TableTileHeader.js.map +0 -1
  2901. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  2902. package/dist/components/TariffsTable/TariffsTableHorizontal.js +0 -8
  2903. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  2904. package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  2905. package/dist/components/TariffsTable/TariffsTableRenderCell.js +0 -41
  2906. package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  2907. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  2908. package/dist/components/TariffsTable/TariffsTableTileCell.js +0 -17
  2909. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  2910. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  2911. package/dist/components/TariffsTable/TariffsTableVertical.js +0 -7
  2912. package/dist/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  2913. package/dist/components/TariffsTable/constants.d.ts +0 -4
  2914. package/dist/components/TariffsTable/constants.js +0 -7
  2915. package/dist/components/TariffsTable/constants.js.map +0 -1
  2916. package/dist/components/UnitBlock/UnitBlock.d.ts +0 -6
  2917. package/dist/components/UnitBlock/UnitBlock.js +0 -11
  2918. package/dist/components/UnitBlock/UnitBlock.js.map +0 -1
  2919. package/dist/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  2920. package/dist/components/UnitBlock/UnitBlockContent.js +0 -2
  2921. package/dist/components/UnitBlock/UnitBlockContent.js.map +0 -1
  2922. package/dist/retail/utils/mainFormStateMap.d.ts +0 -2
  2923. package/dist/retail/utils/mainFormStateMap.js +0 -68
  2924. package/dist/retail/utils/mainFormStateMap.js.map +0 -1
  2925. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  2926. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
  2927. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
  2928. package/dist/ui-kit/ControlProps.js.map +0 -1
  2929. package/dist/ui-kit/ControlStateProps.d.ts +0 -3
  2930. package/dist/ui-kit/ControlStateProps.js +0 -2
  2931. package/dist/ui-kit/ControlStateProps.js.map +0 -1
  2932. package/dist/ui-kit/Rating/Rating.d.ts +0 -1
  2933. package/dist/ui-kit/Rating/Rating.js +0 -21
  2934. package/dist/ui-kit/Rating/Rating.js.map +0 -1
  2935. package/dist/ui-kit/Unit/Unit.d.ts +0 -2
  2936. package/dist/ui-kit/Unit/Unit.js +0 -9
  2937. package/dist/ui-kit/Unit/Unit.js.map +0 -1
  2938. package/dist/ui-kit/Unit/UnitProps.d.ts +0 -8
  2939. package/dist/ui-kit/Unit/UnitProps.js +0 -2
  2940. package/dist/ui-kit/Unit/UnitProps.js.map +0 -1
  2941. package/lib/components/CarouselCard/CarouselCard.d.ts +0 -5
  2942. package/lib/components/CarouselCard/CarouselCard.fixture.d.ts +0 -11
  2943. package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +0 -7
  2944. package/lib/components/CarouselCard/CarouselCard.js +0 -14
  2945. package/lib/components/CarouselCard/CarouselCard.js.map +0 -1
  2946. package/lib/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  2947. package/lib/components/CarouselCard/CarouselCardContent.js +0 -2
  2948. package/lib/components/CarouselCard/CarouselCardContent.js.map +0 -1
  2949. package/lib/components/CarouselCard/constants.d.ts +0 -2
  2950. package/lib/components/CarouselCard/constants.js +0 -5
  2951. package/lib/components/CarouselCard/constants.js.map +0 -1
  2952. package/lib/components/CarouselCard/titleSize.d.ts +0 -1
  2953. package/lib/components/CarouselCard/titleSize.js +0 -2
  2954. package/lib/components/CarouselCard/titleSize.js.map +0 -1
  2955. package/lib/components/CarouselCard/titleSize.mobile.d.ts +0 -1
  2956. package/lib/components/CarouselCard/titleSize.mobile.js +0 -2
  2957. package/lib/components/CarouselCard/titleSize.mobile.js.map +0 -1
  2958. package/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  2959. package/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
  2960. package/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  2961. package/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  2962. package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +0 -5
  2963. package/lib/components/CarouselLinks/CarouselLinks.fixture.mobile.d.ts +0 -5
  2964. package/lib/components/CarouselLinks/CarouselLinks.js +0 -9
  2965. package/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
  2966. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  2967. package/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
  2968. package/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  2969. package/lib/components/Depository/Depository.d.ts +0 -11
  2970. package/lib/components/Depository/Depository.fixture.d.ts +0 -5
  2971. package/lib/components/Depository/Depository.fixture.mobile.d.ts +0 -5
  2972. package/lib/components/Depository/Depository.js +0 -40
  2973. package/lib/components/Depository/Depository.js.map +0 -1
  2974. package/lib/components/Depository/DepositoryContent.d.ts +0 -5
  2975. package/lib/components/Depository/DepositoryContent.js +0 -2
  2976. package/lib/components/Depository/DepositoryContent.js.map +0 -1
  2977. package/lib/components/Depository/DepositoryFilter.d.ts +0 -9
  2978. package/lib/components/Depository/DepositoryFilter.js +0 -7
  2979. package/lib/components/Depository/DepositoryFilter.js.map +0 -1
  2980. package/lib/components/Depository/DepositoryItem.d.ts +0 -2
  2981. package/lib/components/Depository/DepositoryItem.js +0 -13
  2982. package/lib/components/Depository/DepositoryItem.js.map +0 -1
  2983. package/lib/components/Depository/useDepository.d.ts +0 -15
  2984. package/lib/components/Depository/useDepository.js +0 -19
  2985. package/lib/components/Depository/useDepository.js.map +0 -1
  2986. package/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  2987. package/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
  2988. package/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  2989. package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  2990. package/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
  2991. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  2992. package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  2993. package/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
  2994. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  2995. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  2996. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
  2997. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  2998. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  2999. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +0 -5
  3000. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.d.ts +0 -5
  3001. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
  3002. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  3003. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  3004. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  3005. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  3006. package/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  3007. package/lib/components/ExchangeRateTile/calculateResult.js +0 -7
  3008. package/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
  3009. package/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  3010. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
  3011. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  3012. package/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  3013. package/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
  3014. package/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  3015. package/lib/components/ExchangeRateTile/renderInput.d.ts +0 -12
  3016. package/lib/components/ExchangeRateTile/renderInput.js +0 -13
  3017. package/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
  3018. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  3019. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
  3020. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  3021. package/lib/components/GracePeriod/GracePeriod.d.ts +0 -5
  3022. package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +0 -7
  3023. package/lib/components/GracePeriod/GracePeriod.js +0 -23
  3024. package/lib/components/GracePeriod/GracePeriod.js.map +0 -1
  3025. package/lib/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  3026. package/lib/components/GracePeriod/GracePeriodContent.js +0 -2
  3027. package/lib/components/GracePeriod/GracePeriodContent.js.map +0 -1
  3028. package/lib/components/Header/useChatBot.d.ts +0 -5
  3029. package/lib/components/Header/useChatBot.js +0 -58
  3030. package/lib/components/Header/useChatBot.js.map +0 -1
  3031. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  3032. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +0 -5
  3033. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
  3034. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  3035. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  3036. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  3037. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  3038. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  3039. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
  3040. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  3041. package/lib/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  3042. package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +0 -7
  3043. package/lib/components/InvestmentInfo/InvestmentInfo.js +0 -45
  3044. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  3045. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  3046. package/lib/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  3047. package/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  3048. package/lib/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  3049. package/lib/components/MortgageFiltration/MortgageFiltration.fixture.d.ts +0 -6
  3050. package/lib/components/MortgageFiltration/MortgageFiltration.fixture.mobile.d.ts +0 -6
  3051. package/lib/components/MortgageFiltration/MortgageFiltration.js +0 -34
  3052. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
  3053. package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  3054. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
  3055. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
  3056. package/lib/components/Placeholder/Placeholder.d.ts +0 -5
  3057. package/lib/components/Placeholder/Placeholder.fixture.d.ts +0 -5
  3058. package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +0 -3
  3059. package/lib/components/Placeholder/Placeholder.js +0 -8
  3060. package/lib/components/Placeholder/Placeholder.js.map +0 -1
  3061. package/lib/components/Placeholder/PlaceholderContent.d.ts +0 -6
  3062. package/lib/components/Placeholder/PlaceholderContent.js +0 -2
  3063. package/lib/components/Placeholder/PlaceholderContent.js.map +0 -1
  3064. package/lib/components/ProductGallery/ProductGallery.d.ts +0 -5
  3065. package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +0 -6
  3066. package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +0 -6
  3067. package/lib/components/ProductGallery/ProductGallery.js +0 -31
  3068. package/lib/components/ProductGallery/ProductGallery.js.map +0 -1
  3069. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  3070. package/lib/components/ProductGallery/ProductGallery.mobile.js +0 -10
  3071. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
  3072. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  3073. package/lib/components/ProductGallery/ProductGalleryContent.js +0 -2
  3074. package/lib/components/ProductGallery/ProductGalleryContent.js.map +0 -1
  3075. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  3076. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.d.ts +0 -5
  3077. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.d.ts +0 -5
  3078. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -24
  3079. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  3080. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  3081. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  3082. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  3083. package/lib/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  3084. package/lib/components/SafeDepositRental/RadioButtons.js +0 -11
  3085. package/lib/components/SafeDepositRental/RadioButtons.js.map +0 -1
  3086. package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  3087. package/lib/components/SafeDepositRental/RegionsAndBranches.js +0 -5
  3088. package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
  3089. package/lib/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  3090. package/lib/components/SafeDepositRental/RentalPeriod.js +0 -9
  3091. package/lib/components/SafeDepositRental/RentalPeriod.js.map +0 -1
  3092. package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  3093. package/lib/components/SafeDepositRental/SafeBoxCases.js +0 -5
  3094. package/lib/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
  3095. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  3096. package/lib/components/SafeDepositRental/SafeDepositRental.fixture.d.ts +0 -5
  3097. package/lib/components/SafeDepositRental/SafeDepositRental.fixture.mobile.d.ts +0 -5
  3098. package/lib/components/SafeDepositRental/SafeDepositRental.js +0 -31
  3099. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
  3100. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  3101. package/lib/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
  3102. package/lib/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
  3103. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  3104. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +0 -16
  3105. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
  3106. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  3107. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +0 -25
  3108. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
  3109. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  3110. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -32
  3111. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
  3112. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  3113. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
  3114. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
  3115. package/lib/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  3116. package/lib/components/SafeDepositRental/WrapperSelect.js +0 -11
  3117. package/lib/components/SafeDepositRental/WrapperSelect.js.map +0 -1
  3118. package/lib/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  3119. package/lib/components/SafeDepositRental/useGetRegions.js +0 -10
  3120. package/lib/components/SafeDepositRental/useGetRegions.js.map +0 -1
  3121. package/lib/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  3122. package/lib/components/SafeDepositRental/useSafeBoxes.js +0 -14
  3123. package/lib/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
  3124. package/lib/components/SafeDepositRental/utils.d.ts +0 -4
  3125. package/lib/components/SafeDepositRental/utils.js +0 -17
  3126. package/lib/components/SafeDepositRental/utils.js.map +0 -1
  3127. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  3128. package/lib/components/TariffsTable/EmbeddableCellData.js +0 -23
  3129. package/lib/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  3130. package/lib/components/TariffsTable/TableTileHeader.d.ts +0 -2
  3131. package/lib/components/TariffsTable/TableTileHeader.js +0 -6
  3132. package/lib/components/TariffsTable/TableTileHeader.js.map +0 -1
  3133. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  3134. package/lib/components/TariffsTable/TariffsTableHorizontal.js +0 -6
  3135. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  3136. package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  3137. package/lib/components/TariffsTable/TariffsTableRenderCell.js +0 -39
  3138. package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  3139. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  3140. package/lib/components/TariffsTable/TariffsTableTileCell.js +0 -15
  3141. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  3142. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  3143. package/lib/components/TariffsTable/TariffsTableVertical.js +0 -5
  3144. package/lib/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  3145. package/lib/components/TariffsTable/constants.d.ts +0 -4
  3146. package/lib/components/TariffsTable/constants.js +0 -5
  3147. package/lib/components/TariffsTable/constants.js.map +0 -1
  3148. package/lib/components/UnitBlock/UnitBlock.d.ts +0 -6
  3149. package/lib/components/UnitBlock/UnitBlock.fixture.d.ts +0 -6
  3150. package/lib/components/UnitBlock/UnitBlock.fixture.mobile.d.ts +0 -6
  3151. package/lib/components/UnitBlock/UnitBlock.js +0 -9
  3152. package/lib/components/UnitBlock/UnitBlock.js.map +0 -1
  3153. package/lib/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  3154. package/lib/components/UnitBlock/UnitBlockContent.js +0 -2
  3155. package/lib/components/UnitBlock/UnitBlockContent.js.map +0 -1
  3156. package/lib/retail/utils/mainFormStateMap.d.ts +0 -2
  3157. package/lib/retail/utils/mainFormStateMap.js +0 -66
  3158. package/lib/retail/utils/mainFormStateMap.js.map +0 -1
  3159. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  3160. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
  3161. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
  3162. package/lib/ui-kit/ControlProps.js.map +0 -1
  3163. package/lib/ui-kit/ControlStateProps.d.ts +0 -3
  3164. package/lib/ui-kit/ControlStateProps.js +0 -2
  3165. package/lib/ui-kit/ControlStateProps.js.map +0 -1
  3166. package/lib/ui-kit/Rating/Rating.d.ts +0 -1
  3167. package/lib/ui-kit/Rating/Rating.fixture.d.ts +0 -5
  3168. package/lib/ui-kit/Rating/Rating.js +0 -18
  3169. package/lib/ui-kit/Rating/Rating.js.map +0 -1
  3170. package/lib/ui-kit/Unit/Unit.d.ts +0 -2
  3171. package/lib/ui-kit/Unit/Unit.js +0 -7
  3172. package/lib/ui-kit/Unit/Unit.js.map +0 -1
  3173. package/lib/ui-kit/Unit/UnitProps.d.ts +0 -8
  3174. package/lib/ui-kit/Unit/UnitProps.js +0 -2
  3175. package/lib/ui-kit/Unit/UnitProps.js.map +0 -1
  3176. package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +0 -5
  3177. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  3178. package/mobile/bundle/components/CarouselCard/constants.d.ts +0 -2
  3179. package/mobile/bundle/components/CarouselCard/titleSize.d.ts +0 -1
  3180. package/mobile/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  3181. package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  3182. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  3183. package/mobile/bundle/components/Depository/Depository.d.ts +0 -11
  3184. package/mobile/bundle/components/Depository/DepositoryContent.d.ts +0 -5
  3185. package/mobile/bundle/components/Depository/DepositoryFilter.d.ts +0 -9
  3186. package/mobile/bundle/components/Depository/DepositoryItem.d.ts +0 -2
  3187. package/mobile/bundle/components/Depository/useDepository.d.ts +0 -15
  3188. package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  3189. package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  3190. package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  3191. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  3192. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  3193. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  3194. package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  3195. package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  3196. package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  3197. package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -12
  3198. package/mobile/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  3199. package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +0 -5
  3200. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  3201. package/mobile/bundle/components/Header/useChatBot.d.ts +0 -5
  3202. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  3203. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  3204. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  3205. package/mobile/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  3206. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  3207. package/mobile/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  3208. package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  3209. package/mobile/bundle/components/Placeholder/Placeholder.d.ts +0 -5
  3210. package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +0 -6
  3211. package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +0 -5
  3212. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  3213. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  3214. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  3215. package/mobile/bundle/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  3216. package/mobile/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  3217. package/mobile/bundle/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  3218. package/mobile/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  3219. package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  3220. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  3221. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  3222. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  3223. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  3224. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  3225. package/mobile/bundle/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  3226. package/mobile/bundle/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  3227. package/mobile/bundle/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  3228. package/mobile/bundle/components/SafeDepositRental/utils.d.ts +0 -4
  3229. package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  3230. package/mobile/bundle/components/TariffsTable/TableTileHeader.d.ts +0 -2
  3231. package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  3232. package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  3233. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  3234. package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  3235. package/mobile/bundle/components/TariffsTable/constants.d.ts +0 -4
  3236. package/mobile/bundle/components/UnitBlock/UnitBlock.d.ts +0 -6
  3237. package/mobile/bundle/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  3238. package/mobile/bundle/retail/utils/mainFormStateMap.d.ts +0 -2
  3239. package/mobile/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  3240. package/mobile/bundle/ui-kit/ControlStateProps.d.ts +0 -3
  3241. package/mobile/bundle/ui-kit/Rating/Rating.d.ts +0 -1
  3242. package/mobile/bundle/ui-kit/Unit/Unit.d.ts +0 -2
  3243. package/mobile/bundle/ui-kit/Unit/UnitProps.d.ts +0 -8
  3244. package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +0 -5
  3245. package/mobile/dist/components/CarouselCard/CarouselCard.js +0 -16
  3246. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +0 -1
  3247. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  3248. package/mobile/dist/components/CarouselCard/CarouselCardContent.js +0 -2
  3249. package/mobile/dist/components/CarouselCard/CarouselCardContent.js.map +0 -1
  3250. package/mobile/dist/components/CarouselCard/constants.d.ts +0 -2
  3251. package/mobile/dist/components/CarouselCard/constants.js +0 -7
  3252. package/mobile/dist/components/CarouselCard/constants.js.map +0 -1
  3253. package/mobile/dist/components/CarouselCard/titleSize.d.ts +0 -1
  3254. package/mobile/dist/components/CarouselCard/titleSize.js +0 -4
  3255. package/mobile/dist/components/CarouselCard/titleSize.js.map +0 -1
  3256. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  3257. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
  3258. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  3259. package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  3260. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +0 -11
  3261. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
  3262. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  3263. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
  3264. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  3265. package/mobile/dist/components/Depository/Depository.d.ts +0 -11
  3266. package/mobile/dist/components/Depository/Depository.js +0 -42
  3267. package/mobile/dist/components/Depository/Depository.js.map +0 -1
  3268. package/mobile/dist/components/Depository/DepositoryContent.d.ts +0 -5
  3269. package/mobile/dist/components/Depository/DepositoryContent.js +0 -2
  3270. package/mobile/dist/components/Depository/DepositoryContent.js.map +0 -1
  3271. package/mobile/dist/components/Depository/DepositoryFilter.d.ts +0 -9
  3272. package/mobile/dist/components/Depository/DepositoryFilter.js +0 -9
  3273. package/mobile/dist/components/Depository/DepositoryFilter.js.map +0 -1
  3274. package/mobile/dist/components/Depository/DepositoryItem.d.ts +0 -2
  3275. package/mobile/dist/components/Depository/DepositoryItem.js +0 -15
  3276. package/mobile/dist/components/Depository/DepositoryItem.js.map +0 -1
  3277. package/mobile/dist/components/Depository/useDepository.d.ts +0 -15
  3278. package/mobile/dist/components/Depository/useDepository.js +0 -22
  3279. package/mobile/dist/components/Depository/useDepository.js.map +0 -1
  3280. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  3281. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
  3282. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  3283. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  3284. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
  3285. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  3286. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  3287. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
  3288. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  3289. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  3290. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
  3291. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  3292. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  3293. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
  3294. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  3295. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  3296. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  3297. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  3298. package/mobile/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  3299. package/mobile/dist/components/ExchangeRateTile/calculateResult.js +0 -11
  3300. package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
  3301. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  3302. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
  3303. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  3304. package/mobile/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  3305. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
  3306. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  3307. package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +0 -12
  3308. package/mobile/dist/components/ExchangeRateTile/renderInput.js +0 -16
  3309. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
  3310. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  3311. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
  3312. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  3313. package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +0 -5
  3314. package/mobile/dist/components/GracePeriod/GracePeriod.js +0 -25
  3315. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +0 -1
  3316. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  3317. package/mobile/dist/components/GracePeriod/GracePeriodContent.js +0 -2
  3318. package/mobile/dist/components/GracePeriod/GracePeriodContent.js.map +0 -1
  3319. package/mobile/dist/components/Header/useChatBot.d.ts +0 -5
  3320. package/mobile/dist/components/Header/useChatBot.js +0 -61
  3321. package/mobile/dist/components/Header/useChatBot.js.map +0 -1
  3322. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  3323. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
  3324. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  3325. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  3326. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  3327. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  3328. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  3329. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
  3330. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  3331. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  3332. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +0 -47
  3333. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  3334. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  3335. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  3336. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  3337. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  3338. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +0 -36
  3339. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
  3340. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  3341. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
  3342. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
  3343. package/mobile/dist/components/Placeholder/Placeholder.d.ts +0 -5
  3344. package/mobile/dist/components/Placeholder/Placeholder.js +0 -10
  3345. package/mobile/dist/components/Placeholder/Placeholder.js.map +0 -1
  3346. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +0 -6
  3347. package/mobile/dist/components/Placeholder/PlaceholderContent.js +0 -2
  3348. package/mobile/dist/components/Placeholder/PlaceholderContent.js.map +0 -1
  3349. package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +0 -5
  3350. package/mobile/dist/components/ProductGallery/ProductGallery.js +0 -12
  3351. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +0 -1
  3352. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  3353. package/mobile/dist/components/ProductGallery/ProductGalleryContent.js +0 -2
  3354. package/mobile/dist/components/ProductGallery/ProductGalleryContent.js.map +0 -1
  3355. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  3356. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -26
  3357. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  3358. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  3359. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  3360. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  3361. package/mobile/dist/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  3362. package/mobile/dist/components/SafeDepositRental/RadioButtons.js +0 -13
  3363. package/mobile/dist/components/SafeDepositRental/RadioButtons.js.map +0 -1
  3364. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  3365. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +0 -7
  3366. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
  3367. package/mobile/dist/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  3368. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +0 -11
  3369. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +0 -1
  3370. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  3371. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +0 -7
  3372. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
  3373. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  3374. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +0 -33
  3375. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
  3376. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  3377. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
  3378. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
  3379. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  3380. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +0 -18
  3381. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
  3382. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  3383. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +0 -27
  3384. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
  3385. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  3386. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -34
  3387. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
  3388. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  3389. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
  3390. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
  3391. package/mobile/dist/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  3392. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js +0 -13
  3393. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +0 -1
  3394. package/mobile/dist/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  3395. package/mobile/dist/components/SafeDepositRental/useGetRegions.js +0 -13
  3396. package/mobile/dist/components/SafeDepositRental/useGetRegions.js.map +0 -1
  3397. package/mobile/dist/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  3398. package/mobile/dist/components/SafeDepositRental/useSafeBoxes.js +0 -17
  3399. package/mobile/dist/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
  3400. package/mobile/dist/components/SafeDepositRental/utils.d.ts +0 -4
  3401. package/mobile/dist/components/SafeDepositRental/utils.js +0 -21
  3402. package/mobile/dist/components/SafeDepositRental/utils.js.map +0 -1
  3403. package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  3404. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +0 -25
  3405. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  3406. package/mobile/dist/components/TariffsTable/TableTileHeader.d.ts +0 -2
  3407. package/mobile/dist/components/TariffsTable/TableTileHeader.js +0 -8
  3408. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +0 -1
  3409. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  3410. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +0 -8
  3411. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  3412. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  3413. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +0 -41
  3414. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  3415. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  3416. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +0 -17
  3417. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  3418. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  3419. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +0 -7
  3420. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  3421. package/mobile/dist/components/TariffsTable/constants.d.ts +0 -4
  3422. package/mobile/dist/components/TariffsTable/constants.js +0 -7
  3423. package/mobile/dist/components/TariffsTable/constants.js.map +0 -1
  3424. package/mobile/dist/components/UnitBlock/UnitBlock.d.ts +0 -6
  3425. package/mobile/dist/components/UnitBlock/UnitBlock.js +0 -11
  3426. package/mobile/dist/components/UnitBlock/UnitBlock.js.map +0 -1
  3427. package/mobile/dist/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  3428. package/mobile/dist/components/UnitBlock/UnitBlockContent.js +0 -2
  3429. package/mobile/dist/components/UnitBlock/UnitBlockContent.js.map +0 -1
  3430. package/mobile/dist/retail/utils/mainFormStateMap.d.ts +0 -2
  3431. package/mobile/dist/retail/utils/mainFormStateMap.js +0 -68
  3432. package/mobile/dist/retail/utils/mainFormStateMap.js.map +0 -1
  3433. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  3434. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
  3435. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
  3436. package/mobile/dist/ui-kit/ControlProps.js.map +0 -1
  3437. package/mobile/dist/ui-kit/ControlStateProps.d.ts +0 -3
  3438. package/mobile/dist/ui-kit/ControlStateProps.js +0 -2
  3439. package/mobile/dist/ui-kit/ControlStateProps.js.map +0 -1
  3440. package/mobile/dist/ui-kit/Rating/Rating.d.ts +0 -1
  3441. package/mobile/dist/ui-kit/Rating/Rating.js +0 -21
  3442. package/mobile/dist/ui-kit/Rating/Rating.js.map +0 -1
  3443. package/mobile/dist/ui-kit/Unit/Unit.d.ts +0 -2
  3444. package/mobile/dist/ui-kit/Unit/Unit.js +0 -9
  3445. package/mobile/dist/ui-kit/Unit/Unit.js.map +0 -1
  3446. package/mobile/dist/ui-kit/Unit/UnitProps.d.ts +0 -8
  3447. package/mobile/dist/ui-kit/Unit/UnitProps.js +0 -2
  3448. package/mobile/dist/ui-kit/Unit/UnitProps.js.map +0 -1
  3449. package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +0 -5
  3450. package/mobile/lib/components/CarouselCard/CarouselCard.js +0 -14
  3451. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +0 -1
  3452. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  3453. package/mobile/lib/components/CarouselCard/CarouselCardContent.js +0 -2
  3454. package/mobile/lib/components/CarouselCard/CarouselCardContent.js.map +0 -1
  3455. package/mobile/lib/components/CarouselCard/constants.d.ts +0 -2
  3456. package/mobile/lib/components/CarouselCard/constants.js +0 -5
  3457. package/mobile/lib/components/CarouselCard/constants.js.map +0 -1
  3458. package/mobile/lib/components/CarouselCard/titleSize.d.ts +0 -1
  3459. package/mobile/lib/components/CarouselCard/titleSize.js +0 -2
  3460. package/mobile/lib/components/CarouselCard/titleSize.js.map +0 -1
  3461. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -5
  3462. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
  3463. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  3464. package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  3465. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +0 -9
  3466. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
  3467. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  3468. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
  3469. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  3470. package/mobile/lib/components/Depository/Depository.d.ts +0 -11
  3471. package/mobile/lib/components/Depository/Depository.js +0 -40
  3472. package/mobile/lib/components/Depository/Depository.js.map +0 -1
  3473. package/mobile/lib/components/Depository/DepositoryContent.d.ts +0 -5
  3474. package/mobile/lib/components/Depository/DepositoryContent.js +0 -2
  3475. package/mobile/lib/components/Depository/DepositoryContent.js.map +0 -1
  3476. package/mobile/lib/components/Depository/DepositoryFilter.d.ts +0 -9
  3477. package/mobile/lib/components/Depository/DepositoryFilter.js +0 -7
  3478. package/mobile/lib/components/Depository/DepositoryFilter.js.map +0 -1
  3479. package/mobile/lib/components/Depository/DepositoryItem.d.ts +0 -2
  3480. package/mobile/lib/components/Depository/DepositoryItem.js +0 -13
  3481. package/mobile/lib/components/Depository/DepositoryItem.js.map +0 -1
  3482. package/mobile/lib/components/Depository/useDepository.d.ts +0 -15
  3483. package/mobile/lib/components/Depository/useDepository.js +0 -19
  3484. package/mobile/lib/components/Depository/useDepository.js.map +0 -1
  3485. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  3486. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
  3487. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  3488. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  3489. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
  3490. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  3491. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  3492. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
  3493. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  3494. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  3495. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
  3496. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  3497. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  3498. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
  3499. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  3500. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  3501. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  3502. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  3503. package/mobile/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  3504. package/mobile/lib/components/ExchangeRateTile/calculateResult.js +0 -7
  3505. package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
  3506. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  3507. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
  3508. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  3509. package/mobile/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  3510. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
  3511. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  3512. package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +0 -12
  3513. package/mobile/lib/components/ExchangeRateTile/renderInput.js +0 -13
  3514. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
  3515. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  3516. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
  3517. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  3518. package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +0 -5
  3519. package/mobile/lib/components/GracePeriod/GracePeriod.js +0 -23
  3520. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +0 -1
  3521. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +0 -22
  3522. package/mobile/lib/components/GracePeriod/GracePeriodContent.js +0 -2
  3523. package/mobile/lib/components/GracePeriod/GracePeriodContent.js.map +0 -1
  3524. package/mobile/lib/components/Header/useChatBot.d.ts +0 -5
  3525. package/mobile/lib/components/Header/useChatBot.js +0 -58
  3526. package/mobile/lib/components/Header/useChatBot.js.map +0 -1
  3527. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  3528. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
  3529. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  3530. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  3531. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  3532. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  3533. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  3534. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
  3535. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  3536. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  3537. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +0 -45
  3538. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  3539. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  3540. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  3541. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  3542. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.d.ts +0 -6
  3543. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +0 -34
  3544. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +0 -1
  3545. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +0 -35
  3546. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js +0 -2
  3547. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +0 -1
  3548. package/mobile/lib/components/Placeholder/Placeholder.d.ts +0 -5
  3549. package/mobile/lib/components/Placeholder/Placeholder.js +0 -8
  3550. package/mobile/lib/components/Placeholder/Placeholder.js.map +0 -1
  3551. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +0 -6
  3552. package/mobile/lib/components/Placeholder/PlaceholderContent.js +0 -2
  3553. package/mobile/lib/components/Placeholder/PlaceholderContent.js.map +0 -1
  3554. package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +0 -5
  3555. package/mobile/lib/components/ProductGallery/ProductGallery.js +0 -10
  3556. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +0 -1
  3557. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -24
  3558. package/mobile/lib/components/ProductGallery/ProductGalleryContent.js +0 -2
  3559. package/mobile/lib/components/ProductGallery/ProductGalleryContent.js.map +0 -1
  3560. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  3561. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -24
  3562. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  3563. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  3564. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  3565. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  3566. package/mobile/lib/components/SafeDepositRental/RadioButtons.d.ts +0 -5
  3567. package/mobile/lib/components/SafeDepositRental/RadioButtons.js +0 -11
  3568. package/mobile/lib/components/SafeDepositRental/RadioButtons.js.map +0 -1
  3569. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +0 -12
  3570. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +0 -5
  3571. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +0 -1
  3572. package/mobile/lib/components/SafeDepositRental/RentalPeriod.d.ts +0 -6
  3573. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +0 -9
  3574. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +0 -1
  3575. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +0 -11
  3576. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +0 -5
  3577. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js.map +0 -1
  3578. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +0 -5
  3579. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +0 -31
  3580. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +0 -1
  3581. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +0 -7
  3582. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.js +0 -2
  3583. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.js.map +0 -1
  3584. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +0 -12
  3585. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +0 -16
  3586. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +0 -1
  3587. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +0 -11
  3588. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +0 -25
  3589. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +0 -1
  3590. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +0 -6
  3591. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +0 -32
  3592. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +0 -1
  3593. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -8
  3594. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.js +0 -2
  3595. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.js.map +0 -1
  3596. package/mobile/lib/components/SafeDepositRental/WrapperSelect.d.ts +0 -11
  3597. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js +0 -11
  3598. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +0 -1
  3599. package/mobile/lib/components/SafeDepositRental/useGetRegions.d.ts +0 -6
  3600. package/mobile/lib/components/SafeDepositRental/useGetRegions.js +0 -10
  3601. package/mobile/lib/components/SafeDepositRental/useGetRegions.js.map +0 -1
  3602. package/mobile/lib/components/SafeDepositRental/useSafeBoxes.d.ts +0 -20
  3603. package/mobile/lib/components/SafeDepositRental/useSafeBoxes.js +0 -14
  3604. package/mobile/lib/components/SafeDepositRental/useSafeBoxes.js.map +0 -1
  3605. package/mobile/lib/components/SafeDepositRental/utils.d.ts +0 -4
  3606. package/mobile/lib/components/SafeDepositRental/utils.js +0 -17
  3607. package/mobile/lib/components/SafeDepositRental/utils.js.map +0 -1
  3608. package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  3609. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +0 -23
  3610. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  3611. package/mobile/lib/components/TariffsTable/TableTileHeader.d.ts +0 -2
  3612. package/mobile/lib/components/TariffsTable/TableTileHeader.js +0 -6
  3613. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +0 -1
  3614. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  3615. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +0 -6
  3616. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  3617. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  3618. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +0 -39
  3619. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  3620. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  3621. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +0 -15
  3622. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  3623. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  3624. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +0 -5
  3625. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  3626. package/mobile/lib/components/TariffsTable/constants.d.ts +0 -4
  3627. package/mobile/lib/components/TariffsTable/constants.js +0 -5
  3628. package/mobile/lib/components/TariffsTable/constants.js.map +0 -1
  3629. package/mobile/lib/components/UnitBlock/UnitBlock.d.ts +0 -6
  3630. package/mobile/lib/components/UnitBlock/UnitBlock.js +0 -9
  3631. package/mobile/lib/components/UnitBlock/UnitBlock.js.map +0 -1
  3632. package/mobile/lib/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  3633. package/mobile/lib/components/UnitBlock/UnitBlockContent.js +0 -2
  3634. package/mobile/lib/components/UnitBlock/UnitBlockContent.js.map +0 -1
  3635. package/mobile/lib/retail/utils/mainFormStateMap.d.ts +0 -2
  3636. package/mobile/lib/retail/utils/mainFormStateMap.js +0 -66
  3637. package/mobile/lib/retail/utils/mainFormStateMap.js.map +0 -1
  3638. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +0 -7
  3639. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +0 -2
  3640. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +0 -1
  3641. package/mobile/lib/ui-kit/ControlProps.js.map +0 -1
  3642. package/mobile/lib/ui-kit/ControlStateProps.d.ts +0 -3
  3643. package/mobile/lib/ui-kit/ControlStateProps.js +0 -2
  3644. package/mobile/lib/ui-kit/ControlStateProps.js.map +0 -1
  3645. package/mobile/lib/ui-kit/Rating/Rating.d.ts +0 -1
  3646. package/mobile/lib/ui-kit/Rating/Rating.js +0 -18
  3647. package/mobile/lib/ui-kit/Rating/Rating.js.map +0 -1
  3648. package/mobile/lib/ui-kit/Unit/Unit.d.ts +0 -2
  3649. package/mobile/lib/ui-kit/Unit/Unit.js +0 -7
  3650. package/mobile/lib/ui-kit/Unit/Unit.js.map +0 -1
  3651. package/mobile/lib/ui-kit/Unit/UnitProps.d.ts +0 -8
  3652. package/mobile/lib/ui-kit/Unit/UnitProps.js +0 -2
  3653. package/mobile/lib/ui-kit/Unit/UnitProps.js.map +0 -1
  3654. package/mobile/src/components/CarouselCard/CarouselCard.example.json +0 -14
  3655. package/mobile/src/components/CarouselCard/CarouselCard.tsx +0 -47
  3656. package/mobile/src/components/CarouselCard/CarouselCard.ui.json +0 -1
  3657. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +0 -13
  3658. package/mobile/src/components/CarouselCard/constants.ts +0 -6
  3659. package/mobile/src/components/CarouselCard/titleSize.tsx +0 -1
  3660. package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -37
  3661. package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
  3662. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
  3663. package/mobile/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
  3664. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
  3665. package/mobile/src/components/Depository/Depository.example.json +0 -6
  3666. package/mobile/src/components/Depository/Depository.tsx +0 -84
  3667. package/mobile/src/components/Depository/Depository.ui.json +0 -1
  3668. package/mobile/src/components/Depository/DepositoryContent.ts +0 -6
  3669. package/mobile/src/components/Depository/DepositoryFilter.tsx +0 -41
  3670. package/mobile/src/components/Depository/DepositoryItem.tsx +0 -31
  3671. package/mobile/src/components/Depository/useDepository.ts +0 -46
  3672. package/mobile/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
  3673. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
  3674. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
  3675. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -153
  3676. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
  3677. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
  3678. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
  3679. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  3680. package/mobile/src/components/ExchangeRateTile/calculateResult.ts +0 -9
  3681. package/mobile/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
  3682. package/mobile/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
  3683. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +0 -44
  3684. package/mobile/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
  3685. package/mobile/src/components/GracePeriod/GracePeriod.example.json +0 -89
  3686. package/mobile/src/components/GracePeriod/GracePeriod.tsx +0 -87
  3687. package/mobile/src/components/GracePeriod/GracePeriod.ui.json +0 -20
  3688. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +0 -26
  3689. package/mobile/src/components/Header/useChatBot.ts +0 -86
  3690. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
  3691. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
  3692. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
  3693. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
  3694. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
  3695. package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +0 -53
  3696. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +0 -131
  3697. package/mobile/src/components/InvestmentInfo/InvestmentInfo.ui.json +0 -13
  3698. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +0 -51
  3699. package/mobile/src/components/MortgageFiltration/MortgageFiltration.example.json +0 -115
  3700. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +0 -69
  3701. package/mobile/src/components/MortgageFiltration/MortgageFiltration.ui.json +0 -12
  3702. package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +0 -38
  3703. package/mobile/src/components/Placeholder/Placeholder.tsx +0 -25
  3704. package/mobile/src/components/Placeholder/Placeholder.ui.json +0 -1
  3705. package/mobile/src/components/Placeholder/PlaceholderContent.ts +0 -7
  3706. package/mobile/src/components/ProductGallery/ProductGallery.example.json +0 -72
  3707. package/mobile/src/components/ProductGallery/ProductGallery.tsx +0 -29
  3708. package/mobile/src/components/ProductGallery/ProductGallery.ui.json +0 -42
  3709. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +0 -27
  3710. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +0 -14
  3711. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +0 -94
  3712. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +0 -24
  3713. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +0 -22
  3714. package/mobile/src/components/SafeDepositRental/RadioButtons.tsx +0 -33
  3715. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +0 -48
  3716. package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +0 -21
  3717. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +0 -46
  3718. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +0 -75
  3719. package/mobile/src/components/SafeDepositRental/SafeDepositRental.ui.json +0 -8
  3720. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +0 -8
  3721. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +0 -74
  3722. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +0 -62
  3723. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +0 -74
  3724. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -9
  3725. package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +0 -33
  3726. package/mobile/src/components/SafeDepositRental/useGetRegions.ts +0 -19
  3727. package/mobile/src/components/SafeDepositRental/useSafeBoxes.ts +0 -44
  3728. package/mobile/src/components/SafeDepositRental/utils.ts +0 -24
  3729. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +0 -79
  3730. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +0 -15
  3731. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +0 -14
  3732. package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -83
  3733. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +0 -33
  3734. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +0 -13
  3735. package/mobile/src/components/TariffsTable/constants.ts +0 -4
  3736. package/mobile/src/components/UnitBlock/UnitBlock.example.json +0 -9
  3737. package/mobile/src/components/UnitBlock/UnitBlock.tsx +0 -17
  3738. package/mobile/src/components/UnitBlock/UnitBlock.ui.json +0 -1
  3739. package/mobile/src/components/UnitBlock/UnitBlockContent.ts +0 -7
  3740. package/mobile/src/retail/utils/mainFormStateMap.ts +0 -67
  3741. package/mobile/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +0 -8
  3742. package/mobile/src/ui-kit/ControlStateProps.ts +0 -3
  3743. package/mobile/src/ui-kit/Rating/Rating.tsx +0 -39
  3744. package/mobile/src/ui-kit/Unit/Unit.tsx +0 -26
  3745. package/mobile/src/ui-kit/Unit/UnitProps.ts +0 -8
  3746. package/src/components/CarouselCard/CarouselCard.example.json +0 -14
  3747. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +0 -28
  3748. package/src/components/CarouselCard/CarouselCard.fixture.tsx +0 -53
  3749. package/src/components/CarouselCard/CarouselCard.tsx +0 -47
  3750. package/src/components/CarouselCard/CarouselCard.ui.json +0 -1
  3751. package/src/components/CarouselCard/CarouselCardContent.ts +0 -13
  3752. package/src/components/CarouselCard/constants.ts +0 -6
  3753. package/src/components/CarouselCard/titleSize.mobile.tsx +0 -1
  3754. package/src/components/CarouselCard/titleSize.tsx +0 -1
  3755. package/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -37
  3756. package/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
  3757. package/src/components/CarouselLinks/CarouselLinks.fixture.mobile.tsx +0 -83
  3758. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +0 -40
  3759. package/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
  3760. package/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
  3761. package/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
  3762. package/src/components/Depository/Depository.example.json +0 -6
  3763. package/src/components/Depository/Depository.fixture.mobile.tsx +0 -12
  3764. package/src/components/Depository/Depository.fixture.tsx +0 -12
  3765. package/src/components/Depository/Depository.tsx +0 -84
  3766. package/src/components/Depository/Depository.ui.json +0 -1
  3767. package/src/components/Depository/DepositoryContent.ts +0 -6
  3768. package/src/components/Depository/DepositoryFilter.tsx +0 -41
  3769. package/src/components/Depository/DepositoryItem.tsx +0 -31
  3770. package/src/components/Depository/useDepository.ts +0 -46
  3771. package/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
  3772. package/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
  3773. package/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
  3774. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -153
  3775. package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
  3776. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +0 -19
  3777. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +0 -21
  3778. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
  3779. package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
  3780. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  3781. package/src/components/ExchangeRateTile/calculateResult.ts +0 -9
  3782. package/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
  3783. package/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
  3784. package/src/components/ExchangeRateTile/renderInput.tsx +0 -44
  3785. package/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
  3786. package/src/components/GracePeriod/GracePeriod.example.json +0 -89
  3787. package/src/components/GracePeriod/GracePeriod.fixture.tsx +0 -109
  3788. package/src/components/GracePeriod/GracePeriod.tsx +0 -87
  3789. package/src/components/GracePeriod/GracePeriod.ui.json +0 -20
  3790. package/src/components/GracePeriod/GracePeriodContent.ts +0 -26
  3791. package/src/components/Header/useChatBot.ts +0 -86
  3792. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
  3793. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +0 -62
  3794. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
  3795. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
  3796. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
  3797. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
  3798. package/src/components/InvestmentInfo/InvestmentInfo.example.json +0 -53
  3799. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +0 -109
  3800. package/src/components/InvestmentInfo/InvestmentInfo.tsx +0 -131
  3801. package/src/components/InvestmentInfo/InvestmentInfo.ui.json +0 -13
  3802. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +0 -51
  3803. package/src/components/MortgageFiltration/MortgageFiltration.example.json +0 -115
  3804. package/src/components/MortgageFiltration/MortgageFiltration.fixture.mobile.tsx +0 -226
  3805. package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +0 -226
  3806. package/src/components/MortgageFiltration/MortgageFiltration.tsx +0 -69
  3807. package/src/components/MortgageFiltration/MortgageFiltration.ui.json +0 -12
  3808. package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +0 -38
  3809. package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +0 -9
  3810. package/src/components/Placeholder/Placeholder.fixture.tsx +0 -11
  3811. package/src/components/Placeholder/Placeholder.tsx +0 -25
  3812. package/src/components/Placeholder/Placeholder.ui.json +0 -1
  3813. package/src/components/Placeholder/PlaceholderContent.ts +0 -7
  3814. package/src/components/ProductGallery/ProductGallery.example.json +0 -72
  3815. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -146
  3816. package/src/components/ProductGallery/ProductGallery.fixture.tsx +0 -120
  3817. package/src/components/ProductGallery/ProductGallery.mobile.tsx +0 -29
  3818. package/src/components/ProductGallery/ProductGallery.tsx +0 -117
  3819. package/src/components/ProductGallery/ProductGallery.ui.json +0 -42
  3820. package/src/components/ProductGallery/ProductGalleryContent.ts +0 -27
  3821. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +0 -14
  3822. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +0 -47
  3823. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +0 -47
  3824. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +0 -94
  3825. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +0 -24
  3826. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +0 -22
  3827. package/src/components/SafeDepositRental/RadioButtons.tsx +0 -33
  3828. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +0 -48
  3829. package/src/components/SafeDepositRental/RentalPeriod.tsx +0 -21
  3830. package/src/components/SafeDepositRental/SafeBoxCases.tsx +0 -46
  3831. package/src/components/SafeDepositRental/SafeDepositRental.fixture.mobile.tsx +0 -15
  3832. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +0 -17
  3833. package/src/components/SafeDepositRental/SafeDepositRental.tsx +0 -75
  3834. package/src/components/SafeDepositRental/SafeDepositRental.ui.json +0 -8
  3835. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +0 -8
  3836. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +0 -74
  3837. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +0 -62
  3838. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +0 -74
  3839. package/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -9
  3840. package/src/components/SafeDepositRental/WrapperSelect.tsx +0 -33
  3841. package/src/components/SafeDepositRental/useGetRegions.ts +0 -19
  3842. package/src/components/SafeDepositRental/useSafeBoxes.ts +0 -44
  3843. package/src/components/SafeDepositRental/utils.ts +0 -24
  3844. package/src/components/TariffsTable/EmbeddableCellData.tsx +0 -79
  3845. package/src/components/TariffsTable/TableTileHeader.tsx +0 -15
  3846. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +0 -14
  3847. package/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -83
  3848. package/src/components/TariffsTable/TariffsTableTileCell.tsx +0 -33
  3849. package/src/components/TariffsTable/TariffsTableVertical.tsx +0 -13
  3850. package/src/components/TariffsTable/constants.ts +0 -4
  3851. package/src/components/UnitBlock/UnitBlock.example.json +0 -9
  3852. package/src/components/UnitBlock/UnitBlock.fixture.mobile.tsx +0 -27
  3853. package/src/components/UnitBlock/UnitBlock.fixture.tsx +0 -27
  3854. package/src/components/UnitBlock/UnitBlock.tsx +0 -17
  3855. package/src/components/UnitBlock/UnitBlock.ui.json +0 -1
  3856. package/src/components/UnitBlock/UnitBlockContent.ts +0 -7
  3857. package/src/retail/utils/mainFormStateMap.ts +0 -67
  3858. package/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +0 -8
  3859. package/src/ui-kit/ControlStateProps.ts +0 -3
  3860. package/src/ui-kit/Rating/Rating.fixture.tsx +0 -7
  3861. package/src/ui-kit/Rating/Rating.tsx +0 -39
  3862. package/src/ui-kit/Unit/Unit.tsx +0 -26
  3863. package/src/ui-kit/Unit/UnitProps.ts +0 -8
  3864. /package/bundle/{ui-kit → model}/ControlProps.d.ts +0 -0
  3865. /package/dist/{ui-kit → model}/ControlProps.d.ts +0 -0
  3866. /package/dist/{ui-kit → model}/ControlProps.js +0 -0
  3867. /package/lib/{ui-kit → model}/ControlProps.d.ts +0 -0
  3868. /package/lib/{ui-kit → model}/ControlProps.js +0 -0
  3869. /package/mobile/bundle/{ui-kit → model}/ControlProps.d.ts +0 -0
  3870. /package/mobile/dist/{ui-kit → model}/ControlProps.d.ts +0 -0
  3871. /package/mobile/dist/{ui-kit → model}/ControlProps.js +0 -0
  3872. /package/mobile/lib/{ui-kit → model}/ControlProps.d.ts +0 -0
  3873. /package/mobile/lib/{ui-kit → model}/ControlProps.js +0 -0
  3874. /package/mobile/src/{ui-kit → model}/ControlProps.ts +0 -0
  3875. /package/src/{ui-kit → model}/ControlProps.ts +0 -0
@@ -137,7 +137,7 @@
137
137
  const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isEmbedded = false, isTheme = false, ...rest }) => {
138
138
  const versionStyle = headlineVersionStyles[headlineVersion];
139
139
  const descriptionStyle = { marginTop: versionStyle.descriptionStyle };
140
- return (jsxs(BlockWrapper, { className: style({ '@container-normal': isEmbedded }, className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-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] }));
140
+ return (jsxs(BlockWrapper, { className: style({ '@container-normal': isEmbedded }, className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-normal', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
141
141
  });
142
142
 
143
143
  const DEFAULT_SLOT_NAME = null;
@@ -146,7 +146,7 @@
146
146
 
147
147
  const DEFAULT_ANCESTORS = [];
148
148
  const defaultStyle$2 = 'col-span-12';
149
- function renderBlock$1(block, options, { className, ...extraProps } = {}) {
149
+ function renderBlock(block, options, { className, ...extraProps } = {}) {
150
150
  const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, } = options;
151
151
  const { type } = block;
152
152
  if (!(type && type in blocksRegistry)) {
@@ -166,9 +166,9 @@
166
166
  }
167
167
 
168
168
  const EMPTY_ANCESTORS = [];
169
- const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock$1, ...options }) => {
169
+ const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock, ...options }) => {
170
170
  const renderChildBlock = extraProps
171
- ? (childBlock, childOptions) => renderBlock$1(childBlock, childOptions, extraProps)
171
+ ? (childBlock, childOptions) => renderBlock(childBlock, childOptions, extraProps)
172
172
  : renderProps;
173
173
  return (blocks || []).map((_, i) => renderChildBlock(_, {
174
174
  ...options,
@@ -473,8 +473,12 @@
473
473
 
474
474
  const useDialogManager = () => useEmitterWithActions(defaultEventBus.emitter, 'dialog');
475
475
 
476
- const adjustBase = (href, basePath = '') => href?.replace(basePath, '') || '/';
476
+ const FORWARD_SLASH = '/';
477
+ const adjustBase = (href = FORWARD_SLASH, basePath = FORWARD_SLASH) => [href, basePath].some((_) => _ === FORWARD_SLASH)
478
+ ? href
479
+ : href.replace(basePath, '') || FORWARD_SLASH;
477
480
 
481
+ const RESERVED_PREFIX = ['/api'];
478
482
  function useLink() {
479
483
  const router = useRouter();
480
484
  const { closeAll } = useDialogManager();
@@ -497,7 +501,7 @@
497
501
  };
498
502
  }
499
503
  const isClientRouting = (href, target, basePath) => isLocalURL(href, target) &&
500
- !env.SUB_PORTALS?.split(',')?.some(hasPrefix(href)) &&
504
+ ![...RESERVED_PREFIX, ...(env.SUB_PORTALS?.split(',') ?? [])].some(hasPrefix(href)) &&
501
505
  hasPrefix(href)(basePath || '/');
502
506
 
503
507
  const getAspectsAttributes = (data) => {
@@ -513,7 +517,7 @@
513
517
  const ButtonInner = JSX((props) => {
514
518
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
515
519
  const iconHideStyle = isWithText(props) && 'hidden lg:block';
516
- return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-3xs' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendRight })) : null] }));
520
+ return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap$1[version]), children: appendRight })) : null] }));
517
521
  });
518
522
  const buttonStyle$1 = (props) => {
519
523
  const { version, aboveText, rounded } = props;
@@ -632,7 +636,7 @@
632
636
  imageAlign,
633
637
  }), buttons ? jsx("div", { className: "self-end", children: buttons }) : null] })] })] }));
634
638
  });
635
- const renderMiddleContent = (insetTitle, children) => insetTitle || children ? (jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] })) : null;
639
+ const renderMiddleContent = (insetTitle, children) => insetTitle || children ? (jsxs("div", { className: "grow space-y-lg w-fit", children: [insetTitle, children] })) : null;
636
640
  const imageAlwaysOnRightContainerStyle = (isImage) => style(isImage ? 'row-span-2' : '@xl:row-span-2');
637
641
  const renderUnitContainer = (childrenBlocks) => childrenBlocks?.length ? (jsx("div", { className: "flex items-start justify-end", children: childrenBlocks })) : null;
638
642
 
@@ -751,10 +755,10 @@
751
755
  const and = (a, b) => (...args) => a(...args) && b(...args);
752
756
 
753
757
  const table = (...table) => (...input) => {
754
- const [, unit] = assertNonEmpty$1(table.find(([predicate]) => predicate(...input)));
758
+ const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(...input)));
755
759
  return unit(...input);
756
760
  };
757
- function assertNonEmpty$1(value) {
761
+ function assertNonEmpty(value) {
758
762
  if (!value) {
759
763
  throw new Error('Value should be fulfilled');
760
764
  }
@@ -973,7 +977,7 @@
973
977
  return OutputComponent;
974
978
  }
975
979
 
976
- const ProductBlock = UniBlock(({ className, padding, defaultPadding, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: defaultPadding || 'p-6xl', padding: padding, className: "grow h-full", ...rest }) })), { childrenTypes: ['UnitBlock'] });
980
+ const ProductBlock = UniBlock(({ className, padding, defaultPadding, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: defaultPadding || 'p-6xl', padding: padding, className: "grow h-full", ...rest }) })));
977
981
 
978
982
  const AdTile = JSX((props) => {
979
983
  const { items } = (props.options?.page?.adSourceBook ?? {});
@@ -1057,9 +1061,12 @@
1057
1061
  : { secondaryPhoneNumber: formatPhone(secondaryPhone) };
1058
1062
  };
1059
1063
 
1060
- const handleAspects = ({ aspectsAttributes, aspects, ev }) => {
1064
+ const handleAspects = async ({ aspectsAttributes, aspects, ev }) => {
1061
1065
  for (const { aspectName, params } of aspectsAttributes ?? []) {
1062
- aspects[aspectName ?? '']?.(ev, params);
1066
+ const aspectFn = aspects[aspectName ?? ''];
1067
+ if (aspectFn) {
1068
+ await aspectFn(ev, params);
1069
+ }
1063
1070
  }
1064
1071
  };
1065
1072
 
@@ -1102,7 +1109,7 @@
1102
1109
  return url.toString();
1103
1110
  };
1104
1111
 
1105
- const forwardQuery = (ev) => {
1112
+ const forwardQuery = async (ev) => {
1106
1113
  const anchor = ev.target?.closest('a');
1107
1114
  const navigator = locationNavigator();
1108
1115
  if (isURL(anchor?.href) && !anchor?.href?.startsWith(navigator.origin)) {
@@ -1272,7 +1279,7 @@
1272
1279
 
1273
1280
  const getValidStyle = (valid) => (valid ? inputValidStyle : 'border-error');
1274
1281
 
1275
- const renderLabel = (label) => label ? (jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label })) : null;
1282
+ const renderLabel$1 = (label) => label ? (jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label })) : null;
1276
1283
 
1277
1284
  const Input = JSX(
1278
1285
  // eslint-disable-next-line max-lines-per-function
@@ -1290,26 +1297,30 @@
1290
1297
  const paddingStyle = children ? 'pr-3xl' : '';
1291
1298
  const validStyle = getValidStyle(valid);
1292
1299
  const ariaLabel = label ?? name ?? id;
1293
- return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { className: "space-y-xs", children: [renderLabel(label), isTextarea ? (jsx("textarea", { className: style('block resize-y min-h-24', defaultStyle$1, validStyle), id: style('textarea', id), value: value, name: name || id, placeholder: placeholder, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key)) : (jsx("input", { ref: inputRef, className: style('h-14', defaultStyle$1, paddingStyle, validStyle), id: id, type: type, value: value, name: name || id, placeholder: placeholder, pattern: pattern, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key))] }), children] }));
1300
+ return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { className: "space-y-xs", children: [renderLabel$1(label), isTextarea ? (jsx("textarea", { className: style('block resize-y min-h-24', defaultStyle$1, validStyle), id: style('textarea', id), value: value, name: name || id, placeholder: placeholder, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key)) : (jsx("input", { ref: inputRef, className: style('h-14', defaultStyle$1, paddingStyle, validStyle), id: id, type: type, value: value, name: name || id, placeholder: placeholder, pattern: pattern, disabled: disabled, "aria-label": ariaLabel, onChange: handleChange, onFocus: onFocus, onBlur: onBlur }, key))] }), children] }));
1294
1301
  });
1295
1302
  const defaultStyle$1 = 'w-full border rounded-md text-primary-text outline-none p-m';
1296
1303
 
1297
1304
  const renderErrorText = (error) => (jsx("div", { className: "h-6", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
1298
1305
 
1299
- const InputControl = JSX(({ className, label, value = '', placeholder, error, errors, onChange = noop, onBlur, isTextarea, type, isInteger = false, maxLength, disabled = false, }) => {
1300
- const [isOpen, { setFalse: close, setTrue: open }] = useBool();
1301
- const popupRef = useOutsideClick(close);
1306
+ const InputWrapper = JSX(({ className, label, value = '', error, errors, type, isInteger, placeholder, maxLength, inputRef, isOpen, onOpen, onClose, onChange = noop, ...rest }) => {
1307
+ const popupRef = useOutsideClick(onClose);
1302
1308
  const handleChange = useCallback((v) => {
1303
- !isOpen && open();
1304
- maxLength ? v.length <= maxLength && onChange(v) : onChange(v);
1309
+ const isOverMax = maxLength && v.length > maxLength;
1310
+ !isOpen && onOpen();
1311
+ if (!isOverMax) {
1312
+ onChange(normalizeInteger(v, isInteger));
1313
+ }
1305
1314
  }, [isOpen, onChange]);
1306
- useEffect(() => {
1307
- isInteger && value ? onChange(normalizeInteger$1(value)) : null;
1308
- }, [value]);
1309
- return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: close, onFocus: open, children: [jsx("div", { children: jsx(Input, { disabled: disabled, type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), value: value, onChange: handleChange, onBlur: onBlur, isTextarea: isTextarea, placeholder: getPlaceholder$1(placeholder, errors, label) }) }), renderErrorText(error)] }));
1315
+ return (jsxs("div", { className: style('shrink-0 w-full', className), ref: popupRef, onBlur: onClose, onFocus: onOpen, children: [jsx("div", { ref: inputRef, children: jsx(Input, { type: type || 'text', "aria-label": label, label: getRequiredLabel({ label, errors }), valid: Boolean(!error), onChange: handleChange, placeholder: getPlaceholder({ placeholder, errors, label }), value: value, ...rest }) }), renderErrorText(error)] }));
1310
1316
  });
1311
- const normalizeInteger$1 = (val = '') => val.replace(/[^\d]+/g, '');
1312
- const getPlaceholder$1 = (placeholder, errors, label) => errors && !label ? `${placeholder}*` : placeholder;
1317
+ const normalizeInteger = (val = '', isInteger = false) => isInteger && val ? val.replace(/[^\d]+/g, '') : val;
1318
+ const getPlaceholder = ({ placeholder, errors, label }) => errors && !label ? `${placeholder}*` : placeholder;
1319
+
1320
+ const InputControl = JSX((props) => {
1321
+ const [isOpen, { setFalse: close, setTrue: open }] = useBool();
1322
+ return jsx(InputWrapper, { isOpen: isOpen, onOpen: open, onClose: close, ...props });
1323
+ });
1313
1324
 
1314
1325
  const formatOption = (_) => _?.text || _?.key || '';
1315
1326
 
@@ -1383,7 +1394,7 @@
1383
1394
  onClose: handleClose,
1384
1395
  iconVersion,
1385
1396
  });
1386
- return (jsxs("div", { className: style('space-y-xs', className), children: [renderLabel(label), jsxs("div", { className: style('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [jsxs("div", { className: style('h-14 [&>*]:p-m pr-6 text-l flex items-center justify-between text-primary-text relative z-10 overflow-hidden', getStyle(isBorder, valid, isDisabled)), onClick: hasOpen ? handleClose : handleOpen, children: [jsx("p", { className: "line-clamp-2 text-ellipsis", children: formatOption(value) || placeholder }), renderIcon$1(hasOpen, iconVersion)] }), isSearch && hasOpen ? (jsx("div", { className: style('absolute top-0 w-full z-20'), children: jsx(Input, { type: "text", value: query, autoFocus: true, disabled: isDisabled, onChange: setQuery }) })) : null] })] }));
1397
+ return (jsxs("div", { className: style('space-y-xs', className), children: [renderLabel$1(label), jsxs("div", { className: style('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [jsxs("div", { className: style('h-14 [&>*]:p-m pr-6 text-l flex items-center justify-between text-primary-text relative z-10 overflow-hidden', getStyle(isBorder, valid, isDisabled)), onClick: hasOpen ? handleClose : handleOpen, children: [jsx("p", { className: "line-clamp-2 text-ellipsis", children: formatOption(value) || placeholder }), renderIcon$1(hasOpen, iconVersion)] }), isSearch && hasOpen ? (jsx("div", { className: style('absolute top-0 w-full z-20'), children: jsx(Input, { type: "text", value: query, autoFocus: true, disabled: isDisabled, onChange: setQuery }) })) : null] })] }));
1387
1398
  });
1388
1399
  const renderIcon$1 = (isOpen, iconVersion) => (jsx(Icon, { className: style('absolute right-0 flex self-center', { 'rotate-180': !isOpen }), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
1389
1400
  const getStyle = (isBorder, valid, disabled) => style(isBorder ? 'border rounded-md ' : '', isBorder && !disabled ? 'hover:border-primary-hover' : '', disabled ? 'bg-main-divider' : 'cursor-pointer ', valid ? 'border-gray' : 'border-error');
@@ -1483,14 +1494,14 @@
1483
1494
  }
1484
1495
 
1485
1496
  const BRANCHES_URL = `${API_BASE_URI$1}/branches`;
1486
- const EMPTY_VALUE$3 = [];
1497
+ const EMPTY_VALUE$2 = [];
1487
1498
  function useBranches(regionCode) {
1488
- const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes$1);
1489
- return data || EMPTY_VALUE$3;
1499
+ const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
1500
+ return data || EMPTY_VALUE$2;
1490
1501
  }
1491
- const fetchSafeBoxes$1 = async (url) => {
1502
+ const fetchSafeBoxes = async (url) => {
1492
1503
  const result = await fetchJSON(url, { method: 'GET' });
1493
- return result || EMPTY_VALUE$3;
1504
+ return result || EMPTY_VALUE$2;
1494
1505
  };
1495
1506
 
1496
1507
  const REGIONS_URL$1 = '/branchesByRegions';
@@ -1574,7 +1585,7 @@
1574
1585
  const handleChange = useCallback((ev) => {
1575
1586
  onChange && onChange(parseDecimal(ev.target?.value));
1576
1587
  }, [onChange]);
1577
- return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('text-h3 w-full h-14', 'pl-m mt-xs box-border', 'text-primary-text', inputValidStyle, inputDisabledStyle), disabled: disabled, onChange: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
1588
+ return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('text-h3 w-full h-14', 'pl-m box-border', 'text-primary-text', inputValidStyle, inputDisabledStyle), disabled: disabled, onChange: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
1578
1589
  });
1579
1590
  const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
1580
1591
  const renderRangeCaption = (items) => (jsx("div", { className: "flex justify-between my-xs", children: items.map((item, i) => (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item }, String(i)))) }));
@@ -1878,7 +1889,7 @@
1878
1889
  value,
1879
1890
  });
1880
1891
  const spaceAbove = useElementSpace(ref, 370);
1881
- return (jsxs("div", { className: style('space-y-xs', className), ref: ref, children: [renderLabel(label), jsxs("div", { className: "relative", children: [renderDatePickerForm({
1892
+ return (jsxs("div", { className: style('space-y-xs', className), ref: ref, children: [renderLabel$1(label), jsxs("div", { className: "relative", children: [renderDatePickerForm({
1882
1893
  handleChangeVisibleCalendar,
1883
1894
  value,
1884
1895
  valid,
@@ -2067,7 +2078,7 @@
2067
2078
  };
2068
2079
  };
2069
2080
 
2070
- const cyrillicPattern = /^[\u0400-\u04FF\d\s]+$/u;
2081
+ const cyrillicPattern = /^[а-яё-]*$/i;
2071
2082
  const isCyrillic = (_ = '') => cyrillicPattern.test(_);
2072
2083
 
2073
2084
  const required = validator((_) => _ !== null && _ !== undefined && _ !== '');
@@ -2102,7 +2113,7 @@
2102
2113
  sufferedFrom: defaultValidator(),
2103
2114
  applierType: defaultValidator(),
2104
2115
  surname: nameValidator('Укажите свою фамилию на кириллице'),
2105
- name: nameValidator('Укажите своё имя на кириллице'),
2116
+ name: nameValidator('Укажите своё имя на кириллице (без сокращений)'),
2106
2117
  middleName: nameValidator('Укажите своё отчество на кириллице'),
2107
2118
  birthday: defaultValidator('Укажите дату рождения'),
2108
2119
  phone: phoneValidator('Укажите номер телефона'),
@@ -2459,6 +2470,7 @@
2459
2470
  return false;
2460
2471
  })('Укажите дату выдачи паспорта');
2461
2472
  const deliveryDateValidator = (errorMsg) => validator((_) => _?.getTime() >= new Date().getTime())(errorMsg);
2473
+ const notLaterDateValidator = (errorMsg) => validator((_) => _?.getTime() <= new Date().getTime())(errorMsg);
2462
2474
  const numberValidator = (errorMsg) => validator((_) => typeof _ === 'string' && _.length === 6)(errorMsg);
2463
2475
  const serieValidator = (errorMsg) => validator((_) => typeof _ === 'string' && _.length === 4)(errorMsg);
2464
2476
  const snilsValidate = (snils) => {
@@ -2525,7 +2537,7 @@
2525
2537
  lastJobExperience: jobNumberValidator('Укажите стаж на последнем месте работы'),
2526
2538
  experience5Years: jobNumberValidator('Укажите общий стаж за последние 5 лет'),
2527
2539
  jobsNumber: jobNumberValidator('Укажите количество мест работы за последние 5 лет'),
2528
- beginDate: defaultValidator('Укажите дату заключения трудового договора'),
2540
+ beginDate: notLaterDateValidator('Укажите дату заключения трудового договора'),
2529
2541
  addressFact: addressDaDataValidator(),
2530
2542
  addressRegistration: addressDaDataValidator(),
2531
2543
  addressRetail: defaultSelectValidator('Выберите адрес банка'),
@@ -2552,7 +2564,7 @@
2552
2564
  dulNumber: numberValidator('Укажите номер паспорта'),
2553
2565
  dulSubdivisionCode: numberValidator('Укажите код подразделения'),
2554
2566
  dulIssuedBy: defaultValidator('Укажите организацию, выдавшую паспорт'),
2555
- participantDateRegistration: defaultValidator('Укажите дату регистрации'),
2567
+ participantDateRegistration: notLaterDateValidator('Укажите дату регистрации'),
2556
2568
  retirementIncome: defaultValidator(),
2557
2569
  otherIncome: defaultValidator(),
2558
2570
  wages: defaultValidator(),
@@ -2617,10 +2629,6 @@
2617
2629
  text: 'Согласие на получение информационных материалов',
2618
2630
  docId: 18,
2619
2631
  },
2620
- consentPhotoFlg: {
2621
- text: 'Согласие на фотографирование',
2622
- docId: 17,
2623
- },
2624
2632
  };
2625
2633
  const DEBIT_CARD_CONSENTS = {
2626
2634
  processPersonalDataFlg: {
@@ -2659,7 +2667,6 @@
2659
2667
  { name: 'consentInformFlg' },
2660
2668
  { name: 'consentPfrFlg' },
2661
2669
  { name: 'consentInformMaterialsFlg' },
2662
- { name: 'consentPhotoFlg' },
2663
2670
  { name: 'consentFATCA', required: true },
2664
2671
  ];
2665
2672
  return [
@@ -2680,6 +2687,13 @@
2680
2687
  ];
2681
2688
  };
2682
2689
 
2690
+ var EsiaStatuses;
2691
+ (function (EsiaStatuses) {
2692
+ EsiaStatuses["Success"] = "SUCCESS";
2693
+ EsiaStatuses["Error"] = "ERROR";
2694
+ EsiaStatuses["Pending"] = "PENDING";
2695
+ })(EsiaStatuses || (EsiaStatuses = {}));
2696
+
2683
2697
  const getTraceId = () => {
2684
2698
  const result = new Uint8Array(8);
2685
2699
  globalThis.crypto.getRandomValues(result);
@@ -2718,14 +2732,19 @@
2718
2732
 
2719
2733
  const getLink = (body) => fetchRetailJSON('/esia/getLink', 'POST', body);
2720
2734
 
2721
- const EsiaLoginBanner = JSX(() => {
2735
+ const EsiaLoginBanner = JSX(({ onChangeEsiaStatus }) => {
2722
2736
  const navigator = locationNavigator();
2723
2737
  const handleAuth = useCallback(async () => {
2724
- const resp = await getLink({
2725
- redirectUri: globalThis.location.origin + globalThis.location.pathname,
2726
- });
2727
- if (resp?.link) {
2728
- navigator.assign(resp.link);
2738
+ try {
2739
+ const resp = await getLink({
2740
+ redirectUri: globalThis.location.origin + globalThis.location.pathname,
2741
+ });
2742
+ if (resp?.link) {
2743
+ navigator.assign(resp.link);
2744
+ }
2745
+ }
2746
+ catch {
2747
+ onChangeEsiaStatus(EsiaStatuses.Error);
2729
2748
  }
2730
2749
  }, []);
2731
2750
  return (jsxs("div", { className: "flex gap-lg items-center rounded-md bg-main-gray p-4xl", children: [jsxs("div", { className: "flex flex-col justify-around w-full", children: [jsx("p", { className: "mb-m text-xl", children: "\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0447\u0435\u0440\u0435\u0437 \u0413\u043E\u0441\u0443\u0441\u043B\u0443\u0433\u0438" }), jsxs("ul", { className: "list-disc list-inside mb-4xl", children: [jsx("li", { children: "\u0412\u0435\u0440\u043E\u044F\u0442\u043D\u043E\u0441\u0442\u044C \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u044F \u0432\u044B\u0448\u0435" }), jsx("li", { children: "\u0411\u0435\u0437 \u0441\u043F\u0440\u0430\u0432\u043E\u043A \u043E \u0434\u043E\u0445\u043E\u0434\u0430\u0445 \u0438 \u0442\u0440\u0443\u0434\u043E\u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435" }), jsx("li", { children: "\u0421 \u0437\u0430\u0449\u0438\u0442\u043E\u0439 \u0412\u0430\u0448\u0438\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" })] }), jsx(Img, { className: "block mb-xl self-center @md:hidden", image: { icon: 'GosUslugiIcon', iconVersion: 'normal' }, height: "80", width: "80" }), jsx(Button, { type: "button", onClick: handleAuth, className: "w-full @md:w-fit", children: "\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C" })] }), jsx(Img, { className: "hidden @md:block", image: { icon: 'GosUslugiIcon', iconVersion: 'normal' }, height: "164" })] }));
@@ -2923,16 +2942,8 @@
2923
2942
  return inputRef;
2924
2943
  }
2925
2944
 
2926
- const DaDataInputControl = JSX(({ className, label, value = '', placeholder, error, errors, onChange = noop, onDaDataChange, onBlur, isTextarea, type, name = '', daDataQueryPrefix, isInteger = false, maxLength, dadata = false, disabled = false, }) => {
2945
+ const DaDataInputControl = JSX(({ value = '', onChange = noop, onDaDataChange, name = '', daDataQueryPrefix, dadata = false, ...rest }) => {
2927
2946
  const [isOpen, { setFalse: close, setTrue: open }] = useBool();
2928
- const popupRef = useOutsideClick(close);
2929
- const handleChange = useCallback((v) => {
2930
- dadata && !isOpen && open();
2931
- maxLength ? v.length <= maxLength && onChange(v) : onChange(v);
2932
- }, [isOpen, onChange]);
2933
- useEffect(() => {
2934
- isInteger && value && onChange(normalizeInteger(value));
2935
- }, [value]);
2936
2947
  const inputRef = useInputPopup({
2937
2948
  isOpen: isOpen && dadata,
2938
2949
  name,
@@ -2941,10 +2952,8 @@
2941
2952
  onChange,
2942
2953
  onDaDataChange,
2943
2954
  });
2944
- return (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)] }));
2945
- });
2946
- const normalizeInteger = (val = '') => val.replace(/[^\d]+/g, '');
2947
- const getPlaceholder = (placeholder, errors, label) => errors && !label ? `${placeholder}*` : placeholder;
2955
+ return (jsx(InputWrapper, { value: value, onChange: onChange, inputRef: inputRef, isOpen: isOpen, onOpen: open, onClose: close, ...rest }));
2956
+ });
2948
2957
 
2949
2958
  const AddressField = JSX(({ field, input }) => {
2950
2959
  const fieldName = input?.name || 'addressRegistration';
@@ -3503,16 +3512,6 @@
3503
3512
  });
3504
3513
  }
3505
3514
  };
3506
- const initializeExternalStylesheet = (url = '') => {
3507
- const link = globalThis.document.getElementById(url);
3508
- if (!link) {
3509
- const newLink = globalThis.document.createElement('link');
3510
- newLink.href = url;
3511
- newLink.id = url;
3512
- newLink.rel = 'stylesheet';
3513
- globalThis.document.head.appendChild(newLink);
3514
- }
3515
- };
3516
3515
  function useExternalNS(namespaceName, url, unmountNS = true) {
3517
3516
  const [externalNS, setExternalNS] = useState(undefined);
3518
3517
  useEffect(() => {
@@ -3846,7 +3845,7 @@
3846
3845
 
3847
3846
  const BankruptcyFlgField = JSX(({ field, input }) => (jsx(CheckboxWithError, { text: "\u0412 \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043C\u0435\u043D\u044F \u0432\u0435\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u043E \u043F\u043E \u0434\u0435\u043B\u0443 \u043E \u0431\u0430\u043D\u043A\u0440\u043E\u0442\u0441\u0442\u0432\u0435", ...field(input?.name ?? '') })));
3848
3847
 
3849
- const BeginDateField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u0442\u0435\u043A\u0443\u0449\u0435\u043C \u043C\u0435\u0441\u0442\u0435", ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
3848
+ const BeginDateField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u0442\u0435\u043A\u0443\u0449\u0435\u043C \u043C\u0435\u0441\u0442\u0435", ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input), maxDate: new Date() })));
3850
3849
 
3851
3850
  const BirthPlaceField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041C\u0435\u0441\u0442\u043E \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
3852
3851
 
@@ -3964,7 +3963,7 @@
3964
3963
  const CalculatorLayout = JSX(({ className, title, children, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-xl', className), defaultPadding: "p-4xl", ...rest, children: [title ? jsx(Heading, { className: "text-center", title: title }) : null, children] })));
3965
3964
 
3966
3965
  const CalculatorStyle = {
3967
- wrapper: 'flex flex-col justify-between lg:flex-row gap-x-4xl gap-y-7 lg:gap-y-4xl',
3966
+ wrapper: 'flex flex-col justify-between lg:flex-row gap-4xl',
3968
3967
  input: 'flex flex-col lg:w-1/2 gap-2xl',
3969
3968
  result: 'flex flex-col gap-y-xl min-w-52',
3970
3969
  };
@@ -4442,9 +4441,7 @@
4442
4441
  updateOrganizationFields(store, field, item);
4443
4442
  }, []);
4444
4443
  useEffect(() => {
4445
- if (!esiaAccountTypeCd ||
4446
- !inn ||
4447
- !(employerActivities && employerOrganization && organization && amountWorkers)) {
4444
+ if (!esiaAccountTypeCd || !inn || !isDictionariesAlreadyLoad(store)) {
4448
4445
  return;
4449
4446
  }
4450
4447
  (async () => {
@@ -4455,7 +4452,16 @@
4455
4452
  })();
4456
4453
  }, [employerActivities, employerOrganization, organization, amountWorkers]);
4457
4454
  return (jsx(DaDataInputControl, { label: "\u0418\u041D\u041D", isInteger: true, maxLength: 12, ...input, ...field(input?.name ?? ''), onDaDataChange: onDaDataChange, disabled: isEsiaAuthorize(field, input) }));
4458
- });
4455
+ });
4456
+ const isDictionariesAlreadyLoad = (store) => {
4457
+ const { employerActivities, employerOrganization, organization, amountWorkers, productType } = store;
4458
+ return [
4459
+ employerOrganization,
4460
+ organization,
4461
+ amountWorkers,
4462
+ productType === 'creditCard' ? employerActivities : true,
4463
+ ].every(Boolean);
4464
+ };
4459
4465
 
4460
4466
  const DeliveryDateFiels = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438", ...field(input?.name ?? ''), minDate: new Date() })));
4461
4467
 
@@ -4567,6 +4573,8 @@
4567
4573
 
4568
4574
  const InfoCardField = JSX(({ input }) => (jsx(InfoCard, { __html: input?.label })));
4569
4575
 
4576
+ const InitiateBankruptcyFlgField = JSX(({ field, input }) => (jsx(CheckboxWithError, { text: "\u042F \u043F\u043B\u0430\u043D\u0438\u0440\u0443\u044E \u0432 \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u0438\u043D\u0438\u0446\u0438\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0435\u043B\u043E \u043E \u0431\u0430\u043D\u043A\u0440\u043E\u0442\u0441\u0442\u0432\u0435 \u0432 \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u0441\u0435\u0431\u044F", ...field(input?.name ?? '') })));
4577
+
4570
4578
  const JobsNumberField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442 \u0440\u0430\u0431\u043E\u0442\u044B \u0437\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 5 \u043B\u0435\u0442", placeholder: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442", isInteger: true, maxLength: 2, ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
4571
4579
 
4572
4580
  const LastJobExperienceField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u0421\u0442\u0430\u0436 \u043D\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u043C \u0440\u0430\u0431\u043E\u0447\u0435\u043C \u043C\u0435\u0441\u0442\u0435", placeholder: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043B\u0435\u0442", type: "number", maxLength: 2, ...field(input?.name ?? ''), ...input, disabled: isEsiaAuthorize(field, input) })));
@@ -4740,7 +4748,7 @@
4740
4748
 
4741
4749
  const OtherIncomeField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u0418\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", isInteger: true, ...field(input?.name ?? ''), ...input })));
4742
4750
 
4743
- const ParticipantDateRegistrationField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0441\u0442\u0443 \u0436\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430", ...field(input?.name ?? '') })));
4751
+ const ParticipantDateRegistrationField = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E \u043C\u0435\u0441\u0442\u0443 \u0436\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430", ...field(input?.name ?? ''), maxDate: new Date() })));
4744
4752
 
4745
4753
  const MAX_PART = 100;
4746
4754
  const MIN_PART = 0;
@@ -4800,22 +4808,27 @@
4800
4808
  };
4801
4809
 
4802
4810
  const RegionRetailField = JSX(({ field, input }) => {
4811
+ const { programId, productType } = useRetailFormStore();
4803
4812
  const { data: regions } = useLeadFormData('REGION_RF');
4804
4813
  const { data: regionsDelivery } = useAsyncData('regionsDelivery', getRegionsCardDelivery);
4805
- const { programId } = useRetailFormStore();
4814
+ const { data: productSettings } = useLeadFormData(getCurrentProductSettings(productType));
4806
4815
  const isSalaryCard = programId === '38';
4807
4816
  const formatRegions = regions?.map(({ key, value }) => ({ key, text: value }));
4817
+ const isDeliveryActive = productSettings?.find((_) => _?.key === 'DELIVERY_ACTIVE')?.value === 'true';
4808
4818
  const handleChangeRegion = field('regionRetail')?.onChange;
4809
4819
  const handleChangeRegionHasDelivery = field('regionHasDelivery')?.onChange;
4810
4820
  const handleChangeMethodObtain = field('methodObtain')?.onChange;
4811
4821
  const onChange = useCallback((value) => {
4812
- const regionHasDelivery = regionsDelivery?.find((_) => _.regionCode === value.key)?.deliveryFlg && !isSalaryCard;
4822
+ const regionHasDelivery = isDeliveryActive &&
4823
+ regionsDelivery?.find((_) => _.regionCode === value.key)?.deliveryFlg &&
4824
+ !isSalaryCard;
4813
4825
  handleChangeRegionHasDelivery?.(regionHasDelivery);
4814
4826
  handleChangeMethodObtain?.(regionHasDelivery ? 'courier' : 'office');
4815
4827
  handleChangeRegion?.(value);
4816
- }, [regionsDelivery]);
4828
+ }, [regionsDelivery, isDeliveryActive]);
4817
4829
  return (jsx(SelectControl, { label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: formatRegions, ...field(input?.name ?? ''), onChange: onChange }));
4818
- });
4830
+ });
4831
+ const getCurrentProductSettings = (productType) => productType === 'debitCard' ? 'DEBIT_CARD_LEAD_PROCESS_SETTINGS' : 'CREDIT_LEAD_PROCESS_SETTINGS';
4819
4832
 
4820
4833
  const RetirementIncomeField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u041F\u0435\u043D\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", isInteger: true, ...field(input?.name ?? ''), ...input })));
4821
4834
 
@@ -4900,7 +4913,6 @@
4900
4913
  consentInformFlg: ConsentField,
4901
4914
  consentPfrFlg: ConsentField,
4902
4915
  consentInformMaterialsFlg: ConsentField,
4903
- consentPhotoFlg: ConsentField,
4904
4916
  consentFATCA: ConsentField,
4905
4917
  };
4906
4918
  const InputsRetailMap = {
@@ -4947,6 +4959,7 @@
4947
4959
  wages: WagesField,
4948
4960
  mandatoryPayments: MandatoryPaymentsField,
4949
4961
  bankruptcyFlg: BankruptcyFlgField,
4962
+ initiateBankruptcyFlg: InitiateBankruptcyFlgField,
4950
4963
  shareholderFlg: ShareholderFlgField,
4951
4964
  legalEntityName: LegalEntityNameField,
4952
4965
  creditInRshbCd: CreditInRshbCdField,
@@ -5022,6 +5035,8 @@
5022
5035
  return res || undefined;
5023
5036
  };
5024
5037
 
5038
+ const saveReferalInfo = (body) => doRequest('/referal/saveReferalInfo', 'POST', body);
5039
+
5025
5040
  const updateUserProfile = (body) => doRequest('/user-data/updateUserProfile', 'PUT', body);
5026
5041
 
5027
5042
  const updateUserTask = (body) => doRequest('/user-data/updateUserTask', 'PUT', body);
@@ -5073,7 +5088,7 @@
5073
5088
  .then((res) => res.text())
5074
5089
  .then((text) => text === 'OK');
5075
5090
 
5076
- const ICON_SIZE$1 = { width: '118', height: '24' };
5091
+ const ICON_SIZE = { width: '118', height: '24' };
5077
5092
 
5078
5093
  const logoTitleSizeStyle = '';
5079
5094
 
@@ -5099,7 +5114,7 @@
5099
5114
  'bg-white': 'text-primary-text',
5100
5115
  transparent: 'text-white',
5101
5116
  };
5102
- const Logo = JSX(({ className, href = '/', logo, children, targetBlank, bgColor = 'bg-white', showTitle = true, data, }) => (jsxs("a", { className: style('inline-flex items-center font-sans no-underline', className), href: logo?.href ?? href, target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title ?? 'Россельхозбанк', ...getAspectsAttributes(data), children: [renderImage(bgColor, logo?.image, ICON_SIZE$1), showTitle
5117
+ const Logo = JSX(({ className, href = '/', logo, children, targetBlank, bgColor = 'bg-white', showTitle = true, data, }) => (jsxs("a", { className: style('inline-flex items-center font-sans no-underline', className), href: logo?.href ?? href, target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title ?? 'Россельхозбанк', ...getAspectsAttributes(data), children: [renderImage(bgColor, logo?.image, ICON_SIZE), showTitle
5103
5118
  ? children ?? (jsx("div", { className: "ml-s", children: jsx(Text, { font: "font-medium", color: TEXT_COLOR[bgColor], size: logoTitleSizeStyle, children: logo?.title ?? 'Россельхозбанк' }) }))
5104
5119
  : null] })));
5105
5120
 
@@ -5130,7 +5145,7 @@
5130
5145
  (async () => setCaptcha(URL.createObjectURL(await createCaptcha(phoneNumber))))();
5131
5146
  }, []);
5132
5147
  useEffect(handleCreateCaptcha, []);
5133
- return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto rounded-lg", head: jsx(Logo, {}), onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center 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] }) }));
5148
+ return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto rounded-lg", head: jsx(Logo, {}), onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center", children: [jsxs("div", { className: "flex", children: [jsx("img", { className: "grow", src: captcha }), jsx(Button, { className: "w-8", embedded: true, onClick: handleCreateCaptcha, children: jsx(Icon, { iconVersion: "normal", name: "RefreshIcon" }) })] }), jsx(Input, { className: "w-80", onChange: setCode, value: code, placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434 \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438" }), hasError ? jsx("div", { className: "text-error", children: "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434" }) : null, jsxs("div", { className: "flex w-80 justify-between", children: [jsx(Button, { version: "secondary", onClick: close, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F" }), jsx(SubmitButton$1, { version: "secondary", disabled: !code, onClick: handleCheckCaptcha, children: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C" })] }), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
5134
5149
  });
5135
5150
 
5136
5151
  const InputCode = JSX(({ values, setValues, hasError, errorText }) => {
@@ -5173,9 +5188,7 @@
5173
5188
  return `w-16 sm:w-20 h-24 text-5xl text-center p-md m-2 border ${getValidStyle(!hasError || !isInputEmpty)} rounded-md caret-transparent outline-none`;
5174
5189
  };
5175
5190
 
5176
- const SubmitButton = JSX(({ isDisabled, onClick, text }) => {
5177
- return (jsx(Button, { type: "button", onClick: onClick, disabled: isDisabled, children: jsx(Text, { font: "font-normal", children: text }) }));
5178
- });
5191
+ const SubmitButton = JSX(({ disabled = false, onClick, text }) => (jsx(Button, { type: "button", onClick: onClick, disabled: disabled, children: jsx(Text, { font: "font-normal", children: text }) })));
5179
5192
 
5180
5193
  const checkCode = async (body) => fetchRetailJSON('/sms/checkCode', 'POST', body).then(saveToken);
5181
5194
  const saveToken = (data) => {
@@ -5256,8 +5269,8 @@
5256
5269
  }, []);
5257
5270
  return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-xl p-m", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center rounded-md", children: [jsx(Headline, { className: "w-full", title: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430", description: `Мы отправили код на ${phone}`, headlineVersion: "XS", isEmbedded: true, as: "h6" }), code ? (jsx(InputCode, { values: values, setValues: setValues, errorText: errorText, hasError: hasError })) : null, renderText$1(timeNextReq, handleSendCode), withDescription ? (jsxs(RichText, { itemSize: "list-s", children: [jsx("span", { children: "\u0412\u0432\u043E\u0434\u044F \u043A\u043E\u0434, \u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E, \u0447\u0442\u043E \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044B\u0432\u0430\u044E: " }), jsx("ul", { children: consents?.map((_, i) => (jsx("li", { children: _ }, `${_}-${i}`))) })] })) : null, renderNextButton(isSubmitButtonDisabled, handleSubmit), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
5258
5271
  });
5259
- const renderNextButton = (isDisabled, onClick) => (jsx(SubmitButton, { text: "\u0414\u0430\u043B\u0435\u0435", isDisabled: isDisabled, onClick: onClick }));
5260
- const renderText$1 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "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" }) }));
5272
+ const renderNextButton = (disabled, onClick) => (jsx(SubmitButton, { text: "\u0414\u0430\u043B\u0435\u0435", disabled: disabled, onClick: onClick }));
5273
+ const renderText$1 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "pl-2xs", seconds: timeNextReq })] })) : (jsx(Button, { embedded: true, onClick: handleSendCode, children: jsx(ButtonTitle, { children: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434" }) }));
5261
5274
 
5262
5275
  const defaultConsentText = {
5263
5276
  title: 'Подпишите согласие на запрос в БКИ',
@@ -5267,7 +5280,7 @@
5267
5280
  title: 'Вы уверены, что хотите отказаться от запроса в БКИ',
5268
5281
  description: 'Согласие на запрос в Бюро кредитных историй (БКИ) повысит вероятность одобрения',
5269
5282
  };
5270
- const ITEMS$1 = [
5283
+ const ITEMS = [
5271
5284
  { id: 'SIGNED', text: 'Подписать' },
5272
5285
  { id: 'REFUSE', text: 'Отказаться' },
5273
5286
  ];
@@ -5284,7 +5297,7 @@
5284
5297
  setShowRefuseContent(value === 'REFUSE');
5285
5298
  }, []);
5286
5299
  const consentText = showRefuseContent ? refuseConsentText : defaultConsentText;
5287
- return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-lg px-5xl", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center", children: [jsx("div", { role: "button", onClick: openDocument, children: jsx(Heading, { className: "text-center text-balance", headingType: "h2", title: consentText.title }) }), jsx(Paragraph, { align: "text-center", children: consentText.description }), jsx(RadioButtonGroup, { className: "whitespace-normal", orientation: "horizontal", items: ITEMS$1, value: confirmStatus, onChange: handleConfirmChange }), jsx(Button, { disabled: !confirmStatus, type: "button", onClick: handleSubmit, children: "\u0414\u0430\u043B\u0435\u0435" })] }) }));
5300
+ return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-lg px-5xl", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center", children: [jsx("div", { role: "button", onClick: openDocument, children: jsx(Heading, { className: "text-center text-balance", headingType: "h2", title: consentText.title }) }), jsx(Paragraph, { align: "text-center", children: consentText.description }), jsx(RadioButtonGroup, { className: "whitespace-normal", orientation: "horizontal", items: ITEMS, value: confirmStatus, onChange: handleConfirmChange }), jsx(Button, { disabled: !confirmStatus, type: "button", onClick: handleSubmit, children: "\u0414\u0430\u043B\u0435\u0435" })] }) }));
5288
5301
  });
5289
5302
 
5290
5303
  const useConsentBkiDialog = (onClose) => {
@@ -5324,7 +5337,7 @@
5324
5337
  };
5325
5338
  };
5326
5339
 
5327
- const DraftActionButton = JSX(({ title, icon, description, onClick = noop }) => (jsxs("button", { className: "flex gap-lg items-center border border-gray/30 rounded-xl cursor-pointer p-4 hover:border-green", type: "button", onClick: onClick, children: [jsx(Img, { image: { icon, iconVersion: 'normal' }, width: "78", height: "78" }), jsxs("div", { className: "flex flex-col items-start gap-xs md:w-72 md:mr-lg", children: [jsx(Text, { font: "font-medium", size: "text-s", children: title }), description ? (jsx(Text, { color: "text-secondary-text", size: "text-xs", children: description })) : null] })] })));
5340
+ const DraftActionButton = JSX(({ title, icon, description, onClick = noop }) => (jsxs("button", { className: "flex gap-lg items-center border border-gray/30 rounded-xl cursor-pointer p-4 hover:border-green", type: "button", onClick: onClick, children: [jsx(Img, { image: { icon, iconVersion: 'normal' }, width: "78", height: "78" }), jsxs("div", { className: "flex flex-col items-start gap-xs md:w-72 md:mr-lg", children: [title ? (jsx(Text, { font: "font-medium", size: "text-s", children: title })) : null, description ? (jsx(Text, { color: "text-secondary-text", size: "text-xs", children: description })) : null] })] })));
5328
5341
 
5329
5342
  const fieldsNamesToContactKeysMap = {
5330
5343
  email: 'EMAIL',
@@ -5394,7 +5407,7 @@
5394
5407
  }, []);
5395
5408
 
5396
5409
  const getFamilyStatusAndIncomeData = (formData) => {
5397
- const { familyStatus, familyMembers, dependents, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
5410
+ const { familyStatus, familyMembers, dependents, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, initiateBankruptcyFlg, } = formData;
5398
5411
  return {
5399
5412
  maritalStatusCd: familyStatus,
5400
5413
  totalDependents: familyMembers,
@@ -5414,6 +5427,7 @@
5414
5427
  }),
5415
5428
  snils: snils?.replace(/[-\s]/g, ''),
5416
5429
  armyIdFlg,
5430
+ initiateBankruptcyFlg,
5417
5431
  };
5418
5432
  };
5419
5433
  const countIncomeAverage = (wages, retirementIncome) => (Number(wages ?? 0) + Number(retirementIncome ?? 0)).toString();
@@ -5594,7 +5608,7 @@
5594
5608
  const handleGoToNewTask = useCallback(() => {
5595
5609
  navigator.assign(isCredit ? '/natural/loans/all-goals' : '/natural/creditcards/svoya');
5596
5610
  }, []);
5597
- return (jsx(Dialog, { className: "my-6xl max-w-4xl w-full min-h-fit mx-auto rounded-xl py-0", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center mt-xs 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 })] })] }) }));
5611
+ return (jsx(Dialog, { className: "my-6xl max-w-4xl w-full min-h-fit mx-auto rounded-xl py-0", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center mt-xs mx-6xl", children: [jsx(Heading, { className: "whitespace-pre-wrap text-center", title: "\u041D\u0430\u0448\u043B\u0438 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u044F\u0432\u043A\u0438", headingType: "h5" }), jsxs("div", { className: "flex flex-col gap-m max-w-lg", children: [jsx(DraftActionButton, { title: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A\u0430", icon: "BankColorIcon", description: createdDate ? `Черновик от ${formatDate(new Date(createdDate))}` : '', onClick: handleGoToDraft }), jsx(DraftActionButton, { title: isFromLead ? 'Продолжить заполнение текущей заявки' : 'Создать новую заявку', icon: "NewLoanIcon", description: "\u041D\u0430 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u0430", onClick: isFromLead ? onClose : handleGoToNewTask })] })] }) }));
5598
5612
  });
5599
5613
 
5600
5614
  const EmptyDraftDialog = JSX(function ({ onClose = noop }) {
@@ -5637,13 +5651,14 @@
5637
5651
 
5638
5652
  /* eslint-disable camelcase */
5639
5653
  const getCreditLeadFormTaskData = ({ participantId, taskId, profileId, formData, }) => {
5640
- const { name, surname, middleName, limitedBirthday, phone, email } = formData;
5654
+ const { name, surname, middleName, limitedBirthday, phone, email, referalCode } = formData;
5641
5655
  const navigator = locationNavigator();
5656
+ const taskSource = referalCode ? 'ReferalSF' : navigator.origin;
5642
5657
  return {
5643
5658
  sendToBank: true,
5644
5659
  taskKind: 'SHORT',
5645
5660
  task: {
5646
- taskSource: navigator.origin,
5661
+ taskSource: taskSource,
5647
5662
  id: taskId,
5648
5663
  participants: [
5649
5664
  {
@@ -5824,6 +5839,9 @@
5824
5839
  const updateUserData = async ({ programId, profileId, formData, productType, saveUserData, sendAspects, }) => {
5825
5840
  let taskId;
5826
5841
  let participantId;
5842
+ const refererCode = formData.refererCode;
5843
+ const referalCode = formData.referalCode;
5844
+ const productId = formData.productId;
5827
5845
  const transformedConsents = transformConsentsFields(formData, productType);
5828
5846
  await updateUserProfile(getUpdateUserProfileData(profileId, formData, transformedConsents));
5829
5847
  try {
@@ -5845,6 +5863,14 @@
5845
5863
  profileId,
5846
5864
  formData,
5847
5865
  }));
5866
+ if (referalCode) {
5867
+ await saveReferalInfo({
5868
+ taskId,
5869
+ refererCode,
5870
+ referalCode,
5871
+ productId,
5872
+ });
5873
+ }
5848
5874
  }
5849
5875
  sendAspects(profileId, taskId);
5850
5876
  saveUserData({ participantId, taskId, profileId, programId, formData });
@@ -5854,19 +5880,19 @@
5854
5880
  }
5855
5881
  };
5856
5882
  const transformConsentsFields = (formData, productType) => {
5857
- const { consentOthersFlg, consentPfrFlg, processPersonalDataFlg, consentInformFlg, consentProviderFlg, consentInformMaterialsFlg, consentPhotoFlg, consentFATCA, } = formData;
5883
+ const { consentOthersFlg, consentPfrFlg, processPersonalDataFlg, consentInformFlg, consentProviderFlg, consentInformMaterialsFlg, consentFATCA, } = formData;
5858
5884
  let consents;
5859
5885
  if (productType === 'credit') {
5860
5886
  consents = {
5861
- consentPhotoFlg: consentOthersFlg,
5862
5887
  consentPfrFlg: consentPfrFlg,
5863
5888
  consentInformMaterialsFlg: consentOthersFlg,
5889
+ consentPhotoFlg: false,
5864
5890
  };
5865
5891
  }
5866
5892
  else if (productType === 'creditCard') {
5867
5893
  consents = {
5868
5894
  consentInformMaterialsFlg,
5869
- consentPhotoFlg,
5895
+ consentPhotoFlg: false,
5870
5896
  };
5871
5897
  }
5872
5898
  else {
@@ -5921,6 +5947,9 @@
5921
5947
  consentInformMaterialsFlg: false,
5922
5948
  consentPhotoFlg: false,
5923
5949
  consentFATCA: false,
5950
+ refererCode: '',
5951
+ referalCode: '',
5952
+ productId: '',
5924
5953
  };
5925
5954
  const getInitialFormState$1 = (inputs, savedForm, esiaAuthSuccess) => {
5926
5955
  if (savedForm) {
@@ -5975,8 +6004,10 @@
5975
6004
  dulSubdivisionCode: document.dulSubdivisionCode,
5976
6005
  birthPlace: addInfo.birthPlace,
5977
6006
  addressRegistration: buildAddress(addressRegistration),
5978
- addressFact: buildAddress(addressFact),
5979
6007
  esiaAccountTypeCd: isDebit ? profile.esiaAccountType : { key: '' },
6008
+ ...(addressFact && {
6009
+ addressFact: buildAddress(addressFact),
6010
+ }),
5980
6011
  };
5981
6012
  return {
5982
6013
  ...mainData,
@@ -6057,16 +6088,6 @@
6057
6088
  category: 'CONFIRMING_INCOME_DOC',
6058
6089
  isPDF: false,
6059
6090
  },
6060
- {
6061
- file: esiaAdditionalDocument.pdfFileSigWorkbook,
6062
- category: 'CONFIRMING_INCOME_DOC',
6063
- isPDF: true,
6064
- },
6065
- {
6066
- file: esiaAdditionalDocument.xmlFileSigWorkbook,
6067
- category: 'CONFIRMING_INCOME_DOC',
6068
- isPDF: false,
6069
- },
6070
6091
  ];
6071
6092
  for (const doc of documents) {
6072
6093
  const contentType = doc.isPDF ? 'data:application/pdf;base64' : 'data:application/xml;base64';
@@ -6113,8 +6134,6 @@
6113
6134
  esiaAdditionalDocument?.xmlFilePayout,
6114
6135
  esiaAdditionalDocument?.xmlFileSigPayout,
6115
6136
  esiaAdditionalDocument?.xmlFileWorkbook,
6116
- esiaAdditionalDocument?.pdfFileSigWorkbook,
6117
- esiaAdditionalDocument?.xmlFileSigWorkbook,
6118
6137
  ];
6119
6138
  return data.every(Boolean);
6120
6139
  };
@@ -6145,11 +6164,25 @@
6145
6164
  setEsiaStatus(EsiaStatuses.Error);
6146
6165
  }
6147
6166
  }, []);
6167
+ const saveReferalData = useCallback(async (refererCode, referalCode, productId) => {
6168
+ saveForm((_) => ({
6169
+ ..._,
6170
+ refererCode,
6171
+ referalCode,
6172
+ productId,
6173
+ }));
6174
+ }, []);
6148
6175
  useEffect(() => {
6149
6176
  leadFormStore.productType = productType;
6150
6177
  const params = new URLSearchParams(decodeURIComponent(globalThis.location?.search));
6151
6178
  const code = params.get('code');
6152
6179
  const state = params.get('state');
6180
+ const refererCode = params.get('refererCode');
6181
+ const referalCode = params.get('referalCode');
6182
+ const productId = params.get('productID');
6183
+ if (refererCode && referalCode && productId) {
6184
+ saveReferalData(refererCode, referalCode, productId);
6185
+ }
6153
6186
  if (code && state) {
6154
6187
  requestEsiaProfile(code, state);
6155
6188
  }
@@ -6161,12 +6194,6 @@
6161
6194
  return initialFormState;
6162
6195
  };
6163
6196
 
6164
- var EsiaStatuses;
6165
- (function (EsiaStatuses) {
6166
- EsiaStatuses["Success"] = "SUCCESS";
6167
- EsiaStatuses["Error"] = "ERROR";
6168
- EsiaStatuses["Pending"] = "PENDING";
6169
- })(EsiaStatuses || (EsiaStatuses = {}));
6170
6197
  const ApplicationLeadForm = JSX(({ className, title, programId = '', nextStepLink = '/credit-lead', button, productType = 'credit', data, ...rest }) => {
6171
6198
  const [esiaStatus, setEsiaStatus] = useState();
6172
6199
  const leadForm = useRef(null);
@@ -6207,7 +6234,7 @@
6207
6234
  reset();
6208
6235
  }
6209
6236
  }, [leadForm?.current, esiaStatus]);
6210
- return (jsxs(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, ...rest, children: [!esiaStatus ? jsx(EsiaLoginBanner, {}) : null, jsxs("form", { onSubmit: onSubmit, className: "space-y-m relative", ref: leadForm, children: [esiaStatus === EsiaStatuses.Pending ? jsx(Loader, { blur: false }) : null, applicationFormData.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [renderTitle(_.title), renderInputs$1({ field, inputs: _?.inputs }, productType)] }, `section-${i}`))), renderSubmitButton(button, isSending), esiaStatus === EsiaStatuses.Error ? (jsx(Text, { size: "text-m", font: "font-medium", color: "text-error", children: "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0413\u043E\u0441\u0443\u0441\u043B\u0443\u0433\u0438 \u0434\u043B\u044F \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0437\u0430\u044F\u0432\u043A\u0438 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043F\u043E\u043B\u044F \u0432\u0440\u0443\u0447\u043D\u0443\u044E." })) : null] })] }));
6237
+ return (jsxs(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, ...rest, children: [!esiaStatus ? jsx(EsiaLoginBanner, { onChangeEsiaStatus: setEsiaStatus }) : null, jsxs("form", { onSubmit: onSubmit, className: "space-y-m relative", ref: leadForm, children: [esiaStatus === EsiaStatuses.Pending ? jsx(Loader, { blur: false }) : null, applicationFormData.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [renderTitle(_.title), renderInputs$1({ field, inputs: _?.inputs }, productType)] }, `section-${i}`))), renderSubmitButton(button, isSending), esiaStatus === EsiaStatuses.Error ? (jsx(Text, { size: "text-m", font: "font-medium", color: "text-error", children: "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0413\u043E\u0441\u0443\u0441\u043B\u0443\u0433\u0438 \u0434\u043B\u044F \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0437\u0430\u044F\u0432\u043A\u0438 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043F\u043E\u043B\u044F \u0432\u0440\u0443\u0447\u043D\u0443\u044E." })) : null] })] }));
6211
6238
  });
6212
6239
  const getInputs = (applicationFormData) => (applicationFormData?.flatMap((_) => _?.inputs) || []);
6213
6240
  const getExtendedValidatorObj = (productType) => ({
@@ -6332,7 +6359,7 @@
6332
6359
  const inactiveDotStyle = 'w-2 h-2 opacity-30';
6333
6360
  const renderDotButton = ({ activeIndex, onClick, listType = 'horizontal-list' }) => (_, idx) => (jsx("div", { className: style(dotStyle, idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle), role: "button", "aria-hidden": true, onClick: () => onClick(idx) }, String(idx)));
6334
6361
 
6335
- const renderNavButton$3 = ({ activeIndex, onClick }) => (nav, i) => {
6362
+ const renderNavButton = ({ activeIndex, onClick }) => (nav, i) => {
6336
6363
  const isActive = i === activeIndex;
6337
6364
  const btnClassName = isActive
6338
6365
  ? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
@@ -6437,7 +6464,7 @@
6437
6464
  }
6438
6465
  }, [containerRef?.current]);
6439
6466
  if (navButtons?.length && !isMobileMode) {
6440
- return (jsx(SwipeListContainer, { containerRef: navRef, snapAlign: "snap-start", itemClassName: "h-36 flex items-stretch w-screen", gap: 8, children: navButtons.map(renderNavButton$3({ activeIndex, onClick: onChangeActiveIndex })) }));
6467
+ return (jsx(SwipeListContainer, { containerRef: navRef, snapAlign: "snap-start", itemClassName: "h-36 flex items-stretch w-screen", gap: 8, children: navButtons.map(renderNavButton({ activeIndex, onClick: onChangeActiveIndex })) }));
6441
6468
  }
6442
6469
  else if (dotCount) {
6443
6470
  return (jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : '', className, { 'pb-xl': navButtons?.length && isMobileMode }), "data-ver": version, children: Array.from({ length: dotCount })
@@ -6486,7 +6513,7 @@
6486
6513
  const renderCarouselBlocks = ({ blocksToRender, ...rest }) => (jsx(SwipeListControl, { visibleItemCount: 0, gap: 0, arrowsPadded: true, children: renderBlocksList(blocksToRender, {
6487
6514
  ...rest.options,
6488
6515
  parent: rest.block,
6489
- renderProps: (block, options, i) => (jsx("div", { className: style('relative min-w-80', getBorderStyle(true)), children: renderBlock$1(block, options) }, String(i))),
6516
+ renderProps: (block, options, i) => (jsx("div", { className: style('relative min-w-80', getBorderStyle(true)), children: renderBlock(block, options) }, String(i))),
6490
6517
  }) }));
6491
6518
 
6492
6519
  const FilteredBlocks = JSX(({ blocksSection, blocksToRender = [], notFound, ...rest }) => {
@@ -6591,9 +6618,9 @@
6591
6618
  };
6592
6619
 
6593
6620
  const EMPTY_SCHEMA = {};
6594
- const initialFiltrationState$3 = {};
6621
+ const initialFiltrationState$1 = {};
6595
6622
  const BankAccountFiltration = UniBlock(({ className, filtrationSchema = EMPTY_SCHEMA, consumerField = {}, resetButton, ...rest }) => {
6596
- const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$3, {
6623
+ const [, { blocksToRender }, { field, reset }] = useFiltrationForm(initialFiltrationState$1, {
6597
6624
  block: rest.block,
6598
6625
  page: rest.options?.page,
6599
6626
  });
@@ -6632,7 +6659,7 @@
6632
6659
  const isMobileMode = useMobileMode();
6633
6660
  return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: getAlignStyles(isMobileMode), title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-col @md:flex-row flex-wrap w-full @md:justify-center mt-xl gap-5xl", role: "list", children: benefitList.map(renderBenefit) })) : null] }));
6634
6661
  });
6635
- const renderBenefit = ({ label, description, __html, icon, isDotted = false, iconBgVersion }, i) => (jsxs("div", { className: "flex gap-m items-center @md:basis-1/2 @md:max-w-[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)));
6662
+ const renderBenefit = ({ label, description, __html, icon, isDotted = false, iconBgVersion }, i) => (jsxs("div", { className: "flex gap-m items-center @md:basis-1/2 @md:max-w-lg", role: "listitem", children: [icon?.icon ? (jsx(RoundedIcon, { className: "shrink-0", iconBgVersion: iconBgVersion, ...icon })) : null, icon?.src ? jsx(Img, { className: "shrink-0", image: icon }) : null, label ? (jsxs("div", { className: "@sm:h-full space-y-xs", children: [jsx(Heading, { headingType: "h6", children: label }), jsx(Text, { size: "text-l", color: "text-secondary-text group-data-secondary:text-white/80", font: "font-light", children: description }), __html ? jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-s" }) : null] })) : null] }, String(i)));
6636
6663
 
6637
6664
  const bonusBenefitStyles = 'items-center';
6638
6665
 
@@ -7284,7 +7311,7 @@
7284
7311
  ...field('moneyExtra'),
7285
7312
  value: calcParams.moneyExtra,
7286
7313
  })
7287
- : 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)] })] }) }));
7314
+ : null, jsx("div", { className: "sm:hidden pb-m border-b border-main-divider", children: paymentTypeElement })] }), jsxs("div", { className: style(CalculatorStyle.result, '@4xl:w-1/2'), children: [jsx(CalculatorValue, { title: "\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u0430", value: calcSource?.totalLoanCost }), jsx(CalculatorValue, { title: "\u0421\u0442\u0430\u0432\u043A\u0430 \u043E\u0442", value: minRate, fractionDigits: 2, postfix: "%" }), jsx(CalculatorValue, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calcParams.monthlyPayment, postfix: "\u20BD" }), calcParams.benefit > 0 ? (jsx(CalculatorValue, { title: "\u0412\u044B\u0433\u043E\u0434\u0430 \u0432 \u043C\u0435\u0441\u044F\u0446", value: calcParams.benefit, postfix: "\u20BD" })) : null, jsx("div", { className: "hidden sm:block mb-lg", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }) }));
7288
7315
  });
7289
7316
  const renderCreditParamsForm = (params, field) => (jsxs("div", { className: "space-y-lg sm:space-y-s", children: [params.isShowSalaryClient ? (jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowInsurance ? (jsx(Checkbox, { text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", ...field('isInsurance'), value: params.isInsurance })) : null, jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0443\u044E \u0441\u0443\u043C\u043C\u0443", ...field('isExtraMoney'), value: params.isExtraMoney })] }));
7290
7317
 
@@ -7349,7 +7376,7 @@
7349
7376
  const FAILED_TITLE = 'Ошибка перевода';
7350
7377
  const SubmitFailedDialog = ({ onClose, errorCode, errorMessage, }) => {
7351
7378
  const description = errorCode ? `Код ошибки - ${errorCode}` : 'Пожалуйста, повторите позднее';
7352
- return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md space-x-m", children: [jsx(Img, { image: { icon: 'ResponseFailIcon', iconVersion: 'normal' }, width: "136", height: "136" }), jsx(Headline, { className: "w-full", title: FAILED_TITLE, description: description, headlineVersion: "XS", isEmbedded: true }), errorMessage ? (jsxs("div", { className: "bg-secondary-dark rounded-xl 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] }) }));
7379
+ return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md space-x-m", children: [jsx(Img, { image: { icon: 'ResponseFailIcon', iconVersion: 'normal' }, width: "136", height: "136" }), jsx(Headline, { className: "w-full", title: FAILED_TITLE, description: description, headlineVersion: "XS", isEmbedded: true }), errorMessage ? (jsxs("div", { className: "bg-secondary-dark rounded-xl p-m grid gap-m grid-cols-12", children: [jsx("div", { className: "col-span-8", children: errorMessage }), jsx("div", { className: "col-span-4", children: jsx(Img, { image: { icon: 'ResponseFailIcon', iconVersion: 'normal' } }) })] })) : null] }) }));
7353
7380
  };
7354
7381
 
7355
7382
  const useSubmitCardTransfer = (formType) => {
@@ -7384,16 +7411,11 @@
7384
7411
  amount: 1500,
7385
7412
  };
7386
7413
  const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, button, formType = 'private', ...rest }) => {
7387
- const [isDisabled, { setValue: setDisabled }] = useBool(false);
7388
7414
  const handleSubmit = useSubmitCardTransfer(formType);
7389
7415
  const [{ amount }, { field, onSubmit }] = useForm(INITIAL_FORM_STATE, {
7390
7416
  onSubmit: handleSubmit,
7391
7417
  });
7392
- // TODO: dont set state in useEffect
7393
- useEffect(() => {
7394
- setDisabled(amount <= 0);
7395
- }, [amount]);
7396
- return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", onSubmit: onSubmit, children: [jsx(CurrencyInput, { valid: !isDisabled, label: label, max: MAX_AMOUNT, min: MIN_AMOUNT, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx(SubmitButton$1, { className: "w-full mt-lg", disabled: isDisabled, children: button.text })) : null] })] }));
7418
+ return (jsxs(BlockWrapper, { className: style('flex flex-col gap-4xl items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-md space-y-lg", method: "POST", onSubmit: onSubmit, children: [jsx(CurrencyInput, { valid: amount > 0, label: label, max: MAX_AMOUNT, min: MIN_AMOUNT, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx(SubmitButton$1, { className: "w-full", disabled: amount <= 0, children: button.text })) : null] })] }));
7397
7419
  });
7398
7420
 
7399
7421
  const ITEMS_GAP = 16;
@@ -7412,7 +7434,7 @@
7412
7434
  const defaultPadding = isNavButtons ? { defaultPadding: 'p-6xl pb-m' } : {};
7413
7435
  return renderChildren({
7414
7436
  ...rest,
7415
- renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock$1(block, options, {
7437
+ renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock(block, options, {
7416
7438
  className: cardStyle(block, {
7417
7439
  someCardsHighlighted,
7418
7440
  showBorder: !noCardBorder,
@@ -7425,9 +7447,9 @@
7425
7447
  : null] }, String(blockIndex))),
7426
7448
  });
7427
7449
  };
7428
- const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-3xl sm:pt-16'));
7450
+ const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-16'));
7429
7451
  const cardStyle = (_, { someCardsHighlighted, showBorder, cardSize = 'normal', }) => style(cardBaseStyle, 'min-w-80', CARD_SIZE_MAP[cardSize], // TODO fix для RecommendationCard
7430
- someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl sm:pt-16' : 'pt-3xl'), getBorderStyle(showBorder), showBorder && 'h-full');
7452
+ someCardsHighlighted && (isCardHighlighted(_) ? 'pt-16' : 'pt-3xl'), getBorderStyle(showBorder), showBorder && 'h-full');
7431
7453
  const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
7432
7454
 
7433
7455
  const VISIBLE_ITEM_COUNT = 1;
@@ -7456,15 +7478,6 @@
7456
7478
  };
7457
7479
  }) ?? [];
7458
7480
 
7459
- const titleSize = 'XS';
7460
-
7461
- const layerBaseStyle = 'z-10 border border-solid w-full h-full';
7462
- const layerStyle = style(layerBaseStyle, 'absolute hidden @xl:block border-transparent');
7463
- const CarouselCard = JSX(({ className, title, description, button, ...rest }) => (jsx(BlockWrapper, { className: style('sm:pl-6xl sm:pb-4xl @container-normal', className), defaultPadding: "p-0", ...rest, children: jsxs("div", { className: "relative h-full", children: [jsx("div", { className: style(layerStyle, 'top-9 right-12 bg-green-dark') }), jsx("div", { className: style(layerStyle, 'top-6 right-8 bg-green') }), jsx("div", { className: style(layerStyle, 'top-3 right-4 bg-green-light') }), jsxs("div", { className: style(layerBaseStyle, 'relative p-xl sm:p-5xl bg-white border-transparent sm:border-green-more-light'), children: [jsx(Headline, { title: title, description: description, headlineVersion: titleSize, align: "text-left", isEmbedded: true }), renderButtonsSection([button], {
7464
- className: 'mt-m sm:mt-6xl sm:justify-center',
7465
- isVertical: true,
7466
- })] })] }) })));
7467
-
7468
7481
  const cardStyleMap = {
7469
7482
  black: 'bg-black',
7470
7483
  white: 'bg-white',
@@ -7472,19 +7485,6 @@
7472
7485
  const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors = [], align = 'text-left', padding, ...rest }) => (jsx(BlockWrapper, { className: style('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, title: jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align, className: "min-h-24" }), rightImage: image?.src ? (jsx(Img, { className: "flex justify-center align-center mb-xl", image: image })) : null, buttons: renderButtonsSection([button], { buttonClassName: 'w-full self-end' }), children: [colors?.length ? (jsxs("div", { className: "flex text-secondary-text mb-m", children: [jsx("div", { className: "mr-xs", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null] }) })));
7473
7486
  const renderColorOption = (color, i) => (jsx("figure", { className: `w-6 h-6 ml-s border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
7474
7487
 
7475
- const CarouselLinkButton = JSX(({ icon, ...linkProps }) => {
7476
- const link = useLink();
7477
- const { text, href, target, onClick } = link(linkProps);
7478
- const textStyle = 'font-light md:font-normal text-primary-text text-center text-xs md:text-sm whitespace-wrap';
7479
- return text ? (jsx("div", { className: style('p-3 rounded-lg bg-white text-secondary-text flex justify-center'), children: jsx("a", { role: "link", href: href, target: target, onClick: onClick, children: jsxs("div", { className: "flex flex-col items-center gap-3 break-words max-w-[150px]", children: [icon ? (jsx(Img, { className: "w-7 h-7 md:w-12 md:h-12", image: {
7480
- ...icon,
7481
- iconVersion: icon?.iconVersion,
7482
- }, alt: text })) : null, jsx("div", { className: textStyle, children: text })] }) }) })) : null;
7483
- });
7484
-
7485
- const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsx(BlockWrapper, { defaultPadding: "p-5xl", className: style('overflow-hidden', className), ...rest, children: jsxs("div", { className: "flex flex-col lg:flex-row gap-5 justify-between", children: [jsxs("div", { className: "flex-1", children: [jsx(Headline, { isEmbedded: true, title: title, description: description, as: "h1", align: "text-left", headlineVersion: "XL" }), jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isEmbedded: true })] }), links?.length ? renderLinks(links) : null] }) })));
7486
- const renderLinks = (links) => (jsx("div", { className: style('lg:grid-cols-9 lg:[&>*]:col-span-2 lg:[&>*:nth-child(14n+2)]:col-span-3 lg:[&>*:nth-child(7n+5)]:col-span-3', 'lg:[&>*:nth-child(7n+6)]:col-span-3 lg:[&>*:nth-child(7n+7)]:col-span-3 lg:[&>*:nth-child(14n+10)]:col-span-3 lg:w-3/6', 'grid-cols-3 max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+3)]:col-span-2 max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+4)]:col-span-2', 'grid gap-3 lg:gap-5'), children: links.map((link, i) => (jsx(CarouselLinkButton, { ...link }, String(i)))) }));
7487
-
7488
7488
  const LinkWrapper = JSX(({ className = '', href, target, onClick, data, children }) => {
7489
7489
  const link = useLink();
7490
7490
  const linkProps = link({ href, target, onClick });
@@ -7644,7 +7644,7 @@
7644
7644
  return () => clearInterval(timer);
7645
7645
  };
7646
7646
 
7647
- const ProgressBar = JSX(({ step = 10, description, showPercentage = true }) => (jsxs("div", { children: [jsx("div", { className: "h-4 w-full bg-gray relative", children: jsx("div", { className: "h-4 bg-green", style: { width: `${step}%` } }) }), jsxs("div", { className: "relative", children: [showPercentage ? jsxs("div", { className: "absolute left-2/4 text-green", children: [step, "%"] }) : null, description ? jsx("div", { className: "text-right mr-4 text-gray", children: description }) : null] })] })));
7647
+ const ProgressBar = JSX(({ step = 10, description, showPercentage = true }) => (jsxs("div", { children: [jsx("div", { className: "h-4 w-full bg-gray relative", children: jsx("div", { className: "h-4 bg-green", style: { width: `${step}%` } }) }), jsxs("div", { className: "relative", children: [showPercentage ? jsxs("div", { className: "absolute left-2/4 text-green", children: [step, "%"] }) : null, description ? jsx("div", { className: "text-right pr-m text-gray", children: description }) : null] })] })));
7648
7648
 
7649
7649
  const CreditCardFormProgress = JSX(({ step = 1, totalSteps = 6, stepsTitles = [] }) => {
7650
7650
  const progress = useMemo(() => ((step + 1) / totalSteps) * 100, [step, totalSteps]);
@@ -7739,7 +7739,7 @@
7739
7739
 
7740
7740
  const SuccessStatusCardContent = JSX(() => {
7741
7741
  const { statusInfo } = useRetailFormStore();
7742
- return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442 \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: getSectionInfo(statusInfo), buttonText: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" }));
7742
+ return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: getSectionInfo(statusInfo), buttonText: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" }));
7743
7743
  });
7744
7744
  const getSectionInfo = (statusInfo) => {
7745
7745
  const sectionInfo = [
@@ -7810,6 +7810,7 @@
7810
7810
  .map((_) => {
7811
7811
  if ([
7812
7812
  checkIsRetiree(step, getValue),
7813
+ checkIsUnemployedRetiree(_, getValue),
7813
7814
  checkBusinessOwner(_, getValue),
7814
7815
  checkConsentPfrFlg(_, getValue),
7815
7816
  checkAddressFillFromESIA(_, getValue),
@@ -7821,6 +7822,7 @@
7821
7822
  return _;
7822
7823
  });
7823
7824
  const checkIsRetiree = (step, getValue) => step === 2 && getValue('employment')?.key === 'RETIREE';
7825
+ const checkIsUnemployedRetiree = ({ name }, getValue) => name === 'wages' && getValue('employment')?.key === 'RETIREE' && !getValue('inn');
7824
7826
  const checkBusinessOwner = ({ name }, getValue) => name === 'partInBusiness' && getValue('positionOrganization')?.key !== 'BUSINESS_OWNER';
7825
7827
  const checkAddressFillFromESIA = ({ name, filledByEsia }, getValue) => name?.startsWith('address') && getValue('esiaAccountTypeCd')?.key && filledByEsia;
7826
7828
  const checkAddressFact = ({ name }, getValue) => name === 'addressFact' && getValue('addressMatch');
@@ -7837,7 +7839,13 @@
7837
7839
 
7838
7840
  const renderStep$1 = ({ sections, field, step, params, }) => sections?.map(({ inputs: origInputs = [], columns, title, condition }, i) => {
7839
7841
  const inputs = calculateInputs(getValue(field))(origInputs, step);
7840
- 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}`));
7842
+ const cleanElements = [
7843
+ !checkCondition({ condition }, getValue(field)) ? renderTitle(title) : null,
7844
+ ...renderInputs({ field, inputs, params }),
7845
+ ]
7846
+ .filter(Boolean)
7847
+ .map((_, j) => ({ ..._, key: _.key ?? `elem-${j}` }));
7848
+ return cleanElements.length ? (jsx("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: cleanElements }, `section-${i}`)) : null;
7841
7849
  });
7842
7850
  const getValue = (field) => (name) => field(name)?.value;
7843
7851
 
@@ -7871,7 +7879,7 @@
7871
7879
  }
7872
7880
  };
7873
7881
 
7874
- const mainFormStateMap = [
7882
+ const getMainFormStateMap = (isCredit = false) => [
7875
7883
  {
7876
7884
  surname: '',
7877
7885
  name: '',
@@ -7926,8 +7934,9 @@
7926
7934
  wages: undefined,
7927
7935
  mandatoryPayments: undefined,
7928
7936
  snils: '',
7929
- armyIdFlg: false,
7937
+ armyIdFlg: isCredit ? undefined : false,
7930
7938
  esiaAccountTypeCd: { key: '', text: '' },
7939
+ initiateBankruptcyFlg: isCredit ? false : undefined,
7931
7940
  },
7932
7941
  {
7933
7942
  bankruptcyFlg: false,
@@ -7943,7 +7952,7 @@
7943
7952
  currency: '810',
7944
7953
  codeWord: '',
7945
7954
  },
7946
- ...mainFormStateMap,
7955
+ ...getMainFormStateMap(),
7947
7956
  {
7948
7957
  regionRetail: { key: '', text: '' },
7949
7958
  addressRetail: { key: '', text: '' },
@@ -7984,7 +7993,7 @@
7984
7993
  employmentTypeCd: employment,
7985
7994
  organizationName,
7986
7995
  organizationInn: inn,
7987
- organizationActivityTypeCd: employerActivities,
7996
+ organizationActivityTypeCd: employerActivities?.key ? employerActivities : undefined,
7988
7997
  organizationTypeCd: organization,
7989
7998
  organizationKindCd: employerOrganization,
7990
7999
  employeesNumberCd: amountWorkers,
@@ -7993,17 +8002,17 @@
7993
8002
  generalSeniority: experience5Years,
7994
8003
  jobsNumber,
7995
8004
  lastWorkDuration: lastJobExperience,
7996
- positionCd: positionOrganization,
8005
+ positionCd: positionOrganization?.key ? positionOrganization : undefined,
7997
8006
  participantContacts: getParticipantContacts$1({
7998
8007
  organizationPhone: organizationPhone && formatPhone(organizationPhone),
7999
8008
  }),
8000
8009
  participantAddresses: getParticipantAddresses$1({ organizationAddress }),
8001
- ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness : '',
8010
+ ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness : undefined,
8002
8011
  };
8003
8012
  };
8004
8013
 
8005
8014
  const getPersonalInfoData = (formData) => {
8006
- const { name, surname, middleName, limitedBirthday = '', phone = '', email, sex, birthPlace, dulIssueDate = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration = '', housing, addressRegistration, addressFact, addressMatch, } = formData;
8015
+ const { name, surname, middleName, limitedBirthday = '', phone = '', email, sex, birthPlace, dulIssueDate = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration, housing, addressRegistration, addressFact, addressMatch, } = formData;
8007
8016
  return {
8008
8017
  birthDate: formatDate(limitedBirthday, true),
8009
8018
  midname: middleName,
@@ -8016,7 +8025,9 @@
8016
8025
  dulSerie,
8017
8026
  dulSubdivisionCode,
8018
8027
  educationLevelCd: education,
8019
- registrationDate: formatDate(participantDateRegistration, true),
8028
+ registrationDate: participantDateRegistration
8029
+ ? formatDate(participantDateRegistration, true)
8030
+ : undefined,
8020
8031
  homeMatchFlg: addressMatch,
8021
8032
  houseTypeCd: housing,
8022
8033
  participantContacts: getParticipantContacts$1({
@@ -8186,7 +8197,6 @@
8186
8197
  return (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep$1({ sections, field, step }), jsx(StepsNavigationButtons$2, { isSending: isSending, step: step, onPrevStep: onPrevStep })] }));
8187
8198
  });
8188
8199
 
8189
- /* eslint-disable max-lines */
8190
8200
  const PERSONAL_DATA = [
8191
8201
  {
8192
8202
  title: 'Персональные данные',
@@ -8222,9 +8232,6 @@
8222
8232
  },
8223
8233
  ],
8224
8234
  },
8225
- ];
8226
- const PERSONAL_INFO_CONTENT = [
8227
- ...PERSONAL_DATA,
8228
8235
  {
8229
8236
  inputs: [
8230
8237
  {
@@ -8233,6 +8240,124 @@
8233
8240
  dadata: true,
8234
8241
  filledByEsia: true,
8235
8242
  },
8243
+ ],
8244
+ },
8245
+ ];
8246
+ const DELIVERY_CARD_CONTENT = [
8247
+ {
8248
+ title: 'Регион обслуживания карты',
8249
+ columns: 1,
8250
+ inputs: [],
8251
+ },
8252
+ {
8253
+ inputs: [
8254
+ {
8255
+ name: 'regionRetail',
8256
+ required: true,
8257
+ },
8258
+ ],
8259
+ },
8260
+ {
8261
+ title: 'Способ получения',
8262
+ columns: 1,
8263
+ inputs: [],
8264
+ condition: {
8265
+ name: 'regionHasDelivery',
8266
+ values: [true],
8267
+ },
8268
+ },
8269
+ {
8270
+ inputs: [
8271
+ {
8272
+ name: 'methodObtain',
8273
+ condition: {
8274
+ name: 'regionHasDelivery',
8275
+ values: [true],
8276
+ },
8277
+ },
8278
+ ],
8279
+ },
8280
+ {
8281
+ title: 'Выбор офиса',
8282
+ columns: 1,
8283
+ inputs: [],
8284
+ condition: {
8285
+ name: 'methodObtain',
8286
+ values: ['office'],
8287
+ },
8288
+ },
8289
+ {
8290
+ title: 'Адрес доставки',
8291
+ columns: 1,
8292
+ inputs: [],
8293
+ condition: {
8294
+ name: 'methodObtain',
8295
+ values: ['courier'],
8296
+ },
8297
+ },
8298
+ {
8299
+ inputs: [
8300
+ {
8301
+ name: 'addressCourier',
8302
+ dadata: true,
8303
+ condition: {
8304
+ name: 'methodObtain',
8305
+ values: ['courier'],
8306
+ },
8307
+ required: true,
8308
+ },
8309
+ ],
8310
+ },
8311
+ {
8312
+ columns: 2,
8313
+ inputs: [
8314
+ {
8315
+ name: 'deliveryDate',
8316
+ condition: {
8317
+ name: 'methodObtain',
8318
+ values: ['courier'],
8319
+ },
8320
+ required: true,
8321
+ },
8322
+ {
8323
+ name: 'deliveryTime',
8324
+ condition: {
8325
+ name: 'methodObtain',
8326
+ values: ['courier'],
8327
+ },
8328
+ },
8329
+ ],
8330
+ },
8331
+ {
8332
+ inputs: [
8333
+ {
8334
+ name: 'comment',
8335
+ condition: {
8336
+ name: 'methodObtain',
8337
+ values: ['courier'],
8338
+ },
8339
+ },
8340
+ ],
8341
+ },
8342
+ {
8343
+ inputs: [
8344
+ {
8345
+ name: 'addressRetail',
8346
+ required: true,
8347
+ condition: {
8348
+ name: 'methodObtain',
8349
+ values: ['office'],
8350
+ },
8351
+ },
8352
+ ],
8353
+ },
8354
+ ];
8355
+
8356
+ /* eslint-disable max-lines */
8357
+ const PERSONAL_INFO_CONTENT$1 = [
8358
+ ...PERSONAL_DATA,
8359
+ {
8360
+ inputs: [
8236
8361
  {
8237
8362
  name: 'education',
8238
8363
  required: true,
@@ -8271,7 +8396,7 @@
8271
8396
  inputs: [{ name: 'addressFact', required: true, dadata: true }],
8272
8397
  },
8273
8398
  ];
8274
- const EMPLOYMENT_CONTENT = [
8399
+ const EMPLOYMENT_CONTENT$1 = [
8275
8400
  {
8276
8401
  title: 'Данные о трудоустройстве',
8277
8402
  inputs: [],
@@ -8344,7 +8469,7 @@
8344
8469
  inputs: [{ name: 'organizationAddress', required: true, dadata: true }],
8345
8470
  },
8346
8471
  ];
8347
- const FAMILY_STATUS_AND_INCOME_CONTENT = [
8472
+ const FAMILY_STATUS_AND_INCOME_CONTENT$1 = [
8348
8473
  {
8349
8474
  title: 'Семейное положение',
8350
8475
  },
@@ -8385,6 +8510,16 @@
8385
8510
  columns: 1,
8386
8511
  inputs: [{ name: 'wages', required: true, filledByEsia: true }],
8387
8512
  },
8513
+ {
8514
+ columns: 1,
8515
+ inputs: [
8516
+ {
8517
+ name: 'retirementIncome',
8518
+ required: true,
8519
+ condition: { name: 'employment', values: ['RETIREE'] },
8520
+ },
8521
+ ],
8522
+ },
8388
8523
  {
8389
8524
  columns: 1,
8390
8525
  inputs: [{ name: 'mandatoryPayments', required: true }],
@@ -8421,41 +8556,6 @@
8421
8556
  inputs: [{ name: 'creditInRshbCd' }],
8422
8557
  },
8423
8558
  ];
8424
- const COMMON_RETAIL_CONTENT = [
8425
- PERSONAL_INFO_CONTENT,
8426
- EMPLOYMENT_CONTENT,
8427
- FAMILY_STATUS_AND_INCOME_CONTENT,
8428
- ADDITIONAL_CONTENT,
8429
- ];
8430
- const DELIVERY_CREDIT_CONTENT = [
8431
- {
8432
- title: 'Отделение Банка',
8433
- columns: 1,
8434
- inputs: [],
8435
- },
8436
- {
8437
- inputs: [{ name: 'regionRetail', required: true }],
8438
- },
8439
- {
8440
- inputs: [{ name: 'addressRetail', required: true }],
8441
- },
8442
- {
8443
- title: 'Код представителя Банка',
8444
- columns: 1,
8445
- inputs: [],
8446
- },
8447
- {
8448
- inputs: [
8449
- {
8450
- name: 'infoCard',
8451
- label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
8452
- },
8453
- ],
8454
- },
8455
- {
8456
- inputs: [{ name: 'bankEmployeeCode' }],
8457
- },
8458
- ];
8459
8559
  const CREDIT_CARD_CONTENT = [
8460
8560
  {
8461
8561
  title: 'Параметры карты',
@@ -8470,214 +8570,17 @@
8470
8570
  ],
8471
8571
  },
8472
8572
  ];
8473
- const CALCULATOR_CONTENT = [
8573
+ const DELIVERY_CREDIT_CARD_CONTENT = [
8574
+ ...DELIVERY_CARD_CONTENT,
8474
8575
  {
8475
- columns: 1,
8476
8576
  inputs: [
8477
8577
  {
8478
- name: 'calculator',
8479
- },
8480
- ],
8481
- },
8482
- ];
8483
- const DELIVERY_DEBIT_CARD_CONTENT = [
8484
- {
8485
- title: 'Регион обслуживания карты',
8486
- columns: 1,
8487
- inputs: [],
8488
- },
8489
- {
8490
- inputs: [
8491
- {
8492
- name: 'regionRetail',
8493
- required: true,
8494
- },
8495
- ],
8496
- },
8497
- {
8498
- title: 'Способ получения',
8499
- columns: 1,
8500
- inputs: [],
8501
- condition: {
8502
- name: 'regionHasDelivery',
8503
- values: [true],
8504
- },
8505
- },
8506
- {
8507
- inputs: [
8508
- {
8509
- name: 'methodObtain',
8510
- condition: {
8511
- name: 'regionHasDelivery',
8512
- values: [true],
8513
- },
8514
- },
8515
- ],
8516
- },
8517
- {
8518
- title: 'Выбор офиса',
8519
- columns: 1,
8520
- inputs: [],
8521
- condition: {
8522
- name: 'methodObtain',
8523
- values: ['office'],
8524
- },
8525
- },
8526
- {
8527
- title: 'Адрес доставки',
8528
- columns: 1,
8529
- inputs: [],
8530
- condition: {
8531
- name: 'methodObtain',
8532
- values: ['courier'],
8533
- },
8534
- },
8535
- {
8536
- inputs: [
8537
- {
8538
- name: 'addressCourier',
8539
- dadata: true,
8540
- condition: {
8541
- name: 'methodObtain',
8542
- values: ['courier'],
8543
- },
8544
- required: true,
8545
- },
8546
- ],
8547
- },
8548
- {
8549
- columns: 2,
8550
- inputs: [
8551
- {
8552
- name: 'deliveryDate',
8553
- condition: {
8554
- name: 'methodObtain',
8555
- values: ['courier'],
8556
- },
8557
- required: true,
8558
- },
8559
- {
8560
- name: 'deliveryTime',
8561
- condition: {
8562
- name: 'methodObtain',
8563
- values: ['courier'],
8564
- },
8565
- },
8566
- ],
8567
- },
8568
- {
8569
- inputs: [
8570
- {
8571
- name: 'comment',
8572
- condition: {
8573
- name: 'methodObtain',
8574
- values: ['courier'],
8575
- },
8576
- },
8577
- ],
8578
- },
8579
- {
8580
- inputs: [
8581
- {
8582
- name: 'addressRetail',
8583
- required: true,
8584
- condition: {
8585
- name: 'methodObtain',
8586
- values: ['office'],
8587
- },
8588
- },
8589
- ],
8590
- },
8591
- ];
8592
- const DEBIT_PERSONAL_INFO_CONTENT = [
8593
- ...PERSONAL_DATA,
8594
- {
8595
- inputs: [
8596
- {
8597
- name: 'dulIssuedBy',
8598
- required: true,
8599
- dadata: true,
8600
- filledByEsia: true,
8601
- },
8602
- ],
8603
- },
8604
- {
8605
- title: 'Адрес регистрации по месту жительства',
8606
- columns: 1,
8607
- inputs: [],
8608
- },
8609
- {
8610
- inputs: [
8611
- {
8612
- name: 'addressRegistration',
8613
- required: true,
8614
- dadata: true,
8615
- filledByEsia: true,
8616
- },
8617
- { name: 'addressMatch' },
8618
- ],
8619
- },
8620
- {
8621
- title: 'Адрес фактического проживания (место пребывания РФ)',
8622
- inputs: [],
8623
- },
8624
- {
8625
- inputs: [{ name: 'addressFact', required: true, dadata: true }],
8626
- },
8627
- ];
8628
- const DEBIT_CARD_CONTENT = [
8629
- {
8630
- title: 'Параметры карты',
8631
- inputs: [],
8632
- },
8633
- {
8634
- inputs: [
8635
- { name: 'currency', required: true },
8636
- { name: 'paymentSystem', required: true },
8637
- { name: 'cardCategory', required: true },
8638
- ],
8639
- },
8640
- {
8641
- title: 'Отображение на карте',
8642
- inputs: [],
8643
- },
8644
- {
8645
- columns: 2,
8646
- inputs: [{ name: 'latinName' }, { name: 'latinSurname', required: true }],
8647
- },
8648
- {
8649
- inputs: [
8650
- {
8651
- name: 'infoCard',
8652
- label: 'Проверьте корректность заполненных полей, при необходимости внесите изменения.',
8653
- },
8654
- ],
8655
- },
8656
- {
8657
- inputs: [
8658
- {
8659
- name: 'infoCard',
8660
- label:
8661
- // eslint-disable-next-line max-len
8662
- 'Количество символов ограничивается 20. При этом, если фамилия и имя на карте содержит более 21 символа, то необходимо сократить имя и указывать на карте только первую букву имени и фамилию, если при таком сокращении фамилия и имя не умещается в количество символов – 20, то указывать только фамилию.',
8663
- },
8664
- ],
8665
- },
8666
- {
8667
- inputs: [{ name: 'codeWord', required: true }],
8668
- },
8669
- ];
8670
- const DELIVERY_CREDIT_CARD_CONTENT = [
8671
- ...DELIVERY_DEBIT_CARD_CONTENT,
8672
- {
8673
- inputs: [
8674
- {
8675
- name: 'infoCard',
8676
- label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
8677
- condition: {
8678
- name: 'methodObtain',
8679
- values: ['office'],
8680
- },
8578
+ name: 'infoCard',
8579
+ label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
8580
+ condition: {
8581
+ name: 'methodObtain',
8582
+ values: ['office'],
8583
+ },
8681
8584
  },
8682
8585
  {
8683
8586
  name: 'bankEmployeeCode',
@@ -8688,11 +8591,13 @@
8688
8591
  },
8689
8592
  ],
8690
8593
  },
8691
- ];
8692
-
8594
+ ];
8693
8595
  const stepsSectionsMap$2 = [
8694
8596
  CREDIT_CARD_CONTENT,
8695
- ...COMMON_RETAIL_CONTENT,
8597
+ PERSONAL_INFO_CONTENT$1,
8598
+ EMPLOYMENT_CONTENT$1,
8599
+ FAMILY_STATUS_AND_INCOME_CONTENT$1,
8600
+ ADDITIONAL_CONTENT,
8696
8601
  DELIVERY_CREDIT_CARD_CONTENT,
8697
8602
  ];
8698
8603
 
@@ -8778,7 +8683,7 @@
8778
8683
 
8779
8684
  const SuccessStatusContent$1 = JSX(() => {
8780
8685
  const { statusInfo } = useRetailFormStore();
8781
- return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442 \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: [
8686
+ return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: [
8782
8687
  {
8783
8688
  label: 'Название продукта',
8784
8689
  description: 'Кредит на любые цели',
@@ -8848,7 +8753,7 @@
8848
8753
 
8849
8754
  const PAYMENT_TYPE_DATA = {
8850
8755
  annuity: { key: 'ANNUITY', value: 'Аннуитетный' },
8851
- differential: { key: 'DIFFERENTIAL', value: 'Дифференцированный ' },
8756
+ differential: { key: 'DIFFERENTIATED', value: 'Дифференцированный ' },
8852
8757
  };
8853
8758
  const getCalcData = (formData) => {
8854
8759
  const { moneyValue, monthsValue, isAnnuity } = formData?.calculator ?? {};
@@ -8915,8 +8820,6 @@
8915
8820
  return getEmploymentData(formData);
8916
8821
  case 3:
8917
8822
  return getFamilyStatusAndIncomeData(formData);
8918
- case 4:
8919
- return getAdditionalInfoData(formData);
8920
8823
  default:
8921
8824
  return {};
8922
8825
  }
@@ -8936,7 +8839,7 @@
8936
8839
  isStateEmployee: false,
8937
8840
  },
8938
8841
  },
8939
- ...mainFormStateMap,
8842
+ ...getMainFormStateMap(true),
8940
8843
  {
8941
8844
  regionRetail: { key: '', text: '' },
8942
8845
  addressRetail: undefined,
@@ -8946,7 +8849,7 @@
8946
8849
 
8947
8850
  const useCreditFormAPI = ({ step, onNextStep, onFinish, }) => {
8948
8851
  const [isSending, { setTrue: startSending, setFalse: endSending }] = useBool(false);
8949
- const isFinalStep = step === 5;
8852
+ const isFinalStep = step === 4;
8950
8853
  const retailFormStore = useRetailFormStore();
8951
8854
  const initialState = useMemo(() => getInitialFormState(step, retailFormStore.leadForm, formStateMap$1), [step, retailFormStore.leadForm]);
8952
8855
  const resetForm = useCallback((response) => {
@@ -9016,37 +8919,225 @@
9016
8919
  return (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep$1({ sections, field, step, params: { calcData } }), jsx(StepsNavigationButtons$1, { step: step, isSending: isSending, onPrevStep: onPrevStep })] }));
9017
8920
  });
9018
8921
 
9019
- const stepsSectionsMap$1 = [
9020
- CALCULATOR_CONTENT,
9021
- ...COMMON_RETAIL_CONTENT,
9022
- DELIVERY_CREDIT_CONTENT,
9023
- ];
9024
-
9025
- const STEPS$1 = 5;
9026
- const STEP_TITLES$1 = [
9027
- '',
9028
- 'Персональные данные',
9029
- 'Данные о трудоустройстве',
9030
- 'Семейное положение и доход',
9031
- 'Дополнительные сведения',
9032
- 'Отделение Банка',
8922
+ /* eslint-disable max-lines */
8923
+ const PERSONAL_INFO_CONTENT = [
8924
+ ...PERSONAL_DATA,
8925
+ {
8926
+ title: 'Адрес регистрации по месту жительства',
8927
+ columns: 1,
8928
+ inputs: [],
8929
+ },
8930
+ {
8931
+ inputs: [
8932
+ {
8933
+ name: 'addressRegistration',
8934
+ required: true,
8935
+ dadata: true,
8936
+ filledByEsia: true,
8937
+ },
8938
+ { name: 'addressMatch' },
8939
+ ],
8940
+ },
8941
+ {
8942
+ title: 'Адрес фактического проживания (место пребывания РФ)',
8943
+ inputs: [],
8944
+ },
8945
+ {
8946
+ inputs: [{ name: 'addressFact', required: true, dadata: true }],
8947
+ },
9033
8948
  ];
9034
- const CreditForm = UniBlock(({ className, programsSource, ...rest }) => {
9035
- const [step, setStep] = useState(0);
9036
- const formContainerRef = useRef(null);
9037
- const scrollToTop = useCallback(() => formContainerRef?.current?.scrollIntoView({ behavior: 'smooth' }), [formContainerRef]);
9038
- useEffect(updateRefreshToken, []);
9039
- const handleNextStep = useCallback(() => {
9040
- setStep((_) => Math.min(_ + 1, STEPS$1));
9041
- scrollToTop();
9042
- }, []);
9043
- const handlePrevStep = useCallback(() => {
9044
- //TODO search hook - 1,
9045
- setStep((_) => Math.max(_ - 1, 0));
9046
- scrollToTop();
9047
- }, []);
9048
- const sections = stepsSectionsMap$1[step];
9049
- const isStartStep = step === 0;
8949
+ const EMPLOYMENT_CONTENT = [
8950
+ {
8951
+ title: 'Данные о трудоустройстве',
8952
+ inputs: [],
8953
+ },
8954
+ {
8955
+ inputs: [
8956
+ {
8957
+ name: 'infoCard',
8958
+ label: 'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, ' +
8959
+ 'если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
8960
+ },
8961
+ ],
8962
+ },
8963
+ {
8964
+ inputs: [
8965
+ { name: 'employment', required: true },
8966
+ { name: 'organizationName', required: true, dadata: true, filledByEsia: true },
8967
+ ],
8968
+ },
8969
+ {
8970
+ columns: 2,
8971
+ inputs: [
8972
+ { name: 'inn', required: true, dadata: true, filledByEsia: true },
8973
+ { name: 'legalForm', required: true },
8974
+ ],
8975
+ },
8976
+ {
8977
+ inputs: [
8978
+ { name: 'organization', required: true },
8979
+ { name: 'amountWorkers', required: true },
8980
+ ],
8981
+ },
8982
+ {
8983
+ columns: 2,
8984
+ inputs: [
8985
+ { name: 'employerOrganization', required: true },
8986
+ { name: 'jobsNumber', required: true, filledByEsia: true },
8987
+ ],
8988
+ },
8989
+ {
8990
+ inputs: [
8991
+ {
8992
+ name: 'organizationPhone',
8993
+ label: 'Телефон работодателя',
8994
+ required: true,
8995
+ },
8996
+ { name: 'beginDate', required: true, filledByEsia: true },
8997
+ ],
8998
+ },
8999
+ {
9000
+ title: 'Адрес работодателя',
9001
+ inputs: [],
9002
+ },
9003
+ {
9004
+ inputs: [{ name: 'organizationAddress', required: true, dadata: true }],
9005
+ },
9006
+ ];
9007
+ const FAMILY_STATUS_AND_INCOME_CONTENT = [
9008
+ {
9009
+ title: 'Семейное положение',
9010
+ },
9011
+ {
9012
+ columns: 1,
9013
+ inputs: [{ name: 'familyStatus', required: true }],
9014
+ },
9015
+ {
9016
+ columns: 2,
9017
+ inputs: [
9018
+ { name: 'children', required: true },
9019
+ { name: 'dependents', required: true },
9020
+ ],
9021
+ },
9022
+ {
9023
+ title: 'Совокупный доход',
9024
+ },
9025
+ {
9026
+ columns: 1,
9027
+ inputs: [
9028
+ {
9029
+ name: 'confirmationIncome',
9030
+ required: true,
9031
+ filledByEsia: true,
9032
+ },
9033
+ ],
9034
+ },
9035
+ {
9036
+ inputs: [
9037
+ {
9038
+ name: 'infoCard',
9039
+ label: 'Сумма основного и дополнительных доходов после вычета налога',
9040
+ },
9041
+ ],
9042
+ },
9043
+ {
9044
+ columns: 1,
9045
+ inputs: [{ name: 'wages', required: true, filledByEsia: true }],
9046
+ },
9047
+ {
9048
+ columns: 1,
9049
+ inputs: [
9050
+ {
9051
+ name: 'retirementIncome',
9052
+ required: true,
9053
+ condition: { name: 'employment', values: ['RETIREE'] },
9054
+ },
9055
+ ],
9056
+ },
9057
+ {
9058
+ columns: 1,
9059
+ inputs: [{ name: 'mandatoryPayments', required: true }],
9060
+ },
9061
+ {
9062
+ columns: 1,
9063
+ inputs: [{ name: 'snils', required: true }],
9064
+ },
9065
+ {
9066
+ columns: 1,
9067
+ inputs: [{ name: 'initiateBankruptcyFlg' }],
9068
+ },
9069
+ ];
9070
+ const DELIVERY_CREDIT_CONTENT = [
9071
+ {
9072
+ title: 'Отделение Банка',
9073
+ columns: 1,
9074
+ inputs: [],
9075
+ },
9076
+ {
9077
+ inputs: [{ name: 'regionRetail', required: true }],
9078
+ },
9079
+ {
9080
+ inputs: [{ name: 'addressRetail', required: true }],
9081
+ },
9082
+ {
9083
+ title: 'Код представителя Банка',
9084
+ columns: 1,
9085
+ inputs: [],
9086
+ },
9087
+ {
9088
+ inputs: [
9089
+ {
9090
+ name: 'infoCard',
9091
+ label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
9092
+ },
9093
+ ],
9094
+ },
9095
+ {
9096
+ inputs: [{ name: 'bankEmployeeCode' }],
9097
+ },
9098
+ ];
9099
+ const CALCULATOR_CONTENT = [
9100
+ {
9101
+ columns: 1,
9102
+ inputs: [
9103
+ {
9104
+ name: 'calculator',
9105
+ },
9106
+ ],
9107
+ },
9108
+ ];
9109
+ const stepsSectionsMap$1 = [
9110
+ CALCULATOR_CONTENT,
9111
+ PERSONAL_INFO_CONTENT,
9112
+ EMPLOYMENT_CONTENT,
9113
+ FAMILY_STATUS_AND_INCOME_CONTENT,
9114
+ DELIVERY_CREDIT_CONTENT,
9115
+ ];
9116
+
9117
+ const STEPS$1 = 4;
9118
+ const STEP_TITLES$1 = [
9119
+ '',
9120
+ 'Персональные данные',
9121
+ 'Данные о трудоустройстве',
9122
+ 'Семейное положение и доход',
9123
+ 'Отделение Банка',
9124
+ ];
9125
+ const CreditForm = UniBlock(({ className, programsSource, ...rest }) => {
9126
+ const [step, setStep] = useState(0);
9127
+ const formContainerRef = useRef(null);
9128
+ const scrollToTop = useCallback(() => formContainerRef?.current?.scrollIntoView({ behavior: 'smooth' }), [formContainerRef]);
9129
+ useEffect(updateRefreshToken, []);
9130
+ const handleNextStep = useCallback(() => {
9131
+ setStep((_) => Math.min(_ + 1, STEPS$1));
9132
+ scrollToTop();
9133
+ }, []);
9134
+ const handlePrevStep = useCallback(() => {
9135
+ //TODO search hook - 1,
9136
+ setStep((_) => Math.max(_ - 1, 0));
9137
+ scrollToTop();
9138
+ }, []);
9139
+ const sections = stepsSectionsMap$1[step];
9140
+ const isStartStep = step === 0;
9050
9141
  const [isFormFinished, { setTrue: handleFinish }] = useBool(false);
9051
9142
  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$1, step: step, totalSteps: STEPS$1 })), 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))) })] }) }));
9052
9143
  });
@@ -9334,8 +9425,76 @@
9334
9425
  return (jsxs("form", { onSubmit: handleSubmit, className: "space-y-m", children: [renderStep$1({ sections, field, step }), jsx(StepsNavigationButtons, { step: step, isSending: isSending, onPrevStep: onPrevStep })] }));
9335
9426
  });
9336
9427
 
9428
+ const DEBIT_PERSONAL_INFO_CONTENT = [
9429
+ ...PERSONAL_DATA,
9430
+ {
9431
+ title: 'Адрес регистрации по месту жительства',
9432
+ columns: 1,
9433
+ inputs: [],
9434
+ },
9435
+ {
9436
+ inputs: [
9437
+ {
9438
+ name: 'addressRegistration',
9439
+ required: true,
9440
+ dadata: true,
9441
+ filledByEsia: true,
9442
+ },
9443
+ { name: 'addressMatch' },
9444
+ ],
9445
+ },
9446
+ {
9447
+ title: 'Адрес фактического проживания (место пребывания РФ)',
9448
+ inputs: [],
9449
+ },
9450
+ {
9451
+ inputs: [{ name: 'addressFact', required: true, dadata: true }],
9452
+ },
9453
+ ];
9454
+ const DEBIT_CARD_CONTENT = [
9455
+ {
9456
+ title: 'Параметры карты',
9457
+ inputs: [],
9458
+ },
9459
+ {
9460
+ inputs: [
9461
+ { name: 'currency', required: true },
9462
+ { name: 'paymentSystem', required: true },
9463
+ { name: 'cardCategory', required: true },
9464
+ ],
9465
+ },
9466
+ {
9467
+ title: 'Отображение на карте',
9468
+ inputs: [],
9469
+ },
9470
+ {
9471
+ columns: 2,
9472
+ inputs: [{ name: 'latinName' }, { name: 'latinSurname', required: true }],
9473
+ },
9474
+ {
9475
+ inputs: [
9476
+ {
9477
+ name: 'infoCard',
9478
+ label: 'Проверьте корректность заполненных полей, при необходимости внесите изменения.',
9479
+ },
9480
+ ],
9481
+ },
9482
+ {
9483
+ inputs: [
9484
+ {
9485
+ name: 'infoCard',
9486
+ label:
9487
+ // eslint-disable-next-line max-len
9488
+ 'Количество символов ограничивается 20. При этом, если фамилия и имя на карте содержит более 21 символа, то необходимо сократить имя и указывать на карте только первую букву имени и фамилию, если при таком сокращении фамилия и имя не умещается в количество символов – 20, то указывать только фамилию.',
9489
+ },
9490
+ ],
9491
+ },
9492
+ {
9493
+ inputs: [{ name: 'codeWord', required: true }],
9494
+ },
9495
+ ];
9337
9496
  const stepsSectionsMap = [
9338
- DELIVERY_DEBIT_CARD_CONTENT,
9497
+ DELIVERY_CARD_CONTENT,
9339
9498
  DEBIT_PERSONAL_INFO_CONTENT,
9340
9499
  DEBIT_CARD_CONTENT,
9341
9500
  ];
@@ -9368,7 +9527,7 @@
9368
9527
 
9369
9528
  const DEFAULT_MIN_SUM = 500;
9370
9529
  const DEFAULT_MAX_SUM = 1000000000;
9371
- const initialFiltrationState$2 = {
9530
+ const initialFiltrationState = {
9372
9531
  sum: {
9373
9532
  min: 10000,
9374
9533
  max: DEFAULT_MAX_SUM,
@@ -9376,7 +9535,7 @@
9376
9535
  period: 3,
9377
9536
  };
9378
9537
  const DepositFiltration = UniBlock(({ className, filtrationSchema = {}, resetButton, sumInput, periodInput, ...rest }) => {
9379
- const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState$2, {
9538
+ const [, { blocksToRender, blocksWithProps }, { field, reset }] = useFiltrationForm(initialFiltrationState, {
9380
9539
  block: rest.block,
9381
9540
  page: rest.options?.page,
9382
9541
  normalize: (content) => ({ ...content, period: getPeriod(content) }),
@@ -9405,115 +9564,6 @@
9405
9564
  .filter(isRateRow)
9406
9565
  .flatMap((_) => numberRange(_.minMonths, _.maxMonths))).sort((a, b) => a - b) || [];
9407
9566
 
9408
- const DEFAULT_OPTIONS = [{ key: '10' }, { key: '50' }, { key: '100' }];
9409
- const PageSizeSelector = ({ itemCount, onItemCountChange }) => {
9410
- const handleItemCountChange = useCallback(({ key }) => onItemCountChange(Number(key)), []);
9411
- return (jsxs("div", { className: "mt-2 @lg:mt-0 items-center gap-s hidden @lg:flex", children: [jsx("span", { children: "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E" }), jsx(Select, { className: "min-w-20", onChange: handleItemCountChange, value: { key: String(itemCount) }, options: DEFAULT_OPTIONS, iconVersion: "black" })] }));
9412
- };
9413
-
9414
- const paginationBlockStyle = 'py-m @lg:px-lg px-m rounded-md cursor-pointer text-center min-w-10 @lg:min-w-0 hover:bg-primary-hover hover:text-white';
9415
-
9416
- const checkPageRange = (page, currentPage, totalPages) => (currentPage <= 2 && page <= currentPage + 2) ||
9417
- (currentPage >= totalPages - 1 && page >= totalPages - 3);
9418
- const shouldRenderPage = (page, currentPage, totalPages) => (page < currentPage && page >= currentPage - 1) ||
9419
- (page <= currentPage + 1 && page > currentPage) ||
9420
- checkPageRange(page, currentPage, totalPages);
9421
-
9422
- const renderPages = (pagesParams, index) => {
9423
- const { currentPage, onPageChange, totalPages } = pagesParams;
9424
- const page = index + 1;
9425
- if (page === currentPage) {
9426
- return (jsx("div", { "aria-current": "true", className: "py-m @lg:px-lg px-m bg-primary-main text-center min-w-10 @lg:min-w-0 text-white rounded-md", children: page }, String(index)));
9427
- }
9428
- if (page !== 1 && page !== totalPages && shouldRenderPage(page, currentPage, totalPages)) {
9429
- return (jsx("div", { onClick: () => onPageChange(page), className: paginationBlockStyle, "aria-label": `Страница ${page}`, children: page }, String(index)));
9430
- }
9431
- return null;
9432
- };
9433
-
9434
- const ICON_SIZE = { width: '24', height: '24' };
9435
- const PaginationContainer = ({ currentPage, onPageChange, totalPages, }) => {
9436
- const pages = useMemo(() => Array.from({ length: totalPages }).fill({
9437
- currentPage,
9438
- onPageChange,
9439
- totalPages,
9440
- }), [totalPages, currentPage]);
9441
- const handlePrevPage = useCallback(() => {
9442
- if (currentPage > 1) {
9443
- onPageChange(currentPage - 1);
9444
- }
9445
- }, [currentPage]);
9446
- const handleNextPage = useCallback(() => {
9447
- if (currentPage < totalPages) {
9448
- onPageChange(currentPage + 1);
9449
- }
9450
- }, [currentPage, totalPages]);
9451
- const handleFirstPage = useCallback(() => onPageChange(1), []);
9452
- const handleLastPage = useCallback(() => onPageChange(totalPages), [totalPages]);
9453
- return (jsxs("div", { className: "flex gap-m items-center", children: [jsx("div", { onClick: handlePrevPage, children: jsx(Icon, { name: "ArrowLeftIcon", iconVersion: "black", imageClassName: getIconStyle(currentPage === 1), ...ICON_SIZE }) }), jsxs("div", { className: "flex @lg:gap-2xs", children: [currentPage > 1 ? (jsx("div", { onClick: handleFirstPage, className: paginationBlockStyle, "aria-label": "\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 1", children: "1" })) : null, currentPage > 3 ? jsx("div", { className: "py-m @lg:px-s", children: "..." }) : null, pages.map(renderPages), currentPage < totalPages - 2 ? jsx("div", { className: "py-m @lg:px-s", children: "..." }) : null, currentPage < totalPages ? (jsx("div", { onClick: handleLastPage, className: paginationBlockStyle, "aria-label": `Страница ${totalPages}`, children: totalPages })) : null] }), jsx("div", { onClick: handleNextPage, children: jsx(Icon, { className: "rotate-180", name: "ArrowLeftIcon", iconVersion: "black", imageClassName: getIconStyle(currentPage === totalPages), ...ICON_SIZE }) })] }));
9454
- };
9455
- const getIconStyle = (condition) => condition ? 'opacity-20' : 'cursor-pointer hover:opacity-60';
9456
-
9457
- const Pagination = ({ currentPage, onPageChange, totalPages, itemCount, onItemCountChange, }) => (jsxs("div", { className: "mt-3xl flex justify-between flex-col @lg:flex-row items-center select-none", role: "navigation", "aria-label": "\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F", children: [jsx(PaginationContainer, { currentPage: currentPage, onPageChange: onPageChange, totalPages: totalPages }), itemCount && onItemCountChange ? (jsx(PageSizeSelector, { itemCount: itemCount, onItemCountChange: onItemCountChange })) : null] }));
9458
-
9459
- const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus, placeholder = 'Поиск по сайту' }) => {
9460
- const handleChange = useCallback((ev) => {
9461
- onChange && onChange(ev.target?.value || '');
9462
- }, [onChange]);
9463
- return (jsxs("div", { className: style('relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-m pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: 'black' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-14 w-full px-10 text-l text-black box-border rounded-md', inputValidStyle), value: value, type: "text", name: "search-bar-input", placeholder: placeholder, autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
9464
- });
9465
-
9466
- const DepositoryFilter = JSX(({ field, onClearFilter, filtrationState }) => (jsxs("div", { className: "grid grid-cols-12 mb-3xl @lg:space-x-xl", children: [jsx(SearchInput, { className: "col-span-12 @lg:col-span-4 mt-auto", placeholder: "\u041F\u043E\u0438\u0441\u043A", ...field('query') }), jsx(DatePicker, { className: "col-span-12 @lg:col-span-3 mt-4 @lg:mt-0", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u043E\u0442", maxDate: filtrationState.endDate, ...field('startDate') }), jsx(DatePicker, { className: "col-span-12 @lg:col-span-3 mt-4 @lg:mt-0", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u0434\u043E", minDate: filtrationState.startDate, ...field('endDate') }), jsx("div", { className: "col-span-12 @lg:col-span-2 mt-8 @lg:mt-auto", children: jsx(Button, { type: "reset", className: "w-full", version: "secondary", onClick: onClearFilter, children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C" }) })] })));
9467
-
9468
- const DepositoryItem = JSX(({ title, timestamp, publicId }) => {
9469
- const link = useLink();
9470
- const { href } = link({ href: `${API_BASE_URI$1}/depository/${publicId}/file` });
9471
- return (jsxs("div", { className: "flex gap-3 items-center py-lg border-gray border-opacity-50 border-b", children: [jsx(RoundedIcon, { className: "shrink-0", icon: "DocDownloadIcon", iconVersion: "black" }), jsxs("div", { className: "flex flex-col gap-x-6xl lg:flex-row lg:items-center", children: [timestamp ? (jsx(Text, { size: "text-m", "font-weight": "font-light", children: formatDate(timestamp) })) : null, jsx("a", { className: "text-h6 hover:text-primary-active", href: href, download: true, "aria-label": "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: title })] })] }, publicId));
9472
- });
9473
-
9474
- const DEPOSITARY_URL = `${API_BASE_URI$1}/depository`;
9475
- const useDepository = ({ size, page, query, startDate, endDate }) => {
9476
- const formatStartDate = startDate ? formatDate(startDate, true) : '';
9477
- const formatEndDate = endDate ? formatDate(endDate, true) : '';
9478
- const searchParams = new URLSearchParams(DEPOSITARY_URL);
9479
- searchParams.set('page', String(page));
9480
- searchParams.set('size', String(size));
9481
- searchParams.set('query', query);
9482
- searchParams.set('timestampStart', formatStartDate);
9483
- searchParams.set('timestampEnd', formatEndDate);
9484
- const queryString = `?${searchParams.toString()}`;
9485
- const { data } = useAsyncData(DEPOSITARY_URL + queryString, fetchJSONUnsafe);
9486
- return { items: data?.content, totalPages: data?.totalPages };
9487
- };
9488
-
9489
- const DEFAULT_ITEMS_COUNT = 10;
9490
- const initialFiltrationState$1 = {
9491
- startDate: undefined,
9492
- endDate: undefined,
9493
- query: '',
9494
- };
9495
- const Depository = UniBlock(({ className, ...rest }) => {
9496
- const [currentPage, setCurrentPage] = useState(0);
9497
- const [itemCount, setItemCount] = useState(DEFAULT_ITEMS_COUNT);
9498
- const [filtrationState, { field, reset }] = useForm(initialFiltrationState$1);
9499
- const { totalPages = 0, items = [] } = useDepository({
9500
- size: itemCount,
9501
- page: currentPage,
9502
- ...filtrationState,
9503
- });
9504
- const handleChangePage = useCallback((page) => setCurrentPage(page - 1), []);
9505
- const handleItemCountChange = useCallback((count) => {
9506
- if (itemCount !== count) {
9507
- setItemCount(count);
9508
- setCurrentPage(0);
9509
- }
9510
- else {
9511
- setItemCount(count);
9512
- }
9513
- }, []);
9514
- return (jsxs(BlockWrapper, { className: style(className, 'container p-6xl'), ...rest, children: [jsx(DepositoryFilter, { filtrationState: filtrationState, field: field, onClearFilter: reset }), jsxs("div", { className: "flex flex-col", children: [jsxs("div", { className: "grid grid-cols-12 pb-lg border-gray border-opacity-50 border-b", children: [jsx("div", { className: "col-span-4 @lg:col-span-2 hidden @lg:block", children: jsx(Text, { size: "text-m", color: "text-secondary-text", children: "\u0414\u0430\u0442\u0430" }) }), jsx("span", { className: "col-span-8 @lg:col-span-10 hidden @lg:block", children: jsx(Text, { size: "text-m", color: "text-secondary-text", children: "\u0422\u0435\u043C\u0430" }) })] }), items.length ? (items.map((params) => jsx(DepositoryItem, { ...params }, String(params.publicId)))) : (jsx(NotFound, { title: "\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E", description: "\u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440\u044B" })), jsx(Pagination, { currentPage: currentPage + 1, onPageChange: handleChangePage, totalPages: totalPages, itemCount: itemCount, onItemCountChange: handleItemCountChange })] })] }));
9515
- });
9516
-
9517
9567
  const renderErrorContent = (error) => {
9518
9568
  if (error?.contentType === 'Image' && error?.image) {
9519
9569
  return jsx(Img, { image: error.image });
@@ -9525,214 +9575,6 @@
9525
9575
  };
9526
9576
  const ErrorBlock = JSX(({ className = '', title, description, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: style('p-6xl'), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center", children: renderErrorContent(error) }), jsx(Headline, { title: title, description: description, headlineVersion: "XL", isEmbedded: true, className: "mb-2xl last:mb-0" }), button?.text ? (jsx(LinkButton, { version: button?.version, text: button?.text, ...button })) : null] })));
9527
9577
 
9528
- const REGION_URL = `${API_BASE_URI$1}/region`;
9529
- function useLocation(defaultLocation = 'Москва') {
9530
- const locationStore = useLocalStore();
9531
- return locationStore.location ?? { name: defaultLocation };
9532
- }
9533
- function useDefaultLocation(defaultLocation = 'Москва') {
9534
- const locationStore = useLocalStore();
9535
- const preselectLocation = useCallback(async () => {
9536
- if (!locationStore.location) {
9537
- const region = await fetchJSON(REGION_URL);
9538
- locationStore.location = region ?? { name: defaultLocation };
9539
- }
9540
- }, [locationStore, defaultLocation]);
9541
- useAsyncData(REGION_URL, preselectLocation);
9542
- return locationStore;
9543
- }
9544
-
9545
- var Currency;
9546
- (function (Currency) {
9547
- Currency["RUB"] = "RUB";
9548
- Currency["EUR"] = "EUR";
9549
- Currency["USD"] = "USD";
9550
- Currency["CNY"] = "CNY";
9551
- })(Currency || (Currency = {}));
9552
-
9553
- const currencyNumberFormat = new Intl.NumberFormat('ru', {
9554
- style: 'currency',
9555
- currency: Currency.RUB,
9556
- });
9557
- const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
9558
-
9559
- const TABLE_STYLE_BASE = 'text-m font-light text-secondary-text ';
9560
- const TABLE_HEAD_STYLE = `${TABLE_STYLE_BASE} text-left`;
9561
- const TABLE_HEAD_STYLE_CENTER = `${TABLE_STYLE_BASE} pl-5xl text-center`;
9562
- const TABLE_HEAD_STYLE_RIGHT = `${TABLE_STYLE_BASE} pl-5xl text-right`;
9563
- const CURRENCY_ICONS_MAP = {
9564
- USD: 'DollarIcon',
9565
- EUR: 'EuroIcon',
9566
- CNY: 'ChineseYuanRenminbiIcon',
9567
- };
9568
- const CurrencyTable = JSX(({ className, exchangeCurrencyItems }) => (jsxs("table", { className: style('h-fit w-full', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { className: TABLE_HEAD_STYLE, children: jsx(Text, { size: "text-m", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), jsx("th", { className: TABLE_HEAD_STYLE_CENTER, children: jsx(Text, { size: "text-m", children: "\u041A\u0443\u043F\u0438\u0442\u044C" }) }), jsx("th", { className: TABLE_HEAD_STYLE_RIGHT, children: jsx(Text, { size: "text-m", children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" }) })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map(renderCurrencyRow) })] })));
9569
- const renderCurrencyRow = (exchangeCurrencyItem) => {
9570
- const currency = exchangeCurrencyItem?.currency?.currency;
9571
- return (jsxs("tr", { className: "pb-2xs text-h6", children: [jsx("td", { className: "pt-m m-auto flex text-left", children: jsxs("div", { className: "flex items-center gap-xs", children: [currency ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx(Text, { size: "text-h6", children: currency })] }) }), jsx("td", { className: "pt-m pl-5xl text-center", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }) }), jsx("td", { className: "pt-m pl-5xl text-right", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) }) })] }, currency));
9572
- };
9573
-
9574
- const icon = { icon: 'GpsIcon' };
9575
- const CurrentLocation = JSX(({ className = '', address }) => (jsxs("div", { className: style('flex gap-s w-full justify-between @sm:justify-center', className), children: [jsx(RoundedIcon, { ...icon, iconBgVersion: "primary", className: "shrink-0" }), jsxs("div", { className: "space-y-2xs whitespace-pre-wrap", children: [address ? (jsx(Paragraph, { size: "text-l", color: "text-primary-main", children: address })) : null, jsx(Paragraph, { size: "text-m", color: "text-secondary-text", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
9576
-
9577
- const roundTo = (value, precision = 2) => {
9578
- const factor = 10 ** precision;
9579
- return Math.round(parseFloat(String(value)) * factor) / factor;
9580
- };
9581
-
9582
- const calculateResult = (value, rate, precision) => {
9583
- const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
9584
- return Number.isInteger(result) ? result : roundTo(result);
9585
- };
9586
- const formatValue = (value) => value.replace(/[^\d.,]/g, '').replace(',', '.');
9587
-
9588
- function assertNonEmpty(value) {
9589
- if (!value) {
9590
- throw new Error('Value should be fulfilled');
9591
- }
9592
- return value;
9593
- }
9594
-
9595
- const baseTableFunc = (table) => (input) => {
9596
- const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(input)));
9597
- return unit(input);
9598
- };
9599
- const tableFunc = (table) => baseTableFunc(table.map(([p, o]) => [p, () => o]));
9600
- tableFunc.if = (predicate) => new TableFuncBuilder(undefined, predicate);
9601
- class TableFuncBuilder {
9602
- parent;
9603
- predicate;
9604
- unit;
9605
- get entry() {
9606
- return [assertNonEmpty(this.predicate), assertNonEmpty(this.unit)];
9607
- }
9608
- constructor(parent, predicate, unit) {
9609
- this.parent = parent;
9610
- this.predicate = predicate;
9611
- this.unit = unit;
9612
- }
9613
- if(predicate) {
9614
- return new TableFuncBuilder(this, predicate);
9615
- }
9616
- then(unit) {
9617
- return new TableFuncBuilder(this.parent, this.predicate, unit);
9618
- }
9619
- else(unit) {
9620
- return baseTableFunc([...buildTable(this), [() => true, unit]]);
9621
- }
9622
- }
9623
- const buildTable = (builder) => [
9624
- ...(builder?.parent ? buildTable(builder.parent) : []),
9625
- builder.entry,
9626
- ];
9627
-
9628
- const callbackCurrencySelect = (props) => tableFunc([
9629
- [
9630
- (_) => _.value !== Currency.RUB && _.oppositeValue !== Currency.RUB,
9631
- () => props.handleConvert(props.value, Currency.RUB),
9632
- ],
9633
- [
9634
- (_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
9635
- () => props.handleConvert(props.value, Currency.USD),
9636
- ],
9637
- [
9638
- (_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
9639
- () => props.handleConvert(props.value, Currency.CNY),
9640
- ],
9641
- [() => true, () => props.handleConvert(props.value)],
9642
- ])(props)?.();
9643
-
9644
- function renderInput(props) {
9645
- const { placeholder, rates, selected, value, setValue, setSelected } = props;
9646
- const ratesOptions = rates.map((_) => ({
9647
- key: _?.currency?.currency ?? '',
9648
- text: _?.currency?.currency ?? '',
9649
- }));
9650
- const selectedValue = { key: selected, text: selected };
9651
- return (jsxs("div", { className: "relative flex", children: [jsx(Input, { className: "shrink-0 text-l w-full appearance-none -mr-20", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (jsx(Select, { className: "absolute right-0", isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
9652
- }
9653
-
9654
- const ExchangeCurrencyCalculator = JSX(({ className = '', currencyRatesBuy, currencyRatesSell, button }) => {
9655
- const [calcState, setCalcState] = useState({
9656
- inputSell: '',
9657
- inputBuy: '',
9658
- selectSell: currencyRatesBuy?.[0]?.currency?.currency || Currency.RUB,
9659
- selectBuy: currencyRatesSell?.[0]?.currency?.currency || Currency.USD,
9660
- });
9661
- const handleSetCalcState = useCallback((newState) => setCalcState((oldState) => ({ ...oldState, ...newState })), []);
9662
- return (jsxs("div", { className: `flex flex-col gap-m pt-2xl ${className}`, children: [currencyRatesBuy && currencyRatesSell ? (jsxs("div", { className: "grid gap-m", children: [renderInput({
9663
- placeholder: 'Хочу продать',
9664
- rates: currencyRatesSell,
9665
- selected: calcState.selectSell,
9666
- setSelected: handleSelectSell(calcState, handleSetCalcState, currencyRatesSell),
9667
- value: calcState.inputSell,
9668
- setValue: (value) => handleInputSell(handleSetCalcState, currencyRatesSell)(value, calcState.selectSell, calcState.selectBuy),
9669
- }), renderInput({
9670
- placeholder: 'Получу',
9671
- rates: currencyRatesBuy,
9672
- selected: calcState.selectBuy,
9673
- setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
9674
- value: calcState.inputBuy,
9675
- setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
9676
- })] })) : null, button?.text ? (jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
9677
- });
9678
- const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
9679
- setCalcState({ selectSell: value });
9680
- callbackCurrencySelect({
9681
- value,
9682
- oppositeValue: calcState.selectBuy,
9683
- handleConvert: (currencyFrom = calcState.selectSell, currencyTo = calcState.selectBuy) => {
9684
- handleInputSell(setCalcState, currencyRatesSell)(calcState.inputSell, currencyFrom, currencyTo);
9685
- },
9686
- });
9687
- };
9688
- const handleSelectBuy = (calcState, setCalcState, currencyRatesBuy) => (value) => {
9689
- setCalcState({ selectBuy: value });
9690
- callbackCurrencySelect({
9691
- value,
9692
- oppositeValue: calcState.selectSell,
9693
- handleConvert: (currencyTo = calcState.selectBuy, currencyFrom = calcState.selectSell) => handleInputBuy(setCalcState, currencyRatesBuy)(calcState.inputBuy, currencyTo, currencyFrom),
9694
- });
9695
- };
9696
- const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
9697
- setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
9698
- const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.buyExchangeRate ||
9699
- currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
9700
- if (rate) {
9701
- setCalcState({
9702
- inputBuy: String(calculateResult(value, rate, currencyFrom === Currency.RUB) || ''),
9703
- });
9704
- }
9705
- };
9706
- const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
9707
- setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
9708
- const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.saleExchangeRate ||
9709
- currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
9710
- if (rate) {
9711
- setCalcState({
9712
- inputSell: String(calculateResult(value, rate, currencyTo === Currency.RUB) || ''),
9713
- });
9714
- }
9715
- };
9716
-
9717
- const EXCHANGE_RATES_URL = `${API_BASE_URI$1}/exchangerates`;
9718
- function useFetchExchangeRateData(currentRegion) {
9719
- const regionCode = currentRegion?.code || '000';
9720
- const { data } = useAsyncData(EXCHANGE_RATES_URL + `?regionCode=${regionCode}`, fetchJSONUnsafe);
9721
- return data || {};
9722
- }
9723
-
9724
- const ExchangeRateTile = JSX(({ className = '', title = 'Курсы обмена валют', button, ...rest }) => {
9725
- const currentLocation = useLocation();
9726
- const exchangeRates = useFetchExchangeRateData(currentLocation);
9727
- const currencyRates = getCurrencyRates(exchangeRates?.exchangeRate?.currencies);
9728
- const currencyRatesBuy = currencyRates.filter((_) => _.buyExchangeRate);
9729
- currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
9730
- const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
9731
- currencyRatesSell.push({ currency: { currency: Currency.RUB } });
9732
- return (jsx(BlockWrapper, { className: style('box-border min-h-80', className), ...rest, children: jsx(BaseTile, { className: "h-full", title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap" }), children: jsxs("div", { className: "flex w-full gap-6xl flex-wrap @lg:flex-nowrap", children: [jsxs("div", { className: "w-full @2xl:w-auto @5xl:w-1/2", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-xl", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation, { address: exchangeRates?.address })] }), jsx(ExchangeCurrencyCalculator, { className: "grow w-1/2", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })] }) }) }));
9733
- });
9734
- const getCurrencyRates = (currencies) => currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
9735
-
9736
9578
  const LinkList = JSX(({ className = '', items }) => {
9737
9579
  const link = useLink();
9738
9580
  return (jsx("ul", { className: style('flex flex-col gap-s w-full', className), children: items?.map(renderLinkListItem(link)) }));
@@ -9779,7 +9621,7 @@
9779
9621
  return (jsx("a", { className: style('text-secondary-text', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
9780
9622
  });
9781
9623
 
9782
- const HorizontalNavigation = JSX(({ className = '', title, links }) => (jsx("div", { className: className, children: links?.length ? (jsxs("div", { className: "flex justify-between lg:items-center flex-col lg:flex-row gap-lg py-lg border-y border-y-main-divider", children: [jsx("div", { className: "lg:hidden", children: jsx(Text, { size: "text-l", font: "font-normal", children: title }) }), links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light lg:max-w-[292px]", ..._ }, String(i))))] })) : null })));
9624
+ const HorizontalNavigation = JSX(({ className = '', title, links }) => (jsx("div", { className: className, children: links?.length ? (jsxs("div", { className: "flex justify-between lg:items-center flex-col lg:flex-row gap-lg py-lg border-y border-y-main-divider", children: [jsx("div", { className: "lg:hidden", children: jsx(Text, { size: "text-l", font: "font-normal", children: title }) }), links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light lg:max-w-72", ..._ }, String(i))))] })) : null })));
9783
9625
 
9784
9626
  const LEFT_COLUMN_STYLE = 'w-full lg:w-52';
9785
9627
 
@@ -9914,12 +9756,13 @@
9914
9756
  const SEARCH_INDEX_FILENAME = 'search.index.json';
9915
9757
  const useSearch = ({ basePathList, initialQuery = '', }) => {
9916
9758
  const [query, setQuery] = useState(initialQuery || '');
9759
+ const router = useRouter();
9917
9760
  useEffect(() => {
9918
9761
  if (initialQuery !== undefined && initialQuery !== null) {
9919
9762
  setQuery(initialQuery);
9920
9763
  }
9921
9764
  }, [initialQuery]);
9922
- const { data } = useAsyncData(basePathList?.length ? basePathList : null, fetchSearchIndex);
9765
+ const { data } = useAsyncData(basePathList?.length ? basePathList : null, fetchSearchIndex(router));
9923
9766
  const [result, setResult] = useState(null);
9924
9767
  useDebouncedEffect(() => {
9925
9768
  if (data) {
@@ -9928,13 +9771,13 @@
9928
9771
  }, [data, query]);
9929
9772
  return [result, { value: query, onChange: setQuery }];
9930
9773
  };
9931
- const fetchSearchIndex = async (...basePathList) => (await Promise.allSettled(basePathList.map(async (basePath) => [
9774
+ const fetchSearchIndex = (router) => async (...basePathList) => (await Promise.allSettled(basePathList.map(async (basePath) => [
9932
9775
  basePath,
9933
9776
  await fetchJSON(joinPath(basePath, SEARCH_INDEX_FILENAME)),
9934
9777
  ])))
9935
9778
  .map((_) => (_.status === 'fulfilled' ? _.value : []))
9936
- .map(getSearchIndex);
9937
- const getSearchIndex = ([basePath, result]) => {
9779
+ .map(getSearchIndex(router));
9780
+ const getSearchIndex = (router) => ([basePath, result]) => {
9938
9781
  if (!result) {
9939
9782
  return {};
9940
9783
  }
@@ -9942,11 +9785,18 @@
9942
9785
  ...result,
9943
9786
  corpus: result.corpus?.map((_) => ({
9944
9787
  ..._,
9945
- uri: _.uri === 'index' ? basePath : joinPath(basePath, _.uri),
9788
+ uri: _.uri === 'index' ? basePath : adjustHref(router)(_.uri, basePath),
9946
9789
  })),
9947
9790
  };
9948
9791
  };
9949
9792
 
9793
+ const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus, placeholder = 'Поиск по сайту' }) => {
9794
+ const handleChange = useCallback((ev) => {
9795
+ onChange && onChange(ev.target?.value || '');
9796
+ }, [onChange]);
9797
+ 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 })] }));
9798
+ });
9799
+
9950
9800
  const SearchDialog = JSX(({ initialQuery, navigationItems, onClose }) => {
9951
9801
  const basePathList = useMemo(() => navigationItems?.map((_) => _.href || '/'), [navigationItems]);
9952
9802
  const [searchResult, searchInputProps] = useSearch({
@@ -9988,7 +9838,7 @@
9988
9838
  const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
9989
9839
  const link = useLink();
9990
9840
  const { href, target, text, onClick } = link(rest);
9991
- return (jsx("a", { className: style('text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px]', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
9841
+ return (jsx("a", { className: style('text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-72', className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
9992
9842
  });
9993
9843
 
9994
9844
  const TextInformation = JSX(({ className = '', links, license }) => (jsxs("div", { className: style('@container space-y-lg', className), children: [license ? (jsx("div", { children: jsx(Text, { size: "text-xs", font: "font-light", color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0${license}` }) })) : null, links?.length ? (jsx("div", { className: "flex flex-col @5xl:flex-row justify-start items-start gap-x-lg gap-y-xs", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
@@ -10012,8 +9862,48 @@
10012
9862
  '': '',
10013
9863
  };
10014
9864
 
10015
- const MIN_LENGTH_CHILD = 5;
9865
+ const useSortProductBlocks = (parentBlock = {}) => {
9866
+ const [blocks, setBlocks] = useState(parentBlock.blocks ?? []);
9867
+ const sessionStore = useSessionStore();
9868
+ const offerIds = sessionStore?.offerIds || [];
9869
+ const sortedBlocks = useMemo(() => {
9870
+ const blocksMap = new Map(parentBlock.blocks?.map((block) => [block?.__id, block]) ?? []);
9871
+ const blocksByOfferIds = offerIds
9872
+ .map((id) => blocksMap.get(id))
9873
+ .filter((block) => Boolean(block));
9874
+ const tailBlocks = blocks.filter(({ __id = '' }) => !offerIds.includes(__id));
9875
+ return [...blocksByOfferIds, ...tailBlocks];
9876
+ }, [blocks, offerIds]);
9877
+ useEffect(() => setBlocks(sortedBlocks), []);
9878
+ return blocks;
9879
+ };
9880
+
10016
9881
  const SHORT_TILE_INDEXES = [1, 2, 3, 4];
9882
+ const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
9883
+ ? 'lg:col-span-1 lg:row-span-1'
9884
+ : 'lg:col-span-2 lg:row-span-2';
9885
+ const modifyBlock = (block, i) => {
9886
+ const content = { ...block.content };
9887
+ const isSmallTile = SHORT_TILE_INDEXES.includes(i);
9888
+ if (isSmallTile) {
9889
+ delete content.description;
9890
+ delete content.benefits;
9891
+ if (content.link?.href) {
9892
+ delete content.buttons;
9893
+ }
9894
+ content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
9895
+ content.headlineVersion = 'S';
9896
+ }
9897
+ else {
9898
+ if ((content.buttons ?? []).length) {
9899
+ delete content.link;
9900
+ }
9901
+ content.headlineVersion = 'L';
9902
+ }
9903
+ return { ...block, content };
9904
+ };
9905
+
9906
+ const MIN_LENGTH_CHILD = 5;
10017
9907
  const LINK_SCHEMA = {
10018
9908
  link: {
10019
9909
  allOf: [
@@ -10033,15 +9923,19 @@
10033
9923
  required: ['href'],
10034
9924
  },
10035
9925
  };
10036
- 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({
10037
- ...rest,
10038
- renderProps: getRenderProps({ isInnerPadding, isCardBorder }),
10039
- }) })), {
9926
+ const GalleryLayout = UniBlock(({ className = '', padding = 'p-0', gap = '', isInnerPadding = true, version = 'transparent', isTheme = false, isCardBorder = false, block = {}, ...rest }) => {
9927
+ const blocks = useSortProductBlocks(block);
9928
+ 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({
9929
+ ...rest,
9930
+ block: { ...block, blocks },
9931
+ renderProps: getRenderProps({ isInnerPadding, isCardBorder }),
9932
+ }) }));
9933
+ }, {
10040
9934
  childrenTypes: ['ProductBlock'],
10041
9935
  childSchema: () => LINK_SCHEMA,
10042
9936
  allowRemoveChild: (slot) => (slot?.blocks ?? []).length > MIN_LENGTH_CHILD,
10043
9937
  });
10044
- const getRenderProps = ({ isInnerPadding, isCardBorder, }) => (childBlock, childOptions, i) => renderBlock$1(childBlock, {
9938
+ const getRenderProps = ({ isInnerPadding, isCardBorder, }) => (childBlock, childOptions, i) => renderBlock(childBlock, {
10045
9939
  ...childOptions,
10046
9940
  blockDecorator: blockDecoratorWrapper(childOptions.blockDecorator, i),
10047
9941
  }, {
@@ -10052,51 +9946,15 @@
10052
9946
  ...props,
10053
9947
  render: (renderProps) => productBlockDecorator(idx)({ ...props, ...renderProps }, i),
10054
9948
  }, `wrap_${i}`) ?? productBlockDecorator(idx)(props, i);
9949
+ const visibilityByIdx = (i) => (Number(i) < 5 ? '' : 'hidden');
10055
9950
  const productBlockDecorator = (idx) => ({ blockClassName, block, render }, i) => {
10056
9951
  const modifiedBlock = modifyBlock(block, idx);
10057
- return (jsx(LinkWrapper, { ...modifiedBlock.content?.link, className: getChildStyle(idx), children: render({
9952
+ return (jsx(LinkWrapper, { ...modifiedBlock.content?.link, className: style(visibilityByIdx(idx), getChildStyle(idx)), children: render({
10058
9953
  blockClassName: style(blockClassName, 'h-full'),
10059
9954
  block: modifiedBlock,
10060
9955
  }) }, String(i)));
10061
- };
10062
- const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
10063
- ? 'lg:col-span-1 lg:row-span-1'
10064
- : 'lg:col-span-2 lg:row-span-2';
10065
- const modifyBlock = (block, i) => {
10066
- const content = { ...block.content };
10067
- const isSmallTile = SHORT_TILE_INDEXES.includes(i);
10068
- if (isSmallTile) {
10069
- delete content.description;
10070
- delete content.benefits;
10071
- if (content.link?.href) {
10072
- delete content.buttons;
10073
- }
10074
- content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
10075
- }
10076
- else {
10077
- if ((content.buttons ?? []).length) {
10078
- delete content.link;
10079
- }
10080
- }
10081
- return { ...block, content };
10082
9956
  };
10083
9957
 
10084
- const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-m', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true }), calendar ? renderCalendar(calendar) : null] })));
10085
- const renderCalendar = (calendar) => {
10086
- const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
10087
- const colSize = 100 / colCount;
10088
- const mappedCalendar = calendar
10089
- .filter((_) => _?.month?.length)
10090
- .map((_) => ({
10091
- ..._,
10092
- // Condition lower is always true, TS does not understand this, notice filter above
10093
- flexBasis: `${_?.month?.length ? _.month.length * colSize : ''}%`,
10094
- }));
10095
- return (jsxs("div", { className: "w-full flex flex-col justify-center gap-s", children: [jsx("div", { className: "flex w-full text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex gap-s w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "border-r border-main-divider last:border-r-0 space-y-s", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex gap-s", children: renderMonthImages(_) }), jsxs("div", { className: "text-s", children: [jsx(Text, { size: "text-s", font: "font-light", color: "text-primary-text", children: _.text }), "\u2009", jsx(Text, { size: "text-s", font: "font-light", color: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
10096
- };
10097
- const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
10098
- const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-52 border-r pr-s border-main-divider last:border-r-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
10099
-
10100
9958
  const GrantSupport = UniBlock(({ className, title, button, regionSource, data, ...rest }) => {
10101
9959
  const [region, setRegion] = useState({ key: '' });
10102
9960
  const regions = regionSource?.regions ?? [];
@@ -10180,65 +10038,18 @@
10180
10038
  });
10181
10039
  const getDataTestIdAttribute = (dataTestId) => dataTestId ? { 'data-test-id': dataTestId } : null;
10182
10040
 
10183
- const CHAT_NAMESPACE = 'chatbot';
10184
- const CHAT_BUTTON_EXTERNAL_NAME = 'text-page__btn-chat';
10185
- const CHAT_FRAME_ID = 'webchat-js-container:webchat_rshb';
10186
- const CHAT_STORAGE_NAME = 'webchat-keep-open';
10187
- const BUSINESS_CHAT_PREFIX = '/webchat-api';
10188
- const BUSINESS_CHAT_CLASSNAME = '@container fixed right-0 bottom-0 top-0 h-full w-full z-[100] @3xl:w-auto h-fit';
10189
- const CHATBOT_URL = {
10190
- personal: '//chat.mes.rshb.ru/assets/js/webchat_rshb',
10191
- business: '/webchat',
10192
- };
10193
- const useChatBot = (chat) => {
10194
- const [isLoading, setIsLoading] = useState(false);
10195
- useEffect(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
10196
- const chatUrl = CHATBOT_URL[chat ?? ''];
10197
- const load = useCallback((ev) => {
10198
- if (!chatUrl) {
10199
- return;
10200
- }
10201
- setIsLoading(true);
10202
- if (chat === 'business') {
10203
- renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
10204
- }
10205
- else {
10206
- renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
10041
+ const CHAT_BOT_ASPECT_NAME = 'openChatBot';
10042
+ const HeaderChatBotButton = JSX(({ iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large' }) => {
10043
+ const [isLoading, { setTrue: startLoad, setFalse: endLoad }] = useBool(false);
10044
+ const aspects = useAspects();
10045
+ const handleClick = useCallback((ev) => {
10046
+ const openChatBot = aspects[CHAT_BOT_ASPECT_NAME];
10047
+ if (openChatBot) {
10048
+ startLoad();
10049
+ openChatBot(ev).finally(endLoad);
10207
10050
  }
10208
- }, [chatUrl, chat]);
10209
- return { load, isLoading };
10210
- };
10211
- const renderPersonalChatBot = async (ev, chatUrl) => {
10212
- const target = ev.target;
10213
- if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
10214
- target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
10215
- }
10216
- const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
10217
- if (!chatFrame) {
10218
- await initializeExternalNS(CHAT_NAMESPACE, chatUrl);
10219
- }
10220
- };
10221
- const renderBusinessChatBot = async (chatUrl) => {
10222
- const businessChat = (await initializeExternalNS(CHAT_NAMESPACE, `${chatUrl}/bundle.js`, true));
10223
- initializeExternalStylesheet(`${chatUrl}/bundle.css`);
10224
- const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
10225
- if (chatFrame) {
10226
- businessChat?.chatOpen?.();
10227
- }
10228
- else {
10229
- createChatFrame();
10230
- businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
10231
- }
10232
- };
10233
- const createChatFrame = () => {
10234
- const chatFrame = globalThis.document.createElement('div');
10235
- chatFrame.id = CHAT_FRAME_ID;
10236
- globalThis.document.body.appendChild(chatFrame);
10237
- };
10238
-
10239
- const HeaderChatBotButton = JSX(({ chat = 'personal', iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large', }) => {
10240
- const { load, isLoading } = useChatBot(chat);
10241
- return (jsx(HeaderSecondaryMenuButton, { className: className, image: { icon: 'ChatBotIcon', iconVersion }, ariaLabel: ariaLabel, onClick: load, buttonSize: buttonSize, isGrayBg: true, version: version, isLoading: isLoading, dataTestId: "chat icon" }));
10051
+ }, []);
10052
+ return (jsx(HeaderSecondaryMenuButton, { className: className, image: { icon: 'ChatBotIcon', iconVersion }, ariaLabel: ariaLabel, onClick: handleClick, buttonSize: buttonSize, isGrayBg: true, version: version, isLoading: isLoading, disabled: isLoading, dataTestId: "chat icon" }));
10242
10053
  });
10243
10054
 
10244
10055
  const HeaderItem = JSX(({ className = '', active, dataItemName, children, data, ...rest }) => {
@@ -10283,11 +10094,28 @@
10283
10094
  ? handleIntersectionActivation$1(index)
10284
10095
  : handleIntersectionDeactivation$1(index));
10285
10096
  }), [subItems]);
10286
- return (jsxs("nav", { className: "mt-s flex gap-s items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-s mt-xs space-x-lg", role: "menu", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], data: _.dataHeader, ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { items: dropDownMenuItems, activeItem: activeSubItem, ariaLabel: dropdownMenuAriaLabel })) : null, projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { version: version, iconVersion: iconVersion, chat: projectSettings.CHAT_BOT, ariaLabel: chatBotAriaLabel })) : null, jsx(InternetBankButton, { version: version, ...internetBankButton })] }));
10097
+ return (jsxs("nav", { className: "mt-s flex gap-s items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-s mt-xs space-x-lg", role: "menu", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], data: _.dataHeader, ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { items: dropDownMenuItems, activeItem: activeSubItem, ariaLabel: dropdownMenuAriaLabel })) : null, projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { version: version, iconVersion: iconVersion, ariaLabel: chatBotAriaLabel })) : null, jsx(InternetBankButton, { version: version, ...internetBankButton })] }));
10287
10098
  });
10288
10099
  const handleIntersectionActivation$1 = (index) => (prev) => Math.max(prev, index + 1);
10289
10100
  const handleIntersectionDeactivation$1 = (index) => (prev) => Math.min(prev, index);
10290
10101
 
10102
+ const REGION_URL = `${API_BASE_URI$1}/region`;
10103
+ function useLocation(defaultLocation = 'Москва') {
10104
+ const locationStore = useLocalStore();
10105
+ return locationStore.location ?? { name: defaultLocation };
10106
+ }
10107
+ function useDefaultLocation(defaultLocation = 'Москва') {
10108
+ const locationStore = useLocalStore();
10109
+ const preselectLocation = useCallback(async () => {
10110
+ if (!locationStore.location) {
10111
+ const region = await fetchJSON(REGION_URL);
10112
+ locationStore.location = region ?? { name: defaultLocation };
10113
+ }
10114
+ }, [locationStore, defaultLocation]);
10115
+ useAsyncData(REGION_URL, preselectLocation);
10116
+ return locationStore;
10117
+ }
10118
+
10291
10119
  const groupBy = (list, keyGetter) => {
10292
10120
  const result = new Map();
10293
10121
  for (const item of list) {
@@ -10363,7 +10191,7 @@
10363
10191
  const locationDialog = useDialog(LocationDialog, rest);
10364
10192
  const openSearchDialog = useCallback(() => searchDialog.open({}), [searchDialog]);
10365
10193
  const openLocationDialog = useCallback(() => locationDialog.open({}), [locationDialog]);
10366
- return (jsxs("div", { className: style('flex items-center ml-5 md:max-w-[300px] xl:max-w-full gap-lg', className), role: "navigation", children: [currentLocation?.name && rest?.branches?.visible ? (jsx(ClientOnly, { children: jsx(TopItem, { className: "whitespace-nowrap text-ellipsis overflow-hidden", flat: true, href: "#", text: currentLocation?.name, data: getAspectsWithInclude(rest?.branches?.dataClick, currentLocation?.name ?? ''), onClick: openLocationDialog }) })) : null, rest?.officesAtms?.href ? (jsx(TopItem, { className: "whitespace-nowrap", flat: true, ...rest.officesAtms })) : null, jsx(HeaderSecondaryMenuButton, { image: { icon: 'LoupeIcon', iconVersion }, ariaLabel: rest?.search?.ariaLabel ?? 'Поиск', onClick: openSearchDialog, data: rest?.search?.data })] }));
10194
+ return (jsxs("div", { className: style('flex items-center ml-5 md:max-w-[300px] xl:max-w-full gap-lg', className), role: "navigation", children: [currentLocation?.name && rest?.branches?.visible ? (jsx(TopItem, { className: "whitespace-nowrap text-ellipsis overflow-hidden", flat: true, href: "#", text: currentLocation?.name, data: getAspectsWithInclude(rest?.branches?.dataClick, currentLocation?.name ?? ''), onClick: openLocationDialog })) : null, rest?.officesAtms?.href ? (jsx(TopItem, { className: "whitespace-nowrap", flat: true, ...rest.officesAtms })) : null, jsx(HeaderSecondaryMenuButton, { image: { icon: 'LoupeIcon', iconVersion }, ariaLabel: rest?.search?.ariaLabel ?? 'Поиск', onClick: openSearchDialog, data: rest?.search?.data })] }));
10367
10195
  });
10368
10196
 
10369
10197
  const HeaderTopMenuItem = JSX(({ observerOptions, onVisibilityChange, children, className, ...rest }) => {
@@ -10391,7 +10219,7 @@
10391
10219
  }), [navigationItems]);
10392
10220
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10393
10221
  const { dataFooter, dataHeader, ...logoProps } = logo ?? {};
10394
- return (jsxs("div", { className: "flex items-center justify-between", children: [jsx(Logo, { className: "mr-3xl", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }), jsx("div", { ref: topItemsListRef, className: "overflow-hidden min-w-[160px] pb-xs mt-xs", role: "menu", children: navigationItems.map((_, i) => (jsx(HeaderTopMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeTopItem, observerOptions: observerOptions, onVisibilityChange: topItemsVisibilityHandlers[i], data: _.dataHeader, ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "mx-xs", items: dropDownMenuItems, activeItem: activeTopItem, ariaLabel: dropdownMenuAriaLabel })) : null, jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", search: search, navigationItems: navigationItems, ...headerData })] }));
10222
+ return (jsxs("div", { className: "flex items-center justify-between", children: [jsx(Logo, { className: "mr-3xl", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }), jsx("div", { ref: topItemsListRef, className: "overflow-hidden min-w-40 pb-xs mt-xs", role: "menu", children: navigationItems.map((_, i) => (jsx(HeaderTopMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeTopItem, observerOptions: observerOptions, onVisibilityChange: topItemsVisibilityHandlers[i], data: _.dataHeader, ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "mx-xs", items: dropDownMenuItems, activeItem: activeTopItem, ariaLabel: dropdownMenuAriaLabel })) : null, jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", search: search, navigationItems: navigationItems, ...headerData })] }));
10395
10223
  });
10396
10224
  const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
10397
10225
  const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
@@ -10430,370 +10258,88 @@
10430
10258
  const ImgBlock = JSX((props) => {
10431
10259
  const { className, align, image, ...rest } = props;
10432
10260
  const alignStyle = align ? style('flex', AlignJustifyStyle[align]) : '';
10433
- return (jsx(BlockWrapper, { className: style(alignStyle, className), defaultPadding: "p-0", ...rest, children: jsx(Img, { image: image }) }));
10434
- });
10435
-
10436
- const useCarouselControls = (props, initialIndex = 0) => {
10437
- const { itemCount, visibleItemCount } = props;
10438
- const [activeIndex, setActiveIndex] = useState(initialIndex);
10439
- const inc = useCallback(() => setActiveIndex((_) => Math.min(_ + 1, itemCount - 1)), [itemCount]);
10440
- const dec = useCallback(() => setActiveIndex((_) => Math.max(_ - 1, 0)), [itemCount]);
10441
- const canInc = visibleItemCount
10442
- ? itemCount > visibleItemCount && activeIndex < itemCount - visibleItemCount
10443
- : activeIndex < itemCount - 1;
10444
- const canDec = activeIndex > 0;
10445
- const isScrollAvailable = canDec || canInc;
10446
- return [
10447
- activeIndex,
10448
- {
10449
- inc,
10450
- dec,
10451
- canInc,
10452
- canDec,
10453
- isScrollAvailable,
10454
- },
10455
- ];
10456
- };
10457
-
10458
- /** @deprecated */
10459
- const renderArrows = ({ className, btnClass, canDec, canInc, dec, inc, }) => canDec || canInc ? (jsxs("div", { children: [canDec ? (jsx(ArrowLeftButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[0], className), onClick: dec })) : null, canInc ? (jsx(ArrowRightButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[1], className), onClick: inc })) : null] })) : null;
10460
-
10461
- const InsuranceAmountBlockInner = JSX(({ className = '', cards = [], button }) => {
10462
- const [selectedCardIndex, setSelectedCardIndex] = useState(0);
10463
- const handleSelectedCardIndex = useCallback((_) => setSelectedCardIndex(_), []);
10464
- const galleryLength = cards.length;
10465
- const CARD_VIEW_COUNT = 2;
10466
- const [activeIndex, controls] = useCarouselControls({
10467
- itemCount: galleryLength,
10468
- visibleItemCount: CARD_VIEW_COUNT,
10469
- });
10470
- const { canDec, canInc } = controls;
10471
- const activeHref = cards[activeIndex]?.href;
10472
- return (jsxs("section", { role: "listitem", className: `min-w-full text-center ${className}`, children: [jsxs("div", { className: "relative overflow-hidden", "aria-label": "\u0421\u0442\u0440\u0430\u0445\u043E\u0432\u044B\u0435 \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B", children: [galleryLength
10473
- ? renderGallery({
10474
- activeIndex,
10475
- cards,
10476
- selectedCardIndex,
10477
- onClick: handleSelectedCardIndex,
10478
- })
10479
- : null, renderArrows({
10480
- ...controls,
10481
- btnClass: ['left-12', 'right-12'],
10482
- className: 'top-16',
10483
- }), canDec ? (jsx("div", { className: "absolute top-0 left-0 h-full w-32 bg-opacity-from-white" })) : null, canInc ? (jsx("div", { className: "absolute top-0 right-0 h-full w-32 bg-opacity-to-white" })) : null] }), jsx(LinkButton, { className: "w-60 text-center", version: "primary", ...button, href: activeHref })] }));
10484
- });
10485
- function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }) {
10486
- const tabsShiftWidth = activeIndex * 460;
10487
- const cardsAlignStyle = cards.length > 2 ? 'justify-start' : 'justify-center';
10488
- return (jsx("div", { style: { transform: `translateX(-${tabsShiftWidth}px)` }, className: "duration-1000 px-6xl", children: jsx("div", { className: `w-full flex flex-nowrap gap-s pb-6xl ${cardsAlignStyle}`, children: cards.map((slide, i) => renderNavButton$2({
10489
- slide,
10490
- i,
10491
- isActive: Boolean(i === selectedCardIndex),
10492
- onClick: () => onClick(i),
10493
- })) }) }));
10494
- }
10495
- function renderNavButton$2({ slide, i, isActive, onClick }) {
10496
- const btnClassName = isActive
10497
- ? 'shadow-dark-blue border-primary-main'
10498
- : `ease-in duration-300 border-gray`;
10499
- return (jsxs("button", { type: "button", onClick: onClick, className: `p-3xl min-w-fit flex items-center gap-2xl bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(Img, { className: "p-lg rounded-full bg-secondary-light", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-s", children: [slide?.sum ? renderValueBlock('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
10500
- }
10501
- function renderValueBlock(title, sum) {
10502
- return (jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [jsxs(Text, { size: "text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] }), jsx("div", { className: "mt-2xs", children: jsx(Text, { size: "text-l", color: "text-secondary-text", children: title }) })] }));
10503
- }
10504
- function renderDoneIcon(isActive) {
10505
- return isActive ? (jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: { icon: 'DoneIcon' }, width: "24", height: "24" })) : null;
10506
- }
10507
-
10508
- const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
10509
- const [activeSlideIndex, setActiveSlideIndex] = useState(0);
10510
- const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
10511
- return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden relative px-0 space-y-2xl', className), defaultPadding: "p-6xl", ...rest, children: [title ? jsx(Heading, { className: "text-center", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-xs bg-secondary-light w-fit mx-auto rounded-md", children: insuranceTabs.map((item, i) => renderNavButton$1({
10512
- title: item?.title,
10513
- i,
10514
- isActive: Boolean(i === activeSlideIndex),
10515
- onClick: () => handleActiveSlideIndex(i),
10516
- })) })) : null, jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: renderInsuranceGalleries({
10517
- insuranceTabs,
10518
- button,
10519
- }) })] }));
10520
- });
10521
- const renderInsuranceGalleries = ({ insuranceTabs, button }) => {
10522
- const insuranceGalleries = insuranceTabs?.map((_) => _.cards);
10523
- return insuranceGalleries?.length
10524
- ? insuranceGalleries.map((cards, i) => (jsx(InsuranceAmountBlockInner, { button: button, cards: cards }, String(i))))
10525
- : null;
10526
- };
10527
- function renderNavButton$1({ title, i, isActive, onClick }) {
10528
- const btnClassName = isActive ? 'bg-primary-main text-white rounded-md' : `text-secondary-text`;
10529
- return (jsx("button", { type: "button", onClick: onClick, "aria-label": `Кнопка ${title}`, className: `box-border px-m py-s text-m font-light ${btnClassName}`, children: title }, String(i)));
10530
- }
10531
-
10532
- const investmentCellColorMap = {
10533
- yellow: 'bg-yellow',
10534
- green: 'bg-green',
10535
- 'green-light': 'bg-green-light',
10536
- 'green-dark': 'bg-green-dark',
10537
- };
10538
- const investmentCellSizeMap = {
10539
- XS: 'h-10',
10540
- S: 'h-16',
10541
- M: 'h-24',
10542
- L: 'h-32',
10543
- XL: 'h-52',
10544
- };
10545
- const InvestmentInfo = JSX((props) => {
10546
- const { className = '', __html, isDotted, investmentZeroColumn, investmentColumns, ...rest } = props;
10547
- const columns = investmentColumns ? [...investmentColumns] : [];
10548
- if (investmentZeroColumn) {
10549
- columns.unshift(investmentZeroColumn);
10550
- }
10551
- return (jsx(BlockWrapper, { className: className, defaultPadding: "p-4xl", ...rest, children: jsxs("div", { className: "container text-m font-light space-y-4xl", children: [columns?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-3xl pr-lg text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(columns.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-3xl w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-xs mx-3xl" }), jsx("div", { className: "flex justify-between text-primary-text mt-s -mx-5xl", children: columns.map(renderInvestmentColumnTitle) })] })) : null, __html ? (jsx("div", { className: "max-w-2xl font-light text-base", children: jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-s" }) })) : null] }) }));
10552
- });
10553
- const renderInvestmentColumn = (column, i, arr) => {
10554
- const isSecondColumn = i === 1;
10555
- const isLastColumn = i === arr.length - 1;
10556
- const reversedCells = column.cells?.reverse() || [];
10557
- return (jsx("div", { className: `${getColumnClasses(isSecondColumn, isLastColumn, column.cells)}`, children: reversedCells.length ? (jsx("div", { className: `w-full ${isLastColumn ? 'border-4 border-green-more-dark p-1.5 min-w-72' : ''}`, children: reversedCells.map(renderInvestmentCell) })) : null }, `column_${i}`));
10558
- };
10559
- const getColumnClasses = (isSecondColumn, isLastColumn, cells = []) => [
10560
- cells.length ? 'flex-1' : 'flex-0',
10561
- cells.length && !isSecondColumn && !isLastColumn ? 'pl-s' : '',
10562
- cells.length && !isLastColumn ? 'pr-s pb-3xl' : 'pb-xl',
10563
- ].join(' ');
10564
- const renderInvestmentCell = (cell, i) => {
10565
- const cellSize = cell.cellSize || 'XS';
10566
- const cellColor = cell.cellColor || 'green';
10567
- return cell.text ? (jsx("div", { className: `flex-1 flex items-center justify-center relative py-xs ${investmentCellSizeMap[cellSize]} ${investmentCellColorMap[cellColor]} ${cellSize === 'XS' ? 'px-s' : 'px-5xl'}`, children: jsx(Text, { align: "text-center", children: cell.text }) }, `cell_${i}`)) : null;
10568
- };
10569
- const renderInvestmentColumnTitle = (column, i) => column?.title ? (jsx("div", { className: "flex-1 max-w-44 text-center px-xs last:pr-4xl last:max-w-52", children: column.title }, `title_${i}`)) : null;
10570
-
10571
- const KILO = 1024;
10572
- const KILO_SIZES = ['байт', 'Кб', 'Мб', 'Гб', 'Тб', 'Пб'];
10573
- const formatBytes = (bytes, decimals = 2) => {
10574
- if (bytes === 0) {
10575
- return '';
10576
- }
10577
- const i = Math.floor(Math.log(bytes) / Math.log(KILO));
10578
- return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
10579
- };
10580
-
10581
- const LinkDocItem = JSX(({ icon, text, href, target, fileFormat, data, fileSize }) => {
10582
- const prefix = fileSize && fileFormat ? ',' : '';
10583
- const size = fileSize ?? '';
10584
- const format = fileFormat ? String(fileFormat) : '';
10585
- return (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", href: href, target: target, ...getAspectsAttributes(data), children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, " ", addSpace(size, format), jsx(Text, { color: "text-secondary-text", children: href && `${size + prefix + format}` })] })) : null] }));
10586
- });
10587
- const addSpace = (size, format) => (size || format ? jsx("span", { children: ",\u00A0" }) : '');
10588
-
10589
- const linkIconStyle = 'min-w-6 min-h-6';
10590
-
10591
- const renderDefaultItem = (router, icon) => (docBlockDef, i) => {
10592
- const href = adjustHref(router)(docBlockDef?.docType === 'Attachment' ? docBlockDef?.attachment?.src : docBlockDef?.href);
10593
- const fileSize = docBlockDef?.docType === 'Attachment'
10594
- ? formatBytes(docBlockDef?.attachment?.fileSize || 0)
10595
- : docBlockDef?.fileSize;
10596
- const fileFormat = docBlockDef?.docType === 'Attachment' ? getExtFromHref(href) : docBlockDef?.fileFormat;
10597
- return (jsxs("div", { role: "listitem", children: [jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileFormat: fileFormat, fileSize: fileSize, icon: renderImg(icon), data: docBlockDef?.data }), jsx(RichText, { __html: docBlockDef?.__html })] }, String(i)));
10598
- };
10599
- const renderImg = (icon) => icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null;
10600
- const getExtFromHref = (href) => {
10601
- if (!href) {
10602
- return '';
10603
- }
10604
- const index = href.lastIndexOf('.');
10605
- const regexp = new RegExp(/\/(.*)/);
10606
- const docFormat = index !== -1 ? href.substring(index + 1) : '';
10607
- return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
10608
- };
10609
-
10610
- const ReportDialog = JSX(({ href, __html, target, onClose }) => (jsxs(Dialog, { className: "my-6xl min-h-fit w-fit mx-auto", onClose: onClose, children: [__html ? jsx(RichText, { __html: __html }) : null, jsxs("div", { className: "flex flex-row mx-auto w-fit gap-lg py-lg", children: [jsx(Link, { href: href, target: target, version: "primary", ariaLabel: "\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435", onClick: onClose, children: "\u042F \u0441\u043E\u0433\u043B\u0430\u0441\u0435\u043D" }), jsx(Button, { type: "button", version: "secondary", onClick: onClose, children: "\u042F \u043D\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0435\u043D" })] }), jsx("div", { children: "\u041D\u0430\u0436\u0438\u043C\u0430\u044F \u043A\u043D\u043E\u043F\u043A\u0443 \u00AB\u042F \u0421\u041E\u0413\u041B\u0410\u0421\u0415\u041D\u00BB \u043D\u0438\u0436\u0435 \u0412\u044B \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0443\u0441\u043B\u043E\u0432\u0438\u044F. \u0420\u0430\u0441\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u0440\u0430\u0441\u043A\u0440\u044B\u0442\u0438\u0435 \u043B\u044E\u0431\u043E\u0439 \u0447\u0430\u0441\u0442\u0438 \u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0417\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438, \u0438\u043B\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \u0432 \u043D\u0435\u043C \u0437\u0430\u043F\u0440\u0435\u0449\u0435\u043D\u043E.\u00BB" })] })));
10611
-
10612
- const ReportDialogButton = JSX(({ text, href, target, __html, icon }) => {
10613
- const { open } = useDialog(ReportDialog);
10614
- const openReportDialog = useCallback(() => open({ __html, href, target }), [__html, href, target]);
10615
- return text ? (jsxs("button", { className: "flex gap-s text-primary-text no-underline hover:text-primary-main", onClick: openReportDialog, children: [renderImg(icon), jsx(Text, { font: "font-light", children: text })] })) : null;
10616
- });
10617
-
10618
- const linkColumnsModeStyleMap = {
10619
- double: 'sm:flex-wrap sm:flex-row',
10620
- single: 'sm:flex-col',
10621
- };
10622
- const LinkDocs = UniBlock(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
10623
- const router = useRouter();
10624
- return (jsxs(BlockWrapper, { className: style('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? (jsx("div", { className: style('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, icon)) })) : null] }));
10625
- });
10626
- const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
10627
- const docType = docBlockDef?.docType;
10628
- if (docType === '') {
10629
- return null;
10630
- }
10631
- if ('reportSource' in docBlockDef && docBlockDef?.reportSource?.__html) {
10632
- return renderModalItem(icon)(docBlockDef, i);
10633
- }
10634
- return renderDefaultItem(router, icon)(docBlockDef, i);
10635
- };
10636
- const renderModalItem = (icon) => (props, i) => {
10637
- const commonProps = {
10638
- text: props.text,
10639
- target: props.target,
10640
- __html: props.reportSource?.__html,
10641
- };
10642
- return props.reportSource?.__html && props.text ? (jsxs("div", { role: "listitem", children: [jsx(ReportDialogButton, { ...commonProps, icon: icon, href: isLinkDoc(props) ? props?.href : props?.attachment?.src }), jsx(RichText, { __html: props?.__html })] }, String(i))) : null;
10643
- };
10644
- const isLinkDoc = (data) => 'href' in data;
10645
-
10646
- const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, __html, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
10647
- const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
10648
- const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
10649
- return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [__html ? jsx(RichText, { __html: __html, itemSize: "list-m" }) : null, jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
10650
- });
10651
-
10652
- const getVersion = (isPrimary, type) => isPrimary && type !== 'underlined' ? 'primary' : 'secondary';
10653
-
10654
- const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) => targetMatchPattern(filter, content)).length;
10655
-
10656
- const scalarCmp = (a, b) => a === b;
10657
- const arrCmp = (cmp = scalarCmp) => (a, b) => a === b || Boolean(a && b && a.length === b.length && a.every((_, i) => cmp(_, b[i])));
10658
- const objCmp = (cmp) => (a, b) => a === b ||
10659
- Boolean(a &&
10660
- b &&
10661
- Object.keys(a).length === Object.keys(b).length &&
10662
- Object.entries(a).every(([key, value]) => cmp(value, b[key])));
10663
- function combineBoolCmps(...comparators) {
10664
- return (a, b) => comparators.some((cmp) => cmp(a, b));
10665
- }
10666
-
10667
- const hotFilterRecordCmp = objCmp(combineBoolCmps(scalarCmp, arrCmp()));
10668
-
10669
- const EMPTY_ARR = [];
10670
- const EMPTY_OBJ = {};
10671
- const useHotFilters = ({ hotFilters = EMPTY_ARR, filtrationState = EMPTY_OBJ, blocks = EMPTY_ARR, onFiltrationStateChange, }) => {
10672
- const activeItemIndex = useMemo(() => Math.max(0, hotFilters.findIndex((_) => hotFilterRecordCmp(_.filter, filtrationState))), [hotFilters, filtrationState]);
10673
- const items = useMemo(() => hotFilters.map((_) => ({
10674
- text: _.text,
10675
- count: getBadgeCount(blocks, _.filter),
10676
- version: getVersion(_ === hotFilters[activeItemIndex]),
10677
- })), [hotFilters, blocks, activeItemIndex]);
10678
- const handleChange = useCallback((_) => {
10679
- onFiltrationStateChange(hotFilters[items.indexOf(_)].filter);
10680
- }, [hotFilters, items]);
10681
- return {
10682
- activeItem: items[activeItemIndex],
10683
- items: items,
10684
- onChange: handleChange,
10685
- };
10686
- };
10687
-
10688
- const badgeBgStyleMap = {
10689
- primary: 'bg-white/30',
10690
- secondary: 'bg-main-divider',
10691
- };
10692
- const badgeTextColorStyleMap = {
10693
- primary: { desktop: 'text-white', mobile: 'text-primary-text' },
10694
- secondary: { desktop: 'text-secondary-text', mobile: 'text-secondary-text' },
10695
- };
10696
- const Badge = JSX(({ count, version = 'secondary' }) => {
10697
- const isMobileMode = useMobileMode();
10698
- const badgeBgStyle = isMobileMode ? 'bg-main-divider' : badgeBgStyleMap[version];
10699
- const textStyle = badgeTextColorStyleMap[version][isMobileMode ? 'mobile' : 'desktop'];
10700
- return (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyle), role: "status", "aria-label": `Количество ${count} доступных программ и сервисов`, children: jsx(Text, { size: "text-xs", color: textStyle, children: count }) }));
10701
- });
10702
-
10703
- const getButtonClassNames = (isActive) => ({
10704
- btn: `w-96 ${isActive ? 'p-m border-none bg-primary-main text-white' : 'p-s ease-in duration-300 bg-white'}`,
10705
- text: isActive ? 'mb-xs text-xl' : 'mb-2xs text-l text-primary-text',
10706
- desc: `font-light ${isActive ? 'text-l text-white' : 'text-m text-secondary-text'}`,
10707
- icon: isActive ? '' : 'text-primary-main',
10708
- iconVersion: (isActive ? 'white' : 'normal'),
10709
- oldText: 'text-m text-center',
10710
- oldDesc: 'text-m-light',
10711
- });
10712
- const renderTabItemInner = ({ text, description, icon, isActive, type, }) => {
10713
- const buttonClassNames = getButtonClassNames(isActive);
10714
- return (jsxs("div", { className: style('cursor-pointer text-left border-b-0 flex gap-2xs'), "aria-label": text, "aria-labelledby": `${text}-label`, children: [icon ? (jsx(Img, { className: style('h-6 w-6 min-w-6 min-h-6', buttonClassNames.icon), image: {
10715
- ...icon,
10716
- iconVersion: icon?.iconVersion ?? buttonClassNames.iconVersion,
10717
- }, width: "24", height: "24", alt: text })) : null, jsxs("div", { className: "border-0", children: [jsx("div", { className: type === 'animated' ? buttonClassNames.text : buttonClassNames.oldText, children: text }), jsx("div", { className: type === 'animated' ? buttonClassNames.desc : buttonClassNames.oldDesc, children: description })] })] }));
10718
- };
10719
-
10720
- const tabPaddingStyleMap = {
10721
- default: 'px-xs',
10722
- underlined: 'px-m',
10723
- animated: 'px-m border border-gray cursor-pointer text-left border-b-0 mt-auto flex gap-2xs',
10724
- };
10725
- const tabTextStyle = 'text-secondary-text hover:text-primary-main';
10726
- const activeTabTextStyleMap = {
10727
- default: 'text-black sm:text-white',
10728
- underlined: 'text-primary-main border-b-2',
10729
- animated: 'text-white sm:text-white',
10730
- };
10731
- const tabBgStyleMap = {
10732
- default: 'bg-white',
10733
- underlined: 'bg-white',
10734
- animated: 'p-1 ease-in duration-300 bg-white text-primary-text h-[70px] w-96',
10735
- };
10736
- const activeTabBgStyleMap = {
10737
- default: 'bg-white sm:bg-primary-main',
10738
- underlined: 'bg-white',
10739
- animated: 'p-2 border-none bg-primary-main text-white h-20 w-96',
10740
- };
10741
- const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
10742
- const Tag = tag;
10743
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
10744
- const { text, description, icon, count, tabName, ...link } = item;
10745
- return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), "aria-label": "\u0421\u043F\u0438\u0441\u043E\u043A \u0442\u0430\u0431\u043E\u0432", onClick: onClick, ...link, children: jsxs("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), role: "tab", "aria-label": `Таб ${text}`, children: [renderTabItemInner({
10746
- text,
10747
- description,
10748
- icon,
10749
- isActive,
10750
- type,
10751
- }), Number.isInteger(count) ? (jsx("div", { className: "ml-xs", role: "status", "aria-label": `Количество программ и сервисов ${count}`, children: jsx(Badge, { count: count, version: getVersion(isActive, type) }) })) : null] }) }));
10752
- });
10753
-
10754
- const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
10755
- const LinkTabItem = JSX((props) => {
10756
- const link = useLink();
10757
- const handleClick = useCallback(() => {
10758
- props.onClick && props.onClick(props.item || {});
10759
- }, [props.onClick, props.item]);
10760
- const { onClick, ...item } = link({ ...props.item, onClick: handleClick });
10761
- return jsx(TabItemInner, { ...props, tag: "a", item: item, onClick: onClick });
10762
- });
10763
- // TODO: Update handlerDecorator (support buttons?)
10764
- const ButtonTabItem = JSX(({ item = {}, onClick, ...rest }) => {
10765
- const handleClick = useCallback(() => {
10766
- onClick && onClick(item);
10767
- }, [onClick, item]);
10768
- return jsx(TabItemInner, { item: item, onClick: handleClick, ...rest });
10261
+ return (jsx(BlockWrapper, { className: style(alignStyle, className), defaultPadding: "p-0", ...rest, children: jsx(Img, { image: image }) }));
10769
10262
  });
10770
10263
 
10771
- const renderTab = (activeTab, onClick, type) => (tab, i) => (jsx(TabItem, { isActive: tab === activeTab, onClick: onClick, type: type, item: tab }, String(i)));
10264
+ const KILO = 1024;
10265
+ const KILO_SIZES = ['байт', 'Кб', 'Мб', 'Гб', 'Тб', 'Пб'];
10266
+ const formatBytes = (bytes, decimals = 2) => {
10267
+ if (bytes === 0) {
10268
+ return '';
10269
+ }
10270
+ const i = Math.floor(Math.log(bytes) / Math.log(KILO));
10271
+ return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
10272
+ };
10273
+
10274
+ const LinkDocItem = JSX(({ icon, text, href, target, fileFormat, data, fileSize }) => {
10275
+ const prefix = fileSize && fileFormat ? ',' : '';
10276
+ const size = fileSize ?? '';
10277
+ const format = fileFormat ? String(fileFormat) : '';
10278
+ 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] }));
10279
+ });
10280
+ const addSpace = (size, format) => (size || format ? jsx("span", { children: ",\u00A0" }) : '');
10772
10281
 
10773
- 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)) })));
10282
+ const linkIconStyle = 'min-w-6 min-h-6';
10774
10283
 
10775
- const initialFiltrationState = {
10776
- categories: [],
10777
- extraOptions: [],
10778
- propertyType: [],
10779
- stage: [],
10284
+ const renderDefaultItem = (router, icon) => (docBlockDef, i) => {
10285
+ const href = adjustHref(router)(docBlockDef?.docType === 'Attachment' ? docBlockDef?.attachment?.src : docBlockDef?.href);
10286
+ const fileSize = docBlockDef?.docType === 'Attachment'
10287
+ ? formatBytes(docBlockDef?.attachment?.fileSize || 0)
10288
+ : docBlockDef?.fileSize;
10289
+ const fileFormat = docBlockDef?.docType === 'Attachment' ? getExtFromHref(href) : docBlockDef?.fileFormat;
10290
+ return (jsxs("div", { role: "listitem", children: [jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileFormat: fileFormat, fileSize: fileSize, icon: renderImg(icon), data: docBlockDef?.data }), jsx(RichText, { __html: docBlockDef?.__html })] }, String(i)));
10780
10291
  };
10781
- const MortgageFiltration = UniBlock(({ className, hotFilters, filtrationSchema = {}, resetButton, ...rest }) => {
10782
- const [filtrationState, { blocksToRender }, { field, reset, update: replaceFiltrationState }] = useFiltrationForm(initialFiltrationState, {
10783
- block: rest.block,
10784
- page: rest.options?.page,
10785
- });
10786
- const handleFiltrationStateChange = useCallback((_ = initialFiltrationState) => replaceFiltrationState(_), []);
10787
- const tabsControlProps = useHotFilters({
10788
- hotFilters,
10789
- filtrationState,
10790
- blocks: rest.block?.blocks,
10791
- onFiltrationStateChange: handleFiltrationStateChange,
10792
- });
10793
- 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 })] }));
10794
- }, {
10795
- childrenTypes: ['ProductBlock'],
10796
- childSchema: (content) => content?.filtrationSchema || {},
10292
+ const renderImg = (icon) => icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null;
10293
+ const getExtFromHref = (href) => {
10294
+ if (!href) {
10295
+ return '';
10296
+ }
10297
+ const index = href.lastIndexOf('.');
10298
+ const regexp = new RegExp(/\/(.*)/);
10299
+ const docFormat = index !== -1 ? href.substring(index + 1) : '';
10300
+ return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
10301
+ };
10302
+
10303
+ 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" })] })));
10304
+
10305
+ const ReportDialogButton = JSX(({ text, href, target, __html, icon }) => {
10306
+ const { open } = useDialog(ReportDialog);
10307
+ const openReportDialog = useCallback(() => open({ __html, href, target }), [__html, href, target]);
10308
+ 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;
10309
+ });
10310
+
10311
+ const linkColumnsModeStyleMap = {
10312
+ double: 'sm:flex-wrap sm:flex-row',
10313
+ single: 'sm:flex-col',
10314
+ };
10315
+ const LinkDocs = UniBlock(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
10316
+ const router = useRouter();
10317
+ 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] }));
10318
+ });
10319
+ const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
10320
+ const docType = docBlockDef?.docType;
10321
+ if (docType === '') {
10322
+ return null;
10323
+ }
10324
+ if ('reportSource' in docBlockDef && docBlockDef?.reportSource?.__html) {
10325
+ return renderModalItem(icon)(docBlockDef, i);
10326
+ }
10327
+ return renderDefaultItem(router, icon)(docBlockDef, i);
10328
+ };
10329
+ const renderModalItem = (icon) => (props, i) => {
10330
+ const commonProps = {
10331
+ text: props.text,
10332
+ target: props.target,
10333
+ __html: props.reportSource?.__html,
10334
+ };
10335
+ 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;
10336
+ };
10337
+ const isLinkDoc = (data) => 'href' in data;
10338
+
10339
+ const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, __html, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
10340
+ const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
10341
+ const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
10342
+ return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [__html ? jsx(RichText, { __html: __html, itemSize: "list-m" }) : null, jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
10797
10343
  });
10798
10344
 
10799
10345
  const COMMON_FILTERS_STYLES = 'flex flex-col sm:flex-row sm:flex-wrap gap-3xl pb-2xl';
@@ -10807,6 +10353,8 @@
10807
10353
  return (jsx("div", { children: filters?.length ? (jsx("div", { children: jsxs(Foldable, { children: [jsxs("div", { children: [jsx("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }), jsx(FoldableSection, { className: COMMON_FILTERS_STYLES, isUnfolded: isUnfolded, children: hiddenFilters })] }), jsxs("div", { className: "flex space-x-lg", children: [onlyOffice ? (jsx(DefaultFoldButton, { label: isUnfolded ? 'Меньше фильтров' : 'Больше фильтров', isUnfolded: isUnfolded, embedded: true, short: true, onClick: toggle })) : null, jsxs(Button, { embedded: true, onClick: reset, children: [jsx(ButtonTitle, { children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440" }), jsx(Icon, { name: "CloseIcon", size: "small" })] })] })] }) })) : null }));
10808
10354
  });
10809
10355
 
10356
+ const getVersion = (isPrimary, type) => isPrimary && type !== 'underlined' ? 'primary' : 'secondary';
10357
+
10810
10358
  const renderButtonsGroup = (data, activeButton, onButtonClick) => {
10811
10359
  const allButtonVersion = getVersion(activeButton === 'all');
10812
10360
  const businessButtonVersion = getVersion(activeButton === 'business');
@@ -10821,7 +10369,7 @@
10821
10369
  return (jsxs("div", { className: "flex gap-lg flex-col sm:flex-row pb-lg", children: [jsx(Button, { "data-id": "all", onClick: (e) => handleClick(e, 'all', data), version: allButtonVersion, children: "\u0414\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" }), jsx(Button, { "data-id": "business", onClick: (e) => handleClick(e, 'business', data), version: businessButtonVersion, children: "\u0414\u043B\u044F \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" })] }));
10822
10370
  };
10823
10371
 
10824
- 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;
10372
+ const renderDescriptionBlock = ({ __html, list, richVersion }) => __html || list?.length ? (jsxs("div", { className: "mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (jsx("div", { className: "mb-2xl", children: jsx(RichText, { __html: __html, richVersion: richVersion }) })) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pb-2xl sm:pb-xl", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
10825
10373
 
10826
10374
  const renderHeading = (title, lengthItems) => (jsx("div", { className: "flex flex-col sm:flex-row gap-xs mb-2xl", children: jsxs(Heading, { headingType: "h3", children: [jsx("span", { suppressHydrationWarning: true, children: title }), lengthItems ? (jsx(Text, { size: "text-h2", color: "text-secondary-text", children: jsx("span", { suppressHydrationWarning: true, children: ` (${lengthItems})` }) })) : null] }) }));
10827
10375
 
@@ -10838,7 +10386,7 @@
10838
10386
  getBalloonRemoteWorkplaces,
10839
10387
  });
10840
10388
  const [activeButton, setActiveButton] = useState('all');
10841
- return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-3xl pb-0", children: [renderHeading(title, lengthItems), descriptionData ? renderDescriptionBlock$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)] })] }));
10389
+ return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-3xl pb-0", children: [renderHeading(title, lengthItems), descriptionData ? renderDescriptionBlock(descriptionData) : null, onlyOffice && renderButtonsGroup(data, activeButton, setActiveButton), jsx("div", { className: style('pb-3xl', filtersVisibleStyles(activeButton)), children: jsx(FiltrationForm, { filters: getFiltersWithNonEmptyData([...data, ...remoteWorkplaces]), field: { field, reset }, onlyOffice: onlyOffice, labels: FILTRATION_LABELS }) })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, isLoad: isLoad, className: "h-full" }) }) })] }), jsxs(ClientOnly, { children: [filteredItems.map(renderCard), filteredRemoteWorkplaces.map(renderRemoteWorkplaceCard)] })] }));
10842
10390
  });
10843
10391
  const getFiltersWithNonEmptyData = (data) => Object.keys(INITIAL_FILTRATION_STATE$1).filter((_) => data.filter((item) => FILTRATION_PREDICATES$1[_](item)).length);
10844
10392
 
@@ -10869,15 +10417,15 @@
10869
10417
  return { header, body };
10870
10418
  };
10871
10419
 
10872
- const EMPTY_VALUE$2 = [];
10420
+ const EMPTY_VALUE$1 = [];
10873
10421
  function useAtms(regionCode) {
10874
10422
  const { data, error } = useAsyncData(`${API_BASE_URI$1}/atms?regionCode=${regionCode}`, fetchMap$1);
10875
10423
  const isLoad = !data && !error;
10876
- return { data: data || EMPTY_VALUE$2, isLoad };
10424
+ return { data: data || EMPTY_VALUE$1, isLoad };
10877
10425
  }
10878
10426
  const fetchMap$1 = async (url) => {
10879
10427
  const result = await fetchJSON(url, { method: 'GET' });
10880
- return Array.isArray(result) ? result : EMPTY_VALUE$2;
10428
+ return Array.isArray(result) ? result : EMPTY_VALUE$1;
10881
10429
  };
10882
10430
 
10883
10431
  const INITIAL_FILTRATION_STATE = {
@@ -10930,17 +10478,17 @@
10930
10478
  return { header, body };
10931
10479
  };
10932
10480
 
10933
- const EMPTY_VALUE$1 = { branches: [], remoteWorkplaces: [] };
10481
+ const EMPTY_VALUE = { branches: [], remoteWorkplaces: [] };
10934
10482
  function useOffices(regionCode = '000') {
10935
10483
  const { data, error } = useAsyncData(`${API_BASE_URI$1}/branchesAndRemoteWorkplaces?regionCode=${encodeURIComponent(regionCode)}`, fetchMap);
10936
10484
  const isLoad = !data && !error;
10937
- return { data: data || EMPTY_VALUE$1, isLoad };
10485
+ return { data: data || EMPTY_VALUE, isLoad };
10938
10486
  }
10939
10487
  const fetchMap = async (url) => {
10940
10488
  const result = await fetchJSON(url, {
10941
10489
  method: 'GET',
10942
10490
  });
10943
- return result || EMPTY_VALUE$1;
10491
+ return result || EMPTY_VALUE;
10944
10492
  };
10945
10493
 
10946
10494
  const OfficesMap = JSX(({ className }) => {
@@ -10955,43 +10503,6 @@
10955
10503
  return (jsx(BlockWrapper, { version: "transparent", className: style(className), defaultPadding: "p-0", ...rest, children: dataType === 'offices' ? jsx(OfficesMap, {}) : jsx(AtmsMap, { descriptionData: data }) }));
10956
10504
  });
10957
10505
 
10958
- const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border', className), ...rest, children: [jsx(Headline, { className: "max-w-[600px]", title: title, description: description, headlineVersion: "L", align: "text-left", isEmbedded: true }), jsx(Shimmer, {})] })));
10959
-
10960
- const scrollButtonStyle$1 = 'hidden sm:flex absolute z-40 top-10';
10961
- const ProductGallery = UniBlock(({ className = '', padding, slides = [], ...rest }) => {
10962
- const [activeSlideIndex, setActiveSlideIndex] = useState(0);
10963
- const [containerRef, scroll] = useSwipeListScroll({
10964
- itemCount: slides?.length || 0,
10965
- });
10966
- return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden', className), defaultPadding: "pt-6xl", padding: padding, ...rest, children: [jsx("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => (jsx("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: jsx(BaseProductTile, { className: "pl-6xl h-full", headlineVersion: "M", isFullWidthTitle: false, ...productBlock, ...rest }) }, String(i)))) }), jsxs("div", { className: "relative pr-xs mt-m -mb-m flex gap-xs box-border", children: [jsx(SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, itemClassName: 'h-40 flex items-stretch w-screen', gap: 8, children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) }), scroll.canScrollLeft ? (jsx(ArrowLeftButton, { wcmsIgnore: true, className: style('left-6', scrollButtonStyle$1), onClick: scroll.scrollLeft })) : null, scroll.canScrollRight ? (jsx(ArrowRightButton, { wcmsIgnore: true, className: style('right-6', scrollButtonStyle$1), onClick: scroll.scrollRight })) : null] })] }));
10967
- });
10968
- const renderNavButton = ({ activeSlideIndex, onClick }) => ({ nav }, i) => {
10969
- const isActive = i === activeSlideIndex;
10970
- const btnClassName = isActive
10971
- ? 'min-w-[370px] mt-s h-28 bg-white shadow-dark-blue border-none p-6'
10972
- : 'min-w-72 mt-lg h-24 ease-in duration-300 bg-white/10 px-xl py-lg hover:backdrop-blur';
10973
- const btnTitleClassName = isActive
10974
- ? 'text-primary-text text-h6 py-xs'
10975
- : 'text-l pb-2xs text-secondary-text group-data-secondary:text-white';
10976
- const btnDescClassName = isActive
10977
- ? 'text-secondary-text text-l font-light'
10978
- : 'text-secondary-text text-m font-light group-data-secondary:text-white/80';
10979
- return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('relative overflow-hidden grow', 'ml-xs px-xl', 'box-border basis-0 border', 'border-gray group-data-secondary:border-white/50', 'text-left whitespace-nowrap', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
10980
- };
10981
-
10982
- const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, richVersion, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [isIcon(icon) ? (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: jsx(Img, { image: icon }) })) : null, title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock({ __html, richVersion }) : null, renderBlock({
10983
- label: 'Адрес',
10984
- data: address,
10985
- iconName: 'GeolocationIcon',
10986
- }), renderBlock({ label: 'Телефон(факс)', data: telephone, iconName: 'PhoneIcon' }), renderBlock({
10987
- label: 'E-mail',
10988
- data: email,
10989
- iconName: 'MailIcon',
10990
- dataColor: 'text-primary-main',
10991
- }), button?.text ? renderButtonsSection([button]) : null] })] })));
10992
- const renderDescriptionBlock = (props) => (jsx("div", { className: "border-b border-main-divider pb-lg", children: jsx(RichText, { ...props, itemSize: "list-s" }) }));
10993
- const renderBlock = ({ label, data, iconName, dataColor = '' }) => data ? (jsxs("div", { className: "flex gap-s", children: [jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col gap-2xs", children: [jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: label }), jsx(Text, { size: "text-xl", color: dataColor, children: data })] })] })) : null;
10994
-
10995
10506
  const RichTextBlock = JSX((props) => {
10996
10507
  const { __html, richVersion = '', ...rest } = props;
10997
10508
  return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
@@ -11013,133 +10524,6 @@
11013
10524
  return (jsx(BlockWrapper, { className: style('w-full border-0 border-b border-solid border-main-divider last:border-b-0', className), defaultPadding: "p-0", tag: "div", version: "transparent", role: role, ...rest, children: jsxs(Foldable, { children: [isFoldButtonOnTop ? foldButton : foldableSection, isFoldButtonOnTop ? foldableSection : foldButton] }) }));
11014
10525
  }, { childrenTypes: { exclude: ['RollupItem'] } });
11015
10526
 
11016
- const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex gap-s items-center relative cursor-pointer", children: [jsx("input", { className: style(inputValidStyle.split(' ').filter((_) => _ !== 'rounded'), defaultCheckStyle, 'flex justify-center items-center after:block after:w-2.5 after:h-2.5 after:rounded-full rounded-full', 'checked:border-2 checked:!border-primary-main focus:checked:border-primary-main checked:after:bg-primary-main'), type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange?.(_.target.value), role: "radio" }), text ? jsx(Text, { color: "text-primary-text", children: text }) : null] }) })));
11017
-
11018
- const RadioButtons = JSX(({ className = '' }) => {
11019
- const [selectedOption, setSelectedOption] = useState('option2');
11020
- const onChange = useCallback((_) => setSelectedOption(_), []);
11021
- return (jsxs("div", { className: style('order-4', className), role: "radiogroup", children: [jsx(Radio, { className: "mb-xs", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selectedOption === 'option1', onChange: onChange }), jsx(Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selectedOption === 'option2', onChange: onChange })] }));
11022
- });
11023
-
11024
- const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
11025
- const dataFormat = data
11026
- .filter(Boolean)
11027
- .map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
11028
- const selectedObj = dataFormat.find((_) => _.key === selected);
11029
- return (jsx(Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
11030
- });
11031
-
11032
- const RegionsAndBranches = JSX(({ regions = [], selectedRegion, onSelectedRegion: onSelectedRegion, branches = [], selectedBranch, onSelectedBranch, }) => (jsxs("div", { className: "flex flex-col @xl:flex-row gap-m order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: selectedRegion, setSelected: onSelectedRegion, label: "\u0420\u0435\u0433\u0438\u043E\u043D" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: selectedBranch, setSelected: onSelectedBranch, label: "\u041E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435" }) })] })));
11033
-
11034
- const ITEMS = ['От 1 дня', 'До 365 дней'];
11035
- const MIN = 1;
11036
- const MAX = 365;
11037
- const RentalPeriod = JSX(({ days, setDays }) => (jsxs("div", { className: "order-1", children: [jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A \u0430\u0440\u0435\u043D\u0434\u044B" }), jsx(InputRange, { min: MIN, max: MAX, value: days, items: ITEMS, onChange: setDays })] })));
11038
-
11039
- const SafeBoxCases = JSX(({ caseVolumes = [], selectedCaseVolume, onSelectedCaseVolume, safeBoxCases = [], selectedBoxSize, onSelectedBoxSize, }) => (jsxs("div", { className: "flex flex-col @xl:flex-row gap-m order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] })));
11040
-
11041
- const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onClick, }) => (jsxs("div", { className: "contents @xl:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents @md:flex justify-between items-center gap-m", children: [jsx(RadioButtons, {}), jsx(Button, { className: "order-6", version: "primary", onClick: onClick, children: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" })] })] })));
11042
- const onSelectedBranch = (onChange) => (value) => {
11043
- onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
11044
- };
11045
- const onSelectedCaseVolume = (onChange) => (value) => {
11046
- onChange({ selectedCaseVolume: value, selectedBoxSize: '' });
11047
- };
11048
-
11049
- const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
11050
- const price = calculatePrice(days, tariffs);
11051
- const imageDescription = 'На рисунке изображена пачка листов\nформата А4';
11052
- return (jsxs("div", { className: "contents @xl:flex flex-col justify-between gap-xl order-2", children: [jsxs("div", { className: "flex flex-col @xl:flex-row gap-x-6xl gap-y-2xl order-5 @xl:order-none py-2xl @xl:py-0 border-t border-main-divider @xl:border-none", children: [renderTotal('Аренда за', days), renderTotal('Цена', price + ' ₽')] }), jsx("div", { className: "@xl:hidden order-3 mb-xs", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: imageDescription }) }), jsxs("div", { className: "flex flex-col items-center gap-s order-3 @xl:order-none mb-xl @xl:mb-0 bg-primary-main py-s @xl:p-3xl text-center", children: [jsx(Icon, { className: "@xl:h-60", name: "PackA4Icon" }), jsx("div", { className: "hidden @xl:inline opacity-80 whitespace-pre-line", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-white", children: imageDescription }) })] })] }));
11053
- });
11054
- const renderTotal = (label, total) => (jsxs("div", { className: "flex justify-between items-center gap-y-xs @xl:flex-col @xl:items-start", children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: label }), jsx("span", { className: "text-l @xl:text-h3 text-primary-text", children: total })] }));
11055
- const calculatePrice = (days, tariffs) => {
11056
- const tariffType = getTariffType(days);
11057
- const tariffValue = tariffs?.find((_) => _.tariffType === String(tariffType))?.tariffValue || 0;
11058
- return days * tariffValue;
11059
- };
11060
- const getTariffType = (days) => {
11061
- let tariffType = 1;
11062
- switch (true) {
11063
- case days > 30 && days <= 90:
11064
- tariffType = 2;
11065
- break;
11066
- case days > 90 && days <= 180:
11067
- tariffType = 3;
11068
- break;
11069
- case days > 180 && days <= 365:
11070
- tariffType = 4;
11071
- break;
11072
- }
11073
- return tariffType;
11074
- };
11075
-
11076
- const getCoordinates = (data) => {
11077
- const getBalloon = () => void 0;
11078
- if (Array.isArray(data)) {
11079
- return data
11080
- .map((_) => ({
11081
- coords: [Number(_.gpsLatitude), Number(_.gpsLongitude)].filter(Boolean),
11082
- content: getBalloon(),
11083
- }))
11084
- .filter((_) => _.coords && _.coords.length === 2);
11085
- }
11086
- if (data?.gpsLatitude && data?.gpsLongitude) {
11087
- return [{ coords: [data.gpsLatitude, data.gpsLongitude] }];
11088
- }
11089
- return [];
11090
- };
11091
- const getBranch = (branches, selectedBranch) => branches.find((_) => _.branchCode === selectedBranch);
11092
-
11093
- const SafeDepositRentalForm = JSX((props) => {
11094
- const { regions, data, branches, onChange, onClick } = props;
11095
- useEffect(() => {
11096
- onChange({
11097
- selectedBranch: '',
11098
- selectedCaseVolume: '',
11099
- selectedBoxSize: '',
11100
- });
11101
- }, [data.selectedRegion, onChange]);
11102
- const branch = getBranch(branches, data.selectedBranch);
11103
- const caseVolumes = getCaseVolumes(branch?.safeBoxCaseVolumes);
11104
- const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes, data.selectedCaseVolume)?.safeBoxCases;
11105
- const tariffs = getTariffs(safeBoxCases, data.selectedBoxSize);
11106
- return (jsxs("div", { className: "flex flex-col @4xl:flex-row gap-4xl align-top", children: [jsx(SafeDepositRentalFields, { ...data, regions: regions, onClick: onClick, branches: branches, caseVolumes: caseVolumes, safeBoxCases: safeBoxCases, onChange: onChange }), jsx(SafeDepositRentalTotal, { days: data.days, tariffs: tariffs })] }));
11107
- });
11108
- const getCaseVolumes = (safeBoxCaseVolumes) => safeBoxCaseVolumes?.length ? safeBoxCaseVolumes?.filter((_) => _?.safeBoxCases?.length) : [];
11109
- const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
11110
- const getTariffs = (safeBoxCases, selectedBoxSize) => safeBoxCases?.find((_) => _.safeBoxCasesSize === selectedBoxSize)?.tariffs;
11111
-
11112
- const SAFEBOXES_URL = `${API_BASE_URI$1}/safeboxes`;
11113
- const EMPTY_VALUE = [];
11114
- function useSafeBoxes(regionCode) {
11115
- const { data } = useAsyncData(regionCode ? `${SAFEBOXES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
11116
- return data || EMPTY_VALUE;
11117
- }
11118
- const fetchSafeBoxes = async (url) => {
11119
- const result = await fetchJSON(url, { method: 'GET' });
11120
- return result || EMPTY_VALUE;
11121
- };
11122
-
11123
- const DEFAULT_DAYS = 26;
11124
- const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest }) => {
11125
- const [showMap, setShowMap] = useState(false);
11126
- const handleShowMap = useCallback(() => setShowMap((_) => !_), []);
11127
- const [safeDepositState, setStateDepositState] = useState({
11128
- selectedRegion: '',
11129
- selectedBranch: '',
11130
- selectedCaseVolume: '',
11131
- selectedBoxSize: '',
11132
- days: DEFAULT_DAYS,
11133
- });
11134
- const regions = useRegions();
11135
- const selectedRegion = normalizeSelectedRegion(safeDepositState.selectedRegion, regions);
11136
- const branches = useSafeBoxes(selectedRegion);
11137
- const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
11138
- const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
11139
- return (jsxs(BlockWrapper, { className: className, defaultPadding: "", ...rest, children: [jsxs("div", { className: "p-4xl space-y-xl", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-s text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? (jsx(Paragraph, { size: "text-s", font: "font-light", children: footnote })) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
11140
- });
11141
- const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
11142
-
11143
10527
  const getIconTextStyle = (version) => version === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
11144
10528
 
11145
10529
  const STEP_BREAKPOINT = 4;
@@ -11180,6 +10564,92 @@
11180
10564
  return href ? new URL(href).searchParams.get(params) : null;
11181
10565
  };
11182
10566
 
10567
+ const badgeBgStyleMap = {
10568
+ primary: 'bg-white/30',
10569
+ secondary: 'bg-main-divider',
10570
+ };
10571
+ const badgeTextColorStyleMap = {
10572
+ primary: { desktop: 'text-white', mobile: 'text-primary-text' },
10573
+ secondary: { desktop: 'text-secondary-text', mobile: 'text-secondary-text' },
10574
+ };
10575
+ const Badge = JSX(({ count, version = 'secondary' }) => {
10576
+ const isMobileMode = useMobileMode();
10577
+ const badgeBgStyle = isMobileMode ? 'bg-main-divider' : badgeBgStyleMap[version];
10578
+ const textStyle = badgeTextColorStyleMap[version][isMobileMode ? 'mobile' : 'desktop'];
10579
+ 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 }) }));
10580
+ });
10581
+
10582
+ const getButtonClassNames = (isActive) => ({
10583
+ btn: `w-96 ${isActive ? 'p-m border-none bg-primary-main text-white' : 'p-s ease-in duration-300 bg-white'}`,
10584
+ text: isActive ? 'mb-xs text-xl' : 'mb-2xs text-l text-primary-text',
10585
+ desc: `font-light ${isActive ? 'text-l text-white' : 'text-m text-secondary-text'}`,
10586
+ icon: isActive ? '' : 'text-primary-main',
10587
+ iconVersion: (isActive ? 'white' : 'normal'),
10588
+ oldText: 'text-m text-center',
10589
+ oldDesc: 'text-m-light',
10590
+ });
10591
+ const renderTabItemInner = ({ text, description, icon, isActive, type, }) => {
10592
+ const buttonClassNames = getButtonClassNames(isActive);
10593
+ 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: {
10594
+ ...icon,
10595
+ iconVersion: icon?.iconVersion ?? buttonClassNames.iconVersion,
10596
+ }, 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 })] })] }));
10597
+ };
10598
+
10599
+ const tabPaddingStyleMap = {
10600
+ default: 'px-xs',
10601
+ underlined: 'px-m',
10602
+ animated: 'px-m border border-gray cursor-pointer text-left border-b-0 mt-auto flex gap-2xs',
10603
+ };
10604
+ const tabTextStyle = 'text-secondary-text hover:text-primary-main';
10605
+ const activeTabTextStyleMap = {
10606
+ default: 'text-black sm:text-white',
10607
+ underlined: 'text-primary-main border-b-2',
10608
+ animated: 'text-white sm:text-white',
10609
+ };
10610
+ const tabBgStyleMap = {
10611
+ default: 'bg-white',
10612
+ underlined: 'bg-white',
10613
+ animated: 'p-1 ease-in duration-300 bg-white text-primary-text h-[70px] w-96',
10614
+ };
10615
+ const activeTabBgStyleMap = {
10616
+ default: 'bg-white sm:bg-primary-main',
10617
+ underlined: 'bg-white',
10618
+ animated: 'p-2 border-none bg-primary-main text-white h-20 w-96',
10619
+ };
10620
+ const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
10621
+ const Tag = tag;
10622
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
10623
+ const { text, description, icon, count, tabName, ...link } = item;
10624
+ 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({
10625
+ text,
10626
+ description,
10627
+ icon,
10628
+ isActive,
10629
+ type,
10630
+ }), Number.isInteger(count) ? (jsx("div", { className: "ml-xs", role: "status", "aria-label": `Количество программ и сервисов ${count}`, children: jsx(Badge, { count: count, version: getVersion(isActive, type) }) })) : null] }) }));
10631
+ });
10632
+
10633
+ const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
10634
+ const LinkTabItem = JSX((props) => {
10635
+ const link = useLink();
10636
+ const handleClick = useCallback(() => {
10637
+ props.onClick && props.onClick(props.item || {});
10638
+ }, [props.onClick, props.item]);
10639
+ const { onClick, ...item } = link({ ...props.item, onClick: handleClick });
10640
+ return jsx(TabItemInner, { ...props, tag: "a", item: item, onClick: onClick });
10641
+ });
10642
+ // TODO: Update handlerDecorator (support buttons?)
10643
+ const ButtonTabItem = JSX(({ item = {}, onClick, ...rest }) => {
10644
+ const handleClick = useCallback((e) => {
10645
+ e.target.scrollIntoView({ block: 'nearest' });
10646
+ onClick?.(item);
10647
+ }, [onClick, item]);
10648
+ return jsx(TabItemInner, { item: item, onClick: handleClick, ...rest });
10649
+ });
10650
+
10651
+ const renderTab = (activeTab, onClick, type) => (tab, i) => (jsx(TabItem, { isActive: tab === activeTab, onClick: onClick, type: type, item: tab }, String(i)));
10652
+
11183
10653
  const scrollButtonStyle = 'hidden sm:flex absolute z-40';
11184
10654
  const scrollStyle = {
11185
10655
  default: {
@@ -11299,74 +10769,61 @@
11299
10769
  ? Number(paramsId)
11300
10770
  : tabs.reduce((selectedIndex, tab, i) => (tab.selected ? i : selectedIndex), 0);
11301
10771
 
11302
- const dividerStyle = '@4xl:border-main-divider @4xl:border-b';
11303
- const firstCellStyle = 'w-80 flex-shrink-0';
11304
- const COLS_LENGTH_FOR_SCROLL = 2;
11305
- const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
10772
+ const FIRST_CELL_STYLES = 'w-80 flex-shrink-0 sticky left-0 bg-white';
10773
+ const renderHeader = ({ title, icon }) => (jsxs("div", { className: style('flex gap-m items-center', FIRST_CELL_STYLES), role: "cell", children: [icon ? (jsx(Img, { className: "hidden lg:block max-w-6 shrink-0", image: icon, width: "24", height: "24" })) : null, title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null] }));
11306
10774
 
11307
10775
  const carouselContainerClassesMap = {
11308
10776
  comparison: 'flex gap-m duration-1000',
11309
10777
  tariff: 'flex gap-5xl flex-grow duration-1000',
11310
10778
  };
11311
- 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 }) })));
10779
+ const TableCarouselContainer = JSX(({ children, version = 'comparison' }) => (jsx("div", { className: "flex flex-1", children: jsx("div", { className: carouselContainerClassesMap[version], children: children }) })));
11312
10780
 
11313
10781
  const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (jsx(DefaultFoldButton, { className: className, label: isOpen ? 'Скрыть' : 'Показать', isUnfolded: isOpen, version: "secondary", short: true, onClick: onClick })));
11314
10782
 
11315
- const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
11316
- buttonClassName: 'basis-0',
11317
- });
11318
- 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] }));
11319
- const renderImgCellData = ({ image }) => (image?.src ? jsx(Img, { image: image }) : null);
11320
- 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" }) }));
11321
- const renderInnerTableCellData = ({ isVisible, displayTable, tableSource, pdfUrl, isOpen, }) => isVisible ? (jsx(TableInnerButton, { className: "w-fit", isOpen: isOpen, onClick: () => {
11322
- displayTable({ tableSource, pdfUrl });
11323
- } })) : null;
11324
- const EmbeddableCellData = {
11325
- Buttons: renderButtonsCellData,
11326
- Img: renderImgCellData,
11327
- RichText: renderRichTextCellData,
11328
- LabelDescription: renderLabelDescriptionCellData,
11329
- Table: renderInnerTableCellData,
11330
- };
11331
-
11332
- const RenderCellInner = JSX(({ cell, fieldIdx, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => {
11333
- const [isVisible, setVisibility] = useState(true);
11334
- useEffect(() => {
11335
- if (cellIdx !== openTableInnerIdx || !tableInner) {
11336
- setVisibility(true);
11337
- }
11338
- }, [tableInner, openTableInnerIdx]);
11339
- const displayTable = (props) => {
11340
- setVisibility(false);
11341
- setOpenTableInnerIdx(cellIdx);
11342
- setTableInner(props);
11343
- };
11344
- return renderCell({
11345
- cell,
11346
- cellProps: {
11347
- rowIdx,
11348
- cellIdx,
11349
- fieldIdx,
11350
- displayTable,
11351
- isVisible,
10783
+ 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, {
10784
+ buttonClassName: 'basis-0',
10785
+ }), image?.src ? jsx(Img, { image: image }) : null] }, String(i)));
10786
+ const renderLabel = (label) => label ? (jsx("div", { children: jsx(Text, { size: "text-h6", children: label }) })) : null;
10787
+ const renderDescription$1 = (description) => description ? (jsx("div", { className: "text-l font-light", children: jsx(Text, { color: "text-secondary-text", children: description }) })) : null;
10788
+ 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;
10789
+
10790
+ const TariffsTableCell = JSX(({ cells, tableInner, onSetTable }) => {
10791
+ return (jsx("div", { className: "w-80 flex-grow flex flex-col gap-lg", role: "cell", children: cells?.length
10792
+ ? cells.map((_, i) => {
10793
+ if (_?.tableSource?.tableData) {
10794
+ return (jsx(TableInnerButton, { className: "w-fit", isOpen: Boolean(tableInner), onClick: () => {
10795
+ onSetTable(tableInner ? undefined : { tableSource: _.tableSource });
10796
+ } }, String(i)));
10797
+ }
10798
+ return renderCell(_, i);
10799
+ })
10800
+ : null }));
10801
+ });
10802
+
10803
+ const useCarouselControls = (props, initialIndex = 0) => {
10804
+ const { itemCount, visibleItemCount } = props;
10805
+ const [activeIndex, setActiveIndex] = useState(initialIndex);
10806
+ const inc = useCallback(() => setActiveIndex((_) => Math.min(_ + 1, itemCount - 1)), [itemCount]);
10807
+ const dec = useCallback(() => setActiveIndex((_) => Math.max(_ - 1, 0)), [itemCount]);
10808
+ const canInc = visibleItemCount
10809
+ ? itemCount > visibleItemCount && activeIndex < itemCount - visibleItemCount
10810
+ : activeIndex < itemCount - 1;
10811
+ const canDec = activeIndex > 0;
10812
+ const isScrollAvailable = canDec || canInc;
10813
+ return [
10814
+ activeIndex,
10815
+ {
10816
+ inc,
10817
+ dec,
10818
+ canInc,
10819
+ canDec,
10820
+ isScrollAvailable,
11352
10821
  },
11353
- });
11354
- });
11355
- const renderCell = ({ cell, cellProps }) => {
11356
- if (!cell) {
11357
- return null;
11358
- }
11359
- const { tableCellType: type, ...rest } = cell;
11360
- if (!type || !(type in EmbeddableCellData)) {
11361
- return null;
11362
- }
11363
- const EmbeddableCellInner = EmbeddableCellData[type];
11364
- return jsx(EmbeddableCellInner, { ...cellProps, ...rest });
10822
+ ];
11365
10823
  };
11366
10824
 
11367
- 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
11368
- ? cells.map((_, i) => (jsx(RenderCellInner, { cell: _, fieldIdx: i, rowIdx: rowIdx, cellIdx: cellIdx, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx }, String(i))))
11369
- : null })));
10825
+ /** @deprecated */
10826
+ const renderArrows = ({ className, btnClass, canDec, canInc, dec, inc, }) => canDec || canInc ? (jsxs("div", { children: [canDec ? (jsx(ArrowLeftButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[0], className), onClick: dec })) : null, canInc ? (jsx(ArrowRightButton, { wcmsIgnore: true, className: style('absolute z-40', btnClass[1], className), onClick: inc })) : null] })) : null;
11370
10827
 
11371
10828
  const COLUMN_WIDTH = 140;
11372
10829
  const getHorizontalShift = (columns, activeColumnIndex) => sum(columns.slice(0, activeColumnIndex).map((_) => _?.cols?.length ?? 1)) * COLUMN_WIDTH;
@@ -11377,7 +10834,7 @@
11377
10834
  }
11378
10835
  const [headerColumn, ...columns] = rowData;
11379
10836
  const columnsStyle = style('flex duration-1000 text-center', rowIdx !== 0 ? 'font-normal' : 'font-light');
11380
- return (jsxs("div", { className: "flex border-main-divider border-b border-solid h-full", children: [headerColumn?.data ? (jsx("div", { className: "whitespace-pre-wrap sm:whitespace-normal w-48 sm:w-56 sm:min-w-56 py-lg pr-lg sm:pr-0", children: jsx(Text, { size: "text-xl", font: "font-light", children: headerColumn.data }) })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsStyle, style: {
10837
+ return (jsxs("div", { className: "flex border-main-divider border-b border-solid h-full", children: [headerColumn?.data ? (jsx("div", { className: "whitespace-pre-wrap sm:whitespace-normal w-48 min-w-48 sm:w-56 sm:min-w-56 py-lg pr-lg sm:pr-0", children: jsx(Text, { size: "text-xl", font: "font-light", children: headerColumn.data }) })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsStyle, style: {
11381
10838
  transform: `translateX(-${getHorizontalShift(columns, activeColumnIndex)}px)`,
11382
10839
  }, children: columns?.map((_, i) => (jsxs("div", { className: "flex flex-col flex-grow gap-s justify-center py-xl odd:bg-main-divider", children: [_?.data ? jsx(Text, { size: "text-xl", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
11383
10840
  };
@@ -11397,12 +10854,10 @@
11397
10854
  })] }));
11398
10855
  });
11399
10856
 
11400
- const InnerTableBody = JSX(({ activeTabIndex, items }) => {
11401
- return (jsx("div", { children: items.map((_, tableIdx) => {
11402
- const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
11403
- 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));
11404
- }) }));
11405
- });
10857
+ const InnerTableBody = JSX(({ activeTabIndex, items }) => (jsx("div", { children: items.map((_, tableIdx) => {
10858
+ const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
10859
+ 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));
10860
+ }) })));
11406
10861
 
11407
10862
  const linkButtonVersion = 'secondary';
11408
10863
 
@@ -11412,65 +10867,44 @@
11412
10867
  }), onClick: () => setActiveTabIndex(idx), children: jsx(Text, { size: "text-xl", font: "font-light", color: TableColor(idx === activeTabIndex), children: currency || idx + 1 }) }, currency))) })) : null, linkToPDF ? (jsx(LinkButton, { className: "text-primary-main", href: linkToPDF, version: linkButtonVersion, target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
11413
10868
 
11414
10869
  const EMPTY_DATA$1 = 'Данных нет';
11415
- const InnerTable = UniBlock(({ tableSource, pdfUrl, onClick }) => {
10870
+ const InnerTable = UniBlock(({ tableSource }) => {
11416
10871
  const tableData = tableSource?.tableData;
11417
10872
  const [activeTabIndex, setActiveTabIndex] = useState(0);
11418
10873
  const handleActiveTabIndex = useCallback((_) => setActiveTabIndex(_), []);
11419
10874
  const items = tableData?.[activeTabIndex]?.items ?? [];
11420
10875
  const currencies = tableData?.map((item) => item.currency ?? '');
11421
- return tableData ? (jsxs("div", { className: "bg-white z-10", children: [jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex, 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 })] }));
10876
+ return tableData ? (jsxs("div", { className: "bg-white z-10", children: [jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex }), jsx(InnerTableBody, { activeTabIndex: activeTabIndex, items: items })] })) : (jsx("div", { className: "space-y-m text-center", children: jsx(Text, { size: "text-h6", children: EMPTY_DATA$1 }) }));
11422
10877
  });
11423
10878
 
11424
- 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] })));
10879
+ const DIVIDER_STYLE = 'border-main-divider lg:border-b w-full py-s lg:py-xl';
10880
+ const TariffsTableRowContainer = JSX(({ children, tableInner, onClick }) => (jsxs("div", { className: style('self-start flex flex-col gap-xl', DIVIDER_STYLE), role: "row", children: [jsx("div", { className: style('flex flex-col lg:flex-row gap-x-5xl gap-y-xs'), children: children }), tableInner ? (jsx("div", { className: "origin-top animate-expansion", children: jsx(InnerTable, { ...tableInner, onClick: onClick }) })) : null] })));
11425
10881
 
11426
- const TariffsTableRow = JSX(({ row: { header, data }, activeIndex, rowIdx, ...rest }) => {
10882
+ const TariffsTableRow = JSX(({ row: { header, data = [] }, ...rest }) => {
11427
10883
  const [tableInner, setTableInner] = useState(undefined);
11428
- const handleSetTableInner = useCallback((_) => setTableInner(_), []);
11429
- const [openTableInnerIdx, setOpenTableInnerIdx] = useState(undefined);
11430
- const handleOpenTableInnerIdx = useCallback((_) => setOpenTableInnerIdx(_), []);
11431
- const onHideContentClick = () => setTableInner(undefined);
11432
- return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: style('text-s', firstCellStyle), children: jsxs("div", { className: "flex gap-m items-center", role: "cell", children: [header?.icon ? (jsx(Img, { className: "hidden @4xl:block max-w-6 shrink-0", image: header.icon, width: "24", height: "24" })) : null, header?.title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: header?.title })) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
10884
+ const handleSetTableInner = useCallback((_) => {
10885
+ setTableInner(_);
10886
+ }, []);
10887
+ return (jsxs(TariffsTableRowContainer, { tableInner: tableInner, ...rest, children: [renderHeader(header), data?.length ? (jsx(TableCarouselContainer, { version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, onSetTable: handleSetTableInner, tableInner: tableInner, ...rest }, String(i)))) })) : null] }));
11433
10888
  });
11434
10889
 
11435
- const TariffsTableWrapper = JSX(({ children, controls }) => {
11436
- const { isScrollAvailable } = controls;
11437
- return (jsxs("div", { role: "table", className: "overflow-x-auto w-auto grid md:block", children: [jsxs("div", { className: "relative space-y-xs", children: [children, renderArrows({
11438
- ...controls,
11439
- btnClass: ['top-28', 'top-11'],
11440
- className: 'right-7',
11441
- })] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-20 bg-opacity-to-white" })) : null] }));
11442
- });
10890
+ const TariffsTableWrapper = JSX(({ children }) => (jsx("div", { role: "table", className: "overflow-x-auto w-auto grid relative gap-y-xs", children: children })));
11443
10891
 
11444
- const TariffsTable = JSX(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
10892
+ const TariffsTable = UniBlock(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
11445
10893
  const colData = columns?.map(({ data }) => data) || [];
11446
10894
  const rowData = rowHeaders?.map((header, i) => ({
11447
10895
  header,
11448
10896
  data: colData.map((col) => col?.[i] || []),
11449
10897
  }));
11450
- const itemCount = colData.length;
11451
- const [activeIndex, controls] = useCarouselControls({
11452
- itemCount: itemCount,
11453
- visibleItemCount: COLS_LENGTH_FOR_SCROLL,
11454
- });
11455
- const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
10898
+ const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, ...rest }, String(i))));
11456
10899
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
11457
10900
  const [isUnfolded, { toggle }] = useBool(false);
11458
- 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 })) })] }));
10901
+ return (jsxs(BlockWrapper, { className: style('relative space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-center" }), jsx("div", { className: "space-y-m overflow-hidden", children: hiddenRowsNum > 0 ? (jsxs(Foldable, { children: [jsxs(TariffsTableWrapper, { children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] }), jsx(DefaultFoldButton, { className: "text-h4", isUnfolded: isUnfolded, onClick: toggle })] })) : (jsx(TariffsTableWrapper, { children: rows })) })] }));
11459
10902
  });
11460
10903
 
11461
10904
  const TextBlock = JSX(({ className = '', title, description, iconVersion, __html, richVersion, ...rest }) => (jsxs(BlockWrapper, { className: style('flex gap-s sm:gap-m group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? renderIcon() : null, jsxs("div", { className: "flex flex-col w-fit gap-2xs sm:gap-xs", children: [title ? (jsx(Text, { size: "text-l", font: "font-normal", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, __html ? jsx(RichText, { richVersion: richVersion, __html: __html }) : null] })] })));
11462
10905
  const renderIcon = () => (jsx("div", { className: "rounded-full h-4 w-4 text-center text-xs font-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main", children: "i" }));
11463
10906
  const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text group-data-secondary:text-white", children: description }));
11464
10907
 
11465
- const Unit = JSX(({ prefix, unit, suffix }) => (jsxs("div", { className: "w-full flex items-end", children: [prefix ? (jsx("div", { className: "gradient-color-text", children: jsx(Text, { size: "text-h2", children: prefix }) })) : null, unit ? (
11466
- // -mb-n добавлен для выравнивания unit относительно prefix и suffix, тк шрифт font-mohave неправильно высчитывает line-height
11467
- jsx("div", { className: "-mb-6 @xl:-mb-4", children: jsx("span", { className: "font-mohave text-title-large sm:text-title-extra gradient-color-text", children: unit }) })) : null, suffix ? (jsx("div", { className: "gradient-color-text", children: jsx(Text, { size: "text-h2", children: suffix }) })) : null] })));
11468
-
11469
- const UnitBlock = JSX((props) => {
11470
- const { prefix, unit, suffix, ...rest } = props;
11471
- return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(Unit, { prefix: prefix, unit: unit, suffix: suffix }) }));
11472
- });
11473
-
11474
10908
  const VerticalLayout = UniBlock(({ className = '', padding = 'p-0', gap = '', isInnerPadding = true, version = 'transparent', isTheme = false, isCardBorder = false, image, ...rest }) => {
11475
10909
  const router = useRouter();
11476
10910
  return (jsx(BlockWrapper, { className: style('relative flex flex-col', gapStyles[gap], image?.src ? 'bg-right-bottom bg-no-repeat' : '', className), ...(image?.src
@@ -11512,43 +10946,30 @@
11512
10946
  CalculatorRefinancing,
11513
10947
  CardTransfer,
11514
10948
  Carousel,
11515
- CarouselCard,
11516
10949
  CarouselCatalogCard,
11517
- CarouselLinks,
11518
10950
  CarouselRecommendationCard,
11519
10951
  CarouselTariffsCard,
11520
10952
  ContactsBlock,
11521
10953
  DepositFiltration,
11522
- Depository,
11523
10954
  ErrorBlock,
11524
- ExchangeRateTile,
11525
10955
  Footer,
11526
10956
  GalleryLayout,
11527
- GracePeriod,
11528
10957
  GrantSupport,
11529
10958
  Header,
11530
10959
  Headline,
11531
10960
  HorizontalLayout,
11532
10961
  ImgBlock,
11533
- InsuranceAmountBlock,
11534
- InvestmentInfo,
11535
10962
  LinkDocs,
11536
10963
  MobileAppTile,
11537
- MortgageFiltration,
11538
10964
  OfficesAtmsMap,
11539
- Placeholder,
11540
10965
  ProductBlock,
11541
- ProductGallery,
11542
- RepresentativeOfficeInfo,
11543
10966
  RichTextBlock,
11544
10967
  RollupItem,
11545
- SafeDepositRental,
11546
10968
  StepsBlock,
11547
10969
  StickyBottomMenu,
11548
10970
  TabsLayout,
11549
10971
  TariffsTable,
11550
10972
  TextBlock,
11551
- UnitBlock,
11552
10973
  VerticalLayout,
11553
10974
  Video,
11554
10975
  ApplicationLeadForm,
@@ -11696,7 +11117,7 @@
11696
11117
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
11697
11118
  });
11698
11119
 
11699
- const packageVersion = "0.16.3";
11120
+ const packageVersion = "0.14.856";
11700
11121
 
11701
11122
  exports.Blocks = Blocks;
11702
11123
  exports.ContentPage = ContentPage;