@redneckz/wildless-cms-uni-blocks 0.10.0 → 0.10.2

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 (493) hide show
  1. package/bin/migration-scripts/0.10.2.js +31 -0
  2. package/bin/migration-scripts/0.9.10.js +30 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +60 -58
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  7. package/bundle/components/Footer/FooterContent.d.ts +1 -1
  8. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  9. package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  10. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  11. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  12. package/bundle/components/ProductTile/ProductTileContent.d.ts +1 -1
  13. package/bundle/components/ProductTile/renderImage.d.ts +1 -1
  14. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  15. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  16. package/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
  17. package/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  18. package/bundle/components/Tile/TileContent.d.ts +2 -0
  19. package/dist/components/Blocks.js +2 -0
  20. package/dist/components/Blocks.js.map +1 -1
  21. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  22. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  23. package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -2
  24. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  25. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  26. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  27. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  28. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  29. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
  30. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  31. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  32. package/dist/components/ComparisonTable/HeaderCell.js +1 -2
  33. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  34. package/dist/components/Footer/Footer.mobile.js +1 -2
  35. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  36. package/dist/components/Footer/FooterContent.d.ts +1 -1
  37. package/dist/components/Footer/MediaButton.js +1 -3
  38. package/dist/components/Footer/MediaButton.js.map +1 -1
  39. package/dist/components/Headline/Headline.js +1 -1
  40. package/dist/components/Headline/Headline.js.map +1 -1
  41. package/dist/components/LinkDocs/LinkDocs.js +5 -4
  42. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  43. package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -3
  44. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  45. package/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  46. package/dist/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  47. package/dist/components/LinkDocs/LinkDocsListItem.js +18 -2
  48. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  49. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  50. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  51. package/dist/components/ProductBlock/ProductBlock.js +2 -3
  52. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  53. package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  54. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  55. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  56. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  57. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  58. package/dist/components/ProductTile/ProductTile.js +4 -2
  59. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  60. package/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
  61. package/dist/components/ProductTile/renderImage.d.ts +1 -1
  62. package/dist/components/ProductTile/renderImage.js +3 -2
  63. package/dist/components/ProductTile/renderImage.js.map +1 -1
  64. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  65. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +21 -0
  66. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  67. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  68. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  69. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  70. package/dist/components/RollupItem/RollupItem.js +1 -2
  71. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  72. package/dist/components/RollupItem/RollupItem.mobile.js +1 -2
  73. package/dist/components/RollupItem/RollupItem.mobile.js.map +1 -1
  74. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  75. package/dist/components/StepsBlock/StepsBlock.js +5 -5
  76. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  77. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  78. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  79. package/dist/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  80. package/dist/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  81. package/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  82. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  83. package/dist/components/Tile/Tile.js +5 -4
  84. package/dist/components/Tile/Tile.js.map +1 -1
  85. package/dist/components/Tile/TileContent.d.ts +2 -0
  86. package/dist/content-page-repository/transformImg.js +11 -3
  87. package/dist/content-page-repository/transformImg.js.map +1 -1
  88. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -3
  89. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  90. package/dist/ui-kit/Button/ButtonInner.js +4 -3
  91. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  92. package/dist/ui-kit/Button/renderButtonsSection.js +2 -1
  93. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  94. package/dist/ui-kit/Img/ImgInner.js +1 -1
  95. package/dist/ui-kit/Img/ImgInner.js.map +1 -1
  96. package/lib/common.css +1 -1
  97. package/lib/components/Blocks.js +2 -0
  98. package/lib/components/Blocks.js.map +1 -1
  99. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  100. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  101. package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -2
  102. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  103. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  104. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  105. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  106. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  107. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
  108. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  109. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  110. package/lib/components/ComparisonTable/HeaderCell.js +1 -2
  111. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  112. package/lib/components/Footer/Footer.mobile.js +1 -2
  113. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  114. package/lib/components/Footer/FooterContent.d.ts +1 -1
  115. package/lib/components/Footer/MediaButton.js +1 -3
  116. package/lib/components/Footer/MediaButton.js.map +1 -1
  117. package/lib/components/Headline/Headline.js +1 -1
  118. package/lib/components/Headline/Headline.js.map +1 -1
  119. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -3
  120. package/lib/components/LinkDocs/LinkDocs.js +5 -4
  121. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  122. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -3
  123. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  124. package/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  125. package/lib/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  126. package/lib/components/LinkDocs/LinkDocsListItem.js +19 -3
  127. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  128. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  129. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  130. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -1
  131. package/lib/components/ProductBlock/ProductBlock.js +2 -3
  132. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  133. package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  134. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  135. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  136. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  137. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  138. package/lib/components/ProductTile/ProductTile.js +4 -2
  139. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  140. package/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
  141. package/lib/components/ProductTile/renderImage.d.ts +1 -1
  142. package/lib/components/ProductTile/renderImage.js +3 -2
  143. package/lib/components/ProductTile/renderImage.js.map +1 -1
  144. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  145. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.d.ts +6 -0
  146. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +19 -0
  147. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  148. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  149. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  150. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  151. package/lib/components/RollupItem/RollupItem.js +1 -2
  152. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  153. package/lib/components/RollupItem/RollupItem.mobile.js +1 -2
  154. package/lib/components/RollupItem/RollupItem.mobile.js.map +1 -1
  155. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  156. package/lib/components/StepsBlock/StepsBlock.js +5 -5
  157. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  158. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  159. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  160. package/lib/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  161. package/lib/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  162. package/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  163. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  164. package/lib/components/Tile/Tile.fixture.d.ts +1 -0
  165. package/lib/components/Tile/Tile.js +5 -4
  166. package/lib/components/Tile/Tile.js.map +1 -1
  167. package/lib/components/Tile/TileContent.d.ts +2 -0
  168. package/lib/content-page-repository/transformImg.js +11 -3
  169. package/lib/content-page-repository/transformImg.js.map +1 -1
  170. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -3
  171. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  172. package/lib/ui-kit/Button/ButtonInner.js +4 -3
  173. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  174. package/lib/ui-kit/Button/renderButtonsSection.js +2 -1
  175. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  176. package/lib/ui-kit/Img/ImgInner.js +1 -1
  177. package/lib/ui-kit/Img/ImgInner.js.map +1 -1
  178. package/mobile/bundle/bundle.umd.js +17 -34
  179. package/mobile/bundle/bundle.umd.min.js +1 -1
  180. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  181. package/mobile/bundle/components/Footer/FooterContent.d.ts +1 -1
  182. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  183. package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  184. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  185. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  186. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +1 -1
  187. package/mobile/bundle/components/ProductTile/renderImage.d.ts +1 -1
  188. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  189. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  190. package/mobile/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  191. package/mobile/bundle/components/Tile/TileContent.d.ts +2 -0
  192. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  193. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  194. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -2
  195. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  196. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  197. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  198. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  199. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  200. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
  201. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  202. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  203. package/mobile/dist/components/Footer/Footer.js +1 -2
  204. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  205. package/mobile/dist/components/Footer/FooterContent.d.ts +1 -1
  206. package/mobile/dist/components/Footer/MediaButton.js +1 -3
  207. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  208. package/mobile/dist/components/Headline/Headline.js +1 -1
  209. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  210. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -3
  211. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  212. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  213. package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  214. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +18 -2
  215. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  216. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  217. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  218. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  219. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  220. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  221. package/mobile/dist/components/ProductTile/ProductTile.js +4 -2
  222. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  223. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
  224. package/mobile/dist/components/ProductTile/renderImage.d.ts +1 -1
  225. package/mobile/dist/components/ProductTile/renderImage.js +3 -2
  226. package/mobile/dist/components/ProductTile/renderImage.js.map +1 -1
  227. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  228. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +21 -0
  229. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  230. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  231. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  232. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  233. package/mobile/dist/components/RollupItem/RollupItem.js +1 -2
  234. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  235. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  236. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  237. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  238. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  239. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  240. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  241. package/mobile/dist/components/Tile/Tile.js +5 -4
  242. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  243. package/mobile/dist/components/Tile/TileContent.d.ts +2 -0
  244. package/mobile/dist/content-page-repository/transformImg.js +11 -3
  245. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  246. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -3
  247. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  248. package/mobile/dist/ui-kit/Button/ButtonInner.js +4 -3
  249. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  250. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -1
  251. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  252. package/mobile/dist/ui-kit/Img/ImgInner.js +1 -1
  253. package/mobile/dist/ui-kit/Img/ImgInner.js.map +1 -1
  254. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  255. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  256. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -2
  257. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  258. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  259. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  260. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  261. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  262. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
  263. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  264. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  265. package/mobile/lib/components/Footer/Footer.js +1 -2
  266. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  267. package/mobile/lib/components/Footer/FooterContent.d.ts +1 -1
  268. package/mobile/lib/components/Footer/MediaButton.js +1 -3
  269. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  270. package/mobile/lib/components/Headline/Headline.js +1 -1
  271. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  272. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -3
  273. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  274. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  275. package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  276. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +19 -3
  277. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  278. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  279. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  280. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  281. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  282. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  283. package/mobile/lib/components/ProductTile/ProductTile.js +4 -2
  284. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  285. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
  286. package/mobile/lib/components/ProductTile/renderImage.d.ts +1 -1
  287. package/mobile/lib/components/ProductTile/renderImage.js +3 -2
  288. package/mobile/lib/components/ProductTile/renderImage.js.map +1 -1
  289. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  290. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +19 -0
  291. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  292. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  293. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  294. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  295. package/mobile/lib/components/RollupItem/RollupItem.js +1 -2
  296. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  297. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  298. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  299. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  300. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  301. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  302. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  303. package/mobile/lib/components/Tile/Tile.js +5 -4
  304. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  305. package/mobile/lib/components/Tile/TileContent.d.ts +2 -0
  306. package/mobile/lib/content-page-repository/transformImg.js +11 -3
  307. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  308. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -3
  309. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  310. package/mobile/lib/ui-kit/Button/ButtonInner.js +4 -3
  311. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  312. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -1
  313. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  314. package/mobile/lib/ui-kit/Img/ImgInner.js +1 -1
  315. package/mobile/lib/ui-kit/Img/ImgInner.js.map +1 -1
  316. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +4 -2
  317. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -2
  318. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -2
  319. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -2
  320. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +10 -2
  321. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +23 -14
  322. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.ui.json +18 -1
  323. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +10 -2
  324. package/mobile/src/components/Footer/Footer.tsx +1 -4
  325. package/mobile/src/components/Footer/FooterContent.ts +1 -1
  326. package/mobile/src/components/Footer/MediaButton.tsx +2 -5
  327. package/mobile/src/components/Headline/Headline.tsx +1 -5
  328. package/mobile/src/components/LinkDocs/LinkDocs.example.json +0 -2
  329. package/mobile/src/components/LinkDocs/LinkDocs.tsx +27 -12
  330. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +0 -5
  331. package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +48 -11
  332. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -2
  333. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -2
  334. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  335. package/mobile/src/components/ProductTile/ProductTile.tsx +11 -6
  336. package/mobile/src/components/ProductTile/ProductTileContent.ts +1 -1
  337. package/mobile/src/components/ProductTile/renderImage.tsx +3 -2
  338. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +10 -0
  339. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +81 -0
  340. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +20 -0
  341. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +22 -0
  342. package/mobile/src/components/RollupItem/RollupItem.tsx +2 -15
  343. package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -2
  344. package/mobile/src/components/StepsBlock/checkCanRenderIcon.ts +2 -1
  345. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -8
  346. package/mobile/src/components/Tile/Tile.example.json +2 -1
  347. package/mobile/src/components/Tile/Tile.tsx +26 -17
  348. package/mobile/src/components/Tile/TileContent.ts +2 -0
  349. package/mobile/src/content-page-repository/transformImg.ts +14 -4
  350. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
  351. package/mobile/src/ui-kit/Button/ButtonInner.tsx +4 -3
  352. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
  353. package/mobile/src/ui-kit/Img/ImgInner.tsx +1 -1
  354. package/package.json +2 -2
  355. package/src/components/Blocks.ts +2 -0
  356. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +4 -2
  357. package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -2
  358. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -2
  359. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -2
  360. package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +10 -2
  361. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +9 -1
  362. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +23 -14
  363. package/src/components/CarouselTariffsCard/CarouselTariffsCard.ui.json +18 -1
  364. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +10 -2
  365. package/src/components/ComparisonTable/HeaderCell.tsx +1 -2
  366. package/src/components/Footer/Footer.mobile.tsx +1 -4
  367. package/src/components/Footer/FooterContent.ts +1 -1
  368. package/src/components/Footer/MediaButton.tsx +2 -5
  369. package/src/components/Headline/Headline.tsx +1 -5
  370. package/src/components/LinkDocs/LinkDocs.example.json +0 -2
  371. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -11
  372. package/src/components/LinkDocs/LinkDocs.mobile.tsx +27 -12
  373. package/src/components/LinkDocs/LinkDocs.tsx +24 -9
  374. package/src/components/LinkDocs/LinkDocsContent.ts +0 -5
  375. package/src/components/LinkDocs/LinkDocsListItem.tsx +48 -13
  376. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -2
  377. package/src/components/ProductBlock/ProductBlock.fixture.tsx +14 -22
  378. package/src/components/ProductBlock/ProductBlock.tsx +5 -6
  379. package/src/components/ProductBlock/ProductBlockContent.ts +0 -2
  380. package/src/components/ProductBlock/ProductBlockInner.tsx +21 -25
  381. package/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  382. package/src/components/ProductTile/ProductTile.fixture.tsx +6 -2
  383. package/src/components/ProductTile/ProductTile.tsx +11 -6
  384. package/src/components/ProductTile/ProductTileContent.ts +1 -1
  385. package/src/components/ProductTile/renderImage.tsx +3 -2
  386. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +10 -0
  387. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +37 -0
  388. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +81 -0
  389. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +20 -0
  390. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +22 -0
  391. package/src/components/RollupItem/RollupItem.mobile.tsx +2 -15
  392. package/src/components/RollupItem/RollupItem.tsx +1 -2
  393. package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -2
  394. package/src/components/StepsBlock/StepsBlock.tsx +14 -8
  395. package/src/components/StepsBlock/checkCanRenderIcon.ts +2 -1
  396. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -8
  397. package/src/components/Tile/Tile.example.json +2 -1
  398. package/src/components/Tile/Tile.fixture.tsx +5 -0
  399. package/src/components/Tile/Tile.tsx +26 -17
  400. package/src/components/Tile/TileContent.ts +2 -0
  401. package/src/content-page-repository/transformImg.ts +14 -4
  402. package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
  403. package/src/ui-kit/Button/ButtonInner.tsx +4 -3
  404. package/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
  405. package/src/ui-kit/Img/ImgInner.tsx +1 -1
  406. package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  407. package/bundle/components/LinkDocs/LinkDocsList.d.ts +0 -9
  408. package/bundle/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
  409. package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  410. package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  411. package/bundle/utils/getIconWithVersion.d.ts +0 -3
  412. package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  413. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +0 -10
  414. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  415. package/dist/components/LinkDocs/LinkDocsList.d.ts +0 -9
  416. package/dist/components/LinkDocs/LinkDocsList.js +0 -9
  417. package/dist/components/LinkDocs/LinkDocsList.js.map +0 -1
  418. package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
  419. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +0 -7
  420. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +0 -1
  421. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  422. package/dist/components/LinkDocs/LinkDocsListItemBase.js +0 -24
  423. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  424. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  425. package/dist/components/LinkDocs/LinkDocsVerticalList.js +0 -11
  426. package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  427. package/dist/utils/getIconWithVersion.d.ts +0 -3
  428. package/dist/utils/getIconWithVersion.js +0 -8
  429. package/dist/utils/getIconWithVersion.js.map +0 -1
  430. package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  431. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +0 -8
  432. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  433. package/lib/components/LinkDocs/LinkDocsList.d.ts +0 -9
  434. package/lib/components/LinkDocs/LinkDocsList.js +0 -7
  435. package/lib/components/LinkDocs/LinkDocsList.js.map +0 -1
  436. package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
  437. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +0 -5
  438. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +0 -1
  439. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  440. package/lib/components/LinkDocs/LinkDocsListItemBase.js +0 -22
  441. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  442. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  443. package/lib/components/LinkDocs/LinkDocsVerticalList.js +0 -9
  444. package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  445. package/lib/utils/getIconWithVersion.d.ts +0 -3
  446. package/lib/utils/getIconWithVersion.js +0 -5
  447. package/lib/utils/getIconWithVersion.js.map +0 -1
  448. package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  449. package/mobile/bundle/components/LinkDocs/LinkDocsList.d.ts +0 -9
  450. package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  451. package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  452. package/mobile/bundle/utils/getIconWithVersion.d.ts +0 -3
  453. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  454. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +0 -10
  455. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  456. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +0 -9
  457. package/mobile/dist/components/LinkDocs/LinkDocsList.js +0 -9
  458. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +0 -1
  459. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  460. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +0 -24
  461. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  462. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  463. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +0 -11
  464. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  465. package/mobile/dist/utils/getIconWithVersion.d.ts +0 -3
  466. package/mobile/dist/utils/getIconWithVersion.js +0 -8
  467. package/mobile/dist/utils/getIconWithVersion.js.map +0 -1
  468. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  469. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +0 -8
  470. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  471. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +0 -9
  472. package/mobile/lib/components/LinkDocs/LinkDocsList.js +0 -7
  473. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +0 -1
  474. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  475. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +0 -22
  476. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  477. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  478. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +0 -9
  479. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  480. package/mobile/lib/utils/getIconWithVersion.d.ts +0 -3
  481. package/mobile/lib/utils/getIconWithVersion.js +0 -5
  482. package/mobile/lib/utils/getIconWithVersion.js.map +0 -1
  483. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +0 -21
  484. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +0 -33
  485. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +0 -63
  486. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +0 -33
  487. package/mobile/src/utils/getIconWithVersion.ts +0 -7
  488. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +0 -21
  489. package/src/components/LinkDocs/LinkDocsList.tsx +0 -33
  490. package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +0 -12
  491. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +0 -63
  492. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +0 -33
  493. package/src/utils/getIconWithVersion.ts +0 -7
