@redneckz/wildless-cms-uni-blocks 0.14.729 → 0.14.731

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 (342) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +32 -44
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  5. package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
  6. package/bundle/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
  7. package/bundle/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
  8. package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
  9. package/bundle/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
  10. package/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
  11. package/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
  12. package/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
  13. package/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
  14. package/bundle/components/CreditCardForm/renderInfo.d.ts +2 -2
  15. package/bundle/components/CreditCardForm/renderInputs.d.ts +2 -2
  16. package/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
  17. package/bundle/components/CreditForm/CreditFormStep.d.ts +2 -2
  18. package/bundle/components/CreditForm/creditFormStepsData.d.ts +2 -2
  19. package/bundle/components/CreditForm/renderInfo.d.ts +2 -2
  20. package/bundle/components/CreditForm/renderInputs.d.ts +2 -2
  21. package/bundle/components/CreditForm/renderStep.d.ts +2 -2
  22. package/bundle/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  23. package/bundle/model/FormTypeFieldDef.d.ts +2 -0
  24. package/bundle/model/InputSectionsType.d.ts +10 -1
  25. package/bundle/services/retail/model/RetailFormContent.d.ts +1 -17
  26. package/bundle/services/retail/utils/calculateInputs.d.ts +3 -2
  27. package/bundle/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
  28. package/bundle/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -1
  29. package/bundle/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  30. package/bundle/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  31. package/bundle/ui-kit/FormField/getPremium.d.ts +2 -2
  32. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  33. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  34. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
  35. package/dist/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
  36. package/dist/components/ApplicationLeadForm/GroupedConsents.js +2 -2
  37. package/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  38. package/dist/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
  39. package/dist/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  40. package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
  41. package/dist/components/ApplicationLeadForm/getInitialFormState.js +6 -35
  42. package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  43. package/dist/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
  44. package/dist/components/ApplicationLeadForm/renderInputs.js +2 -2
  45. package/dist/components/ApplicationLeadForm/renderInputs.js.map +1 -1
  46. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
  47. package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  48. package/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
  49. package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  50. package/dist/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
  51. package/dist/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
  52. package/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
  53. package/dist/components/CreditCardForm/renderInfo.d.ts +2 -2
  54. package/dist/components/CreditCardForm/renderInfo.js.map +1 -1
  55. package/dist/components/CreditCardForm/renderInputs.d.ts +2 -2
  56. package/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
  57. package/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  58. package/dist/components/CreditForm/CreditFormStep.d.ts +2 -2
  59. package/dist/components/CreditForm/CreditFormStep.js.map +1 -1
  60. package/dist/components/CreditForm/creditFormStepsData.d.ts +2 -2
  61. package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
  62. package/dist/components/CreditForm/renderInfo.d.ts +2 -2
  63. package/dist/components/CreditForm/renderInfo.js.map +1 -1
  64. package/dist/components/CreditForm/renderInputs.d.ts +2 -2
  65. package/dist/components/CreditForm/renderStep.d.ts +2 -2
  66. package/dist/components/CreditForm/renderStep.js.map +1 -1
  67. package/dist/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  68. package/dist/model/FormTypeFieldDef.d.ts +2 -0
  69. package/dist/model/FormTypeFieldDef.js +2 -0
  70. package/dist/model/FormTypeFieldDef.js.map +1 -0
  71. package/dist/model/InputSectionsType.d.ts +10 -1
  72. package/dist/services/retail/model/RetailFormContent.d.ts +1 -17
  73. package/dist/services/retail/model/RetailFormContent.js +0 -2
  74. package/dist/services/retail/model/RetailFormContent.js.map +1 -1
  75. package/dist/services/retail/utils/calculateInputs.d.ts +3 -2
  76. package/dist/services/retail/utils/calculateInputs.js.map +1 -1
  77. package/dist/ui-kit/DatePicker/DatePickerInput.js +21 -7
  78. package/dist/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  79. package/dist/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
  80. package/dist/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -1
  81. package/dist/ui-kit/FormField/getField.js.map +1 -1
  82. package/dist/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  83. package/dist/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  84. package/dist/ui-kit/FormField/getPremium.d.ts +2 -2
  85. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  86. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  87. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
  88. package/lib/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
  89. package/lib/components/ApplicationLeadForm/GroupedConsents.js +2 -2
  90. package/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  91. package/lib/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
  92. package/lib/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  93. package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
  94. package/lib/components/ApplicationLeadForm/getInitialFormState.js +6 -35
  95. package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  96. package/lib/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
  97. package/lib/components/ApplicationLeadForm/renderInputs.js +2 -2
  98. package/lib/components/ApplicationLeadForm/renderInputs.js.map +1 -1
  99. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
  100. package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  101. package/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
  102. package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  103. package/lib/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
  104. package/lib/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
  105. package/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
  106. package/lib/components/CreditCardForm/renderInfo.d.ts +2 -2
  107. package/lib/components/CreditCardForm/renderInfo.js.map +1 -1
  108. package/lib/components/CreditCardForm/renderInputs.d.ts +2 -2
  109. package/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
  110. package/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  111. package/lib/components/CreditForm/CreditFormStep.d.ts +2 -2
  112. package/lib/components/CreditForm/CreditFormStep.js.map +1 -1
  113. package/lib/components/CreditForm/creditFormStepsData.d.ts +2 -2
  114. package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
  115. package/lib/components/CreditForm/renderInfo.d.ts +2 -2
  116. package/lib/components/CreditForm/renderInfo.js.map +1 -1
  117. package/lib/components/CreditForm/renderInputs.d.ts +2 -2
  118. package/lib/components/CreditForm/renderStep.d.ts +2 -2
  119. package/lib/components/CreditForm/renderStep.js.map +1 -1
  120. package/lib/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  121. package/lib/model/FormTypeFieldDef.d.ts +2 -0
  122. package/lib/model/FormTypeFieldDef.js +2 -0
  123. package/lib/model/FormTypeFieldDef.js.map +1 -0
  124. package/lib/model/InputSectionsType.d.ts +10 -1
  125. package/lib/services/retail/model/RetailFormContent.d.ts +1 -17
  126. package/lib/services/retail/model/RetailFormContent.js +0 -2
  127. package/lib/services/retail/model/RetailFormContent.js.map +1 -1
  128. package/lib/services/retail/utils/calculateInputs.d.ts +3 -2
  129. package/lib/services/retail/utils/calculateInputs.js.map +1 -1
  130. package/lib/ui-kit/DatePicker/DatePickerInput.js +21 -7
  131. package/lib/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  132. package/lib/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
  133. package/lib/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -1
  134. package/lib/ui-kit/FormField/getField.js.map +1 -1
  135. package/lib/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  136. package/lib/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  137. package/lib/ui-kit/FormField/getPremium.d.ts +2 -2
  138. package/mobile/bundle/bundle.umd.js +32 -44
  139. package/mobile/bundle/bundle.umd.min.js +1 -1
  140. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  141. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
  142. package/mobile/bundle/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
  143. package/mobile/bundle/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
  144. package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
  145. package/mobile/bundle/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
  146. package/mobile/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
  147. package/mobile/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
  148. package/mobile/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
  149. package/mobile/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
  150. package/mobile/bundle/components/CreditCardForm/renderInfo.d.ts +2 -2
  151. package/mobile/bundle/components/CreditCardForm/renderInputs.d.ts +2 -2
  152. package/mobile/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
  153. package/mobile/bundle/components/CreditForm/CreditFormStep.d.ts +2 -2
  154. package/mobile/bundle/components/CreditForm/creditFormStepsData.d.ts +2 -2
  155. package/mobile/bundle/components/CreditForm/renderInfo.d.ts +2 -2
  156. package/mobile/bundle/components/CreditForm/renderInputs.d.ts +2 -2
  157. package/mobile/bundle/components/CreditForm/renderStep.d.ts +2 -2
  158. package/mobile/bundle/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  159. package/mobile/bundle/model/FormTypeFieldDef.d.ts +2 -0
  160. package/mobile/bundle/model/InputSectionsType.d.ts +10 -1
  161. package/mobile/bundle/services/retail/model/RetailFormContent.d.ts +1 -17
  162. package/mobile/bundle/services/retail/utils/calculateInputs.d.ts +3 -2
  163. package/mobile/bundle/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
  164. package/mobile/bundle/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -1
  165. package/mobile/bundle/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  166. package/mobile/bundle/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  167. package/mobile/bundle/ui-kit/FormField/getPremium.d.ts +2 -2
  168. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  169. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  170. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
  171. package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
  172. package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js +2 -2
  173. package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  174. package/mobile/dist/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
  175. package/mobile/dist/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  176. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
  177. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +6 -35
  178. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  179. package/mobile/dist/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
  180. package/mobile/dist/components/ApplicationLeadForm/renderInputs.js +2 -2
  181. package/mobile/dist/components/ApplicationLeadForm/renderInputs.js.map +1 -1
  182. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
  183. package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  184. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
  185. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  186. package/mobile/dist/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
  187. package/mobile/dist/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
  188. package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
  189. package/mobile/dist/components/CreditCardForm/renderInfo.d.ts +2 -2
  190. package/mobile/dist/components/CreditCardForm/renderInfo.js.map +1 -1
  191. package/mobile/dist/components/CreditCardForm/renderInputs.d.ts +2 -2
  192. package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
  193. package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  194. package/mobile/dist/components/CreditForm/CreditFormStep.d.ts +2 -2
  195. package/mobile/dist/components/CreditForm/CreditFormStep.js.map +1 -1
  196. package/mobile/dist/components/CreditForm/creditFormStepsData.d.ts +2 -2
  197. package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
  198. package/mobile/dist/components/CreditForm/renderInfo.d.ts +2 -2
  199. package/mobile/dist/components/CreditForm/renderInfo.js.map +1 -1
  200. package/mobile/dist/components/CreditForm/renderInputs.d.ts +2 -2
  201. package/mobile/dist/components/CreditForm/renderStep.d.ts +2 -2
  202. package/mobile/dist/components/CreditForm/renderStep.js.map +1 -1
  203. package/mobile/dist/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  204. package/mobile/dist/model/FormTypeFieldDef.d.ts +2 -0
  205. package/mobile/dist/model/FormTypeFieldDef.js +2 -0
  206. package/mobile/dist/model/FormTypeFieldDef.js.map +1 -0
  207. package/mobile/dist/model/InputSectionsType.d.ts +10 -1
  208. package/mobile/dist/services/retail/model/RetailFormContent.d.ts +1 -17
  209. package/mobile/dist/services/retail/model/RetailFormContent.js +0 -2
  210. package/mobile/dist/services/retail/model/RetailFormContent.js.map +1 -1
  211. package/mobile/dist/services/retail/utils/calculateInputs.d.ts +3 -2
  212. package/mobile/dist/services/retail/utils/calculateInputs.js.map +1 -1
  213. package/mobile/dist/ui-kit/DatePicker/DatePickerInput.js +21 -7
  214. package/mobile/dist/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  215. package/mobile/dist/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
  216. package/mobile/dist/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -1
  217. package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
  218. package/mobile/dist/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  219. package/mobile/dist/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  220. package/mobile/dist/ui-kit/FormField/getPremium.d.ts +2 -2
  221. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
  222. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  223. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
  224. package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
  225. package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js +2 -2
  226. package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
  227. package/mobile/lib/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
  228. package/mobile/lib/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
  229. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
  230. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +6 -35
  231. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  232. package/mobile/lib/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
  233. package/mobile/lib/components/ApplicationLeadForm/renderInputs.js +2 -2
  234. package/mobile/lib/components/ApplicationLeadForm/renderInputs.js.map +1 -1
  235. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
  236. package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
  237. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
  238. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  239. package/mobile/lib/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
  240. package/mobile/lib/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
  241. package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
  242. package/mobile/lib/components/CreditCardForm/renderInfo.d.ts +2 -2
  243. package/mobile/lib/components/CreditCardForm/renderInfo.js.map +1 -1
  244. package/mobile/lib/components/CreditCardForm/renderInputs.d.ts +2 -2
  245. package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
  246. package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
  247. package/mobile/lib/components/CreditForm/CreditFormStep.d.ts +2 -2
  248. package/mobile/lib/components/CreditForm/CreditFormStep.js.map +1 -1
  249. package/mobile/lib/components/CreditForm/creditFormStepsData.d.ts +2 -2
  250. package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
  251. package/mobile/lib/components/CreditForm/renderInfo.d.ts +2 -2
  252. package/mobile/lib/components/CreditForm/renderInfo.js.map +1 -1
  253. package/mobile/lib/components/CreditForm/renderInputs.d.ts +2 -2
  254. package/mobile/lib/components/CreditForm/renderStep.d.ts +2 -2
  255. package/mobile/lib/components/CreditForm/renderStep.js.map +1 -1
  256. package/mobile/lib/components/CreditForm/useCreditFormAPI.d.ts +2 -2
  257. package/mobile/lib/model/FormTypeFieldDef.d.ts +2 -0
  258. package/mobile/lib/model/FormTypeFieldDef.js +2 -0
  259. package/mobile/lib/model/FormTypeFieldDef.js.map +1 -0
  260. package/mobile/lib/model/InputSectionsType.d.ts +10 -1
  261. package/mobile/lib/services/retail/model/RetailFormContent.d.ts +1 -17
  262. package/mobile/lib/services/retail/model/RetailFormContent.js +0 -2
  263. package/mobile/lib/services/retail/model/RetailFormContent.js.map +1 -1
  264. package/mobile/lib/services/retail/utils/calculateInputs.d.ts +3 -2
  265. package/mobile/lib/services/retail/utils/calculateInputs.js.map +1 -1
  266. package/mobile/lib/ui-kit/DatePicker/DatePickerInput.js +21 -7
  267. package/mobile/lib/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
  268. package/mobile/lib/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
  269. package/mobile/lib/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -1
  270. package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
  271. package/mobile/lib/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
  272. package/mobile/lib/ui-kit/FormField/getObjectValidator.d.ts +1 -1
  273. package/mobile/lib/ui-kit/FormField/getPremium.d.ts +2 -2
  274. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +2 -22
  275. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +3 -2
  276. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +4 -72
  277. package/mobile/src/components/ApplicationLeadForm/GroupedConsents.tsx +48 -54
  278. package/mobile/src/components/ApplicationLeadForm/applicationFormData.tsx +2 -2
  279. package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +8 -43
  280. package/mobile/src/components/ApplicationLeadForm/renderInputs.tsx +5 -5
  281. package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -2
  282. package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +2 -2
  283. package/mobile/src/components/CreditCardForm/CreditCardFormContent.ts +4 -5
  284. package/mobile/src/components/CreditCardForm/CreditCardFormStep.tsx +4 -3
  285. package/mobile/src/components/CreditCardForm/renderInfo.tsx +2 -2
  286. package/mobile/src/components/CreditCardForm/renderInputs.tsx +2 -2
  287. package/mobile/src/components/CreditCardForm/useCreditCardFormAPI.tsx +2 -2
  288. package/mobile/src/components/CreditForm/CreditFormStep.tsx +4 -4
  289. package/mobile/src/components/CreditForm/creditFormStepsData.tsx +2 -2
  290. package/mobile/src/components/CreditForm/renderInfo.tsx +2 -2
  291. package/mobile/src/components/CreditForm/renderInputs.tsx +2 -2
  292. package/mobile/src/components/CreditForm/renderStep.tsx +2 -2
  293. package/mobile/src/components/CreditForm/useCreditFormAPI.tsx +2 -2
  294. package/mobile/src/model/FormTypeFieldDef.ts +20 -0
  295. package/mobile/src/model/InputSectionsType.ts +12 -1
  296. package/mobile/src/services/retail/model/RetailFormContent.ts +1 -42
  297. package/mobile/src/services/retail/utils/calculateInputs.ts +3 -2
  298. package/mobile/src/ui-kit/DatePicker/DatePickerInput.tsx +37 -7
  299. package/mobile/src/ui-kit/FormField/CustomFieldProps.ts +6 -5
  300. package/mobile/src/ui-kit/FormField/Fields/AddressBranchField.tsx +2 -2
  301. package/mobile/src/ui-kit/FormField/Fields/EmailField.tsx +1 -1
  302. package/mobile/src/ui-kit/FormField/Fields/PartnerCommentsField.tsx +1 -1
  303. package/mobile/src/ui-kit/FormField/getConsentDataProcessing.tsx +1 -1
  304. package/mobile/src/ui-kit/FormField/getField.tsx +3 -5
  305. package/mobile/src/ui-kit/FormField/getNamesFromInput.tsx +1 -1
  306. package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
  307. package/mobile/src/ui-kit/FormField/getPremium.tsx +2 -2
  308. package/package.json +1 -1
  309. package/src/components/ApplicationForm/ApplicationFormContent.ts +2 -22
  310. package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +3 -2
  311. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +4 -72
  312. package/src/components/ApplicationLeadForm/GroupedConsents.tsx +48 -54
  313. package/src/components/ApplicationLeadForm/applicationFormData.tsx +2 -2
  314. package/src/components/ApplicationLeadForm/getInitialFormState.tsx +8 -43
  315. package/src/components/ApplicationLeadForm/renderInputs.tsx +5 -5
  316. package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -2
  317. package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +2 -2
  318. package/src/components/CreditCardForm/CreditCardFormContent.ts +4 -5
  319. package/src/components/CreditCardForm/CreditCardFormStep.tsx +4 -3
  320. package/src/components/CreditCardForm/renderInfo.tsx +2 -2
  321. package/src/components/CreditCardForm/renderInputs.tsx +2 -2
  322. package/src/components/CreditCardForm/useCreditCardFormAPI.tsx +2 -2
  323. package/src/components/CreditForm/CreditFormStep.tsx +4 -4
  324. package/src/components/CreditForm/creditFormStepsData.tsx +2 -2
  325. package/src/components/CreditForm/renderInfo.tsx +2 -2
  326. package/src/components/CreditForm/renderInputs.tsx +2 -2
  327. package/src/components/CreditForm/renderStep.tsx +2 -2
  328. package/src/components/CreditForm/useCreditFormAPI.tsx +2 -2
  329. package/src/model/FormTypeFieldDef.ts +20 -0
  330. package/src/model/InputSectionsType.ts +12 -1
  331. package/src/services/retail/model/RetailFormContent.ts +1 -42
  332. package/src/services/retail/utils/calculateInputs.ts +3 -2
  333. package/src/ui-kit/DatePicker/DatePickerInput.tsx +37 -7
  334. package/src/ui-kit/FormField/CustomFieldProps.ts +6 -5
  335. package/src/ui-kit/FormField/Fields/AddressBranchField.tsx +2 -2
  336. package/src/ui-kit/FormField/Fields/EmailField.tsx +1 -1
  337. package/src/ui-kit/FormField/Fields/PartnerCommentsField.tsx +1 -1
  338. package/src/ui-kit/FormField/getConsentDataProcessing.tsx +1 -1
  339. package/src/ui-kit/FormField/getField.tsx +3 -5
  340. package/src/ui-kit/FormField/getNamesFromInput.tsx +1 -1
  341. package/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
  342. package/src/ui-kit/FormField/getPremium.tsx +2 -2
