sag_components 2.0.0-beta246 → 2.0.0-beta248
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 +390 -508
- package/dist/index.esm.js +94 -197
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +94 -197
- package/dist/index.js.map +1 -1
- package/dist/types/components/AreaChart/AreaChart.d.ts +1 -1
- package/dist/types/components/AreaChart/AreaChart.style.d.ts +8 -8
- package/dist/types/components/AttachedFile/AttachedFile.d.ts +6 -7
- package/dist/types/components/AttachedFile/AttachedFile.style.d.ts +4 -4
- package/dist/types/components/BannerEventBox/BannerEventBox.d.ts +1 -1
- package/dist/types/components/BannerEventBox/BannerEventBox.style.d.ts +13 -13
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +1 -1
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.style.d.ts +12 -13
- package/dist/types/components/BannersDropdown/BannersDropdown.d.ts +3 -4
- package/dist/types/components/BannersDropdown/BannersDropdown.style.d.ts +8 -8
- package/dist/types/components/BarChart/BarChart.d.ts +20 -29
- package/dist/types/components/BarChart/BarChart.style.d.ts +8 -8
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.d.ts +1 -1
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.style.d.ts +9 -9
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.d.ts +1 -1
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.style.d.ts +9 -9
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.d.ts +29 -37
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.style.d.ts +11 -11
- package/dist/types/components/BatteryChart/BatteryChart.d.ts +1 -1
- package/dist/types/components/BatteryChart/BatteryChart.style.d.ts +18 -18
- package/dist/types/components/Benchmark/Benchmark.d.ts +13 -14
- package/dist/types/components/Benchmark/Benchmark.style.d.ts +5 -5
- package/dist/types/components/BreakdownPanel/BreakdownPanel.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/BreakdownPanel.style.d.ts +7 -7
- package/dist/types/components/BreakdownPanel/ItemSales/BannerButton.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/BannerButton.style.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/CategorySalesPanel.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/CategorySalesPanel.style.d.ts +6 -6
- package/dist/types/components/BreakdownPanel/ItemSales/ItemSalesPanel.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/ItemSalesPanel.style.d.ts +3 -3
- package/dist/types/components/BreakdownPanel/ItemSales/ItemsCounterGraphPanel.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/ItemsCounterGraphPanel.style.d.ts +3 -3
- package/dist/types/components/BrushChart/BrushChart.d.ts +1 -1
- package/dist/types/components/BrushChart/BrushChart.style.d.ts +25 -27
- package/dist/types/components/BrushChart/Charts/BarLine.d.ts +1 -1
- package/dist/types/components/BrushChart/Charts/InnerBar.d.ts +1 -1
- package/dist/types/components/BrushChart/Charts/SingleChart.d.ts +1 -1
- package/dist/types/components/BubbleChart/BubbleChart.d.ts +1 -1
- package/dist/types/components/BubbleChart/BubbleChart.style.d.ts +13 -13
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/Button/Button.style.d.ts +5 -5
- package/dist/types/components/CampaignTool/CampaignDemoReport.d.ts +5 -12
- package/dist/types/components/CampaignTool/CampaignDemoReport.style.d.ts +5 -5
- package/dist/types/components/CampaignTool/Card.d.ts +7 -13
- package/dist/types/components/CampaignTool/Card.style.d.ts +8 -8
- package/dist/types/components/CampaignTool/FormInput.d.ts +1 -1
- package/dist/types/components/CampaignTool/FormSelect.d.ts +1 -1
- package/dist/types/components/CampaignTool/MultipleCard.d.ts +3 -4
- package/dist/types/components/CampaignTool/MultipleCard.style.d.ts +1 -1
- package/dist/types/components/CampaignTool/PageFilterBar.d.ts +2 -3
- package/dist/types/components/CampaignTool/PageFilterBar.style.d.ts +2 -2
- package/dist/types/components/CampaignTool/Popup.d.ts +7 -8
- package/dist/types/components/CampaignTool/Popup.style.d.ts +14 -14
- package/dist/types/components/CampaignTool/PopupContent.d.ts +6 -11
- package/dist/types/components/CampaignTool/PopupContent.style.d.ts +7 -7
- package/dist/types/components/CampaignTool/Table.d.ts +14 -19
- package/dist/types/components/CampaignTool/Table.style.d.ts +7 -7
- package/dist/types/components/CheckBox/CheckBox.d.ts +1 -1
- package/dist/types/components/CheckBox/CheckBox.style.d.ts +4 -4
- package/dist/types/components/CheckBoxButton/CheckBoxButton.d.ts +1 -1
- package/dist/types/components/CheckBoxButton/CheckBoxButton.style.d.ts +4 -4
- package/dist/types/components/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/types/components/CollapseData/CollapseData.d.ts +8 -19
- package/dist/types/components/CollapseData/CollapseData.style.d.ts +11 -11
- package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +16 -31
- package/dist/types/components/CollapseHeader/CollapseHeader.style.d.ts +25 -25
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.d.ts +6 -7
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.style.d.ts +7 -7
- package/dist/types/components/ContainerTable/ContainerTable.d.ts +1 -1
- package/dist/types/components/ContainerTable/ContainerTable.stories.d.ts +1 -1
- package/dist/types/components/ContainerTable/ContainerTable.style.d.ts +7 -7
- package/dist/types/components/DialogOverlay/DialogOverlay.d.ts +5 -6
- package/dist/types/components/DialogOverlay/DialogOverlay.style.d.ts +6 -6
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.d.ts +1 -1
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.style.d.ts +10 -10
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +1 -1
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.style.d.ts +9 -9
- package/dist/types/components/DownloadProgress/DownloadProgress.d.ts +11 -12
- package/dist/types/components/DownloadProgress/DownloadProgress.style.d.ts +4 -4
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +1 -1
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.style.d.ts +12 -12
- package/dist/types/components/DropdownNew/DropdownNew.d.ts +1 -1
- package/dist/types/components/DropdownNew/DropdownNew.style.d.ts +1 -1
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +1 -1
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.style.d.ts +10 -10
- package/dist/types/components/EventDetailsCard/EventDetailsCard.d.ts +13 -14
- package/dist/types/components/EventDetailsCard/EventDetailsCard.style.d.ts +6 -6
- package/dist/types/components/EventList/EventList.d.ts +7 -11
- package/dist/types/components/EventList/EventList.style.d.ts +4 -4
- package/dist/types/components/EventListItem/EventListItem.d.ts +7 -8
- package/dist/types/components/EventListItem/EventListItem.style.d.ts +4 -4
- package/dist/types/components/EventsTable/ColumnFilter.d.ts +1 -1
- package/dist/types/components/EventsTable/DeleteEventModal.d.ts +1 -1
- package/dist/types/components/EventsTable/EventTable.d.ts +1 -1
- package/dist/types/components/EventsTable/EventsHeader.d.ts +1 -1
- package/dist/types/components/EventsTable/EventsPage.d.ts +1 -1
- package/dist/types/components/EventsTable/SendButton.d.ts +1 -1
- package/dist/types/components/FilterContainer/FilterContainer.d.ts +1 -2
- package/dist/types/components/FilterContainer/FilterContainer.style.d.ts +3 -3
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +19 -46
- package/dist/types/components/FilterPanel/FilterPanel.style.d.ts +11 -11
- package/dist/types/components/FormattedValue/FormattedValue.d.ts +13 -14
- package/dist/types/components/FormattedValue/FormattedValue.style.d.ts +7 -7
- package/dist/types/components/Heatmap/Heatmap.d.ts +5 -10
- package/dist/types/components/Heatmap/Heatmap.style.d.ts +13 -15
- package/dist/types/components/IconButton/IconButton.d.ts +14 -15
- package/dist/types/components/IconButton/IconButton.style.d.ts +4 -4
- package/dist/types/components/Input/Input.d.ts +25 -26
- package/dist/types/components/Input/Input.style.d.ts +8 -8
- package/dist/types/components/InputOld/InputOld.d.ts +17 -18
- package/dist/types/components/InputOld/InputOld.style.d.ts +6 -6
- package/dist/types/components/InsightsCarousel/InsightsCarousel.d.ts +2 -2
- package/dist/types/components/InsightsCarousel/InsightsCarousel.style.d.ts +12 -12
- package/dist/types/components/ItemManagerPanel/ConfirmationDialog/ConfirmationDialog.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/ConfirmationDialog/ConfirmationDialog.style.d.ts +12 -12
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.stories.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.style.d.ts +25 -27
- package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.style.d.ts +17 -19
- package/dist/types/components/ItemManagerPanel/NewSubitem/NewSubitem.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/NewSubitem/NewSubitem.style.d.ts +14 -16
- package/dist/types/components/ItemManagerPanel/NewSubitemList/NewSubitemList.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/NewSubitemList/NewSubitemList.style.d.ts +17 -19
- package/dist/types/components/ItemManagerPanel/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/SuccessScreen/SuccessScreen.style.d.ts +14 -16
- package/dist/types/components/KpiFilter/KpiFilter.d.ts +16 -21
- package/dist/types/components/KpiFilter/KpiFilter.style.d.ts +16 -16
- package/dist/types/components/LinkButton/LinkButton.d.ts +1 -1
- package/dist/types/components/LinkButton/LinkButton.style.d.ts +4 -4
- package/dist/types/components/LinnerDataBox/LinnerDataBox.d.ts +1 -1
- package/dist/types/components/LinnerDataBox/LinnerDataBox.style.d.ts +12 -14
- package/dist/types/components/ListBox/ListBox.d.ts +1 -1
- package/dist/types/components/ListBox/ListBox.style.d.ts +4 -4
- package/dist/types/components/MarketShareDescription/MarketShareDescription.d.ts +7 -12
- package/dist/types/components/MarketShareDescription/MarketShareDescription.style.d.ts +16 -16
- package/dist/types/components/MenuRoute/MenuIcons/AdvancedThresholds.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/Analytics.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/Budgets.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/Build.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/Campaigns.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/Coupons.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/CustomerSegments.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/Dashboard.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/Execute.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/GroupBuilder.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/ItemsStores.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/PreTestWhatIf.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/RulesEngine.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/SampleRunEngine.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuIcons/Track.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuRoute.d.ts +1 -1
- package/dist/types/components/MenuRoute/MenuRoute.stories.d.ts +3 -3
- package/dist/types/components/MenuRoute/MenuRoute.style.d.ts +3 -3
- package/dist/types/components/MessageBox/MessageBox.d.ts +1 -1
- package/dist/types/components/MessageBox/MessageBox.styles.d.ts +8 -8
- package/dist/types/components/Modal/Modal.d.ts +1 -1
- package/dist/types/components/Modal/Modal.style.d.ts +4 -4
- package/dist/types/components/Modal/ModalTotalBenchmark.d.ts +1 -1
- package/dist/types/components/Modal/ModalTotalCost.d.ts +1 -1
- package/dist/types/components/ModalDrawer/ModalDrawer.d.ts +1 -2
- package/dist/types/components/ModalDrawer/ModalDrawer.stories.d.ts +1 -1
- package/dist/types/components/ModalDrawer/ModalDrawer.styles.d.ts +3 -3
- package/dist/types/components/ModalWithOverlay/ModalWithOverlay.d.ts +1 -1
- package/dist/types/components/ModalWithOverlay/ModalWithOverlay.stories.d.ts +1 -1
- package/dist/types/components/ModalWithOverlay/ModalWithOverlay.style.d.ts +8 -8
- package/dist/types/components/MonthPicker/MonthPicker.d.ts +14 -15
- package/dist/types/components/MonthPicker/MonthPicker.style.d.ts +8 -8
- package/dist/types/components/MonthPicker/MonthPopupPicker.d.ts +1 -1
- package/dist/types/components/MonthPicker/MonthPopupPicker.style.d.ts +7 -7
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.d.ts +1 -1
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.style.d.ts +3 -3
- package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +25 -26
- package/dist/types/components/OneColumnContainer/OneColumnContainer.stories.d.ts +3 -3
- package/dist/types/components/OneColumnContainer/OneColumnContainer.style.d.ts +12 -12
- package/dist/types/components/OverlayDropdown/OverlayDropdown.d.ts +1 -1
- package/dist/types/components/OverlayDropdown/OverlayDropdown.stories.d.ts +1 -1
- package/dist/types/components/OverlayDropdown/OverlayDropdown.style.d.ts +10 -10
- package/dist/types/components/OverlayDropdown/OverlayTemplateDialog.d.ts +8 -13
- package/dist/types/components/OverlayDropdown/OverlayTemplateDialog.style.d.ts +10 -10
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.d.ts +21 -39
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.style.d.ts +14 -14
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.d.ts +1 -1
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.d.ts +6 -6
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.d.ts +13 -34
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.d.ts +13 -13
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.d.ts +5 -14
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.d.ts +10 -10
- package/dist/types/components/PieChart/PieChart.d.ts +19 -23
- package/dist/types/components/PieChart/PieChart.style.d.ts +18 -18
- package/dist/types/components/PopupCharts/PopupCharts.d.ts +9 -20
- package/dist/types/components/PopupCharts/PopupCharts.style.d.ts +12 -12
- package/dist/types/components/ProductsVariety/ProductsVariety.d.ts +7 -12
- package/dist/types/components/ProductsVariety/ProductsVariety.style.d.ts +10 -10
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +6 -7
- package/dist/types/components/ProgressBar/ProgressBar.style.d.ts +2 -2
- package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +14 -15
- package/dist/types/components/QuarterPicker/QuarterPicker.style.d.ts +8 -8
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.d.ts +1 -1
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.style.d.ts +6 -6
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +1 -1
- package/dist/types/components/QuickFilter/QuickFilter.style.d.ts +1 -1
- package/dist/types/components/QuickFilterCards/QuickFilterCards.d.ts +1 -1
- package/dist/types/components/QuickFilterCards/QuickFilterCards.style.d.ts +8 -8
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.d.ts +17 -24
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.d.ts +17 -17
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +13 -20
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.d.ts +11 -11
- package/dist/types/components/RangePicker/RangeDatePicker.d.ts +1 -1
- package/dist/types/components/RangePicker/RangePicker.d.ts +13 -14
- package/dist/types/components/RangePicker/RangePicker.style.d.ts +8 -8
- package/dist/types/components/ReportTable/ReportTable.d.ts +17 -26
- package/dist/types/components/ReportTable/ReportTable.style.d.ts +14 -14
- package/dist/types/components/SagButton/SagButton.d.ts +13 -14
- package/dist/types/components/SagButton/SagButton.style.d.ts +3 -3
- package/dist/types/components/SagIconButton/SagIconButton.d.ts +13 -14
- package/dist/types/components/SagIconButton/SagIconButton.style.d.ts +2 -2
- package/dist/types/components/SagInput/SagInput.d.ts +10 -11
- package/dist/types/components/SagInput/SagInput.style.d.ts +3 -3
- package/dist/types/components/SalesAndROI/SalesAndROI.d.ts +13 -19
- package/dist/types/components/SalesAndROI/SalesAndROI.style.d.ts +9 -9
- package/dist/types/components/SearchInput/SearchInput.d.ts +1 -1
- package/dist/types/components/SearchInput/SearchInput.style.d.ts +3 -3
- package/dist/types/components/SegmentedButton/SegmentedButton.d.ts +14 -17
- package/dist/types/components/SegmentedButton/SegmentedButton.style.d.ts +6 -6
- package/dist/types/components/Select/Select.d.ts +1 -1
- package/dist/types/components/Select/Select.style.d.ts +6 -6
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.d.ts +1 -1
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.style.d.ts +13 -13
- package/dist/types/components/TabMenu/TabMenu.d.ts +1 -1
- package/dist/types/components/TabMenu/TabMenu.style.d.ts +11 -11
- package/dist/types/components/Table/DropMenus/Dropdown.d.ts +14 -18
- package/dist/types/components/Table/DropMenus/Dropdown.styles.d.ts +5 -5
- package/dist/types/components/Table/DropMenus/FieldPop.d.ts +1 -1
- package/dist/types/components/Table/DropMenus/FieldPop.style.d.ts +5 -5
- package/dist/types/components/Table/DropMenus/FilterPop.d.ts +1 -1
- package/dist/types/components/Table/DropMenus/FilterPop.style.d.ts +8 -8
- package/dist/types/components/Table/DropMenus/RangePop.d.ts +1 -1
- package/dist/types/components/Table/DropMenus/RangePop.style.d.ts +11 -11
- package/dist/types/components/Table/DropMenus/SortPop.d.ts +1 -1
- package/dist/types/components/Table/DropMenus/SortPop.style.d.ts +8 -8
- package/dist/types/components/Table/FilterIcon.d.ts +1 -1
- package/dist/types/components/Table/Icons/DisabledTrashIcon.d.ts +1 -1
- package/dist/types/components/Table/Icons/FilterIcon.d.ts +1 -1
- package/dist/types/components/Table/Icons/NoDataInSearchIcon.d.ts +1 -1
- package/dist/types/components/Table/Icons/SortIcon.d.ts +1 -1
- package/dist/types/components/Table/Icons/TrashIcon.d.ts +1 -1
- package/dist/types/components/Table/NoEvents.d.ts +1 -1
- package/dist/types/components/Table/NoSearchUpcIcon.d.ts +1 -1
- package/dist/types/components/Table/NoUpcIcon.d.ts +1 -1
- package/dist/types/components/Table/NothingToTrack.d.ts +1 -1
- package/dist/types/components/Table/SortIcon.d.ts +1 -1
- package/dist/types/components/Table/Table.d.ts +1 -1
- package/dist/types/components/Table/Table.stories.d.ts +6 -6
- package/dist/types/components/Table/Table.style.d.ts +20 -20
- package/dist/types/components/Table/TableBody.d.ts +1 -2
- package/dist/types/components/Table/TableBody.styles.d.ts +35 -35
- package/dist/types/components/Table/TableHeader.d.ts +3 -2
- package/dist/types/components/Table/TableHeader.styles.d.ts +8 -8
- package/dist/types/components/Table/hook.d.ts +4 -4
- package/dist/types/components/Tag/Tag.d.ts +1 -1
- package/dist/types/components/Tag/Tag.style.d.ts +1 -1
- package/dist/types/components/TextEllipsisTooltip/TextEllipsisTooltip.d.ts +1 -1
- package/dist/types/components/TextEllipsisTooltip/TextEllipsisTooltip.style.d.ts +4 -4
- package/dist/types/components/TitleDescription/TitleDescription.d.ts +12 -15
- package/dist/types/components/TitleDescription/TitleDescription.style.d.ts +26 -26
- package/dist/types/components/ToasterMessageBox/ToasterMessageBox.d.ts +1 -1
- package/dist/types/components/ToasterMessageBox/ToasterMessageBox.styles.d.ts +4 -4
- package/dist/types/components/ToggleSwitch/ToggleSwitch.d.ts +5 -6
- package/dist/types/components/ToggleSwitch/ToggleSwitch.style.d.ts +3 -3
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.stories.d.ts +3 -3
- package/dist/types/components/Tooltip/Tooltip.style.d.ts +3 -3
- package/dist/types/components/TopToggleList/TopToggleList.d.ts +5 -6
- package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -5
- package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +8 -14
- package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -9
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +24 -29
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -20
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +13 -17
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -14
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +14 -19
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -10
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +24 -29
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -19
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +22 -27
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -6
- package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +6 -7
- package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -3
- package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +18 -27
- package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -8
- package/dist/types/components/WeeksPicker/WeeksCalendar.d.ts +9 -13
- package/dist/types/components/WeeksPicker/WeeksCalendar.styles.d.ts +5 -5
- package/dist/types/components/WeeksPicker/WeeksPicker.d.ts +2 -3
- package/dist/types/components/WeeksPicker/WeeksPicker.stories.d.ts +1 -1
- package/dist/types/components/WeeksPicker/WeeksPicker.style.d.ts +8 -8
- package/dist/types/icons/ArrowDownIcon.d.ts +1 -1
- package/dist/types/icons/ArrowDropDownIcon.d.ts +1 -1
- package/dist/types/icons/ArrowLeftIcon.d.ts +1 -1
- package/dist/types/icons/ArrowRightFullIcon.d.ts +1 -1
- package/dist/types/icons/ArrowSelectIcon.d.ts +1 -1
- package/dist/types/icons/ArrowUpIcon.d.ts +1 -1
- package/dist/types/icons/AttachedIcon.d.ts +1 -1
- package/dist/types/icons/BarcodeIcon.d.ts +1 -1
- package/dist/types/icons/BellIcon.d.ts +1 -1
- package/dist/types/icons/ButtonArrowRight.d.ts +1 -1
- package/dist/types/icons/Calendar.d.ts +1 -1
- package/dist/types/icons/CalendarIcon.d.ts +1 -1
- package/dist/types/icons/CalendarInOpen.d.ts +1 -1
- package/dist/types/icons/CheckBoxButtonCheckedIcon.d.ts +1 -1
- package/dist/types/icons/CheckBoxCheckedIcon.d.ts +1 -1
- package/dist/types/icons/CheckBoxNotCheckedIcon.d.ts +1 -1
- package/dist/types/icons/ChervronLeftIcon.d.ts +1 -1
- package/dist/types/icons/ChervronRightIcon.d.ts +1 -1
- package/dist/types/icons/ChevronIcon.d.ts +1 -1
- package/dist/types/icons/ChevronLeftIcon.d.ts +1 -1
- package/dist/types/icons/ChevronRightIcon.d.ts +1 -1
- package/dist/types/icons/ClockIcon.d.ts +1 -1
- package/dist/types/icons/CloseIcon.d.ts +1 -1
- package/dist/types/icons/CloseXIcon.d.ts +1 -1
- package/dist/types/icons/ComboBoxArrowDownIcon.d.ts +1 -1
- package/dist/types/icons/ComboBoxArrowUpIcon.d.ts +1 -1
- package/dist/types/icons/CommentIcon.d.ts +1 -1
- package/dist/types/icons/DocumentIcon.d.ts +1 -1
- package/dist/types/icons/DownArrowIcon.d.ts +1 -1
- package/dist/types/icons/DownloadIcon.d.ts +1 -1
- package/dist/types/icons/Duplicate.d.ts +1 -1
- package/dist/types/icons/ErrorIcon.d.ts +1 -1
- package/dist/types/icons/ExclamationMarkIcon.d.ts +1 -1
- package/dist/types/icons/ExitIcon.d.ts +1 -1
- package/dist/types/icons/ExportIcon.d.ts +1 -1
- package/dist/types/icons/EyeIcon.d.ts +1 -1
- package/dist/types/icons/FileIcon.d.ts +1 -1
- package/dist/types/icons/FilterIcon.d.ts +1 -1
- package/dist/types/icons/FlyIcon.d.ts +1 -1
- package/dist/types/icons/FolderIcon.d.ts +1 -1
- package/dist/types/icons/FoodLionChartIcon.d.ts +1 -1
- package/dist/types/icons/FoodLionIcon.d.ts +1 -1
- package/dist/types/icons/FoodLionNewIcon.d.ts +1 -1
- package/dist/types/icons/GiantFoodChartIcon.d.ts +1 -1
- package/dist/types/icons/GiantFoodIcon.d.ts +1 -1
- package/dist/types/icons/GiantFoodIcon_new.d.ts +1 -1
- package/dist/types/icons/HannafordChartIcon.d.ts +1 -1
- package/dist/types/icons/HannafordIcon.d.ts +1 -1
- package/dist/types/icons/HannafordIcon_new.d.ts +1 -1
- package/dist/types/icons/HannafordNewIcon.d.ts +1 -1
- package/dist/types/icons/HeroIcon.d.ts +1 -1
- package/dist/types/icons/InfoIcon.d.ts +1 -1
- package/dist/types/icons/LampIcon.d.ts +1 -1
- package/dist/types/icons/LegendLineIcon.d.ts +1 -1
- package/dist/types/icons/LegendUnionIcon.d.ts +1 -1
- package/dist/types/icons/MaintenanceIcon.d.ts +1 -1
- package/dist/types/icons/MenuItemClosedIcon.d.ts +1 -1
- package/dist/types/icons/MenuItemOpenIcon.d.ts +1 -1
- package/dist/types/icons/MenuItemRightIcon.d.ts +1 -1
- package/dist/types/icons/MenuItemUpIcon.d.ts +1 -1
- package/dist/types/icons/NoDataFoundIcon.d.ts +3 -4
- package/dist/types/icons/OkCircleIcon.d.ts +1 -1
- package/dist/types/icons/OkIcon.d.ts +1 -1
- package/dist/types/icons/OptionsIcon.d.ts +1 -1
- package/dist/types/icons/PackageSendIcon.d.ts +1 -1
- package/dist/types/icons/PenIcon.d.ts +1 -1
- package/dist/types/icons/PencilIcon.d.ts +1 -1
- package/dist/types/icons/PeopleIcon.d.ts +1 -1
- package/dist/types/icons/Plus.d.ts +1 -1
- package/dist/types/icons/PlusIcon.d.ts +1 -1
- package/dist/types/icons/RedDot.d.ts +1 -1
- package/dist/types/icons/ReselectIcon.d.ts +1 -1
- package/dist/types/icons/SearchIcon.d.ts +1 -1
- package/dist/types/icons/ShoppingCartIcon.d.ts +1 -1
- package/dist/types/icons/ShoutIcon.d.ts +1 -1
- package/dist/types/icons/SortIcon.d.ts +1 -1
- package/dist/types/icons/SpotlightProductIcon.d.ts +1 -1
- package/dist/types/icons/StopAndShopChartIcon.d.ts +1 -1
- package/dist/types/icons/StopAndShopIcon.d.ts +1 -1
- package/dist/types/icons/StopAndShopNewIcon.d.ts +1 -1
- package/dist/types/icons/SucceededIcon.d.ts +1 -1
- package/dist/types/icons/TheGiantCompanyChartIcon.d.ts +1 -1
- package/dist/types/icons/TheGiantCompanyIcon.d.ts +1 -1
- package/dist/types/icons/TheGiantCompanyNewIcon.d.ts +1 -1
- package/dist/types/icons/TrashIcon.d.ts +1 -1
- package/dist/types/icons/UpArrowIcon.d.ts +1 -1
- package/dist/types/icons/UploadIcon.d.ts +1 -1
- package/dist/types/icons/UploadIconV2.d.ts +1 -1
- package/dist/types/icons/VIcon.d.ts +1 -1
- package/dist/types/utils/IconsHandler.d.ts +1 -1
- package/dist/types/utils/IconsHandler.style.d.ts +1 -1
- package/dist/types/utils/UtilsComponents/CustomTooltip.d.ts +1 -1
- package/dist/types/utils/UtilsComponents/TitleWithCustomTooltip.d.ts +1 -1
- package/dist/types/utils/UtilsComponents/useTextOverflow.d.ts +3 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -35199,7 +35199,6 @@ const WeeksPicker = _ref => {
|
|
|
35199
35199
|
borderColor,
|
|
35200
35200
|
borderColorFocus,
|
|
35201
35201
|
textColor,
|
|
35202
|
-
text = 'Week',
|
|
35203
35202
|
hoverColor,
|
|
35204
35203
|
required,
|
|
35205
35204
|
placeholder,
|
|
@@ -35223,7 +35222,6 @@ const WeeksPicker = _ref => {
|
|
|
35223
35222
|
const [isFocused, setIsFocused] = useState(false);
|
|
35224
35223
|
const [isOpen, setIsOpen] = useState(false);
|
|
35225
35224
|
const [showAbove, setShowAbove] = useState(false);
|
|
35226
|
-
const [previousText, setPreviousText] = useState(text);
|
|
35227
35225
|
|
|
35228
35226
|
// Function to parse the value string and extract week numbers
|
|
35229
35227
|
const parseValueToWeeks = valueString => {
|
|
@@ -35231,21 +35229,25 @@ const WeeksPicker = _ref => {
|
|
|
35231
35229
|
startWeek: null,
|
|
35232
35230
|
endWeek: null
|
|
35233
35231
|
};
|
|
35234
|
-
|
|
35235
|
-
|
|
35236
|
-
|
|
35237
|
-
|
|
35232
|
+
|
|
35233
|
+
// Handle single week: "Week 5"
|
|
35234
|
+
const singleWeekMatch = valueString.match(/^Week (\d+)$/);
|
|
35235
|
+
if (singleWeekMatch) {
|
|
35236
|
+
const week = parseInt(singleWeekMatch[1]);
|
|
35238
35237
|
return {
|
|
35239
|
-
startWeek,
|
|
35240
|
-
endWeek
|
|
35238
|
+
startWeek: week,
|
|
35239
|
+
endWeek: week
|
|
35241
35240
|
};
|
|
35242
35241
|
}
|
|
35243
|
-
|
|
35244
|
-
|
|
35245
|
-
|
|
35242
|
+
|
|
35243
|
+
// Handle week range: "Weeks 5 - 10"
|
|
35244
|
+
const rangeMatch = valueString.match(/^Weeks (\d+) - (\d+)$/);
|
|
35245
|
+
if (rangeMatch) {
|
|
35246
|
+
const startWeek = parseInt(rangeMatch[1]);
|
|
35247
|
+
const endWeek = parseInt(rangeMatch[2]);
|
|
35246
35248
|
return {
|
|
35247
|
-
startWeek
|
|
35248
|
-
endWeek
|
|
35249
|
+
startWeek,
|
|
35250
|
+
endWeek
|
|
35249
35251
|
};
|
|
35250
35252
|
}
|
|
35251
35253
|
return {
|
|
@@ -35321,27 +35323,6 @@ const WeeksPicker = _ref => {
|
|
|
35321
35323
|
}
|
|
35322
35324
|
}
|
|
35323
35325
|
}, [allowedWeekRange, restrictToRange]);
|
|
35324
|
-
useEffect(() => {
|
|
35325
|
-
if (previousText !== text) {
|
|
35326
|
-
setPreviousText(text);
|
|
35327
|
-
}
|
|
35328
|
-
const currentValue = value || selectedValue;
|
|
35329
|
-
if (currentValue) {
|
|
35330
|
-
const {
|
|
35331
|
-
startWeek,
|
|
35332
|
-
endWeek
|
|
35333
|
-
} = parseValueToWeeks(currentValue);
|
|
35334
|
-
if (startWeek && endWeek) {
|
|
35335
|
-
const newValue = endWeek === startWeek ? text === 'Week' ? `${text} ${startWeek}` : `${text}${startWeek}` : text === 'Week' ? `${text}s ${startWeek} - ${endWeek}` : `${text}${startWeek} - ${endWeek}`;
|
|
35336
|
-
if (newValue !== value) {
|
|
35337
|
-
setValue(newValue);
|
|
35338
|
-
if (onChange) {
|
|
35339
|
-
onChange(newValue);
|
|
35340
|
-
}
|
|
35341
|
-
}
|
|
35342
|
-
}
|
|
35343
|
-
}
|
|
35344
|
-
}, [text, value, selectedValue, previousText, onChange]);
|
|
35345
35326
|
const handleToggle = () => {
|
|
35346
35327
|
setIsOpen(!isOpen);
|
|
35347
35328
|
};
|
|
@@ -35362,6 +35343,11 @@ const WeeksPicker = _ref => {
|
|
|
35362
35343
|
onChange(newValue);
|
|
35363
35344
|
setValue(newValue);
|
|
35364
35345
|
};
|
|
35346
|
+
useEffect(() => {
|
|
35347
|
+
if (selectedValue !== undefined) {
|
|
35348
|
+
setValue(selectedValue);
|
|
35349
|
+
}
|
|
35350
|
+
}, [selectedValue]);
|
|
35365
35351
|
const handleApply = () => {
|
|
35366
35352
|
setIsOpen(false);
|
|
35367
35353
|
};
|
|
@@ -35445,7 +35431,7 @@ const WeeksPicker = _ref => {
|
|
|
35445
35431
|
console.warn('Selected weeks are outside the allowed range');
|
|
35446
35432
|
return;
|
|
35447
35433
|
}
|
|
35448
|
-
const tempValue = end === start ?
|
|
35434
|
+
const tempValue = end === start ? `Week ${start}` : `Weeks ${start} - ${end}`;
|
|
35449
35435
|
onChange(tempValue);
|
|
35450
35436
|
setValue(tempValue);
|
|
35451
35437
|
handleApply();
|
|
@@ -36112,19 +36098,15 @@ const ToggleInput = styled.input`
|
|
|
36112
36098
|
const ToggleSlider = styled.span`
|
|
36113
36099
|
display: block;
|
|
36114
36100
|
position: relative;
|
|
36115
|
-
background: ${
|
|
36116
|
-
|
|
36117
|
-
|
|
36118
|
-
|
|
36119
|
-
} = _ref;
|
|
36120
|
-
return checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0";
|
|
36121
|
-
}};
|
|
36101
|
+
background: ${({
|
|
36102
|
+
checked,
|
|
36103
|
+
disabled
|
|
36104
|
+
}) => checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0"};
|
|
36122
36105
|
border-radius: 999px;
|
|
36123
36106
|
transition: background 0.2s;
|
|
36124
|
-
${
|
|
36125
|
-
|
|
36126
|
-
|
|
36127
|
-
} = _ref2;
|
|
36107
|
+
${({
|
|
36108
|
+
size
|
|
36109
|
+
}) => {
|
|
36128
36110
|
switch (size) {
|
|
36129
36111
|
case "s":
|
|
36130
36112
|
return css`width: 40px; height: 20px;`;
|
|
@@ -36140,18 +36122,14 @@ const ToggleSlider = styled.span`
|
|
|
36140
36122
|
left: 3px;
|
|
36141
36123
|
top: 50%;
|
|
36142
36124
|
transform: translateY(-50%);
|
|
36143
|
-
background: ${
|
|
36144
|
-
|
|
36145
|
-
|
|
36146
|
-
} = _ref3;
|
|
36147
|
-
return disabled ? "#D0D0D0" : "#fff";
|
|
36148
|
-
}};
|
|
36125
|
+
background: ${({
|
|
36126
|
+
disabled
|
|
36127
|
+
}) => disabled ? "#D0D0D0" : "#fff"};
|
|
36149
36128
|
border-radius: 50%;
|
|
36150
36129
|
transition: left 0.2s, width 0.2s, height 0.2s;
|
|
36151
|
-
${
|
|
36152
|
-
|
|
36153
|
-
|
|
36154
|
-
} = _ref4;
|
|
36130
|
+
${({
|
|
36131
|
+
size
|
|
36132
|
+
}) => {
|
|
36155
36133
|
switch (size) {
|
|
36156
36134
|
case "s":
|
|
36157
36135
|
return css`width: 14px; height: 14px;`;
|
|
@@ -36161,11 +36139,10 @@ const ToggleSlider = styled.span`
|
|
|
36161
36139
|
return css`width: 20px; height: 20px;`;
|
|
36162
36140
|
}
|
|
36163
36141
|
}}
|
|
36164
|
-
left: ${
|
|
36165
|
-
|
|
36166
|
-
|
|
36167
|
-
|
|
36168
|
-
} = _ref5;
|
|
36142
|
+
left: ${({
|
|
36143
|
+
checked,
|
|
36144
|
+
size
|
|
36145
|
+
}) => {
|
|
36169
36146
|
if (!checked) return "3px";
|
|
36170
36147
|
switch (size) {
|
|
36171
36148
|
case "s":
|
|
@@ -40799,7 +40776,8 @@ const TableHeader = ({
|
|
|
40799
40776
|
activeSorts = [],
|
|
40800
40777
|
expandable = false,
|
|
40801
40778
|
onHeaderCheckboxClick = () => {},
|
|
40802
|
-
headerCheckboxStates = {}
|
|
40779
|
+
headerCheckboxStates = {},
|
|
40780
|
+
resetFiltersKey = 0 // NEW: Add this prop
|
|
40803
40781
|
}) => {
|
|
40804
40782
|
const [focusedFilter, setFocusedFilter] = useState(null);
|
|
40805
40783
|
const [focusedSort, setFocusedSort] = useState(null);
|
|
@@ -40810,21 +40788,46 @@ const TableHeader = ({
|
|
|
40810
40788
|
left: 0
|
|
40811
40789
|
});
|
|
40812
40790
|
const [filterState, setFilterState] = useState({});
|
|
40813
|
-
|
|
40814
|
-
// Add persistent filter selections state
|
|
40815
40791
|
const [filterSelections, setFilterSelections] = useState({});
|
|
40792
|
+
const [activeSortColumn, setActiveSortColumn] = useState(null);
|
|
40793
|
+
const [activeSortValue, setActiveSortValue] = useState(null);
|
|
40794
|
+
const iconRefs = useRef({});
|
|
40795
|
+
const popupRef = useRef(null);
|
|
40816
40796
|
|
|
40817
|
-
//
|
|
40818
|
-
|
|
40819
|
-
|
|
40797
|
+
// NEW: Reset internal state when resetFiltersKey changes
|
|
40798
|
+
useEffect(() => {
|
|
40799
|
+
if (resetFiltersKey > 0) {
|
|
40800
|
+
// Reset filter selections to default (all selected)
|
|
40801
|
+
const resetSelections = {};
|
|
40802
|
+
columns.forEach(column => {
|
|
40803
|
+
if (column.filter && column.filterOptions) {
|
|
40804
|
+
const initialState = {};
|
|
40805
|
+
const fullList = [{
|
|
40806
|
+
value: 'All',
|
|
40807
|
+
label: 'Select All'
|
|
40808
|
+
}, ...column.filterOptions];
|
|
40809
|
+
fullList.forEach(item => {
|
|
40810
|
+
initialState[item.value] = true;
|
|
40811
|
+
});
|
|
40812
|
+
resetSelections[column.key] = initialState;
|
|
40813
|
+
}
|
|
40814
|
+
});
|
|
40815
|
+
setFilterSelections(resetSelections);
|
|
40820
40816
|
|
|
40821
|
-
|
|
40822
|
-
|
|
40817
|
+
// Reset filter state
|
|
40818
|
+
setFilterState({});
|
|
40823
40819
|
|
|
40824
|
-
|
|
40825
|
-
|
|
40820
|
+
// Reset sort state
|
|
40821
|
+
setActiveSortColumn(null);
|
|
40822
|
+
setActiveSortValue(null);
|
|
40826
40823
|
|
|
40827
|
-
|
|
40824
|
+
// Close any open popups
|
|
40825
|
+
setVisibleFilterPopWrapper(null);
|
|
40826
|
+
setVisibleSortPopWrapper(null);
|
|
40827
|
+
}
|
|
40828
|
+
}, [resetFiltersKey, columns]);
|
|
40829
|
+
|
|
40830
|
+
// Initialize filter selections for new columns
|
|
40828
40831
|
useEffect(() => {
|
|
40829
40832
|
setFilterSelections(prevSelections => {
|
|
40830
40833
|
const newSelections = {
|
|
@@ -40832,7 +40835,6 @@ const TableHeader = ({
|
|
|
40832
40835
|
};
|
|
40833
40836
|
let hasChanges = false;
|
|
40834
40837
|
columns.forEach(column => {
|
|
40835
|
-
// Only initialize if column doesn't exist in state yet
|
|
40836
40838
|
if (column.filter && column.filterOptions && !newSelections[column.key]) {
|
|
40837
40839
|
const initialState = {};
|
|
40838
40840
|
const fullList = [{
|
|
@@ -40845,69 +40847,48 @@ const TableHeader = ({
|
|
|
40845
40847
|
newSelections[column.key] = initialState;
|
|
40846
40848
|
hasChanges = true;
|
|
40847
40849
|
} else if (column.filter && column.filterOptions && newSelections[column.key]) {
|
|
40848
|
-
// Column exists - check if we need to add new options that appeared
|
|
40849
40850
|
const currentSelections = newSelections[column.key];
|
|
40850
40851
|
const newOptions = column.filterOptions.filter(opt => currentSelections[opt.value] === undefined);
|
|
40851
|
-
|
|
40852
|
-
// Only update if there are genuinely new options
|
|
40853
40852
|
if (newOptions.length > 0) {
|
|
40854
40853
|
const updatedSelections = {
|
|
40855
40854
|
...currentSelections
|
|
40856
40855
|
};
|
|
40857
40856
|
newOptions.forEach(opt => {
|
|
40858
|
-
updatedSelections[opt.value] = true;
|
|
40857
|
+
updatedSelections[opt.value] = true;
|
|
40859
40858
|
});
|
|
40860
40859
|
newSelections[column.key] = updatedSelections;
|
|
40861
40860
|
hasChanges = true;
|
|
40862
40861
|
}
|
|
40863
40862
|
}
|
|
40864
40863
|
});
|
|
40865
|
-
|
|
40866
|
-
// Only return new object if there were actual changes
|
|
40867
40864
|
return hasChanges ? newSelections : prevSelections;
|
|
40868
40865
|
});
|
|
40869
40866
|
}, [columns]);
|
|
40870
|
-
|
|
40871
|
-
// Helper function to check if filter is in default state (all items selected)
|
|
40872
40867
|
const isFilterInDefaultState = columnKey => {
|
|
40873
40868
|
const filterData = filterState[columnKey];
|
|
40874
40869
|
if (!filterData) {
|
|
40875
|
-
return true;
|
|
40870
|
+
return true;
|
|
40876
40871
|
}
|
|
40877
|
-
|
|
40878
|
-
// For range filters, check if "All weeks" is selected
|
|
40879
40872
|
if (filterData.selectedRadio) {
|
|
40880
40873
|
return filterData.selectedRadio === 'all weeks';
|
|
40881
40874
|
}
|
|
40882
|
-
|
|
40883
|
-
// Check if it's in "select all" state with no exclusions
|
|
40884
40875
|
return filterData.isSelectAll && filterData.excluded?.length === 0 && filterData.included?.length === 0;
|
|
40885
40876
|
};
|
|
40886
|
-
|
|
40887
|
-
// Helper function to determine filter icon state
|
|
40888
40877
|
const getFilterIconState = columnKey => {
|
|
40889
40878
|
const isFocused = focusedFilter === columnKey;
|
|
40890
40879
|
const isActive = activeFilters.includes(columnKey);
|
|
40891
40880
|
const isDefault = isFilterInDefaultState(columnKey);
|
|
40892
|
-
|
|
40893
|
-
// If it's in default state (all selected), show as default
|
|
40894
40881
|
if (isDefault) {
|
|
40895
40882
|
return 'default';
|
|
40896
40883
|
}
|
|
40897
|
-
|
|
40898
|
-
// If focused or active and not in default state, show as active
|
|
40899
40884
|
if (isFocused || isActive) {
|
|
40900
40885
|
return 'active';
|
|
40901
40886
|
}
|
|
40902
|
-
|
|
40903
|
-
// If has filter applied but not default, show as active
|
|
40904
40887
|
if (filterState[columnKey]) {
|
|
40905
40888
|
return 'active';
|
|
40906
40889
|
}
|
|
40907
40890
|
return 'default';
|
|
40908
40891
|
};
|
|
40909
|
-
|
|
40910
|
-
// Enhanced function to calculate position with viewport boundary detection
|
|
40911
40892
|
const calculatePopPosition = (iconElement, popupWidth = 300, popupHeight = 400) => {
|
|
40912
40893
|
if (!iconElement) return {
|
|
40913
40894
|
top: 0,
|
|
@@ -40918,32 +40899,20 @@ const TableHeader = ({
|
|
|
40918
40899
|
const scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
|
|
40919
40900
|
const viewportWidth = window.innerWidth;
|
|
40920
40901
|
const viewportHeight = window.innerHeight;
|
|
40921
|
-
let top = rect.bottom + scrollTop + 4;
|
|
40902
|
+
let top = rect.bottom + scrollTop + 4;
|
|
40922
40903
|
let left = rect.left + scrollLeft;
|
|
40923
|
-
|
|
40924
|
-
// Check if popup would overflow right edge of viewport
|
|
40925
40904
|
if (left + popupWidth > viewportWidth) {
|
|
40926
|
-
// Position to the left of the icon instead
|
|
40927
40905
|
left = rect.right + scrollLeft - popupWidth;
|
|
40928
|
-
|
|
40929
|
-
// If it still overflows on the left, clamp to viewport
|
|
40930
40906
|
if (left < 0) {
|
|
40931
|
-
left = 8;
|
|
40907
|
+
left = 8;
|
|
40932
40908
|
}
|
|
40933
40909
|
}
|
|
40934
|
-
|
|
40935
|
-
// Check if popup would overflow bottom edge of viewport
|
|
40936
40910
|
if (rect.bottom + popupHeight > viewportHeight) {
|
|
40937
|
-
|
|
40938
|
-
top = rect.top + scrollTop - popupHeight - 4; // 4px gap above the icon
|
|
40939
|
-
|
|
40940
|
-
// If it still overflows on the top, clamp to viewport
|
|
40911
|
+
top = rect.top + scrollTop - popupHeight - 4;
|
|
40941
40912
|
if (top < scrollTop) {
|
|
40942
|
-
top = scrollTop + 8;
|
|
40913
|
+
top = scrollTop + 8;
|
|
40943
40914
|
}
|
|
40944
40915
|
}
|
|
40945
|
-
|
|
40946
|
-
// Ensure left position doesn't go negative
|
|
40947
40916
|
if (left < 0) {
|
|
40948
40917
|
left = 8;
|
|
40949
40918
|
}
|
|
@@ -40952,16 +40921,12 @@ const TableHeader = ({
|
|
|
40952
40921
|
left
|
|
40953
40922
|
};
|
|
40954
40923
|
};
|
|
40955
|
-
|
|
40956
|
-
// Function to estimate popup dimensions based on content type
|
|
40957
40924
|
const getEstimatedPopupDimensions = columnKey => {
|
|
40958
40925
|
const column = columns.find(col => col.key === columnKey);
|
|
40959
40926
|
if (!column) return {
|
|
40960
40927
|
width: 300,
|
|
40961
40928
|
height: 400
|
|
40962
40929
|
};
|
|
40963
|
-
|
|
40964
|
-
// Default dimensions
|
|
40965
40930
|
let width = 300;
|
|
40966
40931
|
let height = 400;
|
|
40967
40932
|
if (column.freeTextFilter) {
|
|
@@ -40971,8 +40936,7 @@ const TableHeader = ({
|
|
|
40971
40936
|
width = 300;
|
|
40972
40937
|
height = 300;
|
|
40973
40938
|
} else if (column.filterOptions) {
|
|
40974
|
-
|
|
40975
|
-
const optionCount = column.filterOptions.length + 1; // +1 for "Select All"
|
|
40939
|
+
const optionCount = column.filterOptions.length + 1;
|
|
40976
40940
|
height = Math.min(Math.max(optionCount * 32 + 100, 200), 500);
|
|
40977
40941
|
} else if (column.sortOptions) {
|
|
40978
40942
|
const optionCount = column.sortOptions.length;
|
|
@@ -40983,8 +40947,6 @@ const TableHeader = ({
|
|
|
40983
40947
|
height
|
|
40984
40948
|
};
|
|
40985
40949
|
};
|
|
40986
|
-
|
|
40987
|
-
// Update handleSort to remove onSort call (only opens/closes popup)
|
|
40988
40950
|
const handleSort = key => {
|
|
40989
40951
|
const iconElement = iconRefs.current[`sort-${key}`];
|
|
40990
40952
|
if (iconElement) {
|
|
@@ -40992,7 +40954,7 @@ const TableHeader = ({
|
|
|
40992
40954
|
setPopPosition(calculatePopPosition(iconElement, dimensions.width, dimensions.height));
|
|
40993
40955
|
}
|
|
40994
40956
|
setVisibleSortPopWrapper(prevKey => prevKey === key ? null : key);
|
|
40995
|
-
setVisibleFilterPopWrapper(null);
|
|
40957
|
+
setVisibleFilterPopWrapper(null);
|
|
40996
40958
|
};
|
|
40997
40959
|
useEffect(() => {
|
|
40998
40960
|
if (Object.keys(filterState).length > 0) {
|
|
@@ -41006,46 +40968,29 @@ const TableHeader = ({
|
|
|
41006
40968
|
setPopPosition(calculatePopPosition(iconElement, dimensions.width, dimensions.height));
|
|
41007
40969
|
}
|
|
41008
40970
|
setVisibleFilterPopWrapper(prevKey => prevKey === key ? null : key);
|
|
41009
|
-
setVisibleSortPopWrapper(null);
|
|
40971
|
+
setVisibleSortPopWrapper(null);
|
|
41010
40972
|
};
|
|
41011
|
-
|
|
41012
|
-
// MODIFIED: Handle sort selection - Reset previous sort and apply new one
|
|
41013
40973
|
const handleSortSelectionChange = (columnKey, sortValue) => {
|
|
41014
|
-
// If selecting a new column, reset the previous sort
|
|
41015
40974
|
if (activeSortColumn && activeSortColumn !== columnKey) {
|
|
41016
|
-
// Clear the previous sort
|
|
41017
40975
|
setActiveSortColumn(columnKey);
|
|
41018
40976
|
setActiveSortValue(sortValue);
|
|
41019
40977
|
} else {
|
|
41020
|
-
// Same column or first sort
|
|
41021
40978
|
setActiveSortColumn(columnKey);
|
|
41022
40979
|
setActiveSortValue(sortValue);
|
|
41023
40980
|
}
|
|
41024
|
-
|
|
41025
|
-
// Close the popup after selection
|
|
41026
40981
|
setVisibleSortPopWrapper(null);
|
|
41027
|
-
|
|
41028
|
-
// Call onSort with both column key and selected sort value
|
|
41029
40982
|
if (onSort) {
|
|
41030
40983
|
onSort(columnKey, sortValue);
|
|
41031
40984
|
}
|
|
41032
40985
|
};
|
|
41033
|
-
|
|
41034
|
-
// MODIFIED: Handle sort reset - Clear the active sort
|
|
41035
40986
|
const handleSortReset = columnKey => {
|
|
41036
|
-
// Clear the active sort state
|
|
41037
40987
|
setActiveSortColumn(null);
|
|
41038
40988
|
setActiveSortValue(null);
|
|
41039
|
-
|
|
41040
|
-
// Call onSort to notify that sort was reset
|
|
41041
40989
|
if (onSort) {
|
|
41042
40990
|
onSort(columnKey, null);
|
|
41043
40991
|
}
|
|
41044
40992
|
};
|
|
41045
|
-
|
|
41046
|
-
// Handle filter selection changes - Updated to work with stateless FilterPop
|
|
41047
40993
|
const handleFilterSelectionChange = (columnKey, selectionData) => {
|
|
41048
|
-
// Force immediate synchronous update using callback form
|
|
41049
40994
|
setFilterSelections(prev => {
|
|
41050
40995
|
const updated = {
|
|
41051
40996
|
...prev,
|
|
@@ -41053,15 +40998,11 @@ const TableHeader = ({
|
|
|
41053
40998
|
};
|
|
41054
40999
|
return updated;
|
|
41055
41000
|
});
|
|
41056
|
-
|
|
41057
|
-
// Also update filter state
|
|
41058
41001
|
setFilterState(prev => ({
|
|
41059
41002
|
...prev,
|
|
41060
41003
|
[columnKey]: selectionData.filterData
|
|
41061
41004
|
}));
|
|
41062
41005
|
};
|
|
41063
|
-
|
|
41064
|
-
// Handle filter reset - Updated to work with stateless FilterPop
|
|
41065
41006
|
const handleFilterReset = columnKey => {
|
|
41066
41007
|
const column = columns.find(col => col.key === columnKey);
|
|
41067
41008
|
if (column && column.filterOptions) {
|
|
@@ -41073,14 +41014,10 @@ const TableHeader = ({
|
|
|
41073
41014
|
fullList.forEach(item => {
|
|
41074
41015
|
resetState[item.value] = true;
|
|
41075
41016
|
});
|
|
41076
|
-
|
|
41077
|
-
// Update filter selections immediately
|
|
41078
41017
|
setFilterSelections(prev => ({
|
|
41079
41018
|
...prev,
|
|
41080
41019
|
[columnKey]: resetState
|
|
41081
41020
|
}));
|
|
41082
|
-
|
|
41083
|
-
// Set filter state to "select all" structure
|
|
41084
41021
|
const resetFilterData = {
|
|
41085
41022
|
excluded: [],
|
|
41086
41023
|
included: [],
|
|
@@ -41092,8 +41029,6 @@ const TableHeader = ({
|
|
|
41092
41029
|
}));
|
|
41093
41030
|
}
|
|
41094
41031
|
};
|
|
41095
|
-
|
|
41096
|
-
// Update the click outside handlers
|
|
41097
41032
|
useEffect(() => {
|
|
41098
41033
|
const handleClickOutside = event => {
|
|
41099
41034
|
if (!event.target.closest(`[data-column="${visibleFilterPopWrapper}"]`) && !event.target.closest('.pop-wrapper')) {
|
|
@@ -41116,8 +41051,6 @@ const TableHeader = ({
|
|
|
41116
41051
|
document.removeEventListener('mousedown', handleClickOutside);
|
|
41117
41052
|
};
|
|
41118
41053
|
}, [visibleSortPopWrapper]);
|
|
41119
|
-
|
|
41120
|
-
// Enhanced position update with better dimension handling
|
|
41121
41054
|
useEffect(() => {
|
|
41122
41055
|
const updatePosition = () => {
|
|
41123
41056
|
if (visibleSortPopWrapper) {
|
|
@@ -41134,12 +41067,10 @@ const TableHeader = ({
|
|
|
41134
41067
|
}
|
|
41135
41068
|
}
|
|
41136
41069
|
};
|
|
41137
|
-
|
|
41138
|
-
// Debounce the position update for better performance
|
|
41139
41070
|
let timeoutId;
|
|
41140
41071
|
const debouncedUpdatePosition = () => {
|
|
41141
41072
|
clearTimeout(timeoutId);
|
|
41142
|
-
timeoutId = setTimeout(updatePosition, 16);
|
|
41073
|
+
timeoutId = setTimeout(updatePosition, 16);
|
|
41143
41074
|
};
|
|
41144
41075
|
window.addEventListener('scroll', debouncedUpdatePosition, {
|
|
41145
41076
|
passive: true
|
|
@@ -41167,21 +41098,14 @@ const TableHeader = ({
|
|
|
41167
41098
|
const shouldShowActiveIcon = key => {
|
|
41168
41099
|
return isFilterActive(key) || isFilterFocused(key);
|
|
41169
41100
|
};
|
|
41170
|
-
|
|
41171
|
-
// MODIFIED: Check if THIS specific column has an active sort
|
|
41172
41101
|
const shouldShowActiveSortIcon = key => {
|
|
41173
41102
|
const isFocused = focusedSort === key;
|
|
41174
41103
|
const isActive = activeSorts.includes(key);
|
|
41175
41104
|
const hasSelection = activeSortColumn === key && activeSortValue !== null;
|
|
41176
41105
|
return isFocused || isActive || hasSelection;
|
|
41177
41106
|
};
|
|
41178
|
-
|
|
41179
|
-
// Handle header checkbox click
|
|
41180
41107
|
const handleHeaderCheckboxClick = (columnKey, event) => {
|
|
41181
|
-
// Don't prevent the default checkbox behavior
|
|
41182
41108
|
const newValue = event.target.checked;
|
|
41183
|
-
|
|
41184
|
-
// Fire the callback with column info and new value - let parent handle state
|
|
41185
41109
|
if (onHeaderCheckboxClick) {
|
|
41186
41110
|
onHeaderCheckboxClick({
|
|
41187
41111
|
columnName: columnKey,
|
|
@@ -41189,8 +41113,6 @@ const TableHeader = ({
|
|
|
41189
41113
|
});
|
|
41190
41114
|
}
|
|
41191
41115
|
};
|
|
41192
|
-
|
|
41193
|
-
// UPDATED: showColumnFilter with fixed RangePop integration
|
|
41194
41116
|
const showColumnFilter = column => {
|
|
41195
41117
|
const {
|
|
41196
41118
|
key,
|
|
@@ -41225,7 +41147,6 @@ const TableHeader = ({
|
|
|
41225
41147
|
}
|
|
41226
41148
|
});
|
|
41227
41149
|
} else if (rangeFilter) {
|
|
41228
|
-
// Get the current filter state for this column to persist values
|
|
41229
41150
|
const currentFilterState = filterState[key];
|
|
41230
41151
|
return /*#__PURE__*/React$1.createElement(RangePop, {
|
|
41231
41152
|
menuName: title,
|
|
@@ -41269,8 +41190,6 @@ const TableHeader = ({
|
|
|
41269
41190
|
});
|
|
41270
41191
|
}
|
|
41271
41192
|
};
|
|
41272
|
-
|
|
41273
|
-
// MODIFIED: Pass the selected value only for the active sort column
|
|
41274
41193
|
const showColumnSort = column => {
|
|
41275
41194
|
const {
|
|
41276
41195
|
key,
|
|
@@ -41280,8 +41199,6 @@ const TableHeader = ({
|
|
|
41280
41199
|
if (!sortOptions || sortOptions.length === 0) {
|
|
41281
41200
|
return null;
|
|
41282
41201
|
}
|
|
41283
|
-
|
|
41284
|
-
// Only show selected value if this is the active sort column
|
|
41285
41202
|
const selectedValue = activeSortColumn === key ? activeSortValue : null;
|
|
41286
41203
|
return /*#__PURE__*/React$1.createElement(SortPop, {
|
|
41287
41204
|
width: "300px",
|
|
@@ -46928,7 +46845,6 @@ const Table = props => {
|
|
|
46928
46845
|
noDataInSearchMessage = "Try to refine your query and search again",
|
|
46929
46846
|
noDataIcon = "Plus",
|
|
46930
46847
|
noDataSearchIcon = "Plus",
|
|
46931
|
-
// NEW: Props for NoEventsParent section
|
|
46932
46848
|
noEventsTitle = "You haven't created any events yet",
|
|
46933
46849
|
noEventsSubtitle = "Let's get started and create your first one!",
|
|
46934
46850
|
noEventsButtonText = "New Event",
|
|
@@ -46940,17 +46856,14 @@ const Table = props => {
|
|
|
46940
46856
|
changeFocusIndex,
|
|
46941
46857
|
onTableFocusChange = () => {},
|
|
46942
46858
|
clearFocusOnOutsideClick = true,
|
|
46943
|
-
// NEW: Props for edit mode focus management
|
|
46944
46859
|
isEditMode = false,
|
|
46945
46860
|
editRowIndex = -1,
|
|
46946
46861
|
onCommentSave = () => {},
|
|
46947
|
-
// NEW: Props for expand functionality
|
|
46948
46862
|
expandable = false,
|
|
46949
46863
|
expandedRows = {},
|
|
46950
46864
|
expandedContent = {},
|
|
46951
46865
|
onExpandRow = () => {},
|
|
46952
46866
|
expandedBackgroundColor = '#E6F0F0',
|
|
46953
|
-
// New prop
|
|
46954
46867
|
onDropdownSelected = () => {},
|
|
46955
46868
|
onCheckboxClick = () => {},
|
|
46956
46869
|
onHeaderCheckboxClick = () => {},
|
|
@@ -46958,32 +46871,25 @@ const Table = props => {
|
|
|
46958
46871
|
onHeroClick = () => {},
|
|
46959
46872
|
dotIndicatorColor = '#34D399',
|
|
46960
46873
|
onEditableClick = () => {},
|
|
46961
|
-
|
|
46874
|
+
resetFiltersKey = 0,
|
|
46875
|
+
// NEW: Add this prop
|
|
46962
46876
|
ref = null
|
|
46963
46877
|
} = props;
|
|
46964
46878
|
const scrollWrapperRef = useRef(null);
|
|
46965
46879
|
const tableBodyRef = useRef(null);
|
|
46966
46880
|
const tableContainerRef = useRef(null);
|
|
46967
46881
|
const [hasTriggered, setHasTriggered] = useState(false);
|
|
46968
|
-
|
|
46969
|
-
// Expose method to clear table focus to parent components
|
|
46970
46882
|
const clearTableFocus = () => {
|
|
46971
46883
|
if (tableBodyRef.current) {
|
|
46972
46884
|
tableBodyRef.current.clearFocus();
|
|
46973
46885
|
}
|
|
46974
46886
|
};
|
|
46975
|
-
|
|
46976
|
-
// Handle focus change from TableBody
|
|
46977
46887
|
const handleTableFocusChange = focusedRowIndex => {
|
|
46978
46888
|
onTableFocusChange(focusedRowIndex);
|
|
46979
46889
|
};
|
|
46980
|
-
|
|
46981
|
-
// Handle comment save - pass through to parent
|
|
46982
46890
|
const handleCommentSave = (rowIndex, commentText) => {
|
|
46983
46891
|
onCommentSave(rowIndex, commentText);
|
|
46984
46892
|
};
|
|
46985
|
-
|
|
46986
|
-
// Expose methods to parent components via ref (if ref is provided)
|
|
46987
46893
|
useImperativeHandle(ref, () => ({
|
|
46988
46894
|
clearTableFocus,
|
|
46989
46895
|
getTableBodyRef: () => tableBodyRef.current
|
|
@@ -46997,17 +46903,13 @@ const Table = props => {
|
|
|
46997
46903
|
scrollHeight,
|
|
46998
46904
|
clientHeight
|
|
46999
46905
|
} = scrollWrapper;
|
|
47000
|
-
|
|
47001
|
-
// Calculate if we're near the bottom
|
|
47002
46906
|
const isNearBottom = scrollTop + clientHeight >= scrollHeight - 56 * lastRowsThreshold;
|
|
47003
46907
|
if (isNearBottom && data.length > 0) {
|
|
47004
|
-
// Trigger event only if it hasn't been triggered yet
|
|
47005
46908
|
if (!hasTriggered) {
|
|
47006
46909
|
onLastRowsReached();
|
|
47007
46910
|
setHasTriggered(true);
|
|
47008
46911
|
}
|
|
47009
46912
|
} else {
|
|
47010
|
-
// Reset trigger when user scrolls back up outside the threshold
|
|
47011
46913
|
if (hasTriggered) {
|
|
47012
46914
|
setHasTriggered(false);
|
|
47013
46915
|
}
|
|
@@ -47016,14 +46918,10 @@ const Table = props => {
|
|
|
47016
46918
|
scrollWrapper.addEventListener('scroll', handleScroll);
|
|
47017
46919
|
return () => scrollWrapper.removeEventListener('scroll', handleScroll);
|
|
47018
46920
|
}, [onLastRowsReached, data.length, lastRowsThreshold, hasTriggered]);
|
|
47019
|
-
|
|
47020
|
-
// Handle outside click to clear focus - UPDATED to respect edit mode
|
|
47021
46921
|
useEffect(() => {
|
|
47022
|
-
if (!clearFocusOnOutsideClick || isEditMode) return;
|
|
47023
|
-
|
|
46922
|
+
if (!clearFocusOnOutsideClick || isEditMode) return;
|
|
47024
46923
|
const handleOutsideClick = event => {
|
|
47025
46924
|
if (tableContainerRef.current && !tableContainerRef.current.contains(event.target)) {
|
|
47026
|
-
// Click is outside the table container
|
|
47027
46925
|
if (tableBodyRef.current) {
|
|
47028
46926
|
tableBodyRef.current.clearFocus();
|
|
47029
46927
|
}
|
|
@@ -47033,8 +46931,7 @@ const Table = props => {
|
|
|
47033
46931
|
return () => {
|
|
47034
46932
|
document.removeEventListener('mousedown', handleOutsideClick);
|
|
47035
46933
|
};
|
|
47036
|
-
}, [clearFocusOnOutsideClick, isEditMode]);
|
|
47037
|
-
|
|
46934
|
+
}, [clearFocusOnOutsideClick, isEditMode]);
|
|
47038
46935
|
const getNoDataIcon = icon => {
|
|
47039
46936
|
switch (icon) {
|
|
47040
46937
|
case "Event":
|
|
@@ -47052,7 +46949,6 @@ const Table = props => {
|
|
|
47052
46949
|
case "Upc":
|
|
47053
46950
|
return /*#__PURE__*/React$1.createElement(NoSearchUpcIcon, null);
|
|
47054
46951
|
case "Ntt":
|
|
47055
|
-
// Nothing to Track
|
|
47056
46952
|
return /*#__PURE__*/React$1.createElement(NothingToTrackIcon, null);
|
|
47057
46953
|
default:
|
|
47058
46954
|
return null;
|
|
@@ -47086,7 +46982,8 @@ const Table = props => {
|
|
|
47086
46982
|
onSelectAll: onSelectAll,
|
|
47087
46983
|
expandable: expandable,
|
|
47088
46984
|
onHeaderCheckboxClick: onHeaderCheckboxClick,
|
|
47089
|
-
headerCheckboxStates: headerCheckboxStates
|
|
46985
|
+
headerCheckboxStates: headerCheckboxStates,
|
|
46986
|
+
resetFiltersKey: resetFiltersKey
|
|
47090
46987
|
}), columns.length > 0 && data.length > 0 && /*#__PURE__*/React$1.createElement(TableBody, {
|
|
47091
46988
|
ref: tableBodyRef,
|
|
47092
46989
|
columns: columns,
|
|
@@ -47137,8 +47034,6 @@ const Table = props => {
|
|
|
47137
47034
|
id: "LoaderWrapper"
|
|
47138
47035
|
}, /*#__PURE__*/React$1.createElement(Loader, null)))));
|
|
47139
47036
|
};
|
|
47140
|
-
|
|
47141
|
-
// Add displayName for better debugging
|
|
47142
47037
|
Table.displayName = 'Table';
|
|
47143
47038
|
|
|
47144
47039
|
const Card = styled$1.div`
|
|
@@ -58031,7 +57926,9 @@ const OverlayDropdown = _ref => {
|
|
|
58031
57926
|
color: !selected && open ? placeHolderColor : "inherit"
|
|
58032
57927
|
}, group.templateType === 3 && editableDigitalCoupon ? dropdownDigitalCouponTitle !== "" ? dropdownDigitalCouponTitle : item.label : item.label), group.templateType === 2 ? /*#__PURE__*/React$1.createElement(ChervronRightIcon, {
|
|
58033
57928
|
fill: item.value === value ? "#fff" : "#212121"
|
|
58034
|
-
}) : group.templateType === 3 && editableDigitalCoupon ? /*#__PURE__*/React$1.createElement(
|
|
57929
|
+
}) : group.templateType === 3 && editableDigitalCoupon ? dropdownDigitalCouponTitle === "" ? /*#__PURE__*/React$1.createElement(ChervronRightIcon, {
|
|
57930
|
+
fill: item.value === value ? "#fff" : "#212121"
|
|
57931
|
+
}) : /*#__PURE__*/React$1.createElement(PenIcon, {
|
|
58035
57932
|
fill: item.value === value ? "#fff" : "#212121"
|
|
58036
57933
|
}) : item.value === value && /*#__PURE__*/React$1.createElement(OkIcon, {
|
|
58037
57934
|
width: "22px",
|