@redneckz/wildless-cms-uni-blocks 0.14.0 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (677) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +221 -315
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  5. package/bundle/components/OfficesAtmsMap/Badge.d.ts +11 -0
  6. package/bundle/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  7. package/bundle/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  8. package/bundle/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  9. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  10. package/bundle/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  11. package/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  12. package/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  13. package/bundle/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  14. package/bundle/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  15. package/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  16. package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  17. package/bundle/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  18. package/cosmos-static/icons/CloseIcon.svg +1 -1
  19. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  20. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  21. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  22. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  23. package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  24. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  25. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  26. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  27. package/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
  28. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  29. package/dist/components/Blocks.js +2 -6
  30. package/dist/components/Blocks.js.map +1 -1
  31. package/dist/components/CarouselCard/CarouselCard.js +2 -2
  32. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  33. package/dist/components/CarouselLinks/CarouselLinkButton.js +2 -2
  34. package/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  35. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  36. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  37. package/dist/components/Header/HeaderSubMenu.js +2 -1
  38. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  39. package/dist/components/MobileAppTile/MobileAppTile.js +3 -2
  40. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  41. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  42. package/dist/components/OfficesAtmsMap/Badge.d.ts +11 -0
  43. package/dist/components/OfficesAtmsMap/Badge.js +14 -0
  44. package/dist/components/OfficesAtmsMap/Badge.js.map +1 -0
  45. package/dist/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  46. package/dist/components/OfficesAtmsMap/CardCell.js +14 -0
  47. package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -0
  48. package/dist/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  49. package/dist/components/OfficesAtmsMap/CardRow.js +7 -0
  50. package/dist/components/OfficesAtmsMap/CardRow.js.map +1 -0
  51. package/dist/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  52. package/dist/components/OfficesAtmsMap/OfficesAtmsMap.js +74 -0
  53. package/dist/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
  54. package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  55. package/dist/components/{OfficeMap/OfficeMapContent.js → OfficesAtmsMap/OfficesAtmsMapContent.js} +1 -1
  56. package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
  57. package/dist/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  58. package/dist/components/OfficesAtmsMap/renderAtmCard.js +31 -0
  59. package/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
  60. package/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  61. package/dist/components/OfficesAtmsMap/renderLunchHour.js +10 -0
  62. package/dist/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
  63. package/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  64. package/dist/components/OfficesAtmsMap/renderOfficeCard.js +50 -0
  65. package/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
  66. package/dist/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  67. package/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js +19 -0
  68. package/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
  69. package/dist/components/PictureText/renderInsuranceSumMonth.js +2 -2
  70. package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  71. package/dist/components/ProductTile/ProductTile.js +1 -1
  72. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  73. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  74. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  75. package/dist/ui-kit/BaseTile/BaseTile.js +5 -5
  76. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  77. package/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  78. package/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  79. package/dist/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  80. package/dist/ui-kit/BenefitItem/renderBenefitText.js +1 -1
  81. package/dist/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
  82. package/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  83. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  84. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  85. package/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  86. package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  87. package/dist/ui-kit/Sitemap/Sitemap.js +4 -4
  88. package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  89. package/dist/ui-kit/Text/TextProps.d.ts +1 -1
  90. package/dist/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  91. package/dist/ui-kit/YandexMap/YandexMap.js +13 -22
  92. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  93. package/dist/ui-kit/YandexMap/renderClusterer.js +2 -2
  94. package/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  95. package/dist/ui-kit/YandexMap/renderSearchField.js +2 -1
  96. package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  97. package/dist/utils/fetchJSON.js +1 -1
  98. package/dist/utils/fetchJSON.js.map +1 -1
  99. package/lib/common.css +1 -1
  100. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  101. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  102. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  103. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  104. package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  105. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  106. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  107. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  108. package/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
  109. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  110. package/lib/components/Blocks.js +2 -6
  111. package/lib/components/Blocks.js.map +1 -1
  112. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  113. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  114. package/lib/components/CarouselLinks/CarouselLinkButton.js +2 -2
  115. package/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  116. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  117. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  118. package/lib/components/Header/HeaderSubMenu.js +2 -1
  119. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  120. package/lib/components/MobileAppTile/MobileAppTile.js +3 -2
  121. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  122. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  123. package/lib/components/OfficesAtmsMap/Badge.d.ts +11 -0
  124. package/lib/components/OfficesAtmsMap/Badge.js +12 -0
  125. package/lib/components/OfficesAtmsMap/Badge.js.map +1 -0
  126. package/lib/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  127. package/lib/components/OfficesAtmsMap/CardCell.js +12 -0
  128. package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -0
  129. package/lib/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  130. package/lib/components/OfficesAtmsMap/CardRow.js +5 -0
  131. package/lib/components/OfficesAtmsMap/CardRow.js.map +1 -0
  132. package/lib/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  133. package/lib/components/{OfficeMap/OfficeMap.fixture.d.ts → OfficesAtmsMap/OfficesAtmsMap.fixture.d.ts} +2 -2
  134. package/lib/components/OfficesAtmsMap/OfficesAtmsMap.js +72 -0
  135. package/lib/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
  136. package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  137. package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js +2 -0
  138. package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
  139. package/lib/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  140. package/lib/components/OfficesAtmsMap/renderAtmCard.js +28 -0
  141. package/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
  142. package/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  143. package/lib/components/OfficesAtmsMap/renderLunchHour.js +7 -0
  144. package/lib/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
  145. package/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  146. package/lib/components/OfficesAtmsMap/renderOfficeCard.js +44 -0
  147. package/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
  148. package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  149. package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js +16 -0
  150. package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
  151. package/lib/components/PictureText/renderInsuranceSumMonth.js +2 -2
  152. package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  153. package/lib/components/ProductTile/ProductTile.js +1 -1
  154. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  155. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  156. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  157. package/lib/ui-kit/BaseTile/BaseTile.js +5 -5
  158. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  159. package/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  160. package/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  161. package/lib/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  162. package/lib/ui-kit/BenefitItem/renderBenefitText.js +1 -1
  163. package/lib/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
  164. package/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  165. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  166. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  167. package/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  168. package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  169. package/lib/ui-kit/Sitemap/Sitemap.js +4 -4
  170. package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  171. package/lib/ui-kit/Text/TextProps.d.ts +1 -1
  172. package/lib/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  173. package/lib/ui-kit/YandexMap/YandexMap.js +13 -22
  174. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  175. package/lib/ui-kit/YandexMap/renderClusterer.js +2 -2
  176. package/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  177. package/lib/ui-kit/YandexMap/renderSearchField.d.ts +1 -0
  178. package/lib/ui-kit/YandexMap/renderSearchField.js +2 -1
  179. package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  180. package/lib/utils/fetchJSON.js +1 -1
  181. package/lib/utils/fetchJSON.js.map +1 -1
  182. package/mobile/bundle/bundle.umd.js +69 -135
  183. package/mobile/bundle/bundle.umd.min.js +1 -1
  184. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  185. package/mobile/bundle/components/OfficesAtmsMap/Badge.d.ts +11 -0
  186. package/mobile/bundle/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  187. package/mobile/bundle/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  188. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  189. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  190. package/mobile/bundle/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  191. package/mobile/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  192. package/mobile/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  193. package/mobile/bundle/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  194. package/mobile/bundle/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  195. package/mobile/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  196. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  197. package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  198. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  199. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  200. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  201. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  202. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  203. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  204. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  205. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  206. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
  207. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  208. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  209. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  210. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +2 -2
  211. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  212. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  213. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  214. package/mobile/dist/components/Header/HeaderSubMenu.js +2 -1
  215. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  216. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +3 -2
  217. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  218. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  219. package/mobile/dist/components/OfficesAtmsMap/Badge.d.ts +11 -0
  220. package/mobile/dist/components/OfficesAtmsMap/Badge.js +14 -0
  221. package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -0
  222. package/mobile/dist/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  223. package/mobile/dist/components/OfficesAtmsMap/CardCell.js +14 -0
  224. package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -0
  225. package/mobile/dist/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  226. package/mobile/dist/components/OfficesAtmsMap/CardRow.js +7 -0
  227. package/mobile/dist/components/OfficesAtmsMap/CardRow.js.map +1 -0
  228. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  229. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.js +74 -0
  230. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
  231. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  232. package/mobile/dist/components/{OfficeMap/OfficeMapContent.js → OfficesAtmsMap/OfficesAtmsMapContent.js} +1 -1
  233. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
  234. package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  235. package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js +31 -0
  236. package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
  237. package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  238. package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js +10 -0
  239. package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
  240. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  241. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js +50 -0
  242. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
  243. package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  244. package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js +19 -0
  245. package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
  246. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +2 -2
  247. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  248. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  249. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  250. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  251. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  252. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +5 -5
  253. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  254. package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  255. package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  256. package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  257. package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.js +1 -1
  258. package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
  259. package/mobile/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  260. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  261. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  262. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  263. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  264. package/mobile/dist/ui-kit/Sitemap/Sitemap.js +4 -4
  265. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  266. package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
  267. package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  268. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +13 -22
  269. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  270. package/mobile/dist/ui-kit/YandexMap/renderClusterer.js +2 -2
  271. package/mobile/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  272. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +2 -1
  273. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  274. package/mobile/dist/utils/fetchJSON.js +1 -1
  275. package/mobile/dist/utils/fetchJSON.js.map +1 -1
  276. package/mobile/lib/common.css +1 -1
  277. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  278. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  279. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  280. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  281. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  282. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  283. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  284. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  285. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
  286. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  287. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  288. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  289. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +2 -2
  290. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  291. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  292. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  293. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -1
  294. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  295. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +3 -2
  296. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  297. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  298. package/mobile/lib/components/OfficesAtmsMap/Badge.d.ts +11 -0
  299. package/mobile/lib/components/OfficesAtmsMap/Badge.js +12 -0
  300. package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -0
  301. package/mobile/lib/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  302. package/mobile/lib/components/OfficesAtmsMap/CardCell.js +12 -0
  303. package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -0
  304. package/mobile/lib/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  305. package/mobile/lib/components/OfficesAtmsMap/CardRow.js +5 -0
  306. package/mobile/lib/components/OfficesAtmsMap/CardRow.js.map +1 -0
  307. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  308. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.js +72 -0
  309. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
  310. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  311. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js +2 -0
  312. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
  313. package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  314. package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js +28 -0
  315. package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
  316. package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  317. package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js +7 -0
  318. package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
  319. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  320. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js +44 -0
  321. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
  322. package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  323. package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js +16 -0
  324. package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
  325. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +2 -2
  326. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  327. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  328. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  329. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  330. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  331. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +5 -5
  332. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  333. package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  334. package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  335. package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  336. package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.js +1 -1
  337. package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
  338. package/mobile/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  339. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  340. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  341. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  342. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  343. package/mobile/lib/ui-kit/Sitemap/Sitemap.js +4 -4
  344. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  345. package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
  346. package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  347. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +13 -22
  348. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  349. package/mobile/lib/ui-kit/YandexMap/renderClusterer.js +2 -2
  350. package/mobile/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  351. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +2 -1
  352. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  353. package/mobile/lib/utils/fetchJSON.js +1 -1
  354. package/mobile/lib/utils/fetchJSON.js.map +1 -1
  355. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  356. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
  357. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
  358. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
  359. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
  360. package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
  361. package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +2 -2
  362. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  363. package/mobile/src/components/Header/HeaderSubMenu.tsx +6 -1
  364. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +19 -6
  365. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
  366. package/mobile/src/components/OfficesAtmsMap/Badge.tsx +30 -0
  367. package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +40 -0
  368. package/mobile/src/components/OfficesAtmsMap/CardRow.tsx +17 -0
  369. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.tsx +165 -0
  370. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +40 -0
  371. package/mobile/src/components/OfficesAtmsMap/renderAtmCard.tsx +60 -0
  372. package/mobile/src/components/OfficesAtmsMap/renderLunchHour.tsx +28 -0
  373. package/mobile/src/components/OfficesAtmsMap/renderOfficeCard.tsx +121 -0
  374. package/mobile/src/components/OfficesAtmsMap/useOfficesAtmsMap.ts +118 -0
  375. package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +6 -6
  376. package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
  377. package/mobile/src/icons/CloseIcon.svg +4 -4
  378. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +22 -10
  379. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +5 -5
  380. package/mobile/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
  381. package/mobile/src/ui-kit/BenefitItem/renderBenefitText.tsx +10 -2
  382. package/mobile/src/ui-kit/BenefitsList/BenefitsListProps.ts +1 -0
  383. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  384. package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +2 -2
  385. package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +10 -6
  386. package/mobile/src/ui-kit/Text/TextProps.ts +2 -0
  387. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +70 -79
  388. package/mobile/src/ui-kit/YandexMap/renderClusterer.ts +2 -2
  389. package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
  390. package/mobile/src/utils/fetchJSON.ts +1 -1
  391. package/package.json +1 -1
  392. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  393. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
  394. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
  395. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
  396. package/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
  397. package/src/components/Blocks.ts +2 -6
  398. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +1 -1
  399. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
  400. package/src/components/CarouselCard/CarouselCard.tsx +2 -2
  401. package/src/components/CarouselLinks/CarouselLinkButton.tsx +2 -2
  402. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  403. package/src/components/Header/HeaderSubMenu.tsx +6 -1
  404. package/src/components/MobileAppTile/MobileAppTile.tsx +19 -6
  405. package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
  406. package/src/components/OfficesAtmsMap/Badge.tsx +30 -0
  407. package/src/components/OfficesAtmsMap/CardCell.tsx +40 -0
  408. package/src/components/OfficesAtmsMap/CardRow.tsx +17 -0
  409. package/src/components/OfficesAtmsMap/OfficesAtmsMap.fixture.tsx +41 -0
  410. package/src/components/OfficesAtmsMap/OfficesAtmsMap.tsx +165 -0
  411. package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +40 -0
  412. package/src/components/OfficesAtmsMap/renderAtmCard.tsx +60 -0
  413. package/src/components/OfficesAtmsMap/renderLunchHour.tsx +28 -0
  414. package/src/components/OfficesAtmsMap/renderOfficeCard.tsx +121 -0
  415. package/src/components/OfficesAtmsMap/useOfficesAtmsMap.ts +118 -0
  416. package/src/components/PictureText/renderInsuranceSumMonth.tsx +6 -6
  417. package/src/components/ProductTile/ProductTile.fixture.mobile.tsx +7 -4
  418. package/src/components/ProductTile/ProductTile.tsx +1 -1
  419. package/src/icons/CloseIcon.svg +4 -4
  420. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +22 -10
  421. package/src/ui-kit/BaseTile/BaseTile.tsx +5 -5
  422. package/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
  423. package/src/ui-kit/BenefitItem/renderBenefitText.tsx +10 -2
  424. package/src/ui-kit/BenefitsList/BenefitsListProps.ts +1 -0
  425. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  426. package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +2 -2
  427. package/src/ui-kit/Sitemap/Sitemap.tsx +10 -6
  428. package/src/ui-kit/Text/TextProps.ts +2 -0
  429. package/src/ui-kit/YandexMap/YandexMap.tsx +70 -79
  430. package/src/ui-kit/YandexMap/renderClusterer.ts +2 -2
  431. package/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
  432. package/src/utils/fetchJSON.ts +1 -1
  433. package/bundle/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  434. package/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  435. package/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  436. package/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  437. package/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  438. package/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  439. package/bundle/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -3
  440. package/bundle/components/OfficeMap/OfficeMap.d.ts +0 -5
  441. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  442. package/bundle/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  443. package/bundle/components/OfficeMap/nearbyOffices.d.ts +0 -2
  444. package/bundle/components/OfficeMap/renderFunctions.d.ts +0 -5
  445. package/bundle/components/OfficeMap/useOfficeMap.d.ts +0 -59
  446. package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  447. package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  448. package/dist/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  449. package/dist/components/ExchangeRateOffice/Currencies.js +0 -12
  450. package/dist/components/ExchangeRateOffice/Currencies.js.map +0 -1
  451. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  452. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -16
  453. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
  454. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  455. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
  456. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
  457. package/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  458. package/dist/components/ExchangeRateOffice/renderCurrencies.js +0 -30
  459. package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
  460. package/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  461. package/dist/components/ExchangeRateOffice/renderTableHeader.js +0 -9
  462. package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
  463. package/dist/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  464. package/dist/components/MobileAppTile/buttonsConditionStyle.js +0 -6
  465. package/dist/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
  466. package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -3
  467. package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js +0 -13
  468. package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +0 -1
  469. package/dist/components/OfficeMap/OfficeMap.d.ts +0 -5
  470. package/dist/components/OfficeMap/OfficeMap.js +0 -43
  471. package/dist/components/OfficeMap/OfficeMap.js.map +0 -1
  472. package/dist/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  473. package/dist/components/OfficeMap/OfficeMapContent.js.map +0 -1
  474. package/dist/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  475. package/dist/components/OfficeMap/mockOfficeMap.js +0 -82
  476. package/dist/components/OfficeMap/mockOfficeMap.js.map +0 -1
  477. package/dist/components/OfficeMap/nearbyOffices.d.ts +0 -2
  478. package/dist/components/OfficeMap/nearbyOffices.js +0 -9
  479. package/dist/components/OfficeMap/nearbyOffices.js.map +0 -1
  480. package/dist/components/OfficeMap/renderFunctions.d.ts +0 -5
  481. package/dist/components/OfficeMap/renderFunctions.js +0 -20
  482. package/dist/components/OfficeMap/renderFunctions.js.map +0 -1
  483. package/dist/components/OfficeMap/useOfficeMap.d.ts +0 -59
  484. package/dist/components/OfficeMap/useOfficeMap.js +0 -20
  485. package/dist/components/OfficeMap/useOfficeMap.js.map +0 -1
  486. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  487. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -12
  488. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
  489. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  490. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
  491. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
  492. package/lib/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  493. package/lib/components/ExchangeRateOffice/Currencies.js +0 -10
  494. package/lib/components/ExchangeRateOffice/Currencies.js.map +0 -1
  495. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  496. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.fixture.d.ts +0 -6
  497. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -14
  498. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
  499. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  500. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
  501. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
  502. package/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  503. package/lib/components/ExchangeRateOffice/renderCurrencies.js +0 -27
  504. package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
  505. package/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  506. package/lib/components/ExchangeRateOffice/renderTableHeader.js +0 -6
  507. package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
  508. package/lib/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  509. package/lib/components/MobileAppTile/buttonsConditionStyle.js +0 -3
  510. package/lib/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
  511. package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -2
  512. package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js +0 -10
  513. package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +0 -1
  514. package/lib/components/OfficeMap/OfficeMap.d.ts +0 -5
  515. package/lib/components/OfficeMap/OfficeMap.js +0 -41
  516. package/lib/components/OfficeMap/OfficeMap.js.map +0 -1
  517. package/lib/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  518. package/lib/components/OfficeMap/OfficeMapContent.js +0 -2
  519. package/lib/components/OfficeMap/OfficeMapContent.js.map +0 -1
  520. package/lib/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  521. package/lib/components/OfficeMap/mockOfficeMap.js +0 -80
  522. package/lib/components/OfficeMap/mockOfficeMap.js.map +0 -1
  523. package/lib/components/OfficeMap/nearbyOffices.d.ts +0 -2
  524. package/lib/components/OfficeMap/nearbyOffices.js +0 -7
  525. package/lib/components/OfficeMap/nearbyOffices.js.map +0 -1
  526. package/lib/components/OfficeMap/renderFunctions.d.ts +0 -5
  527. package/lib/components/OfficeMap/renderFunctions.js +0 -15
  528. package/lib/components/OfficeMap/renderFunctions.js.map +0 -1
  529. package/lib/components/OfficeMap/useOfficeMap.d.ts +0 -59
  530. package/lib/components/OfficeMap/useOfficeMap.js +0 -17
  531. package/lib/components/OfficeMap/useOfficeMap.js.map +0 -1
  532. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  533. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +0 -6
  534. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -10
  535. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
  536. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  537. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
  538. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
  539. package/mobile/bundle/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  540. package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  541. package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  542. package/mobile/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  543. package/mobile/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  544. package/mobile/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  545. package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +0 -5
  546. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  547. package/mobile/bundle/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  548. package/mobile/bundle/components/OfficeMap/nearbyOffices.d.ts +0 -2
  549. package/mobile/bundle/components/OfficeMap/renderFunctions.d.ts +0 -5
  550. package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +0 -59
  551. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  552. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  553. package/mobile/dist/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  554. package/mobile/dist/components/ExchangeRateOffice/Currencies.js +0 -12
  555. package/mobile/dist/components/ExchangeRateOffice/Currencies.js.map +0 -1
  556. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  557. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -16
  558. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
  559. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  560. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
  561. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
  562. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  563. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +0 -30
  564. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
  565. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  566. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +0 -9
  567. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
  568. package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  569. package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js +0 -13
  570. package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
  571. package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +0 -5
  572. package/mobile/dist/components/OfficeMap/OfficeMap.js +0 -43
  573. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +0 -1
  574. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  575. package/mobile/dist/components/OfficeMap/OfficeMapContent.js.map +0 -1
  576. package/mobile/dist/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  577. package/mobile/dist/components/OfficeMap/mockOfficeMap.js +0 -82
  578. package/mobile/dist/components/OfficeMap/mockOfficeMap.js.map +0 -1
  579. package/mobile/dist/components/OfficeMap/nearbyOffices.d.ts +0 -2
  580. package/mobile/dist/components/OfficeMap/nearbyOffices.js +0 -9
  581. package/mobile/dist/components/OfficeMap/nearbyOffices.js.map +0 -1
  582. package/mobile/dist/components/OfficeMap/renderFunctions.d.ts +0 -5
  583. package/mobile/dist/components/OfficeMap/renderFunctions.js +0 -20
  584. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +0 -1
  585. package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +0 -59
  586. package/mobile/dist/components/OfficeMap/useOfficeMap.js +0 -20
  587. package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +0 -1
  588. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  589. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -12
  590. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
  591. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  592. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
  593. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
  594. package/mobile/lib/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  595. package/mobile/lib/components/ExchangeRateOffice/Currencies.js +0 -10
  596. package/mobile/lib/components/ExchangeRateOffice/Currencies.js.map +0 -1
  597. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  598. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -14
  599. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
  600. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  601. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
  602. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
  603. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  604. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +0 -27
  605. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
  606. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  607. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +0 -6
  608. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
  609. package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
  610. package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js +0 -10
  611. package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
  612. package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +0 -5
  613. package/mobile/lib/components/OfficeMap/OfficeMap.js +0 -41
  614. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +0 -1
  615. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  616. package/mobile/lib/components/OfficeMap/OfficeMapContent.js +0 -2
  617. package/mobile/lib/components/OfficeMap/OfficeMapContent.js.map +0 -1
  618. package/mobile/lib/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  619. package/mobile/lib/components/OfficeMap/mockOfficeMap.js +0 -80
  620. package/mobile/lib/components/OfficeMap/mockOfficeMap.js.map +0 -1
  621. package/mobile/lib/components/OfficeMap/nearbyOffices.d.ts +0 -2
  622. package/mobile/lib/components/OfficeMap/nearbyOffices.js +0 -7
  623. package/mobile/lib/components/OfficeMap/nearbyOffices.js.map +0 -1
  624. package/mobile/lib/components/OfficeMap/renderFunctions.d.ts +0 -5
  625. package/mobile/lib/components/OfficeMap/renderFunctions.js +0 -15
  626. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +0 -1
  627. package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +0 -59
  628. package/mobile/lib/components/OfficeMap/useOfficeMap.js +0 -17
  629. package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +0 -1
  630. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  631. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -10
  632. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
  633. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  634. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
  635. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
  636. package/mobile/src/components/ExchangeRateOffice/Currencies.ts +0 -8
  637. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +0 -32
  638. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +0 -62
  639. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +0 -36
  640. package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +0 -73
  641. package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +0 -11
  642. package/mobile/src/components/MobileAppTile/buttonsConditionStyle.tsx +0 -12
  643. package/mobile/src/components/OfficeMap/OfficeMap.tsx +0 -76
  644. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +0 -42
  645. package/mobile/src/components/OfficeMap/mockOfficeMap.ts +0 -79
  646. package/mobile/src/components/OfficeMap/nearbyOffices.ts +0 -8
  647. package/mobile/src/components/OfficeMap/renderFunctions.tsx +0 -75
  648. package/mobile/src/components/OfficeMap/useOfficeMap.ts +0 -24
  649. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +0 -49
  650. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +0 -37
  651. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +0 -11
  652. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +0 -14
  653. package/src/components/ExchangeRateOffice/Currencies.ts +0 -8
  654. package/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +0 -32
  655. package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +0 -79
  656. package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +0 -62
  657. package/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +0 -36
  658. package/src/components/ExchangeRateOffice/renderCurrencies.tsx +0 -73
  659. package/src/components/ExchangeRateOffice/renderTableHeader.tsx +0 -11
  660. package/src/components/MobileAppTile/buttonsConditionStyle.mobile.tsx +0 -12
  661. package/src/components/MobileAppTile/buttonsConditionStyle.tsx +0 -5
  662. package/src/components/OfficeMap/OfficeMap.fixture.tsx +0 -11
  663. package/src/components/OfficeMap/OfficeMap.tsx +0 -76
  664. package/src/components/OfficeMap/OfficeMapContent.ts +0 -42
  665. package/src/components/OfficeMap/mockOfficeMap.ts +0 -79
  666. package/src/components/OfficeMap/nearbyOffices.ts +0 -8
  667. package/src/components/OfficeMap/renderFunctions.tsx +0 -75
  668. package/src/components/OfficeMap/useOfficeMap.ts +0 -24
  669. package/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +0 -49
  670. package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +0 -44
  671. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +0 -37
  672. package/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +0 -11
  673. package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +0 -14
  674. /package/mobile/src/components/{ExchangeRateOffice/ExchangeRateOffice.ui.json → OfficesAtmsMap/OfficesAtmsMap.ui.json} +0 -0
  675. /package/mobile/src/components/{OfficeMap/OfficeMap.ui.json → OfficesAtmsMap/OfficesAtmsMaps.example.json} +0 -0
  676. /package/src/components/{ExchangeRateOffice/ExchangeRateOffice.ui.json → OfficesAtmsMap/OfficesAtmsMap.ui.json} +0 -0
  677. /package/src/components/{OfficeMap/OfficeMap.ui.json → OfficesAtmsMap/OfficesAtmsMaps.example.json} +0 -0
