@redneckz/wildless-cms-uni-blocks 0.14.531 → 0.14.533

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 (399) hide show
  1. package/bin/migration-scripts/0.14.519.js +13 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +127 -114
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +3 -7
  6. package/bundle/components/StepsBlock/renderStepMobile.d.ts +4 -0
  7. package/bundle/ui-kit/BaseTile/renderImageContainer.d.ts +7 -0
  8. package/dist/components/BonusBenefitsBlock/renderBonusBenefit.js +3 -1
  9. package/dist/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
  10. package/dist/components/DepositFiltration/isRateRow.js +1 -3
  11. package/dist/components/DepositFiltration/isRateRow.js.map +1 -1
  12. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -3
  13. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  14. package/dist/components/Footer/SocialMedia.js +3 -1
  15. package/dist/components/Footer/SocialMedia.js.map +1 -1
  16. package/dist/components/Header/DropdownMenu.js +7 -2
  17. package/dist/components/Header/DropdownMenu.js.map +1 -1
  18. package/dist/components/Header/HeaderSecondaryMenuButton.js +3 -1
  19. package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  20. package/dist/components/Headline/Headline.js +1 -1
  21. package/dist/components/Headline/Headline.js.map +1 -1
  22. package/dist/components/LinkDocs/LinkDocs.js +1 -3
  23. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  24. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js +1 -3
  25. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  26. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +3 -5
  27. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  28. package/dist/components/ProductBlock/renderBackwardButton.js +2 -1
  29. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  30. package/dist/components/SafeDepositRental/SafeBoxCases.js +1 -3
  31. package/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
  32. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +1 -3
  33. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  34. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -3
  35. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  36. package/dist/components/StepsBlock/StepsBlock.js +6 -9
  37. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  38. package/dist/components/StepsBlock/StepsBlock.mobile.js +5 -26
  39. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  40. package/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -7
  41. package/dist/components/StepsBlock/renderStepMobile.d.ts +4 -0
  42. package/dist/components/StepsBlock/renderStepMobile.js +48 -0
  43. package/dist/components/StepsBlock/renderStepMobile.js.map +1 -0
  44. package/dist/components/StickyBottomMenu/StickyBottomMenuItem.js +1 -3
  45. package/dist/components/StickyBottomMenu/StickyBottomMenuItem.js.map +1 -1
  46. package/dist/components/TabsLayout/TabsLayout.js +1 -1
  47. package/dist/components/TabsLayout/TabsLayout.js.map +1 -1
  48. package/dist/components/TariffsTable/TariffsTableCell.js +3 -5
  49. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  50. package/dist/ui-kit/BaseFiltration/renderGridBlocks.js +1 -1
  51. package/dist/ui-kit/BaseFiltration/renderGridBlocks.js.map +1 -1
  52. package/dist/ui-kit/BaseTile/BaseTile.js +21 -24
  53. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  54. package/dist/ui-kit/BaseTile/renderImageContainer.d.ts +7 -0
  55. package/dist/ui-kit/BaseTile/renderImageContainer.js +12 -0
  56. package/dist/ui-kit/BaseTile/renderImageContainer.js.map +1 -0
  57. package/dist/ui-kit/BlockWrapper.js +3 -1
  58. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  59. package/dist/ui-kit/Button/Button.js +6 -4
  60. package/dist/ui-kit/Button/Button.js.map +1 -1
  61. package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  62. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  63. package/dist/ui-kit/DatePicker/renderCalendarCells.js +3 -1
  64. package/dist/ui-kit/DatePicker/renderCalendarCells.js.map +1 -1
  65. package/dist/ui-kit/DialogManager/DialogManager.js +3 -1
  66. package/dist/ui-kit/DialogManager/DialogManager.js.map +1 -1
  67. package/dist/ui-kit/Icon/Icon.js +3 -1
  68. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  69. package/dist/ui-kit/InnerTable/InnerTableHeader.js +3 -1
  70. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  71. package/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  72. package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  73. package/dist/ui-kit/LinkButton/ButtonInner.js +3 -1
  74. package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  75. package/dist/ui-kit/Select/Select.js +1 -1
  76. package/dist/ui-kit/Select/Select.js.map +1 -1
  77. package/dist/ui-kit/Select/SelectPopup.js +3 -1
  78. package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
  79. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +3 -1
  80. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  81. package/dist/ui-kit/TopItem/TopItem.js +3 -1
  82. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  83. package/dist/utils/style.js +5 -3
  84. package/dist/utils/style.js.map +1 -1
  85. package/lib/common.css +1 -1
  86. package/lib/components/BonusBenefitsBlock/renderBonusBenefit.js +3 -1
  87. package/lib/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
  88. package/lib/components/DepositFiltration/isRateRow.js +1 -3
  89. package/lib/components/DepositFiltration/isRateRow.js.map +1 -1
  90. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -3
  91. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  92. package/lib/components/Footer/SocialMedia.js +3 -1
  93. package/lib/components/Footer/SocialMedia.js.map +1 -1
  94. package/lib/components/Header/DropdownMenu.js +7 -2
  95. package/lib/components/Header/DropdownMenu.js.map +1 -1
  96. package/lib/components/Header/HeaderSecondaryMenuButton.js +3 -1
  97. package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  98. package/lib/components/Headline/Headline.js +1 -1
  99. package/lib/components/Headline/Headline.js.map +1 -1
  100. package/lib/components/LinkDocs/LinkDocs.js +1 -3
  101. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  102. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js +1 -3
  103. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  104. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +3 -5
  105. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  106. package/lib/components/ProductBlock/renderBackwardButton.js +2 -1
  107. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  108. package/lib/components/SafeDepositRental/SafeBoxCases.js +1 -3
  109. package/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
  110. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +1 -3
  111. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  112. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -3
  113. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  114. package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +1 -0
  115. package/lib/components/StepsBlock/StepsBlock.js +7 -10
  116. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  117. package/lib/components/StepsBlock/StepsBlock.mobile.js +5 -26
  118. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  119. package/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -7
  120. package/lib/components/StepsBlock/renderStepMobile.d.ts +3 -0
  121. package/lib/components/StepsBlock/renderStepMobile.js +45 -0
  122. package/lib/components/StepsBlock/renderStepMobile.js.map +1 -0
  123. package/lib/components/StickyBottomMenu/StickyBottomMenuItem.js +1 -3
  124. package/lib/components/StickyBottomMenu/StickyBottomMenuItem.js.map +1 -1
  125. package/lib/components/TabsLayout/TabsLayout.js +1 -1
  126. package/lib/components/TabsLayout/TabsLayout.js.map +1 -1
  127. package/lib/components/TariffsTable/TariffsTableCell.js +3 -5
  128. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  129. package/lib/ui-kit/BaseFiltration/renderGridBlocks.js +1 -1
  130. package/lib/ui-kit/BaseFiltration/renderGridBlocks.js.map +1 -1
  131. package/lib/ui-kit/BaseTile/BaseTile.js +22 -25
  132. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  133. package/lib/ui-kit/BaseTile/renderImageContainer.d.ts +6 -0
  134. package/lib/ui-kit/BaseTile/renderImageContainer.js +9 -0
  135. package/lib/ui-kit/BaseTile/renderImageContainer.js.map +1 -0
  136. package/lib/ui-kit/BlockWrapper.js +3 -1
  137. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  138. package/lib/ui-kit/Button/Button.js +6 -4
  139. package/lib/ui-kit/Button/Button.js.map +1 -1
  140. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  141. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  142. package/lib/ui-kit/DatePicker/renderCalendarCells.js +3 -1
  143. package/lib/ui-kit/DatePicker/renderCalendarCells.js.map +1 -1
  144. package/lib/ui-kit/DialogManager/DialogManager.js +3 -1
  145. package/lib/ui-kit/DialogManager/DialogManager.js.map +1 -1
  146. package/lib/ui-kit/Icon/Icon.js +3 -1
  147. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  148. package/lib/ui-kit/InnerTable/InnerTableHeader.js +3 -1
  149. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  150. package/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  151. package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  152. package/lib/ui-kit/LinkButton/ButtonInner.js +3 -1
  153. package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  154. package/lib/ui-kit/Select/Select.js +1 -1
  155. package/lib/ui-kit/Select/Select.js.map +1 -1
  156. package/lib/ui-kit/Select/SelectPopup.js +3 -1
  157. package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
  158. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +3 -1
  159. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  160. package/lib/ui-kit/TopItem/TopItem.js +3 -1
  161. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  162. package/lib/utils/style.js +5 -3
  163. package/lib/utils/style.js.map +1 -1
  164. package/mobile/bundle/bundle.umd.js +147 -123
  165. package/mobile/bundle/bundle.umd.min.js +1 -1
  166. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +3 -7
  167. package/mobile/bundle/components/StepsBlock/renderStepMobile.d.ts +4 -0
  168. package/mobile/bundle/ui-kit/BaseTile/renderImageContainer.d.ts +7 -0
  169. package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefit.js +3 -1
  170. package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
  171. package/mobile/dist/components/DepositFiltration/isRateRow.js +1 -3
  172. package/mobile/dist/components/DepositFiltration/isRateRow.js.map +1 -1
  173. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -3
  174. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  175. package/mobile/dist/components/Footer/SocialMedia.js +3 -1
  176. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  177. package/mobile/dist/components/Header/DropdownMenu.js +7 -2
  178. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  179. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js +3 -1
  180. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  181. package/mobile/dist/components/Headline/Headline.js +1 -1
  182. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  183. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -3
  184. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  185. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js +1 -3
  186. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  187. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +3 -5
  188. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  189. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +2 -1
  190. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  191. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +1 -3
  192. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
  193. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +1 -3
  194. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  195. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -3
  196. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  197. package/mobile/dist/components/StepsBlock/StepsBlock.js +5 -26
  198. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  199. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -7
  200. package/mobile/dist/components/StepsBlock/renderStepMobile.d.ts +4 -0
  201. package/mobile/dist/components/StepsBlock/renderStepMobile.js +48 -0
  202. package/mobile/dist/components/StepsBlock/renderStepMobile.js.map +1 -0
  203. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuItem.js +1 -3
  204. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuItem.js.map +1 -1
  205. package/mobile/dist/components/TabsLayout/TabsLayout.js +1 -1
  206. package/mobile/dist/components/TabsLayout/TabsLayout.js.map +1 -1
  207. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +3 -5
  208. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  209. package/mobile/dist/ui-kit/BaseFiltration/renderGridBlocks.js +1 -1
  210. package/mobile/dist/ui-kit/BaseFiltration/renderGridBlocks.js.map +1 -1
  211. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +21 -24
  212. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  213. package/mobile/dist/ui-kit/BaseTile/renderImageContainer.d.ts +7 -0
  214. package/mobile/dist/ui-kit/BaseTile/renderImageContainer.js +12 -0
  215. package/mobile/dist/ui-kit/BaseTile/renderImageContainer.js.map +1 -0
  216. package/mobile/dist/ui-kit/BlockWrapper.js +3 -1
  217. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  218. package/mobile/dist/ui-kit/Button/Button.js +6 -4
  219. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  220. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  221. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  222. package/mobile/dist/ui-kit/DatePicker/renderCalendarCells.js +3 -1
  223. package/mobile/dist/ui-kit/DatePicker/renderCalendarCells.js.map +1 -1
  224. package/mobile/dist/ui-kit/DialogManager/DialogManager.js +3 -1
  225. package/mobile/dist/ui-kit/DialogManager/DialogManager.js.map +1 -1
  226. package/mobile/dist/ui-kit/Icon/Icon.js +3 -1
  227. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  228. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +3 -1
  229. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  230. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  231. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  232. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js +3 -1
  233. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  234. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  235. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  236. package/mobile/dist/ui-kit/Select/SelectPopup.js +3 -1
  237. package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
  238. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +3 -1
  239. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  240. package/mobile/dist/ui-kit/TopItem/TopItem.js +3 -1
  241. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  242. package/mobile/dist/utils/style.js +5 -3
  243. package/mobile/dist/utils/style.js.map +1 -1
  244. package/mobile/lib/common.css +1 -1
  245. package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefit.js +3 -1
  246. package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
  247. package/mobile/lib/components/DepositFiltration/isRateRow.js +1 -3
  248. package/mobile/lib/components/DepositFiltration/isRateRow.js.map +1 -1
  249. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -3
  250. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  251. package/mobile/lib/components/Footer/SocialMedia.js +3 -1
  252. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  253. package/mobile/lib/components/Header/DropdownMenu.js +7 -2
  254. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  255. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js +3 -1
  256. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  257. package/mobile/lib/components/Headline/Headline.js +1 -1
  258. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  259. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -3
  260. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  261. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js +1 -3
  262. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  263. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +3 -5
  264. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
  265. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +2 -1
  266. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  267. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +1 -3
  268. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
  269. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +1 -3
  270. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  271. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -3
  272. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  273. package/mobile/lib/components/StepsBlock/StepsBlock.js +5 -26
  274. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  275. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -7
  276. package/mobile/lib/components/StepsBlock/renderStepMobile.d.ts +4 -0
  277. package/mobile/lib/components/StepsBlock/renderStepMobile.js +45 -0
  278. package/mobile/lib/components/StepsBlock/renderStepMobile.js.map +1 -0
  279. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuItem.js +1 -3
  280. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuItem.js.map +1 -1
  281. package/mobile/lib/components/TabsLayout/TabsLayout.js +1 -1
  282. package/mobile/lib/components/TabsLayout/TabsLayout.js.map +1 -1
  283. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +3 -5
  284. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  285. package/mobile/lib/ui-kit/BaseFiltration/renderGridBlocks.js +1 -1
  286. package/mobile/lib/ui-kit/BaseFiltration/renderGridBlocks.js.map +1 -1
  287. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +22 -25
  288. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  289. package/mobile/lib/ui-kit/BaseTile/renderImageContainer.d.ts +7 -0
  290. package/mobile/lib/ui-kit/BaseTile/renderImageContainer.js +9 -0
  291. package/mobile/lib/ui-kit/BaseTile/renderImageContainer.js.map +1 -0
  292. package/mobile/lib/ui-kit/BlockWrapper.js +3 -1
  293. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  294. package/mobile/lib/ui-kit/Button/Button.js +6 -4
  295. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  296. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  297. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  298. package/mobile/lib/ui-kit/DatePicker/renderCalendarCells.js +3 -1
  299. package/mobile/lib/ui-kit/DatePicker/renderCalendarCells.js.map +1 -1
  300. package/mobile/lib/ui-kit/DialogManager/DialogManager.js +3 -1
  301. package/mobile/lib/ui-kit/DialogManager/DialogManager.js.map +1 -1
  302. package/mobile/lib/ui-kit/Icon/Icon.js +3 -1
  303. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  304. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +3 -1
  305. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  306. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  307. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  308. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js +3 -1
  309. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  310. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  311. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  312. package/mobile/lib/ui-kit/Select/SelectPopup.js +3 -1
  313. package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
  314. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +3 -1
  315. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  316. package/mobile/lib/ui-kit/TopItem/TopItem.js +3 -1
  317. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  318. package/mobile/lib/utils/style.js +5 -3
  319. package/mobile/lib/utils/style.js.map +1 -1
  320. package/mobile/src/components/BonusBenefitsBlock/renderBonusBenefit.tsx +3 -5
  321. package/mobile/src/components/DepositFiltration/isRateRow.ts +2 -3
  322. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -3
  323. package/mobile/src/components/Footer/SocialMedia.tsx +5 -2
  324. package/mobile/src/components/Header/DropdownMenu.tsx +12 -15
  325. package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +3 -1
  326. package/mobile/src/components/Headline/Headline.tsx +1 -1
  327. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -3
  328. package/mobile/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +6 -8
  329. package/mobile/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +7 -9
  330. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +3 -1
  331. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +23 -25
  332. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +29 -36
  333. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +8 -10
  334. package/mobile/src/components/StepsBlock/StepsBlock.tsx +24 -112
  335. package/mobile/src/components/StepsBlock/StepsBlock.ui.json +3 -0
  336. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +3 -6
  337. package/mobile/src/components/StepsBlock/renderStepMobile.tsx +139 -0
  338. package/mobile/src/components/StickyBottomMenu/StickyBottomMenuItem.tsx +17 -19
  339. package/mobile/src/components/TabsLayout/TabsLayout.tsx +1 -1
  340. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +19 -21
  341. package/mobile/src/ui-kit/BaseFiltration/renderGridBlocks.tsx +2 -2
  342. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +35 -66
  343. package/mobile/src/ui-kit/BaseTile/renderImageContainer.tsx +25 -0
  344. package/mobile/src/ui-kit/BlockWrapper.tsx +3 -1
  345. package/mobile/src/ui-kit/Button/Button.tsx +5 -7
  346. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +1 -1
  347. package/mobile/src/ui-kit/DatePicker/renderCalendarCells.tsx +3 -1
  348. package/mobile/src/ui-kit/DialogManager/DialogManager.tsx +3 -1
  349. package/mobile/src/ui-kit/Icon/Icon.tsx +3 -1
  350. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +3 -4
  351. package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
  352. package/mobile/src/ui-kit/LinkButton/ButtonInner.tsx +3 -1
  353. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  354. package/mobile/src/ui-kit/Select/SelectPopup.tsx +3 -4
  355. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +3 -1
  356. package/mobile/src/ui-kit/TopItem/TopItem.tsx +3 -1
  357. package/mobile/src/utils/style.ts +7 -5
  358. package/package.json +1 -1
  359. package/src/components/BonusBenefitsBlock/renderBonusBenefit.tsx +3 -5
  360. package/src/components/DepositFiltration/isRateRow.ts +2 -3
  361. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -3
  362. package/src/components/Footer/SocialMedia.tsx +5 -2
  363. package/src/components/Header/DropdownMenu.tsx +12 -15
  364. package/src/components/Header/HeaderSecondaryMenuButton.tsx +3 -1
  365. package/src/components/Headline/Headline.tsx +1 -1
  366. package/src/components/LinkDocs/LinkDocs.tsx +1 -3
  367. package/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +6 -8
  368. package/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +7 -9
  369. package/src/components/ProductBlock/renderBackwardButton.tsx +3 -1
  370. package/src/components/SafeDepositRental/SafeBoxCases.tsx +23 -25
  371. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +29 -36
  372. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +8 -10
  373. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +44 -8
  374. package/src/components/StepsBlock/StepsBlock.fixture.tsx +0 -1
  375. package/src/components/StepsBlock/StepsBlock.mobile.tsx +24 -112
  376. package/src/components/StepsBlock/StepsBlock.tsx +8 -19
  377. package/src/components/StepsBlock/StepsBlock.ui.json +3 -0
  378. package/src/components/StepsBlock/StepsBlockContent.ts +3 -6
  379. package/src/components/StepsBlock/renderStepMobile.tsx +139 -0
  380. package/src/components/StickyBottomMenu/StickyBottomMenuItem.tsx +17 -19
  381. package/src/components/TabsLayout/TabsLayout.tsx +1 -1
  382. package/src/components/TariffsTable/TariffsTableCell.tsx +19 -21
  383. package/src/ui-kit/BaseFiltration/renderGridBlocks.tsx +2 -2
  384. package/src/ui-kit/BaseTile/BaseTile.tsx +35 -66
  385. package/src/ui-kit/BaseTile/renderImageContainer.tsx +25 -0
  386. package/src/ui-kit/BlockWrapper.tsx +3 -1
  387. package/src/ui-kit/Button/Button.tsx +5 -7
  388. package/src/ui-kit/Checkbox/Checkbox.tsx +1 -1
  389. package/src/ui-kit/DatePicker/renderCalendarCells.tsx +3 -1
  390. package/src/ui-kit/DialogManager/DialogManager.tsx +3 -1
  391. package/src/ui-kit/Icon/Icon.tsx +3 -1
  392. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +3 -4
  393. package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
  394. package/src/ui-kit/LinkButton/ButtonInner.tsx +3 -1
  395. package/src/ui-kit/Select/Select.tsx +1 -1
  396. package/src/ui-kit/Select/SelectPopup.tsx +3 -4
  397. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +3 -1
  398. package/src/ui-kit/TopItem/TopItem.tsx +3 -1
  399. package/src/utils/style.ts +7 -5