@@ -1,24 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.LinkDocsListItemBase = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Img_1 = require("../../ui-kit/Img/Img");
6
- const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
7
- exports.LinkDocsListItemBase = (0, uni_jsx_1.JSX)(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
8
- const { text, fileSize, ...linkProps } = doc;
9
- return ((0, jsx_runtime_1.jsxs)("a", { className: className, role: "link", ...linkProps, children: [icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: iconClassName, image: (0, getIconWithVersion_1.getIconWithVersion)(icon), width: "24", height: "24", asSVG: true })) : null, text ? ((0, jsx_runtime_1.jsxs)("span", { className: textClassName, children: [text, (0, jsx_runtime_1.jsx)("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
10
- });
11
- const formatSuffix = (ext, fileSize) => {
12
- const prefix = ext || fileSize ? ',' : '';
13
- const extension = ext ? ` ${ext}` : '';
14
- const size = fileSize ? ` (${fileSize})` : '';
15
- return prefix + extension + size;
16
- };
17
- const getExtFromHref = (href) => {
18
- if (!href) {
19
- return '';
20
- }
21
- const index = href.lastIndexOf('.');
22
- return index !== -1 ? href.substring(index + 1) : '';
23
- };
24
- //# sourceMappingURL=LinkDocsListItemBase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsListItemBase.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItemBase.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,8CAA2C;AAC3C,uEAAoE;AAevD,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;IAE7C,OAAO,CACL,+BAAG,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,KAAK,SAAS,aAC/C,IAAI,CAAC,CAAC,CAAC,CACN,uBAAC,SAAG,IACF,SAAS,EAAE,aAAa,EACxB,KAAK,EAAE,IAAA,uCAAkB,EAAC,IAAI,CAAC,EAC/B,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,CAAC,CAAC,CACN,kCAAM,SAAS,EAAE,aAAa,aAC3B,IAAI,EACL,iCAAM,SAAS,EAAE,eAAe,YAC7B,SAAS,EAAE,IAAI,IAAI,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GACrE,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,QAAiB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9C,OAAO,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsVerticalListProps {
4
- hasBorder?: boolean;
5
- documents?: LinkDocsItem[];
6
- icon?: Picture;
7
- }
8
- export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
@@ -1,11 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.LinkDocsVerticalList = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const LinkDocsListItem_1 = require("./LinkDocsListItem");
6
- exports.LinkDocsVerticalList = (0, uni_jsx_1.JSX)(({ hasBorder = true, documents, icon }) => {
7
- return ((0, jsx_runtime_1.jsx)("div", { className: `text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
8
- ? documents.map((doc, i) => ((0, jsx_runtime_1.jsx)("div", { role: "listitem", children: (0, jsx_runtime_1.jsx)(LinkDocsListItem_1.LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
9
- : null }));
10
- });
11
- //# sourceMappingURL=LinkDocsVerticalList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsVerticalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsVerticalList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,yDAAsD;AAQzC,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,OAAO,CACL,gCACE,SAAS,EAAE,+CAA+C,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EAAE,EAC3F,IAAI,EAAC,MAAM,YAEV,SAAS,EAAE,MAAM;YAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,gCAAqB,IAAI,EAAC,UAAU,YAClC,uBAAC,mCAAgB,IACf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IALM,MAAM,CAAC,CAAC,CAAC,CAMb,CACP,CAAC;YACJ,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Picture } from '../model/Picture';
2
- import type { BlockVersion } from '../model/BlockVersion';
3
- export declare const getIconWithVersion: (icon: Picture, version?: BlockVersion) => Picture;
@@ -1,8 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.getIconWithVersion = void 0;
3
- const getIconWithVersion = (icon, version = 'primary') => ({
4
- ...icon,
5
- iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
6
- });
7
- exports.getIconWithVersion = getIconWithVersion;
8
- //# sourceMappingURL=getIconWithVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getIconWithVersion.js","sourceRoot":"","sources":["../../src/utils/getIconWithVersion.ts"],"names":[],"mappings":";;AAGO,MAAM,kBAAkB,GAAG,CAAC,IAAa,EAAE,UAAwB,SAAS,EAAW,EAAE,CAAC,CAAC;IAChG,GAAG,IAAI;IACP,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;CAChF,CAAC,CAAC;AAHU,QAAA,kBAAkB,sBAG5B"}
@@ -1,2 +0,0 @@
1
- import type { LinkDocsVerticalListProps } from './LinkDocsVerticalList';
2
- export declare const LinkDocsHorizontalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
@@ -1,8 +0,0 @@
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 { LinkDocsListItem } from './LinkDocsListItem.js';
5
- export const LinkDocsHorizontalList = JSX(({ hasBorder = true, documents, icon }) => (_jsx(SwipeListControl, { className: "text-s text-primary-main mt-5", children: documents?.length
6
- ? documents.map((doc, i) => (_jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
7
- : null })));
8
- //# sourceMappingURL=LinkDocsHorizontalList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsHorizontalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsHorizontalList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CACvC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACzC,KAAC,gBAAgB,IAAC,SAAS,EAAC,+BAA+B,YACxD,SAAS,EAAE,MAAM;QAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,KAAC,gBAAgB,IAEf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,IAHL,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC;QACJ,CAAC,CAAC,IAAI,GACS,CACpB,CACF,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsListProps {
4
- className?: string;
5
- documents?: LinkDocsItem[];
6
- columnsMode?: LinkColumnsMode;
7
- icon?: Picture;
8
- }
9
- export declare const LinkDocsList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListProps, any, any>;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { LinkDocsListItem } from './LinkDocsListItem.js';
4
- export const LinkDocsList = JSX(({ className, documents, columnsMode = 'double', icon }) => {
5
- return documents?.length ? (_jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (_jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: _jsx(LinkDocsListItem, { className: "group/item flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
6
- });
7
- //# sourceMappingURL=LinkDocsList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAStD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,GAAG,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE;IACzD,OAAO,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,CACzB,cAAK,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,YACnC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACzB,cAEE,SAAS,EAAE,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EACnE,IAAI,EAAC,UAAU,YAEf,KAAC,gBAAgB,IACf,SAAS,EAAC,iGAAiG,EAC3G,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IARG,MAAM,CAAC,CAAC,CAAC,CASV,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { LinkDocsListItemProps } from './LinkDocsListItemBase';
2
- export declare const LinkDocsListItem: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemProps, any, any>;
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { LinkDocsListItemBase } from './LinkDocsListItemBase.js';
4
- export const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (_jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-3 min-w-6 min-h-6", doc: doc, icon: icon })));
5
- //# sourceMappingURL=LinkDocsListItem.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsListItem.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAwB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5F,KAAC,oBAAoB,IACnB,SAAS,EAAE,0BAA0B,SAAS,EAAE,EAChD,aAAa,EAAC,sBAAsB,EACpC,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,CACH,CAAC,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsListItemProps {
4
- className?: string;
5
- doc: LinkDocsItem;
6
- icon?: Picture;
7
- }
8
- export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
9
- iconClassName?: string;
10
- textClassName?: string;
11
- suffixClassName?: string;
12
- }
13
- export declare const LinkDocsListItemBase: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemBaseProps, any, any>;
@@ -1,22 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { Img } from '../../ui-kit/Img/Img.js';
4
- import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
5
- export const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
6
- const { text, fileSize, ...linkProps } = doc;
7
- return (_jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (_jsx(Img, { className: iconClassName, image: getIconWithVersion(icon), width: "24", height: "24", asSVG: true })) : null, text ? (_jsxs("span", { className: textClassName, children: [text, _jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
8
- });
9
- const formatSuffix = (ext, fileSize) => {
10
- const prefix = ext || fileSize ? ',' : '';
11
- const extension = ext ? ` ${ext}` : '';
12
- const size = fileSize ? ` (${fileSize})` : '';
13
- return prefix + extension + size;
14
- };
15
- const getExtFromHref = (href) => {
16
- if (!href) {
17
- return '';
18
- }
19
- const index = href.lastIndexOf('.');
20
- return index !== -1 ? href.substring(index + 1) : '';
21
- };
22
- //# sourceMappingURL=LinkDocsListItemBase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsListItemBase.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItemBase.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAepE,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;IAE7C,OAAO,CACL,aAAG,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,KAAK,SAAS,aAC/C,IAAI,CAAC,CAAC,CAAC,CACN,KAAC,GAAG,IACF,SAAS,EAAE,aAAa,EACxB,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAC/B,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,CAAC,CAAC,CACN,gBAAM,SAAS,EAAE,aAAa,aAC3B,IAAI,EACL,eAAM,SAAS,EAAE,eAAe,YAC7B,SAAS,EAAE,IAAI,IAAI,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GACrE,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,QAAiB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9C,OAAO,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsVerticalListProps {
4
- hasBorder?: boolean;
5
- documents?: LinkDocsItem[];
6
- icon?: Picture;
7
- }
8
- export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { LinkDocsListItem } from './LinkDocsListItem.js';
4
- export const LinkDocsVerticalList = JSX(({ hasBorder = true, documents, icon }) => {
5
- return (_jsx("div", { className: `text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
6
- ? documents.map((doc, i) => (_jsx("div", { role: "listitem", children: _jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
7
- : null }));
8
- });
9
- //# sourceMappingURL=LinkDocsVerticalList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsVerticalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsVerticalList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQtD,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,OAAO,CACL,cACE,SAAS,EAAE,+CAA+C,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EAAE,EAC3F,IAAI,EAAC,MAAM,YAEV,SAAS,EAAE,MAAM;YAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,cAAqB,IAAI,EAAC,UAAU,YAClC,KAAC,gBAAgB,IACf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IALM,MAAM,CAAC,CAAC,CAAC,CAMb,CACP,CAAC;YACJ,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Picture } from '../model/Picture';
2
- import type { BlockVersion } from '../model/BlockVersion';
3
- export declare const getIconWithVersion: (icon: Picture, version?: BlockVersion) => Picture;
@@ -1,5 +0,0 @@
1
- export const getIconWithVersion = (icon, version = 'primary') => ({
2
- ...icon,
3
- iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
4
- });
5
- //# sourceMappingURL=getIconWithVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getIconWithVersion.js","sourceRoot":"","sources":["../../src/utils/getIconWithVersion.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAa,EAAE,UAAwB,SAAS,EAAW,EAAE,CAAC,CAAC;IAChG,GAAG,IAAI;IACP,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;CAChF,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { LinkDocsVerticalListProps } from './LinkDocsVerticalList';
2
- export declare const LinkDocsHorizontalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
@@ -1,9 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsListProps {
4
- className?: string;
5
- documents?: LinkDocsItem[];
6
- columnsMode?: LinkColumnsMode;
7
- icon?: Picture;
8
- }
9
- export declare const LinkDocsList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListProps, any, any>;
@@ -1,13 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsListItemProps {
4
- className?: string;
5
- doc: LinkDocsItem;
6
- icon?: Picture;
7
- }
8
- export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
9
- iconClassName?: string;
10
- textClassName?: string;
11
- suffixClassName?: string;
12
- }
13
- export declare const LinkDocsListItemBase: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemBaseProps, any, any>;
@@ -1,8 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsVerticalListProps {
4
- hasBorder?: boolean;
5
- documents?: LinkDocsItem[];
6
- icon?: Picture;
7
- }
8
- export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
@@ -1,3 +0,0 @@
1
- import type { Picture } from '../model/Picture';
2
- import type { BlockVersion } from '../model/BlockVersion';
3
- export declare const getIconWithVersion: (icon: Picture, version?: BlockVersion) => Picture;
@@ -1,2 +0,0 @@
1
- import type { LinkDocsVerticalListProps } from './LinkDocsVerticalList';
2
- export declare const LinkDocsHorizontalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
@@ -1,10 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.LinkDocsHorizontalList = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const SwipeListControl_1 = require("../../ui-kit/SwipeListControl/SwipeListControl");
6
- const LinkDocsListItem_1 = require("./LinkDocsListItem");
7
- exports.LinkDocsHorizontalList = (0, uni_jsx_1.JSX)(({ hasBorder = true, documents, icon }) => ((0, jsx_runtime_1.jsx)(SwipeListControl_1.SwipeListControl, { className: "text-s text-primary-main mt-5", children: documents?.length
8
- ? documents.map((doc, i) => ((0, jsx_runtime_1.jsx)(LinkDocsListItem_1.LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
9
- : null })));
10
- //# sourceMappingURL=LinkDocsHorizontalList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsHorizontalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsHorizontalList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qFAAkF;AAClF,yDAAsD;AAGzC,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACzC,uBAAC,mCAAgB,IAAC,SAAS,EAAC,+BAA+B,YACxD,SAAS,EAAE,MAAM;QAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,uBAAC,mCAAgB,IAEf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,IAHL,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC;QACJ,CAAC,CAAC,IAAI,GACS,CACpB,CACF,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsListProps {
4
- className?: string;
5
- documents?: LinkDocsItem[];
6
- columnsMode?: LinkColumnsMode;
7
- icon?: Picture;
8
- }
9
- export declare const LinkDocsList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListProps, any, any>;
@@ -1,9 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.LinkDocsList = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const LinkDocsListItem_1 = require("./LinkDocsListItem");
6
- exports.LinkDocsList = (0, uni_jsx_1.JSX)(({ className, documents, columnsMode = 'double', icon }) => {
7
- return documents?.length ? ((0, jsx_runtime_1.jsx)("div", { className: className, role: "list", children: documents.map((doc, i) => ((0, jsx_runtime_1.jsx)("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: (0, jsx_runtime_1.jsx)(LinkDocsListItem_1.LinkDocsListItem, { className: "group/item flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
8
- });
9
- //# sourceMappingURL=LinkDocsList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,yDAAsD;AASzC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,GAAG,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE;IACzD,OAAO,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,CACzB,gCAAK,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,YACnC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACzB,gCAEE,SAAS,EAAE,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EACnE,IAAI,EAAC,UAAU,YAEf,uBAAC,mCAAgB,IACf,SAAS,EAAC,iGAAiG,EAC3G,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IARG,MAAM,CAAC,CAAC,CAAC,CASV,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsListItemProps {
4
- className?: string;
5
- doc: LinkDocsItem;
6
- icon?: Picture;
7
- }
8
- export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
9
- iconClassName?: string;
10
- textClassName?: string;
11
- suffixClassName?: string;
12
- }
13
- export declare const LinkDocsListItemBase: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemBaseProps, any, any>;
@@ -1,24 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.LinkDocsListItemBase = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Img_1 = require("../../ui-kit/Img/Img");
6
- const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
7
- exports.LinkDocsListItemBase = (0, uni_jsx_1.JSX)(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
8
- const { text, fileSize, ...linkProps } = doc;
9
- return ((0, jsx_runtime_1.jsxs)("a", { className: className, role: "link", ...linkProps, children: [icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: iconClassName, image: (0, getIconWithVersion_1.getIconWithVersion)(icon), width: "24", height: "24", asSVG: true })) : null, text ? ((0, jsx_runtime_1.jsxs)("span", { className: textClassName, children: [text, (0, jsx_runtime_1.jsx)("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
10
- });
11
- const formatSuffix = (ext, fileSize) => {
12
- const prefix = ext || fileSize ? ',' : '';
13
- const extension = ext ? ` ${ext}` : '';
14
- const size = fileSize ? ` (${fileSize})` : '';
15
- return prefix + extension + size;
16
- };
17
- const getExtFromHref = (href) => {
18
- if (!href) {
19
- return '';
20
- }
21
- const index = href.lastIndexOf('.');
22
- return index !== -1 ? href.substring(index + 1) : '';
23
- };
24
- //# sourceMappingURL=LinkDocsListItemBase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsListItemBase.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItemBase.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,8CAA2C;AAC3C,uEAAoE;AAevD,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;IAE7C,OAAO,CACL,+BAAG,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,KAAK,SAAS,aAC/C,IAAI,CAAC,CAAC,CAAC,CACN,uBAAC,SAAG,IACF,SAAS,EAAE,aAAa,EACxB,KAAK,EAAE,IAAA,uCAAkB,EAAC,IAAI,CAAC,EAC/B,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,CAAC,CAAC,CACN,kCAAM,SAAS,EAAE,aAAa,aAC3B,IAAI,EACL,iCAAM,SAAS,EAAE,eAAe,YAC7B,SAAS,EAAE,IAAI,IAAI,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GACrE,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,QAAiB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9C,OAAO,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsVerticalListProps {
4
- hasBorder?: boolean;
5
- documents?: LinkDocsItem[];
6
- icon?: Picture;
7
- }
8
- export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
@@ -1,11 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.LinkDocsVerticalList = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const LinkDocsListItem_1 = require("./LinkDocsListItem");
6
- exports.LinkDocsVerticalList = (0, uni_jsx_1.JSX)(({ hasBorder = true, documents, icon }) => {
7
- return ((0, jsx_runtime_1.jsx)("div", { className: `text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
8
- ? documents.map((doc, i) => ((0, jsx_runtime_1.jsx)("div", { role: "listitem", children: (0, jsx_runtime_1.jsx)(LinkDocsListItem_1.LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
9
- : null }));
10
- });
11
- //# sourceMappingURL=LinkDocsVerticalList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsVerticalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsVerticalList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,yDAAsD;AAQzC,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,OAAO,CACL,gCACE,SAAS,EAAE,+CAA+C,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EAAE,EAC3F,IAAI,EAAC,MAAM,YAEV,SAAS,EAAE,MAAM;YAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,gCAAqB,IAAI,EAAC,UAAU,YAClC,uBAAC,mCAAgB,IACf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IALM,MAAM,CAAC,CAAC,CAAC,CAMb,CACP,CAAC;YACJ,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Picture } from '../model/Picture';
2
- import type { BlockVersion } from '../model/BlockVersion';
3
- export declare const getIconWithVersion: (icon: Picture, version?: BlockVersion) => Picture;
@@ -1,8 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.getIconWithVersion = void 0;
3
- const getIconWithVersion = (icon, version = 'primary') => ({
4
- ...icon,
5
- iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
6
- });
7
- exports.getIconWithVersion = getIconWithVersion;
8
- //# sourceMappingURL=getIconWithVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getIconWithVersion.js","sourceRoot":"","sources":["../../src/utils/getIconWithVersion.ts"],"names":[],"mappings":";;AAGO,MAAM,kBAAkB,GAAG,CAAC,IAAa,EAAE,UAAwB,SAAS,EAAW,EAAE,CAAC,CAAC;IAChG,GAAG,IAAI;IACP,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;CAChF,CAAC,CAAC;AAHU,QAAA,kBAAkB,sBAG5B"}
@@ -1,2 +0,0 @@
1
- import type { LinkDocsVerticalListProps } from './LinkDocsVerticalList';
2
- export declare const LinkDocsHorizontalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
@@ -1,8 +0,0 @@
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 { LinkDocsListItem } from './LinkDocsListItem.js';
5
- export const LinkDocsHorizontalList = JSX(({ hasBorder = true, documents, icon }) => (_jsx(SwipeListControl, { className: "text-s text-primary-main mt-5", children: documents?.length
6
- ? documents.map((doc, i) => (_jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
7
- : null })));
8
- //# sourceMappingURL=LinkDocsHorizontalList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsHorizontalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsHorizontalList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CACvC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACzC,KAAC,gBAAgB,IAAC,SAAS,EAAC,+BAA+B,YACxD,SAAS,EAAE,MAAM;QAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,KAAC,gBAAgB,IAEf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,IAHL,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC;QACJ,CAAC,CAAC,IAAI,GACS,CACpB,CACF,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkColumnsMode, LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsListProps {
4
- className?: string;
5
- documents?: LinkDocsItem[];
6
- columnsMode?: LinkColumnsMode;
7
- icon?: Picture;
8
- }
9
- export declare const LinkDocsList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListProps, any, any>;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { LinkDocsListItem } from './LinkDocsListItem.js';
4
- export const LinkDocsList = JSX(({ className, documents, columnsMode = 'double', icon }) => {
5
- return documents?.length ? (_jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (_jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: _jsx(LinkDocsListItem, { className: "group/item flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
6
- });
7
- //# sourceMappingURL=LinkDocsList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAStD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,GAAG,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE;IACzD,OAAO,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,CACzB,cAAK,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,YACnC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACzB,cAEE,SAAS,EAAE,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EACnE,IAAI,EAAC,UAAU,YAEf,KAAC,gBAAgB,IACf,SAAS,EAAC,iGAAiG,EAC3G,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IARG,MAAM,CAAC,CAAC,CAAC,CASV,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsListItemProps {
4
- className?: string;
5
- doc: LinkDocsItem;
6
- icon?: Picture;
7
- }
8
- export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
9
- iconClassName?: string;
10
- textClassName?: string;
11
- suffixClassName?: string;
12
- }
13
- export declare const LinkDocsListItemBase: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemBaseProps, any, any>;
@@ -1,22 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { Img } from '../../ui-kit/Img/Img.js';
4
- import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
5
- export const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
6
- const { text, fileSize, ...linkProps } = doc;
7
- return (_jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (_jsx(Img, { className: iconClassName, image: getIconWithVersion(icon), width: "24", height: "24", asSVG: true })) : null, text ? (_jsxs("span", { className: textClassName, children: [text, _jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
8
- });
9
- const formatSuffix = (ext, fileSize) => {
10
- const prefix = ext || fileSize ? ',' : '';
11
- const extension = ext ? ` ${ext}` : '';
12
- const size = fileSize ? ` (${fileSize})` : '';
13
- return prefix + extension + size;
14
- };
15
- const getExtFromHref = (href) => {
16
- if (!href) {
17
- return '';
18
- }
19
- const index = href.lastIndexOf('.');
20
- return index !== -1 ? href.substring(index + 1) : '';
21
- };
22
- //# sourceMappingURL=LinkDocsListItemBase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsListItemBase.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItemBase.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAepE,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;IAE7C,OAAO,CACL,aAAG,SAAS,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,KAAK,SAAS,aAC/C,IAAI,CAAC,CAAC,CAAC,CACN,KAAC,GAAG,IACF,SAAS,EAAE,aAAa,EACxB,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAC/B,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,CAAC,CAAC,CACN,gBAAM,SAAS,EAAE,aAAa,aAC3B,IAAI,EACL,eAAM,SAAS,EAAE,eAAe,YAC7B,SAAS,EAAE,IAAI,IAAI,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GACrE,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,QAAiB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9C,OAAO,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { LinkDocsItem } from './LinkDocsContent';
3
- export interface LinkDocsVerticalListProps {
4
- hasBorder?: boolean;
5
- documents?: LinkDocsItem[];
6
- icon?: Picture;
7
- }
8
- export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { LinkDocsListItem } from './LinkDocsListItem.js';
4
- export const LinkDocsVerticalList = JSX(({ hasBorder = true, documents, icon }) => {
5
- return (_jsx("div", { className: `text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
6
- ? documents.map((doc, i) => (_jsx("div", { role: "listitem", children: _jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
7
- : null }));
8
- });
9
- //# sourceMappingURL=LinkDocsVerticalList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkDocsVerticalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsVerticalList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQtD,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,OAAO,CACL,cACE,SAAS,EAAE,+CAA+C,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EAAE,EAC3F,IAAI,EAAC,MAAM,YAEV,SAAS,EAAE,MAAM;YAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,cAAqB,IAAI,EAAC,UAAU,YAClC,KAAC,gBAAgB,IACf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE,EAC5E,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,GACV,IALM,MAAM,CAAC,CAAC,CAAC,CAMb,CACP,CAAC;YACJ,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Picture } from '../model/Picture';
2
- import type { BlockVersion } from '../model/BlockVersion';
3
- export declare const getIconWithVersion: (icon: Picture, version?: BlockVersion) => Picture;
@@ -1,5 +0,0 @@
1
- export const getIconWithVersion = (icon, version = 'primary') => ({
2
- ...icon,
3
- iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
4
- });
5
- //# sourceMappingURL=getIconWithVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getIconWithVersion.js","sourceRoot":"","sources":["../../src/utils/getIconWithVersion.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAa,EAAE,UAAwB,SAAS,EAAW,EAAE,CAAC,CAAC;IAChG,GAAG,IAAI;IACP,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;CAChF,CAAC,CAAC"}
@@ -1,21 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl';
3
- import { LinkDocsListItem } from './LinkDocsListItem';
4
- import type { LinkDocsVerticalListProps } from './LinkDocsVerticalList';
5
-
6
- export const LinkDocsHorizontalList = JSX<LinkDocsVerticalListProps>(
7
- ({ hasBorder = true, documents, icon }) => (
8
- <SwipeListControl className="text-s text-primary-main mt-5">
9
- {documents?.length
10
- ? documents.map((doc, i) => (
11
- <LinkDocsListItem
12
- key={String(i)}
13
- className={hasBorder ? 'rounded-md border-gray border border-solid p-4' : ''}
14
- doc={doc}
15
- icon={icon}
16
- />
17
- ))
18
- : null}
19
- </SwipeListControl>
20
- ),
21
- );