@redneckz/wildless-cms-uni-blocks 0.4.5 → 0.4.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 (600) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +231 -185
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/cosmos-static/icons/{AirPlane.svg → AirPlaneIcon.svg} +0 -0
  5. package/cosmos-static/icons/{DocDownload.svg → DocDownloadIcon.svg} +0 -0
  6. package/cosmos-static/icons/{Logo.svg → LogoIcon.svg} +0 -0
  7. package/cosmos-static/icons/{PackA4.svg → PackA4Icon.svg} +0 -0
  8. package/cosmos-static/icons/{WateringCan.svg → WateringCanIcon.svg} +0 -0
  9. package/dist/components/BlockContent.d.ts +5 -2
  10. package/dist/components/Blocks.d.ts +3 -0
  11. package/dist/components/Blocks.js +6 -0
  12. package/dist/components/Blocks.js.map +1 -1
  13. package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  14. package/dist/components/Calculator/Calculator.js +6 -4
  15. package/dist/components/Calculator/Calculator.js.map +1 -1
  16. package/dist/components/Calculator/CalculatorContent.d.ts +7 -6
  17. package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  18. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  19. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  20. package/dist/components/Calculator/MortgageCalculatorForm.js +1 -3
  21. package/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  22. package/dist/components/Calculator/Rate.js +1 -1
  23. package/dist/components/Calculator/Rate.js.map +1 -1
  24. package/dist/components/Calculator/renderCalculatorBlock.js +2 -1
  25. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  26. package/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  27. package/dist/components/Calculator/renderMonthsInput.js +1 -1
  28. package/dist/components/Calculator/renderProposalMortgage.js +2 -1
  29. package/dist/components/Calculator/renderProposalMortgage.js.map +1 -1
  30. package/dist/components/CardTransfer/CardTransfer.d.ts +5 -0
  31. package/dist/components/CardTransfer/CardTransfer.js +28 -0
  32. package/dist/components/CardTransfer/CardTransfer.js.map +1 -0
  33. package/dist/components/CardTransfer/CardTransferContent.d.ts +10 -0
  34. package/dist/components/CardTransfer/CardTransferContent.js +2 -0
  35. package/dist/components/CardTransfer/CardTransferContent.js.map +1 -0
  36. package/dist/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  37. package/dist/components/ErrorBlock/ErrorBlock.js +23 -0
  38. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -0
  39. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
  40. package/dist/components/ErrorBlock/ErrorBlockContent.js +2 -0
  41. package/dist/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
  42. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  43. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +12 -0
  44. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
  45. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
  46. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
  47. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
  48. package/dist/components/PictureText/PictureText.js +4 -4
  49. package/dist/components/PictureText/PictureText.js.map +1 -1
  50. package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  51. package/dist/components/SafeDepositRental/RegionsAndBranches.js +9 -0
  52. package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
  53. package/dist/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  54. package/dist/components/SafeDepositRental/RenderRadioButtons.js +12 -0
  55. package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
  56. package/dist/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  57. package/dist/components/SafeDepositRental/RentalPeriod.js +10 -0
  58. package/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -0
  59. package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  60. package/dist/components/SafeDepositRental/SafeBoxCases.js +9 -0
  61. package/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
  62. package/dist/components/SafeDepositRental/SafeDepositRental.js +5 -71
  63. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  64. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
  65. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
  66. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +51 -67
  67. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  68. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
  69. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +16 -11
  70. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  71. package/dist/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  72. package/dist/components/SafeDepositRental/WrapperSelect.js +10 -0
  73. package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -0
  74. package/dist/components/SafeDepositRental/fetchBranches.d.ts +2 -0
  75. package/dist/components/SafeDepositRental/fetchBranches.js +20 -0
  76. package/dist/components/SafeDepositRental/fetchBranches.js.map +1 -0
  77. package/dist/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  78. package/dist/components/SafeDepositRental/useGetRegions.js +11 -0
  79. package/dist/components/SafeDepositRental/useGetRegions.js.map +1 -0
  80. package/dist/components/TariffsTable/EmbeddableCellData.js +1 -0
  81. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  82. package/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
  83. package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  84. package/dist/components/TariffsTable/dataFixture.js +1 -0
  85. package/dist/components/TariffsTable/dataFixture.js.map +1 -1
  86. package/dist/icons/IconName.d.ts +12 -12
  87. package/dist/icons/IconName.js +10 -10
  88. package/dist/icons/IconName.js.map +1 -1
  89. package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
  90. package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -2
  91. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  92. package/dist/ui-kit/Button/Button.js +6 -15
  93. package/dist/ui-kit/Button/Button.js.map +1 -1
  94. package/dist/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  95. package/dist/ui-kit/Button/GetButtonClassParams.js +2 -0
  96. package/dist/ui-kit/Button/GetButtonClassParams.js.map +1 -0
  97. package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +4 -0
  98. package/dist/ui-kit/Button/buttonClassNameConstants.js +14 -0
  99. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -0
  100. package/dist/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  101. package/dist/ui-kit/Button/getDisabledButtonClasses.js +12 -0
  102. package/dist/ui-kit/Button/getDisabledButtonClasses.js.map +1 -0
  103. package/dist/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  104. package/dist/ui-kit/Button/getRegularButtonClasses.js +12 -0
  105. package/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -0
  106. package/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +19 -0
  107. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +21 -0
  108. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -0
  109. package/dist/ui-kit/InnerTable/InnerTable.js +1 -1
  110. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  111. package/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
  112. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  113. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  114. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  115. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  116. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  117. package/dist/ui-kit/Logo/Logo.js +1 -1
  118. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  119. package/dist/ui-kit/Logo/Logo.mobile.js +1 -1
  120. package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
  121. package/dist/ui-kit/Radio/Radio.js +1 -1
  122. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  123. package/dist/ui-kit/Select/Select.js +1 -1
  124. package/dist/ui-kit/Select/Select.js.map +1 -1
  125. package/dist/ui-kit/Select/SelectOption.d.ts +1 -0
  126. package/dist/ui-kit/Select/SelectOption.js +2 -2
  127. package/dist/ui-kit/Select/SelectOption.js.map +1 -1
  128. package/lib/common.css +1 -1
  129. package/lib/components/BlockContent.d.ts +5 -2
  130. package/lib/components/Blocks.d.ts +3 -0
  131. package/lib/components/Blocks.js +6 -0
  132. package/lib/components/Blocks.js.map +1 -1
  133. package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  134. package/lib/components/Calculator/Calculator.js +6 -4
  135. package/lib/components/Calculator/Calculator.js.map +1 -1
  136. package/lib/components/Calculator/CalculatorContent.d.ts +7 -6
  137. package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  138. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  139. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  140. package/lib/components/Calculator/MortgageCalculatorForm.js +1 -3
  141. package/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  142. package/lib/components/Calculator/Rate.js +1 -1
  143. package/lib/components/Calculator/Rate.js.map +1 -1
  144. package/lib/components/Calculator/renderCalculatorBlock.js +3 -2
  145. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  146. package/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  147. package/lib/components/Calculator/renderMonthsInput.js +1 -1
  148. package/lib/components/Calculator/renderProposalMortgage.js +2 -1
  149. package/lib/components/Calculator/renderProposalMortgage.js.map +1 -1
  150. package/lib/components/CardTransfer/CardTransfer.d.ts +5 -0
  151. package/lib/components/CardTransfer/CardTransfer.fixture.d.ts +5 -0
  152. package/lib/components/CardTransfer/CardTransfer.js +26 -0
  153. package/lib/components/CardTransfer/CardTransfer.js.map +1 -0
  154. package/lib/components/CardTransfer/CardTransferContent.d.ts +10 -0
  155. package/lib/components/CardTransfer/CardTransferContent.js +2 -0
  156. package/lib/components/CardTransfer/CardTransferContent.js.map +1 -0
  157. package/lib/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  158. package/lib/components/ErrorBlock/ErrorBlock.fixture.d.ts +6 -0
  159. package/lib/components/ErrorBlock/ErrorBlock.js +21 -0
  160. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -0
  161. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
  162. package/lib/components/ErrorBlock/ErrorBlockContent.js +2 -0
  163. package/lib/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
  164. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  165. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +5 -0
  166. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +10 -0
  167. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
  168. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
  169. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
  170. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
  171. package/lib/components/PictureText/PictureText.js +4 -4
  172. package/lib/components/PictureText/PictureText.js.map +1 -1
  173. package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  174. package/lib/components/SafeDepositRental/RegionsAndBranches.js +7 -0
  175. package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
  176. package/lib/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  177. package/lib/components/SafeDepositRental/RenderRadioButtons.js +10 -0
  178. package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
  179. package/lib/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  180. package/lib/components/SafeDepositRental/RentalPeriod.js +8 -0
  181. package/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -0
  182. package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  183. package/lib/components/SafeDepositRental/SafeBoxCases.js +7 -0
  184. package/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
  185. package/lib/components/SafeDepositRental/SafeDepositRental.js +5 -71
  186. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  187. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
  188. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
  189. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +50 -65
  190. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  191. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
  192. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +16 -10
  193. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  194. package/lib/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  195. package/lib/components/SafeDepositRental/WrapperSelect.js +8 -0
  196. package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -0
  197. package/lib/components/SafeDepositRental/fetchBranches.d.ts +2 -0
  198. package/lib/components/SafeDepositRental/fetchBranches.js +17 -0
  199. package/lib/components/SafeDepositRental/fetchBranches.js.map +1 -0
  200. package/lib/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  201. package/lib/components/SafeDepositRental/useGetRegions.js +8 -0
  202. package/lib/components/SafeDepositRental/useGetRegions.js.map +1 -0
  203. package/lib/components/TariffsTable/EmbeddableCellData.js +1 -0
  204. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  205. package/lib/components/TariffsTable/TariffsTableRowContainer.js +3 -3
  206. package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  207. package/lib/components/TariffsTable/dataFixture.js +1 -0
  208. package/lib/components/TariffsTable/dataFixture.js.map +1 -1
  209. package/lib/icons/IconName.d.ts +12 -12
  210. package/lib/icons/IconName.js +10 -10
  211. package/lib/icons/IconName.js.map +1 -1
  212. package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
  213. package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -2
  214. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  215. package/lib/ui-kit/Button/Button.js +6 -15
  216. package/lib/ui-kit/Button/Button.js.map +1 -1
  217. package/lib/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  218. package/lib/ui-kit/Button/GetButtonClassParams.js +2 -0
  219. package/lib/ui-kit/Button/GetButtonClassParams.js.map +1 -0
  220. package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +4 -0
  221. package/lib/ui-kit/Button/buttonClassNameConstants.js +12 -0
  222. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -0
  223. package/lib/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  224. package/lib/ui-kit/Button/getDisabledButtonClasses.js +9 -0
  225. package/lib/ui-kit/Button/getDisabledButtonClasses.js.map +1 -0
  226. package/lib/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  227. package/lib/ui-kit/Button/getRegularButtonClasses.js +9 -0
  228. package/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -0
  229. package/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +19 -0
  230. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +19 -0
  231. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -0
  232. package/lib/ui-kit/InnerTable/InnerTable.js +1 -1
  233. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  234. package/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
  235. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  236. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  237. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  238. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  239. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  240. package/lib/ui-kit/Logo/Logo.js +1 -1
  241. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  242. package/lib/ui-kit/Logo/Logo.mobile.js +1 -1
  243. package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
  244. package/lib/ui-kit/Radio/Radio.js +1 -1
  245. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  246. package/lib/ui-kit/Select/Select.js +1 -1
  247. package/lib/ui-kit/Select/Select.js.map +1 -1
  248. package/lib/ui-kit/Select/SelectOption.d.ts +1 -0
  249. package/lib/ui-kit/Select/SelectOption.js +2 -2
  250. package/lib/ui-kit/Select/SelectOption.js.map +1 -1
  251. package/mobile/bundle/bundle.umd.js +17 -16
  252. package/mobile/bundle/bundle.umd.min.js +1 -1
  253. package/mobile/dist/components/BlockContent.d.ts +5 -2
  254. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  255. package/mobile/dist/components/Calculator/Calculator.js +6 -4
  256. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  257. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +7 -6
  258. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  259. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  260. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  261. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +1 -3
  262. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  263. package/mobile/dist/components/Calculator/Rate.js +1 -1
  264. package/mobile/dist/components/Calculator/Rate.js.map +1 -1
  265. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +2 -1
  266. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  267. package/mobile/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  268. package/mobile/dist/components/Calculator/renderMonthsInput.js +1 -1
  269. package/mobile/dist/components/Calculator/renderProposalMortgage.js +2 -1
  270. package/mobile/dist/components/Calculator/renderProposalMortgage.js.map +1 -1
  271. package/mobile/dist/components/CardTransfer/CardTransfer.d.ts +5 -0
  272. package/mobile/dist/components/CardTransfer/CardTransfer.js +28 -0
  273. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -0
  274. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +10 -0
  275. package/mobile/dist/components/CardTransfer/CardTransferContent.js +2 -0
  276. package/mobile/dist/components/CardTransfer/CardTransferContent.js.map +1 -0
  277. package/mobile/dist/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  278. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +23 -0
  279. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -0
  280. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
  281. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.js +2 -0
  282. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
  283. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  284. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +12 -0
  285. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
  286. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
  287. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
  288. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
  289. package/mobile/dist/components/PictureText/PictureText.js +4 -4
  290. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  291. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  292. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +9 -0
  293. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
  294. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  295. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +12 -0
  296. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
  297. package/mobile/dist/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  298. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +10 -0
  299. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -0
  300. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  301. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +9 -0
  302. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
  303. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +5 -71
  304. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  305. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
  306. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
  307. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +51 -67
  308. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  309. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
  310. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +16 -11
  311. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  312. package/mobile/dist/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  313. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js +10 -0
  314. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -0
  315. package/mobile/dist/components/SafeDepositRental/fetchBranches.d.ts +2 -0
  316. package/mobile/dist/components/SafeDepositRental/fetchBranches.js +20 -0
  317. package/mobile/dist/components/SafeDepositRental/fetchBranches.js.map +1 -0
  318. package/mobile/dist/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  319. package/mobile/dist/components/SafeDepositRental/useGetRegions.js +11 -0
  320. package/mobile/dist/components/SafeDepositRental/useGetRegions.js.map +1 -0
  321. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
  322. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  323. package/mobile/dist/components/TariffsTable/dataFixture.js +1 -0
  324. package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
  325. package/mobile/dist/icons/IconName.d.ts +12 -12
  326. package/mobile/dist/icons/IconName.js +10 -10
  327. package/mobile/dist/icons/IconName.js.map +1 -1
  328. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
  329. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -2
  330. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  331. package/mobile/dist/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  332. package/mobile/dist/ui-kit/Button/GetButtonClassParams.js +2 -0
  333. package/mobile/dist/ui-kit/Button/GetButtonClassParams.js.map +1 -0
  334. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +4 -0
  335. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +14 -0
  336. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -0
  337. package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  338. package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.js +12 -0
  339. package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.js.map +1 -0
  340. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  341. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js +12 -0
  342. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -0
  343. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +19 -0
  344. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +21 -0
  345. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -0
  346. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +1 -1
  347. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  348. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
  349. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  350. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  351. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  352. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  353. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  354. package/mobile/dist/ui-kit/Logo/Logo.js +1 -1
  355. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  356. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  357. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  358. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  359. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  360. package/mobile/dist/ui-kit/Select/SelectOption.d.ts +1 -0
  361. package/mobile/dist/ui-kit/Select/SelectOption.js +2 -2
  362. package/mobile/dist/ui-kit/Select/SelectOption.js.map +1 -1
  363. package/mobile/lib/components/BlockContent.d.ts +5 -2
  364. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  365. package/mobile/lib/components/Calculator/Calculator.js +6 -4
  366. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  367. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +7 -6
  368. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  369. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  370. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  371. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +1 -3
  372. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  373. package/mobile/lib/components/Calculator/Rate.js +1 -1
  374. package/mobile/lib/components/Calculator/Rate.js.map +1 -1
  375. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +3 -2
  376. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  377. package/mobile/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  378. package/mobile/lib/components/Calculator/renderMonthsInput.js +1 -1
  379. package/mobile/lib/components/Calculator/renderProposalMortgage.js +2 -1
  380. package/mobile/lib/components/Calculator/renderProposalMortgage.js.map +1 -1
  381. package/mobile/lib/components/CardTransfer/CardTransfer.d.ts +5 -0
  382. package/mobile/lib/components/CardTransfer/CardTransfer.js +26 -0
  383. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -0
  384. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +10 -0
  385. package/mobile/lib/components/CardTransfer/CardTransferContent.js +2 -0
  386. package/mobile/lib/components/CardTransfer/CardTransferContent.js.map +1 -0
  387. package/mobile/lib/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  388. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +21 -0
  389. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -0
  390. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
  391. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.js +2 -0
  392. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
  393. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  394. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +10 -0
  395. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
  396. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
  397. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
  398. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
  399. package/mobile/lib/components/PictureText/PictureText.js +4 -4
  400. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  401. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  402. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +7 -0
  403. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
  404. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  405. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +10 -0
  406. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
  407. package/mobile/lib/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  408. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +8 -0
  409. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -0
  410. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  411. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +7 -0
  412. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
  413. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +5 -71
  414. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  415. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
  416. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
  417. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +50 -65
  418. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  419. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
  420. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +16 -10
  421. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  422. package/mobile/lib/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  423. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js +8 -0
  424. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -0
  425. package/mobile/lib/components/SafeDepositRental/fetchBranches.d.ts +2 -0
  426. package/mobile/lib/components/SafeDepositRental/fetchBranches.js +17 -0
  427. package/mobile/lib/components/SafeDepositRental/fetchBranches.js.map +1 -0
  428. package/mobile/lib/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  429. package/mobile/lib/components/SafeDepositRental/useGetRegions.js +8 -0
  430. package/mobile/lib/components/SafeDepositRental/useGetRegions.js.map +1 -0
  431. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +3 -3
  432. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  433. package/mobile/lib/components/TariffsTable/dataFixture.js +1 -0
  434. package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
  435. package/mobile/lib/icons/IconName.d.ts +12 -12
  436. package/mobile/lib/icons/IconName.js +10 -10
  437. package/mobile/lib/icons/IconName.js.map +1 -1
  438. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
  439. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -2
  440. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  441. package/mobile/lib/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  442. package/mobile/lib/ui-kit/Button/GetButtonClassParams.js +2 -0
  443. package/mobile/lib/ui-kit/Button/GetButtonClassParams.js.map +1 -0
  444. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +4 -0
  445. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +12 -0
  446. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -0
  447. package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  448. package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.js +9 -0
  449. package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.js.map +1 -0
  450. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  451. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js +9 -0
  452. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -0
  453. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +19 -0
  454. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +19 -0
  455. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -0
  456. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +1 -1
  457. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  458. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
  459. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  460. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  461. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  462. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  463. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  464. package/mobile/lib/ui-kit/Logo/Logo.js +1 -1
  465. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  466. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  467. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  468. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  469. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  470. package/mobile/lib/ui-kit/Select/SelectOption.d.ts +1 -0
  471. package/mobile/lib/ui-kit/Select/SelectOption.js +2 -2
  472. package/mobile/lib/ui-kit/Select/SelectOption.js.map +1 -1
  473. package/mobile/src/common.css +1 -1
  474. package/mobile/src/components/BlockContent.ts +8 -2
  475. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  476. package/mobile/src/components/Calculator/Calculator.tsx +6 -4
  477. package/mobile/src/components/Calculator/CalculatorContent.ts +11 -6
  478. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  479. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  480. package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +2 -8
  481. package/mobile/src/components/Calculator/Rate.tsx +3 -3
  482. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +2 -0
  483. package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +1 -1
  484. package/mobile/src/components/Calculator/renderMonthsInput.tsx +1 -1
  485. package/mobile/src/components/Calculator/renderProposalMortgage.tsx +7 -2
  486. package/mobile/src/components/CardTransfer/CardTransfer.tsx +59 -0
  487. package/mobile/src/components/CardTransfer/CardTransferContent.ts +10 -0
  488. package/mobile/src/components/ContentPage/ContentPage.page.json +4 -0
  489. package/mobile/src/components/ErrorBlock/ErrorBlock.example.json +13 -0
  490. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +45 -0
  491. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +38 -0
  492. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +33 -0
  493. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +41 -0
  494. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +26 -0
  495. package/mobile/src/components/PictureText/PictureText.tsx +6 -6
  496. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +50 -0
  497. package/mobile/src/components/SafeDepositRental/RenderRadioButtons.tsx +29 -0
  498. package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +18 -0
  499. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +48 -0
  500. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +8 -78
  501. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +21 -0
  502. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +86 -143
  503. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +24 -16
  504. package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +45 -0
  505. package/mobile/src/components/SafeDepositRental/fetchBranches.ts +21 -0
  506. package/mobile/src/components/SafeDepositRental/useGetRegions.ts +16 -0
  507. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +9 -4
  508. package/mobile/src/components/TariffsTable/dataFixture.ts +5 -4
  509. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +98 -73
  510. package/mobile/src/icons/{AirPlane.svg → AirPlaneIcon.svg} +0 -0
  511. package/mobile/src/icons/{DocDownload.svg → DocDownloadIcon.svg} +0 -0
  512. package/mobile/src/icons/IconName.ts +4 -4
  513. package/mobile/src/icons/{Logo.svg → LogoIcon.svg} +0 -0
  514. package/mobile/src/icons/{PackA4.svg → PackA4Icon.svg} +0 -0
  515. package/mobile/src/icons/{WateringCan.svg → WateringCanIcon.svg} +0 -0
  516. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +12 -9
  517. package/mobile/src/ui-kit/Button/GetButtonClassParams.ts +7 -0
  518. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +16 -0
  519. package/mobile/src/ui-kit/Button/getDisabledButtonClasses.ts +15 -0
  520. package/mobile/src/ui-kit/Button/getRegularButtonClasses.ts +15 -0
  521. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +70 -0
  522. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  523. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
  524. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
  525. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
  526. package/mobile/src/ui-kit/Logo/Logo.tsx +1 -1
  527. package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
  528. package/mobile/src/ui-kit/Select/Select.tsx +1 -0
  529. package/mobile/src/ui-kit/Select/SelectOption.tsx +3 -2
  530. package/package.json +1 -1
  531. package/src/common.css +1 -1
  532. package/src/components/BlockContent.ts +8 -2
  533. package/src/components/Blocks.ts +6 -0
  534. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +2 -2
  535. package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  536. package/src/components/Calculator/Calculator.fixture.tsx +1 -0
  537. package/src/components/Calculator/Calculator.tsx +6 -4
  538. package/src/components/Calculator/CalculatorContent.ts +11 -6
  539. package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  540. package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  541. package/src/components/Calculator/MortgageCalculatorForm.tsx +2 -8
  542. package/src/components/Calculator/Rate.tsx +3 -3
  543. package/src/components/Calculator/renderCalculatorBlock.tsx +2 -0
  544. package/src/components/Calculator/renderInitialFeeInput.tsx +1 -1
  545. package/src/components/Calculator/renderMonthsInput.tsx +1 -1
  546. package/src/components/Calculator/renderProposalMortgage.tsx +7 -2
  547. package/src/components/CardTransfer/CardTransfer.fixture.tsx +6 -0
  548. package/src/components/CardTransfer/CardTransfer.tsx +59 -0
  549. package/src/components/CardTransfer/CardTransferContent.ts +10 -0
  550. package/src/components/ContentPage/ContentPage.page.json +4 -0
  551. package/src/components/ErrorBlock/ErrorBlock.example.json +13 -0
  552. package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +53 -0
  553. package/src/components/ErrorBlock/ErrorBlock.tsx +45 -0
  554. package/src/components/ErrorBlock/ErrorBlockContent.ts +38 -0
  555. package/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +33 -0
  556. package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +44 -0
  557. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +41 -0
  558. package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +26 -0
  559. package/src/components/PictureText/PictureText.fixture.tsx +1 -1
  560. package/src/components/PictureText/PictureText.tsx +6 -6
  561. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +50 -0
  562. package/src/components/SafeDepositRental/RenderRadioButtons.tsx +29 -0
  563. package/src/components/SafeDepositRental/RentalPeriod.tsx +18 -0
  564. package/src/components/SafeDepositRental/SafeBoxCases.tsx +48 -0
  565. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -0
  566. package/src/components/SafeDepositRental/SafeDepositRental.tsx +8 -78
  567. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +21 -0
  568. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +86 -143
  569. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +24 -16
  570. package/src/components/SafeDepositRental/WrapperSelect.tsx +45 -0
  571. package/src/components/SafeDepositRental/fetchBranches.ts +21 -0
  572. package/src/components/SafeDepositRental/useGetRegions.ts +16 -0
  573. package/src/components/TariffsTable/EmbeddableCellData.tsx +3 -2
  574. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +9 -4
  575. package/src/components/TariffsTable/dataFixture.ts +5 -4
  576. package/src/components/__snapshots__/Blocks.spec.tsx.snap +98 -73
  577. package/src/icons/{AirPlane.svg → AirPlaneIcon.svg} +0 -0
  578. package/src/icons/{DocDownload.svg → DocDownloadIcon.svg} +0 -0
  579. package/src/icons/IconName.ts +16 -16
  580. package/src/icons/{Logo.svg → LogoIcon.svg} +0 -0
  581. package/src/icons/{PackA4.svg → PackA4Icon.svg} +0 -0
  582. package/src/icons/{WateringCan.svg → WateringCanIcon.svg} +0 -0
  583. package/src/ui-kit/BenefitItem/BenefitItem.tsx +12 -9
  584. package/src/ui-kit/Button/Button.tsx +6 -34
  585. package/src/ui-kit/Button/GetButtonClassParams.ts +7 -0
  586. package/src/ui-kit/Button/buttonClassNameConstants.ts +16 -0
  587. package/src/ui-kit/Button/getDisabledButtonClasses.ts +15 -0
  588. package/src/ui-kit/Button/getRegularButtonClasses.ts +15 -0
  589. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +70 -0
  590. package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  591. package/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
  592. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
  593. package/src/ui-kit/InputRange/InputRange.tsx +1 -1
  594. package/src/ui-kit/Logo/Logo.mobile.tsx +1 -1
  595. package/src/ui-kit/Logo/Logo.tsx +1 -1
  596. package/src/ui-kit/Radio/Radio.tsx +1 -1
  597. package/src/ui-kit/Select/Select.tsx +1 -0
  598. package/src/ui-kit/Select/SelectOption.tsx +3 -2
  599. package/mobile/src/components/SafeDepositRental/SafeDepositRental.example.json +0 -3
  600. package/src/components/SafeDepositRental/SafeDepositRental.example.json +0 -3
