@redneckz/wildless-cms-uni-blocks 0.14.129 → 0.14.131

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 (577) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +124 -52
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  6. package/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  7. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  8. package/bundle/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  9. package/bundle/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  10. package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  11. package/bundle/components/ApplicationForm/InputControl.d.ts +1 -1
  12. package/bundle/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  13. package/bundle/components/ApplicationForm/formStyle.d.ts +1 -0
  14. package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
  15. package/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  16. package/bundle/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
  17. package/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  18. package/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
  19. package/bundle/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  20. package/bundle/components/ApplicationForm/renderRegion.d.ts +1 -1
  21. package/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  22. package/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  23. package/bundle/components/ApplicationForm/renderTextarea.d.ts +3 -0
  24. package/bundle/components/ApplicationForm/renderUserData.d.ts +4 -0
  25. package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  26. package/bundle/components/ApplicationForm/validators.d.ts +1 -0
  27. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  28. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  29. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
  30. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  31. package/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  32. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  33. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  34. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  35. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
  36. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  37. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  38. package/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  39. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  40. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
  41. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  42. package/dist/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  43. package/dist/components/ApplicationForm/ApplicationFormFeedback.js +71 -0
  44. package/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
  45. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  46. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  47. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
  48. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  49. package/dist/components/ApplicationForm/ApplicationFormWed.js +3 -2
  50. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  51. package/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
  52. package/dist/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  53. package/dist/components/ApplicationForm/DatePickerControl.js +2 -1
  54. package/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
  55. package/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  56. package/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
  57. package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  58. package/dist/components/ApplicationForm/InputControl.d.ts +1 -1
  59. package/dist/components/ApplicationForm/InputControl.js +2 -1
  60. package/dist/components/ApplicationForm/InputControl.js.map +1 -1
  61. package/dist/components/ApplicationForm/PhoneInputControl.js +2 -1
  62. package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  63. package/dist/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  64. package/dist/components/ApplicationForm/feedbackTypes.js +21 -0
  65. package/dist/components/ApplicationForm/feedbackTypes.js.map +1 -0
  66. package/dist/components/ApplicationForm/formStyle.d.ts +1 -0
  67. package/dist/components/ApplicationForm/formStyle.js +4 -0
  68. package/dist/components/ApplicationForm/formStyle.js.map +1 -0
  69. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
  70. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  71. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  72. package/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  73. package/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  74. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  75. package/dist/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
  76. package/dist/components/ApplicationForm/renderAgreementWithSubmit.js +12 -0
  77. package/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
  78. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  79. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  80. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  81. package/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
  82. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  83. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  84. package/dist/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  85. package/dist/components/ApplicationForm/renderCreditParameters.js +2 -2
  86. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  87. package/dist/components/ApplicationForm/renderIndividualsFields.js +1 -1
  88. package/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  89. package/dist/components/ApplicationForm/renderQuestionsInterested.js +2 -1
  90. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  91. package/dist/components/ApplicationForm/renderRegion.d.ts +1 -1
  92. package/dist/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  93. package/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
  94. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  95. package/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  96. package/dist/components/ApplicationForm/renderTextarea.d.ts +3 -0
  97. package/dist/components/ApplicationForm/renderTextarea.js +9 -0
  98. package/dist/components/ApplicationForm/renderTextarea.js.map +1 -0
  99. package/dist/components/ApplicationForm/renderUserData.d.ts +4 -0
  100. package/dist/components/ApplicationForm/renderUserData.js +10 -0
  101. package/dist/components/ApplicationForm/renderUserData.js.map +1 -0
  102. package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  103. package/dist/components/ApplicationForm/renderWedDataOrganization.js +2 -2
  104. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  105. package/dist/components/ApplicationForm/validators.d.ts +1 -0
  106. package/dist/components/ApplicationForm/validators.js +2 -1
  107. package/dist/components/ApplicationForm/validators.js.map +1 -1
  108. package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  109. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  110. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  111. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  112. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  113. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  114. package/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
  115. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  116. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  117. package/dist/ui-kit/DatePicker/DatePicker.js +1 -1
  118. package/lib/common.css +1 -1
  119. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  120. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
  121. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  122. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
  123. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +1 -0
  124. package/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  125. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  126. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  127. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  128. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
  129. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  130. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  131. package/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  132. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  133. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
  134. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  135. package/lib/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  136. package/lib/components/ApplicationForm/ApplicationFormFeedback.js +69 -0
  137. package/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
  138. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  139. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  140. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
  141. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  142. package/lib/components/ApplicationForm/ApplicationFormWed.js +3 -2
  143. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  144. package/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
  145. package/lib/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  146. package/lib/components/ApplicationForm/DatePickerControl.js +2 -1
  147. package/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
  148. package/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  149. package/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
  150. package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  151. package/lib/components/ApplicationForm/InputControl.d.ts +1 -1
  152. package/lib/components/ApplicationForm/InputControl.js +2 -1
  153. package/lib/components/ApplicationForm/InputControl.js.map +1 -1
  154. package/lib/components/ApplicationForm/PhoneInputControl.js +2 -1
  155. package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  156. package/lib/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  157. package/lib/components/ApplicationForm/feedbackTypes.js +19 -0
  158. package/lib/components/ApplicationForm/feedbackTypes.js.map +1 -0
  159. package/lib/components/ApplicationForm/formStyle.d.ts +1 -0
  160. package/lib/components/ApplicationForm/formStyle.js +2 -0
  161. package/lib/components/ApplicationForm/formStyle.js.map +1 -0
  162. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -3
  163. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -2
  164. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  165. package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  166. package/lib/components/ApplicationForm/renderAcquiringRegion.js +2 -2
  167. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  168. package/lib/components/ApplicationForm/renderAgreementWithSubmit.d.ts +4 -0
  169. package/lib/components/ApplicationForm/renderAgreementWithSubmit.js +9 -0
  170. package/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
  171. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  172. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -2
  173. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  174. package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -2
  175. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +2 -2
  176. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  177. package/lib/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  178. package/lib/components/ApplicationForm/renderCreditParameters.js +3 -3
  179. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  180. package/lib/components/ApplicationForm/renderIndividualsFields.d.ts +1 -0
  181. package/lib/components/ApplicationForm/renderIndividualsFields.js +2 -2
  182. package/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  183. package/lib/components/ApplicationForm/renderQuestionsInterested.js +2 -1
  184. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  185. package/lib/components/ApplicationForm/renderRegion.d.ts +1 -1
  186. package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  187. package/lib/components/ApplicationForm/renderRegionDepartment.js +2 -2
  188. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  189. package/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  190. package/lib/components/ApplicationForm/renderTextarea.d.ts +2 -0
  191. package/lib/components/ApplicationForm/renderTextarea.js +6 -0
  192. package/lib/components/ApplicationForm/renderTextarea.js.map +1 -0
  193. package/lib/components/ApplicationForm/renderUserData.d.ts +3 -0
  194. package/lib/components/ApplicationForm/renderUserData.js +7 -0
  195. package/lib/components/ApplicationForm/renderUserData.js.map +1 -0
  196. package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  197. package/lib/components/ApplicationForm/renderWedDataOrganization.js +2 -2
  198. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  199. package/lib/components/ApplicationForm/validators.d.ts +1 -0
  200. package/lib/components/ApplicationForm/validators.js +1 -0
  201. package/lib/components/ApplicationForm/validators.js.map +1 -1
  202. package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  203. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  204. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  205. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  206. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  207. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  208. package/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
  209. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  210. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  211. package/lib/ui-kit/DatePicker/DatePicker.js +1 -1
  212. package/mobile/bundle/bundle.umd.js +125 -53
  213. package/mobile/bundle/bundle.umd.min.js +1 -1
  214. package/mobile/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  215. package/mobile/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  216. package/mobile/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  217. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  218. package/mobile/bundle/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  219. package/mobile/bundle/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  220. package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  221. package/mobile/bundle/components/ApplicationForm/InputControl.d.ts +1 -1
  222. package/mobile/bundle/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  223. package/mobile/bundle/components/ApplicationForm/formStyle.d.ts +1 -0
  224. package/mobile/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
  225. package/mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  226. package/mobile/bundle/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
  227. package/mobile/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  228. package/mobile/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
  229. package/mobile/bundle/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  230. package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +1 -1
  231. package/mobile/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  232. package/mobile/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  233. package/mobile/bundle/components/ApplicationForm/renderTextarea.d.ts +3 -0
  234. package/mobile/bundle/components/ApplicationForm/renderUserData.d.ts +4 -0
  235. package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  236. package/mobile/bundle/components/ApplicationForm/validators.d.ts +1 -0
  237. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  238. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  239. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
  240. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  241. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  242. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  243. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  244. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  245. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
  246. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  247. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  248. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  249. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  250. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
  251. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  252. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  253. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js +71 -0
  254. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
  255. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  256. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  257. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
  258. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  259. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +3 -2
  260. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  261. package/mobile/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
  262. package/mobile/dist/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  263. package/mobile/dist/components/ApplicationForm/DatePickerControl.js +2 -1
  264. package/mobile/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
  265. package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  266. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
  267. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  268. package/mobile/dist/components/ApplicationForm/InputControl.d.ts +1 -1
  269. package/mobile/dist/components/ApplicationForm/InputControl.js +2 -1
  270. package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
  271. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +2 -1
  272. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  273. package/mobile/dist/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  274. package/mobile/dist/components/ApplicationForm/feedbackTypes.js +21 -0
  275. package/mobile/dist/components/ApplicationForm/feedbackTypes.js.map +1 -0
  276. package/mobile/dist/components/ApplicationForm/formStyle.d.ts +1 -0
  277. package/mobile/dist/components/ApplicationForm/formStyle.js +4 -0
  278. package/mobile/dist/components/ApplicationForm/formStyle.js.map +1 -0
  279. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
  280. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
  281. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  282. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  283. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  284. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  285. package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
  286. package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js +12 -0
  287. package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
  288. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  289. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  290. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  291. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
  292. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
  293. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  294. package/mobile/dist/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  295. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +2 -2
  296. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  297. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js +1 -1
  298. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  299. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +2 -1
  300. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  301. package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +1 -1
  302. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  303. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
  304. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  305. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  306. package/mobile/dist/components/ApplicationForm/renderTextarea.d.ts +3 -0
  307. package/mobile/dist/components/ApplicationForm/renderTextarea.js +9 -0
  308. package/mobile/dist/components/ApplicationForm/renderTextarea.js.map +1 -0
  309. package/mobile/dist/components/ApplicationForm/renderUserData.d.ts +4 -0
  310. package/mobile/dist/components/ApplicationForm/renderUserData.js +10 -0
  311. package/mobile/dist/components/ApplicationForm/renderUserData.js.map +1 -0
  312. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  313. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +2 -2
  314. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  315. package/mobile/dist/components/ApplicationForm/validators.d.ts +1 -0
  316. package/mobile/dist/components/ApplicationForm/validators.js +2 -1
  317. package/mobile/dist/components/ApplicationForm/validators.js.map +1 -1
  318. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  319. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  320. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  321. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  322. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  323. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  324. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
  325. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  326. package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  327. package/mobile/dist/ui-kit/DatePicker/DatePicker.js +1 -1
  328. package/mobile/lib/common.css +1 -1
  329. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  330. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
  331. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  332. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  333. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  334. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  335. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  336. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
  337. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  338. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  339. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  340. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  341. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
  342. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  343. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  344. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js +69 -0
  345. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
  346. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  347. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  348. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
  349. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  350. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +3 -2
  351. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  352. package/mobile/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
  353. package/mobile/lib/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  354. package/mobile/lib/components/ApplicationForm/DatePickerControl.js +2 -1
  355. package/mobile/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
  356. package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  357. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
  358. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  359. package/mobile/lib/components/ApplicationForm/InputControl.d.ts +1 -1
  360. package/mobile/lib/components/ApplicationForm/InputControl.js +2 -1
  361. package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
  362. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +2 -1
  363. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  364. package/mobile/lib/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  365. package/mobile/lib/components/ApplicationForm/feedbackTypes.js +19 -0
  366. package/mobile/lib/components/ApplicationForm/feedbackTypes.js.map +1 -0
  367. package/mobile/lib/components/ApplicationForm/formStyle.d.ts +1 -0
  368. package/mobile/lib/components/ApplicationForm/formStyle.js +2 -0
  369. package/mobile/lib/components/ApplicationForm/formStyle.js.map +1 -0
  370. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
  371. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
  372. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  373. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  374. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +2 -2
  375. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  376. package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
  377. package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js +9 -0
  378. package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
  379. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  380. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -2
  381. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  382. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
  383. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
  384. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  385. package/mobile/lib/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  386. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +3 -3
  387. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  388. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js +2 -2
  389. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  390. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +2 -1
  391. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  392. package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +1 -1
  393. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  394. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +2 -2
  395. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  396. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  397. package/mobile/lib/components/ApplicationForm/renderTextarea.d.ts +3 -0
  398. package/mobile/lib/components/ApplicationForm/renderTextarea.js +6 -0
  399. package/mobile/lib/components/ApplicationForm/renderTextarea.js.map +1 -0
  400. package/mobile/lib/components/ApplicationForm/renderUserData.d.ts +4 -0
  401. package/mobile/lib/components/ApplicationForm/renderUserData.js +7 -0
  402. package/mobile/lib/components/ApplicationForm/renderUserData.js.map +1 -0
  403. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  404. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +2 -2
  405. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  406. package/mobile/lib/components/ApplicationForm/validators.d.ts +1 -0
  407. package/mobile/lib/components/ApplicationForm/validators.js +1 -0
  408. package/mobile/lib/components/ApplicationForm/validators.js.map +1 -1
  409. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  410. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  411. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  412. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  413. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  414. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  415. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
  416. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  417. package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  418. package/mobile/lib/ui-kit/DatePicker/DatePicker.js +1 -1
  419. package/mobile/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +10 -3
  420. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +16 -7
  421. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +11 -2
  422. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +11 -1
  423. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -8
  424. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +12 -23
  425. package/mobile/src/components/ApplicationForm/ApplicationFormFeedback.tsx +190 -0
  426. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
  427. package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +30 -13
  428. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +10 -7
  429. package/mobile/src/components/ApplicationForm/CreditParameters.ts +0 -1
  430. package/mobile/src/components/ApplicationForm/DatePickerControl.tsx +3 -2
  431. package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
  432. package/mobile/src/components/ApplicationForm/InputControl.tsx +3 -2
  433. package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +2 -1
  434. package/mobile/src/components/ApplicationForm/feedbackTypes.ts +22 -0
  435. package/mobile/src/components/ApplicationForm/formStyle.ts +1 -0
  436. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +24 -24
  437. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +7 -5
  438. package/mobile/src/components/ApplicationForm/renderAgreementWithSubmit.tsx +26 -0
  439. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +7 -20
  440. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +31 -31
  441. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +30 -30
  442. package/mobile/src/components/ApplicationForm/renderIndividualsFields.tsx +8 -26
  443. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +35 -32
  444. package/mobile/src/components/ApplicationForm/renderRegion.tsx +1 -1
  445. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +11 -4
  446. package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
  447. package/mobile/src/components/ApplicationForm/renderTextarea.tsx +30 -0
  448. package/mobile/src/components/ApplicationForm/renderUserData.tsx +18 -0
  449. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +12 -24
  450. package/mobile/src/components/ApplicationForm/validators.ts +4 -0
  451. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  452. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
  453. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  454. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
  455. package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +1 -0
  456. package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +1 -1
  457. package/package.json +1 -1
  458. package/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +10 -3
  459. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +10 -0
  460. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +10 -0
  461. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +16 -7
  462. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +11 -2
  463. package/src/components/ApplicationForm/ApplicationFormContent.ts +11 -1
  464. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -8
  465. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +12 -23
  466. package/src/components/ApplicationForm/ApplicationFormFeedback.tsx +190 -0
  467. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
  468. package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +30 -13
  469. package/src/components/ApplicationForm/ApplicationFormWed.tsx +10 -7
  470. package/src/components/ApplicationForm/CreditParameters.ts +0 -1
  471. package/src/components/ApplicationForm/DatePickerControl.tsx +3 -2
  472. package/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
  473. package/src/components/ApplicationForm/InputControl.tsx +3 -2
  474. package/src/components/ApplicationForm/PhoneInputControl.tsx +2 -1
  475. package/src/components/ApplicationForm/feedbackTypes.ts +22 -0
  476. package/src/components/ApplicationForm/formStyle.ts +1 -0
  477. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +12 -21
  478. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +7 -5
  479. package/src/components/ApplicationForm/renderAgreementWithSubmit.tsx +26 -0
  480. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +7 -20
  481. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +13 -20
  482. package/src/components/ApplicationForm/renderCreditParameters.tsx +30 -30
  483. package/src/components/ApplicationForm/renderIndividualsFields.tsx +8 -26
  484. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +35 -32
  485. package/src/components/ApplicationForm/renderRegion.tsx +1 -1
  486. package/src/components/ApplicationForm/renderRegionDepartment.tsx +11 -4
  487. package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
  488. package/src/components/ApplicationForm/renderTextarea.tsx +30 -0
  489. package/src/components/ApplicationForm/renderUserData.tsx +18 -0
  490. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +12 -24
  491. package/src/components/ApplicationForm/validators.ts +4 -0
  492. package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  493. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
  494. package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  495. package/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
  496. package/src/ui-kit/Checkbox/CheckboxProps.ts +1 -0
  497. package/src/ui-kit/DatePicker/DatePicker.tsx +1 -1
  498. package/bundle/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  499. package/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  500. package/bundle/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  501. package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +0 -4
  502. package/bundle/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +0 -4
  503. package/bundle/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
  504. package/dist/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  505. package/dist/components/ApplicationForm/AcquiringFormState.js +0 -2
  506. package/dist/components/ApplicationForm/AcquiringFormState.js.map +0 -1
  507. package/dist/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  508. package/dist/components/ApplicationForm/BusinessCardFormState.js +0 -2
  509. package/dist/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
  510. package/dist/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  511. package/dist/components/ApplicationForm/normalizeSelected.js +0 -5
  512. package/dist/components/ApplicationForm/normalizeSelected.js.map +0 -1
  513. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +0 -4
  514. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js +0 -10
  515. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js.map +0 -1
  516. package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +0 -4
  517. package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.js +0 -10
  518. package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.js.map +0 -1
  519. package/dist/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
  520. package/dist/components/ApplicationForm/renderWedTextarea.js +0 -12
  521. package/dist/components/ApplicationForm/renderWedTextarea.js.map +0 -1
  522. package/lib/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  523. package/lib/components/ApplicationForm/AcquiringFormState.js +0 -2
  524. package/lib/components/ApplicationForm/AcquiringFormState.js.map +0 -1
  525. package/lib/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  526. package/lib/components/ApplicationForm/BusinessCardFormState.js +0 -2
  527. package/lib/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
  528. package/lib/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  529. package/lib/components/ApplicationForm/normalizeSelected.js +0 -2
  530. package/lib/components/ApplicationForm/normalizeSelected.js.map +0 -1
  531. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +0 -3
  532. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js +0 -7
  533. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js.map +0 -1
  534. package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +0 -3
  535. package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.js +0 -7
  536. package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.js.map +0 -1
  537. package/lib/components/ApplicationForm/renderWedTextarea.d.ts +0 -3
  538. package/lib/components/ApplicationForm/renderWedTextarea.js +0 -9
  539. package/lib/components/ApplicationForm/renderWedTextarea.js.map +0 -1
  540. package/mobile/bundle/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  541. package/mobile/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  542. package/mobile/bundle/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  543. package/mobile/bundle/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
  544. package/mobile/dist/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  545. package/mobile/dist/components/ApplicationForm/AcquiringFormState.js +0 -2
  546. package/mobile/dist/components/ApplicationForm/AcquiringFormState.js.map +0 -1
  547. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  548. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js +0 -2
  549. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
  550. package/mobile/dist/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  551. package/mobile/dist/components/ApplicationForm/normalizeSelected.js +0 -5
  552. package/mobile/dist/components/ApplicationForm/normalizeSelected.js.map +0 -1
  553. package/mobile/dist/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
  554. package/mobile/dist/components/ApplicationForm/renderWedTextarea.js +0 -12
  555. package/mobile/dist/components/ApplicationForm/renderWedTextarea.js.map +0 -1
  556. package/mobile/lib/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  557. package/mobile/lib/components/ApplicationForm/AcquiringFormState.js +0 -2
  558. package/mobile/lib/components/ApplicationForm/AcquiringFormState.js.map +0 -1
  559. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  560. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js +0 -2
  561. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
  562. package/mobile/lib/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  563. package/mobile/lib/components/ApplicationForm/normalizeSelected.js +0 -2
  564. package/mobile/lib/components/ApplicationForm/normalizeSelected.js.map +0 -1
  565. package/mobile/lib/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
  566. package/mobile/lib/components/ApplicationForm/renderWedTextarea.js +0 -9
  567. package/mobile/lib/components/ApplicationForm/renderWedTextarea.js.map +0 -1
  568. package/mobile/src/components/ApplicationForm/AcquiringFormState.ts +0 -12
  569. package/mobile/src/components/ApplicationForm/BusinessCardFormState.ts +0 -9
  570. package/mobile/src/components/ApplicationForm/normalizeSelected.ts +0 -4
  571. package/mobile/src/components/ApplicationForm/renderWedTextarea.tsx +0 -33
  572. package/src/components/ApplicationForm/AcquiringFormState.ts +0 -12
  573. package/src/components/ApplicationForm/BusinessCardFormState.ts +0 -9
  574. package/src/components/ApplicationForm/normalizeSelected.ts +0 -4
  575. package/src/components/ApplicationForm/renderAcquiringDataOrganization.mobile.tsx +0 -31
  576. package/src/components/ApplicationForm/renderCreditDataOrganization.mobile.tsx +0 -39
  577. package/src/components/ApplicationForm/renderWedTextarea.tsx +0 -33
