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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (577) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +124 -52
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  6. package/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  7. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  8. package/bundle/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  9. package/bundle/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  10. package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  11. package/bundle/components/ApplicationForm/InputControl.d.ts +1 -1
  12. package/bundle/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  13. package/bundle/components/ApplicationForm/formStyle.d.ts +1 -0
  14. package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
  15. package/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  16. package/bundle/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
  17. package/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  18. package/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
  19. package/bundle/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  20. package/bundle/components/ApplicationForm/renderRegion.d.ts +1 -1
  21. package/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  22. package/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  23. package/bundle/components/ApplicationForm/renderTextarea.d.ts +3 -0
  24. package/bundle/components/ApplicationForm/renderUserData.d.ts +4 -0
  25. package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  26. package/bundle/components/ApplicationForm/validators.d.ts +1 -0
  27. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  28. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  29. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
  30. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  31. package/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  32. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  33. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  34. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  35. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
  36. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  37. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  38. package/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  39. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  40. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
  41. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  42. package/dist/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  43. package/dist/components/ApplicationForm/ApplicationFormFeedback.js +71 -0
  44. package/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
  45. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  46. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  47. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
  48. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  49. package/dist/components/ApplicationForm/ApplicationFormWed.js +3 -2
  50. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  51. package/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
  52. package/dist/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  53. package/dist/components/ApplicationForm/DatePickerControl.js +2 -1
  54. package/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
  55. package/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  56. package/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
  57. package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  58. package/dist/components/ApplicationForm/InputControl.d.ts +1 -1
  59. package/dist/components/ApplicationForm/InputControl.js +2 -1
  60. package/dist/components/ApplicationForm/InputControl.js.map +1 -1
  61. package/dist/components/ApplicationForm/PhoneInputControl.js +2 -1
  62. package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  63. package/dist/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  64. package/dist/components/ApplicationForm/feedbackTypes.js +21 -0
  65. package/dist/components/ApplicationForm/feedbackTypes.js.map +1 -0
  66. package/dist/components/ApplicationForm/formStyle.d.ts +1 -0
  67. package/dist/components/ApplicationForm/formStyle.js +4 -0
  68. package/dist/components/ApplicationForm/formStyle.js.map +1 -0
  69. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
  70. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  71. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  72. package/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  73. package/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  74. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  75. package/dist/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
  76. package/dist/components/ApplicationForm/renderAgreementWithSubmit.js +12 -0
  77. package/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
  78. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  79. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  80. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  81. package/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
  82. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  83. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  84. package/dist/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  85. package/dist/components/ApplicationForm/renderCreditParameters.js +2 -2
  86. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  87. package/dist/components/ApplicationForm/renderIndividualsFields.js +1 -1
  88. package/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  89. package/dist/components/ApplicationForm/renderQuestionsInterested.js +2 -1
  90. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  91. package/dist/components/ApplicationForm/renderRegion.d.ts +1 -1
  92. package/dist/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  93. package/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
  94. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  95. package/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  96. package/dist/components/ApplicationForm/renderTextarea.d.ts +3 -0
  97. package/dist/components/ApplicationForm/renderTextarea.js +9 -0
  98. package/dist/components/ApplicationForm/renderTextarea.js.map +1 -0
  99. package/dist/components/ApplicationForm/renderUserData.d.ts +4 -0
  100. package/dist/components/ApplicationForm/renderUserData.js +10 -0
  101. package/dist/components/ApplicationForm/renderUserData.js.map +1 -0
  102. package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  103. package/dist/components/ApplicationForm/renderWedDataOrganization.js +2 -2
  104. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  105. package/dist/components/ApplicationForm/validators.d.ts +1 -0
  106. package/dist/components/ApplicationForm/validators.js +2 -1
  107. package/dist/components/ApplicationForm/validators.js.map +1 -1
  108. package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  109. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  110. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  111. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  112. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  113. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  114. package/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
  115. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  116. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  117. package/dist/ui-kit/DatePicker/DatePicker.js +1 -1
  118. package/lib/common.css +1 -1
  119. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  120. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
  121. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  122. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
  123. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +1 -0
  124. package/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  125. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  126. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  127. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  128. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
  129. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  130. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  131. package/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  132. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  133. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
  134. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  135. package/lib/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  136. package/lib/components/ApplicationForm/ApplicationFormFeedback.js +69 -0
  137. package/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
  138. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  139. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  140. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
  141. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  142. package/lib/components/ApplicationForm/ApplicationFormWed.js +3 -2
  143. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  144. package/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
  145. package/lib/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  146. package/lib/components/ApplicationForm/DatePickerControl.js +2 -1
  147. package/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
  148. package/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  149. package/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
  150. package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  151. package/lib/components/ApplicationForm/InputControl.d.ts +1 -1
  152. package/lib/components/ApplicationForm/InputControl.js +2 -1
  153. package/lib/components/ApplicationForm/InputControl.js.map +1 -1
  154. package/lib/components/ApplicationForm/PhoneInputControl.js +2 -1
  155. package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  156. package/lib/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  157. package/lib/components/ApplicationForm/feedbackTypes.js +19 -0
  158. package/lib/components/ApplicationForm/feedbackTypes.js.map +1 -0
  159. package/lib/components/ApplicationForm/formStyle.d.ts +1 -0
  160. package/lib/components/ApplicationForm/formStyle.js +2 -0
  161. package/lib/components/ApplicationForm/formStyle.js.map +1 -0
  162. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -3
  163. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -2
  164. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  165. package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  166. package/lib/components/ApplicationForm/renderAcquiringRegion.js +2 -2
  167. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  168. package/lib/components/ApplicationForm/renderAgreementWithSubmit.d.ts +4 -0
  169. package/lib/components/ApplicationForm/renderAgreementWithSubmit.js +9 -0
  170. package/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
  171. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  172. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -2
  173. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  174. package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -2
  175. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +2 -2
  176. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  177. package/lib/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  178. package/lib/components/ApplicationForm/renderCreditParameters.js +3 -3
  179. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  180. package/lib/components/ApplicationForm/renderIndividualsFields.d.ts +1 -0
  181. package/lib/components/ApplicationForm/renderIndividualsFields.js +2 -2
  182. package/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  183. package/lib/components/ApplicationForm/renderQuestionsInterested.js +2 -1
  184. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  185. package/lib/components/ApplicationForm/renderRegion.d.ts +1 -1
  186. package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  187. package/lib/components/ApplicationForm/renderRegionDepartment.js +2 -2
  188. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  189. package/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  190. package/lib/components/ApplicationForm/renderTextarea.d.ts +2 -0
  191. package/lib/components/ApplicationForm/renderTextarea.js +6 -0
  192. package/lib/components/ApplicationForm/renderTextarea.js.map +1 -0
  193. package/lib/components/ApplicationForm/renderUserData.d.ts +3 -0
  194. package/lib/components/ApplicationForm/renderUserData.js +7 -0
  195. package/lib/components/ApplicationForm/renderUserData.js.map +1 -0
  196. package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  197. package/lib/components/ApplicationForm/renderWedDataOrganization.js +2 -2
  198. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  199. package/lib/components/ApplicationForm/validators.d.ts +1 -0
  200. package/lib/components/ApplicationForm/validators.js +1 -0
  201. package/lib/components/ApplicationForm/validators.js.map +1 -1
  202. package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  203. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  204. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  205. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  206. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  207. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  208. package/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
  209. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  210. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  211. package/lib/ui-kit/DatePicker/DatePicker.js +1 -1
  212. package/mobile/bundle/bundle.umd.js +125 -53
  213. package/mobile/bundle/bundle.umd.min.js +1 -1
  214. package/mobile/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  215. package/mobile/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  216. package/mobile/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  217. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  218. package/mobile/bundle/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  219. package/mobile/bundle/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  220. package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  221. package/mobile/bundle/components/ApplicationForm/InputControl.d.ts +1 -1
  222. package/mobile/bundle/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  223. package/mobile/bundle/components/ApplicationForm/formStyle.d.ts +1 -0
  224. package/mobile/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
  225. package/mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  226. package/mobile/bundle/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
  227. package/mobile/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  228. package/mobile/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
  229. package/mobile/bundle/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  230. package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +1 -1
  231. package/mobile/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  232. package/mobile/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  233. package/mobile/bundle/components/ApplicationForm/renderTextarea.d.ts +3 -0
  234. package/mobile/bundle/components/ApplicationForm/renderUserData.d.ts +4 -0
  235. package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  236. package/mobile/bundle/components/ApplicationForm/validators.d.ts +1 -0
  237. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  238. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  239. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
  240. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  241. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  242. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  243. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  244. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  245. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
  246. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  247. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  248. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  249. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  250. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
  251. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  252. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  253. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js +71 -0
  254. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
  255. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  256. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  257. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
  258. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  259. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +3 -2
  260. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  261. package/mobile/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
  262. package/mobile/dist/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  263. package/mobile/dist/components/ApplicationForm/DatePickerControl.js +2 -1
  264. package/mobile/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
  265. package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  266. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
  267. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  268. package/mobile/dist/components/ApplicationForm/InputControl.d.ts +1 -1
  269. package/mobile/dist/components/ApplicationForm/InputControl.js +2 -1
  270. package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
  271. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +2 -1
  272. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  273. package/mobile/dist/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  274. package/mobile/dist/components/ApplicationForm/feedbackTypes.js +21 -0
  275. package/mobile/dist/components/ApplicationForm/feedbackTypes.js.map +1 -0
  276. package/mobile/dist/components/ApplicationForm/formStyle.d.ts +1 -0
  277. package/mobile/dist/components/ApplicationForm/formStyle.js +4 -0
  278. package/mobile/dist/components/ApplicationForm/formStyle.js.map +1 -0
  279. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
  280. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
  281. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  282. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  283. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  284. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  285. package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
  286. package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js +12 -0
  287. package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
  288. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  289. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  290. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  291. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
  292. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
  293. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  294. package/mobile/dist/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  295. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +2 -2
  296. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  297. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js +1 -1
  298. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  299. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +2 -1
  300. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  301. package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +1 -1
  302. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  303. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
  304. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  305. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  306. package/mobile/dist/components/ApplicationForm/renderTextarea.d.ts +3 -0
  307. package/mobile/dist/components/ApplicationForm/renderTextarea.js +9 -0
  308. package/mobile/dist/components/ApplicationForm/renderTextarea.js.map +1 -0
  309. package/mobile/dist/components/ApplicationForm/renderUserData.d.ts +4 -0
  310. package/mobile/dist/components/ApplicationForm/renderUserData.js +10 -0
  311. package/mobile/dist/components/ApplicationForm/renderUserData.js.map +1 -0
  312. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  313. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +2 -2
  314. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  315. package/mobile/dist/components/ApplicationForm/validators.d.ts +1 -0
  316. package/mobile/dist/components/ApplicationForm/validators.js +2 -1
  317. package/mobile/dist/components/ApplicationForm/validators.js.map +1 -1
  318. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  319. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  320. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  321. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  322. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  323. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  324. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
  325. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  326. package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  327. package/mobile/dist/ui-kit/DatePicker/DatePicker.js +1 -1
  328. package/mobile/lib/common.css +1 -1
  329. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
  330. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
  331. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  332. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
  333. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  334. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  335. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
  336. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
  337. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  338. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
  339. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  340. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  341. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
  342. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  343. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
  344. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js +69 -0
  345. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
  346. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  347. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  348. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
  349. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  350. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +3 -2
  351. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  352. package/mobile/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
  353. package/mobile/lib/components/ApplicationForm/DatePickerControl.d.ts +1 -1
  354. package/mobile/lib/components/ApplicationForm/DatePickerControl.js +2 -1
  355. package/mobile/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
  356. package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  357. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
  358. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  359. package/mobile/lib/components/ApplicationForm/InputControl.d.ts +1 -1
  360. package/mobile/lib/components/ApplicationForm/InputControl.js +2 -1
  361. package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
  362. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +2 -1
  363. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  364. package/mobile/lib/components/ApplicationForm/feedbackTypes.d.ts +4 -0
  365. package/mobile/lib/components/ApplicationForm/feedbackTypes.js +19 -0
  366. package/mobile/lib/components/ApplicationForm/feedbackTypes.js.map +1 -0
  367. package/mobile/lib/components/ApplicationForm/formStyle.d.ts +1 -0
  368. package/mobile/lib/components/ApplicationForm/formStyle.js +2 -0
  369. package/mobile/lib/components/ApplicationForm/formStyle.js.map +1 -0
  370. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
  371. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
  372. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  373. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
  374. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +2 -2
  375. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  376. package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
  377. package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js +9 -0
  378. package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
  379. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
  380. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -2
  381. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  382. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
  383. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
  384. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  385. package/mobile/lib/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
  386. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +3 -3
  387. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  388. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js +2 -2
  389. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
  390. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +2 -1
  391. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  392. package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +1 -1
  393. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
  394. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +2 -2
  395. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  396. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
  397. package/mobile/lib/components/ApplicationForm/renderTextarea.d.ts +3 -0
  398. package/mobile/lib/components/ApplicationForm/renderTextarea.js +6 -0
  399. package/mobile/lib/components/ApplicationForm/renderTextarea.js.map +1 -0
  400. package/mobile/lib/components/ApplicationForm/renderUserData.d.ts +4 -0
  401. package/mobile/lib/components/ApplicationForm/renderUserData.js +7 -0
  402. package/mobile/lib/components/ApplicationForm/renderUserData.js.map +1 -0
  403. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
  404. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +2 -2
  405. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  406. package/mobile/lib/components/ApplicationForm/validators.d.ts +1 -0
  407. package/mobile/lib/components/ApplicationForm/validators.js +1 -0
  408. package/mobile/lib/components/ApplicationForm/validators.js.map +1 -1
  409. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  410. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  411. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  412. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  413. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  414. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  415. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
  416. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  417. package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
  418. package/mobile/lib/ui-kit/DatePicker/DatePicker.js +1 -1
  419. package/mobile/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +10 -3
  420. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +16 -7
  421. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +11 -2
  422. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +11 -1
  423. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -8
  424. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +12 -23
  425. package/mobile/src/components/ApplicationForm/ApplicationFormFeedback.tsx +190 -0
  426. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
  427. package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +30 -13
  428. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +10 -7
  429. package/mobile/src/components/ApplicationForm/CreditParameters.ts +0 -1
  430. package/mobile/src/components/ApplicationForm/DatePickerControl.tsx +3 -2
  431. package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
  432. package/mobile/src/components/ApplicationForm/InputControl.tsx +3 -2
  433. package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +2 -1
  434. package/mobile/src/components/ApplicationForm/feedbackTypes.ts +22 -0
  435. package/mobile/src/components/ApplicationForm/formStyle.ts +1 -0
  436. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +24 -24
  437. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +7 -5
  438. package/mobile/src/components/ApplicationForm/renderAgreementWithSubmit.tsx +26 -0
  439. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +7 -20
  440. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +31 -31
  441. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +30 -30
  442. package/mobile/src/components/ApplicationForm/renderIndividualsFields.tsx +8 -26
  443. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +35 -32
  444. package/mobile/src/components/ApplicationForm/renderRegion.tsx +1 -1
  445. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +11 -4
  446. package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
  447. package/mobile/src/components/ApplicationForm/renderTextarea.tsx +30 -0
  448. package/mobile/src/components/ApplicationForm/renderUserData.tsx +18 -0
  449. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +12 -24
  450. package/mobile/src/components/ApplicationForm/validators.ts +4 -0
  451. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  452. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
  453. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  454. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
  455. package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +1 -0
  456. package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +1 -1
  457. package/package.json +1 -1
  458. package/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +10 -3
  459. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +10 -0
  460. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +10 -0
  461. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +16 -7
  462. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +11 -2
  463. package/src/components/ApplicationForm/ApplicationFormContent.ts +11 -1
  464. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -8
  465. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +12 -23
  466. package/src/components/ApplicationForm/ApplicationFormFeedback.tsx +190 -0
  467. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
  468. package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +30 -13
  469. package/src/components/ApplicationForm/ApplicationFormWed.tsx +10 -7
  470. package/src/components/ApplicationForm/CreditParameters.ts +0 -1
  471. package/src/components/ApplicationForm/DatePickerControl.tsx +3 -2
  472. package/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
  473. package/src/components/ApplicationForm/InputControl.tsx +3 -2
  474. package/src/components/ApplicationForm/PhoneInputControl.tsx +2 -1
  475. package/src/components/ApplicationForm/feedbackTypes.ts +22 -0
  476. package/src/components/ApplicationForm/formStyle.ts +1 -0
  477. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +12 -21
  478. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +7 -5
  479. package/src/components/ApplicationForm/renderAgreementWithSubmit.tsx +26 -0
  480. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +7 -20
  481. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +13 -20
  482. package/src/components/ApplicationForm/renderCreditParameters.tsx +30 -30
  483. package/src/components/ApplicationForm/renderIndividualsFields.tsx +8 -26
  484. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +35 -32
  485. package/src/components/ApplicationForm/renderRegion.tsx +1 -1
  486. package/src/components/ApplicationForm/renderRegionDepartment.tsx +11 -4
  487. package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
  488. package/src/components/ApplicationForm/renderTextarea.tsx +30 -0
  489. package/src/components/ApplicationForm/renderUserData.tsx +18 -0
  490. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +12 -24
  491. package/src/components/ApplicationForm/validators.ts +4 -0
  492. package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  493. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
  494. package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  495. package/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
  496. package/src/ui-kit/Checkbox/CheckboxProps.ts +1 -0
  497. package/src/ui-kit/DatePicker/DatePicker.tsx +1 -1
  498. package/bundle/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  499. package/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  500. package/bundle/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  501. package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +0 -4
  502. package/bundle/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +0 -4
  503. package/bundle/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
  504. package/dist/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  505. package/dist/components/ApplicationForm/AcquiringFormState.js +0 -2
  506. package/dist/components/ApplicationForm/AcquiringFormState.js.map +0 -1
  507. package/dist/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  508. package/dist/components/ApplicationForm/BusinessCardFormState.js +0 -2
  509. package/dist/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
  510. package/dist/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  511. package/dist/components/ApplicationForm/normalizeSelected.js +0 -5
  512. package/dist/components/ApplicationForm/normalizeSelected.js.map +0 -1
  513. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +0 -4
  514. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js +0 -10
  515. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js.map +0 -1
  516. package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +0 -4
  517. package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.js +0 -10
  518. package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.js.map +0 -1
  519. package/dist/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
  520. package/dist/components/ApplicationForm/renderWedTextarea.js +0 -12
  521. package/dist/components/ApplicationForm/renderWedTextarea.js.map +0 -1
  522. package/lib/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  523. package/lib/components/ApplicationForm/AcquiringFormState.js +0 -2
  524. package/lib/components/ApplicationForm/AcquiringFormState.js.map +0 -1
  525. package/lib/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  526. package/lib/components/ApplicationForm/BusinessCardFormState.js +0 -2
  527. package/lib/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
  528. package/lib/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  529. package/lib/components/ApplicationForm/normalizeSelected.js +0 -2
  530. package/lib/components/ApplicationForm/normalizeSelected.js.map +0 -1
  531. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +0 -3
  532. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js +0 -7
  533. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js.map +0 -1
  534. package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +0 -3
  535. package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.js +0 -7
  536. package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.js.map +0 -1
  537. package/lib/components/ApplicationForm/renderWedTextarea.d.ts +0 -3
  538. package/lib/components/ApplicationForm/renderWedTextarea.js +0 -9
  539. package/lib/components/ApplicationForm/renderWedTextarea.js.map +0 -1
  540. package/mobile/bundle/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  541. package/mobile/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  542. package/mobile/bundle/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  543. package/mobile/bundle/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
  544. package/mobile/dist/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  545. package/mobile/dist/components/ApplicationForm/AcquiringFormState.js +0 -2
  546. package/mobile/dist/components/ApplicationForm/AcquiringFormState.js.map +0 -1
  547. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  548. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js +0 -2
  549. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
  550. package/mobile/dist/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  551. package/mobile/dist/components/ApplicationForm/normalizeSelected.js +0 -5
  552. package/mobile/dist/components/ApplicationForm/normalizeSelected.js.map +0 -1
  553. package/mobile/dist/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
  554. package/mobile/dist/components/ApplicationForm/renderWedTextarea.js +0 -12
  555. package/mobile/dist/components/ApplicationForm/renderWedTextarea.js.map +0 -1
  556. package/mobile/lib/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
  557. package/mobile/lib/components/ApplicationForm/AcquiringFormState.js +0 -2
  558. package/mobile/lib/components/ApplicationForm/AcquiringFormState.js.map +0 -1
  559. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
  560. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js +0 -2
  561. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
  562. package/mobile/lib/components/ApplicationForm/normalizeSelected.d.ts +0 -2
  563. package/mobile/lib/components/ApplicationForm/normalizeSelected.js +0 -2
  564. package/mobile/lib/components/ApplicationForm/normalizeSelected.js.map +0 -1
  565. package/mobile/lib/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
  566. package/mobile/lib/components/ApplicationForm/renderWedTextarea.js +0 -9
  567. package/mobile/lib/components/ApplicationForm/renderWedTextarea.js.map +0 -1
  568. package/mobile/src/components/ApplicationForm/AcquiringFormState.ts +0 -12
  569. package/mobile/src/components/ApplicationForm/BusinessCardFormState.ts +0 -9
  570. package/mobile/src/components/ApplicationForm/normalizeSelected.ts +0 -4
  571. package/mobile/src/components/ApplicationForm/renderWedTextarea.tsx +0 -33
  572. package/src/components/ApplicationForm/AcquiringFormState.ts +0 -12
  573. package/src/components/ApplicationForm/BusinessCardFormState.ts +0 -9
  574. package/src/components/ApplicationForm/normalizeSelected.ts +0 -4
  575. package/src/components/ApplicationForm/renderAcquiringDataOrganization.mobile.tsx +0 -31
  576. package/src/components/ApplicationForm/renderCreditDataOrganization.mobile.tsx +0 -39
  577. package/src/components/ApplicationForm/renderWedTextarea.tsx +0 -33