@@ -2042,10 +2042,7 @@
2042
2042
  };
2043
2043
  const onBlur = () => {
2044
2044
  if (checkIsValidDate(inputValue)) {
2045
- const [day, month, year] = inputValue.split('.');
2046
- onChange?.(new Date(Number(year), Number(month) - 1, Number(day)));
2047
- setSelectedMonth(Number(month) - 1);
2048
- setSelectedYear(Number(year));
2045
+ updateSelectedDate({ inputValue, setSelectedMonth, setSelectedYear, onChange });
2049
2046
  }
2050
2047
  else {
2051
2048
  setInputValue(value || '');
@@ -2060,6 +2057,9 @@
2060
2057
  useEffect(() => {
2061
2058
  setInputValue(value || '');
2062
2059
  }, [value]);
2060
+ useEffect(() => {
2061
+ updateSelectedDate({ inputValue, setSelectedMonth, setSelectedYear, onChange });
2062
+ }, [inputValue]);
2063
2063
  return (jsxs("div", { onClick: onInputClick, className: style('relative', className), children: [jsx("input", { ref: ref, className: "h-full w-full px-m text-l text-black focus-visible:outline-none", value: inputValue, type: "text", onChange: handleChange, onBlur: onBlur, disabled: disabled }), disabled ? null : jsx(Icon, { className: "mr-s", ...ICON_PROPS$1 })] }));
2064
2064
  });