@@ -973,6 +973,8 @@
973
973
 
974
974
  const Footnote = JSX(({ text, link }) => (jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: [jsx(Text, { children: text || 'Нажимая кнопку, вы подтверждаете согласие с ' }), link ? (jsx(LinkButton, { href: link.href, ariaLabel: "\u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043D\u043D\u044B\u0445", target: link.target || '', className: "text-primary-main", children: jsx(Text, { children: link.text }) })) : null] })));
975
975
 
976
+ const formStyle$1 = 'container space-y-lg';
977
+
976
978
  const withValidator = (props, validator) => {
977
979
  const { value, isDirty } = props;
978
980
  const errors = isDirty ? validator(value) : [];
@@ -983,6 +985,9 @@
983
985
  };
984
986
  };
985
987
 
988
+ const ApplicationFieldsetLayout = JSX(({ title, firstChildren, secondChildren }) => (jsxs("fieldset", { className: "grid @xl:flex @xl:justify-between gap-lg border-b border-b-main-divider @xl:border-none", children: [title ? (jsx("legend", { className: "w-full", children: jsx(Heading, { title: title, headingType: "h6", className: "@xl:text-center" }) })) : null, firstChildren, secondChildren] })));
989
+ const formChildrenStyle = '@xl:w-1/2 space-y-s';
990
+
986
991
  const Input = JSX(({ key, className = '', inputClassName = '', id, name, type = 'text', label, placeholder, value = '', valid = true, children, onChange, onFocus, onBlur, pattern, autoFocus = false, }) => {
987
992
  const inputRef = useRef(null);
988
993
  const handleChange = useCallback((e) => {
@@ -1002,7 +1007,7 @@
1002
1007
 
1003
1008
  const renderErrorText = (error) => (jsx("div", { className: "h-4", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
1004
1009
 
1005
- const InputControl = JSX(({ className, label, value = '', error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), renderErrorText(error)] })));
1010
+ const InputControl = JSX(({ className, label, value = '', error, onChange, onBlur }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), renderErrorText(error)] })));
1006
1011
 
