@redneckz/wildless-cms-uni-blocks 0.14.25 → 0.14.27

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 (708) hide show
  1. package/bin/migration-scripts/0.14.26.js +55 -0
  2. package/bin/migration-scripts/0.14.27.js +38 -0
  3. package/bundle/api/{CorporateLeadAPI.d.ts → LeadServiceAPI.d.ts} +2 -2
  4. package/bundle/blocks.schema.json +1 -1
  5. package/bundle/bundle.umd.js +293 -255
  6. package/bundle/bundle.umd.min.js +1 -1
  7. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
  8. package/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
  9. package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  10. package/bundle/components/ApplicationForm/DatePickerControl.d.ts +8 -0
  11. package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  12. package/bundle/components/ApplicationForm/Footnote.d.ts +1 -0
  13. package/bundle/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
  14. package/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +4 -0
  15. package/bundle/components/CarouselCard/titleSize.d.ts +1 -1
  16. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  17. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  18. package/bundle/icons/IconName.d.ts +4 -2
  19. package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  20. package/bundle/ui-kit/DatePicker/DatePicker.d.ts +1 -0
  21. package/bundle/utils/isIcon.d.ts +2 -0
  22. package/cosmos-static/icons/DzenIcon.svg +1 -0
  23. package/dist/api/{CorporateLeadAPI.d.ts → LeadServiceAPI.d.ts} +2 -2
  24. package/dist/api/{CorporateLeadAPI.js → LeadServiceAPI.js} +7 -6
  25. package/dist/api/LeadServiceAPI.js.map +1 -0
  26. package/dist/components/ApplicationForm/ApplicationForm.js +4 -4
  27. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  28. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
  29. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -2
  30. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  31. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  32. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  33. package/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
  34. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js +52 -0
  35. package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -0
  36. package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  37. package/dist/components/ApplicationForm/DatePickerControl.d.ts +8 -0
  38. package/dist/components/ApplicationForm/DatePickerControl.js +8 -0
  39. package/dist/components/ApplicationForm/DatePickerControl.js.map +1 -0
  40. package/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  41. package/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
  42. package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  43. package/dist/components/ApplicationForm/Footnote.d.ts +1 -0
  44. package/dist/components/ApplicationForm/Footnote.js +1 -1
  45. package/dist/components/ApplicationForm/Footnote.js.map +1 -1
  46. package/dist/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
  47. package/dist/components/{Tile/TileContent.js → ApplicationForm/IndividualsFormState.js} +1 -1
  48. package/dist/components/ApplicationForm/IndividualsFormState.js.map +1 -0
  49. package/dist/components/ApplicationForm/renderIndividualsFields.d.ts +4 -0
  50. package/dist/components/ApplicationForm/renderIndividualsFields.js +11 -0
  51. package/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -0
  52. package/dist/components/Blocks.js +0 -4
  53. package/dist/components/Blocks.js.map +1 -1
  54. package/dist/components/Blocks.mobile.js +0 -4
  55. package/dist/components/Blocks.mobile.js.map +1 -1
  56. package/dist/components/Bonus/Bonus.js +4 -4
  57. package/dist/components/Bonus/Bonus.js.map +1 -1
  58. package/dist/components/Calculator/Calculator.mobile.js +4 -4
  59. package/dist/components/Calculator/Calculator.mobile.js.map +1 -1
  60. package/dist/components/Carousel/Carousel.js +1 -1
  61. package/dist/components/Carousel/Carousel.js.map +1 -1
  62. package/dist/components/Carousel/renderCarouselCards.js +1 -1
  63. package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  64. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  65. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  66. package/dist/components/CarouselCard/titleSize.d.ts +1 -1
  67. package/dist/components/CarouselCard/titleSize.js +1 -1
  68. package/dist/components/CarouselCard/titleSize.js.map +1 -1
  69. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  70. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  71. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -2
  72. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  73. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  74. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  75. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  76. package/dist/components/ContentPage/ContentPage.js +1 -1
  77. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  78. package/dist/components/Footer/Footer.mobile.js +2 -2
  79. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  80. package/dist/components/Footer/HorizontalNavigation.mobile.js +2 -1
  81. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  82. package/dist/components/Footer/SocialMedia.js +5 -5
  83. package/dist/components/Footer/SocialMedia.js.map +1 -1
  84. package/dist/components/Footer/TextInformation.js +1 -1
  85. package/dist/components/Footer/TextInformation.js.map +1 -1
  86. package/dist/components/Footer/iconsMap.js +4 -0
  87. package/dist/components/Footer/iconsMap.js.map +1 -1
  88. package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  89. package/dist/components/ProductBlock/ProductBlock.js +1 -3
  90. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  91. package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  92. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  93. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  94. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  95. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  96. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  97. package/dist/components/StepsBlock/StepsBlock.js +2 -2
  98. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  99. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  100. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  101. package/dist/components/Tabs/Tabs.js +7 -3
  102. package/dist/components/Tabs/Tabs.js.map +1 -1
  103. package/dist/icons/IconName.d.ts +4 -2
  104. package/dist/icons/IconName.js +2 -0
  105. package/dist/icons/IconName.js.map +1 -1
  106. package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  107. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  108. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  109. package/dist/ui-kit/BaseTile/BaseTile.js +3 -2
  110. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  111. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  112. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  113. package/dist/ui-kit/Button/ButtonInner.js +2 -1
  114. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  115. package/dist/ui-kit/Button/renderButtonsSection.js +2 -1
  116. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  117. package/dist/ui-kit/DatePicker/DatePicker.d.ts +1 -0
  118. package/dist/ui-kit/DatePicker/DatePicker.js +4 -4
  119. package/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
  120. package/dist/ui-kit/DatePicker/getYears.js +1 -1
  121. package/dist/ui-kit/Input/Input.js +1 -1
  122. package/dist/ui-kit/Input/Input.js.map +1 -1
  123. package/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
  124. package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  125. package/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  126. package/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  127. package/dist/ui-kit/LocationDialog/renderRegion.js +3 -2
  128. package/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  129. package/dist/ui-kit/NotFound/NotFound.js +1 -1
  130. package/dist/ui-kit/NotFound/NotFound.js.map +1 -1
  131. package/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  132. package/dist/ui-kit/Select/Select.js +1 -1
  133. package/dist/ui-kit/Select/Select.js.map +1 -1
  134. package/dist/utils/isIcon.d.ts +2 -0
  135. package/dist/utils/isIcon.js +5 -0
  136. package/dist/utils/isIcon.js.map +1 -0
  137. package/lib/api/{CorporateLeadAPI.d.ts → LeadServiceAPI.d.ts} +2 -2
  138. package/lib/api/{CorporateLeadAPI.js → LeadServiceAPI.js} +5 -4
  139. package/lib/api/LeadServiceAPI.js.map +1 -0
  140. package/lib/common.css +1 -1
  141. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
  142. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +1 -0
  143. package/lib/components/ApplicationForm/ApplicationForm.js +4 -4
  144. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  145. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
  146. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -2
  147. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  148. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  149. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  150. package/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
  151. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js +50 -0
  152. package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -0
  153. package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  154. package/lib/components/ApplicationForm/DatePickerControl.d.ts +8 -0
  155. package/lib/components/ApplicationForm/DatePickerControl.js +6 -0
  156. package/lib/components/ApplicationForm/DatePickerControl.js.map +1 -0
  157. package/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  158. package/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
  159. package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  160. package/lib/components/ApplicationForm/Footnote.d.ts +1 -0
  161. package/lib/components/ApplicationForm/Footnote.js +1 -1
  162. package/lib/components/ApplicationForm/Footnote.js.map +1 -1
  163. package/lib/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
  164. package/lib/components/ApplicationForm/IndividualsFormState.js +2 -0
  165. package/lib/components/ApplicationForm/IndividualsFormState.js.map +1 -0
  166. package/lib/components/ApplicationForm/renderIndividualsFields.d.ts +3 -0
  167. package/lib/components/ApplicationForm/renderIndividualsFields.js +8 -0
  168. package/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -0
  169. package/lib/components/Blocks.js +0 -4
  170. package/lib/components/Blocks.js.map +1 -1
  171. package/lib/components/Blocks.mobile.js +0 -4
  172. package/lib/components/Blocks.mobile.js.map +1 -1
  173. package/lib/components/Bonus/Bonus.js +4 -4
  174. package/lib/components/Bonus/Bonus.js.map +1 -1
  175. package/lib/components/Calculator/Calculator.mobile.js +4 -4
  176. package/lib/components/Calculator/Calculator.mobile.js.map +1 -1
  177. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -1
  178. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +1 -1
  179. package/lib/components/Carousel/Carousel.js +1 -1
  180. package/lib/components/Carousel/Carousel.js.map +1 -1
  181. package/lib/components/Carousel/renderCarouselCards.js +1 -1
  182. package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  183. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  184. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  185. package/lib/components/CarouselCard/titleSize.d.ts +1 -1
  186. package/lib/components/CarouselCard/titleSize.js +1 -1
  187. package/lib/components/CarouselCard/titleSize.js.map +1 -1
  188. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  189. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  190. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +2 -0
  191. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.d.ts +2 -0
  192. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +6 -3
  193. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  194. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  195. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  196. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  197. package/lib/components/ContentPage/ContentPage.js +1 -1
  198. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  199. package/lib/components/Footer/Footer.mobile.js +2 -2
  200. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  201. package/lib/components/Footer/HorizontalNavigation.mobile.js +2 -1
  202. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  203. package/lib/components/Footer/SocialMedia.js +5 -5
  204. package/lib/components/Footer/SocialMedia.js.map +1 -1
  205. package/lib/components/Footer/TextInformation.js +1 -1
  206. package/lib/components/Footer/TextInformation.js.map +1 -1
  207. package/lib/components/Footer/iconsMap.js +4 -0
  208. package/lib/components/Footer/iconsMap.js.map +1 -1
  209. package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  210. package/lib/components/ProductBlock/ProductBlock.js +1 -3
  211. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  212. package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  213. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  214. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  215. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  216. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  217. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  218. package/lib/components/StepsBlock/StepsBlock.js +2 -2
  219. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  220. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  221. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  222. package/lib/components/Tabs/Tabs.js +7 -3
  223. package/lib/components/Tabs/Tabs.js.map +1 -1
  224. package/lib/icons/IconName.d.ts +4 -2
  225. package/lib/icons/IconName.js +2 -0
  226. package/lib/icons/IconName.js.map +1 -1
  227. package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  228. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  229. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  230. package/lib/ui-kit/BaseTile/BaseTile.js +3 -2
  231. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  232. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  233. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  234. package/lib/ui-kit/Button/ButtonInner.js +2 -1
  235. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  236. package/lib/ui-kit/Button/renderButtonsSection.js +2 -1
  237. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  238. package/lib/ui-kit/DatePicker/DatePicker.d.ts +1 -0
  239. package/lib/ui-kit/DatePicker/DatePicker.js +4 -4
  240. package/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
  241. package/lib/ui-kit/DatePicker/getYears.js +1 -1
  242. package/lib/ui-kit/Input/Input.js +1 -1
  243. package/lib/ui-kit/Input/Input.js.map +1 -1
  244. package/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
  245. package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  246. package/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  247. package/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  248. package/lib/ui-kit/LocationDialog/renderRegion.js +3 -2
  249. package/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  250. package/lib/ui-kit/NotFound/NotFound.js +1 -1
  251. package/lib/ui-kit/NotFound/NotFound.js.map +1 -1
  252. package/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  253. package/lib/ui-kit/Select/Select.js +1 -1
  254. package/lib/ui-kit/Select/Select.js.map +1 -1
  255. package/lib/utils/isIcon.d.ts +2 -0
  256. package/lib/utils/isIcon.js +2 -0
  257. package/lib/utils/isIcon.js.map +1 -0
  258. package/mobile/bundle/api/{CorporateLeadAPI.d.ts → LeadServiceAPI.d.ts} +2 -2
  259. package/mobile/bundle/bundle.umd.js +298 -107
  260. package/mobile/bundle/bundle.umd.min.js +1 -1
  261. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
  262. package/mobile/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
  263. package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  264. package/mobile/bundle/components/ApplicationForm/DatePickerControl.d.ts +8 -0
  265. package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  266. package/mobile/bundle/components/ApplicationForm/Footnote.d.ts +1 -0
  267. package/mobile/bundle/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
  268. package/mobile/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +4 -0
  269. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  270. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  271. package/mobile/bundle/icons/IconName.d.ts +4 -2
  272. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  273. package/mobile/bundle/ui-kit/DatePicker/DatePicker.d.ts +1 -0
  274. package/mobile/bundle/utils/isIcon.d.ts +2 -0
  275. package/mobile/dist/api/LeadServiceAPI.d.ts +15 -0
  276. package/mobile/dist/api/{CorporateLeadAPI.js → LeadServiceAPI.js} +7 -6
  277. package/mobile/dist/api/LeadServiceAPI.js.map +1 -0
  278. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +4 -4
  279. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  280. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
  281. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -2
  282. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  283. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  284. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  285. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
  286. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js +52 -0
  287. package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -0
  288. package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  289. package/mobile/dist/components/ApplicationForm/DatePickerControl.d.ts +8 -0
  290. package/mobile/dist/components/ApplicationForm/DatePickerControl.js +8 -0
  291. package/mobile/dist/components/ApplicationForm/DatePickerControl.js.map +1 -0
  292. package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  293. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
  294. package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  295. package/mobile/dist/components/ApplicationForm/Footnote.d.ts +1 -0
  296. package/mobile/dist/components/ApplicationForm/Footnote.js +1 -1
  297. package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -1
  298. package/mobile/dist/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
  299. package/mobile/dist/components/{Tile/TileContent.js → ApplicationForm/IndividualsFormState.js} +1 -1
  300. package/mobile/dist/components/ApplicationForm/IndividualsFormState.js.map +1 -0
  301. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.d.ts +4 -0
  302. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js +11 -0
  303. package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -0
  304. package/mobile/dist/components/Blocks.js +0 -4
  305. package/mobile/dist/components/Blocks.js.map +1 -1
  306. package/mobile/dist/components/Bonus/Bonus.js +4 -4
  307. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  308. package/mobile/dist/components/Calculator/Calculator.js +4 -4
  309. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  310. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  311. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  312. package/mobile/dist/components/Carousel/renderCarouselCards.js +1 -1
  313. package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  314. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  315. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  316. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  317. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  318. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -2
  319. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  320. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  321. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  322. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  323. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  324. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  325. package/mobile/dist/components/Footer/Footer.js +2 -2
  326. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  327. package/mobile/dist/components/Footer/HorizontalNavigation.js +2 -1
  328. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  329. package/mobile/dist/components/Footer/SocialMedia.js +5 -5
  330. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  331. package/mobile/dist/components/Footer/TextInformation.js +1 -1
  332. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  333. package/mobile/dist/components/Footer/iconsMap.js +4 -0
  334. package/mobile/dist/components/Footer/iconsMap.js.map +1 -1
  335. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  336. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -3
  337. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  338. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  339. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  340. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  341. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  342. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  343. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  344. package/mobile/dist/components/Tabs/Tabs.js +7 -3
  345. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  346. package/mobile/dist/icons/IconName.d.ts +4 -2
  347. package/mobile/dist/icons/IconName.js +2 -0
  348. package/mobile/dist/icons/IconName.js.map +1 -1
  349. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  350. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  351. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  352. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +3 -2
  353. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  354. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  355. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  356. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -1
  357. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  358. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -1
  359. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  360. package/mobile/dist/ui-kit/DatePicker/DatePicker.d.ts +1 -0
  361. package/mobile/dist/ui-kit/DatePicker/DatePicker.js +4 -4
  362. package/mobile/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
  363. package/mobile/dist/ui-kit/DatePicker/getYears.js +1 -1
  364. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  365. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  366. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
  367. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  368. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  369. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  370. package/mobile/dist/ui-kit/LocationDialog/renderRegion.js +3 -2
  371. package/mobile/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  372. package/mobile/dist/ui-kit/NotFound/NotFound.js +1 -1
  373. package/mobile/dist/ui-kit/NotFound/NotFound.js.map +1 -1
  374. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  375. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  376. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  377. package/mobile/dist/utils/isIcon.d.ts +2 -0
  378. package/mobile/dist/utils/isIcon.js +5 -0
  379. package/mobile/dist/utils/isIcon.js.map +1 -0
  380. package/mobile/lib/api/LeadServiceAPI.d.ts +15 -0
  381. package/mobile/lib/api/{CorporateLeadAPI.js → LeadServiceAPI.js} +5 -4
  382. package/mobile/lib/api/LeadServiceAPI.js.map +1 -0
  383. package/mobile/lib/common.css +1 -1
  384. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +4 -4
  385. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  386. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
  387. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -2
  388. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  389. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  390. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  391. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
  392. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js +50 -0
  393. package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -0
  394. package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
  395. package/mobile/lib/components/ApplicationForm/DatePickerControl.d.ts +8 -0
  396. package/mobile/lib/components/ApplicationForm/DatePickerControl.js +6 -0
  397. package/mobile/lib/components/ApplicationForm/DatePickerControl.js.map +1 -0
  398. package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
  399. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
  400. package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
  401. package/mobile/lib/components/ApplicationForm/Footnote.d.ts +1 -0
  402. package/mobile/lib/components/ApplicationForm/Footnote.js +1 -1
  403. package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -1
  404. package/mobile/lib/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
  405. package/mobile/lib/components/ApplicationForm/IndividualsFormState.js +2 -0
  406. package/mobile/lib/components/ApplicationForm/IndividualsFormState.js.map +1 -0
  407. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.d.ts +4 -0
  408. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js +8 -0
  409. package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -0
  410. package/mobile/lib/components/Blocks.js +0 -4
  411. package/mobile/lib/components/Blocks.js.map +1 -1
  412. package/mobile/lib/components/Bonus/Bonus.js +4 -4
  413. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  414. package/mobile/lib/components/Calculator/Calculator.js +4 -4
  415. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  416. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  417. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  418. package/mobile/lib/components/Carousel/renderCarouselCards.js +1 -1
  419. package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  420. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  421. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  422. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  423. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  424. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +6 -3
  425. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  426. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  427. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  428. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  429. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  430. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  431. package/mobile/lib/components/Footer/Footer.js +2 -2
  432. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  433. package/mobile/lib/components/Footer/HorizontalNavigation.js +2 -1
  434. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  435. package/mobile/lib/components/Footer/SocialMedia.js +5 -5
  436. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  437. package/mobile/lib/components/Footer/TextInformation.js +1 -1
  438. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  439. package/mobile/lib/components/Footer/iconsMap.js +4 -0
  440. package/mobile/lib/components/Footer/iconsMap.js.map +1 -1
  441. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  442. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -3
  443. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  444. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  445. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  446. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  447. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  448. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  449. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  450. package/mobile/lib/components/Tabs/Tabs.js +7 -3
  451. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  452. package/mobile/lib/icons/IconName.d.ts +4 -2
  453. package/mobile/lib/icons/IconName.js +2 -0
  454. package/mobile/lib/icons/IconName.js.map +1 -1
  455. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  456. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  457. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  458. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +3 -2
  459. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  460. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  461. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  462. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -1
  463. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  464. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -1
  465. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  466. package/mobile/lib/ui-kit/DatePicker/DatePicker.d.ts +1 -0
  467. package/mobile/lib/ui-kit/DatePicker/DatePicker.js +4 -4
  468. package/mobile/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
  469. package/mobile/lib/ui-kit/DatePicker/getYears.js +1 -1
  470. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  471. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  472. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
  473. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  474. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  475. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  476. package/mobile/lib/ui-kit/LocationDialog/renderRegion.js +3 -2
  477. package/mobile/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  478. package/mobile/lib/ui-kit/NotFound/NotFound.js +1 -1
  479. package/mobile/lib/ui-kit/NotFound/NotFound.js.map +1 -1
  480. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  481. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  482. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  483. package/mobile/lib/utils/isIcon.d.ts +2 -0
  484. package/mobile/lib/utils/isIcon.js +2 -0
  485. package/mobile/lib/utils/isIcon.js.map +1 -0
  486. package/mobile/src/api/{CorporateLeadAPI.ts → LeadServiceAPI.ts} +5 -3
  487. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +14 -8
  488. package/mobile/src/components/ApplicationForm/ApplicationForm.ui.json +5 -2
  489. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +13 -1
  490. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -3
  491. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
  492. package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +74 -0
  493. package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -1
  494. package/mobile/src/components/ApplicationForm/DatePickerControl.tsx +33 -0
  495. package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
  496. package/mobile/src/components/ApplicationForm/Footnote.tsx +3 -2
  497. package/mobile/src/components/ApplicationForm/IndividualsFormState.ts +9 -0
  498. package/mobile/src/components/ApplicationForm/renderIndividualsFields.tsx +46 -0
  499. package/mobile/src/components/Blocks.ts +0 -4
  500. package/mobile/src/components/Bonus/Bonus.tsx +4 -4
  501. package/mobile/src/components/Calculator/Calculator.tsx +5 -7
  502. package/mobile/src/components/Carousel/Carousel.tsx +1 -1
  503. package/mobile/src/components/Carousel/renderCarouselCards.tsx +1 -1
  504. package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
  505. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  506. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +15 -5
  507. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +5 -3
  508. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +8 -8
  509. package/mobile/src/components/ContentPage/ContentPage.tsx +1 -1
  510. package/mobile/src/components/Footer/Footer.tsx +7 -5
  511. package/mobile/src/components/Footer/HorizontalNavigation.tsx +2 -1
  512. package/mobile/src/components/Footer/SocialMedia.tsx +10 -12
  513. package/mobile/src/components/Footer/TextInformation.tsx +1 -1
  514. package/mobile/src/components/Footer/iconsMap.ts +4 -0
  515. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.ui.json +16 -1
  516. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +1 -0
  517. package/mobile/src/components/ProductBlock/ProductBlock.tsx +1 -6
  518. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +7 -1
  519. package/mobile/src/components/ProductGallery/ProductGallery.example.json +1 -1
  520. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +1 -0
  521. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -8
  522. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +1 -0
  523. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
  524. package/mobile/src/components/Tabs/Tabs.tsx +8 -4
  525. package/mobile/src/icons/DzenIcon.svg +4 -0
  526. package/mobile/src/icons/IconName.ts +4 -4
  527. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  528. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +8 -4
  529. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -7
  530. package/mobile/src/ui-kit/Button/ButtonInner.tsx +7 -2
  531. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
  532. package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +13 -5
  533. package/mobile/src/ui-kit/DatePicker/getYears.ts +1 -1
  534. package/mobile/src/ui-kit/Input/Input.tsx +1 -1
  535. package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -1
  536. package/mobile/src/ui-kit/LocationDialog/renderForeignOffices.tsx +6 -4
  537. package/mobile/src/ui-kit/LocationDialog/renderRegion.tsx +5 -2
  538. package/mobile/src/ui-kit/NotFound/NotFound.tsx +1 -1
  539. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  540. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  541. package/mobile/src/utils/isIcon.ts +3 -0
  542. package/package.json +1 -1
  543. package/src/api/{CorporateLeadAPI.ts → LeadServiceAPI.ts} +5 -3
  544. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +14 -0
  545. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +14 -0
  546. package/src/components/ApplicationForm/ApplicationForm.tsx +14 -8
  547. package/src/components/ApplicationForm/ApplicationForm.ui.json +5 -2
  548. package/src/components/ApplicationForm/ApplicationFormContent.ts +13 -1
  549. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -3
  550. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
  551. package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +74 -0
  552. package/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -1
  553. package/src/components/ApplicationForm/DatePickerControl.tsx +33 -0
  554. package/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
  555. package/src/components/ApplicationForm/Footnote.tsx +3 -2
  556. package/src/components/ApplicationForm/IndividualsFormState.ts +9 -0
  557. package/src/components/ApplicationForm/renderIndividualsFields.tsx +46 -0
  558. package/src/components/Blocks.mobile.ts +0 -4
  559. package/src/components/Blocks.ts +0 -4
  560. package/src/components/Bonus/Bonus.tsx +4 -4
  561. package/src/components/Calculator/Calculator.mobile.tsx +5 -7
  562. package/src/components/Carousel/Carousel.fixture.mobile.tsx +12 -11
  563. package/src/components/Carousel/Carousel.fixture.tsx +15 -14
  564. package/src/components/Carousel/Carousel.tsx +1 -1
  565. package/src/components/Carousel/renderCarouselCards.tsx +1 -1
  566. package/src/components/CarouselCard/CarouselCard.tsx +1 -1
  567. package/src/components/CarouselCard/titleSize.tsx +1 -1
  568. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  569. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +41 -2
  570. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +41 -2
  571. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +15 -5
  572. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +5 -3
  573. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +8 -8
  574. package/src/components/ContentPage/ContentPage.tsx +1 -1
  575. package/src/components/Footer/Footer.mobile.tsx +7 -5
  576. package/src/components/Footer/HorizontalNavigation.mobile.tsx +2 -1
  577. package/src/components/Footer/SocialMedia.tsx +10 -12
  578. package/src/components/Footer/TextInformation.tsx +1 -1
  579. package/src/components/Footer/iconsMap.ts +4 -0
  580. package/src/components/OfficesAtmsMap/OfficesAtmsMap.ui.json +16 -1
  581. package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +1 -0
  582. package/src/components/ProductBlock/ProductBlock.tsx +1 -6
  583. package/src/components/ProductBlock/renderBackwardButton.tsx +7 -1
  584. package/src/components/ProductGallery/ProductGallery.example.json +1 -1
  585. package/src/components/ProductGallery/ProductGallery.tsx +1 -1
  586. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +1 -0
  587. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -8
  588. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +1 -0
  589. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
  590. package/src/components/StepsBlock/StepsBlock.tsx +3 -3
  591. package/src/components/Tabs/Tabs.tsx +8 -4
  592. package/src/icons/DzenIcon.svg +4 -0
  593. package/src/icons/IconName.ts +4 -1
  594. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  595. package/src/ui-kit/BaseTile/BaseTile.tsx +8 -4
  596. package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -7
  597. package/src/ui-kit/Button/ButtonInner.tsx +7 -2
  598. package/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
  599. package/src/ui-kit/DatePicker/DatePicker.tsx +13 -5
  600. package/src/ui-kit/DatePicker/getYears.ts +1 -1
  601. package/src/ui-kit/Input/Input.tsx +1 -1
  602. package/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -1
  603. package/src/ui-kit/LocationDialog/renderForeignOffices.tsx +6 -4
  604. package/src/ui-kit/LocationDialog/renderRegion.tsx +5 -2
  605. package/src/ui-kit/NotFound/NotFound.tsx +1 -1
  606. package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  607. package/src/ui-kit/Select/Select.tsx +1 -1
  608. package/src/utils/isIcon.ts +3 -0
  609. package/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  610. package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  611. package/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  612. package/bundle/components/Tile/Tile.d.ts +0 -5
  613. package/bundle/components/Tile/TileContent.d.ts +0 -6
  614. package/dist/api/CorporateLeadAPI.js.map +0 -1
  615. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  616. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -13
  617. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  618. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  619. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  620. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  621. package/dist/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  622. package/dist/components/StepsBlock/checkCanRenderIcon.js +0 -5
  623. package/dist/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  624. package/dist/components/Tile/Tile.d.ts +0 -5
  625. package/dist/components/Tile/Tile.js +0 -8
  626. package/dist/components/Tile/Tile.js.map +0 -1
  627. package/dist/components/Tile/TileContent.d.ts +0 -6
  628. package/dist/components/Tile/TileContent.js.map +0 -1
  629. package/lib/api/CorporateLeadAPI.js.map +0 -1
  630. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  631. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +0 -8
  632. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.d.ts +0 -7
  633. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -11
  634. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  635. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  636. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  637. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  638. package/lib/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  639. package/lib/components/StepsBlock/checkCanRenderIcon.js +0 -2
  640. package/lib/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  641. package/lib/components/Tile/Tile.d.ts +0 -5
  642. package/lib/components/Tile/Tile.fixture.d.ts +0 -15
  643. package/lib/components/Tile/Tile.fixture.mobile.d.ts +0 -9
  644. package/lib/components/Tile/Tile.js +0 -6
  645. package/lib/components/Tile/Tile.js.map +0 -1
  646. package/lib/components/Tile/TileContent.d.ts +0 -6
  647. package/lib/components/Tile/TileContent.js +0 -2
  648. package/lib/components/Tile/TileContent.js.map +0 -1
  649. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  650. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  651. package/mobile/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  652. package/mobile/bundle/components/Tile/Tile.d.ts +0 -5
  653. package/mobile/bundle/components/Tile/TileContent.d.ts +0 -6
  654. package/mobile/dist/api/CorporateLeadAPI.d.ts +0 -15
  655. package/mobile/dist/api/CorporateLeadAPI.js.map +0 -1
  656. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  657. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -13
  658. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  659. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  660. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  661. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  662. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  663. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js +0 -5
  664. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  665. package/mobile/dist/components/Tile/Tile.d.ts +0 -5
  666. package/mobile/dist/components/Tile/Tile.js +0 -8
  667. package/mobile/dist/components/Tile/Tile.js.map +0 -1
  668. package/mobile/dist/components/Tile/TileContent.d.ts +0 -6
  669. package/mobile/dist/components/Tile/TileContent.js.map +0 -1
  670. package/mobile/lib/api/CorporateLeadAPI.d.ts +0 -15
  671. package/mobile/lib/api/CorporateLeadAPI.js.map +0 -1
  672. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  673. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -11
  674. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  675. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  676. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  677. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  678. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  679. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js +0 -2
  680. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  681. package/mobile/lib/components/Tile/Tile.d.ts +0 -5
  682. package/mobile/lib/components/Tile/Tile.js +0 -6
  683. package/mobile/lib/components/Tile/Tile.js.map +0 -1
  684. package/mobile/lib/components/Tile/TileContent.d.ts +0 -6
  685. package/mobile/lib/components/Tile/TileContent.js +0 -2
  686. package/mobile/lib/components/Tile/TileContent.js.map +0 -1
  687. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +0 -25
  688. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +0 -28
  689. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +0 -1
  690. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +0 -15
  691. package/mobile/src/components/StepsBlock/checkCanRenderIcon.ts +0 -4
  692. package/mobile/src/components/Tile/Tile.example.json +0 -28
  693. package/mobile/src/components/Tile/Tile.tsx +0 -23
  694. package/mobile/src/components/Tile/Tile.ui.json +0 -17
  695. package/mobile/src/components/Tile/TileContent.ts +0 -7
  696. package/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +0 -25
  697. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.tsx +0 -34
  698. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +0 -36
  699. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +0 -28
  700. package/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +0 -1
  701. package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +0 -15
  702. package/src/components/StepsBlock/checkCanRenderIcon.ts +0 -4
  703. package/src/components/Tile/Tile.example.json +0 -28
  704. package/src/components/Tile/Tile.fixture.mobile.tsx +0 -48
  705. package/src/components/Tile/Tile.fixture.tsx +0 -147
  706. package/src/components/Tile/Tile.tsx +0 -23
  707. package/src/components/Tile/Tile.ui.json +0 -17
  708. package/src/components/Tile/TileContent.ts +0 -7
