@redneckz/wildless-cms-uni-blocks 0.14.898 → 0.14.900

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 (254) hide show
  1. package/bin/migration-scripts/0.14.900.js +18 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +287 -27
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  6. package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +6 -0
  7. package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  8. package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +6 -0
  9. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +24 -0
  10. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  11. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +9 -0
  12. package/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  13. package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  14. package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  15. package/bundle/components/ExchangeRateTile/renderInput.d.ts +11 -0
  16. package/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +9 -0
  17. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +6 -0
  18. package/bundle/components/OfficesAtmsMap/filters.d.ts +18 -0
  19. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  20. package/dist/components/Blocks.js +2 -0
  21. package/dist/components/Blocks.js.map +1 -1
  22. package/dist/components/Blocks.mobile.js +2 -0
  23. package/dist/components/Blocks.mobile.js.map +1 -1
  24. package/dist/components/ExchangeRateTile/CurrencyProps.d.ts +6 -0
  25. package/dist/components/ExchangeRateTile/CurrencyProps.js +10 -0
  26. package/dist/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  27. package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  28. package/dist/components/ExchangeRateTile/CurrencyTable.js +23 -0
  29. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -0
  30. package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +6 -0
  31. package/dist/components/ExchangeRateTile/CurrentLocation.js +10 -0
  32. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -0
  33. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +24 -0
  34. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +73 -0
  35. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -0
  36. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  37. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +26 -0
  38. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
  39. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +9 -0
  40. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +2 -0
  41. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
  42. package/dist/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  43. package/dist/components/ExchangeRateTile/calculateResult.js +11 -0
  44. package/dist/components/ExchangeRateTile/calculateResult.js.map +1 -0
  45. package/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  46. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js +21 -0
  47. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  48. package/dist/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  49. package/dist/components/ExchangeRateTile/formatCurrency.js +10 -0
  50. package/dist/components/ExchangeRateTile/formatCurrency.js.map +1 -0
  51. package/dist/components/ExchangeRateTile/renderInput.d.ts +11 -0
  52. package/dist/components/ExchangeRateTile/renderInput.js +16 -0
  53. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -0
  54. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +9 -0
  55. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +13 -0
  56. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +1 -0
  57. package/dist/components/OfficesAtmsMap/FiltrationForm.js +58 -7
  58. package/dist/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  59. package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +6 -0
  60. package/dist/components/OfficesAtmsMap/filters.d.ts +18 -0
  61. package/dist/components/OfficesAtmsMap/filters.js +18 -0
  62. package/dist/components/OfficesAtmsMap/filters.js.map +1 -1
  63. package/lib/common.css +1 -1
  64. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  65. package/lib/components/Blocks.js +2 -0
  66. package/lib/components/Blocks.js.map +1 -1
  67. package/lib/components/Blocks.mobile.js +2 -0
  68. package/lib/components/Blocks.mobile.js.map +1 -1
  69. package/lib/components/ExchangeRateTile/CurrencyProps.d.ts +6 -0
  70. package/lib/components/ExchangeRateTile/CurrencyProps.js +8 -0
  71. package/lib/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  72. package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  73. package/lib/components/ExchangeRateTile/CurrencyTable.js +21 -0
  74. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -0
  75. package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +6 -0
  76. package/lib/components/ExchangeRateTile/CurrentLocation.js +8 -0
  77. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -0
  78. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +24 -0
  79. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +71 -0
  80. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -0
  81. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  82. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +5 -0
  83. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.d.ts +5 -0
  84. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +24 -0
  85. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
  86. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +9 -0
  87. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +2 -0
  88. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
  89. package/lib/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  90. package/lib/components/ExchangeRateTile/calculateResult.js +7 -0
  91. package/lib/components/ExchangeRateTile/calculateResult.js.map +1 -0
  92. package/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  93. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js +18 -0
  94. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  95. package/lib/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  96. package/lib/components/ExchangeRateTile/formatCurrency.js +7 -0
  97. package/lib/components/ExchangeRateTile/formatCurrency.js.map +1 -0
  98. package/lib/components/ExchangeRateTile/renderInput.d.ts +11 -0
  99. package/lib/components/ExchangeRateTile/renderInput.js +13 -0
  100. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -0
  101. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +9 -0
  102. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +10 -0
  103. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +1 -0
  104. package/lib/components/OfficesAtmsMap/FiltrationForm.js +58 -7
  105. package/lib/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  106. package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +6 -0
  107. package/lib/components/OfficesAtmsMap/filters.d.ts +18 -0
  108. package/lib/components/OfficesAtmsMap/filters.js +18 -0
  109. package/lib/components/OfficesAtmsMap/filters.js.map +1 -1
  110. package/mobile/bundle/bundle.umd.js +287 -27
  111. package/mobile/bundle/bundle.umd.min.js +1 -1
  112. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  113. package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +6 -0
  114. package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  115. package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +6 -0
  116. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +24 -0
  117. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  118. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +9 -0
  119. package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  120. package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  121. package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  122. package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +11 -0
  123. package/mobile/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +9 -0
  124. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +6 -0
  125. package/mobile/bundle/components/OfficesAtmsMap/filters.d.ts +18 -0
  126. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  127. package/mobile/dist/components/Blocks.js +2 -0
  128. package/mobile/dist/components/Blocks.js.map +1 -1
  129. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.d.ts +6 -0
  130. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js +10 -0
  131. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  132. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  133. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +23 -0
  134. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -0
  135. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +6 -0
  136. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +10 -0
  137. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -0
  138. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +24 -0
  139. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +73 -0
  140. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -0
  141. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  142. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +26 -0
  143. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
  144. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +9 -0
  145. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +2 -0
  146. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
  147. package/mobile/dist/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  148. package/mobile/dist/components/ExchangeRateTile/calculateResult.js +11 -0
  149. package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +1 -0
  150. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  151. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js +21 -0
  152. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  153. package/mobile/dist/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  154. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js +10 -0
  155. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js.map +1 -0
  156. package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +11 -0
  157. package/mobile/dist/components/ExchangeRateTile/renderInput.js +16 -0
  158. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -0
  159. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +9 -0
  160. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +13 -0
  161. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +1 -0
  162. package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.js +58 -7
  163. package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  164. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +6 -0
  165. package/mobile/dist/components/OfficesAtmsMap/filters.d.ts +18 -0
  166. package/mobile/dist/components/OfficesAtmsMap/filters.js +18 -0
  167. package/mobile/dist/components/OfficesAtmsMap/filters.js.map +1 -1
  168. package/mobile/lib/common.css +1 -1
  169. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  170. package/mobile/lib/components/Blocks.js +2 -0
  171. package/mobile/lib/components/Blocks.js.map +1 -1
  172. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.d.ts +6 -0
  173. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js +8 -0
  174. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  175. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  176. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +21 -0
  177. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -0
  178. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +6 -0
  179. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +8 -0
  180. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -0
  181. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +24 -0
  182. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +71 -0
  183. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -0
  184. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  185. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +24 -0
  186. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
  187. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +9 -0
  188. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +2 -0
  189. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
  190. package/mobile/lib/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  191. package/mobile/lib/components/ExchangeRateTile/calculateResult.js +7 -0
  192. package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +1 -0
  193. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  194. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js +18 -0
  195. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  196. package/mobile/lib/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  197. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js +7 -0
  198. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js.map +1 -0
  199. package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +11 -0
  200. package/mobile/lib/components/ExchangeRateTile/renderInput.js +13 -0
  201. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -0
  202. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +9 -0
  203. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +10 -0
  204. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +1 -0
  205. package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.js +58 -7
  206. package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
  207. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +6 -0
  208. package/mobile/lib/components/OfficesAtmsMap/filters.d.ts +18 -0
  209. package/mobile/lib/components/OfficesAtmsMap/filters.js +18 -0
  210. package/mobile/lib/components/OfficesAtmsMap/filters.js.map +1 -1
  211. package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +92 -29
  212. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +2 -1
  213. package/mobile/src/components/Blocks.ts +2 -0
  214. package/mobile/src/components/ExchangeRateTile/CurrencyProps.ts +6 -0
  215. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +64 -0
  216. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +28 -0
  217. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +155 -0
  218. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +12 -0
  219. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -0
  220. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +8 -0
  221. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +11 -0
  222. package/mobile/src/components/ExchangeRateTile/calculateResult.ts +9 -0
  223. package/mobile/src/components/ExchangeRateTile/callbackCurrencySelect.ts +25 -0
  224. package/mobile/src/components/ExchangeRateTile/formatCurrency.ts +8 -0
  225. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +43 -0
  226. package/mobile/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +25 -0
  227. package/mobile/src/components/OfficesAtmsMap/FiltrationForm.tsx +91 -12
  228. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +6 -0
  229. package/mobile/src/components/OfficesAtmsMap/filters.ts +24 -0
  230. package/package.json +2 -2
  231. package/src/components/ApplicationForm/ApplicationForm.example.json +92 -29
  232. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +11 -11
  233. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +11 -11
  234. package/src/components/ApplicationForm/ApplicationFormContent.ts +2 -1
  235. package/src/components/Blocks.mobile.ts +2 -0
  236. package/src/components/Blocks.ts +2 -0
  237. package/src/components/ExchangeRateTile/CurrencyProps.ts +6 -0
  238. package/src/components/ExchangeRateTile/CurrencyTable.tsx +64 -0
  239. package/src/components/ExchangeRateTile/CurrentLocation.tsx +28 -0
  240. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +155 -0
  241. package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +12 -0
  242. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +21 -0
  243. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +21 -0
  244. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -0
  245. package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +8 -0
  246. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +11 -0
  247. package/src/components/ExchangeRateTile/calculateResult.ts +9 -0
  248. package/src/components/ExchangeRateTile/callbackCurrencySelect.ts +25 -0
  249. package/src/components/ExchangeRateTile/formatCurrency.ts +8 -0
  250. package/src/components/ExchangeRateTile/renderInput.tsx +43 -0
  251. package/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +25 -0
  252. package/src/components/OfficesAtmsMap/FiltrationForm.tsx +91 -12
  253. package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +6 -0
  254. package/src/components/OfficesAtmsMap/filters.ts +24 -0
