@gooddata/sdk-ui-dashboard 10.10.0-alpha.31 → 10.10.0-alpha.32
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/layout/sizing.d.ts.map +1 -1
- package/esm/_staging/layout/sizing.js +4 -1
- package/esm/_staging/layout/sizing.js.map +1 -1
- package/esm/model/commandHandlers/common/validateDrills.d.ts +2 -2
- package/esm/model/commandHandlers/common/validateDrills.d.ts.map +1 -1
- package/esm/model/commandHandlers/common/validateDrills.js.map +1 -1
- package/esm/model/queryServices/queryWidgetFilters.d.ts.map +1 -1
- package/esm/model/queryServices/queryWidgetFilters.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +8 -0
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/index.d.ts +1 -1
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +1 -1
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/layoutUtils.d.ts +1 -1
- package/esm/model/store/layout/layoutUtils.d.ts.map +1 -1
- package/esm/model/store/layout/layoutUtils.js +5 -2
- package/esm/model/store/layout/layoutUtils.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js +8 -2
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js.map +1 -1
- package/esm/presentation/componentDefinition/types.d.ts +28 -5
- package/esm/presentation/componentDefinition/types.d.ts.map +1 -1
- package/esm/presentation/constants/colors.d.ts +1 -0
- package/esm/presentation/constants/colors.d.ts.map +1 -1
- package/esm/presentation/constants/colors.js +2 -1
- package/esm/presentation/constants/colors.js.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts +2 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js +5 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DashboardSidebar.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DashboardSidebar.js +2 -2
- package/esm/presentation/dashboard/DashboardSidebar/DashboardSidebar.js.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.js +2 -2
- package/esm/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.js.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/types.d.ts +8 -1
- package/esm/presentation/dashboard/DashboardSidebar/types.d.ts.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +2 -0
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardMainContent.js +2 -0
- package/esm/presentation/dashboard/components/DashboardMainContent.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +3 -3
- package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts +4 -2
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.js +11 -2
- package/esm/presentation/dashboard/hooks/useDashboard.js.map +1 -1
- package/esm/presentation/dashboard/types.d.ts +13 -1
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +4 -2
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +2 -0
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js.map +1 -1
- package/esm/presentation/dashboardContexts/types.d.ts +10 -2
- package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.js +3 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.d.ts +3 -0
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.js +20 -0
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.js.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.d.ts +16 -0
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js +18 -0
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js +16 -2
- package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.js +15 -3
- package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.js +19 -2
- package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.d.ts +4 -0
- package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.js +10 -0
- package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.js.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js +17 -3
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts +3 -0
- package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/index.js +3 -0
- package/esm/presentation/dragAndDrop/draggableWidget/index.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js +4 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingWidget.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingWidget.js +2 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingWidget.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts +2 -2
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +2 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +46 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +2 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +45 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/dragAndDrop/types.d.ts +25 -3
- package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/types.js +12 -0
- package/esm/presentation/dragAndDrop/types.js.map +1 -1
- package/esm/presentation/dragAndDrop/useDashboardDragScroll.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useDashboardDragScroll.js +2 -0
- package/esm/presentation/dragAndDrop/useDashboardDragScroll.js.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.js +12 -1
- package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +25 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +8 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts +5 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.js +14 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +8 -3
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js.map +1 -1
- package/esm/presentation/widget/index.d.ts +1 -0
- package/esm/presentation/widget/index.d.ts.map +1 -1
- package/esm/presentation/widget/index.js +1 -0
- package/esm/presentation/widget/index.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +0 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +2 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js +11 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +17 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAlertValidation.d.ts +7 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAlertValidation.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAlertValidation.js +25 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAlertValidation.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
- package/esm/presentation/widget/types.d.ts +1 -0
- package/esm/presentation/widget/types.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/CreatableVisualizationSwitcher.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/CreatableVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/CreatableVisualizationSwitcher.js +13 -0
- package/esm/presentation/widget/visualizationSwitcher/CreatableVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DashboardVisualizationSwitcher.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/DashboardVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DashboardVisualizationSwitcher.js +13 -0
- package/esm/presentation/widget/visualizationSwitcher/DashboardVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.d.ts +8 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.js +14 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcherComponentSetFactory.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcherComponentSetFactory.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcherComponentSetFactory.js +24 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcherComponentSetFactory.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js +17 -0
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +9 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/index.d.ts +4 -0
- package/esm/presentation/widget/visualizationSwitcher/index.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/index.js +4 -0
- package/esm/presentation/widget/visualizationSwitcher/index.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts +53 -0
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/types.js +3 -0
- package/esm/presentation/widget/visualizationSwitcher/types.js.map +1 -0
- package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js +5 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts +7 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js +13 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts +7 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js +18 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts +6 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js +12 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/index.d.ts +2 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/index.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/index.js +3 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/index.js.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts +7 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.js +3 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.js.map +1 -0
- package/esm/sdk-ui-dashboard.d.ts +158 -4
- package/esm/widgets/placeholders/types.js +1 -1
- package/package.json +15 -15
- package/styles/css/alerting.css +3 -0
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/dashboard.css +3 -0
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/main.css +46 -0
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +3 -0
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/css/sidebar.css +19 -0
- package/styles/css/sidebar.css.map +1 -1
- package/styles/css/visualizationSwitcherWidget.css +27 -0
- package/styles/css/visualizationSwitcherWidget.css.map +1 -0
- package/styles/scss/alerting.scss +4 -0
- package/styles/scss/main.scss +1 -0
- package/styles/scss/notifications_channels_dialog.scss +4 -0
- package/styles/scss/sidebar.scss +26 -0
- package/styles/scss/visualizationSwitcherWidget.scss +23 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
export { DefaultDashboardVisualizationSwitcher } from "./DefaultDashboardVisualizationSwitcher.js";
|
|
3
|
+
export { DefaultDashboardVisualizationSwitcherComponentSetFactory } from "./DefaultDashboardVisualizationSwitcherComponentSetFactory.js";
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/presentation/widget/visualizationSwitcher/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAMhC,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,EAAE,wDAAwD,EAAE,MAAM,+DAA+D,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ComponentType } from "react";
|
|
2
|
+
import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
|
|
3
|
+
import { IVisualizationSwitcherWidget } from "@gooddata/sdk-model";
|
|
4
|
+
/**
|
|
5
|
+
* Visualization switcher widget props.
|
|
6
|
+
*
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface IDashboardVisualizationSwitcherProps {
|
|
10
|
+
/**
|
|
11
|
+
* Backend to work with.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
15
|
+
* backend here, then the component MUST be rendered within an existing BackendContext.
|
|
16
|
+
*
|
|
17
|
+
* @alpha
|
|
18
|
+
*/
|
|
19
|
+
backend?: IAnalyticalBackend;
|
|
20
|
+
/**
|
|
21
|
+
* Workspace where the Insight widget exists.
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
25
|
+
* workspace here, then the component MUST be rendered within an existing WorkspaceContext.
|
|
26
|
+
*
|
|
27
|
+
* @alpha
|
|
28
|
+
*/
|
|
29
|
+
workspace?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Definition of insight widget to render.
|
|
32
|
+
*
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
widget: IVisualizationSwitcherWidget;
|
|
36
|
+
/**
|
|
37
|
+
* Height of the visualization switcher widget container.
|
|
38
|
+
*
|
|
39
|
+
* @alpha
|
|
40
|
+
*/
|
|
41
|
+
clientHeight?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Width of the visualization switcher widget container.
|
|
44
|
+
*
|
|
45
|
+
* @alpha
|
|
46
|
+
*/
|
|
47
|
+
clientWidth?: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export type CustomDashboardVisualizationSwitcherComponent = ComponentType<IDashboardVisualizationSwitcherProps>;
|
|
53
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/visualizationSwitcher/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAMnE;;;;GAIG;AACH,MAAM,WAAW,oCAAoC;IACjD;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,MAAM,EAAE,4BAA4B,CAAC;IAErC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAMD;;GAEG;AACH,MAAM,MAAM,6CAA6C,GACrD,aAAa,CAAC,oCAAoC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/presentation/widget/visualizationSwitcher/types.ts"],"names":[],"mappings":"AAAA,gCAAgC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardWidget.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/widget/DefaultDashboardWidget.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultDashboardWidget.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/widget/DefaultDashboardWidget.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAoBvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAOnD;;GAEG;AACH,eAAO,MAAM,sBAAsB,mDAoGjC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2020-2024 GoodData Corporation
|
|
2
2
|
import React, { useMemo } from "react";
|
|
3
3
|
import { UnexpectedError } from "@gooddata/sdk-backend-spi";
|
|
4
|
-
import { isWidget, isInsightWidget, isDashboardWidget, widgetRef, isKpiWidget, isRichTextWidget, } from "@gooddata/sdk-model";
|
|
4
|
+
import { isWidget, isInsightWidget, isDashboardWidget, widgetRef, isKpiWidget, isRichTextWidget, isVisualizationSwitcherWidget, } from "@gooddata/sdk-model";
|
|
5
5
|
import { BackendProvider, convertError, useBackendStrict } from "@gooddata/sdk-ui";
|
|
6
6
|
import { withEventing } from "@gooddata/sdk-backend-base";
|
|
7
7
|
import { useDashboardEventDispatch } from "../../../model/index.js";
|
|
@@ -10,6 +10,7 @@ import { safeSerializeObjRef } from "../../../_staging/metadata/safeSerializeObj
|
|
|
10
10
|
import { DefaultDashboardKpiWidget } from "./DefaultDashboardKpiWidget.js";
|
|
11
11
|
import { RenderModeAwareDashboardInsightWidget } from "./InsightWidget/index.js";
|
|
12
12
|
import { RenderModeAwareDashboardRichTextWidget } from "./RichTextWidget/index.js";
|
|
13
|
+
import { RenderModeAwareDashboardVisualizationSwitchertWidget } from "./VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js";
|
|
13
14
|
/**
|
|
14
15
|
* @internal
|
|
15
16
|
*/
|
|
@@ -66,6 +67,9 @@ export const DefaultDashboardWidget = React.memo(function DefaultDashboardWidget
|
|
|
66
67
|
else if (isRichTextWidget(widget)) {
|
|
67
68
|
renderWidget = (React.createElement(RenderModeAwareDashboardRichTextWidget, { widget: widget, screen: screen, dashboardItemClasses: dashboardItemClasses }));
|
|
68
69
|
}
|
|
70
|
+
else if (isVisualizationSwitcherWidget(widget)) {
|
|
71
|
+
renderWidget = (React.createElement(RenderModeAwareDashboardVisualizationSwitchertWidget, { widget: widget, screen: screen, dashboardItemClasses: dashboardItemClasses }));
|
|
72
|
+
}
|
|
69
73
|
return React.createElement(BackendProvider, { backend: backendWithEventing }, renderWidget);
|
|
70
74
|
}
|
|
71
75
|
return React.createElement("div", null, "Unknown widget");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardWidget.js","sourceRoot":"","sources":["../../../../src/presentation/widget/widget/DefaultDashboardWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAa,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EACH,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,gBAAgB,
|
|
1
|
+
{"version":3,"file":"DefaultDashboardWidget.js","sourceRoot":"","sources":["../../../../src/presentation/widget/widget/DefaultDashboardWidget.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IDefaultDashboardVisualizationSwitcherWidgetProps } from "./types.js";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const DefaultDashboardVisualizationSwitchertWidget: React.FC<IDefaultDashboardVisualizationSwitcherWidgetProps>;
|
|
7
|
+
//# sourceMappingURL=DefaultDashboardVisualizationSwitcherWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultDashboardVisualizationSwitcherWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,iDAAiD,EAAE,MAAM,YAAY,CAAC;AAG/E;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,KAAK,CAAC,EAAE,CAC/D,iDAAiD,CAYpD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// (C) 2020-2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
import { DashboardItem, DashboardItemBase } from "../../../presentationComponents/index.js";
|
|
5
|
+
import { DashboardVisualizationSwitcher } from "../../visualizationSwitcher/DashboardVisualizationSwitcher.js";
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export const DefaultDashboardVisualizationSwitchertWidget = ({ widget, screen, dashboardItemClasses }) => {
|
|
10
|
+
return (React.createElement(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget"), screen: screen },
|
|
11
|
+
React.createElement(DashboardItemBase, { visualizationClassName: "gd-visualization-switcher-widget-wrapper" }, () => React.createElement(DashboardVisualizationSwitcher, { widget: widget }))));
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=DefaultDashboardVisualizationSwitcherWidget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultDashboardVisualizationSwitcherWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAE5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,+DAA+D,CAAC;AAE/G;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAErD,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,EAAE,EAAE,EAAE;IAC7C,OAAO,CACH,oBAAC,aAAa,IACV,SAAS,EAAE,EAAE,CAAC,oBAAoB,EAAE,oBAAoB,EAAE,0BAA0B,CAAC,EACrF,MAAM,EAAE,MAAM;QAEd,oBAAC,iBAAiB,IAAC,sBAAsB,EAAC,0CAA0C,IAC/E,GAAG,EAAE,CAAC,oBAAC,8BAA8B,IAAC,MAAM,EAAE,MAAM,GAAI,CACzC,CACR,CACnB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IDefaultDashboardVisualizationSwitcherWidgetProps } from "./types.js";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const EditableDashboardVisualizationSwitcherWidget: React.FC<IDefaultDashboardVisualizationSwitcherWidgetProps>;
|
|
7
|
+
//# sourceMappingURL=EditableDashboardVisualizationSwitcherWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditableDashboardVisualizationSwitcherWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAAE,iDAAiD,EAAE,MAAM,YAAY,CAAC;AAG/E;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,KAAK,CAAC,EAAE,CAC/D,iDAAiD,CAkCpD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// (C) 2020-2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
import { widgetRef } from "@gooddata/sdk-model";
|
|
5
|
+
import { DashboardItem, DashboardItemBase } from "../../../presentationComponents/index.js";
|
|
6
|
+
import { selectIsDashboardSaving, useDashboardSelector, useWidgetSelection, } from "../../../../model/index.js";
|
|
7
|
+
import { DashboardVisualizationSwitcher } from "../../visualizationSwitcher/DashboardVisualizationSwitcher.js";
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export const EditableDashboardVisualizationSwitcherWidget = ({ widget, screen, dashboardItemClasses }) => {
|
|
12
|
+
const { isSelectable, isSelected, onSelected } = useWidgetSelection(widgetRef(widget));
|
|
13
|
+
const isSaving = useDashboardSelector(selectIsDashboardSaving);
|
|
14
|
+
const isEditable = !isSaving;
|
|
15
|
+
return (React.createElement(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget", "is-edit-mode", { "is-selected": isSelected }), screen: screen },
|
|
16
|
+
React.createElement(DashboardItemBase, { isSelectable: isSelectable, isSelected: isSelected, onSelected: onSelected, contentClassName: cx({ "is-editable": isEditable }), visualizationClassName: "gd-visualization-switcher-widget-wrapper" }, ({ clientWidth, clientHeight }) => (React.createElement(DashboardVisualizationSwitcher, { widget: widget, clientHeight: clientHeight, clientWidth: clientWidth })))));
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=EditableDashboardVisualizationSwitcherWidget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditableDashboardVisualizationSwitcherWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EACH,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,GACrB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,+DAA+D,CAAC;AAE/G;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAErD,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,EAAE,EAAE,EAAE;IAC7C,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,kBAAkB,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;IACvF,MAAM,QAAQ,GAAG,oBAAoB,CAAC,uBAAuB,CAAC,CAAC;IAC/D,MAAM,UAAU,GAAG,CAAC,QAAQ,CAAC;IAE7B,OAAO,CACH,oBAAC,aAAa,IACV,SAAS,EAAE,EAAE,CACT,oBAAoB,EACpB,oBAAoB,EACpB,0BAA0B,EAC1B,cAAc,EACd,EAAE,aAAa,EAAE,UAAU,EAAE,CAChC,EACD,MAAM,EAAE,MAAM;QAEd,oBAAC,iBAAiB,IACd,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,UAAU,EAAE,CAAC,EACnD,sBAAsB,EAAC,0CAA0C,IAEhE,CAAC,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,CAChC,oBAAC,8BAA8B,IAC3B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,GAC1B,CACL,CACe,CACR,CACnB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const RenderModeAwareDashboardVisualizationSwitchertWidget: import("react").ComponentType<import("./types.js").IDefaultDashboardVisualizationSwitcherWidgetProps>;
|
|
6
|
+
//# sourceMappingURL=RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":";AAMA;;GAEG;AACH,eAAO,MAAM,oDAAoD,uGAG/D,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
import { renderModeAware } from "../../../componentDefinition/index.js";
|
|
3
|
+
import { DefaultDashboardVisualizationSwitchertWidget } from "./DefaultDashboardVisualizationSwitcherWidget.js";
|
|
4
|
+
import { EditableDashboardVisualizationSwitcherWidget } from "./EditableDashboardVisualizationSwitcherWidget.js";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export const RenderModeAwareDashboardVisualizationSwitchertWidget = renderModeAware({
|
|
9
|
+
view: DefaultDashboardVisualizationSwitchertWidget,
|
|
10
|
+
edit: EditableDashboardVisualizationSwitcherWidget,
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=RenderModeAwareDashboardVisualizationSwitcherWidget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenderModeAwareDashboardVisualizationSwitcherWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,4CAA4C,EAAE,MAAM,kDAAkD,CAAC;AAChH,OAAO,EAAE,4CAA4C,EAAE,MAAM,mDAAmD,CAAC;AAEjH;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAG,eAAe,CAAC;IAChF,IAAI,EAAE,4CAA4C;IAClD,IAAI,EAAE,4CAA4C;CACrD,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/index.ts"],"names":[],"mappings":"AAEA,cAAc,0DAA0D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,cAAc,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IVisualizationSwitcherWidget, ScreenSize } from "@gooddata/sdk-model";
|
|
2
|
+
export interface IDefaultDashboardVisualizationSwitcherWidgetProps {
|
|
3
|
+
widget: IVisualizationSwitcherWidget;
|
|
4
|
+
screen: ScreenSize;
|
|
5
|
+
dashboardItemClasses: string;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE/E,MAAM,WAAW,iDAAiD;IAC9D,MAAM,EAAE,4BAA4B,CAAC;IACrC,MAAM,EAAE,UAAU,CAAC;IACnB,oBAAoB,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/types.ts"],"names":[],"mappings":"AAAA,gCAAgC"}
|
|
@@ -177,6 +177,7 @@ import { IDashboardLayoutSizeByScreenSize } from '@gooddata/sdk-model';
|
|
|
177
177
|
import { IDashboardObjectIdentity } from '@gooddata/sdk-model';
|
|
178
178
|
import { IDashboardPermissions } from '@gooddata/sdk-model';
|
|
179
179
|
import { IDashboardRichTextProps as IDashboardRichTextProps_2 } from './types.js';
|
|
180
|
+
import { IDashboardVisualizationSwitcherProps as IDashboardVisualizationSwitcherProps_2 } from './types.js';
|
|
180
181
|
import { IDashboardWidget } from '@gooddata/sdk-model';
|
|
181
182
|
import { IDashboardWidgetOverlay as IDashboardWidgetOverlay_2 } from '../../index.js';
|
|
182
183
|
import { IDataView } from '@gooddata/sdk-backend-spi';
|
|
@@ -250,6 +251,7 @@ import { ITranslations } from '@gooddata/sdk-ui';
|
|
|
250
251
|
import { IUser } from '@gooddata/sdk-model';
|
|
251
252
|
import { IUserWorkspaceSettings } from '@gooddata/sdk-backend-spi';
|
|
252
253
|
import { IVisualizationCallbacks } from '@gooddata/sdk-ui';
|
|
254
|
+
import { IVisualizationSwitcherWidget } from '@gooddata/sdk-model';
|
|
253
255
|
import { IWebhookDefinitionObject } from '@gooddata/sdk-model';
|
|
254
256
|
import { IWidget } from '@gooddata/sdk-model';
|
|
255
257
|
import { IWidgetAlert } from '@gooddata/sdk-model';
|
|
@@ -2193,6 +2195,11 @@ export declare type CustomDashboardLayoutComponent = ComponentType<IDashboardLay
|
|
|
2193
2195
|
*/
|
|
2194
2196
|
export declare type CustomDashboardRichTextComponent = ComponentType<IDashboardRichTextProps>;
|
|
2195
2197
|
|
|
2198
|
+
/**
|
|
2199
|
+
* @public
|
|
2200
|
+
*/
|
|
2201
|
+
export declare type CustomDashboardVisualizationSwitcherComponent = ComponentType<IDashboardVisualizationSwitcherProps>;
|
|
2202
|
+
|
|
2196
2203
|
/**
|
|
2197
2204
|
* @public
|
|
2198
2205
|
*/
|
|
@@ -6003,6 +6010,18 @@ export declare const DefaultDashboardToolbarButton: React_2.FC<IDefaultDashboard
|
|
|
6003
6010
|
*/
|
|
6004
6011
|
export declare const DefaultDashboardToolbarGroup: React_2.FC<IDefaultDashboardToolbarGroupProps>;
|
|
6005
6012
|
|
|
6013
|
+
/**
|
|
6014
|
+
* Default implementation of the dashboard visualization switcher widget.
|
|
6015
|
+
*
|
|
6016
|
+
* @public
|
|
6017
|
+
*/
|
|
6018
|
+
export declare const DefaultDashboardVisualizationSwitcher: ComponentType<IDashboardVisualizationSwitcherProps_2>;
|
|
6019
|
+
|
|
6020
|
+
/**
|
|
6021
|
+
* @internal
|
|
6022
|
+
*/
|
|
6023
|
+
export declare function DefaultDashboardVisualizationSwitcherComponentSetFactory(visualizationSwitcherComponentProvider: VisualizationSwitcherComponentProvider): VisualizationSwitcherWidgetComponentSet;
|
|
6024
|
+
|
|
6006
6025
|
/**
|
|
6007
6026
|
* @internal
|
|
6008
6027
|
*/
|
|
@@ -6221,18 +6240,18 @@ export declare function dispatchAndWaitFor<TCommand extends DashboardCommands, T
|
|
|
6221
6240
|
* @internal
|
|
6222
6241
|
*/
|
|
6223
6242
|
export declare type DraggableComponent = {
|
|
6224
|
-
dragging: AttributeFilterDraggableComponent | DateFilterDraggableComponent | KpiDraggableComponent | InsightDraggableComponent | RichTextDraggableComponent | CustomDraggableComponent;
|
|
6243
|
+
dragging: AttributeFilterDraggableComponent | DateFilterDraggableComponent | KpiDraggableComponent | InsightDraggableComponent | RichTextDraggableComponent | VisualizationSwitcherDraggableComponent | CustomDraggableComponent;
|
|
6225
6244
|
};
|
|
6226
6245
|
|
|
6227
6246
|
/**
|
|
6228
6247
|
* @internal
|
|
6229
6248
|
*/
|
|
6230
|
-
export declare type DraggableContentItem = AttributeFilterDraggableItem | AttributeFilterPlaceholderDraggableItem | DateFilterDraggableItem | InsightDraggableItem | InsightDraggableListItem | InsightPlaceholderDraggableItem | KpiDraggableItem | KpiPlaceholderDraggableItem | RichTextDraggableItem | RichTextDraggableListItem | CustomWidgetDraggableItem | CustomDraggableItem;
|
|
6249
|
+
export declare type DraggableContentItem = AttributeFilterDraggableItem | AttributeFilterPlaceholderDraggableItem | DateFilterDraggableItem | InsightDraggableItem | InsightDraggableListItem | InsightPlaceholderDraggableItem | KpiDraggableItem | KpiPlaceholderDraggableItem | RichTextDraggableItem | RichTextDraggableListItem | VisualizationSwitcherDraggableItem | VisualizationSwitcherDraggableListItem | CustomWidgetDraggableItem | CustomDraggableItem;
|
|
6231
6250
|
|
|
6232
6251
|
/**
|
|
6233
6252
|
* @internal
|
|
6234
6253
|
*/
|
|
6235
|
-
export declare type DraggableContentItemType = "attributeFilter" | "dateFilter" | "attributeFilter-placeholder" | "insightListItem" | "insight" | "insight-placeholder" | "kpi" | "kpi-placeholder" | "richText" | "richTextListItem" | "custom";
|
|
6254
|
+
export declare type DraggableContentItemType = "attributeFilter" | "dateFilter" | "attributeFilter-placeholder" | "insightListItem" | "insight" | "insight-placeholder" | "kpi" | "kpi-placeholder" | "richText" | "richTextListItem" | "visualizationSwitcher" | "visualizationSwitcherListItem" | "custom";
|
|
6236
6255
|
|
|
6237
6256
|
/**
|
|
6238
6257
|
* @internal
|
|
@@ -6268,6 +6287,8 @@ export declare type DraggableItemComponentTypeMapping = {
|
|
|
6268
6287
|
"kpi-placeholder": KpiPlaceholderDraggableItem;
|
|
6269
6288
|
richText: RichTextDraggableItem;
|
|
6270
6289
|
richTextListItem: RichTextDraggableListItem;
|
|
6290
|
+
visualizationSwitcher: VisualizationSwitcherDraggableItem;
|
|
6291
|
+
visualizationSwitcherListItem: VisualizationSwitcherDraggableListItem;
|
|
6271
6292
|
custom: CustomDraggableItem;
|
|
6272
6293
|
};
|
|
6273
6294
|
|
|
@@ -6292,7 +6313,7 @@ export declare type DraggableItemTypeMapping = DraggableItemComponentTypeMapping
|
|
|
6292
6313
|
/**
|
|
6293
6314
|
* @internal
|
|
6294
6315
|
*/
|
|
6295
|
-
export declare type DraggableLayoutItem = InsightDraggableItem | KpiDraggableItem | RichTextDraggableItem | CustomWidgetDraggableItem;
|
|
6316
|
+
export declare type DraggableLayoutItem = InsightDraggableItem | KpiDraggableItem | RichTextDraggableItem | VisualizationSwitcherDraggableItem | CustomWidgetDraggableItem;
|
|
6296
6317
|
|
|
6297
6318
|
/**
|
|
6298
6319
|
* @internal
|
|
@@ -8070,6 +8091,18 @@ export declare interface IDashboardCustomComponentProps {
|
|
|
8070
8091
|
* @public
|
|
8071
8092
|
*/
|
|
8072
8093
|
RichTextComponentProvider?: OptionalRichTextComponentProvider;
|
|
8094
|
+
/**
|
|
8095
|
+
* Specify function to obtain custom component to use for rendering a visualization switcher.
|
|
8096
|
+
*
|
|
8097
|
+
* @remarks
|
|
8098
|
+
* - If not provided, the default implementation {@link DefaultDashboardVisualizationSwitcher} will be used.
|
|
8099
|
+
* - If factory function is provided and it returns undefined, then the default implementation {@link DefaultDashboardVisualizationSwitcher}.
|
|
8100
|
+
* This is useful if you want to customize just one particular visualization switcher and keep default rendering for
|
|
8101
|
+
* the other visualization switchers.
|
|
8102
|
+
*
|
|
8103
|
+
* @public
|
|
8104
|
+
*/
|
|
8105
|
+
VisualizationSwitcherComponentProvider?: OptionalVisualizationSwitcherComponentProvider;
|
|
8073
8106
|
/**
|
|
8074
8107
|
* Specify component to use for rendering the scheduled email dialog.
|
|
8075
8108
|
*
|
|
@@ -9280,6 +9313,52 @@ export declare interface IDashboardThemingProps {
|
|
|
9280
9313
|
themeModifier?: (theme: ITheme) => ITheme;
|
|
9281
9314
|
}
|
|
9282
9315
|
|
|
9316
|
+
/**
|
|
9317
|
+
* Visualization switcher widget props.
|
|
9318
|
+
*
|
|
9319
|
+
* @public
|
|
9320
|
+
*/
|
|
9321
|
+
export declare interface IDashboardVisualizationSwitcherProps {
|
|
9322
|
+
/**
|
|
9323
|
+
* Backend to work with.
|
|
9324
|
+
*
|
|
9325
|
+
* @remarks
|
|
9326
|
+
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
9327
|
+
* backend here, then the component MUST be rendered within an existing BackendContext.
|
|
9328
|
+
*
|
|
9329
|
+
* @alpha
|
|
9330
|
+
*/
|
|
9331
|
+
backend?: IAnalyticalBackend;
|
|
9332
|
+
/**
|
|
9333
|
+
* Workspace where the Insight widget exists.
|
|
9334
|
+
*
|
|
9335
|
+
* @remarks
|
|
9336
|
+
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
9337
|
+
* workspace here, then the component MUST be rendered within an existing WorkspaceContext.
|
|
9338
|
+
*
|
|
9339
|
+
* @alpha
|
|
9340
|
+
*/
|
|
9341
|
+
workspace?: string;
|
|
9342
|
+
/**
|
|
9343
|
+
* Definition of insight widget to render.
|
|
9344
|
+
*
|
|
9345
|
+
* @public
|
|
9346
|
+
*/
|
|
9347
|
+
widget: IVisualizationSwitcherWidget;
|
|
9348
|
+
/**
|
|
9349
|
+
* Height of the visualization switcher widget container.
|
|
9350
|
+
*
|
|
9351
|
+
* @alpha
|
|
9352
|
+
*/
|
|
9353
|
+
clientHeight?: number;
|
|
9354
|
+
/**
|
|
9355
|
+
* Width of the visualization switcher widget container.
|
|
9356
|
+
*
|
|
9357
|
+
* @alpha
|
|
9358
|
+
*/
|
|
9359
|
+
clientWidth?: number;
|
|
9360
|
+
}
|
|
9361
|
+
|
|
9283
9362
|
/**
|
|
9284
9363
|
* Set of functions you can use to customize custom widgets.
|
|
9285
9364
|
*
|
|
@@ -11847,6 +11926,13 @@ export declare interface ISidebarProps {
|
|
|
11847
11926
|
* @internal
|
|
11848
11927
|
*/
|
|
11849
11928
|
RichTextWidgetComponentSet?: RichTextWidgetComponentSet;
|
|
11929
|
+
/**
|
|
11930
|
+
* Visualization switcher widget component set.
|
|
11931
|
+
* Do not set or override this property, it's injected by the Dashboard.
|
|
11932
|
+
*
|
|
11933
|
+
* @internal
|
|
11934
|
+
*/
|
|
11935
|
+
VisualizationSwitcherWidgetComponentSet?: VisualizationSwitcherWidgetComponentSet;
|
|
11850
11936
|
/**
|
|
11851
11937
|
* Component, that renders delete drop zone.
|
|
11852
11938
|
* Do not set or override this property, it's injected by the Dashboard.
|
|
@@ -11940,6 +12026,16 @@ export declare function isRichTextDraggableListItem(item: any): item is RichText
|
|
|
11940
12026
|
*/
|
|
11941
12027
|
export declare function isTemporaryIdentity(obj: IDashboardObjectIdentity): boolean;
|
|
11942
12028
|
|
|
12029
|
+
/**
|
|
12030
|
+
* @internal
|
|
12031
|
+
*/
|
|
12032
|
+
export declare function isVisualizationSwitcherDraggableItem(item: any): item is VisualizationSwitcherDraggableItem;
|
|
12033
|
+
|
|
12034
|
+
/**
|
|
12035
|
+
* @internal
|
|
12036
|
+
*/
|
|
12037
|
+
export declare function isVisualizationSwitcherDraggableListItem(item: any): item is VisualizationSwitcherDraggableListItem;
|
|
12038
|
+
|
|
11943
12039
|
/**
|
|
11944
12040
|
* @alpha
|
|
11945
12041
|
*/
|
|
@@ -12059,6 +12155,14 @@ export declare interface IUseWidgetSelectionResult {
|
|
|
12059
12155
|
hasConfigPanelOpen: boolean;
|
|
12060
12156
|
}
|
|
12061
12157
|
|
|
12158
|
+
/**
|
|
12159
|
+
* @internal
|
|
12160
|
+
*/
|
|
12161
|
+
export declare type IVisualizationSwitcherDraggingComponentProps = {
|
|
12162
|
+
itemType: "visualizationSwitcher";
|
|
12163
|
+
item: VisualizationSwitcherDraggableItem;
|
|
12164
|
+
};
|
|
12165
|
+
|
|
12062
12166
|
/**
|
|
12063
12167
|
* @internal
|
|
12064
12168
|
*/
|
|
@@ -13033,6 +13137,11 @@ export declare type OptionalProvider<T> = T extends (...args: infer TArgs) => in
|
|
|
13033
13137
|
*/
|
|
13034
13138
|
export declare type OptionalRichTextComponentProvider = OptionalProvider<RichTextComponentProvider>;
|
|
13035
13139
|
|
|
13140
|
+
/**
|
|
13141
|
+
* @public
|
|
13142
|
+
*/
|
|
13143
|
+
export declare type OptionalVisualizationSwitcherComponentProvider = OptionalProvider<VisualizationSwitcherComponentProvider>;
|
|
13144
|
+
|
|
13036
13145
|
/**
|
|
13037
13146
|
* @public
|
|
13038
13147
|
*/
|
|
@@ -15944,6 +16053,13 @@ export declare const selectEnableScheduling: DashboardSelector<boolean>;
|
|
|
15944
16053
|
*/
|
|
15945
16054
|
export declare const selectEnableUnavailableItemsVisibility: DashboardSelector<boolean>;
|
|
15946
16055
|
|
|
16056
|
+
/**
|
|
16057
|
+
* Returns whether rich text widgets are enabled.
|
|
16058
|
+
*
|
|
16059
|
+
* @internal
|
|
16060
|
+
*/
|
|
16061
|
+
export declare const selectEnableVisualizationSwitcher: DashboardSelector<boolean>;
|
|
16062
|
+
|
|
15947
16063
|
/**
|
|
15948
16064
|
* Returns whether custom widget heights are enabled
|
|
15949
16065
|
*
|
|
@@ -19019,6 +19135,44 @@ export declare function useWidgetSelection(widgetRef?: ObjRef): IUseWidgetSelect
|
|
|
19019
19135
|
*/
|
|
19020
19136
|
export declare type ValuesLimitingItem = IDashboardAttributeFilterParentItem | ObjRef | IDashboardDependentDateFilter;
|
|
19021
19137
|
|
|
19138
|
+
/**
|
|
19139
|
+
* @public
|
|
19140
|
+
*/
|
|
19141
|
+
export declare type VisualizationSwitcherComponentProvider = (visualizationSwitcher: IVisualizationSwitcherWidget) => CustomDashboardVisualizationSwitcherComponent;
|
|
19142
|
+
|
|
19143
|
+
/**
|
|
19144
|
+
* @internal
|
|
19145
|
+
*/
|
|
19146
|
+
export declare type VisualizationSwitcherDraggableComponent = {
|
|
19147
|
+
DraggingComponent?: VisualizationSwitcherDraggingComponent;
|
|
19148
|
+
type: "visualizationSwitcher";
|
|
19149
|
+
};
|
|
19150
|
+
|
|
19151
|
+
/**
|
|
19152
|
+
* @internal
|
|
19153
|
+
*/
|
|
19154
|
+
export declare type VisualizationSwitcherDraggableItem = BaseDraggableMovingItem & {
|
|
19155
|
+
type: "visualizationSwitcher";
|
|
19156
|
+
};
|
|
19157
|
+
|
|
19158
|
+
/**
|
|
19159
|
+
* @internal
|
|
19160
|
+
*/
|
|
19161
|
+
export declare type VisualizationSwitcherDraggableListItem = BaseDraggableLayoutItem & {
|
|
19162
|
+
type: "visualizationSwitcherListItem";
|
|
19163
|
+
};
|
|
19164
|
+
|
|
19165
|
+
/**
|
|
19166
|
+
* @internal
|
|
19167
|
+
*/
|
|
19168
|
+
export declare type VisualizationSwitcherDraggingComponent = ComponentType<IVisualizationSwitcherDraggingComponentProps>;
|
|
19169
|
+
|
|
19170
|
+
/**
|
|
19171
|
+
* Definition of VisualizationSwitcher widget
|
|
19172
|
+
* @internal
|
|
19173
|
+
*/
|
|
19174
|
+
export declare type VisualizationSwitcherWidgetComponentSet = CustomComponentBase<IDashboardVisualizationSwitcherProps, Parameters<VisualizationSwitcherComponentProvider>> & DraggableComponent & Partial<CreatableByDragComponent> & Partial<CreatablePlaceholderComponent<IDashboardWidgetProps>> & ConfigurableWidget<IVisualizationSwitcherWidget>;
|
|
19175
|
+
|
|
19022
19176
|
/**
|
|
19023
19177
|
* Organization webhooks
|
|
19024
19178
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "10.10.0-alpha.
|
|
3
|
+
"version": "10.10.0-alpha.32",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"ts-invariant": "^0.7.5",
|
|
57
57
|
"tslib": "^2.5.0",
|
|
58
58
|
"uuid": "^8.3.2",
|
|
59
|
-
"@gooddata/sdk-backend-base": "10.10.0-alpha.
|
|
60
|
-
"@gooddata/sdk-backend-spi": "10.10.0-alpha.
|
|
61
|
-
"@gooddata/sdk-model": "10.10.0-alpha.
|
|
62
|
-
"@gooddata/sdk-ui": "10.10.0-alpha.
|
|
63
|
-
"@gooddata/sdk-ui-filters": "10.10.0-alpha.
|
|
64
|
-
"@gooddata/sdk-ui-ext": "10.10.0-alpha.
|
|
65
|
-
"@gooddata/sdk-ui-geo": "10.10.0-alpha.
|
|
66
|
-
"@gooddata/sdk-ui-
|
|
67
|
-
"@gooddata/
|
|
68
|
-
"@gooddata/sdk-ui-vis-commons": "10.10.0-alpha.
|
|
69
|
-
"@gooddata/
|
|
59
|
+
"@gooddata/sdk-backend-base": "10.10.0-alpha.32",
|
|
60
|
+
"@gooddata/sdk-backend-spi": "10.10.0-alpha.32",
|
|
61
|
+
"@gooddata/sdk-model": "10.10.0-alpha.32",
|
|
62
|
+
"@gooddata/sdk-ui": "10.10.0-alpha.32",
|
|
63
|
+
"@gooddata/sdk-ui-filters": "10.10.0-alpha.32",
|
|
64
|
+
"@gooddata/sdk-ui-ext": "10.10.0-alpha.32",
|
|
65
|
+
"@gooddata/sdk-ui-geo": "10.10.0-alpha.32",
|
|
66
|
+
"@gooddata/sdk-ui-kit": "10.10.0-alpha.32",
|
|
67
|
+
"@gooddata/util": "10.10.0-alpha.32",
|
|
68
|
+
"@gooddata/sdk-ui-vis-commons": "10.10.0-alpha.32",
|
|
69
|
+
"@gooddata/sdk-ui-theme-provider": "10.10.0-alpha.32"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
"typescript": "5.3.3",
|
|
120
120
|
"vitest": "1.0.4",
|
|
121
121
|
"vitest-dom": "0.1.1",
|
|
122
|
-
"@gooddata/i18n-toolkit": "10.10.0-alpha.
|
|
123
|
-
"@gooddata/sdk-backend-mockingbird": "10.10.0-alpha.
|
|
124
|
-
"@gooddata/reference-workspace": "10.10.0-alpha.
|
|
122
|
+
"@gooddata/i18n-toolkit": "10.10.0-alpha.32",
|
|
123
|
+
"@gooddata/sdk-backend-mockingbird": "10.10.0-alpha.32",
|
|
124
|
+
"@gooddata/reference-workspace": "10.10.0-alpha.32"
|
|
125
125
|
},
|
|
126
126
|
"scripts": {
|
|
127
127
|
"clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
|
package/styles/css/alerting.css
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
justify-content: center;
|
|
111
111
|
flex-shrink: 0;
|
|
112
112
|
}
|
|
113
|
+
.gd-alerts-list-item__icon.gd-alerts-list-item__icon-invalid {
|
|
114
|
+
background-color: var(--gd-palette-error-dimmed, #fcedec);
|
|
115
|
+
}
|
|
113
116
|
|
|
114
117
|
.gd-alerts-list-item__details {
|
|
115
118
|
margin-left: 10px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../node_modules/react-loading-skeleton/dist/skeleton.css","../scss/alerting.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AAAA;EACE;IACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAMA;EAEA;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AC3CJ;EACI;;;AAGJ;EACI;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;AAAA;AAAA;AAAA;;;AAOR;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;;;AAQZ;EACI;EACA;EACA;EACA;;AAEA;EACI,kBC6CgB;;;ADzCxB;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI,kBCgCoB;ED/BpB;EACA;EACA;EACA;EACA;EACA;EACA;;;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../node_modules/react-loading-skeleton/dist/skeleton.css","../scss/alerting.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AAAA;EACE;IACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAMA;EAEA;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AC3CJ;EACI;;;AAGJ;EACI;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;AAAA;AAAA;AAAA;;;AAOR;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;;;AAQZ;EACI;EACA;EACA;EACA;;AAEA;EACI,kBC6CgB;;;ADzCxB;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI,kBCgCoB;ED/BpB;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI,kBC3BkB;;;AD+B1B;EACI;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA,OCzEY;ED0EZ;;;AAGJ;EACI;EACA;EACA,OCvFmB;EDwFnB;EACA;;;AAMJ;EACI;EACA;EACA,OC3FY;ED4FZ;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;AAEA;AAOA;;AANA;AAAA;EAEI;EACA;;AAIJ;EACI;EACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI,OC5ImB;;;ADkJvB;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAMJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;AAEA;EACI;;;AAOR;EACI;;;AAGJ;EACI;;;AAMJ;EACI;;;AAKJ;EACI;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;;;AAOR;EACI;;;AAMJ;EACI;EACA;EACA;;AAEA;EAEI,kBC5Ie;;AD+InB;EACI;EACA;EACA;EACA;EACA;;;AAKJ;EACI,OCzRY;ED0RZ,kBCzOkB","file":"alerting.css"}
|
package/styles/css/dashboard.css
CHANGED
|
@@ -1325,6 +1325,9 @@
|
|
|
1325
1325
|
border-radius: 100px;
|
|
1326
1326
|
flex-shrink: 0;
|
|
1327
1327
|
}
|
|
1328
|
+
.gd-notifications-channels-management-dialog .gd-notifications-channel-icon.gd-notifications-channel-icon-invalid {
|
|
1329
|
+
background-color: var(--gd-palette-error-dimmed, #fcedec);
|
|
1330
|
+
}
|
|
1328
1331
|
.gd-notifications-channels-management-dialog .gd-notifications-channel-content {
|
|
1329
1332
|
display: flex;
|
|
1330
1333
|
flex: 1;
|