@redneckz/wildless-cms-uni-blocks 0.12.12 → 0.12.13

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 (374) hide show
  1. package/bin/migration-scripts/0.12.10.js +59 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +90 -66
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  6. package/bundle/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  7. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  8. package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  9. package/bundle/components/Carousel/Carousel.d.ts +1 -1
  10. package/bundle/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  11. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  12. package/bundle/components/Footer/Contacts.d.ts +0 -1
  13. package/bundle/components/Footer/MediaButton.d.ts +1 -1
  14. package/bundle/components/Footer/buttonSizeStyles.d.ts +4 -0
  15. package/bundle/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
  16. package/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  17. package/dist/components/ApplicationForm/ApplicationForm.js +16 -14
  18. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  19. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  20. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  21. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +22 -0
  22. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  23. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  24. package/dist/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  25. package/dist/components/ApplicationForm/EmbeddableForms.js +17 -0
  26. package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  27. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  28. package/dist/components/Bonus/Bonus.js +10 -13
  29. package/dist/components/Bonus/Bonus.js.map +1 -1
  30. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
  31. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  32. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  33. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  34. package/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  35. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  36. package/dist/components/Carousel/Carousel.d.ts +1 -1
  37. package/dist/components/Carousel/Carousel.js.map +1 -1
  38. package/dist/components/Carousel/CarouselScrollButtons.js +2 -2
  39. package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  40. package/dist/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  41. package/dist/components/CarouselLinks/CarouselLinks.js +7 -8
  42. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  43. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  44. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  45. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  46. package/dist/components/ContentPage/ContentPage.js +2 -2
  47. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  48. package/dist/components/Footer/Contacts.d.ts +0 -1
  49. package/dist/components/Footer/Contacts.js +3 -4
  50. package/dist/components/Footer/Contacts.js.map +1 -1
  51. package/dist/components/Footer/Footer.js +2 -2
  52. package/dist/components/Footer/Footer.js.map +1 -1
  53. package/dist/components/Footer/Footer.mobile.js +4 -3
  54. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  55. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  56. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  57. package/dist/components/Footer/HorizontalNavigation.mobile.js +1 -1
  58. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  59. package/dist/components/Footer/MediaButton.d.ts +1 -1
  60. package/dist/components/Footer/SocialMedia.js +2 -1
  61. package/dist/components/Footer/SocialMedia.js.map +1 -1
  62. package/dist/components/Footer/TextInformation.js +1 -1
  63. package/dist/components/Footer/TextInformation.js.map +1 -1
  64. package/dist/components/Footer/buttonSizeStyles.d.ts +4 -0
  65. package/dist/components/Footer/buttonSizeStyles.js +7 -0
  66. package/dist/components/Footer/buttonSizeStyles.js.map +1 -0
  67. package/dist/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
  68. package/dist/components/Footer/buttonSizeStyles.mobile.js +7 -0
  69. package/dist/components/Footer/buttonSizeStyles.mobile.js.map +1 -0
  70. package/dist/components/Footer/buttonStylesWithText.js +2 -5
  71. package/dist/components/Footer/buttonStylesWithText.js.map +1 -1
  72. package/dist/components/MobileAppTile/renderDescription.js +1 -1
  73. package/dist/components/MobileAppTile/renderDescription.js.map +1 -1
  74. package/dist/components/RollupItem/RollupItem.js +1 -1
  75. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  76. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  77. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  78. package/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  79. package/dist/ui-kit/LinkButton/LinkButton.js +4 -3
  80. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  81. package/dist/ui-kit/LinkList/LinkList.js +2 -2
  82. package/dist/ui-kit/LinkList/LinkList.js.map +1 -1
  83. package/lib/common.css +1 -1
  84. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
  85. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +1 -0
  86. package/lib/components/ApplicationForm/ApplicationForm.js +16 -14
  87. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  88. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  89. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  90. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +20 -0
  91. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  92. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  93. package/lib/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  94. package/lib/components/ApplicationForm/EmbeddableForms.js +15 -0
  95. package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  96. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  97. package/lib/components/Bonus/Bonus.fixture.mobile.d.ts +8 -0
  98. package/lib/components/Bonus/Bonus.js +10 -13
  99. package/lib/components/Bonus/Bonus.js.map +1 -1
  100. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
  101. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  102. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  103. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  104. package/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  105. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  106. package/lib/components/Carousel/Carousel.d.ts +1 -1
  107. package/lib/components/Carousel/Carousel.js.map +1 -1
  108. package/lib/components/Carousel/CarouselScrollButtons.js +2 -2
  109. package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  110. package/lib/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  111. package/lib/components/CarouselLinks/CarouselLinks.fixture.mobile.d.ts +6 -0
  112. package/lib/components/CarouselLinks/CarouselLinks.js +7 -8
  113. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  114. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  115. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  116. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  117. package/lib/components/ContentPage/ContentPage.js +2 -2
  118. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  119. package/lib/components/Footer/Contacts.d.ts +0 -1
  120. package/lib/components/Footer/Contacts.js +3 -4
  121. package/lib/components/Footer/Contacts.js.map +1 -1
  122. package/lib/components/Footer/Footer.js +2 -2
  123. package/lib/components/Footer/Footer.js.map +1 -1
  124. package/lib/components/Footer/Footer.mobile.js +4 -3
  125. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  126. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  127. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  128. package/lib/components/Footer/HorizontalNavigation.mobile.js +1 -1
  129. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  130. package/lib/components/Footer/MediaButton.d.ts +1 -1
  131. package/lib/components/Footer/SocialMedia.js +2 -1
  132. package/lib/components/Footer/SocialMedia.js.map +1 -1
  133. package/lib/components/Footer/TextInformation.js +1 -1
  134. package/lib/components/Footer/TextInformation.js.map +1 -1
  135. package/lib/components/Footer/buttonSizeStyles.d.ts +4 -0
  136. package/lib/components/Footer/buttonSizeStyles.js +5 -0
  137. package/lib/components/Footer/buttonSizeStyles.js.map +1 -0
  138. package/lib/components/Footer/buttonSizeStyles.mobile.d.ts +4 -0
  139. package/lib/components/Footer/buttonSizeStyles.mobile.js +5 -0
  140. package/lib/components/Footer/buttonSizeStyles.mobile.js.map +1 -0
  141. package/lib/components/Footer/buttonStylesWithText.js +1 -4
  142. package/lib/components/Footer/buttonStylesWithText.js.map +1 -1
  143. package/lib/components/MobileAppTile/renderDescription.js +1 -1
  144. package/lib/components/MobileAppTile/renderDescription.js.map +1 -1
  145. package/lib/components/RollupItem/RollupItem.js +1 -1
  146. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  147. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  148. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  149. package/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  150. package/lib/ui-kit/LinkButton/LinkButton.fixture.mobile.d.ts +6 -0
  151. package/lib/ui-kit/LinkButton/LinkButton.js +4 -3
  152. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  153. package/lib/ui-kit/LinkList/LinkList.js +2 -2
  154. package/lib/ui-kit/LinkList/LinkList.js.map +1 -1
  155. package/mobile/bundle/bundle.umd.js +65 -37
  156. package/mobile/bundle/bundle.umd.min.js +1 -1
  157. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  158. package/mobile/bundle/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  159. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  160. package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  161. package/mobile/bundle/components/Carousel/Carousel.d.ts +1 -1
  162. package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  163. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  164. package/mobile/bundle/components/Footer/Contacts.d.ts +0 -1
  165. package/mobile/bundle/components/Footer/MediaButton.d.ts +1 -1
  166. package/mobile/bundle/components/Footer/SocialMedia.d.ts +4 -2
  167. package/mobile/bundle/components/Footer/buttonSizeStyles.d.ts +4 -0
  168. package/mobile/bundle/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  169. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +16 -14
  170. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  171. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  172. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  173. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +22 -0
  174. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  175. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  176. package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  177. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +17 -0
  178. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  179. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  180. package/mobile/dist/components/Bonus/Bonus.js +10 -13
  181. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  182. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
  183. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  184. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  185. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  186. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  187. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  188. package/mobile/dist/components/Carousel/Carousel.d.ts +1 -1
  189. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  190. package/mobile/dist/components/Carousel/CarouselScrollButtons.js +2 -2
  191. package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  192. package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  193. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +7 -8
  194. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  195. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  196. package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
  197. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  198. package/mobile/dist/components/Footer/Contacts.d.ts +0 -1
  199. package/mobile/dist/components/Footer/Contacts.js +3 -4
  200. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  201. package/mobile/dist/components/Footer/Footer.js +4 -3
  202. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  203. package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
  204. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  205. package/mobile/dist/components/Footer/MediaButton.d.ts +1 -1
  206. package/mobile/dist/components/Footer/SocialMedia.d.ts +4 -2
  207. package/mobile/dist/components/Footer/SocialMedia.js +3 -1
  208. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  209. package/mobile/dist/components/Footer/TextInformation.js +1 -1
  210. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  211. package/mobile/dist/components/Footer/buttonSizeStyles.d.ts +4 -0
  212. package/mobile/dist/components/Footer/buttonSizeStyles.js +7 -0
  213. package/mobile/dist/components/Footer/buttonSizeStyles.js.map +1 -0
  214. package/mobile/dist/components/Footer/buttonStylesWithText.js +2 -5
  215. package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -1
  216. package/mobile/dist/components/MobileAppTile/renderDescription.js +1 -1
  217. package/mobile/dist/components/MobileAppTile/renderDescription.js.map +1 -1
  218. package/mobile/dist/components/RollupItem/RollupItem.js +1 -1
  219. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  220. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  221. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  222. package/mobile/dist/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  223. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +4 -3
  224. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  225. package/mobile/dist/ui-kit/LinkList/LinkList.js +2 -2
  226. package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -1
  227. package/mobile/lib/common.css +1 -1
  228. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +16 -14
  229. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  230. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +52 -6
  231. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.d.ts +2 -0
  232. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +20 -0
  233. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -0
  234. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +1 -0
  235. package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +8 -0
  236. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +15 -0
  237. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -0
  238. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  239. package/mobile/lib/components/Bonus/Bonus.js +10 -13
  240. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  241. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +4 -4
  242. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  243. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  244. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  245. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  246. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  247. package/mobile/lib/components/Carousel/Carousel.d.ts +1 -1
  248. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  249. package/mobile/lib/components/Carousel/CarouselScrollButtons.js +2 -2
  250. package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  251. package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +1 -0
  252. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +7 -8
  253. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  254. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +2 -0
  255. package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
  256. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  257. package/mobile/lib/components/Footer/Contacts.d.ts +0 -1
  258. package/mobile/lib/components/Footer/Contacts.js +3 -4
  259. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  260. package/mobile/lib/components/Footer/Footer.js +4 -3
  261. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  262. package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
  263. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  264. package/mobile/lib/components/Footer/MediaButton.d.ts +1 -1
  265. package/mobile/lib/components/Footer/SocialMedia.d.ts +4 -2
  266. package/mobile/lib/components/Footer/SocialMedia.js +4 -2
  267. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  268. package/mobile/lib/components/Footer/TextInformation.js +1 -1
  269. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  270. package/mobile/lib/components/Footer/buttonSizeStyles.d.ts +4 -0
  271. package/mobile/lib/components/Footer/buttonSizeStyles.js +5 -0
  272. package/mobile/lib/components/Footer/buttonSizeStyles.js.map +1 -0
  273. package/mobile/lib/components/Footer/buttonStylesWithText.js +1 -4
  274. package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -1
  275. package/mobile/lib/components/MobileAppTile/renderDescription.js +1 -1
  276. package/mobile/lib/components/MobileAppTile/renderDescription.js.map +1 -1
  277. package/mobile/lib/components/RollupItem/RollupItem.js +1 -1
  278. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  279. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.d.ts +7 -0
  280. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js +2 -0
  281. package/mobile/lib/services/regionsGrantSupport/RegionsGrantSupportData.js.map +1 -0
  282. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +4 -3
  283. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  284. package/mobile/lib/ui-kit/LinkList/LinkList.js +2 -2
  285. package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -1
  286. package/mobile/src/common.css +1 -1
  287. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +31 -19
  288. package/mobile/src/components/ApplicationForm/ApplicationForm.ui.json +12 -0
  289. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +70 -11
  290. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +51 -0
  291. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +1 -0
  292. package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +15 -0
  293. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  294. package/mobile/src/components/Bonus/Bonus.tsx +33 -28
  295. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +11 -6
  296. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  297. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  298. package/mobile/src/components/Carousel/Carousel.tsx +5 -3
  299. package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +10 -3
  300. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +25 -14
  301. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +2 -0
  302. package/mobile/src/components/ContentPage/ContentPage.tsx +3 -3
  303. package/mobile/src/components/Footer/Contacts.tsx +15 -19
  304. package/mobile/src/components/Footer/Footer.tsx +27 -13
  305. package/mobile/src/components/Footer/HorizontalNavigation.tsx +10 -3
  306. package/mobile/src/components/Footer/MediaButton.tsx +1 -1
  307. package/mobile/src/components/Footer/SocialMedia.tsx +22 -9
  308. package/mobile/src/components/Footer/TextInformation.tsx +2 -2
  309. package/mobile/src/components/Footer/buttonSizeStyles.ts +6 -0
  310. package/mobile/src/components/Footer/buttonStylesWithText.ts +1 -5
  311. package/mobile/src/components/MobileAppTile/renderDescription.tsx +1 -1
  312. package/mobile/src/components/RollupItem/RollupItem.tsx +1 -1
  313. package/mobile/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +8 -0
  314. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +22 -9
  315. package/mobile/src/ui-kit/LinkList/LinkList.tsx +3 -3
  316. package/package.json +1 -1
  317. package/src/common.css +1 -1
  318. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +41 -7
  319. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +41 -7
  320. package/src/components/ApplicationForm/ApplicationForm.tsx +31 -19
  321. package/src/components/ApplicationForm/ApplicationForm.ui.json +12 -0
  322. package/src/components/ApplicationForm/ApplicationFormContent.ts +70 -11
  323. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +51 -0
  324. package/src/components/ApplicationForm/ApplicationFormsProps.ts +1 -0
  325. package/src/components/ApplicationForm/EmbeddableForms.tsx +15 -0
  326. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  327. package/src/components/Bonus/Bonus.fixture.mobile.tsx +72 -0
  328. package/src/components/Bonus/Bonus.tsx +33 -28
  329. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +11 -6
  330. package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  331. package/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  332. package/src/components/Carousel/Carousel.tsx +5 -3
  333. package/src/components/Carousel/CarouselScrollButtons.tsx +10 -3
  334. package/src/components/CarouselLinks/CarouselLinks.fixture.mobile.tsx +34 -0
  335. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +3 -0
  336. package/src/components/CarouselLinks/CarouselLinks.tsx +25 -14
  337. package/src/components/CarouselLinks/CarouselLinksContent.ts +2 -0
  338. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
  339. package/src/components/ContentPage/ContentPage.tsx +3 -3
  340. package/src/components/Footer/Contacts.tsx +15 -19
  341. package/src/components/Footer/Footer.mobile.tsx +27 -13
  342. package/src/components/Footer/Footer.tsx +6 -8
  343. package/src/components/Footer/HorizontalNavigation.mobile.tsx +10 -3
  344. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  345. package/src/components/Footer/MediaButton.tsx +1 -1
  346. package/src/components/Footer/SocialMedia.tsx +9 -6
  347. package/src/components/Footer/TextInformation.tsx +2 -2
  348. package/src/components/Footer/buttonSizeStyles.mobile.ts +6 -0
  349. package/src/components/Footer/buttonSizeStyles.ts +6 -0
  350. package/src/components/Footer/buttonStylesWithText.ts +1 -5
  351. package/src/components/MobileAppTile/renderDescription.tsx +1 -1
  352. package/src/components/RollupItem/RollupItem.tsx +1 -1
  353. package/src/services/regionsGrantSupport/RegionsGrantSupportData.ts +8 -0
  354. package/src/ui-kit/LinkButton/LinkButton.fixture.mobile.tsx +11 -0
  355. package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +1 -1
  356. package/src/ui-kit/LinkButton/LinkButton.tsx +22 -9
  357. package/src/ui-kit/LinkList/LinkList.tsx +3 -3
  358. package/tailwind.config.cjs +5 -5
  359. package/bundle/components/Footer/SocialMedia.mobile.d.ts +0 -6
  360. package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
  361. package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -6
  362. package/dist/components/Footer/SocialMedia.mobile.js +0 -7
  363. package/dist/components/Footer/SocialMedia.mobile.js.map +0 -1
  364. package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
  365. package/dist/components/Footer/buttonStylesWithText.mobile.js +0 -12
  366. package/dist/components/Footer/buttonStylesWithText.mobile.js.map +0 -1
  367. package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -6
  368. package/lib/components/Footer/SocialMedia.mobile.js +0 -5
  369. package/lib/components/Footer/SocialMedia.mobile.js.map +0 -1
  370. package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +0 -2
  371. package/lib/components/Footer/buttonStylesWithText.mobile.js +0 -9
  372. package/lib/components/Footer/buttonStylesWithText.mobile.js.map +0 -1
  373. package/src/components/Footer/SocialMedia.mobile.tsx +0 -16
  374. package/src/components/Footer/buttonStylesWithText.mobile.ts +0 -15
