@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
@@ -2,13 +2,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.renderCalculatorBlock = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const EmbeddableCalcBlocks_1 = require("./EmbeddableCalcBlocks");
5
+ const Heading_1 = require("../../ui-kit/Heading/Heading");
5
6
  const renderCalculatorBlock = ({ context, className }) => (block, i) => {
6
7
  const type = block?.calcType;
7
8
  if (!type || !(type in EmbeddableCalcBlocks_1.EmbeddableCalcBlocks)) {
8
9
  return null;
9
10
  }
10
11
  const EmbeddedBlock = EmbeddableCalcBlocks_1.EmbeddableCalcBlocks[type];
11
- return ((0, jsx_runtime_1.jsx)("section", { className: `box-border relative bg-white flex shrink-0 self-start basis-full ${className}`, role: "listitem", children: (0, jsx_runtime_1.jsx)("div", { className: "box-border p-9 w-full", children: (0, jsx_runtime_1.jsx)(EmbeddedBlock, { context: context, ...block, className: "flex justify-between" }) }) }, String(i)));
12
+ return ((0, jsx_runtime_1.jsx)("section", { className: `box-border relative bg-white flex shrink-0 self-start basis-full ${className}`, role: "listitem", children: (0, jsx_runtime_1.jsxs)("div", { className: "box-border p-9 w-full", children: [block?.title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "text-center mb-6", title: block.title }) : null, (0, jsx_runtime_1.jsx)(EmbeddedBlock, { context: context, ...block, className: "flex justify-between" })] }) }, String(i)));
12
13
  };
13
14
  exports.renderCalculatorBlock = renderCalculatorBlock;
14
15
  //# sourceMappingURL=renderCalculatorBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";;;AAEA,iEAAmF;AAE5E,MAAM,qBAAqB,GAChC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAO,EAAE,EAAE,CAChC,CAAC,KAAyB,EAAE,CAAS,EAAE,EAAE;IACvC,MAAM,IAAI,GAAG,KAAK,EAAE,QAAQ,CAAC;IAC7B,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,2CAAoB,CAAC,EAAE;QAC5C,OAAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAkC,2CAAoB,CAAC,IAAI,CAAC,CAAC;IAEhF,OAAO,CACL,oCAEE,SAAS,EAAE,oEAAoE,SAAS,EAAE,EAC1F,IAAI,EAAC,UAAU,YAEf,gCAAK,SAAS,EAAC,uBAAuB,YACpC,uBAAC,aAAa,IAAC,OAAO,EAAE,OAAO,KAAM,KAAK,EAAE,SAAS,EAAC,sBAAsB,GAAG,GAC3E,IAND,MAAM,CAAC,CAAC,CAAC,CAON,CACX,CAAC;AACJ,CAAC,CAAC;AApBS,QAAA,qBAAqB,yBAoB9B"}
1
+ {"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";;;AAEA,iEAAmF;AACnF,0DAAuD;AAEhD,MAAM,qBAAqB,GAChC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAO,EAAE,EAAE,CAChC,CAAC,KAAyB,EAAE,CAAS,EAAE,EAAE;IACvC,MAAM,IAAI,GAAG,KAAK,EAAE,QAAQ,CAAC;IAC7B,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,2CAAoB,CAAC,EAAE;QAC5C,OAAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAkC,2CAAoB,CAAC,IAAI,CAAC,CAAC;IAEhF,OAAO,CACL,oCAEE,SAAS,EAAE,oEAAoE,SAAS,EAAE,EAC1F,IAAI,EAAC,UAAU,YAEf,iCAAK,SAAS,EAAC,uBAAuB,aACnC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACnF,uBAAC,aAAa,IAAC,OAAO,EAAE,OAAO,KAAM,KAAK,EAAE,SAAS,EAAC,sBAAsB,GAAG,IAC3E,IAPD,MAAM,CAAC,CAAC,CAAC,CAQN,CACX,CAAC;AACJ,CAAC,CAAC;AArBS,QAAA,qBAAqB,yBAqB9B"}
@@ -10,7 +10,7 @@ function renderInitialFeeInput(title, props, callback) {
10
10
  const { moneyValue } = props;
11
11
  const minSum = constants_1.DEFAULT_MIN_SUM;
12
12
  const maxSum = constants_1.DEFAULT_MAX_SUM;
13
- return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { className: "mt-6", title: title, items: [
13
+ return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { className: "mt-7", title: title, items: [
14
14
  `От ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(minSum)} рублей`,
15
15
  `До ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(maxSum)} рублей`,
16
16
  ], min: minSum, max: maxSum, step: STEP_MONEY, value: moneyValue, onChange: callback }));
@@ -10,7 +10,7 @@ function renderMonthsInput(title, params, callback) {
10
10
  const text = Number(month) % 10 === 1 ? 'месяца' : 'месяцев';
11
11
  return `${month} ${text}`;
12
12
  };
13
- return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { className: "mt-6", title: title, items: [`От ${monthText(minMonths)}`, `До ${monthText(maxMonths)}`], min: minMonths, max: maxMonths, step: STEP_MONTHS, value: (0, clamp_1.clamp)(monthsValue, minMonths, maxMonths), onChange: callback }));
13
+ return ((0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { className: "mt-7", title: title, items: [`От ${monthText(minMonths)}`, `До ${monthText(maxMonths)}`], min: minMonths, max: maxMonths, step: STEP_MONTHS, value: (0, clamp_1.clamp)(monthsValue, minMonths, maxMonths), onChange: callback }));
14
14
  }
15
15
  exports.renderMonthsInput = renderMonthsInput;
16
16
  //# sourceMappingURL=renderMonthsInput.js.map
