@redneckz/wildless-cms-uni-blocks 0.14.211 → 0.14.213

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 (658) hide show
  1. package/bin/migration-scripts/0.14.169.js +3 -2
  2. package/bin/migration-scripts/0.14.213.js +235 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +525 -625
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -44
  7. package/bundle/components/ApplicationForm/ApplicationFormFeedback.d.ts +5 -2
  8. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -2
  9. package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +0 -5
  10. package/bundle/components/ApplicationFormCustom/AcquiringField.d.ts +5 -0
  11. package/bundle/components/ApplicationFormCustom/AddressBranchField.d.ts +6 -0
  12. package/bundle/components/ApplicationFormCustom/AmountField.d.ts +2 -0
  13. package/bundle/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +7 -4
  14. package/bundle/components/ApplicationFormCustom/CommentField.d.ts +2 -0
  15. package/bundle/components/ApplicationFormCustom/CustomFieldProps.d.ts +6 -0
  16. package/bundle/components/ApplicationFormCustom/OnlineCheckoutField.d.ts +2 -0
  17. package/bundle/components/ApplicationFormCustom/PosTerminalField.d.ts +2 -0
  18. package/bundle/components/ApplicationFormCustom/RegionField.d.ts +2 -0
  19. package/bundle/components/ApplicationFormCustom/RegionPremiumField.d.ts +2 -0
  20. package/bundle/components/ApplicationFormCustom/TermField.d.ts +2 -0
  21. package/bundle/components/ApplicationFormCustom/UltraPremiumField.d.ts +4 -0
  22. package/bundle/components/ApplicationFormCustom/getField.d.ts +4 -2
  23. package/bundle/components/ApplicationFormCustom/getInitialFormState.d.ts +6 -0
  24. package/bundle/components/ApplicationFormCustom/getPartnerComments.d.ts +2 -0
  25. package/bundle/ui-kit/Input/InputPhoneControl.d.ts +2 -0
  26. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -44
  27. package/dist/components/ApplicationForm/ApplicationFormFeedback.d.ts +5 -2
  28. package/dist/components/ApplicationForm/ApplicationFormFeedback.js +9 -7
  29. package/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  30. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -2
  31. package/dist/components/ApplicationForm/EmbeddableForms.d.ts +0 -5
  32. package/dist/components/ApplicationForm/EmbeddableForms.js +0 -10
  33. package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  34. package/dist/components/ApplicationForm/renderWedDataOrganization.js +3 -3
  35. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  36. package/dist/components/ApplicationFormCustom/AcquiringField.d.ts +5 -0
  37. package/dist/components/ApplicationFormCustom/AcquiringField.js +29 -0
  38. package/dist/components/ApplicationFormCustom/AcquiringField.js.map +1 -0
  39. package/dist/components/ApplicationFormCustom/AddressBranchField.d.ts +6 -0
  40. package/dist/components/{ApplicationForm → ApplicationFormCustom}/AddressBranchField.js +12 -5
  41. package/dist/components/ApplicationFormCustom/AddressBranchField.js.map +1 -0
  42. package/dist/components/ApplicationFormCustom/AmountField.d.ts +2 -0
  43. package/dist/components/ApplicationFormCustom/AmountField.js +10 -0
  44. package/dist/components/ApplicationFormCustom/AmountField.js.map +1 -0
  45. package/dist/components/ApplicationFormCustom/ApplicationFormCustom.js +4 -4
  46. package/dist/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
  47. package/dist/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +7 -4
  48. package/dist/components/ApplicationFormCustom/CommentField.d.ts +2 -0
  49. package/dist/components/ApplicationFormCustom/CommentField.js +9 -0
  50. package/dist/components/ApplicationFormCustom/CommentField.js.map +1 -0
  51. package/dist/components/ApplicationFormCustom/CustomFieldProps.d.ts +6 -0
  52. package/dist/components/{ApplicationForm/models.js → ApplicationFormCustom/CustomFieldProps.js} +1 -1
  53. package/dist/components/ApplicationFormCustom/CustomFieldProps.js.map +1 -0
  54. package/dist/components/ApplicationFormCustom/OnlineCheckoutField.d.ts +2 -0
  55. package/dist/components/ApplicationFormCustom/OnlineCheckoutField.js +8 -0
  56. package/dist/components/ApplicationFormCustom/OnlineCheckoutField.js.map +1 -0
  57. package/dist/components/ApplicationFormCustom/PosTerminalField.d.ts +2 -0
  58. package/dist/components/ApplicationFormCustom/PosTerminalField.js +8 -0
  59. package/dist/components/ApplicationFormCustom/PosTerminalField.js.map +1 -0
  60. package/dist/components/ApplicationFormCustom/RegionField.d.ts +2 -0
  61. package/dist/components/ApplicationFormCustom/RegionField.js +14 -0
  62. package/dist/components/ApplicationFormCustom/RegionField.js.map +1 -0
  63. package/dist/components/ApplicationFormCustom/RegionPremiumField.d.ts +2 -0
  64. package/{mobile/dist/components/ApplicationForm → dist/components/ApplicationFormCustom}/RegionPremiumField.js +7 -6
  65. package/dist/components/ApplicationFormCustom/RegionPremiumField.js.map +1 -0
  66. package/dist/components/ApplicationFormCustom/TermField.d.ts +2 -0
  67. package/dist/components/ApplicationFormCustom/TermField.js +10 -0
  68. package/dist/components/ApplicationFormCustom/TermField.js.map +1 -0
  69. package/dist/components/ApplicationFormCustom/UltraPremiumField.d.ts +4 -0
  70. package/dist/components/ApplicationFormCustom/UltraPremiumField.js +13 -0
  71. package/dist/components/ApplicationFormCustom/UltraPremiumField.js.map +1 -0
  72. package/dist/components/ApplicationFormCustom/getField.d.ts +4 -2
  73. package/dist/components/ApplicationFormCustom/getField.js +35 -14
  74. package/dist/components/ApplicationFormCustom/getField.js.map +1 -1
  75. package/dist/components/ApplicationFormCustom/getFormatData.js +15 -0
  76. package/dist/components/ApplicationFormCustom/getFormatData.js.map +1 -0
  77. package/dist/components/ApplicationFormCustom/getInitialFormState.d.ts +6 -0
  78. package/dist/components/ApplicationFormCustom/getInitialFormState.js +18 -3
  79. package/dist/components/ApplicationFormCustom/getInitialFormState.js.map +1 -1
  80. package/dist/components/ApplicationFormCustom/getObjectValidator.js +4 -0
  81. package/dist/components/ApplicationFormCustom/getObjectValidator.js.map +1 -1
  82. package/dist/components/ApplicationFormCustom/getPartnerComments.d.ts +2 -0
  83. package/dist/components/ApplicationFormCustom/getPartnerComments.js +16 -0
  84. package/dist/components/ApplicationFormCustom/getPartnerComments.js.map +1 -0
  85. package/dist/ui-kit/Input/InputPhoneControl.d.ts +2 -0
  86. package/{mobile/dist/components/ApplicationForm/PhoneInputControl.js → dist/ui-kit/Input/InputPhoneControl.js} +5 -5
  87. package/dist/ui-kit/Input/InputPhoneControl.js.map +1 -0
  88. package/dist/ui-kit/Pagination/PaginationContainer.js +2 -2
  89. package/dist/ui-kit/Pagination/PaginationContainer.js.map +1 -1
  90. package/dist/ui-kit/Pagination/shouldRenderPage.js +4 -4
  91. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +0 -5
  92. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +0 -5
  93. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -44
  94. package/lib/components/ApplicationForm/ApplicationFormFeedback.d.ts +5 -2
  95. package/lib/components/ApplicationForm/ApplicationFormFeedback.js +9 -7
  96. package/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  97. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -2
  98. package/lib/components/ApplicationForm/EmbeddableForms.d.ts +0 -5
  99. package/lib/components/ApplicationForm/EmbeddableForms.js +0 -10
  100. package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  101. package/lib/components/ApplicationForm/renderWedDataOrganization.js +3 -3
  102. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  103. package/lib/components/ApplicationFormCustom/AcquiringField.d.ts +5 -0
  104. package/lib/components/ApplicationFormCustom/AcquiringField.js +26 -0
  105. package/lib/components/ApplicationFormCustom/AcquiringField.js.map +1 -0
  106. package/lib/components/ApplicationFormCustom/AddressBranchField.d.ts +6 -0
  107. package/{mobile/lib/components/ApplicationForm → lib/components/ApplicationFormCustom}/AddressBranchField.js +12 -5
  108. package/lib/components/ApplicationFormCustom/AddressBranchField.js.map +1 -0
  109. package/lib/components/ApplicationFormCustom/AmountField.d.ts +2 -0
  110. package/lib/components/ApplicationFormCustom/AmountField.js +8 -0
  111. package/lib/components/ApplicationFormCustom/AmountField.js.map +1 -0
  112. package/lib/components/ApplicationFormCustom/ApplicationFormCustom.fixture.d.ts +5 -0
  113. package/lib/components/ApplicationFormCustom/ApplicationFormCustom.js +4 -4
  114. package/lib/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
  115. package/lib/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +7 -4
  116. package/lib/components/ApplicationFormCustom/CommentField.d.ts +2 -0
  117. package/lib/components/ApplicationFormCustom/CommentField.js +7 -0
  118. package/lib/components/ApplicationFormCustom/CommentField.js.map +1 -0
  119. package/lib/components/ApplicationFormCustom/CustomFieldProps.d.ts +6 -0
  120. package/lib/components/ApplicationFormCustom/CustomFieldProps.js +2 -0
  121. package/lib/components/ApplicationFormCustom/CustomFieldProps.js.map +1 -0
  122. package/lib/components/ApplicationFormCustom/OnlineCheckoutField.d.ts +2 -0
  123. package/lib/components/ApplicationFormCustom/OnlineCheckoutField.js +6 -0
  124. package/lib/components/ApplicationFormCustom/OnlineCheckoutField.js.map +1 -0
  125. package/lib/components/ApplicationFormCustom/PosTerminalField.d.ts +2 -0
  126. package/lib/components/ApplicationFormCustom/PosTerminalField.js +6 -0
  127. package/lib/components/ApplicationFormCustom/PosTerminalField.js.map +1 -0
  128. package/lib/components/ApplicationFormCustom/RegionField.d.ts +2 -0
  129. package/lib/components/ApplicationFormCustom/RegionField.js +12 -0
  130. package/lib/components/ApplicationFormCustom/RegionField.js.map +1 -0
  131. package/lib/components/ApplicationFormCustom/RegionPremiumField.d.ts +2 -0
  132. package/{mobile/lib/components/ApplicationForm → lib/components/ApplicationFormCustom}/RegionPremiumField.js +7 -6
  133. package/lib/components/ApplicationFormCustom/RegionPremiumField.js.map +1 -0
  134. package/lib/components/ApplicationFormCustom/TermField.d.ts +2 -0
  135. package/lib/components/ApplicationFormCustom/TermField.js +8 -0
  136. package/lib/components/ApplicationFormCustom/TermField.js.map +1 -0
  137. package/lib/components/ApplicationFormCustom/UltraPremiumField.d.ts +4 -0
  138. package/lib/components/ApplicationFormCustom/UltraPremiumField.js +11 -0
  139. package/lib/components/ApplicationFormCustom/UltraPremiumField.js.map +1 -0
  140. package/lib/components/ApplicationFormCustom/getField.d.ts +4 -2
  141. package/lib/components/ApplicationFormCustom/getField.js +28 -8
  142. package/lib/components/ApplicationFormCustom/getField.js.map +1 -1
  143. package/lib/components/ApplicationFormCustom/getFormatData.js +12 -0
  144. package/lib/components/ApplicationFormCustom/getFormatData.js.map +1 -0
  145. package/lib/components/ApplicationFormCustom/getInitialFormState.d.ts +6 -0
  146. package/lib/components/ApplicationFormCustom/getInitialFormState.js +18 -3
  147. package/lib/components/ApplicationFormCustom/getInitialFormState.js.map +1 -1
  148. package/lib/components/ApplicationFormCustom/getObjectValidator.js +4 -0
  149. package/lib/components/ApplicationFormCustom/getObjectValidator.js.map +1 -1
  150. package/lib/components/ApplicationFormCustom/getPartnerComments.d.ts +2 -0
  151. package/lib/components/ApplicationFormCustom/getPartnerComments.js +13 -0
  152. package/lib/components/ApplicationFormCustom/getPartnerComments.js.map +1 -0
  153. package/lib/ui-kit/Input/InputPhoneControl.d.ts +2 -0
  154. package/lib/{components/ApplicationForm/PhoneInputControl.js → ui-kit/Input/InputPhoneControl.js} +4 -4
  155. package/lib/ui-kit/Input/InputPhoneControl.js.map +1 -0
  156. package/lib/ui-kit/Pagination/PaginationContainer.js +2 -2
  157. package/lib/ui-kit/Pagination/PaginationContainer.js.map +1 -1
  158. package/lib/ui-kit/Pagination/shouldRenderPage.js +4 -4
  159. package/mobile/bundle/bundle.umd.js +519 -619
  160. package/mobile/bundle/bundle.umd.min.js +1 -1
  161. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -44
  162. package/mobile/bundle/components/ApplicationForm/ApplicationFormFeedback.d.ts +5 -2
  163. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -2
  164. package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +0 -5
  165. package/mobile/bundle/components/ApplicationFormCustom/AcquiringField.d.ts +5 -0
  166. package/mobile/bundle/components/ApplicationFormCustom/AddressBranchField.d.ts +6 -0
  167. package/mobile/bundle/components/ApplicationFormCustom/AmountField.d.ts +2 -0
  168. package/mobile/bundle/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +7 -4
  169. package/mobile/bundle/components/ApplicationFormCustom/CommentField.d.ts +2 -0
  170. package/mobile/bundle/components/ApplicationFormCustom/CustomFieldProps.d.ts +6 -0
  171. package/mobile/bundle/components/ApplicationFormCustom/OnlineCheckoutField.d.ts +2 -0
  172. package/mobile/bundle/components/ApplicationFormCustom/PosTerminalField.d.ts +2 -0
  173. package/mobile/bundle/components/ApplicationFormCustom/RegionField.d.ts +2 -0
  174. package/mobile/bundle/components/ApplicationFormCustom/RegionPremiumField.d.ts +2 -0
  175. package/mobile/bundle/components/ApplicationFormCustom/TermField.d.ts +2 -0
  176. package/mobile/bundle/components/ApplicationFormCustom/UltraPremiumField.d.ts +4 -0
  177. package/mobile/bundle/components/ApplicationFormCustom/getField.d.ts +4 -2
  178. package/mobile/bundle/components/ApplicationFormCustom/getInitialFormState.d.ts +6 -0
  179. package/mobile/bundle/components/ApplicationFormCustom/getPartnerComments.d.ts +2 -0
  180. package/mobile/bundle/ui-kit/Input/InputPhoneControl.d.ts +2 -0
  181. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -44
  182. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.d.ts +5 -2
  183. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js +9 -7
  184. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  185. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -2
  186. package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +0 -5
  187. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +0 -10
  188. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  189. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +3 -3
  190. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  191. package/mobile/dist/components/ApplicationFormCustom/AcquiringField.d.ts +5 -0
  192. package/mobile/dist/components/ApplicationFormCustom/AcquiringField.js +29 -0
  193. package/mobile/dist/components/ApplicationFormCustom/AcquiringField.js.map +1 -0
  194. package/mobile/dist/components/ApplicationFormCustom/AddressBranchField.d.ts +6 -0
  195. package/mobile/dist/components/{ApplicationForm → ApplicationFormCustom}/AddressBranchField.js +12 -5
  196. package/mobile/dist/components/ApplicationFormCustom/AddressBranchField.js.map +1 -0
  197. package/mobile/dist/components/ApplicationFormCustom/AmountField.d.ts +2 -0
  198. package/mobile/dist/components/ApplicationFormCustom/AmountField.js +10 -0
  199. package/mobile/dist/components/ApplicationFormCustom/AmountField.js.map +1 -0
  200. package/mobile/dist/components/ApplicationFormCustom/ApplicationFormCustom.js +4 -4
  201. package/mobile/dist/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
  202. package/mobile/dist/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +7 -4
  203. package/mobile/dist/components/ApplicationFormCustom/CommentField.d.ts +2 -0
  204. package/mobile/dist/components/ApplicationFormCustom/CommentField.js +9 -0
  205. package/mobile/dist/components/ApplicationFormCustom/CommentField.js.map +1 -0
  206. package/mobile/dist/components/ApplicationFormCustom/CustomFieldProps.d.ts +6 -0
  207. package/mobile/dist/components/{ApplicationForm/models.js → ApplicationFormCustom/CustomFieldProps.js} +1 -1
  208. package/mobile/dist/components/ApplicationFormCustom/CustomFieldProps.js.map +1 -0
  209. package/mobile/dist/components/ApplicationFormCustom/OnlineCheckoutField.d.ts +2 -0
  210. package/mobile/dist/components/ApplicationFormCustom/OnlineCheckoutField.js +8 -0
  211. package/mobile/dist/components/ApplicationFormCustom/OnlineCheckoutField.js.map +1 -0
  212. package/mobile/dist/components/ApplicationFormCustom/PosTerminalField.d.ts +2 -0
  213. package/mobile/dist/components/ApplicationFormCustom/PosTerminalField.js +8 -0
  214. package/mobile/dist/components/ApplicationFormCustom/PosTerminalField.js.map +1 -0
  215. package/mobile/dist/components/ApplicationFormCustom/RegionField.d.ts +2 -0
  216. package/mobile/dist/components/ApplicationFormCustom/RegionField.js +14 -0
  217. package/mobile/dist/components/ApplicationFormCustom/RegionField.js.map +1 -0
  218. package/mobile/dist/components/ApplicationFormCustom/RegionPremiumField.d.ts +2 -0
  219. package/{dist/components/ApplicationForm → mobile/dist/components/ApplicationFormCustom}/RegionPremiumField.js +7 -6
  220. package/mobile/dist/components/ApplicationFormCustom/RegionPremiumField.js.map +1 -0
  221. package/mobile/dist/components/ApplicationFormCustom/TermField.d.ts +2 -0
  222. package/mobile/dist/components/ApplicationFormCustom/TermField.js +10 -0
  223. package/mobile/dist/components/ApplicationFormCustom/TermField.js.map +1 -0
  224. package/mobile/dist/components/ApplicationFormCustom/UltraPremiumField.d.ts +4 -0
  225. package/mobile/dist/components/ApplicationFormCustom/UltraPremiumField.js +13 -0
  226. package/mobile/dist/components/ApplicationFormCustom/UltraPremiumField.js.map +1 -0
  227. package/mobile/dist/components/ApplicationFormCustom/getField.d.ts +4 -2
  228. package/mobile/dist/components/ApplicationFormCustom/getField.js +35 -14
  229. package/mobile/dist/components/ApplicationFormCustom/getField.js.map +1 -1
  230. package/mobile/dist/components/ApplicationFormCustom/getFormatData.js +15 -0
  231. package/mobile/dist/components/ApplicationFormCustom/getFormatData.js.map +1 -0
  232. package/mobile/dist/components/ApplicationFormCustom/getInitialFormState.d.ts +6 -0
  233. package/mobile/dist/components/ApplicationFormCustom/getInitialFormState.js +18 -3
  234. package/mobile/dist/components/ApplicationFormCustom/getInitialFormState.js.map +1 -1
  235. package/mobile/dist/components/ApplicationFormCustom/getObjectValidator.js +4 -0
  236. package/mobile/dist/components/ApplicationFormCustom/getObjectValidator.js.map +1 -1
  237. package/mobile/dist/components/ApplicationFormCustom/getPartnerComments.d.ts +2 -0
  238. package/mobile/dist/components/ApplicationFormCustom/getPartnerComments.js +16 -0
  239. package/mobile/dist/components/ApplicationFormCustom/getPartnerComments.js.map +1 -0
  240. package/mobile/dist/ui-kit/Input/InputPhoneControl.d.ts +2 -0
  241. package/{dist/components/ApplicationForm/PhoneInputControl.js → mobile/dist/ui-kit/Input/InputPhoneControl.js} +5 -5
  242. package/mobile/dist/ui-kit/Input/InputPhoneControl.js.map +1 -0
  243. package/mobile/dist/ui-kit/Pagination/PaginationContainer.js +2 -2
  244. package/mobile/dist/ui-kit/Pagination/PaginationContainer.js.map +1 -1
  245. package/mobile/dist/ui-kit/Pagination/shouldRenderPage.js +4 -4
  246. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -44
  247. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.d.ts +5 -2
  248. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js +9 -7
  249. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  250. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -2
  251. package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +0 -5
  252. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +0 -10
  253. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  254. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +3 -3
  255. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  256. package/mobile/lib/components/ApplicationFormCustom/AcquiringField.d.ts +5 -0
  257. package/mobile/lib/components/ApplicationFormCustom/AcquiringField.js +26 -0
  258. package/mobile/lib/components/ApplicationFormCustom/AcquiringField.js.map +1 -0
  259. package/mobile/lib/components/ApplicationFormCustom/AddressBranchField.d.ts +6 -0
  260. package/{lib/components/ApplicationForm → mobile/lib/components/ApplicationFormCustom}/AddressBranchField.js +12 -5
  261. package/mobile/lib/components/ApplicationFormCustom/AddressBranchField.js.map +1 -0
  262. package/mobile/lib/components/ApplicationFormCustom/AmountField.d.ts +2 -0
  263. package/mobile/lib/components/ApplicationFormCustom/AmountField.js +8 -0
  264. package/mobile/lib/components/ApplicationFormCustom/AmountField.js.map +1 -0
  265. package/mobile/lib/components/ApplicationFormCustom/ApplicationFormCustom.js +4 -4
  266. package/mobile/lib/components/ApplicationFormCustom/ApplicationFormCustom.js.map +1 -1
  267. package/mobile/lib/components/ApplicationFormCustom/ApplicationFormCustomContent.d.ts +7 -4
  268. package/mobile/lib/components/ApplicationFormCustom/CommentField.d.ts +2 -0
  269. package/mobile/lib/components/ApplicationFormCustom/CommentField.js +7 -0
  270. package/mobile/lib/components/ApplicationFormCustom/CommentField.js.map +1 -0
  271. package/mobile/lib/components/ApplicationFormCustom/CustomFieldProps.d.ts +6 -0
  272. package/mobile/lib/components/ApplicationFormCustom/CustomFieldProps.js +2 -0
  273. package/mobile/lib/components/ApplicationFormCustom/CustomFieldProps.js.map +1 -0
  274. package/mobile/lib/components/ApplicationFormCustom/OnlineCheckoutField.d.ts +2 -0
  275. package/mobile/lib/components/ApplicationFormCustom/OnlineCheckoutField.js +6 -0
  276. package/mobile/lib/components/ApplicationFormCustom/OnlineCheckoutField.js.map +1 -0
  277. package/mobile/lib/components/ApplicationFormCustom/PosTerminalField.d.ts +2 -0
  278. package/mobile/lib/components/ApplicationFormCustom/PosTerminalField.js +6 -0
  279. package/mobile/lib/components/ApplicationFormCustom/PosTerminalField.js.map +1 -0
  280. package/mobile/lib/components/ApplicationFormCustom/RegionField.d.ts +2 -0
  281. package/mobile/lib/components/ApplicationFormCustom/RegionField.js +12 -0
  282. package/mobile/lib/components/ApplicationFormCustom/RegionField.js.map +1 -0
  283. package/mobile/lib/components/ApplicationFormCustom/RegionPremiumField.d.ts +2 -0
  284. package/{lib/components/ApplicationForm → mobile/lib/components/ApplicationFormCustom}/RegionPremiumField.js +7 -6
  285. package/mobile/lib/components/ApplicationFormCustom/RegionPremiumField.js.map +1 -0
  286. package/mobile/lib/components/ApplicationFormCustom/TermField.d.ts +2 -0
  287. package/mobile/lib/components/ApplicationFormCustom/TermField.js +8 -0
  288. package/mobile/lib/components/ApplicationFormCustom/TermField.js.map +1 -0
  289. package/mobile/lib/components/ApplicationFormCustom/UltraPremiumField.d.ts +4 -0
  290. package/mobile/lib/components/ApplicationFormCustom/UltraPremiumField.js +11 -0
  291. package/mobile/lib/components/ApplicationFormCustom/UltraPremiumField.js.map +1 -0
  292. package/mobile/lib/components/ApplicationFormCustom/getField.d.ts +4 -2
  293. package/mobile/lib/components/ApplicationFormCustom/getField.js +28 -8
  294. package/mobile/lib/components/ApplicationFormCustom/getField.js.map +1 -1
  295. package/mobile/lib/components/ApplicationFormCustom/getFormatData.js +12 -0
  296. package/mobile/lib/components/ApplicationFormCustom/getFormatData.js.map +1 -0
  297. package/mobile/lib/components/ApplicationFormCustom/getInitialFormState.d.ts +6 -0
  298. package/mobile/lib/components/ApplicationFormCustom/getInitialFormState.js +18 -3
  299. package/mobile/lib/components/ApplicationFormCustom/getInitialFormState.js.map +1 -1
  300. package/mobile/lib/components/ApplicationFormCustom/getObjectValidator.js +4 -0
  301. package/mobile/lib/components/ApplicationFormCustom/getObjectValidator.js.map +1 -1
  302. package/mobile/lib/components/ApplicationFormCustom/getPartnerComments.d.ts +2 -0
  303. package/mobile/lib/components/ApplicationFormCustom/getPartnerComments.js +13 -0
  304. package/mobile/lib/components/ApplicationFormCustom/getPartnerComments.js.map +1 -0
  305. package/mobile/lib/ui-kit/Input/InputPhoneControl.d.ts +2 -0
  306. package/mobile/lib/{components/ApplicationForm/PhoneInputControl.js → ui-kit/Input/InputPhoneControl.js} +4 -4
  307. package/mobile/lib/ui-kit/Input/InputPhoneControl.js.map +1 -0
  308. package/mobile/lib/ui-kit/Pagination/PaginationContainer.js +2 -2
  309. package/mobile/lib/ui-kit/Pagination/PaginationContainer.js.map +1 -1
  310. package/mobile/lib/ui-kit/Pagination/shouldRenderPage.js +4 -4
  311. package/mobile/src/components/ApplicationForm/ApplicationForm.ui.json +0 -6
  312. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +1 -60
  313. package/mobile/src/components/ApplicationForm/ApplicationFormFeedback.tsx +27 -13
  314. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +1 -2
  315. package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +0 -10
  316. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +3 -3
  317. package/mobile/src/components/ApplicationFormCustom/AcquiringField.tsx +36 -0
  318. package/{src/components/ApplicationForm → mobile/src/components/ApplicationFormCustom}/AddressBranchField.tsx +15 -9
  319. package/mobile/src/components/ApplicationFormCustom/AmountField.tsx +17 -0
  320. package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustom.example.json +221 -21
  321. package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustom.tsx +13 -4
  322. package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustom.ui.json +12 -1
  323. package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustomContent.ts +18 -4
  324. package/mobile/src/components/ApplicationFormCustom/CommentField.tsx +14 -0
  325. package/mobile/src/components/ApplicationFormCustom/CustomFieldProps.ts +7 -0
  326. package/mobile/src/components/ApplicationFormCustom/OnlineCheckoutField.tsx +10 -0
  327. package/mobile/src/components/ApplicationFormCustom/PosTerminalField.tsx +10 -0
  328. package/mobile/src/components/ApplicationFormCustom/RegionField.tsx +24 -0
  329. package/mobile/src/components/ApplicationFormCustom/RegionPremiumField.tsx +29 -0
  330. package/mobile/src/components/ApplicationFormCustom/TermField.tsx +17 -0
  331. package/mobile/src/components/ApplicationFormCustom/UltraPremiumField.tsx +19 -0
  332. package/mobile/src/components/ApplicationFormCustom/getField.tsx +97 -69
  333. package/mobile/src/components/ApplicationFormCustom/getFormatData.tsx +25 -0
  334. package/mobile/src/components/ApplicationFormCustom/getInitialFormState.tsx +24 -3
  335. package/mobile/src/components/ApplicationFormCustom/getObjectValidator.tsx +4 -0
  336. package/mobile/src/components/ApplicationFormCustom/getPartnerComments.tsx +22 -0
  337. package/mobile/src/{components/ApplicationForm/PhoneInputControl.tsx → ui-kit/Input/InputPhoneControl.tsx} +4 -4
  338. package/mobile/src/ui-kit/Pagination/PaginationContainer.tsx +4 -4
  339. package/mobile/src/ui-kit/Pagination/shouldRenderPage.ts +4 -4
  340. package/package.json +1 -1
  341. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +1 -59
  342. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +2 -61
  343. package/src/components/ApplicationForm/ApplicationForm.ui.json +0 -6
  344. package/src/components/ApplicationForm/ApplicationFormContent.ts +1 -60
  345. package/src/components/ApplicationForm/ApplicationFormFeedback.tsx +27 -13
  346. package/src/components/ApplicationForm/ApplicationFormsProps.ts +1 -2
  347. package/src/components/ApplicationForm/EmbeddableForms.tsx +0 -10
  348. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +3 -3
  349. package/src/components/ApplicationFormCustom/AcquiringField.tsx +36 -0
  350. package/{mobile/src/components/ApplicationForm → src/components/ApplicationFormCustom}/AddressBranchField.tsx +15 -9
  351. package/src/components/ApplicationFormCustom/AmountField.tsx +17 -0
  352. package/src/components/ApplicationFormCustom/ApplicationFormCustom.example.json +221 -21
  353. package/src/components/ApplicationFormCustom/ApplicationFormCustom.fixture.tsx +175 -11
  354. package/src/components/ApplicationFormCustom/ApplicationFormCustom.tsx +13 -4
  355. package/src/components/ApplicationFormCustom/ApplicationFormCustom.ui.json +12 -1
  356. package/src/components/ApplicationFormCustom/ApplicationFormCustomContent.ts +18 -4
  357. package/src/components/ApplicationFormCustom/CommentField.tsx +14 -0
  358. package/src/components/ApplicationFormCustom/CustomFieldProps.ts +7 -0
  359. package/src/components/ApplicationFormCustom/OnlineCheckoutField.tsx +10 -0
  360. package/src/components/ApplicationFormCustom/PosTerminalField.tsx +10 -0
  361. package/src/components/ApplicationFormCustom/RegionField.tsx +24 -0
  362. package/src/components/ApplicationFormCustom/RegionPremiumField.tsx +29 -0
  363. package/src/components/ApplicationFormCustom/TermField.tsx +17 -0
  364. package/src/components/ApplicationFormCustom/UltraPremiumField.tsx +19 -0
  365. package/src/components/ApplicationFormCustom/getField.tsx +97 -69
  366. package/src/components/ApplicationFormCustom/getFormatData.tsx +25 -0
  367. package/src/components/ApplicationFormCustom/getInitialFormState.tsx +24 -3
  368. package/src/components/ApplicationFormCustom/getObjectValidator.tsx +4 -0
  369. package/src/components/ApplicationFormCustom/getPartnerComments.tsx +22 -0
  370. package/src/{components/ApplicationForm/PhoneInputControl.tsx → ui-kit/Input/InputPhoneControl.tsx} +4 -4
  371. package/src/ui-kit/Pagination/PaginationContainer.tsx +4 -4
  372. package/src/ui-kit/Pagination/shouldRenderPage.ts +4 -4
  373. package/bundle/components/ApplicationForm/AddressBranchField.d.ts +0 -8
  374. package/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +0 -14
  375. package/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -16
  376. package/bundle/components/ApplicationForm/ApplicationFormDeposit.d.ts +0 -2
  377. package/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +0 -8
  378. package/bundle/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +0 -14
  379. package/bundle/components/ApplicationForm/CreditParameters.d.ts +0 -6
  380. package/bundle/components/ApplicationForm/PhoneInputControl.d.ts +0 -2
  381. package/bundle/components/ApplicationForm/RegionField.d.ts +0 -8
  382. package/bundle/components/ApplicationForm/RegionPremiumField.d.ts +0 -6
  383. package/bundle/components/ApplicationForm/acquiringTypes.d.ts +0 -2
  384. package/bundle/components/ApplicationForm/models.d.ts +0 -5
  385. package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +0 -4
  386. package/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +0 -9
  387. package/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +0 -4
  388. package/bundle/components/ApplicationForm/renderCreditParameters.d.ts +0 -4
  389. package/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +0 -9
  390. package/bundle/components/ApplicationForm/renderUserData.d.ts +0 -15
  391. package/dist/components/ApplicationForm/AddressBranchField.d.ts +0 -8
  392. package/dist/components/ApplicationForm/AddressBranchField.js.map +0 -1
  393. package/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +0 -14
  394. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +0 -53
  395. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +0 -1
  396. package/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -16
  397. package/dist/components/ApplicationForm/ApplicationFormCredit.js +0 -53
  398. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +0 -1
  399. package/dist/components/ApplicationForm/ApplicationFormDeposit.d.ts +0 -2
  400. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +0 -36
  401. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +0 -1
  402. package/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +0 -8
  403. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js +0 -45
  404. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +0 -1
  405. package/dist/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +0 -14
  406. package/dist/components/ApplicationForm/ApplicationFormUltraPremium.js +0 -51
  407. package/dist/components/ApplicationForm/ApplicationFormUltraPremium.js.map +0 -1
  408. package/dist/components/ApplicationForm/CreditParameters.d.ts +0 -6
  409. package/dist/components/ApplicationForm/CreditParameters.js +0 -9
  410. package/dist/components/ApplicationForm/CreditParameters.js.map +0 -1
  411. package/dist/components/ApplicationForm/PhoneInputControl.d.ts +0 -2
  412. package/dist/components/ApplicationForm/PhoneInputControl.js.map +0 -1
  413. package/dist/components/ApplicationForm/RegionField.d.ts +0 -8
  414. package/dist/components/ApplicationForm/RegionField.js +0 -13
  415. package/dist/components/ApplicationForm/RegionField.js.map +0 -1
  416. package/dist/components/ApplicationForm/RegionPremiumField.d.ts +0 -6
  417. package/dist/components/ApplicationForm/RegionPremiumField.js.map +0 -1
  418. package/dist/components/ApplicationForm/acquiringTypes.d.ts +0 -2
  419. package/dist/components/ApplicationForm/acquiringTypes.js +0 -21
  420. package/dist/components/ApplicationForm/acquiringTypes.js.map +0 -1
  421. package/dist/components/ApplicationForm/getFormatData.js +0 -5
  422. package/dist/components/ApplicationForm/getFormatData.js.map +0 -1
  423. package/dist/components/ApplicationForm/models.d.ts +0 -5
  424. package/dist/components/ApplicationForm/models.js.map +0 -1
  425. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +0 -4
  426. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +0 -11
  427. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +0 -1
  428. package/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +0 -9
  429. package/dist/components/ApplicationForm/renderAcquiringRegion.js +0 -12
  430. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +0 -1
  431. package/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +0 -4
  432. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +0 -11
  433. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +0 -1
  434. package/dist/components/ApplicationForm/renderCreditParameters.d.ts +0 -4
  435. package/dist/components/ApplicationForm/renderCreditParameters.js +0 -9
  436. package/dist/components/ApplicationForm/renderCreditParameters.js.map +0 -1
  437. package/dist/components/ApplicationForm/renderRegionDepartment.d.ts +0 -9
  438. package/dist/components/ApplicationForm/renderRegionDepartment.js +0 -9
  439. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +0 -1
  440. package/dist/components/ApplicationForm/renderUserData.d.ts +0 -15
  441. package/dist/components/ApplicationForm/renderUserData.js +0 -15
  442. package/dist/components/ApplicationForm/renderUserData.js.map +0 -1
  443. package/lib/components/ApplicationForm/AddressBranchField.d.ts +0 -8
  444. package/lib/components/ApplicationForm/AddressBranchField.js.map +0 -1
  445. package/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +0 -14
  446. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +0 -51
  447. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +0 -1
  448. package/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -16
  449. package/lib/components/ApplicationForm/ApplicationFormCredit.js +0 -51
  450. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +0 -1
  451. package/lib/components/ApplicationForm/ApplicationFormDeposit.d.ts +0 -2
  452. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +0 -34
  453. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +0 -1
  454. package/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +0 -8
  455. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js +0 -43
  456. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +0 -1
  457. package/lib/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +0 -14
  458. package/lib/components/ApplicationForm/ApplicationFormUltraPremium.js +0 -49
  459. package/lib/components/ApplicationForm/ApplicationFormUltraPremium.js.map +0 -1
  460. package/lib/components/ApplicationForm/CreditParameters.d.ts +0 -6
  461. package/lib/components/ApplicationForm/CreditParameters.js +0 -7
  462. package/lib/components/ApplicationForm/CreditParameters.js.map +0 -1
  463. package/lib/components/ApplicationForm/PhoneInputControl.d.ts +0 -2
  464. package/lib/components/ApplicationForm/PhoneInputControl.js.map +0 -1
  465. package/lib/components/ApplicationForm/RegionField.d.ts +0 -8
  466. package/lib/components/ApplicationForm/RegionField.js +0 -11
  467. package/lib/components/ApplicationForm/RegionField.js.map +0 -1
  468. package/lib/components/ApplicationForm/RegionPremiumField.d.ts +0 -6
  469. package/lib/components/ApplicationForm/RegionPremiumField.js.map +0 -1
  470. package/lib/components/ApplicationForm/acquiringTypes.d.ts +0 -2
  471. package/lib/components/ApplicationForm/acquiringTypes.js +0 -19
  472. package/lib/components/ApplicationForm/acquiringTypes.js.map +0 -1
  473. package/lib/components/ApplicationForm/getFormatData.js +0 -2
  474. package/lib/components/ApplicationForm/getFormatData.js.map +0 -1
  475. package/lib/components/ApplicationForm/models.d.ts +0 -5
  476. package/lib/components/ApplicationForm/models.js +0 -2
  477. package/lib/components/ApplicationForm/models.js.map +0 -1
  478. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +0 -3
  479. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +0 -8
  480. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +0 -1
  481. package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +0 -8
  482. package/lib/components/ApplicationForm/renderAcquiringRegion.js +0 -9
  483. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +0 -1
  484. package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +0 -3
  485. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +0 -8
  486. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +0 -1
  487. package/lib/components/ApplicationForm/renderCreditParameters.d.ts +0 -3
  488. package/lib/components/ApplicationForm/renderCreditParameters.js +0 -6
  489. package/lib/components/ApplicationForm/renderCreditParameters.js.map +0 -1
  490. package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +0 -9
  491. package/lib/components/ApplicationForm/renderRegionDepartment.js +0 -6
  492. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +0 -1
  493. package/lib/components/ApplicationForm/renderUserData.d.ts +0 -14
  494. package/lib/components/ApplicationForm/renderUserData.js +0 -12
  495. package/lib/components/ApplicationForm/renderUserData.js.map +0 -1
  496. package/mobile/bundle/components/ApplicationForm/AddressBranchField.d.ts +0 -8
  497. package/mobile/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +0 -14
  498. package/mobile/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -16
  499. package/mobile/bundle/components/ApplicationForm/ApplicationFormDeposit.d.ts +0 -2
  500. package/mobile/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +0 -8
  501. package/mobile/bundle/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +0 -14
  502. package/mobile/bundle/components/ApplicationForm/CreditParameters.d.ts +0 -6
  503. package/mobile/bundle/components/ApplicationForm/PhoneInputControl.d.ts +0 -2
  504. package/mobile/bundle/components/ApplicationForm/RegionField.d.ts +0 -8
  505. package/mobile/bundle/components/ApplicationForm/RegionPremiumField.d.ts +0 -6
  506. package/mobile/bundle/components/ApplicationForm/acquiringTypes.d.ts +0 -2
  507. package/mobile/bundle/components/ApplicationForm/models.d.ts +0 -5
  508. package/mobile/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +0 -4
  509. package/mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +0 -9
  510. package/mobile/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +0 -4
  511. package/mobile/bundle/components/ApplicationForm/renderCreditParameters.d.ts +0 -4
  512. package/mobile/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +0 -9
  513. package/mobile/bundle/components/ApplicationForm/renderUserData.d.ts +0 -15
  514. package/mobile/dist/components/ApplicationForm/AddressBranchField.d.ts +0 -8
  515. package/mobile/dist/components/ApplicationForm/AddressBranchField.js.map +0 -1
  516. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +0 -14
  517. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +0 -53
  518. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +0 -1
  519. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -16
  520. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +0 -53
  521. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +0 -1
  522. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.d.ts +0 -2
  523. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +0 -36
  524. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +0 -1
  525. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +0 -8
  526. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js +0 -45
  527. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +0 -1
  528. package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +0 -14
  529. package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.js +0 -51
  530. package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.js.map +0 -1
  531. package/mobile/dist/components/ApplicationForm/CreditParameters.d.ts +0 -6
  532. package/mobile/dist/components/ApplicationForm/CreditParameters.js +0 -9
  533. package/mobile/dist/components/ApplicationForm/CreditParameters.js.map +0 -1
  534. package/mobile/dist/components/ApplicationForm/PhoneInputControl.d.ts +0 -2
  535. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +0 -1
  536. package/mobile/dist/components/ApplicationForm/RegionField.d.ts +0 -8
  537. package/mobile/dist/components/ApplicationForm/RegionField.js +0 -13
  538. package/mobile/dist/components/ApplicationForm/RegionField.js.map +0 -1
  539. package/mobile/dist/components/ApplicationForm/RegionPremiumField.d.ts +0 -6
  540. package/mobile/dist/components/ApplicationForm/RegionPremiumField.js.map +0 -1
  541. package/mobile/dist/components/ApplicationForm/acquiringTypes.d.ts +0 -2
  542. package/mobile/dist/components/ApplicationForm/acquiringTypes.js +0 -21
  543. package/mobile/dist/components/ApplicationForm/acquiringTypes.js.map +0 -1
  544. package/mobile/dist/components/ApplicationForm/getFormatData.js +0 -5
  545. package/mobile/dist/components/ApplicationForm/getFormatData.js.map +0 -1
  546. package/mobile/dist/components/ApplicationForm/models.d.ts +0 -5
  547. package/mobile/dist/components/ApplicationForm/models.js.map +0 -1
  548. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +0 -4
  549. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +0 -11
  550. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +0 -1
  551. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +0 -9
  552. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +0 -12
  553. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +0 -1
  554. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +0 -4
  555. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +0 -11
  556. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +0 -1
  557. package/mobile/dist/components/ApplicationForm/renderCreditParameters.d.ts +0 -4
  558. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +0 -9
  559. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +0 -1
  560. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +0 -9
  561. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +0 -9
  562. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +0 -1
  563. package/mobile/dist/components/ApplicationForm/renderUserData.d.ts +0 -15
  564. package/mobile/dist/components/ApplicationForm/renderUserData.js +0 -15
  565. package/mobile/dist/components/ApplicationForm/renderUserData.js.map +0 -1
  566. package/mobile/lib/components/ApplicationForm/AddressBranchField.d.ts +0 -8
  567. package/mobile/lib/components/ApplicationForm/AddressBranchField.js.map +0 -1
  568. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +0 -14
  569. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +0 -51
  570. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +0 -1
  571. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -16
  572. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +0 -51
  573. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +0 -1
  574. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.d.ts +0 -2
  575. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +0 -34
  576. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +0 -1
  577. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +0 -8
  578. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js +0 -43
  579. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +0 -1
  580. package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +0 -14
  581. package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.js +0 -49
  582. package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.js.map +0 -1
  583. package/mobile/lib/components/ApplicationForm/CreditParameters.d.ts +0 -6
  584. package/mobile/lib/components/ApplicationForm/CreditParameters.js +0 -7
  585. package/mobile/lib/components/ApplicationForm/CreditParameters.js.map +0 -1
  586. package/mobile/lib/components/ApplicationForm/PhoneInputControl.d.ts +0 -2
  587. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +0 -1
  588. package/mobile/lib/components/ApplicationForm/RegionField.d.ts +0 -8
  589. package/mobile/lib/components/ApplicationForm/RegionField.js +0 -11
  590. package/mobile/lib/components/ApplicationForm/RegionField.js.map +0 -1
  591. package/mobile/lib/components/ApplicationForm/RegionPremiumField.d.ts +0 -6
  592. package/mobile/lib/components/ApplicationForm/RegionPremiumField.js.map +0 -1
  593. package/mobile/lib/components/ApplicationForm/acquiringTypes.d.ts +0 -2
  594. package/mobile/lib/components/ApplicationForm/acquiringTypes.js +0 -19
  595. package/mobile/lib/components/ApplicationForm/acquiringTypes.js.map +0 -1
  596. package/mobile/lib/components/ApplicationForm/getFormatData.js +0 -2
  597. package/mobile/lib/components/ApplicationForm/getFormatData.js.map +0 -1
  598. package/mobile/lib/components/ApplicationForm/models.d.ts +0 -5
  599. package/mobile/lib/components/ApplicationForm/models.js +0 -2
  600. package/mobile/lib/components/ApplicationForm/models.js.map +0 -1
  601. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +0 -4
  602. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +0 -8
  603. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +0 -1
  604. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +0 -9
  605. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +0 -9
  606. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +0 -1
  607. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +0 -4
  608. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +0 -8
  609. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +0 -1
  610. package/mobile/lib/components/ApplicationForm/renderCreditParameters.d.ts +0 -4
  611. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +0 -6
  612. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +0 -1
  613. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +0 -9
  614. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +0 -6
  615. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +0 -1
  616. package/mobile/lib/components/ApplicationForm/renderUserData.d.ts +0 -15
  617. package/mobile/lib/components/ApplicationForm/renderUserData.js +0 -12
  618. package/mobile/lib/components/ApplicationForm/renderUserData.js.map +0 -1
  619. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +0 -90
  620. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +0 -89
  621. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +0 -59
  622. package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +0 -83
  623. package/mobile/src/components/ApplicationForm/ApplicationFormUltraPremium.tsx +0 -112
  624. package/mobile/src/components/ApplicationForm/CreditParameters.ts +0 -6
  625. package/mobile/src/components/ApplicationForm/RegionField.tsx +0 -27
  626. package/mobile/src/components/ApplicationForm/RegionPremiumField.tsx +0 -28
  627. package/mobile/src/components/ApplicationForm/acquiringTypes.ts +0 -21
  628. package/mobile/src/components/ApplicationForm/getFormatData.tsx +0 -4
  629. package/mobile/src/components/ApplicationForm/models.ts +0 -5
  630. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +0 -26
  631. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +0 -29
  632. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +0 -34
  633. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +0 -38
  634. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +0 -21
  635. package/mobile/src/components/ApplicationForm/renderUserData.tsx +0 -36
  636. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +0 -90
  637. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +0 -89
  638. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +0 -59
  639. package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +0 -83
  640. package/src/components/ApplicationForm/ApplicationFormUltraPremium.tsx +0 -112
  641. package/src/components/ApplicationForm/CreditParameters.ts +0 -6
  642. package/src/components/ApplicationForm/RegionField.tsx +0 -27
  643. package/src/components/ApplicationForm/RegionPremiumField.tsx +0 -28
  644. package/src/components/ApplicationForm/acquiringTypes.ts +0 -21
  645. package/src/components/ApplicationForm/getFormatData.tsx +0 -4
  646. package/src/components/ApplicationForm/models.ts +0 -5
  647. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +0 -26
  648. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +0 -29
  649. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +0 -34
  650. package/src/components/ApplicationForm/renderCreditParameters.tsx +0 -38
  651. package/src/components/ApplicationForm/renderRegionDepartment.tsx +0 -21
  652. package/src/components/ApplicationForm/renderUserData.tsx +0 -36
  653. /package/bundle/components/{ApplicationForm → ApplicationFormCustom}/getFormatData.d.ts +0 -0
  654. /package/dist/components/{ApplicationForm → ApplicationFormCustom}/getFormatData.d.ts +0 -0
  655. /package/lib/components/{ApplicationForm → ApplicationFormCustom}/getFormatData.d.ts +0 -0
  656. /package/mobile/bundle/components/{ApplicationForm → ApplicationFormCustom}/getFormatData.d.ts +0 -0
  657. /package/mobile/dist/components/{ApplicationForm → ApplicationFormCustom}/getFormatData.d.ts +0 -0
  658. /package/mobile/lib/components/{ApplicationForm → ApplicationFormCustom}/getFormatData.d.ts +0 -0