@@ -1,7 +1,8 @@
1
1
  import { type VNode } from '../../model/VNode';
2
2
  export interface ApplicationFieldsetLayoutProp {
3
+ title?: string;
3
4
  firstChildren?: VNode;
4
5
  secondChildren?: VNode;
5
6
  }
6
7
  export declare const ApplicationFieldsetLayout: import("@redneckz/uni-jsx").UNIComponent<ApplicationFieldsetLayoutProp, any, any>;
7
- export declare const childrenClassName = "@xl:w-1/2 space-y-s";
8
+ export declare const formChildrenStyle = "@xl:w-1/2 space-y-s";
@@ -1,2 +1,13 @@
1
+ import { type Option } from '../../ui-kit/Select/Option';
1
2
  import { type ApplicationFormsProps } from './ApplicationFormsProps';
3
+ export interface AcquiringFormState {
4
+ acquiringType?: Option;
5
+ region?: Option;
6
+ fullName: string;
7
+ inn: string;
8
+ name: string;
9
+ phone: string;
10
+ onlineCheckout: boolean;
11
+ posTerminal: boolean;
12
+ }
2
13
  export declare const ApplicationFormAcquiring: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,2 +1,10 @@
1
+ import { type Option } from '../../ui-kit/Select/Option';
1
2
  import { type ApplicationFormsProps } from './ApplicationFormsProps';
