@redneckz/wildless-cms-uni-blocks 0.10.5 → 0.10.7

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 (1407) hide show
  1. package/bin/migration-scripts/0.9.9.js +8 -6
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +493 -661
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  6. package/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  7. package/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  8. package/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  9. package/bundle/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  10. package/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  11. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  12. package/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  13. package/bundle/components/ApplicationForm/CreditFormState.d.ts +13 -0
  14. package/bundle/components/ApplicationForm/CreditParameters.d.ts +3 -3
  15. package/bundle/components/ApplicationForm/DepositFormState.d.ts +4 -0
  16. package/bundle/components/ApplicationForm/InputControl.d.ts +4 -5
  17. package/bundle/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  18. package/bundle/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  19. package/bundle/components/ApplicationForm/SelectControl.d.ts +2 -9
  20. package/bundle/components/ApplicationForm/WedFormState.d.ts +10 -0
  21. package/bundle/components/ApplicationForm/models.d.ts +0 -6
  22. package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  23. package/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  24. package/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  25. package/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  26. package/bundle/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  27. package/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  28. package/bundle/components/ApplicationForm/renderRegion.d.ts +6 -8
  29. package/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  30. package/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  31. package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  32. package/bundle/components/ApplicationForm/validators.d.ts +4 -0
  33. package/bundle/components/Calculator/Rate.d.ts +1 -0
  34. package/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
  35. package/bundle/components/Calculator/renderDaysInput.d.ts +2 -7
  36. package/bundle/components/Calculator/renderInterestPayment.d.ts +2 -9
  37. package/bundle/components/Calculator/renderMonthsInput.d.ts +3 -5
  38. package/bundle/components/Calculator/renderPaymentType.d.ts +2 -11
  39. package/bundle/components/Calculator/renderRegistrationType.d.ts +2 -9
  40. package/bundle/components/Calculator/renderWantedSumInput.d.ts +3 -7
  41. package/bundle/components/Carousel/itemsGap.d.ts +1 -0
  42. package/bundle/components/Carousel/itemsGap.mobile.d.ts +1 -0
  43. package/bundle/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
  44. package/bundle/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +1 -0
  45. package/bundle/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
  46. package/bundle/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +1 -0
  47. package/bundle/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
  48. package/bundle/components/Filtration/renderFormItem.d.ts +2 -2
  49. package/bundle/components/Headline/headlineVersionStyles.d.ts +1 -1
  50. package/bundle/components/TextBlock/TextBlockContent.d.ts +1 -2
  51. package/bundle/hooks/useForm.d.ts +13 -12
  52. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  53. package/bundle/ui-kit/Input/InputProps.d.ts +4 -2
  54. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  55. package/bundle/ui-kit/InputRange/parseDecimal.d.ts +1 -0
  56. package/bundle/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
  57. package/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  58. package/bundle/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  59. package/bundle/ui-kit/Select/Select.d.ts +6 -7
  60. package/bundle/validation/and.d.ts +2 -0
  61. package/bundle/validation/objectValidator.d.ts +2 -0
  62. package/bundle/validation/pattern.d.ts +1 -0
  63. package/bundle/validation/required.d.ts +1 -0
  64. package/bundle/validation/validator.d.ts +10 -0
  65. package/bundle/validation/withValidator.d.ts +10 -0
  66. package/dist/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  67. package/dist/{ui-kit/InputListRange/InputListRangeProps.js → components/ApplicationForm/AcquiringFormState.js} +1 -1
  68. package/dist/components/ApplicationForm/AcquiringFormState.js.map +1 -0
  69. package/dist/components/ApplicationForm/ApplicationForm.js +4 -3
  70. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  71. package/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  72. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
  73. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  74. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  75. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
  76. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  77. package/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  78. package/dist/components/ApplicationForm/ApplicationFormCredit.js +28 -48
  79. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  80. package/dist/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  81. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
  82. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  83. package/dist/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  84. package/dist/components/ApplicationForm/ApplicationFormWed.js +22 -37
  85. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  86. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  87. package/dist/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  88. package/dist/components/ApplicationForm/BusinessCardFormState.js +2 -0
  89. package/dist/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
  90. package/dist/components/ApplicationForm/CreditFormState.d.ts +13 -0
  91. package/{mobile/dist/ui-kit/InputListRange/InputListRangeProps.js → dist/components/ApplicationForm/CreditFormState.js} +1 -1
  92. package/dist/components/ApplicationForm/CreditFormState.js.map +1 -0
  93. package/dist/components/ApplicationForm/CreditParameters.d.ts +3 -3
  94. package/dist/components/ApplicationForm/CreditParameters.js +5 -5
  95. package/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
  96. package/dist/components/ApplicationForm/DepositFormState.d.ts +4 -0
  97. package/dist/components/ApplicationForm/DepositFormState.js +2 -0
  98. package/dist/components/ApplicationForm/DepositFormState.js.map +1 -0
  99. package/dist/components/ApplicationForm/InputControl.d.ts +4 -5
  100. package/dist/components/ApplicationForm/InputControl.js +1 -3
  101. package/dist/components/ApplicationForm/InputControl.js.map +1 -1
  102. package/dist/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  103. package/dist/components/ApplicationForm/PhoneInputControl.js +8 -0
  104. package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -0
  105. package/dist/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  106. package/dist/components/ApplicationForm/ResponseNotification.js +4 -4
  107. package/dist/components/ApplicationForm/SelectControl.d.ts +2 -9
  108. package/dist/components/ApplicationForm/SelectControl.js +1 -7
  109. package/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  110. package/dist/components/ApplicationForm/WedFormState.d.ts +10 -0
  111. package/dist/components/ApplicationForm/WedFormState.js +2 -0
  112. package/dist/components/ApplicationForm/WedFormState.js.map +1 -0
  113. package/dist/components/ApplicationForm/models.d.ts +0 -6
  114. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  115. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
  116. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  117. package/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  118. package/dist/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  119. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  120. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  121. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
  122. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  123. package/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  124. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
  125. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  126. package/dist/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  127. package/dist/components/ApplicationForm/renderCreditParameters.js +3 -16
  128. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  129. package/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  130. package/dist/components/ApplicationForm/renderQuestionsInterested.js +4 -1
  131. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  132. package/dist/components/ApplicationForm/renderRegion.d.ts +6 -8
  133. package/dist/components/ApplicationForm/renderRegion.js +3 -2
  134. package/dist/components/ApplicationForm/renderRegion.js.map +1 -1
  135. package/dist/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  136. package/dist/components/ApplicationForm/renderRegionDepartment.js +6 -2
  137. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  138. package/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  139. package/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  140. package/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  141. package/dist/components/ApplicationForm/renderSubmitButton.js +2 -1
  142. package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  143. package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  144. package/dist/components/ApplicationForm/renderWedDataOrganization.js +4 -2
  145. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  146. package/dist/components/ApplicationForm/validators.d.ts +4 -0
  147. package/dist/components/ApplicationForm/validators.js +11 -0
  148. package/dist/components/ApplicationForm/validators.js.map +1 -0
  149. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  150. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  151. package/dist/components/Blocks.mobile.js +9 -1
  152. package/dist/components/Blocks.mobile.js.map +1 -1
  153. package/dist/components/Bonus/Bonus.js +1 -1
  154. package/dist/components/Bonus/Bonus.js.map +1 -1
  155. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  156. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  157. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  158. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  159. package/dist/components/Calculator/BonusCalculatorForm.js +16 -18
  160. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  161. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +24 -30
  162. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  163. package/dist/components/Calculator/Calculator.js +4 -4
  164. package/dist/components/Calculator/Calculator.js.map +1 -1
  165. package/dist/components/Calculator/CreditCalculatorForm.js +27 -43
  166. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  167. package/dist/components/Calculator/DepositCalculatorForm.js +30 -33
  168. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  169. package/dist/components/Calculator/Rate.d.ts +1 -0
  170. package/dist/components/Calculator/Rate.js +1 -1
  171. package/dist/components/Calculator/Rate.js.map +1 -1
  172. package/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
  173. package/dist/components/Calculator/renderBinaryRadioButtonGroup.js +8 -0
  174. package/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
  175. package/dist/components/Calculator/renderDaysInput.d.ts +2 -7
  176. package/dist/components/Calculator/renderDaysInput.js +2 -9
  177. package/dist/components/Calculator/renderDaysInput.js.map +1 -1
  178. package/dist/components/Calculator/renderInterestPayment.d.ts +2 -9
  179. package/dist/components/Calculator/renderInterestPayment.js +8 -18
  180. package/dist/components/Calculator/renderInterestPayment.js.map +1 -1
  181. package/dist/components/Calculator/renderMonthsInput.d.ts +3 -5
  182. package/dist/components/Calculator/renderMonthsInput.js +2 -10
  183. package/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  184. package/dist/components/Calculator/renderPaymentType.d.ts +2 -11
  185. package/dist/components/Calculator/renderPaymentType.js +9 -19
  186. package/dist/components/Calculator/renderPaymentType.js.map +1 -1
  187. package/dist/components/Calculator/renderRegistrationType.d.ts +2 -9
  188. package/dist/components/Calculator/renderRegistrationType.js +8 -18
  189. package/dist/components/Calculator/renderRegistrationType.js.map +1 -1
  190. package/dist/components/Calculator/renderWantedSumInput.d.ts +3 -7
  191. package/dist/components/Calculator/renderWantedSumInput.js +4 -6
  192. package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  193. package/dist/components/Calculator/useDepositCalculatorParams.js +1 -1
  194. package/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  195. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  196. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  197. package/dist/components/Carousel/Carousel.js +4 -4
  198. package/dist/components/Carousel/Carousel.js.map +1 -1
  199. package/dist/components/Carousel/CarouselScrollButtons.js +1 -1
  200. package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  201. package/dist/components/Carousel/itemsGap.d.ts +1 -0
  202. package/dist/components/Carousel/itemsGap.js +4 -0
  203. package/dist/components/Carousel/itemsGap.js.map +1 -0
  204. package/dist/components/Carousel/itemsGap.mobile.d.ts +1 -0
  205. package/dist/components/Carousel/itemsGap.mobile.js +4 -0
  206. package/dist/components/Carousel/itemsGap.mobile.js.map +1 -0
  207. package/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
  208. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  209. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  210. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  211. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -10
  212. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  213. package/dist/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
  214. package/dist/components/CarouselTariffsCard/descriptionSize.js +4 -0
  215. package/dist/components/CarouselTariffsCard/descriptionSize.js.map +1 -0
  216. package/dist/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +1 -0
  217. package/dist/components/CarouselTariffsCard/descriptionSize.mobile.js +4 -0
  218. package/dist/components/CarouselTariffsCard/descriptionSize.mobile.js.map +1 -0
  219. package/dist/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
  220. package/dist/components/CarouselTariffsCard/getPaddingStyle.js +5 -0
  221. package/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -0
  222. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +1 -0
  223. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js +5 -0
  224. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -0
  225. package/dist/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
  226. package/dist/components/CarouselTariffsCard/renderCardInfo.js +12 -0
  227. package/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -0
  228. package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  229. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  230. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  231. package/dist/components/Filtration/Filtration.js +3 -2
  232. package/dist/components/Filtration/Filtration.js.map +1 -1
  233. package/dist/components/Filtration/renderFormItem.d.ts +2 -2
  234. package/dist/components/Filtration/renderFormItem.js +4 -4
  235. package/dist/components/Filtration/renderFormItem.js.map +1 -1
  236. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  237. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  238. package/dist/components/Headline/Headline.js +3 -2
  239. package/dist/components/Headline/Headline.js.map +1 -1
  240. package/dist/components/Headline/headlineVersionStyles.d.ts +1 -1
  241. package/dist/components/Headline/headlineVersionStyles.js +6 -6
  242. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  243. package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  244. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  245. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  246. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  247. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  248. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  249. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  250. package/dist/components/ProductBlock/ProductBlock.js +2 -2
  251. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  252. package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  253. package/dist/components/SafeDepositRental/useGetRegions.js +2 -1
  254. package/dist/components/SafeDepositRental/useGetRegions.js.map +1 -1
  255. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  256. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  257. package/dist/components/TextBlock/TextBlock.js +8 -4
  258. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  259. package/dist/components/TextBlock/TextBlockContent.d.ts +1 -2
  260. package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  261. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  262. package/dist/hooks/useForm.d.ts +13 -12
  263. package/dist/hooks/useForm.js +32 -9
  264. package/dist/hooks/useForm.js.map +1 -1
  265. package/dist/ui-kit/Checkbox/Checkbox.js +12 -4
  266. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  267. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  268. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
  269. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  270. package/dist/ui-kit/Input/Input.js +4 -11
  271. package/dist/ui-kit/Input/Input.js.map +1 -1
  272. package/dist/ui-kit/Input/InputProps.d.ts +4 -2
  273. package/dist/ui-kit/InputRange/InputRange.js +22 -16
  274. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  275. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  276. package/dist/ui-kit/InputRange/parseDecimal.d.ts +1 -0
  277. package/dist/ui-kit/InputRange/parseDecimal.js +9 -0
  278. package/dist/ui-kit/InputRange/parseDecimal.js.map +1 -0
  279. package/dist/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
  280. package/dist/ui-kit/InputRange/renderRangeWithTicks.js +17 -0
  281. package/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -0
  282. package/dist/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  283. package/dist/ui-kit/PhoneInput/PhoneInput.js +12 -0
  284. package/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
  285. package/dist/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  286. package/dist/ui-kit/PhoneInput/normalizePhone.js +17 -0
  287. package/dist/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
  288. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  289. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  290. package/dist/ui-kit/Select/Select.d.ts +6 -7
  291. package/dist/ui-kit/Select/Select.js +16 -25
  292. package/dist/ui-kit/Select/Select.js.map +1 -1
  293. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
  294. package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  295. package/dist/utils/getSanitizedValue.js +1 -1
  296. package/dist/utils/getSanitizedValue.js.map +1 -1
  297. package/dist/validation/and.d.ts +2 -0
  298. package/dist/validation/and.js +5 -0
  299. package/dist/validation/and.js.map +1 -0
  300. package/dist/validation/objectValidator.d.ts +2 -0
  301. package/dist/validation/objectValidator.js +7 -0
  302. package/dist/validation/objectValidator.js.map +1 -0
  303. package/dist/validation/pattern.d.ts +1 -0
  304. package/dist/validation/pattern.js +6 -0
  305. package/dist/validation/pattern.js.map +1 -0
  306. package/dist/validation/required.d.ts +1 -0
  307. package/dist/validation/required.js +5 -0
  308. package/dist/validation/required.js.map +1 -0
  309. package/dist/validation/validator.d.ts +10 -0
  310. package/dist/validation/validator.js +9 -0
  311. package/dist/validation/validator.js.map +1 -0
  312. package/dist/validation/withValidator.d.ts +10 -0
  313. package/dist/validation/withValidator.js +13 -0
  314. package/dist/validation/withValidator.js.map +1 -0
  315. package/dist/wlc.json +1 -2
  316. package/lib/common.css +1 -1
  317. package/lib/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  318. package/lib/components/ApplicationForm/AcquiringFormState.js +2 -0
  319. package/lib/components/ApplicationForm/AcquiringFormState.js.map +1 -0
  320. package/lib/components/ApplicationForm/ApplicationForm.js +4 -3
  321. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  322. package/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  323. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
  324. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  325. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  326. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
  327. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  328. package/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  329. package/lib/components/ApplicationForm/ApplicationFormCredit.js +28 -48
  330. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  331. package/lib/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  332. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
  333. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  334. package/lib/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  335. package/lib/components/ApplicationForm/ApplicationFormWed.js +22 -37
  336. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  337. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  338. package/lib/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  339. package/lib/components/ApplicationForm/BusinessCardFormState.js +2 -0
  340. package/lib/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
  341. package/lib/components/ApplicationForm/CreditFormState.d.ts +13 -0
  342. package/lib/components/ApplicationForm/CreditFormState.js +2 -0
  343. package/lib/components/ApplicationForm/CreditFormState.js.map +1 -0
  344. package/lib/components/ApplicationForm/CreditParameters.d.ts +3 -3
  345. package/lib/components/ApplicationForm/CreditParameters.js +5 -5
  346. package/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
  347. package/lib/components/ApplicationForm/DepositFormState.d.ts +4 -0
  348. package/lib/components/ApplicationForm/DepositFormState.js +2 -0
  349. package/lib/components/ApplicationForm/DepositFormState.js.map +1 -0
  350. package/lib/components/ApplicationForm/InputControl.d.ts +4 -5
  351. package/lib/components/ApplicationForm/InputControl.js +1 -3
  352. package/lib/components/ApplicationForm/InputControl.js.map +1 -1
  353. package/lib/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  354. package/lib/components/ApplicationForm/PhoneInputControl.js +6 -0
  355. package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -0
  356. package/lib/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  357. package/lib/components/ApplicationForm/ResponseNotification.js +4 -4
  358. package/lib/components/ApplicationForm/SelectControl.d.ts +2 -9
  359. package/lib/components/ApplicationForm/SelectControl.js +1 -7
  360. package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  361. package/lib/components/ApplicationForm/WedFormState.d.ts +10 -0
  362. package/lib/components/ApplicationForm/WedFormState.js +2 -0
  363. package/lib/components/ApplicationForm/WedFormState.js.map +1 -0
  364. package/lib/components/ApplicationForm/models.d.ts +0 -6
  365. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  366. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
  367. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  368. package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  369. package/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  370. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  371. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  372. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
  373. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  374. package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  375. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
  376. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  377. package/lib/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  378. package/lib/components/ApplicationForm/renderCreditParameters.js +4 -17
  379. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  380. package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  381. package/lib/components/ApplicationForm/renderQuestionsInterested.js +4 -1
  382. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  383. package/lib/components/ApplicationForm/renderRegion.d.ts +6 -8
  384. package/lib/components/ApplicationForm/renderRegion.js +3 -2
  385. package/lib/components/ApplicationForm/renderRegion.js.map +1 -1
  386. package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  387. package/lib/components/ApplicationForm/renderRegionDepartment.js +6 -2
  388. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  389. package/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  390. package/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  391. package/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  392. package/lib/components/ApplicationForm/renderSubmitButton.js +2 -1
  393. package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  394. package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  395. package/lib/components/ApplicationForm/renderWedDataOrganization.js +4 -2
  396. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  397. package/lib/components/ApplicationForm/validators.d.ts +4 -0
  398. package/lib/components/ApplicationForm/validators.js +9 -0
  399. package/lib/components/ApplicationForm/validators.js.map +1 -0
  400. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  401. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  402. package/lib/components/Blocks.mobile.js +9 -1
  403. package/lib/components/Blocks.mobile.js.map +1 -1
  404. package/lib/components/Bonus/Bonus.js +1 -1
  405. package/lib/components/Bonus/Bonus.js.map +1 -1
  406. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  407. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  408. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  409. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  410. package/lib/components/Calculator/BonusCalculatorForm.js +16 -18
  411. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  412. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +24 -30
  413. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  414. package/lib/components/Calculator/Calculator.js +4 -4
  415. package/lib/components/Calculator/Calculator.js.map +1 -1
  416. package/lib/components/Calculator/CreditCalculatorForm.js +27 -43
  417. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  418. package/lib/components/Calculator/DepositCalculatorForm.js +31 -34
  419. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  420. package/lib/components/Calculator/Rate.d.ts +1 -0
  421. package/lib/components/Calculator/Rate.js +1 -1
  422. package/lib/components/Calculator/Rate.js.map +1 -1
  423. package/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
  424. package/lib/components/Calculator/renderBinaryRadioButtonGroup.js +5 -0
  425. package/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
  426. package/lib/components/Calculator/renderDaysInput.d.ts +2 -7
  427. package/lib/components/Calculator/renderDaysInput.js +2 -9
  428. package/lib/components/Calculator/renderDaysInput.js.map +1 -1
  429. package/lib/components/Calculator/renderInterestPayment.d.ts +2 -9
  430. package/lib/components/Calculator/renderInterestPayment.js +8 -18
  431. package/lib/components/Calculator/renderInterestPayment.js.map +1 -1
  432. package/lib/components/Calculator/renderMonthsInput.d.ts +3 -5
  433. package/lib/components/Calculator/renderMonthsInput.js +2 -10
  434. package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  435. package/lib/components/Calculator/renderPaymentType.d.ts +2 -11
  436. package/lib/components/Calculator/renderPaymentType.js +8 -18
  437. package/lib/components/Calculator/renderPaymentType.js.map +1 -1
  438. package/lib/components/Calculator/renderRegistrationType.d.ts +2 -9
  439. package/lib/components/Calculator/renderRegistrationType.js +8 -18
  440. package/lib/components/Calculator/renderRegistrationType.js.map +1 -1
  441. package/lib/components/Calculator/renderWantedSumInput.d.ts +3 -7
  442. package/lib/components/Calculator/renderWantedSumInput.js +4 -6
  443. package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  444. package/lib/components/Calculator/useDepositCalculatorParams.js +1 -1
  445. package/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  446. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  447. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  448. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +11 -0
  449. package/lib/components/Carousel/Carousel.js +3 -3
  450. package/lib/components/Carousel/Carousel.js.map +1 -1
  451. package/lib/components/Carousel/CarouselScrollButtons.js +1 -1
  452. package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  453. package/lib/components/Carousel/itemsGap.d.ts +1 -0
  454. package/lib/components/Carousel/itemsGap.js +2 -0
  455. package/lib/components/Carousel/itemsGap.js.map +1 -0
  456. package/lib/components/Carousel/itemsGap.mobile.d.ts +1 -0
  457. package/lib/components/Carousel/itemsGap.mobile.js +2 -0
  458. package/lib/components/Carousel/itemsGap.mobile.js.map +1 -0
  459. package/lib/components/CarouselProductCard/CarouselProductCard.js +2 -2
  460. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  461. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  462. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  463. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.d.ts +9 -0
  464. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +5 -9
  465. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  466. package/lib/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
  467. package/lib/components/CarouselTariffsCard/descriptionSize.js +2 -0
  468. package/lib/components/CarouselTariffsCard/descriptionSize.js.map +1 -0
  469. package/lib/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +1 -0
  470. package/lib/components/CarouselTariffsCard/descriptionSize.mobile.js +2 -0
  471. package/lib/components/CarouselTariffsCard/descriptionSize.mobile.js.map +1 -0
  472. package/lib/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
  473. package/lib/components/CarouselTariffsCard/getPaddingStyle.js +2 -0
  474. package/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -0
  475. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +1 -0
  476. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js +2 -0
  477. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -0
  478. package/lib/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
  479. package/lib/components/CarouselTariffsCard/renderCardInfo.js +9 -0
  480. package/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -0
  481. package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  482. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  483. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  484. package/lib/components/Filtration/Filtration.js +3 -2
  485. package/lib/components/Filtration/Filtration.js.map +1 -1
  486. package/lib/components/Filtration/renderFormItem.d.ts +2 -2
  487. package/lib/components/Filtration/renderFormItem.js +4 -4
  488. package/lib/components/Filtration/renderFormItem.js.map +1 -1
  489. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  490. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  491. package/lib/components/Headline/Headline.fixture.mobile.d.ts +22 -0
  492. package/lib/components/Headline/Headline.js +3 -2
  493. package/lib/components/Headline/Headline.js.map +1 -1
  494. package/lib/components/Headline/headlineVersionStyles.d.ts +1 -1
  495. package/lib/components/Headline/headlineVersionStyles.js +6 -6
  496. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  497. package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  498. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  499. package/lib/components/ImgBlock/ImgBlock.fixture.mobile.d.ts +6 -0
  500. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  501. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  502. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  503. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  504. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  505. package/lib/components/ProductBlock/ProductBlock.js +2 -2
  506. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  507. package/lib/components/ProductTile/renderBenefit.d.ts +0 -1
  508. package/lib/components/RichTextBlock/RichTextBlock.fixture.mobile.d.ts +9 -0
  509. package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  510. package/lib/components/SafeDepositRental/useGetRegions.js +2 -1
  511. package/lib/components/SafeDepositRental/useGetRegions.js.map +1 -1
  512. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  513. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  514. package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -1
  515. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +6 -2
  516. package/lib/components/TextBlock/TextBlock.js +8 -4
  517. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  518. package/lib/components/TextBlock/TextBlockContent.d.ts +1 -2
  519. package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +8 -0
  520. package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  521. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  522. package/lib/hooks/useForm.d.ts +13 -12
  523. package/lib/hooks/useForm.js +32 -9
  524. package/lib/hooks/useForm.js.map +1 -1
  525. package/lib/ui-kit/Checkbox/Checkbox.js +12 -4
  526. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  527. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  528. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
  529. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  530. package/lib/ui-kit/Input/Input.js +4 -11
  531. package/lib/ui-kit/Input/Input.js.map +1 -1
  532. package/lib/ui-kit/Input/InputProps.d.ts +4 -2
  533. package/lib/ui-kit/InputRange/InputRange.js +22 -16
  534. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  535. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  536. package/lib/ui-kit/InputRange/parseDecimal.d.ts +1 -0
  537. package/lib/ui-kit/InputRange/parseDecimal.js +6 -0
  538. package/lib/ui-kit/InputRange/parseDecimal.js.map +1 -0
  539. package/lib/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
  540. package/lib/ui-kit/InputRange/renderRangeWithTicks.js +14 -0
  541. package/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -0
  542. package/lib/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  543. package/lib/ui-kit/PhoneInput/PhoneInput.js +10 -0
  544. package/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
  545. package/lib/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  546. package/lib/ui-kit/PhoneInput/normalizePhone.js +14 -0
  547. package/lib/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
  548. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  549. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  550. package/lib/ui-kit/Select/Select.d.ts +6 -7
  551. package/lib/ui-kit/Select/Select.js +17 -26
  552. package/lib/ui-kit/Select/Select.js.map +1 -1
  553. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
  554. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  555. package/lib/utils/getSanitizedValue.js +1 -1
  556. package/lib/utils/getSanitizedValue.js.map +1 -1
  557. package/lib/validation/and.d.ts +2 -0
  558. package/lib/validation/and.js +2 -0
  559. package/lib/validation/and.js.map +1 -0
  560. package/lib/validation/objectValidator.d.ts +2 -0
  561. package/lib/validation/objectValidator.js +4 -0
  562. package/lib/validation/objectValidator.js.map +1 -0
  563. package/lib/validation/pattern.d.ts +1 -0
  564. package/lib/validation/pattern.js +3 -0
  565. package/lib/validation/pattern.js.map +1 -0
  566. package/lib/validation/required.d.ts +1 -0
  567. package/lib/validation/required.js +3 -0
  568. package/lib/validation/required.js.map +1 -0
  569. package/lib/validation/validator.d.ts +10 -0
  570. package/lib/validation/validator.js +4 -0
  571. package/lib/validation/validator.js.map +1 -0
  572. package/lib/validation/withValidator.d.ts +10 -0
  573. package/lib/validation/withValidator.js +10 -0
  574. package/lib/validation/withValidator.js.map +1 -0
  575. package/lib/wlc.json +1 -2
  576. package/mobile/bundle/bundle.umd.js +388 -277
  577. package/mobile/bundle/bundle.umd.min.js +1 -1
  578. package/mobile/bundle/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  579. package/mobile/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  580. package/mobile/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  581. package/mobile/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  582. package/mobile/bundle/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  583. package/mobile/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  584. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  585. package/mobile/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  586. package/mobile/bundle/components/ApplicationForm/CreditFormState.d.ts +13 -0
  587. package/mobile/bundle/components/ApplicationForm/CreditParameters.d.ts +3 -3
  588. package/mobile/bundle/components/ApplicationForm/DepositFormState.d.ts +4 -0
  589. package/mobile/bundle/components/ApplicationForm/InputControl.d.ts +4 -5
  590. package/mobile/bundle/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  591. package/mobile/bundle/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  592. package/mobile/bundle/components/ApplicationForm/SelectControl.d.ts +2 -9
  593. package/mobile/bundle/components/ApplicationForm/WedFormState.d.ts +10 -0
  594. package/mobile/bundle/components/ApplicationForm/models.d.ts +0 -6
  595. package/mobile/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  596. package/mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  597. package/mobile/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  598. package/mobile/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  599. package/mobile/bundle/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  600. package/mobile/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  601. package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +6 -8
  602. package/mobile/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  603. package/mobile/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  604. package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  605. package/mobile/bundle/components/ApplicationForm/validators.d.ts +4 -0
  606. package/mobile/bundle/components/Calculator/Rate.d.ts +1 -0
  607. package/mobile/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
  608. package/mobile/bundle/components/Calculator/renderDaysInput.d.ts +2 -7
  609. package/mobile/bundle/components/Calculator/renderInterestPayment.d.ts +2 -9
  610. package/mobile/bundle/components/Calculator/renderMonthsInput.d.ts +3 -5
  611. package/mobile/bundle/components/Calculator/renderPaymentType.d.ts +2 -11
  612. package/mobile/bundle/components/Calculator/renderRegistrationType.d.ts +2 -9
  613. package/mobile/bundle/components/Calculator/renderWantedSumInput.d.ts +3 -7
  614. package/mobile/bundle/components/Carousel/itemsGap.d.ts +1 -0
  615. package/mobile/bundle/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
  616. package/mobile/bundle/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
  617. package/mobile/bundle/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
  618. package/mobile/bundle/components/Filtration/renderFormItem.d.ts +2 -2
  619. package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +1 -1
  620. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +1 -2
  621. package/mobile/bundle/hooks/useForm.d.ts +13 -12
  622. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  623. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -2
  624. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  625. package/mobile/bundle/ui-kit/InputRange/parseDecimal.d.ts +1 -0
  626. package/mobile/bundle/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
  627. package/mobile/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  628. package/mobile/bundle/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  629. package/mobile/bundle/ui-kit/Select/Select.d.ts +6 -7
  630. package/mobile/bundle/validation/and.d.ts +2 -0
  631. package/mobile/bundle/validation/objectValidator.d.ts +2 -0
  632. package/mobile/bundle/validation/pattern.d.ts +1 -0
  633. package/mobile/bundle/validation/required.d.ts +1 -0
  634. package/mobile/bundle/validation/validator.d.ts +10 -0
  635. package/mobile/bundle/validation/withValidator.d.ts +10 -0
  636. package/mobile/dist/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  637. package/mobile/dist/components/ApplicationForm/AcquiringFormState.js +2 -0
  638. package/mobile/dist/components/ApplicationForm/AcquiringFormState.js.map +1 -0
  639. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +4 -3
  640. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  641. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  642. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
  643. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  644. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  645. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
  646. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  647. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  648. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +28 -48
  649. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  650. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  651. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
  652. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  653. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  654. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +22 -37
  655. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  656. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  657. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  658. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js +2 -0
  659. package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
  660. package/mobile/dist/components/ApplicationForm/CreditFormState.d.ts +13 -0
  661. package/mobile/dist/components/ApplicationForm/CreditFormState.js +2 -0
  662. package/mobile/dist/components/ApplicationForm/CreditFormState.js.map +1 -0
  663. package/mobile/dist/components/ApplicationForm/CreditParameters.d.ts +3 -3
  664. package/mobile/dist/components/ApplicationForm/CreditParameters.js +5 -5
  665. package/mobile/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
  666. package/mobile/dist/components/ApplicationForm/DepositFormState.d.ts +4 -0
  667. package/mobile/dist/components/ApplicationForm/DepositFormState.js +2 -0
  668. package/mobile/dist/components/ApplicationForm/DepositFormState.js.map +1 -0
  669. package/mobile/dist/components/ApplicationForm/InputControl.d.ts +4 -5
  670. package/mobile/dist/components/ApplicationForm/InputControl.js +1 -3
  671. package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
  672. package/mobile/dist/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  673. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +8 -0
  674. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -0
  675. package/mobile/dist/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  676. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +4 -4
  677. package/mobile/dist/components/ApplicationForm/SelectControl.d.ts +2 -9
  678. package/mobile/dist/components/ApplicationForm/SelectControl.js +1 -7
  679. package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  680. package/mobile/dist/components/ApplicationForm/WedFormState.d.ts +10 -0
  681. package/mobile/dist/components/ApplicationForm/WedFormState.js +2 -0
  682. package/mobile/dist/components/ApplicationForm/WedFormState.js.map +1 -0
  683. package/mobile/dist/components/ApplicationForm/models.d.ts +0 -6
  684. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  685. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
  686. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  687. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  688. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  689. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  690. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  691. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
  692. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  693. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  694. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
  695. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  696. package/mobile/dist/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  697. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +3 -16
  698. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  699. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  700. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +4 -1
  701. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  702. package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +6 -8
  703. package/mobile/dist/components/ApplicationForm/renderRegion.js +3 -2
  704. package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -1
  705. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  706. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +6 -2
  707. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  708. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  709. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  710. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  711. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +2 -1
  712. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  713. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  714. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +4 -2
  715. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  716. package/mobile/dist/components/ApplicationForm/validators.d.ts +4 -0
  717. package/mobile/dist/components/ApplicationForm/validators.js +11 -0
  718. package/mobile/dist/components/ApplicationForm/validators.js.map +1 -0
  719. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  720. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  721. package/mobile/dist/components/Blocks.js +9 -1
  722. package/mobile/dist/components/Blocks.js.map +1 -1
  723. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  724. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  725. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  726. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  727. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  728. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  729. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +16 -18
  730. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  731. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +24 -30
  732. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  733. package/mobile/dist/components/Calculator/Calculator.js +4 -4
  734. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  735. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +27 -43
  736. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  737. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +30 -33
  738. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  739. package/mobile/dist/components/Calculator/Rate.d.ts +1 -0
  740. package/mobile/dist/components/Calculator/Rate.js +1 -1
  741. package/mobile/dist/components/Calculator/Rate.js.map +1 -1
  742. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
  743. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js +8 -0
  744. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
  745. package/mobile/dist/components/Calculator/renderDaysInput.d.ts +2 -7
  746. package/mobile/dist/components/Calculator/renderDaysInput.js +2 -9
  747. package/mobile/dist/components/Calculator/renderDaysInput.js.map +1 -1
  748. package/mobile/dist/components/Calculator/renderInterestPayment.d.ts +2 -9
  749. package/mobile/dist/components/Calculator/renderInterestPayment.js +8 -18
  750. package/mobile/dist/components/Calculator/renderInterestPayment.js.map +1 -1
  751. package/mobile/dist/components/Calculator/renderMonthsInput.d.ts +3 -5
  752. package/mobile/dist/components/Calculator/renderMonthsInput.js +2 -10
  753. package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  754. package/mobile/dist/components/Calculator/renderPaymentType.d.ts +2 -11
  755. package/mobile/dist/components/Calculator/renderPaymentType.js +9 -19
  756. package/mobile/dist/components/Calculator/renderPaymentType.js.map +1 -1
  757. package/mobile/dist/components/Calculator/renderRegistrationType.d.ts +2 -9
  758. package/mobile/dist/components/Calculator/renderRegistrationType.js +8 -18
  759. package/mobile/dist/components/Calculator/renderRegistrationType.js.map +1 -1
  760. package/mobile/dist/components/Calculator/renderWantedSumInput.d.ts +3 -7
  761. package/mobile/dist/components/Calculator/renderWantedSumInput.js +4 -6
  762. package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  763. package/mobile/dist/components/Calculator/useDepositCalculatorParams.js +1 -1
  764. package/mobile/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  765. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  766. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  767. package/mobile/dist/components/Carousel/Carousel.js +4 -4
  768. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  769. package/mobile/dist/components/Carousel/CarouselScrollButtons.js +1 -1
  770. package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  771. package/mobile/dist/components/Carousel/itemsGap.d.ts +1 -0
  772. package/mobile/dist/components/Carousel/itemsGap.js +4 -0
  773. package/mobile/dist/components/Carousel/itemsGap.js.map +1 -0
  774. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
  775. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  776. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  777. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  778. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -10
  779. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  780. package/mobile/dist/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
  781. package/mobile/dist/components/CarouselTariffsCard/descriptionSize.js +4 -0
  782. package/mobile/dist/components/CarouselTariffsCard/descriptionSize.js.map +1 -0
  783. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
  784. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js +5 -0
  785. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -0
  786. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
  787. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js +12 -0
  788. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -0
  789. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  790. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  791. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  792. package/mobile/dist/components/Filtration/Filtration.js +3 -2
  793. package/mobile/dist/components/Filtration/Filtration.js.map +1 -1
  794. package/mobile/dist/components/Filtration/renderFormItem.d.ts +2 -2
  795. package/mobile/dist/components/Filtration/renderFormItem.js +4 -4
  796. package/mobile/dist/components/Filtration/renderFormItem.js.map +1 -1
  797. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  798. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  799. package/mobile/dist/components/Headline/Headline.js +3 -2
  800. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  801. package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +1 -1
  802. package/mobile/dist/components/Headline/headlineVersionStyles.js +6 -6
  803. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  804. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  805. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  806. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  807. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  808. package/mobile/dist/components/SafeDepositRental/useGetRegions.js +2 -1
  809. package/mobile/dist/components/SafeDepositRental/useGetRegions.js.map +1 -1
  810. package/mobile/dist/components/TextBlock/TextBlock.js +14 -9
  811. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  812. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +1 -2
  813. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  814. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  815. package/mobile/dist/hooks/useForm.d.ts +13 -12
  816. package/mobile/dist/hooks/useForm.js +32 -9
  817. package/mobile/dist/hooks/useForm.js.map +1 -1
  818. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +12 -4
  819. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  820. package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  821. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
  822. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  823. package/mobile/dist/ui-kit/Input/Input.js +4 -11
  824. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  825. package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -2
  826. package/mobile/dist/ui-kit/InputRange/InputRange.js +22 -16
  827. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  828. package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  829. package/mobile/dist/ui-kit/InputRange/parseDecimal.d.ts +1 -0
  830. package/mobile/dist/ui-kit/InputRange/parseDecimal.js +9 -0
  831. package/mobile/dist/ui-kit/InputRange/parseDecimal.js.map +1 -0
  832. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
  833. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js +17 -0
  834. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -0
  835. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  836. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js +12 -0
  837. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
  838. package/mobile/dist/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  839. package/mobile/dist/ui-kit/PhoneInput/normalizePhone.js +17 -0
  840. package/mobile/dist/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
  841. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  842. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  843. package/mobile/dist/ui-kit/Select/Select.d.ts +6 -7
  844. package/mobile/dist/ui-kit/Select/Select.js +16 -25
  845. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  846. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
  847. package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  848. package/mobile/dist/utils/getSanitizedValue.js +1 -1
  849. package/mobile/dist/utils/getSanitizedValue.js.map +1 -1
  850. package/mobile/dist/validation/and.d.ts +2 -0
  851. package/mobile/dist/validation/and.js +5 -0
  852. package/mobile/dist/validation/and.js.map +1 -0
  853. package/mobile/dist/validation/objectValidator.d.ts +2 -0
  854. package/mobile/dist/validation/objectValidator.js +7 -0
  855. package/mobile/dist/validation/objectValidator.js.map +1 -0
  856. package/mobile/dist/validation/pattern.d.ts +1 -0
  857. package/mobile/dist/validation/pattern.js +6 -0
  858. package/mobile/dist/validation/pattern.js.map +1 -0
  859. package/mobile/dist/validation/required.d.ts +1 -0
  860. package/mobile/dist/validation/required.js +5 -0
  861. package/mobile/dist/validation/required.js.map +1 -0
  862. package/mobile/dist/validation/validator.d.ts +10 -0
  863. package/mobile/dist/validation/validator.js +9 -0
  864. package/mobile/dist/validation/validator.js.map +1 -0
  865. package/mobile/dist/validation/withValidator.d.ts +10 -0
  866. package/mobile/dist/validation/withValidator.js +13 -0
  867. package/mobile/dist/validation/withValidator.js.map +1 -0
  868. package/mobile/dist/wlc.json +1 -2
  869. package/mobile/lib/common.css +1 -0
  870. package/mobile/lib/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
  871. package/mobile/lib/components/ApplicationForm/AcquiringFormState.js +2 -0
  872. package/mobile/lib/components/ApplicationForm/AcquiringFormState.js.map +1 -0
  873. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +4 -3
  874. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  875. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
  876. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
  877. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  878. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
  879. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
  880. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  881. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
  882. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +28 -48
  883. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  884. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
  885. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
  886. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  887. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
  888. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +22 -37
  889. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  890. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
  891. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
  892. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js +2 -0
  893. package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
  894. package/mobile/lib/components/ApplicationForm/CreditFormState.d.ts +13 -0
  895. package/mobile/lib/components/ApplicationForm/CreditFormState.js +2 -0
  896. package/mobile/lib/components/ApplicationForm/CreditFormState.js.map +1 -0
  897. package/mobile/lib/components/ApplicationForm/CreditParameters.d.ts +3 -3
  898. package/mobile/lib/components/ApplicationForm/CreditParameters.js +5 -5
  899. package/mobile/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
  900. package/mobile/lib/components/ApplicationForm/DepositFormState.d.ts +4 -0
  901. package/mobile/lib/components/ApplicationForm/DepositFormState.js +2 -0
  902. package/mobile/lib/components/ApplicationForm/DepositFormState.js.map +1 -0
  903. package/mobile/lib/components/ApplicationForm/InputControl.d.ts +4 -5
  904. package/mobile/lib/components/ApplicationForm/InputControl.js +1 -3
  905. package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
  906. package/mobile/lib/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
  907. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +6 -0
  908. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -0
  909. package/mobile/lib/components/ApplicationForm/ResponseNotification.d.ts +1 -1
  910. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +4 -4
  911. package/mobile/lib/components/ApplicationForm/SelectControl.d.ts +2 -9
  912. package/mobile/lib/components/ApplicationForm/SelectControl.js +1 -7
  913. package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  914. package/mobile/lib/components/ApplicationForm/WedFormState.d.ts +10 -0
  915. package/mobile/lib/components/ApplicationForm/WedFormState.js +2 -0
  916. package/mobile/lib/components/ApplicationForm/WedFormState.js.map +1 -0
  917. package/mobile/lib/components/ApplicationForm/models.d.ts +0 -6
  918. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
  919. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
  920. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  921. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
  922. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
  923. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  924. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
  925. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
  926. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  927. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
  928. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
  929. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  930. package/mobile/lib/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
  931. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +4 -17
  932. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  933. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
  934. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +4 -1
  935. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  936. package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +6 -8
  937. package/mobile/lib/components/ApplicationForm/renderRegion.js +3 -2
  938. package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -1
  939. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
  940. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +6 -2
  941. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  942. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
  943. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  944. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  945. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +2 -1
  946. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  947. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
  948. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +4 -2
  949. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  950. package/mobile/lib/components/ApplicationForm/validators.d.ts +4 -0
  951. package/mobile/lib/components/ApplicationForm/validators.js +9 -0
  952. package/mobile/lib/components/ApplicationForm/validators.js.map +1 -0
  953. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  954. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  955. package/mobile/lib/components/Blocks.js +9 -1
  956. package/mobile/lib/components/Blocks.js.map +1 -1
  957. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  958. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  959. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  960. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  961. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  962. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  963. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +16 -18
  964. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  965. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +24 -30
  966. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  967. package/mobile/lib/components/Calculator/Calculator.js +4 -4
  968. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  969. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +27 -43
  970. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  971. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +31 -34
  972. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  973. package/mobile/lib/components/Calculator/Rate.d.ts +1 -0
  974. package/mobile/lib/components/Calculator/Rate.js +1 -1
  975. package/mobile/lib/components/Calculator/Rate.js.map +1 -1
  976. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
  977. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js +5 -0
  978. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
  979. package/mobile/lib/components/Calculator/renderDaysInput.d.ts +2 -7
  980. package/mobile/lib/components/Calculator/renderDaysInput.js +2 -9
  981. package/mobile/lib/components/Calculator/renderDaysInput.js.map +1 -1
  982. package/mobile/lib/components/Calculator/renderInterestPayment.d.ts +2 -9
  983. package/mobile/lib/components/Calculator/renderInterestPayment.js +8 -18
  984. package/mobile/lib/components/Calculator/renderInterestPayment.js.map +1 -1
  985. package/mobile/lib/components/Calculator/renderMonthsInput.d.ts +3 -5
  986. package/mobile/lib/components/Calculator/renderMonthsInput.js +2 -10
  987. package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  988. package/mobile/lib/components/Calculator/renderPaymentType.d.ts +2 -11
  989. package/mobile/lib/components/Calculator/renderPaymentType.js +8 -18
  990. package/mobile/lib/components/Calculator/renderPaymentType.js.map +1 -1
  991. package/mobile/lib/components/Calculator/renderRegistrationType.d.ts +2 -9
  992. package/mobile/lib/components/Calculator/renderRegistrationType.js +8 -18
  993. package/mobile/lib/components/Calculator/renderRegistrationType.js.map +1 -1
  994. package/mobile/lib/components/Calculator/renderWantedSumInput.d.ts +3 -7
  995. package/mobile/lib/components/Calculator/renderWantedSumInput.js +4 -6
  996. package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  997. package/mobile/lib/components/Calculator/useDepositCalculatorParams.js +1 -1
  998. package/mobile/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  999. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  1000. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1001. package/mobile/lib/components/Carousel/Carousel.js +3 -3
  1002. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  1003. package/mobile/lib/components/Carousel/CarouselScrollButtons.js +1 -1
  1004. package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  1005. package/mobile/lib/components/Carousel/itemsGap.d.ts +1 -0
  1006. package/mobile/lib/components/Carousel/itemsGap.js +2 -0
  1007. package/mobile/lib/components/Carousel/itemsGap.js.map +1 -0
  1008. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +2 -2
  1009. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  1010. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  1011. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  1012. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +5 -9
  1013. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  1014. package/mobile/lib/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
  1015. package/mobile/lib/components/CarouselTariffsCard/descriptionSize.js +2 -0
  1016. package/mobile/lib/components/CarouselTariffsCard/descriptionSize.js.map +1 -0
  1017. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
  1018. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js +2 -0
  1019. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -0
  1020. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
  1021. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js +9 -0
  1022. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -0
  1023. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  1024. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  1025. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  1026. package/mobile/lib/components/Filtration/Filtration.js +3 -2
  1027. package/mobile/lib/components/Filtration/Filtration.js.map +1 -1
  1028. package/mobile/lib/components/Filtration/renderFormItem.d.ts +2 -2
  1029. package/mobile/lib/components/Filtration/renderFormItem.js +4 -4
  1030. package/mobile/lib/components/Filtration/renderFormItem.js.map +1 -1
  1031. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  1032. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  1033. package/mobile/lib/components/Headline/Headline.js +3 -2
  1034. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  1035. package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +1 -1
  1036. package/mobile/lib/components/Headline/headlineVersionStyles.js +6 -6
  1037. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  1038. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  1039. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  1040. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  1041. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  1042. package/mobile/lib/components/SafeDepositRental/useGetRegions.js +2 -1
  1043. package/mobile/lib/components/SafeDepositRental/useGetRegions.js.map +1 -1
  1044. package/mobile/lib/components/TextBlock/TextBlock.js +14 -9
  1045. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  1046. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +1 -2
  1047. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  1048. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1049. package/mobile/lib/hooks/useForm.d.ts +13 -12
  1050. package/mobile/lib/hooks/useForm.js +32 -9
  1051. package/mobile/lib/hooks/useForm.js.map +1 -1
  1052. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +12 -4
  1053. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1054. package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  1055. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
  1056. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  1057. package/mobile/lib/ui-kit/Input/Input.js +4 -11
  1058. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  1059. package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -2
  1060. package/mobile/lib/ui-kit/InputRange/InputRange.js +22 -16
  1061. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1062. package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  1063. package/mobile/lib/ui-kit/InputRange/parseDecimal.d.ts +1 -0
  1064. package/mobile/lib/ui-kit/InputRange/parseDecimal.js +6 -0
  1065. package/mobile/lib/ui-kit/InputRange/parseDecimal.js.map +1 -0
  1066. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
  1067. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js +14 -0
  1068. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -0
  1069. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
  1070. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js +10 -0
  1071. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
  1072. package/mobile/lib/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
  1073. package/mobile/lib/ui-kit/PhoneInput/normalizePhone.js +14 -0
  1074. package/mobile/lib/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
  1075. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  1076. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1077. package/mobile/lib/ui-kit/Select/Select.d.ts +6 -7
  1078. package/mobile/lib/ui-kit/Select/Select.js +17 -26
  1079. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1080. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
  1081. package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
  1082. package/mobile/lib/utils/getSanitizedValue.js +1 -1
  1083. package/mobile/lib/utils/getSanitizedValue.js.map +1 -1
  1084. package/mobile/lib/validation/and.d.ts +2 -0
  1085. package/mobile/lib/validation/and.js +2 -0
  1086. package/mobile/lib/validation/and.js.map +1 -0
  1087. package/mobile/lib/validation/objectValidator.d.ts +2 -0
  1088. package/mobile/lib/validation/objectValidator.js +4 -0
  1089. package/mobile/lib/validation/objectValidator.js.map +1 -0
  1090. package/mobile/lib/validation/pattern.d.ts +1 -0
  1091. package/mobile/lib/validation/pattern.js +3 -0
  1092. package/mobile/lib/validation/pattern.js.map +1 -0
  1093. package/mobile/lib/validation/required.d.ts +1 -0
  1094. package/mobile/lib/validation/required.js +3 -0
  1095. package/mobile/lib/validation/required.js.map +1 -0
  1096. package/mobile/lib/validation/validator.d.ts +10 -0
  1097. package/mobile/lib/validation/validator.js +4 -0
  1098. package/mobile/lib/validation/validator.js.map +1 -0
  1099. package/mobile/lib/validation/withValidator.d.ts +10 -0
  1100. package/mobile/lib/validation/withValidator.js +10 -0
  1101. package/mobile/lib/validation/withValidator.js.map +1 -0
  1102. package/mobile/lib/wlc.json +1 -2
  1103. package/mobile/src/components/ApplicationForm/AcquiringFormState.ts +12 -0
  1104. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +6 -5
  1105. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +43 -71
  1106. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +37 -51
  1107. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +49 -84
  1108. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +41 -67
  1109. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +40 -64
  1110. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -2
  1111. package/mobile/src/components/ApplicationForm/BusinessCardFormState.ts +9 -0
  1112. package/mobile/src/components/ApplicationForm/CreditFormState.ts +14 -0
  1113. package/mobile/src/components/ApplicationForm/CreditParameters.ts +5 -5
  1114. package/mobile/src/components/ApplicationForm/DepositFormState.ts +4 -0
  1115. package/mobile/src/components/ApplicationForm/InputControl.tsx +21 -21
  1116. package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +26 -0
  1117. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +7 -7
  1118. package/mobile/src/components/ApplicationForm/SelectControl.tsx +14 -48
  1119. package/mobile/src/components/ApplicationForm/WedFormState.ts +10 -0
  1120. package/mobile/src/components/ApplicationForm/models.ts +0 -8
  1121. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +11 -36
  1122. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +12 -33
  1123. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +13 -36
  1124. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +13 -44
  1125. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +27 -30
  1126. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +21 -40
  1127. package/mobile/src/components/ApplicationForm/renderRegion.tsx +10 -22
  1128. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +15 -32
  1129. package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +5 -23
  1130. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +2 -1
  1131. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +11 -36
  1132. package/mobile/src/components/ApplicationForm/validators.ts +17 -0
  1133. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1134. package/mobile/src/components/Blocks.ts +9 -1
  1135. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  1136. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  1137. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1138. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +29 -33
  1139. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +37 -57
  1140. package/mobile/src/components/Calculator/Calculator.tsx +11 -5
  1141. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +52 -87
  1142. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +38 -66
  1143. package/mobile/src/components/Calculator/Rate.tsx +14 -14
  1144. package/mobile/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +35 -0
  1145. package/mobile/src/components/Calculator/renderDaysInput.tsx +10 -31
  1146. package/mobile/src/components/Calculator/renderInterestPayment.tsx +13 -52
  1147. package/mobile/src/components/Calculator/renderMonthsInput.tsx +17 -39
  1148. package/mobile/src/components/Calculator/renderPaymentType.tsx +13 -49
  1149. package/mobile/src/components/Calculator/renderRegistrationType.tsx +13 -51
  1150. package/mobile/src/components/Calculator/renderWantedSumInput.tsx +10 -27
  1151. package/mobile/src/components/Calculator/useDepositCalculatorParams.ts +1 -1
  1152. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -1
  1153. package/mobile/src/components/Carousel/Carousel.tsx +3 -4
  1154. package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +7 -3
  1155. package/mobile/src/components/Carousel/itemsGap.ts +1 -0
  1156. package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +2 -1
  1157. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -2
  1158. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
  1159. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +7 -31
  1160. package/mobile/src/components/CarouselTariffsCard/descriptionSize.tsx +1 -0
  1161. package/mobile/src/components/CarouselTariffsCard/getPaddingStyle.tsx +2 -0
  1162. package/mobile/src/components/CarouselTariffsCard/renderCardInfo.tsx +31 -0
  1163. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  1164. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +3 -3
  1165. package/mobile/src/components/Filtration/Filtration.tsx +6 -4
  1166. package/mobile/src/components/Filtration/renderFormItem.tsx +5 -5
  1167. package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1168. package/mobile/src/components/Headline/Headline.tsx +11 -6
  1169. package/mobile/src/components/Headline/headlineVersionStyles.ts +7 -7
  1170. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
  1171. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
  1172. package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +2 -2
  1173. package/mobile/src/components/SafeDepositRental/useGetRegions.ts +3 -1
  1174. package/mobile/src/components/TariffsTable/TariffsTable.ui.json +3 -0
  1175. package/mobile/src/components/TextBlock/TextBlock.tsx +56 -22
  1176. package/mobile/src/components/TextBlock/TextBlockContent.ts +1 -3
  1177. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1178. package/mobile/src/hooks/useForm.ts +68 -17
  1179. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +43 -25
  1180. package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
  1181. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +8 -16
  1182. package/mobile/src/ui-kit/Input/Input.tsx +11 -19
  1183. package/mobile/src/ui-kit/Input/InputProps.ts +4 -2
  1184. package/mobile/src/ui-kit/InputRange/InputRange.tsx +56 -43
  1185. package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
  1186. package/mobile/src/ui-kit/InputRange/parseDecimal.ts +6 -0
  1187. package/mobile/src/ui-kit/InputRange/renderRangeWithTicks.tsx +62 -0
  1188. package/mobile/src/ui-kit/PhoneInput/PhoneInput.tsx +19 -0
  1189. package/mobile/src/ui-kit/PhoneInput/normalizePhone.ts +23 -0
  1190. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  1191. package/mobile/src/ui-kit/Select/Select.tsx +48 -55
  1192. package/mobile/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +13 -12
  1193. package/mobile/src/utils/getSanitizedValue.ts +1 -1
  1194. package/mobile/src/validation/and.ts +6 -0
  1195. package/mobile/src/validation/objectValidator.ts +10 -0
  1196. package/mobile/src/validation/pattern.ts +4 -0
  1197. package/mobile/src/validation/required.ts +3 -0
  1198. package/mobile/src/validation/validator.ts +21 -0
  1199. package/mobile/src/validation/withValidator.ts +21 -0
  1200. package/mobile/src/wlc.json +1 -2
  1201. package/package.json +2 -2
  1202. package/src/components/ApplicationForm/AcquiringFormState.ts +12 -0
  1203. package/src/components/ApplicationForm/ApplicationForm.tsx +6 -5
  1204. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +43 -71
  1205. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +37 -51
  1206. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +49 -84
  1207. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +41 -67
  1208. package/src/components/ApplicationForm/ApplicationFormWed.tsx +40 -64
  1209. package/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -2
  1210. package/src/components/ApplicationForm/BusinessCardFormState.ts +9 -0
  1211. package/src/components/ApplicationForm/CreditFormState.ts +14 -0
  1212. package/src/components/ApplicationForm/CreditParameters.ts +5 -5
  1213. package/src/components/ApplicationForm/DepositFormState.ts +4 -0
  1214. package/src/components/ApplicationForm/InputControl.tsx +21 -21
  1215. package/src/components/ApplicationForm/PhoneInputControl.tsx +26 -0
  1216. package/src/components/ApplicationForm/ResponseNotification.tsx +7 -7
  1217. package/src/components/ApplicationForm/SelectControl.tsx +14 -48
  1218. package/src/components/ApplicationForm/WedFormState.ts +10 -0
  1219. package/src/components/ApplicationForm/models.ts +0 -8
  1220. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +11 -36
  1221. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +12 -33
  1222. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +13 -36
  1223. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +13 -44
  1224. package/src/components/ApplicationForm/renderCreditParameters.tsx +27 -30
  1225. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +21 -40
  1226. package/src/components/ApplicationForm/renderRegion.tsx +10 -22
  1227. package/src/components/ApplicationForm/renderRegionDepartment.tsx +15 -32
  1228. package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +5 -23
  1229. package/src/components/ApplicationForm/renderSubmitButton.tsx +2 -1
  1230. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +11 -36
  1231. package/src/components/ApplicationForm/validators.ts +17 -0
  1232. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1233. package/src/components/Blocks.mobile.ts +9 -1
  1234. package/src/components/Bonus/Bonus.tsx +1 -1
  1235. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  1236. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1237. package/src/components/Calculator/BonusCalculatorForm.tsx +29 -33
  1238. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +37 -57
  1239. package/src/components/Calculator/Calculator.tsx +11 -5
  1240. package/src/components/Calculator/CreditCalculatorForm.tsx +52 -87
  1241. package/src/components/Calculator/DepositCalculatorForm.tsx +38 -66
  1242. package/src/components/Calculator/Rate.tsx +14 -14
  1243. package/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +35 -0
  1244. package/src/components/Calculator/renderDaysInput.tsx +10 -31
  1245. package/src/components/Calculator/renderInterestPayment.tsx +13 -52
  1246. package/src/components/Calculator/renderMonthsInput.tsx +17 -39
  1247. package/src/components/Calculator/renderPaymentType.tsx +13 -49
  1248. package/src/components/Calculator/renderRegistrationType.tsx +13 -51
  1249. package/src/components/Calculator/renderWantedSumInput.tsx +10 -27
  1250. package/src/components/Calculator/useDepositCalculatorParams.ts +1 -1
  1251. package/src/components/CardTransfer/CardTransfer.tsx +1 -1
  1252. package/src/components/Carousel/Carousel.fixture.mobile.tsx +93 -0
  1253. package/src/components/Carousel/Carousel.fixture.tsx +1 -1
  1254. package/src/components/Carousel/Carousel.tsx +3 -4
  1255. package/src/components/Carousel/CarouselScrollButtons.tsx +7 -3
  1256. package/src/components/Carousel/itemsGap.mobile.ts +1 -0
  1257. package/src/components/Carousel/itemsGap.ts +1 -0
  1258. package/src/components/CarouselProductCard/CarouselProductCard.example.json +2 -1
  1259. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +1 -0
  1260. package/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -2
  1261. package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
  1262. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +74 -0
  1263. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +7 -31
  1264. package/src/components/CarouselTariffsCard/descriptionSize.mobile.tsx +1 -0
  1265. package/src/components/CarouselTariffsCard/descriptionSize.tsx +1 -0
  1266. package/src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx +2 -0
  1267. package/src/components/CarouselTariffsCard/getPaddingStyle.tsx +2 -0
  1268. package/src/components/CarouselTariffsCard/renderCardInfo.tsx +31 -0
  1269. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  1270. package/src/components/ExchangeRateTile/renderInput.tsx +3 -3
  1271. package/src/components/Filtration/Filtration.tsx +6 -4
  1272. package/src/components/Filtration/renderFormItem.tsx +5 -5
  1273. package/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1274. package/src/components/Headline/Headline.fixture.mobile.tsx +95 -0
  1275. package/src/components/Headline/Headline.tsx +11 -6
  1276. package/src/components/Headline/headlineVersionStyles.ts +7 -7
  1277. package/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
  1278. package/src/components/ImgBlock/ImgBlock.fixture.mobile.tsx +21 -0
  1279. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
  1280. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  1281. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  1282. package/src/components/ProductBlock/ProductBlock.tsx +5 -2
  1283. package/src/components/RichTextBlock/RichTextBlock.fixture.mobile.tsx +51 -0
  1284. package/src/components/SafeDepositRental/WrapperSelect.tsx +2 -2
  1285. package/src/components/SafeDepositRental/useGetRegions.ts +3 -1
  1286. package/src/components/TariffsTable/TariffsTable.tsx +1 -1
  1287. package/src/components/TariffsTable/TariffsTable.ui.json +3 -0
  1288. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +43 -50
  1289. package/src/components/TextBlock/TextBlock.fixture.tsx +1 -1
  1290. package/src/components/TextBlock/TextBlock.tsx +36 -12
  1291. package/src/components/TextBlock/TextBlockContent.ts +1 -3
  1292. package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +90 -0
  1293. package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1294. package/src/hooks/useForm.ts +68 -17
  1295. package/src/ui-kit/Checkbox/Checkbox.tsx +43 -25
  1296. package/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
  1297. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +8 -16
  1298. package/src/ui-kit/Input/Input.tsx +11 -19
  1299. package/src/ui-kit/Input/InputProps.ts +4 -2
  1300. package/src/ui-kit/InputRange/InputRange.tsx +56 -43
  1301. package/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
  1302. package/src/ui-kit/InputRange/parseDecimal.ts +6 -0
  1303. package/src/ui-kit/InputRange/renderRangeWithTicks.tsx +62 -0
  1304. package/src/ui-kit/List/List.fixture.tsx +4 -4
  1305. package/src/ui-kit/PhoneInput/PhoneInput.tsx +19 -0
  1306. package/src/ui-kit/PhoneInput/normalizePhone.ts +23 -0
  1307. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  1308. package/src/ui-kit/RichText/RichText.fixture.tsx +1 -1
  1309. package/src/ui-kit/Select/Select.tsx +48 -55
  1310. package/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +13 -12
  1311. package/src/ui-kit/Tags/Tags.fixture.tsx +1 -1
  1312. package/src/utils/getSanitizedValue.ts +1 -1
  1313. package/src/validation/and.ts +6 -0
  1314. package/src/validation/objectValidator.ts +10 -0
  1315. package/src/validation/pattern.ts +4 -0
  1316. package/src/validation/required.ts +3 -0
  1317. package/src/validation/validator.ts +21 -0
  1318. package/src/validation/withValidator.ts +21 -0
  1319. package/src/wlc.json +1 -2
  1320. package/tailwind.config.cjs +3 -0
  1321. package/bin/migration-scripts/0.9.3.js +0 -88
  1322. package/bundle/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1323. package/bundle/components/ApplicationForm/useForm.d.ts +0 -14
  1324. package/bundle/components/ApplicationForm/validate.d.ts +0 -1
  1325. package/bundle/components/TextBlock/TextBlock.mobile.d.ts +0 -5
  1326. package/bundle/ui-kit/InputListRange/InputListRange.d.ts +0 -2
  1327. package/bundle/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
  1328. package/dist/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1329. package/dist/components/ApplicationForm/renderInputRange.js +0 -8
  1330. package/dist/components/ApplicationForm/renderInputRange.js.map +0 -1
  1331. package/dist/components/ApplicationForm/useForm.d.ts +0 -14
  1332. package/dist/components/ApplicationForm/useForm.js +0 -37
  1333. package/dist/components/ApplicationForm/useForm.js.map +0 -1
  1334. package/dist/components/ApplicationForm/validate.d.ts +0 -1
  1335. package/dist/components/ApplicationForm/validate.js +0 -22
  1336. package/dist/components/ApplicationForm/validate.js.map +0 -1
  1337. package/dist/components/TextBlock/TextBlock.mobile.d.ts +0 -5
  1338. package/dist/components/TextBlock/TextBlock.mobile.js +0 -16
  1339. package/dist/components/TextBlock/TextBlock.mobile.js.map +0 -1
  1340. package/dist/ui-kit/InputListRange/InputListRange.d.ts +0 -2
  1341. package/dist/ui-kit/InputListRange/InputListRange.js +0 -41
  1342. package/dist/ui-kit/InputListRange/InputListRange.js.map +0 -1
  1343. package/dist/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
  1344. package/dist/ui-kit/InputListRange/InputListRangeProps.js.map +0 -1
  1345. package/lib/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1346. package/lib/components/ApplicationForm/renderInputRange.js +0 -5
  1347. package/lib/components/ApplicationForm/renderInputRange.js.map +0 -1
  1348. package/lib/components/ApplicationForm/useForm.d.ts +0 -14
  1349. package/lib/components/ApplicationForm/useForm.js +0 -34
  1350. package/lib/components/ApplicationForm/useForm.js.map +0 -1
  1351. package/lib/components/ApplicationForm/validate.d.ts +0 -1
  1352. package/lib/components/ApplicationForm/validate.js +0 -19
  1353. package/lib/components/ApplicationForm/validate.js.map +0 -1
  1354. package/lib/components/TextBlock/TextBlock.mobile.d.ts +0 -5
  1355. package/lib/components/TextBlock/TextBlock.mobile.js +0 -14
  1356. package/lib/components/TextBlock/TextBlock.mobile.js.map +0 -1
  1357. package/lib/ui-kit/InputListRange/InputListRange.d.ts +0 -2
  1358. package/lib/ui-kit/InputListRange/InputListRange.js +0 -39
  1359. package/lib/ui-kit/InputListRange/InputListRange.js.map +0 -1
  1360. package/lib/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
  1361. package/lib/ui-kit/InputListRange/InputListRangeProps.js +0 -2
  1362. package/lib/ui-kit/InputListRange/InputListRangeProps.js.map +0 -1
  1363. package/mobile/bundle/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1364. package/mobile/bundle/components/ApplicationForm/useForm.d.ts +0 -14
  1365. package/mobile/bundle/components/ApplicationForm/validate.d.ts +0 -1
  1366. package/mobile/bundle/ui-kit/InputListRange/InputListRange.d.ts +0 -2
  1367. package/mobile/bundle/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
  1368. package/mobile/dist/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1369. package/mobile/dist/components/ApplicationForm/renderInputRange.js +0 -8
  1370. package/mobile/dist/components/ApplicationForm/renderInputRange.js.map +0 -1
  1371. package/mobile/dist/components/ApplicationForm/useForm.d.ts +0 -14
  1372. package/mobile/dist/components/ApplicationForm/useForm.js +0 -37
  1373. package/mobile/dist/components/ApplicationForm/useForm.js.map +0 -1
  1374. package/mobile/dist/components/ApplicationForm/validate.d.ts +0 -1
  1375. package/mobile/dist/components/ApplicationForm/validate.js +0 -22
  1376. package/mobile/dist/components/ApplicationForm/validate.js.map +0 -1
  1377. package/mobile/dist/ui-kit/InputListRange/InputListRange.d.ts +0 -2
  1378. package/mobile/dist/ui-kit/InputListRange/InputListRange.js +0 -41
  1379. package/mobile/dist/ui-kit/InputListRange/InputListRange.js.map +0 -1
  1380. package/mobile/dist/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
  1381. package/mobile/dist/ui-kit/InputListRange/InputListRangeProps.js.map +0 -1
  1382. package/mobile/lib/components/ApplicationForm/renderInputRange.d.ts +0 -11
  1383. package/mobile/lib/components/ApplicationForm/renderInputRange.js +0 -5
  1384. package/mobile/lib/components/ApplicationForm/renderInputRange.js.map +0 -1
  1385. package/mobile/lib/components/ApplicationForm/useForm.d.ts +0 -14
  1386. package/mobile/lib/components/ApplicationForm/useForm.js +0 -34
  1387. package/mobile/lib/components/ApplicationForm/useForm.js.map +0 -1
  1388. package/mobile/lib/components/ApplicationForm/validate.d.ts +0 -1
  1389. package/mobile/lib/components/ApplicationForm/validate.js +0 -19
  1390. package/mobile/lib/components/ApplicationForm/validate.js.map +0 -1
  1391. package/mobile/lib/ui-kit/InputListRange/InputListRange.d.ts +0 -2
  1392. package/mobile/lib/ui-kit/InputListRange/InputListRange.js +0 -39
  1393. package/mobile/lib/ui-kit/InputListRange/InputListRange.js.map +0 -1
  1394. package/mobile/lib/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
  1395. package/mobile/lib/ui-kit/InputListRange/InputListRangeProps.js +0 -2
  1396. package/mobile/lib/ui-kit/InputListRange/InputListRangeProps.js.map +0 -1
  1397. package/mobile/src/components/ApplicationForm/renderInputRange.tsx +0 -20
  1398. package/mobile/src/components/ApplicationForm/useForm.ts +0 -65
  1399. package/mobile/src/components/ApplicationForm/validate.ts +0 -22
  1400. package/mobile/src/ui-kit/InputListRange/InputListRange.tsx +0 -99
  1401. package/mobile/src/ui-kit/InputListRange/InputListRangeProps.ts +0 -11
  1402. package/src/components/ApplicationForm/renderInputRange.tsx +0 -20
  1403. package/src/components/ApplicationForm/useForm.ts +0 -65
  1404. package/src/components/ApplicationForm/validate.ts +0 -22
  1405. package/src/components/TextBlock/TextBlock.mobile.tsx +0 -42
  1406. package/src/ui-kit/InputListRange/InputListRange.tsx +0 -99
  1407. package/src/ui-kit/InputListRange/InputListRangeProps.ts +0 -11