@@ -1046,6 +1046,26 @@
1046
1046
  return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0437\u0430\u044F\u0432\u043A\u0443 \u0438 \u043C\u044B \u043E\u0442\u0432\u0435\u0442\u0438\u043C \u043D\u0430 \u043B\u044E\u0431\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u0434\u0435\u043F\u043E\u0437\u0438\u0442\u0430\u043C", className: "sm:text-center mb-4" }), jsxs("div", { className: "max-w-[560px] m-auto", children: [jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full mb-3", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: "flex justify-between flex-col-reverse sm:items-center sm:flex-row max-w-[560px] m-auto", children: [jsx("div", { className: "flex-1 mt-4 sm:mt-0", children: jsx(Footnote, { link: link }) }), renderSubmitButton(button)] })] }));
1047
1047
  });
1048
1048
 
1049
+ const EMPTY_VALUE$1 = {};
1050
+ function useSWRResource(filename, fallback = {}) {
1051
+ const { data } = useAsyncData(`/wcms-resources/${filename}.json`, fetchJSONUnsafe, {
1052
+ fallback,
1053
+ });
1054
+ return data || EMPTY_VALUE$1;
1055
+ }
1056
+
1057
+ const ApplicationFormGrantSupport = JSX((props) => {
1058
+ const { button, sourceBookDir } = props;
1059
+ const { regions } = useSWRResource(sourceBookDir || 'regions-grant-support');
1060
+ const [region, setRegion] = useState({ key: '' });
1061
+ const buttonStyle = getRegularButtonClasses({
1062
+ className: 'text-white',
1063
+ version: button?.version,
1064
+ });
1065
+ const regionHref = regions?.find((_) => _.name === region.key)?.href;
1066
+ return (jsxs("div", { className: "container space-y-s sm:space-y-lg", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", options: regions.map(({ name = '' }) => ({ key: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(Button, { href: regionHref, target: "_blank", className: style('p-4 w-full sm:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
1067
+ });
1068
+
1049
1069
  const sourcesComparator = (a, b) => a?.media && b?.media ? a.media - b.media : 0;
1050
1070
  const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', pathPrefix }) => {
1051
1071
  const router = useRouter();
@@ -1140,30 +1160,45 @@
1140
1160
  return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "sm:text-center mb-m" }), renderWedDataOrganization(field), jsx(Heading, { headingType: "h6", title: "\u0418\u043D\u0442\u0435\u0440\u0435\u0441\u0443\u044E\u0449\u0438\u0439 \u0432\u043E\u043F\u0440\u043E\u0441", className: "sm:text-center mb-m" }), renderQuestionsInterested(field), jsxs("div", { className: "flex flex-col border-b border-main-divider mb-5 pb-5 sm:items-center sm:flex-row sm:mb-9 sm:pb-9", children: [renderSubmitButton(button, 'mb-m sm:mr-lg sm:mb-0'), jsx(Footnote, { link: link })] }), jsx(Heading, { headingType: "h6", title: "\u0418\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u0443\u0434\u043E\u0431\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C", className: "sm:text-center mb-m" }), renderContacts()] }));
