@redneckz/wildless-cms-uni-blocks 0.14.145 → 0.14.147

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 (426) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +119 -74
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ApplicationForm/AddressBranchField.d.ts +7 -0
  5. package/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
  6. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
  7. package/bundle/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
  8. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  9. package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  10. package/bundle/components/ApplicationForm/RegionField.d.ts +6 -0
  11. package/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
  12. package/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +1 -5
  13. package/bundle/components/ApplicationForm/renderUserData.d.ts +1 -1
  14. package/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  15. package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  16. package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  17. package/bundle/hooks/usePremiumBranchesByRegions.d.ts +7 -0
  18. package/dist/components/ApplicationForm/AddressBranchField.d.ts +7 -0
  19. package/dist/components/ApplicationForm/AddressBranchField.js +16 -0
  20. package/dist/components/ApplicationForm/AddressBranchField.js.map +1 -0
  21. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
  22. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +1 -1
  23. package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  24. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -3
  25. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  26. package/dist/components/ApplicationForm/ApplicationFormAntiFraud.js +1 -1
  27. package/dist/components/ApplicationForm/ApplicationFormAntiFraud.js.map +1 -1
  28. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -4
  29. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  30. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
  31. package/dist/components/ApplicationForm/ApplicationFormCorruption.js +2 -4
  32. package/dist/components/ApplicationForm/ApplicationFormCorruption.js.map +1 -1
  33. package/dist/components/ApplicationForm/ApplicationFormCredit.js +8 -4
  34. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  35. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  36. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  37. package/dist/components/ApplicationForm/ApplicationFormFeedback.js +3 -5
  38. package/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  39. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js +1 -1
  40. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  41. package/dist/components/ApplicationForm/ApplicationFormSelfCollection.js +2 -4
  42. package/dist/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
  43. package/dist/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
  44. package/dist/components/ApplicationForm/ApplicationFormUltraPremium.js +73 -0
  45. package/dist/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -0
  46. package/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
  47. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  48. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  49. package/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  50. package/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
  51. package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  52. package/dist/components/ApplicationForm/RegionField.d.ts +6 -0
  53. package/dist/components/ApplicationForm/{renderRegion.js → RegionField.js} +7 -6
  54. package/dist/components/ApplicationForm/RegionField.js.map +1 -0
  55. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  56. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  57. package/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
  58. package/dist/components/ApplicationForm/renderAcquiringRegion.js +2 -2
  59. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  60. package/dist/components/ApplicationForm/renderAgreementWithSubmit.js +1 -1
  61. package/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -1
  62. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  63. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  64. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  65. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  66. package/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
  67. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  68. package/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  69. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  70. package/dist/components/ApplicationForm/renderRegionDepartment.d.ts +1 -5
  71. package/dist/components/ApplicationForm/renderRegionDepartment.js +3 -8
  72. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  73. package/dist/components/ApplicationForm/renderUserData.d.ts +1 -1
  74. package/dist/components/ApplicationForm/renderUserData.js +1 -1
  75. package/dist/components/ApplicationForm/renderUserData.js.map +1 -1
  76. package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  77. package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
  78. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  79. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  80. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  81. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  82. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  83. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  84. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  85. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  86. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  87. package/dist/hooks/usePremiumBranchesByRegions.d.ts +7 -0
  88. package/dist/hooks/usePremiumBranchesByRegions.js +11 -0
  89. package/dist/hooks/usePremiumBranchesByRegions.js.map +1 -0
  90. package/dist/ui-kit/Select/Select.js +1 -1
  91. package/dist/ui-kit/Select/Select.js.map +1 -1
  92. package/lib/common.css +1 -1
  93. package/lib/components/ApplicationForm/AddressBranchField.d.ts +7 -0
  94. package/lib/components/ApplicationForm/AddressBranchField.js +14 -0
  95. package/lib/components/ApplicationForm/AddressBranchField.js.map +1 -0
  96. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
  97. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +1 -1
  98. package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  99. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
  100. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +4 -0
  101. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -3
  102. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  103. package/lib/components/ApplicationForm/ApplicationFormAntiFraud.js +1 -1
  104. package/lib/components/ApplicationForm/ApplicationFormAntiFraud.js.map +1 -1
  105. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -4
  106. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  107. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
  108. package/lib/components/ApplicationForm/ApplicationFormCorruption.js +2 -4
  109. package/lib/components/ApplicationForm/ApplicationFormCorruption.js.map +1 -1
  110. package/lib/components/ApplicationForm/ApplicationFormCredit.js +8 -4
  111. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  112. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  113. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  114. package/lib/components/ApplicationForm/ApplicationFormFeedback.js +3 -5
  115. package/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  116. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js +1 -1
  117. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  118. package/lib/components/ApplicationForm/ApplicationFormSelfCollection.js +2 -4
  119. package/lib/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
  120. package/lib/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
  121. package/lib/components/ApplicationForm/ApplicationFormUltraPremium.js +71 -0
  122. package/lib/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -0
  123. package/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
  124. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  125. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  126. package/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  127. package/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
  128. package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  129. package/lib/components/ApplicationForm/RegionField.d.ts +6 -0
  130. package/lib/components/ApplicationForm/{renderRegion.js → RegionField.js} +6 -4
  131. package/lib/components/ApplicationForm/RegionField.js.map +1 -0
  132. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  133. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  134. package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
  135. package/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -3
  136. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  137. package/lib/components/ApplicationForm/renderAgreementWithSubmit.js +1 -1
  138. package/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -1
  139. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  140. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  141. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  142. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  143. package/lib/components/ApplicationForm/renderCreditParameters.js +2 -2
  144. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  145. package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  146. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  147. package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +2 -5
  148. package/lib/components/ApplicationForm/renderRegionDepartment.js +4 -9
  149. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  150. package/lib/components/ApplicationForm/renderUserData.js +1 -1
  151. package/lib/components/ApplicationForm/renderUserData.js.map +1 -1
  152. package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  153. package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
  154. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  155. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  156. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  157. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  158. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  159. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  160. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  161. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  162. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  163. package/lib/hooks/usePremiumBranchesByRegions.d.ts +7 -0
  164. package/lib/hooks/usePremiumBranchesByRegions.js +8 -0
  165. package/lib/hooks/usePremiumBranchesByRegions.js.map +1 -0
  166. package/lib/ui-kit/Select/Select.js +1 -1
  167. package/lib/ui-kit/Select/Select.js.map +1 -1
  168. package/mobile/bundle/bundle.umd.js +120 -75
  169. package/mobile/bundle/bundle.umd.min.js +1 -1
  170. package/mobile/bundle/components/ApplicationForm/AddressBranchField.d.ts +7 -0
  171. package/mobile/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
  172. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
  173. package/mobile/bundle/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
  174. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  175. package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  176. package/mobile/bundle/components/ApplicationForm/RegionField.d.ts +6 -0
  177. package/mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
  178. package/mobile/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +1 -5
  179. package/mobile/bundle/components/ApplicationForm/renderUserData.d.ts +1 -1
  180. package/mobile/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  181. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  182. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  183. package/mobile/bundle/hooks/usePremiumBranchesByRegions.d.ts +7 -0
  184. package/mobile/dist/components/ApplicationForm/AddressBranchField.d.ts +7 -0
  185. package/mobile/dist/components/ApplicationForm/AddressBranchField.js +16 -0
  186. package/mobile/dist/components/ApplicationForm/AddressBranchField.js.map +1 -0
  187. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
  188. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +1 -1
  189. package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  190. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -3
  191. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  192. package/mobile/dist/components/ApplicationForm/ApplicationFormAntiFraud.js +1 -1
  193. package/mobile/dist/components/ApplicationForm/ApplicationFormAntiFraud.js.map +1 -1
  194. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -4
  195. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  196. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
  197. package/mobile/dist/components/ApplicationForm/ApplicationFormCorruption.js +2 -4
  198. package/mobile/dist/components/ApplicationForm/ApplicationFormCorruption.js.map +1 -1
  199. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +8 -4
  200. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  201. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  202. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  203. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js +3 -5
  204. package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  205. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js +1 -1
  206. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  207. package/mobile/dist/components/ApplicationForm/ApplicationFormSelfCollection.js +2 -4
  208. package/mobile/dist/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
  209. package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
  210. package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.js +73 -0
  211. package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -0
  212. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
  213. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  214. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  215. package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  216. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
  217. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  218. package/mobile/dist/components/ApplicationForm/RegionField.d.ts +6 -0
  219. package/mobile/dist/components/ApplicationForm/{renderRegion.js → RegionField.js} +7 -6
  220. package/mobile/dist/components/ApplicationForm/RegionField.js.map +1 -0
  221. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  222. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  223. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
  224. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +2 -2
  225. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  226. package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js +1 -1
  227. package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -1
  228. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  229. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  230. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  231. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  232. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
  233. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  234. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  235. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  236. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +1 -5
  237. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +3 -8
  238. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  239. package/mobile/dist/components/ApplicationForm/renderUserData.d.ts +1 -1
  240. package/mobile/dist/components/ApplicationForm/renderUserData.js +1 -1
  241. package/mobile/dist/components/ApplicationForm/renderUserData.js.map +1 -1
  242. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  243. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
  244. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  245. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  246. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  247. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  248. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  249. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  250. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  251. package/mobile/dist/hooks/usePremiumBranchesByRegions.d.ts +7 -0
  252. package/mobile/dist/hooks/usePremiumBranchesByRegions.js +11 -0
  253. package/mobile/dist/hooks/usePremiumBranchesByRegions.js.map +1 -0
  254. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  255. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  256. package/mobile/lib/common.css +1 -1
  257. package/mobile/lib/components/ApplicationForm/AddressBranchField.d.ts +7 -0
  258. package/mobile/lib/components/ApplicationForm/AddressBranchField.js +14 -0
  259. package/mobile/lib/components/ApplicationForm/AddressBranchField.js.map +1 -0
  260. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
  261. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +1 -1
  262. package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
  263. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -3
  264. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  265. package/mobile/lib/components/ApplicationForm/ApplicationFormAntiFraud.js +1 -1
  266. package/mobile/lib/components/ApplicationForm/ApplicationFormAntiFraud.js.map +1 -1
  267. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -4
  268. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  269. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
  270. package/mobile/lib/components/ApplicationForm/ApplicationFormCorruption.js +2 -4
  271. package/mobile/lib/components/ApplicationForm/ApplicationFormCorruption.js.map +1 -1
  272. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +8 -4
  273. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  274. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  275. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  276. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js +3 -5
  277. package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
  278. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js +1 -1
  279. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
  280. package/mobile/lib/components/ApplicationForm/ApplicationFormSelfCollection.js +2 -4
  281. package/mobile/lib/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
  282. package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
  283. package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.js +71 -0
  284. package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -0
  285. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
  286. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  287. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  288. package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  289. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
  290. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  291. package/mobile/lib/components/ApplicationForm/RegionField.d.ts +6 -0
  292. package/mobile/lib/components/ApplicationForm/{renderRegion.js → RegionField.js} +6 -4
  293. package/mobile/lib/components/ApplicationForm/RegionField.js.map +1 -0
  294. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  295. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  296. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
  297. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -3
  298. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  299. package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js +1 -1
  300. package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -1
  301. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  302. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  303. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  304. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  305. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +2 -2
  306. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  307. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  308. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  309. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +1 -5
  310. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +4 -9
  311. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  312. package/mobile/lib/components/ApplicationForm/renderUserData.d.ts +1 -1
  313. package/mobile/lib/components/ApplicationForm/renderUserData.js +1 -1
  314. package/mobile/lib/components/ApplicationForm/renderUserData.js.map +1 -1
  315. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  316. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
  317. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  318. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  319. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  320. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  321. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  322. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  323. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  324. package/mobile/lib/hooks/usePremiumBranchesByRegions.d.ts +7 -0
  325. package/mobile/lib/hooks/usePremiumBranchesByRegions.js +8 -0
  326. package/mobile/lib/hooks/usePremiumBranchesByRegions.js.map +1 -0
  327. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  328. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  329. package/mobile/src/components/ApplicationForm/AddressBranchField.tsx +27 -0
  330. package/mobile/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +2 -6
  331. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -3
  332. package/mobile/src/components/ApplicationForm/ApplicationFormAntiFraud.tsx +16 -21
  333. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -4
  334. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +19 -1
  335. package/mobile/src/components/ApplicationForm/ApplicationFormCorruption.tsx +21 -25
  336. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +20 -4
  337. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +8 -11
  338. package/mobile/src/components/ApplicationForm/ApplicationFormFeedback.tsx +61 -67
  339. package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +19 -22
  340. package/mobile/src/components/ApplicationForm/ApplicationFormSelfCollection.tsx +13 -17
  341. package/mobile/src/components/ApplicationForm/ApplicationFormUltraPremium.tsx +151 -0
  342. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
  343. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -1
  344. package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
  345. package/mobile/src/components/ApplicationForm/RegionField.tsx +25 -0
  346. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +13 -18
  347. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +15 -18
  348. package/mobile/src/components/ApplicationForm/renderAgreementWithSubmit.tsx +1 -1
  349. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +10 -17
  350. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +19 -26
  351. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +20 -25
  352. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +32 -34
  353. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +11 -31
  354. package/mobile/src/components/ApplicationForm/renderUserData.tsx +1 -1
  355. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
  356. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  357. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +1 -1
  358. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
  359. package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -7
  360. package/mobile/src/hooks/usePremiumBranchesByRegions.ts +17 -0
  361. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  362. package/package.json +1 -1
  363. package/src/components/ApplicationForm/AddressBranchField.tsx +27 -0
  364. package/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +2 -6
  365. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +56 -0
  366. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +15 -0
  367. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -3
  368. package/src/components/ApplicationForm/ApplicationFormAntiFraud.tsx +16 -21
  369. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -4
  370. package/src/components/ApplicationForm/ApplicationFormContent.ts +19 -1
  371. package/src/components/ApplicationForm/ApplicationFormCorruption.tsx +21 -25
  372. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +20 -4
  373. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +8 -11
  374. package/src/components/ApplicationForm/ApplicationFormFeedback.tsx +61 -67
  375. package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +19 -22
  376. package/src/components/ApplicationForm/ApplicationFormSelfCollection.tsx +13 -17
  377. package/src/components/ApplicationForm/ApplicationFormUltraPremium.tsx +151 -0
  378. package/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
  379. package/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -1
  380. package/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
  381. package/src/components/ApplicationForm/RegionField.tsx +25 -0
  382. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +13 -18
  383. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +15 -18
  384. package/src/components/ApplicationForm/renderAgreementWithSubmit.tsx +1 -1
  385. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +10 -17
  386. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +19 -26
  387. package/src/components/ApplicationForm/renderCreditParameters.tsx +20 -25
  388. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +32 -34
  389. package/src/components/ApplicationForm/renderRegionDepartment.tsx +11 -31
  390. package/src/components/ApplicationForm/renderUserData.tsx +1 -1
  391. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
  392. package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  393. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +1 -1
  394. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
  395. package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -7
  396. package/src/components/StepsBlock/StepsBlock.tsx +1 -1
  397. package/src/hooks/usePremiumBranchesByRegions.ts +17 -0
  398. package/src/ui-kit/Select/Select.tsx +1 -1
  399. package/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
  400. package/bundle/components/ApplicationForm/renderRegion.d.ts +0 -10
  401. package/dist/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
  402. package/dist/components/ApplicationForm/renderIndividualsFields.js +0 -12
  403. package/dist/components/ApplicationForm/renderIndividualsFields.js.map +0 -1
  404. package/dist/components/ApplicationForm/renderRegion.d.ts +0 -10
  405. package/dist/components/ApplicationForm/renderRegion.js.map +0 -1
  406. package/lib/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
  407. package/lib/components/ApplicationForm/renderIndividualsFields.js +0 -9
  408. package/lib/components/ApplicationForm/renderIndividualsFields.js.map +0 -1
  409. package/lib/components/ApplicationForm/renderRegion.d.ts +0 -9
  410. package/lib/components/ApplicationForm/renderRegion.js.map +0 -1
  411. package/mobile/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
  412. package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +0 -10
  413. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
  414. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js +0 -12
  415. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js.map +0 -1
  416. package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +0 -10
  417. package/mobile/dist/components/ApplicationForm/renderRegion.js.map +0 -1
  418. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
  419. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js +0 -9
  420. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js.map +0 -1
  421. package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +0 -10
  422. package/mobile/lib/components/ApplicationForm/renderRegion.js.map +0 -1
  423. package/mobile/src/components/ApplicationForm/renderIndividualsFields.tsx +0 -33
  424. package/mobile/src/components/ApplicationForm/renderRegion.tsx +0 -36
  425. package/src/components/ApplicationForm/renderIndividualsFields.tsx +0 -33
  426. package/src/components/ApplicationForm/renderRegion.tsx +0 -36
