@redneckz/wildless-cms-uni-blocks 0.8.22 → 0.8.24

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 (805) hide show
  1. package/bin/migration-scripts/0.8.17.js +27 -0
  2. package/bin/migration-scripts/0.8.23.js +31 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +83 -58
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  7. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  8. package/bundle/components/Bonus/BonusContent.d.ts +4 -4
  9. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  10. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  11. package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
  12. package/bundle/components/Carousel/CarouselContent.d.ts +3 -2
  13. package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  14. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  15. package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  16. package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  17. package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  18. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  19. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  20. package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  21. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  22. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  23. package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  24. package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  25. package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  26. package/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
  27. package/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  28. package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  29. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  30. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  31. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  32. package/bundle/components/Header/HeaderContent.d.ts +3 -4
  33. package/bundle/components/Headline/HeadlineContent.d.ts +3 -4
  34. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  35. package/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  36. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  37. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  38. package/bundle/components/LikeControl/LikeControl.d.ts +2 -1
  39. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  40. package/bundle/components/LinkList/LinkListContent.d.ts +3 -2
  41. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  42. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  43. package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  44. package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  45. package/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
  46. package/bundle/components/PictureText/renderBenefit.d.ts +1 -1
  47. package/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
  48. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  49. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  50. package/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
  51. package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  52. package/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
  53. package/bundle/components/RollupItem/RollupItem.d.ts +4 -2
  54. package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
  55. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  56. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  57. package/bundle/components/Tabs/LinkTab.d.ts +1 -0
  58. package/bundle/components/Tabs/TabsContent.d.ts +3 -2
  59. package/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
  60. package/bundle/components/Tile/TileContent.d.ts +2 -3
  61. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  62. package/bundle/components/Video/VideoContent.d.ts +3 -2
  63. package/bundle/hooks/useBranches.d.ts +20 -0
  64. package/bundle/model/HeadlineType.d.ts +4 -0
  65. package/bundle/model/JSXBlock.d.ts +9 -2
  66. package/bundle/model/LogoType.d.ts +3 -5
  67. package/bundle/services/sitemap/SitemapProps.d.ts +2 -4
  68. package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  69. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  70. package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  71. package/bundle/ui-kit/TopItem/TopItem.d.ts +2 -1
  72. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  73. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  74. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -2
  75. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  76. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  77. package/dist/components/ApplicationForm/ApplicationFormCredit.js +5 -5
  78. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  79. package/dist/components/ApplicationForm/renderBankOffices.js.map +1 -1
  80. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  81. package/dist/components/Bonus/BonusContent.d.ts +4 -4
  82. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  83. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  84. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  85. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  86. package/dist/components/Calculator/getMonthlyPayment.js +4 -1
  87. package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  88. package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
  89. package/dist/components/Carousel/Carousel.js +1 -1
  90. package/dist/components/Carousel/Carousel.js.map +1 -1
  91. package/dist/components/Carousel/CarouselContent.d.ts +3 -2
  92. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  93. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  94. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  95. package/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  96. package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  97. package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  98. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  99. package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  100. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  101. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  102. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  103. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  104. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  105. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  106. package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  107. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  108. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  109. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  110. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  111. package/dist/components/ComparisonTable/TableRow.d.ts +3 -2
  112. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  113. package/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  114. package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  115. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  116. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  117. package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  118. package/dist/components/Header/HeaderContent.d.ts +3 -4
  119. package/dist/components/Header/HeaderSecondaryMenu.js +7 -2
  120. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  121. package/dist/components/Headline/Headline.js +2 -2
  122. package/dist/components/Headline/Headline.js.map +1 -1
  123. package/dist/components/Headline/HeadlineContent.d.ts +3 -4
  124. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  125. package/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  126. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  127. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  128. package/dist/components/LikeControl/LikeControl.d.ts +2 -1
  129. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  130. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  131. package/dist/components/LinkList/LinkListContent.d.ts +3 -2
  132. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  133. package/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  134. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  135. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  136. package/dist/components/PictureText/PictureTextContent.d.ts +3 -4
  137. package/dist/components/PictureText/renderBenefit.d.ts +1 -1
  138. package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
  139. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  140. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  141. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  142. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  143. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  144. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  145. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  146. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  147. package/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
  148. package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  149. package/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
  150. package/dist/components/RollupItem/RollupItem.d.ts +4 -2
  151. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  152. package/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
  153. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  154. package/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  155. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  156. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  157. package/dist/components/Tabs/LinkTab.d.ts +1 -0
  158. package/dist/components/Tabs/LinkTab.js +6 -2
  159. package/dist/components/Tabs/LinkTab.js.map +1 -1
  160. package/dist/components/Tabs/Tabs.js +15 -3
  161. package/dist/components/Tabs/Tabs.js.map +1 -1
  162. package/dist/components/Tabs/TabsContent.d.ts +3 -2
  163. package/dist/components/Tabs/renderTab.js +1 -1
  164. package/dist/components/Tabs/renderTab.js.map +1 -1
  165. package/dist/components/TextBlock/TextBlock.js +5 -11
  166. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  167. package/dist/components/TextBlock/TextBlock.mobile.js +4 -25
  168. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  169. package/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
  170. package/dist/components/Tile/TileContent.d.ts +2 -3
  171. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  172. package/dist/components/Video/VideoContent.d.ts +3 -2
  173. package/dist/hooks/useBranches.d.ts +20 -0
  174. package/dist/hooks/useBranches.js +16 -0
  175. package/dist/hooks/useBranches.js.map +1 -0
  176. package/dist/model/HeadlineType.d.ts +4 -0
  177. package/dist/model/JSXBlock.d.ts +9 -2
  178. package/dist/model/LogoType.d.ts +3 -5
  179. package/dist/services/sitemap/SitemapProps.d.ts +2 -4
  180. package/dist/ui-kit/BlockWrapper.js +3 -6
  181. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  182. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  183. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  184. package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  185. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  186. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  187. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  188. package/dist/ui-kit/Text/TextProps.d.ts +1 -1
  189. package/dist/ui-kit/TopItem/TopItem.d.ts +2 -1
  190. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  191. package/lib/common.css +1 -1
  192. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  193. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  194. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -2
  195. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  196. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  197. package/lib/components/ApplicationForm/ApplicationFormCredit.js +5 -5
  198. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  199. package/lib/components/ApplicationForm/renderBankOffices.js.map +1 -1
  200. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  201. package/lib/components/Bonus/BonusContent.d.ts +4 -4
  202. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  203. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  204. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  205. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  206. package/lib/components/Calculator/getMonthlyPayment.js +4 -1
  207. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  208. package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
  209. package/lib/components/Carousel/Carousel.js +1 -1
  210. package/lib/components/Carousel/Carousel.js.map +1 -1
  211. package/lib/components/Carousel/CarouselContent.d.ts +3 -2
  212. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  213. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  214. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  215. package/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  216. package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  217. package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  218. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  219. package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  220. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  221. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  222. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  223. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  224. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  225. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  226. package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  227. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  228. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  229. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  230. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  231. package/lib/components/ComparisonTable/TableRow.d.ts +3 -2
  232. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  233. package/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  234. package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  235. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  236. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  237. package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  238. package/lib/components/Header/HeaderContent.d.ts +3 -4
  239. package/lib/components/Header/HeaderSecondaryMenu.js +7 -2
  240. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  241. package/lib/components/Headline/Headline.js +2 -2
  242. package/lib/components/Headline/Headline.js.map +1 -1
  243. package/lib/components/Headline/HeadlineContent.d.ts +3 -4
  244. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  245. package/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  246. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  247. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  248. package/lib/components/LikeControl/LikeControl.d.ts +2 -1
  249. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  250. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  251. package/lib/components/LinkList/LinkListContent.d.ts +3 -2
  252. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  253. package/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  254. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  255. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  256. package/lib/components/PictureText/PictureTextContent.d.ts +3 -4
  257. package/lib/components/PictureText/renderBenefit.d.ts +1 -1
  258. package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
  259. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  260. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  261. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  262. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  263. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  264. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  265. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  266. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  267. package/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
  268. package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  269. package/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
  270. package/lib/components/RollupItem/RollupItem.d.ts +4 -2
  271. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  272. package/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
  273. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  274. package/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  275. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  276. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  277. package/lib/components/Tabs/LinkTab.d.ts +1 -0
  278. package/lib/components/Tabs/LinkTab.js +6 -2
  279. package/lib/components/Tabs/LinkTab.js.map +1 -1
  280. package/lib/components/Tabs/Tabs.js +15 -3
  281. package/lib/components/Tabs/Tabs.js.map +1 -1
  282. package/lib/components/Tabs/TabsContent.d.ts +3 -2
  283. package/lib/components/Tabs/renderTab.js +1 -1
  284. package/lib/components/Tabs/renderTab.js.map +1 -1
  285. package/lib/components/TextBlock/TextBlock.js +5 -11
  286. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  287. package/lib/components/TextBlock/TextBlock.mobile.js +4 -25
  288. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  289. package/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
  290. package/lib/components/Tile/TileContent.d.ts +2 -3
  291. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  292. package/lib/components/Video/VideoContent.d.ts +3 -2
  293. package/lib/hooks/useBranches.d.ts +20 -0
  294. package/lib/hooks/useBranches.js +13 -0
  295. package/lib/hooks/useBranches.js.map +1 -0
  296. package/lib/model/HeadlineType.d.ts +4 -0
  297. package/lib/model/JSXBlock.d.ts +9 -2
  298. package/lib/model/LogoType.d.ts +3 -5
  299. package/lib/services/sitemap/SitemapProps.d.ts +2 -4
  300. package/lib/ui-kit/BlockWrapper.js +3 -6
  301. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  302. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  303. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  304. package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  305. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  306. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  307. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  308. package/lib/ui-kit/Text/TextProps.d.ts +1 -1
  309. package/lib/ui-kit/TopItem/TopItem.d.ts +2 -1
  310. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  311. package/mobile/bundle/bundle.umd.js +16 -40
  312. package/mobile/bundle/bundle.umd.min.js +1 -1
  313. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  314. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  315. package/mobile/bundle/components/Bonus/BonusContent.d.ts +4 -4
  316. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  317. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  318. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
  319. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +3 -2
  320. package/mobile/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  321. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  322. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  323. package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  324. package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  325. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  326. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  327. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  328. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  329. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  330. package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  331. package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  332. package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +5 -6
  333. package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
  334. package/mobile/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  335. package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  336. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  337. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  338. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  339. package/mobile/bundle/components/Header/HeaderContent.d.ts +3 -4
  340. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +3 -4
  341. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  342. package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  343. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  344. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  345. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -1
  346. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  347. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +3 -2
  348. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  349. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  350. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  351. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  352. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
  353. package/mobile/bundle/components/PictureText/renderBenefit.d.ts +1 -1
  354. package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
  355. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  356. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  357. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
  358. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  359. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
  360. package/mobile/bundle/components/RollupItem/RollupItem.d.ts +4 -2
  361. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
  362. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  363. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  364. package/mobile/bundle/components/Tabs/LinkTab.d.ts +1 -0
  365. package/mobile/bundle/components/Tabs/TabsContent.d.ts +3 -2
  366. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
  367. package/mobile/bundle/components/Tile/TileContent.d.ts +2 -3
  368. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  369. package/mobile/bundle/components/Video/VideoContent.d.ts +3 -2
  370. package/mobile/bundle/hooks/useBranches.d.ts +20 -0
  371. package/mobile/bundle/model/HeadlineType.d.ts +4 -0
  372. package/mobile/bundle/model/JSXBlock.d.ts +9 -2
  373. package/mobile/bundle/model/LogoType.d.ts +3 -5
  374. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +2 -4
  375. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  376. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  377. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  378. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +2 -1
  379. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  380. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  381. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -2
  382. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  383. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  384. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +5 -5
  385. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  386. package/mobile/dist/components/ApplicationForm/renderBankOffices.js.map +1 -1
  387. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  388. package/mobile/dist/components/Bonus/BonusContent.d.ts +4 -4
  389. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  390. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  391. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  392. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  393. package/mobile/dist/components/Calculator/getMonthlyPayment.js +4 -1
  394. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  395. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
  396. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  397. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  398. package/mobile/dist/components/Carousel/CarouselContent.d.ts +3 -2
  399. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  400. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  401. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  402. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  403. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  404. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  405. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  406. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  407. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  408. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  409. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  410. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  411. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  412. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  413. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  414. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  415. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  416. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +5 -6
  417. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  418. package/mobile/dist/components/ComparisonTable/TableRow.d.ts +3 -2
  419. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  420. package/mobile/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  421. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  422. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  423. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  424. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  425. package/mobile/dist/components/Header/HeaderContent.d.ts +3 -4
  426. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +7 -2
  427. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  428. package/mobile/dist/components/Headline/Headline.js +2 -2
  429. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  430. package/mobile/dist/components/Headline/HeadlineContent.d.ts +3 -4
  431. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  432. package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  433. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  434. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  435. package/mobile/dist/components/LikeControl/LikeControl.d.ts +2 -1
  436. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  437. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  438. package/mobile/dist/components/LinkList/LinkListContent.d.ts +3 -2
  439. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  440. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  441. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  442. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  443. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +3 -4
  444. package/mobile/dist/components/PictureText/renderBenefit.d.ts +1 -1
  445. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
  446. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  447. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  448. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  449. package/mobile/dist/components/ProductGallery/ProductGallery.js +2 -2
  450. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  451. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  452. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
  453. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  454. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
  455. package/mobile/dist/components/RollupItem/RollupItem.d.ts +4 -2
  456. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  457. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
  458. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  459. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  460. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  461. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  462. package/mobile/dist/components/Tabs/LinkTab.d.ts +1 -0
  463. package/mobile/dist/components/Tabs/LinkTab.js +6 -2
  464. package/mobile/dist/components/Tabs/LinkTab.js.map +1 -1
  465. package/mobile/dist/components/Tabs/Tabs.js +15 -3
  466. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  467. package/mobile/dist/components/Tabs/TabsContent.d.ts +3 -2
  468. package/mobile/dist/components/Tabs/renderTab.js +1 -1
  469. package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
  470. package/mobile/dist/components/TextBlock/TextBlock.js +4 -25
  471. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  472. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
  473. package/mobile/dist/components/Tile/TileContent.d.ts +2 -3
  474. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  475. package/mobile/dist/components/Video/VideoContent.d.ts +3 -2
  476. package/mobile/dist/hooks/useBranches.d.ts +20 -0
  477. package/mobile/dist/hooks/useBranches.js +16 -0
  478. package/mobile/dist/hooks/useBranches.js.map +1 -0
  479. package/mobile/dist/model/HeadlineType.d.ts +4 -0
  480. package/mobile/dist/model/JSXBlock.d.ts +9 -2
  481. package/mobile/dist/model/LogoType.d.ts +3 -5
  482. package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -4
  483. package/mobile/dist/ui-kit/BlockWrapper.js +3 -6
  484. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  485. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  486. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  487. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  488. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  489. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  490. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  491. package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
  492. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +2 -1
  493. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  494. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  495. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  496. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -2
  497. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  498. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  499. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +5 -5
  500. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  501. package/mobile/lib/components/ApplicationForm/renderBankOffices.js.map +1 -1
  502. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  503. package/mobile/lib/components/Bonus/BonusContent.d.ts +4 -4
  504. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  505. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  506. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +8 -3
  507. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  508. package/mobile/lib/components/Calculator/getMonthlyPayment.js +4 -1
  509. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  510. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
  511. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  512. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  513. package/mobile/lib/components/Carousel/CarouselContent.d.ts +3 -2
  514. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  515. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  516. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  517. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  518. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  519. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  520. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  521. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  522. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  523. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  524. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  525. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  526. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  527. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  528. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  529. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  530. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  531. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +5 -6
  532. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  533. package/mobile/lib/components/ComparisonTable/TableRow.d.ts +3 -2
  534. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  535. package/mobile/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  536. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  537. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  538. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  539. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  540. package/mobile/lib/components/Header/HeaderContent.d.ts +3 -4
  541. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +7 -2
  542. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  543. package/mobile/lib/components/Headline/Headline.js +2 -2
  544. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  545. package/mobile/lib/components/Headline/HeadlineContent.d.ts +3 -4
  546. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  547. package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  548. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  549. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  550. package/mobile/lib/components/LikeControl/LikeControl.d.ts +2 -1
  551. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  552. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  553. package/mobile/lib/components/LinkList/LinkListContent.d.ts +3 -2
  554. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  555. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  556. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  557. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  558. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +3 -4
  559. package/mobile/lib/components/PictureText/renderBenefit.d.ts +1 -1
  560. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
  561. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  562. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  563. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  564. package/mobile/lib/components/ProductGallery/ProductGallery.js +2 -2
  565. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  566. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  567. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
  568. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  569. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
  570. package/mobile/lib/components/RollupItem/RollupItem.d.ts +4 -2
  571. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  572. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
  573. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  574. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  575. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  576. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  577. package/mobile/lib/components/Tabs/LinkTab.d.ts +1 -0
  578. package/mobile/lib/components/Tabs/LinkTab.js +6 -2
  579. package/mobile/lib/components/Tabs/LinkTab.js.map +1 -1
  580. package/mobile/lib/components/Tabs/Tabs.js +15 -3
  581. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  582. package/mobile/lib/components/Tabs/TabsContent.d.ts +3 -2
  583. package/mobile/lib/components/Tabs/renderTab.js +1 -1
  584. package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
  585. package/mobile/lib/components/TextBlock/TextBlock.js +4 -25
  586. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  587. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
  588. package/mobile/lib/components/Tile/TileContent.d.ts +2 -3
  589. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  590. package/mobile/lib/components/Video/VideoContent.d.ts +3 -2
  591. package/mobile/lib/hooks/useBranches.d.ts +20 -0
  592. package/mobile/lib/hooks/useBranches.js +13 -0
  593. package/mobile/lib/hooks/useBranches.js.map +1 -0
  594. package/mobile/lib/model/HeadlineType.d.ts +4 -0
  595. package/mobile/lib/model/JSXBlock.d.ts +9 -2
  596. package/mobile/lib/model/LogoType.d.ts +3 -5
  597. package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -4
  598. package/mobile/lib/ui-kit/BlockWrapper.js +3 -6
  599. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  600. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  601. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  602. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  603. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  604. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  605. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  606. package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
  607. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +2 -1
  608. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  609. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  610. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -2
  611. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
  612. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -5
  613. package/mobile/src/components/ApplicationForm/renderBankOffices.tsx +1 -1
  614. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
  615. package/mobile/src/components/Bonus/BonusContent.ts +8 -7
  616. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +16 -8
  617. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +3 -3
  618. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +17 -10
  619. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
  620. package/mobile/src/components/Calculator/getMonthlyPayment.ts +3 -1
  621. package/mobile/src/components/CardTransfer/CardTransferContent.ts +3 -1
  622. package/mobile/src/components/Carousel/Carousel.tsx +8 -1
  623. package/mobile/src/components/Carousel/CarouselContent.ts +4 -2
  624. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  625. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
  626. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +14 -12
  627. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
  628. package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
  629. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
  630. package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
  631. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
  632. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
  633. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
  634. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
  635. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
  636. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
  637. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
  638. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
  639. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +10 -9
  640. package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -2
  641. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  642. package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
  643. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
  644. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
  645. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +6 -4
  646. package/mobile/src/components/Header/HeaderContent.ts +3 -4
  647. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +9 -2
  648. package/mobile/src/components/Headline/Headline.tsx +5 -3
  649. package/mobile/src/components/Headline/HeadlineContent.ts +9 -8
  650. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
  651. package/mobile/src/components/ImgBlock/ImgBlockContent.ts +3 -2
  652. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
  653. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
  654. package/mobile/src/components/LikeControl/LikeControl.tsx +2 -1
  655. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +27 -25
  656. package/mobile/src/components/LinkList/LinkListContent.ts +3 -2
  657. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
  658. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +12 -11
  659. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
  660. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
  661. package/mobile/src/components/PictureText/PictureTextContent.ts +29 -28
  662. package/mobile/src/components/PictureText/renderBenefit.tsx +1 -1
  663. package/mobile/src/components/Placeholder/PlaceholderContent.ts +2 -1
  664. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +8 -8
  665. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -3
  666. package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -4
  667. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
  668. package/mobile/src/components/ProductTile/ProductTileContent.ts +10 -6
  669. package/mobile/src/components/PromoTile/PromoTileContent.ts +3 -3
  670. package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -6
  671. package/mobile/src/components/RollupItem/RollupItem.tsx +5 -3
  672. package/mobile/src/components/RollupItem/RollupItemContent.ts +8 -8
  673. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
  674. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +2 -2
  675. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
  676. package/mobile/src/components/Tabs/LinkTab.tsx +8 -2
  677. package/mobile/src/components/Tabs/Tabs.tsx +18 -3
  678. package/mobile/src/components/Tabs/TabsContent.ts +3 -2
  679. package/mobile/src/components/Tabs/renderTab.tsx +7 -1
  680. package/mobile/src/components/TextBlock/TextBlock.tsx +11 -45
  681. package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -4
  682. package/mobile/src/components/Tile/TileContent.ts +3 -3
  683. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
  684. package/mobile/src/components/Video/VideoContent.ts +18 -16
  685. package/mobile/src/hooks/useBranches.ts +43 -0
  686. package/mobile/src/model/HeadlineType.ts +5 -0
  687. package/mobile/src/model/JSXBlock.ts +10 -2
  688. package/mobile/src/model/LogoType.ts +3 -5
  689. package/mobile/src/services/sitemap/SitemapProps.ts +2 -4
  690. package/mobile/src/ui-kit/BlockWrapper.tsx +17 -9
  691. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
  692. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
  693. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
  694. package/mobile/src/ui-kit/Text/TextProps.ts +1 -1
  695. package/mobile/src/ui-kit/TopItem/TopItem.tsx +2 -1
  696. package/package.json +1 -1
  697. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  698. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -2
  699. package/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
  700. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -5
  701. package/src/components/ApplicationForm/renderBankOffices.tsx +1 -1
  702. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
  703. package/src/components/Bonus/BonusContent.ts +8 -7
  704. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +16 -8
  705. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +8 -8
  706. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +3 -3
  707. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +17 -10
  708. package/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
  709. package/src/components/Calculator/getMonthlyPayment.ts +3 -1
  710. package/src/components/CardTransfer/CardTransferContent.ts +3 -1
  711. package/src/components/Carousel/Carousel.tsx +8 -1
  712. package/src/components/Carousel/CarouselContent.ts +4 -2
  713. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  714. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
  715. package/src/components/CarouselCard/CarouselCardContent.ts +14 -12
  716. package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
  717. package/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
  718. package/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
  719. package/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
  720. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +1 -0
  721. package/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
  722. package/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
  723. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
  724. package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
  725. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
  726. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
  727. package/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
  728. package/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
  729. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +10 -9
  730. package/src/components/ComparisonTable/TableRow.tsx +3 -2
  731. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  732. package/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
  733. package/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
  734. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
  735. package/src/components/GracePeriod/GracePeriodContent.ts +6 -4
  736. package/src/components/Header/HeaderContent.ts +3 -4
  737. package/src/components/Header/HeaderSecondaryMenu.tsx +9 -2
  738. package/src/components/Headline/Headline.tsx +5 -3
  739. package/src/components/Headline/HeadlineContent.ts +9 -8
  740. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
  741. package/src/components/ImgBlock/ImgBlockContent.ts +3 -2
  742. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
  743. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
  744. package/src/components/LikeControl/LikeControl.tsx +2 -1
  745. package/src/components/LinkDocs/LinkDocsContent.ts +27 -25
  746. package/src/components/LinkList/LinkListContent.ts +3 -2
  747. package/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
  748. package/src/components/OfficeMap/OfficeMapContent.ts +12 -11
  749. package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
  750. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
  751. package/src/components/PictureText/PictureTextContent.ts +29 -28
  752. package/src/components/PictureText/renderBenefit.tsx +1 -1
  753. package/src/components/Placeholder/PlaceholderContent.ts +2 -1
  754. package/src/components/ProductBlock/ProductBlockContent.ts +8 -8
  755. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -3
  756. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -0
  757. package/src/components/ProductGallery/ProductGallery.tsx +3 -4
  758. package/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
  759. package/src/components/ProductTile/ProductTileContent.ts +10 -6
  760. package/src/components/PromoTile/PromoTileContent.ts +3 -3
  761. package/src/components/Recommendation/RecommendationContent.ts +6 -6
  762. package/src/components/RollupItem/RollupItem.tsx +5 -3
  763. package/src/components/RollupItem/RollupItemContent.ts +8 -8
  764. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
  765. package/src/components/StepsBlock/StepsBlockContent.ts +2 -2
  766. package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
  767. package/src/components/Tabs/LinkTab.tsx +8 -2
  768. package/src/components/Tabs/Tabs.tsx +18 -3
  769. package/src/components/Tabs/TabsContent.ts +3 -2
  770. package/src/components/Tabs/renderTab.tsx +7 -1
  771. package/src/components/TextBlock/TextBlock.fixture.tsx +9 -12
  772. package/src/components/TextBlock/TextBlock.mobile.tsx +11 -45
  773. package/src/components/TextBlock/TextBlock.tsx +12 -39
  774. package/src/components/TextBlock/TextBlockContent.ts +4 -4
  775. package/src/components/Tile/TileContent.ts +3 -3
  776. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +2 -0
  777. package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
  778. package/src/components/Video/VideoContent.ts +18 -16
  779. package/src/hooks/useBranches.ts +43 -0
  780. package/src/model/HeadlineType.ts +5 -0
  781. package/src/model/JSXBlock.ts +10 -2
  782. package/src/model/LogoType.ts +3 -5
  783. package/src/services/sitemap/SitemapProps.ts +2 -4
  784. package/src/ui-kit/BlockWrapper.tsx +17 -9
  785. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
  786. package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
  787. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
  788. package/src/ui-kit/Text/TextProps.ts +1 -1
  789. package/src/ui-kit/TopItem/TopItem.tsx +2 -1
  790. package/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
  791. package/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
  792. package/dist/components/RollupItem/RollupItemProps.js +0 -2
  793. package/dist/components/RollupItem/RollupItemProps.js.map +0 -1
  794. package/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
  795. package/lib/components/RollupItem/RollupItemProps.js +0 -2
  796. package/lib/components/RollupItem/RollupItemProps.js.map +0 -1
  797. package/mobile/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
  798. package/mobile/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
  799. package/mobile/dist/components/RollupItem/RollupItemProps.js +0 -2
  800. package/mobile/dist/components/RollupItem/RollupItemProps.js.map +0 -1
  801. package/mobile/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
  802. package/mobile/lib/components/RollupItem/RollupItemProps.js +0 -2
  803. package/mobile/lib/components/RollupItem/RollupItemProps.js.map +0 -1
  804. package/mobile/src/components/RollupItem/RollupItemProps.ts +0 -4
  805. package/src/components/RollupItem/RollupItemProps.ts +0 -4
