@redneckz/wildless-cms-uni-blocks 0.4.6 → 0.4.8

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 (494) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +199 -206
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/BaseTile/BaseTile.js +1 -1
  5. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  6. package/dist/components/BlockContent.d.ts +3 -1
  7. package/dist/components/Blocks.d.ts +2 -0
  8. package/dist/components/Blocks.js +5 -1
  9. package/dist/components/Blocks.js.map +1 -1
  10. package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  11. package/dist/components/Calculator/Calculator.js +7 -5
  12. package/dist/components/Calculator/Calculator.js.map +1 -1
  13. package/dist/components/Calculator/CalculatorContent.d.ts +7 -6
  14. package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  15. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  16. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  17. package/dist/components/Calculator/MortgageCalculatorForm.js +1 -3
  18. package/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  19. package/dist/components/Calculator/Rate.js +1 -1
  20. package/dist/components/Calculator/Rate.js.map +1 -1
  21. package/dist/components/Calculator/renderCalculatorBlock.js +2 -1
  22. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  23. package/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  24. package/dist/components/Calculator/renderMonthsInput.js +1 -1
  25. package/dist/components/Calculator/renderProposalMortgage.js +2 -1
  26. package/dist/components/Calculator/renderProposalMortgage.js.map +1 -1
  27. package/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -1
  28. package/dist/components/ContentPage/isBlockInRegistry.js.map +1 -1
  29. package/dist/components/ContentPage/normalizePage.d.ts +2 -1
  30. package/dist/components/ContentPage/normalizePage.js +8 -7
  31. package/dist/components/ContentPage/normalizePage.js.map +1 -1
  32. package/dist/components/ContentPage/normalizePage.mobile.d.ts +2 -1
  33. package/dist/components/ContentPage/normalizePage.mobile.js +7 -7
  34. package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -1
  35. package/dist/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  36. package/dist/components/ErrorBlock/ErrorBlock.js +23 -0
  37. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -0
  38. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
  39. package/dist/components/ErrorBlock/ErrorBlockContent.js +2 -0
  40. package/dist/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
  41. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  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/Recommendation/RecommendationCard.js +1 -1
  51. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  52. package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  53. package/dist/components/SafeDepositRental/RegionsAndBranches.js +9 -0
  54. package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
  55. package/dist/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  56. package/dist/components/SafeDepositRental/RenderRadioButtons.js +12 -0
  57. package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
  58. package/dist/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  59. package/dist/components/SafeDepositRental/RentalPeriod.js +10 -0
  60. package/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -0
  61. package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  62. package/dist/components/SafeDepositRental/SafeBoxCases.js +9 -0
  63. package/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
  64. package/dist/components/SafeDepositRental/SafeDepositRental.js +5 -71
  65. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  66. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
  67. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
  68. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +51 -67
  69. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  70. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
  71. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +15 -10
  72. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  73. package/dist/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  74. package/dist/components/SafeDepositRental/WrapperSelect.js +10 -0
  75. package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -0
  76. package/dist/components/SafeDepositRental/fetchBranches.d.ts +2 -0
  77. package/dist/components/SafeDepositRental/fetchBranches.js +20 -0
  78. package/dist/components/SafeDepositRental/fetchBranches.js.map +1 -0
  79. package/dist/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  80. package/dist/components/SafeDepositRental/useGetRegions.js +11 -0
  81. package/dist/components/SafeDepositRental/useGetRegions.js.map +1 -0
  82. package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
  83. package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -2
  84. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  85. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
  86. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  87. package/dist/ui-kit/Foldable/Foldable.js +2 -2
  88. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  89. package/dist/ui-kit/Input/Input.js +1 -1
  90. package/dist/ui-kit/Input/Input.js.map +1 -1
  91. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  92. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  93. package/dist/ui-kit/Logo/Logo.js +2 -2
  94. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  95. package/dist/ui-kit/Radio/Radio.js +1 -1
  96. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  97. package/dist/ui-kit/SearchBar/SearchBarInner.js +1 -1
  98. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  99. package/dist/ui-kit/Select/Select.js +1 -1
  100. package/dist/ui-kit/Select/Select.js.map +1 -1
  101. package/dist/ui-kit/Select/SelectOption.d.ts +1 -0
  102. package/dist/ui-kit/Select/SelectOption.js +2 -2
  103. package/dist/ui-kit/Select/SelectOption.js.map +1 -1
  104. package/lib/common.css +1 -1
  105. package/lib/components/BaseTile/BaseTile.js +1 -1
  106. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  107. package/lib/components/BlockContent.d.ts +3 -1
  108. package/lib/components/Blocks.d.ts +2 -0
  109. package/lib/components/Blocks.js +5 -1
  110. package/lib/components/Blocks.js.map +1 -1
  111. package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  112. package/lib/components/Calculator/Calculator.js +7 -5
  113. package/lib/components/Calculator/Calculator.js.map +1 -1
  114. package/lib/components/Calculator/CalculatorContent.d.ts +7 -6
  115. package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  116. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  117. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  118. package/lib/components/Calculator/MortgageCalculatorForm.js +1 -3
  119. package/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  120. package/lib/components/Calculator/Rate.js +1 -1
  121. package/lib/components/Calculator/Rate.js.map +1 -1
  122. package/lib/components/Calculator/renderCalculatorBlock.js +3 -2
  123. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  124. package/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  125. package/lib/components/Calculator/renderMonthsInput.js +1 -1
  126. package/lib/components/Calculator/renderProposalMortgage.js +2 -1
  127. package/lib/components/Calculator/renderProposalMortgage.js.map +1 -1
  128. package/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -1
  129. package/lib/components/ContentPage/isBlockInRegistry.js.map +1 -1
  130. package/lib/components/ContentPage/normalizePage.d.ts +2 -1
  131. package/lib/components/ContentPage/normalizePage.js +8 -7
  132. package/lib/components/ContentPage/normalizePage.js.map +1 -1
  133. package/lib/components/ContentPage/normalizePage.mobile.d.ts +2 -1
  134. package/lib/components/ContentPage/normalizePage.mobile.js +7 -7
  135. package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -1
  136. package/lib/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  137. package/lib/components/ErrorBlock/ErrorBlock.fixture.d.ts +6 -0
  138. package/lib/components/ErrorBlock/ErrorBlock.js +21 -0
  139. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -0
  140. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
  141. package/lib/components/ErrorBlock/ErrorBlockContent.js +2 -0
  142. package/lib/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
  143. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  144. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  145. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +5 -0
  146. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +10 -0
  147. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
  148. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
  149. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
  150. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
  151. package/lib/components/PictureText/PictureText.js +4 -4
  152. package/lib/components/PictureText/PictureText.js.map +1 -1
  153. package/lib/components/Recommendation/RecommendationCard.js +1 -1
  154. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  155. package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  156. package/lib/components/SafeDepositRental/RegionsAndBranches.js +7 -0
  157. package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
  158. package/lib/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  159. package/lib/components/SafeDepositRental/RenderRadioButtons.js +10 -0
  160. package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
  161. package/lib/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  162. package/lib/components/SafeDepositRental/RentalPeriod.js +8 -0
  163. package/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -0
  164. package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  165. package/lib/components/SafeDepositRental/SafeBoxCases.js +7 -0
  166. package/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
  167. package/lib/components/SafeDepositRental/SafeDepositRental.js +5 -71
  168. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  169. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
  170. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
  171. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +50 -65
  172. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  173. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
  174. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +15 -9
  175. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  176. package/lib/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  177. package/lib/components/SafeDepositRental/WrapperSelect.js +8 -0
  178. package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -0
  179. package/lib/components/SafeDepositRental/fetchBranches.d.ts +2 -0
  180. package/lib/components/SafeDepositRental/fetchBranches.js +17 -0
  181. package/lib/components/SafeDepositRental/fetchBranches.js.map +1 -0
  182. package/lib/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  183. package/lib/components/SafeDepositRental/useGetRegions.js +8 -0
  184. package/lib/components/SafeDepositRental/useGetRegions.js.map +1 -0
  185. package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
  186. package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -2
  187. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  188. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
  189. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  190. package/lib/ui-kit/Foldable/Foldable.js +2 -2
  191. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  192. package/lib/ui-kit/Input/Input.js +1 -1
  193. package/lib/ui-kit/Input/Input.js.map +1 -1
  194. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  195. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  196. package/lib/ui-kit/Logo/Logo.js +2 -2
  197. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  198. package/lib/ui-kit/Radio/Radio.js +1 -1
  199. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  200. package/lib/ui-kit/SearchBar/SearchBarInner.js +1 -1
  201. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  202. package/lib/ui-kit/Select/Select.js +1 -1
  203. package/lib/ui-kit/Select/Select.js.map +1 -1
  204. package/lib/ui-kit/Select/SelectOption.d.ts +1 -0
  205. package/lib/ui-kit/Select/SelectOption.js +2 -2
  206. package/lib/ui-kit/Select/SelectOption.js.map +1 -1
  207. package/mobile/bundle/bundle.umd.js +9 -8
  208. package/mobile/bundle/bundle.umd.min.js +1 -1
  209. package/mobile/dist/components/BaseTile/BaseTile.js +1 -1
  210. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  211. package/mobile/dist/components/BlockContent.d.ts +3 -1
  212. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  213. package/mobile/dist/components/Calculator/Calculator.js +7 -5
  214. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  215. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +7 -6
  216. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  217. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  218. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  219. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +1 -3
  220. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  221. package/mobile/dist/components/Calculator/Rate.js +1 -1
  222. package/mobile/dist/components/Calculator/Rate.js.map +1 -1
  223. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +2 -1
  224. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  225. package/mobile/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  226. package/mobile/dist/components/Calculator/renderMonthsInput.js +1 -1
  227. package/mobile/dist/components/Calculator/renderProposalMortgage.js +2 -1
  228. package/mobile/dist/components/Calculator/renderProposalMortgage.js.map +1 -1
  229. package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -1
  230. package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +1 -1
  231. package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -1
  232. package/mobile/dist/components/ContentPage/normalizePage.js +7 -7
  233. package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
  234. package/mobile/dist/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  235. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +23 -0
  236. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -0
  237. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
  238. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.js +2 -0
  239. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
  240. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  241. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +12 -0
  242. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
  243. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
  244. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
  245. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
  246. package/mobile/dist/components/PictureText/PictureText.js +4 -4
  247. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  248. package/mobile/dist/components/Recommendation/RecommendationCard.js +1 -1
  249. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  250. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  251. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +9 -0
  252. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
  253. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  254. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +12 -0
  255. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
  256. package/mobile/dist/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  257. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +10 -0
  258. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -0
  259. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  260. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +9 -0
  261. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
  262. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +5 -71
  263. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  264. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
  265. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
  266. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +51 -67
  267. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  268. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
  269. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +15 -10
  270. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  271. package/mobile/dist/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  272. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js +10 -0
  273. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -0
  274. package/mobile/dist/components/SafeDepositRental/fetchBranches.d.ts +2 -0
  275. package/mobile/dist/components/SafeDepositRental/fetchBranches.js +20 -0
  276. package/mobile/dist/components/SafeDepositRental/fetchBranches.js.map +1 -0
  277. package/mobile/dist/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  278. package/mobile/dist/components/SafeDepositRental/useGetRegions.js +11 -0
  279. package/mobile/dist/components/SafeDepositRental/useGetRegions.js.map +1 -0
  280. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
  281. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -2
  282. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  283. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
  284. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  285. package/mobile/dist/ui-kit/Foldable/Foldable.js +2 -2
  286. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  287. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  288. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  289. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  290. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  291. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  292. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  293. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +1 -1
  294. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  295. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  296. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  297. package/mobile/dist/ui-kit/Select/SelectOption.d.ts +1 -0
  298. package/mobile/dist/ui-kit/Select/SelectOption.js +2 -2
  299. package/mobile/dist/ui-kit/Select/SelectOption.js.map +1 -1
  300. package/mobile/lib/components/BaseTile/BaseTile.js +1 -1
  301. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  302. package/mobile/lib/components/BlockContent.d.ts +3 -1
  303. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  304. package/mobile/lib/components/Calculator/Calculator.js +7 -5
  305. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  306. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +7 -6
  307. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  308. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  309. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  310. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +1 -3
  311. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  312. package/mobile/lib/components/Calculator/Rate.js +1 -1
  313. package/mobile/lib/components/Calculator/Rate.js.map +1 -1
  314. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +3 -2
  315. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  316. package/mobile/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  317. package/mobile/lib/components/Calculator/renderMonthsInput.js +1 -1
  318. package/mobile/lib/components/Calculator/renderProposalMortgage.js +2 -1
  319. package/mobile/lib/components/Calculator/renderProposalMortgage.js.map +1 -1
  320. package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -1
  321. package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +1 -1
  322. package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -1
  323. package/mobile/lib/components/ContentPage/normalizePage.js +7 -7
  324. package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
  325. package/mobile/lib/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  326. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +21 -0
  327. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -0
  328. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
  329. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.js +2 -0
  330. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
  331. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  332. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +10 -0
  333. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
  334. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
  335. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
  336. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
  337. package/mobile/lib/components/PictureText/PictureText.js +4 -4
  338. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  339. package/mobile/lib/components/Recommendation/RecommendationCard.js +1 -1
  340. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  341. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  342. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +7 -0
  343. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
  344. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  345. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +10 -0
  346. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
  347. package/mobile/lib/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  348. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +8 -0
  349. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -0
  350. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  351. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +7 -0
  352. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
  353. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +5 -71
  354. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  355. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
  356. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
  357. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +50 -65
  358. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  359. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
  360. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +15 -9
  361. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  362. package/mobile/lib/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  363. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js +8 -0
  364. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -0
  365. package/mobile/lib/components/SafeDepositRental/fetchBranches.d.ts +2 -0
  366. package/mobile/lib/components/SafeDepositRental/fetchBranches.js +17 -0
  367. package/mobile/lib/components/SafeDepositRental/fetchBranches.js.map +1 -0
  368. package/mobile/lib/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  369. package/mobile/lib/components/SafeDepositRental/useGetRegions.js +8 -0
  370. package/mobile/lib/components/SafeDepositRental/useGetRegions.js.map +1 -0
  371. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
  372. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -2
  373. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  374. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
  375. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  376. package/mobile/lib/ui-kit/Foldable/Foldable.js +2 -2
  377. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  378. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  379. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  380. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  381. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  382. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  383. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  384. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +1 -1
  385. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  386. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  387. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  388. package/mobile/lib/ui-kit/Select/SelectOption.d.ts +1 -0
  389. package/mobile/lib/ui-kit/Select/SelectOption.js +2 -2
  390. package/mobile/lib/ui-kit/Select/SelectOption.js.map +1 -1
  391. package/mobile/src/common.css +1 -1
  392. package/mobile/src/components/BaseTile/BaseTile.tsx +2 -2
  393. package/mobile/src/components/BlockContent.ts +5 -1
  394. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  395. package/mobile/src/components/Calculator/Calculator.tsx +7 -5
  396. package/mobile/src/components/Calculator/CalculatorContent.ts +11 -6
  397. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  398. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  399. package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +2 -8
  400. package/mobile/src/components/Calculator/Rate.tsx +3 -3
  401. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +2 -0
  402. package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +1 -1
  403. package/mobile/src/components/Calculator/renderMonthsInput.tsx +1 -1
  404. package/mobile/src/components/Calculator/renderProposalMortgage.tsx +7 -2
  405. package/mobile/src/components/ContentPage/isBlockInRegistry.ts +3 -1
  406. package/mobile/src/components/ContentPage/normalizePage.ts +8 -6
  407. package/mobile/src/components/ErrorBlock/ErrorBlock.example.json +13 -0
  408. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +45 -0
  409. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +38 -0
  410. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +33 -0
  411. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +41 -0
  412. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +26 -0
  413. package/mobile/src/components/PictureText/PictureText.tsx +6 -6
  414. package/mobile/src/components/Recommendation/RecommendationCard.tsx +18 -16
  415. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +50 -0
  416. package/mobile/src/components/SafeDepositRental/RenderRadioButtons.tsx +29 -0
  417. package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +18 -0
  418. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +48 -0
  419. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +8 -78
  420. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +21 -0
  421. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +86 -143
  422. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +23 -15
  423. package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +45 -0
  424. package/mobile/src/components/SafeDepositRental/fetchBranches.ts +21 -0
  425. package/mobile/src/components/SafeDepositRental/useGetRegions.ts +16 -0
  426. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +58 -75
  427. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +12 -9
  428. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +1 -1
  429. package/mobile/src/ui-kit/Foldable/Foldable.tsx +11 -2
  430. package/mobile/src/ui-kit/Input/Input.tsx +1 -1
  431. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
  432. package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
  433. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
  434. package/mobile/src/ui-kit/Select/Select.tsx +1 -0
  435. package/mobile/src/ui-kit/Select/SelectOption.tsx +3 -2
  436. package/package.json +1 -1
  437. package/src/common.css +1 -1
  438. package/src/components/BaseTile/BaseTile.tsx +2 -2
  439. package/src/components/BlockContent.ts +5 -1
  440. package/src/components/Blocks.ts +5 -1
  441. package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  442. package/src/components/Calculator/Calculator.fixture.tsx +1 -0
  443. package/src/components/Calculator/Calculator.tsx +7 -5
  444. package/src/components/Calculator/CalculatorContent.ts +11 -6
  445. package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  446. package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  447. package/src/components/Calculator/MortgageCalculatorForm.tsx +2 -8
  448. package/src/components/Calculator/Rate.tsx +3 -3
  449. package/src/components/Calculator/renderCalculatorBlock.tsx +2 -0
  450. package/src/components/Calculator/renderInitialFeeInput.tsx +1 -1
  451. package/src/components/Calculator/renderMonthsInput.tsx +1 -1
  452. package/src/components/Calculator/renderProposalMortgage.tsx +7 -2
  453. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
  454. package/src/components/ContentPage/ContentPage.fixture.tsx +2 -2
  455. package/src/components/ContentPage/isBlockInRegistry.ts +3 -1
  456. package/src/components/ContentPage/normalizePage.mobile.ts +8 -6
  457. package/src/components/ContentPage/normalizePage.ts +9 -6
  458. package/src/components/ErrorBlock/ErrorBlock.example.json +13 -0
  459. package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +53 -0
  460. package/src/components/ErrorBlock/ErrorBlock.tsx +45 -0
  461. package/src/components/ErrorBlock/ErrorBlockContent.ts +38 -0
  462. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  463. package/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +33 -0
  464. package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +44 -0
  465. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +41 -0
  466. package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +26 -0
  467. package/src/components/PictureText/PictureText.fixture.tsx +1 -1
  468. package/src/components/PictureText/PictureText.tsx +6 -6
  469. package/src/components/Recommendation/RecommendationCard.tsx +18 -16
  470. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +50 -0
  471. package/src/components/SafeDepositRental/RenderRadioButtons.tsx +29 -0
  472. package/src/components/SafeDepositRental/RentalPeriod.tsx +18 -0
  473. package/src/components/SafeDepositRental/SafeBoxCases.tsx +48 -0
  474. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -0
  475. package/src/components/SafeDepositRental/SafeDepositRental.tsx +8 -78
  476. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +21 -0
  477. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +86 -143
  478. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +23 -15
  479. package/src/components/SafeDepositRental/WrapperSelect.tsx +45 -0
  480. package/src/components/SafeDepositRental/fetchBranches.ts +21 -0
  481. package/src/components/SafeDepositRental/useGetRegions.ts +16 -0
  482. package/src/components/__snapshots__/Blocks.spec.tsx.snap +58 -75
  483. package/src/ui-kit/BenefitItem/BenefitItem.tsx +12 -9
  484. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +1 -1
  485. package/src/ui-kit/Foldable/Foldable.tsx +11 -2
  486. package/src/ui-kit/Input/Input.tsx +1 -1
  487. package/src/ui-kit/InputRange/InputRange.tsx +1 -1
  488. package/src/ui-kit/Logo/Logo.tsx +2 -2
  489. package/src/ui-kit/Radio/Radio.tsx +1 -1
  490. package/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
  491. package/src/ui-kit/Select/Select.tsx +1 -0
  492. package/src/ui-kit/Select/SelectOption.tsx +3 -2
  493. package/mobile/src/components/SafeDepositRental/SafeDepositRental.example.json +0 -3
  494. package/src/components/SafeDepositRental/SafeDepositRental.example.json +0 -3
