@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
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FormattedMessage } from "react-intl";
|
|
3
|
+
import { AutomationDialogFormField } from "../../shared/slots/AutomationDialogFormField.js";
|
|
4
|
+
import { DefaultAlertingDialogSensitivity } from "../DefaultAlertingDialog/DefaultAlertingDialogSensitivity.js";
|
|
5
|
+
import { useAlertDraft } from "../state/AlertDraftContext.js";
|
|
6
|
+
import { useAlertingDialogSensitivityProps } from "../state/useAlertingDialogFieldProps.js";
|
|
7
|
+
import { isAnomalyDetection } from "../utils/guards.js";
|
|
8
|
+
import { WhenAlertingDialogLoaded } from "./WhenAlertingDialogLoaded.js";
|
|
9
|
+
/**
|
|
10
|
+
* The alerting dialog's sensitivity field (the "Sensitivity" of anomaly detection), connected to
|
|
11
|
+
* the dialog's state and rendered as a labelled form row.
|
|
12
|
+
*
|
|
13
|
+
* Renders {@link DefaultAlertingDialogSensitivity} inside {@link AutomationDialogFormField} with
|
|
14
|
+
* the props of {@link useAlertingDialogSensitivityProps}; every prop passed here replaces the
|
|
15
|
+
* hook's value for that prop wholesale. Renders nothing unless the draft uses anomaly detection,
|
|
16
|
+
* and nothing while `useAlertingDialogContext().isLoading` is true.
|
|
17
|
+
*
|
|
18
|
+
* @alpha
|
|
19
|
+
*/
|
|
20
|
+
export function AlertingDialogSensitivity(overrides) {
|
|
21
|
+
return (_jsx(WhenAlertingDialogLoaded, { children: _jsx(ConnectedAlertingDialogSensitivity, { ...overrides }) }));
|
|
22
|
+
}
|
|
23
|
+
function ConnectedAlertingDialogSensitivity(overrides) {
|
|
24
|
+
const props = { ...useAlertingDialogSensitivityProps(), ...overrides };
|
|
25
|
+
const { editedAutomation } = useAlertDraft();
|
|
26
|
+
if (!isAnomalyDetection(editedAutomation?.alert)) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return (_jsx(AutomationDialogFormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.sensitivity" }), htmlFor: props.id, children: _jsx(DefaultAlertingDialogSensitivity, { ...props }) }));
|
|
30
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogThresholdProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* The alerting dialog's threshold field (the value a fixed-threshold, change or difference
|
|
5
|
+
* condition is compared against), connected to the dialog's state and rendered as a labelled form
|
|
6
|
+
* row.
|
|
7
|
+
*
|
|
8
|
+
* Renders {@link DefaultAlertingDialogThreshold} inside {@link AutomationDialogFormField} with the
|
|
9
|
+
* props of {@link useAlertingDialogThresholdProps}; every prop passed here replaces the hook's
|
|
10
|
+
* value for that prop wholesale. **The one `useAlertThreshold` mount**:
|
|
11
|
+
* {@link useAlertingDialogThresholdProps} owns the field's state and writes the draft
|
|
12
|
+
* (auto-computing a new alert's threshold), so place this block once per dialog and do not also
|
|
13
|
+
* call the hook. Renders nothing while the draft uses anomaly detection (that condition has no
|
|
14
|
+
* threshold); the hook stays mounted behind the gate, so the field's touched state survives a
|
|
15
|
+
* switch to anomaly detection and back. Renders nothing while
|
|
16
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
17
|
+
*
|
|
18
|
+
* @alpha
|
|
19
|
+
*/
|
|
20
|
+
export declare function AlertingDialogThreshold(overrides: Partial<IAlertingDialogThresholdProps>): ReactElement;
|
|
21
|
+
//# sourceMappingURL=AlertingDialogThreshold.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertingDialogThreshold.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogThreshold.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAQ1C,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAKjE;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,YAAY,CAMvG"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FormattedMessage } from "react-intl";
|
|
3
|
+
import { AutomationDialogFormField } from "../../shared/slots/AutomationDialogFormField.js";
|
|
4
|
+
import { DefaultAlertingDialogThreshold } from "../DefaultAlertingDialog/DefaultAlertingDialogThreshold.js";
|
|
5
|
+
import { useAlertDraft } from "../state/AlertDraftContext.js";
|
|
6
|
+
import { useAlertingDialogThresholdProps } from "../state/useAlertingDialogFieldProps.js";
|
|
7
|
+
import { isAnomalyDetection } from "../utils/guards.js";
|
|
8
|
+
import { WhenAlertingDialogLoaded } from "./WhenAlertingDialogLoaded.js";
|
|
9
|
+
/**
|
|
10
|
+
* The alerting dialog's threshold field (the value a fixed-threshold, change or difference
|
|
11
|
+
* condition is compared against), connected to the dialog's state and rendered as a labelled form
|
|
12
|
+
* row.
|
|
13
|
+
*
|
|
14
|
+
* Renders {@link DefaultAlertingDialogThreshold} inside {@link AutomationDialogFormField} with the
|
|
15
|
+
* props of {@link useAlertingDialogThresholdProps}; every prop passed here replaces the hook's
|
|
16
|
+
* value for that prop wholesale. **The one `useAlertThreshold` mount**:
|
|
17
|
+
* {@link useAlertingDialogThresholdProps} owns the field's state and writes the draft
|
|
18
|
+
* (auto-computing a new alert's threshold), so place this block once per dialog and do not also
|
|
19
|
+
* call the hook. Renders nothing while the draft uses anomaly detection (that condition has no
|
|
20
|
+
* threshold); the hook stays mounted behind the gate, so the field's touched state survives a
|
|
21
|
+
* switch to anomaly detection and back. Renders nothing while
|
|
22
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
23
|
+
*
|
|
24
|
+
* @alpha
|
|
25
|
+
*/
|
|
26
|
+
export function AlertingDialogThreshold(overrides) {
|
|
27
|
+
return (_jsx(WhenAlertingDialogLoaded, { children: _jsx(ConnectedAlertingDialogThreshold, { ...overrides }) }));
|
|
28
|
+
}
|
|
29
|
+
function ConnectedAlertingDialogThreshold(overrides) {
|
|
30
|
+
const props = { ...useAlertingDialogThresholdProps(), ...overrides };
|
|
31
|
+
const { editedAutomation } = useAlertDraft();
|
|
32
|
+
if (isAnomalyDetection(editedAutomation?.alert)) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return (_jsx(AutomationDialogFormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.threshold" }), htmlFor: props.id, children: _jsx(DefaultAlertingDialogThreshold, { ...props }) }));
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogTriggerIntervalProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* The alerting dialog's trigger-interval field (the interval a once-per-interval trigger notifies
|
|
5
|
+
* on), connected to the dialog's state and rendered as a labelled form row.
|
|
6
|
+
*
|
|
7
|
+
* Renders {@link DefaultAlertingDialogTriggerInterval} inside {@link AutomationDialogFormField}
|
|
8
|
+
* with the props of {@link useAlertingDialogTriggerIntervalProps}; every prop passed here replaces
|
|
9
|
+
* the hook's value for that prop wholesale. Renders nothing unless the draft's trigger mode is
|
|
10
|
+
* `ONCE_PER_INTERVAL`, and nothing while `useAlertingDialogContext().isLoading` is true.
|
|
11
|
+
*
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
14
|
+
export declare function AlertingDialogTriggerInterval(overrides: Partial<IAlertingDialogTriggerIntervalProps>): ReactElement;
|
|
15
|
+
//# sourceMappingURL=AlertingDialogTriggerInterval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertingDialogTriggerInterval.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAQ1C,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,aAAa,CAAC;AAQvE;;;;;;;;;;GAUG;AACH,wBAAgB,6BAA6B,CACzC,SAAS,EAAE,OAAO,CAAC,mCAAmC,CAAC,GACxD,YAAY,CAMd"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { defineMessage } from "react-intl";
|
|
3
|
+
import { AutomationDialogFormField } from "../../shared/slots/AutomationDialogFormField.js";
|
|
4
|
+
import { DefaultAlertingDialogTriggerInterval } from "../DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.js";
|
|
5
|
+
import { useAlertDraft } from "../state/AlertDraftContext.js";
|
|
6
|
+
import { useAlertingDialogTriggerIntervalProps } from "../state/useAlertingDialogFieldProps.js";
|
|
7
|
+
import { AlertingDialogFieldLabelWithTooltip } from "./AlertingDialogFieldLabelWithTooltip.js";
|
|
8
|
+
import { WhenAlertingDialogLoaded } from "./WhenAlertingDialogLoaded.js";
|
|
9
|
+
const INTERVAL_LABEL = defineMessage({ id: "insightAlert.config.interval" });
|
|
10
|
+
const INTERVAL_TOOLTIP = defineMessage({ id: "insightAlert.config.interval.tooltip" });
|
|
11
|
+
/**
|
|
12
|
+
* The alerting dialog's trigger-interval field (the interval a once-per-interval trigger notifies
|
|
13
|
+
* on), connected to the dialog's state and rendered as a labelled form row.
|
|
14
|
+
*
|
|
15
|
+
* Renders {@link DefaultAlertingDialogTriggerInterval} inside {@link AutomationDialogFormField}
|
|
16
|
+
* with the props of {@link useAlertingDialogTriggerIntervalProps}; every prop passed here replaces
|
|
17
|
+
* the hook's value for that prop wholesale. Renders nothing unless the draft's trigger mode is
|
|
18
|
+
* `ONCE_PER_INTERVAL`, and nothing while `useAlertingDialogContext().isLoading` is true.
|
|
19
|
+
*
|
|
20
|
+
* @alpha
|
|
21
|
+
*/
|
|
22
|
+
export function AlertingDialogTriggerInterval(overrides) {
|
|
23
|
+
return (_jsx(WhenAlertingDialogLoaded, { children: _jsx(ConnectedAlertingDialogTriggerInterval, { ...overrides }) }));
|
|
24
|
+
}
|
|
25
|
+
function ConnectedAlertingDialogTriggerInterval(overrides) {
|
|
26
|
+
const props = { ...useAlertingDialogTriggerIntervalProps(), ...overrides };
|
|
27
|
+
const { editedAutomation } = useAlertDraft();
|
|
28
|
+
if (editedAutomation?.alert?.trigger.mode !== "ONCE_PER_INTERVAL") {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return (_jsx(AutomationDialogFormField, { label: _jsx(AlertingDialogFieldLabelWithTooltip, { label: INTERVAL_LABEL, tooltip: INTERVAL_TOOLTIP }), htmlFor: props.id, children: _jsx(DefaultAlertingDialogTriggerInterval, { ...props }) }));
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogTriggerModeProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* The alerting dialog's trigger-mode field ("Trigger": how often a met condition notifies),
|
|
5
|
+
* connected to the dialog's state and rendered as a labelled form row.
|
|
6
|
+
*
|
|
7
|
+
* Renders {@link DefaultAlertingDialogTriggerMode} inside {@link AutomationDialogFormField} with
|
|
8
|
+
* the props of {@link useAlertingDialogTriggerModeProps}; every prop passed here replaces the
|
|
9
|
+
* hook's value for that prop wholesale. Renders nothing while
|
|
10
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
11
|
+
*
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
14
|
+
export declare function AlertingDialogTriggerMode(overrides: Partial<IAlertingDialogTriggerModeProps>): ReactElement;
|
|
15
|
+
//# sourceMappingURL=AlertingDialogTriggerMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertingDialogTriggerMode.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAO1C,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,aAAa,CAAC;AAInE;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,OAAO,CAAC,+BAA+B,CAAC,GAAG,YAAY,CAM3G"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FormattedMessage } from "react-intl";
|
|
3
|
+
import { AutomationDialogFormField } from "../../shared/slots/AutomationDialogFormField.js";
|
|
4
|
+
import { DefaultAlertingDialogTriggerMode } from "../DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.js";
|
|
5
|
+
import { useAlertingDialogTriggerModeProps } from "../state/useAlertingDialogFieldProps.js";
|
|
6
|
+
import { WhenAlertingDialogLoaded } from "./WhenAlertingDialogLoaded.js";
|
|
7
|
+
/**
|
|
8
|
+
* The alerting dialog's trigger-mode field ("Trigger": how often a met condition notifies),
|
|
9
|
+
* connected to the dialog's state and rendered as a labelled form row.
|
|
10
|
+
*
|
|
11
|
+
* Renders {@link DefaultAlertingDialogTriggerMode} inside {@link AutomationDialogFormField} with
|
|
12
|
+
* the props of {@link useAlertingDialogTriggerModeProps}; every prop passed here replaces the
|
|
13
|
+
* hook's value for that prop wholesale. Renders nothing while
|
|
14
|
+
* `useAlertingDialogContext().isLoading` is true.
|
|
15
|
+
*
|
|
16
|
+
* @alpha
|
|
17
|
+
*/
|
|
18
|
+
export function AlertingDialogTriggerMode(overrides) {
|
|
19
|
+
return (_jsx(WhenAlertingDialogLoaded, { children: _jsx(ConnectedAlertingDialogTriggerMode, { ...overrides }) }));
|
|
20
|
+
}
|
|
21
|
+
function ConnectedAlertingDialogTriggerMode(overrides) {
|
|
22
|
+
const props = { ...useAlertingDialogTriggerModeProps(), ...overrides };
|
|
23
|
+
return (_jsx(AutomationDialogFormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.trigger" }), htmlFor: props.id, children: _jsx(DefaultAlertingDialogTriggerMode, { ...props }) }));
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Renders its children only once the alerting dialog's data has loaded — the state accessors throw
|
|
4
|
+
* while `useAlertingDialogContext().isLoading` is true, because the state providers mount only then.
|
|
5
|
+
* Every connected alerting block goes through it.
|
|
6
|
+
*
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare function WhenAlertingDialogLoaded({ children }: {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
//# sourceMappingURL=WhenAlertingDialogLoaded.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WhenAlertingDialogLoaded.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,kDAG7E"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useAlertingDialogContext } from "../../contexts/AlertingDialogContext.js";
|
|
3
|
+
/**
|
|
4
|
+
* Renders its children only once the alerting dialog's data has loaded — the state accessors throw
|
|
5
|
+
* while `useAlertingDialogContext().isLoading` is true, because the state providers mount only then.
|
|
6
|
+
* Every connected alerting block goes through it.
|
|
7
|
+
*
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export function WhenAlertingDialogLoaded({ children }) {
|
|
11
|
+
const { isLoading } = useAlertingDialogContext();
|
|
12
|
+
return isLoading ? null : _jsx(_Fragment, { children: children });
|
|
13
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Dispatch, type SetStateAction } from "react";
|
|
2
2
|
import { type IAlertRelativeArithmeticOperator, type IAlertRelativeOperator, type IAttribute, type IAutomationMetadataObjectDefinition, type IMeasure } from "@gooddata/sdk-model";
|
|
3
|
-
import { type AlertAttribute, type AlertMetric } from "
|
|
3
|
+
import { type AlertAttribute, type AlertMetric } from "../types.js";
|
|
4
4
|
export interface IUseAlertThresholdProps {
|
|
5
5
|
setEditedAutomation: Dispatch<SetStateAction<IAutomationMetadataObjectDefinition | undefined>>;
|
|
6
6
|
editedAutomation: IAutomationMetadataObjectDefinition | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAlertThreshold.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/hooks/useAlertThreshold.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAe,MAAM,OAAO,CAAC;AAExE,OAAO,EACH,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EAEf,KAAK,mCAAmC,EACxC,KAAK,QAAQ,EAChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAKpE,MAAM,WAAW,uBAAuB;IACpC,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/F,gBAAgB,EAAE,mCAAmC,GAAG,SAAS,CAAC;IAClE,cAAc,EAAE,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,MAAM,GAAG,SAAS,CAAC;IACrG,UAAU,EAAE,OAAO,CAAC;IACpB,wBAAwB,EAAE,CAAC,sBAAsB,EAAE,gCAAgC,CAAC,GAAG,SAAS,CAAC;IACjG,eAAe,EAAE,WAAW,GAAG,SAAS,CAAC;IACzC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC5C;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,wBAAwB,EACxB,eAAe,EACf,iBAAiB,EACjB,aAAa,EAChB,EAAE,uBAAuB;;;;;EAgCzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAlertValidation.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/hooks/useAlertValidation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAK7G,MAAM,MAAM,qBAAqB,GAAG,eAAe,GAAG,eAAe,CAAC;AAEtE,wBAAgB,kBAAkB,CAC9B,KAAK,EAAE,yBAAyB,GAAG,SAAS,EAC5C,MAAM,EAAE,OAAO,GAAG,SAAS,EAC3B,OAAO,EAAE,QAAQ,GAAG,SAAS,EAC7B,mBAAmB,EAAE,mBAAmB,EAAE,EAC1C,UAAU,CAAC,EAAE,OAAO,GACrB;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,gBAAgB,EAAE,qBAAqB,GAAG,SAAS,CAAA;CAAE,CAc3E"}
|
|
@@ -4,11 +4,31 @@ type IExecutionResultEnvelope = {
|
|
|
4
4
|
isLoading?: boolean;
|
|
5
5
|
executionResult?: IExecutionResult;
|
|
6
6
|
};
|
|
7
|
+
/**
|
|
8
|
+
* One distinct value of an attribute in the widget's execution result, as offered by the alert's
|
|
9
|
+
* attribute-value picker.
|
|
10
|
+
*
|
|
11
|
+
* @alpha
|
|
12
|
+
*/
|
|
7
13
|
export type AttributeValue = {
|
|
14
|
+
/**
|
|
15
|
+
* Display title: the formatted element name when the result has one, the raw name otherwise.
|
|
16
|
+
*/
|
|
8
17
|
title: string;
|
|
18
|
+
/**
|
|
19
|
+
* The element URI; this is what the alert stores.
|
|
20
|
+
*/
|
|
9
21
|
value: string;
|
|
22
|
+
/**
|
|
23
|
+
* The raw element name.
|
|
24
|
+
*/
|
|
10
25
|
name: string;
|
|
11
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Reads the widget's execution result and exposes the attribute values and measure values in it.
|
|
29
|
+
*
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
12
32
|
export declare function useAttributeValuesFromExecResults(execResult: IExecutionResultEnvelope | undefined): {
|
|
13
33
|
isResultLoading: boolean;
|
|
14
34
|
getAttributeValues: (attr: IAttributeMetadataObject) => AttributeValue[];
|
package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAttributeValuesFromExecResults.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EACH,KAAK,UAAU,EAEf,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EAGhB,MAAM,qBAAqB,CAAC;AAG7B,KAAK,wBAAwB,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,eAAe,CAAC,EAAE,gBAAgB,CAAA;CAAE,CAAC;AAE5F;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,UAAU,EAAE,wBAAwB,GAAG,SAAS;;;;EAyEjG"}
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
import { useCallback, useEffect, useState } from "react";
|
|
3
3
|
import { areObjRefsEqual, isResultAttributeHeader, } from "@gooddata/sdk-model";
|
|
4
4
|
import { DataViewFacade } from "@gooddata/sdk-ui";
|
|
5
|
+
/**
|
|
6
|
+
* Reads the widget's execution result and exposes the attribute values and measure values in it.
|
|
7
|
+
*
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
5
10
|
export function useAttributeValuesFromExecResults(execResult) {
|
|
6
11
|
// Derive loading from the envelope's own isLoading flag, not from the
|
|
7
12
|
// presence of executionResult: an errored execution has no executionResult
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetSupportedMeasures.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/hooks/useGetSupportedMeasures.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetSupportedMeasures.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/hooks/useGetSupportedMeasures.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAIpD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,kDAYnC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useEffect, useMemo, useState } from "react";
|
|
3
3
|
import { fillMissingTitles } from "@gooddata/sdk-ui";
|
|
4
4
|
import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
|
|
5
|
-
import { getSupportedInsightMeasuresByInsight } from "../
|
|
5
|
+
import { getSupportedInsightMeasuresByInsight } from "../utils/items.js";
|
|
6
6
|
/**
|
|
7
7
|
* Hook that calculates supported alertable measures for an insight.
|
|
8
8
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ChangeEvent, type FocusEvent } from "react";
|
|
2
2
|
import { type IAlertRelativeArithmeticOperator, type IAlertRelativeOperator, type IAttribute, type IAutomationAlert, type IMeasure } from "@gooddata/sdk-model";
|
|
3
|
-
import { type AlertAttribute, type AlertMetric } from "
|
|
3
|
+
import { type AlertAttribute, type AlertMetric } from "../types.js";
|
|
4
4
|
export declare function useThresholdValue(changeValue: (value: number) => void, getMetricValue: (measure?: IMeasure, attr?: IAttribute, value?: string | null) => number | undefined, isNewAlert?: boolean, alert?: IAutomationAlert, selectedRelativeOperator?: [
|
|
5
5
|
IAlertRelativeOperator | undefined,
|
|
6
6
|
IAlertRelativeArithmeticOperator | undefined
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useThresholdValue.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/hooks/useThresholdValue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAoC,MAAM,OAAO,CAAC;AAI5F,OAAO,EACH,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EAChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAgCpE,wBAAgB,iBAAiB,CAC7B,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EACpC,cAAc,EAAE,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,MAAM,GAAG,SAAS,EACpG,UAAU,CAAC,EAAE,OAAO,EACpB,KAAK,CAAC,EAAE,gBAAgB,EACxB,wBAAwB,GAAE;IACtB,sBAAsB,GAAG,SAAS;IAClC,gCAAgC,GAAG,SAAS;CACtB,EAC1B,eAAe,CAAC,EAAE,WAAW,EAC7B,iBAAiB,CAAC,EAAE,cAAc,EAClC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI;;;;;EAkFhC"}
|
|
@@ -8,7 +8,7 @@ export declare const AlertActionsContextProvider: import("react").Provider<IAler
|
|
|
8
8
|
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
9
9
|
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
11
|
+
* @alpha
|
|
12
12
|
*/
|
|
13
13
|
export declare function useAlertActions(): IAlertActionsContextValue;
|
|
14
14
|
//# sourceMappingURL=AlertActionsContext.d.ts.map
|
|
@@ -12,7 +12,7 @@ export const AlertActionsContextProvider = AlertActionsContext.Provider;
|
|
|
12
12
|
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
13
13
|
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
14
14
|
*
|
|
15
|
-
* @
|
|
15
|
+
* @alpha
|
|
16
16
|
*/
|
|
17
17
|
export function useAlertActions() {
|
|
18
18
|
return useContext(AlertActionsContext) ?? missingAlertStateProvider("useAlertActions");
|
|
@@ -8,7 +8,7 @@ export declare const AlertDataContextProvider: import("react").Provider<IAlertDa
|
|
|
8
8
|
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
9
9
|
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
11
|
+
* @alpha
|
|
12
12
|
*/
|
|
13
13
|
export declare function useAlertData(): IAlertDataContextValue;
|
|
14
14
|
//# sourceMappingURL=AlertDataContext.d.ts.map
|
|
@@ -12,7 +12,7 @@ export const AlertDataContextProvider = AlertDataContext.Provider;
|
|
|
12
12
|
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
13
13
|
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
14
14
|
*
|
|
15
|
-
* @
|
|
15
|
+
* @alpha
|
|
16
16
|
*/
|
|
17
17
|
export function useAlertData() {
|
|
18
18
|
return useContext(AlertDataContext) ?? missingAlertStateProvider("useAlertData");
|
|
@@ -8,7 +8,7 @@ export declare const AlertDraftContextProvider: import("react").Provider<IAlertD
|
|
|
8
8
|
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
9
9
|
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
11
|
+
* @alpha
|
|
12
12
|
*/
|
|
13
13
|
export declare function useAlertDraft(): IAlertDraftContextValue;
|
|
14
14
|
//# sourceMappingURL=AlertDraftContext.d.ts.map
|
|
@@ -12,7 +12,7 @@ export const AlertDraftContextProvider = AlertDraftContext.Provider;
|
|
|
12
12
|
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
13
13
|
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
14
14
|
*
|
|
15
|
-
* @
|
|
15
|
+
* @alpha
|
|
16
16
|
*/
|
|
17
17
|
export function useAlertDraft() {
|
|
18
18
|
return useContext(AlertDraftContext) ?? missingAlertStateProvider("useAlertDraft");
|
|
@@ -8,7 +8,7 @@ export declare const AlertFiltersContextProvider: import("react").Provider<IAler
|
|
|
8
8
|
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
9
9
|
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
11
|
+
* @alpha
|
|
12
12
|
*/
|
|
13
13
|
export declare function useAlertFilters(): IAlertFiltersContextValue;
|
|
14
14
|
//# sourceMappingURL=AlertFiltersContext.d.ts.map
|
|
@@ -12,7 +12,7 @@ export const AlertFiltersContextProvider = AlertFiltersContext.Provider;
|
|
|
12
12
|
* must check that flag before calling this. On the alerting side that state is reached only by an
|
|
13
13
|
* automations refresh while the dialog is open, so it will not appear in manual testing.
|
|
14
14
|
*
|
|
15
|
-
* @
|
|
15
|
+
* @alpha
|
|
16
16
|
*/
|
|
17
17
|
export function useAlertFilters() {
|
|
18
18
|
return useContext(AlertFiltersContext) ?? missingAlertStateProvider("useAlertFilters");
|