@@ -2,8 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.renderProposalMortgage = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
5
+ const monthlyPayment = 777777; // TODO: hardcode
5
6
  function renderProposalMortgage({ credit, period, taxRefund }) {
6
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430", value: credit, postfix: "\u20BD" }), (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0440\u043E\u043A", value: period, postfix: "\u043B\u0435\u0442" }), (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u041D\u0430\u043B\u043E\u0433\u043E\u0432\u044B\u0439 \u0432\u044B\u0447\u0435\u0442", value: taxRefund, postfix: "\u20BD" })] }));
7
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between", children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430", value: credit, postfix: "\u20BD" }), (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0440\u043E\u043A", value: period, postfix: "\u043B\u0435\u0442", className: "w-[120px]" })] }), (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0435\u0436", value: monthlyPayment, postfix: "\u20BD" }), (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u041D\u0430\u043B\u043E\u0433\u043E\u0432\u044B\u0439 \u0432\u044B\u0447\u0435\u0442", value: taxRefund, postfix: "\u20BD" })] }));
7
8
  }
8
9
  exports.renderProposalMortgage = renderProposalMortgage;
9
10
  //# sourceMappingURL=renderProposalMortgage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderProposalMortgage.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderProposalMortgage.tsx"],"names":[],"mappings":";;;AAAA,iEAA8D;AAQ9D,SAAgB,sBAAsB,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAoB;IACpF,OAAO,CACL,4CACG,uBAAC,2CAAoB,IAAC,KAAK,EAAC,2EAAe,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,GAAG,EACzE,uBAAC,2CAAoB,IAAC,KAAK,EAAC,0BAAM,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,oBAAK,GAAG,EAClE,uBAAC,2CAAoB,IAAC,KAAK,EAAC,uFAAiB,EAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAC,QAAG,GAAG,IAC3E,CACP,CAAC;AACJ,CAAC;AARD,wDAQC"}
1
+ {"version":3,"file":"renderProposalMortgage.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderProposalMortgage.tsx"],"names":[],"mappings":";;;AAAA,iEAA8D;AAQ9D,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,iBAAiB;AAEhD,SAAgB,sBAAsB,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAoB;IACpF,OAAO,CACL,4CACE,iCAAK,SAAS,EAAC,sBAAsB,aAClC,uBAAC,2CAAoB,IAAC,KAAK,EAAC,2EAAe,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,GAAG,EACzE,uBAAC,2CAAoB,IAAC,KAAK,EAAC,0BAAM,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,oBAAK,EAAC,SAAS,EAAC,WAAW,GAAG,IACrF,EACL,uBAAC,2CAAoB,IAAC,KAAK,EAAC,yGAAoB,EAAC,KAAK,EAAE,cAAc,EAAE,OAAO,EAAC,QAAG,GAAG,EACtF,uBAAC,2CAAoB,IAAC,KAAK,EAAC,uFAAiB,EAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAC,QAAG,GAAG,IAC3E,CACP,CAAC;AACJ,CAAC;AAXD,wDAWC"}
@@ -1 +1,2 @@
1
- export declare function isBlockInRegistry<T>(blockType: string | undefined, registry: Record<string, T>): boolean;
1
+ import { BlocksRegistry } from './ContentPage';
2
+ export declare function isBlockInRegistry(blockType: string | undefined, registry: BlocksRegistry): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"isBlockInRegistry.js","sourceRoot":"","sources":["../../../src/components/ContentPage/isBlockInRegistry.ts"],"names":[],"mappings":";;AAAA,SAAgB,iBAAiB,CAAI,SAA6B,EAAE,QAA2B;IAC7F,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,QAAQ,CAAC;AACvC,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"isBlockInRegistry.js","sourceRoot":"","sources":["../../../src/components/ContentPage/isBlockInRegistry.ts"],"names":[],"mappings":";;AAEA,SAAgB,iBAAiB,CAAC,SAA6B,EAAE,QAAwB;IACvF,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,QAAQ,CAAC;AACvC,CAAC;AAFD,8CAEC"}
@@ -1,2 +1,3 @@
1
1
  import type { ContentPageDef } from '../../types';
2
- export declare function normalizePage(contentPage: ContentPageDef | undefined | null): ContentPageDef | undefined;
2
+ import { BlocksRegistry } from './ContentPage';
3
+ export declare function normalizePage(contentPage: ContentPageDef | undefined | null, blocksRegistry: BlocksRegistry): ContentPageDef | undefined;
@@ -1,30 +1,30 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.normalizePage = void 0;
3
- const Blocks_1 = require("../Blocks");
4
3
  const isBlockInRegistry_1 = require("./isBlockInRegistry");
5
4
  const normalizeBlock_1 = require("./normalizeBlock");
