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

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 (388) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +30 -148
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/ui-kit/Loader/Loader.d.ts +1 -1
  5. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  6. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  7. package/dist/components/Blocks.js +0 -4
  8. package/dist/components/Blocks.js.map +1 -1
  9. package/dist/components/Blocks.mobile.js +0 -4
  10. package/dist/components/Blocks.mobile.js.map +1 -1
  11. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  12. package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  13. package/dist/components/CardTransfer/CardTransfer.js +1 -8
  14. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  15. package/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
  16. package/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  17. package/dist/components/Carousel/renderCarouselCards.js +2 -2
  18. package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  19. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  20. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  21. package/dist/components/Footer/TextInformationLink.js +1 -1
  22. package/dist/components/Footer/TextInformationLink.js.map +1 -1
  23. package/dist/components/Header/HeaderTopMenu.js +1 -1
  24. package/dist/components/Header/HeaderTopMenu.js.map +1 -1
  25. package/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  26. package/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  27. package/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
  28. package/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  29. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
  30. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  31. package/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
  32. package/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  33. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  34. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  35. package/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
  36. package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  37. package/dist/ui-kit/Loader/Loader.d.ts +1 -1
  38. package/dist/ui-kit/Loader/Loader.js.map +1 -1
  39. package/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  40. package/lib/common.css +1 -1
  41. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  42. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  43. package/lib/components/Blocks.js +0 -4
  44. package/lib/components/Blocks.js.map +1 -1
  45. package/lib/components/Blocks.mobile.js +0 -4
  46. package/lib/components/Blocks.mobile.js.map +1 -1
  47. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  48. package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  49. package/lib/components/CardTransfer/CardTransfer.js +1 -8
  50. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  51. package/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
  52. package/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  53. package/lib/components/Carousel/Carousel.fixture.d.ts +0 -2
  54. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +0 -1
  55. package/lib/components/Carousel/renderCarouselCards.js +2 -2
  56. package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  57. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  58. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  59. package/lib/components/Footer/TextInformationLink.js +1 -1
  60. package/lib/components/Footer/TextInformationLink.js.map +1 -1
  61. package/lib/components/Header/HeaderTopMenu.js +1 -1
  62. package/lib/components/Header/HeaderTopMenu.js.map +1 -1
  63. package/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  64. package/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  65. package/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
  66. package/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  67. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
  68. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  69. package/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
  70. package/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  71. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  72. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  73. package/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
  74. package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  75. package/lib/ui-kit/Loader/Loader.d.ts +1 -1
  76. package/lib/ui-kit/Loader/Loader.js.map +1 -1
  77. package/lib/ui-kit/ProgressBar/ProgressBar.fixture.d.ts +4 -1
  78. package/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  79. package/mobile/bundle/bundle.umd.js +22 -147
  80. package/mobile/bundle/bundle.umd.min.js +1 -1
  81. package/mobile/bundle/ui-kit/Loader/Loader.d.ts +1 -1
  82. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  83. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  84. package/mobile/dist/components/Blocks.js +0 -4
  85. package/mobile/dist/components/Blocks.js.map +1 -1
  86. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  87. package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  88. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -8
  89. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  90. package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js +1 -1
  91. package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  92. package/mobile/dist/components/Carousel/renderCarouselCards.js +2 -2
  93. package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  94. package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -1
  95. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  96. package/mobile/dist/components/Footer/TextInformationLink.js +1 -1
  97. package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
  98. package/mobile/dist/components/Header/HeaderTopMenu.js +1 -1
  99. package/mobile/dist/components/Header/HeaderTopMenu.js.map +1 -1
  100. package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  101. package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  102. package/mobile/dist/retail/components/DraftDialog/DraftDialog.js +1 -1
  103. package/mobile/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  104. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
  105. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  106. package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js +1 -1
  107. package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  108. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  109. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  110. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js +1 -1
  111. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  112. package/mobile/dist/ui-kit/Loader/Loader.d.ts +1 -1
  113. package/mobile/dist/ui-kit/Loader/Loader.js.map +1 -1
  114. package/mobile/dist/ui-kit/ProgressBar/ProgressBar.js +1 -1
  115. package/mobile/lib/common.css +1 -1
  116. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  117. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  118. package/mobile/lib/components/Blocks.js +0 -4
  119. package/mobile/lib/components/Blocks.js.map +1 -1
  120. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
  121. package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
  122. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -8
  123. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  124. package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js +1 -1
  125. package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
  126. package/mobile/lib/components/Carousel/renderCarouselCards.js +2 -2
  127. package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  128. package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -1
  129. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  130. package/mobile/lib/components/Footer/TextInformationLink.js +1 -1
  131. package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
  132. package/mobile/lib/components/Header/HeaderTopMenu.js +1 -1
  133. package/mobile/lib/components/Header/HeaderTopMenu.js.map +1 -1
  134. package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
  135. package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
  136. package/mobile/lib/retail/components/DraftDialog/DraftDialog.js +1 -1
  137. package/mobile/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
  138. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +1 -1
  139. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  140. package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js +1 -1
  141. package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
  142. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  143. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  144. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js +1 -1
  145. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  146. package/mobile/lib/ui-kit/Loader/Loader.d.ts +1 -1
  147. package/mobile/lib/ui-kit/Loader/Loader.js.map +1 -1
  148. package/mobile/lib/ui-kit/ProgressBar/ProgressBar.js +1 -1
  149. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  150. package/mobile/src/components/Blocks.ts +0 -4
  151. package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -3
  152. package/mobile/src/components/CardTransfer/CardTransfer.tsx +5 -18
  153. package/mobile/src/components/CardTransfer/SubmitFailedDialog.tsx +2 -2
  154. package/mobile/src/components/Carousel/renderCarouselCards.tsx +2 -6
  155. package/mobile/src/components/Footer/HorizontalNavigation.tsx +1 -1
  156. package/mobile/src/components/Footer/TextInformationLink.tsx +1 -1
  157. package/mobile/src/components/Header/HeaderTopMenu.tsx +1 -5
  158. package/mobile/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +4 -4
  159. package/mobile/src/retail/components/DraftDialog/DraftDialog.tsx +1 -1
  160. package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +1 -1
  161. package/mobile/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
  162. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
  163. package/mobile/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
  164. package/mobile/src/ui-kit/Loader/Loader.tsx +1 -1
  165. package/mobile/src/ui-kit/ProgressBar/ProgressBar.tsx +1 -1
  166. package/package.json +2 -2
  167. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  168. package/src/components/Blocks.mobile.ts +0 -4
  169. package/src/components/Blocks.ts +0 -4
  170. package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -3
  171. package/src/components/CardTransfer/CardTransfer.tsx +5 -18
  172. package/src/components/CardTransfer/SubmitFailedDialog.tsx +2 -2
  173. package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -16
  174. package/src/components/Carousel/Carousel.fixture.tsx +0 -35
  175. package/src/components/Carousel/renderCarouselCards.tsx +2 -6
  176. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  177. package/src/components/Footer/TextInformationLink.tsx +1 -1
  178. package/src/components/Header/HeaderTopMenu.tsx +1 -5
  179. package/src/icons/IconName.ts +4 -4
  180. package/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +4 -4
  181. package/src/retail/components/DraftDialog/DraftDialog.tsx +1 -1
  182. package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +1 -1
  183. package/src/ui-kit/Calculator/CalculatorStyle.tsx +1 -1
  184. package/src/ui-kit/InputRange/InputRange.tsx +1 -1
  185. package/src/ui-kit/LinkButton/ButtonInner.tsx +1 -1
  186. package/src/ui-kit/Loader/Loader.tsx +1 -1
  187. package/src/ui-kit/ProgressBar/ProgressBar.fixture.tsx +4 -1
  188. package/src/ui-kit/ProgressBar/ProgressBar.tsx +1 -1
  189. package/bundle/components/CarouselCard/CarouselCard.d.ts +0 -5
  190. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  191. package/bundle/components/CarouselCard/constants.d.ts +0 -2
  192. package/bundle/components/CarouselCard/titleSize.d.ts +0 -1
  193. package/bundle/components/CarouselCard/titleSize.mobile.d.ts +0 -1
  194. package/bundle/components/Depository/Depository.d.ts +0 -11
  195. package/bundle/components/Depository/DepositoryContent.d.ts +0 -5
  196. package/bundle/components/Depository/DepositoryFilter.d.ts +0 -9
  197. package/bundle/components/Depository/DepositoryItem.d.ts +0 -2
  198. package/bundle/components/Depository/useDepository.d.ts +0 -15
  199. package/bundle/ui-kit/Unit/Unit.d.ts +0 -2
  200. package/bundle/ui-kit/Unit/UnitProps.d.ts +0 -8
  201. package/dist/components/CarouselCard/CarouselCard.d.ts +0 -5
  202. package/dist/components/CarouselCard/CarouselCard.js +0 -16
  203. package/dist/components/CarouselCard/CarouselCard.js.map +0 -1
  204. package/dist/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  205. package/dist/components/CarouselCard/CarouselCardContent.js +0 -2
  206. package/dist/components/CarouselCard/CarouselCardContent.js.map +0 -1
  207. package/dist/components/CarouselCard/constants.d.ts +0 -2
  208. package/dist/components/CarouselCard/constants.js +0 -7
  209. package/dist/components/CarouselCard/constants.js.map +0 -1
  210. package/dist/components/CarouselCard/titleSize.d.ts +0 -1
  211. package/dist/components/CarouselCard/titleSize.js +0 -4
  212. package/dist/components/CarouselCard/titleSize.js.map +0 -1
  213. package/dist/components/CarouselCard/titleSize.mobile.d.ts +0 -1
  214. package/dist/components/CarouselCard/titleSize.mobile.js +0 -4
  215. package/dist/components/CarouselCard/titleSize.mobile.js.map +0 -1
  216. package/dist/components/Depository/Depository.d.ts +0 -11
  217. package/dist/components/Depository/Depository.js +0 -42
  218. package/dist/components/Depository/Depository.js.map +0 -1
  219. package/dist/components/Depository/DepositoryContent.d.ts +0 -5
  220. package/dist/components/Depository/DepositoryContent.js +0 -2
  221. package/dist/components/Depository/DepositoryContent.js.map +0 -1
  222. package/dist/components/Depository/DepositoryFilter.d.ts +0 -9
  223. package/dist/components/Depository/DepositoryFilter.js +0 -9
  224. package/dist/components/Depository/DepositoryFilter.js.map +0 -1
  225. package/dist/components/Depository/DepositoryItem.d.ts +0 -2
  226. package/dist/components/Depository/DepositoryItem.js +0 -15
  227. package/dist/components/Depository/DepositoryItem.js.map +0 -1
  228. package/dist/components/Depository/useDepository.d.ts +0 -15
  229. package/dist/components/Depository/useDepository.js +0 -22
  230. package/dist/components/Depository/useDepository.js.map +0 -1
  231. package/dist/ui-kit/Unit/Unit.d.ts +0 -2
  232. package/dist/ui-kit/Unit/Unit.js +0 -9
  233. package/dist/ui-kit/Unit/Unit.js.map +0 -1
  234. package/dist/ui-kit/Unit/UnitProps.d.ts +0 -8
  235. package/dist/ui-kit/Unit/UnitProps.js +0 -2
  236. package/dist/ui-kit/Unit/UnitProps.js.map +0 -1
  237. package/lib/components/CarouselCard/CarouselCard.d.ts +0 -5
  238. package/lib/components/CarouselCard/CarouselCard.fixture.d.ts +0 -11
  239. package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +0 -7
  240. package/lib/components/CarouselCard/CarouselCard.js +0 -14
  241. package/lib/components/CarouselCard/CarouselCard.js.map +0 -1
  242. package/lib/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  243. package/lib/components/CarouselCard/CarouselCardContent.js +0 -2
  244. package/lib/components/CarouselCard/CarouselCardContent.js.map +0 -1
  245. package/lib/components/CarouselCard/constants.d.ts +0 -2
  246. package/lib/components/CarouselCard/constants.js +0 -5
  247. package/lib/components/CarouselCard/constants.js.map +0 -1
  248. package/lib/components/CarouselCard/titleSize.d.ts +0 -1
  249. package/lib/components/CarouselCard/titleSize.js +0 -2
  250. package/lib/components/CarouselCard/titleSize.js.map +0 -1
  251. package/lib/components/CarouselCard/titleSize.mobile.d.ts +0 -1
  252. package/lib/components/CarouselCard/titleSize.mobile.js +0 -2
  253. package/lib/components/CarouselCard/titleSize.mobile.js.map +0 -1
  254. package/lib/components/Depository/Depository.d.ts +0 -11
  255. package/lib/components/Depository/Depository.fixture.d.ts +0 -5
  256. package/lib/components/Depository/Depository.fixture.mobile.d.ts +0 -5
  257. package/lib/components/Depository/Depository.js +0 -40
  258. package/lib/components/Depository/Depository.js.map +0 -1
  259. package/lib/components/Depository/DepositoryContent.d.ts +0 -5
  260. package/lib/components/Depository/DepositoryContent.js +0 -2
  261. package/lib/components/Depository/DepositoryContent.js.map +0 -1
  262. package/lib/components/Depository/DepositoryFilter.d.ts +0 -9
  263. package/lib/components/Depository/DepositoryFilter.js +0 -7
  264. package/lib/components/Depository/DepositoryFilter.js.map +0 -1
  265. package/lib/components/Depository/DepositoryItem.d.ts +0 -2
  266. package/lib/components/Depository/DepositoryItem.js +0 -13
  267. package/lib/components/Depository/DepositoryItem.js.map +0 -1
  268. package/lib/components/Depository/useDepository.d.ts +0 -15
  269. package/lib/components/Depository/useDepository.js +0 -19
  270. package/lib/components/Depository/useDepository.js.map +0 -1
  271. package/lib/ui-kit/Unit/Unit.d.ts +0 -2
  272. package/lib/ui-kit/Unit/Unit.js +0 -7
  273. package/lib/ui-kit/Unit/Unit.js.map +0 -1
  274. package/lib/ui-kit/Unit/UnitProps.d.ts +0 -8
  275. package/lib/ui-kit/Unit/UnitProps.js +0 -2
  276. package/lib/ui-kit/Unit/UnitProps.js.map +0 -1
  277. package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +0 -5
  278. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  279. package/mobile/bundle/components/CarouselCard/constants.d.ts +0 -2
  280. package/mobile/bundle/components/CarouselCard/titleSize.d.ts +0 -1
  281. package/mobile/bundle/components/Depository/Depository.d.ts +0 -11
  282. package/mobile/bundle/components/Depository/DepositoryContent.d.ts +0 -5
  283. package/mobile/bundle/components/Depository/DepositoryFilter.d.ts +0 -9
  284. package/mobile/bundle/components/Depository/DepositoryItem.d.ts +0 -2
  285. package/mobile/bundle/components/Depository/useDepository.d.ts +0 -15
  286. package/mobile/bundle/ui-kit/Unit/Unit.d.ts +0 -2
  287. package/mobile/bundle/ui-kit/Unit/UnitProps.d.ts +0 -8
  288. package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +0 -5
  289. package/mobile/dist/components/CarouselCard/CarouselCard.js +0 -16
  290. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +0 -1
  291. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  292. package/mobile/dist/components/CarouselCard/CarouselCardContent.js +0 -2
  293. package/mobile/dist/components/CarouselCard/CarouselCardContent.js.map +0 -1
  294. package/mobile/dist/components/CarouselCard/constants.d.ts +0 -2
  295. package/mobile/dist/components/CarouselCard/constants.js +0 -7
  296. package/mobile/dist/components/CarouselCard/constants.js.map +0 -1
  297. package/mobile/dist/components/CarouselCard/titleSize.d.ts +0 -1
  298. package/mobile/dist/components/CarouselCard/titleSize.js +0 -4
  299. package/mobile/dist/components/CarouselCard/titleSize.js.map +0 -1
  300. package/mobile/dist/components/Depository/Depository.d.ts +0 -11
  301. package/mobile/dist/components/Depository/Depository.js +0 -42
  302. package/mobile/dist/components/Depository/Depository.js.map +0 -1
  303. package/mobile/dist/components/Depository/DepositoryContent.d.ts +0 -5
  304. package/mobile/dist/components/Depository/DepositoryContent.js +0 -2
  305. package/mobile/dist/components/Depository/DepositoryContent.js.map +0 -1
  306. package/mobile/dist/components/Depository/DepositoryFilter.d.ts +0 -9
  307. package/mobile/dist/components/Depository/DepositoryFilter.js +0 -9
  308. package/mobile/dist/components/Depository/DepositoryFilter.js.map +0 -1
  309. package/mobile/dist/components/Depository/DepositoryItem.d.ts +0 -2
  310. package/mobile/dist/components/Depository/DepositoryItem.js +0 -15
  311. package/mobile/dist/components/Depository/DepositoryItem.js.map +0 -1
  312. package/mobile/dist/components/Depository/useDepository.d.ts +0 -15
  313. package/mobile/dist/components/Depository/useDepository.js +0 -22
  314. package/mobile/dist/components/Depository/useDepository.js.map +0 -1
  315. package/mobile/dist/ui-kit/Unit/Unit.d.ts +0 -2
  316. package/mobile/dist/ui-kit/Unit/Unit.js +0 -9
  317. package/mobile/dist/ui-kit/Unit/Unit.js.map +0 -1
  318. package/mobile/dist/ui-kit/Unit/UnitProps.d.ts +0 -8
  319. package/mobile/dist/ui-kit/Unit/UnitProps.js +0 -2
  320. package/mobile/dist/ui-kit/Unit/UnitProps.js.map +0 -1
  321. package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +0 -5
  322. package/mobile/lib/components/CarouselCard/CarouselCard.js +0 -14
  323. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +0 -1
  324. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +0 -11
  325. package/mobile/lib/components/CarouselCard/CarouselCardContent.js +0 -2
  326. package/mobile/lib/components/CarouselCard/CarouselCardContent.js.map +0 -1
  327. package/mobile/lib/components/CarouselCard/constants.d.ts +0 -2
  328. package/mobile/lib/components/CarouselCard/constants.js +0 -5
  329. package/mobile/lib/components/CarouselCard/constants.js.map +0 -1
  330. package/mobile/lib/components/CarouselCard/titleSize.d.ts +0 -1
  331. package/mobile/lib/components/CarouselCard/titleSize.js +0 -2
  332. package/mobile/lib/components/CarouselCard/titleSize.js.map +0 -1
  333. package/mobile/lib/components/Depository/Depository.d.ts +0 -11
  334. package/mobile/lib/components/Depository/Depository.js +0 -40
  335. package/mobile/lib/components/Depository/Depository.js.map +0 -1
  336. package/mobile/lib/components/Depository/DepositoryContent.d.ts +0 -5
  337. package/mobile/lib/components/Depository/DepositoryContent.js +0 -2
  338. package/mobile/lib/components/Depository/DepositoryContent.js.map +0 -1
  339. package/mobile/lib/components/Depository/DepositoryFilter.d.ts +0 -9
  340. package/mobile/lib/components/Depository/DepositoryFilter.js +0 -7
  341. package/mobile/lib/components/Depository/DepositoryFilter.js.map +0 -1
  342. package/mobile/lib/components/Depository/DepositoryItem.d.ts +0 -2
  343. package/mobile/lib/components/Depository/DepositoryItem.js +0 -13
  344. package/mobile/lib/components/Depository/DepositoryItem.js.map +0 -1
  345. package/mobile/lib/components/Depository/useDepository.d.ts +0 -15
  346. package/mobile/lib/components/Depository/useDepository.js +0 -19
  347. package/mobile/lib/components/Depository/useDepository.js.map +0 -1
  348. package/mobile/lib/ui-kit/Unit/Unit.d.ts +0 -2
  349. package/mobile/lib/ui-kit/Unit/Unit.js +0 -7
  350. package/mobile/lib/ui-kit/Unit/Unit.js.map +0 -1
  351. package/mobile/lib/ui-kit/Unit/UnitProps.d.ts +0 -8
  352. package/mobile/lib/ui-kit/Unit/UnitProps.js +0 -2
  353. package/mobile/lib/ui-kit/Unit/UnitProps.js.map +0 -1
  354. package/mobile/src/components/CarouselCard/CarouselCard.example.json +0 -14
  355. package/mobile/src/components/CarouselCard/CarouselCard.tsx +0 -47
  356. package/mobile/src/components/CarouselCard/CarouselCard.ui.json +0 -1
  357. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +0 -13
  358. package/mobile/src/components/CarouselCard/constants.ts +0 -6
  359. package/mobile/src/components/CarouselCard/titleSize.tsx +0 -1
  360. package/mobile/src/components/Depository/Depository.example.json +0 -6
  361. package/mobile/src/components/Depository/Depository.tsx +0 -84
  362. package/mobile/src/components/Depository/Depository.ui.json +0 -1
  363. package/mobile/src/components/Depository/DepositoryContent.ts +0 -6
  364. package/mobile/src/components/Depository/DepositoryFilter.tsx +0 -41
  365. package/mobile/src/components/Depository/DepositoryItem.tsx +0 -31
  366. package/mobile/src/components/Depository/useDepository.ts +0 -46
  367. package/mobile/src/ui-kit/Unit/Unit.tsx +0 -26
  368. package/mobile/src/ui-kit/Unit/UnitProps.ts +0 -8
  369. package/src/components/CarouselCard/CarouselCard.example.json +0 -14
  370. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +0 -28
  371. package/src/components/CarouselCard/CarouselCard.fixture.tsx +0 -53
  372. package/src/components/CarouselCard/CarouselCard.tsx +0 -47
  373. package/src/components/CarouselCard/CarouselCard.ui.json +0 -1
  374. package/src/components/CarouselCard/CarouselCardContent.ts +0 -13
  375. package/src/components/CarouselCard/constants.ts +0 -6
  376. package/src/components/CarouselCard/titleSize.mobile.tsx +0 -1
  377. package/src/components/CarouselCard/titleSize.tsx +0 -1
  378. package/src/components/Depository/Depository.example.json +0 -6
  379. package/src/components/Depository/Depository.fixture.mobile.tsx +0 -12
  380. package/src/components/Depository/Depository.fixture.tsx +0 -12
  381. package/src/components/Depository/Depository.tsx +0 -84
  382. package/src/components/Depository/Depository.ui.json +0 -1
  383. package/src/components/Depository/DepositoryContent.ts +0 -6
  384. package/src/components/Depository/DepositoryFilter.tsx +0 -41
  385. package/src/components/Depository/DepositoryItem.tsx +0 -31
  386. package/src/components/Depository/useDepository.ts +0 -46
  387. package/src/ui-kit/Unit/Unit.tsx +0 -26
  388. package/src/ui-kit/Unit/UnitProps.ts +0 -8
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDepository.js","sourceRoot":"","sources":["../../../src/components/Depository/useDepository.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AACxE,qDAAoD;AACpD,qDAAkF;AAClF,uDAAoD;AAoBpD,MAAM,cAAc,GAAG,GAAG,yBAAY,aAAa,CAAC;AAE7C,MAAM,aAAa,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAuB,EAAE,EAAE;IAC9F,MAAM,eAAe,GAAG,SAAS,CAAC,CAAC,CAAC,IAAA,uBAAU,EAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACrE,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,IAAA,uBAAU,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAE/D,MAAM,YAAY,GAAG,IAAI,eAAe,CAAC,cAAc,CAAC,CAAC;IAEzD,YAAY,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IACvC,YAAY,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IACvC,YAAY,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACjC,YAAY,CAAC,GAAG,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAAC;IACpD,YAAY,CAAC,GAAG,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;IAEhD,MAAM,WAAW,GAAG,IAAI,YAAY,CAAC,QAAQ,EAAE,EAAE,CAAC;IAElD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAC3B,cAAc,GAAG,WAAW,EAC5B,2BAAsD,CACvD,CAAC;IAEF,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;AAChE,CAAC,CAAC;AApBW,QAAA,aAAa,iBAoBxB"}
@@ -1,2 +0,0 @@
1
- import { type UnitProps } from './UnitProps';
2
- export declare const Unit: import("@redneckz/uni-jsx").UNIComponent<UnitProps, any, any>;
@@ -1,9 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.Unit = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Text_1 = require("../Text/Text");
6
- exports.Unit = (0, uni_jsx_1.JSX)(({ prefix, unit, suffix }) => ((0, jsx_runtime_1.jsxs)("div", { className: "w-full flex items-end", children: [prefix ? ((0, jsx_runtime_1.jsx)("div", { className: "gradient-color-text", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h2", children: prefix }) })) : null, unit ? (
7
- // -mb-n добавлен для выравнивания unit относительно prefix и suffix, тк шрифт font-mohave неправильно высчитывает line-height
8
- (0, jsx_runtime_1.jsx)("div", { className: "-mb-6 @xl:-mb-4", children: (0, jsx_runtime_1.jsx)("span", { className: "font-mohave text-title-large sm:text-title-extra gradient-color-text", children: unit }) })) : null, suffix ? ((0, jsx_runtime_1.jsx)("div", { className: "gradient-color-text", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h2", children: suffix }) })) : null] })));
9
- //# sourceMappingURL=Unit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Unit.js","sourceRoot":"","sources":["../../../src/ui-kit/Unit/Unit.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uCAAoC;AAGvB,QAAA,IAAI,GAAG,IAAA,aAAG,EAAY,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAC/D,iCAAK,SAAS,EAAC,uBAAuB,aACnC,MAAM,CAAC,CAAC,CAAC,CACR,gCAAK,SAAS,EAAC,qBAAqB,YAClC,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,YAAE,MAAM,GAAQ,GAChC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,CAAC,CAAC;QACN,8HAA8H;QAC9H,gCAAK,SAAS,EAAC,iBAAiB,YAC9B,iCAAM,SAAS,EAAC,sEAAsE,YACnF,IAAI,GACA,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,CAAC,CAAC,CACR,gCAAK,SAAS,EAAC,qBAAqB,YAClC,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,YAAE,MAAM,GAAQ,GAChC,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- export interface UnitProps {
2
- /** @title Префикс */
3
- prefix?: string;
4
- /** @title Значение */
5
- unit?: number;
6
- /** @title Суффикс */
7
- suffix?: string;
8
- }
@@ -1,2 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=UnitProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UnitProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Unit/UnitProps.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type CarouselCardContent } from './CarouselCardContent';
3
- export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
4
- }
5
- export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
@@ -1,11 +0,0 @@
1
- import '../../setup-fixture';
2
- import { type CarouselCardContent } from './CarouselCardContent';
3
- export declare const CARD: CarouselCardContent;
4
- export declare const CARD_NEW: CarouselCardContent;
5
- export declare const CARD_MINI: CarouselCardContent;
6
- declare const _default: {
7
- default: any;
8
- new: any;
9
- mini: any;
10
- };
11
- export default _default;
@@ -1,7 +0,0 @@
1
- import '../../setup-fixture';
2
- import { type CarouselCardContent } from './CarouselCardContent';
3
- export declare const CARD: CarouselCardContent;
4
- declare const _default: {
5
- default: any;
6
- };
7
- export default _default;
@@ -1,14 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
- import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection.js';
5
- import { style } from '../../utils/style.js';
6
- import { Headline } from '../Headline/Headline.js';
7
- import { titleSize } from './titleSize.js';
8
- const layerBaseStyle = 'z-10 border border-solid w-full h-full';
9
- const layerStyle = style(layerBaseStyle, 'absolute hidden @xl:block border-transparent');
10
- export const CarouselCard = JSX(({ className, title, description, button, ...rest }) => (_jsx(BlockWrapper, { className: style('sm:pl-6xl sm:pb-4xl @container-normal', className), defaultPadding: "p-0", ...rest, children: _jsxs("div", { className: "relative h-full", children: [_jsx("div", { className: style(layerStyle, 'top-9 right-12 bg-green-dark') }), _jsx("div", { className: style(layerStyle, 'top-6 right-8 bg-green') }), _jsx("div", { className: style(layerStyle, 'top-3 right-4 bg-green-light') }), _jsxs("div", { className: style(layerBaseStyle, 'relative p-xl sm:p-5xl bg-white border-transparent sm:border-green-more-light'), children: [_jsx(Headline, { title: title, description: description, headlineVersion: titleSize, align: "text-left", isEmbedded: true }), renderButtonsSection([button], {
11
- className: 'mt-m sm:mt-6xl sm:justify-center',
12
- isVertical: true,
13
- })] })] }) })));
14
- //# sourceMappingURL=CarouselCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEpF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIxC,MAAM,cAAc,GAAG,wCAAwC,CAAC;AAChE,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,EAAE,8CAA8C,CAAC,CAAC;AAEzF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACtD,KAAC,YAAY,IACX,SAAS,EAAE,KAAK,CAAC,uCAAuC,EAAE,SAAS,CAAC,EACpE,cAAc,EAAC,KAAK,KAChB,IAAI,YAER,eAAK,SAAS,EAAC,iBAAiB,aAC9B,cAAK,SAAS,EAAE,KAAK,CAAC,UAAU,EAAE,8BAA8B,CAAC,GAAI,EACrE,cAAK,SAAS,EAAE,KAAK,CAAC,UAAU,EAAE,wBAAwB,CAAC,GAAI,EAC/D,cAAK,SAAS,EAAE,KAAK,CAAC,UAAU,EAAE,8BAA8B,CAAC,GAAI,EACrE,eACE,SAAS,EAAE,KAAK,CACd,cAAc,EACd,+EAA+E,CAChF,aAED,KAAC,QAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,SAAS,EAC1B,KAAK,EAAC,WAAW,EACjB,UAAU,EAAE,IAAI,GAChB,EACD,oBAAoB,CAAC,CAAC,MAAM,CAAC,EAAE;wBAC9B,SAAS,EAAE,kCAAkC;wBAC7C,UAAU,EAAE,IAAI;qBACjB,CAAC,IACE,IACF,GACO,CAChB,CACF,CAAC"}
@@ -1,11 +0,0 @@
1
- import { type HeadlineCommonProps } from '../../model/HeadlineType';
2
- import { type SizeVersion } from '../../model/SizeVersion';
3
- import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
4
- import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
- /**
6
- * @title Карточка карусели
7
- */
8
- export declare type CarouselCardContent = UniBlockContent & HeadlineCommonProps & {
9
- button?: LinkButtonContent;
10
- carouselVersion?: SizeVersion;
11
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=CarouselCardContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCardContent.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { type SizeVersion } from '../../model/SizeVersion';
2
- export declare const cardStyleMap: Record<SizeVersion, string>;
@@ -1,5 +0,0 @@
1
- export const cardStyleMap = {
2
- normal: 'min-w-full justify-center items-center m-2xl col-span-12',
3
- small: 'min-w-auto justify-center items-center m-4xl col-span-4',
4
- };
5
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAgC;IACvD,MAAM,EAAE,0DAA0D;IAClE,KAAK,EAAE,yDAAyD;CACjE,CAAC"}
@@ -1 +0,0 @@
1
- export declare const titleSize = "XS";
@@ -1,2 +0,0 @@
1
- export const titleSize = 'XS';
2
- //# sourceMappingURL=titleSize.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"titleSize.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/titleSize.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC"}
@@ -1 +0,0 @@
1
- export declare const titleSize = "XS";
@@ -1,2 +0,0 @@
1
- export const titleSize = 'XS';
2
- //# sourceMappingURL=titleSize.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"titleSize.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/titleSize.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC"}
@@ -1,11 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type DepositoryContent } from './DepositoryContent';
3
- export interface DepositoryFiltrationState {
4
- startDate: Date | undefined;
5
- endDate: Date | undefined;
6
- query: string;
7
- }
8
- interface DepositoryProps extends DepositoryContent, UniBlockProps {
9
- }
10
- export declare const Depository: import("../../UniBlock/UniBlock").UniBlockComponent<DepositoryProps>;
11
- export {};
@@ -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,40 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import { useForm } from '../../hooks/useForm/useForm.js';
4
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
- import { NotFound } from '../../ui-kit/NotFound/NotFound.js';
6
- import { Pagination } from '../../ui-kit/Pagination/Pagination.js';
7
- import { Text } from '../../ui-kit/Text/Text.js';
8
- import { UniBlock } from '../../UniBlock/UniBlock.js';
9
- import { style } from '../../utils/style.js';
10
- import { DepositoryFilter } from './DepositoryFilter.js';
11
- import { DepositoryItem } from './DepositoryItem.js';
12
- import { useDepository } from './useDepository.js';
13
- const DEFAULT_ITEMS_COUNT = 10;
14
- const initialFiltrationState = {
15
- startDate: undefined,
16
- endDate: undefined,
17
- query: '',
18
- };
19
- export const Depository = UniBlock(({ className, ...rest }) => {
20
- const [currentPage, setCurrentPage] = useState(0);
21
- const [itemCount, setItemCount] = useState(DEFAULT_ITEMS_COUNT);
22
- const [filtrationState, { field, reset }] = useForm(initialFiltrationState);
23
- const { totalPages = 0, items = [] } = useDepository({
24
- size: itemCount,
25
- page: currentPage,
26
- ...filtrationState,
27
- });
28
- const handleChangePage = useCallback((page) => setCurrentPage(page - 1), []);
29
- const handleItemCountChange = useCallback((count) => {
30
- if (itemCount !== count) {
31
- setItemCount(count);
32
- setCurrentPage(0);
33
- }
34
- else {
35
- setItemCount(count);
36
- }
37
- }, []);
38
- return (_jsxs(BlockWrapper, { className: style(className, 'container p-6xl'), ...rest, children: [_jsx(DepositoryFilter, { filtrationState: filtrationState, field: field, onClearFilter: reset }), _jsxs("div", { className: "flex flex-col", children: [_jsxs("div", { className: "grid grid-cols-12 pb-lg border-gray border-opacity-50 border-b", children: [_jsx("div", { className: "col-span-4 @lg:col-span-2 hidden @lg:block", children: _jsx(Text, { size: "text-m", color: "text-secondary-text", children: "\u0414\u0430\u0442\u0430" }) }), _jsx("span", { className: "col-span-8 @lg:col-span-10 hidden @lg:block", children: _jsx(Text, { size: "text-m", color: "text-secondary-text", children: "\u0422\u0435\u043C\u0430" }) })] }), items.length ? (items.map((params) => _jsx(DepositoryItem, { ...params }, String(params.publicId)))) : (_jsx(NotFound, { title: "\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E", description: "\u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440\u044B" })), _jsx(Pagination, { currentPage: currentPage + 1, onPageChange: handleChangePage, totalPages: totalPages, itemCount: itemCount, onItemCountChange: handleItemCountChange })] })] }));
39
- });
40
- //# sourceMappingURL=Depository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Depository.js","sourceRoot":"","sources":["../../../src/components/Depository/Depository.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAE/B,MAAM,sBAAsB,GAA8B;IACxD,SAAS,EAAE,SAAS;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,EAAE;CACV,CAAC;AAUF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7E,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAClD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAChE,MAAM,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAE5E,MAAM,EAAE,UAAU,GAAG,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,GAAG,aAAa,CAAC;QACnD,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,WAAW;QACjB,GAAG,eAAe;KACnB,CAAC,CAAC;IAEH,MAAM,gBAAgB,GAAG,WAAW,CAAC,CAAC,IAAY,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAErF,MAAM,qBAAqB,GAAG,WAAW,CAAC,CAAC,KAAa,EAAE,EAAE;QAC1D,IAAI,SAAS,KAAK,KAAK,EAAE;YACvB,YAAY,CAAC,KAAK,CAAC,CAAC;YACpB,cAAc,CAAC,CAAC,CAAC,CAAC;SACnB;aAAM;YACL,YAAY,CAAC,KAAK,CAAC,CAAC;SACrB;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,MAAC,YAAY,IAAC,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,iBAAiB,CAAC,KAAM,IAAI,aACpE,KAAC,gBAAgB,IAAC,eAAe,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,GAAI,EAC1F,eAAK,SAAS,EAAC,eAAe,aAC5B,eAAK,SAAS,EAAC,gEAAgE,aAC7E,cAAK,SAAS,EAAC,4CAA4C,YACzD,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,yCAExC,GACH,EACN,eAAM,SAAS,EAAC,6CAA6C,YAC3D,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,yCAExC,GACF,IACH,EACL,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CACd,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,KAAC,cAAc,OAAmC,MAAM,IAAnC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAgB,CAAC,CACpF,CAAC,CAAC,CAAC,CACF,KAAC,QAAQ,IAAC,KAAK,EAAC,8FAAmB,EAAC,WAAW,EAAC,0JAA6B,GAAG,CACjF,EACD,KAAC,UAAU,IACT,WAAW,EAAE,WAAW,GAAG,CAAC,EAC5B,YAAY,EAAE,gBAAgB,EAC9B,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,qBAAqB,GACxC,IACE,IACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
2
- /**
3
- * @title Депозитарий
4
- */
5
- export declare type DepositoryContent = UniBlockContent;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=DepositoryContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DepositoryContent.js","sourceRoot":"","sources":["../../../src/components/Depository/DepositoryContent.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
2
- import { type DepositoryFiltrationState } from './Depository';
3
- interface DepositoryFilterProps {
4
- filtrationState: DepositoryFiltrationState;
5
- field: FormFieldRegisterer<any>;
6
- onClearFilter: () => void;
7
- }
8
- export declare const DepositoryFilter: import("@redneckz/uni-jsx").UNIComponent<DepositoryFilterProps, any, any>;
9
- export {};
@@ -1,7 +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 { Button } from '../../ui-kit/Button/Button.js';
4
- import { DatePicker } from '../../ui-kit/DatePicker/DatePicker.js';
5
- import { SearchInput } from '../../ui-kit/SearchDialog/SearchInput.js';
6
- export const DepositoryFilter = JSX(({ field, onClearFilter, filtrationState }) => (_jsxs("div", { className: "grid grid-cols-12 mb-3xl @lg:space-x-xl", children: [_jsx(SearchInput, { className: "col-span-12 @lg:col-span-4 mt-auto", placeholder: "\u041F\u043E\u0438\u0441\u043A", ...field('query') }), _jsx(DatePicker, { className: "col-span-12 @lg:col-span-3 mt-4 @lg:mt-0", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u043E\u0442", maxDate: filtrationState.endDate, ...field('startDate') }), _jsx(DatePicker, { className: "col-span-12 @lg:col-span-3 mt-4 @lg:mt-0", label: "\u041F\u0435\u0440\u0438\u043E\u0434 \u0434\u043E", minDate: filtrationState.startDate, ...field('endDate') }), _jsx("div", { className: "col-span-12 @lg:col-span-2 mt-8 @lg:mt-auto", children: _jsx(Button, { type: "reset", className: "w-full", version: "secondary", onClick: onClearFilter, children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C" }) })] })));
7
- //# sourceMappingURL=DepositoryFilter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DepositoryFilter.js","sourceRoot":"","sources":["../../../src/components/Depository/DepositoryFilter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AASpE,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,CAC7C,eAAK,SAAS,EAAC,yCAAyC,aACtD,KAAC,WAAW,IACV,SAAS,EAAC,oCAAoC,EAC9C,WAAW,EAAC,gCAAO,KACf,KAAK,CAAC,OAAO,CAAC,GAClB,EACF,KAAC,UAAU,IACT,SAAS,EAAC,0CAA0C,EACpD,KAAK,EAAC,mDAAW,EACjB,OAAO,EAAE,eAAe,CAAC,OAAO,KAC5B,KAAK,CAAC,WAAW,CAAC,GACtB,EACF,KAAC,UAAU,IACT,SAAS,EAAC,0CAA0C,EACpD,KAAK,EAAC,mDAAW,EACjB,OAAO,EAAE,eAAe,CAAC,SAAS,KAC9B,KAAK,CAAC,SAAS,CAAC,GACpB,EACF,cAAK,SAAS,EAAC,6CAA6C,YAC1D,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAC,WAAW,EAAC,OAAO,EAAE,aAAa,iEAEzE,GACL,IACF,CACP,CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- import { type DepositoryDataItem } from './useDepository';
2
- export declare const DepositoryItem: import("@redneckz/uni-jsx").UNIComponent<DepositoryDataItem, any, any>;
@@ -1,13 +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 { API_BASE_URI } from '../../api/apiBaseUrl.js';
4
- import { useLink } from '../../hooks/useLink.js';
5
- import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon.js';
6
- import { Text } from '../../ui-kit/Text/Text.js';
7
- import { formatDate } from '../../utils/formatDate.js';
8
- export const DepositoryItem = JSX(({ title, timestamp, publicId }) => {
9
- const link = useLink();
10
- const { href } = link({ href: `${API_BASE_URI}/depository/${publicId}/file` });
11
- return (_jsxs("div", { className: "flex gap-3 items-center py-lg border-gray border-opacity-50 border-b", children: [_jsx(RoundedIcon, { className: "shrink-0", icon: "DocDownloadIcon", iconVersion: "black" }), _jsxs("div", { className: "flex flex-col gap-x-6xl lg:flex-row lg:items-center", children: [timestamp ? (_jsx(Text, { size: "text-m", "font-weight": "font-light", children: formatDate(timestamp) })) : null, _jsx("a", { className: "text-h6 hover:text-primary-active", href: href, download: true, "aria-label": "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: title })] })] }, publicId));
12
- });
13
- //# sourceMappingURL=DepositoryItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DepositoryItem.js","sourceRoot":"","sources":["../../../src/components/Depository/DepositoryItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAGpD,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAsB,EAAE,EAAE;IACvF,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,YAAY,eAAe,QAAQ,OAAO,EAAE,CAAC,CAAC;IAE/E,OAAO,CACL,eACE,SAAS,EAAC,sEAAsE,aAGhF,KAAC,WAAW,IAAC,SAAS,EAAC,UAAU,EAAC,IAAI,EAAC,iBAAiB,EAAC,WAAW,EAAC,OAAO,GAAG,EAC/E,eAAK,SAAS,EAAC,qDAAqD,aACjE,SAAS,CAAC,CAAC,CAAC,CACX,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,iBAAa,YAAY,YACzC,UAAU,CAAC,SAAS,CAAC,GACjB,CACR,CAAC,CAAC,CAAC,IAAI,EACR,YAAG,SAAS,EAAC,mCAAmC,EAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,sBAAY,4CAAS,YACvF,KAAK,GACJ,IACA,KAZD,QAAQ,CAaT,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,15 +0,0 @@
1
- import { type DepositoryFiltrationState } from './Depository';
2
- export interface DepositoryDataItem {
3
- publicId?: number;
4
- timestamp?: string;
5
- title?: number;
6
- }
7
- interface UseDepositoryParams extends DepositoryFiltrationState {
8
- size: number;
9
- page: number;
10
- }
11
- export declare const useDepository: ({ size, page, query, startDate, endDate }: UseDepositoryParams) => {
12
- items: DepositoryDataItem[] | undefined;
13
- totalPages: number | undefined;
14
- };
15
- export {};
@@ -1,19 +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
- import { formatDate } from '../../utils/formatDate.js';
5
- const DEPOSITARY_URL = `${API_BASE_URI}/depository`;
6
- export const useDepository = ({ size, page, query, startDate, endDate }) => {
7
- const formatStartDate = startDate ? formatDate(startDate, true) : '';
8
- const formatEndDate = endDate ? formatDate(endDate, true) : '';
9
- const searchParams = new URLSearchParams(DEPOSITARY_URL);
10
- searchParams.set('page', String(page));
11
- searchParams.set('size', String(size));
12
- searchParams.set('query', query);
13
- searchParams.set('timestampStart', formatStartDate);
14
- searchParams.set('timestampEnd', formatEndDate);
15
- const queryString = `?${searchParams.toString()}`;
16
- const { data } = useAsyncData(DEPOSITARY_URL + queryString, fetchJSONUnsafe);
17
- return { items: data?.content, totalPages: data?.totalPages };
18
- };
19
- //# sourceMappingURL=useDepository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDepository.js","sourceRoot":"","sources":["../../../src/components/Depository/useDepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,eAAe,EAA4B,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAoBpD,MAAM,cAAc,GAAG,GAAG,YAAY,aAAa,CAAC;AAEpD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAuB,EAAE,EAAE;IAC9F,MAAM,eAAe,GAAG,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACrE,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAE/D,MAAM,YAAY,GAAG,IAAI,eAAe,CAAC,cAAc,CAAC,CAAC;IAEzD,YAAY,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IACvC,YAAY,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IACvC,YAAY,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACjC,YAAY,CAAC,GAAG,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAAC;IACpD,YAAY,CAAC,GAAG,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;IAEhD,MAAM,WAAW,GAAG,IAAI,YAAY,CAAC,QAAQ,EAAE,EAAE,CAAC;IAElD,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,cAAc,GAAG,WAAW,EAC5B,eAAsD,CACvD,CAAC;IAEF,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;AAChE,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import { type UnitProps } from './UnitProps';
2
- export declare const Unit: import("@redneckz/uni-jsx").UNIComponent<UnitProps, any, any>;
@@ -1,7 +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 { Text } from '../Text/Text.js';
4
- export const Unit = JSX(({ prefix, unit, suffix }) => (_jsxs("div", { className: "w-full flex items-end", children: [prefix ? (_jsx("div", { className: "gradient-color-text", children: _jsx(Text, { size: "text-h2", children: prefix }) })) : null, unit ? (
5
- // -mb-n добавлен для выравнивания unit относительно prefix и suffix, тк шрифт font-mohave неправильно высчитывает line-height
6
- _jsx("div", { className: "-mb-6 @xl:-mb-4", children: _jsx("span", { className: "font-mohave text-title-large sm:text-title-extra gradient-color-text", children: unit }) })) : null, suffix ? (_jsx("div", { className: "gradient-color-text", children: _jsx(Text, { size: "text-h2", children: suffix }) })) : null] })));
7
- //# sourceMappingURL=Unit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Unit.js","sourceRoot":"","sources":["../../../src/ui-kit/Unit/Unit.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAC/D,eAAK,SAAS,EAAC,uBAAuB,aACnC,MAAM,CAAC,CAAC,CAAC,CACR,cAAK,SAAS,EAAC,qBAAqB,YAClC,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,YAAE,MAAM,GAAQ,GAChC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,CAAC,CAAC;QACN,8HAA8H;QAC9H,cAAK,SAAS,EAAC,iBAAiB,YAC9B,eAAM,SAAS,EAAC,sEAAsE,YACnF,IAAI,GACA,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,CAAC,CAAC,CACR,cAAK,SAAS,EAAC,qBAAqB,YAClC,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,YAAE,MAAM,GAAQ,GAChC,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- export interface UnitProps {
2
- /** @title Префикс */
3
- prefix?: string;
4
- /** @title Значение */
5
- unit?: number;
6
- /** @title Суффикс */
7
- suffix?: string;
8
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=UnitProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UnitProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Unit/UnitProps.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type CarouselCardContent } from './CarouselCardContent';
3
- export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
4
- }
5
- export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
@@ -1,11 +0,0 @@
1
- import { type HeadlineCommonProps } from '../../model/HeadlineType';
2
- import { type SizeVersion } from '../../model/SizeVersion';
3
- import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
4
- import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
- /**
6
- * @title Карточка карусели
7
- */
8
- export declare type CarouselCardContent = UniBlockContent & HeadlineCommonProps & {
9
- button?: LinkButtonContent;
10
- carouselVersion?: SizeVersion;
11
- };
@@ -1,2 +0,0 @@
1
- import { type SizeVersion } from '../../model/SizeVersion';
2
- export declare const cardStyleMap: Record<SizeVersion, string>;
@@ -1 +0,0 @@
1
- export declare const titleSize = "XS";
@@ -1,11 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type DepositoryContent } from './DepositoryContent';
3
- export interface DepositoryFiltrationState {
4
- startDate: Date | undefined;
5
- endDate: Date | undefined;
6
- query: string;
7
- }
8
- interface DepositoryProps extends DepositoryContent, UniBlockProps {
9
- }
10
- export declare const Depository: import("../../UniBlock/UniBlock").UniBlockComponent<DepositoryProps>;
11
- export {};
@@ -1,5 +0,0 @@
1
- import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
2
- /**
3
- * @title Депозитарий
4
- */
5
- export declare type DepositoryContent = UniBlockContent;
@@ -1,9 +0,0 @@
1
- import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
2
- import { type DepositoryFiltrationState } from './Depository';
3
- interface DepositoryFilterProps {
4
- filtrationState: DepositoryFiltrationState;
5
- field: FormFieldRegisterer<any>;
6
- onClearFilter: () => void;
7
- }
8
- export declare const DepositoryFilter: import("@redneckz/uni-jsx").UNIComponent<DepositoryFilterProps, any, any>;
9
- export {};
@@ -1,2 +0,0 @@
1
- import { type DepositoryDataItem } from './useDepository';
2
- export declare const DepositoryItem: import("@redneckz/uni-jsx").UNIComponent<DepositoryDataItem, any, any>;
@@ -1,15 +0,0 @@
1
- import { type DepositoryFiltrationState } from './Depository';
2
- export interface DepositoryDataItem {
3
- publicId?: number;
4
- timestamp?: string;
5
- title?: number;
6
- }
7
- interface UseDepositoryParams extends DepositoryFiltrationState {
8
- size: number;
9
- page: number;
10
- }
11
- export declare const useDepository: ({ size, page, query, startDate, endDate }: UseDepositoryParams) => {
12
- items: DepositoryDataItem[] | undefined;
13
- totalPages: number | undefined;
14
- };
15
- export {};
@@ -1,2 +0,0 @@
1
- import { type UnitProps } from './UnitProps';
2
- export declare const Unit: import("@redneckz/uni-jsx").UNIComponent<UnitProps, any, any>;
@@ -1,8 +0,0 @@
1
- export interface UnitProps {
2
- /** @title Префикс */
3
- prefix?: string;
4
- /** @title Значение */
5
- unit?: number;
6
- /** @title Суффикс */
7
- suffix?: string;
8
- }
@@ -1,5 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type CarouselCardContent } from './CarouselCardContent';
3
- export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
4
- }
5
- export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
@@ -1,16 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.CarouselCard = 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 renderButtonsSection_1 = require("../../ui-kit/LinkButton/renderButtonsSection");
7
- const style_1 = require("../../utils/style");
8
- const Headline_1 = require("../Headline/Headline");
9
- const titleSize_1 = require("./titleSize");
10
- const layerBaseStyle = 'z-10 border border-solid w-full h-full';
11
- const layerStyle = (0, style_1.style)(layerBaseStyle, 'absolute hidden @xl:block border-transparent');
12
- exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className, title, description, button, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('sm:pl-6xl sm:pb-4xl @container-normal', className), defaultPadding: "p-0", ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative h-full", children: [(0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)(layerStyle, 'top-9 right-12 bg-green-dark') }), (0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)(layerStyle, 'top-6 right-8 bg-green') }), (0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)(layerStyle, 'top-3 right-4 bg-green-light') }), (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)(layerBaseStyle, 'relative p-xl sm:p-5xl bg-white border-transparent sm:border-green-more-light'), children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, headlineVersion: titleSize_1.titleSize, align: "text-left", isEmbedded: true }), (0, renderButtonsSection_1.renderButtonsSection)([button], {
13
- className: 'mt-m sm:mt-6xl sm:justify-center',
14
- isVertical: true,
15
- })] })] }) })));
16
- //# sourceMappingURL=CarouselCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AACzD,uFAAoF;AAEpF,6CAA0C;AAC1C,mDAAgD;AAEhD,2CAAwC;AAIxC,MAAM,cAAc,GAAG,wCAAwC,CAAC;AAChE,MAAM,UAAU,GAAG,IAAA,aAAK,EAAC,cAAc,EAAE,8CAA8C,CAAC,CAAC;AAE5E,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACtD,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,uCAAuC,EAAE,SAAS,CAAC,EACpE,cAAc,EAAC,KAAK,KAChB,IAAI,YAER,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,8BAA8B,CAAC,GAAI,EACrE,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,wBAAwB,CAAC,GAAI,EAC/D,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,8BAA8B,CAAC,GAAI,EACrE,iCACE,SAAS,EAAE,IAAA,aAAK,EACd,cAAc,EACd,+EAA+E,CAChF,aAED,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,qBAAS,EAC1B,KAAK,EAAC,WAAW,EACjB,UAAU,EAAE,IAAI,GAChB,EACD,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE;wBAC9B,SAAS,EAAE,kCAAkC;wBAC7C,UAAU,EAAE,IAAI;qBACjB,CAAC,IACE,IACF,GACO,CAChB,CACF,CAAC"}
@@ -1,11 +0,0 @@
1
- import { type HeadlineCommonProps } from '../../model/HeadlineType';
2
- import { type SizeVersion } from '../../model/SizeVersion';
3
- import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
4
- import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
5
- /**
6
- * @title Карточка карусели
7
- */
8
- export declare type CarouselCardContent = UniBlockContent & HeadlineCommonProps & {
9
- button?: LinkButtonContent;
10
- carouselVersion?: SizeVersion;
11
- };
@@ -1,2 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=CarouselCardContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCardContent.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { type SizeVersion } from '../../model/SizeVersion';
2
- export declare const cardStyleMap: Record<SizeVersion, string>;
@@ -1,7 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.cardStyleMap = void 0;
3
- exports.cardStyleMap = {
4
- normal: 'min-w-full justify-center items-center m-2xl col-span-12',
5
- small: 'min-w-auto justify-center items-center m-4xl col-span-4',
6
- };
7
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/constants.ts"],"names":[],"mappings":";;AAEa,QAAA,YAAY,GAAgC;IACvD,MAAM,EAAE,0DAA0D;IAClE,KAAK,EAAE,yDAAyD;CACjE,CAAC"}
@@ -1 +0,0 @@
1
- export declare const titleSize = "XS";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.titleSize = void 0;
3
- exports.titleSize = 'XS';
4
- //# sourceMappingURL=titleSize.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"titleSize.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/titleSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,IAAI,CAAC"}
@@ -1,11 +0,0 @@
1
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
- import { type DepositoryContent } from './DepositoryContent';
3
- export interface DepositoryFiltrationState {
4
- startDate: Date | undefined;
5
- endDate: Date | undefined;
6
- query: string;
7
- }
8
- interface DepositoryProps extends DepositoryContent, UniBlockProps {
9
- }
10
- export declare const Depository: import("../../UniBlock/UniBlock").UniBlockComponent<DepositoryProps>;
11
- export {};