@redneckz/wildless-cms-uni-blocks 0.5.8 → 0.5.10

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 (1103) hide show
  1. package/bin/migration-scripts/0.4.5.js +1 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +77 -43
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/cosmos-static/icons/CardTickIcon.svg +1 -1
  6. package/cosmos-static/icons/DocDownloadIcon.svg +1 -1
  7. package/cosmos-static/icons/DoneSimpleIcon.svg +1 -1
  8. package/dist/api/DaDataAPI.d.ts +12 -0
  9. package/dist/api/DaDataAPI.js.map +1 -1
  10. package/dist/components/Accordion/Accordion.d.ts +1 -1
  11. package/dist/components/Accordion/Accordion.mobile.d.ts +1 -1
  12. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  13. package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  14. package/dist/components/BaseTile/BaseTile.d.ts +1 -1
  15. package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  16. package/dist/components/Bonus/Bonus.d.ts +1 -1
  17. package/dist/components/Bonus/Bonus.js.map +1 -1
  18. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  19. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  20. package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  21. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  22. package/dist/components/Calculator/Calculator.d.ts +1 -1
  23. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  24. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  25. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  26. package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  27. package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  28. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  29. package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  30. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  31. package/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
  32. package/dist/components/CardTransfer/CardTransfer.js +2 -2
  33. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  34. package/dist/components/Catalog/Catalog.d.ts +1 -1
  35. package/dist/components/Catalog/CatalogCard.d.ts +1 -1
  36. package/dist/components/Catalog/CatalogCard.js +1 -1
  37. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  38. package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  39. package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  40. package/dist/components/ComparisonTable/TableColumn.d.ts +2 -2
  41. package/dist/components/ContentPage/ContentPage.d.ts +5 -24
  42. package/dist/components/ContentPage/ContentPage.js +17 -19
  43. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  44. package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  45. package/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
  46. package/dist/components/ContentPage/filterBlocks.d.ts +5 -4
  47. package/dist/components/ContentPage/filterBlocks.mobile.d.ts +5 -4
  48. package/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  49. package/dist/components/ContentPage/normalizeBlock.d.ts +4 -3
  50. package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +1 -1
  51. package/dist/components/ContentPage/normalizePage.d.ts +2 -2
  52. package/dist/components/ContentPage/renderBlock.d.ts +13 -0
  53. package/dist/components/ContentPage/renderBlock.js +28 -0
  54. package/dist/components/ContentPage/renderBlock.js.map +1 -0
  55. package/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  56. package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  57. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  58. package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  59. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  60. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  61. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  62. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  63. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  64. package/dist/components/Footer/Contacts.d.ts +1 -1
  65. package/dist/components/Footer/Footer.d.ts +1 -1
  66. package/dist/components/Footer/Footer.mobile.d.ts +1 -1
  67. package/dist/components/Footer/FooterLink.d.ts +1 -1
  68. package/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
  69. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  70. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
  71. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  72. package/dist/components/Footer/MediaButton.js +1 -1
  73. package/dist/components/Footer/MediaButton.js.map +1 -1
  74. package/dist/components/Footer/Sitemap.d.ts +2 -2
  75. package/dist/components/Footer/Sitemap.js.map +1 -1
  76. package/dist/components/Footer/SocialMedia.d.ts +1 -1
  77. package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
  78. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  79. package/dist/components/Gallery/GalleryProps.d.ts +1 -1
  80. package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  81. package/dist/components/Header/DropdownMenu.d.ts +1 -1
  82. package/dist/components/Header/Header.d.ts +1 -1
  83. package/dist/components/Header/Header.fallback.d.ts +1 -1
  84. package/dist/components/Header/Header.js.map +1 -1
  85. package/dist/components/Header/Header.mobile.d.ts +1 -1
  86. package/dist/components/Header/Header.mobile.js.map +1 -1
  87. package/dist/components/Headline/Headline.d.ts +1 -1
  88. package/dist/components/Headline/Headline.js +1 -1
  89. package/dist/components/Headline/Headline.js.map +1 -1
  90. package/dist/components/Headline/Headline.mobile.d.ts +1 -1
  91. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  92. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  93. package/dist/components/LikeControl/LikeControl.d.ts +1 -1
  94. package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  95. package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  96. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  97. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  98. package/dist/components/LinkList/LinkList.d.ts +1 -1
  99. package/dist/components/LinkList/LinkList.js.map +1 -1
  100. package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  101. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  102. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  103. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  104. package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  105. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  106. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  107. package/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
  108. package/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  109. package/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  110. package/dist/components/PictureText/PictureText.d.ts +1 -1
  111. package/dist/components/Placeholder/Placeholder.d.ts +1 -1
  112. package/dist/components/Placeholder/Placeholder.js +1 -1
  113. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  114. package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  115. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  116. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  117. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  118. package/dist/components/ProductBlock/ProductBlock.mobile.js +1 -1
  119. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  120. package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  121. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  122. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  123. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  124. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  125. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  126. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  127. package/dist/components/ProductGallery/ProductGallery.js +10 -10
  128. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  129. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  130. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  131. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  132. package/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  133. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  134. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  135. package/dist/components/ProductTile/ProductTile.d.ts +1 -1
  136. package/dist/components/ProductTile/ProductTile.js +1 -1
  137. package/dist/components/PromoTile/PromoTile.d.ts +1 -1
  138. package/dist/components/PromoTile/PromoTile.js +1 -1
  139. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  140. package/dist/components/Recommendation/Recommendation.d.ts +1 -1
  141. package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  142. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  143. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  144. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  145. package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  146. package/dist/components/StepsBlock/StepsBlock.mobile.js +5 -1
  147. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  148. package/dist/components/Tabs/Tabs.d.ts +1 -1
  149. package/dist/components/Tabs/renderTab.d.ts +1 -1
  150. package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  151. package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  152. package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  153. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  154. package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  155. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  156. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  157. package/dist/components/TextBlock/TextBlock.d.ts +1 -1
  158. package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  159. package/dist/components/Tile/Tile.d.ts +1 -1
  160. package/dist/content-page-repository/ContentPageRepository.d.ts +1 -1
  161. package/dist/content-page-repository/transformContentPage.d.ts +1 -1
  162. package/dist/icons/IconName.d.ts +94 -2
  163. package/dist/icons/IconName.js +6 -3
  164. package/dist/icons/IconName.js.map +1 -1
  165. package/dist/model/BlockDecorator.d.ts +14 -0
  166. package/dist/model/BlockDecorator.js +4 -0
  167. package/dist/model/BlockDecorator.js.map +1 -0
  168. package/dist/model/BlocksRegistry.d.ts +5 -0
  169. package/dist/{types.js → model/BlocksRegistry.js} +1 -1
  170. package/dist/model/BlocksRegistry.js.map +1 -0
  171. package/{mobile/dist/types.d.ts → dist/model/ContentPageDef.d.ts} +5 -20
  172. package/dist/{components/BlockContent.js → model/ContentPageDef.js} +1 -1
  173. package/dist/model/ContentPageDef.js.map +1 -0
  174. package/dist/{types → model}/Fallback.d.ts +0 -0
  175. package/dist/{types → model}/Fallback.js +0 -0
  176. package/dist/{types → model}/Fallback.js.map +1 -1
  177. package/dist/services/sitemap/useSitemap.d.ts +1 -1
  178. package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  179. package/dist/ui-kit/BlockWrapper.d.ts +1 -1
  180. package/dist/ui-kit/Button/Button.mobile.js +4 -1
  181. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  182. package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  183. package/dist/ui-kit/Button/buttonClassNameConstants.js +1 -1
  184. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  185. package/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
  186. package/dist/ui-kit/Icon/Icon.js +11 -3
  187. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  188. package/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  189. package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  190. package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  191. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  192. package/dist/ui-kit/Logo/Logo.d.ts +1 -1
  193. package/dist/ui-kit/Logo/Logo.js +2 -2
  194. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  195. package/dist/ui-kit/Logo/Logo.mobile.d.ts +1 -1
  196. package/dist/ui-kit/Logo/Logo.mobile.js +2 -2
  197. package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
  198. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  199. package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  200. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  201. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  202. package/lib/api/DaDataAPI.d.ts +12 -0
  203. package/lib/api/DaDataAPI.js.map +1 -1
  204. package/lib/common.css +1 -1
  205. package/lib/components/Accordion/Accordion.d.ts +1 -1
  206. package/lib/components/Accordion/Accordion.mobile.d.ts +1 -1
  207. package/lib/components/Accordion/AccordionItem.d.ts +1 -1
  208. package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  209. package/lib/components/BaseTile/BaseTile.d.ts +1 -1
  210. package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  211. package/lib/components/Bonus/Bonus.d.ts +1 -1
  212. package/lib/components/Bonus/Bonus.js.map +1 -1
  213. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  214. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  215. package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  216. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  217. package/lib/components/Calculator/Calculator.d.ts +1 -1
  218. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  219. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  220. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  221. package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  222. package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  223. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  224. package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  225. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  226. package/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
  227. package/lib/components/CardTransfer/CardTransfer.js +2 -2
  228. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  229. package/lib/components/Catalog/Catalog.d.ts +1 -1
  230. package/lib/components/Catalog/CatalogCard.d.ts +1 -1
  231. package/lib/components/Catalog/CatalogCard.js +1 -1
  232. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  233. package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  234. package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  235. package/lib/components/ComparisonTable/TableColumn.d.ts +2 -2
  236. package/lib/components/ContentPage/ContentPage.d.ts +5 -24
  237. package/lib/components/ContentPage/ContentPage.js +17 -19
  238. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  239. package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  240. package/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
  241. package/lib/components/ContentPage/filterBlocks.d.ts +5 -4
  242. package/lib/components/ContentPage/filterBlocks.mobile.d.ts +5 -4
  243. package/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  244. package/lib/components/ContentPage/normalizeBlock.d.ts +4 -3
  245. package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +1 -1
  246. package/lib/components/ContentPage/normalizePage.d.ts +2 -2
  247. package/lib/components/ContentPage/renderBlock.d.ts +13 -0
  248. package/lib/components/ContentPage/renderBlock.js +25 -0
  249. package/lib/components/ContentPage/renderBlock.js.map +1 -0
  250. package/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  251. package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  252. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  253. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  254. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  255. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  256. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  257. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  258. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  259. package/lib/components/Footer/Contacts.d.ts +1 -1
  260. package/lib/components/Footer/Footer.d.ts +1 -1
  261. package/lib/components/Footer/Footer.mobile.d.ts +1 -1
  262. package/lib/components/Footer/FooterLink.d.ts +1 -1
  263. package/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
  264. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  265. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
  266. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  267. package/lib/components/Footer/MediaButton.js +1 -1
  268. package/lib/components/Footer/MediaButton.js.map +1 -1
  269. package/lib/components/Footer/Sitemap.d.ts +2 -2
  270. package/lib/components/Footer/Sitemap.js.map +1 -1
  271. package/lib/components/Footer/SocialMedia.d.ts +1 -1
  272. package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
  273. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  274. package/lib/components/Gallery/GalleryProps.d.ts +1 -1
  275. package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  276. package/lib/components/Header/DropdownMenu.d.ts +1 -1
  277. package/lib/components/Header/Header.d.ts +1 -1
  278. package/lib/components/Header/Header.fallback.d.ts +1 -1
  279. package/lib/components/Header/Header.js.map +1 -1
  280. package/lib/components/Header/Header.mobile.d.ts +1 -1
  281. package/lib/components/Header/Header.mobile.js.map +1 -1
  282. package/lib/components/Headline/Headline.d.ts +1 -1
  283. package/lib/components/Headline/Headline.js +1 -1
  284. package/lib/components/Headline/Headline.js.map +1 -1
  285. package/lib/components/Headline/Headline.mobile.d.ts +1 -1
  286. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  287. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  288. package/lib/components/LikeControl/LikeControl.d.ts +1 -1
  289. package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  290. package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  291. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  292. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  293. package/lib/components/LinkList/LinkList.d.ts +1 -1
  294. package/lib/components/LinkList/LinkList.js.map +1 -1
  295. package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  296. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  297. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  298. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  299. package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  300. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  301. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  302. package/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
  303. package/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  304. package/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  305. package/lib/components/PictureText/PictureText.d.ts +1 -1
  306. package/lib/components/Placeholder/Placeholder.d.ts +1 -1
  307. package/lib/components/Placeholder/Placeholder.js +1 -1
  308. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  309. package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  310. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  311. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  312. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  313. package/lib/components/ProductBlock/ProductBlock.mobile.js +1 -1
  314. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  315. package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  316. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  317. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  318. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  319. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  320. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  321. package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  322. package/lib/components/ProductGallery/ProductGallery.js +10 -10
  323. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  324. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  325. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  326. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  327. package/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  328. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  329. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  330. package/lib/components/ProductTile/ProductTile.d.ts +1 -1
  331. package/lib/components/ProductTile/ProductTile.js +1 -1
  332. package/lib/components/PromoTile/PromoTile.d.ts +1 -1
  333. package/lib/components/PromoTile/PromoTile.js +1 -1
  334. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  335. package/lib/components/Recommendation/Recommendation.d.ts +1 -1
  336. package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  337. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  338. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  339. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  340. package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  341. package/lib/components/StepsBlock/StepsBlock.mobile.js +5 -1
  342. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  343. package/lib/components/Tabs/Tabs.d.ts +1 -1
  344. package/lib/components/Tabs/renderTab.d.ts +1 -1
  345. package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  346. package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  347. package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  348. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  349. package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  350. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  351. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  352. package/lib/components/TextBlock/TextBlock.d.ts +1 -1
  353. package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  354. package/lib/components/Tile/Tile.d.ts +1 -1
  355. package/lib/content-page-repository/ContentPageRepository.d.ts +1 -1
  356. package/lib/content-page-repository/transformContentPage.d.ts +1 -1
  357. package/lib/icons/IconName.d.ts +94 -2
  358. package/lib/icons/IconName.js +4 -1
  359. package/lib/icons/IconName.js.map +1 -1
  360. package/lib/model/BlockDecorator.d.ts +14 -0
  361. package/lib/model/BlockDecorator.js +2 -0
  362. package/lib/model/BlockDecorator.js.map +1 -0
  363. package/lib/model/BlocksRegistry.d.ts +5 -0
  364. package/lib/model/BlocksRegistry.js +2 -0
  365. package/lib/model/BlocksRegistry.js.map +1 -0
  366. package/{mobile/lib/types.d.ts → lib/model/ContentPageDef.d.ts} +5 -20
  367. package/lib/model/ContentPageDef.js +2 -0
  368. package/lib/model/ContentPageDef.js.map +1 -0
  369. package/lib/{types → model}/Fallback.d.ts +0 -0
  370. package/lib/{types → model}/Fallback.js +0 -0
  371. package/lib/{types → model}/Fallback.js.map +1 -1
  372. package/lib/services/sitemap/useSitemap.d.ts +1 -1
  373. package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  374. package/lib/ui-kit/BlockWrapper.d.ts +1 -1
  375. package/lib/ui-kit/Button/Button.mobile.js +4 -1
  376. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  377. package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  378. package/lib/ui-kit/Button/buttonClassNameConstants.js +1 -1
  379. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  380. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
  381. package/lib/ui-kit/Icon/Icon.js +12 -4
  382. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  383. package/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  384. package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  385. package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  386. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  387. package/lib/ui-kit/Logo/Logo.d.ts +1 -1
  388. package/lib/ui-kit/Logo/Logo.js +2 -2
  389. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  390. package/lib/ui-kit/Logo/Logo.mobile.d.ts +1 -1
  391. package/lib/ui-kit/Logo/Logo.mobile.js +2 -2
  392. package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
  393. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  394. package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  395. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  396. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  397. package/mobile/bundle/bundle.umd.js +72 -31
  398. package/mobile/bundle/bundle.umd.min.js +1 -1
  399. package/mobile/dist/api/DaDataAPI.d.ts +12 -0
  400. package/mobile/dist/api/DaDataAPI.js.map +1 -1
  401. package/mobile/dist/components/Accordion/Accordion.d.ts +1 -1
  402. package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
  403. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
  404. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  405. package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
  406. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  407. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  408. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  409. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  410. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  411. package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
  412. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  413. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  414. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  415. package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  416. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  417. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  418. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  419. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  420. package/mobile/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
  421. package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -2
  422. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  423. package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
  424. package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
  425. package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
  426. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  427. package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  428. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +2 -2
  429. package/mobile/dist/components/ContentPage/ContentPage.d.ts +5 -24
  430. package/mobile/dist/components/ContentPage/ContentPage.js +17 -19
  431. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  432. package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  433. package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
  434. package/mobile/dist/components/ContentPage/filterBlocks.d.ts +2 -2
  435. package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  436. package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +1 -1
  437. package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -2
  438. package/mobile/dist/components/ContentPage/renderBlock.d.ts +13 -0
  439. package/mobile/dist/components/ContentPage/renderBlock.js +28 -0
  440. package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -0
  441. package/mobile/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  442. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  443. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  444. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  445. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  446. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  447. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  448. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  449. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  450. package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
  451. package/mobile/dist/components/Footer/Footer.d.ts +1 -1
  452. package/mobile/dist/components/Footer/FooterLink.d.ts +1 -1
  453. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
  454. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  455. package/mobile/dist/components/Footer/MediaButton.js +1 -1
  456. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  457. package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
  458. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  459. package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
  460. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  461. package/mobile/dist/components/Gallery/GalleryProps.d.ts +1 -1
  462. package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  463. package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
  464. package/mobile/dist/components/Header/Header.d.ts +1 -1
  465. package/mobile/dist/components/Header/Header.fallback.d.ts +1 -1
  466. package/mobile/dist/components/Header/Header.js.map +1 -1
  467. package/mobile/dist/components/Headline/Headline.d.ts +1 -1
  468. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  469. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  470. package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
  471. package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  472. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  473. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  474. package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
  475. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  476. package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  477. package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  478. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  479. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  480. package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
  481. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  482. package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  483. package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
  484. package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
  485. package/mobile/dist/components/Placeholder/Placeholder.js +1 -1
  486. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  487. package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  488. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
  489. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  490. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  491. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  492. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  493. package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  494. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  495. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  496. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  497. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  498. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  499. package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
  500. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  501. package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
  502. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  503. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  504. package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
  505. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  506. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  507. package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  508. package/mobile/dist/components/StepsBlock/StepsBlock.js +5 -1
  509. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  510. package/mobile/dist/components/Tabs/Tabs.d.ts +1 -1
  511. package/mobile/dist/components/Tabs/renderTab.d.ts +1 -1
  512. package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  513. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  514. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  515. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  516. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  517. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  518. package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
  519. package/mobile/dist/components/Tile/Tile.d.ts +1 -1
  520. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +1 -1
  521. package/mobile/dist/content-page-repository/transformContentPage.d.ts +1 -1
  522. package/mobile/dist/icons/IconName.d.ts +94 -2
  523. package/mobile/dist/icons/IconName.js +6 -3
  524. package/mobile/dist/icons/IconName.js.map +1 -1
  525. package/mobile/dist/model/BlockDecorator.d.ts +14 -0
  526. package/mobile/dist/model/BlockDecorator.js +4 -0
  527. package/mobile/dist/model/BlockDecorator.js.map +1 -0
  528. package/mobile/dist/model/BlocksRegistry.d.ts +5 -0
  529. package/mobile/dist/{components/BlockContent.js → model/BlocksRegistry.js} +1 -1
  530. package/mobile/dist/model/BlocksRegistry.js.map +1 -0
  531. package/{lib/types.d.ts → mobile/dist/model/ContentPageDef.d.ts} +5 -20
  532. package/mobile/dist/model/ContentPageDef.js +2 -0
  533. package/mobile/dist/model/ContentPageDef.js.map +1 -0
  534. package/mobile/dist/{types → model}/Fallback.d.ts +0 -0
  535. package/mobile/dist/{types → model}/Fallback.js +0 -0
  536. package/mobile/dist/{types → model}/Fallback.js.map +1 -1
  537. package/mobile/dist/services/sitemap/useSitemap.d.ts +1 -1
  538. package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  539. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
  540. package/mobile/dist/ui-kit/Button/Button.js +4 -1
  541. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  542. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  543. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +1 -1
  544. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  545. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
  546. package/mobile/dist/ui-kit/Icon/Icon.js +11 -3
  547. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  548. package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  549. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  550. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  551. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  552. package/mobile/dist/ui-kit/Logo/Logo.d.ts +1 -1
  553. package/mobile/dist/ui-kit/Logo/Logo.js +2 -2
  554. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  555. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  556. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  557. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  558. package/mobile/lib/api/DaDataAPI.d.ts +12 -0
  559. package/mobile/lib/api/DaDataAPI.js.map +1 -1
  560. package/mobile/lib/components/Accordion/Accordion.d.ts +1 -1
  561. package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
  562. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
  563. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  564. package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
  565. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  566. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  567. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  568. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  569. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  570. package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
  571. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  572. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  573. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  574. package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  575. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  576. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  577. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  578. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  579. package/mobile/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
  580. package/mobile/lib/components/CardTransfer/CardTransfer.js +2 -2
  581. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  582. package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
  583. package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
  584. package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
  585. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  586. package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  587. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +2 -2
  588. package/mobile/lib/components/ContentPage/ContentPage.d.ts +5 -24
  589. package/mobile/lib/components/ContentPage/ContentPage.js +17 -19
  590. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  591. package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  592. package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
  593. package/mobile/lib/components/ContentPage/filterBlocks.d.ts +2 -2
  594. package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  595. package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +1 -1
  596. package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -2
  597. package/mobile/lib/components/ContentPage/renderBlock.d.ts +13 -0
  598. package/mobile/lib/components/ContentPage/renderBlock.js +25 -0
  599. package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -0
  600. package/mobile/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  601. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  602. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  603. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  604. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  605. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  606. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  607. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  608. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  609. package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
  610. package/mobile/lib/components/Footer/Footer.d.ts +1 -1
  611. package/mobile/lib/components/Footer/FooterLink.d.ts +1 -1
  612. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
  613. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  614. package/mobile/lib/components/Footer/MediaButton.js +1 -1
  615. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  616. package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
  617. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  618. package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
  619. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  620. package/mobile/lib/components/Gallery/GalleryProps.d.ts +1 -1
  621. package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  622. package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
  623. package/mobile/lib/components/Header/Header.d.ts +1 -1
  624. package/mobile/lib/components/Header/Header.fallback.d.ts +1 -1
  625. package/mobile/lib/components/Header/Header.js.map +1 -1
  626. package/mobile/lib/components/Headline/Headline.d.ts +1 -1
  627. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  628. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  629. package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
  630. package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  631. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  632. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  633. package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
  634. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  635. package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  636. package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  637. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  638. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  639. package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
  640. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  641. package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  642. package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
  643. package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
  644. package/mobile/lib/components/Placeholder/Placeholder.js +1 -1
  645. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  646. package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  647. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
  648. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  649. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  650. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  651. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  652. package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  653. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  654. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  655. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  656. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  657. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  658. package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
  659. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  660. package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
  661. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  662. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  663. package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
  664. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  665. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  666. package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  667. package/mobile/lib/components/StepsBlock/StepsBlock.js +5 -1
  668. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  669. package/mobile/lib/components/Tabs/Tabs.d.ts +1 -1
  670. package/mobile/lib/components/Tabs/renderTab.d.ts +1 -1
  671. package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  672. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  673. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  674. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  675. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  676. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  677. package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
  678. package/mobile/lib/components/Tile/Tile.d.ts +1 -1
  679. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +1 -1
  680. package/mobile/lib/content-page-repository/transformContentPage.d.ts +1 -1
  681. package/mobile/lib/icons/IconName.d.ts +94 -2
  682. package/mobile/lib/icons/IconName.js +4 -1
  683. package/mobile/lib/icons/IconName.js.map +1 -1
  684. package/mobile/lib/model/BlockDecorator.d.ts +14 -0
  685. package/mobile/lib/model/BlockDecorator.js +2 -0
  686. package/mobile/lib/model/BlockDecorator.js.map +1 -0
  687. package/mobile/lib/model/BlocksRegistry.d.ts +5 -0
  688. package/mobile/lib/model/BlocksRegistry.js +2 -0
  689. package/mobile/lib/model/BlocksRegistry.js.map +1 -0
  690. package/{dist/types.d.ts → mobile/lib/model/ContentPageDef.d.ts} +5 -20
  691. package/mobile/lib/model/ContentPageDef.js +2 -0
  692. package/mobile/lib/model/ContentPageDef.js.map +1 -0
  693. package/mobile/lib/{types → model}/Fallback.d.ts +0 -0
  694. package/mobile/lib/{types → model}/Fallback.js +0 -0
  695. package/mobile/lib/{types → model}/Fallback.js.map +1 -1
  696. package/mobile/lib/services/sitemap/useSitemap.d.ts +1 -1
  697. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  698. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
  699. package/mobile/lib/ui-kit/Button/Button.js +4 -1
  700. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  701. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  702. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +1 -1
  703. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  704. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
  705. package/mobile/lib/ui-kit/Icon/Icon.js +12 -4
  706. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  707. package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  708. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  709. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  710. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  711. package/mobile/lib/ui-kit/Logo/Logo.d.ts +1 -1
  712. package/mobile/lib/ui-kit/Logo/Logo.js +2 -2
  713. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  714. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  715. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  716. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  717. package/mobile/src/api/DaDataAPI.ts +13 -1
  718. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  719. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
  720. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -1
  721. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  722. package/mobile/src/components/Bonus/Bonus.tsx +2 -2
  723. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  724. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  725. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  726. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
  727. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  728. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
  729. package/mobile/src/components/CardTransfer/CardTransfer.tsx +4 -4
  730. package/mobile/src/components/Catalog/Catalog.tsx +1 -1
  731. package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
  732. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  733. package/mobile/src/components/ComparisonTable/TableColumn.tsx +2 -2
  734. package/mobile/src/components/ContentPage/ContentPage.tsx +53 -101
  735. package/mobile/src/components/ContentPage/ContentPageHead.tsx +1 -1
  736. package/mobile/src/components/ContentPage/computeAPIFallback.spec.ts +1 -1
  737. package/mobile/src/components/ContentPage/computeAPIFallback.ts +2 -2
  738. package/mobile/src/components/ContentPage/filterBlocks.ts +2 -2
  739. package/mobile/src/components/ContentPage/isBlockInRegistry.ts +1 -1
  740. package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +1 -1
  741. package/mobile/src/components/ContentPage/normalizeBlock.ts +1 -1
  742. package/mobile/src/components/ContentPage/normalizePage.ts +2 -2
  743. package/mobile/src/components/ContentPage/renderBlock.tsx +62 -0
  744. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +3 -3
  745. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  746. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  747. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +6 -3
  748. package/mobile/src/components/Footer/Contacts.tsx +1 -1
  749. package/mobile/src/components/Footer/Footer.tsx +2 -2
  750. package/mobile/src/components/Footer/FooterLink.ts +1 -1
  751. package/mobile/src/components/Footer/HorizontalNavigation.tsx +3 -3
  752. package/mobile/src/components/Footer/MediaButton.tsx +1 -1
  753. package/mobile/src/components/Footer/Sitemap.tsx +2 -2
  754. package/mobile/src/components/Footer/SocialMedia.tsx +1 -1
  755. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  756. package/mobile/src/components/Gallery/GalleryProps.ts +1 -1
  757. package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
  758. package/mobile/src/components/Header/DropdownMenu.tsx +1 -1
  759. package/mobile/src/components/Header/Header.fallback.ts +1 -1
  760. package/mobile/src/components/Header/Header.tsx +2 -2
  761. package/mobile/src/components/Headline/Headline.tsx +1 -1
  762. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  763. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  764. package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
  765. package/mobile/src/components/LinkDocs/LinkDocs.tsx +2 -2
  766. package/mobile/src/components/LinkList/LinkList.tsx +1 -1
  767. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  768. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
  769. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  770. package/mobile/src/components/OtherProducts/OtherProducts.tsx +1 -1
  771. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +2 -2
  772. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +1 -1
  773. package/mobile/src/components/PictureText/PictureText.example.json +2 -0
  774. package/mobile/src/components/PictureText/PictureText.tsx +1 -1
  775. package/mobile/src/components/Placeholder/Placeholder.tsx +3 -3
  776. package/mobile/src/components/ProductBlock/ProductBlock.tsx +3 -3
  777. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -3
  778. package/mobile/src/components/ProductGallery/ProductGallery.tsx +2 -2
  779. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +3 -3
  780. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +0 -1
  781. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -2
  782. package/mobile/src/components/PromoTile/PromoTile.tsx +3 -3
  783. package/mobile/src/components/Recommendation/Recommendation.tsx +1 -1
  784. package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -1
  785. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  786. package/mobile/src/components/StepsBlock/StepsBlock.tsx +14 -3
  787. package/mobile/src/components/Tabs/Tabs.tsx +1 -1
  788. package/mobile/src/components/Tabs/renderTab.tsx +1 -1
  789. package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -1
  790. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  791. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
  792. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  793. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
  794. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
  795. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -1
  796. package/mobile/src/components/Tile/Tile.tsx +1 -1
  797. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +84 -81
  798. package/mobile/src/content-page-repository/ContentPageRepository.ts +1 -1
  799. package/mobile/src/content-page-repository/transformContentPage.ts +1 -1
  800. package/mobile/src/icons/AirPlaneIcon.svg +16 -1
  801. package/mobile/src/icons/AppleIcon.svg +1 -1
  802. package/mobile/src/icons/ArrowDownIcon.svg +1 -1
  803. package/mobile/src/icons/ArrowLeftIcon.svg +1 -1
  804. package/mobile/src/icons/ArrowUpIcon.svg +1 -1
  805. package/mobile/src/icons/AtmIcon.svg +1 -1
  806. package/mobile/src/icons/BankIcon.svg +1 -1
  807. package/mobile/src/icons/BuildingIcon.svg +1 -1
  808. package/mobile/src/icons/BurgerIcon.svg +1 -1
  809. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  810. package/mobile/src/icons/CalendarCircleIcon.svg +1 -1
  811. package/mobile/src/icons/CalendarIcon.svg +1 -1
  812. package/mobile/src/icons/CalendarTickIcon.svg +1 -1
  813. package/mobile/src/icons/Car2Icon.svg +1 -1
  814. package/mobile/src/icons/CardIcon.svg +1 -1
  815. package/mobile/src/icons/CardPosIcon.svg +1 -1
  816. package/mobile/src/icons/CardTickIcon.svg +6 -6
  817. package/mobile/src/icons/ChartSquareIcon.svg +1 -1
  818. package/mobile/src/icons/CloseIcon.svg +1 -1
  819. package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
  820. package/mobile/src/icons/DocDownloadIcon.svg +7 -7
  821. package/mobile/src/icons/DocIcon.svg +1 -1
  822. package/mobile/src/icons/DocIconMonoColor.svg +1 -1
  823. package/mobile/src/icons/DocumentTextIcon.svg +1 -1
  824. package/mobile/src/icons/DoneSimpleIcon.svg +2 -2
  825. package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
  826. package/mobile/src/icons/EmptyWalletIcon.svg +1 -1
  827. package/mobile/src/icons/GeolocationIcon.svg +1 -1
  828. package/mobile/src/icons/GlobalIcon.svg +1 -1
  829. package/mobile/src/icons/GpsIcon.svg +1 -1
  830. package/mobile/src/icons/GridIcon.svg +1 -1
  831. package/mobile/src/icons/IconName.ts +7 -2
  832. package/mobile/src/icons/InterestIcon.svg +1 -1
  833. package/mobile/src/icons/LogoIcon.svg +1 -1
  834. package/mobile/src/icons/LoupeIcon.svg +1 -1
  835. package/mobile/src/icons/MinusIcon.svg +1 -1
  836. package/mobile/src/icons/MoneyIcon.svg +1 -1
  837. package/mobile/src/icons/MoneysIcon.svg +1 -1
  838. package/mobile/src/icons/MonitorMobileIcon.svg +1 -1
  839. package/mobile/src/icons/OkIcon.svg +1 -1
  840. package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
  841. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  842. package/mobile/src/icons/PersonalCardIcon.svg +1 -1
  843. package/mobile/src/icons/PlayMarketIcon.svg +1 -1
  844. package/mobile/src/icons/PlusIcon.svg +1 -1
  845. package/mobile/src/icons/Profile2UserIcon.svg +1 -1
  846. package/mobile/src/icons/ProfileIcon.svg +1 -1
  847. package/mobile/src/icons/RoundRubleIcon.svg +1 -1
  848. package/mobile/src/icons/SafeIcon.svg +1 -1
  849. package/mobile/src/icons/ShieldTickIcon.svg +1 -1
  850. package/mobile/src/icons/SmallClockIcon.svg +1 -1
  851. package/mobile/src/icons/StrongBoxIcon.svg +1 -1
  852. package/mobile/src/icons/TelegramIcon.svg +1 -1
  853. package/mobile/src/icons/UserSquareIcon.svg +1 -1
  854. package/mobile/src/icons/UserTickIcon.svg +1 -1
  855. package/mobile/src/icons/VKIcon.svg +1 -1
  856. package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
  857. package/mobile/src/icons/WalletAddIcon.svg +1 -1
  858. package/mobile/src/icons/WalletIcon.svg +1 -1
  859. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
  860. package/mobile/src/model/BlockDecorator.ts +17 -0
  861. package/mobile/src/model/BlocksRegistry.ts +11 -0
  862. package/mobile/src/{types.ts → model/ContentPageDef.ts} +5 -23
  863. package/mobile/src/{types → model}/Fallback.ts +1 -0
  864. package/mobile/src/services/sitemap/useSitemap.ts +1 -1
  865. package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -0
  866. package/mobile/src/ui-kit/BlockWrapper.tsx +1 -1
  867. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +2 -2
  868. package/mobile/src/ui-kit/Button/Button.tsx +4 -1
  869. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
  870. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +2 -1
  871. package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
  872. package/mobile/src/ui-kit/Icon/Icon.tsx +29 -12
  873. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  874. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  875. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  876. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  877. package/mobile/src/ui-kit/Logo/Logo.tsx +9 -5
  878. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  879. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  880. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
  881. package/package.json +1 -1
  882. package/src/api/DaDataAPI.ts +13 -1
  883. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  884. package/src/components/Accordion/Accordion.tsx +1 -1
  885. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
  886. package/src/components/Accordion/AccordionItem.tsx +1 -1
  887. package/src/components/BaseTile/BaseTile.tsx +1 -1
  888. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  889. package/src/components/Bonus/Bonus.tsx +2 -2
  890. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  891. package/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  892. package/src/components/Calculator/Calculator.tsx +1 -1
  893. package/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
  894. package/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  895. package/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
  896. package/src/components/CardTransfer/CardTransfer.tsx +4 -4
  897. package/src/components/Catalog/Catalog.tsx +1 -1
  898. package/src/components/Catalog/CatalogCard.tsx +2 -2
  899. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +1 -1
  900. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  901. package/src/components/ComparisonTable/TableColumn.tsx +2 -2
  902. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
  903. package/src/components/ContentPage/ContentPage.fixture.tsx +3 -2
  904. package/src/components/ContentPage/ContentPage.tsx +53 -101
  905. package/src/components/ContentPage/ContentPageHead.tsx +1 -1
  906. package/src/components/ContentPage/computeAPIFallback.spec.ts +1 -1
  907. package/src/components/ContentPage/computeAPIFallback.ts +2 -2
  908. package/src/components/ContentPage/filterBlocks.mobile.ts +2 -2
  909. package/src/components/ContentPage/filterBlocks.ts +2 -2
  910. package/src/components/ContentPage/isBlockInRegistry.ts +1 -1
  911. package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +1 -1
  912. package/src/components/ContentPage/normalizeBlock.mobile.ts +1 -1
  913. package/src/components/ContentPage/normalizeBlock.spec.ts +1 -1
  914. package/src/components/ContentPage/normalizeBlock.ts +1 -1
  915. package/src/components/ContentPage/normalizePage.ts +2 -2
  916. package/src/components/ContentPage/renderBlock.tsx +62 -0
  917. package/src/components/ErrorBlock/ErrorBlock.tsx +3 -3
  918. package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  919. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  920. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +6 -3
  921. package/src/components/Footer/Contacts.tsx +1 -1
  922. package/src/components/Footer/Footer.mobile.tsx +2 -2
  923. package/src/components/Footer/Footer.tsx +2 -2
  924. package/src/components/Footer/FooterLink.ts +1 -1
  925. package/src/components/Footer/HorizontalNavigation.mobile.tsx +3 -3
  926. package/src/components/Footer/HorizontalNavigation.tsx +3 -3
  927. package/src/components/Footer/MediaButton.tsx +1 -1
  928. package/src/components/Footer/Sitemap.tsx +2 -2
  929. package/src/components/Footer/SocialMedia.mobile.tsx +1 -1
  930. package/src/components/Footer/SocialMedia.tsx +1 -1
  931. package/src/components/Gallery/GalleryInner.tsx +1 -1
  932. package/src/components/Gallery/GalleryProps.ts +1 -1
  933. package/src/components/GracePeriod/GracePeriod.tsx +1 -1
  934. package/src/components/Header/DropdownMenu.tsx +1 -1
  935. package/src/components/Header/Header.fallback.ts +1 -1
  936. package/src/components/Header/Header.mobile.tsx +2 -2
  937. package/src/components/Header/Header.tsx +2 -2
  938. package/src/components/Headline/Headline.mobile.tsx +1 -1
  939. package/src/components/Headline/Headline.tsx +2 -2
  940. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  941. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  942. package/src/components/LikeControl/LikeControl.tsx +1 -1
  943. package/src/components/LinkDocs/LinkDocs.mobile.tsx +2 -2
  944. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  945. package/src/components/LinkList/LinkList.tsx +1 -1
  946. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  947. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -2
  948. package/src/components/MobileAppTile/MobileAppTile.tsx +3 -3
  949. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  950. package/src/components/OtherProducts/OtherProducts.tsx +1 -1
  951. package/src/components/OtherProducts/OtherProductsContent.ts +2 -2
  952. package/src/components/OtherProducts/OtherProductsItem.tsx +1 -1
  953. package/src/components/PictureText/PictureText.example.json +2 -0
  954. package/src/components/PictureText/PictureText.tsx +1 -1
  955. package/src/components/Placeholder/Placeholder.tsx +3 -3
  956. package/src/components/ProductBlock/ProductBlock.mobile.tsx +3 -3
  957. package/src/components/ProductBlock/ProductBlock.tsx +3 -3
  958. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -3
  959. package/src/components/ProductBlock/ProductBlockInner.tsx +2 -2
  960. package/src/components/ProductGallery/ProductGallery.mobile.tsx +2 -2
  961. package/src/components/ProductGallery/ProductGallery.tsx +14 -14
  962. package/src/components/ProductGallery/ProductGalleryBlock.tsx +3 -3
  963. package/src/components/ProductGallery/ProductGalleryContent.ts +0 -1
  964. package/src/components/ProductTile/ProductTile.tsx +2 -2
  965. package/src/components/PromoTile/PromoTile.tsx +3 -3
  966. package/src/components/Recommendation/Recommendation.tsx +1 -1
  967. package/src/components/Recommendation/RecommendationCard.tsx +1 -1
  968. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  969. package/src/components/StepsBlock/StepsBlock.mobile.tsx +14 -3
  970. package/src/components/StepsBlock/StepsBlock.tsx +2 -2
  971. package/src/components/Tabs/Tabs.tsx +1 -1
  972. package/src/components/Tabs/renderTab.tsx +1 -1
  973. package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -1
  974. package/src/components/TariffsTable/TariffsTable.tsx +1 -1
  975. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  976. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
  977. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  978. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
  979. package/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
  980. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -1
  981. package/src/components/TextBlock/TextBlock.tsx +1 -1
  982. package/src/components/Tile/Tile.tsx +1 -1
  983. package/src/components/__snapshots__/Blocks.spec.tsx.snap +84 -81
  984. package/src/content-page-repository/ContentPageRepository.ts +1 -1
  985. package/src/content-page-repository/transformContentPage.ts +1 -1
  986. package/src/icons/AirPlaneIcon.svg +16 -1
  987. package/src/icons/AppleIcon.svg +1 -1
  988. package/src/icons/ArrowDownIcon.svg +1 -1
  989. package/src/icons/ArrowLeftIcon.svg +1 -1
  990. package/src/icons/ArrowUpIcon.svg +1 -1
  991. package/src/icons/AtmIcon.svg +1 -1
  992. package/src/icons/BankIcon.svg +1 -1
  993. package/src/icons/BuildingIcon.svg +1 -1
  994. package/src/icons/BurgerIcon.svg +1 -1
  995. package/src/icons/Calendar2Icon.svg +1 -1
  996. package/src/icons/CalendarCircleIcon.svg +1 -1
  997. package/src/icons/CalendarIcon.svg +1 -1
  998. package/src/icons/CalendarTickIcon.svg +1 -1
  999. package/src/icons/Car2Icon.svg +1 -1
  1000. package/src/icons/CardIcon.svg +1 -1
  1001. package/src/icons/CardPosIcon.svg +1 -1
  1002. package/src/icons/CardTickIcon.svg +6 -6
  1003. package/src/icons/ChartSquareIcon.svg +1 -1
  1004. package/src/icons/CloseIcon.svg +1 -1
  1005. package/src/icons/DiscountShapeIcon.svg +1 -1
  1006. package/src/icons/DocDownloadIcon.svg +7 -7
  1007. package/src/icons/DocIcon.svg +1 -1
  1008. package/src/icons/DocIconMonoColor.svg +1 -1
  1009. package/src/icons/DocumentTextIcon.svg +1 -1
  1010. package/src/icons/DoneSimpleIcon.svg +2 -2
  1011. package/src/icons/EmptyWalletChangeIcon.svg +1 -1
  1012. package/src/icons/EmptyWalletIcon.svg +1 -1
  1013. package/src/icons/GeolocationIcon.svg +1 -1
  1014. package/src/icons/GlobalIcon.svg +1 -1
  1015. package/src/icons/GpsIcon.svg +1 -1
  1016. package/src/icons/GridIcon.svg +1 -1
  1017. package/src/icons/IconName.ts +96 -2
  1018. package/src/icons/InterestIcon.svg +1 -1
  1019. package/src/icons/LogoIcon.svg +1 -1
  1020. package/src/icons/LoupeIcon.svg +1 -1
  1021. package/src/icons/MinusIcon.svg +1 -1
  1022. package/src/icons/MoneyIcon.svg +1 -1
  1023. package/src/icons/MoneysIcon.svg +1 -1
  1024. package/src/icons/MonitorMobileIcon.svg +1 -1
  1025. package/src/icons/OkIcon.svg +1 -1
  1026. package/src/icons/PercentageRoundIcon.svg +1 -1
  1027. package/src/icons/PercentageSquareIcon.svg +1 -1
  1028. package/src/icons/PersonalCardIcon.svg +1 -1
  1029. package/src/icons/PlayMarketIcon.svg +1 -1
  1030. package/src/icons/PlusIcon.svg +1 -1
  1031. package/src/icons/Profile2UserIcon.svg +1 -1
  1032. package/src/icons/ProfileIcon.svg +1 -1
  1033. package/src/icons/RoundRubleIcon.svg +1 -1
  1034. package/src/icons/SafeIcon.svg +1 -1
  1035. package/src/icons/ShieldTickIcon.svg +1 -1
  1036. package/src/icons/SmallClockIcon.svg +1 -1
  1037. package/src/icons/StrongBoxIcon.svg +1 -1
  1038. package/src/icons/TelegramIcon.svg +1 -1
  1039. package/src/icons/UserSquareIcon.svg +1 -1
  1040. package/src/icons/UserTickIcon.svg +1 -1
  1041. package/src/icons/VKIcon.svg +1 -1
  1042. package/src/icons/WalletAdd2Icon.svg +1 -1
  1043. package/src/icons/WalletAddIcon.svg +1 -1
  1044. package/src/icons/WalletIcon.svg +1 -1
  1045. package/src/icons/WalletWithMoneyIcon.svg +1 -1
  1046. package/src/model/BlockDecorator.ts +17 -0
  1047. package/src/model/BlocksRegistry.ts +11 -0
  1048. package/src/{types.ts → model/ContentPageDef.ts} +5 -23
  1049. package/src/{types → model}/Fallback.ts +1 -0
  1050. package/src/services/sitemap/useSitemap.ts +1 -1
  1051. package/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -0
  1052. package/src/ui-kit/BlockWrapper.tsx +1 -1
  1053. package/src/ui-kit/BlocksList/renderBlocksList.tsx +2 -2
  1054. package/src/ui-kit/Button/Button.mobile.tsx +4 -1
  1055. package/src/ui-kit/Button/ButtonSection.tsx +1 -1
  1056. package/src/ui-kit/Button/buttonClassNameConstants.ts +2 -1
  1057. package/src/ui-kit/Foldable/Foldable.tsx +1 -1
  1058. package/src/ui-kit/Icon/Icon.fixture.tsx +5 -5
  1059. package/src/ui-kit/Icon/Icon.tsx +29 -12
  1060. package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1061. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1062. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  1063. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1064. package/src/ui-kit/Logo/Logo.mobile.tsx +9 -5
  1065. package/src/ui-kit/Logo/Logo.tsx +3 -3
  1066. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  1067. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -1
  1068. package/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  1069. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
  1070. package/tailwind.config.cjs +0 -1
  1071. package/dist/components/BlockContent.d.ts +0 -32
  1072. package/dist/components/BlockContent.js.map +0 -1
  1073. package/dist/types.js.map +0 -1
  1074. package/dist/utils/isSSR.d.ts +0 -1
  1075. package/dist/utils/isSSR.js +0 -5
  1076. package/dist/utils/isSSR.js.map +0 -1
  1077. package/lib/components/BlockContent.d.ts +0 -32
  1078. package/lib/components/BlockContent.js +0 -2
  1079. package/lib/components/BlockContent.js.map +0 -1
  1080. package/lib/types.js +0 -2
  1081. package/lib/types.js.map +0 -1
  1082. package/lib/utils/isSSR.d.ts +0 -1
  1083. package/lib/utils/isSSR.js +0 -2
  1084. package/lib/utils/isSSR.js.map +0 -1
  1085. package/mobile/dist/components/BlockContent.d.ts +0 -32
  1086. package/mobile/dist/components/BlockContent.js.map +0 -1
  1087. package/mobile/dist/types.js +0 -2
  1088. package/mobile/dist/types.js.map +0 -1
  1089. package/mobile/dist/utils/isSSR.d.ts +0 -1
  1090. package/mobile/dist/utils/isSSR.js +0 -5
  1091. package/mobile/dist/utils/isSSR.js.map +0 -1
  1092. package/mobile/lib/components/BlockContent.d.ts +0 -32
  1093. package/mobile/lib/components/BlockContent.js +0 -2
  1094. package/mobile/lib/components/BlockContent.js.map +0 -1
  1095. package/mobile/lib/types.js +0 -2
  1096. package/mobile/lib/types.js.map +0 -1
  1097. package/mobile/lib/utils/isSSR.d.ts +0 -1
  1098. package/mobile/lib/utils/isSSR.js +0 -2
  1099. package/mobile/lib/utils/isSSR.js.map +0 -1
  1100. package/mobile/src/components/BlockContent.ts +0 -61
  1101. package/mobile/src/utils/isSSR.ts +0 -2
  1102. package/src/components/BlockContent.ts +0 -61
  1103. package/src/utils/isSSR.ts +0 -2