3
+ export interface BusinessCardFormState {
4
+ region?: Option;
5
+ name: string;
6
+ phone: string;
7
+ inn: string;
8
+ mail: string;
9
+ }
2
10
  export declare const ApplicationFormBusinessCard: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -70,10 +70,17 @@ export declare type IndividualsFormParamsDef = TitleProps & {
70
70
  /** @title Продукт */
71
71
  product?: string;
72
72
  };
73
+ /**
74
+ * @title Форма обратной связи
75
+ */
76
+ export declare type FeedbackFormParamsDef = TitleProps & CommonApplicationFormProps & {
77
+ /** @default ApplicationFormFeedback */
78
+ formType: 'ApplicationFormFeedback';
79
+ };
73
80
  /**
74
81
  * @title Настройки формы
75
82
  */
76
- export declare type ApplicationFormBlockDef = BusinessCardFormParamsDef | WedFormParamsDef | DepositFormParamsDef | CreditFormParamsDef | AcquiringFormParamsDef | GrantSupportFormParamsDef | IndividualsFormParamsDef;
83
+ export declare type ApplicationFormBlockDef = BusinessCardFormParamsDef | WedFormParamsDef | DepositFormParamsDef | CreditFormParamsDef | AcquiringFormParamsDef | GrantSupportFormParamsDef | IndividualsFormParamsDef | FeedbackFormParamsDef;
77
84
  /**
78
85
  * @title Форма заявки
79
86
  */
