@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,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,7 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.renderInputs = void 0;
3
+ const inputs_1 = require("../../services/retail/inputs");
3
4
  const getField_1 = require("../../ui-kit/FormField/getField");
4
- const renderInputs = ({ field, inputs, params }) => inputs.map((0, getField_1.getField)(field, params));
5
+ const renderInputs = ({ field, inputs, params }) => inputs.map((0, getField_1.getField)(field, params, { ...inputs_1.InputsRetailMap }));
5
6
  exports.renderInputs = renderInputs;
6
7
  //# sourceMappingURL=renderInputs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderInputs.js","sourceRoot":"","sources":["../../../src/components/CreditForm/renderInputs.tsx"],"names":[],"mappings":";;AACA,8DAA2D;AAUpD,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAqB,EAAE,EAAE,CAC3E,MAAM,CAAC,GAAG,CAAC,IAAA,mBAAQ,EAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AADzB,QAAA,YAAY,gBACa"}
1
+ {"version":3,"file":"renderInputs.js","sourceRoot":"","sources":["../../../src/components/CreditForm/renderInputs.tsx"],"names":[],"mappings":";;AACA,yDAA+D;AAG/D,8DAA2D;AAQpD,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAqB,EAAE,EAAE,CAC3E,MAAM,CAAC,GAAG,CAAC,IAAA,mBAAQ,EAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,wBAAe,EAAE,CAAC,CAAC,CAAC;AADjD,QAAA,YAAY,gBACqC"}
@@ -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,10 +1,10 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.renderStep = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const calculateInputs_1 = require("../../services/retail/utils/calculateInputs");
4
5
  const inputColumnStyle_1 = require("../../ui-kit/FormField/inputColumnStyle");
5
6
  const renderTitle_1 = require("../../ui-kit/FormField/renderTitle");
6
7
  const style_1 = require("../../utils/style");
7
- const calculateInputs_1 = require("./calculateInputs");
8
8
  const renderInfo_1 = require("./renderInfo");
9
9
  const renderInputs_1 = require("./renderInputs");