1007
1012
  const isPlaceholder = (_) => _ === '_';
1008
1013
  const isDigit = (_) => /\d/.test(_);
@@ -1023,7 +1028,7 @@
1023
1028
  return (jsx(Input, { onChange: handleChange, onFocus: (event) => handleChange(event?.target?.value || ''), ...inputProps, children: children }));
1024
1029
  });
1025
1030
 
1026
- const PhoneInputControl = JSX(({ className, label, value, error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur, placeholder: "+7 (___) ___-__-__" }), renderErrorText(error)] })));
1031
+ const PhoneInputControl = JSX(({ className, label, value, error, onChange, onBlur }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur, placeholder: "+7 (___) ___-__-__" }), renderErrorText(error)] })));
1027
1032
 
1028
1033
  const pattern = (regexp) => validator((_) => typeof _ === 'string' && regexp.test(_));
1029
1034
 
@@ -1034,8 +1039,9 @@
1034
1039
  const nameValidator = validator((_) => typeof _ === 'string' && _.length > 1)(ERROR_MESSAGE);
1035
1040
  const innValidator = validator((_) => typeof _ === 'string' && (_.length === 10 || _.length === 12))(ERROR_MESSAGE);
1036
1041
  const phoneValidator = pattern(/^(\+7)?[\s-]?\(?[0-9]{3}\)?[\s-]?[0-9]{3}[\s-]?[0-9]{2}[\s-]?[0-9]{2}$/)(ERROR_MESSAGE);