@@ -74,17 +74,15 @@
74
74
  return JSXTmpl;
75
75
  };
76
76
 
77
- const identity = (_) => _;
78
-
79
- const t0 = (fn = identity) => ([_]) => fn(_);
80
- const t1 = (fn = identity) => ([, _]) => fn(_);
81
-
82
77
  const style = (...atoms) => atoms
83
- .map((_) => (isStyleRecord(_) ? styleRecordToAtoms(_) : _))
78
+ .map((_) => isStyleRecord(_)
79
+ ? Object.entries(_)
80
+ .filter(([, v]) => v)
81
+ .map(([k]) => k)
82
+ : _)
84
83
  .flatMap((_) => _)
85
84
  .filter(Boolean)
86
85
  .join(' ');
87
- const styleRecordToAtoms = (_) => Object.entries(_).filter(t1()).map(t0());
88
86
  const isStyleRecord = (_) => Boolean(_ && typeof _ === 'object' && !Array.isArray(_));
89
87
 
90
88
  const blockStyles = {
@@ -97,7 +95,9 @@
97
95
  const BlockWrapper = JSX(({ className, version = 'primary', isTheme = true, defaultPadding = 'p-xl', padding, block, tag = 'section', role, children, style: inlineStyles, }) => {
98
96
  const Tag = tag;
99
97
  const isGroup = version && isTheme;
100
- return (jsx(Tag, { className: style('@container font-sans', isGroup ? 'group' : '', blockStyles[version], padding || defaultPadding, className), ...(isGroup ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor } : {}), role: role, style: inlineStyles, children: children }));
98
+ return (jsx(Tag, { className: style('@container font-sans', {
99
+ group: isGroup,
100
+ }, blockStyles[version], padding || defaultPadding, className), ...(isGroup ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor } : {}), role: role, style: inlineStyles, children: children }));
101
101
  });