6
- function normalizePage(contentPage) {
5
+ function normalizePage(contentPage, blocksRegistry) {
7
6
  if (!contentPage) {
8
7
  return undefined;
9
8
  }
10
- const { blocks, slots } = contentPage;
9
+ const { blocks = [], slots } = contentPage;
11
10
  return {
12
11
  ...contentPage,
13
- blocks: getMobileBlocks(blocks),
12
+ blocks: getMobileBlocks(blocks, blocksRegistry),
14
13
  slots: slots &&
15
14
  Object.keys(slots).reduce((res, key) => ({
16
15
  ...res,
17
16
  [key]: {
18
17
  ...slots[key],
19
- blocks: getMobileBlocks(slots[key].blocks),
18
+ blocks: getMobileBlocks(slots[key].blocks || [], blocksRegistry),
20
19
  },
21
20
  }), {}),
22
21
  };
23
22
  }
24
23
  exports.normalizePage = normalizePage;
25
- function getMobileBlocks(blocks) {
24
+ function getMobileBlocks(blocks, blocksRegistry) {
26
25
  return blocks
27
- ?.filter((block) => (0, isBlockInRegistry_1.isBlockInRegistry)(block?.type || block?.mobile?.type, Blocks_1.Blocks) && !block.mobile?.hidden)
26
+ ?.filter((block) => (0, isBlockInRegistry_1.isBlockInRegistry)(block?.type || block?.mobile?.type, blocksRegistry) &&
27
+ !block.mobile?.hidden)
28
28
  .map(normalizeBlock_1.normalizeBlock);
29
29
  }
30
30
  //# sourceMappingURL=normalizePage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":";;AACA,sCAAmC;AACnC,2DAAwD;AACxD,qDAAkD;AAElD,SAAgB,aAAa,CAC3B,WAA8C;IAE9C,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC;QAC/B,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAE,KAAK,CAAC,GAAG,CAAU,CAAC,MAAM,CAAC;iBACrD;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAzBD,sCAyBC;AAED,SAAS,eAAe,CAAC,MAAmB;IAC1C,OAAO,MAAM;QACX,EAAE,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CACR,IAAA,qCAAiB,EAAC,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CACzF;SACA,GAAG,CAAC,+BAAc,CAAC,CAAC;AACzB,CAAC"}
1
+ {"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":";;AAEA,2DAAwD;AACxD,qDAAkD;AAElD,SAAgB,aAAa,CAC3B,WAA8C,EAC9C,cAA8B;IAE9B,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,EAAE,MAAM,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAE3C,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,cAAc,CAAC;QAC/C,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAE,KAAK,CAAC,GAAG,CAAU,CAAC,MAAM,IAAI,EAAE,EAAE,cAAc,CAAC;iBAC3E;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AA1BD,sCA0BC;AAED,SAAS,eAAe,CAAC,MAAkB,EAAE,cAA8B;IACzE,OAAO,MAAM;QACX,EAAE,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CACR,IAAA,qCAAiB,EAAC,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,CAAC;QACrE,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CACxB;SACA,GAAG,CAAC,+BAAc,CAAC,CAAC;AACzB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../types';
2
+ import type { ErrorBlockContent } from './ErrorBlockContent';
3
+ export interface ErrorBlockProps extends ErrorBlockContent, UniBlockProps {
4
+ }
5
+ export declare const ErrorBlock: import("@redneckz/uni-jsx").UNIComponent<ErrorBlockProps, any, any>;
@@ -0,0 +1,23 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.ErrorBlock = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const useLink_1 = require("../../hooks/useLink");
6
+ const Button_1 = require("../../ui-kit/Button/Button");
7
+ const Img_1 = require("../../ui-kit/Img/Img");
8
+ const Heading_1 = require("../../ui-kit/Heading/Heading");
9
+ const renderErrorContent = (error) => {
10
+ if (error?.errorContentType === 'Image' && error?.image) {
11
+ return (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-7", image: error.image });
12
+ }
13
+ if (error?.errorContentType === 'Code' && error.code) {
14
+ return (0, jsx_runtime_1.jsx)("div", { className: "text-title-extra gradient-color-text", children: error.code });
15
+ }
16
+ return null;
17
+ };
18
+ exports.ErrorBlock = (0, uni_jsx_1.JSX)(({ context, className = '', title, subtitle, error, button }) => {
19
+ const { useRouter, handlerDecorator } = context;
20
+ const router = useRouter();
21
+ return ((0, jsx_runtime_1.jsxs)("section", { className: `flex flex-col justify-center items-center ${className}`, role: "listitem", children: [(0, jsx_runtime_1.jsx)("div", { className: "flex justify-center mb-7", children: renderErrorContent(error) }), title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? (0, jsx_runtime_1.jsx)("div", { className: "text-xl-light text-left mb-7", children: subtitle }) : null, button?.text ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "py-4 px-9", version: button?.version, ...(0, useLink_1.useLink)({ router, handlerDecorator }, button), children: button.text })) : null] }));
22
+ });
23
+ //# sourceMappingURL=ErrorBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorBlock.js","sourceRoot":"","sources":["../../../src/components/ErrorBlock/ErrorBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,iDAA8C;AAC9C,uDAAoD;AACpD,8CAA2C;AAC3C,0DAAuD;AAIvD,MAAM,kBAAkB,GAAG,CAAC,KAAiC,EAAE,EAAE;IAC/D,IAAI,KAAK,EAAE,gBAAgB,KAAK,OAAO,IAAI,KAAK,EAAE,KAAK,EAAE;QACvD,OAAO,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,GAAI,CAAC;KACrD;IAED,IAAI,KAAK,EAAE,gBAAgB,KAAK,MAAM,IAAI,KAAK,CAAC,IAAI,EAAE;QACpD,OAAO,gCAAK,SAAS,EAAC,sCAAsC,YAAE,KAAK,CAAC,IAAI,GAAO,CAAC;KACjF;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEW,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE;IAC9D,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAChD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,OAAO,CACL,qCAAS,SAAS,EAAE,6CAA6C,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aAC3F,gCAAK,SAAS,EAAC,0BAA0B,YAAE,kBAAkB,CAAC,KAAK,CAAC,GAAO,EAC1E,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACpF,QAAQ,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,8BAA8B,YAAE,QAAQ,GAAO,CAAC,CAAC,CAAC,IAAI,EAChF,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,uBAAC,eAAM,IACL,SAAS,EAAC,WAAW,EACrB,OAAO,EAAE,MAAM,EAAE,OAAO,KACpB,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,YAEhD,MAAM,CAAC,IAAI,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,35 @@
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
+ * @title Изображение
6
+ */
7
+ export declare type ErrorImageDef = {
8
+ /** @default Image */
9
+ errorContentType: 'Image';
10
+ /** @title Изображение */
11
+ image?: Picture;
12
+ };
13
+ /**
14
+ * @title Код ошибки
15
+ */
16
+ export declare type ErrorCodeDef = {
17
+ /** @default Code */
18
+ errorContentType: 'Code';
19
+ /** @title Код ошибки */
20
+ code?: number;
21
+ };
22
+ export declare type ErrorContentDef = EmptyOption | ErrorImageDef | ErrorCodeDef;
23
+ /**
24
+ * @title Блок ошибки
25
+ */
26
+ export interface ErrorBlockContent {
27
+ /** @title Заголовок */
28
+ title?: string;
29
+ /** @title Описание */
30
+ subtitle?: string;
31
+ /** @title Вид контента */
32
+ error?: ErrorContentDef;
33
+ /** @title Кнопка */
34
+ button?: ButtonProps;
35
+ }
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=ErrorBlockContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorBlockContent.js","sourceRoot":"","sources":["../../../src/components/ErrorBlock/ErrorBlockContent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../types';
2
+ import type { OfficeServicesBlockContent } from './OfficeServicesBlockContent';
3
+ export interface OfficeServicesBlockProps extends OfficeServicesBlockContent, UniBlockProps {
4
+ }
5
+ export declare const OfficeServicesBlock: import("@redneckz/uni-jsx").UNIComponent<OfficeServicesBlockProps, any, any>;
@@ -0,0 +1,12 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.OfficeServicesBlock = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
+ const Heading_1 = require("../../ui-kit/Heading/Heading");
7
+ const Img_1 = require("../../ui-kit/Img/Img");
8
+ exports.OfficeServicesBlock = (0, uni_jsx_1.JSX)(({ className = '', context, title, servicesList, anchor = '' }) => {
9
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, id: anchor, className: `font-sans bg-white p-12 flex flex-col ${className}`, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h5", className: "mb-2.5", title: title }) : null, servicesList?.length ? servicesList.map(renderListItems) : null] }));
10
+ });
11
+ const renderListItems = (itemList, i) => ((0, jsx_runtime_1.jsxs)("li", { className: "flex mb-2.5 list-none", children: [itemList.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mr-[14px] max-w-6 max-h-6", width: "24px", height: "24px", asSVG: true, image: itemList.icon })) : null, itemList.text ? (0, jsx_runtime_1.jsx)("span", { className: "text-l-light", children: itemList.text }) : null] }, `list_item_${String(i)}`));
12
+ //# sourceMappingURL=OfficeServicesBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAQ9B,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,EAAE;IAChE,OAAO,CACL,wBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,EAAE,EAAE,MAAM,EACV,SAAS,EAAE,yCAAyC,SAAS,EAAE,aAE9D,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC5E,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,IAAI,IACnD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,QAAiC,EAAE,CAAC,EAAE,EAAE,CAAC,CAChE,gCAAmC,SAAS,EAAC,uBAAuB,aACjE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CACf,uBAAC,SAAG,IACF,SAAS,EAAC,2BAA2B,EACrC,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,KAAK,QACL,KAAK,EAAE,QAAQ,CAAC,IAAI,GACpB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,cAAc,YAAE,QAAQ,CAAC,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,KAVtE,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAW5B,CACN,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { Picture } from '../../model/Picture';
2
+ export interface OfficeServicesBlockList {
3
+ /**
4
+ * @title Иконка
5
+ * @default {
6
+ * "size": {
7
+ * "width": 24,
8
+ * "height": 24
9
+ * },
10
+ * "format": "webp"
11
+ * }
12
+ */
13
+ icon?: Picture;
14
+ text?: string;
15
+ }
16
+ /**
17
+ * @title Офисные услуги
18
+ */
19
+ export interface OfficeServicesBlockContent {
20
+ /** @title Заголовок */
21
+ title?: string;
22
+ /** @title Список услуг */
23
+ servicesList?: OfficeServicesBlockList[];
24
+ }
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=OfficeServicesBlockContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OfficeServicesBlockContent.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts"],"names":[],"mappings":""}
@@ -2,14 +2,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.PictureText = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const BlockVersion_1 = require("../../model/BlockVersion");
6
+ const BenefitItem_1 = require("../../ui-kit/BenefitItem/BenefitItem");
5
7
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
8
  const Img_1 = require("../../ui-kit/Img/Img");
7
- const BenefitItem_1 = require("../../ui-kit/BenefitItem/BenefitItem");
8
- const Headline_1 = require("../Headline/Headline");
9
9
  const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
10
- const BlockVersion_1 = require("../../model/BlockVersion");
10
+ const Headline_1 = require("../Headline/Headline");
11
11
  exports.PictureText = (0, uni_jsx_1.JSX)(({ className = '', context, title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => {
12
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans p-14 ${BlockVersion_1.VersionStyleMap[version]} ${className}`, context: context, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center" }), (0, jsx_runtime_1.jsxs)("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: directionRight ? 'order-2 ml-6' : 'mr-6', image: image }), (0, jsx_runtime_1.jsxs)("div", { className: "w-[558px] m-auto", children: [benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(sum, monthLimit)] })] })] }));
12
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans p-14 ${BlockVersion_1.VersionStyleMap[version]} ${className}`, context: context, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center" }), (0, jsx_runtime_1.jsxs)("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: directionRight ? 'order-2' : '', image: image }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "w-[558px] m-auto", children: [benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(sum, monthLimit)] })] })] }));
13
13
  });
