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

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 (497) 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 +63 -346
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/ui-kit/Loader/Loader.d.ts +1 -1
  6. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  7. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  8. package/dist/components/Blocks.js +0 -6
  9. package/dist/components/Blocks.js.map +1 -1
  10. package/dist/components/Blocks.mobile.js +0 -4
  11. package/dist/components/Blocks.mobile.js.map +1 -1
  12. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  13. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  14. package/dist/components/CardTransfer/CardTransfer.js +1 -8
  15. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  16. package/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
  17. package/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  18. package/dist/components/Carousel/renderCarouselCards.js +2 -2
  19. package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  20. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  21. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  22. package/dist/components/Footer/TextInformationLink.js +1 -1
  23. package/dist/components/Footer/TextInformationLink.js.map +1 -1
  24. package/dist/components/Header/HeaderTopMenu.js +1 -1
  25. package/dist/components/Header/HeaderTopMenu.js.map +1 -1
  26. package/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  27. package/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  28. package/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
  29. package/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  30. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
  31. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  32. package/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
  33. package/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  34. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  35. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  36. package/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
  37. package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  38. package/dist/ui-kit/Loader/Loader.d.ts +1 -1
  39. package/dist/ui-kit/Loader/Loader.js.map +1 -1
  40. package/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  41. package/lib/common.css +1 -1
  42. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  43. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  44. package/lib/components/Blocks.js +0 -6
  45. package/lib/components/Blocks.js.map +1 -1
  46. package/lib/components/Blocks.mobile.js +0 -4
  47. package/lib/components/Blocks.mobile.js.map +1 -1
  48. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  49. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  50. package/lib/components/CardTransfer/CardTransfer.js +1 -8
  51. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  52. package/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
  53. package/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  54. package/lib/components/Carousel/renderCarouselCards.js +2 -2
  55. package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  56. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  57. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  58. package/lib/components/Footer/TextInformationLink.js +1 -1
  59. package/lib/components/Footer/TextInformationLink.js.map +1 -1
  60. package/lib/components/Header/HeaderTopMenu.js +1 -1
  61. package/lib/components/Header/HeaderTopMenu.js.map +1 -1
  62. package/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  63. package/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  64. package/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
  65. package/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  66. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
  67. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  68. package/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
  69. package/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  70. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  71. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  72. package/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
  73. package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  74. package/lib/ui-kit/Loader/Loader.d.ts +1 -1
  75. package/lib/ui-kit/Loader/Loader.js.map +1 -1
  76. package/lib/ui-kit/ProgressBar/ProgressBar.fixture.d.ts +4 -1
  77. package/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  78. package/mobile/bundle/bundle.umd.js +35 -246
  79. package/mobile/bundle/bundle.umd.min.js +1 -1
  80. package/mobile/bundle/ui-kit/Loader/Loader.d.ts +1 -1
  81. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  82. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  83. package/mobile/dist/components/Blocks.js +0 -4
  84. package/mobile/dist/components/Blocks.js.map +1 -1
  85. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  86. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  87. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -8
  88. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  89. package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
  90. package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  91. package/mobile/dist/components/Carousel/renderCarouselCards.js +2 -2
  92. package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  93. package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
  94. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  95. package/mobile/dist/components/Footer/TextInformationLink.js +1 -1
  96. package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
  97. package/mobile/dist/components/Header/HeaderTopMenu.js +1 -1
  98. package/mobile/dist/components/Header/HeaderTopMenu.js.map +1 -1
  99. package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  100. package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  101. package/mobile/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
  102. package/mobile/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  103. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
  104. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  105. package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
  106. package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  107. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  108. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  109. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
  110. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  111. package/mobile/dist/ui-kit/Loader/Loader.d.ts +1 -1
  112. package/mobile/dist/ui-kit/Loader/Loader.js.map +1 -1
  113. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  114. package/mobile/lib/common.css +1 -1
  115. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  116. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  117. package/mobile/lib/components/Blocks.js +0 -4
  118. package/mobile/lib/components/Blocks.js.map +1 -1
  119. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  120. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  121. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -8
  122. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  123. package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
  124. package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  125. package/mobile/lib/components/Carousel/renderCarouselCards.js +2 -2
  126. package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  127. package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
  128. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  129. package/mobile/lib/components/Footer/TextInformationLink.js +1 -1
  130. package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
  131. package/mobile/lib/components/Header/HeaderTopMenu.js +1 -1
  132. package/mobile/lib/components/Header/HeaderTopMenu.js.map +1 -1
  133. package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  134. package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  135. package/mobile/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
  136. package/mobile/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  137. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
  138. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  139. package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
  140. package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  141. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  142. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  143. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
  144. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  145. package/mobile/lib/ui-kit/Loader/Loader.d.ts +1 -1
  146. package/mobile/lib/ui-kit/Loader/Loader.js.map +1 -1
  147. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  148. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  149. package/mobile/src/components/Blocks.ts +0 -4
  150. package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -3
  151. package/mobile/src/components/CardTransfer/CardTransfer.tsx +5 -18
  152. package/mobile/src/components/CardTransfer/SubmitFailedDialog.tsx +2 -2
  153. package/mobile/src/components/Carousel/renderCarouselCards.tsx +2 -6
  154. package/mobile/src/components/Footer/HorizontalNavigation.tsx +1 -1
  155. package/mobile/src/components/Footer/TextInformationLink.tsx +1 -1
  156. package/mobile/src/components/Header/HeaderTopMenu.tsx +1 -5
  157. package/mobile/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +4 -4
  158. package/mobile/src/retail/components/DraftDialog/DraftDialog.tsx +1 -1
  159. package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +1 -1
  160. package/mobile/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
  161. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
  162. package/mobile/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
  163. package/mobile/src/ui-kit/Loader/Loader.tsx +1 -1
  164. package/mobile/src/ui-kit/ProgressBar/ProgressBar.tsx +1 -1
  165. package/package.json +2 -2
  166. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  167. package/src/components/Blocks.mobile.ts +0 -4
  168. package/src/components/Blocks.ts +0 -6
  169. package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -3
  170. package/src/components/CardTransfer/CardTransfer.tsx +5 -18
  171. package/src/components/CardTransfer/SubmitFailedDialog.tsx +2 -2
  172. package/src/components/Carousel/renderCarouselCards.tsx +2 -6
  173. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  174. package/src/components/Footer/TextInformationLink.tsx +1 -1
  175. package/src/components/Header/HeaderTopMenu.tsx +1 -5
  176. package/src/icons/IconName.ts +4 -4
  177. package/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +4 -4
  178. package/src/retail/components/DraftDialog/DraftDialog.tsx +1 -1
  179. package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +1 -1
  180. package/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
  181. package/src/ui-kit/InputRange/InputRange.tsx +1 -1
  182. package/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
  183. package/src/ui-kit/Loader/Loader.tsx +1 -1
  184. package/src/ui-kit/ProgressBar/ProgressBar.fixture.tsx +4 -1
  185. package/src/ui-kit/ProgressBar/ProgressBar.tsx +1 -1
  186. package/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  187. package/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  188. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  189. package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  190. package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  191. package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  192. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  193. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  194. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  195. package/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  196. package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  197. package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  198. package/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -11
  199. package/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  200. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  201. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  202. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  203. package/bundle/ui-kit/Rating/Rating.d.ts +0 -1
  204. package/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  205. package/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
  206. package/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  207. package/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  208. package/dist/components/CarouselLinks/CarouselLinks.js +0 -11
  209. package/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
  210. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  211. package/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
  212. package/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  213. package/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  214. package/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
  215. package/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  216. package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  217. package/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
  218. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  219. package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  220. package/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
  221. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  222. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  223. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
  224. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  225. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  226. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
  227. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  228. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  229. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  230. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  231. package/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  232. package/dist/components/ExchangeRateTile/calculateResult.js +0 -11
  233. package/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
  234. package/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  235. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
  236. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  237. package/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  238. package/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
  239. package/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  240. package/dist/components/ExchangeRateTile/renderInput.d.ts +0 -11
  241. package/dist/components/ExchangeRateTile/renderInput.js +0 -16
  242. package/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
  243. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  244. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
  245. package/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  246. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  247. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
  248. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  249. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  250. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  251. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  252. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  253. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
  254. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  255. package/dist/ui-kit/Rating/Rating.d.ts +0 -1
  256. package/dist/ui-kit/Rating/Rating.js +0 -21
  257. package/dist/ui-kit/Rating/Rating.js.map +0 -1
  258. package/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  259. package/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
  260. package/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  261. package/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  262. package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +0 -5
  263. package/lib/components/CarouselLinks/CarouselLinks.fixture.mobile.d.ts +0 -5
  264. package/lib/components/CarouselLinks/CarouselLinks.js +0 -9
  265. package/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
  266. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  267. package/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
  268. package/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  269. package/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  270. package/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
  271. package/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  272. package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  273. package/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
  274. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  275. package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  276. package/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
  277. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  278. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  279. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
  280. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  281. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  282. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +0 -5
  283. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.d.ts +0 -5
  284. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
  285. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  286. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  287. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  288. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  289. package/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  290. package/lib/components/ExchangeRateTile/calculateResult.js +0 -7
  291. package/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
  292. package/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  293. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
  294. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  295. package/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  296. package/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
  297. package/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  298. package/lib/components/ExchangeRateTile/renderInput.d.ts +0 -11
  299. package/lib/components/ExchangeRateTile/renderInput.js +0 -13
  300. package/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
  301. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  302. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
  303. package/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  304. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  305. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +0 -5
  306. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
  307. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  308. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  309. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  310. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  311. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  312. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
  313. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  314. package/lib/ui-kit/Rating/Rating.d.ts +0 -1
  315. package/lib/ui-kit/Rating/Rating.fixture.d.ts +0 -5
  316. package/lib/ui-kit/Rating/Rating.js +0 -18
  317. package/lib/ui-kit/Rating/Rating.js.map +0 -1
  318. package/mobile/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  319. package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  320. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  321. package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  322. package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  323. package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  324. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  325. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  326. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  327. package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  328. package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  329. package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  330. package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +0 -11
  331. package/mobile/bundle/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  332. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  333. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  334. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  335. package/mobile/bundle/ui-kit/Rating/Rating.d.ts +0 -1
  336. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  337. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +0 -17
  338. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  339. package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  340. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +0 -11
  341. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +0 -1
  342. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  343. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js +0 -2
  344. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  345. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  346. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js +0 -10
  347. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  348. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  349. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +0 -23
  350. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  351. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  352. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +0 -10
  353. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  354. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  355. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -73
  356. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  357. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  358. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +0 -26
  359. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  360. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  361. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  362. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  363. package/mobile/dist/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  364. package/mobile/dist/components/ExchangeRateTile/calculateResult.js +0 -11
  365. package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +0 -1
  366. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  367. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js +0 -21
  368. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  369. package/mobile/dist/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  370. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js +0 -10
  371. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  372. package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +0 -11
  373. package/mobile/dist/components/ExchangeRateTile/renderInput.js +0 -16
  374. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +0 -1
  375. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  376. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -13
  377. package/mobile/dist/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  378. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  379. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -33
  380. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  381. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  382. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  383. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  384. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  385. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -58
  386. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  387. package/mobile/dist/ui-kit/Rating/Rating.d.ts +0 -1
  388. package/mobile/dist/ui-kit/Rating/Rating.js +0 -21
  389. package/mobile/dist/ui-kit/Rating/Rating.js.map +0 -1
  390. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.d.ts +0 -4
  391. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +0 -15
  392. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +0 -1
  393. package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +0 -6
  394. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +0 -9
  395. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +0 -1
  396. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +0 -15
  397. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js +0 -2
  398. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js.map +0 -1
  399. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.d.ts +0 -6
  400. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js +0 -8
  401. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js.map +0 -1
  402. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +0 -7
  403. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +0 -21
  404. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +0 -1
  405. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +0 -6
  406. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +0 -8
  407. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +0 -1
  408. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +0 -24
  409. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +0 -71
  410. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +0 -1
  411. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +0 -5
  412. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +0 -24
  413. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +0 -1
  414. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -9
  415. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +0 -2
  416. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +0 -1
  417. package/mobile/lib/components/ExchangeRateTile/calculateResult.d.ts +0 -2
  418. package/mobile/lib/components/ExchangeRateTile/calculateResult.js +0 -7
  419. package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +0 -1
  420. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +0 -8
  421. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js +0 -18
  422. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +0 -1
  423. package/mobile/lib/components/ExchangeRateTile/formatCurrency.d.ts +0 -1
  424. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js +0 -7
  425. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js.map +0 -1
  426. package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +0 -11
  427. package/mobile/lib/components/ExchangeRateTile/renderInput.js +0 -13
  428. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +0 -1
  429. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.d.ts +0 -9
  430. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js +0 -10
  431. package/mobile/lib/components/ExchangeRateTile/useFetchExchangeRateData.js.map +0 -1
  432. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +0 -5
  433. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +0 -31
  434. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +0 -1
  435. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +0 -31
  436. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +0 -2
  437. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +0 -1
  438. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +0 -7
  439. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +0 -56
  440. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +0 -1
  441. package/mobile/lib/ui-kit/Rating/Rating.d.ts +0 -1
  442. package/mobile/lib/ui-kit/Rating/Rating.js +0 -18
  443. package/mobile/lib/ui-kit/Rating/Rating.js.map +0 -1
  444. package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -36
  445. package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
  446. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
  447. package/mobile/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
  448. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
  449. package/mobile/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
  450. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
  451. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
  452. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -155
  453. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
  454. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
  455. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
  456. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  457. package/mobile/src/components/ExchangeRateTile/calculateResult.ts +0 -9
  458. package/mobile/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
  459. package/mobile/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
  460. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +0 -43
  461. package/mobile/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
  462. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
  463. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
  464. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
  465. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
  466. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
  467. package/mobile/src/ui-kit/Rating/Rating.tsx +0 -39
  468. package/src/components/CarouselLinks/CarouselLinkButton.tsx +0 -36
  469. package/src/components/CarouselLinks/CarouselLinks.example.json +0 -31
  470. package/src/components/CarouselLinks/CarouselLinks.fixture.mobile.tsx +0 -83
  471. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +0 -40
  472. package/src/components/CarouselLinks/CarouselLinks.tsx +0 -50
  473. package/src/components/CarouselLinks/CarouselLinks.ui.json +0 -16
  474. package/src/components/CarouselLinks/CarouselLinksContent.ts +0 -22
  475. package/src/components/ExchangeRateTile/CurrencyProps.ts +0 -6
  476. package/src/components/ExchangeRateTile/CurrencyTable.tsx +0 -64
  477. package/src/components/ExchangeRateTile/CurrentLocation.tsx +0 -28
  478. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +0 -155
  479. package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +0 -12
  480. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +0 -19
  481. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +0 -21
  482. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +0 -60
  483. package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +0 -8
  484. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  485. package/src/components/ExchangeRateTile/calculateResult.ts +0 -9
  486. package/src/components/ExchangeRateTile/callbackCurrencySelect.ts +0 -25
  487. package/src/components/ExchangeRateTile/formatCurrency.ts +0 -8
  488. package/src/components/ExchangeRateTile/renderInput.tsx +0 -43
  489. package/src/components/ExchangeRateTile/useFetchExchangeRateData.ts +0 -25
  490. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +0 -89
  491. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +0 -62
  492. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +0 -82
  493. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +0 -21
  494. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +0 -35
  495. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +0 -145
  496. package/src/ui-kit/Rating/Rating.fixture.tsx +0 -7
  497. package/src/ui-kit/Rating/Rating.tsx +0 -39