2065
2065
  const isValidYear = (year) => Number(year) >= START_YEAR && Number(year) <= new Date().getFullYear();
@@ -2074,13 +2074,27 @@
2074
2074
  currentDate.setDate(currentDate.getDate() + 1);
2075
2075
  maxDateOfMonth++;
2076
2076
  }
2077
- if (Number(day) > 0 && Number(day) <= maxDateOfMonth) {
2078
- return true;
2079
- }
2077
+ return Number(day) > 0 && Number(day) <= maxDateOfMonth;
2080
2078
  }
2081
2079
  }
2082
2080
  return false;
2083
2081
  };
2082
+ const parseDate = (inputValue) => {
2083
+ const [dayStr, monthStr, yearStr] = inputValue.split('.');
2084
+ return {
2085
+ day: Number(dayStr),
2086
+ month: Number(monthStr) - 1,
2087
+ year: Number(yearStr),
2088
+ };
2089
+ };
2090
+ const updateSelectedDate = ({ inputValue, setSelectedMonth, setSelectedYear, onChange, }) => {
2091
+ if (checkIsValidDate(inputValue)) {
2092
+ const { day, month, year } = parseDate(inputValue);
2093
+ setSelectedMonth(month);
2094
+ setSelectedYear(year);
2095
+ onChange?.(new Date(year, month, day));
2096
+ }
2097
+ };
2084
2098
 