@@ -10,22 +10,17 @@ export const renderAcquiringDataOrganization = (
10
10
  field: FormFieldRegisterer<AcquiringFormState>,
11
11
  title?: string,
12
12
  ) => (
13
- <ApplicationFieldsetLayout
14
- title={title}
15
- firstChildren={
16
- <div className={formChildrenStyle}>
17
- <InputControl
18
- label="Наименование организации*"
19
- {...withValidator(field('fullName'), defaultValidator)}
20
- />
21
- <InputControl label="Контактное лицо*" {...withValidator(field('name'), nameValidator)} />
22
- </div>
23
- }
24
- secondChildren={
25
- <div className={formChildrenStyle}>
26
- <InputControl label="ИНН*" {...withValidator(field('inn'), innValidator)} />
27
- <PhoneInputControl label="Телефон*" {...withValidator(field('phone'), phoneValidator)} />
28
- </div>
29
- }
30
- />
13
+ <ApplicationFieldsetLayout title={title}>
14
+ <div className={formChildrenStyle}>
15
+ <InputControl
16
+ label="Наименование организации*"
17
+ {...withValidator(field('fullName'), defaultValidator)}
18
+ />
19
+ <InputControl label="Контактное лицо*" {...withValidator(field('name'), nameValidator)} />
20
+ </div>
21
+ <div className={formChildrenStyle}>
22
+ <InputControl label="ИНН*" {...withValidator(field('inn'), innValidator)} />
23
+ <PhoneInputControl label="Телефон*" {...withValidator(field('phone'), phoneValidator)} />
24
+ </div>
25
+ </ApplicationFieldsetLayout>
31
26
  );