@@ -1,7 +1,6 @@
1
- import '../../setup-fixture';
2
-
3
1
  import { type BlockRendererOptions } from '../../BlockRenderer/BlockRendererOptions';
4
2
  import { type Picture } from '../../model/Picture';
3
+ import '../../setup-fixture';
5
4
  import { Blocks } from '../Blocks';
6
5
  import { BANK_HISTORY_CARD } from '../CarouselBankHistoryCard/CarouselBankHistoryCard.fixture';
7
6
  import { CARD, CARD_MINI, CARD_NEW } from '../CarouselCard/CarouselCard.fixture';
@@ -11,8 +10,8 @@ import {
11
10
  PRODUCT_CARD,
12
11
  PRODUCT_CARD_SMALL,
13
12
  } from '../CarouselProductCard/CarouselProductCard.fixture';
14
- import { BUSINESS_CARD } from '../CarouselProgramsCard/CarouselProgramsCard.fixture';
15
13
  import {
14
+ CAROUSEL_RECOMMENDATION_CARD_BENEFITS,
16
15
  CAROUSEL_RECOMMENDATION_CARD_SECONDARY,
17
16
  CAROUSEL_RECOMMENDATION_CARD_WITHOUT_LIST,
18
17
  } from '../CarouselRecommendationCard/CarouselRecommendationCard.fixture';