@@ -1,8 +0,0 @@
1
- export var Currency;
2
- (function (Currency) {
3
- Currency["RUB"] = "RUB";
4
- Currency["EUR"] = "EUR";
5
- Currency["USD"] = "USD";
6
- Currency["CNY"] = "CNY";
7
- })(Currency || (Currency = {}));
8
- //# sourceMappingURL=CurrencyProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrencyProps.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrencyProps.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;AACb,CAAC,EALW,QAAQ,KAAR,QAAQ,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,21 +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 { Img } from '../../ui-kit/Img/Img.js';
4
- import { Text } from '../../ui-kit/Text/Text.js';
5
- import { style } from '../../utils/style.js';
6
- import { formatCurrency } from './formatCurrency.js';
7
- const TABLE_STYLE_BASE = 'text-m font-light text-secondary-text ';
8
- const TABLE_HEAD_STYLE = `${TABLE_STYLE_BASE} text-left`;
9
- const TABLE_HEAD_STYLE_CENTER = `${TABLE_STYLE_BASE} pl-5xl text-center`;
10
- const TABLE_HEAD_STYLE_RIGHT = `${TABLE_STYLE_BASE} pl-5xl text-right`;
11
- const CURRENCY_ICONS_MAP = {
12
- USD: 'DollarIcon',
13
- EUR: 'EuroIcon',
14
- CNY: 'ChineseYuanRenminbiIcon',
15
- };
16
- export 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) })] })));
17
- const renderCurrencyRow = (exchangeCurrencyItem) => {
18
- const currency = exchangeCurrencyItem?.currency?.currency;
19
- 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));
20
- };
21
- //# sourceMappingURL=CurrencyTable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrencyTable.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrencyTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,gBAAgB,GAAG,wCAAwC,CAAC;AAClE,MAAM,gBAAgB,GAAG,GAAG,gBAAgB,YAAY,CAAC;AACzD,MAAM,uBAAuB,GAAG,GAAG,gBAAgB,qBAAqB,CAAC;AACz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EAAC,yBAAyB,YACrC,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,YAAE,cAAc,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,GAAQ,GACjF,EACL,aAAI,SAAS,EAAC,wBAAwB,YACpC,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,YAAE,cAAc,CAAC,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,8 +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 { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon.js';
4
- import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
5
- import { style } from '../../utils/style.js';
6
- const icon = { icon: 'GpsIcon' };
7
- export 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" })] })] })));
8
- //# sourceMappingURL=CurrentLocation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrentLocation.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrentLocation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAM1C,MAAM,IAAI,GAAY,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAE1C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAuB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACxF,eAAK,SAAS,EAAE,KAAK,CAAC,sDAAsD,EAAE,SAAS,CAAC,aACtF,KAAC,WAAW,OAAK,IAAI,EAAE,aAAa,EAAC,SAAS,EAAC,SAAS,EAAC,UAAU,GAAG,EACtE,eAAK,SAAS,EAAC,iCAAiC,aAC7C,OAAO,CAAC,CAAC,CAAC,CACT,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,mBAAmB,YAC/C,OAAO,GACE,CACb,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,SAAS,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>;
@@ -1,71 +0,0 @@
1
- import { jsxs as _jsxs, jsx as _jsx } 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 { LinkButton } from '../../ui-kit/LinkButton/LinkButton.js';
5
- import { calculateResult, formatValue } from './calculateResult.js';
6
- import { callbackCurrencySelect } from './callbackCurrencySelect.js';
7
- import { Currency } from './CurrencyProps.js';
8
- import { renderInput } from './renderInput.js';
9
- export const ExchangeCurrencyCalculator = JSX(({ className = '', currencyRatesBuy, currencyRatesSell, button }) => {
10
- const [calcState, setCalcState] = useState({
11
- inputSell: '',
12
- inputBuy: '',
13
- selectSell: currencyRatesBuy?.[0]?.currency?.currency || Currency.RUB,
14
- selectBuy: currencyRatesSell?.[0]?.currency?.currency || Currency.USD,
15
- });
16
- const handleSetCalcState = useCallback((newState) => setCalcState((oldState) => ({ ...oldState, ...newState })), []);
17
- return (_jsxs("div", { className: `flex flex-col gap-m pt-2xl ${className}`, children: [currencyRatesBuy && currencyRatesSell ? (_jsxs("div", { className: "grid gap-m", children: [renderInput({
18
- placeholder: 'Хочу продать',
19
- rates: currencyRatesSell,
20
- selected: calcState.selectSell,
21
- setSelected: handleSelectSell(calcState, handleSetCalcState, currencyRatesSell),
22
- value: calcState.inputSell,
23
- onChange: (value) => handleInputSell(handleSetCalcState, currencyRatesSell)(value, calcState.selectSell, calcState.selectBuy),
24
- }), renderInput({
25
- placeholder: 'Получу',
26
- rates: currencyRatesBuy,
27
- selected: calcState.selectBuy,
28
- setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
29
- value: calcState.inputBuy,
30
- onChange: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
31
- })] })) : null, button?.text ? (_jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
32
- });
33
- const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
34
- setCalcState({ selectSell: value });
35
- callbackCurrencySelect({
36
- value,
37
- oppositeValue: calcState.selectBuy,
38
- handleConvert: (currencyFrom = calcState.selectSell, currencyTo = calcState.selectBuy) => {
39
- handleInputSell(setCalcState, currencyRatesSell)(calcState.inputSell, currencyFrom, currencyTo);
40
- },
41
- });
42
- };
43
- const handleSelectBuy = (calcState, setCalcState, currencyRatesBuy) => (value) => {
44
- setCalcState({ selectBuy: value });
45
- callbackCurrencySelect({
46
- value,
47
- oppositeValue: calcState.selectSell,
48
- handleConvert: (currencyTo = calcState.selectBuy, currencyFrom = calcState.selectSell) => handleInputBuy(setCalcState, currencyRatesBuy)(calcState.inputBuy, currencyTo, currencyFrom),
49
- });
50
- };
51
- const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
52
- setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
53
- const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.buyExchangeRate ||
54
- currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
55
- if (rate) {
56
- setCalcState({
57
- inputBuy: String(calculateResult(value, rate, currencyFrom === Currency.RUB) || ''),
58
- });
59
- }
60
- };
61
- const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
62
- setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
63
- const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.saleExchangeRate ||
64
- currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
65
- if (rate) {
66
- setCalcState({
67
- inputSell: String(calculateResult(value, rate, currencyTo === Currency.RUB) || ''),
68
- });
69
- }
70
- };
71
- //# sourceMappingURL=ExchangeCur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ACnF,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,YAAY,CAAC,EAAE,eAAe,CAAC;IACxF,IAAI,IAAI,EAAE;QACR,YAAY,CAAC;YACX,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE,IAAI,EAAE,YAAY,KAAK,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;SACpF,CAAC,CAAC;KACJ;AACH,CAAC,CAAC;AAEJ,MAAM,cAAc,GAClB,CAAC,YAAiD,EAAE,gBAAwC,EAAE,EAAE,CAChG,CAAC,KAAa,EAAE,UAAoB,EAAE,YAAsB,EAAE,EAAE;IAC9D,YAAY,CAAC,EAAE,QAAQ,EAAE,WAAW,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC,CAAC;IACzE,MAAM,IAAI,GACR,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,YAAY,CAAC,EAAE,gBAAgB;QACrF,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,UAAU,CAAC,EAAE,gBAAgB,CAAC;IACtF,IAAI,IAAI,EAAE;QACR,YAAY,CAAC;YACX,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE,IAAI,EAAE,UAAU,KAAK,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;SACnF,CAAC,CAAC;KACJ;AACH,CAAC,CAAC"}
@@ -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,5 +0,0 @@
1
- import '../../setup-fixture';
2
- declare const _default: {
3
- default: any;
4
- };
5
- export default _default;
@@ -1,5 +0,0 @@
1
- import '../../setup-fixture';
2
- declare const _default: {
3
- default: any;
4
- };
5
- export default _default;
@@ -1,24 +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 { useLocation } from '../../hooks/useLocation.js';
4
- import { BaseTile } from '../../ui-kit/BaseTile/BaseTile.js';
5
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
6
- import { Heading } from '../../ui-kit/Heading/Heading.js';
7
- import { style } from '../../utils/style.js';
8
- import { Currency } from './CurrencyProps.js';
9
- import { CurrencyTable } from './CurrencyTable.js';
10
- import { CurrentLocation } from './CurrentLocation.js';
11
- import { ExchangeCurrencyCalculator, } from './ExchangeCurrencyCalculator.js';
12
- import { useFetchExchangeRateData } from './useFetchExchangeRateData.js';
13
- export const ExchangeRateTile = JSX(({ className = '', title = 'Курсы обмена валют', button, ...rest }) => {
14
- const currentLocation = useLocation();
15
- const exchangeRates = useFetchExchangeRateData(currentLocation);
16
- const currencyRates = getCurrencyRates(exchangeRates?.exchangeRate?.currencies);
17
- const currencyRatesBuy = currencyRates.filter((_) => _.buyExchangeRate);
18
- currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
19
- const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
20
- currencyRatesSell.push({ currency: { currency: Currency.RUB } });
21
- 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 })] }) }) }));
22
- });
23
- const getCurrencyRates = (currencies) => currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
24
- //# sourceMappingURL=ExchangeRateTile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeRateTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACL,0BAA0B,GAE3B,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAItE,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,oBAAoB,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpE,MAAM,eAAe,GAAG,WAAW,EAAE,CAAC;IACtC,MAAM,aAAa,GAAG,wBAAwB,CAAC,eAAe,CAAC,CAAC;IAEhE,MAAM,aAAa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gBAAgB,GAAG,CAAC,UAAmC,EAAE,EAAE,CAC/D,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAY,CAAC,CAAC,IAAI,EAAE,CAAC"}
@@ -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 {};
2
- //# sourceMappingURL=ExchangeRateTileContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExchangeRateTileContent.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeRateTileContent.ts"],"names":[],"mappings":""}
@@ -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,7 +0,0 @@
1
- import { roundTo } from '../../utils/roundTo.js';
2
- export const calculateResult = (value, rate, precision) => {
3
- const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
4
- return Number.isInteger(result) ? result : roundTo(result);
5
- };
6
- export const formatValue = (value) => value.replace(/[^\d.,]/g, '').replace(',', '.');
7
- //# sourceMappingURL=calculateResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"calculateResult.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/calculateResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAa,EAAE,IAAY,EAAE,SAAkB,EAAE,EAAE;IACjF,MAAM,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAE/E,OAAO,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AAC7D,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC"}
@@ -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,18 +0,0 @@
1
- import { tableFunc } from '../../utils/tableFunc.js';
2
- import { Currency } from './CurrencyProps.js';
3
- export const callbackCurrencySelect = (props) => tableFunc([
4
- [
5
- (_) => _.value !== Currency.RUB && _.oppositeValue !== Currency.RUB,
6
- () => props.handleConvert(props.value, Currency.RUB),
7
- ],
8
- [
9
- (_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
10
- () => props.handleConvert(props.value, Currency.USD),
11
- ],
12
- [
13
- (_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
14
- () => props.handleConvert(props.value, Currency.CNY),
15
- ],
16
- [() => true, () => props.handleConvert(props.value)],
17
- ])(props)?.();
18
- //# sourceMappingURL=callbackCurrencySelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"callbackCurrencySelect.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/callbackCurrencySelect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAQ3C,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAAqB,EAAE,EAAE,CAC9D,SAAS,CAA6B;IACpC;QACE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,aAAa,KAAK,QAAQ,CAAC,GAAG;QACnE,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;KACrD;IACD;QACE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,aAAa,KAAK,QAAQ,CAAC,GAAG;QACnE,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;KACrD;IACD;QACE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,aAAa,KAAK,QAAQ,CAAC,GAAG;QACnE,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;KACrD;IACD,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;CACrD,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- export declare const formatCurrency: (value?: number) => string;
@@ -1,7 +0,0 @@
1
- import { Currency } from './CurrencyProps.js';
2
- const currencyNumberFormat = new Intl.NumberFormat('ru', {
3
- style: 'currency',
4
- currency: Currency.RUB,
5
- });
6
- export const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
7
- //# sourceMappingURL=formatCurrency.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"formatCurrency.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/formatCurrency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,oBAAoB,GAAG,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE;IACvD,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,QAAQ,CAAC,GAAG;CACvB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,oBAAoB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
@@ -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,13 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { Input } from '../../ui-kit/Input/Input.js';
3
- import { Select } from '../../ui-kit/Select/Select.js';
4
- export function renderInput(props) {
5
- const { placeholder, rates, selected, value, onChange, setSelected } = props;
6
- const ratesOptions = rates.map((_) => ({
7
- key: _?.currency?.currency ?? '',
8
- text: _?.currency?.currency ?? '',
9
- }));
10
- const selectedValue = { key: selected, text: selected };
11
- 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] }));
12
- }
13
- //# sourceMappingURL=renderInput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderInput.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/renderInput.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAUpD,MAAM,UAAU,WAAW,CAAC,KAAiB;IAC3C,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC7E,MAAM,YAAY,GAAa,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC/C,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,IAAI,EAAE;QAChC,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,IAAI,EAAE;KAClC,CAAC,CAAC,CAAC;IACJ,MAAM,aAAa,GAAW,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;IAEhE,OAAO,CACL,eAAK,SAAS,EAAC,eAAe,aAC5B,KAAC,KAAK,IACJ,SAAS,EAAC,+CAA+C,EACzD,WAAW,EAAE,WAAW,EACxB,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,GAClB,EACD,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CACrB,KAAC,MAAM,IACL,SAAS,EAAC,kBAAkB,EAC5B,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAAe,CAAC,EAC/C,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,aAAa,GACpB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC"}
@@ -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,10 +0,0 @@
1
- import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
2
- import { API_BASE_URI } from '../../api/apiBaseUrl.js';
3
- import { fetchJSONUnsafe } from '../../utils/fetchJSON.js';
4
- const EXCHANGE_RATES_URL = `${API_BASE_URI}/exchangerates`;
5
- export function useFetchExchangeRateData(currentRegion) {
6
- const regionCode = currentRegion?.code || '000';
7
- const { data } = useAsyncData(EXCHANGE_RATES_URL + `?regionCode=${regionCode}`, fetchJSONUnsafe);
8
- return data || {};
9
- }
10
- //# sourceMappingURL=useFetchExchangeRateData.js.map
@@ -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,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAWxE,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,aAAa,GAAG,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACjE,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC5D,MAAM,sBAAsB,GAAG,WAAW,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE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AAM,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,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAqBtE,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAC1C,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;IACzC,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC9D,MAAM,uBAAuB,GAAG,WAAW,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACxF,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAAC;IACnC,MAAM,eA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ACL,cAAc,CAAC,QAAQ,CAAC,KAjBpB,MAAM,CAAC,CAAC,CAAC,CAkBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAW;IAClD,OAAO,CACL,eAAK,SAAS,EAAC,wCAAwC,aACrD,MAAC,IAAI,IAAC,IAAI,EAAC,SAAS,aAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,eAAU,EAC3D,cAAK,SAAS,EAAC,QAAQ,YACrB,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,YAC5C,KAAK,GACD,GACH,IACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CAAC,QAAiB;IACvC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,KAAC,GAAG,IACF,SAAS,EAAE,gDAAgD,EAC3D,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAC3B,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
@@ -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>;