sag_components 2.0.0-beta334 → 2.0.0-beta335
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 +645 -505
- package/dist/index.esm.js +285 -12
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +285 -12
- 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 +7 -6
- 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 +13 -12
- package/dist/types/components/BannersDropdown/BannersDropdown.d.ts +4 -3
- package/dist/types/components/BannersDropdown/BannersDropdown.style.d.ts +8 -8
- package/dist/types/components/BarChart/BarChart.d.ts +29 -20
- 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 +37 -29
- 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 +14 -13
- 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 +27 -25
- 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 +12 -5
- package/dist/types/components/CampaignTool/CampaignDemoReport.style.d.ts +5 -5
- package/dist/types/components/CampaignTool/Card.d.ts +13 -7
- 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 +4 -3
- package/dist/types/components/CampaignTool/MultipleCard.style.d.ts +1 -1
- package/dist/types/components/CampaignTool/PageFilterBar.d.ts +3 -2
- package/dist/types/components/CampaignTool/PageFilterBar.style.d.ts +2 -2
- package/dist/types/components/CampaignTool/Popup.d.ts +8 -7
- package/dist/types/components/CampaignTool/Popup.style.d.ts +14 -14
- package/dist/types/components/CampaignTool/PopupContent.d.ts +11 -6
- package/dist/types/components/CampaignTool/PopupContent.style.d.ts +7 -7
- package/dist/types/components/CampaignTool/Table.d.ts +19 -14
- 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 +19 -8
- package/dist/types/components/CollapseData/CollapseData.style.d.ts +11 -11
- package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +31 -16
- package/dist/types/components/CollapseHeader/CollapseHeader.style.d.ts +25 -25
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.d.ts +7 -6
- 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 +6 -5
- 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 +14 -13
- package/dist/types/components/DownloadProgress/DownloadProgress.style.d.ts +5 -5
- 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 +14 -13
- package/dist/types/components/EventDetailsCard/EventDetailsCard.style.d.ts +6 -6
- package/dist/types/components/EventList/EventList.d.ts +11 -7
- package/dist/types/components/EventList/EventList.style.d.ts +4 -4
- package/dist/types/components/EventListItem/EventListItem.d.ts +8 -7
- 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 +2 -1
- package/dist/types/components/FilterContainer/FilterContainer.style.d.ts +3 -3
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +48 -20
- package/dist/types/components/FilterPanel/FilterPanel.style.d.ts +11 -11
- package/dist/types/components/Footer/FooterBranding.d.ts +1 -1
- package/dist/types/components/Footer/FooterBranding.styles.d.ts +2 -2
- package/dist/types/components/FormattedValue/FormattedValue.d.ts +14 -13
- package/dist/types/components/FormattedValue/FormattedValue.style.d.ts +7 -7
- package/dist/types/components/Heatmap/Heatmap.d.ts +10 -5
- package/dist/types/components/Heatmap/Heatmap.style.d.ts +15 -13
- package/dist/types/components/IconButton/IconButton.d.ts +15 -14
- package/dist/types/components/IconButton/IconButton.style.d.ts +4 -4
- package/dist/types/components/Input/Input.d.ts +28 -27
- package/dist/types/components/Input/Input.style.d.ts +8 -8
- package/dist/types/components/InputOld/InputOld.d.ts +18 -17
- 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 +3 -3
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.style.d.ts +45 -29
- package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.style.d.ts +19 -17
- package/dist/types/components/ItemManagerPanel/NewSubitem/BrandAutocomplete.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/NewSubitem/BrandAutocomplete.stories.d.ts +3 -3
- package/dist/types/components/ItemManagerPanel/NewSubitem/NewSubitem.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/NewSubitem/NewSubitem.style.d.ts +21 -19
- package/dist/types/components/ItemManagerPanel/NewSubitemList/NewSubitemList.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/NewSubitemList/NewSubitemList.style.d.ts +19 -17
- package/dist/types/components/ItemManagerPanel/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/dist/types/components/ItemManagerPanel/SuccessScreen/SuccessScreen.style.d.ts +16 -14
- package/dist/types/components/KpiFilter/KpiFilter.d.ts +21 -16
- 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 +14 -12
- 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 +12 -7
- 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 +2 -1
- 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 +15 -14
- 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 +26 -25
- 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 +2 -2
- package/dist/types/components/OverlayDropdown/OverlayDropdown.style.d.ts +12 -12
- package/dist/types/components/OverlayDropdown/OverlayTemplateDialog.d.ts +13 -8
- package/dist/types/components/OverlayDropdown/OverlayTemplateDialog.style.d.ts +10 -10
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.d.ts +39 -21
- 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 +34 -13
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.d.ts +13 -13
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.d.ts +14 -5
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.d.ts +10 -10
- package/dist/types/components/PieChart/PieChart.d.ts +23 -19
- package/dist/types/components/PieChart/PieChart.style.d.ts +18 -18
- package/dist/types/components/PopupCharts/PopupCharts.d.ts +20 -9
- package/dist/types/components/PopupCharts/PopupCharts.style.d.ts +12 -12
- package/dist/types/components/ProductsVariety/ProductsVariety.d.ts +12 -7
- package/dist/types/components/ProductsVariety/ProductsVariety.style.d.ts +10 -10
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +7 -6
- package/dist/types/components/ProgressBar/ProgressBar.style.d.ts +2 -2
- package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +15 -14
- 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 +24 -17
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.d.ts +17 -17
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +22 -15
- 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 +21 -20
- package/dist/types/components/RangePicker/RangePicker.style.d.ts +8 -8
- package/dist/types/components/ReportTable/ReportTable.d.ts +26 -17
- package/dist/types/components/ReportTable/ReportTable.style.d.ts +14 -14
- package/dist/types/components/SagButton/SagButton.d.ts +14 -13
- package/dist/types/components/SagButton/SagButton.style.d.ts +3 -3
- package/dist/types/components/SagIconButton/SagIconButton.d.ts +14 -13
- package/dist/types/components/SagIconButton/SagIconButton.style.d.ts +2 -2
- package/dist/types/components/SagInput/SagInput.d.ts +11 -10
- package/dist/types/components/SagInput/SagInput.style.d.ts +3 -3
- package/dist/types/components/SalesAndROI/SalesAndROI.d.ts +19 -13
- 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.stories.d.ts +1 -1
- package/dist/types/components/SearchInput/SearchInput.style.d.ts +3 -3
- package/dist/types/components/SegmentedButton/SegmentedButton.d.ts +17 -14
- 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 +20 -16
- 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 +9 -9
- 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 +212 -156
- package/dist/types/components/Table/Table.style.d.ts +21 -20
- package/dist/types/components/Table/TableBody.d.ts +2 -1
- package/dist/types/components/Table/TableBody.styles.d.ts +41 -38
- package/dist/types/components/Table/TableFooter.d.ts +1 -1
- package/dist/types/components/Table/TableFooter.styles.d.ts +8 -8
- 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 +9 -0
- package/dist/types/components/Table/hook.d.ts +4 -4
- package/dist/types/components/Table/useVisibleRowsHook.d.ts +2 -2
- 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 +15 -12
- 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 +6 -5
- 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 +6 -5
- package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -5
- package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +14 -8
- package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -9
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +29 -24
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -20
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +17 -13
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -14
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +19 -14
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -10
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +29 -24
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -19
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +27 -22
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -6
- package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +7 -6
- package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -3
- package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +27 -18
- package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -8
- package/dist/types/components/WeeksPicker/WeeksCalendar.d.ts +13 -9
- 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 +4 -2
- 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/CheckBoxIndeterminateIcon.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 +4 -3
- 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 +4 -3
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -634,6 +634,26 @@ const ChervronLeftIcon = _ref => {
|
|
|
634
634
|
}));
|
|
635
635
|
};
|
|
636
636
|
|
|
637
|
+
const CalendarIcon = _ref => {
|
|
638
|
+
let {
|
|
639
|
+
clicked,
|
|
640
|
+
width = "14",
|
|
641
|
+
height = "14",
|
|
642
|
+
fill = "#212121",
|
|
643
|
+
color
|
|
644
|
+
} = _ref;
|
|
645
|
+
return /*#__PURE__*/React$1.createElement("svg", {
|
|
646
|
+
width: width,
|
|
647
|
+
height: height,
|
|
648
|
+
viewBox: "0 0 11 12",
|
|
649
|
+
fill: "none",
|
|
650
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
651
|
+
}, /*#__PURE__*/React$1.createElement("path", {
|
|
652
|
+
d: "M2.625 0C2.8125 0 3 0.1875 3 0.375V1.5H7.5V0.375C7.5 0.1875 7.66406 0 7.875 0C8.0625 0 8.25 0.1875 8.25 0.375V1.5H9C9.82031 1.5 10.5 2.17969 10.5 3V3.75V4.5V10.5C10.5 11.3438 9.82031 12 9 12H1.5C0.65625 12 0 11.3438 0 10.5V4.5V3.75V3C0 2.17969 0.65625 1.5 1.5 1.5H2.25V0.375C2.25 0.1875 2.41406 0 2.625 0ZM9.75 4.5H7.3125V6.1875H9.75V4.5ZM9.75 6.9375H7.3125V8.8125H9.75V6.9375ZM9.75 9.5625H7.3125V11.25H9C9.39844 11.25 9.75 10.9219 9.75 10.5V9.5625ZM6.5625 8.8125V6.9375H3.9375V8.8125H6.5625ZM3.9375 9.5625V11.25H6.5625V9.5625H3.9375ZM3.1875 8.8125V6.9375H0.75V8.8125H3.1875ZM0.75 9.5625V10.5C0.75 10.9219 1.07812 11.25 1.5 11.25H3.1875V9.5625H0.75ZM0.75 6.1875H3.1875V4.5H0.75V6.1875ZM3.9375 6.1875H6.5625V4.5H3.9375V6.1875ZM9 2.25H1.5C1.07812 2.25 0.75 2.60156 0.75 3V3.75H9.75V3C9.75 2.60156 9.39844 2.25 9 2.25Z",
|
|
653
|
+
fill: color || fill
|
|
654
|
+
}));
|
|
655
|
+
};
|
|
656
|
+
|
|
637
657
|
const Button$1 = props => {
|
|
638
658
|
const {
|
|
639
659
|
text = "",
|
|
@@ -680,14 +700,15 @@ const Button$1 = props => {
|
|
|
680
700
|
plus: Plus,
|
|
681
701
|
left: ChervronLeftIcon,
|
|
682
702
|
right: ChervronRightIcon,
|
|
683
|
-
vicon: VIcon
|
|
703
|
+
vicon: VIcon,
|
|
704
|
+
calendar: CalendarIcon
|
|
684
705
|
};
|
|
685
706
|
const getIcon = icon => {
|
|
686
707
|
if (!icon || icon === "none") return null;
|
|
687
708
|
const IconComponent = iconMap[icon.toLowerCase()];
|
|
688
709
|
const iconProps = {
|
|
689
|
-
height: "16px",
|
|
690
|
-
width: "16px",
|
|
710
|
+
height: icon.toLowerCase() === "calendar" ? "14" : "16px",
|
|
711
|
+
width: icon.toLowerCase() === "calendar" ? "14" : "16px",
|
|
691
712
|
color: disabled ? disabledTextColor || "#B1B1B1" : hover ? hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff") : textColor || (type === "secondary" ? "#212121" : "#ffffff"),
|
|
692
713
|
fill: disabled ? disabledTextColor || "#B1B1B1" : hover ? hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff") : textColor || (type === "secondary" ? "#212121" : "#ffffff")
|
|
693
714
|
};
|
|
@@ -37359,6 +37380,16 @@ const Loader = styled.span`
|
|
|
37359
37380
|
animation: ${rotation} 1.5s infinite ease;
|
|
37360
37381
|
transform: translateZ(0);
|
|
37361
37382
|
`;
|
|
37383
|
+
const DirtyFieldsCounter = styled.div`
|
|
37384
|
+
font-family: 'Poppins', sans-serif;
|
|
37385
|
+
font-size: 14px;
|
|
37386
|
+
font-weight: 500;
|
|
37387
|
+
color: ${({
|
|
37388
|
+
$dirty
|
|
37389
|
+
}) => $dirty ? '#EF4444' : '#1f7677'};
|
|
37390
|
+
padding: 6px 16px;
|
|
37391
|
+
text-align: left;
|
|
37392
|
+
`;
|
|
37362
37393
|
const LoaderWrapper = styled.div`
|
|
37363
37394
|
position: absolute;
|
|
37364
37395
|
top: 50%;
|
|
@@ -41689,7 +41720,12 @@ const TableHeader = ({
|
|
|
41689
41720
|
style: {
|
|
41690
41721
|
accentColor: '#066768'
|
|
41691
41722
|
}
|
|
41692
|
-
}), column.title && /*#__PURE__*/React$1.createElement(ColumnLabel, null, column.title
|
|
41723
|
+
}), column.title && /*#__PURE__*/React$1.createElement(ColumnLabel, null, column.title, column.required && /*#__PURE__*/React$1.createElement("span", {
|
|
41724
|
+
style: {
|
|
41725
|
+
color: '#EF4444',
|
|
41726
|
+
marginLeft: '5px'
|
|
41727
|
+
}
|
|
41728
|
+
}, "*")), (column.filter || column.sort) && /*#__PURE__*/React$1.createElement(ColumnActions, null, column.sort && /*#__PURE__*/React$1.createElement(IconButton, {
|
|
41693
41729
|
ref: el => iconRefs.current[`sort-${column.key}`] = el,
|
|
41694
41730
|
onClick: () => handleSort(column.key),
|
|
41695
41731
|
onMouseEnter: () => setFocusedSort(column.key),
|
|
@@ -41904,6 +41940,10 @@ const TableCell = styled.td`
|
|
|
41904
41940
|
position: relative;
|
|
41905
41941
|
`}
|
|
41906
41942
|
|
|
41943
|
+
${props => props.$editable && `
|
|
41944
|
+
overflow: visible;
|
|
41945
|
+
`}
|
|
41946
|
+
|
|
41907
41947
|
/* CSS-only tooltip */
|
|
41908
41948
|
&[data-tooltip]:hover::before {
|
|
41909
41949
|
content: attr(data-tooltip);
|
|
@@ -41957,6 +41997,31 @@ const TableCell = styled.td`
|
|
|
41957
41997
|
}
|
|
41958
41998
|
}
|
|
41959
41999
|
|
|
42000
|
+
input {
|
|
42001
|
+
display: block;
|
|
42002
|
+
}
|
|
42003
|
+
|
|
42004
|
+
input[type="number"]::-webkit-inner-spin-button,
|
|
42005
|
+
input[type="number"]::-webkit-outer-spin-button {
|
|
42006
|
+
-webkit-appearance: none;
|
|
42007
|
+
margin: 0;
|
|
42008
|
+
}
|
|
42009
|
+
|
|
42010
|
+
input[type="number"] {
|
|
42011
|
+
-moz-appearance: textfield;
|
|
42012
|
+
}
|
|
42013
|
+
|
|
42014
|
+
input:hover:not(:focus) {
|
|
42015
|
+
border: 1px solid rgba(0, 0, 0, 0.6) !important;
|
|
42016
|
+
border-radius: 4px;
|
|
42017
|
+
}
|
|
42018
|
+
|
|
42019
|
+
input:focus {
|
|
42020
|
+
border: 2px solid #212121 !important;
|
|
42021
|
+
border-radius: 4px;
|
|
42022
|
+
outline: none !important;
|
|
42023
|
+
}
|
|
42024
|
+
|
|
41960
42025
|
${props => {
|
|
41961
42026
|
switch (props.$fieldType) {
|
|
41962
42027
|
case "currency":
|
|
@@ -42527,6 +42592,137 @@ const PencilButton = styled.button`
|
|
|
42527
42592
|
pointer-events: none;
|
|
42528
42593
|
}
|
|
42529
42594
|
`;
|
|
42595
|
+
const NotAvailableIconButton = styled.button`
|
|
42596
|
+
position: absolute;
|
|
42597
|
+
right: 4px;
|
|
42598
|
+
top: 0;
|
|
42599
|
+
bottom: 0;
|
|
42600
|
+
margin-top: auto;
|
|
42601
|
+
margin-bottom: auto;
|
|
42602
|
+
height: fit-content;
|
|
42603
|
+
background: transparent;
|
|
42604
|
+
border: none;
|
|
42605
|
+
cursor: pointer;
|
|
42606
|
+
padding: 2px;
|
|
42607
|
+
display: flex;
|
|
42608
|
+
align-items: center;
|
|
42609
|
+
justify-content: center;
|
|
42610
|
+
color: #8B8989;
|
|
42611
|
+
opacity: 0;
|
|
42612
|
+
transition: opacity 0.15s ease, color 0.15s ease;
|
|
42613
|
+
|
|
42614
|
+
&:hover {
|
|
42615
|
+
color: #EF4444;
|
|
42616
|
+
}
|
|
42617
|
+
|
|
42618
|
+
&::before {
|
|
42619
|
+
content: 'Mark as N/A';
|
|
42620
|
+
position: absolute;
|
|
42621
|
+
bottom: calc(100% + 12px);
|
|
42622
|
+
left: 50%;
|
|
42623
|
+
transform: translateX(-50%);
|
|
42624
|
+
background: white;
|
|
42625
|
+
color: #212121;
|
|
42626
|
+
padding: 4px 8px;
|
|
42627
|
+
border-radius: 4px;
|
|
42628
|
+
font-size: 12px;
|
|
42629
|
+
font-family: 'Poppins', sans-serif;
|
|
42630
|
+
font-weight: 400;
|
|
42631
|
+
white-space: nowrap;
|
|
42632
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
42633
|
+
opacity: 0;
|
|
42634
|
+
pointer-events: none;
|
|
42635
|
+
transition: opacity 0.15s ease;
|
|
42636
|
+
z-index: 1000;
|
|
42637
|
+
}
|
|
42638
|
+
|
|
42639
|
+
&::after {
|
|
42640
|
+
content: '';
|
|
42641
|
+
position: absolute;
|
|
42642
|
+
bottom: calc(100% + 7px);
|
|
42643
|
+
left: 50%;
|
|
42644
|
+
width: 10px;
|
|
42645
|
+
height: 10px;
|
|
42646
|
+
background: white;
|
|
42647
|
+
transform: translateX(-50%) rotate(45deg);
|
|
42648
|
+
opacity: 0;
|
|
42649
|
+
pointer-events: none;
|
|
42650
|
+
transition: opacity 0.15s ease;
|
|
42651
|
+
z-index: 1001;
|
|
42652
|
+
}
|
|
42653
|
+
|
|
42654
|
+
&:hover::before,
|
|
42655
|
+
&:hover::after {
|
|
42656
|
+
opacity: 1;
|
|
42657
|
+
}
|
|
42658
|
+
`;
|
|
42659
|
+
const NotAvailableCellWrapper = styled.div`
|
|
42660
|
+
position: relative;
|
|
42661
|
+
display: flex;
|
|
42662
|
+
align-items: center;
|
|
42663
|
+
width: 100%;
|
|
42664
|
+
|
|
42665
|
+
&:hover ${NotAvailableIconButton} {
|
|
42666
|
+
opacity: 1;
|
|
42667
|
+
}
|
|
42668
|
+
`;
|
|
42669
|
+
const NotAvailableText = styled.div`
|
|
42670
|
+
position: relative;
|
|
42671
|
+
width: 100%;
|
|
42672
|
+
color: #8B8989;
|
|
42673
|
+
font-family: inherit;
|
|
42674
|
+
font-size: inherit;
|
|
42675
|
+
line-height: normal;
|
|
42676
|
+
cursor: pointer;
|
|
42677
|
+
padding: 1px 2px;
|
|
42678
|
+
border: 1px solid transparent;
|
|
42679
|
+
border-radius: 4px;
|
|
42680
|
+
|
|
42681
|
+
&:hover {
|
|
42682
|
+
border-color: rgba(0, 0, 0, 0.6);
|
|
42683
|
+
}
|
|
42684
|
+
|
|
42685
|
+
&::before {
|
|
42686
|
+
content: 'Click to make required again';
|
|
42687
|
+
position: absolute;
|
|
42688
|
+
bottom: calc(100% + 12px);
|
|
42689
|
+
left: 50%;
|
|
42690
|
+
transform: translateX(-50%);
|
|
42691
|
+
background: white;
|
|
42692
|
+
color: #212121;
|
|
42693
|
+
padding: 4px 8px;
|
|
42694
|
+
border-radius: 4px;
|
|
42695
|
+
font-size: 12px;
|
|
42696
|
+
font-family: 'Poppins', sans-serif;
|
|
42697
|
+
font-weight: 400;
|
|
42698
|
+
white-space: nowrap;
|
|
42699
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
42700
|
+
opacity: 0;
|
|
42701
|
+
pointer-events: none;
|
|
42702
|
+
transition: opacity 0.15s ease;
|
|
42703
|
+
z-index: 1000;
|
|
42704
|
+
}
|
|
42705
|
+
|
|
42706
|
+
&::after {
|
|
42707
|
+
content: '';
|
|
42708
|
+
position: absolute;
|
|
42709
|
+
bottom: calc(100% + 7px);
|
|
42710
|
+
left: 50%;
|
|
42711
|
+
width: 10px;
|
|
42712
|
+
height: 10px;
|
|
42713
|
+
background: white;
|
|
42714
|
+
transform: translateX(-50%) rotate(45deg);
|
|
42715
|
+
opacity: 0;
|
|
42716
|
+
pointer-events: none;
|
|
42717
|
+
transition: opacity 0.15s ease;
|
|
42718
|
+
z-index: 1001;
|
|
42719
|
+
}
|
|
42720
|
+
|
|
42721
|
+
&:hover::before,
|
|
42722
|
+
&:hover::after {
|
|
42723
|
+
opacity: 1;
|
|
42724
|
+
}
|
|
42725
|
+
`;
|
|
42530
42726
|
|
|
42531
42727
|
// MessageBox.styles.js
|
|
42532
42728
|
const ModalOverlay = styled.div`
|
|
@@ -43267,7 +43463,8 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
43267
43463
|
onHeroClick = () => {},
|
|
43268
43464
|
onEditableClick = () => {},
|
|
43269
43465
|
isEditMode = false,
|
|
43270
|
-
editRowIndex = -1
|
|
43466
|
+
editRowIndex = -1,
|
|
43467
|
+
markAllNotValidFields = false
|
|
43271
43468
|
}, ref) => {
|
|
43272
43469
|
if (!Array.isArray(data) || !Array.isArray(columns)) {
|
|
43273
43470
|
console.warn("TableBody: Invalid data or columns prop");
|
|
@@ -43284,6 +43481,20 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
43284
43481
|
const [hasInitialValue, setHasInitialValue] = useState(false);
|
|
43285
43482
|
const [shimmerRowIndex, setShimmerRowIndex] = useState(-1);
|
|
43286
43483
|
const [shimmerStartTime, setShimmerStartTime] = useState(null);
|
|
43484
|
+
const [notAvailableFields, setNotAvailableFields] = useState(() => {
|
|
43485
|
+
const initial = {};
|
|
43486
|
+
data.forEach(row => {
|
|
43487
|
+
columns.forEach(col => {
|
|
43488
|
+
if (col.allowNotAvailable && col.notAvailableValue !== undefined && row[col.key] === col.notAvailableValue) {
|
|
43489
|
+
initial[row.id] = {
|
|
43490
|
+
...(initial[row.id] ?? {}),
|
|
43491
|
+
[col.key]: true
|
|
43492
|
+
};
|
|
43493
|
+
}
|
|
43494
|
+
});
|
|
43495
|
+
});
|
|
43496
|
+
return initial;
|
|
43497
|
+
});
|
|
43287
43498
|
const getNestedValue = (obj, path) => {
|
|
43288
43499
|
if (!path || typeof path !== 'string') return undefined;
|
|
43289
43500
|
return path.split('.').reduce((current, key) => {
|
|
@@ -44103,6 +44314,14 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
44103
44314
|
key: `invalid-${columnIndex}`
|
|
44104
44315
|
}, "Invalid Column");
|
|
44105
44316
|
}
|
|
44317
|
+
if (column.groupBreak && rowIndex > 0 && data[rowIndex - 1][column.key] === row[column.key]) {
|
|
44318
|
+
return /*#__PURE__*/React$1.createElement(TableCell, {
|
|
44319
|
+
key: `${column.key}-${rowIndex}`,
|
|
44320
|
+
$fieldType: column.fieldType?.toLowerCase(),
|
|
44321
|
+
$minWidth: column.minWidth,
|
|
44322
|
+
$maxWidth: column.maxWidth
|
|
44323
|
+
});
|
|
44324
|
+
}
|
|
44106
44325
|
let value, formattedValue, fieldTooltip;
|
|
44107
44326
|
try {
|
|
44108
44327
|
value = column.key.includes('.') ? getNestedValue(row, column.key) : row[column.key];
|
|
@@ -44121,7 +44340,7 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
44121
44340
|
return /*#__PURE__*/React$1.createElement(TableCell, {
|
|
44122
44341
|
key: `${column.key}-${rowIndex}`,
|
|
44123
44342
|
ref: el => {
|
|
44124
|
-
if (isTextBasedField && el && formattedValue) {
|
|
44343
|
+
if (isTextBasedField && el && formattedValue && !column.editable) {
|
|
44125
44344
|
const hasOverflow = shouldShowTooltip(el);
|
|
44126
44345
|
const tooltipTextToShow = hasOverflow ? String(formattedValue) : fieldTooltip;
|
|
44127
44346
|
if (tooltipTextToShow) {
|
|
@@ -44149,12 +44368,61 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
44149
44368
|
}
|
|
44150
44369
|
},
|
|
44151
44370
|
$fieldType: fieldType,
|
|
44371
|
+
$editable: !!column.editable,
|
|
44152
44372
|
$color: column.color,
|
|
44153
44373
|
$minWidth: column.minWidth,
|
|
44154
44374
|
$maxWidth: column.maxWidth
|
|
44155
44375
|
}, fieldTooltip && !isTextBasedField ? /*#__PURE__*/React$1.createElement(CellContentWrapper, {
|
|
44156
44376
|
ref: el => applyTooltip(el, fieldTooltip)
|
|
44157
|
-
}, renderCellContent(formattedValue, isTextBasedField, shouldShimmer)) : renderCellContent(formattedValue, isTextBasedField, shouldShimmer))
|
|
44377
|
+
}, renderCellContent(formattedValue, isTextBasedField, shouldShimmer)) : column.groupBreak ? /*#__PURE__*/React$1.createElement("strong", null, renderCellContent(formattedValue, isTextBasedField, shouldShimmer)) : column.editable && column.allowNotAvailable ? /*#__PURE__*/React$1.createElement(NotAvailableCellWrapper, null, notAvailableFields[row.id]?.[column.key] ? /*#__PURE__*/React$1.createElement(NotAvailableText, {
|
|
44378
|
+
onClick: () => {
|
|
44379
|
+
setNotAvailableFields(prev => ({
|
|
44380
|
+
...prev,
|
|
44381
|
+
[row.id]: {
|
|
44382
|
+
...(prev[row.id] ?? {}),
|
|
44383
|
+
[column.key]: false
|
|
44384
|
+
}
|
|
44385
|
+
}));
|
|
44386
|
+
column.onNotAvailableChange?.(row, false);
|
|
44387
|
+
}
|
|
44388
|
+
}, "N/A") : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, column.renderEditableCell?.(rowIndex, row, {
|
|
44389
|
+
markAllNotValidFields
|
|
44390
|
+
}), /*#__PURE__*/React$1.createElement(NotAvailableIconButton, {
|
|
44391
|
+
type: "button",
|
|
44392
|
+
onClick: e => {
|
|
44393
|
+
e.stopPropagation();
|
|
44394
|
+
setNotAvailableFields(prev => ({
|
|
44395
|
+
...prev,
|
|
44396
|
+
[row.id]: {
|
|
44397
|
+
...(prev[row.id] ?? {}),
|
|
44398
|
+
[column.key]: true
|
|
44399
|
+
}
|
|
44400
|
+
}));
|
|
44401
|
+
column.onNotAvailableChange?.(row, true);
|
|
44402
|
+
}
|
|
44403
|
+
}, /*#__PURE__*/React$1.createElement("svg", {
|
|
44404
|
+
width: "14",
|
|
44405
|
+
height: "14",
|
|
44406
|
+
viewBox: "0 0 14 14",
|
|
44407
|
+
fill: "none",
|
|
44408
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
44409
|
+
}, /*#__PURE__*/React$1.createElement("circle", {
|
|
44410
|
+
cx: "7",
|
|
44411
|
+
cy: "7",
|
|
44412
|
+
r: "6",
|
|
44413
|
+
stroke: "currentColor",
|
|
44414
|
+
strokeWidth: "1.5"
|
|
44415
|
+
}), /*#__PURE__*/React$1.createElement("line", {
|
|
44416
|
+
x1: "2.5",
|
|
44417
|
+
y1: "11.5",
|
|
44418
|
+
x2: "11.5",
|
|
44419
|
+
y2: "2.5",
|
|
44420
|
+
stroke: "currentColor",
|
|
44421
|
+
strokeWidth: "1.5",
|
|
44422
|
+
strokeLinecap: "round"
|
|
44423
|
+
}))))) : column.editable && column.renderEditableCell ? column.renderEditableCell(rowIndex, row, {
|
|
44424
|
+
markAllNotValidFields
|
|
44425
|
+
}) : renderCellContent(formattedValue, isTextBasedField, shouldShimmer));
|
|
44158
44426
|
})), expandable && expandedRows[rowIndex] && /*#__PURE__*/React$1.createElement(ExpandedRow, {
|
|
44159
44427
|
$expandedBackgroundColor: expandedBackgroundColor
|
|
44160
44428
|
}, /*#__PURE__*/React$1.createElement(TableCell, {
|
|
@@ -47809,7 +48077,10 @@ const Table = props => {
|
|
|
47809
48077
|
showFooter = false,
|
|
47810
48078
|
total,
|
|
47811
48079
|
rowLabel = "",
|
|
47812
|
-
footerRight = null
|
|
48080
|
+
footerRight = null,
|
|
48081
|
+
showDirtyFieldsCounter = false,
|
|
48082
|
+
dirtyFieldsCount = 0,
|
|
48083
|
+
markAllNotValidFields = false
|
|
47813
48084
|
} = props;
|
|
47814
48085
|
const scrollWrapperRef = useRef(null);
|
|
47815
48086
|
const tableBodyRef = useRef(null);
|
|
@@ -47966,7 +48237,8 @@ const Table = props => {
|
|
|
47966
48237
|
onHeroClick: onHeroClick,
|
|
47967
48238
|
onEditableClick: onEditableClick,
|
|
47968
48239
|
isEditMode: isEditMode,
|
|
47969
|
-
editRowIndex: editRowIndex
|
|
48240
|
+
editRowIndex: editRowIndex,
|
|
48241
|
+
markAllNotValidFields: markAllNotValidFields
|
|
47970
48242
|
})), 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, {
|
|
47971
48243
|
titleSize: titleSize,
|
|
47972
48244
|
subTitleSize: subTitleSize
|
|
@@ -47996,9 +48268,10 @@ const Table = props => {
|
|
|
47996
48268
|
total: total,
|
|
47997
48269
|
rowLabel: rowLabel,
|
|
47998
48270
|
isLoading: isLoading,
|
|
47999
|
-
isLoadingText: isLoadingText
|
|
48000
|
-
|
|
48001
|
-
|
|
48271
|
+
isLoadingText: isLoadingText
|
|
48272
|
+
}), showDirtyFieldsCounter && (dirtyFieldsCount > 0 ? /*#__PURE__*/React$1.createElement(DirtyFieldsCounter, {
|
|
48273
|
+
$dirty: true
|
|
48274
|
+
}, dirtyFieldsCount, " field", dirtyFieldsCount !== 1 ? 's' : '', " modified") : /*#__PURE__*/React$1.createElement(DirtyFieldsCounter, null, "\u2713 All values complete")))));
|
|
48002
48275
|
};
|
|
48003
48276
|
Table.displayName = "Table";
|
|
48004
48277
|
|