@gooddata/sdk-ui-dashboard 11.55.0-alpha.1 → 11.55.0-alpha.3
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/NOTICE +26793 -68204
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/index.d.ts +42 -4
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +38 -0
- package/esm/internal.d.ts +1 -1
- package/esm/internal.d.ts.map +1 -1
- package/esm/internal.js +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +1 -1
- package/esm/model/store/config/configSelectors.js +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +10 -22
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.js +13 -42
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +8 -10
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +22 -32
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +16 -9
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +43 -153
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts +13 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertAttributeSelect.js → DefaultAlertingDialogAttribute.js} +12 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts +13 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertComparisonOperatorSelect.js → DefaultAlertingDialogComparisonOperator.js} +13 -4
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts +14 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertComparisonPeriodSelect.js → DefaultAlertingDialogComparisonPeriod.js} +16 -6
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.js +2 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertGranularitySelect.js → DefaultAlertingDialogGranularity.js} +10 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertMeasureSelect.js → DefaultAlertingDialogMeasure.js} +11 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.js +2 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertSensitivitySelect.js → DefaultAlertingDialogSensitivity.js} +10 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertThresholdInput.js → DefaultAlertingDialogThreshold.js} +9 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts +13 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertTriggerIntervalSelect.js → DefaultAlertingDialogTriggerInterval.js} +11 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertTriggerModeSelect.js → DefaultAlertingDialogTriggerMode.js} +10 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts +16 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.js +28 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts +22 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.js +31 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts +18 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.js +31 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts +11 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.js +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.d.ts +10 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.js +12 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.js +33 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.js +39 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.js +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.d.ts +49 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.js +128 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts +21 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.js +36 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.js +32 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.js +24 -0
- package/esm/presentation/automations/alerting/blocks/DefaultLoadingAlertingDialog.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertThreshold.d.ts +1 -1
- package/esm/presentation/automations/alerting/hooks/useAlertThreshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertThreshold.js +1 -1
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useThresholdValue.d.ts +1 -1
- package/esm/presentation/automations/alerting/hooks/useThresholdValue.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useThresholdValue.js +2 -2
- package/esm/presentation/automations/alerting/state/types.d.ts +2 -2
- package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts +87 -0
- package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.js +234 -0
- package/esm/presentation/automations/alerting/types.d.ts +401 -3
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/utils/getters.d.ts +1 -8
- package/esm/presentation/automations/alerting/utils/getters.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.js +7 -0
- package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts +12 -0
- package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +15 -10
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +45 -198
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +2 -18
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +2 -23
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.js +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.js +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.js +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.js +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.js +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.js +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.d.ts +2 -17
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.js +0 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/MessageForm/MessageForm.d.ts +2 -6
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/MessageForm/MessageForm.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/SubjectForm/SubjectForm.d.ts +2 -10
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/SubjectForm/SubjectForm.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/DefaultLoadingScheduledEmailDialog.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.d.ts +16 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.js +28 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.d.ts +16 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.js +28 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.d.ts +15 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.js +27 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.d.ts +16 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.js +24 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.d.ts +59 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.js +195 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.d.ts +16 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.js +29 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.d.ts +16 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.js +28 -0
- package/esm/presentation/automations/scheduledEmail/state/useIsInPlatformChannel.d.ts +6 -0
- package/esm/presentation/automations/scheduledEmail/state/useIsInPlatformChannel.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/state/useIsInPlatformChannel.js +13 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.d.ts +73 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.js +168 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.d.ts +30 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.js +26 -0
- package/esm/presentation/automations/scheduledEmail/types.d.ts +299 -1
- package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationAttributeFilter.js +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationDateFilter.js +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationMeasureValueFilter.js +1 -1
- package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.d.ts +51 -0
- package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.d.ts.map +1 -0
- package/esm/presentation/automations/{scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect → shared/hooks}/useWorkspaceUsersSearch.js +13 -0
- package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts +13 -0
- package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts.map +1 -0
- package/esm/presentation/automations/{alerting/DefaultAlertingDialog/FormField.js → shared/slots/AutomationDialogFormField.js} +10 -1
- package/esm/presentation/automations/shared/slots/types.d.ts +23 -0
- package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +91 -91
- package/esm/presentation/widget/insightMenu/types.js +1 -1
- package/esm/presentation/widget/richTextMenu/types.d.ts.map +1 -1
- package/esm/presentation/widget/richTextMenu/types.js +2 -1
- package/esm/sdk-ui-dashboard.d.ts +1604 -94
- package/package.json +22 -24
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultLoadingAlertingDialog.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts +0 -8
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +0 -19
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts +0 -19
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts +0 -15
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts +0 -12
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts +0 -13
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts +0 -11
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertThresholdInput.d.ts +0 -12
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertThresholdInput.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts +0 -11
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts +0 -12
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertThreshold.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useThresholdValue.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultLoadingScheduledEmailDialog.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/useWorkspaceUsersSearch.d.ts +0 -13
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/useWorkspaceUsersSearch.d.ts.map +0 -1
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog → blocks}/DefaultLoadingAlertingDialog.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog → blocks}/DefaultLoadingAlertingDialog.js +0 -0
- /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog → blocks}/DefaultLoadingScheduledEmailDialog.d.ts +0 -0
- /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog → blocks}/DefaultLoadingScheduledEmailDialog.js +0 -0
|
@@ -13,8 +13,8 @@ import { Action } from '@reduxjs/toolkit';
|
|
|
13
13
|
import { ActionCreatorWithOptionalPayload } from '@reduxjs/toolkit';
|
|
14
14
|
import { ActionCreatorWithoutPayload } from '@reduxjs/toolkit';
|
|
15
15
|
import { ActionCreatorWithPayload } from '@reduxjs/toolkit';
|
|
16
|
-
import { AI_OPERATOR } from '@gooddata/sdk-ui-ext';
|
|
17
|
-
import { AI_OPERATORS } from '@gooddata/sdk-ui-ext';
|
|
16
|
+
import type { AI_OPERATOR } from '@gooddata/sdk-ui-ext';
|
|
17
|
+
import type { AI_OPERATORS } from '@gooddata/sdk-ui-ext';
|
|
18
18
|
import { AnyAction } from '@reduxjs/toolkit';
|
|
19
19
|
import { CaseReducer } from '@reduxjs/toolkit';
|
|
20
20
|
import { CaseReducerActions } from '@reduxjs/toolkit';
|
|
@@ -46,6 +46,7 @@ import { EntityState } from '@reduxjs/toolkit';
|
|
|
46
46
|
import { ExecutionResultLimitType } from '@gooddata/sdk-model';
|
|
47
47
|
import { ExplicitDrill } from '@gooddata/sdk-ui';
|
|
48
48
|
import { FilterContextItem } from '@gooddata/sdk-model';
|
|
49
|
+
import { FocusEvent as FocusEvent_2 } from 'react';
|
|
49
50
|
import { ForwardRefExoticComponent } from 'react';
|
|
50
51
|
import { GoodDataSdkError } from '@gooddata/sdk-ui';
|
|
51
52
|
import { IAbsoluteDateFilter } from '@gooddata/sdk-model';
|
|
@@ -145,7 +146,7 @@ import { IExecutionResult } from '@gooddata/sdk-backend-spi';
|
|
|
145
146
|
import { IExecutionResultLimitBreak } from '@gooddata/sdk-model';
|
|
146
147
|
import { IExportDefinitionVisualizationObjectSettings } from '@gooddata/sdk-model';
|
|
147
148
|
import { IExportResult } from '@gooddata/sdk-backend-spi';
|
|
148
|
-
import
|
|
149
|
+
import { IExportTemplate } from '@gooddata/sdk-model';
|
|
149
150
|
import { IFilter } from '@gooddata/sdk-model';
|
|
150
151
|
import { IFilterableWidget } from '@gooddata/sdk-model';
|
|
151
152
|
import { IFilterContext } from '@gooddata/sdk-model';
|
|
@@ -211,6 +212,7 @@ import { IVisualizationSwitcherWidget } from '@gooddata/sdk-model';
|
|
|
211
212
|
import { IWidget } from '@gooddata/sdk-model';
|
|
212
213
|
import { IWidgetDefinition } from '@gooddata/sdk-model';
|
|
213
214
|
import { IWorkspacePermissions } from '@gooddata/sdk-model';
|
|
215
|
+
import { IWorkspaceUser } from '@gooddata/sdk-model';
|
|
214
216
|
import { JSX } from 'react/jsx-runtime';
|
|
215
217
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
|
216
218
|
import { LocalIdRef } from '@gooddata/sdk-model';
|
|
@@ -529,7 +531,7 @@ export declare function addTextAttributeFilter(filter: DashboardTextAttributeFil
|
|
|
529
531
|
export declare function addVisualizationToSwitcherWidgetContent(ref: ObjRef, visualization: IInsightWidget, insight: IInsight, sizeInfo: IVisualizationSizeInfo, correlationId?: string): IAddVisualizationToVisualizationSwitcherWidgetContent;
|
|
530
532
|
|
|
531
533
|
/**
|
|
532
|
-
* The operator id of an anomaly-detection
|
|
534
|
+
* The operator id of an anomaly-detection condition (`"AI.ANOMALY_DETECTION"`).
|
|
533
535
|
*
|
|
534
536
|
* @alpha
|
|
535
537
|
*/
|
|
@@ -580,6 +582,56 @@ export declare function AlertingDialog(props: IAlertingDialogProps): ReactElemen
|
|
|
580
582
|
*/
|
|
581
583
|
export declare function AlertingDialogActionBar(props: IAlertingDialogActionBarBlockProps): JSX.Element;
|
|
582
584
|
|
|
585
|
+
/**
|
|
586
|
+
* The alerting dialog's attribute field ("For": the attribute value the condition is sliced by),
|
|
587
|
+
* connected to the dialog's state and rendered as a labelled form row.
|
|
588
|
+
*
|
|
589
|
+
* Renders {@link DefaultAlertingDialogAttribute} inside {@link AutomationDialogFormField} with the
|
|
590
|
+
* props of {@link useAlertingDialogAttributeProps}; every prop passed here replaces the hook's
|
|
591
|
+
* value for that prop wholesale. Renders nothing when the insight has no non-date attribute (there
|
|
592
|
+
* is nothing to slice by; the gate reads the `attributes` prop, so an override is honoured), and
|
|
593
|
+
* nothing while `useAlertingDialogContext().isLoading` is true.
|
|
594
|
+
*
|
|
595
|
+
* @alpha
|
|
596
|
+
*/
|
|
597
|
+
export declare function AlertingDialogAttribute(overrides: Partial<IAlertingDialogAttributeProps>): ReactElement;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* The alerting dialog's condition field ("Condition": the operator — fixed threshold, change,
|
|
601
|
+
* difference or anomaly detection), connected to the dialog's state and rendered as a labelled
|
|
602
|
+
* form row.
|
|
603
|
+
*
|
|
604
|
+
* Renders {@link DefaultAlertingDialogComparisonOperator} inside {@link AutomationDialogFormField}
|
|
605
|
+
* with the props of {@link useAlertingDialogComparisonOperatorProps}; every prop passed here
|
|
606
|
+
* replaces the hook's value for that prop wholesale. Pass `enableAnomalyDetectionAlert={false}` to
|
|
607
|
+
* hide the anomaly-detection options. Renders nothing while
|
|
608
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
609
|
+
*
|
|
610
|
+
* @example
|
|
611
|
+
* ```tsx
|
|
612
|
+
* <AlertingDialogComparisonOperator enableAnomalyDetectionAlert={false} />
|
|
613
|
+
* ```
|
|
614
|
+
*
|
|
615
|
+
* @alpha
|
|
616
|
+
*/
|
|
617
|
+
export declare function AlertingDialogComparisonOperator(overrides: Partial<IAlertingDialogComparisonOperatorProps>): ReactElement;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* The alerting dialog's comparison-period field ("Compared to": the period a change or difference
|
|
621
|
+
* condition compares against), connected to the dialog's state and rendered as a labelled form
|
|
622
|
+
* row.
|
|
623
|
+
*
|
|
624
|
+
* Renders {@link DefaultAlertingDialogComparisonPeriod} inside {@link AutomationDialogFormField}
|
|
625
|
+
* with the props of {@link useAlertingDialogComparisonPeriodProps}; every prop passed here
|
|
626
|
+
* replaces the hook's value for that prop wholesale. Renders nothing unless the `alert` prop's
|
|
627
|
+
* condition is a change or difference (only those have a comparison period; the gate reads the
|
|
628
|
+
* prop, so an override is honoured), and nothing while `useAlertingDialogContext().isLoading` is
|
|
629
|
+
* true.
|
|
630
|
+
*
|
|
631
|
+
* @alpha
|
|
632
|
+
*/
|
|
633
|
+
export declare function AlertingDialogComparisonPeriod(overrides: Partial<IAlertingDialogComparisonPeriodProps>): ReactElement;
|
|
634
|
+
|
|
583
635
|
/**
|
|
584
636
|
* Provides the alerting create/edit dialog context.
|
|
585
637
|
*
|
|
@@ -620,6 +672,27 @@ export declare function AlertingDialogDestination(overrides: Partial<IAutomation
|
|
|
620
672
|
*/
|
|
621
673
|
export declare function AlertingDialogFilters(overrides: Partial<IAlertingDialogFiltersProps>): JSX.Element;
|
|
622
674
|
|
|
675
|
+
/**
|
|
676
|
+
* A heading with a column of field rows under it — the default alerting dialog's "When" (the condition
|
|
677
|
+
* fields) and "Do" (the action fields) groups. Layout only; reads no dialog context.
|
|
678
|
+
*
|
|
679
|
+
* @alpha
|
|
680
|
+
*/
|
|
681
|
+
export declare function AlertingDialogFormFieldGroup({ label, children }: IAlertingDialogFormFieldGroupProps): ReactElement;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* The alerting dialog's granularity field (the period anomaly detection evaluates over), connected
|
|
685
|
+
* to the dialog's state and rendered as a labelled form row.
|
|
686
|
+
*
|
|
687
|
+
* Renders {@link DefaultAlertingDialogGranularity} inside {@link AutomationDialogFormField} with
|
|
688
|
+
* the props of {@link useAlertingDialogGranularityProps}; every prop passed here replaces the
|
|
689
|
+
* hook's value for that prop wholesale. Renders nothing unless the draft uses anomaly detection,
|
|
690
|
+
* and nothing while `useAlertingDialogContext().isLoading` is true.
|
|
691
|
+
*
|
|
692
|
+
* @alpha
|
|
693
|
+
*/
|
|
694
|
+
export declare function AlertingDialogGranularity(overrides: Partial<IAlertingDialogGranularityProps>): ReactElement;
|
|
695
|
+
|
|
623
696
|
/**
|
|
624
697
|
* The alerting dialog's header region (the title input row), connected to the dialog's state.
|
|
625
698
|
*
|
|
@@ -655,6 +728,34 @@ export declare type AlertingDialogHeaderDefaultProps = IAlertingDialogHeaderProp
|
|
|
655
728
|
ref?: Ref<HTMLInputElement>;
|
|
656
729
|
};
|
|
657
730
|
|
|
731
|
+
/**
|
|
732
|
+
* The alerting dialog's measure field ("Metric": the measure the condition targets), connected to
|
|
733
|
+
* the dialog's state and rendered as a labelled form row.
|
|
734
|
+
*
|
|
735
|
+
* Renders {@link DefaultAlertingDialogMeasure} inside {@link AutomationDialogFormField} with the
|
|
736
|
+
* props of {@link useAlertingDialogMeasureProps}; every prop passed here replaces the hook's value
|
|
737
|
+
* for that prop wholesale. Renders nothing while `useAlertingDialogContext().isLoading` is true.
|
|
738
|
+
* The row's label is the default dialog's — a shell that wants its own label renders the hook and
|
|
739
|
+
* the render component inside its own `AutomationDialogFormField`.
|
|
740
|
+
*
|
|
741
|
+
* @example
|
|
742
|
+
* ```tsx
|
|
743
|
+
* function MyAlertingDialog(props: IAlertingDialogProps) {
|
|
744
|
+
* return (
|
|
745
|
+
* <MyShell onClose={props.onCancel}>
|
|
746
|
+
* <AlertingDialogMeasure />
|
|
747
|
+
* <AlertingDialogComparisonOperator />
|
|
748
|
+
* <AlertingDialogThreshold />
|
|
749
|
+
* </MyShell>
|
|
750
|
+
* );
|
|
751
|
+
* }
|
|
752
|
+
* <Dashboard AlertingDialogComponent={MyAlertingDialog} />;
|
|
753
|
+
* ```
|
|
754
|
+
*
|
|
755
|
+
* @alpha
|
|
756
|
+
*/
|
|
757
|
+
export declare function AlertingDialogMeasure(overrides: Partial<IAlertingDialogMeasureProps>): ReactElement;
|
|
758
|
+
|
|
658
759
|
/**
|
|
659
760
|
* The alerting dialog's recipients region, connected to the dialog's state.
|
|
660
761
|
*
|
|
@@ -667,6 +768,111 @@ export declare type AlertingDialogHeaderDefaultProps = IAlertingDialogHeaderProp
|
|
|
667
768
|
*/
|
|
668
769
|
export declare function AlertingDialogRecipients(overrides: Partial<IAutomationDialogRecipientsProps>): JSX.Element;
|
|
669
770
|
|
|
771
|
+
/**
|
|
772
|
+
* The alerting dialog's sensitivity field (the "Sensitivity" of anomaly detection), connected to
|
|
773
|
+
* the dialog's state and rendered as a labelled form row.
|
|
774
|
+
*
|
|
775
|
+
* Renders {@link DefaultAlertingDialogSensitivity} inside {@link AutomationDialogFormField} with
|
|
776
|
+
* the props of {@link useAlertingDialogSensitivityProps}; every prop passed here replaces the
|
|
777
|
+
* hook's value for that prop wholesale. Renders nothing unless the draft uses anomaly detection,
|
|
778
|
+
* and nothing while `useAlertingDialogContext().isLoading` is true.
|
|
779
|
+
*
|
|
780
|
+
* @alpha
|
|
781
|
+
*/
|
|
782
|
+
export declare function AlertingDialogSensitivity(overrides: Partial<IAlertingDialogSensitivityProps>): ReactElement;
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* The alerting dialog's chrome, connected to the dialog's state: the modal overlay, the dialog frame
|
|
786
|
+
* with the header row (the title input) and the action bar, the scrollable content area around
|
|
787
|
+
* `children`, the dialog's warning and validation messages, the stale-filters confirmation step shown
|
|
788
|
+
* before the dialog when the saved filters no longer match the dashboard, and the delete confirmation
|
|
789
|
+
* reached from the action bar in edit mode. While `useAlertingDialogContext().isLoading` is true it
|
|
790
|
+
* renders the loading skeleton and none of its children.
|
|
791
|
+
*
|
|
792
|
+
* The default dialog is `<AlertingDialogShell>` around the region and field blocks; a custom
|
|
793
|
+
* `AlertingDialogComponent` that keeps this chrome and arranges the blocks differently renders the shell
|
|
794
|
+
* itself. The shell does not own the submit: call {@link useAlertSubmit} and pass its `submit` and
|
|
795
|
+
* `isSaving`, so the footer button and any Enter handler in the body share one instance. Call that hook
|
|
796
|
+
* only once `useAlertingDialogContext().isLoading` is false — the state hooks throw while the dialog
|
|
797
|
+
* loads — and render the shell alone (any `onSubmit`, `isSaving: false`) until then, as the example does.
|
|
798
|
+
*
|
|
799
|
+
* Needs an ambient `IntlProvider`; inside a `Dashboard` the dashboard's provider covers it.
|
|
800
|
+
*
|
|
801
|
+
* @example
|
|
802
|
+
* ```tsx
|
|
803
|
+
* function MyAlertingDialog(props: IAlertingDialogProps) {
|
|
804
|
+
* const { isLoading } = useAlertingDialogContext();
|
|
805
|
+
* // the state hooks throw while the dialog loads; the shell renders the loading skeleton
|
|
806
|
+
* if (isLoading) {
|
|
807
|
+
* return <AlertingDialogShell {...props} onSubmit={() => {}} isSaving={false} />;
|
|
808
|
+
* }
|
|
809
|
+
* return <MyAlertingDialogBody {...props} />;
|
|
810
|
+
* }
|
|
811
|
+
*
|
|
812
|
+
* function MyAlertingDialogBody(props: IAlertingDialogProps) {
|
|
813
|
+
* const { isSaving, submit } = useAlertSubmit(props);
|
|
814
|
+
* return (
|
|
815
|
+
* <AlertingDialogShell {...props} onSubmit={() => void submit()} isSaving={isSaving}>
|
|
816
|
+
* <AlertingDialogFormFieldGroup label="When">
|
|
817
|
+
* <AlertingDialogMeasure />
|
|
818
|
+
* <AlertingDialogComparisonOperator />
|
|
819
|
+
* <AlertingDialogThreshold />
|
|
820
|
+
* </AlertingDialogFormFieldGroup>
|
|
821
|
+
* <AlertingDialogRecipients />
|
|
822
|
+
* </AlertingDialogShell>
|
|
823
|
+
* );
|
|
824
|
+
* }
|
|
825
|
+
* ```
|
|
826
|
+
*
|
|
827
|
+
* @alpha
|
|
828
|
+
*/
|
|
829
|
+
export declare function AlertingDialogShell(props: IAlertingDialogShellProps): ReactElement;
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* The alerting dialog's threshold field (the value a fixed-threshold, change or difference
|
|
833
|
+
* condition is compared against), connected to the dialog's state and rendered as a labelled form
|
|
834
|
+
* row.
|
|
835
|
+
*
|
|
836
|
+
* Renders {@link DefaultAlertingDialogThreshold} inside {@link AutomationDialogFormField} with the
|
|
837
|
+
* props of {@link useAlertingDialogThresholdProps}; every prop passed here replaces the hook's
|
|
838
|
+
* value for that prop wholesale. **The one `useAlertThreshold` mount**:
|
|
839
|
+
* {@link useAlertingDialogThresholdProps} owns the field's state and writes the draft
|
|
840
|
+
* (auto-computing a new alert's threshold), so place this block once per dialog and do not also
|
|
841
|
+
* call the hook. Renders nothing while the draft uses anomaly detection (that condition has no
|
|
842
|
+
* threshold); the hook stays mounted behind the gate, so the field's touched state survives a
|
|
843
|
+
* switch to anomaly detection and back. Renders nothing while
|
|
844
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
845
|
+
*
|
|
846
|
+
* @alpha
|
|
847
|
+
*/
|
|
848
|
+
export declare function AlertingDialogThreshold(overrides: Partial<IAlertingDialogThresholdProps>): ReactElement;
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* The alerting dialog's trigger-interval field (the interval a once-per-interval trigger notifies
|
|
852
|
+
* on), connected to the dialog's state and rendered as a labelled form row.
|
|
853
|
+
*
|
|
854
|
+
* Renders {@link DefaultAlertingDialogTriggerInterval} inside {@link AutomationDialogFormField}
|
|
855
|
+
* with the props of {@link useAlertingDialogTriggerIntervalProps}; every prop passed here replaces
|
|
856
|
+
* the hook's value for that prop wholesale. Renders nothing unless the draft's trigger mode is
|
|
857
|
+
* `ONCE_PER_INTERVAL`, and nothing while `useAlertingDialogContext().isLoading` is true.
|
|
858
|
+
*
|
|
859
|
+
* @alpha
|
|
860
|
+
*/
|
|
861
|
+
export declare function AlertingDialogTriggerInterval(overrides: Partial<IAlertingDialogTriggerIntervalProps>): ReactElement;
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* The alerting dialog's trigger-mode field ("Trigger": how often a met condition notifies),
|
|
865
|
+
* connected to the dialog's state and rendered as a labelled form row.
|
|
866
|
+
*
|
|
867
|
+
* Renders {@link DefaultAlertingDialogTriggerMode} inside {@link AutomationDialogFormField} with
|
|
868
|
+
* the props of {@link useAlertingDialogTriggerModeProps}; every prop passed here replaces the
|
|
869
|
+
* hook's value for that prop wholesale. Renders nothing while
|
|
870
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
871
|
+
*
|
|
872
|
+
* @alpha
|
|
873
|
+
*/
|
|
874
|
+
export declare function AlertingDialogTriggerMode(overrides: Partial<IAlertingDialogTriggerModeProps>): ReactElement;
|
|
875
|
+
|
|
670
876
|
/**
|
|
671
877
|
* @internal
|
|
672
878
|
*/
|
|
@@ -930,6 +1136,17 @@ export declare type AttributeValue = {
|
|
|
930
1136
|
name: string;
|
|
931
1137
|
};
|
|
932
1138
|
|
|
1139
|
+
/**
|
|
1140
|
+
* A labelled form row of the automation dialogs: the label on the left, the control on the right.
|
|
1141
|
+
* Props-driven — reads no context. The default alerting dialog renders every condition field
|
|
1142
|
+
* through it, as do the field blocks ({@link AlertingDialogMeasure} and siblings); a custom dialog
|
|
1143
|
+
* that wants its own label renders a field's `Default*` control inside its own
|
|
1144
|
+
* `AutomationDialogFormField`.
|
|
1145
|
+
*
|
|
1146
|
+
* @alpha
|
|
1147
|
+
*/
|
|
1148
|
+
export declare function AutomationDialogFormField({ label, children, htmlFor, fullWidth }: IAutomationDialogFormFieldProps): ReactElement;
|
|
1149
|
+
|
|
933
1150
|
/**
|
|
934
1151
|
* @alpha
|
|
935
1152
|
*/
|
|
@@ -4174,20 +4391,61 @@ export declare const DEFAULT_TAB_ID = "defaultTabId";
|
|
|
4174
4391
|
* that is what lets a wholesale replacement receive the same contexts. Rendering this component
|
|
4175
4392
|
* outside those providers throws at runtime.
|
|
4176
4393
|
*
|
|
4177
|
-
* The dialog is
|
|
4178
|
-
*
|
|
4179
|
-
* {@link
|
|
4180
|
-
*
|
|
4181
|
-
*
|
|
4182
|
-
*
|
|
4183
|
-
*
|
|
4394
|
+
* The dialog is {@link AlertingDialogShell} — the chrome: overlay, frame, header row, action bar, the
|
|
4395
|
+
* dialog's messages, the stale-filters and delete confirmation steps, the loading skeleton — around the
|
|
4396
|
+
* exported region renders ({@link DefaultAlertingDialogFilters}, {@link DefaultAlertingDialogDestination},
|
|
4397
|
+
* {@link DefaultAlertingDialogRecipients}, fed by {@link useAlertingDialogFiltersProps} and siblings; the
|
|
4398
|
+
* header and action bar are the shell's) and the connected field blocks — {@link AlertingDialogMeasure},
|
|
4399
|
+
* {@link AlertingDialogAttribute}, {@link AlertingDialogComparisonOperator}, {@link AlertingDialogThreshold},
|
|
4400
|
+
* {@link AlertingDialogComparisonPeriod}, {@link AlertingDialogSensitivity}, {@link AlertingDialogGranularity},
|
|
4401
|
+
* {@link AlertingDialogTriggerMode}, {@link AlertingDialogTriggerInterval} — grouped under the "When" and
|
|
4402
|
+
* "Do" headings by {@link AlertingDialogFormFieldGroup}; each field is a labelled
|
|
4403
|
+
* {@link AutomationDialogFormField} row and the conditional ones gate themselves on the draft. A custom
|
|
4404
|
+
* `AlertingDialogComponent` that keeps this chrome but owns the arrangement renders
|
|
4405
|
+
* {@link AlertingDialogShell} around the blocks it wants (see its example); one that owns the chrome too
|
|
4406
|
+
* places the blocks in its own markup and reads or writes the same draft through {@link useAlertDraft} and
|
|
4407
|
+
* {@link useAlertActions}.
|
|
4184
4408
|
*
|
|
4185
4409
|
* Slots render only in the fully rendered dialog: not while the dialog context reports loading,
|
|
4186
4410
|
* and not while the stale-filters confirmation step is shown.
|
|
4187
4411
|
*
|
|
4188
4412
|
* @alpha
|
|
4189
4413
|
*/
|
|
4190
|
-
export declare function DefaultAlertingDialog(props: IDefaultAlertingDialogProps):
|
|
4414
|
+
export declare function DefaultAlertingDialog(props: IDefaultAlertingDialogProps): ReactElement;
|
|
4415
|
+
|
|
4416
|
+
/**
|
|
4417
|
+
* Default render of the alerting dialog's attribute field: the dropdown slicing the condition by an
|
|
4418
|
+
* attribute value; renders nothing when the insight has no non-date attribute. Props-driven — the
|
|
4419
|
+
* bare control without its label; reads no dialog context (only `useIntl`). The default dialog and
|
|
4420
|
+
* {@link AlertingDialogAttribute} render it with {@link useAlertingDialogAttributeProps} inside
|
|
4421
|
+
* {@link AutomationDialogFormField}.
|
|
4422
|
+
*
|
|
4423
|
+
* @alpha
|
|
4424
|
+
*/
|
|
4425
|
+
export declare function DefaultAlertingDialogAttribute({ id, disabled, selectedAttribute: selectedAttributeProp, getAttributeValues, isResultLoading, selectedValue, onAttributeChange, attributes, catalogAttributes, catalogDateDatasets, showLabel, closeOnParentScroll }: IAlertingDialogAttributeProps): ReactElement | null;
|
|
4426
|
+
|
|
4427
|
+
/**
|
|
4428
|
+
* Default render of the alerting dialog's comparison-operator field: the dropdown selecting the
|
|
4429
|
+
* condition's operator (fixed threshold, change, difference, anomaly detection); renders nothing
|
|
4430
|
+
* without a measure. Props-driven — the bare control without its label; reads no dialog context
|
|
4431
|
+
* (only `useIntl`). The default dialog and {@link AlertingDialogComparisonOperator} render it with
|
|
4432
|
+
* {@link useAlertingDialogComparisonOperatorProps} inside {@link AutomationDialogFormField}.
|
|
4433
|
+
*
|
|
4434
|
+
* @alpha
|
|
4435
|
+
*/
|
|
4436
|
+
export declare function DefaultAlertingDialogComparisonOperator(props: IAlertingDialogComparisonOperatorProps): ReactElement | null;
|
|
4437
|
+
|
|
4438
|
+
/**
|
|
4439
|
+
* Default render of the alerting dialog's comparison-period field: the dropdown selecting the
|
|
4440
|
+
* period a change or difference condition compares against; static text with a single comparator,
|
|
4441
|
+
* nothing for other condition types. Props-driven — the bare control without its label; reads no
|
|
4442
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogComparisonPeriod}
|
|
4443
|
+
* render it with {@link useAlertingDialogComparisonPeriodProps} inside
|
|
4444
|
+
* {@link AutomationDialogFormField}.
|
|
4445
|
+
*
|
|
4446
|
+
* @alpha
|
|
4447
|
+
*/
|
|
4448
|
+
export declare function DefaultAlertingDialogComparisonPeriod({ alert, measure, overlayPositionType, selectedComparison, selectedGranularity, onComparisonChange, id, closeOnParentScroll }: IAlertingDialogComparisonPeriodProps): ReactElement | null;
|
|
4191
4449
|
|
|
4192
4450
|
/**
|
|
4193
4451
|
* Default render of the alerting dialog's destination region: the "Action" row selecting the
|
|
@@ -4210,6 +4468,16 @@ export declare function DefaultAlertingDialogDestination({ notificationChannels,
|
|
|
4210
4468
|
*/
|
|
4211
4469
|
export declare function DefaultAlertingDialogFilters(props: IAlertingDialogFiltersProps): JSX.Element;
|
|
4212
4470
|
|
|
4471
|
+
/**
|
|
4472
|
+
* Default render of the alerting dialog's granularity field: the dropdown selecting the
|
|
4473
|
+
* anomaly-detection granularity. Props-driven — the bare control without its label; reads no
|
|
4474
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogGranularity} render
|
|
4475
|
+
* it with {@link useAlertingDialogGranularityProps} inside {@link AutomationDialogFormField}.
|
|
4476
|
+
*
|
|
4477
|
+
* @alpha
|
|
4478
|
+
*/
|
|
4479
|
+
export declare function DefaultAlertingDialogGranularity({ id, allowHourlyRecurrence, selectedGranularity, onGranularityChange, overlayPositionType, closeOnParentScroll }: IAlertingDialogGranularityProps): ReactElement;
|
|
4480
|
+
|
|
4213
4481
|
/**
|
|
4214
4482
|
* Default render of the alerting dialog's header region: the back button and the title input with
|
|
4215
4483
|
* its length validation. Props-driven — reads no alerting dialog state. The default dialog and
|
|
@@ -4220,6 +4488,16 @@ export declare function DefaultAlertingDialogFilters(props: IAlertingDialogFilte
|
|
|
4220
4488
|
*/
|
|
4221
4489
|
export declare const DefaultAlertingDialogHeader: ForwardRefExoticComponent<IAlertingDialogHeaderProps & RefAttributes<HTMLInputElement>>;
|
|
4222
4490
|
|
|
4491
|
+
/**
|
|
4492
|
+
* Default render of the alerting dialog's measure field: the dropdown selecting the measure the
|
|
4493
|
+
* condition targets. Props-driven — the bare control without its label; reads no dialog context
|
|
4494
|
+
* (only `useIntl`). The default dialog and {@link AlertingDialogMeasure} render it with
|
|
4495
|
+
* {@link useAlertingDialogMeasureProps} inside {@link AutomationDialogFormField}.
|
|
4496
|
+
*
|
|
4497
|
+
* @alpha
|
|
4498
|
+
*/
|
|
4499
|
+
export declare function DefaultAlertingDialogMeasure({ id, disabled, selectedMeasure, onMeasureChange, measures, overlayPositionType, closeOnParentScroll }: IAlertingDialogMeasureProps): ReactElement;
|
|
4500
|
+
|
|
4223
4501
|
/**
|
|
4224
4502
|
* Default render of the alerting dialog's recipients region: the recipients select in a form-field
|
|
4225
4503
|
* row; the row carries the label, so the select's own label is off. Props-driven — reads no context.
|
|
@@ -4230,6 +4508,47 @@ export declare const DefaultAlertingDialogHeader: ForwardRefExoticComponent<IAle
|
|
|
4230
4508
|
*/
|
|
4231
4509
|
export declare function DefaultAlertingDialogRecipients(props: IAutomationDialogRecipientsProps): JSX.Element;
|
|
4232
4510
|
|
|
4511
|
+
/**
|
|
4512
|
+
* Default render of the alerting dialog's sensitivity field: the dropdown selecting the
|
|
4513
|
+
* anomaly-detection sensitivity. Props-driven — the bare control without its label; reads no
|
|
4514
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogSensitivity} render
|
|
4515
|
+
* it with {@link useAlertingDialogSensitivityProps} inside {@link AutomationDialogFormField}.
|
|
4516
|
+
*
|
|
4517
|
+
* @alpha
|
|
4518
|
+
*/
|
|
4519
|
+
export declare function DefaultAlertingDialogSensitivity({ id, selectedSensitivity, onSensitivityChange, overlayPositionType, closeOnParentScroll }: IAlertingDialogSensitivityProps): ReactElement;
|
|
4520
|
+
|
|
4521
|
+
/**
|
|
4522
|
+
* Default render of the alerting dialog's threshold field: the numeric input for the threshold,
|
|
4523
|
+
* with its unit suffix and validation message. Props-driven — the bare control without its label;
|
|
4524
|
+
* reads no dialog context (only `useIntl`). The default dialog and {@link AlertingDialogThreshold}
|
|
4525
|
+
* render it with {@link useAlertingDialogThresholdProps} inside {@link AutomationDialogFormField}.
|
|
4526
|
+
*
|
|
4527
|
+
* @alpha
|
|
4528
|
+
*/
|
|
4529
|
+
export declare function DefaultAlertingDialogThreshold({ id, value, onChange, onBlur, suffix, errorMessage }: IAlertingDialogThresholdProps): ReactElement;
|
|
4530
|
+
|
|
4531
|
+
/**
|
|
4532
|
+
* Default render of the alerting dialog's trigger-interval field: the dropdown selecting the
|
|
4533
|
+
* interval of a once-per-interval trigger. Props-driven — the bare control without its label;
|
|
4534
|
+
* reads no dialog context (only `useIntl`). The default dialog and
|
|
4535
|
+
* {@link AlertingDialogTriggerInterval} render it with {@link useAlertingDialogTriggerIntervalProps}
|
|
4536
|
+
* inside {@link AutomationDialogFormField}.
|
|
4537
|
+
*
|
|
4538
|
+
* @alpha
|
|
4539
|
+
*/
|
|
4540
|
+
export declare function DefaultAlertingDialogTriggerInterval({ id, selectedTriggerInterval, onTriggerIntervalChange, overlayPositionType, closeOnParentScroll }: IAlertingDialogTriggerIntervalProps): ReactElement;
|
|
4541
|
+
|
|
4542
|
+
/**
|
|
4543
|
+
* Default render of the alerting dialog's trigger-mode field: the dropdown selecting when the
|
|
4544
|
+
* alert fires. Props-driven — the bare control without its label; reads no dialog context (only
|
|
4545
|
+
* `useIntl`). The default dialog and {@link AlertingDialogTriggerMode} render it with
|
|
4546
|
+
* {@link useAlertingDialogTriggerModeProps} inside {@link AutomationDialogFormField}.
|
|
4547
|
+
*
|
|
4548
|
+
* @alpha
|
|
4549
|
+
*/
|
|
4550
|
+
export declare function DefaultAlertingDialogTriggerMode({ id, selectedTriggerMode, onTriggerModeChange, overlayPositionType, closeOnParentScroll, enableAlertOncePerInterval }: IAlertingDialogTriggerModeProps): ReactElement;
|
|
4551
|
+
|
|
4233
4552
|
/**
|
|
4234
4553
|
* Self-contained version of DefaultAlertingManagementDialogNew that builds the required
|
|
4235
4554
|
* AutomationsContext and AlertingManagementDialogContext internally from the dashboard
|
|
@@ -4494,14 +4813,19 @@ export declare function DefaultSaveButton({ isVisible, isEnabled, isSaving, butt
|
|
|
4494
4813
|
* that is what lets a wholesale replacement receive the same contexts. Rendering this component
|
|
4495
4814
|
* outside those providers throws at runtime.
|
|
4496
4815
|
*
|
|
4497
|
-
* The dialog is
|
|
4498
|
-
*
|
|
4499
|
-
*
|
|
4500
|
-
* {@link
|
|
4501
|
-
*
|
|
4502
|
-
*
|
|
4503
|
-
* ({@link
|
|
4504
|
-
*
|
|
4816
|
+
* The dialog is {@link ScheduledEmailDialogShell} — the chrome: overlay, frame, header row, action bar, the
|
|
4817
|
+
* General/Filters tabs, the body's messages, the stale-filters and delete confirmation steps, the loading
|
|
4818
|
+
* skeleton — around the exported region renders ({@link DefaultScheduledEmailDialogDestination},
|
|
4819
|
+
* {@link DefaultScheduledEmailDialogRecipients}, {@link DefaultScheduledEmailDialogTimezone}, fed by
|
|
4820
|
+
* {@link useScheduledEmailDialogDestinationProps} and siblings; the header, action bar and the Filters tab's
|
|
4821
|
+
* {@link DefaultScheduledEmailDialogFilters} are the shell's) and the General-tab field blocks
|
|
4822
|
+
* ({@link ScheduledEmailDialogRecurrence}, {@link ScheduledEmailDialogSubject}, {@link ScheduledEmailDialogMessage},
|
|
4823
|
+
* {@link ScheduledEmailDialogWidgetAttachments}, {@link ScheduledEmailDialogDashboardAttachments},
|
|
4824
|
+
* {@link ScheduledEmailDialogEvaluationMode}). A custom `ScheduledEmailDialogComponent` that keeps this chrome
|
|
4825
|
+
* but owns the arrangement renders {@link ScheduledEmailDialogShell} around the blocks it wants (see its
|
|
4826
|
+
* example); one that owns the chrome too places the blocks ({@link ScheduledEmailDialogFilters} and
|
|
4827
|
+
* siblings) in its own markup and reads or writes the same draft through {@link useScheduledExportDraft}
|
|
4828
|
+
* and {@link useScheduledExportActions}.
|
|
4505
4829
|
*
|
|
4506
4830
|
* Slots render only in the fully rendered dialog: not while the dialog context reports loading,
|
|
4507
4831
|
* and not while the stale-filters confirmation step is shown. The Filters slot additionally
|
|
@@ -4509,7 +4833,16 @@ export declare function DefaultSaveButton({ isVisible, isEnabled, isSaving, butt
|
|
|
4509
4833
|
*
|
|
4510
4834
|
* @alpha
|
|
4511
4835
|
*/
|
|
4512
|
-
export declare function DefaultScheduledEmailDialog(props: IDefaultScheduledEmailDialogProps):
|
|
4836
|
+
export declare function DefaultScheduledEmailDialog(props: IDefaultScheduledEmailDialogProps): ReactElement;
|
|
4837
|
+
|
|
4838
|
+
/**
|
|
4839
|
+
* Default render of the scheduled-export dialog's dashboard-attachments field.
|
|
4840
|
+
* Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogDashboardAttachments}
|
|
4841
|
+
* render it with {@link useScheduledEmailDialogDashboardAttachmentsProps}.
|
|
4842
|
+
*
|
|
4843
|
+
* @alpha
|
|
4844
|
+
*/
|
|
4845
|
+
export declare function DefaultScheduledEmailDialogDashboardAttachments(props: IScheduledEmailDialogDashboardAttachmentsProps): ReactElement;
|
|
4513
4846
|
|
|
4514
4847
|
/**
|
|
4515
4848
|
* Default render of the scheduled-export dialog's destination region: the notification-channel
|
|
@@ -4521,6 +4854,15 @@ export declare function DefaultScheduledEmailDialog(props: IDefaultScheduledEmai
|
|
|
4521
4854
|
*/
|
|
4522
4855
|
export declare function DefaultScheduledEmailDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange }: IAutomationDialogDestinationProps): JSX.Element;
|
|
4523
4856
|
|
|
4857
|
+
/**
|
|
4858
|
+
* Default render of the scheduled-export dialog's evaluation-mode field.
|
|
4859
|
+
* Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogEvaluationMode}
|
|
4860
|
+
* render it with {@link useScheduledEmailDialogEvaluationModeProps}.
|
|
4861
|
+
*
|
|
4862
|
+
* @alpha
|
|
4863
|
+
*/
|
|
4864
|
+
export declare function DefaultScheduledEmailDialogEvaluationMode(props: IScheduledEmailDialogEvaluationModeProps): ReactElement;
|
|
4865
|
+
|
|
4524
4866
|
/**
|
|
4525
4867
|
* Default render of the scheduled-export dialog's filters region: the filter and parameter chips of
|
|
4526
4868
|
* the Filters tab, flat or per dashboard tab. The title is hidden and the list always expanded
|
|
@@ -4542,6 +4884,15 @@ export declare function DefaultScheduledEmailDialogFilters(props: IScheduledEmai
|
|
|
4542
4884
|
*/
|
|
4543
4885
|
export declare const DefaultScheduledEmailDialogHeader: ForwardRefExoticComponent<IScheduledEmailDialogHeaderProps & RefAttributes<HTMLInputElement>>;
|
|
4544
4886
|
|
|
4887
|
+
/**
|
|
4888
|
+
* Default render of the scheduled-export dialog's message field.
|
|
4889
|
+
* Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogMessage}
|
|
4890
|
+
* render it with {@link useScheduledEmailDialogMessageProps}.
|
|
4891
|
+
*
|
|
4892
|
+
* @alpha
|
|
4893
|
+
*/
|
|
4894
|
+
export declare function DefaultScheduledEmailDialogMessage(props: IScheduledEmailDialogMessageProps): ReactElement;
|
|
4895
|
+
|
|
4545
4896
|
/**
|
|
4546
4897
|
* Default render of the scheduled-export dialog's recipients region: the recipients select.
|
|
4547
4898
|
* Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogRecipients}
|
|
@@ -4552,6 +4903,24 @@ export declare const DefaultScheduledEmailDialogHeader: ForwardRefExoticComponen
|
|
|
4552
4903
|
*/
|
|
4553
4904
|
export declare function DefaultScheduledEmailDialogRecipients(props: IScheduledEmailDialogRecipientsProps): JSX.Element;
|
|
4554
4905
|
|
|
4906
|
+
/**
|
|
4907
|
+
* Default render of the scheduled-export dialog's recurrence field: the recurrence form.
|
|
4908
|
+
* Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogRecurrence}
|
|
4909
|
+
* render it with {@link useScheduledEmailDialogRecurrenceProps}.
|
|
4910
|
+
*
|
|
4911
|
+
* @alpha
|
|
4912
|
+
*/
|
|
4913
|
+
export declare function DefaultScheduledEmailDialogRecurrence(props: IScheduledEmailDialogRecurrenceProps): ReactElement;
|
|
4914
|
+
|
|
4915
|
+
/**
|
|
4916
|
+
* Default render of the scheduled-export dialog's subject field.
|
|
4917
|
+
* Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogSubject}
|
|
4918
|
+
* render it with {@link useScheduledEmailDialogSubjectProps}.
|
|
4919
|
+
*
|
|
4920
|
+
* @alpha
|
|
4921
|
+
*/
|
|
4922
|
+
export declare function DefaultScheduledEmailDialogSubject(props: IScheduledEmailDialogSubjectProps): ReactElement;
|
|
4923
|
+
|
|
4555
4924
|
/**
|
|
4556
4925
|
* The "Time zone" section of the scheduled-email dialog's General tab. Unlike the
|
|
4557
4926
|
* dashboard-settings timezone picker, the dropdown offers no browser-detected option — the
|
|
@@ -4568,6 +4937,15 @@ export declare function DefaultScheduledEmailDialogRecipients(props: IScheduledE
|
|
|
4568
4937
|
*/
|
|
4569
4938
|
export declare function DefaultScheduledEmailDialogTimezone({ isWidget, selection, defaultResolvedTimezone, onTimezoneChange }: IScheduledEmailDialogTimezoneProps): JSX.Element;
|
|
4570
4939
|
|
|
4940
|
+
/**
|
|
4941
|
+
* Default render of the scheduled-export dialog's widget-attachments field.
|
|
4942
|
+
* Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogWidgetAttachments}
|
|
4943
|
+
* render it with {@link useScheduledEmailDialogWidgetAttachmentsProps}.
|
|
4944
|
+
*
|
|
4945
|
+
* @alpha
|
|
4946
|
+
*/
|
|
4947
|
+
export declare function DefaultScheduledEmailDialogWidgetAttachments(props: IScheduledEmailDialogWidgetAttachmentsProps): ReactElement;
|
|
4948
|
+
|
|
4571
4949
|
/**
|
|
4572
4950
|
* @alpha
|
|
4573
4951
|
*/
|
|
@@ -6396,6 +6774,158 @@ export declare interface IAlertFiltersContextValue {
|
|
|
6396
6774
|
*/
|
|
6397
6775
|
export declare type IAlertingDialogActionBarBlockProps = IUseAlertingDialogActionBarPropsInput & Partial<IAutomationDialogActionBarProps>;
|
|
6398
6776
|
|
|
6777
|
+
/**
|
|
6778
|
+
* Props of the default alerting dialog's attribute field (the "For" row).
|
|
6779
|
+
*
|
|
6780
|
+
* @alpha
|
|
6781
|
+
*/
|
|
6782
|
+
export declare interface IAlertingDialogAttributeProps {
|
|
6783
|
+
/**
|
|
6784
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
6785
|
+
*/
|
|
6786
|
+
id: string;
|
|
6787
|
+
/**
|
|
6788
|
+
* Disables the select. The default dialog disables it when the dialog has no insight to pick measures from.
|
|
6789
|
+
*/
|
|
6790
|
+
disabled?: boolean;
|
|
6791
|
+
/**
|
|
6792
|
+
* The attribute the condition is sliced by; undefined for the whole measure.
|
|
6793
|
+
*/
|
|
6794
|
+
selectedAttribute: AlertAttribute | undefined;
|
|
6795
|
+
/**
|
|
6796
|
+
* The attribute element the condition is sliced to; null for the empty value, undefined for all values.
|
|
6797
|
+
*/
|
|
6798
|
+
selectedValue: string | null | undefined;
|
|
6799
|
+
/**
|
|
6800
|
+
* Called with the picked attribute and value; `(undefined, undefined)` clears the slice.
|
|
6801
|
+
*/
|
|
6802
|
+
onAttributeChange: (attribute: AlertAttribute | undefined, value: AttributeValue | undefined) => void;
|
|
6803
|
+
/**
|
|
6804
|
+
* The insight's attributes; the select offers the non-date ones and renders nothing when there is none.
|
|
6805
|
+
*/
|
|
6806
|
+
attributes: AlertAttribute[];
|
|
6807
|
+
/**
|
|
6808
|
+
* The workspace catalog's attributes, to resolve titles and display forms.
|
|
6809
|
+
*/
|
|
6810
|
+
catalogAttributes: ICatalogAttribute[];
|
|
6811
|
+
/**
|
|
6812
|
+
* The workspace catalog's date datasets, to resolve date attributes.
|
|
6813
|
+
*/
|
|
6814
|
+
catalogDateDatasets: ICatalogDateDataset[];
|
|
6815
|
+
/**
|
|
6816
|
+
* Distinct values of an attribute in the widget's execution result.
|
|
6817
|
+
*/
|
|
6818
|
+
getAttributeValues: (attribute: IAttributeMetadataObject) => AttributeValue[];
|
|
6819
|
+
/**
|
|
6820
|
+
* Disables the select while the execution result is loading.
|
|
6821
|
+
*/
|
|
6822
|
+
isResultLoading?: boolean;
|
|
6823
|
+
/**
|
|
6824
|
+
* Renders the select's own "For" label above the control. The default dialog passes false — the
|
|
6825
|
+
* form row carries the label.
|
|
6826
|
+
*/
|
|
6827
|
+
showLabel?: boolean;
|
|
6828
|
+
/**
|
|
6829
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
6830
|
+
*/
|
|
6831
|
+
closeOnParentScroll?: boolean;
|
|
6832
|
+
}
|
|
6833
|
+
|
|
6834
|
+
/**
|
|
6835
|
+
* Props of the default alerting dialog's comparison-operator field (the "Condition" row).
|
|
6836
|
+
*
|
|
6837
|
+
* @alpha
|
|
6838
|
+
*/
|
|
6839
|
+
export declare interface IAlertingDialogComparisonOperatorProps {
|
|
6840
|
+
/**
|
|
6841
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
6842
|
+
*/
|
|
6843
|
+
id: string;
|
|
6844
|
+
/**
|
|
6845
|
+
* The measure the condition targets; the select renders nothing without one.
|
|
6846
|
+
*/
|
|
6847
|
+
measure: AlertMetric | undefined;
|
|
6848
|
+
/**
|
|
6849
|
+
* Offers the anomaly-detection operators. The default dialog passes the conjunction of the
|
|
6850
|
+
* `enableAnomalyDetectionAlert` and `canUseAiAssistant` features; pass false to hide those
|
|
6851
|
+
* options.
|
|
6852
|
+
*/
|
|
6853
|
+
enableAnomalyDetectionAlert: boolean;
|
|
6854
|
+
/**
|
|
6855
|
+
* The operator of a fixed-threshold condition, when that is the condition type.
|
|
6856
|
+
*/
|
|
6857
|
+
selectedComparisonOperator: IAlertComparisonOperator | undefined;
|
|
6858
|
+
/**
|
|
6859
|
+
* The relative and arithmetic operators of a relative condition, when that is the condition type.
|
|
6860
|
+
*/
|
|
6861
|
+
selectedRelativeOperator: [IAlertRelativeOperator, IAlertRelativeArithmeticOperator] | undefined;
|
|
6862
|
+
/**
|
|
6863
|
+
* The operator id of an anomaly-detection condition, when that is the condition type.
|
|
6864
|
+
*/
|
|
6865
|
+
selectedAiOperator: AlertAiOperator | undefined;
|
|
6866
|
+
/**
|
|
6867
|
+
* Called when a fixed-threshold operator is picked.
|
|
6868
|
+
*/
|
|
6869
|
+
onComparisonOperatorChange: (measure: AlertMetric, comparisonOperator: IAlertComparisonOperator) => void;
|
|
6870
|
+
/**
|
|
6871
|
+
* Called when the anomaly-detection operator is picked.
|
|
6872
|
+
*/
|
|
6873
|
+
onAnomalyDetectionChange: (measure: AlertMetric) => void;
|
|
6874
|
+
/**
|
|
6875
|
+
* Called when a relative (change / difference) operator is picked.
|
|
6876
|
+
*/
|
|
6877
|
+
onRelativeOperatorChange: (measure: AlertMetric, relativeOperator: IAlertRelativeOperator, arithmeticOperator: IAlertRelativeArithmeticOperator) => void;
|
|
6878
|
+
/**
|
|
6879
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
6880
|
+
*/
|
|
6881
|
+
overlayPositionType?: OverlayPositionType;
|
|
6882
|
+
/**
|
|
6883
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
6884
|
+
*/
|
|
6885
|
+
closeOnParentScroll?: boolean;
|
|
6886
|
+
}
|
|
6887
|
+
|
|
6888
|
+
/**
|
|
6889
|
+
* Props of the default alerting dialog's comparison-period field (the "Compared to" row).
|
|
6890
|
+
*
|
|
6891
|
+
* @alpha
|
|
6892
|
+
*/
|
|
6893
|
+
export declare interface IAlertingDialogComparisonPeriodProps {
|
|
6894
|
+
/**
|
|
6895
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
6896
|
+
*/
|
|
6897
|
+
id: string;
|
|
6898
|
+
/**
|
|
6899
|
+
* The alert draft; the select renders nothing unless its condition is a change or difference.
|
|
6900
|
+
*/
|
|
6901
|
+
alert: IAutomationMetadataObjectDefinition | undefined;
|
|
6902
|
+
/**
|
|
6903
|
+
* The measure the condition targets, whose comparators are the options; with a single
|
|
6904
|
+
* comparator the select renders it as static text.
|
|
6905
|
+
*/
|
|
6906
|
+
measure: AlertMetric | undefined;
|
|
6907
|
+
/**
|
|
6908
|
+
* The selected period comparison.
|
|
6909
|
+
*/
|
|
6910
|
+
selectedComparison?: AlertMetricComparatorType;
|
|
6911
|
+
/**
|
|
6912
|
+
* The selected granularity of the period shift.
|
|
6913
|
+
*/
|
|
6914
|
+
selectedGranularity?: DateAttributeGranularity;
|
|
6915
|
+
/**
|
|
6916
|
+
* Called with the picked comparison and its granularity.
|
|
6917
|
+
*/
|
|
6918
|
+
onComparisonChange: (comparison: AlertMetricComparatorType, granularity?: DateAttributeGranularity) => void;
|
|
6919
|
+
/**
|
|
6920
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
6921
|
+
*/
|
|
6922
|
+
overlayPositionType?: OverlayPositionType;
|
|
6923
|
+
/**
|
|
6924
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
6925
|
+
*/
|
|
6926
|
+
closeOnParentScroll?: boolean;
|
|
6927
|
+
}
|
|
6928
|
+
|
|
6399
6929
|
/**
|
|
6400
6930
|
* Sub-context for the alerting create/edit dialog.
|
|
6401
6931
|
*
|
|
@@ -6451,6 +6981,54 @@ export declare interface IAlertingDialogFiltersProps extends IAutomationDialogFi
|
|
|
6451
6981
|
disableDateFilters: boolean;
|
|
6452
6982
|
}
|
|
6453
6983
|
|
|
6984
|
+
/**
|
|
6985
|
+
* Props of {@link AlertingDialogFormFieldGroup}.
|
|
6986
|
+
*
|
|
6987
|
+
* @alpha
|
|
6988
|
+
*/
|
|
6989
|
+
export declare interface IAlertingDialogFormFieldGroupProps {
|
|
6990
|
+
/**
|
|
6991
|
+
* The group heading in the label column — "When" (the condition) and "Do" (the action) in the default dialog.
|
|
6992
|
+
*/
|
|
6993
|
+
label: ReactNode;
|
|
6994
|
+
/**
|
|
6995
|
+
* The field rows of the group — {@link AlertingDialogMeasure} and its siblings.
|
|
6996
|
+
*/
|
|
6997
|
+
children: ReactNode;
|
|
6998
|
+
}
|
|
6999
|
+
|
|
7000
|
+
/**
|
|
7001
|
+
* Props of the default alerting dialog's granularity field (anomaly detection).
|
|
7002
|
+
*
|
|
7003
|
+
* @alpha
|
|
7004
|
+
*/
|
|
7005
|
+
export declare interface IAlertingDialogGranularityProps {
|
|
7006
|
+
/**
|
|
7007
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
7008
|
+
*/
|
|
7009
|
+
id: string;
|
|
7010
|
+
/**
|
|
7011
|
+
* Offers the `"HOUR"` granularity.
|
|
7012
|
+
*/
|
|
7013
|
+
allowHourlyRecurrence: boolean;
|
|
7014
|
+
/**
|
|
7015
|
+
* The anomaly-detection granularity; undefined renders as `"WEEK"`.
|
|
7016
|
+
*/
|
|
7017
|
+
selectedGranularity: IAlertAnomalyDetectionGranularity | undefined;
|
|
7018
|
+
/**
|
|
7019
|
+
* Called with the picked granularity.
|
|
7020
|
+
*/
|
|
7021
|
+
onGranularityChange: (granularity: IAlertAnomalyDetectionGranularity) => void;
|
|
7022
|
+
/**
|
|
7023
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
7024
|
+
*/
|
|
7025
|
+
overlayPositionType?: OverlayPositionType;
|
|
7026
|
+
/**
|
|
7027
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
7028
|
+
*/
|
|
7029
|
+
closeOnParentScroll?: boolean;
|
|
7030
|
+
}
|
|
7031
|
+
|
|
6454
7032
|
/**
|
|
6455
7033
|
* Props of the default alerting dialog's header region (the title input row).
|
|
6456
7034
|
*
|
|
@@ -6463,6 +7041,42 @@ export declare interface IAlertingDialogHeaderProps extends IAutomationDialogHea
|
|
|
6463
7041
|
onCancel?: () => void;
|
|
6464
7042
|
}
|
|
6465
7043
|
|
|
7044
|
+
/**
|
|
7045
|
+
* Props of the default alerting dialog's measure field (the "Metric" row).
|
|
7046
|
+
*
|
|
7047
|
+
* @alpha
|
|
7048
|
+
*/
|
|
7049
|
+
export declare interface IAlertingDialogMeasureProps {
|
|
7050
|
+
/**
|
|
7051
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
7052
|
+
*/
|
|
7053
|
+
id?: string;
|
|
7054
|
+
/**
|
|
7055
|
+
* Disables the select. The default dialog disables it when the dialog has no insight to pick measures from.
|
|
7056
|
+
*/
|
|
7057
|
+
disabled?: boolean;
|
|
7058
|
+
/**
|
|
7059
|
+
* The measure the condition targets; undefined shows the placeholder.
|
|
7060
|
+
*/
|
|
7061
|
+
selectedMeasure: AlertMetric | undefined;
|
|
7062
|
+
/**
|
|
7063
|
+
* Called with the picked measure.
|
|
7064
|
+
*/
|
|
7065
|
+
onMeasureChange: (measure: AlertMetric) => void;
|
|
7066
|
+
/**
|
|
7067
|
+
* The insight's measures an alert can be built on.
|
|
7068
|
+
*/
|
|
7069
|
+
measures: AlertMetric[];
|
|
7070
|
+
/**
|
|
7071
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
7072
|
+
*/
|
|
7073
|
+
overlayPositionType?: OverlayPositionType;
|
|
7074
|
+
/**
|
|
7075
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
7076
|
+
*/
|
|
7077
|
+
closeOnParentScroll?: boolean;
|
|
7078
|
+
}
|
|
7079
|
+
|
|
6466
7080
|
/**
|
|
6467
7081
|
* @alpha
|
|
6468
7082
|
*/
|
|
@@ -6545,62 +7159,227 @@ export declare interface IAlertingDialogProps {
|
|
|
6545
7159
|
}
|
|
6546
7160
|
|
|
6547
7161
|
/**
|
|
6548
|
-
*
|
|
7162
|
+
* Props of the default alerting dialog's sensitivity field (anomaly detection).
|
|
7163
|
+
*
|
|
7164
|
+
* @alpha
|
|
7165
|
+
*/
|
|
7166
|
+
export declare interface IAlertingDialogSensitivityProps {
|
|
7167
|
+
/**
|
|
7168
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
7169
|
+
*/
|
|
7170
|
+
id: string;
|
|
7171
|
+
/**
|
|
7172
|
+
* The anomaly-detection sensitivity; undefined renders as `"MEDIUM"`.
|
|
7173
|
+
*/
|
|
7174
|
+
selectedSensitivity: IAlertAnomalyDetectionSensitivity | undefined;
|
|
7175
|
+
/**
|
|
7176
|
+
* Called with the picked sensitivity.
|
|
7177
|
+
*/
|
|
7178
|
+
onSensitivityChange: (sensitivity: IAlertAnomalyDetectionSensitivity) => void;
|
|
7179
|
+
/**
|
|
7180
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
7181
|
+
*/
|
|
7182
|
+
overlayPositionType?: OverlayPositionType;
|
|
7183
|
+
/**
|
|
7184
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
7185
|
+
*/
|
|
7186
|
+
closeOnParentScroll?: boolean;
|
|
7187
|
+
}
|
|
7188
|
+
|
|
7189
|
+
/**
|
|
7190
|
+
* Props of {@link AlertingDialogShell}.
|
|
7191
|
+
*
|
|
7192
|
+
* @alpha
|
|
7193
|
+
*/
|
|
7194
|
+
export declare interface IAlertingDialogShellProps extends Pick<IAlertingDialogProps, "onCancel" | "onDeleteSuccess" | "onDeleteError"> {
|
|
7195
|
+
/**
|
|
7196
|
+
* The dialog's single submit — `submit` of the caller's {@link useAlertSubmit} instance. Drives the
|
|
7197
|
+
* footer's submit button and the Enter key on it. The shell does not own the submit hook, so a
|
|
7198
|
+
* caller's own Enter handler or button can share the same instance. Create the hook instance only
|
|
7199
|
+
* once the dialog context reports `isLoading: false`.
|
|
7200
|
+
*/
|
|
7201
|
+
onSubmit: () => void;
|
|
7202
|
+
/**
|
|
7203
|
+
* `isSaving` of the same {@link useAlertSubmit} instance: disables submit and Delete and shows the
|
|
7204
|
+
* footer's progress indicator.
|
|
7205
|
+
*/
|
|
7206
|
+
isSaving: boolean;
|
|
7207
|
+
/**
|
|
7208
|
+
* Header and action-bar overrides — the Level 1 slot contract ({@link IAlertingDialogSlots.Header},
|
|
7209
|
+
* {@link IAlertingDialogSlots.ActionBar}): each slot receives `{ Default, defaultProps }`, where
|
|
7210
|
+
* `defaultProps` are the shell's live values (the header's `onCancel` and initial-focus `ref`; the
|
|
7211
|
+
* action bar's `onSubmit`, `isSaving`, `onDelete`). Slot components need a stable reference identity —
|
|
7212
|
+
* see {@link @gooddata/sdk-ui-kit#ISlotProps}. The body regions have no slot here: place their blocks
|
|
7213
|
+
* ({@link AlertingDialogFilters} and siblings) as children instead.
|
|
7214
|
+
*/
|
|
7215
|
+
slots?: Pick<IAlertingDialogSlots, "Header" | "ActionBar">;
|
|
7216
|
+
/**
|
|
7217
|
+
* Rendered first inside the dialog's scrollable content area, above `children`.
|
|
7218
|
+
*/
|
|
7219
|
+
topContent?: ReactNode;
|
|
7220
|
+
/**
|
|
7221
|
+
* Rendered last inside the scrollable content area, below `children` and the dialog's warning and
|
|
7222
|
+
* validation messages.
|
|
7223
|
+
*/
|
|
7224
|
+
bottomContent?: ReactNode;
|
|
7225
|
+
/**
|
|
7226
|
+
* The body: the regions and fields, in the caller's order — {@link AlertingDialogFilters},
|
|
7227
|
+
* {@link AlertingDialogFormFieldGroup} with the condition and action blocks, and so on. Not mounted
|
|
7228
|
+
* while `useAlertingDialogContext().isLoading` is true (the shell shows its loading skeleton) or while
|
|
7229
|
+
* the stale-filters confirmation step is shown.
|
|
7230
|
+
*/
|
|
7231
|
+
children?: ReactNode;
|
|
7232
|
+
}
|
|
7233
|
+
|
|
7234
|
+
/**
|
|
7235
|
+
* Section-level overrides of the default alerting dialog.
|
|
7236
|
+
*
|
|
7237
|
+
* @alpha
|
|
7238
|
+
*/
|
|
7239
|
+
export declare interface IAlertingDialogSlots {
|
|
7240
|
+
/**
|
|
7241
|
+
* Wraps or replaces the dialog header (the title input row). Must have a stable reference
|
|
7242
|
+
* identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
7243
|
+
*/
|
|
7244
|
+
Header?: ComponentType<ISlotProps<AlertingDialogHeaderDefaultProps>>;
|
|
7245
|
+
/**
|
|
7246
|
+
* Wraps or replaces the dialog's filters region (the filter and parameter chips). Must have
|
|
7247
|
+
* a stable reference identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
7248
|
+
*
|
|
7249
|
+
* Renders only in the fully rendered dialog: not while the dialog context reports loading,
|
|
7250
|
+
* and not while the stale-filters confirmation step is shown.
|
|
7251
|
+
*
|
|
7252
|
+
* A replacement takes over computing the next filters array: `defaultProps.onFiltersChange`
|
|
7253
|
+
* expects the complete selection, so change/remove/add gestures must submit the whole
|
|
7254
|
+
* updated array, not a delta.
|
|
7255
|
+
*/
|
|
7256
|
+
Filters?: ComponentType<ISlotProps<IAlertingDialogFiltersProps>>;
|
|
7257
|
+
/**
|
|
7258
|
+
* Wraps or replaces the dialog's destination region (the "Action" row selecting the
|
|
7259
|
+
* notification channel). Must have a stable reference identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
7260
|
+
*
|
|
7261
|
+
* Renders only in the fully rendered dialog — not while the dialog context reports loading,
|
|
7262
|
+
* not while the stale-filters confirmation step is shown — **and only when more than one
|
|
7263
|
+
* notification channel exists**: with a single channel the default dialog hides the whole
|
|
7264
|
+
* row, and the slot with it.
|
|
7265
|
+
*/
|
|
7266
|
+
Destination?: ComponentType<ISlotProps<IAutomationDialogDestinationProps>>;
|
|
7267
|
+
/**
|
|
7268
|
+
* Wraps or replaces the dialog's recipients region. Must have a stable reference identity —
|
|
7269
|
+
* see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
7270
|
+
*
|
|
7271
|
+
* Renders only in the fully rendered dialog: not while the dialog context reports loading,
|
|
7272
|
+
* and not while the stale-filters confirmation step is shown.
|
|
7273
|
+
*/
|
|
7274
|
+
Recipients?: ComponentType<ISlotProps<IAutomationDialogRecipientsProps>>;
|
|
7275
|
+
/**
|
|
7276
|
+
* Wraps or replaces the dialog's action bar (the footer row: documentation link, Delete in
|
|
7277
|
+
* edit mode, Cancel and the submit button). Must have a stable reference identity — see
|
|
7278
|
+
* {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
7279
|
+
*
|
|
7280
|
+
* Renders only in the fully rendered dialog: not while the dialog context reports loading
|
|
7281
|
+
* (the loading dialog keeps its own footer), and not while the stale-filters confirmation
|
|
7282
|
+
* step is shown.
|
|
7283
|
+
*
|
|
7284
|
+
* A replacement that does not render `Default` loses the submit button's Enter-key detection
|
|
7285
|
+
* id (Enter no longer submits), the validation aria wiring, and the default row's ordering.
|
|
7286
|
+
* Wraps that render `<Default {...defaultProps} />` keep everything; note the Enter-key path
|
|
7287
|
+
* invokes the dialog's own submit handler and disabled state, so `defaultProps` overrides
|
|
7288
|
+
* affect the buttons only.
|
|
7289
|
+
*/
|
|
7290
|
+
ActionBar?: ComponentType<ISlotProps<IAutomationDialogActionBarProps>>;
|
|
7291
|
+
}
|
|
7292
|
+
|
|
7293
|
+
/**
|
|
7294
|
+
* Props of the default alerting dialog's threshold field (the "Threshold" row).
|
|
7295
|
+
*
|
|
7296
|
+
* @alpha
|
|
7297
|
+
*/
|
|
7298
|
+
export declare interface IAlertingDialogThresholdProps {
|
|
7299
|
+
/**
|
|
7300
|
+
* Id of the input; the form row's label and the error message point at it.
|
|
7301
|
+
*/
|
|
7302
|
+
id: string;
|
|
7303
|
+
/**
|
|
7304
|
+
* The threshold shown; undefined for an empty input.
|
|
7305
|
+
*/
|
|
7306
|
+
value: number | undefined;
|
|
7307
|
+
/**
|
|
7308
|
+
* Called with the raw input value on every keystroke.
|
|
7309
|
+
*/
|
|
7310
|
+
onChange: (value: string | number) => void;
|
|
7311
|
+
/**
|
|
7312
|
+
* Called on blur; the default dialog rounds the value to the measure's format here.
|
|
7313
|
+
*/
|
|
7314
|
+
onBlur: (event: FocusEvent_2<HTMLInputElement>) => void;
|
|
7315
|
+
/**
|
|
7316
|
+
* Unit shown after the input — `"%"` for a change condition.
|
|
7317
|
+
*/
|
|
7318
|
+
suffix?: string;
|
|
7319
|
+
/**
|
|
7320
|
+
* Validation message shown under the input; undefined when there is none.
|
|
7321
|
+
*/
|
|
7322
|
+
errorMessage?: string;
|
|
7323
|
+
}
|
|
7324
|
+
|
|
7325
|
+
/**
|
|
7326
|
+
* Props of the default alerting dialog's trigger-interval field (the "Interval" row).
|
|
7327
|
+
*
|
|
7328
|
+
* @alpha
|
|
7329
|
+
*/
|
|
7330
|
+
export declare interface IAlertingDialogTriggerIntervalProps {
|
|
7331
|
+
/**
|
|
7332
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
7333
|
+
*/
|
|
7334
|
+
id: string;
|
|
7335
|
+
/**
|
|
7336
|
+
* The interval of a `"ONCE_PER_INTERVAL"` trigger.
|
|
7337
|
+
*/
|
|
7338
|
+
selectedTriggerInterval: IAlertTriggerInterval;
|
|
7339
|
+
/**
|
|
7340
|
+
* Called with the picked interval.
|
|
7341
|
+
*/
|
|
7342
|
+
onTriggerIntervalChange: (triggerInterval: IAlertTriggerInterval) => void;
|
|
7343
|
+
/**
|
|
7344
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
7345
|
+
*/
|
|
7346
|
+
overlayPositionType?: OverlayPositionType;
|
|
7347
|
+
/**
|
|
7348
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
7349
|
+
*/
|
|
7350
|
+
closeOnParentScroll?: boolean;
|
|
7351
|
+
}
|
|
7352
|
+
|
|
7353
|
+
/**
|
|
7354
|
+
* Props of the default alerting dialog's trigger-mode field (the "Trigger" row).
|
|
6549
7355
|
*
|
|
6550
7356
|
* @alpha
|
|
6551
7357
|
*/
|
|
6552
|
-
export declare interface
|
|
7358
|
+
export declare interface IAlertingDialogTriggerModeProps {
|
|
6553
7359
|
/**
|
|
6554
|
-
*
|
|
6555
|
-
* identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
7360
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
6556
7361
|
*/
|
|
6557
|
-
|
|
7362
|
+
id: string;
|
|
6558
7363
|
/**
|
|
6559
|
-
*
|
|
6560
|
-
* a stable reference identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
6561
|
-
*
|
|
6562
|
-
* Renders only in the fully rendered dialog: not while the dialog context reports loading,
|
|
6563
|
-
* and not while the stale-filters confirmation step is shown.
|
|
6564
|
-
*
|
|
6565
|
-
* A replacement takes over computing the next filters array: `defaultProps.onFiltersChange`
|
|
6566
|
-
* expects the complete selection, so change/remove/add gestures must submit the whole
|
|
6567
|
-
* updated array, not a delta.
|
|
7364
|
+
* When the alert fires: `"ALWAYS"`, `"ONCE"` or `"ONCE_PER_INTERVAL"`.
|
|
6568
7365
|
*/
|
|
6569
|
-
|
|
7366
|
+
selectedTriggerMode: IAlertTriggerMode;
|
|
6570
7367
|
/**
|
|
6571
|
-
*
|
|
6572
|
-
* notification channel). Must have a stable reference identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
6573
|
-
*
|
|
6574
|
-
* Renders only in the fully rendered dialog — not while the dialog context reports loading,
|
|
6575
|
-
* not while the stale-filters confirmation step is shown — **and only when more than one
|
|
6576
|
-
* notification channel exists**: with a single channel the default dialog hides the whole
|
|
6577
|
-
* row, and the slot with it.
|
|
7368
|
+
* Called with the picked mode.
|
|
6578
7369
|
*/
|
|
6579
|
-
|
|
7370
|
+
onTriggerModeChange: (triggerMode: IAlertTriggerMode) => void;
|
|
6580
7371
|
/**
|
|
6581
|
-
*
|
|
6582
|
-
* see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
6583
|
-
*
|
|
6584
|
-
* Renders only in the fully rendered dialog: not while the dialog context reports loading,
|
|
6585
|
-
* and not while the stale-filters confirmation step is shown.
|
|
7372
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
6586
7373
|
*/
|
|
6587
|
-
|
|
7374
|
+
overlayPositionType?: OverlayPositionType;
|
|
6588
7375
|
/**
|
|
6589
|
-
*
|
|
6590
|
-
* edit mode, Cancel and the submit button). Must have a stable reference identity — see
|
|
6591
|
-
* {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
6592
|
-
*
|
|
6593
|
-
* Renders only in the fully rendered dialog: not while the dialog context reports loading
|
|
6594
|
-
* (the loading dialog keeps its own footer), and not while the stale-filters confirmation
|
|
6595
|
-
* step is shown.
|
|
6596
|
-
*
|
|
6597
|
-
* A replacement that does not render `Default` loses the submit button's Enter-key detection
|
|
6598
|
-
* id (Enter no longer submits), the validation aria wiring, and the default row's ordering.
|
|
6599
|
-
* Wraps that render `<Default {...defaultProps} />` keep everything; note the Enter-key path
|
|
6600
|
-
* invokes the dialog's own submit handler and disabled state, so `defaultProps` overrides
|
|
6601
|
-
* affect the buttons only.
|
|
7376
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
6602
7377
|
*/
|
|
6603
|
-
|
|
7378
|
+
closeOnParentScroll?: boolean;
|
|
7379
|
+
/**
|
|
7380
|
+
* Offers `"ONCE_PER_INTERVAL"`; the default dialog passes the feature flag.
|
|
7381
|
+
*/
|
|
7382
|
+
enableAlertOncePerInterval?: boolean;
|
|
6604
7383
|
}
|
|
6605
7384
|
|
|
6606
7385
|
/**
|
|
@@ -6623,6 +7402,18 @@ export declare interface IAlertingManagementDialogContextValue {
|
|
|
6623
7402
|
automationsInvalidationId?: number;
|
|
6624
7403
|
isEmbedded: boolean;
|
|
6625
7404
|
enableAccessibilityMode: boolean;
|
|
7405
|
+
/**
|
|
7406
|
+
* Alerts visible in the management dialog, scoped to the current dashboard context.
|
|
7407
|
+
*/
|
|
7408
|
+
automations: IAutomationMetadataObject[];
|
|
7409
|
+
/**
|
|
7410
|
+
* True while the automation list is still loading.
|
|
7411
|
+
*
|
|
7412
|
+
* The automations load only — deliberately narrower than the scheduled-email management
|
|
7413
|
+
* context's flag, which also folds in a widget-filters load that has no bearing on a
|
|
7414
|
+
* management list.
|
|
7415
|
+
*/
|
|
7416
|
+
isLoading: boolean;
|
|
6626
7417
|
getWidgetByRef: (ref: ObjRef | undefined) => IWidget | undefined;
|
|
6627
7418
|
getInsightByWidgetRef: (ref: ObjRef | undefined) => IInsight | undefined;
|
|
6628
7419
|
pauseAlert(alert: IAutomationMetadataObject): Promise<IAutomationMetadataObject>;
|
|
@@ -7029,6 +7820,30 @@ export declare interface IAutomationDialogFiltersProps {
|
|
|
7029
7820
|
onParameterDelete: (ref: IdentifierRef) => void;
|
|
7030
7821
|
}
|
|
7031
7822
|
|
|
7823
|
+
/**
|
|
7824
|
+
* Props of {@link AutomationDialogFormField}: a labelled form row of the automation dialogs.
|
|
7825
|
+
*
|
|
7826
|
+
* @alpha
|
|
7827
|
+
*/
|
|
7828
|
+
export declare interface IAutomationDialogFormFieldProps {
|
|
7829
|
+
/**
|
|
7830
|
+
* The row's label, rendered in a `<label>` on the left.
|
|
7831
|
+
*/
|
|
7832
|
+
label: ReactNode;
|
|
7833
|
+
/**
|
|
7834
|
+
* The control, rendered on the right.
|
|
7835
|
+
*/
|
|
7836
|
+
children: ReactNode;
|
|
7837
|
+
/**
|
|
7838
|
+
* The id of the control the label is for.
|
|
7839
|
+
*/
|
|
7840
|
+
htmlFor?: string;
|
|
7841
|
+
/**
|
|
7842
|
+
* Lets the control span the full row width instead of the default control column.
|
|
7843
|
+
*/
|
|
7844
|
+
fullWidth?: boolean;
|
|
7845
|
+
}
|
|
7846
|
+
|
|
7032
7847
|
/**
|
|
7033
7848
|
* Members shared by both automation dialogs' header regions.
|
|
7034
7849
|
*
|
|
@@ -18385,6 +19200,79 @@ export declare interface IScheduledEmailDialogContextValue {
|
|
|
18385
19200
|
isLoading: boolean;
|
|
18386
19201
|
}
|
|
18387
19202
|
|
|
19203
|
+
/**
|
|
19204
|
+
* Props of the scheduled-export dialog's dashboard-attachments field.
|
|
19205
|
+
*
|
|
19206
|
+
* @alpha
|
|
19207
|
+
*/
|
|
19208
|
+
export declare interface IScheduledEmailDialogDashboardAttachmentsProps {
|
|
19209
|
+
/**
|
|
19210
|
+
* The selected export formats.
|
|
19211
|
+
*/
|
|
19212
|
+
selectedAttachments: DashboardAttachmentType[];
|
|
19213
|
+
/**
|
|
19214
|
+
* Dashboard filters the export is scoped to; the control passes them back as the second
|
|
19215
|
+
* argument of every {@link IScheduledEmailDialogDashboardAttachmentsProps.onDashboardAttachmentsChange}
|
|
19216
|
+
* call.
|
|
19217
|
+
*/
|
|
19218
|
+
dashboardFilters?: FilterContextItem[];
|
|
19219
|
+
/**
|
|
19220
|
+
* When true and at least one attachment is selected, the control shows the notice that
|
|
19221
|
+
* exports do not reflect cross-filtering.
|
|
19222
|
+
*/
|
|
19223
|
+
isCrossFiltering: boolean;
|
|
19224
|
+
/**
|
|
19225
|
+
* Replaces the selected dashboard export formats. Called with the complete new selection and
|
|
19226
|
+
* the current {@link IScheduledEmailDialogDashboardAttachmentsProps.dashboardFilters}.
|
|
19227
|
+
*/
|
|
19228
|
+
onDashboardAttachmentsChange: (formats: DashboardAttachmentType[], filters?: FilterContextItem[]) => void;
|
|
19229
|
+
/**
|
|
19230
|
+
* XLSX export settings shown in the attachment's settings editor.
|
|
19231
|
+
*/
|
|
19232
|
+
xlsxSettings: IExportDefinitionVisualizationObjectSettings;
|
|
19233
|
+
/**
|
|
19234
|
+
* Sets the XLSX export settings.
|
|
19235
|
+
*/
|
|
19236
|
+
onXlsxSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
19237
|
+
/**
|
|
19238
|
+
* Whether the slide-based formats (PPTX, PDF slides) are offered; when false they are
|
|
19239
|
+
* excluded from the add-attachment options.
|
|
19240
|
+
*/
|
|
19241
|
+
isSlidesExportEnabled: boolean;
|
|
19242
|
+
/**
|
|
19243
|
+
* Export templates offered in the template picker of the slide-based formats.
|
|
19244
|
+
*/
|
|
19245
|
+
exportTemplates?: IExportTemplate[];
|
|
19246
|
+
/**
|
|
19247
|
+
* The template chosen per slide-based format; undefined where the default template applies.
|
|
19248
|
+
*/
|
|
19249
|
+
slidesTemplateIds?: {
|
|
19250
|
+
PPTX?: string;
|
|
19251
|
+
PDF_SLIDES?: string;
|
|
19252
|
+
PDF?: string;
|
|
19253
|
+
};
|
|
19254
|
+
/**
|
|
19255
|
+
* Sets the export template of one slide-based format.
|
|
19256
|
+
*/
|
|
19257
|
+
onSlidesTemplateIdChange?: (templateId: string | undefined, format: "PPTX" | "PDF_SLIDES" | "PDF") => void;
|
|
19258
|
+
}
|
|
19259
|
+
|
|
19260
|
+
/**
|
|
19261
|
+
* Props of the scheduled-export dialog's evaluation-mode checkbox.
|
|
19262
|
+
*
|
|
19263
|
+
* @alpha
|
|
19264
|
+
*/
|
|
19265
|
+
export declare interface IScheduledEmailDialogEvaluationModeProps {
|
|
19266
|
+
/**
|
|
19267
|
+
* Whether the evaluation mode is SHARED.
|
|
19268
|
+
*/
|
|
19269
|
+
isShared: boolean;
|
|
19270
|
+
/**
|
|
19271
|
+
* Switches between a shared and a per-recipient evaluation of the export.
|
|
19272
|
+
*/
|
|
19273
|
+
onChange: (isShared: boolean) => void;
|
|
19274
|
+
}
|
|
19275
|
+
|
|
18388
19276
|
/**
|
|
18389
19277
|
* Props of the default scheduled email dialog's filters region (the Filters tab content).
|
|
18390
19278
|
*
|
|
@@ -18469,6 +19357,22 @@ export declare interface IScheduledEmailDialogHeaderProps extends IAutomationDia
|
|
|
18469
19357
|
onBack?: () => void;
|
|
18470
19358
|
}
|
|
18471
19359
|
|
|
19360
|
+
/**
|
|
19361
|
+
* Props of the scheduled-export dialog's message field.
|
|
19362
|
+
*
|
|
19363
|
+
* @alpha
|
|
19364
|
+
*/
|
|
19365
|
+
export declare interface IScheduledEmailDialogMessageProps {
|
|
19366
|
+
/**
|
|
19367
|
+
* The e-mail message text.
|
|
19368
|
+
*/
|
|
19369
|
+
value: string;
|
|
19370
|
+
/**
|
|
19371
|
+
* Sets the e-mail message; `isValid` is the field's own length verdict.
|
|
19372
|
+
*/
|
|
19373
|
+
onChange: (value: string, isValid: boolean) => void;
|
|
19374
|
+
}
|
|
19375
|
+
|
|
18472
19376
|
/**
|
|
18473
19377
|
* @alpha
|
|
18474
19378
|
*/
|
|
@@ -18605,6 +19509,120 @@ export declare interface IScheduledEmailDialogRecipientsProps extends IAutomatio
|
|
|
18605
19509
|
onKeyDownSubmit: (e: KeyboardEvent_2) => void;
|
|
18606
19510
|
}
|
|
18607
19511
|
|
|
19512
|
+
/**
|
|
19513
|
+
* Props of the scheduled-export dialog's recurrence field.
|
|
19514
|
+
*
|
|
19515
|
+
* @alpha
|
|
19516
|
+
*/
|
|
19517
|
+
export declare interface IScheduledEmailDialogRecurrenceProps {
|
|
19518
|
+
/**
|
|
19519
|
+
* First-run date the cron editor is anchored to.
|
|
19520
|
+
*/
|
|
19521
|
+
startDate: Date;
|
|
19522
|
+
/**
|
|
19523
|
+
* The draft's cron expression.
|
|
19524
|
+
*/
|
|
19525
|
+
cronExpression: string;
|
|
19526
|
+
/**
|
|
19527
|
+
* Human-readable description of the cron expression, when the draft carries one.
|
|
19528
|
+
*/
|
|
19529
|
+
cronDescription?: string;
|
|
19530
|
+
/**
|
|
19531
|
+
* Display-only timezone label shown in the occurrence description.
|
|
19532
|
+
*/
|
|
19533
|
+
timezone: string;
|
|
19534
|
+
/**
|
|
19535
|
+
* Date format used by the first-run date picker.
|
|
19536
|
+
*/
|
|
19537
|
+
dateFormat: string;
|
|
19538
|
+
/**
|
|
19539
|
+
* Locale of the recurrence editor.
|
|
19540
|
+
*/
|
|
19541
|
+
locale: string;
|
|
19542
|
+
/**
|
|
19543
|
+
* First day of the week in the date picker.
|
|
19544
|
+
*/
|
|
19545
|
+
weekStart: WeekStart;
|
|
19546
|
+
/**
|
|
19547
|
+
* Whether the hourly recurrence option is offered.
|
|
19548
|
+
*/
|
|
19549
|
+
allowHourlyRecurrence: boolean;
|
|
19550
|
+
/**
|
|
19551
|
+
* Hides GoodData-specific copy when white-labeled.
|
|
19552
|
+
*/
|
|
19553
|
+
isWhiteLabeled: boolean;
|
|
19554
|
+
/**
|
|
19555
|
+
* Closes the recurrence dropdowns when the dialog body scrolls.
|
|
19556
|
+
*/
|
|
19557
|
+
closeDropdownsOnParentScroll: boolean;
|
|
19558
|
+
/**
|
|
19559
|
+
* Sets the cron expression and first run; `isValid` is the recurrence form's own verdict.
|
|
19560
|
+
*/
|
|
19561
|
+
onChange: (cronExpression: string, startDate: Date | null, isValid: boolean) => void;
|
|
19562
|
+
/**
|
|
19563
|
+
* Key-down handler; the dialog submits on Enter through it.
|
|
19564
|
+
*/
|
|
19565
|
+
onKeyDownSubmit: (event: KeyboardEvent_2) => void;
|
|
19566
|
+
}
|
|
19567
|
+
|
|
19568
|
+
/**
|
|
19569
|
+
* Props of {@link ScheduledEmailDialogShell}.
|
|
19570
|
+
*
|
|
19571
|
+
* @alpha
|
|
19572
|
+
*/
|
|
19573
|
+
export declare interface IScheduledEmailDialogShellProps extends Pick<IScheduledEmailDialogProps, "onCancel" | "onBack" | "onDeleteSuccess" | "onDeleteError"> {
|
|
19574
|
+
/**
|
|
19575
|
+
* The dialog's single save — `handleSaveScheduledEmail` of the caller's
|
|
19576
|
+
* {@link useSaveScheduledEmailToBackend} instance. Drives the footer's submit button, the Enter key on
|
|
19577
|
+
* it, and the header's Enter-to-submit. (Not the `onSubmit` observer of {@link IScheduledEmailDialogProps};
|
|
19578
|
+
* that one goes to the save hook.) The shell does not own the save hook, so the caller's own Enter
|
|
19579
|
+
* handlers — {@link useScheduledEmailSubmitOnEnter} — share the same instance. Create the hook instance
|
|
19580
|
+
* only once the dialog context reports `isLoading: false`.
|
|
19581
|
+
*/
|
|
19582
|
+
onSubmit: () => void;
|
|
19583
|
+
/**
|
|
19584
|
+
* `isSavingScheduledEmail` of the same instance: disables submit and Delete and shows the footer's
|
|
19585
|
+
* progress indicator.
|
|
19586
|
+
*/
|
|
19587
|
+
isSaving: boolean;
|
|
19588
|
+
/**
|
|
19589
|
+
* `savingErrorMessage` of the same instance; shown as the body's error message, ahead of the form's
|
|
19590
|
+
* validation message.
|
|
19591
|
+
*/
|
|
19592
|
+
savingErrorMessage?: string;
|
|
19593
|
+
/**
|
|
19594
|
+
* Header, action-bar and Filters-tab overrides — the Level 1 slot contract
|
|
19595
|
+
* ({@link IScheduledEmailDialogSlots.Header}, {@link IScheduledEmailDialogSlots.ActionBar},
|
|
19596
|
+
* {@link IScheduledEmailDialogSlots.Filters}): each slot receives `{ Default, defaultProps }` with the
|
|
19597
|
+
* shell's live values. Slot components need a stable reference identity — see
|
|
19598
|
+
* {@link @gooddata/sdk-ui-kit#ISlotProps}. `Filters` is ignored when `filtersTabContent` is passed. The
|
|
19599
|
+
* General-tab regions have no slot here: place their blocks ({@link ScheduledEmailDialogDestination} and
|
|
19600
|
+
* siblings) as children instead.
|
|
19601
|
+
*/
|
|
19602
|
+
slots?: Pick<IScheduledEmailDialogSlots, "Header" | "ActionBar" | "Filters">;
|
|
19603
|
+
/**
|
|
19604
|
+
* Rendered first inside the dialog's scrollable content area, above the selected tab's content.
|
|
19605
|
+
*/
|
|
19606
|
+
topContent?: ReactNode;
|
|
19607
|
+
/**
|
|
19608
|
+
* Rendered last inside the scrollable content area, below the selected tab's content.
|
|
19609
|
+
*/
|
|
19610
|
+
bottomContent?: ReactNode;
|
|
19611
|
+
/**
|
|
19612
|
+
* The General tab's content: the regions and fields, in the caller's order. Rendered only while the
|
|
19613
|
+
* General tab is selected; not mounted while `useScheduledEmailDialogContext().isLoading` is true (the
|
|
19614
|
+
* shell shows its loading skeleton — on scheduled email the ordinary path while a widget export's
|
|
19615
|
+
* filters load) or while the stale-filters confirmation step is shown.
|
|
19616
|
+
*/
|
|
19617
|
+
children?: ReactNode;
|
|
19618
|
+
/**
|
|
19619
|
+
* The Filters tab's content. Defaults to the dialog's filters region ({@link DefaultScheduledEmailDialogFilters}
|
|
19620
|
+
* with {@link useScheduledEmailDialogFiltersProps}, or the `Filters` slot). Rendered only while the Filters
|
|
19621
|
+
* tab is selected. An explicit `null` counts as provided and renders an empty Filters tab.
|
|
19622
|
+
*/
|
|
19623
|
+
filtersTabContent?: ReactNode;
|
|
19624
|
+
}
|
|
19625
|
+
|
|
18608
19626
|
/**
|
|
18609
19627
|
* Section-level overrides of the default scheduled email dialog.
|
|
18610
19628
|
*
|
|
@@ -18674,34 +19692,136 @@ export declare interface IScheduledEmailDialogSlots {
|
|
|
18674
19692
|
* invokes the dialog's own submit handler and disabled state, so `defaultProps` overrides
|
|
18675
19693
|
* affect the buttons only.
|
|
18676
19694
|
*/
|
|
18677
|
-
ActionBar?: ComponentType<ISlotProps<IAutomationDialogActionBarProps>>;
|
|
18678
|
-
}
|
|
18679
|
-
|
|
18680
|
-
/**
|
|
18681
|
-
* Props of the
|
|
18682
|
-
*
|
|
18683
|
-
*
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
19695
|
+
ActionBar?: ComponentType<ISlotProps<IAutomationDialogActionBarProps>>;
|
|
19696
|
+
}
|
|
19697
|
+
|
|
19698
|
+
/**
|
|
19699
|
+
* Props of the scheduled-export dialog's subject field.
|
|
19700
|
+
*
|
|
19701
|
+
* @alpha
|
|
19702
|
+
*/
|
|
19703
|
+
export declare interface IScheduledEmailDialogSubjectProps {
|
|
19704
|
+
/**
|
|
19705
|
+
* Dashboard title, used as the subject placeholder (truncated to the title max length).
|
|
19706
|
+
*/
|
|
19707
|
+
dashboardTitle: string;
|
|
19708
|
+
/**
|
|
19709
|
+
* The export draft; the field renders `details.subject`.
|
|
19710
|
+
*/
|
|
19711
|
+
editedAutomation: IAutomationMetadataObjectDefinition;
|
|
19712
|
+
/**
|
|
19713
|
+
* Disables submit-on-Enter while the dialog is not submittable.
|
|
19714
|
+
*/
|
|
19715
|
+
isSubmitDisabled?: boolean;
|
|
19716
|
+
/**
|
|
19717
|
+
* Sets the e-mail subject; `isValid` is the field's own length verdict.
|
|
19718
|
+
*/
|
|
19719
|
+
onChange: (value: string, isValid: boolean) => void;
|
|
19720
|
+
/**
|
|
19721
|
+
* Called on Enter when submit is not disabled.
|
|
19722
|
+
*/
|
|
19723
|
+
onKeyDownSubmit: () => void;
|
|
19724
|
+
}
|
|
19725
|
+
|
|
19726
|
+
/**
|
|
19727
|
+
* Props of the default scheduled email dialog's "Time zone" section (the export-content timezone
|
|
19728
|
+
* picker on the General tab; unrelated to the schedule cron timezone).
|
|
19729
|
+
*
|
|
19730
|
+
* @alpha
|
|
19731
|
+
*/
|
|
19732
|
+
export declare interface IScheduledEmailDialogTimezoneProps {
|
|
19733
|
+
/**
|
|
19734
|
+
* Whether the dialog schedules a single-widget export. Widget schedules always show a concrete
|
|
19735
|
+
* resolved timezone — they have no Default option, because the backend cannot derive anything
|
|
19736
|
+
* dashboard-scoped for them.
|
|
19737
|
+
*/
|
|
19738
|
+
isWidget: boolean;
|
|
19739
|
+
/**
|
|
19740
|
+
* Current selection; an undefined id is the Default option (dashboard schedules only).
|
|
19741
|
+
*/
|
|
19742
|
+
selection: IScheduleTimezoneSelection;
|
|
19743
|
+
/**
|
|
19744
|
+
* Concrete timezone the Default option currently resolves to (display only).
|
|
19745
|
+
*/
|
|
19746
|
+
defaultResolvedTimezone: string | undefined;
|
|
19747
|
+
/**
|
|
19748
|
+
* Called with the picked timezone; undefined selects the Default option.
|
|
19749
|
+
*/
|
|
19750
|
+
onTimezoneChange: (timezoneId: string | undefined) => void;
|
|
19751
|
+
}
|
|
19752
|
+
|
|
19753
|
+
/**
|
|
19754
|
+
* Props of the scheduled-export dialog's widget-attachments field.
|
|
19755
|
+
*
|
|
19756
|
+
* @alpha
|
|
19757
|
+
*/
|
|
19758
|
+
export declare interface IScheduledEmailDialogWidgetAttachmentsProps {
|
|
19759
|
+
/**
|
|
19760
|
+
* The selected export formats.
|
|
19761
|
+
*/
|
|
19762
|
+
selectedAttachments: WidgetAttachmentType[];
|
|
19763
|
+
/**
|
|
19764
|
+
* Replaces the selected widget export formats with the complete new selection.
|
|
19765
|
+
*/
|
|
19766
|
+
onWidgetAttachmentsChange: (formats: WidgetAttachmentType[]) => void;
|
|
19767
|
+
/**
|
|
19768
|
+
* XLSX export settings shown in the attachment's settings editor.
|
|
19769
|
+
*/
|
|
19770
|
+
xlsxSettings: IExportDefinitionVisualizationObjectSettings;
|
|
19771
|
+
/**
|
|
19772
|
+
* Sets the XLSX export settings.
|
|
19773
|
+
*/
|
|
19774
|
+
onXlsxSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
19775
|
+
/**
|
|
19776
|
+
* Tabular-PDF export settings shown in the attachment's settings editor.
|
|
19777
|
+
*/
|
|
19778
|
+
pdfSettings: IExportDefinitionVisualizationObjectSettings;
|
|
19779
|
+
/**
|
|
19780
|
+
* Sets the tabular-PDF export settings.
|
|
19781
|
+
*/
|
|
19782
|
+
onPdfSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
19783
|
+
/**
|
|
19784
|
+
* CSV export settings shown in the attachment's settings editor.
|
|
19785
|
+
*/
|
|
19786
|
+
csvSettings: IExportDefinitionVisualizationObjectSettings;
|
|
18687
19787
|
/**
|
|
18688
|
-
*
|
|
18689
|
-
* resolved timezone — they have no Default option, because the backend cannot derive anything
|
|
18690
|
-
* dashboard-scoped for them.
|
|
19788
|
+
* Sets the CSV export settings.
|
|
18691
19789
|
*/
|
|
18692
|
-
|
|
19790
|
+
onCsvSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
18693
19791
|
/**
|
|
18694
|
-
*
|
|
19792
|
+
* Raw-CSV export settings shown in the attachment's settings editor.
|
|
18695
19793
|
*/
|
|
18696
|
-
|
|
19794
|
+
csvRawSettings: IExportDefinitionVisualizationObjectSettings;
|
|
18697
19795
|
/**
|
|
18698
|
-
*
|
|
19796
|
+
* Sets the raw-CSV export settings.
|
|
18699
19797
|
*/
|
|
18700
|
-
|
|
19798
|
+
onCsvRawSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
18701
19799
|
/**
|
|
18702
|
-
*
|
|
19800
|
+
* Whether the slide-based formats (PPTX, PDF) are offered; when false they are excluded
|
|
19801
|
+
* from the add-attachment options.
|
|
18703
19802
|
*/
|
|
18704
|
-
|
|
19803
|
+
isSlidesExportEnabled: boolean;
|
|
19804
|
+
/**
|
|
19805
|
+
* When true, formats without an accessible rendering (PDF_TABULAR) are excluded from the
|
|
19806
|
+
* add-attachment options.
|
|
19807
|
+
*/
|
|
19808
|
+
isAccessibilityModeEnabled: boolean;
|
|
19809
|
+
/**
|
|
19810
|
+
* Export templates offered in the template picker of the slide-based formats.
|
|
19811
|
+
*/
|
|
19812
|
+
exportTemplates?: IExportTemplate[];
|
|
19813
|
+
/**
|
|
19814
|
+
* The template chosen per slide-based format; undefined where the default template applies.
|
|
19815
|
+
*/
|
|
19816
|
+
slidesTemplateIds?: {
|
|
19817
|
+
PPTX?: string;
|
|
19818
|
+
PDF_SLIDES?: string;
|
|
19819
|
+
PDF?: string;
|
|
19820
|
+
};
|
|
19821
|
+
/**
|
|
19822
|
+
* Sets the export template of one slide-based format.
|
|
19823
|
+
*/
|
|
19824
|
+
onSlidesTemplateIdChange?: (templateId: string | undefined, format: "PPTX" | "PDF_SLIDES" | "PDF") => void;
|
|
18705
19825
|
}
|
|
18706
19826
|
|
|
18707
19827
|
/**
|
|
@@ -22345,6 +23465,47 @@ export declare interface IUseScheduledEmailDialogRecipientsPropsInput {
|
|
|
22345
23465
|
onKeyDownSubmit: (event: KeyboardEvent_2) => void;
|
|
22346
23466
|
}
|
|
22347
23467
|
|
|
23468
|
+
/**
|
|
23469
|
+
* Inputs of {@link useScheduledEmailDialogRecurrenceProps} that come from the dialog rather than its state.
|
|
23470
|
+
*
|
|
23471
|
+
* @alpha
|
|
23472
|
+
*/
|
|
23473
|
+
export declare interface IUseScheduledEmailDialogRecurrencePropsInput {
|
|
23474
|
+
/**
|
|
23475
|
+
* Key-down handler of the recurrence inputs; the dialog submits on Enter through it.
|
|
23476
|
+
*/
|
|
23477
|
+
onKeyDownSubmit: (event: KeyboardEvent_2) => void;
|
|
23478
|
+
}
|
|
23479
|
+
|
|
23480
|
+
/**
|
|
23481
|
+
* Inputs of {@link useScheduledEmailDialogSubjectProps} that come from the dialog rather than its state.
|
|
23482
|
+
*
|
|
23483
|
+
* @alpha
|
|
23484
|
+
*/
|
|
23485
|
+
export declare interface IUseScheduledEmailDialogSubjectPropsInput {
|
|
23486
|
+
/**
|
|
23487
|
+
* Called on Enter in the subject input when submit is not disabled.
|
|
23488
|
+
*/
|
|
23489
|
+
onKeyDownSubmit: () => void;
|
|
23490
|
+
}
|
|
23491
|
+
|
|
23492
|
+
/**
|
|
23493
|
+
* Inputs of {@link useScheduledEmailSubmitOnEnter} — the dialog's single save, from one
|
|
23494
|
+
* {@link useSaveScheduledEmailToBackend} instance.
|
|
23495
|
+
*
|
|
23496
|
+
* @alpha
|
|
23497
|
+
*/
|
|
23498
|
+
export declare interface IUseScheduledEmailSubmitOnEnterInput {
|
|
23499
|
+
/**
|
|
23500
|
+
* `handleSaveScheduledEmail` of the dialog's {@link useSaveScheduledEmailToBackend} instance.
|
|
23501
|
+
*/
|
|
23502
|
+
onSubmit: () => void;
|
|
23503
|
+
/**
|
|
23504
|
+
* `isSavingScheduledEmail` of the same instance; Enter does nothing while a save is in flight.
|
|
23505
|
+
*/
|
|
23506
|
+
isSaving: boolean;
|
|
23507
|
+
}
|
|
23508
|
+
|
|
22348
23509
|
/**
|
|
22349
23510
|
* @internal
|
|
22350
23511
|
*/
|
|
@@ -22375,6 +23536,39 @@ export declare interface IUseWidgetSelectionResult {
|
|
|
22375
23536
|
hasConfigPanelOpen: boolean;
|
|
22376
23537
|
}
|
|
22377
23538
|
|
|
23539
|
+
/**
|
|
23540
|
+
* What {@link useWorkspaceUsersSearch} returns.
|
|
23541
|
+
*
|
|
23542
|
+
* @alpha
|
|
23543
|
+
*/
|
|
23544
|
+
export declare interface IUseWorkspaceUsersSearchResult {
|
|
23545
|
+
/**
|
|
23546
|
+
* The current, not yet debounced, search string.
|
|
23547
|
+
*/
|
|
23548
|
+
search: string;
|
|
23549
|
+
/**
|
|
23550
|
+
* The workspace users of the last settled query; undefined until the first query settles.
|
|
23551
|
+
*/
|
|
23552
|
+
users: IWorkspaceUser[] | undefined;
|
|
23553
|
+
/**
|
|
23554
|
+
* The last query's error, if it failed.
|
|
23555
|
+
*/
|
|
23556
|
+
usersError: GoodDataSdkError | undefined;
|
|
23557
|
+
/**
|
|
23558
|
+
* True while the search debounce window or a query is open.
|
|
23559
|
+
*/
|
|
23560
|
+
isLoading: boolean;
|
|
23561
|
+
/**
|
|
23562
|
+
* Sets the search string; the query fires after a 300 ms debounce.
|
|
23563
|
+
*/
|
|
23564
|
+
onSearch: (search: string) => void;
|
|
23565
|
+
/**
|
|
23566
|
+
* Starts the first fetch — nothing loads on mount until this is called (wire it to the
|
|
23567
|
+
* control's open/focus). After an error it doubles as retry.
|
|
23568
|
+
*/
|
|
23569
|
+
onActivate: () => void;
|
|
23570
|
+
}
|
|
23571
|
+
|
|
22378
23572
|
/**
|
|
22379
23573
|
* Set of functions you can use to customize some aspects of the VisualizationSwitcher.
|
|
22380
23574
|
*
|
|
@@ -25050,6 +26244,20 @@ export declare function ScheduledEmailDialogActionBar(props: IScheduledEmailDial
|
|
|
25050
26244
|
*/
|
|
25051
26245
|
export declare const ScheduledEmailDialogContextProvider: Provider<IScheduledEmailDialogContextValue | undefined>;
|
|
25052
26246
|
|
|
26247
|
+
/**
|
|
26248
|
+
* The scheduled-export dialog's dashboard-attachments field, connected to the dialog's state.
|
|
26249
|
+
*
|
|
26250
|
+
* Renders {@link DefaultScheduledEmailDialogDashboardAttachments} with the props of
|
|
26251
|
+
* {@link useScheduledEmailDialogDashboardAttachmentsProps}; every prop passed here replaces the
|
|
26252
|
+
* hook's value for that prop wholesale. Renders nothing while
|
|
26253
|
+
* `useScheduledEmailDialogContext().isLoading` is true and when the dialog context has a `widget`
|
|
26254
|
+
* (a widget schedule renders {@link ScheduledEmailDialogWidgetAttachments} instead), the same
|
|
26255
|
+
* visibility the default dialog gives the field.
|
|
26256
|
+
*
|
|
26257
|
+
* @alpha
|
|
26258
|
+
*/
|
|
26259
|
+
export declare function ScheduledEmailDialogDashboardAttachments(props: Partial<IScheduledEmailDialogDashboardAttachmentsProps>): ReactElement;
|
|
26260
|
+
|
|
25053
26261
|
/**
|
|
25054
26262
|
* The scheduled-export dialog's destination region (the notification-channel select), connected to
|
|
25055
26263
|
* the dialog's state.
|
|
@@ -25062,6 +26270,20 @@ export declare const ScheduledEmailDialogContextProvider: Provider<IScheduledEma
|
|
|
25062
26270
|
*/
|
|
25063
26271
|
export declare function ScheduledEmailDialogDestination(overrides: Partial<IAutomationDialogDestinationProps>): JSX.Element;
|
|
25064
26272
|
|
|
26273
|
+
/**
|
|
26274
|
+
* The scheduled-export dialog's evaluation-mode checkbox, connected to the dialog's state.
|
|
26275
|
+
*
|
|
26276
|
+
* Renders {@link DefaultScheduledEmailDialogEvaluationMode} with the props of
|
|
26277
|
+
* {@link useScheduledEmailDialogEvaluationModeProps}; every prop passed here replaces the hook's
|
|
26278
|
+
* value for that prop wholesale. Renders nothing while
|
|
26279
|
+
* `useScheduledEmailDialogContext().isLoading` is true and while
|
|
26280
|
+
* `useAutomationsContext().features.enableAutomationEvaluationMode` is off, the same visibility the
|
|
26281
|
+
* default dialog gives the field.
|
|
26282
|
+
*
|
|
26283
|
+
* @alpha
|
|
26284
|
+
*/
|
|
26285
|
+
export declare function ScheduledEmailDialogEvaluationMode(props: Partial<IScheduledEmailDialogEvaluationModeProps>): ReactElement;
|
|
26286
|
+
|
|
25065
26287
|
/**
|
|
25066
26288
|
* The scheduled-export dialog's filters region (the filter and parameter chips, flat or per tab),
|
|
25067
26289
|
* connected to the dialog's state.
|
|
@@ -25104,6 +26326,19 @@ export declare type ScheduledEmailDialogHeaderDefaultProps = IScheduledEmailDial
|
|
|
25104
26326
|
ref?: Ref<HTMLInputElement>;
|
|
25105
26327
|
};
|
|
25106
26328
|
|
|
26329
|
+
/**
|
|
26330
|
+
* The scheduled-export dialog's message field, connected to the dialog's state.
|
|
26331
|
+
*
|
|
26332
|
+
* Renders {@link DefaultScheduledEmailDialogMessage} with the props of
|
|
26333
|
+
* {@link useScheduledEmailDialogMessageProps}; every prop passed here replaces the hook's value for
|
|
26334
|
+
* that prop wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true
|
|
26335
|
+
* and for an in-platform notification channel (which has no e-mail message), the same visibility
|
|
26336
|
+
* the default dialog gives the field.
|
|
26337
|
+
*
|
|
26338
|
+
* @alpha
|
|
26339
|
+
*/
|
|
26340
|
+
export declare function ScheduledEmailDialogMessage(props: Partial<IScheduledEmailDialogMessageProps>): ReactElement;
|
|
26341
|
+
|
|
25107
26342
|
/**
|
|
25108
26343
|
* The scheduled-export dialog's recipients region, connected to the dialog's state.
|
|
25109
26344
|
*
|
|
@@ -25118,6 +26353,91 @@ export declare type ScheduledEmailDialogHeaderDefaultProps = IScheduledEmailDial
|
|
|
25118
26353
|
*/
|
|
25119
26354
|
export declare function ScheduledEmailDialogRecipients(props: Partial<IScheduledEmailDialogRecipientsProps>): JSX.Element;
|
|
25120
26355
|
|
|
26356
|
+
/**
|
|
26357
|
+
* The scheduled-export dialog's recurrence field, connected to the dialog's state.
|
|
26358
|
+
*
|
|
26359
|
+
* Renders {@link DefaultScheduledEmailDialogRecurrence} with the props of
|
|
26360
|
+
* {@link useScheduledEmailDialogRecurrenceProps}; every prop passed here replaces the hook's value
|
|
26361
|
+
* for that prop wholesale. Pass `onKeyDownSubmit` to submit on Enter from the recurrence inputs —
|
|
26362
|
+
* the default dialog passes its save action; without it Enter does nothing here. Renders nothing
|
|
26363
|
+
* while `useScheduledEmailDialogContext().isLoading` is true; otherwise ungated, unlike the other
|
|
26364
|
+
* General-tab fields.
|
|
26365
|
+
*
|
|
26366
|
+
* @alpha
|
|
26367
|
+
*/
|
|
26368
|
+
export declare function ScheduledEmailDialogRecurrence(props: Partial<IScheduledEmailDialogRecurrenceProps>): ReactElement;
|
|
26369
|
+
|
|
26370
|
+
/**
|
|
26371
|
+
* The scheduled-export dialog's chrome, connected to the dialog's state: the modal overlay, the dialog
|
|
26372
|
+
* frame with the header row (the back button and the title input) and the action bar, the General and
|
|
26373
|
+
* Filters tabs, the scrollable content area around the selected tab's content, the body's error and
|
|
26374
|
+
* validation messages, the stale-filters confirmation step shown before the dialog when the saved filters
|
|
26375
|
+
* or schedule timezone no longer match the dashboard, and the delete confirmation reached from the
|
|
26376
|
+
* action bar in edit mode. While `useScheduledEmailDialogContext().isLoading` is true — on scheduled
|
|
26377
|
+
* email the ordinary path while a widget export's filters load — it renders the loading skeleton and
|
|
26378
|
+
* none of its children.
|
|
26379
|
+
*
|
|
26380
|
+
* The default dialog is `<ScheduledEmailDialogShell>` around the region blocks and form; a custom
|
|
26381
|
+
* `ScheduledEmailDialogComponent` that keeps this chrome and arranges the blocks differently renders the
|
|
26382
|
+
* shell itself. The shell does not own the save: call {@link useSaveScheduledEmailToBackend} and pass its
|
|
26383
|
+
* `handleSaveScheduledEmail`, `isSavingScheduledEmail` and `savingErrorMessage`; build Enter handlers for
|
|
26384
|
+
* the blocks you place with {@link useScheduledEmailSubmitOnEnter} over the same `handleSaveScheduledEmail`.
|
|
26385
|
+
* Call that hook only once `useScheduledEmailDialogContext().isLoading` is false — the state hooks throw
|
|
26386
|
+
* while the dialog loads — and render the shell alone (any `onSubmit`, `isSaving: false`) until then, as
|
|
26387
|
+
* the example does.
|
|
26388
|
+
*
|
|
26389
|
+
* Needs an ambient `IntlProvider`; inside a `Dashboard` the dashboard's provider covers it.
|
|
26390
|
+
*
|
|
26391
|
+
* @example
|
|
26392
|
+
* ```tsx
|
|
26393
|
+
* function MyScheduledEmailDialog(props: IScheduledEmailDialogProps) {
|
|
26394
|
+
* const { isLoading } = useScheduledEmailDialogContext();
|
|
26395
|
+
* // the state hooks throw while the dialog loads; the shell renders the loading skeleton
|
|
26396
|
+
* if (isLoading) {
|
|
26397
|
+
* return <ScheduledEmailDialogShell {...props} onSubmit={() => {}} isSaving={false} />;
|
|
26398
|
+
* }
|
|
26399
|
+
* return <MyScheduledEmailDialogBody {...props} />;
|
|
26400
|
+
* }
|
|
26401
|
+
*
|
|
26402
|
+
* function MyScheduledEmailDialogBody(props: IScheduledEmailDialogProps) {
|
|
26403
|
+
* const { handleSaveScheduledEmail, isSavingScheduledEmail, savingErrorMessage } =
|
|
26404
|
+
* useSaveScheduledEmailToBackend(props);
|
|
26405
|
+
* const submitOnEnter = useScheduledEmailSubmitOnEnter({
|
|
26406
|
+
* onSubmit: handleSaveScheduledEmail,
|
|
26407
|
+
* isSaving: isSavingScheduledEmail,
|
|
26408
|
+
* });
|
|
26409
|
+
* return (
|
|
26410
|
+
* <ScheduledEmailDialogShell
|
|
26411
|
+
* {...props}
|
|
26412
|
+
* onSubmit={handleSaveScheduledEmail}
|
|
26413
|
+
* isSaving={isSavingScheduledEmail}
|
|
26414
|
+
* savingErrorMessage={savingErrorMessage}
|
|
26415
|
+
* >
|
|
26416
|
+
* <ScheduledEmailDialogDestination />
|
|
26417
|
+
* <ScheduledEmailDialogRecipients onKeyDownSubmit={submitOnEnter} />
|
|
26418
|
+
* </ScheduledEmailDialogShell>
|
|
26419
|
+
* );
|
|
26420
|
+
* }
|
|
26421
|
+
* ```
|
|
26422
|
+
*
|
|
26423
|
+
* @alpha
|
|
26424
|
+
*/
|
|
26425
|
+
export declare function ScheduledEmailDialogShell(props: IScheduledEmailDialogShellProps): ReactElement;
|
|
26426
|
+
|
|
26427
|
+
/**
|
|
26428
|
+
* The scheduled-export dialog's subject field, connected to the dialog's state.
|
|
26429
|
+
*
|
|
26430
|
+
* Renders {@link DefaultScheduledEmailDialogSubject} with the props of
|
|
26431
|
+
* {@link useScheduledEmailDialogSubjectProps}; every prop passed here replaces the hook's value for
|
|
26432
|
+
* that prop wholesale. Pass `onKeyDownSubmit` to submit on Enter from the subject input — the
|
|
26433
|
+
* default dialog passes its save action; without it Enter does nothing here. Renders nothing while
|
|
26434
|
+
* `useScheduledEmailDialogContext().isLoading` is true and for an in-platform notification channel
|
|
26435
|
+
* (which has no e-mail subject), the same visibility the default dialog gives the field.
|
|
26436
|
+
*
|
|
26437
|
+
* @alpha
|
|
26438
|
+
*/
|
|
26439
|
+
export declare function ScheduledEmailDialogSubject(props: Partial<IScheduledEmailDialogSubjectProps>): ReactElement;
|
|
26440
|
+
|
|
25121
26441
|
/**
|
|
25122
26442
|
* The scheduled-export dialog's "Time zone" section (the export-content timezone picker), connected
|
|
25123
26443
|
* to the dialog's state.
|
|
@@ -25139,6 +26459,20 @@ export declare function ScheduledEmailDialogTimezone(overrides: Partial<Schedule
|
|
|
25139
26459
|
*/
|
|
25140
26460
|
export declare type ScheduledEmailDialogTimezoneDefaultProps = IScheduledEmailDialogTimezoneProps;
|
|
25141
26461
|
|
|
26462
|
+
/**
|
|
26463
|
+
* The scheduled-export dialog's widget-attachments field, connected to the dialog's state.
|
|
26464
|
+
*
|
|
26465
|
+
* Renders {@link DefaultScheduledEmailDialogWidgetAttachments} with the props of
|
|
26466
|
+
* {@link useScheduledEmailDialogWidgetAttachmentsProps}; every prop passed here replaces the hook's
|
|
26467
|
+
* value for that prop wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading`
|
|
26468
|
+
* is true and when the dialog context has no `widget` (a dashboard schedule renders
|
|
26469
|
+
* {@link ScheduledEmailDialogDashboardAttachments} instead), the same visibility the default dialog
|
|
26470
|
+
* gives the field.
|
|
26471
|
+
*
|
|
26472
|
+
* @alpha
|
|
26473
|
+
*/
|
|
26474
|
+
export declare function ScheduledEmailDialogWidgetAttachments(props: Partial<IScheduledEmailDialogWidgetAttachmentsProps>): ReactElement;
|
|
26475
|
+
|
|
25142
26476
|
/**
|
|
25143
26477
|
* @internal
|
|
25144
26478
|
*/
|
|
@@ -26816,23 +28150,21 @@ export declare const selectExecutionResultLimitBreaksByRef: (ref: ObjRef | undef
|
|
|
26816
28150
|
export declare const selectExecutionTimestamp: DashboardSelector<string | undefined>;
|
|
26817
28151
|
|
|
26818
28152
|
/**
|
|
26819
|
-
* Returns the per-tab parameter overrides to send on dashboard
|
|
26820
|
-
*
|
|
28153
|
+
* Returns the per-tab parameter overrides to send on dashboard export, keyed by tab
|
|
28154
|
+
* `localIdentifier`. The shape matches the backend's `dashboardTabsParametersOverrides`
|
|
26821
28155
|
* field directly.
|
|
26822
28156
|
*
|
|
26823
28157
|
* @remarks
|
|
26824
|
-
*
|
|
26825
|
-
*
|
|
26826
|
-
*
|
|
26827
|
-
* - When `widgetIds` is non-empty,
|
|
26828
|
-
*
|
|
26829
|
-
*
|
|
26830
|
-
* map entry per owning tab; entries for the same tab are unioned and deduplicated by ref.
|
|
28158
|
+
* The request sends every `runtimeOverride` entry of each tab in scope; the query drops the
|
|
28159
|
+
* parameters a widget's metrics do not use.
|
|
28160
|
+
* - When `widgetIds` is empty/undefined (whole-dashboard export), every tab is in scope.
|
|
28161
|
+
* - When `widgetIds` is non-empty, only the owning tabs of those widgets are in scope. Send only
|
|
28162
|
+
* these tabs. A non-empty map tells the backend that the map is complete, and the backend then
|
|
28163
|
+
* does not resolve pinned values for any tab.
|
|
26831
28164
|
*
|
|
26832
28165
|
* Returns `{}` (signalling "omit the field on the wire") when:
|
|
26833
28166
|
* - `enableParameters` is off,
|
|
26834
28167
|
* - the workspace catalog parameters are not loaded,
|
|
26835
|
-
* - (widget scope only) the `measureParameters` dependency map is not loaded,
|
|
26836
28168
|
* - or no in-scope parameter has a `runtimeOverride`.
|
|
26837
28169
|
*
|
|
26838
28170
|
* @alpha
|
|
@@ -30376,6 +31708,39 @@ export declare function useAlertFilters(): IAlertFiltersContextValue;
|
|
|
30376
31708
|
*/
|
|
30377
31709
|
export declare function useAlertingDialogActionBarProps({ onCancel, onSubmit, isSaving, onDelete }: IUseAlertingDialogActionBarPropsInput): IAutomationDialogActionBarProps;
|
|
30378
31710
|
|
|
31711
|
+
/**
|
|
31712
|
+
* The exact props the default alerting dialog renders its attribute field with.
|
|
31713
|
+
*
|
|
31714
|
+
* Throws outside the alerting dialog's state providers.
|
|
31715
|
+
*
|
|
31716
|
+
* @alpha
|
|
31717
|
+
*/
|
|
31718
|
+
export declare function useAlertingDialogAttributeProps(): IAlertingDialogAttributeProps;
|
|
31719
|
+
|
|
31720
|
+
/**
|
|
31721
|
+
* The exact props the default alerting dialog renders its comparison-operator field with.
|
|
31722
|
+
*
|
|
31723
|
+
* `enableAnomalyDetectionAlert` is the conjunction of the `enableAnomalyDetectionAlert` and
|
|
31724
|
+
* `canUseAiAssistant` features.
|
|
31725
|
+
*
|
|
31726
|
+
* Throws outside the alerting dialog's state providers.
|
|
31727
|
+
*
|
|
31728
|
+
* @alpha
|
|
31729
|
+
*/
|
|
31730
|
+
export declare function useAlertingDialogComparisonOperatorProps(): IAlertingDialogComparisonOperatorProps;
|
|
31731
|
+
|
|
31732
|
+
/**
|
|
31733
|
+
* The exact props the default alerting dialog renders its comparison-period field with.
|
|
31734
|
+
*
|
|
31735
|
+
* `onComparisonChange` closes over the selected measure (and relative operator), so it takes only
|
|
31736
|
+
* the field's value.
|
|
31737
|
+
*
|
|
31738
|
+
* Throws outside the alerting dialog's state providers.
|
|
31739
|
+
*
|
|
31740
|
+
* @alpha
|
|
31741
|
+
*/
|
|
31742
|
+
export declare function useAlertingDialogComparisonPeriodProps(): IAlertingDialogComparisonPeriodProps;
|
|
31743
|
+
|
|
30379
31744
|
/**
|
|
30380
31745
|
* Reads the alerting create/edit dialog context.
|
|
30381
31746
|
*
|
|
@@ -30408,6 +31773,18 @@ export declare function useAlertingDialogDestinationProps(): IAutomationDialogDe
|
|
|
30408
31773
|
*/
|
|
30409
31774
|
export declare function useAlertingDialogFiltersProps(): IAlertingDialogFiltersProps;
|
|
30410
31775
|
|
|
31776
|
+
/**
|
|
31777
|
+
* The exact props the default alerting dialog renders its granularity field with.
|
|
31778
|
+
*
|
|
31779
|
+
* `onGranularityChange` closes over the selected measure (and relative operator), so it takes only
|
|
31780
|
+
* the field's value.
|
|
31781
|
+
*
|
|
31782
|
+
* Throws outside the alerting dialog's state providers.
|
|
31783
|
+
*
|
|
31784
|
+
* @alpha
|
|
31785
|
+
*/
|
|
31786
|
+
export declare function useAlertingDialogGranularityProps(): IAlertingDialogGranularityProps;
|
|
31787
|
+
|
|
30411
31788
|
/**
|
|
30412
31789
|
* The exact props the default alerting dialog renders its header region with.
|
|
30413
31790
|
*
|
|
@@ -30417,6 +31794,15 @@ export declare function useAlertingDialogFiltersProps(): IAlertingDialogFiltersP
|
|
|
30417
31794
|
*/
|
|
30418
31795
|
export declare function useAlertingDialogHeaderProps({ onCancel, ref }: IUseAlertingDialogHeaderPropsInput): AlertingDialogHeaderDefaultProps;
|
|
30419
31796
|
|
|
31797
|
+
/**
|
|
31798
|
+
* The exact props the default alerting dialog renders its measure field with.
|
|
31799
|
+
*
|
|
31800
|
+
* Throws outside the alerting dialog's state providers.
|
|
31801
|
+
*
|
|
31802
|
+
* @alpha
|
|
31803
|
+
*/
|
|
31804
|
+
export declare function useAlertingDialogMeasureProps(): IAlertingDialogMeasureProps;
|
|
31805
|
+
|
|
30420
31806
|
/**
|
|
30421
31807
|
* The exact props the default alerting dialog renders its recipients region with.
|
|
30422
31808
|
*
|
|
@@ -30426,6 +31812,46 @@ export declare function useAlertingDialogHeaderProps({ onCancel, ref }: IUseAler
|
|
|
30426
31812
|
*/
|
|
30427
31813
|
export declare function useAlertingDialogRecipientsProps(): IAutomationDialogRecipientsProps;
|
|
30428
31814
|
|
|
31815
|
+
/**
|
|
31816
|
+
* The exact props the default alerting dialog renders its sensitivity field with.
|
|
31817
|
+
*
|
|
31818
|
+
* Throws outside the alerting dialog's state providers.
|
|
31819
|
+
*
|
|
31820
|
+
* @alpha
|
|
31821
|
+
*/
|
|
31822
|
+
export declare function useAlertingDialogSensitivityProps(): IAlertingDialogSensitivityProps;
|
|
31823
|
+
|
|
31824
|
+
/**
|
|
31825
|
+
* The exact props the default alerting dialog renders its threshold field with.
|
|
31826
|
+
*
|
|
31827
|
+
* Owns the field's state: its effect auto-computes the threshold of a new alert from the measure's
|
|
31828
|
+
* current value and clears it for a relative operator, writing the draft. **Call it once per
|
|
31829
|
+
* dialog** — through {@link AlertingDialogThreshold}, which is that mount in the default dialog and
|
|
31830
|
+
* in a shell of blocks, or directly, never both. Throws outside the alerting dialog's state
|
|
31831
|
+
* providers.
|
|
31832
|
+
*
|
|
31833
|
+
* @alpha
|
|
31834
|
+
*/
|
|
31835
|
+
export declare function useAlertingDialogThresholdProps(): IAlertingDialogThresholdProps;
|
|
31836
|
+
|
|
31837
|
+
/**
|
|
31838
|
+
* The exact props the default alerting dialog renders its trigger-interval field with.
|
|
31839
|
+
*
|
|
31840
|
+
* Throws outside the alerting dialog's state providers.
|
|
31841
|
+
*
|
|
31842
|
+
* @alpha
|
|
31843
|
+
*/
|
|
31844
|
+
export declare function useAlertingDialogTriggerIntervalProps(): IAlertingDialogTriggerIntervalProps;
|
|
31845
|
+
|
|
31846
|
+
/**
|
|
31847
|
+
* The exact props the default alerting dialog renders its trigger-mode field with.
|
|
31848
|
+
*
|
|
31849
|
+
* Throws outside the alerting dialog's state providers.
|
|
31850
|
+
*
|
|
31851
|
+
* @alpha
|
|
31852
|
+
*/
|
|
31853
|
+
export declare function useAlertingDialogTriggerModeProps(): IAlertingDialogTriggerModeProps;
|
|
31854
|
+
|
|
30429
31855
|
/**
|
|
30430
31856
|
* Reads the alerting management dialog context.
|
|
30431
31857
|
*
|
|
@@ -31479,6 +32905,15 @@ export declare function useScheduledEmailDialogActionBarProps({ onCancel, onSubm
|
|
|
31479
32905
|
*/
|
|
31480
32906
|
export declare function useScheduledEmailDialogContext(): IScheduledEmailDialogContextValue;
|
|
31481
32907
|
|
|
32908
|
+
/**
|
|
32909
|
+
* The exact props the default scheduled-email dialog renders its dashboard-attachments field with.
|
|
32910
|
+
*
|
|
32911
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32912
|
+
*
|
|
32913
|
+
* @alpha
|
|
32914
|
+
*/
|
|
32915
|
+
export declare function useScheduledEmailDialogDashboardAttachmentsProps(): IScheduledEmailDialogDashboardAttachmentsProps;
|
|
32916
|
+
|
|
31482
32917
|
/**
|
|
31483
32918
|
* The exact props the default scheduled-email dialog renders its destination region with.
|
|
31484
32919
|
*
|
|
@@ -31488,6 +32923,15 @@ export declare function useScheduledEmailDialogContext(): IScheduledEmailDialogC
|
|
|
31488
32923
|
*/
|
|
31489
32924
|
export declare function useScheduledEmailDialogDestinationProps(): IAutomationDialogDestinationProps;
|
|
31490
32925
|
|
|
32926
|
+
/**
|
|
32927
|
+
* The exact props the default scheduled-email dialog renders its evaluation-mode checkbox with.
|
|
32928
|
+
*
|
|
32929
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32930
|
+
*
|
|
32931
|
+
* @alpha
|
|
32932
|
+
*/
|
|
32933
|
+
export declare function useScheduledEmailDialogEvaluationModeProps(): IScheduledEmailDialogEvaluationModeProps;
|
|
32934
|
+
|
|
31491
32935
|
/**
|
|
31492
32936
|
* The exact props the default scheduled-email dialog renders its filters region with.
|
|
31493
32937
|
*
|
|
@@ -31506,6 +32950,15 @@ export declare function useScheduledEmailDialogFiltersProps(): IScheduledEmailDi
|
|
|
31506
32950
|
*/
|
|
31507
32951
|
export declare function useScheduledEmailDialogHeaderProps({ onBack, onTitleKeyDown, ref }: IUseScheduledEmailDialogHeaderPropsInput): ScheduledEmailDialogHeaderDefaultProps;
|
|
31508
32952
|
|
|
32953
|
+
/**
|
|
32954
|
+
* The exact props the default scheduled-email dialog renders its message field with.
|
|
32955
|
+
*
|
|
32956
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32957
|
+
*
|
|
32958
|
+
* @alpha
|
|
32959
|
+
*/
|
|
32960
|
+
export declare function useScheduledEmailDialogMessageProps(): IScheduledEmailDialogMessageProps;
|
|
32961
|
+
|
|
31509
32962
|
/**
|
|
31510
32963
|
* The exact props the default scheduled-email dialog renders its recipients region with.
|
|
31511
32964
|
*
|
|
@@ -31515,6 +32968,24 @@ export declare function useScheduledEmailDialogHeaderProps({ onBack, onTitleKeyD
|
|
|
31515
32968
|
*/
|
|
31516
32969
|
export declare function useScheduledEmailDialogRecipientsProps({ onKeyDownSubmit }: IUseScheduledEmailDialogRecipientsPropsInput): IScheduledEmailDialogRecipientsProps;
|
|
31517
32970
|
|
|
32971
|
+
/**
|
|
32972
|
+
* The exact props the default scheduled-email dialog renders its recurrence field with.
|
|
32973
|
+
*
|
|
32974
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32975
|
+
*
|
|
32976
|
+
* @alpha
|
|
32977
|
+
*/
|
|
32978
|
+
export declare function useScheduledEmailDialogRecurrenceProps({ onKeyDownSubmit }: IUseScheduledEmailDialogRecurrencePropsInput): IScheduledEmailDialogRecurrenceProps;
|
|
32979
|
+
|
|
32980
|
+
/**
|
|
32981
|
+
* The exact props the default scheduled-email dialog renders its subject field with.
|
|
32982
|
+
*
|
|
32983
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32984
|
+
*
|
|
32985
|
+
* @alpha
|
|
32986
|
+
*/
|
|
32987
|
+
export declare function useScheduledEmailDialogSubjectProps({ onKeyDownSubmit }: IUseScheduledEmailDialogSubjectPropsInput): IScheduledEmailDialogSubjectProps;
|
|
32988
|
+
|
|
31518
32989
|
/**
|
|
31519
32990
|
* The exact props the default scheduled-email dialog renders its "Time zone" section with.
|
|
31520
32991
|
*
|
|
@@ -31524,6 +32995,15 @@ export declare function useScheduledEmailDialogRecipientsProps({ onKeyDownSubmit
|
|
|
31524
32995
|
*/
|
|
31525
32996
|
export declare function useScheduledEmailDialogTimezoneProps(): ScheduledEmailDialogTimezoneDefaultProps;
|
|
31526
32997
|
|
|
32998
|
+
/**
|
|
32999
|
+
* The exact props the default scheduled-email dialog renders its widget-attachments field with.
|
|
33000
|
+
*
|
|
33001
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
33002
|
+
*
|
|
33003
|
+
* @alpha
|
|
33004
|
+
*/
|
|
33005
|
+
export declare function useScheduledEmailDialogWidgetAttachmentsProps(): IScheduledEmailDialogWidgetAttachmentsProps;
|
|
33006
|
+
|
|
31527
33007
|
/**
|
|
31528
33008
|
* Reads the scheduled-email management dialog context.
|
|
31529
33009
|
*
|
|
@@ -31538,6 +33018,19 @@ export declare function useScheduledEmailDialogTimezoneProps(): ScheduledEmailDi
|
|
|
31538
33018
|
*/
|
|
31539
33019
|
export declare function useScheduledEmailManagementDialogContext(): IScheduledEmailManagementDialogContextValue;
|
|
31540
33020
|
|
|
33021
|
+
/**
|
|
33022
|
+
* The Enter-to-submit key handler the default scheduled-export dialog attaches to its title, recipients
|
|
33023
|
+
* and recurrence inputs: calls `onSubmit` on Enter unless the submit button would be disabled — the same
|
|
33024
|
+
* guard {@link useScheduledEmailDialogActionBarProps} puts on the button (form validity, a save in
|
|
33025
|
+
* flight, execution-timestamp mode). Pass the result as `onTitleKeyDown` / `onKeyDownSubmit` to the
|
|
33026
|
+
* header and recipients blocks so every Enter path shares the dialog's one save.
|
|
33027
|
+
*
|
|
33028
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
33029
|
+
*
|
|
33030
|
+
* @alpha
|
|
33031
|
+
*/
|
|
33032
|
+
export declare function useScheduledEmailSubmitOnEnter({ onSubmit, isSaving }: IUseScheduledEmailSubmitOnEnterInput): (event: KeyboardEvent_2) => void;
|
|
33033
|
+
|
|
31541
33034
|
/**
|
|
31542
33035
|
* Reads the scheduled-export dialog's draft mutators.
|
|
31543
33036
|
*
|
|
@@ -31683,6 +33176,23 @@ export declare function useWidgetFilters(widget: FilterableDashboardWidget | und
|
|
|
31683
33176
|
*/
|
|
31684
33177
|
export declare function useWidgetSelection(widgetRef?: ObjRef): IUseWidgetSelectionResult;
|
|
31685
33178
|
|
|
33179
|
+
/**
|
|
33180
|
+
* Debounced workspace-user search for a recipients control.
|
|
33181
|
+
*
|
|
33182
|
+
* Queries the first 50 matching workspace users, 300 ms debounced, lazily: no request is made
|
|
33183
|
+
* until {@link IUseWorkspaceUsersSearchResult.onActivate} is called. Requires only the ambient
|
|
33184
|
+
* `BackendProvider` and `WorkspaceProvider` from `@gooddata/sdk-ui` — it reads no automation
|
|
33185
|
+
* context, so a custom recipients control can call it anywhere inside a `Dashboard` (or any
|
|
33186
|
+
* backend/workspace scope). The default recipients select of both automation dialogs is built
|
|
33187
|
+
* on it. Pass `enabled: false` to keep it inert (the default select does so when an external
|
|
33188
|
+
* recipient override or a logged-user-only constraint removes server search).
|
|
33189
|
+
*
|
|
33190
|
+
* @alpha
|
|
33191
|
+
*/
|
|
33192
|
+
export declare function useWorkspaceUsersSearch({ enabled }: {
|
|
33193
|
+
enabled: boolean;
|
|
33194
|
+
}): IUseWorkspaceUsersSearchResult;
|
|
33195
|
+
|
|
31686
33196
|
/**
|
|
31687
33197
|
* @internal
|
|
31688
33198
|
*/
|