ecomlab-components-next 0.1.159 → 0.1.162

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 (333) hide show
  1. package/dist/common/headers.js +2 -2
  2. package/dist/common/hooks/hooks.js +108 -0
  3. package/dist/common/hooks/useResetOnBaseURL.js +15 -0
  4. package/dist/common/img/icon-delete.svg +3 -0
  5. package/dist/common/img/icon-edit.svg +3 -0
  6. package/dist/common/img/noPhoto.png +0 -0
  7. package/dist/common/img/time_icon.svg +5 -0
  8. package/dist/common/img/view_icon.svg +5 -0
  9. package/dist/common/styles/svg_img.scss +290 -0
  10. package/dist/common/svg_img.js +238 -0
  11. package/dist/common/validationFunc.js +14 -0
  12. package/dist/components/ArticleComponent/Article.js +252 -0
  13. package/dist/components/ArticleComponent/Article.scss +289 -0
  14. package/dist/components/ArticleElements/ShortTileArticleBox/ShortTileArticleBox.stories.js +1 -1
  15. package/dist/components/ArticleMain/ArticleMain.js +451 -0
  16. package/dist/components/ArticleMain/ArticleMain.scss +220 -0
  17. package/dist/components/ArticleMain/img/table_icon.svg +3 -0
  18. package/dist/components/ArticleMain/img/tile-long_icon.svg +3 -0
  19. package/dist/components/ArticleMain/img/tile_icon.svg +3 -0
  20. package/dist/components/ButtonColumn/ButtonColumn.js +113 -0
  21. package/dist/components/ButtonColumn/ButtonColumn.scss +117 -0
  22. package/dist/components/ButtonColumn/img/column.svg +7 -0
  23. package/dist/components/ButtonCopy/ButtonCopy.js +37 -0
  24. package/dist/components/ButtonCopy/ButtonCopy.scss +43 -0
  25. package/dist/components/ButtonCopy/img/copy.svg +3 -0
  26. package/dist/components/ButtonExport/ButtonExport.js +83 -0
  27. package/dist/components/ButtonExport/ButtonExport.scss +111 -0
  28. package/dist/components/ButtonExport/img/export.svg +8 -0
  29. package/dist/components/ButtonExport/img/pdf.svg +12 -0
  30. package/dist/components/ButtonExport/img/xlc.svg +11 -0
  31. package/dist/components/ButtonUpload/ButtonUpload.js +24 -0
  32. package/dist/components/ButtonUpload/ButtonUpload.scss +45 -0
  33. package/dist/components/ButtonUpload/img/upload_icon.svg +8 -0
  34. package/dist/components/ConstructorComponents/Tariff/TariffPlan.js +8 -5
  35. package/dist/components/Page404/Page404.js +36 -0
  36. package/dist/components/Page404/Page404.scss +67 -0
  37. package/dist/components/Page404/img/banner-404.svg +16 -0
  38. package/dist/components/ShareComponent/ShareComponent.js +152 -0
  39. package/dist/components/ShareComponent/ShareComponent.scss +53 -0
  40. package/dist/components/ShareComponent/img/copy_icon.svg +5 -0
  41. package/dist/components/ShareComponent/img/facebook_icon.svg +5 -0
  42. package/dist/components/ShareComponent/img/linkedin_icon.svg +6 -0
  43. package/dist/components/ShareComponent/img/ok_icon.svg +5 -0
  44. package/dist/components/ShareComponent/img/share_icon.svg +5 -0
  45. package/dist/components/ShareComponent/img/tg_icon.svg +5 -0
  46. package/dist/components/ShareComponent/img/vk_icon.svg +5 -0
  47. package/dist/components/ShareComponent/img/whatsapp_icon.svg +5 -0
  48. package/dist/components/ShareComponent/img/x_icon.svg +5 -0
  49. package/dist/components/Table/TableBox/TableBox.stories.js +1 -1
  50. package/dist/components/TableInput/TableInput.js +103 -0
  51. package/dist/components/TableInput/TableInput.scss +35 -0
  52. package/dist/components/TableWithoutData/TableWithoutData.js +25 -0
  53. package/dist/components/TableWithoutData/TableWithoutData.scss +32 -0
  54. package/dist/components/TableWithoutData/img/doc_icon.png +0 -0
  55. package/dist/fonts/GolosText/GolosText-Black.ttf +0 -0
  56. package/dist/fonts/GolosText/GolosText-Bold.ttf +0 -0
  57. package/dist/fonts/GolosText/GolosText-ExtraBold.ttf +0 -0
  58. package/dist/fonts/GolosText/GolosText-Medium.ttf +0 -0
  59. package/dist/fonts/GolosText/GolosText-Regular.ttf +0 -0
  60. package/dist/fonts/GolosText/GolosText-SemiBold.ttf +0 -0
  61. package/dist/fonts/Inter/Inter-Bold.otf +0 -0
  62. package/dist/fonts/Inter/Inter-Light.otf +0 -0
  63. package/dist/fonts/Inter/Inter-Medium.otf +0 -0
  64. package/dist/fonts/Inter/Inter-Regular.ttf +0 -0
  65. package/dist/fonts/Montserrat/Montserrat-Black.ttf +0 -0
  66. package/dist/fonts/Montserrat/Montserrat-BlackItalic.ttf +0 -0
  67. package/dist/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  68. package/dist/fonts/Montserrat/Montserrat-BoldItalic.ttf +0 -0
  69. package/dist/fonts/Montserrat/Montserrat-ExtraBold.ttf +0 -0
  70. package/dist/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf +0 -0
  71. package/dist/fonts/Montserrat/Montserrat-ExtraLight.ttf +0 -0
  72. package/dist/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf +0 -0
  73. package/dist/fonts/Montserrat/Montserrat-Italic.ttf +0 -0
  74. package/dist/fonts/Montserrat/Montserrat-Light.ttf +0 -0
  75. package/dist/fonts/Montserrat/Montserrat-LightItalic.ttf +0 -0
  76. package/dist/fonts/Montserrat/Montserrat-Medium.ttf +0 -0
  77. package/dist/fonts/Montserrat/Montserrat-MediumItalic.ttf +0 -0
  78. package/dist/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  79. package/dist/fonts/Montserrat/Montserrat-SemiBold.ttf +0 -0
  80. package/dist/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf +0 -0
  81. package/dist/fonts/Montserrat/Montserrat-Thin.ttf +0 -0
  82. package/dist/fonts/Montserrat/Montserrat-ThinItalic.ttf +0 -0
  83. package/dist/fonts/Nunito_Sans/NunitoSans-Black.ttf +0 -0
  84. package/dist/fonts/Nunito_Sans/NunitoSans-BlackItalic.ttf +0 -0
  85. package/dist/fonts/Nunito_Sans/NunitoSans-Bold.ttf +0 -0
  86. package/dist/fonts/Nunito_Sans/NunitoSans-BoldItalic.ttf +0 -0
  87. package/dist/fonts/Nunito_Sans/NunitoSans-ExtraBold.ttf +0 -0
  88. package/dist/fonts/Nunito_Sans/NunitoSans-ExtraBoldItalic.ttf +0 -0
  89. package/dist/fonts/Nunito_Sans/NunitoSans-ExtraLight.ttf +0 -0
  90. package/dist/fonts/Nunito_Sans/NunitoSans-ExtraLightItalic.ttf +0 -0
  91. package/dist/fonts/Nunito_Sans/NunitoSans-Italic.ttf +0 -0
  92. package/dist/fonts/Nunito_Sans/NunitoSans-Light.ttf +0 -0
  93. package/dist/fonts/Nunito_Sans/NunitoSans-LightItalic.ttf +0 -0
  94. package/dist/fonts/Nunito_Sans/NunitoSans-Regular.ttf +0 -0
  95. package/dist/fonts/Nunito_Sans/NunitoSans-SemiBold.ttf +0 -0
  96. package/dist/fonts/Nunito_Sans/NunitoSans-SemiBoldItalic.ttf +0 -0
  97. package/dist/fonts/Rubik/Rubik-Black.ttf +0 -0
  98. package/dist/fonts/Rubik/Rubik-BlackItalic.ttf +0 -0
  99. package/dist/fonts/Rubik/Rubik-Bold.ttf +0 -0
  100. package/dist/fonts/Rubik/Rubik-BoldItalic.ttf +0 -0
  101. package/dist/fonts/Rubik/Rubik-ExtraBold.ttf +0 -0
  102. package/dist/fonts/Rubik/Rubik-ExtraBoldItalic.ttf +0 -0
  103. package/dist/fonts/Rubik/Rubik-Italic.ttf +0 -0
  104. package/dist/fonts/Rubik/Rubik-Light.ttf +0 -0
  105. package/dist/fonts/Rubik/Rubik-LightItalic.ttf +0 -0
  106. package/dist/fonts/Rubik/Rubik-Medium.ttf +0 -0
  107. package/dist/fonts/Rubik/Rubik-MediumItalic.ttf +0 -0
  108. package/dist/fonts/Rubik/Rubik-Regular.ttf +0 -0
  109. package/dist/fonts/Rubik/Rubik-SemiBold.ttf +0 -0
  110. package/dist/fonts/Rubik/Rubik-SemiBoldItalic.ttf +0 -0
  111. package/dist/index.js +7 -0
  112. package/dist/main.js +14 -0
  113. package/dist/pages/_app.js +12 -0
  114. package/dist/pages/_document.js +12 -0
  115. package/dist/pages/index.js +92 -0
  116. package/dist/stories/Article/Article.scss +471 -0
  117. package/dist/stories/Article/ArticleElement.js +108 -0
  118. package/dist/stories/Article/ArticleStorybook.scss +6 -0
  119. package/dist/stories/Article/ArticleView.js +440 -0
  120. package/dist/stories/Article/ArticleView.stories.js +263 -0
  121. package/dist/stories/Article/Feedback/Feedback.js +58 -0
  122. package/dist/stories/Article/Feedback/Feedback.scss +86 -0
  123. package/dist/stories/Article/FormBtn/FormBtn.js +170 -0
  124. package/dist/stories/Article/FormBtn/FormBtn.scss +446 -0
  125. package/dist/stories/Article/FormBtn/img/clos_icon.svg +6 -0
  126. package/dist/stories/Article/FormBtn/img/close-icon.svg +3 -0
  127. package/dist/stories/Article/ImgArticle/ImgArticle.js +204 -0
  128. package/dist/stories/Article/ImgArticle/ImgArticle.scss +140 -0
  129. package/dist/stories/Article/ListOfContent/ListOfContent.js +41 -0
  130. package/dist/stories/Article/ListOfContent/ListOfContent.scss +83 -0
  131. package/dist/stories/Article/ListOfContent/ListOfContent.stories.js +66 -0
  132. package/dist/stories/Article/ListOfContent/img/time_icon.svg +3 -0
  133. package/dist/stories/Article/ListOfContent/img/view_icon.svg +3 -0
  134. package/dist/stories/Article/RecommendationList/RecommendationList.js +31 -0
  135. package/dist/stories/Article/RecommendationList/RecommendationList.scss +41 -0
  136. package/dist/stories/Article/TextArticle/TextArticle.js +129 -0
  137. package/dist/stories/Article/TextArticle/TextArticle.scss +43 -0
  138. package/dist/stories/Article/TitleText/TitleText.js +30 -0
  139. package/dist/stories/Article/TitleText/TitleText.scss +33 -0
  140. package/dist/stories/Article/YellowInformationBox/YellowInformationBox.js +30 -0
  141. package/dist/stories/Article/YellowInformationBox/YellowInformationBox.scss +46 -0
  142. package/dist/stories/Article/YellowInformationBox/img/bell.svg +9 -0
  143. package/dist/stories/Article/img/bell.svg +9 -0
  144. package/dist/stories/Article/img/btn-add-round.svg +4 -0
  145. package/dist/stories/Article/img/calendar_icon.svg +6 -0
  146. package/dist/stories/Article/img/close-round.svg +3 -0
  147. package/dist/stories/Article/img/close.svg +9 -0
  148. package/dist/stories/Article/img/copy_icon.svg +5 -0
  149. package/dist/stories/Article/img/info.svg +9 -0
  150. package/dist/stories/Article/img/ok_icon.svg +5 -0
  151. package/dist/stories/Article/img/share_icon.svg +5 -0
  152. package/dist/stories/Article/img/tg_icon.svg +5 -0
  153. package/dist/stories/Article/img/time_icon.svg +6 -0
  154. package/dist/stories/Article/img/view_icon.svg +6 -0
  155. package/dist/stories/Article/img/vk_icon.svg +5 -0
  156. package/dist/stories/Article/img/whatsapp_icon.svg +5 -0
  157. package/dist/stories/ArticleMainContainer/ArticleMainContainer.js +540 -0
  158. package/dist/stories/ArticleMainContainer/ArticleMainContainer.scss +377 -0
  159. package/dist/stories/ArticleMainContainer/ArticleMainContainer.stories.js +75 -0
  160. package/dist/stories/ArticleMainContainer/main/page.js +1 -0
  161. package/dist/stories/ArticleMinBox/ArticleMinBox.js +172 -0
  162. package/dist/stories/ArticleMinBox/ArticleMinBox.scss +38 -0
  163. package/dist/stories/ArticleMinBox/ArticleMinBox.stories.js +56 -0
  164. package/dist/stories/BasicSelection/BasicSelection.js +143 -0
  165. package/dist/stories/BasicSelection/BasicSelection.scss +97 -0
  166. package/dist/stories/BasicSelection/BasicSelection.stories.js +32 -0
  167. package/dist/stories/Breadcrumb/Breadcrumb.js +113 -0
  168. package/dist/stories/Breadcrumb/Breadcrumb.scss +92 -0
  169. package/dist/stories/Breadcrumb/Breadcrums.stories.js +31 -0
  170. package/dist/stories/Breadcrumb/img/drop-right.svg +3 -0
  171. package/dist/stories/Breadcrumb/img/home_icon.svg +5 -0
  172. package/dist/stories/ButtonBasic/ButtonBasic.js +70 -0
  173. package/dist/stories/ButtonBasic/ButtonBasic.scss +242 -0
  174. package/dist/stories/ButtonBasic/ButtonBasic.stories.js +60 -0
  175. package/dist/stories/Checkbox/Checkbox.js +70 -0
  176. package/dist/stories/Checkbox/Checkbox.scss +128 -0
  177. package/dist/stories/Checkbox/Checkbox.stories.js +49 -0
  178. package/dist/stories/Checkbox/img/check.svg +3 -0
  179. package/dist/stories/CheckboxToggle/CheckboxToggle.js +54 -0
  180. package/dist/stories/CheckboxToggle/CheckboxToggle.scss +117 -0
  181. package/dist/stories/CheckboxToggle/CheckboxToggle.stories.js +26 -0
  182. package/dist/stories/DropDownSelector/DownSelector.js +352 -0
  183. package/dist/stories/DropDownSelector/DownSelector.stories.js +161 -0
  184. package/dist/stories/DropDownSelector/DropdownSelector.scss +272 -0
  185. package/dist/stories/DropDownSelector/img/close_icon.svg +6 -0
  186. package/dist/stories/DropDownSelector/img/close_icon_disabled.svg +6 -0
  187. package/dist/stories/InputDinamycPlaceholder/InputDinamycPlaceholder.js +162 -0
  188. package/dist/stories/InputDinamycPlaceholder/InputDinamycPlaceholder.scss +475 -0
  189. package/dist/stories/InputDinamycPlaceholder/InputDinamycPlaceholder.stories.js +50 -0
  190. package/dist/stories/InputDinamycPlaceholder/img/close_grey.svg +5 -0
  191. package/dist/stories/InputDinamycPlaceholder/img/close_red.svg +5 -0
  192. package/dist/stories/InputDinamycPlaceholder/img/hide.svg +12 -0
  193. package/dist/stories/InputDinamycPlaceholder/img/info_tooltip.svg +12 -0
  194. package/dist/stories/InputDinamycPlaceholder/img/show.svg +3 -0
  195. package/dist/stories/InputDynamicWidth/InputDynamicWidth.js +85 -0
  196. package/dist/stories/InputDynamicWidth/InputDynamicWidth.scss +98 -0
  197. package/dist/stories/InputDynamicWidth/InputDynamicWidth.stories.js +32 -0
  198. package/dist/stories/InputDynamicWidth/img/close_icon.svg +3 -0
  199. package/dist/stories/InputDynamicWidth/img/search_icon.svg +6 -0
  200. package/dist/stories/LongTileArticleBox/LongTileArticleBox.js +168 -0
  201. package/dist/stories/LongTileArticleBox/LongTileArticleBox.scss +360 -0
  202. package/dist/stories/LongTileArticleBox/LongTileArticleBox.stories.js +39 -0
  203. package/dist/stories/LongTileArticleBox/img/arrow_blue.svg +6 -0
  204. package/dist/stories/LongTileArticleBox/img/calendar_icon.svg +6 -0
  205. package/dist/stories/LongTileArticleBox/img/copy_icon.svg +5 -0
  206. package/dist/stories/LongTileArticleBox/img/ok_icon.svg +5 -0
  207. package/dist/stories/LongTileArticleBox/img/share_icon.svg +5 -0
  208. package/dist/stories/LongTileArticleBox/img/tag_icon.svg +5 -0
  209. package/dist/stories/LongTileArticleBox/img/tg_icon.svg +5 -0
  210. package/dist/stories/LongTileArticleBox/img/time_icon.svg +6 -0
  211. package/dist/stories/LongTileArticleBox/img/view_icon.svg +6 -0
  212. package/dist/stories/LongTileArticleBox/img/vk_icon.svg +5 -0
  213. package/dist/stories/LongTileArticleBox/img/whatsapp_icon.svg +5 -0
  214. package/dist/stories/ModalArticleAddElement/ModalArticleAddElement.js +128 -0
  215. package/dist/stories/ModalArticleAddElement/ModalArticleAddElement.scss +124 -0
  216. package/dist/stories/ModalArticleAddElement/ModalArticleAddElement.stories.js +19 -0
  217. package/dist/stories/ModalBitrixForm/ModalBitrixForm.js +236 -0
  218. package/dist/stories/ModalBitrixForm/ModalBitrixForm.scss +167 -0
  219. package/dist/stories/ModalBitrixForm/ModalBitrixForm.stories.js +101 -0
  220. package/dist/stories/ModalBitrixForm/img/close_icon.svg +3 -0
  221. package/dist/stories/ModalBitrixForm/img/done_icon.svg +3 -0
  222. package/dist/stories/ModalBitrixForm/img/ozon.svg +9 -0
  223. package/dist/stories/ModalBitrixForm/img/ozon_bkg.svg +9 -0
  224. package/dist/stories/MultilevelSidebar/MultilevelSidebar.js +472 -0
  225. package/dist/stories/MultilevelSidebar/MultilevelSidebar.scss +237 -0
  226. package/dist/stories/MultilevelSidebar/MultilevelSidebar.stories.js +80 -0
  227. package/dist/stories/MultilevelSidebar/MultilevelSidebarStorybook.scss +7 -0
  228. package/dist/stories/MultilevelSidebar/img/drop.svg +3 -0
  229. package/dist/stories/MultilevelSidebar/img/settings.svg +4 -0
  230. package/dist/stories/NoArticles/NoArticles.js +29 -0
  231. package/dist/stories/NoArticles/NoArticles.scss +26 -0
  232. package/dist/stories/NoArticles/NoArticles.stories.js +20 -0
  233. package/dist/stories/NoArticles/img/banner.svg +266 -0
  234. package/dist/stories/Paginator/Paginator.js +254 -0
  235. package/dist/stories/Paginator/Paginator.scss +168 -0
  236. package/dist/stories/Paginator/Paginator.stories.js +56 -0
  237. package/dist/stories/Paginator/img/arrow_blue.svg +3 -0
  238. package/dist/stories/Paginator/img/arrow_next.svg +3 -0
  239. package/dist/stories/Paginator/img/arrow_prev.svg +3 -0
  240. package/dist/stories/ResultsFound/ResultsFound.js +269 -0
  241. package/dist/stories/ResultsFound/ResultsFound.scss +139 -0
  242. package/dist/stories/ResultsFound/ResultsFound.stories.js +25 -0
  243. package/dist/stories/ResultsFound/img/arrow_icon.svg +5 -0
  244. package/dist/stories/ResultsFound/img/no-data_img.svg +13 -0
  245. package/dist/stories/ShortTileArticleBox/ShortTileArticleBox.js +160 -0
  246. package/dist/stories/ShortTileArticleBox/ShortTileArticleBox.scss +827 -0
  247. package/dist/stories/ShortTileArticleBox/ShortTileArticleBox.stories.js +42 -0
  248. package/dist/stories/ShortTileArticleBox/img/arrow_blue.svg +6 -0
  249. package/dist/stories/ShortTileArticleBox/img/calendar_icon.svg +6 -0
  250. package/dist/stories/ShortTileArticleBox/img/copy_icon.svg +5 -0
  251. package/dist/stories/ShortTileArticleBox/img/ok_icon.svg +5 -0
  252. package/dist/stories/ShortTileArticleBox/img/share_icon.svg +5 -0
  253. package/dist/stories/ShortTileArticleBox/img/tag_icon.svg +5 -0
  254. package/dist/stories/ShortTileArticleBox/img/tg_icon.svg +5 -0
  255. package/dist/stories/ShortTileArticleBox/img/time_icon.svg +6 -0
  256. package/dist/stories/ShortTileArticleBox/img/view_icon.svg +6 -0
  257. package/dist/stories/ShortTileArticleBox/img/vk_icon.svg +5 -0
  258. package/dist/stories/ShortTileArticleBox/img/whatsapp_icon.svg +5 -0
  259. package/dist/stories/SliderCarousel/SliderCarousel.js +77 -0
  260. package/dist/stories/SliderCarousel/SliderCarousel.scss +85 -0
  261. package/dist/stories/SliderCarousel/SliderCarousel.stories.js +29 -0
  262. package/dist/stories/SliderCarousel/img/no_image.svg +3 -0
  263. package/dist/stories/Table/Filters/OptionsDate.js +208 -0
  264. package/dist/stories/Table/Filters/OptionsImage.js +92 -0
  265. package/dist/stories/Table/Filters/OptionsImage.scss +10 -0
  266. package/dist/stories/Table/Filters/OptionsList.js +244 -0
  267. package/dist/stories/Table/Filters/OptionsNumber.js +220 -0
  268. package/dist/stories/Table/Filters/OptionsNumber.scss +100 -0
  269. package/dist/stories/Table/Filters/OptionsText.js +165 -0
  270. package/dist/stories/Table/Filters/OptionsText.scss +71 -0
  271. package/dist/stories/Table/Filters/img/FilterDefault.js +26 -0
  272. package/dist/stories/Table/Filters/img/FilterReset.js +41 -0
  273. package/dist/stories/Table/Filters/img/dropFilters.png +0 -0
  274. package/dist/stories/Table/Filters/img/filterDefault.svg +3 -0
  275. package/dist/stories/Table/Filters/img/filter_blue.svg +3 -0
  276. package/dist/stories/Table/Filters/img/filter_blue_background.svg +5 -0
  277. package/dist/stories/Table/Filters/img/filter_reset.svg +7 -0
  278. package/dist/stories/Table/InputWithState/InputWithState.js +36 -0
  279. package/dist/stories/Table/RenderFiltersTh/RenderFiltersTh.js +140 -0
  280. package/dist/stories/Table/RenderTd/RenderTd.js +19 -0
  281. package/dist/stories/Table/RenderTh/RenderTh.js +112 -0
  282. package/dist/stories/Table/Table.js +1568 -0
  283. package/dist/stories/Table/Table.scss +1524 -0
  284. package/dist/stories/Table/Table.stories.js +83 -0
  285. package/dist/stories/Table/TableChartTd/TableChartTd.js +172 -0
  286. package/dist/stories/Table/TableChartTd/TableChartTd.scss +0 -0
  287. package/dist/stories/Table/TdDate/TdDate.js +36 -0
  288. package/dist/stories/Table/TdDate/TdDate.scss +0 -0
  289. package/dist/stories/Table/TdDate.js +34 -0
  290. package/dist/stories/Table/TypeTdImage.js +85 -0
  291. package/dist/stories/Table/img/Search.png +0 -0
  292. package/dist/stories/Table/img/SortArrow.js +12 -0
  293. package/dist/stories/Table/img/SortArrowUp.js +12 -0
  294. package/dist/stories/Table/img/SortTable.js +14 -0
  295. package/dist/stories/Table/img/close_icon.svg +7 -0
  296. package/dist/stories/Table/img/close_white.svg +3 -0
  297. package/dist/stories/Table/img/context-menu.svg +6 -0
  298. package/dist/stories/Table/img/contextMenuBtn.png +0 -0
  299. package/dist/stories/Table/img/delete_icon.svg +8 -0
  300. package/dist/stories/Table/img/dropFilters.png +0 -0
  301. package/dist/stories/Table/img/filter.png +0 -0
  302. package/dist/stories/Table/img/filterDefault.png +0 -0
  303. package/dist/stories/Table/img/filter_blue.svg +3 -0
  304. package/dist/stories/Table/img/filter_blue_background.svg +5 -0
  305. package/dist/stories/Table/img/imageNotFound.svg +3 -0
  306. package/dist/stories/Table/img/location.svg +3 -0
  307. package/dist/stories/Table/img/sort_arrow_down.svg +6 -0
  308. package/dist/stories/Table/img/sort_arrow_up.svg +4 -0
  309. package/dist/stories/Table/img/sort_table.svg +8 -0
  310. package/dist/stories/Table/svg_img.js +8 -0
  311. package/dist/stories/TableBox/TableBox.js +304 -0
  312. package/dist/stories/TableBox/TableBox.scss +418 -0
  313. package/dist/stories/TableBox/TableBox.stories.js +124 -0
  314. package/dist/stories/TableBox/img/delete_icon.svg +9 -0
  315. package/dist/stories/TableBox/img/forward_icon.svg +9 -0
  316. package/dist/stories/TableBox/img/more_icon.svg +10 -0
  317. package/dist/stories/TableBox/img_stories/tag_icon.svg +5 -0
  318. package/dist/stories/TextareaDynamicPlaceholder/TextareaDynamicPlaceholder.js +91 -0
  319. package/dist/stories/TextareaDynamicPlaceholder/TextareaDynamicPlaceholder.scss +124 -0
  320. package/dist/stories/TextareaDynamicPlaceholder/TextareaDynamicPlaceholder.stories.js +29 -0
  321. package/dist/stories/TitleContentEditable/TitleContentEditable.js +71 -0
  322. package/dist/stories/TitleContentEditable/TitleContentEditable.scss +69 -0
  323. package/dist/stories/TitleContentEditable/TitleContentEditable.stories.js +37 -0
  324. package/dist/stories/ViewSwitch/ViewSwitch.js +48 -0
  325. package/dist/stories/ViewSwitch/ViewSwitch.scss +135 -0
  326. package/dist/stories/ViewSwitch/ViewSwitch.stories.js +48 -0
  327. package/dist/stories/ViewSwitch/img/Chat.js +24 -0
  328. package/dist/stories/ViewSwitch/img/Table.js +21 -0
  329. package/dist/stories/ViewSwitch/img/Tile.js +20 -0
  330. package/dist/stories/ViewSwitch/img/TileLong.js +20 -0
  331. package/dist/styles/font.scss +93 -0
  332. package/dist/styles/globals.scss +66 -0
  333. package/package.json +1 -1