10
10
  const renderStep = ({ sections, field, step, params }) => sections?.map(({ inputs: origInputs = [], columns, title }, i) => {
@@ -1 +1 @@
1
- {"version":3,"file":"renderStep.js","sourceRoot":"","sources":["../../../src/components/CreditForm/renderStep.tsx"],"names":[],"mappings":";;;AACA,8EAA4E;AAC5E,oEAAiE;AACjE,6CAA0C;AAG1C,uDAAmE;AACnE,6CAA0C;AAC1C,iDAA8C;AAWvC,MAAM,UAAU,GAAG,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAa,EAAE,EAAE,CACzE,QAAQ,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE;IAC/D,MAAM,MAAM,GAAG,IAAA,iCAAe,EAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;IAElE,OAAO,CACL,iCAA0B,SAAS,EAAE,IAAA,aAAK,EAAC,IAAA,oCAAiB,EAAC,OAAO,CAAC,EAAE,cAAc,CAA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lB;AAEL,MAAM,QAAQ,GACZ,CAAC,KAAyC,EAAY,EAAE,CACxD,CAAC,IAAI,EAAE,EAAE,CACP,KAAK,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC"}
@@ -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[];
@@ -5,10 +5,10 @@ const useBool_1 = require("@redneckz/uni-jsx/lib/hooks/useBool");
5
5
  const updateUserTask_1 = require("../../api/RetailAPI/updateUserTask");
6
6
  const useRetailFormStore_1 = require("../../hooks/useRetailFormStore");
7
7
  const getCreditFormTaskData_1 = require("../../services/retail/adaptors/getCreditFormTaskData");
8
+ const calculateInputs_1 = require("../../services/retail/utils/calculateInputs");
8
9
  const getObjectValidator_1 = require("../../ui-kit/FormField/getObjectValidator");
9
10
  const objectValidator_1 = require("../../validation/objectValidator");
10
11
  const validator_1 = require("../../validation/validator");
11
- const calculateInputs_1 = require("./calculateInputs");
12
12
  const getInitialFormState_1 = require("./getInitialFormState");
13
13
  const useCreditFormAPI = ({ step, inputs, onNextStep, onFinish, }) => {
14
14
  const [isSending, { setTrue: startSending, setFalse: endSending }] = (0, useBool_1.useBool)(false);
@@ -1 +1 @@
1
- {"version":3,"file":"useCreditFormAPI.js","sourceRoot":"","sources":["../../../src/components/CreditForm/useCreditFormAPI.tsx"],"names":[],"mappings":";;AAAA,uDAAmE;AACnE,iEAA8D;AAC9D,uEAAoE;AACpE,uEAAoE;AACpE,gGAA6F;AAC7F,kFAA+E;AAC/E,sEAAmE;AACnE,0DAAiE;AAGjE,uDAAmE;AACnE,+DAA4D;AASrD,MAAM,gBAAgB,GAAG,CAAC,EAC/B,IAAI,EACJ,MAAM,EACN,UAAU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QAAuB,EAAE,EAAE;QAChC,MAAM,iBAAiB,GAAG,IAAA,iCAAe,EACvC,IAAA,uCAAkB,EAAC,IAAA,iCAAe,EAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CACtE,CAAC;QAEF,IAAI,CAAC,IAAA,+BAAmB,EAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,EAAE;YACrD,OAAO;SACR;QAED,YAAY,EAAE,CAAC;QACf,eAAe,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEpC,IAAI;YACF,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,eAAe,CAAC;YAC7D,IAAI,MAAM,IAAI,SAAS,IAAI,aAAa,EAAE;gBACxC,MAAM,QAAQ,GAAG,MAAM,IAAA,+BAAc,EACnC,IAAA,6CAAqB,EAAC;oBACpB,aAAa;oBACb,MAAM;oBACN,SAAS;oBACT,IAAI;oBACJ,QAAQ,EAAE,QAAe;iBAC1B,CAAC,CACH,CAAC;gBACF,SAAS,CAAC,QAAQ,CAAC,CAAC;aACrB;YAED,UAAU,EAAE,CAAC;YACb,IAAI,WAAW,EAAE;gBACf,QAAQ,EAAE,EAAE,CAAC;aACd;SACF;QAAC,OAAO,EAAE,EAAE;YACX,aAAa;SACd;gBAAS;YACR,UAAU,EAAE,CAAC;SACd;IACH,CAAC,EACD,CAAC,WAAW,EAAE,SAAS,CAAC,CACzB,CAAC;IAEF,OAAO,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC;AACjD,CAAC,CAAC;AA7EW,QAAA,gBAAgB,oBA6E3B;AAEF,MAAM,QAAQ,GACZ,CAAC,QAAuB,EAAY,EAAE,CACtC,CAAC,IAAI,EAAE,EAAE,CACP,QAAQ,CAAC,IAAI,CAAC,CAAC"}
@@ -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;
File without changes
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=useCreditFormStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCreditFormStore.js","sourceRoot":"","sources":["../../src/hooks/useCreditFormStore.tsx"],"names":[],"mappings":""}
@@ -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 +1 @@
1
- {"version":3,"file":"useLeadFormData.js","sourceRoot":"","sources":["../../src/hooks/useLeadFormData.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AAExE,kDAA+C;AAMxC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,EAAE;IACnD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,IAAA,2BAAY,EAClC,qCAAqC,kBAAkB,CAAC,SAAS,CAAC,EAAE,EACpE,SAAS,CACV,CAAC;IACF,IAAI,IAAI,IAAI,cAAc,IAAI,IAAI,EAAE;QAClC,OAAO,EAAE,KAAK,EAAE,CAAC;KAClB;IAED,OAAO,EAAE,IAAI,EAAE,IAAmB,EAAE,KAAK,EAAE,CAAC;AAC9C,CAAC,CAAC;AAVW,QAAA,eAAe,mBAU1B;AAEF,MAAM,SAAS,GAAG,KAAK,EAAE,GAAW,EAAqC,EAAE;IACzE,MAAM,MAAM,GAAG,MAAM,IAAA,qBAAS,EAA2B,GAAG,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAElF,OAAO,MAAM,IAAI,EAAE,CAAC;AACtB,CAAC,CAAC"}
1
+ {"version":3,"file":"useLeadFormData.js","sourceRoot":"","sources":["../../src/hooks/useLeadFormData.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AAExE,kDAA+C;AAMxC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,EAAE;IACnD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,IAAA,2BAAY,EAClC,qCAAqC,kBAAkB,CAAC,SAAS,CAAC,EAAE,EACpE,SAAS,CACV,CAAC;IACF,IAAI,IAAI,IAAI,cAAc,IAAI,IAAI,EAAE;QAClC,OAAO,EAAE,KAAK,EAAE,CAAC;KAClB;IAED,OAAO,EAAE,IAAI,EAAE,IAAwB,EAAE,KAAK,EAAE,CAAC;AACnD,CAAC,CAAC;AAVW,QAAA,eAAe,mBAU1B;AAEF,MAAM,SAAS,GAAG,KAAK,EAAE,GAAW,EAA0C,EAAE;IAC9E,MAAM,MAAM,GAAG,MAAM,IAAA,qBAAS,EAAgC,GAAG,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAEvF,OAAO,MAAM,IAAI,EAAE,CAAC;AACtB,CAAC,CAAC"}
@@ -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;
@@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.countIncomeAverage = exports.getFamilyStatusAndIncomeData = void 0;
3
3
  const utils_1 = require("../../../components/CreditForm/utils");
4
4
  const getFamilyStatusAndIncomeData = (formData) => {
5
- const { familyStatus, dependents, familyMembers, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
5
+ const { familyStatus, familyMembers, dependents, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
6
6
  return {
7
7
  maritalStatusCd: familyStatus,
8
8
  totalDependents: familyMembers,
@@ -1 +1 @@
1
- {"version":3,"file":"getFamilyStatusAndIncomeData.js","sourceRoot":"","sources":["../../../../src/services/retail/adaptors/getFamilyStatusAndIncomeData.ts"],"names":[],"mappings":";;AAEA,gEAA6E;AAEtE,MAAM,4BAA4B,GAAG,CAAC,QAAuB,EAAwB,EAAE;IAC5F,MAAM,EACJ,YAAY,EACZ,UAAU,EACV,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,KAAK,EACL,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,SAAS,EACT,YAAY,GACb,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,eAAe,EAAE,YAAY;QAC7B,eAAe,EAAE,aAAa;QAC9B,mBAAmB,EAAE,kBAAkB;QACvC,eAAe,EAAE,UAAU;QAC3B,kBAAkB,EAAE,QAAQ;QAC5B,gBAAgB,EAAE,YAAY;QAC9B,kBAAkB,EAAE,IAAA,6BAAqB,EAAC;YACxC,KAAK;YACL,iBAAiB;YACjB,aAAa,EAAE,IAAA,0BAAkB,EAAC,KAAK,EAAE,gBAAgB,CAAC;YAC1D,gBAAgB;YAChB,WAAW;YACX,aAAa;YACb,YAAY;YACZ,gBAAgB;SACjB,CAAC;QACF,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,EAAE,CAAC;QACrD,SAAS;KACV,CAAC;AACJ,CAAC,CAAC;AAvCW,QAAA,4BAA4B,gCAuCvC;AAEK,MAAM,kBAAkB,GAAG,CAAC,KAAc,EAAE,gBAAyB,EAAE,EAAE,CAC9E,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAD9B,QAAA,kBAAkB,sBACY"}
1
+ {"version":3,"file":"getFamilyStatusAndIncomeData.js","sourceRoot":"","sources":["../../../../src/services/retail/adaptors/getFamilyStatusAndIncomeData.ts"],"names":[],"mappings":";;AACA,gEAA6E;AAGtE,MAAM,4BAA4B,GAAG,CAAC,QAAuB,EAAwB,EAAE;IAC5F,MAAM,EACJ,YAAY,EACZ,aAAa,EACb,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,KAAK,EACL,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,SAAS,EACT,YAAY,GACb,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,eAAe,EAAE,YAAY;QAC7B,eAAe,EAAE,aAAa;QAC9B,mBAAmB,EAAE,kBAAkB;QACvC,eAAe,EAAE,UAAU;QAC3B,kBAAkB,EAAE,QAAQ;QAC5B,gBAAgB,EAAE,YAAY;QAC9B,kBAAkB,EAAE,IAAA,6BAAqB,EAAC;YACxC,KAAK;YACL,iBAAiB;YACjB,aAAa,EAAE,IAAA,0BAAkB,EAAC,KAAK,EAAE,gBAAgB,CAAC;YAC1D,gBAAgB;YAChB,WAAW;YACX,aAAa;YACb,YAAY;YACZ,gBAAgB;SACjB,CAAC;QACF,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,EAAE,CAAC;QACrD,SAAS;KACV,CAAC;AACJ,CAAC,CAAC;AAvCW,QAAA,4BAA4B,gCAuCvC;AAEK,MAAM,kBAAkB,GAAG,CAAC,KAAc,EAAE,gBAAyB,EAAE,EAAE,CAC9E,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAD9B,QAAA,kBAAkB,sBACY"}
@@ -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
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/services/retail/external/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { formatDate } from '../../../utils/formatDate';
2
+ export { formatPhone } from '../../../utils/formatPhone';
@@ -0,0 +1,7 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.formatPhone = exports.formatDate = void 0;
3
+ var formatDate_1 = require("../../../utils/formatDate");
4
+ Object.defineProperty(exports, "formatDate", { enumerable: true, get: function () { return formatDate_1.formatDate; } });
5
+ var formatPhone_1 = require("../../../utils/formatPhone");
6
+ Object.defineProperty(exports, "formatPhone", { enumerable: true, get: function () { return formatPhone_1.formatPhone; } });
7
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/services/retail/external/utils.ts"],"names":[],"mappings":";;AAAA,wDAAuD;AAA9C,wGAAA,UAAU,OAAA;AACnB,0DAAyD;AAAhD,0GAAA,WAAW,OAAA"}
@@ -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
+ };
@@ -0,0 +1,137 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.InputRetailCardMap = exports.InputsRetailMap = exports.InputsConsentsMap = exports.InputsApplicationLeadMap = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const AddressFactField_1 = require("../../ui-kit/FormField/Fields/AddressFactField");
5
+ const AddressField_1 = require("../../ui-kit/FormField/Fields/AddressField");
6
+ const AddressMatchField_1 = require("../../ui-kit/FormField/Fields/AddressMatchField");
7
+ const AddressRetailField_1 = require("../../ui-kit/FormField/Fields/AddressRetailField");
8
+ const AmountWorkersField_1 = require("../../ui-kit/FormField/Fields/AmountWorkersField");
9
+ const ArmyIdFlgField_1 = require("../../ui-kit/FormField/Fields/ArmyIdFlgField");
10
+ const BankEmployeeCodeField_1 = require("../../ui-kit/FormField/Fields/BankEmployeeCodeField");
11
+ const BankruptcyFlgField_1 = require("../../ui-kit/FormField/Fields/BankruptcyFlgField");
12
+ const BeginDateField_1 = require("../../ui-kit/FormField/Fields/BeginDateField");
13
+ const BirthPlaceField_1 = require("../../ui-kit/FormField/Fields/BirthPlaceField");
14
+ const CardCategoryField_1 = require("../../ui-kit/FormField/Fields/CardCategoryField");
15
+ const ChildrenField_1 = require("../../ui-kit/FormField/Fields/ChildrenField");
16
+ const CodeWordField_1 = require("../../ui-kit/FormField/Fields/CodeWordField");
17
+ const ConfirmationIncomeField_1 = require("../../ui-kit/FormField/Fields/ConfirmationIncomeField");
18
+ const ConscriptionField_1 = require("../../ui-kit/FormField/Fields/ConscriptionField");
19
+ const ConsentField_1 = require("../../ui-kit/FormField/Fields/ConsentField");
20
+ const CreditCalcField_1 = require("../../ui-kit/FormField/Fields/CreditCalcField");
21
+ const CreditInRshbCdField_1 = require("../../ui-kit/FormField/Fields/CreditInRshbCdField");
22
+ const CurrencyField_1 = require("../../ui-kit/FormField/Fields/CurrencyField");
23
+ const DeliveryDateFiels_1 = require("../../ui-kit/FormField/Fields/DeliveryDateFiels");
24
+ const DependentsField_1 = require("../../ui-kit/FormField/Fields/DependentsField");
25
+ const DisablePeopleFlgField_1 = require("../../ui-kit/FormField/Fields/DisablePeopleFlgField");
26
+ const DulIssueDateField_1 = require("../../ui-kit/FormField/Fields/DulIssueDateField");
27
+ const DulIssuedByField_1 = require("../../ui-kit/FormField/Fields/DulIssuedByField");
28
+ const DulNumberField_1 = require("../../ui-kit/FormField/Fields/DulNumberField");
29
+ const DulSerieField_1 = require("../../ui-kit/FormField/Fields/DulSerieField");
30
+ const DulSubdivisionCodeField_1 = require("../../ui-kit/FormField/Fields/DulSubdivisionCodeField");
31
+ const EducationField_1 = require("../../ui-kit/FormField/Fields/EducationField");
32
+ const EmployerActivitiesField_1 = require("../../ui-kit/FormField/Fields/EmployerActivitiesField");
33
+ const EmployerOrganizationField_1 = require("../../ui-kit/FormField/Fields/EmployerOrganizationField");
34
+ const EmploymentField_1 = require("../../ui-kit/FormField/Fields/EmploymentField");
35
+ const ExpensesField_1 = require("../../ui-kit/FormField/Fields/ExpensesField");
36
+ const Experience5YearsField_1 = require("../../ui-kit/FormField/Fields/Experience5YearsField");
37
+ const FamilyMembersField_1 = require("../../ui-kit/FormField/Fields/FamilyMembersField");
38
+ const FamilyStatusField_1 = require("../../ui-kit/FormField/Fields/FamilyStatusField");
39
+ const GeneralSeniorityField_1 = require("../../ui-kit/FormField/Fields/GeneralSeniorityField");
40
+ const HousingField_1 = require("../../ui-kit/FormField/Fields/HousingField");
41
+ const JobsNumberField_1 = require("../../ui-kit/FormField/Fields/JobsNumberField");
42
+ const LastJobExperienceField_1 = require("../../ui-kit/FormField/Fields/LastJobExperienceField");
43
+ const LegalEntityNameField_1 = require("../../ui-kit/FormField/Fields/LegalEntityNameField");
44
+ const LegalFormField_1 = require("../../ui-kit/FormField/Fields/LegalFormField");
45
+ const LimitedBirthdayField_1 = require("../../ui-kit/FormField/Fields/LimitedBirthdayField");
46
+ const MandatoryPaymentsField_1 = require("../../ui-kit/FormField/Fields/MandatoryPaymentsField");
47
+ const MethodObtainField_1 = require("../../ui-kit/FormField/Fields/MethodObtainField");
48
+ const OrganizationField_1 = require("../../ui-kit/FormField/Fields/OrganizationField");
49
+ const OrganizationNameField_1 = require("../../ui-kit/FormField/Fields/OrganizationNameField");
50
+ const OtherIncomeField_1 = require("../../ui-kit/FormField/Fields/OtherIncomeField");
51
+ const ParticipantDateRegistrationField_1 = require("../../ui-kit/FormField/Fields/ParticipantDateRegistrationField");
52
+ const PartInBusinessField_1 = require("../../ui-kit/FormField/Fields/PartInBusinessField");
53
+ const PaymentSystemField_1 = require("../../ui-kit/FormField/Fields/PaymentSystemField");
54
+ const PhoneField_1 = require("../../ui-kit/FormField/Fields/PhoneField");
55
+ const PositionOrganizationField_1 = require("../../ui-kit/FormField/Fields/PositionOrganizationField");
56
+ const RegionRetailField_1 = require("../../ui-kit/FormField/Fields/RegionRetailField");
57
+ const RetirementIncomeField_1 = require("../../ui-kit/FormField/Fields/RetirementIncomeField");
58
+ const SexField_1 = require("../../ui-kit/FormField/Fields/SexField");
59
+ const ShareholderFlgField_1 = require("../../ui-kit/FormField/Fields/ShareholderFlgField");
60
+ const SnilsField_1 = require("../../ui-kit/FormField/Fields/SnilsField");
61
+ const TotalIncomeField_1 = require("../../ui-kit/FormField/Fields/TotalIncomeField");
62
+ const WagesField_1 = require("../../ui-kit/FormField/Fields/WagesField");
63
+ exports.InputsApplicationLeadMap = {
64
+ limitedBirthday: (props) => (0, jsx_runtime_1.jsx)(LimitedBirthdayField_1.LimitedBirthdayField, { ...props }),
65
+ };
66
+ exports.InputsConsentsMap = {
67
+ processPersonalDataFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
68
+ consentProviderFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
69
+ consentOthersFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
70
+ consentInformFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
71
+ consentPfrFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
72
+ };
73
+ exports.InputsRetailMap = {
74
+ organization: (props) => (0, jsx_runtime_1.jsx)(OrganizationField_1.OrganizationField, { ...props }),
75
+ organizationAddress: (props) => (0, jsx_runtime_1.jsx)(AddressField_1.AddressField, { ...props }),
76
+ organizationPhone: (props) => (0, jsx_runtime_1.jsx)(PhoneField_1.PhoneField, { ...props }),
77
+ organizationName: (props) => (0, jsx_runtime_1.jsx)(OrganizationNameField_1.OrganizationNameField, { ...props }),
78
+ legalForm: (props) => (0, jsx_runtime_1.jsx)(LegalFormField_1.LegalFormField, { ...props }),
79
+ generalSeniority: (props) => (0, jsx_runtime_1.jsx)(GeneralSeniorityField_1.GeneralSeniorityField, { ...props }),
80
+ lastJobExperience: (props) => (0, jsx_runtime_1.jsx)(LastJobExperienceField_1.LastJobExperienceField, { ...props }),
81
+ experience5Years: (props) => (0, jsx_runtime_1.jsx)(Experience5YearsField_1.Experience5YearsField, { ...props }),
82
+ jobsNumber: (props) => (0, jsx_runtime_1.jsx)(JobsNumberField_1.JobsNumberField, { ...props }),
83
+ beginDate: (props) => (0, jsx_runtime_1.jsx)(BeginDateField_1.BeginDateField, { ...props }),
84
+ addressFact: (props) => (0, jsx_runtime_1.jsx)(AddressFactField_1.AddressFactField, { ...props }),
85
+ addressRegistration: (props) => (0, jsx_runtime_1.jsx)(AddressField_1.AddressField, { ...props }),
86
+ addressRetail: (props) => (0, jsx_runtime_1.jsx)(AddressRetailField_1.AddressRetailField, { ...props }),
87
+ addressMatch: (props) => (0, jsx_runtime_1.jsx)(AddressMatchField_1.AddressMatchField, { ...props }),
88
+ sex: (props) => (0, jsx_runtime_1.jsx)(SexField_1.SexField, { ...props }),
89
+ limitedBirthday: (props) => (0, jsx_runtime_1.jsx)(LimitedBirthdayField_1.LimitedBirthdayField, { ...props }),
90
+ birthPlace: (props) => (0, jsx_runtime_1.jsx)(BirthPlaceField_1.BirthPlaceField, { ...props }),
91
+ education: (props) => (0, jsx_runtime_1.jsx)(EducationField_1.EducationField, { ...props }),
92
+ housing: (props) => (0, jsx_runtime_1.jsx)(HousingField_1.HousingField, { ...props }),
93
+ amountWorkers: (props) => (0, jsx_runtime_1.jsx)(AmountWorkersField_1.AmountWorkersField, { ...props }),
94
+ employment: (props) => (0, jsx_runtime_1.jsx)(EmploymentField_1.EmploymentField, { ...props }),
95
+ employerActivities: (props) => (0, jsx_runtime_1.jsx)(EmployerActivitiesField_1.EmployerActivitiesField, { ...props }),
96
+ employerOrganization: (props) => (0, jsx_runtime_1.jsx)(EmployerOrganizationField_1.EmployerOrganizationField, { ...props }),
97
+ positionOrganization: (props) => (0, jsx_runtime_1.jsx)(PositionOrganizationField_1.PositionOrganizationField, { ...props }),
98
+ familyStatus: (props) => (0, jsx_runtime_1.jsx)(FamilyStatusField_1.FamilyStatusField, { ...props }),
99
+ familyMembers: (props) => (0, jsx_runtime_1.jsx)(FamilyMembersField_1.FamilyMembersField, { ...props }),
100
+ children: (props) => (0, jsx_runtime_1.jsx)(ChildrenField_1.ChildrenField, { ...props }),
101
+ dependents: (props) => (0, jsx_runtime_1.jsx)(DependentsField_1.DependentsField, { ...props }),
102
+ totalIncome: (props) => (0, jsx_runtime_1.jsx)(TotalIncomeField_1.TotalIncomeField, { ...props }),
103
+ expenses: (props) => (0, jsx_runtime_1.jsx)(ExpensesField_1.ExpensesField, { ...props }),
104
+ snils: (props) => (0, jsx_runtime_1.jsx)(SnilsField_1.SnilsField, { ...props }),
105
+ conscription: (props) => (0, jsx_runtime_1.jsx)(ConscriptionField_1.ConscriptionField, { ...props }),
106
+ armyIdFlg: (props) => (0, jsx_runtime_1.jsx)(ArmyIdFlgField_1.ArmyIdFlgField, { ...props }),
107
+ dulSerie: (props) => (0, jsx_runtime_1.jsx)(DulSerieField_1.DulSerieField, { ...props }),
108
+ dulNumber: (props) => (0, jsx_runtime_1.jsx)(DulNumberField_1.DulNumberField, { ...props }),
109
+ dulIssueDateField: (props) => (0, jsx_runtime_1.jsx)(DulIssueDateField_1.DulIssueDateField, { ...props }),
110
+ dulSubdivisionCode: (props) => (0, jsx_runtime_1.jsx)(DulSubdivisionCodeField_1.DulSubdivisionCodeField, { ...props }),
111
+ dulIssuedBy: (props) => (0, jsx_runtime_1.jsx)(DulIssuedByField_1.DulIssuedByField, { ...props }),
112
+ participantDateRegistration: (props) => ((0, jsx_runtime_1.jsx)(ParticipantDateRegistrationField_1.ParticipantDateRegistrationField, { ...props })),
113
+ retirementIncome: (props) => (0, jsx_runtime_1.jsx)(RetirementIncomeField_1.RetirementIncomeField, { ...props }),
114
+ otherIncome: (props) => (0, jsx_runtime_1.jsx)(OtherIncomeField_1.OtherIncomeField, { ...props }),
115
+ wages: (props) => (0, jsx_runtime_1.jsx)(WagesField_1.WagesField, { ...props }),
116
+ mandatoryPayments: (props) => (0, jsx_runtime_1.jsx)(MandatoryPaymentsField_1.MandatoryPaymentsField, { ...props }),
117
+ disablePeopleFlg: (props) => (0, jsx_runtime_1.jsx)(DisablePeopleFlgField_1.DisablePeopleFlgField, { ...props }),
118
+ bankruptcyFlg: (props) => (0, jsx_runtime_1.jsx)(BankruptcyFlgField_1.BankruptcyFlgField, { ...props }),
119
+ shareholderFlg: (props) => (0, jsx_runtime_1.jsx)(ShareholderFlgField_1.ShareholderFlgField, { ...props }),
120
+ legalEntityName: (props) => (0, jsx_runtime_1.jsx)(LegalEntityNameField_1.LegalEntityNameField, { ...props }),
121
+ creditInRshbCd: (props) => (0, jsx_runtime_1.jsx)(CreditInRshbCdField_1.CreditInRshbCdField, { ...props }),
122
+ bankEmployeeCode: (props) => (0, jsx_runtime_1.jsx)(BankEmployeeCodeField_1.BankEmpoleeCodeField, { ...props }),
123
+ partInBusiness: (props) => (0, jsx_runtime_1.jsx)(PartInBusinessField_1.PartInBusinessField, { ...props }),
124
+ regionRetail: (props) => (0, jsx_runtime_1.jsx)(RegionRetailField_1.RegionRetailField, { ...props }),
125
+ calculator: (props) => (0, jsx_runtime_1.jsx)(CreditCalcField_1.CreditCalcField, { ...props }),
126
+ };
127
+ exports.InputRetailCardMap = {
128
+ addressCourier: (props) => (0, jsx_runtime_1.jsx)(AddressField_1.AddressField, { ...props }),
129
+ paymentSystem: (props) => (0, jsx_runtime_1.jsx)(PaymentSystemField_1.PaymentSystemField, { ...props }),
130
+ currency: (props) => (0, jsx_runtime_1.jsx)(CurrencyField_1.CurrencyField, { ...props }),
131
+ cardCategory: (props) => (0, jsx_runtime_1.jsx)(CardCategoryField_1.CardCategoryField, { ...props }),
132
+ codeWord: (props) => (0, jsx_runtime_1.jsx)(CodeWordField_1.CodeWordField, { ...props }),
133
+ confirmationIncome: (props) => (0, jsx_runtime_1.jsx)(ConfirmationIncomeField_1.ConfirmationIncomeField, { ...props }),
134
+ methodObtain: (props) => (0, jsx_runtime_1.jsx)(MethodObtainField_1.MethodObtainField, { ...props }),
135
+ deliveryDate: (props) => (0, jsx_runtime_1.jsx)(DeliveryDateFiels_1.DeliveryDateFiels, { ...props }),
136
+ };
137
+ //# sourceMappingURL=inputs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../../src/services/retail/inputs.tsx"],"names":[],"mappings":";;;AACA,qFAAkF;AAClF,6EAA0E;AAC1E,uFAAoF;AACpF,yFAAsF;AACtF,yFAAsF;AACtF,iFAA8E;AAC9E,+FAA2F;AAC3F,yFAAsF;AACtF,iFAA8E;AAC9E,mFAAgF;AAChF,uFAAoF;AACpF,+EAA4E;AAC5E,+EAA4E;AAC5E,mGAAgG;AAChG,uFAAoF;AACpF,6EAA0E;AAC1E,mFAAgF;AAChF,2FAAwF;AACxF,+EAA4E;AAC5E,uFAAoF;AACpF,mFAAgF;AAChF,+FAA4F;AAC5F,uFAAoF;AACpF,qFAAkF;AAClF,iFAA8E;AAC9E,+EAA4E;AAC5E,mGAAgG;AAChG,iFAA8E;AAC9E,mGAAgG;AAChG,uGAAoG;AACpG,mFAAgF;AAChF,+EAA4E;AAC5E,+FAA4F;AAC5F,yFAAsF;AACtF,uFAAoF;AACpF,+FAA4F;AAC5F,6EAA0E;AAC1E,mFAAgF;AAChF,iGAA8F;AAC9F,6FAA0F;AAC1F,iFAA8E;AAC9E,6FAA0F;AAC1F,iGAA8F;AAC9F,uFAAoF;AACpF,uFAAoF;AACpF,+FAA4F;AAC5F,qFAAkF;AAClF,qHAAkH;AAClH,2FAAwF;AACxF,yFAAsF;AACtF,yEAAsE;AACtE,uGAAoG;AACpG,uFAAoF;AACpF,+FAA4F;AAC5F,qEAAkE;AAClE,2F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,OAAK,KAAK,GAAI;IAC3E,UAAU,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,uBAAC,iCAAe,OAAK,KAAK,GAAI;CACxE,CAAC;AAEW,QAAA,kBAAkB,GAAG;IAChC,cAAc,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,uBAAC,2BAAY,OAAK,KAAK,GAAI;IACxE,aAAa,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,uBAAC,uCAAkB,OAAK,KAAK,GAAI;IAC7E,QAAQ,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,uBAAC,6BAAa,OAAK,KAAK,GAAI;IACnE,YAAY,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,uBAAC,qCAAiB,OAAK,KAAK,GAAI;IAC3E,QAAQ,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,uBAAC,6BAAa,OAAK,KAAK,GAAI;IACnE,kBAAkB,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,uBAAC,iDAAuB,OAAK,KAAK,GAAI;IACvF,YAAY,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,uBAAC,qCAAiB,OAAK,KAAK,GAAI;IAC3E,YAAY,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,uBAAC,qCAAiB,OAAK,KAAK,GAAI;CAC5E,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EOrganizationActivityTypes.js","sourceRoot":"","sources":["../../../../src/services/retail/model/EOrganizationActivityTypes.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export interface LeadProps {
1
+ export interface DictionaryItem {
2
2
  type?: string;
3
3
  key?: string;
4
4
  value?: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LeadFormData.js","sourceRoot":"","sources":["../../../../src/services/retail/model/LeadFormData.ts"],"names":[],"mappings":""}
@@ -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 @@
1
+ {"version":3,"file":"LeadFormState.js","sourceRoot":"","sources":["../../../../src/services/retail/model/LeadFormState.ts"],"names":[],"mappings":""}