sag_components 2.0.0-beta223 → 2.0.0-beta225
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 +389 -506
- package/dist/index.esm.js +166 -88
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +166 -88
- 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 +9 -9
- 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 +10 -10
- 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 +34 -32
- package/dist/types/components/Table/TableHeader.d.ts +1 -1
- package/dist/types/components/Table/TableHeader.styles.d.ts +8 -8
- package/dist/types/components/Table/data.d.ts +39 -0
- 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 +1 -1
- 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/PencilIcon.d.ts +6 -0
- 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/icons/index.d.ts +1 -0
- 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
|
@@ -575,6 +575,24 @@ const PackageSendIcon = () => /*#__PURE__*/React$1.createElement("svg", {
|
|
|
575
575
|
fill: "#B1B1B1"
|
|
576
576
|
}));
|
|
577
577
|
|
|
578
|
+
const MenuItemOpenIcon = _ref => {
|
|
579
|
+
let {
|
|
580
|
+
width = '16',
|
|
581
|
+
height = '16',
|
|
582
|
+
color = '#7E7E7E'
|
|
583
|
+
} = _ref;
|
|
584
|
+
return /*#__PURE__*/React$1.createElement("svg", {
|
|
585
|
+
width: width,
|
|
586
|
+
height: height,
|
|
587
|
+
viewBox: "0 0 16 10",
|
|
588
|
+
fill: "none",
|
|
589
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
590
|
+
}, /*#__PURE__*/React$1.createElement("path", {
|
|
591
|
+
d: "M7.40234 8.84766L0.652344 2.09766C0.300781 1.78125 0.300781 1.25391 0.652344 0.902344C0.96875 0.585938 1.49609 0.585938 1.84766 0.902344L8 7.08984L14.1523 0.9375C14.4688 0.585938 14.9961 0.585938 15.3477 0.9375C15.6641 1.25391 15.6641 1.78125 15.3477 2.09766L8.5625 8.84766C8.24609 9.19922 7.71875 9.19922 7.40234 8.84766Z",
|
|
592
|
+
fill: color
|
|
593
|
+
}));
|
|
594
|
+
};
|
|
595
|
+
|
|
578
596
|
const ChervronRightIcon = _ref => {
|
|
579
597
|
let {
|
|
580
598
|
width = "8",
|
|
@@ -3181,24 +3199,6 @@ const IconWrapper$4 = styled.div`
|
|
|
3181
3199
|
align-content: center;
|
|
3182
3200
|
`;
|
|
3183
3201
|
|
|
3184
|
-
const MenuItemOpenIcon = _ref => {
|
|
3185
|
-
let {
|
|
3186
|
-
width = '16',
|
|
3187
|
-
height = '16',
|
|
3188
|
-
color = '#7E7E7E'
|
|
3189
|
-
} = _ref;
|
|
3190
|
-
return /*#__PURE__*/React$1.createElement("svg", {
|
|
3191
|
-
width: width,
|
|
3192
|
-
height: height,
|
|
3193
|
-
viewBox: "0 0 16 10",
|
|
3194
|
-
fill: "none",
|
|
3195
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3196
|
-
}, /*#__PURE__*/React$1.createElement("path", {
|
|
3197
|
-
d: "M7.40234 8.84766L0.652344 2.09766C0.300781 1.78125 0.300781 1.25391 0.652344 0.902344C0.96875 0.585938 1.49609 0.585938 1.84766 0.902344L8 7.08984L14.1523 0.9375C14.4688 0.585938 14.9961 0.585938 15.3477 0.9375C15.6641 1.25391 15.6641 1.78125 15.3477 2.09766L8.5625 8.84766C8.24609 9.19922 7.71875 9.19922 7.40234 8.84766Z",
|
|
3198
|
-
fill: color
|
|
3199
|
-
}));
|
|
3200
|
-
};
|
|
3201
|
-
|
|
3202
3202
|
const MenuItemRightIcon = _ref => {
|
|
3203
3203
|
let {
|
|
3204
3204
|
clicked,
|
|
@@ -24167,21 +24167,22 @@ const DeleteIcon = styled.div`
|
|
|
24167
24167
|
position: absolute;
|
|
24168
24168
|
`;
|
|
24169
24169
|
|
|
24170
|
-
const QuickFilterDropdownSingle =
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24170
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24171
|
+
let {
|
|
24172
|
+
label,
|
|
24173
|
+
hoverColor,
|
|
24174
|
+
options,
|
|
24175
|
+
selectedValue,
|
|
24176
|
+
placeHolder,
|
|
24177
|
+
onChange,
|
|
24178
|
+
disabled,
|
|
24179
|
+
width,
|
|
24180
|
+
error,
|
|
24181
|
+
errorMessage,
|
|
24182
|
+
xIconShow,
|
|
24183
|
+
labelColor,
|
|
24184
|
+
showLabelOnTop
|
|
24185
|
+
} = _ref;
|
|
24185
24186
|
const [isFocused, setIsFocused] = useState(false);
|
|
24186
24187
|
const [showOptions, setShowOptions] = useState(false);
|
|
24187
24188
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24638,25 +24639,26 @@ const IconContainer$2 = styled.div`
|
|
|
24638
24639
|
cursor: pointer;
|
|
24639
24640
|
`;
|
|
24640
24641
|
|
|
24641
|
-
const QuickFilterDropdownMultiSelection =
|
|
24642
|
-
|
|
24643
|
-
|
|
24644
|
-
|
|
24645
|
-
|
|
24646
|
-
|
|
24647
|
-
|
|
24648
|
-
|
|
24649
|
-
|
|
24650
|
-
|
|
24651
|
-
|
|
24652
|
-
|
|
24653
|
-
|
|
24654
|
-
|
|
24655
|
-
|
|
24656
|
-
|
|
24657
|
-
|
|
24658
|
-
|
|
24659
|
-
|
|
24642
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24643
|
+
let {
|
|
24644
|
+
label,
|
|
24645
|
+
labelEmptyValue,
|
|
24646
|
+
options,
|
|
24647
|
+
selectedValue,
|
|
24648
|
+
placeHolder,
|
|
24649
|
+
onChange,
|
|
24650
|
+
required,
|
|
24651
|
+
disabled,
|
|
24652
|
+
width,
|
|
24653
|
+
height,
|
|
24654
|
+
error,
|
|
24655
|
+
errorMessage,
|
|
24656
|
+
labelColor,
|
|
24657
|
+
xIconShow,
|
|
24658
|
+
checkBoxColor,
|
|
24659
|
+
showLabelOnTop,
|
|
24660
|
+
dropdownHeight
|
|
24661
|
+
} = _ref;
|
|
24660
24662
|
const [isFocused, setIsFocused] = useState(false);
|
|
24661
24663
|
const [showOptions, setShowOptions] = useState(false);
|
|
24662
24664
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -34969,17 +34971,18 @@ css`
|
|
|
34969
34971
|
* • onApply(start,end) — callback, both numbers (inclusive)
|
|
34970
34972
|
* • onCancel() — callback
|
|
34971
34973
|
*/
|
|
34972
|
-
const WeeksCalendar =
|
|
34973
|
-
|
|
34974
|
-
|
|
34975
|
-
|
|
34976
|
-
|
|
34977
|
-
|
|
34978
|
-
|
|
34979
|
-
|
|
34980
|
-
|
|
34981
|
-
|
|
34982
|
-
|
|
34974
|
+
const WeeksCalendar = _ref => {
|
|
34975
|
+
let {
|
|
34976
|
+
year,
|
|
34977
|
+
defaultStartWeek = null,
|
|
34978
|
+
defaultEndWeek = null,
|
|
34979
|
+
backgroundColor = "#066768",
|
|
34980
|
+
hoverBackgroundColor = "#E6F0F0",
|
|
34981
|
+
allowedWeekRange = null,
|
|
34982
|
+
// New prop for range restriction
|
|
34983
|
+
onApply,
|
|
34984
|
+
onCancel
|
|
34985
|
+
} = _ref;
|
|
34983
34986
|
// state -------------------------------------------------
|
|
34984
34987
|
const [startWeek, setStartWeek] = useState(defaultStartWeek);
|
|
34985
34988
|
const [endWeek, setEndWeek] = useState(defaultEndWeek);
|
|
@@ -35633,6 +35636,18 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
|
|
|
35633
35636
|
color: newColor,
|
|
35634
35637
|
onClick: callBackOnClick
|
|
35635
35638
|
}));
|
|
35639
|
+
case 'openicon':
|
|
35640
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
|
|
35641
|
+
className: "MenuItemOpenIcon",
|
|
35642
|
+
pointer: pointer,
|
|
35643
|
+
disabled: disabled,
|
|
35644
|
+
onClick: callBackOnClick
|
|
35645
|
+
}, /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
|
|
35646
|
+
height: newIconHeight,
|
|
35647
|
+
width: newIconWidth,
|
|
35648
|
+
color: newColor,
|
|
35649
|
+
onClick: callBackOnClick
|
|
35650
|
+
}));
|
|
35636
35651
|
default:
|
|
35637
35652
|
return '';
|
|
35638
35653
|
}
|
|
@@ -39625,6 +39640,22 @@ const HeroButton = styled.button`
|
|
|
39625
39640
|
pointer-events: none;
|
|
39626
39641
|
}
|
|
39627
39642
|
`;
|
|
39643
|
+
const EditableCell = styled.div`
|
|
39644
|
+
display: flex;
|
|
39645
|
+
gap: 10px;
|
|
39646
|
+
align-items: center;
|
|
39647
|
+
`;
|
|
39648
|
+
const PencilButton = styled.button`
|
|
39649
|
+
display: flex;
|
|
39650
|
+
align-items: center;
|
|
39651
|
+
justify-content: center;
|
|
39652
|
+
cursor: pointer;
|
|
39653
|
+
background-color: transparent;
|
|
39654
|
+
border: none;
|
|
39655
|
+
> svg {
|
|
39656
|
+
pointer-events: none;
|
|
39657
|
+
}
|
|
39658
|
+
`;
|
|
39628
39659
|
|
|
39629
39660
|
// MessageBox.styles.js
|
|
39630
39661
|
const ModalOverlay = styled.div`
|
|
@@ -40120,6 +40151,21 @@ const HeroIcon = ({
|
|
|
40120
40151
|
fill: "white"
|
|
40121
40152
|
}))));
|
|
40122
40153
|
|
|
40154
|
+
const PencilIcon = ({
|
|
40155
|
+
width = "15",
|
|
40156
|
+
height = "15",
|
|
40157
|
+
fill = "#B1B1B1"
|
|
40158
|
+
}) => /*#__PURE__*/React$1.createElement("svg", {
|
|
40159
|
+
width: width,
|
|
40160
|
+
height: height,
|
|
40161
|
+
viewBox: "0 0 15 15",
|
|
40162
|
+
fill: "none",
|
|
40163
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
40164
|
+
}, /*#__PURE__*/React$1.createElement("path", {
|
|
40165
|
+
d: "M1.78316 10.0243C1.89427 9.63542 2.11649 9.27426 2.39427 8.99648L10.8387 0.552084C11.5331 -0.142361 12.6721 -0.142361 13.3665 0.552084L14.4498 1.63542C14.5331 1.71875 14.6165 1.82986 14.6721 1.9132C15.1442 2.60764 15.0609 3.55208 14.4498 4.1632L6.00538 12.6076C5.9776 12.6354 5.92204 12.6632 5.89427 12.7187C5.61649 12.9409 5.31093 13.1076 4.9776 13.2187L2.81093 13.8576L1.61649 14.2187C1.39427 14.2743 1.14427 14.2187 0.9776 14.0243C0.78316 13.8576 0.727604 13.6076 0.810938 13.3854L1.14427 12.191L1.78316 10.0243ZM3.06093 10.4132L2.86649 11.052L2.42204 12.5799L3.94982 12.1354L4.58871 11.9409C4.78316 11.8854 4.92204 11.8021 5.06093 11.6632L11.422 5.30208L9.69979 3.57986L3.33871 9.94093C3.31093 9.94093 3.31093 9.96875 3.28316 9.99648C3.17204 10.1076 3.11649 10.2465 3.06093 10.4132Z",
|
|
40166
|
+
fill: fill
|
|
40167
|
+
}));
|
|
40168
|
+
|
|
40123
40169
|
// combinedShimmerHooks.js - Chrome shimmer effect integrated with your hooks
|
|
40124
40170
|
|
|
40125
40171
|
// Chrome Shimmer Component
|
|
@@ -40220,7 +40266,8 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40220
40266
|
onDropdownSelected = () => {},
|
|
40221
40267
|
onCheckboxClick = () => {},
|
|
40222
40268
|
onHeaderCheckboxClick = () => {},
|
|
40223
|
-
onHeroClick = () => {}
|
|
40269
|
+
onHeroClick = () => {},
|
|
40270
|
+
onEditableClick = () => {}
|
|
40224
40271
|
}, ref) => {
|
|
40225
40272
|
// MOVE ALL VALIDATION TO THE VERY TOP BEFORE ANY HOOKS
|
|
40226
40273
|
if (!Array.isArray(data) || !Array.isArray(columns)) {
|
|
@@ -40300,6 +40347,26 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40300
40347
|
}
|
|
40301
40348
|
}, [changeFocusIndex]);
|
|
40302
40349
|
|
|
40350
|
+
// Close all dropdowns when clicking outside
|
|
40351
|
+
useEffect(() => {
|
|
40352
|
+
const handleClickOutside = () => {
|
|
40353
|
+
setOpenDropdowns({});
|
|
40354
|
+
};
|
|
40355
|
+
document.addEventListener("click", handleClickOutside);
|
|
40356
|
+
return () => {
|
|
40357
|
+
document.removeEventListener("click", handleClickOutside);
|
|
40358
|
+
};
|
|
40359
|
+
}, []);
|
|
40360
|
+
|
|
40361
|
+
// HANDLE SPECIAL CASE: EMPTY DATA AFTER ALL HOOKS
|
|
40362
|
+
if (data.length === 0) {
|
|
40363
|
+
return /*#__PURE__*/React$1.createElement(StyledTableBody, {
|
|
40364
|
+
ref: ref
|
|
40365
|
+
}, /*#__PURE__*/React$1.createElement(TableRow, null, /*#__PURE__*/React$1.createElement(TableCell, {
|
|
40366
|
+
colSpan: columns.length
|
|
40367
|
+
}, "No data available")));
|
|
40368
|
+
}
|
|
40369
|
+
|
|
40303
40370
|
// Handle row click for focus state
|
|
40304
40371
|
const handleRowClick = (row, rowIndex) => {
|
|
40305
40372
|
setFocusedRowIndex(rowIndex);
|
|
@@ -40357,7 +40424,7 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40357
40424
|
return "";
|
|
40358
40425
|
}
|
|
40359
40426
|
try {
|
|
40360
|
-
if ((value === null || value === undefined) && column?.fieldType?.toLowerCase() !== "comments") {
|
|
40427
|
+
if ((value === null || value === undefined) && column?.fieldType?.toLowerCase() !== "comments" && column?.fieldType?.toLowerCase() !== "editable") {
|
|
40361
40428
|
return "";
|
|
40362
40429
|
}
|
|
40363
40430
|
|
|
@@ -40488,6 +40555,23 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40488
40555
|
console.warn('Error formatting dotIndicator:', e);
|
|
40489
40556
|
return null;
|
|
40490
40557
|
}
|
|
40558
|
+
case "editable":
|
|
40559
|
+
try {
|
|
40560
|
+
const isDefine = value === null || value === undefined;
|
|
40561
|
+
return /*#__PURE__*/React$1.createElement(EditableCell, null, /*#__PURE__*/React$1.createElement("span", {
|
|
40562
|
+
style: {
|
|
40563
|
+
color: isDefine ? "#8B8989" : "inherit"
|
|
40564
|
+
}
|
|
40565
|
+
}, value ?? "Define"), /*#__PURE__*/React$1.createElement(PencilButton, {
|
|
40566
|
+
onClick: e => {
|
|
40567
|
+
e.stopPropagation();
|
|
40568
|
+
handleEditableClick(row, column.key, value, rowIndex);
|
|
40569
|
+
}
|
|
40570
|
+
}, /*#__PURE__*/React$1.createElement(PencilIcon, null)));
|
|
40571
|
+
} catch (e) {
|
|
40572
|
+
console.warn('Error formatting editable:', e);
|
|
40573
|
+
return null;
|
|
40574
|
+
}
|
|
40491
40575
|
case "packagestatus":
|
|
40492
40576
|
try {
|
|
40493
40577
|
const applyTooltipLogic = (element, tooltipText) => {
|
|
@@ -40781,7 +40865,7 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40781
40865
|
if (value === null || value === undefined) return null;
|
|
40782
40866
|
return /*#__PURE__*/React$1.createElement(HeroButton, {
|
|
40783
40867
|
onClick: e => {
|
|
40784
|
-
|
|
40868
|
+
e.stopPropagation();
|
|
40785
40869
|
if (onHeroClick) {
|
|
40786
40870
|
onHeroClick(row, !value);
|
|
40787
40871
|
}
|
|
@@ -40858,26 +40942,17 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40858
40942
|
onDropdownSelected(row, selectedOption, columnKey);
|
|
40859
40943
|
}
|
|
40860
40944
|
};
|
|
40861
|
-
|
|
40862
|
-
|
|
40863
|
-
|
|
40864
|
-
|
|
40865
|
-
|
|
40866
|
-
|
|
40867
|
-
|
|
40868
|
-
|
|
40869
|
-
|
|
40870
|
-
|
|
40871
|
-
}
|
|
40872
|
-
|
|
40873
|
-
// HANDLE SPECIAL CASE: EMPTY DATA AFTER ALL HOOKS
|
|
40874
|
-
if (data.length === 0) {
|
|
40875
|
-
return /*#__PURE__*/React$1.createElement(StyledTableBody, {
|
|
40876
|
-
ref: ref
|
|
40877
|
-
}, /*#__PURE__*/React$1.createElement(TableRow, null, /*#__PURE__*/React$1.createElement(TableCell, {
|
|
40878
|
-
colSpan: columns.length
|
|
40879
|
-
}, "No data available")));
|
|
40880
|
-
}
|
|
40945
|
+
const handleEditableClick = (row, columnKey, currentValue, rowIndex) => {
|
|
40946
|
+
if (onEditableClick) {
|
|
40947
|
+
onEditableClick({
|
|
40948
|
+
fullRow: row,
|
|
40949
|
+
columnName: columnKey,
|
|
40950
|
+
currentValue: currentValue,
|
|
40951
|
+
rowIndex: rowIndex
|
|
40952
|
+
});
|
|
40953
|
+
}
|
|
40954
|
+
console.log('handler--------', row, columnKey, currentValue, rowIndex);
|
|
40955
|
+
};
|
|
40881
40956
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(StyledTableBody, {
|
|
40882
40957
|
ref: ref
|
|
40883
40958
|
}, data.map((row, rowIndex) => {
|
|
@@ -41027,7 +41102,8 @@ TableBody.propTypes = {
|
|
|
41027
41102
|
onDropdownSelected: PropTypes.func,
|
|
41028
41103
|
onCheckboxClick: PropTypes.func,
|
|
41029
41104
|
onHeaderCheckboxClick: PropTypes.func,
|
|
41030
|
-
onHeroClick: PropTypes.func
|
|
41105
|
+
onHeroClick: PropTypes.func,
|
|
41106
|
+
onEditableClick: PropTypes.func
|
|
41031
41107
|
};
|
|
41032
41108
|
TableBody.displayName = "TableBody";
|
|
41033
41109
|
|
|
@@ -44392,6 +44468,7 @@ const Table = props => {
|
|
|
44392
44468
|
headerCheckboxStates = {},
|
|
44393
44469
|
onHeroClick = () => {},
|
|
44394
44470
|
dotIndicatorColor = '#34D399',
|
|
44471
|
+
onEditableClick = () => {},
|
|
44395
44472
|
// Accept ref as a regular prop
|
|
44396
44473
|
ref = null
|
|
44397
44474
|
} = props;
|
|
@@ -44545,7 +44622,8 @@ const Table = props => {
|
|
|
44545
44622
|
onDropdownSelected: onDropdownSelected,
|
|
44546
44623
|
onCheckboxClick: onCheckboxClick,
|
|
44547
44624
|
onHeaderCheckboxClick: onHeaderCheckboxClick,
|
|
44548
|
-
onHeroClick: onHeroClick
|
|
44625
|
+
onHeroClick: onHeroClick,
|
|
44626
|
+
onEditableClick: onEditableClick
|
|
44549
44627
|
})), data.length === 0 && /*#__PURE__*/React$1.createElement(NoEventsParent, null, /*#__PURE__*/React$1.createElement(NoEventsWrapper, null, showNoDataInSearch ? getNoDataSearchIcon(noDataSearchIcon) : getNoDataIcon(noDataIcon)), /*#__PURE__*/React$1.createElement(NoEventsMessage, null, showNoDataInSearch ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("strong", null, noDataInSearchTitle), /*#__PURE__*/React$1.createElement("br", null), noDataInSearchMessage) : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("strong", null, noEventsTitle), /*#__PURE__*/React$1.createElement("br", null), noEventsSubtitle)), !showNoDataInSearch && showNoEventsButton && /*#__PURE__*/React$1.createElement(Button$1, {
|
|
44550
44628
|
height: "45px",
|
|
44551
44629
|
leftIcon: noEventsButtonIcon,
|