@redneckz/wildless-cms-uni-blocks 0.9.16 → 0.10.0

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 (566) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +372 -223
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ApplicationForm/InputControl.d.ts +10 -0
  5. package/bundle/components/ApplicationForm/{WrapperSelect.d.ts → SelectControl.d.ts} +4 -2
  6. package/bundle/components/ApplicationForm/models.d.ts +5 -0
  7. package/bundle/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  8. package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  9. package/{lib/components/ApplicationForm/renderSelects.d.ts → bundle/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
  10. package/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  11. package/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  12. package/bundle/components/ApplicationForm/renderRegion.d.ts +12 -0
  13. package/{dist/components/ApplicationForm/renderBankOffices.d.ts → bundle/components/ApplicationForm/renderRegionDepartment.d.ts} +4 -2
  14. package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  15. package/bundle/components/ApplicationForm/useForm.d.ts +14 -0
  16. package/bundle/components/ApplicationForm/validate.d.ts +1 -0
  17. package/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  18. package/bundle/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  19. package/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  20. package/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  21. package/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  22. package/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  23. package/bundle/ui-kit/RichText/RichTextProps.d.ts +2 -2
  24. package/bundle/ui-kit/Select/Select.d.ts +2 -0
  25. package/dist/components/ApplicationForm/ApplicationForm.js +3 -3
  26. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  27. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
  28. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  29. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
  30. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  31. package/dist/components/ApplicationForm/ApplicationFormCredit.js +52 -41
  32. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  33. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
  34. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  35. package/dist/components/ApplicationForm/ApplicationFormWed.js +38 -25
  36. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  37. package/dist/components/ApplicationForm/InputControl.d.ts +10 -0
  38. package/dist/components/ApplicationForm/InputControl.js +10 -0
  39. package/dist/components/ApplicationForm/InputControl.js.map +1 -0
  40. package/{lib/components/ApplicationForm/WrapperSelect.d.ts → dist/components/ApplicationForm/SelectControl.d.ts} +4 -2
  41. package/dist/components/ApplicationForm/SelectControl.js +14 -0
  42. package/dist/components/ApplicationForm/SelectControl.js.map +1 -0
  43. package/dist/components/ApplicationForm/models.d.ts +5 -0
  44. package/dist/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  45. package/dist/components/ApplicationForm/normalizeSelected.js +5 -0
  46. package/dist/components/ApplicationForm/normalizeSelected.js.map +1 -0
  47. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  48. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +8 -0
  49. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
  50. package/{bundle/components/ApplicationForm/renderSelects.d.ts → dist/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
  51. package/dist/components/ApplicationForm/renderAcquiringRegion.js +9 -0
  52. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
  53. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  54. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +8 -0
  55. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
  56. package/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  57. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +8 -0
  58. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
  59. package/dist/components/ApplicationForm/renderRegion.d.ts +12 -0
  60. package/dist/components/ApplicationForm/renderRegion.js +8 -0
  61. package/dist/components/ApplicationForm/renderRegion.js.map +1 -0
  62. package/{lib/components/ApplicationForm/renderBankOffices.d.ts → dist/components/ApplicationForm/renderRegionDepartment.d.ts} +4 -2
  63. package/dist/components/ApplicationForm/renderRegionDepartment.js +8 -0
  64. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
  65. package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  66. package/dist/components/ApplicationForm/renderWedDataOrganization.js +8 -0
  67. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
  68. package/dist/components/ApplicationForm/useForm.d.ts +14 -0
  69. package/dist/components/ApplicationForm/useForm.js +37 -0
  70. package/dist/components/ApplicationForm/useForm.js.map +1 -0
  71. package/dist/components/ApplicationForm/validate.d.ts +1 -0
  72. package/dist/components/ApplicationForm/validate.js +22 -0
  73. package/dist/components/ApplicationForm/validate.js.map +1 -0
  74. package/dist/components/Blocks.js +2 -0
  75. package/dist/components/Blocks.js.map +1 -1
  76. package/dist/components/Bonus/Bonus.js +5 -3
  77. package/dist/components/Bonus/Bonus.js.map +1 -1
  78. package/dist/components/Carousel/Carousel.js +4 -3
  79. package/dist/components/Carousel/Carousel.js.map +1 -1
  80. package/dist/components/Carousel/CarouselContent.d.ts +2 -0
  81. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
  82. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  83. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  84. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  85. package/dist/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  86. package/dist/components/ExchangeRateOffice/Currencies.js +12 -0
  87. package/dist/components/ExchangeRateOffice/Currencies.js.map +1 -0
  88. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  89. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +16 -0
  90. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
  91. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  92. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
  93. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
  94. package/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  95. package/dist/components/ExchangeRateOffice/renderCurrencies.js +30 -0
  96. package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
  97. package/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  98. package/dist/components/ExchangeRateOffice/renderTableHeader.js +9 -0
  99. package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
  100. package/dist/components/RichTextBlock/RichTextBlock.js +2 -2
  101. package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
  102. package/dist/components/TariffsTable/EmbeddableCellData.js +1 -3
  103. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  104. package/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
  105. package/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  106. package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
  107. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  108. package/dist/ui-kit/RichText/RichText.js +3 -2
  109. package/dist/ui-kit/RichText/RichText.js.map +1 -1
  110. package/dist/ui-kit/RichText/RichTextProps.d.ts +2 -2
  111. package/dist/ui-kit/Select/Select.d.ts +2 -0
  112. package/dist/ui-kit/Select/Select.js +5 -3
  113. package/dist/ui-kit/Select/Select.js.map +1 -1
  114. package/lib/common.css +1 -1
  115. package/lib/components/ApplicationForm/ApplicationForm.js +3 -3
  116. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  117. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
  118. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  119. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
  120. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  121. package/lib/components/ApplicationForm/ApplicationFormCredit.js +53 -42
  122. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  123. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
  124. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  125. package/lib/components/ApplicationForm/ApplicationFormWed.js +38 -25
  126. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  127. package/lib/components/ApplicationForm/InputControl.d.ts +10 -0
  128. package/lib/components/ApplicationForm/InputControl.js +8 -0
  129. package/lib/components/ApplicationForm/InputControl.js.map +1 -0
  130. package/{mobile/bundle/components/ApplicationForm/WrapperSelect.d.ts → lib/components/ApplicationForm/SelectControl.d.ts} +4 -2
  131. package/lib/components/ApplicationForm/SelectControl.js +12 -0
  132. package/lib/components/ApplicationForm/SelectControl.js.map +1 -0
  133. package/lib/components/ApplicationForm/models.d.ts +5 -0
  134. package/lib/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  135. package/lib/components/ApplicationForm/normalizeSelected.js +2 -0
  136. package/lib/components/ApplicationForm/normalizeSelected.js.map +1 -0
  137. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  138. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +5 -0
  139. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
  140. package/{mobile/bundle/components/ApplicationForm/renderSelects.d.ts → lib/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
  141. package/lib/components/ApplicationForm/renderAcquiringRegion.js +6 -0
  142. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
  143. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  144. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +5 -0
  145. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
  146. package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  147. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +5 -0
  148. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
  149. package/lib/components/ApplicationForm/renderRegion.d.ts +12 -0
  150. package/lib/components/ApplicationForm/renderRegion.js +5 -0
  151. package/lib/components/ApplicationForm/renderRegion.js.map +1 -0
  152. package/{bundle/components/ApplicationForm/renderBankOffices.d.ts → lib/components/ApplicationForm/renderRegionDepartment.d.ts} +4 -2
  153. package/lib/components/ApplicationForm/renderRegionDepartment.js +5 -0
  154. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
  155. package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  156. package/lib/components/ApplicationForm/renderWedDataOrganization.js +5 -0
  157. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
  158. package/lib/components/ApplicationForm/useForm.d.ts +14 -0
  159. package/lib/components/ApplicationForm/useForm.js +34 -0
  160. package/lib/components/ApplicationForm/useForm.js.map +1 -0
  161. package/lib/components/ApplicationForm/validate.d.ts +1 -0
  162. package/lib/components/ApplicationForm/validate.js +19 -0
  163. package/lib/components/ApplicationForm/validate.js.map +1 -0
  164. package/lib/components/Blocks.js +2 -0
  165. package/lib/components/Blocks.js.map +1 -1
  166. package/lib/components/Bonus/Bonus.js +5 -3
  167. package/lib/components/Bonus/Bonus.js.map +1 -1
  168. package/lib/components/Carousel/Carousel.js +4 -3
  169. package/lib/components/Carousel/Carousel.js.map +1 -1
  170. package/lib/components/Carousel/CarouselContent.d.ts +2 -0
  171. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
  172. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  173. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  174. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  175. package/lib/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  176. package/lib/components/ExchangeRateOffice/Currencies.js +10 -0
  177. package/lib/components/ExchangeRateOffice/Currencies.js.map +1 -0
  178. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  179. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.fixture.d.ts +6 -0
  180. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +14 -0
  181. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
  182. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  183. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
  184. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
  185. package/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  186. package/lib/components/ExchangeRateOffice/renderCurrencies.js +27 -0
  187. package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
  188. package/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  189. package/lib/components/ExchangeRateOffice/renderTableHeader.js +6 -0
  190. package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
  191. package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +3 -0
  192. package/lib/components/RichTextBlock/RichTextBlock.js +2 -2
  193. package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
  194. package/lib/components/TariffsTable/EmbeddableCellData.js +1 -3
  195. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  196. package/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
  197. package/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  198. package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
  199. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  200. package/lib/ui-kit/RichText/RichText.js +3 -2
  201. package/lib/ui-kit/RichText/RichText.js.map +1 -1
  202. package/lib/ui-kit/RichText/RichTextProps.d.ts +2 -2
  203. package/lib/ui-kit/Select/Select.d.ts +2 -0
  204. package/lib/ui-kit/Select/Select.js +5 -3
  205. package/lib/ui-kit/Select/Select.js.map +1 -1
  206. package/mobile/bundle/bundle.umd.js +6 -6
  207. package/mobile/bundle/bundle.umd.min.js +1 -1
  208. package/mobile/bundle/components/ApplicationForm/InputControl.d.ts +10 -0
  209. package/{dist/components/ApplicationForm/WrapperSelect.d.ts → mobile/bundle/components/ApplicationForm/SelectControl.d.ts} +4 -2
  210. package/mobile/bundle/components/ApplicationForm/models.d.ts +5 -0
  211. package/mobile/bundle/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  212. package/mobile/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  213. package/{dist/components/ApplicationForm/renderSelects.d.ts → mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
  214. package/mobile/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  215. package/mobile/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  216. package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +12 -0
  217. package/mobile/bundle/components/ApplicationForm/{renderBankOffices.d.ts → renderRegionDepartment.d.ts} +4 -2
  218. package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  219. package/mobile/bundle/components/ApplicationForm/useForm.d.ts +14 -0
  220. package/mobile/bundle/components/ApplicationForm/validate.d.ts +1 -0
  221. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  222. package/mobile/bundle/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  223. package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  224. package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  225. package/mobile/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  226. package/mobile/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  227. package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +2 -2
  228. package/mobile/bundle/ui-kit/Select/Select.d.ts +2 -0
  229. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +3 -3
  230. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  231. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
  232. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  233. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
  234. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  235. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +52 -41
  236. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  237. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
  238. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  239. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +38 -25
  240. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  241. package/mobile/dist/components/ApplicationForm/InputControl.d.ts +10 -0
  242. package/mobile/dist/components/ApplicationForm/InputControl.js +10 -0
  243. package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -0
  244. package/mobile/dist/components/ApplicationForm/SelectControl.d.ts +13 -0
  245. package/mobile/dist/components/ApplicationForm/SelectControl.js +14 -0
  246. package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -0
  247. package/mobile/dist/components/ApplicationForm/models.d.ts +5 -0
  248. package/mobile/dist/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  249. package/mobile/dist/components/ApplicationForm/normalizeSelected.js +5 -0
  250. package/mobile/dist/components/ApplicationForm/normalizeSelected.js.map +1 -0
  251. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  252. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +8 -0
  253. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
  254. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +13 -0
  255. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +9 -0
  256. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
  257. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  258. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +8 -0
  259. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
  260. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  261. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +8 -0
  262. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
  263. package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +12 -0
  264. package/mobile/dist/components/ApplicationForm/renderRegion.js +8 -0
  265. package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -0
  266. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +15 -0
  267. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +8 -0
  268. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
  269. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  270. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +8 -0
  271. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
  272. package/mobile/dist/components/ApplicationForm/useForm.d.ts +14 -0
  273. package/mobile/dist/components/ApplicationForm/useForm.js +37 -0
  274. package/mobile/dist/components/ApplicationForm/useForm.js.map +1 -0
  275. package/mobile/dist/components/ApplicationForm/validate.d.ts +1 -0
  276. package/mobile/dist/components/ApplicationForm/validate.js +22 -0
  277. package/mobile/dist/components/ApplicationForm/validate.js.map +1 -0
  278. package/mobile/dist/components/Bonus/Bonus.js +5 -3
  279. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  280. package/mobile/dist/components/Carousel/Carousel.js +4 -3
  281. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  282. package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
  283. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
  284. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  285. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  286. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  287. package/mobile/dist/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  288. package/mobile/dist/components/ExchangeRateOffice/Currencies.js +12 -0
  289. package/mobile/dist/components/ExchangeRateOffice/Currencies.js.map +1 -0
  290. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  291. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +16 -0
  292. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
  293. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  294. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
  295. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
  296. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  297. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +30 -0
  298. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
  299. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  300. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +9 -0
  301. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
  302. package/mobile/dist/components/RichTextBlock/RichTextBlock.js +2 -2
  303. package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
  304. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
  305. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  306. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
  307. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  308. package/mobile/dist/ui-kit/RichText/RichText.js +3 -2
  309. package/mobile/dist/ui-kit/RichText/RichText.js.map +1 -1
  310. package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +2 -2
  311. package/mobile/dist/ui-kit/Select/Select.d.ts +2 -0
  312. package/mobile/dist/ui-kit/Select/Select.js +5 -3
  313. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  314. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +3 -3
  315. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  316. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
  317. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  318. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
  319. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  320. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +53 -42
  321. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  322. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
  323. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  324. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +38 -25
  325. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  326. package/mobile/lib/components/ApplicationForm/InputControl.d.ts +10 -0
  327. package/mobile/lib/components/ApplicationForm/InputControl.js +8 -0
  328. package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -0
  329. package/mobile/lib/components/ApplicationForm/SelectControl.d.ts +13 -0
  330. package/mobile/lib/components/ApplicationForm/SelectControl.js +12 -0
  331. package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -0
  332. package/mobile/lib/components/ApplicationForm/models.d.ts +5 -0
  333. package/mobile/lib/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  334. package/mobile/lib/components/ApplicationForm/normalizeSelected.js +2 -0
  335. package/mobile/lib/components/ApplicationForm/normalizeSelected.js.map +1 -0
  336. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  337. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +5 -0
  338. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
  339. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +13 -0
  340. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +6 -0
  341. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
  342. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  343. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +5 -0
  344. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
  345. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  346. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +5 -0
  347. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
  348. package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +12 -0
  349. package/mobile/lib/components/ApplicationForm/renderRegion.js +5 -0
  350. package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -0
  351. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +15 -0
  352. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +5 -0
  353. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
  354. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  355. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +5 -0
  356. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
  357. package/mobile/lib/components/ApplicationForm/useForm.d.ts +14 -0
  358. package/mobile/lib/components/ApplicationForm/useForm.js +34 -0
  359. package/mobile/lib/components/ApplicationForm/useForm.js.map +1 -0
  360. package/mobile/lib/components/ApplicationForm/validate.d.ts +1 -0
  361. package/mobile/lib/components/ApplicationForm/validate.js +19 -0
  362. package/mobile/lib/components/ApplicationForm/validate.js.map +1 -0
  363. package/mobile/lib/components/Bonus/Bonus.js +5 -3
  364. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  365. package/mobile/lib/components/Carousel/Carousel.js +4 -3
  366. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  367. package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
  368. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
  369. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  370. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  371. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  372. package/mobile/lib/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  373. package/mobile/lib/components/ExchangeRateOffice/Currencies.js +10 -0
  374. package/mobile/lib/components/ExchangeRateOffice/Currencies.js.map +1 -0
  375. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  376. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +14 -0
  377. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
  378. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  379. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
  380. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
  381. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  382. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +27 -0
  383. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
  384. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  385. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +6 -0
  386. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
  387. package/mobile/lib/components/RichTextBlock/RichTextBlock.js +2 -2
  388. package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
  389. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
  390. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  391. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
  392. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  393. package/mobile/lib/ui-kit/RichText/RichText.js +3 -2
  394. package/mobile/lib/ui-kit/RichText/RichText.js.map +1 -1
  395. package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +2 -2
  396. package/mobile/lib/ui-kit/Select/Select.d.ts +2 -0
  397. package/mobile/lib/ui-kit/Select/Select.js +5 -3
  398. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  399. package/mobile/src/common.css +24 -5
  400. package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +2 -1
  401. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +3 -3
  402. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +52 -102
  403. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +38 -109
  404. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +75 -64
  405. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +44 -31
  406. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +43 -93
  407. package/mobile/src/components/ApplicationForm/InputControl.tsx +35 -0
  408. package/mobile/src/components/ApplicationForm/SelectControl.tsx +54 -0
  409. package/mobile/src/components/ApplicationForm/models.ts +6 -0
  410. package/mobile/src/components/ApplicationForm/normalizeSelected.ts +4 -0
  411. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +60 -0
  412. package/{src/components/ApplicationForm/renderSelects.tsx → mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx} +22 -6
  413. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +60 -0
  414. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +76 -0
  415. package/mobile/src/components/ApplicationForm/renderRegion.tsx +36 -0
  416. package/{src/components/ApplicationForm/renderBankOffices.tsx → mobile/src/components/ApplicationForm/renderRegionDepartment.tsx} +16 -7
  417. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +68 -0
  418. package/mobile/src/components/ApplicationForm/useForm.ts +65 -0
  419. package/mobile/src/components/ApplicationForm/validate.ts +22 -0
  420. package/mobile/src/components/Bonus/Bonus.tsx +12 -7
  421. package/mobile/src/components/Carousel/Carousel.example.json +2 -1
  422. package/mobile/src/components/Carousel/Carousel.tsx +6 -2
  423. package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
  424. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +5 -10
  425. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
  426. package/mobile/src/components/ExchangeRateOffice/Currencies.ts +8 -0
  427. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +32 -0
  428. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +60 -0
  429. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.ui.json +1 -0
  430. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +36 -0
  431. package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +73 -0
  432. package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +11 -0
  433. package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +2 -2
  434. package/mobile/src/ui-kit/Button/getRegularButtonClasses.ts +1 -1
  435. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -2
  436. package/mobile/src/ui-kit/RichText/RichText.tsx +5 -2
  437. package/mobile/src/ui-kit/RichText/RichTextProps.ts +2 -2
  438. package/mobile/src/ui-kit/Select/Select.tsx +19 -4
  439. package/package.json +2 -2
  440. package/src/common.css +24 -5
  441. package/src/components/ApplicationForm/ApplicationForm.example.json +2 -1
  442. package/src/components/ApplicationForm/ApplicationForm.tsx +3 -3
  443. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +52 -102
  444. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +38 -109
  445. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +75 -64
  446. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +44 -31
  447. package/src/components/ApplicationForm/ApplicationFormWed.tsx +43 -93
  448. package/src/components/ApplicationForm/InputControl.tsx +35 -0
  449. package/src/components/ApplicationForm/SelectControl.tsx +54 -0
  450. package/src/components/ApplicationForm/models.ts +6 -0
  451. package/src/components/ApplicationForm/normalizeSelected.ts +4 -0
  452. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +60 -0
  453. package/{mobile/src/components/ApplicationForm/renderSelects.tsx → src/components/ApplicationForm/renderAcquiringRegion.tsx} +22 -6
  454. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +60 -0
  455. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +76 -0
  456. package/src/components/ApplicationForm/renderRegion.tsx +36 -0
  457. package/{mobile/src/components/ApplicationForm/renderBankOffices.tsx → src/components/ApplicationForm/renderRegionDepartment.tsx} +16 -7
  458. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +68 -0
  459. package/src/components/ApplicationForm/useForm.ts +65 -0
  460. package/src/components/ApplicationForm/validate.ts +22 -0
  461. package/src/components/Blocks.ts +2 -0
  462. package/src/components/Bonus/Bonus.tsx +12 -7
  463. package/src/components/Carousel/Carousel.example.json +2 -1
  464. package/src/components/Carousel/Carousel.fixture.tsx +2 -1
  465. package/src/components/Carousel/Carousel.tsx +6 -2
  466. package/src/components/Carousel/CarouselContent.ts +2 -0
  467. package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +5 -10
  468. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +4 -2
  469. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
  470. package/src/components/ExchangeRateOffice/Currencies.ts +8 -0
  471. package/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +32 -0
  472. package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +78 -0
  473. package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +60 -0
  474. package/src/components/ExchangeRateOffice/ExchangeRateOffice.ui.json +1 -0
  475. package/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +36 -0
  476. package/src/components/ExchangeRateOffice/renderCurrencies.tsx +73 -0
  477. package/src/components/ExchangeRateOffice/renderTableHeader.tsx +11 -0
  478. package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +22 -0
  479. package/src/components/RichTextBlock/RichTextBlock.tsx +2 -2
  480. package/src/components/TariffsTable/EmbeddableCellData.tsx +1 -4
  481. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +14 -0
  482. package/src/ui-kit/Button/getRegularButtonClasses.ts +1 -1
  483. package/src/ui-kit/Button/renderButtonsSection.tsx +2 -2
  484. package/src/ui-kit/RichText/RichText.tsx +5 -2
  485. package/src/ui-kit/RichText/RichTextProps.ts +2 -2
  486. package/src/ui-kit/Select/Select.tsx +19 -4
  487. package/bundle/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  488. package/bundle/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  489. package/bundle/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  490. package/dist/components/ApplicationForm/WrapperSelect.js +0 -13
  491. package/dist/components/ApplicationForm/WrapperSelect.js.map +0 -1
  492. package/dist/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  493. package/dist/components/ApplicationForm/normalizeSelectedRegion.js +0 -5
  494. package/dist/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
  495. package/dist/components/ApplicationForm/renderBankOffices.js +0 -7
  496. package/dist/components/ApplicationForm/renderBankOffices.js.map +0 -1
  497. package/dist/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  498. package/dist/components/ApplicationForm/renderDataOrganization.js +0 -7
  499. package/dist/components/ApplicationForm/renderDataOrganization.js.map +0 -1
  500. package/dist/components/ApplicationForm/renderSelects.js +0 -8
  501. package/dist/components/ApplicationForm/renderSelects.js.map +0 -1
  502. package/dist/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  503. package/dist/components/ApplicationForm/useFormHandlers.js +0 -11
  504. package/dist/components/ApplicationForm/useFormHandlers.js.map +0 -1
  505. package/lib/components/ApplicationForm/WrapperSelect.js +0 -11
  506. package/lib/components/ApplicationForm/WrapperSelect.js.map +0 -1
  507. package/lib/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  508. package/lib/components/ApplicationForm/normalizeSelectedRegion.js +0 -2
  509. package/lib/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
  510. package/lib/components/ApplicationForm/renderBankOffices.js +0 -4
  511. package/lib/components/ApplicationForm/renderBankOffices.js.map +0 -1
  512. package/lib/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  513. package/lib/components/ApplicationForm/renderDataOrganization.js +0 -4
  514. package/lib/components/ApplicationForm/renderDataOrganization.js.map +0 -1
  515. package/lib/components/ApplicationForm/renderSelects.js +0 -5
  516. package/lib/components/ApplicationForm/renderSelects.js.map +0 -1
  517. package/lib/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  518. package/lib/components/ApplicationForm/useFormHandlers.js +0 -8
  519. package/lib/components/ApplicationForm/useFormHandlers.js.map +0 -1
  520. package/mobile/bundle/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  521. package/mobile/bundle/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  522. package/mobile/bundle/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  523. package/mobile/dist/components/ApplicationForm/WrapperSelect.d.ts +0 -11
  524. package/mobile/dist/components/ApplicationForm/WrapperSelect.js +0 -13
  525. package/mobile/dist/components/ApplicationForm/WrapperSelect.js.map +0 -1
  526. package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  527. package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.js +0 -5
  528. package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
  529. package/mobile/dist/components/ApplicationForm/renderBankOffices.d.ts +0 -13
  530. package/mobile/dist/components/ApplicationForm/renderBankOffices.js +0 -7
  531. package/mobile/dist/components/ApplicationForm/renderBankOffices.js.map +0 -1
  532. package/mobile/dist/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  533. package/mobile/dist/components/ApplicationForm/renderDataOrganization.js +0 -7
  534. package/mobile/dist/components/ApplicationForm/renderDataOrganization.js.map +0 -1
  535. package/mobile/dist/components/ApplicationForm/renderSelects.d.ts +0 -11
  536. package/mobile/dist/components/ApplicationForm/renderSelects.js +0 -8
  537. package/mobile/dist/components/ApplicationForm/renderSelects.js.map +0 -1
  538. package/mobile/dist/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  539. package/mobile/dist/components/ApplicationForm/useFormHandlers.js +0 -11
  540. package/mobile/dist/components/ApplicationForm/useFormHandlers.js.map +0 -1
  541. package/mobile/lib/components/ApplicationForm/WrapperSelect.d.ts +0 -11
  542. package/mobile/lib/components/ApplicationForm/WrapperSelect.js +0 -11
  543. package/mobile/lib/components/ApplicationForm/WrapperSelect.js.map +0 -1
  544. package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  545. package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.js +0 -2
  546. package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
  547. package/mobile/lib/components/ApplicationForm/renderBankOffices.d.ts +0 -13
  548. package/mobile/lib/components/ApplicationForm/renderBankOffices.js +0 -4
  549. package/mobile/lib/components/ApplicationForm/renderBankOffices.js.map +0 -1
  550. package/mobile/lib/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  551. package/mobile/lib/components/ApplicationForm/renderDataOrganization.js +0 -4
  552. package/mobile/lib/components/ApplicationForm/renderDataOrganization.js.map +0 -1
  553. package/mobile/lib/components/ApplicationForm/renderSelects.d.ts +0 -11
  554. package/mobile/lib/components/ApplicationForm/renderSelects.js +0 -5
  555. package/mobile/lib/components/ApplicationForm/renderSelects.js.map +0 -1
  556. package/mobile/lib/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  557. package/mobile/lib/components/ApplicationForm/useFormHandlers.js +0 -8
  558. package/mobile/lib/components/ApplicationForm/useFormHandlers.js.map +0 -1
  559. package/mobile/src/components/ApplicationForm/WrapperSelect.tsx +0 -32
  560. package/mobile/src/components/ApplicationForm/normalizeSelectedRegion.ts +0 -4
  561. package/mobile/src/components/ApplicationForm/renderDataOrganization.tsx +0 -78
  562. package/mobile/src/components/ApplicationForm/useFormHandlers.ts +0 -18
  563. package/src/components/ApplicationForm/WrapperSelect.tsx +0 -32
  564. package/src/components/ApplicationForm/normalizeSelectedRegion.ts +0 -4
  565. package/src/components/ApplicationForm/renderDataOrganization.tsx +0 -78
  566. package/src/components/ApplicationForm/useFormHandlers.ts +0 -18
@@ -1,13 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.WrapperSelect = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Select_1 = require("../../ui-kit/Select/Select");
6
- exports.WrapperSelect = (0, uni_jsx_1.JSX)(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
7
- const dataFormat = data
8
- .filter(Boolean)
9
- .map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
10
- const selectedObj = dataFormat.find((_) => _.key === selected);
11
- return ((0, jsx_runtime_1.jsx)(Select_1.Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
12
- });
13
- //# sourceMappingURL=WrapperSelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WrapperSelect.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/WrapperSelect.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAiE;AAapD,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,EAAE;IACnF,MAAM,UAAU,GAAkB,IAAI;SACnC,MAAM,CAAC,OAAO,CAAC;SACf,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,UAAU,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/E,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC;IAE/D,OAAO,CACL,uBAAC,eAAM,IACL,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,IAAI,QAAQ,EACpC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAAe,CAAC,EAC/C,KAAK,EAAE,WAAW,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- import { Region } from '../../hooks/useRegions';
2
- export declare const normalizeSelectedRegion: (selectedRegion: string, regions?: Region[]) => string;
@@ -1,5 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.normalizeSelectedRegion = void 0;
3
- const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
4
- exports.normalizeSelectedRegion = normalizeSelectedRegion;
5
- //# sourceMappingURL=normalizeSelectedRegion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeSelectedRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/normalizeSelectedRegion.ts"],"names":[],"mappings":";;AAEO,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CACpF,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC;AAD/E,QAAA,uBAAuB,2BACwD"}
@@ -1,7 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.renderBankOffices = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const WrapperSelect_1 = require("./WrapperSelect");
5
- const renderBankOffices = ({ regions, region, branches, department, handleChange, }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D" }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: department, setSelected: (value) => handleChange({ department: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
6
- exports.renderBankOffices = renderBankOffices;
7
- //# sourceMappingURL=renderBankOffices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderBankOffices.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBankOffices.tsx"],"names":[],"mappings":";;;AAGA,mDAAgD;AAUzC,MAAM,iBAAiB,GAAG,CAAC,EAChC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,GACW,EAAE,EAAE,CAAC,CAC5B,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,EACN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,QAAQ,EACd,UAAU,EAAC,YAAY,EACvB,UAAU,EAAC,SAAS,EACpB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAC3D,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC;AA/BW,QAAA,iBAAiB,qBA+B5B"}
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CreditFormState } from './ApplicationFormCredit';
3
- import type { HandleFormStateChange } from './models';
4
- interface RenderDataOrganizationProps {
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- mail: string;
10
- annualRevenue: string;
11
- handleChange: HandleFormStateChange<CreditFormState>;
12
- }
13
- export declare const renderDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }: RenderDataOrganizationProps) => JSX.Element;
14
- export {};
@@ -1,7 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.renderDataOrganization = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const Input_1 = require("../../ui-kit/Input/Input");
5
- const renderDataOrganization = ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", value: fullName, onChange: (value) => handleChange({ fullName: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0418\u041D\u041D", label: "\u0418\u041D\u041D", value: inn, onChange: (value) => handleChange({ inn: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", value: phone, onChange: (value) => handleChange({ phone: value }) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", value: annualRevenue, onChange: (value) => handleChange({ annualRevenue: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", value: name, onChange: (value) => handleChange({ name: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", value: mail, onChange: (value) => handleChange({ mail: value }) })] })] }));
6
- exports.renderDataOrganization = renderDataOrganization;
7
- //# sourceMappingURL=renderDataOrganization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderDataOrganization.tsx"],"names":[],"mappings":";;;AAAA,oDAAiD;AAc1C,MAAM,sBAAsB,GAAG,CAAC,EACrC,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,aAAa,EACb,YAAY,GACgB,EAAE,EAAE,CAAC,CACjC,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,6IAA0B,EACrC,KAAK,EAAC,6IAA0B,EAChC,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,GACtD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,oBAAK,EAChB,KAAK,EAAC,oBAAK,EACX,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,GACjD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,4CAAS,EACpB,KAAK,EAAC,4CAAS,EACf,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GACnD,IACE,EACN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,+FAAoB,EAC/B,KAAK,EAAC,+FAAoB,EAC1B,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,GAC3D,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,uFAAiB,EAC5B,KAAK,EAAC,uFAAiB,EACvB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,mGAAmB,EAC9B,KAAK,EAAC,mGAAmB,EACzB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,IACE,IACF,CACP,CAAC;AA/DW,QAAA,sBAAsB,0BA+DjC"}
@@ -1,8 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.renderSelects = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const WrapperSelect_1 = require("./WrapperSelect");
5
- const acquiringTypes_1 = require("./acquiringTypes");
6
- const renderSelects = ({ acquiringType, regions, region, handleChange }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: acquiringTypes_1.ACQUIRING_TYPES, fieldValue: "name", fieldLabel: "name", selected: acquiringType, setSelected: (value) => handleChange({ acquiringType: value }), label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433" }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
7
- exports.renderSelects = renderSelects;
8
- //# sourceMappingURL=renderSelects.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderSelects.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderSelects.tsx"],"names":[],"mappings":";;;AACA,mDAAgD;AAChD,qDAAmD;AAU5C,MAAM,aAAa,GAAG,CAAC,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAgB,EAAE,EAAE,CAAC,CAC/F,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,gCAAe,EACrB,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,EAC9D,KAAK,EAAC,iFAAgB,EACtB,WAAW,EAAC,yGAAoB,GAChC,GACE,EACN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC;AAzBW,QAAA,aAAa,iBAyBxB"}
@@ -1,9 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- import type { HandleFormStateChange } from './models';
3
- interface UseFormHandlersProps<T> {
4
- setFormState: Dispatch<SetStateAction<T>>;
5
- }
6
- export declare const useFormHandlers: <T>({ setFormState }: UseFormHandlersProps<T>) => {
7
- handleChange: HandleFormStateChange<T>;
8
- };
9
- export {};
@@ -1,11 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.useFormHandlers = void 0;
3
- const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
4
- const useFormHandlers = ({ setFormState }) => {
5
- const handleChange = (0, hooks_1.useCallback)((state) => setFormState((oldState) => ({ ...oldState, ...state })), []);
6
- return {
7
- handleChange,
8
- };
9
- };
10
- exports.useFormHandlers = useFormHandlers;
11
- //# sourceMappingURL=useFormHandlers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormHandlers.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/useFormHandlers.ts"],"names":[],"mappings":";;AAAA,uDAA0D;AAQnD,MAAM,eAAe,GAAG,CAAI,EAAE,YAAY,EAA2B,EAAE,EAAE;IAC9E,MAAM,YAAY,GAA6B,IAAA,mBAAW,EACxD,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,EAClE,EAAE,CACH,CAAC;IAEF,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,eAAe,mBAS1B"}
@@ -1,11 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { Select } from '../../ui-kit/Select/Select.js';
4
- export const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
5
- const dataFormat = data
6
- .filter(Boolean)
7
- .map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
8
- const selectedObj = dataFormat.find((_) => _.key === selected);
9
- return (_jsx(Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
10
- });
11
- //# sourceMappingURL=WrapperSelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WrapperSelect.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/WrapperSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAe,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAajE,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,EAAE;IACnF,MAAM,UAAU,GAAkB,IAAI;SACnC,MAAM,CAAC,OAAO,CAAC;SACf,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,UAAU,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/E,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC;IAE/D,OAAO,CACL,KAAC,MAAM,IACL,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,IAAI,QAAQ,EACpC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAAe,CAAC,EAC/C,KAAK,EAAE,WAAW,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- import { Region } from '../../hooks/useRegions';
2
- export declare const normalizeSelectedRegion: (selectedRegion: string, regions?: Region[]) => string;
@@ -1,2 +0,0 @@
1
- export const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
2
- //# sourceMappingURL=normalizeSelectedRegion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeSelectedRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/normalizeSelectedRegion.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CACpF,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC"}
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { WrapperSelect } from './WrapperSelect.js';
3
- export const renderBankOffices = ({ regions, region, branches, department, handleChange, }) => (_jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [_jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D" }) }), _jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: department, setSelected: (value) => handleChange({ department: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
4
- //# sourceMappingURL=renderBankOffices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderBankOffices.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBankOffices.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAUhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAChC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,GACW,EAAE,EAAE,CAAC,CAC5B,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,EACN,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,QAAQ,EACd,UAAU,EAAC,YAAY,EACvB,UAAU,EAAC,SAAS,EACpB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAC3D,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC"}
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CreditFormState } from './ApplicationFormCredit';
3
- import type { HandleFormStateChange } from './models';
4
- interface RenderDataOrganizationProps {
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- mail: string;
10
- annualRevenue: string;
11
- handleChange: HandleFormStateChange<CreditFormState>;
12
- }
13
- export declare const renderDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }: RenderDataOrganizationProps) => JSX.Element;
14
- export {};
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { Input } from '../../ui-kit/Input/Input.js';
3
- export const renderDataOrganization = ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }) => (_jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [_jsxs("div", { className: "w-1/2", children: [_jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", value: fullName, onChange: (value) => handleChange({ fullName: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0418\u041D\u041D", label: "\u0418\u041D\u041D", value: inn, onChange: (value) => handleChange({ inn: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", value: phone, onChange: (value) => handleChange({ phone: value }) })] }), _jsxs("div", { className: "w-1/2", children: [_jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", value: annualRevenue, onChange: (value) => handleChange({ annualRevenue: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", value: name, onChange: (value) => handleChange({ name: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", value: mail, onChange: (value) => handleChange({ mail: value }) })] })] }));
4
- //# sourceMappingURL=renderDataOrganization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderDataOrganization.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAcjD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACrC,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,aAAa,EACb,YAAY,GACgB,EAAE,EAAE,CAAC,CACjC,eAAK,SAAS,EAAC,iCAAiC,aAC9C,eAAK,SAAS,EAAC,OAAO,aACpB,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,6IAA0B,EACrC,KAAK,EAAC,6IAA0B,EAChC,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,GACtD,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,oBAAK,EAChB,KAAK,EAAC,oBAAK,EACX,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,GACjD,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,4CAAS,EACpB,KAAK,EAAC,4CAAS,EACf,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GACnD,IACE,EACN,eAAK,SAAS,EAAC,OAAO,aACpB,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,+FAAoB,EAC/B,KAAK,EAAC,+FAAoB,EAC1B,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,GAC3D,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,uFAAiB,EAC5B,KAAK,EAAC,uFAAiB,EACvB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,mGAAmB,EAC9B,KAAK,EAAC,mGAAmB,EACzB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,IACE,IACF,CACP,CAAC"}
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { WrapperSelect } from './WrapperSelect.js';
3
- import { ACQUIRING_TYPES } from './acquiringTypes.js';
4
- export const renderSelects = ({ acquiringType, regions, region, handleChange }) => (_jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [_jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: ACQUIRING_TYPES, fieldValue: "name", fieldLabel: "name", selected: acquiringType, setSelected: (value) => handleChange({ acquiringType: value }), label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433" }) }), _jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
5
- //# sourceMappingURL=renderSelects.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderSelects.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderSelects.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAUnD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAgB,EAAE,EAAE,CAAC,CAC/F,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,eAAe,EACrB,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,EAC9D,KAAK,EAAC,iFAAgB,EACtB,WAAW,EAAC,yGAAoB,GAChC,GACE,EACN,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC"}
@@ -1,9 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- import type { HandleFormStateChange } from './models';
3
- interface UseFormHandlersProps<T> {
4
- setFormState: Dispatch<SetStateAction<T>>;
5
- }
6
- export declare const useFormHandlers: <T>({ setFormState }: UseFormHandlersProps<T>) => {
7
- handleChange: HandleFormStateChange<T>;
8
- };
9
- export {};
@@ -1,8 +0,0 @@
1
- import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
2
- export const useFormHandlers = ({ setFormState }) => {
3
- const handleChange = useCallback((state) => setFormState((oldState) => ({ ...oldState, ...state })), []);
4
- return {
5
- handleChange,
6
- };
7
- };
8
- //# sourceMappingURL=useFormHandlers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormHandlers.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/useFormHandlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAQ1D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAI,EAAE,YAAY,EAA2B,EAAE,EAAE;IAC9E,MAAM,YAAY,GAA6B,WAAW,CACxD,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,EAClE,EAAE,CACH,CAAC;IAEF,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import { Region } from '../../hooks/useRegions';
2
- export declare const normalizeSelectedRegion: (selectedRegion: string, regions?: Region[]) => string;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CreditFormState } from './ApplicationFormCredit';
3
- import type { HandleFormStateChange } from './models';
4
- interface RenderDataOrganizationProps {
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- mail: string;
10
- annualRevenue: string;
11
- handleChange: HandleFormStateChange<CreditFormState>;
12
- }
13
- export declare const renderDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }: RenderDataOrganizationProps) => JSX.Element;
14
- export {};
@@ -1,9 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- import type { HandleFormStateChange } from './models';
3
- interface UseFormHandlersProps<T> {
4
- setFormState: Dispatch<SetStateAction<T>>;
5
- }
6
- export declare const useFormHandlers: <T>({ setFormState }: UseFormHandlersProps<T>) => {
7
- handleChange: HandleFormStateChange<T>;
8
- };
9
- export {};
@@ -1,11 +0,0 @@
1
- interface WrapperSelectProps {
2
- data: Record<string, any>[];
3
- fieldLabel: string;
4
- fieldValue?: string;
5
- selected: string;
6
- setSelected: (value: string) => void;
7
- label: string;
8
- placeholder?: string;
9
- }
10
- export declare const WrapperSelect: import("@redneckz/uni-jsx").UNIComponent<WrapperSelectProps, any, any>;
11
- export {};
@@ -1,13 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.WrapperSelect = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Select_1 = require("../../ui-kit/Select/Select");
6
- exports.WrapperSelect = (0, uni_jsx_1.JSX)(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
7
- const dataFormat = data
8
- .filter(Boolean)
9
- .map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
10
- const selectedObj = dataFormat.find((_) => _.key === selected);
11
- return ((0, jsx_runtime_1.jsx)(Select_1.Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
12
- });
13
- //# sourceMappingURL=WrapperSelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WrapperSelect.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/WrapperSelect.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAiE;AAapD,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,EAAE;IACnF,MAAM,UAAU,GAAkB,IAAI;SACnC,MAAM,CAAC,OAAO,CAAC;SACf,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,UAAU,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/E,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC;IAE/D,OAAO,CACL,uBAAC,eAAM,IACL,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,IAAI,QAAQ,EACpC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAAe,CAAC,EAC/C,KAAK,EAAE,WAAW,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- import { Region } from '../../hooks/useRegions';
2
- export declare const normalizeSelectedRegion: (selectedRegion: string, regions?: Region[]) => string;
@@ -1,5 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.normalizeSelectedRegion = void 0;
3
- const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
4
- exports.normalizeSelectedRegion = normalizeSelectedRegion;
5
- //# sourceMappingURL=normalizeSelectedRegion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeSelectedRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/normalizeSelectedRegion.ts"],"names":[],"mappings":";;AAEO,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CACpF,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC;AAD/E,QAAA,uBAAuB,2BACwD"}
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import type { Branch } from '../SafeDepositRental/useSafeBoxes';
3
- import type { CreditFormState } from './ApplicationFormCredit';
4
- import type { HandleFormStateChange, Select } from './models';
5
- interface RenderBankOfficesProps {
6
- regions: Select[];
7
- region: string;
8
- branches: Branch[];
9
- department: string;
10
- handleChange: HandleFormStateChange<CreditFormState>;
11
- }
12
- export declare const renderBankOffices: ({ regions, region, branches, department, handleChange, }: RenderBankOfficesProps) => JSX.Element;
13
- export {};
@@ -1,7 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.renderBankOffices = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const WrapperSelect_1 = require("./WrapperSelect");
5
- const renderBankOffices = ({ regions, region, branches, department, handleChange, }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D" }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: department, setSelected: (value) => handleChange({ department: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
6
- exports.renderBankOffices = renderBankOffices;
7
- //# sourceMappingURL=renderBankOffices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderBankOffices.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBankOffices.tsx"],"names":[],"mappings":";;;AAGA,mDAAgD;AAUzC,MAAM,iBAAiB,GAAG,CAAC,EAChC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,GACW,EAAE,EAAE,CAAC,CAC5B,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,EACN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,QAAQ,EACd,UAAU,EAAC,YAAY,EACvB,UAAU,EAAC,SAAS,EACpB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAC3D,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC;AA/BW,QAAA,iBAAiB,qBA+B5B"}
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CreditFormState } from './ApplicationFormCredit';
3
- import type { HandleFormStateChange } from './models';
4
- interface RenderDataOrganizationProps {
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- mail: string;
10
- annualRevenue: string;
11
- handleChange: HandleFormStateChange<CreditFormState>;
12
- }
13
- export declare const renderDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }: RenderDataOrganizationProps) => JSX.Element;
14
- export {};
@@ -1,7 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.renderDataOrganization = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const Input_1 = require("../../ui-kit/Input/Input");
5
- const renderDataOrganization = ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", value: fullName, onChange: (value) => handleChange({ fullName: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0418\u041D\u041D", label: "\u0418\u041D\u041D", value: inn, onChange: (value) => handleChange({ inn: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", value: phone, onChange: (value) => handleChange({ phone: value }) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", value: annualRevenue, onChange: (value) => handleChange({ annualRevenue: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", value: name, onChange: (value) => handleChange({ name: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", value: mail, onChange: (value) => handleChange({ mail: value }) })] })] }));
6
- exports.renderDataOrganization = renderDataOrganization;
7
- //# sourceMappingURL=renderDataOrganization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderDataOrganization.tsx"],"names":[],"mappings":";;;AAAA,oDAAiD;AAc1C,MAAM,sBAAsB,GAAG,CAAC,EACrC,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,aAAa,EACb,YAAY,GACgB,EAAE,EAAE,CAAC,CACjC,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,6IAA0B,EACrC,KAAK,EAAC,6IAA0B,EAChC,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,GACtD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,oBAAK,EAChB,KAAK,EAAC,oBAAK,EACX,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,GACjD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,4CAAS,EACpB,KAAK,EAAC,4CAAS,EACf,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GACnD,IACE,EACN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,+FAAoB,EAC/B,KAAK,EAAC,+FAAoB,EAC1B,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,GAC3D,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,uFAAiB,EAC5B,KAAK,EAAC,uFAAiB,EACvB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,mGAAmB,EAC9B,KAAK,EAAC,mGAAmB,EACzB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,IACE,IACF,CACP,CAAC;AA/DW,QAAA,sBAAsB,0BA+DjC"}
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import type { AcquiringFormState } from './ApplicationFormAcquiring';
3
- import type { HandleFormStateChange, Select } from './models';
4
- interface SelectsProps {
5
- acquiringType: string;
6
- regions: Select[];
7
- region: string;
8
- handleChange: HandleFormStateChange<AcquiringFormState>;
9
- }
10
- export declare const renderSelects: ({ acquiringType, regions, region, handleChange }: SelectsProps) => JSX.Element;
11
- export {};
@@ -1,8 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.renderSelects = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const WrapperSelect_1 = require("./WrapperSelect");
5
- const acquiringTypes_1 = require("./acquiringTypes");
6
- const renderSelects = ({ acquiringType, regions, region, handleChange }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: acquiringTypes_1.ACQUIRING_TYPES, fieldValue: "name", fieldLabel: "name", selected: acquiringType, setSelected: (value) => handleChange({ acquiringType: value }), label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433" }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
7
- exports.renderSelects = renderSelects;
8
- //# sourceMappingURL=renderSelects.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderSelects.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderSelects.tsx"],"names":[],"mappings":";;;AACA,mDAAgD;AAChD,qDAAmD;AAU5C,MAAM,aAAa,GAAG,CAAC,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAgB,EAAE,EAAE,CAAC,CAC/F,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,gCAAe,EACrB,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,EAC9D,KAAK,EAAC,iFAAgB,EACtB,WAAW,EAAC,yGAAoB,GAChC,GACE,EACN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC;AAzBW,QAAA,aAAa,iBAyBxB"}
@@ -1,9 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- import type { HandleFormStateChange } from './models';
3
- interface UseFormHandlersProps<T> {
4
- setFormState: Dispatch<SetStateAction<T>>;
5
- }
6
- export declare const useFormHandlers: <T>({ setFormState }: UseFormHandlersProps<T>) => {
7
- handleChange: HandleFormStateChange<T>;
8
- };
9
- export {};
@@ -1,11 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.useFormHandlers = void 0;
3
- const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
4
- const useFormHandlers = ({ setFormState }) => {
5
- const handleChange = (0, hooks_1.useCallback)((state) => setFormState((oldState) => ({ ...oldState, ...state })), []);
6
- return {
7
- handleChange,
8
- };
9
- };
10
- exports.useFormHandlers = useFormHandlers;
11
- //# sourceMappingURL=useFormHandlers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormHandlers.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/useFormHandlers.ts"],"names":[],"mappings":";;AAAA,uDAA0D;AAQnD,MAAM,eAAe,GAAG,CAAI,EAAE,YAAY,EAA2B,EAAE,EAAE;IAC9E,MAAM,YAAY,GAA6B,IAAA,mBAAW,EACxD,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,EAClE,EAAE,CACH,CAAC;IAEF,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,eAAe,mBAS1B"}
@@ -1,11 +0,0 @@
1
- interface WrapperSelectProps {
2
- data: Record<string, any>[];
3
- fieldLabel: string;
4
- fieldValue?: string;
5
- selected: string;
6
- setSelected: (value: string) => void;
7
- label: string;
8
- placeholder?: string;
9
- }
10
- export declare const WrapperSelect: import("@redneckz/uni-jsx").UNIComponent<WrapperSelectProps, any, any>;
11
- export {};
@@ -1,11 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { Select } from '../../ui-kit/Select/Select.js';
4
- export const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
5
- const dataFormat = data
6
- .filter(Boolean)
7
- .map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
8
- const selectedObj = dataFormat.find((_) => _.key === selected);
9
- return (_jsx(Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
10
- });
11
- //# sourceMappingURL=WrapperSelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WrapperSelect.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/WrapperSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAe,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAajE,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,EAAE;IACnF,MAAM,UAAU,GAAkB,IAAI;SACnC,MAAM,CAAC,OAAO,CAAC;SACf,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,UAAU,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/E,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC;IAE/D,OAAO,CACL,KAAC,MAAM,IACL,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,IAAI,QAAQ,EACpC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAAe,CAAC,EAC/C,KAAK,EAAE,WAAW,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- import { Region } from '../../hooks/useRegions';
2
- export declare const normalizeSelectedRegion: (selectedRegion: string, regions?: Region[]) => string;
@@ -1,2 +0,0 @@
1
- export const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
2
- //# sourceMappingURL=normalizeSelectedRegion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeSelectedRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/normalizeSelectedRegion.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CACpF,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC"}
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import type { Branch } from '../SafeDepositRental/useSafeBoxes';
3
- import type { CreditFormState } from './ApplicationFormCredit';
4
- import type { HandleFormStateChange, Select } from './models';
5
- interface RenderBankOfficesProps {
6
- regions: Select[];
7
- region: string;
8
- branches: Branch[];
9
- department: string;
10
- handleChange: HandleFormStateChange<CreditFormState>;
11
- }
12
- export declare const renderBankOffices: ({ regions, region, branches, department, handleChange, }: RenderBankOfficesProps) => JSX.Element;
13
- export {};
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { WrapperSelect } from './WrapperSelect.js';
3
- export const renderBankOffices = ({ regions, region, branches, department, handleChange, }) => (_jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [_jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D" }) }), _jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: department, setSelected: (value) => handleChange({ department: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
4
- //# sourceMappingURL=renderBankOffices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderBankOffices.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBankOffices.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAUhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAChC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,GACW,EAAE,EAAE,CAAC,CAC5B,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,EACN,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,QAAQ,EACd,UAAU,EAAC,YAAY,EACvB,UAAU,EAAC,SAAS,EACpB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAC3D,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC"}
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CreditFormState } from './ApplicationFormCredit';
3
- import type { HandleFormStateChange } from './models';
4
- interface RenderDataOrganizationProps {
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- mail: string;
10
- annualRevenue: string;
11
- handleChange: HandleFormStateChange<CreditFormState>;
12
- }
13
- export declare const renderDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }: RenderDataOrganizationProps) => JSX.Element;
14
- export {};
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { Input } from '../../ui-kit/Input/Input.js';
3
- export const renderDataOrganization = ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }) => (_jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [_jsxs("div", { className: "w-1/2", children: [_jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", value: fullName, onChange: (value) => handleChange({ fullName: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0418\u041D\u041D", label: "\u0418\u041D\u041D", value: inn, onChange: (value) => handleChange({ inn: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", value: phone, onChange: (value) => handleChange({ phone: value }) })] }), _jsxs("div", { className: "w-1/2", children: [_jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", value: annualRevenue, onChange: (value) => handleChange({ annualRevenue: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", value: name, onChange: (value) => handleChange({ name: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", value: mail, onChange: (value) => handleChange({ mail: value }) })] })] }));
4
- //# sourceMappingURL=renderDataOrganization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderDataOrganization.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAcjD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACrC,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,aAAa,EACb,YAAY,GACgB,EAAE,EAAE,CAAC,CACjC,eAAK,SAAS,EAAC,iCAAiC,aAC9C,eAAK,SAAS,EAAC,OAAO,aACpB,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,6IAA0B,EACrC,KAAK,EAAC,6IAA0B,EAChC,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,GACtD,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,oBAAK,EAChB,KAAK,EAAC,oBAAK,EACX,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,GACjD,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,4CAAS,EACpB,KAAK,EAAC,4CAAS,EACf,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GACnD,IACE,EACN,eAAK,SAAS,EAAC,OAAO,aACpB,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,+FAAoB,EAC/B,KAAK,EAAC,+FAAoB,EAC1B,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,GAC3D,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,uFAAiB,EAC5B,KAAK,EAAC,uFAAiB,EACvB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,mGAAmB,EAC9B,KAAK,EAAC,mGAAmB,EACzB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,IACE,IACF,CACP,CAAC"}
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import type { AcquiringFormState } from './ApplicationFormAcquiring';
3
- import type { HandleFormStateChange, Select } from './models';
4
- interface SelectsProps {
5
- acquiringType: string;
6
- regions: Select[];
7
- region: string;
8
- handleChange: HandleFormStateChange<AcquiringFormState>;
9
- }
10
- export declare const renderSelects: ({ acquiringType, regions, region, handleChange }: SelectsProps) => JSX.Element;
11
- export {};
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { WrapperSelect } from './WrapperSelect.js';
3
- import { ACQUIRING_TYPES } from './acquiringTypes.js';
4
- export const renderSelects = ({ acquiringType, regions, region, handleChange }) => (_jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [_jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: ACQUIRING_TYPES, fieldValue: "name", fieldLabel: "name", selected: acquiringType, setSelected: (value) => handleChange({ acquiringType: value }), label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433" }) }), _jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
5
- //# sourceMappingURL=renderSelects.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderSelects.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderSelects.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAUnD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAgB,EAAE,EAAE,CAAC,CAC/F,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,eAAe,EACrB,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,EAC9D,KAAK,EAAC,iFAAgB,EACtB,WAAW,EAAC,yGAAoB,GAChC,GACE,EACN,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC"}