@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,11 @@
1
+ import type { Option } from '../../ui-kit/Select/Select';
2
+ export interface AcquiringFormState {
3
+ acquiringType?: Option;
4
+ region?: Option;
5
+ fullName: string;
6
+ inn: string;
7
+ name: string;
8
+ phone: string;
9
+ onlineCheckout: boolean;
10
+ posTerminal: boolean;
11
+ }
@@ -1,12 +1,2 @@
1
1
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
- export interface AcquiringFormState {
3
- acquiringType: string;
4
- region: string;
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- onlineСheckout: boolean;
10
- posTerminal: boolean;
11
- }
12
- export declare const ApplicationFormAcquiring: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
2
+ export declare const ApplicationFormAcquiring: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,9 +1,2 @@
1
1
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
- export interface BusinessCardFormState {
3
- region: string;
4
- name: string;
5
- phone: string;
6
- inn: string;
7
- mail: string;
8
- }
9
- export declare const ApplicationFormBusinessCard: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
2
+ export declare const ApplicationFormBusinessCard: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,14 +1,2 @@
1
1
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
- export interface CreditFormState {
3
- amount: number;
4
- term: number;
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- mail: string;
10
- region: string;
11
- department: string;
12
- annualRevenue: string;
13
- }
14
- export declare const ApplicationFormCredit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
2
+ export declare const ApplicationFormCredit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,6 +1,2 @@
1
1
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
- export interface DepositFormState {
3
- name: string;
4
- phone: string;
5
- }
6
- export declare const ApplicationFormDeposit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
2
+ export declare const ApplicationFormDeposit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,12 +1,2 @@
1
1
  import type { ApplicationFormsProps } from './ApplicationFormsProps';
2
- export interface WedFormState {
3
- fullName: string;
4
- name: string;
5
- phone: string;
6
- mail: string;
7
- currencyControl: boolean;
8
- documentaryOperations: boolean;
9
- conversionOperations: boolean;
10
- text: string;
11
- }
12
- export declare const ApplicationFormWed: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
2
+ export declare const ApplicationFormWed: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps<Record<string, any>>, any, any>;
@@ -1,7 +1,7 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
2
  import type { SubmitButtonProps } from './ApplicationFormContent';
