sag_components 2.0.0-beta96 → 2.0.0-beta98
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/index.d.ts +1355 -1222
- package/dist/index.esm.js +1937 -519
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1948 -519
- package/dist/index.js.map +1 -1
- package/dist/types/components/AreaChart/AreaChart.d.ts +2 -2
- package/dist/types/components/AreaChart/AreaChart.stories.d.ts +80 -79
- package/dist/types/components/AreaChart/AreaChart.style.d.ts +8 -8
- package/dist/types/components/AreaChart/AreaChart.test.d.ts +1 -1
- package/dist/types/components/AttachedFile/AttachedFile.d.ts +24 -24
- package/dist/types/components/AttachedFile/AttachedFile.stories.d.ts +95 -95
- package/dist/types/components/AttachedFile/AttachedFile.style.d.ts +4 -4
- package/dist/types/components/BannerEventBox/BannerEventBox.d.ts +2 -2
- package/dist/types/components/BannerEventBox/BannerEventBox.stories.d.ts +40 -40
- package/dist/types/components/BannerEventBox/BannerEventBox.style.d.ts +13 -13
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +2 -2
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.stories.d.ts +28 -28
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.style.d.ts +13 -13
- package/dist/types/components/BannersDropdown/BannersDropdown.d.ts +18 -18
- package/dist/types/components/BannersDropdown/BannersDropdown.stories.d.ts +19 -19
- package/dist/types/components/BannersDropdown/BannersDropdown.style.d.ts +8 -8
- package/dist/types/components/BarChart/BarChart.d.ts +82 -82
- package/dist/types/components/BarChart/BarChart.stories.d.ts +179 -179
- package/dist/types/components/BarChart/BarChart.style.d.ts +8 -8
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.d.ts +2 -2
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.stories.d.ts +199 -199
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.style.d.ts +9 -9
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.d.ts +2 -2
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.d.ts +112 -112
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.style.d.ts +9 -9
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.d.ts +107 -107
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.stories.d.ts +207 -207
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.style.d.ts +11 -11
- package/dist/types/components/BatteryChart/BatteryChart.d.ts +2 -2
- package/dist/types/components/BatteryChart/BatteryChart.style.d.ts +18 -18
- package/dist/types/components/Benchmark/Benchmark.d.ts +45 -45
- package/dist/types/components/Benchmark/Benchmark.stories.d.ts +167 -167
- package/dist/types/components/Benchmark/Benchmark.style.d.ts +5 -5
- package/dist/types/components/BreakdownPanel/BreakdownPanel.d.ts +2 -2
- package/dist/types/components/BreakdownPanel/BreakdownPanel.stories.d.ts +74 -73
- package/dist/types/components/BreakdownPanel/BreakdownPanel.style.d.ts +7 -7
- package/dist/types/components/BreakdownPanel/BreakdownPanel.test.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/BannerButton.d.ts +8 -8
- package/dist/types/components/BreakdownPanel/ItemSales/BannerButton.style.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/CategorySalesPanel.d.ts +7 -7
- package/dist/types/components/BreakdownPanel/ItemSales/CategorySalesPanel.style.d.ts +6 -6
- package/dist/types/components/BreakdownPanel/ItemSales/ItemSalesPanel.d.ts +2 -2
- package/dist/types/components/BreakdownPanel/ItemSales/ItemSalesPanel.style.d.ts +3 -3
- package/dist/types/components/BreakdownPanel/ItemSales/ItemsCounterGraphPanel.d.ts +6 -6
- package/dist/types/components/BreakdownPanel/ItemSales/ItemsCounterGraphPanel.style.d.ts +3 -3
- package/dist/types/components/BrushChart/BrushChart.d.ts +2 -2
- package/dist/types/components/BrushChart/BrushChart.stories.d.ts +150 -150
- package/dist/types/components/BrushChart/BrushChart.style.d.ts +47 -47
- package/dist/types/components/BrushChart/Charts/BarLine.d.ts +2 -2
- package/dist/types/components/BrushChart/Charts/InnerBar.d.ts +2 -2
- package/dist/types/components/BrushChart/Charts/SingleChart.d.ts +2 -2
- package/dist/types/components/BubbleChart/BubbleChart.d.ts +16 -16
- package/dist/types/components/BubbleChart/BubbleChart.stories.d.ts +101 -100
- package/dist/types/components/BubbleChart/BubbleChart.style.d.ts +13 -13
- package/dist/types/components/Button/Button.d.ts +2 -22
- package/dist/types/components/Button/Button.stories.d.ts +243 -185
- package/dist/types/components/Button/Button.style.d.ts +5 -5
- package/dist/types/components/Button/Button.test.d.ts +1 -1
- package/dist/types/components/CampaignTool/CampaignDemoReport.d.ts +33 -33
- package/dist/types/components/CampaignTool/CampaignDemoReport.style.d.ts +5 -5
- package/dist/types/components/CampaignTool/Card.d.ts +37 -37
- package/dist/types/components/CampaignTool/Card.style.d.ts +8 -8
- package/dist/types/components/CampaignTool/FormInput.d.ts +5 -5
- package/dist/types/components/CampaignTool/FormSelect.d.ts +5 -5
- package/dist/types/components/CampaignTool/MultipleCard.d.ts +15 -15
- package/dist/types/components/CampaignTool/MultipleCard.style.d.ts +1 -1
- package/dist/types/components/CampaignTool/PageFilterBar.d.ts +12 -12
- package/dist/types/components/CampaignTool/PageFilterBar.style.d.ts +2 -2
- package/dist/types/components/CampaignTool/Popup.d.ts +27 -27
- package/dist/types/components/CampaignTool/Popup.style.d.ts +14 -14
- package/dist/types/components/CampaignTool/PopupContent.d.ts +28 -28
- package/dist/types/components/CampaignTool/PopupContent.style.d.ts +7 -7
- package/dist/types/components/CampaignTool/PopupFieldsRules.d.ts +41 -41
- package/dist/types/components/CampaignTool/Table.d.ts +56 -56
- package/dist/types/components/CampaignTool/Table.style.d.ts +7 -7
- package/dist/types/components/CheckBox/CheckBox.d.ts +2 -2
- package/dist/types/components/CheckBox/CheckBox.stories.d.ts +126 -126
- package/dist/types/components/CheckBox/CheckBox.style.d.ts +4 -4
- package/dist/types/components/CheckBoxButton/CheckBoxButton.d.ts +21 -21
- package/dist/types/components/CheckBoxButton/CheckBoxButton.stories.d.ts +187 -187
- package/dist/types/components/CheckBoxButton/CheckBoxButton.style.d.ts +4 -4
- package/dist/types/components/CodeEditor/CodeEditor.d.ts +5 -5
- package/dist/types/components/CollapseData/CollapseData.d.ts +40 -40
- package/dist/types/components/CollapseData/CollapseData.stories.d.ts +59 -59
- package/dist/types/components/CollapseData/CollapseData.style.d.ts +11 -11
- package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +82 -82
- package/dist/types/components/CollapseHeader/CollapseHeader.stories.d.ts +101 -101
- package/dist/types/components/CollapseHeader/CollapseHeader.style.d.ts +25 -25
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.d.ts +24 -24
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.stories.d.ts +54 -54
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.style.d.ts +7 -7
- package/dist/types/components/ContainerTable/ContainerTable.d.ts +2 -0
- package/dist/types/components/ContainerTable/ContainerTable.stories.d.ts +61 -0
- package/dist/types/components/ContainerTable/ContainerTable.style.d.ts +7 -0
- package/dist/types/components/DialogOverlay/DialogOverlay.d.ts +21 -21
- package/dist/types/components/DialogOverlay/DialogOverlay.stories.d.ts +31 -31
- package/dist/types/components/DialogOverlay/DialogOverlay.style.d.ts +6 -6
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.d.ts +2 -2
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.stories.d.ts +265 -264
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.style.d.ts +10 -10
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +2 -2
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.stories.d.ts +72 -72
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.style.d.ts +9 -9
- package/dist/types/components/DownloadProgress/DownloadProgress.d.ts +39 -39
- package/dist/types/components/DownloadProgress/DownloadProgress.stories.d.ts +99 -99
- package/dist/types/components/DownloadProgress/DownloadProgress.style.d.ts +4 -4
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +79 -79
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.style.d.ts +12 -12
- package/dist/types/components/DropdownMultiNew/DropdownNew.stories.d.ts +240 -240
- package/dist/types/components/DropdownNew/DropdownNew.d.ts +2 -81
- package/dist/types/components/DropdownNew/DropdownNew.style.d.ts +1 -1
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +75 -75
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.style.d.ts +10 -10
- package/dist/types/components/EventDetailsCard/EventDetailsCard.d.ts +48 -48
- package/dist/types/components/EventDetailsCard/EventDetailsCard.stories.d.ts +122 -122
- package/dist/types/components/EventDetailsCard/EventDetailsCard.style.d.ts +6 -6
- package/dist/types/components/EventList/EventList.d.ts +30 -30
- package/dist/types/components/EventList/EventList.stories.d.ts +67 -67
- package/dist/types/components/EventList/EventList.style.d.ts +4 -4
- package/dist/types/components/EventListItem/EventListItem.d.ts +27 -27
- package/dist/types/components/EventListItem/EventListItem.stories.d.ts +67 -67
- package/dist/types/components/EventListItem/EventListItem.style.d.ts +4 -4
- package/dist/types/components/EventsTable/ColumnFilter.d.ts +7 -0
- package/dist/types/components/EventsTable/DeleteEventModal.d.ts +5 -0
- package/dist/types/components/EventsTable/EventTable.d.ts +7 -0
- package/dist/types/components/EventsTable/EventsHeader.d.ts +6 -0
- package/dist/types/components/EventsTable/EventsPage.d.ts +1 -0
- package/dist/types/components/EventsTable/EventsPage.stories.d.ts +8 -0
- package/dist/types/components/EventsTable/SendButton.d.ts +3 -0
- package/dist/types/components/EventsTable/mockEvents.d.ts +15 -0
- package/dist/types/components/FilterContainer/FilterContainer.d.ts +3 -3
- package/dist/types/components/FilterContainer/FilterContainer.stories.d.ts +9 -9
- package/dist/types/components/FilterContainer/FilterContainer.style.d.ts +3 -3
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +89 -89
- package/dist/types/components/FilterPanel/FilterPanel.stories.d.ts +173 -173
- package/dist/types/components/FilterPanel/FilterPanel.style.d.ts +11 -11
- package/dist/types/components/FormattedValue/FormattedValue.d.ts +45 -45
- package/dist/types/components/FormattedValue/FormattedValue.stories.d.ts +131 -131
- package/dist/types/components/FormattedValue/FormattedValue.style.d.ts +7 -7
- package/dist/types/components/Heatmap/Heatmap.d.ts +15 -15
- package/dist/types/components/Heatmap/Heatmap.stories.d.ts +59 -59
- package/dist/types/components/Heatmap/Heatmap.style.d.ts +15 -15
- package/dist/types/components/IconButton/IconButton.d.ts +48 -48
- package/dist/types/components/IconButton/IconButton.stories.d.ts +89 -89
- package/dist/types/components/IconButton/IconButton.style.d.ts +4 -4
- package/dist/types/components/Input/Input.d.ts +80 -80
- package/dist/types/components/Input/Input.stories.d.ts +278 -278
- package/dist/types/components/Input/Input.style.d.ts +7 -7
- package/dist/types/components/InputOld/InputOld.d.ts +66 -66
- package/dist/types/components/InputOld/InputOld.stories.d.ts +109 -109
- package/dist/types/components/InputOld/InputOld.style.d.ts +6 -6
- package/dist/types/components/InsightsCarousel/InsightsCarousel.d.ts +11 -11
- package/dist/types/components/InsightsCarousel/InsightsCarousel.stories.d.ts +48 -47
- package/dist/types/components/InsightsCarousel/InsightsCarousel.style.d.ts +12 -12
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.d.ts +6 -0
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.stories.d.ts +24 -0
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.style.d.ts +18 -0
- package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.d.ts +6 -0
- package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.style.d.ts +13 -0
- package/dist/types/components/KpiFilter/KpiFilter.d.ts +58 -58
- package/dist/types/components/KpiFilter/KpiFilter.stories.d.ts +174 -174
- package/dist/types/components/KpiFilter/KpiFilter.style.d.ts +16 -16
- package/dist/types/components/LinkButton/LinkButton.d.ts +13 -13
- package/dist/types/components/LinkButton/LinkButton.stories.d.ts +110 -110
- package/dist/types/components/LinkButton/LinkButton.style.d.ts +4 -4
- package/dist/types/components/LinkButton/LinkButton.test.d.ts +1 -1
- package/dist/types/components/LinnerDataBox/LinnerDataBox.d.ts +2 -2
- package/dist/types/components/LinnerDataBox/LinnerDataBox.data.d.ts +15 -15
- package/dist/types/components/LinnerDataBox/LinnerDataBox.stories.d.ts +39 -39
- package/dist/types/components/LinnerDataBox/LinnerDataBox.style.d.ts +14 -14
- package/dist/types/components/ListBox/ListBox.d.ts +15 -15
- package/dist/types/components/ListBox/ListBox.stories.d.ts +134 -134
- package/dist/types/components/ListBox/ListBox.style.d.ts +4 -4
- package/dist/types/components/MarketShareDescription/MarketShareDescription.d.ts +31 -31
- package/dist/types/components/MarketShareDescription/MarketShareDescription.stories.d.ts +70 -70
- package/dist/types/components/MarketShareDescription/MarketShareDescription.style.d.ts +16 -16
- package/dist/types/components/MenuRoute/MenuIcons/Build.d.ts +6 -0
- package/dist/types/components/MenuRoute/MenuIcons/Execute.d.ts +6 -0
- package/dist/types/components/MenuRoute/MenuIcons/Track.d.ts +6 -0
- package/dist/types/components/MenuRoute/MenuRoute.d.ts +2 -0
- package/dist/types/components/MenuRoute/MenuRoute.stories.d.ts +52 -0
- package/dist/types/components/MenuRoute/MenuRoute.style.d.ts +3 -0
- package/dist/types/components/Modal/Modal.d.ts +6 -6
- package/dist/types/components/Modal/Modal.style.d.ts +4 -4
- package/dist/types/components/Modal/ModalTotalBenchmark.d.ts +8 -8
- package/dist/types/components/Modal/ModalTotalCost.d.ts +7 -7
- package/dist/types/components/ModalWithOverlay/ModalWithOverlay.d.ts +2 -0
- package/dist/types/components/ModalWithOverlay/ModalWithOverlay.stories.d.ts +112 -0
- package/dist/types/components/ModalWithOverlay/ModalWithOverlay.style.d.ts +7 -0
- package/dist/types/components/MonthPicker/MonthPicker.d.ts +55 -55
- package/dist/types/components/MonthPicker/MonthPicker.stories.d.ts +148 -148
- package/dist/types/components/MonthPicker/MonthPicker.style.d.ts +8 -8
- package/dist/types/components/MonthPicker/MonthPopupPicker.d.ts +10 -10
- package/dist/types/components/MonthPicker/MonthPopupPicker.style.d.ts +7 -7
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.d.ts +2 -2
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.stories.d.ts +39 -39
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.style.d.ts +3 -3
- package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +81 -81
- package/dist/types/components/OneColumnContainer/OneColumnContainer.stories.d.ts +396 -396
- package/dist/types/components/OneColumnContainer/OneColumnContainer.style.d.ts +12 -12
- package/dist/types/components/OverlayDropdown/OverlayDropdown.d.ts +24 -0
- package/dist/types/components/OverlayDropdown/OverlayDropdown.stories.d.ts +11 -0
- package/dist/types/components/OverlayDropdown/OverlayDropdown.style.d.ts +9 -0
- package/dist/types/components/OverlayDropdown/OverlayTemplateDialog.d.ts +21 -0
- package/dist/types/components/OverlayDropdown/OverlayTemplateDialog.style.d.ts +10 -0
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.d.ts +86 -86
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.stories.d.ts +175 -175
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.style.d.ts +14 -14
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.d.ts +2 -2
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.d.ts +43 -43
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.d.ts +6 -6
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.d.ts +85 -85
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.d.ts +153 -153
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.d.ts +13 -13
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.d.ts +37 -37
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.d.ts +42 -42
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.d.ts +10 -10
- package/dist/types/components/PieChart/PieChart.d.ts +66 -66
- package/dist/types/components/PieChart/PieChart.stories.d.ts +201 -201
- package/dist/types/components/PieChart/PieChart.style.d.ts +18 -18
- package/dist/types/components/PopupCharts/PopupCharts.d.ts +64 -64
- package/dist/types/components/PopupCharts/PopupCharts.stories.d.ts +89 -89
- package/dist/types/components/PopupCharts/PopupCharts.style.d.ts +12 -12
- package/dist/types/components/ProductsVariety/ProductsVariety.d.ts +29 -29
- package/dist/types/components/ProductsVariety/ProductsVariety.stories.d.ts +48 -48
- package/dist/types/components/ProductsVariety/ProductsVariety.style.d.ts +10 -10
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +24 -24
- package/dist/types/components/ProgressBar/ProgressBar.stories.d.ts +65 -65
- package/dist/types/components/ProgressBar/ProgressBar.style.d.ts +2 -2
- package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +55 -55
- package/dist/types/components/QuarterPicker/QuarterPicker.stories.d.ts +148 -148
- package/dist/types/components/QuarterPicker/QuarterPicker.style.d.ts +8 -8
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.d.ts +10 -10
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.style.d.ts +6 -6
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +17 -17
- package/dist/types/components/QuickFilter/QuickFilter.stories.d.ts +249 -249
- package/dist/types/components/QuickFilter/QuickFilter.style.d.ts +1 -1
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.d.ts +76 -76
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.d.ts +12 -12
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +68 -68
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.d.ts +11 -11
- package/dist/types/components/RangePicker/RangeDatePicker.d.ts +9 -9
- package/dist/types/components/RangePicker/RangePicker.d.ts +52 -52
- package/dist/types/components/RangePicker/RangePicker.stories.d.ts +148 -148
- package/dist/types/components/RangePicker/RangePicker.style.d.ts +8 -8
- package/dist/types/components/ReportTable/ReportTable.d.ts +83 -83
- package/dist/types/components/ReportTable/ReportTable.stories.d.ts +139 -139
- package/dist/types/components/ReportTable/ReportTable.style.d.ts +14 -14
- package/dist/types/components/SagButton/SagButton.d.ts +45 -45
- package/dist/types/components/SagButton/SagButton.stories.d.ts +142 -142
- package/dist/types/components/SagButton/SagButton.style.d.ts +3 -3
- package/dist/types/components/SagIconButton/SagIconButton.d.ts +45 -45
- package/dist/types/components/SagIconButton/SagIconButton.stories.d.ts +129 -129
- package/dist/types/components/SagIconButton/SagIconButton.style.d.ts +2 -2
- package/dist/types/components/SagInput/SagInput.d.ts +36 -36
- package/dist/types/components/SagInput/SagInput.stories.d.ts +71 -71
- package/dist/types/components/SagInput/SagInput.style.d.ts +3 -3
- package/dist/types/components/SalesAndROI/SalesAndROI.d.ts +50 -50
- package/dist/types/components/SalesAndROI/SalesAndROI.stories.d.ts +139 -139
- package/dist/types/components/SalesAndROI/SalesAndROI.style.d.ts +9 -9
- package/dist/types/components/SearchInput/SearchInput.d.ts +24 -24
- package/dist/types/components/SearchInput/SearchInput.stories.d.ts +39 -39
- package/dist/types/components/SearchInput/SearchInput.style.d.ts +2 -2
- package/dist/types/components/SegmentedButton/SegmentedButton.d.ts +52 -52
- package/dist/types/components/SegmentedButton/SegmentedButton.stories.d.ts +168 -168
- package/dist/types/components/SegmentedButton/SegmentedButton.style.d.ts +6 -6
- package/dist/types/components/Select/Select.d.ts +21 -21
- package/dist/types/components/Select/Select.stories.d.ts +252 -252
- package/dist/types/components/Select/Select.style.d.ts +6 -6
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.d.ts +28 -28
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.stories.d.ts +226 -226
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.style.d.ts +13 -13
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.test.d.ts +1 -1
- package/dist/types/components/TabMenu/TabMenu.d.ts +2 -2
- package/dist/types/components/TabMenu/TabMenu.stories.d.ts +171 -171
- package/dist/types/components/TabMenu/TabMenu.style.d.ts +27 -27
- package/dist/types/components/Table/NoEvents.d.ts +5 -0
- package/dist/types/components/Table/Table.d.ts +2 -0
- package/dist/types/components/Table/Table.stories.d.ts +59 -0
- package/dist/types/components/Table/Table.style.d.ts +12 -0
- package/dist/types/components/TitleDescription/TitleDescription.d.ts +59 -59
- package/dist/types/components/TitleDescription/TitleDescription.stories.d.ts +90 -90
- package/dist/types/components/TitleDescription/TitleDescription.style.d.ts +26 -26
- package/dist/types/components/ToggleSwitch/ToggleSwitch.d.ts +21 -0
- package/dist/types/components/ToggleSwitch/ToggleSwitch.stories.d.ts +15 -0
- package/dist/types/components/ToggleSwitch/ToggleSwitch.style.d.ts +3 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +24 -24
- package/dist/types/components/Tooltip/Tooltip.style.d.ts +3 -3
- package/dist/types/components/TopToggleList/TopToggleList.d.ts +24 -24
- package/dist/types/components/TopToggleList/TopToggleList.stories.d.ts +25 -25
- package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -5
- package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +40 -40
- package/dist/types/components/TotalBenchmark/TotalBenchmark.stories.d.ts +101 -101
- package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -9
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +86 -86
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.d.ts +240 -240
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -20
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +51 -51
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.d.ts +145 -145
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -14
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +56 -56
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.d.ts +155 -155
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -10
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +82 -82
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.stories.d.ts +241 -241
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -19
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +76 -76
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.d.ts +214 -214
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -6
- package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +24 -24
- package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -3
- package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +77 -77
- package/dist/types/components/TwoBarCharts/TwoBarCharts.stories.d.ts +172 -172
- package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -8
- package/dist/types/components/WeeksPicker/WeeksCalendar.d.ts +28 -0
- package/dist/types/components/WeeksPicker/WeeksCalendar.styles.d.ts +5 -0
- package/dist/types/components/WeeksPicker/WeeksPicker.d.ts +27 -0
- package/dist/types/components/WeeksPicker/WeeksPicker.stories.d.ts +9 -0
- package/dist/types/components/WeeksPicker/WeeksPicker.style.d.ts +8 -0
- package/dist/types/icons/ArrowDownIcon.d.ts +6 -6
- package/dist/types/icons/ArrowDropDownIcon.d.ts +6 -6
- package/dist/types/icons/ArrowLeftIcon.d.ts +7 -0
- package/dist/types/icons/ArrowSelectIcon.d.ts +6 -6
- package/dist/types/icons/ArrowUpIcon.d.ts +6 -6
- package/dist/types/icons/AttachedIcon.d.ts +6 -6
- package/dist/types/icons/BarcodeIcon.d.ts +6 -6
- package/dist/types/icons/BellIcon.d.ts +6 -6
- package/dist/types/icons/ButtonArrowRight.d.ts +5 -5
- package/dist/types/icons/Calendar.d.ts +2 -2
- package/dist/types/icons/CalendarIcon.d.ts +6 -6
- package/dist/types/icons/CalendarInOpen.d.ts +2 -2
- package/dist/types/icons/CheckBoxButtonCheckedIcon.d.ts +7 -7
- package/dist/types/icons/CheckBoxCheckedIcon.d.ts +7 -7
- package/dist/types/icons/CheckBoxNotCheckedIcon.d.ts +7 -7
- package/dist/types/icons/ChervronLeftIcon.d.ts +6 -6
- package/dist/types/icons/ChervronRightIcon.d.ts +6 -6
- package/dist/types/icons/ChevronIcon.d.ts +7 -7
- package/dist/types/icons/ChevronLeftIcon.d.ts +4 -4
- package/dist/types/icons/ChevronRightIcon.d.ts +4 -4
- package/dist/types/icons/ClockIcon.d.ts +6 -6
- package/dist/types/icons/CloseIcon.d.ts +6 -6
- package/dist/types/icons/CloseXIcon.d.ts +6 -6
- package/dist/types/icons/ComboBoxArrowDownIcon.d.ts +7 -7
- package/dist/types/icons/ComboBoxArrowUpIcon.d.ts +7 -7
- package/dist/types/icons/DocumentIcon.d.ts +6 -6
- package/dist/types/icons/DownArrowIcon.d.ts +5 -5
- package/dist/types/icons/DownloadIcon.d.ts +6 -6
- package/dist/types/icons/Duplicate.d.ts +7 -7
- package/dist/types/icons/ErrorIcon.d.ts +6 -6
- package/dist/types/icons/ExitIcon.d.ts +7 -7
- package/dist/types/icons/ExportIcon.d.ts +6 -6
- package/dist/types/icons/EyeIcon.d.ts +7 -7
- package/dist/types/icons/FileIcon.d.ts +6 -6
- package/dist/types/icons/FilterIcon.d.ts +6 -6
- package/dist/types/icons/FlyIcon.d.ts +6 -6
- package/dist/types/icons/FolderIcon.d.ts +6 -6
- package/dist/types/icons/FoodLionChartIcon.d.ts +2 -2
- package/dist/types/icons/FoodLionIcon.d.ts +6 -6
- package/dist/types/icons/FoodLionNewIcon.d.ts +5 -5
- package/dist/types/icons/GiantFoodChartIcon.d.ts +2 -2
- package/dist/types/icons/GiantFoodIcon.d.ts +7 -7
- package/dist/types/icons/GiantFoodIcon_new.d.ts +7 -7
- package/dist/types/icons/HannafordChartIcon.d.ts +2 -2
- package/dist/types/icons/HannafordIcon.d.ts +6 -6
- package/dist/types/icons/HannafordIcon_new.d.ts +7 -7
- package/dist/types/icons/HannafordNewIcon.d.ts +5 -5
- package/dist/types/icons/InfoIcon.d.ts +7 -7
- package/dist/types/icons/LampIcon.d.ts +6 -6
- package/dist/types/icons/LegendLineIcon.d.ts +6 -6
- package/dist/types/icons/LegendUnionIcon.d.ts +6 -6
- package/dist/types/icons/MaintenanceIcon.d.ts +7 -7
- package/dist/types/icons/MenuItemClosedIcon.d.ts +7 -7
- package/dist/types/icons/MenuItemOpenIcon.d.ts +6 -6
- package/dist/types/icons/MenuItemRightIcon.d.ts +7 -7
- package/dist/types/icons/MenuItemUpIcon.d.ts +6 -6
- package/dist/types/icons/NoDataFoundIcon.d.ts +12 -12
- package/dist/types/icons/OptionsIcon.d.ts +6 -6
- package/dist/types/icons/PeopleIcon.d.ts +6 -6
- package/dist/types/icons/Plus.d.ts +6 -0
- package/dist/types/icons/PlusIcon.d.ts +6 -0
- package/dist/types/icons/ReselectIcon.d.ts +6 -6
- package/dist/types/icons/SearchIcon.d.ts +6 -6
- package/dist/types/icons/ShoppingCartIcon.d.ts +6 -6
- package/dist/types/icons/ShoutIcon.d.ts +6 -6
- package/dist/types/icons/Sort.d.ts +1 -1
- package/dist/types/icons/SortIcon.d.ts +7 -7
- package/dist/types/icons/SpotlightProductIcon.d.ts +7 -7
- package/dist/types/icons/StopAndShopChartIcon.d.ts +2 -2
- package/dist/types/icons/StopAndShopIcon.d.ts +7 -7
- package/dist/types/icons/StopAndShopNewIcon.d.ts +6 -6
- package/dist/types/icons/SucceededIcon.d.ts +6 -6
- package/dist/types/icons/TheGiantCompanyChartIcon.d.ts +2 -2
- package/dist/types/icons/TheGiantCompanyIcon.d.ts +5 -5
- package/dist/types/icons/TheGiantCompanyNewIcon.d.ts +6 -6
- package/dist/types/icons/UpArrowIcon.d.ts +5 -5
- package/dist/types/icons/index.d.ts +15 -0
- package/dist/types/index.d.ts +49 -38
- package/dist/types/utils/CommonFunctions.d.ts +7 -7
- package/dist/types/utils/ComponentFactory.d.ts +4 -4
- package/dist/types/utils/IconsHandler.d.ts +1 -1
- package/dist/types/utils/IconsHandler.style.d.ts +1 -1
- package/dist/types/utils/regex/Email.regex.d.ts +1 -1
- package/dist/types/utils/regex/LatinWithSpaces.regex.d.ts +1 -1
- package/dist/types/utils/regex/Phone.regex.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/components/AutocompleteField/AutocompleteField.d.ts +0 -15
- package/dist/types/components/AutocompleteField/AutocompleteField.stories.d.ts +0 -13
- package/dist/types/components/AutocompleteField/AutocompleteField.style.d.ts +0 -5
- package/dist/types/components/CampaignTool/CampaignDemoReport.stories.d.ts +0 -46
- package/dist/types/components/CampaignTool/Card.stories.d.ts +0 -57
- package/dist/types/components/CampaignTool/MultipleCard.stories.d.ts +0 -28
- package/dist/types/components/CampaignTool/PageFilterBar.stories.d.ts +0 -17
- package/dist/types/components/CampaignTool/Popup.stories.d.ts +0 -101
- package/dist/types/components/CampaignTool/Table.stories.d.ts +0 -108
package/dist/index.js
CHANGED
|
@@ -14,6 +14,16 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
|
|
|
14
14
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
15
15
|
var Skeleton__default = /*#__PURE__*/_interopDefaultLegacy(Skeleton);
|
|
16
16
|
|
|
17
|
+
function _extends$1() {
|
|
18
|
+
return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
|
|
19
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
20
|
+
var t = arguments[e];
|
|
21
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
22
|
+
}
|
|
23
|
+
return n;
|
|
24
|
+
}, _extends$1.apply(null, arguments);
|
|
25
|
+
}
|
|
26
|
+
|
|
17
27
|
const ButtonContainer$1 = styled__default["default"].div`
|
|
18
28
|
//position: relative;
|
|
19
29
|
display: flex;
|
|
@@ -34,7 +44,7 @@ const ButtonItem = styled__default["default"].div`
|
|
|
34
44
|
height: ${props => props.height};
|
|
35
45
|
color: ${props => props.disabled ? props.disabled_text_color : props.text_color};
|
|
36
46
|
border: ${props => `1px solid ${props.disabled ? props.disabled_border_color : props.border_color}`};
|
|
37
|
-
border-radius:
|
|
47
|
+
border-radius: ${props => props.borderRadius};
|
|
38
48
|
background-color: ${props => props.disabled ? props.disabled_background_color : props.background_color};
|
|
39
49
|
box-sizing: border-box;
|
|
40
50
|
gap: 8px;
|
|
@@ -53,7 +63,7 @@ const ButtonItem = styled__default["default"].div`
|
|
|
53
63
|
transition: background-color 0.3s, color 0.3s;
|
|
54
64
|
}
|
|
55
65
|
`;
|
|
56
|
-
const Label$
|
|
66
|
+
const Label$8 = styled__default["default"].label`
|
|
57
67
|
font-family: "Poppins";
|
|
58
68
|
font-size: 14px;
|
|
59
69
|
font-weight: 400;
|
|
@@ -61,7 +71,7 @@ const Label$7 = styled__default["default"].label`
|
|
|
61
71
|
pointer-events: none;
|
|
62
72
|
user-select: none;
|
|
63
73
|
`;
|
|
64
|
-
const IconWrapper$
|
|
74
|
+
const IconWrapper$3 = styled__default["default"].div`
|
|
65
75
|
display: flex;
|
|
66
76
|
align-items: center;
|
|
67
77
|
justify-content: center;
|
|
@@ -70,14 +80,13 @@ const IconWrapper$1 = styled__default["default"].div`
|
|
|
70
80
|
const InputCommit = styled__default["default"].input`
|
|
71
81
|
font-family: "Poppins", sans-serif;
|
|
72
82
|
border: ${props => `0px solid ${props.disabled ? props.disabled_border_color : props.hover_border_color}`};
|
|
73
|
-
border-radius: 8px;
|
|
74
83
|
font-weight: 400;
|
|
75
84
|
font-size: 14px;
|
|
76
85
|
width: ${props => props.width};
|
|
77
86
|
height: ${props => props.height};
|
|
78
87
|
color: ${props => props.disabled ? props.disabled_text_color : props.text_color};
|
|
79
88
|
border: ${props => `1px solid ${props.disabled ? props.disabled_border_color : props.border_color}`};
|
|
80
|
-
border-radius:
|
|
89
|
+
border-radius: ${props => props.borderRadius};
|
|
81
90
|
background-color: ${props => props.disabled ? props.disabled_background_color : props.background_color};
|
|
82
91
|
cursor: pointer;
|
|
83
92
|
padding: ${props => props.padding};
|
|
@@ -97,6 +106,24 @@ const InputCommit = styled__default["default"].input`
|
|
|
97
106
|
}
|
|
98
107
|
`;
|
|
99
108
|
|
|
109
|
+
const DownloadIcon = _ref => {
|
|
110
|
+
let {
|
|
111
|
+
width = '8',
|
|
112
|
+
height = '9',
|
|
113
|
+
color = '#212121'
|
|
114
|
+
} = _ref;
|
|
115
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
116
|
+
width: width,
|
|
117
|
+
height: height,
|
|
118
|
+
viewBox: "0 0 20 20",
|
|
119
|
+
fill: "none",
|
|
120
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
121
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
122
|
+
d: "M9.57031 14.8438L3.94531 9.84375C3.67188 9.64844 3.67188 9.21875 3.90625 8.98438C4.10156 8.71094 4.53125 8.71094 4.76562 8.90625L9.375 13.0078V0.625C9.375 0.3125 9.64844 0 10 0C10.3125 0 10.625 0.3125 10.625 0.625V13.0078L15.1953 8.94531C15.4297 8.71094 15.8594 8.71094 16.0547 8.98438C16.2891 9.21875 16.2891 9.64844 16.0156 9.84375L10.3906 14.8438C10.2734 14.9609 10.1172 15 10 15C9.84375 15 9.6875 14.9609 9.57031 14.8438ZM17.5 12.5C18.8672 12.5 20 13.6328 20 15V17.5C20 18.9062 18.8672 20 17.5 20H2.5C1.09375 20 0 18.9062 0 17.5V15C0 13.6328 1.09375 12.5 2.5 12.5H4.375C4.6875 12.5 5 12.8125 5 13.125C5 13.4766 4.6875 13.75 4.375 13.75H2.5C1.79688 13.75 1.25 14.3359 1.25 15V17.5C1.25 18.2031 1.79688 18.75 2.5 18.75H17.5C18.1641 18.75 18.75 18.2031 18.75 17.5V15C18.75 14.3359 18.1641 13.75 17.5 13.75H15.625C15.2734 13.75 15 13.4766 15 13.125C15 12.8125 15.2734 12.5 15.625 12.5H17.5ZM17.1875 16.25C17.1875 16.7969 16.7578 17.1875 16.25 17.1875C15.7031 17.1875 15.3125 16.7969 15.3125 16.25C15.3125 15.7422 15.7031 15.3125 16.25 15.3125C16.7578 15.3125 17.1875 15.7422 17.1875 16.25Z",
|
|
123
|
+
fill: color
|
|
124
|
+
}));
|
|
125
|
+
};
|
|
126
|
+
|
|
100
127
|
const FilterIcon = _ref => {
|
|
101
128
|
let {
|
|
102
129
|
width = '17',
|
|
@@ -142,24 +169,6 @@ const OptionsIcon = _ref => {
|
|
|
142
169
|
}));
|
|
143
170
|
};
|
|
144
171
|
|
|
145
|
-
const DownloadIcon = _ref => {
|
|
146
|
-
let {
|
|
147
|
-
width = '8',
|
|
148
|
-
height = '9',
|
|
149
|
-
color = '#212121'
|
|
150
|
-
} = _ref;
|
|
151
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
152
|
-
width: width,
|
|
153
|
-
height: height,
|
|
154
|
-
viewBox: "0 0 20 20",
|
|
155
|
-
fill: "none",
|
|
156
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
157
|
-
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
158
|
-
d: "M9.57031 14.8438L3.94531 9.84375C3.67188 9.64844 3.67188 9.21875 3.90625 8.98438C4.10156 8.71094 4.53125 8.71094 4.76562 8.90625L9.375 13.0078V0.625C9.375 0.3125 9.64844 0 10 0C10.3125 0 10.625 0.3125 10.625 0.625V13.0078L15.1953 8.94531C15.4297 8.71094 15.8594 8.71094 16.0547 8.98438C16.2891 9.21875 16.2891 9.64844 16.0156 9.84375L10.3906 14.8438C10.2734 14.9609 10.1172 15 10 15C9.84375 15 9.6875 14.9609 9.57031 14.8438ZM17.5 12.5C18.8672 12.5 20 13.6328 20 15V17.5C20 18.9062 18.8672 20 17.5 20H2.5C1.09375 20 0 18.9062 0 17.5V15C0 13.6328 1.09375 12.5 2.5 12.5H4.375C4.6875 12.5 5 12.8125 5 13.125C5 13.4766 4.6875 13.75 4.375 13.75H2.5C1.79688 13.75 1.25 14.3359 1.25 15V17.5C1.25 18.2031 1.79688 18.75 2.5 18.75H17.5C18.1641 18.75 18.75 18.2031 18.75 17.5V15C18.75 14.3359 18.1641 13.75 17.5 13.75H15.625C15.2734 13.75 15 13.4766 15 13.125C15 12.8125 15.2734 12.5 15.625 12.5H17.5ZM17.1875 16.25C17.1875 16.7969 16.7578 17.1875 16.25 17.1875C15.7031 17.1875 15.3125 16.7969 15.3125 16.25C15.3125 15.7422 15.7031 15.3125 16.25 15.3125C16.7578 15.3125 17.1875 15.7422 17.1875 16.25Z",
|
|
159
|
-
fill: color
|
|
160
|
-
}));
|
|
161
|
-
};
|
|
162
|
-
|
|
163
172
|
const DocumentIcon = _ref => {
|
|
164
173
|
let {
|
|
165
174
|
width = '19',
|
|
@@ -292,40 +301,169 @@ const EyeIcon = _ref => {
|
|
|
292
301
|
}));
|
|
293
302
|
};
|
|
294
303
|
|
|
295
|
-
const ButtonArrowRight =
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
fill: "white"
|
|
310
|
-
})));
|
|
311
|
-
};
|
|
304
|
+
const ButtonArrowRight = ({
|
|
305
|
+
width = '16',
|
|
306
|
+
height = '17'
|
|
307
|
+
}) => /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
308
|
+
width: width,
|
|
309
|
+
height: height,
|
|
310
|
+
viewBox: "0 0 16 17",
|
|
311
|
+
fill: "none",
|
|
312
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
313
|
+
}, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
314
|
+
id: "icon",
|
|
315
|
+
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",
|
|
316
|
+
fill: "white"
|
|
317
|
+
})));
|
|
312
318
|
|
|
313
|
-
const ReselectIcon =
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
319
|
+
const ReselectIcon = ({
|
|
320
|
+
width = '16',
|
|
321
|
+
height = '16',
|
|
322
|
+
color = '#212121'
|
|
323
|
+
}) => /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
324
|
+
width: width,
|
|
325
|
+
height: height,
|
|
326
|
+
viewBox: "0 0 16 16",
|
|
327
|
+
fill: "none",
|
|
328
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
329
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
330
|
+
d: "M4.21875 15.5312L1.21875 12.5312C0.90625 12.25 0.90625 11.7812 1.21875 11.4688L4.21875 8.5C4.5 8.1875 4.96875 8.1875 5.25 8.5C5.5625 8.78125 5.5625 9.25 5.25 9.53125L3.53125 11.25H14.25C14.6562 11.25 15 11.5938 15 12C15 12.4375 14.6562 12.75 14.25 12.75L3.53125 12.7812L5.25 14.5C5.5625 14.7812 5.5625 15.25 5.25 15.5312C4.96875 15.8438 4.5 15.8438 4.21875 15.5312ZM14.7812 4.53125L11.7812 7.53125C11.4688 7.84375 11 7.84375 10.7188 7.53125C10.4062 7.25 10.4062 6.78125 10.7188 6.46875L12.4375 4.75H1.75C1.3125 4.75 1 4.4375 1 4C1 3.59375 1.3125 3.25 1.75 3.25H12.4375L10.7188 1.53125C10.4062 1.25 10.4062 0.78125 10.7188 0.46875C11 0.1875 11.4688 0.1875 11.7812 0.46875L14.7812 3.5C15.0625 3.78125 15.0625 4.25 14.7812 4.53125Z",
|
|
331
|
+
fill: color
|
|
332
|
+
}));
|
|
333
|
+
|
|
334
|
+
const SearchIcon = ({
|
|
335
|
+
width = '13',
|
|
336
|
+
height = '13',
|
|
337
|
+
color = '#212121'
|
|
338
|
+
}) => /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
339
|
+
width: width,
|
|
340
|
+
height: height,
|
|
341
|
+
viewBox: "0 0 13 13",
|
|
342
|
+
fill: "none",
|
|
343
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
344
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
345
|
+
d: "M8.625 4.875C8.625 3.53906 7.89844 2.32031 6.75 1.64062C5.57812 0.960938 4.14844 0.960938 3 1.64062C1.82812 2.32031 1.125 3.53906 1.125 4.875C1.125 6.23438 1.82812 7.45312 3 8.13281C4.14844 8.8125 5.57812 8.8125 6.75 8.13281C7.89844 7.45312 8.625 6.23438 8.625 4.875ZM7.89844 8.71875C7.05469 9.375 6 9.75 4.875 9.75C2.17969 9.75 0 7.57031 0 4.875C0 2.20312 2.17969 0 4.875 0C7.54688 0 9.75 2.20312 9.75 4.875C9.75 6.02344 9.35156 7.07812 8.69531 7.92188L11.8359 11.0391C12.0469 11.2734 12.0469 11.625 11.8359 11.8359C11.6016 12.0703 11.25 12.0703 11.0391 11.8359L7.89844 8.71875Z",
|
|
346
|
+
fill: color
|
|
347
|
+
}));
|
|
348
|
+
|
|
349
|
+
const PlusIcon = ({
|
|
350
|
+
width = '17',
|
|
351
|
+
height = '17',
|
|
352
|
+
color = '#212121'
|
|
353
|
+
}) => /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
354
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
355
|
+
width: "16",
|
|
356
|
+
height: "17",
|
|
357
|
+
viewBox: "0 0 16 17",
|
|
358
|
+
fill: "none"
|
|
359
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
360
|
+
d: "M8.71875 2.28125V7.90625H14.3438C14.8008 7.90625 15.1875 8.29297 15.1875 8.75C15.1875 9.24219 14.8008 9.59375 14.3438 9.59375H8.71875V15.2188C8.71875 15.7109 8.33203 16.0625 7.875 16.0625C7.38281 16.0625 7.03125 15.7109 7.03125 15.2188V9.59375H1.40625C0.914062 9.59375 0.5625 9.24219 0.5625 8.75C0.5625 8.29297 0.914062 7.90625 1.40625 7.90625H7.03125V2.28125C7.03125 1.82422 7.38281 1.4375 7.875 1.4375C8.33203 1.4375 8.71875 1.82422 8.71875 2.28125Z",
|
|
361
|
+
fill: "#066768"
|
|
362
|
+
}));
|
|
363
|
+
|
|
364
|
+
const Plus = ({
|
|
365
|
+
width = 17,
|
|
366
|
+
height = 17,
|
|
367
|
+
fill = 'white'
|
|
368
|
+
}) => /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
369
|
+
width: width,
|
|
370
|
+
height: height,
|
|
371
|
+
viewBox: "0 0 17 17",
|
|
372
|
+
fill: "none",
|
|
373
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
374
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
375
|
+
d: "M9.34619 2.03369V7.65869H14.9712C15.4282 7.65869 15.8149 8.04541 15.8149 8.50244C15.8149 8.99463 15.4282 9.34619 14.9712 9.34619H9.34619V14.9712C9.34619 15.4634 8.95947 15.8149 8.50244 15.8149C8.01025 15.8149 7.65869 15.4634 7.65869 14.9712V9.34619H2.03369C1.5415 9.34619 1.18994 8.99463 1.18994 8.50244C1.18994 8.04541 1.5415 7.65869 2.03369 7.65869H7.65869V2.03369C7.65869 1.57666 8.01025 1.18994 8.50244 1.18994C8.95947 1.18994 9.34619 1.57666 9.34619 2.03369Z",
|
|
376
|
+
fill: fill
|
|
377
|
+
}));
|
|
378
|
+
|
|
379
|
+
const Button$1 = props => {
|
|
380
|
+
const {
|
|
381
|
+
text = "",
|
|
382
|
+
type = "primary",
|
|
383
|
+
size = "small",
|
|
384
|
+
height = "",
|
|
385
|
+
width = "",
|
|
386
|
+
disabled = false,
|
|
387
|
+
textColor = "",
|
|
388
|
+
backgroundColor = "",
|
|
389
|
+
borderColor = "",
|
|
390
|
+
borderRadius = "12px",
|
|
391
|
+
hoverTextColor = "",
|
|
392
|
+
hoverBackgroundColor = "",
|
|
393
|
+
hoverBorderColor = "",
|
|
394
|
+
disabledTextColor = "",
|
|
395
|
+
disabledBackgroundColor = "",
|
|
396
|
+
disabledBorderColor = "",
|
|
397
|
+
onClick = () => {},
|
|
398
|
+
leftIcon = null,
|
|
399
|
+
rightIcon = null,
|
|
400
|
+
isSubmitButton = false
|
|
401
|
+
} = props;
|
|
402
|
+
const [clicked, setClicked] = React$1.useState(false);
|
|
403
|
+
const [hover, setHover] = React$1.useState(false);
|
|
404
|
+
const handleClick = event => {
|
|
405
|
+
setClicked(prev => !prev);
|
|
406
|
+
onClick(event);
|
|
407
|
+
setTimeout(() => setClicked(prev => !prev), 300);
|
|
408
|
+
};
|
|
409
|
+
const iconMap = {
|
|
410
|
+
arrow: ButtonArrowRight,
|
|
411
|
+
filter: FilterIcon,
|
|
412
|
+
options: OptionsIcon,
|
|
413
|
+
download: DownloadIcon,
|
|
414
|
+
document: DocumentIcon,
|
|
415
|
+
fly: FlyIcon,
|
|
416
|
+
bell: BellIcon,
|
|
417
|
+
maintenance: MaintenanceIcon,
|
|
418
|
+
exit: ExitIcon,
|
|
419
|
+
eye: EyeIcon,
|
|
420
|
+
reselect: ReselectIcon,
|
|
421
|
+
plus: Plus
|
|
422
|
+
};
|
|
423
|
+
const getIcon = icon => {
|
|
424
|
+
if (!icon || icon === "none") return null;
|
|
425
|
+
const IconComponent = iconMap[icon.toLowerCase()];
|
|
426
|
+
const iconProps = {
|
|
427
|
+
height: "16px",
|
|
428
|
+
width: "16px",
|
|
429
|
+
color: disabled ? disabledTextColor || "#B1B1B1" : hover ? hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff") : textColor || (type === "secondary" ? "#212121" : "#ffffff")
|
|
430
|
+
};
|
|
431
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$3, null, /*#__PURE__*/React__default["default"].createElement(IconComponent, iconProps));
|
|
432
|
+
};
|
|
433
|
+
const commonProps = {
|
|
434
|
+
width: width || null,
|
|
435
|
+
height: height || (size === "small" ? "33px" : "45px"),
|
|
436
|
+
disabled,
|
|
437
|
+
text_color: textColor || (type === "secondary" ? "#212121" : "#ffffff"),
|
|
438
|
+
background_color: backgroundColor || (type === "secondary" ? "#ffffff" : "#229E38"),
|
|
439
|
+
border_color: borderColor || (type === "secondary" ? "#B1B1B1" : "#229E38"),
|
|
440
|
+
hover_text_color: hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff"),
|
|
441
|
+
hover_background_color: hoverBackgroundColor || (type === "secondary" ? "#E8F5EB" : "#92CF17"),
|
|
442
|
+
hover_border_color: hoverBorderColor || (type === "secondary" ? "#229E38" : "#92CF17"),
|
|
443
|
+
disabled_text_color: disabledTextColor || "#B1B1B1",
|
|
444
|
+
disabled_background_color: disabledBackgroundColor || (type === "secondary" ? "#ffffff" : "#E3E4E5"),
|
|
445
|
+
disabled_border_color: disabledBorderColor || "#E3E4E5",
|
|
446
|
+
padding: size === "small" ? "0 16px" : "0 20px",
|
|
447
|
+
onClick: !disabled ? handleClick : null
|
|
448
|
+
};
|
|
449
|
+
return /*#__PURE__*/React__default["default"].createElement(ButtonContainer$1, {
|
|
450
|
+
className: "ButtonContainer",
|
|
451
|
+
width: commonProps.width,
|
|
452
|
+
height: commonProps.height
|
|
453
|
+
}, isSubmitButton ? /*#__PURE__*/React__default["default"].createElement(InputCommit, _extends$1({
|
|
454
|
+
className: clicked ? "InputCommit-clicked" : "InputCommit",
|
|
455
|
+
value: text,
|
|
456
|
+
type: "submit",
|
|
457
|
+
borderRadius: borderRadius
|
|
458
|
+
}, commonProps)) : /*#__PURE__*/React__default["default"].createElement(ButtonItem, _extends$1({
|
|
459
|
+
className: clicked ? "ButtonItem-clicked" : "ButtonItem",
|
|
460
|
+
onMouseEnter: () => setHover(true),
|
|
461
|
+
onMouseLeave: () => setHover(false),
|
|
462
|
+
borderRadius: borderRadius
|
|
463
|
+
}, commonProps), getIcon(leftIcon), /*#__PURE__*/React__default["default"].createElement(Label$8, {
|
|
464
|
+
className: "Label",
|
|
465
|
+
disabled: disabled
|
|
466
|
+
}, text), getIcon(rightIcon)));
|
|
329
467
|
};
|
|
330
468
|
|
|
331
469
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -1481,199 +1619,6 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1481
1619
|
var propTypesExports = propTypes.exports;
|
|
1482
1620
|
var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
|
|
1483
1621
|
|
|
1484
|
-
const Button = _ref => {
|
|
1485
|
-
let {
|
|
1486
|
-
text = '',
|
|
1487
|
-
type = 'primary',
|
|
1488
|
-
size = 'small',
|
|
1489
|
-
height = '',
|
|
1490
|
-
width = '',
|
|
1491
|
-
disabled = false,
|
|
1492
|
-
textColor = '',
|
|
1493
|
-
backgroundColor = '',
|
|
1494
|
-
borderColor = '',
|
|
1495
|
-
hoverTextColor = '',
|
|
1496
|
-
hoverBackgroundColor = '',
|
|
1497
|
-
hoverBorderColor = '',
|
|
1498
|
-
disabledTextColor = '',
|
|
1499
|
-
disabledBackgroundColor = '',
|
|
1500
|
-
disabledBorderColor = '',
|
|
1501
|
-
onClick = () => {},
|
|
1502
|
-
leftIcon = 'none',
|
|
1503
|
-
rightIcon = 'none',
|
|
1504
|
-
isSubmitButton = false
|
|
1505
|
-
} = _ref;
|
|
1506
|
-
const [clicked, setClicked] = React$1.useState(false);
|
|
1507
|
-
const [hover, setHover] = React$1.useState(false);
|
|
1508
|
-
const handleSubmitButtonOnClick = () => {
|
|
1509
|
-
setClicked(true);
|
|
1510
|
-
onClick(`SubmitButtonOnClick: ${text}`);
|
|
1511
|
-
setTimeout(() => {
|
|
1512
|
-
setClicked(false);
|
|
1513
|
-
}, 300);
|
|
1514
|
-
};
|
|
1515
|
-
const handleButtonClick = event => {
|
|
1516
|
-
setClicked(true);
|
|
1517
|
-
onClick(event);
|
|
1518
|
-
setTimeout(() => {
|
|
1519
|
-
setClicked(false);
|
|
1520
|
-
}, 300);
|
|
1521
|
-
};
|
|
1522
|
-
const getIcon = icon => {
|
|
1523
|
-
const iconHeight = '16px';
|
|
1524
|
-
const iconWidth = '16px';
|
|
1525
|
-
const newTextColor = textColor || (type === 'secondary' ? '#212121' : '#ffffff');
|
|
1526
|
-
const newHoverTextColor = hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff');
|
|
1527
|
-
const newDisabledTextColor = disabledTextColor || '#B1B1B1';
|
|
1528
|
-
const newEnabledTextColor = hover ? newHoverTextColor : newTextColor;
|
|
1529
|
-
const color = disabled ? newDisabledTextColor : newEnabledTextColor;
|
|
1530
|
-
switch (icon.toLowerCase()) {
|
|
1531
|
-
case 'arrow':
|
|
1532
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1533
|
-
className: "ArrowRightIcon"
|
|
1534
|
-
}, /*#__PURE__*/React__default["default"].createElement(ButtonArrowRight, {
|
|
1535
|
-
height: iconHeight,
|
|
1536
|
-
width: iconWidth,
|
|
1537
|
-
color: color
|
|
1538
|
-
}));
|
|
1539
|
-
case 'filter':
|
|
1540
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1541
|
-
className: "FilterIcon"
|
|
1542
|
-
}, /*#__PURE__*/React__default["default"].createElement(FilterIcon, {
|
|
1543
|
-
height: "150px",
|
|
1544
|
-
width: iconWidth,
|
|
1545
|
-
color: color
|
|
1546
|
-
}));
|
|
1547
|
-
case 'options':
|
|
1548
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1549
|
-
className: "OptionsIcon"
|
|
1550
|
-
}, /*#__PURE__*/React__default["default"].createElement(OptionsIcon, {
|
|
1551
|
-
height: iconHeight,
|
|
1552
|
-
width: iconWidth,
|
|
1553
|
-
color: color
|
|
1554
|
-
}));
|
|
1555
|
-
case 'download':
|
|
1556
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1557
|
-
className: "DownloadIcon"
|
|
1558
|
-
}, /*#__PURE__*/React__default["default"].createElement(DownloadIcon, {
|
|
1559
|
-
height: iconHeight,
|
|
1560
|
-
width: iconWidth,
|
|
1561
|
-
color: color
|
|
1562
|
-
}));
|
|
1563
|
-
case 'document':
|
|
1564
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1565
|
-
className: "DocumentIcon"
|
|
1566
|
-
}, /*#__PURE__*/React__default["default"].createElement(DocumentIcon, {
|
|
1567
|
-
height: iconHeight,
|
|
1568
|
-
width: iconWidth,
|
|
1569
|
-
color: color
|
|
1570
|
-
}));
|
|
1571
|
-
case 'fly':
|
|
1572
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1573
|
-
className: "FlyIcon"
|
|
1574
|
-
}, /*#__PURE__*/React__default["default"].createElement(FlyIcon, {
|
|
1575
|
-
height: iconHeight,
|
|
1576
|
-
width: iconWidth,
|
|
1577
|
-
color: color
|
|
1578
|
-
}));
|
|
1579
|
-
case 'bell':
|
|
1580
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1581
|
-
className: "BellIcon"
|
|
1582
|
-
}, /*#__PURE__*/React__default["default"].createElement(BellIcon, {
|
|
1583
|
-
height: iconHeight,
|
|
1584
|
-
width: iconWidth,
|
|
1585
|
-
color: color
|
|
1586
|
-
}));
|
|
1587
|
-
case 'maintenance':
|
|
1588
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1589
|
-
className: "MaintenanceIcon"
|
|
1590
|
-
}, /*#__PURE__*/React__default["default"].createElement(MaintenanceIcon, {
|
|
1591
|
-
height: iconHeight,
|
|
1592
|
-
width: iconWidth,
|
|
1593
|
-
color: color
|
|
1594
|
-
}));
|
|
1595
|
-
case 'exit':
|
|
1596
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1597
|
-
className: "ExitIcon"
|
|
1598
|
-
}, /*#__PURE__*/React__default["default"].createElement(ExitIcon, {
|
|
1599
|
-
height: iconHeight,
|
|
1600
|
-
width: iconWidth,
|
|
1601
|
-
color: color
|
|
1602
|
-
}));
|
|
1603
|
-
case 'eye':
|
|
1604
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1605
|
-
className: "EyeIcon"
|
|
1606
|
-
}, /*#__PURE__*/React__default["default"].createElement(EyeIcon, {
|
|
1607
|
-
height: iconHeight,
|
|
1608
|
-
width: iconWidth,
|
|
1609
|
-
color: color
|
|
1610
|
-
}));
|
|
1611
|
-
case 'reselect':
|
|
1612
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
1613
|
-
className: "ReselectIcon"
|
|
1614
|
-
}, /*#__PURE__*/React__default["default"].createElement(ReselectIcon, {
|
|
1615
|
-
height: iconHeight,
|
|
1616
|
-
width: iconWidth,
|
|
1617
|
-
color: color
|
|
1618
|
-
}));
|
|
1619
|
-
default:
|
|
1620
|
-
return '';
|
|
1621
|
-
}
|
|
1622
|
-
};
|
|
1623
|
-
const getLeftIcon = () => {
|
|
1624
|
-
if (!leftIcon || leftIcon === 'none') return '';
|
|
1625
|
-
return getIcon(leftIcon);
|
|
1626
|
-
};
|
|
1627
|
-
const getRightIcon = () => {
|
|
1628
|
-
if (!rightIcon || rightIcon === 'none') return '';
|
|
1629
|
-
return getIcon(rightIcon);
|
|
1630
|
-
};
|
|
1631
|
-
return /*#__PURE__*/React__default["default"].createElement(ButtonContainer$1, {
|
|
1632
|
-
className: "ButtonContainer",
|
|
1633
|
-
width: width || null,
|
|
1634
|
-
height: height || (size === 'small' ? '33px' : '45px')
|
|
1635
|
-
}, isSubmitButton ? /*#__PURE__*/React__default["default"].createElement(InputCommit, {
|
|
1636
|
-
className: clicked ? 'InputCommit-clicked' : 'InputCommit',
|
|
1637
|
-
value: text,
|
|
1638
|
-
type: "submit",
|
|
1639
|
-
width: width || null,
|
|
1640
|
-
height: height || (size === 'small' ? '33px' : '45px'),
|
|
1641
|
-
disabled: disabled,
|
|
1642
|
-
text_color: textColor || (type === 'secondary' ? '#212121' : '#ffffff'),
|
|
1643
|
-
background_color: backgroundColor || (type === 'secondary' ? '#ffffff' : '#229E38'),
|
|
1644
|
-
border_color: borderColor || (type === 'secondary' ? '#B1B1B1' : '#229E38'),
|
|
1645
|
-
hover_text_color: hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff'),
|
|
1646
|
-
hover_background_color: hoverBackgroundColor || (type === 'secondary' ? '#E8F5EB' : '#92CF17'),
|
|
1647
|
-
hover_border_color: hoverBorderColor || (type === 'secondary' ? '#229E38' : '#92CF17'),
|
|
1648
|
-
disabled_text_color: disabledTextColor || '#B1B1B1',
|
|
1649
|
-
disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
|
|
1650
|
-
disabled_border_color: disabledBorderColor || '#E3E4E5',
|
|
1651
|
-
padding: size === 'small' ? '0 16px' : '0 20px',
|
|
1652
|
-
onClick: !disabled ? handleSubmitButtonOnClick : null
|
|
1653
|
-
}) : /*#__PURE__*/React__default["default"].createElement(ButtonItem, {
|
|
1654
|
-
className: clicked ? 'ButtonItem-clicked' : 'ButtonItem',
|
|
1655
|
-
onMouseEnter: () => setHover(true),
|
|
1656
|
-
onMouseLeave: () => setHover(false),
|
|
1657
|
-
onClick: event => !disabled ? handleButtonClick(event) : null,
|
|
1658
|
-
width: width || null,
|
|
1659
|
-
height: height || (size === 'small' ? '33px' : '45px'),
|
|
1660
|
-
disabled: disabled,
|
|
1661
|
-
text_color: textColor || (type === 'secondary' ? '#212121' : '#ffffff'),
|
|
1662
|
-
background_color: backgroundColor || (type === 'secondary' ? '#ffffff' : '#229E38'),
|
|
1663
|
-
border_color: borderColor || (type === 'secondary' ? '#B1B1B1' : '#229E38'),
|
|
1664
|
-
hover_text_color: hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff'),
|
|
1665
|
-
hover_background_color: hoverBackgroundColor || (type === 'secondary' ? '#E8F5EB' : '#92CF17'),
|
|
1666
|
-
hover_border_color: hoverBorderColor || (type === 'secondary' ? '#229E38' : '#92CF17'),
|
|
1667
|
-
disabled_text_color: disabledTextColor || '#B1B1B1',
|
|
1668
|
-
disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
|
|
1669
|
-
disabled_border_color: disabledBorderColor || '#E3E4E5',
|
|
1670
|
-
padding: size === 'small' ? '0 16px' : '0 20px'
|
|
1671
|
-
}, getLeftIcon(), /*#__PURE__*/React__default["default"].createElement(Label$7, {
|
|
1672
|
-
className: "Label",
|
|
1673
|
-
disabled: disabled
|
|
1674
|
-
}, text), getRightIcon()));
|
|
1675
|
-
};
|
|
1676
|
-
|
|
1677
1622
|
/* eslint-disable no-restricted-globals */
|
|
1678
1623
|
/* eslint-disable no-shadow */
|
|
1679
1624
|
const getCurrencySign = (currencyTypeToConvert, value) => {
|
|
@@ -1949,7 +1894,7 @@ const TitleAndValueContainer$4 = styled__default["default"].div`
|
|
|
1949
1894
|
flex-direction: column;
|
|
1950
1895
|
padding: 0 20px;
|
|
1951
1896
|
`;
|
|
1952
|
-
const Title$
|
|
1897
|
+
const Title$k = styled__default["default"].h4`
|
|
1953
1898
|
font-weight: 400;
|
|
1954
1899
|
font-size: 18px;
|
|
1955
1900
|
margin: 0 0 8px;
|
|
@@ -2425,7 +2370,7 @@ const PieChart = props => {
|
|
|
2425
2370
|
width: width
|
|
2426
2371
|
}, !hideTitleAndValue && /*#__PURE__*/React__default["default"].createElement(TitleAndValueContainer$4, {
|
|
2427
2372
|
className: "TitleAndValueContainer"
|
|
2428
|
-
}, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
2373
|
+
}, /*#__PURE__*/React__default["default"].createElement(Title$k, {
|
|
2429
2374
|
className: "Title"
|
|
2430
2375
|
}, title), /*#__PURE__*/React__default["default"].createElement(CurrencySignAndFormattedValueContainer$2, {
|
|
2431
2376
|
className: "CurrencySignAndFormattedValueContainer"
|
|
@@ -2505,7 +2450,7 @@ PieChart.defaultProps = {
|
|
|
2505
2450
|
noDataText: 'No Data'
|
|
2506
2451
|
};
|
|
2507
2452
|
|
|
2508
|
-
const MainContainer$
|
|
2453
|
+
const MainContainer$8 = styled__default["default"].div`
|
|
2509
2454
|
position: relative;
|
|
2510
2455
|
font-family: "Poppins", sans-serif;
|
|
2511
2456
|
background-color: white;
|
|
@@ -2712,7 +2657,7 @@ const HannafordNewIcon = _ref => {
|
|
|
2712
2657
|
})));
|
|
2713
2658
|
};
|
|
2714
2659
|
|
|
2715
|
-
const MainContainer$
|
|
2660
|
+
const MainContainer$7 = styled__default["default"].div`
|
|
2716
2661
|
position: relative;
|
|
2717
2662
|
font-family: "Poppins", sans-serif;
|
|
2718
2663
|
background-color: white;
|
|
@@ -2886,7 +2831,7 @@ const BannersDropdown = props => {
|
|
|
2886
2831
|
setBannerButtonArrow('#757575');
|
|
2887
2832
|
}
|
|
2888
2833
|
}, [processedBanners]);
|
|
2889
|
-
return /*#__PURE__*/React.createElement(MainContainer$
|
|
2834
|
+
return /*#__PURE__*/React.createElement(MainContainer$7, null, /*#__PURE__*/React.createElement(ToggleBannersWrapper, null, /*#__PURE__*/React.createElement(ToggleBanners, {
|
|
2890
2835
|
className: bannerButtonText === 'Partial' ? 'partial' : '',
|
|
2891
2836
|
onClick: () => setToggled(!toggled)
|
|
2892
2837
|
}, /*#__PURE__*/React.createElement("span", null, bannerButtonText), /*#__PURE__*/React.createElement(ArrowWrap, {
|
|
@@ -2962,11 +2907,11 @@ const LinkButtonItem = styled__default["default"].div`
|
|
|
2962
2907
|
transition: background-color 0.3s, color 0.3s;
|
|
2963
2908
|
}
|
|
2964
2909
|
`;
|
|
2965
|
-
const Label$
|
|
2910
|
+
const Label$7 = styled__default["default"].label`
|
|
2966
2911
|
user-select: none;
|
|
2967
2912
|
pointer-events: none;
|
|
2968
2913
|
`;
|
|
2969
|
-
const IconWrapper = styled__default["default"].div`
|
|
2914
|
+
const IconWrapper$2 = styled__default["default"].div`
|
|
2970
2915
|
display: flex;
|
|
2971
2916
|
align-items: center;
|
|
2972
2917
|
justify-content: center;
|
|
@@ -3090,15 +3035,23 @@ const LinkButton = _ref => {
|
|
|
3090
3035
|
const color = disabled ? '#B1B1B1' : newTextColor;
|
|
3091
3036
|
switch (icon.toLowerCase()) {
|
|
3092
3037
|
case 'filter':
|
|
3093
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3038
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3094
3039
|
className: "FilterIcon"
|
|
3095
3040
|
}, /*#__PURE__*/React__default["default"].createElement(FilterIcon, {
|
|
3096
3041
|
height: iconHeight,
|
|
3097
3042
|
width: iconWidth,
|
|
3098
3043
|
color: color
|
|
3099
3044
|
}));
|
|
3045
|
+
case 'plus':
|
|
3046
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3047
|
+
className: "PlusIcon"
|
|
3048
|
+
}, /*#__PURE__*/React__default["default"].createElement(PlusIcon, {
|
|
3049
|
+
height: iconHeight,
|
|
3050
|
+
width: iconWidth,
|
|
3051
|
+
color: color
|
|
3052
|
+
}));
|
|
3100
3053
|
case 'options':
|
|
3101
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3054
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3102
3055
|
className: "OptionsIcon"
|
|
3103
3056
|
}, /*#__PURE__*/React__default["default"].createElement(OptionsIcon, {
|
|
3104
3057
|
height: iconHeight,
|
|
@@ -3106,7 +3059,7 @@ const LinkButton = _ref => {
|
|
|
3106
3059
|
color: color
|
|
3107
3060
|
}));
|
|
3108
3061
|
case 'download':
|
|
3109
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3062
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3110
3063
|
className: "DownloadIcon"
|
|
3111
3064
|
}, /*#__PURE__*/React__default["default"].createElement(DownloadIcon, {
|
|
3112
3065
|
height: iconHeight,
|
|
@@ -3114,7 +3067,7 @@ const LinkButton = _ref => {
|
|
|
3114
3067
|
color: color
|
|
3115
3068
|
}));
|
|
3116
3069
|
case 'document':
|
|
3117
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3070
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3118
3071
|
className: "DocumentIcon"
|
|
3119
3072
|
}, /*#__PURE__*/React__default["default"].createElement(DocumentIcon, {
|
|
3120
3073
|
height: iconHeight,
|
|
@@ -3122,7 +3075,7 @@ const LinkButton = _ref => {
|
|
|
3122
3075
|
color: color
|
|
3123
3076
|
}));
|
|
3124
3077
|
case 'fly':
|
|
3125
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3078
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3126
3079
|
className: "FlyIcon"
|
|
3127
3080
|
}, /*#__PURE__*/React__default["default"].createElement(FlyIcon, {
|
|
3128
3081
|
height: iconHeight,
|
|
@@ -3130,7 +3083,7 @@ const LinkButton = _ref => {
|
|
|
3130
3083
|
color: color
|
|
3131
3084
|
}));
|
|
3132
3085
|
case 'bell':
|
|
3133
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3086
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3134
3087
|
className: "BellIcon"
|
|
3135
3088
|
}, /*#__PURE__*/React__default["default"].createElement(BellIcon, {
|
|
3136
3089
|
height: iconHeight,
|
|
@@ -3138,7 +3091,7 @@ const LinkButton = _ref => {
|
|
|
3138
3091
|
color: color
|
|
3139
3092
|
}));
|
|
3140
3093
|
case 'maintenance':
|
|
3141
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3094
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3142
3095
|
className: "MaintenanceIcon"
|
|
3143
3096
|
}, /*#__PURE__*/React__default["default"].createElement(MaintenanceIcon, {
|
|
3144
3097
|
height: iconHeight,
|
|
@@ -3146,7 +3099,7 @@ const LinkButton = _ref => {
|
|
|
3146
3099
|
color: color
|
|
3147
3100
|
}));
|
|
3148
3101
|
case 'exit':
|
|
3149
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3102
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3150
3103
|
className: "ExitIcon"
|
|
3151
3104
|
}, /*#__PURE__*/React__default["default"].createElement(ExitIcon, {
|
|
3152
3105
|
height: iconHeight,
|
|
@@ -3154,7 +3107,7 @@ const LinkButton = _ref => {
|
|
|
3154
3107
|
color: color
|
|
3155
3108
|
}));
|
|
3156
3109
|
case 'eye':
|
|
3157
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3110
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3158
3111
|
className: "EyeIcon"
|
|
3159
3112
|
}, /*#__PURE__*/React__default["default"].createElement(EyeIcon, {
|
|
3160
3113
|
height: iconHeight,
|
|
@@ -3162,7 +3115,7 @@ const LinkButton = _ref => {
|
|
|
3162
3115
|
color: color
|
|
3163
3116
|
}));
|
|
3164
3117
|
case 'arrowdown':
|
|
3165
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3118
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3166
3119
|
className: "ArrowDownIcon"
|
|
3167
3120
|
}, /*#__PURE__*/React__default["default"].createElement(MenuItemOpenIcon, {
|
|
3168
3121
|
height: iconHeight,
|
|
@@ -3170,7 +3123,7 @@ const LinkButton = _ref => {
|
|
|
3170
3123
|
color: color
|
|
3171
3124
|
}));
|
|
3172
3125
|
case 'arrowright':
|
|
3173
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3126
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3174
3127
|
className: "ArrowRightIcon"
|
|
3175
3128
|
}, /*#__PURE__*/React__default["default"].createElement(MenuItemRightIcon, {
|
|
3176
3129
|
height: iconHeight,
|
|
@@ -3178,7 +3131,7 @@ const LinkButton = _ref => {
|
|
|
3178
3131
|
color: color
|
|
3179
3132
|
}));
|
|
3180
3133
|
case 'select':
|
|
3181
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3134
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3182
3135
|
className: "SelectRightIcon"
|
|
3183
3136
|
}, /*#__PURE__*/React__default["default"].createElement(ArrowSelectIcon, {
|
|
3184
3137
|
height: "16px",
|
|
@@ -3186,7 +3139,7 @@ const LinkButton = _ref => {
|
|
|
3186
3139
|
color: color
|
|
3187
3140
|
}));
|
|
3188
3141
|
case 'info':
|
|
3189
|
-
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
3142
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
3190
3143
|
className: "InfoIcon"
|
|
3191
3144
|
}, /*#__PURE__*/React__default["default"].createElement(InfoIcon, {
|
|
3192
3145
|
height: iconHeight,
|
|
@@ -3217,7 +3170,7 @@ const LinkButton = _ref => {
|
|
|
3217
3170
|
disabled: disabled,
|
|
3218
3171
|
text_color: textColor || (type === 'secondary' ? '#212121' : '#229E38'),
|
|
3219
3172
|
font_size: size === 'small' ? '14px' : '16px'
|
|
3220
|
-
}, getLeftIcon(), /*#__PURE__*/React__default["default"].createElement(Label$
|
|
3173
|
+
}, getLeftIcon(), /*#__PURE__*/React__default["default"].createElement(Label$7, {
|
|
3221
3174
|
className: "Label",
|
|
3222
3175
|
disabled: disabled,
|
|
3223
3176
|
font_size: size === 'small' ? '14px' : '16px'
|
|
@@ -3296,7 +3249,7 @@ const EventDetailsCard = props => {
|
|
|
3296
3249
|
const viewButtonClick = e => {
|
|
3297
3250
|
onViewButtonClick(e);
|
|
3298
3251
|
};
|
|
3299
|
-
return /*#__PURE__*/React.createElement(MainContainer$
|
|
3252
|
+
return /*#__PURE__*/React.createElement(MainContainer$8, {
|
|
3300
3253
|
className: className,
|
|
3301
3254
|
height: height,
|
|
3302
3255
|
width: width
|
|
@@ -3374,16 +3327,6 @@ EventDetailsCard.defaultProps = {
|
|
|
3374
3327
|
disableViewDetailsButton: false
|
|
3375
3328
|
};
|
|
3376
3329
|
|
|
3377
|
-
function _extends() {
|
|
3378
|
-
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
3379
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
3380
|
-
var t = arguments[e];
|
|
3381
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
3382
|
-
}
|
|
3383
|
-
return n;
|
|
3384
|
-
}, _extends.apply(null, arguments);
|
|
3385
|
-
}
|
|
3386
|
-
|
|
3387
3330
|
const LinnerContainer$1 = styled__default["default"].div.attrs(props => ({
|
|
3388
3331
|
style: {
|
|
3389
3332
|
backgroundColor: props.$backgroundColor,
|
|
@@ -3457,7 +3400,7 @@ const LinnerDataBox = props => {
|
|
|
3457
3400
|
backgroundColor = "#FFFFFF",
|
|
3458
3401
|
customDataFormat = false
|
|
3459
3402
|
} = props;
|
|
3460
|
-
return /*#__PURE__*/React__default["default"].createElement(LinnerContainer$1, _extends({
|
|
3403
|
+
return /*#__PURE__*/React__default["default"].createElement(LinnerContainer$1, _extends$1({
|
|
3461
3404
|
className: className,
|
|
3462
3405
|
$backgroundColor: backgroundColor || "white",
|
|
3463
3406
|
$width: width || "100%",
|
|
@@ -3512,21 +3455,6 @@ const TextFieldInput = styled__default["default"].input`
|
|
|
3512
3455
|
}
|
|
3513
3456
|
`;
|
|
3514
3457
|
|
|
3515
|
-
const SearchIcon = ({
|
|
3516
|
-
width = '13',
|
|
3517
|
-
height = '13',
|
|
3518
|
-
color = '#212121'
|
|
3519
|
-
}) => /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
3520
|
-
width: width,
|
|
3521
|
-
height: height,
|
|
3522
|
-
viewBox: "0 0 13 13",
|
|
3523
|
-
fill: "none",
|
|
3524
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3525
|
-
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
3526
|
-
d: "M8.625 4.875C8.625 3.53906 7.89844 2.32031 6.75 1.64062C5.57812 0.960938 4.14844 0.960938 3 1.64062C1.82812 2.32031 1.125 3.53906 1.125 4.875C1.125 6.23438 1.82812 7.45312 3 8.13281C4.14844 8.8125 5.57812 8.8125 6.75 8.13281C7.89844 7.45312 8.625 6.23438 8.625 4.875ZM7.89844 8.71875C7.05469 9.375 6 9.75 4.875 9.75C2.17969 9.75 0 7.57031 0 4.875C0 2.20312 2.17969 0 4.875 0C7.54688 0 9.75 2.20312 9.75 4.875C9.75 6.02344 9.35156 7.07812 8.69531 7.92188L11.8359 11.0391C12.0469 11.2734 12.0469 11.625 11.8359 11.8359C11.6016 12.0703 11.25 12.0703 11.0391 11.8359L7.89844 8.71875Z",
|
|
3527
|
-
fill: color
|
|
3528
|
-
}));
|
|
3529
|
-
|
|
3530
3458
|
const SearchInput = props => {
|
|
3531
3459
|
const {
|
|
3532
3460
|
placeholder,
|
|
@@ -3655,7 +3583,7 @@ const Body = styled__default["default"].div`
|
|
|
3655
3583
|
border-radius: ${props => props.setBackground ? '12px' : '0'};
|
|
3656
3584
|
box-shadow: ${props => props.setBackground ? '0px 0px 20px 0px rgba(0, 0, 0, 0.10)' : 'unset'};
|
|
3657
3585
|
`;
|
|
3658
|
-
const Label$
|
|
3586
|
+
const Label$6 = styled__default["default"].div`
|
|
3659
3587
|
font-size: 12px;
|
|
3660
3588
|
font-weight: 400;
|
|
3661
3589
|
padding: 8px;
|
|
@@ -3894,7 +3822,7 @@ const TabMenu = props => {
|
|
|
3894
3822
|
color: color,
|
|
3895
3823
|
width: `${100 / tabs.length}%`,
|
|
3896
3824
|
role: "presentation"
|
|
3897
|
-
}))), headlineContent && /*#__PURE__*/React__default["default"].createElement(TabActionLine, null, headlineContent), setTopRightButton && /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
3825
|
+
}))), headlineContent && /*#__PURE__*/React__default["default"].createElement(TabActionLine, null, headlineContent), setTopRightButton && /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
3898
3826
|
text: rightButtonText,
|
|
3899
3827
|
rightIcon: rightButtonIcon,
|
|
3900
3828
|
size: "small",
|
|
@@ -3906,7 +3834,7 @@ const TabMenu = props => {
|
|
|
3906
3834
|
hoverBorderColor: buttonHoverColor
|
|
3907
3835
|
})), showActions && /*#__PURE__*/React__default["default"].createElement(ActionsWrapper, {
|
|
3908
3836
|
className: "ActionsWrapper"
|
|
3909
|
-
}, showLabel && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Label$
|
|
3837
|
+
}, showLabel && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Label$6, {
|
|
3910
3838
|
className: "Label"
|
|
3911
3839
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, "Platform: "), "Total"), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3912
3840
|
className: "separator"
|
|
@@ -8527,7 +8455,7 @@ const DropdownWrapper$2 = styled__default["default"].div`
|
|
|
8527
8455
|
font-size: 14px;
|
|
8528
8456
|
border-radius: 10px;
|
|
8529
8457
|
`;
|
|
8530
|
-
const Label$
|
|
8458
|
+
const Label$5 = styled__default["default"].label`
|
|
8531
8459
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
8532
8460
|
font-weight: 400;
|
|
8533
8461
|
padding-inline-end: 5px;
|
|
@@ -8550,7 +8478,7 @@ const Label$4 = styled__default["default"].label`
|
|
|
8550
8478
|
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
8551
8479
|
}
|
|
8552
8480
|
`;
|
|
8553
|
-
const InputContainer$
|
|
8481
|
+
const InputContainer$8 = styled__default["default"].div`
|
|
8554
8482
|
display: flex;
|
|
8555
8483
|
flex-direction: row;
|
|
8556
8484
|
flex-wrap: nowrap;
|
|
@@ -8582,7 +8510,7 @@ const InputContainer$6 = styled__default["default"].div`
|
|
|
8582
8510
|
}
|
|
8583
8511
|
|
|
8584
8512
|
`;
|
|
8585
|
-
const InputSubContainer$
|
|
8513
|
+
const InputSubContainer$4 = styled__default["default"].div`
|
|
8586
8514
|
display: flex;
|
|
8587
8515
|
flex-direction: column;
|
|
8588
8516
|
flex-wrap: nowrap;
|
|
@@ -8601,7 +8529,7 @@ const InputSubContainer$3 = styled__default["default"].div`
|
|
|
8601
8529
|
outline: none;
|
|
8602
8530
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
8603
8531
|
`;
|
|
8604
|
-
const StyledInput$
|
|
8532
|
+
const StyledInput$8 = styled__default["default"].input`
|
|
8605
8533
|
width: calc(100% - 10px);
|
|
8606
8534
|
height: 20px;
|
|
8607
8535
|
font-family: Poppins;
|
|
@@ -8612,7 +8540,7 @@ const StyledInput$6 = styled__default["default"].input`
|
|
|
8612
8540
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
8613
8541
|
border: none;
|
|
8614
8542
|
`;
|
|
8615
|
-
const OptionsContainer$
|
|
8543
|
+
const OptionsContainer$7 = styled__default["default"].div`
|
|
8616
8544
|
margin: 0;
|
|
8617
8545
|
top: 100%;
|
|
8618
8546
|
left: 0;
|
|
@@ -8660,7 +8588,7 @@ const OptionItem$3 = styled__default["default"].li`
|
|
|
8660
8588
|
background-color: #EDF6FF;
|
|
8661
8589
|
}
|
|
8662
8590
|
`;
|
|
8663
|
-
const ErrorMessage$
|
|
8591
|
+
const ErrorMessage$4 = styled__default["default"].div`
|
|
8664
8592
|
font-size: 12px;
|
|
8665
8593
|
color: red;
|
|
8666
8594
|
margin-top: 5px;
|
|
@@ -8816,20 +8744,20 @@ const DropdownSingleNew = ({
|
|
|
8816
8744
|
width: width,
|
|
8817
8745
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
8818
8746
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
8819
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$
|
|
8747
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$8, {
|
|
8820
8748
|
className: "InputContainer",
|
|
8821
8749
|
labelColor: labelColor,
|
|
8822
8750
|
disabled: disabled,
|
|
8823
8751
|
error: error,
|
|
8824
8752
|
isFocused: isFocused
|
|
8825
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$
|
|
8753
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$4, {
|
|
8826
8754
|
className: "InputSubContainer",
|
|
8827
8755
|
ref: containerRef,
|
|
8828
8756
|
labelColor: labelColor,
|
|
8829
8757
|
disabled: disabled,
|
|
8830
8758
|
error: error,
|
|
8831
8759
|
onClick: handleLabelClick
|
|
8832
|
-
}, /*#__PURE__*/React__default["default"].createElement(Label$
|
|
8760
|
+
}, /*#__PURE__*/React__default["default"].createElement(Label$5, {
|
|
8833
8761
|
className: "Label",
|
|
8834
8762
|
isFocused: isFocused,
|
|
8835
8763
|
labelColor: labelColor,
|
|
@@ -8839,7 +8767,7 @@ const DropdownSingleNew = ({
|
|
|
8839
8767
|
errorMessage: errorMessage,
|
|
8840
8768
|
onClick: handleLabelClick,
|
|
8841
8769
|
showLabelOnTop: showLabelOnTop
|
|
8842
|
-
}, getLabel(), getRequired()), /*#__PURE__*/React__default["default"].createElement(StyledInput$
|
|
8770
|
+
}, getLabel(), getRequired()), /*#__PURE__*/React__default["default"].createElement(StyledInput$8, {
|
|
8843
8771
|
className: "StyledInput",
|
|
8844
8772
|
ref: inputRef,
|
|
8845
8773
|
value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
|
|
@@ -8867,7 +8795,7 @@ const DropdownSingleNew = ({
|
|
|
8867
8795
|
width: "12px",
|
|
8868
8796
|
height: "12px",
|
|
8869
8797
|
color: "#B1B1B1"
|
|
8870
|
-
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$
|
|
8798
|
+
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$4, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$7, {
|
|
8871
8799
|
className: "OptionsContainer",
|
|
8872
8800
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
8873
8801
|
onMouseLeave: () => setHoverOptionsContainer(false),
|
|
@@ -8994,7 +8922,7 @@ const DropdownWrapper$1 = styled__default["default"].div`
|
|
|
8994
8922
|
font-size: 14px;
|
|
8995
8923
|
border-radius: 10px;
|
|
8996
8924
|
`;
|
|
8997
|
-
const Label$
|
|
8925
|
+
const Label$4 = styled__default["default"].label`
|
|
8998
8926
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
8999
8927
|
font-weight: 400;
|
|
9000
8928
|
padding-inline-end: 5px;
|
|
@@ -9017,7 +8945,7 @@ const Label$3 = styled__default["default"].label`
|
|
|
9017
8945
|
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
9018
8946
|
}
|
|
9019
8947
|
`;
|
|
9020
|
-
const InputContainer$
|
|
8948
|
+
const InputContainer$7 = styled__default["default"].div`
|
|
9021
8949
|
display: flex;
|
|
9022
8950
|
flex-direction: row;
|
|
9023
8951
|
flex-wrap: nowrap;
|
|
@@ -9048,7 +8976,7 @@ const InputContainer$5 = styled__default["default"].div`
|
|
|
9048
8976
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
9049
8977
|
}
|
|
9050
8978
|
`;
|
|
9051
|
-
const InputSubContainer$
|
|
8979
|
+
const InputSubContainer$3 = styled__default["default"].div`
|
|
9052
8980
|
|
|
9053
8981
|
display: flex;
|
|
9054
8982
|
flex-direction: column;
|
|
@@ -9068,7 +8996,7 @@ const InputSubContainer$2 = styled__default["default"].div`
|
|
|
9068
8996
|
outline: none;
|
|
9069
8997
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
9070
8998
|
`;
|
|
9071
|
-
const StyledInput$
|
|
8999
|
+
const StyledInput$7 = styled__default["default"].input`
|
|
9072
9000
|
width: calc(100% - 20px);
|
|
9073
9001
|
height: 25px;
|
|
9074
9002
|
font-family: Poppins;
|
|
@@ -9079,7 +9007,7 @@ const StyledInput$5 = styled__default["default"].input`
|
|
|
9079
9007
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
9080
9008
|
border: none;
|
|
9081
9009
|
`;
|
|
9082
|
-
const OptionsContainer$
|
|
9010
|
+
const OptionsContainer$6 = styled__default["default"].div`
|
|
9083
9011
|
margin: 0;
|
|
9084
9012
|
top: 100%;
|
|
9085
9013
|
left: 0;
|
|
@@ -9126,7 +9054,7 @@ const OptionItem$2 = styled__default["default"].li`
|
|
|
9126
9054
|
background-color: #EDF6FF;
|
|
9127
9055
|
}
|
|
9128
9056
|
`;
|
|
9129
|
-
const ErrorMessage$
|
|
9057
|
+
const ErrorMessage$3 = styled__default["default"].div`
|
|
9130
9058
|
font-size: 12px;
|
|
9131
9059
|
color: red;
|
|
9132
9060
|
margin-top: 5px;
|
|
@@ -9333,20 +9261,20 @@ const DropdownMultiNew = ({
|
|
|
9333
9261
|
width: width,
|
|
9334
9262
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
9335
9263
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
9336
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$
|
|
9264
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$7, {
|
|
9337
9265
|
className: "InputContainer",
|
|
9338
9266
|
labelColor: labelColor,
|
|
9339
9267
|
disabled: disabled,
|
|
9340
9268
|
error: error,
|
|
9341
9269
|
isFocused: isFocused
|
|
9342
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$
|
|
9270
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$3, {
|
|
9343
9271
|
className: "InputSubContainer",
|
|
9344
9272
|
ref: containerRef,
|
|
9345
9273
|
labelColor: labelColor,
|
|
9346
9274
|
disabled: disabled,
|
|
9347
9275
|
error: error,
|
|
9348
9276
|
onClick: handleLabelClick
|
|
9349
|
-
}, /*#__PURE__*/React__default["default"].createElement(Label$
|
|
9277
|
+
}, /*#__PURE__*/React__default["default"].createElement(Label$4, {
|
|
9350
9278
|
className: "Label",
|
|
9351
9279
|
isFocused: isFocused,
|
|
9352
9280
|
labelColor: labelColor,
|
|
@@ -9356,7 +9284,7 @@ const DropdownMultiNew = ({
|
|
|
9356
9284
|
errorMessage: errorMessage,
|
|
9357
9285
|
onClick: handleLabelClick,
|
|
9358
9286
|
showLabelOnTop: showLabelOnTop
|
|
9359
|
-
}, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React__default["default"].createElement(StyledInput$
|
|
9287
|
+
}, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React__default["default"].createElement(StyledInput$7, {
|
|
9360
9288
|
className: "StyledInput",
|
|
9361
9289
|
ref: inputRef,
|
|
9362
9290
|
value: inputValue,
|
|
@@ -9386,7 +9314,7 @@ const DropdownMultiNew = ({
|
|
|
9386
9314
|
width: "12px",
|
|
9387
9315
|
height: "12px",
|
|
9388
9316
|
color: "#B1B1B1"
|
|
9389
|
-
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$
|
|
9317
|
+
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$3, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$6, {
|
|
9390
9318
|
className: "OptionsContainer",
|
|
9391
9319
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
9392
9320
|
onMouseLeave: () => setHoverOptionsContainer(false),
|
|
@@ -9473,27 +9401,34 @@ const DropdownMain = styled__default["default"].div`
|
|
|
9473
9401
|
`;
|
|
9474
9402
|
|
|
9475
9403
|
/* eslint-disable react/prop-types */
|
|
9476
|
-
const DropdownNew =
|
|
9477
|
-
|
|
9478
|
-
isMulti,
|
|
9479
|
-
label,
|
|
9480
|
-
labelEmptyValue,
|
|
9481
|
-
options,
|
|
9482
|
-
selectedValue,
|
|
9483
|
-
placeHolder,
|
|
9484
|
-
onChange,
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9404
|
+
const DropdownNew = props => {
|
|
9405
|
+
const {
|
|
9406
|
+
isMulti = false,
|
|
9407
|
+
label = "",
|
|
9408
|
+
labelEmptyValue = "",
|
|
9409
|
+
options = [],
|
|
9410
|
+
selectedValue = null,
|
|
9411
|
+
placeHolder = "",
|
|
9412
|
+
onChange = () => {},
|
|
9413
|
+
handleChange = () => {},
|
|
9414
|
+
required = false,
|
|
9415
|
+
disabled = false,
|
|
9416
|
+
width = "300px",
|
|
9417
|
+
error = false,
|
|
9418
|
+
showLabelOnTop = true,
|
|
9419
|
+
orderBy = "",
|
|
9420
|
+
elementType = "dropdown",
|
|
9421
|
+
errorMessage = "",
|
|
9422
|
+
labelColor = "#066768",
|
|
9423
|
+
checkBoxColor = "#229E38",
|
|
9424
|
+
xIconShow = true
|
|
9425
|
+
} = props;
|
|
9426
|
+
const handleOnChange = event => {
|
|
9427
|
+
if (event && event.newValue && event.newValue[0]) {
|
|
9428
|
+
onChange && onChange(event);
|
|
9429
|
+
handleChange && handleChange(event.newValue[0].value);
|
|
9430
|
+
}
|
|
9431
|
+
};
|
|
9497
9432
|
return /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
|
|
9498
9433
|
className: "DropdownMain",
|
|
9499
9434
|
width: width
|
|
@@ -9512,7 +9447,7 @@ const DropdownNew = _ref => {
|
|
|
9512
9447
|
errorMessage: errorMessage,
|
|
9513
9448
|
selectedValue: selectedValue,
|
|
9514
9449
|
xIconShow: xIconShow,
|
|
9515
|
-
onChange:
|
|
9450
|
+
onChange: handleOnChange,
|
|
9516
9451
|
showLabelOnTop: showLabelOnTop,
|
|
9517
9452
|
orderBy: orderBy,
|
|
9518
9453
|
elementType: elementType
|
|
@@ -9531,54 +9466,12 @@ const DropdownNew = _ref => {
|
|
|
9531
9466
|
errorMessage: errorMessage,
|
|
9532
9467
|
selectedValue: selectedValue,
|
|
9533
9468
|
xIconShow: xIconShow,
|
|
9534
|
-
onChange:
|
|
9469
|
+
onChange: handleOnChange,
|
|
9535
9470
|
showLabelOnTop: showLabelOnTop,
|
|
9536
9471
|
orderBy: orderBy,
|
|
9537
9472
|
elementType: elementType
|
|
9538
9473
|
}));
|
|
9539
9474
|
};
|
|
9540
|
-
DropdownNew.propTypes = {
|
|
9541
|
-
placeHolder: PropTypes.string,
|
|
9542
|
-
label: PropTypes.string,
|
|
9543
|
-
labelEmptyValue: PropTypes.string,
|
|
9544
|
-
labelColor: PropTypes.string,
|
|
9545
|
-
checkBoxColor: PropTypes.string,
|
|
9546
|
-
required: PropTypes.bool,
|
|
9547
|
-
width: PropTypes.string,
|
|
9548
|
-
disabled: PropTypes.bool,
|
|
9549
|
-
error: PropTypes.bool,
|
|
9550
|
-
errorMessage: PropTypes.string,
|
|
9551
|
-
options: PropTypes.arrayOf(PropTypes.shape({
|
|
9552
|
-
id: PropTypes.string,
|
|
9553
|
-
label: PropTypes.string
|
|
9554
|
-
})),
|
|
9555
|
-
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
9556
|
-
id: PropTypes.string,
|
|
9557
|
-
label: PropTypes.string
|
|
9558
|
-
})),
|
|
9559
|
-
xIconShow: PropTypes.bool,
|
|
9560
|
-
onChange: PropTypes.func,
|
|
9561
|
-
showLabelOnTop: PropTypes.bool
|
|
9562
|
-
};
|
|
9563
|
-
DropdownNew.defaultProps = {
|
|
9564
|
-
placeHolder: "Type...",
|
|
9565
|
-
label: "Label",
|
|
9566
|
-
labelEmptyValue: "All Labels",
|
|
9567
|
-
labelColor: "#066768",
|
|
9568
|
-
checkBoxColor: "#229E38",
|
|
9569
|
-
required: true,
|
|
9570
|
-
width: "300px",
|
|
9571
|
-
disabled: false,
|
|
9572
|
-
error: false,
|
|
9573
|
-
errorMessage: "",
|
|
9574
|
-
options: [],
|
|
9575
|
-
selectedValue: [],
|
|
9576
|
-
xIconShow: true,
|
|
9577
|
-
onChange: () => {},
|
|
9578
|
-
showLabelOnTop: true,
|
|
9579
|
-
orderBy: "asc",
|
|
9580
|
-
elementType: "number"
|
|
9581
|
-
};
|
|
9582
9475
|
|
|
9583
9476
|
const Calendar = () => /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9584
9477
|
width: "11",
|
|
@@ -9615,7 +9508,7 @@ const RangePickerContainer = styled__default["default"].div`
|
|
|
9615
9508
|
width: ${props => props.width || '100%'};
|
|
9616
9509
|
height: ${props => props.height || '60px'};
|
|
9617
9510
|
`;
|
|
9618
|
-
const CalendarDiv$
|
|
9511
|
+
const CalendarDiv$3 = styled__default["default"].div`
|
|
9619
9512
|
position: absolute;
|
|
9620
9513
|
width: 11px;
|
|
9621
9514
|
height: 11px;
|
|
@@ -9627,7 +9520,7 @@ const CalendarDiv$2 = styled__default["default"].div`
|
|
|
9627
9520
|
}
|
|
9628
9521
|
|
|
9629
9522
|
`;
|
|
9630
|
-
const InputContainer$
|
|
9523
|
+
const InputContainer$6 = styled__default["default"].div`
|
|
9631
9524
|
display: flex;
|
|
9632
9525
|
flex-direction: row;
|
|
9633
9526
|
flex-wrap: nowrap;
|
|
@@ -9657,7 +9550,7 @@ const InputContainer$4 = styled__default["default"].div`
|
|
|
9657
9550
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
9658
9551
|
}
|
|
9659
9552
|
`;
|
|
9660
|
-
const StyledInput$
|
|
9553
|
+
const StyledInput$6 = styled__default["default"].input`
|
|
9661
9554
|
padding: 20px;
|
|
9662
9555
|
font-size: 14px;
|
|
9663
9556
|
border-radius: ${props => props.borderRadius || '4px'};
|
|
@@ -9674,7 +9567,7 @@ const StyledInput$4 = styled__default["default"].input`
|
|
|
9674
9567
|
color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
9675
9568
|
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
9676
9569
|
`;
|
|
9677
|
-
const StyledLabel$
|
|
9570
|
+
const StyledLabel$3 = styled__default["default"].label`
|
|
9678
9571
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
9679
9572
|
padding-inline-end: 5px;
|
|
9680
9573
|
padding-inline-start: 5px;
|
|
@@ -9694,7 +9587,7 @@ const StyledLabel$2 = styled__default["default"].label`
|
|
|
9694
9587
|
box-sizing: border-box;
|
|
9695
9588
|
cursor: pointer;
|
|
9696
9589
|
`;
|
|
9697
|
-
const RequiredIndicator$
|
|
9590
|
+
const RequiredIndicator$3 = styled__default["default"].span`
|
|
9698
9591
|
color: red;
|
|
9699
9592
|
margin-left: 5px;
|
|
9700
9593
|
`;
|
|
@@ -9703,7 +9596,7 @@ styled__default["default"].div`
|
|
|
9703
9596
|
color: red;
|
|
9704
9597
|
margin-top: 5px;
|
|
9705
9598
|
`;
|
|
9706
|
-
const OptionsContainer$
|
|
9599
|
+
const OptionsContainer$5 = styled__default["default"].div`
|
|
9707
9600
|
display: block;
|
|
9708
9601
|
margin: 0;
|
|
9709
9602
|
padding-top: 8px;
|
|
@@ -10054,7 +9947,7 @@ const RangePicker = _ref => {
|
|
|
10054
9947
|
onClick: handleFocus,
|
|
10055
9948
|
width: width,
|
|
10056
9949
|
height: height
|
|
10057
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$
|
|
9950
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$6, {
|
|
10058
9951
|
className: "InputContainer",
|
|
10059
9952
|
isFocused: isFocused,
|
|
10060
9953
|
hasValue: value,
|
|
@@ -10064,7 +9957,7 @@ const RangePicker = _ref => {
|
|
|
10064
9957
|
borderColorFocus: borderColorFocus,
|
|
10065
9958
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
10066
9959
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
10067
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledLabel$
|
|
9960
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledLabel$3, {
|
|
10068
9961
|
className: "StyledLabel",
|
|
10069
9962
|
onClick: handleFocus,
|
|
10070
9963
|
isFocused: isFocused,
|
|
@@ -10073,7 +9966,7 @@ const RangePicker = _ref => {
|
|
|
10073
9966
|
textColor: textColor,
|
|
10074
9967
|
borderColor: borderColor,
|
|
10075
9968
|
borderColorFocus: borderColorFocus
|
|
10076
|
-
}, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator$
|
|
9969
|
+
}, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator$3, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$6, {
|
|
10077
9970
|
className: "StyledInput",
|
|
10078
9971
|
ref: inputRef,
|
|
10079
9972
|
value: value,
|
|
@@ -10089,14 +9982,14 @@ const RangePicker = _ref => {
|
|
|
10089
9982
|
textColor: textColor,
|
|
10090
9983
|
borderColor: borderColor,
|
|
10091
9984
|
borderColorFocus: borderColorFocus
|
|
10092
|
-
}), /*#__PURE__*/React__default["default"].createElement(CalendarDiv$
|
|
9985
|
+
}), /*#__PURE__*/React__default["default"].createElement(CalendarDiv$3, {
|
|
10093
9986
|
className: "CalendarDiv",
|
|
10094
9987
|
onClick: toggleDatePicker
|
|
10095
9988
|
}, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, {
|
|
10096
9989
|
className: "CalendarInOpen"
|
|
10097
9990
|
}) : /*#__PURE__*/React__default["default"].createElement(Calendar, {
|
|
10098
9991
|
className: "Calendar"
|
|
10099
|
-
}))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$
|
|
9992
|
+
}))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$5, {
|
|
10100
9993
|
className: "OptionsContainer",
|
|
10101
9994
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
10102
9995
|
onMouseLeave: () => setHoverOptionsContainer(false)
|
|
@@ -10149,14 +10042,14 @@ const QuarterPickerContainer = styled__default["default"].div`
|
|
|
10149
10042
|
width: ${props => props.width || '100%'};
|
|
10150
10043
|
height: ${props => props.height || '60px'};
|
|
10151
10044
|
`;
|
|
10152
|
-
const CalendarDiv$
|
|
10045
|
+
const CalendarDiv$2 = styled__default["default"].div`
|
|
10153
10046
|
position: absolute;
|
|
10154
10047
|
width: 11px;
|
|
10155
10048
|
height: 11px;
|
|
10156
10049
|
top: ${props => parseInt(props.height, 10) / 2 || '20px'};
|
|
10157
10050
|
right: 25px;
|
|
10158
10051
|
`;
|
|
10159
|
-
const InputContainer$
|
|
10052
|
+
const InputContainer$5 = styled__default["default"].div`
|
|
10160
10053
|
display: flex;
|
|
10161
10054
|
flex-direction: row;
|
|
10162
10055
|
flex-wrap: nowrap;
|
|
@@ -10186,7 +10079,7 @@ const InputContainer$3 = styled__default["default"].div`
|
|
|
10186
10079
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
10187
10080
|
}
|
|
10188
10081
|
`;
|
|
10189
|
-
const StyledInput$
|
|
10082
|
+
const StyledInput$5 = styled__default["default"].input`
|
|
10190
10083
|
padding: 20px;
|
|
10191
10084
|
font-size: 14px;
|
|
10192
10085
|
border-radius: ${props => props.borderRadius || '4px'};
|
|
@@ -10203,7 +10096,7 @@ const StyledInput$3 = styled__default["default"].input`
|
|
|
10203
10096
|
color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
10204
10097
|
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
10205
10098
|
`;
|
|
10206
|
-
const StyledLabel$
|
|
10099
|
+
const StyledLabel$2 = styled__default["default"].label`
|
|
10207
10100
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
10208
10101
|
padding-inline-end: 5px;
|
|
10209
10102
|
padding-inline-start: 5px;
|
|
@@ -10223,7 +10116,7 @@ const StyledLabel$1 = styled__default["default"].label`
|
|
|
10223
10116
|
box-sizing: border-box;
|
|
10224
10117
|
cursor: pointer;
|
|
10225
10118
|
`;
|
|
10226
|
-
const RequiredIndicator$
|
|
10119
|
+
const RequiredIndicator$2 = styled__default["default"].span`
|
|
10227
10120
|
color: red;
|
|
10228
10121
|
margin-left: 5px;
|
|
10229
10122
|
`;
|
|
@@ -10232,7 +10125,7 @@ styled__default["default"].div`
|
|
|
10232
10125
|
color: red;
|
|
10233
10126
|
margin-top: 5px;
|
|
10234
10127
|
`;
|
|
10235
|
-
const OptionsContainer$
|
|
10128
|
+
const OptionsContainer$4 = styled__default["default"].div`
|
|
10236
10129
|
display: block;
|
|
10237
10130
|
margin: 0;
|
|
10238
10131
|
padding-top: 8px;
|
|
@@ -10487,7 +10380,7 @@ const QuarterPicker = _ref => {
|
|
|
10487
10380
|
onClick: handleFocus,
|
|
10488
10381
|
width: width,
|
|
10489
10382
|
height: height
|
|
10490
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$
|
|
10383
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$5, {
|
|
10491
10384
|
className: "InputContainer",
|
|
10492
10385
|
isFocused: isFocused,
|
|
10493
10386
|
hasValue: value,
|
|
@@ -10497,7 +10390,7 @@ const QuarterPicker = _ref => {
|
|
|
10497
10390
|
borderColorFocus: borderColorFocus,
|
|
10498
10391
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
10499
10392
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
10500
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledLabel$
|
|
10393
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledLabel$2, {
|
|
10501
10394
|
className: "StyledLabel",
|
|
10502
10395
|
onClick: handleFocus,
|
|
10503
10396
|
isFocused: isFocused,
|
|
@@ -10506,7 +10399,7 @@ const QuarterPicker = _ref => {
|
|
|
10506
10399
|
textColor: textColor,
|
|
10507
10400
|
borderColor: borderColor,
|
|
10508
10401
|
borderColorFocus: borderColorFocus
|
|
10509
|
-
}, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator$
|
|
10402
|
+
}, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator$2, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$5, {
|
|
10510
10403
|
className: "StyledInput",
|
|
10511
10404
|
ref: inputRef,
|
|
10512
10405
|
value: value,
|
|
@@ -10522,11 +10415,11 @@ const QuarterPicker = _ref => {
|
|
|
10522
10415
|
disabled: disabled,
|
|
10523
10416
|
borderColor: borderColor,
|
|
10524
10417
|
textColor: textColor
|
|
10525
|
-
}), /*#__PURE__*/React__default["default"].createElement(CalendarDiv$
|
|
10418
|
+
}), /*#__PURE__*/React__default["default"].createElement(CalendarDiv$2, {
|
|
10526
10419
|
className: "CalendarDiv",
|
|
10527
10420
|
width: width,
|
|
10528
10421
|
onClick: toggleDatePicker
|
|
10529
|
-
}, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, null) : /*#__PURE__*/React__default["default"].createElement(Calendar, null))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$
|
|
10422
|
+
}, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, null) : /*#__PURE__*/React__default["default"].createElement(Calendar, null))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$4, {
|
|
10530
10423
|
className: "OptionsContainer",
|
|
10531
10424
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
10532
10425
|
onMouseLeave: () => setHoverOptionsContainer(false)
|
|
@@ -10575,14 +10468,14 @@ const MonthPickerContainer = styled__default["default"].div`
|
|
|
10575
10468
|
width: ${props => props.width || '100%'};
|
|
10576
10469
|
height: ${props => props.height || '60px'};
|
|
10577
10470
|
`;
|
|
10578
|
-
const CalendarDiv = styled__default["default"].div`
|
|
10471
|
+
const CalendarDiv$1 = styled__default["default"].div`
|
|
10579
10472
|
position: absolute;
|
|
10580
10473
|
width: 11px;
|
|
10581
10474
|
height: 11px;
|
|
10582
10475
|
top: ${props => parseInt(props.height, 10) / 2 || '20px'};
|
|
10583
10476
|
right: 25px;
|
|
10584
10477
|
`;
|
|
10585
|
-
const InputContainer$
|
|
10478
|
+
const InputContainer$4 = styled__default["default"].div`
|
|
10586
10479
|
display: flex;
|
|
10587
10480
|
flex-direction: row;
|
|
10588
10481
|
flex-wrap: nowrap;
|
|
@@ -10612,7 +10505,7 @@ const InputContainer$2 = styled__default["default"].div`
|
|
|
10612
10505
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
10613
10506
|
}
|
|
10614
10507
|
`;
|
|
10615
|
-
const StyledInput$
|
|
10508
|
+
const StyledInput$4 = styled__default["default"].input`
|
|
10616
10509
|
padding: 20px;
|
|
10617
10510
|
font-size: 14px;
|
|
10618
10511
|
border-radius: ${props => props.borderRadius || '4px'};
|
|
@@ -10630,7 +10523,7 @@ const StyledInput$2 = styled__default["default"].input`
|
|
|
10630
10523
|
color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
10631
10524
|
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
10632
10525
|
`;
|
|
10633
|
-
const StyledLabel = styled__default["default"].label`
|
|
10526
|
+
const StyledLabel$1 = styled__default["default"].label`
|
|
10634
10527
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
10635
10528
|
padding-inline-end: 5px;
|
|
10636
10529
|
padding-inline-start: 5px;
|
|
@@ -10650,7 +10543,7 @@ const StyledLabel = styled__default["default"].label`
|
|
|
10650
10543
|
box-sizing: border-box;
|
|
10651
10544
|
cursor: pointer;
|
|
10652
10545
|
`;
|
|
10653
|
-
const RequiredIndicator = styled__default["default"].span`
|
|
10546
|
+
const RequiredIndicator$1 = styled__default["default"].span`
|
|
10654
10547
|
color: red;
|
|
10655
10548
|
margin-left: 5px;
|
|
10656
10549
|
`;
|
|
@@ -10659,7 +10552,7 @@ styled__default["default"].div`
|
|
|
10659
10552
|
color: red;
|
|
10660
10553
|
margin-top: 5px;
|
|
10661
10554
|
`;
|
|
10662
|
-
const OptionsContainer$
|
|
10555
|
+
const OptionsContainer$3 = styled__default["default"].div`
|
|
10663
10556
|
display: block;
|
|
10664
10557
|
margin: 0;
|
|
10665
10558
|
padding-top: 8px;
|
|
@@ -10944,7 +10837,7 @@ const MonthPicker = _ref => {
|
|
|
10944
10837
|
onClick: handleFocus,
|
|
10945
10838
|
width: width,
|
|
10946
10839
|
height: height
|
|
10947
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$
|
|
10840
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$4, {
|
|
10948
10841
|
className: "InputContainer",
|
|
10949
10842
|
isFocused: isFocused,
|
|
10950
10843
|
hasValue: value,
|
|
@@ -10954,7 +10847,7 @@ const MonthPicker = _ref => {
|
|
|
10954
10847
|
borderColorFocus: borderColorFocus,
|
|
10955
10848
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
10956
10849
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
10957
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledLabel, {
|
|
10850
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledLabel$1, {
|
|
10958
10851
|
className: "StyledLabel",
|
|
10959
10852
|
onClick: handleFocus,
|
|
10960
10853
|
isFocused: isFocused,
|
|
@@ -10963,7 +10856,7 @@ const MonthPicker = _ref => {
|
|
|
10963
10856
|
textColor: textColor,
|
|
10964
10857
|
borderColor: borderColor,
|
|
10965
10858
|
borderColorFocus: borderColorFocus
|
|
10966
|
-
}, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$
|
|
10859
|
+
}, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator$1, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$4, {
|
|
10967
10860
|
className: "StyledInput",
|
|
10968
10861
|
ref: inputRef,
|
|
10969
10862
|
value: value,
|
|
@@ -10979,11 +10872,11 @@ const MonthPicker = _ref => {
|
|
|
10979
10872
|
disabled: disabled,
|
|
10980
10873
|
borderColor: borderColor,
|
|
10981
10874
|
textColor: textColor
|
|
10982
|
-
}), /*#__PURE__*/React__default["default"].createElement(CalendarDiv, {
|
|
10875
|
+
}), /*#__PURE__*/React__default["default"].createElement(CalendarDiv$1, {
|
|
10983
10876
|
className: "CalendarDiv",
|
|
10984
10877
|
width: width,
|
|
10985
10878
|
onClick: toggleDatePicker
|
|
10986
|
-
}, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, null) : /*#__PURE__*/React__default["default"].createElement(Calendar, null))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$
|
|
10879
|
+
}, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, null) : /*#__PURE__*/React__default["default"].createElement(Calendar, null))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$3, {
|
|
10987
10880
|
className: "OptionsContainer",
|
|
10988
10881
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
10989
10882
|
onMouseLeave: () => setHoverOptionsContainer(false)
|
|
@@ -11625,7 +11518,7 @@ const FilterPanel = props => {
|
|
|
11625
11518
|
content: getTooltipTextGoButton(),
|
|
11626
11519
|
direction: "top",
|
|
11627
11520
|
topFactor: -0.9
|
|
11628
|
-
}, /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
11521
|
+
}, /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
11629
11522
|
text: "Go",
|
|
11630
11523
|
type: "primary",
|
|
11631
11524
|
size: "medium",
|
|
@@ -11653,7 +11546,7 @@ const FilterPanel = props => {
|
|
|
11653
11546
|
})
|
|
11654
11547
|
}));
|
|
11655
11548
|
} else {
|
|
11656
|
-
content = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
11549
|
+
content = /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
11657
11550
|
text: "Go",
|
|
11658
11551
|
type: "primary",
|
|
11659
11552
|
size: "medium",
|
|
@@ -11693,7 +11586,7 @@ const FilterPanel = props => {
|
|
|
11693
11586
|
ref: AllFieldsContainerRef
|
|
11694
11587
|
}, displayFields(FieldsDataState)), /*#__PURE__*/React__default["default"].createElement(ButtonsContainer, {
|
|
11695
11588
|
className: "ButtonsContainer"
|
|
11696
|
-
}, displayGoButton(), /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
11589
|
+
}, displayGoButton(), /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
11697
11590
|
text: "Reset",
|
|
11698
11591
|
size: "medium",
|
|
11699
11592
|
type: "secondary",
|
|
@@ -12031,7 +11924,7 @@ const Loader$1 = styled__default["default"].span`
|
|
|
12031
11924
|
animation: ${rotation$1} 1.5s infinite ease;
|
|
12032
11925
|
transform: translateZ(0);
|
|
12033
11926
|
`;
|
|
12034
|
-
const TableWrapper$
|
|
11927
|
+
const TableWrapper$3 = styled__default["default"].div`
|
|
12035
11928
|
position: relative;
|
|
12036
11929
|
width: ${props => `${props.width}`};
|
|
12037
11930
|
height: ${props => `${props.height}`};
|
|
@@ -12041,7 +11934,7 @@ const TableWrapper$1 = styled__default["default"].div`
|
|
|
12041
11934
|
overflow-x: ${props => props.columnsNumber > props.maxColumnsNumber ? 'auto' : 'hidden'};
|
|
12042
11935
|
${scrollableStyles$9}
|
|
12043
11936
|
`;
|
|
12044
|
-
const Table$
|
|
11937
|
+
const Table$3 = styled__default["default"].table`
|
|
12045
11938
|
font-family: "Poppins", sans-serif;
|
|
12046
11939
|
width: ${props => `${props.tableWidthSize}%`};
|
|
12047
11940
|
table-layout: fixed;
|
|
@@ -12346,13 +12239,13 @@ const ReportTable = props => {
|
|
|
12346
12239
|
return newState;
|
|
12347
12240
|
});
|
|
12348
12241
|
};
|
|
12349
|
-
return /*#__PURE__*/React__default["default"].createElement(ReportTableWrapper, null, /*#__PURE__*/React__default["default"].createElement(TableWrapper$
|
|
12242
|
+
return /*#__PURE__*/React__default["default"].createElement(ReportTableWrapper, null, /*#__PURE__*/React__default["default"].createElement(TableWrapper$3, {
|
|
12350
12243
|
width: width,
|
|
12351
12244
|
height: height,
|
|
12352
12245
|
className: className,
|
|
12353
12246
|
maxColumnsNumber: getMaxColnumber(),
|
|
12354
12247
|
columnsNumber: columnsNumber
|
|
12355
|
-
}, /*#__PURE__*/React__default["default"].createElement(Table$
|
|
12248
|
+
}, /*#__PURE__*/React__default["default"].createElement(Table$3, {
|
|
12356
12249
|
tableWidthSize: tableWidthSize
|
|
12357
12250
|
}, /*#__PURE__*/React__default["default"].createElement("thead", null, /*#__PURE__*/React__default["default"].createElement(Tr, null, tableData.columnsHeadings.map((headline, index) => /*#__PURE__*/React__default["default"].createElement(Th$1, {
|
|
12358
12251
|
key: index
|
|
@@ -12630,7 +12523,7 @@ EventListItem.defaultProps = {
|
|
|
12630
12523
|
onClick: () => {}
|
|
12631
12524
|
};
|
|
12632
12525
|
|
|
12633
|
-
const MainContainer$
|
|
12526
|
+
const MainContainer$6 = styled__default["default"].div`
|
|
12634
12527
|
/* display: flex; */
|
|
12635
12528
|
position: relative;
|
|
12636
12529
|
font-family: "Poppins", sans-serif;
|
|
@@ -12693,7 +12586,7 @@ const EventList = props => {
|
|
|
12693
12586
|
};
|
|
12694
12587
|
|
|
12695
12588
|
//= ======================================== MAIN RETURN ====================================
|
|
12696
|
-
return /*#__PURE__*/React__default["default"].createElement(MainContainer$
|
|
12589
|
+
return /*#__PURE__*/React__default["default"].createElement(MainContainer$6, {
|
|
12697
12590
|
id: "MainContainer",
|
|
12698
12591
|
height: height,
|
|
12699
12592
|
width: width
|
|
@@ -12889,7 +12782,7 @@ const CollapseMenuItemContentContainer = styled__default["default"].div`
|
|
|
12889
12782
|
font-size: 12px;
|
|
12890
12783
|
}
|
|
12891
12784
|
`;
|
|
12892
|
-
const MainContainer$
|
|
12785
|
+
const MainContainer$5 = styled__default["default"].div`
|
|
12893
12786
|
width: ${props => props.width};
|
|
12894
12787
|
height: ${props => props.height};
|
|
12895
12788
|
display: flex;
|
|
@@ -12904,7 +12797,7 @@ const DraftTag$1 = styled__default["default"].div`
|
|
|
12904
12797
|
height: fit-content;
|
|
12905
12798
|
`;
|
|
12906
12799
|
|
|
12907
|
-
const MainContainer$
|
|
12800
|
+
const MainContainer$4 = styled__default["default"].div`
|
|
12908
12801
|
width: ${props => props.width};
|
|
12909
12802
|
height: ${props => props.height};
|
|
12910
12803
|
font-family: 'Poppins', sans-serif;
|
|
@@ -13021,10 +12914,10 @@ const BannerEventBox = props => {
|
|
|
13021
12914
|
const onInfoClickHandler = event => {
|
|
13022
12915
|
onInfoClick(event);
|
|
13023
12916
|
};
|
|
13024
|
-
return /*#__PURE__*/React__default["default"].createElement(MainContainer$
|
|
12917
|
+
return /*#__PURE__*/React__default["default"].createElement(MainContainer$4, {
|
|
13025
12918
|
height: height,
|
|
13026
12919
|
width: width
|
|
13027
|
-
}, /*#__PURE__*/React__default["default"].createElement(TitleWrapper, null, formatedBanners().icon, "|", /*#__PURE__*/React__default["default"].createElement(CardTitle, null, formatedBanners().name)), /*#__PURE__*/React__default["default"].createElement(Block, null, /*#__PURE__*/React__default["default"].createElement(Headline, null, "Event Description"), /*#__PURE__*/React__default["default"].createElement(Text, null, description)), /*#__PURE__*/React__default["default"].createElement(Block, null, /*#__PURE__*/React__default["default"].createElement(Headline, null, "Event Dates:"), /*#__PURE__*/React__default["default"].createElement(Text, null, dates.join(" - "))), /*#__PURE__*/React__default["default"].createElement(ButtonWrap, null, /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
12920
|
+
}, /*#__PURE__*/React__default["default"].createElement(TitleWrapper, null, formatedBanners().icon, "|", /*#__PURE__*/React__default["default"].createElement(CardTitle, null, formatedBanners().name)), /*#__PURE__*/React__default["default"].createElement(Block, null, /*#__PURE__*/React__default["default"].createElement(Headline, null, "Event Description"), /*#__PURE__*/React__default["default"].createElement(Text, null, description)), /*#__PURE__*/React__default["default"].createElement(Block, null, /*#__PURE__*/React__default["default"].createElement(Headline, null, "Event Dates:"), /*#__PURE__*/React__default["default"].createElement(Text, null, dates.join(" - "))), /*#__PURE__*/React__default["default"].createElement(ButtonWrap, null, /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
13028
12921
|
leftIcon: "Eye",
|
|
13029
12922
|
onClick: () => onInfoClickHandler(banner),
|
|
13030
12923
|
text: buttonText,
|
|
@@ -13099,7 +12992,7 @@ const BannerEventBoxList = props => {
|
|
|
13099
12992
|
color: toggleColor
|
|
13100
12993
|
}))), IsItemOpen && /*#__PURE__*/React__default["default"].createElement(CollapseMenuItemContentContainer, {
|
|
13101
12994
|
id: "CollapseMenuItemContentContainer"
|
|
13102
|
-
}, cardsContent ? /*#__PURE__*/React__default["default"].createElement(MainContainer$
|
|
12995
|
+
}, cardsContent ? /*#__PURE__*/React__default["default"].createElement(MainContainer$5, {
|
|
13103
12996
|
width: width,
|
|
13104
12997
|
height: height
|
|
13105
12998
|
}, data.map(item => /*#__PURE__*/React__default["default"].createElement(BannerEventBox, {
|
|
@@ -13133,7 +13026,7 @@ const scrollableStyles$8 = `
|
|
|
13133
13026
|
border-radius: 5px;
|
|
13134
13027
|
}
|
|
13135
13028
|
`;
|
|
13136
|
-
const ModalWrapper = styled__default["default"].dialog`
|
|
13029
|
+
const ModalWrapper$1 = styled__default["default"].dialog`
|
|
13137
13030
|
width: 100vw;
|
|
13138
13031
|
height: 100vh;
|
|
13139
13032
|
padding: 20px;
|
|
@@ -13149,23 +13042,23 @@ const ModalWrapper = styled__default["default"].dialog`
|
|
|
13149
13042
|
align-content: center;
|
|
13150
13043
|
}
|
|
13151
13044
|
`;
|
|
13152
|
-
const Modal = styled__default["default"].div`
|
|
13045
|
+
const Modal$1 = styled__default["default"].div`
|
|
13153
13046
|
width: 79%;
|
|
13154
13047
|
max-width: 1500px;
|
|
13155
13048
|
margin: 0 auto;
|
|
13156
13049
|
${scrollableStyles$8}
|
|
13157
13050
|
`;
|
|
13158
|
-
const ModalHeader = styled__default["default"].div`
|
|
13051
|
+
const ModalHeader$1 = styled__default["default"].div`
|
|
13159
13052
|
display: flex;
|
|
13160
13053
|
align-items: center;
|
|
13161
13054
|
justify-content: space-between;
|
|
13162
13055
|
margin-bottom: 32px;
|
|
13163
13056
|
`;
|
|
13164
|
-
const ModalBody = styled__default["default"].div`
|
|
13057
|
+
const ModalBody$1 = styled__default["default"].div`
|
|
13165
13058
|
${scrollableStyles$8}
|
|
13166
13059
|
max-height: 80vh;
|
|
13167
13060
|
`;
|
|
13168
|
-
const ModalTitle = styled__default["default"].h5`
|
|
13061
|
+
const ModalTitle$1 = styled__default["default"].h5`
|
|
13169
13062
|
font-family: 'Poppins', sans-serif;
|
|
13170
13063
|
font-size: 32px;
|
|
13171
13064
|
font-weight: 500;
|
|
@@ -13195,14 +13088,14 @@ const DialogOverlay = props => {
|
|
|
13195
13088
|
modal.close();
|
|
13196
13089
|
onDialogClose();
|
|
13197
13090
|
};
|
|
13198
|
-
return /*#__PURE__*/React.createElement(ModalWrapper, {
|
|
13091
|
+
return /*#__PURE__*/React.createElement(ModalWrapper$1, {
|
|
13199
13092
|
className: className
|
|
13200
|
-
}, /*#__PURE__*/React.createElement(Modal, null, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(ModalTitle, null, title), /*#__PURE__*/React.createElement(ModalClose, {
|
|
13093
|
+
}, /*#__PURE__*/React.createElement(Modal$1, null, /*#__PURE__*/React.createElement(ModalHeader$1, null, /*#__PURE__*/React.createElement(ModalTitle$1, null, title), /*#__PURE__*/React.createElement(ModalClose, {
|
|
13201
13094
|
type: "button",
|
|
13202
13095
|
onClick: closeModal
|
|
13203
13096
|
}, /*#__PURE__*/React.createElement(CloseXIcon, {
|
|
13204
13097
|
fill: "white"
|
|
13205
|
-
}))), /*#__PURE__*/React.createElement(ModalBody, {
|
|
13098
|
+
}))), /*#__PURE__*/React.createElement(ModalBody$1, {
|
|
13206
13099
|
id: "modalBody"
|
|
13207
13100
|
}, children)));
|
|
13208
13101
|
};
|
|
@@ -23417,7 +23310,7 @@ const TheGiantCompanyIcon = _ref => {
|
|
|
23417
23310
|
})));
|
|
23418
23311
|
};
|
|
23419
23312
|
|
|
23420
|
-
const MainContainer$
|
|
23313
|
+
const MainContainer$3 = styled__default["default"].div`
|
|
23421
23314
|
display: flex;
|
|
23422
23315
|
position: relative;
|
|
23423
23316
|
font-family: "Poppins", sans-serif;
|
|
@@ -23710,7 +23603,7 @@ const CollapseHeader = props => {
|
|
|
23710
23603
|
} = viewCreativeContainerRef.current;
|
|
23711
23604
|
return (offsetTop + 33).toString().concat("", "px");
|
|
23712
23605
|
};
|
|
23713
|
-
return /*#__PURE__*/React__default["default"].createElement(MainContainer$
|
|
23606
|
+
return /*#__PURE__*/React__default["default"].createElement(MainContainer$3, {
|
|
23714
23607
|
id: "CollapseHeader",
|
|
23715
23608
|
className: className,
|
|
23716
23609
|
height: height,
|
|
@@ -23724,7 +23617,7 @@ const CollapseHeader = props => {
|
|
|
23724
23617
|
id: "EventNameViewCreativeSubContainer"
|
|
23725
23618
|
}, /*#__PURE__*/React__default["default"].createElement(ViewCreativeButtonAndListBoxContainer, {
|
|
23726
23619
|
id: "ViewCreativeButtonAndListBoxContainer"
|
|
23727
|
-
}, showViewCreativeButton && /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
23620
|
+
}, showViewCreativeButton && /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
23728
23621
|
leftIcon: "Eye",
|
|
23729
23622
|
onClick: viewCreativeOnClickHandler,
|
|
23730
23623
|
text: buttonText,
|
|
@@ -23878,13 +23771,13 @@ const QuickFilterInput = styled__default["default"].div`
|
|
|
23878
23771
|
font-size: 14px;
|
|
23879
23772
|
border-radius: 8px;
|
|
23880
23773
|
`;
|
|
23881
|
-
const Label$
|
|
23774
|
+
const Label$3 = styled__default["default"].label`
|
|
23882
23775
|
font-size: 14px;
|
|
23883
23776
|
font-weight: 500;
|
|
23884
23777
|
color: ${props => props.disabled ? '#D0D0D0' : '212121'};
|
|
23885
23778
|
white-space: nowrap;
|
|
23886
23779
|
`;
|
|
23887
|
-
const InputContainer$
|
|
23780
|
+
const InputContainer$3 = styled__default["default"].div`
|
|
23888
23781
|
display: flex;
|
|
23889
23782
|
justify-content: space-between;
|
|
23890
23783
|
align-content: center;
|
|
@@ -23914,12 +23807,12 @@ const InputContainer$1 = styled__default["default"].div`
|
|
|
23914
23807
|
${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
23915
23808
|
}
|
|
23916
23809
|
`;
|
|
23917
|
-
const InputSubContainer$
|
|
23810
|
+
const InputSubContainer$2 = styled__default["default"].div`
|
|
23918
23811
|
display: flex;
|
|
23919
23812
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
23920
23813
|
gap: 8px;
|
|
23921
23814
|
`;
|
|
23922
|
-
const StyledInput$
|
|
23815
|
+
const StyledInput$3 = styled__default["default"].input`
|
|
23923
23816
|
width: 100%;
|
|
23924
23817
|
height: 20px;
|
|
23925
23818
|
font-family: "Poppins";
|
|
@@ -23933,7 +23826,7 @@ const StyledInput$1 = styled__default["default"].input`
|
|
|
23933
23826
|
color: ${props => props.disabled ? '#D0D0D0' : '#b1b1b1'};
|
|
23934
23827
|
}
|
|
23935
23828
|
`;
|
|
23936
|
-
const OptionsContainer$
|
|
23829
|
+
const OptionsContainer$2 = styled__default["default"].div`
|
|
23937
23830
|
margin: 0;
|
|
23938
23831
|
top: 100%;
|
|
23939
23832
|
left: 0;
|
|
@@ -23974,7 +23867,7 @@ const OptionItem$1 = styled__default["default"].li`
|
|
|
23974
23867
|
color: #229e38;
|
|
23975
23868
|
}
|
|
23976
23869
|
`;
|
|
23977
|
-
const ErrorMessage$
|
|
23870
|
+
const ErrorMessage$2 = styled__default["default"].div`
|
|
23978
23871
|
font-size: 12px;
|
|
23979
23872
|
color: red;
|
|
23980
23873
|
margin-top: 5px;
|
|
@@ -24112,21 +24005,21 @@ const QuickFilterDropdownSingle = _ref => {
|
|
|
24112
24005
|
width: width,
|
|
24113
24006
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
24114
24007
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
24115
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$
|
|
24008
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$3, {
|
|
24116
24009
|
className: "InputContainer",
|
|
24117
24010
|
labelColor: labelColor,
|
|
24118
24011
|
hoverColor: hoverColor,
|
|
24119
24012
|
disabled: disabled,
|
|
24120
24013
|
error: error,
|
|
24121
24014
|
isFocused: isFocused
|
|
24122
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$
|
|
24015
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$2, {
|
|
24123
24016
|
className: "InputSubContainer",
|
|
24124
24017
|
ref: containerRef,
|
|
24125
24018
|
labelColor: labelColor,
|
|
24126
24019
|
disabled: disabled,
|
|
24127
24020
|
error: error,
|
|
24128
24021
|
onClick: handleLabelClick
|
|
24129
|
-
}, /*#__PURE__*/React__default["default"].createElement(Label$
|
|
24022
|
+
}, /*#__PURE__*/React__default["default"].createElement(Label$3, {
|
|
24130
24023
|
className: "Label",
|
|
24131
24024
|
isFocused: isFocused,
|
|
24132
24025
|
labelColor: labelColor,
|
|
@@ -24136,7 +24029,7 @@ const QuickFilterDropdownSingle = _ref => {
|
|
|
24136
24029
|
errorMessage: errorMessage,
|
|
24137
24030
|
onClick: handleLabelClick,
|
|
24138
24031
|
showLabelOnTop: showLabelOnTop
|
|
24139
|
-
}, label), /*#__PURE__*/React__default["default"].createElement(StyledInput$
|
|
24032
|
+
}, label), /*#__PURE__*/React__default["default"].createElement(StyledInput$3, {
|
|
24140
24033
|
className: "StyledInput",
|
|
24141
24034
|
ref: inputRef,
|
|
24142
24035
|
value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
|
|
@@ -24164,7 +24057,7 @@ const QuickFilterDropdownSingle = _ref => {
|
|
|
24164
24057
|
width: "12px",
|
|
24165
24058
|
height: "12px",
|
|
24166
24059
|
color: "#B1B1B1"
|
|
24167
|
-
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$
|
|
24060
|
+
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$2, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$2, {
|
|
24168
24061
|
className: "OptionsContainer",
|
|
24169
24062
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
24170
24063
|
onMouseLeave: () => setHoverOptionsContainer(false),
|
|
@@ -24233,7 +24126,7 @@ const DropdownWrapper = styled__default["default"].div`
|
|
|
24233
24126
|
font-size: 14px;
|
|
24234
24127
|
border-radius: 10px;
|
|
24235
24128
|
`;
|
|
24236
|
-
const Label$
|
|
24129
|
+
const Label$2 = styled__default["default"].label`
|
|
24237
24130
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
24238
24131
|
font-weight: 400;
|
|
24239
24132
|
padding-inline-end: 5px;
|
|
@@ -24256,7 +24149,7 @@ const Label$1 = styled__default["default"].label`
|
|
|
24256
24149
|
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
24257
24150
|
}
|
|
24258
24151
|
`;
|
|
24259
|
-
const InputContainer = styled__default["default"].div`
|
|
24152
|
+
const InputContainer$2 = styled__default["default"].div`
|
|
24260
24153
|
display: flex;
|
|
24261
24154
|
flex-direction: row;
|
|
24262
24155
|
flex-wrap: nowrap;
|
|
@@ -24287,7 +24180,7 @@ const InputContainer = styled__default["default"].div`
|
|
|
24287
24180
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
24288
24181
|
}
|
|
24289
24182
|
`;
|
|
24290
|
-
const InputSubContainer = styled__default["default"].div`
|
|
24183
|
+
const InputSubContainer$1 = styled__default["default"].div`
|
|
24291
24184
|
display: flex;
|
|
24292
24185
|
flex-direction: column;
|
|
24293
24186
|
flex-wrap: nowrap;
|
|
@@ -24306,7 +24199,7 @@ const InputSubContainer = styled__default["default"].div`
|
|
|
24306
24199
|
outline: none;
|
|
24307
24200
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
24308
24201
|
`;
|
|
24309
|
-
const StyledInput = styled__default["default"].input`
|
|
24202
|
+
const StyledInput$2 = styled__default["default"].input`
|
|
24310
24203
|
width: calc(100% - 20px);
|
|
24311
24204
|
height: 25px;
|
|
24312
24205
|
font-family: Poppins;
|
|
@@ -24317,7 +24210,7 @@ const StyledInput = styled__default["default"].input`
|
|
|
24317
24210
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
24318
24211
|
border: none;
|
|
24319
24212
|
`;
|
|
24320
|
-
const OptionsContainer = styled__default["default"].div`
|
|
24213
|
+
const OptionsContainer$1 = styled__default["default"].div`
|
|
24321
24214
|
margin: 0;
|
|
24322
24215
|
top: 100%;
|
|
24323
24216
|
left: 0;
|
|
@@ -24360,7 +24253,7 @@ const OptionItem = styled__default["default"].li`
|
|
|
24360
24253
|
background-color: #EDF6FF;
|
|
24361
24254
|
}
|
|
24362
24255
|
`;
|
|
24363
|
-
const ErrorMessage = styled__default["default"].div`
|
|
24256
|
+
const ErrorMessage$1 = styled__default["default"].div`
|
|
24364
24257
|
font-size: 12px;
|
|
24365
24258
|
color: red;
|
|
24366
24259
|
margin-top: 5px;
|
|
@@ -24578,20 +24471,20 @@ const QuickFilterDropdownMultiSelection = _ref => {
|
|
|
24578
24471
|
width: width,
|
|
24579
24472
|
onMouseEnter: () => setHoverInputContainer(true),
|
|
24580
24473
|
onMouseLeave: () => setHoverInputContainer(false)
|
|
24581
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputContainer, {
|
|
24474
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$2, {
|
|
24582
24475
|
className: "InputContainer",
|
|
24583
24476
|
labelColor: labelColor,
|
|
24584
24477
|
disabled: disabled,
|
|
24585
24478
|
error: error,
|
|
24586
24479
|
isFocused: isFocused
|
|
24587
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputSubContainer, {
|
|
24480
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$1, {
|
|
24588
24481
|
className: "InputSubContainer",
|
|
24589
24482
|
ref: containerRef,
|
|
24590
24483
|
labelColor: labelColor,
|
|
24591
24484
|
disabled: disabled,
|
|
24592
24485
|
error: error,
|
|
24593
24486
|
onClick: handleLabelClick
|
|
24594
|
-
}, /*#__PURE__*/React__default["default"].createElement(Label$
|
|
24487
|
+
}, /*#__PURE__*/React__default["default"].createElement(Label$2, {
|
|
24595
24488
|
className: "Label",
|
|
24596
24489
|
isFocused: isFocused,
|
|
24597
24490
|
labelColor: labelColor,
|
|
@@ -24601,7 +24494,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
|
|
|
24601
24494
|
errorMessage: errorMessage,
|
|
24602
24495
|
onClick: handleLabelClick,
|
|
24603
24496
|
showLabelOnTop: showLabelOnTop
|
|
24604
|
-
}, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React__default["default"].createElement(StyledInput, {
|
|
24497
|
+
}, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React__default["default"].createElement(StyledInput$2, {
|
|
24605
24498
|
className: "StyledInput",
|
|
24606
24499
|
ref: inputRef,
|
|
24607
24500
|
value: inputValue,
|
|
@@ -24631,7 +24524,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
|
|
|
24631
24524
|
width: "12px",
|
|
24632
24525
|
height: "12px",
|
|
24633
24526
|
color: "#B1B1B1"
|
|
24634
|
-
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer, {
|
|
24527
|
+
}))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$1, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$1, {
|
|
24635
24528
|
className: "OptionsContainer",
|
|
24636
24529
|
onMouseEnter: () => setHoverOptionsContainer(true),
|
|
24637
24530
|
onMouseLeave: () => setHoverOptionsContainer(false),
|
|
@@ -25241,7 +25134,7 @@ const TitleAndValueContainer$3 = styled__default["default"].div`
|
|
|
25241
25134
|
display: flex;
|
|
25242
25135
|
flex-direction: column;
|
|
25243
25136
|
`;
|
|
25244
|
-
const Title$
|
|
25137
|
+
const Title$j = styled__default["default"].h4`
|
|
25245
25138
|
font-weight: 400;
|
|
25246
25139
|
font-size: 20px;
|
|
25247
25140
|
margin: 0;
|
|
@@ -25304,7 +25197,7 @@ const FormattedValue$3 = props => {
|
|
|
25304
25197
|
width: width
|
|
25305
25198
|
}, /*#__PURE__*/React__default["default"].createElement(TitleAndValueContainer$3, {
|
|
25306
25199
|
className: "TitleAndValueContainer"
|
|
25307
|
-
}, title ? /*#__PURE__*/React__default["default"].createElement(Title$
|
|
25200
|
+
}, title ? /*#__PURE__*/React__default["default"].createElement(Title$j, {
|
|
25308
25201
|
className: "Title",
|
|
25309
25202
|
width: width
|
|
25310
25203
|
}, title) : '', showTopValue && /*#__PURE__*/React__default["default"].createElement(CurrencySignAndFormattedValueContainer$1, {
|
|
@@ -25316,7 +25209,7 @@ const FormattedValue$3 = props => {
|
|
|
25316
25209
|
className: "CurrencySignOrPercent"
|
|
25317
25210
|
}, currencySign ? getCurrencySign(currencyType, value) : ''), dotCut ? getFormattedValue(value && Math.abs(value) > 0 && value % 1 !== 0 ? value?.toFixed(2) : value) : getNumberWithCommas(value), dotCut ? getFormattedUnits(value) : '', /*#__PURE__*/React__default["default"].createElement(CurrencySignOrPercent, {
|
|
25318
25211
|
className: "CurrencySignOrPercent"
|
|
25319
|
-
}, isPercent ? '%' : ''))), subtitle ? /*#__PURE__*/React__default["default"].createElement(Title$
|
|
25212
|
+
}, isPercent ? '%' : ''))), subtitle ? /*#__PURE__*/React__default["default"].createElement(Title$j, {
|
|
25320
25213
|
className: "Title",
|
|
25321
25214
|
width: width
|
|
25322
25215
|
}, subtitle) : '')));
|
|
@@ -25386,7 +25279,7 @@ const TooltipTitle$8 = styled__default["default"].div`
|
|
|
25386
25279
|
const TitleAndValueContainer$2 = styled__default["default"].div`
|
|
25387
25280
|
padding: 0 1rem;
|
|
25388
25281
|
`;
|
|
25389
|
-
const Title$
|
|
25282
|
+
const Title$i = styled__default["default"].h5`
|
|
25390
25283
|
font-weight: 500;
|
|
25391
25284
|
font-size: 18px;
|
|
25392
25285
|
line-height: 20px;
|
|
@@ -25515,7 +25408,7 @@ const TitleAndIconContainer = styled__default["default"].div`
|
|
|
25515
25408
|
display: flex;
|
|
25516
25409
|
align-items: center;
|
|
25517
25410
|
`;
|
|
25518
|
-
const Title$
|
|
25411
|
+
const Title$h = styled__default["default"].h4`
|
|
25519
25412
|
font-weight: 400;
|
|
25520
25413
|
font-size: 14px;
|
|
25521
25414
|
line-height: 27px;
|
|
@@ -25569,7 +25462,7 @@ const PerformanceAnalyticsLegend = props => {
|
|
|
25569
25462
|
color: item.iconColor
|
|
25570
25463
|
}) : item.iconType === ICON_TYPE_LEGEND_LINE_ICON$3 ? /*#__PURE__*/React__default["default"].createElement(LegendLineIcon, {
|
|
25571
25464
|
color: item.iconColor
|
|
25572
|
-
}) : '', /*#__PURE__*/React__default["default"].createElement(Title$
|
|
25465
|
+
}) : '', /*#__PURE__*/React__default["default"].createElement(Title$h, {
|
|
25573
25466
|
id: "Title",
|
|
25574
25467
|
width: width
|
|
25575
25468
|
}, item.title))))) : '');
|
|
@@ -25724,7 +25617,7 @@ const BarChartsByWeeks = props => {
|
|
|
25724
25617
|
ref: controlsContainerRef
|
|
25725
25618
|
}, /*#__PURE__*/React__default["default"].createElement(Controls$a, {
|
|
25726
25619
|
height: getControlsHeight()
|
|
25727
|
-
}, showTitle && /*#__PURE__*/React__default["default"].createElement(TitleAndValueContainer$2, null, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
25620
|
+
}, showTitle && /*#__PURE__*/React__default["default"].createElement(TitleAndValueContainer$2, null, /*#__PURE__*/React__default["default"].createElement(Title$i, null, title), /*#__PURE__*/React__default["default"].createElement(FormattedValue$3, {
|
|
25728
25621
|
title: headerValueTopTitle,
|
|
25729
25622
|
subtitle: headerValueBottomTitle,
|
|
25730
25623
|
showTopValue: showHeaderTopValue,
|
|
@@ -25957,7 +25850,7 @@ const TitleAndValueContainer$1 = styled__default["default"].div`
|
|
|
25957
25850
|
flex-direction: column;
|
|
25958
25851
|
padding: 0 1.25em; /* 20px → 1.25em */
|
|
25959
25852
|
`;
|
|
25960
|
-
const Title$
|
|
25853
|
+
const Title$g = styled__default["default"].h4`
|
|
25961
25854
|
font-weight: 500;
|
|
25962
25855
|
font-size: ${props => props.titleFontSize || '1.125em'}; /* Default: 18px → 1.125em */
|
|
25963
25856
|
margin: 0;
|
|
@@ -26160,7 +26053,7 @@ const TotalDoughnutChart = props => {
|
|
|
26160
26053
|
width: width
|
|
26161
26054
|
}, !hideTitleAndValue && /*#__PURE__*/React__default["default"].createElement(TitleAndValueContainer$1, {
|
|
26162
26055
|
className: "TitleAndValueContainer"
|
|
26163
|
-
}, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
26056
|
+
}, /*#__PURE__*/React__default["default"].createElement(Title$g, {
|
|
26164
26057
|
className: "Title",
|
|
26165
26058
|
fontSize: titleFontSize
|
|
26166
26059
|
}, title), /*#__PURE__*/React__default["default"].createElement(CurrencySignAndFormattedValueContainer, {
|
|
@@ -26482,7 +26375,7 @@ const TotalValue = styled__default["default"].div`
|
|
|
26482
26375
|
font-size: 20px;
|
|
26483
26376
|
}
|
|
26484
26377
|
`;
|
|
26485
|
-
const Title$
|
|
26378
|
+
const Title$f = styled__default["default"].h4`
|
|
26486
26379
|
font-size: 18px;
|
|
26487
26380
|
font-weight: 400;
|
|
26488
26381
|
line-height: 1;
|
|
@@ -26639,7 +26532,7 @@ const TotalHorizontalCharts = props => {
|
|
|
26639
26532
|
}, chartsData?.length > 0 ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, !hideTitle || !hideTotalValue ? /*#__PURE__*/React__default["default"].createElement(CardHeader, {
|
|
26640
26533
|
ref: topHeader,
|
|
26641
26534
|
className: "CardHeader"
|
|
26642
|
-
}, !hideTitle ? /*#__PURE__*/React__default["default"].createElement(Title$
|
|
26535
|
+
}, !hideTitle ? /*#__PURE__*/React__default["default"].createElement(Title$f, null, title) : '', !hideTotalValue ? /*#__PURE__*/React__default["default"].createElement(TotalValue, {
|
|
26643
26536
|
className: "TotalValue"
|
|
26644
26537
|
}, currencySign && /*#__PURE__*/React__default["default"].createElement(CurrencySign, {
|
|
26645
26538
|
className: "CurrencySign"
|
|
@@ -26786,7 +26679,7 @@ const scrollableStyles$5 = `
|
|
|
26786
26679
|
border-radius: 5px;
|
|
26787
26680
|
}
|
|
26788
26681
|
`;
|
|
26789
|
-
const MainContainer$
|
|
26682
|
+
const MainContainer$2 = styled__default["default"].div`
|
|
26790
26683
|
display: flex;
|
|
26791
26684
|
flex-direction: row;
|
|
26792
26685
|
position: relative;
|
|
@@ -27054,7 +26947,7 @@ const MarketShareDescription = props => {
|
|
|
27054
26947
|
})) : '')));
|
|
27055
26948
|
return content;
|
|
27056
26949
|
};
|
|
27057
|
-
return /*#__PURE__*/React__default["default"].createElement(MainContainer$
|
|
26950
|
+
return /*#__PURE__*/React__default["default"].createElement(MainContainer$2, {
|
|
27058
26951
|
className: "MainContainer",
|
|
27059
26952
|
height: height,
|
|
27060
26953
|
width: width
|
|
@@ -27112,7 +27005,7 @@ const ItemContainer = styled__default["default"].div`
|
|
|
27112
27005
|
flex-direction: column;
|
|
27113
27006
|
flex-wrap: wrap;
|
|
27114
27007
|
`;
|
|
27115
|
-
const Title$
|
|
27008
|
+
const Title$e = styled__default["default"].h4`
|
|
27116
27009
|
font-size: 18px;
|
|
27117
27010
|
font-weight: 500;
|
|
27118
27011
|
margin: 0;
|
|
@@ -27228,7 +27121,7 @@ const SalesAndROI = props => {
|
|
|
27228
27121
|
showBorderShadow: showBorderShadow
|
|
27229
27122
|
}, /*#__PURE__*/React__default["default"].createElement(TitleAndValueContainer, {
|
|
27230
27123
|
id: "TitleAndValueContainer"
|
|
27231
|
-
}, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
27124
|
+
}, /*#__PURE__*/React__default["default"].createElement(Title$e, {
|
|
27232
27125
|
id: "Title"
|
|
27233
27126
|
}, title), showBanner && /*#__PURE__*/React__default["default"].createElement(OutBanner, {
|
|
27234
27127
|
id: "OutBanner",
|
|
@@ -27294,7 +27187,7 @@ const scrollableStyles$4 = `
|
|
|
27294
27187
|
border-radius: 5px;
|
|
27295
27188
|
}
|
|
27296
27189
|
`;
|
|
27297
|
-
const MainContainer = styled__default["default"].div``;
|
|
27190
|
+
const MainContainer$1 = styled__default["default"].div``;
|
|
27298
27191
|
const ModalOverlay = styled__default["default"].div`
|
|
27299
27192
|
position: fixed;
|
|
27300
27193
|
z-index: 100;
|
|
@@ -27327,7 +27220,7 @@ const TitleContainer$1 = styled__default["default"].div`
|
|
|
27327
27220
|
margin: 0;
|
|
27328
27221
|
border-bottom: 1px solid #b1b1b1;
|
|
27329
27222
|
`;
|
|
27330
|
-
const Title$
|
|
27223
|
+
const Title$d = styled__default["default"].p`
|
|
27331
27224
|
font-weight: 400;
|
|
27332
27225
|
font-size: 24px;
|
|
27333
27226
|
margin: 0;
|
|
@@ -27535,7 +27428,7 @@ const PopupCharts = props => {
|
|
|
27535
27428
|
}, item.title)), /*#__PURE__*/React__default["default"].createElement(ChartContentContainer, {
|
|
27536
27429
|
id: "ChartContentContainer"
|
|
27537
27430
|
}, displayChart(item)));
|
|
27538
|
-
return /*#__PURE__*/React__default["default"].createElement(MainContainer, {
|
|
27431
|
+
return /*#__PURE__*/React__default["default"].createElement(MainContainer$1, {
|
|
27539
27432
|
id: "MainContainer"
|
|
27540
27433
|
}, IsPopupChartsOpen && /*#__PURE__*/React__default["default"].createElement(ModalOverlay, {
|
|
27541
27434
|
id: "ModalOverlay",
|
|
@@ -27547,7 +27440,7 @@ const PopupCharts = props => {
|
|
|
27547
27440
|
height: height,
|
|
27548
27441
|
width: width,
|
|
27549
27442
|
onClick: e => e.stopPropagation()
|
|
27550
|
-
}, /*#__PURE__*/React__default["default"].createElement(TitleContainer$1, null, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
27443
|
+
}, /*#__PURE__*/React__default["default"].createElement(TitleContainer$1, null, /*#__PURE__*/React__default["default"].createElement(Title$d, null, title), /*#__PURE__*/React__default["default"].createElement(CloseXIconContainer, {
|
|
27551
27444
|
onClick: e => closePopupCharts(e)
|
|
27552
27445
|
}, /*#__PURE__*/React__default["default"].createElement(CloseXIcon, null))), /*#__PURE__*/React__default["default"].createElement(ChartsContainer, {
|
|
27553
27446
|
id: "ChartsContainer",
|
|
@@ -27645,7 +27538,7 @@ const TopToggleListMainContainer = styled__default["default"].div`
|
|
|
27645
27538
|
padding: 0 24px;
|
|
27646
27539
|
width: ${props => props.width};
|
|
27647
27540
|
`;
|
|
27648
|
-
const Title$
|
|
27541
|
+
const Title$c = styled__default["default"].h4`
|
|
27649
27542
|
font-size: 14px;
|
|
27650
27543
|
font-weight: 600;
|
|
27651
27544
|
margin: 20px 0 12px;
|
|
@@ -27675,7 +27568,7 @@ const TopToggleList = props => {
|
|
|
27675
27568
|
} = props;
|
|
27676
27569
|
return /*#__PURE__*/React__default["default"].createElement(TopToggleListMainContainer, {
|
|
27677
27570
|
width: width
|
|
27678
|
-
}, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
27571
|
+
}, /*#__PURE__*/React__default["default"].createElement(Title$c, null, title), /*#__PURE__*/React__default["default"].createElement(ListContainer, {
|
|
27679
27572
|
height: height
|
|
27680
27573
|
}, list.map(item => /*#__PURE__*/React__default["default"].createElement(ListItem, {
|
|
27681
27574
|
key: item.value
|
|
@@ -27737,7 +27630,7 @@ const TitleContainer = styled__default["default"].div`
|
|
|
27737
27630
|
justify-content: flex-start;
|
|
27738
27631
|
margin: 0 0 10px 0;
|
|
27739
27632
|
`;
|
|
27740
|
-
const Title$
|
|
27633
|
+
const Title$b = styled__default["default"].h3`
|
|
27741
27634
|
user-select: none;
|
|
27742
27635
|
text-align: left;
|
|
27743
27636
|
margin: 0;
|
|
@@ -28012,7 +27905,7 @@ const Heatmap = props => {
|
|
|
28012
27905
|
className: "HeatmapWrapper"
|
|
28013
27906
|
}, /*#__PURE__*/React__default["default"].createElement(TitleContainer, {
|
|
28014
27907
|
className: "TitleContainer"
|
|
28015
|
-
}, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
27908
|
+
}, /*#__PURE__*/React__default["default"].createElement(Title$b, {
|
|
28016
27909
|
className: "Title"
|
|
28017
27910
|
}, title)), refreshRequired && renderBars(), !refreshRequired && renderBars(), renderLegend()));
|
|
28018
27911
|
};
|
|
@@ -28431,7 +28324,7 @@ const TooltipTitle$7 = styled__default["default"].div`
|
|
|
28431
28324
|
font-size: 14px;
|
|
28432
28325
|
font-weight: 600;
|
|
28433
28326
|
`;
|
|
28434
|
-
const Title$
|
|
28327
|
+
const Title$a = styled__default["default"].h5`
|
|
28435
28328
|
font-weight: 500;
|
|
28436
28329
|
font-size: 18px;
|
|
28437
28330
|
line-height: 20px;
|
|
@@ -28592,7 +28485,7 @@ const BarChart = props => {
|
|
|
28592
28485
|
height: height,
|
|
28593
28486
|
width: width,
|
|
28594
28487
|
ref: controlsContainerRef
|
|
28595
|
-
}, /*#__PURE__*/React__default["default"].createElement(Controls$7, null, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
28488
|
+
}, /*#__PURE__*/React__default["default"].createElement(Controls$7, null, /*#__PURE__*/React__default["default"].createElement(Title$a, null, title), /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, {
|
|
28596
28489
|
width: "100%",
|
|
28597
28490
|
height: "100%"
|
|
28598
28491
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.BarChart, {
|
|
@@ -28765,7 +28658,7 @@ const Controls$6 = styled__default["default"].div`
|
|
|
28765
28658
|
flex-direction: column;
|
|
28766
28659
|
background-color: white;
|
|
28767
28660
|
`;
|
|
28768
|
-
const Title$
|
|
28661
|
+
const Title$9 = styled__default["default"].h5`
|
|
28769
28662
|
font-size: 18px;
|
|
28770
28663
|
font-weight: 400;
|
|
28771
28664
|
margin: 0 0 30px;
|
|
@@ -29031,9 +28924,9 @@ const DoubleBarSingleLine = props => {
|
|
|
29031
28924
|
noDataText: noDataText
|
|
29032
28925
|
}) : /*#__PURE__*/React__default["default"].createElement(Controls$6, {
|
|
29033
28926
|
className: "Controls"
|
|
29034
|
-
}, title && title.trim() !== '' && /*#__PURE__*/React__default["default"].createElement(Title$
|
|
28927
|
+
}, title && title.trim() !== '' && /*#__PURE__*/React__default["default"].createElement(Title$9, null, title), /*#__PURE__*/React__default["default"].createElement(ChartsWrapper, {
|
|
29035
28928
|
width: dynamicWidth //{hasScroll ? `${data.length * 178}px` : 'auto'}
|
|
29036
|
-
}, /*#__PURE__*/React__default["default"].createElement(LineChartWrapper, null, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, null, /*#__PURE__*/React__default["default"].createElement(recharts.LineChart, _extends({
|
|
28929
|
+
}, /*#__PURE__*/React__default["default"].createElement(LineChartWrapper, null, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, null, /*#__PURE__*/React__default["default"].createElement(recharts.LineChart, _extends$1({
|
|
29037
28930
|
data: transformedData
|
|
29038
28931
|
}, syncCharts, {
|
|
29039
28932
|
margin: {
|
|
@@ -29072,7 +28965,7 @@ const DoubleBarSingleLine = props => {
|
|
|
29072
28965
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.LabelList, {
|
|
29073
28966
|
content: CustomLabelLine,
|
|
29074
28967
|
position: "top"
|
|
29075
|
-
})))))), /*#__PURE__*/React__default["default"].createElement(BarChartWrapper, null, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, null, /*#__PURE__*/React__default["default"].createElement(recharts.BarChart, _extends({
|
|
28968
|
+
})))))), /*#__PURE__*/React__default["default"].createElement(BarChartWrapper, null, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, null, /*#__PURE__*/React__default["default"].createElement(recharts.BarChart, _extends$1({
|
|
29076
28969
|
data: data,
|
|
29077
28970
|
barGap: 13,
|
|
29078
28971
|
barCategoryGap: data.length >= limitViewableItems ? 178 : 50,
|
|
@@ -29135,7 +29028,7 @@ const CheckboxGroupContainer = styled__default["default"].div`
|
|
|
29135
29028
|
height: 21px;
|
|
29136
29029
|
gap: 20px;
|
|
29137
29030
|
`;
|
|
29138
|
-
const Title$
|
|
29031
|
+
const Title$8 = styled__default["default"].h5`
|
|
29139
29032
|
font-weight: 500;
|
|
29140
29033
|
font-size: 18px;
|
|
29141
29034
|
line-height: 20px;
|
|
@@ -29187,7 +29080,7 @@ const Controls$5 = styled__default["default"].div`
|
|
|
29187
29080
|
display: flex;
|
|
29188
29081
|
align-items: center;
|
|
29189
29082
|
`;
|
|
29190
|
-
const Label = styled__default["default"].div`
|
|
29083
|
+
const Label$1 = styled__default["default"].div`
|
|
29191
29084
|
display: flex;
|
|
29192
29085
|
padding: 0 10px 0 10px;
|
|
29193
29086
|
white-space: nowrap;
|
|
@@ -29267,7 +29160,7 @@ const CheckBox = props => {
|
|
|
29267
29160
|
width: iconSize,
|
|
29268
29161
|
height: iconSize,
|
|
29269
29162
|
color: disabled ? colorDisabled : colorUnchecked
|
|
29270
|
-
})), /*#__PURE__*/React__default["default"].createElement(Label, {
|
|
29163
|
+
})), /*#__PURE__*/React__default["default"].createElement(Label$1, {
|
|
29271
29164
|
className: "Label",
|
|
29272
29165
|
"data-testid": "label"
|
|
29273
29166
|
}, label)));
|
|
@@ -29463,7 +29356,7 @@ const AreaChart = props => {
|
|
|
29463
29356
|
height: height
|
|
29464
29357
|
}) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(HeaderContainer$2, {
|
|
29465
29358
|
"data-testid": "header-container"
|
|
29466
|
-
}, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
29359
|
+
}, /*#__PURE__*/React__default["default"].createElement(Title$8, {
|
|
29467
29360
|
"data-testid": "title"
|
|
29468
29361
|
}, title), /*#__PURE__*/React__default["default"].createElement(CheckboxGroupContainer, {
|
|
29469
29362
|
"data-testid": "checkbox-group-container"
|
|
@@ -29962,7 +29855,7 @@ const HeaderContainer$1 = styled__default["default"].div`
|
|
|
29962
29855
|
align-items: center;
|
|
29963
29856
|
padding-bottom: 8px;
|
|
29964
29857
|
`;
|
|
29965
|
-
const Title$
|
|
29858
|
+
const Title$7 = styled__default["default"].h3`
|
|
29966
29859
|
font-size: 18px;
|
|
29967
29860
|
font-weight: 400;
|
|
29968
29861
|
margin: 0;
|
|
@@ -30026,7 +29919,7 @@ const BreakdownPanel = props => {
|
|
|
30026
29919
|
height: height
|
|
30027
29920
|
}) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(HeaderContainer$1, {
|
|
30028
29921
|
"data-testid": "header-container"
|
|
30029
|
-
}, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
29922
|
+
}, /*#__PURE__*/React__default["default"].createElement(Title$7, {
|
|
30030
29923
|
"data-testid": "title"
|
|
30031
29924
|
}, title)), /*#__PURE__*/React__default["default"].createElement(CategorySalesMainContainer, {
|
|
30032
29925
|
"data-testid": "category-sales-main-container"
|
|
@@ -31542,7 +31435,7 @@ const ChartContainer = styled__default["default"].div`
|
|
|
31542
31435
|
width: 100%;
|
|
31543
31436
|
height: calc(100% - 70px);
|
|
31544
31437
|
`;
|
|
31545
|
-
const Title$
|
|
31438
|
+
const Title$6 = styled__default["default"].h2`
|
|
31546
31439
|
color: #212121;
|
|
31547
31440
|
font-family: "Poppins";
|
|
31548
31441
|
font-size: 18px;
|
|
@@ -32188,7 +32081,7 @@ const BrushChart = props => {
|
|
|
32188
32081
|
return /*#__PURE__*/React__default["default"].createElement(Container, {
|
|
32189
32082
|
height: height,
|
|
32190
32083
|
width: width
|
|
32191
|
-
}, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
32084
|
+
}, /*#__PURE__*/React__default["default"].createElement(Title$6, null, title), /*#__PURE__*/React__default["default"].createElement(SegmentedContainer, {
|
|
32192
32085
|
gap: "8px",
|
|
32193
32086
|
options: segmentedbuttonOptions ? segmentedbuttonOptions.map(value => ({
|
|
32194
32087
|
value
|
|
@@ -32252,7 +32145,7 @@ const Controls$3 = styled__default["default"].div`
|
|
|
32252
32145
|
padding: 12px 32px;
|
|
32253
32146
|
}
|
|
32254
32147
|
`;
|
|
32255
|
-
const Title$
|
|
32148
|
+
const Title$5 = styled__default["default"].span`
|
|
32256
32149
|
color: #212121;
|
|
32257
32150
|
display: inline-block;
|
|
32258
32151
|
font-size: 18px;
|
|
@@ -32513,7 +32406,7 @@ const SingleBarLineCharts = _ref => {
|
|
|
32513
32406
|
height: height
|
|
32514
32407
|
}, data?.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Controls$3, {
|
|
32515
32408
|
className: "Controls"
|
|
32516
|
-
}, title !== '' && /*#__PURE__*/React__default["default"].createElement(Title$
|
|
32409
|
+
}, title !== '' && /*#__PURE__*/React__default["default"].createElement(Title$5, null, title), totalsData.length > 0 && /*#__PURE__*/React__default["default"].createElement(LinnerDataBoxWrap, {
|
|
32517
32410
|
width: "40%",
|
|
32518
32411
|
height: "60px",
|
|
32519
32412
|
data: totalsData
|
|
@@ -32805,7 +32698,7 @@ const TooltipTitle$2 = styled__default["default"].div`
|
|
|
32805
32698
|
font-size: 14px;
|
|
32806
32699
|
font-weight: 600;
|
|
32807
32700
|
`;
|
|
32808
|
-
const Title$
|
|
32701
|
+
const Title$4 = styled__default["default"].h5`
|
|
32809
32702
|
font-weight: 500;
|
|
32810
32703
|
font-size: 18px;
|
|
32811
32704
|
line-height: 20px;
|
|
@@ -32981,7 +32874,7 @@ const BarChartWithAreaChart = props => {
|
|
|
32981
32874
|
ref: controlsContainerRef
|
|
32982
32875
|
}, /*#__PURE__*/React__default["default"].createElement(Controls$2, {
|
|
32983
32876
|
className: "Controls"
|
|
32984
|
-
}, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
32877
|
+
}, /*#__PURE__*/React__default["default"].createElement(Title$4, null, title), /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, {
|
|
32985
32878
|
height: barChartHeight
|
|
32986
32879
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.ComposedChart, {
|
|
32987
32880
|
data: barChartData
|
|
@@ -33054,7 +32947,7 @@ const Controls$1 = styled__default["default"].div`
|
|
|
33054
32947
|
padding: 12px 32px;
|
|
33055
32948
|
}
|
|
33056
32949
|
`;
|
|
33057
|
-
const Title$
|
|
32950
|
+
const Title$3 = styled__default["default"].span`
|
|
33058
32951
|
color: #212121;
|
|
33059
32952
|
display: inline-block;
|
|
33060
32953
|
font-size: 18px;
|
|
@@ -33209,7 +33102,7 @@ const BarChartTwoRows = props => {
|
|
|
33209
33102
|
ref: controlsContainerRef
|
|
33210
33103
|
}, /*#__PURE__*/React__default["default"].createElement(Controls$1, {
|
|
33211
33104
|
className: "Controls"
|
|
33212
|
-
}, title !== '' && /*#__PURE__*/React__default["default"].createElement(Title$
|
|
33105
|
+
}, title !== '' && /*#__PURE__*/React__default["default"].createElement(Title$3, null, title), /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, {
|
|
33213
33106
|
height: barChartHeight
|
|
33214
33107
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.BarChart, {
|
|
33215
33108
|
width: width,
|
|
@@ -33288,7 +33181,7 @@ const TooltipTitle = styled__default["default"].div`
|
|
|
33288
33181
|
font-size: 14px;
|
|
33289
33182
|
font-weight: 600;
|
|
33290
33183
|
`;
|
|
33291
|
-
const Title$
|
|
33184
|
+
const Title$2 = styled__default["default"].h5`
|
|
33292
33185
|
font-weight: 500;
|
|
33293
33186
|
font-size: 18px;
|
|
33294
33187
|
line-height: 20px;
|
|
@@ -33411,7 +33304,7 @@ const TwoBarCharts = props => {
|
|
|
33411
33304
|
height: height,
|
|
33412
33305
|
width: width,
|
|
33413
33306
|
ref: controlsContainerRef
|
|
33414
|
-
}, /*#__PURE__*/React__default["default"].createElement(Controls, null, /*#__PURE__*/React__default["default"].createElement(Title$
|
|
33307
|
+
}, /*#__PURE__*/React__default["default"].createElement(Controls, null, /*#__PURE__*/React__default["default"].createElement(Title$2, null, title), /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, {
|
|
33415
33308
|
width: "100%",
|
|
33416
33309
|
height: "100%"
|
|
33417
33310
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.BarChart, {
|
|
@@ -33591,7 +33484,7 @@ const TitleDiv = styled__default["default"].div`
|
|
|
33591
33484
|
font-size: 10px;
|
|
33592
33485
|
}
|
|
33593
33486
|
`;
|
|
33594
|
-
const TableWrapper = styled__default["default"].div`
|
|
33487
|
+
const TableWrapper$2 = styled__default["default"].div`
|
|
33595
33488
|
overflow-x: auto;
|
|
33596
33489
|
margin-bottom: 22px;
|
|
33597
33490
|
&::-webkit-scrollbar {
|
|
@@ -33608,7 +33501,7 @@ const TableWrapper = styled__default["default"].div`
|
|
|
33608
33501
|
border-radius: 5px;
|
|
33609
33502
|
}
|
|
33610
33503
|
`;
|
|
33611
|
-
const Table = styled__default["default"].table`
|
|
33504
|
+
const Table$2 = styled__default["default"].table`
|
|
33612
33505
|
width: 100%;
|
|
33613
33506
|
border-collapse: collapse;
|
|
33614
33507
|
overflow: auto;
|
|
@@ -33838,7 +33731,7 @@ const CollapseData = props => {
|
|
|
33838
33731
|
}) : /*#__PURE__*/React__default["default"].createElement(ArrowDownIcon, {
|
|
33839
33732
|
width: "11px",
|
|
33840
33733
|
height: "12px"
|
|
33841
|
-
})), /*#__PURE__*/React__default["default"].createElement(TitleDiv, null, `${parseFloat(section.value.toFixed(1))}${section.valueType}`))), activeIndex === section.key && /*#__PURE__*/React__default["default"].createElement(TableWrapper, null, /*#__PURE__*/React__default["default"].createElement(Table, null, /*#__PURE__*/React__default["default"].createElement("thead", null, /*#__PURE__*/React__default["default"].createElement("tr", null, section.table.map((headline, i) => /*#__PURE__*/React__default["default"].createElement(Th, {
|
|
33734
|
+
})), /*#__PURE__*/React__default["default"].createElement(TitleDiv, null, `${parseFloat(section.value.toFixed(1))}${section.valueType}`))), activeIndex === section.key && /*#__PURE__*/React__default["default"].createElement(TableWrapper$2, null, /*#__PURE__*/React__default["default"].createElement(Table$2, null, /*#__PURE__*/React__default["default"].createElement("thead", null, /*#__PURE__*/React__default["default"].createElement("tr", null, section.table.map((headline, i) => /*#__PURE__*/React__default["default"].createElement(Th, {
|
|
33842
33735
|
key: `${i + headline}`
|
|
33843
33736
|
}, headline.title)))), /*#__PURE__*/React__default["default"].createElement("tbody", null, /*#__PURE__*/React__default["default"].createElement("tr", null, section.table.map((data, i) => {
|
|
33844
33737
|
if (data.value !== null) {
|
|
@@ -33906,7 +33799,7 @@ const ModalContent = styled__default["default"].div`
|
|
|
33906
33799
|
padding: 1rem 0 3rem;
|
|
33907
33800
|
}
|
|
33908
33801
|
`;
|
|
33909
|
-
const Header = styled__default["default"].div`
|
|
33802
|
+
const Header$1 = styled__default["default"].div`
|
|
33910
33803
|
position: relative;
|
|
33911
33804
|
display: flex;
|
|
33912
33805
|
justify-content: space-between;
|
|
@@ -33938,7 +33831,7 @@ const CloseButton = styled__default["default"].button`
|
|
|
33938
33831
|
align-self: flex-end;
|
|
33939
33832
|
}
|
|
33940
33833
|
`;
|
|
33941
|
-
const Title = styled__default["default"].h2`
|
|
33834
|
+
const Title$1 = styled__default["default"].h2`
|
|
33942
33835
|
position: absolute;
|
|
33943
33836
|
display: flex;
|
|
33944
33837
|
align-items: center;
|
|
@@ -34116,7 +34009,7 @@ const InsightsCarousel = _ref => {
|
|
|
34116
34009
|
const nextIndex = (currentIndex + 1) % totalChildren;
|
|
34117
34010
|
return /*#__PURE__*/React__default["default"].createElement(Overlay, {
|
|
34118
34011
|
className: className
|
|
34119
|
-
}, /*#__PURE__*/React__default["default"].createElement(ModalContent, null, /*#__PURE__*/React__default["default"].createElement(Header, null, /*#__PURE__*/React__default["default"].createElement(Title, {
|
|
34012
|
+
}, /*#__PURE__*/React__default["default"].createElement(ModalContent, null, /*#__PURE__*/React__default["default"].createElement(Header$1, null, /*#__PURE__*/React__default["default"].createElement(Title$1, {
|
|
34120
34013
|
$titleColor: titleColor
|
|
34121
34014
|
}, /*#__PURE__*/React__default["default"].cloneElement(icon, {
|
|
34122
34015
|
fill: iconColor
|
|
@@ -34414,6 +34307,1531 @@ DownloadProgress.defaultProps = {
|
|
|
34414
34307
|
className: 'DownloadProgressMainContainer'
|
|
34415
34308
|
};
|
|
34416
34309
|
|
|
34310
|
+
const ModalWrapper = styled__default["default"].div`
|
|
34311
|
+
font-family: "Poppins", sans-serif;
|
|
34312
|
+
position: fixed;
|
|
34313
|
+
top: 0;
|
|
34314
|
+
left: 0;
|
|
34315
|
+
width: 100%;
|
|
34316
|
+
height: 100%;
|
|
34317
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
34318
|
+
display: flex;
|
|
34319
|
+
justify-content: center;
|
|
34320
|
+
align-items: center;
|
|
34321
|
+
`;
|
|
34322
|
+
const Modal = styled__default["default"].div`
|
|
34323
|
+
display: flex;
|
|
34324
|
+
gap: 30px;
|
|
34325
|
+
padding: 20px;
|
|
34326
|
+
flex-direction: column;
|
|
34327
|
+
background-color: white;
|
|
34328
|
+
border-radius: 12px;
|
|
34329
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
34330
|
+
`;
|
|
34331
|
+
const ModalHeader = styled__default["default"].div`
|
|
34332
|
+
display: flex;
|
|
34333
|
+
justify-content: space-between;
|
|
34334
|
+
`;
|
|
34335
|
+
const ModalButtons = styled__default["default"].div`
|
|
34336
|
+
display: flex;
|
|
34337
|
+
gap: 10px;
|
|
34338
|
+
`;
|
|
34339
|
+
const ModalTitle = styled__default["default"].h3`
|
|
34340
|
+
margin: 0;
|
|
34341
|
+
font-size: 24px;
|
|
34342
|
+
`;
|
|
34343
|
+
const ModalBody = styled__default["default"].div`
|
|
34344
|
+
flex-grow: 1;
|
|
34345
|
+
`;
|
|
34346
|
+
styled__default["default"].div`
|
|
34347
|
+
display: flex;
|
|
34348
|
+
justify-content: flex-end;
|
|
34349
|
+
padding: 20px;
|
|
34350
|
+
border-top: 1px solid #ddd;
|
|
34351
|
+
`;
|
|
34352
|
+
|
|
34353
|
+
const ModalWithOverlay = props => {
|
|
34354
|
+
const {
|
|
34355
|
+
title = '',
|
|
34356
|
+
children = null,
|
|
34357
|
+
onOk = () => {},
|
|
34358
|
+
onCancel = () => {},
|
|
34359
|
+
cancelButtonText = 'Cancel',
|
|
34360
|
+
cancelButtonLeftIcon = '',
|
|
34361
|
+
cancelButtonRightIcon = '',
|
|
34362
|
+
cancelButtonType = 'secondary',
|
|
34363
|
+
okButtonText = 'OK',
|
|
34364
|
+
okButtonLeftIcon = '',
|
|
34365
|
+
okButtonRightIcon = '',
|
|
34366
|
+
okButtonType = 'primary',
|
|
34367
|
+
width = '400px',
|
|
34368
|
+
height = 'auto',
|
|
34369
|
+
overlayTransparent = false,
|
|
34370
|
+
overlayOpacity = 0.797,
|
|
34371
|
+
showCancelButton = true,
|
|
34372
|
+
// Added this prop
|
|
34373
|
+
showOkButton = true // Added this prop
|
|
34374
|
+
} = props;
|
|
34375
|
+
const overlayStyle = {
|
|
34376
|
+
backgroundColor: overlayTransparent ? "transparent" : `rgba(0, 0, 0, ${overlayOpacity || 0.797})`
|
|
34377
|
+
};
|
|
34378
|
+
return /*#__PURE__*/React__default["default"].createElement(ModalWrapper, {
|
|
34379
|
+
className: "modal-wrapper",
|
|
34380
|
+
style: overlayStyle
|
|
34381
|
+
}, /*#__PURE__*/React__default["default"].createElement(Modal, {
|
|
34382
|
+
style: {
|
|
34383
|
+
width,
|
|
34384
|
+
height
|
|
34385
|
+
}
|
|
34386
|
+
}, /*#__PURE__*/React__default["default"].createElement(ModalHeader, {
|
|
34387
|
+
className: "modal-header"
|
|
34388
|
+
}, /*#__PURE__*/React__default["default"].createElement(ModalTitle, null, title), /*#__PURE__*/React__default["default"].createElement(ModalButtons, {
|
|
34389
|
+
className: "modal-buttons"
|
|
34390
|
+
}, showCancelButton && /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
34391
|
+
type: cancelButtonType,
|
|
34392
|
+
leftIcon: cancelButtonLeftIcon,
|
|
34393
|
+
rightIcon: cancelButtonRightIcon,
|
|
34394
|
+
text: cancelButtonText,
|
|
34395
|
+
onClick: onCancel
|
|
34396
|
+
}), showOkButton && /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
34397
|
+
type: okButtonType,
|
|
34398
|
+
leftIcon: okButtonLeftIcon,
|
|
34399
|
+
rightIcon: okButtonRightIcon,
|
|
34400
|
+
text: okButtonText,
|
|
34401
|
+
onClick: onOk
|
|
34402
|
+
}))), /*#__PURE__*/React__default["default"].createElement(ModalBody, {
|
|
34403
|
+
className: "modal-body"
|
|
34404
|
+
}, children)));
|
|
34405
|
+
};
|
|
34406
|
+
|
|
34407
|
+
/* ──────────────────────────────────────────
|
|
34408
|
+
COLORS – map to your design-system tokens
|
|
34409
|
+
Change only here if the palette shifts
|
|
34410
|
+
─────────────────────────────────────────── */
|
|
34411
|
+
const c = {
|
|
34412
|
+
surface: "#ffffff",
|
|
34413
|
+
text: "#212121",
|
|
34414
|
+
textSecondary: "#8d9299",
|
|
34415
|
+
primary: "#016672",
|
|
34416
|
+
// apply / highlight
|
|
34417
|
+
primaryLight: "#d1e7ea",
|
|
34418
|
+
border: "#e0e0e0"
|
|
34419
|
+
};
|
|
34420
|
+
|
|
34421
|
+
/* ───────────────────────── wrapper */
|
|
34422
|
+
const CalendarWrapper = styled__default["default"].div`
|
|
34423
|
+
width: 240px;
|
|
34424
|
+
padding: 16px 16px 12px;
|
|
34425
|
+
background: ${c.surface};
|
|
34426
|
+
border-radius: 8px;
|
|
34427
|
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
|
34428
|
+
user-select: none;
|
|
34429
|
+
`;
|
|
34430
|
+
|
|
34431
|
+
/* ───────────────────────── header */
|
|
34432
|
+
const Header = styled__default["default"].h4`
|
|
34433
|
+
margin: 0 0 12px;
|
|
34434
|
+
color: ${c.text};
|
|
34435
|
+
|
|
34436
|
+
/* Content/P3 Regular */
|
|
34437
|
+
font-family: Poppins;
|
|
34438
|
+
font-size: 12px;
|
|
34439
|
+
font-style: normal;
|
|
34440
|
+
font-weight: 400;
|
|
34441
|
+
line-height: normal;
|
|
34442
|
+
`;
|
|
34443
|
+
|
|
34444
|
+
/* ───────────────────────── grid */
|
|
34445
|
+
const Grid = styled__default["default"].div`
|
|
34446
|
+
display: grid;
|
|
34447
|
+
grid-template-columns: repeat(${({
|
|
34448
|
+
columns
|
|
34449
|
+
}) => columns}, 1fr);
|
|
34450
|
+
gap: 6px 0px;
|
|
34451
|
+
margin-bottom: 16px;
|
|
34452
|
+
`;
|
|
34453
|
+
|
|
34454
|
+
/* individual week cell */
|
|
34455
|
+
const WeekCell = styled__default["default"].div`
|
|
34456
|
+
padding: 6px 0;
|
|
34457
|
+
font-size: 13px;
|
|
34458
|
+
padding-top: 10px;
|
|
34459
|
+
padding-bottom: 10px;
|
|
34460
|
+
text-align: center;
|
|
34461
|
+
cursor: pointer;
|
|
34462
|
+
color: ${c.textSecondary};
|
|
34463
|
+
transition: background 0.15s ease;
|
|
34464
|
+
border-radius: 4px;
|
|
34465
|
+
|
|
34466
|
+
${({
|
|
34467
|
+
$selected
|
|
34468
|
+
}) => $selected && styled.css`
|
|
34469
|
+
|
|
34470
|
+
background: ${c.primary};
|
|
34471
|
+
color: #FFFFFF;
|
|
34472
|
+
`}
|
|
34473
|
+
|
|
34474
|
+
/* highlight range interior lighter */
|
|
34475
|
+
${({
|
|
34476
|
+
$isRangeMiddle
|
|
34477
|
+
}) => $isRangeMiddle && styled.css`
|
|
34478
|
+
background: ${c.primaryLight};
|
|
34479
|
+
border-radius: 0px;
|
|
34480
|
+
color: ${c.text};
|
|
34481
|
+
`}
|
|
34482
|
+
|
|
34483
|
+
&:hover {
|
|
34484
|
+
background: ${c.primaryLight};
|
|
34485
|
+
color: ${c.text};
|
|
34486
|
+
}
|
|
34487
|
+
text-align: center;
|
|
34488
|
+
font-feature-settings: "liga" off;
|
|
34489
|
+
|
|
34490
|
+
/* Content/P3 Regular */
|
|
34491
|
+
font-family: Poppins;
|
|
34492
|
+
font-size: 12px;
|
|
34493
|
+
font-style: normal;
|
|
34494
|
+
font-weight: 400;
|
|
34495
|
+
line-height: normal;
|
|
34496
|
+
`;
|
|
34497
|
+
|
|
34498
|
+
/* ───────────────────────── footer buttons */
|
|
34499
|
+
const Footer = styled__default["default"].div`
|
|
34500
|
+
display: flex;
|
|
34501
|
+
justify-content: space-between;
|
|
34502
|
+
gap: 8px;
|
|
34503
|
+
`;
|
|
34504
|
+
styled.css`
|
|
34505
|
+
flex: 1 1 0;
|
|
34506
|
+
height: 32px;
|
|
34507
|
+
font-weight: 600;
|
|
34508
|
+
font-size: 12px;
|
|
34509
|
+
line-height: 32px;
|
|
34510
|
+
text-align: center;
|
|
34511
|
+
border-radius: 6px;
|
|
34512
|
+
border: 1px solid transparent;
|
|
34513
|
+
cursor: pointer;
|
|
34514
|
+
transition:
|
|
34515
|
+
opacity 0.15s ease,
|
|
34516
|
+
background 0.15s ease;
|
|
34517
|
+
&:disabled {
|
|
34518
|
+
opacity: 0.4;
|
|
34519
|
+
cursor: default;
|
|
34520
|
+
}
|
|
34521
|
+
`;
|
|
34522
|
+
|
|
34523
|
+
/**
|
|
34524
|
+
* WeeksCalendar
|
|
34525
|
+
* -------------
|
|
34526
|
+
* Props
|
|
34527
|
+
* • year – four-digit year (required)
|
|
34528
|
+
* • defaultStartWeek – number | null
|
|
34529
|
+
* • defaultEndWeek – number | null
|
|
34530
|
+
* • onApply(start,end) – callback, both numbers (inclusive)
|
|
34531
|
+
* • onCancel() – callback
|
|
34532
|
+
*/
|
|
34533
|
+
const WeeksCalendar = ({
|
|
34534
|
+
year,
|
|
34535
|
+
defaultStartWeek = null,
|
|
34536
|
+
defaultEndWeek = null,
|
|
34537
|
+
onApply,
|
|
34538
|
+
onCancel
|
|
34539
|
+
}) => {
|
|
34540
|
+
// state -------------------------------------------------
|
|
34541
|
+
const [startWeek, setStartWeek] = React$1.useState(defaultStartWeek);
|
|
34542
|
+
const [endWeek, setEndWeek] = React$1.useState(defaultEndWeek);
|
|
34543
|
+
|
|
34544
|
+
// derived helpers --------------------------------------
|
|
34545
|
+
const hasSelection = startWeek !== null;
|
|
34546
|
+
const isRange = hasSelection && endWeek !== null && endWeek !== startWeek;
|
|
34547
|
+
const weeks = React$1.useMemo(() => [...Array(53)].map((_, i) => i + 1), []);
|
|
34548
|
+
const handleCellClick = week => {
|
|
34549
|
+
// first click → start
|
|
34550
|
+
|
|
34551
|
+
if (!hasSelection) {
|
|
34552
|
+
setStartWeek(week);
|
|
34553
|
+
setEndWeek(null);
|
|
34554
|
+
return;
|
|
34555
|
+
}
|
|
34556
|
+
// second click → decide range or single
|
|
34557
|
+
if (hasSelection && endWeek === null) {
|
|
34558
|
+
// second click on same cell turns it to single selection
|
|
34559
|
+
if (week === startWeek) {
|
|
34560
|
+
setEndWeek(null);
|
|
34561
|
+
return;
|
|
34562
|
+
}
|
|
34563
|
+
// ensure ascending order
|
|
34564
|
+
setEndWeek(week < startWeek ? startWeek : week);
|
|
34565
|
+
setStartWeek(week < startWeek ? week : startWeek);
|
|
34566
|
+
return;
|
|
34567
|
+
}
|
|
34568
|
+
// any later click resets selection and starts over
|
|
34569
|
+
setStartWeek(week);
|
|
34570
|
+
setEndWeek(null);
|
|
34571
|
+
};
|
|
34572
|
+
const clearAll = () => {
|
|
34573
|
+
setStartWeek(null);
|
|
34574
|
+
setEndWeek(null);
|
|
34575
|
+
};
|
|
34576
|
+
|
|
34577
|
+
// render ------------------------------------------------
|
|
34578
|
+
const title = !hasSelection ? "Select Weeks" : !isRange ? `Week ${startWeek}, ${year}` : `Weeks ${startWeek}-${endWeek}, ${year}`;
|
|
34579
|
+
return /*#__PURE__*/React__default["default"].createElement(CalendarWrapper, null, /*#__PURE__*/React__default["default"].createElement(Header, null, title), /*#__PURE__*/React__default["default"].createElement(Grid, {
|
|
34580
|
+
columns: 6
|
|
34581
|
+
}, weeks.map(wk => {
|
|
34582
|
+
const selected = wk === startWeek || isRange && wk >= startWeek && wk <= endWeek;
|
|
34583
|
+
return /*#__PURE__*/React__default["default"].createElement(WeekCell, {
|
|
34584
|
+
key: wk,
|
|
34585
|
+
"data-week": wk,
|
|
34586
|
+
$selected: selected,
|
|
34587
|
+
$isRangeMiddle: selected && wk !== startWeek && wk !== endWeek,
|
|
34588
|
+
onClick: () => handleCellClick(wk)
|
|
34589
|
+
}, wk);
|
|
34590
|
+
})), /*#__PURE__*/React__default["default"].createElement(Footer, null, /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
34591
|
+
type: "secondary",
|
|
34592
|
+
disabled: !hasSelection,
|
|
34593
|
+
onClick: clearAll,
|
|
34594
|
+
text: "CLEAR"
|
|
34595
|
+
}), /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
34596
|
+
type: "primary",
|
|
34597
|
+
disabled: !hasSelection,
|
|
34598
|
+
onClick: () => {
|
|
34599
|
+
if (hasSelection) onApply(startWeek, endWeek ?? startWeek);
|
|
34600
|
+
},
|
|
34601
|
+
text: "APPLY"
|
|
34602
|
+
}), onCancel && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
34603
|
+
style: {
|
|
34604
|
+
display: "none"
|
|
34605
|
+
},
|
|
34606
|
+
type: "button",
|
|
34607
|
+
onClick: onCancel
|
|
34608
|
+
})));
|
|
34609
|
+
};
|
|
34610
|
+
WeeksCalendar.propTypes = {
|
|
34611
|
+
year: PropTypes.number.isRequired,
|
|
34612
|
+
defaultStartWeek: PropTypes.number,
|
|
34613
|
+
defaultEndWeek: PropTypes.number,
|
|
34614
|
+
onApply: PropTypes.func.isRequired,
|
|
34615
|
+
onCancel: PropTypes.func
|
|
34616
|
+
};
|
|
34617
|
+
|
|
34618
|
+
/* src/components/WeeksPicker/WeeksPicker.style.js */
|
|
34619
|
+
const WeeksPickerContainer = styled__default["default"].div`
|
|
34620
|
+
position: relative;
|
|
34621
|
+
margin-bottom: 10px;
|
|
34622
|
+
width: ${props => props.width || '100%'};
|
|
34623
|
+
height: ${props => props.height || '60px'};
|
|
34624
|
+
`;
|
|
34625
|
+
const StyledInput$1 = styled__default["default"].input`
|
|
34626
|
+
padding: 20px;
|
|
34627
|
+
font-size: 14px;
|
|
34628
|
+
border-radius: ${props => props.borderRadius || '4px'};
|
|
34629
|
+
border: none;
|
|
34630
|
+
outline: none;
|
|
34631
|
+
width: ${props => props.width || '90%'};
|
|
34632
|
+
height: ${props => props.height || '60px'};
|
|
34633
|
+
transition: border-color 0.3s ease;
|
|
34634
|
+
font-size: 14px;
|
|
34635
|
+
font-weight: 400;
|
|
34636
|
+
box-sizing: border-box;
|
|
34637
|
+
color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
34638
|
+
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
34639
|
+
`;
|
|
34640
|
+
const StyledLabel = styled__default["default"].label`
|
|
34641
|
+
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
34642
|
+
width: ${props => props.isFocused || props.hasValue ? 'auto' : '150px'};
|
|
34643
|
+
color: ${props => props.disabled ? '#888' : (props.isFocused || props.hasValue ? props.borderColorFocus : '#757575') || '#333'};
|
|
34644
|
+
position: absolute;
|
|
34645
|
+
top: ${props => props.isFocused || props.hasValue ? '0px' : '50%'};
|
|
34646
|
+
left: 15px;
|
|
34647
|
+
background-color: ${props => props.isFocused || props.hasValue ? 'white' : 'transparent'};
|
|
34648
|
+
transform: translateY(-50%);
|
|
34649
|
+
transition: top 0.3s ease, font-size 0.3s ease;
|
|
34650
|
+
display: flex;
|
|
34651
|
+
font-weight: 400;
|
|
34652
|
+
align-items: center;
|
|
34653
|
+
box-sizing: border-box;
|
|
34654
|
+
cursor: pointer;
|
|
34655
|
+
`;
|
|
34656
|
+
const RequiredIndicator = styled__default["default"].span`
|
|
34657
|
+
color: red;
|
|
34658
|
+
margin-left: 5px;
|
|
34659
|
+
`;
|
|
34660
|
+
styled__default["default"].div`
|
|
34661
|
+
font-size: 12px;
|
|
34662
|
+
color: red;
|
|
34663
|
+
margin-top: 5px;
|
|
34664
|
+
`;
|
|
34665
|
+
const OptionsContainer = styled__default["default"].div`
|
|
34666
|
+
position: relative;
|
|
34667
|
+
z-index: 999;
|
|
34668
|
+
`;
|
|
34669
|
+
const InputContainer$1 = styled__default["default"].div`
|
|
34670
|
+
display: flex;
|
|
34671
|
+
flex-wrap: nowrap;
|
|
34672
|
+
justify-content: flex-start;
|
|
34673
|
+
align-content: center;
|
|
34674
|
+
white-space: pre-wrap;
|
|
34675
|
+
align-items: center;
|
|
34676
|
+
overflow: hidden;
|
|
34677
|
+
width: 100%;
|
|
34678
|
+
height: 100%;
|
|
34679
|
+
box-sizing: border-box;
|
|
34680
|
+
background-color: transparent;
|
|
34681
|
+
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : '#B1B1B1'};
|
|
34682
|
+
font-family: "Poppins", sans-serif;
|
|
34683
|
+
font-weight: 400;
|
|
34684
|
+
font-size: 14px;
|
|
34685
|
+
border-radius: 12px;
|
|
34686
|
+
outline: none;
|
|
34687
|
+
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
34688
|
+
|
|
34689
|
+
&:hover {
|
|
34690
|
+
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
34691
|
+
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
34692
|
+
}
|
|
34693
|
+
|
|
34694
|
+
&:focus {
|
|
34695
|
+
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
34696
|
+
}
|
|
34697
|
+
`;
|
|
34698
|
+
const CalendarDiv = styled__default["default"].div`
|
|
34699
|
+
position: absolute;
|
|
34700
|
+
top: 16px;
|
|
34701
|
+
right: 10px;
|
|
34702
|
+
`;
|
|
34703
|
+
|
|
34704
|
+
// src/components/WeeksPicker/WeeksPicker.jsx
|
|
34705
|
+
const WeeksPicker = _ref => {
|
|
34706
|
+
let {
|
|
34707
|
+
label,
|
|
34708
|
+
disabled,
|
|
34709
|
+
borderColor,
|
|
34710
|
+
borderColorFocus,
|
|
34711
|
+
textColor,
|
|
34712
|
+
required,
|
|
34713
|
+
placeholder,
|
|
34714
|
+
borderRadius,
|
|
34715
|
+
year,
|
|
34716
|
+
width,
|
|
34717
|
+
height,
|
|
34718
|
+
onChange,
|
|
34719
|
+
selectedValue
|
|
34720
|
+
} = _ref;
|
|
34721
|
+
const [value, setValue] = React$1.useState("");
|
|
34722
|
+
const inputRef = React$1.useRef(null);
|
|
34723
|
+
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
34724
|
+
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
34725
|
+
const handleToggle = () => {
|
|
34726
|
+
setIsOpen(!isOpen);
|
|
34727
|
+
};
|
|
34728
|
+
const onChangeEvent = e => {
|
|
34729
|
+
onChange(e.target.value);
|
|
34730
|
+
setValue(e.target.value);
|
|
34731
|
+
};
|
|
34732
|
+
React$1.useEffect(() => {
|
|
34733
|
+
if (selectedValue) {
|
|
34734
|
+
setValue(selectedValue);
|
|
34735
|
+
}
|
|
34736
|
+
}, [selectedValue]);
|
|
34737
|
+
const handleApply = () => {
|
|
34738
|
+
setIsOpen(false);
|
|
34739
|
+
};
|
|
34740
|
+
const handleCancel = () => {
|
|
34741
|
+
setIsOpen(false);
|
|
34742
|
+
};
|
|
34743
|
+
const handleFocus = () => {
|
|
34744
|
+
setIsFocused(true);
|
|
34745
|
+
};
|
|
34746
|
+
const handleBlur = () => {
|
|
34747
|
+
setIsFocused(false);
|
|
34748
|
+
};
|
|
34749
|
+
return /*#__PURE__*/React__default["default"].createElement(WeeksPickerContainer, {
|
|
34750
|
+
width: width,
|
|
34751
|
+
height: height
|
|
34752
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputContainer$1, {
|
|
34753
|
+
onClick: handleToggle,
|
|
34754
|
+
className: "InputContainer",
|
|
34755
|
+
isFocused: isFocused,
|
|
34756
|
+
hasValue: value,
|
|
34757
|
+
disabled: disabled,
|
|
34758
|
+
textColor: textColor,
|
|
34759
|
+
borderColor: borderColor,
|
|
34760
|
+
borderColorFocus: borderColorFocus
|
|
34761
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledLabel, {
|
|
34762
|
+
className: "StyledLabel",
|
|
34763
|
+
onClick: handleFocus,
|
|
34764
|
+
isFocused: isFocused,
|
|
34765
|
+
hasValue: value,
|
|
34766
|
+
disabled: disabled,
|
|
34767
|
+
textColor: textColor,
|
|
34768
|
+
borderColor: borderColor,
|
|
34769
|
+
borderColorFocus: borderColorFocus
|
|
34770
|
+
}, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$1, {
|
|
34771
|
+
className: "StyledInput",
|
|
34772
|
+
ref: inputRef,
|
|
34773
|
+
value: value,
|
|
34774
|
+
onChange: onChangeEvent,
|
|
34775
|
+
onFocus: handleFocus,
|
|
34776
|
+
onBlur: handleBlur,
|
|
34777
|
+
isFocused: isFocused,
|
|
34778
|
+
borderColorFocus: borderColorFocus,
|
|
34779
|
+
borderRadius: borderRadius,
|
|
34780
|
+
width: width,
|
|
34781
|
+
height: height,
|
|
34782
|
+
placeholder: isFocused ? placeholder : "",
|
|
34783
|
+
disabled: disabled,
|
|
34784
|
+
borderColor: borderColor,
|
|
34785
|
+
textColor: textColor
|
|
34786
|
+
}), /*#__PURE__*/React__default["default"].createElement(CalendarDiv, {
|
|
34787
|
+
onClick: handleToggle
|
|
34788
|
+
}, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, null) : /*#__PURE__*/React__default["default"].createElement(Calendar, null))), isOpen && /*#__PURE__*/React__default["default"].createElement(OptionsContainer, null, /*#__PURE__*/React__default["default"].createElement(WeeksCalendar, {
|
|
34789
|
+
year: year,
|
|
34790
|
+
onApply: (start, end) => {
|
|
34791
|
+
handleApply();
|
|
34792
|
+
const tempValue = end === start ? `Week ${start},${year}` : `Weeks ${start} - ${end},${year}`;
|
|
34793
|
+
onChange(tempValue);
|
|
34794
|
+
setValue(tempValue);
|
|
34795
|
+
setIsOpen(!isOpen);
|
|
34796
|
+
// close your modal here if needed …
|
|
34797
|
+
},
|
|
34798
|
+
onCancel: () => handleCancel()
|
|
34799
|
+
})));
|
|
34800
|
+
};
|
|
34801
|
+
WeeksPicker.propTypes = {
|
|
34802
|
+
label: PropTypes.string.isRequired,
|
|
34803
|
+
year: PropTypes.number.isRequired,
|
|
34804
|
+
onChange: PropTypes.func.isRequired,
|
|
34805
|
+
defaultValues: PropTypes.arrayOf(PropTypes.number),
|
|
34806
|
+
saveStartWeekID: PropTypes.func.isRequired,
|
|
34807
|
+
saveEndWeekID: PropTypes.func.isRequired
|
|
34808
|
+
};
|
|
34809
|
+
|
|
34810
|
+
var DefaultContext = {
|
|
34811
|
+
color: undefined,
|
|
34812
|
+
size: undefined,
|
|
34813
|
+
className: undefined,
|
|
34814
|
+
style: undefined,
|
|
34815
|
+
attr: undefined
|
|
34816
|
+
};
|
|
34817
|
+
var IconContext = React__default["default"].createContext && /*#__PURE__*/React__default["default"].createContext(DefaultContext);
|
|
34818
|
+
|
|
34819
|
+
var _excluded = ["attr", "size", "title"];
|
|
34820
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
34821
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
34822
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
34823
|
+
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; }
|
|
34824
|
+
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; }
|
|
34825
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
34826
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
34827
|
+
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); }
|
|
34828
|
+
function Tree2Element(tree) {
|
|
34829
|
+
return tree && tree.map((node, i) => /*#__PURE__*/React__default["default"].createElement(node.tag, _objectSpread({
|
|
34830
|
+
key: i
|
|
34831
|
+
}, node.attr), Tree2Element(node.child)));
|
|
34832
|
+
}
|
|
34833
|
+
function GenIcon(data) {
|
|
34834
|
+
return props => /*#__PURE__*/React__default["default"].createElement(IconBase, _extends({
|
|
34835
|
+
attr: _objectSpread({}, data.attr)
|
|
34836
|
+
}, props), Tree2Element(data.child));
|
|
34837
|
+
}
|
|
34838
|
+
function IconBase(props) {
|
|
34839
|
+
var elem = conf => {
|
|
34840
|
+
var {
|
|
34841
|
+
attr,
|
|
34842
|
+
size,
|
|
34843
|
+
title
|
|
34844
|
+
} = props,
|
|
34845
|
+
svgProps = _objectWithoutProperties(props, _excluded);
|
|
34846
|
+
var computedSize = size || conf.size || "1em";
|
|
34847
|
+
var className;
|
|
34848
|
+
if (conf.className) className = conf.className;
|
|
34849
|
+
if (props.className) className = (className ? className + " " : "") + props.className;
|
|
34850
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
34851
|
+
stroke: "currentColor",
|
|
34852
|
+
fill: "currentColor",
|
|
34853
|
+
strokeWidth: "0"
|
|
34854
|
+
}, conf.attr, attr, svgProps, {
|
|
34855
|
+
className: className,
|
|
34856
|
+
style: _objectSpread(_objectSpread({
|
|
34857
|
+
color: props.color || conf.color
|
|
34858
|
+
}, conf.style), props.style),
|
|
34859
|
+
height: computedSize,
|
|
34860
|
+
width: computedSize,
|
|
34861
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
34862
|
+
}), title && /*#__PURE__*/React__default["default"].createElement("title", null, title), props.children);
|
|
34863
|
+
};
|
|
34864
|
+
return IconContext !== undefined ? /*#__PURE__*/React__default["default"].createElement(IconContext.Consumer, null, conf => elem(conf)) : elem(DefaultContext);
|
|
34865
|
+
}
|
|
34866
|
+
|
|
34867
|
+
// THIS FILE IS AUTO GENERATED
|
|
34868
|
+
function FaEyeSlash (props) {
|
|
34869
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 640 512"},"child":[{"tag":"path","attr":{"d":"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"},"child":[]}]})(props);
|
|
34870
|
+
}
|
|
34871
|
+
|
|
34872
|
+
const IconWrapper$1 = styled__default["default"].div`
|
|
34873
|
+
display: flex;
|
|
34874
|
+
align-items: center;
|
|
34875
|
+
justify-content: center;
|
|
34876
|
+
align-content: center;
|
|
34877
|
+
padding: 2px;
|
|
34878
|
+
cursor: ${props => props.disabled ? 'not-allowed' : props.pointer || 'default'};
|
|
34879
|
+
`;
|
|
34880
|
+
|
|
34881
|
+
// eslint-disable-next-line import/prefer-default-export
|
|
34882
|
+
const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBackOnClick) => {
|
|
34883
|
+
const newIconHeight = iconHeight || '12px';
|
|
34884
|
+
const newIconWidth = iconWidth || '12px';
|
|
34885
|
+
const newColor = disabled ? '#D0D0D0' : color || '#212121';
|
|
34886
|
+
switch (icon.toLowerCase()) {
|
|
34887
|
+
case 'filter':
|
|
34888
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
34889
|
+
className: "FilterIcon",
|
|
34890
|
+
pointer: pointer,
|
|
34891
|
+
disabled: disabled,
|
|
34892
|
+
onClick: callBackOnClick
|
|
34893
|
+
}, /*#__PURE__*/React__default["default"].createElement(FilterIcon, {
|
|
34894
|
+
height: newIconHeight,
|
|
34895
|
+
width: newIconWidth,
|
|
34896
|
+
color: newColor,
|
|
34897
|
+
onClick: callBackOnClick
|
|
34898
|
+
}));
|
|
34899
|
+
case 'options':
|
|
34900
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
34901
|
+
className: "OptionsIcon",
|
|
34902
|
+
pointer: pointer,
|
|
34903
|
+
disabled: disabled,
|
|
34904
|
+
onClick: callBackOnClick
|
|
34905
|
+
}, /*#__PURE__*/React__default["default"].createElement(OptionsIcon, {
|
|
34906
|
+
height: newIconHeight,
|
|
34907
|
+
width: newIconWidth,
|
|
34908
|
+
color: newColor,
|
|
34909
|
+
onClick: callBackOnClick
|
|
34910
|
+
}));
|
|
34911
|
+
case 'download':
|
|
34912
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
34913
|
+
className: "DownloadIcon",
|
|
34914
|
+
pointer: pointer,
|
|
34915
|
+
disabled: disabled,
|
|
34916
|
+
onClick: callBackOnClick
|
|
34917
|
+
}, /*#__PURE__*/React__default["default"].createElement(DownloadIcon, {
|
|
34918
|
+
height: newIconHeight,
|
|
34919
|
+
width: newIconWidth,
|
|
34920
|
+
color: newColor,
|
|
34921
|
+
onClick: callBackOnClick
|
|
34922
|
+
}));
|
|
34923
|
+
case 'document':
|
|
34924
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
34925
|
+
className: "DocumentIcon",
|
|
34926
|
+
pointer: pointer,
|
|
34927
|
+
disabled: disabled,
|
|
34928
|
+
onClick: callBackOnClick
|
|
34929
|
+
}, /*#__PURE__*/React__default["default"].createElement(DocumentIcon, {
|
|
34930
|
+
height: newIconHeight,
|
|
34931
|
+
width: newIconWidth,
|
|
34932
|
+
color: newColor,
|
|
34933
|
+
onClick: callBackOnClick
|
|
34934
|
+
}));
|
|
34935
|
+
case 'fly':
|
|
34936
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
34937
|
+
className: "FlyIcon",
|
|
34938
|
+
pointer: pointer,
|
|
34939
|
+
disabled: disabled,
|
|
34940
|
+
onClick: callBackOnClick
|
|
34941
|
+
}, /*#__PURE__*/React__default["default"].createElement(FlyIcon, {
|
|
34942
|
+
height: newIconHeight,
|
|
34943
|
+
width: newIconWidth,
|
|
34944
|
+
color: newColor,
|
|
34945
|
+
onClick: callBackOnClick
|
|
34946
|
+
}));
|
|
34947
|
+
case 'bell':
|
|
34948
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
34949
|
+
className: "BellIcon",
|
|
34950
|
+
pointer: pointer,
|
|
34951
|
+
disabled: disabled,
|
|
34952
|
+
onClick: callBackOnClick
|
|
34953
|
+
}, /*#__PURE__*/React__default["default"].createElement(BellIcon, {
|
|
34954
|
+
height: newIconHeight,
|
|
34955
|
+
width: newIconWidth,
|
|
34956
|
+
color: newColor,
|
|
34957
|
+
onClick: callBackOnClick
|
|
34958
|
+
}));
|
|
34959
|
+
case 'maintenance':
|
|
34960
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
34961
|
+
className: "MaintenanceIcon",
|
|
34962
|
+
pointer: pointer,
|
|
34963
|
+
disabled: disabled,
|
|
34964
|
+
onClick: callBackOnClick
|
|
34965
|
+
}, /*#__PURE__*/React__default["default"].createElement(MaintenanceIcon, {
|
|
34966
|
+
height: newIconHeight,
|
|
34967
|
+
width: newIconWidth,
|
|
34968
|
+
color: newColor,
|
|
34969
|
+
onClick: callBackOnClick
|
|
34970
|
+
}));
|
|
34971
|
+
case 'exit':
|
|
34972
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
34973
|
+
className: "ExitIcon",
|
|
34974
|
+
pointer: pointer,
|
|
34975
|
+
disabled: disabled,
|
|
34976
|
+
onClick: callBackOnClick
|
|
34977
|
+
}, /*#__PURE__*/React__default["default"].createElement(ExitIcon, {
|
|
34978
|
+
height: newIconHeight,
|
|
34979
|
+
width: newIconWidth,
|
|
34980
|
+
color: newColor,
|
|
34981
|
+
onClick: callBackOnClick
|
|
34982
|
+
}));
|
|
34983
|
+
case 'eye':
|
|
34984
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
34985
|
+
className: "EyeIcon",
|
|
34986
|
+
pointer: pointer,
|
|
34987
|
+
disabled: disabled,
|
|
34988
|
+
onClick: callBackOnClick
|
|
34989
|
+
}, /*#__PURE__*/React__default["default"].createElement(EyeIcon, {
|
|
34990
|
+
height: newIconHeight,
|
|
34991
|
+
width: newIconWidth,
|
|
34992
|
+
color: newColor,
|
|
34993
|
+
onClick: callBackOnClick
|
|
34994
|
+
}));
|
|
34995
|
+
case 'search':
|
|
34996
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
|
|
34997
|
+
className: "SearchIcon",
|
|
34998
|
+
pointer: pointer,
|
|
34999
|
+
disabled: disabled,
|
|
35000
|
+
onClick: callBackOnClick
|
|
35001
|
+
}, /*#__PURE__*/React__default["default"].createElement(SearchIcon, {
|
|
35002
|
+
height: newIconHeight,
|
|
35003
|
+
width: newIconWidth,
|
|
35004
|
+
color: newColor,
|
|
35005
|
+
onClick: callBackOnClick
|
|
35006
|
+
}));
|
|
35007
|
+
default:
|
|
35008
|
+
return '';
|
|
35009
|
+
}
|
|
35010
|
+
};
|
|
35011
|
+
|
|
35012
|
+
/* eslint-disable no-nested-ternary */
|
|
35013
|
+
const MainContainer = styled__default["default"].div`
|
|
35014
|
+
position: relative;
|
|
35015
|
+
display: flex;
|
|
35016
|
+
flex-direction: column;
|
|
35017
|
+
align-content: center;
|
|
35018
|
+
justify-content: center;
|
|
35019
|
+
align-items: flex-start;
|
|
35020
|
+
width: ${props => props.width || '300px'};
|
|
35021
|
+
font-family: "Poppins", sans-serif;
|
|
35022
|
+
font-weight: 400;
|
|
35023
|
+
font-size: 14px;
|
|
35024
|
+
border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
|
|
35025
|
+
padding: 0;
|
|
35026
|
+
cursor: ${props => props.disabled ? 'not-allowed' : 'default'};
|
|
35027
|
+
`;
|
|
35028
|
+
const Label = styled__default["default"].label`
|
|
35029
|
+
|
|
35030
|
+
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
35031
|
+
font-weight: 400;
|
|
35032
|
+
padding-inline-end: 5px;
|
|
35033
|
+
padding-inline-start: 5px;
|
|
35034
|
+
margin-right: 10px;
|
|
35035
|
+
z-index: 2;
|
|
35036
|
+
color: ${props => props.error ? 'red' : props.disabled ? '#D0D0D0' : props.labelColor};
|
|
35037
|
+
background-color: white;
|
|
35038
|
+
position: absolute;
|
|
35039
|
+
top: ${props => props.isFocused || props.hasValue ? '0px' : props.size === 'medium' ? '27px' : '17px'};
|
|
35040
|
+
left: ${props => props.isFocused || props.hasValue ? '23px' : props.leftIcon && props.leftIcon !== 'none' ? '42px' : '16px'};
|
|
35041
|
+
font-family: Poppins;
|
|
35042
|
+
transform: translateY(-50%);
|
|
35043
|
+
transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
|
|
35044
|
+
display: flex;
|
|
35045
|
+
align-items: center;
|
|
35046
|
+
box-sizing: border-box;
|
|
35047
|
+
max-height: 16px;
|
|
35048
|
+
gap: 4px;
|
|
35049
|
+
&:hover {
|
|
35050
|
+
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
35051
|
+
}
|
|
35052
|
+
`;
|
|
35053
|
+
const InputContainer = styled__default["default"].div`
|
|
35054
|
+
|
|
35055
|
+
display: flex;
|
|
35056
|
+
flex-direction: row;
|
|
35057
|
+
flex-wrap: nowrap;
|
|
35058
|
+
justify-content: flex-start;
|
|
35059
|
+
align-content: center;
|
|
35060
|
+
white-space: pre-wrap;
|
|
35061
|
+
align-items: center;
|
|
35062
|
+
overflow: hidden;
|
|
35063
|
+
padding: 0 16px;
|
|
35064
|
+
gap: 14px;
|
|
35065
|
+
width: 100%;
|
|
35066
|
+
height: 100%;
|
|
35067
|
+
box-sizing: border-box;
|
|
35068
|
+
background-color: #fff;
|
|
35069
|
+
border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : '#B1B1B1'};
|
|
35070
|
+
font-family: "Poppins", sans-serif;
|
|
35071
|
+
font-weight: 400;
|
|
35072
|
+
font-size: 14px;
|
|
35073
|
+
border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
|
|
35074
|
+
outline: none;
|
|
35075
|
+
color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
|
|
35076
|
+
|
|
35077
|
+
&:hover {
|
|
35078
|
+
border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
35079
|
+
}
|
|
35080
|
+
|
|
35081
|
+
&:focus {
|
|
35082
|
+
border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
35083
|
+
}
|
|
35084
|
+
|
|
35085
|
+
`;
|
|
35086
|
+
const InputSubContainer = styled__default["default"].div`
|
|
35087
|
+
|
|
35088
|
+
display: flex;
|
|
35089
|
+
flex-direction: column;
|
|
35090
|
+
flex-wrap: nowrap;
|
|
35091
|
+
align-content: center;
|
|
35092
|
+
align-items: flex-start;
|
|
35093
|
+
justify-content: center;
|
|
35094
|
+
white-space: pre-wrap;
|
|
35095
|
+
overflow: hidden;
|
|
35096
|
+
padding: 5px 0;
|
|
35097
|
+
width: 100%;
|
|
35098
|
+
height: 100%;
|
|
35099
|
+
min-height: ${props => props.size === 'medium' ? '52px' : '32px'};
|
|
35100
|
+
box-sizing: border-box;
|
|
35101
|
+
background-color: #fff;
|
|
35102
|
+
border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
|
|
35103
|
+
outline: none;
|
|
35104
|
+
color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
|
|
35105
|
+
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
35106
|
+
`;
|
|
35107
|
+
const StyledInput = styled__default["default"].input`
|
|
35108
|
+
width: calc(100% - 10px);
|
|
35109
|
+
height: 20px;
|
|
35110
|
+
font-family: Poppins;
|
|
35111
|
+
font-weight: 400;
|
|
35112
|
+
font-size: 14px;
|
|
35113
|
+
outline: none;
|
|
35114
|
+
color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
|
|
35115
|
+
background-color: #fff;
|
|
35116
|
+
border: none;
|
|
35117
|
+
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
35118
|
+
`;
|
|
35119
|
+
const ErrorMessage = styled__default["default"].div`
|
|
35120
|
+
font-size: 12px;
|
|
35121
|
+
color: red;
|
|
35122
|
+
margin-top: 5px;
|
|
35123
|
+
max-width: ${props => props.width || '300px'};
|
|
35124
|
+
`;
|
|
35125
|
+
const IconWrapper = styled__default["default"].div`
|
|
35126
|
+
display: flex;
|
|
35127
|
+
align-items: center;
|
|
35128
|
+
justify-content: center;
|
|
35129
|
+
align-content: center;
|
|
35130
|
+
padding: 2px;
|
|
35131
|
+
&:hover{
|
|
35132
|
+
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
35133
|
+
}
|
|
35134
|
+
`;
|
|
35135
|
+
|
|
35136
|
+
/* eslint-disable import/no-extraneous-dependencies */
|
|
35137
|
+
const Input = _ref => {
|
|
35138
|
+
let {
|
|
35139
|
+
label,
|
|
35140
|
+
labelEmptyValue,
|
|
35141
|
+
size,
|
|
35142
|
+
selectedValue,
|
|
35143
|
+
placeHolder,
|
|
35144
|
+
onChange,
|
|
35145
|
+
onBlur,
|
|
35146
|
+
required,
|
|
35147
|
+
disabled,
|
|
35148
|
+
width,
|
|
35149
|
+
error,
|
|
35150
|
+
errorMessage,
|
|
35151
|
+
labelColor,
|
|
35152
|
+
leftIcon,
|
|
35153
|
+
rightIcon,
|
|
35154
|
+
password,
|
|
35155
|
+
leftIconOnClick,
|
|
35156
|
+
rightIconOnClick
|
|
35157
|
+
} = _ref;
|
|
35158
|
+
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
35159
|
+
const [inputValue, setInputValue] = React$1.useState('');
|
|
35160
|
+
const [showPassword, setShowPassword] = React$1.useState(false);
|
|
35161
|
+
const inputRef = React$1.useRef(null);
|
|
35162
|
+
const containerRef = React$1.useRef(null);
|
|
35163
|
+
React$1.useEffect(() => {
|
|
35164
|
+
setInputValue(selectedValue);
|
|
35165
|
+
}, [selectedValue]);
|
|
35166
|
+
const handleLabelClick = () => {
|
|
35167
|
+
if (disabled) return;
|
|
35168
|
+
setIsFocused(true);
|
|
35169
|
+
if (inputRef?.current) {
|
|
35170
|
+
inputRef?.current?.focus();
|
|
35171
|
+
}
|
|
35172
|
+
};
|
|
35173
|
+
const handleInputChange = e => {
|
|
35174
|
+
setIsFocused(true);
|
|
35175
|
+
setInputValue(e.target.value);
|
|
35176
|
+
if (inputRef?.current) {
|
|
35177
|
+
inputRef?.current?.focus();
|
|
35178
|
+
}
|
|
35179
|
+
onChange({
|
|
35180
|
+
newValue: e.target.value || ''
|
|
35181
|
+
});
|
|
35182
|
+
};
|
|
35183
|
+
const handleFocus = () => {
|
|
35184
|
+
setIsFocused(true);
|
|
35185
|
+
if (inputRef?.current) {
|
|
35186
|
+
inputRef?.current?.focus();
|
|
35187
|
+
}
|
|
35188
|
+
};
|
|
35189
|
+
const handleBlur = () => {
|
|
35190
|
+
onBlur();
|
|
35191
|
+
setIsFocused(false);
|
|
35192
|
+
};
|
|
35193
|
+
const leftIconOnClickHandler = () => {
|
|
35194
|
+
if (disabled) return;
|
|
35195
|
+
leftIconOnClick({
|
|
35196
|
+
leftIconOnClick: leftIcon
|
|
35197
|
+
});
|
|
35198
|
+
};
|
|
35199
|
+
const rightIconOnClickHandler = () => {
|
|
35200
|
+
if (disabled) return;
|
|
35201
|
+
rightIconOnClick({
|
|
35202
|
+
rightIconOnClick: rightIcon
|
|
35203
|
+
});
|
|
35204
|
+
};
|
|
35205
|
+
const getLeftIcon = () => {
|
|
35206
|
+
if (!leftIcon || leftIcon === 'none') return '';
|
|
35207
|
+
return getIcon(leftIcon, '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', leftIconOnClickHandler);
|
|
35208
|
+
};
|
|
35209
|
+
const getRightIcon = () => {
|
|
35210
|
+
if (!rightIcon || rightIcon === 'none') return '';
|
|
35211
|
+
return getIcon(rightIcon, '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', rightIconOnClickHandler);
|
|
35212
|
+
};
|
|
35213
|
+
const toggleShowPassword = () => {
|
|
35214
|
+
setShowPassword(!showPassword);
|
|
35215
|
+
};
|
|
35216
|
+
const getPasswordIcon = () => {
|
|
35217
|
+
if (!password) return '';
|
|
35218
|
+
if (showPassword) {
|
|
35219
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
|
|
35220
|
+
className: "passwordEyeSlash",
|
|
35221
|
+
disabled: disabled,
|
|
35222
|
+
onClick: toggleShowPassword
|
|
35223
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaEyeSlash, {
|
|
35224
|
+
onClick: toggleShowPassword,
|
|
35225
|
+
color: error ? 'red' : labelColor
|
|
35226
|
+
}));
|
|
35227
|
+
}
|
|
35228
|
+
return getIcon('eye', '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', toggleShowPassword);
|
|
35229
|
+
};
|
|
35230
|
+
return /*#__PURE__*/React__default["default"].createElement(MainContainer, {
|
|
35231
|
+
className: "MainContainer",
|
|
35232
|
+
width: width,
|
|
35233
|
+
size: size,
|
|
35234
|
+
disabled: disabled
|
|
35235
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputContainer, {
|
|
35236
|
+
className: "InputContainer",
|
|
35237
|
+
labelColor: labelColor,
|
|
35238
|
+
disabled: disabled,
|
|
35239
|
+
error: error,
|
|
35240
|
+
isFocused: isFocused,
|
|
35241
|
+
size: size
|
|
35242
|
+
}, getLeftIcon(), /*#__PURE__*/React__default["default"].createElement(InputSubContainer, {
|
|
35243
|
+
className: "InputSubContainer",
|
|
35244
|
+
ref: containerRef,
|
|
35245
|
+
labelColor: labelColor,
|
|
35246
|
+
disabled: disabled,
|
|
35247
|
+
error: error,
|
|
35248
|
+
onClick: handleLabelClick,
|
|
35249
|
+
size: size
|
|
35250
|
+
}, /*#__PURE__*/React__default["default"].createElement(Label, {
|
|
35251
|
+
className: "Label",
|
|
35252
|
+
isFocused: isFocused,
|
|
35253
|
+
labelColor: labelColor,
|
|
35254
|
+
hasValue: inputValue,
|
|
35255
|
+
leftIcon: leftIcon,
|
|
35256
|
+
disabled: disabled,
|
|
35257
|
+
error: error,
|
|
35258
|
+
errorMessage: errorMessage,
|
|
35259
|
+
onClick: handleLabelClick,
|
|
35260
|
+
size: size
|
|
35261
|
+
}, inputValue ? label : labelEmptyValue || label, required && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
35262
|
+
style: {
|
|
35263
|
+
color: disabled ? '#D0D0D0' : 'red',
|
|
35264
|
+
height: '16px'
|
|
35265
|
+
}
|
|
35266
|
+
}, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput, {
|
|
35267
|
+
className: "StyledInput",
|
|
35268
|
+
ref: inputRef,
|
|
35269
|
+
type: password && !showPassword ? 'password' : 'text',
|
|
35270
|
+
value: inputValue,
|
|
35271
|
+
onChange: handleInputChange,
|
|
35272
|
+
onClick: handleLabelClick,
|
|
35273
|
+
onFocus: handleFocus,
|
|
35274
|
+
onBlur: handleBlur,
|
|
35275
|
+
disabled: disabled,
|
|
35276
|
+
placeholder: isFocused ? placeHolder : '',
|
|
35277
|
+
error: error,
|
|
35278
|
+
isFocused: isFocused
|
|
35279
|
+
})), password ? getPasswordIcon() : getRightIcon()), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
|
|
35280
|
+
className: "ErrorMessage",
|
|
35281
|
+
width: width
|
|
35282
|
+
}, errorMessage));
|
|
35283
|
+
};
|
|
35284
|
+
Input.propTypes = {
|
|
35285
|
+
placeHolder: PropTypes.string,
|
|
35286
|
+
label: PropTypes.string,
|
|
35287
|
+
labelEmptyValue: PropTypes.string,
|
|
35288
|
+
size: PropTypes.string,
|
|
35289
|
+
labelColor: PropTypes.string,
|
|
35290
|
+
required: PropTypes.bool,
|
|
35291
|
+
width: PropTypes.string,
|
|
35292
|
+
disabled: PropTypes.bool,
|
|
35293
|
+
error: PropTypes.bool,
|
|
35294
|
+
errorMessage: PropTypes.string,
|
|
35295
|
+
selectedValue: PropTypes.string,
|
|
35296
|
+
onChange: PropTypes.func.isRequired,
|
|
35297
|
+
leftIconOnClick: PropTypes.func,
|
|
35298
|
+
rightIconOnClick: PropTypes.func,
|
|
35299
|
+
onBlur: PropTypes.func,
|
|
35300
|
+
leftIcon: PropTypes.string,
|
|
35301
|
+
rightIcon: PropTypes.string,
|
|
35302
|
+
password: PropTypes.bool
|
|
35303
|
+
};
|
|
35304
|
+
Input.defaultProps = {
|
|
35305
|
+
placeHolder: 'Type...',
|
|
35306
|
+
label: '',
|
|
35307
|
+
labelEmptyValue: '',
|
|
35308
|
+
size: 'medium',
|
|
35309
|
+
labelColor: '#066768',
|
|
35310
|
+
required: true,
|
|
35311
|
+
width: '300px',
|
|
35312
|
+
disabled: false,
|
|
35313
|
+
error: false,
|
|
35314
|
+
errorMessage: '',
|
|
35315
|
+
selectedValue: '',
|
|
35316
|
+
leftIcon: 'none',
|
|
35317
|
+
rightIcon: 'none',
|
|
35318
|
+
leftIconOnClick: () => {},
|
|
35319
|
+
rightIconOnClick: () => {},
|
|
35320
|
+
onBlur: () => {},
|
|
35321
|
+
password: false
|
|
35322
|
+
};
|
|
35323
|
+
|
|
35324
|
+
const ToggleSwitchLabel = styled__default["default"].label`
|
|
35325
|
+
display: inline-block;
|
|
35326
|
+
position: relative;
|
|
35327
|
+
cursor: pointer;
|
|
35328
|
+
user-select: none;
|
|
35329
|
+
opacity: ${({
|
|
35330
|
+
disabled
|
|
35331
|
+
}) => disabled ? 0.5 : 1};
|
|
35332
|
+
`;
|
|
35333
|
+
const ToggleInput = styled__default["default"].input`
|
|
35334
|
+
display: none;
|
|
35335
|
+
`;
|
|
35336
|
+
const ToggleSlider = styled__default["default"].span`
|
|
35337
|
+
display: block;
|
|
35338
|
+
position: relative;
|
|
35339
|
+
background: ${({
|
|
35340
|
+
checked,
|
|
35341
|
+
disabled
|
|
35342
|
+
}) => checked ? disabled ? "#7bb1b0" : "#006d6a" : "#cfd8dc"};
|
|
35343
|
+
border-radius: 999px;
|
|
35344
|
+
transition: background 0.2s;
|
|
35345
|
+
${({
|
|
35346
|
+
size
|
|
35347
|
+
}) => {
|
|
35348
|
+
switch (size) {
|
|
35349
|
+
case "s":
|
|
35350
|
+
return styled.css`width: 40px; height: 20px;`;
|
|
35351
|
+
case "l":
|
|
35352
|
+
return styled.css`width: 72px; height: 36px;`;
|
|
35353
|
+
default:
|
|
35354
|
+
return styled.css`width: 56px; height: 28px;`;
|
|
35355
|
+
}
|
|
35356
|
+
}}
|
|
35357
|
+
&:before {
|
|
35358
|
+
content: "";
|
|
35359
|
+
position: absolute;
|
|
35360
|
+
left: 3px;
|
|
35361
|
+
top: 50%;
|
|
35362
|
+
transform: translateY(-50%);
|
|
35363
|
+
background: #fff;
|
|
35364
|
+
border-radius: 50%;
|
|
35365
|
+
transition: left 0.2s, width 0.2s, height 0.2s;
|
|
35366
|
+
${({
|
|
35367
|
+
size
|
|
35368
|
+
}) => {
|
|
35369
|
+
switch (size) {
|
|
35370
|
+
case "s":
|
|
35371
|
+
return styled.css`width: 14px; height: 14px;`;
|
|
35372
|
+
case "l":
|
|
35373
|
+
return styled.css`width: 28px; height: 28px;`;
|
|
35374
|
+
default:
|
|
35375
|
+
return styled.css`width: 20px; height: 20px;`;
|
|
35376
|
+
}
|
|
35377
|
+
}}
|
|
35378
|
+
left: ${({
|
|
35379
|
+
checked,
|
|
35380
|
+
size
|
|
35381
|
+
}) => {
|
|
35382
|
+
if (!checked) return "3px";
|
|
35383
|
+
switch (size) {
|
|
35384
|
+
case "s":
|
|
35385
|
+
return "calc(100% - 17px)";
|
|
35386
|
+
case "l":
|
|
35387
|
+
return "calc(100% - 31px)";
|
|
35388
|
+
default:
|
|
35389
|
+
return "calc(100% - 23px)";
|
|
35390
|
+
}
|
|
35391
|
+
}};
|
|
35392
|
+
}
|
|
35393
|
+
`;
|
|
35394
|
+
|
|
35395
|
+
/**
|
|
35396
|
+
* ToggleSwitch component for on/off states.
|
|
35397
|
+
* Supports small/large sizes and disabled state.
|
|
35398
|
+
*/
|
|
35399
|
+
function ToggleSwitch(_ref) {
|
|
35400
|
+
let {
|
|
35401
|
+
checked,
|
|
35402
|
+
onChange,
|
|
35403
|
+
size = "m",
|
|
35404
|
+
disabled = false,
|
|
35405
|
+
...props
|
|
35406
|
+
} = _ref;
|
|
35407
|
+
return /*#__PURE__*/React__default["default"].createElement(ToggleSwitchLabel, {
|
|
35408
|
+
size: size,
|
|
35409
|
+
disabled: disabled
|
|
35410
|
+
}, /*#__PURE__*/React__default["default"].createElement(ToggleInput, _extends$1({
|
|
35411
|
+
type: "checkbox",
|
|
35412
|
+
checked: checked,
|
|
35413
|
+
onChange: e => onChange?.(e.target.checked),
|
|
35414
|
+
disabled: disabled
|
|
35415
|
+
}, props)), /*#__PURE__*/React__default["default"].createElement(ToggleSlider, {
|
|
35416
|
+
checked: checked,
|
|
35417
|
+
size: size,
|
|
35418
|
+
disabled: disabled
|
|
35419
|
+
}));
|
|
35420
|
+
}
|
|
35421
|
+
ToggleSwitch.propTypes = {
|
|
35422
|
+
checked: PropTypes.bool.isRequired,
|
|
35423
|
+
onChange: PropTypes.func,
|
|
35424
|
+
size: PropTypes.oneOf(["s", "m", "l"]),
|
|
35425
|
+
disabled: PropTypes.bool
|
|
35426
|
+
};
|
|
35427
|
+
|
|
35428
|
+
const TableWrapper$1 = styled__default["default"].div`
|
|
35429
|
+
width: ${props => props.width};
|
|
35430
|
+
height: ${props => props.height};
|
|
35431
|
+
padding: 20px;
|
|
35432
|
+
background-color: #fff;
|
|
35433
|
+
box-sizing: border-box;
|
|
35434
|
+
`;
|
|
35435
|
+
const Table$1 = styled__default["default"].table`
|
|
35436
|
+
width: 100%;
|
|
35437
|
+
margin-top: 24px;
|
|
35438
|
+
border-spacing: unset;
|
|
35439
|
+
`;
|
|
35440
|
+
const Thead = styled__default["default"].thead``;
|
|
35441
|
+
const HeaderCell = styled__default["default"].th`
|
|
35442
|
+
font-weight: 600;
|
|
35443
|
+
width: ${props => props.width};
|
|
35444
|
+
padding-right: 8px;
|
|
35445
|
+
padding-bottom: 12px;
|
|
35446
|
+
`;
|
|
35447
|
+
const Tbody = styled__default["default"].tbody``;
|
|
35448
|
+
const BodyCell = styled__default["default"].td`
|
|
35449
|
+
font-weight: 600;
|
|
35450
|
+
width: ${props => props.width};
|
|
35451
|
+
padding-right: 8px;
|
|
35452
|
+
padding-bottom: 12px;
|
|
35453
|
+
`;
|
|
35454
|
+
const StyledRow = styled__default["default"].tr`
|
|
35455
|
+
border-bottom: 1px solid #C8C8C8;
|
|
35456
|
+
`;
|
|
35457
|
+
|
|
35458
|
+
const ContainerTable = props => {
|
|
35459
|
+
const {
|
|
35460
|
+
width = '100%',
|
|
35461
|
+
height = '300px',
|
|
35462
|
+
columnsWidths = [430, 105, 210, 175, 148, 185, 104, 104, 140, 50, 50],
|
|
35463
|
+
standardCellSkeletonHeight = 22,
|
|
35464
|
+
isLoading = true,
|
|
35465
|
+
children
|
|
35466
|
+
} = props;
|
|
35467
|
+
const TableWrapperRef = React$1.useRef(null);
|
|
35468
|
+
const [numberOfRows, setNumberOfRows] = React$1.useState(3);
|
|
35469
|
+
const calculateRows = () => {
|
|
35470
|
+
if (TableWrapperRef.current) {
|
|
35471
|
+
const wrapperHeight = TableWrapperRef.current.offsetHeight;
|
|
35472
|
+
|
|
35473
|
+
// Calculate available space for rows
|
|
35474
|
+
const titleHeight = 32; // First skeleton height
|
|
35475
|
+
const subtitleHeight = 22; // Second skeleton height
|
|
35476
|
+
const titleMargin = 24; // Margin top for subtitle
|
|
35477
|
+
const headerRowHeight = standardCellSkeletonHeight + 22; // Approximate height of header row (22px skeleton + padding)
|
|
35478
|
+
const bodyRowHeight = standardCellSkeletonHeight + 22; // Approximate height of body row (22px skeleton + padding)
|
|
35479
|
+
const tablePadding = 20; // Approximate padding/margins for the table
|
|
35480
|
+
|
|
35481
|
+
const usedHeight = titleHeight + subtitleHeight + titleMargin + headerRowHeight + tablePadding;
|
|
35482
|
+
const availableHeight = wrapperHeight - usedHeight;
|
|
35483
|
+
|
|
35484
|
+
// Calculate how many rows can fit
|
|
35485
|
+
const maxRows = Math.floor(availableHeight / bodyRowHeight);
|
|
35486
|
+
|
|
35487
|
+
// Set minimum of 3 rows, maximum based on available space
|
|
35488
|
+
setNumberOfRows(Math.max(3, maxRows));
|
|
35489
|
+
}
|
|
35490
|
+
};
|
|
35491
|
+
React$1.useEffect(() => {
|
|
35492
|
+
calculateRows();
|
|
35493
|
+
}, [height]);
|
|
35494
|
+
return /*#__PURE__*/React__default["default"].createElement(TableWrapper$1, {
|
|
35495
|
+
ref: TableWrapperRef,
|
|
35496
|
+
width: width,
|
|
35497
|
+
height: height
|
|
35498
|
+
}, isLoading ? /*#__PURE__*/React__default["default"].createElement(Skeleton.SkeletonTheme, {
|
|
35499
|
+
baseColor: "#EAEAEA",
|
|
35500
|
+
highlightColor: "#F5F5F5"
|
|
35501
|
+
}, /*#__PURE__*/React__default["default"].createElement(Skeleton__default["default"], {
|
|
35502
|
+
width: 260,
|
|
35503
|
+
height: 32
|
|
35504
|
+
}), /*#__PURE__*/React__default["default"].createElement(Skeleton__default["default"], {
|
|
35505
|
+
width: 260,
|
|
35506
|
+
height: 22,
|
|
35507
|
+
style: {
|
|
35508
|
+
marginTop: 24
|
|
35509
|
+
}
|
|
35510
|
+
}), /*#__PURE__*/React__default["default"].createElement(Table$1, null, /*#__PURE__*/React__default["default"].createElement(Thead, null, /*#__PURE__*/React__default["default"].createElement(StyledRow, null, columnsWidths.map((width, index) => /*#__PURE__*/React__default["default"].createElement(HeaderCell, {
|
|
35511
|
+
key: `header-cell-${index}`,
|
|
35512
|
+
width: `${width}px`
|
|
35513
|
+
}, /*#__PURE__*/React__default["default"].createElement(Skeleton__default["default"], {
|
|
35514
|
+
width: '100%',
|
|
35515
|
+
height: standardCellSkeletonHeight
|
|
35516
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(Tbody, null, Array.from({
|
|
35517
|
+
length: numberOfRows
|
|
35518
|
+
}).map((_, rowIndex) => /*#__PURE__*/React__default["default"].createElement(StyledRow, {
|
|
35519
|
+
key: `row-${rowIndex}`
|
|
35520
|
+
}, columnsWidths.map((width, colIndex) => /*#__PURE__*/React__default["default"].createElement(BodyCell, {
|
|
35521
|
+
key: `cell-${rowIndex}-${colIndex}`,
|
|
35522
|
+
width: `${width}px`
|
|
35523
|
+
}, /*#__PURE__*/React__default["default"].createElement(Skeleton__default["default"], {
|
|
35524
|
+
width: '100%',
|
|
35525
|
+
height: standardCellSkeletonHeight
|
|
35526
|
+
})))))))) : children);
|
|
35527
|
+
};
|
|
35528
|
+
|
|
35529
|
+
const MenuRouteContainer = styled__default["default"].div`
|
|
35530
|
+
font-family: 'Poppins', sans-serif;
|
|
35531
|
+
`;
|
|
35532
|
+
const ButtonGroup = styled__default["default"].div`
|
|
35533
|
+
display: flex;
|
|
35534
|
+
justify-content: ${props => {
|
|
35535
|
+
switch (props.pos) {
|
|
35536
|
+
case 'left':
|
|
35537
|
+
return 'flex-start';
|
|
35538
|
+
case 'center':
|
|
35539
|
+
return 'center';
|
|
35540
|
+
case 'right':
|
|
35541
|
+
return 'flex-end';
|
|
35542
|
+
default:
|
|
35543
|
+
return 'center';
|
|
35544
|
+
}
|
|
35545
|
+
}};
|
|
35546
|
+
`;
|
|
35547
|
+
const Button = styled__default["default"].button`
|
|
35548
|
+
background-color: transparent;
|
|
35549
|
+
border: none;
|
|
35550
|
+
display: flex;
|
|
35551
|
+
gap: 12px;
|
|
35552
|
+
align-items: center;
|
|
35553
|
+
color: #212121;
|
|
35554
|
+
padding: 0 24px 10px;
|
|
35555
|
+
font-size: 16px;
|
|
35556
|
+
font-weight: 600;
|
|
35557
|
+
&.active {
|
|
35558
|
+
color: ${props => props.color || '#066768'};
|
|
35559
|
+
border-bottom: 3px solid ${props => props.color || '#066768'};
|
|
35560
|
+
}
|
|
35561
|
+
&:disabled {
|
|
35562
|
+
color: #717171;
|
|
35563
|
+
cursor: not-allowed;
|
|
35564
|
+
}
|
|
35565
|
+
`;
|
|
35566
|
+
|
|
35567
|
+
const Build = _ref => {
|
|
35568
|
+
let {
|
|
35569
|
+
width = '24',
|
|
35570
|
+
height = '24',
|
|
35571
|
+
fill = "#212121"
|
|
35572
|
+
} = _ref;
|
|
35573
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
35574
|
+
width: width,
|
|
35575
|
+
height: height,
|
|
35576
|
+
viewBox: "0 0 24 24",
|
|
35577
|
+
fill: "none",
|
|
35578
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
35579
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35580
|
+
d: "M20.7978 14.3728C20.9274 14.2408 21 14.0623 21 13.8758V12.0002C21 11.6122 20.6913 11.2972 20.31 11.2972H18.2399V5.21311L19.4183 4.01058C19.5753 3.85008 19.647 3.62208 19.6106 3.39807L19.1503 0.587512C19.0949 0.248505 18.8068 0 18.4696 0H16.6292C16.2916 0 16.004 0.248505 15.9486 0.587512L15.4882 3.39807C15.4514 3.62158 15.5231 3.84958 15.6806 4.01058L16.8589 5.21311V11.2972H14.7884C14.4071 11.2972 14.0984 11.6122 14.0984 12.0002V13.8753C14.0984 14.0618 14.171 14.2408 14.3006 14.3723L15.0185 15.1038V15.4588L14.3006 16.1903C14.171 16.3223 14.0984 16.5013 14.0984 16.6873V21.8905C14.0984 23.0535 15.0274 24 16.1689 24H18.929C20.0705 24 20.9995 23.0535 20.9995 21.8905V16.6878C20.9995 16.5013 20.9269 16.3228 20.7973 16.1908L20.0793 15.4593V15.1043L20.7978 14.3728ZM17.2137 1.40653H17.8851L18.1909 3.27257L17.5499 3.92658L16.9085 3.27257L17.2137 1.40653ZM19.6195 21.891C19.6195 22.2785 19.3098 22.594 18.9295 22.594H16.1694C15.7891 22.594 15.4794 22.2785 15.4794 21.891V21.1409H19.62L19.6195 21.891ZM19.6195 13.5843L18.9015 14.3158C18.7719 14.4478 18.6993 14.6263 18.6993 14.8128V15.7503C18.6993 15.9363 18.7719 16.1153 18.9015 16.2473L19.6195 16.9789V19.7344H15.4789V16.9789L16.1969 16.2473C16.3264 16.1153 16.3991 15.9363 16.3991 15.7503V14.8128C16.3991 14.6263 16.3264 14.4478 16.1969 14.3158L15.4789 13.5843V12.7038H19.6195V13.5843ZM7.50349 20.3582C6.99555 20.6978 7.15554 21.5158 7.75182 21.6323C8.21559 21.7413 8.67053 21.2783 8.56354 20.8053C8.48011 20.3247 7.89561 20.0777 7.50349 20.3582Z",
|
|
35581
|
+
fill: fill
|
|
35582
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35583
|
+
d: "M9.44437 0.959887C8.99507 0.803976 8.52368 1.13173 8.52368 1.59994V4.90256L7.83476 5.35485L7.1429 4.90208V1.60043C7.1429 1.13221 6.67101 0.804459 6.22221 0.96037C4.33566 1.61587 3.0413 3.37724 3.00104 5.34326C2.96323 7.1722 4.00716 8.85199 5.64426 9.67402L4.6347 20.5555C4.46333 22.4032 5.94576 24 7.83329 24C9.72082 24 11.2037 22.4032 11.0324 20.5555L10.0233 9.67789C10.7245 9.32793 11.327 8.81579 11.7861 8.17573C12.3621 7.37204 12.6665 6.42692 12.6665 5.44077C12.6665 3.42985 11.3717 1.62939 9.44437 0.959887ZM9.04761 8.61836C8.75643 8.72601 8.57475 9.0108 8.60274 9.31538L9.65649 20.6781C9.75421 21.7337 8.9111 22.6417 7.8328 22.6417C6.75498 22.6417 5.91139 21.7337 6.00959 20.6781L7.06384 9.31297C7.09183 9.00935 6.91113 8.72456 6.62093 8.61643C5.25193 8.10622 4.35187 6.80197 4.38182 5.36981C4.40343 4.31512 4.9303 3.34296 5.76162 2.72608V5.26507C5.76162 5.49193 5.87751 5.70432 6.06999 5.82982L7.45323 6.73488C7.68549 6.88645 7.98747 6.88645 8.21924 6.7344L9.59806 5.82934C9.79005 5.70336 9.90545 5.49193 9.90545 5.26507V2.72511C10.7579 3.35552 11.2862 4.35518 11.2862 5.44029C11.2857 6.84638 10.3862 8.1236 9.04761 8.61836Z",
|
|
35584
|
+
fill: fill
|
|
35585
|
+
}));
|
|
35586
|
+
};
|
|
35587
|
+
|
|
35588
|
+
const Track = _ref => {
|
|
35589
|
+
let {
|
|
35590
|
+
width = '24',
|
|
35591
|
+
height = '24',
|
|
35592
|
+
fill = "#212121"
|
|
35593
|
+
} = _ref;
|
|
35594
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
35595
|
+
width: width,
|
|
35596
|
+
height: height,
|
|
35597
|
+
viewBox: "0 0 24 24",
|
|
35598
|
+
fill: "none",
|
|
35599
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
35600
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35601
|
+
d: "M11.999 19.1706C8.2827 19.1706 5.02706 16.8561 2.95058 14.9152C1.80841 13.8472 1 13.0127 1 11.9967C1 10.9806 1.80741 10.1471 2.94758 9.08017C5.02507 7.13828 8.28271 4.82274 11.999 4.82274C15.7163 4.82274 18.9729 7.13828 21.0494 9.08017C22.1916 10.1482 23 10.9826 23 11.9977C23 13.0117 22.1906 13.8462 21.0474 14.9152C18.9709 16.8561 15.7153 19.1706 11.999 19.1706ZM11.999 6.41694C8.76935 6.41694 5.85246 8.50933 3.97483 10.2654C3.47119 10.7356 2.53487 11.6116 2.53487 11.9967C2.53487 12.3817 3.47319 13.2587 3.97783 13.7299C5.85446 15.485 8.76935 17.5764 11.999 17.5764C15.2286 17.5764 18.1435 15.485 20.0202 13.7299C20.5248 13.2587 21.4651 12.3807 21.4651 11.9977C21.4651 11.6137 20.5268 10.7367 20.0222 10.2655C18.1455 8.50934 15.2297 6.41694 11.999 6.41694Z",
|
|
35602
|
+
fill: fill
|
|
35603
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35604
|
+
d: "M12.0008 3.55814C11.5297 3.55814 11.1474 3.21439 11.1474 2.7907V1.76744C11.1474 1.34375 11.5297 1 12.0008 1C12.472 1 12.8542 1.34375 12.8542 1.76744V2.7907C12.8542 3.21439 12.472 3.55814 12.0008 3.55814ZM6.31135 5.11001C6.03577 5.11001 5.76463 4.99009 5.60017 4.76826L4.96899 3.91789C4.70786 3.56614 4.81342 3.08949 5.20569 2.85366C5.59906 2.61883 6.12801 2.71476 6.38914 3.06651L7.02032 3.91688C7.28145 4.26863 7.17589 4.74528 6.78362 4.98111C6.63805 5.06805 6.47359 5.11001 6.31135 5.11001ZM17.6869 5.11001C17.5247 5.11001 17.3591 5.06804 17.2136 4.98011C16.8224 4.74528 16.7168 4.26863 16.9791 3.91588L17.6114 3.0655C17.8725 2.71476 18.4015 2.61683 18.7948 2.85466C19.186 3.08949 19.2915 3.56614 19.0293 3.91889L18.397 4.76927C18.2326 4.9901 17.9625 5.11001 17.6869 5.11001ZM12.0008 23C11.5297 23 11.1474 22.6562 11.1474 22.2326V21.2093C11.1474 20.7856 11.5297 20.4419 12.0008 20.4419C12.472 20.4419 12.8542 20.7856 12.8542 21.2093V22.2326C12.8542 22.6562 12.472 23 12.0008 23ZM18.3215 21.2753C18.0459 21.2753 17.7758 21.1553 17.6114 20.9345L16.9791 20.0841C16.7169 19.7314 16.8224 19.2547 17.2136 19.0199C17.6058 18.7821 18.1359 18.88 18.397 19.2307L19.0293 20.0811C19.2916 20.4339 19.186 20.9105 18.7948 21.1453C18.6493 21.2333 18.4837 21.2753 18.3215 21.2753ZM5.67796 21.2753C5.51572 21.2753 5.35126 21.2333 5.20569 21.1463C4.81342 20.9105 4.70786 20.4339 4.96899 20.0821L5.60017 19.2317C5.86131 18.879 6.39026 18.7841 6.78362 19.0189C7.17589 19.2547 7.28145 19.7314 7.02032 20.0831L6.38914 20.9335C6.22468 21.1553 5.95354 21.2753 5.67796 21.2753Z",
|
|
35605
|
+
fill: fill
|
|
35606
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35607
|
+
d: "M12.1414 14.6391C11.9399 14.6391 11.7472 14.559 11.605 14.4168L10.1185 12.9303L8.63195 14.4168C8.33563 14.7131 7.8556 14.7131 7.55928 14.4168C7.26296 14.1205 7.26296 13.6405 7.55928 13.3441L9.58214 11.3213C9.87846 11.0249 10.3585 11.0249 10.6548 11.3213L12.1414 12.8078L14.4425 10.5441L14.6979 10.2929C14.4826 10.2005 14.3509 10.1836 14.0827 10.1549L13.7044 10.1134C13.2876 10.0679 12.9873 9.69359 13.0327 9.27776C13.0772 8.85995 13.4535 8.54289 13.8684 8.60611L14.1943 8.64167C16.6133 8.90045 16.8839 9.13652 17.4568 11.4498L17.5496 11.8261C17.6494 12.233 17.4005 12.6439 16.9945 12.7447C16.9333 12.7595 16.872 12.7664 16.8118 12.7664C16.471 12.7664 16.1609 12.5353 16.0759 12.1896L15.9959 11.8646C15.9265 11.5838 15.9328 11.5337 15.8065 11.3213L15.5764 11.5489L12.6777 14.4168C12.5355 14.559 12.3429 14.6391 12.1414 14.6391Z",
|
|
35608
|
+
fill: fill
|
|
35609
|
+
}));
|
|
35610
|
+
};
|
|
35611
|
+
|
|
35612
|
+
const Execute = _ref => {
|
|
35613
|
+
let {
|
|
35614
|
+
width = '24',
|
|
35615
|
+
height = '24',
|
|
35616
|
+
fill = "#212121"
|
|
35617
|
+
} = _ref;
|
|
35618
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
35619
|
+
width: width,
|
|
35620
|
+
height: height,
|
|
35621
|
+
viewBox: "0 0 24 24",
|
|
35622
|
+
fill: "none",
|
|
35623
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
35624
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35625
|
+
d: "M1.7579 23C1.61208 23 1.46954 22.9567 1.3483 22.8755C1.22706 22.7944 1.13257 22.6792 1.07677 22.5443C1.02097 22.4094 1.00637 22.261 1.03481 22.1179C1.06325 21.9747 1.13346 21.8432 1.23655 21.74L4.08812 18.8863C4.2272 18.7518 4.41347 18.6774 4.60682 18.6791C4.80016 18.6808 4.98512 18.7584 5.12184 18.8953C5.25856 19.0321 5.33611 19.2173 5.33779 19.4108C5.33947 19.6043 5.26515 19.7908 5.13082 19.93L2.27925 22.7837C2.21089 22.8524 2.12963 22.9069 2.04016 22.944C1.95068 22.9811 1.85476 23.0001 1.7579 23ZM5.14999 23C5.00417 23 4.86163 22.9567 4.74039 22.8755C4.61915 22.7944 4.52466 22.6792 4.46886 22.5443C4.41306 22.4094 4.39846 22.261 4.4269 22.1179C4.45534 21.9747 4.52555 21.8432 4.62864 21.74L6.05406 20.3131C6.12208 20.2426 6.20345 20.1864 6.29342 20.1477C6.38339 20.109 6.48015 20.0887 6.57806 20.0878C6.67598 20.0869 6.77308 20.1056 6.8637 20.1427C6.95433 20.1799 7.03666 20.2347 7.1059 20.304C7.17514 20.3733 7.22989 20.4557 7.26697 20.5464C7.30405 20.6371 7.3227 20.7343 7.32185 20.8323C7.321 20.9303 7.30066 21.0272 7.26201 21.1173C7.22337 21.2073 7.16719 21.2888 7.09676 21.3569L5.67134 22.7837C5.60298 22.8524 5.52172 22.9069 5.43225 22.944C5.34277 22.9811 5.24685 23.0001 5.14999 23ZM1.73652 19.5823C1.59085 19.5822 1.44849 19.5388 1.32741 19.4577C1.20633 19.3767 1.11195 19.2615 1.05618 19.1268C1.00041 18.9921 0.98575 18.8439 1.01404 18.7008C1.04234 18.5578 1.11232 18.4263 1.21517 18.3231L2.64058 16.8962C2.70861 16.8257 2.78998 16.7695 2.87994 16.7308C2.96991 16.6921 3.06667 16.6717 3.16459 16.6709C3.2625 16.67 3.3596 16.6887 3.45023 16.7258C3.54085 16.7629 3.62319 16.8178 3.69242 16.8871C3.76166 16.9564 3.81642 17.0388 3.85349 17.1295C3.89057 17.2202 3.90923 17.3174 3.90838 17.4154C3.90753 17.5134 3.88718 17.6103 3.84854 17.7004C3.80989 17.7904 3.75371 17.8719 3.68328 17.94L2.25787 19.3661C2.18948 19.4347 2.10822 19.4892 2.01875 19.5263C1.92928 19.5634 1.83337 19.5824 1.73652 19.5823Z",
|
|
35626
|
+
fill: fill
|
|
35627
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35628
|
+
"fill-rule": "evenodd",
|
|
35629
|
+
"clip-rule": "evenodd",
|
|
35630
|
+
d: "M10.4266 5.23524C14.8319 0.824773 21.9759 0.994548 22.2834 1.00267C22.471 1.00859 22.6492 1.08587 22.7819 1.21877C22.9145 1.35167 22.9915 1.53018 22.9972 1.71794C23.0061 2.02058 23.1749 9.1755 18.7682 13.5867C17.4105 15.0207 15.8334 16.2187 14.1025 17.1391L14.1272 19.3786C14.1297 19.6736 14.0737 19.9661 13.9623 20.2392C13.8509 20.5122 13.6864 20.7604 13.4783 20.9693L11.8317 22.6176C11.6934 22.7561 11.5051 22.8339 11.3096 22.8339C11.1451 22.834 10.9853 22.7789 10.8556 22.6775C10.726 22.5761 10.634 22.4342 10.5943 22.2744L9.85024 19.2946C9.75514 19.3524 9.65558 19.4029 9.55236 19.4458C9.28402 19.5571 8.99555 19.6142 8.70506 19.6135C8.41415 19.6143 8.12597 19.5574 7.85723 19.4459C7.58849 19.3344 7.34454 19.1705 7.13954 18.9639L5.05488 16.8772C4.64047 16.4616 4.40771 15.8984 4.40771 15.3112C4.40771 14.9029 4.52022 14.5063 4.72805 14.1628L1.7461 13.4166C1.61952 13.3849 1.50359 13.3202 1.41015 13.229C1.31671 13.1379 1.24911 13.0235 1.21425 12.8976C1.17938 12.7718 1.17851 12.6389 1.2117 12.5126C1.2449 12.3863 1.31098 12.2711 1.40321 12.1787L3.04985 10.5296C3.25704 10.3198 3.50452 10.1542 3.77737 10.0427C4.05023 9.93116 4.34281 9.8761 4.63749 9.8808L6.87751 9.90562C7.79715 8.17292 8.99396 6.59433 10.4266 5.23524ZM11.251 16.8169L7.19967 12.7622L7.20002 12.7612C8.11342 10.3043 9.57336 8.08756 11.4693 6.27899C12.7276 5.01966 14.2699 4.17681 15.7898 3.61295L20.3926 8.2204C19.8291 9.73967 18.9864 11.2819 17.7269 12.543C15.9202 14.441 13.7057 15.9025 11.251 16.8169ZM4.09328 11.5726C4.23607 11.4366 4.42492 11.3597 4.62201 11.3571L6.18016 11.3744C5.98649 11.8342 5.81139 12.3029 5.65553 12.7792C5.64749 12.8087 5.64132 12.8387 5.63702 12.8688L3.36693 12.3005L4.09328 11.5726ZM12.4356 19.9249L11.71 20.6519L11.1422 18.3806C11.1726 18.3763 11.2027 18.37 11.2326 18.3618C11.708 18.2059 12.1758 18.0308 12.6349 17.8372L12.6517 19.3949C12.6525 19.4931 12.6339 19.5906 12.5968 19.6816C12.5597 19.7725 12.5049 19.8552 12.4356 19.9249ZM6.09684 14.7882L6.61819 14.2663L9.74703 17.3983L9.22568 17.9202C9.08542 18.0545 8.8988 18.1295 8.7047 18.1295C8.51059 18.1295 8.32323 18.0545 8.18298 17.9202L6.09684 15.8327C5.95873 15.694 5.88118 15.5062 5.88118 15.3104C5.88118 15.1146 5.95873 14.9268 6.09684 14.7882ZM17.377 3.11417C19.1023 2.66213 20.6468 2.5293 21.5113 2.49152C21.4749 3.35736 21.3436 4.90377 20.8915 6.63167L17.377 3.11417Z",
|
|
35631
|
+
fill: fill
|
|
35632
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35633
|
+
"fill-rule": "evenodd",
|
|
35634
|
+
"clip-rule": "evenodd",
|
|
35635
|
+
d: "M12.5702 11.8494C13.0971 12.2829 13.7579 12.5201 14.4399 12.5206C14.8274 12.5213 15.2105 12.4454 15.5687 12.2972C15.9268 12.1489 16.2522 11.9314 16.526 11.657C17.0085 11.1744 17.3088 10.5393 17.376 9.85989C17.4431 9.18049 17.2728 8.49881 16.8941 7.93099C16.5155 7.36317 15.9519 6.94432 15.2993 6.74582C14.6468 6.54731 13.9456 6.58143 13.3154 6.84234C12.6851 7.10326 12.1647 7.57484 11.8429 8.17675C11.521 8.77865 11.4176 9.47365 11.5502 10.1433C11.6828 10.813 12.0433 11.4159 12.5702 11.8494ZM13.5057 8.42927C13.7692 8.21258 14.0996 8.09405 14.4406 8.09389C14.6343 8.09363 14.8261 8.13164 15.005 8.20574C15.1839 8.27985 15.3465 8.38858 15.4833 8.52571C15.7246 8.76701 15.8748 9.08457 15.9083 9.42428C15.9419 9.764 15.8567 10.1048 15.6673 10.3888C15.478 10.6727 15.1962 10.8821 14.8698 10.9813C14.5435 11.0805 14.193 11.0634 13.8778 10.9329C13.5627 10.8024 13.3025 10.5666 13.1417 10.2656C12.9808 9.96461 12.9291 9.61709 12.9955 9.28225C13.0619 8.9474 13.2422 8.64596 13.5057 8.42927Z",
|
|
35636
|
+
fill: fill
|
|
35637
|
+
}));
|
|
35638
|
+
};
|
|
35639
|
+
|
|
35640
|
+
const MenuRoute = props => {
|
|
35641
|
+
const {
|
|
35642
|
+
tabsPosition,
|
|
35643
|
+
items,
|
|
35644
|
+
color,
|
|
35645
|
+
selecetIndex = 0,
|
|
35646
|
+
onTabClick
|
|
35647
|
+
} = props;
|
|
35648
|
+
const [activeItem, setActiveItem] = React$1.useState(items[selecetIndex]?.key || items[0]?.key);
|
|
35649
|
+
React$1.useEffect(() => {
|
|
35650
|
+
if (selecetIndex >= 0 && selecetIndex < items.length) {
|
|
35651
|
+
setActiveItem(items[selecetIndex]?.key);
|
|
35652
|
+
}
|
|
35653
|
+
}, [selecetIndex, items]);
|
|
35654
|
+
const handleItemClick = (key, item) => {
|
|
35655
|
+
if (item.disabled) return;
|
|
35656
|
+
if (item.href) {
|
|
35657
|
+
window.open(item.href, item.target || '_self');
|
|
35658
|
+
return;
|
|
35659
|
+
}
|
|
35660
|
+
setActiveItem(key);
|
|
35661
|
+
if (onTabClick) {
|
|
35662
|
+
onTabClick(key);
|
|
35663
|
+
}
|
|
35664
|
+
};
|
|
35665
|
+
return /*#__PURE__*/React__default["default"].createElement(MenuRouteContainer, null, /*#__PURE__*/React__default["default"].createElement(ButtonGroup, {
|
|
35666
|
+
pos: tabsPosition
|
|
35667
|
+
}, items.map(item => /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
35668
|
+
key: item.key,
|
|
35669
|
+
onClick: () => handleItemClick(item.key, item),
|
|
35670
|
+
disabled: item.disabled,
|
|
35671
|
+
className: activeItem === item.key ? 'active' : '',
|
|
35672
|
+
color: color
|
|
35673
|
+
}, item.icon && /*#__PURE__*/React__default["default"].cloneElement(item.icon, {
|
|
35674
|
+
fill: item.disabled ? '#717171' : activeItem === item.key ? color : item.icon.props.fill
|
|
35675
|
+
}), /*#__PURE__*/React__default["default"].isValidElement(item.label) ? item.label : item.label))));
|
|
35676
|
+
};
|
|
35677
|
+
|
|
35678
|
+
const TableWrapper = styled__default["default"].div`
|
|
35679
|
+
width: ${props => props.width};
|
|
35680
|
+
height: ${props => props.height};
|
|
35681
|
+
background-color: #fff;
|
|
35682
|
+
box-sizing: border-box;
|
|
35683
|
+
font-family: 'Poppins', sans-serif;
|
|
35684
|
+
`;
|
|
35685
|
+
styled__default["default"].table`
|
|
35686
|
+
width: 100%;
|
|
35687
|
+
margin-top: 24px;
|
|
35688
|
+
border-spacing: unset;
|
|
35689
|
+
`;
|
|
35690
|
+
styled__default["default"].thead``;
|
|
35691
|
+
styled__default["default"].th`
|
|
35692
|
+
font-weight: 600;
|
|
35693
|
+
width: ${props => props.width};
|
|
35694
|
+
padding-right: 8px;
|
|
35695
|
+
padding-bottom: 12px;
|
|
35696
|
+
`;
|
|
35697
|
+
styled__default["default"].tbody``;
|
|
35698
|
+
styled__default["default"].td`
|
|
35699
|
+
font-weight: 600;
|
|
35700
|
+
width: ${props => props.width};
|
|
35701
|
+
padding-right: 8px;
|
|
35702
|
+
padding-bottom: 12px;
|
|
35703
|
+
`;
|
|
35704
|
+
styled__default["default"].tr`
|
|
35705
|
+
border-bottom: 1px solid #C8C8C8;
|
|
35706
|
+
`;
|
|
35707
|
+
const NoInfoFound = styled__default["default"].div`
|
|
35708
|
+
height: 100%;
|
|
35709
|
+
box-sizing: border-box;
|
|
35710
|
+
color: #212121;
|
|
35711
|
+
position: relative;
|
|
35712
|
+
`;
|
|
35713
|
+
const Title = styled__default["default"].h2`
|
|
35714
|
+
font-size: 24px;
|
|
35715
|
+
font-weight: 500;
|
|
35716
|
+
margin: 0;
|
|
35717
|
+
`;
|
|
35718
|
+
const SubTitle = styled__default["default"].span`
|
|
35719
|
+
font-size: 14px;
|
|
35720
|
+
color: #8B8989;
|
|
35721
|
+
`;
|
|
35722
|
+
const NoEventsWrapper = styled__default["default"].div`
|
|
35723
|
+
display: flex;
|
|
35724
|
+
align-items: center;
|
|
35725
|
+
justify-content: center;
|
|
35726
|
+
position: relative;
|
|
35727
|
+
margin-bottom: 14px;
|
|
35728
|
+
`;
|
|
35729
|
+
const NoEventsMessage = styled__default["default"].span`
|
|
35730
|
+
font-size: 18px;
|
|
35731
|
+
font-weight: 400;
|
|
35732
|
+
margin-bottom: 14px;
|
|
35733
|
+
text-align: center;
|
|
35734
|
+
display: block;
|
|
35735
|
+
> strong {
|
|
35736
|
+
font-size: 24px;
|
|
35737
|
+
font-weight: 500;
|
|
35738
|
+
}
|
|
35739
|
+
`;
|
|
35740
|
+
|
|
35741
|
+
const NoEvents = ({
|
|
35742
|
+
width = '251',
|
|
35743
|
+
height = '250'
|
|
35744
|
+
}) => /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
35745
|
+
width: width,
|
|
35746
|
+
height: height,
|
|
35747
|
+
viewBox: "0 0 251 250",
|
|
35748
|
+
fill: "none",
|
|
35749
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
35750
|
+
}, /*#__PURE__*/React__default["default"].createElement("rect", {
|
|
35751
|
+
x: "0.5",
|
|
35752
|
+
width: "250",
|
|
35753
|
+
height: "250",
|
|
35754
|
+
rx: "125",
|
|
35755
|
+
fill: "#F3F7F7"
|
|
35756
|
+
}), /*#__PURE__*/React__default["default"].createElement("rect", {
|
|
35757
|
+
x: "79.0715",
|
|
35758
|
+
y: "82.0254",
|
|
35759
|
+
width: "91.9643",
|
|
35760
|
+
height: "31.25",
|
|
35761
|
+
fill: "#B4D1D2"
|
|
35762
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35763
|
+
d: "M201.056 149.717V149.686C201.054 149.691 201.052 149.696 201.052 149.701C201.05 149.696 201.048 149.691 201.047 149.686V149.717C200.635 151.213 199.681 152.283 198.186 152.927C199.681 153.57 200.635 154.64 201.047 156.136V156.167C201.049 156.162 201.051 156.157 201.052 156.152C201.053 156.157 201.055 156.162 201.056 156.167V156.136C201.468 154.64 202.422 153.57 203.917 152.927C202.422 152.283 201.468 151.213 201.056 149.717ZM34.6198 71.7965V71.765C34.618 71.7702 34.6163 71.7755 34.6154 71.7808C34.6136 71.7755 34.6119 71.7702 34.611 71.765V71.7965C34.1985 73.2927 33.2449 74.3625 31.75 75.0059C33.2449 75.6494 34.1985 76.7192 34.611 78.2153V78.2468C34.6127 78.2416 34.6145 78.2363 34.6154 78.2311C34.6171 78.2363 34.6189 78.2416 34.6198 78.2468V78.2153C35.0322 76.7192 35.9859 75.6494 37.4808 75.0059C35.9859 74.3625 35.0322 73.2927 34.6198 71.7965ZM216.389 202.361V202.329C216.387 202.335 216.386 202.34 216.385 202.345C216.383 202.34 216.381 202.335 216.38 202.329V202.361C215.968 203.857 215.014 204.927 213.519 205.57C215.014 206.214 215.968 207.283 216.38 208.78V208.811C216.382 208.806 216.384 208.801 216.385 208.795C216.386 208.801 216.388 208.806 216.389 208.811V208.78C216.801 207.283 217.755 206.214 219.25 205.57C217.755 204.927 216.801 203.857 216.389 202.361ZM182.433 182.494V182.43C182.43 182.442 182.427 182.451 182.424 182.463C182.421 182.451 182.418 182.442 182.415 182.43V182.494C181.59 185.486 179.683 187.626 176.693 188.913C179.683 190.2 181.589 192.34 182.415 195.332V195.396C182.418 195.384 182.421 195.375 182.424 195.363C182.427 195.375 182.43 195.384 182.433 195.396V195.332C183.258 192.34 185.165 190.2 188.155 188.913C185.165 187.626 183.259 185.486 182.433 182.494ZM54.8385 110.651V110.587C54.8359 110.598 54.8324 110.608 54.8298 110.619C54.8271 110.608 54.8236 110.598 54.821 110.587V110.651C53.9961 113.642 52.0887 115.783 49.099 117.07C52.0887 118.357 53.9952 120.497 54.821 123.489V123.552C54.8236 123.541 54.8271 123.531 54.8298 123.52C54.8324 123.531 54.8359 123.541 54.8385 123.552V123.489C55.6635 120.497 57.5708 118.357 60.5605 117.07C57.5708 115.783 55.6643 113.642 54.8385 110.651ZM81.9624 38.3393V38.2754C81.9598 38.2868 81.9563 38.2964 81.9536 38.3078C81.951 38.2964 81.9475 38.2868 81.9449 38.2754V38.3393C81.1199 41.3307 79.2126 43.4712 76.2229 44.7581C79.2126 46.045 81.1191 48.1855 81.9449 51.177V51.2409C81.9475 51.2295 81.951 51.2198 81.9536 51.2085C81.9563 51.2198 81.9598 51.2295 81.9624 51.2409V51.177C82.7873 48.1855 84.6947 46.045 87.6844 44.7581C84.6947 43.4712 82.7882 41.3307 81.9624 38.3393Z",
|
|
35764
|
+
fill: "#F2BB91"
|
|
35765
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35766
|
+
d: "M49.3076 149.106C49.5096 148.924 49.8322 148.924 50.0342 149.106C50.2444 149.295 50.2443 149.609 50.0342 149.798L41.8711 157.145C41.6691 157.327 41.3465 157.327 41.1445 157.145C40.9344 156.956 40.9342 156.642 41.1445 156.453L49.3076 149.106ZM47.1309 154.494C47.8309 153.864 48.9601 153.864 49.6602 154.494C50.3686 155.131 50.3687 156.171 49.6602 156.809C48.9601 157.439 47.8309 157.439 47.1309 156.809C46.4223 156.171 46.4223 155.131 47.1309 154.494ZM48.9346 155.186C48.6384 154.919 48.1526 154.919 47.8564 155.186C47.5689 155.445 47.5688 155.858 47.8564 156.117C48.1526 156.383 48.6384 156.383 48.9346 156.117C49.2221 155.858 49.222 155.445 48.9346 155.186ZM41.5186 149.442C42.2186 148.812 43.3479 148.812 44.0479 149.442C44.7564 150.08 44.7564 151.121 44.0479 151.758C43.3478 152.388 42.2186 152.388 41.5186 151.758C40.81 151.121 40.81 150.08 41.5186 149.442ZM43.3223 150.134C43.0262 149.868 42.5403 149.868 42.2441 150.134C41.9564 150.393 41.9564 150.807 42.2441 151.066C42.5403 151.332 43.0261 151.332 43.3223 151.066C43.61 150.807 43.61 150.393 43.3223 150.134Z",
|
|
35767
|
+
fill: "#9BC2C3",
|
|
35768
|
+
stroke: "#9BC2C3",
|
|
35769
|
+
"stroke-width": "0.276243"
|
|
35770
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35771
|
+
d: "M136.808 199.106C137.01 198.924 137.332 198.924 137.534 199.106C137.744 199.295 137.744 199.609 137.534 199.798L129.371 207.145C129.169 207.327 128.846 207.327 128.645 207.145C128.434 206.956 128.434 206.642 128.645 206.453L136.808 199.106ZM134.631 204.494C135.331 203.864 136.46 203.864 137.16 204.494C137.869 205.131 137.869 206.171 137.16 206.809C136.46 207.439 135.331 207.439 134.631 206.809C133.922 206.171 133.922 205.131 134.631 204.494ZM136.435 205.186C136.138 204.919 135.653 204.919 135.356 205.186C135.069 205.445 135.069 205.858 135.356 206.117C135.653 206.383 136.138 206.383 136.435 206.117C136.722 205.858 136.722 205.445 136.435 205.186ZM129.019 199.442C129.719 198.812 130.848 198.812 131.548 199.442C132.256 200.08 132.256 201.121 131.548 201.758C130.848 202.388 129.719 202.388 129.019 201.758C128.31 201.121 128.31 200.08 129.019 199.442ZM130.822 200.134C130.526 199.868 130.04 199.868 129.744 200.134C129.456 200.393 129.456 200.807 129.744 201.066C130.04 201.332 130.526 201.332 130.822 201.066C131.11 200.807 131.11 200.393 130.822 200.134Z",
|
|
35772
|
+
fill: "#9BC2C3",
|
|
35773
|
+
stroke: "#9BC2C3",
|
|
35774
|
+
"stroke-width": "0.276243"
|
|
35775
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35776
|
+
d: "M147.872 44.6279C148.041 44.4584 148.317 44.4584 148.486 44.6279C148.655 44.7974 148.655 45.0717 148.486 45.2412L142.172 51.5557C142.002 51.725 141.728 51.725 141.558 51.5557C141.389 51.3861 141.389 51.1109 141.558 50.9414L147.872 44.6279ZM146.188 49.2578C146.743 48.703 147.642 48.703 148.197 49.2578C148.752 49.8126 148.752 50.7118 148.197 51.2666C147.642 51.8214 146.743 51.8214 146.188 51.2666C145.633 50.7118 145.633 49.8126 146.188 49.2578ZM147.584 49.8711C147.368 49.6553 147.017 49.6553 146.802 49.8711C146.586 50.0868 146.586 50.4376 146.802 50.6533C147.017 50.8691 147.368 50.8691 147.584 50.6533C147.8 50.4376 147.8 50.0868 147.584 49.8711ZM141.847 44.917C142.402 44.3622 143.301 44.3622 143.856 44.917C144.411 45.4718 144.411 46.371 143.856 46.9258C143.301 47.4805 142.402 47.4804 141.847 46.9258C141.293 46.371 141.293 45.4718 141.847 44.917ZM143.242 45.5303C143.026 45.3148 142.676 45.3146 142.461 45.5303C142.245 45.7459 142.245 46.0957 142.461 46.3115C142.676 46.5273 143.026 46.5273 143.242 46.3115C143.458 46.0958 143.458 45.746 143.242 45.5303Z",
|
|
35777
|
+
fill: "#9BC2C3",
|
|
35778
|
+
stroke: "#9BC2C3",
|
|
35779
|
+
"stroke-width": "0.276243"
|
|
35780
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35781
|
+
d: "M104.824 204.819V204.853C105.322 206.447 106.47 207.587 108.272 208.272C106.47 208.958 105.321 210.098 104.824 211.691V211.725C104.822 211.719 104.82 211.714 104.819 211.708C104.817 211.714 104.815 211.719 104.813 211.725V211.691C104.316 210.098 103.167 208.958 101.366 208.272C103.167 207.587 104.316 206.447 104.813 204.853V204.819C104.815 204.825 104.817 204.831 104.819 204.837C104.82 204.831 104.822 204.825 104.824 204.819Z",
|
|
35782
|
+
fill: "#F2BB91"
|
|
35783
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35784
|
+
d: "M170.333 116.525H81.4886V168.301C81.4886 172.916 85.0486 176.335 89.0397 176.335H162.782C166.773 176.335 170.333 172.916 170.333 168.301V116.525ZM143.996 91.7463V83.7126H107.825V91.7463C107.824 93.3501 106.49 94.65 104.842 94.65C103.194 94.65 101.859 93.3501 101.858 91.7463V83.7126H89.0397C85.0486 83.7126 81.4886 87.1311 81.4886 91.7463V110.714H170.333V91.7463C170.333 87.1311 166.773 83.7126 162.782 83.7126H149.963V91.7463C149.962 93.3501 148.628 94.65 146.98 94.65C145.332 94.65 143.997 93.3501 143.996 91.7463ZM176.3 168.301C176.3 175.766 170.427 182.142 162.782 182.142H89.0397C81.3947 182.142 75.5217 175.766 75.5217 168.301V91.7463C75.5217 84.2812 81.3947 77.9018 89.0397 77.9018H101.858V69.8715C101.858 68.2671 103.193 66.9678 104.842 66.9678C106.49 66.9678 107.825 68.2671 107.825 69.8715V77.9018H143.996V69.8715C143.996 68.2671 145.331 66.9678 146.98 66.9678C148.628 66.9678 149.963 68.2671 149.963 69.8715V77.9018H162.782C170.427 77.9018 176.3 84.2812 176.3 91.7463V168.301Z",
|
|
35785
|
+
fill: "#519595"
|
|
35786
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35787
|
+
"fill-rule": "evenodd",
|
|
35788
|
+
"clip-rule": "evenodd",
|
|
35789
|
+
d: "M114.622 129.954C116.552 129.954 118.356 130.941 119.55 132.411L120.021 133.068L120.039 133.093L120.049 133.117C121.121 135.065 121.132 137.505 120.039 139.391L120.032 139.405C118.863 141.349 116.806 142.537 114.622 142.537C112.644 142.537 110.817 141.634 109.607 140.101L109.129 139.405L109.118 139.391L109.122 139.388C108.03 137.502 108.039 135.064 109.111 133.117L109.122 133.093L109.139 133.068C110.298 131.237 112.341 129.954 114.622 129.954ZM114.622 139.841C116.534 139.841 118.221 138.278 118.221 136.245C118.221 134.315 116.552 132.65 114.622 132.65C112.59 132.65 111.023 134.334 111.023 136.245C111.023 138.26 112.608 139.841 114.622 139.841Z",
|
|
35790
|
+
fill: "#519595"
|
|
35791
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35792
|
+
d: "M138.966 130.358C139.839 129.795 141.08 129.89 141.831 130.639C142.581 131.389 142.675 132.628 142.112 133.5L141.831 133.848L112.137 163.503C111.28 164.359 109.782 164.359 108.925 163.503C108.067 162.646 108.067 161.151 108.925 160.294L138.618 130.639L138.966 130.358Z",
|
|
35793
|
+
fill: "#519595"
|
|
35794
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35795
|
+
"fill-rule": "evenodd",
|
|
35796
|
+
"clip-rule": "evenodd",
|
|
35797
|
+
d: "M141.145 153.978C139.951 152.508 138.147 151.521 136.217 151.521C133.936 151.521 131.893 152.804 130.734 154.635L130.717 154.66L130.706 154.684C129.635 156.631 129.622 159.073 130.713 160.958L130.724 160.972C131.896 162.923 133.957 164.104 136.217 164.104C138.402 164.104 140.458 162.916 141.627 160.972L141.634 160.958C142.727 159.072 142.717 156.632 141.644 154.684L141.634 154.66L141.616 154.635L141.145 153.978ZM136.217 161.408C138.129 161.408 139.817 159.845 139.817 157.813C139.817 155.882 138.147 154.217 136.217 154.217C134.185 154.217 132.618 155.901 132.618 157.813C132.618 159.827 134.203 161.408 136.217 161.408Z",
|
|
35798
|
+
fill: "#519595"
|
|
35799
|
+
}), /*#__PURE__*/React__default["default"].createElement("circle", {
|
|
35800
|
+
cx: "171.036",
|
|
35801
|
+
cy: "176.668",
|
|
35802
|
+
r: "22.3214",
|
|
35803
|
+
fill: "#F3F7F7",
|
|
35804
|
+
stroke: "#519595",
|
|
35805
|
+
"stroke-width": "5.35714"
|
|
35806
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
35807
|
+
d: "M185.4 175.847C185.735 176.182 185.924 176.637 185.924 177.111C185.924 177.585 185.736 178.04 185.4 178.375C185.065 178.711 184.61 178.899 184.136 178.899L173.279 178.897L173.281 189.754C173.273 190.223 173.081 190.67 172.746 190.999C172.412 191.327 171.962 191.511 171.493 191.511C171.024 191.511 170.574 191.327 170.239 190.998C169.905 190.67 169.713 190.223 169.704 189.754L169.703 178.896L158.845 178.894C158.608 178.898 158.372 178.855 158.151 178.767C157.931 178.679 157.73 178.548 157.56 178.381C157.391 178.215 157.256 178.016 157.164 177.797C157.073 177.578 157.025 177.343 157.025 177.106C157.025 176.868 157.072 176.633 157.164 176.414C157.256 176.195 157.39 175.997 157.56 175.83C157.729 175.664 157.93 175.533 158.15 175.445C158.371 175.357 158.607 175.314 158.844 175.318L169.702 175.32L169.7 164.463C169.708 163.994 169.9 163.547 170.234 163.218C170.569 162.89 171.019 162.705 171.488 162.706C171.957 162.706 172.407 162.89 172.741 163.219C173.076 163.547 173.268 163.994 173.276 164.463L173.278 175.321L184.136 175.323C184.61 175.323 185.065 175.511 185.4 175.847Z",
|
|
35808
|
+
fill: "#519595"
|
|
35809
|
+
}));
|
|
35810
|
+
|
|
35811
|
+
const Table = props => {
|
|
35812
|
+
const {
|
|
35813
|
+
width = '100%',
|
|
35814
|
+
height = 'auto',
|
|
35815
|
+
tableTitle = 'All Events',
|
|
35816
|
+
data = [],
|
|
35817
|
+
onButtonClick = () => {},
|
|
35818
|
+
buttonColor = '#066768',
|
|
35819
|
+
buttonHoverColor = '#388586'
|
|
35820
|
+
} = props;
|
|
35821
|
+
return /*#__PURE__*/React__default["default"].createElement(TableWrapper, {
|
|
35822
|
+
width: width,
|
|
35823
|
+
height: height
|
|
35824
|
+
}, data.length === 0 ? /*#__PURE__*/React__default["default"].createElement(NoInfoFound, null, /*#__PURE__*/React__default["default"].createElement(Title, null, tableTitle), /*#__PURE__*/React__default["default"].createElement(SubTitle, null, "No Events"), /*#__PURE__*/React__default["default"].createElement(NoEventsWrapper, null, /*#__PURE__*/React__default["default"].createElement(NoEvents, null)), /*#__PURE__*/React__default["default"].createElement(NoEventsMessage, null, /*#__PURE__*/React__default["default"].createElement("strong", null, "You haven\u2019t created any events yet"), /*#__PURE__*/React__default["default"].createElement("br", null), "Let\u2019s get started and create your first one!"), /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
35825
|
+
height: "45px",
|
|
35826
|
+
leftIcon: "Plus",
|
|
35827
|
+
text: "New Event",
|
|
35828
|
+
borderRadius: "12px",
|
|
35829
|
+
backgroundColor: buttonColor,
|
|
35830
|
+
hoverBackgroundColor: buttonHoverColor,
|
|
35831
|
+
onClick: onButtonClick
|
|
35832
|
+
})) : /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Title, null, tableTitle), /*#__PURE__*/React__default["default"].createElement(SubTitle, null, data.length, " Events")));
|
|
35833
|
+
};
|
|
35834
|
+
|
|
34417
35835
|
exports.AreaChart = AreaChart;
|
|
34418
35836
|
exports.BannerEventBoxList = BannerEventBoxList;
|
|
34419
35837
|
exports.BarChart = BarChart;
|
|
@@ -34424,22 +35842,29 @@ exports.BatteryChart = BatteryChart;
|
|
|
34424
35842
|
exports.BreakdownPanel = BreakdownPanel;
|
|
34425
35843
|
exports.BrushChart = BrushChart;
|
|
34426
35844
|
exports.BubbleChart = BubbleChart;
|
|
34427
|
-
exports.
|
|
35845
|
+
exports.Build = Build;
|
|
35846
|
+
exports.Button = Button$1;
|
|
34428
35847
|
exports.CollapseData = CollapseData;
|
|
34429
35848
|
exports.CollapseHeader = CollapseHeader;
|
|
35849
|
+
exports.ContainerTable = ContainerTable;
|
|
34430
35850
|
exports.DialogOverlay = DialogOverlay;
|
|
34431
35851
|
exports.DoubleBarSingleLine = DoubleBarSingleLine;
|
|
34432
35852
|
exports.DoublePanelDataRow = DoublePanelDataRow;
|
|
34433
35853
|
exports.DownloadProgress = DownloadProgress;
|
|
35854
|
+
exports.DropdownNew = DropdownNew;
|
|
34434
35855
|
exports.EventDetailsCard = EventDetailsCard;
|
|
34435
35856
|
exports.EventList = EventList;
|
|
35857
|
+
exports.Execute = Execute;
|
|
34436
35858
|
exports.FilterPanel = FilterPanel;
|
|
34437
35859
|
exports.Heatmap = Heatmap;
|
|
34438
35860
|
exports.IconButton = IconButton;
|
|
35861
|
+
exports.Input = Input;
|
|
34439
35862
|
exports.InsightsCarousel = InsightsCarousel;
|
|
34440
35863
|
exports.LinkButton = LinkButton;
|
|
34441
35864
|
exports.LinnerDataBox = LinnerDataBox;
|
|
34442
35865
|
exports.MarketShareDescription = MarketShareDescription;
|
|
35866
|
+
exports.MenuRoute = MenuRoute;
|
|
35867
|
+
exports.ModalWithOverlay = ModalWithOverlay;
|
|
34443
35868
|
exports.OneColumnContainer = OneColumnContainer;
|
|
34444
35869
|
exports.PerformanceAnalyticsLegend = PerformanceAnalyticsLegend;
|
|
34445
35870
|
exports.PieChart = PieChart;
|
|
@@ -34448,8 +35873,12 @@ exports.QuickFilter = QuickFilter;
|
|
|
34448
35873
|
exports.ReportTable = ReportTable;
|
|
34449
35874
|
exports.SingleBarLineCharts = SingleBarLineCharts;
|
|
34450
35875
|
exports.TabMenu = TabMenu;
|
|
35876
|
+
exports.Table = Table;
|
|
35877
|
+
exports.ToggleSwitch = ToggleSwitch;
|
|
34451
35878
|
exports.TopToggleList = TopToggleList;
|
|
34452
35879
|
exports.TotalDoughnutChart = TotalDoughnutChart;
|
|
34453
35880
|
exports.TotalHorizontalCharts = TotalHorizontalCharts;
|
|
35881
|
+
exports.Track = Track;
|
|
34454
35882
|
exports.TwoBarCharts = TwoBarCharts;
|
|
35883
|
+
exports.WeeksPicker = WeeksPicker;
|
|
34455
35884
|
//# sourceMappingURL=index.js.map
|