@redneckz/wildless-cms-uni-blocks 0.14.725 → 0.14.726

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 (831) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +1800 -1815
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  5. package/bundle/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
  6. package/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
  7. package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  8. package/bundle/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
  9. package/bundle/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
  10. package/bundle/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.d.ts +1 -1
  11. package/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
  12. package/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
  13. package/bundle/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
  14. package/bundle/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
  15. package/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
  16. package/bundle/components/CreditCardForm/formStateMap.d.ts +1 -1
  17. package/bundle/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
  18. package/bundle/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
  19. package/bundle/components/CreditCardForm/getInitialFormState.d.ts +1 -1
  20. package/bundle/components/CreditCardForm/renderInputs.d.ts +2 -2
  21. package/bundle/components/CreditCardForm/renderStep.d.ts +1 -1
  22. package/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
  23. package/bundle/components/CreditForm/formStateMap.d.ts +1 -1
  24. package/bundle/components/CreditForm/getCalcData.d.ts +1 -1
  25. package/bundle/components/CreditForm/getInitialFormState.d.ts +1 -1
  26. package/bundle/components/CreditForm/renderInfo.d.ts +1 -1
  27. package/bundle/components/CreditForm/renderInputs.d.ts +2 -2
  28. package/bundle/components/CreditForm/renderStep.d.ts +1 -1
  29. package/bundle/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  30. package/bundle/components/CreditForm/utils.d.ts +1 -1
  31. package/bundle/hooks/useLeadFormData.d.ts +2 -2
  32. package/bundle/hooks/useRetailFormStore.d.ts +10 -10
  33. package/bundle/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
  34. package/bundle/services/retail/adaptors/getCalculatorData.d.ts +1 -1
  35. package/bundle/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
  36. package/bundle/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
  37. package/bundle/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
  38. package/bundle/services/retail/adaptors/getEmploymentData.d.ts +1 -1
  39. package/bundle/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
  40. package/bundle/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
  41. package/bundle/services/retail/external/types.d.ts +10 -0
  42. package/bundle/services/retail/external/utils.d.ts +2 -0
  43. package/bundle/services/retail/inputs.d.ts +75 -0
  44. package/{dist/api/RetailAPI → bundle/services/retail}/model/LeadFormData.d.ts +1 -1
  45. package/bundle/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.d.ts +18 -18
  46. package/bundle/services/retail/model/RetailFormContent.d.ts +63 -0
  47. package/bundle/{components/CreditCardForm → services/retail/utils}/calculateInputs.d.ts +2 -2
  48. package/bundle/services/retail/utils/getOrganizationParams.d.ts +17 -0
  49. package/bundle/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
  50. package/bundle/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
  51. package/bundle/ui-kit/DraftDialog/utils.d.ts +2 -2
  52. package/bundle/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
  53. package/bundle/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
  54. package/bundle/ui-kit/FormField/NameFieldDef.d.ts +6 -1
  55. package/bundle/ui-kit/FormField/SelectField.d.ts +2 -2
  56. package/bundle/ui-kit/FormField/getField.d.ts +2 -1
  57. package/bundle/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  58. package/bundle/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  59. package/bundle/ui-kit/FormField/getPremium.d.ts +1 -1
  60. package/bundle/ui-kit/FormField/validators.d.ts +1 -1
  61. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
  62. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  63. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  64. package/dist/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
  65. package/dist/components/ApplicationLeadForm/GroupedConsents.js +2 -1
  66. package/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  67. package/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
  68. package/dist/components/ApplicationLeadForm/consents.js +0 -3
  69. package/dist/components/ApplicationLeadForm/consents.js.map +1 -1
  70. package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  71. package/dist/components/ApplicationLeadForm/getInitialFormState.js +0 -2
  72. package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  73. package/dist/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
  74. package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  75. package/dist/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
  76. package/dist/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
  77. package/dist/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.d.ts +1 -1
  78. package/{mobile/dist/components/ApplicationForm → dist/components/ApplicationLeadForm}/renderInputs.js +4 -3
  79. package/dist/components/ApplicationLeadForm/renderInputs.js.map +1 -0
  80. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
  81. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +1 -1
  82. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  83. package/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
  84. package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  85. package/dist/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
  86. package/dist/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
  87. package/dist/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
  88. package/dist/components/CreditCardForm/formStateMap.d.ts +1 -1
  89. package/dist/components/CreditCardForm/formStateMap.js +1 -1
  90. package/dist/components/CreditCardForm/formStateMap.js.map +1 -1
  91. package/dist/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
  92. package/dist/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
  93. package/dist/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -1
  94. package/dist/components/CreditCardForm/getInitialFormState.d.ts +1 -1
  95. package/dist/components/CreditCardForm/renderInputs.d.ts +2 -2
  96. package/dist/components/CreditCardForm/renderInputs.js +2 -1
  97. package/dist/components/CreditCardForm/renderInputs.js.map +1 -1
  98. package/dist/components/CreditCardForm/renderStep.d.ts +1 -1
  99. package/dist/components/CreditCardForm/renderStep.js +1 -1
  100. package/dist/components/CreditCardForm/renderStep.js.map +1 -1
  101. package/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
  102. package/dist/components/CreditCardForm/useCreditCardFormAPI.js +1 -1
  103. package/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  104. package/dist/components/CreditForm/formStateMap.d.ts +1 -1
  105. package/dist/components/CreditForm/getCalcData.d.ts +1 -1
  106. package/dist/components/CreditForm/getInitialFormState.d.ts +1 -1
  107. package/dist/components/CreditForm/renderInfo.d.ts +1 -1
  108. package/dist/components/CreditForm/renderInfo.js.map +1 -1
  109. package/dist/components/CreditForm/renderInputs.d.ts +2 -2
  110. package/dist/components/CreditForm/renderInputs.js +2 -1
  111. package/dist/components/CreditForm/renderInputs.js.map +1 -1
  112. package/dist/components/CreditForm/renderStep.d.ts +1 -1
  113. package/dist/components/CreditForm/renderStep.js +1 -1
  114. package/dist/components/CreditForm/renderStep.js.map +1 -1
  115. package/dist/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  116. package/dist/components/CreditForm/useCreditFormAPI.js +1 -1
  117. package/dist/components/CreditForm/useCreditFormAPI.js.map +1 -1
  118. package/dist/components/CreditForm/utils.d.ts +1 -1
  119. package/dist/hooks/useCreditFormStore.d.ts +0 -0
  120. package/dist/hooks/useCreditFormStore.js +1 -0
  121. package/dist/hooks/useCreditFormStore.js.map +1 -0
  122. package/dist/hooks/useLeadFormData.d.ts +2 -2
  123. package/dist/hooks/useLeadFormData.js.map +1 -1
  124. package/dist/hooks/useRetailFormStore.d.ts +10 -10
  125. package/dist/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
  126. package/dist/services/retail/adaptors/getCalculatorData.d.ts +1 -1
  127. package/dist/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
  128. package/dist/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
  129. package/dist/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
  130. package/dist/services/retail/adaptors/getEmploymentData.d.ts +1 -1
  131. package/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
  132. package/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  133. package/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  134. package/dist/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
  135. package/dist/services/retail/external/types.d.ts +10 -0
  136. package/dist/services/retail/external/types.js +2 -0
  137. package/dist/services/retail/external/types.js.map +1 -0
  138. package/dist/services/retail/external/utils.d.ts +2 -0
  139. package/dist/services/retail/external/utils.js +7 -0
  140. package/dist/services/retail/external/utils.js.map +1 -0
  141. package/dist/services/retail/inputs.d.ts +75 -0
  142. package/dist/services/retail/inputs.js +137 -0
  143. package/dist/services/retail/inputs.js.map +1 -0
  144. package/dist/services/retail/model/EOrganizationActivityTypes.js.map +1 -0
  145. package/{bundle/api/RetailAPI → dist/services/retail}/model/LeadFormData.d.ts +1 -1
  146. package/dist/services/retail/model/LeadFormData.js.map +1 -0
  147. package/{lib/components/ApplicationLeadForm → dist/services/retail/model}/LeadFormState.d.ts +18 -18
  148. package/dist/services/retail/model/LeadFormState.js.map +1 -0
  149. package/dist/services/retail/model/RetailFormContent.d.ts +63 -0
  150. package/dist/services/retail/model/RetailFormContent.js +4 -0
  151. package/dist/services/retail/model/RetailFormContent.js.map +1 -0
  152. package/{bundle/components/CreditForm → dist/services/retail/utils}/calculateInputs.d.ts +2 -2
  153. package/dist/services/retail/utils/calculateInputs.js.map +1 -0
  154. package/dist/services/retail/utils/getOrganizationParams.d.ts +17 -0
  155. package/dist/services/retail/utils/getOrganizationParams.js.map +1 -0
  156. package/dist/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
  157. package/dist/{api/RetailAPI → services/retail}/utils/getUpdateUserProfile.js +3 -4
  158. package/dist/services/retail/utils/getUpdateUserProfile.js.map +1 -0
  159. package/dist/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
  160. package/dist/ui-kit/DraftDialog/utils.d.ts +2 -2
  161. package/dist/ui-kit/DraftDialog/utils.js.map +1 -1
  162. package/dist/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
  163. package/dist/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
  164. package/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
  165. package/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
  166. package/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
  167. package/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js +10 -0
  168. package/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js.map +1 -0
  169. package/dist/ui-kit/FormField/NameFieldDef.d.ts +6 -1
  170. package/dist/ui-kit/FormField/SelectField.d.ts +2 -2
  171. package/dist/ui-kit/FormField/SelectField.js.map +1 -1
  172. package/dist/ui-kit/FormField/getField.d.ts +2 -1
  173. package/dist/ui-kit/FormField/getField.js +4 -131
  174. package/dist/ui-kit/FormField/getField.js.map +1 -1
  175. package/dist/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  176. package/dist/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  177. package/dist/ui-kit/FormField/getObjectValidator.js +70 -60
  178. package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  179. package/dist/ui-kit/FormField/getPremium.d.ts +1 -1
  180. package/dist/ui-kit/FormField/updateOrganizationFields.js +1 -1
  181. package/dist/ui-kit/FormField/updateOrganizationFields.js.map +1 -1
  182. package/dist/ui-kit/FormField/validators.d.ts +1 -1
  183. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
  184. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  185. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  186. package/lib/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
  187. package/lib/components/ApplicationLeadForm/GroupedConsents.js +2 -1
  188. package/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  189. package/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
  190. package/lib/components/ApplicationLeadForm/consents.js +0 -3
  191. package/lib/components/ApplicationLeadForm/consents.js.map +1 -1
  192. package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  193. package/lib/components/ApplicationLeadForm/getInitialFormState.js +0 -2
  194. package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  195. package/lib/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
  196. package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  197. package/lib/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
  198. package/lib/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
  199. package/lib/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.d.ts +1 -1
  200. package/lib/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.js +4 -3
  201. package/lib/components/ApplicationLeadForm/renderInputs.js.map +1 -0
  202. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
  203. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +1 -1
  204. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  205. package/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
  206. package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  207. package/lib/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
  208. package/lib/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
  209. package/lib/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
  210. package/lib/components/CreditCardForm/formStateMap.d.ts +1 -1
  211. package/lib/components/CreditCardForm/formStateMap.js +1 -1
  212. package/lib/components/CreditCardForm/formStateMap.js.map +1 -1
  213. package/lib/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
  214. package/lib/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
  215. package/lib/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -1
  216. package/lib/components/CreditCardForm/getInitialFormState.d.ts +1 -1
  217. package/lib/components/CreditCardForm/renderInputs.d.ts +2 -2
  218. package/lib/components/CreditCardForm/renderInputs.js +2 -1
  219. package/lib/components/CreditCardForm/renderInputs.js.map +1 -1
  220. package/lib/components/CreditCardForm/renderStep.d.ts +1 -1
  221. package/lib/components/CreditCardForm/renderStep.js +1 -1
  222. package/lib/components/CreditCardForm/renderStep.js.map +1 -1
  223. package/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
  224. package/lib/components/CreditCardForm/useCreditCardFormAPI.js +1 -1
  225. package/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  226. package/lib/components/CreditForm/formStateMap.d.ts +1 -1
  227. package/lib/components/CreditForm/getCalcData.d.ts +1 -1
  228. package/lib/components/CreditForm/getInitialFormState.d.ts +1 -1
  229. package/lib/components/CreditForm/renderInfo.d.ts +1 -1
  230. package/lib/components/CreditForm/renderInfo.js.map +1 -1
  231. package/lib/components/CreditForm/renderInputs.d.ts +2 -2
  232. package/lib/components/CreditForm/renderInputs.js +2 -1
  233. package/lib/components/CreditForm/renderInputs.js.map +1 -1
  234. package/lib/components/CreditForm/renderStep.d.ts +1 -1
  235. package/lib/components/CreditForm/renderStep.js +1 -1
  236. package/lib/components/CreditForm/renderStep.js.map +1 -1
  237. package/lib/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  238. package/lib/components/CreditForm/useCreditFormAPI.js +1 -1
  239. package/lib/components/CreditForm/useCreditFormAPI.js.map +1 -1
  240. package/lib/components/CreditForm/utils.d.ts +1 -1
  241. package/lib/hooks/useCreditFormStore.d.ts +0 -0
  242. package/lib/hooks/useCreditFormStore.js +1 -0
  243. package/lib/hooks/useCreditFormStore.js.map +1 -0
  244. package/lib/hooks/useLeadFormData.d.ts +2 -2
  245. package/lib/hooks/useLeadFormData.js.map +1 -1
  246. package/lib/hooks/useRetailFormStore.d.ts +10 -10
  247. package/lib/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
  248. package/lib/services/retail/adaptors/getCalculatorData.d.ts +1 -1
  249. package/lib/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
  250. package/lib/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
  251. package/lib/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
  252. package/lib/services/retail/adaptors/getEmploymentData.d.ts +1 -1
  253. package/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
  254. package/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  255. package/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  256. package/lib/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
  257. package/lib/services/retail/external/types.d.ts +10 -0
  258. package/lib/services/retail/external/types.js +2 -0
  259. package/lib/services/retail/external/types.js.map +1 -0
  260. package/lib/services/retail/external/utils.d.ts +2 -0
  261. package/lib/services/retail/external/utils.js +3 -0
  262. package/lib/services/retail/external/utils.js.map +1 -0
  263. package/lib/services/retail/inputs.d.ts +75 -0
  264. package/lib/services/retail/inputs.js +135 -0
  265. package/lib/services/retail/inputs.js.map +1 -0
  266. package/lib/services/retail/model/EOrganizationActivityTypes.js.map +1 -0
  267. package/lib/{api/RetailAPI → services/retail}/model/LeadFormData.d.ts +1 -1
  268. package/lib/services/retail/model/LeadFormData.js.map +1 -0
  269. package/{dist/components/ApplicationLeadForm → lib/services/retail/model}/LeadFormState.d.ts +18 -18
  270. package/lib/services/retail/model/LeadFormState.js.map +1 -0
  271. package/lib/services/retail/model/RetailFormContent.d.ts +63 -0
  272. package/lib/services/retail/model/RetailFormContent.js +4 -0
  273. package/lib/services/retail/model/RetailFormContent.js.map +1 -0
  274. package/{dist/components/CreditCardForm → lib/services/retail/utils}/calculateInputs.d.ts +2 -2
  275. package/lib/services/retail/utils/calculateInputs.js.map +1 -0
  276. package/lib/services/retail/utils/getOrganizationParams.d.ts +17 -0
  277. package/lib/services/retail/utils/getOrganizationParams.js.map +1 -0
  278. package/lib/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
  279. package/{mobile/lib/api/RetailAPI → lib/services/retail}/utils/getUpdateUserProfile.js +1 -2
  280. package/lib/services/retail/utils/getUpdateUserProfile.js.map +1 -0
  281. package/lib/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
  282. package/lib/ui-kit/DraftDialog/utils.d.ts +2 -2
  283. package/lib/ui-kit/DraftDialog/utils.js.map +1 -1
  284. package/lib/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
  285. package/lib/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
  286. package/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
  287. package/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
  288. package/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
  289. package/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js +8 -0
  290. package/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js.map +1 -0
  291. package/lib/ui-kit/FormField/NameFieldDef.d.ts +6 -1
  292. package/lib/ui-kit/FormField/SelectField.d.ts +2 -2
  293. package/lib/ui-kit/FormField/SelectField.js.map +1 -1
  294. package/lib/ui-kit/FormField/getField.d.ts +2 -1
  295. package/lib/ui-kit/FormField/getField.js +4 -131
  296. package/lib/ui-kit/FormField/getField.js.map +1 -1
  297. package/lib/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  298. package/lib/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  299. package/lib/ui-kit/FormField/getObjectValidator.js +71 -61
  300. package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  301. package/lib/ui-kit/FormField/getPremium.d.ts +1 -1
  302. package/lib/ui-kit/FormField/updateOrganizationFields.js +1 -1
  303. package/lib/ui-kit/FormField/updateOrganizationFields.js.map +1 -1
  304. package/lib/ui-kit/FormField/validators.d.ts +1 -1
  305. package/mobile/bundle/bundle.umd.js +1800 -1815
  306. package/mobile/bundle/bundle.umd.min.js +1 -1
  307. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  308. package/mobile/bundle/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
  309. package/mobile/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
  310. package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  311. package/mobile/bundle/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
  312. package/mobile/bundle/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
  313. package/mobile/bundle/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.d.ts +1 -1
  314. package/mobile/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
  315. package/mobile/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
  316. package/mobile/bundle/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
  317. package/mobile/bundle/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
  318. package/mobile/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
  319. package/mobile/bundle/components/CreditCardForm/formStateMap.d.ts +1 -1
  320. package/mobile/bundle/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
  321. package/mobile/bundle/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
  322. package/mobile/bundle/components/CreditCardForm/getInitialFormState.d.ts +1 -1
  323. package/mobile/bundle/components/CreditCardForm/renderInputs.d.ts +2 -2
  324. package/mobile/bundle/components/CreditCardForm/renderStep.d.ts +1 -1
  325. package/mobile/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
  326. package/mobile/bundle/components/CreditForm/formStateMap.d.ts +1 -1
  327. package/mobile/bundle/components/CreditForm/getCalcData.d.ts +1 -1
  328. package/mobile/bundle/components/CreditForm/getInitialFormState.d.ts +1 -1
  329. package/mobile/bundle/components/CreditForm/renderInfo.d.ts +1 -1
  330. package/mobile/bundle/components/CreditForm/renderInputs.d.ts +2 -2
  331. package/mobile/bundle/components/CreditForm/renderStep.d.ts +1 -1
  332. package/mobile/bundle/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  333. package/mobile/bundle/components/CreditForm/utils.d.ts +1 -1
  334. package/mobile/bundle/hooks/useLeadFormData.d.ts +2 -2
  335. package/mobile/bundle/hooks/useRetailFormStore.d.ts +10 -10
  336. package/mobile/bundle/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
  337. package/mobile/bundle/services/retail/adaptors/getCalculatorData.d.ts +1 -1
  338. package/mobile/bundle/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
  339. package/mobile/bundle/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
  340. package/mobile/bundle/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
  341. package/mobile/bundle/services/retail/adaptors/getEmploymentData.d.ts +1 -1
  342. package/mobile/bundle/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
  343. package/mobile/bundle/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
  344. package/mobile/bundle/services/retail/external/types.d.ts +10 -0
  345. package/mobile/bundle/services/retail/external/utils.d.ts +2 -0
  346. package/mobile/bundle/services/retail/inputs.d.ts +75 -0
  347. package/mobile/bundle/{api/RetailAPI → services/retail}/model/LeadFormData.d.ts +1 -1
  348. package/mobile/bundle/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.d.ts +18 -18
  349. package/mobile/bundle/services/retail/model/RetailFormContent.d.ts +63 -0
  350. package/{dist/components/CreditForm → mobile/bundle/services/retail/utils}/calculateInputs.d.ts +2 -2
  351. package/mobile/bundle/services/retail/utils/getOrganizationParams.d.ts +17 -0
  352. package/mobile/bundle/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
  353. package/mobile/bundle/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
  354. package/mobile/bundle/ui-kit/DraftDialog/utils.d.ts +2 -2
  355. package/mobile/bundle/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
  356. package/mobile/bundle/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
  357. package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +6 -1
  358. package/mobile/bundle/ui-kit/FormField/SelectField.d.ts +2 -2
  359. package/mobile/bundle/ui-kit/FormField/getField.d.ts +2 -1
  360. package/mobile/bundle/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  361. package/mobile/bundle/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  362. package/mobile/bundle/ui-kit/FormField/getPremium.d.ts +1 -1
  363. package/mobile/bundle/ui-kit/FormField/validators.d.ts +1 -1
  364. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
  365. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  366. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  367. package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
  368. package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js +2 -1
  369. package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  370. package/mobile/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
  371. package/mobile/dist/components/ApplicationLeadForm/consents.js +0 -3
  372. package/mobile/dist/components/ApplicationLeadForm/consents.js.map +1 -1
  373. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  374. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +0 -2
  375. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  376. package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
  377. package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  378. package/mobile/dist/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
  379. package/mobile/dist/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
  380. package/mobile/dist/components/ApplicationLeadForm/renderInputs.d.ts +2 -0
  381. package/{dist/components/ApplicationForm → mobile/dist/components/ApplicationLeadForm}/renderInputs.js +4 -3
  382. package/mobile/dist/components/ApplicationLeadForm/renderInputs.js.map +1 -0
  383. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
  384. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +1 -1
  385. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  386. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
  387. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  388. package/mobile/dist/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
  389. package/mobile/dist/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
  390. package/mobile/dist/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
  391. package/mobile/dist/components/CreditCardForm/formStateMap.d.ts +1 -1
  392. package/mobile/dist/components/CreditCardForm/formStateMap.js +1 -1
  393. package/mobile/dist/components/CreditCardForm/formStateMap.js.map +1 -1
  394. package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
  395. package/mobile/dist/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
  396. package/mobile/dist/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -1
  397. package/mobile/dist/components/CreditCardForm/getInitialFormState.d.ts +1 -1
  398. package/mobile/dist/components/CreditCardForm/renderInputs.d.ts +2 -2
  399. package/mobile/dist/components/CreditCardForm/renderInputs.js +2 -1
  400. package/mobile/dist/components/CreditCardForm/renderInputs.js.map +1 -1
  401. package/mobile/dist/components/CreditCardForm/renderStep.d.ts +1 -1
  402. package/mobile/dist/components/CreditCardForm/renderStep.js +1 -1
  403. package/mobile/dist/components/CreditCardForm/renderStep.js.map +1 -1
  404. package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
  405. package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js +1 -1
  406. package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  407. package/mobile/dist/components/CreditForm/formStateMap.d.ts +1 -1
  408. package/mobile/dist/components/CreditForm/getCalcData.d.ts +1 -1
  409. package/mobile/dist/components/CreditForm/getInitialFormState.d.ts +1 -1
  410. package/mobile/dist/components/CreditForm/renderInfo.d.ts +1 -1
  411. package/mobile/dist/components/CreditForm/renderInfo.js.map +1 -1
  412. package/mobile/dist/components/CreditForm/renderInputs.d.ts +2 -2
  413. package/mobile/dist/components/CreditForm/renderInputs.js +2 -1
  414. package/mobile/dist/components/CreditForm/renderInputs.js.map +1 -1
  415. package/mobile/dist/components/CreditForm/renderStep.d.ts +1 -1
  416. package/mobile/dist/components/CreditForm/renderStep.js +1 -1
  417. package/mobile/dist/components/CreditForm/renderStep.js.map +1 -1
  418. package/mobile/dist/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  419. package/mobile/dist/components/CreditForm/useCreditFormAPI.js +1 -1
  420. package/mobile/dist/components/CreditForm/useCreditFormAPI.js.map +1 -1
  421. package/mobile/dist/components/CreditForm/utils.d.ts +1 -1
  422. package/mobile/dist/hooks/useCreditFormStore.d.ts +0 -0
  423. package/mobile/dist/hooks/useCreditFormStore.js +1 -0
  424. package/mobile/dist/hooks/useCreditFormStore.js.map +1 -0
  425. package/mobile/dist/hooks/useLeadFormData.d.ts +2 -2
  426. package/mobile/dist/hooks/useLeadFormData.js.map +1 -1
  427. package/mobile/dist/hooks/useRetailFormStore.d.ts +10 -10
  428. package/mobile/dist/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
  429. package/mobile/dist/services/retail/adaptors/getCalculatorData.d.ts +1 -1
  430. package/mobile/dist/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
  431. package/mobile/dist/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
  432. package/mobile/dist/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
  433. package/mobile/dist/services/retail/adaptors/getEmploymentData.d.ts +1 -1
  434. package/mobile/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
  435. package/mobile/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  436. package/mobile/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  437. package/mobile/dist/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
  438. package/mobile/dist/services/retail/external/types.d.ts +10 -0
  439. package/mobile/dist/services/retail/external/types.js +2 -0
  440. package/mobile/dist/services/retail/external/types.js.map +1 -0
  441. package/mobile/dist/services/retail/external/utils.d.ts +2 -0
  442. package/mobile/dist/services/retail/external/utils.js +7 -0
  443. package/mobile/dist/services/retail/external/utils.js.map +1 -0
  444. package/mobile/dist/services/retail/inputs.d.ts +75 -0
  445. package/mobile/dist/services/retail/inputs.js +137 -0
  446. package/mobile/dist/services/retail/inputs.js.map +1 -0
  447. package/mobile/dist/services/retail/model/EOrganizationActivityTypes.js.map +1 -0
  448. package/mobile/dist/services/retail/model/LeadFormData.d.ts +7 -0
  449. package/mobile/dist/services/retail/model/LeadFormData.js.map +1 -0
  450. package/mobile/dist/services/retail/model/LeadFormState.d.ts +146 -0
  451. package/mobile/dist/services/retail/model/LeadFormState.js.map +1 -0
  452. package/mobile/dist/services/retail/model/RetailFormContent.d.ts +63 -0
  453. package/mobile/dist/services/retail/model/RetailFormContent.js +4 -0
  454. package/mobile/dist/services/retail/model/RetailFormContent.js.map +1 -0
  455. package/mobile/dist/services/retail/utils/calculateInputs.d.ts +5 -0
  456. package/mobile/dist/services/retail/utils/calculateInputs.js.map +1 -0
  457. package/mobile/dist/services/retail/utils/getOrganizationParams.d.ts +17 -0
  458. package/mobile/dist/services/retail/utils/getOrganizationParams.js.map +1 -0
  459. package/mobile/dist/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
  460. package/mobile/dist/{api/RetailAPI → services/retail}/utils/getUpdateUserProfile.js +3 -4
  461. package/mobile/dist/services/retail/utils/getUpdateUserProfile.js.map +1 -0
  462. package/mobile/dist/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
  463. package/mobile/dist/ui-kit/DraftDialog/utils.d.ts +2 -2
  464. package/mobile/dist/ui-kit/DraftDialog/utils.js.map +1 -1
  465. package/mobile/dist/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
  466. package/mobile/dist/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
  467. package/mobile/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
  468. package/mobile/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
  469. package/mobile/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
  470. package/mobile/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js +10 -0
  471. package/mobile/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js.map +1 -0
  472. package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +6 -1
  473. package/mobile/dist/ui-kit/FormField/SelectField.d.ts +2 -2
  474. package/mobile/dist/ui-kit/FormField/SelectField.js.map +1 -1
  475. package/mobile/dist/ui-kit/FormField/getField.d.ts +2 -1
  476. package/mobile/dist/ui-kit/FormField/getField.js +4 -131
  477. package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
  478. package/mobile/dist/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  479. package/mobile/dist/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  480. package/mobile/dist/ui-kit/FormField/getObjectValidator.js +70 -60
  481. package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  482. package/mobile/dist/ui-kit/FormField/getPremium.d.ts +1 -1
  483. package/mobile/dist/ui-kit/FormField/updateOrganizationFields.js +1 -1
  484. package/mobile/dist/ui-kit/FormField/updateOrganizationFields.js.map +1 -1
  485. package/mobile/dist/ui-kit/FormField/validators.d.ts +1 -1
  486. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
  487. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  488. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
  489. package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
  490. package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js +2 -1
  491. package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  492. package/mobile/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
  493. package/mobile/lib/components/ApplicationLeadForm/consents.js +0 -3
  494. package/mobile/lib/components/ApplicationLeadForm/consents.js.map +1 -1
  495. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  496. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +0 -2
  497. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  498. package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
  499. package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
  500. package/mobile/lib/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
  501. package/mobile/lib/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
  502. package/mobile/lib/components/ApplicationLeadForm/renderInputs.d.ts +2 -0
  503. package/mobile/lib/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.js +4 -3
  504. package/mobile/lib/components/ApplicationLeadForm/renderInputs.js.map +1 -0
  505. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
  506. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +1 -1
  507. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  508. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
  509. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  510. package/mobile/lib/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
  511. package/mobile/lib/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
  512. package/mobile/lib/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
  513. package/mobile/lib/components/CreditCardForm/formStateMap.d.ts +1 -1
  514. package/mobile/lib/components/CreditCardForm/formStateMap.js +1 -1
  515. package/mobile/lib/components/CreditCardForm/formStateMap.js.map +1 -1
  516. package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
  517. package/mobile/lib/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
  518. package/mobile/lib/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -1
  519. package/mobile/lib/components/CreditCardForm/getInitialFormState.d.ts +1 -1
  520. package/mobile/lib/components/CreditCardForm/renderInputs.d.ts +2 -2
  521. package/mobile/lib/components/CreditCardForm/renderInputs.js +2 -1
  522. package/mobile/lib/components/CreditCardForm/renderInputs.js.map +1 -1
  523. package/mobile/lib/components/CreditCardForm/renderStep.d.ts +1 -1
  524. package/mobile/lib/components/CreditCardForm/renderStep.js +1 -1
  525. package/mobile/lib/components/CreditCardForm/renderStep.js.map +1 -1
  526. package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
  527. package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js +1 -1
  528. package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  529. package/mobile/lib/components/CreditForm/formStateMap.d.ts +1 -1
  530. package/mobile/lib/components/CreditForm/getCalcData.d.ts +1 -1
  531. package/mobile/lib/components/CreditForm/getInitialFormState.d.ts +1 -1
  532. package/mobile/lib/components/CreditForm/renderInfo.d.ts +1 -1
  533. package/mobile/lib/components/CreditForm/renderInfo.js.map +1 -1
  534. package/mobile/lib/components/CreditForm/renderInputs.d.ts +2 -2
  535. package/mobile/lib/components/CreditForm/renderInputs.js +2 -1
  536. package/mobile/lib/components/CreditForm/renderInputs.js.map +1 -1
  537. package/mobile/lib/components/CreditForm/renderStep.d.ts +1 -1
  538. package/mobile/lib/components/CreditForm/renderStep.js +1 -1
  539. package/mobile/lib/components/CreditForm/renderStep.js.map +1 -1
  540. package/mobile/lib/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  541. package/mobile/lib/components/CreditForm/useCreditFormAPI.js +1 -1
  542. package/mobile/lib/components/CreditForm/useCreditFormAPI.js.map +1 -1
  543. package/mobile/lib/components/CreditForm/utils.d.ts +1 -1
  544. package/mobile/lib/hooks/useCreditFormStore.d.ts +0 -0
  545. package/mobile/lib/hooks/useCreditFormStore.js +1 -0
  546. package/mobile/lib/hooks/useCreditFormStore.js.map +1 -0
  547. package/mobile/lib/hooks/useLeadFormData.d.ts +2 -2
  548. package/mobile/lib/hooks/useLeadFormData.js.map +1 -1
  549. package/mobile/lib/hooks/useRetailFormStore.d.ts +10 -10
  550. package/mobile/lib/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
  551. package/mobile/lib/services/retail/adaptors/getCalculatorData.d.ts +1 -1
  552. package/mobile/lib/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
  553. package/mobile/lib/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
  554. package/mobile/lib/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
  555. package/mobile/lib/services/retail/adaptors/getEmploymentData.d.ts +1 -1
  556. package/mobile/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
  557. package/mobile/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
  558. package/mobile/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
  559. package/mobile/lib/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
  560. package/mobile/lib/services/retail/external/types.d.ts +10 -0
  561. package/mobile/lib/services/retail/external/types.js +2 -0
  562. package/mobile/lib/services/retail/external/types.js.map +1 -0
  563. package/mobile/lib/services/retail/external/utils.d.ts +2 -0
  564. package/mobile/lib/services/retail/external/utils.js +3 -0
  565. package/mobile/lib/services/retail/external/utils.js.map +1 -0
  566. package/mobile/lib/services/retail/inputs.d.ts +75 -0
  567. package/mobile/lib/services/retail/inputs.js +135 -0
  568. package/mobile/lib/services/retail/inputs.js.map +1 -0
  569. package/mobile/lib/services/retail/model/EOrganizationActivityTypes.js.map +1 -0
  570. package/mobile/lib/services/retail/model/LeadFormData.d.ts +7 -0
  571. package/mobile/lib/services/retail/model/LeadFormData.js.map +1 -0
  572. package/mobile/lib/services/retail/model/LeadFormState.d.ts +146 -0
  573. package/mobile/lib/services/retail/model/LeadFormState.js.map +1 -0
  574. package/mobile/lib/services/retail/model/RetailFormContent.d.ts +63 -0
  575. package/mobile/lib/services/retail/model/RetailFormContent.js +4 -0
  576. package/mobile/lib/services/retail/model/RetailFormContent.js.map +1 -0
  577. package/mobile/lib/services/retail/utils/calculateInputs.d.ts +5 -0
  578. package/mobile/lib/services/retail/utils/calculateInputs.js.map +1 -0
  579. package/mobile/lib/services/retail/utils/getOrganizationParams.d.ts +17 -0
  580. package/mobile/lib/services/retail/utils/getOrganizationParams.js.map +1 -0
  581. package/mobile/lib/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
  582. package/{lib/api/RetailAPI → mobile/lib/services/retail}/utils/getUpdateUserProfile.js +1 -2
  583. package/mobile/lib/services/retail/utils/getUpdateUserProfile.js.map +1 -0
  584. package/mobile/lib/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
  585. package/mobile/lib/ui-kit/DraftDialog/utils.d.ts +2 -2
  586. package/mobile/lib/ui-kit/DraftDialog/utils.js.map +1 -1
  587. package/mobile/lib/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
  588. package/mobile/lib/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
  589. package/mobile/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
  590. package/mobile/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
  591. package/mobile/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
  592. package/mobile/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js +8 -0
  593. package/mobile/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js.map +1 -0
  594. package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +6 -1
  595. package/mobile/lib/ui-kit/FormField/SelectField.d.ts +2 -2
  596. package/mobile/lib/ui-kit/FormField/SelectField.js.map +1 -1
  597. package/mobile/lib/ui-kit/FormField/getField.d.ts +2 -1
  598. package/mobile/lib/ui-kit/FormField/getField.js +4 -131
  599. package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
  600. package/mobile/lib/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  601. package/mobile/lib/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  602. package/mobile/lib/ui-kit/FormField/getObjectValidator.js +71 -61
  603. package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  604. package/mobile/lib/ui-kit/FormField/getPremium.d.ts +1 -1
  605. package/mobile/lib/ui-kit/FormField/updateOrganizationFields.js +1 -1
  606. package/mobile/lib/ui-kit/FormField/updateOrganizationFields.js.map +1 -1
  607. package/mobile/lib/ui-kit/FormField/validators.d.ts +1 -1
  608. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +1 -1
  609. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -10
  610. package/mobile/src/components/ApplicationLeadForm/GroupedConsents.tsx +14 -4
  611. package/mobile/src/components/ApplicationLeadForm/consents.ts +2 -5
  612. package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +1 -3
  613. package/mobile/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +1 -1
  614. package/mobile/src/components/ApplicationLeadForm/pasreEsiaProfile.ts +1 -1
  615. package/mobile/src/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.tsx +6 -8
  616. package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -2
  617. package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -1
  618. package/mobile/src/components/ApplicationLeadForm/useLeadFormStore.ts +1 -1
  619. package/mobile/src/components/ApplicationLeadForm/useSaveUserData.ts +1 -1
  620. package/mobile/src/components/CreditCardForm/CreditCardFormContent.ts +1 -1
  621. package/mobile/src/components/CreditCardForm/formStateMap.tsx +2 -2
  622. package/mobile/src/components/CreditCardForm/getCreditCardFormTaskData.ts +1 -1
  623. package/mobile/src/components/CreditCardForm/getDeliveryCreditCardData.ts +1 -1
  624. package/mobile/src/components/CreditCardForm/getInitialFormState.tsx +1 -1
  625. package/mobile/src/components/CreditCardForm/renderInputs.tsx +4 -3
  626. package/mobile/src/components/CreditCardForm/renderStep.tsx +6 -2
  627. package/mobile/src/components/CreditCardForm/useCreditCardFormAPI.tsx +2 -2
  628. package/mobile/src/components/CreditForm/CreditFormStep.tsx +1 -1
  629. package/mobile/src/components/CreditForm/formStateMap.tsx +1 -1
  630. package/mobile/src/components/CreditForm/getCalcData.ts +1 -1
  631. package/mobile/src/components/CreditForm/getInitialFormState.tsx +1 -1
  632. package/mobile/src/components/CreditForm/renderInfo.tsx +1 -1
  633. package/mobile/src/components/CreditForm/renderInputs.tsx +4 -3
  634. package/mobile/src/components/CreditForm/renderStep.tsx +2 -2
  635. package/mobile/src/components/CreditForm/useCreditFormAPI.tsx +3 -3
  636. package/mobile/src/components/CreditForm/utils.ts +1 -1
  637. package/mobile/src/hooks/useCreditFormStore.tsx +0 -0
  638. package/mobile/src/hooks/useLeadFormData.ts +4 -4
  639. package/mobile/src/hooks/useRetailFormStore.tsx +5 -5
  640. package/mobile/src/services/retail/adaptors/getAdditionalInfoData.ts +1 -1
  641. package/mobile/src/services/retail/adaptors/getCalculatorData.ts +1 -1
  642. package/mobile/src/services/retail/adaptors/getCardOptionsData.tsx +1 -1
  643. package/mobile/src/services/retail/adaptors/getCreditFormTaskData.ts +1 -1
  644. package/mobile/src/services/retail/adaptors/getDeliveryCreditData.ts +1 -1
  645. package/mobile/src/services/retail/adaptors/getEmploymentData.tsx +1 -1
  646. package/mobile/src/services/retail/adaptors/getFamilyStatusAndIncomeData.ts +2 -2
  647. package/mobile/src/services/retail/adaptors/getPersonalInfoData.tsx +1 -1
  648. package/mobile/src/services/retail/external/types.ts +10 -0
  649. package/mobile/src/services/retail/external/utils.ts +2 -0
  650. package/mobile/src/services/retail/inputs.tsx +140 -0
  651. package/mobile/src/{api/RetailAPI → services/retail}/model/LeadFormData.ts +1 -1
  652. package/mobile/src/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.ts +20 -18
  653. package/mobile/src/services/retail/model/RetailFormContent.ts +101 -0
  654. package/mobile/src/{components/CreditCardForm → services/retail/utils}/calculateInputs.ts +4 -4
  655. package/mobile/src/{api/RetailAPI → services/retail}/utils/getOrganizationParams.ts +6 -6
  656. package/mobile/src/{api/RetailAPI → services/retail}/utils/getUpdateUserProfile.ts +3 -4
  657. package/mobile/src/ui-kit/DraftDialog/parseDraftTask.ts +1 -1
  658. package/mobile/src/ui-kit/DraftDialog/utils.ts +2 -2
  659. package/mobile/src/ui-kit/FormField/CustomFieldProps.ts +2 -2
  660. package/mobile/src/ui-kit/FormField/Fields/AddressBranchField.tsx +1 -1
  661. package/mobile/src/ui-kit/FormField/Fields/DesiredMeetingDateField.tsx +5 -1
  662. package/mobile/src/ui-kit/FormField/Fields/EmailField.tsx +1 -1
  663. package/mobile/src/ui-kit/FormField/Fields/PartnerCommentsField.tsx +1 -1
  664. package/mobile/src/ui-kit/FormField/Fields/consentToReceiveMaterialsField.tsx +14 -0
  665. package/mobile/src/ui-kit/FormField/NameFieldDef.ts +76 -63
  666. package/mobile/src/ui-kit/FormField/SelectField.tsx +3 -3
  667. package/mobile/src/ui-kit/FormField/getField.tsx +11 -135
  668. package/mobile/src/ui-kit/FormField/getNamesFromInput.tsx +1 -1
  669. package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +75 -62
  670. package/mobile/src/ui-kit/FormField/getPremium.tsx +1 -1
  671. package/mobile/src/ui-kit/FormField/updateOrganizationFields.ts +3 -3
  672. package/mobile/src/ui-kit/FormField/validators.ts +1 -1
  673. package/package.json +1 -1
  674. package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +1 -1
  675. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -10
  676. package/src/components/ApplicationLeadForm/GroupedConsents.tsx +14 -4
  677. package/src/components/ApplicationLeadForm/consents.ts +2 -5
  678. package/src/components/ApplicationLeadForm/getInitialFormState.tsx +1 -3
  679. package/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +1 -1
  680. package/src/components/ApplicationLeadForm/pasreEsiaProfile.ts +1 -1
  681. package/src/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.tsx +6 -8
  682. package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -2
  683. package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -1
  684. package/src/components/ApplicationLeadForm/useLeadFormStore.ts +1 -1
  685. package/src/components/ApplicationLeadForm/useSaveUserData.ts +1 -1
  686. package/src/components/CreditCardForm/CreditCardFormContent.ts +1 -1
  687. package/src/components/CreditCardForm/formStateMap.tsx +2 -2
  688. package/src/components/CreditCardForm/getCreditCardFormTaskData.ts +1 -1
  689. package/src/components/CreditCardForm/getDeliveryCreditCardData.ts +1 -1
  690. package/src/components/CreditCardForm/getInitialFormState.tsx +1 -1
  691. package/src/components/CreditCardForm/renderInputs.tsx +4 -3
  692. package/src/components/CreditCardForm/renderStep.tsx +6 -2
  693. package/src/components/CreditCardForm/useCreditCardFormAPI.tsx +2 -2
  694. package/src/components/CreditForm/CreditFormStep.tsx +1 -1
  695. package/src/components/CreditForm/formStateMap.tsx +1 -1
  696. package/src/components/CreditForm/getCalcData.ts +1 -1
  697. package/src/components/CreditForm/getInitialFormState.tsx +1 -1
  698. package/src/components/CreditForm/renderInfo.tsx +1 -1
  699. package/src/components/CreditForm/renderInputs.tsx +4 -3
  700. package/src/components/CreditForm/renderStep.tsx +2 -2
  701. package/src/components/CreditForm/useCreditFormAPI.tsx +3 -3
  702. package/src/components/CreditForm/utils.ts +1 -1
  703. package/src/hooks/useCreditFormStore.tsx +0 -0
  704. package/src/hooks/useLeadFormData.ts +4 -4
  705. package/src/hooks/useRetailFormStore.tsx +5 -5
  706. package/src/icons/IconName.ts +4 -4
  707. package/src/services/retail/adaptors/getAdditionalInfoData.ts +1 -1
  708. package/src/services/retail/adaptors/getCalculatorData.ts +1 -1
  709. package/src/services/retail/adaptors/getCardOptionsData.tsx +1 -1
  710. package/src/services/retail/adaptors/getCreditFormTaskData.ts +1 -1
  711. package/src/services/retail/adaptors/getDeliveryCreditData.ts +1 -1
  712. package/src/services/retail/adaptors/getEmploymentData.tsx +1 -1
  713. package/src/services/retail/adaptors/getFamilyStatusAndIncomeData.ts +2 -2
  714. package/src/services/retail/adaptors/getPersonalInfoData.tsx +1 -1
  715. package/src/services/retail/external/types.ts +10 -0
  716. package/src/services/retail/external/utils.ts +2 -0
  717. package/src/services/retail/inputs.tsx +140 -0
  718. package/src/{api/RetailAPI → services/retail}/model/LeadFormData.ts +1 -1
  719. package/src/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.ts +20 -18
  720. package/src/services/retail/model/RetailFormContent.ts +101 -0
  721. package/{mobile/src/components/CreditForm → src/services/retail/utils}/calculateInputs.ts +4 -4
  722. package/src/{api/RetailAPI → services/retail}/utils/getOrganizationParams.ts +6 -6
  723. package/src/{api/RetailAPI → services/retail}/utils/getUpdateUserProfile.ts +3 -4
  724. package/src/ui-kit/DraftDialog/parseDraftTask.ts +1 -1
  725. package/src/ui-kit/DraftDialog/utils.ts +2 -2
  726. package/src/ui-kit/FormField/CustomFieldProps.ts +2 -2
  727. package/src/ui-kit/FormField/Fields/AddressBranchField.tsx +1 -1
  728. package/src/ui-kit/FormField/Fields/DesiredMeetingDateField.tsx +5 -1
  729. package/src/ui-kit/FormField/Fields/EmailField.tsx +1 -1
  730. package/src/ui-kit/FormField/Fields/PartnerCommentsField.tsx +1 -1
  731. package/src/ui-kit/FormField/Fields/consentToReceiveMaterialsField.tsx +14 -0
  732. package/src/ui-kit/FormField/NameFieldDef.ts +76 -63
  733. package/src/ui-kit/FormField/SelectField.tsx +3 -3
  734. package/src/ui-kit/FormField/getField.tsx +11 -135
  735. package/src/ui-kit/FormField/getNamesFromInput.tsx +1 -1
  736. package/src/ui-kit/FormField/getObjectValidator.tsx +75 -62
  737. package/src/ui-kit/FormField/getPremium.tsx +1 -1
  738. package/src/ui-kit/FormField/updateOrganizationFields.ts +3 -3
  739. package/src/ui-kit/FormField/validators.ts +1 -1
  740. package/bundle/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
  741. package/bundle/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
  742. package/dist/api/RetailAPI/model/EOrganizationActivityTypes.js.map +0 -1
  743. package/dist/api/RetailAPI/model/LeadFormData.js.map +0 -1
  744. package/dist/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
  745. package/dist/api/RetailAPI/utils/getOrganizationParams.js.map +0 -1
  746. package/dist/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
  747. package/dist/api/RetailAPI/utils/getUpdateUserProfile.js.map +0 -1
  748. package/dist/components/ApplicationForm/renderInputs.js.map +0 -1
  749. package/dist/components/ApplicationLeadForm/LeadFormState.js.map +0 -1
  750. package/dist/components/CreditCardForm/calculateInputs.js.map +0 -1
  751. package/dist/components/CreditForm/calculateInputs.js.map +0 -1
  752. package/lib/api/RetailAPI/model/EOrganizationActivityTypes.js.map +0 -1
  753. package/lib/api/RetailAPI/model/LeadFormData.js.map +0 -1
  754. package/lib/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
  755. package/lib/api/RetailAPI/utils/getOrganizationParams.js.map +0 -1
  756. package/lib/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
  757. package/lib/api/RetailAPI/utils/getUpdateUserProfile.js.map +0 -1
  758. package/lib/components/ApplicationForm/renderInputs.js.map +0 -1
  759. package/lib/components/ApplicationLeadForm/LeadFormState.js.map +0 -1
  760. package/lib/components/CreditCardForm/calculateInputs.d.ts +0 -5
  761. package/lib/components/CreditCardForm/calculateInputs.js.map +0 -1
  762. package/lib/components/CreditForm/calculateInputs.d.ts +0 -5
  763. package/lib/components/CreditForm/calculateInputs.js.map +0 -1
  764. package/mobile/bundle/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
  765. package/mobile/bundle/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
  766. package/mobile/bundle/components/CreditCardForm/calculateInputs.d.ts +0 -5
  767. package/mobile/bundle/components/CreditForm/calculateInputs.d.ts +0 -5
  768. package/mobile/dist/api/RetailAPI/model/EOrganizationActivityTypes.js.map +0 -1
  769. package/mobile/dist/api/RetailAPI/model/LeadFormData.d.ts +0 -7
  770. package/mobile/dist/api/RetailAPI/model/LeadFormData.js.map +0 -1
  771. package/mobile/dist/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
  772. package/mobile/dist/api/RetailAPI/utils/getOrganizationParams.js.map +0 -1
  773. package/mobile/dist/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
  774. package/mobile/dist/api/RetailAPI/utils/getUpdateUserProfile.js.map +0 -1
  775. package/mobile/dist/components/ApplicationForm/renderInputs.d.ts +0 -2
  776. package/mobile/dist/components/ApplicationForm/renderInputs.js.map +0 -1
  777. package/mobile/dist/components/ApplicationLeadForm/LeadFormState.d.ts +0 -146
  778. package/mobile/dist/components/ApplicationLeadForm/LeadFormState.js.map +0 -1
  779. package/mobile/dist/components/CreditCardForm/calculateInputs.d.ts +0 -5
  780. package/mobile/dist/components/CreditCardForm/calculateInputs.js +0 -31
  781. package/mobile/dist/components/CreditCardForm/calculateInputs.js.map +0 -1
  782. package/mobile/dist/components/CreditForm/calculateInputs.d.ts +0 -5
  783. package/mobile/dist/components/CreditForm/calculateInputs.js +0 -31
  784. package/mobile/dist/components/CreditForm/calculateInputs.js.map +0 -1
  785. package/mobile/lib/api/RetailAPI/model/EOrganizationActivityTypes.js.map +0 -1
  786. package/mobile/lib/api/RetailAPI/model/LeadFormData.d.ts +0 -7
  787. package/mobile/lib/api/RetailAPI/model/LeadFormData.js.map +0 -1
  788. package/mobile/lib/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
  789. package/mobile/lib/api/RetailAPI/utils/getOrganizationParams.js.map +0 -1
  790. package/mobile/lib/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
  791. package/mobile/lib/api/RetailAPI/utils/getUpdateUserProfile.js.map +0 -1
  792. package/mobile/lib/components/ApplicationForm/renderInputs.d.ts +0 -2
  793. package/mobile/lib/components/ApplicationForm/renderInputs.js.map +0 -1
  794. package/mobile/lib/components/ApplicationLeadForm/LeadFormState.d.ts +0 -146
  795. package/mobile/lib/components/ApplicationLeadForm/LeadFormState.js.map +0 -1
  796. package/mobile/lib/components/CreditCardForm/calculateInputs.d.ts +0 -5
  797. package/mobile/lib/components/CreditCardForm/calculateInputs.js +0 -27
  798. package/mobile/lib/components/CreditCardForm/calculateInputs.js.map +0 -1
  799. package/mobile/lib/components/CreditForm/calculateInputs.d.ts +0 -5
  800. package/mobile/lib/components/CreditForm/calculateInputs.js +0 -27
  801. package/mobile/lib/components/CreditForm/calculateInputs.js.map +0 -1
  802. package/src/components/CreditCardForm/calculateInputs.ts +0 -51
  803. package/src/components/CreditForm/calculateInputs.ts +0 -51
  804. /package/bundle/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
  805. /package/dist/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
  806. /package/dist/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.js +0 -0
  807. /package/dist/{api/RetailAPI → services/retail}/model/LeadFormData.js +0 -0
  808. /package/dist/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.js +0 -0
  809. /package/dist/{components/CreditCardForm → services/retail/utils}/calculateInputs.js +0 -0
  810. /package/dist/{api/RetailAPI → services/retail}/utils/getOrganizationParams.js +0 -0
  811. /package/lib/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
  812. /package/lib/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.js +0 -0
  813. /package/lib/{api/RetailAPI → services/retail}/model/LeadFormData.js +0 -0
  814. /package/lib/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.js +0 -0
  815. /package/lib/{components/CreditCardForm → services/retail/utils}/calculateInputs.js +0 -0
  816. /package/lib/{api/RetailAPI → services/retail}/utils/getOrganizationParams.js +0 -0
  817. /package/mobile/bundle/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
  818. /package/mobile/dist/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
  819. /package/mobile/dist/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.js +0 -0
  820. /package/mobile/dist/{api/RetailAPI → services/retail}/model/LeadFormData.js +0 -0
  821. /package/mobile/dist/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.js +0 -0
  822. /package/{dist/components/CreditForm → mobile/dist/services/retail/utils}/calculateInputs.js +0 -0
  823. /package/mobile/dist/{api/RetailAPI → services/retail}/utils/getOrganizationParams.js +0 -0
  824. /package/mobile/lib/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
  825. /package/mobile/lib/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.js +0 -0
  826. /package/mobile/lib/{api/RetailAPI → services/retail}/model/LeadFormData.js +0 -0
  827. /package/mobile/lib/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.js +0 -0
  828. /package/{lib/components/CreditForm → mobile/lib/services/retail/utils}/calculateInputs.js +0 -0
  829. /package/mobile/lib/{api/RetailAPI → services/retail}/utils/getOrganizationParams.js +0 -0
  830. /package/mobile/src/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.ts +0 -0
  831. /package/src/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.ts +0 -0
