@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
@@ -965,6 +965,8 @@
965
965
 
966
966
  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] })));
967
967
 
968
+ const formStyle$1 = 'container space-y-lg';
969
+
968
970
  const withValidator = (props, validator) => {
969
971
  const { value, isDirty } = props;
970
972
  const errors = isDirty ? validator(value) : [];
@@ -975,8 +977,8 @@
975
977
  };
976
978
  };
977
979
 
978
- 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] })));
979
- const childrenClassName = '@xl:w-1/2 space-y-s';
980
+ 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] })));
981
+ const formChildrenStyle = '@xl:w-1/2 space-y-s';
980
982
 
981
983
  const Input = JSX(({ key, className = '', inputClassName = '', id, name, type = 'text', label, placeholder, value = '', valid = true, children, onChange, onFocus, onBlur, pattern, autoFocus = false, }) => {
982
984
  const inputRef = useRef(null);
@@ -997,7 +999,7 @@
997
999
 
998
1000
  const renderErrorText = (error) => (jsx("div", { className: "h-4", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
999
1001
 
1000
- 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)] })));
1002
+ 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)] })));
1001
1003
 
1002
1004
  const isPlaceholder = (_) => _ === '_';
1003
1005
  const isDigit = (_) => /\d/.test(_);
@@ -1018,7 +1020,7 @@
1018
1020
  return (jsx(Input, { onChange: handleChange, onFocus: (event) => handleChange(event?.target?.value || ''), ...inputProps, children: children }));
1019
1021
  });
1020
1022
 
1021
- 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)] })));
1023
+ 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)] })));
1022
1024
 
1023
1025
  const pattern = (regexp) => validator((_) => typeof _ === 'string' && regexp.test(_));
1024
1026
 
@@ -1029,8 +1031,9 @@
1029
1031
  const nameValidator = validator((_) => typeof _ === 'string' && _.length > 1)(ERROR_MESSAGE);
1030
1032
  const innValidator = validator((_) => typeof _ === 'string' && (_.length === 10 || _.length === 12))(ERROR_MESSAGE);
1031
1033
  const phoneValidator = pattern(/^(\+7)?[\s-]?\(?[0-9]{3}\)?[\s-]?[0-9]{3}[\s-]?[0-9]{2}[\s-]?[0-9]{2}$/)(ERROR_MESSAGE);
1034
+ const consentDataProcessingValidator = validator((_) => typeof _ === 'boolean' && _)(ERROR_MESSAGE);
1032
1035
 
1033
- const renderAcquiringDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, 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: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }) }));
1036
+ 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) })] }) }));
1034
1037
 
1035
1038
  const ACQUIRING_TYPES = [
1036
1039
  {
@@ -1154,7 +1157,7 @@
1154
1157
 
1155
1158
  const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }), renderErrorText(error)] })));
1156
1159
 
1157
- 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) }) }) }));
1160
+ 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) }) }) }));
1158
1161
 
1159
1162
  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] })));
1160
1163
 
@@ -1192,7 +1195,7 @@
1192
1195
 
1193
1196
  const renderSubmitButton = (button, className) => (jsx(Button, { className: style('w-full @xl:w-auto', className), type: "submit", children: button?.text ? button.text : 'Отправить заявку' }));
1194
1197
 
1195
- const initialFormState$5 = {
1198
+ const initialFormState$6 = {
1196
1199
  acquiringType: { key: 'Торговый эквайринг' },
1197
1200
  fullName: '',
1198
1201
  inn: '',
@@ -1224,16 +1227,16 @@
1224
1227
  phone: phone.replace(/[^+\d]/g, ''),
1225
1228
  });
1226
1229
  }, [onSubmit]);
1227
- const [, { field, ...formProps }] = useForm(initialFormState$5, handleSubmit);
1230
+ const [, { field, ...formProps }] = useForm(initialFormState$6, handleSubmit);
1228
1231
  const regions = useGetRegions();
1229
- 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 })] }));
1232
+ return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderAcquiringRegion({ regions, field, title: 'Вид эквайринга и регион' }), renderAcquiringDataOrganization(field, 'Данные организации'), renderSlideCheckboxes(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1230
1233
  });
1231
1234
 
1232
- 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) })] }) }));
1235
+ 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) })] }) }));
1233
1236
 
1234
1237
  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) }));