@@ -356,7 +356,7 @@
356
356
 
357
357
  const headingTag = (tag) => tag;
358
358
 
359
- const styles$4 = {
359
+ const styles$3 = {
360
360
  h0: 'text-h0',
361
361
  h1: 'text-h1',
362
362
  h2: 'text-h2',
@@ -367,7 +367,7 @@
367
367
  };
368
368
  const Heading = JSX(({ className = '', headingType = 'h3', as = 'h3', title, children }) => {
369
369
  const Tag = headingTag(as);
370
- return (jsx(Tag, { className: style('font-sans m-0', styles$4[headingType], className), children: title || children }));
370
+ return (jsx(Tag, { className: style('font-sans m-0', styles$3[headingType], className), children: title || children }));
371
371
  });
372
372
 
373
373
  const identity = (_) => _;
@@ -509,14 +509,14 @@
509
509
  'Content-Type': 'application/json',
510
510
  },
511
511
  });
512
- return await response.json();
512
+ return response.json();
513
513
  }
514
514
 
515
515
  const REGIONS_URL$1 = '/api/v1/regions';
516
- const EMPTY_VALUE$3 = [];
516
+ const EMPTY_VALUE$4 = [];
517
517
  function useGetRegions() {
518
518
  const { data } = useAsyncData(REGIONS_URL$1, fetchJSONUnsafe);
519
- return data || EMPTY_VALUE$3;
519
+ return data || EMPTY_VALUE$4;
520
520
  }
