@redneckz/wildless-cms-uni-blocks 0.14.840 → 0.14.841

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 (336) hide show
  1. package/bin/migration-scripts/0.14.832.js +1 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +47 -325
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/dist/components/Blocks.js +0 -6
  6. package/dist/components/Blocks.js.map +1 -1
  7. package/dist/components/Blocks.mobile.js +0 -4
  8. package/dist/components/Blocks.mobile.js.map +1 -1
  9. package/lib/common.css +1 -1
  10. package/lib/components/Blocks.js +0 -6
  11. package/lib/components/Blocks.js.map +1 -1
  12. package/lib/components/Blocks.mobile.js +0 -4
  13. package/lib/components/Blocks.mobile.js.map +1 -1
  14. package/mobile/bundle/bundle.umd.js +20 -226
  15. package/mobile/bundle/bundle.umd.min.js +1 -1
  16. package/mobile/dist/components/Blocks.js +0 -4
  17. package/mobile/dist/components/Blocks.js.map +1 -1
  18. package/mobile/lib/common.css +1 -1
  19. package/mobile/lib/components/Blocks.js +0 -4
  20. package/mobile/lib/components/Blocks.js.map +1 -1
  21. package/mobile/src/components/Blocks.ts +0 -4
  22. package/package.json +2 -2
  23. package/src/components/Blocks.mobile.ts +0 -4
  24. package/src/components/Blocks.ts +0 -6
  25. package/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  26. package/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  27. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  28. package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  29. package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  30. package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  31. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  32. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  33. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  34. package/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  35. package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  36. package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  37. package/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -11
  38. package/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  39. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  40. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  41. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  42. package/bundle/ui-kit/Rating/Rating.d.ts +0 -1
  43. package/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  44. package/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
  45. package/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  46. package/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  47. package/dist/components/CarouselLinks/CarouselLinks.js +0 -11
  48. package/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
  49. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  50. package/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
  51. package/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  52. package/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  53. package/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
  54. package/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  55. package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  56. package/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
  57. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  58. package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  59. package/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
  60. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  61. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  62. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
  63. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  64. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  65. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
  66. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  67. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  68. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  69. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  70. package/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  71. package/dist/components/ExchangeRateTile/calculateResult.js +0 -11
  72. package/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
  73. package/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  74. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
  75. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  76. package/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  77. package/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
  78. package/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  79. package/dist/components/ExchangeRateTile/renderInput.d.ts +0 -11
  80. package/dist/components/ExchangeRateTile/renderInput.js +0 -16
  81. package/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
  82. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  83. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
  84. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  85. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  86. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
  87. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  88. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  89. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  90. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  91. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  92. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
  93. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  94. package/dist/ui-kit/Rating/Rating.d.ts +0 -1
  95. package/dist/ui-kit/Rating/Rating.js +0 -21
  96. package/dist/ui-kit/Rating/Rating.js.map +0 -1
  97. package/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  98. package/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
  99. package/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  100. package/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  101. package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +0 -5
  102. package/lib/components/CarouselLinks/CarouselLinks.fixture.mobile.d.ts +0 -5
  103. package/lib/components/CarouselLinks/CarouselLinks.js +0 -9
  104. package/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
  105. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  106. package/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
  107. package/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  108. package/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  109. package/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
  110. package/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  111. package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  112. package/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
  113. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  114. package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  115. package/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
  116. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  117. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  118. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
  119. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  120. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  121. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +0 -5
  122. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.d.ts +0 -5
  123. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
  124. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  125. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  126. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  127. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  128. package/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  129. package/lib/components/ExchangeRateTile/calculateResult.js +0 -7
  130. package/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
  131. package/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  132. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
  133. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  134. package/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  135. package/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
  136. package/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  137. package/lib/components/ExchangeRateTile/renderInput.d.ts +0 -11
  138. package/lib/components/ExchangeRateTile/renderInput.js +0 -13
  139. package/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
  140. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  141. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
  142. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  143. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  144. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +0 -5
  145. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
  146. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  147. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  148. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  149. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  150. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  151. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
  152. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  153. package/lib/ui-kit/Rating/Rating.d.ts +0 -1
  154. package/lib/ui-kit/Rating/Rating.fixture.d.ts +0 -5
  155. package/lib/ui-kit/Rating/Rating.js +0 -18
  156. package/lib/ui-kit/Rating/Rating.js.map +0 -1
  157. package/mobile/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  158. package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  159. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  160. package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  161. package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  162. package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  163. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  164. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  165. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  166. package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  167. package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  168. package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  169. package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -11
  170. package/mobile/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  171. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  172. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  173. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  174. package/mobile/bundle/ui-kit/Rating/Rating.d.ts +0 -1
  175. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  176. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
  177. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  178. package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  179. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +0 -11
  180. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
  181. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  182. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
  183. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  184. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  185. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
  186. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  187. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  188. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
  189. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  190. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  191. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
  192. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  193. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  194. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
  195. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  196. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  197. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
  198. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  199. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  200. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  201. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  202. package/mobile/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  203. package/mobile/dist/components/ExchangeRateTile/calculateResult.js +0 -11
  204. package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
  205. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  206. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
  207. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  208. package/mobile/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  209. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
  210. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  211. package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +0 -11
  212. package/mobile/dist/components/ExchangeRateTile/renderInput.js +0 -16
  213. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
  214. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  215. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
  216. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  217. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  218. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
  219. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  220. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  221. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  222. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  223. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  224. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
  225. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  226. package/mobile/dist/ui-kit/Rating/Rating.d.ts +0 -1
  227. package/mobile/dist/ui-kit/Rating/Rating.js +0 -21
  228. package/mobile/dist/ui-kit/Rating/Rating.js.map +0 -1
  229. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  230. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
  231. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  232. package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  233. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +0 -9
  234. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
  235. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  236. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
  237. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  238. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  239. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
  240. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  241. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  242. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
  243. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  244. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  245. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
  246. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  247. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  248. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
  249. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  250. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  251. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
  252. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  253. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  254. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  255. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  256. package/mobile/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  257. package/mobile/lib/components/ExchangeRateTile/calculateResult.js +0 -7
  258. package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
  259. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  260. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
  261. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  262. package/mobile/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  263. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
  264. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  265. package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +0 -11
  266. package/mobile/lib/components/ExchangeRateTile/renderInput.js +0 -13
  267. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
  268. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  269. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
  270. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  271. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  272. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
  273. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  274. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  275. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  276. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  277. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  278. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
  279. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  280. package/mobile/lib/ui-kit/Rating/Rating.d.ts +0 -1
  281. package/mobile/lib/ui-kit/Rating/Rating.js +0 -18
  282. package/mobile/lib/ui-kit/Rating/Rating.js.map +0 -1
  283. package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -36
  284. package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
  285. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
  286. package/mobile/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
  287. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
  288. package/mobile/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
  289. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
  290. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
  291. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -155
  292. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
  293. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
  294. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
  295. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  296. package/mobile/src/components/ExchangeRateTile/calculateResult.ts +0 -9
  297. package/mobile/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
  298. package/mobile/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
  299. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +0 -43
  300. package/mobile/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
  301. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
  302. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
  303. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
  304. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
  305. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
  306. package/mobile/src/ui-kit/Rating/Rating.tsx +0 -39
  307. package/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -36
  308. package/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
  309. package/src/components/CarouselLinks/CarouselLinks.fixture.mobile.tsx +0 -83
  310. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +0 -40
  311. package/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
  312. package/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
  313. package/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
  314. package/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
  315. package/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
  316. package/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
  317. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -155
  318. package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
  319. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +0 -19
  320. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +0 -21
  321. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
  322. package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
  323. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  324. package/src/components/ExchangeRateTile/calculateResult.ts +0 -9
  325. package/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
  326. package/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
  327. package/src/components/ExchangeRateTile/renderInput.tsx +0 -43
  328. package/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
  329. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
  330. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +0 -62
  331. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
  332. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
  333. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
  334. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
  335. package/src/ui-kit/Rating/Rating.fixture.tsx +0 -7
  336. package/src/ui-kit/Rating/Rating.tsx +0 -39
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFetchExchangeRateData.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/useFetchExchangeRateData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGpD,OAAO,EAAE,eAAe,EAA4B,MAAM,uBAAuB,CAAC;AASlF,MAAM,kBAAkB,GAAG,GAAG,YAAY,gBAAgB,CAAC;AAE3D,MAAM,UAAU,wBAAwB,CAAC,aAAqB;IAC5D,MAAM,UAAU,GAAG,aAAa,EAAE,IAAI,IAAI,KAAK,CAAC;IAEhD,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,kBAAkB,GAAG,eAAe,UAAU,EAAE,EAChD,eAAoD,CACrD,CAAC;IAEF,OAAO,IAAI,IAAI,EAAE,CAAC;AACpB,CAAC"}
@@ -1,5 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type InsuranceAmountBlockContent } from './InsuranceAmountBlockContent';
3
- export interface InsuranceAmountBlockProps extends InsuranceAmountBlockContent, UniBlockProps {
4
- }
5
- export declare const InsuranceAmountBlock: import("@redneckz/uni-jsx").UNIComponent<InsuranceAmountBlockProps, any, any>;
@@ -1,5 +0,0 @@
1
- import '../../setup-fixture';
2
- declare const _default: {
3
- default: any;
4
- };
5
- export default _default;
@@ -1,31 +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 { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
- import { Heading } from '../../ui-kit/Heading/Heading.js';
6
- import { style } from '../../utils/style.js';
7
- import { InsuranceAmountBlockInner } from './InsuranceAmountBlockInner.js';
8
- export const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
9
- const [activeSlideIndex, setActiveSlideIndex] = useState(0);
10
- const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
11
- return (_jsxs(BlockWrapper, { className: style('box-border overflow-hidden relative px-0 space-y-2xl', className), defaultPadding: "p-6xl", ...rest, children: [title ? _jsx(Heading, { className: "text-center", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (_jsx("div", { className: "p-xs bg-secondary-light w-fit mx-auto rounded-md", children: insuranceTabs.map((item, i) => renderNavButton({
12
- title: item?.title,
13
- i,
14
- isActive: Boolean(i === activeSlideIndex),
15
- onClick: () => handleActiveSlideIndex(i),
16
- })) })) : null, _jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: renderInsuranceGalleries({
17
- insuranceTabs,
18
- button,
19
- }) })] }));
20
- });
21
- const renderInsuranceGalleries = ({ insuranceTabs, button }) => {
22
- const insuranceGalleries = insuranceTabs?.map((_) => _.cards);
23
- return insuranceGalleries?.length
24
- ? insuranceGalleries.map((cards, i) => (_jsx(InsuranceAmountBlockInner, { button: button, cards: cards }, String(i))))
25
- : null;
26
- };
27
- function renderNavButton({ title, i, isActive, onClick }) {
28
- const btnClassName = isActive ? 'bg-primary-main text-white rounded-md' : `text-secondary-text`;
29
- return (_jsx("button", { type: "button", onClick: onClick, "aria-label": `Кнопка ${title}`, className: `box-border px-m py-s text-m font-light ${btnClassName}`, children: title }, String(i)));
30
- }
31
- //# sourceMappingURL=InsuranceAmountBlock.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InsuranceAmountBlock.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,YAAY,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EAAC,MAAM,EAChB,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,gBAAgB,MAAM,EAAE,EAC3D,IAAI,EAAC,MAAM,YAEV,wBAAwB,CAAC;oBACxB,aAAa;oBACb,MAAM;iBACP,CAAC,GACE,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,wBAAwB,GAAG,CAAC,EAAE,aAAa,EAAE,MAAM,EAA+B,EAAE,EAAE;IAC1F,MAAM,kBAAkB,GAAG,aAAa,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAE9D,OAAO,kBAAkB,EAAE,MAAM;QAC/B,CAAC,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CACnC,KAAC,yBAAyB,IAAiB,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,IAAvC,MAAM,CAAC,CAAC,CAAC,CAAkC,CAC5E,CAAC;QACJ,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,SAAS,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAkB;IACtE,MAAM,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,uCAAuC,CAAC,CAAC,CAAC,qBAAqB,CAAC;IAEhG,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,UAAU,KAAK,EAAE,EAC7B,SAAS,EAAE,0CAA0C,YAAY,EAAE,YAElE,KAAK,IALD,MAAM,CAAC,CAAC,CAAC,CAMP,CACV,CAAC;AACJ,CAAC"}
@@ -1,31 +0,0 @@
1
- import { type TitleProps } from '../../model/HeadlineType';
2
- import { type IconProps } from '../../model/Picture';
3
- import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
4
- import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
- /**
6
- * @title Кнопка выбора программы
7
- */
8
- export declare type CardItem = IconProps & {
9
- /** @title Страховой взнос */
10
- fee?: number;
11
- /** @title Страховая сумма */
12
- sum?: number;
13
- /** @title Ссылка на программу*/
14
- href?: string;
15
- };
16
- /**
17
- * @title Вкладка
18
- */
19
- export declare type InsuranceAmountBlockTab = TitleProps & {
20
- /** @title Содержимое вкладки */
21
- cards?: CardItem[];
22
- };
23
- /**
24
- * @title Страховые суммы
25
- */
26
- export declare type InsuranceAmountBlockContent = UniBlockContent & TitleProps & {
27
- /** @title Список вкладок */
28
- insuranceTabs?: InsuranceAmountBlockTab[];
29
- /** @title Кнопка */
30
- button?: LinkButtonContent;
31
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=InsuranceAmountBlockContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InsuranceAmountBlockContent.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { type ComponentType } from '../../model/ComponentType';
2
- import { type ButtonCommonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
3
- import { type InsuranceAmountBlockTab } from './InsuranceAmountBlockContent';
4
- export interface InsuranceAmountBlockInnerProps extends InsuranceAmountBlockTab, ComponentType {
5
- button?: ButtonCommonContent;
6
- }
7
- export declare const InsuranceAmountBlockInner: import("@redneckz/uni-jsx").UNIComponent<InsuranceAmountBlockInnerProps, any, any>;
@@ -1,56 +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 { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
- import { useCarouselControls } from '../../hooks/useCarouselControls.js';
5
- import { Img } from '../../ui-kit/Img/Img.js';
6
- import { LinkButton } from '../../ui-kit/LinkButton/LinkButton.js';
7
- import { renderArrows } from '../../ui-kit/LinkButton/renderArrows.js';
8
- import { Text } from '../../ui-kit/Text/Text.js';
9
- import { toLocalNumberFormat } from '../../utils/toLocalNumberFormat.js';
10
- export const InsuranceAmountBlockInner = JSX(({ className = '', cards = [], button }) => {
11
- const [selectedCardIndex, setSelectedCardIndex] = useState(0);
12
- const handleSelectedCardIndex = useCallback((_) => setSelectedCardIndex(_), []);
13
- const galleryLength = cards.length;
14
- const CARD_VIEW_COUNT = 2;
15
- const [activeIndex, controls] = useCarouselControls({
16
- itemCount: galleryLength,
17
- visibleItemCount: CARD_VIEW_COUNT,
18
- });
19
- const { canDec, canInc } = controls;
20
- const activeHref = cards[activeIndex]?.href;
21
- return (_jsxs("section", { role: "listitem", className: `min-w-full text-center ${className}`, children: [_jsxs("div", { className: "relative overflow-hidden", "aria-label": "\u0421\u0442\u0440\u0430\u0445\u043E\u0432\u044B\u0435 \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B", children: [galleryLength
22
- ? renderGallery({
23
- activeIndex,
24
- cards,
25
- selectedCardIndex,
26
- onClick: handleSelectedCardIndex,
27
- })
28
- : null, renderArrows({
29
- ...controls,
30
- btnClass: ['left-12', 'right-12'],
31
- className: 'top-16',
32
- }), canDec ? (_jsx("div", { className: "absolute top-0 left-0 h-full w-32 bg-opacity-from-white" })) : null, canInc ? (_jsx("div", { className: "absolute top-0 right-0 h-full w-32 bg-opacity-to-white" })) : null] }), _jsx(LinkButton, { className: "w-60 text-center", version: "primary", ...button, href: activeHref })] }));
33
- });
34
- function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }) {
35
- const tabsShiftWidth = activeIndex * 460;
36
- const cardsAlignStyle = cards.length > 2 ? 'justify-start' : 'justify-center';
37
- return (_jsx("div", { style: { transform: `translateX(-${tabsShiftWidth}px)` }, className: "duration-1000 px-6xl", children: _jsx("div", { className: `w-full flex flex-nowrap gap-s pb-6xl ${cardsAlignStyle}`, children: cards.map((slide, i) => renderNavButton({
38
- slide,
39
- i,
40
- isActive: Boolean(i === selectedCardIndex),
41
- onClick: () => onClick(i),
42
- })) }) }));
43
- }
44
- function renderNavButton({ slide, i, isActive, onClick }) {
45
- const btnClassName = isActive
46
- ? 'shadow-dark-blue border-primary-main'
47
- : `ease-in duration-300 border-gray`;
48
- return (_jsxs("button", { type: "button", onClick: onClick, className: `p-3xl min-w-fit flex items-center gap-2xl bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (_jsx(Img, { className: "p-lg rounded-full bg-secondary-light", image: slide.icon, width: "108", height: "108" })) : null, _jsxs("div", { className: "flex gap-s", children: [slide?.sum ? renderValueBlock('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
49
- }
50
- function renderValueBlock(title, sum) {
51
- return (_jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [_jsxs(Text, { size: "text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] }), _jsx("div", { className: "mt-2xs", children: _jsx(Text, { size: "text-l", color: "text-secondary-text", children: title }) })] }));
52
- }
53
- function renderDoneIcon(isActive) {
54
- return isActive ? (_jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: { icon: 'DoneIcon' }, width: "24", height: "24" })) : null;
55
- }
56
- //# sourceMappingURL=InsuranceAmountBlockInner.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InsuranceAmountBlockInner.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,YA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@ -1 +0,0 @@
1
- export declare const Rating: () => any;
@@ -1,5 +0,0 @@
1
- import '../../setup-fixture';
2
- declare const _default: {
3
- default: any;
4
- };
5
- export default _default;
@@ -1,18 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import { Icon } from '../Icon/Icon.js';
4
- export const Rating = () => {
5
- const [rating, setRating] = useState(0);
6
- const [hoverRating, setHoverRating] = useState(0);
7
- const handleClick = (event) => {
8
- setRating(parseInt(event.currentTarget.id));
9
- };
10
- const handleMouseEnter = (event) => {
11
- setHoverRating(parseInt(event.currentTarget.id));
12
- };
13
- const handleMouseLeave = () => {
14
- setHoverRating(0);
15
- };
16
- return (_jsx("div", { className: "flex justify-center", children: [...Array(5)].map((_, i) => (_jsx("span", { onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, id: `${i + 1}`, children: _jsx(Icon, { name: "StarIcon", iconVersion: rating >= i + 1 || hoverRating >= i + 1 ? 'color' : 'gray', className: "cursor-pointer w-14 h-14" }) }, i))) }));
17
- };
18
- //# sourceMappingURL=Rating.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rating.js","sourceRoot":"","sources":["../../../src/ui-kit/Rating/Rating.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,EAAE;IACzB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACxC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElD,MAAM,WAAW,GAAG,CAAC,KAAwC,EAAE,EAAE;QAC/D,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC,CAAC;IAEF,MAAM,gBAAgB,GAAG,CAAC,KAAwC,EAAE,EAAE;QACpE,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC;IACnD,CAAC,CAAC;IAEF,MAAM,gBAAgB,GAAG,GAAG,EAAE;QAC5B,cAAc,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,qBAAqB,YACjC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC3B,eAEE,OAAO,EAAE,WAAW,EACpB,YAAY,EAAE,gBAAgB,EAC9B,YAAY,EAAE,gBAAgB,EAC9B,EAAE,EAAE,GAAG,CAAC,GAAG,CAAC,EAAE,YAEd,KAAC,IAAI,IACH,IAAI,EAAC,UAAU,EACf,WAAW,EAAE,MAAM,IAAI,CAAC,GAAG,CAAC,IAAI,WAAW,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EACvE,SAAS,EAAC,0BAA0B,GACpC,IAVG,CAAC,CAWD,CACR,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { type ComponentType } from '../../model/ComponentType';
2
- import { type CarouselLinkProps } from './CarouselLinksContent';
3
- export declare type CarouselLinkButtonProps = CarouselLinkProps & ComponentType;
4
- export declare const CarouselLinkButton: import("@redneckz/uni-jsx").UNIComponent<CarouselLinkButtonProps, any, any>;
@@ -1,6 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type CarouselLinksContent } from './CarouselLinksContent';
3
- interface CarouselLinksProps extends CarouselLinksContent, UniBlockProps {
4
- }
5
- export declare const CarouselLinks: import("@redneckz/uni-jsx").UNIComponent<CarouselLinksProps, any, any>;
6
- export {};
@@ -1,15 +0,0 @@
1
- import { type AdditionalDescriptionProps, type HeadlineCommonProps } from '../../model/HeadlineType';
2
- import { type LinkProps } from '../../model/LinkProps';
3
- import { type IconProps } from '../../model/Picture';
4
- import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
- /**
6
- * @title Шапка колонки
7
- */
8
- export declare type CarouselLinkProps = IconProps & LinkProps;
9
- /** @title Карусель с ссылками */
10
- export declare type CarouselLinksContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & {
11
- /** @title Ссылки */
12
- links?: CarouselLinkProps[];
13
- /** @title Отступы вложенных компонентов */
14
- isInnerPadding?: boolean;
15
- };
@@ -1,6 +0,0 @@
1
- export declare enum Currency {
2
- RUB = "RUB",
3
- EUR = "EUR",
4
- USD = "USD",
5
- CNY = "CNY"
6
- }
@@ -1,7 +0,0 @@
1
- import { type ComponentType } from '../../model/ComponentType';
2
- import { type ExchangeCurrencyItem } from './ExchangeCurrencyCalculator';
3
- interface CurrencyTableProps extends ComponentType {
4
- exchangeCurrencyItems: ExchangeCurrencyItem[];
5
- }
6
- export declare const CurrencyTable: import("@redneckz/uni-jsx").UNIComponent<CurrencyTableProps, any, any>;
7
- export {};
@@ -1,6 +0,0 @@
1
- import { type ComponentType } from '../../model/ComponentType';
2
- interface CurrentLocationProps extends ComponentType {
3
- address?: string;
4
- }
5
- export declare const CurrentLocation: import("@redneckz/uni-jsx").UNIComponent<CurrentLocationProps, any, any>;
6
- export {};
@@ -1,24 +0,0 @@
1
- import { type ComponentType } from '../../model/ComponentType';
2
- import { type ButtonCommonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
3
- import { Currency } from './CurrencyProps';
4
- export interface ExchangeCurrencyItem {
5
- currency?: {
6
- id?: number;
7
- code?: string;
8
- currency?: Currency;
9
- };
10
- buyExchangeRate?: number;
11
- saleExchangeRate?: number;
12
- }
13
- export interface ExchangeCurrencyCalculatorProps extends ComponentType {
14
- currencyRatesBuy: ExchangeCurrencyItem[];
15
- currencyRatesSell: ExchangeCurrencyItem[];
16
- button?: ButtonCommonContent;
17
- }
18
- export interface CalcState {
19
- inputSell: string;
20
- inputBuy: string;
21
- selectSell: Currency;
22
- selectBuy: Currency;
23
- }
24
- export declare const ExchangeCurrencyCalculator: import("@redneckz/uni-jsx").UNIComponent<ExchangeCurrencyCalculatorProps, any, any>;
@@ -1,5 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type ExchangeRateTileContent } from './ExchangeRateTileContent';
3
- export interface ExchangeRateTileProps extends ExchangeRateTileContent, UniBlockProps {
4
- }
5
- export declare const ExchangeRateTile: import("@redneckz/uni-jsx").UNIComponent<ExchangeRateTileProps, any, any>;
@@ -1,9 +0,0 @@
1
- import { type TitleProps } from '../../model/HeadlineType';
2
- import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
3
- import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
4
- /**
5
- * @title Курсы обмена валют
6
- */
7
- export declare type ExchangeRateTileContent = UniBlockContent & TitleProps & {
8
- button?: LinkButtonContent;
9
- };
@@ -1,2 +0,0 @@
1
- export declare const calculateResult: (value: string, rate: number, precision: boolean) => number;
2
- export declare const formatValue: (value: string) => string;
@@ -1,8 +0,0 @@
1
- import { Currency } from './CurrencyProps';
2
- interface TableFuncProps {
3
- value: Currency;
4
- oppositeValue: Currency;
5
- handleConvert: (currencyFrom?: Currency, currencyTo?: Currency) => void;
6
- }
7
- export declare const callbackCurrencySelect: (props: TableFuncProps) => void;
8
- export {};
@@ -1 +0,0 @@
1
- export declare const formatCurrency: (value?: number) => string;
@@ -1,11 +0,0 @@
1
- import { type ControlProps } from '../../model/ControlProps';
2
- import { type PlaceholderProps } from '../../model/PlaceholderProps';
3
- import { type Currency } from './CurrencyProps';
4
- import { type ExchangeCurrencyItem } from './ExchangeCurrencyCalculator';
5
- interface InputProps extends PlaceholderProps, ControlProps<string> {
6
- rates: ExchangeCurrencyItem[];
7
- selected: string;
8
- setSelected: (value: Currency) => void;
9
- }
10
- export declare function renderInput(props: InputProps): any;
11
- export {};
@@ -1,9 +0,0 @@
1
- import { type ExchangeCurrencyItem } from '../../components/ExchangeRateTile/ExchangeCurrencyCalculator';
2
- import { type Region } from '../../hooks/useRegions';
3
- export interface ExchangeData {
4
- exchangeRate?: {
5
- currencies?: ExchangeCurrencyItem[];
6
- };
7
- address?: string;
8
- }
9
- export declare function useFetchExchangeRateData(currentRegion: Region): ExchangeData;
@@ -1,5 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type InsuranceAmountBlockContent } from './InsuranceAmountBlockContent';
3
- export interface InsuranceAmountBlockProps extends InsuranceAmountBlockContent, UniBlockProps {
4
- }
5
- export declare const InsuranceAmountBlock: import("@redneckz/uni-jsx").UNIComponent<InsuranceAmountBlockProps, any, any>;
@@ -1,31 +0,0 @@
1
- import { type TitleProps } from '../../model/HeadlineType';
2
- import { type IconProps } from '../../model/Picture';
3
- import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
4
- import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
- /**
6
- * @title Кнопка выбора программы
7
- */
8
- export declare type CardItem = IconProps & {
9
- /** @title Страховой взнос */
10
- fee?: number;
11
- /** @title Страховая сумма */
12
- sum?: number;
13
- /** @title Ссылка на программу*/
14
- href?: string;
15
- };
16
- /**
17
- * @title Вкладка
18
- */
19
- export declare type InsuranceAmountBlockTab = TitleProps & {
20
- /** @title Содержимое вкладки */
21
- cards?: CardItem[];
22
- };
23
- /**
24
- * @title Страховые суммы
25
- */
26
- export declare type InsuranceAmountBlockContent = UniBlockContent & TitleProps & {
27
- /** @title Список вкладок */
28
- insuranceTabs?: InsuranceAmountBlockTab[];
29
- /** @title Кнопка */
30
- button?: LinkButtonContent;
31
- };
@@ -1,7 +0,0 @@
1
- import { type ComponentType } from '../../model/ComponentType';
2
- import { type ButtonCommonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
3
- import { type InsuranceAmountBlockTab } from './InsuranceAmountBlockContent';
4
- export interface InsuranceAmountBlockInnerProps extends InsuranceAmountBlockTab, ComponentType {
5
- button?: ButtonCommonContent;
6
- }
7
- export declare const InsuranceAmountBlockInner: import("@redneckz/uni-jsx").UNIComponent<InsuranceAmountBlockInnerProps, any, any>;
@@ -1 +0,0 @@
1
- export declare const Rating: () => any;
@@ -1,4 +0,0 @@
1
- import { type ComponentType } from '../../model/ComponentType';
2
- import { type CarouselLinkProps } from './CarouselLinksContent';
3
- export declare type CarouselLinkButtonProps = CarouselLinkProps & ComponentType;
4
- export declare const CarouselLinkButton: import("@redneckz/uni-jsx").UNIComponent<CarouselLinkButtonProps, any, any>;
@@ -1,17 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.CarouselLinkButton = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const useLink_1 = require("../../hooks/useLink");
6
- const Img_1 = require("../../ui-kit/Img/Img");
7
- const style_1 = require("../../utils/style");
8
- exports.CarouselLinkButton = (0, uni_jsx_1.JSX)(({ icon, ...linkProps }) => {
9
- const link = (0, useLink_1.useLink)();
10
- const { text, href, target, onClick } = link(linkProps);
11
- const textStyle = 'font-light md:font-normal text-primary-text text-center text-xs md:text-sm whitespace-wrap';
12
- return text ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('p-3 rounded-lg bg-white text-secondary-text flex justify-center'), children: (0, jsx_runtime_1.jsx)("a", { role: "link", href: href, target: target, onClick: onClick, children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center gap-3 break-words max-w-[150px]", children: [icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-7 h-7 md:w-12 md:h-12", image: {
13
- ...icon,
14
- iconVersion: icon?.iconVersion,
15
- }, alt: text })) : null, (0, jsx_runtime_1.jsx)("div", { className: textStyle, children: text })] }) }) })) : null;
16
- });
17
- //# sourceMappingURL=CarouselLinkButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselLinkButton.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinkButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,8CAA2C;AAC3C,6CAA0C;AAK7B,QAAA,kBAAkB,GAAG,IAAA,aAAG,EAA0B,CAAC,EAAE,IAAI,EAAE,GAAG,SAAS,EAAE,EAAE,EAAE;IACxF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IACvB,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;IAExD,MAAM,SAAS,GACb,4FAA4F,CAAC;IAE/F,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,iEAAiE,CAAC,YACtF,8BAAG,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,YACzD,iCAAK,SAAS,EAAC,4DAA4D,aACxE,IAAI,CAAC,CAAC,CAAC,CACN,uBAAC,SAAG,IACF,SAAS,EAAC,yBAAyB,EACnC,KAAK,EAAE;4BACL,GAAG,IAAI;4BACP,WAAW,EAAE,IAAI,EAAE,WAAW;yBAC/B,EACD,GAAG,EAAE,IAAI,GACT,CACH,CAAC,CAAC,CAAC,IAAI,EACR,gCAAK,SAAS,EAAE,SAAS,YAAG,IAAI,GAAO,IACnC,GACJ,GACA,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type CarouselLinksContent } from './CarouselLinksContent';
3
- interface CarouselLinksProps extends CarouselLinksContent, UniBlockProps {
4
- }
5
- export declare const CarouselLinks: import("@redneckz/uni-jsx").UNIComponent<CarouselLinksProps, any, any>;
6
- export {};
@@ -1,11 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.CarouselLinks = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
- const style_1 = require("../../utils/style");
7
- const Headline_1 = require("../Headline/Headline");
8
- const CarouselLinkButton_1 = require("./CarouselLinkButton");
9
- exports.CarouselLinks = (0, uni_jsx_1.JSX)(({ className, additionalDescription, description, links, title, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { defaultPadding: "p-5xl", className: (0, style_1.style)('overflow-hidden', className), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col lg:flex-row gap-5 justify-between", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex-1", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { isEmbedded: true, title: title, description: description, as: "h1", align: "text-left", headlineVersion: "XL" }), (0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isEmbedded: true })] }), links?.length ? renderLinks(links) : null] }) })));
10
- const renderLinks = (links) => ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('lg:grid-cols-9 lg:[&>*]:col-span-2 lg:[&>*:nth-child(14n+2)]:col-span-3 lg:[&>*:nth-child(7n+5)]:col-span-3', 'lg:[&>*:nth-child(7n+6)]:col-span-3 lg:[&>*:nth-child(7n+7)]:col-span-3 lg:[&>*:nth-child(14n+10)]:col-span-3 lg:w-3/6', 'grid-cols-3 max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+3)]:col-span-2 max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+4)]:col-span-2', 'grid gap-3 lg:gap-5'), children: links.map((link, i) => ((0, jsx_runtime_1.jsx)(CarouselLinkButton_1.CarouselLinkButton, { ...link }, String(i)))) }));
11
- //# sourceMappingURL=CarouselLinks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AAEzD,6CAA0C;AAC1C,mDAAgD;AAChD,6DAA0D;AAK7C,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,EAAE,qBAAqB,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5E,uBAAC,2BAAY,IAAC,cAAc,EAAC,OAAO,EAAC,SAAS,EAAE,IAAA,aAAK,EAAC,iBAAiB,EAAE,SAAS,CAAC,KAAM,IAAI,YAC3F,iCAAK,SAAS,EAAC,iDAAiD,aAC9D,iCAAK,SAAS,EAAC,QAAQ,aACrB,uBAAC,mBAAQ,IACP,UAAU,EAAE,IAAI,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,EAAE,EAAC,IAAI,EACP,KAAK,EAAC,WAAW,EACjB,eAAe,EAAC,IAAI,GACpB,EACF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,WAAW,EAAE,qBAAqB,EAClC,KAAK,EAAC,WAAW,EACjB,UAAU,EAAE,IAAI,GAChB,IACE,EACL,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IACtC,GACO,CAChB,CACF,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAA0B,EAAE,EAAE,CAAC,CAClD,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,6GAA6G,EAC7G,wHAAwH,EACxH,yIAAyI,EACzI,qBAAqB,CACtB,YAEA,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,uBAAC,uCAAkB,OAAqB,IAAI,IAAnB,MAAM,CAAC,CAAC,CAAC,CAAc,CACjD,CAAC,GACE,CACP,CAAC"}
@@ -1,15 +0,0 @@
1
- import { type AdditionalDescriptionProps, type HeadlineCommonProps } from '../../model/HeadlineType';
2
- import { type LinkProps } from '../../model/LinkProps';
3
- import { type IconProps } from '../../model/Picture';
4
- import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
- /**
6
- * @title Шапка колонки
7
- */
8
- export declare type CarouselLinkProps = IconProps & LinkProps;
9
- /** @title Карусель с ссылками */
10
- export declare type CarouselLinksContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & {
11
- /** @title Ссылки */
12
- links?: CarouselLinkProps[];
13
- /** @title Отступы вложенных компонентов */
14
- isInnerPadding?: boolean;
15
- };
@@ -1,2 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=CarouselLinksContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselLinksContent.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinksContent.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export declare enum Currency {
2
- RUB = "RUB",
3
- EUR = "EUR",
4
- USD = "USD",
5
- CNY = "CNY"
6
- }
@@ -1,10 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.Currency = void 0;
3
- var Currency;
4
- (function (Currency) {
5
- Currency["RUB"] = "RUB";
6
- Currency["EUR"] = "EUR";
7
- Currency["USD"] = "USD";
8
- Currency["CNY"] = "CNY";
9
- })(Currency = exports.Currency || (exports.Currency = {}));
10
- //# sourceMappingURL=CurrencyProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrencyProps.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrencyProps.ts"],"names":[],"mappings":";;AAAA,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;AACb,CAAC,EALW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAKnB"}
@@ -1,7 +0,0 @@
1
- import { type ComponentType } from '../../model/ComponentType';
2
- import { type ExchangeCurrencyItem } from './ExchangeCurrencyCalculator';
3
- interface CurrencyTableProps extends ComponentType {
4
- exchangeCurrencyItems: ExchangeCurrencyItem[];
5
- }
6
- export declare const CurrencyTable: import("@redneckz/uni-jsx").UNIComponent<CurrencyTableProps, any, any>;
7
- export {};
@@ -1,23 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.CurrencyTable = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Img_1 = require("../../ui-kit/Img/Img");
6
- const Text_1 = require("../../ui-kit/Text/Text");
7
- const style_1 = require("../../utils/style");
8
- const formatCurrency_1 = require("./formatCurrency");
9
- const TABLE_STYLE_BASE = 'text-m font-light text-secondary-text ';
10
- const TABLE_HEAD_STYLE = `${TABLE_STYLE_BASE} text-left`;
11
- const TABLE_HEAD_STYLE_CENTER = `${TABLE_STYLE_BASE} pl-5xl text-center`;
12
- const TABLE_HEAD_STYLE_RIGHT = `${TABLE_STYLE_BASE} pl-5xl text-right`;
13
- const CURRENCY_ICONS_MAP = {
14
- USD: 'DollarIcon',
15
- EUR: 'EuroIcon',
16
- CNY: 'ChineseYuanRenminbiIcon',
17
- };
18
- exports.CurrencyTable = (0, uni_jsx_1.JSX)(({ className, exchangeCurrencyItems }) => ((0, jsx_runtime_1.jsxs)("table", { className: (0, style_1.style)('h-fit w-full', className), children: [(0, jsx_runtime_1.jsx)("thead", { children: (0, jsx_runtime_1.jsxs)("tr", { children: [(0, jsx_runtime_1.jsx)("th", { className: TABLE_HEAD_STYLE, children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), (0, jsx_runtime_1.jsx)("th", { className: TABLE_HEAD_STYLE_CENTER, children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", children: "\u041A\u0443\u043F\u0438\u0442\u044C" }) }), (0, jsx_runtime_1.jsx)("th", { className: TABLE_HEAD_STYLE_RIGHT, children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" }) })] }) }), (0, jsx_runtime_1.jsx)("tbody", { children: exchangeCurrencyItems.map(renderCurrencyRow) })] })));
19
- const renderCurrencyRow = (exchangeCurrencyItem) => {
20
- const currency = exchangeCurrencyItem?.currency?.currency;
21
- return ((0, jsx_runtime_1.jsxs)("tr", { className: "pb-2xs text-h6", children: [(0, jsx_runtime_1.jsx)("td", { className: "pt-m m-auto flex text-left", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center gap-xs", children: [currency ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", children: currency })] }) }), (0, jsx_runtime_1.jsx)("td", { className: "pt-m pl-5xl text-center", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", children: (0, formatCurrency_1.formatCurrency)(exchangeCurrencyItem?.saleExchangeRate) }) }), (0, jsx_runtime_1.jsx)("td", { className: "pt-m pl-5xl text-right", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", children: (0, formatCurrency_1.formatCurrency)(exchangeCurrencyItem?.buyExchangeRate) }) })] }, currency));
22
- };
23
- //# sourceMappingURL=CurrencyTable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrencyTable.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrencyTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,8CA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I,EAAE,kBAAkB,CAAC,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAC9E,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,YAAE,QAAQ,GAAQ,IAClC,GACH,EACL,+BAAI,SAAS,EAAC,yBAAyB,YACrC,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,YAAE,IAAA,+BAAc,EAAC,oBAAoB,EAAE,gBAAgB,CAAC,GAAQ,GACjF,EACL,+BAAI,SAAS,EAAC,wBAAwB,YACpC,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,YAAE,IAAA,+BAAc,EAAC,oBAAoB,EAAE,eAAe,CAAC,GAAQ,GAChF,KAdE,QAAQ,CAeZ,CACN,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import { type ComponentType } from '../../model/ComponentType';
2
- interface CurrentLocationProps extends ComponentType {
3
- address?: string;
4
- }
5
- export declare const CurrentLocation: import("@redneckz/uni-jsx").UNIComponent<CurrentLocationProps, any, any>;
6
- export {};
@@ -1,10 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.CurrentLocation = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const RoundedIcon_1 = require("../../ui-kit/Icon/RoundedIcon");
6
- const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
7
- const style_1 = require("../../utils/style");
8
- const icon = { icon: 'GpsIcon' };
9
- exports.CurrentLocation = (0, uni_jsx_1.JSX)(({ className = '', address }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex gap-s w-full justify-between @sm:justify-center', className), children: [(0, jsx_runtime_1.jsx)(RoundedIcon_1.RoundedIcon, { ...icon, iconBgVersion: "primary", className: "shrink-0" }), (0, jsx_runtime_1.jsxs)("div", { className: "space-y-2xs whitespace-pre-wrap", children: [address ? ((0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-l", color: "text-primary-main", children: address })) : null, (0, jsx_runtime_1.jsx)(Paragraph_1.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" })] })] })));
10
- //# sourceMappingURL=CurrentLocation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrentLocation.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrentLocation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,+DAA4D;AAC5D,gEAA6D;AAC7D,6CAA0C;AAM1C,MAAM,IAAI,GAAY,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAE7B,QAAA,eAAe,GAAG,IAAA,aAAG,EAAuB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACxF,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,sDAAsD,EAAE,SAAS,CAAC,aACtF,uBAAC,yBAAW,OAAK,IAAI,EAAE,aAAa,EAAC,SAAS,EAAC,SAAS,EAAC,UAAU,GAAG,EACtE,iCAAK,SAAS,EAAC,iCAAiC,aAC7C,OAAO,CAAC,CAAC,CAAC,CACT,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,mBAAmB,YAC/C,OAAO,GACE,CACb,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,uLAExC,IACR,IACF,CACP,CAAC,CAAC"}
@@ -1,24 +0,0 @@
1
- import { type ComponentType } from '../../model/ComponentType';
2
- import { type ButtonCommonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
3
- import { Currency } from './CurrencyProps';
4
- export interface ExchangeCurrencyItem {
5
- currency?: {
6
- id?: number;
7
- code?: string;
8
- currency?: Currency;
9
- };
10
- buyExchangeRate?: number;
11
- saleExchangeRate?: number;
12
- }
13
- export interface ExchangeCurrencyCalculatorProps extends ComponentType {
14
- currencyRatesBuy: ExchangeCurrencyItem[];
15
- currencyRatesSell: ExchangeCurrencyItem[];
16
- button?: ButtonCommonContent;
17
- }
18
- export interface CalcState {
19
- inputSell: string;
20
- inputBuy: string;
21
- selectSell: Currency;
22
- selectBuy: Currency;
23
- }
24
- export declare const ExchangeCurrencyCalculator: import("@redneckz/uni-jsx").UNIComponent<ExchangeCurrencyCalculatorProps, any, any>;