@redneckz/wildless-cms-uni-blocks 0.8.26 → 0.8.28

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 (983) hide show
  1. package/bin/migration-scripts/0.8.17.js +4 -2
  2. package/bin/migration-scripts/0.8.24.js +24 -0
  3. package/bundle/EventBus/defaultEventBus.d.ts +1 -0
  4. package/bundle/blocks.schema.json +1 -1
  5. package/bundle/bundle.umd.js +230 -64
  6. package/bundle/bundle.umd.min.js +1 -1
  7. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  8. package/bundle/components/BaseTile/BaseTileProps.d.ts +2 -2
  9. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  10. package/bundle/components/Bonus/BonusContent.d.ts +0 -1
  11. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  12. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  13. package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  14. package/bundle/components/Calculator/CalculatorContent.d.ts +2 -4
  15. package/bundle/components/Carousel/CarouselContent.d.ts +1 -4
  16. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  17. package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  18. package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  19. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  20. package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  21. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  22. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  23. package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  24. package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +2 -3
  25. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  26. package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
  27. package/bundle/components/Footer/Sitemap.d.ts +2 -2
  28. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  29. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  30. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  31. package/bundle/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  32. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  33. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  34. package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  35. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  36. package/bundle/components/PictureText/PictureTextContent.d.ts +3 -21
  37. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  38. package/bundle/components/ProductTile/ProductTileContent.d.ts +2 -17
  39. package/bundle/components/Recommendation/RecommendationContent.d.ts +2 -28
  40. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  41. package/bundle/components/Tabs/TabsContent.d.ts +1 -4
  42. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +4 -9
  43. package/bundle/components/TextBlock/TextBlockContent.d.ts +3 -3
  44. package/bundle/components/Tile/TileContent.d.ts +3 -22
  45. package/bundle/components/Video/VideoContent.d.ts +2 -15
  46. package/bundle/hooks/useCarouselControls.d.ts +0 -2
  47. package/{dist/services/sitemap → bundle/hooks}/useSWRResource.d.ts +1 -1
  48. package/bundle/model/Bullets.d.ts +4 -0
  49. package/bundle/model/Button.d.ts +15 -0
  50. package/bundle/model/HeadlineType.d.ts +4 -0
  51. package/bundle/model/Picture.d.ts +3 -10
  52. package/{dist/services/sitemap/SitemapProps.d.ts → bundle/services/sitemap/SitemapData.d.ts} +1 -1
  53. package/bundle/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
  54. package/bundle/services/sitemap/search/joinMaps.d.ts +1 -0
  55. package/bundle/services/sitemap/search/search.d.ts +12 -0
  56. package/bundle/services/sitemap/search/textRank.d.ts +1 -0
  57. package/bundle/services/sitemap/search/tokenize.d.ts +1 -0
  58. package/bundle/services/sitemap/useSearch.d.ts +8 -0
  59. package/bundle/ui-kit/BlockWrapper.d.ts +1 -0
  60. package/bundle/ui-kit/Button/ButtonProps.d.ts +4 -4
  61. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  62. package/bundle/ui-kit/List/ListProps.d.ts +3 -4
  63. package/bundle/ui-kit/Location/Location.d.ts +1 -18
  64. package/bundle/ui-kit/Location/LocationProps.d.ts +16 -0
  65. package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
  66. package/bundle/utils/Comparator.d.ts +4 -0
  67. package/bundle/utils/maxBy.d.ts +1 -0
  68. package/bundle/utils/minBy.d.ts +1 -0
  69. package/bundle/utils/sum.d.ts +1 -0
  70. package/bundle/utils/unique.d.ts +1 -0
  71. package/bundle/utils/url.d.ts +1 -1
  72. package/bundle/utils/zip.d.ts +4 -0
  73. package/dist/EventBus/defaultEventBus.d.ts +1 -0
  74. package/dist/EventBus/defaultEventBus.js.map +1 -1
  75. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  76. package/dist/components/BaseTile/BaseTileProps.d.ts +2 -2
  77. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  78. package/dist/components/Bonus/BonusContent.d.ts +0 -1
  79. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  80. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  81. package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  82. package/dist/components/Calculator/CalculatorContent.d.ts +2 -4
  83. package/dist/components/Carousel/CarouselContent.d.ts +1 -4
  84. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  85. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  86. package/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  87. package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  88. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  89. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  90. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
  91. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  92. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  93. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  94. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
  95. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  96. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  97. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  98. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +2 -3
  99. package/dist/components/ContentPage/ContentPage.js +7 -1
  100. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  101. package/dist/components/ErrorBlock/ErrorBlock.js +2 -1
  102. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  103. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  104. package/dist/components/Footer/Footer.js +22 -2
  105. package/dist/components/Footer/Footer.js.map +1 -1
  106. package/dist/components/Footer/Footer.mobile.js +1 -1
  107. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  108. package/dist/components/Footer/FooterDataProps.d.ts +2 -2
  109. package/dist/components/Footer/MediaButton.js +5 -2
  110. package/dist/components/Footer/MediaButton.js.map +1 -1
  111. package/dist/components/Footer/Sitemap.d.ts +2 -2
  112. package/dist/components/Footer/Sitemap.js +2 -4
  113. package/dist/components/Footer/Sitemap.js.map +1 -1
  114. package/dist/components/Footer/SocialMedia.js +1 -1
  115. package/dist/components/Footer/SocialMedia.js.map +1 -1
  116. package/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  117. package/dist/components/Header/Header.js +1 -1
  118. package/dist/components/Header/Header.js.map +1 -1
  119. package/dist/components/Header/Header.mobile.js +1 -1
  120. package/dist/components/Header/Header.mobile.js.map +1 -1
  121. package/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  122. package/dist/components/Header/HeaderSecondaryMenu.js +2 -0
  123. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  124. package/dist/components/Headline/Headline.js +2 -2
  125. package/dist/components/Headline/Headline.js.map +1 -1
  126. package/dist/components/HorizontalLayout/HorizontalLayout.js +2 -2
  127. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  128. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  129. package/dist/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  130. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  131. package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  132. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  133. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  134. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  135. package/dist/components/PictureText/PictureTextContent.d.ts +3 -21
  136. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  137. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  138. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  139. package/dist/components/ProductTile/ProductTileContent.d.ts +2 -17
  140. package/dist/components/Recommendation/RecommendationContent.d.ts +2 -28
  141. package/dist/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  142. package/dist/components/Tabs/TabsContent.d.ts +1 -4
  143. package/dist/components/TariffsTable/TariffsTableContent.d.ts +4 -9
  144. package/dist/components/TextBlock/TextBlockContent.d.ts +3 -3
  145. package/dist/components/Tile/TileContent.d.ts +3 -22
  146. package/dist/components/VerticalLayout/VerticalLayout.js +5 -3
  147. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  148. package/dist/components/Video/VideoContent.d.ts +2 -15
  149. package/dist/hooks/useCarouselControls.d.ts +0 -2
  150. package/dist/hooks/useCarouselControls.js +7 -15
  151. package/dist/hooks/useCarouselControls.js.map +1 -1
  152. package/{lib/services/sitemap → dist/hooks}/useSWRResource.d.ts +1 -1
  153. package/{mobile/dist/services/sitemap → dist/hooks}/useSWRResource.js +1 -1
  154. package/dist/hooks/useSWRResource.js.map +1 -0
  155. package/dist/model/Bullets.d.ts +4 -0
  156. package/dist/{services/sitemap/SitemapProps.js → model/Bullets.js} +1 -1
  157. package/dist/model/Bullets.js.map +1 -0
  158. package/dist/model/Button.d.ts +15 -0
  159. package/{mobile/dist/services/sitemap/SitemapProps.js → dist/model/Button.js} +1 -1
  160. package/dist/model/Button.js.map +1 -0
  161. package/dist/model/HeadlineType.d.ts +4 -0
  162. package/dist/model/Picture.d.ts +3 -10
  163. package/{bundle/services/sitemap/SitemapProps.d.ts → dist/services/sitemap/SitemapData.d.ts} +1 -1
  164. package/dist/services/sitemap/SitemapData.js +2 -0
  165. package/dist/services/sitemap/SitemapData.js.map +1 -0
  166. package/dist/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
  167. package/dist/services/sitemap/search/jaroWinklerDistance.js +67 -0
  168. package/dist/services/sitemap/search/jaroWinklerDistance.js.map +1 -0
  169. package/dist/services/sitemap/search/joinMaps.d.ts +1 -0
  170. package/dist/services/sitemap/search/joinMaps.js +10 -0
  171. package/dist/services/sitemap/search/joinMaps.js.map +1 -0
  172. package/dist/services/sitemap/search/search.d.ts +12 -0
  173. package/dist/services/sitemap/search/search.js +39 -0
  174. package/dist/services/sitemap/search/search.js.map +1 -0
  175. package/dist/services/sitemap/search/textRank.d.ts +1 -0
  176. package/dist/services/sitemap/search/textRank.js +14 -0
  177. package/dist/services/sitemap/search/textRank.js.map +1 -0
  178. package/dist/services/sitemap/search/tokenize.d.ts +1 -0
  179. package/dist/services/sitemap/search/tokenize.js +9 -0
  180. package/dist/services/sitemap/search/tokenize.js.map +1 -0
  181. package/dist/services/sitemap/useSearch.d.ts +8 -0
  182. package/dist/services/sitemap/useSearch.js +33 -0
  183. package/dist/services/sitemap/useSearch.js.map +1 -0
  184. package/dist/ui-kit/BlockWrapper.d.ts +1 -0
  185. package/dist/ui-kit/BlockWrapper.js +3 -2
  186. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  187. package/dist/ui-kit/Button/ButtonProps.d.ts +4 -4
  188. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  189. package/dist/ui-kit/List/ListProps.d.ts +3 -4
  190. package/dist/ui-kit/Location/Location.d.ts +1 -18
  191. package/dist/ui-kit/Location/Location.js +6 -8
  192. package/dist/ui-kit/Location/Location.js.map +1 -1
  193. package/dist/ui-kit/Location/LocationProps.d.ts +16 -0
  194. package/dist/ui-kit/Location/LocationProps.js +2 -0
  195. package/dist/ui-kit/Location/LocationProps.js.map +1 -0
  196. package/dist/ui-kit/Location/SearchBar.js +1 -1
  197. package/dist/ui-kit/Location/SearchBar.js.map +1 -1
  198. package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
  199. package/dist/ui-kit/SearchBar/SearchBarInner.js +4 -6
  200. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  201. package/dist/utils/Comparator.d.ts +4 -0
  202. package/dist/utils/Comparator.js +9 -0
  203. package/dist/utils/Comparator.js.map +1 -0
  204. package/dist/utils/fetchJSON.js +1 -1
  205. package/dist/utils/fetchJSON.js.map +1 -1
  206. package/dist/utils/maxBy.d.ts +1 -0
  207. package/dist/utils/maxBy.js +2 -1
  208. package/dist/utils/maxBy.js.map +1 -1
  209. package/dist/utils/minBy.d.ts +1 -0
  210. package/dist/utils/minBy.js +2 -1
  211. package/dist/utils/minBy.js.map +1 -1
  212. package/dist/utils/sum.d.ts +1 -0
  213. package/dist/utils/sum.js +5 -0
  214. package/dist/utils/sum.js.map +1 -0
  215. package/dist/utils/unique.d.ts +1 -0
  216. package/dist/utils/unique.js +5 -0
  217. package/dist/utils/unique.js.map +1 -0
  218. package/dist/utils/url.d.ts +1 -1
  219. package/dist/utils/url.js.map +1 -1
  220. package/dist/utils/zip.d.ts +4 -0
  221. package/dist/utils/zip.js +7 -0
  222. package/dist/utils/zip.js.map +1 -0
  223. package/lib/EventBus/defaultEventBus.d.ts +1 -0
  224. package/lib/EventBus/defaultEventBus.js.map +1 -1
  225. package/lib/common.css +1 -1
  226. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  227. package/lib/components/BaseTile/BaseTileProps.d.ts +2 -2
  228. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  229. package/lib/components/Bonus/BonusContent.d.ts +0 -1
  230. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  231. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  232. package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  233. package/lib/components/Calculator/CalculatorContent.d.ts +2 -4
  234. package/lib/components/Carousel/CarouselContent.d.ts +1 -4
  235. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  236. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  237. package/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  238. package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  239. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  240. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  241. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
  242. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  243. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  244. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  245. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +4 -0
  246. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
  247. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  248. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  249. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  250. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +2 -3
  251. package/lib/components/ContentPage/ContentPage.js +7 -1
  252. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  253. package/lib/components/ErrorBlock/ErrorBlock.js +2 -1
  254. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  255. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  256. package/lib/components/Footer/Footer.js +22 -2
  257. package/lib/components/Footer/Footer.js.map +1 -1
  258. package/lib/components/Footer/Footer.mobile.js +1 -1
  259. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  260. package/lib/components/Footer/FooterDataProps.d.ts +2 -2
  261. package/lib/components/Footer/MediaButton.js +5 -2
  262. package/lib/components/Footer/MediaButton.js.map +1 -1
  263. package/lib/components/Footer/Sitemap.d.ts +2 -2
  264. package/lib/components/Footer/Sitemap.js +2 -4
  265. package/lib/components/Footer/Sitemap.js.map +1 -1
  266. package/lib/components/Footer/SocialMedia.js +1 -1
  267. package/lib/components/Footer/SocialMedia.js.map +1 -1
  268. package/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  269. package/lib/components/Header/Header.js +1 -1
  270. package/lib/components/Header/Header.js.map +1 -1
  271. package/lib/components/Header/Header.mobile.js +1 -1
  272. package/lib/components/Header/Header.mobile.js.map +1 -1
  273. package/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  274. package/lib/components/Header/HeaderSecondaryMenu.js +2 -0
  275. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  276. package/lib/components/Headline/Headline.js +2 -2
  277. package/lib/components/Headline/Headline.js.map +1 -1
  278. package/lib/components/HorizontalLayout/HorizontalLayout.js +2 -2
  279. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  280. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  281. package/lib/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  282. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  283. package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  284. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  285. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  286. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  287. package/lib/components/PictureText/PictureTextContent.d.ts +3 -21
  288. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  289. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  290. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  291. package/lib/components/ProductTile/ProductTileContent.d.ts +2 -17
  292. package/lib/components/Recommendation/RecommendationContent.d.ts +2 -28
  293. package/lib/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  294. package/lib/components/Tabs/TabsContent.d.ts +1 -4
  295. package/lib/components/TariffsTable/TariffsTableContent.d.ts +4 -9
  296. package/lib/components/TextBlock/TextBlockContent.d.ts +3 -3
  297. package/lib/components/Tile/TileContent.d.ts +3 -22
  298. package/lib/components/VerticalLayout/VerticalLayout.js +5 -3
  299. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  300. package/lib/components/Video/VideoContent.d.ts +2 -15
  301. package/lib/hooks/useCarouselControls.d.ts +0 -2
  302. package/lib/hooks/useCarouselControls.js +7 -15
  303. package/lib/hooks/useCarouselControls.js.map +1 -1
  304. package/{bundle/services/sitemap → lib/hooks}/useSWRResource.d.ts +1 -1
  305. package/lib/{services/sitemap → hooks}/useSWRResource.js +1 -1
  306. package/lib/hooks/useSWRResource.js.map +1 -0
  307. package/lib/model/Bullets.d.ts +4 -0
  308. package/lib/model/Bullets.js +2 -0
  309. package/lib/model/Bullets.js.map +1 -0
  310. package/lib/model/Button.d.ts +15 -0
  311. package/lib/model/Button.js +2 -0
  312. package/lib/model/Button.js.map +1 -0
  313. package/lib/model/HeadlineType.d.ts +4 -0
  314. package/lib/model/Picture.d.ts +3 -10
  315. package/{mobile/bundle/services/sitemap/SitemapProps.d.ts → lib/services/sitemap/SitemapData.d.ts} +1 -1
  316. package/lib/services/sitemap/SitemapData.js +2 -0
  317. package/lib/services/sitemap/SitemapData.js.map +1 -0
  318. package/lib/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
  319. package/lib/services/sitemap/search/jaroWinklerDistance.js +64 -0
  320. package/lib/services/sitemap/search/jaroWinklerDistance.js.map +1 -0
  321. package/lib/services/sitemap/search/joinMaps.d.ts +1 -0
  322. package/lib/services/sitemap/search/joinMaps.js +7 -0
  323. package/lib/services/sitemap/search/joinMaps.js.map +1 -0
  324. package/lib/services/sitemap/search/search.d.ts +12 -0
  325. package/lib/services/sitemap/search/search.js +36 -0
  326. package/lib/services/sitemap/search/search.js.map +1 -0
  327. package/lib/services/sitemap/search/textRank.d.ts +1 -0
  328. package/lib/services/sitemap/search/textRank.js +11 -0
  329. package/lib/services/sitemap/search/textRank.js.map +1 -0
  330. package/lib/services/sitemap/search/tokenize.d.ts +1 -0
  331. package/lib/services/sitemap/search/tokenize.js +6 -0
  332. package/lib/services/sitemap/search/tokenize.js.map +1 -0
  333. package/lib/services/sitemap/useSearch.d.ts +8 -0
  334. package/lib/services/sitemap/useSearch.js +30 -0
  335. package/lib/services/sitemap/useSearch.js.map +1 -0
  336. package/lib/ui-kit/BlockWrapper.d.ts +1 -0
  337. package/lib/ui-kit/BlockWrapper.js +3 -2
  338. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  339. package/lib/ui-kit/Button/ButtonProps.d.ts +4 -4
  340. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  341. package/lib/ui-kit/List/ListProps.d.ts +3 -4
  342. package/lib/ui-kit/Location/Location.d.ts +1 -18
  343. package/lib/ui-kit/Location/Location.js +7 -9
  344. package/lib/ui-kit/Location/Location.js.map +1 -1
  345. package/lib/ui-kit/Location/LocationProps.d.ts +16 -0
  346. package/lib/ui-kit/Location/LocationProps.js +2 -0
  347. package/lib/ui-kit/Location/LocationProps.js.map +1 -0
  348. package/lib/ui-kit/Location/SearchBar.js +1 -1
  349. package/lib/ui-kit/Location/SearchBar.js.map +1 -1
  350. package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
  351. package/lib/ui-kit/SearchBar/SearchBarInner.js +4 -6
  352. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  353. package/lib/utils/Comparator.d.ts +4 -0
  354. package/lib/utils/Comparator.js +4 -0
  355. package/lib/utils/Comparator.js.map +1 -0
  356. package/lib/utils/fetchJSON.js +1 -1
  357. package/lib/utils/fetchJSON.js.map +1 -1
  358. package/lib/utils/maxBy.d.ts +1 -0
  359. package/lib/utils/maxBy.js +1 -0
  360. package/lib/utils/maxBy.js.map +1 -1
  361. package/lib/utils/minBy.d.ts +1 -0
  362. package/lib/utils/minBy.js +1 -0
  363. package/lib/utils/minBy.js.map +1 -1
  364. package/lib/utils/sum.d.ts +1 -0
  365. package/lib/utils/sum.js +2 -0
  366. package/lib/utils/sum.js.map +1 -0
  367. package/lib/utils/unique.d.ts +1 -0
  368. package/lib/utils/unique.js +2 -0
  369. package/lib/utils/unique.js.map +1 -0
  370. package/lib/utils/url.d.ts +1 -1
  371. package/lib/utils/url.js.map +1 -1
  372. package/lib/utils/zip.d.ts +4 -0
  373. package/lib/utils/zip.js +4 -0
  374. package/lib/utils/zip.js.map +1 -0
  375. package/mobile/bundle/EventBus/defaultEventBus.d.ts +1 -0
  376. package/mobile/bundle/bundle.umd.js +25 -24
  377. package/mobile/bundle/bundle.umd.min.js +1 -1
  378. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  379. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +2 -2
  380. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  381. package/mobile/bundle/components/Bonus/BonusContent.d.ts +0 -1
  382. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  383. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  384. package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  385. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +2 -4
  386. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +1 -4
  387. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  388. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  389. package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  390. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  391. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  392. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  393. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  394. package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  395. package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +2 -3
  396. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  397. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
  398. package/mobile/bundle/components/Footer/Sitemap.d.ts +2 -2
  399. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  400. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  401. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  402. package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  403. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  404. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  405. package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  406. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  407. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +3 -21
  408. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  409. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +2 -17
  410. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +2 -28
  411. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  412. package/mobile/bundle/components/Tabs/TabsContent.d.ts +1 -4
  413. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +4 -9
  414. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +3 -3
  415. package/mobile/bundle/components/Tile/TileContent.d.ts +3 -22
  416. package/mobile/bundle/components/Video/VideoContent.d.ts +2 -15
  417. package/mobile/bundle/hooks/useCarouselControls.d.ts +0 -2
  418. package/mobile/bundle/{services/sitemap → hooks}/useSWRResource.d.ts +1 -1
  419. package/mobile/bundle/model/Bullets.d.ts +4 -0
  420. package/mobile/bundle/model/Button.d.ts +15 -0
  421. package/mobile/bundle/model/HeadlineType.d.ts +4 -0
  422. package/mobile/bundle/model/Picture.d.ts +3 -10
  423. package/{lib/services/sitemap/SitemapProps.d.ts → mobile/bundle/services/sitemap/SitemapData.d.ts} +1 -1
  424. package/mobile/bundle/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
  425. package/mobile/bundle/services/sitemap/search/joinMaps.d.ts +1 -0
  426. package/mobile/bundle/services/sitemap/search/search.d.ts +12 -0
  427. package/mobile/bundle/services/sitemap/search/textRank.d.ts +1 -0
  428. package/mobile/bundle/services/sitemap/search/tokenize.d.ts +1 -0
  429. package/mobile/bundle/services/sitemap/useSearch.d.ts +8 -0
  430. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +1 -0
  431. package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +4 -4
  432. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  433. package/mobile/bundle/ui-kit/List/ListProps.d.ts +3 -4
  434. package/mobile/bundle/ui-kit/Location/Location.d.ts +1 -18
  435. package/mobile/bundle/ui-kit/Location/LocationProps.d.ts +16 -0
  436. package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
  437. package/mobile/bundle/utils/Comparator.d.ts +4 -0
  438. package/mobile/bundle/utils/maxBy.d.ts +1 -0
  439. package/mobile/bundle/utils/minBy.d.ts +1 -0
  440. package/mobile/bundle/utils/sum.d.ts +1 -0
  441. package/mobile/bundle/utils/unique.d.ts +1 -0
  442. package/mobile/bundle/utils/url.d.ts +1 -1
  443. package/mobile/bundle/utils/zip.d.ts +4 -0
  444. package/mobile/dist/EventBus/defaultEventBus.d.ts +1 -0
  445. package/mobile/dist/EventBus/defaultEventBus.js.map +1 -1
  446. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  447. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +2 -2
  448. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  449. package/mobile/dist/components/Bonus/BonusContent.d.ts +0 -1
  450. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  451. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  452. package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  453. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +2 -4
  454. package/mobile/dist/components/Carousel/CarouselContent.d.ts +1 -4
  455. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  456. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  457. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  458. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  459. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  460. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  461. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
  462. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  463. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  464. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  465. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
  466. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  467. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  468. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  469. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +2 -3
  470. package/mobile/dist/components/ContentPage/ContentPage.js +7 -1
  471. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  472. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -1
  473. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  474. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  475. package/mobile/dist/components/Footer/Footer.js +1 -1
  476. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  477. package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
  478. package/mobile/dist/components/Footer/MediaButton.js +5 -2
  479. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  480. package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
  481. package/mobile/dist/components/Footer/Sitemap.js +2 -4
  482. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  483. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  484. package/mobile/dist/components/Header/Header.js +1 -1
  485. package/mobile/dist/components/Header/Header.js.map +1 -1
  486. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  487. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +2 -0
  488. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  489. package/mobile/dist/components/Headline/Headline.js +2 -2
  490. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  491. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +2 -2
  492. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  493. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  494. package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  495. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  496. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  497. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  498. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  499. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  500. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +3 -21
  501. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  502. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +2 -17
  503. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +2 -28
  504. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  505. package/mobile/dist/components/Tabs/TabsContent.d.ts +1 -4
  506. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +4 -9
  507. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +3 -3
  508. package/mobile/dist/components/Tile/TileContent.d.ts +3 -22
  509. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +5 -3
  510. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  511. package/mobile/dist/components/Video/VideoContent.d.ts +2 -15
  512. package/mobile/dist/hooks/useCarouselControls.d.ts +0 -2
  513. package/mobile/dist/hooks/useCarouselControls.js +7 -15
  514. package/mobile/dist/hooks/useCarouselControls.js.map +1 -1
  515. package/mobile/dist/hooks/useSWRResource.d.ts +2 -0
  516. package/{dist/services/sitemap → mobile/dist/hooks}/useSWRResource.js +1 -1
  517. package/mobile/dist/hooks/useSWRResource.js.map +1 -0
  518. package/mobile/dist/model/Bullets.d.ts +4 -0
  519. package/mobile/dist/model/Bullets.js +2 -0
  520. package/mobile/dist/model/Bullets.js.map +1 -0
  521. package/mobile/dist/model/Button.d.ts +15 -0
  522. package/mobile/dist/model/Button.js +2 -0
  523. package/mobile/dist/model/Button.js.map +1 -0
  524. package/mobile/dist/model/HeadlineType.d.ts +4 -0
  525. package/mobile/dist/model/Picture.d.ts +3 -10
  526. package/mobile/dist/services/sitemap/SitemapData.d.ts +32 -0
  527. package/mobile/dist/services/sitemap/SitemapData.js +2 -0
  528. package/mobile/dist/services/sitemap/SitemapData.js.map +1 -0
  529. package/mobile/dist/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
  530. package/mobile/dist/services/sitemap/search/jaroWinklerDistance.js +67 -0
  531. package/mobile/dist/services/sitemap/search/jaroWinklerDistance.js.map +1 -0
  532. package/mobile/dist/services/sitemap/search/joinMaps.d.ts +1 -0
  533. package/mobile/dist/services/sitemap/search/joinMaps.js +10 -0
  534. package/mobile/dist/services/sitemap/search/joinMaps.js.map +1 -0
  535. package/mobile/dist/services/sitemap/search/search.d.ts +12 -0
  536. package/mobile/dist/services/sitemap/search/search.js +39 -0
  537. package/mobile/dist/services/sitemap/search/search.js.map +1 -0
  538. package/mobile/dist/services/sitemap/search/textRank.d.ts +1 -0
  539. package/mobile/dist/services/sitemap/search/textRank.js +14 -0
  540. package/mobile/dist/services/sitemap/search/textRank.js.map +1 -0
  541. package/mobile/dist/services/sitemap/search/tokenize.d.ts +1 -0
  542. package/mobile/dist/services/sitemap/search/tokenize.js +9 -0
  543. package/mobile/dist/services/sitemap/search/tokenize.js.map +1 -0
  544. package/mobile/dist/services/sitemap/useSearch.d.ts +8 -0
  545. package/mobile/dist/services/sitemap/useSearch.js +33 -0
  546. package/mobile/dist/services/sitemap/useSearch.js.map +1 -0
  547. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -0
  548. package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
  549. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  550. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +4 -4
  551. package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  552. package/mobile/dist/ui-kit/List/ListProps.d.ts +3 -4
  553. package/mobile/dist/ui-kit/Location/Location.d.ts +1 -18
  554. package/mobile/dist/ui-kit/Location/Location.js +6 -8
  555. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  556. package/mobile/dist/ui-kit/Location/LocationProps.d.ts +16 -0
  557. package/mobile/dist/ui-kit/Location/LocationProps.js +2 -0
  558. package/mobile/dist/ui-kit/Location/LocationProps.js.map +1 -0
  559. package/mobile/dist/ui-kit/Location/SearchBar.js +1 -1
  560. package/mobile/dist/ui-kit/Location/SearchBar.js.map +1 -1
  561. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
  562. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +4 -6
  563. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  564. package/mobile/dist/utils/Comparator.d.ts +4 -0
  565. package/mobile/dist/utils/Comparator.js +9 -0
  566. package/mobile/dist/utils/Comparator.js.map +1 -0
  567. package/mobile/dist/utils/fetchJSON.js +1 -1
  568. package/mobile/dist/utils/fetchJSON.js.map +1 -1
  569. package/mobile/dist/utils/maxBy.d.ts +1 -0
  570. package/mobile/dist/utils/maxBy.js +2 -1
  571. package/mobile/dist/utils/maxBy.js.map +1 -1
  572. package/mobile/dist/utils/minBy.d.ts +1 -0
  573. package/mobile/dist/utils/minBy.js +2 -1
  574. package/mobile/dist/utils/minBy.js.map +1 -1
  575. package/mobile/dist/utils/sum.d.ts +1 -0
  576. package/mobile/dist/utils/sum.js +5 -0
  577. package/mobile/dist/utils/sum.js.map +1 -0
  578. package/mobile/dist/utils/unique.d.ts +1 -0
  579. package/mobile/dist/utils/unique.js +5 -0
  580. package/mobile/dist/utils/unique.js.map +1 -0
  581. package/mobile/dist/utils/url.d.ts +1 -1
  582. package/mobile/dist/utils/url.js.map +1 -1
  583. package/mobile/dist/utils/zip.d.ts +4 -0
  584. package/mobile/dist/utils/zip.js +7 -0
  585. package/mobile/dist/utils/zip.js.map +1 -0
  586. package/mobile/lib/EventBus/defaultEventBus.d.ts +1 -0
  587. package/mobile/lib/EventBus/defaultEventBus.js.map +1 -1
  588. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  589. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +2 -2
  590. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  591. package/mobile/lib/components/Bonus/BonusContent.d.ts +0 -1
  592. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  593. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  594. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  595. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +2 -4
  596. package/mobile/lib/components/Carousel/CarouselContent.d.ts +1 -4
  597. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  598. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  599. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  600. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  601. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  602. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  603. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
  604. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  605. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  606. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  607. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
  608. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  609. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  610. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  611. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +2 -3
  612. package/mobile/lib/components/ContentPage/ContentPage.js +7 -1
  613. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  614. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -1
  615. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  616. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  617. package/mobile/lib/components/Footer/Footer.js +1 -1
  618. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  619. package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
  620. package/mobile/lib/components/Footer/MediaButton.js +5 -2
  621. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  622. package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
  623. package/mobile/lib/components/Footer/Sitemap.js +2 -4
  624. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  625. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  626. package/mobile/lib/components/Header/Header.js +1 -1
  627. package/mobile/lib/components/Header/Header.js.map +1 -1
  628. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  629. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +2 -0
  630. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  631. package/mobile/lib/components/Headline/Headline.js +2 -2
  632. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  633. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +2 -2
  634. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  635. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  636. package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  637. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  638. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  639. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  640. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  641. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  642. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +3 -21
  643. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  644. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +2 -17
  645. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +2 -28
  646. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  647. package/mobile/lib/components/Tabs/TabsContent.d.ts +1 -4
  648. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +4 -9
  649. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +3 -3
  650. package/mobile/lib/components/Tile/TileContent.d.ts +3 -22
  651. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +5 -3
  652. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  653. package/mobile/lib/components/Video/VideoContent.d.ts +2 -15
  654. package/mobile/lib/hooks/useCarouselControls.d.ts +0 -2
  655. package/mobile/lib/hooks/useCarouselControls.js +7 -15
  656. package/mobile/lib/hooks/useCarouselControls.js.map +1 -1
  657. package/mobile/lib/hooks/useSWRResource.d.ts +2 -0
  658. package/mobile/lib/{services/sitemap → hooks}/useSWRResource.js +1 -1
  659. package/mobile/lib/hooks/useSWRResource.js.map +1 -0
  660. package/mobile/lib/model/Bullets.d.ts +4 -0
  661. package/mobile/lib/model/Bullets.js +2 -0
  662. package/mobile/lib/model/Bullets.js.map +1 -0
  663. package/mobile/lib/model/Button.d.ts +15 -0
  664. package/mobile/lib/model/Button.js +2 -0
  665. package/mobile/lib/model/Button.js.map +1 -0
  666. package/mobile/lib/model/HeadlineType.d.ts +4 -0
  667. package/mobile/lib/model/Picture.d.ts +3 -10
  668. package/mobile/lib/services/sitemap/SitemapData.d.ts +32 -0
  669. package/mobile/lib/services/sitemap/SitemapData.js +2 -0
  670. package/mobile/lib/services/sitemap/SitemapData.js.map +1 -0
  671. package/mobile/lib/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
  672. package/mobile/lib/services/sitemap/search/jaroWinklerDistance.js +64 -0
  673. package/mobile/lib/services/sitemap/search/jaroWinklerDistance.js.map +1 -0
  674. package/mobile/lib/services/sitemap/search/joinMaps.d.ts +1 -0
  675. package/mobile/lib/services/sitemap/search/joinMaps.js +7 -0
  676. package/mobile/lib/services/sitemap/search/joinMaps.js.map +1 -0
  677. package/mobile/lib/services/sitemap/search/search.d.ts +12 -0
  678. package/mobile/lib/services/sitemap/search/search.js +36 -0
  679. package/mobile/lib/services/sitemap/search/search.js.map +1 -0
  680. package/mobile/lib/services/sitemap/search/textRank.d.ts +1 -0
  681. package/mobile/lib/services/sitemap/search/textRank.js +11 -0
  682. package/mobile/lib/services/sitemap/search/textRank.js.map +1 -0
  683. package/mobile/lib/services/sitemap/search/tokenize.d.ts +1 -0
  684. package/mobile/lib/services/sitemap/search/tokenize.js +6 -0
  685. package/mobile/lib/services/sitemap/search/tokenize.js.map +1 -0
  686. package/mobile/lib/services/sitemap/useSearch.d.ts +8 -0
  687. package/mobile/lib/services/sitemap/useSearch.js +30 -0
  688. package/mobile/lib/services/sitemap/useSearch.js.map +1 -0
  689. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -0
  690. package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
  691. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  692. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +4 -4
  693. package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  694. package/mobile/lib/ui-kit/List/ListProps.d.ts +3 -4
  695. package/mobile/lib/ui-kit/Location/Location.d.ts +1 -18
  696. package/mobile/lib/ui-kit/Location/Location.js +7 -9
  697. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  698. package/mobile/lib/ui-kit/Location/LocationProps.d.ts +16 -0
  699. package/mobile/lib/ui-kit/Location/LocationProps.js +2 -0
  700. package/mobile/lib/ui-kit/Location/LocationProps.js.map +1 -0
  701. package/mobile/lib/ui-kit/Location/SearchBar.js +1 -1
  702. package/mobile/lib/ui-kit/Location/SearchBar.js.map +1 -1
  703. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
  704. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +4 -6
  705. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  706. package/mobile/lib/utils/Comparator.d.ts +4 -0
  707. package/mobile/lib/utils/Comparator.js +4 -0
  708. package/mobile/lib/utils/Comparator.js.map +1 -0
  709. package/mobile/lib/utils/fetchJSON.js +1 -1
  710. package/mobile/lib/utils/fetchJSON.js.map +1 -1
  711. package/mobile/lib/utils/maxBy.d.ts +1 -0
  712. package/mobile/lib/utils/maxBy.js +1 -0
  713. package/mobile/lib/utils/maxBy.js.map +1 -1
  714. package/mobile/lib/utils/minBy.d.ts +1 -0
  715. package/mobile/lib/utils/minBy.js +1 -0
  716. package/mobile/lib/utils/minBy.js.map +1 -1
  717. package/mobile/lib/utils/sum.d.ts +1 -0
  718. package/mobile/lib/utils/sum.js +2 -0
  719. package/mobile/lib/utils/sum.js.map +1 -0
  720. package/mobile/lib/utils/unique.d.ts +1 -0
  721. package/mobile/lib/utils/unique.js +2 -0
  722. package/mobile/lib/utils/unique.js.map +1 -0
  723. package/mobile/lib/utils/url.d.ts +1 -1
  724. package/mobile/lib/utils/url.js.map +1 -1
  725. package/mobile/lib/utils/zip.d.ts +4 -0
  726. package/mobile/lib/utils/zip.js +4 -0
  727. package/mobile/lib/utils/zip.js.map +1 -0
  728. package/mobile/src/EventBus/defaultEventBus.ts +1 -0
  729. package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +8 -0
  730. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +1 -5
  731. package/mobile/src/components/BaseTile/BaseTileProps.ts +2 -2
  732. package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +3 -3
  733. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -8
  734. package/mobile/src/components/Bonus/Bonus.example.json +2 -1
  735. package/mobile/src/components/Bonus/Bonus.ui.json +1 -1
  736. package/mobile/src/components/Bonus/BonusContent.ts +0 -1
  737. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +3 -8
  738. package/mobile/src/components/BusinessBlock/BusinessBlock.example.json +42 -8
  739. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +3 -9
  740. package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +3 -1
  741. package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +1 -5
  742. package/mobile/src/components/Calculator/CalculatorContent.ts +6 -7
  743. package/mobile/src/components/Carousel/Carousel.example.json +2 -1
  744. package/mobile/src/components/Carousel/CarouselContent.ts +1 -4
  745. package/mobile/src/components/CarouselCard/CarouselCard.example.json +4 -2
  746. package/mobile/src/components/CarouselCard/CarouselCard.tsx +4 -3
  747. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +3 -10
  748. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +3 -1
  749. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -10
  750. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +13 -6
  751. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +4 -21
  752. package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +11 -2
  753. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +7 -29
  754. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +25 -12
  755. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +2 -0
  756. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -5
  757. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +44 -26
  758. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -21
  759. package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +8 -0
  760. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +15 -11
  761. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +3 -3
  762. package/mobile/src/components/ContentPage/ContentPage.tsx +16 -1
  763. package/mobile/src/components/ErrorBlock/ErrorBlock.example.json +15 -1
  764. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +7 -4
  765. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +5 -23
  766. package/mobile/src/components/Footer/Footer.tsx +3 -3
  767. package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
  768. package/mobile/src/components/Footer/MediaButton.tsx +13 -7
  769. package/mobile/src/components/Footer/Sitemap.tsx +4 -7
  770. package/mobile/src/components/GracePeriod/GracePeriod.example.json +15 -0
  771. package/mobile/src/components/GracePeriod/GracePeriod.ui.json +1 -1
  772. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +3 -14
  773. package/mobile/src/components/Header/Header.tsx +3 -3
  774. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -1
  775. package/mobile/src/components/Headline/Headline.tsx +5 -6
  776. package/mobile/src/components/HorizontalLayout/HorizontalLayout.example.json +3 -1
  777. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +10 -2
  778. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +3 -1
  779. package/mobile/src/components/ImgBlock/ImgBlockContent.ts +2 -4
  780. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +3 -3
  781. package/mobile/src/components/LinkDocs/LinkDocs.example.json +9 -2
  782. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +4 -17
  783. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +2 -2
  784. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +10 -1
  785. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +4 -20
  786. package/mobile/src/components/PictureText/PictureText.example.json +9 -1
  787. package/mobile/src/components/PictureText/PictureTextContent.ts +4 -21
  788. package/mobile/src/components/ProductBlock/ProductBlock.example.json +10 -1
  789. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +5 -23
  790. package/mobile/src/components/ProductTile/ProductTile.example.json +10 -2
  791. package/mobile/src/components/ProductTile/ProductTileContent.ts +3 -17
  792. package/mobile/src/components/Recommendation/Recommendation.example.json +5 -1
  793. package/mobile/src/components/Recommendation/RecommendationContent.ts +2 -28
  794. package/mobile/src/components/StepsBlock/StepsBlock.example.json +8 -4
  795. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +19 -33
  796. package/mobile/src/components/Tabs/Tabs.example.json +2 -1
  797. package/mobile/src/components/Tabs/TabsContent.ts +1 -4
  798. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +4 -9
  799. package/mobile/src/components/TextBlock/TextBlockContent.ts +5 -5
  800. package/mobile/src/components/Tile/Tile.example.json +9 -1
  801. package/mobile/src/components/Tile/TileContent.ts +5 -22
  802. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +1 -0
  803. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +5 -1
  804. package/mobile/src/components/Video/Video.example.json +7 -1
  805. package/mobile/src/components/Video/VideoContent.ts +2 -15
  806. package/mobile/src/hooks/useCarouselControls.ts +7 -30
  807. package/mobile/src/{services/sitemap → hooks}/useSWRResource.ts +2 -2
  808. package/mobile/src/model/Bullets.ts +4 -0
  809. package/mobile/src/model/Button.ts +16 -0
  810. package/mobile/src/model/HeadlineType.ts +5 -0
  811. package/mobile/src/model/Picture.ts +3 -10
  812. package/mobile/src/services/sitemap/{SitemapProps.ts → SitemapData.ts} +1 -1
  813. package/mobile/src/services/sitemap/search/jaroWinklerDistance.ts +98 -0
  814. package/mobile/src/services/sitemap/search/joinMaps.ts +9 -0
  815. package/mobile/src/services/sitemap/search/search.ts +73 -0
  816. package/mobile/src/services/sitemap/search/textRank.ts +14 -0
  817. package/mobile/src/services/sitemap/search/tokenize.ts +7 -0
  818. package/mobile/src/services/sitemap/useSearch.ts +56 -0
  819. package/mobile/src/ui-kit/BlockWrapper.tsx +8 -3
  820. package/mobile/src/ui-kit/Button/ButtonProps.ts +4 -4
  821. package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +3 -1
  822. package/mobile/src/ui-kit/List/ListProps.ts +11 -11
  823. package/mobile/src/ui-kit/Location/Location.tsx +23 -40
  824. package/mobile/src/ui-kit/Location/LocationProps.ts +25 -0
  825. package/mobile/src/ui-kit/Location/SearchBar.tsx +1 -1
  826. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +59 -56
  827. package/mobile/src/utils/Comparator.ts +14 -0
  828. package/mobile/src/utils/fetchJSON.ts +1 -1
  829. package/mobile/src/utils/maxBy.ts +2 -0
  830. package/mobile/src/utils/minBy.ts +2 -0
  831. package/mobile/src/utils/sum.ts +1 -0
  832. package/mobile/src/utils/unique.ts +1 -0
  833. package/mobile/src/utils/url.ts +1 -1
  834. package/mobile/src/utils/zip.ts +8 -0
  835. package/package.json +1 -1
  836. package/src/EventBus/defaultEventBus.ts +1 -0
  837. package/src/components/ApplicationForm/ApplicationForm.example.json +8 -0
  838. package/src/components/ApplicationForm/ApplicationFormContent.ts +1 -5
  839. package/src/components/BaseTile/BaseTileProps.ts +2 -2
  840. package/src/components/BenefitsBlock/BenefitsBlock.example.json +3 -3
  841. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -8
  842. package/src/components/Bonus/Bonus.example.json +2 -1
  843. package/src/components/Bonus/Bonus.ui.json +1 -1
  844. package/src/components/Bonus/BonusContent.ts +0 -1
  845. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +3 -8
  846. package/src/components/BusinessBlock/BusinessBlock.example.json +42 -8
  847. package/src/components/BusinessBlock/BusinessBlockContent.ts +3 -9
  848. package/src/components/ButtonBlock/ButtonBlock.example.json +3 -1
  849. package/src/components/ButtonBlock/ButtonBlockContent.ts +1 -5
  850. package/src/components/Calculator/CalculatorContent.ts +6 -7
  851. package/src/components/Carousel/Carousel.example.json +2 -1
  852. package/src/components/Carousel/Carousel.fixture.tsx +5 -4
  853. package/src/components/Carousel/CarouselContent.ts +1 -4
  854. package/src/components/CarouselCard/CarouselCard.example.json +4 -2
  855. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -0
  856. package/src/components/CarouselCard/CarouselCard.tsx +4 -3
  857. package/src/components/CarouselCard/CarouselCardContent.ts +3 -10
  858. package/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +3 -1
  859. package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -10
  860. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +13 -6
  861. package/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +4 -21
  862. package/src/components/CarouselProductCard/CarouselProductCard.example.json +11 -2
  863. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +7 -29
  864. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +2 -0
  865. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +25 -12
  866. package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +2 -0
  867. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -5
  868. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +82 -22
  869. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +44 -26
  870. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -21
  871. package/src/components/ComparisonTable/ComparisonTable.example.json +8 -0
  872. package/src/components/ComparisonTable/ComparisonTableContent.ts +15 -11
  873. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +3 -3
  874. package/src/components/ContentPage/ContentPage.tsx +16 -1
  875. package/src/components/ErrorBlock/ErrorBlock.example.json +15 -1
  876. package/src/components/ErrorBlock/ErrorBlock.tsx +7 -4
  877. package/src/components/ErrorBlock/ErrorBlockContent.ts +5 -23
  878. package/src/components/Footer/Footer.mobile.tsx +3 -3
  879. package/src/components/Footer/Footer.tsx +33 -3
  880. package/src/components/Footer/FooterDataProps.ts +2 -2
  881. package/src/components/Footer/MediaButton.tsx +13 -7
  882. package/src/components/Footer/Sitemap.tsx +4 -7
  883. package/src/components/Footer/SocialMedia.tsx +11 -2
  884. package/src/components/GracePeriod/GracePeriod.example.json +15 -0
  885. package/src/components/GracePeriod/GracePeriod.ui.json +1 -1
  886. package/src/components/GracePeriod/GracePeriodContent.ts +3 -14
  887. package/src/components/Header/Header.mobile.tsx +3 -3
  888. package/src/components/Header/Header.tsx +3 -3
  889. package/src/components/Header/HeaderSecondaryMenu.tsx +4 -1
  890. package/src/components/Headline/Headline.fixture.tsx +11 -11
  891. package/src/components/Headline/Headline.tsx +5 -6
  892. package/src/components/HorizontalLayout/HorizontalLayout.example.json +3 -1
  893. package/src/components/HorizontalLayout/HorizontalLayout.tsx +10 -2
  894. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +3 -1
  895. package/src/components/ImgBlock/ImgBlockContent.ts +2 -4
  896. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +3 -3
  897. package/src/components/LinkDocs/LinkDocs.example.json +9 -2
  898. package/src/components/LinkDocs/LinkDocsContent.ts +4 -17
  899. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +2 -2
  900. package/src/components/MobileAppTile/MobileAppTile.example.json +10 -1
  901. package/src/components/MobileAppTile/MobileAppTileContent.ts +4 -20
  902. package/src/components/PictureText/PictureText.example.json +9 -1
  903. package/src/components/PictureText/PictureTextContent.ts +4 -21
  904. package/src/components/ProductBlock/ProductBlock.example.json +10 -1
  905. package/src/components/ProductBlock/ProductBlockContent.ts +5 -23
  906. package/src/components/ProductBlock/ProductBlockInner.tsx +0 -1
  907. package/src/components/ProductTile/ProductTile.example.json +10 -2
  908. package/src/components/ProductTile/ProductTileContent.ts +3 -17
  909. package/src/components/Recommendation/Recommendation.example.json +5 -1
  910. package/src/components/Recommendation/RecommendationContent.ts +2 -28
  911. package/src/components/StepsBlock/StepsBlock.example.json +8 -4
  912. package/src/components/StepsBlock/StepsBlockContent.ts +19 -33
  913. package/src/components/Tabs/Tabs.example.json +2 -1
  914. package/src/components/Tabs/TabsContent.ts +1 -4
  915. package/src/components/TariffsTable/TariffsTableContent.ts +4 -9
  916. package/src/components/TextBlock/TextBlockContent.ts +5 -5
  917. package/src/components/Tile/Tile.example.json +9 -1
  918. package/src/components/Tile/TileContent.ts +5 -22
  919. package/src/components/VerticalLayout/VerticalLayout.example.json +1 -0
  920. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -0
  921. package/src/components/VerticalLayout/VerticalLayout.tsx +5 -1
  922. package/src/components/Video/Video.example.json +7 -1
  923. package/src/components/Video/VideoContent.ts +2 -15
  924. package/src/hooks/useCarouselControls.ts +7 -30
  925. package/src/{services/sitemap → hooks}/useSWRResource.ts +2 -2
  926. package/src/model/Bullets.ts +4 -0
  927. package/src/model/Button.ts +16 -0
  928. package/src/model/HeadlineType.ts +5 -0
  929. package/src/model/Picture.ts +3 -10
  930. package/src/services/sitemap/{SitemapProps.ts → SitemapData.ts} +1 -1
  931. package/src/services/sitemap/search/jaroWinklerDistance.ts +98 -0
  932. package/src/services/sitemap/search/joinMaps.ts +9 -0
  933. package/src/services/sitemap/search/search.ts +73 -0
  934. package/src/services/sitemap/search/textRank.ts +14 -0
  935. package/src/services/sitemap/search/tokenize.ts +7 -0
  936. package/src/services/sitemap/useSearch.ts +56 -0
  937. package/src/ui-kit/BlockWrapper.tsx +8 -3
  938. package/src/ui-kit/Button/ButtonProps.ts +4 -4
  939. package/src/ui-kit/InputRange/InputRangeProps.ts +3 -1
  940. package/src/ui-kit/List/ListProps.ts +11 -11
  941. package/src/ui-kit/Location/Location.fixture.tsx +1 -1
  942. package/src/ui-kit/Location/Location.tsx +23 -40
  943. package/src/ui-kit/Location/LocationProps.ts +25 -0
  944. package/src/ui-kit/Location/SearchBar.tsx +1 -1
  945. package/src/ui-kit/SearchBar/SearchBarInner.tsx +59 -56
  946. package/src/utils/Comparator.ts +14 -0
  947. package/src/utils/fetchJSON.ts +1 -1
  948. package/src/utils/maxBy.ts +2 -0
  949. package/src/utils/minBy.ts +2 -0
  950. package/src/utils/sum.ts +1 -0
  951. package/src/utils/unique.ts +1 -0
  952. package/src/utils/url.ts +1 -1
  953. package/src/utils/zip.ts +8 -0
  954. package/bundle/hooks/useSearch.d.ts +0 -4
  955. package/dist/hooks/useSearch.d.ts +0 -4
  956. package/dist/hooks/useSearch.js +0 -12
  957. package/dist/hooks/useSearch.js.map +0 -1
  958. package/dist/services/sitemap/SitemapProps.js.map +0 -1
  959. package/dist/services/sitemap/useSWRResource.js.map +0 -1
  960. package/lib/hooks/useSearch.d.ts +0 -4
  961. package/lib/hooks/useSearch.js +0 -9
  962. package/lib/hooks/useSearch.js.map +0 -1
  963. package/lib/services/sitemap/SitemapProps.js +0 -2
  964. package/lib/services/sitemap/SitemapProps.js.map +0 -1
  965. package/lib/services/sitemap/useSWRResource.js.map +0 -1
  966. package/mobile/bundle/hooks/useSearch.d.ts +0 -4
  967. package/mobile/dist/hooks/useSearch.d.ts +0 -4
  968. package/mobile/dist/hooks/useSearch.js +0 -12
  969. package/mobile/dist/hooks/useSearch.js.map +0 -1
  970. package/mobile/dist/services/sitemap/SitemapProps.d.ts +0 -32
  971. package/mobile/dist/services/sitemap/SitemapProps.js.map +0 -1
  972. package/mobile/dist/services/sitemap/useSWRResource.d.ts +0 -2
  973. package/mobile/dist/services/sitemap/useSWRResource.js.map +0 -1
  974. package/mobile/lib/hooks/useSearch.d.ts +0 -4
  975. package/mobile/lib/hooks/useSearch.js +0 -9
  976. package/mobile/lib/hooks/useSearch.js.map +0 -1
  977. package/mobile/lib/services/sitemap/SitemapProps.d.ts +0 -32
  978. package/mobile/lib/services/sitemap/SitemapProps.js +0 -2
  979. package/mobile/lib/services/sitemap/SitemapProps.js.map +0 -1
  980. package/mobile/lib/services/sitemap/useSWRResource.d.ts +0 -2
  981. package/mobile/lib/services/sitemap/useSWRResource.js.map +0 -1
  982. package/mobile/src/hooks/useSearch.ts +0 -10
  983. package/src/hooks/useSearch.ts +0 -10
