sag_components 2.0.0-beta27 → 2.0.0-beta29
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/App.js +56 -0
- package/dist/App.test.js +10 -0
- package/dist/Button.test.js +162 -0
- package/dist/LinkButton.test.js +150 -0
- package/dist/SingleBar.test.js +120 -0
- package/dist/index.esm.js +2208 -544
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2207 -544
- package/dist/index.js.map +1 -1
- package/dist/setupTests.js +15 -0
- package/dist/stories/AttachedFile.stories.js +37 -0
- package/dist/stories/AutocompleteField.stories.js +25 -0
- package/dist/stories/BannerEventBox.stories.js +59 -0
- package/dist/stories/BannerEventBoxList.stories.js +39 -0
- package/dist/stories/BannerEventBoxTest.stories.js +27 -0
- package/dist/stories/BannersDropdown.stories.js +64 -0
- package/dist/stories/BarChart.stories.js +306 -0
- package/dist/stories/BarChartTwoRows.stories.js +259 -0
- package/dist/stories/BarChartWithAreaChart.stories.js +134 -0
- package/dist/stories/BarChartsByWeeks.stories.js +445 -0
- package/dist/stories/Benchmark.stories.js +147 -0
- package/dist/stories/Button.stories.js +255 -0
- package/dist/stories/CampaignDemoReport.stories.js +65 -0
- package/dist/stories/CampaignTool/Card.stories.js +92 -0
- package/dist/stories/CampaignTool/MultipleCard.stories.js +33 -0
- package/dist/stories/CampaignTool/PageFilterBar.stories.js +28 -0
- package/dist/stories/CampaignTool/Popup.stories.js +697 -0
- package/dist/stories/CampaignTool/PopupContent.stories.js +284 -0
- package/dist/stories/CampaignTool/Table.stories.js +104 -0
- package/dist/stories/CheckBox.stories.js +107 -0
- package/dist/stories/CheckBoxButton.stories.js +150 -0
- package/dist/stories/CollapseData.stories.js +125 -0
- package/dist/stories/CollapseHeader.stories.js +123 -0
- package/dist/stories/CollapseMenuItem.stories.js +134 -0
- package/dist/stories/Datepicker.stories.js +85 -0
- package/dist/stories/DialogOverlay.stories.js +39 -0
- package/dist/stories/DoublePanelDataRow.stories.js +116 -0
- package/dist/stories/DownloadProgress.stories.js +109 -0
- package/dist/stories/Dropdown.stories.js +318 -0
- package/dist/stories/DropdownMulti.stories.js +220 -0
- package/dist/stories/DropdownNew.stories.js +407 -0
- package/dist/stories/EventDetailsCard.stories.js +122 -0
- package/dist/stories/EventList.stories.js +84 -0
- package/dist/stories/EventListItem.stories.js +65 -0
- package/dist/stories/FilterButton.stories.js +90 -0
- package/dist/stories/FilterContainer.stories.js +22 -0
- package/dist/stories/FilterPanel.stories.js +967 -0
- package/dist/stories/FormattedValue.stories.js +183 -0
- package/dist/stories/Heatmap.stories.js +118 -0
- package/dist/stories/IconButton.stories.js +126 -0
- package/dist/stories/Input.stories.js +422 -0
- package/dist/stories/InputOld.stories.js +103 -0
- package/dist/stories/KpiFilter.stories.js +401 -0
- package/dist/stories/LinkButton.stories.js +171 -0
- package/dist/stories/LinnerDataBox.stories.js +79 -0
- package/dist/stories/ListBox.stories.js +132 -0
- package/dist/stories/MarketShareDescription.stories.js +196 -0
- package/dist/stories/MonthPicker.stories.js +142 -0
- package/dist/stories/NewInput.stories.js +37 -0
- package/dist/stories/NoDataFoundMessage.stories.js +66 -0
- package/dist/stories/OneColumnContainer.stories.js +119 -0
- package/dist/stories/PerformanceAnalytics.stories.js +263 -0
- package/dist/stories/PerformanceAnalyticsLegend.stories.js +99 -0
- package/dist/stories/PerformanceAnalyticsOneColumn.stories.js +236 -0
- package/dist/stories/PerformanceAnalyticsTotals.stories.js +109 -0
- package/dist/stories/PieChart.stories.js +215 -0
- package/dist/stories/PopupCharts.stories.js +1191 -0
- package/dist/stories/ProductsVariety.stories.js +90 -0
- package/dist/stories/ProgressBar.stories.js +71 -0
- package/dist/stories/QuarterPicker.stories.js +142 -0
- package/dist/stories/QuickFilter.stories.js +275 -0
- package/dist/stories/RangePicker.stories.js +140 -0
- package/dist/stories/ReportTable.stories.js +255 -0
- package/dist/stories/SagButton.stories.js +118 -0
- package/dist/stories/SagIconButton.stories.js +122 -0
- package/dist/stories/SagInput.stories.js +69 -0
- package/dist/stories/SalesAndROI.stories.js +166 -0
- package/dist/stories/SalesSplit.stories.js +122 -0
- package/dist/stories/SearchInput.stories.js +44 -0
- package/dist/stories/SegmentedButton.stories.js +181 -0
- package/dist/stories/Select.stories.js +201 -0
- package/dist/stories/SingleBarLineCharts.stories.js +310 -0
- package/dist/stories/TabMenu.stories.js +224 -0
- package/dist/stories/TextField.stories.js +160 -0
- package/dist/stories/TitleDescription.stories.js +116 -0
- package/dist/stories/TopToggleList.stories.js +52 -0
- package/dist/stories/TotalBenchmark.stories.js +135 -0
- package/dist/stories/TotalBenchmarkAreachart.stories.js +341 -0
- package/dist/stories/TotalBenchmarkArrows.stories.js +170 -0
- package/dist/stories/TotalBenchmarkBarchart.stories.js +183 -0
- package/dist/stories/TotalDoughnutChart.stories.js +301 -0
- package/dist/stories/TotalHorizontalCharts.stories.js +291 -0
- package/dist/stories/TwoBarCharts.stories.js +185 -0
- package/dist/stories/components/AttachedFile.js +60 -0
- package/dist/stories/components/AttachedFile.style.js +48 -0
- package/dist/stories/components/AutocompleteField.js +40 -0
- package/dist/stories/components/AutocompleteField.style.js +55 -0
- package/dist/stories/components/BannerEventBox.js +97 -0
- package/dist/stories/components/BannerEventBox.style.js +78 -0
- package/dist/stories/components/BannerEventBoxList.js +153 -0
- package/dist/stories/components/BannerEventBoxList.style.js +189 -0
- package/dist/stories/components/BannerEventBoxTest.js +42 -0
- package/dist/stories/components/BannerEventBoxTest.style.js +11 -0
- package/dist/stories/components/BannersDropdown.js +119 -0
- package/dist/stories/components/BannersDropdown.style.js +99 -0
- package/dist/stories/components/BarChart.js +258 -0
- package/dist/stories/components/BarChart.style.js +60 -0
- package/dist/stories/components/BarChartTwoRows.js +220 -0
- package/dist/stories/components/BarChartTwoRows.style.js +79 -0
- package/dist/stories/components/BarChartWithAreaChart.js +268 -0
- package/dist/stories/components/BarChartWithAreaChart.style.js +67 -0
- package/dist/stories/components/BarChartsByWeeks.js +306 -0
- package/dist/stories/components/BarChartsByWeeks.style.js +96 -0
- package/dist/stories/components/Benchmark.js +130 -0
- package/dist/stories/components/Benchmark.style.js +61 -0
- package/dist/stories/components/Button.js +255 -0
- package/dist/stories/components/Button.style.js +90 -0
- package/dist/stories/components/CampaignTool/CampaignDemoReport.js +48 -0
- package/dist/stories/components/CampaignTool/CampaignDemoReport.style.js +48 -0
- package/dist/stories/components/CampaignTool/Card.js +72 -0
- package/dist/stories/components/CampaignTool/Card.style.js +65 -0
- package/dist/stories/components/CampaignTool/FormInput.js +41 -0
- package/dist/stories/components/CampaignTool/FormSelect.js +42 -0
- package/dist/stories/components/CampaignTool/MultipleCard.js +26 -0
- package/dist/stories/components/CampaignTool/MultipleCard.style.js +13 -0
- package/dist/stories/components/CampaignTool/PageFilterBar.js +23 -0
- package/dist/stories/components/CampaignTool/PageFilterBar.style.js +22 -0
- package/dist/stories/components/CampaignTool/Popup.js +172 -0
- package/dist/stories/components/CampaignTool/Popup.style.js +122 -0
- package/dist/stories/components/CampaignTool/PopupContent.js +111 -0
- package/dist/stories/components/CampaignTool/PopupContent.style.js +74 -0
- package/dist/stories/components/CampaignTool/PopupFieldsRules.js +168 -0
- package/dist/stories/components/CampaignTool/Table.js +195 -0
- package/dist/stories/components/CampaignTool/Table.style.js +86 -0
- package/dist/stories/components/CheckBox.js +76 -0
- package/dist/stories/components/CheckBox.style.js +36 -0
- package/dist/stories/components/CheckBoxButton.js +69 -0
- package/dist/stories/components/CheckBoxButton.style.js +39 -0
- package/dist/stories/components/CodeEditor.js +43 -0
- package/dist/stories/components/CodeEditor.style.js +13 -0
- package/dist/stories/components/CollapseData.js +66 -0
- package/dist/stories/components/CollapseData.style.js +127 -0
- package/dist/stories/components/CollapseHeader.js +255 -0
- package/dist/stories/components/CollapseHeader.style.js +200 -0
- package/dist/stories/components/CollapseMenuItem.js +61 -0
- package/dist/stories/components/CollapseMenuItem.style.js +61 -0
- package/dist/stories/components/CommonFunctions.js +99 -0
- package/dist/stories/components/Datepicker.js +148 -0
- package/dist/stories/components/Datepicker.style.js +19 -0
- package/dist/stories/components/DialogOverlay.js +44 -0
- package/dist/stories/components/DialogOverlay.style.js +70 -0
- package/dist/stories/components/DoublePanelDataRow.js +70 -0
- package/dist/stories/components/DoublePanelDataRow.style.js +66 -0
- package/dist/stories/components/DownloadProgress.js +97 -0
- package/dist/stories/components/DownloadProgress.style.js +51 -0
- package/dist/stories/components/Dropdown.js +231 -0
- package/dist/stories/components/Dropdown.style.js +17 -0
- package/dist/stories/components/DropdownMulti.js +290 -0
- package/dist/stories/components/DropdownMulti.style.js +17 -0
- package/dist/stories/components/DropdownMultiNew.js +292 -0
- package/dist/stories/components/DropdownMultiNew.style.js +218 -0
- package/dist/stories/components/DropdownNew.js +98 -0
- package/dist/stories/components/DropdownNew.style.js +21 -0
- package/dist/stories/components/DropdownSingleNew.js +256 -0
- package/dist/stories/components/DropdownSingleNew.style.js +189 -0
- package/dist/stories/components/EventDetailsCard.js +142 -0
- package/dist/stories/components/EventDetailsCard.style.js +62 -0
- package/dist/stories/components/EventList.js +61 -0
- package/dist/stories/components/EventList.style.js +38 -0
- package/dist/stories/components/EventListItem.js +50 -0
- package/dist/stories/components/EventListItem.style.js +47 -0
- package/dist/stories/components/FilterButton.js +53 -0
- package/dist/stories/components/FilterButton.style.js +12 -0
- package/dist/stories/components/FilterContainer.js +29 -0
- package/dist/stories/components/FilterContainer.style.js +30 -0
- package/dist/stories/components/FilterPanel.js +614 -0
- package/dist/stories/components/FilterPanel.style.js +89 -0
- package/dist/stories/components/FormattedValue.js +69 -0
- package/dist/stories/components/FormattedValue.style.js +91 -0
- package/dist/stories/components/Heatmap.js +184 -0
- package/dist/stories/components/Heatmap.style.js +151 -0
- package/dist/stories/components/IconButton.js +147 -0
- package/dist/stories/components/IconButton.style.js +64 -0
- package/dist/stories/components/Input.js +186 -0
- package/dist/stories/components/Input.style.js +132 -0
- package/dist/stories/components/InputOld.js +93 -0
- package/dist/stories/components/InputOld.style.js +71 -0
- package/dist/stories/components/KpiFilter.js +345 -0
- package/dist/stories/components/KpiFilter.style.js +132 -0
- package/dist/stories/components/LinkButton.js +225 -0
- package/dist/stories/components/LinkButton.style.js +53 -0
- package/dist/stories/components/LinnerDataBox.js +54 -0
- package/dist/stories/components/LinnerDataBox.style.js +68 -0
- package/dist/stories/components/ListBox.js +82 -0
- package/dist/stories/components/ListBox.style.js +48 -0
- package/dist/stories/components/MarketShareDescription.js +109 -0
- package/dist/stories/components/MarketShareDescription.style.js +215 -0
- package/dist/stories/components/Modal.js +21 -0
- package/dist/stories/components/Modal.style.js +63 -0
- package/dist/stories/components/ModalTotalBenchmark.js +224 -0
- package/dist/stories/components/ModalTotalCost.js +139 -0
- package/dist/stories/components/MonthPicker.js +169 -0
- package/dist/stories/components/MonthPicker.style.js +105 -0
- package/dist/stories/components/MonthPopupPicker.js +206 -0
- package/dist/stories/components/NewInput.js +33 -0
- package/dist/stories/components/NewInput.style.js +13 -0
- package/dist/stories/components/NoDataFoundMessage.js +30 -0
- package/dist/stories/components/NoDataFoundMessage.style.js +39 -0
- package/dist/stories/components/OneColumnContainer.js +121 -0
- package/dist/stories/components/OneColumnContainer.style.js +107 -0
- package/dist/stories/components/PerformanceAnalytics.js +447 -0
- package/dist/stories/components/PerformanceAnalytics.style.js +144 -0
- package/dist/stories/components/PerformanceAnalyticsLegend.js +59 -0
- package/dist/stories/components/PerformanceAnalyticsLegend.style.js +63 -0
- package/dist/stories/components/PerformanceAnalyticsOneColumn.js +327 -0
- package/dist/stories/components/PerformanceAnalyticsOneColumn.style.js +116 -0
- package/dist/stories/components/PerformanceAnalyticsTotals.js +70 -0
- package/dist/stories/components/PerformanceAnalyticsTotals.style.js +89 -0
- package/dist/stories/components/PieChart.js +154 -0
- package/dist/stories/components/PieChart.style.js +154 -0
- package/dist/stories/components/PopupCharts.js +244 -0
- package/dist/stories/components/PopupCharts.style.js +108 -0
- package/dist/stories/components/ProductsVariety.js +94 -0
- package/dist/stories/components/ProductsVariety.style.js +86 -0
- package/dist/stories/components/ProgressBar.js +52 -0
- package/dist/stories/components/ProgressBar.style.js +24 -0
- package/dist/stories/components/QuarterPicker.js +168 -0
- package/dist/stories/components/QuarterPicker.style.js +104 -0
- package/dist/stories/components/QuarterPopupPicker.js +186 -0
- package/dist/stories/components/QuickFilter.js +78 -0
- package/dist/stories/components/QuickFilter.style.js +21 -0
- package/dist/stories/components/QuickFilterDropdownMultiSelection.js +299 -0
- package/dist/stories/components/QuickFilterDropdownMultiSelection.style.js +194 -0
- package/dist/stories/components/QuickFilterDropdownSingle.js +229 -0
- package/dist/stories/components/QuickFilterDropdownSingle.style.js +139 -0
- package/dist/stories/components/RangeDatePicker.js +231 -0
- package/dist/stories/components/RangePicker.js +179 -0
- package/dist/stories/components/RangePicker.style.js +109 -0
- package/dist/stories/components/ReportTable.js +420 -0
- package/dist/stories/components/ReportTable.style.js +306 -0
- package/dist/stories/components/SagButton.js +68 -0
- package/dist/stories/components/SagButton.style.js +47 -0
- package/dist/stories/components/SagIconButton.js +130 -0
- package/dist/stories/components/SagIconButton.style.js +30 -0
- package/dist/stories/components/SagInput.js +53 -0
- package/dist/stories/components/SagInput.style.js +41 -0
- package/dist/stories/components/SalesAndROI.js +89 -0
- package/dist/stories/components/SalesAndROI.style.js +111 -0
- package/dist/stories/components/SalesSplit.js +153 -0
- package/dist/stories/components/SalesSplit.style.js +150 -0
- package/dist/stories/components/SearchInput.js +39 -0
- package/dist/stories/components/SearchInput.style.js +37 -0
- package/dist/stories/components/SegmentedButton.js +124 -0
- package/dist/stories/components/SegmentedButton.style.js +100 -0
- package/dist/stories/components/Select.js +137 -0
- package/dist/stories/components/Select.style.js +104 -0
- package/dist/stories/components/SingleBarLineCharts.js +415 -0
- package/dist/stories/components/SingleBarLineCharts.style.js +101 -0
- package/dist/stories/components/TabMenu.js +241 -0
- package/dist/stories/components/TabMenu.style.js +120 -0
- package/dist/stories/components/TextField.js +209 -0
- package/dist/stories/components/TextField.style.js +18 -0
- package/dist/stories/components/TitleDescription.js +272 -0
- package/dist/stories/components/TitleDescription.style.js +222 -0
- package/dist/stories/components/Tooltip.js +44 -0
- package/dist/stories/components/Tooltip.style.js +103 -0
- package/dist/stories/components/TopToggleList.js +46 -0
- package/dist/stories/components/TopToggleList.style.js +51 -0
- package/dist/stories/components/TotalBenchmark.js +97 -0
- package/dist/stories/components/TotalBenchmark.style.js +79 -0
- package/dist/stories/components/TotalBenchmarkAreachart.js +342 -0
- package/dist/stories/components/TotalBenchmarkAreachart.style.js +171 -0
- package/dist/stories/components/TotalBenchmarkArrows.js +149 -0
- package/dist/stories/components/TotalBenchmarkArrows.style.js +108 -0
- package/dist/stories/components/TotalBenchmarkBarchart.js +165 -0
- package/dist/stories/components/TotalBenchmarkBarchart.style.js +77 -0
- package/dist/stories/components/TotalDoughnutChart.js +187 -0
- package/dist/stories/components/TotalDoughnutChart.style.js +178 -0
- package/dist/stories/components/TotalHorizontalCharts.js +236 -0
- package/dist/stories/components/TotalHorizontalCharts.style.js +93 -0
- package/dist/stories/components/TspanTooltip.js +33 -0
- package/dist/stories/components/TspanTooltip.style.js +105 -0
- package/dist/stories/components/TwoBarCharts.js +211 -0
- package/dist/stories/components/TwoBarCharts.style.js +60 -0
- package/dist/stories/components/icons/ArrowDownIcon.js +27 -0
- package/dist/stories/components/icons/ArrowDropDownIcon.js +27 -0
- package/dist/stories/components/icons/ArrowSelectIcon.js +28 -0
- package/dist/stories/components/icons/ArrowUpIcon.js +27 -0
- package/dist/stories/components/icons/AttachedIcon.js +27 -0
- package/dist/stories/components/icons/BellIcon.js +27 -0
- package/dist/stories/components/icons/ButtonArrowRight.js +27 -0
- package/dist/stories/components/icons/Calendar.js +20 -0
- package/dist/stories/components/icons/CalendarIcon.js +27 -0
- package/dist/stories/components/icons/CalendarInOpen.js +26 -0
- package/dist/stories/components/icons/CheckBoxButtonCheckedIcon.js +28 -0
- package/dist/stories/components/icons/CheckBoxCheckedIcon.js +28 -0
- package/dist/stories/components/icons/CheckBoxNotCheckedIcon.js +28 -0
- package/dist/stories/components/icons/ChervronLeftIcon.js +20 -0
- package/dist/stories/components/icons/ChervronRightIcon.js +20 -0
- package/dist/stories/components/icons/ChevronLeftIcon.js +29 -0
- package/dist/stories/components/icons/ChevronRightIcon.js +29 -0
- package/dist/stories/components/icons/ClockIcon.js +27 -0
- package/dist/stories/components/icons/CloseIcon.js +27 -0
- package/dist/stories/components/icons/CloseXIcon.js +27 -0
- package/dist/stories/components/icons/ComboBoxArrowDownIcon.js +28 -0
- package/dist/stories/components/icons/ComboBoxArrowUpIcon.js +28 -0
- package/dist/stories/components/icons/DocumentIcon.js +48 -0
- package/dist/stories/components/icons/DownloadIcon.js +27 -0
- package/dist/stories/components/icons/Duplicate.js +28 -0
- package/dist/stories/components/icons/ErrorIcon.js +28 -0
- package/dist/stories/components/icons/ExitIcon.js +28 -0
- package/dist/stories/components/icons/ExportIcon.js +28 -0
- package/dist/stories/components/icons/EyeIcon.js +28 -0
- package/dist/stories/components/icons/FileIcon.js +27 -0
- package/dist/stories/components/icons/FilterIcon.js +36 -0
- package/dist/stories/components/icons/FlyIcon.js +28 -0
- package/dist/stories/components/icons/FoodLionChartIcon.js +42 -0
- package/dist/stories/components/icons/FoodLionIcon.js +3076 -0
- package/dist/stories/components/icons/FoodLionNewIcon.js +39 -0
- package/dist/stories/components/icons/GiantFoodChartIcon.js +40 -0
- package/dist/stories/components/icons/GiantFoodIcon.js +1976 -0
- package/dist/stories/components/icons/GiantFoodIcon_new.js +42 -0
- package/dist/stories/components/icons/HannafordChartIcon.js +40 -0
- package/dist/stories/components/icons/HannafordIcon.js +5017 -0
- package/dist/stories/components/icons/HannafordIcon_new.js +41 -0
- package/dist/stories/components/icons/HannafordNewIcon.js +213 -0
- package/dist/stories/components/icons/InfoIcon.js +28 -0
- package/dist/stories/components/icons/LampIcon.js +30 -0
- package/dist/stories/components/icons/LegendLineIcon.js +29 -0
- package/dist/stories/components/icons/LegendUnionIcon.js +29 -0
- package/dist/stories/components/icons/MaintenanceIcon.js +28 -0
- package/dist/stories/components/icons/MenuItemClosedIcon.js +28 -0
- package/dist/stories/components/icons/MenuItemOpenIcon.js +28 -0
- package/dist/stories/components/icons/MenuItemRightIcon.js +28 -0
- package/dist/stories/components/icons/MenuItemUpIcon.js +28 -0
- package/dist/stories/components/icons/NoDataFoundIcon.js +86 -0
- package/dist/stories/components/icons/OptionsIcon.js +27 -0
- package/dist/stories/components/icons/ReselectIcon.js +27 -0
- package/dist/stories/components/icons/SearchIcon.js +27 -0
- package/dist/stories/components/icons/ShoppingCartIcon.js +45 -0
- package/dist/stories/components/icons/ShoutIcon.js +27 -0
- package/dist/stories/components/icons/Sort.js +13 -0
- package/dist/stories/components/icons/SortIcon.js +35 -0
- package/dist/stories/components/icons/SpotlightProductIcon.js +28 -0
- package/dist/stories/components/icons/StopAndShopChartIcon.js +42 -0
- package/dist/stories/components/icons/StopAndShopIcon.js +134 -0
- package/dist/stories/components/icons/StopAndShopNewIcon.js +41 -0
- package/dist/stories/components/icons/SucceededIcon.js +28 -0
- package/dist/stories/components/icons/TheGiantCompanyChartIcon.js +40 -0
- package/dist/stories/components/icons/TheGiantCompanyIcon.js +40 -0
- package/dist/stories/components/icons/TheGiantCompanyIcon_old.js +1831 -0
- package/dist/stories/components/icons/TheGiantCompanyNewIcon.js +39 -0
- package/dist/stories/utils/ComponentFactory.js +65 -0
- package/dist/stories/utils/IconsHandler.js +150 -0
- package/dist/stories/utils/IconsHandler.style.js +16 -0
- package/dist/stories/utils/regex/Email.regex.js +7 -0
- package/dist/stories/utils/regex/LatinWithSpaces.regex.js +7 -0
- package/dist/stories/utils/regex/OnlyEnglishLetters.regex.js +7 -0
- package/dist/stories/utils/regex/Phone.regex.js +7 -0
- package/dist/types/components/LinnerDataBox/LinnerDataBox.data.d.ts +23 -0
- package/dist/vite.config.js +15 -0
- package/package.json +4 -4
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _TspanTooltip = require("./TspanTooltip.style");
|
|
10
|
+
const Tooltip = props => {
|
|
11
|
+
const {
|
|
12
|
+
className,
|
|
13
|
+
top,
|
|
14
|
+
left,
|
|
15
|
+
direction,
|
|
16
|
+
content
|
|
17
|
+
} = props;
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_TspanTooltip.TooltipContainer, {
|
|
19
|
+
className: className,
|
|
20
|
+
top: `${top}px`,
|
|
21
|
+
left: `${left}px`
|
|
22
|
+
}, /*#__PURE__*/_react.default.createElement(_TspanTooltip.TooltipWrapper, null, /*#__PURE__*/_react.default.createElement(_TspanTooltip.TooltipTip, {
|
|
23
|
+
className: `controls ${direction || 'top'}`
|
|
24
|
+
}, content)));
|
|
25
|
+
};
|
|
26
|
+
var _default = exports.default = Tooltip;
|
|
27
|
+
Tooltip.defaultProps = {
|
|
28
|
+
className: '',
|
|
29
|
+
top: 0,
|
|
30
|
+
left: 0,
|
|
31
|
+
direction: 'top',
|
|
32
|
+
content: ''
|
|
33
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.TooltipWrapper = exports.TooltipTip = exports.TooltipContainer = void 0;
|
|
8
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
|
+
const TooltipContainer = exports.TooltipContainer = _styledComponents.default.div`
|
|
10
|
+
--tooltip-text-color: black;
|
|
11
|
+
--tooltip-background-color: white;
|
|
12
|
+
--tooltip-margin: 40px;
|
|
13
|
+
--tooltip-arrow-size: 10px;
|
|
14
|
+
position: absolute;
|
|
15
|
+
z-index: 999999;
|
|
16
|
+
top: ${props => props.top};
|
|
17
|
+
left: ${props => props.left};
|
|
18
|
+
`;
|
|
19
|
+
const TooltipWrapper = exports.TooltipWrapper = _styledComponents.default.div`
|
|
20
|
+
display: inline-block;
|
|
21
|
+
position: relative;
|
|
22
|
+
`;
|
|
23
|
+
const TooltipTip = exports.TooltipTip = _styledComponents.default.div`
|
|
24
|
+
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
25
|
+
position: absolute;
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
left: 50%;
|
|
28
|
+
transform: translateX(-50%);
|
|
29
|
+
padding: 8px 12px;
|
|
30
|
+
color: var(--tooltip-text-color);
|
|
31
|
+
background: var(--tooltip-background-color);
|
|
32
|
+
font-size: 10px;
|
|
33
|
+
z-index: 999;
|
|
34
|
+
white-space: nowrap;
|
|
35
|
+
|
|
36
|
+
/* CSS border triangles */
|
|
37
|
+
&.controls::before {
|
|
38
|
+
content: " ";
|
|
39
|
+
left: 50%;
|
|
40
|
+
border: solid transparent;
|
|
41
|
+
height: 0;
|
|
42
|
+
width: 0;
|
|
43
|
+
position: absolute;
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
border-width: var(--tooltip-arrow-size);
|
|
46
|
+
margin-left: calc(var(--tooltip-arrow-size) * -1);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Absolute positioning */
|
|
50
|
+
&.controls.top {
|
|
51
|
+
top: calc(var(--tooltip-margin) * -1);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* CSS border triangles */
|
|
55
|
+
&.controls.top::before {
|
|
56
|
+
top: 100%;
|
|
57
|
+
border-top-color: var(--tooltip-background-color);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* Absolute positioning */
|
|
61
|
+
&.controls.right {
|
|
62
|
+
left: calc(70% + var(--tooltip-margin));
|
|
63
|
+
top: 50%;
|
|
64
|
+
transform: translateX(0) translateY(-50%);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* CSS border triangles */
|
|
68
|
+
&.controls.right::before {
|
|
69
|
+
left: calc(var(--tooltip-arrow-size) * -1);
|
|
70
|
+
top: 50%;
|
|
71
|
+
transform: translateX(0) translateY(-50%);
|
|
72
|
+
border-right-color: var(--tooltip-background-color);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Absolute positioning */
|
|
76
|
+
&.controls.bottom {
|
|
77
|
+
bottom: calc(var(--tooltip-margin) * -1);
|
|
78
|
+
}
|
|
79
|
+
/* CSS border triangles */
|
|
80
|
+
&.controls.bottom::before {
|
|
81
|
+
bottom: 100%;
|
|
82
|
+
border-bottom-color: var(--tooltip-background-color);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Absolute positioning */
|
|
86
|
+
&.controls.left {
|
|
87
|
+
left: auto;
|
|
88
|
+
right: calc(70% + var(--tooltip-margin));
|
|
89
|
+
top: 50%;
|
|
90
|
+
transform: translateX(0) translateY(-50%);
|
|
91
|
+
}
|
|
92
|
+
/* CSS border triangles */
|
|
93
|
+
&.controls.left::before {
|
|
94
|
+
left: auto;
|
|
95
|
+
right: calc(var(--tooltip-arrow-size) * -2);
|
|
96
|
+
top: 50%;
|
|
97
|
+
transform: translateX(0) translateY(-50%);
|
|
98
|
+
border-left-color: var(--tooltip-background-color);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
> ul {
|
|
102
|
+
padding-left: 10px;
|
|
103
|
+
margin: 0;
|
|
104
|
+
}
|
|
105
|
+
`;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = exports.TwoBarCharts = void 0;
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _recharts = require("recharts");
|
|
11
|
+
var _CommonFunctions = require("./CommonFunctions");
|
|
12
|
+
var _TwoBarCharts = require("./TwoBarCharts.style");
|
|
13
|
+
var _PerformanceAnalyticsLegend = _interopRequireDefault(require("./PerformanceAnalyticsLegend"));
|
|
14
|
+
/* eslint-disable react/prop-types */
|
|
15
|
+
/* eslint-disable no-shadow */
|
|
16
|
+
/* eslint-disable react/no-unstable-nested-components */
|
|
17
|
+
/* eslint-disable no-nested-ternary */
|
|
18
|
+
|
|
19
|
+
const ICON_TYPE_SQUARE = 'Square';
|
|
20
|
+
/* BarChartsByWeeks */
|
|
21
|
+
const TwoBarCharts = props => {
|
|
22
|
+
const {
|
|
23
|
+
className,
|
|
24
|
+
title,
|
|
25
|
+
barChartData,
|
|
26
|
+
barSize,
|
|
27
|
+
barFontSizeValue,
|
|
28
|
+
isDollar,
|
|
29
|
+
width,
|
|
30
|
+
height,
|
|
31
|
+
barChartColorFirst,
|
|
32
|
+
barChartColorSecond,
|
|
33
|
+
showLegend,
|
|
34
|
+
legendData,
|
|
35
|
+
showDollarSign,
|
|
36
|
+
showReferenceLine,
|
|
37
|
+
referenceLinePoint,
|
|
38
|
+
referenceLineColor,
|
|
39
|
+
referenceLineDashed
|
|
40
|
+
} = props;
|
|
41
|
+
const controlsContainerRef = (0, _react.useRef)();
|
|
42
|
+
const displayFormattedValue = value => {
|
|
43
|
+
if (!value) return '';
|
|
44
|
+
let formattedValue = '';
|
|
45
|
+
formattedValue = !isDollar ? ''.concat('', value.toFixed(1)) : ''.concat(showDollarSign ? '$' : '', (0, _CommonFunctions.getFormattedValue)(value), (0, _CommonFunctions.getFormattedUnits)(value));
|
|
46
|
+
return formattedValue;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
// eslint-disable-next-line react/no-unstable-nested-components
|
|
50
|
+
const CustomTooltip = tooltipData => {
|
|
51
|
+
var _payload$0$payload, _payload$0$payload2;
|
|
52
|
+
const {
|
|
53
|
+
active,
|
|
54
|
+
payload,
|
|
55
|
+
label
|
|
56
|
+
} = tooltipData;
|
|
57
|
+
if (!active || !payload || (payload === null || payload === void 0 ? void 0 : payload.length) === 0) return null;
|
|
58
|
+
let currentTooltipValue = 0;
|
|
59
|
+
if ((_payload$0$payload = payload[0].payload) !== null && _payload$0$payload !== void 0 && _payload$0$payload.value) currentTooltipValue = (_payload$0$payload2 = payload[0].payload) === null || _payload$0$payload2 === void 0 ? void 0 : _payload$0$payload2.value;
|
|
60
|
+
return /*#__PURE__*/_react.default.createElement(_TwoBarCharts.TooltipDiv, null, /*#__PURE__*/_react.default.createElement(_TwoBarCharts.TooltipTitle, null, `${label}`), /*#__PURE__*/_react.default.createElement(_TwoBarCharts.TooltipLabel, null, `${displayFormattedValue(currentTooltipValue)}`));
|
|
61
|
+
};
|
|
62
|
+
const CustomizedTickBarChart = props => {
|
|
63
|
+
const {
|
|
64
|
+
x,
|
|
65
|
+
y,
|
|
66
|
+
payload
|
|
67
|
+
} = props;
|
|
68
|
+
if (barChartData && barChartData.length > 0 && payload) {
|
|
69
|
+
const retailerData = barChartData.filter(item => item.title === payload.value);
|
|
70
|
+
if (retailerData && retailerData.length > 0) {
|
|
71
|
+
return /*#__PURE__*/_react.default.createElement("g", {
|
|
72
|
+
transform: `translate(${x},${y})`
|
|
73
|
+
}, /*#__PURE__*/_react.default.createElement("text", {
|
|
74
|
+
x: 0,
|
|
75
|
+
y: 0,
|
|
76
|
+
dy: 16,
|
|
77
|
+
fill: "#212121"
|
|
78
|
+
}, /*#__PURE__*/_react.default.createElement(_TwoBarCharts.LabelBoldText, {
|
|
79
|
+
textAnchor: "middle",
|
|
80
|
+
x: "0",
|
|
81
|
+
dy: "50",
|
|
82
|
+
fontWeight: 600
|
|
83
|
+
}, payload.value), /*#__PURE__*/_react.default.createElement(_TwoBarCharts.LabelText, {
|
|
84
|
+
textAnchor: "middle",
|
|
85
|
+
x: "0",
|
|
86
|
+
dy: "30",
|
|
87
|
+
fontWeight: 400
|
|
88
|
+
}, retailerData[0].date)));
|
|
89
|
+
}
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
return null;
|
|
93
|
+
};
|
|
94
|
+
const CustomizedLabel = props => {
|
|
95
|
+
const {
|
|
96
|
+
x,
|
|
97
|
+
y,
|
|
98
|
+
stroke,
|
|
99
|
+
value
|
|
100
|
+
} = props;
|
|
101
|
+
return /*#__PURE__*/_react.default.createElement("text", {
|
|
102
|
+
x: x + barSize / 2,
|
|
103
|
+
y: y,
|
|
104
|
+
dy: -8,
|
|
105
|
+
fill: stroke,
|
|
106
|
+
fontSize: barFontSizeValue,
|
|
107
|
+
textAnchor: "middle"
|
|
108
|
+
}, displayFormattedValue(value));
|
|
109
|
+
};
|
|
110
|
+
return /*#__PURE__*/_react.default.createElement(_TwoBarCharts.ControlsContainer, {
|
|
111
|
+
className: className,
|
|
112
|
+
height: height,
|
|
113
|
+
width: width,
|
|
114
|
+
ref: controlsContainerRef
|
|
115
|
+
}, /*#__PURE__*/_react.default.createElement(_TwoBarCharts.Controls, null, /*#__PURE__*/_react.default.createElement(_TwoBarCharts.Title, null, title), /*#__PURE__*/_react.default.createElement(_recharts.ResponsiveContainer, {
|
|
116
|
+
width: "100%",
|
|
117
|
+
height: "100%"
|
|
118
|
+
}, /*#__PURE__*/_react.default.createElement(_recharts.BarChart, {
|
|
119
|
+
width: width,
|
|
120
|
+
height: height,
|
|
121
|
+
data: barChartData,
|
|
122
|
+
margin: {
|
|
123
|
+
top: 20,
|
|
124
|
+
right: 0,
|
|
125
|
+
bottom: 0,
|
|
126
|
+
left: -5
|
|
127
|
+
}
|
|
128
|
+
}, showReferenceLine && /*#__PURE__*/_react.default.createElement(_recharts.ReferenceLine, {
|
|
129
|
+
y: referenceLinePoint,
|
|
130
|
+
stroke: referenceLineColor,
|
|
131
|
+
strokeDasharray: referenceLineDashed
|
|
132
|
+
}), /*#__PURE__*/_react.default.createElement(_recharts.XAxis, {
|
|
133
|
+
dataKey: "title",
|
|
134
|
+
tick: CustomizedTickBarChart,
|
|
135
|
+
tickLine: false,
|
|
136
|
+
interval: 0,
|
|
137
|
+
height: 120,
|
|
138
|
+
stroke: "#D0D0D0"
|
|
139
|
+
}), /*#__PURE__*/_react.default.createElement(_recharts.Tooltip, {
|
|
140
|
+
content: /*#__PURE__*/_react.default.createElement(CustomTooltip, null)
|
|
141
|
+
}), /*#__PURE__*/_react.default.createElement(_recharts.Tooltip, null), /*#__PURE__*/_react.default.createElement(_recharts.Bar, {
|
|
142
|
+
dataKey: "valueOne",
|
|
143
|
+
fill: barChartColorFirst,
|
|
144
|
+
minPointSize: 5,
|
|
145
|
+
barSize: barSize !== null && barSize !== void 0 ? barSize : 60,
|
|
146
|
+
radius: [5, 5, 0, 0]
|
|
147
|
+
}, /*#__PURE__*/_react.default.createElement(_recharts.LabelList, {
|
|
148
|
+
dataKey: "valueOne",
|
|
149
|
+
content: CustomizedLabel
|
|
150
|
+
})), /*#__PURE__*/_react.default.createElement(_recharts.Bar, {
|
|
151
|
+
dataKey: "valueTwo",
|
|
152
|
+
fill: barChartColorSecond,
|
|
153
|
+
minPointSize: 10,
|
|
154
|
+
barSize: barSize !== null && barSize !== void 0 ? barSize : 60,
|
|
155
|
+
radius: [5, 5, 0, 0]
|
|
156
|
+
}, /*#__PURE__*/_react.default.createElement(_recharts.LabelList, {
|
|
157
|
+
dataKey: "valueTwo",
|
|
158
|
+
content: CustomizedLabel
|
|
159
|
+
})))), showLegend && /*#__PURE__*/_react.default.createElement(_PerformanceAnalyticsLegend.default, {
|
|
160
|
+
legendData: legendData
|
|
161
|
+
})));
|
|
162
|
+
};
|
|
163
|
+
exports.TwoBarCharts = TwoBarCharts;
|
|
164
|
+
var _default = exports.default = TwoBarCharts;
|
|
165
|
+
TwoBarCharts.defaultProps = {
|
|
166
|
+
title: 'String',
|
|
167
|
+
barChartData: [{
|
|
168
|
+
title: 'Food Lion',
|
|
169
|
+
date: '15.01.24-31.01.24',
|
|
170
|
+
valueOne: 542366,
|
|
171
|
+
valueTwo: 542366
|
|
172
|
+
}, {
|
|
173
|
+
title: 'Hannaford',
|
|
174
|
+
date: '15.01.24-31.01.24',
|
|
175
|
+
valueOne: 699511,
|
|
176
|
+
valueTwo: 699511
|
|
177
|
+
}, {
|
|
178
|
+
title: 'The Giant Company',
|
|
179
|
+
date: '15.01.24-31.01.24',
|
|
180
|
+
valueOne: 403092,
|
|
181
|
+
valueTwo: 403092
|
|
182
|
+
}, {
|
|
183
|
+
title: 'Giant Food',
|
|
184
|
+
date: '15.01.24-31.01.24',
|
|
185
|
+
valueOne: 396184,
|
|
186
|
+
valueTwo: 396184
|
|
187
|
+
}, {
|
|
188
|
+
title: 'Stop&Shop',
|
|
189
|
+
date: '15.01.24-31.01.24',
|
|
190
|
+
valueOne: 415317,
|
|
191
|
+
valueTwo: 415317
|
|
192
|
+
}],
|
|
193
|
+
width: '100%',
|
|
194
|
+
height: '100%',
|
|
195
|
+
barSize: 60,
|
|
196
|
+
barFontSizeValue: '0.6em',
|
|
197
|
+
barChartColorFirst: '#BD9EFF',
|
|
198
|
+
barChartColorSecond: '#5865c8',
|
|
199
|
+
isDollar: true,
|
|
200
|
+
showDollarSign: true,
|
|
201
|
+
showLegend: true,
|
|
202
|
+
legendData: [{
|
|
203
|
+
title: 'Incremental Sales',
|
|
204
|
+
iconType: ICON_TYPE_SQUARE,
|
|
205
|
+
iconColor: '#BD9EFF'
|
|
206
|
+
}],
|
|
207
|
+
showReferenceLine: false,
|
|
208
|
+
referenceLinePoint: 0,
|
|
209
|
+
referenceLineColor: '#212121',
|
|
210
|
+
referenceLineDashed: '5'
|
|
211
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.TooltipTitle = exports.TooltipLabel = exports.TooltipDiv = exports.Title = exports.LabelText = exports.LabelBoldText = exports.ControlsContainer = exports.Controls = void 0;
|
|
8
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
|
+
const ControlsContainer = exports.ControlsContainer = _styledComponents.default.div`
|
|
10
|
+
position: relative;
|
|
11
|
+
font-family: "Poppins", sans-serif;
|
|
12
|
+
color: #212121;
|
|
13
|
+
width: ${props => props.width};
|
|
14
|
+
height: ${props => props.height};
|
|
15
|
+
min-width: 250px;
|
|
16
|
+
`;
|
|
17
|
+
const Controls = exports.Controls = _styledComponents.default.div`
|
|
18
|
+
height: 100%;
|
|
19
|
+
width: 100%;
|
|
20
|
+
background: white;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
`;
|
|
24
|
+
const TooltipDiv = exports.TooltipDiv = _styledComponents.default.div`
|
|
25
|
+
border-radius: 5px;
|
|
26
|
+
padding: 8px 12px;
|
|
27
|
+
background: white;
|
|
28
|
+
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
29
|
+
margin: 0;
|
|
30
|
+
`;
|
|
31
|
+
const TooltipLabel = exports.TooltipLabel = _styledComponents.default.div`
|
|
32
|
+
color: #212121;
|
|
33
|
+
font-size: 14px;
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
width: fit-content;
|
|
36
|
+
`;
|
|
37
|
+
const TooltipTitle = exports.TooltipTitle = _styledComponents.default.div`
|
|
38
|
+
color: #212121;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
`;
|
|
42
|
+
const Title = exports.Title = _styledComponents.default.h5`
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
font-size: 18px;
|
|
45
|
+
line-height: 20px;
|
|
46
|
+
margin: 0 0 30px;
|
|
47
|
+
@media (max-width: 1536px) {
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
margin: 0 0 20px;
|
|
50
|
+
}
|
|
51
|
+
@media (max-width: 1366px) {
|
|
52
|
+
font-size: 14px;
|
|
53
|
+
}
|
|
54
|
+
`;
|
|
55
|
+
const LabelBoldText = exports.LabelBoldText = _styledComponents.default.tspan`
|
|
56
|
+
font-size: 0.7em;
|
|
57
|
+
`;
|
|
58
|
+
const LabelText = exports.LabelText = _styledComponents.default.tspan`
|
|
59
|
+
font-size: 0.6em;
|
|
60
|
+
`;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.ArrowDownIcon = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
const ArrowDownIcon = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
clicked,
|
|
12
|
+
width = '8',
|
|
13
|
+
height = '9'
|
|
14
|
+
} = _ref;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
+
width: width,
|
|
17
|
+
height: height,
|
|
18
|
+
viewBox: "0 0 8 9",
|
|
19
|
+
fill: "none",
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
d: "M3.52935 8.81165C3.78967 9.06278 4.21242 9.06278 4.47273 8.81165L7.80476 5.59719C8.06508 5.34606 8.06508 4.93822 7.80476 4.68709C7.54445 4.43596 7.1217 4.43596 6.86138 4.68709L4.66641 6.80663L4.66641 0.642893C4.66641 0.287292 4.36861 -4.08657e-07 4 -4.40881e-07C3.63139 -4.73106e-07 3.33359 0.287292 3.33359 0.642893L3.33359 6.80663L1.13862 4.6891C0.878303 4.43797 0.455551 4.43797 0.195236 4.6891C-0.0650787 4.94023 -0.0650787 5.34807 0.195236 5.5992L3.52727 8.81366L3.52935 8.81165Z",
|
|
23
|
+
fill: "#F00021"
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
exports.ArrowDownIcon = ArrowDownIcon;
|
|
27
|
+
var _default = exports.default = ArrowDownIcon;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.ArrowDropDownIcon = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
const ArrowDropDownIcon = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
clicked,
|
|
12
|
+
width = "8",
|
|
13
|
+
height = "9"
|
|
14
|
+
} = _ref;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
+
width: width,
|
|
17
|
+
height: height,
|
|
18
|
+
viewBox: "0 0 12 7",
|
|
19
|
+
fill: "none",
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
d: "M5.60156 6.39844L1.10156 1.89844C0.867188 1.6875 0.867188 1.33594 1.10156 1.10156C1.3125 0.890625 1.66406 0.890625 1.89844 1.10156L6 5.22656L10.1016 1.125C10.3125 0.890625 10.6641 0.890625 10.8984 1.125C11.1094 1.33594 11.1094 1.6875 10.8984 1.89844L6.375 6.39844C6.16406 6.63281 5.8125 6.63281 5.60156 6.39844Z",
|
|
23
|
+
fill: "#212121"
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
exports.ArrowDropDownIcon = ArrowDropDownIcon;
|
|
27
|
+
var _default = exports.default = ArrowDropDownIcon;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.ArrowSelectIcon = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
const ArrowSelectIcon = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
// eslint-disable-next-line react/prop-types
|
|
12
|
+
width = '18',
|
|
13
|
+
height = '18',
|
|
14
|
+
color = '#229E38'
|
|
15
|
+
} = _ref;
|
|
16
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
17
|
+
width: width,
|
|
18
|
+
height: height,
|
|
19
|
+
viewBox: "0 0 18 18",
|
|
20
|
+
fill: "none",
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
22
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
23
|
+
d: "M15 9C15 6.6875 13.75 4.5625 11.75 3.375C9.71875 2.21875 7.25 2.21875 5.25 3.375C3.21875 4.5625 2 6.6875 2 9C2 11.3438 3.21875 13.4688 5.25 14.6562C7.25 15.8125 9.71875 15.8125 11.75 14.6562C13.75 13.4688 15 11.3438 15 9ZM0.5 9C0.5 6.15625 2 3.53125 4.5 2.09375C6.96875 0.65625 10 0.65625 12.5 2.09375C14.9688 3.53125 16.5 6.15625 16.5 9C16.5 11.875 14.9688 14.5 12.5 15.9375C10 17.375 6.96875 17.375 4.5 15.9375C2 14.5 0.5 11.875 0.5 9ZM9.53125 12.2812C9.21875 12.5938 8.75 12.5938 8.46875 12.2812C8.15625 12 8.15625 11.5312 8.46875 11.2188L9.9375 9.75H5.25C4.8125 9.75 4.5 9.4375 4.5 9C4.5 8.59375 4.8125 8.25 5.25 8.25H9.9375L8.46875 6.78125C8.15625 6.5 8.15625 6.03125 8.46875 5.75C8.75 5.4375 9.21875 5.4375 9.53125 5.75L12.2812 8.5C12.5625 8.78125 12.5625 9.25 12.2812 9.53125L9.53125 12.2812Z",
|
|
24
|
+
fill: color
|
|
25
|
+
}));
|
|
26
|
+
};
|
|
27
|
+
exports.ArrowSelectIcon = ArrowSelectIcon;
|
|
28
|
+
var _default = exports.default = ArrowSelectIcon;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.ArrowUpIcon = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
const ArrowUpIcon = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
clicked,
|
|
12
|
+
width = '8',
|
|
13
|
+
height = '9'
|
|
14
|
+
} = _ref;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
+
width: width,
|
|
17
|
+
height: height,
|
|
18
|
+
viewBox: "0 0 8 9",
|
|
19
|
+
fill: "none",
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
d: "M4.47065 0.188348C4.21033 -0.0627825 3.78758 -0.0627825 3.52727 0.188348L0.195236 3.40281C-0.0650787 3.65394 -0.0650787 4.06178 0.195236 4.31291C0.455551 4.56404 0.878303 4.56404 1.13862 4.31291L3.33359 2.19337V8.35711C3.33359 8.71271 3.63139 9 4 9C4.36861 9 4.66641 8.71271 4.66641 8.35711V2.19337L6.86138 4.3109C7.1217 4.56203 7.54445 4.56203 7.80476 4.3109C8.06508 4.05977 8.06508 3.65193 7.80476 3.4008L4.47273 0.186338L4.47065 0.188348Z",
|
|
23
|
+
fill: "#5FCC70"
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
exports.ArrowUpIcon = ArrowUpIcon;
|
|
27
|
+
var _default = exports.default = ArrowUpIcon;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.AttachedIcon = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
const AttachedIcon = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
width = '14',
|
|
12
|
+
height = '15',
|
|
13
|
+
fill = '#229E38'
|
|
14
|
+
} = _ref;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
+
width: width,
|
|
17
|
+
height: height,
|
|
18
|
+
viewBox: "0 0 16 15",
|
|
19
|
+
fill: "none",
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
d: "M11.2539 2.74609C10.543 2.03516 9.36719 2.03516 8.65625 2.74609L3.43359 7.99609C2.23047 9.19922 2.23047 11.1406 3.43359 12.3164C4.60938 13.5195 6.55078 13.5195 7.75391 12.3164L11.9102 8.16016C12.1562 7.91406 12.5664 7.91406 12.8125 8.16016C13.0859 8.43359 13.0859 8.84375 12.8125 9.08984L8.68359 13.2461C6.96094 14.9688 4.19922 14.9688 2.50391 13.2461C0.78125 11.5508 0.78125 8.78906 2.50391 7.06641L7.75391 1.81641C8.95703 0.613281 10.9531 0.613281 12.1836 1.81641C13.3867 3.04688 13.3867 5.04297 12.1836 6.24609L7.15234 11.2773C6.27734 12.1523 4.85547 12.0703 4.08984 11.1133C3.43359 10.293 3.51562 9.11719 4.25391 8.37891L8.41016 4.22266C8.65625 3.97656 9.06641 3.97656 9.3125 4.22266C9.58594 4.49609 9.58594 4.90625 9.3125 5.15234L5.18359 9.30859C4.91016 9.58203 4.88281 9.99219 5.12891 10.293C5.40234 10.6211 5.89453 10.6758 6.22266 10.3477L11.2539 5.31641C11.9648 4.60547 11.9648 3.45703 11.2539 2.74609Z",
|
|
23
|
+
fill: fill
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
exports.AttachedIcon = AttachedIcon;
|
|
27
|
+
var _default = exports.default = AttachedIcon;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.BellIcon = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
const BellIcon = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
width = '8',
|
|
12
|
+
height = '9',
|
|
13
|
+
color = '#212121'
|
|
14
|
+
} = _ref;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
+
width: width,
|
|
17
|
+
height: height,
|
|
18
|
+
viewBox: "0 0 18 21",
|
|
19
|
+
fill: "none",
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
d: "M8.08569 1.125C8.08569 0.8125 8.39819 0.5 8.71069 0.5C9.06226 0.5 9.37476 0.8125 9.37476 1.125V1.78906C12.4998 2.10156 14.9998 4.75781 14.9998 8V9.17188C14.9998 10.8516 15.6638 12.4922 16.8748 13.7031L16.9919 13.8203C17.3044 14.1328 17.4998 14.5625 17.4998 15.0312C17.4998 16.0078 16.7185 16.75 15.7419 16.75H1.71851C0.741943 16.75 -0.000244141 16.0078 -0.000244141 15.0312C-0.000244141 14.5625 0.156006 14.1328 0.468506 13.8203L0.585693 13.7031C1.79663 12.4922 2.49976 10.8516 2.49976 9.17188V8C2.49976 4.75781 4.96069 2.10156 8.12476 1.78906L8.08569 1.125ZM8.71069 3C5.97632 3 3.71069 5.26562 3.71069 8V9.17188C3.71069 11.2031 2.92944 13.1562 1.48413 14.6016L1.36694 14.6797C1.28882 14.7969 1.21069 14.9141 1.21069 15.0312C1.21069 15.3047 1.44507 15.5 1.71851 15.5H15.7419C16.0154 15.5 16.2498 15.3047 16.2498 15.0312C16.2498 14.9141 16.1716 14.7969 16.0935 14.6797L15.9763 14.6016C14.531 13.1562 13.7498 11.2031 13.7498 9.17188V8C13.7498 5.26562 11.4841 3 8.71069 3ZM8.71069 19.25C9.25757 19.25 9.72632 18.9375 9.92163 18.4297C10.0388 18.1172 10.3904 17.9219 10.7029 18.0391C11.0154 18.1562 11.2107 18.5078 11.0935 18.8594C10.7419 19.8359 9.80444 20.5 8.71069 20.5C7.65601 20.5 6.71851 19.8359 6.36694 18.8594C6.24976 18.5078 6.44507 18.1562 6.75757 18.0391C7.07007 17.9219 7.42163 18.1172 7.53882 18.4297C7.73413 18.9375 8.20288 19.25 8.71069 19.25Z",
|
|
23
|
+
fill: color
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
exports.BellIcon = BellIcon;
|
|
27
|
+
var _default = exports.default = BellIcon;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.ButtonArrowRight = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
const ButtonArrowRight = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
width = '16',
|
|
12
|
+
height = '17'
|
|
13
|
+
} = _ref;
|
|
14
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
15
|
+
width: width,
|
|
16
|
+
height: height,
|
|
17
|
+
viewBox: "0 0 16 17",
|
|
18
|
+
fill: "none",
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
20
|
+
}, /*#__PURE__*/_react.default.createElement("g", null, /*#__PURE__*/_react.default.createElement("path", {
|
|
21
|
+
id: "icon",
|
|
22
|
+
d: "M14.5 8.48438C14.5 6.17188 13.25 4.04688 11.25 2.85938C9.21875 1.70312 6.75 1.70312 4.75 2.85938C2.71875 4.04688 1.5 6.17188 1.5 8.48438C1.5 10.8282 2.71875 12.9532 4.75 14.1406C6.75 15.2969 9.21875 15.2969 11.25 14.1406C13.25 12.9532 14.5 10.8282 14.5 8.48438ZM0 8.48438C0 5.64062 1.5 3.01562 4 1.57812C6.46875 0.140625 9.5 0.140625 12 1.57812C14.4688 3.01562 16 5.64062 16 8.48438C16 11.3594 14.4688 13.9844 12 15.4219C9.5 16.8594 6.46875 16.8594 4 15.4219C1.5 13.9844 0 11.3594 0 8.48438ZM9.03125 11.7656C8.71875 12.0782 8.25 12.0782 7.96875 11.7656C7.65625 11.4844 7.65625 11.0156 7.96875 10.7032L9.4375 9.23438H4.75C4.3125 9.23438 4 8.92188 4 8.48438C4 8.07812 4.3125 7.73438 4.75 7.73438H9.4375L7.96875 6.26562C7.65625 5.98438 7.65625 5.51562 7.96875 5.23438C8.25 4.92188 8.71875 4.92188 9.03125 5.23438L11.7812 7.98438C12.0625 8.26562 12.0625 8.73438 11.7812 9.01562L9.03125 11.7656Z",
|
|
23
|
+
fill: "white"
|
|
24
|
+
})));
|
|
25
|
+
};
|
|
26
|
+
exports.ButtonArrowRight = ButtonArrowRight;
|
|
27
|
+
var _default = exports.default = ButtonArrowRight;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.Calendar = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
const Calendar = () => /*#__PURE__*/_react.default.createElement("svg", {
|
|
10
|
+
width: "11",
|
|
11
|
+
height: "12",
|
|
12
|
+
viewBox: "0 0 11 12",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
16
|
+
d: "M2.625 0C2.8125 0 3 0.1875 3 0.375V1.5H7.5V0.375C7.5 0.1875 7.66406 0 7.875 0C8.0625 0 8.25 0.1875 8.25 0.375V1.5H9C9.82031 1.5 10.5 2.17969 10.5 3V3.75V4.5V10.5C10.5 11.3438 9.82031 12 9 12H1.5C0.65625 12 0 11.3438 0 10.5V4.5V3.75V3C0 2.17969 0.65625 1.5 1.5 1.5H2.25V0.375C2.25 0.1875 2.41406 0 2.625 0ZM9.75 4.5H0.75V10.5C0.75 10.9219 1.07812 11.25 1.5 11.25H9C9.39844 11.25 9.75 10.9219 9.75 10.5V4.5ZM9 2.25H1.5C1.07812 2.25 0.75 2.60156 0.75 3V3.75H9.75V3C9.75 2.60156 9.39844 2.25 9 2.25Z",
|
|
17
|
+
fill: "#568202"
|
|
18
|
+
}));
|
|
19
|
+
exports.Calendar = Calendar;
|
|
20
|
+
var _default = exports.default = Calendar;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = exports.CalendarIcon = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
const CalendarIcon = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
clicked,
|
|
12
|
+
width = "14",
|
|
13
|
+
height = "14"
|
|
14
|
+
} = _ref;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
+
width: width,
|
|
17
|
+
height: height,
|
|
18
|
+
viewBox: "0 0 11 12",
|
|
19
|
+
fill: "none",
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
d: "M2.625 0C2.8125 0 3 0.1875 3 0.375V1.5H7.5V0.375C7.5 0.1875 7.66406 0 7.875 0C8.0625 0 8.25 0.1875 8.25 0.375V1.5H9C9.82031 1.5 10.5 2.17969 10.5 3V3.75V4.5V10.5C10.5 11.3438 9.82031 12 9 12H1.5C0.65625 12 0 11.3438 0 10.5V4.5V3.75V3C0 2.17969 0.65625 1.5 1.5 1.5H2.25V0.375C2.25 0.1875 2.41406 0 2.625 0ZM9.75 4.5H7.3125V6.1875H9.75V4.5ZM9.75 6.9375H7.3125V8.8125H9.75V6.9375ZM9.75 9.5625H7.3125V11.25H9C9.39844 11.25 9.75 10.9219 9.75 10.5V9.5625ZM6.5625 8.8125V6.9375H3.9375V8.8125H6.5625ZM3.9375 9.5625V11.25H6.5625V9.5625H3.9375ZM3.1875 8.8125V6.9375H0.75V8.8125H3.1875ZM0.75 9.5625V10.5C0.75 10.9219 1.07812 11.25 1.5 11.25H3.1875V9.5625H0.75ZM0.75 6.1875H3.1875V4.5H0.75V6.1875ZM3.9375 6.1875H6.5625V4.5H3.9375V6.1875ZM9 2.25H1.5C1.07812 2.25 0.75 2.60156 0.75 3V3.75H9.75V3C9.75 2.60156 9.39844 2.25 9 2.25Z",
|
|
23
|
+
fill: "#212121"
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
exports.CalendarIcon = CalendarIcon;
|
|
27
|
+
var _default = exports.default = CalendarIcon;
|