1042
+ const consentDataProcessingValidator = validator((_) => typeof _ === 'boolean' && _)(ERROR_MESSAGE);
1037
1043
 
1038
- const renderAcquiringDataOrganization = (field) => (jsxs("div", { className: "space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }));
1044
+ const renderAcquiringDataOrganization = (field, title) => (jsx(ApplicationFieldsetLayout, { title: title, firstChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) })] }), secondChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }) }));
1039
1045
 
1040
1046
  const ACQUIRING_TYPES = [
1041
1047
  {
@@ -1055,9 +1061,6 @@
1055
1061
  },
1056
1062
  ];
1057
1063
 
1058
- const ApplicationFieldsetLayout = JSX(({ firstChildren, secondChildren }) => (jsxs("fieldset", { className: "grig @xl:flex @xl:justify-between gap-lg border-b border-b-main-divider @xl:border-none", children: [firstChildren, secondChildren] })));
1059
- const childrenClassName = '@xl:w-1/2 space-y-s';
1060
-
1061
1064
  function useBool(defaultValue = false) {
1062
1065
  const [value, setValue] = useState(defaultValue);
1063
1066
  const setTrue = useCallback(() => setValue(true), []);
@@ -1162,7 +1165,7 @@
1162
1165
 
1163
1166
  const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }), renderErrorText(error)] })));
1164
1167
 
1165
- const renderAcquiringRegion = ({ regions, field }) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433", options: ACQUIRING_TYPES.map(({ name: key = '' }) => ({ key, text: key })), ...withValidator(field('acquiringType'), defaultValidator) }) }), secondChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }) }));
1168
+ const renderAcquiringRegion = ({ regions, field, title }) => (jsx(ApplicationFieldsetLayout, { title: title, firstChildren: jsx("div", { className: formChildrenStyle, children: jsx(SelectControl, { label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433", options: ACQUIRING_TYPES.map(({ name: key = '' }) => ({ key, text: key })), ...withValidator(field('acquiringType'), defaultValidator) }) }), secondChildren: jsx("div", { className: formChildrenStyle, children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }) }));
1166
1169
 
1167
1170
  const SlideCheckbox = JSX(({ value = false, text, type = 'checkbox', onChange }) => (jsxs("div", { role: type, "aria-checked": value, className: "flex justify-start items-center w-full cursor-pointer mb-s", onClick: () => onChange && onChange(!value), children: [jsx("div", { className: style('relative flex-shrink-0 duration-300 w-9 h-5 mr-s rounded-2xl', value ? 'bg-primary-main' : 'bg-main-divider'), children: jsx("div", { className: style('absolute opacity-80 duration-500 top-0.5 w-4 h-4 bg-white rounded-full', value ? 'left-1/2' : 'left-[5%]') }) }), text ? (jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text })) : null] })));
1168
1171
 
@@ -1200,7 +1203,7 @@
1200
1203
 
1201
1204
  const renderSubmitButton = (button, className) => (jsx(Button, { className: style('w-full @xl:w-auto', className), type: "submit", children: button?.text ? button.text : 'Отправить заявку' }));
1202
1205
 
1203
- const initialFormState$5 = {
1206
+ const initialFormState$6 = {
1204
1207
  acquiringType: { key: 'Торговый эквайринг' },
1205
1208
  fullName: '',
1206
1209
  inn: '',
@@ -1232,16 +1235,16 @@
1232
1235
  phone: phone.replace(/[^+\d]/g, ''),
1233
1236
  });
1234
1237
  }, [onSubmit]);
1235
- const [, { field, ...formProps }] = useForm(initialFormState$5, handleSubmit);
1238
+ const [, { field, ...formProps }] = useForm(initialFormState$6, handleSubmit);
1236
1239
  const regions = useGetRegions();
1237
- return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430 \u0438 \u0440\u0435\u0433\u0438\u043E\u043D", className: "@xl:text-center" }), renderAcquiringRegion({ regions, field }), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderAcquiringDataOrganization(field), renderSlideCheckboxes(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1240
+ return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderAcquiringRegion({ regions, field, title: 'Вид эквайринга и регион' }), renderAcquiringDataOrganization(field, 'Данные организации'), renderSlideCheckboxes(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1238
1241
  });
1239
1242
 
1240
- const renderBusinessCardDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }));
1243
+ const renderBusinessCardDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })] }), secondChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }));
1241
1244
 
1242
1245
  const renderRegion$1 = ({ regions, field }) => (jsx(SelectControl, { className: "w-full", label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }));
1243
1246
 
1244
- const initialFormState$4 = {
1247
+ const initialFormState$5 = {
1245
1248
  name: '',
1246
1249
  phone: '',
1247
1250
  inn: '',
@@ -1268,9 +1271,9 @@
1268
1271
  phone: phone.replace(/[^+\d]/g, ''),
1269
1272
  });
1270
1273
  }, [onSubmit]);
1271
- const [, { field, ...formProps }] = useForm(initialFormState$4, handleSubmit);
1274
+ const [, { field, ...formProps }] = useForm(initialFormState$5, handleSubmit);
1272
1275
  const regions = useGetRegions();
