@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
@@ -1,27 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { Img } from '../../ui-kit/Img/Img.js';
3
- import { style } from '../../utils/style.js';
4
- import { Currencies } from './Currencies.js';
5
- const CURRENCY_ICONS_MAP = {
6
- USD: 'DollarIcon',
7
- EUR: 'EuroIcon',
8
- GBP: 'DollarIcon',
9
- AUD: 'DollarIcon',
10
- CNY: 'DollarIcon',
11
- RUB: 'RoundRubleIcon',
12
- };
13
- export const renderCurrencyRow = ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }) => {
14
- 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[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));
15
- };
16
- const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
17
- const renderCurrency = (price, difference) => {
18
- return (_jsxs("td", { className: "pt-m pl-5xl", children: [_jsx("div", { children: formatCurrency(price) }), _jsx("div", { className: style('font-normal text-sm text-secondary-text', (difference || 0) >= 0 ? 'text-green' : 'text-red'), children: formatCurrency(difference) })] }));
19
- };
20
- const renderOffice = (price, officeName = '') => {
21
- return (_jsxs("td", { className: "pt-m pl-5xl", children: [_jsx("div", { children: formatCurrency(price) }), _jsx("div", { className: "font-normal text-sm text-green", children: officeName })] }));
22
- };
23
- const currencyNumberFormat = new Intl.NumberFormat('ru', {
24
- style: 'currency',
25
- currency: Currencies.RUB,
26
- });
27
- //# sourceMappingURL=renderCurrencies.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderCurrencies.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/renderCurrencies.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,kBAAkB,GAA8C;IACpE,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,gBAAgB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CACN,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,KAAc,EAAE,UAAU,GAAG,EAAE,EAAE,EAAE;IACvD,OAAO,CACL,cAAI,SAAS,EAAC,aAAa,aACzB,wBAAM,cAAc,CAAC,KAAK,CAAC,GAAO,EAClC,cAAK,SAAS,EAAC,gCAAgC,YAAE,UAAU,GAAO,IAC/D,CACN,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE;IACvD,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,UAAU,CAAC,GAAG;CACzB,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const renderTableHeader: (title: string) => JSX.Element;
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { Text } from '../../ui-kit/Text/Text.js';
3
- export const renderTableHeader = (title) => {
4
- return (_jsx("th", { className: "pl-5xl", children: _jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: title }) }));
5
- };
6
- //# sourceMappingURL=renderTableHeader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderTableHeader.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/renderTableHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAE,EAAE;IACjD,OAAO,CACL,aAAI,SAAS,EAAC,QAAQ,YACpB,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,qBAAqB,YAChF,KAAK,GACD,GACJ,CACN,CAAC;AACJ,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
3
- export declare const buttonsConditionStyle: (buttons: ButtonProps[]) => JSX.Element | null;
@@ -1,3 +0,0 @@
1
- import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
2
- export const buttonsConditionStyle = (buttons) => renderButtonsSection(buttons, { isVertical: false });
3
- //# sourceMappingURL=buttonsConditionStyle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buttonsConditionStyle.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/buttonsConditionStyle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAGhF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAsB,EAAE,EAAE,CAC9D,oBAAoB,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
2
- export declare const buttonsConditionStyle: (buttons: ButtonProps[]) => JSX.Element | null;
@@ -1,10 +0,0 @@
1
- import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
2
- import { style } from '../../utils/style.js';
3
- export const buttonsConditionStyle = (buttons) => {
4
- const buttonsLengthMoreThanTwo = buttons.length > 2;
5
- return renderButtonsSection(buttons, {
6
- className: style(buttonsLengthMoreThanTwo ? 'w-full' : 'flex-nowrap'),
7
- isVertical: buttonsLengthMoreThanTwo,
8
- });
9
- };
10
- //# sourceMappingURL=buttonsConditionStyle.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buttonsConditionStyle.mobile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/buttonsConditionStyle.mobile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAEhF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAsB,EAAE,EAAE;IAC9D,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;IAEpD,OAAO,oBAAoB,CAAC,OAAO,EAAE;QACnC,SAAS,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC;QACrE,UAAU,EAAE,wBAAwB;KACrC,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { OfficeMapContent } from './OfficeMapContent';
3
- export interface OfficeMapProps extends OfficeMapContent, UniBlockProps {
4
- }
5
- export declare const OfficeMap: import("@redneckz/uni-jsx").UNIComponent<UniBlockProps, any, any>;
@@ -1,41 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { Icon } from '../../ui-kit/Icon/Icon.js';
4
- import { YandexMap } from '../../ui-kit/YandexMap/YandexMap.js';
5
- import { OFFICE_MAP } from './mockOfficeMap.js';
6
- import { nearbyOffices } from './nearbyOffices.js';
7
- import { renderCurrentDaySchedule, renderDay, renderNearbyOffice } from './renderFunctions.js';
8
- export const OfficeMap = JSX(({ className = '' }) => {
9
- // TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
10
- // TODO: useOfficeMap has return MOCK OBJECT!
11
- // TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
12
- const resultOfficeMap = OFFICE_MAP;
13
- const { name, address, gpsLatitude, gpsLongitude, workSchedule } = resultOfficeMap;
14
- const { workingMonday, workingTuesday, workingWednesday, workingThursday, workingFriday, workingSaturday, workingSunday, } = workSchedule;
15
- const { workTime, lunchHour, workTimeSaturday, lunchHourSaturday } = workSchedule;
16
- const point = gpsLatitude && gpsLongitude ? [gpsLatitude, gpsLongitude] : null;
17
- const workScheduleWeek = [
18
- { title: 'Понедельник', status: workingMonday, workTime, lunchHour },
19
- { title: 'Вторник', status: workingTuesday, workTime, lunchHour },
20
- { title: 'Среда', status: workingWednesday, workTime, lunchHour },
21
- {
22
- title: 'Четверг',
23
- status: workingThursday,
24
- workTime,
25
- lunchHour: '13:00 - 14:00',
26
- description: 'Не работает прием денег с 17:00 до 19:00', // Добавлено для проверки
27
- },
28
- { title: 'Пятница', status: workingFriday, workTime, lunchHour },
29
- {
30
- title: 'Суббота',
31
- status: workingSaturday,
32
- workTime: workTimeSaturday,
33
- lunchHour: lunchHourSaturday,
34
- },
35
- { title: 'Воскресенье', status: workingSunday },
36
- ];
37
- const currentWeekDayInd = new Date().getDay();
38
- const currentWeekDay = currentWeekDayInd > 0 ? workScheduleWeek[currentWeekDayInd - 1] : workScheduleWeek[6];
39
- 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) })] })] }));
40
- });
41
- //# sourceMappingURL=OfficeMap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/OfficeMap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC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C9D,gBAAgB,CAAC,GAAG,CAAC,SAAS,CAAC,GAC5B,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,38 +0,0 @@
1
- import type { IconName } from '../../icons/IconName';
2
- import type { UniBlockContent } from '../../model/JSXBlock';
3
- export declare type WorkSchedule = {
4
- workTime: string;
5
- lunchHour: string;
6
- workTimeSaturday: string;
7
- lunchHourSaturday: string;
8
- workingMonday: boolean;
9
- workingTuesday: boolean;
10
- workingWednesday: boolean;
11
- workingThursday: boolean;
12
- workingFriday: boolean;
13
- workingSaturday: boolean;
14
- workingSunday: boolean;
15
- };
16
- export declare type WorkScheduleWeek = {
17
- title?: string;
18
- status?: boolean;
19
- workTime?: string;
20
- lunchHour?: string;
21
- description?: string;
22
- };
23
- export declare type NearbyOffices = {
24
- title?: string;
25
- time?: string;
26
- distance?: string;
27
- icon?: IconName;
28
- };
29
- /**
30
- * @title Карта офиса
31
- */
32
- export declare type OfficeMapContent = UniBlockContent & {
33
- name?: string;
34
- address: string;
35
- workSchedule: WorkSchedule;
36
- gpsLatitude?: number;
37
- gpsLongitude?: number;
38
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=OfficeMapContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OfficeMapContent.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/OfficeMapContent.ts"],"names":[],"mappings":""}
@@ -1,57 +0,0 @@
1
- export declare const OFFICE_MAP: {
2
- id: number;
3
- branchType: {
4
- id: number;
5
- code: string;
6
- name: string;
7
- };
8
- shortName: string;
9
- name: string;
10
- address: string;
11
- lawAddress: string;
12
- openDate: string;
13
- closeDate: null;
14
- bik: string;
15
- corAcc: string;
16
- registrationNumber: string;
17
- phone: string;
18
- fax: string;
19
- okpo: string;
20
- ogrn: string;
21
- kpp: string;
22
- inn: string;
23
- branchCode: string;
24
- upperBranchCode: string;
25
- timeZone: string;
26
- exchangeRate: {
27
- currencies: {
28
- buyExchangeRate: number;
29
- saleExchangeRate: number;
30
- currency: {
31
- id: number;
32
- code: string;
33
- currency: string;
34
- name: string;
35
- };
36
- }[];
37
- lastUpdate: string;
38
- };
39
- workSchedule: {
40
- id: number;
41
- workTime: string;
42
- lunchHour: string;
43
- workTimeSaturday: string;
44
- lunchHourSaturday: string;
45
- workingMonday: boolean;
46
- workingTuesday: boolean;
47
- workingWednesday: boolean;
48
- workingThursday: boolean;
49
- workingFriday: boolean;
50
- workingSaturday: boolean;
51
- workingSunday: boolean;
52
- };
53
- gpsLatitude: number;
54
- gpsLongitude: number;
55
- range: null;
56
- safeBoxCaseVolumes: null;
57
- };
@@ -1,80 +0,0 @@
1
- export const OFFICE_MAP = {
2
- id: 123,
3
- branchType: {
4
- id: 7,
5
- code: '21',
6
- name: 'Отделение на балансе филиала',
7
- },
8
- shortName: 'Ейский ДО',
9
- name: 'ДО №3349/3/05',
10
- address: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
11
- lawAddress: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
12
- openDate: '2000-12-05',
13
- closeDate: null,
14
- bik: '040349536',
15
- corAcc: '30101810700000000536',
16
- registrationNumber: '3349/3/05',
17
- phone: '+7(XXX)XXX-XX-XX',
18
- fax: '+7(XXX)XXX-XX-XY',
19
- okpo: '55105921',
20
- ogrn: '1027700342890',
21
- kpp: '231002002',
22
- inn: '7725114488',
23
- branchCode: '0305',
24
- upperBranchCode: '0300',
25
- timeZone: '+03:00',
26
- exchangeRate: {
27
- currencies: [
28
- {
29
- buyExchangeRate: 0.0,
30
- saleExchangeRate: 0.0,
31
- currency: {
32
- id: 3,
33
- code: '156',
34
- currency: 'CNY',
35
- name: 'Китайский юань',
36
- },
37
- },
38
- {
39
- buyExchangeRate: 59.15,
40
- saleExchangeRate: 69.25,
41
- currency: {
42
- id: 2,
43
- code: '978',
44
- currency: 'EUR',
45
- name: 'Евро',
46
- },
47
- },
48
- {
49
- buyExchangeRate: 58.4,
50
- saleExchangeRate: 70.05,
51
- currency: {
52
- id: 1,
53
- code: '840',
54
- currency: 'USD',
55
- name: 'Американский доллар',
56
- },
57
- },
58
- ],
59
- lastUpdate: '2022-11-11 03:56:17',
60
- },
61
- workSchedule: {
62
- id: 413,
63
- workTime: '09.00–16.30',
64
- lunchHour: 'без перерыва',
65
- workTimeSaturday: '09.00–15.00',
66
- lunchHourSaturday: 'без перерыва',
67
- workingMonday: false,
68
- workingTuesday: false,
69
- workingWednesday: true,
70
- workingThursday: true,
71
- workingFriday: true,
72
- workingSaturday: true,
73
- workingSunday: false,
74
- },
75
- gpsLatitude: 46.709744,
76
- gpsLongitude: 38.260703,
77
- range: null,
78
- safeBoxCaseVolumes: null,
79
- };
80
- //# sourceMappingURL=mockOfficeMap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mockOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/mockOfficeMap.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE,GAAG;IACP,UAAU,EAAE;QACV,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,8BAA8B;KACrC;IACD,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,0EAA0E;IACnF,UAAU,EAAE,0EAA0E;IACtF,QAAQ,EAAE,YAAY;IACtB,SAAS,EAAE,IAAI;IACf,GAAG,EAAE,WAAW;IAChB,MAAM,EAAE,sBAAsB;IAC9B,kBAAkB,EAAE,WAAW;IAC/B,KAAK,EAAE,kBAAkB;IACzB,GAAG,EAAE,kBAAkB;IACvB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,eAAe;IACrB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,YAAY;IACjB,UAAU,EAAE,MAAM;IAClB,eAAe,EAAE,MAAM;IACvB,QAAQ,EAAE,QAAQ;IAClB,YAAY,EAAE;QACZ,UAAU,EAAE;YACV;gBACE,eAAe,EAAE,GAAG;gBACpB,gBAAgB,EAAE,GAAG;gBACrB,QAAQ,EAAE;oBACR,EAAE,EAAE,CAAC;oBACL,IAAI,EAAE,KAAK;oBACX,QAAQ,EAAE,KAAK;oBACf,IAAI,EAAE,gBAAgB;iBACvB;aACF;YACD;gBACE,eAAe,EAAE,KAAK;gBACtB,gBAAgB,EAAE,KAAK;gBACvB,QAAQ,EAAE;oBACR,EAAE,EAAE,CAAC;oBACL,IAAI,EAAE,KAAK;oBACX,QAAQ,EAAE,KAAK;oBACf,IAAI,EAAE,MAAM;iBACb;aACF;YACD;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,KAAK;gBACvB,QAAQ,EAAE;oBACR,EAAE,EAAE,CAAC;oBACL,IAAI,EAAE,KAAK;oBACX,QAAQ,EAAE,KAAK;oBACf,IAAI,EAAE,qBAAqB;iBAC5B;aACF;SACF;QACD,UAAU,EAAE,qBAAqB;KAClC;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,GAAG;QACP,QAAQ,EAAE,aAAa;QACvB,SAAS,EAAE,cAAc;QACzB,gBAAgB,EAAE,aAAa;QAC/B,iBAAiB,EAAE,cAAc;QACjC,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,IAAI;QACtB,eAAe,EAAE,IAAI;QACrB,aAAa,EAAE,IAAI;QACnB,eAAe,EAAE,IAAI;QACrB,aAAa,EAAE,KAAK;KACrB;IACD,WAAW,EAAE,SAAS;IACtB,YAAY,EAAE,SAAS;IACvB,KAAK,EAAE,IAAI;IACX,kBAAkB,EAAE,IAAI;CACzB,CAAC"}
@@ -1,2 +0,0 @@
1
- import { NearbyOffices } from './OfficeMapContent';
2
- export declare const nearbyOffices: NearbyOffices[];
@@ -1,7 +0,0 @@
1
- // Добавлено для проверки
2
- export const nearbyOffices = [
3
- { title: 'Деловой центр', time: '1 мин', distance: '~30 м.', icon: 'MetroIcon' },
4
- { title: 'Выставочная', time: '5 мин', distance: '~120 м.', icon: 'MetroIcon' },
5
- { title: 'Деловой центр', time: '8 мин', distance: '~350 м.', icon: 'MetroIcon' },
6
- ];
7
- //# sourceMappingURL=nearbyOffices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nearbyOffices.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/nearbyOffices.ts"],"names":[],"mappings":"AAEA,yBAAyB;AACzB,MAAM,CAAC,MAAM,aAAa,GAAoB;IAC5C,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE;IAChF,EAAE,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE;IAC/E,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE;CAClF,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
3
- export declare const renderCurrentDaySchedule: ({ lunchHour, status, workTime }: WorkScheduleWeek) => JSX.Element;
4
- export declare const renderNearbyOffice: ({ icon, title, distance, time }: NearbyOffices, index: number) => JSX.Element;
5
- export declare const renderDay: ({ title, status, workTime, lunchHour, description }: WorkScheduleWeek, inx: number) => JSX.Element;
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { Icon } from '../../ui-kit/Icon/Icon.js';
3
- import { Text } from '../../ui-kit/Text/Text.js';
4
- export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }) => {
5
- const hasTime = /\d+/gi.test(lunchHour);
6
- const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
7
- 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" }) }));
8
- };
9
- export 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}`));
10
- export 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}`));
11
- const renderLunchHour = (lunchHour) => {
12
- const hasTime = /\d+/gi.test(lunchHour);
13
- 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 }) }));
14
- };
15
- //# sourceMappingURL=renderFunctions.js.map
@@ -1 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,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,mBAAmB,YAC5D,SAAS,GACL,GACH,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,59 +0,0 @@
1
- export declare function useOfficeMap(regionCode?: string): {
2
- id: number;
3
- branchType: {
4
- id: number;
5
- code: string;
6
- name: string;
7
- };
8
- shortName: string;
9
- name: string;
10
- address: string;
11
- lawAddress: string;
12
- openDate: string;
13
- closeDate: null;
14
- bik: string;
15
- corAcc: string;
16
- registrationNumber: string;
17
- phone: string;
18
- fax: string;
19
- okpo: string;
20
- ogrn: string;
21
- kpp: string;
22
- inn: string;
23
- branchCode: string;
24
- upperBranchCode: string;
25
- timeZone: string;
26
- exchangeRate: {
27
- currencies: {
28
- buyExchangeRate: number;
29
- saleExchangeRate: number;
30
- currency: {
31
- id: number;
32
- code: string;
33
- currency: string;
34
- name: string;
35
- };
36
- }[];
37
- lastUpdate: string;
38
- };
39
- workSchedule: {
40
- id: number;
41
- workTime: string;
42
- lunchHour: string;
43
- workTimeSaturday: string;
44
- lunchHourSaturday: string;
45
- workingMonday: boolean;
46
- workingTuesday: boolean;
47
- workingWednesday: boolean;
48
- workingThursday: boolean;
49
- workingFriday: boolean;
50
- workingSaturday: boolean;
51
- workingSunday: boolean;
52
- };
53
- gpsLatitude: number;
54
- gpsLongitude: number;
55
- range: null;
56
- safeBoxCaseVolumes: null;
57
- } | {
58
- data?: any;
59
- };
@@ -1,17 +0,0 @@
1
- import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
2
- import { fetchJSON } from '../../utils/fetchJSON.js';
3
- import { OFFICE_MAP } from './mockOfficeMap.js';
4
- const OFFICE_MAP_URL = '/api/v1/branches';
5
- // TODO: regionCode - внутренний идентификатор банка. Не соответствует государственной нумерации регионов РФ
6
- // TODO: Список регионов можно получить через api/v1/regions
7
- export function useOfficeMap(regionCode) {
8
- const { data } = useAsyncData(regionCode ? `${OFFICE_MAP_URL}?regionCode=${regionCode}` : undefined, fetchOfficeMap);
9
- return data || OFFICE_MAP;
10
- }
11
- function fetchOfficeMap(url) {
12
- if (!url) {
13
- return {};
14
- }
15
- return fetchJSON(url, { method: 'GET' });
16
- }
17
- //# sourceMappingURL=useOfficeMap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/useOfficeMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAE1C,4GAA4G;AAC5G,4DAA4D;AAC5D,MAAM,UAAU,YAAY,CAAC,UAAmB;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,UAAU,CAAC,CAAC,CAAC,GAAG,cAAc,eAAe,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,EACrE,cAAc,CACf,CAAC;IAEF,OAAO,IAAI,IAAI,UAAU,CAAC;AAC5B,CAAC;AAED,SAAS,cAAc,CAAC,GAAY;IAClC,IAAI,CAAC,GAAG,EAAE;QACR,OAAO,EAAE,CAAC;KACX;IAED,OAAO,SAAS,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;AAC3C,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { OfficeServicesBlockContent } from './OfficeServicesBlockContent';
3
- export interface OfficeServicesBlockProps extends OfficeServicesBlockContent, UniBlockProps {
4
- }
5
- export declare const OfficeServicesBlock: import("@redneckz/uni-jsx").UNIComponent<OfficeServicesBlockProps, any, any>;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import '../../setup-fixture';
3
- declare const _default: {
4
- default: JSX.Element;
5
- };
6
- export default _default;
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
- import { Heading } from '../../ui-kit/Heading/Heading.js';
5
- import { Img } from '../../ui-kit/Img/Img.js';
6
- import { Text } from '../../ui-kit/Text/Text.js';
7
- import { style } from '../../utils/style.js';
8
- export 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] })));
9
- 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)}`));
10
- //# sourceMappingURL=OfficeServicesBlock.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAQ1C,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACpD,MAAC,YAAY,IAAC,SAAS,EAAE,KAAK,CAAC,sBAAsB,EAAE,SAAS,CAAC,KAAM,IAAI,aACxE,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACzD,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CACtB,aAAI,SAAS,EAAC,sBAAsB,YAAE,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,GAAM,CAC9E,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,QAAiC,EAAE,CAAS,EAAE,EAAE,CAAC,CACxE,cAAmC,SAAS,EAAC,uBAAuB,aACjE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CACf,KAAC,GAAG,IAAC,SAAS,EAAC,yBAAyB,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAI,CACzF,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAChB,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,YAClC,QAAQ,CAAC,KAAK,GACV,CACR,CAAC,CAAC,CAAC,IAAI,KARD,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAS5B,CACN,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { LabelProps, TitleProps } from '../../model/HeadlineType';
2
- import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { IconProps } from '../../model/Picture';
4
- export declare type OfficeServicesBlockList = LabelProps & IconProps;
5
- /**
6
- * @title Офисные услуги
7
- */
8
- export declare type OfficeServicesBlockContent = UniBlockContent & TitleProps & {
9
- /** @title Список услуг */
10
- servicesList?: OfficeServicesBlockList[];
11
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=OfficeServicesBlockContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OfficeServicesBlockContent.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- export declare enum Currencies {
2
- EUR = "EUR",
3
- USD = "USD",
4
- GBP = "GBP",
5
- AUD = "AUD",
6
- CNY = "CNY",
7
- RUB = "RUB"
8
- }
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { ExchangeRateOfficeContent } from './ExchangeRateOfficeContent';
3
- export interface ExchangeRateOfficeProps extends ExchangeRateOfficeContent, UniBlockProps {
4
- }
5
- export declare const ExchangeRateOffice: import("@redneckz/uni-jsx").UNIComponent<ExchangeRateOfficeProps, any, any>;
@@ -1,36 +0,0 @@
1
- /**
2
- * @title Информация об одной валюте
3
- */
4
- export interface CurrencyInformation {
5
- /** @title Номер */
6
- id?: number;
7
- /** @title Название */
8
- title?: string;
9
- /** @title Покупная цена */
10
- buyPrice?: number;
11
- /** @title Цена продажи */
12
- sellPrice?: number;
13
- /** @title Разница покупки */
14
- buyDifference?: number;
15
- /** @title Разница продажи */
16
- sellDifference?: number;
17
- /** @title Имя основного офиса для покупки */
18
- buyOfficeName?: string;
19
- /** @title Другие офисы покупки */
20
- buyBonusOfficeName?: string;
21
- /** @title Имя основного офиса для продажи*/
22
- sellOfficeName?: string;
23
- /** @title Другие офисы продажи */
24
- sellBonusOfficeName?: string;
25
- }
26
- /**
27
- * @title Курсы валют офиса
28
- */
29
- export interface ExchangeRateOfficeContent {
30
- /** @title Имя офиса */
31
- officeName?: string;
32
- /** @title Список валют */
33
- currencies?: CurrencyInformation[];
34
- /** @title Актуальность информации */
35
- actuality?: string;
36
- }
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CurrencyInformation } from './ExchangeRateOfficeContent';
3
- export declare const renderCurrencyRow: ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }: CurrencyInformation) => JSX.Element;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const renderTableHeader: (title: string) => JSX.Element;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
3
- export declare const buttonsConditionStyle: (buttons: ButtonProps[]) => JSX.Element | null;
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { OfficeMapContent } from './OfficeMapContent';
3
- export interface OfficeMapProps extends OfficeMapContent, UniBlockProps {
4
- }
5
- export declare const OfficeMap: import("@redneckz/uni-jsx").UNIComponent<UniBlockProps, any, any>;