@@ -0,0 +1,24 @@
1
+ import { type Option } from '../../ui-kit/Select/Option';
2
+ import { type ApplicationFormsProps } from './ApplicationFormsProps';
3
+ export interface FeedbackFormState {
4
+ typeForm: Option;
5
+ region?: Option;
6
+ serviceDirection: Option;
7
+ department?: Option;
8
+ surname: string;
9
+ name: string;
10
+ middleName: any;
11
+ fullName?: string;
12
+ date: Date | undefined;
13
+ feedbackMethod: Option;
14
+ phone: string;
15
+ phoneAdditional?: string;
16
+ mail: string;
17
+ bankEmpolee?: string;
18
+ applicationDate?: string;
19
+ text: string;
20
+ comment: string;
21
+ consentDataProcessing: boolean;
22
+ inn?: string;
23
+ }
24
+ export declare const ApplicationFormFeedback: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,5 +1,5 @@
1
1
  export interface DatePickerControlProps {
2
- className: string;
2
+ className?: string;
3
3
  label: string;
4
4
  value?: Date;
5
5
  error?: string;
@@ -6,4 +6,5 @@ export declare const EmbeddableForms: {
6
6
  ApplicationFormAcquiring: import("@redneckz/uni-jsx").UNIComponent<import("./ApplicationFormsProps").ApplicationFormsProps<Record<string, any>>, any, any>;
7
7
  ApplicationFormGrantSupport: import("@redneckz/uni-jsx").UNIComponent<import("./ApplicationFormsProps").ApplicationFormsProps<Record<string, any>>, any, any>;
8
8
  ApplicationFormIndividuals: import("@redneckz/uni-jsx").UNIComponent<import("./ApplicationFormsProps").ApplicationFormsProps<Record<string, any>>, any, any>;
9
+ ApplicationFormFeedback: import("@redneckz/uni-jsx").UNIComponent<import("./ApplicationFormsProps").ApplicationFormsProps<Record<string, any>>, any, any>;
9
10
  };
@@ -1,5 +1,5 @@
1
1
  export interface InputControlProps {
2
- className: string;
2
+ className?: string;
3
3
  label: string;
4
4
  value?: string;
5
5
  error?: string;
@@ -0,0 +1,4 @@
1
+ import { type Option } from '../../ui-kit/Select/Option';
2
+ export declare const FEEDBACK_TYPES: Option[];
3
+ export declare const FEEDBACK_METHOD: Option[];
4
+ export declare const SERVICE_DIRECTIONS: Option[];
@@ -0,0 +1 @@
1
+ export declare const formStyle = "container space-y-lg";
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type AcquiringFormState } from './AcquiringFormState';
4
- export declare const renderAcquiringDataOrganization: (field: FormFieldRegisterer<AcquiringFormState>) => JSX.Element;
3
+ import { type AcquiringFormState } from './ApplicationFormAcquiring';
4
+ export declare const renderAcquiringDataOrganization: (field: FormFieldRegisterer<AcquiringFormState>, title?: string) => JSX.Element;
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type AcquiringFormState } from './AcquiringFormState';
3
+ import { type AcquiringFormState } from './ApplicationFormAcquiring';
4
4
  import { type Select } from './models';
5
5
  interface AcquiringRegionProps {
6
6
  regions: Select[];
7
7
  field: FormFieldRegisterer<AcquiringFormState>;
8
+ title?: string;
8
9
  }
9
- export declare const renderAcquiringRegion: ({ regions, field }: AcquiringRegionProps) => JSX.Element;
10
+ export declare const renderAcquiringRegion: ({ regions, field, title }: AcquiringRegionProps) => JSX.Element;
10
11
  export {};
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type FieldProps } from '../../hooks/useForm';
3
+ import { type LinkProps } from '../../model/LinkProps';
4
+ import { type SubmitButtonProps } from './ApplicationFormContent';
5
+ export declare const renderAgreementWithSubmit: (consentDataProcessing: FieldProps<boolean>, link?: LinkProps, button?: SubmitButtonProps) => JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type BusinessCardFormState } from './BusinessCardFormState';
3
+ import { type BusinessCardFormState } from './ApplicationFormBusinessCard';
4
4
  export declare const renderBusinessCardDataOrganization: (field: FormFieldRegisterer<BusinessCardFormState>) => JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { type FormFieldRegisterer } from '../../hooks/useForm';
3
3
  import { type CreditFormState } from './CreditFormState';
4
- export declare const renderCreditDataOrganization: (field: FormFieldRegisterer<CreditFormState>) => JSX.Element;
4
+ export declare const renderCreditDataOrganization: (field: FormFieldRegisterer<CreditFormState>, title?: string) => JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { type FormFieldRegisterer } from '../../hooks/useForm';
3
3
  import { type CreditFormState } from './CreditFormState';
4
- export declare const renderCreditParameters: (field: FormFieldRegisterer<CreditFormState>) => JSX.Element;
4
+ export declare const renderCreditParameters: (field: FormFieldRegisterer<CreditFormState>, title?: string) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type BusinessCardFormState } from './BusinessCardFormState';
3
+ import { type BusinessCardFormState } from './ApplicationFormBusinessCard';
4
4
  import { type Select } from './models';
5
5
  interface RegionProps {
6
6
  regions: Select[];
@@ -4,9 +4,10 @@ import { type Branch } from '../SafeDepositRental/useSafeBoxes';
4
4
  import { type CreditFormState } from './CreditFormState';
5
5
  import { type Select } from './models';
6
6
  interface RegionDepartmentProps {
7
+ title?: string;
7
8
  regions: Select[];
8
9
  branches: Branch[];
9
10
  field: FormFieldRegisterer<CreditFormState>;
10
11
  }
11
- export declare const renderRegionDepartment: ({ regions, branches, field }: RegionDepartmentProps) => JSX.Element;
12
+ export declare const renderRegionDepartment: ({ title, regions, branches, field, }: RegionDepartmentProps) => JSX.Element;
12
13
  export {};
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type AcquiringFormState } from './AcquiringFormState';
3
+ import { type AcquiringFormState } from './ApplicationFormAcquiring';
4
4
  export declare const renderSlideCheckboxes: (field: FormFieldRegisterer<AcquiringFormState>) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { type FieldProps } from '../../hooks/useForm';
3
+ export declare const renderTextarea: (textField: FieldProps<string>, text?: string, placeholder?: string) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { type FormFieldRegisterer } from '../../hooks/useForm';
3
+ import { type FeedbackFormState } from './ApplicationFormFeedback';
4
+ export declare const renderUserData: (field: FormFieldRegisterer<FeedbackFormState>) => JSX.Element;
@@ -2,4 +2,10 @@
2
2
  import { type FormFieldRegisterer } from '../../hooks/useForm';
3
3
  import { type WedFormState } from './ApplicationFormWed';
4
4
  import { type Select } from './models';
5
- export declare const renderWedDataOrganization: (field: FormFieldRegisterer<WedFormState>, regions: Select[]) => JSX.Element;
5
+ interface WedDataOrganizationProps {
6
+ title?: string;
7
+ field: FormFieldRegisterer<WedFormState>;
8
+ regions: Select[];
9
+ }
10
+ export declare const renderWedDataOrganization: ({ field, regions }: WedDataOrganizationProps) => JSX.Element;
11
+ export {};
@@ -2,3 +2,4 @@ export declare const defaultValidator: import("../../validation/validator").Vali
2
2
  export declare const nameValidator: import("../../validation/validator").Validator<any>;
3
3
  export declare const innValidator: import("../../validation/validator").Validator<any>;
4
4
  export declare const phoneValidator: import("../../validation/validator").Validator<any>;
5
+ export declare const consentDataProcessingValidator: import("../../validation/validator").Validator<any>;
@@ -5,4 +5,5 @@ export interface CheckboxProps {
5
5
  disabled?: boolean;
6
6
  isRadio?: boolean;
7
7
  onChange?: (value: boolean) => void;
8
+ error?: string;
8
9
  }
@@ -1,7 +1,8 @@
1
1
  import { type VNode } from '../../model/VNode';
2
2
  export interface ApplicationFieldsetLayoutProp {
3
+ title?: string;
3
4
  firstChildren?: VNode;
4
5
  secondChildren?: VNode;
5
6
  }
6
7
  export declare const ApplicationFieldsetLayout: import("@redneckz/uni-jsx").UNIComponent<ApplicationFieldsetLayoutProp, any, any>;