14
14
  const renderBenefit = (version) => (benefit, i) => ((0, jsx_runtime_1.jsx)(BenefitItem_1.BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
15
15
  function renderInsuranceSumMonth(sum, monthLimit) {
@@ -1 +1 @@
1
- {"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAKxC,4DAAyD;AACzD,8CAA2C;AAC3C,sEAAmE;AACnE,mDAAgD;AAChD,iFAA8E;AAC9E,2DAA2D;AAI9C,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,GAAG,SAAS,EACnB,GAAG,EACH,UAAU,EACV,cAAc,GAAG,KAAK,EACtB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,2BAA2B,8BAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,EAC7E,OAAO,EAAE,OAAO,KACZ,IAAI,aAER,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,eAAe,EAAE,OAAO,EACxB,KAAK,EAAC,QAAQ,GACd,EACF,iCAAK,SAAS,EAAE,2CAA2C,aACxD,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,IAAC,SAAS,EAAE,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,GAAI,EACzF,iCAAK,SAAS,EAAC,kBAAkB,aAC9B,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,qBAAqB,YAAE,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,GAAO,CAClF,CAAC,CAAC,CAAC,IAAI,EACP,uBAAuB,CAAC,GAAG,EAAE,UAAU,CAAC,IACrC,IACF,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,OAAqB,EAAE,EAAE,CAAC,CAAC,OAAyB,EAAE,CAAS,EAAE,EAAE,CACxF,CACE,uBAAC,yBAAW,IAEV,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,OAAO,EAAE,OAAO,IAJX,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC;AAEJ,SAAS,uBAAuB,CAAC,GAAY,EAAE,UAAmB;IAChE,OAAO,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CACzB,iCAAK,SAAS,EAAC,sDAAsD,aAClE,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAC5F,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC;gBAC1B,CAAC,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;gBAClE,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAG,GAAG,CAAC,EAAE,cAAc,GAAG,KAAK;IACtE,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEvD,OAAO,CACL,iCAAK,SAAS,EAAE,kDAAkD,UAAU,EAAE,aAC5E,iCAAM,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAQ,EACjE,kCAAM,SAAS,EAAC,2BAA2B,aAAE,IAAA,iDAAuB,EAAC,GAAG,CAAC,eAAU,IAC/E,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2DAA2D;AAE3D,sEAAmE;AAEnE,4DAAyD;AACzD,8CAA2C;AAC3C,iFAA8E;AAC9E,mDAAgD;AAKnC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,GAAG,SAAS,EACnB,GAAG,EACH,UAAU,EACV,cAAc,GAAG,KAAK,EACtB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,2BAA2B,8BAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,EAC7E,OAAO,EAAE,OAAO,KACZ,IAAI,aAER,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,eAAe,EAAE,OAAO,EACxB,KAAK,EAAC,QAAQ,GACd,EACF,iCAAK,SAAS,EAAE,2CAA2C,aACxD,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,iCAAK,SAAS,EAAC,kBAAkB,aAC9B,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,qBAAqB,YAAE,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,GAAO,CAClF,CAAC,CAAC,CAAC,IAAI,EACP,uBAAuB,CAAC,GAAG,EAAE,UAAU,CAAC,IACrC,IACF,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,OAAqB,EAAE,EAAE,CAAC,CAAC,OAAyB,EAAE,CAAS,EAAE,EAAE,CACxF,CACE,uBAAC,yBAAW,IAEV,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,OAAO,EAAE,OAAO,IAJX,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC;AAEJ,SAAS,uBAAuB,CAAC,GAAY,EAAE,UAAmB;IAChE,OAAO,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CACzB,iCAAK,SAAS,EAAC,sDAAsD,aAClE,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAC5F,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC;gBAC1B,CAAC,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;gBAClE,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAG,GAAG,CAAC,EAAE,cAAc,GAAG,KAAK;IACtE,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEvD,OAAO,CACL,iCAAK,SAAS,EAAE,kDAAkD,UAAU,EAAE,aAC5E,iCAAM,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAQ,EACjE,kCAAM,SAAS,EAAC,2BAA2B,aAAE,IAAA,iDAAuB,EAAC,GAAG,CAAC,eAAU,IAC/E,CACP,CAAC;AACJ,CAAC"}
@@ -11,6 +11,6 @@ const SocialMedia_1 = require("../Footer/SocialMedia");
11
11
  exports.RecommendationCard = (0, uni_jsx_1.JSX)(({ context, className = '', title, description, items, image, version, socialMedia }) => {
12
12
  const tileTitle = title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
13
13
  const tileImage = image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
14
- return ((0, jsx_runtime_1.jsx)("section", { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { context: context, className: "flex justify-between", title: tileTitle, image: tileImage, children: [description ? (0, jsx_runtime_1.jsx)(Description_1.Description, { className: "mb-2", description: description }) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? ((0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, version: version, context: context })) : null] }) }));
14
+ return ((0, jsx_runtime_1.jsx)("section", { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { context: context, className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "h-full flex flex-col justify-between", children: [description ? (0, jsx_runtime_1.jsx)(Description_1.Description, { className: "mb-2", description: description }) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? ((0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version, context: context })) : null] }) }) }));
15
15
  });