@@ -3,30 +3,27 @@ import { withValidator } from '../../validation/withValidator';
3
3
  import { ACQUIRING_TYPES } from './acquiringTypes';
4
4
  import { ApplicationFieldsetLayout, formChildrenStyle } from './ApplicationFieldsetLayout';
5
5
  import { type AcquiringFormState } from './ApplicationFormAcquiring';
6
- import { type Select } from './models';
7
- import { renderRegion } from './renderRegion';
6
+ import { RegionField } from './RegionField';
8
7
  import { SelectControl } from './SelectControl';
9
8
  import { defaultValidator } from './validators';
10
9
 
11
10
  interface AcquiringRegionProps {
12
- regions: Select[];
13
11
  field: FormFieldRegisterer<AcquiringFormState>;
14
12
  title?: string;
15
13
  }
16
14
 
17
- export const renderAcquiringRegion = ({ field, title, regions }: AcquiringRegionProps) => (
18
- <ApplicationFieldsetLayout
19
- title={title}
20
- firstChildren={
21
- <div className={formChildrenStyle}>
22
- <SelectControl
23
- label="Вид эквайринга"
24
- placeholder="Выберите эквайринг"
25
- options={ACQUIRING_TYPES}
26
- {...withValidator(field('acquiringType'), defaultValidator)}
27
- />
28
- </div>
29
- }
30
- secondChildren={<div className={formChildrenStyle}>{renderRegion(regions, field)}</div>}
31
- />
15
+ export const renderAcquiringRegion = ({ field, title }: AcquiringRegionProps) => (
16
+ <ApplicationFieldsetLayout title={title}>
17
+ <div className={formChildrenStyle}>
18
+ <SelectControl
19
+ label="Вид эквайринга"
20
+ placeholder="Выберите эквайринг"
21
+ options={ACQUIRING_TYPES}
22
+ {...withValidator(field('acquiringType'), defaultValidator)}
23
+ />
24
+ </div>
25
+ <div className={formChildrenStyle}>
26
+ <RegionField field={field} />
27
+ </div>
28
+ </ApplicationFieldsetLayout>
32
29
  );
@@ -13,7 +13,7 @@ export const renderAgreementWithSubmit = (
13
13
  link?: LinkProps,
14
14
  button?: SubmitButtonProps,
15
15
  ) => (
16
- <div className="flex flex-col lg:flex-row w-full justify-between items-baseline">
16
+ <div className="flex gap-m flex-col lg:flex-row w-full justify-between items-baseline">
17
17
  <div>
18
18
  <div className="flex gap-3">
19
19
  <Checkbox {...consentDataProcessing} />
@@ -9,21 +9,14 @@ import { defaultValidator, innValidator, nameValidator, phoneValidator } from '.
9
9
  export const renderBusinessCardDataOrganization = (
10
10
  field: FormFieldRegisterer<BusinessCardFormState>,
11
11
  ) => (
12
- <ApplicationFieldsetLayout
13
- firstChildren={
14
- <div className={formChildrenStyle}>
15
- <InputControl label="Контактное лицо" {...withValidator(field('name'), nameValidator)} />
16
- <InputControl label="ИНН" {...withValidator(field('inn'), innValidator)} />
17
- </div>
18
- }
19
- secondChildren={
20
- <div className={formChildrenStyle}>
21
- <PhoneInputControl label="Телефон" {...withValidator(field('phone'), phoneValidator)} />
22
- <InputControl
23
- label="Электронная почта"
24
- {...withValidator(field('mail'), defaultValidator)}
25
- />
26
- </div>
27
- }
28
- />
12
+ <ApplicationFieldsetLayout>
13
+ <div className={formChildrenStyle}>
14
+ <InputControl label="Контактное лицо" {...withValidator(field('name'), nameValidator)} />
15
+ <InputControl label="ИНН" {...withValidator(field('inn'), innValidator)} />
16
+ </div>
17
+ <div className={formChildrenStyle}>
18
+ <PhoneInputControl label="Телефон" {...withValidator(field('phone'), phoneValidator)} />
19
+ <InputControl label="Электронная почта" {...withValidator(field('mail'), defaultValidator)} />
20
+ </div>
21
+ </ApplicationFieldsetLayout>
29
22
  );
@@ -10,30 +10,23 @@ export const renderCreditDataOrganization = (
10
10
  field: FormFieldRegisterer<CreditFormState>,
11
11
  title?: string,
12
12
  ) => (
13
- <ApplicationFieldsetLayout
14
- title={title}
15
- firstChildren={
16
- <div className={formChildrenStyle}>
17
- <InputControl
18
- label="Наименование организации"
19
- {...withValidator(field('fullName'), defaultValidator)}
20
- />
21
- <InputControl label="ИНН" {...withValidator(field('inn'), innValidator)} />
22
- <PhoneInputControl label="Телефон" {...withValidator(field('phone'), phoneValidator)} />
23
- </div>
24
- }
25
- secondChildren={
26
- <div className={formChildrenStyle}>
27
- <InputControl
28
- label="Годовая выручка, ₽"
29
- {...withValidator(field('annualRevenue'), defaultValidator)}
30
- />
31
- <InputControl label="Контактное лицо" {...withValidator(field('name'), nameValidator)} />
32
- <InputControl
33
- label="Электронная почта"
34
- {...withValidator(field('mail'), defaultValidator)}
35
- />
36
- </div>
37
- }
38
- />
13
+ <ApplicationFieldsetLayout title={title}>
14
+ <div className={formChildrenStyle}>
15
+ <InputControl
16
+ label="Наименование организации"
17
+ {...withValidator(field('fullName'), defaultValidator)}
18
+ />
19
+ <InputControl label="ИНН" {...withValidator(field('inn'), innValidator)} />
20
+ <PhoneInputControl label="Телефон" {...withValidator(field('phone'), phoneValidator)} />
21
+ </div>
22
+
23
+ <div className={formChildrenStyle}>
24
+ <InputControl
25
+ label="Годовая выручка, ₽"
26
+ {...withValidator(field('annualRevenue'), defaultValidator)}
27
+ />
28
+ <InputControl label="Контактное лицо" {...withValidator(field('name'), nameValidator)} />
29
+ <InputControl label="Электронная почта" {...withValidator(field('mail'), defaultValidator)} />
30
+ </div>
31
+ </ApplicationFieldsetLayout>
39
32
  );
@@ -15,29 +15,24 @@ export const renderCreditParameters = (
15
15
  field: FormFieldRegisterer<CreditFormState>,
16
16
  title?: string,
17
17
  ) => (
18
- <ApplicationFieldsetLayout
19
- title={title}
20
- firstChildren={
21
- <div className={formChildrenStyle}>
22
- <InputRange
23
- title="Сумма, ₽"
24
- items={ITEMS_CREDIT_AMOUNT}
25
- min={MIN_CREDIT_AMOUNT}
26
- max={MAX_CREDIT_AMOUNT}
27
- {...field('amount')}
28
- />
29
- </div>
30
- }
31
- secondChildren={
32
- <div className={formChildrenStyle}>
33
- <InputRange
34
- title="Срок, месяцев"
35
- items={ITEMS_CREDIT_TERM}
36
- min={MIN_CREDIT_TERM}
37
- max={MAX_CREDIT_TERM}
38
- {...field('term')}
39
- />
40
- </div>
41
- }
42
- />
18
+ <ApplicationFieldsetLayout title={title}>
19
+ <div className={formChildrenStyle}>
20
+ <InputRange
21
+ title="Сумма, ₽"
22
+ items={ITEMS_CREDIT_AMOUNT}
23
+ min={MIN_CREDIT_AMOUNT}
24
+ max={MAX_CREDIT_AMOUNT}
25
+ {...field('amount')}
26
+ />
27
+ </div>
28
+ <div className={formChildrenStyle}>
29
+ <InputRange
30
+ title="Срок, месяцев"
31
+ items={ITEMS_CREDIT_TERM}
32
+ min={MIN_CREDIT_TERM}
33
+ max={MAX_CREDIT_TERM}
34
+ {...field('term')}
35
+ />
36
+ </div>
37
+ </ApplicationFieldsetLayout>
43
38
  );
@@ -7,39 +7,37 @@ export const renderQuestionsInterested = (field: FormFieldRegisterer<WedFormStat
7
7
  const { value, onChange } = field('vedTypes');
8
8
 
9
9
  return (
10
- <ApplicationFieldsetLayout
11
- firstChildren={
12
- <div className="gap-xl grid @xl:flex @xl:items-center">
13
- <Radio
14
- name="vedTypes"
15
- text="Валютный контроль"
16
- value="currencyControl"
17
- checked={value === 'currencyControl'}
18
- onChange={(_) => onChange && onChange(_)}
19
- />
20
- <Radio
21
- name="vedTypes"
22
- text="Документарные операции"
23
- value="documentOperations"
24
- checked={value === 'documentOperations'}
25
- onChange={(_) => onChange && onChange(_)}
26
- />
27
- <Radio
28
- name="vedTypes"
29
- text="Конверсионные операции"
30
- value="conversionTransactions"
31
- checked={value === 'conversionTransactions'}
32
- onChange={(_) => onChange && onChange(_)}
33
- />
34
- <Radio
35
- name="vedTypes"
36
- text="Иные вопросы ВЭД"
37
- value="otherIssues"
38
- checked={value === 'otherIssues'}
39
- onChange={(_) => onChange && onChange(_)}
40
- />
41
- </div>
42
- }
43
- />
10
+ <ApplicationFieldsetLayout>
11
+ <div className="gap-xl grid @xl:flex @xl:items-center">
12
+ <Radio
13
+ name="vedTypes"
14
+ text="Валютный контроль"
15
+ value="currencyControl"
16
+ checked={value === 'currencyControl'}
17
+ onChange={(_) => onChange && onChange(_)}
18
+ />
19
+ <Radio
20
+ name="vedTypes"
21
+ text="Документарные операции"
22
+ value="documentOperations"
23
+ checked={value === 'documentOperations'}
24
+ onChange={(_) => onChange && onChange(_)}
25
+ />
26
+ <Radio
27
+ name="vedTypes"
28
+ text="Конверсионные операции"
29
+ value="conversionTransactions"
30
+ checked={value === 'conversionTransactions'}
31
+ onChange={(_) => onChange && onChange(_)}
32
+ />
33
+ <Radio
34
+ name="vedTypes"
35
+ text="Иные вопросы ВЭД"
36
+ value="otherIssues"
37
+ checked={value === 'otherIssues'}
38
+ onChange={(_) => onChange && onChange(_)}
39
+ />
40
+ </div>
41
+ </ApplicationFieldsetLayout>
44
42
  );
45
43
  };
@@ -1,41 +1,21 @@
1
1
  import { type FormFieldRegisterer } from '../../hooks/useForm';
2
- import { withValidator } from '../../validation/withValidator';
3
- import { type Branch } from '../SafeDepositRental/useSafeBoxes';
2
+ import { AddressBranchField } from './AddressBranchField';
4
3
  import { ApplicationFieldsetLayout, formChildrenStyle } from './ApplicationFieldsetLayout';
5
4
  import { type CreditFormState } from './ApplicationFormCredit';
6
- import { type Select } from './models';
7
- import { renderRegion } from './renderRegion';
8
- import { SelectControl } from './SelectControl';
9
- import { defaultValidator } from './validators';
5
+ import { RegionField } from './RegionField';
10
6
 
11
7
  interface RegionDepartmentProps {
12
8
  title?: string;
13
- regions: Select[];
14
- branches: Branch[];
15
9
  field: FormFieldRegisterer<CreditFormState>;
16
10
  }
17
11
 
18
- export const renderRegionDepartment = ({
19
- title,
20
- regions,
21
- branches,
22
- field,
23
- }: RegionDepartmentProps) => (
24
- <ApplicationFieldsetLayout
25
- title={title}
26
- firstChildren={<div className={formChildrenStyle}>{renderRegion(regions, field)}</div>}
27
- secondChildren={
28
- <div className={formChildrenStyle}>
29
- <SelectControl
30
- label="Адрес"
31
- placeholder="Выберите адрес"
32
- options={branches.map(({ branchCode = '', address = '' }) => ({
33
- key: branchCode,
34
- text: address,
35
- }))}
36
- {...withValidator(field('department'), defaultValidator)}
37
- />
38
- </div>
39
- }
40
- />
12
+ export const renderRegionDepartment = ({ title, field }: RegionDepartmentProps) => (
13
+ <ApplicationFieldsetLayout title={title}>
14
+ <div className={formChildrenStyle}>
15
+ <RegionField field={field} />
16
+ </div>
17
+ <div className={formChildrenStyle}>
18
+ <AddressBranchField field={field} />
19
+ </div>
20
+ </ApplicationFieldsetLayout>
41
21
  );
@@ -26,7 +26,7 @@ export const renderUserData = <
26
26
  field: FormFieldRegisterer<T>,
27
27
  isBirthday = true,
28
28
  ) => (
29
- <div>
29
+ <div className="space-y-s">
30
30
  <InputControl label="Фамилия*" {...withValidator(field('surname'), nameValidator)} />
31
31
  <InputControl label="Имя*" {...withValidator(field('name'), nameValidator)} />
32
32
  <InputControl label="Отчество (Обязательно, при наличии)" {...field('middleName')} />
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { type Region } from './useGetRegions';
2
+ import { type Region } from '../../hooks/useRegions';
3
3
  import { type Branch } from './useSafeBoxes';
4
4
  import { WrapperSelect } from './WrapperSelect';
5
5
 
@@ -1,5 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
3
+ import { useRegions, type Region } from '../../hooks/useRegions';
3
4
  import { type UniBlockProps } from '../../model/JSXBlock';
4
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
6
  import { Heading } from '../../ui-kit/Heading/Heading';
@@ -8,7 +9,6 @@ import { YandexMap } from '../../ui-kit/YandexMap/YandexMap';
8
9
  import { type SafeDepositRentalContent } from './SafeDepositRentalContent';
9
10
  import { SafeDepositRentalForm } from './SafeDepositRentalForm';
10
11
  import { type HandleFormStateChange, type SafeDepositRentalState } from './SafeDepositRentalTypes';
11
- import { useGetRegions, type Region } from './useGetRegions';
12
12
  import { useSafeBoxes } from './useSafeBoxes';
13
13
  import { getBranch, getCoordinates } from './utils';
14
14
 
@@ -28,7 +28,7 @@ export const SafeDepositRental = JSX<SafeDepositRentalProps>(
28
28
  days: DEFAULT_DAYS,
29
29
  });
30
30
 
31
- const regions = useGetRegions();
31
+ const regions = useRegions();
32
32
 
33
33
  const selectedRegion = normalizeSelectedRegion(safeDepositState.selectedRegion, regions);
34
34
 
@@ -1,4 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import { type Region } from '../../hooks/useRegions';
2
3
  import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
3
4
  import { Text } from '../../ui-kit/Text/Text';
4
5
  import { RadioButtons } from './RadioButtons';
@@ -6,7 +7,6 @@ import { RegionsAndBranches } from './RegionsAndBranches';
6
7
  import { RentalPeriod } from './RentalPeriod';
7
8
  import { SafeBoxCases } from './SafeBoxCases';
8
9
  import { type HandleFormStateChange, type SafeDepositRentalState } from './SafeDepositRentalTypes';
9
- import { type Region } from './useGetRegions';
10
10
  import { type Branch, type SafeBoxCase, type SafeBoxCaseVolume } from './useSafeBoxes';
11
11
 
12
12
  export interface SafeDepositRentalFieldsProps extends SafeDepositRentalState {
@@ -1,9 +1,9 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useEffect } from '@redneckz/uni-jsx/lib/hooks/core';
3
+ import { type Region } from '../../hooks/useRegions';
3
4
  import { SafeDepositRentalFields } from './SafeDepositRentalFields';
4
5
  import { SafeDepositRentalTotal } from './SafeDepositRentalTotal';
5
6
  import { type SafeDepositRentalState } from './SafeDepositRentalTypes';
6
- import { type Region } from './useGetRegions';
7
7
  import { type Branch, type SafeBoxCase, type SafeBoxCaseVolume } from './useSafeBoxes';
8
8
  import { getBranch } from './utils';
9
9
 
@@ -124,17 +124,13 @@ const renderIconArea =
124
124
  const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
125
125
  const isImg = Boolean(step?.icon?.src);
126
126
  const iconAreaSize = STEPS_SIZE_MAP[size][isImg ? 'image' : 'icon'];
127
- const containerStyle = isImg ? '' : 'rounded-md';
127
+ const containerVersion = isImg ? stepVersion === 'transparent' : stepVersion;
128
128
 
129
129
  return (
130
130
  <BlockWrapper
131
- className={style(
132
- iconAreaSize,
133
- containerStyle,
134
- 'z-10 mr-s flex justify-center content-center',
135
- )}
131
+ className={style(iconAreaSize, 'z-10 mr-s flex justify-center content-center rounded-md')}
136
132
  defaultPadding=""
137
- version={stepVersion}
133
+ version={containerVersion as BlockVersion}
138
134
  >
139
135
  <span className="flex max-w-full max-h-full items-center justify-center">
140
136
  {isIcon(step?.icon) ? (
@@ -61,7 +61,7 @@ export const StepsBlock = JSX<StepsBlockProps>(
61
61
  align={AlignStyles}
62
62
  />
63
63
  {steps?.length ? (
64
- <div className="box-border space-y-lg">
64
+ <div className="box-border space-y-lg flex flex-col justify-center">
65
65
  <div className={style('flex items-center', paddingX)}>
66
66
  {joinList(
67
67
  <div className={style('h-0.5 w-full bg-secondary-light flex-1', lineOpacity)} />,
@@ -0,0 +1,17 @@
1
+ import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
2
+ import { fetchJSONUnsafe, type FetchJSONUnsafeType } from '../utils/fetchJSON';
3
+
4
+ const REGIONS_URL = '/api/v1/premiumBranchesByRegions';
5
+
6
+ export interface Region {
7
+ region: string;
8
+ branches: {
9
+ address: string;
10
+ }[];
11
+ }
12
+
13
+ export function usePremiumBranchesByRegions(): Region[] {
14
+ const { data } = useAsyncData(REGIONS_URL, fetchJSONUnsafe as FetchJSONUnsafeType<Region[]>);
15
+
16
+ return data || [];
17
+ }
@@ -65,7 +65,7 @@ export const Select = JSX<SelectProps>(
65
65
  )}
66
66
  onClick={isOpen ? handleClose : open}
67
67
  >
68
- <p className="p-m pr-8 flex items-center overflow-hidden text-ellipsis whitespace-nowrap">
68
+ <p className="p-m pr-8 flex items-center overflow-hidden text-ellipsis">
69
69
  {formatOption(value) || placeholder}
70
70
  </p>
71
71
  {renderIcon(isOpen, iconVersion)}
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type IndividualsFormState } from './ApplicationFormIndividuals';
4
- export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type AcquiringFormState } from './ApplicationFormAcquiring';
4
- import { type BusinessCardFormState } from './ApplicationFormBusinessCard';
5
- import { type CorruptionFormState } from './ApplicationFormCorruption';
6
- import { type FeedbackFormState } from './ApplicationFormFeedback';
7
- import { type SelfCollectionFormState } from './ApplicationFormSelfCollection';
8
- import { type WedFormState } from './ApplicationFormWed';
9
- import { type Select } from './models';
10
- export declare const renderRegion: <T extends AcquiringFormState | BusinessCardFormState | CorruptionFormState | FeedbackFormState | SelfCollectionFormState | WedFormState>(regions: Select[], field: FormFieldRegisterer<T>) => JSX.Element;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type IndividualsFormState } from './ApplicationFormIndividuals';
4
- export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;
@@ -1,12 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.renderIndividualsFields = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const withValidator_1 = require("../../validation/withValidator");
5
- const ApplicationFieldsetLayout_1 = require("./ApplicationFieldsetLayout");
6
- const DatePickerControl_1 = require("./DatePickerControl");
7
- const InputControl_1 = require("./InputControl");
8
- const PhoneInputControl_1 = require("./PhoneInputControl");
9
- const validators_1 = require("./validators");
10
- const renderIndividualsFields = (field) => ((0, jsx_runtime_1.jsx)(ApplicationFieldsetLayout_1.ApplicationFieldsetLayout, { firstChildren: (0, jsx_runtime_1.jsxs)("div", { className: ApplicationFieldsetLayout_1.formChildrenStyle, children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...(0, withValidator_1.withValidator)(field('surname'), validators_1.nameValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E", ...(0, withValidator_1.withValidator)(field('middleName'), validators_1.nameValidator) }), (0, jsx_runtime_1.jsx)(PhoneInputControl_1.PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...(0, withValidator_1.withValidator)(field('phone'), validators_1.phoneValidator) })] }), secondChildren: (0, jsx_runtime_1.jsxs)("div", { className: ApplicationFieldsetLayout_1.formChildrenStyle, children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u0418\u043C\u044F", ...(0, withValidator_1.withValidator)(field('name'), validators_1.nameValidator) }), (0, jsx_runtime_1.jsx)(DatePickerControl_1.DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F*", ...(0, withValidator_1.withValidator)(field('birthday'), validators_1.defaultValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...(0, withValidator_1.withValidator)(field('email'), validators_1.defaultValidator) })] }) }));
11
- exports.renderIndividualsFields = renderIndividualsFields;
12
- //# sourceMappingURL=renderIndividualsFields.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderIndividualsFields.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderIndividualsFields.tsx"],"names":[],"mappings":";;;AACA,kEAA+D;AAC/D,2EAA2F;AAE3F,2DAAwD;AACxD,iDAA8C;AAC9C,2DAAwD;AACxD,6CAA+E;AAExE,MAAM,uBAAuB,GAAG,CAAC,KAAgD,EAAE,EAAE,CAAC,CAC3F,uBAAC,qDAAyB,IACxB,aAAa,EACX,iCAAK,SAAS,EAAE,6CAAiB,aAC/B,uBAAC,2BAAY,IAAC,KAAK,EAAC,4CAAS,KAAK,IAAA,6BAAa,EAAC,KAAK,CAAC,SAAS,CAAC,EAAE,0BAAa,CAAC,GAAI,EACpF,uBAAC,2BAAY,IAAC,KAAK,EAAC,kDAAU,KAAK,IAAA,6BAAa,EAAC,KAAK,CAAC,YAAY,CAAC,EAAE,0BAAa,CAAC,GAAI,EACxF,uBAAC,qCAAiB,IAAC,KAAK,EAAC,4CAAS,KAAK,IAAA,6BAAa,EAAC,KAAK,CAAC,OAAO,CAAC,EAAE,2BAAc,CAAC,GAAI,IACpF,EAER,cAAc,EACZ,iCAAK,SAAS,EAAE,6CAAiB,aAC/B,uBAAC,2BAAY,IAAC,KAAK,EAAC,oBAAK,KAAK,IAAA,6BAAa,EAAC,KAAK,CAAC,MAAM,CAAC,EAAE,0BAAa,CAAC,GAAI,EAC7E,uBAAC,qCAAiB,IAChB,KAAK,EAAC,4EAAgB,KAClB,IAAA,6BAAa,EAAC,KAAK,CAAC,UAAU,CAAC,EAAE,6BAAgB,CAAC,GACtD,EACF,uBAAC,2BAAY,IACX,KAAK,EAAC,mGAAmB,KACrB,IAAA,6BAAa,EAAC,KAAK,CAAC,OAAO,CAAC,EAAE,6BAAgB,CAAC,GACnD,IACE,GAER,CACH,CAAC;AAvBW,QAAA,uBAAuB,2BAuBlC"}
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type AcquiringFormState } from './ApplicationFormAcquiring';
4
- import { type BusinessCardFormState } from './ApplicationFormBusinessCard';
5
- import { type CorruptionFormState } from './ApplicationFormCorruption';
6
- import { type FeedbackFormState } from './ApplicationFormFeedback';
7
- import { type SelfCollectionFormState } from './ApplicationFormSelfCollection';
8
- import { type WedFormState } from './ApplicationFormWed';
9
- import { type Select } from './models';
10
- export declare const renderRegion: <T extends AcquiringFormState | BusinessCardFormState | CorruptionFormState | FeedbackFormState | SelfCollectionFormState | WedFormState>(regions: Select[], field: FormFieldRegisterer<T>) => JSX.Element;
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderRegion.tsx"],"names":[],"mappings":";;;AACA,kEAA+D;AAQ/D,mDAAgD;AAChD,6CAAgD;AAEhD,uDAAuD;AAChD,MAAM,YAAY,GAAG,CAS1B,OAAiB,EACjB,KAA6B,EAC7B,EAAE;IACF,OAAO,CACL,uBAAC,6BAAa,IACZ,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,EAC7B,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,KAC3E,IAAA,6BAAa,EAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,6BAAgB,CAAC,GACpD,CACH,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,YAAY,gBAsBvB"}
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type IndividualsFormState } from './ApplicationFormIndividuals';
4
- export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { withValidator } from '../../validation/withValidator.js';
3
- import { ApplicationFieldsetLayout, formChildrenStyle } from './ApplicationFieldsetLayout.js';
4
- import { DatePickerControl } from './DatePickerControl.js';
5
- import { InputControl } from './InputControl.js';
6
- import { PhoneInputControl } from './PhoneInputControl.js';
7
- import { defaultValidator, nameValidator, phoneValidator } from './validators.js';
8
- export const renderIndividualsFields = (field) => (_jsx(ApplicationFieldsetLayout, { firstChildren: _jsxs("div", { className: formChildrenStyle, children: [_jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), _jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E", ...withValidator(field('middleName'), nameValidator) }), _jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), secondChildren: _jsxs("div", { className: formChildrenStyle, children: [_jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), _jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F*", ...withValidator(field('birthday'), defaultValidator) }), _jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) })] }) }));
9
- //# sourceMappingURL=renderIndividualsFields.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderIndividualsFields.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderIndividualsFields.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAE3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE/E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAgD,EAAE,EAAE,CAAC,CAC3F,KAAC,yBAAyB,IACxB,aAAa,EACX,eAAK,SAAS,EAAE,iBAAiB,aAC/B,KAAC,YAAY,IAAC,KAAK,EAAC,4CAAS,KAAK,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,GAAI,EACpF,KAAC,YAAY,IAAC,KAAK,EAAC,kDAAU,KAAK,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,aAAa,CAAC,GAAI,EACxF,KAAC,iBAAiB,IAAC,KAAK,EAAC,4CAAS,KAAK,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,GAAI,IACpF,EAER,cAAc,EACZ,eAAK,SAAS,EAAE,iBAAiB,aAC/B,KAAC,YAAY,IAAC,KAAK,EAAC,oBAAK,KAAK,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAAI,EAC7E,KAAC,iBAAiB,IAChB,KAAK,EAAC,4EAAgB,KAClB,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC,GACtD,EACF,KAAC,YAAY,IACX,KAAK,EAAC,mGAAmB,KACrB,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,gBAAgB,CAAC,GACnD,IACE,GAER,CACH,CAAC"}
@@ -1,9 +0,0 @@
1
- import { type FormFieldRegisterer } from '../../hooks/useForm';
2
- import { type AcquiringFormState } from './ApplicationFormAcquiring';
3
- import { type BusinessCardFormState } from './ApplicationFormBusinessCard';
4
- import { type CorruptionFormState } from './ApplicationFormCorruption';
5
- import { type FeedbackFormState } from './ApplicationFormFeedback';
6
- import { type SelfCollectionFormState } from './ApplicationFormSelfCollection';
7
- import { type WedFormState } from './ApplicationFormWed';
8
- import { type Select } from './models';
9
- export declare const renderRegion: <T extends AcquiringFormState | FeedbackFormState | CorruptionFormState | BusinessCardFormState | SelfCollectionFormState | WedFormState>(regions: Select[], field: FormFieldRegisterer<T>) => JSX.Element;
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderRegion.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAQ/D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,uDAAuD;AACvD,MAAM,CAAC,MAAM,YAAY,GAAG,CAS1B,OAAiB,EACjB,KAA6B,EAC7B,EAAE;IACF,OAAO,CACL,KAAC,aAAa,IACZ,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,EAC7B,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,KAC3E,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,GACpD,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type IndividualsFormState } from './ApplicationFormIndividuals';
4
- export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type AcquiringFormState } from './ApplicationFormAcquiring';
4
- import { type BusinessCardFormState } from './ApplicationFormBusinessCard';
5
- import { type CorruptionFormState } from './ApplicationFormCorruption';
6
- import { type FeedbackFormState } from './ApplicationFormFeedback';
7
- import { type SelfCollectionFormState } from './ApplicationFormSelfCollection';
8
- import { type WedFormState } from './ApplicationFormWed';
9
- import { type Select } from './models';
10
- export declare const renderRegion: <T extends AcquiringFormState | BusinessCardFormState | CorruptionFormState | FeedbackFormState | SelfCollectionFormState | WedFormState>(regions: Select[], field: FormFieldRegisterer<T>) => JSX.Element;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { type FormFieldRegisterer } from '../../hooks/useForm';
3
- import { type IndividualsFormState } from './ApplicationFormIndividuals';
4
- export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;