@@ -19,12 +19,6 @@ export type CommonApplicationFormProps = TitleProps & {
19
19
  link?: LinkProps;
20
20
  };
21
21
 
22
- /**
23
- * @title Тип обслуживания по умолчанию
24
- * @enumNames ['Ультра', 'Премиум']
25
- */
26
- export type UltraPremiumTypeProps = 'ULTRASERVICE' | 'PREMIUMSERVICE';
27
-
28
22
  /**
29
23
  * @title ВЭД
30
24
  */
@@ -34,33 +28,6 @@ export type WedFormParamsDef = TitleProps &
34
28
  formType: 'ApplicationFormWed';
35
29
  };
36
30
 
37
- /**
38
- * @title Депозит
39
- */
40
- export type DepositFormParamsDef = TitleProps &
41
- CommonApplicationFormProps & {
42
- /** @default ApplicationFormDeposit */
43
- formType: 'ApplicationFormDeposit';
44
- };
45
-
46
- /**
47
- * @title Кредит
48
- */
49
- export type CreditFormParamsDef = TitleProps &
50
- CommonApplicationFormProps & {
51
- /** @default ApplicationFormCredit */
52
- formType: 'ApplicationFormCredit';
53
- };
54
-
55
- /**
56
- * @title Эквайринг
57
- */
58
- export type AcquiringFormParamsDef = TitleProps &
59
- CommonApplicationFormProps & {
60
- /** @default ApplicationFormAcquiring */
61
- formType: 'ApplicationFormAcquiring';
62
- };
63
-
64
31
  /**
65
32
  * @title Грантовая поддержка
66
33
  */