1273
- return (jsxs("form", { className: "container space-y-s", onSubmit: formProps.onSubmit, children: [renderRegion$1({ regions, field }), renderBusinessCardDataOrganization(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1276
+ return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderRegion$1({ regions, field }), renderBusinessCardDataOrganization(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1274
1277
  });
1275
1278
 
1276
1279
  const BRANCHES_URL = '/api/v1/branches';
@@ -1291,7 +1294,7 @@
1291
1294
  const MAX_CREDIT_TERM = 180;
1292
1295
  const ITEMS_CREDIT_TERM = ['От 1 мес', 'До 15 лет'];
1293
1296
 
1294
- const renderCreditDataOrganization = (field) => (jsx("div", { className: "pb-2xs border-b border-b-main-divider", children: jsxs("div", { className: "space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", ...withValidator(field('annualRevenue'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...field('mail') })] }) }));
1297
+ const renderCreditDataOrganization = (field, title) => (jsx(ApplicationFieldsetLayout, { title: title, firstChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), secondChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", ...withValidator(field('annualRevenue'), defaultValidator) }), jsx(InputControl, { label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }));
1295
1298
 
1296
1299
  const useNormalizedInput = (props, { normalize, format }) => {
1297
1300
  const { value, onFocus, onBlur, onChange } = props;
@@ -1351,14 +1354,14 @@
1351
1354
  const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
1352
1355
  const renderRangeCaption = (items) => (jsx("div", { className: "flex justify-between my-xs", children: items.map((item, i) => (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item }, String(i)))) }));
1353
1356
 
1354
- const renderCreditParameters = (field) => (jsxs("div", { className: "border-b border-b-main-divider @xl:border-none @xl:flex @xl:justify-between gap-lg", children: [jsxs("div", { className: "@xl:w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0443\u043C\u043C\u0430, \u20BD" }) }), jsx(InputRange, { items: ITEMS_CREDIT_AMOUNT, min: MIN_CREDIT_AMOUNT, max: MAX_CREDIT_AMOUNT, ...field('amount') })] }), jsxs("div", { className: "@xl:w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A, \u043C\u0435\u0441\u044F\u0446\u0435\u0432" }) }), jsx(InputRange, { items: ITEMS_CREDIT_TERM, min: MIN_CREDIT_TERM, max: MAX_CREDIT_TERM, ...field('term') })] })] }));
1357
+ const renderCreditParameters = (field, title) => (jsx(ApplicationFieldsetLayout, { title: title, firstChildren: jsx("div", { className: formChildrenStyle, children: jsx(InputRange, { title: "\u0421\u0443\u043C\u043C\u0430, \u20BD", items: ITEMS_CREDIT_AMOUNT, min: MIN_CREDIT_AMOUNT, max: MAX_CREDIT_AMOUNT, ...field('amount') }) }), secondChildren: jsx("div", { className: formChildrenStyle, children: jsx(InputRange, { title: "\u0421\u0440\u043E\u043A, \u043C\u0435\u0441\u044F\u0446\u0435\u0432", items: ITEMS_CREDIT_TERM, min: MIN_CREDIT_TERM, max: MAX_CREDIT_TERM, ...field('term') }) }) }));
1355
1358
 
1356
- const renderRegionDepartment = ({ regions, branches, field }) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }), secondChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
1359
+ const renderRegionDepartment = ({ title, regions, branches, field, }) => (jsx(ApplicationFieldsetLayout, { title: title, firstChildren: jsx("div", { className: formChildrenStyle, children: jsx(SelectControl, { label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }), secondChildren: jsx("div", { className: formChildrenStyle, children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
1357
1360
  key: branchCode,
1358
1361
  text: address,
1359
1362
  })), ...withValidator(field('department'), defaultValidator) }) }) }));
1360
1363
 
1361
- const initialFormState$3 = {
1364
+ const initialFormState$4 = {
1362
1365
  amount: MIN_CREDIT_AMOUNT,
1363
1366
  term: 12,
1364
1367
  fullName: '',
@@ -1393,13 +1396,13 @@
1393
1396
  partnerComments: `Сумма=${amount}/Срок=${term}/Выручка=${annualRevenue}`,
1394
1397
  });
1395
1398
  }, [onSubmit]);
1396
- const [formState, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
1399
+ const [formState, { field, ...formProps }] = useForm(initialFormState$4, handleSubmit);
1397
1400
  const regions = useGetRegions();
1398
1401
  const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
1399
- return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", className: "@xl:text-center" }), renderCreditParameters(field), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderCreditDataOrganization(field), jsx(Heading, { headingType: "h6", title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", className: "@xl:text-center" }), renderRegionDepartment({ regions, branches, field }), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1402
+ return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderCreditParameters(field, 'Параметры'), renderCreditDataOrganization(field, 'Данные организации'), renderRegionDepartment({ regions, branches, field, title: 'Офис банка' }), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1400
1403
  });
1401
1404
 
1402
- const initialFormState$2 = {
1405
+ const initialFormState$3 = {
1403
1406
  name: '',
1404
1407
  phone: '',
1405
1408
  };
@@ -1417,21 +1420,28 @@
1417
1420
  phone: phone.replace(/[^+\d]/g, ''),
1418
1421
  });
1419
1422
  }, [onSubmit]);