16
16
  //# sourceMappingURL=RecommendationCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,sEAAmE;AACnE,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,mDAAgD;AAChD,uDAAoD;AAOvC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE;IACtF,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAC3E,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,SAAS,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAC7B,uBAAC,SAAG,IAAC,SAAS,EAAC,+BAA+B,EAAC,KAAK,EAAE,KAAK,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,OAAO,CACL,oCACE,SAAS,EAAE,qGAAqG,SAAS,EAAE,EAC3H,IAAI,EAAC,UAAU,YAEf,wBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,sBAAsB,EAChC,KAAK,EAAE,SAAS,EAChB,KAAK,EAAE,SAAS,aAEf,WAAW,CAAC,CAAC,CAAC,uBAAC,yBAAW,IAAC,SAAS,EAAC,MAAM,EAAC,WAAW,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/E,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,wDAAwD,EAClE,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,uBAAC,yBAAW,IACV,SAAS,EAAC,gBAAgB,EAC1B,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,IACC,GACH,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,sEAAmE;AACnE,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,mDAAgD;AAChD,uDAAoD;AAOvC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE;IACtF,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAC3E,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,SAAS,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAC7B,uBAAC,SAAG,IAAC,SAAS,EAAC,+BAA+B,EAAC,KAAK,EAAE,KAAK,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,OAAO,CACL,oCACE,SAAS,EAAE,qGAAqG,SAAS,EAAE,EAC3H,IAAI,EAAC,UAAU,YAEf,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,sBAAsB,EAChC,KAAK,EAAE,SAAS,EAChB,KAAK,EAAE,SAAS,YAEhB,iCAAK,SAAS,EAAC,sCAAsC,aAClD,WAAW,CAAC,CAAC,CAAC,uBAAC,yBAAW,IAAC,SAAS,EAAC,MAAM,EAAC,WAAW,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/E,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,wDAAwD,EAClE,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,uBAAC,yBAAW,IACV,SAAS,EAAC,YAAY,EACtB,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACH,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { Branch } from './SafeDepositRentalContent';