1141
1161
  });
1142
1162
 
1163
+ const EmbeddableForms = {
1164
+ ApplicationFormBusinessCard,
1165
+ ApplicationFormWed,
1166
+ ApplicationFormDeposit,
1167
+ ApplicationFormCredit,
1168
+ ApplicationFormAcquiring,
1169
+ ApplicationFormGrantSupport,
1170
+ };
1171
+
1143
1172
  const ResponseNotification = JSX(({ responseType }) => {
1144
1173
  const responseOK = responseType === 'OK';
1145
1174
  const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
1146
1175
  return (jsxs("div", { className: `flex items-center mt-lg p-lg rounded-md space-x-m ${backgroundColor}`, children: [responseOK ? (jsx(Img, { image: { icon: 'ResponceOKIcon' }, width: "42", height: "42" })) : (jsx(Img, { image: { icon: 'ResponceFailIcon' }, width: "37", height: "34" })), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-1" }), jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1147
1176
  });
1148
1177
 
1149
- const COMPONENTS_MAP = {
1150
- credit: (props) => jsx(ApplicationFormCredit, { ...props }),
1151
- acquiring: (props) => jsx(ApplicationFormAcquiring, { ...props }),
1152
- 'business-card': (props) => jsx(ApplicationFormBusinessCard, { ...props }),
1153
- deposit: (props) => jsx(ApplicationFormDeposit, { ...props }),
1154
- wed: (props) => jsx(ApplicationFormWed, { ...props }),
1155
- };
1156
1178
  const API = CorporateLeadAPI();
1157
1179
  const ApplicationForm = JSX((props) => {
1158
- const { className, title, typeForm = 'credit', button, link, ...rest } = props;
1180
+ const { className, formBlock, ...rest } = props;
1181
+ // const type = formBlock?.formType;
1182
+ // if (!type || !(type in EmbeddableForms)) {
1183
+ // return null;
1184
+ // }
1185
+ // const EmbeddedForm = EmbeddableForms[type];
1159
1186
  const [responseType, setResponseType] = useState('');
1160
1187
  const handleSubmit = useCallback(async (data) => {
1161
1188
  const status = (await API.send(data)) ? 'OK' : 'Fail';
1162
1189
  setResponseType(status);
1163
1190
  return status;
1164
1191
  }, []);
1165
- return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container max-w-[978px]", children: [title ? (jsx(Heading, { headingType: "h3", title: title, className: "mb-4 sm:mb-8 sm:text-center" })) : null, COMPONENTS_MAP[typeForm]({ button, link, onSubmit: handleSubmit }), responseType ? jsx(ResponseNotification, { responseType: responseType }) : null] }) }));
1192
+ return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container max-w-[978px]", children: [formBlock?.title ? (jsx(Heading, { headingType: "h3", title: formBlock.title, className: "mb-4 sm:mb-8 sm:text-center" })) : null, formBlock ? renderEmbeddedForm(formBlock, handleSubmit) : null, responseType ? jsx(ResponseNotification, { responseType: responseType }) : null] }) }));
1166
1193
  });
1194
+ const renderEmbeddedForm = (formBlock, handleSubmit) => {
1195
+ const type = formBlock?.formType;
1196
+ if (!type || !(type in EmbeddableForms)) {
1197
+ return null;
1198
+ }
1199
+ const EmbeddedForm = EmbeddableForms[type];
1200
+ return jsx(EmbeddedForm, { ...formBlock, onSubmit: handleSubmit });
1201
+ };
1167
1202
 
1168
1203
  const iconBgStyles = {
1169
1204
  '': 'bg-main-divider group-data-secondary:bg-white/30',
@@ -1182,7 +1217,7 @@
1182
1217
  const defaultIconSize = 44;
1183
1218
 
1184
1219
  const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [title ? jsx(Heading, { headingType: "h3", as: "h2", className: "text-center", title: title }) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full sm:justify-center mt-xl gap-5xl", role: "list", children: benefitList.map(renderBenefit) })) : null] })));
1185
- const renderBenefit = (benefit, i) => (jsxs("div", { className: "flex gap-m items-center md:basis-1/2 md:max-w-[400px]", role: "listitem", children: [benefit?.icon?.icon ? (jsx(RoundedIcon, { className: "shrink-0", defaultIconSize: defaultIconSize, iconBgVersion: benefit?.iconBgVersion || '', ...benefit?.icon })) : null, benefit?.icon?.src ? jsx(Img, { className: "shrink-0", image: benefit.icon }) : null, benefit?.label ? (jsxs("div", { className: "sm:h-full", children: [jsx(Heading, { headingType: "h6", children: benefit.label }), renderDescription$3(benefit.description)] })) : null] }, String(i)));
1220
+ const renderBenefit = (benefit, i) => (jsxs("div", { className: "flex gap-m items-center md:basis-1/2 md:max-w-[500px]", role: "listitem", children: [benefit?.icon?.icon ? (jsx(RoundedIcon, { className: "shrink-0", defaultIconSize: defaultIconSize, iconBgVersion: benefit?.iconBgVersion || '', ...benefit?.icon })) : null, benefit?.icon?.src ? jsx(Img, { className: "shrink-0", image: benefit.icon }) : null, benefit?.label ? (jsxs("div", { className: "sm:h-full", children: [jsx(Heading, { headingType: "h6", children: benefit.label }), renderDescription$3(benefit.description)] })) : null] }, String(i)));
1186
1221
  const renderDescription$3 = (description) => {
1187
1222
  const benefitType = description?.benefitType || null;
1188
1223
  return description && benefitType ? (jsx("div", { className: "mt-xs text-l font-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
@@ -1261,19 +1296,16 @@
1261
1296
  return (jsxs(BlockWrapper, { className: className, defaultPadding: isPadding ? 'p-6xl' : '', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
1262
1297
  });
1263
1298
 
1264
- const Bonus = JSX((props) => {
1265
- const { className = '', title, description, bonusItems, ...rest } = props;
1266
- return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isPadding: false }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
1267
- ? bonusItems.map((_, i) => (jsxs("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: [_?.title ? jsx(Text, { size: "text-h4", children: _.title }) : null, _?.description ? (jsx("div", { className: "mt-xs", children: jsx(Paragraph, { size: "text-xl", font: "font-light", children: _.description }) })) : null, jsxs("div", { className: "flex justify-between items-end mt-3", children: [renderButtonsSection(_?.buttons), _.bonusItemContent?.bonusType
1268
- ? renderBonusItemContent(_.bonusItemContent)
1269
- : null] })] }, String(i))))
1270
- : null })] }) }));
1271
- });
1272
- const renderBonusItemContent = (bonusItemContent) => (jsx("div", { children: bonusItemContent.bonusType === 'count'
1273
- ? renderBonusCount(bonusItemContent)
1274
- : renderBonusImage(bonusItemContent) }));
1275
- const renderBonusCount = (_) => (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [_.bonusCount ? (jsx("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount })) : null, _.bonusName ? (jsx("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })) : null] }));
1276
- const renderBonusImage = (_) => _.image ? jsx(Img, { className: `w-12 h-12 min-w-12 p-3 rounded-icon`, image: _.image }) : null;
1299
+ const Bonus = JSX(({ className = '', title, description, bonusItems = [], ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "mb-xl", isPadding: false, title: title, description: description, headlineVersion: "M" }), jsx("div", { className: "flex flex-wrap w-full", children: bonusItems.length > 0
1300
+ ? bonusItems.map((_, i) => (jsxs("div", { className: "flex-grow w-full sm:w-[49%] border border-gray p-m mb-text mx-xs even:mr-0 odd:ml-0 last:odd:mx-0", children: [_?.title ? (jsx("div", { className: "mb-xs last:mb-0", children: jsx(Text, { size: "text-h4", children: _.title }) })) : null, _?.description ? (jsx("div", { className: "mb-text last:mb-0", children: jsx(Paragraph, { size: "text-xl", font: "font-light", children: _.description }) })) : null, jsxs("div", { className: "flex justify-between items-end", children: [jsx("div", { className: "hidden sm:block", children: renderButtonsSection(_?.buttons) }), _.bonusItemContent?.bonusType
1301
+ ? renderBonusItemContent(_.bonusItemContent)
1302
+ : null] })] }, String(i))))
1303
+ : null })] }) })));
1304
+ const renderBonusItemContent = (bonusItemContent) => bonusItemContent.bonusType === 'count'
1305
+ ? renderBonusCount(bonusItemContent)
1306
+ : renderBonusImage(bonusItemContent);
1307
+ const renderBonusCount = (_) => (jsxs("div", { className: "w-full pt-default mt-s flex items-end", children: [_.bonusCount ? (jsx("span", { className: "shrink-0 w-1/2 sm:w-auto font-mohave text-title-extra -tracking-[5px] bg-clip-text text-transparent bg-green-to-yellow mt-lg", children: _.bonusCount })) : null, _.bonusName ? (jsx("div", { className: "w-1/2 sm:w-auto bg-clip-text text-transparent bg-green-to-yellow", children: jsx(Text, { size: "text-h2", children: _.bonusName }) })) : null] }));
1308
+ const renderBonusImage = (_) => _.image ? jsx(Img, { className: "min-w-12 p-xs rounded-icon shrink-0", image: _.image }) : null;
1277
1309
 
