@gooddata/sdk-ui-dashboard 11.37.0-alpha.4 → 11.37.0
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 +6 -6
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/dashboard/dashboardFilterContext.d.ts +6 -1
- package/esm/_staging/dashboard/dashboardFilterContext.js +10 -3
- package/esm/index.d.ts +12 -11
- package/esm/index.js +10 -9
- package/esm/internal.d.ts +6 -6
- package/esm/internal.js +5 -5
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +3 -5
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +22 -8
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/index.d.ts +2 -1
- package/esm/model/events/parameters.d.ts +21 -0
- package/esm/model/events/parameters.js +19 -0
- package/esm/model/events/userInteraction.d.ts +1 -1
- package/esm/model/react/useDashboardCommand.d.ts +1 -0
- package/esm/model/react/useDashboardCommandProcessing.d.ts +4 -0
- package/esm/model/react/useDashboardUserInteraction.d.ts +1 -0
- package/esm/model/react/useDashboardUserInteraction.js +4 -0
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +37 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +69 -13
- package/esm/presentation/{alerting → automations/alerting}/AlertingDialog.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/AlertingManagementDialog.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/AlertingDialogHeader.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/DefaultAlertingDialog.js +13 -13
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/DefaultLoadingAlertingDialog.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/constants.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useAlertValidation.js +4 -4
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useCreateAlert.d.ts +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useCreateAlert.js +2 -2
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useEditAlert.d.ts +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useEditAlert.js +12 -12
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useOperators.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useThresholdValue.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useUpdateAlert.d.ts +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useUpdateAlert.js +2 -2
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/cron.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/granularity.js +1 -0
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/guards.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/responsive.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/threshold.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentBasic.js +5 -5
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.js +10 -10
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js +3 -3
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/components/Alert.js +6 -6
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/components/AlertDropdown.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/components/AlertsList.js +1 -1
- package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js +3 -3
- package/esm/presentation/{alerting → automations/alerting}/hooks/useAlertingDialogAccessibility.js +3 -3
- package/esm/presentation/{alerting → automations/alerting}/hooks/useGetSupportedMeasures.js +3 -3
- package/esm/presentation/{alerting → automations/alerting}/types.d.ts +1 -1
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts +9 -0
- package/esm/presentation/automations/contexts/AutomationsContext.js +11 -0
- package/esm/presentation/automations/contexts/AutomationsContext.test.d.ts +1 -0
- package/esm/presentation/automations/contexts/AutomationsContext.test.js +9 -0
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/DefaultLoadingScheduledEmailDialog.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +20 -18
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/AttachmentsWrapper.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/MessageForm/MessageForm.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/SubjectForm/SubjectForm.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Textarea.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useCreateScheduledEmail.d.ts +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useCreateScheduledEmail.js +2 -2
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +2 -2
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +10 -10
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.js +5 -5
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useScheduleValidation.js +2 -2
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.d.ts +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.js +2 -2
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +3 -3
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentBasic.js +9 -9
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentEnhanced.js +10 -10
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/components/DeleteScheduleConfirmDialog.js +3 -3
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +5 -5
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/ScheduledEmailDialog.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/ScheduledEmailManagementDialog.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/hooks/useScheduleEmailDialogAccessibility.js +3 -3
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/hooks/useWidgetAutomationFilters.d.ts +2 -2
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/hooks/useWidgetAutomationFilters.js +3 -3
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/types.d.ts +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/cron.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/date.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/filters.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/responsive.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/timezone.js +1 -1
- package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/users.js +1 -1
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationAttributeFilter.js +1 -1
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationDateFilter.js +4 -4
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationDateFilterContext.js +1 -1
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationFiltersSelect.d.ts +1 -1
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationFiltersSelect.js +2 -2
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationMeasureValueFilter.js +1 -1
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/hooks/useAutomationVisibleFilters.js +2 -2
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/hooks/useDefaultSelectedFiltersForExistingAutomation.d.ts +1 -1
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/hooks/useDefaultSelectedFiltersForExistingAutomation.js +43 -9
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/hooks/useDefaultSelectedFiltersForNewAutomation.d.ts +1 -1
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/hooks/useDefaultSelectedFiltersForNewAutomation.js +3 -3
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/hooks/useValidateExistingAutomationFilters.d.ts +1 -1
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/hooks/useValidateExistingAutomationFilters.js +10 -7
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/useAutomationFilters.d.ts +1 -1
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/useAutomationFilters.js +9 -9
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/useAutomationFiltersSelect.d.ts +2 -2
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/useAutomationFiltersSelect.js +3 -3
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/utils.d.ts +1 -1
- package/esm/presentation/{automationFilters → automations/shared/automationFilters}/utils.js +2 -2
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProviderNew.js +2 -2
- package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js +4 -4
- package/esm/presentation/dashboard/components/DashboardRenderer.js +4 -4
- package/esm/presentation/dashboard/types.d.ts +2 -2
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -2
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +3 -1
- package/esm/presentation/filterBar/filterBar/ResetFiltersButton.js +0 -3
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +46 -18
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +3 -3
- package/esm/presentation/widget/common/useInsightExport.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +14 -14
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightWidgetAlerting.d.ts +3 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightWidgetAlerting.js +6 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertsNew.js +4 -4
- package/esm/sdk-ui-dashboard.d.ts +39 -3
- package/package.json +20 -20
- package/styles/css/filterBar.css +3 -0
- package/styles/css/filterBar.css.map +1 -1
- package/styles/css/main.css +3 -0
- package/styles/css/main.css.map +1 -1
- package/styles/scss/filterBar.scss +4 -0
- /package/esm/presentation/{alerting → automations/alerting}/AlertingDialog.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/AlertingManagementDialog.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/AlertingDialogHeader.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/DefaultLoadingAlertingDialog.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertAttributeSelect.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertDeleteDialog.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertDeleteDialog.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertDestinationSelect.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertDestinationSelect.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertGranularitySelect.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertMeasureSelect.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertSensitivitySelect.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertThresholdInput.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertThresholdInput.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/components/AlertTriggerModeSelect.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/constants.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useAlertValidation.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useOperators.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useSaveAlertToBackend.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useSaveAlertToBackend.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/hooks/useThresholdValue.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/messages.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/messages.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/convertors.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/convertors.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/cron.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/getters.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/getters.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/granularity.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/guards.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/items.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/items.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/responsive.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/threshold.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/transformation.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingDialog/utils/transformation.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentBasic.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/components/Alert.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/components/AlertsList.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/hooks/useAlertingDialogAccessibility.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/hooks/useGetSupportedMeasures.d.ts +0 -0
- /package/esm/presentation/{alerting → automations/alerting}/types.js +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/DefaultLoadingScheduledEmailDialog.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.js +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/AttachmentsWrapper.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/SlidesTemplateSettings.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/SlidesTemplateSettings.js +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/ErrorWrapper/ErrorWrapper.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/ErrorWrapper/ErrorWrapper.js +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/MessageForm/MessageForm.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/SubjectForm/SubjectForm.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/components/Textarea.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/constants.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/constants.js +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentBasic.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentEnhanced.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/components/DeleteScheduleConfirmDialog.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/ScheduledEmailDialog.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/ScheduledEmailManagementDialog.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/hooks/useScheduleEmailDialogAccessibility.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/types.js +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/cron.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/date.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/filters.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/pdfPageSize.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/pdfPageSize.js +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/responsive.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/timezone.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/users.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/validate.d.ts +0 -0
- /package/esm/presentation/{scheduledEmail → automations/scheduledEmail}/utils/validate.js +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/ApplyLatestFiltersConfirmDialog.d.ts +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/ApplyLatestFiltersConfirmDialog.js +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationAttributeFilter.d.ts +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationAttributeFilterContext.d.ts +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationAttributeFilterContext.js +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationDateFilter.d.ts +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationDateFilterContext.d.ts +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationMeasureValueFilter.d.ts +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationMeasureValueFilterContext.d.ts +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/components/AutomationMeasureValueFilterContext.js +0 -0
- /package/esm/presentation/{automationFilters → automations/shared/automationFilters}/hooks/useAutomationVisibleFilters.d.ts +0 -0
package/NOTICE
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
|
|
9
9
|
|
|
10
|
-
Date generated: 2026-5-
|
|
10
|
+
Date generated: 2026-5-25
|
|
11
11
|
|
|
12
|
-
Revision ID:
|
|
12
|
+
Revision ID: 071fd8600e18fa643f19bd192894b326ecedff0a
|
|
13
13
|
|
|
14
14
|
================================================================================
|
|
15
15
|
================================================================================
|
|
@@ -377,7 +377,7 @@ Revision ID: b6d15371a966d44461e8af8bc123206c32e6cb20
|
|
|
377
377
|
- bail (2.0.2) [MIT]
|
|
378
378
|
- balanced-match (2.0.0) [MIT]
|
|
379
379
|
- base64-js (1.5.1) [MIT]
|
|
380
|
-
- baseline-browser-mapping (2.10.
|
|
380
|
+
- baseline-browser-mapping (2.10.32) [Apache-2.0]
|
|
381
381
|
- batch (0.6.1) [MIT]
|
|
382
382
|
- binary-extensions (2.3.0) [MIT]
|
|
383
383
|
- bl (4.1.0) [MIT]
|
|
@@ -5379,9 +5379,9 @@ MIT
|
|
|
5379
5379
|
|
|
5380
5380
|
|
|
5381
5381
|
--------------------------------------------------------------------------------
|
|
5382
|
-
Package Title: baseline-browser-mapping (2.10.
|
|
5382
|
+
Package Title: baseline-browser-mapping (2.10.32)
|
|
5383
5383
|
|
|
5384
|
-
Package Locator: npm+baseline-browser-mapping$2.10.
|
|
5384
|
+
Package Locator: npm+baseline-browser-mapping$2.10.32
|
|
5385
5385
|
|
|
5386
5386
|
Package Depth: Transitive
|
|
5387
5387
|
--------------------------------------------------------------------------------
|
|
@@ -38189,4 +38189,4 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
38189
38189
|
--------------------------------------------------------------------------------
|
|
38190
38190
|
--------------------------------------------------------------------------------
|
|
38191
38191
|
|
|
38192
|
-
Report Generated by FOSSA on 2026-5-
|
|
38192
|
+
Report Generated by FOSSA on 2026-5-25
|
package/esm/__version.d.ts
CHANGED
package/esm/__version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2021 GoodData Corporation
|
|
2
2
|
// DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
|
|
3
|
-
export const LIB_VERSION = "11.37.0
|
|
3
|
+
export const LIB_VERSION = "11.37.0";
|
|
4
4
|
export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
|
|
5
5
|
export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
|
|
@@ -39,5 +39,10 @@ export declare function dashboardFilterContextIdentity<TWidget>({ filterContext
|
|
|
39
39
|
export declare function dashboardFilterContextSanitize(filterContext: IFilterContextDefinition): IFilterContextDefinition;
|
|
40
40
|
/**
|
|
41
41
|
* Transform supported dashboard filter to filter context item.
|
|
42
|
+
*
|
|
43
|
+
* Returns undefined when the input has no honest representation in the dashboard filter context —
|
|
44
|
+
* specifically for insight-originated MVFs that reference the measure via LocalIdRef (bucket localId).
|
|
45
|
+
* Dashboard MVFs require an ObjRef measure; callers receiving alert/automation execution filters
|
|
46
|
+
* (which mix dashboard and insight filters) should drop the undefined entries.
|
|
42
47
|
*/
|
|
43
|
-
export declare function dashboardFilterToFilterContextItem(filter: IDashboardFilter, keepDatasets: boolean): FilterContextItem;
|
|
48
|
+
export declare function dashboardFilterToFilterContextItem(filter: IDashboardFilter, keepDatasets: boolean): FilterContextItem | undefined;
|
|
@@ -111,6 +111,11 @@ export function dashboardFilterContextSanitize(filterContext) {
|
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
113
|
* Transform supported dashboard filter to filter context item.
|
|
114
|
+
*
|
|
115
|
+
* Returns undefined when the input has no honest representation in the dashboard filter context —
|
|
116
|
+
* specifically for insight-originated MVFs that reference the measure via LocalIdRef (bucket localId).
|
|
117
|
+
* Dashboard MVFs require an ObjRef measure; callers receiving alert/automation execution filters
|
|
118
|
+
* (which mix dashboard and insight filters) should drop the undefined entries.
|
|
114
119
|
*/
|
|
115
120
|
export function dashboardFilterToFilterContextItem(filter, keepDatasets) {
|
|
116
121
|
if (isAttributeFilterWithSelection(filter)) {
|
|
@@ -157,10 +162,12 @@ export function dashboardFilterToFilterContextItem(filter, keepDatasets) {
|
|
|
157
162
|
}
|
|
158
163
|
else if (isMeasureValueFilter(filter)) {
|
|
159
164
|
const measure = measureValueFilterMeasure(filter);
|
|
160
|
-
// Dashboard
|
|
161
|
-
//
|
|
165
|
+
// Dashboard MVFs always reference the measure by ObjRef. Insight MVFs use LocalIdRef
|
|
166
|
+
// (bucket localId) and have no honest representation in the dashboard filter context —
|
|
167
|
+
// they reach this converter only because automation execution filters mix dashboard and
|
|
168
|
+
// insight filters. Caller is responsible for dropping these undefined entries.
|
|
162
169
|
if (!isObjRef(measure)) {
|
|
163
|
-
|
|
170
|
+
return undefined;
|
|
164
171
|
}
|
|
165
172
|
const conditions = measureValueFilterConditions(filter);
|
|
166
173
|
return {
|
package/esm/index.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ export { type ISwitchDashboardTab, type ISwitchDashboardTabPayload, type IConver
|
|
|
61
61
|
export { type IDashboardEvent, type DashboardEventType, type ICustomDashboardEvent, type DashboardEventBody, isDashboardEvent, isCustomDashboardEvent, isDashboardEventOrCustomDashboardEvent, } from "./model/events/base.js";
|
|
62
62
|
export { type DateFilterValidationFailed, type DateFilterValidationFailedPayload, type DashboardInitialized, type DashboardInitializedPayload, type DashboardDeinitialized, type DashboardDeinitializedPayload, type DashboardSaved, type DashboardSavedPayload, type DashboardCopySaved, type DashboardCopySavedPayload, type IDashboardRenamed, type IDashboardRenamedPayload, type IDashboardWasReset, type IDashboardWasResetPayload, type IDashboardDeleted, type IDashboardDeletedPayload, type IDashboardExportToPdfRequested, type IDashboardExportToPdfResolved, type IDashboardExportToPdfResolvedPayload, type DashboardSharingChanged, type DashboardSharingChangedPayload, type IDashboardExportToExcelRequested, type IDashboardExportToExcelResolved, type IDashboardExportToPdfPresentationRequested, type IDashboardExportToPdfPresentationResolved, type IDashboardExportToPptPresentationRequested, type IDashboardExportToPptPresentationResolved, type IDashboardExportToExcelResolvedPayload, type IDashboardExportToPdfPresentationResolvedPayload, type IDashboardExportToPptPresentationResolvedPayload, type IDashboardIgnoreExecutionTimestampChanged, type IDashboardIgnoreExecutionTimestampChangedPayload, type IDashboardExportToImageRequested, type IDashboardExportToImageResolved, type IDashboardExportToImageResolvedPayload, isDashboardSaved, isDashboardCopySaved, isDashboardInitialized, isDashboardDeinitialized, isDashboardRenamed, isDashboardWasReset, isDashboardDeleted, isDateFilterValidationFailed, isDashboardExportToPdfRequested, isDashboardExportToPdfResolved, isDashboardSharingChanged, isDashboardExportToExcelRequested, isDashboardExportToExcelResolved, isDashboardExportToPdfPresentationRequested, isDashboardExportToPdfPresentationResolved, isDashboardExportToPptPresentationResolved, isDashboardExportToPptPresentationRequested, isDashboardExportToImageRequested, isDashboardExportToImageResolved, isDashboardIgnoreExecutionTimestampChanged, } from "./model/events/dashboard.js";
|
|
63
63
|
export { type IDashboardTabSwitched, type IDashboardTabSwitchedPayload, type IDashboardTabCreated, type IDashboardTabCreatedPayload, type IDashboardTabConvertedFromDefault, type IDashboardTabConvertedFromDefaultPayload, type IDashboardTabDeleted, type IDashboardTabDeletedPayload, type IDashboardTabRenamingStarted, type IDashboardTabRenamingStartedPayload, type IDashboardTabRenamingCanceled, type IDashboardTabRenamingCanceledPayload, type IDashboardTabRenamed, type IDashboardTabRenamedPayload, dashboardTabSwitched, isDashboardTabSwitched, dashboardTabCreated, isDashboardTabCreated, dashboardTabConvertedFromDefault, isDashboardTabConvertedFromDefault, dashboardTabDeleted, isDashboardTabDeleted, dashboardTabRenamingStarted, isDashboardTabRenamingStarted, dashboardTabRenamingCanceled, isDashboardTabRenamingCanceled, dashboardTabRenamed, isDashboardTabRenamed, } from "./model/events/tabs.js";
|
|
64
|
+
export { type IDashboardParametersSelectionReset, parametersSelectionReset, isDashboardParametersSelectionReset, } from "./model/events/parameters.js";
|
|
64
65
|
export { type IDashboardCommandStarted, type IDashboardCommandStartedPayload, type IDashboardCommandRejected, type IDashboardCommandFailed, type IDashboardCommandFailedPayload, type ActionFailedErrorReason, type IDashboardQueryRejected, type IDashboardQueryFailed, type IDashboardQueryFailedPayload, type IDashboardQueryStarted, type IDashboardQueryStartedPayload, type IDashboardQueryCompleted, type IDashboardQueryCompletedPayload, isDashboardCommandStarted, isDashboardCommandFailed, isDashboardQueryFailed, isDashboardCommandRejected, isDashboardQueryCompleted, isDashboardQueryRejected, isDashboardQueryStarted, } from "./model/events/general.js";
|
|
65
66
|
export { type DashboardDateFilterSelectionChanged, type DashboardDateFilterSelectionChangedPayload, type DashboardAttributeFilterSelectionChangedPayload, type DashboardAttributeFilterItemSelectionReplaced, type DashboardAttributeFilterItemSelectionReplacedPayload, type DashboardFilterContextChanged, type DashboardFilterContextChangedPayload, type IDashboardAttributeFilterParentChanged, type IDashboardAttributeFilterParentChangedPayload, type IDashboardAttributeFilterRemoved, type IDashboardAttributeFilterRemovedPayload, type DashboardAttributeFilterSelectionChanged, type IDashboardAttributeTitleChanged, type IDashboardAttributeTitleChangedPayload, type IDashboardAttributeSelectionModeChanged, type IDashboardAttributeSelectionModeChangedPayload, type IDashboardAttributeFilterMoved, type IDashboardAttributeFilterMovedPayload, type IDashboardAttributeFilterAdded, type IDashboardAttributeFilterAddedPayload, type IDashboardAttributeFilterConfigModeChanged, type IDashboardAttributeFilterConfigModeChangedPayload, type IDashboardAttributeFilterConfigLimitingItemsChanged, type IDashboardAttributeFilterConfigLimitingItemsChangedPayload, type IDashboardMeasureValueFilterAdded, type IDashboardMeasureValueFilterAddedPayload, type IDashboardMeasureValueFilterRemoved, type IDashboardMeasureValueFilterRemovedPayload, type IDashboardMeasureValueFilterMoved, type IDashboardMeasureValueFilterMovedPayload, type IDashboardMeasureValueFilterTitleChanged, type IDashboardMeasureValueFilterTitleChangedPayload, type IDashboardMeasureValueFilterConfigModeChanged, type IDashboardMeasureValueFilterConfigModeChangedPayload, type IDashboardFilterViewCreationSucceeded, type IDashboardFilterViewCreationSucceededPayload, type IDashboardFilterViewCreationFailed, type IDashboardFilterViewDeletionSucceeded, type IDashboardFilterViewDeletionSucceededPayload, type IDashboardFilterViewDeletionFailed, type IDashboardFilterViewApplicationSucceeded, type IDashboardFilterViewApplicationSucceededPayload, type IDashboardFilterViewApplicationFailed, type IDashboardFilterViewDefaultStatusChangeSucceeded, type IDashboardFilterViewDefaultStatusChangeSucceededPayload, type IDashboardFilterViewDefaultStatusChangeFailed, type IDashboardFilterViewDefaultStatusChangeFailedPayload, type IDashboardFilterContextSelectionReset, type IDashboardFilterContextWorkingSelectionApplied, type IDashboardMeasureValueFilterConditionChanged, type IDashboardMeasureValueFilterConditionChangedPayload, isDashboardMeasureValueFilterAdded, isDashboardMeasureValueFilterRemoved, isDashboardMeasureValueFilterMoved, isDashboardMeasureValueFilterTitleChanged, isDashboardMeasureValueFilterConfigModeChanged, isDashboardMeasureValueFilterConditionChanged, isDashboardAttributeFilterAdded, isDashboardAttributeFilterMoved, isDashboardAttributeFilterParentChanged, isDashboardAttributeFilterRemoved, isDashboardAttributeFilterSelectionChanged, isDashboardAttributeFilterItemSelectionReplaced, isDashboardAttributeFilterSelectionModeChanged, isDashboardAttributeFilterTitleChanged, isDashboardDateFilterSelectionChanged, isDashboardFilterContextChanged, isDashboardAttributeFilterConfigModeChanged, isDashboardAttributeFilterConfigLimitingItemsChanged, isDashboardFilterViewCreationSucceeded, isDashboardFilterViewCreationFailed, isDashboardFilterViewDeletionSucceeded, isDashboardFilterViewDeletionFailed, isDashboardFilterViewApplicationSucceeded, isDashboardFilterViewApplicationFailed, isDashboardFilterViewDefaultStatusChangeSucceeded, isDashboardFilterViewDefaultStatusChangeFailed, isDashboardFilterContextSelectionReset, isDashboardFilterContextWorkingSelectionApplied, filterContextSelectionReset, filterContextWorkingSelectionApplied, } from "./model/events/filters.js";
|
|
66
67
|
export { type IDashboardLayoutSectionAdded, type IDashboardLayoutSectionAddedPayload, type IDashboardLayoutSectionMoved, type IDashboardLayoutSectionMovedPayload, type IDashboardLayoutSectionRemoved, type IDashboardLayoutSectionRemovedPayload, type IDashboardLayoutSectionHeaderChanged, type IDashboardLayoutSectionHeaderChangedPayload, type IDashboardLayoutSectionItemsAdded, type IDashboardLayoutSectionItemsAddedPayload, type IDashboardLayoutSectionItemReplaced, type IDashboardLayoutSectionItemReplacedPayload, type IDashboardLayoutSectionItemMoved, type IDashboardLayoutSectionItemMovedPayload, type IDashboardLayoutSectionItemRemoved, type IDashboardLayoutSectionItemRemovedPayload, type IDashboardLayoutSectionItemMovedToNewSection, type IDashboardLayoutSectionItemMovedToNewSectionPayload, type IDashboardLayoutChanged, type IDashboardLayoutChangedPayload, type ILayoutSectionHeadersToggled, type ILayoutSectionHeadersToggledPayload, type IScreenSizeChanged, type IScreenSizeChangedPayload, type ILayoutDirectionChanged, type ILayoutDirectionChangedPayload, isDashboardLayoutChanged, isDashboardLayoutSectionAdded, isDashboardLayoutSectionHeaderChanged, isDashboardLayoutSectionItemMoved, isDashboardLayoutSectionItemMovedToNewSection, isDashboardLayoutSectionItemRemoved, isDashboardLayoutSectionItemReplaced, isDashboardLayoutSectionItemsAdded, isDashboardLayoutSectionMoved, isDashboardLayoutSectionRemoved, isScreenSizeChanged, isLayoutSectionHeadersToggled, isLayoutDirectionChanged, } from "./model/events/layout.js";
|
|
@@ -138,7 +139,7 @@ export { catalogActions } from "./model/store/catalog/index.js";
|
|
|
138
139
|
export type { SetCatalogMeasuresAndFactsPayload, SetCatalogItemsPayload, } from "./model/store/catalog/catalogReducers.js";
|
|
139
140
|
export type { IAddParameterPayload, IRemoveParameterPayload, ISetParameterRuntimeValuePayload, ISetParameterRuntimeValuesPayload, } from "./model/store/tabs/parameters/parametersReducers.js";
|
|
140
141
|
export type { IDashboardParameterEntry, IParametersState, } from "./model/store/tabs/parameters/parametersState.js";
|
|
141
|
-
export { selectDashboardParameterEntries, selectDashboardParameters, selectEffectiveParameterValuesForWidget, selectIsParametersChanged, selectParameterRuntimeOverrideByRef, } from "./model/store/tabs/parameters/parametersSelectors.js";
|
|
142
|
+
export { selectDashboardParameterEntries, selectDashboardParameters, selectEffectiveParameterValuesForWidget, selectHasAnyResettableParameterOnActiveTab, selectIsParametersChanged, selectParameterRuntimeOverrideByRef, } from "./model/store/tabs/parameters/parametersSelectors.js";
|
|
142
143
|
export { drillActions } from "./model/store/drill/index.js";
|
|
143
144
|
export { selectDrillableItems, selectIsCrossFiltering, selectCrossFilteringItems, selectCrossFilteringItemByWidgetRef, selectCrossFilteringFiltersLocalIdentifiers, selectCrossFilteringFiltersLocalIdentifiersByWidgetRef, selectCrossFilteringSelectedPointsByWidgetRef, selectIsFilterFromCrossFilteringByLocalIdentifier, } from "./model/store/drill/drillSelectors.js";
|
|
144
145
|
export type { IDrillState } from "./model/store/drill/drillState.js";
|
|
@@ -242,16 +243,16 @@ export type { IFilterBarProps, CustomFilterBarComponent } from "./presentation/f
|
|
|
242
243
|
export { DefaultFlexibleDashboardLayout } from "./presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js";
|
|
243
244
|
export { DefaultDashboardLayout } from "./presentation/flexibleLayout/DefaultDashboardLayout.js";
|
|
244
245
|
export type { CustomEmptyLayoutDropZoneBodyComponent } from "./presentation/flexibleLayout/types.js";
|
|
245
|
-
export { DefaultScheduledEmailDialog } from "./presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js";
|
|
246
|
-
export { ScheduledEmailManagementDialog as DefaultScheduledEmailManagementDialog } from "./presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js";
|
|
247
|
-
export { ScheduledEmailDialog } from "./presentation/scheduledEmail/ScheduledEmailDialog.js";
|
|
248
|
-
export { ScheduledEmailManagementDialog } from "./presentation/scheduledEmail/ScheduledEmailManagementDialog.js";
|
|
249
|
-
export type { IScheduledEmailDialogProps, IScheduledEmailManagementDialogProps, CustomScheduledEmailDialogComponent, CustomScheduledEmailManagementDialogComponent, } from "./presentation/scheduledEmail/types.js";
|
|
250
|
-
export { DefaultAlertingDialog } from "./presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js";
|
|
251
|
-
export { DefaultAlertingManagementDialogNew } from "./presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js";
|
|
252
|
-
export { AlertingDialog } from "./presentation/alerting/AlertingDialog.js";
|
|
253
|
-
export { AlertingManagementDialog } from "./presentation/alerting/AlertingManagementDialog.js";
|
|
254
|
-
export type { CustomAlertingManagementDialogComponent, CustomAlertingDialogComponent, IAlertingManagementDialogProps, IAlertingDialogProps, } from "./presentation/alerting/types.js";
|
|
246
|
+
export { DefaultScheduledEmailDialog } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js";
|
|
247
|
+
export { ScheduledEmailManagementDialog as DefaultScheduledEmailManagementDialog } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js";
|
|
248
|
+
export { ScheduledEmailDialog } from "./presentation/automations/scheduledEmail/ScheduledEmailDialog.js";
|
|
249
|
+
export { ScheduledEmailManagementDialog } from "./presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.js";
|
|
250
|
+
export type { IScheduledEmailDialogProps, IScheduledEmailManagementDialogProps, CustomScheduledEmailDialogComponent, CustomScheduledEmailManagementDialogComponent, } from "./presentation/automations/scheduledEmail/types.js";
|
|
251
|
+
export { DefaultAlertingDialog } from "./presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js";
|
|
252
|
+
export { DefaultAlertingManagementDialogNew } from "./presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js";
|
|
253
|
+
export { AlertingDialog } from "./presentation/automations/alerting/AlertingDialog.js";
|
|
254
|
+
export { AlertingManagementDialog } from "./presentation/automations/alerting/AlertingManagementDialog.js";
|
|
255
|
+
export type { CustomAlertingManagementDialogComponent, CustomAlertingDialogComponent, IAlertingManagementDialogProps, IAlertingDialogProps, } from "./presentation/automations/alerting/types.js";
|
|
255
256
|
export { DefaultSaveAsDialog, useSaveAsDialogProps, } from "./presentation/saveAs/DefaultSaveAsDialog/index.js";
|
|
256
257
|
export { SaveAsDialog } from "./presentation/saveAs/SaveAsDialog.js";
|
|
257
258
|
export type { CustomSaveAsDialogComponent, ISaveAsDialogProps } from "./presentation/saveAs/types.js";
|
package/esm/index.js
CHANGED
|
@@ -47,6 +47,7 @@ export { switchDashboardTab, repositionDashboardTab, convertDashboardTabFromDefa
|
|
|
47
47
|
export { isDashboardEvent, isCustomDashboardEvent, isDashboardEventOrCustomDashboardEvent, } from "./model/events/base.js";
|
|
48
48
|
export { isDashboardSaved, isDashboardCopySaved, isDashboardInitialized, isDashboardDeinitialized, isDashboardRenamed, isDashboardWasReset, isDashboardDeleted, isDateFilterValidationFailed, isDashboardExportToPdfRequested, isDashboardExportToPdfResolved, isDashboardSharingChanged, isDashboardExportToExcelRequested, isDashboardExportToExcelResolved, isDashboardExportToPdfPresentationRequested, isDashboardExportToPdfPresentationResolved, isDashboardExportToPptPresentationResolved, isDashboardExportToPptPresentationRequested, isDashboardExportToImageRequested, isDashboardExportToImageResolved, isDashboardIgnoreExecutionTimestampChanged, } from "./model/events/dashboard.js";
|
|
49
49
|
export { dashboardTabSwitched, isDashboardTabSwitched, dashboardTabCreated, isDashboardTabCreated, dashboardTabConvertedFromDefault, isDashboardTabConvertedFromDefault, dashboardTabDeleted, isDashboardTabDeleted, dashboardTabRenamingStarted, isDashboardTabRenamingStarted, dashboardTabRenamingCanceled, isDashboardTabRenamingCanceled, dashboardTabRenamed, isDashboardTabRenamed, } from "./model/events/tabs.js";
|
|
50
|
+
export { parametersSelectionReset, isDashboardParametersSelectionReset, } from "./model/events/parameters.js";
|
|
50
51
|
export { isDashboardCommandStarted, isDashboardCommandFailed, isDashboardQueryFailed, isDashboardCommandRejected, isDashboardQueryCompleted, isDashboardQueryRejected, isDashboardQueryStarted, } from "./model/events/general.js";
|
|
51
52
|
export { isDashboardMeasureValueFilterAdded, isDashboardMeasureValueFilterRemoved, isDashboardMeasureValueFilterMoved, isDashboardMeasureValueFilterTitleChanged, isDashboardMeasureValueFilterConfigModeChanged, isDashboardMeasureValueFilterConditionChanged, isDashboardAttributeFilterAdded, isDashboardAttributeFilterMoved, isDashboardAttributeFilterParentChanged, isDashboardAttributeFilterRemoved, isDashboardAttributeFilterSelectionChanged, isDashboardAttributeFilterItemSelectionReplaced, isDashboardAttributeFilterSelectionModeChanged, isDashboardAttributeFilterTitleChanged, isDashboardDateFilterSelectionChanged, isDashboardFilterContextChanged, isDashboardAttributeFilterConfigModeChanged, isDashboardAttributeFilterConfigLimitingItemsChanged, isDashboardFilterViewCreationSucceeded, isDashboardFilterViewCreationFailed, isDashboardFilterViewDeletionSucceeded, isDashboardFilterViewDeletionFailed, isDashboardFilterViewApplicationSucceeded, isDashboardFilterViewApplicationFailed, isDashboardFilterViewDefaultStatusChangeSucceeded, isDashboardFilterViewDefaultStatusChangeFailed, isDashboardFilterContextSelectionReset, isDashboardFilterContextWorkingSelectionApplied, filterContextSelectionReset, filterContextWorkingSelectionApplied, } from "./model/events/filters.js";
|
|
52
53
|
export { isDashboardLayoutChanged, isDashboardLayoutSectionAdded, isDashboardLayoutSectionHeaderChanged, isDashboardLayoutSectionItemMoved, isDashboardLayoutSectionItemMovedToNewSection, isDashboardLayoutSectionItemRemoved, isDashboardLayoutSectionItemReplaced, isDashboardLayoutSectionItemsAdded, isDashboardLayoutSectionMoved, isDashboardLayoutSectionRemoved, isScreenSizeChanged, isLayoutSectionHeadersToggled, isLayoutDirectionChanged, } from "./model/events/layout.js";
|
|
@@ -99,7 +100,7 @@ export { selectDateFilterConfigsOverrides, selectDateFilterConfigsOverridesByTab
|
|
|
99
100
|
export { selectInsights, selectInsightRefs, selectInsightsMap, selectInsightByRef, selectInsightByWidgetRef, selectRawExportOverridesForInsightByRef, } from "./model/store/insights/insightsSelectors.js";
|
|
100
101
|
export { selectCatalogIsLoaded, selectAttributesWithDrillDown, selectCatalogAttributes, selectCatalogAttributeDisplayForms, selectCatalogDateDatasets, selectCatalogFacts, selectCatalogMeasures, selectAllCatalogAttributesMap, selectAllCatalogDisplayFormsMap, selectAllCatalogDateDatasetsMap, selectAllCatalogMeasuresMap, selectHasCatalogAttributes, selectHasCatalogMeasures, selectHasCatalogDateDatasets, selectHasCatalogFacts, selectCatalogAttributeHierarchies, selectCatalogDateAttributes, selectDateHierarchyTemplates, selectAdhocDateHierarchies, selectAllCatalogAttributeHierarchies, selectCatalogAttributeDisplayFormsById, selectCatalogParameters, selectCatalogParametersStatus, selectCatalogParametersIsLoaded, selectCatalogMeasureParameters, selectCatalogMeasureParametersStatus, } from "./model/store/catalog/catalogSelectors.js";
|
|
101
102
|
export { catalogActions } from "./model/store/catalog/index.js";
|
|
102
|
-
export { selectDashboardParameterEntries, selectDashboardParameters, selectEffectiveParameterValuesForWidget, selectIsParametersChanged, selectParameterRuntimeOverrideByRef, } from "./model/store/tabs/parameters/parametersSelectors.js";
|
|
103
|
+
export { selectDashboardParameterEntries, selectDashboardParameters, selectEffectiveParameterValuesForWidget, selectHasAnyResettableParameterOnActiveTab, selectIsParametersChanged, selectParameterRuntimeOverrideByRef, } from "./model/store/tabs/parameters/parametersSelectors.js";
|
|
103
104
|
export { drillActions } from "./model/store/drill/index.js";
|
|
104
105
|
export { selectDrillableItems, selectIsCrossFiltering, selectCrossFilteringItems, selectCrossFilteringItemByWidgetRef, selectCrossFilteringFiltersLocalIdentifiers, selectCrossFilteringFiltersLocalIdentifiersByWidgetRef, selectCrossFilteringSelectedPointsByWidgetRef, selectIsFilterFromCrossFilteringByLocalIdentifier, } from "./model/store/drill/drillSelectors.js";
|
|
105
106
|
export { selectCurrentUser, selectCurrentUserRef } from "./model/store/user/userSelectors.js";
|
|
@@ -174,14 +175,14 @@ export { HiddenFilterBar } from "./presentation/filterBar/filterBar/HiddenFilter
|
|
|
174
175
|
export { RenderModeAwareFilterBar } from "./presentation/filterBar/filterBar/RenderModeAwareFilterBar.js";
|
|
175
176
|
export { DefaultFlexibleDashboardLayout } from "./presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js";
|
|
176
177
|
export { DefaultDashboardLayout } from "./presentation/flexibleLayout/DefaultDashboardLayout.js";
|
|
177
|
-
export { DefaultScheduledEmailDialog } from "./presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js";
|
|
178
|
-
export { ScheduledEmailManagementDialog as DefaultScheduledEmailManagementDialog } from "./presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js";
|
|
179
|
-
export { ScheduledEmailDialog } from "./presentation/scheduledEmail/ScheduledEmailDialog.js";
|
|
180
|
-
export { ScheduledEmailManagementDialog } from "./presentation/scheduledEmail/ScheduledEmailManagementDialog.js";
|
|
181
|
-
export { DefaultAlertingDialog } from "./presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js";
|
|
182
|
-
export { DefaultAlertingManagementDialogNew } from "./presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js";
|
|
183
|
-
export { AlertingDialog } from "./presentation/alerting/AlertingDialog.js";
|
|
184
|
-
export { AlertingManagementDialog } from "./presentation/alerting/AlertingManagementDialog.js";
|
|
178
|
+
export { DefaultScheduledEmailDialog } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js";
|
|
179
|
+
export { ScheduledEmailManagementDialog as DefaultScheduledEmailManagementDialog } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js";
|
|
180
|
+
export { ScheduledEmailDialog } from "./presentation/automations/scheduledEmail/ScheduledEmailDialog.js";
|
|
181
|
+
export { ScheduledEmailManagementDialog } from "./presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.js";
|
|
182
|
+
export { DefaultAlertingDialog } from "./presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js";
|
|
183
|
+
export { DefaultAlertingManagementDialogNew } from "./presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js";
|
|
184
|
+
export { AlertingDialog } from "./presentation/automations/alerting/AlertingDialog.js";
|
|
185
|
+
export { AlertingManagementDialog } from "./presentation/automations/alerting/AlertingManagementDialog.js";
|
|
185
186
|
export { DefaultSaveAsDialog, useSaveAsDialogProps, } from "./presentation/saveAs/DefaultSaveAsDialog/index.js";
|
|
186
187
|
export { SaveAsDialog } from "./presentation/saveAs/SaveAsDialog.js";
|
|
187
188
|
export { ButtonBar } from "./presentation/topBar/buttonBar/ButtonBar.js";
|
package/esm/internal.d.ts
CHANGED
|
@@ -35,12 +35,12 @@ export { DashboardItemKpi } from "./presentation/presentationComponents/Dashboar
|
|
|
35
35
|
export { DashboardItemVisualization } from "./presentation/presentationComponents/DashboardItems/DashboardItemVisualization.js";
|
|
36
36
|
export { getVisTypeCssClass } from "./presentation/presentationComponents/DashboardItems/utils.js";
|
|
37
37
|
export { ThemedLoadingEqualizer } from "./presentation/presentationComponents/ThemedLoadingEqualizer.js";
|
|
38
|
-
export { DefaultScheduledEmailDialog, ScheduledMailDialogRenderer, } from "./presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js";
|
|
39
|
-
export { ScheduledEmailManagementDialog as DefaultScheduledEmailManagementDialog } from "./presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js";
|
|
40
|
-
export { ScheduledEmailDialog } from "./presentation/scheduledEmail/ScheduledEmailDialog.js";
|
|
41
|
-
export { ScheduledEmailManagementDialog } from "./presentation/scheduledEmail/ScheduledEmailManagementDialog.js";
|
|
42
|
-
export type { CustomScheduledEmailDialogComponent, CustomScheduledEmailManagementDialogComponent, IScheduledEmailDialogProps, IScheduledEmailManagementDialogProps, } from "./presentation/scheduledEmail/types.js";
|
|
43
|
-
export { PLATFORM_DATE_FORMAT } from "./presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.js";
|
|
38
|
+
export { DefaultScheduledEmailDialog, ScheduledMailDialogRenderer, } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js";
|
|
39
|
+
export { ScheduledEmailManagementDialog as DefaultScheduledEmailManagementDialog } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js";
|
|
40
|
+
export { ScheduledEmailDialog } from "./presentation/automations/scheduledEmail/ScheduledEmailDialog.js";
|
|
41
|
+
export { ScheduledEmailManagementDialog } from "./presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.js";
|
|
42
|
+
export type { CustomScheduledEmailDialogComponent, CustomScheduledEmailManagementDialogComponent, IScheduledEmailDialogProps, IScheduledEmailManagementDialogProps, } from "./presentation/automations/scheduledEmail/types.js";
|
|
43
|
+
export { PLATFORM_DATE_FORMAT } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/constants.js";
|
|
44
44
|
export { getBrokenAlertFiltersBasicInfo } from "./model/utils/alertsUtils.js";
|
|
45
45
|
export { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT, DASHBOARD_LAYOUT_GRID_SINGLE_COLUMN, } from "./_staging/dashboard/flexibleLayout/config.js";
|
|
46
46
|
export { type MeasurableWidgetContent, getSizeInfo, getInsightPlaceholderSizeInfo, getDashboardLayoutWidgetDefaultHeight, getDashboardLayoutWidgetMinGridHeight, getDashboardLayoutWidgetMaxGridHeight, getContainerHeight, getMinHeight, getMaxHeight, getDashboardLayoutWidgetMinGridWidth, getMinWidth, normalizeItemSizeToParent, calculateWidgetMinHeight, getDashboardLayoutItemHeight, getDashboardLayoutItemHeightForGrid, determineSizeForScreen, determineWidthForScreen, implicitLayoutItemSizeFromXlSize, splitDashboardLayoutItemsAsRenderedGridRows, } from "./_staging/layout/sizing.js";
|
package/esm/internal.js
CHANGED
|
@@ -34,11 +34,11 @@ export { DashboardItemKpi } from "./presentation/presentationComponents/Dashboar
|
|
|
34
34
|
export { DashboardItemVisualization } from "./presentation/presentationComponents/DashboardItems/DashboardItemVisualization.js";
|
|
35
35
|
export { getVisTypeCssClass } from "./presentation/presentationComponents/DashboardItems/utils.js";
|
|
36
36
|
export { ThemedLoadingEqualizer } from "./presentation/presentationComponents/ThemedLoadingEqualizer.js";
|
|
37
|
-
export { DefaultScheduledEmailDialog, ScheduledMailDialogRenderer, } from "./presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js";
|
|
38
|
-
export { ScheduledEmailManagementDialog as DefaultScheduledEmailManagementDialog } from "./presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js";
|
|
39
|
-
export { ScheduledEmailDialog } from "./presentation/scheduledEmail/ScheduledEmailDialog.js";
|
|
40
|
-
export { ScheduledEmailManagementDialog } from "./presentation/scheduledEmail/ScheduledEmailManagementDialog.js";
|
|
41
|
-
export { PLATFORM_DATE_FORMAT } from "./presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.js";
|
|
37
|
+
export { DefaultScheduledEmailDialog, ScheduledMailDialogRenderer, } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js";
|
|
38
|
+
export { ScheduledEmailManagementDialog as DefaultScheduledEmailManagementDialog } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js";
|
|
39
|
+
export { ScheduledEmailDialog } from "./presentation/automations/scheduledEmail/ScheduledEmailDialog.js";
|
|
40
|
+
export { ScheduledEmailManagementDialog } from "./presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.js";
|
|
41
|
+
export { PLATFORM_DATE_FORMAT } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/constants.js";
|
|
42
42
|
export { getBrokenAlertFiltersBasicInfo } from "./model/utils/alertsUtils.js";
|
|
43
43
|
export { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT, DASHBOARD_LAYOUT_GRID_SINGLE_COLUMN, } from "./_staging/dashboard/flexibleLayout/config.js";
|
|
44
44
|
export { getSizeInfo, getInsightPlaceholderSizeInfo, getDashboardLayoutWidgetDefaultHeight, getDashboardLayoutWidgetMinGridHeight, getDashboardLayoutWidgetMaxGridHeight, getContainerHeight, getMinHeight, getMaxHeight, getDashboardLayoutWidgetMinGridWidth, getMinWidth, normalizeItemSizeToParent, calculateWidgetMinHeight, getDashboardLayoutItemHeight, getDashboardLayoutItemHeightForGrid, determineSizeForScreen, determineWidthForScreen, implicitLayoutItemSizeFromXlSize, splitDashboardLayoutItemsAsRenderedGridRows, } from "./_staging/layout/sizing.js";
|
|
@@ -78,16 +78,14 @@ export function* changeFilterContextSelectionHandler(ctx, cmd) {
|
|
|
78
78
|
}
|
|
79
79
|
// Cross-filtering is always compatible with dashboard tabs now
|
|
80
80
|
// (removed the check that prevented cross-filtering without tabs)
|
|
81
|
-
const normalizedFilters = filters.map((filter) => {
|
|
81
|
+
const normalizedFilters = compact(filters.map((filter) => {
|
|
82
82
|
if (isDashboardAttributeFilterItem(filter) ||
|
|
83
83
|
isDashboardDateFilter(filter) ||
|
|
84
84
|
isDashboardMeasureValueFilter(filter)) {
|
|
85
85
|
return filter;
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
});
|
|
87
|
+
return dashboardFilterToFilterContextItem(filter, !!ctx.backend.capabilities.supportsMultipleDateFilters);
|
|
88
|
+
}));
|
|
91
89
|
// Separate text filter types (arbitrary, match) — they use whole-filter replacement
|
|
92
90
|
const textAttributeFiltersRaw = normalizedFilters.filter((filter) => isDashboardAttributeFilterItem(filter) && !isDashboardAttributeFilter(filter));
|
|
93
91
|
// Deduplicate text filters by localIdentifier (last occurrence wins, matching batch behavior)
|
|
@@ -3,7 +3,7 @@ import { compact, omit } from "lodash-es";
|
|
|
3
3
|
import { batchActions } from "redux-batched-actions";
|
|
4
4
|
import { all, call, put, select } from "redux-saga/effects";
|
|
5
5
|
import { generateDateFilterLocalIdentifier } from "@gooddata/sdk-backend-base";
|
|
6
|
-
import { dashboardFilterLocalIdentifier, filterLocalIdentifier, filterObjRef, idRef, insightFilters, isAbsoluteDateFilter, isAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDateFilter, isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isFilterContextItem, isInsightWidget, isMeasureValueFilter,
|
|
6
|
+
import { dashboardFilterLocalIdentifier, filterLocalIdentifier, filterObjRef, idRef, insightFilters, isAbsoluteDateFilter, isAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDateFilter, isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isFilterContextItem, isInsightWidget, isMeasureValueFilter, isRankingFilter, isRelativeDateFilter, isSingleSelectionFilter, } from "@gooddata/sdk-model";
|
|
7
7
|
import { convertError } from "@gooddata/sdk-ui";
|
|
8
8
|
import { dashboardFilterToFilterContextItem } from "../../../_staging/dashboard/dashboardFilterContext.js";
|
|
9
9
|
import { isDashboardFilter } from "../../../types.js";
|
|
@@ -94,7 +94,7 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
|
|
|
94
94
|
? getDashboardFiltersOnly(targetAlertFilters, commonDateFilterLocalId, insight, widget)
|
|
95
95
|
: targetAlertFilters;
|
|
96
96
|
const keepDateFilterDataSets = !!ctx.backend.capabilities.supportsMultipleDateFilters;
|
|
97
|
-
const filtersToSetAsFilterContextItems = filtersToSet.map((filter) => dashboardFilterToFilterContextItem(filter, keepDateFilterDataSets));
|
|
97
|
+
const filtersToSetAsFilterContextItems = compact(filtersToSet.map((filter) => dashboardFilterToFilterContextItem(filter, keepDateFilterDataSets)));
|
|
98
98
|
const compatibleFiltersToSet = filtersToSetAsFilterContextItems.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, effectiveActiveTabSelectionTypeMap, enableArbitraryFilterKD, enableMatchFilterKD, filterContextFilters));
|
|
99
99
|
// Empty alert execution filters = reset all filters (set them to all).
|
|
100
100
|
// Empty sanitized filters = keep filters as they are, do not reset them (all alert execution filters are insight specific / ignored).
|
|
@@ -304,8 +304,10 @@ function getDashboardFiltersOnly(filters, commonDateFilterLocalId, insight, widg
|
|
|
304
304
|
const withoutAlertFilters = removeAlertFilters(filters);
|
|
305
305
|
// Remove insight specific attribute filters from the list of filters.
|
|
306
306
|
const withoutInsightAttributeFilters = removeInsightAttributeFilters(withoutAlertFilters, insight);
|
|
307
|
+
// Remove insight specific MVFs from the list of filters.
|
|
308
|
+
const withoutInsightMVFs = removeInsightMVFs(withoutInsightAttributeFilters, insight);
|
|
307
309
|
// If widget has ignored date filter, remove date filter(s) - they originate from the insight, otherwise, it's the dashboard date filter, so keep it.
|
|
308
|
-
const withoutInsightDateFilters = removeDateFiltersIfDateFilterIsIgnored(
|
|
310
|
+
const withoutInsightDateFilters = removeDateFiltersIfDateFilterIsIgnored(withoutInsightMVFs, widget);
|
|
309
311
|
// Find common date filter by local id or by absence of dataset
|
|
310
312
|
const dateFilters = withoutInsightDateFilters.filter(isDateFilter);
|
|
311
313
|
const foundCommonFilter = dateFilters.find((f) => {
|
|
@@ -334,15 +336,14 @@ function getDashboardFiltersOnly(filters, commonDateFilterLocalId, insight, widg
|
|
|
334
336
|
/**
|
|
335
337
|
* Remove alert filters (these that are set during creation of the alert sliced by attribute) from the list of filters.
|
|
336
338
|
* These filters can be recognized by the fact that they do not have filter objRef (they have localIdentifier only).
|
|
339
|
+
* MVFs and ranking filters are not the concern of this function — filterObjRef returns undefined for them,
|
|
340
|
+
* so they are passed through and filtered by later steps.
|
|
337
341
|
* @internal
|
|
338
342
|
*/
|
|
339
343
|
function removeAlertFilters(filters) {
|
|
340
344
|
return filters?.filter((f) => {
|
|
341
|
-
if (isMeasureValueFilter(f)) {
|
|
342
|
-
|
|
343
|
-
// dashboard MVFs always store an ObjRef (catalog metric) and the downstream conversion
|
|
344
|
-
// in dashboardFilterToFilterContextItem requires it.
|
|
345
|
-
return isObjRef(measureValueFilterMeasure(f));
|
|
345
|
+
if (isMeasureValueFilter(f) || isRankingFilter(f)) {
|
|
346
|
+
return true;
|
|
346
347
|
}
|
|
347
348
|
const objRef = filterObjRef(f);
|
|
348
349
|
return !!objRef;
|
|
@@ -362,6 +363,19 @@ function removeInsightAttributeFilters(filters, insight) {
|
|
|
362
363
|
return !insightFilter;
|
|
363
364
|
});
|
|
364
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* Remove insight specific measure value filters from the list of filters.
|
|
368
|
+
* These filters can be recognized by matching them against insight filters and their local identifiers.
|
|
369
|
+
*/
|
|
370
|
+
function removeInsightMVFs(filters, insight) {
|
|
371
|
+
const insightMVFs = insightFilters(insight).filter(isMeasureValueFilter);
|
|
372
|
+
return filters.filter((f) => {
|
|
373
|
+
const insightFilter = insightMVFs.find((f2) => {
|
|
374
|
+
return filterLocalIdentifier(f) === filterLocalIdentifier(f2);
|
|
375
|
+
});
|
|
376
|
+
return !insightFilter;
|
|
377
|
+
});
|
|
378
|
+
}
|
|
365
379
|
/**
|
|
366
380
|
* Remove date filters if widget date filter is ignored.
|
|
367
381
|
* If widget date filter is not ignored, date filter provided to the alert execution is the dashboard date filter.
|
|
@@ -19,7 +19,7 @@ import { type DashboardContext } from "../types/commonTypes.js";
|
|
|
19
19
|
*
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
|
-
export type DashboardEventType = "GDC.DASH/EVT.COMMAND.FAILED" | "GDC.DASH/EVT.COMMAND.REJECTED" | "GDC.DASH/EVT.COMMAND.STARTED" | "GDC.DASH/EVT.QUERY.FAILED" | "GDC.DASH/EVT.QUERY.REJECTED" | "GDC.DASH/EVT.QUERY.STARTED" | "GDC.DASH/EVT.QUERY.COMPLETED" | "GDC.DASH/EVT.USER_INTERACTION.TRIGGERED" | "GDC.DASH/EVT.INITIALIZED" | "GDC.DASH/EVT.DEINITIALIZED" | "GDC.DASH/EVT.SAVED" | "GDC.DASH/EVT.COPY_SAVED" | "GDC.DASH/EVT.RENAMED" | "GDC.DASH/EVT.RESET" | "GDC.DASH/EVT.DELETED" | "GDC.DASH/EVT.RENDER_MODE.CHANGED" | "GDC.DASH/EVT.EXPORT.PDF.REQUESTED" | "GDC.DASH/EVT.EXPORT.PDF.RESOLVED" | "GDC.DASH/EVT.EXPORT.PDF_PRESENTATION.REQUESTED" | "GDC.DASH/EVT.EXPORT.PDF_PRESENTATION.RESOLVED" | "GDC.DASH/EVT.EXPORT.PPT_PRESENTATION.REQUESTED" | "GDC.DASH/EVT.EXPORT.PPT_PRESENTATION.RESOLVED" | "GDC.DASH/EVT.EXPORT.IMAGE.REQUESTED" | "GDC.DASH/EVT.EXPORT.IMAGE.RESOLVED" | "GDC.DASH/EVT.EXPORT.EXCEL.RESOLVED" | "GDC.DASH/EVT.EXPORT.EXCEL.REQUESTED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.VALIDATION.FAILED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.SELECTION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CONDITION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.TITLE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.SELECTION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER_ITEM.SELECTION_REPLACED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.PARENT_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.DISPLAY_FORM_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.SELECTION_MODE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.TITLE_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.MEASURE_VALUE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.LIMITING_ITEMS_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.DISPLAY_AS_LABEL_CHANGED" | "GDC.DASH/EVT.DATE_FILTER_CONFIG.TITLE_CHANGED" | "GDC.DASH/EVT.DATE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ADDED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_MOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_REMOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_HEADER_CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ITEM_WIDTH_RESIZED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ITEMS_HEIGHT_RESIZED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEMS_ADDED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_REPLACED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_MOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_MOVED_TO_NEW_SECTION" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_REMOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.LAYOUT_CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SCREEN_SIZE_CHANGED" | "GDC.DASH/EVT.FLEXIBLE_LAYOUT.LAYOUT_SECTION_HEADERS_TOGGLED" | "GDC.DASH/EVT.FLEXIBLE_LAYOUT.LAYOUT_DIRECTION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.HEADER_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.DESCRIPTION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.CONFIGURATION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.MEASURE_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.COMPARISON_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.DRILL_REMOVED" | "GDC.DASH/EVT.KPI_WIDGET.DRILL_SET" | "GDC.DASH/EVT.KPI_WIDGET.WIDGET_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.HEADER_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DESCRIPTION_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.PROPERTIES_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.CONFIGURATION_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.IGNORE_CROSS_FILTERING_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.INSIGHT_SWITCHED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILLS_MODIFIED" | "GDC.DASH/EVT.SHOW_WIDGET_AS_TABLE.SET" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILLS_REMOVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_REMOVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_ADDED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_MODIFIED" | "GDC.DASH/EVT.INSIGHT_WIDGET.WIDGET_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.EXPORT_REQUESTED" | "GDC.DASH/EVT.INSIGHT_WIDGET.EXPORT_RESOLVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.REFRESHED" | "GDC.DASH/EVT.RICH_TEXT_WIDGET.CONTENT_CHANGED" | "GDC.DASH/EVT.RICH_TEXT_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.VISUALIZATION_SWITCHER_WIDGET.VISUALIZATION_ADDED" | "GDC.DASH/EVT.VISUALIZATION_SWITCHER_WIDGET.VISUALIZATIONS_UPDATED" | "GDC.DASH/EVT.WIDGET.EXECUTION_STARTED" | "GDC.DASH/EVT.WIDGET.EXECUTION_FAILED" | "GDC.DASH/EVT.WIDGET.EXECUTION_SUCCEEDED" | "GDC.DASH/EVT.ALERT.CREATED" | "GDC.DASH/EVT.ALERT.SAVED" | "GDC.DASH/EVT.SCHEDULED_EMAIL.CREATED" | "GDC.DASH/EVT.SCHEDULED_EMAIL.SAVED" | "GDC.DASH/EVT.DRILL.REQUESTED" | "GDC.DASH/EVT.DRILL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_DOWN.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_DOWN.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_INSIGHT.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_INSIGHT.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_DASHBOARD.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_DASHBOARD.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_ATTRIBUTE_URL.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_ATTRIBUTE_URL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_LEGACY_DASHBOARD.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_LEGACY_DASHBOARD.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILLABLE_ITEMS.CHANGED" | "GDC.DASH/EVT.DRILL.CROSS_FILTERING.REQUESTED" | "GDC.DASH/EVT.DRILL.CROSS_FILTERING.RESOLVED" | "GDC.DASH/EVT.DRILL.KEY_DRIVER_ANALYSIS.REQUESTED" | "GDC.DASH/EVT.DRILL.KEY_DRIVER_ANALYSIS.RESOLVED" | "GDC.DASH/EVT.DRILL_TARGETS.ADDED" | "GDC.DASH/EVT.RENDER.REQUESTED" | "GDC.DASH/EVT.RENDER.ASYNC.REQUESTED" | "GDC.DASH/EVT.RENDER.ASYNC.RESOLVED" | "GDC.DASH/EVT.RENDER.RESOLVED" | "GDC.DASH/EVT.SHARING.CHANGED" | "GDC.DASH/EVT.CREATE_INSIGHT_REQUESTED" | "GDC.DASH/EVT.CREATE_ATTRIBUTE_HIERARCHY_REQUESTED" | "GDC.DASH/EVT.DELETE_ATTRIBUTE_HIERARCHY_REQUESTED" | "GDC.DASH/EVT.ATTRIBUTE_HIERARCHY_MODIFIED" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CREATE.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CREATE.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.DELETE.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.DELETE.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.APPLY.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.APPLY.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS.FAILURE" | "GDC.DASH/EVT.AUTOMATIONS.REFRESHED" | "GDC.DASH/EVT.IGNORE_EXECUTION_TIMESTAMP_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.SELECTION.RESET" | "GDC.DASH/EVT.FILTER_CONTEXT.WORKING_SELECTION.APPLIED" | "GDC.DASH/EVT.TAB.SWITCHED" | "GDC.DASH/EVT.TAB.REPOSITIONED" | "GDC.DASH/EVT.TAB.CONVERTED_FROM_DEFAULT" | "GDC.DASH/EVT.TAB.CREATED" | "GDC.DASH/EVT.TAB.DELETED" | "GDC.DASH/EVT.TAB.RENAME_MODE.STARTED" | "GDC.DASH/EVT.TAB.RENAME_MODE.CANCELED" | "GDC.DASH/EVT.TAB.RENAMED";
|
|
22
|
+
export type DashboardEventType = "GDC.DASH/EVT.COMMAND.FAILED" | "GDC.DASH/EVT.COMMAND.REJECTED" | "GDC.DASH/EVT.COMMAND.STARTED" | "GDC.DASH/EVT.QUERY.FAILED" | "GDC.DASH/EVT.QUERY.REJECTED" | "GDC.DASH/EVT.QUERY.STARTED" | "GDC.DASH/EVT.QUERY.COMPLETED" | "GDC.DASH/EVT.USER_INTERACTION.TRIGGERED" | "GDC.DASH/EVT.INITIALIZED" | "GDC.DASH/EVT.DEINITIALIZED" | "GDC.DASH/EVT.SAVED" | "GDC.DASH/EVT.COPY_SAVED" | "GDC.DASH/EVT.RENAMED" | "GDC.DASH/EVT.RESET" | "GDC.DASH/EVT.DELETED" | "GDC.DASH/EVT.RENDER_MODE.CHANGED" | "GDC.DASH/EVT.EXPORT.PDF.REQUESTED" | "GDC.DASH/EVT.EXPORT.PDF.RESOLVED" | "GDC.DASH/EVT.EXPORT.PDF_PRESENTATION.REQUESTED" | "GDC.DASH/EVT.EXPORT.PDF_PRESENTATION.RESOLVED" | "GDC.DASH/EVT.EXPORT.PPT_PRESENTATION.REQUESTED" | "GDC.DASH/EVT.EXPORT.PPT_PRESENTATION.RESOLVED" | "GDC.DASH/EVT.EXPORT.IMAGE.REQUESTED" | "GDC.DASH/EVT.EXPORT.IMAGE.RESOLVED" | "GDC.DASH/EVT.EXPORT.EXCEL.RESOLVED" | "GDC.DASH/EVT.EXPORT.EXCEL.REQUESTED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.VALIDATION.FAILED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.SELECTION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CONDITION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.TITLE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.SELECTION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER_ITEM.SELECTION_REPLACED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.PARENT_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.DISPLAY_FORM_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.SELECTION_MODE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.TITLE_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.MEASURE_VALUE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.LIMITING_ITEMS_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.DISPLAY_AS_LABEL_CHANGED" | "GDC.DASH/EVT.DATE_FILTER_CONFIG.TITLE_CHANGED" | "GDC.DASH/EVT.DATE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ADDED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_MOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_REMOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_HEADER_CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ITEM_WIDTH_RESIZED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ITEMS_HEIGHT_RESIZED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEMS_ADDED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_REPLACED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_MOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_MOVED_TO_NEW_SECTION" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_REMOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.LAYOUT_CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SCREEN_SIZE_CHANGED" | "GDC.DASH/EVT.FLEXIBLE_LAYOUT.LAYOUT_SECTION_HEADERS_TOGGLED" | "GDC.DASH/EVT.FLEXIBLE_LAYOUT.LAYOUT_DIRECTION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.HEADER_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.DESCRIPTION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.CONFIGURATION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.MEASURE_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.COMPARISON_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.DRILL_REMOVED" | "GDC.DASH/EVT.KPI_WIDGET.DRILL_SET" | "GDC.DASH/EVT.KPI_WIDGET.WIDGET_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.HEADER_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DESCRIPTION_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.PROPERTIES_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.CONFIGURATION_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.IGNORE_CROSS_FILTERING_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.INSIGHT_SWITCHED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILLS_MODIFIED" | "GDC.DASH/EVT.SHOW_WIDGET_AS_TABLE.SET" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILLS_REMOVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_REMOVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_ADDED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_MODIFIED" | "GDC.DASH/EVT.INSIGHT_WIDGET.WIDGET_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.EXPORT_REQUESTED" | "GDC.DASH/EVT.INSIGHT_WIDGET.EXPORT_RESOLVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.REFRESHED" | "GDC.DASH/EVT.RICH_TEXT_WIDGET.CONTENT_CHANGED" | "GDC.DASH/EVT.RICH_TEXT_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.VISUALIZATION_SWITCHER_WIDGET.VISUALIZATION_ADDED" | "GDC.DASH/EVT.VISUALIZATION_SWITCHER_WIDGET.VISUALIZATIONS_UPDATED" | "GDC.DASH/EVT.WIDGET.EXECUTION_STARTED" | "GDC.DASH/EVT.WIDGET.EXECUTION_FAILED" | "GDC.DASH/EVT.WIDGET.EXECUTION_SUCCEEDED" | "GDC.DASH/EVT.ALERT.CREATED" | "GDC.DASH/EVT.ALERT.SAVED" | "GDC.DASH/EVT.SCHEDULED_EMAIL.CREATED" | "GDC.DASH/EVT.SCHEDULED_EMAIL.SAVED" | "GDC.DASH/EVT.DRILL.REQUESTED" | "GDC.DASH/EVT.DRILL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_DOWN.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_DOWN.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_INSIGHT.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_INSIGHT.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_DASHBOARD.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_DASHBOARD.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_ATTRIBUTE_URL.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_ATTRIBUTE_URL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_LEGACY_DASHBOARD.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_LEGACY_DASHBOARD.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILLABLE_ITEMS.CHANGED" | "GDC.DASH/EVT.DRILL.CROSS_FILTERING.REQUESTED" | "GDC.DASH/EVT.DRILL.CROSS_FILTERING.RESOLVED" | "GDC.DASH/EVT.DRILL.KEY_DRIVER_ANALYSIS.REQUESTED" | "GDC.DASH/EVT.DRILL.KEY_DRIVER_ANALYSIS.RESOLVED" | "GDC.DASH/EVT.DRILL_TARGETS.ADDED" | "GDC.DASH/EVT.RENDER.REQUESTED" | "GDC.DASH/EVT.RENDER.ASYNC.REQUESTED" | "GDC.DASH/EVT.RENDER.ASYNC.RESOLVED" | "GDC.DASH/EVT.RENDER.RESOLVED" | "GDC.DASH/EVT.SHARING.CHANGED" | "GDC.DASH/EVT.CREATE_INSIGHT_REQUESTED" | "GDC.DASH/EVT.CREATE_ATTRIBUTE_HIERARCHY_REQUESTED" | "GDC.DASH/EVT.DELETE_ATTRIBUTE_HIERARCHY_REQUESTED" | "GDC.DASH/EVT.ATTRIBUTE_HIERARCHY_MODIFIED" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CREATE.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CREATE.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.DELETE.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.DELETE.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.APPLY.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.APPLY.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS.FAILURE" | "GDC.DASH/EVT.AUTOMATIONS.REFRESHED" | "GDC.DASH/EVT.IGNORE_EXECUTION_TIMESTAMP_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.SELECTION.RESET" | "GDC.DASH/EVT.FILTER_CONTEXT.WORKING_SELECTION.APPLIED" | "GDC.DASH/EVT.TAB.SWITCHED" | "GDC.DASH/EVT.TAB.REPOSITIONED" | "GDC.DASH/EVT.TAB.CONVERTED_FROM_DEFAULT" | "GDC.DASH/EVT.TAB.CREATED" | "GDC.DASH/EVT.TAB.DELETED" | "GDC.DASH/EVT.TAB.RENAME_MODE.STARTED" | "GDC.DASH/EVT.TAB.RENAME_MODE.CANCELED" | "GDC.DASH/EVT.TAB.RENAMED" | "GDC.DASH/EVT.PARAMETERS.SELECTION.RESET";
|
|
23
23
|
/**
|
|
24
24
|
* Base type for all dashboard events.
|
|
25
25
|
*
|
|
@@ -9,6 +9,7 @@ import { type IDashboardInsightWidgetChanged, type IDashboardInsightWidgetDescri
|
|
|
9
9
|
import { type IDashboardKpiWidgetChanged, type IDashboardKpiWidgetComparisonChanged, type IDashboardKpiWidgetConfigurationChanged, type IDashboardKpiWidgetDescriptionChanged, type IDashboardKpiWidgetDrillRemoved, type IDashboardKpiWidgetDrillSet, type IDashboardKpiWidgetFilterSettingsChanged, type IDashboardKpiWidgetHeaderChanged, type IDashboardKpiWidgetMeasureChanged } from "./kpi.js";
|
|
10
10
|
import { type ICreateInsightRequested } from "./lab.js";
|
|
11
11
|
import { type IDashboardLayoutChanged, type IDashboardLayoutSectionAdded, type IDashboardLayoutSectionHeaderChanged, type IDashboardLayoutSectionItemMoved, type IDashboardLayoutSectionItemMovedToNewSection, type IDashboardLayoutSectionItemRemoved, type IDashboardLayoutSectionItemReplaced, type IDashboardLayoutSectionItemsAdded, type IDashboardLayoutSectionMoved, type IDashboardLayoutSectionRemoved } from "./layout.js";
|
|
12
|
+
import { type IDashboardParametersSelectionReset } from "./parameters.js";
|
|
12
13
|
import { type DashboardAsyncRenderRequested, type DashboardAsyncRenderResolved, type DashboardRenderRequested, type DashboardRenderResolved } from "./render.js";
|
|
13
14
|
import { type IDashboardRenderModeChanged } from "./renderMode.js";
|
|
14
15
|
import { type IDashboardRichTextWidgetContentChanged, type IDashboardRichTextWidgetFilterSettingsChanged } from "./richText.js";
|
|
@@ -28,7 +29,7 @@ import { type IDashboardWidgetExecutionFailed, type IDashboardWidgetExecutionSta
|
|
|
28
29
|
*
|
|
29
30
|
* @public
|
|
30
31
|
*/
|
|
31
|
-
export type DashboardEvents = DashboardInitialized | DashboardDeinitialized | DateFilterValidationFailed | DashboardSaved | DashboardCopySaved | DashboardRenderRequested | DashboardAsyncRenderRequested | DashboardAsyncRenderResolved | DashboardRenderResolved | DashboardSharingChanged | IDashboardRenderModeChanged | IDashboardCommandStarted<any> | IDashboardCommandFailed<any> | IDashboardCommandRejected | IDashboardQueryFailed | IDashboardQueryRejected | IDashboardQueryStarted | IDashboardQueryCompleted<any, any> | IDashboardRenamed | IDashboardWasReset | IDashboardExportToPdfRequested | IDashboardExportToPdfResolved | IDashboardExportToExcelRequested | IDashboardExportToExcelResolved | IDashboardExportToPdfPresentationRequested | IDashboardExportToPdfPresentationResolved | IDashboardExportToPptPresentationResolved | IDashboardExportToPptPresentationRequested | IDashboardExportToImageRequested | IDashboardExportToImageResolved | IDashboardUserInteractionTriggered | DashboardDateFilterSelectionChanged | IDashboardAttributeFilterAdded | IDashboardAttributeFilterRemoved | IDashboardAttributeFilterMoved | DashboardAttributeFilterSelectionChanged | DashboardAttributeFilterItemSelectionReplaced | IDashboardAttributeTitleChanged | IDashboardAttributeSelectionModeChanged | IDashboardAttributeFilterParentChanged | IDashboardMeasureValueFilterAdded | IDashboardMeasureValueFilterMoved | IDashboardMeasureValueFilterRemoved | IDashboardMeasureValueFilterTitleChanged | IDashboardMeasureValueFilterConfigModeChanged | DashboardFilterContextChanged | IDashboardLayoutSectionAdded | IDashboardLayoutSectionMoved | IDashboardLayoutSectionRemoved | IDashboardLayoutSectionHeaderChanged | IDashboardLayoutSectionItemsAdded | IDashboardLayoutSectionItemReplaced | IDashboardLayoutSectionItemMoved | IDashboardLayoutSectionItemRemoved | IDashboardLayoutSectionItemMovedToNewSection | IDashboardLayoutChanged | IDashboardKpiWidgetHeaderChanged | IDashboardKpiWidgetDescriptionChanged | IDashboardKpiWidgetConfigurationChanged | IDashboardKpiWidgetMeasureChanged | IDashboardKpiWidgetFilterSettingsChanged | IDashboardKpiWidgetComparisonChanged | IDashboardKpiWidgetDrillRemoved | IDashboardKpiWidgetDrillSet | IDashboardKpiWidgetChanged | IDashboardInsightWidgetHeaderChanged | IDashboardInsightWidgetDescriptionChanged | IDashboardInsightWidgetFilterSettingsChanged | IDashboardInsightWidgetVisPropertiesChanged | IDashboardInsightWidgetVisConfigurationChanged | IDashboardInsightWidgetInsightSwitched | IDashboardInsightWidgetDrillsModified | IDashboardInsightWidgetDrillsRemoved | IDashboardInsightWidgetChanged | IDashboardInsightWidgetExportRequested | IDashboardInsightWidgetExportResolved | IDashboardInsightWidgetRefreshed | IDashboardRichTextWidgetContentChanged | IDashboardRichTextWidgetFilterSettingsChanged | IDashboardVisualizationSwitcherWidgetVisualizationAdded | IDashboardVisualizationSwitcherWidgetVisualizationsUpdated | IDashboardWidgetExecutionStarted | IDashboardWidgetExecutionSucceeded | IDashboardWidgetExecutionFailed | IDashboardAlertCreated | IDashboardAlertSaved | IDashboardScheduledEmailCreated | IDashboardScheduledEmailSaved | IDashboardAutomationsRefreshed | IShowWidgetAsTableSet | IDashboardDrillDownResolved | IDashboardDrillToAttributeUrlResolved | IDashboardDrillToCustomUrlResolved | IDashboardDrillToDashboardResolved | IDashboardDrillToInsightResolved | IDashboardDrillToLegacyDashboardResolved | IDashboardKeyDriverAnalysisResolved | IDashboardKeyDriverAnalysisRequested | IDashboardDrillResolved | IDashboardDrillDownRequested | IDashboardDrillToAttributeUrlRequested | IDashboardDrillToCustomUrlRequested | IDashboardDrillToDashboardRequested | IDashboardDrillToInsightRequested | IDashboardDrillToLegacyDashboardRequested | IDashboardDrillRequested | IDashboardDrillableItemsChanged | IDashboardIgnoreExecutionTimestampChanged | IDashboardTabSwitched | IDashboardTabConvertedFromDefault | IDashboardTabCreated | IDashboardTabDeleted | IDashboardTabRenamingStarted | IDashboardTabRenamingCanceled | IDashboardTabRenamed | ICreateInsightRequested | ICreateAttributeHierarchyRequested | IDeleteAttributeHierarchyRequested;
|
|
32
|
+
export type DashboardEvents = DashboardInitialized | DashboardDeinitialized | DateFilterValidationFailed | DashboardSaved | DashboardCopySaved | DashboardRenderRequested | DashboardAsyncRenderRequested | DashboardAsyncRenderResolved | DashboardRenderResolved | DashboardSharingChanged | IDashboardRenderModeChanged | IDashboardCommandStarted<any> | IDashboardCommandFailed<any> | IDashboardCommandRejected | IDashboardQueryFailed | IDashboardQueryRejected | IDashboardQueryStarted | IDashboardQueryCompleted<any, any> | IDashboardRenamed | IDashboardWasReset | IDashboardExportToPdfRequested | IDashboardExportToPdfResolved | IDashboardExportToExcelRequested | IDashboardExportToExcelResolved | IDashboardExportToPdfPresentationRequested | IDashboardExportToPdfPresentationResolved | IDashboardExportToPptPresentationResolved | IDashboardExportToPptPresentationRequested | IDashboardExportToImageRequested | IDashboardExportToImageResolved | IDashboardUserInteractionTriggered | DashboardDateFilterSelectionChanged | IDashboardAttributeFilterAdded | IDashboardAttributeFilterRemoved | IDashboardAttributeFilterMoved | DashboardAttributeFilterSelectionChanged | DashboardAttributeFilterItemSelectionReplaced | IDashboardAttributeTitleChanged | IDashboardAttributeSelectionModeChanged | IDashboardAttributeFilterParentChanged | IDashboardMeasureValueFilterAdded | IDashboardMeasureValueFilterMoved | IDashboardMeasureValueFilterRemoved | IDashboardMeasureValueFilterTitleChanged | IDashboardMeasureValueFilterConfigModeChanged | DashboardFilterContextChanged | IDashboardLayoutSectionAdded | IDashboardLayoutSectionMoved | IDashboardLayoutSectionRemoved | IDashboardLayoutSectionHeaderChanged | IDashboardLayoutSectionItemsAdded | IDashboardLayoutSectionItemReplaced | IDashboardLayoutSectionItemMoved | IDashboardLayoutSectionItemRemoved | IDashboardLayoutSectionItemMovedToNewSection | IDashboardLayoutChanged | IDashboardKpiWidgetHeaderChanged | IDashboardKpiWidgetDescriptionChanged | IDashboardKpiWidgetConfigurationChanged | IDashboardKpiWidgetMeasureChanged | IDashboardKpiWidgetFilterSettingsChanged | IDashboardKpiWidgetComparisonChanged | IDashboardKpiWidgetDrillRemoved | IDashboardKpiWidgetDrillSet | IDashboardKpiWidgetChanged | IDashboardInsightWidgetHeaderChanged | IDashboardInsightWidgetDescriptionChanged | IDashboardInsightWidgetFilterSettingsChanged | IDashboardInsightWidgetVisPropertiesChanged | IDashboardInsightWidgetVisConfigurationChanged | IDashboardInsightWidgetInsightSwitched | IDashboardInsightWidgetDrillsModified | IDashboardInsightWidgetDrillsRemoved | IDashboardInsightWidgetChanged | IDashboardInsightWidgetExportRequested | IDashboardInsightWidgetExportResolved | IDashboardInsightWidgetRefreshed | IDashboardRichTextWidgetContentChanged | IDashboardRichTextWidgetFilterSettingsChanged | IDashboardVisualizationSwitcherWidgetVisualizationAdded | IDashboardVisualizationSwitcherWidgetVisualizationsUpdated | IDashboardWidgetExecutionStarted | IDashboardWidgetExecutionSucceeded | IDashboardWidgetExecutionFailed | IDashboardAlertCreated | IDashboardAlertSaved | IDashboardScheduledEmailCreated | IDashboardScheduledEmailSaved | IDashboardAutomationsRefreshed | IShowWidgetAsTableSet | IDashboardDrillDownResolved | IDashboardDrillToAttributeUrlResolved | IDashboardDrillToCustomUrlResolved | IDashboardDrillToDashboardResolved | IDashboardDrillToInsightResolved | IDashboardDrillToLegacyDashboardResolved | IDashboardKeyDriverAnalysisResolved | IDashboardKeyDriverAnalysisRequested | IDashboardDrillResolved | IDashboardDrillDownRequested | IDashboardDrillToAttributeUrlRequested | IDashboardDrillToCustomUrlRequested | IDashboardDrillToDashboardRequested | IDashboardDrillToInsightRequested | IDashboardDrillToLegacyDashboardRequested | IDashboardDrillRequested | IDashboardDrillableItemsChanged | IDashboardIgnoreExecutionTimestampChanged | IDashboardTabSwitched | IDashboardTabConvertedFromDefault | IDashboardTabCreated | IDashboardTabDeleted | IDashboardTabRenamingStarted | IDashboardTabRenamingCanceled | IDashboardTabRenamed | IDashboardParametersSelectionReset | ICreateInsightRequested | ICreateAttributeHierarchyRequested | IDeleteAttributeHierarchyRequested;
|
|
32
33
|
/**
|
|
33
34
|
* Creates DashboardEvent predicate that test whether the provided event matches it.
|
|
34
35
|
*
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type DashboardEventBody, type IDashboardEvent } from "./base.js";
|
|
2
|
+
/**
|
|
3
|
+
* This event is emitted after dashboard parameter runtime values have been reset on the active tab.
|
|
4
|
+
*
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export interface IDashboardParametersSelectionReset extends IDashboardEvent {
|
|
8
|
+
readonly type: "GDC.DASH/EVT.PARAMETERS.SELECTION.RESET";
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @alpha
|
|
12
|
+
*/
|
|
13
|
+
export declare function parametersSelectionReset(correlationId?: string): DashboardEventBody<IDashboardParametersSelectionReset>;
|
|
14
|
+
/**
|
|
15
|
+
* Tests whether the provided object is an instance of {@link IDashboardParametersSelectionReset}.
|
|
16
|
+
*
|
|
17
|
+
* @param obj - object to test
|
|
18
|
+
*
|
|
19
|
+
* @alpha
|
|
20
|
+
*/
|
|
21
|
+
export declare const isDashboardParametersSelectionReset: (obj: unknown) => obj is IDashboardParametersSelectionReset;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { eventGuard } from "./util.js";
|
|
3
|
+
/**
|
|
4
|
+
* @alpha
|
|
5
|
+
*/
|
|
6
|
+
export function parametersSelectionReset(correlationId) {
|
|
7
|
+
return {
|
|
8
|
+
type: "GDC.DASH/EVT.PARAMETERS.SELECTION.RESET",
|
|
9
|
+
correlationId,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Tests whether the provided object is an instance of {@link IDashboardParametersSelectionReset}.
|
|
14
|
+
*
|
|
15
|
+
* @param obj - object to test
|
|
16
|
+
*
|
|
17
|
+
* @alpha
|
|
18
|
+
*/
|
|
19
|
+
export const isDashboardParametersSelectionReset = eventGuard("GDC.DASH/EVT.PARAMETERS.SELECTION.RESET");
|
|
@@ -115,7 +115,7 @@ export type SavedFilterViewInteractionPayload = IUserInteractionPayloadWithDataB
|
|
|
115
115
|
* @beta
|
|
116
116
|
*/
|
|
117
117
|
export interface IBareUserInteractionPayload {
|
|
118
|
-
interaction: "kpiAlertDialogClosed" | "poweredByGDLogoClicked" | "filterContextStateReset" | "interactionPanelOpened" | "addInteractionClicked" | AttributeHierarchiesInteractionType | AttributeFilterInteractionType | DateFilterInteractionType | VisualizationSwitcherInteractionType | NestedLayoutInteractionType;
|
|
118
|
+
interaction: "kpiAlertDialogClosed" | "poweredByGDLogoClicked" | "filterContextStateReset" | "parametersStateReset" | "interactionPanelOpened" | "addInteractionClicked" | AttributeHierarchiesInteractionType | AttributeFilterInteractionType | DateFilterInteractionType | VisualizationSwitcherInteractionType | NestedLayoutInteractionType;
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
121
|
* @beta
|
|
@@ -136,6 +136,7 @@ export declare const useDashboardCommand: <TCommand extends DashboardCommands, T
|
|
|
136
136
|
"GDC.DASH/EVT.KPI_WIDGET.MEASURE_CHANGED"?: ((event: import("../events/kpi.js").IDashboardKpiWidgetMeasureChanged) => void) | undefined;
|
|
137
137
|
"GDC.DASH/EVT.KPI_WIDGET.WIDGET_CHANGED"?: ((event: import("../events/kpi.js").IDashboardKpiWidgetChanged) => void) | undefined;
|
|
138
138
|
"GDC.DASH/EVT.MEASURE_VALUE_FILTER_CONFIG.MODE_CHANGED"?: ((event: import("../events/filters.js").IDashboardMeasureValueFilterConfigModeChanged) => void) | undefined;
|
|
139
|
+
"GDC.DASH/EVT.PARAMETERS.SELECTION.RESET"?: ((event: import("../events/parameters.js").IDashboardParametersSelectionReset) => void) | undefined;
|
|
139
140
|
"GDC.DASH/EVT.QUERY.COMPLETED"?: ((event: import("../events/general.js").IDashboardQueryCompleted<any, any>) => void) | undefined;
|
|
140
141
|
"GDC.DASH/EVT.QUERY.FAILED"?: ((event: import("../events/general.js").IDashboardQueryFailed) => void) | undefined;
|
|
141
142
|
"GDC.DASH/EVT.QUERY.REJECTED"?: ((event: import("../events/general.js").IDashboardQueryRejected) => void) | undefined;
|
|
@@ -167,6 +167,8 @@ export declare const useDashboardCommandProcessing: <TCommand extends DashboardC
|
|
|
167
167
|
type: TSuccessEventType;
|
|
168
168
|
}> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterTitleChanged, {
|
|
169
169
|
type: TSuccessEventType;
|
|
170
|
+
}> | Extract<import("../events/parameters.js").IDashboardParametersSelectionReset, {
|
|
171
|
+
type: TSuccessEventType;
|
|
170
172
|
}> | Extract<import("../events/general.js").IDashboardQueryCompleted<any, any>, {
|
|
171
173
|
type: TSuccessEventType;
|
|
172
174
|
}> | Extract<import("../events/general.js").IDashboardQueryFailed, {
|
|
@@ -404,6 +406,8 @@ export declare const useDashboardCommandProcessing: <TCommand extends DashboardC
|
|
|
404
406
|
type: TErrorEventType;
|
|
405
407
|
}> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterTitleChanged, {
|
|
406
408
|
type: TErrorEventType;
|
|
409
|
+
}> | Extract<import("../events/parameters.js").IDashboardParametersSelectionReset, {
|
|
410
|
+
type: TErrorEventType;
|
|
407
411
|
}> | Extract<import("../events/general.js").IDashboardQueryCompleted<any, any>, {
|
|
408
412
|
type: TErrorEventType;
|
|
409
413
|
}> | Extract<import("../events/general.js").IDashboardQueryFailed, {
|
|
@@ -13,6 +13,7 @@ export declare const useDashboardUserInteraction: () => {
|
|
|
13
13
|
shareDialogInteraction: (eventData: ShareDialogInteractionData) => void;
|
|
14
14
|
attributeFilterInteraction: (eventType: AttributeFilterInteractionType) => void;
|
|
15
15
|
filterContextStateReset: () => void;
|
|
16
|
+
parametersStateReset: () => void;
|
|
16
17
|
interactionPanelOpened: () => void;
|
|
17
18
|
addInteractionClicked: () => void;
|
|
18
19
|
attributeHierarchiesInteraction: (eventType: AttributeHierarchiesInteractionType) => void;
|
|
@@ -43,6 +43,9 @@ export const useDashboardUserInteraction = () => {
|
|
|
43
43
|
const filterContextStateReset = useCallback(() => {
|
|
44
44
|
eventDispatch(userInteractionTriggered("filterContextStateReset"));
|
|
45
45
|
}, [eventDispatch]);
|
|
46
|
+
const parametersStateReset = useCallback(() => {
|
|
47
|
+
eventDispatch(userInteractionTriggered("parametersStateReset"));
|
|
48
|
+
}, [eventDispatch]);
|
|
46
49
|
const interactionPanelOpened = useCallback(() => {
|
|
47
50
|
eventDispatch(userInteractionTriggered("interactionPanelOpened"));
|
|
48
51
|
}, [eventDispatch]);
|
|
@@ -63,6 +66,7 @@ export const useDashboardUserInteraction = () => {
|
|
|
63
66
|
shareDialogInteraction,
|
|
64
67
|
attributeFilterInteraction,
|
|
65
68
|
filterContextStateReset,
|
|
69
|
+
parametersStateReset,
|
|
66
70
|
interactionPanelOpened,
|
|
67
71
|
addInteractionClicked,
|
|
68
72
|
attributeHierarchiesInteraction,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IDashboardParameter, type IInsightParameterValue, type ObjRef } from "@gooddata/sdk-model";
|
|
1
|
+
import { type IDashboardParameter, type IInsightParameterValue, type IParameterMetadataObject, type ObjRef } from "@gooddata/sdk-model";
|
|
2
2
|
import { type DashboardSelector } from "../../types.js";
|
|
3
3
|
import { type IDashboardParameterEntry } from "./parametersState.js";
|
|
4
4
|
/**
|
|
@@ -72,6 +72,23 @@ export declare const selectSmartPersistedTabsParameters: DashboardSelector<Recor
|
|
|
72
72
|
* @alpha
|
|
73
73
|
*/
|
|
74
74
|
export declare const selectIsParametersChanged: DashboardSelector<boolean>;
|
|
75
|
+
/**
|
|
76
|
+
* Reset targets for every active-tab parameter whose `runtimeOverride` differs from its computed
|
|
77
|
+
* reset value (per `computeParameterResetValue`).
|
|
78
|
+
*
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
export declare const selectActiveTabParameterResetTargets: DashboardSelector<{
|
|
82
|
+
ref: ObjRef;
|
|
83
|
+
value: number | undefined;
|
|
84
|
+
}[]>;
|
|
85
|
+
/**
|
|
86
|
+
* True when the active tab has at least one parameter whose `runtimeOverride` differs from
|
|
87
|
+
* the value it would be reset to (per `computeParameterResetValue`).
|
|
88
|
+
*
|
|
89
|
+
* @alpha
|
|
90
|
+
*/
|
|
91
|
+
export declare const selectHasAnyResettableParameterOnActiveTab: DashboardSelector<boolean>;
|
|
75
92
|
/**
|
|
76
93
|
* Returns the parameter values to inject into the widget's `IExecutionConfig.parameterValues`.
|
|
77
94
|
*
|
|
@@ -90,3 +107,22 @@ export declare const selectIsParametersChanged: DashboardSelector<boolean>;
|
|
|
90
107
|
* @alpha
|
|
91
108
|
*/
|
|
92
109
|
export declare const selectEffectiveParameterValuesForWidget: (ref: ObjRef | undefined) => DashboardSelector<IInsightParameterValue[]>;
|
|
110
|
+
/**
|
|
111
|
+
* Returns `undefined` when reset would be a no-op: missing/non-number workspace parameter, or
|
|
112
|
+
* in edit mode when `parameter.value` is unset / already equals the workspace default.
|
|
113
|
+
*
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
export declare function computeParameterResetValue(entry: IDashboardParameterEntry, workspaceParameter: IParameterMetadataObject | undefined, isInEditMode: boolean): number | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* Only `mode: "active"` entries with a defined `runtimeOverride` are considered resettable;
|
|
119
|
+
* HIDDEN and READONLY entries are skipped, and entries with `runtimeOverride === undefined`
|
|
120
|
+
* (chip hidden, execution falls back to `insight.parameters`) are preserved as-is — symmetric
|
|
121
|
+
* with per-chip behavior in `DashboardParameterFilter`.
|
|
122
|
+
*
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
export declare function computeParameterResetTargets(entries: IDashboardParameterEntry[], workspaceParameters: IParameterMetadataObject[], isInEditMode: boolean): {
|
|
126
|
+
ref: ObjRef;
|
|
127
|
+
value: number | undefined;
|
|
128
|
+
}[];
|