1235
1238
 
1236
- const initialFormState$4 = {
1239
+ const initialFormState$5 = {
1237
1240
  name: '',
1238
1241
  phone: '',
1239
1242
  inn: '',
@@ -1260,9 +1263,9 @@
1260
1263
  phone: phone.replace(/[^+\d]/g, ''),
1261
1264
  });
1262
1265
  }, [onSubmit]);
1263
- const [, { field, ...formProps }] = useForm(initialFormState$4, handleSubmit);
1266
+ const [, { field, ...formProps }] = useForm(initialFormState$5, handleSubmit);
1264
1267
  const regions = useGetRegions();
1265
- return (jsxs("form", { className: "container space-y-s", onSubmit: formProps.onSubmit, children: [renderRegion$1({ regions, field }), renderBusinessCardDataOrganization(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1268
+ return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderRegion$1({ regions, field }), renderBusinessCardDataOrganization(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1266
1269
  });
1267
1270
 
1268
1271
  const BRANCHES_URL = '/api/v1/branches';
@@ -1283,7 +1286,7 @@
1283
1286
  const MAX_CREDIT_TERM = 180;
1284
1287
  const ITEMS_CREDIT_TERM = ['От 1 мес', 'До 15 лет'];
1285
1288
 
1286
- const renderCreditDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, 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(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: "\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(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') })] }) }));
1289
+ 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) })] }) }));
1287
1290
 
1288
1291
  const useNormalizedInput = (props, { normalize, format }) => {
1289
1292
  const { value, onFocus, onBlur, onChange } = props;
@@ -1343,14 +1346,14 @@
1343
1346
  const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
1344
1347
  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)))) }));
1345
1348
 
1346
- 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') })] })] }));
1349
+ 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') }) }) }));
1347
1350
 
1348
- 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 = '' }) => ({
1351
+ 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 = '' }) => ({
1349
1352
  key: branchCode,
1350
1353
  text: address,
1351
1354
  })), ...withValidator(field('department'), defaultValidator) }) }) }));
1352
1355
 
1353
- const initialFormState$3 = {
1356
+ const initialFormState$4 = {
1354
1357
  amount: MIN_CREDIT_AMOUNT,
1355
1358
  term: 12,
1356
1359
  fullName: '',
@@ -1385,13 +1388,13 @@
1385
1388
  partnerComments: `Сумма=${amount}/Срок=${term}/Выручка=${annualRevenue}`,
1386
1389
  });
1387
1390
  }, [onSubmit]);
1388
- const [formState, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
1391
+ const [formState, { field, ...formProps }] = useForm(initialFormState$4, handleSubmit);
1389
1392
  const regions = useGetRegions();
1390
1393
  const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
1391
- 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 })] }));
1394
+ 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 })] }));
1392
1395
  });
1393
1396
 
1394
- const initialFormState$2 = {
1397
+ const initialFormState$3 = {
1395
1398
  name: '',
1396
1399
  phone: '',
1397
1400
  };
@@ -1409,21 +1412,28 @@
1409
1412
  phone: phone.replace(/[^+\d]/g, ''),
1410
1413
  });
1411
1414
  }, [onSubmit]);
1412
- const [, { field, ...formProps }] = useForm(initialFormState$2, handleSubmit);
1413
- 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)] })] }));
1415
+ const [, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
1416
+ 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 })] }) }) }));
1414
1417
  });
1415
1418
 
1416
- const ApplicationFormGrantSupport = JSX((props) => {
1417
- const { button, sourceBookDir } = props;
1418
- const { regions } = useSWRResource(sourceBookDir || 'regions-grant-support');
1419
- const [region, setRegion] = useState({ key: '' });
1420
- const buttonStyle = getRegularButtonClasses({
1421
- className: 'text-white',
1422
- version: button?.version,
1423
- });
1424
- const regionHref = regions?.find((_) => _.name === region.key)?.href;
1425
- 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] }));
1426
- });
1419
+ const FEEDBACK_TYPES = [
1420
+ {
1421
+ text: 'Задать вопрос по продуктам и услугам',
1422
+ key: 'FEEDBACK',
1423
+ },
1424
+ {
1425
+ text: 'Качество обслуживания',
1426
+ key: 'FEEDBACK_QC',
1427
+ },
1428
+ ];
1429
+ const FEEDBACK_METHOD = [
1430
+ { key: 'phone', text: 'Телефонный звонок' },
1431
+ { key: 'mail', text: 'Электронное сообщение' },
1432
+ ];
1433
+ const SERVICE_DIRECTIONS = [
1434
+ { key: 'Физическое лицо' },
1435
+ { key: 'Юридическое лицо / ИП' },
1436
+ ];
1427
1437
 