@@ -1,11 +1,8 @@
1
- import { type FormFieldRegisterer } from '../../hooks/useForm';
2
1
  import { type LabelProps, type TextProps, type TitleProps } from '../../model/HeadlineType';
3
2
  import { type InputSectionsType } from '../../model/InputSectionsType';
4
3
  import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
5
4
  import { type NameFieldDef } from '../../ui-kit/FormField/NameFieldDef';
6
5
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
7
- import { type TypeFormFieldDef } from '../ApplicationForm/ApplicationFormContent';
8
- import { type LeadFormState } from './LeadFormState';
9
6
  interface Required {
10
7
  /** @title Обязательно для заполнения */
11
8
  required?: boolean;
@@ -75,10 +72,4 @@ export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps &
75
72
  /** @title адресс следующей страницы заявки */
76
73
  nextStepLink?: string;
77
74
  };
78
- /** @hidden */
79
- export interface GroupedConsentsProps {
80
- inputs?: FieldDef[];
81
- typeForm?: TypeFormFieldDef;
82
- field: FormFieldRegisterer<LeadFormState>;
83
- }
84
75
  export {};
@@ -1,2 +1,9 @@
1
- import { type GroupedConsentsProps } from './ApplicationLeadFormContent';
1
+ import { type FormFieldRegisterer } from '../../services/retail/external/types';
2
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
3
+ import { type FieldDef, type TypeFormFieldDef } from '../../services/retail/model/RetailFormContent';
4
+ export interface GroupedConsentsProps {
5
+ inputs?: FieldDef[];
6
+ typeForm?: TypeFormFieldDef;
7
+ field: FormFieldRegisterer<LeadFormState>;
8
+ }
2
9
  export declare const GroupedConsents: import("@redneckz/uni-jsx").UNIComponent<GroupedConsentsProps, any, any>;
