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

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 (625) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +211 -305
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/OfficesAtmsMap/Badge.d.ts +11 -0
  5. package/bundle/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  6. package/bundle/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  7. package/bundle/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  8. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  9. package/bundle/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  10. package/bundle/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +1 -0
  11. package/bundle/components/OfficesAtmsMap/renderDay.d.ts +1 -0
  12. package/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  13. package/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  14. package/bundle/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  15. package/bundle/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  16. package/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  17. package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  18. package/bundle/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  19. package/cosmos-static/icons/CloseIcon.svg +1 -1
  20. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  21. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  22. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  23. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  24. package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  25. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  26. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  27. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  28. package/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
  29. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  30. package/dist/components/Blocks.js +2 -6
  31. package/dist/components/Blocks.js.map +1 -1
  32. package/dist/components/CarouselCard/CarouselCard.js +2 -2
  33. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  34. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  35. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  36. package/dist/components/OfficesAtmsMap/Badge.d.ts +11 -0
  37. package/dist/components/OfficesAtmsMap/Badge.js +14 -0
  38. package/dist/components/OfficesAtmsMap/Badge.js.map +1 -0
  39. package/dist/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  40. package/dist/components/OfficesAtmsMap/CardCell.js +14 -0
  41. package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -0
  42. package/dist/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  43. package/dist/components/OfficesAtmsMap/CardRow.js +7 -0
  44. package/dist/components/OfficesAtmsMap/CardRow.js.map +1 -0
  45. package/dist/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  46. package/dist/components/OfficesAtmsMap/OfficesAtmsMap.js +74 -0
  47. package/dist/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
  48. package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  49. package/dist/components/{ExchangeRateOffice/ExchangeRateOfficeContent.js → OfficesAtmsMap/OfficesAtmsMapContent.js} +1 -1
  50. package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
  51. package/dist/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  52. package/dist/components/OfficesAtmsMap/renderAtmCard.js +31 -0
  53. package/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
  54. package/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +1 -0
  55. package/{mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js → dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js} +1 -1
  56. package/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +1 -0
  57. package/dist/components/OfficesAtmsMap/renderDay.d.ts +1 -0
  58. package/dist/components/{OfficeMap/OfficeMapContent.js → OfficesAtmsMap/renderDay.js} +1 -1
  59. package/dist/components/OfficesAtmsMap/renderDay.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/Text/TextProps.d.ts +1 -1
  86. package/dist/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  87. package/dist/ui-kit/YandexMap/YandexMap.js +13 -22
  88. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  89. package/dist/ui-kit/YandexMap/renderClusterer.js +2 -2
  90. package/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  91. package/dist/ui-kit/YandexMap/renderSearchField.js +2 -1
  92. package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  93. package/dist/utils/fetchJSON.js +1 -1
  94. package/dist/utils/fetchJSON.js.map +1 -1
  95. package/lib/common.css +1 -1
  96. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  97. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  98. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  99. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  100. package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  101. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  102. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  103. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  104. package/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
  105. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  106. package/lib/components/Blocks.js +2 -6
  107. package/lib/components/Blocks.js.map +1 -1
  108. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  109. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  110. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  111. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  112. package/lib/components/OfficesAtmsMap/Badge.d.ts +11 -0
  113. package/lib/components/OfficesAtmsMap/Badge.js +12 -0
  114. package/lib/components/OfficesAtmsMap/Badge.js.map +1 -0
  115. package/lib/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  116. package/lib/components/OfficesAtmsMap/CardCell.js +12 -0
  117. package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -0
  118. package/lib/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  119. package/lib/components/OfficesAtmsMap/CardRow.js +5 -0
  120. package/lib/components/OfficesAtmsMap/CardRow.js.map +1 -0
  121. package/lib/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  122. package/lib/components/{OfficeMap/OfficeMap.fixture.d.ts → OfficesAtmsMap/OfficesAtmsMap.fixture.d.ts} +2 -2
  123. package/lib/components/OfficesAtmsMap/OfficesAtmsMap.js +72 -0
  124. package/lib/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
  125. package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  126. package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js +2 -0
  127. package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
  128. package/lib/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  129. package/lib/components/OfficesAtmsMap/renderAtmCard.js +28 -0
  130. package/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
  131. package/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +1 -0
  132. package/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js +2 -0
  133. package/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +1 -0
  134. package/lib/components/OfficesAtmsMap/renderDay.d.ts +1 -0
  135. package/lib/components/OfficesAtmsMap/renderDay.js +2 -0
  136. package/lib/components/OfficesAtmsMap/renderDay.js.map +1 -0
  137. package/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  138. package/lib/components/OfficesAtmsMap/renderLunchHour.js +7 -0
  139. package/lib/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
  140. package/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  141. package/lib/components/OfficesAtmsMap/renderOfficeCard.js +44 -0
  142. package/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
  143. package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  144. package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js +16 -0
  145. package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
  146. package/lib/components/PictureText/renderInsuranceSumMonth.js +2 -2
  147. package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  148. package/lib/components/ProductTile/ProductTile.js +1 -1
  149. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  150. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  151. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  152. package/lib/ui-kit/BaseTile/BaseTile.js +5 -5
  153. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  154. package/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  155. package/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  156. package/lib/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  157. package/lib/ui-kit/BenefitItem/renderBenefitText.js +1 -1
  158. package/lib/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
  159. package/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  160. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  161. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  162. package/lib/ui-kit/Text/TextProps.d.ts +1 -1
  163. package/lib/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  164. package/lib/ui-kit/YandexMap/YandexMap.js +13 -22
  165. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  166. package/lib/ui-kit/YandexMap/renderClusterer.js +2 -2
  167. package/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  168. package/lib/ui-kit/YandexMap/renderSearchField.d.ts +1 -0
  169. package/lib/ui-kit/YandexMap/renderSearchField.js +2 -1
  170. package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  171. package/lib/utils/fetchJSON.js +1 -1
  172. package/lib/utils/fetchJSON.js.map +1 -1
  173. package/mobile/bundle/bundle.umd.js +61 -120
  174. package/mobile/bundle/bundle.umd.min.js +1 -1
  175. package/mobile/bundle/components/OfficesAtmsMap/Badge.d.ts +11 -0
  176. package/mobile/bundle/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  177. package/mobile/bundle/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  178. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  179. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  180. package/mobile/bundle/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  181. package/mobile/bundle/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +1 -0
  182. package/mobile/bundle/components/OfficesAtmsMap/renderDay.d.ts +1 -0
  183. package/mobile/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  184. package/mobile/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  185. package/mobile/bundle/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  186. package/mobile/bundle/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  187. package/mobile/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  188. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  189. package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  190. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  191. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  192. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  193. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  194. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  195. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  196. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  197. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  198. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
  199. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  200. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  201. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  202. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  203. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  204. package/mobile/dist/components/OfficesAtmsMap/Badge.d.ts +11 -0
  205. package/mobile/dist/components/OfficesAtmsMap/Badge.js +14 -0
  206. package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -0
  207. package/mobile/dist/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  208. package/mobile/dist/components/OfficesAtmsMap/CardCell.js +14 -0
  209. package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -0
  210. package/mobile/dist/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  211. package/mobile/dist/components/OfficesAtmsMap/CardRow.js +7 -0
  212. package/mobile/dist/components/OfficesAtmsMap/CardRow.js.map +1 -0
  213. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  214. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.js +74 -0
  215. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
  216. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  217. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.js +2 -0
  218. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
  219. package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  220. package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js +31 -0
  221. package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
  222. package/mobile/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +1 -0
  223. package/mobile/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js +2 -0
  224. package/mobile/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +1 -0
  225. package/mobile/dist/components/OfficesAtmsMap/renderDay.d.ts +1 -0
  226. package/mobile/dist/components/{OfficeMap/OfficeMapContent.js → OfficesAtmsMap/renderDay.js} +1 -1
  227. package/mobile/dist/components/OfficesAtmsMap/renderDay.js.map +1 -0
  228. package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  229. package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js +10 -0
  230. package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
  231. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  232. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js +50 -0
  233. package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
  234. package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  235. package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js +19 -0
  236. package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
  237. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +2 -2
  238. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  239. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  240. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  241. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  242. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  243. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +5 -5
  244. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  245. package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  246. package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  247. package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  248. package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.js +1 -1
  249. package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
  250. package/mobile/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  251. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  252. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  253. package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
  254. package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  255. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +13 -22
  256. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  257. package/mobile/dist/ui-kit/YandexMap/renderClusterer.js +2 -2
  258. package/mobile/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  259. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +2 -1
  260. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  261. package/mobile/dist/utils/fetchJSON.js +1 -1
  262. package/mobile/dist/utils/fetchJSON.js.map +1 -1
  263. package/mobile/lib/common.css +1 -1
  264. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  265. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  266. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  267. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  268. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  269. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  270. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  271. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  272. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
  273. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  274. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  275. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  276. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  277. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  278. package/mobile/lib/components/OfficesAtmsMap/Badge.d.ts +11 -0
  279. package/mobile/lib/components/OfficesAtmsMap/Badge.js +12 -0
  280. package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -0
  281. package/mobile/lib/components/OfficesAtmsMap/CardCell.d.ts +9 -0
  282. package/mobile/lib/components/OfficesAtmsMap/CardCell.js +12 -0
  283. package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -0
  284. package/mobile/lib/components/OfficesAtmsMap/CardRow.d.ts +4 -0
  285. package/mobile/lib/components/OfficesAtmsMap/CardRow.js +5 -0
  286. package/mobile/lib/components/OfficesAtmsMap/CardRow.js.map +1 -0
  287. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
  288. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.js +72 -0
  289. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
  290. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
  291. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js +2 -0
  292. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
  293. package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
  294. package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js +28 -0
  295. package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
  296. package/mobile/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.d.ts +1 -0
  297. package/mobile/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js +2 -0
  298. package/mobile/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +1 -0
  299. package/mobile/lib/components/OfficesAtmsMap/renderDay.d.ts +1 -0
  300. package/mobile/lib/components/OfficesAtmsMap/renderDay.js +2 -0
  301. package/mobile/lib/components/OfficesAtmsMap/renderDay.js.map +1 -0
  302. package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
  303. package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js +7 -0
  304. package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
  305. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
  306. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js +44 -0
  307. package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
  308. package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
  309. package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js +16 -0
  310. package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
  311. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +2 -2
  312. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  313. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  314. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  315. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  316. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  317. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +5 -5
  318. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  319. package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  320. package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  321. package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
  322. package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.js +1 -1
  323. package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
  324. package/mobile/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
  325. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  326. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  327. package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
  328. package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +0 -1
  329. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +13 -22
  330. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  331. package/mobile/lib/ui-kit/YandexMap/renderClusterer.js +2 -2
  332. package/mobile/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  333. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +2 -1
  334. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  335. package/mobile/lib/utils/fetchJSON.js +1 -1
  336. package/mobile/lib/utils/fetchJSON.js.map +1 -1
  337. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  338. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
  339. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
  340. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
  341. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
  342. package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
  343. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  344. package/mobile/src/components/OfficesAtmsMap/Badge.tsx +30 -0
  345. package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +40 -0
  346. package/mobile/src/components/OfficesAtmsMap/CardRow.tsx +17 -0
  347. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.tsx +165 -0
  348. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +40 -0
  349. package/mobile/src/components/OfficesAtmsMap/renderAtmCard.tsx +60 -0
  350. package/mobile/src/components/OfficesAtmsMap/renderCurrentDaySchedule.tsx +2 -0
  351. package/mobile/src/components/OfficesAtmsMap/renderDay.tsx +2 -0
  352. package/mobile/src/components/OfficesAtmsMap/renderLunchHour.tsx +28 -0
  353. package/mobile/src/components/OfficesAtmsMap/renderOfficeCard.tsx +121 -0
  354. package/mobile/src/components/OfficesAtmsMap/useOfficesAtmsMap.ts +118 -0
  355. package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +6 -6
  356. package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
  357. package/mobile/src/icons/CloseIcon.svg +4 -4
  358. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +22 -10
  359. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +5 -5
  360. package/mobile/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
  361. package/mobile/src/ui-kit/BenefitItem/renderBenefitText.tsx +10 -2
  362. package/mobile/src/ui-kit/BenefitsList/BenefitsListProps.ts +1 -0
  363. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  364. package/mobile/src/ui-kit/Text/TextProps.ts +2 -0
  365. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +70 -79
  366. package/mobile/src/ui-kit/YandexMap/renderClusterer.ts +2 -2
  367. package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
  368. package/mobile/src/utils/fetchJSON.ts +1 -1
  369. package/package.json +1 -1
  370. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  371. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
  372. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
  373. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
  374. package/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
  375. package/src/components/Blocks.ts +2 -6
  376. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +1 -1
  377. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
  378. package/src/components/CarouselCard/CarouselCard.tsx +2 -2
  379. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  380. package/src/components/OfficesAtmsMap/Badge.tsx +30 -0
  381. package/src/components/OfficesAtmsMap/CardCell.tsx +40 -0
  382. package/src/components/OfficesAtmsMap/CardRow.tsx +17 -0
  383. package/src/components/OfficesAtmsMap/OfficesAtmsMap.fixture.tsx +41 -0
  384. package/src/components/OfficesAtmsMap/OfficesAtmsMap.tsx +165 -0
  385. package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +40 -0
  386. package/src/components/OfficesAtmsMap/renderAtmCard.tsx +60 -0
  387. package/src/components/OfficesAtmsMap/renderCurrentDaySchedule.tsx +2 -0
  388. package/src/components/OfficesAtmsMap/renderDay.tsx +2 -0
  389. package/src/components/OfficesAtmsMap/renderLunchHour.tsx +28 -0
  390. package/src/components/OfficesAtmsMap/renderOfficeCard.tsx +121 -0
  391. package/src/components/OfficesAtmsMap/useOfficesAtmsMap.ts +118 -0
  392. package/src/components/PictureText/renderInsuranceSumMonth.tsx +6 -6
  393. package/src/components/ProductTile/ProductTile.fixture.mobile.tsx +7 -4
  394. package/src/components/ProductTile/ProductTile.tsx +1 -1
  395. package/src/icons/CloseIcon.svg +4 -4
  396. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +22 -10
  397. package/src/ui-kit/BaseTile/BaseTile.tsx +5 -5
  398. package/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
  399. package/src/ui-kit/BenefitItem/renderBenefitText.tsx +10 -2
  400. package/src/ui-kit/BenefitsList/BenefitsListProps.ts +1 -0
  401. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  402. package/src/ui-kit/Text/TextProps.ts +2 -0
  403. package/src/ui-kit/YandexMap/YandexMap.tsx +70 -79
  404. package/src/ui-kit/YandexMap/renderClusterer.ts +2 -2
  405. package/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
  406. package/src/utils/fetchJSON.ts +1 -1
  407. package/bundle/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  408. package/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  409. package/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  410. package/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  411. package/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  412. package/bundle/components/OfficeMap/OfficeMap.d.ts +0 -5
  413. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  414. package/bundle/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  415. package/bundle/components/OfficeMap/nearbyOffices.d.ts +0 -2
  416. package/bundle/components/OfficeMap/renderFunctions.d.ts +0 -5
  417. package/bundle/components/OfficeMap/useOfficeMap.d.ts +0 -59
  418. package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  419. package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  420. package/dist/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  421. package/dist/components/ExchangeRateOffice/Currencies.js +0 -12
  422. package/dist/components/ExchangeRateOffice/Currencies.js.map +0 -1
  423. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  424. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -16
  425. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
  426. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  427. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
  428. package/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  429. package/dist/components/ExchangeRateOffice/renderCurrencies.js +0 -30
  430. package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
  431. package/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  432. package/dist/components/ExchangeRateOffice/renderTableHeader.js +0 -9
  433. package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
  434. package/dist/components/OfficeMap/OfficeMap.d.ts +0 -5
  435. package/dist/components/OfficeMap/OfficeMap.js +0 -43
  436. package/dist/components/OfficeMap/OfficeMap.js.map +0 -1
  437. package/dist/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  438. package/dist/components/OfficeMap/OfficeMapContent.js.map +0 -1
  439. package/dist/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  440. package/dist/components/OfficeMap/mockOfficeMap.js +0 -82
  441. package/dist/components/OfficeMap/mockOfficeMap.js.map +0 -1
  442. package/dist/components/OfficeMap/nearbyOffices.d.ts +0 -2
  443. package/dist/components/OfficeMap/nearbyOffices.js +0 -9
  444. package/dist/components/OfficeMap/nearbyOffices.js.map +0 -1
  445. package/dist/components/OfficeMap/renderFunctions.d.ts +0 -5
  446. package/dist/components/OfficeMap/renderFunctions.js +0 -20
  447. package/dist/components/OfficeMap/renderFunctions.js.map +0 -1
  448. package/dist/components/OfficeMap/useOfficeMap.d.ts +0 -59
  449. package/dist/components/OfficeMap/useOfficeMap.js +0 -20
  450. package/dist/components/OfficeMap/useOfficeMap.js.map +0 -1
  451. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  452. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -12
  453. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
  454. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  455. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
  456. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
  457. package/lib/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  458. package/lib/components/ExchangeRateOffice/Currencies.js +0 -10
  459. package/lib/components/ExchangeRateOffice/Currencies.js.map +0 -1
  460. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  461. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.fixture.d.ts +0 -6
  462. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -14
  463. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
  464. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  465. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
  466. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
  467. package/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  468. package/lib/components/ExchangeRateOffice/renderCurrencies.js +0 -27
  469. package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
  470. package/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  471. package/lib/components/ExchangeRateOffice/renderTableHeader.js +0 -6
  472. package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
  473. package/lib/components/OfficeMap/OfficeMap.d.ts +0 -5
  474. package/lib/components/OfficeMap/OfficeMap.js +0 -41
  475. package/lib/components/OfficeMap/OfficeMap.js.map +0 -1
  476. package/lib/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  477. package/lib/components/OfficeMap/OfficeMapContent.js +0 -2
  478. package/lib/components/OfficeMap/OfficeMapContent.js.map +0 -1
  479. package/lib/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  480. package/lib/components/OfficeMap/mockOfficeMap.js +0 -80
  481. package/lib/components/OfficeMap/mockOfficeMap.js.map +0 -1
  482. package/lib/components/OfficeMap/nearbyOffices.d.ts +0 -2
  483. package/lib/components/OfficeMap/nearbyOffices.js +0 -7
  484. package/lib/components/OfficeMap/nearbyOffices.js.map +0 -1
  485. package/lib/components/OfficeMap/renderFunctions.d.ts +0 -5
  486. package/lib/components/OfficeMap/renderFunctions.js +0 -15
  487. package/lib/components/OfficeMap/renderFunctions.js.map +0 -1
  488. package/lib/components/OfficeMap/useOfficeMap.d.ts +0 -59
  489. package/lib/components/OfficeMap/useOfficeMap.js +0 -17
  490. package/lib/components/OfficeMap/useOfficeMap.js.map +0 -1
  491. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  492. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +0 -6
  493. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -10
  494. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
  495. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  496. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
  497. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
  498. package/mobile/bundle/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  499. package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  500. package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  501. package/mobile/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  502. package/mobile/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  503. package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +0 -5
  504. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  505. package/mobile/bundle/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  506. package/mobile/bundle/components/OfficeMap/nearbyOffices.d.ts +0 -2
  507. package/mobile/bundle/components/OfficeMap/renderFunctions.d.ts +0 -5
  508. package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +0 -59
  509. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  510. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  511. package/mobile/dist/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  512. package/mobile/dist/components/ExchangeRateOffice/Currencies.js +0 -12
  513. package/mobile/dist/components/ExchangeRateOffice/Currencies.js.map +0 -1
  514. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  515. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -16
  516. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
  517. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  518. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
  519. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  520. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +0 -30
  521. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
  522. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  523. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +0 -9
  524. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
  525. package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +0 -5
  526. package/mobile/dist/components/OfficeMap/OfficeMap.js +0 -43
  527. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +0 -1
  528. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  529. package/mobile/dist/components/OfficeMap/OfficeMapContent.js.map +0 -1
  530. package/mobile/dist/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  531. package/mobile/dist/components/OfficeMap/mockOfficeMap.js +0 -82
  532. package/mobile/dist/components/OfficeMap/mockOfficeMap.js.map +0 -1
  533. package/mobile/dist/components/OfficeMap/nearbyOffices.d.ts +0 -2
  534. package/mobile/dist/components/OfficeMap/nearbyOffices.js +0 -9
  535. package/mobile/dist/components/OfficeMap/nearbyOffices.js.map +0 -1
  536. package/mobile/dist/components/OfficeMap/renderFunctions.d.ts +0 -5
  537. package/mobile/dist/components/OfficeMap/renderFunctions.js +0 -20
  538. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +0 -1
  539. package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +0 -59
  540. package/mobile/dist/components/OfficeMap/useOfficeMap.js +0 -20
  541. package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +0 -1
  542. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  543. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -12
  544. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
  545. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  546. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
  547. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
  548. package/mobile/lib/components/ExchangeRateOffice/Currencies.d.ts +0 -8
  549. package/mobile/lib/components/ExchangeRateOffice/Currencies.js +0 -10
  550. package/mobile/lib/components/ExchangeRateOffice/Currencies.js.map +0 -1
  551. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
  552. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -14
  553. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
  554. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
  555. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
  556. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
  557. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
  558. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +0 -27
  559. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
  560. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
  561. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +0 -6
  562. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
  563. package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +0 -5
  564. package/mobile/lib/components/OfficeMap/OfficeMap.js +0 -41
  565. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +0 -1
  566. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +0 -38
  567. package/mobile/lib/components/OfficeMap/OfficeMapContent.js +0 -2
  568. package/mobile/lib/components/OfficeMap/OfficeMapContent.js.map +0 -1
  569. package/mobile/lib/components/OfficeMap/mockOfficeMap.d.ts +0 -57
  570. package/mobile/lib/components/OfficeMap/mockOfficeMap.js +0 -80
  571. package/mobile/lib/components/OfficeMap/mockOfficeMap.js.map +0 -1
  572. package/mobile/lib/components/OfficeMap/nearbyOffices.d.ts +0 -2
  573. package/mobile/lib/components/OfficeMap/nearbyOffices.js +0 -7
  574. package/mobile/lib/components/OfficeMap/nearbyOffices.js.map +0 -1
  575. package/mobile/lib/components/OfficeMap/renderFunctions.d.ts +0 -5
  576. package/mobile/lib/components/OfficeMap/renderFunctions.js +0 -15
  577. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +0 -1
  578. package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +0 -59
  579. package/mobile/lib/components/OfficeMap/useOfficeMap.js +0 -17
  580. package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +0 -1
  581. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
  582. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -10
  583. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
  584. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
  585. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
  586. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
  587. package/mobile/src/components/ExchangeRateOffice/Currencies.ts +0 -8
  588. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +0 -32
  589. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +0 -62
  590. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +0 -36
  591. package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +0 -73
  592. package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +0 -11
  593. package/mobile/src/components/OfficeMap/OfficeMap.tsx +0 -76
  594. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +0 -42
  595. package/mobile/src/components/OfficeMap/mockOfficeMap.ts +0 -79
  596. package/mobile/src/components/OfficeMap/nearbyOffices.ts +0 -8
  597. package/mobile/src/components/OfficeMap/renderFunctions.tsx +0 -75
  598. package/mobile/src/components/OfficeMap/useOfficeMap.ts +0 -24
  599. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +0 -49
  600. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +0 -37
  601. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +0 -11
  602. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +0 -14
  603. package/src/components/ExchangeRateOffice/Currencies.ts +0 -8
  604. package/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +0 -32
  605. package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +0 -79
  606. package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +0 -62
  607. package/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +0 -36
  608. package/src/components/ExchangeRateOffice/renderCurrencies.tsx +0 -73
  609. package/src/components/ExchangeRateOffice/renderTableHeader.tsx +0 -11
  610. package/src/components/OfficeMap/OfficeMap.fixture.tsx +0 -11
  611. package/src/components/OfficeMap/OfficeMap.tsx +0 -76
  612. package/src/components/OfficeMap/OfficeMapContent.ts +0 -42
  613. package/src/components/OfficeMap/mockOfficeMap.ts +0 -79
  614. package/src/components/OfficeMap/nearbyOffices.ts +0 -8
  615. package/src/components/OfficeMap/renderFunctions.tsx +0 -75
  616. package/src/components/OfficeMap/useOfficeMap.ts +0 -24
  617. package/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +0 -49
  618. package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +0 -44
  619. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +0 -37
  620. package/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +0 -11
  621. package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +0 -14
  622. /package/mobile/src/components/{ExchangeRateOffice/ExchangeRateOffice.ui.json → OfficesAtmsMap/OfficesAtmsMap.ui.json} +0 -0
  623. /package/mobile/src/components/{OfficeMap/OfficeMap.ui.json → OfficesAtmsMap/OfficesAtmsMaps.example.json} +0 -0
  624. /package/src/components/{ExchangeRateOffice/ExchangeRateOffice.ui.json → OfficesAtmsMap/OfficesAtmsMap.ui.json} +0 -0
  625. /package/src/components/{OfficeMap/OfficeMap.ui.json → OfficesAtmsMap/OfficesAtmsMaps.example.json} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderFunctions.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/renderFunctions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAoB,EAAE,EAAE;IAC5F,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,SAAmB,CAAC,CAAC;IAClD,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,WAAW,SAAS,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;IAEnE,OAAO,MAAM,CAAC,CAAC,CAAC,CACd,eAAK,SAAS,EAAC,YAAY,aACzB,cAAK,SAAS,EAAC,oGAAoG,YAChH,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,GACvB,EACN,cAAK,SAAS,EAAC,yFAAyF,YACrG,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,GAC7B,IACF,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,MAAM,YACnB,cAAK,SAAS,EAAC,uFAAuF,iEAEhG,GACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAiB,EAC9C,KAAa,EACb,EAAE,CAAC,CACH,eAAK,SAAS,EAAC,WAAW,aACxB,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,GAAG,EAC5D,KAAK,CAAC,CAAC,CAAC,MAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,aAAE,KAAK,cAAc,CAAC,CAAC,CAAC,IAAI,EACxD,MAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,aAClC,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,IAAI,EAClC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,IACrB,KANuB,eAAe,KAAK,EAAE,CAOhD,CACP,CAAC;AACF,MAAM,CAAC,MAAM,SAAS,GAAG,CACvB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAoB,EACrE,GAAW,EACX,EAAE,CAAC,CACH,eACE,SAAS,EAAC,yFAAyF,aAGnG,eAAK,SAAS,EAAC,mEAAmE,aAChF,wBAAM,KAAK,GAAO,EACjB,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,8BAA8B,iEAAe,EAC5E,MAAM,IAAI,QAAQ,CAAC,CAAC,CAAC,wBAAM,QAAQ,GAAO,CAAC,CAAC,CAAC,IAAI,IAC9C,EACL,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,EACvD,WAAW,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAC,uCAAuC,YAAE,WAAW,GAAO,CAC3E,CAAC,CAAC,CAAC,IAAI,KAVH,MAAM,GAAG,EAAE,CAWZ,CACP,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,EAAE;IAC5C,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAExC,OAAO,OAAO,CAAC,CAAC,CAAC,CACf,eAAK,SAAS,EAAC,uEAAuE,aACpF,uEAAkB,EAClB,wBAAM,SAAS,GAAO,IAClB,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,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,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 enum Currencies {
2
- EUR = 'EUR',
3
- USD = 'USD',
4
- GBP = 'GBP',
5
- AUD = 'AUD',
6
- CNY = 'CNY',
7
- RUB = 'RUB',
8
- }
@@ -1,32 +0,0 @@
1
- {
2
- "content": {
3
- "officeName": "Московский региональный филиал ЦРМБ",
4
- "currencies": [
5
- {
6
- "id": 1,
7
- "title": "USD",
8
- "buyPrice": 104.0741,
9
- "sellPrice": 103.1618,
10
- "buyDifference": -3.74,
11
- "sellDifference": -0.31,
12
- "buyOfficeName": "Моковский региональный филиал ЦРМБ",
13
- "buyBonusOfficeName": "Дополнительный офис г. Москва (ул. Арбат)",
14
- "sellOfficeName": "Дополнительный офис г. Москва (ул. Новоясеньская)",
15
- "sellBonusOfficeName": "Дополнительный офис г. Москва (Волгоградский проспект)"
16
- },
17
- {
18
- "id": 2,
19
- "title": "EUR",
20
- "buyPrice": 114.7833,
21
- "sellPrice": 113.2613,
22
- "buyDifference": 1.65,
23
- "sellDifference": -0.41,
24
- "buyOfficeName": "Моковский региональный филиал ЦРМБ",
25
- "buyBonusOfficeName": "Дополнительный офис г. Москва (ул. Арбат)",
26
- "sellOfficeName": "Дополнительный офис г. Москва (ул. Новоясеньская)",
27
- "sellBonusOfficeName": "Дополнительный офис г. Москва (Волгоградский проспект)"
28
- }
29
- ],
30
- "actuality": "Актуально на 12:36, 12 июля 2022"
31
- }
32
- }
@@ -1,62 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../model/JSXBlock';
3
- import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
- import { Heading } from '../../ui-kit/Heading/Heading';
5
- import { Text } from '../../ui-kit/Text/Text';
6
- import { style } from '../../utils/style';
7
- import type { CurrencyInformation, ExchangeRateOfficeContent } from './ExchangeRateOfficeContent';
8
- import { renderCurrencyRow } from './renderCurrencies';
9
- import { renderTableHeader } from './renderTableHeader';
10
-
11
- export interface ExchangeRateOfficeProps extends ExchangeRateOfficeContent, UniBlockProps {}
12
-
13
- export const ExchangeRateOffice = JSX<ExchangeRateOfficeProps>(
14
- ({ className, currencies = [], actuality = '', officeName = '', ...rest }) => {
15
- const fourRates: CurrencyInformation[] = topNRates(currencies, 4);
16
-
17
- return (
18
- <BlockWrapper className={style('space-y-3xl', className)} {...rest}>
19
- <div className="flex flex-row flex-grow-0 justify-between space-y-lg">
20
- <Heading
21
- headingType="h4"
22
- title={'Курс обмена валют в ' + officeName}
23
- className="whitespace-pre-wrap text-h4"
24
- />
25
- <div className="pl-6xl">
26
- <Text size="text-m" font="font-light" align="text-left" color="text-secondary-text">
27
- {actuality}
28
- </Text>
29
- </div>
30
- </div>
31
- <div className="flex flex-row pt-m text-left">
32
- {fourRates.length > 0 ? (
33
- <table className={style('h-fit w-fit', className)}>
34
- <thead>
35
- <tr>
36
- <th>
37
- <Text
38
- size="text-m"
39
- font="font-light"
40
- align="text-left"
41
- color="text-secondary-text"
42
- >
43
- Валюта
44
- </Text>
45
- </th>
46
- {renderTableHeader('Купить')}
47
- {renderTableHeader('Продать')}
48
- {renderTableHeader('Лучшая покупка')}
49
- {renderTableHeader('Лучшая продажа')}
50
- </tr>
51
- </thead>
52
- <tbody>{fourRates.map((item) => renderCurrencyRow(item))}</tbody>
53
- </table>
54
- ) : null}
55
- </div>
56
- </BlockWrapper>
57
- );
58
- },
59
- );
60
-
61
- const topNRates = (rates: CurrencyInformation[], n: number) =>
62
- rates.sort((a, b) => Number(a.id) - Number(b.id)).slice(0, n);
@@ -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,73 +0,0 @@
1
- import type { IconName } from '../../icons/IconName';
2
- import { Img } from '../../ui-kit/Img/Img';
3
- import { style } from '../../utils/style';
4
- import { Currencies } from './Currencies';
5
- import type { CurrencyInformation } from './ExchangeRateOfficeContent';
6
-
7
- const CURRENCY_ICONS_MAP: Record<keyof typeof Currencies, IconName> = {
8
- USD: 'DollarIcon',
9
- EUR: 'EuroIcon',
10
- GBP: 'DollarIcon',
11
- AUD: 'DollarIcon',
12
- CNY: 'DollarIcon',
13
- RUB: 'RoundRubleIcon',
14
- };
15
-
16
- export const renderCurrencyRow = ({
17
- title,
18
- buyPrice,
19
- buyDifference,
20
- sellPrice,
21
- sellDifference,
22
- buyOfficeName,
23
- sellOfficeName,
24
- }: CurrencyInformation) => {
25
- return (
26
- <tr key={title} className="pb-2xs text-h6">
27
- <td className="pt-m">
28
- <div className="flex items-center">
29
- {title ? (
30
- <Img image={{ icon: CURRENCY_ICONS_MAP[title] }} width="24" height="24" />
31
- ) : null}
32
- <span className="ml-xs">{title}</span>
33
- </div>
34
- </td>
35
- {renderCurrency(buyPrice, buyDifference)}
36
- {renderCurrency(sellPrice, sellDifference)}
37
- {renderOffice(buyPrice, buyOfficeName)}
38
- {renderOffice(sellPrice, sellOfficeName)}
39
- </tr>
40
- );
41
- };
42
-
43
- const formatCurrency = (value?: number) => (value ? currencyNumberFormat.format(value) : '');
44
-
45
- const renderCurrency = (price?: number, difference?: number) => {
46
- return (
47
- <td className="pt-m pl-5xl">
48
- <div>{formatCurrency(price)}</div>
49
- <div
50
- className={style(
51
- 'font-normal text-sm text-secondary-text',
52
- (difference || 0) >= 0 ? 'text-green' : 'text-red',
53
- )}
54
- >
55
- {formatCurrency(difference)}
56
- </div>
57
- </td>
58
- );
59
- };
60
-
61
- const renderOffice = (price?: number, officeName = '') => {
62
- return (
63
- <td className="pt-m pl-5xl">
64
- <div>{formatCurrency(price)}</div>
65
- <div className="font-normal text-sm text-green">{officeName}</div>
66
- </td>
67
- );
68
- };
69
-
70
- const currencyNumberFormat = new Intl.NumberFormat('ru', {
71
- style: 'currency',
72
- currency: Currencies.RUB,
73
- });
@@ -1,11 +0,0 @@
1
- import { Text } from '../../ui-kit/Text/Text';
2
-
3
- export const renderTableHeader = (title: string) => {
4
- return (
5
- <th className="pl-5xl">
6
- <Text size="text-m" font="font-light" align="text-left" color="text-secondary-text">
7
- {title}
8
- </Text>
9
- </th>
10
- );
11
- };
@@ -1,76 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../model/JSXBlock';
3
- import { Icon } from '../../ui-kit/Icon/Icon';
4
- import { YandexMap } from '../../ui-kit/YandexMap/YandexMap';
5
- import { OFFICE_MAP } from './mockOfficeMap';
6
- import { nearbyOffices } from './nearbyOffices';
7
- import type { OfficeMapContent, WorkScheduleWeek } from './OfficeMapContent';
8
- import { renderCurrentDaySchedule, renderDay, renderNearbyOffice } from './renderFunctions';
9
-
10
- export interface OfficeMapProps extends OfficeMapContent, UniBlockProps {}
11
- export const OfficeMap = JSX<UniBlockProps>(({ className = '' }) => {
12
- // TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
13
- // TODO: useOfficeMap has return MOCK OBJECT!
14
- // TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
15
- const resultOfficeMap = OFFICE_MAP;
16
- const { name, address, gpsLatitude, gpsLongitude, workSchedule } =
17
- resultOfficeMap as OfficeMapContent;
18
- const {
19
- workingMonday,
20
- workingTuesday,
21
- workingWednesday,
22
- workingThursday,
23
- workingFriday,
24
- workingSaturday,
25
- workingSunday,
26
- } = workSchedule;
27
- const { workTime, lunchHour, workTimeSaturday, lunchHourSaturday } = workSchedule;
28
- const point = gpsLatitude && gpsLongitude ? [gpsLatitude, gpsLongitude] : null;
29
- const workScheduleWeek: WorkScheduleWeek[] = [
30
- { title: 'Понедельник', status: workingMonday, workTime, lunchHour },
31
- { title: 'Вторник', status: workingTuesday, workTime, lunchHour },
32
- { title: 'Среда', status: workingWednesday, workTime, lunchHour },
33
- {
34
- title: 'Четверг',
35
- status: workingThursday,
36
- workTime,
37
- lunchHour: '13:00 - 14:00', // Добавлено для проверки
38
- description: 'Не работает прием денег с 17:00 до 19:00', // Добавлено для проверки
39
- },
40
- { title: 'Пятница', status: workingFriday, workTime, lunchHour },
41
- {
42
- title: 'Суббота',
43
- status: workingSaturday,
44
- workTime: workTimeSaturday,
45
- lunchHour: lunchHourSaturday,
46
- },
47
- { title: 'Воскресенье', status: workingSunday },
48
- ];
49
- const currentWeekDayInd = new Date().getDay();
50
- const currentWeekDay =
51
- currentWeekDayInd > 0 ? workScheduleWeek[currentWeekDayInd - 1] : workScheduleWeek[6];
52
-
53
- return (
54
- <div className={`flex flex-col font-sans w-full ${className}`}>
55
- <div className="flex flex-col gap-m p-6xl pb-3xl">
56
- <div className="flex justify-between">
57
- <div className="text-h2">{name}</div>
58
- {renderCurrentDaySchedule(currentWeekDay)}
59
- </div>
60
- <div className="flex text-l font-light">
61
- <Icon name="GeolocationIcon" width="24" height="24" className="pr-2xs" />
62
- {address}
63
- </div>
64
- <div className="flex">{nearbyOffices.map(renderNearbyOffice)}</div>
65
- </div>
66
- <div className="flex justify-between">
67
- <div className="flex-grow h-full w-full overflow-hidden">
68
- {point ? <YandexMap points={[point]} className="h-full" /> : null}
69
- </div>
70
- <div className="w-[434px] min-w-[434px] p-6xl pt-0 flex flex-col">
71
- {workScheduleWeek.map(renderDay)}
72
- </div>
73
- </div>
74
- </div>
75
- );
76
- });
@@ -1,42 +0,0 @@
1
- import type { IconName } from '../../icons/IconName';
2
- import type { UniBlockContent } from '../../model/JSXBlock';
3
-
4
- export type WorkSchedule = {
5
- workTime: string;
6
- lunchHour: string;
7
- workTimeSaturday: string;
8
- lunchHourSaturday: string;
9
- workingMonday: boolean;
10
- workingTuesday: boolean;
11
- workingWednesday: boolean;
12
- workingThursday: boolean;
13
- workingFriday: boolean;
14
- workingSaturday: boolean;
15
- workingSunday: boolean;
16
- };
17
-
18
- export type WorkScheduleWeek = {
19
- title?: string;
20
- status?: boolean;
21
- workTime?: string;
22
- lunchHour?: string;
23
- description?: string;
24
- };
25
-
26
- export type NearbyOffices = {
27
- title?: string;
28
- time?: string;
29
- distance?: string;
30
- icon?: IconName;
31
- };
32
-
33
- /**
34
- * @title Карта офиса
35
- */
36
- export type OfficeMapContent = UniBlockContent & {
37
- name?: string;
38
- address: string;
39
- workSchedule: WorkSchedule;
40
- gpsLatitude?: number;
41
- gpsLongitude?: number;
42
- };
@@ -1,79 +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
- };
@@ -1,8 +0,0 @@
1
- import { NearbyOffices } from './OfficeMapContent';
2
-
3
- // Добавлено для проверки
4
- export const nearbyOffices: NearbyOffices[] = [
5
- { title: 'Деловой центр', time: '1 мин', distance: '~30 м.', icon: 'MetroIcon' },
6
- { title: 'Выставочная', time: '5 мин', distance: '~120 м.', icon: 'MetroIcon' },
7
- { title: 'Деловой центр', time: '8 мин', distance: '~350 м.', icon: 'MetroIcon' },
8
- ];
@@ -1,75 +0,0 @@
1
- import { Icon } from '../../ui-kit/Icon/Icon';
2
- import { Text } from '../../ui-kit/Text/Text';
3
- import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
4
-
5
- export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }: WorkScheduleWeek) => {
6
- const hasTime = /\d+/gi.test(lunchHour as string);
7
- const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
8
-
9
- return status ? (
10
- <div className="flex gap-m">
11
- <div className="p-s border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light">
12
- {workTime ? workTime : null}
13
- </div>
14
- <div className="p-s border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden">
15
- {lunchHour ? lunchHourText : null}
16
- </div>
17
- </div>
18
- ) : (
19
- <div className="flex">
20
- <div className="p-s border rounded-md text-m flex items-center cursor-pointer text-error border-error">
21
- Выходной
22
- </div>
23
- </div>
24
- );
25
- };
26
-
27
- export const renderNearbyOffice = (
28
- { icon, title, distance, time }: NearbyOffices,
29
- index: number,
30
- ) => (
31
- <div className="flex mr-m" key={`nearbyOffice${index}`}>
32
- <Icon name={icon} width="16" height="16" className="mr-xs" />
33
- {title ? <Text size="text-m">{title}&nbsp;</Text> : null}
34
- <Text size="text-m" font="font-light">
35
- {distance ? ` (${distance})` : null}
36
- {time ? `, ${time}` : null}
37
- </Text>
38
- </div>
39
- );
40
- export const renderDay = (
41
- { title, status, workTime, lunchHour, description }: WorkScheduleWeek,
42
- inx: number,
43
- ) => (
44
- <div
45
- className="flex flex-col gap-2xs pb-s border-b border-solid border-main-divider mb-s last:border-0"
46
- key={`day${inx}`}
47
- >
48
- <div className="flex justify-between items-center w-full text-l text-primary-text">
49
- <div>{title}</div>
50
- {status ? null : <div className="text-m font-light text-error">Выходной</div>}
51
- {status && workTime ? <div>{workTime}</div> : null}
52
- </div>
53
- {status && lunchHour ? renderLunchHour(lunchHour) : null}
54
- {description ? (
55
- <div className="text-s font-light text-secondary-text">{description}</div>
56
- ) : null}
57
- </div>
58
- );
59
-
60
- const renderLunchHour = (lunchHour: string) => {
61
- const hasTime = /\d+/gi.test(lunchHour);
62
-
63
- return hasTime ? (
64
- <div className="flex justify-between items-center w-full text-m font-light text-error">
65
- <div>Перерыв</div>
66
- <div>{lunchHour}</div>
67
- </div>
68
- ) : (
69
- <div className="flex justify-between items-center w-full">
70
- <Text size="text-m" font="font-light" color="text-primary-main">
71
- {lunchHour}
72
- </Text>
73
- </div>
74
- );
75
- };