2
+ import { Region } from './useGetRegions';
3
+ interface RegionsAndBranchesProps {
4
+ regions?: Region[];
5
+ selectedRegion: string;
6
+ onSelectedRegion: (value: string) => void;
7
+ branches?: Branch[];
8
+ selectedBranch: string;
9
+ onSelectedBranch: (value: string) => void;
10
+ }
11
+ export declare const RegionsAndBranches: import("@redneckz/uni-jsx").UNIComponent<RegionsAndBranchesProps, any, any>;
12
+ export {};
@@ -0,0 +1,9 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.RegionsAndBranches = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const WrapperSelect_1 = require("./WrapperSelect");
6
+ exports.RegionsAndBranches = (0, uni_jsx_1.JSX)(({ regions = [], selectedRegion, onSelectedRegion: onSelectedRegion, branches = [], selectedBranch, onSelectedBranch, }) => {
7
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between mb-6", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-full mr-4", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: selectedRegion, setSelected: onSelectedRegion, label: "\u0413\u043E\u0440\u043E\u0434" }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-full", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: selectedBranch, setSelected: onSelectedBranch, label: "\u041E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435" }) })] }));
8
+ });
9
+ //# sourceMappingURL=RegionsAndBranches.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RegionsAndBranches.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/RegionsAndBranches.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,mDAAgD;AAWnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,OAAO,GAAG,EAAE,EACZ,cAAc,EACd,gBAAgB,EAAE,gBAAgB,EAClC,QAAQ,GAAG,EAAE,EACb,cAAc,EACd,gBAAgB,GACjB,EAAE,EAAE;IACH,OAAO,CACL,iCAAK,SAAS,EAAC,2BAA2B,aACxC,gCAAK,SAAS,EAAC,aAAa,YAC1B,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,cAAc,EACxB,WAAW,EAAE,gBAAgB,EAC7B,KAAK,EAAC,gCAAO,GACb,GACE,EACN,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,6BAAa,IACZ,IAAI,EAAE,QAAQ,EACd,UAAU,EAAC,YAAY,EACvB,UAAU,EAAC,SAAS,EACpB,QAAQ,EAAE,cAAc,EACxB,WAAW,EAAE,gBAAgB,EAC7B,KAAK,EAAC,wDAAW,EACjB,WAAW,EAAC,yGAAoB,GAChC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RenderRadioButtons: import("@redneckz/uni-jsx").UNIComponent<{}, any, JSX.Element>;
@@ -0,0 +1,12 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.RenderRadioButtons = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const core_1 = require("@redneckz/uni-jsx/lib/hooks/core");
6
+ const Radio_1 = require("../../ui-kit/Radio/Radio");
7
+ exports.RenderRadioButtons = (0, uni_jsx_1.JSX)(() => {
8
+ const [selectedOption, setSelectedOption] = (0, core_1.useState)('option1');
9
+ const onChange = (_) => setSelectedOption(_.target.value);
10
+ return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Radio_1.Radio, { className: "mb-2", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selectedOption === 'option1', onChange: onChange }), (0, jsx_runtime_1.jsx)(Radio_1.Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selectedOption === 'option2', onChange: onChange })] }));
11
+ });
12
+ //# sourceMappingURL=RenderRadioButtons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RenderRadioButtons.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/RenderRadioButtons.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2DAA4D;AAC5D,oDAAiD;AAEpC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EAAC,GAAG,EAAE;IACzC,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,eAAQ,EAAC,SAAS,CAAC,CAAC;IAEhE,MAAM,QAAQ,GAAG,CAAC,CAAsC,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAE/F,OAAO,CACL,4CACE,uBAAC,aAAK,IACJ,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,cAAc,EACnB,IAAI,EAAC,6FAAkB,EACvB,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,cAAc,KAAK,SAAS,EACrC,QAAQ,EAAE,QAAQ,GAClB,EACF,uBAAC,aAAK,IACJ,IAAI,EAAC,cAAc,EACnB,IAAI,EAAC,4HAAwB,EAC7B,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,cAAc,KAAK,SAAS,EACrC,QAAQ,EAAE,QAAQ,GAClB,IACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ interface RentalPeriodProps {
2
+ days: number;
3
+ setDays: (value: number) => void;
4
+ }
5
+ export declare const RentalPeriod: import("@redneckz/uni-jsx").UNIComponent<RentalPeriodProps, any, any>;
6
+ export {};
@@ -0,0 +1,10 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.RentalPeriod = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const InputRange_1 = require("../../ui-kit/InputRange/InputRange");
6
+ const ITEMS = ['От 1 дня', 'До 365 дней'];
7
+ const MIN = 1;
8
+ const MAX = 365;
9
+ exports.RentalPeriod = (0, uni_jsx_1.JSX)(({ days, setDays }) => ((0, jsx_runtime_1.jsxs)("div", { className: "mb-6", children: [(0, jsx_runtime_1.jsx)("span", { className: "block text-m-light mb-[3px]", children: "\u0421\u0440\u043E\u043A \u0430\u0440\u0435\u043D\u0434\u044B" }), (0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { min: MIN, max: MAX, value: days, items: ITEMS, onChange: setDays })] })));
10
+ //# sourceMappingURL=RentalPeriod.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RentalPeriod.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/RentalPeriod.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,mEAAgE;AAEhE,MAAM,KAAK,GAAG,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;AAC1C,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,GAAG,CAAC;AAOH,QAAA,YAAY,GAAG,IAAA,aAAG,EAAoB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACxE,iCAAK,SAAS,EAAC,MAAM,aACnB,iCAAM,SAAS,EAAC,6BAA6B,8EAAmB,EAChE,uBAAC,uBAAU,IAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,GAAI,IAC5E,CACP,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { SafeBoxCase, SafeBoxCaseVolume } from './SafeDepositRentalContent';
2
+ interface SafeBoxCasesProps {
3
+ caseVolumes?: SafeBoxCaseVolume[];
4
+ selectedCaseVolume: string;
5
+ onSelectedCaseVolume: (value: string) => void;
6
+ safeBoxCases?: SafeBoxCase[];
7
+ selectedBoxSize: string;
8
+ onSelectedBoxSize: (value: string) => void;
9
+ }
10
+ export declare const SafeBoxCases: import("@redneckz/uni-jsx").UNIComponent<SafeBoxCasesProps, any, any>;
11
+ export {};
@@ -0,0 +1,9 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.SafeBoxCases = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const WrapperSelect_1 = require("./WrapperSelect");
6
+ exports.SafeBoxCases = (0, uni_jsx_1.JSX)(({ caseVolumes = [], selectedCaseVolume, onSelectedCaseVolume, safeBoxCases = [], selectedBoxSize, onSelectedBoxSize, }) => {
7
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between mb-6", children: [(0, jsx_runtime_1.jsx)("div", { className: "mr-4 w-full", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-full", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] }));
8
+ });
9
+ //# sourceMappingURL=SafeBoxCases.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SafeBoxCases.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeBoxCases.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,mDAAgD;AAWnC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EACC,WAAW,GAAG,EAAE,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,GAAG,EAAE,EACjB,eAAe,EACf,iBAAiB,GAClB,EAAE,EAAE;IACH,OAAO,CACL,iCAAK,SAAS,EAAC,2BAA2B,aACxC,gCAAK,SAAS,EAAC,aAAa,YAC1B,uBAAC,6BAAa,IACZ,IAAI,EAAE,WAAW,EACjB,UAAU,EAAC,QAAQ,EACnB,QAAQ,EAAE,kBAAkB,EAC5B,WAAW,EAAE,oBAAoB,EACjC,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,EACN,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,6BAAa,IACZ,IAAI,EAAE,YAAY,EAClB,UAAU,EAAC,kBAAkB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,iBAAiB,EAC9B,KAAK,EAAC,4IAA8B,EACpC,WAAW,EAAC,wIAA0B,GACtC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -2,78 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.SafeDepositRental = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
+ const Heading_1 = require("../../ui-kit/Heading/Heading");
7
7
  const SafeDepositRentalForm_1 = require("./SafeDepositRentalForm");