1428
1438
  const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
1429
1439
  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) => {
@@ -1453,6 +1463,11 @@
1453
1463
  });
1454
1464
  const checkboxStyle = (value) => style('rounded border', value ? 'bg-primary-main' : '');
1455
1465
 
1466
+ 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)] }));
1467
+
1468
+ const activeTextareaStyles = 'hover:border-primary-hover active:focus:border-primary-text focus:border-primary-text';
1469
+ 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 || '')) })] }));
1470
+
1456
1471
  const formatDate = (date, toTimeStamp = false) => {
1457
1472
  if (typeof date === 'string') {
1458
1473
  return date.split('-').reverse().join('.');
@@ -1602,13 +1617,74 @@
1602
1617
  selectedMonth,
1603
1618
  showCalendar,
1604
1619
  });
1605
- 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] }));
1620
+ 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] }));
1606
1621
  });
1607
1622
  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" })] }));
1608
1623
 
1609
- 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)] })));
1624
+ 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)] })));
1625
+
1626
+ 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) })] }));
1627
+
1628
+ const initialFormState$2 = {
1629
+ typeForm: { key: 'FEEDBACK', text: 'Задать вопрос по продуктам и услугам' },
1630
+ serviceDirection: { key: 'Физическое лицо' },
1631
+ surname: '',
1632
+ name: '',
1633
+ middleName: '',
1634
+ date: undefined,
1635
+ feedbackMethod: { key: 'Телефонный звонок' },
1636
+ phone: '',
1637
+ phoneAdditional: '',
1638
+ mail: '',
1639
+ text: '',
1640
+ comment: '',
1641
+ consentDataProcessing: false,
1642
+ };
1643
+ const feedbackValidator = objectValidator({
1644
+ typeForm: defaultValidator,
1645
+ region: defaultValidator,
1646
+ department: defaultValidator,
1647
+ name: nameValidator,
1648
+ date: defaultValidator,
1649
+ feedbackMethod: defaultValidator,
1650
+ phone: phoneValidator,
1651
+ mail: defaultValidator,
1652
+ consentDataProcessing: consentDataProcessingValidator,
1653
+ inn: innValidator,
1654
+ });
1655
+ const ApplicationFormFeedback = JSX(({ button, link, onSubmit }) => {
1656
+ const handleSubmit = useCallback((formState) => {
1657
+ const submitData = {
1658
+ ...formState,
1659
+ typeForm: formState.typeForm.key,
1660
+ region: formState.region?.text || '',
1661
+ department: formState.department?.text || '',
1662
+ phone: formState.phone.replace(/[^+\d]/g, ''),
1663
+ };
1664
+ isValidationSuccess(feedbackValidator(formState)) && onSubmit(submitData);
1665
+ }, [onSubmit]);
1666
+ const [formState, { field, ...formProps }] = useForm(initialFormState$2, handleSubmit);
1667
+ const regions = useGetRegions();
1668
+ const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
1669
+ const isQualityService = field('typeForm').value?.key === 'FEEDBACK_QC';
1670
+ const isLegalEntity = isQualityService && field('serviceDirection').value?.key === 'Юридическое лицо / ИП';
1671
+ 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 = '' }) => ({
1672
+ key: branchCode,
1673
+ text: address,
1674
+ })), ...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)] }) }) }));
1675
+ });
1610
1676
 
1611
- 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) })] }) }));
1677
+ const ApplicationFormGrantSupport = JSX((props) => {
1678
+ const { button, sourceBookDir } = props;
1679
+ const { regions } = useSWRResource(sourceBookDir || 'regions-grant-support');
1680
+ const [region, setRegion] = useState({ key: '' });
1681
+ const buttonStyle = getRegularButtonClasses({
1682
+ className: 'text-white',
1683
+ version: button?.version,
1684
+ });
1685
+ const regionHref = regions?.find((_) => _.name === region.key)?.href;
1686
+ 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] }));
1687
+ });
1612
1688
 