@@ -1,15 +1,13 @@
1
- import type { BlockContent } from './components/BlockContent';
2
- import type { ContentPageContext } from './components/ContentPage/ContentPageContext';
3
- import type { BlockVersion } from './model/BlockVersion';
1
+ import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
2
+ import type { BlockVersion } from './BlockVersion';
4
3
  /**
5
4
  * @title Цветовая палитра
6
5
  * @enumNames ["", "Частным клиентам", "Бизнес клиентам", "Экосистема Своё"]
7
6
  */
8
7
  export declare type ColorPalette = '' | 'pc' | 'bc' | 'eo';
9
- export interface BaseBlockDef {
8
+ export interface BaseBlockDef extends Slot {
10
9
  type?: string;
11
- style?: string[];
12
- content?: BlockContent;
10
+ content?: Record<string, any>;
13
11
  version?: BlockVersion;
14
12
  hidden?: boolean;
15
13
  anchor?: string;
@@ -38,10 +36,8 @@ export interface ContentPageMeta {
38
36
  twitter?: Record<string, string>;
39
37
  jsonLd?: string;
40
38
  }
41
- export interface ContentPageDef extends ContentPageMeta {
39
+ export interface ContentPageDef extends ContentPageMeta, Slot {
42
40
  _customPageType?: string;
43
- style?: string[];
44
- blocks?: BlockDef[];
45
41
  slots?: SlotsMap;
46
42
  fallback?: Record<string, unknown>;
47
43
  likeControl?: boolean;
@@ -54,14 +50,3 @@ export interface UniBlockProps {
54
50
  labels?: string[];
55
51
  anchor?: string;
56
52
  }
57
- export interface DaDataResult {
58
- suggestions?: DaDataSuggestion<DaDataAddress>[];
59
- }
60
- export interface DaDataSuggestion<T> {
61
- value?: string;
62
- unrestricted_value?: string;
63
- data?: T;
64
- }
65
- export interface DaDataAddress {
66
- city?: string | null;
67
- }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ContentPageDef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentPageDef.js","sourceRoot":"","sources":["../../src/model/ContentPageDef.ts"],"names":[],"mappings":""}
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"Fallback.js","sourceRoot":"","sources":["../../src/types/Fallback.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"Fallback.js","sourceRoot":"","sources":["../../src/model/Fallback.ts"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
1
  import type { HeaderContent } from '../../components/Header/HeaderContent';
2
- import type { Fallback } from '../../types/Fallback';
2
+ import type { Fallback } from '../../model/Fallback';
3
3
  export declare function useSitemap(fallback?: Fallback): HeaderContent;
@@ -3,6 +3,7 @@ import type { BlockVersion } from '../../model/BlockVersion';
3
3
  import type { IconVersion } from '../../model/IconVersion';
4
4
  import type { DescriptionProps, LabelProps } from '../../model/HeadlineType';
5
5
  export interface BenefitItemCommonProps {
6
+ /** @hidden */
6
7
  benefitsVersion?: IconVersion;
7
8
  /** @hidden */
8
9
  version?: BlockVersion;
@@ -1,5 +1,5 @@
1
1
  import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
2
- import type { UniBlockProps } from '../types';
2
+ import type { UniBlockProps } from '../model/ContentPageDef';
3
3
  interface BlockWrapperProps extends UniBlockProps, Record<string, any> {
4
4
  context: ContentPageContext;
5
5
  className?: string;
@@ -17,10 +17,13 @@ const buttonDisabledStyleMap = {
17
17
  };
18
18
  const styleButton = 'w-full text-center font-sans select-none';
19
19
  export const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
20
+ // It isn't a valid HTML attribute. Must be excluded from "rest"
21
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
22
+ const { asSVG, iconRight, appendRight, icon, ...buttonInnerRest } = rest;
20
23
  const buttonInner = children ?? (_jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
21
24
  if (disabled) {
22
25
  return (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
23
26
  }
24
- return (_jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline focus:border focus:border-primary-focus ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...rest, children: buttonInner }));
27
+ return (_jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline focus:border focus:border-primary-focus ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...buttonInnerRest, children: buttonInner }));
25
28
  });
26
29
  //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EAAE,oFAAoF;IAC3F,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,sBAAsB,GAAkC;IAC5D,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;IACnD,KAAK,EAAE,4BAA4B;IACnC,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,WAAW,GAAG,0CAA0C,CAAC;AAE/D,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,SAAS,EACnB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,CAC9B,KAAC,WAAW,IACV,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,cACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAE,CAAC,CAAC,EACZ,SAAS,EAAE,gBAAgB,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAC7E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,YAEpB,WAAW,GACR,CACP,CAAC;KACH;IAED,OAAO,CACL,YACE,SAAS,EAAE,GAAG,WAAW,qFACvB,cAAc,CAAC,OAAO,CAAC,IAAI,EAC7B,IAAI,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,IAAI,SAAS,IAAI,EAAE,EAAE,EAChE,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,gBACJ,SAAS,EACrB,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,IAAI,YAEP,WAAW,GACV,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EAAE,oFAAoF;IAC3F,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,sBAAsB,GAAkC;IAC5D,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;IACnD,KAAK,EAAE,4BAA4B;IACnC,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,WAAW,GAAG,0CAA0C,CAAC;AAE/D,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,SAAS,EACnB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,EAAE;IACH,gEAAgE;IAChE,6DAA6D;IAC7D,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,eAAe,EAAE,GAAG,IAAI,CAAC;IACzE,MAAM,WAAW,GAAG,QAAQ,IAAI,CAC9B,KAAC,WAAW,IACV,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,cACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAE,CAAC,CAAC,EACZ,SAAS,EAAE,gBAAgB,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAC7E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,YAEpB,WAAW,GACR,CACP,CAAC;KACH;IAED,OAAO,CACL,YACE,SAAS,EAAE,GAAG,WAAW,qFACvB,cAAc,CAAC,OAAO,CAAC,IAAI,EAC7B,IAAI,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,IAAI,SAAS,IAAI,EAAE,EAAE,EAChE,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,gBACJ,SAAS,EACrB,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,eAAe,YAElB,WAAW,GACV,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,4 +1,4 @@
1
- import { UniBlockProps } from '../../types';
1
+ import { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { ButtonContent } from './ButtonProps';
3
3
  export interface ButtonSectionProps extends ButtonContent, UniBlockProps {
4
4
  }
@@ -1,7 +1,7 @@
1
1
  export const buttonStyleMap = {
2
2
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
3
3
  secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
4
- white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white',
4
+ white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
5
5
  link: '',
6
6
  };
7
7
  const DisabledStyle = 'bg-main-divider text-main-disabled';
@@ -1 +1 @@
1
- {"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EAAE,oFAAoF;IAC3F,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,aAAa,GAAG,oCAAoC,CAAC;AAE3D,MAAM,CAAC,MAAM,sBAAsB,GAAkC;IACnE,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mCAAmC,CAAC"}
1
+ {"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EACH,6GAA6G;IAC/G,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,aAAa,GAAG,oCAAoC,CAAC;AAE3D,MAAM,CAAC,MAAM,sBAAsB,GAAkC;IACnE,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mCAAmC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
2
+ import { ColorPalette } from '../../model/ContentPageDef';
2
3
  import type { VNode } from '../../model/VNode';
3
- import { ColorPalette } from '../../types';
4
4
  export declare type FoldableBlocks = VNode[];
5
5
  export declare type Render = (_: VNode, isActive: boolean) => VNode;
6
6
  export interface FoldableProps {
@@ -1,17 +1,25 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { IconTitleMap } from '../../icons/IconName.js';
3
+ import { IconInverseMap, IconTitleMap } from '../../icons/IconName.js';
4
4
  import { projectSettings } from '../../ProjectSettings.js';
5
5
  const svgUseStyleMap = {
6
6
  normal: 'text-primary-main',
7
7
  black: 'text-black',
8
- white: 'text-black invert',
8
+ white: 'text-black',
9
9
  };
10
10
  export const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
11
11
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
12
- if (asSVG) {
13
- return (_jsxs("svg", { className: className, ...imgProps, "aria-hidden": "true", children: [title ? _jsx("title", { children: title }) : null, alt ? _jsx("desc", { children: alt }) : null, _jsx("use", { className: `${svgUseStyleMap[iconVersion]} ${imageClassName}`, href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
12
+ if (asSVG && IconInverseMap[name]) {
13
+ return (_jsx(Background, { className: className, children: _jsxs("svg", { className: [
14
+ getSvgSize(className, imgProps.width),
15
+ svgUseStyleMap[iconVersion],
16
+ imageClassName,
17
+ getInvertStyle(name, iconVersion),
18
+ ].join(' '), ...imgProps, "aria-hidden": "true", children: [title ? _jsx("title", { children: title }) : null, alt ? _jsx("desc", { children: alt }) : null, _jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
14
19
  }
15
20
  return (_jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
16
21
  });
22
+ const getInvertStyle = (name, iconVersion) => iconVersion === 'white' && IconInverseMap[name] ? 'invert' : '';
23
+ const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
24
+ const Background = JSX(({ className, children }) => className ? _jsx("div", { className: className, children: children }) : children);
17
25
  //# sourceMappingURL=Icon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,cAAc,GAAgC;IAClD,MAAM,EAAE,mBAAmB;IAC3B,KAAK,EAAE,YAAY;IACnB,KAAK,EAAE,mBAAmB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,cAAc,GAAG,EAAE,EACnB,IAAI,GAAG,EAAE,EACT,GAAG,GAAG,UAAU,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,EAC5C,KAAK,GAAG,GAAG,EACX,WAAW,GAAG,QAAQ,EACtB,KAAK,EACL,GAAG,QAAQ,EACZ,EAAE,EAAE;IACH,MAAM,IAAI,GAAG,GAAG,eAAe,CAAC,GAAG,IAAI,EAAE,SAAS,IAAI,MAAM,CAAC;IAE7D,IAAI,KAAK,EAAE;QACT,OAAO,CACL,eAAK,SAAS,EAAE,SAAS,KAAM,QAAQ,iBAAc,MAAM,aACxD,KAAK,CAAC,CAAC,CAAC,0BAAQ,KAAK,GAAS,CAAC,CAAC,CAAC,IAAI,EACrC,GAAG,CAAC,CAAC,CAAC,yBAAO,GAAG,GAAQ,CAAC,CAAC,CAAC,IAAI,EAChC,cACE,SAAS,EAAE,GAAG,cAAc,CAAC,WAAW,CAAC,IAAI,cAAc,EAAE,EAC7D,IAAI,EAAE,GAAG,IAAI,OAAO,EACpB,SAAS,EAAE,GAAG,IAAI,OAAO,GACzB,IACE,CACP,CAAC;KACH;IAED,OAAO,CACL,cACE,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,KACR,QAAQ,iBACA,MAAM,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,cAAc,GAAgC;IAClD,MAAM,EAAE,mBAAmB;IAC3B,KAAK,EAAE,YAAY;IACnB,KAAK,EAAE,YAAY;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,cAAc,GAAG,EAAE,EACnB,IAAI,GAAG,EAAE,EACT,GAAG,GAAG,UAAU,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,EAC5C,KAAK,GAAG,GAAG,EACX,WAAW,GAAG,QAAQ,EACtB,KAAK,EACL,GAAG,QAAQ,EACZ,EAAE,EAAE;IACH,MAAM,IAAI,GAAG,GAAG,eAAe,CAAC,GAAG,IAAI,EAAE,SAAS,IAAI,MAAM,CAAC;IAE7D,IAAI,KAAK,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE;QACjC,OAAO,CACL,KAAC,UAAU,IAAC,SAAS,EAAE,SAAS,YAC9B,eACE,SAAS,EAAE;oBACT,UAAU,CAAC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC;oBACrC,cAAc,CAAC,WAAW,CAAC;oBAC3B,cAAc;oBACd,cAAc,CAAC,IAAI,EAAE,WAAW,CAAC;iBAClC,CAAC,IAAI,CAAC,GAAG,CAAC,KACP,QAAQ,iBACA,MAAM,aAEjB,KAAK,CAAC,CAAC,CAAC,0BAAQ,KAAK,GAAS,CAAC,CAAC,CAAC,IAAI,EACrC,GAAG,CAAC,CAAC,CAAC,yBAAO,GAAG,GAAQ,CAAC,CAAC,CAAC,IAAI,EAChC,cAAK,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,OAAO,GAAI,IACpD,GACK,CACd,CAAC;KACH;IAED,OAAO,CACL,cACE,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,KACR,QAAQ,iBACA,MAAM,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,WAAwB,EAAE,EAAE,CAChE,WAAW,KAAK,OAAO,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;AAElE,MAAM,UAAU,GAAG,CAAC,SAAkB,EAAE,KAAc,EAAE,EAAE,CACxD,KAAK,CAAC,CAAC,CAAC,UAAU,KAAK,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC;AAEjD,MAAM,UAAU,GAAG,GAAG,CAAyB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,CACzE,SAAS,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,SAAS,YAAG,QAAQ,GAAO,CAAC,CAAC,CAAC,QAAQ,CACnE,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { TariffsTableInnerContent } from './InnerTableProps';
3
3
  export interface InnerTableProps extends TariffsTableInnerContent, UniBlockProps {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { type UniBlockProps } from '../../types';
1
+ import { type UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { DataItem } from './InnerTableProps';
3
3
  export interface InnerTableBodyProps extends UniBlockProps {
4
4
  activeTabIndex: number;
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { RowsData } from './InnerTableProps';
3
3
  export interface InnerTableBodyItemProps extends UniBlockProps {
4
4
  rows?: RowsData[][];
@@ -1,4 +1,4 @@
1
- import { UniBlockProps } from '../../types';
1
+ import { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { TariffsTableInnerEvent } from './InnerTableProps';
3
3
  export interface TableInnerButtonProps extends TariffsTableInnerEvent, UniBlockProps {
4
4
  isOpen?: boolean;
@@ -3,6 +3,6 @@ export interface LogoProps {
3
3
  href: string;
4
4
  targetBlank: boolean;
5
5
  bgColor?: string;
6
- hideTitle?: boolean;
6
+ showTitle?: boolean;
7
7
  }
8
8
  export declare const Logo: import("@redneckz/uni-jsx").UNIComponent<Partial<LogoProps>, any, any>;
@@ -9,7 +9,7 @@ const TEXT_COLOR = {
9
9
  'bg-white': 'text-black',
10
10
  transparent: 'text-white',
11
11
  };
12
- export const Logo = JSX(({ className = '', href, children, targetBlank, bgColor = 'bg-white', hideTitle }) => {
13
- return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [_jsx(Img, { image: { icon: 'LogoIcon' }, className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, asSVG: true }), hideTitle ? null : (_jsx("span", { className: `${TEXT_COLOR[bgColor]} text-s font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
12
+ export const Logo = JSX(({ className = '', href, children, targetBlank, bgColor = 'bg-white', showTitle = true }) => {
13
+ return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [_jsx(Img, { image: { icon: 'LogoIcon', iconVersion: SVG_COLOR[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, asSVG: true }), showTitle ? (_jsx("span", { className: `${TEXT_COLOR[bgColor]} text-s font-medium ml-2.5`, children: children || 'Россельхозбанк' })) : null] }));
14
14
  });
15
15
  //# sourceMappingURL=Logo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/Logo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAUjC,MAAM,SAAS,GAAmC;IAChD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,aACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,IAAI,EAAE,IAAI,IAAI,kBAAkB,EAChC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,gBAC7B,sFAAgB,aAE3B,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,EAAE,KAAK,SAAG,EAC3F,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAClB,eAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,4BAA4B,YAChE,QAAQ,IAAI,gBAAgB,GACxB,CACR,IACC,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/Logo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAUjC,MAAM,SAAS,GAAmC;IAChD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,UAAU,EAAE,SAAS,GAAG,IAAI,EAAE,EAAE,EAAE;IAC1F,OAAO,CACL,aACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,IAAI,EAAE,IAAI,IAAI,kBAAkB,EAChC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,gBAC7B,sFAAgB,aAE3B,KAAC,GAAG,IACF,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,CAAC,OAAO,CAAC,EAAE,EAC5D,SAAS,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,EAChD,KAAK,SACL,EACD,SAAS,CAAC,CAAC,CAAC,CACX,eAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,4BAA4B,YAChE,QAAQ,IAAI,gBAAgB,GACxB,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,4 +1,4 @@
1
- import { UniBlockProps } from '../../types';
1
+ import { UniBlockProps } from '../../model/ContentPageDef';
2
2
  interface RadioButtonItem {
3
3
  id: string;
4
4
  text: string;
@@ -1,2 +1,2 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  export declare const SearchBar: import("@redneckz/uni-jsx").UNIComponent<UniBlockProps, any, any>;
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  /**
3
3
  * @title Контейнер
4
4
  */
@@ -1,6 +1,18 @@
1
1
  import { getGeolocation } from '../utils/getGeolocation';
2
2
 
3
- import type { DaDataResult } from '../types';
3
+ interface DaDataSuggestion<T> {
4
+ value?: string;
5
+ unrestricted_value?: string;
6
+ data?: T;
7
+ }
8
+
9
+ interface DaDataAddress {
10
+ city?: string | null;
11
+ }
12
+
13
+ export interface DaDataResult {
14
+ suggestions?: DaDataSuggestion<DaDataAddress>[];
15
+ }
4
16
 
5
17
  export function DaDataAPI(baseURL = '') {
6
18
  async function getFetcherAddress() {
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import { Heading } from '../../ui-kit/Heading/Heading';
4
4
  import type { AccordionContent } from './AccordionContent';
5
5
  import { AccordionItem } from './AccordionItem';
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import { Img } from '../../ui-kit/Img/Img';
4
4
  import type { AccordionItemCommonProps } from './AccordionContent';
5
5
  import { AccordionItemInner } from './AccordionItemInner';
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import type { BaseTileCommonProps } from './BaseTileProps';
4
4
 
5
5
  export interface BaseTileProps extends BaseTileCommonProps, UniBlockProps {}
@@ -1,7 +1,7 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { BlockVersion } from '../../model/BlockVersion';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
4
  import type { Picture } from '../../model/Picture';
4
- import type { UniBlockProps } from '../../types';
5
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
6
  import { Heading } from '../../ui-kit/Heading/Heading';
7
7
  import { Img } from '../../ui-kit/Img/Img';
@@ -1,8 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
3
- import type { UniBlockProps } from '../../types';
4
- import type { BonusContent } from './BonusContent';
5
4
  import { Headline } from '../Headline/Headline';
5
+ import type { BonusContent } from './BonusContent';
6
6
 
7
7
  export interface BonusProps extends BonusContent, UniBlockProps {}
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
4
  import { Img } from '../../ui-kit/Img/Img';
5
5
  import { Headline } from '../Headline/Headline';
@@ -1,14 +1,14 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { CommonCalculatorProps } from './CalculatorContent';
5
5
  import { CalculatorValueBlock } from './CalculatorValueBlock';
6
6
  import { DEFAULT_REST_MIN_SUM, DEFAULT_TRAVEL_MIN_SUM } from './constants';
7
7
  import { Rate } from './Rate';
8
8
  import { renderButtonSection } from './renderButtonSection';
9
+ import { renderFootnote } from './renderFootnote';
9
10
  import { renderWantedSumInput } from './renderWantedSumInput';
10
11
  import { useBonusCalculatorParams } from './useBonusCalculatorParams';
11
- import { renderFootnote } from './renderFootnote';
12
12
 
13
13
  export interface BonusCalculatorProps extends CommonCalculatorProps, UniBlockProps {}
14
14
 
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
5
  import { renderArrows } from '../../ui-kit/Button/renderArrows';
6
6
  import { Img } from '../../ui-kit/Img/Img';
@@ -1,17 +1,17 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
5
5
  import { CommonCalculatorProps } from './CalculatorContent';
6
6
  import { CalculatorValueBlock } from './CalculatorValueBlock';
7
7
  import { DEFAULT_MONTHS, DEFAULT_SUM } from './constants';
8
8
  import { Rate } from './Rate';
9
9
  import { renderButtonSection } from './renderButtonSection';
10
+ import { renderFootnote } from './renderFootnote';
10
11
  import { renderMonthsInput } from './renderMonthsInput';
11
12
  import { renderPaymentTypeSelector } from './renderPaymentTypeSelector';
12
13
  import { renderWantedSumInput } from './renderWantedSumInput';
13
14
  import { useCreditCalculatorParams } from './useCreditCalculatorParams';
14
- import { renderFootnote } from './renderFootnote';
15
15
 
16
16
  export const ANNUITY = 'annuity';
17
17
  export const DIFFERENTIAL = 'differential';
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { JSX } from '@redneckz/uni-jsx';
4
4
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
5
- import type { UniBlockProps } from '../../types';
5
+ import type { UniBlockProps } from '../../model/ContentPageDef';
6
6
  import { CommonCalculatorProps, DepositCalculatorParams } from './CalculatorContent';
7
7
  import { CalculatorValueBlock } from './CalculatorValueBlock';
8
8
  import {
@@ -15,10 +15,10 @@ import {
15
15
  } from './constants';
16
16
  import { Rate } from './Rate';
17
17
  import { renderButtonSection } from './renderButtonSection';
18
+ import { renderFootnote } from './renderFootnote';
18
19
  import { renderMonthsInput } from './renderMonthsInput';
19
- import { renderWantedSumInput } from './renderWantedSumInput';
20
20
  import { renderPaymentTypeSelector } from './renderPaymentTypeSelector';
21
- import { renderFootnote } from './renderFootnote';
21
+ import { renderWantedSumInput } from './renderWantedSumInput';
22
22
 
23
23
  export interface DepositCalculatorProp
24
24
  extends DepositCalculatorParams,
@@ -1,7 +1,7 @@
1
- import type { JSXBlock } from '../ContentPage/ContentPage';
1
+ import type { JSXBlock } from '../../model/BlocksRegistry';
2
+ import { Heading } from '../../ui-kit/Heading/Heading';
2
3
  import type { CalculatorBlockDef } from './CalculatorContent';
3
4
  import { EmbeddableCalcBlocks, EmbeddableCalcProps } from './EmbeddableCalcBlocks';
4
- import { Heading } from '../../ui-kit/Heading/Heading';
5
5
 
6
6
  export const renderCalculatorBlock =
7
7
  ({ context, className }: any) =>
@@ -1,13 +1,13 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
+ import type { GetButtonClassParams } from '../../ui-kit/Button/GetButtonClassParams';
6
+ import { getDisabledButtonClasses } from '../../ui-kit/Button/getDisabledButtonClasses';
7
+ import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses';
4
8
  import { CurrencyInput } from '../../ui-kit/CurrencyInput/CurrencyInput';
5
9
  import { Heading } from '../../ui-kit/Heading/Heading';
6
- import type { UniBlockProps } from '../../types';
7
- import type { GetButtonClassParams } from '../../ui-kit/Button/GetButtonClassParams';
8
10
  import type { CardTransferContent } from './CardTransferContent';
9
- import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses';
10
- import { getDisabledButtonClasses } from '../../ui-kit/Button/getDisabledButtonClasses';
11
11
 
12
12
  const AMOUNT_KEY = 'amount';
13
13
  const FORM_URL = 'https://www.rshb.ru/p2p/';
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
5
  import { renderArrows } from '../../ui-kit/Button/renderArrows';
6
6
  import type { ContentPageContext } from '../ContentPage/ContentPageContext';
@@ -1,8 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { BlockVersion } from '../../model/BlockVersion';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
3
4
  import type { Picture } from '../../model/Picture';
4
5
  import type { ProductColorVersion } from '../../model/ProductColorVersion';
5
- import type { UniBlockProps } from '../../types';
6
6
  import { Button } from '../../ui-kit/Button/Button';
7
7
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
8
8
  import { Heading } from '../../ui-kit/Heading/Heading';
@@ -28,7 +28,7 @@ export const CatalogCard = JSX<CatalogCardProps>(
28
28
  ({ className = '', title, description, image, price, button, colors }) => {
29
29
  return (
30
30
  <section
31
- className={`border border-solid box-border p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
31
+ className={`border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
32
32
  role="listitem"
33
33
  >
34
34
  {image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
4
4
  import { Heading } from '../../ui-kit/Heading/Heading';
5
5
  import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl';
6
6
  import type { ComparisonTableContent } from './ComparisonTableContent';
@@ -1,8 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { ButtonVersion } from '../../model/ButtonVersion';
3
- import type { IconProps } from '../../model/Picture';
4
- import type { UniBlockProps } from '../../types';
3
+ import type { UniBlockProps } from '../../model/ContentPageDef';
5
4
  import type { TitleProps } from '../../model/HeadlineType';
5
+ import type { IconProps } from '../../model/Picture';
6
6
  import { Button } from '../../ui-kit/Button/Button';
7
7
  import { CellData } from './ComparisonTableContent';
8
8
  import { GRADIENT } from './constants';