1420
- const [, { field, ...formProps }] = useForm(initialFormState$2, handleSubmit);
1421
- return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0437\u0430\u044F\u0432\u043A\u0443 \u0438 \u043C\u044B \u043E\u0442\u0432\u0435\u0442\u0438\u043C \u043D\u0430 \u043B\u044E\u0431\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u0434\u0435\u043F\u043E\u0437\u0438\u0442\u0430\u043C", className: "@xl:text-center mb-m" }), jsxs("div", { className: "max-w-[560px] m-auto space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: "flex justify-between flex-col-reverse @xl:items-center @xl:flex-row max-w-[560px] m-auto", children: [jsx("div", { className: "flex-1", children: jsx(Footnote, { link: link }) }), renderSubmitButton(button)] })] }));
1423
+ const [, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
1424
+ return (jsx("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: jsx(ApplicationFieldsetLayout, { title: "\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0437\u0430\u044F\u0432\u043A\u0443 \u0438 \u043C\u044B \u043E\u0442\u0432\u0435\u0442\u0438\u043C \u043D\u0430 \u043B\u044E\u0431\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u0434\u0435\u043F\u043E\u0437\u0438\u0442\u0430\u043C", firstChildren: jsxs("div", { className: "w-full max-w-xl space-y-s m-auto", children: [jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), renderSubmitButton(button), jsx(Footnote, { link: link })] }) }) }));
1422
1425
  });
1423
1426
 
1424
- const ApplicationFormGrantSupport = JSX((props) => {
1425
- const { button, sourceBookDir } = props;
1426
- const { regions } = useSWRResource(sourceBookDir || 'regions-grant-support');
1427
- const [region, setRegion] = useState({ key: '' });
1428
- const buttonStyle = getRegularButtonClasses({
1429
- className: 'text-white',
1430
- version: button?.version,
1431
- });
1432
- const regionHref = regions?.find((_) => _.name === region.key)?.href;
1433
- return (jsxs("div", { className: "container space-y-s @xl:space-y-lg", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: regions.map(({ name = '' }) => ({ key: name, text: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(LinkButton, { href: regionHref, target: "_blank", className: style('p-m w-full @xl:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
1434
- });
1427
+ const FEEDBACK_TYPES = [
1428
+ {
1429
+ text: 'Задать вопрос по продуктам и услугам',
1430
+ key: 'FEEDBACK',
1431
+ },
1432
+ {
1433
+ text: 'Качество обслуживания',
1434
+ key: 'FEEDBACK_QC',
1435
+ },
1436
+ ];
1437
+ const FEEDBACK_METHOD = [
1438
+ { key: 'phone', text: 'Телефонный звонок' },
1439
+ { key: 'mail', text: 'Электронное сообщение' },
1440
+ ];
1441
+ const SERVICE_DIRECTIONS = [
1442
+ { key: 'Физическое лицо' },
1443
+ { key: 'Юридическое лицо / ИП' },
1444
+ ];
1435
1445
 
1436
1446
  const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
1437
1447
  return (jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, viewBox: viewBox, fill: fill, width: width, height: height, children: paths.map(({ d, fill: pathFill, ...options }, i) => {
@@ -1461,6 +1471,11 @@
1461
1471
  });
1462
1472
  const checkboxStyle = (value) => style('rounded border', value ? 'bg-primary-main' : '');
1463
1473
 
1474
+ const renderAgreementWithSubmit = (consentDataProcessing, link, button) => (jsxs("div", { className: "flex w-full justify-between items-baseline", children: [jsxs("div", { children: [jsxs("div", { className: "flex gap-3", children: [jsx(Checkbox, { ...consentDataProcessing }), jsx(Footnote, { text: "\u0421\u043E\u0433\u043B\u0430\u0441\u0435\u043D \u0441 ", link: link })] }), renderErrorText(withValidator(consentDataProcessing, consentDataProcessingValidator).error)] }), renderSubmitButton(button)] }));
1475
+
1476
+ const activeTextareaStyles = 'hover:border-primary-hover active:focus:border-primary-text focus:border-primary-text';
1477
+ const renderTextarea = (textField, text, placeholder = '') => (jsxs("label", { className: "space-y-xs", htmlFor: "textarea", children: [text ? (jsx("div", { children: jsx(Text, { size: "text-m", font: "font-light", children: text }) })) : null, jsx("textarea", { id: "textarea", placeholder: placeholder, className: style('block w-full resize-y min-h-24 p-m outline-none border rounded-md border-gray', activeTextareaStyles), value: textField.value, onInput: ((e) => textField.onChange && textField.onChange(e.target?.value || '')) })] }));
1478
+
1464
1479
  const formatDate = (date, toTimeStamp = false) => {
1465
1480
  if (typeof date === 'string') {
1466
1481
  return date.split('-').reverse().join('.');
@@ -1610,13 +1625,74 @@
1610
1625
  selectedMonth,
1611
1626
  showCalendar,
1612
1627
  });
1613
- return (jsxs("div", { className: style(className, 'relative'), ref: ref, children: [jsx(Text, { size: "text-m", "font-weight": "font-light", children: label }), renderDatePickerForm(handleChangeVisibleCalendar, value, valid), showCalendar ? (jsxs("div", { className: "absolute bg-white z-10 select-none", children: [jsxs("div", { className: "flex gap-s", children: [jsx("div", { className: "my-auto", onClick: handlePrevMonth, children: jsx(Icon, { ...ICON_PROPS, className: "-rotate-90 cursor-pointer" }) }), jsx(Select, { onChange: handleSelectMonth, value: { key: months[selectedMonth] }, options: monthsOptions, ...SELECT_PROPS }), jsx(Select, { onChange: handleSelectYear, value: { key: String(selectedYear) }, options: yearsOptions, ...SELECT_PROPS }), jsx("div", { className: "my-auto", onClick: handleNextMonth, children: jsx(Icon, { ...ICON_PROPS, className: "rotate-90 cursor-pointer" }) })] }), jsx(Calendar, { today: value, currentMonth: selectedMonth, currentYear: selectedYear, onDateSelect: onChange, min: minDate, max: maxDate })] })) : null] }));
1628
+ return (jsxs("div", { className: style(className, 'relative'), ref: ref, children: [jsx(Text, { size: "text-m", "font-weight": "font-light", children: label }), renderDatePickerForm(handleChangeVisibleCalendar, value, valid), showCalendar ? (jsxs("div", { className: "absolute bg-white z-20 select-none", children: [jsxs("div", { className: "flex gap-s", children: [jsx("div", { className: "my-auto", onClick: handlePrevMonth, children: jsx(Icon, { ...ICON_PROPS, className: "-rotate-90 cursor-pointer" }) }), jsx(Select, { onChange: handleSelectMonth, value: { key: months[selectedMonth] }, options: monthsOptions, ...SELECT_PROPS }), jsx(Select, { onChange: handleSelectYear, value: { key: String(selectedYear) }, options: yearsOptions, ...SELECT_PROPS }), jsx("div", { className: "my-auto", onClick: handleNextMonth, children: jsx(Icon, { ...ICON_PROPS, className: "rotate-90 cursor-pointer" }) })] }), jsx(Calendar, { today: value, currentMonth: selectedMonth, currentYear: selectedYear, onDateSelect: onChange, min: minDate, max: maxDate })] })) : null] }));
1614
1629
  });
1615
1630
  const renderDatePickerForm = (handleChangeVisibleCalendar, value, valid) => (jsxs("div", { onClick: handleChangeVisibleCalendar, className: style(formStyle, valid ? 'border-gray' : 'border-error'), children: [jsx(Paragraph, { children: value && formatDate(value) }), jsx(Icon, { ...ICON_PROPS, name: "CalendarIcon" })] }));
1616
1631
 
1617
- const DatePickerControl = JSX(({ className, label, value = undefined, error, onChange }) => (jsxs("div", { className: className, children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx(DatePicker, { value: value, onChange: onChange, valid: Boolean(!error) }), renderErrorText(error)] })));
1632
+ const DatePickerControl = JSX(({ className, label, value = undefined, error, onChange }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx(DatePicker, { value: value, onChange: onChange, valid: Boolean(!error) }), renderErrorText(error)] })));
1633
+
1634
+ const renderUserData = (field) => (jsxs("div", { children: [jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F*", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { label: "\u0418\u043C\u044F*", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...withValidator(field('middleName'), nameValidator) }), jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F*", ...withValidator(field('date'), defaultValidator) })] }));
1635
+
1636
+ const initialFormState$2 = {
1637
+ typeForm: { key: 'FEEDBACK', text: 'Задать вопрос по продуктам и услугам' },
1638
+ serviceDirection: { key: 'Физическое лицо' },
1639
+ surname: '',
1640
+ name: '',
1641
+ middleName: '',
1642
+ date: undefined,
1643
+ feedbackMethod: { key: 'Телефонный звонок' },
1644
+ phone: '',
1645
+ phoneAdditional: '',
1646
+ mail: '',
1647
+ text: '',
1648
+ comment: '',
1649
+ consentDataProcessing: false,
1650
+ };
1651
+ const feedbackValidator = objectValidator({
1652
+ typeForm: defaultValidator,
1653
+ region: defaultValidator,
1654
+ department: defaultValidator,
1655
+ name: nameValidator,
1656
+ date: defaultValidator,
1657
+ feedbackMethod: defaultValidator,
1658
+ phone: phoneValidator,
1659
+ mail: defaultValidator,
1660
+ consentDataProcessing: consentDataProcessingValidator,
1661
+ inn: innValidator,
1662
+ });
1663
+ const ApplicationFormFeedback = JSX(({ button, link, onSubmit }) => {
1664
+ const handleSubmit = useCallback((formState) => {
1665
+ const submitData = {
1666
+ ...formState,
1667
+ typeForm: formState.typeForm.key,
1668
+ region: formState.region?.text || '',
1669
+ department: formState.department?.text || '',
1670
+ phone: formState.phone.replace(/[^+\d]/g, ''),
1671
+ };
1672
+ isValidationSuccess(feedbackValidator(formState)) && onSubmit(submitData);
1673
+ }, [onSubmit]);
1674
+ const [formState, { field, ...formProps }] = useForm(initialFormState$2, handleSubmit);
1675
+ const regions = useGetRegions();
1676
+ const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
1677
+ const isQualityService = field('typeForm').value?.key === 'FEEDBACK_QC';
1678
+ const isLegalEntity = isQualityService && field('serviceDirection').value?.key === 'Юридическое лицо / ИП';
1679
+ return (jsx("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: "w-full max-w-xl space-y-s m-auto", children: [jsx(SelectControl, { label: "\u0422\u0435\u043C\u0430*", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0435\u043C\u0443", options: FEEDBACK_TYPES, ...withValidator(field('typeForm'), defaultValidator) }), isQualityService ? (jsx(SelectControl, { label: "\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F*", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435", options: SERVICE_DIRECTIONS, ...withValidator(field('serviceDirection'), defaultValidator) })) : null, jsx(SelectControl, { label: "\u0424\u0438\u043B\u0438\u0430\u043B \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F*", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }), jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
1680
+ key: branchCode,
1681
+ text: address,
1682
+ })), ...withValidator(field('department'), defaultValidator) }), renderUserData(field), isLegalEntity ? (jsxs("div", { children: [jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) })] })) : null, jsx(SelectControl, { label: "\u0421\u043F\u043E\u0441\u043E\u0431 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043E\u0442\u0432\u0435\u0442\u0430*", options: FEEDBACK_METHOD.map(({ key: key = '' }) => ({ key, text: key })), ...withValidator(field('feedbackMethod'), defaultValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D*", ...withValidator(field('phone'), phoneValidator) }), isQualityService ? (jsxs("div", { children: [jsx(PhoneInputControl, { label: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0442\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phoneAdditional'), phoneValidator) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) }), jsx(InputControl, { label: "\u0424\u0418\u041E \u0438\u043B\u0438 \u0434\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u0432\u0448\u0435\u0433\u043E \u0412\u0430\u0441 \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A\u0430 \u0411\u0430\u043D\u043A\u0430", ...withValidator(field('bankEmpolee'), defaultValidator) }), jsx(InputControl, { label: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u0432 \u0411\u0430\u043D\u043A", ...withValidator(field('applicationDate'), defaultValidator) })] })) : (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })), renderTextarea(field('text'), 'Ваше сообщение*'), renderAgreementWithSubmit(field('consentDataProcessing'), link, button)] }) }) }));
1683
+ });
1618
1684
 
