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