@redneckz/wildless-cms-uni-blocks 0.10.4 → 0.10.6

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 (1111) hide show
  1. package/bin/migration-scripts/0.9.9.js +8 -6
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +323 -411
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  6. package/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  7. package/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  8. package/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  9. package/bundle/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  10. package/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  11. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  12. package/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  13. package/bundle/components/ApplicationForm/CreditFormState.d.ts +13 -0
  14. package/bundle/components/ApplicationForm/CreditParameters.d.ts +3 -3
  15. package/bundle/components/ApplicationForm/DepositFormState.d.ts +4 -0
  16. package/bundle/components/ApplicationForm/InputControl.d.ts +4 -5
  17. package/bundle/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  18. package/bundle/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  19. package/bundle/components/ApplicationForm/SelectControl.d.ts +2 -9
  20. package/bundle/components/ApplicationForm/WedFormState.d.ts +10 -0
  21. package/bundle/components/ApplicationForm/models.d.ts +0 -6
  22. package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  23. package/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  24. package/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  25. package/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  26. package/bundle/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  27. package/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  28. package/bundle/components/ApplicationForm/renderRegion.d.ts +6 -8
  29. package/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  30. package/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  31. package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  32. package/bundle/components/ApplicationForm/validators.d.ts +4 -0
  33. package/bundle/components/Filtration/renderFormItem.d.ts +2 -2
  34. package/bundle/components/TextBlock/TextBlockContent.d.ts +1 -2
  35. package/bundle/hooks/useForm.d.ts +13 -12
  36. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  37. package/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
  38. package/bundle/ui-kit/Dialog/useDialogProps.d.ts +1 -1
  39. package/bundle/ui-kit/Input/InputProps.d.ts +4 -2
  40. package/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
  41. package/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  42. package/bundle/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  43. package/bundle/ui-kit/Select/Select.d.ts +6 -7
  44. package/bundle/validation/and.d.ts +2 -0
  45. package/bundle/validation/objectValidator.d.ts +2 -0
  46. package/bundle/validation/pattern.d.ts +1 -0
  47. package/bundle/validation/required.d.ts +1 -0
  48. package/bundle/validation/validator.d.ts +10 -0
  49. package/bundle/validation/withValidator.d.ts +10 -0
  50. package/dist/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  51. package/dist/components/ApplicationForm/AcquiringFormState.js +2 -0
  52. package/dist/components/ApplicationForm/AcquiringFormState.js.map +1 -0
  53. package/dist/components/ApplicationForm/ApplicationForm.js +4 -3
  54. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  55. package/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  56. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
  57. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  58. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  59. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
  60. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  61. package/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  62. package/dist/components/ApplicationForm/ApplicationFormCredit.js +28 -48
  63. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  64. package/dist/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  65. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
  66. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  67. package/dist/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  68. package/dist/components/ApplicationForm/ApplicationFormWed.js +22 -37
  69. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  70. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  71. package/dist/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  72. package/dist/components/ApplicationForm/BusinessCardFormState.js +2 -0
  73. package/dist/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
  74. package/dist/components/ApplicationForm/CreditFormState.d.ts +13 -0
  75. package/dist/components/ApplicationForm/CreditFormState.js +2 -0
  76. package/dist/components/ApplicationForm/CreditFormState.js.map +1 -0
  77. package/dist/components/ApplicationForm/CreditParameters.d.ts +3 -3
  78. package/dist/components/ApplicationForm/CreditParameters.js +5 -5
  79. package/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
  80. package/dist/components/ApplicationForm/DepositFormState.d.ts +4 -0
  81. package/dist/components/ApplicationForm/DepositFormState.js +2 -0
  82. package/dist/components/ApplicationForm/DepositFormState.js.map +1 -0
  83. package/dist/components/ApplicationForm/InputControl.d.ts +4 -5
  84. package/dist/components/ApplicationForm/InputControl.js +1 -3
  85. package/dist/components/ApplicationForm/InputControl.js.map +1 -1
  86. package/dist/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  87. package/dist/components/ApplicationForm/PhoneInputControl.js +8 -0
  88. package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -0
  89. package/dist/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  90. package/dist/components/ApplicationForm/ResponseNotification.js +4 -4
  91. package/dist/components/ApplicationForm/SelectControl.d.ts +2 -9
  92. package/dist/components/ApplicationForm/SelectControl.js +1 -7
  93. package/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  94. package/dist/components/ApplicationForm/WedFormState.d.ts +10 -0
  95. package/dist/components/ApplicationForm/WedFormState.js +2 -0
  96. package/dist/components/ApplicationForm/WedFormState.js.map +1 -0
  97. package/dist/components/ApplicationForm/models.d.ts +0 -6
  98. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  99. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
  100. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  101. package/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  102. package/dist/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  103. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  104. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  105. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
  106. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  107. package/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  108. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
  109. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  110. package/dist/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  111. package/dist/components/ApplicationForm/renderCreditParameters.js +3 -16
  112. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  113. package/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  114. package/dist/components/ApplicationForm/renderQuestionsInterested.js +4 -1
  115. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  116. package/dist/components/ApplicationForm/renderRegion.d.ts +6 -8
  117. package/dist/components/ApplicationForm/renderRegion.js +3 -2
  118. package/dist/components/ApplicationForm/renderRegion.js.map +1 -1
  119. package/dist/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  120. package/dist/components/ApplicationForm/renderRegionDepartment.js +6 -2
  121. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  122. package/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  123. package/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  124. package/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  125. package/dist/components/ApplicationForm/renderSubmitButton.js +2 -1
  126. package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  127. package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  128. package/dist/components/ApplicationForm/renderWedDataOrganization.js +4 -2
  129. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  130. package/dist/components/ApplicationForm/validators.d.ts +4 -0
  131. package/dist/components/ApplicationForm/validators.js +11 -0
  132. package/dist/components/ApplicationForm/validators.js.map +1 -0
  133. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  134. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  135. package/dist/components/Blocks.mobile.js +5 -1
  136. package/dist/components/Blocks.mobile.js.map +1 -1
  137. package/dist/components/Bonus/Bonus.js +1 -1
  138. package/dist/components/Bonus/Bonus.js.map +1 -1
  139. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  140. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  141. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  142. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  143. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  144. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  145. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  146. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  147. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  148. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  149. package/dist/components/Carousel/Carousel.js +1 -1
  150. package/dist/components/Carousel/Carousel.js.map +1 -1
  151. package/dist/components/Carousel/CarouselScrollButtons.js +1 -1
  152. package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  153. package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  154. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  155. package/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
  156. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  157. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  158. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  159. package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  160. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  161. package/dist/components/ContentPage/ContentPage.js +2 -1
  162. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  163. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  164. package/dist/components/Filtration/Filtration.js +3 -2
  165. package/dist/components/Filtration/Filtration.js.map +1 -1
  166. package/dist/components/Filtration/renderFormItem.d.ts +2 -2
  167. package/dist/components/Filtration/renderFormItem.js +4 -4
  168. package/dist/components/Filtration/renderFormItem.js.map +1 -1
  169. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  170. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  171. package/dist/components/Headline/Headline.js +1 -1
  172. package/dist/components/Headline/Headline.js.map +1 -1
  173. package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  174. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  175. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  176. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  177. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  178. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  179. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  180. package/dist/components/ProductBlock/ProductBlock.js +2 -2
  181. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  182. package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  183. package/dist/components/SafeDepositRental/useGetRegions.js +2 -1
  184. package/dist/components/SafeDepositRental/useGetRegions.js.map +1 -1
  185. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  186. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  187. package/dist/components/TextBlock/TextBlock.js +8 -4
  188. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  189. package/dist/components/TextBlock/TextBlockContent.d.ts +1 -2
  190. package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  191. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  192. package/dist/hooks/useForm.d.ts +13 -12
  193. package/dist/hooks/useForm.js +31 -8
  194. package/dist/hooks/useForm.js.map +1 -1
  195. package/dist/ui-kit/Checkbox/Checkbox.js +9 -4
  196. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  197. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  198. package/dist/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
  199. package/dist/ui-kit/CookiePopup/CookiePopup.js +22 -0
  200. package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -0
  201. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
  202. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  203. package/dist/ui-kit/Dialog/CloseButton.js +1 -1
  204. package/dist/ui-kit/Dialog/CloseButton.js.map +1 -1
  205. package/dist/ui-kit/Dialog/Dialog.js +1 -1
  206. package/dist/ui-kit/Dialog/Dialog.js.map +1 -1
  207. package/dist/ui-kit/Dialog/useDialogProps.d.ts +1 -1
  208. package/dist/ui-kit/Dialog/useDialogProps.js +2 -2
  209. package/dist/ui-kit/Dialog/useDialogProps.js.map +1 -1
  210. package/dist/ui-kit/Input/Input.js +4 -11
  211. package/dist/ui-kit/Input/Input.js.map +1 -1
  212. package/dist/ui-kit/Input/InputProps.d.ts +4 -2
  213. package/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
  214. package/dist/ui-kit/LinkWrapper/LinkWrapper.js +2 -2
  215. package/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  216. package/dist/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  217. package/dist/ui-kit/PhoneInput/PhoneInput.js +12 -0
  218. package/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
  219. package/dist/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  220. package/dist/ui-kit/PhoneInput/normalizePhone.js +17 -0
  221. package/dist/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
  222. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  223. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  224. package/dist/ui-kit/Select/Select.d.ts +6 -7
  225. package/dist/ui-kit/Select/Select.js +16 -25
  226. package/dist/ui-kit/Select/Select.js.map +1 -1
  227. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
  228. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  229. package/dist/validation/and.d.ts +2 -0
  230. package/dist/validation/and.js +5 -0
  231. package/dist/validation/and.js.map +1 -0
  232. package/dist/validation/objectValidator.d.ts +2 -0
  233. package/dist/validation/objectValidator.js +7 -0
  234. package/dist/validation/objectValidator.js.map +1 -0
  235. package/dist/validation/pattern.d.ts +1 -0
  236. package/dist/validation/pattern.js +6 -0
  237. package/dist/validation/pattern.js.map +1 -0
  238. package/dist/validation/required.d.ts +1 -0
  239. package/dist/validation/required.js +5 -0
  240. package/dist/validation/required.js.map +1 -0
  241. package/dist/validation/validator.d.ts +10 -0
  242. package/dist/validation/validator.js +9 -0
  243. package/dist/validation/validator.js.map +1 -0
  244. package/dist/validation/withValidator.d.ts +10 -0
  245. package/dist/validation/withValidator.js +13 -0
  246. package/dist/validation/withValidator.js.map +1 -0
  247. package/lib/common.css +1 -1
  248. package/lib/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  249. package/lib/components/ApplicationForm/AcquiringFormState.js +2 -0
  250. package/lib/components/ApplicationForm/AcquiringFormState.js.map +1 -0
  251. package/lib/components/ApplicationForm/ApplicationForm.js +4 -3
  252. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  253. package/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  254. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
  255. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  256. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  257. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
  258. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  259. package/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  260. package/lib/components/ApplicationForm/ApplicationFormCredit.js +28 -48
  261. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  262. package/lib/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  263. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
  264. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  265. package/lib/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  266. package/lib/components/ApplicationForm/ApplicationFormWed.js +22 -37
  267. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  268. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  269. package/lib/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  270. package/lib/components/ApplicationForm/BusinessCardFormState.js +2 -0
  271. package/lib/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
  272. package/lib/components/ApplicationForm/CreditFormState.d.ts +13 -0
  273. package/lib/components/ApplicationForm/CreditFormState.js +2 -0
  274. package/lib/components/ApplicationForm/CreditFormState.js.map +1 -0
  275. package/lib/components/ApplicationForm/CreditParameters.d.ts +3 -3
  276. package/lib/components/ApplicationForm/CreditParameters.js +5 -5
  277. package/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
  278. package/lib/components/ApplicationForm/DepositFormState.d.ts +4 -0
  279. package/lib/components/ApplicationForm/DepositFormState.js +2 -0
  280. package/lib/components/ApplicationForm/DepositFormState.js.map +1 -0
  281. package/lib/components/ApplicationForm/InputControl.d.ts +4 -5
  282. package/lib/components/ApplicationForm/InputControl.js +1 -3
  283. package/lib/components/ApplicationForm/InputControl.js.map +1 -1
  284. package/lib/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  285. package/lib/components/ApplicationForm/PhoneInputControl.js +6 -0
  286. package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -0
  287. package/lib/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  288. package/lib/components/ApplicationForm/ResponseNotification.js +4 -4
  289. package/lib/components/ApplicationForm/SelectControl.d.ts +2 -9
  290. package/lib/components/ApplicationForm/SelectControl.js +1 -7
  291. package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  292. package/lib/components/ApplicationForm/WedFormState.d.ts +10 -0
  293. package/lib/components/ApplicationForm/WedFormState.js +2 -0
  294. package/lib/components/ApplicationForm/WedFormState.js.map +1 -0
  295. package/lib/components/ApplicationForm/models.d.ts +0 -6
  296. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  297. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
  298. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  299. package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  300. package/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  301. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  302. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  303. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
  304. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  305. package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  306. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
  307. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  308. package/lib/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  309. package/lib/components/ApplicationForm/renderCreditParameters.js +4 -17
  310. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  311. package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  312. package/lib/components/ApplicationForm/renderQuestionsInterested.js +4 -1
  313. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  314. package/lib/components/ApplicationForm/renderRegion.d.ts +6 -8
  315. package/lib/components/ApplicationForm/renderRegion.js +3 -2
  316. package/lib/components/ApplicationForm/renderRegion.js.map +1 -1
  317. package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  318. package/lib/components/ApplicationForm/renderRegionDepartment.js +6 -2
  319. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  320. package/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  321. package/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  322. package/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  323. package/lib/components/ApplicationForm/renderSubmitButton.js +2 -1
  324. package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  325. package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  326. package/lib/components/ApplicationForm/renderWedDataOrganization.js +4 -2
  327. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  328. package/lib/components/ApplicationForm/validators.d.ts +4 -0
  329. package/lib/components/ApplicationForm/validators.js +9 -0
  330. package/lib/components/ApplicationForm/validators.js.map +1 -0
  331. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  332. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  333. package/lib/components/Blocks.mobile.js +5 -1
  334. package/lib/components/Blocks.mobile.js.map +1 -1
  335. package/lib/components/Bonus/Bonus.js +1 -1
  336. package/lib/components/Bonus/Bonus.js.map +1 -1
  337. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  338. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  339. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  340. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  341. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  342. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  343. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  344. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  345. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  346. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  347. package/lib/components/Carousel/Carousel.js +1 -1
  348. package/lib/components/Carousel/Carousel.js.map +1 -1
  349. package/lib/components/Carousel/CarouselScrollButtons.js +1 -1
  350. package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  351. package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  352. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  353. package/lib/components/CarouselProductCard/CarouselProductCard.js +2 -2
  354. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  355. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  356. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  357. package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  358. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  359. package/lib/components/ContentPage/ContentPage.js +2 -1
  360. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  361. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  362. package/lib/components/Filtration/Filtration.js +3 -2
  363. package/lib/components/Filtration/Filtration.js.map +1 -1
  364. package/lib/components/Filtration/renderFormItem.d.ts +2 -2
  365. package/lib/components/Filtration/renderFormItem.js +4 -4
  366. package/lib/components/Filtration/renderFormItem.js.map +1 -1
  367. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  368. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  369. package/lib/components/Headline/Headline.js +1 -1
  370. package/lib/components/Headline/Headline.js.map +1 -1
  371. package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  372. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  373. package/lib/components/ImgBlock/ImgBlock.fixture.mobile.d.ts +6 -0
  374. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  375. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  376. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  377. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  378. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  379. package/lib/components/ProductBlock/ProductBlock.js +2 -2
  380. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  381. package/lib/components/ProductTile/renderBenefit.d.ts +0 -1
  382. package/lib/components/RichTextBlock/RichTextBlock.fixture.mobile.d.ts +9 -0
  383. package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  384. package/lib/components/SafeDepositRental/useGetRegions.js +2 -1
  385. package/lib/components/SafeDepositRental/useGetRegions.js.map +1 -1
  386. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  387. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  388. package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -1
  389. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +6 -2
  390. package/lib/components/TextBlock/TextBlock.js +8 -4
  391. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  392. package/lib/components/TextBlock/TextBlockContent.d.ts +1 -2
  393. package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +8 -0
  394. package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  395. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  396. package/lib/hooks/useForm.d.ts +13 -12
  397. package/lib/hooks/useForm.js +31 -8
  398. package/lib/hooks/useForm.js.map +1 -1
  399. package/lib/ui-kit/Checkbox/Checkbox.js +9 -4
  400. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  401. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  402. package/lib/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
  403. package/lib/ui-kit/CookiePopup/CookiePopup.js +20 -0
  404. package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -0
  405. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
  406. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  407. package/lib/ui-kit/Dialog/CloseButton.js +1 -1
  408. package/lib/ui-kit/Dialog/CloseButton.js.map +1 -1
  409. package/lib/ui-kit/Dialog/Dialog.js +1 -1
  410. package/lib/ui-kit/Dialog/Dialog.js.map +1 -1
  411. package/lib/ui-kit/Dialog/useDialogProps.d.ts +1 -1
  412. package/lib/ui-kit/Dialog/useDialogProps.js +2 -2
  413. package/lib/ui-kit/Dialog/useDialogProps.js.map +1 -1
  414. package/lib/ui-kit/Input/Input.js +4 -11
  415. package/lib/ui-kit/Input/Input.js.map +1 -1
  416. package/lib/ui-kit/Input/InputProps.d.ts +4 -2
  417. package/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
  418. package/lib/ui-kit/LinkWrapper/LinkWrapper.js +2 -2
  419. package/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  420. package/lib/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  421. package/lib/ui-kit/PhoneInput/PhoneInput.js +10 -0
  422. package/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
  423. package/lib/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  424. package/lib/ui-kit/PhoneInput/normalizePhone.js +14 -0
  425. package/lib/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
  426. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  427. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  428. package/lib/ui-kit/Select/Select.d.ts +6 -7
  429. package/lib/ui-kit/Select/Select.js +17 -26
  430. package/lib/ui-kit/Select/Select.js.map +1 -1
  431. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
  432. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  433. package/lib/validation/and.d.ts +2 -0
  434. package/lib/validation/and.js +2 -0
  435. package/lib/validation/and.js.map +1 -0
  436. package/lib/validation/objectValidator.d.ts +2 -0
  437. package/lib/validation/objectValidator.js +4 -0
  438. package/lib/validation/objectValidator.js.map +1 -0
  439. package/lib/validation/pattern.d.ts +1 -0
  440. package/lib/validation/pattern.js +3 -0
  441. package/lib/validation/pattern.js.map +1 -0
  442. package/lib/validation/required.d.ts +1 -0
  443. package/lib/validation/required.js +3 -0
  444. package/lib/validation/required.js.map +1 -0
  445. package/lib/validation/validator.d.ts +10 -0
  446. package/lib/validation/validator.js +4 -0
  447. package/lib/validation/validator.js.map +1 -0
  448. package/lib/validation/withValidator.d.ts +10 -0
  449. package/lib/validation/withValidator.js +10 -0
  450. package/lib/validation/withValidator.js.map +1 -0
  451. package/mobile/bundle/bundle.umd.js +50 -18
  452. package/mobile/bundle/bundle.umd.min.js +1 -1
  453. package/mobile/bundle/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  454. package/mobile/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  455. package/mobile/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  456. package/mobile/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  457. package/mobile/bundle/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  458. package/mobile/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  459. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  460. package/mobile/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  461. package/mobile/bundle/components/ApplicationForm/CreditFormState.d.ts +13 -0
  462. package/mobile/bundle/components/ApplicationForm/CreditParameters.d.ts +3 -3
  463. package/mobile/bundle/components/ApplicationForm/DepositFormState.d.ts +4 -0
  464. package/mobile/bundle/components/ApplicationForm/InputControl.d.ts +4 -5
  465. package/mobile/bundle/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  466. package/mobile/bundle/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  467. package/mobile/bundle/components/ApplicationForm/SelectControl.d.ts +2 -9
  468. package/mobile/bundle/components/ApplicationForm/WedFormState.d.ts +10 -0
  469. package/mobile/bundle/components/ApplicationForm/models.d.ts +0 -6
  470. package/mobile/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  471. package/mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  472. package/mobile/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  473. package/mobile/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  474. package/mobile/bundle/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  475. package/mobile/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  476. package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +6 -8
  477. package/mobile/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  478. package/mobile/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  479. package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  480. package/mobile/bundle/components/ApplicationForm/validators.d.ts +4 -0
  481. package/mobile/bundle/components/Filtration/renderFormItem.d.ts +2 -2
  482. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +1 -2
  483. package/mobile/bundle/hooks/useForm.d.ts +13 -12
  484. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  485. package/mobile/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
  486. package/mobile/bundle/ui-kit/Dialog/useDialogProps.d.ts +1 -1
  487. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -2
  488. package/mobile/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
  489. package/mobile/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  490. package/mobile/bundle/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  491. package/mobile/bundle/ui-kit/Select/Select.d.ts +6 -7
  492. package/mobile/bundle/validation/and.d.ts +2 -0
  493. package/mobile/bundle/validation/objectValidator.d.ts +2 -0
  494. package/mobile/bundle/validation/pattern.d.ts +1 -0
  495. package/mobile/bundle/validation/required.d.ts +1 -0
  496. package/mobile/bundle/validation/validator.d.ts +10 -0
  497. package/mobile/bundle/validation/withValidator.d.ts +10 -0
  498. package/mobile/dist/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  499. package/mobile/dist/components/ApplicationForm/AcquiringFormState.js +2 -0
  500. package/mobile/dist/components/ApplicationForm/AcquiringFormState.js.map +1 -0
  501. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +4 -3
  502. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  503. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  504. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
  505. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  506. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  507. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
  508. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  509. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  510. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +28 -48
  511. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  512. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  513. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
  514. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  515. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  516. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +22 -37
  517. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  518. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  519. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  520. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js +2 -0
  521. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
  522. package/mobile/dist/components/ApplicationForm/CreditFormState.d.ts +13 -0
  523. package/mobile/dist/components/ApplicationForm/CreditFormState.js +2 -0
  524. package/mobile/dist/components/ApplicationForm/CreditFormState.js.map +1 -0
  525. package/mobile/dist/components/ApplicationForm/CreditParameters.d.ts +3 -3
  526. package/mobile/dist/components/ApplicationForm/CreditParameters.js +5 -5
  527. package/mobile/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
  528. package/mobile/dist/components/ApplicationForm/DepositFormState.d.ts +4 -0
  529. package/mobile/dist/components/ApplicationForm/DepositFormState.js +2 -0
  530. package/mobile/dist/components/ApplicationForm/DepositFormState.js.map +1 -0
  531. package/mobile/dist/components/ApplicationForm/InputControl.d.ts +4 -5
  532. package/mobile/dist/components/ApplicationForm/InputControl.js +1 -3
  533. package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
  534. package/mobile/dist/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  535. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +8 -0
  536. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -0
  537. package/mobile/dist/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  538. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +4 -4
  539. package/mobile/dist/components/ApplicationForm/SelectControl.d.ts +2 -9
  540. package/mobile/dist/components/ApplicationForm/SelectControl.js +1 -7
  541. package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  542. package/mobile/dist/components/ApplicationForm/WedFormState.d.ts +10 -0
  543. package/mobile/dist/components/ApplicationForm/WedFormState.js +2 -0
  544. package/mobile/dist/components/ApplicationForm/WedFormState.js.map +1 -0
  545. package/mobile/dist/components/ApplicationForm/models.d.ts +0 -6
  546. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  547. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
  548. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  549. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  550. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  551. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  552. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  553. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
  554. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  555. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  556. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
  557. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  558. package/mobile/dist/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  559. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +3 -16
  560. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  561. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  562. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +4 -1
  563. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  564. package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +6 -8
  565. package/mobile/dist/components/ApplicationForm/renderRegion.js +3 -2
  566. package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -1
  567. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  568. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +6 -2
  569. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  570. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  571. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  572. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  573. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +2 -1
  574. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  575. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  576. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +4 -2
  577. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  578. package/mobile/dist/components/ApplicationForm/validators.d.ts +4 -0
  579. package/mobile/dist/components/ApplicationForm/validators.js +11 -0
  580. package/mobile/dist/components/ApplicationForm/validators.js.map +1 -0
  581. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  582. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  583. package/mobile/dist/components/Blocks.js +5 -1
  584. package/mobile/dist/components/Blocks.js.map +1 -1
  585. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  586. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  587. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  588. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  589. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  590. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  591. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  592. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  593. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  594. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  595. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  596. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  597. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  598. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  599. package/mobile/dist/components/Carousel/CarouselScrollButtons.js +1 -1
  600. package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  601. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  602. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  603. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
  604. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  605. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  606. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  607. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  608. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  609. package/mobile/dist/components/ContentPage/ContentPage.js +2 -1
  610. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  611. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  612. package/mobile/dist/components/Filtration/Filtration.js +3 -2
  613. package/mobile/dist/components/Filtration/Filtration.js.map +1 -1
  614. package/mobile/dist/components/Filtration/renderFormItem.d.ts +2 -2
  615. package/mobile/dist/components/Filtration/renderFormItem.js +4 -4
  616. package/mobile/dist/components/Filtration/renderFormItem.js.map +1 -1
  617. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  618. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  619. package/mobile/dist/components/Headline/Headline.js +1 -1
  620. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  621. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  622. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  623. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  624. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  625. package/mobile/dist/components/SafeDepositRental/useGetRegions.js +2 -1
  626. package/mobile/dist/components/SafeDepositRental/useGetRegions.js.map +1 -1
  627. package/mobile/dist/components/TextBlock/TextBlock.js +14 -9
  628. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  629. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +1 -2
  630. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  631. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  632. package/mobile/dist/hooks/useForm.d.ts +13 -12
  633. package/mobile/dist/hooks/useForm.js +31 -8
  634. package/mobile/dist/hooks/useForm.js.map +1 -1
  635. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +9 -4
  636. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  637. package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  638. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
  639. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +22 -0
  640. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -0
  641. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
  642. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  643. package/mobile/dist/ui-kit/Dialog/CloseButton.js +1 -1
  644. package/mobile/dist/ui-kit/Dialog/CloseButton.js.map +1 -1
  645. package/mobile/dist/ui-kit/Dialog/Dialog.js +1 -1
  646. package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -1
  647. package/mobile/dist/ui-kit/Dialog/useDialogProps.d.ts +1 -1
  648. package/mobile/dist/ui-kit/Dialog/useDialogProps.js +2 -2
  649. package/mobile/dist/ui-kit/Dialog/useDialogProps.js.map +1 -1
  650. package/mobile/dist/ui-kit/Input/Input.js +4 -11
  651. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  652. package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -2
  653. package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
  654. package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js +2 -2
  655. package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  656. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  657. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js +12 -0
  658. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
  659. package/mobile/dist/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  660. package/mobile/dist/ui-kit/PhoneInput/normalizePhone.js +17 -0
  661. package/mobile/dist/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
  662. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  663. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  664. package/mobile/dist/ui-kit/Select/Select.d.ts +6 -7
  665. package/mobile/dist/ui-kit/Select/Select.js +16 -25
  666. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  667. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
  668. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  669. package/mobile/dist/validation/and.d.ts +2 -0
  670. package/mobile/dist/validation/and.js +5 -0
  671. package/mobile/dist/validation/and.js.map +1 -0
  672. package/mobile/dist/validation/objectValidator.d.ts +2 -0
  673. package/mobile/dist/validation/objectValidator.js +7 -0
  674. package/mobile/dist/validation/objectValidator.js.map +1 -0
  675. package/mobile/dist/validation/pattern.d.ts +1 -0
  676. package/mobile/dist/validation/pattern.js +6 -0
  677. package/mobile/dist/validation/pattern.js.map +1 -0
  678. package/mobile/dist/validation/required.d.ts +1 -0
  679. package/mobile/dist/validation/required.js +5 -0
  680. package/mobile/dist/validation/required.js.map +1 -0
  681. package/mobile/dist/validation/validator.d.ts +10 -0
  682. package/mobile/dist/validation/validator.js +9 -0
  683. package/mobile/dist/validation/validator.js.map +1 -0
  684. package/mobile/dist/validation/withValidator.d.ts +10 -0
  685. package/mobile/dist/validation/withValidator.js +13 -0
  686. package/mobile/dist/validation/withValidator.js.map +1 -0
  687. package/mobile/lib/common.css +1 -0
  688. package/mobile/lib/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  689. package/mobile/lib/components/ApplicationForm/AcquiringFormState.js +2 -0
  690. package/mobile/lib/components/ApplicationForm/AcquiringFormState.js.map +1 -0
  691. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +4 -3
  692. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  693. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  694. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
  695. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  696. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  697. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
  698. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  699. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  700. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +28 -48
  701. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  702. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  703. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
  704. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  705. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  706. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +22 -37
  707. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  708. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  709. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  710. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js +2 -0
  711. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
  712. package/mobile/lib/components/ApplicationForm/CreditFormState.d.ts +13 -0
  713. package/mobile/lib/components/ApplicationForm/CreditFormState.js +2 -0
  714. package/mobile/lib/components/ApplicationForm/CreditFormState.js.map +1 -0
  715. package/mobile/lib/components/ApplicationForm/CreditParameters.d.ts +3 -3
  716. package/mobile/lib/components/ApplicationForm/CreditParameters.js +5 -5
  717. package/mobile/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
  718. package/mobile/lib/components/ApplicationForm/DepositFormState.d.ts +4 -0
  719. package/mobile/lib/components/ApplicationForm/DepositFormState.js +2 -0
  720. package/mobile/lib/components/ApplicationForm/DepositFormState.js.map +1 -0
  721. package/mobile/lib/components/ApplicationForm/InputControl.d.ts +4 -5
  722. package/mobile/lib/components/ApplicationForm/InputControl.js +1 -3
  723. package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
  724. package/mobile/lib/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  725. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +6 -0
  726. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -0
  727. package/mobile/lib/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  728. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +4 -4
  729. package/mobile/lib/components/ApplicationForm/SelectControl.d.ts +2 -9
  730. package/mobile/lib/components/ApplicationForm/SelectControl.js +1 -7
  731. package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  732. package/mobile/lib/components/ApplicationForm/WedFormState.d.ts +10 -0
  733. package/mobile/lib/components/ApplicationForm/WedFormState.js +2 -0
  734. package/mobile/lib/components/ApplicationForm/WedFormState.js.map +1 -0
  735. package/mobile/lib/components/ApplicationForm/models.d.ts +0 -6
  736. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  737. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
  738. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  739. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  740. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  741. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  742. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  743. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
  744. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  745. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  746. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
  747. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  748. package/mobile/lib/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  749. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +4 -17
  750. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  751. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  752. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +4 -1
  753. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  754. package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +6 -8
  755. package/mobile/lib/components/ApplicationForm/renderRegion.js +3 -2
  756. package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -1
  757. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  758. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +6 -2
  759. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  760. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  761. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  762. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  763. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +2 -1
  764. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  765. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  766. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +4 -2
  767. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  768. package/mobile/lib/components/ApplicationForm/validators.d.ts +4 -0
  769. package/mobile/lib/components/ApplicationForm/validators.js +9 -0
  770. package/mobile/lib/components/ApplicationForm/validators.js.map +1 -0
  771. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  772. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  773. package/mobile/lib/components/Blocks.js +5 -1
  774. package/mobile/lib/components/Blocks.js.map +1 -1
  775. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  776. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  777. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  778. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  779. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  780. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  781. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  782. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  783. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  784. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  785. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  786. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  787. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  788. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  789. package/mobile/lib/components/Carousel/CarouselScrollButtons.js +1 -1
  790. package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  791. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  792. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  793. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +2 -2
  794. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  795. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  796. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  797. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  798. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  799. package/mobile/lib/components/ContentPage/ContentPage.js +2 -1
  800. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  801. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  802. package/mobile/lib/components/Filtration/Filtration.js +3 -2
  803. package/mobile/lib/components/Filtration/Filtration.js.map +1 -1
  804. package/mobile/lib/components/Filtration/renderFormItem.d.ts +2 -2
  805. package/mobile/lib/components/Filtration/renderFormItem.js +4 -4
  806. package/mobile/lib/components/Filtration/renderFormItem.js.map +1 -1
  807. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  808. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  809. package/mobile/lib/components/Headline/Headline.js +1 -1
  810. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  811. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  812. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  813. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  814. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  815. package/mobile/lib/components/SafeDepositRental/useGetRegions.js +2 -1
  816. package/mobile/lib/components/SafeDepositRental/useGetRegions.js.map +1 -1
  817. package/mobile/lib/components/TextBlock/TextBlock.js +14 -9
  818. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  819. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +1 -2
  820. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  821. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  822. package/mobile/lib/hooks/useForm.d.ts +13 -12
  823. package/mobile/lib/hooks/useForm.js +31 -8
  824. package/mobile/lib/hooks/useForm.js.map +1 -1
  825. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +9 -4
  826. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  827. package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  828. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
  829. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +20 -0
  830. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -0
  831. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
  832. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  833. package/mobile/lib/ui-kit/Dialog/CloseButton.js +1 -1
  834. package/mobile/lib/ui-kit/Dialog/CloseButton.js.map +1 -1
  835. package/mobile/lib/ui-kit/Dialog/Dialog.js +1 -1
  836. package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -1
  837. package/mobile/lib/ui-kit/Dialog/useDialogProps.d.ts +1 -1
  838. package/mobile/lib/ui-kit/Dialog/useDialogProps.js +2 -2
  839. package/mobile/lib/ui-kit/Dialog/useDialogProps.js.map +1 -1
  840. package/mobile/lib/ui-kit/Input/Input.js +4 -11
  841. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  842. package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -2
  843. package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
  844. package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js +2 -2
  845. package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
  846. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  847. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js +10 -0
  848. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
  849. package/mobile/lib/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  850. package/mobile/lib/ui-kit/PhoneInput/normalizePhone.js +14 -0
  851. package/mobile/lib/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
  852. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  853. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  854. package/mobile/lib/ui-kit/Select/Select.d.ts +6 -7
  855. package/mobile/lib/ui-kit/Select/Select.js +17 -26
  856. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  857. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
  858. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  859. package/mobile/lib/validation/and.d.ts +2 -0
  860. package/mobile/lib/validation/and.js +2 -0
  861. package/mobile/lib/validation/and.js.map +1 -0
  862. package/mobile/lib/validation/objectValidator.d.ts +2 -0
  863. package/mobile/lib/validation/objectValidator.js +4 -0
  864. package/mobile/lib/validation/objectValidator.js.map +1 -0
  865. package/mobile/lib/validation/pattern.d.ts +1 -0
  866. package/mobile/lib/validation/pattern.js +3 -0
  867. package/mobile/lib/validation/pattern.js.map +1 -0
  868. package/mobile/lib/validation/required.d.ts +1 -0
  869. package/mobile/lib/validation/required.js +3 -0
  870. package/mobile/lib/validation/required.js.map +1 -0
  871. package/mobile/lib/validation/validator.d.ts +10 -0
  872. package/mobile/lib/validation/validator.js +4 -0
  873. package/mobile/lib/validation/validator.js.map +1 -0
  874. package/mobile/lib/validation/withValidator.d.ts +10 -0
  875. package/mobile/lib/validation/withValidator.js +10 -0
  876. package/mobile/lib/validation/withValidator.js.map +1 -0
  877. package/mobile/src/components/ApplicationForm/AcquiringFormState.ts +12 -0
  878. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +6 -5
  879. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +43 -71
  880. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +37 -51
  881. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +49 -84
  882. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +41 -67
  883. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +40 -64
  884. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -2
  885. package/mobile/src/components/ApplicationForm/BusinessCardFormState.ts +9 -0
  886. package/mobile/src/components/ApplicationForm/CreditFormState.ts +14 -0
  887. package/mobile/src/components/ApplicationForm/CreditParameters.ts +5 -5
  888. package/mobile/src/components/ApplicationForm/DepositFormState.ts +4 -0
  889. package/mobile/src/components/ApplicationForm/InputControl.tsx +21 -21
  890. package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +26 -0
  891. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +7 -7
  892. package/mobile/src/components/ApplicationForm/SelectControl.tsx +14 -48
  893. package/mobile/src/components/ApplicationForm/WedFormState.ts +10 -0
  894. package/mobile/src/components/ApplicationForm/models.ts +0 -8
  895. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +11 -36
  896. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +12 -33
  897. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +13 -36
  898. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +13 -44
  899. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +27 -30
  900. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +21 -40
  901. package/mobile/src/components/ApplicationForm/renderRegion.tsx +10 -22
  902. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +15 -32
  903. package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +5 -23
  904. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +2 -1
  905. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +11 -36
  906. package/mobile/src/components/ApplicationForm/validators.ts +17 -0
  907. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  908. package/mobile/src/components/Blocks.ts +5 -1
  909. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  910. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  911. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  912. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +3 -3
  913. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
  914. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -1
  915. package/mobile/src/components/Carousel/Carousel.tsx +1 -1
  916. package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +7 -3
  917. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  918. package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +2 -1
  919. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -2
  920. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
  921. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  922. package/mobile/src/components/ContentPage/ContentPage.tsx +5 -0
  923. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +3 -3
  924. package/mobile/src/components/Filtration/Filtration.tsx +6 -4
  925. package/mobile/src/components/Filtration/renderFormItem.tsx +5 -5
  926. package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
  927. package/mobile/src/components/Headline/Headline.tsx +1 -1
  928. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
  929. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
  930. package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +2 -2
  931. package/mobile/src/components/SafeDepositRental/useGetRegions.ts +3 -1
  932. package/mobile/src/components/TariffsTable/TariffsTable.ui.json +3 -0
  933. package/mobile/src/components/TextBlock/TextBlock.tsx +56 -22
  934. package/mobile/src/components/TextBlock/TextBlockContent.ts +1 -3
  935. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  936. package/mobile/src/hooks/useForm.ts +61 -13
  937. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +39 -25
  938. package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
  939. package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +64 -0
  940. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +8 -16
  941. package/mobile/src/ui-kit/Dialog/CloseButton.tsx +1 -1
  942. package/mobile/src/ui-kit/Dialog/Dialog.tsx +1 -1
  943. package/mobile/src/ui-kit/Dialog/useDialogProps.ts +2 -1
  944. package/mobile/src/ui-kit/Input/Input.tsx +11 -19
  945. package/mobile/src/ui-kit/Input/InputProps.ts +4 -2
  946. package/mobile/src/ui-kit/LinkWrapper/LinkWrapper.tsx +13 -10
  947. package/mobile/src/ui-kit/PhoneInput/PhoneInput.tsx +19 -0
  948. package/mobile/src/ui-kit/PhoneInput/normalizePhone.ts +23 -0
  949. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  950. package/mobile/src/ui-kit/Select/Select.tsx +48 -55
  951. package/mobile/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +13 -12
  952. package/mobile/src/validation/and.ts +6 -0
  953. package/mobile/src/validation/objectValidator.ts +10 -0
  954. package/mobile/src/validation/pattern.ts +4 -0
  955. package/mobile/src/validation/required.ts +3 -0
  956. package/mobile/src/validation/validator.ts +21 -0
  957. package/mobile/src/validation/withValidator.ts +21 -0
  958. package/package.json +2 -2
  959. package/src/components/ApplicationForm/AcquiringFormState.ts +12 -0
  960. package/src/components/ApplicationForm/ApplicationForm.tsx +6 -5
  961. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +43 -71
  962. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +37 -51
  963. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +49 -84
  964. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +41 -67
  965. package/src/components/ApplicationForm/ApplicationFormWed.tsx +40 -64
  966. package/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -2
  967. package/src/components/ApplicationForm/BusinessCardFormState.ts +9 -0
  968. package/src/components/ApplicationForm/CreditFormState.ts +14 -0
  969. package/src/components/ApplicationForm/CreditParameters.ts +5 -5
  970. package/src/components/ApplicationForm/DepositFormState.ts +4 -0
  971. package/src/components/ApplicationForm/InputControl.tsx +21 -21
  972. package/src/components/ApplicationForm/PhoneInputControl.tsx +26 -0
  973. package/src/components/ApplicationForm/ResponseNotification.tsx +7 -7
  974. package/src/components/ApplicationForm/SelectControl.tsx +14 -48
  975. package/src/components/ApplicationForm/WedFormState.ts +10 -0
  976. package/src/components/ApplicationForm/models.ts +0 -8
  977. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +11 -36
  978. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +12 -33
  979. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +13 -36
  980. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +13 -44
  981. package/src/components/ApplicationForm/renderCreditParameters.tsx +27 -30
  982. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +21 -40
  983. package/src/components/ApplicationForm/renderRegion.tsx +10 -22
  984. package/src/components/ApplicationForm/renderRegionDepartment.tsx +15 -32
  985. package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +5 -23
  986. package/src/components/ApplicationForm/renderSubmitButton.tsx +2 -1
  987. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +11 -36
  988. package/src/components/ApplicationForm/validators.ts +17 -0
  989. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  990. package/src/components/Blocks.mobile.ts +5 -1
  991. package/src/components/Bonus/Bonus.tsx +1 -1
  992. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  993. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  994. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +3 -3
  995. package/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
  996. package/src/components/CardTransfer/CardTransfer.tsx +1 -1
  997. package/src/components/Carousel/Carousel.fixture.tsx +1 -1
  998. package/src/components/Carousel/Carousel.tsx +1 -1
  999. package/src/components/Carousel/CarouselScrollButtons.tsx +7 -3
  1000. package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  1001. package/src/components/CarouselProductCard/CarouselProductCard.example.json +2 -1
  1002. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +1 -0
  1003. package/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -2
  1004. package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
  1005. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  1006. package/src/components/ContentPage/ContentPage.tsx +5 -0
  1007. package/src/components/ExchangeRateTile/renderInput.tsx +3 -3
  1008. package/src/components/Filtration/Filtration.tsx +6 -4
  1009. package/src/components/Filtration/renderFormItem.tsx +5 -5
  1010. package/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1011. package/src/components/Headline/Headline.tsx +1 -1
  1012. package/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
  1013. package/src/components/ImgBlock/ImgBlock.fixture.mobile.tsx +21 -0
  1014. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
  1015. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  1016. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  1017. package/src/components/ProductBlock/ProductBlock.tsx +5 -2
  1018. package/src/components/RichTextBlock/RichTextBlock.fixture.mobile.tsx +51 -0
  1019. package/src/components/SafeDepositRental/WrapperSelect.tsx +2 -2
  1020. package/src/components/SafeDepositRental/useGetRegions.ts +3 -1
  1021. package/src/components/TariffsTable/TariffsTable.tsx +1 -1
  1022. package/src/components/TariffsTable/TariffsTable.ui.json +3 -0
  1023. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +43 -50
  1024. package/src/components/TextBlock/TextBlock.fixture.tsx +1 -1
  1025. package/src/components/TextBlock/TextBlock.tsx +36 -12
  1026. package/src/components/TextBlock/TextBlockContent.ts +1 -3
  1027. package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +90 -0
  1028. package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1029. package/src/hooks/useForm.ts +61 -13
  1030. package/src/ui-kit/Checkbox/Checkbox.tsx +39 -25
  1031. package/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
  1032. package/src/ui-kit/CookiePopup/CookiePopup.tsx +64 -0
  1033. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +8 -16
  1034. package/src/ui-kit/Dialog/CloseButton.tsx +1 -1
  1035. package/src/ui-kit/Dialog/Dialog.tsx +1 -1
  1036. package/src/ui-kit/Dialog/useDialogProps.ts +2 -1
  1037. package/src/ui-kit/Input/Input.tsx +11 -19
  1038. package/src/ui-kit/Input/InputProps.ts +4 -2
  1039. package/src/ui-kit/LinkWrapper/LinkWrapper.tsx +13 -10
  1040. package/src/ui-kit/List/List.fixture.tsx +4 -4
  1041. package/src/ui-kit/PhoneInput/PhoneInput.tsx +19 -0
  1042. package/src/ui-kit/PhoneInput/normalizePhone.ts +23 -0
  1043. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  1044. package/src/ui-kit/RichText/RichText.fixture.tsx +1 -1
  1045. package/src/ui-kit/Select/Select.tsx +48 -55
  1046. package/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +13 -12
  1047. package/src/ui-kit/Tags/Tags.fixture.tsx +1 -1
  1048. package/src/validation/and.ts +6 -0
  1049. package/src/validation/objectValidator.ts +10 -0
  1050. package/src/validation/pattern.ts +4 -0
  1051. package/src/validation/required.ts +3 -0
  1052. package/src/validation/validator.ts +21 -0
  1053. package/src/validation/withValidator.ts +21 -0
  1054. package/tailwind.config.cjs +4 -0
  1055. package/bin/migration-scripts/0.9.3.js +0 -88
  1056. package/bundle/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1057. package/bundle/components/ApplicationForm/useForm.d.ts +0 -14
  1058. package/bundle/components/ApplicationForm/validate.d.ts +0 -1
  1059. package/bundle/components/TextBlock/TextBlock.mobile.d.ts +0 -5
  1060. package/dist/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1061. package/dist/components/ApplicationForm/renderInputRange.js +0 -8
  1062. package/dist/components/ApplicationForm/renderInputRange.js.map +0 -1
  1063. package/dist/components/ApplicationForm/useForm.d.ts +0 -14
  1064. package/dist/components/ApplicationForm/useForm.js +0 -37
  1065. package/dist/components/ApplicationForm/useForm.js.map +0 -1
  1066. package/dist/components/ApplicationForm/validate.d.ts +0 -1
  1067. package/dist/components/ApplicationForm/validate.js +0 -22
  1068. package/dist/components/ApplicationForm/validate.js.map +0 -1
  1069. package/dist/components/TextBlock/TextBlock.mobile.d.ts +0 -5
  1070. package/dist/components/TextBlock/TextBlock.mobile.js +0 -16
  1071. package/dist/components/TextBlock/TextBlock.mobile.js.map +0 -1
  1072. package/lib/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1073. package/lib/components/ApplicationForm/renderInputRange.js +0 -5
  1074. package/lib/components/ApplicationForm/renderInputRange.js.map +0 -1
  1075. package/lib/components/ApplicationForm/useForm.d.ts +0 -14
  1076. package/lib/components/ApplicationForm/useForm.js +0 -34
  1077. package/lib/components/ApplicationForm/useForm.js.map +0 -1
  1078. package/lib/components/ApplicationForm/validate.d.ts +0 -1
  1079. package/lib/components/ApplicationForm/validate.js +0 -19
  1080. package/lib/components/ApplicationForm/validate.js.map +0 -1
  1081. package/lib/components/TextBlock/TextBlock.mobile.d.ts +0 -5
  1082. package/lib/components/TextBlock/TextBlock.mobile.js +0 -14
  1083. package/lib/components/TextBlock/TextBlock.mobile.js.map +0 -1
  1084. package/mobile/bundle/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1085. package/mobile/bundle/components/ApplicationForm/useForm.d.ts +0 -14
  1086. package/mobile/bundle/components/ApplicationForm/validate.d.ts +0 -1
  1087. package/mobile/dist/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1088. package/mobile/dist/components/ApplicationForm/renderInputRange.js +0 -8
  1089. package/mobile/dist/components/ApplicationForm/renderInputRange.js.map +0 -1
  1090. package/mobile/dist/components/ApplicationForm/useForm.d.ts +0 -14
  1091. package/mobile/dist/components/ApplicationForm/useForm.js +0 -37
  1092. package/mobile/dist/components/ApplicationForm/useForm.js.map +0 -1
  1093. package/mobile/dist/components/ApplicationForm/validate.d.ts +0 -1
  1094. package/mobile/dist/components/ApplicationForm/validate.js +0 -22
  1095. package/mobile/dist/components/ApplicationForm/validate.js.map +0 -1
  1096. package/mobile/lib/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1097. package/mobile/lib/components/ApplicationForm/renderInputRange.js +0 -5
  1098. package/mobile/lib/components/ApplicationForm/renderInputRange.js.map +0 -1
  1099. package/mobile/lib/components/ApplicationForm/useForm.d.ts +0 -14
  1100. package/mobile/lib/components/ApplicationForm/useForm.js +0 -34
  1101. package/mobile/lib/components/ApplicationForm/useForm.js.map +0 -1
  1102. package/mobile/lib/components/ApplicationForm/validate.d.ts +0 -1
  1103. package/mobile/lib/components/ApplicationForm/validate.js +0 -19
  1104. package/mobile/lib/components/ApplicationForm/validate.js.map +0 -1
  1105. package/mobile/src/components/ApplicationForm/renderInputRange.tsx +0 -20
  1106. package/mobile/src/components/ApplicationForm/useForm.ts +0 -65
  1107. package/mobile/src/components/ApplicationForm/validate.ts +0 -22
  1108. package/src/components/ApplicationForm/renderInputRange.tsx +0 -20
  1109. package/src/components/ApplicationForm/useForm.ts +0 -65
  1110. package/src/components/ApplicationForm/validate.ts +0 -22
  1111. package/src/components/TextBlock/TextBlock.mobile.tsx +0 -42