@@ -0,0 +1,35 @@
1
+ import { ListOrientation } from '../../model/ListOrientation';
2
+ import { RadioButtonGroup, RadioButtonItem } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup';
3
+ import { Text } from '../../ui-kit/Text/Text';
4
+
5
+ export interface BinaryRadioButtonGroupProps {
6
+ items: [truthy: RadioButtonItem, falsy: RadioButtonItem];
7
+ title?: string;
8
+ orientation?: ListOrientation;
9
+ value?: boolean;
10
+ onChange?: (value: boolean) => void;
11
+ }
12
+
13
+ export const renderBinaryRadioButtonGroup = ({
14
+ items,
15
+ title,
16
+ orientation = 'horizontal',
17
+ value,
18
+ onChange,
19
+ }: BinaryRadioButtonGroupProps) => (
20
+ <div>
21
+ {title ? (
22
+ <div className="mb-3">
23
+ <Text color="text-secondary-text" font="font-light">
24
+ {title}
25
+ </Text>
26
+ </div>
27
+ ) : null}
28
+ <RadioButtonGroup
29
+ orientation={orientation}
30
+ items={items}
31
+ checkedItem={items[value ? 0 : 1].id}
32
+ onChange={(_) => onChange && onChange(_ === items[0].id)}
33
+ />
34
+ </div>
35
+ );
@@ -1,36 +1,15 @@
1
1
  import { InputRange } from '../../ui-kit/InputRange/InputRange';