102
102
 
103
103
  const GOLDEN_RATIO = 1.618;
@@ -176,7 +176,7 @@
176
176
  const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isEmbedded = false, isTheme = false, ...rest }) => {
177
177
  const versionStyle = headlineVersionStyles[headlineVersion];
178
178
  const descriptionStyle = { marginTop: versionStyle.descriptionStyle };
179
- return (jsxs(BlockWrapper, { className: style(isEmbedded ? '@container-normal' : '', className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
179
+ return (jsxs(BlockWrapper, { className: style({ '@container-normal': isEmbedded }, className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
180
180
  });
181
181
 
182
182
  const DEFAULT_SLOT_NAME = null;
@@ -334,7 +334,9 @@
334
334
  // fix svg gradient color
335
335
  return (jsx("img", { className: className, src: href, alt: alt, title: title, "aria-hidden": "true", width: width, height: height, style: getInlineStyle(className, height) }));
336
336
  }
337
- return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), width: width, height: height, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: href, xlinkHref: href })] }) }));
337
+ return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(width), svgUseStyleMap[iconVersion], {
338
+ invert: iconVersion === 'white',
339
+ }, imageClassName), width: width, height: height, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: href, xlinkHref: href })] }) }));
338
340
  });
339
341
  const getInlineStyle = (className, height) => {
340
342
  if (className?.includes('h-')) {
@@ -541,7 +543,9 @@
541
543
  return '';
542
544
  }
543
545
  const withTextStyle = `${aboveText ? 'py-2.5 px-9' : 'py-4 px-9'}`;
544
- return style('group/btn items-center justify-center', isWithText(props) ? withTextStyle : 'h-12 w-12 m-auto', rounded ? 'rounded-full' : '');
546
+ return style('group/btn items-center justify-center', isWithText(props) ? withTextStyle : 'h-12 w-12 m-auto', {
547
+ 'rounded-full': rounded,
548
+ });
545
549
  };
546
550
  const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
547
551
 
@@ -594,40 +598,64 @@
594
598
  const iconVersion = version === 'primary' ? 'white' : 'black';
595
599
  const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
596
600
  const bgBackwardButton = version === 'primary' ? 'bg-primary-main' : 'bg-white';
