@redneckz/wildless-cms-uni-blocks 0.3.12 → 0.3.15

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 (734) hide show
  1. package/README.md +13 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +250 -158
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/dist/components/Accordion/AccordionBlocks.d.ts +1 -0
  6. package/dist/components/Accordion/AccordionBlocks.js +2 -0
  7. package/dist/components/Accordion/AccordionBlocks.js.map +1 -1
  8. package/dist/components/Accordion/AccordionContent.d.ts +13 -2
  9. package/dist/components/Accordion/AccordionItem.js +2 -2
  10. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  11. package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
  12. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  13. package/dist/components/Accordion/AccordionItemInner.js +5 -4
  14. package/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  15. package/dist/components/Accordion/AccordionItemInner.mobile.js +1 -1
  16. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  17. package/dist/components/Blocks.d.ts +1 -0
  18. package/dist/components/Blocks.js +2 -0
  19. package/dist/components/Blocks.js.map +1 -1
  20. package/dist/components/Blocks.mobile.d.ts +3 -1
  21. package/dist/components/Blocks.mobile.js +6 -2
  22. package/dist/components/Blocks.mobile.js.map +1 -1
  23. package/dist/components/ComparisonTable/ComparisonTable.js +7 -25
  24. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  25. package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  26. package/dist/components/ComparisonTable/ComparisonTableBody.js +30 -0
  27. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -0
  28. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  29. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +13 -0
  30. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -0
  31. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +1 -1
  32. package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  33. package/dist/components/ComparisonTable/ComparisonTableRows.js +10 -0
  34. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -0
  35. package/dist/components/ComparisonTable/TableColumn.js +2 -2
  36. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  37. package/dist/components/ContentPage/ContentPageHead.js +1 -1
  38. package/dist/components/ContentPage/ContentPageHead.js.map +1 -1
  39. package/dist/components/CreditCalculator/CreditCalculator.d.ts +1 -1
  40. package/dist/components/CreditCalculator/CreditCalculator.js +8 -47
  41. package/dist/components/CreditCalculator/CreditCalculator.js.map +1 -1
  42. package/dist/components/CreditCalculator/CreditCalculatorContent.d.ts +10 -2
  43. package/dist/components/CreditCalculator/CreditCalculatorForm.d.ts +5 -0
  44. package/dist/components/CreditCalculator/CreditCalculatorForm.js +53 -0
  45. package/dist/components/CreditCalculator/CreditCalculatorForm.js.map +1 -0
  46. package/dist/components/CreditCalculator/defaultTabs.d.ts +2 -0
  47. package/dist/components/CreditCalculator/defaultTabs.js +23 -0
  48. package/dist/components/CreditCalculator/defaultTabs.js.map +1 -0
  49. package/dist/components/Footer/Footer.mobile.js +5 -6
  50. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  51. package/dist/components/Footer/FooterContent.d.ts +1 -1
  52. package/dist/components/Gallery/Gallery.mobile.js +6 -6
  53. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  54. package/dist/components/Gallery/GalleryContent.d.ts +6 -0
  55. package/dist/components/Gallery/GalleryInner.js +1 -1
  56. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  57. package/dist/components/Header/Header.mobile.js +3 -2
  58. package/dist/components/Header/Header.mobile.js.map +1 -1
  59. package/dist/components/Header/HeaderBurger.d.ts +2 -2
  60. package/dist/components/Header/HeaderBurger.js +1 -1
  61. package/dist/components/Header/HeaderBurger.js.map +1 -1
  62. package/dist/components/Header/HeaderContent.d.ts +10 -4
  63. package/dist/components/Header/HeaderTop.js +1 -1
  64. package/dist/components/Header/HeaderTop.js.map +1 -1
  65. package/dist/components/Headline/Headline.js +3 -8
  66. package/dist/components/Headline/Headline.js.map +1 -1
  67. package/dist/components/Headline/Headline.mobile.js +3 -2
  68. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  69. package/dist/components/Headline/HeadlineContent.d.ts +2 -2
  70. package/dist/components/Headline/constants.d.ts +4 -0
  71. package/dist/components/Headline/constants.js +13 -0
  72. package/dist/components/Headline/constants.js.map +1 -0
  73. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  74. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  75. package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -0
  76. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  77. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  78. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  79. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  80. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -1
  81. package/dist/components/Recommendation/Recommendation.d.ts +5 -0
  82. package/dist/components/Recommendation/Recommendation.js +34 -0
  83. package/dist/components/Recommendation/Recommendation.js.map +1 -0
  84. package/dist/components/Recommendation/RecommendationCard.d.ts +7 -0
  85. package/dist/components/Recommendation/RecommendationCard.js +13 -0
  86. package/dist/components/Recommendation/RecommendationCard.js.map +1 -0
  87. package/dist/components/Recommendation/RecommendationContent.d.ts +14 -0
  88. package/dist/components/Recommendation/RecommendationContent.js +2 -0
  89. package/dist/components/Recommendation/RecommendationContent.js.map +1 -0
  90. package/dist/components/TariffsTable/TableTileHeader.d.ts +2 -0
  91. package/dist/components/TariffsTable/TableTileHeader.js +10 -0
  92. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -0
  93. package/dist/components/TariffsTable/TariffsTable.js +14 -11
  94. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  95. package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +5 -0
  96. package/dist/components/TariffsTable/TariffsTable.mobile.js +21 -0
  97. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -0
  98. package/dist/components/TariffsTable/TariffsTableCell.js +2 -2
  99. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  100. package/dist/components/TariffsTable/TariffsTableContent.d.ts +22 -18
  101. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  102. package/dist/components/TariffsTable/TariffsTableHorizontal.js +8 -0
  103. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -0
  104. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +2 -0
  105. package/dist/components/TariffsTable/TariffsTableTileCell.js +14 -0
  106. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -0
  107. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +4 -0
  108. package/dist/components/TariffsTable/TariffsTableVertical.js +7 -0
  109. package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -0
  110. package/dist/components/TextBlock/TextBlock.mobile.js +1 -1
  111. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  112. package/dist/hooks/useTableArrowScrollControl.d.ts +7 -0
  113. package/dist/hooks/useTableArrowScrollControl.js +12 -0
  114. package/dist/hooks/useTableArrowScrollControl.js.map +1 -0
  115. package/dist/model/BlockVersion.d.ts +6 -1
  116. package/dist/model/ListOrientation.d.ts +8 -0
  117. package/dist/model/ListOrientation.js +2 -0
  118. package/dist/model/ListOrientation.js.map +1 -0
  119. package/dist/model/SitemapProps.d.ts +11 -0
  120. package/dist/services/sitemap/SitemapProps.d.ts +12 -1
  121. package/dist/ui-kit/Button/Button.d.ts +1 -0
  122. package/dist/ui-kit/Button/Button.js +7 -22
  123. package/dist/ui-kit/Button/Button.js.map +1 -1
  124. package/dist/ui-kit/Button/ButtonInner.js +16 -10
  125. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  126. package/dist/ui-kit/Description/Description.js +1 -1
  127. package/dist/ui-kit/Img/Img.d.ts +2 -1
  128. package/dist/ui-kit/Img/Img.js +2 -2
  129. package/dist/ui-kit/Img/Img.js.map +1 -1
  130. package/dist/ui-kit/Img/Img.mobile.d.ts +6 -2
  131. package/dist/ui-kit/Img/Img.mobile.js +10 -5
  132. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  133. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +7 -3
  134. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  135. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -1
  136. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  137. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  138. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +9 -0
  139. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -0
  140. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  141. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.js +2 -0
  142. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.js.map +1 -0
  143. package/dist/ui-kit/Tabs/Tabs.d.ts +2 -0
  144. package/dist/ui-kit/Tabs/Tabs.js +16 -0
  145. package/dist/ui-kit/Tabs/Tabs.js.map +1 -0
  146. package/dist/ui-kit/Tabs/TabsProps.d.ts +17 -0
  147. package/dist/ui-kit/Tabs/TabsProps.js +2 -0
  148. package/dist/ui-kit/Tabs/TabsProps.js.map +1 -0
  149. package/lib/common.css +1 -1
  150. package/lib/components/Accordion/Accordion.fixture.d.ts +4 -1
  151. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +3 -1
  152. package/lib/components/Accordion/AccordionBlocks.d.ts +1 -0
  153. package/lib/components/Accordion/AccordionBlocks.js +2 -0
  154. package/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  155. package/lib/components/Accordion/AccordionContent.d.ts +13 -2
  156. package/lib/components/Accordion/AccordionItem.js +2 -2
  157. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  158. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  159. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  160. package/lib/components/Accordion/AccordionItemInner.js +5 -4
  161. package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  162. package/lib/components/Accordion/AccordionItemInner.mobile.js +1 -1
  163. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  164. package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +3 -1
  165. package/lib/components/Blocks.d.ts +1 -0
  166. package/lib/components/Blocks.js +2 -0
  167. package/lib/components/Blocks.js.map +1 -1
  168. package/lib/components/Blocks.mobile.d.ts +3 -1
  169. package/lib/components/Blocks.mobile.js +6 -2
  170. package/lib/components/Blocks.mobile.js.map +1 -1
  171. package/lib/components/ComparisonTable/ComparisonTable.js +8 -26
  172. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  173. package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  174. package/lib/components/ComparisonTable/ComparisonTableBody.js +28 -0
  175. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -0
  176. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  177. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +11 -0
  178. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -0
  179. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +1 -1
  180. package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  181. package/lib/components/ComparisonTable/ComparisonTableRows.js +8 -0
  182. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -0
  183. package/lib/components/ComparisonTable/TableColumn.js +2 -2
  184. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  185. package/lib/components/ContentPage/ContentPageHead.js +1 -1
  186. package/lib/components/ContentPage/ContentPageHead.js.map +1 -1
  187. package/lib/components/CreditCalculator/CreditCalculator.d.ts +1 -1
  188. package/lib/components/CreditCalculator/CreditCalculator.fixture.d.ts +3 -1
  189. package/lib/components/CreditCalculator/CreditCalculator.js +8 -47
  190. package/lib/components/CreditCalculator/CreditCalculator.js.map +1 -1
  191. package/lib/components/CreditCalculator/CreditCalculatorContent.d.ts +10 -2
  192. package/lib/components/CreditCalculator/CreditCalculatorForm.d.ts +5 -0
  193. package/lib/components/CreditCalculator/CreditCalculatorForm.js +51 -0
  194. package/lib/components/CreditCalculator/CreditCalculatorForm.js.map +1 -0
  195. package/lib/components/CreditCalculator/defaultTabs.d.ts +2 -0
  196. package/lib/components/CreditCalculator/defaultTabs.js +21 -0
  197. package/lib/components/CreditCalculator/defaultTabs.js.map +1 -0
  198. package/lib/components/Footer/Footer.fixture.d.ts +3 -1
  199. package/lib/components/Footer/Footer.fixture.mobile.d.ts +3 -1
  200. package/lib/components/Footer/Footer.mobile.js +5 -6
  201. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  202. package/lib/components/Footer/FooterContent.d.ts +1 -1
  203. package/lib/components/Gallery/Gallery.mobile.js +6 -6
  204. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  205. package/lib/components/Gallery/GalleryContent.d.ts +6 -0
  206. package/lib/components/Gallery/GalleryInner.js +1 -1
  207. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  208. package/lib/components/Header/Header.mobile.js +3 -2
  209. package/lib/components/Header/Header.mobile.js.map +1 -1
  210. package/lib/components/Header/HeaderBurger.d.ts +2 -2
  211. package/lib/components/Header/HeaderBurger.js +1 -1
  212. package/lib/components/Header/HeaderBurger.js.map +1 -1
  213. package/lib/components/Header/HeaderContent.d.ts +10 -4
  214. package/lib/components/Header/HeaderTop.js +1 -1
  215. package/lib/components/Header/HeaderTop.js.map +1 -1
  216. package/lib/components/Headline/Headline.fixture.d.ts +4 -2
  217. package/lib/components/Headline/Headline.fixture.mobile.d.ts +2 -3
  218. package/lib/components/Headline/Headline.js +3 -8
  219. package/lib/components/Headline/Headline.js.map +1 -1
  220. package/lib/components/Headline/Headline.mobile.js +3 -2
  221. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  222. package/lib/components/Headline/HeadlineContent.d.ts +2 -2
  223. package/lib/components/Headline/constants.d.ts +4 -0
  224. package/lib/components/Headline/constants.js +11 -0
  225. package/lib/components/Headline/constants.js.map +1 -0
  226. package/lib/components/LikeControl/LikeControl.fixture.d.ts +3 -1
  227. package/lib/components/LinkList/LinkList.fixture.d.ts +3 -1
  228. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +3 -1
  229. package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +3 -1
  230. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  231. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  232. package/lib/components/Navigation/Navigation.fixture.d.ts +3 -1
  233. package/lib/components/Placeholder/Placeholder.fixture.d.ts +3 -1
  234. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +3 -0
  235. package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -0
  236. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  237. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  238. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  239. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  240. package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +3 -1
  241. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -1
  242. package/lib/components/ProductTile/ProductTile.fixture.d.ts +2 -1
  243. package/lib/components/Recommendation/Recommendation.d.ts +5 -0
  244. package/lib/components/Recommendation/Recommendation.fixture.d.ts +6 -0
  245. package/lib/components/Recommendation/Recommendation.js +32 -0
  246. package/lib/components/Recommendation/Recommendation.js.map +1 -0
  247. package/lib/components/Recommendation/RecommendationCard.d.ts +7 -0
  248. package/lib/components/Recommendation/RecommendationCard.js +11 -0
  249. package/lib/components/Recommendation/RecommendationCard.js.map +1 -0
  250. package/lib/components/Recommendation/RecommendationContent.d.ts +14 -0
  251. package/lib/components/Recommendation/RecommendationContent.js +2 -0
  252. package/lib/components/Recommendation/RecommendationContent.js.map +1 -0
  253. package/lib/components/TariffsTable/TableTileHeader.d.ts +2 -0
  254. package/lib/components/TariffsTable/TableTileHeader.js +8 -0
  255. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -0
  256. package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +5 -0
  257. package/lib/components/TariffsTable/TariffsTable.js +14 -11
  258. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  259. package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +5 -0
  260. package/lib/components/TariffsTable/TariffsTable.mobile.js +19 -0
  261. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -0
  262. package/lib/components/TariffsTable/TariffsTableCell.js +2 -2
  263. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  264. package/lib/components/TariffsTable/TariffsTableContent.d.ts +22 -18
  265. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  266. package/lib/components/TariffsTable/TariffsTableHorizontal.js +6 -0
  267. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -0
  268. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +2 -0
  269. package/lib/components/TariffsTable/TariffsTableTileCell.js +12 -0
  270. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -0
  271. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +4 -0
  272. package/lib/components/TariffsTable/TariffsTableVertical.js +5 -0
  273. package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -0
  274. package/lib/components/TextBlock/TextBlock.fixture.d.ts +3 -1
  275. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +3 -1
  276. package/lib/components/TextBlock/TextBlock.mobile.js +1 -1
  277. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  278. package/lib/components/Tile/Tile.fixture.d.ts +1 -0
  279. package/lib/hooks/useTableArrowScrollControl.d.ts +7 -0
  280. package/lib/hooks/useTableArrowScrollControl.js +9 -0
  281. package/lib/hooks/useTableArrowScrollControl.js.map +1 -0
  282. package/lib/model/BlockVersion.d.ts +6 -1
  283. package/lib/model/ListOrientation.d.ts +8 -0
  284. package/lib/model/ListOrientation.js +2 -0
  285. package/lib/model/ListOrientation.js.map +1 -0
  286. package/lib/model/SitemapProps.d.ts +11 -0
  287. package/lib/services/sitemap/SitemapProps.d.ts +12 -1
  288. package/lib/ui-kit/Button/Button.d.ts +1 -0
  289. package/lib/ui-kit/Button/Button.js +6 -21
  290. package/lib/ui-kit/Button/Button.js.map +1 -1
  291. package/lib/ui-kit/Button/ButtonInner.js +16 -10
  292. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  293. package/lib/ui-kit/Description/Description.js +1 -1
  294. package/lib/ui-kit/Img/Img.d.ts +2 -1
  295. package/lib/ui-kit/Img/Img.js +2 -2
  296. package/lib/ui-kit/Img/Img.js.map +1 -1
  297. package/lib/ui-kit/Img/Img.mobile.d.ts +6 -2
  298. package/lib/ui-kit/Img/Img.mobile.js +10 -5
  299. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  300. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +8 -4
  301. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  302. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -1
  303. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  304. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  305. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +7 -0
  306. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -0
  307. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  308. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.js +2 -0
  309. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.js.map +1 -0
  310. package/lib/ui-kit/Tabs/Tabs.d.ts +2 -0
  311. package/lib/ui-kit/Tabs/Tabs.js +14 -0
  312. package/lib/ui-kit/Tabs/Tabs.js.map +1 -0
  313. package/lib/ui-kit/Tabs/TabsProps.d.ts +17 -0
  314. package/lib/ui-kit/Tabs/TabsProps.js +2 -0
  315. package/lib/ui-kit/Tabs/TabsProps.js.map +1 -0
  316. package/mobile/bundle/bundle.umd.js +268 -143
  317. package/mobile/bundle/bundle.umd.min.js +1 -1
  318. package/mobile/dist/components/Accordion/AccordionBlocks.d.ts +1 -0
  319. package/mobile/dist/components/Accordion/AccordionBlocks.js +2 -0
  320. package/mobile/dist/components/Accordion/AccordionBlocks.js.map +1 -1
  321. package/mobile/dist/components/Accordion/AccordionContent.d.ts +13 -2
  322. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  323. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  324. package/mobile/dist/components/Accordion/AccordionItemInner.js +1 -1
  325. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  326. package/mobile/dist/components/Blocks.d.ts +3 -1
  327. package/mobile/dist/components/Blocks.js +6 -2
  328. package/mobile/dist/components/Blocks.js.map +1 -1
  329. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  330. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +30 -0
  331. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -0
  332. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  333. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +13 -0
  334. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -0
  335. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +1 -1
  336. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  337. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +10 -0
  338. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -0
  339. package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -2
  340. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  341. package/mobile/dist/components/ContentPage/ContentPageHead.js +1 -1
  342. package/mobile/dist/components/ContentPage/ContentPageHead.js.map +1 -1
  343. package/mobile/dist/components/CreditCalculator/CreditCalculator.d.ts +1 -1
  344. package/mobile/dist/components/CreditCalculator/CreditCalculator.js +8 -47
  345. package/mobile/dist/components/CreditCalculator/CreditCalculator.js.map +1 -1
  346. package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.d.ts +10 -2
  347. package/mobile/dist/components/CreditCalculator/CreditCalculatorForm.d.ts +5 -0
  348. package/mobile/dist/components/CreditCalculator/CreditCalculatorForm.js +53 -0
  349. package/mobile/dist/components/CreditCalculator/CreditCalculatorForm.js.map +1 -0
  350. package/mobile/dist/components/CreditCalculator/defaultTabs.d.ts +2 -0
  351. package/mobile/dist/components/CreditCalculator/defaultTabs.js +23 -0
  352. package/mobile/dist/components/CreditCalculator/defaultTabs.js.map +1 -0
  353. package/mobile/dist/components/Footer/Footer.js +5 -6
  354. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  355. package/mobile/dist/components/Footer/FooterContent.d.ts +1 -1
  356. package/mobile/dist/components/Gallery/Gallery.js +6 -6
  357. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  358. package/mobile/dist/components/Gallery/GalleryContent.d.ts +6 -0
  359. package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
  360. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  361. package/mobile/dist/components/Header/Header.js +3 -2
  362. package/mobile/dist/components/Header/Header.js.map +1 -1
  363. package/mobile/dist/components/Header/HeaderBurger.d.ts +2 -2
  364. package/mobile/dist/components/Header/HeaderBurger.js +1 -1
  365. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  366. package/mobile/dist/components/Header/HeaderContent.d.ts +10 -4
  367. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  368. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  369. package/mobile/dist/components/Headline/Headline.js +3 -2
  370. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  371. package/mobile/dist/components/Headline/HeadlineContent.d.ts +2 -2
  372. package/mobile/dist/components/Headline/constants.d.ts +4 -0
  373. package/mobile/dist/components/Headline/constants.js +13 -0
  374. package/mobile/dist/components/Headline/constants.js.map +1 -0
  375. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -0
  376. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  377. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  378. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -1
  379. package/mobile/dist/components/Recommendation/Recommendation.d.ts +5 -0
  380. package/mobile/dist/components/Recommendation/Recommendation.js +34 -0
  381. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -0
  382. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +7 -0
  383. package/mobile/dist/components/Recommendation/RecommendationCard.js +13 -0
  384. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -0
  385. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +14 -0
  386. package/mobile/dist/components/Recommendation/RecommendationContent.js +2 -0
  387. package/mobile/dist/components/Recommendation/RecommendationContent.js.map +1 -0
  388. package/mobile/dist/components/TariffsTable/TableTileHeader.d.ts +2 -0
  389. package/mobile/dist/components/TariffsTable/TableTileHeader.js +10 -0
  390. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -0
  391. package/mobile/dist/components/TariffsTable/TariffsTable.js +14 -18
  392. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  393. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +2 -2
  394. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  395. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +22 -18
  396. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  397. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +8 -0
  398. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -0
  399. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +2 -0
  400. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +14 -0
  401. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -0
  402. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +4 -0
  403. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +7 -0
  404. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -0
  405. package/mobile/dist/components/TextBlock/TextBlock.js +1 -1
  406. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  407. package/mobile/dist/hooks/useTableArrowScrollControl.d.ts +7 -0
  408. package/mobile/dist/hooks/useTableArrowScrollControl.js +12 -0
  409. package/mobile/dist/hooks/useTableArrowScrollControl.js.map +1 -0
  410. package/mobile/dist/model/BlockVersion.d.ts +6 -1
  411. package/mobile/dist/model/ListOrientation.d.ts +8 -0
  412. package/mobile/dist/model/ListOrientation.js +2 -0
  413. package/mobile/dist/model/ListOrientation.js.map +1 -0
  414. package/mobile/dist/model/SitemapProps.d.ts +11 -0
  415. package/mobile/dist/services/sitemap/SitemapProps.d.ts +12 -1
  416. package/mobile/dist/ui-kit/Button/ButtonInner.js +16 -10
  417. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  418. package/mobile/dist/ui-kit/Description/Description.js +1 -1
  419. package/mobile/dist/ui-kit/Img/Img.d.ts +6 -2
  420. package/mobile/dist/ui-kit/Img/Img.js +10 -5
  421. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  422. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +7 -3
  423. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  424. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -1
  425. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  426. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  427. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +9 -0
  428. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -0
  429. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  430. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.js +2 -0
  431. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.js.map +1 -0
  432. package/mobile/dist/ui-kit/Tabs/Tabs.d.ts +2 -0
  433. package/mobile/dist/ui-kit/Tabs/Tabs.js +16 -0
  434. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -0
  435. package/mobile/dist/ui-kit/Tabs/TabsProps.d.ts +17 -0
  436. package/mobile/dist/ui-kit/Tabs/TabsProps.js +2 -0
  437. package/mobile/dist/ui-kit/Tabs/TabsProps.js.map +1 -0
  438. package/mobile/lib/components/Accordion/AccordionBlocks.d.ts +1 -0
  439. package/mobile/lib/components/Accordion/AccordionBlocks.js +2 -0
  440. package/mobile/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  441. package/mobile/lib/components/Accordion/AccordionContent.d.ts +13 -2
  442. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  443. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  444. package/mobile/lib/components/Accordion/AccordionItemInner.js +1 -1
  445. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  446. package/mobile/lib/components/Blocks.d.ts +3 -1
  447. package/mobile/lib/components/Blocks.js +6 -2
  448. package/mobile/lib/components/Blocks.js.map +1 -1
  449. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  450. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +28 -0
  451. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -0
  452. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  453. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +11 -0
  454. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -0
  455. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +1 -1
  456. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  457. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +8 -0
  458. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -0
  459. package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -2
  460. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  461. package/mobile/lib/components/ContentPage/ContentPageHead.js +1 -1
  462. package/mobile/lib/components/ContentPage/ContentPageHead.js.map +1 -1
  463. package/mobile/lib/components/CreditCalculator/CreditCalculator.d.ts +1 -1
  464. package/mobile/lib/components/CreditCalculator/CreditCalculator.js +8 -47
  465. package/mobile/lib/components/CreditCalculator/CreditCalculator.js.map +1 -1
  466. package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.d.ts +10 -2
  467. package/mobile/lib/components/CreditCalculator/CreditCalculatorForm.d.ts +5 -0
  468. package/mobile/lib/components/CreditCalculator/CreditCalculatorForm.js +51 -0
  469. package/mobile/lib/components/CreditCalculator/CreditCalculatorForm.js.map +1 -0
  470. package/mobile/lib/components/CreditCalculator/defaultTabs.d.ts +2 -0
  471. package/mobile/lib/components/CreditCalculator/defaultTabs.js +21 -0
  472. package/mobile/lib/components/CreditCalculator/defaultTabs.js.map +1 -0
  473. package/mobile/lib/components/Footer/Footer.js +5 -6
  474. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  475. package/mobile/lib/components/Footer/FooterContent.d.ts +1 -1
  476. package/mobile/lib/components/Gallery/Gallery.js +6 -6
  477. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  478. package/mobile/lib/components/Gallery/GalleryContent.d.ts +6 -0
  479. package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
  480. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  481. package/mobile/lib/components/Header/Header.js +3 -2
  482. package/mobile/lib/components/Header/Header.js.map +1 -1
  483. package/mobile/lib/components/Header/HeaderBurger.d.ts +2 -2
  484. package/mobile/lib/components/Header/HeaderBurger.js +1 -1
  485. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  486. package/mobile/lib/components/Header/HeaderContent.d.ts +10 -4
  487. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  488. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  489. package/mobile/lib/components/Headline/Headline.js +3 -2
  490. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  491. package/mobile/lib/components/Headline/HeadlineContent.d.ts +2 -2
  492. package/mobile/lib/components/Headline/constants.d.ts +4 -0
  493. package/mobile/lib/components/Headline/constants.js +11 -0
  494. package/mobile/lib/components/Headline/constants.js.map +1 -0
  495. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -0
  496. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  497. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  498. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -1
  499. package/mobile/lib/components/Recommendation/Recommendation.d.ts +5 -0
  500. package/mobile/lib/components/Recommendation/Recommendation.js +32 -0
  501. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -0
  502. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +7 -0
  503. package/mobile/lib/components/Recommendation/RecommendationCard.js +11 -0
  504. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -0
  505. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +14 -0
  506. package/mobile/lib/components/Recommendation/RecommendationContent.js +2 -0
  507. package/mobile/lib/components/Recommendation/RecommendationContent.js.map +1 -0
  508. package/mobile/lib/components/TariffsTable/TableTileHeader.d.ts +2 -0
  509. package/mobile/lib/components/TariffsTable/TableTileHeader.js +8 -0
  510. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -0
  511. package/mobile/lib/components/TariffsTable/TariffsTable.js +14 -18
  512. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  513. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -2
  514. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  515. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +22 -18
  516. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  517. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +6 -0
  518. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -0
  519. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +2 -0
  520. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +12 -0
  521. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -0
  522. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +4 -0
  523. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +5 -0
  524. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -0
  525. package/mobile/lib/components/TextBlock/TextBlock.js +1 -1
  526. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  527. package/mobile/lib/hooks/useTableArrowScrollControl.d.ts +7 -0
  528. package/mobile/lib/hooks/useTableArrowScrollControl.js +9 -0
  529. package/mobile/lib/hooks/useTableArrowScrollControl.js.map +1 -0
  530. package/mobile/lib/model/BlockVersion.d.ts +6 -1
  531. package/mobile/lib/model/ListOrientation.d.ts +8 -0
  532. package/mobile/lib/model/ListOrientation.js +2 -0
  533. package/mobile/lib/model/ListOrientation.js.map +1 -0
  534. package/mobile/lib/model/SitemapProps.d.ts +11 -0
  535. package/mobile/lib/services/sitemap/SitemapProps.d.ts +12 -1
  536. package/mobile/lib/ui-kit/Button/ButtonInner.js +16 -10
  537. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  538. package/mobile/lib/ui-kit/Description/Description.js +1 -1
  539. package/mobile/lib/ui-kit/Img/Img.d.ts +6 -2
  540. package/mobile/lib/ui-kit/Img/Img.js +10 -5
  541. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  542. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +8 -4
  543. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  544. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -1
  545. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  546. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  547. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +7 -0
  548. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -0
  549. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  550. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.js +2 -0
  551. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.js.map +1 -0
  552. package/mobile/lib/ui-kit/Tabs/Tabs.d.ts +2 -0
  553. package/mobile/lib/ui-kit/Tabs/Tabs.js +14 -0
  554. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -0
  555. package/mobile/lib/ui-kit/Tabs/TabsProps.d.ts +17 -0
  556. package/mobile/lib/ui-kit/Tabs/TabsProps.js +2 -0
  557. package/mobile/lib/ui-kit/Tabs/TabsProps.js.map +1 -0
  558. package/mobile/src/components/Accordion/AccordionBlocks.tsx +2 -0
  559. package/mobile/src/components/Accordion/AccordionContent.ts +16 -0
  560. package/mobile/src/components/Accordion/AccordionItem.tsx +2 -2
  561. package/mobile/src/components/Accordion/AccordionItemInner.tsx +1 -1
  562. package/mobile/src/components/Blocks.ts +6 -2
  563. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +68 -0
  564. package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +34 -0
  565. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +1 -1
  566. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +32 -0
  567. package/mobile/src/components/ComparisonTable/TableColumn.tsx +6 -2
  568. package/mobile/src/components/ContentPage/ContentPage.page.json +74 -0
  569. package/mobile/src/components/ContentPage/ContentPageHead.tsx +1 -1
  570. package/mobile/src/components/CreditCalculator/CreditCalculator.tsx +19 -81
  571. package/mobile/src/components/CreditCalculator/CreditCalculatorContent.ts +12 -2
  572. package/mobile/src/components/CreditCalculator/CreditCalculatorForm.tsx +92 -0
  573. package/mobile/src/components/CreditCalculator/defaultTabs.ts +22 -0
  574. package/mobile/src/components/Footer/Footer.tsx +9 -9
  575. package/mobile/src/components/Footer/FooterContent.ts +1 -1
  576. package/mobile/src/components/Gallery/Gallery.example.json +4 -0
  577. package/mobile/src/components/Gallery/Gallery.tsx +19 -9
  578. package/mobile/src/components/Gallery/GalleryContent.ts +6 -0
  579. package/mobile/src/components/Gallery/GalleryInner.tsx +2 -0
  580. package/mobile/src/components/Header/Header.tsx +5 -6
  581. package/mobile/src/components/Header/HeaderBurger.tsx +11 -6
  582. package/mobile/src/components/Header/HeaderContent.ts +12 -4
  583. package/mobile/src/components/Header/HeaderTop.tsx +5 -1
  584. package/mobile/src/components/Headline/Headline.example.json +1 -1
  585. package/mobile/src/components/Headline/Headline.tsx +20 -4
  586. package/mobile/src/components/Headline/HeadlineContent.ts +2 -3
  587. package/mobile/src/components/Headline/constants.ts +14 -0
  588. package/mobile/src/components/MiniGallery/MiniGallery.example.json +8 -4
  589. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +1 -0
  590. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -1
  591. package/mobile/src/components/ProductGallery/ProductGallery.example.json +2 -1
  592. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +1 -1
  593. package/mobile/src/components/ProductTile/ProductTile.example.json +1 -0
  594. package/mobile/src/components/Recommendation/Recommendation.example.json +38 -0
  595. package/mobile/src/components/Recommendation/Recommendation.tsx +105 -0
  596. package/mobile/src/components/Recommendation/RecommendationCard.tsx +33 -0
  597. package/mobile/src/components/Recommendation/RecommendationContent.ts +19 -0
  598. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +15 -0
  599. package/mobile/src/components/TariffsTable/TariffsTable.example.json +7 -1
  600. package/mobile/src/components/TariffsTable/TariffsTable.tsx +41 -65
  601. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +3 -3
  602. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +31 -23
  603. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +16 -0
  604. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +61 -0
  605. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +11 -0
  606. package/mobile/src/components/TextBlock/TextBlock.tsx +2 -2
  607. package/mobile/src/hooks/useTableArrowScrollControl.ts +22 -0
  608. package/mobile/src/model/BlockVersion.ts +7 -1
  609. package/mobile/src/model/ListOrientation.ts +8 -0
  610. package/mobile/src/model/SitemapProps.ts +12 -0
  611. package/mobile/src/services/sitemap/SitemapProps.ts +13 -1
  612. package/mobile/src/ui-kit/Button/ButtonInner.tsx +25 -21
  613. package/mobile/src/ui-kit/Description/Description.tsx +1 -1
  614. package/mobile/src/ui-kit/Img/Img.tsx +29 -15
  615. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +17 -20
  616. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +12 -0
  617. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +27 -0
  618. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +7 -0
  619. package/mobile/src/ui-kit/Tabs/Tabs.tsx +46 -0
  620. package/mobile/src/ui-kit/Tabs/TabsProps.ts +20 -0
  621. package/package.json +12 -2
  622. package/src/components/Accordion/Accordion.fixture.mobile.tsx +7 -5
  623. package/src/components/Accordion/Accordion.fixture.tsx +80 -14
  624. package/src/components/Accordion/AccordionBlocks.tsx +2 -0
  625. package/src/components/Accordion/AccordionContent.ts +16 -0
  626. package/src/components/Accordion/AccordionItem.mobile.tsx +2 -2
  627. package/src/components/Accordion/AccordionItem.tsx +4 -2
  628. package/src/components/Accordion/AccordionItemInner.mobile.tsx +1 -1
  629. package/src/components/Accordion/AccordionItemInner.tsx +21 -16
  630. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +36 -33
  631. package/src/components/Blocks.mobile.ts +6 -2
  632. package/src/components/Blocks.ts +2 -0
  633. package/src/components/ComparisonTable/ComparisonTable.tsx +38 -99
  634. package/src/components/ComparisonTable/ComparisonTableBody.tsx +68 -0
  635. package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +34 -0
  636. package/src/components/ComparisonTable/ComparisonTableContent.ts +1 -1
  637. package/src/components/ComparisonTable/ComparisonTableRows.tsx +32 -0
  638. package/src/components/ComparisonTable/TableColumn.tsx +6 -2
  639. package/src/components/ContentPage/ContentPage.page.json +74 -0
  640. package/src/components/ContentPage/ContentPageHead.tsx +1 -1
  641. package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +30 -10
  642. package/src/components/CreditCalculator/CreditCalculator.tsx +19 -81
  643. package/src/components/CreditCalculator/CreditCalculatorContent.ts +12 -2
  644. package/src/components/CreditCalculator/CreditCalculatorForm.tsx +92 -0
  645. package/src/components/CreditCalculator/defaultTabs.ts +22 -0
  646. package/src/components/Footer/Footer.fixture.mobile.tsx +88 -281
  647. package/src/components/Footer/Footer.fixture.tsx +143 -141
  648. package/src/components/Footer/Footer.mobile.tsx +9 -9
  649. package/src/components/Footer/FooterContent.ts +1 -1
  650. package/src/components/Gallery/Gallery.example.json +4 -0
  651. package/src/components/Gallery/Gallery.fixture.mobile.tsx +9 -4
  652. package/src/components/Gallery/Gallery.mobile.tsx +19 -9
  653. package/src/components/Gallery/GalleryContent.ts +6 -0
  654. package/src/components/Gallery/GalleryInner.tsx +2 -0
  655. package/src/components/Header/Header.fixture.mobile.tsx +1 -203
  656. package/src/components/Header/Header.mobile.tsx +5 -6
  657. package/src/components/Header/HeaderBurger.tsx +11 -6
  658. package/src/components/Header/HeaderContent.ts +12 -4
  659. package/src/components/Header/HeaderTop.tsx +5 -1
  660. package/src/components/Headline/Headline.example.json +1 -1
  661. package/src/components/Headline/Headline.fixture.mobile.tsx +39 -15
  662. package/src/components/Headline/Headline.fixture.tsx +20 -17
  663. package/src/components/Headline/Headline.mobile.tsx +20 -4
  664. package/src/components/Headline/Headline.tsx +9 -12
  665. package/src/components/Headline/HeadlineContent.ts +2 -3
  666. package/src/components/Headline/constants.ts +14 -0
  667. package/src/components/LikeControl/LikeControl.fixture.tsx +7 -5
  668. package/src/components/LinkList/LinkList.fixture.tsx +8 -10
  669. package/src/components/MiniGallery/MiniGallery.example.json +8 -4
  670. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +11 -9
  671. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +32 -30
  672. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  673. package/src/components/Navigation/Navigation.fixture.tsx +26 -24
  674. package/src/components/Placeholder/Placeholder.fixture.tsx +7 -5
  675. package/src/components/ProductBlock/ProductBlock.fixture.tsx +27 -11
  676. package/src/components/ProductBlock/ProductBlockContent.ts +1 -0
  677. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -1
  678. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
  679. package/src/components/ProductGallery/ProductGallery.example.json +2 -1
  680. package/src/components/ProductGallery/ProductGallery.fixture.tsx +104 -102
  681. package/src/components/ProductGallery/ProductGalleryContent.ts +1 -1
  682. package/src/components/ProductTile/ProductTile.example.json +1 -0
  683. package/src/components/ProductTile/ProductTile.fixture.tsx +50 -117
  684. package/src/components/Recommendation/Recommendation.example.json +38 -0
  685. package/src/components/Recommendation/Recommendation.fixture.tsx +73 -0
  686. package/src/components/Recommendation/Recommendation.tsx +105 -0
  687. package/src/components/Recommendation/RecommendationCard.tsx +33 -0
  688. package/src/components/Recommendation/RecommendationContent.ts +19 -0
  689. package/src/components/TariffsTable/TableTileHeader.tsx +15 -0
  690. package/src/components/TariffsTable/TariffsTable.example.json +7 -1
  691. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +164 -0
  692. package/src/components/TariffsTable/TariffsTable.fixture.tsx +5 -1
  693. package/src/components/TariffsTable/TariffsTable.mobile.tsx +54 -0
  694. package/src/components/TariffsTable/TariffsTable.tsx +51 -47
  695. package/src/components/TariffsTable/TariffsTableCell.tsx +3 -3
  696. package/src/components/TariffsTable/TariffsTableContent.ts +31 -23
  697. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +16 -0
  698. package/src/components/TariffsTable/TariffsTableTileCell.tsx +61 -0
  699. package/src/components/TariffsTable/TariffsTableVertical.tsx +11 -0
  700. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +105 -93
  701. package/src/components/TextBlock/TextBlock.fixture.tsx +91 -64
  702. package/src/components/TextBlock/TextBlock.mobile.tsx +2 -2
  703. package/src/components/Tile/Tile.fixture.tsx +17 -35
  704. package/src/hooks/useTableArrowScrollControl.ts +22 -0
  705. package/src/model/BlockVersion.ts +7 -1
  706. package/src/model/ListOrientation.ts +8 -0
  707. package/src/model/SitemapProps.ts +12 -0
  708. package/src/services/sitemap/SitemapProps.ts +13 -1
  709. package/src/ui-kit/Button/Button.tsx +32 -54
  710. package/src/ui-kit/Button/ButtonInner.tsx +25 -21
  711. package/src/ui-kit/Description/Description.tsx +1 -1
  712. package/src/ui-kit/Img/Img.mobile.tsx +29 -15
  713. package/src/ui-kit/Img/Img.tsx +27 -24
  714. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +1 -1
  715. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +17 -20
  716. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +12 -0
  717. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +27 -0
  718. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +7 -0
  719. package/src/ui-kit/Tabs/Tabs.tsx +46 -0
  720. package/src/ui-kit/Tabs/TabsProps.ts +20 -0
  721. package/dist/hooks/useComparisonTableScroll.d.ts +0 -12
  722. package/dist/hooks/useComparisonTableScroll.js +0 -12
  723. package/dist/hooks/useComparisonTableScroll.js.map +0 -1
  724. package/lib/hooks/useComparisonTableScroll.d.ts +0 -12
  725. package/lib/hooks/useComparisonTableScroll.js +0 -9
  726. package/lib/hooks/useComparisonTableScroll.js.map +0 -1
  727. package/mobile/dist/hooks/useComparisonTableScroll.d.ts +0 -12
  728. package/mobile/dist/hooks/useComparisonTableScroll.js +0 -12
  729. package/mobile/dist/hooks/useComparisonTableScroll.js.map +0 -1
  730. package/mobile/lib/hooks/useComparisonTableScroll.d.ts +0 -12
  731. package/mobile/lib/hooks/useComparisonTableScroll.js +0 -9
  732. package/mobile/lib/hooks/useComparisonTableScroll.js.map +0 -1
  733. package/mobile/src/hooks/useComparisonTableScroll.ts +0 -21
  734. package/src/hooks/useComparisonTableScroll.ts +0 -21
