ecomlab-components-next 0.1.27 → 0.1.29
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.
- package/dist/components/ConstructorComponents/Footer/CopyrightBox/CopyrightBox.js +27 -0
- package/dist/components/ConstructorComponents/Footer/CopyrightBox/CopyrightBox.scss +36 -0
- package/dist/components/ConstructorComponents/Footer/CopyrightBox/img/ok.svg +4 -0
- package/dist/components/ConstructorComponents/Footer/CopyrightBox/img/tg.svg +4 -0
- package/dist/components/ConstructorComponents/Footer/CopyrightBox/img/vk.svg +3 -0
- package/dist/components/ConstructorComponents/Footer/Footer.js +109 -0
- package/dist/components/ConstructorComponents/Footer/Footer.scss +279 -0
- package/dist/components/ConstructorComponents/Footer/Footer.stories.js +231 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/FooterItem.js +54 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/FooterItem.scss +131 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/bx-chevron-down.svg +5 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/icon_mail.svg +9 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/icon_send-messages.svg +9 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/icon_tel.svg +9 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/logo.svg +9 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/mail.svg +9 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/point.svg +9 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/send-message.svg +9 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/skype.png +0 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/tel.svg +9 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/whatsup.png +0 -0
- package/dist/components/ConstructorComponents/Footer/FooterItem/img/youtobe.png +0 -0
- package/dist/components/ConstructorComponents/Footer/img/bx-chevron-down.svg +5 -0
- package/dist/components/ConstructorComponents/Footer/img/mir.png +0 -0
- package/dist/components/ConstructorComponents/HeaderMain/DropMenuItem/DropMenuItem.js +162 -0
- package/dist/components/ConstructorComponents/HeaderMain/DropMenuItem/DropMenuItem.scss +392 -0
- package/dist/components/ConstructorComponents/HeaderMain/DropMenuItem/img/cases.svg +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/DropMenuItem/img/examples.svg +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/DropMenuMobileVersion/DropMenuMobileVersion.js +139 -0
- package/dist/components/ConstructorComponents/HeaderMain/DropMenuMobileVersion/DropMenuMobileVersion.scss +149 -0
- package/dist/components/ConstructorComponents/HeaderMain/DropMenuMobileVersion/img/drop.svg +4 -0
- package/dist/components/ConstructorComponents/HeaderMain/Header.js +441 -0
- package/dist/components/ConstructorComponents/HeaderMain/Header.scss +551 -0
- package/dist/components/ConstructorComponents/HeaderMain/HeaderMain.stories.js +16 -0
- package/dist/components/ConstructorComponents/HeaderMain/Logo/Logo.js +26 -0
- package/dist/components/ConstructorComponents/HeaderMain/Logo/Logo.scss +15 -0
- package/dist/components/ConstructorComponents/HeaderMain/Logo/img/Header-img.svg +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/Logo/img/Logo.svg +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/ArrowGreen.js +21 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Banner.png +0 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Burger.js +21 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/HeaderImg.svg +29 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions/banner_yandex.svg +32 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/220/320/262/321/202/320/276/320/274/320/260/321/202/320/270/320/267/320/260/321/206/320/270/321/217 /320/274/320/260/321/200/320/272/320/265/321/202/320/277/320/273/320/265/320/271/321/201/320/276/320/262.svg" +12 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/220/320/262/321/202/320/276/320/274/320/260/321/202/320/270/321/207/320/265/321/201/320/272/320/276/320/265 /321/203/320/273/321/203/321/207/321/210/320/265/320/275/320/270/320/265 /320/272/320/260/321/200/321/202/320/276/321/207/320/265/320/272 /321/202/320/276/320/262/320/260/321/200/320/276/320/262.svg" +11 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/220/320/262/321/202/320/276/320/274/320/260/321/202/321/200/320/270/320/267/320/260/321/206/320/270/321/217_/320/272/320/276/320/275/321/202/320/265/320/275/321/202/320/260.svg +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/220/320/262/321/202/320/276/320/277/320/276/320/264/320/261/320/276/321/200 /320/272/320/273/321/216/321/207/320/265/320/262/321/213/321/205 /321/201/320/273/320/276/320/262.svg" +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/220/320/275/320/260/320/273/320/270/320/267 /320/272/320/276/320/275/320/272/321/203/321/200/320/265/320/275/321/202/320/276/320/262 /320/262 eCommerce.svg" +12 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/225/320/264/320/270/320/275/320/260/321/217 /321/201/320/270/321/201/321/202/320/265/320/274/320/260 /321/203/320/277/321/200/320/260/320/262/320/273/320/265/320/275/320/270/321/217 /320/272/320/276/320/275/321/202/320/265/320/275/321/202/320/276/320/274.svg" +4 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/230/320/267/320/276/320/261/321/200/320/260/320/266/320/265/320/275/320/270/320/265 /320/220/320/262/321/202/320/276/320/274/320/260/321/202/321/200/320/270/320/267/320/260/321/206/320/270/321/217 /320/272/320/276/320/275/321/202/320/265/320/275/321/202/320/260.svg" +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/230/320/267/320/276/320/261/321/200/320/260/320/266/320/265/320/275/320/270/320/265 /320/237/320/276/320/264/320/272/320/273/321/216/321/207/320/270/321/201/321/214 /320/272 /320/257/320/275/320/264/320/265/320/272/321/201 /320/234/320/260/321/200/320/272/320/265/321/202.svg" +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/234/320/260/321/200/320/272/320/265/321/202/320/277/320/273/320/265/320/271/321/201/321/213 /320/277/320/276/320/264 /320/272/320/273/321/216/321/207.svg" +11 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/237/320/260/321/200/321/201/320/270/320/275/320/263 /321/201/320/260/320/271/321/202/320/276/320/262.svg" +11 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/237/320/260/321/200/321/201/320/270/320/275/320/263_/320/272/320/276/320/275/320/272/321/203/321/200/320/265/320/275/321/202/320/276/320/262.svg +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/237/320/265/321/200/321/201/320/276/320/275/320/260/320/273/321/214/320/275/321/213/320/271 /320/274/320/265/320/275/320/265/320/264/320/266/320/265/321/200 /320/274/320/260/321/200/320/272/320/265/321/202/320/277/320/273/320/265/320/271/321/201/320/276/320/262.svg" +4 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/237/320/276/320/264/320/272/320/273/321/216/321/207/320/270/321/201/321/214 /320/272 /320/257/320/275/320/264/320/265/320/272/321/201 /320/234/320/260/321/200/320/272/320/265/321/202.svg" +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/240/320/260/320/261/320/276/321/202/320/260 /321/201 /320/272/320/276/320/275/321/202/320/265/320/275/321/202/320/276/320/274.svg" +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 /320/264/320/260/321/210/320/261/320/276/321/200/320/264/320/276/320/262.svg" +15 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/240/320/265/320/272/320/273/320/260/320/274/320/260, /320/277/321/200/320/276/320/264/320/262/320/270/320/266/320/265/320/275/320/270/320/265 /320/270 /320/274/320/260/321/200/320/272/320/265/321/202/320/270/320/275/320/263.svg" +11 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/243/320/277/321/200/320/260/320/262/320/273/320/265/320/275/320/270/320/265 /320/276/321/201/321/202/320/260/321/202/320/272/320/260/320/274/320/270.svg" +11 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/246/320/265/320/275/320/276/320/276/320/261/321/200/320/260/320/267/320/276/320/262/320/260/320/275/320/270/320/265.svg +13 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Services-and-Solutions//320/260/320/262/321/202/320/276/320/274/320/260/321/202/320/270/321/207/320/265/321/201/320/272/320/270/320/271 /320/277/320/265/321/200/320/265/320/275/320/276/321/201.svg" +4 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Telegram.js +21 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/UserCircle.js +23 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/Whatsapp.js +23 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/burger.svg +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bx-briefcase.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bx-building.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bx-chat.svg +4 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bx-detail.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bx-grid-alt.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bx-meteor.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bx-spreadsheet.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bx-user-circle.svg +13 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bx-user-pin.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bxl-telegram.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bxl-whatsapp.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/bxs-down-arrow.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/cases.svg +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/close.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/done.svg +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/drop.svg +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/en.svg +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/examples.svg +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries/FMCG.svg +10 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/220/320/262/321/202/320/276/320/274/320/260/321/202/321/200/320/270/320/267/320/260/321/206/320/270/321/217 /320/272/320/276/320/275/321/202/320/265/320/275/321/202/320/260.svg" +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/220/320/263/320/265/320/275/321/201/321/202/320/262/320/260/320/274.svg +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/221/321/200/320/265/320/275/320/264/320/260/320/274.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/230/320/267/320/276/320/261/321/200/320/260/320/266/320/265/320/275/320/270/320/265 /320/220/320/262/321/202/320/276/320/274/320/260/321/202/321/200/320/270/320/267/320/260/321/206/320/270/321/217 /320/272/320/276/320/275/321/202/320/265/320/275/321/202/320/260.svg" +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/230/320/267/320/276/320/261/321/200/320/260/320/266/320/265/320/275/320/270/320/265 /320/237/320/260/321/200/321/201/320/270/320/275/320/263 /320/272/320/276/320/275/320/272/321/203/321/200/320/265/320/275/321/202/320/276/320/262.svg" +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/236/320/264/320/265/320/266/320/264/320/260.svg +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/237/320/260/321/200/321/201/320/270/320/275/320/263 /320/272/320/276/320/275/320/272/321/203/321/200/320/265/320/275/321/202/320/276/320/262.svg" +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/237/320/276/321/201/321/202/320/260/320/262/321/211/320/270/320/272/320/260/320/274.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/237/321/200/320/276/320/270/320/267/320/262/320/276/320/264/320/270/321/202/320/265/320/273/321/217/320/274.svg +11 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/244/320/260/321/200/320/274/320/260/321/206/320/265/320/262/321/202/320/270/320/272/320/260.svg +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/244/321/203/320/273/321/204/320/270/320/273/320/274/320/265/320/275/321/202 /320/246/320/265/320/275/321/202/321/200/320/260/320/274.svg" +11 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/industries//320/255/320/273/320/265/320/272/321/202/321/200/320/276/320/275/320/270/320/272/320/260.svg +10 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/lang.svg +10 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/profile.svg +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/search.svg +10 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/analytics.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/calendar.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/competitors.svg +7 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/crm.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/feedback.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/keyword.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/marketing.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/network.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/product.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/stocks.svg +3 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/task.svg +6 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/tools.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service/wiki.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/service_icon.svg +5 -0
- package/dist/components/ConstructorComponents/HeaderMain/img/tur.svg +9 -0
- package/dist/components/ConstructorComponents/HeaderMain/img//321/203/320/277/321/200/320/260/320/262/320/273/320/265/320/275/320/270/320/265 /321/206/320/265/320/275/320/260/320/274/320/270.svg" +9 -0
- package/dist/components/ConstructorComponents/MainContainer/MainContainer.js +72 -1
- package/dist/components/Table/ButtonColumn/ButtonColumn.js +116 -0
- package/dist/components/Table/ButtonColumn/ButtonColumn.scss +117 -0
- package/dist/components/Table/ButtonColumn/img/column.svg +7 -0
- package/dist/components/Table/ButtonCopy/ButtonCopy.js +41 -0
- package/dist/components/Table/ButtonCopy/ButtonCopy.scss +43 -0
- package/dist/components/Table/ButtonCopy/img/copy.svg +3 -0
- package/dist/components/Table/ButtonExport/ButtonExport.js +87 -0
- package/dist/components/Table/ButtonExport/ButtonExport.scss +111 -0
- package/dist/components/Table/ButtonExport/img/export.svg +8 -0
- package/dist/components/Table/ButtonExport/img/pdf.svg +12 -0
- package/dist/components/Table/ButtonExport/img/xlc.svg +11 -0
- package/dist/components/Table/ButtonUpload/ButtonUpload.js +27 -0
- package/dist/components/Table/ButtonUpload/ButtonUpload.scss +45 -0
- package/dist/components/Table/ButtonUpload/img/upload_icon.svg +8 -0
- package/dist/components/Table/CheckboxToggle/CheckboxToggle.js +58 -0
- package/dist/components/Table/CheckboxToggle/CheckboxToggle.scss +117 -0
- package/dist/components/Table/Paginator/Paginator.js +260 -0
- package/dist/components/Table/Paginator/Paginator.scss +198 -0
- package/dist/components/Table/Paginator/img/arrow_blue.svg +3 -0
- package/dist/components/Table/Paginator/img/arrow_next.svg +3 -0
- package/dist/components/Table/Paginator/img/arrow_prev.svg +3 -0
- package/dist/components/Table/Table/Filters/OptionsDate.js +211 -0
- package/dist/components/Table/Table/Filters/OptionsImage.js +95 -0
- package/dist/components/Table/Table/Filters/OptionsImage.scss +10 -0
- package/dist/components/Table/Table/Filters/OptionsList.js +247 -0
- package/dist/components/Table/Table/Filters/OptionsNumber.js +226 -0
- package/dist/components/Table/Table/Filters/OptionsNumber.scss +100 -0
- package/dist/components/Table/Table/Filters/OptionsText.js +169 -0
- package/dist/components/Table/Table/Filters/OptionsText.scss +71 -0
- package/dist/components/Table/Table/Filters/img/FilterDefault.js +26 -0
- package/dist/components/Table/Table/Filters/img/FilterReset.js +41 -0
- package/dist/components/Table/Table/Filters/img/dropFilters.png +0 -0
- package/dist/components/Table/Table/Filters/img/filterDefault.svg +3 -0
- package/dist/components/Table/Table/Filters/img/filter_blue.svg +3 -0
- package/dist/components/Table/Table/Filters/img/filter_blue_background.svg +5 -0
- package/dist/components/Table/Table/Filters/img/filter_reset.svg +7 -0
- package/dist/components/Table/Table/InputWithState/InputWithState.js +40 -0
- package/dist/components/Table/Table/RenderFiltersTh/RenderFiltersTh.js +143 -0
- package/dist/components/Table/Table/RenderTd/RenderTd.js +23 -0
- package/dist/components/Table/Table/RenderTh/RenderTh.js +116 -0
- package/dist/components/Table/Table/Table.js +1569 -0
- package/dist/components/Table/Table/Table.scss +1524 -0
- package/dist/components/Table/Table/TableChartTd/TableChartTd.js +175 -0
- package/dist/components/Table/Table/TableChartTd/TableChartTd.scss +0 -0
- package/dist/components/Table/Table/TableInput/TableInput.js +107 -0
- package/dist/components/Table/Table/TableInput/TableInput.scss +35 -0
- package/dist/components/Table/Table/TableWithoutData/TableWithoutData.js +27 -0
- package/dist/components/Table/Table/TableWithoutData/TableWithoutData.scss +32 -0
- package/dist/components/Table/Table/TableWithoutData/img/doc_icon.png +0 -0
- package/dist/components/Table/Table/TdDate/TdDate.js +39 -0
- package/dist/components/Table/Table/TdDate/TdDate.scss +0 -0
- package/dist/components/Table/Table/TdDate.js +35 -0
- package/dist/components/Table/Table/TypeTdImage.js +90 -0
- package/dist/components/Table/Table/img/Search.png +0 -0
- package/dist/components/Table/Table/img/SortArrow.js +12 -0
- package/dist/components/Table/Table/img/SortArrowUp.js +12 -0
- package/dist/components/Table/Table/img/SortTable.js +14 -0
- package/dist/components/Table/Table/img/close_icon.svg +7 -0
- package/dist/components/Table/Table/img/close_white.svg +3 -0
- package/dist/components/Table/Table/img/context-menu.svg +6 -0
- package/dist/components/Table/Table/img/contextMenuBtn.png +0 -0
- package/dist/components/Table/Table/img/delete_icon.svg +8 -0
- package/dist/components/Table/Table/img/dropFilters.png +0 -0
- package/dist/components/Table/Table/img/filter.png +0 -0
- package/dist/components/Table/Table/img/filterDefault.png +0 -0
- package/dist/components/Table/Table/img/filter_blue.svg +3 -0
- package/dist/components/Table/Table/img/filter_blue_background.svg +5 -0
- package/dist/components/Table/Table/img/imageNotFound.svg +3 -0
- package/dist/components/Table/Table/img/location.svg +3 -0
- package/dist/components/Table/Table/img/sort_arrow_down.svg +6 -0
- package/dist/components/Table/Table/img/sort_arrow_up.svg +4 -0
- package/dist/components/Table/Table/img/sort_table.svg +8 -0
- package/dist/components/Table/Table/svg_img.js +8 -0
- package/dist/components/Table/TableBox/TableBox.js +310 -0
- package/dist/components/Table/TableBox/TableBox.scss +418 -0
- package/dist/components/Table/TableBox/TableBox.stories.js +339 -0
- package/dist/components/Table/TableBox/img/delete_icon.svg +9 -0
- package/dist/components/Table/TableBox/img/forward_icon.svg +9 -0
- package/dist/components/Table/TableBox/img/more_icon.svg +10 -0
- package/dist/components/Table/TableBox/img_stories/tag_icon.svg +5 -0
- package/dist/components/Table/TableInput/TableInput.js +107 -0
- package/dist/components/Table/TableInput/TableInput.scss +35 -0
- package/dist/components/Table/TableWithoutData/TableWithoutData.js +27 -0
- package/dist/components/Table/TableWithoutData/TableWithoutData.scss +32 -0
- package/dist/components/Table/TableWithoutData/img/doc_icon.png +0 -0
- package/dist/index.js +14 -0
- package/package.json +14 -9
|
@@ -5,13 +5,84 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _Header = _interopRequireDefault(require("../Header/Header"));
|
|
9
|
+
var _AdvantagesBlock = _interopRequireDefault(require("../AdvantagesBlock/AdvantagesBlock"));
|
|
10
|
+
var _ArticlesBlock = _interopRequireDefault(require("../ArticlesBlock/ArticlesBlock"));
|
|
11
|
+
var _CardsGrey = _interopRequireDefault(require("../CardsGrey/CardsGrey"));
|
|
12
|
+
var _BlocksInfo = _interopRequireDefault(require("../BlocksInfo/BlocksInfo"));
|
|
8
13
|
var _image = _interopRequireDefault(require("next/image"));
|
|
9
14
|
require("./MainContainer.scss");
|
|
10
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
|
+
var advantages_list = [{
|
|
17
|
+
title: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u044B\u0435 \u0440\u0435\u0448\u0435\u043D\u0438\u044F",
|
|
18
|
+
description: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, "\xB7 \u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044F \u0446\u0435\u043D\u043E\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u0410\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430 ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u0420\u0435\u043A\u043B\u0430\u043C\u0430 \u0438 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433 ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u0420\u0430\u0431\u043E\u0442\u0430 \u0441 \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u043E\u043C ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u041C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433 \u043A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043E\u0432 ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u0410\u0432\u0442\u043E\u043E\u0442\u0432\u0435\u0442\u044B \u043D\u0430 \u043E\u0442\u0437\u044B\u0432\u044B ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 SEO-\u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0430\u0446\u0438\u044F ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u0422\u0430\u0441\u043A-\u043C\u0435\u043D\u0435\u0434\u0436\u0435\u0440 ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 CRM ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 PIM \u0438 \u043C\u043D\u043E\u0433\u043E\u0435 \u0434\u0440\u0443\u0433\u043E\u0435 ", /*#__PURE__*/_react["default"].createElement("br", null))
|
|
19
|
+
}, {
|
|
20
|
+
title: "\u0420\u0435\u043A\u043B\u0430\u043C\u0430 \u0438 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433",
|
|
21
|
+
description: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, "\xB7 \u0412 2 \u0440\u0430\u0437\u0430 \u0441\u043E\u043A\u0440\u0430\u0442\u0438 \u0440\u0430\u0441\u0445\u043E\u0434\u044B \u043D\u0430 \u0440\u0435\u043A\u043B\u0430\u043C\u0443. ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u042D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u0440\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0439 \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0439 \u0431\u044E\u0434\u0436\u0435\u0442 \u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0439 \u0434\u0435\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443 \u043F\u043E \u043A\u0430\u0436\u0434\u043E\u0439 \u043A\u0430\u043C\u043F\u0430\u043D\u0438\u0438. ", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u041F\u043E\u043B\u0443\u0447\u0438 \u0431\u043E\u043B\u0435\u0435 50 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0445 \u043A\u0430\u043C\u043F\u0430\u043D\u0438\u0439 \u043D\u0430 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430\u0445.")
|
|
22
|
+
}, {
|
|
23
|
+
title: "\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0438 \u0434\u0435\u043D\u0435\u0433",
|
|
24
|
+
description: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, "\xB7 \u0421\u0447\u0438\u0442\u0430\u0439 \u0431\u044E\u0434\u0436\u0435\u0442 \u0438 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0438\u0440\u0443\u0439 \u0440\u0430\u0441\u0445\u043E\u0434\u044B \u0438\u0437 \u0435\u0434\u0438\u043D\u043E\u0433\u043E \u043B\u0438\u0447\u043D\u043E\u0433\u043E \u043A\u0430\u0431\u0438\u043D\u0435\u0442\u0430.", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0439 \u0440\u0443\u0442\u0438\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043E\u0441\u0432\u043E\u0431\u043E\u0434\u0438 \u0431\u043E\u043B\u0435\u0435 50% \u0440\u0430\u0431\u043E\u0447\u0435\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438.", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u0421\u044D\u043A\u043E\u043D\u043E\u043C\u044C 40% \u0431\u044E\u0434\u0436\u0435\u0442\u0430 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u0437\u0430 \u0441\u0447\u0451\u0442 \u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u0438\u0437\u043D\u0435\u0441-\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0432.")
|
|
25
|
+
}, {
|
|
26
|
+
title: "\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044F \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0432",
|
|
27
|
+
description: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, "\xB7 \u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0439 \u0431\u043E\u043B\u0435\u0435 75% \u0432\u0441\u0435\u0445 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u044E\u0442\u0441\u044F \u0440\u0443\u043A\u0430\u043C\u0438.", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439 \u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u043D\u0430 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0438 \u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0431\u0438\u0437\u043D\u0435\u0441\u0430.", /*#__PURE__*/_react["default"].createElement("br", null))
|
|
28
|
+
}];
|
|
29
|
+
var possibilities_list = [{
|
|
30
|
+
label: "\u0410\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430 \u043F\u0440\u043E\u0434\u0430\u0436 \u043D\u0430 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430\u0445",
|
|
31
|
+
description: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, "\xB7 \u041F\u043E\u043B\u0443\u0447\u0430\u0439 \u0434\u0435\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443 \u0442\u0432\u043E\u0438\u0445 \u043F\u0440\u043E\u0434\u0430\u0436 \u043F\u043E Wildberries, Ozon \u0438 \u042F\u043D\u0434\u0435\u043A\u0441 \u041C\u0430\u0440\u043A\u0435\u0442 \u0432 \u0440\u0430\u0437\u0440\u0435\u0437\u0435 \u0431\u043E\u043B\u0435\u0435 20 \u043C\u0435\u0442\u0440\u0438\u043A.", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u0420\u0430\u0437\u0432\u0438\u0432\u0430\u0439 \u0441\u0432\u043E\u0438 \u043F\u0440\u043E\u0434\u0430\u0436\u0438 \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0434\u0430\u043D\u043D\u044B\u0445 \u0438 \u043D\u0430\u0448\u0438\u0445 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A."),
|
|
32
|
+
img: "https://dl.ecomru.ru:9001/dev-images/image_383.png"
|
|
33
|
+
}, {
|
|
34
|
+
label: "\u0410\u043D\u0430\u043B\u0438\u0437 \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0445 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0435\u0439",
|
|
35
|
+
description: "\u0410\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0439 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u044B, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439 \n \u043D\u0430\u0448\u0438 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0434\u0431\u043E\u0440\u043A\u0438 \u0434\u043B\u044F \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043A\u0430\u043C\u043F\u0430\u043D\u0438\u0439 \u043D\u0430 \u0432\u044B\u0431\u043E\u0440\u043A\u0438 \n \u0442\u043E\u0432\u0430\u0440\u043E\u0432. \u041D\u0430\u0448 \u0441\u0435\u0440\u0432\u0438\u0441 \u0432\u0435\u0431 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0442\u0435\u0431\u0435 \u0432 \u043E\u0434\u043D\u043E\u043C \u043E\u0442\u0447\u0435\u0442\u0435 \n \u0432\u0438\u0434\u0435\u0442\u044C \u0432\u0441\u0435 \u043C\u0435\u0442\u0440\u0438\u043A\u0438 \u043F\u0440\u043E\u0434\u0430\u0436 \u0438 \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0438.",
|
|
36
|
+
img: "https://dl.ecomru.ru:9001/dev-images/image_384.png"
|
|
37
|
+
}, {
|
|
38
|
+
label: "\u0417\u0430\u043A\u0430\u0437\u044B \u0438 \u043F\u0440\u043E\u0434\u0430\u0436\u0438",
|
|
39
|
+
description: "\u0421\u043C\u043E\u0442\u0440\u0438 \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u0443\u044E \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443 \u043F\u043E \u043A\u0430\u0436\u0434\u043E\u043C\u0443 \n \u0437\u0430\u043A\u0430\u0437\u0443 \u043D\u0430 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0435. \u041E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u0439 \u0441\u0442\u0430\u0442\u0443\u0441\u044B, \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0439 \n \u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u044E \u043F\u043E\u0441\u0442\u0430\u0432\u043E\u043A \u0438 \u0432\u044B\u0447\u0438\u0441\u043B\u044F\u0439 \u044E\u043D\u0438\u0442-\u044D\u043A\u043E\u043D\u043E\u043C\u0438\u043A\u0443 \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \n \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0438 \u0447\u0438\u0441\u0442\u043E\u0439 \u043F\u0440\u0438\u0431\u044B\u043B\u0438 \u0441 \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043F\u0440\u043E\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0442\u043E\u0432\u0430\u0440\u0430.",
|
|
40
|
+
img: "https://dl.ecomru.ru:9001/dev-images/image_385.png"
|
|
41
|
+
}, {
|
|
42
|
+
label: "\u0412\u043E\u0437\u0432\u0440\u0430\u0442\u044B \u0438 \u043E\u0442\u043C\u0435\u043D\u044B",
|
|
43
|
+
description: "\u0410\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0439 \u0441\u0432\u043E\u0439 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442 \u043F\u043E \u043E\u0442\u043C\u0435\u043D\u0430\u043C \u0438 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430\u043C, \n \u0432\u044B\u044F\u0432\u043B\u044F\u0439 \u043A\u0430\u043A\u0438\u0435 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u043F\u043E\u0447\u0435\u043C\u0443 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043E \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u044E\u0442 \u043A\u043B\u0438\u0435\u043D\u0442\u044B.",
|
|
44
|
+
img: "https://dl.ecomru.ru:9001/dev-images/image_391.png",
|
|
45
|
+
link: '/tasks'
|
|
46
|
+
}, {
|
|
47
|
+
label: "\u0426\u0435\u043D\u044B",
|
|
48
|
+
description: "\u0421\u043B\u0435\u0434\u0438 \u0437\u0430 \u0434\u0438\u043D\u0430\u043C\u0438\u043A\u043E\u0439 \u0446\u0435\u043D \u043D\u0430 \u0440\u044B\u043D\u043A\u0435, \u0441\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u0439 \n \u0441\u043E \u0441\u0432\u043E\u0438\u043C\u0438 \u0438 \u043F\u0440\u043E\u0432\u043E\u0434\u0438 \u0446\u0435\u043D\u043E\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435.",
|
|
49
|
+
img: "https://dl.ecomru.ru:9001/dev-images/image_386_1.png",
|
|
50
|
+
link: '/marketing'
|
|
51
|
+
}, {
|
|
52
|
+
label: "\u041E\u0441\u0442\u0430\u0442\u043A\u0438",
|
|
53
|
+
description: "\u041E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u0439 \u043D\u0430\u043B\u0438\u0447\u0438\u0435 \u0442\u043E\u0432\u0430\u0440\u043E\u0432 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u0430\u0445, \n \u0432\u044B\u0447\u0438\u0441\u043B\u044F\u0439 \u043E\u0431\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043C\u043E\u0441\u0442\u044C, \u0443\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u043E\u0434\u0430\u0436\u0438 \n \u0438 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0439 \u043E\u043F\u0442\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u0433\u0440\u0430\u0444\u0438\u043A \u043F\u043E\u0441\u0442\u0430\u0432\u043E\u043A.",
|
|
54
|
+
img: "https://dl.ecomru.ru:9001/dev-images/image_388.png",
|
|
55
|
+
link: '/products'
|
|
56
|
+
}, {
|
|
57
|
+
label: "\u041A\u0440\u043E\u0441\u0441-\u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430",
|
|
58
|
+
description: "\u041F\u0440\u043E\u0432\u043E\u0434\u0438 \u0441\u0440\u0430\u0432\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0430\u043D\u0430\u043B\u0438\u0437 \u0432\u0441\u0435\u0445 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0435\u0439 \n \u043C\u0435\u0436\u0434\u0443 \u0442\u0440\u0435\u043C\u044F \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430\u043C\u0438 \n \u0438 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438 \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043D\u0430\u043B \u043F\u0440\u043E\u0434\u0430\u0436 \u043D\u0430\u0438\u0431\u043E\u043B\u0435\u0435 \u043F\u0440\u0438\u0431\u044B\u043B\u044C\u043D\u044B\u0439 \u0434\u043B\u044F \u0442\u0435\u0431\u044F.",
|
|
59
|
+
img: "https://dl.ecomru.ru:9001/dev-images/image_389.png",
|
|
60
|
+
link: '/orders'
|
|
61
|
+
}, {
|
|
62
|
+
label: "\u041F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u0447\u043D\u0438\u043A",
|
|
63
|
+
description: "\u041F\u043E\u043B\u0443\u0447\u0430\u0439 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \n \u043F\u043E \u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u0434\u0430\u0436, \u0443\u043F\u0440\u043E\u0441\u0442\u0438 \u043F\u043E\u0438\u0441\u043A \u043D\u043E\u0432\u044B\u0445 \u0442\u043E\u0447\u0435\u043A \u0440\u043E\u0441\u0442\u0430.",
|
|
64
|
+
img: "https://dl.ecomru.ru:9001/dev-images/image_390.png",
|
|
65
|
+
link: '/competitor_analysis'
|
|
66
|
+
}];
|
|
11
67
|
var MainContainer = function MainContainer(_ref) {
|
|
12
68
|
var children = _ref.children;
|
|
13
69
|
return /*#__PURE__*/_react["default"].createElement("main", {
|
|
14
70
|
className: "landing-main-container"
|
|
15
|
-
},
|
|
71
|
+
}, /*#__PURE__*/_react["default"].createElement(_Header["default"], {
|
|
72
|
+
title: /*#__PURE__*/_react["default"].createElement("span", {
|
|
73
|
+
style: {
|
|
74
|
+
color: '#00B45E'
|
|
75
|
+
}
|
|
76
|
+
}, "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439 \u0441\u0432\u043E\u0438\u043C \u0431\u0438\u0437\u043D\u0435\u0441\u043E\u043C \u043D\u0430 3-\u0445 \u0432\u0435\u0434\u0443\u0449\u0438\u0445 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430\u0445 \u0441 \u0435\u0434\u0438\u043D\u043E\u0439 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B"),
|
|
77
|
+
description: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, "\u041E\u0434\u043D\u0430 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0430 \u0434\u043B\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043C\u0430\u0433\u0430\u0437\u0438\u043D\u0430\u043C\u0438 \u043D\u0430 Wildberries, Ozon \u0438 \u042F\u043D\u0434\u0435\u043A\u0441 \u041C\u0430\u0440\u043A\u0435\u0442", /*#__PURE__*/_react["default"].createElement("br", null), "\u0411\u043E\u043B\u0435\u0435 20 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0434\u043B\u044F \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0438 \u0438 \u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u0438\u0437\u043D\u0435\u0441\u0430", /*#__PURE__*/_react["default"].createElement("br", null), "\u041C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433 \u043A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043E\u0432, \u0440\u0430\u0431\u043E\u0442\u0430 \u0441 \u0442\u043E\u0432\u0430\u0440\u0430\u043C\u0438, \u0430\u0432\u0442\u043E\u043E\u0442\u0432\u0435\u0442\u044B \u043D\u0430 \u043E\u0442\u0437\u044B\u0432\u044B, CRM, \u0446\u0435\u043D\u043E\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435, \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433 \u0438 \u043C\u043D\u043E\u0433\u043E\u0435 \u0434\u0440\u0443\u0433\u043E\u0435 \u043D\u0430 \u043E\u0434\u043D\u043E\u0439 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0435"),
|
|
78
|
+
color: "#00B45E"
|
|
79
|
+
}), /*#__PURE__*/_react["default"].createElement(_AdvantagesBlock["default"], {
|
|
80
|
+
title: "\u041F\u0440\u0435\u0438\u043C\u0443\u0449\u0435\u0441\u0442\u0432\u0430",
|
|
81
|
+
description: '60% клиентов сотрудничают с нами уже более 2-х лет',
|
|
82
|
+
list: advantages_list
|
|
83
|
+
}), /*#__PURE__*/_react["default"].createElement(_ArticlesBlock["default"], null), /*#__PURE__*/_react["default"].createElement(_BlocksInfo["default"], {
|
|
84
|
+
title: "\u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430",
|
|
85
|
+
list: possibilities_list
|
|
86
|
+
}), /*#__PURE__*/_react["default"].createElement(_CardsGrey["default"], null));
|
|
16
87
|
};
|
|
17
88
|
var _default = exports["default"] = MainContainer;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
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); }
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.ButtonColumn = void 0;
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _Checkbox = _interopRequireDefault(require("../../Checkbox/Checkbox/Checkbox"));
|
|
11
|
+
var _column = _interopRequireDefault(require("./img/column.svg"));
|
|
12
|
+
require("./ButtonColumn.scss");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
+
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); }
|
|
15
|
+
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; }
|
|
16
|
+
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; }
|
|
17
|
+
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; }
|
|
18
|
+
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; }
|
|
19
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
20
|
+
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); }
|
|
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
|
+
var ButtonColumn = exports.ButtonColumn = function ButtonColumn(_ref) {
|
|
28
|
+
var _ref$headers = _ref.headers,
|
|
29
|
+
headers = _ref$headers === void 0 ? {
|
|
30
|
+
type: [],
|
|
31
|
+
header: [],
|
|
32
|
+
visibleColumn: []
|
|
33
|
+
} : _ref$headers,
|
|
34
|
+
setSelectedHeaders = _ref.setSelectedHeaders,
|
|
35
|
+
checkedHeaders = _ref.checkedHeaders,
|
|
36
|
+
setCheckedHeaders = _ref.setCheckedHeaders,
|
|
37
|
+
_ref$lang = _ref.lang,
|
|
38
|
+
lang = _ref$lang === void 0 ? 'ru' : _ref$lang;
|
|
39
|
+
var type = headers.type,
|
|
40
|
+
header = headers.header,
|
|
41
|
+
visibleColumn = headers.visibleColumn;
|
|
42
|
+
var _useState = (0, _react.useState)([]),
|
|
43
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
44
|
+
headerList = _useState2[0],
|
|
45
|
+
setHeaderList = _useState2[1];
|
|
46
|
+
var translateColumn = function translateColumn() {
|
|
47
|
+
if (lang == 'ru') return 'Колонки';
|
|
48
|
+
if (lang == 'tur') return 'Sütunlar';
|
|
49
|
+
if (lang == 'eng') return 'Columns';
|
|
50
|
+
return 'Колонки';
|
|
51
|
+
};
|
|
52
|
+
var translateNoData = function translateNoData() {
|
|
53
|
+
if (lang == 'ru') return 'Нет данных';
|
|
54
|
+
if (lang == 'eng') return 'No data';
|
|
55
|
+
return 'Нет данных';
|
|
56
|
+
};
|
|
57
|
+
(0, _react.useEffect)(function () {
|
|
58
|
+
if ((header === null || header === void 0 ? void 0 : header.length) > 0) {
|
|
59
|
+
var obj = {};
|
|
60
|
+
header === null || header === void 0 || header.forEach(function (el, ind) {
|
|
61
|
+
if (Array.isArray(visibleColumn) & (visibleColumn === null || visibleColumn === void 0 ? void 0 : visibleColumn.length) > 0) {
|
|
62
|
+
return obj[el] = visibleColumn[ind];
|
|
63
|
+
}
|
|
64
|
+
return obj[el] = true;
|
|
65
|
+
});
|
|
66
|
+
setCheckedHeaders(obj);
|
|
67
|
+
}
|
|
68
|
+
}, [header]);
|
|
69
|
+
(0, _react.useEffect)(function () {
|
|
70
|
+
var _Object$keys;
|
|
71
|
+
if ((header === null || header === void 0 ? void 0 : header.length) > 0 & ((_Object$keys = Object.keys(checkedHeaders)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length) > 0) {
|
|
72
|
+
var _header$map;
|
|
73
|
+
setHeaderList(header === null || header === void 0 || (_header$map = header.map(function (el, ind) {
|
|
74
|
+
if (type[ind] === 'hidden' || type[ind] === 'contextMenu' || type[ind] === 'checkbox' || type[ind] === 'onAction') return -1;
|
|
75
|
+
var value = checkedHeaders === null || checkedHeaders === void 0 ? void 0 : checkedHeaders[el];
|
|
76
|
+
return /*#__PURE__*/_react["default"].createElement("label", {
|
|
77
|
+
className: "checbox-box",
|
|
78
|
+
key: el + ind
|
|
79
|
+
}, /*#__PURE__*/_react["default"].createElement(_Checkbox["default"], {
|
|
80
|
+
value: value ? value : false,
|
|
81
|
+
onChange: function onChange(e) {
|
|
82
|
+
return setCheckedHeaders(function (prev) {
|
|
83
|
+
return _objectSpread(_objectSpread({}, prev), {}, _defineProperty({}, el, e));
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
}), /*#__PURE__*/_react["default"].createElement("p", {
|
|
87
|
+
className: "text"
|
|
88
|
+
}, el));
|
|
89
|
+
})) === null || _header$map === void 0 ? void 0 : _header$map.filter(function (el) {
|
|
90
|
+
return el !== -1;
|
|
91
|
+
}));
|
|
92
|
+
var newType = [];
|
|
93
|
+
header === null || header === void 0 || header.forEach(function (el, ind) {
|
|
94
|
+
var isFalse = checkedHeaders[el] === false;
|
|
95
|
+
newType[ind] = isFalse ? 'hidden' : type[ind];
|
|
96
|
+
});
|
|
97
|
+
setSelectedHeaders({
|
|
98
|
+
type: newType,
|
|
99
|
+
header: header
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
}, [checkedHeaders, header]);
|
|
103
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
104
|
+
className: "btn-box_column"
|
|
105
|
+
}, /*#__PURE__*/_react["default"].createElement("button", {
|
|
106
|
+
className: "btn__white_column"
|
|
107
|
+
}, /*#__PURE__*/_react["default"].createElement("img", _column["default"]), translateColumn()), (header === null || header === void 0 ? void 0 : header.length) > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
108
|
+
className: "drop-column"
|
|
109
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
110
|
+
className: "drop-column__content"
|
|
111
|
+
}, headerList ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
112
|
+
className: "checkbox-list"
|
|
113
|
+
}, headerList) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
114
|
+
className: "no-data"
|
|
115
|
+
}, translateNoData()))));
|
|
116
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
// @font-face {
|
|
2
|
+
// font-family: Rubik;
|
|
3
|
+
// src: url("../../../public/font/Rubik/Rubik-Medium.ttf");
|
|
4
|
+
// font-weight: 500;
|
|
5
|
+
// font-style: normal;
|
|
6
|
+
// }
|
|
7
|
+
|
|
8
|
+
.btn-box_column {
|
|
9
|
+
position: relative;
|
|
10
|
+
|
|
11
|
+
&:hover {
|
|
12
|
+
.drop-column {
|
|
13
|
+
opacity: 1;
|
|
14
|
+
visibility: visible;
|
|
15
|
+
transition: 0.3s;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.drop-column__content {
|
|
20
|
+
height: auto;
|
|
21
|
+
min-height: 50px;
|
|
22
|
+
width: 210px;
|
|
23
|
+
min-width: 210px;
|
|
24
|
+
height: auto;
|
|
25
|
+
margin-top: 4px;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
.no-data {
|
|
29
|
+
display: flex;
|
|
30
|
+
font-size: 14px;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 50px;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.checkbox-list {
|
|
38
|
+
width: 100%;
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
align-items: flex-start;
|
|
42
|
+
background-color: #fff;
|
|
43
|
+
border: 1px solid #EDEFED;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
border-radius: 8px;
|
|
46
|
+
max-height: 350px;
|
|
47
|
+
overflow: auto;
|
|
48
|
+
-ms-overflow-style: none;
|
|
49
|
+
scrollbar-width: none;
|
|
50
|
+
|
|
51
|
+
&::-webkit-scrollbar {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.checbox-box {
|
|
56
|
+
display: flex;
|
|
57
|
+
width: 100%;
|
|
58
|
+
padding: 9px 12px;
|
|
59
|
+
align-items: center;
|
|
60
|
+
gap: 12px;
|
|
61
|
+
border-bottom: 1px solid #EDEFED;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
|
|
64
|
+
&:hover {
|
|
65
|
+
transition: 0.3s;
|
|
66
|
+
background-color: #FAFBFA;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:last-child {
|
|
70
|
+
border-bottom: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.text {
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
color: #555C9E;
|
|
76
|
+
text-overflow: ellipsis;
|
|
77
|
+
font-family: Rubik;
|
|
78
|
+
font-size: 12px;
|
|
79
|
+
font-style: normal;
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
line-height: 14px;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.drop-column {
|
|
88
|
+
position: absolute;
|
|
89
|
+
top: 100%;
|
|
90
|
+
right: -16px;
|
|
91
|
+
opacity: 0;
|
|
92
|
+
visibility: hidden;
|
|
93
|
+
z-index: 7;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.btn__white_column {
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
align-items: center;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
width: auto;
|
|
102
|
+
background-color: inherit;
|
|
103
|
+
font-size: 14px;
|
|
104
|
+
height: 40px;
|
|
105
|
+
border: 0;
|
|
106
|
+
border-radius: 8px;
|
|
107
|
+
padding-left: 8px;
|
|
108
|
+
padding-right: 8px;
|
|
109
|
+
color: #0B110B;
|
|
110
|
+
font-family: NunitoSans;
|
|
111
|
+
font-size: 12px;
|
|
112
|
+
font-style: normal;
|
|
113
|
+
font-weight: 500;
|
|
114
|
+
line-height: 12px;
|
|
115
|
+
border: none;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="path-2-inside-1_12337_40796" fill="white">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.8621 2H13.7586C14.4455 2 15 2.57557 15 3.28571V12.7143C15 13.4244 14.4455 14 13.7586 14H4.24138C3.55448 14 3 13.4244 3 12.7143L3 3.28571C3 2.57557 3.55448 2 4.24138 2H7.13793H10.8621ZM7.55172 13.1429L7.55172 2.85714H10.4483V13.1429H7.55172ZM11.2759 13.1429V2.85714H13.7586C13.9862 2.85714 14.1724 3.04914 14.1724 3.28571V12.7143C14.1724 12.9509 13.9862 13.1429 13.7586 13.1429H11.2759ZM6.72414 13.1429H4.24138C4.01379 13.1429 3.82759 12.9509 3.82759 12.7143L3.82759 3.28571C3.82759 3.04914 4.01379 2.85714 4.24138 2.85714H6.72414V13.1429Z"/>
|
|
4
|
+
</mask>
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.8621 2H13.7586C14.4455 2 15 2.57557 15 3.28571V12.7143C15 13.4244 14.4455 14 13.7586 14H4.24138C3.55448 14 3 13.4244 3 12.7143L3 3.28571C3 2.57557 3.55448 2 4.24138 2H7.13793H10.8621ZM7.55172 13.1429L7.55172 2.85714H10.4483V13.1429H7.55172ZM11.2759 13.1429V2.85714H13.7586C13.9862 2.85714 14.1724 3.04914 14.1724 3.28571V12.7143C14.1724 12.9509 13.9862 13.1429 13.7586 13.1429H11.2759ZM6.72414 13.1429H4.24138C4.01379 13.1429 3.82759 12.9509 3.82759 12.7143L3.82759 3.28571C3.82759 3.04914 4.01379 2.85714 4.24138 2.85714H6.72414V13.1429Z" fill="#51CA64"/>
|
|
6
|
+
<path d="M7.55172 13.1429H6.05172V14.6429H7.55172V13.1429ZM7.55172 2.85714V1.35714H6.05172V2.85714H7.55172ZM10.4483 2.85714H11.9483V1.35714H10.4483V2.85714ZM10.4483 13.1429V14.6429H11.9483V13.1429H10.4483ZM11.2759 13.1429H9.77586V14.6429H11.2759V13.1429ZM11.2759 2.85714V1.35714H9.77586V2.85714H11.2759ZM6.72414 13.1429V14.6429H8.22414V13.1429H6.72414ZM6.72414 2.85714H8.22414V1.35714H6.72414V2.85714ZM10.8621 3.5H13.7586V0.5H10.8621V3.5ZM13.7586 3.5C13.6712 3.5 13.5987 3.46087 13.5574 3.41807C13.5172 3.3764 13.5 3.32644 13.5 3.28571L16.5 3.28571C16.5 1.79819 15.3241 0.5 13.7586 0.5V3.5ZM13.5 3.28571V12.7143L16.5 12.7143V3.28571L13.5 3.28571ZM13.5 12.7143C13.5 12.6736 13.5172 12.6236 13.5574 12.5819C13.5987 12.5391 13.6712 12.5 13.7586 12.5V15.5C15.3241 15.5 16.5 14.2018 16.5 12.7143L13.5 12.7143ZM13.7586 12.5H4.24138V15.5H13.7586V12.5ZM4.24138 12.5C4.3288 12.5 4.40127 12.5391 4.44257 12.5819C4.48278 12.6236 4.5 12.6736 4.5 12.7143H1.5C1.5 14.2018 2.67592 15.5 4.24138 15.5V12.5ZM4.5 12.7143V3.28571H1.5L1.5 12.7143H4.5ZM4.5 3.28571C4.5 3.32644 4.48278 3.3764 4.44257 3.41807C4.40127 3.46087 4.3288 3.5 4.24138 3.5L4.24138 0.5C2.67592 0.5 1.5 1.79819 1.5 3.28571H4.5ZM4.24138 3.5H7.13793V0.5H4.24138L4.24138 3.5ZM7.13793 3.5H10.8621V0.5H7.13793V3.5ZM9.05172 13.1429V2.85714H6.05172V13.1429H9.05172ZM7.55172 4.35714H10.4483V1.35714H7.55172L7.55172 4.35714ZM8.94828 2.85714V13.1429H11.9483V2.85714H8.94828ZM10.4483 11.6429H7.55172V14.6429H10.4483V11.6429ZM12.7759 13.1429V2.85714H9.77586V13.1429H12.7759ZM11.2759 4.35714H13.7586V1.35714H11.2759V4.35714ZM13.7586 4.35714C13.1105 4.35714 12.6724 3.82951 12.6724 3.28571L15.6724 3.28571C15.6724 2.26878 14.8619 1.35714 13.7586 1.35714V4.35714ZM12.6724 3.28571V12.7143L15.6724 12.7143V3.28571L12.6724 3.28571ZM12.6724 12.7143C12.6724 12.1705 13.1105 11.6429 13.7586 11.6429V14.6429C14.8619 14.6429 15.6724 13.7312 15.6724 12.7143L12.6724 12.7143ZM13.7586 11.6429H11.2759V14.6429H13.7586V11.6429ZM6.72414 11.6429H4.24138V14.6429H6.72414V11.6429ZM4.24138 11.6429C4.88948 11.6429 5.32759 12.1705 5.32759 12.7143H2.32759C2.32759 13.7312 3.1381 14.6429 4.24138 14.6429V11.6429ZM5.32759 12.7143V3.28571H2.32759L2.32759 12.7143H5.32759ZM5.32759 3.28571C5.32759 3.82951 4.88948 4.35714 4.24138 4.35714L4.24138 1.35714C3.13811 1.35714 2.32759 2.26878 2.32759 3.28571H5.32759ZM4.24138 4.35714H6.72414V1.35714H4.24138L4.24138 4.35714ZM5.22414 2.85714V13.1429H8.22414V2.85714H5.22414Z" fill="#51CA64" mask="url(#path-2-inside-1_12337_40796)"/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
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); }
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.ButtonCopy = void 0;
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
require("./ButtonCopy.scss");
|
|
11
|
+
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); }
|
|
12
|
+
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; }
|
|
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 ButtonCopy = exports.ButtonCopy = function ButtonCopy(_ref) {
|
|
20
|
+
var value = _ref.value,
|
|
21
|
+
style = _ref.style;
|
|
22
|
+
var _useState = (0, _react.useState)('Скопировать'),
|
|
23
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
24
|
+
currentText = _useState2[0],
|
|
25
|
+
setCurrentText = _useState2[1];
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
27
|
+
className: "button-copy",
|
|
28
|
+
style: style
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("button", {
|
|
30
|
+
className: "btn-copy",
|
|
31
|
+
onBlur: function onBlur() {
|
|
32
|
+
return setCurrentText('Скопировать');
|
|
33
|
+
},
|
|
34
|
+
onClick: function onClick() {
|
|
35
|
+
navigator.clipboard.writeText(value);
|
|
36
|
+
setCurrentText('Текст скопирован');
|
|
37
|
+
}
|
|
38
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
39
|
+
className: "tooltip_black"
|
|
40
|
+
}, currentText));
|
|
41
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.button-copy {
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: calc(50% - 8px);
|
|
4
|
+
right: 0;
|
|
5
|
+
|
|
6
|
+
.tooltip_black {
|
|
7
|
+
opacity: 0;
|
|
8
|
+
visibility: hidden;
|
|
9
|
+
background-color: #4A4A4A;
|
|
10
|
+
border-radius: 2px;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
color: white;
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 90%;
|
|
15
|
+
left: calc(30px);
|
|
16
|
+
z-index: 100;
|
|
17
|
+
width: max-content;
|
|
18
|
+
height: auto;
|
|
19
|
+
padding: 2px 4px;
|
|
20
|
+
border: 1px solid #E0E7F2;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
.tooltip_black {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
visibility: visible;
|
|
27
|
+
transition: 0.5s;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.btn-copy {
|
|
32
|
+
background-image: url('./img/copy.svg');
|
|
33
|
+
width: 16px;
|
|
34
|
+
height: 16px;
|
|
35
|
+
min-width: 16px;
|
|
36
|
+
border: none;
|
|
37
|
+
background-color: inherit;
|
|
38
|
+
background-repeat: no-repeat;
|
|
39
|
+
background-position: center;
|
|
40
|
+
position: absolute;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="12" height="15" viewBox="0 0 12 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path id="Vector" fill-rule="evenodd" clip-rule="evenodd" d="M3.58871 0.815674C3.68233 0.720174 3.81044 0.666687 3.94348 0.666687H7.07245C8.43245 0.666687 9.53622 1.78619 9.53622 3.16669C10.8962 3.16669 12 4.28619 12 5.66669V12.1667C12 13.5472 10.8962 14.6667 9.53622 14.6667H5.59419C4.23419 14.6667 3.13042 13.5472 3.13042 12.1667C1.77042 12.1667 0.666656 11.0472 0.666656 9.66669V4.03018C0.666656 3.89868 0.715951 3.7727 0.809574 3.6792L3.58871 0.815674ZM8.55071 3.16669V9.66669C8.55071 10.4952 7.89042 11.1667 7.07245 11.1667H3.13042C2.31245 11.1667 1.65216 10.4952 1.65216 9.66669V5.16669H4.60869C4.8797 5.16669 5.10144 4.94269 5.10144 4.66669V1.66669H7.07245C7.89042 1.66669 8.55071 2.33819 8.55071 3.16669ZM4.11593 1.69968V4.16669H1.72116L4.11593 1.69968ZM5.59419 13.6667C4.77622 13.6667 4.11593 12.9952 4.11593 12.1667H7.07245C8.43245 12.1667 9.53622 11.0472 9.53622 9.66669V4.16669C10.3542 4.16669 11.0145 4.83819 11.0145 5.66669V12.1667C11.0145 12.9952 10.3542 13.6667 9.53622 13.6667H5.59419Z" fill="#9298CF"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.ButtonExport = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _headers = _interopRequireDefault(require("../../../common/headers"));
|
|
10
|
+
var _export = _interopRequireDefault(require("./img/export.svg"));
|
|
11
|
+
var _xlc = _interopRequireDefault(require("./img/xlc.svg"));
|
|
12
|
+
var _pdf = _interopRequireDefault(require("./img/pdf.svg"));
|
|
13
|
+
require("./ButtonExport.scss");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
|
+
var ButtonExport = exports.ButtonExport = function ButtonExport(_ref) {
|
|
16
|
+
var _ref$lang = _ref.lang,
|
|
17
|
+
lang = _ref$lang === void 0 ? 'ru' : _ref$lang,
|
|
18
|
+
tableUrl = _ref.tableUrl,
|
|
19
|
+
tableBody = _ref.tableBody;
|
|
20
|
+
var translateDownload = function translateDownload() {
|
|
21
|
+
if (lang == 'ru') return 'Выгрузить';
|
|
22
|
+
if (lang == 'eng') return 'Download';
|
|
23
|
+
if (lang == 'tur') return 'Konuşmacılar';
|
|
24
|
+
return 'Выгрузить';
|
|
25
|
+
};
|
|
26
|
+
var downloadXlsx = function downloadXlsx() {
|
|
27
|
+
var abortController = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new AbortController();
|
|
28
|
+
if (tableUrl && tableBody) {
|
|
29
|
+
var NikitaHttps = 'https://apps1.ecomru.ru:4440';
|
|
30
|
+
var url;
|
|
31
|
+
if (!window.location.hostname.match('localhost')) {
|
|
32
|
+
url = "".concat(NikitaHttps, "/api/v1/convert_table/?url=").concat(encodeURIComponent(tableUrl), "&convert_to=xlsx");
|
|
33
|
+
} else {
|
|
34
|
+
url = "".concat(NikitaHttps, "/api/v1/convert_table/?url=").concat(encodeURIComponent(tableUrl), "&convert_to=xlsx");
|
|
35
|
+
}
|
|
36
|
+
fetch(url, {
|
|
37
|
+
body: tableBody,
|
|
38
|
+
method: 'POST',
|
|
39
|
+
headers: _headers["default"],
|
|
40
|
+
signal: abortController.signal
|
|
41
|
+
}).then(function (res) {
|
|
42
|
+
if (res.ok) {
|
|
43
|
+
return res.json();
|
|
44
|
+
} else {
|
|
45
|
+
throw Error(JSON.stringify(res.json()));
|
|
46
|
+
}
|
|
47
|
+
}).then(function (_ref2) {
|
|
48
|
+
var url = _ref2.url;
|
|
49
|
+
if (typeof document !== 'undefined') {
|
|
50
|
+
var link = document.createElement('a');
|
|
51
|
+
link.href = url;
|
|
52
|
+
link.setAttribute('download', 'table.xlsx'); //or any other extension
|
|
53
|
+
document.body.appendChild(link);
|
|
54
|
+
link.click();
|
|
55
|
+
document.body.removeChild(link);
|
|
56
|
+
URL.revokeObjectURL(url);
|
|
57
|
+
}
|
|
58
|
+
})["catch"](function (err) {
|
|
59
|
+
console.error(err);
|
|
60
|
+
})["finally"](function () {
|
|
61
|
+
if (abortController.signal.aborted) return;
|
|
62
|
+
});
|
|
63
|
+
} else {
|
|
64
|
+
alert('Функция временно не доступна для этой таблицы. Попробуйте позже.');
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
68
|
+
className: "btn-box_export"
|
|
69
|
+
}, /*#__PURE__*/_react["default"].createElement("button", {
|
|
70
|
+
className: "btn__white_export"
|
|
71
|
+
}, /*#__PURE__*/_react["default"].createElement("img", _export["default"]), translateDownload()), /*#__PURE__*/_react["default"].createElement("div", {
|
|
72
|
+
className: "drop-export"
|
|
73
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
74
|
+
className: "drop-export__content"
|
|
75
|
+
}, /*#__PURE__*/_react["default"].createElement("button", {
|
|
76
|
+
onClick: function onClick(e) {
|
|
77
|
+
var abortController = new AbortController();
|
|
78
|
+
downloadXlsx(abortController);
|
|
79
|
+
return function () {
|
|
80
|
+
return abortController.abort();
|
|
81
|
+
};
|
|
82
|
+
},
|
|
83
|
+
className: "btn"
|
|
84
|
+
}, /*#__PURE__*/_react["default"].createElement("img", _xlc["default"]), "Excel"), /*#__PURE__*/_react["default"].createElement("button", {
|
|
85
|
+
className: "btn"
|
|
86
|
+
}, /*#__PURE__*/_react["default"].createElement("img", _pdf["default"]), "PDF"))));
|
|
87
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
.btn-box_export {
|
|
2
|
+
position: relative;
|
|
3
|
+
|
|
4
|
+
.tooltip-min {
|
|
5
|
+
height: auto;
|
|
6
|
+
min-height: 50px;
|
|
7
|
+
width: 216px;
|
|
8
|
+
margin-left: calc(0px);
|
|
9
|
+
|
|
10
|
+
.checkbox-list {
|
|
11
|
+
width: 100%;
|
|
12
|
+
padding: 12px 8px 12px 20px;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
gap: 6px;
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
|
|
18
|
+
.checbox-box {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: flex-start;
|
|
21
|
+
gap: 12px;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.drop-export {
|
|
28
|
+
top: 100%;
|
|
29
|
+
position: absolute;
|
|
30
|
+
right: -16px;
|
|
31
|
+
opacity: 0;
|
|
32
|
+
visibility: hidden;
|
|
33
|
+
z-index: 10;
|
|
34
|
+
|
|
35
|
+
&__content {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
width: 90px;
|
|
39
|
+
border-radius: 8px;
|
|
40
|
+
background-color: #fff;
|
|
41
|
+
border: 2px solid #EDEFFB;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
margin-top: 4px;
|
|
44
|
+
|
|
45
|
+
.btn {
|
|
46
|
+
display: flex;
|
|
47
|
+
gap: 10px;
|
|
48
|
+
align-items: center;
|
|
49
|
+
height: 32px;
|
|
50
|
+
width: 100%;
|
|
51
|
+
background-color: white;
|
|
52
|
+
border: none;
|
|
53
|
+
font-size: 12px;
|
|
54
|
+
position: relative;
|
|
55
|
+
z-index: 2;
|
|
56
|
+
cursor: default;
|
|
57
|
+
border-bottom: 1px solid #EDEFED;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
text-overflow: ellipsis;
|
|
60
|
+
color: #0B110B;
|
|
61
|
+
font-family: NunitoSans;
|
|
62
|
+
font-size: 12px;
|
|
63
|
+
font-style: normal;
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
line-height: 12px;
|
|
66
|
+
padding-left: 14px;
|
|
67
|
+
padding-right: 14px;
|
|
68
|
+
|
|
69
|
+
&:hover {
|
|
70
|
+
background-color: #F8F9FE;
|
|
71
|
+
transition: 0.5s;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&:last-child {
|
|
75
|
+
border-bottom: none;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:hover {
|
|
82
|
+
.drop-export {
|
|
83
|
+
transition: 0.3s;
|
|
84
|
+
opacity: 1;
|
|
85
|
+
visibility: visible;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.btn__white_export {
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-direction: column;
|
|
92
|
+
align-items: center;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
width: auto;
|
|
95
|
+
background-color: inherit;
|
|
96
|
+
font-size: 14px;
|
|
97
|
+
height: 40px;
|
|
98
|
+
border: 0;
|
|
99
|
+
color: #020617;
|
|
100
|
+
border-radius: 8px;
|
|
101
|
+
padding-left: 8px;
|
|
102
|
+
padding-right: 8px;
|
|
103
|
+
color: #0B110B;
|
|
104
|
+
font-family: NunitoSans;
|
|
105
|
+
font-size: 12px;
|
|
106
|
+
font-style: normal;
|
|
107
|
+
font-weight: 500;
|
|
108
|
+
line-height: 12px;
|
|
109
|
+
border: none;
|
|
110
|
+
}
|
|
111
|
+
}
|