597
- return (jsxs("div", { className: style(alwaysVisible ? 'flex' : 'hidden sm:flex', 'items-center gap-s'), children: [jsx("div", { className: style(getRegularButtonClasses({ className, rounded: true }), bgBackwardButton), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
601
+ const visible = alwaysVisible ? 'flex' : 'hidden sm:flex';
602
+ return (jsxs("div", { className: style(visible, 'items-center gap-s'), children: [jsx("div", { className: style(getRegularButtonClasses({ className, rounded: true }), bgBackwardButton), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
598
603
  icon: 'ArrowLeftIcon',
599
604
  iconVersion: iconVersion,
600
605
  } }) }), jsx(LinkButton, { version: "link", className: "group-data-secondary:text-white", text: text, ariaLabel: text, onClick: handleClick, type: "button" })] }));
601
606
  }
602
607
 
608
+ const INITIAL_MOBILE_MODE = true;
609
+
610
+ const useMobileMode = () => {
611
+ const mq = `(max-width: 1024px)`;
612
+ const [isMobileMode, setIsMobileMode] = useState(INITIAL_MOBILE_MODE);
613
+ useEffect(() => {
614
+ const mqList = globalThis.matchMedia?.(mq);
615
+ const mqHandler = () => {
616
+ setIsMobileMode(Boolean(mqList?.matches));
617
+ };
618
+ mqList?.addEventListener('change', mqHandler);
619
+ if (mqList?.matches) {
620
+ setIsMobileMode(Boolean(mqList.matches));
621
+ }
622
+ return () => {
623
+ mqList?.removeEventListener('change', mqHandler);
624
+ };
625
+ }, []);
626
+ return isMobileMode;
627
+ };
628
+
603
629
  const imageAlignmentMap = {
604
630
  start: '@xl:self-start',
605
631
  center: '@xl:self-center',
606
632
  end: '@xl:self-end',
607
633
  };
608
- const BaseTile = JSX(({ className, version = 'primary', defaultPadding, padding = '', title, insetTitle, buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary = false, backwardButton, children, ...rest }) => {
634
+ const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('shrink-1/2 justify-self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
635
+
636
+ const BaseTile = JSX(({ className, version = 'primary', defaultPadding, padding = '', title, buttons, leftImage, rightImage, imageAlign, insetTitle, isImageAlwaysOnRight = false, isImageSecondary = false, backwardButton, children, ...rest }) => {
637
+ const isMobile = useMobileMode();
609
638
  const router = useRouter();
610
- const handleClick = useCallback(() => {
611
- router.back();
612
- }, []);
639
+ const handleClick = useCallback(() => router.back(), []);
613
640
  const backwardButtonText = rest.options?.page?.common?.backwardButton;
614
- return (jsxs("div", { className: getStyle$1(padding, defaultPadding, className), children: [backwardButton
615
- ? renderBackwardButton({ version, handleClick, text: backwardButtonText })
616
- : null, getTitle(title), jsxs("div", { className: style('grow relative flex flex-col @xl:flex-row gap-3xl w-full', leftImage ? 'self-start @xl:w-auto' : ''), children: [renderImageContainer(leftImage, { imageAlign, className: 'mx-auto' }), jsxs("div", { className: style('grid gap-3xl', rightImage ? '@xl:grid-cols-2 auto-cols-fr' : '', leftImage ? '' : 'grow', 'h-full', //? fix issue https://github.com/redneckz/temp_wcms/issues/1254
617
- 'auto-rows-[max-content_1fr]', //? fix issue https://github.com/redneckz/temp_wcms/issues/1324
618
- 'items-center md:items-stretch'), children: [jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] }), renderUnitBlock(renderChildren({ ...rest, extraProps: { className: '@container-normal' } })), renderImageContainer(rightImage, {
619
- className: style('@xl:justify-self-end @xl:col-start-2', buttons ? rowSpanStyle(isImageAlwaysOnRight) : '', positionStyle(isImageAlwaysOnRight), imageSecondaryStyle(isImageSecondary)),
641
+ const isBackBtn = backwardButton && !isMobile;
642
+ return (jsxs("div", { className: style('relative flex flex-col gap-3xl overflow-hidden', padding || defaultPadding, className), children: [isBackBtn && renderBackwardButton({ version, handleClick, text: backwardButtonText }), title ? jsx("div", { className: "relative h-full", children: title }) : null, jsxs("div", { className: style('grow relative flex flex-col @xl:flex-row gap-3xl w-full', {
643
+ 'self-start @xl:w-auto': leftImage,
644
+ }), children: [renderImageContainer(leftImage, { imageAlign, className: 'mx-auto' }), jsxs("div", { className: style('grid gap-3xl items-center md:items-stretch', {
645
+ '@xl:grid-cols-2 auto-cols-fr': rightImage,
646
+ grow: !leftImage,
647
+ }, 'h-full', //? fix issue https://github.com/redneckz/temp_wcms/issues/1254
648
+ 'auto-rows-[max-content_1fr]'), children: [jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] }), renderUnitContainer(renderChildren({ ...rest, extraProps: { className: '@container-normal' } })), renderImageContainer(rightImage, {
649
+ className: style('@xl:justify-self-end @xl:col-start-2', {
650
+ [imageAlwaysOnRightContainerStyle(isImageAlwaysOnRight)]: buttons,
651
+ 'col-start-2 self-center': isImageAlwaysOnRight,
652
+ 'hidden @xl:block': isImageSecondary,
653
+ }),
620
654
  imageAlign,
621
- }), renderButtons(buttons)] })] })] }));
622
- });
623
- const getTitle = (title) => (title ? jsx("div", { className: "relative h-full", children: title }) : null);
624
- const getStyle$1 = (padding = '', defaultPadding = '', className = '') => style('relative flex flex-col gap-3xl overflow-hidden', padding || defaultPadding, className);
625
- const rowSpanStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight ? 'row-span-2' : '@xl:row-span-2';
626
- const positionStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight ? 'col-start-2 self-center' : '';
627
- const renderButtons = (buttons) => buttons ? jsx("div", { className: "self-end", children: buttons }) : null;
628
- const renderUnitBlock = (unitBlock) => unitBlock && unitBlock?.length ? (jsx("div", { className: "flex items-start justify-end", children: unitBlock })) : null;
629
- const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('shrink-1/2 justify-self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
630
- const imageSecondaryStyle = (isImageSecondary) => isImageSecondary ? 'hidden @xl:block' : '';
655
+ }), buttons ? jsx("div", { className: "self-end", children: buttons }) : null] })] })] }));
656
+ });
657
+ const imageAlwaysOnRightContainerStyle = (isImage) => style(isImage ? 'row-span-2' : '@xl:row-span-2');
658
+ const renderUnitContainer = (childrenBlocks) => childrenBlocks?.length ? (jsx("div", { className: "flex items-start justify-end", children: childrenBlocks })) : null;
631
659
 
632
660
  const sum = (list = []) => list.reduce((a, b) => a + b, 0);
633
661
 
@@ -1034,6 +1062,8 @@
1034
1062
  useAspects._impl = impl;
1035
1063
  };
1036
1064
 
1065
+ const identity = (_) => _;
1066
+
1037
1067
  const useForm = (initialState, { resetOnSubmit, onSubmit, } = {}) => {
1038
1068
  const [formState, setFormState] = useState(initialState);
1039
1069
  const [isDirtyForm, setDirtyForm] = useState(false);
@@ -1097,8 +1127,6 @@
1097
1127
  };
1098
1128
  }
1099
1129
 
1100
- const activeButtonStyleMap = 'text-white bg-primary-active';
1101
- const disabledButtonStyle = 'bg-main-gray text-main-disabled cursor-not-allowed';
1102
1130
  const buttonStyleMap = {
1103
1131
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
1104
1132
  secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
@@ -1110,9 +1138,13 @@
1110
1138
  const Button = JSX(({ children, ...props }) => {
1111
1139
  const button = useButton();
1112
1140
  const { className, version = 'primary', active, disabled, type = 'button', rounded = true, role, onClick, } = button(props);
1113
- return (jsx("button", { className: style('font-sans px-9 py-4', 'flex justify-center items-center gap-xs', active ? activeButtonStyleMap : '', disabled ? disabledButtonStyle : '', !active && !disabled
1141
+ return (jsx("button", { className: style('font-sans px-9 py-4', 'flex justify-center items-center gap-xs', {
1142
+ 'text-white bg-primary-active': active,
1143
+ 'bg-main-gray text-main-disabled cursor-not-allowed': disabled,
1144
+ 'rounded-md': rounded,
1145
+ }, !active && !disabled
1114
1146
  ? style(buttonStyleMap[version], secondaryButtonStyleMap[version])
1115
- : '', rounded ? 'rounded-md' : '', className), type: type, role: role, onClick: onClick, children: children }));
1147
+ : '', className), type: type, role: role, onClick: onClick, children: children }));
1116
1148
  });
1117
1149
 
1118
1150
  const CloseButton = JSX(({ className, onClose }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-2xs bg-transparent border-none', className), onClick: onClose, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", type: "button", children: jsx(Icon, { name: "CloseIcon", width: "20", height: "20", iconVersion: "gray" }) })));
@@ -1179,12 +1211,12 @@
1179
1211
  onChange && onChange(!value);
1180
1212
  }, [onChange, disabled, value]);
1181
1213
  const icon = isRadio ? (jsx("div", { className: "absolute left-1 w-3 h-3 rounded-full bg-primary-main" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "absolute left-1 ml-px block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" }));
1182
- return (jsx("div", { className: className, children: jsxs("label", { className: style('flex items-center relative group/box', getCursorStyle(disabled)), onClick: handleChange, children: [jsx("div", { className: style(defaultCheckStyle, 'm-0', isRadio ? 'rounded-full border-2' : checkboxStyle(value), !disabled && value ? 'border-primary-main' : 'border-gray', disabled ? 'bg-main-disabled' : 'group-hover/box:border-primary-hover'), role: role(isRadio), "aria-checked": Boolean(value), "aria-disabled": Boolean(disabled) }), value ? icon : null, renderText$1(text)] }) }));
1214
+ return (jsx("div", { className: className, children: jsxs("label", { className: style('flex items-center relative group/box', getCursorStyle(disabled)), onClick: handleChange, children: [jsx("div", { className: style(defaultCheckStyle, 'm-0', isRadio ? 'rounded-full border-2' : checkboxStyle(value), !disabled && value ? 'border-primary-main' : 'border-gray', disabled ? 'bg-main-disabled' : 'group-hover/box:border-primary-hover'), role: role(isRadio), "aria-checked": Boolean(value), "aria-disabled": Boolean(disabled) }), value ? icon : null, renderText$2(text)] }) }));
1183
1215
  });
1184
- const renderText$1 = (text) => text ? (jsx("div", { className: "ml-s", children: jsx(Text, { size: "text-l", font: "font-light", children: text }) })) : null;
1216
+ const renderText$2 = (text) => text ? (jsx("div", { className: "ml-s", children: jsx(Text, { size: "text-l", font: "font-light", children: text }) })) : null;
1185
1217
  const getCursorStyle = (disabled = false) => (disabled ? 'cursor-not-allowed' : 'cursor-pointer');
1186
1218
  const role = (isRadio = false) => (isRadio ? 'radio' : 'checkbox');
1187
- const checkboxStyle = (value = false) => style('rounded border', value ? 'bg-primary-main' : '');
1219
+ const checkboxStyle = (value = false) => style('rounded border', { 'bg-primary-main': value });
1188
1220
 