@@ -72,17 +39,6 @@ export type GrantSupportFormParamsDef = TitleProps &
72
39
  regionSource?: JSONRefObject;
73
40
  };
74
41
 
75
- /**
76
- * @title Заявка для ФЛ
77
- */
78
- export type IndividualsFormParamsDef = TitleProps &
79
- CommonApplicationFormProps & {
80
- /** @default ApplicationFormIndividuals */
81
- formType: 'ApplicationFormIndividuals';
82
- /** @title Выберите продукт */
83
- product?: string;
84
- };
85
-
86
42
  /**
87
43
  * @title Форма обратной связи
88
44
  */
@@ -92,28 +48,13 @@ export type FeedbackFormParamsDef = TitleProps &
92
48
  formType: 'ApplicationFormFeedback';
93
49
  };
94
50
 
95
- /**
96
- * @title Заявка Ультра и Премиум
97
- */
98
- export type UltraPremiumFormParamsDef = TitleProps &
99
- CommonApplicationFormProps & {
100
- /** @default ApplicationUltraPremium */
101
- formType: 'ApplicationFormUltraPremium';
102
- defaultType?: UltraPremiumTypeProps;
103
- };
104
-
105
51
  /**
106
52
  * @title Настройки формы
107
53
  */
108
54
  export type ApplicationFormBlockDef =