@@ -161,39 +160,40 @@ export default {
161
160
  />
162
161
  </div>
163
162
  ),
164
- program: (
163
+ investment: (
165
164
  <div className="container grid grid-cols-12">
166
165
  <Carousel
167
166
  className="col-span-12"
168
- visibleItemCount={2}
167
+ visibleItemCount={0}
169
168
  block={{
170
169
  type: 'Carousel',
171
170
  blocks: new Array(6).fill({
172
- type: 'CarouselProgramsCard',
173
- content: BUSINESS_CARD,
171
+ type: 'CarouselInvestmentCard',
172
+ content: INVESTMENT_CARD_WITH_SINGLE_COLUMN,
174
173
  }),
175
174
  }}
176
175
  options={options}
177
176
  />
178
177
  </div>
179
178
  ),
180
- investment: (
179
+ recommendations: (
181
180
  <div className="container grid grid-cols-12">
182
181
  <Carousel
183
182
  className="col-span-12"
184
183
  visibleItemCount={0}
184
+ cardSize="big"
185
185
  block={{
186
186
  type: 'Carousel',
187
187
  blocks: new Array(6).fill({
188
- type: 'CarouselInvestmentCard',
189
- content: INVESTMENT_CARD_WITH_SINGLE_COLUMN,
188
+ type: 'CarouselRecommendationCard',
189
+ content: CAROUSEL_RECOMMENDATION_CARD_WITHOUT_LIST,
190
190
  }),
191
191
  }}
192
192
  options={options}
193
193
  />
194
194
  </div>
195
195
  ),
196
- recommendations: (
196
+ recommendationsSecondary: (
197
197
  <div className="container grid grid-cols-12">
198
198
  <Carousel
199
199
  className="col-span-12"
@@ -203,14 +203,14 @@ export default {
203
203
  type: 'Carousel',
204
204
  blocks: new Array(6).fill({
205
205
  type: 'CarouselRecommendationCard',
206
- content: CAROUSEL_RECOMMENDATION_CARD_WITHOUT_LIST,
206
+ content: CAROUSEL_RECOMMENDATION_CARD_SECONDARY,
207
207
  }),
208
208
  }}
209
209
  options={options}
210
210
  />
211
211
  </div>
212
212
  ),
213
- recommendationsSecondary: (
213
+ recommendationsBenefits: (
214
214
  <div className="container grid grid-cols-12">
215
215
  <Carousel
216
216
  className="col-span-12"
@@ -220,13 +220,14 @@ export default {
220
220
  type: 'Carousel',
221
221
  blocks: new Array(6).fill({
222
222
  type: 'CarouselRecommendationCard',
223
- content: CAROUSEL_RECOMMENDATION_CARD_SECONDARY,
223
+ content: CAROUSEL_RECOMMENDATION_CARD_BENEFITS,
224
224
  }),
225
225
  }}
226
226
  options={options}
227
227
  />
228
228
  </div>
229
229
  ),
230
+
230
231
  'bank-history': (
231
232
  <div className="container grid grid-cols-12">
232
233
  <Carousel
@@ -68,7 +68,7 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
68
68
  />
69
69
  </div>
70
70
  <SwipeListControlDots
71
- className="@lg:hidden"
71
+ className="@5xl:hidden"
72
72
  containerRef={containerRef}
73
73
  activeIndex={dotsActiveIndex}
74
74
  dotCount={count}
@@ -68,7 +68,7 @@ const cardStyle = (
68
68
  CARD_SIZE_MAP[cardSize], // TODO fix для RecommendationCard
69
69
  someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl sm:pt-16' : 'pt-3xl'),
70
70
  showBorder &&
71
- 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider',
71
+ 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider h-full',
72
72
  );
73
73
 
74
74
  const isCardHighlighted = (_: BlockDef | undefined) =>
@@ -19,7 +19,7 @@ export const CarouselCard = JSX<CarouselCardProps>(
19
19
  defaultPadding="p-0"
20
20
  {...rest}
21
21
  >
22
- <div className="relative">
22
+ <div className="relative h-full">
23
23
  <div className={style(layerStyle, 'top-9 right-12 bg-green-dark')} />
24
24
  <div className={style(layerStyle, 'top-6 right-8 bg-green')} />
25
25
  <div className={style(layerStyle, 'top-3 right-4 bg-green-light')} />
@@ -1 +1 @@
1
- export const titleSize = 'L';
1
+ export const titleSize = 'XS';
@@ -39,7 +39,7 @@ export const CarouselCatalogCard = JSX<CarouselCatalogCardProps>(
39
39
  className="h-full"
40
40
  padding={padding}
41
41
  title={
42
- title ? (
42
+ title || description ? (
43
43
  <Headline
44
44
  title={title}
45
45
  description={description}
@@ -1,6 +1,6 @@
1
- import '../../setup-fixture';
2
-
3
1
  import { type Picture } from '../../model/Picture';
2
+ import '../../setup-fixture';
3
+ import { type ComplexBenefitContent } from '../../ui-kit/BenefitItem/BenefitItemContent';
4
4
  import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
5
5
  import { CarouselRecommendationCard } from './CarouselRecommendationCard';
6
6
  import { type CarouselRecommendationCardContent } from './CarouselRecommendationCardContent';
@@ -15,6 +15,28 @@ const icon: Picture = {
15
15
  title: 'product-basket',
16
16
  };
17
17
 
18
+ const iconCoin: Picture = {
19
+ src: 'coin.png',
20
+ format: 'webp',
21
+ size: {
22
+ width: 130,
23
+ },
24
+ title: 'money',
25
+ };
26
+
27
+ const benefits: ComplexBenefitContent[] = [
28
+ {
29
+ type: 'default',
30
+ label: 'От 16 до 81',
31
+ description: 'платежей',
32
+ },
33
+ {
34
+ type: 'default',
35
+ label: 'От 3 до 7,5 млн руб.',
36
+ description: 'остаток по счёту',
37
+ },
38
+ ];
39
+
18
40
  const socialMediaWithText: ButtonContent[] = [
19
41
  {
20
42
  href: 'https://t.me',
@@ -80,6 +102,15 @@ export const CAROUSEL_RECOMMENDATION_CARD_SECONDARY: CarouselRecommendationCardC
80
102
  socialMedia: socialMediaWithoutText,
81
103
  };
82
104
 
105
+ export const CAROUSEL_RECOMMENDATION_CARD_BENEFITS: CarouselRecommendationCardContent = {
106
+ title: 'Продвинутый',
107
+ imageOptions: {
108
+ directionRight: false,
109
+ },
110
+ icon: iconCoin,
111
+ benefits: benefits,
112
+ };
113
+
83
114
  export default {
84
115
  default: (
85
116
  <div className="container grid grid-cols-12">
@@ -132,4 +163,12 @@ export default {
132
163
  />
133
164
  </div>
134
165
  ),
166
+ benefits: (
167
+ <div className="container grid grid-cols-12">
168
+ <CarouselRecommendationCard
169
+ className="col-span-12"
170
+ {...CAROUSEL_RECOMMENDATION_CARD_BENEFITS}
171
+ />
172
+ </div>
173
+ ),
135
174
  };
@@ -1,6 +1,6 @@
1
- import '../../setup-fixture';
2
-
3
1
  import { type Picture } from '../../model/Picture';
2
+ import '../../setup-fixture';
3
+ import { type ComplexBenefitContent } from '../../ui-kit/BenefitItem/BenefitItemContent';
4
4
  import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
5
5
  import { CarouselRecommendationCard } from './CarouselRecommendationCard';
6
6
  import { type CarouselRecommendationCardContent } from './CarouselRecommendationCardContent';
@@ -15,6 +15,28 @@ const icon: Picture = {
15
15
  title: 'product-basket',
16
16
  };
17
17
 
18
+ const iconCoin: Picture = {
19
+ src: 'coin.png',
20
+ format: 'webp',
21
+ size: {
22
+ width: 130,
23
+ },
24
+ title: 'money',
25
+ };
26
+
27
+ const benefits: ComplexBenefitContent[] = [
28
+ {
29
+ type: 'default',
30
+ label: 'От 16 до 81',
31
+ description: 'платежей',
32
+ },
33
+ {
34
+ type: 'default',
35
+ label: 'От 3 до 7,5 млн руб.',
36
+ description: 'остаток по счёту',
37
+ },
38
+ ];
39
+
18
40
  const socialMediaWithText: ButtonContent[] = [
19
41
  {
20
42
  href: 'https://t.me',
@@ -87,6 +109,15 @@ export const CAROUSEL_RECOMMENDATION_CARD_SECONDARY: CarouselRecommendationCardC
87
109
  socialMedia: socialMediaWithoutText,
88
110
  };
89
111
 
112
+ export const CAROUSEL_RECOMMENDATION_CARD_BENEFITS: CarouselRecommendationCardContent = {
113
+ title: 'Продвинутый',
114
+ imageOptions: {
115
+ directionRight: false,
116
+ },
117
+ icon: iconCoin,
118
+ benefits: benefits,
119
+ };
120
+
90
121
  export default {
91
122
  default: (
92
123
  <div className="container grid grid-cols-12">
@@ -139,4 +170,12 @@ export default {
139
170
  />
140
171
  </div>
141
172
  ),
173
+ benefits: (
174
+ <div className="container grid grid-cols-12">
175
+ <CarouselRecommendationCard
176
+ className="col-span-12"
177
+ {...CAROUSEL_RECOMMENDATION_CARD_BENEFITS}
178
+ />
179
+ </div>
180
+ ),
142
181
  };
@@ -1,10 +1,13 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { type UniBlockProps } from '../../model/JSXBlock';
3
+ import { leftOrRightImage } from '../../ui-kit/BaseProductTile/BaseProductTile';
3
4
  import { BaseTile } from '../../ui-kit/BaseTile/BaseTile';
5
+ import { BenefitsList } from '../../ui-kit/BenefitsList/BenefitsList';
4
6
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
7
  import { Img } from '../../ui-kit/Img/Img';
6
8
  import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper';
7
9
  import { List } from '../../ui-kit/List/List';
10
+ import { isIcon } from '../../utils/isIcon';
8
11
  import { style } from '../../utils/style';
9
12
  import { SocialMedia } from '../Footer/SocialMedia';
10
13
  import { Headline } from '../Headline/Headline';
@@ -27,7 +30,12 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
27
30
  target,
28
31
  title,
29
32
  align = 'text-left',
30
- isImageAlwaysOnRight = ImageAlwaysOnRight,
33
+ benefits,
34
+ imageOptions: {
35
+ directionRight = true,
36
+ isImageAlwaysOnRight = ImageAlwaysOnRight,
37
+ isImageSecondary = false,
38
+ } = {},
31
39
  ...rest
32
40
  }) => {
33
41
  return (
@@ -39,7 +47,7 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
39
47
  <LinkWrapper href={href} target={target} className="h-full">
40
48
  <BaseTile
41
49
  className="h-full"
42
- defaultPadding="p-m"
50
+ defaultPadding="p-2xl"
43
51
  padding={padding}
44
52
  insetTitle={
45
53
  title ? (
@@ -52,15 +60,17 @@ export const CarouselRecommendationCard = JSX<RecommendationCardProps>(
52
60
  />
53
61
  ) : null
54
62
  }
55
- rightImage={icon?.icon || icon?.src ? <Img image={icon} /> : null}
63
+ {...leftOrRightImage(isIcon(icon) ? <Img image={icon} /> : null, directionRight)}
56
64
  buttons={
57
65
  socialMedia.length ? (
58
- <SocialMedia media={socialMedia} showButtonText={true} version={rest.version} />
66
+ <SocialMedia media={socialMedia} showButtonText={true} version={rest?.version} />
59
67
  ) : null
60
68
  }
61
69
  isImageAlwaysOnRight={isImageAlwaysOnRight}
70
+ isImageSecondary={isImageSecondary}
62
71
  >
63
- {items.length ? <List items={items} listItemSize={listItemSize} /> : null}
72
+ <BenefitsList benefits={benefits} />
73
+ <List items={items} listItemSize={listItemSize} />
64
74
  </BaseTile>
65
75
  </LinkWrapper>
66
76
  </BlockWrapper>
@@ -2,6 +2,8 @@ import { type AlignProps, type HeadlineCommonProps } from '../../model/HeadlineT
2
2
  import { type UniBlockContent } from '../../model/JSXBlock';
3
3
  import { type LinkCommonProps } from '../../model/LinkProps';
4
4
  import { type IconProps } from '../../model/Picture';
5
+ import { type TileImageOptions } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
6
+ import { type BenefitsListContent } from '../../ui-kit/BenefitsList/BenefitsListContent';
5
7
  import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
6
8
  import { type ListContent } from '../../ui-kit/List/ListContent';
7
9
 
@@ -13,9 +15,9 @@ export type CarouselRecommendationCardContent = UniBlockContent &
13
15
  ListContent &
14
16
  IconProps &
15
17
  LinkCommonProps &
16
- AlignProps & {
18
+ AlignProps &
19
+ BenefitsListContent & {
17
20
  /** @title Соц сети */
18
21
  socialMedia?: ButtonContent[];
19
- /** @title Изображение всегда справа */
20
- isImageAlwaysOnRight?: boolean;
22
+ imageOptions?: TileImageOptions;
21
23
  };
@@ -1,6 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { type UniBlockProps } from '../../model/JSXBlock';
3
- import { type Picture } from '../../model/Picture';
4
3
  import { type VNode } from '../../model/VNode';
5
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
5
  import { Button } from '../../ui-kit/Button/Button';
@@ -10,6 +9,7 @@ import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
10
9
  import { Heading } from '../../ui-kit/Heading/Heading';
11
10
  import { Icon } from '../../ui-kit/Icon/Icon';
12
11
  import { Img } from '../../ui-kit/Img/Img';
12
+ import { isIcon } from '../../utils/isIcon';
13
13
  import { style } from '../../utils/style';
14
14
  import { type CarouselTariffsCardContent } from './CarouselTariffsCardContent';
15
15
  import { renderCardInfo } from './renderCardInfo';
@@ -25,12 +25,16 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
25
25
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
26
26
 
27
27
  return (
28
- <BlockWrapper className={style('flex flex-col', className)} defaultPadding="p-3xl" {...rest}>
29
- {renderIconBlock(icon)}
28
+ <BlockWrapper className={style('flex flex-col', className)} defaultPadding="p-2xl" {...rest}>
29
+ {isIcon(icon) ? (
30
+ <div className="self-center">
31
+ <Img image={icon} />
32
+ </div>
33
+ ) : null}
30
34
  {title ? (
31
35
  <Heading className={style('pt-xs', align)} headingType="h5" title={title} />
32
36
  ) : null}
33
- {button ? <Button className="w-full mt-m" {...button} /> : null}
37
+ {button ? <Button className="w-full mt-m mb-lg" {...button} /> : null}
34
38
  {cardCells.length ? (
35
39
  <Foldable
36
40
  renderFoldableSection={({ isUnfolded }) => (
@@ -47,10 +51,6 @@ export const CarouselTariffsCard = JSX<CarouselTariffsCardProps>(
47
51
  },
48
52
  );
49
53
 
50
- const renderIconBlock = (icon?: Picture) => (
51
- <div className="self-center">{icon?.src || icon?.icon ? <Img image={icon} /> : null}</div>
52
- );
53
-
54
54
  const renderFoldButton = ({ isUnfolded, onToggle }: FoldablePartProps): VNode => (
55
55
  <button
56
56
  className="w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center"
@@ -42,7 +42,7 @@ export const ContentPage: JSXBlock<ContentPageProps> = JSX<ContentPageProps>(
42
42
  {renderBlocksList(slots?.header, { ...options, slotName: 'header' })}
43
43
  </div>
44
44
  ) : null}
45
- <div className="container space-y-px @lg:space-y-0 @lg:grid @lg:grid-cols-12 @lg:gap-2xs">
45
+ <div className="container space-y-px @5xl:space-y-0 @5xl:grid @5xl:grid-cols-12 @5xl:gap-2xs">
46
46
  {renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } })}
47
47
  {renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })}
48
48
  </div>
@@ -45,10 +45,12 @@ export const Footer = JSX<FooterProps>(({ className, ...rest }) => {
45
45
  <SocialMedia className="mb-xl" media={socialMedia} stretched={true}>
46
46
  Соцсети
47
47
  </SocialMedia>
48
- <Text size="text-s" font="font-light" color="text-secondary-text">
49
- Мобильное приложение
50
- </Text>
51
- <div className="mt-xs">{mobileApps?.map(renderButton)}</div>
48
+ <div className="mb-xl">
49
+ <div className="flex flex-col gap-4 mb-xs">{mobileApps?.map(renderButton)}</div>
50
+ <Text size="text-s" font="font-light" color="text-secondary-text">
51
+ Мобильное приложение
52
+ </Text>
53
+ </div>
52
54
  </div>
53
55
  <div className="py-lg border-t border-main-divider">
54
56
  <HorizontalNavigationLink
@@ -74,7 +76,7 @@ const renderButton = ({ href = '/', text }: LinkProps, i: number) => {
74
76
  return (
75
77
  <Button
76
78
  key={String(i)}
77
- className="w-full mb-lg"
79
+ className="w-full"
78
80
  text={text || label}
79
81
  version="secondary"
80
82
  href={href}
@@ -1,6 +1,7 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { type TitleProps } from '../../model/HeadlineType';
3
3
  import { Text } from '../../ui-kit/Text/Text';
4
+ import { style } from '../../utils/style';
4
5
  import { type FooterLink } from './FooterLink';
5
6
  import { HorizontalNavigationLink } from './HorizontalNavigationLink';
6
7
 
@@ -8,7 +9,7 @@ export interface HorizontalNavigationProps extends FooterLink, TitleProps {}
8
9
 
9
10
  export const HorizontalNavigation = JSX<HorizontalNavigationProps>(
10
11
  ({ title, links, className = '' }) => (
11
- <div className={className}>
12
+ <div className={style('flex flex-col gap-4', className)}>
12
13
  <Text size="text-l" font="font-normal">
13
14
  {title}
14
15
  </Text>
@@ -1,10 +1,10 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
3
  import type { ButtonVersion } from '../../model/ButtonVersion';
4
- import type { Picture } from '../../model/Picture';
5
4
  import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
6
5
  import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
7
6
  import { Text } from '../../ui-kit/Text/Text';
7
+ import { isIcon } from '../../utils/isIcon';
8
8
  import { style } from '../../utils/style';
9
9
  import { findIconByHref } from './findIconByHref';
10
10
 
@@ -22,7 +22,7 @@ export const SocialMedia = JSX<SocialMediaProps>(
22
22
  const buttons: ButtonContent[] | undefined = media?.map((_) => {
23
23
  const { href, icon, text } = _;
24
24
  const { iconMapped } = findIconByHref(href);
25
- const iconCustom = getFilteredIcon(icon) ?? iconMapped;
25
+ const iconCustom = isIcon(icon) ? icon : iconMapped;
26
26
  const buttonText = showButtonText ? { text } : { text: '' };
27
27
 
28
28
  if (!hasText && text) {
@@ -39,26 +39,24 @@ export const SocialMedia = JSX<SocialMediaProps>(
39
39
 
40
40
  const buttonClassName = style(
41
41
  'border border-solid hover:border-transparent group-data-primary:border-main-divider border-main-divider group-data-gray:border-green group/media',
42
- showButtonText && hasText ? '' : ' basis-auto',
42
+ showButtonText && hasText ? '' : 'basis-auto',
43
43
  stretched ? 'flex-1 justify-center' : '',
44
44
  );
45
45
 
46
46
  return (
47
- <div className="flex flex-col sm:flex-col-reverse gap-xs">
48
- {children ? (
49
- <Text size="text-s" font="font-light" color="text-secondary-text">
50
- {children}
51
- </Text>
52
- ) : null}
53
- <div className={style('flex gap-xs', className)}>
47
+ <div className={style('flex flex-col gap-xs', className)}>
48
+ <div className="flex gap-xs">
54
49
  {renderButtonsSection(buttons, {
55
50
  className: stretched ? 'w-full' : '',
56
51
  buttonClassName,
57
52
  })}
58
53
  </div>
54
+ {children ? (
55
+ <Text size="text-s" font="font-light" color="text-secondary-text">
56
+ {children}
57
+ </Text>
58
+ ) : null}
59
59
  </div>
60
60
  );
61
61
  },
62
62
  );
63
-
64
- const getFilteredIcon = (icon: Picture | undefined) => (icon?.src || icon?.icon ? icon : undefined);
@@ -12,7 +12,7 @@ export const TextInformation = JSX<FooterLink>(({ className = '', links }) => (
12
12
  </Text>
13
13
  </div>
14
14
  {links?.length ? (
15
- <div className="flex flex-col @lg:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg">
15
+ <div className="flex flex-col @5xl:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg">
16
16
  {links.map((_, i) => (
17
17
  <TextInformationLink key={String(i)} index={i} {..._} />
18
18
  ))}
@@ -35,4 +35,8 @@ export const ICONS_MAP: Array<IconsMapItem> = [
35
35
  origins: ['rutube.ru'],
36
36
  iconMapped: { icon: 'RutubeIcon' },
37
37
  },
38
+ {
39
+ origins: ['dzen.ru'],
40
+ iconMapped: { icon: 'DzenIcon' },
41
+ },
38
42
  ];
@@ -1 +1,16 @@
1
- {}
1
+ {
2
+ "content": {
3
+ "data": {
4
+ "dataType": {
5
+ "ui:widget": "hidden"
6
+ },
7
+ "list": {
8
+ "items": {
9
+ "image": {
10
+ "ui:field": "picture"
11
+ }
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
@@ -6,6 +6,7 @@ import { type Picture } from '../../model/Picture';
6
6
  * @title Пункт
7
7
  */
8
8
  export type ItemList = {
9
+ /** @title Название */
9
10
  text?: string;
10
11
  image?: Picture;
11
12
  };
@@ -33,12 +33,7 @@ export const ProductBlock = JSX<ProductBlockProps>(
33
33
  padding={padding}
34
34
  {...rest}
35
35
  >
36
- {backwardButton
37
- ? renderBackwardButton(
38
- !rest.version || rest.version === 'primary' ? 'primary' : 'white',
39
- handleClick,
40
- )
41
- : null}
36
+ {backwardButton ? renderBackwardButton(rest.version || 'primary', handleClick) : null}
42
37
  <BaseProductTile className="grow h-full" {...rest} />
43
38
  </BlockWrapper>
44
39
  );
@@ -22,7 +22,13 @@ export function renderBackwardButton(version: ButtonVersion, handleClick: () =>
22
22
  }}
23
23
  />
24
24
  </div>
25
- <Button version="link" text={text} ariaLabel={text} onClick={handleClick} />
25
+ <Button
26
+ version="link"
27
+ className="group-data-secondary:text-white/80"
28
+ text={text}
29
+ ariaLabel={text}
30
+ onClick={handleClick}
31
+ />
26
32
  </div>
27
33
  );
28
34
  }
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "productBlock": {
10
10
  "title": "Продуктовая галерея",
11
- "headlineVersion": "XXL",
11
+ "headlineVersion": "M",
12
12
  "image": {
13
13
  "format": "webp",
14
14
  "size": {
@@ -28,7 +28,7 @@ export const ProductGallery = JSX<ProductGalleryProps>(
28
28
  <div key={String(i)} className="box-border grow-0 shrink-0 basis-full" role="listitem">
29
29
  <BaseProductTile
30
30
  className="pl-6xl h-full"
31
- headlineVersion="XXL"
31
+ headlineVersion="M"
32
32
  isFullWidthTitle={false}
33
33
  {...productBlock}
34
34
  {...rest}
@@ -3,6 +3,7 @@
3
3
  "description": "Описание",
4
4
  "__html": "<p>Описание</p>",
5
5
  "richVersion": "",
6
+ "icon": { "format": "webp", "size": { "width": 70, "height": 48 } },
6
7
  "button": {
7
8
  "text": "Информация о регионе",
8
9
  "version": "link",