1189
1221
  const CheckboxWithError = JSX(({ className, text, value, key, disabled, error, onChange }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(Checkbox, { text: text, value: value, disabled: disabled, onChange: onChange }, key), renderErrorText(error)] })));
1190
1222
 
@@ -1260,7 +1292,9 @@
1260
1292
  if (onChange) {
1261
1293
  onChange(option);
1262
1294
  }
1263
- }, children: [jsx("span", { className: "min-h-6", children: formatOption(option) }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", iconVersion: iconVersion, className: style('absolute right-4 pt-3xs', option.key === value?.key ? '' : 'hidden') })] }, option.key))) })) : null);
1295
+ }, children: [jsx("span", { className: "min-h-6", children: formatOption(option) }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", iconVersion: iconVersion, className: style('absolute right-4 pt-3xs', {
1296
+ hidden: option.key !== value?.key,
1297
+ }) })] }, option.key))) })) : null);
1264
1298
 
1265
1299
  function useSelectPopup({ isOpen, options, value, query, onChange, onClose, iconVersion, }) {
1266
1300
  const popup = usePopupManager();
@@ -1309,9 +1343,9 @@
1309
1343
  onClose: handleClose,
1310
1344
  iconVersion,
1311
1345
  });
1312
- return (jsxs("div", { className: style('space-y-xs', className), children: [renderLabel(label), jsxs("div", { className: style('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [jsxs("div", { className: style('h-14 [&>*]:p-m pr-8 text-l flex items-center justify-between text-primary-text relative z-10 overflow-hidden', getStyle(isBorder, valid, isDisabled)), onClick: hasOpen ? handleClose : open, children: [jsx("p", { className: "line-clamp-2 text-ellipsis", children: formatOption(value) || placeholder }), renderIcon$1(hasOpen, iconVersion)] }), isSearch && hasOpen ? (jsx("div", { className: style('absolute top-0 w-full z-20'), children: jsx(Input, { type: "text", autoFocus: true, value: query, onChange: setQuery }) })) : null] })] }));
1346
+ return (jsxs("div", { className: style('space-y-xs', className), children: [renderLabel(label), jsxs("div", { className: style('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [jsxs("div", { className: style('h-14 [&>*]:p-m pr-8 text-l flex items-center justify-between text-primary-text relative z-10 overflow-hidden', getStyle(isBorder, valid, isDisabled)), onClick: hasOpen ? handleClose : open, children: [jsx("p", { className: "line-clamp-2 text-ellipsis", children: formatOption(value) || placeholder }), renderIcon$2(hasOpen, iconVersion)] }), isSearch && hasOpen ? (jsx("div", { className: style('absolute top-0 w-full z-20'), children: jsx(Input, { type: "text", autoFocus: true, value: query, onChange: setQuery }) })) : null] })] }));
1313
1347
  });
1314
- const renderIcon$1 = (isOpen, iconVersion) => (jsx(Icon, { className: style('absolute right-3 flex self-center', isOpen ? '' : 'rotate-180'), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
1348
+ const renderIcon$2 = (isOpen, iconVersion) => (jsx(Icon, { className: style('absolute right-3 flex self-center', { 'rotate-180': !isOpen }), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
1315
1349
  const getStyle = (isBorder, valid, disabled) => style(isBorder ? 'border rounded-md ' : '', isBorder && !disabled ? 'hover:border-primary-hover' : '', disabled ? 'bg-main-divider' : 'cursor-pointer ', valid ? 'border-gray' : 'border-error');
1316
1350
 
1317
1351
  const noop = () => {
@@ -1346,7 +1380,9 @@
1346
1380
  };
1347
1381
  const checkIsToday = (currentDate, today) => today && currentDate.toDateString() === today.toDateString();
1348
1382
  const checkIsDisabled = (currentDate, min, max) => (min && currentDate.getTime() < min.getTime()) || (max && currentDate.getTime() > max.getTime());
1349
- const getDayStyles = (isToday, isDisabled) => style('p-s text-center rounded-md border', isToday ? '' : 'border-transparent hover:bg-gray', isDisabled ? 'text-gray hover:bg-transparent' : 'cursor-pointer');
1383
+ const getDayStyles = (isToday, isDisabled) => style('p-s text-center rounded-md border', {
1384
+ 'border-transparent hover:bg-gray': !isToday,
1385
+ }, isDisabled ? 'text-gray hover:bg-transparent' : 'cursor-pointer');
1350
1386
 
1351
1387
  const WEEK_DAYS = ['Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб', 'Вс'];
1352
1388
  const Calendar = JSX(({ today, currentMonth, currentYear, min, max, onDateSelect = noop }) => {
@@ -1997,27 +2033,6 @@
1997
2033
  : _ === (dataValue?.key ?? dataValue);
1998
2034
  }));
1999
2035
 
2000
- const INITIAL_MOBILE_MODE = true;
2001
-
2002
- const useMobileMode = () => {
2003
- const mq = `(max-width: 1024px)`;
2004
- const [isMobileMode, setIsMobileMode] = useState(INITIAL_MOBILE_MODE);
2005
- useEffect(() => {
2006
- const mqList = globalThis.matchMedia?.(mq);
2007
- const mqHandler = () => {
2008
- setIsMobileMode(Boolean(mqList?.matches));
2009
- };
2010
- mqList?.addEventListener('change', mqHandler);
2011
- if (mqList?.matches) {
2012
- setIsMobileMode(Boolean(mqList.matches));
2013
- }
2014
- return () => {
2015
- mqList?.removeEventListener('change', mqHandler);
2016
- };
2017
- }, []);
2018
- return isMobileMode;
2019
- };
2020
-
2021
2036
  const NotFound = JSX(({ title, description }) => {
2022
2037
  const isMobileMode = useMobileMode();
2023
2038
  return (jsxs("div", { className: "bg-white p-6xl py-20 flex gap-s flex-col @xl:items-center", children: [jsx(Img, { image: { icon: 'MagnifierIcon', iconVersion: 'normal' }, width: "120", height: "120" }), jsx(Headline, { title: title, description: description, headlineVersion: isMobileMode ? 'L' : 'S', isEmbedded: true, className: "space-y-s" })] }));
@@ -2100,7 +2115,9 @@
2100
2115
  ...(isVerticalList ? getContainerHeight(minHeight) : {}),
2101
2116
  gap: `${gap}px`,
2102
2117
  };
2103
- return (jsx("div", { className: style('box-border overflow-auto no-scrollbar', listType, className), style: containerStyle, ref: containerRef, role: "list", children: mapChildren((child, idx) => (jsx(SwipeListItem, { className: style(snapAlign, visibleItemCount ? childStyleMap[visibleItemCount - 1] : '', isVerticalList ? 'h-full' : '', itemClassName), style: isHorizontalList ? getContainerOffset(padding / 4) : {}, activeIndex: activeIndex, idx: idx, observerOptions: observerOptions, onIntersection: handleIntersection, children: child }, String(idx))))(children) }));
2118
+ return (jsx("div", { className: style('box-border overflow-auto no-scrollbar', listType, className), style: containerStyle, ref: containerRef, role: "list", children: mapChildren((child, idx) => (jsx(SwipeListItem, { className: style(snapAlign, visibleItemCount ? childStyleMap[visibleItemCount - 1] : '', {
2119
+ 'h-full': isVerticalList,
2120
+ }, itemClassName), style: isHorizontalList ? getContainerOffset(padding / 4) : {}, activeIndex: activeIndex, idx: idx, observerOptions: observerOptions, onIntersection: handleIntersection, children: child }, String(idx))))(children) }));
2104
2121
  });
2105
2122
  // Styles used to compensate outer container padding to get rid of clipping effect
2106
2123
  const getContainerOffset = (padding, additionalPadding = 0) => ({
@@ -2322,7 +2339,7 @@
2322
2339
  const [visibleBlocks, hiddenBlocks] = topItemsCount > 0
2323
2340
  ? [blocksToRender.slice(0, topItemsCount), blocksToRender.slice(topItemsCount)]
2324
2341
  : [blocksToRender, []];
2325
- return (jsxs("div", { className: style('space-y-2xs', blocksToRender.length ? '' : 'hidden'), children: [jsxs("div", { className: style(resultsGridStyle), children: [renderBlocksList(visibleBlocks, { ...rest.options, parent: block }), isOdd(visibleBlocks.length) ? jsx(AdTile, { className: "col-span-6", ...rest }) : null] }), jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(FoldableSection, { className: style(resultsGridStyle), isUnfolded: isUnfolded, children: [renderBlocksList(hiddenBlocks, { ...rest.options, parent: block }), isOdd(hiddenBlocks.length) ? jsx(AdTile, { className: "col-span-6", ...rest }) : null] })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(DefaultFoldButton, { className: style(topItemsCount < 1 ? 'hidden' : ''), disabled: !hiddenBlocks?.length, label: label, icon: ICONS$1[Number(isUnfolded)], dataTheme: rest.options?.page?.colorPalette, onClick: onToggle })) })] }));
2342
+ return (jsxs("div", { className: style('space-y-2xs', { hidden: !blocksToRender.length }), children: [jsxs("div", { className: style(resultsGridStyle), children: [renderBlocksList(visibleBlocks, { ...rest.options, parent: block }), isOdd(visibleBlocks.length) ? jsx(AdTile, { className: "col-span-6", ...rest }) : null] }), jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(FoldableSection, { className: style(resultsGridStyle), isUnfolded: isUnfolded, children: [renderBlocksList(hiddenBlocks, { ...rest.options, parent: block }), isOdd(hiddenBlocks.length) ? jsx(AdTile, { className: "col-span-6", ...rest }) : null] })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(DefaultFoldButton, { className: style({ hidden: topItemsCount < 1 }), disabled: !hiddenBlocks?.length, label: label, icon: ICONS$1[Number(isUnfolded)], dataTheme: rest.options?.page?.colorPalette, onClick: onToggle })) })] }));
2326
2343
  };
2327
2344
 
2328
2345
  const FilteredBlocks = JSX(({ blocksSection, blocksToRender = [], notFound, ...rest }) => {
@@ -2472,7 +2489,9 @@
2472
2489
 
2473
2490
  const bonusBenefitStyles = 'justify-between p-m h-full border border-gray';
2474
2491
 
2475
- const renderBonusBenefit = (cardTextAlign) => ({ icon, title, description }, i) => (jsxs("div", { className: style('flex flex-col gap-1', bonusBenefitStyles, !description && !title ? 'justify-center' : ''), children: [title ? (jsx(Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: title })) : null, icon ? jsx(Img, { image: icon, height: "180", className: "w-auto mx-auto" }) : null, description ? (jsx(Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: description })) : null] }, String(i)));
2492
+ const renderBonusBenefit = (cardTextAlign) => ({ icon, title, description }, i) => (jsxs("div", { className: style('flex flex-col gap-1', bonusBenefitStyles, {
2493
+ 'justify-center': !description && !title,
2494
+ }), children: [title ? (jsx(Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: title })) : null, icon ? jsx(Img, { image: icon, height: "180", className: "w-auto mx-auto" }) : null, description ? (jsx(Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: description })) : null] }, String(i)));
2476
2495
 
2477
2496
  const renderBonusBenefits = (bonusBenefits, _columnsCount, _cardTextAlign) => jsx(SwipeListControl, { children: bonusBenefits.map(renderBonusBenefit(_cardTextAlign)) });
2478
2497
 
@@ -3582,7 +3601,9 @@
3582
3601
  version: _?.version ?? version,
3583
3602
  };
3584
3603
  });
3585
- const buttonClassName = style('border border-solid hover:border-transparent group-data-primary:border-main-divider border-main-divider group-data-gray:border-green group/media', showButtonText && hasText ? '' : 'basis-auto', getStretchedStyle(stretched));
3604
+ const buttonClassName = style('border border-solid hover:border-transparent border-main-divider', 'group-data-primary:border-main-divider group-data-gray:border-green group/media', {
3605
+ 'basis-auto': !showButtonText && !hasText,
3606
+ }, getStretchedStyle(stretched));
3586
3607
  return (jsxs("div", { className: style('flex flex-col gap-m xl:gap-xs', className), children: [jsx("div", { className: "flex gap-xs", children: renderButtonsSection(buttons, {
3587
3608
  className: getClassName(hasText ?? false, stretched ?? false, showButtonText),
3588
3609
  buttonClassName,
@@ -3623,9 +3644,7 @@
3623
3644
  }
3624
3645
  }, type: "button", ...(isUnfolded ? getAspectsAttributes(data) : {}), children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
3625
3646
 
3626
- const isRateRow = (rateRow) => {
3627
- return typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
3628
- };
3647
+ const isRateRow = (rateRow) => typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
3629
3648
 
3630
3649
  const numberRange = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
3631
3650
 
@@ -3981,9 +4000,7 @@
3981
4000
  currencyRatesSell.push({ currency: { currency: Currency.RUB } });
3982
4001
  return (jsx(BlockWrapper, { className: style('box-border min-h-80', className), ...rest, children: jsx(BaseTile, { className: "h-full", title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap" }), children: jsxs("div", { className: "flex w-full gap-6xl flex-wrap @lg:flex-nowrap", children: [jsxs("div", { className: "w-full @2xl:w-auto @5xl:w-1/2", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-xl", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation, { address: exchangeRates?.address })] }), jsx(ExchangeCurrencyCalculator, { className: "grow w-1/2", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })] }) }) }));
3983
4002
  });
3984
- const getCurrencyRates = (currencies) => {
3985
- return currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
3986
- };
4003
+ const getCurrencyRates = (currencies) => currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
3987
4004
 
3988
4005
  const LinkList = JSX(({ className = '', items }) => {
3989
4006
  const link = useLink();
@@ -4041,8 +4058,8 @@
4041
4058
 
4042
4059
  const Contacts = JSX(({ className = '', items = [] }) => items?.length ? (jsx("div", { className: style('space-y-m', className), children: items.map(renderContactsGroup) })) : null);
4043
4060
  const renderContactsGroup = (item, i) => (jsxs("div", { className: "space-y-m", children: [jsx("div", { children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { className: "space-y-m", children: item.items?.map(renderContact) })] }, String(i)));
4044
- const renderContact = (item, i) => (jsxs("div", { className: "space-y-2xs", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item.description })] }, String(i)));
4045
- const renderText = (type, text = '') => {
4061
+ const renderContact = (item, i) => (jsxs("div", { className: "space-y-2xs", children: [jsx("div", { children: renderText$1(item.type, item.text) }), jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item.description })] }, String(i)));
4062
+ const renderText$1 = (type, text = '') => {
4046
4063
  switch (type) {
4047
4064
  case 'tel':
4048
4065
  return (jsx("a", { className: "text-primary-text hover:text-primary-main no-underline", href: `tel:${formatTel(text)}`, children: jsx(Text, { size: "text-h6", children: text }) }));
@@ -4283,9 +4300,7 @@
4283
4300
  };
4284
4301
  return props.reportSource?.__html && props.text ? (jsxs("div", { role: "listitem", children: [jsx(ReportDialogButton, { ...commonProps, href: isLinkDoc(props) ? props?.href : props?.attachment?.src }), jsx(RichText, { __html: props?.__html })] }, String(i))) : null;
4285
4302
  };
4286
- const isLinkDoc = (data) => {
4287
- return 'href' in data;
4288
- };
4303
+ const isLinkDoc = (data) => 'href' in data;
4289
4304
 
4290
4305
  const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, __html, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
4291
4306
  const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
@@ -4695,9 +4710,7 @@
4695
4710
  const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
4696
4711
  return (jsxs("div", { className: "flex space-x-lg", children: [onlyOffice ? (jsx(LinkButton, { version: "transparent", className: "text-secondary-text [&>*]:p-0", appendRight: jsx(Icon, { name: icons[Number(isUnfolded)], width: "16", height: "16" }), text: labels[Number(isUnfolded)], onClick: onToggle })) : null, jsx(LinkButton, { version: "transparent", className: "text-secondary-text [&>*]:p-0", onClick: reset, children: renderBtnInner() })] }));
4697
4712
  };
4698
- const renderBtnInner = () => {
4699
- return (jsxs("div", { className: "flex items-center", children: ["\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440", jsx(Icon, { name: "CloseIcon", width: "16", height: "16", className: "ml-2xs" })] }));
4700
- };
4713
+ const renderBtnInner = () => (jsxs("div", { className: "flex items-center", children: ["\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440", jsx(Icon, { name: "CloseIcon", width: "16", height: "16", className: "ml-2xs" })] }));
4701
4714
 
4702
4715
  const defaultEmptyFunction = () => void 0;
4703
4716
  const defaultFilterItems = () => [];
@@ -5019,11 +5032,9 @@
5019
5032
  }
