sag_components 2.0.0-beta230 → 2.0.0-beta232
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 +395 -509
- package/dist/index.esm.js +201 -57
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +201 -57
- 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 +27 -27
- 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 +3 -2
- 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 +3 -2
- package/dist/types/components/OverlayDropdown/OverlayDropdown.stories.d.ts +2 -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 +35 -34
- 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/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/PenIcon.d.ts +6 -0
- 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/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,
|
|
@@ -35635,6 +35635,18 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
|
|
|
35635
35635
|
color: newColor,
|
|
35636
35636
|
onClick: callBackOnClick
|
|
35637
35637
|
}));
|
|
35638
|
+
case 'openicon':
|
|
35639
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
|
|
35640
|
+
className: "MenuItemOpenIcon",
|
|
35641
|
+
pointer: pointer,
|
|
35642
|
+
disabled: disabled,
|
|
35643
|
+
onClick: callBackOnClick
|
|
35644
|
+
}, /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
|
|
35645
|
+
height: newIconHeight,
|
|
35646
|
+
width: newIconWidth,
|
|
35647
|
+
color: newColor,
|
|
35648
|
+
onClick: callBackOnClick
|
|
35649
|
+
}));
|
|
35638
35650
|
default:
|
|
35639
35651
|
return '';
|
|
35640
35652
|
}
|
|
@@ -35826,6 +35838,7 @@ const Input$2 = _ref => {
|
|
|
35826
35838
|
size,
|
|
35827
35839
|
selectedValue,
|
|
35828
35840
|
placeHolder,
|
|
35841
|
+
inputType = "text",
|
|
35829
35842
|
onChange,
|
|
35830
35843
|
onClick,
|
|
35831
35844
|
onBlur,
|
|
@@ -35991,7 +36004,7 @@ const Input$2 = _ref => {
|
|
|
35991
36004
|
}, "*")), /*#__PURE__*/React$1.createElement(InputElement, {
|
|
35992
36005
|
className: multiline ? "StyledTextarea" : "StyledInput",
|
|
35993
36006
|
ref: inputRef,
|
|
35994
|
-
type: password && !showPassword ? "password" :
|
|
36007
|
+
type: password && !showPassword ? "password" : inputType,
|
|
35995
36008
|
value: inputValue,
|
|
35996
36009
|
onChange: handleInputChange,
|
|
35997
36010
|
onClick: handleLabelClick,
|
|
@@ -39299,6 +39312,25 @@ const StatusCellCircle = styled.div`
|
|
|
39299
39312
|
border: 1px solid white;
|
|
39300
39313
|
background-color: ${props => props.backgroundColor};
|
|
39301
39314
|
`;
|
|
39315
|
+
const DotIndicatorWrapper = styled.div`
|
|
39316
|
+
display: inline-flex;
|
|
39317
|
+
align-items: center;
|
|
39318
|
+
justify-content: center;
|
|
39319
|
+
width: 100%;
|
|
39320
|
+
height: 100%;
|
|
39321
|
+
position: relative;
|
|
39322
|
+
|
|
39323
|
+
${tooltipStyles$1}
|
|
39324
|
+
|
|
39325
|
+
/* Override tooltip position */
|
|
39326
|
+
&[data-tooltip]:hover::before {
|
|
39327
|
+
top: calc(var(--tooltip-top, 0px) - var(--tooltip-offset, 60px) + 20px);
|
|
39328
|
+
}
|
|
39329
|
+
|
|
39330
|
+
&[data-tooltip]:hover::after {
|
|
39331
|
+
top: calc(var(--tooltip-top, 0px) - var(--tooltip-offset, 60px) + var(--tooltip-height, 50px) + 20px);
|
|
39332
|
+
}
|
|
39333
|
+
`;
|
|
39302
39334
|
|
|
39303
39335
|
// NEW TAG STYLES
|
|
39304
39336
|
const TagContainer = styled.div`
|
|
@@ -40530,14 +40562,40 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40530
40562
|
if (!value || typeof value !== 'object') return null;
|
|
40531
40563
|
const {
|
|
40532
40564
|
show,
|
|
40533
|
-
color
|
|
40565
|
+
color,
|
|
40566
|
+
tooltip
|
|
40534
40567
|
} = value;
|
|
40535
40568
|
|
|
40536
40569
|
// Only show the dot if show is true
|
|
40537
40570
|
if (!show) return null;
|
|
40538
|
-
return /*#__PURE__*/React$1.createElement(
|
|
40571
|
+
return /*#__PURE__*/React$1.createElement(DotIndicatorWrapper, {
|
|
40572
|
+
ref: el => {
|
|
40573
|
+
if (el && tooltip && tooltip.trim() !== "") {
|
|
40574
|
+
try {
|
|
40575
|
+
const rect = el.getBoundingClientRect();
|
|
40576
|
+
if (rect.width > 0 && rect.height > 0) {
|
|
40577
|
+
const tooltipInfo = calculateTooltipOffset(tooltip);
|
|
40578
|
+
if (tooltipInfo) {
|
|
40579
|
+
const {
|
|
40580
|
+
offset,
|
|
40581
|
+
height
|
|
40582
|
+
} = tooltipInfo;
|
|
40583
|
+
el.style.setProperty("--tooltip-top", `${rect.top}px`);
|
|
40584
|
+
el.style.setProperty("--tooltip-left", `${rect.left}px`);
|
|
40585
|
+
el.style.setProperty("--tooltip-width", `${rect.width}px`);
|
|
40586
|
+
el.style.setProperty("--tooltip-offset", `${offset}px`);
|
|
40587
|
+
el.style.setProperty("--tooltip-height", `${height}px`);
|
|
40588
|
+
el.setAttribute("data-tooltip", tooltip);
|
|
40589
|
+
}
|
|
40590
|
+
}
|
|
40591
|
+
} catch (e) {
|
|
40592
|
+
console.warn("Error applying dotIndicator tooltip:", e);
|
|
40593
|
+
}
|
|
40594
|
+
}
|
|
40595
|
+
}
|
|
40596
|
+
}, /*#__PURE__*/React$1.createElement(StatusCellCircle, {
|
|
40539
40597
|
backgroundColor: color
|
|
40540
|
-
});
|
|
40598
|
+
}));
|
|
40541
40599
|
} catch (e) {
|
|
40542
40600
|
console.warn('Error formatting dotIndicator:', e);
|
|
40543
40601
|
return null;
|
|
@@ -40549,7 +40607,7 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40549
40607
|
style: {
|
|
40550
40608
|
color: isDefine ? "#8B8989" : "inherit"
|
|
40551
40609
|
}
|
|
40552
|
-
}, value
|
|
40610
|
+
}, value ? `$${value}` : "Define"), /*#__PURE__*/React$1.createElement(PencilButton, {
|
|
40553
40611
|
onClick: e => {
|
|
40554
40612
|
e.stopPropagation();
|
|
40555
40613
|
handleEditableClick(row, column.key, value, rowIndex);
|
|
@@ -40823,6 +40881,9 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40823
40881
|
case "checkbox":
|
|
40824
40882
|
try {
|
|
40825
40883
|
const isChecked = Boolean(value);
|
|
40884
|
+
// Check if this specific checkbox should be disabled
|
|
40885
|
+
// Format: checkboxDisabled_{columnKey} or checkboxDisabled (for backward compatibility)
|
|
40886
|
+
const isDisabled = row[`checkboxDisabled_${column.key}`] === true || column.key && row[`checkboxDisabled_${column.key}`] === true;
|
|
40826
40887
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
40827
40888
|
style: {
|
|
40828
40889
|
display: "flex",
|
|
@@ -40834,13 +40895,15 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
40834
40895
|
}, /*#__PURE__*/React$1.createElement("input", {
|
|
40835
40896
|
type: "checkbox",
|
|
40836
40897
|
checked: isChecked,
|
|
40898
|
+
disabled: isDisabled,
|
|
40837
40899
|
onChange: e => handleCheckboxClick(row, column.key, e),
|
|
40838
40900
|
onClick: e => e.stopPropagation(),
|
|
40839
40901
|
style: {
|
|
40840
40902
|
width: "18px",
|
|
40841
40903
|
height: "18px",
|
|
40842
|
-
cursor: "pointer",
|
|
40843
|
-
accentColor: buttonColor
|
|
40904
|
+
cursor: isDisabled ? "not-allowed" : "pointer",
|
|
40905
|
+
accentColor: buttonColor,
|
|
40906
|
+
opacity: isDisabled ? 0.5 : 1
|
|
40844
40907
|
}
|
|
40845
40908
|
}));
|
|
40846
40909
|
} catch (e) {
|
|
@@ -44432,6 +44495,7 @@ const Table = props => {
|
|
|
44432
44495
|
noEventsSubtitle = "Let's get started and create your first one!",
|
|
44433
44496
|
noEventsButtonText = "New Event",
|
|
44434
44497
|
noEventsButtonIcon = "Plus",
|
|
44498
|
+
disableNoEventsButton = false,
|
|
44435
44499
|
showNoEventsButton = true,
|
|
44436
44500
|
indexToShimmer = -1,
|
|
44437
44501
|
resetFocusIndex,
|
|
@@ -44615,6 +44679,7 @@ const Table = props => {
|
|
|
44615
44679
|
height: "45px",
|
|
44616
44680
|
leftIcon: noEventsButtonIcon,
|
|
44617
44681
|
text: noEventsButtonText,
|
|
44682
|
+
disabled: disableNoEventsButton,
|
|
44618
44683
|
borderRadius: "12px",
|
|
44619
44684
|
borderColor: buttonColor,
|
|
44620
44685
|
hoverBorderColor: buttonHoverColor,
|
|
@@ -44658,7 +44723,7 @@ const TitleContainer = styled$1.div`
|
|
|
44658
44723
|
`;
|
|
44659
44724
|
const SectionTitle$1 = styled$1.div`
|
|
44660
44725
|
color: #212121;
|
|
44661
|
-
font-size:
|
|
44726
|
+
font-size: 14px;
|
|
44662
44727
|
font-weight: 700;
|
|
44663
44728
|
`;
|
|
44664
44729
|
const SubtitleContainer = styled$1.div`
|
|
@@ -44717,7 +44782,7 @@ const VendorList$2 = styled$1.div`
|
|
|
44717
44782
|
`;
|
|
44718
44783
|
const VendorItem$1 = styled$1.div`
|
|
44719
44784
|
display: grid;
|
|
44720
|
-
grid-template-columns:
|
|
44785
|
+
grid-template-columns: 10% 75% 15%;
|
|
44721
44786
|
align-items: center;
|
|
44722
44787
|
padding: 16px 8px;
|
|
44723
44788
|
border-bottom: 1px solid #f2f2f2;
|
|
@@ -44736,7 +44801,7 @@ const VendorItem$1 = styled$1.div`
|
|
|
44736
44801
|
`;
|
|
44737
44802
|
const VendorName$2 = styled$1.div`
|
|
44738
44803
|
color: #212121;
|
|
44739
|
-
font-size:
|
|
44804
|
+
font-size: 14px;
|
|
44740
44805
|
font-weight: 500;
|
|
44741
44806
|
overflow: hidden;
|
|
44742
44807
|
max-width: 90%;
|
|
@@ -54430,7 +54495,8 @@ const ItemManagerPanel = _ref => {
|
|
|
54430
54495
|
buttonTooltipText = "Please fill out all forms before sending.",
|
|
54431
54496
|
trashTooltipText = 'Vendor cannot be deleted since its packages <br/> have already been sent as a form.',
|
|
54432
54497
|
maxVisibleVendors = 12,
|
|
54433
|
-
componentText = "Scale"
|
|
54498
|
+
componentText = "Scale",
|
|
54499
|
+
SubTitleColor = "#8B8989"
|
|
54434
54500
|
} = _ref;
|
|
54435
54501
|
const [screen, setScreen] = useState("initial");
|
|
54436
54502
|
const [selectedVendor, setSelectedVendor] = useState(null);
|
|
@@ -54681,7 +54747,9 @@ const ItemManagerPanel = _ref => {
|
|
|
54681
54747
|
}
|
|
54682
54748
|
}, /*#__PURE__*/React$1.createElement(VendorNameAndPackagesContainer$1, null, /*#__PURE__*/React$1.createElement(VendorName$2, {
|
|
54683
54749
|
title: item.name
|
|
54684
|
-
}, item.name), packagesLength === 0 && /*#__PURE__*/React$1.createElement(Subtitle$1, null, "No Packages"), packagesLength > 0 && /*#__PURE__*/React$1.createElement(Subtitle$1,
|
|
54750
|
+
}, item.name), packagesLength === 0 && /*#__PURE__*/React$1.createElement(Subtitle$1, null, "No Packages"), packagesLength > 0 && /*#__PURE__*/React$1.createElement(Subtitle$1, {
|
|
54751
|
+
color: SubTitleColor
|
|
54752
|
+
}, (() => {
|
|
54685
54753
|
const noPackagesSent = sentPackagesLength === 0;
|
|
54686
54754
|
if (noPackagesSent) {
|
|
54687
54755
|
return `0/${packagesLength} Packages Sent`;
|
|
@@ -54941,6 +55009,79 @@ const Label$1 = styled.label`
|
|
|
54941
55009
|
}
|
|
54942
55010
|
`;
|
|
54943
55011
|
|
|
55012
|
+
const PenIcon = _ref => {
|
|
55013
|
+
let {
|
|
55014
|
+
width = "24",
|
|
55015
|
+
height = "24",
|
|
55016
|
+
color = "#212121"
|
|
55017
|
+
} = _ref;
|
|
55018
|
+
return /*#__PURE__*/React$1.createElement("svg", {
|
|
55019
|
+
width: width,
|
|
55020
|
+
height: height,
|
|
55021
|
+
viewBox: "0 0 25 25",
|
|
55022
|
+
fill: "none",
|
|
55023
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
55024
|
+
}, /*#__PURE__*/React$1.createElement("g", {
|
|
55025
|
+
filter: "url(#filter0_d_2525_123082)"
|
|
55026
|
+
}, /*#__PURE__*/React$1.createElement("mask", {
|
|
55027
|
+
id: "path-1-outside-1_2525_123082",
|
|
55028
|
+
maskUnits: "userSpaceOnUse",
|
|
55029
|
+
x: "3.73438",
|
|
55030
|
+
y: "3.375",
|
|
55031
|
+
width: "17",
|
|
55032
|
+
height: "19",
|
|
55033
|
+
fill: color
|
|
55034
|
+
}, /*#__PURE__*/React$1.createElement("rect", {
|
|
55035
|
+
fill: "white",
|
|
55036
|
+
x: "3.73438",
|
|
55037
|
+
y: "3.375",
|
|
55038
|
+
width: "17",
|
|
55039
|
+
height: "19"
|
|
55040
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
55041
|
+
d: "M15.1572 5.32807C16.031 4.33374 17.3136 4.07387 18.0234 4.7558L19.3105 5.99116C19.6459 6.4461 19.802 7.00854 19.749 7.57123C19.696 8.13395 19.4378 8.65758 19.0234 9.04194L9.57031 19.9384C9.34115 20.2236 9.05407 20.4571 8.72754 20.622C8.40112 20.7869 8.04311 20.8802 7.67773 20.8955L4.73438 21.1464L4.95605 18.0234C4.95807 17.9606 4.96275 17.8968 4.96973 17.833L4.9873 17.5898L5.00488 17.6103C5.11537 17.0963 5.35621 16.6187 5.7041 16.2246L15.1572 5.32807ZM6.9043 17.2705C6.73634 17.4579 6.61798 17.6844 6.56152 17.9296L6.55273 17.9746L6.5459 18.0126C6.54191 18.0332 6.53798 18.0541 6.54199 18.0751L6.53809 18.1386L6.44727 19.4121L7.61328 19.3095L7.69434 19.3115C7.96355 19.2647 8.20438 19.1159 8.36719 18.8964L15.6064 10.5517L13.9961 9.09369L6.9043 17.2705ZM16.9922 5.96088C16.7403 6.02342 16.5162 6.16848 16.3564 6.37299L15.0342 7.89741L16.6436 9.35541L17.8203 7.99994C17.9368 7.88082 18.0279 7.73901 18.0889 7.58393C18.1498 7.42886 18.179 7.26318 18.1748 7.09662L16.9922 5.96088Z"
|
|
55042
|
+
})), /*#__PURE__*/React$1.createElement("path", {
|
|
55043
|
+
d: "M15.1572 5.32807C16.031 4.33374 17.3136 4.07387 18.0234 4.7558L19.3105 5.99116C19.6459 6.4461 19.802 7.00854 19.749 7.57123C19.696 8.13395 19.4378 8.65758 19.0234 9.04194L9.57031 19.9384C9.34115 20.2236 9.05407 20.4571 8.72754 20.622C8.40112 20.7869 8.04311 20.8802 7.67773 20.8955L4.73438 21.1464L4.95605 18.0234C4.95807 17.9606 4.96275 17.8968 4.96973 17.833L4.9873 17.5898L5.00488 17.6103C5.11537 17.0963 5.35621 16.6187 5.7041 16.2246L15.1572 5.32807ZM6.9043 17.2705C6.73634 17.4579 6.61798 17.6844 6.56152 17.9296L6.55273 17.9746L6.5459 18.0126C6.54191 18.0332 6.53798 18.0541 6.54199 18.0751L6.53809 18.1386L6.44727 19.4121L7.61328 19.3095L7.69434 19.3115C7.96355 19.2647 8.20438 19.1159 8.36719 18.8964L15.6064 10.5517L13.9961 9.09369L6.9043 17.2705ZM16.9922 5.96088C16.7403 6.02342 16.5162 6.16848 16.3564 6.37299L15.0342 7.89741L16.6436 9.35541L17.8203 7.99994C17.9368 7.88082 18.0279 7.73901 18.0889 7.58393C18.1498 7.42886 18.179 7.26318 18.1748 7.09662L16.9922 5.96088Z",
|
|
55044
|
+
fill: color
|
|
55045
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
55046
|
+
d: "M15.1572 5.32807L14.7816 4.998L14.7795 5.00042L15.1572 5.32807ZM18.0234 4.7558L17.677 5.11638L17.6772 5.11654L18.0234 4.7558ZM19.3105 5.99116L19.713 5.69448L19.6876 5.66005L19.6568 5.63042L19.3105 5.99116ZM19.749 7.57123L20.2468 7.61814L20.2468 7.61806L19.749 7.57123ZM19.0234 9.04194L18.6834 8.67535L18.6635 8.69379L18.6458 8.71428L19.0234 9.04194ZM9.57031 19.9384L9.19263 19.6108L9.18647 19.6179L9.18058 19.6252L9.57031 19.9384ZM8.72754 20.622L8.95297 21.0683L8.95297 21.0683L8.72754 20.622ZM7.67773 20.8955L7.65684 20.3959L7.64603 20.3963L7.63525 20.3973L7.67773 20.8955ZM4.73438 21.1464L4.23563 21.111L4.19423 21.6943L4.77686 21.6446L4.73438 21.1464ZM4.95605 18.0234L5.4548 18.0588L5.45549 18.0491L5.4558 18.0394L4.95605 18.0234ZM4.96973 17.833L5.46677 17.8873L5.46776 17.8782L5.46843 17.869L4.96973 17.833ZM4.9873 17.5898L5.36693 17.2644L4.57621 16.3419L4.48861 17.5537L4.9873 17.5898ZM5.00488 17.6103L4.62525 17.9357L5.28172 18.7016L5.49372 17.7154L5.00488 17.6103ZM5.7041 16.2246L6.07897 16.5554L6.08178 16.5522L5.7041 16.2246ZM6.9043 17.2705L7.27672 17.6042L7.28202 17.5981L6.9043 17.2705ZM6.56152 17.9296L6.07427 17.8175L6.07241 17.8255L6.07083 17.8336L6.56152 17.9296ZM6.55273 17.9746L6.06198 17.8785L6.0606 17.8862L6.55273 17.9746ZM6.5459 18.0126L7.03676 18.1081L7.03803 18.101L6.5459 18.0126ZM6.54199 18.0751L7.04105 18.1059L7.04491 18.0431L7.03313 17.9814L6.54199 18.0751ZM6.53809 18.1386L7.03684 18.1742L7.03714 18.1693L6.53809 18.1386ZM6.44727 19.4121L5.94853 19.3765L5.90681 19.9615L6.49107 19.9101L6.44727 19.4121ZM7.61328 19.3095L7.62533 18.8097L7.59735 18.809L7.56948 18.8114L7.61328 19.3095ZM7.69434 19.3115L7.68229 19.8113L7.73148 19.8125L7.77995 19.8041L7.69434 19.3115ZM8.36719 18.8964L7.9895 18.5688L7.977 18.5832L7.96563 18.5985L8.36719 18.8964ZM15.6064 10.5517L15.9841 10.8794L16.3049 10.5096L15.942 10.1811L15.6064 10.5517ZM13.9961 9.09369L14.3317 8.72304L13.953 8.38022L13.6184 8.76609L13.9961 9.09369ZM16.9922 5.96088L17.3385 5.60025L17.1395 5.40912L16.8717 5.47562L16.9922 5.96088ZM16.3564 6.37299L16.7342 6.70061L16.7426 6.69089L16.7505 6.68075L16.3564 6.37299ZM15.0342 7.89741L14.6565 7.56978L14.3358 7.93943L14.6985 8.26796L15.0342 7.89741ZM16.6436 9.35541L16.3079 9.72596L16.6863 10.0688L17.0211 9.6832L16.6436 9.35541ZM17.8203 7.99994L17.4628 7.65034L17.4525 7.66095L17.4427 7.67216L17.8203 7.99994ZM18.0889 7.58393L18.5542 7.7668L18.5542 7.76677L18.0889 7.58393ZM18.1748 7.09662L18.6746 7.08391L18.6694 6.87839L18.5211 6.736L18.1748 7.09662ZM15.1572 5.32807L15.5328 5.65813C15.9066 5.23273 16.3521 4.98342 16.7501 4.90358C17.1457 4.82425 17.4653 4.91295 17.677 5.11638L18.0234 4.7558L18.3698 4.39523C17.8717 3.91673 17.1952 3.7944 16.5535 3.9231C15.9144 4.05129 15.2816 4.42908 14.7816 4.99801L15.1572 5.32807ZM18.0234 4.7558L17.6772 5.11654L18.9643 6.35189L19.3105 5.99116L19.6568 5.63042L18.3697 4.39507L18.0234 4.7558ZM19.3105 5.99116L18.9081 6.28783C19.1705 6.64386 19.2927 7.08401 19.2512 7.5244L19.749 7.57123L20.2468 7.61806C20.3113 6.93306 20.1213 6.24834 19.713 5.69448L19.3105 5.99116ZM19.749 7.57123L19.2512 7.52433C19.2097 7.96486 19.0076 8.37465 18.6834 8.67535L19.0234 9.04194L19.3635 9.40852C19.868 8.94051 20.1823 8.30303 20.2468 7.61814L19.749 7.57123ZM19.0234 9.04194L18.6458 8.71428L9.19263 19.6108L9.57031 19.9384L9.94799 20.2661L19.4011 9.36959L19.0234 9.04194ZM9.57031 19.9384L9.18058 19.6252C8.99561 19.8553 8.76436 20.0432 8.5021 20.1757L8.72754 20.622L8.95297 21.0683C9.34377 20.8709 9.68668 20.5918 9.96005 20.2516L9.57031 19.9384ZM8.72754 20.622L8.50211 20.1757C8.23926 20.3085 7.95099 20.3836 7.65684 20.3959L7.67773 20.8955L7.69863 21.395C8.13524 21.3768 8.56298 21.2653 8.95297 21.0683L8.72754 20.622ZM7.67773 20.8955L7.63525 20.3973L4.69189 20.6482L4.73438 21.1464L4.77686 21.6446L7.72021 21.3936L7.67773 20.8955ZM4.73438 21.1464L5.23312 21.1818L5.4548 18.0588L4.95605 18.0234L4.45731 17.988L4.23563 21.111L4.73438 21.1464ZM4.95605 18.0234L5.4558 18.0394C5.45737 17.9905 5.46106 17.9395 5.46677 17.8873L4.96973 17.833L4.47269 17.7786C4.46444 17.8541 4.45877 17.9307 4.45631 18.0073L4.95605 18.0234ZM4.96973 17.833L5.46843 17.869L5.486 17.6258L4.9873 17.5898L4.48861 17.5537L4.47103 17.7969L4.96973 17.833ZM4.9873 17.5898L4.60768 17.9152L4.62525 17.9357L5.00488 17.6103L5.38451 17.2849L5.36693 17.2644L4.9873 17.5898ZM5.00488 17.6103L5.49372 17.7154C5.58622 17.2851 5.78788 16.8852 6.07896 16.5554L5.7041 16.2246L5.32924 15.8937C4.92453 16.3522 4.64451 16.9076 4.51605 17.5052L5.00488 17.6103ZM5.7041 16.2246L6.08178 16.5522L15.5349 5.65572L15.1572 5.32807L14.7795 5.00042L5.32642 15.8969L5.7041 16.2246ZM6.9043 17.2705L6.53192 16.9368C6.3083 17.1863 6.14993 17.4888 6.07427 17.8175L6.56152 17.9296L7.04878 18.0418C7.08604 17.88 7.16438 17.7294 7.27667 17.6041L6.9043 17.2705ZM6.56152 17.9296L6.07083 17.8336L6.06204 17.8785L6.55273 17.9746L7.04343 18.0706L7.05222 18.0256L6.56152 17.9296ZM6.55273 17.9746L6.0606 17.8862L6.05376 17.9243L6.5459 18.0126L7.03803 18.101L7.04487 18.0629L6.55273 17.9746ZM6.5459 18.0126L6.05508 17.9172C6.0537 17.9243 6.02602 18.0387 6.05085 18.1688L6.54199 18.0751L7.03313 17.9814C7.04251 18.0306 7.04069 18.0698 7.03875 18.0905C7.03709 18.1081 7.03421 18.1209 7.03671 18.108L6.5459 18.0126ZM6.54199 18.0751L6.04294 18.0444L6.03903 18.1079L6.53809 18.1386L7.03714 18.1693L7.04105 18.1059L6.54199 18.0751ZM6.53809 18.1386L6.03935 18.103L5.94853 19.3765L6.44727 19.4121L6.946 19.4476L7.03682 18.1742L6.53809 18.1386ZM6.44727 19.4121L6.49107 19.9101L7.65708 19.8076L7.61328 19.3095L7.56948 18.8114L6.40346 18.914L6.44727 19.4121ZM7.61328 19.3095L7.60124 19.8094L7.68229 19.8113L7.69434 19.3115L7.70638 18.8116L7.62533 18.8097L7.61328 19.3095ZM7.69434 19.3115L7.77995 19.8041C8.17599 19.7353 8.52976 19.5165 8.76874 19.1943L8.36719 18.8964L7.96563 18.5985C7.879 18.7153 7.7511 18.7941 7.60872 18.8189L7.69434 19.3115ZM8.36719 18.8964L8.74487 19.2241L15.9841 10.8794L15.6064 10.5517L15.2288 10.2241L7.9895 18.5688L8.36719 18.8964ZM15.6064 10.5517L15.942 10.1811L14.3317 8.72304L13.9961 9.09369L13.6605 9.46435L15.2709 10.9224L15.6064 10.5517ZM13.9961 9.09369L13.6184 8.76609L6.52657 16.9428L6.9043 17.2705L7.28202 17.5981L14.3738 9.4213L13.9961 9.09369ZM16.9922 5.96088L16.8717 5.47562C16.5118 5.56498 16.1912 5.77228 15.9624 6.06523L16.3564 6.37299L16.7505 6.68075C16.8412 6.56468 16.9689 6.48186 17.1127 6.44615L16.9922 5.96088ZM16.3564 6.37299L15.9787 6.04537L14.6565 7.56978L15.0342 7.89741L15.4119 8.22503L16.7342 6.70061L16.3564 6.37299ZM15.0342 7.89741L14.6985 8.26796L16.3079 9.72596L16.6436 9.35541L16.9793 8.98486L15.3699 7.52686L15.0342 7.89741ZM16.6436 9.35541L17.0211 9.6832L18.1979 8.32773L17.8203 7.99994L17.4427 7.67216L16.266 9.02763L16.6436 9.35541ZM17.8203 7.99994L18.1778 8.34954C18.3418 8.18181 18.4692 7.98306 18.5542 7.7668L18.0889 7.58393L17.6235 7.40106C17.5866 7.49497 17.5318 7.57983 17.4628 7.65034L17.8203 7.99994ZM18.0889 7.58393L18.5542 7.76677C18.6396 7.54957 18.6806 7.31739 18.6746 7.08391L18.1748 7.09662L17.675 7.10934C17.6775 7.20896 17.66 7.30816 17.6235 7.40109L18.0889 7.58393ZM18.1748 7.09662L18.5211 6.736L17.3385 5.60025L16.9922 5.96088L16.6459 6.32151L17.8285 7.45725L18.1748 7.09662Z",
|
|
55047
|
+
fill: "white",
|
|
55048
|
+
mask: "url(#path-1-outside-1_2525_123082)"
|
|
55049
|
+
})), /*#__PURE__*/React$1.createElement("defs", null, /*#__PURE__*/React$1.createElement("filter", {
|
|
55050
|
+
id: "filter0_d_2525_123082",
|
|
55051
|
+
x: "-15.8047",
|
|
55052
|
+
y: "-16.125",
|
|
55053
|
+
width: "56.0625",
|
|
55054
|
+
height: "57.8203",
|
|
55055
|
+
filterUnits: "userSpaceOnUse",
|
|
55056
|
+
"color-interpolation-filters": "sRGB"
|
|
55057
|
+
}, /*#__PURE__*/React$1.createElement("feFlood", {
|
|
55058
|
+
"flood-opacity": "0",
|
|
55059
|
+
result: "BackgroundImageFix"
|
|
55060
|
+
}), /*#__PURE__*/React$1.createElement("feColorMatrix", {
|
|
55061
|
+
in: "SourceAlpha",
|
|
55062
|
+
type: "matrix",
|
|
55063
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
55064
|
+
result: "hardAlpha"
|
|
55065
|
+
}), /*#__PURE__*/React$1.createElement("feOffset", null), /*#__PURE__*/React$1.createElement("feGaussianBlur", {
|
|
55066
|
+
stdDeviation: "10"
|
|
55067
|
+
}), /*#__PURE__*/React$1.createElement("feComposite", {
|
|
55068
|
+
in2: "hardAlpha",
|
|
55069
|
+
operator: "out"
|
|
55070
|
+
}), /*#__PURE__*/React$1.createElement("feColorMatrix", {
|
|
55071
|
+
type: "matrix",
|
|
55072
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"
|
|
55073
|
+
}), /*#__PURE__*/React$1.createElement("feBlend", {
|
|
55074
|
+
mode: "normal",
|
|
55075
|
+
in2: "BackgroundImageFix",
|
|
55076
|
+
result: "effect1_dropShadow_2525_123082"
|
|
55077
|
+
}), /*#__PURE__*/React$1.createElement("feBlend", {
|
|
55078
|
+
mode: "normal",
|
|
55079
|
+
in: "SourceGraphic",
|
|
55080
|
+
in2: "effect1_dropShadow_2525_123082",
|
|
55081
|
+
result: "shape"
|
|
55082
|
+
}))));
|
|
55083
|
+
};
|
|
55084
|
+
|
|
54944
55085
|
const DialogOverlay = styled.div`
|
|
54945
55086
|
position: fixed;
|
|
54946
55087
|
font-family: "Poppins", sans-serif;
|
|
@@ -55160,25 +55301,26 @@ const OverlayDropdown = _ref => {
|
|
|
55160
55301
|
disabled = false,
|
|
55161
55302
|
isDarkerBackground = false,
|
|
55162
55303
|
required = false,
|
|
55163
|
-
selectedColor =
|
|
55164
|
-
hoverColor =
|
|
55165
|
-
dropdownMaxHeight =
|
|
55166
|
-
width =
|
|
55167
|
-
height =
|
|
55304
|
+
selectedColor = "#066768",
|
|
55305
|
+
hoverColor = "#E6F0F0",
|
|
55306
|
+
dropdownMaxHeight = "600px",
|
|
55307
|
+
width = "100%",
|
|
55308
|
+
height = "auto",
|
|
55168
55309
|
label,
|
|
55169
55310
|
labelEmptyValue,
|
|
55170
55311
|
showLabelOnTop,
|
|
55171
55312
|
placeHolder,
|
|
55172
55313
|
labelColor,
|
|
55173
55314
|
placeHolderColor,
|
|
55174
|
-
margin =
|
|
55315
|
+
margin = "8px",
|
|
55316
|
+
editableDigitalCoupon = false,
|
|
55175
55317
|
...props
|
|
55176
55318
|
} = _ref;
|
|
55177
55319
|
const [open, setOpen] = useState(false);
|
|
55178
55320
|
const [hoveredText, setHoveredText] = useState(null);
|
|
55179
55321
|
const [templateDialog, setTemplateDialog] = useState(null);
|
|
55180
|
-
const [dropdownPosition, setDropdownPosition] = useState(
|
|
55181
|
-
const [lastDefinedGroup, setLastDefinedGroup] = useState(data.find(group => group.overlayCode ===
|
|
55322
|
+
const [dropdownPosition, setDropdownPosition] = useState("below");
|
|
55323
|
+
const [lastDefinedGroup, setLastDefinedGroup] = useState(data.find(group => group.overlayCode === "last_defined"));
|
|
55182
55324
|
const buttonRef = useRef(null);
|
|
55183
55325
|
const dropdownRef = useRef(null);
|
|
55184
55326
|
const containerRef = useRef(null);
|
|
@@ -55191,12 +55333,12 @@ const OverlayDropdown = _ref => {
|
|
|
55191
55333
|
}
|
|
55192
55334
|
};
|
|
55193
55335
|
if (open) {
|
|
55194
|
-
document.addEventListener(
|
|
55195
|
-
document.addEventListener(
|
|
55336
|
+
document.addEventListener("mousedown", handleClickOutside);
|
|
55337
|
+
document.addEventListener("touchstart", handleClickOutside);
|
|
55196
55338
|
}
|
|
55197
55339
|
return () => {
|
|
55198
|
-
document.removeEventListener(
|
|
55199
|
-
document.removeEventListener(
|
|
55340
|
+
document.removeEventListener("mousedown", handleClickOutside);
|
|
55341
|
+
document.removeEventListener("touchstart", handleClickOutside);
|
|
55200
55342
|
};
|
|
55201
55343
|
}, [open]);
|
|
55202
55344
|
|
|
@@ -55214,9 +55356,9 @@ const OverlayDropdown = _ref => {
|
|
|
55214
55356
|
|
|
55215
55357
|
// If there's not enough space below, but more space above, position above
|
|
55216
55358
|
if (spaceBelow < dropdownHeight && spaceAbove > spaceBelow) {
|
|
55217
|
-
setDropdownPosition(
|
|
55359
|
+
setDropdownPosition("above");
|
|
55218
55360
|
} else {
|
|
55219
|
-
setDropdownPosition(
|
|
55361
|
+
setDropdownPosition("below");
|
|
55220
55362
|
}
|
|
55221
55363
|
}
|
|
55222
55364
|
}, [open, dropdownMaxHeight, margin]);
|
|
@@ -55246,8 +55388,8 @@ const OverlayDropdown = _ref => {
|
|
|
55246
55388
|
|
|
55247
55389
|
// Tooltip logic for long string
|
|
55248
55390
|
const getDisplayText = text => {
|
|
55249
|
-
if (!text) return
|
|
55250
|
-
if (text.length > 66) return text.slice(0, 66) +
|
|
55391
|
+
if (!text) return "";
|
|
55392
|
+
if (text.length > 66) return text.slice(0, 66) + "...";
|
|
55251
55393
|
return text;
|
|
55252
55394
|
};
|
|
55253
55395
|
const getTemplateParams = label => {
|
|
@@ -55262,12 +55404,12 @@ const OverlayDropdown = _ref => {
|
|
|
55262
55404
|
return [{
|
|
55263
55405
|
label: beforeX.trim(),
|
|
55264
55406
|
// "Buy "
|
|
55265
|
-
type:
|
|
55266
|
-
suffix:
|
|
55407
|
+
type: "number",
|
|
55408
|
+
suffix: ""
|
|
55267
55409
|
}, {
|
|
55268
55410
|
label: betweenXY.trim(),
|
|
55269
55411
|
// " & Get "
|
|
55270
|
-
type:
|
|
55412
|
+
type: "number",
|
|
55271
55413
|
suffix: afterY.trim() // " % Off"
|
|
55272
55414
|
}];
|
|
55273
55415
|
}
|
|
@@ -55280,16 +55422,16 @@ const OverlayDropdown = _ref => {
|
|
|
55280
55422
|
return [{
|
|
55281
55423
|
label: beforeVar.trim(),
|
|
55282
55424
|
// "Buy "
|
|
55283
|
-
type:
|
|
55425
|
+
type: "number",
|
|
55284
55426
|
suffix: afterVar.trim() // " of item(s), Get Free Item"
|
|
55285
55427
|
}];
|
|
55286
55428
|
}
|
|
55287
55429
|
|
|
55288
55430
|
// Fallback: if no pattern matches, treat as single input
|
|
55289
55431
|
return [{
|
|
55290
|
-
label:
|
|
55291
|
-
type:
|
|
55292
|
-
suffix:
|
|
55432
|
+
label: "Value",
|
|
55433
|
+
type: "number",
|
|
55434
|
+
suffix: ""
|
|
55293
55435
|
}];
|
|
55294
55436
|
};
|
|
55295
55437
|
const generateFinalSentence = (template, values) => {
|
|
@@ -55340,8 +55482,8 @@ const OverlayDropdown = _ref => {
|
|
|
55340
55482
|
} else {
|
|
55341
55483
|
// Create new group
|
|
55342
55484
|
setLastDefinedGroup({
|
|
55343
|
-
overlayCode:
|
|
55344
|
-
overlayName:
|
|
55485
|
+
overlayCode: "last_defined",
|
|
55486
|
+
overlayName: "Last defined by you",
|
|
55345
55487
|
templateType: 1,
|
|
55346
55488
|
items: [newItem]
|
|
55347
55489
|
});
|
|
@@ -55402,7 +55544,7 @@ const OverlayDropdown = _ref => {
|
|
|
55402
55544
|
onMouseEnter: () => setHoveredText(selected?.label),
|
|
55403
55545
|
onMouseLeave: () => setHoveredText(null),
|
|
55404
55546
|
color: !selected && open ? placeHolderColor : "inherit"
|
|
55405
|
-
}, selected ? getDisplayText(selected.label) : open ? placeHolder :
|
|
55547
|
+
}, selected ? getDisplayText(selected.label) : open ? placeHolder : ""), open ? /*#__PURE__*/React$1.createElement(MenuItemUpIcon, {
|
|
55406
55548
|
width: "12px",
|
|
55407
55549
|
height: "12px",
|
|
55408
55550
|
color: "#B1B1B1"
|
|
@@ -55420,7 +55562,7 @@ const OverlayDropdown = _ref => {
|
|
|
55420
55562
|
$showBorder: group.overlayName,
|
|
55421
55563
|
margin: margin,
|
|
55422
55564
|
key: group.overlayCode
|
|
55423
|
-
}, [
|
|
55565
|
+
}, ["Template Offer", "Last defined by you"].includes(group.overlayName) && /*#__PURE__*/React$1.createElement(SectionTitle, null, group.overlayName), group.items.map(item => /*#__PURE__*/React$1.createElement(DropdownItem, {
|
|
55424
55566
|
key: item.value,
|
|
55425
55567
|
selected: item.value === value,
|
|
55426
55568
|
selectedColor: selectedColor,
|
|
@@ -55454,6 +55596,8 @@ const OverlayDropdown = _ref => {
|
|
|
55454
55596
|
onMouseLeave: () => setHoveredText(null)
|
|
55455
55597
|
}, getDisplayText(item.label)), group.templateType === 2 ? /*#__PURE__*/React$1.createElement(ChervronRightIcon, {
|
|
55456
55598
|
fill: item.value === value ? "#fff" : "#212121"
|
|
55599
|
+
}) : group.templateType === 3 && editableDigitalCoupon ? /*#__PURE__*/React$1.createElement(PenIcon, {
|
|
55600
|
+
fill: item.value === value ? "#fff" : "#212121"
|
|
55457
55601
|
}) : item.value === value && /*#__PURE__*/React$1.createElement(OkIcon, {
|
|
55458
55602
|
width: "22px",
|
|
55459
55603
|
height: "22px",
|