@@ -16,7 +16,7 @@ export interface ProductSlide {
16
16
  productBlock: ProductBlockInnerContent;
17
17
  }
18
18
  /**
19
- * @title Продуктовая галерея
19
+ * @title Продуктовая галерея (для мобильных горизонтальная прокрутка shift+mouseScroll)
20
20
  */
21
21
  export interface ProductGalleryContent {
22
22
  /**
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../types';
2
+ import type { RecommendationContent } from './RecommendationContent';
3
+ export interface RecommendationProps extends RecommendationContent, UniBlockProps {
4
+ }
5
+ export declare const Recommendation: (props: import("@redneckz/uni-jsx").PropsWithChildren<RecommendationProps, any>, context?: any) => any;
@@ -0,0 +1,32 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { ArrowButton } from '../../ui-kit/Button/ArrowButton.js';
4
+ import { Heading } from '../../ui-kit/Heading/Heading.js';
5
+ import { RecommendationCard } from './RecommendationCard.js';
6
+ const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
7
+ const CARD_FULL_VIEW_COUNT = 2;
8
+ const CARD_SHIFT = 525;
9
+ export const Recommendation = JSX(({ context, recommendations = [], className = '', title, version }) => {
10
+ const [activeCardIndex, setActiveCardIndex] = context.useState(0);
11
+ const blockClassName = version === 'secondary' ? 'bg-primary-main text-white' : 'bg-white text-primary-text';
12
+ const cardClassName = version === 'secondary' ? 'border-main-divider' : 'border-main-stroke';
13
+ return (_jsxs("section", { className: `relative font-sans p-[50px] overflow-hidden ${blockClassName} ${className}`, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-8", title: title }) : null, _jsx("div", { className: "flex duration-1000 gap-4", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
14
+ ? recommendations.map(renderRecommendationCard({ context, version, className: cardClassName }))
15
+ : null }), renderNavButtons({
16
+ cardsCount: recommendations.length,
17
+ activeCardIndex,
18
+ setActiveCardIndex,
19
+ }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
20
+ });
21
+ const renderRecommendationCard = ({ context, version, className }) => (card, i) => {
22
+ return (_jsx(RecommendationCard, { context: context, ...card, version: version, className: className }, String(i)));
23
+ };
24
+ const renderNavButtons = ({ cardsCount, activeCardIndex, setActiveCardIndex, }) => {
25
+ const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
26
+ const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
27
+ const isUseSlider = cardsCount > CARD_FULL_VIEW_COUNT;
28
+ const showNextButton = isUseSlider && cardsCount - activeCardIndex > CARD_FULL_VIEW_COUNT;
29
+ const showPrevButton = isUseSlider && activeCardIndex > 0;
30
+ return (_jsxs("div", { children: [showPrevButton && (_jsx(ArrowButton, { className: "absolute top-1/2 left-8 rotate-180 z-10 mt-6", onClick: handlePrevClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E" })), showNextButton && (_jsx(ArrowButton, { className: "absolute top-1/2 right-8 z-10 mt-6", onClick: handleNextClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E" }))] }));
31
+ };
32
+ //# sourceMappingURL=Recommendation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAC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+1,7 @@
1
+ import type { BlockVersion } from '../../model/BlockVersion';
2
+ import type { UniBlockProps } from '../../types';
3
+ import type { RecommendationCardContent } from './RecommendationContent';
4
+ export interface RecommendationCardProps extends RecommendationCardContent, UniBlockProps {
5
+ version?: BlockVersion;
6
+ }
7
+ export declare const RecommendationCard: (props: import("@redneckz/uni-jsx").PropsWithChildren<RecommendationCardProps, any>, context?: any) => any;
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { Description } from '../../ui-kit/Description/Description.js';
4
+ import { Heading } from '../../ui-kit/Heading/Heading.js';
5
+ import { Img } from '../../ui-kit/Img/Img.js';
6
+ import { List } from '../../ui-kit/List/List.js';
7
+ import { BaseTile } from '../BaseTile/BaseTile.js';
8
+ export const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version }) => {
9
+ return (_jsx("section", { className: `border border-solid box-border rounded-md p-7 min-w-[515px] max-w-[515px] ${className}`, role: "listitem", children: _jsxs(BaseTile, { context: context, title: title && _jsx(Heading, { headingType: "h4", title: title, className: "mb-4" }), image: image?.src && _jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? _jsx(Description, { description: description }) : null, items?.length ? _jsx(List, { items: items, version: version }) : null] }) }));
10
+ });
11
+ //# sourceMappingURL=RecommendationCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAOhD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CACnC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACzE,OAAO,CACL,kBACE,SAAS,EAAE,6EAA6E,SAAS,EAAE,EACnG,IAAI,EAAC,UAAU,YAEf,MAAC,QAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,IAAI,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,MAAM,GAAG,EAC3E,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,KAAC,GAAG,IAAC,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,aAElE,WAAW,CAAC,CAAC,CAAC,KAAC,WAAW,IAAC,WAAW,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9D,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,IACvD,GACH,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { BlockVersion } from '../../model/BlockVersion';
2
+ import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
3
+ import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
4
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
+ import type { ListContent } from '../../ui-kit/List/ListContent';
6
+ export declare type RecommendationCardContent = HeadingContent & DescriptionContent & ListContent & ImageContent;
7
+ /**
8
+ * @title Рекомендации
9
+ */
10
+ export interface RecommendationContent extends HeadingContent {
11
+ /** @title Карточки */
12
+ recommendations?: RecommendationCardContent[];
13
+ version?: BlockVersion;
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=RecommendationContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecommendationContent.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationContent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import type { TariffsTableRowHeader } from './TariffsTableContent';
2
+ export declare const TableTileHeader: (props: import("@redneckz/uni-jsx").PropsWithChildren<TariffsTableRowHeader, any>, context?: any) => any;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { Heading } from '../../ui-kit/Heading/Heading.js';
4
+ import { Icon } from '../../ui-kit/Icon/Icon.js';
5
+ export const TableTileHeader = JSX(({ title, icon }) => {
6
+ return (_jsxs("div", { className: "flex gap-2.5 mb-2", children: [title ? _jsx(Heading, { headingType: "h3", className: "font-medium", title: title }) : null, icon ? (_jsx(Icon, { className: "ml-auto max-w-6 max-h-6", name: icon, width: "24px", height: "24px" })) : null] }));
7
+ });
8
+ //# sourceMappingURL=TableTileHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableTileHeader.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TableTileHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAwB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IAC5E,OAAO,CACL,eAAK,SAAS,EAAC,mBAAmB,aAC/B,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACjF,IAAI,CAAC,CAAC,CAAC,CACN,KAAC,IAAI,IAAC,SAAS,EAAC,yBAAyB,EAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,GAAG,CACpF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,23 +1,19 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useComparisonTableScroll } from '../../hooks/useComparisonTableScroll.js';
4
- import { ArrowButton } from '../../ui-kit/Button/ArrowButton.js';
5
3
  import { Heading } from '../../ui-kit/Heading/Heading.js';
6
- import { COLS_LENGTH_FOR_SCROLL } from './constants.js';
7
- import { TariffsTableRow } from './TariffsTableRow.js';
8
- export const TariffsTable = JSX(({ className, context, title, rowHeaders, columns }) => {
9
- const [activeCardIndex, setActiveCardIndex] = context.useState(0);
10
- const colData = columns?.map(({ data }) => data) || [];
11
- const rowData = rowHeaders?.map((header, i) => ({
12
- header,
13
- data: colData.map((col) => col?.[i] || [{}]),
14
- }));
15
- const { nextClick, prevClick, isScrollAvailable, showNextButton, showPrevButton } = useComparisonTableScroll({
16
- colData,
17
- colsLengthForScroll: COLS_LENGTH_FOR_SCROLL,
18
- activeCardIndex,
19
- setActiveCardIndex,
20
- });
21
- return (_jsxs("section", { className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, children: [_jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), _jsxs("div", { role: "table", children: [rowData?.length ? (_jsxs("div", { className: "relative", children: [rowData.map((row, i, { length }) => (_jsx(TariffsTableRow, { row: row, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex }, String(i)))), isScrollAvailable ? (_jsx("div", { children: _jsxs("div", { className: "absolute top-7 right-7 z-10", children: [_jsx(ArrowButton, { onClick: nextClick, disabled: !showNextButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E" }), _jsx(ArrowButton, { className: "mt-4 rotate-180", onClick: prevClick, disabled: !showPrevButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E" })] }) })) : null] })) : null, isScrollAvailable ? (_jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] })] }));
4
+ import { TariffsTableVertical } from './TariffsTableVertical.js';
5
+ import { TariffsTableHorizontal } from './TariffsTableHorizontal.js';
6
+ export const TariffsTable = JSX(({ className, context, title, description, columns, rowHeaders, orientation = 'vertical' }) => {
7
+ const colData = getColData(columns);
8
+ const tiles = getTiles(rowHeaders, colData);
9
+ return (_jsxs("section", { className: `px-4 py-6 bg-white font-sans text-primary-text ${className}`, children: [title ? (_jsx(Heading, { headingType: "h2", className: `text-center ${description ? 'mb-2' : 'mb-5'}`, title: title })) : null, description ? _jsx("div", { className: "mb-5 text-center text-m-md", children: description }) : null, tiles?.length ? renderOrientationTable(orientation, tiles, context) : null] }));
22
10
  });
11
+ function renderOrientationTable(orientation, tiles, context) {
12
+ return orientation === 'vertical' ? (_jsx(TariffsTableVertical, { tiles: tiles })) : (_jsx(TariffsTableHorizontal, { context: context, tiles: tiles }));
13
+ }
14
+ const getColData = (columns) => columns?.[0].data ? columns[0].data : [];
15
+ const getTiles = (rowHeaders, colData) => rowHeaders?.map((header, i) => ({
16
+ header,
17
+ data: colData?.[i] || [{}],
18
+ }));
23
19
  //# sourceMappingURL=TariffsTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,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AK,EAAE,KAAK,GACZ,EACF,eAAK,IAAI,EAAC,OAAO,aACd,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,eAAK,SAAS,EAAC,UAAU,aACtB,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACnC,KAAC,eAAe,IAEd,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,CAAC,GAAG,CAAC,KAAK,MAAM,EAC3B,eAAe,EAAE,eAAe,IAH3B,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC,EACD,iBAAiB,CAAC,CAAC,CAAC,CACnB,wBACE,eAAK,SAAS,EAAC,6BAA6B,aAC1C,KAAC,WAAW,IACV,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,CAAC,cAAc,EACzB,SAAS,EAAC,mGAAmB,GAC7B,EACF,KAAC,WAAW,IACV,SAAS,EAAC,iBAAiB,EAC3B,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,CAAC,cAAc,EACzB,SAAS,EAAC,6FAAkB,GAC5B,IACE,GACF,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,EACP,iBAAiB,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,8DAA8D,GAAG,CACjF,CAAC,CAAC,CAAC,IAAI,IACJ,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAIlE,MAAM,CAAC,MAAM,Y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C,CAAC,EAAE,CAAC;AAE3C,MAAM,QAAQ,GAAG,CACf,UAA+C,EAC/C,OAAiC,EACjC,EAAE,CACF,UAAU,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC9B,MAAM;IACN,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;CAC3B,CAAC,CAAC,CAAC"}
@@ -6,9 +6,9 @@ import { Icon } from '../../ui-kit/Icon/Icon.js';
6
6
  import { Img } from '../../ui-kit/Img/Img.js';
7
7
  export const TariffsTableCell = JSX(({ cell, isLastRow }) => {
8
8
  const cellWrapperClasses = `first:pl-0 pl-10 w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0 ${isLastRow ? 'border-t-0 rounded-b-md' : ''}`;
9
- return (_jsx("div", { className: cellWrapperClasses, role: "cell", children: _jsx("div", { children: cell.map((item, i) => renderCellInner(item, i)) }) }));
9
+ return (_jsx("div", { className: cellWrapperClasses, role: "cell", children: _jsx("div", { children: cell.map(renderCellInner) }) }));
10
10
  });
11
- const renderCellInner = ({ label, description, list, image, buttons }, i) => (_jsxs("div", { className: "first:pt-5 last:pb-5", children: [i > 0 && (_jsx("div", { className: "border-main-divider border border-solid border-t-0 border-x-0 my-4" })), label && _jsx("div", { className: "text-xl font-medium m-0", children: label }), description && _jsx("div", { className: "text-sm text-secondary-text", children: description }), list?.items?.length ? (_jsx("div", { className: "flex flex-col justify-between items-start", children: _jsx("div", { role: "list", children: list.items.map((text, idx) => (_jsx(BlockItem, { className: "text-sm", text: text, version: "gray", isDotted: list.isDotted ?? true }, String(idx)))) }) })) : null, image && _jsx(Img, { image: image }), buttons?.length
11
+ const renderCellInner = ({ label, description, list, image, buttons }, i) => (_jsxs("div", { className: "first:pt-5 last:pb-5", children: [i > 0 && (_jsx("div", { className: "border-main-divider border border-solid border-t-0 border-x-0 my-4" })), label ? _jsx("div", { className: "text-xl font-medium m-0", children: label }) : null, description ? _jsx("div", { className: "text-sm text-secondary-text", children: description }) : null, list?.items?.length ? (_jsx("div", { className: "flex flex-col justify-between items-start", children: _jsx("div", { role: "list", children: list.items.map((text, idx) => (_jsx(BlockItem, { className: "text-sm", text: text, version: "gray", isDotted: list.isDotted ?? true }, String(idx)))) }) })) : null, image && _jsx(Img, { image: image }), buttons?.length
12
12
  ? buttons.map(({ icon, ...buttonProps }, idx) => (_jsx(Button, { className: `${idx > 0 ? 'ml-3' : ''} w-12 h-12`, appendLeft: icon && _jsx(Icon, { name: icon, width: "24px", height: "24px", asSVG: true }), ...buttonProps }, String(idx))))
13
13
  : null] }, String(i)));
14
14
  //# sourceMappingURL=TariffsTableCell.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAQ3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAwB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE;IACjF,MAAM,kBAAkB,GAAG,+GACzB,SAAS,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAC1C,EAAE,CAAC;IAEH,OAAO,CACL,cAAK,SAAS,EAAE,kBAAkB,EAAE,IAAI,EAAC,MAAM,YAC7C,wBAAM,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,GAAO,GACxD,CACP,CAAC;AACJ,CAAC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SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACrF,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACrB,cAAK,SAAS,EAAC,2CAA2C,YACxD,cAAK,IAAI,EAAC,MAAM,YACb,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,CAAC,CAC7B,KAAC,SAAS,IACR,SAAS,EAAC,SAAS,EAEnB,IAAI,EAAE,IAAI,EACV,OAAO,EAAC,MAAM,EACd,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,IAH1B,MAAM,CAAC,GAAG,CAAC,CAIhB,CACH,CAAC,GACE,GACF,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,IAAI,KAAC,GAAG,IAAC,KAAK,EAAE,KAAK,GAAI,EAC9B,OAAO,EAAE,MAAM;YACd,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAC7C,KAAC,MAAM,IACL,SAAS,EAAE,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,EAE/C,UAAU,EAAE,IAAI,IAAI,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,SAAG,KACrE,WAAW,IAFV,MAAM,CAAC,GAAG,CAAC,CAGhB,CACH,CAAC;YACJ,CAAC,CAAC,IAAI,KA/BA,MAAM,CAAC,CAAC,CAAC,CAgCb,CACP,CAAC"}
@@ -1,7 +1,11 @@
1
1
  import type { IconName } from '../../icons/IconName';
2
- import type { Picture } from '../../model/Picture';
3
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
- import type { CellData, RowHeader } from '../ComparisonTable/ComparisonTableContent';
2
+ import type { CellData } from '../ComparisonTable/ComparisonTableContent';
3
+ import type { ListOrientation } from '../../model/ListOrientation';
4
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
6
+ import type { ListContent } from '../../ui-kit/List/ListContent';
7
+ import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
8
+ import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
5
9
  /**
6
10
  * @title Ряд
7
11
  */
@@ -19,35 +23,35 @@ export interface TariffsTableColumn {
19
23
  /**
20
24
  * @title Список
21
25
  */
22
- export interface TariffsTableList {
26
+ export declare type TariffsTableList = ListContent & {
23
27
  /** @title Маркеры */
24
28
  isDotted?: boolean;
25
- /** @title Элементы списка */
26
- items?: string[];
27
- }
29
+ };
28
30
  /**
29
31
  * @title Ячейка
30
32
  */
31
- export interface TariffsTableCellData extends CellData {
33
+ export declare type TariffsTableCellData = CellData & ImageContent & ButtonContent & {
32
34
  list?: TariffsTableList;
33
- image?: Picture;
34
- /** @title Кнопки */
35
- buttons?: ButtonWithIconProps[];
36
- }
35
+ };
37
36
  /**
38
37
  * @title Параметр
39
38
  */
40
- export interface TariffsTableRowHeader extends RowHeader {
39
+ export declare type TariffsTableRowHeader = HeadingContent & {
41
40
  icon?: IconName;
42
- }
41
+ };
43
42
  /**
44
43
  * @title Таблица тарифов
45
44
  */
46
- export interface TariffsTableContent {
47
- /** @title Заголовок */
48
- title?: string;
45
+ export declare type TariffsTableContent = HeadingContent & DescriptionContent & {
49
46
  /** @title Колонки */
50
47
  columns?: TariffsTableColumn[];
51
48
  /** @title Параметры */
52
49
  rowHeaders?: TariffsTableRowHeader[];
53
- }
50
+ /** @title Направление таблицы (моб.) */
51
+ orientation?: ListOrientation;
52
+ };
53
+ /** @hidden */
54
+ export declare type TariffsTableTileCellProps = {
55
+ header: TariffsTableRowHeader;
56
+ data: TariffsTableCellData[];
57
+ };
@@ -0,0 +1,6 @@
1
+ import type { ContentPageContext } from '../ContentPage/ContentPageContext';
2
+ import type { TariffsTableTileCellProps } from './TariffsTableContent';
3
+ export declare const TariffsTableHorizontal: (props: import("@redneckz/uni-jsx").PropsWithChildren<{
4
+ context: ContentPageContext;
5
+ tiles: TariffsTableTileCellProps[];
6
+ }, any>, context?: any) => any;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
4
+ import { TariffsTableTileCell } from './TariffsTableTileCell.js';
5
+ export const TariffsTableHorizontal = JSX(({ tiles, context }) => (_jsx(SwipeListControl, { context: context, children: tiles.map((tile, i) => (_jsx(TariffsTableTileCell, { ...tile }, String(i)))) })));
6
+ //# sourceMappingURL=TariffsTableHorizontal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TariffsTableHorizontal.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableHorizontal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAGtC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACzB,KAAC,gBAAgB,IAAC,OAAO,EAAE,OAAO,YAC/B,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,oBAAoB,OAAqB,IAAI,IAAnB,MAAM,CAAC,CAAC,CAAC,CAAc,CACnD,CAAC,GACe,CACpB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { TariffsTableTileCellProps } from './TariffsTableContent';
2
+ export declare const TariffsTableTileCell: (props: import("@redneckz/uni-jsx").PropsWithChildren<TariffsTableTileCellProps, any>, context?: any) => any;
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { TableTileHeader } from './TableTileHeader.js';
4
+ import { BlockItem } from '../../ui-kit/BlockItem/BlockItem.js';
5
+ import { Img } from '../../ui-kit/Img/Img.js';
6
+ import { Button } from '../../ui-kit/Button/Button.js';
7
+ import { Icon } from '../../ui-kit/Icon/Icon.js';
8
+ export const TariffsTableTileCell = JSX(({ header, data }) => {
9
+ return (_jsxs("div", { className: "rounded-md border-main-stroke h-full box-border border p-4", children: [_jsx(TableTileHeader, { ...header }), data?.length ? data.map(renderCellInner) : null] }));
10
+ });
11
+ const renderCellInner = ({ label, description, list, image, buttons }, i) => (_jsxs("div", { children: [i > 0 && (_jsx("div", { className: "border-main-divider border border-solid border-t-0 border-x-0 my-2" })), label ? _jsx("div", { className: "text-m-sm m-0", children: label }) : null, description ? (_jsx("div", { className: "text-m-sm text-secondary-text mt-[3px]", children: description })) : null, list?.items?.length ? (_jsx("div", { className: "flex flex-col justify-between items-start", children: _jsx("div", { role: "list", children: list.items.map((text, idx) => (_jsx(BlockItem, { className: "text-m-sm", text: text, version: "gray", isDotted: list.isDotted ?? true }, String(idx)))) }) })) : null, image && _jsx(Img, { image: { ...image, className: 'm-0' } }), buttons?.length ? (_jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (_jsx(Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${icon ? 'w-12 h-12' : ''}`, rounded: rounded, appendLeft: icon && _jsx(Icon, { name: icon, width: "24px", height: "24px", asSVG: true }), ...buttonProps, "aria-label": icon }, String(idx)))) })) : null] }, String(i)));
12
+ //# sourceMappingURL=TariffsTableTileCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TariffsTableTileCell.js","sourceRoot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,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,CAAC,CAC7B,KAAC,SAAS,IACR,SAAS,EAAC,WAAW,EAErB,IAAI,EAAE,IAAI,EACV,OAAO,EAAC,MAAM,EACd,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,IAH1B,MAAM,CAAC,GAAG,CAAC,CAIhB,CACH,CAAC,GACE,GACF,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,IAAI,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,GAAG,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,GAAI,EACvD,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,wBACG,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,WAAW,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACvD,KAAC,MAAM,IACL,SAAS,EAAE,QAAQ,GAAG,GAAG,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,EAElF,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,IAAI,IAAI,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,SAAG,KACrE,WAAW,gBACH,IAAI,IAJX,MAAM,CAAC,GAAG,CAAC,CAKhB,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,KArCA,MAAM,CAAC,CAAC,CAAC,CAsCb,CACP,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { TariffsTableTileCellProps } from './TariffsTableContent';
2
+ export declare const TariffsTableVertical: (props: import("@redneckz/uni-jsx").PropsWithChildren<{
3
+ tiles: TariffsTableTileCellProps[];
4
+ }, any>, context?: any) => any;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { TariffsTableTileCell } from './TariffsTableTileCell.js';
4
+ export const TariffsTableVertical = JSX(({ tiles }) => (_jsx("div", { className: "flex flex-col gap-3.5", children: tiles.map((tile, i) => (_jsx(TariffsTableTileCell, { ...tile }, String(i)))) })));
5
+ //# sourceMappingURL=TariffsTableVertical.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TariffsTableVertical.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableVertical.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAyC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC7F,cAAK,SAAS,EAAC,uBAAuB,YACnC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,oBAAoB,OAAqB,IAAI,IAAnB,MAAM,CAAC,CAAC,CAAC,CAAc,CACnD,CAAC,GACE,CACP,CAAC,CAAC"}
@@ -24,7 +24,7 @@ const textBlockStyleMaps = {
24
24
  };
25
25
  export const TextBlock = JSX(({ title, description, blockVersion = 'primary', iconVersion, image, className = '', items, isDotted = true, }) => {
26
26
  const textBlockStyleMap = textBlockStyleMaps[blockVersion];
27
- return (_jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col ${textBlockStyleMap.background} ${className}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { className: "py-0.5", children: [title ? (_jsx("div", { className: `font-medium text-base mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (_jsx("div", { className: `text-sm ${textBlockStyleMap.description}`, children: description })) : null, items?.length ? (_jsx(List, { items: items, isDotted: isDotted, version: "gray", className: "mt-1 text-m-sm text-secondary-text" })) : null] })] }));
27
+ return (_jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col ${textBlockStyleMap.background} ${className}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { className: "py-0.5", children: [title ? (_jsx("div", { className: `font-medium text-base mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (_jsx("div", { className: `text-sm ${textBlockStyleMap.description}`, children: description })) : null, items?.length ? (_jsx(List, { className: "mt-1", items: items, isDotted: isDotted, version: blockVersion.indexOf('secondary') !== -1 ? 'secondary' : 'gray' })) : null] })] }));
28
28
  });
29
29
  function renderIcon(className) {
30
30
  return (_jsx("div", { className: "mb-3", children: _jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs ${className}`, children: "i" }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"TextBlock.js","sourceRoot":"","sources":["../../../src/components/TextBlock/TextBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAK9C,MAAM,kBAAkB,GAAqD;IAC3E,OAAO,EAAE;QACP,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,qBAAqB;KACnC;IACD,SAAS,EAAE;QACT,UAAU,EAAE,iBAAiB;QAC7B,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,YAAY;KAC1B;IACD,iBAAiB,EAAE;QACjB,UAAU,EAAE,oBAAoB;QAChC,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAA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ps';
2
+ export declare const useTableArrowScrollControl: ({ columnsLength, colsLengthForScroll, activeCardIndex, setActiveCardIndex, }: {
3
+ columnsLength: number;
4
+ colsLengthForScroll: number;
5
+ activeCardIndex: number;
6
+ setActiveCardIndex: (_: number) => void;
7
+ }) => Required<TableArrowScrollControlProps>;
@@ -0,0 +1,9 @@
1
+ export const useTableArrowScrollControl = ({ columnsLength, colsLengthForScroll, activeCardIndex, setActiveCardIndex, }) => {
2
+ const onNextClick = () => setActiveCardIndex(activeCardIndex + 1);
3
+ const onPrevClick = () => setActiveCardIndex(activeCardIndex - 1);
4
+ const isScrollAvailable = columnsLength > colsLengthForScroll;
5
+ const showNextButton = isScrollAvailable && columnsLength - activeCardIndex > colsLengthForScroll;
6
+ const showPrevButton = Boolean(isScrollAvailable && activeCardIndex > 0);
7
+ return { onNextClick, onPrevClick, isScrollAvailable, showNextButton, showPrevButton };
8
+ };
9
+ //# sourceMappingURL=useTableArrowScrollControl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableArrowScrollControl.js","sourceRoot":"","sources":["../../src/hooks/useTableArrowScrollControl.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EACzC,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,kBAAkB,GAMnB,EAA0C,EAAE;IAC3C,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAClE,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAElE,MAAM,iBAAiB,GAAG,aAAa,GAAG,mBAAmB,CAAC;IAC9D,MAAM,cAAc,GAAG,iBAAiB,IAAI,aAAa,GAAG,eAAe,GAAG,mBAAmB,CAAC;IAClG,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,IAAI,eAAe,GAAG,CAAC,CAAC,CAAC;IAEzE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC;AACzF,CAAC,CAAC"}
@@ -1,5 +1,10 @@
1
1
  /**
2
- * @title Цвет плитки
2
+ * @title Цвет блока
3
3
  * @enumNames ["Основная", "Второстепенная"]
4
4
  */
5
5
  export declare type BlockVersion = 'primary' | 'secondary';
6
+ /**
7
+ * @title Цвет блока
8
+ * @enumNames ["Прозрачная", Основная", "Второстепенная"]
9
+ */
10
+ export declare type BlockVersionWithTransparent = 'transparent' | 'primary' | 'secondary';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @title Направление списка
3
+ * @enumNames [
4
+ * "Вертикально",
5
+ * "Горизонтально",
6
+ * ]
7
+ */
8
+ export declare type ListOrientation = 'vertical' | 'horizontal';
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ListOrientation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListOrientation.js","sourceRoot":"","sources":["../../src/model/ListOrientation.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  import type { LinkProps } from './LinkProps';
2
+ import { IconName } from '../icons/IconName';
2
3
  /**
3
4
  * @title Меню
4
5
  * @required ["text", "href"]
@@ -7,7 +8,17 @@ export interface TopMenuItem extends LinkProps {
7
8
  /** @title Ссылки */
8
9
  items?: LinkProps[];
9
10
  }
11
+ /**
12
+ * @title Ссылка дополнительного меню
13
+ * @required ["text", "href"]
14
+ */
15
+ export interface DispositionItem extends LinkProps {
16
+ /** @hidden */
17
+ icon?: IconName;
18
+ }
10
19
  export interface SitemapProps {
11
20
  /** @title Дополнительное меню */
12
21
  topItems?: TopMenuItem[];
22
+ /** @title Дополнительное меню */
23
+ dispositions?: DispositionItem[];
13
24
  }
@@ -1,4 +1,5 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
+ import { IconName } from '../../icons/IconName';
2
3
  /**
3
4
  * @title Ссылка
4
5
  * @required ["text", "href"]
@@ -7,7 +8,17 @@ export interface TopMenuItem extends LinkProps {
7
8
  /** @hidden */
8
9
  items?: LinkProps[];
9
10
  }
11
+ /**
12
+ * @title Ссылка дополнительного меню
13
+ * @required ["text", "href"]
14
+ */
15
+ export interface DispositionItem extends LinkProps {
16
+ /** @hidden */
17
+ icon?: IconName;
18
+ }
10
19
  export interface SitemapProps {
11
- /** @title Дополнительное меню */
20
+ /** @title Основное меню */
12
21
  topItems?: TopMenuItem[];
22
+ /** @title Дополнительное меню */
23
+ dispositions?: DispositionItem[];
13
24
  }
@@ -1,14 +1,20 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- export const ButtonInner = JSX(({ text, aboveText, appendLeft, rounded, version }) => {
4
- const withoutText = !text && !aboveText && Boolean(appendLeft);
5
- const buttonInnerClasses = version !== 'link'
6
- ? `flex items-center justify-center
7
- ${withoutText ? 'h-12 w-12' : `px-8 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`} ${rounded ? 'rounded-full' : ''}`
8
- : null;
9
- return renderButtonInner({ buttonInnerClasses, appendLeft, withoutText, aboveText, text });
3
+ export const ButtonInner = JSX((props) => {
4
+ const { text, aboveText, appendLeft } = props;
5
+ return (_jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (_jsxs("div", { children: [_jsx("div", { className: "text-m-2xs text-left", children: aboveText }), _jsx("div", { className: "text-m-button font-medium text-left", children: text })] })) : null] }));
10
6
  });
11
- function renderButtonInner({ buttonInnerClasses, appendLeft, withoutText, aboveText, text }) {
12
- return (_jsxs("div", { className: buttonInnerClasses, children: [appendLeft ? appendLeft : null, withoutText ? null : (_jsxs("div", { children: [_jsx("div", { className: "text-m-2xs text-left", children: aboveText }), _jsx("div", { className: "text-m-button font-medium text-left", children: text })] }))] }));
13
- }
7
+ const getButtonStyle = (props) => {
8
+ const { version, aboveText, rounded } = props;
9
+ if (version === 'link') {
10
+ return '';
11
+ }
12
+ const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`;
13
+ return [
14
+ 'flex items-center justify-center',
15
+ isWithText(props) ? withTextStyle : 'h-12 w-12',
16
+ rounded ? 'rounded-full' : '',
17
+ ].join(' ');
18
+ };
19
+ const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
14
20
  //# sourceMappingURL=ButtonInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE;IACpD,MAAM,WAAW,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC;IAE/D,MAAM,kBAAkB,GACtB,OAAO,KAAK,MAAM;QAChB,CAAC,CAAC;YACE,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,cAAc,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE,IACzE,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAC7B,EAAE;QACJ,CAAC,CAAC,IAAI,CAAC;IAEX,OAAO,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7F,CAAC,CACF,CAAC;AAEF,SAAS,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE;IACzF,OAAO,CACL,eAAK,SAAS,EAAE,kBAAkB,aAC/B,UAAU,CAAC,CAAC,CA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AC,aAAa,CAAC,CAAC,CAAC,WAAW;QAC/C,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;KAC9B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAoB,EAAE,EAAE,CACvE,OAAO,CAAC,IAAI,IAAI,SAAS,IAAI,CAAC,UAAU,CAAC,CAAC"}
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  export const Description = JSX((props) => {
4
4
  const { className = '', description } = props;
5
- return _jsx("div", { className: `font-normal text-m-md ${className}`, children: description });
5
+ return _jsx("div", { className: `font-normal text-base ${className}`, children: description });
6
6
  });
7
7
  //# sourceMappingURL=Description.js.map
@@ -1,4 +1,8 @@
1
- import type { ImgSource } from '../../model/Picture';
2
- import { ImageProps } from './ImgProps';
1
+ import type { Picture, ImgSource } from '../../model/Picture';
2
+ export interface ImageProps {
3
+ className?: string;
4
+ imageClassName?: string;
5
+ image: Picture;
6
+ }
3
7
  export declare const Img: (props: import("@redneckz/uni-jsx").PropsWithChildren<ImageProps, any>, context?: any) => any;
4
8
  export declare function formatToMimeType(format: ImgSource['format']): string | undefined;
@@ -1,17 +1,22 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- export const Img = JSX(({ className = '', image }) => {
3
+ export const Img = JSX(({ className = '', image, imageClassName }) => {
4
4
  if (!image) {
5
5
  return null;
6
6
  }
7
+ return (_jsxs("picture", { className: className, children: [image.sources?.length
8
+ ? image.sources.map(({ src, format }, index) => (_jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
9
+ : null, renderImg(image, imageClassName)] }));
10
+ });
11
+ const renderImg = (image, imageClassName = '') => {
7
12
  const style = {
8
13
  width: image.size?.width ? `${image.size?.width}px` : '100%',
9
14
  height: image.size?.height ? `${image.size?.height}px` : '100%',
10
15
  };
11
- return (_jsxs("picture", { className: className, children: [image.sources?.length
12
- ? image.sources.map(({ src, format }, index) => (_jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
13
- : null, _jsx("img", { src: image.src, className: `m-auto ${image.className || ''}`, alt: image.alt || image.title, title: image.title, style: style, ...image.size })] }));
14
- });
16
+ const title = image.title || '';
17
+ const alt = image.alt || image.title;
18
+ return (_jsx("img", { src: image.src, className: `m-auto ${imageClassName}`, alt: alt, title: title, style: style, ...image.size }));
19
+ };
15
20
  export function formatToMimeType(format) {
16
21
  return format ? `image/${String(format)}` : undefined;
17
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Img.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/Img.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,CAAa,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;IAC/D,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAI,CAAC;KACb;IACD,MAAM,KAAK,GAAG;QACZ,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM;QAC5D,MAAM,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;KAChE,CAAC;IAEF,OAAO,CACL,mBAAS,SAAS,EAAE,SAAS,aAC1B,KAAK,CAAC,OAAO,EAAE,MAAM;gBACpB,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC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