5020
5033
  return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-yellow sm:border", children: [jsx("div", { className: "sm:flex sm:justify-between", children: jsxs("div", { children: [jsx(Text, { size: "text-h4", children: "\u0423\u0434\u0430\u043B\u0435\u043D\u043D\u043E\u0435 \u0440\u0430\u0431\u043E\u0447\u0435\u0435 \u043C\u0435\u0441\u0442\u043E" }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }) }), jsx("div", { className: "hidden sm:block", children: renderCardContent({
5021
5034
  workScheduleDescription,
5022
- }) }), jsx(Foldable, { className: "block sm:hidden", renderFoldableSection: ({ isUnfolded }) => {
5023
- return (jsx(FoldableSection, { isUnfolded: isUnfolded, children: renderCardContent({
5024
- workScheduleDescription,
5025
- }) }));
5026
- },
5035
+ }) }), jsx(Foldable, { className: "block sm:hidden", renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { isUnfolded: isUnfolded, children: renderCardContent({
5036
+ workScheduleDescription,
5037
+ }) })),
5027
5038
  //** TODO: remove styles with refactoring DefaultFoldButton*/
5028
5039
  renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ isUnfolded, onToggle }) })] }, String(i)));
5029
5040
  };
@@ -5134,13 +5145,9 @@
5134
5145
  const MAX = 365;