1278
1310
  /**
1279
1311
  * @deprecated
@@ -1638,22 +1670,22 @@
1638
1670
  const calculatorParams = useBusinessDepositCalculatorParams(userInputParams, sourceBookDir);
1639
1671
  const { income, finalSum, rate, depositeName, isShowUnknownRate } = calculatorParams;
1640
1672
  return (jsxs("section", { className: className, children: [jsxs("div", { className: "flex justify-between", children: [jsxs("div", { className: "w-2/5", children: [renderWantedSumInput({
1641
- title: 'Сумма вклада, ₽',
1673
+ title: 'Сумма, ₽',
1642
1674
  min: calculatorParams.minSum,
1643
1675
  max: calculatorParams.maxSum,
1644
1676
  ...field('moneyValue'),
1645
1677
  value: calculatorParams.moneyValue,
1646
1678
  }), renderDaysInput({
1647
- title: 'Срок вклада, дни',
1679
+ title: 'Срок, дней',
1648
1680
  min: calculatorParams.minDays,
1649
1681
  max: calculatorParams.maxDays,
1650
1682
  ...field('daysValue'),
1651
1683
  value: calculatorParams.daysValue,
1652
- }), jsxs("div", { className: "mt-7 flex justify-between", children: [renderBusinessDepositParamsForm(calculatorParams, field), renderInterestPayment({
1684
+ }), jsxs("div", { className: "mt-2xl flex justify-between", children: [renderBusinessDepositParamsForm(calculatorParams, field), renderInterestPayment({
1653
1685
  title: 'Выплата процентов',
1654
1686
  orientation: 'vertical',
1655
1687
  ...field('isMonthlyInterestPayment'),
1656
- })] })] }), isShowUnknownRate ? (jsx(UnknownRate, {})) : (jsx(Rate, { rate: rate, depositeName: depositeName, isShowDepositeName: isShowDepositeName, rateBlockClassName: "tracking-[-25px]", unit: "%" })), jsxs("div", { className: "w-96", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), jsx("div", { className: "mt-7", children: renderFootnote(footnote) })] })] }), jsx("div", { className: "mt-5", children: renderFootnote(bottomFootnote) })] }));
1688
+ })] })] }), isShowUnknownRate ? (jsx(UnknownRate, {})) : (jsx(Rate, { rate: rate, depositeName: depositeName, isShowDepositeName: isShowDepositeName, rateBlockClassName: "tracking-[-25px]", unit: "%" })), jsxs("div", { className: "w-96", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true }), jsx("div", { className: "mt-2xl", children: renderFootnote(footnote) })] })] }), jsx("div", { className: "mt-5", children: renderFootnote(bottomFootnote) })] }));
1657
1689
  });
1658
1690
  const renderBusinessDepositParamsForm = (calculatorParams, field) => (jsxs("div", { children: [jsx(Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), jsx(Checkbox, { className: "mt-3", disabled: calculatorParams.isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", ...field('isPartialWithdrawal'), value: calculatorParams.isPartialWithdrawal }), jsx(Checkbox, { className: "mt-3", text: "\u042F\u0432\u043B\u044F\u044E\u0441\u044C \u043C\u0430\u043B\u044B\u043C \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u044F\u0442\u0438\u0435\u043C", ...field('isSmallBusiness'), value: calculatorParams.isSmallBusiness })] }));
1659
1691
 
@@ -1769,7 +1801,7 @@
1769
1801
 
1770
1802
  const CreditCalculatorForm = JSX(({ className, sourceBookDir, buttons, footnote, paramsViewSettings }) => {
1771
1803
  const [userInputParams, { field }] = useForm({
1772
- isAnnuity: false,
1804
+ isAnnuity: true,
1773
1805
  isInsurance: true,
1774
1806
  isSalaryClient: false,
1775
1807
  isPensionClient: false,
@@ -1871,19 +1903,19 @@
1871
1903
  setMonthsValue && setMonthsValue(defaultMonth);
1872
1904
  }, [defaultMonth]);
1873
1905
  return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-2/5", children: [renderWantedSumInput({
1874
- title: 'Сумма вклада, ₽',
1906
+ title: 'Сумма, ₽',
1875
1907
  min: calculatorParams.minSum,
1876
1908
  max: calculatorParams.maxSum,
1877
1909
  ...field('moneyValue'),
1878
1910
  value: calculatorParams.moneyValue,
1879
1911
  }), renderMonthsInput({
1880
- title: 'Срок вклада, месяцев',
1912
+ title: 'Срок, месяцев',
1881
1913
  min: calculatorParams.minMonths,
1882
1914
  max: calculatorParams.maxMonths,
1883
1915
  availableMonths: calculatorParams.availableMonths,
1884
1916
  ...field('monthsValue'),
1885
1917
  value: calculatorParams.monthsValue,
1886
- }), jsx("div", { className: "mt-2xl", children: renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field) })] }), jsx(Rate, { rate: rate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-96", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true }), renderFootnote(footnote)] })] }));
1918
+ }), jsx("div", { className: "mt-2xl", children: renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field) })] }), jsx(Rate, { rate: rate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-96", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true }), renderFootnote(footnote)] })] }));
1887
1919
  });
1888
1920
  const renderDepositParamsForm = (params, field) => (jsxs("div", { className: "flex flex-col gap-y-2xl", children: [params.isShowMonthlyInterestPayment
1889
1921
  ? renderInterestPayment({
@@ -2340,9 +2372,9 @@
2340
2372
  onScrollRight();
2341
2373
  }
2342
2374
  }, [scrollRight, onScrollRight, hasEdgeBlocks, canScrollLeft, activeIndex, itemCount]);
2343
- return (jsxs("div", { children: [renderBlur(scroll), canMoveLeft ? (jsx(ScrollLeftButton, { className: style(scrollButtonStyle$1, arrowsPadded ? 'left-1 @lg:left-8' : 'left-0'), onClick: handleScrollLeft })) : null, canMoveRight ? (jsx(ScrollRightButton, { className: style(scrollButtonStyle$1, arrowsPadded ? 'right-1 @lg:right-8' : 'right-0'), onClick: handleScrollRight })) : null] }));
2375
+ return (jsxs("div", { className: "hidden @lg:block", children: [renderBlur(scroll), canMoveLeft ? (jsx(ScrollLeftButton, { className: style(scrollButtonStyle$1, arrowsPadded ? 'left-1 @lg:left-8' : 'left-0'), onClick: handleScrollLeft })) : null, canMoveRight ? (jsx(ScrollRightButton, { className: style(scrollButtonStyle$1, arrowsPadded ? 'right-1 @lg:right-8' : 'right-0'), onClick: handleScrollRight })) : null] }));
2344
2376
  });
2345
- const renderBlur = (scroll) => (jsxs("div", { children: [scroll.canScrollLeft ? (jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white') })) : null, scroll.canScrollRight ? (jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white') })) : null] }));
2377
+ const renderBlur = (scroll) => (jsxs("div", { children: [scroll.canScrollLeft ? (jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white group-data-secondary:bg-none') })) : null, scroll.canScrollRight ? (jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white group-data-secondary:bg-none') })) : null] }));
2346
2378
 
2347
2379
  const ITEMS_GAP = 16;
2348
2380
 
@@ -2437,23 +2469,22 @@
2437
2469
  return visibleCardsList.map((item, i) => (jsxs("li", { className: columnsMode === 2 ? 'basis-[calc(50%-20px)]' : '', children: [item?.parameter ? (jsx("div", { className: "pr-2.5", children: jsx(Text, { size: getItemListFontSize(columnsMode), children: item.parameter }) })) : null, item?.parameterDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: item.parameterDescription })) : null] }, String(i))));
2438
2470
  };
2439
2471
 
2440
- const LINK_CLASS_NAME = `absolute border border-primary-main ml-s px-xl py-lg
2441
- text-l font-light bg-white text-primary-text flex w-80
2472
+ const LINK_CLASS_NAME = `absolute border border-primary-main px-xl py-lg
2473
+ text-l font-light bg-white text-primary-text flex
2442
2474
  justify-between items-center group-hover/link:text-primary-main z-10`;
2443
2475
  const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-[316px] top-0';
2444
2476
  const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2445
2477
  const link = useLink();
2446
2478
  const adjustedProps = link({ href, target });
2447
- return text ? (jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", ...adjustedProps, children: [jsx("div", { className: "p-3xs", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24" }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] })) : null;
2479
+ return text ? (jsxs("div", { className: style('flex max-w-sm relative group/link cursor-pointer w-64 h-16 sm:w-[47%] sm:h-20 sm:mr-m', className), children: [jsxs("a", { className: style(LINK_CLASS_NAME, 'rounded-md sm:rounded-none w-full h-12 sm:ml-s sm:w-full sm:h-auto'), role: "link", ...adjustedProps, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6 hidden sm:block", children: jsx(Img, { className: "w-4 h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24" }) })] }), jsx("div", { className: LINK_BORDER_CLASS_NAME + ' hidden sm:block mx-1.5 mt-1.5' }), jsx("div", { className: LINK_BORDER_CLASS_NAME + ' hidden sm:block mt-3 mr-3' })] })) : null;
2448
2480
  });
2449
2481
 
2450
- const MAX_LINKS_COUNT = 10;
2451
- const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsxs(BlockWrapper, { className: style('flex w-full overflow-hidden', className), ...rest, children: [jsxs("div", { className: "mr-xl flex-auto", children: [jsx(Headline, { isPadding: false, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isPadding: false })) : null] }), links?.length ? renderLinks(links) : null] })));
2452
- const renderLinks = (links) => {
2453
- const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
2454
- return (jsx(Carousel, { className: "min-w-[832px] w-[832px]", version: "", itemCount: itemCount, arrowsPadded: false, showDots: true, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-10 mr-10 flex flex-wrap self-start", children: links
2455
- .slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
2456
- .map((link, index) => (jsx(LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
2482
+ const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, maxLinksCount = 10, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col sm:flex-row w-full overflow-hidden', className), ...rest, children: [jsxs("div", { className: "mr-xl flex-auto", children: [jsx(Headline, { isPadding: false, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isPadding: false })) : null] }), links?.length ? renderLinks(links, maxLinksCount) : null] })));
2483
+ const renderLinks = (links, maxLinksCount) => {
2484
+ const itemCount = Math.ceil(links.length / maxLinksCount);
2485
+ return (jsx(Carousel, { className: "sm:w-2/3 w-full p-0 sm:p-2xl", version: "secondary", itemCount: itemCount, arrowsPadded: false, showDots: true, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: style('flex flex-wrap self-start sm:w-[672px] w-full sm:mx-5xl'), children: links
2486
+ .slice(groupIndex * maxLinksCount, (groupIndex + 1) * maxLinksCount)
2487
+ .map((link, index) => (jsx(LinkButton, { className: "sm:m-2xs", ...link }, String(index)))) }, String(groupIndex)))) }));
2457
2488
  };
2458
2489
 
2459
2490
  const DOT_SIZE_MAP = {
@@ -2497,8 +2528,9 @@
2497
2528
 
2498
2529
  const buttonSizeStyles = {
2499
2530
  default: 'w-14 h-14',
2500
- small: 'w-12 h-12',
2531
+ stretched: 'flex-1 h-14',
2501
2532
  };
2533
+
2502
2534
  const buttonStylesWithText = (text, buttonSize) => text
2503
2535
  ? ''
2504
2536
  : style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
@@ -2546,10 +2578,10 @@
2546
2578
  });
2547
2579
  const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
2548
2580
 
2549
- const SocialMedia = JSX(({ className = '', media, children, buttonSize }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-1 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { buttonSize: buttonSize, ..._ }, String(index)))) }), jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: children })] })));
2581
+ const SocialMedia = JSX(({ className = '', media, children, buttonSize }) => (jsxs("div", { className: "flex flex-col sm:flex-col-reverse gap-xs", children: [children ? (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: children })) : null, jsx("div", { className: style('flex gap-xs', className), children: media?.map((_, index) => (jsx(MediaButton, { buttonSize: buttonSize, ..._ }, String(index)))) })] })));
2550
2582
 
2551
2583
  const CarouselRecommendationCard = JSX(({ className, padding, description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', ...rest }) => {
2552
- return (jsx(BlockWrapper, { className: style('relative min-h-[218px] group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, children: jsx(BaseTile, { className: "h-full", defaultPadding: "p-m", padding: padding, title: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "S", isPadding: false, align: align })) : null, backImage: icon?.icon || icon?.src ? jsx(Img, { image: icon }) : null, buttons: socialMedia.length ? jsx(SocialMedia, { media: socialMedia }) : null, children: items.length ? jsx(List, { items: items, listItemSize: "S" }) : null }) }) }));
2584
+ return (jsx(BlockWrapper, { className: style('relative min-h-[218px] group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, className: "h-full", children: jsx(BaseTile, { className: "h-full", defaultPadding: "p-m", padding: padding, title: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "S", isPadding: false, align: align })) : null, backImage: icon?.icon || icon?.src ? jsx(Img, { image: icon }) : null, buttons: socialMedia.length ? jsx(SocialMedia, { media: socialMedia }) : null, children: items.length ? jsx(List, { items: items, listItemSize: "S" }) : null }) }) }));
2553
2585
  });
2554
2586
 
2555
2587
  const RichText = JSX((props) => {
@@ -3020,14 +3052,6 @@
3020
3052
  return currencies?.filter((_) => _?.currency?.id === 1 || _?.currency?.id === 2) || [];
3021
3053
  };
3022
3054
 
3023
- const EMPTY_VALUE$1 = {};
3024
- function useSWRResource(filename, fallback = {}) {
3025
- const { data } = useAsyncData(`/wcms-resources/${filename}.json`, fetchJSONUnsafe, {
3026
- fallback,
3027
- });
3028
- return data || EMPTY_VALUE$1;
3029
- }
3030
-
3031
3055
  const ICON_VERSION_MAP = {
3032
3056
  'bg-white': 'color',
3033
3057
  transparent: 'white',
@@ -3339,9 +3363,9 @@
3339
3363
  });
3340
3364
  const isQueryLongEnough = (_) => _ && _.length >= MIN_QUERY_LEN;
3341
3365
 
3342
- const Contacts = JSX(({ className = '', items, hasButton }) => (jsxs("div", { className: style('space-y-xl', className), children: [items?.length ? items.map(renderContactsGroup) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] })));
3343
- const renderContactsGroup = (item, i) => (jsxs("div", { className: "space-y-m", children: [jsx("div", { className: "", children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { className: "space-y-m", children: item.items?.map(renderContact) })] }, String(i)));
3344
- const renderContact = (item, index) => (jsxs("div", { className: "space-y-2xs", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "text-s font-light text-secondary-text", children: item.description })] }, String(index)));
3366
+ const Contacts = JSX(({ className = '', items }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, jsx(Button, { version: "primary", className: "w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })] })));
3367
+ const renderContactsGroup = (item, i) => (jsxs("div", { className: "mb-m", children: [jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { children: item.items?.map(renderContact) })] }, String(i)));
3368
+ const renderContact = (item, index) => (jsxs("div", { className: "mb-m", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "mt-2xs text-s font-light text-secondary-text", children: item.description })] }, String(index)));
3345
3369
  const renderText = (type, text = '') => {
3346
3370
  switch (type) {
3347
3371
  case 'tel':
@@ -3363,7 +3387,7 @@
3363
3387
  });
3364
3388
 
3365
3389
  const HorizontalNavigation = JSX(({ className = '', links }) => {
3366
- return (jsx("div", { className: className, children: links?.length ? (jsx("div", { className: "flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider", children: links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light max-w-[292px]", ..._ }, String(i)))) })) : null }));
3390
+ return (jsx("div", { className: className, children: links?.length ? (jsx("div", { className: "flex justify-between items-center gap-lg py-lg border-solid border-x-0 border-y border-y-main-divider", children: links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light max-w-[292px]", ..._ }, String(i)))) })) : null }));
3367
3391
  });
3368
3392
 
3369
3393
  const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
@@ -3372,12 +3396,12 @@
3372
3396
  return (jsx("a", { className: `text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
3373
3397
  });
3374
3398
 
3375
- const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-4 xl:pt-5", children: jsx(Text, { size: "text-xs", font: "font-light", color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-4", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
3399
+ const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-lg", children: jsx(Text, { size: "text-xs", font: "font-light", color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex flex-col sm:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
3376
3400
 
3377
- const LEFT_COL_WIDTH_FULL_HD = 'w-[204px]';
3401
+ const LEFT_COL_WIDTH = 'w-52';
3378
3402
  const Footer = JSX(({ className, sitemap, ...rest }) => {
3379
3403
  const { documents, relatedEnterprises, contacts, socialMedia, mobileApps, logo } = useSWRResource(projectSettings.FOOTER || 'footer', rest.options?.page?.fallback);
3380
- return (jsxs(BlockWrapper, { tag: "footer", className: className, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-6xl xl:gap-3xl pb-3xl ", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-6xl xl:gap-3xl", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden space-y-xl`, children: [jsx(Contacts, { items: contacts, hasButton: true }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { media: mobileApps, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "flex-grow", topItems: sitemap?.topItems })] }), jsx(HorizontalNavigation, { className: "mt-24", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
3404
+ return (jsxs(BlockWrapper, { tag: "footer", className: className, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-3xl pb-3xl ", children: [jsx(Logo, { className: LEFT_COL_WIDTH, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-6xl", children: [jsxs("div", { className: `${LEFT_COL_WIDTH} flex flex-col shrink-0 overflow-hidden space-y-xl`, children: [jsx(Contacts, { items: contacts }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { media: mobileApps, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "flex-grow", topItems: sitemap?.topItems })] }), jsx(HorizontalNavigation, { className: "mt-24", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
3381
3405
  });
3382
3406
 
3383
3407
  const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "M", isPadding: false }), calendar ? renderCalendar(calendar) : null] })));
@@ -3793,7 +3817,7 @@
3793
3817
  return (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileSize: fileSize, icon: icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null }) }, String(i)));
3794
3818
  };
3795
3819
 
3796
- const renderDescription$1 = (description) => description ? (jsx("div", { className: "mb-5 pt-3xs sm:mb-0 sm:pt-0", children: jsx(Text, { size: "text-xl", "font-weight": "light", children: description }) })) : null;
3820
+ const renderDescription$1 = (description) => description ? (jsx("div", { className: "mb-lg pt-3xs", children: jsx(Text, { size: "text-xl", "font-weight": "light", children: description }) })) : null;
3797
3821
 
3798
3822
  const renderList$1 = (items) => {
3799
3823
  return items?.length ? (jsx(List, { items: items, className: "text-l font-light mb-xs last:mb-0" })) : (jsx("span", { className: "text-m font-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
@@ -4316,7 +4340,7 @@
4316
4340
  })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
4317
4341
  };
4318
4342
  const renderPrimaryFoldButton = ({ label, labelIconBgVersion, icon, onToggle, labelIcon, }) => {
4319
- return (jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full group/button', labelIcon?.icon ? 'py-xs' : 'py-lg'), onClick: onToggle, children: [jsxs("div", { className: "flex items-center group-hover/button:text-primary-main gap-s", children: [renderRoundedIcon(), label ? (jsx(Text, { size: "text-h6", font: "font-normal", children: label })) : null] }), icon ? jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
4343
+ return (jsxs("button", { className: style('border-none bg-transparent flex justify-between items-center w-full group/button', labelIcon?.icon ? 'py-xs' : 'py-lg'), onClick: onToggle, children: [jsxs("div", { className: "flex items-center group-hover/button:text-primary-main gap-s", children: [renderRoundedIcon(), label ? (jsx(Text, { size: "text-h6", font: "font-normal", children: label })) : null] }), icon ? jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
4320
4344
  };
4321
4345
 
4322
4346
  const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
@@ -5094,11 +5118,11 @@
5094
5118
  onOpen: setSomeDialogOpened,
5095
5119
  onClose: resetSomeDialogOpened,
5096
5120
  });
5097
- return (jsxs("section", { className: style('relative', pageStyle, className, isSomeDialogOpened ? 'overflow-hidden h-screen' : ''), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, {
5121
+ return (jsxs("section", { className: style('relative @container', pageStyle, className, isSomeDialogOpened ? 'overflow-hidden h-screen' : ''), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, {
5098
5122
  ...options,
5099
5123
  slotName: 'header',
5100
5124
  extraProps: { sitemap, location },
5101
- }) })) : null, jsxs("div", { className: "container grid grid-cols-12 gap-1", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, {
5125
+ }) })) : null, jsxs("div", { className: "container @lg:grid @lg:grid-cols-12 @lg:gap-1", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, {
5102
5126
  ...options,
5103
5127
  slotName: 'footer',
5104
5128
  extraProps: { sitemap, location },
@@ -5110,7 +5134,7 @@
5110
5134
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
5111
5135
  }
5112
5136
 
5113
- const packageVersion = "0.12.12";
5137
+ const packageVersion = "0.12.13";
5114
5138
 
5115
5139
  exports.Blocks = Blocks;
5116
5140
  exports.ContentPage = ContentPage;