2085
2099
  const formStyle = 'flex justify-between items-center h-14 border rounded-md cursor-pointer ' +
2086
2100
  'hover:border-black active:border-black focus:border-black';
@@ -4442,7 +4456,7 @@
4442
4456
 
4443
4457
  const CONSENT_ALL_DOCS_TEXT = 'Согласие на все документы';
4444
4458
  const CONSENT_REQUIRED = 'Отметьте все обязательные соглашения';
4445
- const GroupedConsents = JSX(({ inputs = [], typeForm = '', field, key }) => {
4459
+ const GroupedConsents = JSX(({ inputs = [], field, key }) => {
4446
4460
  const isChecked = inputs.every((_) => Boolean(field(_.name).value));
4447
4461
  const handleGeneralToggle = (value) => {
4448
4462
  for (const item of inputs) {
@@ -4453,13 +4467,13 @@
4453
4467
  const hasValidationErrors = useMemo(() => inputs
4454
4468
  ?.filter((_) => _.required)
4455
4469
  ?.some((_) => Boolean(withValidator(field(_?.name), validatorObj[_?.name]).error)), [inputs]);
4456
- return (jsx("div", { className: "w-fit", children: jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: true, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { isUnfolded: isUnfolded, className: "flex flex-col pl-2xl", children: inputs.map(getField(field, { typeForm }, InputsConsentsMap)) })), renderFoldButton: renderGeneralCheckbox(jsxs("div", { children: [jsx(Checkbox, { value: isChecked, onChange: handleGeneralToggle, text: CONSENT_ALL_DOCS_TEXT }, key), renderErrorText(hasValidationErrors ? CONSENT_REQUIRED : '')] })) }) }));
4470
+ return (jsx("div", { className: "w-fit", children: jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: true, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { isUnfolded: isUnfolded, className: "flex flex-col pl-2xl", children: inputs.map(getField(field, {}, InputsConsentsMap)) })), renderFoldButton: renderGeneralCheckbox(jsxs("div", { children: [jsx(Checkbox, { value: isChecked, onChange: handleGeneralToggle, text: CONSENT_ALL_DOCS_TEXT }, key), renderErrorText(hasValidationErrors ? CONSENT_REQUIRED : '')] })) }) }));
4457
4471
  });