1619
- const renderIndividualsFields = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E", ...withValidator(field('middleName'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(DatePickerControl, { className: "shrink-0 w-full", label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...withValidator(field('date'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }));
1685
+ const ApplicationFormGrantSupport = JSX((props) => {
1686
+ const { button, sourceBookDir } = props;
1687
+ const { regions } = useSWRResource(sourceBookDir || 'regions-grant-support');
1688
+ const [region, setRegion] = useState({ key: '' });
1689
+ const buttonStyle = getRegularButtonClasses({
1690
+ className: 'text-white',
1691
+ version: button?.version,
1692
+ });
1693
+ const regionHref = regions?.find((_) => _.name === region.key)?.href;
1694
+ return (jsxs("div", { className: "container space-y-s", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: regions.map(({ name = '' }) => ({ key: name, text: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(LinkButton, { href: regionHref, target: "_blank", className: style('p-m w-full @xl:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
1695
+ });
1620
1696
 
1621
1697
  const initialFormState$1 = {
1622
1698
  surname: '',
@@ -1653,7 +1729,7 @@
1653
1729
  }, true);
1654
1730
  }, [onSubmit]);
1655
1731
  const [, { field, ...formProps }] = useForm(initialFormState$1, handleSubmit);
1656
- return (jsxs("form", { className: "container space-y-s", onSubmit: formProps.onSubmit, children: [renderIndividualsFields(field), jsxs("div", { className: "@xl:flex justify-between items-center", children: [jsxs("div", { className: "@xl:mb-0 mb-2 flex items-center gap-3", children: [jsx(Checkbox, { ...withValidator(field('consentDataProcessing'), defaultValidator) }), jsx(Footnote, { text: "\u0421\u043E\u0433\u043B\u0430\u0441\u0435\u043D \u0441 ", link: link })] }), renderSubmitButton(button)] })] }));
1732
+ return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E", ...withValidator(field('middleName'), nameValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), secondChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F*", ...withValidator(field('date'), defaultValidator) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }), renderAgreementWithSubmit(field('consentDataProcessing'), link, button)] }));
1657
1733
  });
1658
1734
 
1659
1735
  const renderContacts = () => (jsxs("div", { className: "flex gap-xl", children: [jsxs("a", { className: "flex gap-s items-center text-primary-text no-underline", href: `tel:8 (800) 200-78-70`, "aria-label": "8 (800) 200-78-70", children: [jsx(Img, { image: { icon: 'PhoneIcon' }, width: "24", height: "24" }), jsx("span", { children: "8 (800) 200-78-70" })] }), jsxs("a", { className: "flex gap-s items-center text-primary-text no-underline", "aria-label": "ved@rshb.ru", href: `mailto:ved@rshb.ru`, children: [jsx(Img, { image: { icon: 'MailIcon' }, width: "24", height: "24" }), jsx("span", { children: "ved@rshb.ru" })] })] }));
@@ -1662,18 +1738,12 @@
1662
1738
 
1663
1739
  const renderQuestionsInterested = (field) => {
1664
1740
  const { value, onChange } = field('vedTypes');
1665
- return (jsx("div", { className: "space-y-lg", children: jsxs("div", { className: "space-y-xs @xl:flex @xl:items-center @xl:gap-xl", children: [jsx(Radio, { name: "vedTypes", text: "\u0412\u0430\u043B\u044E\u0442\u043D\u044B\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C", value: "currencyControl", checked: value === 'currencyControl', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0440\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "documentOperations", checked: value === 'documentOperations', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u041A\u043E\u043D\u0432\u0435\u0440\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "conversionTransactions", checked: value === 'conversionTransactions', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u0418\u043D\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u0412\u042D\u0414", value: "otherIssues", checked: value === 'otherIssues', onChange: (_) => onChange && onChange(_) })] }) }));
1741
+ return (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: "gap-xl grid @xl:flex @xl:items-center", children: [jsx(Radio, { name: "vedTypes", text: "\u0412\u0430\u043B\u044E\u0442\u043D\u044B\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C", value: "currencyControl", checked: value === 'currencyControl', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0440\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "documentOperations", checked: value === 'documentOperations', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u041A\u043E\u043D\u0432\u0435\u0440\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "conversionTransactions", checked: value === 'conversionTransactions', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u0418\u043D\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u0412\u042D\u0414", value: "otherIssues", checked: value === 'otherIssues', onChange: (_) => onChange && onChange(_) })] }) }));
1666
1742
  };
1667
1743
 
1668
- const renderWedDataOrganization = (field, regions) => {
1744
+ const renderWedDataOrganization = ({ field, regions }) => {
1669
1745
  const isCurrencyControl = field('vedTypes').value === 'currencyControl';
1670
- return (jsxs("div", { children: [isCurrencyControl ? (jsx(SelectControl, { className: "mb-s", label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) })) : null, jsxs("div", { className: "@xl:grid @xl:grid-cols-2 @xl:gap-x-lg", children: [isCurrencyControl ? (jsx(InputControl, { className: "w-full mb-s", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })) : null, jsx(InputControl, { className: "w-full mb-s", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { className: "w-full mb-s", label: "\u0424\u0418\u041E", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { className: "w-full mb-s", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), !isCurrencyControl ? (jsx(InputControl, { className: "w-full mb-s", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })) : null] })] }));
1671
- };
1672
-
1673
- const activeTextareaStyles = 'hover:border-primary-hover active:focus:border-primary-text focus:border-primary-text';
1674
- const renderWedTextarea = (field) => {
1675
- const textField = field('text');
1676
- return (jsxs("label", { htmlFor: "textarea", children: [jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: "\u041E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0435" }) }), jsx("textarea", { id: "textarea", placeholder: "\u0423\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u0443\u044E\u0449\u0438\u0439 \u0432\u0430\u0441 \u0432\u043E\u043F\u0440\u043E\u0441, \u043C\u0435\u0441\u0442\u043E \u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0431\u0438\u0437\u043D\u0435\u0441\u0430 \u0438 \u0443\u0434\u043E\u0431\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u0434\u043B\u044F \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u043D\u043E\u0433\u043E \u0437\u0432\u043E\u043D\u043A\u0430", className: style('block w-full resize-y min-h-24 p-m outline-none border rounded-md border-gray', activeTextareaStyles), value: textField.value, onInput: ((e) => textField.onChange && textField.onChange(e.target?.value || '')) })] }));
1746
+ return (jsxs("div", { className: "space-y-s", children: [isCurrencyControl ? (jsx(SelectControl, { label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) })) : null, jsxs("div", { className: "grid @xl:grid-cols-2 @xl:gap-x-lg gap-s", children: [isCurrencyControl ? (jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })) : null, jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { label: "\u0424\u0418\u041E", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), !isCurrencyControl ? (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })) : null] })] }));
1677
1747
  };
1678
1748
 
1679
1749
  const initialFormState = {
@@ -1724,7 +1794,8 @@
1724
1794
  }, [onSubmit]);
1725
1795
  const [, { field, ...formProps }] = useForm(initialFormState, handleSubmit);
1726
1796
  const regions = useGetRegions();
1727
- return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [renderQuestionsInterested(field), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderWedDataOrganization(field, regions), renderWedTextarea(field), jsxs("div", { className: "flex flex-col gap-m border-b border-main-divider pb-lg @xl:items-center @xl:flex-row @xl:pb-4xl", children: [renderSubmitButton(button), jsx(Footnote, { link: link })] }), jsx(Heading, { headingType: "h6", title: "\u0418\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u0443\u0434\u043E\u0431\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C", className: "@xl:text-center" }), renderContacts()] }));
1797
+ const textField = field('text');
1798
+ return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [renderQuestionsInterested(field), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderWedDataOrganization({ field, regions }), renderTextarea(textField, 'Обращение', 'Укажите интересующий вас вопрос, место ведения бизнеса и удобное время для телефонного звонка'), renderSubmitButton(button), jsx(Footnote, { link: link }), jsx(Heading, { headingType: "h6", title: "\u0418\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u0443\u0434\u043E\u0431\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C", className: "@xl:text-center" }), renderContacts()] }));
1728
1799
  });
