@gooddata/sdk-ui-dashboard 10.9.0-alpha.24 → 10.9.0-alpha.26
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/assets/ellipsis-hover.svg +1 -0
- package/esm/assets/ellipsis.svg +1 -0
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +9 -0
- package/esm/locales.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.d.ts +2 -2
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.js +4 -4
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +5 -5
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/refreshAutomationsHandlers.js +3 -3
- package/esm/model/commandHandlers/scheduledEmail/refreshAutomationsHandlers.js.map +1 -1
- package/esm/model/react/index.d.ts +1 -0
- package/esm/model/react/index.d.ts.map +1 -1
- package/esm/model/react/index.js +1 -0
- package/esm/model/react/index.js.map +1 -1
- package/esm/model/react/useDashboardAlerts.d.ts +35 -0
- package/esm/model/react/useDashboardAlerts.d.ts.map +1 -0
- package/esm/model/react/useDashboardAlerts.js +168 -0
- package/esm/model/react/useDashboardAlerts.js.map +1 -0
- package/esm/model/react/useDashboardScheduledEmails.d.ts +1 -1
- package/esm/model/react/useDashboardScheduledEmails.js +1 -1
- package/esm/model/react/useDashboardScheduledEmails.js.map +1 -1
- package/esm/model/store/automations/automationsReducers.d.ts +3 -2
- package/esm/model/store/automations/automationsReducers.d.ts.map +1 -1
- package/esm/model/store/automations/automationsReducers.js +2 -2
- package/esm/model/store/automations/automationsReducers.js.map +1 -1
- package/esm/model/store/automations/automationsSelectors.d.ts +31 -0
- package/esm/model/store/automations/automationsSelectors.d.ts.map +1 -1
- package/esm/model/store/automations/automationsSelectors.js +43 -1
- package/esm/model/store/automations/automationsSelectors.js.map +1 -1
- package/esm/model/store/automations/automationsState.d.ts +2 -1
- package/esm/model/store/automations/automationsState.d.ts.map +1 -1
- package/esm/model/store/automations/automationsState.js +1 -1
- package/esm/model/store/automations/automationsState.js.map +1 -1
- package/esm/model/store/automations/index.d.ts +2 -2
- package/esm/model/store/config/configSelectors.d.ts +4 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +6 -0
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/index.d.ts +3 -3
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +3 -3
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/ui/index.d.ts +10 -0
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +10 -0
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +16 -0
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +8 -0
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +8 -0
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/model/store/ui/uiState.d.ts +6 -0
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +6 -0
- package/esm/model/store/ui/uiState.js.map +1 -1
- package/esm/presentation/alerting/AlertingDialog.d.ts +7 -0
- package/esm/presentation/alerting/AlertingDialog.d.ts.map +1 -0
- package/esm/presentation/alerting/AlertingDialog.js +11 -0
- package/esm/presentation/alerting/AlertingDialog.js.map +1 -0
- package/esm/presentation/alerting/AlertingManagementDialog.d.ts +7 -0
- package/esm/presentation/alerting/AlertingManagementDialog.d.ts.map +1 -0
- package/esm/presentation/alerting/AlertingManagementDialog.js +11 -0
- package/esm/presentation/alerting/AlertingManagementDialog.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +7 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +36 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/index.d.ts +2 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/index.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/index.js +3 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/index.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.d.ts +4 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.js +31 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.d.ts +2 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.js +5 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.d.ts +7 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.js +59 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts +12 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js +81 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts +4 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js +51 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.d.ts +14 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.js +21 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts +12 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js +29 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts +12 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +40 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.d.ts +2 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.js +3 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.js.map +1 -0
- package/esm/presentation/alerting/index.d.ts +6 -0
- package/esm/presentation/alerting/index.d.ts.map +1 -0
- package/esm/presentation/alerting/index.js +6 -0
- package/esm/presentation/alerting/index.js.map +1 -0
- package/esm/presentation/alerting/types.d.ts +107 -0
- package/esm/presentation/alerting/types.d.ts.map +1 -0
- package/esm/presentation/alerting/types.js +2 -0
- package/esm/presentation/alerting/types.js.map +1 -0
- package/esm/presentation/constants/zIndex.d.ts +1 -0
- package/esm/presentation/constants/zIndex.d.ts.map +1 -1
- package/esm/presentation/constants/zIndex.js +3 -1
- package/esm/presentation/constants/zIndex.js.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.d.ts +3 -0
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.d.ts.map +1 -0
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.js +14 -0
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.js.map +1 -0
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js +3 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +3 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
- package/esm/presentation/dashboard/types.d.ts +13 -0
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +3 -0
- 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/index.d.ts +1 -0
- package/esm/presentation/index.d.ts.map +1 -1
- package/esm/presentation/index.js +2 -1
- package/esm/presentation/index.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +130 -0
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +16 -2
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +2 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +3 -4
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
- package/esm/presentation/widget/common/useWidgetFilters.d.ts +1 -1
- package/esm/presentation/widget/common/useWidgetFilters.d.ts.map +1 -1
- package/esm/presentation/widget/common/useWidgetFilters.js +1 -1
- package/esm/presentation/widget/common/useWidgetFilters.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.js +4 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js +5 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +2 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +1 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts +5 -8
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js +7 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/{useCreateAlert.d.ts → hooks/useCreateAlert.d.ts} +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useCreateAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/{useCreateAlert.js → hooks/useCreateAlert.js} +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useCreateAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/{useEditAlert.js → hooks/useEditAlert.js} +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/{useInsightAlerting.d.ts → hooks/useInsightAlerting.d.ts} +3 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/{useInsightAlerting.js → hooks/useInsightAlerting.js} +97 -73
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts +18 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js +40 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/{useUpdateAlert.d.ts → hooks/useUpdateAlert.d.ts} +7 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/{useUpdateAlert.js → hooks/useUpdateAlert.js} +7 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts +6 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js +6 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +3 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js +7 -3
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
- package/esm/presentation/widget/insight/index.d.ts +1 -0
- package/esm/presentation/widget/insight/index.d.ts.map +1 -1
- package/esm/presentation/widget/insight/index.js +2 -1
- package/esm/presentation/widget/insight/index.js.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +248 -4
- package/esm/types.d.ts +4 -0
- package/esm/types.d.ts.map +1 -1
- package/package.json +15 -15
- package/styles/css/dashboard.css +54 -4
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/main.css +54 -4
- package/styles/css/main.css.map +1 -1
- package/styles/css/scheduled_mail.css +54 -4
- package/styles/css/scheduled_mail.css.map +1 -1
- package/styles/scss/scheduled_mail.scss +62 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useCreateAlert.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useCreateAlert.js.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.js.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.js.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useUpdateAlert.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useUpdateAlert.js.map +0 -1
- /package/esm/presentation/widget/insight/configuration/InsightAlertConfig/{useEditAlert.d.ts → hooks/useEditAlert.d.ts} +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
// (C) 2022-2024 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { isInsightWidget, objRefToString } from "@gooddata/sdk-model";
|
|
4
|
-
import { ScrollablePanel, OverlayControllerProvider, OverlayController } from "@gooddata/sdk-ui-kit";
|
|
4
|
+
import { ScrollablePanel, OverlayControllerProvider, OverlayController, LoadingMask, } from "@gooddata/sdk-ui-kit";
|
|
5
5
|
import { stringUtils } from "@gooddata/util";
|
|
6
6
|
import cx from "classnames";
|
|
7
7
|
import { DASHBOARD_HEADER_OVERLAYS_Z_INDEX } from "../../../constants/index.js";
|
|
8
8
|
import { AlertsList } from "./InsightAlertConfig/AlertsList.js";
|
|
9
9
|
import { EditAlert } from "./InsightAlertConfig/EditAlert.js";
|
|
10
|
-
import { useInsightWidgetAlerting } from "./InsightAlertConfig/useInsightAlerting.js";
|
|
10
|
+
import { useInsightWidgetAlerting } from "./InsightAlertConfig/hooks/useInsightAlerting.js";
|
|
11
11
|
import { CreateAlert } from "./InsightAlertConfig/CreateAlert.js";
|
|
12
|
+
import { LOADING_MASK_HEIGHT } from "./InsightAlertConfig/constants.js";
|
|
12
13
|
const overlayController = OverlayController.getInstance(DASHBOARD_HEADER_OVERLAYS_Z_INDEX);
|
|
13
14
|
export const InsightAlerts = ({ widget, onClose, onGoBack }) => {
|
|
14
15
|
const widgetRefSuffix = isInsightWidget(widget)
|
|
@@ -22,6 +23,9 @@ export const InsightAlerts = ({ widget, onClose, onGoBack }) => {
|
|
|
22
23
|
editingAlert, initiateAlertEditing, cancelAlertEditing,
|
|
23
24
|
//
|
|
24
25
|
saveNewAlert, updateExistingAlert, pauseExistingAlert, resumeExistingAlert, deleteExistingAlert, } = useInsightWidgetAlerting({ closeInsightWidgetMenu: onClose, widget });
|
|
26
|
+
if (isLoading) {
|
|
27
|
+
return React.createElement(LoadingMask, { height: LOADING_MASK_HEIGHT });
|
|
28
|
+
}
|
|
25
29
|
let content = null;
|
|
26
30
|
if (viewMode === "list") {
|
|
27
31
|
content = (React.createElement(AlertsList, { alerts: alerts, onCreateAlert: initiateAlertCreation, onEditAlert: initiateAlertEditing, onPauseAlert: pauseExistingAlert, onResumeAlert: resumeExistingAlert, onDeleteAlert: deleteExistingAlert, onClose: onClose, onGoBack: onGoBack, maxAutomationsReached: maxAutomationsReached }));
|
|
@@ -30,7 +34,7 @@ export const InsightAlerts = ({ widget, onClose, onGoBack }) => {
|
|
|
30
34
|
content = (React.createElement(EditAlert, { alert: editingAlert, hasAlerts: hasAlerts, destinations: destinations, measures: supportedMeasures, onUpdate: updateExistingAlert, onCancel: cancelAlertEditing, onClose: onClose }));
|
|
31
35
|
}
|
|
32
36
|
else if (viewMode === "create") {
|
|
33
|
-
content = (React.createElement(CreateAlert, {
|
|
37
|
+
content = (React.createElement(CreateAlert, { alert: creatingAlert, measures: supportedMeasures, hasAlerts: hasAlerts, destinations: destinations, onCreate: saveNewAlert, onCancel: cancelAlertCreation, onClose: onClose, maxAutomationsReached: maxAutomationsReached }));
|
|
34
38
|
}
|
|
35
39
|
return (React.createElement(ScrollablePanel, { className: classes },
|
|
36
40
|
React.createElement(OverlayControllerProvider, { overlayController: overlayController }, content)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightAlerts.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/insight/configuration/InsightAlerts.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,
|
|
1
|
+
{"version":3,"file":"InsightAlerts.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/insight/configuration/InsightAlerts.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACH,eAAe,EACf,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;A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CAAC;QACtB,OAAO,GAAG,CACN,oBAAC,UAAU,IACP,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,qBAAqB,EACpC,WAAW,EAAE,oBAAoB,EACjC,YAAY,EAAE,kBAAkB,EAChC,aAAa,EAAE,mBAAmB,EAClC,aAAa,EAAE,mBAAmB,EAClC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,qBAAqB,EAAE,qBAAqB,GAC9C,CACL,CAAC;IACN,CAAC;SAAM,IAAI,QAAQ,KAAK,MAAM,IAAI,YAAY,EAAE,CAAC;QAC7C,OAAO,GAAG,CACN,oBAAC,SAAS,IACN,KAAK,EAAE,YAAY,EACnB,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,iBAAiB,EAC3B,QAAQ,EAAE,mBAAmB,EAC7B,QAAQ,EAAE,kBAAkB,EAC5B,OAAO,EAAE,OAAO,GAClB,CACL,CAAC;IACN,CAAC;SAAM,IAAI,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC/B,OAAO,GAAG,CACN,oBAAC,WAAW,IACR,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,iBAAiB,EAC3B,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,mBAAmB,EAC7B,OAAO,EAAE,OAAO,EAChB,qBAAqB,EAAE,qBAAqB,GAC9C,CACL,CAAC;IACN,CAAC;IAED,OAAO,CACH,oBAAC,eAAe,IAAC,SAAS,EAAE,OAAO;QAE/B,oBAAC,yBAAyB,IAAC,iBAAiB,EAAE,iBAAiB,IAC1D,OAAO,CACgB,CACd,CACrB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -2,5 +2,6 @@ export * from "./DefaultInsightBody/index.js";
|
|
|
2
2
|
export { DashboardInsight } from "./DashboardInsight.js";
|
|
3
3
|
export { DefaultDashboardInsight } from "./DefaultDashboardInsight.js";
|
|
4
4
|
export { DefaultDashboardInsightComponentSetFactory } from "./DefaultDashboardInsightComponentSetFactory.js";
|
|
5
|
+
export { useUpdateAlert } from "./configuration/InsightAlertConfig/hooks/useUpdateAlert.js";
|
|
5
6
|
export { IDashboardInsightProps, CustomDashboardInsightComponent, IInsightBodyProps, CustomInsightBodyComponent, } from "./types.js";
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/index.ts"],"names":[],"mappings":"AAEA,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,0CAA0C,EAAE,MAAM,iDAAiD,CAAC;AAC7G,OAAO,EAAE,cAAc,EAAE,MAAM,4DAA4D,CAAC;AAC5F,OAAO,EACH,sBAAsB,EACtB,+BAA+B,EAC/B,iBAAiB,EACjB,0BAA0B,GAC7B,MAAM,YAAY,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
// (C) 2020-
|
|
1
|
+
// (C) 2020-2024 GoodData Corporation
|
|
2
2
|
export * from "./DefaultInsightBody/index.js";
|
|
3
3
|
export { DashboardInsight } from "./DashboardInsight.js";
|
|
4
4
|
export { DefaultDashboardInsight } from "./DefaultDashboardInsight.js";
|
|
5
5
|
export { DefaultDashboardInsightComponentSetFactory } from "./DefaultDashboardInsightComponentSetFactory.js";
|
|
6
|
+
export { useUpdateAlert } from "./configuration/InsightAlertConfig/hooks/useUpdateAlert.js";
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,0CAA0C,EAAE,MAAM,iDAAiD,CAAC;AAC7G,OAAO,EAAE,cAAc,EAAE,MAAM,4DAA4D,CAAC"}
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
import { AccessGranularPermission } from '@gooddata/sdk-model';
|
|
15
15
|
import { Action } from '@reduxjs/toolkit';
|
|
16
16
|
import { AnyAction } from '@reduxjs/toolkit';
|
|
17
|
-
import { Automations as Automations_2 } from '../index.js';
|
|
18
17
|
import { CaseReducer } from '@reduxjs/toolkit';
|
|
19
18
|
import { CaseReducerActions } from '@reduxjs/toolkit';
|
|
20
19
|
import { CatalogState as CatalogState_2 } from './catalogState.js';
|
|
@@ -653,6 +652,16 @@ export declare interface AddSectionItemsPayload {
|
|
|
653
652
|
readonly autoResolveDateFilterDataset?: boolean;
|
|
654
653
|
}
|
|
655
654
|
|
|
655
|
+
/**
|
|
656
|
+
* @internal
|
|
657
|
+
*/
|
|
658
|
+
export declare const AlertingDialog: (props: IAlertingDialogProps) => JSX.Element;
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* @internal
|
|
662
|
+
*/
|
|
663
|
+
export declare const AlertingManagementDialog: (props: IAlertingManagementDialogProps) => JSX.Element;
|
|
664
|
+
|
|
656
665
|
/**
|
|
657
666
|
* @internal
|
|
658
667
|
*/
|
|
@@ -870,7 +879,7 @@ export declare type Automations = IAutomationMetadataObject[];
|
|
|
870
879
|
*/
|
|
871
880
|
export declare interface AutomationsState {
|
|
872
881
|
fingerprint: string;
|
|
873
|
-
automations:
|
|
882
|
+
automations: IAutomationMetadataObject[];
|
|
874
883
|
loading: boolean;
|
|
875
884
|
error?: GoodDataSdkError;
|
|
876
885
|
}
|
|
@@ -2076,6 +2085,16 @@ export declare interface CrossFilteringPayload {
|
|
|
2076
2085
|
readonly drillEvent: IDashboardDrillEvent;
|
|
2077
2086
|
}
|
|
2078
2087
|
|
|
2088
|
+
/**
|
|
2089
|
+
* @alpha
|
|
2090
|
+
*/
|
|
2091
|
+
export declare type CustomAlertingDialogComponent = ComponentType<IAlertingDialogProps>;
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* @alpha
|
|
2095
|
+
*/
|
|
2096
|
+
export declare type CustomAlertingManagementDialogComponent = ComponentType<IAlertingManagementDialogProps>;
|
|
2097
|
+
|
|
2079
2098
|
/**
|
|
2080
2099
|
* @beta
|
|
2081
2100
|
*/
|
|
@@ -5840,6 +5859,16 @@ export declare type DateFilterValidationResult = "TOO_MANY_CONFIGS" | "NO_CONFIG
|
|
|
5840
5859
|
*/
|
|
5841
5860
|
export declare const DEFAULT_MAX_AUTOMATIONS = "10";
|
|
5842
5861
|
|
|
5862
|
+
/**
|
|
5863
|
+
* @alpha
|
|
5864
|
+
*/
|
|
5865
|
+
export declare const DefaultAlertingDialog: React_2.FC<IAlertingDialogProps>;
|
|
5866
|
+
|
|
5867
|
+
/**
|
|
5868
|
+
* @alpha
|
|
5869
|
+
*/
|
|
5870
|
+
export declare const DefaultAlertingManagementDialog: React_2.FC<IAlertingManagementDialogProps>;
|
|
5871
|
+
|
|
5843
5872
|
/**
|
|
5844
5873
|
* @alpha
|
|
5845
5874
|
*/
|
|
@@ -7287,6 +7316,91 @@ export declare interface IAddAttributeFilterButtonProps {
|
|
|
7287
7316
|
title?: string;
|
|
7288
7317
|
}
|
|
7289
7318
|
|
|
7319
|
+
/**
|
|
7320
|
+
* @alpha
|
|
7321
|
+
*/
|
|
7322
|
+
export declare interface IAlertingDialogProps {
|
|
7323
|
+
/**
|
|
7324
|
+
* Is alerting e-mail dialog visible?
|
|
7325
|
+
*/
|
|
7326
|
+
isVisible?: boolean;
|
|
7327
|
+
/**
|
|
7328
|
+
* Callback to be called, when user save the existing alert.
|
|
7329
|
+
*/
|
|
7330
|
+
onUpdate?: (alertingDefinition: IAutomationMetadataObject) => void;
|
|
7331
|
+
/**
|
|
7332
|
+
* Callback to be called, when user closes the alerting dialog.
|
|
7333
|
+
*/
|
|
7334
|
+
onCancel?: () => void;
|
|
7335
|
+
/**
|
|
7336
|
+
* Alert to be edited in the dialog.
|
|
7337
|
+
*/
|
|
7338
|
+
editAlert?: IAutomationMetadataObject;
|
|
7339
|
+
/**
|
|
7340
|
+
* Widget to be edited in the dialog.
|
|
7341
|
+
*/
|
|
7342
|
+
editWidget?: IInsightWidget;
|
|
7343
|
+
/**
|
|
7344
|
+
* Anchor element for the dialog.
|
|
7345
|
+
*/
|
|
7346
|
+
anchorEl?: HTMLElement | null;
|
|
7347
|
+
}
|
|
7348
|
+
|
|
7349
|
+
/**
|
|
7350
|
+
* @alpha
|
|
7351
|
+
*/
|
|
7352
|
+
export declare interface IAlertingManagementDialogProps {
|
|
7353
|
+
/**
|
|
7354
|
+
* Is alerting management dialog visible?
|
|
7355
|
+
*/
|
|
7356
|
+
isVisible?: boolean;
|
|
7357
|
+
/**
|
|
7358
|
+
* Callback to be called, when user clicks alert item for editing.
|
|
7359
|
+
*/
|
|
7360
|
+
onEdit?: (alertingDefinition: IAutomationMetadataObject, widget: IInsightWidget | undefined, anchor: HTMLElement | null, onClosed: () => void) => void;
|
|
7361
|
+
/**
|
|
7362
|
+
* Callback to be called, when user closes the alert management dialog.
|
|
7363
|
+
*/
|
|
7364
|
+
onClose?: () => void;
|
|
7365
|
+
/**
|
|
7366
|
+
* Is loading alert data?
|
|
7367
|
+
*/
|
|
7368
|
+
isLoadingAlertingData: boolean;
|
|
7369
|
+
/**
|
|
7370
|
+
* Error occurred while loading alert data?
|
|
7371
|
+
*/
|
|
7372
|
+
alertingDataError?: GoodDataSdkError;
|
|
7373
|
+
/**
|
|
7374
|
+
* Webhooks in organization
|
|
7375
|
+
*/
|
|
7376
|
+
webhooks: IWebhookDefinitionObject[];
|
|
7377
|
+
/**
|
|
7378
|
+
* Automations in workspace
|
|
7379
|
+
*/
|
|
7380
|
+
automations: IAutomationMetadataObject[];
|
|
7381
|
+
/**
|
|
7382
|
+
* Callback to be called, when alert is deleted.
|
|
7383
|
+
* @param alert - alert that was deleted
|
|
7384
|
+
*/
|
|
7385
|
+
onDeleteSuccess?: (alert: IAutomationMetadataObject) => void;
|
|
7386
|
+
/**
|
|
7387
|
+
* Callback to be called, when alert fails to delete.
|
|
7388
|
+
*/
|
|
7389
|
+
onDeleteError?: (error: GoodDataSdkError) => void;
|
|
7390
|
+
/**
|
|
7391
|
+
* Callback to be called, when alert is paused.
|
|
7392
|
+
* @param alert - alert that was paused
|
|
7393
|
+
* @param pause - true if alert was paused, false if it was resumed
|
|
7394
|
+
*/
|
|
7395
|
+
onPauseSuccess: (alert: IAutomationMetadataObject, pause: boolean) => void;
|
|
7396
|
+
/**
|
|
7397
|
+
* Callback to be called, when alert fails to pause.
|
|
7398
|
+
* @param error - error that occurred
|
|
7399
|
+
* @param pause - true if alert was paused, false if it was resumed
|
|
7400
|
+
*/
|
|
7401
|
+
onPauseError: (error: GoodDataSdkError, pause: boolean) => void;
|
|
7402
|
+
}
|
|
7403
|
+
|
|
7290
7404
|
/**
|
|
7291
7405
|
* @internal
|
|
7292
7406
|
*/
|
|
@@ -7963,6 +8077,18 @@ export declare interface IDashboardCustomComponentProps {
|
|
|
7963
8077
|
* @alpha
|
|
7964
8078
|
*/
|
|
7965
8079
|
ScheduledEmailManagementDialogComponent?: CustomScheduledEmailManagementDialogComponent;
|
|
8080
|
+
/**
|
|
8081
|
+
* Specify component to use for rendering the alerting management dialog.
|
|
8082
|
+
*
|
|
8083
|
+
* @alpha
|
|
8084
|
+
*/
|
|
8085
|
+
AlertingManagementDialogComponent?: CustomAlertingManagementDialogComponent;
|
|
8086
|
+
/**
|
|
8087
|
+
* Specify component to use for rendering the alerting dialog.
|
|
8088
|
+
*
|
|
8089
|
+
* @alpha
|
|
8090
|
+
*/
|
|
8091
|
+
AlertingDialogComponent?: CustomAlertingDialogComponent;
|
|
7966
8092
|
/**
|
|
7967
8093
|
* Specify component to use for rendering the share dialog.
|
|
7968
8094
|
*
|
|
@@ -9989,6 +10115,10 @@ export declare interface IMenuButtonItemsVisibility {
|
|
|
9989
10115
|
* If set to true, the Schedule emailing button will be visible. Defaults to true.
|
|
9990
10116
|
*/
|
|
9991
10117
|
scheduleEmailButton?: boolean;
|
|
10118
|
+
/**
|
|
10119
|
+
* If set to true, the Alerting button will be visible. Defaults to true.
|
|
10120
|
+
*/
|
|
10121
|
+
alertingButton?: boolean;
|
|
9992
10122
|
/**
|
|
9993
10123
|
* If set to true, the Delete button will be visible. Defaults to true.
|
|
9994
10124
|
*/
|
|
@@ -14813,6 +14943,27 @@ export declare const selectAttributesWithDrillDown: DashboardSelector<(ICatalogA
|
|
|
14813
14943
|
*
|
|
14814
14944
|
* @alpha
|
|
14815
14945
|
*/
|
|
14946
|
+
export declare const selectAutomations: DashboardSelector<IAutomationMetadataObject[]>;
|
|
14947
|
+
|
|
14948
|
+
/**
|
|
14949
|
+
* Returns workspace alerts.
|
|
14950
|
+
*
|
|
14951
|
+
* @alpha
|
|
14952
|
+
*/
|
|
14953
|
+
export declare const selectAutomationsAlerts: DashboardSelector<IAutomationMetadataObject[]>;
|
|
14954
|
+
|
|
14955
|
+
/**
|
|
14956
|
+
* Returns workspace alerts for current dashboard and user context.
|
|
14957
|
+
*
|
|
14958
|
+
* @alpha
|
|
14959
|
+
*/
|
|
14960
|
+
export declare const selectAutomationsAlertsInContext: DashboardSelector<IAutomationMetadataObject[]>;
|
|
14961
|
+
|
|
14962
|
+
/**
|
|
14963
|
+
* Returns workspace automations count.
|
|
14964
|
+
*
|
|
14965
|
+
* @alpha
|
|
14966
|
+
*/
|
|
14816
14967
|
export declare const selectAutomationsCount: DashboardSelector<number>;
|
|
14817
14968
|
|
|
14818
14969
|
/**
|
|
@@ -14836,6 +14987,20 @@ export declare const selectAutomationsFingerprint: DashboardSelector<string>;
|
|
|
14836
14987
|
*/
|
|
14837
14988
|
export declare const selectAutomationsIsLoading: DashboardSelector<boolean>;
|
|
14838
14989
|
|
|
14990
|
+
/**
|
|
14991
|
+
* Returns workspace schedules.
|
|
14992
|
+
*
|
|
14993
|
+
* @alpha
|
|
14994
|
+
*/
|
|
14995
|
+
export declare const selectAutomationsSchedules: DashboardSelector<IAutomationMetadataObject[]>;
|
|
14996
|
+
|
|
14997
|
+
/**
|
|
14998
|
+
* Returns workspace schedules for current dashboard and user context.
|
|
14999
|
+
*
|
|
15000
|
+
* @alpha
|
|
15001
|
+
*/
|
|
15002
|
+
export declare const selectAutomationsSchedulesInContext: DashboardSelector<IAutomationMetadataObject[]>;
|
|
15003
|
+
|
|
14839
15004
|
/**
|
|
14840
15005
|
* This selector returns capabilities of the backend with which the dashboard works.
|
|
14841
15006
|
*
|
|
@@ -15549,6 +15714,11 @@ export declare const selectEffectiveDateFiltersModeMap: DashboardSelector<Map<st
|
|
|
15549
15714
|
*/
|
|
15550
15715
|
export declare const selectEffectiveDateFilterTitle: DashboardSelector<string | undefined>;
|
|
15551
15716
|
|
|
15717
|
+
/**
|
|
15718
|
+
* @alpha
|
|
15719
|
+
*/
|
|
15720
|
+
export declare const selectEnableAlerting: DashboardSelector<boolean>;
|
|
15721
|
+
|
|
15552
15722
|
/**
|
|
15553
15723
|
* Returns whether analytical dashboard permissions are enabled
|
|
15554
15724
|
*
|
|
@@ -16073,6 +16243,16 @@ export declare const selectInvalidUrlDrillParameterWidgetRefs: DashboardSelector
|
|
|
16073
16243
|
*/
|
|
16074
16244
|
export declare const selectInvalidUrlDrillParameterWidgetWarnings: DashboardSelector<ObjRef[]>;
|
|
16075
16245
|
|
|
16246
|
+
/**
|
|
16247
|
+
* @alpha
|
|
16248
|
+
*/
|
|
16249
|
+
export declare const selectIsAlertingDialogOpen: DashboardSelector<boolean>;
|
|
16250
|
+
|
|
16251
|
+
/**
|
|
16252
|
+
* @alpha
|
|
16253
|
+
*/
|
|
16254
|
+
export declare const selectIsAlertsManagementDialogOpen: DashboardSelector<boolean>;
|
|
16255
|
+
|
|
16076
16256
|
/**
|
|
16077
16257
|
* Returns whether choice of alternate display forms is enabled.
|
|
16078
16258
|
*
|
|
@@ -17455,6 +17635,16 @@ payload: IScheduleEmailContext_2;
|
|
|
17455
17635
|
type: string;
|
|
17456
17636
|
}) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17457
17637
|
closeScheduleEmailManagementDialog: (state: WritableDraft<UiState_2>, action: AnyAction) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17638
|
+
openAlertingManagementDialog: (state: WritableDraft<UiState_2>, action: {
|
|
17639
|
+
payload: void;
|
|
17640
|
+
type: string;
|
|
17641
|
+
}) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17642
|
+
closeAlertingManagementDialog: (state: WritableDraft<UiState_2>, action: AnyAction) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17643
|
+
openAlertingDialog: (state: WritableDraft<UiState_2>, action: {
|
|
17644
|
+
payload: void;
|
|
17645
|
+
type: string;
|
|
17646
|
+
}) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17647
|
+
closeAlertingDialog: (state: WritableDraft<UiState_2>, action: AnyAction) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17458
17648
|
openSaveAsDialog: (state: WritableDraft<UiState_2>, action: AnyAction) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17459
17649
|
closeSaveAsDialog: (state: WritableDraft<UiState_2>, action: AnyAction) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17460
17650
|
setFilterBarExpanded: (state: WritableDraft<UiState_2>, action: {
|
|
@@ -17593,6 +17783,12 @@ export declare interface UiState {
|
|
|
17593
17783
|
defaultAttachmentRef: ObjRef | undefined;
|
|
17594
17784
|
context?: IScheduleEmailDialogContext;
|
|
17595
17785
|
};
|
|
17786
|
+
alertsManagementDialog: {
|
|
17787
|
+
open: boolean;
|
|
17788
|
+
};
|
|
17789
|
+
alertsDialog: {
|
|
17790
|
+
open: boolean;
|
|
17791
|
+
};
|
|
17596
17792
|
saveAsDialog: {
|
|
17597
17793
|
open: boolean;
|
|
17598
17794
|
};
|
|
@@ -17852,6 +18048,39 @@ export declare function useCustomWidgetInsightDataView({ widget, insight, onCanc
|
|
|
17852
18048
|
*/
|
|
17853
18049
|
export declare type UseCustomWidgetInsightDataViewCallbacks = UseCancelablePromiseCallbacks<DataViewFacade, GoodDataSdkError>;
|
|
17854
18050
|
|
|
18051
|
+
/**
|
|
18052
|
+
* Hook that handles alerts dialog
|
|
18053
|
+
*
|
|
18054
|
+
* @alpha
|
|
18055
|
+
*/
|
|
18056
|
+
export declare const useDashboardAlerts: ({ dashboard }: {
|
|
18057
|
+
dashboard?: string | undefined;
|
|
18058
|
+
}) => {
|
|
18059
|
+
webhooks: Webhooks_2;
|
|
18060
|
+
automations: IAutomationMetadataObject[];
|
|
18061
|
+
alertingLoadError: any;
|
|
18062
|
+
alertingToEdit: {
|
|
18063
|
+
alert: IAutomationMetadataObject;
|
|
18064
|
+
widget: IInsightWidget | undefined;
|
|
18065
|
+
anchor: HTMLElement | null;
|
|
18066
|
+
} | null;
|
|
18067
|
+
defaultOnAlerting: () => void;
|
|
18068
|
+
defaultOnAlertsManagement: () => void;
|
|
18069
|
+
isAlertingLoading: boolean;
|
|
18070
|
+
isAlertsManagementVisible: boolean;
|
|
18071
|
+
isAlertingDialogOpen: boolean;
|
|
18072
|
+
isAlertingManagementDialogOpen: boolean;
|
|
18073
|
+
onAlertingManagementEdit: (alert: IAutomationMetadataObject, widget: IInsightWidget | undefined, anchor: HTMLElement | null, onClosed: () => void) => void;
|
|
18074
|
+
onAlertingManagementClose: () => void;
|
|
18075
|
+
onAlertingManagementDeleteSuccess: () => void;
|
|
18076
|
+
onAlertingManagementDeleteError: () => void;
|
|
18077
|
+
onAlertingManagementLoadingError: () => void;
|
|
18078
|
+
onAlertingManagementPauseSuccess: (_alert: IAutomationMetadataObject, pause: boolean) => void;
|
|
18079
|
+
onAlertingManagementPauseError: (_err: GoodDataSdkError, pause: boolean) => void;
|
|
18080
|
+
onAlertingCancel: () => void;
|
|
18081
|
+
onAlertingUpdate: (_alert: IAutomationMetadataObject) => void;
|
|
18082
|
+
};
|
|
18083
|
+
|
|
17855
18084
|
/**
|
|
17856
18085
|
* Callbacks returned from {@link useDashboardAsyncRender} hook.
|
|
17857
18086
|
*
|
|
@@ -18305,7 +18534,7 @@ export declare const useDashboardScheduledEmails: ({ dashboard }: {
|
|
|
18305
18534
|
}) => {
|
|
18306
18535
|
webhooks: Webhooks_2;
|
|
18307
18536
|
users: Users_2;
|
|
18308
|
-
automations:
|
|
18537
|
+
automations: IAutomationMetadataObject[];
|
|
18309
18538
|
automationsCount: number;
|
|
18310
18539
|
schedulingLoadError: any;
|
|
18311
18540
|
numberOfAvailableWebhooks: number;
|
|
@@ -18644,6 +18873,21 @@ export declare function useShareButtonProps(): IShareButtonProps;
|
|
|
18644
18873
|
*/
|
|
18645
18874
|
export declare const useTopBarProps: () => ITopBarProps;
|
|
18646
18875
|
|
|
18876
|
+
/**
|
|
18877
|
+
* @internal
|
|
18878
|
+
* @param onBeforeRun - callback to be called before the command is run
|
|
18879
|
+
* @param onSuccess - callback to be called when the command is successfully processed
|
|
18880
|
+
* @param onError - callback to be called when the command processing fails
|
|
18881
|
+
*/
|
|
18882
|
+
export declare const useUpdateAlert: ({ onBeforeRun, onSuccess, onError, }?: {
|
|
18883
|
+
onBeforeRun?: ((alertToSave: IAutomationMetadataObject) => void) | undefined;
|
|
18884
|
+
onSuccess?: (() => void) | undefined;
|
|
18885
|
+
onError?: ((error: any) => void) | undefined;
|
|
18886
|
+
}) => {
|
|
18887
|
+
save: (alertToSave: IAutomationMetadataObject) => void;
|
|
18888
|
+
savingStatus?: CommandProcessingStatus | undefined;
|
|
18889
|
+
};
|
|
18890
|
+
|
|
18647
18891
|
/**
|
|
18648
18892
|
* @internal
|
|
18649
18893
|
*/
|
|
@@ -18673,7 +18917,7 @@ export declare function useWidgetExecutionsHandler(widgetRef: ObjRef): {
|
|
|
18673
18917
|
*
|
|
18674
18918
|
* @public
|
|
18675
18919
|
*/
|
|
18676
|
-
export declare function useWidgetFilters(widget: ExtendedDashboardWidget | undefined, insight?: IInsightDefinition): QueryProcessingState<IFilter[]>;
|
|
18920
|
+
export declare function useWidgetFilters(widget: ExtendedDashboardWidget | undefined | null, insight?: IInsightDefinition): QueryProcessingState<IFilter[]>;
|
|
18677
18921
|
|
|
18678
18922
|
/**
|
|
18679
18923
|
* @internal
|
package/esm/types.d.ts
CHANGED
|
@@ -148,6 +148,10 @@ export interface IMenuButtonItemsVisibility {
|
|
|
148
148
|
* If set to true, the Schedule emailing button will be visible. Defaults to true.
|
|
149
149
|
*/
|
|
150
150
|
scheduleEmailButton?: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* If set to true, the Alerting button will be visible. Defaults to true.
|
|
153
|
+
*/
|
|
154
|
+
alertingButton?: boolean;
|
|
151
155
|
/**
|
|
152
156
|
* If set to true, the Delete button will be visible. Defaults to true.
|
|
153
157
|
*/
|
package/esm/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,mBAAmB,EACnB,QAAQ,EACR,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EAGnB,UAAU,EACV,MAAM,EACN,eAAe,EACf,OAAO,EACP,WAAW,EACX,cAAc,EACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAG7F;;;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AS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "10.9.0-alpha.
|
|
3
|
+
"version": "10.9.0-alpha.26",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
"ts-invariant": "^0.7.5",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2",
|
|
58
|
-
"@gooddata/sdk-backend-base": "10.9.0-alpha.
|
|
59
|
-
"@gooddata/sdk-backend-spi": "10.9.0-alpha.
|
|
60
|
-
"@gooddata/sdk-
|
|
61
|
-
"@gooddata/sdk-
|
|
62
|
-
"@gooddata/sdk-ui-ext": "10.9.0-alpha.
|
|
63
|
-
"@gooddata/sdk-ui-
|
|
64
|
-
"@gooddata/sdk-ui-
|
|
65
|
-
"@gooddata/sdk-ui-
|
|
66
|
-
"@gooddata/sdk-ui-
|
|
67
|
-
"@gooddata/util": "10.9.0-alpha.
|
|
68
|
-
"@gooddata/sdk-ui-theme-provider": "10.9.0-alpha.
|
|
58
|
+
"@gooddata/sdk-backend-base": "10.9.0-alpha.26",
|
|
59
|
+
"@gooddata/sdk-backend-spi": "10.9.0-alpha.26",
|
|
60
|
+
"@gooddata/sdk-ui": "10.9.0-alpha.26",
|
|
61
|
+
"@gooddata/sdk-model": "10.9.0-alpha.26",
|
|
62
|
+
"@gooddata/sdk-ui-ext": "10.9.0-alpha.26",
|
|
63
|
+
"@gooddata/sdk-ui-vis-commons": "10.9.0-alpha.26",
|
|
64
|
+
"@gooddata/sdk-ui-filters": "10.9.0-alpha.26",
|
|
65
|
+
"@gooddata/sdk-ui-geo": "10.9.0-alpha.26",
|
|
66
|
+
"@gooddata/sdk-ui-kit": "10.9.0-alpha.26",
|
|
67
|
+
"@gooddata/util": "10.9.0-alpha.26",
|
|
68
|
+
"@gooddata/sdk-ui-theme-provider": "10.9.0-alpha.26"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
"typescript": "5.3.3",
|
|
119
119
|
"vitest": "1.0.4",
|
|
120
120
|
"vitest-dom": "0.1.1",
|
|
121
|
-
"@gooddata/i18n-toolkit": "10.9.0-alpha.
|
|
122
|
-
"@gooddata/reference-workspace": "10.9.0-alpha.
|
|
123
|
-
"@gooddata/sdk-backend-mockingbird": "10.9.0-alpha.
|
|
121
|
+
"@gooddata/i18n-toolkit": "10.9.0-alpha.26",
|
|
122
|
+
"@gooddata/reference-workspace": "10.9.0-alpha.26",
|
|
123
|
+
"@gooddata/sdk-backend-mockingbird": "10.9.0-alpha.26"
|
|
124
124
|
},
|
|
125
125
|
"scripts": {
|
|
126
126
|
"clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
|
package/styles/css/dashboard.css
CHANGED
|
@@ -1299,18 +1299,21 @@
|
|
|
1299
1299
|
height: 50px;
|
|
1300
1300
|
cursor: default;
|
|
1301
1301
|
}
|
|
1302
|
-
.gd-scheduled-email-management-dialog .gd-scheduled-email:hover {
|
|
1302
|
+
.gd-scheduled-email-management-dialog .gd-scheduled-email:hover, .gd-scheduled-email-management-dialog .gd-scheduled-email.hover {
|
|
1303
1303
|
background: var(--gd-palette-complementary-2, #ebeff4);
|
|
1304
1304
|
}
|
|
1305
|
-
.gd-scheduled-email-management-dialog .gd-scheduled-email:hover .gd-scheduled-email-icon {
|
|
1305
|
+
.gd-scheduled-email-management-dialog .gd-scheduled-email:hover .gd-scheduled-email-icon, .gd-scheduled-email-management-dialog .gd-scheduled-email.hover .gd-scheduled-email-icon {
|
|
1306
1306
|
background: transparent;
|
|
1307
1307
|
}
|
|
1308
|
-
.gd-scheduled-email-management-dialog .gd-scheduled-email:hover .gd-scheduled-email-delete-icon {
|
|
1308
|
+
.gd-scheduled-email-management-dialog .gd-scheduled-email:hover .gd-scheduled-email-delete-icon, .gd-scheduled-email-management-dialog .gd-scheduled-email.hover .gd-scheduled-email-delete-icon {
|
|
1309
1309
|
display: block;
|
|
1310
1310
|
}
|
|
1311
|
-
.gd-scheduled-email-management-dialog .gd-scheduled-email.editable:hover {
|
|
1311
|
+
.gd-scheduled-email-management-dialog .gd-scheduled-email.editable:hover, .gd-scheduled-email-management-dialog .gd-scheduled-email.editable.hover {
|
|
1312
1312
|
cursor: pointer;
|
|
1313
1313
|
}
|
|
1314
|
+
.gd-scheduled-email-management-dialog .gd-scheduled-email .gd-scheduled-email-menu-icon {
|
|
1315
|
+
display: block;
|
|
1316
|
+
}
|
|
1314
1317
|
.gd-scheduled-email-management-dialog .gd-scheduled-email-icon {
|
|
1315
1318
|
display: flex;
|
|
1316
1319
|
justify-content: center;
|
|
@@ -1366,6 +1369,9 @@
|
|
|
1366
1369
|
.gd-scheduled-email-management-dialog .gd-scheduled-email-delete:hover .gd-scheduled-email-delete-icon::after {
|
|
1367
1370
|
color: var(--gd-palette-error-base, #e54d42);
|
|
1368
1371
|
}
|
|
1372
|
+
.gd-scheduled-email-management-dialog .gd-scheduled-email-delete:hover .gd-scheduled-email-menu-icon::after {
|
|
1373
|
+
color: #687581;
|
|
1374
|
+
}
|
|
1369
1375
|
.gd-scheduled-email-management-dialog .gd-scheduled-email-delete-icon {
|
|
1370
1376
|
display: none;
|
|
1371
1377
|
margin: auto;
|
|
@@ -1383,6 +1389,42 @@
|
|
|
1383
1389
|
font-size: 16px;
|
|
1384
1390
|
font-weight: 400;
|
|
1385
1391
|
}
|
|
1392
|
+
.gd-scheduled-email-management-dialog .gd-scheduled-email-menu {
|
|
1393
|
+
display: flex;
|
|
1394
|
+
justify-content: center;
|
|
1395
|
+
align-items: center;
|
|
1396
|
+
width: 50px;
|
|
1397
|
+
height: 100%;
|
|
1398
|
+
cursor: pointer;
|
|
1399
|
+
flex-shrink: 0;
|
|
1400
|
+
position: relative;
|
|
1401
|
+
}
|
|
1402
|
+
.gd-scheduled-email-management-dialog .gd-scheduled-email-menu:hover {
|
|
1403
|
+
background-color: var(--gd-palette-complementary-4, #ccd8e2);
|
|
1404
|
+
}
|
|
1405
|
+
.gd-scheduled-email-management-dialog .gd-scheduled-email-menu-icon {
|
|
1406
|
+
display: block;
|
|
1407
|
+
margin: auto;
|
|
1408
|
+
position: absolute;
|
|
1409
|
+
top: 0;
|
|
1410
|
+
right: 0;
|
|
1411
|
+
left: 0;
|
|
1412
|
+
bottom: 0;
|
|
1413
|
+
}
|
|
1414
|
+
.gd-scheduled-email-management-dialog .gd-scheduled-email-menu-icon::after {
|
|
1415
|
+
content: "";
|
|
1416
|
+
background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/ellipsis.svg");
|
|
1417
|
+
background-color: transparent;
|
|
1418
|
+
background-position: center center;
|
|
1419
|
+
border: none;
|
|
1420
|
+
box-shadow: none;
|
|
1421
|
+
position: absolute;
|
|
1422
|
+
font-family: "Indigo", sans-serif;
|
|
1423
|
+
top: 0;
|
|
1424
|
+
right: 0;
|
|
1425
|
+
left: 0;
|
|
1426
|
+
bottom: 0;
|
|
1427
|
+
}
|
|
1386
1428
|
.gd-scheduled-email-management-dialog .gd-content-divider {
|
|
1387
1429
|
border-top: 1px solid var(--gd-palette-complementary-3, #dde4eb);
|
|
1388
1430
|
height: 0;
|
|
@@ -1571,6 +1613,14 @@
|
|
|
1571
1613
|
padding: 0 10px;
|
|
1572
1614
|
}
|
|
1573
1615
|
|
|
1616
|
+
.gd-schedule-email-dialog-menu {
|
|
1617
|
+
min-width: 100px;
|
|
1618
|
+
}
|
|
1619
|
+
.gd-schedule-email-dialog-menu .deleteItem:hover {
|
|
1620
|
+
background-color: var(--gd-palette-error-dimmed, #fcedec);
|
|
1621
|
+
color: var(--gd-palette-error-base, #e54d42);
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1574
1624
|
.gd-recipients-container.gd-input-component--invalid .gd-recipients__control {
|
|
1575
1625
|
border-color: var(--gd-palette-error-base, #e54d42);
|
|
1576
1626
|
}
|