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,83 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.Default = void 0;
7
+ var _Table = _interopRequireDefault(require("./Table"));
8
+ var _addonActions = require("@storybook/addon-actions");
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ var stubFetchedData = [['', [{
11
+ "alt": "",
12
+ "value": "https://apps1.ecomru.ru:9001/redactor-images/photo16983928661_1.jpeg"
13
+ }, {
14
+ "alt": "",
15
+ "value": "https://apps1.ecomru.ru:9001/redactor-images/photo1698392866_1.jpeg"
16
+ }, {
17
+ "alt": "",
18
+ "value": "https://apps1.ecomru.ru:9001/redactor-images/photo1698393232_1.jpeg"
19
+ }, {
20
+ "alt": "Векторная иллюстрация интернет магазина FMCG",
21
+ "value": "https://apps1.ecomru.ru:9001/redactor-images/vektornaya-illyustraciya-internet-magazina-fmcg.png"
22
+ }, {
23
+ "alt": "",
24
+ "value": "https://apps1.ecomru.ru:9001/redactor-images/photo16983932321_1.jpeg"
25
+ }, {
26
+ "alt": "",
27
+ "value": "https://apps1.ecomru.ru:9001/redactor-images/photo16983932322_1.jpeg"
28
+ }], 'text', ["Atlas for Women", 'some-link/1234/test'], ["1675", "₽"], ["16224", "₽"], 1, [false, 9786], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasdaaskjldhaskjdhaskldjhaskjdhakljdhaskjdhakjsdhkajhsdskajh', 'some description some description some descriptionaksdmalsmd,amsd.,amsd', 'brandadmkl;mas,.dmas,.dma.s,dm.as,dmasdn,amsnd,amnda,mndamnkljasdh', 'istrade-DKT-8802102-26/27-GRİ MAVİ', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 5, 9121, 13712, 15, 21, 0, 1, 5, 1, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"], ['строка', 'еще строка']], ['', "https://apps1.ecomru.ru:9001/developerimages/app_static_media_gllacy-index.jpg", 'text', ["Atlas for Women", 'some-link/1234/test'], ["1675", "₽"], ["16224", "₽"], 1, [true, 4566456], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasda', 'some description some description some description', 'brand', 'offer_id-1231231231', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 5, 9121, 13712, 15, 21, 0, 1, 5, 1, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]], ['', null, 'text', ["Нет бренда", 'some-link/1234/test'], ["0", "₽"], ["0", "₽"], 0, [false, 123456], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasda', 'some description some description some description', 'brand', 'offer_id-1231231231', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 0, 706, 767, 0, 0, 0, 0, 0, 0, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]], ['', "https://apps1.ecomru.ru:9001/developerimages/app_static_media_gllacy-index.jpg", 'text', ["Atlas for Women", 'some-link/1234/test'], ["1675", "₽"], ["16224", "₽"], 1, [false, 9786], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasdaaskjldhaskjdhaskldjhaskjdhakljdhaskjdhakjsdhkajhsdskajh', 'some description some description some descriptionaksdmalsmd,amsd.,amsd', 'brandadmkl;mas,.dmas,.dma.s,dm.as,dmasdn,amsnd,amnda,mndamnkljasdh', 'istrade-DKT-8802102-26/27-GRİ MAVİ', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 5, 9121, 13712, 15, 21, 0, 1, 5, 1, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]], ['', "https://apps1.ecomru.ru:9001/developerimages/app_static_media_gllacy-index.jpg", 'text', ["Atlas for Women", 'some-link/1234/test'], ["1675", "₽"], ["16224", "₽"], 1, [true, 4566456], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasda', 'some description some description some description', 'brand', 'offer_id-1231231231', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 5, 9121, 13712, 15, 21, 0, 1, 5, 1, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]], ['', null, 'text', ["Нет бренда", 'some-link/1234/test'], ["0", "₽"], ["0", "₽"], 0, [false, 123456], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasda', 'some description some description some description', 'brand', 'offer_id-1231231231', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 0, 706, 767, 0, 0, 0, 0, 0, 0, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]], ['', "https://apps1.ecomru.ru:9001/developerimages/app_static_media_gllacy-index.jpg", 'text', ["Atlas for Women", 'some-link/1234/test'], ["1675", "₽"], ["16224", "₽"], 1, [false, 9786], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasdaaskjldhaskjdhaskldjhaskjdhakljdhaskjdhakjsdhkajhsdskajh', 'some description some description some descriptionaksdmalsmd,amsd.,amsd', 'brandadmkl;mas,.dmas,.dma.s,dm.as,dmasdn,amsnd,amnda,mndamnkljasdh', 'istrade-DKT-8802102-26/27-GRİ MAVİ', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 5, 9121, 13712, 15, 21, 0, 1, 5, 1, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]], ['', "https://apps1.ecomru.ru:9001/developerimages/app_static_media_gllacy-index.jpg", 'text', ["Atlas for Women", 'some-link/1234/test'], ["1675", "₽"], ["16224", "₽"], 1, [true, 4566456], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasda', 'some description some description some description', 'brand', 'offer_id-1231231231', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 5, 9121, 13712, 15, 21, 0, 1, 5, 1, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]], ['', null, 'text', ["Нет бренда", 'some-link/1234/test'], ["0", "₽"], ["0", "₽"], 0, [false, 123456], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasda', 'some description some description some description', 'brand', 'offer_id-1231231231', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 0, 706, 767, 0, 0, 0, 0, 0, 0, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]], ['', "https://apps1.ecomru.ru:9001/developerimages/app_static_media_gllacy-index.jpg", 'text', ["Atlas for Women", 'some-link/1234/test'], ["1675", "₽"], ["16224", "₽"], 1, [false, 9786], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasdaaskjldhaskjdhaskldjhaskjdhakljdhaskjdhakjsdhkajhsdskajh', 'some description some description some descriptionaksdmalsmd,amsd.,amsd', 'brandadmkl;mas,.dmas,.dma.s,dm.as,dmasdn,amsnd,amnda,mndamnkljasdh', 'istrade-DKT-8802102-26/27-GRİ MAVİ', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 5, 9121, 13712, 15, 21, 0, 1, 5, 1, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]], ['', "https://apps1.ecomru.ru:9001/developerimages/app_static_media_gllacy-index.jpg", 'text', ["Atlas for Women", 'some-link/1234/test'], ["1675", "₽"], ["16224", "₽"], 1, [true, 4566456], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasda', 'some description some description some description', 'brand', 'offer_id-1231231231', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 5, 9121, 13712, 15, 21, 0, 1, 5, 1, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]], ['', null, 'text', ["Нет бренда", 'some-link/1234/test'], ["0", "₽"], ["0", "₽"], 0, [false, 123456], ['https://cdn1.ozone.ru/s3/multimedia-5/6066520445.jpg', 'Nameasdasda', 'some description some description some description', 'brand', 'offer_id-1231231231', 'offer_id-1231231231'], '', '', ['ASD', 'https://google.com'], 0, 706, 767, 0, 0, 0, 0, 0, 0, ["CAMPAIGN_STATE_RUNNING", "BBF7D0", "15803D"]]];
29
+ var stubHeaders = {
30
+ "styles": [[{}, {
31
+ color: 'red'
32
+ }, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, [{
33
+ "color": "black",
34
+ "fontSize": 14,
35
+ "font-weight": "bold"
36
+ }, {
37
+ "color": "blue",
38
+ "fontSize": 12
39
+ }]
40
+ // {
41
+ // "color": "red",
42
+ // "fontSize": 14,
43
+ // "font-weight": "bold"
44
+ // }
45
+ ]],
46
+ "header": ['', "Фото", 'Text', "Бренд", "Выручка тек. п-д", "Выручка пред. п-д", "Заказы тек. п-д", 'toggleStatus', 'collectInfo', 'contextMenu', 'Date', 'textWithLink', "Заказы пред. п-д", "Показы тек. п-д", "Показы пред. п-д", "Клики тек. п-д", "Клики пред. п-д", "Возвраты тек. п-д", "Возвраты пред. п-д", "Отмены тек. п-д", "Отмены пред. п-д", 'statusWithColor'],
47
+ "type": ["hidden", 'image', 'text', "textWithLink", "currency", "currency", "num", 'toggleStatus', 'collectInfo', 'contextMenu', 'date', "textWithLink", "num", "num", "num", "num", "num", "num", "num", "num", "num", 'statusWithColor', 'stringLayers'],
48
+ "tooltips": ['', "", "", '', "Выбранный бренд", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]
49
+ };
50
+ var stubColumnSize = ['50px', 56, '120px', "120px", "124px", "124px", "102px", "152px", "312px", "102px", "102px", "102px", "102px", "107px", "107px", "104px", "104px", "102px", "80px"];
51
+ var stubSort = ["Выручка тек. п-д", "DESC"];
52
+ var _default = exports["default"] = {
53
+ title: 'Components/Table',
54
+ component: _Table["default"],
55
+ parameters: {
56
+ laout: 'centered'
57
+ },
58
+ args: {
59
+ loading: false,
60
+ fetchedData: stubFetchedData,
61
+ headers: stubHeaders,
62
+ onDelete: (0, _addonActions.action)('onDelete'),
63
+ onEdit: (0, _addonActions.action)('onEdit'),
64
+ onCheck: (0, _addonActions.action)('onCheck'),
65
+ onToggle: (0, _addonActions.action)('onToggle'),
66
+ isSortable: true,
67
+ onBooleanCheckbox: false,
68
+ onAction: (0, _addonActions.action)('onAction'),
69
+ sortingFunc: (0, _addonActions.action)('sortingFunc'),
70
+ sort: stubSort,
71
+ isInsideTable: false,
72
+ fetchDataInsideFunc: (0, _addonActions.action)('fetchDataInsideFunc'),
73
+ nestedTable: false,
74
+ columnSize: stubColumnSize,
75
+ setParams: (0, _addonActions.action)('setParams'),
76
+ fileFilters: [],
77
+ setFileFilters: (0, _addonActions.action)('setFileFilters'),
78
+ date: new Date(),
79
+ basePath: 'main',
80
+ onRedirect: (0, _addonActions.action)('onRedirect')
81
+ }
82
+ };
83
+ var Default = exports.Default = {};
@@ -0,0 +1,172 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _reactChartjs = require("react-chartjs-2");
9
+ var _react = require("react");
10
+ require("./TableChartTd.scss");
11
+ var _chart = require("chart.js");
12
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
17
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
18
+ 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."); }
19
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
20
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
21
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
22
+ 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."); }
23
+ 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; } }
24
+ 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; }
25
+ 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; } }
26
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
27
+ _chart.Chart.register(_chart.LinearScale, _chart.CategoryScale, _chart.BarElement, _chart.PointElement, _chart.LineElement, _chart.Title, _chart.Tooltip, _chart.Legend, _chart.LineController, _chart.BarController);
28
+ var TableChartTd = function TableChartTd(_ref) {
29
+ var labels_prop = _ref.labels_prop,
30
+ datasets_prop = _ref.datasets_prop,
31
+ label = _ref.label,
32
+ _ref$colorArr = _ref.colorArr,
33
+ colorArr = _ref$colorArr === void 0 ? [] : _ref$colorArr;
34
+ var chartRef = (0, _react.useRef)(null);
35
+ var colors = ['#877CFF', '#D2CEFF', '#FFA15D', '#339933', '#3399FF', '#9966FF', '#FF9999', '#9933CC', '#FFFF99'];
36
+ var _useState = (0, _react.useState)([]),
37
+ _useState2 = _slicedToArray(_useState, 2),
38
+ datasetInds = _useState2[0],
39
+ setDatasetInds = _useState2[1];
40
+ var _useState3 = (0, _react.useState)([]),
41
+ _useState4 = _slicedToArray(_useState3, 2),
42
+ labels = _useState4[0],
43
+ setLabels = _useState4[1];
44
+ var _useState5 = (0, _react.useState)([{
45
+ label: 'No data',
46
+ data: [],
47
+ borderColor: colorArr[0] ? colorArr[0] : colors[0],
48
+ fontSize: 30,
49
+ tension: .5,
50
+ yAxisID: "y"
51
+ }, {
52
+ label: 'No data',
53
+ data: [],
54
+ fontSize: 30,
55
+ borderColor: colorArr[1] ? colorArr[1] : colors[1],
56
+ tension: .5
57
+ }]),
58
+ _useState6 = _slicedToArray(_useState5, 2),
59
+ datasets = _useState6[0],
60
+ setDatasets = _useState6[1];
61
+ var _useState7 = (0, _react.useState)({
62
+ labels: labels,
63
+ datasets: datasets
64
+ }),
65
+ _useState8 = _slicedToArray(_useState7, 2),
66
+ data = _useState8[0],
67
+ setData = _useState8[1];
68
+ var _useState9 = (0, _react.useState)({
69
+ type: 'line',
70
+ responsive: true,
71
+ maintainAspectRatio: true,
72
+ aspectRatio: 2,
73
+ borderWidth: 3,
74
+ pointRadius: 1,
75
+ grid: {
76
+ display: 'false'
77
+ },
78
+ interaction: {
79
+ intersect: false
80
+ },
81
+ plugins: {
82
+ legend: {
83
+ display: false
84
+ },
85
+ tooltip: {
86
+ display: false
87
+ },
88
+ title: {
89
+ display: false,
90
+ text: ''
91
+ }
92
+ },
93
+ scales: {
94
+ x: {
95
+ grid: {
96
+ display: false
97
+ },
98
+ ticks: {
99
+ display: false
100
+ }
101
+ },
102
+ y: {
103
+ grid: {
104
+ display: false
105
+ },
106
+ ticks: {
107
+ display: false
108
+ }
109
+ }
110
+ }
111
+ }),
112
+ _useState10 = _slicedToArray(_useState9, 2),
113
+ options = _useState10[0],
114
+ setOptions = _useState10[1];
115
+ var _useState11 = (0, _react.useState)(/*#__PURE__*/React.createElement(React.Fragment, null)),
116
+ _useState12 = _slicedToArray(_useState11, 2),
117
+ lineChart = _useState12[0],
118
+ setLineChart = _useState12[1];
119
+ (0, _react.useEffect)(function () {
120
+ if ((labels_prop === null || labels_prop === void 0 ? void 0 : labels_prop.length) > 0) {
121
+ setLabels(_toConsumableArray(labels_prop));
122
+ } else {
123
+ if (JSON.stringify(labels_prop) !== JSON.stringify(labels)) {
124
+ setLabels([]);
125
+ }
126
+ }
127
+ if ((datasets_prop === null || datasets_prop === void 0 ? void 0 : datasets_prop.length) > 0) {
128
+ setDatasets(_toConsumableArray(datasets_prop.map(function (el, ind) {
129
+ return _objectSpread(_objectSpread({}, datasets[0]), {}, {
130
+ data: el,
131
+ borderColor: (datasetInds === null || datasetInds === void 0 ? void 0 : datasetInds.length) > 0 ? colors[datasetInds[ind]] : colors === null || colors === void 0 ? void 0 : colors[ind],
132
+ backgroundColor: (datasetInds === null || datasetInds === void 0 ? void 0 : datasetInds.length) > 0 ? colors[datasetInds[ind]] : colors === null || colors === void 0 ? void 0 : colors[ind],
133
+ label: (label === null || label === void 0 ? void 0 : label.length) > 0 ? label === null || label === void 0 ? void 0 : label[ind] : ' '
134
+ });
135
+ })));
136
+ } else {
137
+ if (JSON.stringify(datasets_prop) !== JSON.stringify(datasets)) {
138
+ setDatasets([]);
139
+ }
140
+ }
141
+ }, [labels_prop, datasets_prop, datasetInds]);
142
+ (0, _react.useEffect)(function () {
143
+ setData({
144
+ labels: labels,
145
+ datasets: datasets
146
+ });
147
+ }, [datasets, labels]);
148
+ (0, _react.useEffect)(function () {
149
+ setLineChart(/*#__PURE__*/React.createElement(_reactChartjs.Chart, {
150
+ height: 130,
151
+ width: 120,
152
+ options: options,
153
+ data: data,
154
+ ref: chartRef,
155
+ type: "line"
156
+ }));
157
+ }, [data, options]);
158
+ return (
159
+ /*#__PURE__*/
160
+ // loading
161
+ // ?
162
+ // <div className="chart_loader_wrapper" >
163
+ // <MoonLoader
164
+ // color="#7b7b7b"
165
+ // speedMultiplier={0.5}
166
+ // />
167
+ // </div>
168
+ // :
169
+ React.createElement("div", null, lineChart)
170
+ );
171
+ };
172
+ var _default = exports["default"] = TableChartTd;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TdDate = void 0;
7
+ var _reactRouterDom = require("react-router-dom");
8
+ var _react = require("react");
9
+ var _reactDatepicker = _interopRequireDefault(require("react-datepicker"));
10
+ var _ru = _interopRequireDefault(require("date-fns/locale/ru"));
11
+ require("./TdDate.scss");
12
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
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 TdDate = exports.TdDate = function TdDate(_ref) {
20
+ var date = _ref.date,
21
+ _ref$edit = _ref.edit,
22
+ edit = _ref$edit === void 0 ? false : _ref$edit;
23
+ var _useState = (0, _react.useState)(new Date(date)),
24
+ _useState2 = _slicedToArray(_useState, 2),
25
+ startDate = _useState2[0],
26
+ setStartDate = _useState2[1];
27
+ return /*#__PURE__*/React.createElement(_reactDatepicker["default"], {
28
+ selected: startDate,
29
+ startDate: startDate,
30
+ onChange: function onChange(e) {
31
+ return setStartDate(e);
32
+ },
33
+ readOnly: edit,
34
+ locale: _ru["default"]
35
+ });
36
+ };
File without changes
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.TdDate = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _reactDatepicker = _interopRequireDefault(require("react-datepicker"));
10
+ var _ru = _interopRequireDefault(require("date-fns/locale/ru"));
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
15
+ 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."); }
16
+ 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; } }
17
+ 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; }
18
+ 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; } }
19
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
20
+ var TdDate = exports.TdDate = function TdDate(_ref) {
21
+ var date = _ref.date;
22
+ var _useState = (0, _react.useState)(new Date(date)),
23
+ _useState2 = _slicedToArray(_useState, 2),
24
+ startDate = _useState2[0],
25
+ setStartDate = _useState2[1];
26
+ return /*#__PURE__*/_react["default"].createElement(_reactDatepicker["default"], {
27
+ selected: startDate,
28
+ startDate: startDate,
29
+ onChange: function onChange(e) {
30
+ return setStartDate(e);
31
+ },
32
+ locale: _ru["default"]
33
+ });
34
+ };
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.TypeTdImage = void 0;
8
+ var _react = require("react");
9
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
10
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
11
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
13
+ 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."); }
14
+ 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; } }
15
+ 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; }
16
+ 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; } }
17
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
18
+ function _objectDestructuringEmpty(t) { if (null == t) throw new TypeError("Cannot destructure " + t); }
19
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
20
+ var imageNotFound = require('./img/imageNotFound.svg');
21
+ var TypeTdImage = exports.TypeTdImage = function TypeTdImage(_ref) {
22
+ var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
23
+ var src = props.src,
24
+ alt = props.alt,
25
+ key = props.key,
26
+ imgWidthPercents = props.imgWidthPercents;
27
+
28
+ // Узнаем позицию картинки при наведении в
29
+ // и определяем с какой стороны она будет позиционироваться
30
+
31
+ var _useState = (0, _react.useState)(false),
32
+ _useState2 = _slicedToArray(_useState, 2),
33
+ isShowImg = _useState2[0],
34
+ setIsShowImg = _useState2[1];
35
+ var _useState3 = (0, _react.useState)('top'),
36
+ _useState4 = _slicedToArray(_useState3, 2),
37
+ positionHiddenImg = _useState4[0],
38
+ setPositionHiddenImg = _useState4[1];
39
+ var refImg = (0, _react.useRef)();
40
+ var positionImg = function positionImg(ref, setState) {
41
+ var table = document.querySelector('.table-box-component__content');
42
+ if (table) {
43
+ var table_position_bottom = table.getBoundingClientRect().bottom;
44
+ var table_position_top = table.getBoundingClientRect().top;
45
+ var img_position_bottom = ref.current.getBoundingClientRect().bottom;
46
+ if (table_position_bottom > img_position_bottom + 260) {
47
+ setState('top');
48
+ } else {
49
+ setState('bottom');
50
+ }
51
+ }
52
+ };
53
+ if (typeof src === 'string') {
54
+ if ((src === null || src === void 0 ? void 0 : src.indexOf('http')) < 0) return;
55
+ }
56
+ return /*#__PURE__*/React.createElement("div", {
57
+ className: "single-img-container",
58
+ key: key,
59
+ style: {
60
+ width: "".concat(imgWidthPercents === 0 ? 100 : imgWidthPercents, "%")
61
+ },
62
+ onMouseOver: function onMouseOver(e) {
63
+ setIsShowImg(true);
64
+ positionImg(refImg, setPositionHiddenImg);
65
+ },
66
+ onMouseOut: function onMouseOut(e) {
67
+ setIsShowImg(false);
68
+ }
69
+ }, /*#__PURE__*/React.createElement("img", {
70
+ className: "img-table",
71
+ ref: refImg,
72
+ src: src ? src : imageNotFound,
73
+ alt: alt
74
+ }), src && /*#__PURE__*/React.createElement("div", {
75
+ className: "enlarge-photo",
76
+ style: _defineProperty({
77
+ display: isShowImg ? 'block' : 'none',
78
+ opacity: isShowImg ? '1' : '0'
79
+ }, positionHiddenImg, '0px')
80
+ }, /*#__PURE__*/React.createElement("img", {
81
+ ref: refImg,
82
+ src: src ? src : imageNotFound,
83
+ alt: alt
84
+ })));
85
+ };
@@ -0,0 +1,12 @@
1
+ // const SortArrow = () => {
2
+
3
+ // return (
4
+ // <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ // <path d="M5 12L8 15L11 12" stroke="#BDBCDB" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
6
+ // <path d="M8 14L8 1" stroke="#BDBCDB" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
7
+ // </svg>
8
+ // )
9
+ // }
10
+
11
+ // export { SortArrow }
12
+ "use strict";
@@ -0,0 +1,12 @@
1
+ // const SortArrowUp = () => {
2
+
3
+ // return (
4
+ // <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ // <path d="M11 5L8 2L5 5" stroke="#BDBCDB" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
6
+ // <path d="M8 2L8 15" stroke="#BDBCDB" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
7
+ // </svg>
8
+ // )
9
+ // }
10
+
11
+ // export { SortArrowUp }
12
+ "use strict";
@@ -0,0 +1,14 @@
1
+ // const SortTable = () => {
2
+
3
+ // return (
4
+ // <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ // <path d="M7 4L4 1L1 4" stroke="#BDBCDB" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
6
+ // <path d="M8 12L11 15L14 12" stroke="#BDBCDB" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
7
+ // <path d="M4 1L4 14" stroke="#BDBCDB" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
8
+ // <path d="M11 14L11 1" stroke="#BDBCDB" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
9
+ // </svg>
10
+ // )
11
+ // }
12
+
13
+ // export { SortTable }
14
+ "use strict";
@@ -0,0 +1,7 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="Close">
3
+ <rect width="20" height="20" rx="4" fill="#C5CCD3"/>
4
+ <path id="Vector" d="M15 5L5 15" stroke="#64748B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path id="Vector_2" d="M5 5L15 15" stroke="#64748B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.131802 0.131802C0.307538 -0.043934 0.592462 -0.043934 0.768198 0.131802L3 2.3636L5.2318 0.131802C5.40754 -0.043934 5.69246 -0.043934 5.8682 0.131802C6.04393 0.307538 6.04393 0.592462 5.8682 0.768198L3.6364 3L5.8682 5.2318C6.04393 5.40754 6.04393 5.69246 5.8682 5.8682C5.69246 6.04393 5.40754 6.04393 5.2318 5.8682L3 3.6364L0.768198 5.8682C0.592462 6.04393 0.307538 6.04393 0.131802 5.8682C-0.043934 5.69246 -0.043934 5.40754 0.131802 5.2318L2.3636 3L0.131802 0.768198C-0.043934 0.592462 -0.043934 0.307538 0.131802 0.131802Z" fill="#F5F5F5"/>
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z" fill="#F1F5F9"/>
3
+ <path d="M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" fill="#77BEFF" stroke="#70808F" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M12 6C12.5523 6 13 5.55228 13 5C13 4.44772 12.5523 4 12 4C11.4477 4 11 4.44772 11 5C11 5.55228 11.4477 6 12 6Z" fill="#70808F" stroke="#70808F" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M12 20C12.5523 20 13 19.5523 13 19C13 18.4477 12.5523 18 12 18C11.4477 18 11 18.4477 11 19C11 19.5523 11.4477 20 12 20Z" fill="#70808F" stroke="#70808F" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="trash">
3
+ <path id="Vector" d="M2 4H3.33333H14" stroke="#70808F" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path id="Vector_2" d="M5.33337 3.99967V2.66634C5.33337 2.31272 5.47385 1.97358 5.7239 1.72353C5.97395 1.47348 6.31309 1.33301 6.66671 1.33301H9.33337C9.687 1.33301 10.0261 1.47348 10.2762 1.72353C10.5262 1.97358 10.6667 2.31272 10.6667 2.66634V3.99967M12.6667 3.99967V13.333C12.6667 13.6866 12.5262 14.0258 12.2762 14.2758C12.0261 14.5259 11.687 14.6663 11.3334 14.6663H4.66671C4.31309 14.6663 3.97395 14.5259 3.7239 14.2758C3.47385 14.0258 3.33337 13.6866 3.33337 13.333V3.99967H12.6667Z" stroke="#70808F" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path id="Vector_3" d="M6.66663 7.33301V11.333" stroke="#70808F" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path id="Vector_4" d="M9.33337 7.33301V11.333" stroke="#70808F" stroke-linecap="round" stroke-linejoin="round"/>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13 1H1L5.8 6.78111V10.7778L8.2 12V6.78111L13 1Z" stroke="#BDBCDB" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z" stroke="#FF7374" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M10 6L6 10" stroke="#FF7374" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M6 6L10 10" stroke="#FF7374" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M40 2.02L37.98 0L0 37.98L2.02 40L4.87714 37.1429H34.2857C35.0431 37.1417 35.7692 36.8403 36.3048 36.3048C36.8403 35.7692 37.1417 35.0431 37.1429 34.2857V4.87714L40 2.02ZM34.2857 34.2857H7.73429L18.8671 23.1529L22.2657 26.5514C22.8015 27.0871 23.5281 27.388 24.2857 27.388C25.0433 27.388 25.7699 27.0871 26.3057 26.5514L28.5714 24.2857L34.2857 29.9957V34.2857ZM34.2857 25.9543L30.5914 22.26C30.0556 21.7244 29.329 21.4235 28.5714 21.4235C27.8138 21.4235 27.0872 21.7244 26.5514 22.26L24.2857 24.5257L20.89 21.13L34.2857 7.73429V25.9543ZM5.71429 28.5714V24.2857L12.8571 17.1471L14.8186 19.11L16.8414 17.0871L14.8771 15.1229C14.3413 14.5872 13.6148 14.2863 12.8571 14.2863C12.0995 14.2863 11.3729 14.5872 10.8371 15.1229L5.71429 20.2457V5.71429H28.5714V2.85714H5.71429C4.95676 2.8579 4.23047 3.15916 3.69482 3.69482C3.15916 4.23047 2.8579 4.95676 2.85714 5.71429V28.5714H5.71429Z" fill="#DCD8E0"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M5.36364 1.38636H2.02273C1.31982 1.38636 0.75 1.95618 0.75 2.65909V9.97727C0.75 10.6802 1.31982 11.25 2.02273 11.25H9.34091C10.0438 11.25 10.6136 10.6802 10.6136 9.97727V6.63636M11.25 0.75L6.63636 5.36364M11.25 0.75H9.02273M11.25 0.75V2.97727" stroke="#1890FF" stroke-opacity="0.59" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="Basic icons ">
3
+ <path id="Vector" d="M4.375 10.5L7 13.125L9.625 10.5" stroke="#0B110B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path id="Vector_2" d="M7 12.25L7 0.875" stroke="#0B110B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </g>
6
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.625 4.375L7 1.75L4.375 4.375" stroke="#0B110B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M7 1.75L7 13.125" stroke="#0B110B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="Basic icons ">
3
+ <path id="Vector" d="M6.125 3.5L3.5 0.875L0.875 3.5" stroke="#B2BBB2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path id="Vector_2" d="M7 10.5L9.625 13.125L12.25 10.5" stroke="#B2BBB2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path id="Vector_3" d="M3.5 0.875L3.5 12.25" stroke="#B2BBB2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path id="Vector_4" d="M9.625 12.25L9.625 0.875" stroke="#B2BBB2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.glass = exports.banner_table = void 0;
7
+ var glass = exports.glass = 'https://dl.ecomru.ru/svg-storage/glass.svg';
8
+ var banner_table = exports.banner_table = 'https://dl.ecomru.ru/svg-storage/table-banner.svg';