@@ -6,10 +6,10 @@ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const Input_1 = require("../../ui-kit/Input/Input");
7
7
  const useGetRegions_1 = require("../SafeDepositRental/useGetRegions");
8
8
  const Footnote_1 = require("./Footnote");
9
- const WrapperSelect_1 = require("./WrapperSelect");
10
9
  const normalizeSelectedRegion_1 = require("./normalizeSelectedRegion");
11
10
  const renderSubmitButton_1 = require("./renderSubmitButton");
12
11
  const useFormHandlers_1 = require("./useFormHandlers");
12
+ const WrapperSelect_1 = require("./WrapperSelect");
13
13
  exports.ApplicationFormBusinessCard = (0, uni_jsx_1.JSX)((props) => {
14
14
  const { button, link, handleSubmit } = props;
15
15
  const [formState, setFormState] = (0, hooks_1.useState)({
@@ -30,7 +30,7 @@ exports.ApplicationFormBusinessCard = (0, uni_jsx_1.JSX)((props) => {
30
30
  handleSubmit &&
31
31
  (await handleSubmit({
32
32
  typeForm: 'bcrd',
33
- region,
33
+ region: regions.find((_) => _.code === selectedRegion)?.name || '',
34
34
  name,
35
35
  phone,
36
36
  inn,
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationFormBusinessCard.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormBusinessCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAGvD,oDAAiD;AACjD,sEAAmE;AAEnE,yCAAsC;AACtC,mDA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,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,IACE,IACF,CACP,CAAC;AAQF,MAAM,YAAY,GAAG,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAqB,EAAE,EAAE,CAAC,CAC7E,gCAAK,SAAS,EAAC,iCAAiC,YAC9C,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,GACF,CACP,CAAC"}
1
+ {"version":3,"file":"ApplicationFormBusinessCard.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormBusinessCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAGvD,oDAAiD;AACjD,sEAAmE;AAEnE,yCAAsC;AAEtC,uEAAoE;AACpE,6DAA0D;AAC1D,uDAAoD;AACpD,mDAAgD;AAUnC,QAAA,2BAA2B,GAAG,IAAA,aAAG,EAAwB,CAAC,KAAK,EAAE,EAAE;IAC9E,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAE7C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAwB;QAChE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,EAAE;QACT,GAAG,EAAE,EAAE;QACP,IAAI,EAAE,EAAE;KACT,CAAC,CAAC;IAEH,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAErD,MAAM,OAAO,GA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,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,GACF,CACP,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { ButtonVersion } from '../../model/ButtonVersion';
2
2
  import type { TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  import type { LinkProps } from '../../model/LinkProps';
4
5
  import type { ButtonAdditionalProps } from '../../ui-kit/Button/ButtonProps';
5
6
  /**
@@ -16,7 +17,7 @@ export interface SubmitButtonProps extends ButtonAdditionalProps {
16
17
  /**
17
18
  * @title Форма заявки
18
19
  */
19
- export declare type ApplicationFormContent = TitleProps & {
20
+ export declare type ApplicationFormContent = UniBlockContent & TitleProps & {
20
21
  /**
21
22
  * @title Вид заявки
22
23
  * @default credit
@@ -3,7 +3,7 @@ exports.ApplicationFormCredit = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
- const useSafeBoxes_1 = require("../../hooks/useSafeBoxes");
6
+ const useBranches_1 = require("../../hooks/useBranches");
7
7
  const Heading_1 = require("../../ui-kit/Heading/Heading");
8
8
  const useGetRegions_1 = require("../SafeDepositRental/useGetRegions");
9
9
  const CreditParameters_1 = require("./CreditParameters");
@@ -33,8 +33,8 @@ exports.ApplicationFormCredit = (0, uni_jsx_1.JSX)((props) => {
33
33
  const { handleChange } = (0, useFormHandlers_1.useFormHandlers)({
34
34
  setFormState,
35
35
  });
36
- const selectedRegion = (0, normalizeSelectedRegion_1.normalizeSelectedRegion)(formState.region, regions);
37
- const branches = (0, useSafeBoxes_1.useSafeBoxes)(region);
36
+ const selectedRegion = (0, normalizeSelectedRegion_1.normalizeSelectedRegion)(region, regions);
37
+ const branches = (0, useBranches_1.useBranches)(selectedRegion).filter((branch) => branch.address);
38
38
  (0, hooks_1.useEffect)(() => {
39
39
  handleChange({
40
40
  department: '',
@@ -51,8 +51,8 @@ exports.ApplicationFormCredit = (0, uni_jsx_1.JSX)((props) => {
51
51
  name,
52
52
  phone,
53
53
  mail,
54
- region,
55
- department,
54
+ region: regions.find((_) => _.code === selectedRegion)?.name || '',
55
+ department: branches.find((_) => _.branchCode === department)?.address || '',
56
56
  PartnerComments,
57
57
  }));
58
58
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationFormCredit.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormCredit.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAClE,2DAAwD;AAExD,0DAAuD;AACvD,sEAAmE;AAEnE,yDAAwE;AACxE,yCAAsC;AACtC,uEAAoE;AACpE,2DAAwD;AACxD,qEAAkE;AAClE,qEAAkE;AAClE,6DAA0D;AAC1D,uDAAoD;AAevC,QAAA,qBAAqB,GAAG,IAAA,aAAG,EAAwB,CAAC,KAAK,EAAE,EAAE;IACxE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAE7C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAkB;QAC1D,MAAM,EAAE,oCAAiB;QACzB,IAAI,EAAE,kCAAe;QACrB,QAAQ,EAAE,EAAE;QACZ,GAAG,EAAE,EAAE;QACP,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,EAAE;QACR,MAAM,EAAE,EAAE;QACV,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,EAAE;KAClB,CAAC,CAAC;IAEH,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,GACzF,SAAS,CAAC;IAEZ,MAAM,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,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC,EAC1F,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAC,yDAAY,EAAC,SAAS,EAAC,kBAAkB,GAAG,EAC3E,IAAA,qCAAiB,EAAC;gBACjB,OAAO;gBACP,MAAM,EAAE,cAAc;gBACtB,QAAQ;gBACR,UAAU;gBACV,YAAY;aACb,CAAC,EACD,IAAA,uCAAkB,EAAC,MAAM,EAAE,MAAM,CAAC,EACnC,uBAAC,mBAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACnB,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"ApplicationFormCredit.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormCredit.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAClE,yDAAsD;AAEtD,0DAAuD;AACvD,sEAAmE;AAEnE,yDAAwE;AACxE,yCAAsC;AACtC,uEAAoE;AACpE,2DAAwD;AACxD,qEAAkE;AAClE,qEAAkE;AAClE,6DAA0D;AAC1D,uDAAoD;AAevC,QAAA,qBAAqB,GAAG,IAAA,aAAG,EAAwB,CAAC,KAAK,EAAE,EAAE;IACxE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAE7C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAkB;QAC1D,MAAM,EAAE,oCAAiB;QACzB,IAAI,EAAE,kCAAe;QACrB,QAAQ,EAAE,EAAE;QACZ,GAAG,EAAE,EAAE;QACP,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,EAAE;QACR,MAAM,EAAE,EAAE;QACV,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,EAAE;KAClB,CAAC,CAAC;IAEH,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAA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IACR,CAAC,CAAC;IAEF,OAAO,CACL,kCAAM,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAC,WAAW,aAC7C,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAC,mGAAmB,EAAC,SAAS,EAAC,kBAAkB,GAAG,EAClF,IAAA,+CAAsB,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EACvD,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAC,yGAAoB,EAAC,SAAS,EAAC,kBAAkB,GAAG,EACnF,IAAA,+CAAsB,EAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC,EAC1F,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAC,yDAAY,EAAC,SAAS,EAAC,kBAAkB,GAAG,EAC3E,IAAA,qCAAiB,EAAC;gBACjB,OAAO;gBACP,MAAM,EAAE,cAAc;gBACtB,QAAQ;gBACR,UAAU;gBACV,YAAY;aACb,CAAC,EACD,IAAA,uCAAkB,EAAC,MAAM,EAAE,MAAM,CAAC,EACnC,uBAAC,mBAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACnB,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"renderBankOffices.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBankOffices.tsx"],"names":[],"mappings":";;;AAEA,mDAAgD;AAWzC,MAAM,iBAAiB,GAAG,CAAC,EAChC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,GACW,EAAE,EAAE,CAAC,CAC5B,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,EACN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,QAAQ,EACd,UAAU,EAAC,YAAY,EACvB,UAAU,EAAC,SAAS,EACpB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAC3D,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC;AA/BW,QAAA,iBAAiB,qBA+B5B"}
1
+ {"version":3,"file":"renderBankOffices.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBankOffices.tsx"],"names":[],"mappings":";;;AAGA,mDAAgD;AAUzC,MAAM,iBAAiB,GAAG,CAAC,EAChC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,GACW,EAAE,EAAE,CAAC,CAC5B,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,EACN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,QAAQ,EACd,UAAU,EAAC,YAAY,EACvB,UAAU,EAAC,SAAS,EACpB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAC3D,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC;AA/BW,QAAA,iBAAiB,qBA+B5B"}
@@ -1,6 +1,6 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { EmptyOption } from '../../model/EmptyOptionType';
3
2
  import type { LabelProps, TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { IconProps } from '../../model/Picture';
5
5
  /**
6
6
  * @title Пункты описания
@@ -41,12 +41,10 @@ export declare type BenefitBlockItemProps = LabelProps & IconProps & {
41
41
  /**
42
42
  * @title Блок преимущества
43
43
  */
44
- export declare type BenefitsBlockContent = TitleProps & {
44
+ export declare type BenefitsBlockContent = UniBlockContent & TitleProps & {
45
45
  /**
46
46
  * @title Список преимуществ
47
47
  * @maxItems 6
48
48
  */
49
49
  benefitList?: BenefitBlockItemProps[];
50
- /** @default primary */
51
- version?: BlockVersion;
52
50
  };
@@ -1,14 +1,14 @@
1
1
  import type { EmptyOption } from '../../model/EmptyOptionType';
2
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
- import type { Picture } from '../../model/Picture';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
6
  /**
6
7
  * @title Изображение
7
8
  */
8
- export declare type BonusImageDef = {
9
+ export declare type BonusImageDef = ImageContent & {
9
10
  /** @default image */
10
11
  bonusType?: 'image';
11
- image?: Picture;
12
12
  };
13
13
  /**
14
14
  * @title Баллы
@@ -40,7 +40,7 @@ export declare type BonusItem = HeadlineCommonProps & {
40
40
  /**
41
41
  * @title Блок Бонусы
42
42
  */
43
- export declare type BonusContent = HeadlineCommonProps & {
43
+ export declare type BonusContent = UniBlockContent & HeadlineCommonProps & {
44
44
  /** @title Список плиток */
45
45
  bonusItems?: BonusItem[];
46
46
  };
@@ -7,8 +7,8 @@ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
8
  const Headline_1 = require("../Headline/Headline");
9
9
  exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${AlignText_1.AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
10
- const renderBonusBenefit = ({ icon, label, description }, i) => {
11
- return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center text-h6", children: [description ? (0, jsx_runtime_1.jsx)("span", { children: description }) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, (0, jsx_runtime_1.jsx)("div", { children: label ? (0, jsx_runtime_1.jsx)("span", { children: label }) : null })] }, String(i)));
10
+ const renderBonusBenefit = ({ icon, title, description }, i) => {
11
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center text-h6", children: [title ? (0, jsx_runtime_1.jsx)("span", { children: title }) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, (0, jsx_runtime_1.jsx)("div", { children: description ? (0, jsx_runtime_1.jsx)("span", { children: description }) : null })] }, String(i)));
12
12
  };
13
13
  const getElementsColsValue = (colValue) => {
14
14
  switch (colValue) {
@@ -1 +1 @@
1
- {"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,uEAAuE,SAAS,EAAE,KACzF,IAAI,aAER,uBAAC,mBAAQ,IAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAC,GAAG,GAAG,EAC1F,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCACE,SAAS,EAAE,cAAc,qBAAS,CAAC,aAAa,CAAC,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAExF,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,EAAE,CAAS,EAAE,EAAE;IACnF,OAAO,CACL,iCAAqB,SAAS,EAAC,oCAAoC,aAChE,WAAW,CAAC,CAAC,CAAC,2CAAO,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAC/C,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1F,0CAAM,KAAK,CAAC,CAAC,CAAC,2CAAO,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GAAO,KAHxC,MAAM,CAAC,CAAC,CAAC,CAIb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,uEAAuE,SAAS,EAAE,KACzF,IAAI,aAER,uBAAC,mBAAQ,IAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAC,GAAG,GAAG,EAC1F,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCACE,SAAS,EAAE,cAAc,qBAAS,CAAC,aAAa,CAAC,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAExF,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,EAAE,CAAS,EAAE,EAAE;IACnF,OAAO,CACL,iCAAqB,SAAS,EAAC,oCAAoC,aAChE,KAAK,CAAC,CAAC,CAAC,2CAAO,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,EACnC,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1F,0CAAM,WAAW,CAAC,CAAC,CAAC,2CAAO,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,GAAO,KAHpD,MAAM,CAAC,CAAC,CAAC,CAIb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { AlignType } from '../../model/AlignType';
2
- import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  import type { IconProps } from '../../model/Picture';
4
5
  /**
5
6
  * @title Количество элементов в строке
@@ -12,12 +13,16 @@ import type { IconProps } from '../../model/Picture';
12
13
  export declare type ColumnsCount = '3' | '4' | '5';
13
14
  /**
14
15
  * @title Бонус и преимущество
16
+ * @default {
17
+ * "title": "Верхний заголовок",
18
+ * "description": "Нижний заголовок",
19
+ * }
15
20
  */
16
- export declare type BonusBenefit = LabelProps & IconProps & DescriptionProps;
21
+ export declare type BonusBenefit = TitleProps & IconProps & DescriptionProps;
17
22
  /**
18
23
  * @title Блок бонусов и преимуществ
19
24
  */
20
- export declare type BonusBenefitsBlockContent = TitleProps & {
25
+ export declare type BonusBenefitsBlockContent = UniBlockContent & TitleProps & {
21
26
  /** @title Подзаголовок */
22
27
  subtitle?: string;
23
28
  /** @title Список бонусов */
@@ -1,14 +1,14 @@
1
- import type { IconProps, Picture } from '../../model/Picture';
1
+ import type { TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { IconProps } from '../../model/Picture';
2
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
3
6
  /** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
4
7
  export declare type BusinessCardItemProps = IconProps & {
5
8
  /** @title Текст */
6
9
  text?: string;
7
10
  };
8
- export interface BusinessCardProps {
9
- /** @title Заголовок карточки */
10
- title?: string;
11
- image?: Picture;
11
+ export declare type BusinessCardProps = TitleProps & ImageContent & {
12
12
  /** @title Список */
13
13
  cardItems?: BusinessCardItemProps[];
14
14
  /**
@@ -17,17 +17,15 @@ export interface BusinessCardProps {
17
17
  * "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
18
18
  */
19
19
  button?: ButtonWithIconProps;
20
- }
20
+ };
21
21
  /**
22
22
  * @title Бизнес блок
23
23
  */
24
- export interface BusinessBlockContent {
25
- /** @title Заголовок блока */
26
- title?: string;
24
+ export declare type BusinessBlockContent = UniBlockContent & TitleProps & {
27
25
  /**
28
26
  * @title Карточки
29
27
  * @minItems 2
30
28
  * @maxItems 2
31
29
  */
32
30
  cards?: BusinessCardProps[];
33
- }
31
+ };
@@ -7,7 +7,10 @@ exports.getMonthlyPayment = void 0;
7
7
  const constants_1 = require("./constants");
8
8
  const getMonthlyPayment = (rate, params) => {
9
9
  const { isAnnuity, moneyValue, monthsValue } = params;
10
- if (isAnnuity) {
10
+ if (rate === 0) {
11
+ return 0;
12
+ }
13
+ else if (isAnnuity) {
11
14
  const i = rate / constants_1.MONTHLY_INTEREST_RATE; // Используется значение ставки в процентах
12
15
  return moneyValue * (i + i / (Math.pow(1 + i, monthsValue) - 1));
13
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getMonthlyPayment.js","sourceRoot":"","sources":["../../../src/components/Calculator/getMonthlyPayment.ts"],"names":[],"mappings":"AAAA;;;GAGG;;;AAEH,2CAAoE;AAG7D,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAE,MAAuC,EAAE,EAAE;IACzF,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;IAEtD,IAAI,SAAS,EAAE;QACb,MAAM,CAAC,GAAG,IAAI,GAAG,iCAAqB,CAAC,CAAC,2CAA2C;QAEnF,OAAO,UAAU,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;KAClE;SAAM;QACL,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,WAAW,CAAC,GAAG,UAAU,GAAG,CAAC,IAAI,GAAG,CAAC,0BAAc,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,oEAAoE;KACjK;AACH,CAAC,CAAC;AAVW,QAAA,iBAAiB,qBAU5B"}
1
+ {"version":3,"file":"getMonthlyPayment.js","sourceRoot":"","sources":["../../../src/components/Calculator/getMonthlyPayment.ts"],"names":[],"mappings":"AAAA;;;GAGG;;;AAEH,2CAAoE;AAG7D,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAE,MAAuC,EAAE,EAAE;IACzF,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;IAEtD,IAAI,IAAI,KAAK,CAAC,EAAE;QACd,OAAO,CAAC,CAAC;KACV;SAAM,IAAI,SAAS,EAAE;QACpB,MAAM,CAAC,GAAG,IAAI,GAAG,iCAAqB,CAAC,CAAC,2CAA2C;QAEnF,OAAO,UAAU,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;KAClE;SAAM;QACL,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,WAAW,CAAC,GAAG,UAAU,GAAG,CAAC,IAAI,GAAG,CAAC,0BAAc,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,oEAAoE;KACjK;AACH,CAAC,CAAC;AAZW,QAAA,iBAAiB,qBAY5B"}
@@ -1,9 +1,10 @@
1
1
  import type { LabelProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
3
4
  /**
4
5
  * @title Перевод с карты на карту
5
6
  */
6
- export declare type CardTransferContent = LabelProps & TitleProps & {
7
+ export declare type CardTransferContent = UniBlockContent & LabelProps & TitleProps & {
7
8
  /** @title Плейсхолдер */
8
9
  placeholder?: string;
9
10
  button?: ButtonProps;
@@ -21,7 +21,7 @@ exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemC
21
21
  isCyclic,
22
22
  });
23
23
  const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
24
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)(getPaddingStyle(isPadding), className), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative max-w-full", children: [(0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: isBankHistoryCarousel
24
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)(getPaddingStyle(isPadding), 'group-data-secondary:bg-primary-main group-data-secondary:text-white', className), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative max-w-full", children: [(0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: isBankHistoryCarousel
25
25
  ? (0, renderChildren_1.renderChildren)({
26
26
  ...rest,
27
27
  options: {
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,uEAAoE;AAEpE,4DAAyD;AACzD,yFAAsF;AACtF,yFAAsF;AACtF,6CAA0C;AAE1C,mEAAgE;AAMhE,MAAM,SAAS,GAAG,CAAC,CAAC;AAEP,QAAA,QAAQ,GAA4B,IAAA,aAAG,EAClD,CAAC,EACC,SAAS,GAAG,EAAE,EACd,SAAS,EACT,gBAAgB,EAChB,MAAM,GAAG,IAAI,EACb,QAAQ,GAAG,KAAK,EAChB,YAAY,GAAG,IAAI,EACnB,SAAS,GAAG,IAAI,EAChB,OAAO,EACP,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;IACjD,MAAM,KAAK,GAAG,SAAS,IAAI,WAAW,EAAE,MAAM,IAAI,CAAC,CAAC;IAEpD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAS,IAAI,CAAC,KAAK,CAA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qB,IACpB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,mBAAmB,EACjC,aAAa,EAAE,mBAAmB,EAClC,aAAa,EAAE,qBAAqB,EACpC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,KAAK,GAChB,IACE,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAQ,CAAC,aAAa,GAAG;IACvB,cAAc;IACd,yBAAyB;IACzB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,4BAA4B;IAC5B,qBAAqB;IACrB,wBAAwB;IACxB,mBAAmB;CACpB,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,SAAkB,EAAU,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,uEAAoE;AAEpE,4DAAyD;AACzD,yFAAsF;AACtF,yFAAsF;AACtF,6CAA0C;AAE1C,mEAAgE;AAMhE,MAAM,SAAS,GAAG,CAAC,CAAC;AAEP,QAAA,QAAQ,GAA4B,IAAA,aAAG,EAClD,CAAC,EACC,SAAS,GAAG,EAAE,EACd,SAAS,EACT,gBAAgB,EAChB,MAAM,GAAG,IAAI,EACb,QAAQ,GAAG,KAAK,EAChB,YAAY,GAAG,IAAI,EACnB,SAAS,GAAG,IAAI,EAChB,OAAO,EACP,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;IACjD,MAAM,KAAK,GAAG,SAAS,IAAI,WAAW,EAAE,MAAM,IAAI,CAAC,CAAC;IAEpD,MAAM,CAAC,WAAW,EAAE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AC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,CAAC,GACrB,EACrB,uBAAC,6CAAqB,IACpB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,mBAAmB,EACjC,aAAa,EAAE,mBAAmB,EAClC,aAAa,EAAE,qBAAqB,EACpC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,KAAK,GAChB,IACE,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAQ,CAAC,aAAa,GAAG;IACvB,cAAc;IACd,yBAAyB;IACzB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,4BAA4B;IAC5B,qBAAqB;IACrB,wBAAwB;IACxB,mBAAmB;CACpB,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,SAAkB,EAAU,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
@@ -1,7 +1,8 @@
1
+ import type { UniBlockContent } from '../../model/JSXBlock';
1
2
  /**
2
3
  * @title Карусель
3
4
  */
4
- export interface CarouselContent {
5
+ export declare type CarouselContent = UniBlockContent & {
5
6
  /**
6
7
  * @title Количество видимых карточек
7
8
  * @enumNames ["auto", "1", "2", "3"]
@@ -18,4 +19,4 @@ export interface CarouselContent {
18
19
  isCyclic?: boolean;
19
20
  /** @title Внутренний отступ */
20
21
  isPadding?: boolean;
21
- }
22
+ };
@@ -5,7 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const style_1 = require("../../utils/style");
7
7
  const Headline_1 = require("../Headline/Headline");
8
- exports.CarouselBankHistoryCard = (0, uni_jsx_1.JSX)(({ title, description, blocksLength = 0, activeIndex, options, ...rest }) => {
8
+ exports.CarouselBankHistoryCard = (0, uni_jsx_1.JSX)(({ title, description, blocksLength = 0, activeIndex, options }) => {
9
9
  const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
10
10
  const isActive = orderNumber === activeIndex;
11
11
  return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: "flex h-[485px]", children: isActive ? ((0, jsx_runtime_1.jsx)("div", { className: "relative flex items-center w-full", children: (0, jsx_runtime_1.jsx)(Headline_1.Headline, { headlineVersion: "S", title: title, description: description, align: "text-left", className: (0, style_1.style)('absolute z-10 h-[385px] w-[440px] text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : ((0, jsx_runtime_1.jsx)("div", { className: "flex w-full items-center justify-center", children: (0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: (0, jsx_runtime_1.jsx)("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselBankHistoryCard.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,6CAA0C;AAC1C,mDAAgD;AAQnC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACvE,MAAM,QAAQ,GAAG,WAAW,KAAK,WAAW,CAAC;IAE7C,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAC,gBAAgB,YACrC,Q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IAC3E,IAAI,WAAW,KAAK,CAAC,EAAE;QACrB,OAAO,QAAQ,CAAC;KACjB;SAAM,IAAI,WAAW,KAAK,YAAY,GAAG,CAAC,EAAE;QAC3C,OAAO,SAAS,CAAC;KAClB;SAAM;QACL,OAAO,cAAc,CAAC;KACvB;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"CarouselBankHistoryCard.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,6CAA0C;AAC1C,mDAAgD;AAQnC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE;IACjE,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACvE,MAAM,QAAQ,GAAG,WAAW,KAAK,WAAW,CAAC;IAE7C,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAC,gBAAgB,YACrC,QAAQ,CAAC,CAAC,CAAC,CACV,gCAAK,SAAS,EAAC,mCAAmC,YAChD,uBAAC,mBAAQ,IACP,eAAe,EAAC,GAAG,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAC,WAAW,EACjB,SAAS,EAAE,IAAA,aAAK,EACd,+DAA+D,EAC/D,sBAAsB,CAAC,WAAW,EAAE,YAAY,CAAC,EACjD,kBAAkB,CAAC,WAAW,CAAC,CAChC,GACD,GACE,CACP,CAAC,CAAC,CAAC,CACF,gCAAK,SAAS,EAAC,yCAAyC,YACtD,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,sGAAsG,EACtG,kBAAkB,CAAC,WAAW,CAAC,CAChC,YAED,iCAAM,SAAS,EAAE,YAAY,CAAC,WAAW,CAAC,YAAG,KAAK,GAAQ,GACtD,GACF,CACP,GACY,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,WAAmB,EAAE,EAAE;IACjD,MAAM,QAAQ,GAAG,WAAW,GAAG,CAAC,CAAC;IACjC,QAAQ,QAAQ,EAAE;QAChB,KAAK,CAAC;YACJ,OAAO,iBAAiB,CAAC;QAC3B,KAAK,CAAC;YACJ,OAAO,gBAAgB,CAAC;QAC1B,KAAK,CAAC;YACJ,OAAO,iBAAiB,CAAC;QAE3B;YACE,OAAO,iBAAiB,CAAC;KAC5B;AACH,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,WAAmB,EAAE,EAAE;IAC3C,MAAM,QAAQ,GAAG,WAAW,GAAG,CAAC,CAAC;IACjC,QAAQ,QAAQ,EAAE;QAChB,KAAK,CAAC;YACJ,OAAO,+BAA+B,CAAC;QACzC,KAAK,CAAC;YACJ,OAAO,+BAA+B,CAAC;QAEzC;YACE,OAAO,8BAA8B,CAAC;KACzC;AACH,CAAC,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,WAAmB,EAAE,YAAoB,EAAE,EAAE;IAC3E,IAAI,WAAW,KAAK,CAAC,EAAE;QACrB,OAAO,QAAQ,CAAC;KACjB;SAAM,IAAI,WAAW,KAAK,YAAY,GAAG,CAAC,EAAE;QAC3C,OAAO,SAAS,CAAC;KAClB;SAAM;QACL,OAAO,cAAc,CAAC;KACvB;AACH,CAAC,CAAC"}
@@ -1,9 +1,6 @@
1
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
1
3
  /**
2
4
  * @title Карточка карусели истории банка
3
5
  */
4
- export interface CarouselBankHistoryCardContent {
5
- /** @title Заголовок */
6
- title?: string;
7
- /** @title Описание */
8
- description?: string;
9
- }
6
+ export declare type CarouselBankHistoryCardContent = UniBlockContent & HeadlineCommonProps;
@@ -1,10 +1,11 @@
1
- import type { SizeVersion } from '../../model/SizeVersion';
2
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { SizeVersion } from '../../model/SizeVersion';
3
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
5
  /**
5
6
  * @title Карточка карусели
6
7
  */
7
- export interface CarouselCardContent extends HeadlineCommonProps {
8
+ export declare type CarouselCardContent = UniBlockContent & HeadlineCommonProps & {
8
9
  /**
9
10
  * @title Кнопка
10
11
  * @default {
@@ -14,4 +15,4 @@ export interface CarouselCardContent extends HeadlineCommonProps {
14
15
  */
15
16
  button?: ButtonWithIconProps;
16
17
  carouselVersion?: SizeVersion;
17
- }
18
+ };
@@ -1,12 +1,12 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { ProductColorVersion } from '../../model/ProductColorVersion';
4
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
5
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
6
6
  /**
7
7
  * @title Карточка каталога
8
8
  */
9
- export declare type CarouselCatalogCardContent = HeadlineCommonProps & ImageContent & {
9
+ export declare type CarouselCatalogCardContent = UniBlockContent & HeadlineCommonProps & ImageContent & {
10
10
  /** @title Цена в рублях */
11
11
  price?: number;
12
12
  /** @title Доступные цвета */
@@ -19,5 +19,4 @@ export declare type CarouselCatalogCardContent = HeadlineCommonProps & ImageCont
19
19
  * }
20
20
  */
21
21
  button?: ButtonWithIconProps;
22
- version?: BlockVersion;
23
22
  };
@@ -1,9 +1,8 @@
1
1
  import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { LinkCommonProps } from '../../model/LinkProps';
3
- import type { Picture } from '../../model/Picture';
4
+ import type { IconProps } from '../../model/Picture';
4
5
  /**
5
6
  * @title Карточка мероприятия в карусели
6
7
  */
7
- export declare type CarouselEventCardContent = TitleProps & DescriptionProps & LinkCommonProps & {
8
- icon?: Picture;
9
- };
8
+ export declare type CarouselEventCardContent = UniBlockContent & TitleProps & DescriptionProps & LinkCommonProps & IconProps;
@@ -1,5 +1,5 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { HeadlineCommonProps } from '../../model/HeadlineType';
1
+ import type { AdditionalDescriptionProps, HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { Picture } from '../../model/Picture';
4
4
  /**
5
5
  * @title Количество колонок
@@ -18,9 +18,7 @@ export interface CardsListItem {
18
18
  /**
19
19
  * @title Карточка галереи инвестиций
20
20
  */
21
- export interface CarouselInvestmentCardContent extends HeadlineCommonProps {
22
- /** @title Доп. описание карточки */
23
- additionalDescription?: string;
21
+ export declare type CarouselInvestmentCardContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & {
24
22
  /** @default 1 */
25
23
  columnsMode?: CardColumnsMode;
26
24
  /**
@@ -42,5 +40,4 @@ export interface CarouselInvestmentCardContent extends HeadlineCommonProps {
42
40
  * }
43
41
  */
44
42
  image?: Picture;
45
- version?: BlockVersion;
46
- }
43
+ };
@@ -8,12 +8,12 @@ const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
8
8
  const Carousel_1 = require("../Carousel/Carousel");
9
9
  const Headline_1 = require("../Headline/Headline");
10
10
  const MAX_LINKS_COUNT = 10;
11
- exports.CarouselLinks = (0, uni_jsx_1.JSX)(({ className = '', additionalDescription, description, links, title, version = 'secondary', ...rest }) => {
12
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, version: version, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "p-0", title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-6", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
11
+ exports.CarouselLinks = (0, uni_jsx_1.JSX)(({ className = '', additionalDescription, description, links, title, ...rest }) => {
12
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "p-0", title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-6", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
13
13
  });
14
14
  const renderLinks = (links) => {
15
15
  const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
16
- return ((0, jsx_runtime_1.jsx)(Carousel_1.Carousel, { version: "", className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => ((0, jsx_runtime_1.jsx)("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
16
+ return ((0, jsx_runtime_1.jsx)(Carousel_1.Carousel, { className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => ((0, jsx_runtime_1.jsx)("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
17
17
  .slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
18
18
  .map((link, index) => ((0, jsx_runtime_1.jsx)(LinkButton_1.LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mEAAgE;AAChE,gEAA6D;AAC7D,mDAAgD;AAChD,mDAAgD;AAKhD,MAAM,eAAe,GAAG,EAAE,CAAC;AAEd,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,qBAAqB,EACrB,WAAW,EACX,KAAK,EACL,KAAK,EACL,OAAO,GAAG,WAAW,EACrB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,oDAAoD,SAAS,EAAE,EAC1E,OAAO,EAAE,OAAO,KACZ,IAAI,aAER,iCAAK,SAAS,EAAC,sDAAsD,aACnE,uBAAC,mBAAQ,IACP,SAAS,EAAC,KAAK,EACf,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,EAAE,EAAC,IAAI,EACP,KAAK,EAAC,WAAW,GACjB,EACD,qBAAqB,CAAC,CAAC,CAAC,CACvB,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,qBAAS,cAAE,qBAAqB,GAAa,GAC1C,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAC7B,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAkB,EAAE,EAAE;IACzC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,eAAe,CAAC,CAAC;IAE5D,OAAO,CACL,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,WAAW,EACxB,EAAE,EAAC,IAAI,EACP,KAAK,EAAC,WAAW,GACjB,EACD,qBAAqB,CAAC,CAAC,CAAC,CACvB,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,qBAAS,cAAE,qBAAqB,GAAa,GAC1C,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAC7B,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAkB,EAAE,EAAE;IACzC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,eAAe,CAAC,CAAC;IAE5D,OAAO,CACL,uBAAC,mBAAQ,IACP,SAAS,EAAC,yBAAyB,EACnC,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,IAAI,EACd,SAAS,EAAE,SAAS,YAEnB,IAAI,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,CAAC,CACtD,gCAEE,SAAS,EAAC,+DAA+D,YAExE,KAAK;iBACH,KAAK,CAAC,UAAU,GAAG,eAAe,EAAE,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,eAAe,CAAC;iBACvE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACpB,uBAAC,uBAAU,IAAqB,SAAS,EAAC,KAAK,KAAK,IAAI,IAAvC,MAAM,CAAC,KAAK,CAAC,CAA8B,CAC7D,CAAC,IAPC,MAAM,CAAC,UAAU,CAAC,CAQnB,CACP,CAAC,GACO,CACZ,CAAC;AACJ,CAAC,CAAC"}
@@ -1,9 +1,8 @@
1
- import type { HeadlineCommonProps } from '../../model/HeadlineType';
1
+ import type { AdditionalDescriptionProps, HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { LinkProps } from '../../model/LinkProps';
3
4
  /** @title Карусель с ссылками */
4
- export interface CarouselLinksContent extends HeadlineCommonProps {
5
- /** @title Дополнительное описание */
6
- additionalDescription?: string;
5
+ export declare type CarouselLinksContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & {
7
6
  /** @title Ссылки */
8
7
  links?: LinkProps[];
9
- }
8
+ };
@@ -1,5 +1,5 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { HeadlineSmallProps } from '../../model/HeadlineType';
1
+ import type { AdditionalDescriptionProps, HeadlineSmallProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { Picture } from '../../model/Picture';
4
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
5
  import type { TextAlign } from '../../ui-kit/Text/TextProps';
@@ -13,9 +13,7 @@ export interface ListProps {
13
13
  /**
14
14
  * @title Карточка продуктовой карусели
15
15
  */
16
- export declare type CarouselProductCardContent = HeadlineSmallProps & {
17
- /** @title Дополнительное описание */
18
- additionalDescription?: string;
16
+ export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmallProps & AdditionalDescriptionProps & {
19
17
  /**
20
18
  * @default {
21
19
  * "format": "webp",
@@ -40,7 +38,6 @@ export declare type CarouselProductCardContent = HeadlineSmallProps & {
40
38
  isDotted?: boolean;
41
39
  /** @title Список */
42
40
  items?: ListProps[];
43
- version?: BlockVersion;
44
41
  /**
45
42
  * @title Выравнивание
46
43
  * @default text-center
@@ -1,12 +1,10 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
3
- import type { Picture } from '../../model/Picture';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { IconProps } from '../../model/Picture';
4
4
  /**
5
5
  * @title Карточка программ карусели
6
6
  */
7
- export declare type CarouselProgramsCardContent = TitleProps & {
8
- icon?: Picture;
7
+ export declare type CarouselProgramsCardContent = UniBlockContent & TitleProps & IconProps & {
9
8
  /** @title Список */
10
9
  list?: HeadlineCommonProps[];
11
- version?: BlockVersion;
12
10
  };
@@ -1,18 +1,17 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { ButtonVersion } from '../../model/ButtonVersion';
3
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { LinkCommonProps } from '../../model/LinkProps';
5
- import type { Picture } from '../../model/Picture';
5
+ import type { IconProps, Picture } from '../../model/Picture';
6
6
  import type { ListContent } from '../../ui-kit/List/ListContent';
7
- export declare type RecommendationSocialMedia = LinkCommonProps & {
7
+ export declare type RecommendationSocialMedia = LinkCommonProps & IconProps & {
8
8
  version: ButtonVersion;
9
- icon?: Picture;
10
9
  rounded?: boolean;
11
10
  };
12
11
  /**
13
12
  * @title Карточка рекомендаций
14
13
  */
15
- export interface CarouselRecommendationCardContent extends HeadlineCommonProps, ListContent {
14
+ export declare type CarouselRecommendationCardContent = UniBlockContent & HeadlineCommonProps & ListContent & {
16
15
  /**
17
16
  * @title Соц сети
18
17
  */
@@ -32,5 +31,4 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
32
31
  * }
33
32
  */
34
33
  image?: Picture;
35
- version?: BlockVersion;
36
- }
34
+ };
@@ -1,11 +1,11 @@
1
1
  import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
2
- import type { Picture } from '../../model/Picture';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { IconProps } from '../../model/Picture';
3
4
  import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
4
5
  /**
5
6
  * @title Карточка тарифной карусели
6
7
  */
7
- export declare type CarouselTariffsCardContent = TitleProps & {
8
- icon?: Picture;
8
+ export declare type CarouselTariffsCardContent = UniBlockContent & TitleProps & IconProps & {
9
9
  /** @title Выделить карточку */
10
10
  isHighlighting?: boolean;
11
11
  /** @title Кнопка */
@@ -1,7 +1,8 @@
1
- import type { Column, RowHeader } from './ComparisonTableContent';
1
+ import type { TitleProps } from '../../model/HeadlineType';
2
+ import type { Column } from './ComparisonTableContent';
2
3
  interface ComparisonTableBodyProps {
3
4
  columns?: Column[];
4
- rowHeaders?: RowHeader[];
5
+ rowHeaders?: TitleProps[];
5
6
  isShowAllRow: boolean;
6
7
  isColoredFirstColumn: boolean;
7
8
  visibleRowLength: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AACtE,iFAA8E;AAE9E,+DAA4D;AAC5D,2CAAqD;AAUxC,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,OAAO,GAAG,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,EAAE,EAAE;IACrF,MAAM,UAAU,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;IAC9D,MAAM,OAAO,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,UAAU;QACxB,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACpB,MAAM;QACN,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC7C,CAAC,CAAC;SACF,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC;IAEjE,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,OAAO,CAAC,MAAM;QACzB,gBAAgB,EAAE,kCAAsB;KACzC,CAAC,CAAC;IAEH,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,4CACE,iCAAK,IAAI,EAAC,OAAO,aACd,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CACpB,uBAAC,2DAA4B,IAAC,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,GAAI,CACnF,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,uBAAC,yCAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,oBAAoB,EAC1C,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,gCAAK,SAAS,EAAC,8DAA8D,GAAG,CACjF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,iFAA8E;AAE9E,+DAA4D;AAC5D,2CAAqD;AAUxC,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,OAAO,GAAG,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,EAAE,EAAE;IACrF,MAAM,UAAU,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;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