@@ -0,0 +1,11 @@
1
+ import type { Option } from '../../ui-kit/Select/Select';
2
+ export interface AcquiringFormState {
3
+ acquiringType?: Option;
4
+ region?: Option;
5
+ fullName: string;
6
+ inn: string;
7
+ name: string;
8
+ phone: string;
9
+ onlineCheckout: boolean;
10
+ posTerminal: boolean;
11
+ }
@@ -1,12 +1,2 @@
1
1
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
- export interface AcquiringFormState {
3
- acquiringType: string;
4
- region: string;
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- onlineСheckout: boolean;
10
- posTerminal: boolean;
11
- }
12
- export declare const ApplicationFormAcquiring: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
2
+ export declare const ApplicationFormAcquiring: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,9 +1,2 @@
1
1
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
- export interface BusinessCardFormState {
3
- region: string;
4
- name: string;
5
- phone: string;
6
- inn: string;
7
- mail: string;
8
- }
9
- export declare const ApplicationFormBusinessCard: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
2
+ export declare const ApplicationFormBusinessCard: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,14 +1,2 @@
1
1
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
- export interface CreditFormState {
3
- amount: number;
4
- term: number;
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- mail: string;
10
- region: string;
11
- department: string;
12
- annualRevenue: string;
13
- }
14
- export declare const ApplicationFormCredit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
2
+ export declare const ApplicationFormCredit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,6 +1,2 @@
1
1
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
- export interface DepositFormState {
3
- name: string;
4
- phone: string;
5
- }
6
- export declare const ApplicationFormDeposit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
2
+ export declare const ApplicationFormDeposit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,12 +1,2 @@
1
1
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
- export interface WedFormState {
3
- fullName: string;
4
- name: string;
5
- phone: string;
6
- mail: string;
7
- currencyControl: boolean;
8
- documentaryOperations: boolean;
9
- conversionOperations: boolean;
10
- text: string;
11
- }
12
- export declare const ApplicationFormWed: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
2
+ export declare const ApplicationFormWed: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,7 +1,7 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
2
  import type { SubmitButtonProps } from './ApplicationFormContent';