@@ -1,7 +1,7 @@
1
- import { type FormConsents } from './LeadFormState';
1
+ import { type FormRetailConsents } from '../../services/retail/model/LeadFormState';
2
2
  interface ConsentData {
3
3
  text: string;
4
4
  docId?: number;
5
5
  }
6
- export declare const CONSENTS: Record<keyof FormConsents, ConsentData>;
6
+ export declare const CONSENTS: Record<keyof FormRetailConsents, ConsentData>;
7
7
  export {};
@@ -1,3 +1,3 @@
1
+ import type { LeadFormState } from '../../services/retail/model/LeadFormState';
1
2
  import { type FieldDef } from './ApplicationLeadFormContent';
2
- import type { LeadFormState } from './LeadFormState';
3
3
  export declare const getInitialFormState: (inputs: FieldDef[], savedForm: LeadFormState | null) => LeadFormState;
@@ -1,5 +1,5 @@
1
1
  import { type UpdateUserTaskBody } from '../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from './LeadFormState';
2
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
3
3
  declare type getLeadFormTaskDataProps = {
4
4
  participantId: number;
5
5
  taskId: number;
@@ -1,3 +1,3 @@
1
1
  import { type UpdateProfileEsiaResponse } from '../../api/RetailAPI/updateProfileEsia';
2
- import { type LeadFormState } from './LeadFormState';
2
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
3
3
  export declare const parseEsiaProfile: (esiaProfile: UpdateProfileEsiaResponse) => LeadFormState;
@@ -1,2 +1,2 @@
1
- import type { GroupedConsentsProps } from '../ApplicationLeadForm/ApplicationLeadFormContent';
1
+ import { type GroupedConsentsProps } from './GroupedConsents';
2
2
  export declare const renderInputs: ({ field, typeForm, inputs }: GroupedConsentsProps) => any;
@@ -1,5 +1,5 @@
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
1
2
  import { type FieldDef } from './ApplicationLeadFormContent';
2
- import { type LeadFormState } from './LeadFormState';
3
3
  interface ApplicationLeadApiProps {
4
4
  inputs: FieldDef[];
5
5
  programId: string;
@@ -1,5 +1,5 @@
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
1
2
  import { type FieldDef } from './ApplicationLeadFormContent';
2
- import { type LeadFormState } from './LeadFormState';
3
3
  export declare const useInitApplicationLead: (inputs: FieldDef[], nextStepLink: string) => [LeadFormState, {
4
4
  isLoading: boolean;
5
5
  }];
@@ -1,4 +1,4 @@
1
- import { type LeadFormState } from './LeadFormState';
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
2
2
  export interface LeadFormStoreSlice {
3
3
  leadForm: LeadFormState;
4
4
  taskId: number;
@@ -1,4 +1,4 @@
1
- import { type LeadFormState } from './LeadFormState';
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
2
2
  export interface UserData {
3
3
  participantId: number;
4
4
  taskId: number;
@@ -1,10 +1,10 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
2
  import { type TitleProps } from '../../model/HeadlineType';
3
3
  import { type InputSectionsType } from '../../model/InputSectionsType';
4
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
4
5
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
6
  import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
6
7
  import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
7
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
8
8
  /** @hidden */
9
9
  export interface RenderInputsProps {
10
10
  inputs?: FieldDef[];
@@ -1,2 +1,2 @@
1
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
2
2
  export declare const formStateMap: Partial<LeadFormState>[];
@@ -1,5 +1,5 @@
1
1
  import { type UpdateUserTaskBody } from '../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
3
3
  declare type getCreditCardFormTaskDataProps = {
4
4
  participantId: number;
5
5
  taskId: number;
@@ -1,4 +1,4 @@
1
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
2
2
  export declare const getDeliveryData: (formData: LeadFormState) => {
3
3
  courierDeliveryFlg: true;
4
4
  deliveryDate: string;
@@ -1,2 +1,2 @@
1
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
2
2
  export declare const getInitialFormState: (step: number, formState: LeadFormState | null) => LeadFormState;
@@ -1,6 +1,6 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
- import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
3
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
3
+ import { type FieldDef } from '../../services/retail/model/RetailFormContent';
4
4
  export interface RenderInputsProps {
5
5
  inputs: FieldDef[];
6
6
  field: FormFieldRegisterer<LeadFormState>;
@@ -1,5 +1,5 @@
1
1
  import { type FormFieldRegisterer, type FormOperatorProps } from '../../hooks/useForm';
2
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
3
3
  import { type CreditCardSectionsProps } from './CreditCardFormContent';
4
4
  export declare type CustomSubmit = FormOperatorProps<LeadFormState>['onSubmit'];
5
5
  export interface StepProps {
@@ -1,5 +1,5 @@
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
1
2
  import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
2
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
3
3
  interface CreditFormApiProps {
4
4
  step: number;
5
5
  inputs: FieldDef[];
@@ -1,2 +1,2 @@
1
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
2
2
  export declare const formStateMap: Partial<LeadFormState>[];
@@ -1,3 +1,3 @@
1
1
  import { type UpdateUserTaskBody } from '../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
3
3
  export declare const getCalcData: (formData: LeadFormState) => Pick<UpdateUserTaskBody['task'], 'loanAmount' | 'creditPeriod' | 'paymentTypeCd'>;
@@ -1,2 +1,2 @@
1
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
2
2
  export declare const getInitialFormState: (step: number, formState: LeadFormState | null) => LeadFormState;
@@ -1,2 +1,2 @@
1
- import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
1
+ import { type FieldDef } from '../../services/retail/model/RetailFormContent';
2
2
  export declare const renderInfo: (inputs?: FieldDef[]) => any[] | null;
@@ -1,6 +1,6 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
- import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
3
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
3
+ import { type FieldDef } from '../../services/retail/model/RetailFormContent';
4
4
  export interface RenderInputsProps {
5
5
  inputs: FieldDef[];
6
6
  field: FormFieldRegisterer<LeadFormState>;
@@ -1,6 +1,6 @@
1
1
  import { type FormFieldRegisterer, type FormOperatorProps } from '../../hooks/useForm';
2
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
2
3
  import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
3
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
4
4
  export declare type CustomSubmit = FormOperatorProps<LeadFormState>['onSubmit'];
5
5
  export interface StepProps {
6
6
  sections?: SectionsProps[];
@@ -1,5 +1,5 @@
1
- import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
2
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
1
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
2
+ import { type FieldDef } from '../../services/retail/model/RetailFormContent';
3
3
  interface CreditFormApiProps {
4
4
  step: number;
5
5
  inputs: FieldDef[];
@@ -1,4 +1,4 @@
1
- import { type Address } from '../ApplicationLeadForm/LeadFormState';
1
+ import { type Address } from '../../services/retail/model/LeadFormState';
2
2
  export declare const fieldsNamesToContactKeysMap: {
3
3
  email: string;
4
4
  phone: string;
@@ -1,8 +1,8 @@
1
- import { type LeadProps } from '../api/RetailAPI/model/LeadFormData';
1
+ import { type DictionaryItem } from '../services/retail/model/LeadFormData';
2
2
  export declare const useLeadFormData: (typeField: string) => {
3
3
  error: any;
4
4
  data?: undefined;
5
5
  } | {
6
- data: LeadProps[];
6
+ data: DictionaryItem[];
7
7
  error: any;
8
8
  };
@@ -1,5 +1,5 @@
1
- import { type LeadProps } from '../api/RetailAPI/model/LeadFormData';
2
1
  import { type LeadFormStoreSlice } from '../components/ApplicationLeadForm/useLeadFormStore';
2
+ import { type DictionaryItem } from '../services/retail/model/LeadFormData';
3
3
  export declare type StatusInfoState = {
4
4
  regionRetail?: string;
5
5
  addressRetail?: string;
@@ -13,21 +13,21 @@ export declare type StatusInfoState = {
13
13
  };
14
14
  };
15
15
  export interface CreditFormDictionarySlice {
16
- amountWorkers: LeadProps[] | null;
17
- organization: LeadProps[] | null;
18
- employerActivities: LeadProps[] | null;
19
- employerOrganization: LeadProps[] | null;
16
+ amountWorkers: DictionaryItem[] | null;
17
+ organization: DictionaryItem[] | null;
18
+ employerActivities: DictionaryItem[] | null;
19
+ employerOrganization: DictionaryItem[] | null;
20
20
  }
21
21
  export interface CreditFormStoreSlice extends CreditFormDictionarySlice, LeadFormStoreSlice {
22
22
  statusInfo: StatusInfoState;
23
23
  }
24
24
  export declare const useRetailFormStore: () => {
25
25
  statusInfo: StatusInfoState | null;
26
- amountWorkers: LeadProps[] | null;
27
- organization: LeadProps[] | null;
28
- employerActivities: LeadProps[] | null;
29
- employerOrganization: LeadProps[] | null;
30
- leadForm: import("../components/ApplicationLeadForm/LeadFormState").LeadFormState | null;
26
+ amountWorkers: DictionaryItem[] | null;
27
+ organization: DictionaryItem[] | null;
28
+ employerActivities: DictionaryItem[] | null;
29
+ employerOrganization: DictionaryItem[] | null;
30
+ leadForm: import("../services/retail/model/LeadFormState").LeadFormState | null;
31
31
  taskId: number | null;
32
32
  profileId: number | null;
33
33
  participantId: number | null;
@@ -1,3 +1,3 @@
1
1
  import { type Participant } from '../../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from '../../../components/ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../model/LeadFormState';
3
3
  export declare const getAdditionalInfoData: (formData: LeadFormState) => Partial<Participant>;
@@ -1,3 +1,3 @@
1
+ import { type LeadFormState } from '../../../services/retail/model/LeadFormState';
1
2
  import { type Participant } from '../../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from '../../../components/ApplicationLeadForm/LeadFormState';
3
3
  export declare const getCalculatorData: (formData: LeadFormState) => Pick<Participant, 'payrollCardRshbFlg' | 'consentInsuranceFlg'>;
@@ -1,3 +1,3 @@
1
1
  import { type Participant } from '../../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from '../../../components/ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../model/LeadFormState';
3
3
  export declare const getCardOptionsData: (formData: LeadFormState) => Partial<Participant>;
@@ -1,5 +1,5 @@
1
1
  import { type UpdateUserTaskBody } from '../../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from '../../../components/ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../../../services/retail/model/LeadFormState';
3
3
  declare type getCreditFormTaskDataProps = {
4
4
  participantId: number;
5
5
  taskId: number;
@@ -1,3 +1,3 @@
1
1
  import { type UpdateUserTaskBody } from '../../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from '../../../components/ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../model/LeadFormState';
3
3
  export declare const getDeliveryCreditData: (formData: LeadFormState) => Partial<UpdateUserTaskBody['task']>;
@@ -1,3 +1,3 @@
1
1
  import { type Participant } from '../../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from '../../../components/ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../../../services/retail/model/LeadFormState';
3
3
  export declare const getEmploymentData: (formData: LeadFormState) => Partial<Participant>;
@@ -1,4 +1,4 @@
1
1
  import { type Participant } from '../../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from '../../../components/ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../../../services/retail/model/LeadFormState';
3
3
  export declare const getFamilyStatusAndIncomeData: (formData: LeadFormState) => Partial<Participant>;
4
4
  export declare const countIncomeAverage: (wages?: number, retirementIncome?: number) => number;
@@ -1,3 +1,3 @@
1
1
  import { type Participant } from '../../../api/RetailAPI/updateUserTask';
2
- import { type LeadFormState } from '../../../components/ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../../../services/retail/model/LeadFormState';
3
3
  export declare const getPersonalInfoData: (formData: LeadFormState) => Partial<Participant>;
@@ -0,0 +1,10 @@
1
+ export { type FormFieldRegisterer } from '../../../hooks/useForm';
2
+ export { type AspectsProps } from '../../../model/AspectsProps';
3
+ export { type ColumnsCount } from '../../../model/ColumnCount';
4
+ export { type LabelProps, type TextProps, type TitleProps } from '../../../model/HeadlineType';
5
+ export { type InputSectionsType } from '../../../model/InputSectionsType';
6
+ export { type LinkButtonVersion } from '../../../model/LinkButtonVersion';
7
+ export { type Target } from '../../../model/LinkProps';
8
+ export { type VNode } from '../../../model/VNode';
9
+ export { type Option } from '../../../ui-kit/Select/Option';
10
+ export { type UniBlockContent } from '../../../UniBlock/UniBlockProps';
@@ -0,0 +1,2 @@
1
+ export { formatDate } from '../../../utils/formatDate';
2
+ export { formatPhone } from '../../../utils/formatPhone';
@@ -0,0 +1,75 @@
1
+ import { type CustomFieldProps } from '../../ui-kit/FormField/CustomFieldProps';
2
+ export declare const InputsApplicationLeadMap: {
3
+ limitedBirthday: (props: CustomFieldProps) => any;
4
+ };
5
+ export declare const InputsConsentsMap: {
6
+ processPersonalDataFlg: (props: CustomFieldProps) => any;
7
+ consentProviderFlg: (props: CustomFieldProps) => any;
8
+ consentOthersFlg: (props: CustomFieldProps) => any;
9
+ consentInformFlg: (props: CustomFieldProps) => any;
10
+ consentPfrFlg: (props: CustomFieldProps) => any;
11
+ };
12
+ export declare const InputsRetailMap: {
13
+ organization: (props: CustomFieldProps) => any;
14
+ organizationAddress: (props: CustomFieldProps) => any;
15
+ organizationPhone: (props: CustomFieldProps) => any;
16
+ organizationName: (props: CustomFieldProps) => any;
17
+ legalForm: (props: CustomFieldProps) => any;
18
+ generalSeniority: (props: CustomFieldProps) => any;
19
+ lastJobExperience: (props: CustomFieldProps) => any;
20
+ experience5Years: (props: CustomFieldProps) => any;
21
+ jobsNumber: (props: CustomFieldProps) => any;
22
+ beginDate: (props: CustomFieldProps) => any;
23
+ addressFact: (props: CustomFieldProps) => any;
24
+ addressRegistration: (props: CustomFieldProps) => any;
25
+ addressRetail: (props: CustomFieldProps) => any;
26
+ addressMatch: (props: CustomFieldProps) => any;
27
+ sex: (props: CustomFieldProps) => any;
28
+ limitedBirthday: (props: CustomFieldProps) => any;
29
+ birthPlace: (props: CustomFieldProps) => any;
30
+ education: (props: CustomFieldProps) => any;
31
+ housing: (props: CustomFieldProps) => any;
32
+ amountWorkers: (props: CustomFieldProps) => any;
33
+ employment: (props: CustomFieldProps) => any;
34
+ employerActivities: (props: CustomFieldProps) => any;
35
+ employerOrganization: (props: CustomFieldProps) => any;
36
+ positionOrganization: (props: CustomFieldProps) => any;
37
+ familyStatus: (props: CustomFieldProps) => any;
38
+ familyMembers: (props: CustomFieldProps) => any;
39
+ children: (props: CustomFieldProps) => any;
40
+ dependents: (props: CustomFieldProps) => any;
41
+ totalIncome: (props: CustomFieldProps) => any;
42
+ expenses: (props: CustomFieldProps) => any;
43
+ snils: (props: CustomFieldProps) => any;
44
+ conscription: (props: CustomFieldProps) => any;
45
+ armyIdFlg: (props: CustomFieldProps) => any;
46
+ dulSerie: (props: CustomFieldProps) => any;
47
+ dulNumber: (props: CustomFieldProps) => any;
48
+ dulIssueDateField: (props: CustomFieldProps) => any;
49
+ dulSubdivisionCode: (props: CustomFieldProps) => any;
50
+ dulIssuedBy: (props: CustomFieldProps) => any;
51
+ participantDateRegistration: (props: CustomFieldProps) => any;
52
+ retirementIncome: (props: CustomFieldProps) => any;
53
+ otherIncome: (props: CustomFieldProps) => any;
54
+ wages: (props: CustomFieldProps) => any;
55
+ mandatoryPayments: (props: CustomFieldProps) => any;
56
+ disablePeopleFlg: (props: CustomFieldProps) => any;
57
+ bankruptcyFlg: (props: CustomFieldProps) => any;
58
+ shareholderFlg: (props: CustomFieldProps) => any;
59
+ legalEntityName: (props: CustomFieldProps) => any;
60
+ creditInRshbCd: (props: CustomFieldProps) => any;
61
+ bankEmployeeCode: (props: CustomFieldProps) => any;
62
+ partInBusiness: (props: CustomFieldProps) => any;
63
+ regionRetail: (props: CustomFieldProps) => any;
64
+ calculator: (props: CustomFieldProps) => any;
65
+ };
66
+ export declare const InputRetailCardMap: {
67
+ addressCourier: (props: CustomFieldProps) => any;
68
+ paymentSystem: (props: CustomFieldProps) => any;
69
+ currency: (props: CustomFieldProps) => any;
70
+ cardCategory: (props: CustomFieldProps) => any;
71
+ codeWord: (props: CustomFieldProps) => any;
72
+ confirmationIncome: (props: CustomFieldProps) => any;
73
+ methodObtain: (props: CustomFieldProps) => any;
74
+ deliveryDate: (props: CustomFieldProps) => any;
75
+ };
@@ -1,4 +1,4 @@
1
- export interface LeadProps {
1
+ export interface DictionaryItem {
2
2
  type?: string;
3
3
  key?: string;
4
4
  value?: string;
@@ -1,12 +1,11 @@
1
- import { type PaymentType } from '../../api/RetailAPI/updateUserTask';
2
- import { type Option } from '../../ui-kit/Select/Option';
3
- export interface FormConsents {
1
+ import { type PaymentType } from '../../../api/RetailAPI/updateUserTask';
2
+ import { type Option } from '../external/types';
3
+ export interface FormRetailConsents {
4
4
  processPersonalDataFlg?: boolean;
5
5
  consentProviderFlg?: boolean;
6
- consentPfrFlg?: boolean;
7
- consentInformFlg?: boolean;
8
- consentToReceiveMaterials?: boolean;
9
6
  consentOthersFlg?: boolean;
7
+ consentInformFlg?: boolean;
8
+ consentPfrFlg?: boolean;
10
9
  }
11
10
  export declare type FormStateDeliveryType = {
12
11
  regionRetail?: Option;
@@ -36,8 +35,16 @@ export interface Address {
36
35
  qcComplete?: string;
37
36
  qcHouse?: string;
38
37
  }
39
- export interface LeadFormState extends FormConsents, FormStateDeliveryType {
40
- typeForm?: Option | string;
38
+ export interface Calculator {
39
+ moneyValue?: number;
40
+ monthsValue?: number;
41
+ isAnnuity?: boolean;
42
+ isInsurance?: boolean;
43
+ isSalaryClient?: boolean;
44
+ isPensionClient?: boolean;
45
+ isStateEmployee?: boolean;
46
+ }
47
+ export interface LeadFormState extends FormRetailConsents, FormStateDeliveryType {
41
48
  surname?: string;
42
49
  name?: string;
43
50
  middleName?: string;
@@ -100,8 +107,8 @@ export interface LeadFormState extends FormConsents, FormStateDeliveryType {
100
107
  consentAssignmentClaimsFlg?: boolean;
101
108
  consentCollectionFlg?: boolean;
102
109
  familyStatus?: Option;
103
- children?: string;
104
110
  familyMembers?: string;
111
+ children?: string;
105
112
  dependents?: string;
106
113
  totalIncome?: number;
107
114
  expenses?: number;
@@ -130,17 +137,10 @@ export interface LeadFormState extends FormConsents, FormStateDeliveryType {
130
137
  cardCategory?: Option;
131
138
  codeWord?: string;
132
139
  esiaAccountTypeCd?: Option;
133
- calculator?: {
134
- moneyValue?: number;
135
- monthsValue?: number;
136
- isAnnuity?: boolean;
137
- isInsurance?: boolean;
138
- isSalaryClient?: boolean;
139
- isPensionClient?: boolean;
140
- isStateEmployee?: boolean;
141
- };
140
+ calculator?: Calculator;
142
141
  addressRetail?: Option;
143
142
  loanAmount?: number;
144
143
  creditPeriod?: number;
145
144
  paymentTypeCd?: PaymentType;
146
145
  }
146
+ export { type NameFieldDef } from '../../../ui-kit/FormField/NameFieldDef';
@@ -0,0 +1,63 @@
1
+ import { type LabelProps, type LinkButtonVersion, type TextProps } from '../external/types';
2
+ import { type NameFieldDef } from './LeadFormState';
3
+ interface Required {
4
+ /** @title Обязательно для заполнения */
5
+ required?: boolean;
6
+ }
7
+ export declare type SubmitButtonProps = TextProps & {
8
+ version?: LinkButtonVersion;
9
+ };
10
+ export declare type ConditionFieldProps = {
11
+ /** @title Условия отображения полей формы */
12
+ condition?: {
13
+ name: NameFieldDef;
14
+ /** @title Значения при которых отображаются поля */
15
+ values: string[];
16
+ };
17
+ };
18
+ export declare type FilledByEsiaProps = {
19
+ /** @title Заполняется через госуслуги */
20
+ filledByEsia?: boolean;
21
+ };
22
+ export declare type FieldDefaultDef = Required & TextProps & LabelProps & ConditionFieldProps & FilledByEsiaProps & {
23
+ name?: NameFieldDef;
24
+ dadata?: boolean;
25
+ };
26
+ /**
27
+ * @title Поля ввода по умолчанию
28
+ * @default {"fieldType": "common"}
29
+ */
30
+ export declare type FieldCommonDef = FieldDefaultDef & {
31
+ /** @default "common" */
32
+ fieldType: 'common';
33
+ };
34
+ /**
35
+ * @title Значение по умолчанию
36
+ * @enumNames ["Валютный контроль","Документарные операции","Конверсионные операции","Иные вопросы ВЭД"]
37
+ */
38
+ declare type VedTypes = 'currencyControl' | 'documentOperations' | 'conversionTransactions' | 'otherIssues';
39
+ /**
40
+ * @title Поле ввода ВЭД
41
+ * @default {"fieldType": "ved", "name": "vedTypes", "defaultValue": "currencyControl"}
42
+ */
43
+ export declare type FieldVedDef = FieldDefaultDef & {
44
+ /** @default "ved" */
45
+ fieldType: 'ved';
46
+ defaultValue?: VedTypes;
47
+ };
48
+ /**
49
+ * @title Текст для отображения в карточке информации
50
+ * @default {"fieldType": "info"}
51
+ */
52
+ export declare type FieldInfoDef = FieldDefaultDef & TextProps & {
53
+ /** @default "info" */
54
+ fieldType: 'info';
55
+ };
56
+ /**
57
+ * @title Поле
58
+ * @default { "fieldType": "common" }
59
+ */
60
+ export declare type FieldDef = FieldCommonDef | FieldVedDef | FieldInfoDef;
61
+ /** @hidden */
62
+ export declare type TypeFormFieldDef = '' | 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD' | 'BROK' | 'BROKACCOUNT' | 'COLLECTION' | 'CORRUPTION' | 'CRED' | 'DPST' | 'PRODUCT' | 'SELFCOLLECTION' | 'KVED' | 'ULTRASERVICE' | 'PREMIUMSERVICE' | 'FEEDBACK' | 'FEEDBACK_QS' | 'OUTSERVICE';
63
+ export {};
@@ -1,5 +1,5 @@
1
- import { type FieldDef } from '../ApplicationForm/ApplicationFormContent';
2
- import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
1
+ import { type LeadFormState } from '../model/LeadFormState';
2
+ import { type FieldDef } from '../model/RetailFormContent';
3
3
  export declare type GetValue = <K extends keyof LeadFormState>(name: K) => LeadFormState[K];
4
4
  export declare const calculateInputs: (getValue: GetValue) => (inputs: FieldDef[], step: number) => FieldDef[];
5
5
  export declare const checkCondition: ({ condition }: FieldDef, getValue: GetValue) => boolean | undefined;
@@ -0,0 +1,17 @@
1
+ import { type DictionaryItem } from '../model/LeadFormData';
2
+ export declare const getOrganizationActivityType: (options: DictionaryItem[], okved: string) => {
3
+ key: string;
4
+ text: string;
5
+ } | null;
6
+ export declare const getEmployeesNumberOption: (options: DictionaryItem[] | null, count?: number) => {
7
+ key: string;
8
+ text: string;
9
+ } | null;
10
+ export declare const getOrganizationKind: (options: DictionaryItem[], okopf: number) => {
11
+ key: string;
12
+ text: string;
13
+ } | null;
14
+ export declare const getOrganizationType: (options: DictionaryItem[], okopf: number, inn: string) => {
15
+ key: string;
16
+ text: string;
17
+ } | null;
@@ -0,0 +1,3 @@
1
+ import { type UpdateUserProfileBody } from '../../../api/RetailAPI/updateUserProfile';
2
+ import { type LeadFormState } from '../model/LeadFormState';
3
+ export declare const getUpdateUserProfileData: (profileId: number, formData: LeadFormState) => UpdateUserProfileBody;
@@ -1,3 +1,3 @@
1
1
  import { type Task } from '../../api/RetailAPI/draftTasksKZO';
2
- import { type LeadFormState } from '../../components/ApplicationLeadForm/LeadFormState';
2
+ import { type LeadFormState } from '../../services/retail/model/LeadFormState';
3
3
  export declare const parseDraftTask: (task: Task) => LeadFormState;
@@ -1,5 +1,5 @@
1
- import { type LeadProps } from '../../api/RetailAPI/model/LeadFormData';
2
1
  import { type Participant } from '../../api/RetailAPI/updateUserTask';
2
+ import { type DictionaryItem } from '../../services/retail/model/LeadFormData';
3
3
  import { type Option } from '../Select/Option';
4
4
  export declare const enum EContactType {
5
5
  MainPhone = "MAIN_PHONE",
@@ -135,4 +135,4 @@ export declare const getParticipantContacts: (participantContacts: Participant['
135
135
  export declare const getParticipantGender: (gender: Participant['genderCd']) => {
136
136
  sex: string;
137
137
  } | null;
138
- export declare const getSelectValue: (option?: LeadProps) => Option | undefined;
138
+ export declare const getSelectValue: (option?: DictionaryItem) => Option | undefined;