@@ -12,7 +12,8 @@ const descStyleMap = {
12
12
  export const BenefitItem = JSX((props) => {
13
13
  const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
14
14
  const isIconWhite = benefitsVersion === 'white' || version === 'secondary';
15
- return (_jsxs("div", { className: `flex items-start gap-5 ${className}`, children: [icon ? (_jsx(Img, { className: renderBenefitIconBgStyle(version, benefitsVersion), image: { ...icon, iconVersion: isIconWhite ? 'white' : 'normal' }, asSVG: true })) : null, _jsxs("div", { className: "gap-0.5", children: [label ? _jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (_jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
15
+ const listItemAlign = description ? 'items-start' : 'items-center';
16
+ return (_jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (_jsx("div", { className: renderBenefitIconBgStyle(version, benefitsVersion), children: _jsx(Img, { className: "w-[24px] h-[24px]", image: { ...icon, iconVersion: isIconWhite ? 'white' : 'normal' }, asSVG: true }) })) : null, _jsxs("div", { className: "gap-0.5", children: [label ? _jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (_jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
16
17
  });
17
18
  function renderBenefitIconBgStyle(version, benefitsVersion) {
18
19
  let bgColorStyle = 'bg-primary-main text-black';
@@ -22,6 +23,6 @@ function renderBenefitIconBgStyle(version, benefitsVersion) {
22
23
  else if (benefitsVersion === 'normal') {
23
24
  bgColorStyle = 'bg-secondary-light text-primary-main';
24
25
  }
25
- return `w-[50px] h-[50px] min-w-[50px] rounded-full p-[10px] box-border ${bgColorStyle}`;
26
+ return `w-[50px] h-[50px] min-w-[50px] rounded-full p-[10px] box-border flex items-center justify-center ${bgColorStyle}`;
26
27
  }
27
28
  //# sourceMappingURL=BenefitItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAKjC,MAAM,aAAa,GAAiC;IAClD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;CACxB,CAAC;AACF,MAAM,YAAY,GAAiC;IACjD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAsB,CAAC,KAAK,EAAE,EAAE;IAC5D,MAAM,EACJ,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,KAAK,EACL,WAAW,EACX,OAAO,GAAG,SAAS,EACnB,eAAe,GAAG,QAAQ,GAC3B,GAAG,KAAK,CAAC;IAEV,MAAM,WAAW,GAAG,eAAe,KAAK,OAAO,IAAI,OAAO,KAAK,WAAW,CAAC;IAE3E,OAAO,CACL,eAAK,SAAS,EAAE,0BAA0B,SAAS,EAAE,aAClD,IAAI,CAAC,CAAC,CAAC,CACN,KAAC,GAAG,IACF,SAAS,EAAE,wBAAwB,CAAC,OAAO,EAAE,eAAe,CAAC,EAC7D,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,WAA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AE,CAAC;AAC5H,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ButtonVersion } from '../../model/ButtonVersion';
2
+ export declare type GetButtonClassParams = {
3
+ className?: string;
4
+ rounded?: boolean;
5
+ version?: ButtonVersion;
6
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GetButtonClassParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetButtonClassParams.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/GetButtonClassParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { ButtonVersion } from '../../model/ButtonVersion';
2
+ export declare const buttonStyleMap: Record<ButtonVersion, string>;
3
+ export declare const buttonDisabledStyleMap: Record<ButtonVersion, string>;
4
+ export declare const buttonStyle = "text-center font-sans select-none";
@@ -0,0 +1,12 @@
1
+ export const buttonStyleMap = {
2
+ primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
3
+ secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
4
+ link: '',
5
+ };
6
+ export const buttonDisabledStyleMap = {
7
+ primary: 'bg-secondary-dark text-secondary-text',
8
+ secondary: 'bg-secondary-light text-secondary-text',
9
+ link: '',
10
+ };
11
+ export const buttonStyle = 'text-center font-sans select-none';
12
+ //# sourceMappingURL=buttonClassNameConstants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAkC;IACnE,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;IACnD,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mCAAmC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { GetButtonClassParams } from './GetButtonClassParams';
2
+ export declare const getDisabledButtonClasses: ({ className, rounded, version, }: GetButtonClassParams) => string;
@@ -0,0 +1,9 @@
1
+ import { buttonDisabledStyleMap, buttonStyle } from './buttonClassNameConstants.js';
2
+ export const getDisabledButtonClasses = ({ className, rounded, version, }) => [
3
+ 'inline-block',
4
+ buttonStyle,
5
+ version ? buttonDisabledStyleMap[version] : '',
6
+ rounded ? 'rounded-full' : 'rounded-md',
7
+ className,
8
+ ].join(' ');
9
+ //# sourceMappingURL=getDisabledButtonClasses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDisabledButtonClasses.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/getDisabledButtonClasses.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEjF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,EACvC,SAAS,EACT,OAAO,EACP,OAAO,GACc,EAAU,EAAE,CACjC;IACE,cAAc;IACd,WAAW;IACX,OAAO,CAAC,CAAC,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;IAC9C,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY;IACvC,SAAS;CACV,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { GetButtonClassParams } from './GetButtonClassParams';
2
+ export declare const getRegularButtonClasses: ({ className, rounded, version, }: GetButtonClassParams) => string;
@@ -0,0 +1,9 @@
1
+ import { buttonStyle, buttonStyleMap } from './buttonClassNameConstants.js';
2
+ export const getRegularButtonClasses = ({ className, rounded, version, }) => [
3
+ buttonStyle,
4
+ 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border',
5
+ version ? buttonStyleMap[version] : '',
6
+ rounded ? 'rounded-full' : 'rounded-md',
7
+ className,
8
+ ].join(' ');
9
+ //# sourceMappingURL=getRegularButtonClasses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRegularButtonClasses.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/getRegularButtonClasses.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEzE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EACtC,SAAS,EACT,OAAO,EACP,OAAO,GACc,EAAU,EAAE,CACjC;IACE,WAAW;IACX,4GAA4G;IAC5G,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;IACtC,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY;IACvC,SAAS;CACV,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @title Валюта
3
+ * @enumNames ["Рубль", "Доллар", "Евро"]
4
+ * @default "RUB"
5
+ */
6
+ declare type Currency = 'RUB' | 'USD' | 'EUR';
7
+ declare type CurrencyInputProps = {
8
+ className?: string;
9
+ label?: string;
10
+ currency?: Currency;
11
+ onChange?: (value: string) => void;
12
+ name?: string;
13
+ value?: string;
14
+ placeholder?: string;
15
+ minValue?: number;
16
+ maxValue?: number;
17
+ };
18
+ export declare const CurrencyInput: import("@redneckz/uni-jsx").UNIComponent<CurrencyInputProps, any, any>;
19
+ export {};
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { clamp } from '../../utils/clamp.js';
4
+ const CurrencyMap = {
5
+ RUB: '₽',
6
+ USD: '$',
7
+ EUR: '€',
8
+ };
9
+ export const CurrencyInput = JSX(({ className = '', label, currency = 'RUB', onChange, value = '', minValue = 0, maxValue = 300000, ...inputProps }) => {
10
+ const handleChange = (e) => {
11
+ if (!onChange) {
12
+ return;
13
+ }
14
+ const newValue = e.target.value === '' ? '' : String(clamp(e.target.value, minValue, maxValue));
15
+ onChange(newValue);
16
+ };
17
+ return (_jsxs("div", { className: className, children: [label ? _jsx("label", { className: "block text-m-light mb-2", children: label }) : null, _jsxs("div", { className: "h-[56px] relative flex items-center", children: [_jsx("input", { type: "number", className: "text-l pl-4 pr-8 w-full h-full rounded-md border border-solid border-main-stroke", onChange: handleChange, value: value, min: minValue, max: maxValue, ...inputProps }), _jsx("span", { className: "text-xl-light absolute right-4", children: CurrencyMap[currency] })] })] }));
18
+ });
19
+ //# sourceMappingURL=CurrencyInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CurrencyInput.js","sourceRoot":"","sources":["../../../src/ui-kit/CurrencyInput/CurrencyInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAU1C,MAAM,WAAW,GAA6B;IAC5C,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;CACT,CAAC;AAcF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,QAAQ,GAAG,KAAK,EAChB,QAAQ,EACR,KAAK,GAAG,EAAE,EACV,QAAQ,GAAG,CAAC,EACZ,QAAQ,GAAG,MAAM,EACjB,GAAG,UAAU,EACd,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,CAAC,CAAM,EAAE,EAAE;QAC9B,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QAED,MAAM,QAAQ,GACZ,CAAC,CAAC,MAAM,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;QAE3F,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACrB,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAE,SAAS,aACtB,KAAK,CAAC,CAAC,CAAC,gBAAO,SAAS,EAAC,yBAAyB,YAAE,KAAK,GAAS,CAAC,CAAC,CAAC,IAAI,EAC1E,eAAK,SAAS,EAAC,qCAAqC,aAClD,gBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,kFAAkF,EAC5F,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE,QAAQ,KACT,UAAU,GACd,EACF,eAAM,SAAS,EAAC,gCAAgC,YAAE,WAAW,CAAC,QAAQ,CAAC,GAAQ,IAC3E,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -10,6 +10,6 @@ export const InnerTable = JSX(({ context, dataUrl, pdfUrl }) => {
10
10
  const [activeTabIndex, setActiveTabIndex] = useState(0);
11
11
  const items = tableData?.[activeTabIndex]?.items ?? [];
12
12
  const currencies = tableData?.map((item) => item.currency ?? '');
13
- return tableData ? (_jsxs("div", { className: "bg-white z-10 pr-[50px]", children: [_jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: setActiveTabIndex, linkToPDF: pdfUrl }), _jsx(InnerTableBody, { context: context, activeTabIndex: activeTabIndex, items: items }), _jsx(TableInnerButton, { context: context, isOpen: true })] })) : null;
13
+ return tableData ? (_jsxs("div", { className: "bg-white z-10", children: [_jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: setActiveTabIndex, linkToPDF: pdfUrl }), _jsx(InnerTableBody, { context: context, activeTabIndex: activeTabIndex, items: items }), _jsx(TableInnerButton, { context: context, isOpen: true })] })) : null;
14
14
  });
15
15
  //# sourceMappingURL=InnerTable.js.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K,GAAI,EAClF,KAAC,gBAAgB,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAG,IACzC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC"}
@@ -3,9 +3,9 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { EventBus } from '../../EventBus/EventBus.js';
4
4
  import { Button } from '../Button/Button.js';
5
5
  import { Icon } from '../Icon/Icon.js';
6
- export const TableInnerButton = JSX(({ isOpen, dataUrl, rowIdx, cellIdx, fieldIdx }) => {
6
+ export const TableInnerButton = JSX(({ isOpen, dataUrl, pdfUrl, rowIdx, cellIdx, fieldIdx }) => {
7
7
  const handleClick = () => {
8
- EventBus.inst.fire('tariffInnerTable', { dataUrl, rowIdx, cellIdx, fieldIdx });
8
+ EventBus.inst.fire('tariffInnerTable', { dataUrl, pdfUrl, rowIdx, cellIdx, fieldIdx });
9
9
  };
10
10
  return (_jsxs(Button, { version: "primary", onClick: handleClick, className: "w-full flex items-center justify-center rounded-none py-5 ", children: [_jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать ставки по вкладу' }), _jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20", asSVG: true })] }));
11
11
  });
@@ -1 +1 @@
1
- {"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAOpC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAA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O,EAAE,QAAQ,EAAE,CAAC,CAAC;IACzF,CAAC,CAAC;IAEF,OAAO,CACL,MAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,WAAW,EACpB,SAAS,EAAC,4DAA4D,aAEtE,cAAK,SAAS,EAAC,SAAS,YAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,2BAA2B,GAAO,EAChF,KAAC,IAAI,IACH,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAC9C,SAAS,EAAC,MAAM,EAChB,WAAW,EAAC,OAAO,EACnB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,IACK,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -2,5 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Button } from '../Button/Button.js';
4
4
  import { Img } from '../Img/Img.js';
5
- export const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (_jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (_jsx("div", { className: "flex bg-secondary-light p-1 rounded-md", children: currencies.map((currency, idx) => (_jsx("div", { className: `rounded-md text-xl-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (_jsxs(Button, { href: linkToPDF, version: "secondary", className: "flex justify-center items-center text-l-light text-primary-main px-8", children: [_jsx(Img, { image: "DocDownload", className: "mr-[10px]", width: "24", height: "24", asSVG: true }), _jsx("span", { children: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })] })) : null] })));
5
+ export const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (_jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (_jsx("div", { className: "flex bg-secondary-light p-1 rounded-md", children: currencies.map((currency, idx) => (_jsx("div", { className: `rounded-md text-xl-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (_jsxs(Button, { href: linkToPDF, version: "secondary", className: "flex justify-center items-center text-l-light text-primary-main px-8", children: [_jsx(Img, { image: "DocDownloadIcon", className: "mr-[10px]", width: "24", height: "24", asSVG: true }), _jsx("span", { children: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })] })) : null] })));
6
6
  //# sourceMappingURL=InnerTableHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InnerTableHeader.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AASjC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,iBAAiB,EAAE,EAAE,EAAE,CAAC,CAChE,eAAK,SAAS,EAAC,yCAAyC,aACrD,UAAU,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACrC,cAAK,SAAS,EAAC,wCAAwC,YACpD,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,CAAC,CACjC,cAEE,SAAS,EAAE,qDACT,GAAG,KAAK,cAAc,CAAC,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC,qBAC1D,EAAE,EACF,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C,YAEpC,QAAQ,IAAI,GAAG,GAAG,CAAC,IANf,QAAQ,CAOT,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACP,SAAS,CAAC,CAAC,CAAC,CACX,MAAC,MAAM,IACL,IAAI,EAAE,SAAS,EACf,OAAO,EAAC,WAAW,EACnB,SAAS,EAAC,sEAAsE,aAEhF,KAAC,GAAG,IAAC,KAAK,EAAC,iBAAiB,EAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,EAClF,mFAA0B,IACnB,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CACF,CAAC"}
@@ -24,7 +24,7 @@ export const InputRange = JSX(({ className, title, items = [], min = 1, max = 10
24
24
  onChange(max);
25
25
  }
26
26
  };
27
- return (_jsxs("div", { className: className, children: [_jsxs("label", { className: "block relative", children: [title ? _jsx("span", { className: "text-m font-light", children: title }) : null, _jsx("input", { className: `m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
27
+ return (_jsxs("div", { className: className, children: [_jsxs("label", { className: "block relative", children: [title ? _jsx("span", { className: "text-m-light", children: title }) : null, _jsx("input", { className: `m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
28
28
  outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-focus ${DISABLED_INPUT_CLASSES}`, value: addSpacesBetweenNumbers(value), disabled: disabled, onChange: (e) => handleChange(e.target.value), onBlur: handleBlur }), _jsx("div", { className: "absolute inset-x-0 -bottom-1 px-4 leading-[18px]", children: _jsx("input", { className: "box-border w-full m-0 cursor-pointer slider", type: "range", min: min, max: max, step: step, value: value, disabled: disabled, onChange: (e) => handleChange(e.target.value), style: inputStyle }) })] }), _jsx("div", { className: "flex justify-between my-2", children: items.map((item, i) => (_jsx("span", { className: "text-s-light text-secondary-text", children: item }, String(i)))) })] }));
29
29
  });
30
30
  //# sourceMappingURL=InputRange.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputRange.js","sourceRoot":"","sources":["../../../src/ui-kit/InputRange/InputRange.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,MAAM,sBAAsB,GAAG,sDAAsD,CAAC;AAEtF,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EACC,SAAS,EACT,KAAK,EACL,KAAK,GAAG,EAAE,EACV,GAAG,GAAG,CAAC,EACP,GAAG,GAAG,GAAG,EACT,IAAI,GAAG,CAAC,EACR,KAAK,GAAG,GAAG,EACX,QAAQ,GAAG,KAAK,EAChB,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,CAAC,CAAS,EAAE,EAAE;QACjC,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC;QACpD,QAAQ,CAAC,cAAc,CAAC,CAAC;IAC3B,CAAC,CAAC;IACF,MAAM,UAAU,GAAG;QACjB,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ;KAC5E,CAAC;IACF,MAAM,UAAU,GAAG,GAAG,EAAE;QACtB,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,IAAI,KAAK,GAAG,GAAG,EAAE;YACf,QAAQ,CAAC,GAAG,CAAC,CAAC;SACf;QACD,IAAI,KAAK,GAAG,GAAG,EAAE;YACf,QAAQ,CAAC,GAAG,CAAC,CAAC;SACf;IACH,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SA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EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EACvD,MAAM,EAAE,UAAU,GAClB,EACF,cAAK,SAAS,EAAC,kDAAkD,YAC/D,gBACE,SAAS,EAAC,6CAA6C,EACvD,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EACvD,KAAK,EAAE,UAAU,GACjB,GACE,IACA,EACR,cAAK,SAAS,EAAC,2BAA2B,YACvC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,eAAsB,SAAS,EAAC,kCAAkC,YAC/D,IAAI,IADI,MAAM,CAAC,CAAC,CAAC,CAEb,CACR,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -10,6 +10,6 @@ const TEXT_COLOR = {
10
10
  transparent: 'text-white',
11
11
  };
12
12
  export const Logo = JSX(({ className = '', href, children, targetBlank, bgColor = 'bg-white', hideTitle }) => {
13
- return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [_jsx(Img, { image: { icon: 'Logo' }, className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, asSVG: true }), hideTitle ? null : (_jsx("span", { className: `${TEXT_COLOR[bgColor]} text-s font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
13
+ return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [_jsx(Img, { image: { icon: 'LogoIcon' }, className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, asSVG: true }), hideTitle ? null : (_jsx("span", { className: `${TEXT_COLOR[bgColor]} text-s font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
14
14
  });
15
15
  //# sourceMappingURL=Logo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/Logo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAUjC,MAAM,SAAS,GAAmC;IAChD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,aACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,IAAI,EAAE,IAAI,IAAI,kBAAkB,EAChC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,gBAC7B,sFAAgB,aAE3B,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,EAAE,KAAK,SAAG,EACvF,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAClB,eA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s } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- export const Radio = JSX(({ name, text, value, checked, onChange, className }) => (_jsx("div", { className: className, children: _jsxs("label", { className: "flex items-center relative cursor-pointer", children: [_jsx("input", { className: "appearance-none flex justify-center items-center w-5 h-5 border-2 border-primary-main rounded-full cursor-pointer after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main", type: "radio", value: value, name: name, checked: checked, onChange: onChange }), text ? _jsx("span", { className: "font-sans ml-3 cursor-pointer", children: text }) : null] }) })));
3
+ export const Radio = JSX(({ name, text, value, checked, onChange, className }) => (_jsx("div", { className: className, children: _jsxs("label", { className: "flex items-center relative cursor-pointer", children: [_jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border-2 border-primary-main rounded-full cursor-pointer after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main", type: "radio", value: value, name: name, checked: checked, onChange: onChange }), text ? _jsx("span", { className: "font-sans ml-3 cursor-pointer", children: text }) : null] }) })));
4
4
  //# sourceMappingURL=Radio.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.js","sourceRoot":"","sources":["../../../src/ui-kit/Radio/Radio.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAa,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5F,cAAK,SAAS,EAAE,SAAS,YACvB,iBAAO,SAAS,EAAC,2CAA2C,aAC1D,gBACE,SAAS,EAAC,wMAAwM,EAClN,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,GAClB,EACD,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,+BAA+B,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACtE,GACJ,CACP,CAAC,CAAC"}
1
+ {"version":3,"file":"Radio.js","sourceRoot":"","sources":["../../../src/ui-kit/Radio/Radio.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAa,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5F,cAAK,SAAS,EAAE,SAAS,YACvB,iBAAO,SAAS,EAAC,2CAA2C,aAC1D,gBACE,SAAS,EAAC,iNAAiN,EAC3N,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,GAClB,EACD,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,+BAA+B,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACtE,GACJ,CACP,CAAC,CAAC"}
@@ -4,6 +4,6 @@ const selectStyle = {
4
4
  background: `url('/icons/ArrowDownIcon.svg') no-repeat right 16px top 50%`,
5
5
  };
6
6
  export const Select = JSX(({ className = '', id, name, children, value, onChange }) => {
7
- return (_jsx("select", { className: `appearance-none ${className}`, style: selectStyle, id: id, name: name || id, value: value, onChange: (e) => onChange(e.target.value), children: children }));
7
+ return (_jsx("select", { className: `appearance-none ${className}`, style: selectStyle, id: id, name: name || id, value: value, onChange: (e) => onChange(e.target.value), placeholder: "12321321312", children: children }));
8
8
  });
9
9
  //# sourceMappingURL=Select.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAA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ACJ,CAAC,CACF,CAAC"}
@@ -2,5 +2,6 @@ export interface SelectOptionProps {
2
2
  className?: string;
3
3
  value?: string;
4
4
  selected?: boolean;
5
+ disabled?: boolean;
5
6
  }
6
7
  export declare const SelectOption: import("@redneckz/uni-jsx").UNIComponent<SelectOptionProps, any, any>;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- export const SelectOption = JSX(({ className = '', value, selected, children }) => {
4
- return (_jsx("option", { className: className, value: `${value}`, selected: selected, children: children }));
3
+ export const SelectOption = JSX(({ className = '', value, selected, disabled = false, children }) => {
4
+ return (_jsx("option", { className: className, value: `${value}`, selected: selected, disabled: disabled, children: children }));
5
5
  });
6
6
  //# sourceMappingURL=SelectOption.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectOption.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/SelectOption.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChD,OAAO,CACL,iBAAQ,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,YAChE,QAAQ,GACF,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"SelectOption.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/SelectOption.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AASxC,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,GAAG,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClE,OAAO,CACL,iBAAQ,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,YACpF,QAAQ,GACF,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -72,7 +72,7 @@ html {
72
72
  width: 100%;
73
73
  }
74
74
 
75
- .calc-rate-text {
75
+ .gradient-color-text {
76
76
  background: linear-gradient(180deg, #42ab44 0%, #f6db7d 100%);
77
77
  -webkit-background-clip: text;
78
78
  -webkit-text-fill-color: transparent;
@@ -1,6 +1,7 @@
1
1
  import type { BenefitsBlockContent } from './BenefitsBlock/BenefitsBlockContent';
2
2
  import type { BonusContent } from './Bonus/BonusContent';
3
3
  import type { BonusBenefitsBlockContent } from './BonusBenefitsBlock/BonusBenefitsBlockContent';
4
+ import type { CardTransferContent } from './CardTransfer/CardTransferContent';
4
5
  import type { ComparisonTableContent } from './ComparisonTable/ComparisonTableContent';
5
6
  import type { ExchangeRateTileContent } from './ExchangeRateTile/ExchangeRateTileContent';
6
7
  import type { FooterContent } from './Footer/FooterContent';
@@ -12,6 +13,7 @@ import type { LinkDocsContent } from './LinkDocs/LinkDocsContent';
12
13
  import type { LinkListContent } from './LinkList/LinkListContent';
13
14
  import type { MobileAppTileContent } from './MobileAppTile/MobileAppTileContent';
14
15
  import type { NavigationContent } from './Navigation/NavigationContent';
16
+ import type { OfficeServicesBlockContent } from './OfficeServicesBlock/OfficeServicesBlockContent';
15
17
  import type { PictureTextContent } from './PictureText/PictureTextContent';
16
18
  import type { PlaceholderContent } from './Placeholder/PlaceholderContent';
17
19
  import type { ProductBlockContent } from './ProductBlock/ProductBlockContent';
@@ -20,10 +22,11 @@ import type { ProductTileContent } from './ProductTile/ProductTileContent';
20
22
  import type { PromoTileContent } from './PromoTile/PromoTileContent';
21
23
  import type { SafeDepositRentalContent } from './SafeDepositRental/SafeDepositRentalContent';
22
24
  import type { StepsBlockContent } from './StepsBlock/StepsBlockContent';
23
- import { TabsContent } from './Tabs/TabsContent';
25
+ import type { TabsContent } from './Tabs/TabsContent';
24
26
  import type { TariffsTableContent } from './TariffsTable/TariffsTableContent';
25
27
  import type { TextBlockContent } from './TextBlock/TextBlockContent';
26
28
  import type { TileContent } from './Tile/TileContent';
29
+ import type { ErrorBlockContent } from './ErrorBlock/ErrorBlockContent';
27
30
 
28
31
  /**
29
32
  * @hidden
@@ -31,6 +34,7 @@ import type { TileContent } from './Tile/TileContent';
31
34
  export type BlockContent =
32
35
  | BenefitsBlockContent
33
36
  | BonusContent
37
+ | CardTransferContent
34
38
  | ComparisonTableContent
35
39
  | ExchangeRateTileContent
36
40
  | FooterContent
@@ -54,4 +58,6 @@ export type BlockContent =
54
58
  | LinkListContent
55
59
  | BonusBenefitsBlockContent
56
60
  | SafeDepositRentalContent
57
- | TabsContent;
61
+ | TabsContent
62
+ | ErrorBlockContent
63
+ | OfficeServicesBlockContent;
@@ -39,7 +39,7 @@ export const BonusCalculatorForm = JSX<BonusCalculatorProps>(
39
39
  {renderWantedSumInput(
40
40
  'Сумма покупок в остальных категориях, ₽',
41
41
  {
42
- className: 'mt-6',
42
+ className: 'mt-7',
43
43
  minSum: minSumOther,
44
44
  maxSum: maxSumOther,
45
45
  moneyValue: restExpenseValue,
@@ -75,9 +75,11 @@ function renderNavButton({ tab, i, activeSlideIndex, onClick }: NavButtonProps)
75
75
 
76
76
  const btnClassName = isActiveBtn
77
77
  ? 'h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white'
78
- : `h-[77px] w-[322px] min-w-[322px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
78
+ : `h-[77px] w-[328px] min-w-[328px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
79
79
  const btnTitleClassName = isActiveBtn ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
80
- const btnDescClassName = isActiveBtn ? 'text-l font-light text-white' : `text-m font-light`;
80
+ const btnDescClassName = isActiveBtn
81
+ ? 'text-l-light text-white'
82
+ : `text-m-light text-secondary-text`;
81
83
  const iconClassName = isActiveBtn ? '' : `text-primary-main`;
82
84
 
83
85
  return (
@@ -86,7 +88,7 @@ function renderNavButton({ tab, i, activeSlideIndex, onClick }: NavButtonProps)
86
88
  key={String(i)}
87
89
  onClick={onClick}
88
90
  aria-label={tab?.title}
89
- className={`box-border font-sans relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]
91
+ className={`box-border relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]
90
92
  ${btnClassName}`}
91
93
  >
92
94
  <Img
@@ -98,7 +100,7 @@ function renderNavButton({ tab, i, activeSlideIndex, onClick }: NavButtonProps)
98
100
  />
99
101
  <div className="border-0">
100
102
  <div className={`${btnTitleClassName}`}>{tab?.title}</div>
101
- <div className={`text-secondary-text ${btnDescClassName}`}>{tab.description}</div>
103
+ <div className={`${btnDescClassName}`}>{tab.description}</div>
102
104
  </div>
103
105
  </button>
104
106
  );
@@ -1,6 +1,7 @@
1
1
  import type { EmptyOption } from '../../model/EmptyOptionType';
2
2
  import type { Picture } from '../../model/Picture';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
+ import type { TitleProps } from '../../model/HeadlineType';
4
5
 
5
6
  export interface CommonCalculatorProps {
6
7
  /** @title Кнопки */
@@ -115,7 +116,8 @@ export interface CalculatorParams {
115
116
  * @title Кредитный калькулятор
116
117
  * @default {"calcType": "CreditCalculatorForm"}
117
118
  */
118
- export type CreditCalculatorParamsDef = CreditCalculatorParams &
119
+ export type CreditCalculatorParamsDef = TitleProps &
120
+ CreditCalculatorParams &
119
121
  CommonCalculatorProps & {
120
122
  calcType: 'CreditCalculatorForm';
121
123
  };
@@ -124,7 +126,8 @@ export type CreditCalculatorParamsDef = CreditCalculatorParams &
124
126
  * @title Ипотечный калькулятор
125
127
  * @default {"calcType": "MortgageCalculatorForm"}
126
128
  */
127
- export type MortgageCalculatorParamsDef = MortgageCalculatorParams &
129
+ export type MortgageCalculatorParamsDef = TitleProps &
130
+ MortgageCalculatorParams &
128
131
  CommonCalculatorProps & {
129
132
  calcType: 'MortgageCalculatorForm';
130
133
  };
@@ -133,7 +136,8 @@ export type MortgageCalculatorParamsDef = MortgageCalculatorParams &
133
136
  * @title Калькулятор вкладов
134
137
  * @default {"calcType": "DepositCalculatorForm"}
135
138
  */
136
- export type DepositCalculatorParamsDef = DepositCalculatorParams &
139
+ export type DepositCalculatorParamsDef = TitleProps &
140
+ DepositCalculatorParams &
137
141
  CommonCalculatorProps & {
138
142
  calcType: 'DepositCalculatorForm';
139
143
  };
@@ -142,7 +146,8 @@ export type DepositCalculatorParamsDef = DepositCalculatorParams &
142
146
  * @title Калькулятор бонусов
143
147
  * @default {"calcType": "BonusCalculatorForm"}
144
148
  */
145
- export type BonusCalculatorParamsDef = BonusCalculatorParams &
149
+ export type BonusCalculatorParamsDef = TitleProps &
150
+ BonusCalculatorParams &
146
151
  CommonCalculatorProps & {
147
152
  calcType: 'BonusCalculatorForm';
148
153
  };
@@ -171,10 +176,10 @@ export interface CalculatorNav {
171
176
  /**
172
177
  * @title Вкладка
173
178
  */
174
- export interface CalculatorTab {
179
+ export type CalculatorTab = TitleProps & {
175
180
  nav?: CalculatorNav;
176
181
  calculatorBlock?: CalculatorBlockDef;
177
- }
182
+ };
178
183
 
179
184
  /**
180
185
  * @title Калькулятор
@@ -13,7 +13,7 @@ export const CalculatorValueBlock = JSX<CalculatorValueBlockProps>(
13
13
  ({ title, value, postfix = '', prefix, className = '' }) => {
14
14
  return (
15
15
  <div className={`mb-5 ${className}`}>
16
- {title ? <div className="text-l-light">{title}</div> : null}
16
+ {title ? <div className="text-l-light text-secondary-text">{title}</div> : null}
17
17
  {value ? (
18
18
  <div className="text-h3">
19
19
  {prefix} {addSpacesBetweenNumbers(Math.round(value))} {postfix}
@@ -55,7 +55,7 @@ export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
55
55
  setMoneyValue,
56
56
  )}
57
57
  {renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue)}
58
- <div className="pt-7">
58
+ <div className="mt-7">
59
59
  <Checkbox
60
60
  text="Получаю зарплату на счёт в Россельхозбанке"
61
61
  checked={isSalaryClient}
@@ -32,8 +32,6 @@ export const MortgageCalculatorForm = JSX<MortgageCalculatorProp>(
32
32
  const maxMonths = /* calculatorParams?.maxMonths || */ DEFAULT_MAX_MONTHS;
33
33
 
34
34
  const rate = getCreditRate({ calculatorParams, isInsurance: isInsurance });
35
-
36
- const monthlyPayment = 777777; // TODO: hardcode
37
35
  const proposalMortgageValue = { credit: 3892000, period: 15, taxRefund: 650000 }; // TODO: hardcode
38
36
 
39
37
  return (
@@ -60,17 +58,13 @@ export const MortgageCalculatorForm = JSX<MortgageCalculatorProp>(
60
58
  <Checkbox text="Страхование жизни" checked={isInsurance} onChange={toggleIsInsurance} />
61
59
  <Checkbox
62
60
  className="mt-4"
63
- text="Страхование жизни, злоровья и временной утраты трудоспособности"
61
+ text="Страхование жизни, здоровья и временной утраты трудоспособности"
64
62
  checked={isFullInsurance}
65
63
  onChange={toggleIsFullInsurance}
66
64
  />
67
65
  </div>
68
66
  </div>
69
- <div>
70
- <Rate rate={rate} rateBlockClassName="tracking-[-25px]" unit="%" />
71
-
72
- <CalculatorValueBlock title="Ежемесячный платеж" value={monthlyPayment} postfix="₽" />
73
- </div>
67
+ <Rate rate={rate} rateBlockClassName="tracking-[-25px]" unit="%" />
74
68
  <div>
75
69
  <div className="w-[351px]">{renderProposalMortgage(proposalMortgageValue)}</div>
76
70
  {renderButtonSection(context, buttons)}
@@ -9,14 +9,14 @@ export interface RateProps {
9
9
 
10
10
  export const Rate = JSX<RateProps>(({ rate, title = 'Ставка', unit, rateBlockClassName }) => (
11
11
  <div>
12
- <div className="text-l-light ml-3">{title}</div>
12
+ <div className="text-l-light text-secondary-text">{title}</div>
13
13
  <div className="flex justify-start">
14
14
  <span
15
- className={`block calc-rate-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`}
15
+ className={`block gradient-color-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`}
16
16
  >
17
17
  {String(rate).replace('.', ',')}
18
18
  </span>
19
- {unit ? <span className="calc-rate-text text-[65px] leading-[75px]">{unit}</span> : ''}
19
+ {unit ? <span className="gradient-color-text text-[65px] leading-[75px]">{unit}</span> : ''}
20
20
  </div>
21
21
  </div>
22
22
  ));
@@ -1,6 +1,7 @@
1
1
  import type { JSXBlock } from '../ContentPage/ContentPage';
2
2
  import type { CalculatorBlockDef } from './CalculatorContent';
3
3
  import { EmbeddableCalcBlocks, EmbeddableCalcProps } from './EmbeddableCalcBlocks';
4
+ import { Heading } from '../../ui-kit/Heading/Heading';
4
5
 
5
6
  export const renderCalculatorBlock =
6
7
  ({ context, className }: any) =>
@@ -18,6 +19,7 @@ export const renderCalculatorBlock =
18
19
  role="listitem"
19
20
  >
20
21
  <div className="box-border p-9 w-full">
22
+ {block?.title ? <Heading className="text-center mb-6" title={block.title} /> : null}
21
23
  <EmbeddedBlock context={context} {...block} className="flex justify-between" />
22
24
  </div>
23
25
  </section>
@@ -17,7 +17,7 @@ export function renderInitialFeeInput(title, props: RenderWantedSumInputParams,
17
17
 
18
18
  return (
19
19
  <InputRange
20
- className="mt-6"
20
+ className="mt-7"
21
21
  title={title}
22
22
  items={[
23
23
  `От ${addSpacesBetweenNumbers(minSum)} рублей`,
@@ -19,7 +19,7 @@ export function renderMonthsInput(title: string, params: RenderMonthsInputParams
19
19
 
20
20
  return (
21
21
  <InputRange
22
- className="mt-6"
22
+ className="mt-7"
23
23
  title={title}
24
24
  items={[`От ${monthText(minMonths)}`, `До ${monthText(maxMonths)}`]}
25
25
  min={minMonths}