@redneckz/wildless-cms-uni-blocks 0.14.1 → 0.14.3

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 (253) hide show
  1. package/bundle/bundle.umd.js +27 -26
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  4. package/bundle/ui-kit/ClientOnly.d.ts +1 -0
  5. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -0
  6. package/bundle/ui-kit/SwipeListControl/isShowDots.d.ts +1 -0
  7. package/bundle/ui-kit/SwipeListControl/isShowDots.mobile.d.ts +1 -0
  8. package/dist/components/Carousel/Carousel.js +1 -1
  9. package/dist/components/Carousel/Carousel.js.map +1 -1
  10. package/dist/components/CarouselLinks/CarouselLinkButton.js +2 -2
  11. package/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  12. package/dist/components/ContentPage/ContentPage.js +1 -1
  13. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  14. package/dist/components/Footer/Contacts.js +1 -1
  15. package/dist/components/Header/HeaderSubMenu.js +2 -1
  16. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  17. package/dist/components/MobileAppTile/MobileAppTile.js +3 -2
  18. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  19. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  20. package/dist/components/OfficesAtmsMap/OfficesAtmsMap.js +4 -9
  21. package/dist/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -1
  22. package/dist/components/StickyBottomMenu/RenderMenuItems.js +1 -2
  23. package/dist/components/StickyBottomMenu/RenderMenuItems.js.map +1 -1
  24. package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js +2 -2
  25. package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -1
  26. package/dist/ui-kit/ClientOnly.d.ts +1 -0
  27. package/dist/ui-kit/ClientOnly.js +7 -0
  28. package/dist/ui-kit/ClientOnly.js.map +1 -0
  29. package/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  30. package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  31. package/dist/ui-kit/Sitemap/Sitemap.js +4 -4
  32. package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  33. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -1
  34. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  35. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -0
  36. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  37. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  38. package/dist/ui-kit/SwipeListControl/isShowDots.d.ts +1 -0
  39. package/dist/ui-kit/SwipeListControl/isShowDots.js +4 -0
  40. package/dist/ui-kit/SwipeListControl/isShowDots.js.map +1 -0
  41. package/dist/ui-kit/SwipeListControl/isShowDots.mobile.d.ts +1 -0
  42. package/dist/ui-kit/SwipeListControl/isShowDots.mobile.js +4 -0
  43. package/dist/ui-kit/SwipeListControl/isShowDots.mobile.js.map +1 -0
  44. package/lib/common.css +1 -1
  45. package/lib/components/Carousel/Carousel.js +1 -1
  46. package/lib/components/Carousel/Carousel.js.map +1 -1
  47. package/lib/components/CarouselLinks/CarouselLinkButton.js +2 -2
  48. package/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  49. package/lib/components/ContentPage/ContentPage.js +1 -1
  50. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  51. package/lib/components/Footer/Contacts.js +1 -1
  52. package/lib/components/Header/HeaderSubMenu.js +2 -1
  53. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  54. package/lib/components/MobileAppTile/MobileAppTile.js +3 -2
  55. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  56. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  57. package/lib/components/OfficesAtmsMap/OfficesAtmsMap.js +4 -9
  58. package/lib/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -1
  59. package/lib/components/StickyBottomMenu/RenderMenuItems.js +1 -2
  60. package/lib/components/StickyBottomMenu/RenderMenuItems.js.map +1 -1
  61. package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js +3 -3
  62. package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -1
  63. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +1 -0
  64. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.mobile.d.ts +8 -0
  65. package/lib/ui-kit/ClientOnly.d.ts +1 -0
  66. package/lib/ui-kit/ClientOnly.js +5 -0
  67. package/lib/ui-kit/ClientOnly.js.map +1 -0
  68. package/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  69. package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  70. package/lib/ui-kit/Sitemap/Sitemap.js +4 -4
  71. package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  72. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -1
  73. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  74. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -0
  75. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  76. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  77. package/lib/ui-kit/SwipeListControl/isShowDots.d.ts +1 -0
  78. package/lib/ui-kit/SwipeListControl/isShowDots.js +2 -0
  79. package/lib/ui-kit/SwipeListControl/isShowDots.js.map +1 -0
  80. package/lib/ui-kit/SwipeListControl/isShowDots.mobile.d.ts +1 -0
  81. package/lib/ui-kit/SwipeListControl/isShowDots.mobile.js +2 -0
  82. package/lib/ui-kit/SwipeListControl/isShowDots.mobile.js.map +1 -0
  83. package/mobile/bundle/bundle.umd.js +40 -45
  84. package/mobile/bundle/bundle.umd.min.js +1 -1
  85. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  86. package/mobile/bundle/ui-kit/ClientOnly.d.ts +1 -0
  87. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -0
  88. package/mobile/bundle/ui-kit/SwipeListControl/isShowDots.d.ts +1 -0
  89. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  90. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  91. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +2 -2
  92. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  93. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  94. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  95. package/mobile/dist/components/Footer/Contacts.js +1 -1
  96. package/mobile/dist/components/Header/HeaderSubMenu.js +2 -1
  97. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  98. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +3 -2
  99. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  100. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  101. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.js +4 -9
  102. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -1
  103. package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.js +1 -2
  104. package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.js.map +1 -1
  105. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js +2 -2
  106. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -1
  107. package/mobile/dist/ui-kit/ClientOnly.d.ts +1 -0
  108. package/mobile/dist/ui-kit/ClientOnly.js +7 -0
  109. package/mobile/dist/ui-kit/ClientOnly.js.map +1 -0
  110. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  111. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  112. package/mobile/dist/ui-kit/Sitemap/Sitemap.js +4 -4
  113. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  114. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -1
  115. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  116. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -0
  117. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  118. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  119. package/mobile/dist/ui-kit/SwipeListControl/isShowDots.d.ts +1 -0
  120. package/mobile/dist/ui-kit/SwipeListControl/isShowDots.js +4 -0
  121. package/mobile/dist/ui-kit/SwipeListControl/isShowDots.js.map +1 -0
  122. package/mobile/lib/common.css +1 -1
  123. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  124. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  125. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +2 -2
  126. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  127. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  128. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  129. package/mobile/lib/components/Footer/Contacts.js +1 -1
  130. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -1
  131. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  132. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +3 -2
  133. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  134. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  135. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.js +4 -9
  136. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -1
  137. package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.js +1 -2
  138. package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.js.map +1 -1
  139. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js +3 -3
  140. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -1
  141. package/mobile/lib/ui-kit/ClientOnly.d.ts +1 -0
  142. package/mobile/lib/ui-kit/ClientOnly.js +5 -0
  143. package/mobile/lib/ui-kit/ClientOnly.js.map +1 -0
  144. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  145. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  146. package/mobile/lib/ui-kit/Sitemap/Sitemap.js +4 -4
  147. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  148. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -1
  149. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  150. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -0
  151. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  152. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  153. package/mobile/lib/ui-kit/SwipeListControl/isShowDots.d.ts +1 -0
  154. package/mobile/lib/ui-kit/SwipeListControl/isShowDots.js +2 -0
  155. package/mobile/lib/ui-kit/SwipeListControl/isShowDots.js.map +1 -0
  156. package/mobile/src/components/Carousel/Carousel.tsx +1 -0
  157. package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +2 -2
  158. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
  159. package/mobile/src/components/Footer/Contacts.tsx +1 -1
  160. package/mobile/src/components/Header/HeaderSubMenu.tsx +6 -1
  161. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +19 -6
  162. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
  163. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.tsx +8 -14
  164. package/mobile/src/components/StickyBottomMenu/RenderMenuItems.tsx +5 -11
  165. package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.tsx +6 -4
  166. package/mobile/src/ui-kit/ClientOnly.tsx +6 -0
  167. package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +2 -2
  168. package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +10 -6
  169. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -1
  170. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +11 -2
  171. package/mobile/src/ui-kit/SwipeListControl/isShowDots.tsx +1 -0
  172. package/package.json +1 -1
  173. package/src/components/Carousel/Carousel.tsx +1 -0
  174. package/src/components/CarouselLinks/CarouselLinkButton.tsx +2 -2
  175. package/src/components/ContentPage/ContentPage.tsx +2 -2
  176. package/src/components/Footer/Contacts.tsx +1 -1
  177. package/src/components/Header/HeaderSubMenu.tsx +6 -1
  178. package/src/components/MobileAppTile/MobileAppTile.tsx +19 -6
  179. package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
  180. package/src/components/OfficesAtmsMap/OfficesAtmsMap.tsx +8 -14
  181. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -1
  182. package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -1
  183. package/src/components/StickyBottomMenu/RenderMenuItems.tsx +5 -11
  184. package/src/components/StickyBottomMenu/StickyBottomMenu.mobile.tsx +6 -4
  185. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.mobile.tsx +66 -0
  186. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +19 -0
  187. package/src/ui-kit/Button/Button.fixture.tsx +22 -22
  188. package/src/ui-kit/ClientOnly.tsx +6 -0
  189. package/src/ui-kit/HeaderItem/HeaderItem.fixture.tsx +2 -2
  190. package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +2 -2
  191. package/src/ui-kit/Logo/Logo.fixture.tsx +1 -1
  192. package/src/ui-kit/Sitemap/Sitemap.tsx +10 -6
  193. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -1
  194. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +11 -2
  195. package/src/ui-kit/SwipeListControl/isShowDots.mobile.tsx +1 -0
  196. package/src/ui-kit/SwipeListControl/isShowDots.tsx +1 -0
  197. package/src/ui-kit/TopItem/TopItem.fixture.tsx +2 -2
  198. package/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  199. package/bundle/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -3
  200. package/bundle/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +0 -1
  201. package/bundle/components/OfficesAtmsMap/renderDay.d.ts +0 -1
  202. package/dist/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  203. package/dist/components/MobileAppTile/buttonsConditionStyle.js +0 -6
  204. package/dist/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
  205. package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -3
  206. package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js +0 -13
  207. package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +0 -1
  208. package/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +0 -1
  209. package/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js +0 -2
  210. package/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +0 -1
  211. package/dist/components/OfficesAtmsMap/renderDay.d.ts +0 -1
  212. package/dist/components/OfficesAtmsMap/renderDay.js +0 -2
  213. package/dist/components/OfficesAtmsMap/renderDay.js.map +0 -1
  214. package/lib/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  215. package/lib/components/MobileAppTile/buttonsConditionStyle.js +0 -3
  216. package/lib/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
  217. package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -2
  218. package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js +0 -10
  219. package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +0 -1
  220. package/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +0 -1
  221. package/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js +0 -2
  222. package/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +0 -1
  223. package/lib/components/OfficesAtmsMap/renderDay.d.ts +0 -1
  224. package/lib/components/OfficesAtmsMap/renderDay.js +0 -2
  225. package/lib/components/OfficesAtmsMap/renderDay.js.map +0 -1
  226. package/mobile/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  227. package/mobile/bundle/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +0 -1
  228. package/mobile/bundle/components/OfficesAtmsMap/renderDay.d.ts +0 -1
  229. package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  230. package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js +0 -13
  231. package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
  232. package/mobile/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +0 -1
  233. package/mobile/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js +0 -2
  234. package/mobile/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +0 -1
  235. package/mobile/dist/components/OfficesAtmsMap/renderDay.d.ts +0 -1
  236. package/mobile/dist/components/OfficesAtmsMap/renderDay.js +0 -2
  237. package/mobile/dist/components/OfficesAtmsMap/renderDay.js.map +0 -1
  238. package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  239. package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js +0 -10
  240. package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
  241. package/mobile/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +0 -1
  242. package/mobile/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js +0 -2
  243. package/mobile/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +0 -1
  244. package/mobile/lib/components/OfficesAtmsMap/renderDay.d.ts +0 -1
  245. package/mobile/lib/components/OfficesAtmsMap/renderDay.js +0 -2
  246. package/mobile/lib/components/OfficesAtmsMap/renderDay.js.map +0 -1
  247. package/mobile/src/components/MobileAppTile/buttonsConditionStyle.tsx +0 -12
  248. package/mobile/src/components/OfficesAtmsMap/renderCurrentDaySchedule.tsx +0 -2
  249. package/mobile/src/components/OfficesAtmsMap/renderDay.tsx +0 -2
  250. package/src/components/MobileAppTile/buttonsConditionStyle.mobile.tsx +0 -12
  251. package/src/components/MobileAppTile/buttonsConditionStyle.tsx +0 -5
  252. package/src/components/OfficesAtmsMap/renderCurrentDaySchedule.tsx +0 -2
  253. package/src/components/OfficesAtmsMap/renderDay.tsx +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"renderInnerTableRow.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/renderInnerTableRow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,MAAM,mBAAmB,GAC9B,CAAC,iBAAyB,EAAE,EAAE,CAAC,CAAC,OAAmB,EAAE,MAAc,EAAE,EAAE;IACrE,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE;QACpB,OAAO,IAAI,CAAC;KACb;IAED,MAAM,CAAC,YAAY,EAAE,GAAG,OAAO,CAAC,GAAG,OAAO,CAAC;IAE3C,MAAM,YAAY,GAAG,KAAK,CACxB,gCAAgC,EAChC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAC5C,CAAC;IAEF,OAAO,CACL,eAA0B,SAAS,EAAC,uDAAuD,aACxF,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,CACpB,cA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E,GACF,KArBE,MAAM,CAAC,MAAM,CAAC,CAsBlB,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,UAAU,GAAG,CAAC,IAAc,EAAE,QAAgB,EAAE,EAAE,CACtD,IAAI,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACjB,cAAK,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,QAAQ,KAAK,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC,YACvE,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACrB,cAAqB,SAAS,EAAC,oBAAoB,YAChD,IAAI,IADG,MAAM,CAAC,CAAC,CAAC,CAEb,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