@@ -1,32 +1,17 @@
1
+ import type { BulletsProps } from '../../model/Bullets';
1
2
  import type { Footnote } from '../../model/Footnote';
2
3
  import type { HeadlineProps } from '../../model/HeadlineType';
3
4
  import type { IconVersion } from '../../model/IconVersion';
4
5
  import type { UniBlockContent } from '../../model/JSXBlock';
5
6
  import type { LinkProps } from '../../model/LinkProps';
6
- import type { Picture } from '../../model/Picture';
7
7
  import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
8
8
  import type { BackwardButtonProps, ButtonContent } from '../../ui-kit/Button/ButtonProps';
9
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
9
10
  import type { ListContent } from '../../ui-kit/List/ListContent';
10
11
  import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
11
- export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & ListContent & ButtonContent & Footnote & {
12
- /**
13
- * @default {
14
- * "format": "webp",
15
- * "size": {
16
- * "width": 600
17
- * },
18
- * "sources": [{
19
- * "media": 1279,
20
- * "width": 360,
21
- * "format": "webp",
22
- * "alignment": "northeast"
23
- * }]
24
- * }
25
- */
26
- image?: Picture;
12
+ export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & ListContent & ButtonContent & Footnote & ImageContent & BulletsProps & {
27
13
  /**
28
14
  * @title Количество преимуществ в строке
29
- * @default 3
30
15
  * @enumNames ["2", "3"]
31
16
  */
32
17
  benefitsCountOfRow?: 2 | 3;
@@ -37,11 +22,6 @@ export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & L
37
22
  */
38
23
  benefits?: BenefitItemProps[];
39
24
  benefitsVersion?: IconVersion;
40
- /**
41
- * @title Буллиты
42
- * @default true
43
- */
44
- isDotted?: boolean;
45
25
  /** @title Лейбл (моб.) */
46
26
  label?: string;
47
27
  /**
@@ -13,7 +13,7 @@ const renderBenefit_1 = require("./renderBenefit");
13
13
  exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, __html, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
14
14
  const benefitsCount = benefits?.filter((_) => _.label)?.length;
15
15
  const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
16
- return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex grow justify-between items-stretch h-full', className), children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col', textBlockClassName), children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left", version: version }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between h-full", children: [(0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons), children: [benefitsCount ? ((0, jsx_runtime_1.jsx)("div", { className: benefitsContainerStyles, children: benefits?.map((0, renderBenefit_1.renderBenefit)(version, benefitsVersion)) })) : null, __html ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-5", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) })) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? (0, jsx_runtime_1.jsx)("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mt-[-50px]", image: image })] }));
16
+ return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex grow justify-between items-stretch h-full', className), children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col', textBlockClassName), children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between h-full", children: [(0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons), children: [benefitsCount ? ((0, jsx_runtime_1.jsx)("div", { className: benefitsContainerStyles, children: benefits?.map((0, renderBenefit_1.renderBenefit)(version, benefitsVersion)) })) : null, __html ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-5", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) })) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? (0, jsx_runtime_1.jsx)("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mt-[-50px]", image: image })] }));
17
17
  });
18
18
  const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
19
19
  ? 'inline-grid grid-cols-[auto_auto_auto]'
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,6DAA0D;AAC1D,6CAA0C;AAC1C,mDAAgD;AAChD,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,kBAAkB,GAAG,CAAC,EACtB,QAAQ,EACR,eAAe,EACf,OAAO,EACP,QAAQ,EACR,KAAK,EACL,MAAM,EACN,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,IAAI,EACf,kBAAkB,GAAG,EAAE,GACxB,EAAE,EAAE;IACH,MAAM,aAAa,GAAG,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAC/D,MAAM,uBAAuB,GAAG,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAE/E,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,gDAAgD,EAAE,SAAS,CAAC,aAChF,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,eAAe,EAAE,kBAAkB,CAAC,aACxD,uBAAC,mBAAQ,IACP,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAC,WAAW,EACjB,OAAO,EAAE,OAAO,GAChB,EACF,iCAAK,SAAS,EAAC,sCAAsC,aACnD,wBAAC,mBAAQ,IAAC,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,CAAC,aAC7C,aAAa,CAAC,CAAC,CAAC,CACf,gCAAK,SAAS,EAAE,uBAAuB,YACpC,QAAQ,EAAE,GAAG,CAAC,IAAA,6BAAa,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC,GACnD,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,CAAC,CAAC,CACR,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,GACxB,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,cAAc,EACxB,KAAK,EAAE,KAAK,EACZ,aAAa,EAAC,UAAU,EACxB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC,CAAC,IAAI,IACC,EACV,QAAQ,CAAC,CAAC,CAAC,8BAAG,SAAS,EAAC,oBAAoB,YAAE,QAAQ,GAAK,CAAC,CAAC,CAAC,IAAI,IAC/D,IACF,EACL,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,KAAK,GAAI,IACvD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,kBAAkB,GAAG,CAAC,EAAE,EAAE,CAC5D,cACE,kBAAkB,GAAG,CAAC;IACpB,CAAC,CAAC,wCAAwC;IAC1C,CAAC,CAAC,mCACN,EAAE,CAAC"}
1
+ {"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,6DAA0D;AAC1D,6CAA0C;AAC1C,mDAAgD;AAChD,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,kBAAkB,GAAG,CAAC,EACtB,QAAQ,EACR,eAAe,EACf,OAAO,EACP,QAAQ,EACR,KAAK,EACL,MAAM,EACN,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,IAAI,EACf,kBAAkB,GAAG,EAAE,GACxB,EAAE,EAAE;IACH,MAAM,aAAa,GAAG,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAC/D,MAAM,uBAAuB,GAAG,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAE/E,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,gDAAgD,EAAE,SAAS,CAAC,aAChF,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,eAAe,EAAE,kBAAkB,CAAC,aACxD,uBAAC,mBAAQ,IACP,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAC,WAAW,GACjB,EACF,iCAAK,SAAS,EAAC,sCAAsC,aACnD,wBAAC,mBAAQ,IAAC,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,CAAC,aAC7C,aAAa,CAAC,CAAC,CAAC,CACf,gCAAK,SAAS,EAAE,uBAAuB,YACpC,QAAQ,EAAE,GAAG,CAAC,IAAA,6BAAa,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC,GACnD,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,CAAC,CAAC,CACR,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,GACxB,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,cAAc,EACxB,KAAK,EAAE,KAAK,EACZ,aAAa,EAAC,UAAU,EACxB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC,CAAC,IAAI,IACC,EACV,QAAQ,CAAC,CAAC,CAAC,8BAAG,SAAS,EAAC,oBAAoB,YAAE,QAAQ,GAAK,CAAC,CAAC,CAAC,IAAI,IAC/D,IACF,EACL,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,KAAK,GAAI,IACvD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,kBAAkB,GAAG,CAAC,EAAE,EAAE,CAC5D,cACE,kBAAkB,GAAG,CAAC;IACpB,CAAC,CAAC,wCAAwC;IAC1C,CAAC,CAAC,mCACN,EAAE,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import type { DefaultListItemType } from '../../model/DefaultListItemType';
2
2
  import type { AdditionalDescriptionProps, DescriptionProps, HeadlineProps, LabelProps } from '../../model/HeadlineType';
3
3
  import type { UniBlockContent } from '../../model/JSXBlock';
4
- import type { Picture } from '../../model/Picture';
5
4
  import type { RichTextItem } from '../../model/RichTextItem';
6
5
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
6
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
7
7
  /**
8
8
  * @title Стандартный
9
9
  */
@@ -18,22 +18,7 @@ export declare type Benefit = TextBenefit | RichTextItem;
18
18
  /**
19
19
  * @title Продуктовая плитка
20
20
  */
21
- export declare type ProductTileContent = UniBlockContent & HeadlineProps & AdditionalDescriptionProps & ButtonContent & {
22
- /**
23
- * @default {
24
- * "format": "webp",
25
- * "size": {
26
- * "width": 320
27
- * },
28
- * "sources": [{
29
- * "media": 1279,
30
- * "width": 192,
31
- * "format": "webp",
32
- * "alignment": "southeast"
33
- * }]
34
- * }
35
- */
36
- image?: Picture;
21
+ export declare type ProductTileContent = UniBlockContent & HeadlineProps & AdditionalDescriptionProps & ButtonContent & ImageContent & {
37
22
  /**
38
23
  * @title Преимущества
39
24
  * @maxItems 7
@@ -1,44 +1,18 @@
1
1
  import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
2
2
  import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { LinkCommonProps } from '../../model/LinkProps';
4
- import type { Picture } from '../../model/Picture';
5
4
  import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
5
+ import { ImageContent } from '../../ui-kit/Img/ImgProps';
6
6
  import type { ListContent } from '../../ui-kit/List/ListContent';
7
7
  /**
8
8
  * @title Карточка
9
9
  */
10
- export interface RecommendationCardTypes extends HeadlineCommonProps, ListContent {
10
+ export interface RecommendationCardTypes extends HeadlineCommonProps, ListContent, ImageContent {
11
11
  /**
12
12
  * @title Соц сети
13
13
  * @minItems 3
14
- * @default [
15
- * { "href": "https://t.me" },
16
- * { "href": "https://vk.com" },
17
- * { "href": "https://ok.ru" },
18
- * ]
19
14
  */
20
15
  socialMedia?: LinkCommonProps[];
21
- /**
22
- * @default {
23
- * "format": "webp",
24
- * "size": {
25
- * "width": 290
26
- * },
27
- * "sources": [{
28
- * "media": 1279,
29
- * "width": 174,
30
- * "format": "webp",
31
- * "alignment": "southeast"
32
- * }]
33
- * }
34
- */
35
- image?: Picture;
36
- /**
37
- * @default {
38
- * "text": "",
39
- * "version": "secondary"
40
- * }
41
- */
42
16
  button?: ButtonProps;
43
17
  }
44
18
  /**
@@ -1,22 +1,14 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
+ import type { BulletsProps } from '../../model/Bullets';
3
+ import type { ButtonCommonIconProps } from '../../model/Button';
2
4
  import type { DefaultListItemType } from '../../model/DefaultListItemType';
3
5
  import type { DescriptionProps, HeadlineCommonProps, LabelProps } from '../../model/HeadlineType';
4
6
  import type { UniBlockContent } from '../../model/JSXBlock';
5
7
  import type { IconProps } from '../../model/Picture';
6
8
  import type { RichTextItem } from '../../model/RichTextItem';
7
9
  import type { SizeVersion } from '../../model/SizeVersion';
8
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
9
- declare type StepCommonProps = IconProps & {
10
- /** @title Кнопка */
11
- button?: ButtonWithIconProps;
12
- /**
13
- * @title Буллиты
14
- * @default true
15
- */
16
- isDotted?: boolean;
17
- /** @title Список */
18
- items?: string[];
19
- };
10
+ import type { ListContent } from '../../ui-kit/List/ListContent';
11
+ declare type StepCommonProps = IconProps & ButtonCommonIconProps & BulletsProps & ListContent & {};
20
12
  /**
21
13
  * @title Стандартный
22
14
  */
@@ -32,11 +24,8 @@ export declare type Step = DefaultStep | RichTextStep;
32
24
  /**
33
25
  * @title Блок шаги
34
26
  */
35
- export declare type StepsBlockContent = UniBlockContent & HeadlineCommonProps & {
36
- /**
37
- * @title Линии
38
- * @default true
39
- */
27
+ export declare type StepsBlockContent = UniBlockContent & HeadlineCommonProps & ButtonCommonIconProps & {
28
+ /** @title Линии */
40
29
  showLines?: boolean;
41
30
  /**
42
31
  * @title Шаги
@@ -45,12 +34,7 @@ export declare type StepsBlockContent = UniBlockContent & HeadlineCommonProps &
45
34
  */
46
35
  steps?: Step[];
47
36
  stepVersion?: BlockVersion;
48
- /** @title Кнопка */
49
- button?: ButtonWithIconProps;
50
- /**
51
- * @title Размер шагов
52
- * @default normal
53
- */
37
+ /** @title Размер шагов */
54
38
  size?: SizeVersion;
55
39
  };
56
40
  export {};
@@ -41,9 +41,6 @@ export declare type TabsContent = UniBlockContent & {
41
41
  isSticky?: boolean;
42
42
  /** @title Показывать счетчик блоков во вкладках */
43
43
  showCounter?: boolean;
44
- /**
45
- * @title Режим вкладок
46
- * @default "wideScreen"
47
- */
44
+ /** @title Режим вкладок */
48
45
  tabsMode?: TabsMode;
49
46
  };
@@ -2,8 +2,9 @@ import type { EmptyOption } from '../../model/EmptyOptionType';
2
2
  import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
3
3
  import type { UniBlockProps } from '../../model/JSXBlock';
4
4
  import type { ListOrientation } from '../../model/ListOrientation';
5
- import type { Picture } from '../../model/Picture';
5
+ import type { IconProps } from '../../model/Picture';
6
6
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
7
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
7
8
  import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
8
9
  import type { ListProps } from '../../ui-kit/List/ListProps';
9
10
  /**
@@ -37,18 +38,13 @@ export declare type Data = {
37
38
  /**
38
39
  * @title Параметр
39
40
  */
40
- export declare type TariffsTableRowHeader = TitleProps & {
41
- /** @default { "format": "webp", "size": { "width": 24, "height": 24 } } */
42
- icon?: Picture;
43
- };
41
+ export declare type TariffsTableRowHeader = TitleProps & IconProps & {};
44
42
  /**
45
43
  * @title Изображение
46
44
  */
47
- export declare type ImageCellDef = {
45
+ export declare type ImageCellDef = ImageContent & {
48
46
  /** @default Img */
49
47
  tableCellType: 'Img';
50
- /** @default { "format": "webp", "size": { "width": 24, "height": 24 } } */
51
- image?: Picture;
52
48
  };
53
49
  /**
54
50
  * @title Кнопки
@@ -70,7 +66,6 @@ export declare type LabelDescriptionCellDef = LabelDescriptionCell & {
70
66
  };
71
67
  /**
72
68
  * @title Список
73
- * @default { "listItemSize": "M", "isDotted": true }
74
69
  */
75
70
  export declare type ListBlockDef = ListProps & {
76
71
  /** @default List */
@@ -1,5 +1,7 @@
1
+ import type { BulletsProps } from '../../model/Bullets';
1
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
3
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
4
+ import type { ListContent } from '../../ui-kit/List/ListContent';
3
5
  import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
4
6
  /**
5
7
  * @title Цвет блока
@@ -14,10 +16,8 @@ declare type TextBlockIconVersion = 'none' | 'small' | 'big';
14
16
  /**
15
17
  * @title Текстовый блок
16
18
  */
17
- export declare type TextBlockContent = HeadlineCommonProps & RichTextProps & ImageContent & {
19
+ export declare type TextBlockContent = HeadlineCommonProps & RichTextProps & ImageContent & ListContent & BulletsProps & {
18
20
  iconVersion?: TextBlockIconVersion;
19
21
  blockVersion?: TextBlockVersion;
20
- /** @title Буллиты */ isDotted?: boolean;
21
- /** @title Список (моб.) */ items?: string[];
22
22
  };
23
23
  export {};
@@ -1,7 +1,8 @@
1
+ import type { BulletsProps } from '../../model/Bullets';
1
2
  import type { UniBlockContent } from '../../model/JSXBlock';
2
- import type { Picture } from '../../model/Picture';
3
3
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
4
4
  import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
5
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
6
  import type { ListContent } from '../../ui-kit/List/ListContent';
6
7
  import type { ListItemSize } from '../../ui-kit/List/ListProps';
7
8
  import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
@@ -9,26 +10,6 @@ import type { TagsContent } from '../../ui-kit/Tags/TagsContent';
9
10
  /**
10
11
  * @title Плитка
11
12
  */
12
- export declare type TileContent = UniBlockContent & HeadingCommonProps & RichTextProps & ListContent & ButtonContent & TagsContent & {
13
- /**
14
- * @default {
15
- * "format": "webp",
16
- * "size": {
17
- * "width": 320
18
- * },
19
- * "sources": [{
20
- * "media": 1279,
21
- * "width": 192,
22
- * "format": "webp",
23
- * "alignment": "southeast"
24
- * }]
25
- * }
26
- */
27
- image?: Picture;
28
- /**
29
- * @title Буллиты
30
- * @default true
31
- */
32
- isDotted?: boolean;
13
+ export declare type TileContent = UniBlockContent & HeadingCommonProps & RichTextProps & ListContent & ButtonContent & TagsContent & ImageContent & BulletsProps & {
33
14
  listItemSize?: ListItemSize;
34
15
  };
@@ -12,9 +12,11 @@ const alignStyle = {
12
12
  center: 'items-center',
13
13
  right: 'items-end',
14
14
  };
15
- exports.VerticalLayout = (0, uni_jsx_1.JSX)(({ className = '', gap = '', align = 'stretch', isPadding = false, isInnerPadding = true, version = 'transparent', options, ...rest }) => {
15
+ exports.VerticalLayout = (0, uni_jsx_1.JSX)(({ className = '', gap = '', align = 'stretch', isPadding = false, isInnerPadding = true, version = 'transparent', isTheme = false, options, ...rest }) => {
16
16
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
17
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col [&>*]:max-w-full', isPadding ? 'p-12' : '', gapStyles_1.gapStyles[gap], align && alignStyle[align], className), version: version, ...rest, children: (0, renderChildren_1.renderChildren)({ ...rest, options: { ...options, className: innerPaddingStyle } }) }));
17
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col [&>*]:max-w-full', isPadding ? 'p-12' : '', gapStyles_1.gapStyles[gap], align && alignStyle[align], className), version: version, isTheme: isTheme, ...rest, children: (0, renderChildren_1.renderChildren)({ ...rest, options: { ...options, className: innerPaddingStyle } }) }));
18
18
  });
19
- exports.VerticalLayout.childrenTypes = [];
19
+ exports.VerticalLayout.childrenTypes = {
20
+ exclude: ['Accordion', 'OtherProducts'],
21
+ };
20
22
  //# sourceMappingURL=VerticalLayout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../src/components/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAGpE,4DAAyD;AACzD,6CAA0C;AAC1C,6DAA0D;AAK1D,MAAM,UAAU,GAAyC;IACvD,OAAO,EAAE,eAAe;IACxB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEW,QAAA,cAAc,GAAkC,IAAA,aAAG,EAC9D,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,EAAE,EACR,KAAK,GAAG,SAAS,EACjB,SAAS,GAAG,KAAK,EACjB,cAAc,GAAG,IAAI,EACrB,OAAO,GAAG,aAAa,EACvB,OAAO,EACP,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,iBAAiB,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;IAEvD,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,gCAAgC,EAChC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EACvB,qBAAS,CAAC,GAAG,CAAC,EACd,KAAK,IAAI,UAAU,CAAC,KAAK,CAAC,EAC1B,SAAS,CACV,EACD,OAAO,EAAE,OAAO,KACZ,IAAI,YAEP,IAAA,+BAAc,EAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,EAAE,CAAC,GACtE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,sBAAc,CAAC,aAAa,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../src/components/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAGpE,4DAAyD;AACzD,6CAA0C;AAC1C,6DAA0D;AAK1D,MAAM,UAAU,GAAyC;IACvD,OAAO,EAAE,eAAe;IACxB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEW,QAAA,cAAc,GAAkC,IAAA,aAAG,EAC9D,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,EAAE,EACR,KAAK,GAAG,SAAS,EACjB,SAAS,GAAG,KAAK,EACjB,cAAc,GAAG,IAAI,EACrB,OAAO,GAAG,aAAa,EACvB,OAAO,GAAG,KAAK,EACf,OAAO,EACP,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,iBAAiB,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;IAEvD,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,gCAAgC,EAChC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EACvB,qBAAS,CAAC,GAAG,CAAC,EACd,KAAK,IAAI,UAAU,CAAC,KAAK,CAAC,EAC1B,SAAS,CACV,EACD,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,KACZ,IAAI,YAEP,IAAA,+BAAc,EAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,EAAE,CAAC,GACtE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,sBAAc,CAAC,aAAa,GAAG;IAC7B,OAAO,EAAE,CAAC,WAAW,EAAE,eAAe,CAAC;CACxC,CAAC"}
@@ -1,25 +1,12 @@
1
1
  import type { TitleProps } from '../../model/HeadlineType';
2
2
  import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { Picture } from '../../model/Picture';
4
- /**
5
- * @title Блок Видео
6
- * @default {
7
- * "title": "Заголовок блока"
8
- * }
9
- */
4
+ /** @title Блок Видео */
10
5
  export declare type VideoContent = UniBlockContent & TitleProps & {
11
6
  /**
12
7
  * @title Ссылка на видео
13
8
  */
14
9
  url?: string;
15
- /**
16
- * @title Заставка в блоке
17
- * @default {
18
- * "format": "webp",
19
- * "size": {
20
- * "width": 1004
21
- * },
22
- * }
23
- */
10
+ /** @title Заставка в блоке */
24
11
  previewImg?: Picture;
25
12
  };
@@ -8,8 +8,6 @@ export interface CarouselControls {
8
8
  interface CarouselControlsProps {
9
9
  itemCount: number;
10
10
  visibleItemCount?: number;
11
- isCyclic?: boolean;
12
- container?: HTMLDivElement | null;
13
11
  }
14
12
  export declare const useCarouselControls: (props: CarouselControlsProps) => [number, CarouselControls];
15
13
  export {};
@@ -2,13 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.useCarouselControls = void 0;
3
3
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
4
4
  const useCarouselControls = (props) => {
5
- const { itemCount, visibleItemCount, isCyclic } = props;
5
+ const { itemCount, visibleItemCount } = props;
6
6
  const [activeIndex, setActiveIndex] = (0, hooks_1.useState)(0);
7
- const inc = (0, hooks_1.useCallback)(() => setActiveIndex((_) => (isCyclic ? (_ + 1) % itemCount : Math.min(_ + 1, itemCount - 1))), [isCyclic, itemCount]);
8
- const dec = (0, hooks_1.useCallback)(() => setActiveIndex((_) => (isCyclic ? (itemCount + _ - 1) % itemCount : Math.max(_ - 1, 0))), [isCyclic, itemCount]);
9
- const canInc = isCyclic ||
10
- (isScrollable(activeIndex, props) && activeIndex < itemCount - (visibleItemCount || 1));
11
- const canDec = isCyclic || activeIndex > 0;
7
+ const inc = (0, hooks_1.useCallback)(() => setActiveIndex((_) => Math.min(_ + 1, itemCount - 1)), [itemCount]);
8
+ const dec = (0, hooks_1.useCallback)(() => setActiveIndex((_) => Math.max(_ - 1, 0)), [itemCount]);
9
+ const canInc = isScrollable(props) && activeIndex < itemCount - (visibleItemCount || 1);
10
+ const canDec = activeIndex > 0;
12
11
  const isScrollAvailable = canDec || canInc;
13
12
  return [
14
13
  activeIndex,
@@ -22,14 +21,7 @@ const useCarouselControls = (props) => {
22
21
  ];
23
22
  };
24
23
  exports.useCarouselControls = useCarouselControls;
25
- function isScrollable(activeIndex, { itemCount, visibleItemCount, container }) {
26
- if (visibleItemCount) {
27
- return itemCount > visibleItemCount;
28
- }
29
- if (container) {
30
- const scrollLeft = (container.scrollWidth * activeIndex) / itemCount;
31
- return scrollLeft + container.clientWidth < container.scrollWidth;
32
- }
33
- return false;
24
+ function isScrollable({ itemCount, visibleItemCount }) {
25
+ return Boolean(visibleItemCount && itemCount > visibleItemCount);
34
26
  }
35
27
  //# sourceMappingURL=useCarouselControls.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCarouselControls.js","sourceRoot":"","sources":["../../src/hooks/useCarouselControls.ts"],"names":[],"mappings":";;AAAA,uDAAoE;AAiB7D,MAAM,mBAAmB,GAAG,CAAC,KAA4B,EAA8B,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAExD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAElD,MAAM,GAAG,GAAG,IAAA,mBAAW,EACrB,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,EAC9F,CAAC,QAAQ,EAAE,SAAS,CAAC,CACtB,CAAC;IACF,MAAM,GAAG,GAAG,IAAA,mBAAW,EACrB,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAC9F,CAAC,QAAQ,EAAE,SAAS,CAAC,CACtB,CAAC;IAEF,MAAM,MAAM,GACV,QAAQ;QACR,CAAC,YAAY,CAAC,WAAW,EAAE,KAAK,CAAC,IAAI,WAAW,GAAG,SAAS,GAAG,CAAC,gBAAgB,IAAI,CAAC,CAAC,CAAC,CAAC;IAC1F,MAAM,MAAM,GAAG,QAAQ,IAAI,WAAW,GAAG,CAAC,CAAC;IAC3C,MAAM,iBAAiB,GAAG,MAAM,IAAI,MAAM,CAAC;IAE3C,OAAO;QACL,WAAW;QACX;YACE,GAAG;YACH,GAAG;YACH,MAAM;YACN,MAAM;YACN,iBAAiB;SAClB;KACF,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,mBAAmB,uBA8B9B;AAEF,SAAS,YAAY,CACnB,WAAmB,EACnB,EAAE,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAyB;IAEjE,IAAI,gBAAgB,EAAE;QACpB,OAAO,SAAS,GAAG,gBAAgB,CAAC;KACrC;IAED,IAAI,SAAS,EAAE;QACb,MAAM,UAAU,GAAG,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC,GAAG,SAAS,CAAC;QAErE,OAAO,UAAU,GAAG,SAAS,CAAC,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC;KACnE;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
1
+ {"version":3,"file":"useCarouselControls.js","sourceRoot":"","sources":["../../src/hooks/useCarouselControls.ts"],"names":[],"mappings":";;AAAA,uDAAoE;AAe7D,MAAM,mBAAmB,GAAG,CAAC,KAA4B,EAA8B,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,KAAK,CAAC;IAE9C,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAElD,MAAM,GAAG,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAClG,MAAM,GAAG,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAEtF,MAAM,MAAM,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,WAAW,GAAG,SAAS,GAAG,CAAC,gBAAgB,IAAI,CAAC,CAAC,CAAC;IACxF,MAAM,MAAM,GAAG,WAAW,GAAG,CAAC,CAAC;IAC/B,MAAM,iBAAiB,GAAG,MAAM,IAAI,MAAM,CAAC;IAE3C,OAAO;QACL,WAAW;QACX;YACE,GAAG;YACH,GAAG;YACH,MAAM;YACN,MAAM;YACN,iBAAiB;SAClB;KACF,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,mBAAmB,uBAsB9B;AAEF,SAAS,YAAY,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAyB;IAC1E,OAAO,OAAO,CAAC,gBAAgB,IAAI,SAAS,GAAG,gBAAgB,CAAC,CAAC;AACnE,CAAC"}
@@ -1,2 +1,2 @@
1
- import type { Fallback } from '../../model/Fallback';
1
+ import type { Fallback } from '../model/Fallback';
2
2
  export declare function useSWRResource<Data>(filename: string, fallback?: Fallback): Data;
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.useSWRResource = void 0;
3
3
  const useAsyncData_1 = require("@redneckz/uni-jsx/lib/hooks/useAsyncData");
4
- const fetchJSON_1 = require("../../utils/fetchJSON");
4
+ const fetchJSON_1 = require("../utils/fetchJSON");
5
5
  function useSWRResource(filename, fallback = {}) {
6
6
  const { data } = (0, useAsyncData_1.useAsyncData)(`/wcms-resources/${filename}.json`, fetchJSON_1.fetchJSONUnsafe, {
7
7
  fallback,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSWRResource.js","sourceRoot":"","sources":["../../src/hooks/useSWRResource.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AAExE,kDAAqD;AAErD,SAAgB,cAAc,CAAO,QAAgB,EAAE,WAAqB,EAAE;IAC5E,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAAO,mBAAmB,QAAQ,OAAO,EAAE,2BAAe,EAAE;QACvF,QAAQ;KACT,CAAC,CAAC;IAEH,OAAO,IAAI,IAAK,EAAW,CAAC;AAC9B,CAAC;AAND,wCAMC"}
@@ -0,0 +1,4 @@
1
+ export declare type BulletsProps = {
2
+ /** @title Буллиты */
3
+ isDotted?: boolean;
4
+ };
@@ -1,2 +1,2 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=SitemapProps.js.map
2
+ //# sourceMappingURL=Bullets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bullets.js","sourceRoot":"","sources":["../../src/model/Bullets.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import type { ButtonProps, ButtonWithIconProps } from '../ui-kit/Button/ButtonProps';
2
+ /**
3
+ * @title Блок Кнопка
4
+ */
5
+ export interface ButtonCommonProps {
6
+ /** @title Кнопка */
7
+ button?: ButtonProps;
8
+ }
9
+ /**
10
+ * @title Блок Кнопка
11
+ */
12
+ export interface ButtonCommonIconProps {
13
+ /** @title Кнопка */
14
+ button?: ButtonWithIconProps;
15
+ }
@@ -1,2 +1,2 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=SitemapProps.js.map
2
+ //# sourceMappingURL=Button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../src/model/Button.ts"],"names":[],"mappings":""}
@@ -16,6 +16,10 @@ export declare type DescriptionProps = {
16
16
  /** @title Описание */
17
17
  description?: string;
18
18
  };
19
+ export declare type SubtitleProps = {
20
+ /** @title Подзаголовок */
21
+ subtitle?: string;
22
+ };
19
23
  export declare type LabelProps = {
20
24
  /** @title Название */
21
25
  label?: string;
@@ -1,6 +1,6 @@
1
1
  import type { IconName } from '../icons/IconName';
2
2
  import type { IconVersion } from './IconVersion';
3
- import { ImageSize } from './ImageSize';
3
+ import type { ImageSize } from './ImageSize';
4
4
  export declare type ImgFormats = 'jpeg' | 'jpg' | 'png' | 'gif' | 'webp' | 'heif' | 'avif';
5
5
  /**
6
6
  * @title Позиционирование
@@ -15,21 +15,14 @@ export declare type ImgFormats = 'jpeg' | 'jpg' | 'png' | 'gif' | 'webp' | 'heif
15
15
  * "Снизу по центру",
16
16
  * "Снизу справа"
17
17
  * ]
18
- * @default "center"
19
18
  */
20
19
  export declare type ImgAlignment = 'northwest' | 'north' | 'northeast' | 'west' | 'center' | 'east' | 'southwest' | 'south' | 'southeast';
21
20
  export interface Img {
22
21
  /** @title Картинка */
23
22
  src?: string;
24
- /**
25
- * @title Альтернативный текст (alt)
26
- * @default ""
27
- */
23
+ /** @title Альтернативный текст (alt) */
28
24
  alt?: string;
29
- /**
30
- * @title Текст подсказки (title)
31
- * @default ""
32
- */
25
+ /** @title Текст подсказки (title) */
33
26
  title?: string;
34
27
  }
35
28
  /**
@@ -22,7 +22,7 @@ export interface DispositionItem extends LinkProps {
22
22
  * @required ["text", "href"]
23
23
  */
24
24
  export declare type ForeignOffice = LinkProps & IconProps;
25
- export interface SitemapDataProps {
25
+ export interface SitemapData {
26
26
  topItems?: TopMenuItem[];
27
27
  dispositions?: DispositionItem[];
28
28
  logo?: LogoType;
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=SitemapData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SitemapData.js","sourceRoot":"","sources":["../../../src/services/sitemap/SitemapData.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export declare const jaroWinklerDistance: (s1: string | undefined) => (s2: string | undefined) => number;
@@ -0,0 +1,67 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.jaroWinklerDistance = void 0;
3
+ const JARO_WINKLER_P = 0.1;
4
+ const JARO_WINKLER_MAX_L = 4;
5
+ const jaroWinklerDistance = (s1) => (s2) => {
6
+ if (s1 === s2) {
7
+ return 1;
8
+ }
9
+ if (!s1 || !s2) {
10
+ return 0;
11
+ }
12
+ const { m, s1Matches, s2Matches } = computeM(s1, s2);
13
+ if (m === 0) {
14
+ return 0;
15
+ }
16
+ const t = computeT(s1, s2, { s1Matches, s2Matches });
17
+ const jaroWeight = (m / s1.length + m / s2.length + (m - t / 2) / m) / 3;
18
+ const winklerWeight = jaroWeight > 0.7 ? computePrefixL(s1, s2) * JARO_WINKLER_P : 0;
19
+ return jaroWeight + winklerWeight * (1 - jaroWeight);
20
+ };
21
+ exports.jaroWinklerDistance = jaroWinklerDistance;
22
+ function computeM(s1, s2) {
23
+ const range = Math.max(0, Math.floor(Math.max(s1.length, s2.length) / 2) - 1);
24
+ const s1Matches = new Array(s1.length);
25
+ const s2Matches = new Array(s2.length);
26
+ let m = 0;
27
+ for (let i = 0; i < s1.length; i++) {
28
+ const low = Math.max(0, i - range);
29
+ const high = Math.min(i + range, s2.length - 1);
30
+ for (let j = low; j <= high; j++) {
31
+ if (s1Matches[i] || s2Matches[j] || s1[i] !== s2[j]) {
32
+ continue;
33
+ }
34
+ m++;
35
+ s1Matches[i] = true;
36
+ s2Matches[j] = true;
37
+ }
38
+ }
39
+ return { m, s1Matches, s2Matches };
40
+ }
41
+ function computeT(s1, s2, { s1Matches, s2Matches }) {
42
+ let t = 0;
43
+ for (let i = 0, k = 0; i < s1.length; i++) {
44
+ if (!s1Matches[i]) {
45
+ continue;
46
+ }
47
+ let j = k;
48
+ for (; j < s2.length; j++) {
49
+ if (s2Matches[j]) {
50
+ k = j + 1;
51
+ break;
52
+ }
53
+ }
54
+ if (s1[i] !== s2[j]) {
55
+ t++;
56
+ }
57
+ }
58
+ return t;
59
+ }
60
+ function computePrefixL(s1, s2) {
61
+ let prefixL = 0;
62
+ while (s1[prefixL] === s2[prefixL] && prefixL < JARO_WINKLER_MAX_L) {
63
+ prefixL++;
64
+ }
65
+ return prefixL;
66
+ }
67
+ //# sourceMappingURL=jaroWinklerDistance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jaroWinklerDistance.js","sourceRoot":"","sources":["../../../../src/services/sitemap/search/jaroWinklerDistance.ts"],"names":[],"mappings":";;AAAA,MAAM,cAAc,GAAG,GAAG,CAAC;AAC3B,MAAM,kBAAkB,GAAG,CAAC,CAAC;AAEtB,MAAM,mBAAmB,GAC9B,CAAC,EAAsB,EAAE,EAAE,CAC3B,CAAC,EAAsB,EAAU,EAAE;IACjC,IAAI,EAAE,KAAK,EAAE,EAAE;QACb,OAAO,CAAC,CAAC;KACV;IAED,IAAI,CAAC,EAAE,IAAI,CAAC,EAAE,EAAE;QACd,OAAO,CAAC,CAAC;KACV;IAED,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAErD,IAAI,CAAC,KAAK,CAAC,EAAE;QACX,OAAO,CAAC,CAAC;KACV;IAED,MAAM,CAAC,GAAG,QAAQ,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;IAErD,MAAM,UAAU,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,MAAM,GAAG,CAAC,GAAG,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;IACzE,MAAM,aAAa,GAAG,UAAU,GAAG,GAAG,CAAC,CAAC,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAErF,OAAO,UAAU,GAAG,aAAa,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC;AACvD,CAAC,CAAC;AAvBS,QAAA,mBAAmB,uBAuB5B;AAEJ,SAAS,QAAQ,CACf,EAAU,EACV,EAAU;IAMV,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAE9E,MAAM,SAAS,GAAG,IAAI,KAAK,CAAU,EAAE,CAAC,MAAM,CAAC,CAAC;IAChD,MAAM,SAAS,GAAG,IAAI,KAAK,CAAU,EAAE,CAAC,MAAM,CAAC,CAAC;IAEhD,IAAI,CAAC,GAAG,CAAC,CAAC;IAEV,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAClC,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC;QACnC,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,EAAE,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAEhD,KAAK,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,EAAE,EAAE;YAChC,IAAI,SAAS,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE;gBACnD,SAAS;aACV;YAED,CAAC,EAAE,CAAC;YACJ,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;YACpB,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;SACrB;KACF;IAED,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;AACrC,CAAC;AAED,SAAS,QAAQ,CACf,EAAU,EACV,EAAU,EACV,EAAE,SAAS,EAAE,SAAS,EAAkD;IAExE,IAAI,CAAC,GAAG,CAAC,CAAC;IAEV,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACzC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE;YACjB,SAAS;SACV;QAED,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,OAAO,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACzB,IAAI,SAAS,CAAC,CAAC,CAAC,EAAE;gBAChB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBACV,MAAM;aACP;SACF;QAED,IAAI,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE;YACnB,CAAC,EAAE,CAAC;SACL;KACF;IAED,OAAO,CAAC,CAAC;AACX,CAAC;AAED,SAAS,cAAc,CAAC,EAAU,EAAE,EAAU;IAC5C,IAAI,OAAO,GAAG,CAAC,CAAC;IAEhB,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,IAAI,OAAO,GAAG,kBAAkB,EAAE;QAClE,OAAO,EAAE,CAAC;KACX;IAED,OAAO,OAAO,CAAC;AACjB,CAAC"}