@@ -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,CA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AAC,KAAK,CAAC,EACrC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,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"}
@@ -1,4 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } 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"}
@@ -10,7 +10,7 @@ export const SearchBarInner = JSX(({ className, isMobile = false }) => {
10
10
  const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
11
11
  const inputPlaceholder = isMobile ? 'some search' : undefined;
12
12
  return (_jsxs("form", { className: `font-sans relative ${className}`, children: [_jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [_jsx("div", { className: LoupeIconClassName, children: _jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (_jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), _jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
13
- outline-none pr-[6%] border-main-divider focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (_jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
13
+ outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (_jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
14
14
  e.preventDefault();
15
15
  setTerm('');
16
16
  }, children: _jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })) : (_jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (ev) => {
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAOjC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAsB,CAAC,EAAE,SAAS,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IACzF,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,CAAC;IAEtC,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAChF,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC;IACrE,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,QAAQ,CAAC;IACjF,MAAM,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;IAE9D,OAAO,CACL,gBAAM,SAAS,EAAE,sBAAsB,SAAS,EAAE,aAChD,eAAK,SAAS,EAAC,yGAAyG,aACtH,cAAK,SAAS,EAAE,kBAAkB,YAChC,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Q,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EAClD,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAE,gBAAgB,GAC7B,EACD,QAAQ,CAAC,CAAC,CAAC,CACV,iBACE,SAAS,EAAC,uHAAuH,EACjI,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,EAAE,CAAC,CAAC;gBACd,CAAC,YAED,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACzC,CACV,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;oBACd,EAAE,EAAE,cAAc,EAAE,CAAC;oBACrB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,cAAK,SAAS,EAAC,oBAAoB,+CAAY,GACxC,CACV,IACI,CACR,CAAC;AACJ,CAAC,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: "", children: children }));
8
8
  });
9
9
  //# sourceMappingURL=Select.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/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D,WAAW,EAAC,EAAE,YAEb,QAAQ,GACF,CACV,CAAC;AACJ,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;
@@ -11,8 +11,8 @@ export const BaseTile = JSX<BaseTileProps>(
11
11
  {title}
12
12
  <div className="flex grow w-full justify-between">
13
13
  <div className="flex flex-col justify-between w-full">
14
- <div>{children}</div>
15
- {buttons ? <div className="mt-auto">{buttons}</div> : null}
14
+ <div className="h-full">{children}</div>
15
+ {buttons ? <div className="mt-auto pt-8">{buttons}</div> : null}
16
16
  </div>
17
17
  {image}
18
18
  </div>
@@ -13,6 +13,7 @@ import type { LinkDocsContent } from './LinkDocs/LinkDocsContent';
13
13
  import type { LinkListContent } from './LinkList/LinkListContent';
14
14
  import type { MobileAppTileContent } from './MobileAppTile/MobileAppTileContent';
15
15
  import type { NavigationContent } from './Navigation/NavigationContent';
16
+ import type { OfficeServicesBlockContent } from './OfficeServicesBlock/OfficeServicesBlockContent';
16
17
  import type { PictureTextContent } from './PictureText/PictureTextContent';
17
18
  import type { PlaceholderContent } from './Placeholder/PlaceholderContent';
18
19
  import type { ProductBlockContent } from './ProductBlock/ProductBlockContent';
@@ -25,6 +26,7 @@ import type { TabsContent } from './Tabs/TabsContent';
25
26
  import type { TariffsTableContent } from './TariffsTable/TariffsTableContent';
26
27
  import type { TextBlockContent } from './TextBlock/TextBlockContent';
27
28
  import type { TileContent } from './Tile/TileContent';
29
+ import type { ErrorBlockContent } from './ErrorBlock/ErrorBlockContent';
28
30
 
29
31
  /**
30
32
  * @hidden
@@ -56,4 +58,6 @@ export type BlockContent =
56
58
  | LinkListContent
57
59
  | BonusBenefitsBlockContent
58
60
  | SafeDepositRentalContent
59
- | 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,
@@ -42,7 +42,7 @@ export const Calculator = JSX<CalculatorProps>(
42
42
  return (
43
43
  <BlockWrapper
44
44
  context={context}
45
- className={`box-border overflow-hidden relative font-sans w-100 text-primary-text ${className}`}
45
+ className={`box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${className}`}
46
46
  {...rest}
47
47
  >
48
48
  <div className="bg-white">
@@ -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}
@@ -6,11 +6,16 @@ type porposalMortgage = {
6
6
  taxRefund: number;
7
7
  };
8
8
 
9
+ const monthlyPayment = 777777; // TODO: hardcode
10
+
9
11
  export function renderProposalMortgage({ credit, period, taxRefund }: porposalMortgage) {
10
12
  return (
11
13
  <div>
12
- {<CalculatorValueBlock title="Сумма кредита" value={credit} postfix="₽" />}
13
- {<CalculatorValueBlock title="Срок" value={period} postfix="лет" />}
14
+ <div className="flex justify-between">
15
+ {<CalculatorValueBlock title="Сумма кредита" value={credit} postfix="₽" />}
16
+ {<CalculatorValueBlock title="Срок" value={period} postfix="лет" className="w-[120px]" />}
17
+ </div>
18
+ {<CalculatorValueBlock title="Ежемесячный платеж" value={monthlyPayment} postfix="₽" />}
14
19
  {<CalculatorValueBlock title="Налоговый вычет" value={taxRefund} postfix="₽" />}
15
20
  </div>
16
21
  );
@@ -1,3 +1,5 @@
1
- export function isBlockInRegistry<T>(blockType: string | undefined, registry: Record<string, T>) {
1
+ import { BlocksRegistry } from './ContentPage';
2
+
3
+ export function isBlockInRegistry(blockType: string | undefined, registry: BlocksRegistry) {
2
4
  return (blockType || '') in registry;
3
5
  }
@@ -1,20 +1,21 @@
1
1
  import type { BlockDef, ContentPageDef, Slot } from '../../types';
2
- import { Blocks } from '../Blocks';
2
+ import { BlocksRegistry } from './ContentPage';
3
3
  import { isBlockInRegistry } from './isBlockInRegistry';
4
4
  import { normalizeBlock } from './normalizeBlock';
5
5
 
6
6
  export function normalizePage(
7
7
  contentPage: ContentPageDef | undefined | null,
8
+ blocksRegistry: BlocksRegistry,
8
9
  ): ContentPageDef | undefined {
9
10
  if (!contentPage) {
10
11
  return undefined;
11
12
  }
12
13
 
13
- const { blocks, slots } = contentPage;
14
+ const { blocks = [], slots } = contentPage;
14
15
 
15
16
  return {
16
17
  ...contentPage,
17
- blocks: getMobileBlocks(blocks),
18
+ blocks: getMobileBlocks(blocks, blocksRegistry),
18
19
  slots:
19
20
  slots &&
20
21
  Object.keys(slots).reduce(
@@ -22,7 +23,7 @@ export function normalizePage(
22
23
  ...res,
23
24
  [key]: {
24
25
  ...slots[key],
25
- blocks: getMobileBlocks((slots[key] as Slot).blocks),
26
+ blocks: getMobileBlocks((slots[key] as Slot).blocks || [], blocksRegistry),
26
27
  },
27
28
  }),
28
29
  {},
@@ -30,11 +31,12 @@ export function normalizePage(
30
31
  };
31
32
  }
32
33
 
33
- function getMobileBlocks(blocks?: BlockDef[]) {
34
+ function getMobileBlocks(blocks: BlockDef[], blocksRegistry: BlocksRegistry) {
34
35
  return blocks
35
36
  ?.filter(
36
37
  (block) =>
37
- isBlockInRegistry(block?.type || block?.mobile?.type, Blocks) && !block.mobile?.hidden,
38
+ isBlockInRegistry(block?.type || block?.mobile?.type, blocksRegistry) &&
39
+ !block.mobile?.hidden,
38
40
  )
39
41
  .map(normalizeBlock);
40
42
  }
@@ -0,0 +1,13 @@
1
+ {
2
+ "title": "Страница не найдена",
3
+ "subtitle": "Возможно неправильно набран адрес или такой странице не существует",
4
+ "error": {
5
+ "errorContentType": "Code",
6
+ "code": 404
7
+ },
8
+ "button": {
9
+ "text": "Вернуться на главную",
10
+ "version": "primary",
11
+ "target": "_blank"
12
+ }
13
+ }
@@ -0,0 +1,45 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import type { UniBlockProps } from '../../types';
3
+ import type { ErrorBlockContent } from './ErrorBlockContent';
4
+ import { useLink } from '../../hooks/useLink';
5
+ import { Button } from '../../ui-kit/Button/Button';
6
+ import { Img } from '../../ui-kit/Img/Img';
7
+ import { Heading } from '../../ui-kit/Heading/Heading';
8
+
9
+ export interface ErrorBlockProps extends ErrorBlockContent, UniBlockProps {}
10
+
11
+ const renderErrorContent = (error: ErrorBlockContent['error']) => {
12
+ if (error?.errorContentType === 'Image' && error?.image) {
13
+ return <Img className="mb-7" image={error.image} />;
14
+ }
15
+
16
+ if (error?.errorContentType === 'Code' && error.code) {
17
+ return <div className="text-title-extra gradient-color-text">{error.code}</div>;
18
+ }
19
+
20
+ return null;
21
+ };
22
+
23
+ export const ErrorBlock = JSX<ErrorBlockProps>(
24
+ ({ context, className = '', title, subtitle, error, button }) => {
25
+ const { useRouter, handlerDecorator } = context;
26
+ const router = useRouter();
27
+
28
+ return (
29
+ <section className={`flex flex-col justify-center items-center ${className}`} role="listitem">
30
+ <div className="flex justify-center mb-7">{renderErrorContent(error)}</div>
31
+ {title ? <Heading headingType="h1" className="text-left mb-4" title={title} /> : null}
32
+ {subtitle ? <div className="text-xl-light text-left mb-7">{subtitle}</div> : null}
33
+ {button?.text ? (
34
+ <Button
35
+ className="py-4 px-9"
36
+ version={button?.version}
37
+ {...useLink({ router, handlerDecorator }, button)}
38
+ >
39
+ {button.text}
40
+ </Button>
41
+ ) : null}
42
+ </section>
43
+ );
44
+ },
45
+ );
@@ -0,0 +1,38 @@
1
+ import type { EmptyOption } from '../../model/EmptyOptionType';
2
+ import type { Picture } from '../../model/Picture';
3
+ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
4
+
5
+ /**
6
+ * @title Изображение
7
+ */
8
+ export type ErrorImageDef = {
9
+ /** @default Image */
10
+ errorContentType: 'Image';
11
+ /** @title Изображение */
12
+ image?: Picture;
13
+ };
14
+
15
+ /**
16
+ * @title Код ошибки
17
+ */
18
+ export type ErrorCodeDef = {
19
+ /** @default Code */
20
+ errorContentType: 'Code';
21
+ /** @title Код ошибки */
22
+ code?: number;
23
+ };
24
+ export type ErrorContentDef = EmptyOption | ErrorImageDef | ErrorCodeDef;
25
+
26
+ /**
27
+ * @title Блок ошибки
28
+ */
29
+ export interface ErrorBlockContent {
30
+ /** @title Заголовок */
31
+ title?: string;
32
+ /** @title Описание */
33
+ subtitle?: string;
34
+ /** @title Вид контента */
35
+ error?: ErrorContentDef;
36
+ /** @title Кнопка */
37
+ button?: ButtonProps;
38
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "title": "Услуги",
3
+ "officesList": [
4
+ {
5
+ "text": "Обслуживание физических лиц",
6
+ "icon": { "icon": "CardTickIcon" }
7
+ },
8
+ {
9
+ "text": "Обслуживание юридических лиц",
10
+ "icon": { "icon": "EmptyWalletChangeIcon" }
11
+ },
12
+ {
13
+ "text": "Продажа монет из драгоценных металлов",
14
+ "icon": { "icon": "UserTickIcon" }
15
+ },
16
+ {
17
+ "text": "Аренда индивидуальных сейфовых ячеек",
18
+ "icon": { "icon": "UserTickIcon" }
19
+ },
20
+ {
21
+ "text": "Операции с обезличенными металлическими счетами",
22
+ "icon": { "icon": "ShieldTickIcon" }
23
+ },
24
+ {
25
+ "text": "Операции со слитками драгоценных металлов",
26
+ "icon": { "icon": "ShieldTickIcon" }
27
+ },
28
+ {
29
+ "text": "Передача фото и голоса в Единую биометрическую систему",
30
+ "icon": { "icon": "ShieldTickIcon" }
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,41 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import type { UniBlockProps } from '../../types';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
+ import { Heading } from '../../ui-kit/Heading/Heading';
5
+ import { Img } from '../../ui-kit/Img/Img';
6
+ import type {
7
+ OfficeServicesBlockContent,
8
+ OfficeServicesBlockList,
9
+ } from './OfficeServicesBlockContent';
10
+
11
+ export interface OfficeServicesBlockProps extends OfficeServicesBlockContent, UniBlockProps {}
12
+
13
+ export const OfficeServicesBlock = JSX<OfficeServicesBlockProps>(
14
+ ({ className = '', context, title, servicesList, anchor = '' }) => {
15
+ return (
16
+ <BlockWrapper
17
+ context={context}
18
+ id={anchor}
19
+ className={`font-sans bg-white p-12 flex flex-col ${className}`}
20
+ >
21
+ {title ? <Heading headingType="h5" className="mb-2.5" title={title} /> : null}
22
+ {servicesList?.length ? servicesList.map(renderListItems) : null}
23
+ </BlockWrapper>
24
+ );
25
+ },
26
+ );
27
+
28
+ const renderListItems = (itemList: OfficeServicesBlockList, i) => (
29
+ <li key={`list_item_${String(i)}`} className="flex mb-2.5 list-none">
30
+ {itemList.icon ? (
31
+ <Img
32
+ className="mr-[14px] max-w-6 max-h-6"
33
+ width="24px"
34
+ height="24px"
35
+ asSVG
36
+ image={itemList.icon}
37
+ />
38
+ ) : null}
39
+ {itemList.text ? <span className="text-l-light">{itemList.text}</span> : null}
40
+ </li>
41
+ );