1613
1689
  const initialFormState$1 = {
1614
1690
  surname: '',
@@ -1645,7 +1721,7 @@
1645
1721
  }, true);
1646
1722
  }, [onSubmit]);
1647
1723
  const [, { field, ...formProps }] = useForm(initialFormState$1, handleSubmit);
1648
- 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)] })] }));
1724
+ 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)] }));
1649
1725
  });
1650
1726
 
1651
1727
  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" })] })] }));
@@ -1654,18 +1730,12 @@
1654
1730
 
1655
1731
  const renderQuestionsInterested = (field) => {
1656
1732
  const { value, onChange } = field('vedTypes');
1657
- 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(_) })] }) }));
1733
+ 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(_) })] }) }));
1658
1734
  };
1659
1735
 
1660
- const renderWedDataOrganization = (field, regions) => {
1736
+ const renderWedDataOrganization = ({ field, regions }) => {
1661
1737
  const isCurrencyControl = field('vedTypes').value === 'currencyControl';
1662
- 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] })] }));
1663
- };
1664
-
1665
- const activeTextareaStyles = 'hover:border-primary-hover active:focus:border-primary-text focus:border-primary-text';
1666
- const renderWedTextarea = (field) => {
1667
- const textField = field('text');
1668
- 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 || '')) })] }));
1738
+ 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] })] }));
1669
1739
  };
1670
1740
 
1671
1741
  const initialFormState = {
@@ -1716,7 +1786,8 @@
1716
1786
  }, [onSubmit]);
1717
1787
  const [, { field, ...formProps }] = useForm(initialFormState, handleSubmit);
1718
1788
  const regions = useGetRegions();
1719
- 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()] }));
1789
+ const textField = field('text');
1790
+ 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()] }));
1720
1791
  });
1721
1792
 
1722
1793
  const EmbeddableForms = {
@@ -1727,6 +1798,7 @@
1727
1798
  ApplicationFormAcquiring,
1728
1799
  ApplicationFormGrantSupport,
1729
1800
  ApplicationFormIndividuals,
1801
+ ApplicationFormFeedback,
1730
1802
  };
1731
1803
 
1732
1804
  const ResponseNotification = JSX(({ responseType }) => {
@@ -2033,7 +2105,7 @@
2033
2105
  isUnknownRateShown: false,
2034
2106
  unit: '',
2035
2107
  })
2036
- : 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)] })] }));
2108
+ : 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)] })] }));
2037
2109
  });
2038
2110
 
2039
2111
  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 })] })));
@@ -2174,7 +2246,7 @@
2174
2246
  }), resultChildren: jsxs("div", { children: [renderDepositResults(finalSum, income), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote), renderFootnote(bottomFootnote)] }) }));
2175
2247
  });
2176
2248
  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 })] })] }));
2177
- 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" })] }));
2249
+ 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" })] }));
2178
2250
 
2179
2251
  const STEP_MONTHS = 1;
2180
2252
  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 }));
@@ -2317,7 +2389,7 @@
2317
2389
  value: calculatorParams.monthsValue,
2318
2390
  }), renderCreditParamsForm$1({ ...calculatorParams, ...paramsViewSettings }, field), jsx("div", { className: "sm:hidden", children: paymentTypeElement })] }), rateChildren: renderRate({
2319
2391
  rate: calculatorParams.rate,
2320
- }), 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)] }) }));
2392
+ }), 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)] }) }));
2321
2393
  });
2322
2394
  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] }));
2323
2395
 
@@ -2565,7 +2637,7 @@
2565
2637
  : null, jsx("div", { className: "sm:hidden pt-1 pb-4 border-b border-main-divider", children: paymentTypeElement })] }), rateChildren: renderRate({
2566
2638
  rate: calculatorParams.rate,
2567
2639
  fractionDigits: 1,
2568
- }), 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)] }) }));
2640
+ }), 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)] }) }));
2569
2641
  });
2570
2642
  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 })] }));
2571
2643
 
@@ -5799,7 +5871,7 @@
5799
5871
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
5800
5872
  }
5801
5873
 
5802
- const packageVersion = "0.14.128";
5874
+ const packageVersion = "0.14.130";
5803
5875
 
5804
5876
  exports.Blocks = Blocks;
5805
5877
  exports.ContentPage = ContentPage;