3
- export interface ApplicationFormsProps {
3
+ export interface ApplicationFormsProps<S extends Record<string, any> = Record<string, any>> {
4
4
  button?: SubmitButtonProps;
5
5
  link?: LinkProps;
6
- handleSubmit: (data: Record<string, string>) => Promise<string>;
6
+ onSubmit: (data: S) => void;
7
7
  }
@@ -0,0 +1,8 @@
1
+ import type { Option } from '../../ui-kit/Select/Select';
2
+ export interface BusinessCardFormState {
3
+ region?: Option;
4
+ name: string;
5
+ phone: string;
6
+ inn: string;
7
+ mail: string;
8
+ }
@@ -0,0 +1,13 @@
1
+ import type { Option } from '../../ui-kit/Select/Select';
2
+ export interface CreditFormState {
3
+ amount: number;
4
+ term: number;
5
+ fullName: string;
6
+ inn: string;
7
+ name: string;
8
+ phone: string;
9
+ mail: string;
10
+ region?: Option;
11
+ department?: Option;
12
+ annualRevenue: string;
13
+ }
@@ -1,6 +1,6 @@
1
- export declare const MIN_CREDIT_AMOUNT = 50000;
2
- export declare const MAX_CREDIT_AMOUNT = 3000000;
1
+ export declare const MIN_CREDIT_AMOUNT = 1000;
2
+ export declare const MAX_CREDIT_AMOUNT = 1000000000;
3
3
  export declare const ITEMS_CREDIT_AMOUNT: string[];
4
4
  export declare const MIN_CREDIT_TERM = 1;
5
- export declare const MAX_CREDIT_TERM = 60;
5
+ export declare const MAX_CREDIT_TERM = 180;
6
6
  export declare const ITEMS_CREDIT_TERM: string[];
@@ -0,0 +1,4 @@
1
+ export interface DepositFormState {
2
+ name: string;
3
+ phone: string;
4
+ }
@@ -1,10 +1,9 @@
1
- interface InputControlProps {
1
+ export interface InputControlProps {
2
2
  className: string;
3
3
  label: string;
4
- value: string;
4
+ value?: string;
5
5
  error?: string;
6
- onChange: (value: string) => void;
7
- onBlur?: (value: string) => void;
6
+ onChange?: (value: string) => void;
7
+ onBlur?: () => void;
8
8
  }
9
9
  export declare const InputControl: import("@redneckz/uni-jsx").UNIComponent<InputControlProps, any, any>;
10
- export {};
@@ -0,0 +1,2 @@
1
+ import type { InputControlProps } from './InputControl';
2
+ export declare const PhoneInputControl: import("@redneckz/uni-jsx").UNIComponent<InputControlProps, any, any>;
@@ -1,5 +1,5 @@
1
1
  interface ResponseNotificationProps {
2
- responceType?: 'OK' | 'Fail';
2
+ responseType?: 'OK' | 'Fail';
3
3
  }
4
4
  export declare const ResponseNotification: import("@redneckz/uni-jsx").UNIComponent<ResponseNotificationProps, any, any>;
5
5
  export {};
@@ -1,13 +1,6 @@
1
- interface SelectControlProps {
2
- data: Record<string, any>[];
3
- fieldLabel: string;
4
- fieldValue?: string;
5
- selected: string;
6
- setSelected: (value: string) => void;
7
- label: string;
8
- placeholder?: string;
1
+ import { SelectProps } from '../../ui-kit/Select/Select';
2
+ interface SelectControlProps extends SelectProps {
9
3
  error?: string;
10
- onValidate?: (value: string) => void;
11
4
  }
12
5
  export declare const SelectControl: import("@redneckz/uni-jsx").UNIComponent<SelectControlProps, any, any>;
13
6
  export {};
@@ -0,0 +1,10 @@
1
+ export interface WedFormState {
2
+ fullName: string;
3
+ name: string;
4
+ phone: string;
5
+ mail: string;
6
+ currencyControl: boolean;
7
+ documentaryOperations: boolean;
8
+ conversionOperations: boolean;
9
+ text: string;
10
+ }
@@ -3,9 +3,3 @@ export interface Select {
3
3
  code?: string;
4
4
  name?: string;
5
5
  }
6
- export declare type HandleFormStateChange<T> = (state: Partial<T>) => void;
7
- export interface DataOrganization<T> {
8
- handleChange: HandleFormStateChange<T>;
9
- errors: Record<string, string>;
10
- handleChangeErrors: (state: any) => void;
11
- }
@@ -1,11 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { AcquiringFormState } from './ApplicationFormAcquiring';
3
- import type { DataOrganization } from './models';
4
- interface RenderAcquiringDataOrganizationProps extends DataOrganization<AcquiringFormState> {
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- }
10
- export declare const renderAcquiringDataOrganization: ({ fullName, inn, name, phone, handleChange, errors, handleChangeErrors, }: RenderAcquiringDataOrganizationProps) => JSX.Element;
11
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import { AcquiringFormState } from './AcquiringFormState';
4
+ export declare const renderAcquiringDataOrganization: (field: FormFieldRegisterer<AcquiringFormState>) => JSX.Element;
@@ -1,13 +1,10 @@
1
1
  /// <reference types="react" />
2
- import type { AcquiringFormState } from './ApplicationFormAcquiring';
3
- import type { HandleFormStateChange, Select } from './models';
4
- interface RenderAcquiringRegionProps {
5
- acquiringType: string;
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { AcquiringFormState } from './AcquiringFormState';
4
+ import type { Select } from './models';
5
+ interface AcquiringRegionProps {
6
6
  regions: Select[];
7
- region: string;
8
- handleChange: HandleFormStateChange<AcquiringFormState>;
9
- errors: Record<string, string>;
10
- handleChangeErrors: (state: any) => void;
7
+ field: FormFieldRegisterer<AcquiringFormState>;
11
8
  }
12
- export declare const renderAcquiringRegion: ({ acquiringType, regions, region, handleChange, errors, handleChangeErrors, }: RenderAcquiringRegionProps) => JSX.Element;
9
+ export declare const renderAcquiringRegion: ({ regions, field }: AcquiringRegionProps) => JSX.Element;
13
10
  export {};
@@ -1,11 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { BusinessCardFormState } from './ApplicationFormBusinessCard';
3
- import type { DataOrganization } from './models';
4
- interface RenderBusinessCardDataOrganizationProps extends DataOrganization<BusinessCardFormState> {
5
- name: string;
6
- phone: string;
7
- mail: string;
8
- inn: string;
9
- }
10
- export declare const renderBusinessCardDataOrganization: ({ name, phone, mail, inn, handleChange, errors, handleChangeErrors, }: RenderBusinessCardDataOrganizationProps) => JSX.Element;
11
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { BusinessCardFormState } from './BusinessCardFormState';
4
+ export declare const renderBusinessCardDataOrganization: (field: FormFieldRegisterer<BusinessCardFormState>) => JSX.Element;
@@ -1,13 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { CreditFormState } from './ApplicationFormCredit';
3
- import type { DataOrganization } from './models';
4
- interface RenderCreditDataOrganizationProps extends DataOrganization<CreditFormState> {
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- mail: string;
10
- annualRevenue: string;
11
- }
12
- export declare const renderCreditDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, errors, handleChangeErrors, }: RenderCreditDataOrganizationProps) => JSX.Element;
13
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { CreditFormState } from './CreditFormState';
4
+ export declare const renderCreditDataOrganization: (field: FormFieldRegisterer<CreditFormState>) => JSX.Element;
@@ -1,10 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { CreditFormState } from './ApplicationFormCredit';
3
- import type { HandleFormStateChange } from './models';
4
- interface RenderCreditParametersProps {
5
- amount: number;
6
- term: number;
7
- handleChange: HandleFormStateChange<CreditFormState>;
8
- }
9
- export declare const renderCreditParameters: ({ amount, term, handleChange, }: RenderCreditParametersProps) => JSX.Element;
10
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { CreditFormState } from './CreditFormState';
4
+ export declare const renderCreditParameters: (field: FormFieldRegisterer<CreditFormState>) => JSX.Element;
@@ -1,12 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { WedFormState } from './ApplicationFormWed';
3
- import type { HandleFormStateChange } from './models';
4
- interface RenderQuestionsInterestedProps {
5
- currencyControl: boolean;
6
- documentaryOperations: boolean;
7
- conversionOperations: boolean;
8
- text: string;
9
- handleChange: HandleFormStateChange<WedFormState>;
10
- }
11
- export declare const renderQuestionsInterested: ({ currencyControl, documentaryOperations, conversionOperations, text, handleChange, }: RenderQuestionsInterestedProps) => JSX.Element;
12
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { WedFormState } from './WedFormState';
4
+ export declare const renderQuestionsInterested: (field: FormFieldRegisterer<WedFormState>) => JSX.Element;
@@ -1,12 +1,10 @@
1
1
  /// <reference types="react" />
2
- import { BusinessCardFormState } from './ApplicationFormBusinessCard';
3
- import { HandleFormStateChange, Select } from './models';
4
- interface RenderRegionProps {
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import { BusinessCardFormState } from './BusinessCardFormState';
4
+ import { Select } from './models';
5
+ interface RegionProps {
5
6
  regions: Select[];
6
- region: string;
7
- handleChange: HandleFormStateChange<BusinessCardFormState>;
8
- errors: Record<string, string>;
9
- handleChangeErrors: (state: any) => void;
7
+ field: FormFieldRegisterer<BusinessCardFormState>;
10
8
  }
11
- export declare const renderRegion: ({ regions, region, handleChange, errors, handleChangeErrors, }: RenderRegionProps) => JSX.Element;
9
+ export declare const renderRegion: ({ regions, field }: RegionProps) => JSX.Element;
12
10
  export {};
@@ -1,15 +1,12 @@
1
1
  /// <reference types="react" />
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
2
3
  import type { Branch } from '../SafeDepositRental/useSafeBoxes';
3
- import type { CreditFormState } from './ApplicationFormCredit';
4
- import type { HandleFormStateChange, Select } from './models';
5
- interface RenderRegionDepartmentProps {
4
+ import type { CreditFormState } from './CreditFormState';
5
+ import type { Select } from './models';
6
+ interface RegionDepartmentProps {
6
7
  regions: Select[];
7
- region: string;
8
8
  branches: Branch[];
9
- department: string;
10
- handleChange: HandleFormStateChange<CreditFormState>;
11
- errors: Record<string, string>;
12
- handleChangeErrors: (state: any) => void;
9
+ field: FormFieldRegisterer<CreditFormState>;
13
10
  }
14
- export declare const renderRegionDepartment: ({ regions, region, branches, department, handleChange, errors, handleChangeErrors, }: RenderRegionDepartmentProps) => JSX.Element;
11
+ export declare const renderRegionDepartment: ({ regions, branches, field }: RegionDepartmentProps) => JSX.Element;
15
12
  export {};
@@ -1,10 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { AcquiringFormState } from './ApplicationFormAcquiring';
3
- import type { HandleFormStateChange } from './models';
4
- declare type SlideCheckboxesProps = {
5
- onlineСheckout: boolean;
6
- posTerminal: boolean;
7
- handleChange: HandleFormStateChange<AcquiringFormState>;
8
- };
9
- export declare const renderSlideCheckboxes: ({ onlineСheckout, posTerminal, handleChange, }: SlideCheckboxesProps) => JSX.Element;
10
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { AcquiringFormState } from './AcquiringFormState';
4
+ export declare const renderSlideCheckboxes: (field: FormFieldRegisterer<AcquiringFormState>) => JSX.Element;
@@ -1,11 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { WedFormState } from './ApplicationFormWed';
3
- import type { DataOrganization } from './models';
4
- interface RenderWedDataOrganizationProps extends DataOrganization<WedFormState> {
5
- fullName: string;
6
- name: string;
7
- phone: string;
8
- mail: string;
9
- }
10
- export declare const renderWedDataOrganization: ({ fullName, name, phone, mail, handleChange, errors, handleChangeErrors, }: RenderWedDataOrganizationProps) => JSX.Element;
11
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { WedFormState } from './WedFormState';
4
+ export declare const renderWedDataOrganization: (field: FormFieldRegisterer<WedFormState>) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const defaultValidator: import("../../validation/validator").Validator<any>;
2
+ export declare const nameValidator: import("../../validation/validator").Validator<any>;
3
+ export declare const innValidator: import("../../validation/validator").Validator<any>;
4
+ export declare const phoneValidator: import("../../validation/validator").Validator<any>;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { FormElementRegisterer } from '../../hooks/useForm';
2
+ import type { FormFieldRegisterer } from '../../hooks/useForm';
3
3
  import type { FiltrationSchema } from './FiltrationContent';
4
- export declare const renderFormItem: (filtrationSchema: FiltrationSchema, register: FormElementRegisterer) => (key: string) => JSX.Element | null;
4
+ export declare const renderFormItem: (filtrationSchema: FiltrationSchema, field: FormFieldRegisterer<any>) => (key: string) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- import type { BulletsProps } from '../../model/Bullets';
2
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
2
  import type { UniBlockContent } from '../../model/JSXBlock';
4
3
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
@@ -12,7 +11,7 @@ declare type TextBlockIconVersion = 'none' | 'small' | 'big';
12
11
  /**
13
12
  * @title Текстовый блок
14
13
  */
15
- export declare type TextBlockContent = UniBlockContent & HeadlineCommonProps & RichTextProps & ImageContent & ListContent & BulletsProps & {
14
+ export declare type TextBlockContent = UniBlockContent & HeadlineCommonProps & RichTextProps & ImageContent & ListContent & {
16
15
  iconVersion?: TextBlockIconVersion;
17
16
  };
18
17
  export {};
@@ -1,12 +1,13 @@
1
- export declare type FormElementRegisterer = ReturnType<typeof useForm>['register'];
2
- export declare const useForm: <FormState extends Record<string, any>>(initialState?: Partial<FormState>) => {
3
- formState: Partial<FormState>;
4
- register: <FieldName extends keyof FormState>(fieldName: FieldName) => {
5
- value?: undefined;
6
- onChange?: undefined;
7
- } | {
8
- value: Partial<FormState>[FieldName];
9
- onChange: Partial<Record<keyof FormState, () => void>>[FieldName];
10
- };
11
- resetForm: () => void;
12
- };
1
+ import type { PreventableEvent } from '../ui-kit/PreventableEvent';
2
+ export interface FieldProps<V> {
3
+ value?: V;
4
+ isDirty?: boolean;
5
+ onChange?: (value: V) => void;
6
+ }
7
+ export declare type FormFieldRegisterer<FormState> = <N extends keyof FormState>(fieldName: N) => FieldProps<FormState[N]>;
8
+ export declare const useForm: <FormState extends Record<string, any>>(initialState: FormState, onSubmit?: ((_: FormState) => void) | undefined) => [FormState, {
9
+ isDirty: boolean;
10
+ field: FormFieldRegisterer<FormState>;
11
+ reset: () => void;
12
+ onSubmit: (e: PreventableEvent) => void;
13
+ }];
@@ -1,8 +1,8 @@
1
1
  export interface CheckboxProps {
2
+ className?: string;
3
+ value?: boolean;
2
4
  text?: string;
3
- checked?: boolean;
4
5
  disabled?: boolean;
5
- className?: string;
6
6
  isRadio?: boolean;
7
7
  onChange?: (value: boolean) => void;
8
8
  }
@@ -0,0 +1,8 @@
1
+ import type { LinkCommonProps } from '../../model/LinkProps';
2
+ export interface CookiePopupProps {
3
+ termLink?: LinkCommonProps;
4
+ personalDataPolicyLink?: LinkCommonProps;
5
+ }
6
+ export declare const COOKIE_DIALOG_ID = "cookie";
7
+ export declare const LOCAL_STORAGE_NAME = "cookieClose";
8
+ export declare const CookiePopup: import("@redneckz/uni-jsx").UNIComponent<CookiePopupProps, any, any>;
@@ -1,5 +1,5 @@
1
1
  import type { DialogProps } from './Dialog';
2
2
  import type { DialogInitialParams } from './DialogAction';
3
- export declare function useDialogProps(id: string): DialogProps & DialogInitialParams & {
3
+ export declare function useDialogProps(id: string, initOpen?: boolean): DialogProps & DialogInitialParams & {
4
4
  wasOpened: boolean;
5
5
  };
@@ -9,7 +9,9 @@ export declare type InputProps = LabelProps & {
9
9
  placeholder?: string;
10
10
  pattern?: string;
11
11
  value?: string;
12
- onChange: (value: string) => void;
13
- onBlur?: (value: string) => void;
12
+ onChange?: (value: string) => void;
13
+ onInput?: (event: any) => void;
14
+ onFocus?: (event: any) => void;
15
+ onBlur?: () => void;
14
16
  valid?: boolean;
15
17
  };
@@ -3,6 +3,7 @@ interface LinkWrapperProps {
3
3
  className?: string;
4
4
  href?: string;
5
5
  target?: Target;
6
+ isRemote?: boolean;
6
7
  }
7
8
  export declare const LinkWrapper: import("@redneckz/uni-jsx").UNIComponent<LinkWrapperProps, any, any>;
8
9
  export {};
@@ -0,0 +1,2 @@
1
+ import type { InputProps } from '../Input/InputProps';
2
+ export declare const PhoneInput: import("@redneckz/uni-jsx").UNIComponent<InputProps, any, any>;
@@ -0,0 +1 @@
1
+ export declare function normalizePhone(phone: string): string;
@@ -1,16 +1,15 @@
1
1
  import { LabelProps } from '../../model/HeadlineType';
2
- export interface OptionProps {
2
+ export interface Option {
3
3
  key: string;
4
- text: string;
4
+ text?: string;
5
5
  }
6
6
  export declare type SelectProps = LabelProps & {
7
7
  className?: string;
8
- value?: OptionProps;
9
- onChange: (value: OptionProps) => void;
10
- options: OptionProps[];
8
+ options?: Option[];
9
+ value?: Option;
10
+ valid?: boolean;
11
11
  isBorder?: boolean;
12
12
  placeholder?: string;
13
- valid?: boolean;
14
- onValidate?: (value: string) => void;
13
+ onChange?: (value: Option) => void;
15
14
  };
16
15
  export declare const Select: import("@redneckz/uni-jsx").UNIComponent<SelectProps, any, any>;
@@ -0,0 +1,2 @@
1
+ import { Validator } from './validator';
2
+ export declare const and: (...validators: Validator[]) => Validator;
@@ -0,0 +1,2 @@
1
+ import { ValidationInfo, Validator } from './validator';
2
+ export declare const objectValidator: <VMap extends Record<string, Validator<any>>>(validatorsMap: VMap) => <O extends Partial<{ [P in keyof VMap]: Parameters<VMap[P]>[0]; }>>(o: O) => ValidationInfo;
@@ -0,0 +1 @@
1
+ export declare const pattern: (regexp: RegExp) => (message: string) => import("./validator").Validator<any>;
@@ -0,0 +1 @@
1
+ export declare const required: (message: string) => import("./validator").Validator<any>;
@@ -0,0 +1,10 @@
1
+ declare type ValidationMessage = string;
2
+ declare type ValidationSuccess = [];
3
+ declare type ValidationErr = [ValidationMessage, ...ValidationMessage[]];
4
+ export declare type ValidationInfo = ValidationSuccess | ValidationErr;
5
+ export declare type Validator<T = any> = (_: T) => ValidationInfo;
6
+ export declare const isValidationSuccess: (info: ValidationInfo) => info is [];
7
+ export declare const isValidationErr: (info: ValidationInfo) => info is ValidationErr;
8
+ declare type Predicate<T = any> = (_: T) => boolean;
9
+ export declare const validator: <T = any>(predicate: Predicate<T>) => (message: string) => Validator<T>;
10
+ export {};
@@ -0,0 +1,10 @@
1
+ import { ValidationInfo, Validator } from './validator';
2
+ interface FieldProps<V> {
3
+ value?: V;
4
+ isDirty?: boolean;
5
+ }
6
+ export declare const withValidator: <V, P extends FieldProps<V> = FieldProps<V>>(props: P, validator: Validator<V | undefined>) => P & {
7
+ errors?: ValidationInfo | undefined;
8
+ error?: ValidationInfo[0];
9
+ };
10
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { Option } from '../../ui-kit/Select/Select';
2
+ export interface AcquiringFormState {
3
+ acquiringType?: Option;
4
+ region?: Option;
5
+ fullName: string;
6
+ inn: string;
7
+ name: string;
8
+ phone: string;
9
+ onlineCheckout: boolean;
10
+ posTerminal: boolean;
11
+ }
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=AcquiringFormState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcquiringFormState.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/AcquiringFormState.ts"],"names":[],"mappings":""}
@@ -6,6 +6,7 @@ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const CorporateLeadAPI_1 = require("../../api/CorporateLeadAPI");
7
7
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
8
8
  const Heading_1 = require("../../ui-kit/Heading/Heading");
9
+ const style_1 = require("../../utils/style");
9
10
  const ApplicationFormAcquiring_1 = require("./ApplicationFormAcquiring");
10
11
  const ApplicationFormBusinessCard_1 = require("./ApplicationFormBusinessCard");
11
12
  const ApplicationFormCredit_1 = require("./ApplicationFormCredit");
@@ -21,13 +22,13 @@ const COMPONENTS_MAP = {
21
22
  };
22
23
  const API = (0, CorporateLeadAPI_1.CorporateLeadAPI)();
23
24
  exports.ApplicationForm = (0, uni_jsx_1.JSX)((props) => {
24
- const { className = '', title, typeForm = 'credit', button, link, ...rest } = props;
25
- const [responceType, setResponseType] = (0, hooks_1.useState)('');
25
+ const { className, title, typeForm = 'credit', button, link, ...rest } = props;
26
+ const [responseType, setResponseType] = (0, hooks_1.useState)('');
26
27
  const handleSubmit = (0, hooks_1.useCallback)(async (data) => {
27
28
  const status = (await API.send(data)) ? 'OK' : 'Fail';
28
29
  setResponseType(status);
29
30
  return status;
30
31
  }, []);
31
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-[50px] pb-9 ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container max-w-[978px]", children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", title: title, className: "text-center mb-8" }) : null, COMPONENTS_MAP[typeForm]({ button, link, handleSubmit }), responceType ? (0, jsx_runtime_1.jsx)(ResponseNotification_1.ResponseNotification, { responceType: responceType }) : null] }) }));
32
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('font-sans bg-white p-12 pb-9', className), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container max-w-[978px]", children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", title: title, className: "text-center mb-8" }) : null, COMPONENTS_MAP[typeForm]({ button, link, onSubmit: handleSubmit }), responseType ? (0, jsx_runtime_1.jsx)(ResponseNotification_1.ResponseNotification, { responseType: responseType }) : null] }) }));
32
33
  });
33
34
  //# sourceMappingURL=ApplicationForm.js.map