@gooddata/sdk-ui-dashboard 11.43.0-alpha.2 → 11.43.0-alpha.4
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 +4826 -13873
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/index.d.ts +4 -4
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -3
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts +2 -2
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.js +1 -5
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js +1 -1
- package/esm/model/queryServices/queryWidgetFilters.d.ts +1 -1
- package/esm/model/queryServices/queryWidgetFilters.d.ts.map +1 -1
- package/esm/model/queryServices/queryWidgetFilters.js +19 -36
- package/esm/model/react/useWidgetExecConfig.d.ts +5 -3
- package/esm/model/react/useWidgetExecConfig.d.ts.map +1 -1
- package/esm/model/react/useWidgetExecConfig.js +8 -4
- package/esm/model/store/config/configSelectors.d.ts +0 -6
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +1 -9
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +20 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.js +48 -3
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +19 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +34 -33
- package/esm/model/store/topBar/topBarSelectors.d.ts.map +1 -1
- package/esm/model/store/topBar/topBarSelectors.js +4 -4
- package/esm/presentation/automations/_staging/alerting/AlertingManagementDialog.d.ts +1 -1
- package/esm/presentation/automations/_staging/alerting/AlertingManagementDialog.d.ts.map +1 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentBasic.js +1 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.js +3 -3
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts +1 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts.map +1 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/Alert.js +2 -2
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts +1 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +1 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/hooks/useAlertValidation.d.ts.map +1 -0
- package/esm/presentation/automations/_staging/alerting/{DefaultAlertingDialog → DefaultAlertingManagementDialog}/hooks/useAlertValidation.js +2 -2
- package/esm/presentation/automations/alerting/AlertingDialog.d.ts.map +1 -0
- package/esm/presentation/automations/{_staging/alerting → alerting}/AlertingDialog.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +21 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -0
- package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/DefaultAlertingDialog.js +58 -56
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultLoadingAlertingDialog.d.ts.map +1 -0
- package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/DefaultLoadingAlertingDialog.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertDeleteDialog.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertThresholdInput.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts +7 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.js +16 -0
- package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts +6 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -0
- package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.js +31 -5
- package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/hooks/useEditAlert.d.ts +7 -7
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts.map +1 -0
- package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/hooks/useEditAlert.js +15 -45
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useOperators.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useThresholdValue.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/messages.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/convertors.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/cron.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/getters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/granularity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/guards.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/threshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/transformation.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js +35 -0
- package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.d.ts.map +1 -0
- package/esm/presentation/automations/{_staging/alerting → alerting}/hooks/useGetSupportedMeasures.js +2 -6
- package/esm/presentation/automations/{_staging/alerting → alerting}/types.d.ts +5 -3
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -0
- package/esm/presentation/automations/connectors/AlertingConnector.d.ts +27 -0
- package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -0
- package/esm/presentation/automations/connectors/AlertingConnector.js +72 -0
- package/esm/presentation/automations/connectors/hooks/sanitizeAutomationForSave.d.ts +15 -0
- package/esm/presentation/automations/connectors/hooks/sanitizeAutomationForSave.d.ts.map +1 -0
- package/esm/presentation/automations/connectors/hooks/sanitizeAutomationForSave.js +25 -0
- package/esm/presentation/automations/connectors/hooks/useBuildAlertingDialogContext.d.ts +9 -0
- package/esm/presentation/automations/connectors/hooks/useBuildAlertingDialogContext.d.ts.map +1 -0
- package/esm/presentation/automations/connectors/hooks/useBuildAlertingDialogContext.js +128 -0
- package/esm/presentation/automations/connectors/hooks/useBuildAlertingDialogContext.test.d.ts +2 -0
- package/esm/presentation/automations/connectors/hooks/useBuildAlertingDialogContext.test.d.ts.map +1 -0
- package/esm/presentation/automations/connectors/hooks/useBuildAlertingDialogContext.test.js +66 -0
- package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.js +65 -1
- package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.test.js +27 -0
- package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts +32 -0
- package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts.map +1 -0
- package/esm/presentation/automations/contexts/AlertingDialogContext.js +11 -0
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts +20 -1
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/AutomationsContext.js +4 -1
- package/esm/presentation/automations/contexts/AutomationsContext.test.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +20 -14
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationDateFilter.test.js +19 -0
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.js +18 -4
- package/esm/presentation/dashboard/components/DashboardRenderer.js +1 -1
- package/esm/presentation/dashboard/types.d.ts +1 -1
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.js +3 -4
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdownMenuItem.d.ts +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdownMenuItem.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdownMenuItem.js +6 -28
- package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.d.ts +0 -3
- package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.js +16 -3
- package/esm/presentation/export/DefaultDashboardExportVariables.d.ts.map +1 -1
- package/esm/presentation/export/DefaultDashboardExportVariables.js +13 -8
- package/esm/presentation/export/DefaultDashboardExportVariables.test.d.ts +2 -0
- package/esm/presentation/export/DefaultDashboardExportVariables.test.d.ts.map +1 -0
- package/esm/presentation/export/DefaultDashboardExportVariables.test.js +58 -0
- package/esm/presentation/export/types.d.ts +2 -1
- package/esm/presentation/export/types.d.ts.map +1 -1
- package/esm/presentation/export/useExportData.d.ts.map +1 -1
- package/esm/presentation/export/useExportData.js +6 -0
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +14 -5
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +4 -0
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +4 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +2 -2
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +9 -9
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +23 -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.d.ts.map +1 -1
- 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 +5 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts +0 -11
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js +2 -17
- package/esm/presentation/widget/insight/configuration/InsightAlertsNew.js +3 -3
- package/esm/sdk-ui-dashboard.d.ts +20 -9
- package/package.json +20 -20
- package/styles/css/dashboard.css +7 -7
- package/styles/css/drillSelect.css +0 -49
- package/styles/css/drillSelect.css.map +1 -1
- package/styles/css/main.css +10 -61
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +7 -7
- package/styles/css/topBar.css +3 -5
- package/styles/css/topBar.css.map +1 -1
- package/styles/scss/drillSelect.scss +0 -65
- package/styles/scss/notifications_channels_dialog.scss +1 -1
- package/styles/scss/topBar.scss +3 -9
- package/esm/presentation/automations/_staging/alerting/AlertingDialog.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +0 -7
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/DefaultLoadingAlertingDialog.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertDeleteDialog.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertThresholdInput.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/constants.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/hooks/useOperators.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/hooks/useThresholdValue.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/messages.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/utils/convertors.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/utils/cron.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/utils/getters.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/utils/granularity.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/utils/guards.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/utils/items.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/utils/threshold.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/DefaultAlertingDialog/utils/transformation.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/hooks/useGetSupportedMeasures.d.ts.map +0 -1
- package/esm/presentation/automations/_staging/alerting/types.d.ts.map +0 -1
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProviderNew.d.ts +0 -2
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProviderNew.d.ts.map +0 -1
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProviderNew.js +0 -28
- /package/esm/presentation/automations/_staging/alerting/{DefaultAlertingDialog → DefaultAlertingManagementDialog}/hooks/useAlertValidation.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/AlertingDialog.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/AlertingDialogHeader.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/AlertingDialogHeader.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/DefaultLoadingAlertingDialog.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertAttributeSelect.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertDeleteDialog.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertDeleteDialog.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertDestinationSelect.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertDestinationSelect.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertGranularitySelect.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertMeasureSelect.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertSensitivitySelect.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertThresholdInput.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertThresholdInput.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/components/AlertTriggerModeSelect.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/constants.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/constants.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/hooks/useOperators.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/hooks/useOperators.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/hooks/useThresholdValue.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/hooks/useThresholdValue.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/messages.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/messages.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/convertors.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/convertors.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/cron.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/cron.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/getters.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/getters.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/granularity.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/granularity.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/guards.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/guards.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/items.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/items.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/responsive.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/responsive.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/threshold.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/threshold.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/transformation.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingDialog/utils/transformation.js +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/hooks/useGetSupportedMeasures.d.ts +0 -0
- /package/esm/presentation/automations/{_staging/alerting → alerting}/types.js +0 -0
|
@@ -4,10 +4,7 @@ import { DrillType, type IDrillSelectItem } from "../DrillSelect/types.js";
|
|
|
4
4
|
export interface IDrillSelectDropdownMenuItemData {
|
|
5
5
|
interactive: {
|
|
6
6
|
type: DrillType;
|
|
7
|
-
name: string;
|
|
8
7
|
drillDefinition: DashboardDrillDefinition;
|
|
9
|
-
context?: unknown;
|
|
10
|
-
attributeValue?: string | null;
|
|
11
8
|
onSelect: () => void;
|
|
12
9
|
};
|
|
13
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDrillSelectDropdownMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/hooks/useDrillSelectDropdownMenuItems.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDrillSelectDropdownMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/hooks/useDrillSelectDropdownMenuItems.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAyB,MAAM,sBAAsB,CAAC;AAE/E,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAuB3E,MAAM,WAAW,gCAAgC;IAC7C,WAAW,EAAE;QACT,IAAI,EAAE,SAAS,CAAC;QAChB,eAAe,EAAE,wBAAwB,CAAC;QAC1C,QAAQ,EAAE,MAAM,IAAI,CAAC;KACxB,CAAC;CACL;AAED,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,gCAAgC,CAAC,CAAC;AAEjF,eAAO,MAAM,+BAA+B;;;;;;;4BAiG3C,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
// (C) 2025-2026 GoodData Corporation
|
|
2
3
|
import { useMemo } from "react";
|
|
4
|
+
import { compact } from "lodash-es";
|
|
3
5
|
import { defineMessages, useIntl } from "react-intl";
|
|
6
|
+
import { UiIcon } from "@gooddata/sdk-ui-kit";
|
|
4
7
|
import { DrillType } from "../DrillSelect/types.js";
|
|
5
8
|
const groupMenuItemMessages = defineMessages({
|
|
6
9
|
drillDown: { id: "drill_modal_picker.drill-down" },
|
|
@@ -9,6 +12,17 @@ const groupMenuItemMessages = defineMessages({
|
|
|
9
12
|
keyDriverAnalysis: { id: "drill_modal_picker.key-driver-analysis" },
|
|
10
13
|
drillToUrl: { id: "drill_modal_picker.drill-to-url" },
|
|
11
14
|
});
|
|
15
|
+
const DRILL_ICON_NAME = {
|
|
16
|
+
[DrillType.DRILL_TO_DASHBOARD]: "drillTo",
|
|
17
|
+
[DrillType.DRILL_TO_INSIGHT]: "drillTo",
|
|
18
|
+
[DrillType.DRILL_TO_URL]: "link",
|
|
19
|
+
[DrillType.DRILL_DOWN]: "trendDown",
|
|
20
|
+
[DrillType.CROSS_FILTERING]: "filter",
|
|
21
|
+
[DrillType.KEY_DRIVER_ANALYSIS]: "explainai",
|
|
22
|
+
};
|
|
23
|
+
function getMenuItemStringTitle(item) {
|
|
24
|
+
return compact([item.name, item.attributeValue ? `(${item.attributeValue})` : null]).join(" ");
|
|
25
|
+
}
|
|
12
26
|
export const useDrillSelectDropdownMenuItems = ({ drillDownItems, drillItems, crossFilteringItems, keyDriverAnalysisItems, drillToUrlItems, onSelect, }) => {
|
|
13
27
|
const { formatMessage } = useIntl();
|
|
14
28
|
return useMemo(() => {
|
|
@@ -20,7 +34,8 @@ export const useDrillSelectDropdownMenuItems = ({ drillDownItems, drillItems, cr
|
|
|
20
34
|
subItems: items.map((item, index) => ({
|
|
21
35
|
type: "interactive",
|
|
22
36
|
id: `${groupId}-${index}`,
|
|
23
|
-
stringTitle: item
|
|
37
|
+
stringTitle: getMenuItemStringTitle(item),
|
|
38
|
+
iconLeft: _jsx(UiIcon, { type: DRILL_ICON_NAME[item.type], size: 16, color: "complementary-5" }),
|
|
24
39
|
isDisabled: item.isDisabled,
|
|
25
40
|
tooltip: item.tooltipText,
|
|
26
41
|
ariaAttributes: {
|
|
@@ -30,8 +45,6 @@ export const useDrillSelectDropdownMenuItems = ({ drillDownItems, drillItems, cr
|
|
|
30
45
|
},
|
|
31
46
|
data: {
|
|
32
47
|
type: item.type,
|
|
33
|
-
name: item.name,
|
|
34
|
-
attributeValue: item.attributeValue,
|
|
35
48
|
drillDefinition: item.drillDefinition,
|
|
36
49
|
onSelect: () => {
|
|
37
50
|
onSelect(item.drillDefinition, item.context);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardExportVariables.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/DefaultDashboardExportVariables.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DefaultDashboardExportVariables.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/DefaultDashboardExportVariables.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAMjD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD,UAAU,EAAE,UAAU,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,EAAE,UAAU,EAAE,EAAE,qCAAqC,kDAyEpG"}
|
|
@@ -6,6 +6,7 @@ import { useTheme } from "@gooddata/sdk-ui-theme-provider";
|
|
|
6
6
|
import { useDashboardSelector } from "../../model/react/DashboardStoreProvider.js";
|
|
7
7
|
import { selectConfig } from "../../model/store/config/configSelectors.js";
|
|
8
8
|
import { selectDashboardDescriptor, selectDashboardId } from "../../model/store/meta/metaSelectors.js";
|
|
9
|
+
import { selectActiveTabExportParameters } from "../../model/store/tabs/parameters/parametersSelectors.js";
|
|
9
10
|
import { selectCurrentUser } from "../../model/store/user/userSelectors.js";
|
|
10
11
|
import { useDashboardRelatedFilters } from "./hooks/useDashboardRelatedFilters.js";
|
|
11
12
|
import { useMetaExportData, useMetaExportImageData, useMetaPaletteData } from "./useExportData.js";
|
|
@@ -20,21 +21,25 @@ export function DefaultDashboardExportVariables({ renderMode }) {
|
|
|
20
21
|
const dashboardId = useDashboardSelector(selectDashboardId);
|
|
21
22
|
const dashboardDescriptor = useDashboardSelector(selectDashboardDescriptor);
|
|
22
23
|
const { dateFilters, attributeFilters, measureValueFilters, isError, isLoading } = useDashboardRelatedFilters(run);
|
|
24
|
+
const parameters = useDashboardSelector(selectActiveTabExportParameters);
|
|
23
25
|
const theme = useTheme();
|
|
24
26
|
if (!run) {
|
|
25
27
|
return null;
|
|
26
28
|
}
|
|
29
|
+
const filterGroups = [
|
|
30
|
+
{ kind: "date", items: dateFilters, attrs: exportData?.filters?.dateFilter },
|
|
31
|
+
{ kind: "attribute", items: attributeFilters, attrs: exportData?.filters?.attributeFilter },
|
|
32
|
+
{ kind: "measureValue", items: measureValueFilters, attrs: exportData?.filters?.measureValueFilter },
|
|
33
|
+
];
|
|
34
|
+
const hasEntries = dateFilters.length + attributeFilters.length + measureValueFilters.length + parameters.length > 0;
|
|
27
35
|
return (_jsxs("div", { className: "gd-dashboard-meta", ...exportData?.root, children: [
|
|
28
|
-
_jsx("div", { ...exportData?.id, children: dashboardId }), dashboardDescriptor.title ? _jsx("div", { ...exportData?.title, children: dashboardDescriptor.title }) : null, dashboardDescriptor.description ? (_jsx("div", { ...exportData?.description, children: dashboardDescriptor.description })) : null, dashboardDescriptor.tags && dashboardDescriptor.tags.length > 0 ? (_jsx("div", { ...exportData?.tags?.root, children: dashboardDescriptor.tags.map((tag, i) => (_jsx("span", { ...exportData?.tags?.tag, children: tag }, i))) })) : null, _jsx("div", { ...exportData?.filters?.root, ...exportData?.filters?.rootData(isLoading, isError), children:
|
|
36
|
+
_jsx("div", { ...exportData?.id, children: dashboardId }), dashboardDescriptor.title ? _jsx("div", { ...exportData?.title, children: dashboardDescriptor.title }) : null, dashboardDescriptor.description ? (_jsx("div", { ...exportData?.description, children: dashboardDescriptor.description })) : null, dashboardDescriptor.tags && dashboardDescriptor.tags.length > 0 ? (_jsx("div", { ...exportData?.tags?.root, children: dashboardDescriptor.tags.map((tag, i) => (_jsx("span", { ...exportData?.tags?.tag, children: tag }, i))) })) : null, _jsx("div", { ...exportData?.filters?.root, ...exportData?.filters?.rootData(isLoading, isError), children: hasEntries ? (_jsxs(_Fragment, { children: [filterGroups.flatMap(({ kind, items, attrs }) => items.map((filter, i) => (_jsxs("div", { ...attrs, ...exportData?.filters?.filter.filterData(filter, isLoading, isError), children: [
|
|
29
37
|
_jsx("span", { ...exportData?.filters?.filter.name, children: filter?.title }),
|
|
30
38
|
" -", " ", _jsx("span", { ...exportData?.filters?.filter.value, children: filter?.subtitle })
|
|
31
|
-
] }, i))),
|
|
32
|
-
_jsx("span", { ...exportData?.filters?.filter.name, children:
|
|
33
|
-
" -", " ", _jsx("span", { ...exportData?.filters?.filter.value, children:
|
|
34
|
-
] }, i))),
|
|
35
|
-
_jsx("span", { ...exportData?.filters?.filter.name, children: filter?.title }),
|
|
36
|
-
" -", " ", _jsx("span", { ...exportData?.filters?.filter.value, children: filter?.subtitle })
|
|
37
|
-
] }, i)))] })) : null }), user?.fullName ? _jsx("div", { ...exportData?.user, children: user.fullName }) : null, conf.workspaceDescriptor ? (_jsx("div", { ...exportData?.workspace, children: conf.workspaceDescriptor.title })) : null, _jsx(MetaImage, { image: theme?.images?.logo, type: "logo" }), _jsx(MetaImage, { image: theme?.images?.coverImage, type: "cover-image" }), _jsx(Palette, { data: theme?.palette?.complementary })
|
|
39
|
+
] }, `${kind}-${i}`)))), parameters.map((parameter, i) => (_jsxs("div", { ...exportData?.filters?.parameter, children: [
|
|
40
|
+
_jsx("span", { ...exportData?.filters?.filter.name, children: parameter.title }),
|
|
41
|
+
" -", " ", _jsx("span", { ...exportData?.filters?.filter.value, children: parameter.value })
|
|
42
|
+
] }, `parameter-${i}`)))] })) : null }), user?.fullName ? _jsx("div", { ...exportData?.user, children: user.fullName }) : null, conf.workspaceDescriptor ? (_jsx("div", { ...exportData?.workspace, children: conf.workspaceDescriptor.title })) : null, _jsx(MetaImage, { image: theme?.images?.logo, type: "logo" }), _jsx(MetaImage, { image: theme?.images?.coverImage, type: "cover-image" }), _jsx(Palette, { data: theme?.palette?.complementary })
|
|
38
43
|
] }));
|
|
39
44
|
}
|
|
40
45
|
function MetaImage({ image, type, }) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultDashboardExportVariables.test.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/DefaultDashboardExportVariables.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2026 GoodData Corporation
|
|
3
|
+
import { render } from "@testing-library/react";
|
|
4
|
+
import { describe, expect, it, vi } from "vitest";
|
|
5
|
+
import { selectConfig } from "../../model/store/config/configSelectors.js";
|
|
6
|
+
import { selectDashboardDescriptor } from "../../model/store/meta/metaSelectors.js";
|
|
7
|
+
import { selectIsInExportMode } from "../../model/store/renderMode/renderModeSelectors.js";
|
|
8
|
+
import { selectActiveTabExportParameters } from "../../model/store/tabs/parameters/parametersSelectors.js";
|
|
9
|
+
vi.mock("../../model/react/DashboardStoreProvider.js", () => ({
|
|
10
|
+
useDashboardSelector: vi.fn(),
|
|
11
|
+
}));
|
|
12
|
+
vi.mock("./hooks/useDashboardRelatedFilters.js", () => ({
|
|
13
|
+
useDashboardRelatedFilters: () => ({
|
|
14
|
+
dateFilters: [],
|
|
15
|
+
attributeFilters: [],
|
|
16
|
+
measureValueFilters: [],
|
|
17
|
+
isLoading: false,
|
|
18
|
+
isError: false,
|
|
19
|
+
isSuccess: true,
|
|
20
|
+
}),
|
|
21
|
+
}));
|
|
22
|
+
import { useDashboardSelector } from "../../model/react/DashboardStoreProvider.js";
|
|
23
|
+
import { DefaultDashboardExportVariables } from "./DefaultDashboardExportVariables.js";
|
|
24
|
+
// Scoping lives in the selector (tested separately); here we drive its output.
|
|
25
|
+
function mockSelectors(parameters) {
|
|
26
|
+
const values = new Map([
|
|
27
|
+
[selectIsInExportMode, true],
|
|
28
|
+
[selectActiveTabExportParameters, parameters],
|
|
29
|
+
[selectConfig, {}],
|
|
30
|
+
[selectDashboardDescriptor, {}],
|
|
31
|
+
]);
|
|
32
|
+
vi.mocked(useDashboardSelector).mockImplementation((selector) => values.get(selector));
|
|
33
|
+
}
|
|
34
|
+
function parameterEntries(container) {
|
|
35
|
+
return Array.from(container.querySelectorAll('[data-export-meta-filter-type="parameter"]')).map((node) => ({
|
|
36
|
+
name: node.querySelector('[data-export-meta-type="dashboard-filter-name"]')?.textContent ?? "",
|
|
37
|
+
value: node.querySelector('[data-export-meta-type="dashboard-filter-value"]')?.textContent ?? "",
|
|
38
|
+
// export-builder blocks on this per entry; missing/loading would hang the export.
|
|
39
|
+
status: node.getAttribute("data-export-meta-filter-status"),
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
describe("DefaultDashboardExportVariables", () => {
|
|
43
|
+
it("renders active parameter overrides as ready entries in the filters block", () => {
|
|
44
|
+
mockSelectors([{ id: "topn", title: "Top N", value: "5" }]);
|
|
45
|
+
const { container } = render(_jsx(DefaultDashboardExportVariables, { renderMode: "export" }));
|
|
46
|
+
expect(parameterEntries(container)).toEqual([{ name: "Top N", value: "5", status: "loaded" }]);
|
|
47
|
+
});
|
|
48
|
+
it("renders no parameter entries when there are no active overrides", () => {
|
|
49
|
+
mockSelectors([]);
|
|
50
|
+
const { container } = render(_jsx(DefaultDashboardExportVariables, { renderMode: "export" }));
|
|
51
|
+
expect(parameterEntries(container)).toHaveLength(0);
|
|
52
|
+
});
|
|
53
|
+
it("renders nothing outside export mode", () => {
|
|
54
|
+
mockSelectors([{ id: "topn", title: "Top N", value: "5" }]);
|
|
55
|
+
const { container } = render(_jsx(DefaultDashboardExportVariables, { renderMode: "view" }));
|
|
56
|
+
expect(container.firstChild).toBeNull();
|
|
57
|
+
});
|
|
58
|
+
});
|
|
@@ -28,7 +28,7 @@ export type CommonExportDataAttributes = {
|
|
|
28
28
|
*/
|
|
29
29
|
export type MetaExportDataAttributes = {
|
|
30
30
|
"data-export-meta-type"?: ExportMetaType;
|
|
31
|
-
"data-export-meta-filter-type"?: "date" | "attribute" | "measureValue";
|
|
31
|
+
"data-export-meta-filter-type"?: "date" | "attribute" | "measureValue" | "parameter";
|
|
32
32
|
"data-export-meta-filter-mode"?: "readonly" | "hidden" | "active";
|
|
33
33
|
"data-export-meta-filter-status"?: "loading" | "loaded" | "error";
|
|
34
34
|
"data-export-meta-filters-status"?: "loading" | "loaded" | "error";
|
|
@@ -58,6 +58,7 @@ export type MetaExportData = {
|
|
|
58
58
|
dateFilter: MetaExportDataAttributes;
|
|
59
59
|
attributeFilter: MetaExportDataAttributes;
|
|
60
60
|
measureValueFilter: MetaExportDataAttributes;
|
|
61
|
+
parameter: MetaExportDataAttributes;
|
|
61
62
|
filter: {
|
|
62
63
|
name: MetaExportDataAttributes;
|
|
63
64
|
value: MetaExportDataAttributes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAEpF;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GACvB,MAAM,GACN,WAAW,GACX,SAAS,GACT,cAAc,GACd,eAAe,GACf,qBAAqB,GACrB,QAAQ,GACR,gBAAgB,GAChB,cAAc,GACd,oBAAoB,CAAC;AAE3B;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACpB,cAAc,GACd,iBAAiB,GACjB,uBAAuB,GACvB,gBAAgB,GAChB,eAAe,GACf,mBAAmB,GACnB,kBAAkB,GAClB,uBAAuB,GACvB,wBAAwB,GACxB,iBAAiB,GACjB,gBAAgB,GAChB,MAAM,GACN,aAAa,GACb,eAAe,CAAC;AAEtB;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACrC,kBAAkB,EAAE,iBAAiB,CAAC;IACtC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;CACzD,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACnC,uBAAuB,CAAC,EAAE,cAAc,CAAC;IACzC,8BAA8B,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAEpF;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GACvB,MAAM,GACN,WAAW,GACX,SAAS,GACT,cAAc,GACd,eAAe,GACf,qBAAqB,GACrB,QAAQ,GACR,gBAAgB,GAChB,cAAc,GACd,oBAAoB,CAAC;AAE3B;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACpB,cAAc,GACd,iBAAiB,GACjB,uBAAuB,GACvB,gBAAgB,GAChB,eAAe,GACf,mBAAmB,GACnB,kBAAkB,GAClB,uBAAuB,GACvB,wBAAwB,GACxB,iBAAiB,GACjB,gBAAgB,GAChB,MAAM,GACN,aAAa,GACb,eAAe,CAAC;AAEtB;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACrC,kBAAkB,EAAE,iBAAiB,CAAC;IACtC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;CACzD,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACnC,uBAAuB,CAAC,EAAE,cAAc,CAAC;IACzC,8BAA8B,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,cAAc,GAAG,WAAW,CAAC;IACrF,8BAA8B,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,QAAQ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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExportData.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/useExportData.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EACH,KAAK,0BAA0B,EAC/B,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EAEvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAClC,MAAM,YAAY,CAAC;AAsCpB;;GAEG;AACH,eAAO,MAAM,sBAAsB,iJAalC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,kDA+BhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B,gHA6B3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,mEAyB/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,sCAUjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,uIAiBtC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"useExportData.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/useExportData.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EACH,KAAK,0BAA0B,EAC/B,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EAEvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAClC,MAAM,YAAY,CAAC;AAsCpB;;GAEG;AACH,eAAO,MAAM,sBAAsB,iJAalC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,kDA+BhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B,gHA6B3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,mEAyB/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,sCAUjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,uIAiBtC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,kCAyE7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,mIAelC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;CAwB9B,CAAC"}
|
|
@@ -205,6 +205,12 @@ export const useMetaExportData = () => {
|
|
|
205
205
|
"data-export-meta-type": "dashboard-filter",
|
|
206
206
|
"data-export-meta-filter-type": "measureValue",
|
|
207
207
|
},
|
|
208
|
+
parameter: {
|
|
209
|
+
"data-export-meta-type": "dashboard-filter",
|
|
210
|
+
"data-export-meta-filter-type": "parameter",
|
|
211
|
+
// No per-row fetch like filters. A rendered row is always complete.
|
|
212
|
+
"data-export-meta-filter-status": "loaded",
|
|
213
|
+
},
|
|
208
214
|
filter: {
|
|
209
215
|
name: {
|
|
210
216
|
"data-export-meta-type": "dashboard-filter-name",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultFilterBarContainer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBarContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,SAAS,EAOjB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultFilterBarContainer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBarContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,SAAS,EAOjB,MAAM,OAAO,CAAC;AAqbf;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAQ/E"}
|
|
@@ -12,7 +12,7 @@ import { isDashboardFilterContextSelectionReset, isDashboardFilterContextWorking
|
|
|
12
12
|
import { isDashboardParametersSelectionReset } from "../../../model/events/parameters.js";
|
|
13
13
|
import { useDashboardEventsContext } from "../../../model/react/DashboardEventsContext.js";
|
|
14
14
|
import { useDashboardDispatch, useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
15
|
-
import {
|
|
15
|
+
import { selectIsApplyFiltersAllAtOnceEnabledAndSet, selectLocale, } from "../../../model/store/config/configSelectors.js";
|
|
16
16
|
import { selectIsInEditMode } from "../../../model/store/renderMode/renderModeSelectors.js";
|
|
17
17
|
import { selectIsWorkingFilterContextChanged, selectNamesOfFiltersWithInvalidSelection, } from "../../../model/store/tabs/filterContext/filterContextSelectors.js";
|
|
18
18
|
import { BulletsBar as FlexibleBulletsBar } from "../../flexibleLayout/dragAndDrop/Resize/BulletsBar.js";
|
|
@@ -30,7 +30,6 @@ const Measure = defaultImport(DefaultMeasure);
|
|
|
30
30
|
function DefaultFilterBarContainerCore({ children }) {
|
|
31
31
|
const { rows, height, isFilterBarExpanded, scrollable, setFilterBarExpanded, setCalculatedRows } = useFilterBarState();
|
|
32
32
|
const dropRef = useFilterExpansionByDragAndDrop(rows.length > 1, isFilterBarExpanded, setFilterBarExpanded);
|
|
33
|
-
const isFilterViewsFeatureFlagEnabled = useDashboardSelector(selectEnableFilterViews);
|
|
34
33
|
const isWorkingFilterContextChanged = useDashboardSelector(selectIsWorkingFilterContextChanged);
|
|
35
34
|
const isApplyAllAtOnceEnabledAndSet = useDashboardSelector(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
36
35
|
const filtersWithInvalidSelection = useDashboardSelector(selectNamesOfFiltersWithInvalidSelection);
|
|
@@ -47,11 +46,13 @@ function DefaultFilterBarContainerCore({ children }) {
|
|
|
47
46
|
}), [isApplyAllAtOnceEnabledAndSet]);
|
|
48
47
|
const intl = useIntl();
|
|
49
48
|
const [expandedAutomatically, setExpandedAutomatically] = useState(false);
|
|
49
|
+
const [collapseAnnouncement, setCollapseAnnouncement] = useState("");
|
|
50
50
|
const onContainerFocus = useCallback(() => {
|
|
51
51
|
// detect if event is mouse
|
|
52
52
|
if (!isFocusVisible()) {
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
55
|
+
setCollapseAnnouncement("");
|
|
55
56
|
setFilterBarExpanded(true);
|
|
56
57
|
setExpandedAutomatically(true);
|
|
57
58
|
}, [setFilterBarExpanded]);
|
|
@@ -59,8 +60,15 @@ function DefaultFilterBarContainerCore({ children }) {
|
|
|
59
60
|
if (isFocusVisible() && expandedAutomatically) {
|
|
60
61
|
setFilterBarExpanded(false);
|
|
61
62
|
setExpandedAutomatically(false);
|
|
63
|
+
const message = `${intl.formatMessage({ id: "filterBar.label" })}. ${intl.formatMessage({
|
|
64
|
+
id: "filterBar.filterListAutoCollapsed",
|
|
65
|
+
})}`;
|
|
66
|
+
setCollapseAnnouncement(message);
|
|
62
67
|
}
|
|
63
|
-
|
|
68
|
+
else {
|
|
69
|
+
setCollapseAnnouncement("");
|
|
70
|
+
}
|
|
71
|
+
}, [setFilterBarExpanded, expandedAutomatically, intl]);
|
|
64
72
|
const bubbleText = hasInvalidFilterSelections
|
|
65
73
|
? intl.formatMessage({ id: "filterBar.invalidFilterSelection" }, { names: filtersWithInvalidSelection.join(", ") })
|
|
66
74
|
: intl.formatMessage({ id: "filterBar.applyFilters" });
|
|
@@ -74,7 +82,8 @@ function DefaultFilterBarContainerCore({ children }) {
|
|
|
74
82
|
_jsx(AllFiltersContainer, { setCalculatedRows: setCalculatedRows, isAutoExpanded: expandedAutomatically, children: children }), _jsx(FiltersRows, { rows: rows }), _jsxs("div", { className: "filter-bar-configuration", style: configurationStyle, children: [isApplyAllAtOnceEnabledAndSet && isWorkingFilterContextChanged ? (_jsx(UiTooltip, { content: bubbleText, triggerBy: ["hover", "focus"], disabled: !bubbleText, anchor: _jsx(UiButton, { accessibilityConfig: {
|
|
75
83
|
ariaHaspopup: "dialog",
|
|
76
84
|
ariaLabel: bubbleText,
|
|
77
|
-
}, label: intl.formatMessage({ id: "apply" }), variant: "primary", onClick: applyAllDashboardFilters, isDisabled: hasInvalidFilterSelections }) })) : null,
|
|
85
|
+
}, label: intl.formatMessage({ id: "apply" }), variant: "primary", onClick: applyAllDashboardFilters, isDisabled: hasInvalidFilterSelections }) })) : null, _jsx(FilterViews, {})
|
|
86
|
+
] })
|
|
78
87
|
] }), _jsx(ShowAllFiltersButton, { isFilterBarExpanded: isFilterBarExpanded, isVisible: rows.length > 1, onToggle: (isExpanded) => setFilterBarExpanded(isExpanded) }), isInEditMode ? _jsx(FlexibleBulletsBar, {}) : null] }), isWorkingFilterContextChanged && isApplyAllAtOnceEnabledAndSet ? (_jsx("div", { "aria-hidden": "true", className: "filters-message", style: { marginTop: rows.length > 1 ? "35px" : "10px" }, children: _jsx(Message, { type: "progress", children: _jsx(FormattedMessage, { id: "filterBar.unappliedFiltersNotification", values: {
|
|
79
88
|
link: (chunks) => (_jsx("strong", { children: _jsxs(BubbleHoverTrigger, { showDelay: 100, hideDelay: 0, children: [
|
|
80
89
|
_jsx(UiButton, { variant: "link", onClick: applyAllDashboardFilters, label: chunks, isDisabled: hasInvalidFilterSelections }), hasInvalidFilterSelections ? (_jsx(Bubble, { children: bubbleText })) : null] }) })),
|
|
@@ -83,7 +92,7 @@ function DefaultFilterBarContainerCore({ children }) {
|
|
|
83
92
|
date: formattedDate,
|
|
84
93
|
} }), _jsx("span", { className: "filters-message-spacer" }), _jsx(FormattedMessage, { id: "filterBar.executionTimestampNotificationAction", values: {
|
|
85
94
|
link: (chunks) => _jsx("a", { onClick: onShowCurrentTimestampDashboard, children: chunks }),
|
|
86
|
-
} })] }) })) : null] }));
|
|
95
|
+
} })] }) })) : null, !isFilterBarExpanded && collapseAnnouncement ? (_jsx("div", { className: "sr-only", role: "alert", children: collapseAnnouncement })) : null] }));
|
|
87
96
|
}
|
|
88
97
|
function AllFiltersContainer({ setCalculatedRows, isAutoExpanded, children, }) {
|
|
89
98
|
const ref = useRef(null);
|
|
@@ -99,6 +99,10 @@ export declare const en_US: {
|
|
|
99
99
|
text: string;
|
|
100
100
|
crowdinContext: string;
|
|
101
101
|
};
|
|
102
|
+
"filterBar.filterListAutoCollapsed": {
|
|
103
|
+
text: string;
|
|
104
|
+
crowdinContext: string;
|
|
105
|
+
};
|
|
102
106
|
"filterBar.unappliedFiltersNotification": {
|
|
103
107
|
text: string;
|
|
104
108
|
crowdinContext: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ter list has been auto-expanded",
|
|
102
102
|
"crowdinContext": "Screen reader announcement when the filter bar is automatically expanded to show all filters on keyboard focus."
|
|
103
103
|
},
|
|
104
|
+
"filterBar.filterListAutoCollapsed": {
|
|
105
|
+
"text": "Filter list has been auto-collapsed",
|
|
106
|
+
"crowdinContext": "Screen reader announcement when the filter bar is automatically collapsed to show fewer filters on keyboard focus out."
|
|
107
|
+
},
|
|
104
108
|
"filterBar.unappliedFiltersNotification": {
|
|
105
109
|
"text": "<link>Apply filters</link> to see updated data.",
|
|
106
110
|
"crowdinContext": "Message banner shown when filters are changed but not yet applied. The <link> tags create a clickable action to apply the filters."
|
|
@@ -742,7 +742,7 @@ export const fi_FI = {
|
|
|
742
742
|
"insightAlert.config.accessibility.title": "Hälytyksen mukautettu nimi",
|
|
743
743
|
"insightAlert.config.when": "Milloin",
|
|
744
744
|
"insightAlert.config.for": "Kohteelle",
|
|
745
|
-
"insightAlert.config.condition": "
|
|
745
|
+
"insightAlert.config.condition": "Ehto",
|
|
746
746
|
"insightAlert.config.threshold": "Kynnysarvo",
|
|
747
747
|
"insightAlert.config.comparison": "Vertailu",
|
|
748
748
|
"insightAlert.config.recipients": "Vastaanottajat",
|
|
@@ -365,7 +365,7 @@ export const nl_NL = {
|
|
|
365
365
|
"attributesDropdown.save": "Opslaan",
|
|
366
366
|
"attributesDropdown.filterBy": "Filteren volgens",
|
|
367
367
|
"attributesDropdown.displayValuesAs": "Waarden tonen als",
|
|
368
|
-
"attributesDropdown.title": "
|
|
368
|
+
"attributesDropdown.title": "Titel",
|
|
369
369
|
"attributesDropdown.title.reset": "Reset",
|
|
370
370
|
"attributesDropdown.selectionMode": "Selectie",
|
|
371
371
|
"attributesDropdown.selectionMode.multi": "Meerdere waarden",
|
|
@@ -495,7 +495,7 @@ export const nl_NL = {
|
|
|
495
495
|
"configurationPanel.drillConfig.filterSelection.drillToDashboardRankingFilter.tooltip": "Top-/bottomfilters kunnen niet worden doorgegeven aan het doeldashboard.",
|
|
496
496
|
"rankingFilter.preview.top_without_attribute_plain": "Top {value} van {measure}",
|
|
497
497
|
"rankingFilter.preview.bottom_without_attribute_plain": "Bottom {value} van {measure}",
|
|
498
|
-
"configurationPanel.visualprops.sectionTitle": "
|
|
498
|
+
"configurationPanel.visualprops.sectionTitle": "Titel",
|
|
499
499
|
"configurationPanel.visualprops.hideTitle": "Titel verbergen",
|
|
500
500
|
"configurationPanel.visualprops.sectionDescription": "Beschrijving",
|
|
501
501
|
"configurationPanel.visualprops.inheritDescription": "Erven",
|
|
@@ -742,7 +742,7 @@ export const zh_Hans = {
|
|
|
742
742
|
"insightAlert.config.accessibility.title": "警报的自定义名称",
|
|
743
743
|
"insightAlert.config.when": "何时",
|
|
744
744
|
"insightAlert.config.for": "为了",
|
|
745
|
-
"insightAlert.config.condition": "
|
|
745
|
+
"insightAlert.config.condition": "条件",
|
|
746
746
|
"insightAlert.config.threshold": "临界点",
|
|
747
747
|
"insightAlert.config.comparison": "比较",
|
|
748
748
|
"insightAlert.config.recipients": "收件人",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultMenuButton.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/DefaultMenuButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,YAAY,EAOpB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultMenuButton.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/DefaultMenuButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,YAAY,EAOpB,MAAM,OAAO,CAAC;AA4Bf,OAAO,EAIH,KAAK,gBAAgB,EACxB,MAAM,YAAY,CAAC;AAIpB;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,EAAE,gBAAgB,GAAG,YAAY,GAAG,IAAI,CA+NtF"}
|
|
@@ -3,7 +3,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
|
|
|
3
3
|
import { useCallback, useEffect, useMemo, useRef, useState, } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
|
-
import {
|
|
6
|
+
import { ItemsWrapper, Overlay, SingleSelectListItem, UiFocusManager, UiIcon, UiIconButton, UiTooltip, findFocusableElementOutsideContainer, getFocusableElements, isActionKey, makeMenuKeyboardNavigation, useId, useIdPrefixed, useMediaQuery, } from "@gooddata/sdk-ui-kit";
|
|
7
7
|
import { DEFAULT_MENU_BUTTON_ID } from "../../../_staging/accessibility/elementId.js";
|
|
8
8
|
import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
9
9
|
import { selectDashboardDensity } from "../../../model/store/ui/uiSelectors.js";
|
|
@@ -16,6 +16,7 @@ export function DefaultMenuButton({ menuItems }) {
|
|
|
16
16
|
const [isOpen, setIsOpen] = useState(false);
|
|
17
17
|
const [autofocusSubmenu, setAutofocusSubmenu] = useState(false);
|
|
18
18
|
const intl = useIntl();
|
|
19
|
+
const smallScreen = useMediaQuery("mobileDevice");
|
|
19
20
|
const tooltipText = intl.formatMessage({ id: "controlButtons.options.tooltip" });
|
|
20
21
|
const backLabel = intl.formatMessage({ id: "controlButtons.options.back" });
|
|
21
22
|
const closeLabel = intl.formatMessage({ id: "controlButtons.options.closeMenu" });
|
|
@@ -139,14 +140,13 @@ export function DefaultMenuButton({ menuItems }) {
|
|
|
139
140
|
] }) }) }) }, "topBarMenuButton"));
|
|
140
141
|
};
|
|
141
142
|
return (_jsxs(_Fragment, { children: [
|
|
142
|
-
_jsx(UiTooltip, { arrowPlacement: "top-end", content: tooltipText, anchor: _jsx(
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
} }), triggerBy: ["hover", "focus"] }), isOpen ? renderMenuItems() : null] }));
|
|
143
|
+
_jsx("div", { className: cx("dash-header-options-button", dropdownAnchorClassName), children: _jsx(UiTooltip, { arrowPlacement: "top-end", content: tooltipText, anchor: _jsx(UiIconButton, { ref: triggerButtonRef, onClick: onMenuButtonClick, icon: "ellipsis", id: DEFAULT_MENU_BUTTON_ID, dataTestId: "s-header-options-button", variant: smallScreen ? "tertiary" : "secondary", size: smallScreen ? "xlarge" : density === "compact" ? "small" : "medium", accessibilityConfig: {
|
|
144
|
+
role: "button",
|
|
145
|
+
ariaLabel: tooltipText,
|
|
146
|
+
ariaExpanded: isOpen,
|
|
147
|
+
ariaHaspopup: "menu",
|
|
148
|
+
ariaControls: isOpen ? menuId : undefined,
|
|
149
|
+
} }), triggerBy: ["hover", "focus"] }) }), isOpen ? renderMenuItems() : null] }));
|
|
150
150
|
}
|
|
151
151
|
function MenuItem({ menuItem, selectedMenuItem, setMenuItemRef, setSelectedMenuItem, setParentItemId, setAutofocusSubmenu, setIsOpen, }) {
|
|
152
152
|
const tooltipId = useIdPrefixed(`menu-tooltip-${menuItem.itemId}`);
|
package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js
CHANGED
|
@@ -164,7 +164,7 @@ export function DashboardInsight({ insight, widget, clientHeight, clientWidth, b
|
|
|
164
164
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
165
165
|
[onError, executionsHandler.onError, onResolveAsyncRender]);
|
|
166
166
|
const effectiveError = filtersError ?? visualizationError;
|
|
167
|
-
const execConfig = useWidgetExecConfig(ref);
|
|
167
|
+
const execConfig = useWidgetExecConfig(ref, insight);
|
|
168
168
|
useEffect(() => {
|
|
169
169
|
// Clear a stale error (e.g. "no data") on any execution change — parameters flow via execConfig, not filters.
|
|
170
170
|
setVisualizationError(undefined);
|
|
@@ -116,7 +116,7 @@ export function DrillDialogInsight({ insight, widget, backend, workspace, drillS
|
|
|
116
116
|
useEffect(() => {
|
|
117
117
|
onWidgetFiltersReady?.(filtersForInsight);
|
|
118
118
|
}, [filtersForInsight, onWidgetFiltersReady]);
|
|
119
|
-
const execConfig = useWidgetExecConfig(widget.ref);
|
|
119
|
+
const execConfig = useWidgetExecConfig(widget.ref, insight);
|
|
120
120
|
return (_jsx("div", { style: insightStyle, children: _jsx("div", { style: insightPositionStyle, children: _jsxs(IntlWrapper, { locale: locale, children: [filtersStatus === "running" || isVisualizationLoading ? _jsx(LoadingComponent, {}) : null, effectiveError ? (_jsx(CustomError, { error: effectiveError,
|
|
121
121
|
// drill dialog does not measure its size but is always large enough to fit the full content
|
|
122
122
|
forceFullContent: true })) : null, filtersStatus === "success" ? (_jsx("div", { ref: visualizationContainerRef, className: "insight-view-visualization", style: insightWrapperStyle, children: _jsx(InsightBody, { widget: widget, insight: finalInsight, layerTables: layerTables && layerTables.length > 1 ? layerTables : undefined, backend: effectiveBackend, workspace: effectiveWorkspace, drillableItems: drillableItems, onDrill: onDrill, config: chartConfig, onLoadingChanged: handleLoadingChanged, locale: locale, settings: settings, permissions: permissions, colorPalette: colorPalette, onError: handleError, onExportReady: onExportReady, pushData: handlePushData, ErrorComponent: ErrorComponent, LoadingComponent: LoadingComponent, execConfig: execConfig, drillStep: drillStep }) })) : null] }) }) }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type IAutomationMetadataObject, type ISeparators } from "@gooddata/sdk-model";
|
|
2
2
|
import { type IInputPureProps } from "@gooddata/sdk-ui-kit";
|
|
3
|
-
import { type AlertMetric } from "../../../../automations/
|
|
3
|
+
import { type AlertMetric } from "../../../../automations/alerting/types.js";
|
|
4
4
|
export interface IAlertTitleProps {
|
|
5
5
|
id?: string;
|
|
6
6
|
measures: AlertMetric[];
|
package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertTitle.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,yBAAyB,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAAE,KAAK,eAAe,EAAS,MAAM,sBAAsB,CAAC;AAGnE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AlertTitle.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,yBAAyB,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAAE,KAAK,eAAe,EAAS,MAAM,sBAAsB,CAAC;AAGnE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,MAAM,WAAW,gBAAgB;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,KAAK,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAC7C,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CACzC;AAED,wBAAgB,UAAU,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CAkBzF"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
// (C) 2025-2026 GoodData Corporation
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
4
|
import { Input } from "@gooddata/sdk-ui-kit";
|
|
5
|
-
import { getDescription } from "../../../../automations/
|
|
5
|
+
import { getDescription } from "../../../../automations/alerting/DefaultAlertingDialog/utils/getters.js";
|
|
6
6
|
export function AlertTitle({ id, alert, measures, separators, onChange }) {
|
|
7
7
|
const intl = useIntl();
|
|
8
8
|
const description = getDescription(intl, measures, alert, separators);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type IAutomationMetadataObjectDefinition, type ICatalogAttribute, type ICatalogDateDataset, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type ISeparators, type IWorkspaceUser } from "@gooddata/sdk-model";
|
|
2
2
|
import { type IExecutionResultEnvelope } from "../../../../../model/store/executionResults/types.js";
|
|
3
|
-
import { type IMeasureFormatMap } from "../../../../automations/
|
|
4
|
-
import { type AlertAttribute, type AlertMetric } from "../../../../automations/
|
|
3
|
+
import { type IMeasureFormatMap } from "../../../../automations/alerting/DefaultAlertingDialog/utils/getters.js";
|
|
4
|
+
import { type AlertAttribute, type AlertMetric } from "../../../../automations/alerting/types.js";
|
|
5
5
|
interface ICreateAlertProps {
|
|
6
6
|
canManageAttributes: boolean;
|
|
7
7
|
canManageComparison: boolean;
|
package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CreateAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE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,EAAE,iBAAiB,2CAyBnB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type ICatalogAttribute, type ICatalogDateDataset, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type ISeparators, type IWorkspaceUser } from "@gooddata/sdk-model";
|
|
2
2
|
import { type OverlayPositionType } from "@gooddata/sdk-ui-kit";
|
|
3
3
|
import { type IExecutionResultEnvelope } from "../../../../../model/store/executionResults/types.js";
|
|
4
|
-
import { type IMeasureFormatMap } from "../../../../automations/
|
|
5
|
-
import { type AlertAttribute, type AlertMetric } from "../../../../automations/
|
|
4
|
+
import { type IMeasureFormatMap } from "../../../../automations/alerting/DefaultAlertingDialog/utils/getters.js";
|
|
5
|
+
import { type AlertAttribute, type AlertMetric } from "../../../../automations/alerting/types.js";
|
|
6
6
|
interface IEditAlertProps {
|
|
7
7
|
canManageAttributes: boolean;
|
|
8
8
|
canManageComparison: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,
|
|
1
|
+
{"version":3,"file":"EditAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EAExB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAMH,KAAK,mBAAmB,EAC3B,MAAM,sBAAsB,CAAC;AAG9B,OAAO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