7
- export declare const childrenClassName = "@xl:w-1/2 space-y-s";
8
+ export declare const formChildrenStyle = "@xl:w-1/2 space-y-s";
@@ -1,7 +1,8 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.childrenClassName = exports.ApplicationFieldsetLayout = void 0;
2
+ exports.formChildrenStyle = exports.ApplicationFieldsetLayout = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- exports.ApplicationFieldsetLayout = (0, uni_jsx_1.JSX)(({ firstChildren, secondChildren }) => ((0, jsx_runtime_1.jsxs)("fieldset", { className: "grig @xl:flex @xl:justify-between gap-lg border-b border-b-main-divider @xl:border-none", children: [firstChildren, secondChildren] })));
6
- exports.childrenClassName = '@xl:w-1/2 space-y-s';
5
+ const Heading_1 = require("../../ui-kit/Heading/Heading");
6
+ exports.ApplicationFieldsetLayout = (0, uni_jsx_1.JSX)(({ title, firstChildren, secondChildren }) => ((0, jsx_runtime_1.jsxs)("fieldset", { className: "grid @xl:flex @xl:justify-between gap-lg border-b border-b-main-divider @xl:border-none", children: [title ? ((0, jsx_runtime_1.jsx)("legend", { className: "w-full", children: (0, jsx_runtime_1.jsx)(Heading_1.Heading, { title: title, headingType: "h6", className: "@xl:text-center" }) })) : null, firstChildren, secondChildren] })));
7
+ exports.formChildrenStyle = '@xl:w-1/2 space-y-s';
7
8
  //# sourceMappingURL=ApplicationFieldsetLayout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationFieldsetLayout.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFieldsetLayout.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAQ3B,QAAA,yBAAyB,GAAG,IAAA,aAAG,EAC1C,CAAC,EAAE,aAAa,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CACrC,sCAAU,SAAS,EAAC,yFAAyF,aAC1G,aAAa,EACb,cAAc,IACN,CACZ,CACF,CAAC;AAEW,QAAA,iBAAiB,GAAG,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ApplicationFieldsetLayout.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFieldsetLayout.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AAQ1C,QAAA,yBAAyB,GAAG,IAAA,aAAG,EAC1C,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CAC5C,sCAAU,SAAS,EAAC,yFAAyF,aAC1G,KAAK,CAAC,CAAC,CAAC,CACP,mCAAQ,SAAS,EAAC,QAAQ,YACxB,uBAAC,iBAAO,IAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,iBAAiB,GAAG,GAC/D,CACV,CAAC,CAAC,CAAC,IAAI,EACP,aAAa,EACb,cAAc,IACN,CACZ,CACF,CAAC;AAEW,QAAA,iBAAiB,GAAG,qBAAqB,CAAC"}
@@ -1,2 +1,13 @@
1
+ import { type Option } from '../../ui-kit/Select/Option';
1
2
  import { type ApplicationFormsProps } from './ApplicationFormsProps';
3
+ export interface AcquiringFormState {
4
+ acquiringType?: Option;
5
+ region?: Option;
6
+ fullName: string;
7
+ inn: string;
8
+ name: string;
9
+ phone: string;
10
+ onlineCheckout: boolean;
11
+ posTerminal: boolean;
12
+ }
2
13
  export declare const ApplicationFormAcquiring: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -4,11 +4,11 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const useForm_1 = require("../../hooks/useForm");
7
- const Heading_1 = require("../../ui-kit/Heading/Heading");
8
7
  const objectValidator_1 = require("../../validation/objectValidator");
9
8
  const validator_1 = require("../../validation/validator");
10
9
  const useGetRegions_1 = require("../SafeDepositRental/useGetRegions");
11
10
  const Footnote_1 = require("./Footnote");
11
+ const formStyle_1 = require("./formStyle");
12
12
  const renderAcquiringDataOrganization_1 = require("./renderAcquiringDataOrganization");
13
13
  const renderAcquiringRegion_1 = require("./renderAcquiringRegion");
14
14
  const renderSlideCheckboxes_1 = require("./renderSlideCheckboxes");
@@ -48,6 +48,6 @@ exports.ApplicationFormAcquiring = (0, uni_jsx_1.JSX)((props) => {
48
48
  }, [onSubmit]);
49
49
  const [, { field, ...formProps }] = (0, useForm_1.useForm)(initialFormState, handleSubmit);
50
50
  const regions = (0, useGetRegions_1.useGetRegions)();
51
- return ((0, jsx_runtime_1.jsxs)("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [(0, jsx_runtime_1.jsx)(Heading_1.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" }), (0, renderAcquiringRegion_1.renderAcquiringRegion)({ regions, field }), (0, jsx_runtime_1.jsx)(Heading_1.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" }), (0, renderAcquiringDataOrganization_1.renderAcquiringDataOrganization)(field), (0, renderSlideCheckboxes_1.renderSlideCheckboxes)(field), (0, renderSubmitButton_1.renderSubmitButton)(button), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }));
51
+ return ((0, jsx_runtime_1.jsxs)("form", { className: formStyle_1.formStyle, onSubmit: formProps.onSubmit, children: [(0, renderAcquiringRegion_1.renderAcquiringRegion)({ regions, field, title: 'Вид эквайринга и регион' }), (0, renderAcquiringDataOrganization_1.renderAcquiringDataOrganization)(field, 'Данные организации'), (0, renderSlideCheckboxes_1.renderSlideCheckboxes)(field), (0, renderSubmitButton_1.renderSubmitButton)(button), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }));
52
52
  });
53
53
  //# sourceMappingURL=ApplicationFormAcquiring.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationFormAcquiring.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormAcquiring.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,iDAA8C;AAC9C,0DAAuD;AACvD,sEAAmE;AACnE,0DAAiE;AACjE,sEAAmE;AAGnE,yCAAsC;AACtC,uFAAoF;AACpF,mEAAgE;AAChE,mEAAgE;AAChE,6DAA0D;AAC1D,6CAA6F;AAE7F,MAAM,gBAAgB,GAAuB;IAC3C,aAAa,EAAE,EAAE,GAAG,EAAE,oBAAoB,EAAE;IAC5C,QAAQ,EAAE,EAAE;IACZ,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,KAAK;CACnB,CAAC;AAEF,MAAM,kBAAkB,GAAG,IAAA,iCAAe,EAAC;IACzC,aAAa,EAAE,6BAAgB;IAC/B,MAAM,EAAE,6BAAgB;IACxB,QAAQ,EAAE,6BAAgB;IAC1B,GAAG,EAAE,yBAAY;IACjB,IAAI,EAAE,0BAAa;IACnB,KAAK,EAAE,2BAAc;CACtB,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,IAAA,aAAG,EAAwB,CAAC,KAAK,EAAE,EAAE;IAC3E,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEzC,MAAM,YAAY,GAAG,IAAA,mBAAW,EAC9B,CAAC,SAA6B,EAAE,EAAE;QAChC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,GACtF,SAAS,CAAC;QAEZ,IAAA,+BAAmB,EAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;YAChD,QAAQ,CAAC;gBAC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I;gBACJ,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;aACpC,CAAC,CAAC;IACP,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,SAAS,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;IAE5E,MAAM,OAAO,GAAG,IAAA,6BAAa,GAAE,CAAC;IAEhC,OAAO,CACL,kCAAM,SAAS,EAAE,qBAAS,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,aACrD,IAAA,6CAAqB,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,yBAAyB,EAAE,CAAC,EAC3E,IAAA,iEAA+B,EAAC,KAAK,EAAE,oBAAoB,CAAC,EAC5D,IAAA,6CAAqB,EAAC,KAAK,CAAC,EAC5B,IAAA,uCAAkB,EAAC,MAAM,CAAC,EAC3B,uBAAC,mBAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACnB,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,2 +1,10 @@
1
+ import { type Option } from '../../ui-kit/Select/Option';
1
2
  import { type ApplicationFormsProps } from './ApplicationFormsProps';
3
+ export interface BusinessCardFormState {
4
+ region?: Option;
5
+ name: string;
6
+ phone: string;
7
+ inn: string;
8
+ mail: string;
9
+ }
2
10
  export declare const ApplicationFormBusinessCard: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -8,6 +8,7 @@ const objectValidator_1 = require("../../validation/objectValidator");
8
8
  const validator_1 = require("../../validation/validator");
9
9
  const useGetRegions_1 = require("../SafeDepositRental/useGetRegions");
10
10
  const Footnote_1 = require("./Footnote");
11
+ const formStyle_1 = require("./formStyle");
11
12
  const renderBusinessCardDataOrganization_1 = require("./renderBusinessCardDataOrganization");
12
13
  const renderRegion_1 = require("./renderRegion");
13
14
  const renderSubmitButton_1 = require("./renderSubmitButton");
@@ -41,6 +42,6 @@ exports.ApplicationFormBusinessCard = (0, uni_jsx_1.JSX)((props) => {
41
42
  }, [onSubmit]);