109
55
  | WedFormParamsDef
110
- | DepositFormParamsDef
111
- | CreditFormParamsDef
112
- | AcquiringFormParamsDef
113
56
  | GrantSupportFormParamsDef
114
- | IndividualsFormParamsDef
115
- | FeedbackFormParamsDef
116
- | UltraPremiumFormParamsDef;
57
+ | FeedbackFormParamsDef;
117
58
 
118
59
  /**
119
60
  * @title Форма заявки
@@ -3,21 +3,21 @@
3
3
  import { JSX } from '@redneckz/uni-jsx';
4
4
  import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
5
5
  import { useForm } from '../../hooks/useForm';
6
+ import { DatePickerControl } from '../../ui-kit/DatePicker/DatePickerControl';
6
7
  import { InputControl } from '../../ui-kit/Input/InputControl';
8
+ import { InputPhoneControl } from '../../ui-kit/Input/InputPhoneControl';
7
9
  import { type Option } from '../../ui-kit/Select/Option';
8
10
  import { SelectControl } from '../../ui-kit/Select/SelectControl';
9
11
  import { objectValidator } from '../../validation/objectValidator';
10
12
  import { isValidationSuccess, type Validator } from '../../validation/validator';
11
13
  import { withValidator } from '../../validation/withValidator';
12
- import { AddressBranchField } from './AddressBranchField';
14
+ import { AddressBranchField } from '../ApplicationFormCustom/AddressBranchField';
15
+ import { RegionField } from '../ApplicationFormCustom/RegionField';
13
16
  import { ApplicationFieldsetLayout } from './ApplicationFieldsetLayout';
14
17
  import { type ApplicationFormsProps } from './ApplicationFormsProps';
15
18
  import { FEEDBACK_METHOD, FEEDBACK_TYPES, SERVICE_DIRECTIONS } from './feedbackTypes';
16
19
  import { formStyle, oneColumnFormStyle } from './formStyle';
17
- import { PhoneInputControl } from './PhoneInputControl';
18
- import { RegionField } from './RegionField';
19
20
  import { renderAgreementSubmit } from './renderAgreementSubmit';
20
- import { initialUserFormState, renderUserData, type UserDataState } from './renderUserData';
21
21
  import {
22
22
  checkboxValidator,
23
23
  defaultValidator,
@@ -26,9 +26,13 @@ import {
26
26
  phoneValidator,
27
27
  } from './validators';
28
28
 
29
- export type FeedbackFormState = UserDataState & {
29
+ export type FeedbackFormState = {
30
30
  typeForm: Option;
31
31
  region?: Option;
32
+ surname: string;
33
+ name: string;
34
+ middleName?: string;
35
+ birthday?: Date | undefined;
32
36
  serviceDirection?: Option;
33
37
  addressBranch?: Option;
34
38
  inn?: string;
@@ -44,7 +48,9 @@ export type FeedbackFormState = UserDataState & {
44
48
  };
45
49
 
46
50
  const initialFormState: FeedbackFormState = {
47
- ...initialUserFormState,
51
+ surname: '',
52
+ name: '',
53
+ middleName: '',
48
54
  typeForm: { key: 'FEEDBACK', text: 'Задать вопрос по продуктам и услугам' },
49
55
  serviceDirection: { key: 'Физическое лицо' },
50
56
  birthday: undefined,
@@ -81,7 +87,7 @@ export const ApplicationFormFeedback = JSX<ApplicationFormsProps>(({ button, lin
81
87
  [onSubmit],
82
88
  );
83
89
 
84
- const [formState, { field, ...formProps }] = useForm(initialFormState, {
90
+ const [, { field, ...formProps }] = useForm(initialFormState, {
85
91
  onSubmit: handleSubmit,
86
92
  });
87
93
 
@@ -110,10 +116,18 @@ export const ApplicationFormFeedback = JSX<ApplicationFormsProps>(({ button, lin
110
116
  />
111
117
  ) : null}
112
118
  <RegionField field={field} />
113
- {isQualityService ? (
114
- <AddressBranchField field={field} regionKey={formState?.region?.key} />
115
- ) : null}
116
- {renderUserData<FeedbackFormState>(field, true)}
119
+ {isQualityService ? <AddressBranchField field={field} /> : null}
120
+ {
121
+ <div className="space-y-s">
122
+ <InputControl label="Фамилия" {...withValidator(field('surname'), nameValidator)} />
123
+ <InputControl label="Имя" {...withValidator(field('name'), nameValidator)} />
124
+ <InputControl label="Отчество (Обязательно, при наличии)" {...field('middleName')} />
125
+ <DatePickerControl
126
+ label="Дата рождения"
127
+ {...withValidator(field('birthday'), defaultValidator)}
128
+ />
129
+ </div>
130
+ }
117
131
  {isLegalEntity ? (
118
132
  <div>
119
133
  <InputControl label="ИНН" {...withValidator(field('inn'), innValidator)} />
@@ -125,10 +139,10 @@ export const ApplicationFormFeedback = JSX<ApplicationFormsProps>(({ button, lin
125
139
  options={FEEDBACK_METHOD}
126
140
  {...withValidator(field('feedbackMethod'), defaultValidator)}
127
141
  />
128
- <PhoneInputControl label="Телефон" {...withValidator(field('phone'), phoneValidator)} />
142
+ <InputPhoneControl label="Телефон" {...withValidator(field('phone'), phoneValidator)} />
129
143
  {isQualityService ? (
130
144
  <div>
131
- <PhoneInputControl
145
+ <InputPhoneControl
132
146
  label="Дополнительный телефон"
133
147
  {...(!field('secondaryPhone').value || field('secondaryPhone').value === '+7 ('
134
148
  ? field('secondaryPhone')
@@ -1,6 +1,6 @@
1
1
  import { type JSONRefObject } from '../../data/JSONRefObject';
2
2
  import { type LinkProps } from '../../model/LinkProps';
3
- import { type SubmitButtonProps, type UltraPremiumTypeProps } from './ApplicationFormContent';
3
+ import { type SubmitButtonProps } from './ApplicationFormContent';
4
4
 
5
5
  export type RegionGrand = { name: string; href: string };
6
6
  export interface ApplicationFormsProps<S extends Record<string, any> = Record<string, any>> {
@@ -9,5 +9,4 @@ export interface ApplicationFormsProps<S extends Record<string, any> = Record<st
9
9
  regionSource?: { regions?: RegionGrand[] } & JSONRefObject;
10
10
  product?: string;
11
11
  onSubmit: (data: S, isIndividualType?: boolean) => void;
12
- defaultType?: UltraPremiumTypeProps;
13
12
  }
@@ -1,19 +1,9 @@
1
- import { ApplicationFormAcquiring } from './ApplicationFormAcquiring';
2
- import { ApplicationFormCredit } from './ApplicationFormCredit';
3
- import { ApplicationFormDeposit } from './ApplicationFormDeposit';
4
1
  import { ApplicationFormFeedback } from './ApplicationFormFeedback';
5
2
  import { ApplicationFormGrantSupport } from './ApplicationFormGrantSupport';
6
- import { ApplicationFormIndividuals } from './ApplicationFormIndividuals';
7
- import { ApplicationFormUltraPremium } from './ApplicationFormUltraPremium';
8
3
  import { ApplicationFormWed } from './ApplicationFormWed';
9
4
 
10
5
  export const EmbeddableForms = {
11
6
  ApplicationFormWed,
12
- ApplicationFormDeposit,
13
- ApplicationFormCredit,
14
- ApplicationFormAcquiring,
15
7
  ApplicationFormGrantSupport,
16
- ApplicationFormIndividuals,
17
8
  ApplicationFormFeedback,
18
- ApplicationFormUltraPremium,
19
9
  };
@@ -1,9 +1,9 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
2
  import { InputControl } from '../../ui-kit/Input/InputControl';
3
+ import { InputPhoneControl } from '../../ui-kit/Input/InputPhoneControl';
3
4
  import { withValidator } from '../../validation/withValidator';
5
+ import { RegionField } from '../ApplicationFormCustom/RegionField';
4
6
  import { type WedFormState } from './ApplicationFormWed';
5
- import { PhoneInputControl } from './PhoneInputControl';
6
- import { RegionField } from './RegionField';
7
7
  import { defaultValidator, innValidator, nameValidator, phoneValidator } from './validators';
8
8
 
9
9
  interface WedDataOrganizationProps {
@@ -25,7 +25,7 @@ export const renderWedDataOrganization = ({ field }: WedDataOrganizationProps) =
25
25
  {...withValidator(field('fullName'), defaultValidator)}
26
26
  />
27
27
  <InputControl label="ФИО" {...withValidator(field('name'), nameValidator)} />
28
- <PhoneInputControl label="Телефон" {...withValidator(field('phone'), phoneValidator)} />
28
+ <InputPhoneControl label="Телефон" {...withValidator(field('phone'), phoneValidator)} />
29
29
  {!isCurrencyControl ? <InputControl label="Электронная почта" {...field('email')} /> : null}
30
30
  </div>
31
31
  </div>
@@ -0,0 +1,36 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import { type Option } from '../../ui-kit/Select/Option';
3
+ import { SelectControl } from '../../ui-kit/Select/SelectControl';
4
+ import { type CustomFieldProps } from './CustomFieldProps';
5
+ import { getValidation } from './getField';
6
+ import { validatorObj } from './getObjectValidator';
7
+
8
+ export const ACQUIRING_TYPES: Option[] = [
9
+ {
10
+ text: 'Торговый эквайринг',
11
+ key: 'trade',
12
+ },
13
+ {
14
+ text: 'СБП-эквайринг',
15
+ key: 'sbp',
16
+ },
17
+ {
18
+ text: 'Интернет-эквайринг',
19
+ key: 'internet',
20
+ },
21
+ {
22
+ text: 'Все виды эквайринга',
23
+ key: 'all',
24
+ },
25
+ ];
26
+
27
+ export const AcquiringField = JSX<CustomFieldProps>(({ field, input }) => (
28
+ <SelectControl
29
+ label="Вид эквайринга"
30
+ placeholder="Выберите эквайринг"
31
+ options={ACQUIRING_TYPES}
32
+ {...getValidation(field('acquiringType'), validatorObj.acquiringType, input?.required)}
33
+ />
34
+ ));
35
+
36
+ export const isAcquiringTrade = (key = ''): boolean => Boolean(key === 'trade' || key === 'all');
@@ -1,23 +1,29 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import { useEffect } from '@redneckz/uni-jsx/lib/hooks';
2
3
  import { useBranches } from '../../hooks/useBranches';
3
- import { type FormFieldRegisterer } from '../../hooks/useForm';
4
4
  import { usePremiumBranchesByRegions } from '../../hooks/usePremiumBranchesByRegions';
5
5
  import { SelectControl } from '../../ui-kit/Select/SelectControl';
6
- import { withValidator } from '../../validation/withValidator';
7
- import { defaultSelectValidator } from './validators';
6
+ import type { CustomFieldProps } from './CustomFieldProps';
7
+ import { getValidation } from './getField';
8
+ import { validatorObj } from './getObjectValidator';
8
9
 
9
- interface RegionFieldProps {
10
- field: FormFieldRegisterer<any>;
11
- regionKey?: string;
10
+ interface RegionFieldProps extends CustomFieldProps {
12
11
  isPremium?: boolean;
13
12
  }
14
13
 
15
- export const AddressBranchField = JSX<RegionFieldProps>(({ field, isPremium = false }) => {
16
- const regionKey = field('region')?.value?.key as string;
14
+ export const AddressBranchField = JSX<RegionFieldProps>(({ field, input, isPremium = false }) => {
15
+ const regionKey = field('region')?.value?.text as string;
17
16
  const addressBranch = isPremium
18
17
  ? usePremiumBranchesByRegions().find((_) => _?.region === regionKey)?.branches
19
18
  : useBranches(regionKey).filter((branch) => branch?.address);
20
19
 
20
+ const { value, onChange } = field?.('addressBranch') || {};
21
+ useEffect(() => {
22
+ if (value?.key !== '') {
23
+ onChange?.('');
24
+ }
25
+ }, [value]);
26
+
21
27
  return (
22
28
  <SelectControl
23
29
  label="Адрес"
@@ -26,7 +32,7 @@ export const AddressBranchField = JSX<RegionFieldProps>(({ field, isPremium = fa
26
32
  key: address,
27
33
  text: address,
28
34
  }))}
29
- {...withValidator(field('addressBranch'), defaultSelectValidator)}
35
+ {...getValidation(field('addressBranch'), validatorObj.addressBranch, input?.required)}
30
36
  />
31
37
  );
32
38
  });
@@ -0,0 +1,17 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import { InputRange } from '../../ui-kit/InputRange/InputRange';
3
+ import { type CustomFieldProps } from './CustomFieldProps';
4
+
5
+ const MIN_CREDIT_AMOUNT = 1000;
6
+ const MAX_CREDIT_AMOUNT = 1000000000;
7
+ const ITEMS_CREDIT_AMOUNT = ['От 1 000 ₽', 'До 1 000 000 000 ₽'];
8
+
9
+ export const AmountField = JSX<CustomFieldProps>(({ field }) => (
10
+ <InputRange
11
+ title="Сумма, ₽"
12
+ items={ITEMS_CREDIT_AMOUNT}
13
+ min={MIN_CREDIT_AMOUNT}
14
+ max={MAX_CREDIT_AMOUNT}
15
+ {...field('amount')}
16
+ />
17
+ ));
@@ -1,6 +1,47 @@
1
1
  [
2
2
  [
3
- "Мошенничество",
3
+ "Эквайринг ЮЛ",
4
+ {
5
+ "content": {
6
+ "title": "Заполните онлайн-заявку на эквайринг",
7
+ "typeForm": "ACQR",
8
+ "endpoint": "sendcorporatelead",
9
+ "sections": [
10
+ {
11
+ "title": "Вид эквайринга и регион",
12
+ "columns": 2,
13
+ "inputs": [
14
+ { "name": "acquiringType", "required": true },
15
+ { "name": "region", "required": true }
16
+ ]
17
+ },
18
+ {
19
+ "title": "Данные организации",
20
+ "columns": 2,
21
+ "inputs": [
22
+ { "name": "fullName", "required": true },
23
+ { "name": "inn", "required": true },
24
+ { "name": "name", "required": true },
25
+ { "name": "phone", "required": true }
26
+ ]
27
+ },
28
+ { "inputs": [{ "name": "onlineCheckout" }] },
29
+ { "inputs": [{ "name": "posTerminal" }] }
30
+ ],
31
+ "button": {
32
+ "text": "Отправить заявку",
33
+ "version": "primary"
34
+ },
35
+ "link": {
36
+ "text": "обработкой персональных данных",
37
+ "href": "/privacy-policy",
38
+ "target": "_blank"
39
+ }
40
+ }
41
+ }
42
+ ],
43
+ [
44
+ "Предупреждение о мошенничестве ФЛ",
4
45
  {
5
46
  "content": {
6
47
  "title": "Сообщить о возможных мошеннических действиях",
@@ -55,14 +96,16 @@
55
96
  }
56
97
  ],
57
98
  [
58
- "Брокерское обслуживание",
99
+ "Бизнес-карта ЮЛ",
59
100
  {
60
101
  "content": {
61
- "title": "Заполните онлайн-заявку на открытие брокерского счёта",
62
- "typeForm": "BROKACCOUNT",
63
- "endpoint": "lead",
102
+ "title": "Заявка на выпуск бизнес-карты",
103
+ "typeForm": "BCRD",
104
+ "endpoint": "sendcorporatelead",
64
105
  "sections": [
106
+ { "inputs": [{ "name": "region", "required": true }] },
65
107
  {
108
+ "columns": 2,
66
109
  "inputs": [
67
110
  {
68
111
  "name": "name",
@@ -73,10 +116,11 @@
73
116
  "required": true
74
117
  },
75
118
  {
76
- "name": "isClient"
119
+ "name": "inn",
120
+ "required": true
77
121
  },
78
122
  {
79
- "name": "consentDataProcessing",
123
+ "name": "email",
80
124
  "required": true
81
125
  }
82
126
  ]
@@ -87,7 +131,7 @@
87
131
  "version": "primary"
88
132
  },
89
133
  "link": {
90
- "text": "Согласен на обработку персональных данных",
134
+ "text": "условиями передачи данных",
91
135
  "href": "/privacy-policy",
92
136
  "target": "_blank"
93
137
  }
@@ -95,16 +139,14 @@
95
139
  }
96
140
  ],
97
141
  [
98
- "Бизнес-карта",
142
+ "Брокерский счет ФЛ",
99
143
  {
100
144
  "content": {
101
- "title": "Заявка на выпуск бизнес-карты",
102
- "typeForm": "BCRD",
103
- "endpoint": "sendcorporatelead",
145
+ "title": "Заполните онлайн-заявку на открытие брокерского счёта",
146
+ "typeForm": "BROKACCOUNT",
147
+ "endpoint": "lead",
104
148
  "sections": [
105
- { "inputs": [{ "name": "region", "required": true }] },
106
149
  {
107
- "columns": 2,
108
150
  "inputs": [
109
151
  {
110
152
  "name": "name",
@@ -115,11 +157,10 @@
115
157
  "required": true
116
158
  },
117
159
  {
118
- "name": "inn",
119
- "required": true
160
+ "name": "isClient"
120
161
  },
121
162
  {
122
- "name": "email",
163
+ "name": "consentDataProcessing",
123
164
  "required": true
124
165
  }
125
166
  ]
@@ -130,7 +171,7 @@
130
171
  "version": "primary"
131
172
  },
132
173
  "link": {
133
- "text": "условиями передачи данных",
174
+ "text": "Согласен на обработку персональных данных",
134
175
  "href": "/privacy-policy",
135
176
  "target": "_blank"
136
177
  }
@@ -138,7 +179,7 @@
138
179
  }
139
180
  ],
140
181
  [
141
- "Инкассация",
182
+ "Инкассация ЮЛ",
142
183
  {
143
184
  "content": {
144
185
  "title": "Заполните заявку на консультацию",
@@ -184,7 +225,53 @@
184
225
  }
185
226
  ],
186
227
  [
187
- "Коррупция",
228
+ "Кредит ЮЛ",
229
+ {
230
+ "content": {
231
+ "title": "Оформите заявку на кредит прямо сейчас",
232
+ "typeForm": "CRED",
233
+ "endpoint": "sendcorporatelead",
234
+ "sections": [
235
+ {
236
+ "title": "Параметры кредита",
237
+ "columns": 2,
238
+ "inputs": [{ "name": "amount" }, { "name": "term" }]
239
+ },
240
+ {
241
+ "title": "Данные организации",
242
+ "columns": 2,
243
+ "inputs": [
244
+ { "name": "fullName", "required": true, "label": "Наименование организации" },
245
+ { "name": "annualRevenue", "required": true },
246
+ { "name": "inn", "required": true },
247
+ { "name": "name", "required": true, "label": "Контактное лицо" },
248
+ { "name": "phone", "required": true },
249
+ { "name": "email", "required": true }
250
+ ]
251
+ },
252
+ {
253
+ "title": "Офис банка",
254
+ "columns": 2,
255
+ "inputs": [
256
+ { "name": "region", "required": true },
257
+ { "name": "addressBranch", "required": true }
258
+ ]
259
+ }
260
+ ],
261
+ "button": {
262
+ "text": "Отправить заявку",
263
+ "version": "primary"
264
+ },
265
+ "link": {
266
+ "text": "условиями передачи данных",
267
+ "href": "/privacy-policy",
268
+ "target": "_blank"
269
+ }
270
+ }
271
+ }
272
+ ],
273
+ [
274
+ "Факты коррупции ФЛ",
188
275
  {
189
276
  "content": {
190
277
  "title": "Сообщить о коррупции",
@@ -239,7 +326,44 @@
239
326
  }
240
327
  ],
241
328
  [
242
- "Самоинкассация",
329
+ "Депозит ЮЛ",
330
+ {
331
+ "content": {
332
+ "title": "Форма заявка",
333
+ "typeForm": "DPST",
334
+ "endpoint": "sendcorporatelead",
335
+ "sections": [
336
+ {
337
+ "inputs": [
338
+ {
339
+ "name": "name",
340
+ "required": true
341
+ },
342
+ {
343
+ "name": "phone",
344
+ "required": true
345
+ },
346
+ {
347
+ "name": "consentDataProcessing",
348
+ "required": true
349
+ }
350
+ ]
351
+ }
352
+ ],
353
+ "button": {
354
+ "text": "Отправить заявку",
355
+ "version": "primary"
356
+ },
357
+ "link": {
358
+ "text": "Согласен на обработку персональных данных",
359
+ "href": "/privacy-policy",
360
+ "target": "_blank"
361
+ }
362
+ }
363
+ }
364
+ ],
365
+ [
366
+ "Самоинкассация ЮЛ",
243
367
  {
244
368
  "content": {
245
369
  "title": "Заполните заявку на консультацию",
@@ -278,5 +402,81 @@
278
402
  }
279
403
  }
280
404
  }
405
+ ],
406
+ [
407
+ "Консультация по продукту ФЛ",
408
+ {
409
+ "content": {
410
+ "title": "Заполните форму",
411
+ "typeForm": "PRODUCT",
412
+ "endpoint": "lead",
413
+ "sections": [
414
+ {
415
+ "columns": 2,
416
+ "inputs": [
417
+ { "name": "surname", "required": true },
418
+ { "name": "name", "required": true },
419
+ { "name": "middleName" },
420
+ { "name": "birthday", "required": true },
421
+ { "name": "phone", "required": true },
422
+ { "name": "email", "required": true },
423
+ { "name": "consentDataProcessing" }
424
+ ]
425
+ }
426
+ ],
427
+ "button": {
428
+ "text": "Отправить заявку",
429
+ "version": "primary"
430
+ },
431
+ "link": {
432
+ "text": "Согласен на обработку персональных данных",
433
+ "href": "/privacy-policy",
434
+ "target": "_blank"
435
+ }
436
+ }
437
+ }
438
+ ],
439
+ [
440
+ "Ультра/Премиум ФЛ",
441
+ {
442
+ "content": {
443
+ "title": "Стать клиентом",
444
+ "typeForm": "ULTRASERVICE",
445
+ "endpoint": "lead",
446
+ "sections": [
447
+ {
448
+ "title": "Ваши данные",
449
+ "columns": 2,
450
+ "inputs": [
451
+ { "name": "surname", "required": true },
452
+ { "name": "name", "required": true },
453
+ { "name": "middleName" },
454
+ { "name": "phone", "required": true },
455
+ { "name": "email", "required": true },
456
+ { "name": "serviceType", "required": true }
457
+ ]
458
+ },
459
+ {
460
+ "title": "Офис банка",
461
+ "columns": 2,
462
+ "inputs": [
463
+ { "name": "region", "required": true },
464
+ { "name": "addressBranch", "required": true }
465
+ ]
466
+ },
467
+ { "inputs": [{ "name": "comment" }] },
468
+ { "inputs": [{ "name": "consentDataProcessing" }] }
469
+ ],
470
+ "button": {
471
+ "text": "Отправить заявку",
472
+ "version": "primary"
473
+ },
474
+ "link": {
475
+ "text": "Согласен на обработку персональных данных",
476
+ "href": "/privacy-policy",
477
+ "target": "_blank"
478
+ }
479
+ }
480
+ }
281
481
  ]
282
482
  ]