@@ -755,10 +755,10 @@
755
755
  const and = (a, b) => (...args) => a(...args) && b(...args);
756
756
 
757
757
  const table = (...table) => (...input) => {
758
- const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(...input)));
758
+ const [, unit] = assertNonEmpty$1(table.find(([predicate]) => predicate(...input)));
759
759
  return unit(...input);
760
760
  };
761
- function assertNonEmpty(value) {
761
+ function assertNonEmpty$1(value) {
762
762
  if (!value) {
763
763
  throw new Error('Value should be fulfilled');
764
764
  }
@@ -4038,6 +4038,12 @@
4038
4038
  bullionOperations: false,
4039
4039
  preciousMetalsOperations: false,
4040
4040
  transferringDataToBiometricSystem: false,
4041
+ hasAccessibilitySign: false,
4042
+ equippedWithRamp: false,
4043
+ equippedWithLift: false,
4044
+ equippedWithElevator: false,
4045
+ equippedWithStairclimber: false,
4046
+ hasHelpMeButton: false,
4041
4047
  ...ATMS_INITIAL_FILTRATION_STATE,
4042
4048
  };
4043
4049
  const FILTRATION_LABELS = {
@@ -4058,6 +4064,12 @@
4058
4064
  serviceDisabledPeople: 'Для маломобильных граждан',
4059
4065
  workAllTime: 'Круглосуточно',
4060
4066
  workingSaturday: 'Открыты по субботам',
4067
+ hasAccessibilitySign: 'Без барьеров',
4068
+ equippedWithRamp: 'Есть пандус',
4069
+ equippedWithLift: 'Есть подъёмник',
4070
+ equippedWithElevator: 'Есть лифт',
4071
+ equippedWithStairclimber: 'Есть лестницеход',
4072
+ hasHelpMeButton: 'Есть кнопка «HELP ME»',
4061
4073
  };
4062
4074
  const FILTRATION_PREDICATES_ATMS = {
4063
4075
  terminalTypeTerm: (item) => item.terminalType?.toLowerCase() === 'терминал',
@@ -4079,6 +4091,12 @@
4079
4091
  bullionOperations: (item) => Boolean('bullionOperations' in item && item.bullionOperations),
4080
4092
  preciousMetalsOperations: (item) => Boolean('preciousMetalsOperations' in item && item.preciousMetalsOperations),
4081
4093
  transferringDataToBiometricSystem: (item) => Boolean('transferringDataToBiometricSystem' in item && item.transferringDataToBiometricSystem),
4094
+ hasAccessibilitySign: (item) => Boolean('hasAccessibilitySign' in item && item.hasAccessibilitySign),
4095
+ equippedWithRamp: (item) => Boolean('equippedWithRamp' in item && item.equippedWithRamp),
4096
+ equippedWithLift: (item) => Boolean('equippedWithLift' in item && item.equippedWithLift),
4097
+ equippedWithElevator: (item) => Boolean('equippedWithElevator' in item && item.equippedWithElevator),
4098
+ equippedWithStairclimber: (item) => Boolean('equippedWithStairclimber' in item && item.equippedWithStairclimber),
4099
+ hasHelpMeButton: (item) => Boolean('hasHelpMeButton' in item && item.hasHelpMeButton),
4082
4100
  };
4083
4101
 
4084
4102
  const filterItems = (data, filtrationState) => {
@@ -10133,6 +10151,214 @@
10133
10151
  };
10134
10152
  const ErrorBlock = JSX(({ className = '', title, description, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: style('p-6xl'), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center", children: renderErrorContent(error) }), jsx(Headline, { title: title, description: description, headlineVersion: "XL", isEmbedded: true, className: "mb-2xl last:mb-0" }), button?.text ? (jsx(LinkButton, { version: button?.version, text: button?.text, ...button })) : null] })));
10135
10153
 
10154
+ const REGION_URL = `${API_BASE_URI$1}/region`;
10155
+ function useLocation(defaultLocation = 'Москва') {
10156
+ const locationStore = useLocalStore();
10157
+ return locationStore.location ?? { name: defaultLocation };
10158
+ }
10159
+ function useDefaultLocation(defaultLocation = 'Москва') {
10160
+ const locationStore = useLocalStore();
10161
+ const preselectLocation = useCallback(async () => {
10162
+ if (!locationStore.location) {
10163
+ const region = await fetchJSON(REGION_URL);
10164
+ locationStore.location = region ?? { name: defaultLocation };
10165
+ }
10166
+ }, [locationStore, defaultLocation]);
10167
+ useAsyncData(REGION_URL, preselectLocation);
10168
+ return locationStore;
10169
+ }
10170
+
10171
+ var Currency;
10172
+ (function (Currency) {
10173
+ Currency["RUB"] = "RUB";
10174
+ Currency["EUR"] = "EUR";
10175
+ Currency["USD"] = "USD";
10176
+ Currency["CNY"] = "CNY";
10177
+ })(Currency || (Currency = {}));
10178
+
10179
+ const currencyNumberFormat = new Intl.NumberFormat('ru', {
10180
+ style: 'currency',
10181
+ currency: Currency.RUB,
10182
+ });
10183
+ const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
10184
+
10185
+ const TABLE_STYLE_BASE = 'text-m font-light text-secondary-text ';
10186
+ const TABLE_HEAD_STYLE = `${TABLE_STYLE_BASE} text-left`;
10187
+ const TABLE_HEAD_STYLE_CENTER = `${TABLE_STYLE_BASE} pl-5xl text-center`;
10188
+ const TABLE_HEAD_STYLE_RIGHT = `${TABLE_STYLE_BASE} pl-5xl text-right`;
10189
+ const CURRENCY_ICONS_MAP = {
10190
+ USD: 'DollarIcon',
10191
+ EUR: 'EuroIcon',
10192
+ CNY: 'ChineseYuanRenminbiIcon',
10193
+ };
10194
+ const CurrencyTable = JSX(({ className, exchangeCurrencyItems }) => (jsxs("table", { className: style('h-fit w-full', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { className: TABLE_HEAD_STYLE, children: jsx(Text, { size: "text-m", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), jsx("th", { className: TABLE_HEAD_STYLE_CENTER, children: jsx(Text, { size: "text-m", children: "\u041A\u0443\u043F\u0438\u0442\u044C" }) }), jsx("th", { className: TABLE_HEAD_STYLE_RIGHT, children: jsx(Text, { size: "text-m", children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" }) })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map(renderCurrencyRow) })] })));
10195
+ const renderCurrencyRow = (exchangeCurrencyItem) => {
10196
+ const currency = exchangeCurrencyItem?.currency?.currency;
10197
+ return (jsxs("tr", { className: "pb-2xs text-h6", children: [jsx("td", { className: "pt-m m-auto flex text-left", children: jsxs("div", { className: "flex items-center gap-xs", children: [currency ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx(Text, { size: "text-h6", children: currency })] }) }), jsx("td", { className: "pt-m pl-5xl text-center", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }) }), jsx("td", { className: "pt-m pl-5xl text-right", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) }) })] }, currency));
10198
+ };
10199
+
10200
+ const icon = { icon: 'GpsIcon' };
10201
+ const CurrentLocation = JSX(({ className = '', address }) => (jsxs("div", { className: style('flex gap-s w-full justify-between @sm:justify-center', className), children: [jsx(RoundedIcon, { ...icon, iconBgVersion: "primary", className: "shrink-0" }), jsxs("div", { className: "space-y-2xs whitespace-pre-wrap", children: [address ? (jsx(Paragraph, { size: "text-l", color: "text-primary-main", children: address })) : null, jsx(Paragraph, { size: "text-m", color: "text-secondary-text", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
10202
+
10203
+ const roundTo = (value, precision = 2) => {
10204
+ const factor = 10 ** precision;
10205
+ return Math.round(parseFloat(String(value)) * factor) / factor;
10206
+ };
10207
+
10208
+ const calculateResult = (value, rate, precision) => {
10209
+ const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
10210
+ return Number.isInteger(result) ? result : roundTo(result);
10211
+ };
10212
+ const formatValue = (value) => value.replace(/[^\d.,]/g, '').replace(',', '.');
10213
+
10214
+ function assertNonEmpty(value) {
10215
+ if (!value) {
10216
+ throw new Error('Value should be fulfilled');
10217
+ }
10218
+ return value;
10219
+ }
10220
+
10221
+ const baseTableFunc = (table) => (input) => {
10222
+ const [, unit] = assertNonEmpty(table.find(([predicate]) => predicate(input)));
10223
+ return unit(input);
10224
+ };
10225
+ const tableFunc = (table) => baseTableFunc(table.map(([p, o]) => [p, () => o]));
10226
+ tableFunc.if = (predicate) => new TableFuncBuilder(undefined, predicate);
10227
+ class TableFuncBuilder {
10228
+ parent;
10229
+ predicate;
10230
+ unit;
10231
+ get entry() {
10232
+ return [assertNonEmpty(this.predicate), assertNonEmpty(this.unit)];
10233
+ }
10234
+ constructor(parent, predicate, unit) {
10235
+ this.parent = parent;
10236
+ this.predicate = predicate;
10237
+ this.unit = unit;
10238
+ }
10239
+ if(predicate) {
10240
+ return new TableFuncBuilder(this, predicate);
10241
+ }
10242
+ then(unit) {
10243
+ return new TableFuncBuilder(this.parent, this.predicate, unit);
10244
+ }
10245
+ else(unit) {
10246
+ return baseTableFunc([...buildTable(this), [() => true, unit]]);
10247
+ }
10248
+ }
10249
+ const buildTable = (builder) => [
10250
+ ...(builder?.parent ? buildTable(builder.parent) : []),
10251
+ builder.entry,
10252
+ ];
10253
+
10254
+ const callbackCurrencySelect = (props) => tableFunc([
10255
+ [
10256
+ (_) => _.value !== Currency.RUB && _.oppositeValue !== Currency.RUB,
10257
+ () => props.handleConvert(props.value, Currency.RUB),
10258
+ ],
10259
+ [
10260
+ (_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
10261
+ () => props.handleConvert(props.value, Currency.USD),
10262
+ ],
10263
+ [
10264
+ (_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
10265
+ () => props.handleConvert(props.value, Currency.CNY),
10266
+ ],
10267
+ [() => true, () => props.handleConvert(props.value)],
10268
+ ])(props)?.();
10269
+
10270
+ function renderInput(props) {
10271
+ const { placeholder, rates, selected, value, onChange, setSelected } = props;
10272
+ const ratesOptions = rates.map((_) => ({
10273
+ key: _?.currency?.currency ?? '',
10274
+ text: _?.currency?.currency ?? '',
10275
+ }));
10276
+ const selectedValue = { key: selected, text: selected };
10277
+ return (jsxs("div", { className: "relative flex", children: [jsx(Input, { className: "shrink-0 text-l w-full appearance-none -mr-20", placeholder: placeholder, type: "text", value: value, onChange: onChange }), ratesOptions.length ? (jsx(Select, { className: "absolute right-0", isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
10278
+ }
10279
+
10280
+ const ExchangeCurrencyCalculator = JSX(({ className = '', currencyRatesBuy, currencyRatesSell, button }) => {
10281
+ const [calcState, setCalcState] = useState({
10282
+ inputSell: '',
10283
+ inputBuy: '',
10284
+ selectSell: currencyRatesBuy?.[0]?.currency?.currency || Currency.RUB,
10285
+ selectBuy: currencyRatesSell?.[0]?.currency?.currency || Currency.USD,
10286
+ });
10287
+ const handleSetCalcState = useCallback((newState) => setCalcState((oldState) => ({ ...oldState, ...newState })), []);
10288
+ return (jsxs("div", { className: `flex flex-col gap-m pt-2xl ${className}`, children: [currencyRatesBuy && currencyRatesSell ? (jsxs("div", { className: "grid gap-m", children: [renderInput({
10289
+ placeholder: 'Хочу продать',
10290
+ rates: currencyRatesSell,
10291
+ selected: calcState.selectSell,
10292
+ setSelected: handleSelectSell(calcState, handleSetCalcState, currencyRatesSell),
10293
+ value: calcState.inputSell,
10294
+ onChange: (value) => handleInputSell(handleSetCalcState, currencyRatesSell)(value, calcState.selectSell, calcState.selectBuy),
10295
+ }), renderInput({
10296
+ placeholder: 'Получу',
10297
+ rates: currencyRatesBuy,
10298
+ selected: calcState.selectBuy,
10299
+ setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
10300
+ value: calcState.inputBuy,
10301
+ onChange: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
10302
+ })] })) : null, button?.text ? (jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
10303
+ });
10304
+ const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
10305
+ setCalcState({ selectSell: value });
10306
+ callbackCurrencySelect({
10307
+ value,
10308
+ oppositeValue: calcState.selectBuy,
10309
+ handleConvert: (currencyFrom = calcState.selectSell, currencyTo = calcState.selectBuy) => {
10310
+ handleInputSell(setCalcState, currencyRatesSell)(calcState.inputSell, currencyFrom, currencyTo);
10311
+ },
10312
+ });
10313
+ };
10314
+ const handleSelectBuy = (calcState, setCalcState, currencyRatesBuy) => (value) => {
10315
+ setCalcState({ selectBuy: value });
10316
+ callbackCurrencySelect({
10317
+ value,
10318
+ oppositeValue: calcState.selectSell,
10319
+ handleConvert: (currencyTo = calcState.selectBuy, currencyFrom = calcState.selectSell) => handleInputBuy(setCalcState, currencyRatesBuy)(calcState.inputBuy, currencyTo, currencyFrom),
10320
+ });
10321
+ };
10322
+ const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
10323
+ setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
10324
+ const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.buyExchangeRate ||
10325
+ currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
10326
+ if (rate) {
10327
+ setCalcState({
10328
+ inputBuy: String(calculateResult(value, rate, currencyFrom === Currency.RUB) || ''),
10329
+ });
10330
+ }
10331
+ };
10332
+ const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
10333
+ setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
10334
+ const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.saleExchangeRate ||
10335
+ currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
10336
+ if (rate) {
10337
+ setCalcState({
10338
+ inputSell: String(calculateResult(value, rate, currencyTo === Currency.RUB) || ''),
10339
+ });
10340
+ }
10341
+ };
10342
+
10343
+ const EXCHANGE_RATES_URL = `${API_BASE_URI$1}/exchangerates`;
10344
+ function useFetchExchangeRateData(currentRegion) {
10345
+ const regionCode = currentRegion?.code || '000';
10346
+ const { data } = useAsyncData(EXCHANGE_RATES_URL + `?regionCode=${regionCode}`, fetchJSONUnsafe);
10347
+ return data || {};
10348
+ }
10349
+
10350
+ const ExchangeRateTile = JSX(({ className = '', title = 'Курсы обмена валют', button, ...rest }) => {
10351
+ const currentLocation = useLocation();
10352
+ const exchangeRates = useFetchExchangeRateData(currentLocation);
10353
+ const currencyRates = getCurrencyRates(exchangeRates?.exchangeRate?.currencies);
10354
+ const currencyRatesBuy = currencyRates.filter((_) => _.buyExchangeRate);
10355
+ currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
10356
+ const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
10357
+ currencyRatesSell.push({ currency: { currency: Currency.RUB } });
10358
+ return (jsx(BlockWrapper, { className: style('box-border min-h-80', className), ...rest, children: jsx(BaseTile, { className: "h-full", title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap" }), children: jsxs("div", { className: "flex w-full gap-6xl flex-wrap @lg:flex-nowrap", children: [jsxs("div", { className: "w-full @2xl:w-auto @5xl:w-1/2", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-xl", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation, { address: exchangeRates?.address })] }), jsx(ExchangeCurrencyCalculator, { className: "grow w-1/2", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })] }) }) }));
10359
+ });
10360
+ const getCurrencyRates = (currencies) => currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
10361
+
10136
10362
  const LinkList = JSX(({ className = '', items }) => {
10137
10363
  const link = useLink();
10138
10364
  return (jsx("ul", { className: style('flex flex-col gap-s w-full', className), children: items?.map(renderLinkListItem(link)) }));
@@ -10699,23 +10925,6 @@
10699
10925
  const handleIntersectionActivation$1 = (index) => (prev) => Math.max(prev, index + 1);
10700
10926
  const handleIntersectionDeactivation$1 = (index) => (prev) => Math.min(prev, index);
10701
10927
 
10702
- const REGION_URL = `${API_BASE_URI$1}/region`;
10703
- function useLocation(defaultLocation = 'Москва') {
10704
- const locationStore = useLocalStore();
10705
- return locationStore.location ?? { name: defaultLocation };
10706
- }
10707
- function useDefaultLocation(defaultLocation = 'Москва') {
10708
- const locationStore = useLocalStore();
10709
- const preselectLocation = useCallback(async () => {
10710
- if (!locationStore.location) {
10711
- const region = await fetchJSON(REGION_URL);
10712
- locationStore.location = region ?? { name: defaultLocation };
10713
- }
10714
- }, [locationStore, defaultLocation]);
10715
- useAsyncData(REGION_URL, preselectLocation);
10716
- return locationStore;
10717
- }
10718
-
10719
10928
  const groupBy = (list, keyGetter) => {
10720
10929
  const result = new Map();
10721
10930
  for (const item of list) {
@@ -10944,15 +11153,65 @@
10944
11153
  });
10945
11154
 
10946
11155
  const COMMON_FILTERS_STYLES = 'flex flex-col sm:flex-row sm:flex-wrap gap-3xl pb-2xl';
10947
- const FiltrationForm = JSX(({ filters, field: { field, reset }, onlyOffice, labels }) => {
10948
- const visibleFiltersNum = onlyOffice ? 5 : 6;
10949
- const filtersCheckbox = (filters || []).map((key) => (jsx(Checkbox, { text: labels[key], ...field(key) }, key)));
10950
- const [visibleFilters, hiddenFilters] = visibleFiltersNum > 0
10951
- ? [filtersCheckbox.slice(0, visibleFiltersNum), filtersCheckbox.slice(visibleFiltersNum)]
10952
- : [filtersCheckbox, []];
11156
+ const VISIBLE_FILTERS = [
11157
+ 'workingSaturday',
11158
+ 'premiumService',
11159
+ 'privateBanking',
11160
+ 'remoteWorkplace',
11161
+ 'serviceDisabledPeople',
11162
+ 'transferringDataToBiometricSystem',
11163
+ ];
11164
+ const PRECIOUS_METALS_FILTERS = [
11165
+ 'sellingCoins',
11166
+ 'buyingCoins',
11167
+ 'bullionOperations',
11168
+ 'preciousMetalsOperations',
11169
+ ];
11170
+ const DISABLED_SERVICE_FILTERS = [
11171
+ 'hasAccessibilitySign',
11172
+ 'equippedWithRamp',
11173
+ 'equippedWithLift',
11174
+ 'equippedWithElevator',
11175
+ 'equippedWithStairclimber',
11176
+ 'hasHelpMeButton',
11177
+ ];
11178
+ const VISIBLE_ATMS_FILTERS_NUM = 6;
11179
+ const FiltrationForm = JSX(({ filters = [], field: { field, reset }, onlyOffice, labels }) => {
11180
+ const filtersCheckbox = filters.map((key) => (jsx(Checkbox, { text: labels[key], ...field(key) }, key)));
11181
+ const [visibleFilters, hiddenPreciousMetalsFilters, hiddenDisabledServiceFilters] = getFilters({
11182
+ onlyOffice,
11183
+ filtersCheckbox,
11184
+ });
10953
11185
  const [isUnfolded, { toggle }] = useBool(false);
10954
- return (jsx("div", { children: filters?.length ? (jsx("div", { children: jsxs(Foldable, { children: [jsxs("div", { children: [jsx("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }), jsx(FoldableSection, { className: COMMON_FILTERS_STYLES, isUnfolded: isUnfolded, children: hiddenFilters })] }), jsxs("div", { className: "flex space-x-lg", children: [onlyOffice ? (jsx(DefaultFoldButton, { label: isUnfolded ? 'Меньше фильтров' : 'Больше фильтров', isUnfolded: isUnfolded, embedded: true, short: true, onClick: toggle })) : null, jsxs(Button, { embedded: true, onClick: reset, children: [jsx(ButtonTitle, { children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440" }), jsx(Icon, { name: "CloseIcon", size: "small" })] })] })] }) })) : null }));
11186
+ return (jsx("div", { children: filters?.length ? (jsx("div", { children: jsxs(Foldable, { children: [jsx("div", { children: jsx("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }) }), jsxs("div", { className: "flex space-x-lg pb-2xl", children: [onlyOffice ? (jsx(DefaultFoldButton, { label: isUnfolded ? 'Меньше фильтров' : 'Больше фильтров', isUnfolded: isUnfolded, embedded: true, short: true, onClick: toggle })) : null, jsxs(Button, { embedded: true, onClick: reset, children: [jsx(ButtonTitle, { children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440" }), jsx(Icon, { name: "CloseIcon", size: "small" })] })] }), jsx("div", { children: jsxs(FoldableSection, { isUnfolded: isUnfolded, children: [renderFoldableSubsection('Драгоценные металлы', hiddenPreciousMetalsFilters), renderFoldableSubsection('Специальные возможности', hiddenDisabledServiceFilters)] }) })] }) })) : null }));
10955
11187
  });
11188
+ const getFilters = ({ onlyOffice = false, filtersCheckbox = [] }) => {
11189
+ return onlyOffice ? getOfficeFilters(filtersCheckbox) : getAtmsFilters(filtersCheckbox);
11190
+ };
11191
+ const getOfficeFilters = (filtersCheckbox) => {
11192
+ const visibleFilters = [];
11193
+ const preciousMetalsFilters = [];
11194
+ const disabledServiceFilters = [];
11195
+ for (const item of filtersCheckbox) {
11196
+ if (VISIBLE_FILTERS.includes(item.key)) {
11197
+ visibleFilters.push(item);
11198
+ }
11199
+ if (PRECIOUS_METALS_FILTERS.includes(item.key)) {
11200
+ preciousMetalsFilters.push(item);
11201
+ }
11202
+ if (DISABLED_SERVICE_FILTERS.includes(item.key)) {
11203
+ disabledServiceFilters.push(item);
11204
+ }
11205
+ }
11206
+ return [visibleFilters, preciousMetalsFilters, disabledServiceFilters];
11207
+ };
11208
+ const getAtmsFilters = (filtersCheckbox) => [
11209
+ filtersCheckbox.slice(0, VISIBLE_ATMS_FILTERS_NUM),
11210
+ filtersCheckbox.slice(VISIBLE_ATMS_FILTERS_NUM),
11211
+ ];
11212
+ const renderFoldableSubsection = (text, filters = []) => {
11213
+ return (jsx("div", { children: filters.length > 0 ? (jsxs("div", { className: "space-y-s", children: [jsx(Text, { children: text }), jsx("div", { className: COMMON_FILTERS_STYLES, children: filters })] })) : null }));
11214
+ };
10956
11215
 
10957
11216
  const getVersion = (isPrimary, type) => isPrimary && type !== 'underlined' ? 'primary' : 'secondary';
10958
11217
 
@@ -11530,6 +11789,7 @@
11530
11789
  ErrorBlock,
11531
11790
  Footer,
11532
11791
  GalleryLayout,
11792
+ ExchangeRateTile,
11533
11793
  GrantSupport,
11534
11794
  Header,
11535
11795
  Headline,
@@ -11693,7 +11953,7 @@
11693
11953
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
11694
11954
  });
11695
11955
 
11696
- const packageVersion = "0.14.897";
11956
+ const packageVersion = "0.14.899";
11697
11957
 
11698
11958
  exports.Blocks = Blocks;
11699
11959
  exports.ContentPage = ContentPage;