1729
1800
 
1730
1801
  const EmbeddableForms = {
@@ -1735,6 +1806,7 @@
1735
1806
  ApplicationFormAcquiring,
1736
1807
  ApplicationFormGrantSupport,
1737
1808
  ApplicationFormIndividuals,
1809
+ ApplicationFormFeedback,
1738
1810
  };
1739
1811
 
1740
1812
  const ResponseNotification = JSX(({ responseType }) => {
@@ -2238,7 +2310,7 @@
2238
2310
  isUnknownRateShown: false,
2239
2311
  unit: '',
2240
2312
  })
2241
- : null, jsxs("div", { className: "flex flex-col gap-y-4xl @xl:w-96", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }));
2313
+ : null, jsxs("div", { className: "flex flex-col gap-y-xl @xl:w-96", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }));
2242
2314
  });
2243
2315
 
2244
2316
  const CalculatorFormLayout = JSX(({ className, inputChildren, rateChildren, resultChildren }) => (jsxs("section", { className: style('flex flex-col justify-between @5xl:flex-row gap-m', className), children: [jsx("div", { className: "flex flex-col gap-y-m sm:max-w-md gap-2xl", children: inputChildren }), jsx("div", { className: "border-b border-main-divider md:hidden" }), rateChildren, jsx("div", { className: "flex flex-col gap-2xl sm:w-96 max-w-full", children: resultChildren })] })));
@@ -2372,7 +2444,7 @@
2372
2444
  }), resultChildren: jsxs("div", { children: [renderDepositResults(finalSum, income), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote), renderFootnote(bottomFootnote)] }) }));
2373
2445
  });
2374
2446
  const renderBusinessDepositParamsForm = (calculatorParams, field) => (jsxs("div", { className: "space-y-s", children: [jsx(Text, { color: "text-secondary-text", font: "font-light", children: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B" }), jsxs("div", { className: "flex flex-col gap-y-xl sm:gap-y-s", children: [jsx(Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), jsx(Checkbox, { disabled: calculatorParams.isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", ...field('isPartialWithdrawal'), value: calculatorParams.isPartialWithdrawal })] })] }));
2375
- const renderDepositResults = (finalSum, income) => (jsxs("div", { className: "flex flex-col gap-2xl sm:gap-0", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })] }));
2447
+ const renderDepositResults = (finalSum, income) => (jsxs("div", { className: "flex flex-col gap-2xl sm:gap-0 mb-lg", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })] }));
2376
2448
 
2377
2449
  const STEP_MONTHS = 1;
2378
2450
  const renderMonthsInput = ({ min = 0, max = 0, availableMonths, ...rest }) => (jsx(InputRange, { items: [`От ${monthText(min)}`, `До ${monthText(max)}`], step: STEP_MONTHS, ...(availableMonths?.length ? { list: availableMonths } : { min, max }), ...rest }));
@@ -2515,7 +2587,7 @@
2515
2587
  value: calculatorParams.monthsValue,
2516
2588
  }), renderCreditParamsForm$1({ ...calculatorParams, ...paramsViewSettings }, field), jsx("div", { className: "sm:hidden", children: paymentTypeElement })] }), rateChildren: renderRate({
2517
2589
  rate: calculatorParams.rate,
2518
- }), resultChildren: jsxs("div", { children: [jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx("div", { className: "hidden sm:block", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] }) }));
2590
+ }), resultChildren: jsxs("div", { children: [jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx("div", { className: "hidden sm:block mb-lg", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] }) }));
2519
2591
  });
2520
2592
  const renderCreditParamsForm$1 = (params, field) => (jsxs("div", { className: "flex flex-col gap-y-2xl", children: [params.isShowSalaryClient ? (jsx(Checkbox, { text: `Получаю зарплату на счёт\nв Россельхозбанке`, ...field('isSalaryClient'), value: params.isSalaryClient, className: "whitespace-pre-line sm:whitespace-normal" })) : null, params.isShowStateEmployee ? (jsx(Checkbox, { text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...field('isStateEmployee'), value: params.isStateEmployee })) : null, params.isShowPensionClient ? (jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u043F\u0435\u043D\u0441\u0438\u044E \u043D\u0430 \u043A\u0430\u0440\u0442\u0443 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0430", ...field('isPensionClient'), value: params.isPensionClient })) : null, params.isShowInsurance ? (jsx(Checkbox, { text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", ...field('isInsurance'), value: params.isInsurance })) : null] }));
2521
2593
 
@@ -2763,7 +2835,7 @@
2763
2835
  : null, jsx("div", { className: "sm:hidden pt-1 pb-4 border-b border-main-divider", children: paymentTypeElement })] }), rateChildren: renderRate({
2764
2836
  rate: calculatorParams.rate,
2765
2837
  fractionDigits: 1,
2766
- }), resultChildren: jsxs("div", { children: [jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), calculatorParams.benefit > 0 ? (jsx(CalculatorValueBlock, { title: 'Выгода в месяц', value: calculatorParams.benefit, postfix: "\u20BD" })) : null, jsx("div", { className: "hidden sm:block", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] }) }));
2838
+ }), resultChildren: jsxs("div", { children: [jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), calculatorParams.benefit > 0 ? (jsx(CalculatorValueBlock, { title: 'Выгода в месяц', value: calculatorParams.benefit, postfix: "\u20BD" })) : null, jsx("div", { className: "hidden sm:block mb-lg", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] }) }));
2767
2839
  });
2768
2840
  const renderCreditParamsForm = (params, field) => (jsxs("div", { className: "space-y-lg sm:space-y-s", children: [params.isShowSalaryClient ? (jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowInsurance ? (jsx(Checkbox, { text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", ...field('isInsurance'), value: params.isInsurance })) : null, jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0443\u044E \u0441\u0443\u043C\u043C\u0443", ...field('isExtraMoney'), value: params.isExtraMoney })] }));
2769
2841
 
@@ -5421,7 +5493,7 @@
5421
5493
 
5422
5494
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
5423
5495
 
5424
- const packageVersion = "0.14.128";
5496
+ const packageVersion = "0.14.130";
5425
5497
 
5426
5498
  exports.Blocks = Blocks;
5427
5499
  exports.ContentPage = ContentPage;