42
43
  const [, { field, ...formProps }] = (0, useForm_1.useForm)(initialFormState, handleSubmit);
43
44
  const regions = (0, useGetRegions_1.useGetRegions)();
44
- return ((0, jsx_runtime_1.jsxs)("form", { className: "container space-y-s", onSubmit: formProps.onSubmit, children: [(0, renderRegion_1.renderRegion)({ regions, field }), (0, renderBusinessCardDataOrganization_1.renderBusinessCardDataOrganization)(field), (0, renderSubmitButton_1.renderSubmitButton)(button), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }));
45
+ return ((0, jsx_runtime_1.jsxs)("form", { className: formStyle_1.formStyle, onSubmit: formProps.onSubmit, children: [(0, renderRegion_1.renderRegion)({ regions, field }), (0, renderBusinessCardDataOrganization_1.renderBusinessCardDataOrganization)(field), (0, renderSubmitButton_1.renderSubmitButton)(button), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }));
45
46
  });
46
47
  //# sourceMappingURL=ApplicationFormBusinessCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationFormBusinessCard.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormBusinessCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,iDAA8C;AAC9C,sEAAmE;AACnE,0DAAiE;AACjE,sEAAmE;AAGnE,yCAAsC;AACtC,6FAA0F;AAC1F,iDAA8C;AAC9C,6DAA0D;AAC1D,6CAA6F;AAE7F,MAAM,gBAAgB,GAA0B;IAC9C,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,qBAAqB,GAAG,IAAA,iCAAe,EAAC;IAC5C,MAAM,EAAE,6BAAgB;IACxB,IAAI,EAAE,0BAAa;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version":3,"file":"ApplicationFormBusinessCard.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormBusinessCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,iDAA8C;AAE9C,sEAAmE;AACnE,0DAAiE;AACjE,sEAAmE;AAEnE,yCAAsC;AACtC,2CAAwC;AACxC,6FAA0F;AAC1F,iDAA8C;AAC9C,6DAA0D;AAC1D,6CAA6F;AAU7F,MAAM,gBAAgB,GAA0B;IAC9C,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,qBAAqB,GAAG,IAAA,iCAAe,EAAC;IAC5C,MAAM,EAAE,6BAAgB;IACxB,IAAI,EAAE,0BAAa;IACnB,KAAK,EAAE,2BAAc;IACrB,GAAG,EAAE,yBAAY;IACjB,IAAI,EAAE,6BAAgB;CACvB,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,IAAA,aAAG,EAAwB,CAAC,KAAK,EAAE,EAAE;IAC9E,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEzC,MAAM,YAAY,GAAG,IAAA,mBAAW,EAC9B,CAAC,SAAgC,EAAE,EAAE;QACnC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;QAErD,IAAA,+BAAmB,EAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;YACnD,QAAQ,CAAC;gBACP,QAAQ,EAAE,MAAM;gBAChB,MAAM,EAAE,MAAM,EAAE,IAAI,IAAI,EAAE;gBAC1B,IAAI;gBACJ,GAAG;gBACH,IAAI;gBACJ,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;aACpC,CAAC,CAAC;IACP,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,SAAS,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;IAE5E,MAAM,OAAO,GAAG,IAAA,6BAAa,GAAE,CAAC;IAEhC,OAAO,CACL,kCAAM,SAAS,EAAE,qBAAS,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,aACrD,IAAA,2BAAY,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAChC,IAAA,uEAAkC,EAAC,KAAK,CAAC,EACzC,IAAA,uCAAkB,EAAC,MAAM,CAAC,EAC3B,uBAAC,mBAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACnB,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -70,10 +70,17 @@ export declare type IndividualsFormParamsDef = TitleProps & {
70
70
  /** @title Продукт */
71
71
  product?: string;
72
72
  };
73
+ /**
74
+ * @title Форма обратной связи
75
+ */
76
+ export declare type FeedbackFormParamsDef = TitleProps & CommonApplicationFormProps & {
77
+ /** @default ApplicationFormFeedback */
78
+ formType: 'ApplicationFormFeedback';
79
+ };
73
80
  /**
74
81
  * @title Настройки формы
75
82
  */
76
- export declare type ApplicationFormBlockDef = BusinessCardFormParamsDef | WedFormParamsDef | DepositFormParamsDef | CreditFormParamsDef | AcquiringFormParamsDef | GrantSupportFormParamsDef | IndividualsFormParamsDef;
83
+ export declare type ApplicationFormBlockDef = BusinessCardFormParamsDef | WedFormParamsDef | DepositFormParamsDef | CreditFormParamsDef | AcquiringFormParamsDef | GrantSupportFormParamsDef | IndividualsFormParamsDef | FeedbackFormParamsDef;
77
84
  /**
78
85
  * @title Форма заявки
79
86
  */
@@ -5,12 +5,12 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const useBranches_1 = require("../../hooks/useBranches");
7
7
  const useForm_1 = require("../../hooks/useForm");
8
- const Heading_1 = require("../../ui-kit/Heading/Heading");
9
8
  const objectValidator_1 = require("../../validation/objectValidator");
10
9
  const validator_1 = require("../../validation/validator");
11
10
  const useGetRegions_1 = require("../SafeDepositRental/useGetRegions");
12
11
  const CreditParameters_1 = require("./CreditParameters");
13
12
  const Footnote_1 = require("./Footnote");
13
+ const formStyle_1 = require("./formStyle");
14
14
  const renderCreditDataOrganization_1 = require("./renderCreditDataOrganization");
15
15
  const renderCreditParameters_1 = require("./renderCreditParameters");
16
16
  const renderRegionDepartment_1 = require("./renderRegionDepartment");
