@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
|
@@ -3,7 +3,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
|
|
|
3
3
|
import { useCallback, useMemo, useState } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
6
|
-
import { areObjRefsEqual
|
|
6
|
+
import { areObjRefsEqual } from "@gooddata/sdk-model";
|
|
7
7
|
import { Dropdown, DropdownButton, InvertableSelectSearchBar, Item, Separator, UiMenu, } from "@gooddata/sdk-ui-kit";
|
|
8
8
|
import { getSelectedCatalogAttribute, getSelectedCatalogAttributeValue } from "../utils/getters.js";
|
|
9
9
|
const createInteractiveItem = (id, title, attribute, value, isSelected, subItems) => ({
|
|
@@ -50,7 +50,16 @@ function AttributeValuesSearchContent({ attribute, values, isSelected, selectedA
|
|
|
50
50
|
}, children: _jsx("div", { className: "gd-alert-attribute-select__menu-item s-menu-alert-attribute-item-value", children: (value.title ?? value.name) || `(${intl.formatMessage({ id: "empty_value" })})` }) }, index))) })
|
|
51
51
|
] }));
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Default render of the alerting dialog's attribute field: the dropdown slicing the condition by an
|
|
55
|
+
* attribute value; renders nothing when the insight has no non-date attribute. Props-driven — the
|
|
56
|
+
* bare control without its label; reads no dialog context (only `useIntl`). The default dialog and
|
|
57
|
+
* {@link AlertingDialogAttribute} render it with {@link useAlertingDialogAttributeProps} inside
|
|
58
|
+
* {@link AutomationDialogFormField}.
|
|
59
|
+
*
|
|
60
|
+
* @alpha
|
|
61
|
+
*/
|
|
62
|
+
export function DefaultAlertingDialogAttribute({ id, disabled, selectedAttribute: selectedAttributeProp, getAttributeValues, isResultLoading, selectedValue, onAttributeChange, attributes, catalogAttributes, catalogDateDatasets, showLabel = true, closeOnParentScroll, }) {
|
|
54
63
|
const intl = useIntl();
|
|
55
64
|
const availableAttributes = useMemo(() => {
|
|
56
65
|
return attributes.filter((attr) => attr.type === "attribute");
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogComparisonOperatorProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Default render of the alerting dialog's comparison-operator field: the dropdown selecting the
|
|
5
|
+
* condition's operator (fixed threshold, change, difference, anomaly detection); renders nothing
|
|
6
|
+
* without a measure. Props-driven — the bare control without its label; reads no dialog context
|
|
7
|
+
* (only `useIntl`). The default dialog and {@link AlertingDialogComparisonOperator} render it with
|
|
8
|
+
* {@link useAlertingDialogComparisonOperatorProps} inside {@link AutomationDialogFormField}.
|
|
9
|
+
*
|
|
10
|
+
* @alpha
|
|
11
|
+
*/
|
|
12
|
+
export declare function DefaultAlertingDialogComparisonOperator(props: IAlertingDialogComparisonOperatorProps): ReactElement | null;
|
|
13
|
+
//# sourceMappingURL=DefaultAlertingDialogComparisonOperator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogComparisonOperator.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,YAAY,EAAU,MAAM,OAAO,CAAC;AAazE,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAiB1E;;;;;;;;GAQG;AACH,wBAAgB,uCAAuC,CACnD,KAAK,EAAE,sCAAsC,GAC9C,YAAY,GAAG,IAAI,CA6MrB"}
|
|
@@ -4,10 +4,19 @@ import { useRef } from "react";
|
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
6
6
|
import { AI_OPERATOR, AI_OPERATORS } from "@gooddata/sdk-ui-ext";
|
|
7
|
-
import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox
|
|
8
|
-
import { OPERATORS } from "
|
|
9
|
-
import { useOperators } from "
|
|
10
|
-
|
|
7
|
+
import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox } from "@gooddata/sdk-ui-kit";
|
|
8
|
+
import { OPERATORS } from "./constants.js";
|
|
9
|
+
import { useOperators } from "./hooks/useOperators.js";
|
|
10
|
+
/**
|
|
11
|
+
* Default render of the alerting dialog's comparison-operator field: the dropdown selecting the
|
|
12
|
+
* condition's operator (fixed threshold, change, difference, anomaly detection); renders nothing
|
|
13
|
+
* without a measure. Props-driven — the bare control without its label; reads no dialog context
|
|
14
|
+
* (only `useIntl`). The default dialog and {@link AlertingDialogComparisonOperator} render it with
|
|
15
|
+
* {@link useAlertingDialogComparisonOperatorProps} inside {@link AutomationDialogFormField}.
|
|
16
|
+
*
|
|
17
|
+
* @alpha
|
|
18
|
+
*/
|
|
19
|
+
export function DefaultAlertingDialogComparisonOperator(props) {
|
|
11
20
|
const { measure, selectedComparisonOperator, onComparisonOperatorChange, selectedRelativeOperator, onRelativeOperatorChange, selectedAiOperator, onAnomalyDetectionChange, overlayPositionType, id, closeOnParentScroll, enableAnomalyDetectionAlert, } = props;
|
|
12
21
|
const selectedComparisonItem = selectedComparisonOperator
|
|
13
22
|
? OPERATORS.find((option) => option.id === selectedComparisonOperator)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogComparisonPeriodProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Default render of the alerting dialog's comparison-period field: the dropdown selecting the
|
|
5
|
+
* period a change or difference condition compares against; static text with a single comparator,
|
|
6
|
+
* nothing for other condition types. Props-driven — the bare control without its label; reads no
|
|
7
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogComparisonPeriod}
|
|
8
|
+
* render it with {@link useAlertingDialogComparisonPeriodProps} inside
|
|
9
|
+
* {@link AutomationDialogFormField}.
|
|
10
|
+
*
|
|
11
|
+
* @alpha
|
|
12
|
+
*/
|
|
13
|
+
export declare function DefaultAlertingDialogComparisonPeriod({ alert, measure, overlayPositionType, selectedComparison, selectedGranularity, onComparisonChange, id, closeOnParentScroll }: IAlertingDialogComparisonPeriodProps): ReactElement | null;
|
|
14
|
+
//# sourceMappingURL=DefaultAlertingDialogComparisonPeriod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogComparisonPeriod.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,YAAY,EAAW,MAAM,OAAO,CAAC;AAQ1E,OAAO,EAGH,KAAK,oCAAoC,EAC5C,MAAM,aAAa,CAAC;AAIrB;;;;;;;;;GASG;AACH,wBAAgB,qCAAqC,CAAC,EAClD,KAAK,EACL,OAAO,EACP,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,EAAE,EACF,mBAAmB,EACtB,EAAE,oCAAoC,GAAG,YAAY,GAAG,IAAI,CAqK5D"}
|
|
@@ -3,12 +3,22 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
|
-
import { DateGranularity
|
|
7
|
-
import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox
|
|
8
|
-
import { AlertMetricComparatorType } from "
|
|
6
|
+
import { DateGranularity } from "@gooddata/sdk-model";
|
|
7
|
+
import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox } from "@gooddata/sdk-ui-kit";
|
|
8
|
+
import { AlertMetricComparatorType, } from "../types.js";
|
|
9
9
|
import { translateGranularity } from "../utils/granularity.js";
|
|
10
10
|
import { isChangeOrDifferenceOperator } from "../utils/guards.js";
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Default render of the alerting dialog's comparison-period field: the dropdown selecting the
|
|
13
|
+
* period a change or difference condition compares against; static text with a single comparator,
|
|
14
|
+
* nothing for other condition types. Props-driven — the bare control without its label; reads no
|
|
15
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogComparisonPeriod}
|
|
16
|
+
* render it with {@link useAlertingDialogComparisonPeriodProps} inside
|
|
17
|
+
* {@link AutomationDialogFormField}.
|
|
18
|
+
*
|
|
19
|
+
* @alpha
|
|
20
|
+
*/
|
|
21
|
+
export function DefaultAlertingDialogComparisonPeriod({ alert, measure, overlayPositionType, selectedComparison, selectedGranularity, onComparisonChange, id, closeOnParentScroll, }) {
|
|
12
22
|
const intl = useIntl();
|
|
13
23
|
const selectedOperator = useMemo(() => {
|
|
14
24
|
return measure?.comparators.find((a) => a.comparator === selectedComparison &&
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type IAutomationDialogDestinationProps } from "../../shared/slots/types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Default render of the alerting dialog's destination region: the "Action" row selecting the
|
|
4
|
+
* notification channel. Props-driven — reads no context. The default dialog and
|
|
5
|
+
* {@link AlertingDialogDestination} render it with {@link useAlertingDialogDestinationProps}; a
|
|
6
|
+
* `slots.Destination` slot receives it as `Default`.
|
|
7
|
+
*
|
|
8
|
+
* @alpha
|
|
9
|
+
*/
|
|
10
|
+
export declare function DefaultAlertingDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange }: IAutomationDialogDestinationProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=DefaultAlertingDialogDestination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogDestination.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAOrF;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,EAC7C,oBAAoB,EACpB,6BAA6B,EAC7B,QAAQ,EACX,EAAE,iCAAiC,2CAgBnC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2026 GoodData Corporation
|
|
3
|
+
import { FormattedMessage } from "react-intl";
|
|
4
|
+
import { AutomationDialogFormField } from "../../shared/slots/AutomationDialogFormField.js";
|
|
5
|
+
import { AlertDestinationSelect } from "./components/AlertDestinationSelect.js";
|
|
6
|
+
const OVERLAY_POSITION_TYPE = "sameAsTarget";
|
|
7
|
+
const CLOSE_ON_PARENT_SCROLL = true;
|
|
8
|
+
/**
|
|
9
|
+
* Default render of the alerting dialog's destination region: the "Action" row selecting the
|
|
10
|
+
* notification channel. Props-driven — reads no context. The default dialog and
|
|
11
|
+
* {@link AlertingDialogDestination} render it with {@link useAlertingDialogDestinationProps}; a
|
|
12
|
+
* `slots.Destination` slot receives it as `Default`.
|
|
13
|
+
*
|
|
14
|
+
* @alpha
|
|
15
|
+
*/
|
|
16
|
+
export function DefaultAlertingDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange, }) {
|
|
17
|
+
return (_jsx(AutomationDialogFormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.action" }), htmlFor: "alert.destination", children: _jsx(AlertDestinationSelect, { id: "alert.destination", selectedDestination: selectedNotificationChannelId, onDestinationChange: onChange, destinations: notificationChannels, overlayPositionType: OVERLAY_POSITION_TYPE, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) }));
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type IAlertingDialogFiltersProps } from "../types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Default render of the alerting dialog's filters region: the filter and parameter chips above the
|
|
4
|
+
* form. Props-driven — reads no context. The default dialog and {@link AlertingDialogFilters} render
|
|
5
|
+
* it with {@link useAlertingDialogFiltersProps}; a `slots.Filters` slot receives it as `Default`.
|
|
6
|
+
* Alert automations always store their filters and never target the whole dashboard, so the
|
|
7
|
+
* store-filters contract is fixed here instead of being carried on the region props.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*/
|
|
11
|
+
export declare function DefaultAlertingDialogFilters(props: IAlertingDialogFiltersProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=DefaultAlertingDialogFilters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogFilters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAK/D;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,2BAA2B,2CAU9E"}
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2026 GoodData Corporation
|
|
3
|
+
import { AutomationFiltersSelect } from "../../shared/automationFilters/components/AutomationFiltersSelect.js";
|
|
4
|
+
const OVERLAY_POSITION_TYPE = "sameAsTarget";
|
|
5
|
+
const noop = () => { };
|
|
6
|
+
/**
|
|
7
|
+
* Default render of the alerting dialog's filters region: the filter and parameter chips above the
|
|
8
|
+
* form. Props-driven — reads no context. The default dialog and {@link AlertingDialogFilters} render
|
|
9
|
+
* it with {@link useAlertingDialogFiltersProps}; a `slots.Filters` slot receives it as `Default`.
|
|
10
|
+
* Alert automations always store their filters and never target the whole dashboard, so the
|
|
11
|
+
* store-filters contract is fixed here instead of being carried on the region props.
|
|
12
|
+
*
|
|
13
|
+
* @alpha
|
|
14
|
+
*/
|
|
15
|
+
export function DefaultAlertingDialogFilters(props) {
|
|
16
|
+
return (_jsx(AutomationFiltersSelect, { ...props, storeFilters: true, onStoreFiltersChange: noop, isDashboardAutomation: false, overlayPositionType: OVERLAY_POSITION_TYPE }));
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogGranularityProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Default render of the alerting dialog's granularity field: the dropdown selecting the
|
|
5
|
+
* anomaly-detection granularity. Props-driven — the bare control without its label; reads no
|
|
6
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogGranularity} render
|
|
7
|
+
* it with {@link useAlertingDialogGranularityProps} inside {@link AutomationDialogFormField}.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*/
|
|
11
|
+
export declare function DefaultAlertingDialogGranularity({ id, allowHourlyRecurrence, selectedGranularity, onGranularityChange, overlayPositionType, closeOnParentScroll }: IAlertingDialogGranularityProps): ReactElement;
|
|
12
|
+
//# sourceMappingURL=DefaultAlertingDialogGranularity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogGranularity.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAcjE,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,aAAa,CAAC;AAkCnE;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,EAC7C,EAAE,EACF,qBAAqB,EACrB,mBAA4B,EAC5B,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACtB,EAAE,+BAA+B,GAAG,YAAY,CA6EhD"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
4
|
import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox, } from "@gooddata/sdk-ui-kit";
|
|
5
|
-
import { messages } from "
|
|
5
|
+
import { messages } from "./messages.js";
|
|
6
6
|
const options = [
|
|
7
7
|
{
|
|
8
8
|
title: messages.alertGranularityHour.id,
|
|
@@ -29,7 +29,15 @@ const options = [
|
|
|
29
29
|
id: "YEAR",
|
|
30
30
|
},
|
|
31
31
|
];
|
|
32
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Default render of the alerting dialog's granularity field: the dropdown selecting the
|
|
34
|
+
* anomaly-detection granularity. Props-driven — the bare control without its label; reads no
|
|
35
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogGranularity} render
|
|
36
|
+
* it with {@link useAlertingDialogGranularityProps} inside {@link AutomationDialogFormField}.
|
|
37
|
+
*
|
|
38
|
+
* @alpha
|
|
39
|
+
*/
|
|
40
|
+
export function DefaultAlertingDialogGranularity({ id, allowHourlyRecurrence, selectedGranularity = "WEEK", onGranularityChange, overlayPositionType, closeOnParentScroll, }) {
|
|
33
41
|
const usableOptions = options.filter((o) => {
|
|
34
42
|
if (!allowHourlyRecurrence) {
|
|
35
43
|
return o.id !== "HOUR";
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type IAlertingDialogHeaderProps } from "../types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Default render of the alerting dialog's header region: the back button and the title input with
|
|
4
|
+
* its length validation. Props-driven — reads no alerting dialog state. The default dialog and
|
|
5
|
+
* {@link AlertingDialogHeader} render it with {@link useAlertingDialogHeaderProps}; a `slots.Header`
|
|
6
|
+
* slot receives it as `Default`.
|
|
7
|
+
*
|
|
8
|
+
* @alpha
|
|
9
|
+
*/
|
|
10
|
+
export declare const DefaultAlertingDialogHeader: import("react").ForwardRefExoticComponent<IAlertingDialogHeaderProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
11
|
+
//# sourceMappingURL=DefaultAlertingDialogHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogHeader.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE9D;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,yHAyIvC,CAAC"}
|
|
@@ -6,7 +6,15 @@ import { useIntl } from "react-intl";
|
|
|
6
6
|
import { createInvalidDatapoint, createInvalidNode, useValidationContextValue } from "@gooddata/sdk-ui";
|
|
7
7
|
import { Bubble, BubbleHoverTrigger, Button, IconError, useIdPrefixed } from "@gooddata/sdk-ui-kit";
|
|
8
8
|
import { MAX_AUTOMATION_TITLE_LENGTH, isAutomationTitleValid } from "../../shared/utils/automationTitle.js";
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Default render of the alerting dialog's header region: the back button and the title input with
|
|
11
|
+
* its length validation. Props-driven — reads no alerting dialog state. The default dialog and
|
|
12
|
+
* {@link AlertingDialogHeader} render it with {@link useAlertingDialogHeaderProps}; a `slots.Header`
|
|
13
|
+
* slot receives it as `Default`.
|
|
14
|
+
*
|
|
15
|
+
* @alpha
|
|
16
|
+
*/
|
|
17
|
+
export const DefaultAlertingDialogHeader = forwardRef((props, ref) => {
|
|
10
18
|
const { title, onChange, onCancel, placeholder, isSecondaryTitleVisible, secondaryTitle, secondaryTitleIcon, } = props;
|
|
11
19
|
const { formatMessage } = useIntl();
|
|
12
20
|
const validationContextValue = useValidationContextValue(createInvalidNode({ id: "AlertingDialogHeader" }));
|
|
@@ -59,4 +67,4 @@ export const AlertingDialogHeader = forwardRef((props, ref) => {
|
|
|
59
67
|
] })) : null] }) })
|
|
60
68
|
] }));
|
|
61
69
|
});
|
|
62
|
-
|
|
70
|
+
DefaultAlertingDialogHeader.displayName = "DefaultAlertingDialogHeader";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogMeasureProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Default render of the alerting dialog's measure field: the dropdown selecting the measure the
|
|
5
|
+
* condition targets. Props-driven — the bare control without its label; reads no dialog context
|
|
6
|
+
* (only `useIntl`). The default dialog and {@link AlertingDialogMeasure} render it with
|
|
7
|
+
* {@link useAlertingDialogMeasureProps} inside {@link AutomationDialogFormField}.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*/
|
|
11
|
+
export declare function DefaultAlertingDialogMeasure({ id, disabled, selectedMeasure, onMeasureChange, measures, overlayPositionType, closeOnParentScroll }: IAlertingDialogMeasureProps): ReactElement;
|
|
12
|
+
//# sourceMappingURL=DefaultAlertingDialogMeasure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogMeasure.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,YAAY,EAAU,MAAM,OAAO,CAAC;AAOzE,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAK/D;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAAC,EACzC,EAAE,EACF,QAAQ,EACR,eAAe,EACf,eAAe,EACf,QAAQ,EACR,mBAAmB,EACnB,mBAAmB,EACtB,EAAE,2BAA2B,GAAG,YAAY,CA8E5C"}
|
|
@@ -3,10 +3,18 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useRef } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
|
-
import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox
|
|
6
|
+
import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox } from "@gooddata/sdk-ui-kit";
|
|
7
7
|
import { getMeasureTitle } from "../utils/getters.js";
|
|
8
8
|
const measureIcon = _jsx("div", { className: "gd-alert-measure-select__icon gd-icon-metric" });
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Default render of the alerting dialog's measure field: the dropdown selecting the measure the
|
|
11
|
+
* condition targets. Props-driven — the bare control without its label; reads no dialog context
|
|
12
|
+
* (only `useIntl`). The default dialog and {@link AlertingDialogMeasure} render it with
|
|
13
|
+
* {@link useAlertingDialogMeasureProps} inside {@link AutomationDialogFormField}.
|
|
14
|
+
*
|
|
15
|
+
* @alpha
|
|
16
|
+
*/
|
|
17
|
+
export function DefaultAlertingDialogMeasure({ id, disabled, selectedMeasure, onMeasureChange, measures, overlayPositionType, closeOnParentScroll, }) {
|
|
10
18
|
const intl = useIntl();
|
|
11
19
|
const ref = useRef(null);
|
|
12
20
|
const selectedMeasureTitle = selectedMeasure
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type IAutomationDialogRecipientsProps } from "../../shared/slots/types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Default render of the alerting dialog's recipients region: the recipients select in a form-field
|
|
4
|
+
* row; the row carries the label, so the select's own label is off. Props-driven — reads no context.
|
|
5
|
+
* The default dialog and {@link AlertingDialogRecipients} render it with
|
|
6
|
+
* {@link useAlertingDialogRecipientsProps}; a `slots.Recipients` slot receives it as `Default`.
|
|
7
|
+
*
|
|
8
|
+
* @alpha
|
|
9
|
+
*/
|
|
10
|
+
export declare function DefaultAlertingDialogRecipients(props: IAutomationDialogRecipientsProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=DefaultAlertingDialogRecipients.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogRecipients.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAEpF;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,gCAAgC,2CAUtF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2026 GoodData Corporation
|
|
3
|
+
import { FormattedMessage } from "react-intl";
|
|
4
|
+
import { RecipientsSelect } from "../../scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js";
|
|
5
|
+
import { AutomationDialogFormField } from "../../shared/slots/AutomationDialogFormField.js";
|
|
6
|
+
/**
|
|
7
|
+
* Default render of the alerting dialog's recipients region: the recipients select in a form-field
|
|
8
|
+
* row; the row carries the label, so the select's own label is off. Props-driven — reads no context.
|
|
9
|
+
* The default dialog and {@link AlertingDialogRecipients} render it with
|
|
10
|
+
* {@link useAlertingDialogRecipientsProps}; a `slots.Recipients` slot receives it as `Default`.
|
|
11
|
+
*
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
14
|
+
export function DefaultAlertingDialogRecipients(props) {
|
|
15
|
+
return (_jsx(AutomationDialogFormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.recipients" }), htmlFor: "alert.recipients", fullWidth: true, children: _jsx(RecipientsSelect, { id: "alert.recipients", showLabel: false, ...props }) }));
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogSensitivityProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Default render of the alerting dialog's sensitivity field: the dropdown selecting the
|
|
5
|
+
* anomaly-detection sensitivity. Props-driven — the bare control without its label; reads no
|
|
6
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogSensitivity} render
|
|
7
|
+
* it with {@link useAlertingDialogSensitivityProps} inside {@link AutomationDialogFormField}.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*/
|
|
11
|
+
export declare function DefaultAlertingDialogSensitivity({ id, selectedSensitivity, onSensitivityChange, overlayPositionType, closeOnParentScroll }: IAlertingDialogSensitivityProps): ReactElement;
|
|
12
|
+
//# sourceMappingURL=DefaultAlertingDialogSensitivity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogSensitivity.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAcjE,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,aAAa,CAAC;AAsBnE;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,EAC7C,EAAE,EACF,mBAA8B,EAC9B,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACtB,EAAE,+BAA+B,GAAG,YAAY,CAuEhD"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
4
|
import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox, } from "@gooddata/sdk-ui-kit";
|
|
5
|
-
import { messages } from "
|
|
5
|
+
import { messages } from "./messages.js";
|
|
6
6
|
const options = [
|
|
7
7
|
{
|
|
8
8
|
title: messages.alertSensitivityLow.id,
|
|
@@ -17,7 +17,15 @@ const options = [
|
|
|
17
17
|
id: "HIGH",
|
|
18
18
|
},
|
|
19
19
|
];
|
|
20
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Default render of the alerting dialog's sensitivity field: the dropdown selecting the
|
|
22
|
+
* anomaly-detection sensitivity. Props-driven — the bare control without its label; reads no
|
|
23
|
+
* dialog context (only `useIntl`). The default dialog and {@link AlertingDialogSensitivity} render
|
|
24
|
+
* it with {@link useAlertingDialogSensitivityProps} inside {@link AutomationDialogFormField}.
|
|
25
|
+
*
|
|
26
|
+
* @alpha
|
|
27
|
+
*/
|
|
28
|
+
export function DefaultAlertingDialogSensitivity({ id, selectedSensitivity = "MEDIUM", onSensitivityChange, overlayPositionType, closeOnParentScroll, }) {
|
|
21
29
|
const selectedOption = options.find((o) => o.id === selectedSensitivity);
|
|
22
30
|
const intl = useIntl();
|
|
23
31
|
return (_jsx("div", { className: "gd-alert-sensitivity-select", children: _jsx(Dropdown, { closeOnParentScroll: closeOnParentScroll, overlayPositionType: overlayPositionType, autofocusOnOpen: true, renderButton: ({ isOpen, toggleDropdown, buttonRef, dropdownId }) => {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogThresholdProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Default render of the alerting dialog's threshold field: the numeric input for the threshold,
|
|
5
|
+
* with its unit suffix and validation message. Props-driven — the bare control without its label;
|
|
6
|
+
* reads no dialog context (only `useIntl`). The default dialog and {@link AlertingDialogThreshold}
|
|
7
|
+
* render it with {@link useAlertingDialogThresholdProps} inside {@link AutomationDialogFormField}.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*/
|
|
11
|
+
export declare function DefaultAlertingDialogThreshold({ id, value, onChange, onBlur, suffix, errorMessage }: IAlertingDialogThresholdProps): ReactElement;
|
|
12
|
+
//# sourceMappingURL=DefaultAlertingDialogThreshold.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogThreshold.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAEjE;;;;;;;GAOG;AACH,wBAAgB,8BAA8B,CAAC,EAC3C,EAAE,EACF,KAAK,EACL,QAAQ,EACR,MAAM,EACN,MAAM,EACN,YAAY,EACf,EAAE,6BAA6B,GAAG,YAAY,CAmC9C"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useIntl } from "react-intl";
|
|
3
3
|
import { Input } from "@gooddata/sdk-ui-kit";
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Default render of the alerting dialog's threshold field: the numeric input for the threshold,
|
|
6
|
+
* with its unit suffix and validation message. Props-driven — the bare control without its label;
|
|
7
|
+
* reads no dialog context (only `useIntl`). The default dialog and {@link AlertingDialogThreshold}
|
|
8
|
+
* render it with {@link useAlertingDialogThresholdProps} inside {@link AutomationDialogFormField}.
|
|
9
|
+
*
|
|
10
|
+
* @alpha
|
|
11
|
+
*/
|
|
12
|
+
export function DefaultAlertingDialogThreshold({ id, value, onChange, onBlur, suffix, errorMessage, }) {
|
|
5
13
|
const intl = useIntl();
|
|
6
14
|
const hasError = !!errorMessage;
|
|
7
15
|
const errorId = `${id}-error`;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogTriggerIntervalProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Default render of the alerting dialog's trigger-interval field: the dropdown selecting the
|
|
5
|
+
* interval of a once-per-interval trigger. Props-driven — the bare control without its label;
|
|
6
|
+
* reads no dialog context (only `useIntl`). The default dialog and
|
|
7
|
+
* {@link AlertingDialogTriggerInterval} render it with {@link useAlertingDialogTriggerIntervalProps}
|
|
8
|
+
* inside {@link AutomationDialogFormField}.
|
|
9
|
+
*
|
|
10
|
+
* @alpha
|
|
11
|
+
*/
|
|
12
|
+
export declare function DefaultAlertingDialogTriggerInterval({ id, selectedTriggerInterval, onTriggerIntervalChange, overlayPositionType, closeOnParentScroll }: IAlertingDialogTriggerIntervalProps): ReactElement;
|
|
13
|
+
//# sourceMappingURL=DefaultAlertingDialogTriggerInterval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogTriggerInterval.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAcjE,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,aAAa,CAAC;AA8BvE;;;;;;;;GAQG;AACH,wBAAgB,oCAAoC,CAAC,EACjD,EAAE,EACF,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACtB,EAAE,mCAAmC,GAAG,YAAY,CAqEpD"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
4
|
import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox, } from "@gooddata/sdk-ui-kit";
|
|
5
|
-
import { messages } from "
|
|
5
|
+
import { messages } from "./messages.js";
|
|
6
6
|
const options = [
|
|
7
7
|
{
|
|
8
8
|
title: messages.alertTriggerIntervalDay.id,
|
|
@@ -25,7 +25,16 @@ const options = [
|
|
|
25
25
|
id: "YEAR",
|
|
26
26
|
},
|
|
27
27
|
];
|
|
28
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Default render of the alerting dialog's trigger-interval field: the dropdown selecting the
|
|
30
|
+
* interval of a once-per-interval trigger. Props-driven — the bare control without its label;
|
|
31
|
+
* reads no dialog context (only `useIntl`). The default dialog and
|
|
32
|
+
* {@link AlertingDialogTriggerInterval} render it with {@link useAlertingDialogTriggerIntervalProps}
|
|
33
|
+
* inside {@link AutomationDialogFormField}.
|
|
34
|
+
*
|
|
35
|
+
* @alpha
|
|
36
|
+
*/
|
|
37
|
+
export function DefaultAlertingDialogTriggerInterval({ id, selectedTriggerInterval, onTriggerIntervalChange, overlayPositionType, closeOnParentScroll, }) {
|
|
29
38
|
const selectedOption = options.find((o) => o.id === selectedTriggerInterval);
|
|
30
39
|
const intl = useIntl();
|
|
31
40
|
return (_jsx("div", { className: "gd-alert-trigger-interval-select", children: _jsx(Dropdown, { closeOnParentScroll: closeOnParentScroll, overlayPositionType: overlayPositionType, autofocusOnOpen: true, renderButton: ({ isOpen, toggleDropdown, buttonRef, dropdownId }) => {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type IAlertingDialogTriggerModeProps } from "../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Default render of the alerting dialog's trigger-mode field: the dropdown selecting when the
|
|
5
|
+
* alert fires. Props-driven — the bare control without its label; reads no dialog context (only
|
|
6
|
+
* `useIntl`). The default dialog and {@link AlertingDialogTriggerMode} render it with
|
|
7
|
+
* {@link useAlertingDialogTriggerModeProps} inside {@link AutomationDialogFormField}.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*/
|
|
11
|
+
export declare function DefaultAlertingDialogTriggerMode({ id, selectedTriggerMode, onTriggerModeChange, overlayPositionType, closeOnParentScroll, enableAlertOncePerInterval }: IAlertingDialogTriggerModeProps): ReactElement;
|
|
12
|
+
//# sourceMappingURL=DefaultAlertingDialogTriggerMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialogTriggerMode.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAcjE,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,aAAa,CAAC;AAsBnE;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,EAC7C,EAAE,EACF,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,0BAA0B,EAC7B,EAAE,+BAA+B,GAAG,YAAY,CAsEhD"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
4
|
import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox, } from "@gooddata/sdk-ui-kit";
|
|
5
|
-
import { messages } from "
|
|
5
|
+
import { messages } from "./messages.js";
|
|
6
6
|
const options = [
|
|
7
7
|
{
|
|
8
8
|
title: messages.alertTriggerModeAlways.id,
|
|
@@ -17,7 +17,15 @@ const options = [
|
|
|
17
17
|
id: "ONCE_PER_INTERVAL",
|
|
18
18
|
},
|
|
19
19
|
];
|
|
20
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Default render of the alerting dialog's trigger-mode field: the dropdown selecting when the
|
|
22
|
+
* alert fires. Props-driven — the bare control without its label; reads no dialog context (only
|
|
23
|
+
* `useIntl`). The default dialog and {@link AlertingDialogTriggerMode} render it with
|
|
24
|
+
* {@link useAlertingDialogTriggerModeProps} inside {@link AutomationDialogFormField}.
|
|
25
|
+
*
|
|
26
|
+
* @alpha
|
|
27
|
+
*/
|
|
28
|
+
export function DefaultAlertingDialogTriggerMode({ id, selectedTriggerMode, onTriggerModeChange, overlayPositionType, closeOnParentScroll, enableAlertOncePerInterval, }) {
|
|
21
29
|
const selectedOption = options.find((o) => o.id === selectedTriggerMode);
|
|
22
30
|
const intl = useIntl();
|
|
23
31
|
return (_jsx("div", { className: "gd-alert-trigger-mode-select", children: _jsx(Dropdown, { closeOnParentScroll: closeOnParentScroll, overlayPositionType: overlayPositionType, autofocusOnOpen: true, renderButton: ({ isOpen, toggleDropdown, buttonRef, dropdownId }) => {
|
|
@@ -18,6 +18,5 @@ export declare const ANOMALY_DETECTION_HEADER: OperatorItemType<string>;
|
|
|
18
18
|
export declare const SEPARATOR: OperatorItemType<string>;
|
|
19
19
|
export declare const DROPDOWN_ITEM_HEIGHT = 28;
|
|
20
20
|
export declare const DROPDOWN_SEPARATOR_ITEM_HEIGHT = 10;
|
|
21
|
-
export declare const DEFAULT_MEASURE_FORMAT = "#,##0.00";
|
|
22
21
|
export declare const ALERTING_DIALOG_ID = "alerting-dialog";
|
|
23
22
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAQpE,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAIrE,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,wBAAwB,IAAI;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,CAAC,CAAC;IACN,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,gBAAgB,EAqBzD,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAgBtE,CAAC;AACF,eAAO,MAAM,oCAAoC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAgB1E,CAAC;AACF,eAAO,MAAM,kCAAkC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAMxE,CAAC;AAEF,eAAO,MAAM,SAAS,4BAKrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,gBAAgB,CAAC,MAAM,CAMlD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,CAAC,MAAM,CAMtD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,CAAC,MAAM,CAM7D,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,gBAAgB,CAAC,MAAM,CAK9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAQpE,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAIrE,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,wBAAwB,IAAI;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,CAAC,CAAC;IACN,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,gBAAgB,EAqBzD,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAgBtE,CAAC;AACF,eAAO,MAAM,oCAAoC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAgB1E,CAAC;AACF,eAAO,MAAM,kCAAkC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAMxE,CAAC;AAEF,eAAO,MAAM,SAAS,4BAKrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,gBAAgB,CAAC,MAAM,CAMlD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,CAAC,MAAM,CAMtD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,CAAC,MAAM,CAM7D,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,gBAAgB,CAAC,MAAM,CAK9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,kBAAkB,oBAAoB,CAAC"}
|
|
@@ -13,9 +13,9 @@ import { useAlertingManagementDialogContext } from "../../contexts/AlertingManag
|
|
|
13
13
|
import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
|
|
14
14
|
import { computeUseHostRoute } from "../../shared/utils/automationUtils.js";
|
|
15
15
|
import { ALERTING_DIALOG_ID } from "../DefaultAlertingDialog/constants.js";
|
|
16
|
-
import { isMobileView } from "../DefaultAlertingDialog/utils/responsive.js";
|
|
17
16
|
import { useAlertingDialogAccessibility } from "../hooks/useAlertingDialogAccessibility.js";
|
|
18
17
|
import { useGetSupportedMeasures } from "../hooks/useGetSupportedMeasures.js";
|
|
18
|
+
import { isMobileView } from "../utils/responsive.js";
|
|
19
19
|
const overlayController = OverlayController.getInstance(DASHBOARD_DIALOG_OVERS_Z_INDEX);
|
|
20
20
|
/**
|
|
21
21
|
* @internal
|
package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js
CHANGED
|
@@ -9,8 +9,8 @@ import { useTheme } from "@gooddata/sdk-ui-theme-provider";
|
|
|
9
9
|
import { gdColorNegative, gdColorStateBlank } from "../../../../constants/colors.js";
|
|
10
10
|
import { useAlertingManagementDialogContext } from "../../../contexts/AlertingManagementDialogContext.js";
|
|
11
11
|
import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
|
|
12
|
-
import { useAlertValidation } from "../../
|
|
13
|
-
import { getSubtitle } from "../../
|
|
12
|
+
import { useAlertValidation } from "../../hooks/useAlertValidation.js";
|
|
13
|
+
import { getSubtitle } from "../../utils/getters.js";
|
|
14
14
|
const TEXT_TOOLTIP_ALIGN_POINTS = [
|
|
15
15
|
{ align: "tc bc", offset: { x: 0, y: 0 } },
|
|
16
16
|
{ align: "bc tc", offset: { x: 0, y: 0 } },
|