5135
5146
  const RentalPeriod = JSX(({ days, setDays }) => (jsxs("div", { className: "order-1", children: [jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A \u0430\u0440\u0435\u043D\u0434\u044B" }), jsx(InputRange, { min: MIN, max: MAX, value: days, items: ITEMS, onChange: setDays })] })));
5136
5147
 
5137
- const SafeBoxCases = JSX(({ caseVolumes = [], selectedCaseVolume, onSelectedCaseVolume, safeBoxCases = [], selectedBoxSize, onSelectedBoxSize, }) => {
5138
- return (jsxs("div", { className: "flex flex-col @xl:flex-row gap-m order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] }));
5139
- });
5148
+ const SafeBoxCases = JSX(({ caseVolumes = [], selectedCaseVolume, onSelectedCaseVolume, safeBoxCases = [], selectedBoxSize, onSelectedBoxSize, }) => (jsxs("div", { className: "flex flex-col @xl:flex-row gap-m order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] })));
5140
5149
 
5141
- const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onClick, }) => {
5142
- return (jsxs("div", { className: "contents @xl:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents @md:flex justify-between items-center gap-m", children: [jsx(RadioButtons, {}), jsx(LinkButton, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: onClick, className: "order-6" })] })] }));
5143
- });
5150
+ const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onClick, }) => (jsxs("div", { className: "contents @xl:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents @md:flex justify-between items-center gap-m", children: [jsx(RadioButtons, {}), jsx(LinkButton, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: onClick, className: "order-6" })] })] })));
5144
5151
  const onSelectedBranch = (onChange) => (value) => {
5145
5152
  onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
5146
5153
  };
@@ -5153,9 +5160,7 @@
5153
5160
  const imageDescription = 'На рисунке изображена пачка листов\nформата А4';
5154
5161
  return (jsxs("div", { className: "contents @xl:flex flex-col justify-between gap-xl order-2", children: [jsxs("div", { className: "flex flex-col @xl:flex-row gap-x-6xl gap-y-2xl order-5 @xl:order-none py-2xl @xl:py-0 border-t border-main-divider @xl:border-none", children: [renderTotal('Аренда за', days), renderTotal('Цена', price + ' ₽')] }), jsx("div", { className: "@xl:hidden order-3 mb-xs", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: imageDescription }) }), jsxs("div", { className: "flex flex-col items-center gap-s order-3 @xl:order-none mb-xl @xl:mb-0 bg-primary-main py-s @xl:p-3xl text-center", children: [jsx(Img, { image: { icon: 'PackA4Icon' }, className: "@xl:h-60" }), jsx("div", { className: "hidden @xl:inline opacity-80 whitespace-pre-line", children: jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-white", children: imageDescription }) })] })] }));
5155
5162
  });
5156
- const renderTotal = (label, total) => {
5157
- return (jsxs("div", { className: "flex justify-between items-center gap-y-xs @xl:flex-col @xl:items-start", children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: label }), jsx("span", { className: "text-l @xl:text-h3 text-primary-text", children: total })] }));
5158
- };
5163
+ const renderTotal = (label, total) => (jsxs("div", { className: "flex justify-between items-center gap-y-xs @xl:flex-col @xl:items-start", children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: label }), jsx("span", { className: "text-l @xl:text-h3 text-primary-text", children: total })] }));
5159
5164
  const calculatePrice = (days, tariffs) => {
5160
5165
  const tariffType = getTariffType(days);
5161
5166
  const tariffValue = tariffs?.find((_) => _.tariffType === String(tariffType))?.tariffValue || 0;
@@ -5254,31 +5259,48 @@
5254
5259
  dot: 'bg-white/80 group-data-primary:bg-secondary-text',
5255
5260
  };
5256
5261
 
5257
- const STEPS_SIZE_MAP = {
5258
- normal: { icon: 'h-11 w-11', image: 'h-14 w-14' },
5259
- small: { icon: 'h-12 w-12', image: 'h-14 w-14' },
5260
- };
5261
- const STEPS_TILE_DESCRIPTION_HEIGHT_MAP = {
5262
- normal: '',
5263
- small: 'min-h-6xl',
5264
- };
5265
5262
  const styleMap = STEPS_BLOCK_STYLE;