8
- const SafeDepositRentalTotal_1 = require("./SafeDepositRentalTotal");
9
- const DEFAULT_DAYS = 26;
10
- const DATA = {
11
- cities: [
12
- {
13
- city: 'Москва',
14
- offices: [
15
- {
16
- office: 'выберите отделение',
17
- rate: null,
18
- },
19
- {
20
- office: 'МоскваОфис1',
21
- rate: 1,
22
- },
23
- {
24
- office: 'МоскваОфис2',
25
- rate: 2,
26
- },
27
- {
28
- office: 'МоскваОфис3',
29
- rate: 3,
30
- },
31
- ],
32
- },
33
- {
34
- city: 'Краснодар',
35
- offices: [
36
- {
37
- office: 'КраснодарОфис1',
38
- rate: 2,
39
- },
40
- {
41
- office: 'КраснодарОфис2',
42
- rate: 4,
43
- },
44
- {
45
- office: 'КраснодарОфис3',
46
- rate: 6,
47
- },
48
- ],
49
- },
50
- ],
51
- cellDimensions: [
52
- {
53
- dimension: 'маленькая',
54
- },
55
- {
56
- dimension: 'средняя',
57
- },
58
- {
59
- dimension: 'большая',
60
- },
61
- ],
62
- cellOptions: [
63
- {
64
- option: '125x225x375',
65
- },
66
- {
67
- option: '200x300x400',
68
- },
69
- {
70
- option: '300x400x500',
71
- },
72
- ],
73
- };
74
- exports.SafeDepositRental = (0, uni_jsx_1.JSX)(({ context, className = '', ...rest }) => {
75
- const [days, setDays] = (0, hooks_1.useState)(DEFAULT_DAYS);
76
- const data = DATA;
77
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, className: `bg-white px-8 py-12 ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between align-top mb-6", children: [data?.cities?.length ? ((0, jsx_runtime_1.jsx)(SafeDepositRentalForm_1.SafeDepositRentalForm, { ...data, days: days, setDays: setDays })) : null, (0, jsx_runtime_1.jsx)(SafeDepositRentalTotal_1.SafeDepositRentalTotal, { days: days })] }), (0, jsx_runtime_1.jsx)("p", { className: "text-s-light text-secondary-text", children: "\u0410\u0440\u0435\u043D\u0434\u0430 \u0421\u042F, \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u043A\u0443\u043F\u043B\u0438-\u043F\u0440\u043E\u0434\u0430\u0436\u0438, \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043D\u0430\u043B\u0438\u0447\u043D\u044B\u0445 \u0434\u0435\u043D\u0435\u0433 \u0438\u043B\u0438 \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u0438\u043F\u043E\u0442\u0435\u0447\u043D\u043E\u0439 \u0441\u0434\u0435\u043B\u043A\u0438" })] }));
8
+ const useGetRegions_1 = require("./useGetRegions");
9
+ exports.SafeDepositRental = (0, uni_jsx_1.JSX)(({ title, context, className = '', ...rest }) => {
10
+ const regions = (0, useGetRegions_1.useGetRegions)();
11
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, className: `bg-white px-8 py-12 ${className}`, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { title: title, headingType: "h3", as: "h2", className: "mb-2.5 text-center" })) : null, (0, jsx_runtime_1.jsx)(SafeDepositRentalForm_1.SafeDepositRentalForm, { regions: regions }), (0, jsx_runtime_1.jsx)("p", { className: "text-s-light text-secondary-text", children: "\u0410\u0440\u0435\u043D\u0434\u0430 \u0421\u042F, \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u043A\u0443\u043F\u043B\u0438-\u043F\u0440\u043E\u0434\u0430\u0436\u0438, \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043D\u0430\u043B\u0438\u0447\u043D\u044B\u0445 \u0434\u0435\u043D\u0435\u0433 \u0438\u043B\u0438 \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u0438\u043F\u043E\u0442\u0435\u0447\u043D\u043E\u0439 \u0441\u0434\u0435\u043B\u043A\u0438" })] }));
78
12
  });
79
13
  //# sourceMappingURL=SafeDepositRental.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,4DAAyD;AAEzD,mEAAgE;AAChE,qEAAkE;AAIlE,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB,MAAM,IAAI,GAAG;IACX,MAAM,EAAE;QACN;YACE,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP;oBACE,MAAM,EAAE,oBAAoB;oBAC5B,IAAI,EAAE,IAAI;iBACX;gBACD;oBACE,MAAM,EAAE,aAAa;oBACrB,IAAI,EAAE,CAAC;iBACR;gBACD;oBACE,MAAM,EAAE,aAAa;oBACrB,IAAI,EAAE,CAAC;iBACR;gBACD;oBACE,MAAM,EAAE,aAAa;oBACrB,IAAI,EAAE,CAAC;iBACR;aACF;SACF;QACD;YACE,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE;gBACP;oBACE,MAAM,EAAE,gBAAgB;oBACxB,IAAI,EAAE,CAAC;iBACR;gBACD;oBACE,MAAM,EAAE,gBAAgB;oBACxB,IAAI,EAAE,CAAC;iBACR;gBACD;oBACE,MAAM,EAAE,gBAAgB;oBACxB,IAAI,EAAE,CAAC;iBACR;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,SAAS,EAAE,WAAW;SACvB;QACD;YACE,SAAS,EAAE,SAAS;SACrB;QACD;YACE,SAAS,EAAE,SAAS;SACrB;KACF;IACD,WAAW,EAAE;QACX;YACE,MAAM,EAAE,aAAa;SACtB;QACD;YACE,MAAM,EAAE,aAAa;SACtB;QACD;YACE,MAAM,EAAE,aAAa;SACtB;KACF;CACF,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACvC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,EAAC,YAAY,CAAC,CAAC;IAC/C,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,OAAO,CACL,wBAAC,2BAAY,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,uBAAuB,SAAS,EAAE,KAAM,IAAI,aACrF,iCAAK,SAAS,EAAC,qCAAqC,aACjD,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CACtB,uBAAC,6CAAqB,OAAK,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,GAAI,CAClE,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,+CAAsB,IAAC,IAAI,EAAE,IAAI,GAAI,IAClC,EACN,8BAAG,SAAS,EAAC,kCAAkC,goBAG3C,IACS,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AAEvD,mEAAgE;AAChE,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9C,MAAM,OAAO,GAAG,IAAA,6BAAa,GAAE,CAAC;IAEhC,OAAO,CACL,wBAAC,2BAAY,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,uBAAuB,SAAS,EAAE,KAAM,IAAI,aACpF,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,oBAAoB,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,6CAAqB,IAAC,OAAO,EAAE,OAAO,GAAI,EAC3C,8BAAG,SAAS,EAAC,kCAAkC,goBAG3C,IACS,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,3 +1,20 @@
1
+ export interface Tariff {
2
+ tariffType?: string;
3
+ tariffValue?: number;
4
+ }
5
+ export interface SafeBoxCase {
6
+ safeBoxCasesSize?: string;
7
+ tariffs?: Tariff[];
8
+ }
9
+ export interface SafeBoxCaseVolume {
10
+ volume?: string;
11
+ safeBoxCases?: SafeBoxCase[];
12
+ }
13
+ export interface Branch {
14
+ branchCode?: string;
15
+ address?: string;
16
+ safeBoxCaseVolumes?: SafeBoxCaseVolume[];
17
+ }
1
18
  /**
2
19
  * @title Аренда сейфовых ячеек
3
20
  */
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { UniBlockProps } from '../../types';
3
- export declare type SafeDepositRentalFormProps = UniBlockProps;
4
- export declare const SafeDepositRentalForm: import("@redneckz/uni-jsx").UNIComponent<any, any, any>;
5
- export declare const renderRentalPeriod: (days: any, setDays: any) => JSX.Element;
1
+ import type { Region } from './useGetRegions';
2
+ export interface SafeDepositRentalFormProps {
3
+ regions?: Region[];
4
+ }
5
+ export declare const SafeDepositRentalForm: import("@redneckz/uni-jsx").UNIComponent<SafeDepositRentalFormProps, any, any>;