2
- import { clamp } from '../../utils/clamp';
2
+ import type { InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
3
3
 
4
4
  const STEP_DAYS = 1;
5
5
 
6
- interface RenderDaysInputParams {
7
- minDays: number;
8
- maxDays: number;
9
- daysValue: number;
10
- }
6
+ export const renderDaysInput = (props: InputRangeProps) => (
7
+ <InputRange
8
+ className="mt-7"
9
+ items={[`От ${daysText(props.min || 0)}`, `До ${daysText(props.max || 0)}`]}
10
+ step={STEP_DAYS}
11
+ {...props}
12
+ />
13
+ );
11
14
 
12
- export function renderDaysInput(
13
- title: string,
14
- params: RenderDaysInputParams,
15
- callback?: (value: number) => void,
16
- ) {
17
- const { minDays, maxDays, daysValue } = params;
18
- const daysText = (days: number) => {
19
- const text = Number(days) % 10 === 1 ? 'дня' : 'дней';
20
-
21
- return `${days} ${text}`;
22
- };
23
-
24
- return (
25
- <InputRange
26
- className="mt-7"
27
- title={title}
28
- items={[`От ${daysText(minDays)}`, `До ${daysText(maxDays)}`]}
29
- min={minDays}
30
- max={maxDays}
31
- step={STEP_DAYS}
32
- value={clamp(daysValue, minDays, maxDays)}
33
- onChange={callback}
34
- />
35
- );
36
- }
15
+ const daysText = (days: number) => `${days} ${Number(days) % 10 === 1 ? 'дня' : 'дней'}`;
@@ -1,52 +1,13 @@
1
- import { ListOrientation } from '../../model/ListOrientation';
2
- import { RadioButtonGroup } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup';
3
- import { Text } from '../../ui-kit/Text/Text';
4
-
5
- const EVERY_MONTH = 'everyMonth';
6
- const AT_END_TERM = 'atEndTerm';
7
-
8
- const depositTypeItems = [
9
- {
10
- id: EVERY_MONTH,
11
- text: 'Ежемесячно',
12
- },
13
- {
14
- id: AT_END_TERM,
15
- text: 'В конце срока',
16
- },
17
- ];
18
-
19
- interface InterestPaymentProps {
20
- isMonthlyInterestPayment: boolean;
21
- callback?: (value: boolean) => void;
22
- title?: string;
23
- orientation?: ListOrientation;
24
- }
25
-
26
- export function renderInterestPayment({
27
- isMonthlyInterestPayment,
28
- callback,
29
- title,
30
- orientation = 'horizontal',
31
- }: InterestPaymentProps) {
32
- return (
33
- <div>
34
- {title ? (
35
- <div className="mb-3">
36
- <Text color="text-secondary-text" font="font-light">
37
- {title}
38
- </Text>
39
- </div>
40
- ) : null}
41
-
42
- <div>
43
- <RadioButtonGroup
44
- orientation={orientation}
45
- items={depositTypeItems}
46
- checkedItem={isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM}
47
- onChange={(text: string) => callback && callback(text === EVERY_MONTH)}
48
- />
49
- </div>
50
- </div>
51
- );
52
- }
1
+ import {
2
+ BinaryRadioButtonGroupProps,
3
+ renderBinaryRadioButtonGroup,
4
+ } from './renderBinaryRadioButtonGroup';
5
+
6
+ export const renderInterestPayment = (props: Partial<BinaryRadioButtonGroupProps>) =>
7
+ renderBinaryRadioButtonGroup({
8
+ ...props,
9
+ items: [
10
+ { id: 'everyMonth', text: 'Ежемесячно' },
11
+ { id: 'atEndTerm', text: 'В конце срока' },
12
+ ],
13
+ });
@@ -1,47 +1,25 @@
1
- import { InputListRange } from '../../ui-kit/InputListRange/InputListRange';
2
1
  import { InputRange } from '../../ui-kit/InputRange/InputRange';
3
- import { clamp } from '../../utils/clamp';
2
+ import type { InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
4
3
 
5
4
  const STEP_MONTHS = 1;
6
5
 
7
- interface RenderMonthsInputParams {
8
- minMonths: number;
9
- maxMonths: number;
10
- monthsValue: number;
6
+ interface MonthsInputParams extends InputRangeProps {
11
7
  availableMonths?: Array<number>;
12
8
  }
13
9
 
14
- export function renderMonthsInput(
15
- title: string,
16
- params: RenderMonthsInputParams,
17
- callback?: (value: number) => void,
18
- ) {
19
- const { minMonths, maxMonths, monthsValue, availableMonths } = params;
20
- const monthText = (month: number) => {
21
- const text = Number(month) % 10 === 1 ? 'месяца' : 'месяцев';
10
+ export const renderMonthsInput = ({
11
+ min = 0,
12
+ max = 0,
13
+ availableMonths,
14
+ ...rest
15
+ }: MonthsInputParams) => (
16
+ <InputRange
17
+ className="mt-7"
18
+ items={[`От ${monthText(min)}`, `До ${monthText(max)}`]}
19
+ step={STEP_MONTHS}
20
+ {...(availableMonths?.length ? { list: availableMonths } : { min, max })}
21
+ {...rest}
22
+ />
23
+ );
22
24
 
23
- return `${month} ${text}`;
24
- };
25
-
26
- return availableMonths?.length ? (
27
- <InputListRange
28
- className="mt-7"
29
- title={title}
30
- items={[`От ${monthText(minMonths)}`, `До ${monthText(maxMonths)}`]}
31
- list={availableMonths}
32
- value={clamp(monthsValue, minMonths, maxMonths)}
33
- onChange={callback}
34
- />
35
- ) : (
36
- <InputRange
37
- className="mt-7"
38
- title={title}
39
- items={[`От ${monthText(minMonths)}`, `До ${monthText(maxMonths)}`]}
40
- min={minMonths}
41
- max={maxMonths}
42
- step={STEP_MONTHS}
43
- value={clamp(monthsValue, minMonths, maxMonths)}
44
- onChange={callback}
45
- />
46
- );
47
- }
25
+ const monthText = (month: number) => `${month} ${Number(month) % 10 === 1 ? 'месяца' : 'месяцев'}`;
@@ -1,49 +1,13 @@
1
- import { ListOrientation } from '../../model/ListOrientation';
2
- import { RadioButtonGroup } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup';
3
- import { Text } from '../../ui-kit/Text/Text';
4
-
5
- export const ANNUITY = 'annuity';
6
- export const DIFFERENTIAL = 'differential';
7
-
8
- const paymentTypeItems = [
9
- {
10
- id: ANNUITY,
11
- text: 'Аннуитетный',
12
- },
13
- {
14
- id: DIFFERENTIAL,
15
- text: 'Дифференцированный',
16
- },
17
- ];
18
-
19
- interface PaymentTypeProps {
20
- isAnnuity: boolean;
21
- callback?: (value: boolean) => void;
22
- title?: string;
23
- orientation?: ListOrientation;
24
- }
25
-
26
- export function renderPaymentType({
27
- isAnnuity,
28
- callback,
29
- title,
30
- orientation = 'horizontal',
31
- }: PaymentTypeProps) {
32
- return (
33
- <div>
34
- {title ? (
35
- <div className="mb-3">
36
- <Text color="text-secondary-text" font="font-light">
37
- {title}
38
- </Text>
39
- </div>
40
- ) : null}
41
- <RadioButtonGroup
42
- orientation={orientation}
43
- items={paymentTypeItems}
44
- checkedItem={isAnnuity ? ANNUITY : DIFFERENTIAL}
45
- onChange={(text: string) => callback && callback(text === ANNUITY)}
46
- />
47
- </div>
48
- );
49
- }
1
+ import {
2
+ BinaryRadioButtonGroupProps,
3
+ renderBinaryRadioButtonGroup,
4
+ } from './renderBinaryRadioButtonGroup';
5
+
6
+ export const renderPaymentType = (props: Partial<BinaryRadioButtonGroupProps>) =>
7
+ renderBinaryRadioButtonGroup({
8
+ ...props,
9
+ items: [
10
+ { id: 'annuity', text: 'Аннуитетный' },
11
+ { id: 'differential', text: 'Дифференцированный' },
12
+ ],
13
+ });
@@ -1,51 +1,13 @@
1
- import { ListOrientation } from '../../model/ListOrientation';
2
- import { RadioButtonGroup } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup';
3
- import { Text } from '../../ui-kit/Text/Text';
4
-
5
- const REMOTE_REGISTRATION = 'remote';
6
- const OFFICE_REGISTRATION = 'office';
7
-
8
- const registrationTypeItems = [
9
- {
10
- id: OFFICE_REGISTRATION,
11
- text: 'Офис Банка',
12
- },
13
- {
14
- id: REMOTE_REGISTRATION,
15
- text: 'Дистанционно',
16
- },
17
- ];
18
-
19
- interface RegistrationTypeProps {
20
- isRemoteRegistration: boolean;
21
- callback?: (value: boolean) => void;
22
- title?: string;
23
- orientation?: ListOrientation;
24
- }
25
-
26
- export function renderRegistrationType({
27
- isRemoteRegistration,
28
- callback,
29
- title,
30
- orientation = 'horizontal',
31
- }: RegistrationTypeProps) {
32
- return (
33
- <div>
34
- {title ? (
35
- <div className="mb-3">
36
- <Text color="text-secondary-text" font="font-light">
37
- {title}
38
- </Text>
39
- </div>
40
- ) : null}
41
- <div>
42
- <RadioButtonGroup
43
- orientation={orientation}
44
- items={registrationTypeItems}
45
- checkedItem={isRemoteRegistration ? REMOTE_REGISTRATION : OFFICE_REGISTRATION}
46
- onChange={(text: string) => callback && callback(text === REMOTE_REGISTRATION)}
47
- />
48
- </div>
49
- </div>
50
- );
51
- }
1
+ import {
2
+ BinaryRadioButtonGroupProps,
3
+ renderBinaryRadioButtonGroup,
4
+ } from './renderBinaryRadioButtonGroup';
5
+
6
+ export const renderRegistrationType = (props: Partial<BinaryRadioButtonGroupProps>) =>
7
+ renderBinaryRadioButtonGroup({
8
+ ...props,
9
+ items: [
10
+ { id: 'remote', text: 'Дистанционно' },
11
+ { id: 'office', text: 'Офис Банка' },
12
+ ],
13
+ });
@@ -1,39 +1,22 @@
1
1
  import { InputRange } from '../../ui-kit/InputRange/InputRange';
2
+ import type { InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
2
3
  import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers';
3
- import { clamp } from '../../utils/clamp';
4
4
 
5
5
  const DEFAULT_MONEY_STEP = 1000;
6
6
 
7
- interface RenderWantedSumParams {
8
- minSum: number;
9
- maxSum: number;
10
- moneyValue: number;
11
- className?: string;
12
- step?: number;
7
+ interface RenderWantedSumParams extends InputRangeProps {
13
8
  isShowItems?: boolean;
14
9
  }
15
10
 
16
- export function renderWantedSumInput(
17
- title: string,
18
- params: RenderWantedSumParams,
19
- callback?: (value: number) => void,
20
- ) {
21
- const { moneyValue, minSum, maxSum, step = DEFAULT_MONEY_STEP, isShowItems = true } = params;
22
-
11
+ export function renderWantedSumInput({
12
+ isShowItems = true,
13
+ step = DEFAULT_MONEY_STEP,
14
+ ...rest
15
+ }: RenderWantedSumParams) {
23
16
  const items = [
24
- `От ${addSpacesBetweenNumbers(minSum)} ₽`,
25
- `До ${addSpacesBetweenNumbers(maxSum)} ₽`,
17
+ `От ${addSpacesBetweenNumbers(rest.min || 0)} ₽`,
18
+ `До ${addSpacesBetweenNumbers(rest.max || 0)} ₽`,
26
19
  ];
27
20
 
28
- return (
29
- <InputRange
30
- title={title}
31
- items={isShowItems ? items : []}
32
- min={minSum}
33
- max={maxSum}
34
- step={step}
35
- value={clamp(moneyValue, minSum, maxSum)}
36
- onChange={callback}
37
- />
38
- );
21
+ return <InputRange items={isShowItems ? items : []} step={step} {...rest} />;
39
22
  }
@@ -45,7 +45,7 @@ export const useDepositCalculatorParams = (
45
45
  const data = useCalculatorParams<DepositCalculatorData>(
46
46
  sourceBookDir || DEPOSIT_CALC_DEFAULT_DIR,
47
47
  );
48
- const defaultMonth = data?.rateRows[0]
48
+ const defaultMonth = data?.rateRows?.[0]
49
49
  ? getMiddleMonth(data.rateRows[0].minMonths, data.rateRows[0].maxMonths)
50
50
  : 1;
51
51
  const isExcludeMonthlyInterestPayment = !paramsViewSettings?.isShowMonthlyInterestPayment;
@@ -37,7 +37,7 @@ export const CardTransfer = JSX<CardTransferProps>(
37
37
  const link = useLink();
38
38
 
39
39
  return (
40
- <BlockWrapper className={`p-12 flex flex-col items-center ${className}`} {...rest}>
40
+ <BlockWrapper className={`p-default flex flex-col items-center ${className}`} {...rest}>
41
41
  {title ? <Heading className="max-w-[684px] pb-9" headingType="h2" title={title} /> : null}
42
42
  <form className="w-[468px]" method="POST" action={FORM_URL}>
43
43
  <CurrencyInput
@@ -10,14 +10,13 @@ import { useSwipeListScroll } from '../../ui-kit/SwipeListControl/useSwipeListSc
10
10
  import { style } from '../../utils/style';
11
11
  import type { CarouselContent } from './CarouselContent';
12
12
  import { CarouselScrollButtons } from './CarouselScrollButtons';
13
+ import { ITEMS_GAP } from './itemsGap';
13
14
 
14
15
  export interface CarouselProps extends CarouselContent, UniBlockProps {
15
16
  itemCount?: number;
16
17
  showDots?: boolean;
17
18
  }
18
19
 
19
- const ITEMS_GAP = 4;
20
-
21
20
  export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
22
21
  ({
23
22
  className = '',
@@ -83,7 +82,7 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
83
82
  activeIndex={activeIndex}
84
83
  itemCount={count}
85
84
  />
86
- {showDots ? renderDots(containerRef, dotsActiveIndex, itemCount) : null}
85
+ {showDots ? renderDots(containerRef, dotsActiveIndex, count) : null}
87
86
  </div>
88
87
  </BlockWrapper>
89
88
  );
@@ -104,7 +103,7 @@ Carousel.childrenTypes = [
104
103
  'CarouselEventCard',
105
104
  ];
106
105
 
107
- const getPaddingStyle = (isPadding: boolean): string => (isPadding ? 'p-12' : '');
106
+ const getPaddingStyle = (isPadding: boolean): string => (isPadding ? 'p-default' : '');
108
107
 
109
108
  const getAlignStyle = (isAlignCenter: boolean): string =>
110
109
  isAlignCenter ? 'flex justify-center' : '';
@@ -73,9 +73,13 @@ export const CarouselScrollButtons = JSX<CarouselScrollButtonsProps>(
73
73
  );
74
74
 
75
75
  const renderBlur = (isBlur: boolean, scroll: SwipeListScroll) =>
76
- (scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? (
76
+ isBlur ? (
77
77
  <div>
78
- <div className={style(blurBaseStyle, 'left-0 bg-opacity-from-white')} />
79
- <div className={style(blurBaseStyle, 'right-0 bg-opacity-to-white')} />
78
+ {scroll.canScrollLeft ? (
79
+ <div className={style(blurBaseStyle, 'left-0 bg-opacity-from-white')} />
80
+ ) : null}
81
+ {scroll.canScrollRight ? (
82
+ <div className={style(blurBaseStyle, 'right-0 bg-opacity-to-white')} />
83
+ ) : null}
80
84
  </div>
81
85
  ) : null;
@@ -0,0 +1 @@
1
+ export const ITEMS_GAP = 16;
@@ -26,6 +26,7 @@
26
26
  { "text": "Элемент списка 2", "title": "Элемент заголовка 2" },
27
27
  { "text": "Элемент списка 3", "title": "Элемент заголовка 3" }
28
28
  ],
29
- "align": "text-center"
29
+ "align": "text-center",
30
+ "isFullWidth": true
30
31
  }
31
32
  }
@@ -52,8 +52,8 @@ export const CarouselProductCard = JSX<CarouselProductCardProps>(
52
52
  {renderAdditionalDescription(additionalDescription)}
53
53
  </LinkWrapper>
54
54
  {renderButtonsSection([button], {
55
- className: style('p-6 pt-0', isFullWidth ? '' : 'justify-center'),
56
- isVertical: isFullWidth ? true : false,
55
+ className: style('p-6 pt-0', isFullWidth ? '' : 'self-center min-w-[158px]'),
56
+ isVertical: isFullWidth,
57
57
  })}
58
58
  </BlockWrapper>
59
59
  );
@@ -9,7 +9,7 @@ export interface CarouselRichTextCardProps extends CarouselRichTextCardContent,
9
9
 
10
10
  export const CarouselRichTextCard = JSX<CarouselRichTextCardProps>(
11
11
  ({ className = '', __html, richVersion = 'striped', ...rest }) => (
12
- <BlockWrapper className={style('p-9 border border-gray min-w-96', className)} {...rest}>
12
+ <BlockWrapper className={style('p-9 border border-gray h-full min-w-96', className)} {...rest}>
13
13
  <RichText __html={__html} richVersion={richVersion} />
14
14
  </BlockWrapper>
15
15
  ),
@@ -4,7 +4,6 @@ import type { Picture } from '../../model/Picture';
4
4
  import type { VNode } from '../../model/VNode';
5
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
6
  import { Button } from '../../ui-kit/Button/Button';
7
- import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
8
7
  import { Foldable } from '../../ui-kit/Foldable/Foldable';
9
8
  import type { FoldablePartProps } from '../../ui-kit/Foldable/FoldablePartProps';
10
9
  import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
@@ -13,17 +12,16 @@ import { Icon } from '../../ui-kit/Icon/Icon';
13
12
  import { Img } from '../../ui-kit/Img/Img';
14
13
  import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
15
14
  import { style } from '../../utils/style';
16
- import type {
17
- CarouselTariffsCardContent,
18
- TariffsCardCellProps,
19
- } from './CarouselTariffsCardContent';
15
+ import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
16
+ import { getPaddingStyle } from './getPaddingStyle';
17
+ import { renderCardInfo } from './renderCardInfo';
20
18
 
21
19
  export interface CarouselTariffsCardProps extends CarouselTariffsCardContent, UniBlockProps {}
22
20
 
23
21
  const VISIBLE_CELLS_COUNT = 1;
24
22
 
25
23
  export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
26
- ({ className = '', title, icon, isHighlighting, button, cardCells = [], ...rest }) => {
24
+ ({ className = '', title, icon, isHighlighting = false, button, cardCells = [], ...rest }) => {
27
25
  const cellsNode = cardCells.map(renderCardInfo);
28
26
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
29
27
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
@@ -31,8 +29,8 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
31
29
  return (
32
30
  <BlockWrapper
33
31
  className={style(
34
- 'relative border border-gray p-8 flex flex-col',
35
- getHitStyle(isHighlighting),
32
+ 'relative border border-gray flex flex-col',
33
+ getPaddingStyle(isHighlighting),
36
34
  className,
37
35
  )}
38
36
  {...rest}
@@ -59,14 +57,10 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
59
57
 
60
58
  const renderIconBlock = (icon?: Picture) => (
61
59
  <div className="w-[267px] min-w-[267px] self-center">
62
- {icon?.src ? <Img image={icon} /> : null}
63
- {icon?.icon ? <Img image={icon} /> : null}
60
+ {icon?.src || icon?.icon ? <Img image={icon} /> : null}
64
61
  </div>
65
62
  );
66
63
 
67
- const getHitStyle = (isHighlighting?: boolean): string =>
68
- isHighlighting ? 'mt-8 pt-20' : 'mt-20 pt-8';
69
-
70
64
  const renderFoldButton = ({ isUnfolded, onToggle }: FoldablePartProps): VNode => (
71
65
  <button
72
66
  className="w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center"
@@ -82,24 +76,6 @@ const renderFoldButton = ({ isUnfolded, onToggle }: FoldablePartProps): VNode =>
82
76
  </button>
83
77
  );
84
78
 
85
- const renderCardInfo = (cell: TariffsCardCellProps, i: number): VNode => {
86
- const { title, description, buttons } = cell;
87
-
88
- return (
89
- <div key={String(i)} className="py-5 border-b border-main-divider">
90
- {title ? (
91
- <div className="text-secondary-text text-m-light opacity-80">{cell.title}</div>
92
- ) : null}
93
- {description ? (
94
- <div className="text-primary-text text-h6 mt-1">{cell.description}</div>
95
- ) : null}
96
- {buttons?.length ? (
97
- <div className="text-primary-main">{renderButtonsSection(buttons)}</div>
98
- ) : null}
99
- </div>
100
- );
101
- };
102
-
103
79
  const renderHitIcon = (): VNode => (
104
80
  <div className="absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]">
105
81
  <Icon iconVersion="black" name="HeartIcon" width="23" height="22" />
@@ -0,0 +1 @@
1
+ export const descriptionSize = 'text-l';
@@ -0,0 +1,2 @@
1
+ export const getPaddingStyle = (isHighlighting?: boolean): string =>
2
+ isHighlighting ? 'p-default mt-6' : 'p-default mt-6';
@@ -0,0 +1,31 @@
1
+ import { VNode } from '../../model/VNode';
2
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
3
+ import { Text } from '../../ui-kit/Text/Text';
4
+ import { TariffsCardCellProps } from './CarouselTariffsCardContent';
5
+ import { descriptionSize } from './descriptionSize';
6
+
7
+ export const renderCardInfo = (cell: TariffsCardCellProps, i: number): VNode => {
8
+ const { title, description, buttons } = cell;
9
+
10
+ return (
11
+ <div key={String(i)} className="py-5 border-b border-main-divider">
12
+ {title ? (
13
+ <div className="opacity-80">
14
+ <Text size="text-m" color="text-secondary-text">
15
+ {title}
16
+ </Text>
17
+ </div>
18
+ ) : null}
19
+ {description ? (
20
+ <div className="mt-1">
21
+ <Text size={descriptionSize} color="text-primary-text">
22
+ {description}
23
+ </Text>
24
+ </div>
25
+ ) : null}
26
+ {buttons?.length ? (
27
+ <div className="text-primary-main">{renderButtonsSection(buttons)}</div>
28
+ ) : null}
29
+ </div>
30
+ );
31
+ };
@@ -17,7 +17,7 @@ interface RenderContactsColumnProps {
17
17
 
18
18
  export const ContactsBlock = JSX<ContactsBlockProps>(
19
19
  ({ className = '', contacts, info, version = 'secondary', ...rest }) => (
20
- <BlockWrapper className={`flex p-12 ${className}`} version={version} {...rest}>
20
+ <BlockWrapper className={`flex p-default ${className}`} version={version} {...rest}>
21
21
  {info?.length ? renderBlocks(info) : null}
22
22
  {contacts?.length ? renderBlocks(contacts) : null}
23
23
  </BlockWrapper>
@@ -1,5 +1,5 @@
1
1
  import { Input } from '../../ui-kit/Input/Input';
2
- import type { OptionProps } from '../../ui-kit/Select/Select';
2
+ import type { Option } from '../../ui-kit/Select/Select';
3
3
  import { Select } from '../../ui-kit/Select/Select';
4
4
  import type { Currency } from './CurrencyProps';
5
5
  import type { ExchangeCurrencyItem } from './ExchangeCurrencyCalculator';
@@ -15,11 +15,11 @@ interface InputProps {
15
15
 
16
16
  export function renderInput(props: InputProps) {
17
17
  const { placeholder, rates, selected, value, setValue, setSelected } = props;
18
- const ratesOptions: OptionProps[] = rates.map((_) => ({
18
+ const ratesOptions: Option[] = rates.map((_) => ({
19
19
  key: _?.currency?.currency ?? '',
20
20
  text: _?.currency?.currency ?? '',
21
21
  }));
22
- const selectedValue: OptionProps = { key: selected, text: selected };
22
+ const selectedValue: Option = { key: selected, text: selected };
23
23
 
24
24
  return (
25
25
  <div className="relative flex">