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.js
CHANGED
|
@@ -35209,7 +35209,6 @@ const WeeksPicker = _ref => {
|
|
|
35209
35209
|
borderColor,
|
|
35210
35210
|
borderColorFocus,
|
|
35211
35211
|
textColor,
|
|
35212
|
-
text = 'Week',
|
|
35213
35212
|
hoverColor,
|
|
35214
35213
|
required,
|
|
35215
35214
|
placeholder,
|
|
@@ -35233,7 +35232,6 @@ const WeeksPicker = _ref => {
|
|
|
35233
35232
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
35234
35233
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
35235
35234
|
const [showAbove, setShowAbove] = React$1.useState(false);
|
|
35236
|
-
const [previousText, setPreviousText] = React$1.useState(text);
|
|
35237
35235
|
|
|
35238
35236
|
// Function to parse the value string and extract week numbers
|
|
35239
35237
|
const parseValueToWeeks = valueString => {
|
|
@@ -35241,21 +35239,25 @@ const WeeksPicker = _ref => {
|
|
|
35241
35239
|
startWeek: null,
|
|
35242
35240
|
endWeek: null
|
|
35243
35241
|
};
|
|
35244
|
-
|
|
35245
|
-
|
|
35246
|
-
|
|
35247
|
-
|
|
35242
|
+
|
|
35243
|
+
// Handle single week: "Week 5"
|
|
35244
|
+
const singleWeekMatch = valueString.match(/^Week (\d+)$/);
|
|
35245
|
+
if (singleWeekMatch) {
|
|
35246
|
+
const week = parseInt(singleWeekMatch[1]);
|
|
35248
35247
|
return {
|
|
35249
|
-
startWeek,
|
|
35250
|
-
endWeek
|
|
35248
|
+
startWeek: week,
|
|
35249
|
+
endWeek: week
|
|
35251
35250
|
};
|
|
35252
35251
|
}
|
|
35253
|
-
|
|
35254
|
-
|
|
35255
|
-
|
|
35252
|
+
|
|
35253
|
+
// Handle week range: "Weeks 5 - 10"
|
|
35254
|
+
const rangeMatch = valueString.match(/^Weeks (\d+) - (\d+)$/);
|
|
35255
|
+
if (rangeMatch) {
|
|
35256
|
+
const startWeek = parseInt(rangeMatch[1]);
|
|
35257
|
+
const endWeek = parseInt(rangeMatch[2]);
|
|
35256
35258
|
return {
|
|
35257
|
-
startWeek
|
|
35258
|
-
endWeek
|
|
35259
|
+
startWeek,
|
|
35260
|
+
endWeek
|
|
35259
35261
|
};
|
|
35260
35262
|
}
|
|
35261
35263
|
return {
|
|
@@ -35331,27 +35333,6 @@ const WeeksPicker = _ref => {
|
|
|
35331
35333
|
}
|
|
35332
35334
|
}
|
|
35333
35335
|
}, [allowedWeekRange, restrictToRange]);
|
|
35334
|
-
React$1.useEffect(() => {
|
|
35335
|
-
if (previousText !== text) {
|
|
35336
|
-
setPreviousText(text);
|
|
35337
|
-
}
|
|
35338
|
-
const currentValue = value || selectedValue;
|
|
35339
|
-
if (currentValue) {
|
|
35340
|
-
const {
|
|
35341
|
-
startWeek,
|
|
35342
|
-
endWeek
|
|
35343
|
-
} = parseValueToWeeks(currentValue);
|
|
35344
|
-
if (startWeek && endWeek) {
|
|
35345
|
-
const newValue = endWeek === startWeek ? text === 'Week' ? `${text} ${startWeek}` : `${text}${startWeek}` : text === 'Week' ? `${text}s ${startWeek} - ${endWeek}` : `${text}${startWeek} - ${endWeek}`;
|
|
35346
|
-
if (newValue !== value) {
|
|
35347
|
-
setValue(newValue);
|
|
35348
|
-
if (onChange) {
|
|
35349
|
-
onChange(newValue);
|
|
35350
|
-
}
|
|
35351
|
-
}
|
|
35352
|
-
}
|
|
35353
|
-
}
|
|
35354
|
-
}, [text, value, selectedValue, previousText, onChange]);
|
|
35355
35336
|
const handleToggle = () => {
|
|
35356
35337
|
setIsOpen(!isOpen);
|
|
35357
35338
|
};
|
|
@@ -35372,6 +35353,11 @@ const WeeksPicker = _ref => {
|
|
|
35372
35353
|
onChange(newValue);
|
|
35373
35354
|
setValue(newValue);
|
|
35374
35355
|
};
|
|
35356
|
+
React$1.useEffect(() => {
|
|
35357
|
+
if (selectedValue !== undefined) {
|
|
35358
|
+
setValue(selectedValue);
|
|
35359
|
+
}
|
|
35360
|
+
}, [selectedValue]);
|
|
35375
35361
|
const handleApply = () => {
|
|
35376
35362
|
setIsOpen(false);
|
|
35377
35363
|
};
|
|
@@ -35455,7 +35441,7 @@ const WeeksPicker = _ref => {
|
|
|
35455
35441
|
console.warn('Selected weeks are outside the allowed range');
|
|
35456
35442
|
return;
|
|
35457
35443
|
}
|
|
35458
|
-
const tempValue = end === start ?
|
|
35444
|
+
const tempValue = end === start ? `Week ${start}` : `Weeks ${start} - ${end}`;
|
|
35459
35445
|
onChange(tempValue);
|
|
35460
35446
|
setValue(tempValue);
|
|
35461
35447
|
handleApply();
|
|
@@ -36122,19 +36108,15 @@ const ToggleInput = styled__default["default"].input`
|
|
|
36122
36108
|
const ToggleSlider = styled__default["default"].span`
|
|
36123
36109
|
display: block;
|
|
36124
36110
|
position: relative;
|
|
36125
|
-
background: ${
|
|
36126
|
-
|
|
36127
|
-
|
|
36128
|
-
|
|
36129
|
-
} = _ref;
|
|
36130
|
-
return checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0";
|
|
36131
|
-
}};
|
|
36111
|
+
background: ${({
|
|
36112
|
+
checked,
|
|
36113
|
+
disabled
|
|
36114
|
+
}) => checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0"};
|
|
36132
36115
|
border-radius: 999px;
|
|
36133
36116
|
transition: background 0.2s;
|
|
36134
|
-
${
|
|
36135
|
-
|
|
36136
|
-
|
|
36137
|
-
} = _ref2;
|
|
36117
|
+
${({
|
|
36118
|
+
size
|
|
36119
|
+
}) => {
|
|
36138
36120
|
switch (size) {
|
|
36139
36121
|
case "s":
|
|
36140
36122
|
return styled.css`width: 40px; height: 20px;`;
|
|
@@ -36150,18 +36132,14 @@ const ToggleSlider = styled__default["default"].span`
|
|
|
36150
36132
|
left: 3px;
|
|
36151
36133
|
top: 50%;
|
|
36152
36134
|
transform: translateY(-50%);
|
|
36153
|
-
background: ${
|
|
36154
|
-
|
|
36155
|
-
|
|
36156
|
-
} = _ref3;
|
|
36157
|
-
return disabled ? "#D0D0D0" : "#fff";
|
|
36158
|
-
}};
|
|
36135
|
+
background: ${({
|
|
36136
|
+
disabled
|
|
36137
|
+
}) => disabled ? "#D0D0D0" : "#fff"};
|
|
36159
36138
|
border-radius: 50%;
|
|
36160
36139
|
transition: left 0.2s, width 0.2s, height 0.2s;
|
|
36161
|
-
${
|
|
36162
|
-
|
|
36163
|
-
|
|
36164
|
-
} = _ref4;
|
|
36140
|
+
${({
|
|
36141
|
+
size
|
|
36142
|
+
}) => {
|
|
36165
36143
|
switch (size) {
|
|
36166
36144
|
case "s":
|
|
36167
36145
|
return styled.css`width: 14px; height: 14px;`;
|
|
@@ -36171,11 +36149,10 @@ const ToggleSlider = styled__default["default"].span`
|
|
|
36171
36149
|
return styled.css`width: 20px; height: 20px;`;
|
|
36172
36150
|
}
|
|
36173
36151
|
}}
|
|
36174
|
-
left: ${
|
|
36175
|
-
|
|
36176
|
-
|
|
36177
|
-
|
|
36178
|
-
} = _ref5;
|
|
36152
|
+
left: ${({
|
|
36153
|
+
checked,
|
|
36154
|
+
size
|
|
36155
|
+
}) => {
|
|
36179
36156
|
if (!checked) return "3px";
|
|
36180
36157
|
switch (size) {
|
|
36181
36158
|
case "s":
|
|
@@ -40809,7 +40786,8 @@ const TableHeader = ({
|
|
|
40809
40786
|
activeSorts = [],
|
|
40810
40787
|
expandable = false,
|
|
40811
40788
|
onHeaderCheckboxClick = () => {},
|
|
40812
|
-
headerCheckboxStates = {}
|
|
40789
|
+
headerCheckboxStates = {},
|
|
40790
|
+
resetFiltersKey = 0 // NEW: Add this prop
|
|
40813
40791
|
}) => {
|
|
40814
40792
|
const [focusedFilter, setFocusedFilter] = React$1.useState(null);
|
|
40815
40793
|
const [focusedSort, setFocusedSort] = React$1.useState(null);
|
|
@@ -40820,21 +40798,46 @@ const TableHeader = ({
|
|
|
40820
40798
|
left: 0
|
|
40821
40799
|
});
|
|
40822
40800
|
const [filterState, setFilterState] = React$1.useState({});
|
|
40823
|
-
|
|
40824
|
-
// Add persistent filter selections state
|
|
40825
40801
|
const [filterSelections, setFilterSelections] = React$1.useState({});
|
|
40802
|
+
const [activeSortColumn, setActiveSortColumn] = React$1.useState(null);
|
|
40803
|
+
const [activeSortValue, setActiveSortValue] = React$1.useState(null);
|
|
40804
|
+
const iconRefs = React$1.useRef({});
|
|
40805
|
+
const popupRef = React$1.useRef(null);
|
|
40826
40806
|
|
|
40827
|
-
//
|
|
40828
|
-
|
|
40829
|
-
|
|
40807
|
+
// NEW: Reset internal state when resetFiltersKey changes
|
|
40808
|
+
React$1.useEffect(() => {
|
|
40809
|
+
if (resetFiltersKey > 0) {
|
|
40810
|
+
// Reset filter selections to default (all selected)
|
|
40811
|
+
const resetSelections = {};
|
|
40812
|
+
columns.forEach(column => {
|
|
40813
|
+
if (column.filter && column.filterOptions) {
|
|
40814
|
+
const initialState = {};
|
|
40815
|
+
const fullList = [{
|
|
40816
|
+
value: 'All',
|
|
40817
|
+
label: 'Select All'
|
|
40818
|
+
}, ...column.filterOptions];
|
|
40819
|
+
fullList.forEach(item => {
|
|
40820
|
+
initialState[item.value] = true;
|
|
40821
|
+
});
|
|
40822
|
+
resetSelections[column.key] = initialState;
|
|
40823
|
+
}
|
|
40824
|
+
});
|
|
40825
|
+
setFilterSelections(resetSelections);
|
|
40830
40826
|
|
|
40831
|
-
|
|
40832
|
-
|
|
40827
|
+
// Reset filter state
|
|
40828
|
+
setFilterState({});
|
|
40833
40829
|
|
|
40834
|
-
|
|
40835
|
-
|
|
40830
|
+
// Reset sort state
|
|
40831
|
+
setActiveSortColumn(null);
|
|
40832
|
+
setActiveSortValue(null);
|
|
40836
40833
|
|
|
40837
|
-
|
|
40834
|
+
// Close any open popups
|
|
40835
|
+
setVisibleFilterPopWrapper(null);
|
|
40836
|
+
setVisibleSortPopWrapper(null);
|
|
40837
|
+
}
|
|
40838
|
+
}, [resetFiltersKey, columns]);
|
|
40839
|
+
|
|
40840
|
+
// Initialize filter selections for new columns
|
|
40838
40841
|
React$1.useEffect(() => {
|
|
40839
40842
|
setFilterSelections(prevSelections => {
|
|
40840
40843
|
const newSelections = {
|
|
@@ -40842,7 +40845,6 @@ const TableHeader = ({
|
|
|
40842
40845
|
};
|
|
40843
40846
|
let hasChanges = false;
|
|
40844
40847
|
columns.forEach(column => {
|
|
40845
|
-
// Only initialize if column doesn't exist in state yet
|
|
40846
40848
|
if (column.filter && column.filterOptions && !newSelections[column.key]) {
|
|
40847
40849
|
const initialState = {};
|
|
40848
40850
|
const fullList = [{
|
|
@@ -40855,69 +40857,48 @@ const TableHeader = ({
|
|
|
40855
40857
|
newSelections[column.key] = initialState;
|
|
40856
40858
|
hasChanges = true;
|
|
40857
40859
|
} else if (column.filter && column.filterOptions && newSelections[column.key]) {
|
|
40858
|
-
// Column exists - check if we need to add new options that appeared
|
|
40859
40860
|
const currentSelections = newSelections[column.key];
|
|
40860
40861
|
const newOptions = column.filterOptions.filter(opt => currentSelections[opt.value] === undefined);
|
|
40861
|
-
|
|
40862
|
-
// Only update if there are genuinely new options
|
|
40863
40862
|
if (newOptions.length > 0) {
|
|
40864
40863
|
const updatedSelections = {
|
|
40865
40864
|
...currentSelections
|
|
40866
40865
|
};
|
|
40867
40866
|
newOptions.forEach(opt => {
|
|
40868
|
-
updatedSelections[opt.value] = true;
|
|
40867
|
+
updatedSelections[opt.value] = true;
|
|
40869
40868
|
});
|
|
40870
40869
|
newSelections[column.key] = updatedSelections;
|
|
40871
40870
|
hasChanges = true;
|
|
40872
40871
|
}
|
|
40873
40872
|
}
|
|
40874
40873
|
});
|
|
40875
|
-
|
|
40876
|
-
// Only return new object if there were actual changes
|
|
40877
40874
|
return hasChanges ? newSelections : prevSelections;
|
|
40878
40875
|
});
|
|
40879
40876
|
}, [columns]);
|
|
40880
|
-
|
|
40881
|
-
// Helper function to check if filter is in default state (all items selected)
|
|
40882
40877
|
const isFilterInDefaultState = columnKey => {
|
|
40883
40878
|
const filterData = filterState[columnKey];
|
|
40884
40879
|
if (!filterData) {
|
|
40885
|
-
return true;
|
|
40880
|
+
return true;
|
|
40886
40881
|
}
|
|
40887
|
-
|
|
40888
|
-
// For range filters, check if "All weeks" is selected
|
|
40889
40882
|
if (filterData.selectedRadio) {
|
|
40890
40883
|
return filterData.selectedRadio === 'all weeks';
|
|
40891
40884
|
}
|
|
40892
|
-
|
|
40893
|
-
// Check if it's in "select all" state with no exclusions
|
|
40894
40885
|
return filterData.isSelectAll && filterData.excluded?.length === 0 && filterData.included?.length === 0;
|
|
40895
40886
|
};
|
|
40896
|
-
|
|
40897
|
-
// Helper function to determine filter icon state
|
|
40898
40887
|
const getFilterIconState = columnKey => {
|
|
40899
40888
|
const isFocused = focusedFilter === columnKey;
|
|
40900
40889
|
const isActive = activeFilters.includes(columnKey);
|
|
40901
40890
|
const isDefault = isFilterInDefaultState(columnKey);
|
|
40902
|
-
|
|
40903
|
-
// If it's in default state (all selected), show as default
|
|
40904
40891
|
if (isDefault) {
|
|
40905
40892
|
return 'default';
|
|
40906
40893
|
}
|
|
40907
|
-
|
|
40908
|
-
// If focused or active and not in default state, show as active
|
|
40909
40894
|
if (isFocused || isActive) {
|
|
40910
40895
|
return 'active';
|
|
40911
40896
|
}
|
|
40912
|
-
|
|
40913
|
-
// If has filter applied but not default, show as active
|
|
40914
40897
|
if (filterState[columnKey]) {
|
|
40915
40898
|
return 'active';
|
|
40916
40899
|
}
|
|
40917
40900
|
return 'default';
|
|
40918
40901
|
};
|
|
40919
|
-
|
|
40920
|
-
// Enhanced function to calculate position with viewport boundary detection
|
|
40921
40902
|
const calculatePopPosition = (iconElement, popupWidth = 300, popupHeight = 400) => {
|
|
40922
40903
|
if (!iconElement) return {
|
|
40923
40904
|
top: 0,
|
|
@@ -40928,32 +40909,20 @@ const TableHeader = ({
|
|
|
40928
40909
|
const scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
|
|
40929
40910
|
const viewportWidth = window.innerWidth;
|
|
40930
40911
|
const viewportHeight = window.innerHeight;
|
|
40931
|
-
let top = rect.bottom + scrollTop + 4;
|
|
40912
|
+
let top = rect.bottom + scrollTop + 4;
|
|
40932
40913
|
let left = rect.left + scrollLeft;
|
|
40933
|
-
|
|
40934
|
-
// Check if popup would overflow right edge of viewport
|
|
40935
40914
|
if (left + popupWidth > viewportWidth) {
|
|
40936
|
-
// Position to the left of the icon instead
|
|
40937
40915
|
left = rect.right + scrollLeft - popupWidth;
|
|
40938
|
-
|
|
40939
|
-
// If it still overflows on the left, clamp to viewport
|
|
40940
40916
|
if (left < 0) {
|
|
40941
|
-
left = 8;
|
|
40917
|
+
left = 8;
|
|
40942
40918
|
}
|
|
40943
40919
|
}
|
|
40944
|
-
|
|
40945
|
-
// Check if popup would overflow bottom edge of viewport
|
|
40946
40920
|
if (rect.bottom + popupHeight > viewportHeight) {
|
|
40947
|
-
|
|
40948
|
-
top = rect.top + scrollTop - popupHeight - 4; // 4px gap above the icon
|
|
40949
|
-
|
|
40950
|
-
// If it still overflows on the top, clamp to viewport
|
|
40921
|
+
top = rect.top + scrollTop - popupHeight - 4;
|
|
40951
40922
|
if (top < scrollTop) {
|
|
40952
|
-
top = scrollTop + 8;
|
|
40923
|
+
top = scrollTop + 8;
|
|
40953
40924
|
}
|
|
40954
40925
|
}
|
|
40955
|
-
|
|
40956
|
-
// Ensure left position doesn't go negative
|
|
40957
40926
|
if (left < 0) {
|
|
40958
40927
|
left = 8;
|
|
40959
40928
|
}
|
|
@@ -40962,16 +40931,12 @@ const TableHeader = ({
|
|
|
40962
40931
|
left
|
|
40963
40932
|
};
|
|
40964
40933
|
};
|
|
40965
|
-
|
|
40966
|
-
// Function to estimate popup dimensions based on content type
|
|
40967
40934
|
const getEstimatedPopupDimensions = columnKey => {
|
|
40968
40935
|
const column = columns.find(col => col.key === columnKey);
|
|
40969
40936
|
if (!column) return {
|
|
40970
40937
|
width: 300,
|
|
40971
40938
|
height: 400
|
|
40972
40939
|
};
|
|
40973
|
-
|
|
40974
|
-
// Default dimensions
|
|
40975
40940
|
let width = 300;
|
|
40976
40941
|
let height = 400;
|
|
40977
40942
|
if (column.freeTextFilter) {
|
|
@@ -40981,8 +40946,7 @@ const TableHeader = ({
|
|
|
40981
40946
|
width = 300;
|
|
40982
40947
|
height = 300;
|
|
40983
40948
|
} else if (column.filterOptions) {
|
|
40984
|
-
|
|
40985
|
-
const optionCount = column.filterOptions.length + 1; // +1 for "Select All"
|
|
40949
|
+
const optionCount = column.filterOptions.length + 1;
|
|
40986
40950
|
height = Math.min(Math.max(optionCount * 32 + 100, 200), 500);
|
|
40987
40951
|
} else if (column.sortOptions) {
|
|
40988
40952
|
const optionCount = column.sortOptions.length;
|
|
@@ -40993,8 +40957,6 @@ const TableHeader = ({
|
|
|
40993
40957
|
height
|
|
40994
40958
|
};
|
|
40995
40959
|
};
|
|
40996
|
-
|
|
40997
|
-
// Update handleSort to remove onSort call (only opens/closes popup)
|
|
40998
40960
|
const handleSort = key => {
|
|
40999
40961
|
const iconElement = iconRefs.current[`sort-${key}`];
|
|
41000
40962
|
if (iconElement) {
|
|
@@ -41002,7 +40964,7 @@ const TableHeader = ({
|
|
|
41002
40964
|
setPopPosition(calculatePopPosition(iconElement, dimensions.width, dimensions.height));
|
|
41003
40965
|
}
|
|
41004
40966
|
setVisibleSortPopWrapper(prevKey => prevKey === key ? null : key);
|
|
41005
|
-
setVisibleFilterPopWrapper(null);
|
|
40967
|
+
setVisibleFilterPopWrapper(null);
|
|
41006
40968
|
};
|
|
41007
40969
|
React$1.useEffect(() => {
|
|
41008
40970
|
if (Object.keys(filterState).length > 0) {
|
|
@@ -41016,46 +40978,29 @@ const TableHeader = ({
|
|
|
41016
40978
|
setPopPosition(calculatePopPosition(iconElement, dimensions.width, dimensions.height));
|
|
41017
40979
|
}
|
|
41018
40980
|
setVisibleFilterPopWrapper(prevKey => prevKey === key ? null : key);
|
|
41019
|
-
setVisibleSortPopWrapper(null);
|
|
40981
|
+
setVisibleSortPopWrapper(null);
|
|
41020
40982
|
};
|
|
41021
|
-
|
|
41022
|
-
// MODIFIED: Handle sort selection - Reset previous sort and apply new one
|
|
41023
40983
|
const handleSortSelectionChange = (columnKey, sortValue) => {
|
|
41024
|
-
// If selecting a new column, reset the previous sort
|
|
41025
40984
|
if (activeSortColumn && activeSortColumn !== columnKey) {
|
|
41026
|
-
// Clear the previous sort
|
|
41027
40985
|
setActiveSortColumn(columnKey);
|
|
41028
40986
|
setActiveSortValue(sortValue);
|
|
41029
40987
|
} else {
|
|
41030
|
-
// Same column or first sort
|
|
41031
40988
|
setActiveSortColumn(columnKey);
|
|
41032
40989
|
setActiveSortValue(sortValue);
|
|
41033
40990
|
}
|
|
41034
|
-
|
|
41035
|
-
// Close the popup after selection
|
|
41036
40991
|
setVisibleSortPopWrapper(null);
|
|
41037
|
-
|
|
41038
|
-
// Call onSort with both column key and selected sort value
|
|
41039
40992
|
if (onSort) {
|
|
41040
40993
|
onSort(columnKey, sortValue);
|
|
41041
40994
|
}
|
|
41042
40995
|
};
|
|
41043
|
-
|
|
41044
|
-
// MODIFIED: Handle sort reset - Clear the active sort
|
|
41045
40996
|
const handleSortReset = columnKey => {
|
|
41046
|
-
// Clear the active sort state
|
|
41047
40997
|
setActiveSortColumn(null);
|
|
41048
40998
|
setActiveSortValue(null);
|
|
41049
|
-
|
|
41050
|
-
// Call onSort to notify that sort was reset
|
|
41051
40999
|
if (onSort) {
|
|
41052
41000
|
onSort(columnKey, null);
|
|
41053
41001
|
}
|
|
41054
41002
|
};
|
|
41055
|
-
|
|
41056
|
-
// Handle filter selection changes - Updated to work with stateless FilterPop
|
|
41057
41003
|
const handleFilterSelectionChange = (columnKey, selectionData) => {
|
|
41058
|
-
// Force immediate synchronous update using callback form
|
|
41059
41004
|
setFilterSelections(prev => {
|
|
41060
41005
|
const updated = {
|
|
41061
41006
|
...prev,
|
|
@@ -41063,15 +41008,11 @@ const TableHeader = ({
|
|
|
41063
41008
|
};
|
|
41064
41009
|
return updated;
|
|
41065
41010
|
});
|
|
41066
|
-
|
|
41067
|
-
// Also update filter state
|
|
41068
41011
|
setFilterState(prev => ({
|
|
41069
41012
|
...prev,
|
|
41070
41013
|
[columnKey]: selectionData.filterData
|
|
41071
41014
|
}));
|
|
41072
41015
|
};
|
|
41073
|
-
|
|
41074
|
-
// Handle filter reset - Updated to work with stateless FilterPop
|
|
41075
41016
|
const handleFilterReset = columnKey => {
|
|
41076
41017
|
const column = columns.find(col => col.key === columnKey);
|
|
41077
41018
|
if (column && column.filterOptions) {
|
|
@@ -41083,14 +41024,10 @@ const TableHeader = ({
|
|
|
41083
41024
|
fullList.forEach(item => {
|
|
41084
41025
|
resetState[item.value] = true;
|
|
41085
41026
|
});
|
|
41086
|
-
|
|
41087
|
-
// Update filter selections immediately
|
|
41088
41027
|
setFilterSelections(prev => ({
|
|
41089
41028
|
...prev,
|
|
41090
41029
|
[columnKey]: resetState
|
|
41091
41030
|
}));
|
|
41092
|
-
|
|
41093
|
-
// Set filter state to "select all" structure
|
|
41094
41031
|
const resetFilterData = {
|
|
41095
41032
|
excluded: [],
|
|
41096
41033
|
included: [],
|
|
@@ -41102,8 +41039,6 @@ const TableHeader = ({
|
|
|
41102
41039
|
}));
|
|
41103
41040
|
}
|
|
41104
41041
|
};
|
|
41105
|
-
|
|
41106
|
-
// Update the click outside handlers
|
|
41107
41042
|
React$1.useEffect(() => {
|
|
41108
41043
|
const handleClickOutside = event => {
|
|
41109
41044
|
if (!event.target.closest(`[data-column="${visibleFilterPopWrapper}"]`) && !event.target.closest('.pop-wrapper')) {
|
|
@@ -41126,8 +41061,6 @@ const TableHeader = ({
|
|
|
41126
41061
|
document.removeEventListener('mousedown', handleClickOutside);
|
|
41127
41062
|
};
|
|
41128
41063
|
}, [visibleSortPopWrapper]);
|
|
41129
|
-
|
|
41130
|
-
// Enhanced position update with better dimension handling
|
|
41131
41064
|
React$1.useEffect(() => {
|
|
41132
41065
|
const updatePosition = () => {
|
|
41133
41066
|
if (visibleSortPopWrapper) {
|
|
@@ -41144,12 +41077,10 @@ const TableHeader = ({
|
|
|
41144
41077
|
}
|
|
41145
41078
|
}
|
|
41146
41079
|
};
|
|
41147
|
-
|
|
41148
|
-
// Debounce the position update for better performance
|
|
41149
41080
|
let timeoutId;
|
|
41150
41081
|
const debouncedUpdatePosition = () => {
|
|
41151
41082
|
clearTimeout(timeoutId);
|
|
41152
|
-
timeoutId = setTimeout(updatePosition, 16);
|
|
41083
|
+
timeoutId = setTimeout(updatePosition, 16);
|
|
41153
41084
|
};
|
|
41154
41085
|
window.addEventListener('scroll', debouncedUpdatePosition, {
|
|
41155
41086
|
passive: true
|
|
@@ -41177,21 +41108,14 @@ const TableHeader = ({
|
|
|
41177
41108
|
const shouldShowActiveIcon = key => {
|
|
41178
41109
|
return isFilterActive(key) || isFilterFocused(key);
|
|
41179
41110
|
};
|
|
41180
|
-
|
|
41181
|
-
// MODIFIED: Check if THIS specific column has an active sort
|
|
41182
41111
|
const shouldShowActiveSortIcon = key => {
|
|
41183
41112
|
const isFocused = focusedSort === key;
|
|
41184
41113
|
const isActive = activeSorts.includes(key);
|
|
41185
41114
|
const hasSelection = activeSortColumn === key && activeSortValue !== null;
|
|
41186
41115
|
return isFocused || isActive || hasSelection;
|
|
41187
41116
|
};
|
|
41188
|
-
|
|
41189
|
-
// Handle header checkbox click
|
|
41190
41117
|
const handleHeaderCheckboxClick = (columnKey, event) => {
|
|
41191
|
-
// Don't prevent the default checkbox behavior
|
|
41192
41118
|
const newValue = event.target.checked;
|
|
41193
|
-
|
|
41194
|
-
// Fire the callback with column info and new value - let parent handle state
|
|
41195
41119
|
if (onHeaderCheckboxClick) {
|
|
41196
41120
|
onHeaderCheckboxClick({
|
|
41197
41121
|
columnName: columnKey,
|
|
@@ -41199,8 +41123,6 @@ const TableHeader = ({
|
|
|
41199
41123
|
});
|
|
41200
41124
|
}
|
|
41201
41125
|
};
|
|
41202
|
-
|
|
41203
|
-
// UPDATED: showColumnFilter with fixed RangePop integration
|
|
41204
41126
|
const showColumnFilter = column => {
|
|
41205
41127
|
const {
|
|
41206
41128
|
key,
|
|
@@ -41235,7 +41157,6 @@ const TableHeader = ({
|
|
|
41235
41157
|
}
|
|
41236
41158
|
});
|
|
41237
41159
|
} else if (rangeFilter) {
|
|
41238
|
-
// Get the current filter state for this column to persist values
|
|
41239
41160
|
const currentFilterState = filterState[key];
|
|
41240
41161
|
return /*#__PURE__*/React__default["default"].createElement(RangePop, {
|
|
41241
41162
|
menuName: title,
|
|
@@ -41279,8 +41200,6 @@ const TableHeader = ({
|
|
|
41279
41200
|
});
|
|
41280
41201
|
}
|
|
41281
41202
|
};
|
|
41282
|
-
|
|
41283
|
-
// MODIFIED: Pass the selected value only for the active sort column
|
|
41284
41203
|
const showColumnSort = column => {
|
|
41285
41204
|
const {
|
|
41286
41205
|
key,
|
|
@@ -41290,8 +41209,6 @@ const TableHeader = ({
|
|
|
41290
41209
|
if (!sortOptions || sortOptions.length === 0) {
|
|
41291
41210
|
return null;
|
|
41292
41211
|
}
|
|
41293
|
-
|
|
41294
|
-
// Only show selected value if this is the active sort column
|
|
41295
41212
|
const selectedValue = activeSortColumn === key ? activeSortValue : null;
|
|
41296
41213
|
return /*#__PURE__*/React__default["default"].createElement(SortPop, {
|
|
41297
41214
|
width: "300px",
|
|
@@ -46938,7 +46855,6 @@ const Table = props => {
|
|
|
46938
46855
|
noDataInSearchMessage = "Try to refine your query and search again",
|
|
46939
46856
|
noDataIcon = "Plus",
|
|
46940
46857
|
noDataSearchIcon = "Plus",
|
|
46941
|
-
// NEW: Props for NoEventsParent section
|
|
46942
46858
|
noEventsTitle = "You haven't created any events yet",
|
|
46943
46859
|
noEventsSubtitle = "Let's get started and create your first one!",
|
|
46944
46860
|
noEventsButtonText = "New Event",
|
|
@@ -46950,17 +46866,14 @@ const Table = props => {
|
|
|
46950
46866
|
changeFocusIndex,
|
|
46951
46867
|
onTableFocusChange = () => {},
|
|
46952
46868
|
clearFocusOnOutsideClick = true,
|
|
46953
|
-
// NEW: Props for edit mode focus management
|
|
46954
46869
|
isEditMode = false,
|
|
46955
46870
|
editRowIndex = -1,
|
|
46956
46871
|
onCommentSave = () => {},
|
|
46957
|
-
// NEW: Props for expand functionality
|
|
46958
46872
|
expandable = false,
|
|
46959
46873
|
expandedRows = {},
|
|
46960
46874
|
expandedContent = {},
|
|
46961
46875
|
onExpandRow = () => {},
|
|
46962
46876
|
expandedBackgroundColor = '#E6F0F0',
|
|
46963
|
-
// New prop
|
|
46964
46877
|
onDropdownSelected = () => {},
|
|
46965
46878
|
onCheckboxClick = () => {},
|
|
46966
46879
|
onHeaderCheckboxClick = () => {},
|
|
@@ -46968,32 +46881,25 @@ const Table = props => {
|
|
|
46968
46881
|
onHeroClick = () => {},
|
|
46969
46882
|
dotIndicatorColor = '#34D399',
|
|
46970
46883
|
onEditableClick = () => {},
|
|
46971
|
-
|
|
46884
|
+
resetFiltersKey = 0,
|
|
46885
|
+
// NEW: Add this prop
|
|
46972
46886
|
ref = null
|
|
46973
46887
|
} = props;
|
|
46974
46888
|
const scrollWrapperRef = React$1.useRef(null);
|
|
46975
46889
|
const tableBodyRef = React$1.useRef(null);
|
|
46976
46890
|
const tableContainerRef = React$1.useRef(null);
|
|
46977
46891
|
const [hasTriggered, setHasTriggered] = React$1.useState(false);
|
|
46978
|
-
|
|
46979
|
-
// Expose method to clear table focus to parent components
|
|
46980
46892
|
const clearTableFocus = () => {
|
|
46981
46893
|
if (tableBodyRef.current) {
|
|
46982
46894
|
tableBodyRef.current.clearFocus();
|
|
46983
46895
|
}
|
|
46984
46896
|
};
|
|
46985
|
-
|
|
46986
|
-
// Handle focus change from TableBody
|
|
46987
46897
|
const handleTableFocusChange = focusedRowIndex => {
|
|
46988
46898
|
onTableFocusChange(focusedRowIndex);
|
|
46989
46899
|
};
|
|
46990
|
-
|
|
46991
|
-
// Handle comment save - pass through to parent
|
|
46992
46900
|
const handleCommentSave = (rowIndex, commentText) => {
|
|
46993
46901
|
onCommentSave(rowIndex, commentText);
|
|
46994
46902
|
};
|
|
46995
|
-
|
|
46996
|
-
// Expose methods to parent components via ref (if ref is provided)
|
|
46997
46903
|
React$1.useImperativeHandle(ref, () => ({
|
|
46998
46904
|
clearTableFocus,
|
|
46999
46905
|
getTableBodyRef: () => tableBodyRef.current
|
|
@@ -47007,17 +46913,13 @@ const Table = props => {
|
|
|
47007
46913
|
scrollHeight,
|
|
47008
46914
|
clientHeight
|
|
47009
46915
|
} = scrollWrapper;
|
|
47010
|
-
|
|
47011
|
-
// Calculate if we're near the bottom
|
|
47012
46916
|
const isNearBottom = scrollTop + clientHeight >= scrollHeight - 56 * lastRowsThreshold;
|
|
47013
46917
|
if (isNearBottom && data.length > 0) {
|
|
47014
|
-
// Trigger event only if it hasn't been triggered yet
|
|
47015
46918
|
if (!hasTriggered) {
|
|
47016
46919
|
onLastRowsReached();
|
|
47017
46920
|
setHasTriggered(true);
|
|
47018
46921
|
}
|
|
47019
46922
|
} else {
|
|
47020
|
-
// Reset trigger when user scrolls back up outside the threshold
|
|
47021
46923
|
if (hasTriggered) {
|
|
47022
46924
|
setHasTriggered(false);
|
|
47023
46925
|
}
|
|
@@ -47026,14 +46928,10 @@ const Table = props => {
|
|
|
47026
46928
|
scrollWrapper.addEventListener('scroll', handleScroll);
|
|
47027
46929
|
return () => scrollWrapper.removeEventListener('scroll', handleScroll);
|
|
47028
46930
|
}, [onLastRowsReached, data.length, lastRowsThreshold, hasTriggered]);
|
|
47029
|
-
|
|
47030
|
-
// Handle outside click to clear focus - UPDATED to respect edit mode
|
|
47031
46931
|
React$1.useEffect(() => {
|
|
47032
|
-
if (!clearFocusOnOutsideClick || isEditMode) return;
|
|
47033
|
-
|
|
46932
|
+
if (!clearFocusOnOutsideClick || isEditMode) return;
|
|
47034
46933
|
const handleOutsideClick = event => {
|
|
47035
46934
|
if (tableContainerRef.current && !tableContainerRef.current.contains(event.target)) {
|
|
47036
|
-
// Click is outside the table container
|
|
47037
46935
|
if (tableBodyRef.current) {
|
|
47038
46936
|
tableBodyRef.current.clearFocus();
|
|
47039
46937
|
}
|
|
@@ -47043,8 +46941,7 @@ const Table = props => {
|
|
|
47043
46941
|
return () => {
|
|
47044
46942
|
document.removeEventListener('mousedown', handleOutsideClick);
|
|
47045
46943
|
};
|
|
47046
|
-
}, [clearFocusOnOutsideClick, isEditMode]);
|
|
47047
|
-
|
|
46944
|
+
}, [clearFocusOnOutsideClick, isEditMode]);
|
|
47048
46945
|
const getNoDataIcon = icon => {
|
|
47049
46946
|
switch (icon) {
|
|
47050
46947
|
case "Event":
|
|
@@ -47062,7 +46959,6 @@ const Table = props => {
|
|
|
47062
46959
|
case "Upc":
|
|
47063
46960
|
return /*#__PURE__*/React__default["default"].createElement(NoSearchUpcIcon, null);
|
|
47064
46961
|
case "Ntt":
|
|
47065
|
-
// Nothing to Track
|
|
47066
46962
|
return /*#__PURE__*/React__default["default"].createElement(NothingToTrackIcon, null);
|
|
47067
46963
|
default:
|
|
47068
46964
|
return null;
|
|
@@ -47096,7 +46992,8 @@ const Table = props => {
|
|
|
47096
46992
|
onSelectAll: onSelectAll,
|
|
47097
46993
|
expandable: expandable,
|
|
47098
46994
|
onHeaderCheckboxClick: onHeaderCheckboxClick,
|
|
47099
|
-
headerCheckboxStates: headerCheckboxStates
|
|
46995
|
+
headerCheckboxStates: headerCheckboxStates,
|
|
46996
|
+
resetFiltersKey: resetFiltersKey
|
|
47100
46997
|
}), columns.length > 0 && data.length > 0 && /*#__PURE__*/React__default["default"].createElement(TableBody, {
|
|
47101
46998
|
ref: tableBodyRef,
|
|
47102
46999
|
columns: columns,
|
|
@@ -47147,8 +47044,6 @@ const Table = props => {
|
|
|
47147
47044
|
id: "LoaderWrapper"
|
|
47148
47045
|
}, /*#__PURE__*/React__default["default"].createElement(Loader, null)))));
|
|
47149
47046
|
};
|
|
47150
|
-
|
|
47151
|
-
// Add displayName for better debugging
|
|
47152
47047
|
Table.displayName = 'Table';
|
|
47153
47048
|
|
|
47154
47049
|
const Card = styled.styled.div`
|
|
@@ -58041,7 +57936,9 @@ const OverlayDropdown = _ref => {
|
|
|
58041
57936
|
color: !selected && open ? placeHolderColor : "inherit"
|
|
58042
57937
|
}, group.templateType === 3 && editableDigitalCoupon ? dropdownDigitalCouponTitle !== "" ? dropdownDigitalCouponTitle : item.label : item.label), group.templateType === 2 ? /*#__PURE__*/React__default["default"].createElement(ChervronRightIcon, {
|
|
58043
57938
|
fill: item.value === value ? "#fff" : "#212121"
|
|
58044
|
-
}) : group.templateType === 3 && editableDigitalCoupon ? /*#__PURE__*/React__default["default"].createElement(
|
|
57939
|
+
}) : group.templateType === 3 && editableDigitalCoupon ? dropdownDigitalCouponTitle === "" ? /*#__PURE__*/React__default["default"].createElement(ChervronRightIcon, {
|
|
57940
|
+
fill: item.value === value ? "#fff" : "#212121"
|
|
57941
|
+
}) : /*#__PURE__*/React__default["default"].createElement(PenIcon, {
|
|
58045
57942
|
fill: item.value === value ? "#fff" : "#212121"
|
|
58046
57943
|
}) : item.value === value && /*#__PURE__*/React__default["default"].createElement(OkIcon, {
|
|
58047
57944
|
width: "22px",
|