521
521
 
522
522
  const useDialogManager = () => ({
@@ -998,7 +998,7 @@
998
998
  fullName,
999
999
  inn,
1000
1000
  name,
1001
- phone,
1001
+ phone: phone.replace(/[^+\d]/g, ''),
1002
1002
  });
1003
1003
  }, [onSubmit]);
1004
1004
  const [, { field, ...formProps }] = useForm(initialFormState$4, handleSubmit);
@@ -1032,9 +1032,9 @@
1032
1032
  typeForm: 'bcrd',
1033
1033
  region: region?.text || '',
1034
1034
  name,
1035
- phone,
1036
1035
  inn,
1037
1036
  mail,
1037
+ phone: phone.replace(/[^+\d]/g, ''),
1038
1038
  });
1039
1039
  }, [onSubmit]);
1040
1040
  const [, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
@@ -1043,14 +1043,14 @@
1043
1043
  });
1044
1044
 
1045
1045
  const BRANCHES_URL = '/api/v1/branches';
1046
- const EMPTY_VALUE$2 = [];
1046
+ const EMPTY_VALUE$3 = [];
1047
1047
  function useBranches(regionCode) {
1048
1048
  const { data } = useAsyncData(regionCode ? `${BRANCHES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes$1);
1049
- return data || EMPTY_VALUE$2;
1049
+ return data || EMPTY_VALUE$3;
1050
1050
  }
1051
1051
  const fetchSafeBoxes$1 = async (url) => {
1052
1052
  const result = await fetchJSON(url, { method: 'GET' });
1053
- return result || EMPTY_VALUE$2;
1053
+ return result || EMPTY_VALUE$3;
1054
1054
  };
1055
1055
 
1056
1056
  const MIN_CREDIT_AMOUNT = 1000;
@@ -1159,7 +1159,7 @@
1159
1159
  fullName,
1160
1160
  inn,
1161
1161
  name,
1162
- phone,
1162
+ phone: phone.replace(/[^+\d]/g, ''),
1163
1163
  mail,
1164
1164
  region: region?.text || '',
1165
1165
  department: department?.text || '',
@@ -1188,22 +1188,22 @@
1188
1188
  onSubmit({
1189
1189
  typeForm: 'dpst',
1190
1190
  name,
1191
- phone,
1191
+ phone: phone.replace(/[^+\d]/g, ''),
1192
1192
  });
1193
1193
  }, [onSubmit]);
1194
1194
  const [, { field, ...formProps }] = useForm(initialFormState$1, handleSubmit);
1195
1195
  return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0437\u0430\u044F\u0432\u043A\u0443 \u0438 \u043C\u044B \u043E\u0442\u0432\u0435\u0442\u0438\u043C \u043D\u0430 \u043B\u044E\u0431\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u0434\u0435\u043F\u043E\u0437\u0438\u0442\u0430\u043C", className: "@xl:text-center mb-m" }), jsxs("div", { className: "max-w-[560px] m-auto space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: "flex justify-between flex-col-reverse @xl:items-center @xl:flex-row max-w-[560px] m-auto", children: [jsx("div", { className: "flex-1", children: jsx(Footnote, { link: link }) }), renderSubmitButton(button)] })] }));
1196
1196
  });
1197
1197
 
1198
- const EMPTY_VALUE$1 = {};
1198
+ const EMPTY_VALUE$2 = {};
1199
1199
  const DEFAULT_FOLDER_NAME = 'wcms-resources';
1200
1200
  function useSWRResource(filename, options = {}) {
1201
- const { fallback = EMPTY_VALUE$1, folderName = DEFAULT_FOLDER_NAME, setBasePath = false } = options;
1201
+ const { fallback = EMPTY_VALUE$2, folderName = DEFAULT_FOLDER_NAME, setBasePath = false } = options;
1202
1202
  const path = joinPath('/', setBasePath ? projectSettings.BASE_PATH : '', folderName, `${filename}.json`);
1203
1203
  const { data } = useAsyncData(filename ? path : null, fetchJSONUnsafe, {
1204
1204
  fallback,
1205
1205
  });
1206
- return data || EMPTY_VALUE$1;
1206
+ return data || EMPTY_VALUE$2;
1207
1207
  }
1208
1208
 
1209
1209
  const ApplicationFormGrantSupport = JSX((props) => {
@@ -1302,7 +1302,7 @@
1302
1302
  typeForm: 'KVED',
1303
1303
  fullName,
1304
1304
  name,
1305
- phone,
1305
+ phone: phone.replace(/[^+\d]/g, ''),
1306
1306
  text,
1307
1307
  vedTypes: getVedTypes(vedTypes),
1308
1308
  PartnerComments: text,
@@ -1380,7 +1380,7 @@
1380
1380
  return description?.items && description.items.length > 0 ? (jsx("ul", { className: listStyleType, children: description.items.map((_, i) => (jsx(Paragraph, { font: "font-light", size: "text-l", color: "text-secondary-text group-data-secondary:text-white", children: _ }, `benefitListItem-${i}`))) })) : null;
1381
1381
  };
1382
1382
 
1383
- const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-m', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
1383
+ const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-lg sm:gap-m', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
1384
1384
  const renderButton = (buttonClassName = '') => (button, index) => {
1385
1385
  const { text, icon, iconRight, version, ...rest } = button || {};
1386
1386
  const iconVersion = getIconVersion(icon, version);
@@ -2674,19 +2674,19 @@
2674
2674
  const titleSize = 'L';
2675
2675
 
2676
2676
  const layerBaseStyle = 'z-10 border border-solid w-full h-full';
2677
- const layerStyle = style(layerBaseStyle, 'absolute hidden sm:block border-transparent');
2678
- const CarouselCard = JSX(({ className, title, description, button, ...rest }) => (jsx(BlockWrapper, { className: style('sm:pl-6xl sm:pb-4xl', className), defaultPadding: "p-0", ...rest, children: jsxs("div", { className: "relative", children: [jsx("div", { className: style(layerStyle, 'top-9 right-12 bg-green-dark') }), jsx("div", { className: style(layerStyle, 'top-6 right-8 bg-green') }), jsx("div", { className: style(layerStyle, 'top-3 right-4 bg-green-light') }), jsxs("div", { className: style(layerBaseStyle, 'relative p-xl sm:p-5xl bg-white border-transparent sm:border-green-light'), children: [jsx(Headline, { title: title, description: description, headlineVersion: titleSize, align: "text-left", isEmbedded: true }), renderButtonsSection([button], {
2677
+ const layerStyle = style(layerBaseStyle, 'absolute hidden @xl:block border-transparent');
2678
+ const CarouselCard = JSX(({ className, title, description, button, ...rest }) => (jsx(BlockWrapper, { className: style('sm:pl-6xl sm:pb-4xl @container-normal', className), defaultPadding: "p-0", ...rest, children: jsxs("div", { className: "relative", children: [jsx("div", { className: style(layerStyle, 'top-9 right-12 bg-green-dark') }), jsx("div", { className: style(layerStyle, 'top-6 right-8 bg-green') }), jsx("div", { className: style(layerStyle, 'top-3 right-4 bg-green-light') }), jsxs("div", { className: style(layerBaseStyle, 'relative p-xl sm:p-5xl bg-white border-transparent sm:border-green-light'), children: [jsx(Headline, { title: title, description: description, headlineVersion: titleSize, align: "text-left", isEmbedded: true }), renderButtonsSection([button], {
2679
2679
  className: 'mt-m sm:mt-6xl sm:justify-center',
2680
2680
  isVertical: true,
2681
2681
  })] })] }) })));
2682
2682
 
2683
2683
  const imageAlignmentMap = {
2684
- start: '@lg:self-start',
2685
- center: '@lg:self-center',
2686
- end: '@lg:self-end',
2684
+ start: '@xl:self-start',
2685
+ center: '@xl:self-center',
2686
+ end: '@xl:self-end',
2687
2687
  };
2688
- const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, isImageAlwaysOnRight = false, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: style('grow relative flex justify-around @lg:justify-between items-stretch gap-3xl', isImageAlwaysOnRight ? 'flex-row' : 'flex-col @lg:flex-row'), children: [renderImageContainer(leftImage, { imageAlign }), jsxs("div", { className: style('flex flex-col gap-3xl max-w-[600px] @xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), backImage ? (jsx("div", { className: "justify-center mx-auto sm:absolute sm:-z-10 sm:-bottom-4 sm:-right-4", children: backImage })) : null, buttons] }), renderImageContainer(rightImage, {
2689
- className: isImageAlwaysOnRight ? '' : '-order-1 @xl:order-1',
2688
+ const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, isImageAlwaysOnRight = false, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: style('grow relative flex justify-around @lg:justify-between items-stretch gap-3xl', isImageAlwaysOnRight ? 'flex-row' : 'flex-col-reverse @lg:flex-row'), children: [renderImageContainer(leftImage, { imageAlign }), jsxs("div", { className: style('flex flex-col gap-3xl max-w-[600px] @xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), backImage ? (jsx("div", { className: "justify-center mx-auto sm:absolute sm:-z-10 sm:-bottom-4 sm:-right-4", children: backImage })) : null, buttons] }), renderImageContainer(rightImage, {
2689
+ className: isImageAlwaysOnRight ? '' : '@xl:order-1',
2690
2690
  imageAlign,
2691
2691
  })] })] })));
2692
2692
  const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('md:flex-shrink-0 self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
@@ -2722,7 +2722,7 @@
2722
2722
  const CarouselLinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2723
2723
  const link = useLink();
2724
2724
  const adjustedProps = link({ href, target });
2725
- 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;
2725
+ 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;
2726
2726
  });
2727
2727
 
2728
2728
  const MAX_LINKS_COUNT = 10;
@@ -2775,7 +2775,7 @@
2775
2775
 
2776
2776
  const deviation = (items) => items?.length ? Math.sqrt(Math.abs(avg(items.map((_) => _ ** 2)) - avg(items) ** 2)) : 0;
2777
2777
 
2778
- const renderBenefitIcon = (icon, benefitsVersion = 'normal') => icon ? (jsx("div", { className: style('w-12 h-12 min-w-12 box-border flex items-center justify-center rounded-icon', benefitsVersion === 'normal'
2778
+ const renderBenefitIcon = (icon, benefitsVersion = 'normal') => icon ? (jsx("div", { className: style('sm:w-12 sm:h-12 sm:min-w-12 w-11 h-11 min-w-11 box-border flex items-center justify-center rounded-icon', benefitsVersion === 'normal'
2779
2779
  ? 'bg-secondary-light text-primary-main'
2780
2780
  : 'bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black'), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null;
2781
2781
 
@@ -2792,7 +2792,7 @@
2792
2792
 
2793
2793
  const renderBenefitText = (_, i) => _.type === 'rte' && '__html' in _ && _.__html ? (jsx(RichText, { ..._ }, `rte-${i}`)) : ([
2794
2794
  'label' in _ ? renderBenefitLabel(_.label, i) : null,
2795
- 'description' in _ ? renderBenefitDescription(_.description, i) : null,
2795
+ 'description' in _ ? (jsx("span", { className: _.descriptionClassName, children: renderBenefitDescription(_.description, i) }, String(i))) : null,
2796
2796
  ]);
2797
2797
 
2798
2798
  const BenefitItem = JSX(({ className, benefitsVersion, ..._ }) => (jsxs("div", { className: style('flex gap-m', 'description' in _ && _.description ? 'items-start' : 'items-center', className), children: ['icon' in _ ? renderBenefitIcon(_.icon, benefitsVersion) : null, jsx("div", { children: renderBenefitText(_) })] })));
@@ -2815,14 +2815,15 @@
2815
2815
 
2816
2816
  const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', benefitsVersion, isTabularBenefits, benefits, __html, isFullWidthTitle = true, items, isDotted = true, listItemSize, tags = [], buttons, image, imageOptions: { imageAlign = 'end', directionRight = true, isBackground, isImageAlwaysOnRight, } = {}, children, }) => {
2817
2817
  const img = image?.src ? jsx(Img, { image: image }) : null;
2818
- const headline = (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isEmbedded: true }));
2818
+ const headline = renderHeadline({ title, description, headlineVersion, align });
2819
2819
  const filteredBenefits = benefits?.filter((_) => _?.type === 'rte' || 'label' in _ || 'description' in _);
2820
- return (jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { insetTitle: headline } : { title: headline }), ...(isBackground ? { backImage: img } : leftOrRightImage(img, directionRight)), imageAlign: imageAlign, isImageAlwaysOnRight: isImageAlwaysOnRight, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "flex flex-col gap-xl", children: [filteredBenefits?.length ? (jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: filteredBenefits })) : null, __html ? jsx(RichText, { __html: __html }) : null, items?.length ? (jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, renderTags(tags)] }) }));
2820
+ return (jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { insetTitle: headline } : { title: headline }), ...(isBackground ? { backImage: img } : leftOrRightImage(img, directionRight)), imageAlign: imageAlign, isImageAlwaysOnRight: isImageAlwaysOnRight, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "flex flex-col sm:gap-xl gap-4xl", children: [filteredBenefits?.length ? (jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: filteredBenefits })) : null, __html ? jsx(RichText, { __html: __html }) : null, items?.length ? (jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, renderTags(tags)] }) }));
2821
2821
  });
2822
2822
  const leftOrRightImage = (img, directionRight) => directionRight ? { rightImage: img } : { leftImage: img };
2823
2823
  const renderTags = (tags) => (tags?.length ? jsx(Tags, { tags: tags }) : null);
2824
+ const renderHeadline = ({ title, description, headlineVersion, align }) => title || description ? (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isEmbedded: true })) : null;
2824
2825
 
2825
- const CarouselProgramsCard = JSX(({ className, title, icon, list, href, target, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-3xl", ...rest, children: jsx(LinkWrapper, { className: "flex items-center h-full", href: href, target: target, children: jsx(BaseProductTile, { title: title, headlineVersion: "XS", image: icon, imageOptions: { directionRight: false, imageAlign: 'center' }, benefits: list?.map((_) => ({
2826
+ const CarouselProgramsCard = JSX(({ className, title, icon, list, href, target, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-3xl", ...rest, children: jsx(LinkWrapper, { className: "flex items-center h-full", href: href, target: target, children: jsx(BaseProductTile, { title: title, headlineVersion: "XS", image: icon, imageOptions: { directionRight: true, imageAlign: 'center' }, benefits: list?.map((_) => ({
2826
2827
  type: 'default',
2827
2828
  label: _.title,
2828
2829
  description: _.description,
@@ -3085,7 +3086,7 @@
3085
3086
  return items.map((item) => (jsx(SlideCheckbox, { text: item.title, value: [value].flatMap((_) => _).includes(item.value), onChange: () => handleChange(item.value), type: multiple ? 'checkbox' : 'radio' }, item.value)));
3086
3087
  });
3087
3088
 
3088
- const renderFiltrationForm = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset, ...resetButton }) })) : null] }));
3089
+ const renderFiltrationForm$1 = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset, ...resetButton }) })) : null] }));
3089
3090
  const renderFormItem = (field) => ([key, item]) => {
3090
3091
  const type = item?.type;
3091
3092
  switch (type) {
@@ -3147,7 +3148,7 @@
3147
3148
  parse: (min) => ({ min: Number(min), max: DEFAULT_MAX_SUM }),
3148
3149
  format: ({ min }) => String(min),
3149
3150
  }) }), jsx(InputRange, { title: periodInput?.title, items: ['От 3 мес', 'До 5 лет'], list: months, ...field('period') })] }));
3150
- return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [renderFiltrationForm({ field, reset, filtrationSchema, resetButton, children: Inputs }), jsx(BaseFiltrationInner, { blocksToRender: blocksToRender, ...rest })] }));
3151
+ return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [renderFiltrationForm$1({ field, reset, filtrationSchema, resetButton, children: Inputs }), jsx(BaseFiltrationInner, { blocksToRender: blocksToRender, ...rest })] }));
3151
3152
  });
3152
3153
  const sourceBookSchema = {
3153
3154
  type: 'string',
@@ -3170,49 +3171,6 @@
3170
3171
  };
3171
3172
  const ErrorBlock = JSX(({ className = '', title, description, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: style('p-6xl'), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center", children: renderErrorContent(error) }), jsx(Headline, { title: title, description: description, headlineVersion: "XL", isEmbedded: true, className: "mb-2xl last:mb-0" }), button?.text ? jsx(Button, { version: button?.version, text: button?.text, ...button }) : null] })));
3172
3173
 
3173
- var Currencies;
3174
- (function (Currencies) {
3175
- Currencies["EUR"] = "EUR";
3176
- Currencies["USD"] = "USD";
3177
- Currencies["GBP"] = "GBP";
3178
- Currencies["AUD"] = "AUD";
3179
- Currencies["CNY"] = "CNY";
3180
- Currencies["RUB"] = "RUB";
3181
- })(Currencies || (Currencies = {}));
3182
-
3183
- const CURRENCY_ICONS_MAP$1 = {
3184
- USD: 'DollarIcon',
3185
- EUR: 'EuroIcon',
3186
- GBP: 'DollarIcon',
3187
- AUD: 'DollarIcon',
3188
- CNY: 'DollarIcon',
3189
- RUB: 'RoundRubleIcon',
3190
- };
3191
- const renderCurrencyRow$1 = ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }) => {
3192
- return (jsxs("tr", { className: "pb-2xs text-h6", children: [jsx("td", { className: "pt-m", children: jsxs("div", { className: "flex items-center", children: [title ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP$1[title] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-xs", children: title })] }) }), renderCurrency(buyPrice, buyDifference), renderCurrency(sellPrice, sellDifference), renderOffice(buyPrice, buyOfficeName), renderOffice(sellPrice, sellOfficeName)] }, title));
3193
- };
3194
- const formatCurrency$1 = (value) => (value ? currencyNumberFormat$1.format(value) : '');
3195
- const renderCurrency = (price, difference) => {
3196
- return (jsxs("td", { className: "pt-m pl-5xl", children: [jsx("div", { children: formatCurrency$1(price) }), jsx("div", { className: style('font-normal text-sm text-secondary-text', (difference || 0) >= 0 ? 'text-green' : 'text-red'), children: formatCurrency$1(difference) })] }));
3197
- };
3198
- const renderOffice = (price, officeName = '') => {
3199
- return (jsxs("td", { className: "pt-m pl-5xl", children: [jsx("div", { children: formatCurrency$1(price) }), jsx("div", { className: "font-normal text-sm text-green", children: officeName })] }));
3200
- };
3201
- const currencyNumberFormat$1 = new Intl.NumberFormat('ru', {
3202
- style: 'currency',
3203
- currency: Currencies.RUB,
3204
- });
3205
-
3206
- const renderTableHeader = (title) => {
3207
- return (jsx("th", { className: "pl-5xl", children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: title }) }));
3208
- };
3209
-
3210
- const ExchangeRateOffice = JSX(({ className, currencies = [], actuality = '', officeName = '', ...rest }) => {
3211
- const fourRates = topNRates(currencies, 4);
3212
- return (jsxs(BlockWrapper, { className: style('space-y-3xl', className), ...rest, children: [jsxs("div", { className: "flex flex-row flex-grow-0 justify-between space-y-lg", children: [jsx(Heading, { headingType: "h4", title: 'Курс обмена валют в ' + officeName, className: "whitespace-pre-wrap text-h4" }), jsx("div", { className: "pl-6xl", children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: actuality }) })] }), jsx("div", { className: "flex flex-row pt-m text-left", children: fourRates.length > 0 ? (jsxs("table", { className: style('h-fit w-fit', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), renderTableHeader('Купить'), renderTableHeader('Продать'), renderTableHeader('Лучшая покупка'), renderTableHeader('Лучшая продажа')] }) }), jsx("tbody", { children: fourRates.map((item) => renderCurrencyRow$1(item)) })] })) : null })] }));
3213
- });
3214
- const topNRates = (rates, n) => rates.sort((a, b) => Number(a.id) - Number(b.id)).slice(0, n);
3215
-
3216
3174
  var Currency;
3217
3175
  (function (Currency) {
3218
3176
  Currency["RUB"] = "RUB";
@@ -3517,11 +3475,11 @@
3517
3475
  const link = useLink({ isRemote: true });
3518
3476
  return (jsx("div", { className: style('flex items-start justify-between', className), children: topItems?.map(link).map(renderColumn) }));
3519
3477
  });
3478
+ const FOOTER_AREA_KEY = 'footer';
3520
3479
  const renderColumn = (menuItem, index) => {
3521
- const { text, items, href, target, onClick } = menuItem;
3522
- 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
3523
- ?.filter((_) => !_.displayArea || _.displayArea === 'Footer')
3524
- .map((_, i) => (jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
3480
+ const { text, items = [], href, target, onClick } = menuItem;
3481
+ const visibleSubItems = items.filter((_) => !_.displayArea || _.displayArea.toLowerCase() === FOOTER_AREA_KEY);
3482
+ 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)));
3525
3483
  };
3526
3484
  const ColumnItem = JSX(({ text, index, basePath, ...rest }) => {
3527
3485
  const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
@@ -3889,10 +3847,11 @@
3889
3847
  };
3890
3848
  const InternetBankButton = JSX(({ version, internetBankUrl }) => internetBankUrl ? (jsx(Button, { href: internetBankUrl, ariaLabel: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A", target: "_blank", className: style('py-s ml-s text-l font-light whitespace-nowrap hover:text-primary-main', BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default']), children: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A" })) : null);
3891
3849
 
3850
+ const HEADER_AREA_KEY = 'header';
3892
3851
  const HeaderSubMenu = JSX(({ subItems = [], version, internetBankUrl }) => {
3893
3852
  const iconVersion = version === 'transparent' ? 'white' : 'black';
3894
3853
  const router = useRouter();
3895
- const visibleSubItems = useMemo(() => subItems.filter((item) => !item.displayArea || item.displayArea === 'Header'), [subItems]);
3854
+ const visibleSubItems = useMemo(() => subItems.filter((item) => !item.displayArea || item.displayArea.toLowerCase() === HEADER_AREA_KEY), [subItems]);
3896
3855
  const activeSubItem = findActiveSubItem(router)(subItems);
3897
3856
  const [visibleItemsCount, setVisibleItemsCount] = useState(visibleSubItems.length);
3898
3857
  const dropDownMenuItems = visibleSubItems.slice(visibleItemsCount);
@@ -4110,11 +4069,10 @@
4110
4069
  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" }));
4111
4070
  };
4112
4071
 
4113
- const buttonsConditionStyle = (buttons) => renderButtonsSection(buttons, { isVertical: false });
4114
-
4115
4072
  const MobileAppTile = JSX(({ className, padding, align = 'text-left', buttons = [], description, headingType = 'h4', image, items, listItemSize, qr, title = 'Мобильное приложение', version = 'primary', ...rest }) => {
4116
4073
  const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
4117
- 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] })] }) }));
4074
+ const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
4075
+ 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] })] }) }));
4118
4076
  });
4119
4077
 
4120
4078
  const badgeBgStyleMap = {
@@ -4125,7 +4083,7 @@
4125
4083
  primary: 'text-white',
4126
4084
  secondary: 'text-secondary-text',
4127
4085
  };
4128
- const Badge = JSX(({ count, version = 'secondary' }) => {
4086
+ const Badge$1 = JSX(({ count, version = 'secondary' }) => {
4129
4087
  return (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyleMap[version]), children: jsx(Text, { size: "text-xs", color: badgeTextColorStyleMap[version], children: count }) }));
4130
4088
  });
4131
4089
 
@@ -4150,7 +4108,7 @@
4150
4108
  const activeItemIndex = useMemo(() => Math.max(0, hotFilters.findIndex((_) => hotFilterRecordCmp(_.filter, filtrationState))), [hotFilters, filtrationState]);
4151
4109
  const items = useMemo(() => hotFilters.map((_) => ({
4152
4110
  text: _.text,
4153
- appendRight: (jsx(Badge, { version: _ === hotFilters[activeItemIndex] ? 'primary' : 'secondary', count: getBadgeCount(blocks, _.filter) })),
4111
+ appendRight: (jsx(Badge$1, { version: _ === hotFilters[activeItemIndex] ? 'primary' : 'secondary', count: getBadgeCount(blocks, _.filter) })),
4154
4112
  })), [hotFilters, blocks, activeItemIndex]);
4155
4113
  const handleChange = useCallback((_) => {
4156
4114
  onFiltrationStateChange(hotFilters[items.indexOf(_)].filter);
@@ -4226,36 +4184,29 @@
4226
4184
  blocks: rest.block?.blocks,
4227
4185
  onFiltrationStateChange: handleFiltrationStateChange,
4228
4186
  });
4229
- return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [jsx(TabsControl, { ...tabsControlProps }), renderFiltrationForm({ field, reset, filtrationSchema, resetButton }), jsx(BaseFiltrationInner, { blocksToRender: blocksToRender, ...rest })] }));
4187
+ return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [jsx(TabsControl, { ...tabsControlProps }), renderFiltrationForm$1({ field, reset, filtrationSchema, resetButton }), jsx(BaseFiltrationInner, { blocksToRender: blocksToRender, ...rest })] }));
4230
4188
  });
4231
4189
  MortgageFiltration.childrenTypes = ['ProductTile'];
4232
4190
  MortgageFiltration.childSchema = (content) => content?.filtrationSchema || {};
4233
4191
 
4234
- const mockPoints = [
4235
- { coords: [55.77, 37.46], text: 'Трактир' },
4236
- { coords: [55.66, 37.48], text: 'Трактор' },
4237
- { coords: [55.65, 37.42], text: 'Ресторан' },
4238
- { coords: [55.64, 37.54], text: 'Музей' },
4239
- { coords: [55.54, 37.52], text: 'Библиотека' },
4240
- { coords: [55.53, 37.56], text: 'Школа' },
4241
- { coords: [55.61, 37.61], text: 'Аптека' },
4242
- { coords: [55.8, 37.58], text: 'Бар' },
4243
- { coords: [55.71, 37.35], text: 'Институт' },
4244
- { coords: [55.74, 37.57], text: 'Университет' },
4245
- { coords: [55.58, 37.69], text: 'Больница' },
4246
- { coords: [55.57, 37.7], text: 'Цирк' },
4247
- { coords: [55.55, 37.64], text: 'Магазин' },
4248
- { coords: [55.5, 37.75], text: 'Булочная' },
4249
- { coords: [55.81, 37.73], text: 'Полиция' },
4250
- { coords: [55.73, 37.68], text: 'Салон красоты' },
4251
- { coords: [55.86, 37.76], text: 'Баня' },
4252
- { coords: [55.38, 37.69], text: 'Гараж' },
4253
- { coords: [55.91, 37.5], text: 'Дом' },
4254
- { coords: [55.62, 37.32], text: 'Прачечная' },
4255
- { coords: [55.85, 37.41], text: 'Стадион' },
4256
- { coords: [55.67, 37.24], text: 'Вокзал' },
4257
- { coords: [55.79, 37.41], text: 'Кафе' },
4258
- ];
4192
+ const styles$2 = {
4193
+ focus: 'focus:border-primary-text focus:border',
4194
+ hover: 'hover:bg-primary-hover',
4195
+ active: 'active:bg-primary-active',
4196
+ border: 'border-b border-b-2 border-gray last:border-0',
4197
+ position: 'relative flex items-center justify-center',
4198
+ font: 'text-center font-sans text-l',
4199
+ };
4200
+ // TODO: Добавить метод определения центральной точки
4201
+ const ZoomButton = JSX(({ yandexMaps, direction = 'in' }) => {
4202
+ const iconName = direction === 'in' ? 'PlusIcon' : 'MinusIcon';
4203
+ const changeZoom = () => {
4204
+ const currentZoom = yandexMaps.current.getZoom();
4205
+ const newZoom = direction === 'in' ? currentZoom + 1 : currentZoom - 1;
4206
+ yandexMaps.current.setZoom(newZoom, { checkZoomRange: true });
4207
+ };
4208
+ return (jsx("div", { onClick: changeZoom, className: `${Object.values(styles$2).join(' ')} bg-white select-none cursor-pointer w-12 h-12`, children: jsx(Icon, { name: iconName, width: "20", height: "16" }) }));
4209
+ });
4259
4210
 
4260
4211
  function renderClusterer(yandexMaps, map, points) {
4261
4212
  map.geoObjects.removeAll();
@@ -4263,7 +4214,7 @@
4263
4214
  const clusterer = new yandexMaps.Clusterer({
4264
4215
  clusterIcons: [
4265
4216
  {
4266
- href: 'icons/MapMarkerClusterIcon.svg',
4217
+ href: '/icons/MapMarkerClusterIcon.svg',
4267
4218
  size: [78, 84],
4268
4219
  offset: [-35, -50],
4269
4220
  },
@@ -4274,7 +4225,7 @@
4274
4225
  });
4275
4226
  const geoObjects = points.map((point) => new yandexMaps.Placemark(point, {}, {
4276
4227
  iconLayout: 'default#image',
4277
- iconImageHref: 'icons/MapMarkerSingleIcon.svg',
4228
+ iconImageHref: '/icons/MapMarkerSingleIcon.svg',
4278
4229
  iconImageSize: [78, 84],
4279
4230
  iconImageOffset: [-35, -50],
4280
4231
  }));
@@ -4289,7 +4240,7 @@
4289
4240
  });
4290
4241
  }
4291
4242
 
4292
- const styles$3 = {
4243
+ const styles$1 = {
4293
4244
  focus: 'focus:border-primary-text focus:border',
4294
4245
  hover: 'hover:bg-primary-hover',
4295
4246
  active: 'active:bg-primary-active',
@@ -4301,36 +4252,10 @@
4301
4252
  const getYandexMapUrl = () => {
4302
4253
  return `https://yandex.ru/maps/?ll=${[pointsCenter[1], pointsCenter[0]]}&z=10&l=map`;
4303
4254
  };
4304
- return (jsx("a", { className: `select-none cursor-pointer px-4xl h-12 bg-primary-main text-white ${Object.values(styles$3).join(' ')}`, href: getYandexMapUrl(), target: "_blank", children: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" }));
4305
- };
4306
-
4307
- const styles$2 = {
4308
- border: 'border border-transparent rounded-md',
4309
- position: 'relative flex items-center',
4310
- font: 'text-center font-sans',
4311
- shadow: 'shadow-[0_4px_25px_rgba(0,0,0,0.07)]',
4312
- };
4313
- const renderSearchField = (points, yandexMaps, updatePointsToRender) => {
4314
- const onChange = (e) => {
4315
- const value = e.target?.value ? e.target?.value.toLowerCase() : '';
4316
- if (value) {
4317
- const searchResult = points.filter((_) => {
4318
- const textLowerCase = _.text.toLowerCase();
4319
- if (textLowerCase.indexOf(value) > -1) {
4320
- return _;
4321
- }
4322
- return null;
4323
- });
4324
- updatePointsToRender(searchResult);
4325
- }
4326
- else {
4327
- updatePointsToRender(null);
4328
- }
4329
- };
4330
- return (jsxs("div", { className: `${Object.values(styles$2).join(' ')} bg-white py-s pl-5xl pr-m w-full`, children: [jsx(Icon, { name: "LoupeIcon", iconVersion: "black", width: "20", height: "20", className: "absolute left-4" }), jsx("input", { type: "text", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438\u043B\u0438 \u043C\u0435\u0442\u0440\u043E", onChange: onChange, className: "border-0 focus:border-0 outline-0 w-full" })] }));
4255
+ return (jsx("a", { className: `select-none cursor-pointer px-4xl h-12 bg-primary-main text-white ${Object.values(styles$1).join(' ')}`, href: getYandexMapUrl(), target: "_blank", children: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" }));
4331
4256
  };
4332
4257
 
4333
- const styles$1 = {
4258
+ const styles = {
4334
4259
  focus: 'focus:border-primary-text focus:border',
4335
4260
  hover: 'hover:bg-primary-hover',
4336
4261
  active: 'active:bg-primary-active',
@@ -4352,7 +4277,7 @@
4352
4277
  map.geoObjects.add(result.geoObjects);
4353
4278
  });
4354
4279
  };
4355
- return (jsx("div", { className: `select-none cursor-pointer py-m w-12 bg-white ${Object.values(styles$1).join(' ')} ${className}`, onClick: setUserGeoLocation, children: jsx(Icon, { name: "UserGeoLocationIcon", width: "20", height: "16" }) }));
4280
+ return (jsx("div", { className: `select-none cursor-pointer py-m w-12 bg-white ${Object.values(styles).join(' ')} ${className}`, onClick: setUserGeoLocation, children: jsx(Icon, { name: "UserGeoLocationIcon", width: "20", height: "16" }) }));
4356
4281
  };
4357
4282
 
4358
4283
  const YMAPS_NAMESPACE = 'ymaps';
@@ -4361,25 +4286,6 @@
4361
4286
  return useExternalNS(YMAPS_NAMESPACE, url);
4362
4287
  };
4363
4288
 
4364
- const styles = {
4365
- focus: 'focus:border-primary-text focus:border',
4366
- hover: 'hover:bg-primary-hover',
4367
- active: 'active:bg-primary-active',
4368
- border: 'border-b border-b-2 border-gray last:border-0',
4369
- position: 'relative flex items-center justify-center',
4370
- font: 'text-center font-sans text-l',
4371
- };
4372
- // TODO: Добавить метод определения центральной точки
4373
- const ZoomButton = JSX(({ yandexMaps, direction = 'in' }) => {
4374
- const iconName = direction === 'in' ? 'PlusIcon' : 'MinusIcon';
4375
- const changeZoom = () => {
4376
- const currentZoom = yandexMaps.current.getZoom();
4377
- const newZoom = direction === 'in' ? currentZoom + 1 : currentZoom - 1;
4378
- yandexMaps.current.setZoom(newZoom, { checkZoomRange: true });
4379
- };
4380
- return (jsx("div", { onClick: changeZoom, className: `${Object.values(styles).join(' ')} bg-white select-none cursor-pointer w-12 h-12`, children: jsx(Icon, { name: iconName, width: "20", height: "16" }) }));
4381
- });
4382
-
4383
4289
  const FULLSCREEN_STYLES = {
4384
4290
  border: 'border border-transparent rounded-md ',
4385
4291
  position: 'absolute flex items-center justify-center',
@@ -4390,15 +4296,16 @@
4390
4296
  hover: 'hover:bg-primary-hover',
4391
4297
  other: 'select-none cursor-pointer',
4392
4298
  };
4299
+ const DEFAULT_CENTER_COORDS = [55.753995, 37.614069];
4393
4300
  // TODO: Поле для поиска: невыяснено среди каких данных делать поиск (искать в имени офиса, в адресе, метро и т.д.).
4394
4301
  // Сейчас реализован поиск среди тестовых данных
4395
4302
  // TODO: Также выяснить что делать когда ничего не найдено
4396
4303
  // TODO: На макетах также когда есть поле поиска нет кнопки открыть на карте.
4397
- const YandexMap = JSX(({ points, className = '', zoom = 5, showSearchField = false }) => {
4304
+ const YandexMap = JSX(({ points, className = '', zoom = 5 }) => {
4398
4305
  const map = useRef(null);
4399
4306
  const yandexMaps = useYandexMaps();
4400
4307
  const [isFullScreen, setIsFullScreen] = useState();
4401
- const pointsCenter = points ? getCenterPoint(points) : [55.753995, 37.614069];
4308
+ const pointsCenter = points ? getCenterPoint(points) : DEFAULT_CENTER_COORDS;
4402
4309
  useEffect(() => {
4403
4310
  if (!map?.current) {
4404
4311
  yandexMaps?.ready(() => {
@@ -4411,13 +4318,13 @@
4411
4318
  renderClusterer(yandexMaps, map.current, points);
4412
4319
  });
4413
4320
  }
4414
- }, [yandexMaps, map, points]);
4415
- useEffect(() => {
4416
- if (map.current && points?.length && yandexMaps) {
4417
- const newPoints = points.length < 1 ? normalizePoints(mockPoints) : points;
4418
- renderClusterer(yandexMaps, map.current, newPoints);
4321
+ if (map.current && yandexMaps) {
4322
+ renderClusterer(yandexMaps, map.current, points);
4323
+ if (!points?.length) {
4324
+ map.current.setCenter(DEFAULT_CENTER_COORDS);
4325
+ }
4419
4326
  }
4420
- }, [map, points, yandexMaps]);
4327
+ }, [yandexMaps, map, points]);
4421
4328
  if (!yandexMaps) {
4422
4329
  return null;
4423
4330
  }
@@ -4432,164 +4339,165 @@
4432
4339
  setIsFullScreen(container.isFullscreen());
4433
4340
  };
4434
4341
  const zIndex = isFullScreen ? 'z-[100000]' : 'z-10';
4435
- const updatePointsToRender = (newPoints) => {
4436
- if (newPoints) {
4437
- const normalizedPoints = normalizePoints(newPoints);
4438
- setPointsToRender(normalizedPoints);
4439
- }
4440
- };
4441
- return (jsxs("div", { id: "map", className: `${isFullScreen ? '' : 'relative'} w-full ${className}`, children: [jsx("div", { className: `absolute flex left-2 top-4 w-1/2 ${zIndex}`, children: showSearchField
4442
- ? renderSearchField(mockPoints, yandexMaps, updatePointsToRender)
4443
- : renderOpenMap(pointsCenter) }), jsx("div", { className: `${Object.values(FULLSCREEN_STYLES).join(' ')} ${zIndex} right-2 top-4 bg-white`, onClick: toggleFullscreen, children: jsx(Icon, { name: "FullScreenIcon", width: "16", height: "16" }) }), jsxs("div", { className: `absolute right-2 top-52 z-10 w-12 overflow-hidden border border-transparent rounded-md ${zIndex}`, children: [jsx(ZoomButton, { yandexMaps: map }), jsx(ZoomButton, { yandexMaps: map, direction: "out" })] }), renderUserGeolocation(map.current, yandexMaps, `right-2 top-80 ${zIndex}`)] }));
4342
+ return (jsxs("div", { id: "map", className: style(!isFullScreen && 'relative', 'w-full', className), children: [jsx("div", { className: style('absolute flex left-2 top-4 w-1/2', zIndex), children: renderOpenMap(pointsCenter) }), jsx("div", { className: style(Object.values(FULLSCREEN_STYLES), zIndex, 'right-2 top-4 bg-white'), onClick: toggleFullscreen, children: jsx(Icon, { name: "FullScreenIcon", width: "16", height: "16" }) }), jsxs("div", { className: style('absolute right-2 top-52 z-10 w-12 overflow-hidden border border-transparent rounded-md', zIndex), children: [jsx(ZoomButton, { yandexMaps: map }), jsx(ZoomButton, { yandexMaps: map, direction: "out" })] }), renderUserGeolocation(map.current, yandexMaps, style('right-2 top-80', zIndex))] }));
4444
4343
  });
4445
4344
  const getCenterPoint = (points) => [
4446
4345
  getArraySumAndAverage(mapByIndex(points, 0)),
4447
4346
  getArraySumAndAverage(mapByIndex(points, 1)),
4448
4347
  ];
4449
4348
  const mapByIndex = (arr, index) => arr.map((a) => a[index]);
4450
- const getArraySumAndAverage = (arr) => arr.reduce((a, b) => a + b) / arr.length;
4451
- const normalizePoints = (points) => (points ? points.map((_) => _.coords) : null);
4452
-
4453
- const OFFICE_MAP = {
4454
- id: 123,
4455
- branchType: {
4456
- id: 7,
4457
- code: '21',
4458
- name: 'Отделение на балансе филиала',
4459
- },
4460
- shortName: 'Ейский ДО',
4461
- name: 'ДО №3349/3/05',
4462
- address: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
4463
- lawAddress: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
4464
- openDate: '2000-12-05',
4465
- closeDate: null,
4466
- bik: '040349536',
4467
- corAcc: '30101810700000000536',
4468
- registrationNumber: '3349/3/05',
4469
- phone: '+7(XXX)XXX-XX-XX',
4470
- fax: '+7(XXX)XXX-XX-XY',
4471
- okpo: '55105921',
4472
- ogrn: '1027700342890',
4473
- kpp: '231002002',
4474
- inn: '7725114488',
4475
- branchCode: '0305',
4476
- upperBranchCode: '0300',
4477
- timeZone: '+03:00',
4478
- exchangeRate: {
4479
- currencies: [
4480
- {
4481
- buyExchangeRate: 0.0,
4482
- saleExchangeRate: 0.0,
4483
- currency: {
4484
- id: 3,
4485
- code: '156',
4486
- currency: 'CNY',
4487
- name: 'Китайский юань',
4488
- },
4489
- },
4490
- {
4491
- buyExchangeRate: 59.15,
4492
- saleExchangeRate: 69.25,
4493
- currency: {
4494
- id: 2,
4495
- code: '978',
4496
- currency: 'EUR',
4497
- name: 'Евро',
4498
- },
4499
- },
4500
- {
4501
- buyExchangeRate: 58.4,
4502
- saleExchangeRate: 70.05,
4503
- currency: {
4504
- id: 1,
4505
- code: '840',
4506
- currency: 'USD',
4507
- name: 'Американский доллар',
4508
- },
4509
- },
4510
- ],
4511
- lastUpdate: '2022-11-11 03:56:17',
4512
- },
4513
- workSchedule: {
4514
- id: 413,
4515
- workTime: '09.00–16.30',
4516
- lunchHour: 'без перерыва',
4517
- workTimeSaturday: '09.00–15.00',
4518
- lunchHourSaturday: 'без перерыва',
4519
- workingMonday: false,
4520
- workingTuesday: false,
4521
- workingWednesday: true,
4522
- workingThursday: true,
4523
- workingFriday: true,
4524
- workingSaturday: true,
4525
- workingSunday: false,
4526
- },
4527
- gpsLatitude: 46.709744,
4528
- gpsLongitude: 38.260703,
4529
- range: null,
4530
- safeBoxCaseVolumes: null,
4349
+ const getArraySumAndAverage = (arr) => arr.length && arr.reduce((a, b) => a + b) / arr.length;
4350
+
4351
+ const colorStyle = {
4352
+ yellow: { border: 'border-yellow-light', text: 'text-yellow' },
4353
+ green: { border: 'border-green-light', text: 'text-green-dark' },
4354
+ gray: { border: 'border-gray', text: 'text-secondary-text' },
4355
+ red: { border: 'border-error', text: 'text-error' },
4531
4356
  };
4357
+ const Badge = JSX(({ className, children, color = 'gray' }) => (jsx("div", { className: style('p-s border border-gray rounded-md flex items-center', colorStyle[color].border, className), children: jsx(Text, { size: "text-m", color: colorStyle[color].text, children: children }) })));
4532
4358
 
4533
- // Добавлено для проверки
4534
- const nearbyOffices = [
4535
- { title: 'Деловой центр', time: '1 мин', distance: '~30 м.', icon: 'MetroIcon' },
4536
- { title: 'Выставочная', time: '5 мин', distance: '~120 м.', icon: 'MetroIcon' },
4537
- { title: 'Деловой центр', time: '8 мин', distance: '~350 м.', icon: 'MetroIcon' },
4538
- ];
4359
+ const CardCell = JSX(({ className, label, value, subText, subColor }) => {
4360
+ const textItems = value?.split(',') ?? [];
4361
+ if (!textItems.length && !subText) {
4362
+ return null;
4363
+ }
4364
+ return (jsxs("div", { className: style('flex gap-2xs flex-col h-full max-w-[300px]', className), children: [label ? (jsx(Text, { color: "text-secondary-text", font: "font-light", size: "text-m", children: label })) : null, textItems.filter(Boolean).map((text, i) => (jsx(Text, { size: "text-l", children: text.trim() }, String(i)))), subText ? (jsx(Text, { color: subColor, size: "text-m", children: subText })) : null] }));
4365
+ });
4539
4366
 
4540
- const renderCurrentDaySchedule = ({ lunchHour, status, workTime }) => {
4541
- const hasTime = /\d+/gi.test(lunchHour);
4542
- const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
4543
- return status ? (jsxs("div", { className: "flex gap-m", children: [jsx("div", { className: "p-s border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light", children: workTime ? workTime : null }), jsx("div", { className: "p-s border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden", children: lunchHour ? lunchHourText : null })] })) : (jsx("div", { className: "flex", children: jsx("div", { className: "p-s border rounded-md text-m flex items-center cursor-pointer text-error border-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }) }));
4544
- };
4545
- const renderNearbyOffice = ({ icon, title, distance, time }, index) => (jsxs("div", { className: "flex mr-m", children: [jsx(Icon, { name: icon, width: "16", height: "16", className: "mr-xs" }), title ? jsxs(Text, { size: "text-m", children: [title, "\u00A0"] }) : null, jsxs(Text, { size: "text-m", font: "font-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
4546
- const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => (jsxs("div", { className: "flex flex-col gap-2xs pb-s border-b border-solid border-main-divider mb-s last:border-0", children: [jsxs("div", { className: "flex justify-between items-center w-full text-l text-primary-text", children: [jsx("div", { children: title }), status ? null : jsx("div", { className: "text-m font-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? jsx("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? (jsx("div", { className: "text-s font-light text-secondary-text", children: description })) : null] }, `day${inx}`));
4547
- const renderLunchHour = (lunchHour) => {
4548
- const hasTime = /\d+/gi.test(lunchHour);
4549
- return hasTime ? (jsxs("div", { className: "flex justify-between items-center w-full text-m font-light text-error", children: [jsx("div", { children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }), jsx("div", { children: lunchHour })] })) : (jsx("div", { className: "flex justify-between items-center w-full", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-main", children: lunchHour }) }));
4550
- };
4551
-
4552
- const OfficeMap = JSX(({ className = '' }) => {
4553
- // TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
4554
- // TODO: useOfficeMap has return MOCK OBJECT!
4555
- // TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
4556
- const resultOfficeMap = OFFICE_MAP;
4557
- const { name, address, gpsLatitude, gpsLongitude, workSchedule } = resultOfficeMap;
4558
- const { workingMonday, workingTuesday, workingWednesday, workingThursday, workingFriday, workingSaturday, workingSunday, } = workSchedule;
4559
- const { workTime, lunchHour, workTimeSaturday, lunchHourSaturday } = workSchedule;
4560
- const point = gpsLatitude && gpsLongitude ? [gpsLatitude, gpsLongitude] : null;
4561
- const workScheduleWeek = [
4562
- { title: 'Понедельник', status: workingMonday, workTime, lunchHour },
4563
- { title: 'Вторник', status: workingTuesday, workTime, lunchHour },
4564
- { title: 'Среда', status: workingWednesday, workTime, lunchHour },
4367
+ const CardRow = JSX(({ className, children }) => (jsx("div", { className: style('flex border-t border-solid border-main-divider py-xl gap-x-6xl gap-y-xl', className), children: children })));
4368
+
4369
+ const renderAtmCard = ({ location, address, billAcceptorType, terminalType, billAcceptorEnable, atmCode = '', atmAccess = '', workTime, }, index) => {
4370
+ const additionalInfo = [
4371
+ {
4372
+ label: 'Устройство',
4373
+ value: capitalizedFirstLetter(terminalType),
4374
+ },
4375
+ { label: 'Модуль приема наличных', value: billAcceptorEnable ? 'Да' : 'Нет' },
4565
4376
  {
4566
- title: 'Четверг',
4567
- status: workingThursday,
4568
- workTime,
4569
- lunchHour: '13:00 - 14:00',
4570
- description: 'Не работает прием денег с 17:00 до 19:00', // Добавлено для проверки
4377
+ label: 'Прием наличных пачкой',
4378
+ value: billAcceptorType === 'банкомат принимает пачками' ? 'Да' : 'Нет',
4571
4379
  },
4572
- { title: 'Пятница', status: workingFriday, workTime, lunchHour },
4573
4380
  {
4574
- title: 'Суббота',
4575
- status: workingSaturday,
4576
- workTime: workTimeSaturday,
4577
- lunchHour: lunchHourSaturday,
4381
+ label: 'Доступность',
4382
+ value: ['внешняя установка', 'территория банка'].includes(atmAccess) ? 'Общедоступный' : '',
4578
4383
  },
4579
- { title: 'Воскресенье', status: workingSunday },
4384
+ { label: 'Регистрационный номер', value: atmCode },
4580
4385
  ];
4581
- const currentWeekDayInd = new Date().getDay();
4582
- const currentWeekDay = currentWeekDayInd > 0 ? workScheduleWeek[currentWeekDayInd - 1] : workScheduleWeek[6];
4583
- return (jsxs("div", { className: `flex flex-col font-sans w-full ${className}`, children: [jsxs("div", { className: "flex flex-col gap-m p-6xl pb-3xl", children: [jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), jsxs("div", { className: "flex text-l font-light", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "pr-2xs" }), address] }), jsx("div", { className: "flex", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? jsx(YandexMap, { points: [point], className: "h-full" }) : null }), jsx("div", { className: "w-[434px] min-w-[434px] p-6xl pt-0 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
4386
+ return (jsxs("div", { className: "bg-white col-span-12 p-3xl border-green border", children: [jsxs("div", { className: "flex justify-between", children: [jsx(Text, { size: "text-h4", children: capitalizedFirstLetter(location) }), jsx(Badge, { color: "green", children: capitalizedFirstLetter(workTime) })] }), 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(CardRow, { className: "flex-wrap", children: additionalInfo?.map(renderInfo) })] }, String(index)));
4387
+ };
4388
+ const renderInfo = (item, index) => (jsx(CardCell, { ...item }, String(index)));
4389
+ const capitalizedFirstLetter = (text) => text ? `${text?.charAt(0)?.toUpperCase()}${text?.slice(1)}` : '';
4390
+
4391
+ const WEEKDAY_MAP = [
4392
+ ['Понедельник', 'workingMonday'],
4393
+ ['Вторник', 'workingTuesday'],
4394
+ ['Среда', 'workingWednesday'],
4395
+ ['Четверг', 'workingThursday'],
4396
+ ['Пятница', 'workingFriday'],
4397
+ ['Суббота', 'workingSaturday'],
4398
+ ['Воскресенье', 'workingSunday'],
4399
+ ];
4400
+ const currentWeekDayIdx = new Date().getDay();
4401
+ const renderOfficeCard = ({ name, address, phone, fax, phoneBusiness, phoneNatural, phoneCallCentre, phoneCurrencyControl, workSchedule, exchangeRate, }, index) => {
4402
+ const workScheduleWeek = workSchedule ? getWorkScheduleWeek(workSchedule) : null;
4403
+ const [currentWeekDay] = workScheduleWeek?.slice(currentWeekDayIdx - 1) ?? [];
4404
+ return (jsxs("div", { className: "bg-white col-span-12 p-3xl border-green border", children: [jsxs("div", { className: "flex justify-between", children: [jsx(Text, { size: "text-h4", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), 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, jsxs(CardRow, { className: "flex-wrap", children: [jsx(CardCell, { label: "\u0424\u0430\u043A\u0441", value: fax }), jsx(CardCell, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D \u0444\u0438\u043B\u0438\u0430\u043B\u0430", value: phone }), jsx(CardCell, { label: "\u0414\u043B\u044F \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0439 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", value: phoneBusiness }), jsx(CardCell, { label: "\u041E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", value: phoneNatural }), jsx(CardCell, { label: "\u0414\u043B\u044F \u043A\u043E\u043D\u0441\u0443\u043B\u044C\u0442\u0430\u0446\u0438\u0439 \u043F\u043E \u0432\u0430\u043B\u044E\u0442\u043D\u043E\u043C\u0443 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044E", value: phoneCurrencyControl }), jsx(CardCell, { label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442-\u0446\u0435\u043D\u0442\u0440", value: phoneCallCentre })] }), workScheduleWeek?.length ? jsx(CardRow, { children: workScheduleWeek?.map(renderDay) }) : null, exchangeRate?.currencies?.length ? (jsx(CardRow, { className: "flex-wrap", children: exchangeRate?.currencies?.map(renderCurrency) })) : null] }, String(index)));
4405
+ };
4406
+ const getWorkScheduleWeek = (workSchedule) => WEEKDAY_MAP.map(([title, key]) => {
4407
+ const dayOff = ['workingSaturday', 'workingSunday'].includes(key);
4408
+ return {
4409
+ title,
4410
+ status: Boolean(workSchedule?.[key]),
4411
+ workTime: dayOff ? workSchedule?.workTimeSaturday : workSchedule?.workTime,
4412
+ lunchHour: dayOff ? workSchedule?.lunchHourSaturday : workSchedule?.lunchHour,
4413
+ get hasLunch() {
4414
+ return /\d+/.test(this.lunchHour ?? '');
4415
+ },
4416
+ };
4584
4417
  });
4418
+ const renderCurrency = ({ currency, buyExchangeRate, saleExchangeRate }, i) => (jsxs("div", { className: "flex gap-lg h-full", children: [currency?.currency ? jsx(CardCell, { label: "\u0412\u0430\u043B\u044E\u0442\u0430", value: currency.currency }) : null, buyExchangeRate ? jsx(CardCell, { label: "\u041A\u0443\u043F\u0438\u0442\u044C", value: String(buyExchangeRate) }) : null, saleExchangeRate ? jsx(CardCell, { label: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C", value: String(saleExchangeRate) }) : null] }, String(i)));
4419
+ //TODO: Add logic time https://github.com/redneckz/wildless-cms-uni-blocks/pull/1549
4420
+ const renderCurrentDaySchedule = (workScheduleWeek) => {
4421
+ if (!workScheduleWeek) {
4422
+ return null;
4423
+ }
4424
+ const { lunchHour, status, workTime, hasLunch } = workScheduleWeek;
4425
+ return status ? (jsxs("div", { className: "flex gap-s", children: [workTime ? jsx(Badge, { color: "green", children: workTime }) : null, lunchHour && hasLunch ? jsx(Badge, { color: "yellow", children: lunchHour }) : null] })) : (jsx(Badge, { color: "red", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }));
4426
+ };
4427
+ const renderDay = ({ title, status, workTime, lunchHour, hasLunch }, index) => (jsx(CardCell, { label: title, value: status && workTime ? workTime : '', subText: !status ? 'Выходной' : lunchHour, subColor: !status || hasLunch ? 'text-error' : 'text-green-dark' }, String(index)));
4585
4428
 
4586
- const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col gap-lg', className), ...rest, children: [title ? jsx(Heading, { headingType: "h5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none space-y-lg", children: servicesList.map(renderListItems) })) : null] })));
4587
- const renderListItems = (itemList, i) => (jsxs("li", { className: "flex gap-s list-none ", children: [itemList.icon ? (jsx(Img, { className: "min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", image: itemList.icon })) : null, itemList.label ? (jsx(Text, { size: "text-l", font: "font-light", children: itemList.label })) : null] }, `list_item_${String(i)}`));
4429
+ const MAP_URL = {
4430
+ offices: '/api/v1/branches',
4431
+ atms: '/api/v1/atms',
4432
+ };
4433
+ const EMPTY_VALUE$1 = [];
4434
+ function useOfficesAtmsMap(regionCode, type = 'offices') {
4435
+ const { data } = useAsyncData(`${MAP_URL[type]}?regionCode=${regionCode}`, fetchMap);
4436
+ return data || EMPTY_VALUE$1;
4437
+ }
4438
+ const fetchMap = async (url) => {
4439
+ const result = await fetchJSON(url, { method: 'GET' });
4440
+ return result || EMPTY_VALUE$1;
4441
+ };
4442
+
4443
+ const INITIAL_FILTRATION_OFFICES_STATE = {
4444
+ safeBoxCaseVolumes: false,
4445
+ workingSaturday: false,
4446
+ };
4447
+ const INITIAL_FILTRATION_ATMS_STATE = {
4448
+ terminalTypeAtms: true,
4449
+ terminalTypeTerm: false,
4450
+ workAllTime: false,
4451
+ billAcceptorEnable: false,
4452
+ };
4453
+ const FILTRATION_LABELS = {
4454
+ safeBoxCaseVolumes: 'Аренда индивидуальных сейфовых ячеек',
4455
+ workingSaturday: 'Открыты по субботам',
4456
+ terminalTypeAtms: 'Банкоматы',
4457
+ terminalTypeTerm: 'Терминалы',
4458
+ workAllTime: 'Круглосуточно',
4459
+ billAcceptorEnable: 'Прием наличных',
4460
+ };
4461
+ const FILTRATION_BRANCHES_PREDICATES = {
4462
+ safeBoxCaseVolumes: (item) => Boolean(item.safeBoxCaseVolumes),
4463
+ workingSaturday: (item) => Boolean(item.workSchedule?.workingSaturday),
4464
+ };
4465
+ const FILTRATION_ATMS_PREDICATES = {
4466
+ terminalTypeAtms: (item) => item.terminalType?.toLowerCase() === 'банкомат',
4467
+ terminalTypeTerm: (item) => item.terminalType?.toLowerCase() === 'терминал',
4468
+ workAllTime: (item) => item.workTime?.toLowerCase() === 'круглосуточно',
4469
+ billAcceptorEnable: (item) => Boolean(item.billAcceptorEnable),
4470
+ };
4471
+ const OfficesAtmsMap = JSX(({ data, className = '', ...rest }) => {
4472
+ const dataType = data?.dataType ?? 'offices';
4473
+ const initialState = dataType === 'offices' ? INITIAL_FILTRATION_OFFICES_STATE : INITIAL_FILTRATION_ATMS_STATE;
4474
+ const [filtrationState, { field, reset }] = useForm(initialState);
4475
+ const [currentLocation] = useLocation();
4476
+ const [regionCode, title] = useMemo(() => [currentLocation?.code || '000', getTitle(currentLocation?.name, dataType)], [currentLocation, dataType]);
4477
+ const officesAtmsData = useOfficesAtmsMap(regionCode, dataType);
4478
+ const filteredOfficesAtmsData = filterOfficesAtms(officesAtmsData, filtrationState);
4479
+ const lengthOfficesAtms = filteredOfficesAtmsData.length;
4480
+ const points = filteredOfficesAtmsData
4481
+ .map((_) => [_.gpsLatitude, _.gpsLongitude].filter(Boolean))
4482
+ .filter((_) => _ && _.length === 2);
4483
+ return (jsxs(BlockWrapper, { version: "transparent", className: style('grid grid-cols-12 gap-1', className), defaultPadding: "p-0", ...rest, children: [jsxs("div", { className: "col-span-12 bg-white", children: [jsxs("div", { className: "pt-6xl px-6xl", children: [jsxs("div", { className: "flex gap-2 pb-2xl", children: [jsx(Heading, { headingType: "h2", children: title }), lengthOfficesAtms ? (jsx(Text, { size: "text-h2", color: "text-secondary-text", children: `(${lengthOfficesAtms})` })) : null] }), data && 'description' in data ? renderDescriptionBlock$1(data) : null, renderFiltrationForm(Object.keys(initialState), { field, reset })] }), jsx("div", { className: "h-[600px]", children: jsx(YandexMap, { points: points, className: "h-full" }) })] }), filteredOfficesAtmsData.map(dataType === 'offices' ? renderOfficeCard : renderAtmCard)] }));
4484
+ });
4485
+ const filterOfficesAtms = (data, filtrationState) => {
4486
+ const truthyFilters = Object.keys(filtrationState).filter((key) => filtrationState[key]);
4487
+ return 'name' in data
4488
+ ? data.filter(filterOffices(truthyFilters))
4489
+ : data.filter(filterAtms(truthyFilters));
4490
+ };
4491
+ const filterOffices = (filters) => (item) => filters.every((filterName) => FILTRATION_BRANCHES_PREDICATES[filterName](item));
4492
+ const filterAtms = (filters) => (item) => filters.every((filterName) => FILTRATION_ATMS_PREDICATES[filterName](item));
4493
+ const getTitle = (name = '', dataType = 'offices') => dataType === 'offices' ? `Офисы филиала ${name}` : `Банкоматы филиала ${name}`;
4494
+ const renderFiltrationForm = (filters, { field, reset }) => (jsxs("div", { className: "pb-2xl", children: [filters?.length ? (jsx("div", { className: "flex flex-wrap gap-3xl pb-2xl", children: filters.map((key) => (jsx(Checkbox, { text: FILTRATION_LABELS[key], ...field(key) }, key))) })) : null, jsx(Button, { version: "transparent", className: "text-secondary-text [&>*]:p-0", onClick: reset, text: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440", appendRight: jsx(Icon, { name: "CloseIcon", width: "16", height: "16" }) })] }));
4495
+ const renderDescriptionBlock$1 = ({ description, list }) => (jsxs("div", { className: "p-xl mb-2xl border border-gray rounded-md", children: [jsx(Paragraph, { size: "text-l", font: "font-light", children: description }), list?.length ? (jsx("div", { className: "flex gap-2xl flex-wrap pt-xs", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] }));
4588
4496
 
4589
4497
  const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
4590
4498
 
4591
- 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;
4592
- const renderValueBlock = (title, value = 0) => (jsxs("div", { className: "basis-full flex flex-col-reverse sm:flex-row sm:justify-between items-baseline whitespace-pre", children: [jsx(Text, { font: "font-light", size: "text-l", children: title }), jsxs(Text, { size: "text-h6", color: "text-primary-text", children: [toLocalNumberFormat(2)(value), " \u20BD"] })] }));
4499
+ 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;
4500
+ const renderValueBlock = (title, value = 0) => (jsxs("div", { className: "basis-full flex flex-col-reverse sm:flex-row sm:justify-between sm:bg-main-divider sm:py-m sm:px-lg sm:rounded-md items-baseline whitespace-pre", children: [jsx(Text, { font: "font-light", size: "text-l", color: "text-secondary-text", children: title }), jsxs("span", { className: "font-sans text-h6 sm:text-primary-main text-primary-text", children: [toLocalNumberFormat(2)(value), " \u20BD"] })] }));
4593
4501
 
4594
4502
  const PictureText = JSX(({ className, padding, headlineVersion = 'M', align = 'text-center', sum, monthLimit, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-6xl", padding: padding, headlineVersion: headlineVersion, align: align, isFullWidthTitle: false, imageOptions: { directionRight: false, imageAlign: 'center', ...imageOptions }, ...rest, children: renderInsuranceSumMonth(Number(sum), Number(monthLimit)) }) })));
4595
4503
 
@@ -4640,7 +4548,7 @@
4640
4548
  return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('relative px-xl box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
4641
4549
  };
4642
4550
 
4643
- const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isBackground: true, ...imageOptions }, ...rest, children: additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
4551
+ const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-4xl sm:p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isBackground: true, ...imageOptions }, ...rest, children: additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
4644
4552
 
4645
4553
  const PromoTile = JSX(({ className, title = 'Акции и спецпредложения', description, headlineVersion = 'S', date, buttons = [], ...rest }) => (jsx(BlockWrapper, { className: style('box-border', className), ...rest, children: jsxs(BaseTile, { className: "h-full", title: title ? (jsx(Headline, { title: title, headlineVersion: headlineVersion, align: "text-left", isEmbedded: true })) : null, buttons: renderButtonsSection(buttons), children: [date ? jsx("div", { className: "text-s mb-xs", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) })));
4646
4554
  function formatDate(date) {
@@ -5041,7 +4949,7 @@
5041
4949
  }
5042
4950
  const [headerColumn, ...columns] = rowData;
5043
4951
  const columnsStyle = style('flex duration-1000 text-center', rowIdx !== 0 ? 'font-normal' : 'font-light');
5044
- 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: {
4952
+ 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: {
5045
4953
  transform: `translateX(-${getHorizontalShift(columns, activeColumnIndex)}px)`,
5046
4954
  }, 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)));
5047
4955
  };
@@ -5200,8 +5108,7 @@
5200
5108
  LinkDocs,
5201
5109
  MobileAppTile,
5202
5110
  MortgageFiltration,
5203
- OfficeMap,
5204
- OfficeServicesBlock,
5111
+ OfficesAtmsMap,
5205
5112
  ParagraphBlock,
5206
5113
  PictureText,
5207
5114
  Placeholder,
@@ -5222,7 +5129,6 @@
5222
5129
  Tile,
5223
5130
  VerticalLayout,
5224
5131
  Video,
5225
- ExchangeRateOffice,
5226
5132
  };
5227
5133
 
5228
5134
  const debounce = (fn, delay = 600) => {
@@ -5460,7 +5366,7 @@
5460
5366
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
5461
5367
  }
5462
5368
 
5463
- const packageVersion = "0.14.0";
5369
+ const packageVersion = "0.14.2";
5464
5370
 
5465
5371
  exports.Blocks = Blocks;
5466
5372
  exports.ContentPage = ContentPage;