@@ -54,6 +54,6 @@ exports.ApplicationFormCredit = (0, uni_jsx_1.JSX)(({ button, link, onSubmit })
54
54
  const [formState, { field, ...formProps }] = (0, useForm_1.useForm)(initialFormState, handleSubmit);
55
55
  const regions = (0, useGetRegions_1.useGetRegions)();
56
56
  const branches = (0, useBranches_1.useBranches)(formState.region?.key).filter((branch) => branch?.address);
57
- return ((0, jsx_runtime_1.jsxs)("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", title: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", className: "@xl:text-center" }), (0, renderCreditParameters_1.renderCreditParameters)(field), (0, jsx_runtime_1.jsx)(Heading_1.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" }), (0, renderCreditDataOrganization_1.renderCreditDataOrganization)(field), (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", className: "@xl:text-center" }), (0, renderRegionDepartment_1.renderRegionDepartment)({ regions, branches, field }), (0, renderSubmitButton_1.renderSubmitButton)(button), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }));
57
+ return ((0, jsx_runtime_1.jsxs)("form", { className: formStyle_1.formStyle, onSubmit: formProps.onSubmit, children: [(0, renderCreditParameters_1.renderCreditParameters)(field, 'Параметры'), (0, renderCreditDataOrganization_1.renderCreditDataOrganization)(field, 'Данные организации'), (0, renderRegionDepartment_1.renderRegionDepartment)({ regions, branches, field, title: 'Офис банка' }), (0, renderSubmitButton_1.renderSubmitButton)(button), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }));
58
58
  });
59
59
  //# sourceMappingURL=ApplicationFormCredit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationFormCredit.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormCredit.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,yDAAsD;AACtD,iDAA8C;AAC9C,0DAAuD;AACvD,sEAAmE;AACnE,0DAAiE;AACjE,sEAAmE;AAGnE,yDAAuD;AACvD,yCAAsC;AACtC,iFAA8E;AAC9E,qEAAkE;AAClE,qEAAkE;AAClE,6DAA0D;AAC1D,6CAA6F;AAE7F,MAAM,gBAAgB,GAAoB;IACxC,MAAM,EAAE,oCAAiB;IACzB,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,EAAE;IACZ,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,aAAa,EAAE,EAAE;CAClB,CAAC;AAEF,MAAM,eAAe,GAAG,IAAA,iCAAe,EAAC;IACtC,QAAQ,EAAE,6BAAgB;IAC1B,aAAa,EAAE,6BAAgB;IAC/B,GAAG,EAAE,yBAAY;IACjB,IAAI,EAAE,0BAAa;IACnB,KAAK,EAAE,2BAAc;IACrB,MAAM,EAAE,6BAAgB;IACxB,UAAU,EAAE,6BAAgB;CAC7B,CAAC,CAAC;AAEU,QAAA,qBAAqB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE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B,EAAC,KAAK,CAAC,EAC9B,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAC,yGAAoB,EAAC,SAAS,EAAC,iBAAiB,GAAG,EAClF,IAAA,2DAA4B,EAAC,KAAK,CAAC,EACpC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAC,yDAAY,EAAC,SAAS,EAAC,iBAAiB,GAAG,EAC1E,IAAA,+CAAsB,EAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,EACpD,IAAA,uCAAkB,EAAC,MAAM,CAAC,EAC3B,uBAAC,mBAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACnB,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"ApplicationFormCredit.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormCredit.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,yDAAsD;AACtD,iDAA8C;AAC9C,sEAAmE;AACnE,0DAAiE;AACjE,sEAAmE;AAGnE,yDAAuD;AACvD,yCAAsC;AACtC,2CAAwC;AACxC,iFAA8E;AAC9E,qEAAkE;AAClE,qEAAkE;AAClE,6DAA0D;AAC1D,6CAA6F;AAE7F,MAAM,gBAAgB,GAAoB;IACxC,MAAM,EAAE,oCAAiB;IACzB,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,EAAE;IACZ,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,aAAa,EAAE,EAAE;CAClB,CAAC;AAEF,MAAM,eAAe,GAAG,IAAA,iCAAe,EAAC;IACtC,QAAQ,EAAE,6BAAgB;IAC1B,aAAa,EAAE,6BAAgB;IAC/B,GAAG,EAAE,yBAAY;IACjB,IAAI,EAAE,0BAAa;IACnB,KAAK,EAAE,2BAAc;IACrB,MAAM,EAAE,6BAAg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,SAAS,CAAC,QAAQ,aACrD,IAAA,+CAAsB,EAAC,KAAK,EAAE,WAAW,CAAC,EAC1C,IAAA,2DAA4B,EAAC,KAAK,EAAE,oBAAoB,CAAC,EACzD,IAAA,+CAAsB,EAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,EACzE,IAAA,uCAAkB,EAAC,MAAM,CAAC,EAC3B,uBAAC,mBAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACnB,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -4,11 +4,12 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const useForm_1 = require("../../hooks/useForm");
7
- const Heading_1 = require("../../ui-kit/Heading/Heading");
8
7
  const objectValidator_1 = require("../../validation/objectValidator");
9
8
  const validator_1 = require("../../validation/validator");
10
9
  const withValidator_1 = require("../../validation/withValidator");
10
+ const ApplicationFieldsetLayout_1 = require("./ApplicationFieldsetLayout");
11
11
  const Footnote_1 = require("./Footnote");
12
+ const formStyle_1 = require("./formStyle");
12
13
  const InputControl_1 = require("./InputControl");
13
14
  const PhoneInputControl_1 = require("./PhoneInputControl");
14
15
  const renderSubmitButton_1 = require("./renderSubmitButton");
@@ -32,6 +33,6 @@ exports.ApplicationFormDeposit = (0, uni_jsx_1.JSX)(({ button, link, onSubmit })
32
33
  });
33
34
  }, [onSubmit]);
34
35
  const [, { field, ...formProps }] = (0, useForm_1.useForm)(initialFormState, handleSubmit);
35
- return ((0, jsx_runtime_1.jsxs)("form", { className: "container", onSubmit: formProps.onSubmit, children: [(0, jsx_runtime_1.jsx)(Heading_1.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" }), (0, jsx_runtime_1.jsxs)("div", { className: "max-w-[560px] m-auto space-y-s", children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 w-full", label: "\u0418\u043C\u044F", ...(0, withValidator_1.withValidator)(field('name'), validators_1.nameValidator) }), (0, jsx_runtime_1.jsx)(PhoneInputControl_1.PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...(0, withValidator_1.withValidator)(field('phone'), validators_1.phoneValidator) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between flex-col-reverse @xl:items-center @xl:flex-row max-w-[560px] m-auto", children: [(0, jsx_runtime_1.jsx)("div", { className: "flex-1", children: (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link }) }), (0, renderSubmitButton_1.renderSubmitButton)(button)] })] }));
36
+ return ((0, jsx_runtime_1.jsx)("form", { className: formStyle_1.formStyle, onSubmit: formProps.onSubmit, children: (0, jsx_runtime_1.jsx)(ApplicationFieldsetLayout_1.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: (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-xl space-y-s m-auto", children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u0418\u043C\u044F", ...(0, withValidator_1.withValidator)(field('name'), validators_1.nameValidator) }), (0, jsx_runtime_1.jsx)(PhoneInputControl_1.PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...(0, withValidator_1.withValidator)(field('phone'), validators_1.phoneValidator) }), (0, renderSubmitButton_1.renderSubmitButton)(button), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }) }) }));
36
37
  });
37
38
  //# sourceMappingURL=ApplicationFormDeposit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationFormDeposit.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormDeposit.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,iDAA8C;AAC9C,0DAAuD;AACvD,sEAAmE;AACnE,0DAAiE;AACjE,kEAA+D;AAE/D,yCAAsC;AACtC,iDAA8C;AAC9C,2DAAwD;AACxD,6DAA0D;AAC1D,6CAA6D;AAO7D,MAAM,gBAAgB,GAAqB;IACzC,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;CACV,CAAC;AAEF,MAAM,gBAAgB,GAAG,IAAA,iCAAe,EAAC;IACvC,IAAI,EAAE,0BAAa;IACnB,KAAK,EAAE,2BAAc;CACtB,CAAC,CAAC;AAEU,QAAA,sBAAsB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9F,MAAM,YAAY,GAAG,IAAA,mBAAW,EAC9B,CAAC,SAA2B,EAAE,EAAE;QAC9B,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,SAAS,CAAC;QAElC,IAAA,+BAAmB,EAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;YAC9C,QAAQ,CAAC;gBACP,QAAQ,EAAE,MAAM;gBAChB,IAAI;gBACJ,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;aACpC,CAAC,CAAC;IACP,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,SAAS,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;IAE5E,OAAO,CACL,kCAAM,SAAS,EAAC,WAAW,EAAC,QAAQ,EAAE,SAAS,CAAC,QAAQ,aACtD,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,KAAK,EAAC,iTAA4D,EAClE,SAAS,EAAC,sBAAsB,GAChC,EACF,iCAAK,SAAS,EAAC,gCAAgC,aAC7C,uBAAC,2BAAY,IACX,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,oBAAK,KACP,IAAA,6BAAa,EAAC,KAAK,CAAC,MAAM,CAAC,EAAE,0BAAa,CAAC,GAC/C,EACF,uBAAC,qCAAiB,IAChB,SAAS,EAAC,iBAAiB,EAC3B,KAAK,EAAC,4CAAS,KACX,IAAA,6BAAa,EAAC,KAAK,CAAC,OAAO,CAAC,EAAE,2BAAc,CAAC,GACjD,IACE,EACN,iCAAK,SAAS,EAAC,0FAA0F,aACvG,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,mBAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,GACpB,EACL,IAAA,uCAAkB,EAAC,MAAM,CAAC,IACvB,IACD,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"ApplicationFormDeposit.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormDeposit.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAC1D,iDAA8C;AAC9C,sEAAmE;AACnE,0DAAiE;AACjE,kEAA+D;AAC/D,2EAAwE;AAExE,yCAAsC;AACtC,2CAAwC;AACxC,iDAA8C;AAC9C,2DAAwD;AACxD,6DAA0D;AAC1D,6CAA6D;AAO7D,MAAM,gBAAgB,GAAqB;IACzC,IAAI,EAAE,EAAE;IACR,KAAK,EAAE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IAAI,EAAE,IAAI,GAAI,IACpB,GAER,GACG,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { type Option } from '../../ui-kit/Select/Option';
