@redneckz/wildless-cms-uni-blocks 0.14.989 → 0.14.991

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 (642) hide show
  1. package/bundle/api/LeadServiceAPI.d.ts +10 -3
  2. package/bundle/api/getSubmitBody.d.ts +201 -97
  3. package/bundle/api/sendFile.d.ts +16 -0
  4. package/bundle/blocks.schema.json +1 -1
  5. package/bundle/bundle.umd.js +566 -51
  6. package/bundle/bundle.umd.min.js +1 -1
  7. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +8 -2
  8. package/bundle/components/ApplicationForm/constants.d.ts +7 -0
  9. package/bundle/components/ApplicationForm/handlers.d.ts +3 -2
  10. package/bundle/hooks/useDragAndDrop.d.ts +16 -0
  11. package/bundle/model/FormTypeFieldDef.d.ts +1 -1
  12. package/bundle/model/InputTypes.d.ts +1 -1
  13. package/bundle/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
  14. package/bundle/ui-kit/FormField/Fields/AddressBranchField.d.ts +1 -2
  15. package/bundle/ui-kit/FormField/Fields/AverageGradeField.d.ts +2 -0
  16. package/bundle/ui-kit/FormField/Fields/FileIdField.d.ts +2 -0
  17. package/bundle/ui-kit/FormField/Fields/FileUpload.d.ts +2 -0
  18. package/bundle/ui-kit/FormField/Fields/InternshipEndDateField.d.ts +2 -0
  19. package/bundle/ui-kit/FormField/Fields/InternshipStartDateField.d.ts +2 -0
  20. package/bundle/ui-kit/FormField/Fields/SelectField.d.ts +6 -0
  21. package/bundle/ui-kit/FormField/Fields/TextField.d.ts +2 -0
  22. package/bundle/ui-kit/FormField/InputsMap.d.ts +62 -0
  23. package/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  24. package/bundle/ui-kit/FormField/constants.d.ts +3 -0
  25. package/bundle/ui-kit/FormField/validators.d.ts +1 -0
  26. package/bundle/ui-kit/Input/InputFile.d.ts +2 -0
  27. package/bundle/ui-kit/Input/InputFileControl.d.ts +2 -0
  28. package/bundle/ui-kit/Input/InputProps.d.ts +6 -1
  29. package/bundle/ui-kit/Input/checks/checkFIleExtension.d.ts +1 -0
  30. package/bundle/ui-kit/Input/checks/checkFileMimeType.d.ts +1 -0
  31. package/bundle/ui-kit/Input/checks/checkFileSignature.d.ts +3 -0
  32. package/bundle/ui-kit/Input/checks/checkFileSize.d.ts +1 -0
  33. package/bundle/ui-kit/Input/checks/getFileSignature.d.ts +1 -0
  34. package/bundle/ui-kit/Input/constants.d.ts +6 -0
  35. package/bundle/ui-kit/Input/renderFileInput.d.ts +12 -0
  36. package/bundle/ui-kit/Input/renderInfoText.d.ts +1 -0
  37. package/bundle/ui-kit/Input/styles.d.ts +2 -0
  38. package/bundle/ui-kit/Input/useVerifyFile.d.ts +17 -0
  39. package/bundle/ui-kit/PreventableEvent.d.ts +4 -0
  40. package/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  41. package/bundle/utils/animateStepWithMinDuration.d.ts +8 -0
  42. package/bundle/utils/isDateValid.d.ts +4 -0
  43. package/dist/api/LeadServiceAPI.d.ts +10 -3
  44. package/dist/api/LeadServiceAPI.js +20 -9
  45. package/dist/api/LeadServiceAPI.js.map +1 -1
  46. package/dist/api/getSubmitBody.d.ts +201 -97
  47. package/dist/api/getSubmitBody.js +13 -6
  48. package/dist/api/getSubmitBody.js.map +1 -1
  49. package/dist/api/sendFile.d.ts +16 -0
  50. package/dist/api/sendFile.js +78 -0
  51. package/dist/api/sendFile.js.map +1 -0
  52. package/dist/components/ApplicationForm/ApplicationForm.js +5 -6
  53. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  54. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +8 -2
  55. package/dist/components/ApplicationForm/constants.d.ts +7 -0
  56. package/dist/components/ApplicationForm/constants.js +29 -0
  57. package/dist/components/ApplicationForm/constants.js.map +1 -0
  58. package/dist/components/ApplicationForm/handlers.d.ts +3 -2
  59. package/dist/components/ApplicationForm/handlers.js +3 -3
  60. package/dist/components/ApplicationForm/handlers.js.map +1 -1
  61. package/dist/components/ApplicationForm/useVerifyPhoneDialogSubmit.js +3 -0
  62. package/dist/components/ApplicationForm/useVerifyPhoneDialogSubmit.js.map +1 -1
  63. package/dist/hooks/useDragAndDrop.d.ts +16 -0
  64. package/dist/hooks/useDragAndDrop.js +29 -0
  65. package/dist/hooks/useDragAndDrop.js.map +1 -0
  66. package/dist/model/FormTypeFieldDef.d.ts +1 -1
  67. package/dist/model/InputTypes.d.ts +1 -1
  68. package/dist/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
  69. package/dist/ui-kit/FormField/Fields/AddressBranchField.d.ts +1 -2
  70. package/dist/ui-kit/FormField/Fields/AverageGradeField.d.ts +2 -0
  71. package/dist/ui-kit/FormField/Fields/AverageGradeField.js +9 -0
  72. package/dist/ui-kit/FormField/Fields/AverageGradeField.js.map +1 -0
  73. package/dist/ui-kit/FormField/Fields/BirthdayField.js +4 -1
  74. package/dist/ui-kit/FormField/Fields/BirthdayField.js.map +1 -1
  75. package/dist/ui-kit/FormField/Fields/CommentField.js +1 -1
  76. package/dist/ui-kit/FormField/Fields/CommentField.js.map +1 -1
  77. package/dist/ui-kit/FormField/Fields/FileIdField.d.ts +2 -0
  78. package/dist/ui-kit/FormField/Fields/FileIdField.js +7 -0
  79. package/dist/ui-kit/FormField/Fields/FileIdField.js.map +1 -0
  80. package/dist/ui-kit/FormField/Fields/FileUpload.d.ts +2 -0
  81. package/dist/ui-kit/FormField/Fields/FileUpload.js +14 -0
  82. package/dist/ui-kit/FormField/Fields/FileUpload.js.map +1 -0
  83. package/dist/ui-kit/FormField/Fields/InternshipEndDateField.d.ts +2 -0
  84. package/dist/ui-kit/FormField/Fields/InternshipEndDateField.js +23 -0
  85. package/dist/ui-kit/FormField/Fields/InternshipEndDateField.js.map +1 -0
  86. package/dist/ui-kit/FormField/Fields/InternshipStartDateField.d.ts +2 -0
  87. package/dist/ui-kit/FormField/Fields/InternshipStartDateField.js +23 -0
  88. package/dist/ui-kit/FormField/Fields/InternshipStartDateField.js.map +1 -0
  89. package/dist/ui-kit/FormField/Fields/SelectField.d.ts +6 -0
  90. package/dist/ui-kit/FormField/Fields/SelectField.js +7 -0
  91. package/dist/ui-kit/FormField/Fields/SelectField.js.map +1 -0
  92. package/dist/ui-kit/FormField/Fields/TextField.d.ts +2 -0
  93. package/dist/ui-kit/FormField/Fields/TextField.js +7 -0
  94. package/dist/ui-kit/FormField/Fields/TextField.js.map +1 -0
  95. package/dist/ui-kit/FormField/InputsMap.d.ts +62 -0
  96. package/dist/ui-kit/FormField/InputsMap.js +119 -0
  97. package/dist/ui-kit/FormField/InputsMap.js.map +1 -0
  98. package/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  99. package/dist/ui-kit/FormField/constants.d.ts +3 -0
  100. package/dist/ui-kit/FormField/constants.js +27 -1
  101. package/dist/ui-kit/FormField/constants.js.map +1 -1
  102. package/dist/ui-kit/FormField/getField.js +2 -94
  103. package/dist/ui-kit/FormField/getField.js.map +1 -1
  104. package/dist/ui-kit/FormField/getObjectValidator.js +15 -1
  105. package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  106. package/dist/ui-kit/FormField/validators.d.ts +1 -0
  107. package/dist/ui-kit/FormField/validators.js +4 -1
  108. package/dist/ui-kit/FormField/validators.js.map +1 -1
  109. package/dist/ui-kit/Input/Input.js +2 -2
  110. package/dist/ui-kit/Input/Input.js.map +1 -1
  111. package/dist/ui-kit/Input/InputFile.d.ts +2 -0
  112. package/dist/ui-kit/Input/InputFile.js +75 -0
  113. package/dist/ui-kit/Input/InputFile.js.map +1 -0
  114. package/dist/ui-kit/Input/InputFileControl.d.ts +2 -0
  115. package/dist/ui-kit/Input/InputFileControl.js +10 -0
  116. package/dist/ui-kit/Input/InputFileControl.js.map +1 -0
  117. package/dist/ui-kit/Input/InputProps.d.ts +6 -1
  118. package/dist/ui-kit/Input/checks/checkFIleExtension.d.ts +1 -0
  119. package/dist/ui-kit/Input/checks/checkFIleExtension.js +12 -0
  120. package/dist/ui-kit/Input/checks/checkFIleExtension.js.map +1 -0
  121. package/dist/ui-kit/Input/checks/checkFileMimeType.d.ts +1 -0
  122. package/dist/ui-kit/Input/checks/checkFileMimeType.js +20 -0
  123. package/dist/ui-kit/Input/checks/checkFileMimeType.js.map +1 -0
  124. package/dist/ui-kit/Input/checks/checkFileSignature.d.ts +3 -0
  125. package/dist/ui-kit/Input/checks/checkFileSignature.js +25 -0
  126. package/dist/ui-kit/Input/checks/checkFileSignature.js.map +1 -0
  127. package/dist/ui-kit/Input/checks/checkFileSize.d.ts +1 -0
  128. package/dist/ui-kit/Input/checks/checkFileSize.js +13 -0
  129. package/dist/ui-kit/Input/checks/checkFileSize.js.map +1 -0
  130. package/dist/ui-kit/Input/checks/getFileSignature.d.ts +1 -0
  131. package/dist/ui-kit/Input/checks/getFileSignature.js +19 -0
  132. package/dist/ui-kit/Input/checks/getFileSignature.js.map +1 -0
  133. package/dist/ui-kit/Input/constants.d.ts +6 -0
  134. package/dist/ui-kit/Input/constants.js +9 -0
  135. package/dist/ui-kit/Input/constants.js.map +1 -0
  136. package/dist/ui-kit/Input/renderFileInput.d.ts +12 -0
  137. package/dist/ui-kit/Input/renderFileInput.js +33 -0
  138. package/dist/ui-kit/Input/renderFileInput.js.map +1 -0
  139. package/dist/ui-kit/Input/renderInfoText.d.ts +1 -0
  140. package/dist/ui-kit/Input/renderInfoText.js +14 -0
  141. package/dist/ui-kit/Input/renderInfoText.js.map +1 -0
  142. package/dist/ui-kit/Input/styles.d.ts +2 -0
  143. package/dist/ui-kit/Input/styles.js +5 -0
  144. package/dist/ui-kit/Input/styles.js.map +1 -0
  145. package/dist/ui-kit/Input/useVerifyFile.d.ts +17 -0
  146. package/dist/ui-kit/Input/useVerifyFile.js +64 -0
  147. package/dist/ui-kit/Input/useVerifyFile.js.map +1 -0
  148. package/dist/ui-kit/PreventableEvent.d.ts +4 -0
  149. package/dist/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  150. package/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  151. package/dist/ui-kit/ProgressBar/ProgressBar.js.map +1 -1
  152. package/dist/utils/animateStepWithMinDuration.d.ts +8 -0
  153. package/dist/utils/animateStepWithMinDuration.js +26 -0
  154. package/dist/utils/animateStepWithMinDuration.js.map +1 -0
  155. package/dist/utils/isDateValid.d.ts +4 -0
  156. package/dist/utils/isDateValid.js +24 -0
  157. package/dist/utils/isDateValid.js.map +1 -0
  158. package/lib/api/LeadServiceAPI.d.ts +10 -3
  159. package/lib/api/LeadServiceAPI.js +20 -9
  160. package/lib/api/LeadServiceAPI.js.map +1 -1
  161. package/lib/api/getSubmitBody.d.ts +201 -97
  162. package/lib/api/getSubmitBody.js +13 -6
  163. package/lib/api/getSubmitBody.js.map +1 -1
  164. package/lib/api/sendFile.d.ts +16 -0
  165. package/lib/api/sendFile.js +75 -0
  166. package/lib/api/sendFile.js.map +1 -0
  167. package/lib/common.css +1 -1
  168. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +2 -0
  169. package/lib/components/ApplicationForm/ApplicationForm.js +5 -6
  170. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  171. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +8 -2
  172. package/lib/components/ApplicationForm/constants.d.ts +7 -0
  173. package/lib/components/ApplicationForm/constants.js +27 -0
  174. package/lib/components/ApplicationForm/constants.js.map +1 -0
  175. package/lib/components/ApplicationForm/handlers.d.ts +3 -2
  176. package/lib/components/ApplicationForm/handlers.js +3 -3
  177. package/lib/components/ApplicationForm/handlers.js.map +1 -1
  178. package/lib/components/ApplicationForm/useVerifyPhoneDialogSubmit.js +3 -0
  179. package/lib/components/ApplicationForm/useVerifyPhoneDialogSubmit.js.map +1 -1
  180. package/lib/hooks/useDragAndDrop.d.ts +16 -0
  181. package/lib/hooks/useDragAndDrop.js +26 -0
  182. package/lib/hooks/useDragAndDrop.js.map +1 -0
  183. package/lib/model/FormTypeFieldDef.d.ts +1 -1
  184. package/lib/model/InputTypes.d.ts +1 -1
  185. package/lib/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
  186. package/lib/ui-kit/FormField/Fields/AddressBranchField.d.ts +1 -2
  187. package/lib/ui-kit/FormField/Fields/AverageGradeField.d.ts +2 -0
  188. package/lib/ui-kit/FormField/Fields/AverageGradeField.js +7 -0
  189. package/lib/ui-kit/FormField/Fields/AverageGradeField.js.map +1 -0
  190. package/lib/ui-kit/FormField/Fields/BirthdayField.js +4 -1
  191. package/lib/ui-kit/FormField/Fields/BirthdayField.js.map +1 -1
  192. package/lib/ui-kit/FormField/Fields/CommentField.js +1 -1
  193. package/lib/ui-kit/FormField/Fields/CommentField.js.map +1 -1
  194. package/lib/ui-kit/FormField/Fields/FileIdField.d.ts +2 -0
  195. package/lib/ui-kit/FormField/Fields/FileIdField.js +5 -0
  196. package/lib/ui-kit/FormField/Fields/FileIdField.js.map +1 -0
  197. package/lib/ui-kit/FormField/Fields/FileUpload.d.ts +2 -0
  198. package/lib/ui-kit/FormField/Fields/FileUpload.js +12 -0
  199. package/lib/ui-kit/FormField/Fields/FileUpload.js.map +1 -0
  200. package/lib/ui-kit/FormField/Fields/InternshipEndDateField.d.ts +2 -0
  201. package/lib/ui-kit/FormField/Fields/InternshipEndDateField.js +21 -0
  202. package/lib/ui-kit/FormField/Fields/InternshipEndDateField.js.map +1 -0
  203. package/lib/ui-kit/FormField/Fields/InternshipStartDateField.d.ts +2 -0
  204. package/lib/ui-kit/FormField/Fields/InternshipStartDateField.js +21 -0
  205. package/lib/ui-kit/FormField/Fields/InternshipStartDateField.js.map +1 -0
  206. package/lib/ui-kit/FormField/Fields/SelectField.d.ts +6 -0
  207. package/lib/ui-kit/FormField/Fields/SelectField.js +5 -0
  208. package/lib/ui-kit/FormField/Fields/SelectField.js.map +1 -0
  209. package/lib/ui-kit/FormField/Fields/TextField.d.ts +2 -0
  210. package/lib/ui-kit/FormField/Fields/TextField.js +5 -0
  211. package/lib/ui-kit/FormField/Fields/TextField.js.map +1 -0
  212. package/lib/ui-kit/FormField/InputsMap.d.ts +62 -0
  213. package/lib/ui-kit/FormField/InputsMap.js +117 -0
  214. package/lib/ui-kit/FormField/InputsMap.js.map +1 -0
  215. package/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  216. package/lib/ui-kit/FormField/constants.d.ts +3 -0
  217. package/lib/ui-kit/FormField/constants.js +26 -0
  218. package/lib/ui-kit/FormField/constants.js.map +1 -1
  219. package/lib/ui-kit/FormField/getField.js +1 -93
  220. package/lib/ui-kit/FormField/getField.js.map +1 -1
  221. package/lib/ui-kit/FormField/getObjectValidator.js +16 -2
  222. package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  223. package/lib/ui-kit/FormField/validators.d.ts +1 -0
  224. package/lib/ui-kit/FormField/validators.js +2 -0
  225. package/lib/ui-kit/FormField/validators.js.map +1 -1
  226. package/lib/ui-kit/Input/Input.js +1 -1
  227. package/lib/ui-kit/Input/Input.js.map +1 -1
  228. package/lib/ui-kit/Input/InputFile.d.ts +2 -0
  229. package/lib/ui-kit/Input/InputFile.js +73 -0
  230. package/lib/ui-kit/Input/InputFile.js.map +1 -0
  231. package/lib/ui-kit/Input/InputFileControl.d.ts +2 -0
  232. package/lib/ui-kit/Input/InputFileControl.js +8 -0
  233. package/lib/ui-kit/Input/InputFileControl.js.map +1 -0
  234. package/lib/ui-kit/Input/InputProps.d.ts +6 -1
  235. package/lib/ui-kit/Input/checks/checkFIleExtension.d.ts +1 -0
  236. package/lib/ui-kit/Input/checks/checkFIleExtension.js +9 -0
  237. package/lib/ui-kit/Input/checks/checkFIleExtension.js.map +1 -0
  238. package/lib/ui-kit/Input/checks/checkFileMimeType.d.ts +1 -0
  239. package/lib/ui-kit/Input/checks/checkFileMimeType.js +17 -0
  240. package/lib/ui-kit/Input/checks/checkFileMimeType.js.map +1 -0
  241. package/lib/ui-kit/Input/checks/checkFileSignature.d.ts +3 -0
  242. package/lib/ui-kit/Input/checks/checkFileSignature.js +22 -0
  243. package/lib/ui-kit/Input/checks/checkFileSignature.js.map +1 -0
  244. package/lib/ui-kit/Input/checks/checkFileSize.d.ts +1 -0
  245. package/lib/ui-kit/Input/checks/checkFileSize.js +10 -0
  246. package/lib/ui-kit/Input/checks/checkFileSize.js.map +1 -0
  247. package/lib/ui-kit/Input/checks/getFileSignature.d.ts +1 -0
  248. package/lib/ui-kit/Input/checks/getFileSignature.js +16 -0
  249. package/lib/ui-kit/Input/checks/getFileSignature.js.map +1 -0
  250. package/lib/ui-kit/Input/constants.d.ts +6 -0
  251. package/lib/ui-kit/Input/constants.js +7 -0
  252. package/lib/ui-kit/Input/constants.js.map +1 -0
  253. package/lib/ui-kit/Input/renderFileInput.d.ts +12 -0
  254. package/lib/ui-kit/Input/renderFileInput.js +30 -0
  255. package/lib/ui-kit/Input/renderFileInput.js.map +1 -0
  256. package/lib/ui-kit/Input/renderInfoText.d.ts +1 -0
  257. package/lib/ui-kit/Input/renderInfoText.js +11 -0
  258. package/lib/ui-kit/Input/renderInfoText.js.map +1 -0
  259. package/lib/ui-kit/Input/styles.d.ts +2 -0
  260. package/lib/ui-kit/Input/styles.js +3 -0
  261. package/lib/ui-kit/Input/styles.js.map +1 -0
  262. package/lib/ui-kit/Input/useVerifyFile.d.ts +17 -0
  263. package/lib/ui-kit/Input/useVerifyFile.js +61 -0
  264. package/lib/ui-kit/Input/useVerifyFile.js.map +1 -0
  265. package/lib/ui-kit/PreventableEvent.d.ts +4 -0
  266. package/lib/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  267. package/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  268. package/lib/ui-kit/ProgressBar/ProgressBar.js.map +1 -1
  269. package/lib/utils/animateStepWithMinDuration.d.ts +8 -0
  270. package/lib/utils/animateStepWithMinDuration.js +23 -0
  271. package/lib/utils/animateStepWithMinDuration.js.map +1 -0
  272. package/lib/utils/isDateValid.d.ts +4 -0
  273. package/lib/utils/isDateValid.js +21 -0
  274. package/lib/utils/isDateValid.js.map +1 -0
  275. package/mobile/bundle/api/LeadServiceAPI.d.ts +10 -3
  276. package/mobile/bundle/api/getSubmitBody.d.ts +201 -97
  277. package/mobile/bundle/api/sendFile.d.ts +16 -0
  278. package/mobile/bundle/bundle.umd.js +566 -51
  279. package/mobile/bundle/bundle.umd.min.js +1 -1
  280. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +8 -2
  281. package/mobile/bundle/components/ApplicationForm/constants.d.ts +7 -0
  282. package/mobile/bundle/components/ApplicationForm/handlers.d.ts +3 -2
  283. package/mobile/bundle/hooks/useDragAndDrop.d.ts +16 -0
  284. package/mobile/bundle/model/FormTypeFieldDef.d.ts +1 -1
  285. package/mobile/bundle/model/InputTypes.d.ts +1 -1
  286. package/mobile/bundle/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
  287. package/mobile/bundle/ui-kit/FormField/Fields/AddressBranchField.d.ts +1 -2
  288. package/mobile/bundle/ui-kit/FormField/Fields/AverageGradeField.d.ts +2 -0
  289. package/mobile/bundle/ui-kit/FormField/Fields/FileIdField.d.ts +2 -0
  290. package/mobile/bundle/ui-kit/FormField/Fields/FileUpload.d.ts +2 -0
  291. package/mobile/bundle/ui-kit/FormField/Fields/InternshipEndDateField.d.ts +2 -0
  292. package/mobile/bundle/ui-kit/FormField/Fields/InternshipStartDateField.d.ts +2 -0
  293. package/mobile/bundle/ui-kit/FormField/Fields/SelectField.d.ts +6 -0
  294. package/mobile/bundle/ui-kit/FormField/Fields/TextField.d.ts +2 -0
  295. package/mobile/bundle/ui-kit/FormField/InputsMap.d.ts +62 -0
  296. package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  297. package/mobile/bundle/ui-kit/FormField/constants.d.ts +3 -0
  298. package/mobile/bundle/ui-kit/FormField/validators.d.ts +1 -0
  299. package/mobile/bundle/ui-kit/Input/InputFile.d.ts +2 -0
  300. package/mobile/bundle/ui-kit/Input/InputFileControl.d.ts +2 -0
  301. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +6 -1
  302. package/mobile/bundle/ui-kit/Input/checks/checkFIleExtension.d.ts +1 -0
  303. package/mobile/bundle/ui-kit/Input/checks/checkFileMimeType.d.ts +1 -0
  304. package/mobile/bundle/ui-kit/Input/checks/checkFileSignature.d.ts +3 -0
  305. package/mobile/bundle/ui-kit/Input/checks/checkFileSize.d.ts +1 -0
  306. package/mobile/bundle/ui-kit/Input/checks/getFileSignature.d.ts +1 -0
  307. package/mobile/bundle/ui-kit/Input/constants.d.ts +6 -0
  308. package/mobile/bundle/ui-kit/Input/renderFileInput.d.ts +12 -0
  309. package/mobile/bundle/ui-kit/Input/renderInfoText.d.ts +1 -0
  310. package/mobile/bundle/ui-kit/Input/styles.d.ts +2 -0
  311. package/mobile/bundle/ui-kit/Input/useVerifyFile.d.ts +17 -0
  312. package/mobile/bundle/ui-kit/PreventableEvent.d.ts +4 -0
  313. package/mobile/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  314. package/mobile/bundle/utils/animateStepWithMinDuration.d.ts +8 -0
  315. package/mobile/bundle/utils/isDateValid.d.ts +4 -0
  316. package/mobile/dist/api/LeadServiceAPI.d.ts +10 -3
  317. package/mobile/dist/api/LeadServiceAPI.js +20 -9
  318. package/mobile/dist/api/LeadServiceAPI.js.map +1 -1
  319. package/mobile/dist/api/getSubmitBody.d.ts +201 -97
  320. package/mobile/dist/api/getSubmitBody.js +13 -6
  321. package/mobile/dist/api/getSubmitBody.js.map +1 -1
  322. package/mobile/dist/api/sendFile.d.ts +16 -0
  323. package/mobile/dist/api/sendFile.js +78 -0
  324. package/mobile/dist/api/sendFile.js.map +1 -0
  325. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +5 -6
  326. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  327. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +8 -2
  328. package/mobile/dist/components/ApplicationForm/constants.d.ts +7 -0
  329. package/mobile/dist/components/ApplicationForm/constants.js +29 -0
  330. package/mobile/dist/components/ApplicationForm/constants.js.map +1 -0
  331. package/mobile/dist/components/ApplicationForm/handlers.d.ts +3 -2
  332. package/mobile/dist/components/ApplicationForm/handlers.js +3 -3
  333. package/mobile/dist/components/ApplicationForm/handlers.js.map +1 -1
  334. package/mobile/dist/components/ApplicationForm/useVerifyPhoneDialogSubmit.js +3 -0
  335. package/mobile/dist/components/ApplicationForm/useVerifyPhoneDialogSubmit.js.map +1 -1
  336. package/mobile/dist/hooks/useDragAndDrop.d.ts +16 -0
  337. package/mobile/dist/hooks/useDragAndDrop.js +29 -0
  338. package/mobile/dist/hooks/useDragAndDrop.js.map +1 -0
  339. package/mobile/dist/model/FormTypeFieldDef.d.ts +1 -1
  340. package/mobile/dist/model/InputTypes.d.ts +1 -1
  341. package/mobile/dist/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
  342. package/mobile/dist/ui-kit/FormField/Fields/AddressBranchField.d.ts +1 -2
  343. package/mobile/dist/ui-kit/FormField/Fields/AverageGradeField.d.ts +2 -0
  344. package/mobile/dist/ui-kit/FormField/Fields/AverageGradeField.js +9 -0
  345. package/mobile/dist/ui-kit/FormField/Fields/AverageGradeField.js.map +1 -0
  346. package/mobile/dist/ui-kit/FormField/Fields/BirthdayField.js +4 -1
  347. package/mobile/dist/ui-kit/FormField/Fields/BirthdayField.js.map +1 -1
  348. package/mobile/dist/ui-kit/FormField/Fields/CommentField.js +1 -1
  349. package/mobile/dist/ui-kit/FormField/Fields/CommentField.js.map +1 -1
  350. package/mobile/dist/ui-kit/FormField/Fields/FileIdField.d.ts +2 -0
  351. package/mobile/dist/ui-kit/FormField/Fields/FileIdField.js +7 -0
  352. package/mobile/dist/ui-kit/FormField/Fields/FileIdField.js.map +1 -0
  353. package/mobile/dist/ui-kit/FormField/Fields/FileUpload.d.ts +2 -0
  354. package/mobile/dist/ui-kit/FormField/Fields/FileUpload.js +14 -0
  355. package/mobile/dist/ui-kit/FormField/Fields/FileUpload.js.map +1 -0
  356. package/mobile/dist/ui-kit/FormField/Fields/InternshipEndDateField.d.ts +2 -0
  357. package/mobile/dist/ui-kit/FormField/Fields/InternshipEndDateField.js +23 -0
  358. package/mobile/dist/ui-kit/FormField/Fields/InternshipEndDateField.js.map +1 -0
  359. package/mobile/dist/ui-kit/FormField/Fields/InternshipStartDateField.d.ts +2 -0
  360. package/mobile/dist/ui-kit/FormField/Fields/InternshipStartDateField.js +23 -0
  361. package/mobile/dist/ui-kit/FormField/Fields/InternshipStartDateField.js.map +1 -0
  362. package/mobile/dist/ui-kit/FormField/Fields/SelectField.d.ts +6 -0
  363. package/mobile/dist/ui-kit/FormField/Fields/SelectField.js +7 -0
  364. package/mobile/dist/ui-kit/FormField/Fields/SelectField.js.map +1 -0
  365. package/mobile/dist/ui-kit/FormField/Fields/TextField.d.ts +2 -0
  366. package/mobile/dist/ui-kit/FormField/Fields/TextField.js +7 -0
  367. package/mobile/dist/ui-kit/FormField/Fields/TextField.js.map +1 -0
  368. package/mobile/dist/ui-kit/FormField/InputsMap.d.ts +62 -0
  369. package/mobile/dist/ui-kit/FormField/InputsMap.js +119 -0
  370. package/mobile/dist/ui-kit/FormField/InputsMap.js.map +1 -0
  371. package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  372. package/mobile/dist/ui-kit/FormField/constants.d.ts +3 -0
  373. package/mobile/dist/ui-kit/FormField/constants.js +27 -1
  374. package/mobile/dist/ui-kit/FormField/constants.js.map +1 -1
  375. package/mobile/dist/ui-kit/FormField/getField.js +2 -94
  376. package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
  377. package/mobile/dist/ui-kit/FormField/getObjectValidator.js +15 -1
  378. package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  379. package/mobile/dist/ui-kit/FormField/validators.d.ts +1 -0
  380. package/mobile/dist/ui-kit/FormField/validators.js +4 -1
  381. package/mobile/dist/ui-kit/FormField/validators.js.map +1 -1
  382. package/mobile/dist/ui-kit/Input/Input.js +2 -2
  383. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  384. package/mobile/dist/ui-kit/Input/InputFile.d.ts +2 -0
  385. package/mobile/dist/ui-kit/Input/InputFile.js +75 -0
  386. package/mobile/dist/ui-kit/Input/InputFile.js.map +1 -0
  387. package/mobile/dist/ui-kit/Input/InputFileControl.d.ts +2 -0
  388. package/mobile/dist/ui-kit/Input/InputFileControl.js +10 -0
  389. package/mobile/dist/ui-kit/Input/InputFileControl.js.map +1 -0
  390. package/mobile/dist/ui-kit/Input/InputProps.d.ts +6 -1
  391. package/mobile/dist/ui-kit/Input/checks/checkFIleExtension.d.ts +1 -0
  392. package/mobile/dist/ui-kit/Input/checks/checkFIleExtension.js +12 -0
  393. package/mobile/dist/ui-kit/Input/checks/checkFIleExtension.js.map +1 -0
  394. package/mobile/dist/ui-kit/Input/checks/checkFileMimeType.d.ts +1 -0
  395. package/mobile/dist/ui-kit/Input/checks/checkFileMimeType.js +20 -0
  396. package/mobile/dist/ui-kit/Input/checks/checkFileMimeType.js.map +1 -0
  397. package/mobile/dist/ui-kit/Input/checks/checkFileSignature.d.ts +3 -0
  398. package/mobile/dist/ui-kit/Input/checks/checkFileSignature.js +25 -0
  399. package/mobile/dist/ui-kit/Input/checks/checkFileSignature.js.map +1 -0
  400. package/mobile/dist/ui-kit/Input/checks/checkFileSize.d.ts +1 -0
  401. package/mobile/dist/ui-kit/Input/checks/checkFileSize.js +13 -0
  402. package/mobile/dist/ui-kit/Input/checks/checkFileSize.js.map +1 -0
  403. package/mobile/dist/ui-kit/Input/checks/getFileSignature.d.ts +1 -0
  404. package/mobile/dist/ui-kit/Input/checks/getFileSignature.js +19 -0
  405. package/mobile/dist/ui-kit/Input/checks/getFileSignature.js.map +1 -0
  406. package/mobile/dist/ui-kit/Input/constants.d.ts +6 -0
  407. package/mobile/dist/ui-kit/Input/constants.js +9 -0
  408. package/mobile/dist/ui-kit/Input/constants.js.map +1 -0
  409. package/mobile/dist/ui-kit/Input/renderFileInput.d.ts +12 -0
  410. package/mobile/dist/ui-kit/Input/renderFileInput.js +33 -0
  411. package/mobile/dist/ui-kit/Input/renderFileInput.js.map +1 -0
  412. package/mobile/dist/ui-kit/Input/renderInfoText.d.ts +1 -0
  413. package/mobile/dist/ui-kit/Input/renderInfoText.js +14 -0
  414. package/mobile/dist/ui-kit/Input/renderInfoText.js.map +1 -0
  415. package/mobile/dist/ui-kit/Input/styles.d.ts +2 -0
  416. package/mobile/dist/ui-kit/Input/styles.js +5 -0
  417. package/mobile/dist/ui-kit/Input/styles.js.map +1 -0
  418. package/mobile/dist/ui-kit/Input/useVerifyFile.d.ts +17 -0
  419. package/mobile/dist/ui-kit/Input/useVerifyFile.js +64 -0
  420. package/mobile/dist/ui-kit/Input/useVerifyFile.js.map +1 -0
  421. package/mobile/dist/ui-kit/PreventableEvent.d.ts +4 -0
  422. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  423. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  424. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.js.map +1 -1
  425. package/mobile/dist/utils/animateStepWithMinDuration.d.ts +8 -0
  426. package/mobile/dist/utils/animateStepWithMinDuration.js +26 -0
  427. package/mobile/dist/utils/animateStepWithMinDuration.js.map +1 -0
  428. package/mobile/dist/utils/isDateValid.d.ts +4 -0
  429. package/mobile/dist/utils/isDateValid.js +24 -0
  430. package/mobile/dist/utils/isDateValid.js.map +1 -0
  431. package/mobile/lib/api/LeadServiceAPI.d.ts +10 -3
  432. package/mobile/lib/api/LeadServiceAPI.js +20 -9
  433. package/mobile/lib/api/LeadServiceAPI.js.map +1 -1
  434. package/mobile/lib/api/getSubmitBody.d.ts +201 -97
  435. package/mobile/lib/api/getSubmitBody.js +13 -6
  436. package/mobile/lib/api/getSubmitBody.js.map +1 -1
  437. package/mobile/lib/api/sendFile.d.ts +16 -0
  438. package/mobile/lib/api/sendFile.js +75 -0
  439. package/mobile/lib/api/sendFile.js.map +1 -0
  440. package/mobile/lib/common.css +1 -1
  441. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +5 -6
  442. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  443. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +8 -2
  444. package/mobile/lib/components/ApplicationForm/constants.d.ts +7 -0
  445. package/mobile/lib/components/ApplicationForm/constants.js +27 -0
  446. package/mobile/lib/components/ApplicationForm/constants.js.map +1 -0
  447. package/mobile/lib/components/ApplicationForm/handlers.d.ts +3 -2
  448. package/mobile/lib/components/ApplicationForm/handlers.js +3 -3
  449. package/mobile/lib/components/ApplicationForm/handlers.js.map +1 -1
  450. package/mobile/lib/components/ApplicationForm/useVerifyPhoneDialogSubmit.js +3 -0
  451. package/mobile/lib/components/ApplicationForm/useVerifyPhoneDialogSubmit.js.map +1 -1
  452. package/mobile/lib/hooks/useDragAndDrop.d.ts +16 -0
  453. package/mobile/lib/hooks/useDragAndDrop.js +26 -0
  454. package/mobile/lib/hooks/useDragAndDrop.js.map +1 -0
  455. package/mobile/lib/model/FormTypeFieldDef.d.ts +1 -1
  456. package/mobile/lib/model/InputTypes.d.ts +1 -1
  457. package/mobile/lib/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
  458. package/mobile/lib/ui-kit/FormField/Fields/AddressBranchField.d.ts +1 -2
  459. package/mobile/lib/ui-kit/FormField/Fields/AverageGradeField.d.ts +2 -0
  460. package/mobile/lib/ui-kit/FormField/Fields/AverageGradeField.js +7 -0
  461. package/mobile/lib/ui-kit/FormField/Fields/AverageGradeField.js.map +1 -0
  462. package/mobile/lib/ui-kit/FormField/Fields/BirthdayField.js +4 -1
  463. package/mobile/lib/ui-kit/FormField/Fields/BirthdayField.js.map +1 -1
  464. package/mobile/lib/ui-kit/FormField/Fields/CommentField.js +1 -1
  465. package/mobile/lib/ui-kit/FormField/Fields/CommentField.js.map +1 -1
  466. package/mobile/lib/ui-kit/FormField/Fields/FileIdField.d.ts +2 -0
  467. package/mobile/lib/ui-kit/FormField/Fields/FileIdField.js +5 -0
  468. package/mobile/lib/ui-kit/FormField/Fields/FileIdField.js.map +1 -0
  469. package/mobile/lib/ui-kit/FormField/Fields/FileUpload.d.ts +2 -0
  470. package/mobile/lib/ui-kit/FormField/Fields/FileUpload.js +12 -0
  471. package/mobile/lib/ui-kit/FormField/Fields/FileUpload.js.map +1 -0
  472. package/mobile/lib/ui-kit/FormField/Fields/InternshipEndDateField.d.ts +2 -0
  473. package/mobile/lib/ui-kit/FormField/Fields/InternshipEndDateField.js +21 -0
  474. package/mobile/lib/ui-kit/FormField/Fields/InternshipEndDateField.js.map +1 -0
  475. package/mobile/lib/ui-kit/FormField/Fields/InternshipStartDateField.d.ts +2 -0
  476. package/mobile/lib/ui-kit/FormField/Fields/InternshipStartDateField.js +21 -0
  477. package/mobile/lib/ui-kit/FormField/Fields/InternshipStartDateField.js.map +1 -0
  478. package/mobile/lib/ui-kit/FormField/Fields/SelectField.d.ts +6 -0
  479. package/mobile/lib/ui-kit/FormField/Fields/SelectField.js +5 -0
  480. package/mobile/lib/ui-kit/FormField/Fields/SelectField.js.map +1 -0
  481. package/mobile/lib/ui-kit/FormField/Fields/TextField.d.ts +2 -0
  482. package/mobile/lib/ui-kit/FormField/Fields/TextField.js +5 -0
  483. package/mobile/lib/ui-kit/FormField/Fields/TextField.js.map +1 -0
  484. package/mobile/lib/ui-kit/FormField/InputsMap.d.ts +62 -0
  485. package/mobile/lib/ui-kit/FormField/InputsMap.js +117 -0
  486. package/mobile/lib/ui-kit/FormField/InputsMap.js.map +1 -0
  487. package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  488. package/mobile/lib/ui-kit/FormField/constants.d.ts +3 -0
  489. package/mobile/lib/ui-kit/FormField/constants.js +26 -0
  490. package/mobile/lib/ui-kit/FormField/constants.js.map +1 -1
  491. package/mobile/lib/ui-kit/FormField/getField.js +1 -93
  492. package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
  493. package/mobile/lib/ui-kit/FormField/getObjectValidator.js +16 -2
  494. package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  495. package/mobile/lib/ui-kit/FormField/validators.d.ts +1 -0
  496. package/mobile/lib/ui-kit/FormField/validators.js +2 -0
  497. package/mobile/lib/ui-kit/FormField/validators.js.map +1 -1
  498. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  499. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  500. package/mobile/lib/ui-kit/Input/InputFile.d.ts +2 -0
  501. package/mobile/lib/ui-kit/Input/InputFile.js +73 -0
  502. package/mobile/lib/ui-kit/Input/InputFile.js.map +1 -0
  503. package/mobile/lib/ui-kit/Input/InputFileControl.d.ts +2 -0
  504. package/mobile/lib/ui-kit/Input/InputFileControl.js +8 -0
  505. package/mobile/lib/ui-kit/Input/InputFileControl.js.map +1 -0
  506. package/mobile/lib/ui-kit/Input/InputProps.d.ts +6 -1
  507. package/mobile/lib/ui-kit/Input/checks/checkFIleExtension.d.ts +1 -0
  508. package/mobile/lib/ui-kit/Input/checks/checkFIleExtension.js +9 -0
  509. package/mobile/lib/ui-kit/Input/checks/checkFIleExtension.js.map +1 -0
  510. package/mobile/lib/ui-kit/Input/checks/checkFileMimeType.d.ts +1 -0
  511. package/mobile/lib/ui-kit/Input/checks/checkFileMimeType.js +17 -0
  512. package/mobile/lib/ui-kit/Input/checks/checkFileMimeType.js.map +1 -0
  513. package/mobile/lib/ui-kit/Input/checks/checkFileSignature.d.ts +3 -0
  514. package/mobile/lib/ui-kit/Input/checks/checkFileSignature.js +22 -0
  515. package/mobile/lib/ui-kit/Input/checks/checkFileSignature.js.map +1 -0
  516. package/mobile/lib/ui-kit/Input/checks/checkFileSize.d.ts +1 -0
  517. package/mobile/lib/ui-kit/Input/checks/checkFileSize.js +10 -0
  518. package/mobile/lib/ui-kit/Input/checks/checkFileSize.js.map +1 -0
  519. package/mobile/lib/ui-kit/Input/checks/getFileSignature.d.ts +1 -0
  520. package/mobile/lib/ui-kit/Input/checks/getFileSignature.js +16 -0
  521. package/mobile/lib/ui-kit/Input/checks/getFileSignature.js.map +1 -0
  522. package/mobile/lib/ui-kit/Input/constants.d.ts +6 -0
  523. package/mobile/lib/ui-kit/Input/constants.js +7 -0
  524. package/mobile/lib/ui-kit/Input/constants.js.map +1 -0
  525. package/mobile/lib/ui-kit/Input/renderFileInput.d.ts +12 -0
  526. package/mobile/lib/ui-kit/Input/renderFileInput.js +30 -0
  527. package/mobile/lib/ui-kit/Input/renderFileInput.js.map +1 -0
  528. package/mobile/lib/ui-kit/Input/renderInfoText.d.ts +1 -0
  529. package/mobile/lib/ui-kit/Input/renderInfoText.js +11 -0
  530. package/mobile/lib/ui-kit/Input/renderInfoText.js.map +1 -0
  531. package/mobile/lib/ui-kit/Input/styles.d.ts +2 -0
  532. package/mobile/lib/ui-kit/Input/styles.js +3 -0
  533. package/mobile/lib/ui-kit/Input/styles.js.map +1 -0
  534. package/mobile/lib/ui-kit/Input/useVerifyFile.d.ts +17 -0
  535. package/mobile/lib/ui-kit/Input/useVerifyFile.js +61 -0
  536. package/mobile/lib/ui-kit/Input/useVerifyFile.js.map +1 -0
  537. package/mobile/lib/ui-kit/PreventableEvent.d.ts +4 -0
  538. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.d.ts +1 -0
  539. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  540. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.js.map +1 -1
  541. package/mobile/lib/utils/animateStepWithMinDuration.d.ts +8 -0
  542. package/mobile/lib/utils/animateStepWithMinDuration.js +23 -0
  543. package/mobile/lib/utils/animateStepWithMinDuration.js.map +1 -0
  544. package/mobile/lib/utils/isDateValid.d.ts +4 -0
  545. package/mobile/lib/utils/isDateValid.js +21 -0
  546. package/mobile/lib/utils/isDateValid.js.map +1 -0
  547. package/mobile/src/api/LeadServiceAPI.ts +37 -10
  548. package/mobile/src/api/getSubmitBody.ts +28 -7
  549. package/mobile/src/api/sendFile.ts +97 -0
  550. package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +192 -0
  551. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +22 -16
  552. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +16 -2
  553. package/mobile/src/components/ApplicationForm/constants.ts +33 -0
  554. package/mobile/src/components/ApplicationForm/handlers.ts +5 -3
  555. package/mobile/src/components/ApplicationForm/useVerifyPhoneDialogSubmit.tsx +3 -0
  556. package/mobile/src/hooks/useDragAndDrop.ts +48 -0
  557. package/mobile/src/model/FormTypeFieldDef.ts +2 -1
  558. package/mobile/src/model/InputTypes.ts +1 -1
  559. package/mobile/src/ui-kit/FormField/CustomFieldProps.ts +1 -0
  560. package/mobile/src/ui-kit/FormField/Fields/AddressBranchField.tsx +1 -1
  561. package/mobile/src/ui-kit/FormField/Fields/AverageGradeField.tsx +14 -0
  562. package/mobile/src/ui-kit/FormField/Fields/BirthdayField.tsx +12 -7
  563. package/mobile/src/ui-kit/FormField/Fields/CommentField.tsx +1 -1
  564. package/mobile/src/ui-kit/FormField/Fields/FileIdField.tsx +7 -0
  565. package/mobile/src/ui-kit/FormField/Fields/FileUpload.tsx +22 -0
  566. package/mobile/src/ui-kit/FormField/Fields/InternshipEndDateField.tsx +38 -0
  567. package/mobile/src/ui-kit/FormField/Fields/InternshipStartDateField.tsx +38 -0
  568. package/mobile/src/ui-kit/FormField/Fields/SelectField.tsx +12 -0
  569. package/mobile/src/ui-kit/FormField/Fields/TextField.tsx +7 -0
  570. package/mobile/src/ui-kit/FormField/InputsMap.tsx +133 -0
  571. package/mobile/src/ui-kit/FormField/NameFieldDef.ts +17 -1
  572. package/mobile/src/ui-kit/FormField/constants.tsx +29 -0
  573. package/mobile/src/ui-kit/FormField/getField.tsx +1 -105
  574. package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +16 -1
  575. package/mobile/src/ui-kit/FormField/validators.ts +4 -0
  576. package/mobile/src/ui-kit/Input/Input.tsx +1 -2
  577. package/mobile/src/ui-kit/Input/InputFile.tsx +132 -0
  578. package/mobile/src/ui-kit/Input/InputFileControl.tsx +22 -0
  579. package/mobile/src/ui-kit/Input/InputProps.ts +10 -1
  580. package/mobile/src/ui-kit/Input/checks/checkFIleExtension.ts +9 -0
  581. package/mobile/src/ui-kit/Input/checks/checkFileMimeType.ts +20 -0
  582. package/mobile/src/ui-kit/Input/checks/checkFileSignature.ts +30 -0
  583. package/mobile/src/ui-kit/Input/checks/checkFileSize.ts +10 -0
  584. package/mobile/src/ui-kit/Input/checks/getFileSignature.ts +16 -0
  585. package/mobile/src/ui-kit/Input/constants.ts +6 -0
  586. package/mobile/src/ui-kit/Input/renderFileInput.tsx +87 -0
  587. package/mobile/src/ui-kit/Input/renderInfoText.tsx +15 -0
  588. package/mobile/src/ui-kit/Input/styles.ts +2 -0
  589. package/mobile/src/ui-kit/Input/useVerifyFile.ts +100 -0
  590. package/mobile/src/ui-kit/PreventableEvent.ts +5 -0
  591. package/mobile/src/ui-kit/ProgressBar/ProgressBar.tsx +7 -2
  592. package/mobile/src/utils/animateStepWithMinDuration.ts +38 -0
  593. package/mobile/src/utils/isDateValid.ts +33 -0
  594. package/package.json +2 -2
  595. package/src/api/LeadServiceAPI.ts +37 -10
  596. package/src/api/getSubmitBody.ts +28 -7
  597. package/src/api/sendFile.ts +97 -0
  598. package/src/components/ApplicationForm/ApplicationForm.example.json +192 -0
  599. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +132 -0
  600. package/src/components/ApplicationForm/ApplicationForm.tsx +22 -16
  601. package/src/components/ApplicationForm/ApplicationFormContent.ts +16 -2
  602. package/src/components/ApplicationForm/constants.ts +33 -0
  603. package/src/components/ApplicationForm/handlers.ts +5 -3
  604. package/src/components/ApplicationForm/useVerifyPhoneDialogSubmit.tsx +3 -0
  605. package/src/hooks/useDragAndDrop.ts +48 -0
  606. package/src/model/FormTypeFieldDef.ts +2 -1
  607. package/src/model/InputTypes.ts +1 -1
  608. package/src/ui-kit/FormField/CustomFieldProps.ts +1 -0
  609. package/src/ui-kit/FormField/Fields/AddressBranchField.tsx +1 -1
  610. package/src/ui-kit/FormField/Fields/AverageGradeField.tsx +14 -0
  611. package/src/ui-kit/FormField/Fields/BirthdayField.tsx +12 -7
  612. package/src/ui-kit/FormField/Fields/CommentField.tsx +1 -1
  613. package/src/ui-kit/FormField/Fields/FileIdField.tsx +7 -0
  614. package/src/ui-kit/FormField/Fields/FileUpload.tsx +22 -0
  615. package/src/ui-kit/FormField/Fields/InternshipEndDateField.tsx +38 -0
  616. package/src/ui-kit/FormField/Fields/InternshipStartDateField.tsx +38 -0
  617. package/src/ui-kit/FormField/Fields/SelectField.tsx +12 -0
  618. package/src/ui-kit/FormField/Fields/TextField.tsx +7 -0
  619. package/src/ui-kit/FormField/InputsMap.tsx +133 -0
  620. package/src/ui-kit/FormField/NameFieldDef.ts +17 -1
  621. package/src/ui-kit/FormField/constants.tsx +29 -0
  622. package/src/ui-kit/FormField/getField.tsx +1 -105
  623. package/src/ui-kit/FormField/getObjectValidator.tsx +16 -1
  624. package/src/ui-kit/FormField/validators.ts +4 -0
  625. package/src/ui-kit/Input/Input.tsx +1 -2
  626. package/src/ui-kit/Input/InputFile.tsx +132 -0
  627. package/src/ui-kit/Input/InputFileControl.tsx +22 -0
  628. package/src/ui-kit/Input/InputProps.ts +10 -1
  629. package/src/ui-kit/Input/checks/checkFIleExtension.ts +9 -0
  630. package/src/ui-kit/Input/checks/checkFileMimeType.ts +20 -0
  631. package/src/ui-kit/Input/checks/checkFileSignature.ts +30 -0
  632. package/src/ui-kit/Input/checks/checkFileSize.ts +10 -0
  633. package/src/ui-kit/Input/checks/getFileSignature.ts +16 -0
  634. package/src/ui-kit/Input/constants.ts +6 -0
  635. package/src/ui-kit/Input/renderFileInput.tsx +87 -0
  636. package/src/ui-kit/Input/renderInfoText.tsx +15 -0
  637. package/src/ui-kit/Input/styles.ts +2 -0
  638. package/src/ui-kit/Input/useVerifyFile.ts +100 -0
  639. package/src/ui-kit/PreventableEvent.ts +5 -0
  640. package/src/ui-kit/ProgressBar/ProgressBar.tsx +7 -2
  641. package/src/utils/animateStepWithMinDuration.ts +38 -0
  642. package/src/utils/isDateValid.ts +33 -0