3
- export interface ApplicationFormsProps {
3
+ export interface ApplicationFormsProps<S extends Record<string, any> = Record<string, any>> {
4
4
  button?: SubmitButtonProps;
5
5
  link?: LinkProps;
6
- handleSubmit: (data: Record<string, string>) => Promise<string>;
6
+ onSubmit: (data: S) => void;
7
7
  }
@@ -0,0 +1,8 @@
1
+ import type { Option } from '../../ui-kit/Select/Select';
2
+ export interface BusinessCardFormState {
3
+ region?: Option;
4
+ name: string;
5
+ phone: string;
6
+ inn: string;
7
+ mail: string;
8
+ }
@@ -0,0 +1,13 @@
1
+ import type { Option } from '../../ui-kit/Select/Select';
2
+ export interface CreditFormState {
3
+ amount: number;
4
+ term: number;
5
+ fullName: string;
6
+ inn: string;
7
+ name: string;
8
+ phone: string;
9
+ mail: string;
10
+ region?: Option;
11
+ department?: Option;
12
+ annualRevenue: string;
13
+ }
@@ -1,6 +1,6 @@
1
- export declare const MIN_CREDIT_AMOUNT = 50000;
2
- export declare const MAX_CREDIT_AMOUNT = 3000000;
1
+ export declare const MIN_CREDIT_AMOUNT = 1000;
2
+ export declare const MAX_CREDIT_AMOUNT = 1000000000;
3
3
  export declare const ITEMS_CREDIT_AMOUNT: string[];
4
4
  export declare const MIN_CREDIT_TERM = 1;
5
- export declare const MAX_CREDIT_TERM = 60;
5
+ export declare const MAX_CREDIT_TERM = 180;
6
6
  export declare const ITEMS_CREDIT_TERM: string[];
@@ -0,0 +1,4 @@
1
+ export interface DepositFormState {
2
+ name: string;
3
+ phone: string;
4
+ }
@@ -1,10 +1,9 @@
1
- interface InputControlProps {
1
+ export interface InputControlProps {
2
2
  className: string;
3
3
  label: string;
4
- value: string;
4
+ value?: string;
5
5
  error?: string;
6
- onChange: (value: string) => void;
7
- onBlur?: (value: string) => void;
6
+ onChange?: (value: string) => void;
7
+ onBlur?: () => void;
8
8
  }
9
9
  export declare const InputControl: import("@redneckz/uni-jsx").UNIComponent<InputControlProps, any, any>;
10
- export {};
@@ -0,0 +1,2 @@
1
+ import type { InputControlProps } from './InputControl';
2
+ export declare const PhoneInputControl: import("@redneckz/uni-jsx").UNIComponent<InputControlProps, any, any>;
@@ -1,5 +1,5 @@
1
1
  interface ResponseNotificationProps {
2
- responceType?: 'OK' | 'Fail';
2
+ responseType?: 'OK' | 'Fail';
3
3
  }
4
4
  export declare const ResponseNotification: import("@redneckz/uni-jsx").UNIComponent<ResponseNotificationProps, any, any>;
5
5
  export {};
@@ -1,13 +1,6 @@
1
- interface SelectControlProps {
2
- data: Record<string, any>[];
3
- fieldLabel: string;
4
- fieldValue?: string;
5
- selected: string;
6
- setSelected: (value: string) => void;
7
- label: string;
8
- placeholder?: string;
1
+ import { SelectProps } from '../../ui-kit/Select/Select';
2
+ interface SelectControlProps extends SelectProps {
9
3
  error?: string;
10
- onValidate?: (value: string) => void;
11
4
  }
12
5
  export declare const SelectControl: import("@redneckz/uni-jsx").UNIComponent<SelectControlProps, any, any>;
13
6
  export {};
@@ -0,0 +1,10 @@
1
+ export interface WedFormState {
2
+ fullName: string;
3
+ name: string;
4
+ phone: string;
5
+ mail: string;
6
+ currencyControl: boolean;
7
+ documentaryOperations: boolean;
8
+ conversionOperations: boolean;
9
+ text: string;
10
+ }
@@ -3,9 +3,3 @@ export interface Select {
3
3
  code?: string;
4
4
  name?: string;
5
5
  }
6
- export declare type HandleFormStateChange<T> = (state: Partial<T>) => void;
7
- export interface DataOrganization<T> {
8
- handleChange: HandleFormStateChange<T>;
9
- errors: Record<string, string>;
10
- handleChangeErrors: (state: any) => void;
11
- }
@@ -1,11 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { AcquiringFormState } from './ApplicationFormAcquiring';
3
- import type { DataOrganization } from './models';
4
- interface RenderAcquiringDataOrganizationProps extends DataOrganization<AcquiringFormState> {
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- }
10
- export declare const renderAcquiringDataOrganization: ({ fullName, inn, name, phone, handleChange, errors, handleChangeErrors, }: RenderAcquiringDataOrganizationProps) => JSX.Element;
11
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import { AcquiringFormState } from './AcquiringFormState';
4
+ export declare const renderAcquiringDataOrganization: (field: FormFieldRegisterer<AcquiringFormState>) => JSX.Element;
@@ -1,13 +1,10 @@
1
1
  /// <reference types="react" />
2
- import type { AcquiringFormState } from './ApplicationFormAcquiring';
3
- import type { HandleFormStateChange, Select } from './models';
4
- interface RenderAcquiringRegionProps {
5
- acquiringType: string;
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { AcquiringFormState } from './AcquiringFormState';
4
+ import type { Select } from './models';
5
+ interface AcquiringRegionProps {
6
6
  regions: Select[];
7
- region: string;
8
- handleChange: HandleFormStateChange<AcquiringFormState>;
9
- errors: Record<string, string>;
10
- handleChangeErrors: (state: any) => void;
7
+ field: FormFieldRegisterer<AcquiringFormState>;
11
8
  }
12
- export declare const renderAcquiringRegion: ({ acquiringType, regions, region, handleChange, errors, handleChangeErrors, }: RenderAcquiringRegionProps) => JSX.Element;
9
+ export declare const renderAcquiringRegion: ({ regions, field }: AcquiringRegionProps) => JSX.Element;
13
10
  export {};
@@ -1,11 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { BusinessCardFormState } from './ApplicationFormBusinessCard';
3
- import type { DataOrganization } from './models';
4
- interface RenderBusinessCardDataOrganizationProps extends DataOrganization<BusinessCardFormState> {
5
- name: string;
6
- phone: string;
7
- mail: string;
8
- inn: string;
9
- }
10
- export declare const renderBusinessCardDataOrganization: ({ name, phone, mail, inn, handleChange, errors, handleChangeErrors, }: RenderBusinessCardDataOrganizationProps) => JSX.Element;
11
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { BusinessCardFormState } from './BusinessCardFormState';
4
+ export declare const renderBusinessCardDataOrganization: (field: FormFieldRegisterer<BusinessCardFormState>) => JSX.Element;
@@ -1,13 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { CreditFormState } from './ApplicationFormCredit';
3
- import type { DataOrganization } from './models';
4
- interface RenderCreditDataOrganizationProps extends DataOrganization<CreditFormState> {
5
- fullName: string;
6
- inn: string;
7
- name: string;
8
- phone: string;
9
- mail: string;
10
- annualRevenue: string;
11
- }
12
- export declare const renderCreditDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, errors, handleChangeErrors, }: RenderCreditDataOrganizationProps) => JSX.Element;
13
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { CreditFormState } from './CreditFormState';
4
+ export declare const renderCreditDataOrganization: (field: FormFieldRegisterer<CreditFormState>) => JSX.Element;
@@ -1,10 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { CreditFormState } from './ApplicationFormCredit';
3
- import type { HandleFormStateChange } from './models';
4
- interface RenderCreditParametersProps {
5
- amount: number;
6
- term: number;
7
- handleChange: HandleFormStateChange<CreditFormState>;
8
- }
9
- export declare const renderCreditParameters: ({ amount, term, handleChange, }: RenderCreditParametersProps) => JSX.Element;
10
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { CreditFormState } from './CreditFormState';
4
+ export declare const renderCreditParameters: (field: FormFieldRegisterer<CreditFormState>) => JSX.Element;
@@ -1,12 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { WedFormState } from './ApplicationFormWed';
3
- import type { HandleFormStateChange } from './models';
4
- interface RenderQuestionsInterestedProps {
5
- currencyControl: boolean;
6
- documentaryOperations: boolean;
7
- conversionOperations: boolean;
8
- text: string;
9
- handleChange: HandleFormStateChange<WedFormState>;
10
- }
11
- export declare const renderQuestionsInterested: ({ currencyControl, documentaryOperations, conversionOperations, text, handleChange, }: RenderQuestionsInterestedProps) => JSX.Element;
12
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { WedFormState } from './WedFormState';
4
+ export declare const renderQuestionsInterested: (field: FormFieldRegisterer<WedFormState>) => JSX.Element;
@@ -1,12 +1,10 @@
1
1
  /// <reference types="react" />
2
- import { BusinessCardFormState } from './ApplicationFormBusinessCard';
3
- import { HandleFormStateChange, Select } from './models';
4
- interface RenderRegionProps {
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import { BusinessCardFormState } from './BusinessCardFormState';
4
+ import { Select } from './models';
5
+ interface RegionProps {
5
6
  regions: Select[];
6
- region: string;
7
- handleChange: HandleFormStateChange<BusinessCardFormState>;
8
- errors: Record<string, string>;
9
- handleChangeErrors: (state: any) => void;
7
+ field: FormFieldRegisterer<BusinessCardFormState>;
10
8
  }
11
- export declare const renderRegion: ({ regions, region, handleChange, errors, handleChangeErrors, }: RenderRegionProps) => JSX.Element;
9
+ export declare const renderRegion: ({ regions, field }: RegionProps) => JSX.Element;
12
10
  export {};
@@ -1,15 +1,12 @@
1
1
  /// <reference types="react" />
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
2
3
  import type { Branch } from '../SafeDepositRental/useSafeBoxes';
3
- import type { CreditFormState } from './ApplicationFormCredit';
4
- import type { HandleFormStateChange, Select } from './models';
5
- interface RenderRegionDepartmentProps {
4
+ import type { CreditFormState } from './CreditFormState';
5
+ import type { Select } from './models';
6
+ interface RegionDepartmentProps {
6
7
  regions: Select[];
7
- region: string;
8
8
  branches: Branch[];
9
- department: string;
10
- handleChange: HandleFormStateChange<CreditFormState>;
11
- errors: Record<string, string>;
12
- handleChangeErrors: (state: any) => void;
9
+ field: FormFieldRegisterer<CreditFormState>;
13
10
  }
14
- export declare const renderRegionDepartment: ({ regions, region, branches, department, handleChange, errors, handleChangeErrors, }: RenderRegionDepartmentProps) => JSX.Element;
11
+ export declare const renderRegionDepartment: ({ regions, branches, field }: RegionDepartmentProps) => JSX.Element;
15
12
  export {};
@@ -1,10 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { AcquiringFormState } from './ApplicationFormAcquiring';
3
- import type { HandleFormStateChange } from './models';
4
- declare type SlideCheckboxesProps = {
5
- onlineСheckout: boolean;
6
- posTerminal: boolean;
7
- handleChange: HandleFormStateChange<AcquiringFormState>;
8
- };
9
- export declare const renderSlideCheckboxes: ({ onlineСheckout, posTerminal, handleChange, }: SlideCheckboxesProps) => JSX.Element;
10
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { AcquiringFormState } from './AcquiringFormState';
4
+ export declare const renderSlideCheckboxes: (field: FormFieldRegisterer<AcquiringFormState>) => JSX.Element;
@@ -1,11 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { WedFormState } from './ApplicationFormWed';
3
- import type { DataOrganization } from './models';
4
- interface RenderWedDataOrganizationProps extends DataOrganization<WedFormState> {
5
- fullName: string;
6
- name: string;
7
- phone: string;
8
- mail: string;
9
- }
10
- export declare const renderWedDataOrganization: ({ fullName, name, phone, mail, handleChange, errors, handleChangeErrors, }: RenderWedDataOrganizationProps) => JSX.Element;
11
- export {};
2
+ import { FormFieldRegisterer } from '../../hooks/useForm';
3
+ import type { WedFormState } from './WedFormState';
4
+ export declare const renderWedDataOrganization: (field: FormFieldRegisterer<WedFormState>) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const defaultValidator: import("../../validation/validator").Validator<any>;
2
+ export declare const nameValidator: import("../../validation/validator").Validator<any>;
3
+ export declare const innValidator: import("../../validation/validator").Validator<any>;
4
+ export declare const phoneValidator: import("../../validation/validator").Validator<any>;
@@ -5,5 +5,6 @@ export interface RateProps {
5
5
  depositeName?: string;
6
6
  isShowDepositeName?: boolean;
7
7
  rateBlockClassName?: string;
8
+ fractionDigits?: number;
8
9
  }
9
10
  export declare const Rate: import("@redneckz/uni-jsx").UNIComponent<RateProps, any, any>;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { ListOrientation } from '../../model/ListOrientation';
3
+ import { RadioButtonItem } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup';
4
+ export interface BinaryRadioButtonGroupProps {
5
+ items: [truthy: RadioButtonItem, falsy: RadioButtonItem];
6
+ title?: string;
7
+ orientation?: ListOrientation;
8
+ value?: boolean;
9
+ onChange?: (value: boolean) => void;
10
+ }
11
+ export declare const renderBinaryRadioButtonGroup: ({ items, title, orientation, value, onChange, }: BinaryRadioButtonGroupProps) => JSX.Element;
@@ -1,8 +1,3 @@
1
1
  /// <reference types="react" />
2
- interface RenderDaysInputParams {
3
- minDays: number;
4
- maxDays: number;
5
- daysValue: number;
6
- }
7
- export declare function renderDaysInput(title: string, params: RenderDaysInputParams, callback?: (value: number) => void): JSX.Element;
8
- export {};
2
+ import type { InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
3
+ export declare const renderDaysInput: (props: InputRangeProps) => JSX.Element;
@@ -1,10 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { ListOrientation } from '../../model/ListOrientation';
3
- interface InterestPaymentProps {
4
- isMonthlyInterestPayment: boolean;
5
- callback?: (value: boolean) => void;
6
- title?: string;
7
- orientation?: ListOrientation;
8
- }
9
- export declare function renderInterestPayment({ isMonthlyInterestPayment, callback, title, orientation, }: InterestPaymentProps): JSX.Element;
10
- export {};
2
+ import { BinaryRadioButtonGroupProps } from './renderBinaryRadioButtonGroup';
3
+ export declare const renderInterestPayment: (props: Partial<BinaryRadioButtonGroupProps>) => JSX.Element;
@@ -1,9 +1,7 @@
1
1
  /// <reference types="react" />
2
- interface RenderMonthsInputParams {
3
- minMonths: number;
4
- maxMonths: number;
5
- monthsValue: number;
2
+ import type { InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
3
+ interface MonthsInputParams extends InputRangeProps {
6
4
  availableMonths?: Array<number>;
7
5
  }
8
- export declare function renderMonthsInput(title: string, params: RenderMonthsInputParams, callback?: (value: number) => void): JSX.Element;
6
+ export declare const renderMonthsInput: ({ min, max, availableMonths, ...rest }: MonthsInputParams) => JSX.Element;
9
7
  export {};
@@ -1,12 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { ListOrientation } from '../../model/ListOrientation';
3
- export declare const ANNUITY = "annuity";
4
- export declare const DIFFERENTIAL = "differential";
5
- interface PaymentTypeProps {
6
- isAnnuity: boolean;
7
- callback?: (value: boolean) => void;
8
- title?: string;
9
- orientation?: ListOrientation;
10
- }
11
- export declare function renderPaymentType({ isAnnuity, callback, title, orientation, }: PaymentTypeProps): JSX.Element;
12
- export {};
2
+ import { BinaryRadioButtonGroupProps } from './renderBinaryRadioButtonGroup';
3
+ export declare const renderPaymentType: (props: Partial<BinaryRadioButtonGroupProps>) => JSX.Element;
@@ -1,10 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { ListOrientation } from '../../model/ListOrientation';
3
- interface RegistrationTypeProps {
4
- isRemoteRegistration: boolean;
5
- callback?: (value: boolean) => void;
6
- title?: string;
7
- orientation?: ListOrientation;
8
- }
9
- export declare function renderRegistrationType({ isRemoteRegistration, callback, title, orientation, }: RegistrationTypeProps): JSX.Element;
10
- export {};
2
+ import { BinaryRadioButtonGroupProps } from './renderBinaryRadioButtonGroup';
3
+ export declare const renderRegistrationType: (props: Partial<BinaryRadioButtonGroupProps>) => JSX.Element;
@@ -1,11 +1,7 @@
1
1
  /// <reference types="react" />
2
- interface RenderWantedSumParams {
3
- minSum: number;
4
- maxSum: number;
5
- moneyValue: number;
6
- className?: string;
7
- step?: number;
2
+ import type { InputRangeProps } from '../../ui-kit/InputRange/InputRangeProps';
3
+ interface RenderWantedSumParams extends InputRangeProps {
8
4
  isShowItems?: boolean;
9
5
  }
10
- export declare function renderWantedSumInput(title: string, params: RenderWantedSumParams, callback?: (value: number) => void): JSX.Element;
6
+ export declare function renderWantedSumInput({ isShowItems, step, ...rest }: RenderWantedSumParams): JSX.Element;
11
7
  export {};
@@ -0,0 +1 @@
1
+ export declare const ITEMS_GAP = 4;
@@ -0,0 +1 @@
1
+ export declare const ITEMS_GAP = 16;
@@ -0,0 +1 @@
1
+ export declare const descriptionSize = "text-h6";
@@ -0,0 +1 @@
1
+ export declare const descriptionSize = "text-l";
@@ -0,0 +1 @@
1
+ export declare const getPaddingStyle: (isHighlighting?: boolean) => "p-8 mt-8 pt-20" | "p-8 mt-20";
@@ -0,0 +1 @@
1
+ export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
@@ -0,0 +1,3 @@
1
+ import { VNode } from '../../model/VNode';
2
+ import { TariffsCardCellProps } from './CarouselTariffsCardContent';
3
+ export declare const renderCardInfo: (cell: TariffsCardCellProps, i: number) => VNode;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { FormElementRegisterer } from '../../hooks/useForm';
2
+ import type { FormFieldRegisterer } from '../../hooks/useForm';
3
3
  import type { FiltrationSchema } from './FiltrationContent';
4
- export declare const renderFormItem: (filtrationSchema: FiltrationSchema, register: FormElementRegisterer) => (key: string) => JSX.Element | null;
4
+ export declare const renderFormItem: (filtrationSchema: FiltrationSchema, field: FormFieldRegisterer<any>) => (key: string) => JSX.Element | null;
@@ -2,8 +2,8 @@ import type { HeadlineSmallVersion, HeadlineVersion } from '../../model/Headline
2
2
  import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
3
3
  import type { TextSize, TitleSize } from '../../ui-kit/Text/TextProps';
4
4
  export declare const headlineVersionStyles: Record<HeadlineVersion, {
5
- wrapper: string;
6
5
  title: HeadingCommonProps;
7
6
  descriptionSize: TextSize | TitleSize;
7
+ descriptionStyle: string;
8
8
  }>;
9
9
  export declare const HEADLINE_SMALL_VERSION: Record<HeadlineSmallVersion, string>;
@@ -1,4 +1,3 @@
1
- import type { BulletsProps } from '../../model/Bullets';
2
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
2
  import type { UniBlockContent } from '../../model/JSXBlock';
4
3
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
@@ -12,7 +11,7 @@ declare type TextBlockIconVersion = 'none' | 'small' | 'big';
12
11
  /**
13
12
  * @title Текстовый блок
14
13
  */
15
- export declare type TextBlockContent = UniBlockContent & HeadlineCommonProps & RichTextProps & ImageContent & ListContent & BulletsProps & {
14
+ export declare type TextBlockContent = UniBlockContent & HeadlineCommonProps & RichTextProps & ImageContent & ListContent & {
16
15
  iconVersion?: TextBlockIconVersion;
17
16
  };
18
17
  export {};
@@ -1,12 +1,13 @@
1
- export declare type FormElementRegisterer = ReturnType<typeof useForm>['register'];
2
- export declare const useForm: <FormState extends Record<string, any>>(initialState?: Partial<FormState>) => {
3
- formState: Partial<FormState>;
4
- register: <FieldName extends keyof FormState>(fieldName: FieldName) => {
5
- value?: undefined;
6
- onChange?: undefined;
7
- } | {
8
- value: Partial<FormState>[FieldName];
9
- onChange: Partial<Record<keyof FormState, () => void>>[FieldName];
10
- };
11
- resetForm: () => void;
12
- };
1
+ import type { PreventableEvent } from '../ui-kit/PreventableEvent';
2
+ export interface FieldProps<V> {
3
+ value?: V;
4
+ isDirty?: boolean;
5
+ onChange?: (value: V) => void;
6
+ }
7
+ export declare type FormFieldRegisterer<FormState> = <N extends keyof FormState>(fieldName: N) => FieldProps<FormState[N]>;
8
+ export declare const useForm: <FormState extends Record<string, any>>(initialState: FormState, onSubmit?: ((_: FormState) => void) | undefined) => [FormState, {
9
+ isDirty: boolean;
10
+ field: FormFieldRegisterer<FormState>;
11
+ reset: () => void;
12
+ onSubmit: (e: PreventableEvent) => void;
13
+ }];
@@ -1,8 +1,8 @@
1
1
  export interface CheckboxProps {
2
+ className?: string;
3
+ value?: boolean;
2
4
  text?: string;
3
- checked?: boolean;
4
5
  disabled?: boolean;
5
- className?: string;
6
6
  isRadio?: boolean;
7
7
  onChange?: (value: boolean) => void;
8
8
  }
@@ -9,7 +9,9 @@ export declare type InputProps = LabelProps & {
9
9
  placeholder?: string;
10
10
  pattern?: string;
11
11
  value?: string;
12
- onChange: (value: string) => void;
13
- onBlur?: (value: string) => void;
12
+ onChange?: (value: string) => void;
13
+ onInput?: (event: any) => void;
14
+ onFocus?: (event: any) => void;
15
+ onBlur?: () => void;
14
16
  valid?: boolean;
15
17
  };
@@ -4,6 +4,7 @@ export interface InputRangeProps extends ListContent {
4
4
  items?: string[];
5
5
  min?: number;
6
6
  max?: number;
7
+ list?: number[];
7
8
  step?: number;
8
9
  value?: number;
9
10
  title?: string;
@@ -0,0 +1 @@
1
+ export declare function parseDecimal(value?: string): number;