@gooddata/sdk-ui-dashboard 11.55.0-alpha.0 → 11.55.0-alpha.2
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/_staging/metadata/objRefMap.d.ts +11 -0
- package/esm/_staging/metadata/objRefMap.d.ts.map +1 -1
- package/esm/_staging/metadata/objRefMap.js +19 -1
- package/esm/index.d.ts +70 -7
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +62 -2
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +4 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +10 -7
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +17 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +50 -0
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts +4 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js +5 -3
- package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.js +5 -2
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +2 -2
- package/esm/model/commands/filters.d.ts +3 -3
- package/esm/model/store/config/configSelectors.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +9 -1
- package/esm/model/store/dashboardStore.d.ts +2 -0
- package/esm/model/store/dashboardStore.d.ts.map +1 -1
- package/esm/model/store/dashboardStore.js +2 -0
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +13 -9
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextReducers.js +28 -21
- package/esm/model/store/tabs/index.d.ts +136 -128
- package/esm/model/store/tabs/index.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +17 -4
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.js +32 -8
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts +29 -1
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersReducers.js +48 -6
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +26 -5
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +33 -14
- package/esm/model/store/tabs/parameters/parametersState.d.ts +7 -0
- package/esm/model/store/tabs/parameters/parametersState.d.ts.map +1 -1
- package/esm/model/store/tabs/tabsReducers.d.ts +14 -0
- package/esm/model/store/tabs/tabsReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/tabsReducers.js +21 -1
- package/esm/model/store/tabs/workingSelectionSelectors.d.ts +9 -0
- package/esm/model/store/tabs/workingSelectionSelectors.d.ts.map +1 -0
- package/esm/model/store/tabs/workingSelectionSelectors.js +11 -0
- package/esm/model/store/types.d.ts +3 -0
- package/esm/model/store/types.d.ts.map +1 -1
- package/esm/model/store/unavailableObjects/index.d.ts +8 -0
- package/esm/model/store/unavailableObjects/index.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/index.js +13 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts +9 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.js +12 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +18 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +20 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +15 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +38 -65
- 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} +11 -2
- 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} +14 -4
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.js +18 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +17 -0
- 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/DefaultAlertingDialogHeader.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogHeader.js → DefaultAlertingDialogHeader.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} +10 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.js +16 -0
- 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/DefaultAlertingDialog/constants.d.ts +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.js +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js +2 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +30 -0
- 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/AlertingDialogDestination.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +23 -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/AlertingDialogFilters.d.ts +16 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +25 -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/AlertingDialogHeader.d.ts +26 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +36 -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/AlertingDialogRecipients.d.ts +13 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +21 -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/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/WhenAlertingDialogLoaded.d.ts +12 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.js +13 -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/hooks/useAlertValidation.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.d.ts +20 -0
- package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.js +5 -0
- package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.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/state/AlertActionsContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertActionsContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertDataContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertDraftContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertFiltersContext.js +1 -1
- package/esm/presentation/automations/alerting/state/types.d.ts +179 -9
- package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +3 -8
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertFormValidation.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +4 -16
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +13 -0
- package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → state}/useAlertSubmit.js +5 -5
- package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.js +3 -3
- 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/state/useAlertingDialogRegionProps.d.ts +8 -8
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +7 -7
- package/esm/presentation/automations/alerting/types.d.ts +390 -9
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/types.js +3 -1
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/convertors.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/cron.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.d.ts +8 -3
- package/esm/presentation/automations/alerting/utils/getters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.js +1 -1
- package/esm/presentation/automations/alerting/utils/granularity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/guards.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/items.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.js +1 -1
- package/esm/presentation/automations/alerting/utils/responsive.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/threshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/transformation.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +9 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +21 -12
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +15 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +16 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{Header/ScheduleEmailDialogHeader.js → DefaultScheduledEmailDialogHeader.js} +11 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +13 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{ScheduleTimezoneSelect/ScheduleTimezoneSelect.js → DefaultScheduledEmailDialogTimezone.js} +6 -4
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +36 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +35 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +13 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +21 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +26 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +32 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +15 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +25 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +15 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +26 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts +14 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.js +15 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useExportTimezones.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.js +1 -1
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useScheduleTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.js +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useScheduleValidation.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/types.d.ts +204 -5
- package/esm/presentation/automations/scheduledEmail/state/types.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +12 -0
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → state}/useSaveScheduledEmailToBackend.js +3 -3
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +10 -10
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts +2 -7
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +3 -27
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +3 -3
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
- package/esm/presentation/automations/scheduledEmail/types.d.ts +4 -2
- 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/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/DefaultAutomationDialogActionBar.d.ts +27 -0
- package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/shared/slots/{AutomationDialogActionBar.js → DefaultAutomationDialogActionBar.js} +7 -5
- 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/dashboardSettingsDialog/TimezoneOption.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.js +1 -1
- package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.js +5 -6
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -4
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +11 -8
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +7 -7
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +6 -6
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +6 -4
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertsNew.js +1 -1
- package/esm/sdk-ui-dashboard.d.ts +2648 -349
- package/package.json +25 -27
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts +0 -6
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.js +0 -13
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts +0 -8
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.js +0 -13
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts +0 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts +0 -7
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.js +0 -12
- 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/useAlertSubmit.d.ts +0 -23
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.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/useAlertValidation.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useThresholdValue.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/convertors.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/cron.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/getters.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/granularity.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/guards.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/threshold.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/transformation.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts +0 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts +0 -15
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts +0 -6
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.js +0 -10
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts +0 -7
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.js +0 -11
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts +0 -6
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.js +0 -8
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useExportTimezones.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +0 -23
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts.map +0 -1
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +0 -25
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +0 -1
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertThreshold.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useThresholdValue.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.js +0 -0
- /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.d.ts +0 -0
|
@@ -13,6 +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 type { AI_OPERATOR } from '@gooddata/sdk-ui-ext';
|
|
17
|
+
import type { AI_OPERATORS } from '@gooddata/sdk-ui-ext';
|
|
16
18
|
import { AnyAction } from '@reduxjs/toolkit';
|
|
17
19
|
import { CaseReducer } from '@reduxjs/toolkit';
|
|
18
20
|
import { CaseReducerActions } from '@reduxjs/toolkit';
|
|
@@ -20,6 +22,7 @@ import { ComponentPropsWithRef } from 'react';
|
|
|
20
22
|
import { ComponentType } from 'react';
|
|
21
23
|
import { Context } from 'react';
|
|
22
24
|
import { CurrentUserPermissions } from '@gooddata/sdk-ui-kit';
|
|
25
|
+
import { DashboardAttachmentType } from '@gooddata/sdk-model';
|
|
23
26
|
import { DashboardAttributeFilterConfigMode } from '@gooddata/sdk-model';
|
|
24
27
|
import { DashboardAttributeFilterItem } from '@gooddata/sdk-model';
|
|
25
28
|
import { DashboardAttributeFilterSelectionMode } from '@gooddata/sdk-model';
|
|
@@ -43,14 +46,23 @@ import { EntityState } from '@reduxjs/toolkit';
|
|
|
43
46
|
import { ExecutionResultLimitType } from '@gooddata/sdk-model';
|
|
44
47
|
import { ExplicitDrill } from '@gooddata/sdk-ui';
|
|
45
48
|
import { FilterContextItem } from '@gooddata/sdk-model';
|
|
49
|
+
import { FocusEvent as FocusEvent_2 } from 'react';
|
|
50
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
46
51
|
import { GoodDataSdkError } from '@gooddata/sdk-ui';
|
|
47
52
|
import { IAbsoluteDateFilter } from '@gooddata/sdk-model';
|
|
48
53
|
import { IAccessControlAware } from '@gooddata/sdk-model';
|
|
49
54
|
import { IAccessGrantee } from '@gooddata/sdk-model';
|
|
50
55
|
import { IActiveCalendars } from '@gooddata/sdk-model';
|
|
56
|
+
import { IAlertAnomalyDetectionGranularity } from '@gooddata/sdk-model';
|
|
57
|
+
import { IAlertAnomalyDetectionSensitivity } from '@gooddata/sdk-model';
|
|
58
|
+
import { IAlertComparisonOperator } from '@gooddata/sdk-model';
|
|
59
|
+
import { IAlertRelativeArithmeticOperator } from '@gooddata/sdk-model';
|
|
60
|
+
import { IAlertRelativeOperator } from '@gooddata/sdk-model';
|
|
61
|
+
import { IAlertTriggerInterval } from '@gooddata/sdk-model';
|
|
51
62
|
import { IAlertTriggerMode } from '@gooddata/sdk-model';
|
|
52
63
|
import { IAnalyticalBackend } from '@gooddata/sdk-backend-spi';
|
|
53
64
|
import { IArbitraryAttributeFilter } from '@gooddata/sdk-model';
|
|
65
|
+
import { IAttribute } from '@gooddata/sdk-model';
|
|
54
66
|
import { IAttributeDescriptorBody } from '@gooddata/sdk-model';
|
|
55
67
|
import { IAttributeDisplayFormMetadataObject } from '@gooddata/sdk-model';
|
|
56
68
|
import { IAttributeElement } from '@gooddata/sdk-model';
|
|
@@ -106,6 +118,7 @@ import { IDashboardPermissions } from '@gooddata/sdk-model';
|
|
|
106
118
|
import { IDashboardReferences } from '@gooddata/sdk-backend-spi';
|
|
107
119
|
import { IDashboardTimezoneConfig } from '@gooddata/sdk-model';
|
|
108
120
|
import { IDashboardWidget } from '@gooddata/sdk-model';
|
|
121
|
+
import { IDataSetMetadataObject } from '@gooddata/sdk-model';
|
|
109
122
|
import { IDataView } from '@gooddata/sdk-backend-spi';
|
|
110
123
|
import { IDateFilter } from '@gooddata/sdk-model';
|
|
111
124
|
import { IDateFilterButtonProps } from '@gooddata/sdk-ui-filters';
|
|
@@ -131,6 +144,7 @@ import { IExecutionConfiguration } from '@gooddata/sdk-ui';
|
|
|
131
144
|
import { IExecutionDefinition } from '@gooddata/sdk-model';
|
|
132
145
|
import { IExecutionResult } from '@gooddata/sdk-backend-spi';
|
|
133
146
|
import { IExecutionResultLimitBreak } from '@gooddata/sdk-model';
|
|
147
|
+
import { IExportDefinitionVisualizationObjectSettings } from '@gooddata/sdk-model';
|
|
134
148
|
import { IExportResult } from '@gooddata/sdk-backend-spi';
|
|
135
149
|
import type { IExportTemplate } from '@gooddata/sdk-model';
|
|
136
150
|
import { IFilter } from '@gooddata/sdk-model';
|
|
@@ -188,6 +202,7 @@ import { ITableDataAttributeScope } from '@gooddata/sdk-ui';
|
|
|
188
202
|
import { ITempFilterContext } from '@gooddata/sdk-model';
|
|
189
203
|
import { ITheme } from '@gooddata/sdk-model';
|
|
190
204
|
import type { ITranslations } from '@gooddata/sdk-ui';
|
|
205
|
+
import { IUnavailableDashboardReference } from '@gooddata/sdk-backend-spi';
|
|
191
206
|
import { IUpperBoundedFilter } from '@gooddata/sdk-model';
|
|
192
207
|
import { IUser } from '@gooddata/sdk-model';
|
|
193
208
|
import { IUserWorkspaceSettings } from '@gooddata/sdk-backend-spi';
|
|
@@ -224,6 +239,7 @@ import { ReactNode } from 'react';
|
|
|
224
239
|
import { ReactReduxContextValue } from 'react-redux';
|
|
225
240
|
import { Reducer } from '@reduxjs/toolkit';
|
|
226
241
|
import { Ref } from 'react';
|
|
242
|
+
import { RefAttributes } from 'react';
|
|
227
243
|
import { RefObject } from 'react';
|
|
228
244
|
import { SagaIterator } from 'redux-saga';
|
|
229
245
|
import { ScreenSize } from '@gooddata/sdk-model';
|
|
@@ -239,6 +255,7 @@ import { UseCancelablePromiseState } from '@gooddata/sdk-ui';
|
|
|
239
255
|
import { VisualizationProperties } from '@gooddata/sdk-model';
|
|
240
256
|
import { weakMapMemoize } from '@reduxjs/toolkit';
|
|
241
257
|
import { WeekStart } from '@gooddata/sdk-model';
|
|
258
|
+
import { WidgetAttachmentType } from '@gooddata/sdk-model';
|
|
242
259
|
import { WritableDraft } from 'immer';
|
|
243
260
|
|
|
244
261
|
/**
|
|
@@ -512,6 +529,29 @@ export declare function addTextAttributeFilter(filter: DashboardTextAttributeFil
|
|
|
512
529
|
*/
|
|
513
530
|
export declare function addVisualizationToSwitcherWidgetContent(ref: ObjRef, visualization: IInsightWidget, insight: IInsight, sizeInfo: IVisualizationSizeInfo, correlationId?: string): IAddVisualizationToVisualizationSwitcherWidgetContent;
|
|
514
531
|
|
|
532
|
+
/**
|
|
533
|
+
* The operator id of an anomaly-detection condition (`"AI.ANOMALY_DETECTION"`).
|
|
534
|
+
*
|
|
535
|
+
* @alpha
|
|
536
|
+
*/
|
|
537
|
+
export declare type AlertAiOperator = `${typeof AI_OPERATOR}.${typeof AI_OPERATORS.ANOMALY_DETECTION}`;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* An attribute of the insight the alert can be sliced by (the "for" row of the condition).
|
|
541
|
+
*
|
|
542
|
+
* @alpha
|
|
543
|
+
*/
|
|
544
|
+
export declare type AlertAttribute = {
|
|
545
|
+
/**
|
|
546
|
+
* The insight attribute.
|
|
547
|
+
*/
|
|
548
|
+
attribute: IAttribute;
|
|
549
|
+
/**
|
|
550
|
+
* Whether the attribute is a date attribute.
|
|
551
|
+
*/
|
|
552
|
+
type: "dateAttribute" | "attribute";
|
|
553
|
+
};
|
|
554
|
+
|
|
515
555
|
/**
|
|
516
556
|
* Resolves the dialog component from DashboardComponentsContext and mounts it under the
|
|
517
557
|
* alerting dialog's state contexts, inside the resolved context decorator — so a decorated
|
|
@@ -521,6 +561,76 @@ export declare function addVisualizationToSwitcherWidgetContent(ref: ObjRef, vis
|
|
|
521
561
|
*/
|
|
522
562
|
export declare function AlertingDialog(props: IAlertingDialogProps): ReactElement;
|
|
523
563
|
|
|
564
|
+
/**
|
|
565
|
+
* The alerting dialog's action bar (documentation link, Delete in edit mode, Cancel, submit),
|
|
566
|
+
* connected to the dialog's state.
|
|
567
|
+
*
|
|
568
|
+
* Renders {@link DefaultAutomationDialogActionBar} with the props of
|
|
569
|
+
* {@link useAlertingDialogActionBarProps}; every override prop replaces the hook's value wholesale.
|
|
570
|
+
* The block does not own the submit: pass `submit` and `isSaving` from one {@link useAlertSubmit}
|
|
571
|
+
* instance, so an Enter handler elsewhere in the shell shares its in-flight guard. Renders nothing
|
|
572
|
+
* while `useAlertingDialogContext().isLoading` is true.
|
|
573
|
+
*
|
|
574
|
+
* @example
|
|
575
|
+
* ```tsx
|
|
576
|
+
* const { submit, isSaving } = useAlertSubmit(props);
|
|
577
|
+
* <AlertingDialogActionBar onCancel={props.onCancel} onSubmit={() => void submit()} isSaving={isSaving} />;
|
|
578
|
+
* ```
|
|
579
|
+
*
|
|
580
|
+
* @alpha
|
|
581
|
+
*/
|
|
582
|
+
export declare function AlertingDialogActionBar(props: IAlertingDialogActionBarBlockProps): JSX.Element;
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* The alerting dialog's attribute field ("For": the attribute value the condition is sliced by),
|
|
586
|
+
* connected to the dialog's state and rendered as a labelled form row.
|
|
587
|
+
*
|
|
588
|
+
* Renders {@link DefaultAlertingDialogAttribute} inside {@link AutomationDialogFormField} with the
|
|
589
|
+
* props of {@link useAlertingDialogAttributeProps}; every prop passed here replaces the hook's
|
|
590
|
+
* value for that prop wholesale. Renders nothing when the insight has no non-date attribute (there
|
|
591
|
+
* is nothing to slice by; the gate reads the `attributes` prop, so an override is honoured), and
|
|
592
|
+
* nothing while `useAlertingDialogContext().isLoading` is true.
|
|
593
|
+
*
|
|
594
|
+
* @alpha
|
|
595
|
+
*/
|
|
596
|
+
export declare function AlertingDialogAttribute(overrides: Partial<IAlertingDialogAttributeProps>): ReactElement;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* The alerting dialog's condition field ("Condition": the operator — fixed threshold, change,
|
|
600
|
+
* difference or anomaly detection), connected to the dialog's state and rendered as a labelled
|
|
601
|
+
* form row.
|
|
602
|
+
*
|
|
603
|
+
* Renders {@link DefaultAlertingDialogComparisonOperator} inside {@link AutomationDialogFormField}
|
|
604
|
+
* with the props of {@link useAlertingDialogComparisonOperatorProps}; every prop passed here
|
|
605
|
+
* replaces the hook's value for that prop wholesale. Pass `enableAnomalyDetectionAlert={false}` to
|
|
606
|
+
* hide the anomaly-detection options. Renders nothing while
|
|
607
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
608
|
+
*
|
|
609
|
+
* @example
|
|
610
|
+
* ```tsx
|
|
611
|
+
* <AlertingDialogComparisonOperator enableAnomalyDetectionAlert={false} />
|
|
612
|
+
* ```
|
|
613
|
+
*
|
|
614
|
+
* @alpha
|
|
615
|
+
*/
|
|
616
|
+
export declare function AlertingDialogComparisonOperator(overrides: Partial<IAlertingDialogComparisonOperatorProps>): ReactElement;
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* The alerting dialog's comparison-period field ("Compared to": the period a change or difference
|
|
620
|
+
* condition compares against), connected to the dialog's state and rendered as a labelled form
|
|
621
|
+
* row.
|
|
622
|
+
*
|
|
623
|
+
* Renders {@link DefaultAlertingDialogComparisonPeriod} inside {@link AutomationDialogFormField}
|
|
624
|
+
* with the props of {@link useAlertingDialogComparisonPeriodProps}; every prop passed here
|
|
625
|
+
* replaces the hook's value for that prop wholesale. Renders nothing unless the `alert` prop's
|
|
626
|
+
* condition is a change or difference (only those have a comparison period; the gate reads the
|
|
627
|
+
* prop, so an override is honoured), and nothing while `useAlertingDialogContext().isLoading` is
|
|
628
|
+
* true.
|
|
629
|
+
*
|
|
630
|
+
* @alpha
|
|
631
|
+
*/
|
|
632
|
+
export declare function AlertingDialogComparisonPeriod(overrides: Partial<IAlertingDialogComparisonPeriodProps>): ReactElement;
|
|
633
|
+
|
|
524
634
|
/**
|
|
525
635
|
* Provides the alerting create/edit dialog context.
|
|
526
636
|
*
|
|
@@ -532,6 +642,73 @@ export declare function AlertingDialog(props: IAlertingDialogProps): ReactElemen
|
|
|
532
642
|
*/
|
|
533
643
|
export declare const AlertingDialogContextProvider: Provider<IAlertingDialogContextValue | undefined>;
|
|
534
644
|
|
|
645
|
+
/**
|
|
646
|
+
* The alerting dialog's destination region (the notification-channel select), connected to the
|
|
647
|
+
* dialog's state.
|
|
648
|
+
*
|
|
649
|
+
* Renders {@link DefaultAlertingDialogDestination} with the props of
|
|
650
|
+
* {@link useAlertingDialogDestinationProps}; every prop passed here replaces the hook's value for
|
|
651
|
+
* that prop wholesale. Renders nothing while `useAlertingDialogContext().isLoading` is true. The
|
|
652
|
+
* default dialog renders this region only when more than one channel exists; the block renders
|
|
653
|
+
* wherever it is placed — a shell decides from `useAlertingDialogContext().notificationChannels`.
|
|
654
|
+
*
|
|
655
|
+
* @alpha
|
|
656
|
+
*/
|
|
657
|
+
export declare function AlertingDialogDestination(overrides: Partial<IAutomationDialogDestinationProps>): JSX.Element;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* The alerting dialog's filters region (the filter and parameter chips), connected to the dialog's
|
|
661
|
+
* state.
|
|
662
|
+
*
|
|
663
|
+
* Renders {@link DefaultAlertingDialogFilters} with the props of {@link useAlertingDialogFiltersProps};
|
|
664
|
+
* every prop passed here replaces the hook's value for that prop wholesale (an `onFiltersChange`
|
|
665
|
+
* override takes over the write and must submit the complete selection). Renders nothing while
|
|
666
|
+
* `useAlertingDialogContext().isLoading` is true. The default dialog also hides this region behind
|
|
667
|
+
* its stale-filters confirmation step; a shell that wants that step builds it from
|
|
668
|
+
* {@link useAlertFilters}.
|
|
669
|
+
*
|
|
670
|
+
* @alpha
|
|
671
|
+
*/
|
|
672
|
+
export declare function AlertingDialogFilters(overrides: Partial<IAlertingDialogFiltersProps>): JSX.Element;
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* The alerting dialog's granularity field (the period anomaly detection evaluates over), connected
|
|
676
|
+
* to the dialog's state and rendered as a labelled form row.
|
|
677
|
+
*
|
|
678
|
+
* Renders {@link DefaultAlertingDialogGranularity} inside {@link AutomationDialogFormField} with
|
|
679
|
+
* the props of {@link useAlertingDialogGranularityProps}; every prop passed here replaces the
|
|
680
|
+
* hook's value for that prop wholesale. Renders nothing unless the draft uses anomaly detection,
|
|
681
|
+
* and nothing while `useAlertingDialogContext().isLoading` is true.
|
|
682
|
+
*
|
|
683
|
+
* @alpha
|
|
684
|
+
*/
|
|
685
|
+
export declare function AlertingDialogGranularity(overrides: Partial<IAlertingDialogGranularityProps>): ReactElement;
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* The alerting dialog's header region (the title input row), connected to the dialog's state.
|
|
689
|
+
*
|
|
690
|
+
* Renders {@link DefaultAlertingDialogHeader} with the props of {@link useAlertingDialogHeaderProps}.
|
|
691
|
+
* Every prop passed here replaces the hook's value for that prop wholesale; pass the dialog's
|
|
692
|
+
* `onCancel` so the back button closes the dialog, and `ref` to receive the title input. Renders
|
|
693
|
+
* nothing while `useAlertingDialogContext().isLoading` is true.
|
|
694
|
+
*
|
|
695
|
+
* @example
|
|
696
|
+
* ```tsx
|
|
697
|
+
* function MyAlertingDialog(props: IAlertingDialogProps) {
|
|
698
|
+
* return (
|
|
699
|
+
* <MyShell onClose={props.onCancel}>
|
|
700
|
+
* <AlertingDialogHeader onCancel={props.onCancel} />
|
|
701
|
+
* <AlertingDialogFilters />
|
|
702
|
+
* </MyShell>
|
|
703
|
+
* );
|
|
704
|
+
* }
|
|
705
|
+
* <Dashboard AlertingDialogComponent={MyAlertingDialog} />;
|
|
706
|
+
* ```
|
|
707
|
+
*
|
|
708
|
+
* @alpha
|
|
709
|
+
*/
|
|
710
|
+
export declare const AlertingDialogHeader: ForwardRefExoticComponent<Partial<IAlertingDialogHeaderProps> & RefAttributes<HTMLInputElement>>;
|
|
711
|
+
|
|
535
712
|
/**
|
|
536
713
|
* The exact props the default dialog renders its header with, including the dialog's
|
|
537
714
|
* initial-focus ref.
|
|
@@ -542,6 +719,104 @@ export declare type AlertingDialogHeaderDefaultProps = IAlertingDialogHeaderProp
|
|
|
542
719
|
ref?: Ref<HTMLInputElement>;
|
|
543
720
|
};
|
|
544
721
|
|
|
722
|
+
/**
|
|
723
|
+
* The alerting dialog's measure field ("Metric": the measure the condition targets), connected to
|
|
724
|
+
* the dialog's state and rendered as a labelled form row.
|
|
725
|
+
*
|
|
726
|
+
* Renders {@link DefaultAlertingDialogMeasure} inside {@link AutomationDialogFormField} with the
|
|
727
|
+
* props of {@link useAlertingDialogMeasureProps}; every prop passed here replaces the hook's value
|
|
728
|
+
* for that prop wholesale. Renders nothing while `useAlertingDialogContext().isLoading` is true.
|
|
729
|
+
* The row's label is the default dialog's — a shell that wants its own label renders the hook and
|
|
730
|
+
* the render component inside its own `AutomationDialogFormField`.
|
|
731
|
+
*
|
|
732
|
+
* @example
|
|
733
|
+
* ```tsx
|
|
734
|
+
* function MyAlertingDialog(props: IAlertingDialogProps) {
|
|
735
|
+
* return (
|
|
736
|
+
* <MyShell onClose={props.onCancel}>
|
|
737
|
+
* <AlertingDialogMeasure />
|
|
738
|
+
* <AlertingDialogComparisonOperator />
|
|
739
|
+
* <AlertingDialogThreshold />
|
|
740
|
+
* </MyShell>
|
|
741
|
+
* );
|
|
742
|
+
* }
|
|
743
|
+
* <Dashboard AlertingDialogComponent={MyAlertingDialog} />;
|
|
744
|
+
* ```
|
|
745
|
+
*
|
|
746
|
+
* @alpha
|
|
747
|
+
*/
|
|
748
|
+
export declare function AlertingDialogMeasure(overrides: Partial<IAlertingDialogMeasureProps>): ReactElement;
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* The alerting dialog's recipients region, connected to the dialog's state.
|
|
752
|
+
*
|
|
753
|
+
* Renders {@link DefaultAlertingDialogRecipients} with the props of
|
|
754
|
+
* {@link useAlertingDialogRecipientsProps}; every prop passed here replaces the hook's value for
|
|
755
|
+
* that prop wholesale, e.g. `<AlertingDialogRecipients maxRecipients={3} />`. Renders nothing while
|
|
756
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
757
|
+
*
|
|
758
|
+
* @alpha
|
|
759
|
+
*/
|
|
760
|
+
export declare function AlertingDialogRecipients(overrides: Partial<IAutomationDialogRecipientsProps>): JSX.Element;
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* The alerting dialog's sensitivity field (the "Sensitivity" of anomaly detection), connected to
|
|
764
|
+
* the dialog's state and rendered as a labelled form row.
|
|
765
|
+
*
|
|
766
|
+
* Renders {@link DefaultAlertingDialogSensitivity} inside {@link AutomationDialogFormField} with
|
|
767
|
+
* the props of {@link useAlertingDialogSensitivityProps}; every prop passed here replaces the
|
|
768
|
+
* hook's value for that prop wholesale. Renders nothing unless the draft uses anomaly detection,
|
|
769
|
+
* and nothing while `useAlertingDialogContext().isLoading` is true.
|
|
770
|
+
*
|
|
771
|
+
* @alpha
|
|
772
|
+
*/
|
|
773
|
+
export declare function AlertingDialogSensitivity(overrides: Partial<IAlertingDialogSensitivityProps>): ReactElement;
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* The alerting dialog's threshold field (the value a fixed-threshold, change or difference
|
|
777
|
+
* condition is compared against), connected to the dialog's state and rendered as a labelled form
|
|
778
|
+
* row.
|
|
779
|
+
*
|
|
780
|
+
* Renders {@link DefaultAlertingDialogThreshold} inside {@link AutomationDialogFormField} with the
|
|
781
|
+
* props of {@link useAlertingDialogThresholdProps}; every prop passed here replaces the hook's
|
|
782
|
+
* value for that prop wholesale. **The one `useAlertThreshold` mount**:
|
|
783
|
+
* {@link useAlertingDialogThresholdProps} owns the field's state and writes the draft
|
|
784
|
+
* (auto-computing a new alert's threshold), so place this block once per dialog and do not also
|
|
785
|
+
* call the hook. Renders nothing while the draft uses anomaly detection (that condition has no
|
|
786
|
+
* threshold); the hook stays mounted behind the gate, so the field's touched state survives a
|
|
787
|
+
* switch to anomaly detection and back. Renders nothing while
|
|
788
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
789
|
+
*
|
|
790
|
+
* @alpha
|
|
791
|
+
*/
|
|
792
|
+
export declare function AlertingDialogThreshold(overrides: Partial<IAlertingDialogThresholdProps>): ReactElement;
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* The alerting dialog's trigger-interval field (the interval a once-per-interval trigger notifies
|
|
796
|
+
* on), connected to the dialog's state and rendered as a labelled form row.
|
|
797
|
+
*
|
|
798
|
+
* Renders {@link DefaultAlertingDialogTriggerInterval} inside {@link AutomationDialogFormField}
|
|
799
|
+
* with the props of {@link useAlertingDialogTriggerIntervalProps}; every prop passed here replaces
|
|
800
|
+
* the hook's value for that prop wholesale. Renders nothing unless the draft's trigger mode is
|
|
801
|
+
* `ONCE_PER_INTERVAL`, and nothing while `useAlertingDialogContext().isLoading` is true.
|
|
802
|
+
*
|
|
803
|
+
* @alpha
|
|
804
|
+
*/
|
|
805
|
+
export declare function AlertingDialogTriggerInterval(overrides: Partial<IAlertingDialogTriggerIntervalProps>): ReactElement;
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* The alerting dialog's trigger-mode field ("Trigger": how often a met condition notifies),
|
|
809
|
+
* connected to the dialog's state and rendered as a labelled form row.
|
|
810
|
+
*
|
|
811
|
+
* Renders {@link DefaultAlertingDialogTriggerMode} inside {@link AutomationDialogFormField} with
|
|
812
|
+
* the props of {@link useAlertingDialogTriggerModeProps}; every prop passed here replaces the
|
|
813
|
+
* hook's value for that prop wholesale. Renders nothing while
|
|
814
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
815
|
+
*
|
|
816
|
+
* @alpha
|
|
817
|
+
*/
|
|
818
|
+
export declare function AlertingDialogTriggerMode(overrides: Partial<IAlertingDialogTriggerModeProps>): ReactElement;
|
|
819
|
+
|
|
545
820
|
/**
|
|
546
821
|
* @internal
|
|
547
822
|
*/
|
|
@@ -552,6 +827,66 @@ export declare type AlertingDisabledReason = "noDestinations" | "oldWidget" | "d
|
|
|
552
827
|
*/
|
|
553
828
|
export declare function AlertingManagementDialog(props: IAlertingManagementDialogProps): ReactElement;
|
|
554
829
|
|
|
830
|
+
/**
|
|
831
|
+
* A measure of the insight the alerting dialog can build a condition on, with the comparisons
|
|
832
|
+
* available for it.
|
|
833
|
+
*
|
|
834
|
+
* @alpha
|
|
835
|
+
*/
|
|
836
|
+
export declare type AlertMetric = {
|
|
837
|
+
/**
|
|
838
|
+
* The insight measure.
|
|
839
|
+
*/
|
|
840
|
+
measure: IMeasure;
|
|
841
|
+
/**
|
|
842
|
+
* Whether the measure is a primary (non-derived) measure of the insight.
|
|
843
|
+
*/
|
|
844
|
+
isPrimary: boolean;
|
|
845
|
+
/**
|
|
846
|
+
* The period-over-period comparisons the dialog offers for this measure; empty when none apply.
|
|
847
|
+
*/
|
|
848
|
+
comparators: AlertMetricComparator[];
|
|
849
|
+
};
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* A comparison the alerting dialog can offer for a measure: the derived period-over-period measure
|
|
853
|
+
* and the date dataset and granularity it is computed over.
|
|
854
|
+
*
|
|
855
|
+
* @alpha
|
|
856
|
+
*/
|
|
857
|
+
export declare type AlertMetricComparator = {
|
|
858
|
+
/**
|
|
859
|
+
* The derived measure (previous period / same period previous year) the condition compares against.
|
|
860
|
+
*/
|
|
861
|
+
measure: IMeasure;
|
|
862
|
+
/**
|
|
863
|
+
* Whether the derived measure is itself a primary measure of the insight.
|
|
864
|
+
*/
|
|
865
|
+
isPrimary: boolean;
|
|
866
|
+
/**
|
|
867
|
+
* Which period the derived measure shifts by.
|
|
868
|
+
*/
|
|
869
|
+
comparator: AlertMetricComparatorType;
|
|
870
|
+
/**
|
|
871
|
+
* The date dataset the period shift is computed over, when the insight resolves one.
|
|
872
|
+
*/
|
|
873
|
+
dataset?: IDataSetMetadataObject;
|
|
874
|
+
/**
|
|
875
|
+
* The granularity of the period shift, when the insight resolves one.
|
|
876
|
+
*/
|
|
877
|
+
granularity?: DateAttributeGranularity;
|
|
878
|
+
};
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* The period a relative alert condition compares the measure against.
|
|
882
|
+
*
|
|
883
|
+
* @alpha
|
|
884
|
+
*/
|
|
885
|
+
export declare enum AlertMetricComparatorType {
|
|
886
|
+
PreviousPeriod = 0,
|
|
887
|
+
SamePeriodPreviousYear = 1
|
|
888
|
+
}
|
|
889
|
+
|
|
555
890
|
/**
|
|
556
891
|
* This defines all possible reducers for the cache slice.
|
|
557
892
|
*
|
|
@@ -724,6 +1059,38 @@ export declare function attributeHierarchyModified(correlationId?: string): IAtt
|
|
|
724
1059
|
*/
|
|
725
1060
|
export declare function AttributesDropdown({ id, className, bodyClassName, onClose, onOpen, onSelect, attributes, dateDatasets, measures, openOnInit, DropdownButtonComponent, DropdownTitleComponent, renderNoData, overlayPositionType, getCustomItemTitle, accessibilityConfig, returnFocusTo, parameters, onParameterSelect }: IAttributesDropdownProps): JSX.Element;
|
|
726
1061
|
|
|
1062
|
+
/**
|
|
1063
|
+
* One distinct value of an attribute in the widget's execution result, as offered by the alert's
|
|
1064
|
+
* attribute-value picker.
|
|
1065
|
+
*
|
|
1066
|
+
* @alpha
|
|
1067
|
+
*/
|
|
1068
|
+
export declare type AttributeValue = {
|
|
1069
|
+
/**
|
|
1070
|
+
* Display title: the formatted element name when the result has one, the raw name otherwise.
|
|
1071
|
+
*/
|
|
1072
|
+
title: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* The element URI; this is what the alert stores.
|
|
1075
|
+
*/
|
|
1076
|
+
value: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* The raw element name.
|
|
1079
|
+
*/
|
|
1080
|
+
name: string;
|
|
1081
|
+
};
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* A labelled form row of the automation dialogs: the label on the left, the control on the right.
|
|
1085
|
+
* Props-driven — reads no context. The default alerting dialog renders every condition field
|
|
1086
|
+
* through it, as do the field blocks ({@link AlertingDialogMeasure} and siblings); a custom dialog
|
|
1087
|
+
* that wants its own label renders a field's `Default*` control inside its own
|
|
1088
|
+
* `AutomationDialogFormField`.
|
|
1089
|
+
*
|
|
1090
|
+
* @alpha
|
|
1091
|
+
*/
|
|
1092
|
+
export declare function AutomationDialogFormField({ label, children, htmlFor, fullWidth }: IAutomationDialogFormFieldProps): ReactElement;
|
|
1093
|
+
|
|
727
1094
|
/**
|
|
728
1095
|
* @alpha
|
|
729
1096
|
*/
|
|
@@ -3442,6 +3809,8 @@ export declare type DashboardState = {
|
|
|
3442
3809
|
accessibleDashboards: IAccessibleDashboardsState;
|
|
3443
3810
|
/** @alpha */
|
|
3444
3811
|
inaccessibleDashboards: EntityState<IInaccessibleDashboard, EntityId>;
|
|
3812
|
+
/** @alpha */
|
|
3813
|
+
unavailableObjects: EntityState<IUnavailableDashboardReference, EntityId>;
|
|
3445
3814
|
dashboardPermissions: DashboardPermissionsState;
|
|
3446
3815
|
/** @alpha */
|
|
3447
3816
|
automations: IAutomationsState;
|
|
@@ -3966,6 +4335,21 @@ export declare const DEFAULT_TAB_ID = "defaultTabId";
|
|
|
3966
4335
|
* that is what lets a wholesale replacement receive the same contexts. Rendering this component
|
|
3967
4336
|
* outside those providers throws at runtime.
|
|
3968
4337
|
*
|
|
4338
|
+
* The dialog is composed from the exported region renders — {@link DefaultAlertingDialogHeader},
|
|
4339
|
+
* {@link DefaultAlertingDialogFilters}, {@link DefaultAlertingDialogDestination},
|
|
4340
|
+
* {@link DefaultAlertingDialogRecipients}, {@link DefaultAutomationDialogActionBar} — fed by the
|
|
4341
|
+
* matching `use*Props` hooks ({@link useAlertingDialogFiltersProps} and siblings), and from the
|
|
4342
|
+
* connected field blocks — {@link AlertingDialogMeasure}, {@link AlertingDialogAttribute},
|
|
4343
|
+
* {@link AlertingDialogComparisonOperator}, {@link AlertingDialogThreshold},
|
|
4344
|
+
* {@link AlertingDialogComparisonPeriod}, {@link AlertingDialogSensitivity},
|
|
4345
|
+
* {@link AlertingDialogGranularity}, {@link AlertingDialogTriggerMode},
|
|
4346
|
+
* {@link AlertingDialogTriggerInterval} — each a labelled {@link AutomationDialogFormField} row; the
|
|
4347
|
+
* conditional ones (Attribute, Threshold, ComparisonPeriod, Sensitivity, Granularity, TriggerInterval)
|
|
4348
|
+
* gate themselves on the draft. A custom `AlertingDialogComponent` that keeps our regions and fields
|
|
4349
|
+
* but owns the markup places the connected blocks ({@link AlertingDialogFilters},
|
|
4350
|
+
* {@link AlertingDialogThreshold} and siblings) instead of this component, and reads or writes the
|
|
4351
|
+
* same draft through {@link useAlertDraft} and {@link useAlertActions}.
|
|
4352
|
+
*
|
|
3969
4353
|
* Slots render only in the fully rendered dialog: not while the dialog context reports loading,
|
|
3970
4354
|
* and not while the stale-filters confirmation step is shown.
|
|
3971
4355
|
*
|
|
@@ -3973,6 +4357,142 @@ export declare const DEFAULT_TAB_ID = "defaultTabId";
|
|
|
3973
4357
|
*/
|
|
3974
4358
|
export declare function DefaultAlertingDialog(props: IDefaultAlertingDialogProps): JSX.Element;
|
|
3975
4359
|
|
|
4360
|
+
/**
|
|
4361
|
+
* Default render of the alerting dialog's attribute field: the dropdown slicing the condition by an
|
|
4362
|
+
* attribute value; renders nothing when the insight has no non-date attribute. Props-driven — the
|
|
4363
|
+
* bare control without its label; reads no dialog context (only `useIntl`). The default dialog and
|
|
4364
|
+
* {@link AlertingDialogAttribute} render it with {@link useAlertingDialogAttributeProps} inside
|
|
4365
|
+
* {@link AutomationDialogFormField}.
|
|
4366
|
+
*
|
|
4367
|
+
* @alpha
|
|
4368
|
+
*/
|
|
4369
|
+
export declare function DefaultAlertingDialogAttribute({ id, disabled, selectedAttribute: selectedAttributeProp, getAttributeValues, isResultLoading, selectedValue, onAttributeChange, attributes, catalogAttributes, catalogDateDatasets, showLabel, closeOnParentScroll }: IAlertingDialogAttributeProps): ReactElement | null;
|
|
4370
|
+
|
|
4371
|
+
/**
|
|
4372
|
+
* Default render of the alerting dialog's comparison-operator field: the dropdown selecting the
|
|
4373
|
+
* condition's operator (fixed threshold, change, difference, anomaly detection); renders nothing
|
|
4374
|
+
* without a measure. Props-driven — the bare control without its label; reads no dialog context
|
|
4375
|
+
* (only `useIntl`). The default dialog and {@link AlertingDialogComparisonOperator} render it with
|
|
4376
|
+
* {@link useAlertingDialogComparisonOperatorProps} inside {@link AutomationDialogFormField}.
|
|
4377
|
+
*
|
|
4378
|
+
* @alpha
|
|
4379
|
+
*/
|
|
4380
|
+
export declare function DefaultAlertingDialogComparisonOperator(props: IAlertingDialogComparisonOperatorProps): ReactElement | null;
|
|
4381
|
+
|
|
4382
|
+
/**
|
|
4383
|
+
* Default render of the alerting dialog's comparison-period field: the dropdown selecting the
|
|
4384
|
+
* period a change or difference condition compares against; static text with a single comparator,
|
|
4385
|
+
* nothing for other condition types. Props-driven — the bare control without its label; reads no
|
|
4386
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogComparisonPeriod}
|
|
4387
|
+
* render it with {@link useAlertingDialogComparisonPeriodProps} inside
|
|
4388
|
+
* {@link AutomationDialogFormField}.
|
|
4389
|
+
*
|
|
4390
|
+
* @alpha
|
|
4391
|
+
*/
|
|
4392
|
+
export declare function DefaultAlertingDialogComparisonPeriod({ alert, measure, overlayPositionType, selectedComparison, selectedGranularity, onComparisonChange, id, closeOnParentScroll }: IAlertingDialogComparisonPeriodProps): ReactElement | null;
|
|
4393
|
+
|
|
4394
|
+
/**
|
|
4395
|
+
* Default render of the alerting dialog's destination region: the "Action" row selecting the
|
|
4396
|
+
* notification channel. Props-driven — reads no context. The default dialog and
|
|
4397
|
+
* {@link AlertingDialogDestination} render it with {@link useAlertingDialogDestinationProps}; a
|
|
4398
|
+
* `slots.Destination` slot receives it as `Default`.
|
|
4399
|
+
*
|
|
4400
|
+
* @alpha
|
|
4401
|
+
*/
|
|
4402
|
+
export declare function DefaultAlertingDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange }: IAutomationDialogDestinationProps): JSX.Element;
|
|
4403
|
+
|
|
4404
|
+
/**
|
|
4405
|
+
* Default render of the alerting dialog's filters region: the filter and parameter chips above the
|
|
4406
|
+
* form. Props-driven — reads no context. The default dialog and {@link AlertingDialogFilters} render
|
|
4407
|
+
* it with {@link useAlertingDialogFiltersProps}; a `slots.Filters` slot receives it as `Default`.
|
|
4408
|
+
* Alert automations always store their filters and never target the whole dashboard, so the
|
|
4409
|
+
* store-filters contract is fixed here instead of being carried on the region props.
|
|
4410
|
+
*
|
|
4411
|
+
* @alpha
|
|
4412
|
+
*/
|
|
4413
|
+
export declare function DefaultAlertingDialogFilters(props: IAlertingDialogFiltersProps): JSX.Element;
|
|
4414
|
+
|
|
4415
|
+
/**
|
|
4416
|
+
* Default render of the alerting dialog's granularity field: the dropdown selecting the
|
|
4417
|
+
* anomaly-detection granularity. Props-driven — the bare control without its label; reads no
|
|
4418
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogGranularity} render
|
|
4419
|
+
* it with {@link useAlertingDialogGranularityProps} inside {@link AutomationDialogFormField}.
|
|
4420
|
+
*
|
|
4421
|
+
* @alpha
|
|
4422
|
+
*/
|
|
4423
|
+
export declare function DefaultAlertingDialogGranularity({ id, allowHourlyRecurrence, selectedGranularity, onGranularityChange, overlayPositionType, closeOnParentScroll }: IAlertingDialogGranularityProps): ReactElement;
|
|
4424
|
+
|
|
4425
|
+
/**
|
|
4426
|
+
* Default render of the alerting dialog's header region: the back button and the title input with
|
|
4427
|
+
* its length validation. Props-driven — reads no alerting dialog state. The default dialog and
|
|
4428
|
+
* {@link AlertingDialogHeader} render it with {@link useAlertingDialogHeaderProps}; a `slots.Header`
|
|
4429
|
+
* slot receives it as `Default`.
|
|
4430
|
+
*
|
|
4431
|
+
* @alpha
|
|
4432
|
+
*/
|
|
4433
|
+
export declare const DefaultAlertingDialogHeader: ForwardRefExoticComponent<IAlertingDialogHeaderProps & RefAttributes<HTMLInputElement>>;
|
|
4434
|
+
|
|
4435
|
+
/**
|
|
4436
|
+
* Default render of the alerting dialog's measure field: the dropdown selecting the measure the
|
|
4437
|
+
* condition targets. Props-driven — the bare control without its label; reads no dialog context
|
|
4438
|
+
* (only `useIntl`). The default dialog and {@link AlertingDialogMeasure} render it with
|
|
4439
|
+
* {@link useAlertingDialogMeasureProps} inside {@link AutomationDialogFormField}.
|
|
4440
|
+
*
|
|
4441
|
+
* @alpha
|
|
4442
|
+
*/
|
|
4443
|
+
export declare function DefaultAlertingDialogMeasure({ id, disabled, selectedMeasure, onMeasureChange, measures, overlayPositionType, closeOnParentScroll }: IAlertingDialogMeasureProps): ReactElement;
|
|
4444
|
+
|
|
4445
|
+
/**
|
|
4446
|
+
* Default render of the alerting dialog's recipients region: the recipients select in a form-field
|
|
4447
|
+
* row; the row carries the label, so the select's own label is off. Props-driven — reads no context.
|
|
4448
|
+
* The default dialog and {@link AlertingDialogRecipients} render it with
|
|
4449
|
+
* {@link useAlertingDialogRecipientsProps}; a `slots.Recipients` slot receives it as `Default`.
|
|
4450
|
+
*
|
|
4451
|
+
* @alpha
|
|
4452
|
+
*/
|
|
4453
|
+
export declare function DefaultAlertingDialogRecipients(props: IAutomationDialogRecipientsProps): JSX.Element;
|
|
4454
|
+
|
|
4455
|
+
/**
|
|
4456
|
+
* Default render of the alerting dialog's sensitivity field: the dropdown selecting the
|
|
4457
|
+
* anomaly-detection sensitivity. Props-driven — the bare control without its label; reads no
|
|
4458
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogSensitivity} render
|
|
4459
|
+
* it with {@link useAlertingDialogSensitivityProps} inside {@link AutomationDialogFormField}.
|
|
4460
|
+
*
|
|
4461
|
+
* @alpha
|
|
4462
|
+
*/
|
|
4463
|
+
export declare function DefaultAlertingDialogSensitivity({ id, selectedSensitivity, onSensitivityChange, overlayPositionType, closeOnParentScroll }: IAlertingDialogSensitivityProps): ReactElement;
|
|
4464
|
+
|
|
4465
|
+
/**
|
|
4466
|
+
* Default render of the alerting dialog's threshold field: the numeric input for the threshold,
|
|
4467
|
+
* with its unit suffix and validation message. Props-driven — the bare control without its label;
|
|
4468
|
+
* reads no dialog context (only `useIntl`). The default dialog and {@link AlertingDialogThreshold}
|
|
4469
|
+
* render it with {@link useAlertingDialogThresholdProps} inside {@link AutomationDialogFormField}.
|
|
4470
|
+
*
|
|
4471
|
+
* @alpha
|
|
4472
|
+
*/
|
|
4473
|
+
export declare function DefaultAlertingDialogThreshold({ id, value, onChange, onBlur, suffix, errorMessage }: IAlertingDialogThresholdProps): ReactElement;
|
|
4474
|
+
|
|
4475
|
+
/**
|
|
4476
|
+
* Default render of the alerting dialog's trigger-interval field: the dropdown selecting the
|
|
4477
|
+
* interval of a once-per-interval trigger. Props-driven — the bare control without its label;
|
|
4478
|
+
* reads no dialog context (only `useIntl`). The default dialog and
|
|
4479
|
+
* {@link AlertingDialogTriggerInterval} render it with {@link useAlertingDialogTriggerIntervalProps}
|
|
4480
|
+
* inside {@link AutomationDialogFormField}.
|
|
4481
|
+
*
|
|
4482
|
+
* @alpha
|
|
4483
|
+
*/
|
|
4484
|
+
export declare function DefaultAlertingDialogTriggerInterval({ id, selectedTriggerInterval, onTriggerIntervalChange, overlayPositionType, closeOnParentScroll }: IAlertingDialogTriggerIntervalProps): ReactElement;
|
|
4485
|
+
|
|
4486
|
+
/**
|
|
4487
|
+
* Default render of the alerting dialog's trigger-mode field: the dropdown selecting when the
|
|
4488
|
+
* alert fires. Props-driven — the bare control without its label; reads no dialog context (only
|
|
4489
|
+
* `useIntl`). The default dialog and {@link AlertingDialogTriggerMode} render it with
|
|
4490
|
+
* {@link useAlertingDialogTriggerModeProps} inside {@link AutomationDialogFormField}.
|
|
4491
|
+
*
|
|
4492
|
+
* @alpha
|
|
4493
|
+
*/
|
|
4494
|
+
export declare function DefaultAlertingDialogTriggerMode({ id, selectedTriggerMode, onTriggerModeChange, overlayPositionType, closeOnParentScroll, enableAlertOncePerInterval }: IAlertingDialogTriggerModeProps): ReactElement;
|
|
4495
|
+
|
|
3976
4496
|
/**
|
|
3977
4497
|
* Self-contained version of DefaultAlertingManagementDialogNew that builds the required
|
|
3978
4498
|
* AutomationsContext and AlertingManagementDialogContext internally from the dashboard
|
|
@@ -3983,6 +4503,17 @@ export declare function DefaultAlertingDialog(props: IDefaultAlertingDialogProps
|
|
|
3983
4503
|
*/
|
|
3984
4504
|
export declare function DefaultAlertingManagementDialogNew(props: IAlertingManagementDialogProps): JSX.Element;
|
|
3985
4505
|
|
|
4506
|
+
/**
|
|
4507
|
+
* Default render of both automation dialogs' action bar: the documentation link and Delete on the
|
|
4508
|
+
* left, Cancel and the submit button on the right. Props-driven — reads no context; every value it
|
|
4509
|
+
* renders arrives through {@link IAutomationDialogActionBarProps}. The default dialogs,
|
|
4510
|
+
* {@link AlertingDialogActionBar} and {@link ScheduledEmailDialogActionBar} render it with the
|
|
4511
|
+
* tree's action-bar props hook; a `slots.ActionBar` slot receives it as `Default`.
|
|
4512
|
+
*
|
|
4513
|
+
* @alpha
|
|
4514
|
+
*/
|
|
4515
|
+
export declare function DefaultAutomationDialogActionBar({ cancelButtonText, submitButtonText, onCancel, onSubmit, isSubmitDisabled, isSaving, submitButtonTooltipText, helpLinkText, helpLinkHref, onDelete, deleteButtonText }: IAutomationDialogActionBarProps): JSX.Element;
|
|
4516
|
+
|
|
3986
4517
|
/**
|
|
3987
4518
|
* @alpha
|
|
3988
4519
|
*/
|
|
@@ -4226,6 +4757,15 @@ export declare function DefaultSaveButton({ isVisible, isEnabled, isSaving, butt
|
|
|
4226
4757
|
* that is what lets a wholesale replacement receive the same contexts. Rendering this component
|
|
4227
4758
|
* outside those providers throws at runtime.
|
|
4228
4759
|
*
|
|
4760
|
+
* The dialog is composed from the exported region renders — {@link DefaultScheduledEmailDialogHeader},
|
|
4761
|
+
* {@link DefaultScheduledEmailDialogFilters}, {@link DefaultScheduledEmailDialogDestination},
|
|
4762
|
+
* {@link DefaultScheduledEmailDialogRecipients}, {@link DefaultScheduledEmailDialogTimezone},
|
|
4763
|
+
* {@link DefaultAutomationDialogActionBar} — fed by the matching `use*Props` hooks
|
|
4764
|
+
* ({@link useScheduledEmailDialogFiltersProps} and siblings). A custom `ScheduledEmailDialogComponent`
|
|
4765
|
+
* that keeps our regions but owns the markup places the connected blocks
|
|
4766
|
+
* ({@link ScheduledEmailDialogFilters} and siblings) instead of this component, and reads or writes
|
|
4767
|
+
* the same draft through {@link useScheduledExportDraft} and {@link useScheduledExportActions}.
|
|
4768
|
+
*
|
|
4229
4769
|
* Slots render only in the fully rendered dialog: not while the dialog context reports loading,
|
|
4230
4770
|
* and not while the stale-filters confirmation step is shown. The Filters slot additionally
|
|
4231
4771
|
* renders only while the Filters tab is selected — see {@link IScheduledEmailDialogSlots.Filters}.
|
|
@@ -4235,19 +4775,76 @@ export declare function DefaultSaveButton({ isVisible, isEnabled, isSaving, butt
|
|
|
4235
4775
|
export declare function DefaultScheduledEmailDialog(props: IDefaultScheduledEmailDialogProps): JSX.Element;
|
|
4236
4776
|
|
|
4237
4777
|
/**
|
|
4778
|
+
* Default render of the scheduled-export dialog's destination region: the notification-channel
|
|
4779
|
+
* select. Props-driven — reads no context. The default dialog and
|
|
4780
|
+
* {@link ScheduledEmailDialogDestination} render it with
|
|
4781
|
+
* {@link useScheduledEmailDialogDestinationProps}; a `slots.Destination` slot receives it as `Default`.
|
|
4782
|
+
*
|
|
4238
4783
|
* @alpha
|
|
4239
4784
|
*/
|
|
4240
|
-
export declare function
|
|
4785
|
+
export declare function DefaultScheduledEmailDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange }: IAutomationDialogDestinationProps): JSX.Element;
|
|
4241
4786
|
|
|
4242
4787
|
/**
|
|
4243
|
-
*
|
|
4788
|
+
* Default render of the scheduled-export dialog's filters region: the filter and parameter chips of
|
|
4789
|
+
* the Filters tab, flat or per dashboard tab. The title is hidden and the list always expanded
|
|
4790
|
+
* because the tab itself provides both. Props-driven — reads no context. The default dialog and
|
|
4791
|
+
* {@link ScheduledEmailDialogFilters} render it with {@link useScheduledEmailDialogFiltersProps}; a
|
|
4792
|
+
* `slots.Filters` slot receives it as `Default`.
|
|
4793
|
+
*
|
|
4794
|
+
* @alpha
|
|
4244
4795
|
*/
|
|
4245
|
-
export declare function
|
|
4796
|
+
export declare function DefaultScheduledEmailDialogFilters(props: IScheduledEmailDialogFiltersProps): JSX.Element;
|
|
4246
4797
|
|
|
4247
4798
|
/**
|
|
4799
|
+
* Default render of the scheduled-export dialog's header region: the back button and the title input
|
|
4800
|
+
* with its length validation. Props-driven — reads no scheduled-email dialog state. The default dialog and
|
|
4801
|
+
* {@link ScheduledEmailDialogHeader} render it with {@link useScheduledEmailDialogHeaderProps}; a
|
|
4802
|
+
* `slots.Header` slot receives it as `Default`.
|
|
4803
|
+
*
|
|
4248
4804
|
* @alpha
|
|
4249
4805
|
*/
|
|
4250
|
-
export declare
|
|
4806
|
+
export declare const DefaultScheduledEmailDialogHeader: ForwardRefExoticComponent<IScheduledEmailDialogHeaderProps & RefAttributes<HTMLInputElement>>;
|
|
4807
|
+
|
|
4808
|
+
/**
|
|
4809
|
+
* Default render of the scheduled-export dialog's recipients region: the recipients select.
|
|
4810
|
+
* Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogRecipients}
|
|
4811
|
+
* render it with {@link useScheduledEmailDialogRecipientsProps}; a `slots.Recipients` slot receives
|
|
4812
|
+
* it as `Default`.
|
|
4813
|
+
*
|
|
4814
|
+
* @alpha
|
|
4815
|
+
*/
|
|
4816
|
+
export declare function DefaultScheduledEmailDialogRecipients(props: IScheduledEmailDialogRecipientsProps): JSX.Element;
|
|
4817
|
+
|
|
4818
|
+
/**
|
|
4819
|
+
* The "Time zone" section of the scheduled-email dialog's General tab. Unlike the
|
|
4820
|
+
* dashboard-settings timezone picker, the dropdown offers no browser-detected option — the
|
|
4821
|
+
* schedule runs without a browser. Dashboard schedules offer a Default option (the backend
|
|
4822
|
+
* derives the persisted dashboard/settings timezone at run time); widget schedules always show
|
|
4823
|
+
* a concrete timezone.
|
|
4824
|
+
*
|
|
4825
|
+
* Default render of that section; its props are the slot contract
|
|
4826
|
+
* ({@link IScheduledEmailDialogTimezoneProps}). Props-driven — reads no scheduled-email dialog state. The default dialog
|
|
4827
|
+
* and {@link ScheduledEmailDialogTimezone} render it with {@link useScheduledEmailDialogTimezoneProps};
|
|
4828
|
+
* a `slots.Timezone` slot receives it as `Default`.
|
|
4829
|
+
*
|
|
4830
|
+
* @alpha
|
|
4831
|
+
*/
|
|
4832
|
+
export declare function DefaultScheduledEmailDialogTimezone({ isWidget, selection, defaultResolvedTimezone, onTimezoneChange }: IScheduledEmailDialogTimezoneProps): JSX.Element;
|
|
4833
|
+
|
|
4834
|
+
/**
|
|
4835
|
+
* @alpha
|
|
4836
|
+
*/
|
|
4837
|
+
export declare function DefaultScheduledEmailManagementDialog({ onAdd, onEdit, onClose }: IScheduledEmailManagementDialogProps): JSX.Element;
|
|
4838
|
+
|
|
4839
|
+
/**
|
|
4840
|
+
* @internal
|
|
4841
|
+
*/
|
|
4842
|
+
export declare function DefaultSettingButton({ isVisible, isEnabled, isSaving, buttonTitle, buttonValue, onSettingClick }: ISettingButtonProps): JSX.Element | null;
|
|
4843
|
+
|
|
4844
|
+
/**
|
|
4845
|
+
* @alpha
|
|
4846
|
+
*/
|
|
4847
|
+
export declare function DefaultShareButton({ isVisible, isEnabled, onShareButtonClick }: IShareButtonProps): ReactElement | null;
|
|
4251
4848
|
|
|
4252
4849
|
/**
|
|
4253
4850
|
* @alpha
|
|
@@ -5812,6 +6409,117 @@ export declare interface IAddVisualizationToVisualizationSwitcherWidgetContentPa
|
|
|
5812
6409
|
readonly sizeInfo: IVisualizationSizeInfo;
|
|
5813
6410
|
}
|
|
5814
6411
|
|
|
6412
|
+
/**
|
|
6413
|
+
* The alerting dialog's mutators: the draft setter and every form change-handler.
|
|
6414
|
+
*
|
|
6415
|
+
* Changes rarely: `onGranularityChange` is re-created when `triggerIntervalDirty` toggles or the
|
|
6416
|
+
* supported measures load.
|
|
6417
|
+
*
|
|
6418
|
+
* @alpha
|
|
6419
|
+
*/
|
|
6420
|
+
export declare interface IAlertActionsContextValue {
|
|
6421
|
+
/**
|
|
6422
|
+
* Replaces the draft; the change-handlers below are the preferred, field-scoped writes.
|
|
6423
|
+
*/
|
|
6424
|
+
setEditedAutomation: Dispatch_2<SetStateAction<IAutomationMetadataObjectDefinition | undefined>>;
|
|
6425
|
+
/**
|
|
6426
|
+
* Sets the alert title and re-validates its length.
|
|
6427
|
+
*/
|
|
6428
|
+
onTitleChange: (value: string) => void;
|
|
6429
|
+
/**
|
|
6430
|
+
* Selects the measure the condition targets; resets the comparison to the measure's defaults.
|
|
6431
|
+
*/
|
|
6432
|
+
onMeasureChange: (measure: AlertMetric) => void;
|
|
6433
|
+
/**
|
|
6434
|
+
* Slices the condition by an attribute value; `undefined` clears the slice.
|
|
6435
|
+
*/
|
|
6436
|
+
onAttributeChange: (attribute: AlertAttribute | undefined, value: AttributeValue | undefined) => void;
|
|
6437
|
+
/**
|
|
6438
|
+
* Switches the condition to a comparison against a fixed threshold.
|
|
6439
|
+
*/
|
|
6440
|
+
onComparisonOperatorChange: (measure: AlertMetric, comparisonOperator: IAlertComparisonOperator) => void;
|
|
6441
|
+
/**
|
|
6442
|
+
* Switches the condition to a relative (change / difference) comparison with the given operators.
|
|
6443
|
+
*/
|
|
6444
|
+
onRelativeOperatorChange: (measure: AlertMetric, relativeOperator: IAlertRelativeOperator, arithmeticOperator: IAlertRelativeArithmeticOperator) => void;
|
|
6445
|
+
/**
|
|
6446
|
+
* Switches the condition to anomaly detection on the measure.
|
|
6447
|
+
*/
|
|
6448
|
+
onAnomalyDetectionChange: (measure: AlertMetric) => void;
|
|
6449
|
+
/**
|
|
6450
|
+
* Sets the period a relative condition compares against (and its granularity when given).
|
|
6451
|
+
*/
|
|
6452
|
+
onComparisonTypeChange: (measure: AlertMetric | undefined, relativeOperator: [IAlertRelativeOperator, IAlertRelativeArithmeticOperator] | undefined, comparisonType: AlertMetricComparatorType, granularity?: DateAttributeGranularity) => void;
|
|
6453
|
+
/**
|
|
6454
|
+
* Sets the anomaly-detection sensitivity.
|
|
6455
|
+
*/
|
|
6456
|
+
onSensitivityChange: (sensitivity: IAlertAnomalyDetectionSensitivity) => void;
|
|
6457
|
+
/**
|
|
6458
|
+
* Sets the trigger interval. `dirty` defaults to true; the granularity handler passes false when it
|
|
6459
|
+
* derives the interval.
|
|
6460
|
+
*/
|
|
6461
|
+
onTriggerIntervalChange: (triggerInterval: IAlertTriggerInterval, dirty?: boolean) => void;
|
|
6462
|
+
/**
|
|
6463
|
+
* Sets the anomaly-detection granularity; derives the trigger interval unless the user edited it.
|
|
6464
|
+
*/
|
|
6465
|
+
onGranularityChange: (measure: AlertMetric | undefined, granularity: IAlertAnomalyDetectionGranularity) => void;
|
|
6466
|
+
/**
|
|
6467
|
+
* Selects the notification channel; recipients incompatible with it are dropped.
|
|
6468
|
+
*/
|
|
6469
|
+
onDestinationChange: (destinationId: string) => void;
|
|
6470
|
+
/**
|
|
6471
|
+
* Sets when the alert fires: every evaluation or once per interval.
|
|
6472
|
+
*/
|
|
6473
|
+
onTriggerModeChange: (triggerMode: IAlertTriggerMode) => void;
|
|
6474
|
+
/**
|
|
6475
|
+
* Replaces the recipients with the complete updated array.
|
|
6476
|
+
*/
|
|
6477
|
+
onRecipientsChange: (recipients: IAutomationRecipient[]) => void;
|
|
6478
|
+
}
|
|
6479
|
+
|
|
6480
|
+
/**
|
|
6481
|
+
* The data the alerting dialog loads asynchronously: the supported measures and attributes with
|
|
6482
|
+
* their formats, the execution-result readers, and the current user's default recipients.
|
|
6483
|
+
*
|
|
6484
|
+
* Changes when an async load resolves, not per keystroke.
|
|
6485
|
+
*
|
|
6486
|
+
* @alpha
|
|
6487
|
+
*/
|
|
6488
|
+
export declare interface IAlertDataContextValue {
|
|
6489
|
+
/**
|
|
6490
|
+
* Measures of the insight an alert can be built on, with their comparisons.
|
|
6491
|
+
*/
|
|
6492
|
+
supportedMeasures: AlertMetric[];
|
|
6493
|
+
/**
|
|
6494
|
+
* Attributes of the insight an alert can be sliced by.
|
|
6495
|
+
*/
|
|
6496
|
+
supportedAttributes: AlertAttribute[];
|
|
6497
|
+
/**
|
|
6498
|
+
* Number formats of the insight's measures, by local identifier.
|
|
6499
|
+
*/
|
|
6500
|
+
measureFormatMap: IMeasureFormatMap;
|
|
6501
|
+
/**
|
|
6502
|
+
* Whether the widget's execution result is still loading.
|
|
6503
|
+
*/
|
|
6504
|
+
isResultLoading: boolean;
|
|
6505
|
+
/**
|
|
6506
|
+
* Distinct values of an attribute in the widget's execution result.
|
|
6507
|
+
*/
|
|
6508
|
+
getAttributeValues: (attribute: IAttributeMetadataObject) => AttributeValue[];
|
|
6509
|
+
/**
|
|
6510
|
+
* The measure's current value, optionally sliced by an attribute value; undefined while loading.
|
|
6511
|
+
*/
|
|
6512
|
+
getMetricValue: (measure?: IMeasure, attribute?: IAttribute, value?: string | null) => number | undefined;
|
|
6513
|
+
/**
|
|
6514
|
+
* The logged-in user as a recipient.
|
|
6515
|
+
*/
|
|
6516
|
+
defaultUser: IAutomationRecipient;
|
|
6517
|
+
/**
|
|
6518
|
+
* The recipient a new alert is seeded with; an external-recipient override replaces the user.
|
|
6519
|
+
*/
|
|
6520
|
+
defaultRecipient: IAutomationRecipient;
|
|
6521
|
+
}
|
|
6522
|
+
|
|
5815
6523
|
/**
|
|
5816
6524
|
* @internal
|
|
5817
6525
|
*/
|
|
@@ -5827,184 +6535,557 @@ export declare interface IAlertDialogContext {
|
|
|
5827
6535
|
}
|
|
5828
6536
|
|
|
5829
6537
|
/**
|
|
5830
|
-
*
|
|
5831
|
-
*
|
|
5832
|
-
* The connector hydrates this from dashboard state and provides the CRUD callbacks; the dialog and its
|
|
5833
|
-
* hooks read it instead of reaching into the dashboard store. That direction is enforced by the
|
|
5834
|
-
* `no-model-imports-in-clean-alerting` rule in `.dependency-cruiser.js`.
|
|
6538
|
+
* The alerting dialog's validity.
|
|
5835
6539
|
*
|
|
5836
6540
|
* @alpha
|
|
5837
6541
|
*/
|
|
5838
|
-
export declare interface
|
|
5839
|
-
mode: "create" | "edit";
|
|
5840
|
-
widget?: IWidget;
|
|
5841
|
-
insight?: IInsight;
|
|
5842
|
-
widgetTitle?: string;
|
|
5843
|
-
dashboardId?: string;
|
|
5844
|
-
dashboardFilters: FilterContextItem[];
|
|
5845
|
-
hiddenFilters: FilterContextItem[];
|
|
5846
|
-
executionResultByRef: (ref: ObjRef | undefined) => {
|
|
5847
|
-
executionResult?: IExecutionResult;
|
|
5848
|
-
} | undefined;
|
|
5849
|
-
/** Effective widget parameter values for the dialog's widget (replaces direct selectEffectiveParameterValuesForWidget read) */
|
|
5850
|
-
parameterValues: IInsightParameterValue[];
|
|
6542
|
+
export declare interface IAlertDialogValidity {
|
|
5851
6543
|
/**
|
|
5852
|
-
*
|
|
5853
|
-
* runtime override folded in (replaces the direct selectEffectiveDashboardParametersForWidget
|
|
5854
|
-
* read in useAutomationAlertParameters).
|
|
6544
|
+
* Whether submit is disabled: the draft is invalid, incomplete, or unchanged in edit mode.
|
|
5855
6545
|
*/
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
6546
|
+
isSubmitDisabled: boolean;
|
|
6547
|
+
/**
|
|
6548
|
+
* The validation message to show; undefined when there is none.
|
|
6549
|
+
*/
|
|
6550
|
+
validationErrorMessage: string | undefined;
|
|
6551
|
+
/**
|
|
6552
|
+
* Whether the widget the alert is attached to still exists and supports the alert's measure.
|
|
6553
|
+
*/
|
|
6554
|
+
isParentValid: boolean;
|
|
6555
|
+
/**
|
|
6556
|
+
* Whether the measure may be changed — false when the dialog has no insight.
|
|
6557
|
+
*/
|
|
6558
|
+
canChangeMeasure: boolean;
|
|
6559
|
+
/**
|
|
6560
|
+
* Whether the saved alert points at a widget whose insight is gone.
|
|
6561
|
+
*/
|
|
6562
|
+
isInvalidConnectionToInsight: boolean;
|
|
5868
6563
|
}
|
|
5869
6564
|
|
|
5870
6565
|
/**
|
|
5871
|
-
*
|
|
5872
|
-
* the form
|
|
6566
|
+
* The alerting dialog's edit draft: the automation being edited, the baseline it is compared
|
|
6567
|
+
* against, and the form-level warning and title-validity flag that move with it.
|
|
6568
|
+
*
|
|
6569
|
+
* Changes on every keystroke; consumers re-render by design.
|
|
5873
6570
|
*
|
|
5874
6571
|
* @alpha
|
|
5875
6572
|
*/
|
|
5876
|
-
export declare interface
|
|
6573
|
+
export declare interface IAlertDraftContextValue {
|
|
5877
6574
|
/**
|
|
5878
|
-
*
|
|
5879
|
-
* anomaly detection.
|
|
6575
|
+
* The alert being edited. Undefined only before the state model has seeded it.
|
|
5880
6576
|
*/
|
|
5881
|
-
|
|
6577
|
+
editedAutomation: IAutomationMetadataObjectDefinition | undefined;
|
|
6578
|
+
/**
|
|
6579
|
+
* The draft as it was when the dialog opened; the dirty check compares against it.
|
|
6580
|
+
*/
|
|
6581
|
+
originalAutomation: IAutomationMetadataObjectDefinition | undefined;
|
|
6582
|
+
/**
|
|
6583
|
+
* Form-level warning shown below the form, e.g. after switching to a creator-only channel.
|
|
6584
|
+
*/
|
|
6585
|
+
warningMessage: string | undefined;
|
|
6586
|
+
/**
|
|
6587
|
+
* Whether the current title passes the length limit.
|
|
6588
|
+
*/
|
|
6589
|
+
isTitleValid: boolean;
|
|
5882
6590
|
}
|
|
5883
6591
|
|
|
5884
6592
|
/**
|
|
5885
|
-
*
|
|
6593
|
+
* The alerting dialog's filter and export-parameter model: the current selection, the available
|
|
6594
|
+
* filters, the two filter mutators and the staleness flags, plus the automation's execution
|
|
6595
|
+
* parameters and their mutators.
|
|
6596
|
+
*
|
|
6597
|
+
* Changes when a filter or a parameter is edited.
|
|
5886
6598
|
*
|
|
5887
6599
|
* @alpha
|
|
5888
6600
|
*/
|
|
5889
|
-
export declare interface
|
|
6601
|
+
export declare interface IAlertFiltersContextValue {
|
|
5890
6602
|
/**
|
|
5891
|
-
*
|
|
6603
|
+
* The filters the alert is saved with.
|
|
5892
6604
|
*/
|
|
5893
|
-
|
|
6605
|
+
selectedFilters: FilterContextItem[];
|
|
6606
|
+
/**
|
|
6607
|
+
* The dashboard filters the alert may use; undefined until resolved.
|
|
6608
|
+
*/
|
|
6609
|
+
availableFilters: FilterContextItem[] | undefined;
|
|
6610
|
+
/**
|
|
6611
|
+
* Replaces the selection with the complete updated array and mirrors it into the draft.
|
|
6612
|
+
*/
|
|
6613
|
+
onFiltersChange: (filters: FilterContextItem[]) => void;
|
|
6614
|
+
/**
|
|
6615
|
+
* Replaces the selection with the dashboard's current filters (the stale-filters repair).
|
|
6616
|
+
*/
|
|
6617
|
+
onApplyCurrentFilters: () => void;
|
|
6618
|
+
/**
|
|
6619
|
+
* False when the saved filters or the saved parameters no longer match the dashboard; gates the
|
|
6620
|
+
* stale-filters confirmation.
|
|
6621
|
+
*/
|
|
6622
|
+
automationIsValid: boolean;
|
|
6623
|
+
/**
|
|
6624
|
+
* Whether the saved filters alone no longer match the dashboard.
|
|
6625
|
+
*/
|
|
6626
|
+
filtersAreStale: boolean;
|
|
6627
|
+
/**
|
|
6628
|
+
* The parameter chips to render. Empty when the `enableParameters` feature is off.
|
|
6629
|
+
*/
|
|
6630
|
+
automationParameters: IAutomationParameter[];
|
|
6631
|
+
/**
|
|
6632
|
+
* Workspace parameters addable via the "+" menu. Empty when the feature is off.
|
|
6633
|
+
*/
|
|
6634
|
+
availableParameters: IAutomationParameter[];
|
|
6635
|
+
/**
|
|
6636
|
+
* Sets a parameter's value.
|
|
6637
|
+
*/
|
|
6638
|
+
onParameterChange: (ref: IdentifierRef, value: ParameterValue) => void;
|
|
6639
|
+
/**
|
|
6640
|
+
* Removes a parameter override.
|
|
6641
|
+
*/
|
|
6642
|
+
onParameterDelete: (ref: IdentifierRef) => void;
|
|
6643
|
+
/**
|
|
6644
|
+
* Adds a workspace parameter with its default value.
|
|
6645
|
+
*/
|
|
6646
|
+
onParameterAdd: (ref: IdentifierRef) => void;
|
|
6647
|
+
/**
|
|
6648
|
+
* Drops stored parameters whose `ref` left the workspace catalog, keeping every other override.
|
|
6649
|
+
*/
|
|
6650
|
+
dropStaleParameters: () => void;
|
|
5894
6651
|
}
|
|
5895
6652
|
|
|
5896
6653
|
/**
|
|
6654
|
+
* Props of {@link AlertingDialogActionBar}: the dialog inputs {@link useAlertingDialogActionBarProps}
|
|
6655
|
+
* needs (`onSubmit` and `isSaving` from {@link useAlertSubmit}, the dialog's `onCancel`, `onDelete`
|
|
6656
|
+
* for edit mode) plus any {@link IAutomationDialogActionBarProps} member to override.
|
|
6657
|
+
*
|
|
5897
6658
|
* @alpha
|
|
5898
6659
|
*/
|
|
5899
|
-
export declare
|
|
6660
|
+
export declare type IAlertingDialogActionBarBlockProps = IUseAlertingDialogActionBarPropsInput & Partial<IAutomationDialogActionBarProps>;
|
|
6661
|
+
|
|
6662
|
+
/**
|
|
6663
|
+
* Props of the default alerting dialog's attribute field (the "For" row).
|
|
6664
|
+
*
|
|
6665
|
+
* @alpha
|
|
6666
|
+
*/
|
|
6667
|
+
export declare interface IAlertingDialogAttributeProps {
|
|
5900
6668
|
/**
|
|
5901
|
-
*
|
|
5902
|
-
*
|
|
5903
|
-
* @deprecated has no effect since 11.51 — the dialog reads `alertToEdit` from
|
|
5904
|
-
* `useAlertingDialogContext()`. To adjust what it reads, use the
|
|
5905
|
-
* `AlertingDialogContextDecoratorComponent` dashboard prop. Prop will be removed.
|
|
6669
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
5906
6670
|
*/
|
|
5907
|
-
|
|
6671
|
+
id: string;
|
|
5908
6672
|
/**
|
|
5909
|
-
*
|
|
5910
|
-
*
|
|
5911
|
-
* @deprecated has no effect since 11.51 — the dialog reads `notificationChannels` from
|
|
5912
|
-
* `useAlertingDialogContext()`. To adjust what it reads, use the
|
|
5913
|
-
* `AlertingDialogContextDecoratorComponent` dashboard prop. Prop will be removed.
|
|
6673
|
+
* Disables the select. The default dialog disables it when the dialog has no insight to pick measures from.
|
|
5914
6674
|
*/
|
|
5915
|
-
|
|
6675
|
+
disabled?: boolean;
|
|
5916
6676
|
/**
|
|
5917
|
-
*
|
|
5918
|
-
*
|
|
5919
|
-
* Note: this is available only when alerting for widget, not dashboard.
|
|
5920
|
-
* Typed as IWidget (not ExtendedDashboardWidget) because the dialog only
|
|
5921
|
-
* supports insight widgets; custom widgets and nested layouts are not valid
|
|
5922
|
-
* alert targets and were silently discarded at the connector boundary anyway.
|
|
5923
|
-
*
|
|
5924
|
-
* @deprecated has no effect since 11.51 — the dialog reads `widget` from
|
|
5925
|
-
* `useAlertingDialogContext()`. To adjust what it reads, use the
|
|
5926
|
-
* `AlertingDialogContextDecoratorComponent` dashboard prop. Prop will be removed.
|
|
6677
|
+
* The attribute the condition is sliced by; undefined for the whole measure.
|
|
5927
6678
|
*/
|
|
5928
|
-
|
|
6679
|
+
selectedAttribute: AlertAttribute | undefined;
|
|
5929
6680
|
/**
|
|
5930
|
-
*
|
|
5931
|
-
*
|
|
5932
|
-
* Note: this is available only when alerting for widget, not dashboard.
|
|
5933
|
-
*
|
|
5934
|
-
* @deprecated has no effect since 11.51 — the dialog reads `insight` from
|
|
5935
|
-
* `useAlertingDialogContext()`. To adjust what it reads, use the
|
|
5936
|
-
* `AlertingDialogContextDecoratorComponent` dashboard prop (e.g. so an alert follows a
|
|
5937
|
-
* widget's date-granularity selection). Prop will be removed.
|
|
6681
|
+
* The attribute element the condition is sliced to; null for the empty value, undefined for all values.
|
|
5938
6682
|
*/
|
|
5939
|
-
|
|
6683
|
+
selectedValue: string | null | undefined;
|
|
5940
6684
|
/**
|
|
5941
|
-
*
|
|
5942
|
-
*
|
|
5943
|
-
* @deprecated has no effect since 11.51 — the dialog reads `isLoading` from
|
|
5944
|
-
* `useAlertingDialogContext()`. Prop will be removed.
|
|
6685
|
+
* Called with the picked attribute and value; `(undefined, undefined)` clears the slice.
|
|
5945
6686
|
*/
|
|
5946
|
-
|
|
6687
|
+
onAttributeChange: (attribute: AlertAttribute | undefined, value: AttributeValue | undefined) => void;
|
|
5947
6688
|
/**
|
|
5948
|
-
*
|
|
6689
|
+
* The insight's attributes; the select offers the non-date ones and renders nothing when there is none.
|
|
5949
6690
|
*/
|
|
5950
|
-
|
|
6691
|
+
attributes: AlertAttribute[];
|
|
5951
6692
|
/**
|
|
5952
|
-
*
|
|
6693
|
+
* The workspace catalog's attributes, to resolve titles and display forms.
|
|
5953
6694
|
*/
|
|
5954
|
-
|
|
6695
|
+
catalogAttributes: ICatalogAttribute[];
|
|
5955
6696
|
/**
|
|
5956
|
-
*
|
|
6697
|
+
* The workspace catalog's date datasets, to resolve date attributes.
|
|
5957
6698
|
*/
|
|
5958
|
-
|
|
6699
|
+
catalogDateDatasets: ICatalogDateDataset[];
|
|
5959
6700
|
/**
|
|
5960
|
-
*
|
|
6701
|
+
* Distinct values of an attribute in the widget's execution result.
|
|
5961
6702
|
*/
|
|
5962
|
-
|
|
6703
|
+
getAttributeValues: (attribute: IAttributeMetadataObject) => AttributeValue[];
|
|
5963
6704
|
/**
|
|
5964
|
-
*
|
|
6705
|
+
* Disables the select while the execution result is loading.
|
|
5965
6706
|
*/
|
|
5966
|
-
|
|
6707
|
+
isResultLoading?: boolean;
|
|
5967
6708
|
/**
|
|
5968
|
-
*
|
|
6709
|
+
* Renders the select's own "For" label above the control. The default dialog passes false — the
|
|
6710
|
+
* form row carries the label.
|
|
5969
6711
|
*/
|
|
5970
|
-
|
|
6712
|
+
showLabel?: boolean;
|
|
5971
6713
|
/**
|
|
5972
|
-
*
|
|
6714
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
5973
6715
|
*/
|
|
5974
|
-
|
|
6716
|
+
closeOnParentScroll?: boolean;
|
|
5975
6717
|
}
|
|
5976
6718
|
|
|
5977
6719
|
/**
|
|
5978
|
-
*
|
|
6720
|
+
* Props of the default alerting dialog's comparison-operator field (the "Condition" row).
|
|
5979
6721
|
*
|
|
5980
6722
|
* @alpha
|
|
5981
6723
|
*/
|
|
5982
|
-
export declare interface
|
|
6724
|
+
export declare interface IAlertingDialogComparisonOperatorProps {
|
|
5983
6725
|
/**
|
|
5984
|
-
*
|
|
5985
|
-
* identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
6726
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
5986
6727
|
*/
|
|
5987
|
-
|
|
6728
|
+
id: string;
|
|
5988
6729
|
/**
|
|
5989
|
-
*
|
|
5990
|
-
* a stable reference identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
5991
|
-
*
|
|
5992
|
-
* Renders only in the fully rendered dialog: not while the dialog context reports loading,
|
|
5993
|
-
* and not while the stale-filters confirmation step is shown.
|
|
5994
|
-
*
|
|
5995
|
-
* A replacement takes over computing the next filters array: `defaultProps.onFiltersChange`
|
|
5996
|
-
* expects the complete selection, so change/remove/add gestures must submit the whole
|
|
5997
|
-
* updated array, not a delta.
|
|
6730
|
+
* The measure the condition targets; the select renders nothing without one.
|
|
5998
6731
|
*/
|
|
5999
|
-
|
|
6732
|
+
measure: AlertMetric | undefined;
|
|
6000
6733
|
/**
|
|
6001
|
-
*
|
|
6002
|
-
*
|
|
6003
|
-
*
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
*
|
|
6734
|
+
* Offers the anomaly-detection operators. The default dialog passes the conjunction of the
|
|
6735
|
+
* `enableAnomalyDetectionAlert` and `canUseAiAssistant` features; pass false to hide those
|
|
6736
|
+
* options.
|
|
6737
|
+
*/
|
|
6738
|
+
enableAnomalyDetectionAlert: boolean;
|
|
6739
|
+
/**
|
|
6740
|
+
* The operator of a fixed-threshold condition, when that is the condition type.
|
|
6741
|
+
*/
|
|
6742
|
+
selectedComparisonOperator: IAlertComparisonOperator | undefined;
|
|
6743
|
+
/**
|
|
6744
|
+
* The relative and arithmetic operators of a relative condition, when that is the condition type.
|
|
6745
|
+
*/
|
|
6746
|
+
selectedRelativeOperator: [IAlertRelativeOperator, IAlertRelativeArithmeticOperator] | undefined;
|
|
6747
|
+
/**
|
|
6748
|
+
* The operator id of an anomaly-detection condition, when that is the condition type.
|
|
6749
|
+
*/
|
|
6750
|
+
selectedAiOperator: AlertAiOperator | undefined;
|
|
6751
|
+
/**
|
|
6752
|
+
* Called when a fixed-threshold operator is picked.
|
|
6753
|
+
*/
|
|
6754
|
+
onComparisonOperatorChange: (measure: AlertMetric, comparisonOperator: IAlertComparisonOperator) => void;
|
|
6755
|
+
/**
|
|
6756
|
+
* Called when the anomaly-detection operator is picked.
|
|
6757
|
+
*/
|
|
6758
|
+
onAnomalyDetectionChange: (measure: AlertMetric) => void;
|
|
6759
|
+
/**
|
|
6760
|
+
* Called when a relative (change / difference) operator is picked.
|
|
6761
|
+
*/
|
|
6762
|
+
onRelativeOperatorChange: (measure: AlertMetric, relativeOperator: IAlertRelativeOperator, arithmeticOperator: IAlertRelativeArithmeticOperator) => void;
|
|
6763
|
+
/**
|
|
6764
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
6765
|
+
*/
|
|
6766
|
+
overlayPositionType?: OverlayPositionType;
|
|
6767
|
+
/**
|
|
6768
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
6769
|
+
*/
|
|
6770
|
+
closeOnParentScroll?: boolean;
|
|
6771
|
+
}
|
|
6772
|
+
|
|
6773
|
+
/**
|
|
6774
|
+
* Props of the default alerting dialog's comparison-period field (the "Compared to" row).
|
|
6775
|
+
*
|
|
6776
|
+
* @alpha
|
|
6777
|
+
*/
|
|
6778
|
+
export declare interface IAlertingDialogComparisonPeriodProps {
|
|
6779
|
+
/**
|
|
6780
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
6781
|
+
*/
|
|
6782
|
+
id: string;
|
|
6783
|
+
/**
|
|
6784
|
+
* The alert draft; the select renders nothing unless its condition is a change or difference.
|
|
6785
|
+
*/
|
|
6786
|
+
alert: IAutomationMetadataObjectDefinition | undefined;
|
|
6787
|
+
/**
|
|
6788
|
+
* The measure the condition targets, whose comparators are the options; with a single
|
|
6789
|
+
* comparator the select renders it as static text.
|
|
6790
|
+
*/
|
|
6791
|
+
measure: AlertMetric | undefined;
|
|
6792
|
+
/**
|
|
6793
|
+
* The selected period comparison.
|
|
6794
|
+
*/
|
|
6795
|
+
selectedComparison?: AlertMetricComparatorType;
|
|
6796
|
+
/**
|
|
6797
|
+
* The selected granularity of the period shift.
|
|
6798
|
+
*/
|
|
6799
|
+
selectedGranularity?: DateAttributeGranularity;
|
|
6800
|
+
/**
|
|
6801
|
+
* Called with the picked comparison and its granularity.
|
|
6802
|
+
*/
|
|
6803
|
+
onComparisonChange: (comparison: AlertMetricComparatorType, granularity?: DateAttributeGranularity) => void;
|
|
6804
|
+
/**
|
|
6805
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
6806
|
+
*/
|
|
6807
|
+
overlayPositionType?: OverlayPositionType;
|
|
6808
|
+
/**
|
|
6809
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
6810
|
+
*/
|
|
6811
|
+
closeOnParentScroll?: boolean;
|
|
6812
|
+
}
|
|
6813
|
+
|
|
6814
|
+
/**
|
|
6815
|
+
* Sub-context for the alerting create/edit dialog.
|
|
6816
|
+
*
|
|
6817
|
+
* The connector hydrates this from dashboard state and provides the CRUD callbacks; the dialog and its
|
|
6818
|
+
* hooks read it instead of reaching into the dashboard store. That direction is enforced by the
|
|
6819
|
+
* `no-model-imports-in-clean-alerting` rule in `.dependency-cruiser.js`.
|
|
6820
|
+
*
|
|
6821
|
+
* @alpha
|
|
6822
|
+
*/
|
|
6823
|
+
export declare interface IAlertingDialogContextValue {
|
|
6824
|
+
mode: "create" | "edit";
|
|
6825
|
+
widget?: IWidget;
|
|
6826
|
+
insight?: IInsight;
|
|
6827
|
+
widgetTitle?: string;
|
|
6828
|
+
dashboardId?: string;
|
|
6829
|
+
dashboardFilters: FilterContextItem[];
|
|
6830
|
+
hiddenFilters: FilterContextItem[];
|
|
6831
|
+
executionResultByRef: (ref: ObjRef | undefined) => {
|
|
6832
|
+
executionResult?: IExecutionResult;
|
|
6833
|
+
} | undefined;
|
|
6834
|
+
/** Effective widget parameter values for the dialog's widget (replaces direct selectEffectiveParameterValuesForWidget read) */
|
|
6835
|
+
parameterValues: IInsightParameterValue[];
|
|
6836
|
+
/**
|
|
6837
|
+
* Effective dashboard parameters for the dialog's widget — the owning tab's parameters with any
|
|
6838
|
+
* runtime override folded in (replaces the direct selectEffectiveDashboardParametersForWidget
|
|
6839
|
+
* read in useAutomationAlertParameters).
|
|
6840
|
+
*/
|
|
6841
|
+
dashboardParameters: IDashboardParameter[];
|
|
6842
|
+
commonDateFilterId?: string;
|
|
6843
|
+
dashboardEvaluationFrequency?: string;
|
|
6844
|
+
createAlert(alert: IAutomationMetadataObjectDefinition): Promise<IAutomationMetadataObject>;
|
|
6845
|
+
saveAlert(alert: IAutomationMetadataObject): Promise<IAutomationMetadataObject>;
|
|
6846
|
+
deleteAlert(alert: IAutomationMetadataObject): Promise<void>;
|
|
6847
|
+
/** The alert being edited; undefined when creating a new one. */
|
|
6848
|
+
alertToEdit?: IAutomationMetadataObject;
|
|
6849
|
+
/** Notification channels available as alert destinations. */
|
|
6850
|
+
notificationChannels: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
|
|
6851
|
+
/** True while the dialog's initial data (automations) is still loading. */
|
|
6852
|
+
isLoading: boolean;
|
|
6853
|
+
}
|
|
6854
|
+
|
|
6855
|
+
/**
|
|
6856
|
+
* Props of the default alerting dialog's filters region (the filter and parameter chips above
|
|
6857
|
+
* the form).
|
|
6858
|
+
*
|
|
6859
|
+
* @alpha
|
|
6860
|
+
*/
|
|
6861
|
+
export declare interface IAlertingDialogFiltersProps extends IAutomationDialogFiltersProps {
|
|
6862
|
+
/**
|
|
6863
|
+
* Disables the date filter chips. The default dialog disables them while the alert uses
|
|
6864
|
+
* anomaly detection.
|
|
6865
|
+
*/
|
|
6866
|
+
disableDateFilters: boolean;
|
|
6867
|
+
}
|
|
6868
|
+
|
|
6869
|
+
/**
|
|
6870
|
+
* Props of the default alerting dialog's granularity field (anomaly detection).
|
|
6871
|
+
*
|
|
6872
|
+
* @alpha
|
|
6873
|
+
*/
|
|
6874
|
+
export declare interface IAlertingDialogGranularityProps {
|
|
6875
|
+
/**
|
|
6876
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
6877
|
+
*/
|
|
6878
|
+
id: string;
|
|
6879
|
+
/**
|
|
6880
|
+
* Offers the `"HOUR"` granularity.
|
|
6881
|
+
*/
|
|
6882
|
+
allowHourlyRecurrence: boolean;
|
|
6883
|
+
/**
|
|
6884
|
+
* The anomaly-detection granularity; undefined renders as `"WEEK"`.
|
|
6885
|
+
*/
|
|
6886
|
+
selectedGranularity: IAlertAnomalyDetectionGranularity | undefined;
|
|
6887
|
+
/**
|
|
6888
|
+
* Called with the picked granularity.
|
|
6889
|
+
*/
|
|
6890
|
+
onGranularityChange: (granularity: IAlertAnomalyDetectionGranularity) => void;
|
|
6891
|
+
/**
|
|
6892
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
6893
|
+
*/
|
|
6894
|
+
overlayPositionType?: OverlayPositionType;
|
|
6895
|
+
/**
|
|
6896
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
6897
|
+
*/
|
|
6898
|
+
closeOnParentScroll?: boolean;
|
|
6899
|
+
}
|
|
6900
|
+
|
|
6901
|
+
/**
|
|
6902
|
+
* Props of the default alerting dialog's header region (the title input row).
|
|
6903
|
+
*
|
|
6904
|
+
* @alpha
|
|
6905
|
+
*/
|
|
6906
|
+
export declare interface IAlertingDialogHeaderProps extends IAutomationDialogHeaderProps {
|
|
6907
|
+
/**
|
|
6908
|
+
* Called when the header's back/close button is pressed. The default dialog closes on it.
|
|
6909
|
+
*/
|
|
6910
|
+
onCancel?: () => void;
|
|
6911
|
+
}
|
|
6912
|
+
|
|
6913
|
+
/**
|
|
6914
|
+
* Props of the default alerting dialog's measure field (the "Metric" row).
|
|
6915
|
+
*
|
|
6916
|
+
* @alpha
|
|
6917
|
+
*/
|
|
6918
|
+
export declare interface IAlertingDialogMeasureProps {
|
|
6919
|
+
/**
|
|
6920
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
6921
|
+
*/
|
|
6922
|
+
id?: string;
|
|
6923
|
+
/**
|
|
6924
|
+
* Disables the select. The default dialog disables it when the dialog has no insight to pick measures from.
|
|
6925
|
+
*/
|
|
6926
|
+
disabled?: boolean;
|
|
6927
|
+
/**
|
|
6928
|
+
* The measure the condition targets; undefined shows the placeholder.
|
|
6929
|
+
*/
|
|
6930
|
+
selectedMeasure: AlertMetric | undefined;
|
|
6931
|
+
/**
|
|
6932
|
+
* Called with the picked measure.
|
|
6933
|
+
*/
|
|
6934
|
+
onMeasureChange: (measure: AlertMetric) => void;
|
|
6935
|
+
/**
|
|
6936
|
+
* The insight's measures an alert can be built on.
|
|
6937
|
+
*/
|
|
6938
|
+
measures: AlertMetric[];
|
|
6939
|
+
/**
|
|
6940
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
6941
|
+
*/
|
|
6942
|
+
overlayPositionType?: OverlayPositionType;
|
|
6943
|
+
/**
|
|
6944
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
6945
|
+
*/
|
|
6946
|
+
closeOnParentScroll?: boolean;
|
|
6947
|
+
}
|
|
6948
|
+
|
|
6949
|
+
/**
|
|
6950
|
+
* @alpha
|
|
6951
|
+
*/
|
|
6952
|
+
export declare interface IAlertingDialogProps {
|
|
6953
|
+
/**
|
|
6954
|
+
* In case, we are not creating new alert, but editing existing one, this is the active alert to be edited.
|
|
6955
|
+
*
|
|
6956
|
+
* @deprecated has no effect since 11.51 — the dialog reads `alertToEdit` from
|
|
6957
|
+
* `useAlertingDialogContext()`. To adjust what it reads, use the
|
|
6958
|
+
* `AlertingDialogContextDecoratorComponent` dashboard prop. Prop will be removed.
|
|
6959
|
+
*/
|
|
6960
|
+
alertToEdit?: IAutomationMetadataObject;
|
|
6961
|
+
/**
|
|
6962
|
+
* Notification channels in organization
|
|
6963
|
+
*
|
|
6964
|
+
* @deprecated has no effect since 11.51 — the dialog reads `notificationChannels` from
|
|
6965
|
+
* `useAlertingDialogContext()`. To adjust what it reads, use the
|
|
6966
|
+
* `AlertingDialogContextDecoratorComponent` dashboard prop. Prop will be removed.
|
|
6967
|
+
*/
|
|
6968
|
+
notificationChannels?: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
|
|
6969
|
+
/**
|
|
6970
|
+
* Widget to be used for alert.
|
|
6971
|
+
*
|
|
6972
|
+
* Note: this is available only when alerting for widget, not dashboard.
|
|
6973
|
+
* Typed as IWidget (not ExtendedDashboardWidget) because the dialog only
|
|
6974
|
+
* supports insight widgets; custom widgets and nested layouts are not valid
|
|
6975
|
+
* alert targets and were silently discarded at the connector boundary anyway.
|
|
6976
|
+
*
|
|
6977
|
+
* @deprecated has no effect since 11.51 — the dialog reads `widget` from
|
|
6978
|
+
* `useAlertingDialogContext()`. To adjust what it reads, use the
|
|
6979
|
+
* `AlertingDialogContextDecoratorComponent` dashboard prop. Prop will be removed.
|
|
6980
|
+
*/
|
|
6981
|
+
widget?: IWidget;
|
|
6982
|
+
/**
|
|
6983
|
+
* Insight to be used for alert.
|
|
6984
|
+
*
|
|
6985
|
+
* Note: this is available only when alerting for widget, not dashboard.
|
|
6986
|
+
*
|
|
6987
|
+
* @deprecated has no effect since 11.51 — the dialog reads `insight` from
|
|
6988
|
+
* `useAlertingDialogContext()`. To adjust what it reads, use the
|
|
6989
|
+
* `AlertingDialogContextDecoratorComponent` dashboard prop (e.g. so an alert follows a
|
|
6990
|
+
* widget's date-granularity selection). Prop will be removed.
|
|
6991
|
+
*/
|
|
6992
|
+
insight?: IInsight;
|
|
6993
|
+
/**
|
|
6994
|
+
* Is alert dialog loading initial data, before it can be rendered?
|
|
6995
|
+
*
|
|
6996
|
+
* @deprecated has no effect since 11.51 — the dialog reads `isLoading` from
|
|
6997
|
+
* `useAlertingDialogContext()`. Prop will be removed.
|
|
6998
|
+
*/
|
|
6999
|
+
isLoading?: boolean;
|
|
7000
|
+
/**
|
|
7001
|
+
* Callback to be called, when user closes the alert dialog.
|
|
7002
|
+
*/
|
|
7003
|
+
onCancel?: () => void;
|
|
7004
|
+
/**
|
|
7005
|
+
* Callback to be called, when error occurs.
|
|
7006
|
+
*/
|
|
7007
|
+
onError?: (error: GoodDataSdkError) => void;
|
|
7008
|
+
/**
|
|
7009
|
+
* Callback to be called, when alerting finishes successfully.
|
|
7010
|
+
*/
|
|
7011
|
+
onSuccess?: (alertDefinition: IAutomationMetadataObject) => void;
|
|
7012
|
+
/**
|
|
7013
|
+
* Callback to be called, when error occurs.
|
|
7014
|
+
*/
|
|
7015
|
+
onSaveError?: (error: GoodDataSdkError) => void;
|
|
7016
|
+
/**
|
|
7017
|
+
* Callback to be called, when alerting finishes successfully.
|
|
7018
|
+
*/
|
|
7019
|
+
onSaveSuccess?: (alert: IAutomationMetadataObject) => void;
|
|
7020
|
+
/**
|
|
7021
|
+
* Callback to be called, when alert is deleted.
|
|
7022
|
+
*/
|
|
7023
|
+
onDeleteSuccess?: (alert: IAutomationMetadataObject) => void;
|
|
7024
|
+
/**
|
|
7025
|
+
* Callback to be called, when alert fails to delete.
|
|
7026
|
+
*/
|
|
7027
|
+
onDeleteError?: (error: GoodDataSdkError) => void;
|
|
7028
|
+
}
|
|
7029
|
+
|
|
7030
|
+
/**
|
|
7031
|
+
* Props of the default alerting dialog's sensitivity field (anomaly detection).
|
|
7032
|
+
*
|
|
7033
|
+
* @alpha
|
|
7034
|
+
*/
|
|
7035
|
+
export declare interface IAlertingDialogSensitivityProps {
|
|
7036
|
+
/**
|
|
7037
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
7038
|
+
*/
|
|
7039
|
+
id: string;
|
|
7040
|
+
/**
|
|
7041
|
+
* The anomaly-detection sensitivity; undefined renders as `"MEDIUM"`.
|
|
7042
|
+
*/
|
|
7043
|
+
selectedSensitivity: IAlertAnomalyDetectionSensitivity | undefined;
|
|
7044
|
+
/**
|
|
7045
|
+
* Called with the picked sensitivity.
|
|
7046
|
+
*/
|
|
7047
|
+
onSensitivityChange: (sensitivity: IAlertAnomalyDetectionSensitivity) => void;
|
|
7048
|
+
/**
|
|
7049
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
7050
|
+
*/
|
|
7051
|
+
overlayPositionType?: OverlayPositionType;
|
|
7052
|
+
/**
|
|
7053
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
7054
|
+
*/
|
|
7055
|
+
closeOnParentScroll?: boolean;
|
|
7056
|
+
}
|
|
7057
|
+
|
|
7058
|
+
/**
|
|
7059
|
+
* Section-level overrides of the default alerting dialog.
|
|
7060
|
+
*
|
|
7061
|
+
* @alpha
|
|
7062
|
+
*/
|
|
7063
|
+
export declare interface IAlertingDialogSlots {
|
|
7064
|
+
/**
|
|
7065
|
+
* Wraps or replaces the dialog header (the title input row). Must have a stable reference
|
|
7066
|
+
* identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
7067
|
+
*/
|
|
7068
|
+
Header?: ComponentType<ISlotProps<AlertingDialogHeaderDefaultProps>>;
|
|
7069
|
+
/**
|
|
7070
|
+
* Wraps or replaces the dialog's filters region (the filter and parameter chips). Must have
|
|
7071
|
+
* a stable reference identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
7072
|
+
*
|
|
7073
|
+
* Renders only in the fully rendered dialog: not while the dialog context reports loading,
|
|
7074
|
+
* and not while the stale-filters confirmation step is shown.
|
|
7075
|
+
*
|
|
7076
|
+
* A replacement takes over computing the next filters array: `defaultProps.onFiltersChange`
|
|
7077
|
+
* expects the complete selection, so change/remove/add gestures must submit the whole
|
|
7078
|
+
* updated array, not a delta.
|
|
7079
|
+
*/
|
|
7080
|
+
Filters?: ComponentType<ISlotProps<IAlertingDialogFiltersProps>>;
|
|
7081
|
+
/**
|
|
7082
|
+
* Wraps or replaces the dialog's destination region (the "Action" row selecting the
|
|
7083
|
+
* notification channel). Must have a stable reference identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
|
|
7084
|
+
*
|
|
7085
|
+
* Renders only in the fully rendered dialog — not while the dialog context reports loading,
|
|
7086
|
+
* not while the stale-filters confirmation step is shown — **and only when more than one
|
|
7087
|
+
* notification channel exists**: with a single channel the default dialog hides the whole
|
|
7088
|
+
* row, and the slot with it.
|
|
6008
7089
|
*/
|
|
6009
7090
|
Destination?: ComponentType<ISlotProps<IAutomationDialogDestinationProps>>;
|
|
6010
7091
|
/**
|
|
@@ -6033,6 +7114,98 @@ export declare interface IAlertingDialogSlots {
|
|
|
6033
7114
|
ActionBar?: ComponentType<ISlotProps<IAutomationDialogActionBarProps>>;
|
|
6034
7115
|
}
|
|
6035
7116
|
|
|
7117
|
+
/**
|
|
7118
|
+
* Props of the default alerting dialog's threshold field (the "Threshold" row).
|
|
7119
|
+
*
|
|
7120
|
+
* @alpha
|
|
7121
|
+
*/
|
|
7122
|
+
export declare interface IAlertingDialogThresholdProps {
|
|
7123
|
+
/**
|
|
7124
|
+
* Id of the input; the form row's label and the error message point at it.
|
|
7125
|
+
*/
|
|
7126
|
+
id: string;
|
|
7127
|
+
/**
|
|
7128
|
+
* The threshold shown; undefined for an empty input.
|
|
7129
|
+
*/
|
|
7130
|
+
value: number | undefined;
|
|
7131
|
+
/**
|
|
7132
|
+
* Called with the raw input value on every keystroke.
|
|
7133
|
+
*/
|
|
7134
|
+
onChange: (value: string | number) => void;
|
|
7135
|
+
/**
|
|
7136
|
+
* Called on blur; the default dialog rounds the value to the measure's format here.
|
|
7137
|
+
*/
|
|
7138
|
+
onBlur: (event: FocusEvent_2<HTMLInputElement>) => void;
|
|
7139
|
+
/**
|
|
7140
|
+
* Unit shown after the input — `"%"` for a change condition.
|
|
7141
|
+
*/
|
|
7142
|
+
suffix?: string;
|
|
7143
|
+
/**
|
|
7144
|
+
* Validation message shown under the input; undefined when there is none.
|
|
7145
|
+
*/
|
|
7146
|
+
errorMessage?: string;
|
|
7147
|
+
}
|
|
7148
|
+
|
|
7149
|
+
/**
|
|
7150
|
+
* Props of the default alerting dialog's trigger-interval field (the "Interval" row).
|
|
7151
|
+
*
|
|
7152
|
+
* @alpha
|
|
7153
|
+
*/
|
|
7154
|
+
export declare interface IAlertingDialogTriggerIntervalProps {
|
|
7155
|
+
/**
|
|
7156
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
7157
|
+
*/
|
|
7158
|
+
id: string;
|
|
7159
|
+
/**
|
|
7160
|
+
* The interval of a `"ONCE_PER_INTERVAL"` trigger.
|
|
7161
|
+
*/
|
|
7162
|
+
selectedTriggerInterval: IAlertTriggerInterval;
|
|
7163
|
+
/**
|
|
7164
|
+
* Called with the picked interval.
|
|
7165
|
+
*/
|
|
7166
|
+
onTriggerIntervalChange: (triggerInterval: IAlertTriggerInterval) => void;
|
|
7167
|
+
/**
|
|
7168
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
7169
|
+
*/
|
|
7170
|
+
overlayPositionType?: OverlayPositionType;
|
|
7171
|
+
/**
|
|
7172
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
7173
|
+
*/
|
|
7174
|
+
closeOnParentScroll?: boolean;
|
|
7175
|
+
}
|
|
7176
|
+
|
|
7177
|
+
/**
|
|
7178
|
+
* Props of the default alerting dialog's trigger-mode field (the "Trigger" row).
|
|
7179
|
+
*
|
|
7180
|
+
* @alpha
|
|
7181
|
+
*/
|
|
7182
|
+
export declare interface IAlertingDialogTriggerModeProps {
|
|
7183
|
+
/**
|
|
7184
|
+
* Id of the dropdown button; the form row's label points at it.
|
|
7185
|
+
*/
|
|
7186
|
+
id: string;
|
|
7187
|
+
/**
|
|
7188
|
+
* When the alert fires: `"ALWAYS"`, `"ONCE"` or `"ONCE_PER_INTERVAL"`.
|
|
7189
|
+
*/
|
|
7190
|
+
selectedTriggerMode: IAlertTriggerMode;
|
|
7191
|
+
/**
|
|
7192
|
+
* Called with the picked mode.
|
|
7193
|
+
*/
|
|
7194
|
+
onTriggerModeChange: (triggerMode: IAlertTriggerMode) => void;
|
|
7195
|
+
/**
|
|
7196
|
+
* Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
|
|
7197
|
+
*/
|
|
7198
|
+
overlayPositionType?: OverlayPositionType;
|
|
7199
|
+
/**
|
|
7200
|
+
* Closes the dropdown when an ancestor scrolls; the default dialog sets it.
|
|
7201
|
+
*/
|
|
7202
|
+
closeOnParentScroll?: boolean;
|
|
7203
|
+
/**
|
|
7204
|
+
* Offers `"ONCE_PER_INTERVAL"`; the default dialog passes the feature flag.
|
|
7205
|
+
*/
|
|
7206
|
+
enableAlertOncePerInterval?: boolean;
|
|
7207
|
+
}
|
|
7208
|
+
|
|
6036
7209
|
/**
|
|
6037
7210
|
* Sub-context for the alerting management dialog.
|
|
6038
7211
|
* The connector hydrates this from dashboard state.
|
|
@@ -6115,17 +7288,91 @@ export declare interface IAlertingManagementDialogProps {
|
|
|
6115
7288
|
* @param alert - alert that was paused
|
|
6116
7289
|
* @param pause - true if alert was paused, false if it was resumed
|
|
6117
7290
|
*/
|
|
6118
|
-
onPauseSuccess: (alert: IAutomationMetadataObject, pause: boolean) => void;
|
|
7291
|
+
onPauseSuccess: (alert: IAutomationMetadataObject, pause: boolean) => void;
|
|
7292
|
+
/**
|
|
7293
|
+
* Callback to be called, when alert fails to pause.
|
|
7294
|
+
* @param error - error that occurred
|
|
7295
|
+
* @param pause - true if alert was paused, false if it was resumed
|
|
7296
|
+
*/
|
|
7297
|
+
onPauseError: (error: GoodDataSdkError, pause: boolean) => void;
|
|
7298
|
+
}
|
|
7299
|
+
|
|
7300
|
+
/**
|
|
7301
|
+
* The alerting dialog's currently selected form values, derived from the draft and the supported
|
|
7302
|
+
* measures and attributes.
|
|
7303
|
+
*
|
|
7304
|
+
* @alpha
|
|
7305
|
+
*/
|
|
7306
|
+
export declare interface IAlertSelectedValues {
|
|
7307
|
+
/**
|
|
7308
|
+
* The measure the condition targets; undefined until the draft names one the insight supports.
|
|
7309
|
+
*/
|
|
7310
|
+
selectedMeasure: AlertMetric | undefined;
|
|
7311
|
+
/**
|
|
7312
|
+
* The operator of a fixed-threshold comparison condition.
|
|
7313
|
+
*/
|
|
7314
|
+
selectedComparisonOperator: IAlertComparisonOperator | undefined;
|
|
7315
|
+
/**
|
|
7316
|
+
* The relative and arithmetic operators of a relative condition.
|
|
7317
|
+
*/
|
|
7318
|
+
selectedRelativeOperator: [IAlertRelativeOperator, IAlertRelativeArithmeticOperator] | undefined;
|
|
7319
|
+
/**
|
|
7320
|
+
* The operator id of an anomaly-detection condition.
|
|
7321
|
+
*/
|
|
7322
|
+
selectedAiOperator: AlertAiOperator | undefined;
|
|
7323
|
+
/**
|
|
7324
|
+
* The period comparison a relative condition uses.
|
|
7325
|
+
*/
|
|
7326
|
+
selectedComparator: AlertMetricComparator | undefined;
|
|
7327
|
+
/**
|
|
7328
|
+
* The sensitivity of an anomaly-detection condition.
|
|
7329
|
+
*/
|
|
7330
|
+
selectedSensitivity: IAlertAnomalyDetectionSensitivity | undefined;
|
|
7331
|
+
/**
|
|
7332
|
+
* The granularity of an anomaly-detection condition.
|
|
7333
|
+
*/
|
|
7334
|
+
selectedGranularity: IAlertAnomalyDetectionGranularity | undefined;
|
|
7335
|
+
/**
|
|
7336
|
+
* The attribute the condition is sliced by.
|
|
7337
|
+
*/
|
|
7338
|
+
selectedAttribute: AlertAttribute | undefined;
|
|
7339
|
+
/**
|
|
7340
|
+
* The attribute element URI the condition is sliced to; null for the empty value.
|
|
7341
|
+
*/
|
|
7342
|
+
selectedValue: string | null | undefined;
|
|
7343
|
+
/**
|
|
7344
|
+
* The notification channel the draft targets, resolved against the available channels.
|
|
7345
|
+
*/
|
|
7346
|
+
selectedNotificationChannel: INotificationChannelIdentifier | INotificationChannelMetadataObject | undefined;
|
|
7347
|
+
/**
|
|
7348
|
+
* Whether the selected channel accepts external (e-mail only) recipients.
|
|
7349
|
+
*/
|
|
7350
|
+
allowExternalRecipients: boolean;
|
|
7351
|
+
/**
|
|
7352
|
+
* Whether the selected channel accepts only the creator as recipient.
|
|
7353
|
+
*/
|
|
7354
|
+
allowOnlyLoggedUserRecipients: boolean;
|
|
7355
|
+
}
|
|
7356
|
+
|
|
7357
|
+
/**
|
|
7358
|
+
* The alerting dialog's submit path.
|
|
7359
|
+
*
|
|
7360
|
+
* @alpha
|
|
7361
|
+
*/
|
|
7362
|
+
export declare interface IAlertSubmitState {
|
|
7363
|
+
/**
|
|
7364
|
+
* Whether a create or save is in flight.
|
|
7365
|
+
*/
|
|
7366
|
+
isSaving: boolean;
|
|
6119
7367
|
/**
|
|
6120
|
-
*
|
|
6121
|
-
*
|
|
6122
|
-
* @param pause - true if alert was paused, false if it was resumed
|
|
7368
|
+
* Creates the alert (no `alertToEdit`) or saves the edited one; a second call while one is in
|
|
7369
|
+
* flight is ignored.
|
|
6123
7370
|
*/
|
|
6124
|
-
|
|
7371
|
+
submit: () => Promise<void>;
|
|
6125
7372
|
}
|
|
6126
7373
|
|
|
6127
7374
|
/**
|
|
6128
|
-
* Command for applying all working filters staged for application.
|
|
7375
|
+
* Command for applying all working filters and working parameter values staged for application.
|
|
6129
7376
|
* Usually used with setting dashboardApplyFiltersMode: ALL_AT_ONCE
|
|
6130
7377
|
*
|
|
6131
7378
|
* @remarks
|
|
@@ -6385,6 +7632,30 @@ export declare interface IAutomationDialogFiltersProps {
|
|
|
6385
7632
|
onParameterDelete: (ref: IdentifierRef) => void;
|
|
6386
7633
|
}
|
|
6387
7634
|
|
|
7635
|
+
/**
|
|
7636
|
+
* Props of {@link AutomationDialogFormField}: a labelled form row of the automation dialogs.
|
|
7637
|
+
*
|
|
7638
|
+
* @alpha
|
|
7639
|
+
*/
|
|
7640
|
+
export declare interface IAutomationDialogFormFieldProps {
|
|
7641
|
+
/**
|
|
7642
|
+
* The row's label, rendered in a `<label>` on the left.
|
|
7643
|
+
*/
|
|
7644
|
+
label: ReactNode;
|
|
7645
|
+
/**
|
|
7646
|
+
* The control, rendered on the right.
|
|
7647
|
+
*/
|
|
7648
|
+
children: ReactNode;
|
|
7649
|
+
/**
|
|
7650
|
+
* The id of the control the label is for.
|
|
7651
|
+
*/
|
|
7652
|
+
htmlFor?: string;
|
|
7653
|
+
/**
|
|
7654
|
+
* Lets the control span the full row width instead of the default control column.
|
|
7655
|
+
*/
|
|
7656
|
+
fullWidth?: boolean;
|
|
7657
|
+
}
|
|
7658
|
+
|
|
6388
7659
|
/**
|
|
6389
7660
|
* Members shared by both automation dialogs' header regions.
|
|
6390
7661
|
*
|
|
@@ -12007,6 +13278,13 @@ export declare interface IDashboardParameterEntry {
|
|
|
12007
13278
|
* execution overrides so the backend keeps using the parameter's own default.
|
|
12008
13279
|
*/
|
|
12009
13280
|
runtimeOverride: ParameterValue | undefined;
|
|
13281
|
+
/**
|
|
13282
|
+
* Staged (not yet applied) value under the apply-all-at-once mode. Presence means the entry
|
|
13283
|
+
* is dirty: staging a value equal to `runtimeOverride` deletes the field instead of storing
|
|
13284
|
+
* it, and every direct runtime write deletes it too. Executions read `runtimeOverride` only;
|
|
13285
|
+
* "Apply All" folds this into `runtimeOverride`.
|
|
13286
|
+
*/
|
|
13287
|
+
workingOverride?: ParameterValue;
|
|
12010
13288
|
}
|
|
12011
13289
|
|
|
12012
13290
|
/**
|
|
@@ -13307,8 +14585,10 @@ export declare interface IDateFiltersCustomizer {
|
|
|
13307
14585
|
*/
|
|
13308
14586
|
export declare interface IDefaultAlertingDialogProps extends IAlertingDialogProps {
|
|
13309
14587
|
/**
|
|
13310
|
-
* Section-level overrides. Each slot receives `{ Default, defaultProps }`
|
|
13311
|
-
*
|
|
14588
|
+
* Section-level overrides. Each slot receives `{ Default, defaultProps }` — `Default` is the region's
|
|
14589
|
+
* exported render component ({@link DefaultAlertingDialogHeader} for `Header`, and so on) and `defaultProps` the
|
|
14590
|
+
* return of the region's props hook ({@link useAlertingDialogHeaderProps}) — and may render its own content
|
|
14591
|
+
* (replace) or `<Default {...defaultProps} />` inside its own markup (wrap).
|
|
13312
14592
|
*
|
|
13313
14593
|
* @example
|
|
13314
14594
|
* The dialog is reached through the `Dashboard` component override; define slot components at
|
|
@@ -13384,8 +14664,10 @@ export declare interface IDefaultDashboardToolbarGroupProps {
|
|
|
13384
14664
|
*/
|
|
13385
14665
|
export declare interface IDefaultScheduledEmailDialogProps extends IScheduledEmailDialogProps {
|
|
13386
14666
|
/**
|
|
13387
|
-
* Section-level overrides. Each slot receives `{ Default, defaultProps }`
|
|
13388
|
-
*
|
|
14667
|
+
* Section-level overrides. Each slot receives `{ Default, defaultProps }` — `Default` is the region's
|
|
14668
|
+
* exported render component ({@link DefaultScheduledEmailDialogHeader} for `Header`, and so on) and `defaultProps` the
|
|
14669
|
+
* return of the region's props hook ({@link useScheduledEmailDialogHeaderProps}) — and may render its own content
|
|
14670
|
+
* (replace) or `<Default {...defaultProps} />` inside its own markup (wrap).
|
|
13389
14671
|
*
|
|
13390
14672
|
* @example
|
|
13391
14673
|
* The dialog is reached through the `Dashboard` component override; define slot components at
|
|
@@ -15507,6 +16789,16 @@ export declare interface IMeasureDateDatasets {
|
|
|
15507
16789
|
readonly dateDatasetDisplayNames: Record<string, string>;
|
|
15508
16790
|
}
|
|
15509
16791
|
|
|
16792
|
+
/**
|
|
16793
|
+
* Number formats of the widget's measures keyed by measure local identifier, read from the
|
|
16794
|
+
* execution result.
|
|
16795
|
+
*
|
|
16796
|
+
* @alpha
|
|
16797
|
+
*/
|
|
16798
|
+
export declare type IMeasureFormatMap = {
|
|
16799
|
+
[key: string]: string;
|
|
16800
|
+
};
|
|
16801
|
+
|
|
15510
16802
|
/**
|
|
15511
16803
|
* @alpha
|
|
15512
16804
|
*/
|
|
@@ -17183,8 +18475,8 @@ export declare interface IResetDashboard extends IDashboardCommand {
|
|
|
17183
18475
|
}
|
|
17184
18476
|
|
|
17185
18477
|
/**
|
|
17186
|
-
* Command for resetting all working filters.
|
|
17187
|
-
* It resets the working filters
|
|
18478
|
+
* Command for resetting all working filters and working parameter values.
|
|
18479
|
+
* It resets the working filters and parameters to the same state as the applied ones.
|
|
17188
18480
|
*
|
|
17189
18481
|
* @remarks
|
|
17190
18482
|
* This command ot usually used with setting dashboardApplyFiltersMode: ALL_AT_ONCE
|
|
@@ -17653,6 +18945,16 @@ export declare function isBrokenAlertAttributeFilterInfo(item: IBrokenAlertFilte
|
|
|
17653
18945
|
*/
|
|
17654
18946
|
export declare function isBrokenAlertDateFilterInfo(item: IBrokenAlertFilterBasicInfo): item is BrokenAlertDateFilterInfo;
|
|
17655
18947
|
|
|
18948
|
+
/**
|
|
18949
|
+
* Props of {@link ScheduledEmailDialogActionBar}: the dialog inputs
|
|
18950
|
+
* {@link useScheduledEmailDialogActionBarProps} needs (`onSubmit` and `isSaving` from
|
|
18951
|
+
* {@link useSaveScheduledEmailToBackend}, the dialog's `onCancel`, `onDelete` for edit mode) plus any
|
|
18952
|
+
* {@link IAutomationDialogActionBarProps} member to override.
|
|
18953
|
+
*
|
|
18954
|
+
* @alpha
|
|
18955
|
+
*/
|
|
18956
|
+
export declare type IScheduledEmailDialogActionBarBlockProps = IUseScheduledEmailDialogActionBarPropsInput & Partial<IAutomationDialogActionBarProps>;
|
|
18957
|
+
|
|
17656
18958
|
/**
|
|
17657
18959
|
* Sub-context for the scheduled-email create/edit dialog.
|
|
17658
18960
|
*
|
|
@@ -18016,128 +19318,493 @@ export declare interface IScheduledEmailDialogTimezoneProps {
|
|
|
18016
19318
|
*/
|
|
18017
19319
|
isWidget: boolean;
|
|
18018
19320
|
/**
|
|
18019
|
-
* Current selection; an undefined id is the Default option (dashboard schedules only).
|
|
19321
|
+
* Current selection; an undefined id is the Default option (dashboard schedules only).
|
|
19322
|
+
*/
|
|
19323
|
+
selection: IScheduleTimezoneSelection;
|
|
19324
|
+
/**
|
|
19325
|
+
* Concrete timezone the Default option currently resolves to (display only).
|
|
19326
|
+
*/
|
|
19327
|
+
defaultResolvedTimezone: string | undefined;
|
|
19328
|
+
/**
|
|
19329
|
+
* Called with the picked timezone; undefined selects the Default option.
|
|
19330
|
+
*/
|
|
19331
|
+
onTimezoneChange: (timezoneId: string | undefined) => void;
|
|
19332
|
+
}
|
|
19333
|
+
|
|
19334
|
+
/**
|
|
19335
|
+
* Sub-context for the scheduled-email management dialog.
|
|
19336
|
+
* The connector hydrates this from dashboard state.
|
|
19337
|
+
*
|
|
19338
|
+
* Values already available on AutomationsContext (locale, currentUser, timezone,
|
|
19339
|
+
* isWhiteLabeled, isExecutionTimestampMode, externalRecipient, features.*) are NOT
|
|
19340
|
+
* duplicated here — consumers read those from useAutomationsContext().
|
|
19341
|
+
*
|
|
19342
|
+
* @alpha
|
|
19343
|
+
*/
|
|
19344
|
+
export declare interface IScheduledEmailManagementDialogContextValue {
|
|
19345
|
+
/**
|
|
19346
|
+
* Whether the scheduled-email create/edit dialog is currently open (from store UI slice).
|
|
19347
|
+
* Used by the management dialog tree's focus-return logic (refocus when the edit dialog closes).
|
|
19348
|
+
*/
|
|
19349
|
+
isScheduleEmailDialogOpen: boolean;
|
|
19350
|
+
/**
|
|
19351
|
+
* Monotonic counter that increments whenever the automation list is invalidated.
|
|
19352
|
+
* Consumers can use this as a cache-bust key for re-fetching.
|
|
19353
|
+
*/
|
|
19354
|
+
automationsInvalidationId?: number;
|
|
19355
|
+
/**
|
|
19356
|
+
* Whether accessibility mode is active (for aria/keyboard focus management).
|
|
19357
|
+
*/
|
|
19358
|
+
enableAccessibilityMode: boolean;
|
|
19359
|
+
/**
|
|
19360
|
+
* Whether the dashboard is rendered in an embedded (iframe) context.
|
|
19361
|
+
*/
|
|
19362
|
+
isEmbedded: boolean;
|
|
19363
|
+
/**
|
|
19364
|
+
* Id of the dashboard the management dialog is rendered on (mirrors alerting management ctx).
|
|
19365
|
+
* Used to preselect the dashboard filter in the enhanced automations list.
|
|
19366
|
+
*/
|
|
19367
|
+
dashboardId?: string;
|
|
19368
|
+
/**
|
|
19369
|
+
* Title of the dashboard the management dialog is rendered on (mirrors alerting management ctx).
|
|
19370
|
+
* Used as the label of the preselected dashboard filter in the enhanced automations list.
|
|
19371
|
+
*/
|
|
19372
|
+
dashboardTitle?: string;
|
|
19373
|
+
/**
|
|
19374
|
+
* Maximum number of automations allowed (derived connector-side from the
|
|
19375
|
+
* max-automations entitlement, falling back to DEFAULT_MAX_AUTOMATIONS).
|
|
19376
|
+
* Combined with the dialog's automations count to gate the create button.
|
|
19377
|
+
*/
|
|
19378
|
+
maxAutomations: number;
|
|
19379
|
+
/**
|
|
19380
|
+
* Whether the unlimited-automations entitlement is present. When true the
|
|
19381
|
+
* max-automations limit is not enforced.
|
|
19382
|
+
*/
|
|
19383
|
+
unlimitedAutomations: boolean;
|
|
19384
|
+
/**
|
|
19385
|
+
* Scheduled exports visible in the management dialog, scoped to the current dashboard context.
|
|
19386
|
+
*/
|
|
19387
|
+
automations: IAutomationMetadataObject[];
|
|
19388
|
+
/** True while the automation list is still loading. */
|
|
19389
|
+
isLoading: boolean;
|
|
19390
|
+
}
|
|
19391
|
+
|
|
19392
|
+
/**
|
|
19393
|
+
*
|
|
19394
|
+
* @alpha
|
|
19395
|
+
*/
|
|
19396
|
+
export declare interface IScheduledEmailManagementDialogProps {
|
|
19397
|
+
/**
|
|
19398
|
+
* Is loading schedule data?
|
|
19399
|
+
*
|
|
19400
|
+
* @deprecated read `isLoading` from `useScheduledEmailManagementDialogContext()` instead. Prop will
|
|
19401
|
+
* be removed.
|
|
19402
|
+
*/
|
|
19403
|
+
isLoadingScheduleData?: boolean;
|
|
19404
|
+
/**
|
|
19405
|
+
* Error occurred while loading schedule data?
|
|
19406
|
+
*
|
|
19407
|
+
* @deprecated not read by the default dialog. Prop will be removed.
|
|
19408
|
+
*/
|
|
19409
|
+
scheduleDataError?: GoodDataSdkError;
|
|
19410
|
+
/**
|
|
19411
|
+
* Notification channels in organization
|
|
19412
|
+
*
|
|
19413
|
+
* @deprecated not read by the default dialog. Prop will be removed.
|
|
19414
|
+
*/
|
|
19415
|
+
notificationChannels?: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
|
|
19416
|
+
/**
|
|
19417
|
+
* Automations in workspace
|
|
19418
|
+
*
|
|
19419
|
+
* @deprecated read `automations` from `useScheduledEmailManagementDialogContext()` instead. Prop
|
|
19420
|
+
* will be removed.
|
|
19421
|
+
*/
|
|
19422
|
+
automations?: IAutomationMetadataObject[];
|
|
19423
|
+
/**
|
|
19424
|
+
* Callback to be called, when user adds new scheduled email item.
|
|
19425
|
+
*/
|
|
19426
|
+
onAdd?: () => void;
|
|
19427
|
+
/**
|
|
19428
|
+
* Callback to be called, when user clicks scheduled email item for editing.
|
|
19429
|
+
*/
|
|
19430
|
+
onEdit?: (scheduledMail: IAutomationMetadataObject) => void;
|
|
19431
|
+
/**
|
|
19432
|
+
* Callback to be called, when user closes the scheduled email management dialog.
|
|
19433
|
+
*/
|
|
19434
|
+
onClose?: () => void;
|
|
19435
|
+
/**
|
|
19436
|
+
* Callback to be called, when scheduled email is deleted.
|
|
19437
|
+
*/
|
|
19438
|
+
onDeleteSuccess?: () => void;
|
|
19439
|
+
/**
|
|
19440
|
+
* Callback to be called, when schedule fails to delete.
|
|
19441
|
+
*/
|
|
19442
|
+
onDeleteError?: (error: GoodDataSdkError) => void;
|
|
19443
|
+
}
|
|
19444
|
+
|
|
19445
|
+
/**
|
|
19446
|
+
* The scheduled-export dialog's save path.
|
|
19447
|
+
*
|
|
19448
|
+
* @alpha
|
|
19449
|
+
*/
|
|
19450
|
+
export declare interface IScheduledEmailSaveState {
|
|
19451
|
+
/**
|
|
19452
|
+
* Creates the schedule (draft without an id) or updates it (draft with one), after sanitizing it.
|
|
19453
|
+
*/
|
|
19454
|
+
handleSaveScheduledEmail: () => void;
|
|
19455
|
+
/**
|
|
19456
|
+
* Whether a create or update is in flight.
|
|
19457
|
+
*/
|
|
19458
|
+
isSavingScheduledEmail: boolean;
|
|
19459
|
+
/**
|
|
19460
|
+
* A 400 response's detail message, shown in the dialog without closing it; undefined otherwise.
|
|
19461
|
+
*/
|
|
19462
|
+
savingErrorMessage: string | undefined;
|
|
19463
|
+
}
|
|
19464
|
+
|
|
19465
|
+
/**
|
|
19466
|
+
* The scheduled-export dialog's mutators: the draft setter, the form change-handlers, the
|
|
19467
|
+
* attachment handlers and the "Time zone" section handlers.
|
|
19468
|
+
*
|
|
19469
|
+
* Changes rarely.
|
|
19470
|
+
*
|
|
19471
|
+
* @alpha
|
|
19472
|
+
*/
|
|
19473
|
+
export declare interface IScheduledExportActionsContextValue {
|
|
19474
|
+
/**
|
|
19475
|
+
* Replaces the draft; the change-handlers below are the preferred, field-scoped writes.
|
|
19476
|
+
*/
|
|
19477
|
+
setEditedAutomation: Dispatch_2<SetStateAction<IAutomationMetadataObjectDefinition>>;
|
|
19478
|
+
/**
|
|
19479
|
+
* Sets the schedule title and re-validates its length.
|
|
19480
|
+
*/
|
|
19481
|
+
onTitleChange: (value: string) => void;
|
|
19482
|
+
/**
|
|
19483
|
+
* Sets the cron expression and first run; `isValid` is the recurrence form's own verdict.
|
|
19484
|
+
*/
|
|
19485
|
+
onRecurrenceChange: (cronExpression: string, startDate: Date | null, isValid: boolean) => void;
|
|
19486
|
+
/**
|
|
19487
|
+
* Switches between a shared and a per-recipient evaluation of the export.
|
|
19488
|
+
*/
|
|
19489
|
+
onEvaluationModeChange: (isShared: boolean) => void;
|
|
19490
|
+
/**
|
|
19491
|
+
* Selects the notification channel; recipients incompatible with it are dropped.
|
|
19492
|
+
*/
|
|
19493
|
+
onDestinationChange: (notificationChannelId: string) => void;
|
|
19494
|
+
/**
|
|
19495
|
+
* Replaces the recipients with the complete updated array.
|
|
19496
|
+
*/
|
|
19497
|
+
onRecipientsChange: (recipients: IAutomationRecipient[]) => void;
|
|
19498
|
+
/**
|
|
19499
|
+
* Sets the e-mail subject; `isValid` is the subject field's own verdict.
|
|
19500
|
+
*/
|
|
19501
|
+
onSubjectChange: (value: string | number, isValid: boolean) => void;
|
|
19502
|
+
/**
|
|
19503
|
+
* Sets the e-mail message; `isValid` is the message field's own verdict.
|
|
19504
|
+
*/
|
|
19505
|
+
onMessageChange: (value: string, isValid: boolean) => void;
|
|
19506
|
+
/**
|
|
19507
|
+
* Replaces the dashboard export formats; new definitions inherit the current filters and timezone.
|
|
19508
|
+
*/
|
|
19509
|
+
onDashboardAttachmentsChange: (formats: DashboardAttachmentType[]) => void;
|
|
19510
|
+
/**
|
|
19511
|
+
* Replaces the widget export formats; throws when the dialog has no widget.
|
|
19512
|
+
*/
|
|
19513
|
+
onWidgetAttachmentsChange: (formats: WidgetAttachmentType[]) => void;
|
|
19514
|
+
/**
|
|
19515
|
+
* Sets the XLSX export settings (merge headers, export info).
|
|
19516
|
+
*/
|
|
19517
|
+
onXlsxSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
19518
|
+
/**
|
|
19519
|
+
* Sets the tabular-PDF export settings (page size, orientation, export info).
|
|
19520
|
+
*/
|
|
19521
|
+
onPdfSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
19522
|
+
/**
|
|
19523
|
+
* Sets the CSV export settings (delimiter).
|
|
19524
|
+
*/
|
|
19525
|
+
onCsvSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
19526
|
+
/**
|
|
19527
|
+
* Sets the raw-CSV export settings (delimiter).
|
|
19528
|
+
*/
|
|
19529
|
+
onCsvRawSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
19530
|
+
/**
|
|
19531
|
+
* Sets the slides template of one slides format; undefined restores the default template.
|
|
19532
|
+
*/
|
|
19533
|
+
onSlidesTemplateIdChange: (templateId: string | undefined, format: "PPTX" | "PDF_SLIDES" | "PDF") => void;
|
|
19534
|
+
/**
|
|
19535
|
+
* Picks the export-content timezone; undefined selects the Default option.
|
|
19536
|
+
*/
|
|
19537
|
+
onScheduleTimezoneChange: (timezoneId: string | undefined) => void;
|
|
19538
|
+
/**
|
|
19539
|
+
* Repairs a stale schedule timezone with the currently effective one.
|
|
19540
|
+
*/
|
|
19541
|
+
applyCurrentScheduleTimezone: () => void;
|
|
19542
|
+
}
|
|
19543
|
+
|
|
19544
|
+
/**
|
|
19545
|
+
* What the scheduled-export dialog's attachment section displays, derived from the draft's export
|
|
19546
|
+
* definitions with the defaults applied.
|
|
19547
|
+
*
|
|
19548
|
+
* @alpha
|
|
19549
|
+
*/
|
|
19550
|
+
export declare interface IScheduledExportAttachments {
|
|
19551
|
+
/**
|
|
19552
|
+
* The formats of the draft's export definitions, in definition order.
|
|
19553
|
+
*/
|
|
19554
|
+
selectedAttachments: Array<DashboardAttachmentType | WidgetAttachmentType>;
|
|
19555
|
+
/**
|
|
19556
|
+
* Whether the draft holds a whole-dashboard export definition (true for a draft with none yet).
|
|
19557
|
+
*/
|
|
19558
|
+
isDashboardExportSelected: boolean;
|
|
19559
|
+
/**
|
|
19560
|
+
* Whether the draft holds a widget CSV export definition.
|
|
19561
|
+
*/
|
|
19562
|
+
isCsvExportSelected: boolean;
|
|
19563
|
+
/**
|
|
19564
|
+
* Whether the draft holds a widget XLSX export definition.
|
|
19565
|
+
*/
|
|
19566
|
+
isXlsxExportSelected: boolean;
|
|
19567
|
+
/**
|
|
19568
|
+
* XLSX settings; `mergeHeaders` and `exportInfo` default to true.
|
|
19569
|
+
*/
|
|
19570
|
+
xlsxSettings: IExportDefinitionVisualizationObjectSettings;
|
|
19571
|
+
/**
|
|
19572
|
+
* Tabular-PDF settings; page size defaults from the workspace locale, orientation to portrait,
|
|
19573
|
+
* `exportInfo` to true.
|
|
19574
|
+
*/
|
|
19575
|
+
pdfSettings: IExportDefinitionVisualizationObjectSettings;
|
|
19576
|
+
/**
|
|
19577
|
+
* CSV settings; an undefined `delimiter` is the backend default.
|
|
19578
|
+
*/
|
|
19579
|
+
csvSettings: IExportDefinitionVisualizationObjectSettings;
|
|
19580
|
+
/**
|
|
19581
|
+
* Raw-CSV settings; an undefined `delimiter` is the backend default.
|
|
19582
|
+
*/
|
|
19583
|
+
csvRawSettings: IExportDefinitionVisualizationObjectSettings;
|
|
19584
|
+
/**
|
|
19585
|
+
* The slides template chosen per slides format; undefined where the default template applies.
|
|
19586
|
+
*/
|
|
19587
|
+
slidesTemplateIds: {
|
|
19588
|
+
PPTX: string | undefined;
|
|
19589
|
+
PDF_SLIDES: string | undefined;
|
|
19590
|
+
PDF: string | undefined;
|
|
19591
|
+
};
|
|
19592
|
+
}
|
|
19593
|
+
|
|
19594
|
+
/**
|
|
19595
|
+
* The scheduled-export dialog's recipient defaults: the logged-in user as a recipient, and the
|
|
19596
|
+
* recipient a new schedule is seeded with, which an external-recipient override replaces.
|
|
19597
|
+
*
|
|
19598
|
+
* Changes when the current user or the override changes, so not while the draft is edited.
|
|
19599
|
+
*
|
|
19600
|
+
* @alpha
|
|
19601
|
+
*/
|
|
19602
|
+
export declare interface IScheduledExportDataContextValue {
|
|
19603
|
+
/**
|
|
19604
|
+
* The logged-in user as a recipient.
|
|
19605
|
+
*/
|
|
19606
|
+
defaultUser: IAutomationRecipient;
|
|
19607
|
+
/**
|
|
19608
|
+
* The recipient a new schedule is seeded with; an external-recipient override replaces the user.
|
|
19609
|
+
*/
|
|
19610
|
+
defaultRecipient: IAutomationRecipient;
|
|
19611
|
+
}
|
|
19612
|
+
|
|
19613
|
+
/**
|
|
19614
|
+
* The scheduled-export dialog's validity.
|
|
19615
|
+
*
|
|
19616
|
+
* @alpha
|
|
19617
|
+
*/
|
|
19618
|
+
export declare interface IScheduledExportDialogValidity {
|
|
19619
|
+
/**
|
|
19620
|
+
* Whether submit is disabled: the draft is invalid, incomplete, or unchanged in edit mode.
|
|
19621
|
+
* Undefined (falsy) in create mode when nothing else disables it.
|
|
19622
|
+
*/
|
|
19623
|
+
isSubmitDisabled: boolean | undefined;
|
|
19624
|
+
/**
|
|
19625
|
+
* The validation message to show; undefined when there is none.
|
|
19626
|
+
*/
|
|
19627
|
+
validationErrorMessage: string | undefined;
|
|
19628
|
+
/**
|
|
19629
|
+
* Whether the schedule's source (widget or dashboard) still exists.
|
|
18020
19630
|
*/
|
|
18021
|
-
|
|
19631
|
+
isParentValid: boolean;
|
|
18022
19632
|
/**
|
|
18023
|
-
*
|
|
19633
|
+
* Whether the selected channel accepts external (e-mail only) recipients.
|
|
18024
19634
|
*/
|
|
18025
|
-
|
|
19635
|
+
allowExternalRecipients: boolean;
|
|
18026
19636
|
/**
|
|
18027
|
-
*
|
|
19637
|
+
* Whether the selected channel accepts only the creator as recipient.
|
|
18028
19638
|
*/
|
|
18029
|
-
|
|
19639
|
+
allowOnlyLoggedUserRecipients: boolean;
|
|
18030
19640
|
}
|
|
18031
19641
|
|
|
18032
19642
|
/**
|
|
18033
|
-
*
|
|
18034
|
-
*
|
|
19643
|
+
* The scheduled-export dialog's edit draft: the automation being edited, its baseline, the derived
|
|
19644
|
+
* start date, the per-field validity flags, and the "Time zone" section's state.
|
|
18035
19645
|
*
|
|
18036
|
-
*
|
|
18037
|
-
* isWhiteLabeled, isExecutionTimestampMode, externalRecipient, features.*) are NOT
|
|
18038
|
-
* duplicated here — consumers read those from useAutomationsContext().
|
|
19646
|
+
* Changes on every keystroke; consumers re-render by design.
|
|
18039
19647
|
*
|
|
18040
19648
|
* @alpha
|
|
18041
19649
|
*/
|
|
18042
|
-
export declare interface
|
|
19650
|
+
export declare interface IScheduledExportDraftContextValue {
|
|
18043
19651
|
/**
|
|
18044
|
-
*
|
|
18045
|
-
* Used by the management dialog tree's focus-return logic (refocus when the edit dialog closes).
|
|
19652
|
+
* The schedule being edited; seeded from the saved schedule or the defaults for a new one.
|
|
18046
19653
|
*/
|
|
18047
|
-
|
|
19654
|
+
editedAutomation: IAutomationMetadataObjectDefinition;
|
|
18048
19655
|
/**
|
|
18049
|
-
*
|
|
18050
|
-
* Consumers can use this as a cache-bust key for re-fetching.
|
|
19656
|
+
* The draft as it was when the dialog opened; the dirty check compares against it.
|
|
18051
19657
|
*/
|
|
18052
|
-
|
|
19658
|
+
originalAutomation: IAutomationMetadataObjectDefinition;
|
|
18053
19659
|
/**
|
|
18054
|
-
*
|
|
19660
|
+
* The schedule's first run in the user's timezone, normalized for the recurrence form.
|
|
18055
19661
|
*/
|
|
18056
|
-
|
|
19662
|
+
startDate: Date;
|
|
18057
19663
|
/**
|
|
18058
|
-
* Whether the
|
|
19664
|
+
* Whether the recurrence form's cron expression is valid.
|
|
18059
19665
|
*/
|
|
18060
|
-
|
|
19666
|
+
isCronValid: boolean;
|
|
18061
19667
|
/**
|
|
18062
|
-
*
|
|
18063
|
-
* Used to preselect the dashboard filter in the enhanced automations list.
|
|
19668
|
+
* Whether the title passes the length limit.
|
|
18064
19669
|
*/
|
|
18065
|
-
|
|
19670
|
+
isTitleValid: boolean;
|
|
18066
19671
|
/**
|
|
18067
|
-
*
|
|
18068
|
-
* Used as the label of the preselected dashboard filter in the enhanced automations list.
|
|
19672
|
+
* Whether the e-mail subject passes its validation.
|
|
18069
19673
|
*/
|
|
18070
|
-
|
|
19674
|
+
isSubjectValid: boolean;
|
|
18071
19675
|
/**
|
|
18072
|
-
*
|
|
18073
|
-
* max-automations entitlement, falling back to DEFAULT_MAX_AUTOMATIONS).
|
|
18074
|
-
* Combined with the dialog's automations count to gate the create button.
|
|
19676
|
+
* Whether the e-mail message passes its validation.
|
|
18075
19677
|
*/
|
|
18076
|
-
|
|
19678
|
+
isOnMessageValid: boolean;
|
|
18077
19679
|
/**
|
|
18078
|
-
*
|
|
18079
|
-
* max-automations limit is not enforced.
|
|
19680
|
+
* The enableTimezoneChange setting; timezone-related presentation is gated by it.
|
|
18080
19681
|
*/
|
|
18081
|
-
|
|
19682
|
+
isTimezoneFeatureEnabled: boolean;
|
|
18082
19683
|
/**
|
|
18083
|
-
*
|
|
19684
|
+
* Whether the schedule may define its own export timezone (the "Time zone" section renders).
|
|
18084
19685
|
*/
|
|
18085
|
-
|
|
18086
|
-
/**
|
|
18087
|
-
|
|
19686
|
+
canSelectScheduleTimezone: boolean;
|
|
19687
|
+
/**
|
|
19688
|
+
* The "Time zone" section's current selection (the Default option or a concrete timezone).
|
|
19689
|
+
*/
|
|
19690
|
+
scheduleTimezoneSelection: IScheduleTimezoneSelection;
|
|
19691
|
+
/**
|
|
19692
|
+
* Concrete timezone the dashboard-schedule Default option currently resolves to (display only).
|
|
19693
|
+
*/
|
|
19694
|
+
defaultResolvedTimezone: string | undefined;
|
|
19695
|
+
/**
|
|
19696
|
+
* True when the edited schedule cannot behave correctly as stored (widget schedule missing a
|
|
19697
|
+
* dashboard-scoped timezone); feeds the apply-current-state confirmation.
|
|
19698
|
+
*/
|
|
19699
|
+
scheduleTimezoneIsStale: boolean;
|
|
18088
19700
|
}
|
|
18089
19701
|
|
|
18090
19702
|
/**
|
|
19703
|
+
* The scheduled-export dialog's filter and export-parameter model: the current selection and
|
|
19704
|
+
* available filters (flat and per tab), the handlers that mutate them, the staleness gate, and the
|
|
19705
|
+
* export-parameter chips with their handlers.
|
|
19706
|
+
*
|
|
19707
|
+
* Changes when a filter, a parameter or the store-filters toggle is edited; never per keystroke.
|
|
18091
19708
|
*
|
|
18092
19709
|
* @alpha
|
|
18093
19710
|
*/
|
|
18094
|
-
export declare interface
|
|
19711
|
+
export declare interface IScheduledExportFiltersContextValue {
|
|
18095
19712
|
/**
|
|
18096
|
-
*
|
|
18097
|
-
*
|
|
18098
|
-
* @deprecated read `isLoading` from `useScheduledEmailManagementDialogContext()` instead. Prop will
|
|
18099
|
-
* be removed.
|
|
19713
|
+
* The filters the schedule is saved with (flat mode).
|
|
18100
19714
|
*/
|
|
18101
|
-
|
|
19715
|
+
selectedFilters: FilterContextItem[];
|
|
18102
19716
|
/**
|
|
18103
|
-
*
|
|
18104
|
-
*
|
|
18105
|
-
* @deprecated not read by the default dialog. Prop will be removed.
|
|
19717
|
+
* The dashboard filters the schedule may use; undefined until resolved.
|
|
18106
19718
|
*/
|
|
18107
|
-
|
|
19719
|
+
availableFilters: FilterContextItem[] | undefined;
|
|
18108
19720
|
/**
|
|
18109
|
-
*
|
|
18110
|
-
*
|
|
18111
|
-
* @deprecated not read by the default dialog. Prop will be removed.
|
|
19721
|
+
* Whether the schedule stores its own filters instead of using the latest saved dashboard filters.
|
|
18112
19722
|
*/
|
|
18113
|
-
|
|
19723
|
+
storeFilters: boolean;
|
|
18114
19724
|
/**
|
|
18115
|
-
*
|
|
18116
|
-
*
|
|
18117
|
-
* @deprecated read `automations` from `useScheduledEmailManagementDialogContext()` instead. Prop
|
|
18118
|
-
* will be removed.
|
|
19725
|
+
* Filters structured per dashboard tab; present with more than one tab.
|
|
18119
19726
|
*/
|
|
18120
|
-
|
|
19727
|
+
filtersByTab: IAutomationFiltersTab[] | undefined;
|
|
18121
19728
|
/**
|
|
18122
|
-
*
|
|
19729
|
+
* The edited selection per dashboard tab (by-tab mode).
|
|
18123
19730
|
*/
|
|
18124
|
-
|
|
19731
|
+
editedFiltersByTab: Record<string, FilterContextItem[]> | undefined;
|
|
18125
19732
|
/**
|
|
18126
|
-
*
|
|
19733
|
+
* Replaces the selection with the complete updated array and mirrors it into the export
|
|
19734
|
+
* definitions. `storeFiltersParam` overrides the current toggle value for this write.
|
|
18127
19735
|
*/
|
|
18128
|
-
|
|
19736
|
+
onFiltersChange: (filters: FilterContextItem[], storeFiltersParam?: boolean) => void;
|
|
18129
19737
|
/**
|
|
18130
|
-
*
|
|
19738
|
+
* By-tab counterpart of `onFiltersChange`: replaces the per-tab selection wholesale.
|
|
18131
19739
|
*/
|
|
18132
|
-
|
|
19740
|
+
onFiltersByTabChange: (newFiltersByTab: Record<string, FilterContextItem[]>, storeFiltersParam?: boolean) => void;
|
|
18133
19741
|
/**
|
|
18134
|
-
*
|
|
19742
|
+
* Replaces the selection with the dashboard's current filters (the stale-filters repair).
|
|
18135
19743
|
*/
|
|
18136
|
-
|
|
19744
|
+
onApplyCurrentFilters: () => void;
|
|
18137
19745
|
/**
|
|
18138
|
-
*
|
|
19746
|
+
* Toggles filter and parameter persistence. The current filters must be passed back — flat mode
|
|
19747
|
+
* as `(value, filters, undefined)`, by-tab mode as `(value, undefined, filtersByTab)`.
|
|
18139
19748
|
*/
|
|
18140
|
-
|
|
19749
|
+
onStoreFiltersChange: (value: boolean, filters?: FilterContextItem[], filtersByTabParam?: Record<string, FilterContextItem[]>) => void;
|
|
19750
|
+
/**
|
|
19751
|
+
* False when the saved filters or the saved parameters no longer match the dashboard; gates the
|
|
19752
|
+
* stale-filters confirmation.
|
|
19753
|
+
*/
|
|
19754
|
+
automationIsValid: boolean;
|
|
19755
|
+
/**
|
|
19756
|
+
* Whether the saved filters alone no longer match the dashboard.
|
|
19757
|
+
*/
|
|
19758
|
+
filtersAreStale: boolean;
|
|
19759
|
+
/**
|
|
19760
|
+
* Whether the export-parameters feature is on; the parameter members below are empty when off.
|
|
19761
|
+
*/
|
|
19762
|
+
parametersEnabled: boolean;
|
|
19763
|
+
/**
|
|
19764
|
+
* Per-tab visible parameters to render as chips.
|
|
19765
|
+
*/
|
|
19766
|
+
visibleParametersByTab: Record<string, IAutomationParameter[]>;
|
|
19767
|
+
/**
|
|
19768
|
+
* Per-tab workspace parameters addable via the "+" menu.
|
|
19769
|
+
*/
|
|
19770
|
+
availableParametersByTab: Record<string, IAutomationParameter[]>;
|
|
19771
|
+
/**
|
|
19772
|
+
* The tab the flat (non-tabbed) UI edits; undefined for multi-tab dashboards or when no
|
|
19773
|
+
* parameter context applies.
|
|
19774
|
+
*/
|
|
19775
|
+
flatTabId: string | undefined;
|
|
19776
|
+
/**
|
|
19777
|
+
* Adds a workspace parameter with its default value on the flat tab.
|
|
19778
|
+
*/
|
|
19779
|
+
onParameterAdd: (ref: IdentifierRef) => void;
|
|
19780
|
+
/**
|
|
19781
|
+
* Sets a parameter's value on the flat tab.
|
|
19782
|
+
*/
|
|
19783
|
+
onParameterChange: (ref: IdentifierRef, value: ParameterValue) => void;
|
|
19784
|
+
/**
|
|
19785
|
+
* Removes a parameter override on the flat tab.
|
|
19786
|
+
*/
|
|
19787
|
+
onParameterDelete: (ref: IdentifierRef) => void;
|
|
19788
|
+
/**
|
|
19789
|
+
* Adds a workspace parameter with its default value on the given tab.
|
|
19790
|
+
*/
|
|
19791
|
+
onParameterAddByTab: (tabId: string, ref: IdentifierRef) => void;
|
|
19792
|
+
/**
|
|
19793
|
+
* Sets a parameter's value on the given tab.
|
|
19794
|
+
*/
|
|
19795
|
+
onParameterChangeByTab: (tabId: string, ref: IdentifierRef, value: ParameterValue) => void;
|
|
19796
|
+
/**
|
|
19797
|
+
* Removes a parameter override on the given tab.
|
|
19798
|
+
*/
|
|
19799
|
+
onParameterDeleteByTab: (tabId: string, ref: IdentifierRef) => void;
|
|
19800
|
+
/**
|
|
19801
|
+
* Resets the parameters to the dashboard's current effective values (the "apply latest" flow).
|
|
19802
|
+
*/
|
|
19803
|
+
applyLatest: () => void;
|
|
19804
|
+
/**
|
|
19805
|
+
* Re-encodes the parameters onto the automation with the new persistence value.
|
|
19806
|
+
*/
|
|
19807
|
+
onStoreParametersChange: (storeParameters: boolean) => void;
|
|
18141
19808
|
}
|
|
18142
19809
|
|
|
18143
19810
|
/**
|
|
@@ -19888,6 +21555,18 @@ export declare interface ISetParameterRuntimeValuesPayload {
|
|
|
19888
21555
|
tabLocalIdentifier?: string;
|
|
19889
21556
|
}
|
|
19890
21557
|
|
|
21558
|
+
/**
|
|
21559
|
+
* Stage a parameter value under the apply-all-at-once mode. The value is always concrete: the
|
|
21560
|
+
* parameter control does not render for unresolved parameters, so staged `undefined` is
|
|
21561
|
+
* unreachable.
|
|
21562
|
+
*
|
|
21563
|
+
* @alpha
|
|
21564
|
+
*/
|
|
21565
|
+
export declare interface ISetParameterWorkingValuePayload {
|
|
21566
|
+
ref: ObjRef;
|
|
21567
|
+
value: ParameterValue;
|
|
21568
|
+
}
|
|
21569
|
+
|
|
19891
21570
|
/**
|
|
19892
21571
|
* @internal
|
|
19893
21572
|
*/
|
|
@@ -20994,6 +22673,54 @@ export declare interface IUpsertExecutionResult extends IDashboardCommand {
|
|
|
20994
22673
|
readonly payload: IExecutionResultEnvelope;
|
|
20995
22674
|
}
|
|
20996
22675
|
|
|
22676
|
+
/**
|
|
22677
|
+
* Inputs of {@link useAlertingDialogActionBarProps} that come from the dialog rather than its state.
|
|
22678
|
+
*
|
|
22679
|
+
* @alpha
|
|
22680
|
+
*/
|
|
22681
|
+
export declare interface IUseAlertingDialogActionBarPropsInput {
|
|
22682
|
+
/**
|
|
22683
|
+
* Closes the dialog without saving.
|
|
22684
|
+
*/
|
|
22685
|
+
onCancel?: () => void;
|
|
22686
|
+
/**
|
|
22687
|
+
* Submits the automation; the dialog's single submit path (see {@link useAlertSubmit}).
|
|
22688
|
+
*/
|
|
22689
|
+
onSubmit: () => void;
|
|
22690
|
+
/**
|
|
22691
|
+
* Whether a save is in flight.
|
|
22692
|
+
*/
|
|
22693
|
+
isSaving: boolean;
|
|
22694
|
+
/**
|
|
22695
|
+
* Opens the delete confirmation. Rendered only when an existing alert is being edited.
|
|
22696
|
+
*/
|
|
22697
|
+
onDelete?: () => void;
|
|
22698
|
+
}
|
|
22699
|
+
|
|
22700
|
+
/**
|
|
22701
|
+
* Inputs of {@link useAlertingDialogHeaderProps} that come from the dialog rather than its state.
|
|
22702
|
+
*
|
|
22703
|
+
* @alpha
|
|
22704
|
+
*/
|
|
22705
|
+
export declare interface IUseAlertingDialogHeaderPropsInput {
|
|
22706
|
+
/**
|
|
22707
|
+
* Closes the dialog; the header's back/close button calls it.
|
|
22708
|
+
*/
|
|
22709
|
+
onCancel?: () => void;
|
|
22710
|
+
/**
|
|
22711
|
+
* The dialog's initial-focus ref, attached to the title input.
|
|
22712
|
+
*/
|
|
22713
|
+
ref?: Ref<HTMLInputElement>;
|
|
22714
|
+
}
|
|
22715
|
+
|
|
22716
|
+
/**
|
|
22717
|
+
* Lifecycle callbacks of {@link useAlertSubmit}: the dialog's own `onSuccess`/`onError` (create) and
|
|
22718
|
+
* `onSaveSuccess`/`onSaveError` (edit).
|
|
22719
|
+
*
|
|
22720
|
+
* @alpha
|
|
22721
|
+
*/
|
|
22722
|
+
export declare type IUseAlertSubmitCallbacks = Pick<IAlertingDialogProps, "onSuccess" | "onError" | "onSaveSuccess" | "onSaveError">;
|
|
22723
|
+
|
|
20997
22724
|
/**
|
|
20998
22725
|
* @internal
|
|
20999
22726
|
*/
|
|
@@ -21181,6 +22908,70 @@ export declare interface IUserInteractionPayloadWithDataBase<TType extends strin
|
|
|
21181
22908
|
data: TData;
|
|
21182
22909
|
}
|
|
21183
22910
|
|
|
22911
|
+
/**
|
|
22912
|
+
* Lifecycle callbacks of {@link useSaveScheduledEmailToBackend}: `onSubmit`/`onSuccess`/`onError`
|
|
22913
|
+
* (create) and `onSave`/`onSaveSuccess`/`onSaveError` (edit).
|
|
22914
|
+
*
|
|
22915
|
+
* @alpha
|
|
22916
|
+
*/
|
|
22917
|
+
export declare type IUseSaveScheduledEmailCallbacks = Pick<IScheduledEmailDialogProps, "onSuccess" | "onError" | "onSubmit" | "onSaveSuccess" | "onSaveError" | "onSave">;
|
|
22918
|
+
|
|
22919
|
+
/**
|
|
22920
|
+
* Inputs of {@link useScheduledEmailDialogActionBarProps} that come from the dialog rather than its state.
|
|
22921
|
+
*
|
|
22922
|
+
* @alpha
|
|
22923
|
+
*/
|
|
22924
|
+
export declare interface IUseScheduledEmailDialogActionBarPropsInput {
|
|
22925
|
+
/**
|
|
22926
|
+
* Closes the dialog without saving.
|
|
22927
|
+
*/
|
|
22928
|
+
onCancel?: () => void;
|
|
22929
|
+
/**
|
|
22930
|
+
* Submits the automation; the dialog's single save path (see {@link useSaveScheduledEmailToBackend}).
|
|
22931
|
+
*/
|
|
22932
|
+
onSubmit: () => void;
|
|
22933
|
+
/**
|
|
22934
|
+
* Whether a save is in flight.
|
|
22935
|
+
*/
|
|
22936
|
+
isSaving: boolean;
|
|
22937
|
+
/**
|
|
22938
|
+
* Opens the delete confirmation. Rendered only when an existing schedule is being edited.
|
|
22939
|
+
*/
|
|
22940
|
+
onDelete?: () => void;
|
|
22941
|
+
}
|
|
22942
|
+
|
|
22943
|
+
/**
|
|
22944
|
+
* Inputs of {@link useScheduledEmailDialogHeaderProps} that come from the dialog rather than its state.
|
|
22945
|
+
*
|
|
22946
|
+
* @alpha
|
|
22947
|
+
*/
|
|
22948
|
+
export declare interface IUseScheduledEmailDialogHeaderPropsInput {
|
|
22949
|
+
/**
|
|
22950
|
+
* Returns to the management dialog; the header's back button calls it.
|
|
22951
|
+
*/
|
|
22952
|
+
onBack?: () => void;
|
|
22953
|
+
/**
|
|
22954
|
+
* Key-down handler of the title input; the dialog submits on Enter through it.
|
|
22955
|
+
*/
|
|
22956
|
+
onTitleKeyDown: (event: KeyboardEvent_2) => void;
|
|
22957
|
+
/**
|
|
22958
|
+
* The dialog's initial-focus ref, attached to the title input.
|
|
22959
|
+
*/
|
|
22960
|
+
ref?: Ref<HTMLInputElement>;
|
|
22961
|
+
}
|
|
22962
|
+
|
|
22963
|
+
/**
|
|
22964
|
+
* Inputs of {@link useScheduledEmailDialogRecipientsProps} that come from the dialog rather than its state.
|
|
22965
|
+
*
|
|
22966
|
+
* @alpha
|
|
22967
|
+
*/
|
|
22968
|
+
export declare interface IUseScheduledEmailDialogRecipientsPropsInput {
|
|
22969
|
+
/**
|
|
22970
|
+
* Key-down handler of the recipients input; the dialog submits on Enter through it.
|
|
22971
|
+
*/
|
|
22972
|
+
onKeyDownSubmit: (event: KeyboardEvent_2) => void;
|
|
22973
|
+
}
|
|
22974
|
+
|
|
21184
22975
|
/**
|
|
21185
22976
|
* @internal
|
|
21186
22977
|
*/
|
|
@@ -23849,6 +25640,31 @@ export declare type SavingState = {
|
|
|
23849
25640
|
*/
|
|
23850
25641
|
export declare function ScheduledEmailDialog(props: IScheduledEmailDialogProps): ReactElement;
|
|
23851
25642
|
|
|
25643
|
+
/**
|
|
25644
|
+
* The scheduled-export dialog's action bar (documentation link, Delete in edit mode, Cancel, submit),
|
|
25645
|
+
* connected to the dialog's state.
|
|
25646
|
+
*
|
|
25647
|
+
* Renders {@link DefaultAutomationDialogActionBar} with the props of
|
|
25648
|
+
* {@link useScheduledEmailDialogActionBarProps}; every override prop replaces the hook's value
|
|
25649
|
+
* wholesale. The block does not own the save: pass `handleSaveScheduledEmail` and
|
|
25650
|
+
* `isSavingScheduledEmail` from one {@link useSaveScheduledEmailToBackend} instance, so an Enter
|
|
25651
|
+
* handler elsewhere in the shell shares it. Renders nothing while
|
|
25652
|
+
* `useScheduledEmailDialogContext().isLoading` is true.
|
|
25653
|
+
*
|
|
25654
|
+
* @example
|
|
25655
|
+
* ```tsx
|
|
25656
|
+
* const { handleSaveScheduledEmail, isSavingScheduledEmail } = useSaveScheduledEmailToBackend(props);
|
|
25657
|
+
* <ScheduledEmailDialogActionBar
|
|
25658
|
+
* onCancel={props.onCancel}
|
|
25659
|
+
* onSubmit={handleSaveScheduledEmail}
|
|
25660
|
+
* isSaving={isSavingScheduledEmail}
|
|
25661
|
+
* />;
|
|
25662
|
+
* ```
|
|
25663
|
+
*
|
|
25664
|
+
* @alpha
|
|
25665
|
+
*/
|
|
25666
|
+
export declare function ScheduledEmailDialogActionBar(props: IScheduledEmailDialogActionBarBlockProps): JSX.Element;
|
|
25667
|
+
|
|
23852
25668
|
/**
|
|
23853
25669
|
* Provides the scheduled-email create/edit dialog context.
|
|
23854
25670
|
*
|
|
@@ -23861,6 +25677,50 @@ export declare function ScheduledEmailDialog(props: IScheduledEmailDialogProps):
|
|
|
23861
25677
|
*/
|
|
23862
25678
|
export declare const ScheduledEmailDialogContextProvider: Provider<IScheduledEmailDialogContextValue | undefined>;
|
|
23863
25679
|
|
|
25680
|
+
/**
|
|
25681
|
+
* The scheduled-export dialog's destination region (the notification-channel select), connected to
|
|
25682
|
+
* the dialog's state.
|
|
25683
|
+
*
|
|
25684
|
+
* Renders {@link DefaultScheduledEmailDialogDestination} with the props of
|
|
25685
|
+
* {@link useScheduledEmailDialogDestinationProps}; every prop passed here replaces the hook's value
|
|
25686
|
+
* for that prop wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true.
|
|
25687
|
+
*
|
|
25688
|
+
* @alpha
|
|
25689
|
+
*/
|
|
25690
|
+
export declare function ScheduledEmailDialogDestination(overrides: Partial<IAutomationDialogDestinationProps>): JSX.Element;
|
|
25691
|
+
|
|
25692
|
+
/**
|
|
25693
|
+
* The scheduled-export dialog's filters region (the filter and parameter chips, flat or per tab),
|
|
25694
|
+
* connected to the dialog's state.
|
|
25695
|
+
*
|
|
25696
|
+
* Renders {@link DefaultScheduledEmailDialogFilters} with the props of
|
|
25697
|
+
* {@link useScheduledEmailDialogFiltersProps}; every prop passed here replaces the hook's value for
|
|
25698
|
+
* that prop wholesale (`onFiltersChange` / `onFiltersByTabChange` overrides take over the write and
|
|
25699
|
+
* must submit the complete selection). Renders nothing while
|
|
25700
|
+
* `useScheduledEmailDialogContext().isLoading` is true. The default dialog renders this region on its
|
|
25701
|
+
* Filters tab only and hides it behind its stale-filters confirmation step; the block renders wherever
|
|
25702
|
+
* it is placed — a shell that wants either builds it from {@link useScheduledExportFilters}.
|
|
25703
|
+
*
|
|
25704
|
+
* @alpha
|
|
25705
|
+
*/
|
|
25706
|
+
export declare function ScheduledEmailDialogFilters(overrides: Partial<IScheduledEmailDialogFiltersProps>): JSX.Element;
|
|
25707
|
+
|
|
25708
|
+
/**
|
|
25709
|
+
* The scheduled-export dialog's header region (the back button and the title input), connected to the
|
|
25710
|
+
* dialog's state.
|
|
25711
|
+
*
|
|
25712
|
+
* Renders {@link DefaultScheduledEmailDialogHeader} with the props of
|
|
25713
|
+
* {@link useScheduledEmailDialogHeaderProps}; every prop passed here replaces the hook's value for that
|
|
25714
|
+
* prop wholesale. Pass `onBack` to get the back button, `ref` to receive the title input, and
|
|
25715
|
+
* `onTitleKeyDown` to submit on Enter — the default dialog passes a handler over its single
|
|
25716
|
+
* {@link useSaveScheduledEmailToBackend} instance; without it Enter does nothing here. Renders
|
|
25717
|
+
* nothing while `useScheduledEmailDialogContext().isLoading` is true, which on scheduled email is
|
|
25718
|
+
* the ordinary path while a widget export's filters load.
|
|
25719
|
+
*
|
|
25720
|
+
* @alpha
|
|
25721
|
+
*/
|
|
25722
|
+
export declare const ScheduledEmailDialogHeader: ForwardRefExoticComponent<Partial<IScheduledEmailDialogHeaderProps> & RefAttributes<HTMLInputElement>>;
|
|
25723
|
+
|
|
23864
25724
|
/**
|
|
23865
25725
|
* The exact props the default dialog renders its header with, including the dialog's
|
|
23866
25726
|
* initial-focus ref.
|
|
@@ -23871,6 +25731,34 @@ export declare type ScheduledEmailDialogHeaderDefaultProps = IScheduledEmailDial
|
|
|
23871
25731
|
ref?: Ref<HTMLInputElement>;
|
|
23872
25732
|
};
|
|
23873
25733
|
|
|
25734
|
+
/**
|
|
25735
|
+
* The scheduled-export dialog's recipients region, connected to the dialog's state.
|
|
25736
|
+
*
|
|
25737
|
+
* Renders {@link DefaultScheduledEmailDialogRecipients} with the props of
|
|
25738
|
+
* {@link useScheduledEmailDialogRecipientsProps}; every prop passed here replaces the hook's value
|
|
25739
|
+
* for that prop wholesale, e.g. `<ScheduledEmailDialogRecipients maxRecipients={3} />`. Pass
|
|
25740
|
+
* `onKeyDownSubmit` to submit on Enter from the recipients input — the default dialog passes a
|
|
25741
|
+
* handler over its single {@link useSaveScheduledEmailToBackend} instance; without it Enter does
|
|
25742
|
+
* nothing here. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true.
|
|
25743
|
+
*
|
|
25744
|
+
* @alpha
|
|
25745
|
+
*/
|
|
25746
|
+
export declare function ScheduledEmailDialogRecipients(props: Partial<IScheduledEmailDialogRecipientsProps>): JSX.Element;
|
|
25747
|
+
|
|
25748
|
+
/**
|
|
25749
|
+
* The scheduled-export dialog's "Time zone" section (the export-content timezone picker), connected
|
|
25750
|
+
* to the dialog's state.
|
|
25751
|
+
*
|
|
25752
|
+
* Renders {@link DefaultScheduledEmailDialogTimezone} with the props of
|
|
25753
|
+
* {@link useScheduledEmailDialogTimezoneProps}; every prop passed here replaces the hook's value
|
|
25754
|
+
* wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true, and nothing
|
|
25755
|
+
* when `useScheduledExportDraft().canSelectScheduleTimezone` is false — the schedule may not define
|
|
25756
|
+
* its own timezone then, exactly as in the default dialog.
|
|
25757
|
+
*
|
|
25758
|
+
* @alpha
|
|
25759
|
+
*/
|
|
25760
|
+
export declare function ScheduledEmailDialogTimezone(overrides: Partial<ScheduledEmailDialogTimezoneDefaultProps>): JSX.Element;
|
|
25761
|
+
|
|
23874
25762
|
/**
|
|
23875
25763
|
* The exact props the default dialog renders its "Time zone" section with.
|
|
23876
25764
|
*
|
|
@@ -25346,6 +27234,13 @@ export declare const selectEnableDashboardDescriptionDynamicHeight: DashboardSel
|
|
|
25346
27234
|
*/
|
|
25347
27235
|
export declare const selectEnableDashboardFilterGroups: DashboardSelector<boolean>;
|
|
25348
27236
|
|
|
27237
|
+
/**
|
|
27238
|
+
* Selector for the dashboard object availability (OLP partial rendering) feature flag
|
|
27239
|
+
*
|
|
27240
|
+
* @internal
|
|
27241
|
+
*/
|
|
27242
|
+
export declare const selectEnableDashboardPartialRendering: DashboardSelector<boolean>;
|
|
27243
|
+
|
|
25349
27244
|
/**
|
|
25350
27245
|
* Returns whether dashboard-level date dataset configuration for section headers is enabled.
|
|
25351
27246
|
*
|
|
@@ -26047,7 +27942,7 @@ export declare const selectFiltersWithInvalidSelection: DashboardSelector<string
|
|
|
26047
27942
|
export declare const selectFilterValidationIncompatibleDefaultFiltersOverride: DashboardSelector<boolean>;
|
|
26048
27943
|
|
|
26049
27944
|
/**
|
|
26050
|
-
* Returns the active tab's parameters in the shape persisted by a filter view.
|
|
27945
|
+
* Returns the active tab's applied parameters in the shape persisted by a filter view.
|
|
26051
27946
|
* Runtime overrides become persisted `value`; existing parameter values are kept when no runtime value exists.
|
|
26052
27947
|
*
|
|
26053
27948
|
* @internal
|
|
@@ -26102,8 +27997,8 @@ export declare const selectGlobalDrillsDownAttributeHierarchyByWidgetRef: (ref:
|
|
|
26102
27997
|
export declare const selectHasAnyExecutionResultLimitBreaks: DashboardSelector<boolean>;
|
|
26103
27998
|
|
|
26104
27999
|
/**
|
|
26105
|
-
* True when the active tab has at least one parameter whose
|
|
26106
|
-
* the value it would be reset to (per `computeParameterResetValue`).
|
|
28000
|
+
* True when the active tab has at least one parameter whose display value (staged, else applied)
|
|
28001
|
+
* or applied value differs from the value it would be reset to (per `computeParameterResetValue`).
|
|
26107
28002
|
*
|
|
26108
28003
|
* @alpha
|
|
26109
28004
|
*/
|
|
@@ -26708,7 +28603,22 @@ export declare const selectIsWidgetLoadingAdditionalDataByWidgetRef: (refs: ObjR
|
|
|
26708
28603
|
*
|
|
26709
28604
|
* @alpha
|
|
26710
28605
|
*/
|
|
26711
|
-
export declare const selectIsWorkingFilterContextChanged: DashboardSelector<boolean | undefined>;
|
|
28606
|
+
export declare const selectIsWorkingFilterContextChanged: DashboardSelector<boolean | undefined>;
|
|
28607
|
+
|
|
28608
|
+
/**
|
|
28609
|
+
* True when the active tab has at least one staged parameter value.
|
|
28610
|
+
*
|
|
28611
|
+
* @alpha
|
|
28612
|
+
*/
|
|
28613
|
+
export declare const selectIsWorkingParametersChanged: DashboardSelector<boolean>;
|
|
28614
|
+
|
|
28615
|
+
/**
|
|
28616
|
+
* True when the active tab has staged filters or staged parameter values that "Apply All" has not
|
|
28617
|
+
* applied yet.
|
|
28618
|
+
*
|
|
28619
|
+
* @alpha
|
|
28620
|
+
*/
|
|
28621
|
+
export declare const selectIsWorkingSelectionChanged: DashboardSelector<boolean>;
|
|
26712
28622
|
|
|
26713
28623
|
/**
|
|
26714
28624
|
* @internal
|
|
@@ -26978,6 +28888,14 @@ export declare const selectOtherContextAttributeFilterItems: (ref?: ObjRef) => D
|
|
|
26978
28888
|
*/
|
|
26979
28889
|
export declare const selectOtherContextAttributeFilters: (ref?: ObjRef) => DashboardSelector<IDashboardAttributeFilter[]>;
|
|
26980
28890
|
|
|
28891
|
+
/**
|
|
28892
|
+
* Returns a selector that yields the value shown for a given parameter ref on the active tab: the
|
|
28893
|
+
* staged one when the entry has it, otherwise the applied `runtimeOverride`.
|
|
28894
|
+
*
|
|
28895
|
+
* @alpha
|
|
28896
|
+
*/
|
|
28897
|
+
export declare const selectParameterDisplayValueByRef: (ref: ObjRef) => DashboardSelector<ParameterValue | undefined>;
|
|
28898
|
+
|
|
26981
28899
|
/**
|
|
26982
28900
|
* Returns a selector that yields the current `runtimeOverride` for a given parameter ref on the
|
|
26983
28901
|
* active tab, or `undefined` if the active tab does not hold an entry for that ref.
|
|
@@ -27326,6 +29244,21 @@ export declare const selectTimezone: DashboardSelector<string | undefined>;
|
|
|
27326
29244
|
*/
|
|
27327
29245
|
export declare const selectTimezoneOverride: DashboardSelector<string | undefined>;
|
|
27328
29246
|
|
|
29247
|
+
/**
|
|
29248
|
+
* Selects all references of the current dashboard that are unavailable to the current user.
|
|
29249
|
+
*
|
|
29250
|
+
* @alpha
|
|
29251
|
+
*/
|
|
29252
|
+
export declare const selectUnavailableObjects: DashboardSelector<IUnavailableDashboardReference[]>;
|
|
29253
|
+
|
|
29254
|
+
/**
|
|
29255
|
+
* Selects the unavailable dashboard references of the given object type in a mapping of obj ref to the
|
|
29256
|
+
* unavailability entry. Objects of different types may share an identifier, hence the per-type maps.
|
|
29257
|
+
*
|
|
29258
|
+
* @alpha
|
|
29259
|
+
*/
|
|
29260
|
+
export declare const selectUnavailableObjectsMapByType: (type: ObjectType) => DashboardSelector<ObjRefMap<IUnavailableDashboardReference>>;
|
|
29261
|
+
|
|
27329
29262
|
/**
|
|
27330
29263
|
* @internal
|
|
27331
29264
|
*/
|
|
@@ -28094,113 +30027,6 @@ export declare function switchToEditRenderMode(correlationId?: string): IChangeR
|
|
|
28094
30027
|
* @internal
|
|
28095
30028
|
*/
|
|
28096
30029
|
export declare const tabsActions: CaseReducerActions< {
|
|
28097
|
-
readonly setTabs: TabsReducer< {
|
|
28098
|
-
payload: {
|
|
28099
|
-
tabs?: ITabState[] | undefined;
|
|
28100
|
-
activeTabLocalIdentifier?: string | undefined;
|
|
28101
|
-
};
|
|
28102
|
-
type: string;
|
|
28103
|
-
}>;
|
|
28104
|
-
readonly setActiveTabLocalIdentifier: TabsReducer< {
|
|
28105
|
-
payload: string | undefined;
|
|
28106
|
-
type: string;
|
|
28107
|
-
}>;
|
|
28108
|
-
readonly updateTab: TabsReducer< {
|
|
28109
|
-
payload: ITabState;
|
|
28110
|
-
type: string;
|
|
28111
|
-
}>;
|
|
28112
|
-
readonly removeTabById: TabsReducer< {
|
|
28113
|
-
payload: string;
|
|
28114
|
-
type: string;
|
|
28115
|
-
}>;
|
|
28116
|
-
readonly clearTabs: TabsReducer< {
|
|
28117
|
-
payload: void;
|
|
28118
|
-
type: string;
|
|
28119
|
-
}>;
|
|
28120
|
-
readonly setTabIsRenaming: TabsReducer< {
|
|
28121
|
-
payload: {
|
|
28122
|
-
tabId: string;
|
|
28123
|
-
isRenaming: boolean;
|
|
28124
|
-
};
|
|
28125
|
-
type: string;
|
|
28126
|
-
}>;
|
|
28127
|
-
readonly renameTab: TabsReducer< {
|
|
28128
|
-
payload: {
|
|
28129
|
-
tabId: string;
|
|
28130
|
-
title: string;
|
|
28131
|
-
};
|
|
28132
|
-
type: string;
|
|
28133
|
-
}>;
|
|
28134
|
-
readonly resolveDefaultTab: TabsReducer< {
|
|
28135
|
-
payload: {
|
|
28136
|
-
newLocalIdentifier: string;
|
|
28137
|
-
};
|
|
28138
|
-
type: string;
|
|
28139
|
-
}>;
|
|
28140
|
-
readonly changeAttributeFilterConfigMode: (state: WritableDraft<ITabsState>, action: {
|
|
28141
|
-
payload: ISetDashboardAttributeFilterConfigModePayload;
|
|
28142
|
-
type: string;
|
|
28143
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28144
|
-
readonly changeAttributeFilterSelectionType: (state: WritableDraft<ITabsState>, action: {
|
|
28145
|
-
payload: ISetDashboardAttributeFilterSelectionTypePayload;
|
|
28146
|
-
type: string;
|
|
28147
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28148
|
-
readonly setAttributeFilterConfigs: (state: WritableDraft<ITabsState>, action: {
|
|
28149
|
-
payload: any;
|
|
28150
|
-
type: string;
|
|
28151
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28152
|
-
readonly removeAttributeFilterConfig: TabsReducer< {
|
|
28153
|
-
payload: string;
|
|
28154
|
-
type: string;
|
|
28155
|
-
}>;
|
|
28156
|
-
readonly changeDisplayAsLabel: (state: WritableDraft<ITabsState>, action: {
|
|
28157
|
-
payload: ISetDashboardAttributeFilterConfigDisplayAsLabelPayload;
|
|
28158
|
-
type: string;
|
|
28159
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28160
|
-
readonly setDateFilterConfig: (state: WritableDraft<ITabsState>, action: {
|
|
28161
|
-
payload: {
|
|
28162
|
-
dateFilterConfig?: IDashboardDateFilterConfig_2 | undefined;
|
|
28163
|
-
effectiveDateFilterConfig: IDateFilterConfig;
|
|
28164
|
-
isUsingDashboardOverrides: boolean;
|
|
28165
|
-
};
|
|
28166
|
-
type: string;
|
|
28167
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28168
|
-
readonly setDateFilterConfigMode: (state: WritableDraft<ITabsState>, action: {
|
|
28169
|
-
payload: DashboardDateFilterConfigMode;
|
|
28170
|
-
type: string;
|
|
28171
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28172
|
-
readonly setDateFilterConfigTitle: (state: WritableDraft<ITabsState>, action: {
|
|
28173
|
-
payload: string | undefined;
|
|
28174
|
-
type: string;
|
|
28175
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28176
|
-
readonly updateDateFilterConfig: (state: WritableDraft<ITabsState>, action: {
|
|
28177
|
-
payload: IDashboardDateFilterConfig_2;
|
|
28178
|
-
type: string;
|
|
28179
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28180
|
-
readonly addDateFilterConfigValidationWarning: (state: WritableDraft<ITabsState>, action: {
|
|
28181
|
-
payload: DateFilterValidationResult;
|
|
28182
|
-
type: string;
|
|
28183
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28184
|
-
readonly clearDateFilterConfigValidationWarning: (state: WritableDraft<ITabsState>, action: {
|
|
28185
|
-
payload: void;
|
|
28186
|
-
type: string;
|
|
28187
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28188
|
-
readonly changeDateFilterConfigsMode: (state: WritableDraft<ITabsState>, action: {
|
|
28189
|
-
payload: ISetDashboardDateFilterWithDimensionConfigModePayload;
|
|
28190
|
-
type: string;
|
|
28191
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28192
|
-
readonly setDateFilterConfigs: (state: WritableDraft<ITabsState>, action: {
|
|
28193
|
-
payload: any;
|
|
28194
|
-
type: string;
|
|
28195
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28196
|
-
readonly removeDateFilterConfigs: (state: WritableDraft<ITabsState>, action: {
|
|
28197
|
-
payload: ObjRef;
|
|
28198
|
-
type: string;
|
|
28199
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28200
|
-
readonly changeDateFilterConfigsTitle: (state: WritableDraft<ITabsState>, action: {
|
|
28201
|
-
payload: ISetDateFilterConfigTitlePayload;
|
|
28202
|
-
type: string;
|
|
28203
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28204
30030
|
readonly setFilterContext: (state: WritableDraft<ITabsState>, action: {
|
|
28205
30031
|
payload: {
|
|
28206
30032
|
filterContextDefinition: IFilterContextDefinition;
|
|
@@ -28311,42 +30137,173 @@ readonly changeSelectionMode: (state: WritableDraft<ITabsState>, action: {
|
|
|
28311
30137
|
payload: IChangeAttributeSelectionModePayload;
|
|
28312
30138
|
type: string;
|
|
28313
30139
|
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28314
|
-
readonly changeLimitingItems: (state: WritableDraft<ITabsState>, action: {
|
|
28315
|
-
payload: IChangeAttributeLimitingItemsPayload;
|
|
30140
|
+
readonly changeLimitingItems: (state: WritableDraft<ITabsState>, action: {
|
|
30141
|
+
payload: IChangeAttributeLimitingItemsPayload;
|
|
30142
|
+
type: string;
|
|
30143
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30144
|
+
readonly setPreloadedAttributesWithReferences: (state: WritableDraft<ITabsState>, action: {
|
|
30145
|
+
payload: IAttributeWithReferences[];
|
|
30146
|
+
type: string;
|
|
30147
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30148
|
+
readonly resetWorkingFilterSelection: (state: WritableDraft<ITabsState>, action: {
|
|
30149
|
+
payload: void;
|
|
30150
|
+
type: string;
|
|
30151
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30152
|
+
readonly setDefaultFilterOverrides: (state: WritableDraft<ITabsState>, action: {
|
|
30153
|
+
payload: FilterContextItem[];
|
|
30154
|
+
type: string;
|
|
30155
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30156
|
+
readonly changeMeasureValueFilterCondition: (state: WritableDraft<ITabsState>, action: {
|
|
30157
|
+
payload: IChangeMeasureValueFilterConditionReducerPayload;
|
|
30158
|
+
type: string;
|
|
30159
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30160
|
+
readonly setMeasureValueFilterDimensionality: (state: WritableDraft<ITabsState>, action: {
|
|
30161
|
+
payload: {
|
|
30162
|
+
readonly localIdentifier: string;
|
|
30163
|
+
readonly dimensionality?: ObjRef[] | undefined;
|
|
30164
|
+
};
|
|
30165
|
+
type: string;
|
|
30166
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30167
|
+
readonly changeMeasureValueFilterTitle: (state: WritableDraft<ITabsState>, action: {
|
|
30168
|
+
payload: {
|
|
30169
|
+
readonly filterLocalId: string;
|
|
30170
|
+
readonly title?: string | undefined;
|
|
30171
|
+
};
|
|
30172
|
+
type: string;
|
|
30173
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30174
|
+
readonly addParameter: (state: WritableDraft<ITabsState>, action: {
|
|
30175
|
+
payload: IAddParameterPayload;
|
|
30176
|
+
type: string;
|
|
30177
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30178
|
+
readonly setParameterRuntimeValue: (state: WritableDraft<ITabsState>, action: {
|
|
30179
|
+
payload: ISetParameterRuntimeValuePayload;
|
|
30180
|
+
type: string;
|
|
30181
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30182
|
+
readonly setParameterRuntimeValues: (state: WritableDraft<ITabsState>, action: {
|
|
30183
|
+
payload: ISetParameterRuntimeValuesPayload;
|
|
30184
|
+
type: string;
|
|
30185
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30186
|
+
readonly setParameterWorkingValue: (state: WritableDraft<ITabsState>, action: {
|
|
30187
|
+
payload: ISetParameterWorkingValuePayload;
|
|
30188
|
+
type: string;
|
|
30189
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30190
|
+
readonly removeParameter: (state: WritableDraft<ITabsState>, action: {
|
|
30191
|
+
payload: IRemoveParameterPayload;
|
|
30192
|
+
type: string;
|
|
30193
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30194
|
+
readonly setTabs: TabsReducer< {
|
|
30195
|
+
payload: {
|
|
30196
|
+
tabs?: ITabState[] | undefined;
|
|
30197
|
+
activeTabLocalIdentifier?: string | undefined;
|
|
30198
|
+
};
|
|
30199
|
+
type: string;
|
|
30200
|
+
}>;
|
|
30201
|
+
readonly setActiveTabLocalIdentifier: TabsReducer< {
|
|
30202
|
+
payload: string | undefined;
|
|
30203
|
+
type: string;
|
|
30204
|
+
}>;
|
|
30205
|
+
readonly updateTab: TabsReducer< {
|
|
30206
|
+
payload: ITabState;
|
|
30207
|
+
type: string;
|
|
30208
|
+
}>;
|
|
30209
|
+
readonly removeTabById: TabsReducer< {
|
|
30210
|
+
payload: string;
|
|
30211
|
+
type: string;
|
|
30212
|
+
}>;
|
|
30213
|
+
readonly clearTabs: TabsReducer< {
|
|
30214
|
+
payload: void;
|
|
30215
|
+
type: string;
|
|
30216
|
+
}>;
|
|
30217
|
+
readonly setTabIsRenaming: TabsReducer< {
|
|
30218
|
+
payload: {
|
|
30219
|
+
tabId: string;
|
|
30220
|
+
isRenaming: boolean;
|
|
30221
|
+
};
|
|
30222
|
+
type: string;
|
|
30223
|
+
}>;
|
|
30224
|
+
readonly renameTab: TabsReducer< {
|
|
30225
|
+
payload: {
|
|
30226
|
+
tabId: string;
|
|
30227
|
+
title: string;
|
|
30228
|
+
};
|
|
30229
|
+
type: string;
|
|
30230
|
+
}>;
|
|
30231
|
+
readonly resolveDefaultTab: TabsReducer< {
|
|
30232
|
+
payload: {
|
|
30233
|
+
newLocalIdentifier: string;
|
|
30234
|
+
};
|
|
30235
|
+
type: string;
|
|
30236
|
+
}>;
|
|
30237
|
+
readonly applyWorkingSelection: TabsReducer< {
|
|
30238
|
+
payload: IApplyWorkingSelectionPayload;
|
|
30239
|
+
type: string;
|
|
30240
|
+
}>;
|
|
30241
|
+
readonly resetWorkingSelection: TabsReducer< {
|
|
30242
|
+
payload: void;
|
|
30243
|
+
type: string;
|
|
30244
|
+
}>;
|
|
30245
|
+
readonly changeAttributeFilterConfigMode: (state: WritableDraft<ITabsState>, action: {
|
|
30246
|
+
payload: ISetDashboardAttributeFilterConfigModePayload;
|
|
30247
|
+
type: string;
|
|
30248
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30249
|
+
readonly changeAttributeFilterSelectionType: (state: WritableDraft<ITabsState>, action: {
|
|
30250
|
+
payload: ISetDashboardAttributeFilterSelectionTypePayload;
|
|
30251
|
+
type: string;
|
|
30252
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30253
|
+
readonly setAttributeFilterConfigs: (state: WritableDraft<ITabsState>, action: {
|
|
30254
|
+
payload: any;
|
|
30255
|
+
type: string;
|
|
30256
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30257
|
+
readonly removeAttributeFilterConfig: TabsReducer< {
|
|
30258
|
+
payload: string;
|
|
30259
|
+
type: string;
|
|
30260
|
+
}>;
|
|
30261
|
+
readonly changeDisplayAsLabel: (state: WritableDraft<ITabsState>, action: {
|
|
30262
|
+
payload: ISetDashboardAttributeFilterConfigDisplayAsLabelPayload;
|
|
30263
|
+
type: string;
|
|
30264
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30265
|
+
readonly setDateFilterConfig: (state: WritableDraft<ITabsState>, action: {
|
|
30266
|
+
payload: {
|
|
30267
|
+
dateFilterConfig?: IDashboardDateFilterConfig_2 | undefined;
|
|
30268
|
+
effectiveDateFilterConfig: IDateFilterConfig;
|
|
30269
|
+
isUsingDashboardOverrides: boolean;
|
|
30270
|
+
};
|
|
30271
|
+
type: string;
|
|
30272
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30273
|
+
readonly setDateFilterConfigMode: (state: WritableDraft<ITabsState>, action: {
|
|
30274
|
+
payload: DashboardDateFilterConfigMode;
|
|
30275
|
+
type: string;
|
|
30276
|
+
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
30277
|
+
readonly setDateFilterConfigTitle: (state: WritableDraft<ITabsState>, action: {
|
|
30278
|
+
payload: string | undefined;
|
|
28316
30279
|
type: string;
|
|
28317
30280
|
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28318
|
-
readonly
|
|
28319
|
-
payload:
|
|
30281
|
+
readonly updateDateFilterConfig: (state: WritableDraft<ITabsState>, action: {
|
|
30282
|
+
payload: IDashboardDateFilterConfig_2;
|
|
28320
30283
|
type: string;
|
|
28321
30284
|
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28322
|
-
readonly
|
|
28323
|
-
payload:
|
|
30285
|
+
readonly addDateFilterConfigValidationWarning: (state: WritableDraft<ITabsState>, action: {
|
|
30286
|
+
payload: DateFilterValidationResult;
|
|
28324
30287
|
type: string;
|
|
28325
30288
|
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28326
|
-
readonly
|
|
30289
|
+
readonly clearDateFilterConfigValidationWarning: (state: WritableDraft<ITabsState>, action: {
|
|
28327
30290
|
payload: void;
|
|
28328
30291
|
type: string;
|
|
28329
30292
|
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28330
|
-
readonly
|
|
28331
|
-
payload:
|
|
30293
|
+
readonly changeDateFilterConfigsMode: (state: WritableDraft<ITabsState>, action: {
|
|
30294
|
+
payload: ISetDashboardDateFilterWithDimensionConfigModePayload;
|
|
28332
30295
|
type: string;
|
|
28333
30296
|
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28334
|
-
readonly
|
|
28335
|
-
payload:
|
|
30297
|
+
readonly setDateFilterConfigs: (state: WritableDraft<ITabsState>, action: {
|
|
30298
|
+
payload: any;
|
|
28336
30299
|
type: string;
|
|
28337
30300
|
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28338
|
-
readonly
|
|
28339
|
-
payload:
|
|
28340
|
-
readonly localIdentifier: string;
|
|
28341
|
-
readonly dimensionality?: ObjRef[] | undefined;
|
|
28342
|
-
};
|
|
30301
|
+
readonly removeDateFilterConfigs: (state: WritableDraft<ITabsState>, action: {
|
|
30302
|
+
payload: ObjRef;
|
|
28343
30303
|
type: string;
|
|
28344
30304
|
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28345
|
-
readonly
|
|
28346
|
-
payload:
|
|
28347
|
-
readonly filterLocalId: string;
|
|
28348
|
-
readonly title?: string | undefined;
|
|
28349
|
-
};
|
|
30305
|
+
readonly changeDateFilterConfigsTitle: (state: WritableDraft<ITabsState>, action: {
|
|
30306
|
+
payload: ISetDateFilterConfigTitlePayload;
|
|
28350
30307
|
type: string;
|
|
28351
30308
|
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28352
30309
|
readonly setLayout: (state: WritableDraft<ITabsState>, action: {
|
|
@@ -28671,22 +30628,6 @@ readonly removeMeasureValueFilterConfig: (state: WritableDraft<ITabsState>, acti
|
|
|
28671
30628
|
payload: string;
|
|
28672
30629
|
type: string;
|
|
28673
30630
|
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28674
|
-
readonly addParameter: (state: WritableDraft<ITabsState>, action: {
|
|
28675
|
-
payload: IAddParameterPayload;
|
|
28676
|
-
type: string;
|
|
28677
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28678
|
-
readonly setParameterRuntimeValue: (state: WritableDraft<ITabsState>, action: {
|
|
28679
|
-
payload: ISetParameterRuntimeValuePayload;
|
|
28680
|
-
type: string;
|
|
28681
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28682
|
-
readonly setParameterRuntimeValues: (state: WritableDraft<ITabsState>, action: {
|
|
28683
|
-
payload: ISetParameterRuntimeValuesPayload;
|
|
28684
|
-
type: string;
|
|
28685
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28686
|
-
readonly removeParameter: (state: WritableDraft<ITabsState>, action: {
|
|
28687
|
-
payload: IRemoveParameterPayload;
|
|
28688
|
-
type: string;
|
|
28689
|
-
}) => void | ITabsState | WritableDraft<ITabsState>;
|
|
28690
30631
|
}, "tabs">;
|
|
28691
30632
|
|
|
28692
30633
|
/**
|
|
@@ -28996,6 +30937,105 @@ export declare function unignoreFilterOnRichTextWidget(ref: ObjRef, oneOrMoreDis
|
|
|
28996
30937
|
*/
|
|
28997
30938
|
export declare function updateVisualizationsFromSwitcherWidgetContent(ref: ObjRef, visualizations: IInsightWidget[], correlationId?: string): IUpdateVisualizationsFromVisualizationSwitcherWidgetContent;
|
|
28998
30939
|
|
|
30940
|
+
/**
|
|
30941
|
+
* Reads the alerting dialog's mutators.
|
|
30942
|
+
*
|
|
30943
|
+
* Throws outside the alerting dialog's state providers, which mount only once
|
|
30944
|
+
* `useAlertingDialogContext().isLoading` is false — a replacement for `AlertingDialogComponent`
|
|
30945
|
+
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
30946
|
+
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
30947
|
+
*
|
|
30948
|
+
* @alpha
|
|
30949
|
+
*/
|
|
30950
|
+
export declare function useAlertActions(): IAlertActionsContextValue;
|
|
30951
|
+
|
|
30952
|
+
/**
|
|
30953
|
+
* Reads the data the alerting dialog loads asynchronously.
|
|
30954
|
+
*
|
|
30955
|
+
* Throws outside the alerting dialog's state providers, which mount only once
|
|
30956
|
+
* `useAlertingDialogContext().isLoading` is false — a replacement for `AlertingDialogComponent`
|
|
30957
|
+
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
30958
|
+
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
30959
|
+
*
|
|
30960
|
+
* @alpha
|
|
30961
|
+
*/
|
|
30962
|
+
export declare function useAlertData(): IAlertDataContextValue;
|
|
30963
|
+
|
|
30964
|
+
/**
|
|
30965
|
+
* Reads the alerting dialog's validity: whether submit is enabled, the validation message to show,
|
|
30966
|
+
* whether the parent widget is still valid, whether the measure may be changed, and whether the
|
|
30967
|
+
* saved alert points at a widget whose insight is gone.
|
|
30968
|
+
*
|
|
30969
|
+
* @alpha
|
|
30970
|
+
*/
|
|
30971
|
+
export declare function useAlertDialogValidity(): IAlertDialogValidity;
|
|
30972
|
+
|
|
30973
|
+
/**
|
|
30974
|
+
* Reads the alerting dialog's edit draft.
|
|
30975
|
+
*
|
|
30976
|
+
* Throws outside the alerting dialog's state providers, which mount only once
|
|
30977
|
+
* `useAlertingDialogContext().isLoading` is false — a replacement for `AlertingDialogComponent`
|
|
30978
|
+
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
30979
|
+
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
30980
|
+
*
|
|
30981
|
+
* @alpha
|
|
30982
|
+
*/
|
|
30983
|
+
export declare function useAlertDraft(): IAlertDraftContextValue;
|
|
30984
|
+
|
|
30985
|
+
/**
|
|
30986
|
+
* Reads the alerting dialog's filter and export-parameter model.
|
|
30987
|
+
*
|
|
30988
|
+
* Throws outside the alerting dialog's state providers, which mount only once
|
|
30989
|
+
* `useAlertingDialogContext().isLoading` is false — a replacement for `AlertingDialogComponent`
|
|
30990
|
+
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
30991
|
+
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
30992
|
+
*
|
|
30993
|
+
* @alpha
|
|
30994
|
+
*/
|
|
30995
|
+
export declare function useAlertFilters(): IAlertFiltersContextValue;
|
|
30996
|
+
|
|
30997
|
+
/**
|
|
30998
|
+
* The exact props the default alerting dialog renders its action bar with.
|
|
30999
|
+
*
|
|
31000
|
+
* Throws outside the alerting dialog's state providers.
|
|
31001
|
+
*
|
|
31002
|
+
* @alpha
|
|
31003
|
+
*/
|
|
31004
|
+
export declare function useAlertingDialogActionBarProps({ onCancel, onSubmit, isSaving, onDelete }: IUseAlertingDialogActionBarPropsInput): IAutomationDialogActionBarProps;
|
|
31005
|
+
|
|
31006
|
+
/**
|
|
31007
|
+
* The exact props the default alerting dialog renders its attribute field with.
|
|
31008
|
+
*
|
|
31009
|
+
* Throws outside the alerting dialog's state providers.
|
|
31010
|
+
*
|
|
31011
|
+
* @alpha
|
|
31012
|
+
*/
|
|
31013
|
+
export declare function useAlertingDialogAttributeProps(): IAlertingDialogAttributeProps;
|
|
31014
|
+
|
|
31015
|
+
/**
|
|
31016
|
+
* The exact props the default alerting dialog renders its comparison-operator field with.
|
|
31017
|
+
*
|
|
31018
|
+
* `enableAnomalyDetectionAlert` is the conjunction of the `enableAnomalyDetectionAlert` and
|
|
31019
|
+
* `canUseAiAssistant` features.
|
|
31020
|
+
*
|
|
31021
|
+
* Throws outside the alerting dialog's state providers.
|
|
31022
|
+
*
|
|
31023
|
+
* @alpha
|
|
31024
|
+
*/
|
|
31025
|
+
export declare function useAlertingDialogComparisonOperatorProps(): IAlertingDialogComparisonOperatorProps;
|
|
31026
|
+
|
|
31027
|
+
/**
|
|
31028
|
+
* The exact props the default alerting dialog renders its comparison-period field with.
|
|
31029
|
+
*
|
|
31030
|
+
* `onComparisonChange` closes over the selected measure (and relative operator), so it takes only
|
|
31031
|
+
* the field's value.
|
|
31032
|
+
*
|
|
31033
|
+
* Throws outside the alerting dialog's state providers.
|
|
31034
|
+
*
|
|
31035
|
+
* @alpha
|
|
31036
|
+
*/
|
|
31037
|
+
export declare function useAlertingDialogComparisonPeriodProps(): IAlertingDialogComparisonPeriodProps;
|
|
31038
|
+
|
|
28999
31039
|
/**
|
|
29000
31040
|
* Reads the alerting create/edit dialog context.
|
|
29001
31041
|
*
|
|
@@ -29010,6 +31050,103 @@ export declare function updateVisualizationsFromSwitcherWidgetContent(ref: ObjRe
|
|
|
29010
31050
|
*/
|
|
29011
31051
|
export declare function useAlertingDialogContext(): IAlertingDialogContextValue;
|
|
29012
31052
|
|
|
31053
|
+
/**
|
|
31054
|
+
* The exact props the default alerting dialog renders its destination region with.
|
|
31055
|
+
*
|
|
31056
|
+
* Throws outside the alerting dialog's state providers.
|
|
31057
|
+
*
|
|
31058
|
+
* @alpha
|
|
31059
|
+
*/
|
|
31060
|
+
export declare function useAlertingDialogDestinationProps(): IAutomationDialogDestinationProps;
|
|
31061
|
+
|
|
31062
|
+
/**
|
|
31063
|
+
* The exact props the default alerting dialog renders its filters region with.
|
|
31064
|
+
*
|
|
31065
|
+
* Throws outside the alerting dialog's state providers.
|
|
31066
|
+
*
|
|
31067
|
+
* @alpha
|
|
31068
|
+
*/
|
|
31069
|
+
export declare function useAlertingDialogFiltersProps(): IAlertingDialogFiltersProps;
|
|
31070
|
+
|
|
31071
|
+
/**
|
|
31072
|
+
* The exact props the default alerting dialog renders its granularity field with.
|
|
31073
|
+
*
|
|
31074
|
+
* `onGranularityChange` closes over the selected measure (and relative operator), so it takes only
|
|
31075
|
+
* the field's value.
|
|
31076
|
+
*
|
|
31077
|
+
* Throws outside the alerting dialog's state providers.
|
|
31078
|
+
*
|
|
31079
|
+
* @alpha
|
|
31080
|
+
*/
|
|
31081
|
+
export declare function useAlertingDialogGranularityProps(): IAlertingDialogGranularityProps;
|
|
31082
|
+
|
|
31083
|
+
/**
|
|
31084
|
+
* The exact props the default alerting dialog renders its header region with.
|
|
31085
|
+
*
|
|
31086
|
+
* Throws outside the alerting dialog's state providers.
|
|
31087
|
+
*
|
|
31088
|
+
* @alpha
|
|
31089
|
+
*/
|
|
31090
|
+
export declare function useAlertingDialogHeaderProps({ onCancel, ref }: IUseAlertingDialogHeaderPropsInput): AlertingDialogHeaderDefaultProps;
|
|
31091
|
+
|
|
31092
|
+
/**
|
|
31093
|
+
* The exact props the default alerting dialog renders its measure field with.
|
|
31094
|
+
*
|
|
31095
|
+
* Throws outside the alerting dialog's state providers.
|
|
31096
|
+
*
|
|
31097
|
+
* @alpha
|
|
31098
|
+
*/
|
|
31099
|
+
export declare function useAlertingDialogMeasureProps(): IAlertingDialogMeasureProps;
|
|
31100
|
+
|
|
31101
|
+
/**
|
|
31102
|
+
* The exact props the default alerting dialog renders its recipients region with.
|
|
31103
|
+
*
|
|
31104
|
+
* Throws outside the alerting dialog's state providers.
|
|
31105
|
+
*
|
|
31106
|
+
* @alpha
|
|
31107
|
+
*/
|
|
31108
|
+
export declare function useAlertingDialogRecipientsProps(): IAutomationDialogRecipientsProps;
|
|
31109
|
+
|
|
31110
|
+
/**
|
|
31111
|
+
* The exact props the default alerting dialog renders its sensitivity field with.
|
|
31112
|
+
*
|
|
31113
|
+
* Throws outside the alerting dialog's state providers.
|
|
31114
|
+
*
|
|
31115
|
+
* @alpha
|
|
31116
|
+
*/
|
|
31117
|
+
export declare function useAlertingDialogSensitivityProps(): IAlertingDialogSensitivityProps;
|
|
31118
|
+
|
|
31119
|
+
/**
|
|
31120
|
+
* The exact props the default alerting dialog renders its threshold field with.
|
|
31121
|
+
*
|
|
31122
|
+
* Owns the field's state: its effect auto-computes the threshold of a new alert from the measure's
|
|
31123
|
+
* current value and clears it for a relative operator, writing the draft. **Call it once per
|
|
31124
|
+
* dialog** — through {@link AlertingDialogThreshold}, which is that mount in the default dialog and
|
|
31125
|
+
* in a shell of blocks, or directly, never both. Throws outside the alerting dialog's state
|
|
31126
|
+
* providers.
|
|
31127
|
+
*
|
|
31128
|
+
* @alpha
|
|
31129
|
+
*/
|
|
31130
|
+
export declare function useAlertingDialogThresholdProps(): IAlertingDialogThresholdProps;
|
|
31131
|
+
|
|
31132
|
+
/**
|
|
31133
|
+
* The exact props the default alerting dialog renders its trigger-interval field with.
|
|
31134
|
+
*
|
|
31135
|
+
* Throws outside the alerting dialog's state providers.
|
|
31136
|
+
*
|
|
31137
|
+
* @alpha
|
|
31138
|
+
*/
|
|
31139
|
+
export declare function useAlertingDialogTriggerIntervalProps(): IAlertingDialogTriggerIntervalProps;
|
|
31140
|
+
|
|
31141
|
+
/**
|
|
31142
|
+
* The exact props the default alerting dialog renders its trigger-mode field with.
|
|
31143
|
+
*
|
|
31144
|
+
* Throws outside the alerting dialog's state providers.
|
|
31145
|
+
*
|
|
31146
|
+
* @alpha
|
|
31147
|
+
*/
|
|
31148
|
+
export declare function useAlertingDialogTriggerModeProps(): IAlertingDialogTriggerModeProps;
|
|
31149
|
+
|
|
29013
31150
|
/**
|
|
29014
31151
|
* Reads the alerting management dialog context.
|
|
29015
31152
|
*
|
|
@@ -29024,6 +31161,29 @@ export declare function useAlertingDialogContext(): IAlertingDialogContextValue;
|
|
|
29024
31161
|
*/
|
|
29025
31162
|
export declare function useAlertingManagementDialogContext(): IAlertingManagementDialogContextValue;
|
|
29026
31163
|
|
|
31164
|
+
/**
|
|
31165
|
+
* Reads the currently-selected form values for the alerting dialog.
|
|
31166
|
+
*
|
|
31167
|
+
* Derived per consumer rather than published on a context: the returned objects flow into
|
|
31168
|
+
* `useCallback` dependency arrays and `useAlertThreshold` arguments, so recomputing them every
|
|
31169
|
+
* render is what keeps those consumers behaving correctly.
|
|
31170
|
+
*
|
|
31171
|
+
* @alpha
|
|
31172
|
+
*/
|
|
31173
|
+
export declare function useAlertSelectedValues(): IAlertSelectedValues;
|
|
31174
|
+
|
|
31175
|
+
/**
|
|
31176
|
+
* Submits the alerting dialog's draft: creates a new alert or saves the edited one, deriving a title
|
|
31177
|
+
* when the draft has none, and routes the result to the matching callback. Guards against a second
|
|
31178
|
+
* submit while one is in flight.
|
|
31179
|
+
*
|
|
31180
|
+
* Reads the draft, the supported measures, the edited alert and the separators from the alerting
|
|
31181
|
+
* contexts, so it throws outside the alerting dialog's state providers.
|
|
31182
|
+
*
|
|
31183
|
+
* @alpha
|
|
31184
|
+
*/
|
|
31185
|
+
export declare function useAlertSubmit({ onSuccess, onError, onSaveSuccess, onSaveError }: IUseAlertSubmitCallbacks): IAlertSubmitState;
|
|
31186
|
+
|
|
29027
31187
|
/**
|
|
29028
31188
|
* Reads the automation dialogs' shared context.
|
|
29029
31189
|
*
|
|
@@ -30006,6 +32166,26 @@ export declare function useSaveAsNewButtonProps(): ISaveAsNewButtonProps;
|
|
|
30006
32166
|
*/
|
|
30007
32167
|
export declare function useSaveButtonProps(): ISaveButtonProps;
|
|
30008
32168
|
|
|
32169
|
+
/**
|
|
32170
|
+
* Saves the scheduled-export dialog's draft: creates a new schedule or updates the edited one after
|
|
32171
|
+
* sanitizing it, keeps a 400 response's detail as an in-dialog error message, and routes everything
|
|
32172
|
+
* else to the matching callback.
|
|
32173
|
+
*
|
|
32174
|
+
* Reads the draft from the scheduled-export state contexts, so it throws outside them.
|
|
32175
|
+
*
|
|
32176
|
+
* @alpha
|
|
32177
|
+
*/
|
|
32178
|
+
export declare function useSaveScheduledEmailToBackend({ onSuccess, onError, onSubmit, onSaveSuccess, onSaveError, onSave }: IUseSaveScheduledEmailCallbacks): IScheduledEmailSaveState;
|
|
32179
|
+
|
|
32180
|
+
/**
|
|
32181
|
+
* The exact props the default scheduled-email dialog renders its action bar with.
|
|
32182
|
+
*
|
|
32183
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32184
|
+
*
|
|
32185
|
+
* @alpha
|
|
32186
|
+
*/
|
|
32187
|
+
export declare function useScheduledEmailDialogActionBarProps({ onCancel, onSubmit, isSaving, onDelete }: IUseScheduledEmailDialogActionBarPropsInput): IAutomationDialogActionBarProps;
|
|
32188
|
+
|
|
30009
32189
|
/**
|
|
30010
32190
|
* Reads the scheduled-email create/edit dialog context.
|
|
30011
32191
|
*
|
|
@@ -30020,6 +32200,51 @@ export declare function useSaveButtonProps(): ISaveButtonProps;
|
|
|
30020
32200
|
*/
|
|
30021
32201
|
export declare function useScheduledEmailDialogContext(): IScheduledEmailDialogContextValue;
|
|
30022
32202
|
|
|
32203
|
+
/**
|
|
32204
|
+
* The exact props the default scheduled-email dialog renders its destination region with.
|
|
32205
|
+
*
|
|
32206
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32207
|
+
*
|
|
32208
|
+
* @alpha
|
|
32209
|
+
*/
|
|
32210
|
+
export declare function useScheduledEmailDialogDestinationProps(): IAutomationDialogDestinationProps;
|
|
32211
|
+
|
|
32212
|
+
/**
|
|
32213
|
+
* The exact props the default scheduled-email dialog renders its filters region with.
|
|
32214
|
+
*
|
|
32215
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32216
|
+
*
|
|
32217
|
+
* @alpha
|
|
32218
|
+
*/
|
|
32219
|
+
export declare function useScheduledEmailDialogFiltersProps(): IScheduledEmailDialogFiltersProps;
|
|
32220
|
+
|
|
32221
|
+
/**
|
|
32222
|
+
* The exact props the default scheduled-email dialog renders its header region with.
|
|
32223
|
+
*
|
|
32224
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32225
|
+
*
|
|
32226
|
+
* @alpha
|
|
32227
|
+
*/
|
|
32228
|
+
export declare function useScheduledEmailDialogHeaderProps({ onBack, onTitleKeyDown, ref }: IUseScheduledEmailDialogHeaderPropsInput): ScheduledEmailDialogHeaderDefaultProps;
|
|
32229
|
+
|
|
32230
|
+
/**
|
|
32231
|
+
* The exact props the default scheduled-email dialog renders its recipients region with.
|
|
32232
|
+
*
|
|
32233
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32234
|
+
*
|
|
32235
|
+
* @alpha
|
|
32236
|
+
*/
|
|
32237
|
+
export declare function useScheduledEmailDialogRecipientsProps({ onKeyDownSubmit }: IUseScheduledEmailDialogRecipientsPropsInput): IScheduledEmailDialogRecipientsProps;
|
|
32238
|
+
|
|
32239
|
+
/**
|
|
32240
|
+
* The exact props the default scheduled-email dialog renders its "Time zone" section with.
|
|
32241
|
+
*
|
|
32242
|
+
* Throws outside the scheduled-export dialog's state providers.
|
|
32243
|
+
*
|
|
32244
|
+
* @alpha
|
|
32245
|
+
*/
|
|
32246
|
+
export declare function useScheduledEmailDialogTimezoneProps(): ScheduledEmailDialogTimezoneDefaultProps;
|
|
32247
|
+
|
|
30023
32248
|
/**
|
|
30024
32249
|
* Reads the scheduled-email management dialog context.
|
|
30025
32250
|
*
|
|
@@ -30034,6 +32259,80 @@ export declare function useScheduledEmailDialogContext(): IScheduledEmailDialogC
|
|
|
30034
32259
|
*/
|
|
30035
32260
|
export declare function useScheduledEmailManagementDialogContext(): IScheduledEmailManagementDialogContextValue;
|
|
30036
32261
|
|
|
32262
|
+
/**
|
|
32263
|
+
* Reads the scheduled-export dialog's draft mutators.
|
|
32264
|
+
*
|
|
32265
|
+
* Throws outside the scheduled-export dialog's state providers, which mount only once
|
|
32266
|
+
* `useScheduledEmailDialogContext().isLoading` is false — a replacement for
|
|
32267
|
+
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
32268
|
+
* ordinary path here: a widget export renders while its filters load.
|
|
32269
|
+
*
|
|
32270
|
+
* @alpha
|
|
32271
|
+
*/
|
|
32272
|
+
export declare function useScheduledExportActions(): IScheduledExportActionsContextValue;
|
|
32273
|
+
|
|
32274
|
+
/**
|
|
32275
|
+
* Reads what the scheduled-export dialog's attachment section displays: the selected formats, which
|
|
32276
|
+
* export kinds are present, the per-format settings with their fallbacks, and the slides template
|
|
32277
|
+
* chosen per format.
|
|
32278
|
+
*
|
|
32279
|
+
* Derived per consumer rather than published on a context: every value is a pure function of the
|
|
32280
|
+
* draft and of workspace settings, and no consumer observes their identity. The handlers that
|
|
32281
|
+
* *change* attachments are on {@link useScheduledExportActions}, because they capture the stored
|
|
32282
|
+
* export-parameter wire, which must exist once per dialog.
|
|
32283
|
+
*
|
|
32284
|
+
* @alpha
|
|
32285
|
+
*/
|
|
32286
|
+
export declare function useScheduledExportAttachments(): IScheduledExportAttachments;
|
|
32287
|
+
|
|
32288
|
+
/**
|
|
32289
|
+
* Reads the scheduled-export dialog's recipient defaults.
|
|
32290
|
+
*
|
|
32291
|
+
* Throws outside the scheduled-export dialog's state providers, which mount only once
|
|
32292
|
+
* `useScheduledEmailDialogContext().isLoading` is false — a replacement for
|
|
32293
|
+
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
32294
|
+
* ordinary path here: a widget export renders while its filters load.
|
|
32295
|
+
*
|
|
32296
|
+
* @alpha
|
|
32297
|
+
*/
|
|
32298
|
+
export declare function useScheduledExportData(): IScheduledExportDataContextValue;
|
|
32299
|
+
|
|
32300
|
+
/**
|
|
32301
|
+
* Reads the scheduled-export dialog's validity: whether submit is enabled, the validation message to
|
|
32302
|
+
* show, whether the schedule's source widget still exists, and which recipient kinds the selected
|
|
32303
|
+
* notification channel permits.
|
|
32304
|
+
*
|
|
32305
|
+
* Derived per consumer rather than published on a context: it is a pure function of the draft, the
|
|
32306
|
+
* recipient defaults and the dialog's own context, and no consumer observes its identity.
|
|
32307
|
+
*
|
|
32308
|
+
* @alpha
|
|
32309
|
+
*/
|
|
32310
|
+
export declare function useScheduledExportDialogValidity(): IScheduledExportDialogValidity;
|
|
32311
|
+
|
|
32312
|
+
/**
|
|
32313
|
+
* Reads the scheduled-export dialog's edit draft.
|
|
32314
|
+
*
|
|
32315
|
+
* Throws outside the scheduled-export dialog's state providers, which mount only once
|
|
32316
|
+
* `useScheduledEmailDialogContext().isLoading` is false — a replacement for
|
|
32317
|
+
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
32318
|
+
* ordinary path here: a widget export renders while its filters load.
|
|
32319
|
+
*
|
|
32320
|
+
* @alpha
|
|
32321
|
+
*/
|
|
32322
|
+
export declare function useScheduledExportDraft(): IScheduledExportDraftContextValue;
|
|
32323
|
+
|
|
32324
|
+
/**
|
|
32325
|
+
* Reads the scheduled-export dialog's filter and export-parameter model.
|
|
32326
|
+
*
|
|
32327
|
+
* Throws outside the scheduled-export dialog's state providers, which mount only once
|
|
32328
|
+
* `useScheduledEmailDialogContext().isLoading` is false — a replacement for
|
|
32329
|
+
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
32330
|
+
* ordinary path here: a widget export renders while its filters load.
|
|
32331
|
+
*
|
|
32332
|
+
* @alpha
|
|
32333
|
+
*/
|
|
32334
|
+
export declare function useScheduledExportFilters(): IScheduledExportFiltersContextValue;
|
|
32335
|
+
|
|
30037
32336
|
/**
|
|
30038
32337
|
* @alpha
|
|
30039
32338
|
*/
|