@@ -0,0 +1,26 @@
1
+ import { useState } from '@redneckz/uni-jsx/lib/hooks';
2
+ export const useDragAndDrop = ({ onFileSelected, onReset, uploadResponse, onFileChanged, }) => {
3
+ const [isDragActive, setIsDragActive] = useState(false);
4
+ const handleDrag = (e) => {
5
+ e.preventDefault();
6
+ if (uploadResponse) {
7
+ return;
8
+ }
9
+ setIsDragActive(true);
10
+ };
11
+ const handleLeave = () => setIsDragActive(false);
12
+ const handleDrop = async (e) => {
13
+ e.preventDefault();
14
+ if (uploadResponse) {
15
+ return;
16
+ }
17
+ onReset();
18
+ setIsDragActive(false);
19
+ const file = e.dataTransfer?.files?.[0];
20
+ if (file) {
21
+ await onFileSelected({ file, onFileChanged });
22
+ }
23
+ };
24
+ return { handleDrag, handleLeave, handleDrop, isDragActive };
25
+ };
26
+ //# sourceMappingURL=useDragAndDrop.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDragAndDrop.js","sourceRoot":"","sources":["../../src/hooks/useDragAndDrop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAevD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,cAAc,EACd,OAAO,EACP,cAAc,EACd,aAAa,GACI,EAAE,EAAE;IACrB,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAExD,MAAM,UAAU,GAAG,CAAC,CAA6B,EAAE,EAAE;QACnD,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,cAAc,EAAE;YAClB,OAAO;SACR;QACD,eAAe,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IAEjD,MAAM,UAAU,GAAG,KAAK,EAAE,CAAkC,EAAE,EAAE;QAC9D,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,cAAc,EAAE;YAClB,OAAO;SACR;QACD,OAAO,EAAE,CAAC;QACV,eAAe,CAAC,KAAK,CAAC,CAAC;QACvB,MAAM,IAAI,GAAG,CAAC,CAAC,YAAY,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;QACxC,IAAI,IAAI,EAAE;YACR,MAAM,cAAc,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAC;SAC/C;IACH,CAAC,CAAC;IAEF,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC;AAC/D,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
1
  /** @hidden */