5266
- const StepsBlock = JSX(({ className = '', title, description, steps, buttons, size = 'normal', stepVersion = 'gray', version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border flex flex-col gap-xl', className), defaultPadding: "p-6xl", version: version, ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-left" }), steps?.length ? (jsx("div", { className: "box-border", children: jsx("div", { className: "flex flex-col gap-6xl justify-between", children: steps.map(renderStep(size, stepVersion)) }) })) : null, renderButtonsSection(buttons, { isVertical: true })] })));
5267
- // TODO: Create universal function for this case
5268
- const renderStep = (size, stepVersion) => (step, i) => (jsx("div", { className: "contents", children: jsxs("div", { className: "flex flex-row items-center relative", children: [jsx("div", { className: "overflow-hidden flex flex-shrink-0 items-center", children: renderIconArea(size, stepVersion)(step, i) }), jsxs("div", { className: style('flex flex-col justify-center h-fit', STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]), children: [step.label ? (jsx(Paragraph, { size: "text-l", align: "text-left", children: step.label })) : null, step.description ? (jsx("div", { className: style('text-s font-light text-left', styleMap.description), children: step.description })) : null, jsx(RichText, { __html: step.__html })] })] }) }, String(i)));
5269
- const renderIconArea = (size, stepVersion) => (step, i) => {
5263
+ const renderStepMobile = (stepsSize, version, stepVersion) => (step, i) => {
5264
+ const { button, image } = step;
5265
+ const styleStepMobile = button?.text && image?.src;
5266
+ return (jsx("div", { className: "contents", children: jsxs("div", { className: style('flex items-center relative', image?.src ? 'flex-col' : 'flex-row'), children: [image?.src ? renderText(step) : null, jsx("div", { className: "overflow-hidden flex flex-shrink-0 items-center", children: renderIconArea(stepsSize, stepVersion)(step, i) }), jsxs("div", { className: style('flex flex-col justify-center h-fit w-full', {
5267
+ 'min-h-6xl': stepsSize,
5268
+ }), children: [image?.src ? null : renderText(step), styleStepMobile ? (jsx(LinkButton, { className: "box-border py-s w-full max-w-60 mt-lg", version: version, ...button, children: button?.text })) : null] })] }) }, String(i)));
5269
+ };
5270
+ const renderIconArea = (stepsSize, stepVersion) => (step, i) => {
5270
5271
  const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
5271
5272
  const isImg = Boolean(step?.icon?.src);
5272
- const iconAreaSize = STEPS_SIZE_MAP[size][isImg ? 'image' : 'icon'];
5273
+ const iconAreaSize = getIconAreaSize(stepsSize, isImg);
5273
5274
  const containerVersion = isImg ? stepVersion === 'transparent' : stepVersion;
5274
- return (jsx(BlockWrapper, { className: style(iconAreaSize, 'z-10 mr-s flex justify-center content-center rounded-md'), defaultPadding: "", version: containerVersion, children: jsx("span", { className: "flex max-w-full max-h-full items-center justify-center", children: isIcon(step?.icon) ? (jsx(Img, { image: { ...step.icon, iconVersion: step.icon?.iconVersion || iconVersion }, imageClassName: "max-w-full max-h-full", width: getIconSizeStyle(size), height: getIconSizeStyle(size) })) : (jsx("span", { className: style('text-h4', stepVersion === 'transparent' ? styleMap.iconText : getIconTextStyle(stepVersion)), children: i + 1 })) }) }));
5275
+ const isImgSrc = step.image?.src;
5276
+ return (jsx(BlockWrapper, { className: style({ 'w-32': Boolean(isImgSrc) }, 'z-10 mr-s flex justify-center content-center rounded-md', !isImgSrc && iconAreaSize), defaultPadding: "", version: containerVersion, children: jsx("div", { className: "flex max-w-full max-h-full items-center justify-center", children: renderIcon$1({ step, iconVersion, i, stepVersion }) }) }));
5277
+ };
5278
+ const renderText = (step) => {
5279
+ const visibleStyle = Boolean(step.button?.text && step.image?.src);
5280
+ return (jsxs("div", { className: style({
5281
+ 'mb-lg w-full': visibleStyle,
5282
+ }), children: [step?.label ? (jsx(Paragraph, { size: "text-l", align: "text-left", children: step.label })) : null, step?.description ? (jsx("div", { className: style('text-s font-light text-left', styleMap.description), children: step.description })) : null, jsx(RichText, { __html: step.__html })] }));
5283
+ };
5284
+ const getIconAreaSize = (stepsSize, isImg) => {
5285
+ return stepsSize && isImg ? 'h-14 w-14' : 'h-11 w-11';
5286
+ };
5287
+ const renderIcon$1 = ({ step, iconVersion, i, stepVersion, }) => {
5288
+ if (isIcon(step?.icon)) {
5289
+ return (jsx(Img, { image: { ...step.icon, iconVersion: step.icon?.iconVersion || iconVersion }, imageClassName: "max-w-full max-h-full", width: "24", height: "24" }));
5290
+ }
5291
+ else if (isIcon(step.image)) {
5292
+ return jsx(Img, { image: { ...step.image, size: { width: 120, height: 120 } } });
5293
+ }
5294
+ return (jsx("span", { className: style('text-h4', stepVersion === 'transparent' ? styleMap.iconText : getIconTextStyle(stepVersion)), children: i + 1 }));
5275
5295
  };
5276
- const getIconSizeStyle = (size) => (size === 'normal' ? '38' : '24');
5277
5296
 
5278
- const StickyBottomMenuItem = JSX(({ isActive, item, onClick }) => {
5279
- return (jsxs("div", { className: style(isActive ? 'text-primary-main' : 'text-primary-text', `w-10 m-4 flex justify-center items-center flex-col text-xs cursor-pointer`), title: item?.title || '', onClick: onClick, children: [jsx(Icon, { className: "w-6 h-6", name: item?.icon?.icon, iconVersion: isActive ? 'color' : 'black' }), item?.title || ''] }));
5297
+ const StepsBlock = JSX(({ className = '', title, description, steps = [], buttons, stepVersion = 'gray', version = 'primary', ...rest }) => {
5298
+ const isBigSizeSteps = steps.length > 3;
5299
+ return (jsxs(BlockWrapper, { className: style('box-border flex flex-col gap-xl', className), defaultPadding: "p-6xl", version: version, ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-left" }), steps?.length ? (jsx("div", { className: "flex flex-col gap-6xl justify-between box-border", children: steps.map(renderStepMobile(isBigSizeSteps, version, stepVersion)) })) : null, renderButtonsSection(buttons, { isVertical: true })] }));
5280
5300
  });
5281
5301
 
5302
+ const StickyBottomMenuItem = JSX(({ isActive, item, onClick }) => (jsxs("div", { className: style(isActive ? 'text-primary-main' : 'text-primary-text', `w-10 m-4 flex justify-center items-center flex-col text-xs cursor-pointer`), title: item?.title || '', onClick: onClick, children: [jsx(Icon, { className: "w-6 h-6", name: item?.icon?.icon, iconVersion: isActive ? 'color' : 'black' }), item?.title || ''] })));
5303
+
5282
5304
  const StickyBottomMenuDialog = JSX(({ className, head, children, onClose, onClick }) => {
5283
5305
  const { close } = useDialogManager();
5284
5306
  const handleClose = useCallback(() => {
@@ -5680,7 +5702,7 @@
5680
5702
  }, [tabsCounted]);
5681
5703
  return (jsxs(BlockWrapper, { className: style({ 'sticky top-1 z-20': isSticky && isEveryLink }, className), defaultPadding: "p-0", block: block, ...rest, children: [renderTabsLayout({
5682
5704
  className: style({
5683
- 'pb-1': Boolean(block?.slots) && tabsType === 'default',
5705
+ 'pb-1': block?.slots && tabsType === 'default',
5684
5706
  'sticky top-1 z-20': isSticky && !isEveryLink,
5685
5707
  }),
5686
5708
  items: getItems(tabs, tabsCounted),
@@ -5790,11 +5812,9 @@
5790
5812
  return jsx(EmbeddableCellInner, { ...cellProps, ...rest });
5791
5813
  };
5792
5814
 
5793
- const TariffsTableCell = JSX(({ cells, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => {
5794
- return (jsx("div", { className: "w-80 flex-grow flex flex-col gap-m @4xl:gap-lg", role: "cell", children: cells?.length
5795
- ? cells.map((_, i) => (jsx(RenderCellInner, { cell: _, fieldIdx: i, rowIdx: rowIdx, cellIdx: cellIdx, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx }, String(i))))
5796
- : null }));
5797
- });
5815
+ const TariffsTableCell = JSX(({ cells, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => (jsx("div", { className: "w-80 flex-grow flex flex-col gap-m @4xl:gap-lg", role: "cell", children: cells?.length
5816
+ ? cells.map((_, i) => (jsx(RenderCellInner, { cell: _, fieldIdx: i, rowIdx: rowIdx, cellIdx: cellIdx, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx }, String(i))))
5817
+ : null })));
5798
5818
 
5799
5819
  const COLUMN_WIDTH = 140;
5800
5820
  const getHorizontalShift = (columns, activeColumnIndex) => sum(columns.slice(0, activeColumnIndex).map((_) => _?.cols?.length ?? 1)) * COLUMN_WIDTH;
@@ -5809,7 +5829,7 @@
5809
5829
  transform: `translateX(-${getHorizontalShift(columns, activeColumnIndex)}px)`,
5810
5830
  }, 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(Text, { size: "text-xl", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
5811
5831
  };
5812
- const renderCols = (cols, rowIndex) => cols?.length > 0 ? (jsx("div", { className: style('flex', rowIndex === 0 ? 'text-secondary-text' : ''), children: cols.map((data, i) => (jsx("div", { className: "w-20 mx-lg", children: jsx(Text, { size: "text-h6", font: "font-light", children: data }) }, String(i)))) })) : null;
5832
+ const renderCols = (cols, rowIndex) => cols?.length > 0 ? (jsx("div", { className: style('flex', { 'text-secondary-text': rowIndex === 0 }), children: cols.map((data, i) => (jsx("div", { className: "w-20 mx-lg", children: jsx(Text, { size: "text-h6", font: "font-light", children: data }) }, String(i)))) })) : null;
5813
5833
 
5814
5834
  const InnerTableBodyItem = JSX(({ rows }) => (jsx(SwipeListContainer, { visibleItemCount: 0, snapAlign: "snap-start", children: jsx("div", { children: rows?.map(renderInnerTableRow(0)) }) })));
5815
5835
 
@@ -5823,7 +5843,9 @@
5823
5843
  const linkButtonVersion = 'link';
5824
5844
 
5825
5845
  const TableColor = (isEqual = false) => `${isEqual ? 'text-white' : 'text-secondary-text'}`;
5826
- const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between items-center w-full py-lg", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: style('rounded-md px-4 py-3 cursor-pointer', idx === activeTabIndex ? 'bg-primary-main' : ''), onClick: () => setActiveTabIndex(idx), children: jsx(Text, { size: "text-xl", font: "font-light", color: TableColor(idx === activeTabIndex), children: currency || idx + 1 }) }, currency))) })) : null, linkToPDF ? (jsx(LinkButton, { className: "text-primary-main", href: linkToPDF, version: linkButtonVersion, target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
5846
+ const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between items-center w-full py-lg", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: style('rounded-md px-4 py-3 cursor-pointer', {
5847
+ 'bg-primary-main': idx === activeTabIndex,
5848
+ }), onClick: () => setActiveTabIndex(idx), children: jsx(Text, { size: "text-xl", font: "font-light", color: TableColor(idx === activeTabIndex), children: currency || idx + 1 }) }, currency))) })) : null, linkToPDF ? (jsx(LinkButton, { className: "text-primary-main", href: linkToPDF, version: linkButtonVersion, target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
5827
5849
 
5828
5850
  const EMPTY_DATA$1 = 'Данных нет';
5829
5851
  const InnerTable = UniBlock(({ tableSource, pdfUrl, onClick }) => {
@@ -6015,7 +6037,9 @@
6015
6037
  globalThis.document?.body.classList.remove('overflow-hidden');
6016
6038
  }
6017
6039
  }, [dialogs]);
6018
- return dialogs.length ? (jsx("div", { className: "fixed inset-0 z-50", role: "dialog", children: dialogs.map(({ dialog, id }, i) => (jsx("div", { className: style('absolute inset-0 overflow-x-hidden overflow-y-scroll no-scrollbar bg-black/50', i === dialogs.length - 1 ? '' : 'hidden'), children: dialog }, String(id || i)))) })) : null;
6040
+ return dialogs.length ? (jsx("div", { className: "fixed inset-0 z-50", role: "dialog", children: dialogs.map(({ dialog, id }, i) => (jsx("div", { className: style('absolute inset-0 overflow-x-hidden overflow-y-scroll no-scrollbar bg-black/50', {
6041
+ hidden: i !== dialogs.length - 1,
6042
+ }), children: dialog }, String(id || i)))) })) : null;
6019
6043
  });
6020
6044
 
6021
6045
  const PopupManager = JSX(() => {
@@ -6078,7 +6102,7 @@
6078
6102
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6079
6103
  });
6080
6104
 
6081
- const packageVersion = "0.14.530";
6105
+ const packageVersion = "0.14.532";
6082
6106
 
6083
6107
  exports.Blocks = Blocks;
6084
6108
  exports.ContentPage = ContentPage;