2
+ import { type ApplicationFormsProps } from './ApplicationFormsProps';
3
+ export interface FeedbackFormState {
4
+ typeForm: Option;
5
+ region?: Option;
6
+ serviceDirection: Option;
7
+ department?: Option;
8
+ surname: string;
9
+ name: string;
10
+ middleName: any;
11
+ fullName?: string;
12
+ date: Date | undefined;
13
+ feedbackMethod: Option;
14
+ phone: string;
15
+ phoneAdditional?: string;
16
+ mail: string;
17
+ bankEmpolee?: string;
18
+ applicationDate?: string;
19
+ text: string;
20
+ comment: string;
21
+ consentDataProcessing: boolean;
22
+ inn?: string;
23
+ }
24
+ export declare const ApplicationFormFeedback: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -0,0 +1,71 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.ApplicationFormFeedback = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ /* eslint-disable max-lines-per-function,max-lines */
5
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
6
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
7
+ const useBranches_1 = require("../../hooks/useBranches");
8
+ const useForm_1 = require("../../hooks/useForm");
9
+ const objectValidator_1 = require("../../validation/objectValidator");
10
+ const validator_1 = require("../../validation/validator");
11
+ const withValidator_1 = require("../../validation/withValidator");
12
+ const useGetRegions_1 = require("../SafeDepositRental/useGetRegions");
13
+ const ApplicationFieldsetLayout_1 = require("./ApplicationFieldsetLayout");
14
+ const feedbackTypes_1 = require("./feedbackTypes");
15
+ const formStyle_1 = require("./formStyle");
16
+ const InputControl_1 = require("./InputControl");
17
+ const PhoneInputControl_1 = require("./PhoneInputControl");
18
+ const renderAgreementWithSubmit_1 = require("./renderAgreementWithSubmit");
19
+ const renderTextarea_1 = require("./renderTextarea");
20
+ const renderUserData_1 = require("./renderUserData");
21
+ const SelectControl_1 = require("./SelectControl");
22
+ const validators_1 = require("./validators");
23
+ const initialFormState = {
24
+ typeForm: { key: 'FEEDBACK', text: 'Задать вопрос по продуктам и услугам' },
25
+ serviceDirection: { key: 'Физическое лицо' },
26
+ surname: '',
27
+ name: '',
28
+ middleName: '',
29
+ date: undefined,
30
+ feedbackMethod: { key: 'Телефонный звонок' },
31
+ phone: '',
32
+ phoneAdditional: '',
33
+ mail: '',
34
+ text: '',
35
+ comment: '',
36
+ consentDataProcessing: false,
37
+ };
38
+ const feedbackValidator = (0, objectValidator_1.objectValidator)({
39
+ typeForm: validators_1.defaultValidator,
40
+ region: validators_1.defaultValidator,
41
+ department: validators_1.defaultValidator,
42
+ name: validators_1.nameValidator,
43
+ date: validators_1.defaultValidator,
44
+ feedbackMethod: validators_1.defaultValidator,
45
+ phone: validators_1.phoneValidator,
46
+ mail: validators_1.defaultValidator,
47
+ consentDataProcessing: validators_1.consentDataProcessingValidator,
48
+ inn: validators_1.innValidator,
49
+ });
50
+ exports.ApplicationFormFeedback = (0, uni_jsx_1.JSX)(({ button, link, onSubmit }) => {
51
+ const handleSubmit = (0, hooks_1.useCallback)((formState) => {
52
+ const submitData = {
53
+ ...formState,
54
+ typeForm: formState.typeForm.key,
55
+ region: formState.region?.text || '',
56
+ department: formState.department?.text || '',
57
+ phone: formState.phone.replace(/[^+\d]/g, ''),
58
+ };
59
+ (0, validator_1.isValidationSuccess)(feedbackValidator(formState)) && onSubmit(submitData);
60
+ }, [onSubmit]);
61
+ const [formState, { field, ...formProps }] = (0, useForm_1.useForm)(initialFormState, handleSubmit);
62
+ const regions = (0, useGetRegions_1.useGetRegions)();
63
+ const branches = (0, useBranches_1.useBranches)(formState.region?.key).filter((branch) => branch?.address);
64
+ const isQualityService = field('typeForm').value?.key === 'FEEDBACK_QC';
65
+ const isLegalEntity = isQualityService && field('serviceDirection').value?.key === 'Юридическое лицо / ИП';
66
+ return ((0, jsx_runtime_1.jsx)("form", { className: formStyle_1.formStyle, onSubmit: formProps.onSubmit, children: (0, jsx_runtime_1.jsx)(ApplicationFieldsetLayout_1.ApplicationFieldsetLayout, { firstChildren: (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-xl space-y-s m-auto", children: [(0, jsx_runtime_1.jsx)(SelectControl_1.SelectControl, { label: "\u0422\u0435\u043C\u0430*", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0435\u043C\u0443", options: feedbackTypes_1.FEEDBACK_TYPES, ...(0, withValidator_1.withValidator)(field('typeForm'), validators_1.defaultValidator) }), isQualityService ? ((0, jsx_runtime_1.jsx)(SelectControl_1.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: feedbackTypes_1.SERVICE_DIRECTIONS, ...(0, withValidator_1.withValidator)(field('serviceDirection'), validators_1.defaultValidator) })) : null, (0, jsx_runtime_1.jsx)(SelectControl_1.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 })), ...(0, withValidator_1.withValidator)(field('region'), validators_1.defaultValidator) }), (0, jsx_runtime_1.jsx)(SelectControl_1.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 = '' }) => ({
67
+ key: branchCode,
68
+ text: address,
69
+ })), ...(0, withValidator_1.withValidator)(field('department'), validators_1.defaultValidator) }), (0, renderUserData_1.renderUserData)(field), isLegalEntity ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u0418\u041D\u041D", ...(0, withValidator_1.withValidator)(field('inn'), validators_1.innValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.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", ...(0, withValidator_1.withValidator)(field('fullName'), validators_1.defaultValidator) })] })) : null, (0, jsx_runtime_1.jsx)(SelectControl_1.SelectControl, { label: "\u0421\u043F\u043E\u0441\u043E\u0431 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043E\u0442\u0432\u0435\u0442\u0430*", options: feedbackTypes_1.FEEDBACK_METHOD.map(({ key: key = '' }) => ({ key, text: key })), ...(0, withValidator_1.withValidator)(field('feedbackMethod'), validators_1.defaultValidator) }), (0, jsx_runtime_1.jsx)(PhoneInputControl_1.PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D*", ...(0, withValidator_1.withValidator)(field('phone'), validators_1.phoneValidator) }), isQualityService ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(PhoneInputControl_1.PhoneInputControl, { label: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0442\u0435\u043B\u0435\u0444\u043E\u043D", ...(0, withValidator_1.withValidator)(field('phoneAdditional'), validators_1.phoneValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...(0, withValidator_1.withValidator)(field('mail'), validators_1.defaultValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.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", ...(0, withValidator_1.withValidator)(field('bankEmpolee'), validators_1.defaultValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.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", ...(0, withValidator_1.withValidator)(field('applicationDate'), validators_1.defaultValidator) })] })) : ((0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...(0, withValidator_1.withValidator)(field('mail'), validators_1.defaultValidator) })), (0, renderTextarea_1.renderTextarea)(field('text'), 'Ваше сообщение*'), (0, renderAgreementWithSubmit_1.renderAgreementWithSubmit)(field('consentDataProcessing'), link, button)] }) }) }));
70
+ });
71
+ //# sourceMappingURL=ApplicationFormFeedback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationFormFeedback.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormFeedback.tsx"],"names":[],"mappings":";;;AAAA,qDAAqD;AAErD,+CAAwC;AACxC,uDAA0D;AAC1D,yDAAsD;AACtD,iDAA8C;AAE9C,sEAAmE;AACnE,0DAAiE;AACjE,kEAA+D;AAC/D,sEAAmE;AACnE,2EAAwE;AAExE,mDAAsF;AACtF,2CAAwC;AACxC,iDAA8C;AAC9C,2DAAwD;AACxD,2EAAwE;AACxE,qDAAkD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
@@ -17,6 +17,6 @@ exports.ApplicationFormGrantSupport = (0, uni_jsx_1.JSX)((props) => {
17
17
  version: button?.version,
18
18
  });
19
19
  const regionHref = regions?.find((_) => _.name === region.key)?.href;
20
- return ((0, jsx_runtime_1.jsxs)("div", { className: "container space-y-s @xl:space-y-lg", children: [regions ? ((0, jsx_runtime_1.jsx)(SelectControl_1.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 ? ((0, jsx_runtime_1.jsx)("div", { className: "text-center", children: (0, jsx_runtime_1.jsx)(LinkButton_1.LinkButton, { href: regionHref, target: "_blank", className: (0, style_1.style)('p-m w-full @xl:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
20
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "container space-y-s", children: [regions ? ((0, jsx_runtime_1.jsx)(SelectControl_1.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 ? ((0, jsx_runtime_1.jsx)("div", { className: "text-center", children: (0, jsx_runtime_1.jsx)(LinkButton_1.LinkButton, { href: regionHref, target: "_blank", className: (0, style_1.style)('p-m w-full @xl:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
21
21
  });
22
22
  //# sourceMappingURL=ApplicationFormGrantSupport.js.map