2
- export declare type FormTypeFieldDef = '' | 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD' | 'BROK' | 'BROKACCOUNT' | 'COLLECTION' | 'CORRUPTION' | 'CRED' | 'DPST' | 'PRODUCT' | 'SELFCOLLECTION' | 'KVED' | 'ULTRASERVICE' | 'FEEDBACK' | 'FEEDBACK_QS' | 'OUTSERVICE' | 'FCB' | 'CREDL' | 'CONT' | 'SUPPORT' | 'INVESTADVISER' | 'FINOMBUDSMAN' | 'PF' | 'UNIVERSAL';
2
+ export declare type FormTypeFieldDef = '' | 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD' | 'BROK' | 'BROKACCOUNT' | 'COLLECTION' | 'CORRUPTION' | 'CRED' | 'DPST' | 'PRODUCT' | 'SELFCOLLECTION' | 'KVED' | 'ULTRASERVICE' | 'FEEDBACK' | 'FEEDBACK_QS' | 'OUTSERVICE' | 'FCB' | 'CREDL' | 'CONT' | 'SUPPORT' | 'INVESTADVISER' | 'FINOMBUDSMAN' | 'PF' | 'UNIVERSAL' | 'PRACTICE';
@@ -1 +1 @@
1
- export declare type InputTypes = 'text' | 'number' | 'hidden';
1
+ export declare type InputTypes = 'text' | 'number' | 'hidden' | 'file';
@@ -6,6 +6,7 @@ export interface CustomFieldProps {
6
6
  input?: FieldDef;
7
7
  url?: string;
8
8
  params?: Record<string, any>;
9
+ label?: string;
9
10
  }