@@ -0,0 +1,254 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.usePagination = exports.PAGE_SIZES = void 0;
7
+ var _react = require("react");
8
+ require("./Paginator.scss");
9
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
10
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
11
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
12
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
13
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
14
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
15
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
16
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
17
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
18
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
19
+ var PAGE_SIZES = exports.PAGE_SIZES = [10, 50, 100];
20
+ var DEFAULT_PAGE = 1;
21
+ var DOT_SCROLL_STEP = 5;
22
+ var VISIBLE_ELEMENTS = 7;
23
+ var Paginator = function Paginator(_ref) {
24
+ var _Array$from;
25
+ var pageSize = _ref.pageSize,
26
+ pageNumber = _ref.pageNumber,
27
+ setPageSize = _ref.setPageSize,
28
+ setPageNumber = _ref.setPageNumber,
29
+ total = _ref.total,
30
+ lang = _ref.lang;
31
+ var totalPages = total ? Math.ceil(total / pageSize) : 0;
32
+ var firstItemOnThePage = pageSize * (pageNumber - 1) + 1;
33
+ var lastItemOnThePage = firstItemOnThePage === 1 ? pageSize : firstItemOnThePage - 1 + pageSize;
34
+ if (total < lastItemOnThePage) {
35
+ lastItemOnThePage = total;
36
+ }
37
+ var selectRef = (0, _react.useRef)();
38
+ var _useState = (0, _react.useState)([]),
39
+ _useState2 = _slicedToArray(_useState, 2),
40
+ viewRange = _useState2[0],
41
+ setViewRange = _useState2[1];
42
+
43
+ //перевод
44
+ var translateOf = function translateOf() {
45
+ if (lang == 'tur') return 'üzerinden';
46
+ if (lang == 'eng') return 'out of';
47
+ return 'из';
48
+ };
49
+ var onPageNumberClick = function onPageNumberClick(e) {
50
+ var newNumber = parseInt(e.target.title, 10);
51
+ setPageNumber(newNumber);
52
+ if (newNumber === DEFAULT_PAGE || newNumber === totalPages) updateViewRange(newNumber);
53
+ };
54
+ var onSelectChange = function onSelectChange(e) {
55
+ setPageNumber(DEFAULT_PAGE);
56
+ setPageSize(parseInt(e.target.value));
57
+ };
58
+ var updatePageNumber = function updatePageNumber(number) {
59
+ setPageNumber(number);
60
+ updateViewRange(number);
61
+ };
62
+ (0, _react.useEffect)(function () {
63
+ selectRef.current.value = pageSize;
64
+ }, []);
65
+ (0, _react.useEffect)(function () {
66
+ updateViewRange(pageNumber);
67
+ }, [totalPages]);
68
+ var LeftDots = function LeftDots(currentNumber) {
69
+ return /*#__PURE__*/React.createElement("span", {
70
+ className: "dots",
71
+ onClick: function onClick() {
72
+ return updatePageNumber(currentNumber - DOT_SCROLL_STEP);
73
+ }
74
+ }, "...");
75
+ };
76
+ var RightDots = function RightDots(currentNumber) {
77
+ return /*#__PURE__*/React.createElement("span", {
78
+ className: "dots",
79
+ onClick: function onClick() {
80
+ return updatePageNumber(currentNumber + DOT_SCROLL_STEP);
81
+ }
82
+ }, "...");
83
+ };
84
+ var LeftArrow = function LeftArrow() {
85
+ return /*#__PURE__*/React.createElement(Arrow, {
86
+ wrapperClassName: "arrow_wrapper",
87
+ className: "arrow_prev",
88
+ scrollCallback: function scrollCallback() {
89
+ return updatePageNumber(pageNumber - 1);
90
+ },
91
+ disabled: pageNumber === DEFAULT_PAGE
92
+ });
93
+ };
94
+ var RightArrow = function RightArrow() {
95
+ return /*#__PURE__*/React.createElement(Arrow, {
96
+ wrapperClassName: "arrow_wrapper",
97
+ className: "arrow_next",
98
+ scrollCallback: function scrollCallback() {
99
+ return updatePageNumber(pageNumber + 1);
100
+ },
101
+ disabled: pageNumber === totalPages
102
+ });
103
+ };
104
+ var updateViewRange = function updateViewRange(currentNumber) {
105
+ var allPageNumbers = Array.from(_toConsumableArray(Array(totalPages).keys())).map(function (p) {
106
+ return p + 1;
107
+ });
108
+ if (!totalPages || totalPages < VISIBLE_ELEMENTS) {
109
+ setViewRange(allPageNumbers);
110
+ return;
111
+ }
112
+ if (currentNumber === DEFAULT_PAGE || currentNumber - DEFAULT_PAGE < DOT_SCROLL_STEP) {
113
+ setViewRange([].concat(_toConsumableArray(allPageNumbers.slice(0, DOT_SCROLL_STEP)), [RightDots, totalPages]));
114
+ return;
115
+ }
116
+ if (currentNumber === totalPages || totalPages - currentNumber < DOT_SCROLL_STEP) {
117
+ setViewRange([DEFAULT_PAGE, LeftDots].concat(_toConsumableArray(allPageNumbers.slice(-DOT_SCROLL_STEP))));
118
+ return;
119
+ }
120
+ setViewRange([DEFAULT_PAGE, LeftDots, currentNumber - 1, currentNumber, currentNumber + 1, RightDots, totalPages]);
121
+ };
122
+ return /*#__PURE__*/React.createElement("div", {
123
+ className: "paginator"
124
+ }, /*#__PURE__*/React.createElement("select", {
125
+ ref: selectRef,
126
+ onChange: onSelectChange,
127
+ className: "select-page"
128
+ }, PAGE_SIZES === null || PAGE_SIZES === void 0 ? void 0 : PAGE_SIZES.map(function (size) {
129
+ return /*#__PURE__*/React.createElement("option", {
130
+ key: size
131
+ }, size);
132
+ })), /*#__PURE__*/React.createElement("div", {
133
+ className: 'pagination_wrapper' + (totalPages ? '' : '_disabled')
134
+ }, /*#__PURE__*/React.createElement("div", {
135
+ className: "pagination_container"
136
+ }, /*#__PURE__*/React.createElement(LeftArrow, null), !totalPages && ((_Array$from = Array.from(_toConsumableArray(Array(3).keys()))) === null || _Array$from === void 0 ? void 0 : _Array$from.map(function (_, index) {
137
+ return /*#__PURE__*/React.createElement(PageNumber, {
138
+ itemId: index,
139
+ className: "page-num",
140
+ title: index + 1,
141
+ key: index
142
+ });
143
+ })), viewRange === null || viewRange === void 0 ? void 0 : viewRange.map(function (el) {
144
+ return typeof el === 'number' ? /*#__PURE__*/React.createElement(PageNumber, {
145
+ className: "page-num",
146
+ onClick: onPageNumberClick,
147
+ selected: pageNumber === el,
148
+ title: el,
149
+ key: el,
150
+ itemId: el
151
+ }) : el(pageNumber);
152
+ }), /*#__PURE__*/React.createElement(RightArrow, null))), total ? /*#__PURE__*/React.createElement("p", {
153
+ className: "total-info"
154
+ }, firstItemOnThePage, " \u2014 ", lastItemOnThePage, " ", translateOf(), " ", total) : /*#__PURE__*/React.createElement("p", {
155
+ className: "total-info",
156
+ style: {
157
+ minWidth: '60px'
158
+ }
159
+ }));
160
+ };
161
+ var Arrow = function Arrow(_ref2) {
162
+ var className = _ref2.className,
163
+ wrapperClassName = _ref2.wrapperClassName,
164
+ scrollCallback = _ref2.scrollCallback,
165
+ disabled = _ref2.disabled;
166
+ return /*#__PURE__*/React.createElement("div", {
167
+ className: wrapperClassName
168
+ }, /*#__PURE__*/React.createElement("i", {
169
+ className: className,
170
+ disabled: disabled,
171
+ onClick: scrollCallback
172
+ }));
173
+ };
174
+ var PageNumber = function PageNumber(_ref3) {
175
+ var className = _ref3.className,
176
+ onClick = _ref3.onClick,
177
+ selected = _ref3.selected,
178
+ title = _ref3.title;
179
+ return /*#__PURE__*/React.createElement("span", {
180
+ className: className + (selected ? '_selected' : ''),
181
+ onClick: onClick,
182
+ title: title,
183
+ tabIndex: 0
184
+ }, title);
185
+ };
186
+ var usePagination = exports.usePagination = function usePagination(fetchCallback, dependencies, filters) {
187
+ var lang = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'rus';
188
+ var setParams = arguments.length > 4 ? arguments[4] : undefined;
189
+ var _useState3 = (0, _react.useState)(0),
190
+ _useState4 = _slicedToArray(_useState3, 2),
191
+ total = _useState4[0],
192
+ setTotal = _useState4[1];
193
+ var _useState5 = (0, _react.useState)(DEFAULT_PAGE),
194
+ _useState6 = _slicedToArray(_useState5, 2),
195
+ page = _useState6[0],
196
+ setPage = _useState6[1];
197
+ var _useState7 = (0, _react.useState)(PAGE_SIZES[0]),
198
+ _useState8 = _slicedToArray(_useState7, 2),
199
+ limit = _useState8[0],
200
+ setLimit = _useState8[1];
201
+ var _useState9 = (0, _react.useState)(false),
202
+ _useState10 = _slicedToArray(_useState9, 2),
203
+ noFetch = _useState10[0],
204
+ setNoFetch = _useState10[1];
205
+ var reset = function reset() {
206
+ setPage(DEFAULT_PAGE);
207
+ if (page !== DEFAULT_PAGE) setNoFetch(true);
208
+ if (typeof setParams === 'function') {
209
+ setParams([]);
210
+ }
211
+ };
212
+
213
+ // todo - remove
214
+ (0, _react.useEffect)(function () {
215
+ if (dependencies && page !== DEFAULT_PAGE) {
216
+ setPage(DEFAULT_PAGE);
217
+ setNoFetch(true);
218
+ }
219
+ }, dependencies);
220
+ (0, _react.useEffect)(function () {
221
+ if (total === 0) {
222
+ return;
223
+ }
224
+ if (noFetch) {
225
+ setNoFetch(false);
226
+ return;
227
+ }
228
+ if (fetchCallback) {
229
+ var abortController = fetchCallback(filters) || new AbortController();
230
+ return function () {
231
+ if (abortController !== null && abortController !== void 0 && abortController.abort) {
232
+ console.log(abortController);
233
+ abortController.abort();
234
+ }
235
+ };
236
+ }
237
+ }, [page, limit, filters]);
238
+ var _useState11 = (0, _react.useState)(localStorage.getItem("lang") || 'rus'),
239
+ _useState12 = _slicedToArray(_useState11, 2),
240
+ settings = _useState12[0],
241
+ setSettings = _useState12[1];
242
+ (0, _react.useEffect)(function () {
243
+ setSettings(localStorage.getItem("lang"));
244
+ }, [localStorage.getItem("lang")]);
245
+ var PaginatorComponent = /*#__PURE__*/React.createElement(Paginator, {
246
+ lang: settings,
247
+ pageSize: limit,
248
+ pageNumber: page,
249
+ setPageSize: setLimit,
250
+ setPageNumber: setPage,
251
+ total: total
252
+ });
253
+ return [page, limit, total, setTotal, PaginatorComponent, reset];
254
+ };
@@ -0,0 +1,168 @@
1
+ .pagination_wrapper {
2
+ &_disabled {
3
+ width: 123px;
4
+ opacity: 0.3;
5
+ pointer-events: none;
6
+ }
7
+ }
8
+
9
+ .pagination_container {
10
+ display: flex;
11
+ align-items: center;
12
+ gap: 2px;
13
+
14
+ &::-webkit-scrollbar {
15
+ display: none;
16
+ }
17
+
18
+ -ms-overflow-style: none;
19
+ scrollbar-width: none;
20
+ }
21
+
22
+ .page-num {
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: center;
26
+ min-width: 24px;
27
+ height: 24px;
28
+ text-align: center;
29
+ font-family: NunitoSans;
30
+ color: #11195D;
31
+ text-align: center;
32
+ font-size: 14px;
33
+ font-style: normal;
34
+ font-weight: 400;
35
+ line-height: 16px;
36
+ border-radius: 4px;
37
+ cursor: pointer;
38
+ padding-left: 2px;
39
+ padding-right: 2px;
40
+
41
+ &_selected {
42
+ transition: 0.3s;
43
+ @extend .page-num;
44
+ background-color: #51CA64;
45
+ color: white;
46
+ }
47
+
48
+ &:hover {
49
+ transition: 0.3s;
50
+ background-color:#51CA64;
51
+ color: white
52
+ }
53
+ }
54
+
55
+ .dots {
56
+ @extend .page-num;
57
+ }
58
+
59
+ .arrow_next {
60
+ @extend .page-num;
61
+ position: relative;
62
+ width: 12px;
63
+ height: 24px;
64
+ background-image: url('./img/arrow_next.svg');
65
+ background-repeat: no-repeat;
66
+ background-position: center;
67
+
68
+ &:hover {
69
+ background-color: inherit;
70
+ }
71
+
72
+ // @include optimizeSafariSvg(url('./img/arrow_next.svg'));
73
+ &::before {
74
+ transform: scale(0.13);
75
+ transform-origin: 46px 7px;
76
+ }
77
+
78
+ &[disabled] {
79
+ opacity: 0.5;
80
+
81
+ &:hover {
82
+ background-color: unset;
83
+ }
84
+
85
+ pointer-events: none;
86
+ }
87
+ }
88
+
89
+ .arrow_prev {
90
+ @extend .page-num;
91
+ position: relative;
92
+ width: 12px;
93
+ height: 24px;
94
+ background-image: url('./img/arrow_prev.svg');
95
+ background-repeat: no-repeat;
96
+ background-position: center;
97
+
98
+ // @include optimizeSafariSvg(url('./img/arrow_next.svg'));
99
+ &::before {
100
+ background-image: none;
101
+ transform: scale(0.13) scaleX(-1);
102
+ transform-origin: 42px 7px;
103
+ }
104
+
105
+ &[disabled] {
106
+ @extend .arrow_prev;
107
+ opacity: 0.1;
108
+
109
+ &:hover {
110
+ background-color: unset;
111
+ }
112
+
113
+ pointer-events: none;
114
+ }
115
+ }
116
+
117
+ .arrow_wrapper:has(.arrow_prev[disabled]) {
118
+ cursor: not-allowed;
119
+ }
120
+
121
+ .paginator {
122
+ padding: 8px 12px;
123
+ background-color: #FAFBFA;
124
+ border-radius: 0px 0px 8px 8px;
125
+ width: 100%;
126
+ display: flex;
127
+ justify-content: space-between;
128
+ gap: 0px;
129
+
130
+ .total-info {
131
+ font-size: 14px;
132
+ align-self: center;
133
+ text-align: center;
134
+ font-family: NunitoSans;
135
+ color: #11195D;
136
+ text-align: center;
137
+ font-size: 14px;
138
+ font-style: normal;
139
+ font-weight: 400;
140
+ line-height: 16px;
141
+ }
142
+ }
143
+
144
+ .select-page {
145
+ box-sizing: border-box;
146
+ outline: .5px solid #F0F0F0;
147
+ padding: .25em .5em;
148
+ border: 1px solid #F0F0F0;
149
+ border-radius: 4px;
150
+ -moz-appearance: none;
151
+ -webkit-appearance: none;
152
+ width: 60px;
153
+ background-image: url('./img/arrow_blue.svg');
154
+ background-size: 12px 12px;
155
+ background-position: right 8px center;
156
+ background-repeat: no-repeat;
157
+ font-size: 12px;
158
+ margin: 0 4px;
159
+ background-color: #F9FAFF;
160
+ outline: none;
161
+ border: none;
162
+ font-family: NunitoSans;
163
+ color: #11195D;
164
+ font-size: 14px;
165
+ font-style: normal;
166
+ font-weight: 400;
167
+ line-height: 16px;
168
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.OneHundredItems = exports.Default = void 0;
7
+ var _react = require("react");
8
+ var _addonActions = require("@storybook/addon-actions");
9
+ var _Paginator = require("./Paginator");
10
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
11
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
12
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
13
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
15
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
16
+ var _default = exports["default"] = {
17
+ title: 'Components/Paginator',
18
+ parameters: {
19
+ laoyout: 'centered'
20
+ },
21
+ args: {
22
+ fetchCallback: (0, _addonActions.action)('fetchCallback'),
23
+ filters: {
24
+ test: '123'
25
+ }
26
+ }
27
+ };
28
+ var Default = exports.Default = {
29
+ render: function render(_ref) {
30
+ var fetchCallback = _ref.fetchCallback;
31
+ var _usePagination = (0, _Paginator.usePagination)(fetchCallback, [], {}),
32
+ _usePagination2 = _slicedToArray(_usePagination, 5),
33
+ page = _usePagination2[0],
34
+ limit = _usePagination2[1],
35
+ total = _usePagination2[2],
36
+ setTotal = _usePagination2[3],
37
+ Paginator = _usePagination2[4];
38
+ return Paginator;
39
+ }
40
+ };
41
+ var OneHundredItems = exports.OneHundredItems = {
42
+ render: function render(_ref2) {
43
+ var fetchCallback = _ref2.fetchCallback;
44
+ var _usePagination3 = (0, _Paginator.usePagination)(fetchCallback, [], {}),
45
+ _usePagination4 = _slicedToArray(_usePagination3, 5),
46
+ page = _usePagination4[0],
47
+ limit = _usePagination4[1],
48
+ total = _usePagination4[2],
49
+ setTotal = _usePagination4[3],
50
+ Paginator = _usePagination4[4];
51
+ (0, _react.useEffect)(function () {
52
+ setTotal(100);
53
+ }, []);
54
+ return Paginator;
55
+ }
56
+ };
@@ -0,0 +1,3 @@
1
+ <svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1.5 1.75L6 6.25L10.5 1.75" stroke="#1890FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="19" transform="rotate(-180)" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.75 13.5L7.25 9L11.75 4.5" stroke="#0B110B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.75 13.5L7.25 9L11.75 4.5" stroke="#0B110B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>