@@ -8,11 +8,11 @@ export const Sitemap = JSX(({ className, topItems }) => {
8
8
  const link = useLink({ isRemote: true });
9
9
  return (_jsx("div", { className: style('flex items-start justify-between', className), children: topItems?.map(link).map(renderColumn) }));
10
10
  });
11
+ const FOOTER_AREA_KEY = 'footer';
11
12
  const renderColumn = (menuItem, index) => {
12
- const { text, items, href, target, onClick } = menuItem;
13
- return (_jsxs("div", { className: "flex flex-col gap-s w-1/4", children: [_jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), items
14
- ?.filter((_) => !_.displayArea || _.displayArea === 'Footer')
15
- .map((_, i) => (_jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
13
+ const { text, items = [], href, target, onClick } = menuItem;
14
+ const visibleSubItems = items.filter((_) => !_.displayArea || _.displayArea.toLowerCase() === FOOTER_AREA_KEY);
15
+ return (_jsxs("div", { className: "flex flex-col gap-s w-1/4", children: [_jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), visibleSubItems.map((_, i) => (_jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
16
16
  };
17
17
  const ColumnItem = JSX(({ text, index, basePath, ...rest }) => {
18
18
  const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
@@ -1 +1 @@
1
- {"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/ui-kit/Sitemap/Sitemap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAO1C,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnE,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAEzC,OAAO,CACL,cAAK,SAAS,EAAE,KAAK,CAAC,kCAAkC,EAAE,SAAS,CAAC,YACjE,QAAQ,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAClC,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,QAAoD,EAAE,KAAa,EAAE,EAAE;IAC3F,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAC;IAExD,OAAO,CACL,eAAyB,SAAS,EAAC,2BAA2B,aAC5D,YACE,SAAS,EAAC,yEAAyE,EACnF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,E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B,EACH,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC7B,KAAC,UAAU,OAAqB,CAAC,EAAE,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,IAAvD,MAAM,CAAC,CAAC,CAAC,CAAkD,CAC7E,CAAC,KAXM,MAAM,CAAC,KAAK,CAAC,CAYjB,CACP,CAAC;AACJ,CAAC,CAAC;AAOF,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7E,MAAM,eAAe,GACnB,eAAe,CAAC,SAAS,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,SAAS,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAElG,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC9D,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAE7C,OAAO,CACL,YACE,SAAS,EAAE,KAAK,CACd,4EAA4E,EAC5E,uDAAuD,CACxD,EACD,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,EACzB,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,CACL,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -4,6 +4,7 @@ import { style } from '../../utils/style.js';
4
4
  import { SwipeListContainer } from './SwipeListContainer.js';
5
5
  import { SwipeListControlDots } from './SwipeListControlDots.js';
6
6
  import { useSwipeListScroll } from './useSwipeListScroll.js';
7
+ import { isShowDots } from './isShowDots.js';
7
8
  const DEFAULT_GAP = 14;
8
9
  /*
9
10
  Horizontal padding used on a container above SwipeListControl.
@@ -11,7 +12,7 @@ const DEFAULT_GAP = 14;
11
12
  and get rid of a clipping effect caused by overflow: hidden.
12
13
  */
13
14
  const DEFAULT_PADDING = 16;
14
- export const SwipeListControl = JSX(({ className, version, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', }) => {
15
+ export const SwipeListControl = JSX(({ className, version, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = isShowDots, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', }) => {
15
16
  const itemCount = Array.isArray(children) ? children.length : 0;
16
17
  const [containerRef, scroll] = useSwipeListScroll({
17
18
  itemCount,
@@ -1 +1 @@
1
- {"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,WAAW,GAAG,EAAE,CAAC;AAEvB;;;;GAIG;AACH,MAAM,eAAe,GAAG,EAAE,CAAC;AAU3B,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,SAAS,EACT,OAAO,EACP,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,EACzB,QAAQ,GAAG,IAAI,EACf,SAAS,EACT,QAAQ,EACR,sBAAsB,EACtB,QAAQ,GAAG,iBAAiB,GAC7B,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,C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,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { SwipeListControlType } from './SwipeListControlContent';
3
3
  export interface SwipeListControlDotsProps {
4
+ className?: string;
4
5
  containerRef?: {
5
6
  current: HTMLDivElement | null;
6
7
  };
@@ -11,7 +11,7 @@ const activeDotStyles = {
11
11
  };
12
12
  const dotStyle = 'cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white';
13
13
  const inactiveDotStyle = 'w-2 h-2 opacity-30';
14
- export const SwipeListControlDots = JSX(({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version }) => {
14
+ export const SwipeListControlDots = JSX(({ className = '', containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version, }) => {
15
15
  const handleClick = (idx) => {
16
16
  if (idx !== activeIndex && containerRef?.current) {
17
17
  containerRef.current.children[idx]?.scrollIntoView({
@@ -20,6 +20,6 @@ export const SwipeListControlDots = JSX(({ containerRef, activeIndex, dotCount =
20
20
  });
21
21
  }
22
22
  };
23
- return dotCount ? (_jsx("div", { className: style('flex gap-xs @lg:hidden', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (_jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
23
+ return dotCount ? (_jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : '', className), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (_jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
24
24
  });
25
25
  //# sourceMappingURL=SwipeListControlDots.js.map
@@ -1 +1 @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E,cAAc,CAAC;gBACjD,QAAQ,EAAE,QAAQ;gBAClB,KAAK,EAAE,SAAS;aACjB,CAAC,CAAC;SACJ;IACH,CAAC,CAAC;IAEF,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,cACE,SAAS,EAAE,KAAK,CACd,aAAa,EACb,eAAe,CAAC,QAAQ,CAAC,EACzB,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EACtB,SAAS,CACV,KACG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,YAE3C,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAW,EAAE,EAAE,CAAC,CACtD,cAEE,SAAS,EAAE,GAAG,QAAQ,IACpB,GAAG,KAAK,WAAW,CAAC,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,gBACpD,EAAE,EACF,IAAI,EAAC,QAAQ,uBAEb,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,IAN1B,MAAM,CAAC,GAAG,CAAC,CAOhB,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const isShowDots = false;
@@ -0,0 +1,2 @@
1
+ export const isShowDots = false;
2
+ //# sourceMappingURL=isShowDots.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isShowDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/isShowDots.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const isShowDots = true;
@@ -0,0 +1,2 @@
1
+ export const isShowDots = true;
2
+ //# sourceMappingURL=isShowDots.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isShowDots.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/isShowDots.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC"}
@@ -1546,7 +1546,7 @@
1546
1546
  };
1547
1547
  const dotStyle = 'cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white';
1548
1548
  const inactiveDotStyle = 'w-2 h-2 opacity-30';
1549
- const SwipeListControlDots = JSX(({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version }) => {
1549
+ const SwipeListControlDots = JSX(({ className = '', containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version, }) => {
1550
1550
  const handleClick = (idx) => {
1551
1551
  if (idx !== activeIndex && containerRef?.current) {
1552
1552
  containerRef.current.children[idx]?.scrollIntoView({
@@ -1555,7 +1555,7 @@
1555
1555
  });
1556
1556
  }
1557
1557
  };
1558
- return dotCount ? (jsx("div", { className: style('flex gap-xs @lg:hidden', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
1558
+ return dotCount ? (jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : '', className), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
1559
1559
  });
1560
1560
 
1561
1561
  const areArraysEqual = (as, bs) => as === bs || Boolean(as && bs && as?.length === bs?.length && as.every((_, i) => _ === bs[i]));
@@ -1637,6 +1637,8 @@
1637
1637
  ];
1638
1638
  };
1639
1639
 
1640
+ const isShowDots = true;
1641
+
1640
1642
  const DEFAULT_GAP = 14;
1641
1643
  /*
1642
1644
  Horizontal padding used on a container above SwipeListControl.
@@ -1644,7 +1646,7 @@
1644
1646
  and get rid of a clipping effect caused by overflow: hidden.
1645
1647
  */
1646
1648
  const DEFAULT_PADDING = 16;
1647
- const SwipeListControl = JSX(({ className, version, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', }) => {
1649
+ const SwipeListControl = JSX(({ className, version, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = isShowDots, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', }) => {
1648
1650
  const itemCount = Array.isArray(children) ? children.length : 0;
1649
1651
  const [containerRef, scroll] = useSwipeListScroll({
1650
1652
  itemCount,
@@ -2620,7 +2622,7 @@
2620
2622
  const [dotsActiveIndex] = scroll.visibleIndicesRange;
2621
2623
  // TODO Remove
2622
2624
  const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
2623
- return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderCarouselCards({ noCardBorder, activeIndex, cardSize, ...rest }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }), jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })] }));
2625
+ return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderCarouselCards({ noCardBorder, activeIndex, cardSize, ...rest }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }), jsx(SwipeListControlDots, { className: "@lg:hidden", containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })] }));
2624
2626
  });
2625
2627
  Carousel.childrenTypes = [
2626
2628
  'CarouselCard',
@@ -2678,7 +2680,7 @@
2678
2680
  const CarouselLinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2679
2681
  const link = useLink();
2680
2682
  const adjustedProps = link({ href, target });
2681
- return text ? (jsx("div", { className: style('flex relative group/link pl-s pb-s min-w-[16rem] xl:min-w-[20rem]', className), children: jsxs("div", { className: "relative min-h-16 w-full", children: [jsxs("a", { className: style(LINK_CLASS_NAME, 'sm:rounded-md rounded-none w-full px-xl py-lg whitespace-nowrap'), role: "link", ...adjustedProps, children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text }), jsx(Img, { className: "group-hover/link:brightness-100 hidden xl:block ml-2xs", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main hidden xl:block", width: "24", height: "24" })] }), jsx("div", { className: style(LINK_BORDER_CLASS_NAME, '-bottom-1.5 -left-1.5') }), jsx("div", { className: style(LINK_BORDER_CLASS_NAME, '-bottom-3 -left-3') })] }) })) : null;
2683
+ return text ? (jsx("div", { className: style('flex relative group/link pl-s pb-s min-w-[16rem] xl:min-w-[20rem]', className), children: jsxs("div", { className: "relative min-h-16 w-full", children: [jsxs("a", { className: style(LINK_CLASS_NAME, 'sm:rounded-md rounded-none w-full px-xl py-lg whitespace-nowrap z-10'), role: "link", ...adjustedProps, children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text }), jsx(Img, { className: "group-hover/link:brightness-100 hidden xl:block ml-2xs", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main hidden xl:block", width: "24", height: "24" })] }), jsx("div", { className: style(LINK_BORDER_CLASS_NAME, '-bottom-1.5 -left-1.5') }), jsx("div", { className: style(LINK_BORDER_CLASS_NAME, '-bottom-3 -left-3') })] }) })) : null;
2682
2684
  });
2683
2685
 
2684
2686
  const MAX_LINKS_COUNT = 3;
@@ -3150,7 +3152,7 @@
3150
3152
  return version === 'primary' ? (jsx(PrimaryFoldButton, { label: label, labelIcon: labelIcon, labelIconBgVersion: labelIconBgVersion, icon: icon, onToggle: onToggle })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
3151
3153
  };
3152
3154
 
3153
- const Contacts = JSX(({ className = '', items }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, jsx(Button, { version: "primary", className: "w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })] })));
3155
+ const Contacts = JSX(({ className = '', items }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, jsx(Button, { version: "primary", className: "w-full", href: "https://old.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })] })));
3154
3156
  const renderContactsGroup = (item, i) => (jsxs("div", { className: "mb-m", children: [jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { children: item.items?.map(renderContact) })] }, String(i)));
3155
3157
  const renderContact = (item, index) => (jsxs("div", { className: "mb-m", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "mt-2xs text-s font-light text-secondary-text", children: item.description })] }, String(index)));
3156
3158
  const renderText = (type, text = '') => {
@@ -3324,17 +3326,10 @@
3324
3326
  return items?.length ? (jsx(List, { items: items, listItemSize: listItemSize, className: "text-l font-light" })) : (jsx("span", { className: "text-m font-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
3325
3327
  };
3326
3328
 
3327
- const buttonsConditionStyle = (buttons) => {
3328
- const buttonsLengthMoreThanTwo = buttons.length > 2;
3329
- return renderButtonsSection(buttons, {
3330
- className: style(buttonsLengthMoreThanTwo ? 'w-full' : 'flex-nowrap'),
3331
- isVertical: buttonsLengthMoreThanTwo,
3332
- });
3333
- };
3334
-
3335
3329
  const MobileAppTile = JSX(({ className, padding, align = 'text-left', buttons = [], description, headingType = 'h4', image, items, listItemSize, qr, title = 'Мобильное приложение', version = 'primary', ...rest }) => {
3336
3330
  const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
3337
- return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: title ? (jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) })) : null, rightImage: image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null, buttons: buttonsConditionStyle(buttons), children: [renderDescription$1(description), jsxs("div", { className: "flex flex-1 flex-wrap gap-m items-center", children: [qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, renderList$1(items, listItemSize), image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
3331
+ const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
3332
+ return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: title ? (jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) })) : null, rightImage: img, buttons: renderButtonsSection(buttons), children: [renderDescription$1(description), jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @4xl:flex-row @4xl:items-center'), children: [renderList$1(items, listItemSize), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @4xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
3338
3333
  });
3339
3334
 
3340
3335
  const renderInsuranceSumMonth = (sum, monthLimit) => sum || monthLimit ? (jsxs("div", { className: "flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-xl", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма', sum) : null, Number(monthLimit) > 0 ? renderValueBlock('Ежемесячный лимит', monthLimit) : null] })) : null;
@@ -3766,6 +3761,23 @@
3766
3761
  return (jsx("div", { className: style(iconAreaSize, containerStyle, 'z-10 mr-s flex justify-center content-center'), children: jsx("span", { className: "flex max-w-full max-h-full self-center text-h4 text-secondary-text group-data-secondary:text-white", children: checkCanRenderIcon(step?.icon) ? (jsx(Img, { image: { ...step.icon, iconVersion: step.icon?.iconVersion || iconVersion }, imageClassName: "max-w-full max-h-full", width: iconSize, height: iconSize })) : (jsx("span", { children: i + 1 })) }) }));
3767
3762
  };
3768
3763
 
3764
+ const RenderItem = JSX(({ isActive, item, onClick }) => {
3765
+ const isAnotherPortal = projectSettings?.BASE_PATH
3766
+ ? !item.href?.startsWith(projectSettings?.BASE_PATH)
3767
+ : true;
3768
+ const link = useLink({ isRemote: isAnotherPortal });
3769
+ const { href, target, onClick: handleClick, } = link({
3770
+ href: item.href,
3771
+ target: '_self',
3772
+ });
3773
+ const isActiveItem = item?.icon?.icon === 'BurgerIcon' ? item.isActive : isActive;
3774
+ const iconVersion = isActiveItem ? 'color' : 'black';
3775
+ return (jsxs("a", { className: style(isActiveItem ? 'text-primary-main' : 'text-primary-text', `w-10 m-4 flex justify-center items-center flex-col text-xs cursor-pointer`), onClick: () => (item?.icon?.icon === 'BurgerIcon' && onClick ? onClick() : handleClick()), href: href, target: target, children: [jsx(Img, { className: "w-6 h-6", image: {
3776
+ icon: item?.icon?.icon,
3777
+ iconVersion: iconVersion,
3778
+ } }), item.title] }));
3779
+ });
3780
+
3769
3781
  const isHrefActive = (router) => ({ href }) => !href
3770
3782
  ? false
3771
3783
  : withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
@@ -3778,6 +3790,11 @@
3778
3790
  return [activeIndex, items[activeIndex]];
3779
3791
  }
3780
3792
 
3793
+ const RenderMenuItems = JSX(({ menuItems, onClick }) => {
3794
+ const [activeIndex] = useActiveRoute(menuItems);
3795
+ return (jsx("div", { className: "ml-auto container bg-white flex justify-center shadow-blue-gray", children: menuItems.map((_, i) => (jsx(RenderItem, { isActive: i === activeIndex, item: _, onClick: onClick }, String(i)))) }));
3796
+ });
3797
+
3781
3798
  const useLatestEvent = (eventBus, type, initialEvent) => {
3782
3799
  const [latestEvent, setLatestEvent] = useState(initialEvent || null);
3783
3800
  useEffect(() => eventBus.subscribe(type, (_) => setLatestEvent(_)), [eventBus, type]);
@@ -3984,11 +4001,11 @@
3984
4001
  const link = useLink({ isRemote: true });
3985
4002
  return (jsx("div", { className: style('flex items-start justify-between', className), children: topItems?.map(link).map(renderColumn) }));
3986
4003
  });
4004
+ const FOOTER_AREA_KEY = 'footer';
3987
4005
  const renderColumn = (menuItem, index) => {
3988
- const { text, items, href, target, onClick } = menuItem;
3989
- return (jsxs("div", { className: "flex flex-col gap-s w-1/4", children: [jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), items
3990
- ?.filter((_) => !_.displayArea || _.displayArea === 'Footer')
3991
- .map((_, i) => (jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
4006
+ const { text, items = [], href, target, onClick } = menuItem;
4007
+ const visibleSubItems = items.filter((_) => !_.displayArea || _.displayArea.toLowerCase() === FOOTER_AREA_KEY);
4008
+ return (jsxs("div", { className: "flex flex-col gap-s w-1/4", children: [jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), visibleSubItems.map((_, i) => (jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
3992
4009
  };
3993
4010
  const ColumnItem = JSX(({ text, index, basePath, ...rest }) => {
3994
4011
  const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
@@ -4084,28 +4101,6 @@
4084
4101
  });
4085
4102
  const renderOfficeLink = (officesLink) => officesLink ? (jsxs("a", { className: "flex items-center mb-3", href: officesLink, rel: "noopener noreferrer", "aria-label": "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", children: [jsx(Img, { image: { icon: 'MapOpenedIcon', iconVersion: 'black' }, width: "24", height: "24", className: "text-primary-main box-border mr-xs bg-main-divider p-xs rounded-md" }), jsx("span", { children: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B" })] })) : null;
4086
4103
 
4087
- const RenderItem = JSX(({ isActive, item, onClick }) => {
4088
- const isAnotherPortal = projectSettings?.BASE_PATH
4089
- ? !item.href?.startsWith(projectSettings?.BASE_PATH)
4090
- : true;
4091
- const link = useLink({ isRemote: isAnotherPortal });
4092
- const { href, target, onClick: handleClick, } = link({
4093
- href: item.href,
4094
- target: '_self',
4095
- });
4096
- const isActiveItem = item?.icon?.icon === 'BurgerIcon' ? item.isActive : isActive;
4097
- const iconVersion = isActiveItem ? 'color' : 'black';
4098
- return (jsxs("a", { className: style(isActiveItem ? 'text-primary-main' : 'text-primary-text', `w-10 m-4 flex justify-center items-center flex-col text-xs cursor-pointer`), onClick: () => (item?.icon?.icon === 'BurgerIcon' && onClick ? onClick() : handleClick()), href: href, target: target, children: [jsx(Img, { className: "w-6 h-6", image: {
4099
- icon: item?.icon?.icon,
4100
- iconVersion: iconVersion,
4101
- } }), item.title] }));
4102
- });
4103
-
4104
- const RenderMenuItems = JSX(({ menuItems, onClick }) => {
4105
- const [activeIndex] = useActiveRoute(menuItems);
4106
- return (jsx(BlockWrapper, { className: "fixed bottom-0 left-0 right-0 my-0 mx-auto w-full bg-transparent z-[100]", padding: "p-0", children: jsx("div", { className: "ml-auto container bg-white flex justify-center shadow-blue-gray", children: menuItems.map((_, i) => (jsx(RenderItem, { isActive: i === activeIndex, item: _, onClick: onClick }, String(i)))) }) }));
4107
- });
4108
-
4109
4104
  function useList(initialList = []) {
4110
4105
  const [list, setList] = useState(initialList);
4111
4106
  const push = useCallback((item) => setList(_ => [..._, item]), []);
@@ -4181,7 +4176,7 @@
4181
4176
  burgerMenu,
4182
4177
  ...menuItems.slice(middleIdx),
4183
4178
  ], [menuItems, middleIdx, burgerMenu]);
4184
- return (jsxs("div", { className: "contents", children: [jsx(RenderMenuItems, { menuItems: menuItemsWithButton, onClick: toggle }), isBurgerMenuDialogOpen ? jsx(BurgerMenuDialog, {}) : null] }));
4179
+ return (jsx(BlockWrapper, { className: "fixed bottom-0 left-0 right-0 my-0 mx-auto w-full bg-transparent z-[100]", padding: "p-0", children: jsx(RenderMenuItems, { menuItems: menuItemsWithButton, onClick: toggle }) }));
4185
4180
  });
4186
4181
 
4187
4182
  const tabPaddingStyleMap = {
@@ -4377,7 +4372,7 @@
4377
4372
  }
4378
4373
  const [headerColumn, ...columns] = rowData;
4379
4374
  const columnsStyle = style('flex duration-1000 text-center', rowIdx !== 0 ? 'font-normal' : 'font-light');
4380
- return (jsxs("div", { className: "flex border-main-divider border-b border-solid h-full", children: [headerColumn?.data ? (jsx("div", { className: "text-xl font-light min-w-56 py-lg", children: headerColumn.data })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsStyle, style: {
4375
+ return (jsxs("div", { className: "flex border-main-divider border-b border-solid h-full", children: [headerColumn?.data ? (jsx("div", { className: "text-xl font-light w-56 min-w-56 py-lg", children: headerColumn.data })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsStyle, style: {
4381
4376
  transform: `translateX(-${getHorizontalShift(columns, activeColumnIndex)}px)`,
4382
4377
  }, children: columns?.map((_, i) => (jsxs("div", { className: "flex flex-col flex-grow gap-s justify-center py-xl odd:bg-main-divider", children: [_?.data ? jsx("div", { className: "text-xl font-light", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
4383
4378
  };
@@ -4910,7 +4905,7 @@
4910
4905
  parent: data,
4911
4906
  };
4912
4907
  useBlockRouterProvider();
4913
- return (jsxs("div", { "data-theme": colorPalette, children: [jsxs("section", { className: style('relative @container', pageStyle, className), children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @lg:space-y-0 @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(StickyBottomMenu, {}), jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
4908
+ return (jsxs("div", { className: "@container", "data-theme": colorPalette, children: [jsxs("section", { className: style('relative', pageStyle, className), children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @lg:space-y-0 @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(StickyBottomMenu, {}), jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
4914
4909
  });
4915
4910
  ContentPage.childrenTypes = [];
4916
4911
  ContentPage.slots = () => ['header', 'footer', 'StickyBottomMenu'];
@@ -4920,7 +4915,7 @@
4920
4915
 
4921
4916
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
4922
4917
 
4923
- const packageVersion = "0.14.1";
4918
+ const packageVersion = "0.14.3";
4924
4919
 
4925
4920
  exports.Blocks = Blocks;
4926
4921
  exports.ContentPage = ContentPage;