4458
4472
  const renderGeneralCheckbox = (generalCheckBox) => (foldableData) => (jsxs("div", { className: "flex items-start", children: [generalCheckBox, jsx("button", { onClick: foldableData.onToggle, className: "px-m py-2xs", type: "button", children: jsx(Icon, { className: "text-primary-text", name: foldableData.isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" }) })] }));
4459
4473
 
4460
- const renderInputs$2 = ({ field, typeForm = '', inputs }) => {
4474
+ const renderInputs$2 = ({ field, inputs }) => {
4461
4475
  const { consentInputs, restInputs } = splitInputs(inputs || []);
4462
- return consentInputs.length > 2 ? (jsxs("div", { children: [restInputs.map(getField(field, { typeForm }, { ...InputsApplicationLeadMap })), jsx(GroupedConsents, { inputs: consentInputs, field: field })] })) : ((inputs || [])?.map(getField(field, { typeForm }, { ...InputsApplicationLeadMap })));
4476
+ return consentInputs.length > 2 ? (jsxs("div", { children: [restInputs.map(getField(field, {}, { ...InputsApplicationLeadMap })), jsx(GroupedConsents, { inputs: consentInputs, field: field })] })) : ((inputs || [])?.map(getField(field, {}, { ...InputsApplicationLeadMap })));
4463
4477
  };
4464
4478
  const splitInputs = (inputs) => ({
4465
4479
  consentInputs: inputs?.filter((_) => Object.keys(CONSENTS).includes(_.name || '')) || [],
@@ -5271,50 +5285,24 @@
5271
5285
  }, [target, key]);
5272
5286
 
5273
5287
  const initialFormState = {
5274
- typeForm: '',
5275
- region: { key: '', text: '' },
5276
5288
  surname: '',
5277
5289
  name: '',
5278
- phone: '',
5279
- secondaryPhone: '',
5280
- organizationPhone: '',
5281
- comment: '',
5282
- product: '',
5283
- partnerComments: '',
5284
- annualRevenue: '',
5285
- term: 12,
5286
- amount: 100000,
5287
- acquiringType: ACQUIRING_TYPES[0],
5288
- serviceType: SERVICE_TYPES[0],
5289
- feedbackMethod: FEEDBACK_METHOD[0],
5290
- serviceDirection: SERVICE_DIRECTIONS[0],
5291
- vedTypes: VED_TYPES[0],
5290
+ middleName: '',
5292
5291
  limitedBirthday: undefined,
5293
- isClient: false,
5294
- onlineCheckout: false,
5295
- posTerminal: false,
5296
- consentDataProcessing: false,
5292
+ phone: '',
5293
+ email: '',
5297
5294
  processPersonalDataFlg: false,
5298
5295
  consentProviderFlg: false,
5299
5296
  consentOthersFlg: false,
5300
5297
  consentInformFlg: false,
5301
- addressRegistration: '',
5302
- participantDateRegistration: undefined,
5303
- currency: '',
5304
- paymentSystem: { name: '', type: '' },
5305
- cardCategory: { key: '', text: '' },
5306
- codeWord: '',
5307
- addressRetail: { key: '', text: '' },
5298
+ consentPfrFlg: false,
5308
5299
  };
5309
5300
  const getInitialFormState$2 = (inputs, savedForm) => {
5310
5301
  if (savedForm) {
5311
5302
  return { ...savedForm, limitedBirthday: new Date(savedForm?.limitedBirthday || 0) };
5312
5303
  }
5313
- const formState = Object.fromEntries(inputs.map((_) => [
5314
- _.name,
5315
- (_.fieldType === 'ved' && _?.defaultValue) || initialFormState[_.name || ''],
5316
- ]));
5317
- return { ...formState, typeForm: { key: '', text: '' } };
5304
+ const formState = Object.fromEntries(inputs.map((_) => [_.name, initialFormState[_.name || '']]));
5305
+ return { ...formState };
5318
5306
  };
5319
5307
 
5320
5308
  const parseEsiaProfile = (esiaProfile) => {
@@ -10478,7 +10466,7 @@
10478
10466
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10479
10467
  });
10480
10468
 
10481
- const packageVersion = "0.14.728";
10469
+ const packageVersion = "0.14.730";
10482
10470
 
10483
10471
  exports.Blocks = Blocks;
10484
10472
  exports.ContentPage = ContentPage;