10
11
  export interface CustomFieldPropsWithTypeForm extends CustomFieldProps {
11
12
  typeForm?: FormTypeFieldDef;
@@ -1,6 +1,5 @@
1
1
  import { type CustomFieldProps } from '../CustomFieldProps';
2
- interface RegionFieldProps extends CustomFieldProps {
2
+ export interface RegionFieldProps extends CustomFieldProps {
3
3
  isPremium?: boolean;
4
4
  }
5
5
  export declare const AddressBranchField: import("@redneckz/uni-jsx").UNIComponent<RegionFieldProps, any, any>;
6
- export {};
@@ -0,0 +1,2 @@
1
+ import { type CustomFieldProps } from '../CustomFieldProps';
2
+ export declare const AverageGradeField: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { InputControl } from '../../Input/InputControl.js';
4
+ export const AverageGradeField = JSX(({ field, input }) => {
5
+ return (_jsx(InputControl, { label: "\u0421\u0440\u0435\u0434\u043D\u0438\u0439 \u0431\u0430\u043B\u043B \u043E\u0431\u0443\u0447\u0435\u043D\u0438\u044F", type: "number", ...field(input?.name ?? ''), ...input }));
6
+ });
7
+ //# sourceMappingURL=AverageGradeField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AverageGradeField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/AverageGradeField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IAC1E,OAAO,CACL,KAAC,YAAY,IACX,KAAK,EAAC,sHAAuB,EAC7B,IAAI,EAAC,QAAQ,KACT,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,KACxB,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,5 +1,8 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { DatePickerControl } from '../../DatePicker/DatePickerControl.js';
4
- export const BirthdayField = JSX(({ field, input }) => (_jsx(DatePickerControl, { label: input?.label || 'Дата рождения', ...field(input?.name ?? ''), ...input })));
4
+ export const BirthdayField = JSX(({ field, input }) => {
5
+ const today = new Date();
6
+ return (_jsx(DatePickerControl, { label: input?.label || 'Дата рождения', ...field(input?.name ?? ''), maxDate: today, ...input }));
7
+ });
5
8
  //# sourceMappingURL=BirthdayField.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BirthdayField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/BirthdayField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACvE,KAAC,iBAAiB,IAChB,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,eAAe,KAClC,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,KACxB,KAAK,GACT,CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"BirthdayField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/BirthdayField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IACtE,MAAM,KAAK,GAAG,IAAI,IAAI,EAAE,CAAC;IAEzB,OAAO,CACL,KAAC,iBAAiB,IAChB,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,eAAe,KAClC,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,EAC5B,OAAO,EAAE,KAAK,KACV,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { InputControl } from '../../Input/InputControl.js';
4
- export const CommentField = JSX(({ field, input }) => (_jsx(InputControl, { className: "col-span-2", ...field(input?.name ?? ''), placeholder: "\u0412\u0430\u0448\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435", isTextarea: true, ...input })));
4
+ export const CommentField = JSX(({ field, input }) => (_jsx(InputControl, { className: "col-span-2", ...field(input?.name ?? ''), placeholder: input?.placeholder ?? 'Ваше сообщение', isTextarea: true, ...input })));
5
5
  //# sourceMappingURL=CommentField.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommentField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/CommentField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACtE,KAAC,YAAY,IACX,SAAS,EAAC,YAAY,KAClB,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,EAC5B,WAAW,EAAC,iFAAgB,EAC5B,UAAU,EAAE,IAAI,KACZ,KAAK,GACT,CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"CommentField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/CommentField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACtE,KAAC,YAAY,IACX,SAAS,EAAC,YAAY,KAClB,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,EAC5B,WAAW,EAAE,KAAK,EAAE,WAAW,IAAI,gBAAgB,EACnD,UAAU,EAAE,IAAI,KACZ,KAAK,GACT,CACH,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { type PartnerFieldWithRefProps } from './PartnerSymbolCodeField';
2
+ export declare const FileIdField: import("../../../UniBlock/UniBlock").UniBlockComponent<PartnerFieldWithRefProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { UniBlock } from '../../../UniBlock/UniBlock.js';
3
+ import { InputControl } from '../../Input/InputControl.js';
4
+ export const FileIdField = UniBlock(({ field, input = {} }) => (_jsx(InputControl, { ...field(input.name ?? ''), ...input, type: "hidden" })));
5
+ //# sourceMappingURL=FileIdField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileIdField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/FileIdField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAA2B,CAAC,EAAE,KAAK,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CACvF,KAAC,YAAY,OAAK,KAAK,CAAC,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC,KAAM,KAAK,EAAE,IAAI,EAAC,QAAQ,GAAG,CACvE,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { type CustomFieldProps } from '../CustomFieldProps';
2
+ export declare const FileUploadField: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
4
+ import { InputFileControl } from '../../Input/InputFileControl.js';
5
+ export const FileUploadField = JSX(({ field, input }) => {
6
+ const [fileId, setFileId] = useState('');
7
+ useEffect(() => {
8
+ field('fileId')?.onChange?.(fileId);
9
+ }, [fileId]);
10
+ return (_jsx(InputFileControl, { type: "file", label: input?.name ?? '', ...field(input?.name ?? ''), ...input, onFileChanged: setFileId }));
11
+ });
12
+ //# sourceMappingURL=FileUpload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileUpload.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/FileUpload.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAGhE,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IACxE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAS,EAAE,CAAC,CAAC;IAEjD,SAAS,CAAC,GAAG,EAAE;QACb,KAAK,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAC;IACtC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEb,OAAO,CACL,KAAC,gBAAgB,IACf,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,KAAK,EAAE,IAAI,IAAI,EAAE,KACpB,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,KACxB,KAAK,EACT,aAAa,EAAE,SAAS,GACxB,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { type CustomFieldProps } from '../CustomFieldProps';
2
+ export declare const InternshipEndDateField: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
@@ -0,0 +1,21 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
4
+ import { isDateValid } from '../../../utils/isDateValid.js';
5
+ import { DatePickerControl } from '../../DatePicker/DatePickerControl.js';
6
+ const INTERNSHIP_END_DATE_ERROR = 'Некорректно заполненное поле';
7
+ export const InternshipEndDateField = JSX(({ field, input }) => {
8
+ const [startDate, setStartDate] = useState();
9
+ const [internshipEndDateError, setInternshipEndDateError] = useState('');
10
+ const [internshipEndDateValue, setInternshipEndDateValue] = useState();
11
+ useEffect(() => {
12
+ setStartDate(field('internshipStartDate').value);
13
+ }, [field('internshipStartDate').value]);
14
+ const handleInputChange = (value) => {
15
+ setInternshipEndDateValue(value);
16
+ field(input?.name ?? '')?.onChange?.(value);
17
+ setInternshipEndDateError(isDateValid(value, { minLimit: startDate }) ? '' : INTERNSHIP_END_DATE_ERROR);
18
+ };
19
+ return (_jsx(DatePickerControl, { label: input?.label || 'Дата окончания практики', ...field(input?.name ?? ''), ...input, value: internshipEndDateValue, error: field(input?.name ?? '')?.error || internshipEndDateError, errors: [field(input?.name ?? '')?.error || internshipEndDateError], onChange: handleInputChange, minDate: startDate }));
20
+ });
21
+ //# sourceMappingURL=InternshipEndDateField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InternshipEndDateField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/InternshipEndDateField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,MAAM,yBAAyB,GAAG,8BAA8B,CAAC;AAEjE,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IAC/E,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAAQ,CAAC;IACnD,MAAM,CAAC,sBAAsB,EAAE,yBAAyB,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACzE,MAAM,CAAC,sBAAsB,EAAE,yBAAyB,CAAC,GAAG,QAAQ,EAAQ,CAAC;IAE7E,SAAS,CAAC,GAAG,EAAE;QACb,YAAY,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,KAAa,CAAC,CAAC;IAC3D,CAAC,EAAE,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;IAEzC,MAAM,iBAAiB,GAAG,CAAC,KAAW,EAAE,EAAE;QACxC,yBAAyB,CAAC,KAAK,CAAC,CAAC;QACjC,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;QAC5C,yBAAyB,CACvB,WAAW,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,yBAAyB,CAC7E,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,iBAAiB,IAChB,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,yBAAyB,KAC5C,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,KACxB,KAAK,EACT,KAAK,EAAE,sBAAsB,EAC7B,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,EAAE,KAAK,IAAI,sBAAsB,EAChE,MAAM,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,EAAE,KAAK,IAAI,sBAAsB,CAAC,EACnE,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,EAAE,SAAS,GAClB,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { type CustomFieldProps } from '../CustomFieldProps';
2
+ export declare const InternshipStartDateField: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
@@ -0,0 +1,21 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
4
+ import { isDateValid } from '../../../utils/isDateValid.js';
5
+ import { DatePickerControl } from '../../DatePicker/DatePickerControl.js';
6
+ const INTERNSHIP_START_DATE_ERROR = 'Некорректно заполненное поле';
7
+ export const InternshipStartDateField = JSX(({ field, input }) => {
8
+ const [endDate, setEndDate] = useState();
9
+ const [internshipStartDateError, setInternshipStartDateError] = useState('');
10
+ const [internshipStartDateValue, setInternshipStartDateValue] = useState();
11
+ useEffect(() => {
12
+ setEndDate(field('internshipEndDate').value);
13
+ }, [field('internshipEndDate').value]);
14
+ const handleInputChange = (value) => {
15
+ setInternshipStartDateValue(value);
16
+ field(input?.name ?? '')?.onChange?.(value);
17
+ setInternshipStartDateError(isDateValid(value, { maxLimit: endDate }) ? '' : INTERNSHIP_START_DATE_ERROR);
18
+ };
19
+ return (_jsx(DatePickerControl, { label: input?.label || 'Дата начала практики', ...field(input?.name ?? ''), ...input, value: internshipStartDateValue, error: internshipStartDateError || field(input?.name ?? '')?.error, errors: [internshipStartDateError ?? field(input?.name ?? '')?.error], onChange: handleInputChange, maxDate: endDate }));
20
+ });
21
+ //# sourceMappingURL=InternshipStartDateField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InternshipStartDateField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/InternshipStartDateField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,MAAM,2BAA2B,GAAG,8BAA8B,CAAC;AAEnE,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IACjF,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,EAAQ,CAAC;IAC/C,MAAM,CAAC,wBAAwB,EAAE,2BAA2B,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC7E,MAAM,CAAC,wBAAwB,EAAE,2BAA2B,CAAC,GAAG,QAAQ,EAAQ,CAAC;IAEjF,SAAS,CAAC,GAAG,EAAE;QACb,UAAU,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,KAAa,CAAC,CAAC;IACvD,CAAC,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;IAEvC,MAAM,iBAAiB,GAAG,CAAC,KAAW,EAAE,EAAE;QACxC,2BAA2B,CAAC,KAAK,CAAC,CAAC;QACnC,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;QAC5C,2BAA2B,CACzB,WAAW,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,2BAA2B,CAC7E,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,iBAAiB,IAChB,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,sBAAsB,KACzC,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,KACxB,KAAK,EACT,KAAK,EAAE,wBAAwB,EAC/B,KAAK,EAAE,wBAAwB,IAAI,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,EAAE,KAAK,EAClE,MAAM,EAAE,CAAC,wBAAwB,IAAI,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,EACrE,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type Option } from '../../Select/Option';
2
+ import { type CustomFieldProps } from '../CustomFieldProps';
3
+ export interface SelectFieldProps extends CustomFieldProps {
4
+ options: Option[];
5
+ }
6
+ export declare const SelectField: import("@redneckz/uni-jsx").UNIComponent<SelectFieldProps, any, any>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { SelectControl } from '../../Select/SelectControl.js';
4
+ export const SelectField = JSX(({ field, input, label, options }) => (_jsx(SelectControl, { label: label, options: options, ...field(input?.name ?? ''), ...input })));
5
+ //# sourceMappingURL=SelectField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/SelectField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAO3D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACrF,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,KAAM,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,KAAM,KAAK,GAAI,CAC3F,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { type CustomFieldProps } from '../CustomFieldProps';
2
+ export declare const TextField: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { InputControl } from '../../Input/InputControl.js';
4
+ export const TextField = JSX(({ field, input, label }) => (_jsx(InputControl, { label: label, maxLength: 60, ...field(input?.name ?? ''), ...input })));
5
+ //# sourceMappingURL=TextField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/TextField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC1E,KAAC,YAAY,IAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,KAAM,KAAK,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,KAAM,KAAK,GAAI,CACvF,CAAC,CAAC"}
@@ -0,0 +1,62 @@
1
+ import type { CustomFieldProps } from './CustomFieldProps';
2
+ import { type SelectFieldProps } from './Fields/SelectField';
3
+ export declare const InputsMap: {
4
+ fullName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
5
+ addressBranch: import("@redneckz/uni-jsx").UNIComponent<import("./Fields/AddressBranchField").RegionFieldProps, any, any>;
6
+ desiredMeetingDate: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
7
+ product: (props: CustomFieldProps) => any;
8
+ localities: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
9
+ isClient: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
10
+ partnerComments: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
11
+ collectionCount: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
12
+ acquiringType: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
13
+ onlineCheckout: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
14
+ posTerminal: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
15
+ serviceType: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
16
+ term: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
17
+ amount: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
18
+ annualRevenue: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
19
+ vedTypes: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
20
+ feedbackMethod: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
21
+ serviceDirection: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
22
+ bankEmpolee: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
23
+ secondaryPhone: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
24
+ applicationDate: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
25
+ region: (props: CustomFieldProps) => any;
26
+ consentToReceiveMaterials: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
27
+ sufferedFrom: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
28
+ situationDescription: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
29
+ representativeName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
30
+ applierType: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
31
+ surname: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
32
+ name: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
33
+ middleName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
34
+ birthday: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
35
+ phone: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
36
+ email: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
37
+ inn: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
38
+ comment: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
39
+ fullRegion: import("@redneckz/uni-jsx").UNIComponent<import("./Fields/FullRegionField").FullRegionFieldProps, any, any>;
40
+ partnerSymbolCode: (props: CustomFieldProps) => any;
41
+ partnerName: (props: CustomFieldProps) => any;
42
+ dadataPartyNameSelect: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
43
+ dadataPartyInnSelect: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
44
+ questionProduct: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
45
+ callbackTime: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
46
+ russianPhone: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
47
+ cityOfResidence: (props: CustomFieldProps) => any;
48
+ internshipStartDate: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
49
+ internshipEndDate: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
50
+ university: (props: CustomFieldProps) => any;
51
+ courseYear: (props: CustomFieldProps) => any;
52
+ graduationYear: (props: CustomFieldProps) => any;
53
+ fieldOfStudy: (props: CustomFieldProps) => any;
54
+ educationLevel: (props: SelectFieldProps) => any;
55
+ averageGrade: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
56
+ skillsAndKnowledge: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
57
+ workExperience: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
58
+ motivationForInternship: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
59
+ internshipDirection: (props: SelectFieldProps) => any;
60
+ workingHours: (props: SelectFieldProps) => any;
61
+ fileUpload: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
62
+ };
@@ -0,0 +1,117 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { EDUCATION_LEVEL, INTERNSHIP_DIRECTION, WORKING_HOURS } from './constants.js';
3
+ import { AcquiringField } from './Fields/AcquiringField.js';
4
+ import { AddressBranchField } from './Fields/AddressBranchField.js';
5
+ import { AmountField } from './Fields/AmountField.js';
6
+ import { AnnualRevenueField } from './Fields/AnnualRevenueField.js';
7
+ import { ApplicationDateField } from './Fields/ApplicationDateField.js';
8
+ import { ApplierTypeField } from './Fields/ApplierTypeField.js';
9
+ import { AverageGradeField } from './Fields/AverageGradeField.js';
10
+ import { BankEmpoleeField } from './Fields/BankEmpoleeField.js';
11
+ import { BirthdayField } from './Fields/BirthdayField.js';
12
+ import { CallbackTimeField } from './Fields/CallbackTimeField.js';
13
+ import { CollectionCountField } from './Fields/CollectionCountField.js';
14
+ import { CommentField } from './Fields/CommentField.js';
15
+ import { DadataPartySelectField } from './Fields/DadataPartySelectField.js';
16
+ import { DesiredMeetingDateField } from './Fields/DesiredMeetingDateField.js';
17
+ import { EmailField } from './Fields/EmailField.js';
18
+ import { FeedbackMethodField } from './Fields/FeedbackMethodField.js';
19
+ import { FileUploadField } from './Fields/FileUpload.js';
20
+ import { FullNameField } from './Fields/FullNameField.js';
21
+ import { FullRegionField } from './Fields/FullRegionField.js';
22
+ import { InnField } from './Fields/InnField.js';
23
+ import { InternshipEndDateField } from './Fields/InternshipEndDateField.js';
24
+ import { InternshipStartDateField } from './Fields/InternshipStartDateField.js';
25
+ import { IsClientField } from './Fields/IsClientField.js';
26
+ import { LocalitiesField } from './Fields/LocalitiesField.js';
27
+ import { MiddleNameField } from './Fields/MiddleNameField.js';
28
+ import { NameField } from './Fields/NameField.js';
29
+ import { OnlineCheckoutField } from './Fields/OnlineCheckoutField.js';
30
+ import { PartnerCommentsField } from './Fields/PartnerCommentsField.js';
31
+ import { PartnerNameField } from './Fields/PartnerNameField.js';
32
+ import { PartnerSymbolCodeField } from './Fields/PartnerSymbolCodeField.js';
33
+ import { PhoneField } from './Fields/PhoneField.js';
34
+ import { PosTerminalField } from './Fields/PosTerminalField.js';
35
+ import { ProductField } from './Fields/ProductField.js';
36
+ import { QuestionProductField } from './Fields/QuestionProductField.js';
37
+ import { RegionField } from './Fields/RegionField.js';
38
+ import { RepresentativeNameField } from './Fields/RepresentativeNameField.js';
39
+ import { SecondaryPhoneField } from './Fields/SecondaryPhoneField.js';
40
+ import { SelectField } from './Fields/SelectField.js';
41
+ import { ServiceDirectionField } from './Fields/ServiceDirectionField.js';
42
+ import { SituationDescriptionField } from './Fields/SituationDescriptionField.js';
43
+ import { SufferedFromField } from './Fields/SufferedFromField.js';
44
+ import { SurnameField } from './Fields/SurnameField.js';
45
+ import { TermField } from './Fields/TermField.js';
46
+ import { TextField } from './Fields/TextField.js';
47
+ import { UltraPremiumField } from './Fields/UltraPremiumField.js';
48
+ import { VedField } from './Fields/VedField.js';
49
+ import { ConsentToReceiveMaterialsField } from './Fields/СonsentToReceiveMaterialsField.js';
50
+ import { getPremium } from './getPremium.js';
51
+ const PRODUCT_REF = {
52
+ $ref: '/wcms-resources/outservice-productlist.json',
53
+ };
54
+ const AGENTS_REF = {
55
+ $ref: '/wcms-resources/agenty-dlya-rko.json',
56
+ };
57
+ export const InputsMap = {
58
+ fullName: FullNameField,
59
+ addressBranch: AddressBranchField,
60
+ desiredMeetingDate: DesiredMeetingDateField,
61
+ product: (props) => _jsx(ProductField, { ...props, source: PRODUCT_REF }),
62
+ localities: LocalitiesField,
63
+ isClient: IsClientField,
64
+ partnerComments: PartnerCommentsField,
65
+ collectionCount: CollectionCountField,
66
+ acquiringType: AcquiringField,
67
+ onlineCheckout: OnlineCheckoutField,
68
+ posTerminal: PosTerminalField,
69
+ serviceType: UltraPremiumField,
70
+ term: TermField,
71
+ amount: AmountField,
72
+ annualRevenue: AnnualRevenueField,
73
+ vedTypes: VedField,
74
+ feedbackMethod: FeedbackMethodField,
75
+ serviceDirection: ServiceDirectionField,
76
+ bankEmpolee: BankEmpoleeField,
77
+ secondaryPhone: SecondaryPhoneField,
78
+ applicationDate: ApplicationDateField,
79
+ region: (props) => getPremium(props?.params?.typeForm) ? (_jsx(FullRegionField, { ...props })) : (_jsx(RegionField, { ...props })),
80
+ consentToReceiveMaterials: ConsentToReceiveMaterialsField,
81
+ sufferedFrom: SufferedFromField,
82
+ situationDescription: SituationDescriptionField,
83
+ representativeName: RepresentativeNameField,
84
+ applierType: ApplierTypeField,
85
+ surname: SurnameField,
86
+ name: NameField,
87
+ middleName: MiddleNameField,
88
+ birthday: BirthdayField,
89
+ phone: PhoneField,
90
+ email: EmailField,
91
+ inn: InnField,
92
+ comment: CommentField,
93
+ fullRegion: FullRegionField,
94
+ partnerSymbolCode: (props) => (_jsx(PartnerSymbolCodeField, { ...props, source: AGENTS_REF })),
95
+ partnerName: (props) => _jsx(PartnerNameField, { ...props, source: AGENTS_REF }),
96
+ dadataPartyNameSelect: DadataPartySelectField,
97
+ dadataPartyInnSelect: DadataPartySelectField,
98
+ questionProduct: QuestionProductField,
99
+ callbackTime: CallbackTimeField,
100
+ russianPhone: PhoneField,
101
+ cityOfResidence: (props) => _jsx(TextField, { ...props, label: "\u0413\u043E\u0440\u043E\u0434 \u043F\u0440\u043E\u0436\u0438\u0432\u0430\u043D\u0438\u044F" }),
102
+ internshipStartDate: InternshipStartDateField,
103
+ internshipEndDate: InternshipEndDateField,
104
+ university: (props) => _jsx(TextField, { ...props, label: "\u0412\u0423\u0417" }),
105
+ courseYear: (props) => _jsx(TextField, { ...props, label: "\u041A\u0443\u0440\u0441" }),
106
+ graduationYear: (props) => _jsx(TextField, { ...props, label: "\u0413\u043E\u0434 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F" }),
107
+ fieldOfStudy: (props) => _jsx(TextField, { ...props, label: "\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u0431\u0443\u0447\u0435\u043D\u0438\u044F" }),
108
+ educationLevel: (props) => (_jsx(SelectField, { ...props, label: "\u0421\u0442\u0443\u043F\u0435\u043D\u044C \u043E\u0431\u0443\u0447\u0435\u043D\u0438\u044F", options: EDUCATION_LEVEL })),
109
+ averageGrade: AverageGradeField,
110
+ skillsAndKnowledge: CommentField,
111
+ workExperience: CommentField,
112
+ motivationForInternship: CommentField,
113
+ internshipDirection: (props) => (_jsx(SelectField, { ...props, label: "\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0441\u0442\u0430\u0436\u0438\u0440\u043E\u0432\u043A\u0438", options: INTERNSHIP_DIRECTION })),
114
+ workingHours: (props) => (_jsx(SelectField, { ...props, label: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0431\u043E\u0447\u0438\u0445 \u0447\u0430\u0441\u043E\u0432", options: WORKING_HOURS })),
115
+ fileUpload: FileUploadField,
116
+ };
117
+ //# sourceMappingURL=InputsMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputsMap.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/InputsMap.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEnF,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD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OAAK,KAAK,EAAE,KAAK,EAAC,0BAAM,GAAG;IAC9E,cAAc,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,KAAC,SAAS,OAAK,KAAK,EAAE,KAAK,EAAC,2EAAe,GAAG;IAC3F,YAAY,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,KAAC,SAAS,OAAK,KAAK,EAAE,KAAK,EAAC,qHAAsB,GAAG;IAChG,cAAc,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,CAC3C,KAAC,WAAW,OAAK,KAAK,EAAE,KAAK,EAAC,6FAAkB,EAAC,OAAO,EAAE,eAAe,GAAI,CAC9E;IACD,YAAY,EAAE,iBAAiB;IAC/B,kBAAkB,EAAE,YAAY;IAChC,cAAc,EAAE,YAAY;IAC5B,uBAAuB,EAAE,YAAY;IACrC,mBAAmB,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,CAChD,KAAC,WAAW,OAAK,KAAK,EAAE,KAAK,EAAC,iIAAwB,EAAC,OAAO,EAAE,oBAAoB,GAAI,CACzF;IACD,YAAY,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,CACzC,KAAC,WAAW,OAAK,KAAK,EAAE,KAAK,EAAC,wIAA0B,EAAC,OAAO,EAAE,aAAa,GAAI,CACpF;IACD,UAAU,EAAE,eAAe;CAC5B,CAAC"}
@@ -1,3 +1,3 @@
1
- declare type NameFieldApplicationDef = 'surname' | 'name' | 'middleName' | 'email' | 'phone' | 'fullName' | 'inn' | 'comment' | 'fullRegion' | 'region' | 'addressBranch' | 'typeForm' | 'registrationDate' | 'birthday' | 'isClient' | 'acquiringType' | 'onlineCheckout' | 'posTerminal' | 'serviceDirection' | 'serviceType' | 'feedbackMethod' | 'bankEmpolee' | 'applicationDate' | 'secondaryPhone' | 'vedTypes' | 'term' | 'amount' | 'annualRevenue' | 'collectionCount' | 'desiredMeetingDate' | 'product' | 'localities' | 'partnerComments' | 'sufferedFrom' | 'situationDescription' | 'applierType' | 'representativeName' | 'regionBranch' | 'consentToReceiveMaterials' | 'consentDataProcessing' | 'partnerSymbolCode' | 'partnerName' | 'dadataPartyNameSelect' | 'dadataPartyInnSelect' | 'questionProduct' | 'callbackTime' | 'russianPhone';
1
+ declare type NameFieldApplicationDef = 'surname' | 'name' | 'middleName' | 'email' | 'phone' | 'fullName' | 'inn' | 'comment' | 'fullRegion' | 'region' | 'addressBranch' | 'typeForm' | 'registrationDate' | 'birthday' | 'isClient' | 'acquiringType' | 'onlineCheckout' | 'posTerminal' | 'serviceDirection' | 'serviceType' | 'feedbackMethod' | 'bankEmpolee' | 'applicationDate' | 'secondaryPhone' | 'vedTypes' | 'term' | 'amount' | 'annualRevenue' | 'collectionCount' | 'desiredMeetingDate' | 'product' | 'localities' | 'partnerComments' | 'sufferedFrom' | 'situationDescription' | 'applierType' | 'representativeName' | 'regionBranch' | 'consentToReceiveMaterials' | 'consentDataProcessing' | 'partnerSymbolCode' | 'partnerName' | 'dadataPartyNameSelect' | 'dadataPartyInnSelect' | 'questionProduct' | 'callbackTime' | 'russianPhone' | 'cityOfResidence' | 'internshipStartDate' | 'internshipEndDate' | 'university' | 'fieldOfStudy' | 'courseYear' | 'graduationYear' | 'averageGrade' | 'skillsAndKnowledge' | 'educationLevel' | 'workingHours' | 'motivationForInternship' | 'workExperience' | 'internshipDirection' | 'fileUpload' | 'fileId';
2
2
  export declare type NameFieldDef = NameFieldApplicationDef;
3
3
  export {};
@@ -14,3 +14,6 @@ export declare const CALLBACK_TIME: Option[];
14
14
  export declare const QUESTION_PRODUCT_TYPES: Option[];
15
15
  export declare const SUFFERED_FROM_TYPES: Option[];
16
16
  export declare const VED_TYPES: RadioButtonItem[];
17
+ export declare const INTERNSHIP_DIRECTION: Option[];
18
+ export declare const WORKING_HOURS: Option[];
19
+ export declare const EDUCATION_LEVEL: Option[];
@@ -81,4 +81,30 @@ export const VED_TYPES = [
81
81
  { id: 'conversionTransactions', text: 'Конверсионные операции' },
82
82
  { id: 'otherIssues', text: 'Иные вопросы ВЭД' },
83
83
  ];
84
+ export const INTERNSHIP_DIRECTION = [
85
+ { key: 'economics', text: 'Экономика и финансы' },
86
+ { key: 'audit', text: 'Аудит' },
87
+ { key: 'law', text: 'Юриспруденция' },
88
+ { key: 'it', text: 'ИТ' },
89
+ { key: 'marketing', text: 'Маркетинг' },
90
+ { key: 'hr', text: 'HR' },
91
+ { key: 'analytics', text: 'Аналитика' },
92
+ { key: 'management', text: 'Менеджмент' },
93
+ { key: 'administration', text: 'ГМУ' },
94
+ { key: 'design', text: 'Дизайн' },
95
+ { key: 'journalism', text: 'Журналистика' },
96
+ { key: 'contact', text: 'Контакт-центр' },
97
+ { key: 'other', text: 'Другое' },
98
+ ];
99
+ export const WORKING_HOURS = [
100
+ { key: '20', text: '20' },
101
+ { key: '30', text: '30' },
102
+ { key: '40', text: '40' },
103
+ ];
104
+ export const EDUCATION_LEVEL = [
105
+ { key: 'bachelor', text: 'Бакалавриат' },
106
+ { key: 'specialist', text: 'Специалитет' },
107
+ { key: 'master', text: 'Магистратура' },
108
+ { key: 'doctorate', text: 'Аспирантура' },
109
+ ];
84
110
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/constants.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,aAAa,GAAa,CAAC,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AAEjF,MAAM,CAAC,MAAM,kBAAkB,GAAa;IAC1C,EAAE,GAAG,EAAE,iBAAiB,EAAE;IAC1B,EAAE,GAAG,EAAE,uBAAuB,EAAE;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAa;IACvC,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE;IAC3C,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,uBAAuB,EAAE;CAChD,CAAC;AAEF,MAAM,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