@gooddata/sdk-ui-dashboard 11.70.0-alpha.4 → 11.70.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 +49 -49
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/automation/index.d.ts +1 -0
- package/esm/_staging/automation/index.d.ts.map +1 -1
- package/esm/_staging/automation/index.js +16 -5
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts +9 -3
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts.map +1 -1
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.js +22 -13
- package/esm/_staging/dashboard/dashboardFilterContext.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterContext.js +11 -1
- package/esm/_staging/dashboard/dashboardFilterContextValidation.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterContextValidation.js +9 -9
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts +3 -3
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.js +14 -2
- package/esm/_staging/dashboard/parameterizedDateFilters.d.ts +9 -0
- package/esm/_staging/dashboard/parameterizedDateFilters.d.ts.map +1 -1
- package/esm/_staging/dashboard/parameterizedDateFilters.js +27 -0
- package/esm/_staging/exportUtils/filterUtils.d.ts.map +1 -1
- package/esm/_staging/exportUtils/filterUtils.js +5 -3
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.js +9 -7
- package/esm/index.d.ts +8 -8
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +5 -5
- package/esm/kdaDialog/dialog/KdaDialog.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/KdaDialog.js +15 -11
- package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.d.ts +17 -0
- package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.js +44 -2
- package/esm/model/DashboardTester.d.ts.map +1 -1
- package/esm/model/DashboardTester.js +0 -2
- package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts +2 -0
- package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts.map +1 -1
- package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.js +6 -1
- package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.js +7 -3
- package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.js +9 -4
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.js +23 -11
- package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.js +7 -8
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +6 -3
- package/esm/model/commandHandlers/drill/common/sourceDrillFilters.js +2 -2
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +18 -6
- package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.js +3 -5
- package/esm/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.js +3 -5
- package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +3 -5
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +21 -42
- package/esm/model/commandHandlers/filterContext/common.d.ts +2 -2
- package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.js +16 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts +2 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +56 -34
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +8 -3
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts +8 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.js +42 -9
- package/esm/model/commandHandlers/filterContext/tabSync/writtenTargets.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/tabSync/writtenTargets.js +2 -1
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +6 -1
- package/esm/model/commandHandlers/layout/undoLayoutChangesHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/undoLayoutChangesHandler.js +3 -1
- package/esm/model/commandHandlers/parameters/addParametersHandler.d.ts +6 -0
- package/esm/model/commandHandlers/parameters/addParametersHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/addParametersHandler.js +43 -0
- package/esm/model/commandHandlers/parameters/removeParametersHandler.d.ts +6 -0
- package/esm/model/commandHandlers/parameters/removeParametersHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/removeParametersHandler.js +29 -0
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +10 -4
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.js +3 -1
- package/esm/model/commandHandlers/widgets/changeInsightWidgetInsightHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/changeInsightWidgetInsightHandler.js +2 -0
- package/esm/model/commandHandlers/widgets/refreshInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/refreshInsightWidgetHandler.js +2 -0
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/filters.d.ts +88 -4
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +33 -21
- package/esm/model/commands/index.d.ts +3 -3
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/parameters.d.ts +78 -1
- package/esm/model/commands/parameters.d.ts.map +1 -1
- package/esm/model/commands/parameters.js +47 -0
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/base.d.ts.map +1 -1
- package/esm/model/events/filters.d.ts +70 -1
- package/esm/model/events/filters.d.ts.map +1 -1
- package/esm/model/events/filters.js +36 -0
- package/esm/model/events/index.d.ts +3 -3
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/parameters.d.ts +43 -1
- package/esm/model/events/parameters.d.ts.map +1 -1
- package/esm/model/events/parameters.js +26 -0
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.d.ts.map +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.js +5 -0
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.d.ts.map +1 -1
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.js +5 -0
- package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.js +0 -2
- package/esm/model/react/useWidgetFilters.d.ts.map +1 -1
- package/esm/model/react/useWidgetFilters.js +5 -2
- package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
- package/esm/model/store/filtering/dashboardFilterSelectors.js +10 -2
- package/esm/model/store/meta/metaSelectors.js +3 -3
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +31 -2
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextReducers.js +66 -12
- package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts +29 -3
- package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextSelectors.js +29 -3
- package/esm/model/store/tabs/filterContext/filterContextState.d.ts +2 -2
- package/esm/model/store/tabs/filterContext/filterContextState.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextUtils.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextUtils.js +80 -24
- package/esm/model/store/tabs/filterContext/filterSync.d.ts +7 -1
- package/esm/model/store/tabs/filterContext/filterSync.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterSync.js +58 -21
- package/esm/model/store/tabs/layout/layoutSelectors.js +2 -2
- package/esm/model/utils/widgetFilters.js +2 -2
- package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
- package/esm/plugins/customizationApis/customizationBuilder.js +3 -1
- package/esm/plugins/customizationApis/dateFiltersCustomizer.d.ts +4 -3
- package/esm/plugins/customizationApis/dateFiltersCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/dateFiltersCustomizer.js +23 -41
- package/esm/plugins/customizer.d.ts +16 -1
- package/esm/plugins/customizer.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/AlertingConnector.js +14 -1
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +14 -1
- package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.d.ts +8 -0
- package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.d.ts.map +1 -0
- package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.js +16 -0
- package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.d.ts +13 -0
- package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.d.ts.map +1 -0
- package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.js +29 -0
- package/esm/presentation/automations/shared/exportUtils/filterUtils.d.ts.map +1 -1
- package/esm/presentation/automations/shared/exportUtils/filterUtils.js +4 -2
- package/esm/presentation/automations/shared/utils/automationUtils.d.ts.map +1 -1
- package/esm/presentation/automations/shared/utils/automationUtils.js +10 -4
- package/esm/presentation/componentDefinition/types.d.ts +3 -3
- package/esm/presentation/componentDefinition/types.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.js +56 -20
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -2
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.js +8 -3
- package/esm/presentation/dashboard/types.d.ts +12 -1
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -2
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -1
- package/esm/presentation/dashboardContexts/types.d.ts +13 -2
- package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts +4 -4
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useFilterDeleteDrop.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useFilterDeleteDrop.js +6 -4
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +10 -2
- package/esm/presentation/drill/DrillSelect/WithDrillSelect.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/WithDrillSelect.js +15 -7
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.js +62 -6
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +3 -2
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts +2 -2
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +30 -14
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilterComponentSetFactory.d.ts +2 -2
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilterComponentSetFactory.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.d.ts +7 -0
- package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.d.ts.map +1 -0
- package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.js +40 -0
- package/esm/presentation/filterBar/dateFilter/types.d.ts +43 -1
- package/esm/presentation/filterBar/dateFilter/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +13 -5
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +3 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.js +2 -2
- package/esm/presentation/filterBar/filterBar/ShowAllFiltersButton.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/ShowAllFiltersButton.js +1 -1
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +21 -3
- package/esm/presentation/filterBar/filterBar/types.d.ts +3 -3
- package/esm/presentation/filterBar/filterBar/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts +3 -3
- package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.js +3 -3
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.d.ts.map +1 -1
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.js +11 -13
- package/esm/presentation/insightEditor/filterContext/dateFilters.d.ts.map +1 -1
- package/esm/presentation/insightEditor/filterContext/dateFilters.js +2 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +52 -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 +52 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +3 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +2 -0
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +33 -6
- package/esm/presentation/topBar/timezoneIndicator/TimezoneIndicator.d.ts.map +1 -1
- package/esm/presentation/topBar/timezoneIndicator/TimezoneIndicator.js +2 -2
- package/esm/presentation/widget/description/DescriptionClickTrigger.d.ts.map +1 -1
- package/esm/presentation/widget/description/DescriptionClickTrigger.js +19 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js +19 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js +12 -5
- package/esm/sdk-ui-dashboard.d.ts +451 -16
- package/package.json +23 -23
- package/styles/css/filterBar.css +5 -0
- package/styles/css/filterBar.css.map +1 -1
- package/styles/css/main.css +6 -3
- package/styles/css/main.css.map +1 -1
- package/styles/css/timezoneIndicator.css +1 -3
- package/styles/css/timezoneIndicator.css.map +1 -1
- package/styles/scss/filterBar.scss +4 -0
- package/styles/scss/timezoneIndicator.scss +1 -3
- package/esm/assets/timezone.svg +0 -1
- package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.d.ts +0 -3
- package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.d.ts.map +0 -1
- package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.js +0 -26
|
@@ -18,6 +18,24 @@ export function dateFilterChanged(ctx, filter, dateFilterOptionLocalId, correlat
|
|
|
18
18
|
* @public
|
|
19
19
|
*/
|
|
20
20
|
export const isDashboardDateFilterSelectionChanged = eventGuard("GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.SELECTION_CHANGED");
|
|
21
|
+
export function dateFilterOfAnyTypeChanged(ctx, filter, dateFilterOptionLocalId, correlationId) {
|
|
22
|
+
return {
|
|
23
|
+
type: "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER_OF_ANY_TYPE.SELECTION_CHANGED",
|
|
24
|
+
ctx,
|
|
25
|
+
correlationId,
|
|
26
|
+
payload: {
|
|
27
|
+
filter,
|
|
28
|
+
dateFilterOptionLocalId,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Tests whether the provided object is an instance of {@link DashboardDateFilterOfAnyTypeSelectionChanged}.
|
|
34
|
+
*
|
|
35
|
+
* @param obj - object to test
|
|
36
|
+
* @alpha
|
|
37
|
+
*/
|
|
38
|
+
export const isDashboardDateFilterOfAnyTypeSelectionChanged = eventGuard("GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER_OF_ANY_TYPE.SELECTION_CHANGED");
|
|
21
39
|
export function attributeFilterAdded(ctx, added, index, correlationId) {
|
|
22
40
|
return {
|
|
23
41
|
type: "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADDED",
|
|
@@ -255,6 +273,24 @@ export function dateFilterTitleChanged(ctx, filter, filterConfig, correlationId)
|
|
|
255
273
|
* @beta
|
|
256
274
|
*/
|
|
257
275
|
export const isDashboardDateFilterTitleChanged = eventGuard("GDC.DASH/EVT.DATE_FILTER_CONFIG.TITLE_CHANGED");
|
|
276
|
+
export function dateFilterOfAnyTypeTitleChanged(ctx, filter, filterConfig, correlationId) {
|
|
277
|
+
return {
|
|
278
|
+
type: "GDC.DASH/EVT.DATE_FILTER_OF_ANY_TYPE_CONFIG.TITLE_CHANGED",
|
|
279
|
+
ctx,
|
|
280
|
+
correlationId,
|
|
281
|
+
payload: {
|
|
282
|
+
filter,
|
|
283
|
+
filterConfig,
|
|
284
|
+
},
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* Tests whether the provided object is an instance of {@link IDashboardDateFilterOfAnyTypeTitleChanged}.
|
|
289
|
+
*
|
|
290
|
+
* @param obj - object to test
|
|
291
|
+
* @alpha
|
|
292
|
+
*/
|
|
293
|
+
export const isDashboardDateFilterOfAnyTypeTitleChanged = eventGuard("GDC.DASH/EVT.DATE_FILTER_OF_ANY_TYPE_CONFIG.TITLE_CHANGED");
|
|
258
294
|
export function dateFilterModeChanged(ctx, filter, filterConfig, correlationId) {
|
|
259
295
|
return {
|
|
260
296
|
type: "GDC.DASH/EVT.DATE_FILTER_CONFIG.MODE_CHANGED",
|
|
@@ -3,7 +3,7 @@ import { type IDashboardAlertCreated, type IDashboardAlertSaved } from "./alerts
|
|
|
3
3
|
import { type ICreateAttributeHierarchyRequested, type IDeleteAttributeHierarchyRequested } from "./attributeHierarchies.js";
|
|
4
4
|
import { type DashboardCopySaved, type DashboardDeinitialized, type DashboardInitialized, type DashboardSaved, type DashboardSharingChanged, type DateFilterValidationFailed, type IDashboardDefinitionChanged, type IDashboardExportToExcelRequested, type IDashboardExportToExcelResolved, type IDashboardExportToImageRequested, type IDashboardExportToImageResolved, type IDashboardExportToPdfPresentationRequested, type IDashboardExportToPdfPresentationResolved, type IDashboardExportToPdfRequested, type IDashboardExportToPdfResolved, type IDashboardExportToPptPresentationRequested, type IDashboardExportToPptPresentationResolved, type IDashboardIgnoreExecutionTimestampChanged, type IDashboardRenamed, type IDashboardWasReset } from "./dashboard.js";
|
|
5
5
|
import { type IDashboardDrillDownRequested, type IDashboardDrillDownResolved, type IDashboardDrillRequested, type IDashboardDrillResolved, type IDashboardDrillToAttributeUrlRequested, type IDashboardDrillToAttributeUrlResolved, type IDashboardDrillToCustomUrlRequested, type IDashboardDrillToCustomUrlResolved, type IDashboardDrillToDashboardRequested, type IDashboardDrillToDashboardResolved, type IDashboardDrillToInsightRequested, type IDashboardDrillToInsightResolved, type IDashboardDrillToLegacyDashboardRequested, type IDashboardDrillToLegacyDashboardResolved, type IDashboardDrillableItemsChanged, type IDashboardKeyDriverAnalysisRequested, type IDashboardKeyDriverAnalysisResolved } from "./drill.js";
|
|
6
|
-
import { type DashboardAttributeFilterItemSelectionReplaced, type DashboardAttributeFilterSelectionChanged, type DashboardDateFilterSelectionChanged, type DashboardFilterContextChanged, type IDashboardAttributeFilterAdded, type IDashboardAttributeFilterMoved, type IDashboardAttributeFilterParentChanged, type IDashboardAttributeFilterRemoved, type IDashboardAttributeSelectionModeChanged, type IDashboardAttributeTitleChanged, type IDashboardMeasureValueFilterAdded, type IDashboardMeasureValueFilterConditionChanged, type IDashboardMeasureValueFilterConfigModeChanged, type IDashboardMeasureValueFilterDimensionalityChanged, type IDashboardMeasureValueFilterMoved, type IDashboardMeasureValueFilterRemoved, type IDashboardMeasureValueFilterTitleChanged } from "./filters.js";
|
|
6
|
+
import { type DashboardAttributeFilterItemSelectionReplaced, type DashboardAttributeFilterSelectionChanged, type DashboardDateFilterOfAnyTypeSelectionChanged, type DashboardDateFilterSelectionChanged, type DashboardFilterContextChanged, type IDashboardAttributeFilterAdded, type IDashboardAttributeFilterMoved, type IDashboardAttributeFilterParentChanged, type IDashboardAttributeFilterRemoved, type IDashboardAttributeSelectionModeChanged, type IDashboardAttributeTitleChanged, type IDashboardDateFilterOfAnyTypeTitleChanged, type IDashboardMeasureValueFilterAdded, type IDashboardMeasureValueFilterConditionChanged, type IDashboardMeasureValueFilterConfigModeChanged, type IDashboardMeasureValueFilterDimensionalityChanged, type IDashboardMeasureValueFilterMoved, type IDashboardMeasureValueFilterRemoved, type IDashboardMeasureValueFilterTitleChanged } from "./filters.js";
|
|
7
7
|
import { type IDashboardCommandFailed, type IDashboardCommandRejected, type IDashboardCommandStarted, type IDashboardQueryCompleted, type IDashboardQueryFailed, type IDashboardQueryRejected, type IDashboardQueryStarted } from "./general.js";
|
|
8
8
|
import { type IDashboardInsightWidgetChanged, type IDashboardInsightWidgetDescriptionChanged, type IDashboardInsightWidgetDrillsModified, type IDashboardInsightWidgetDrillsRemoved, type IDashboardInsightWidgetExportRequested, type IDashboardInsightWidgetExportResolved, type IDashboardInsightWidgetFilterSettingsChanged, type IDashboardInsightWidgetHeaderChanged, type IDashboardInsightWidgetInsightSwitched, type IDashboardInsightWidgetRefreshed, type IDashboardInsightWidgetVisConfigurationChanged, type IDashboardInsightWidgetVisPropertiesChanged } from "./insight.js";
|
|
9
9
|
import { type IDashboardInsightDeleted } from "./insightDelete.js";
|
|
@@ -11,7 +11,7 @@ import { type IDashboardInsightEditorCacheResetRequested, type IDashboardInsight
|
|
|
11
11
|
import { type IDashboardKpiWidgetChanged, type IDashboardKpiWidgetComparisonChanged, type IDashboardKpiWidgetConfigurationChanged, type IDashboardKpiWidgetDescriptionChanged, type IDashboardKpiWidgetDrillRemoved, type IDashboardKpiWidgetDrillSet, type IDashboardKpiWidgetFilterSettingsChanged, type IDashboardKpiWidgetHeaderChanged, type IDashboardKpiWidgetMeasureChanged } from "./kpi.js";
|
|
12
12
|
import { type ICreateInsightRequested } from "./lab.js";
|
|
13
13
|
import { type IDashboardLayoutChanged, type IDashboardLayoutSectionAdded, type IDashboardLayoutSectionHeaderChanged, type IDashboardLayoutSectionItemMoved, type IDashboardLayoutSectionItemMovedToNewSection, type IDashboardLayoutSectionItemRemoved, type IDashboardLayoutSectionItemReplaced, type IDashboardLayoutSectionItemsAdded, type IDashboardLayoutSectionMoved, type IDashboardLayoutSectionRemoved } from "./layout.js";
|
|
14
|
-
import { type IDashboardParametersChanged, type IDashboardParametersSelectionReset } from "./parameters.js";
|
|
14
|
+
import { type IDashboardParametersAdded, type IDashboardParametersChanged, type IDashboardParametersRemoved, type IDashboardParametersSelectionReset } from "./parameters.js";
|
|
15
15
|
import { type DashboardAsyncRenderRequested, type DashboardAsyncRenderResolved, type DashboardRenderRequested, type DashboardRenderResolved } from "./render.js";
|
|
16
16
|
import { type IDashboardRenderModeChanged } from "./renderMode.js";
|
|
17
17
|
import { type IDashboardRichTextWidgetContentChanged, type IDashboardRichTextWidgetFilterSettingsChanged } from "./richText.js";
|
|
@@ -32,7 +32,7 @@ import { type IDashboardWidgetExecutionFailed, type IDashboardWidgetExecutionSta
|
|
|
32
32
|
*
|
|
33
33
|
* @public
|
|
34
34
|
*/
|
|
35
|
-
export type DashboardEvents = DashboardInitialized | DashboardDeinitialized | DateFilterValidationFailed | DashboardSaved | DashboardCopySaved | DashboardRenderRequested | DashboardAsyncRenderRequested | DashboardAsyncRenderResolved | DashboardRenderResolved | DashboardSharingChanged | IDashboardRenderModeChanged | IDashboardTimezoneOverrideChanged | 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 | IDashboardMeasureValueFilterConditionChanged | IDashboardMeasureValueFilterDimensionalityChanged | 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 | IDashboardInsightDeleted | IDashboardInsightWidgetChanged | IDashboardInsightWidgetExportRequested | IDashboardInsightWidgetExportResolved | IDashboardInsightWidgetRefreshed | IDashboardRichTextWidgetContentChanged | IDashboardRichTextWidgetFilterSettingsChanged | IDashboardVisualizationSwitcherWidgetVisualizationAdded | IDashboardVisualizationSwitcherWidgetVisualizationsUpdated | IDashboardVisualizationSwitcherWidgetActiveVisualizationChanged | 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 | IDashboardDefinitionChanged | IDashboardTabSwitched | IDashboardTabCreated | IDashboardTabDeleted | IDashboardTabRenamingStarted | IDashboardTabRenamingCanceled | IDashboardTabRenamed | IDashboardParametersSelectionReset | IDashboardParametersChanged | IDashboardInsightEditorOpened | IDashboardInsightEditorInsightSaved | IDashboardInsightEditorCancelled | IDashboardInsightEditorCacheResetRequested | ICreateInsightRequested | ICreateAttributeHierarchyRequested | IDeleteAttributeHierarchyRequested;
|
|
35
|
+
export type DashboardEvents = DashboardInitialized | DashboardDeinitialized | DateFilterValidationFailed | DashboardSaved | DashboardCopySaved | DashboardRenderRequested | DashboardAsyncRenderRequested | DashboardAsyncRenderResolved | DashboardRenderResolved | DashboardSharingChanged | IDashboardRenderModeChanged | IDashboardTimezoneOverrideChanged | 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 | DashboardDateFilterOfAnyTypeSelectionChanged | IDashboardDateFilterOfAnyTypeTitleChanged | IDashboardAttributeFilterAdded | IDashboardAttributeFilterRemoved | IDashboardAttributeFilterMoved | DashboardAttributeFilterSelectionChanged | DashboardAttributeFilterItemSelectionReplaced | IDashboardAttributeTitleChanged | IDashboardAttributeSelectionModeChanged | IDashboardAttributeFilterParentChanged | IDashboardMeasureValueFilterAdded | IDashboardMeasureValueFilterMoved | IDashboardMeasureValueFilterRemoved | IDashboardMeasureValueFilterConditionChanged | IDashboardMeasureValueFilterDimensionalityChanged | 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 | IDashboardInsightDeleted | IDashboardInsightWidgetChanged | IDashboardInsightWidgetExportRequested | IDashboardInsightWidgetExportResolved | IDashboardInsightWidgetRefreshed | IDashboardRichTextWidgetContentChanged | IDashboardRichTextWidgetFilterSettingsChanged | IDashboardVisualizationSwitcherWidgetVisualizationAdded | IDashboardVisualizationSwitcherWidgetVisualizationsUpdated | IDashboardVisualizationSwitcherWidgetActiveVisualizationChanged | 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 | IDashboardDefinitionChanged | IDashboardTabSwitched | IDashboardTabCreated | IDashboardTabDeleted | IDashboardTabRenamingStarted | IDashboardTabRenamingCanceled | IDashboardTabRenamed | IDashboardParametersSelectionReset | IDashboardParametersChanged | IDashboardParametersAdded | IDashboardParametersRemoved | IDashboardInsightEditorOpened | IDashboardInsightEditorInsightSaved | IDashboardInsightEditorCancelled | IDashboardInsightEditorCacheResetRequested | ICreateInsightRequested | ICreateAttributeHierarchyRequested | IDeleteAttributeHierarchyRequested;
|
|
36
36
|
/**
|
|
37
37
|
* Creates DashboardEvent predicate that test whether the provided event matches it.
|
|
38
38
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACrF,OAAO,EACH,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EAC1C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,+BAA+B,EACpC,KAAK,0CAA0C,EAC/C,KAAK,yCAAyC,EAC9C,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,0CAA0C,EAC/C,KAAK,yCAAyC,EAC9C,KAAK,yCAAyC,EAC9C,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EAC1B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,KAAK,4BAA4B,EACjC,K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ACtC,mCAAmC,GACnC,mCAAmC,GACnC,iCAAiC,GACjC,yCAAyC,GACzC,wBAAwB,GACxB,+BAA+B,GAC/B,yCAAyC,GACzC,2BAA2B,GAC3B,qBAAqB,GACrB,oBAAoB,GACpB,oBAAoB,GACpB,4BAA4B,GAC5B,6BAA6B,GAC7B,oBAAoB,GACpB,kCAAkC,GAClC,2BAA2B,GAC3B,yBAAyB,GACzB,2BAA2B,GAC3B,6BAA6B,GAC7B,mCAAmC,GACnC,gCAAgC,GAChC,0CAA0C,GAE1C,uBAAuB,GACvB,kCAAkC,GAClC,kCAAkC,CAAC;AAEzC;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,eAAe,CAAC,MAAM,CAAC,EACxE,SAAS,EAAE,CAAC,EACZ,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,GAAG;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,KAAK,OAAO,WAEzC,MAAM,KAAG,OAAO,CAMlC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IInsightParameterValue } from "@gooddata/sdk-model";
|
|
1
|
+
import { type IInsightParameterValue, type IdentifierRef, type ObjRef } from "@gooddata/sdk-model";
|
|
2
2
|
import { type DashboardContext } from "../types/commonTypes.js";
|
|
3
3
|
import { type DashboardEventBody, type IDashboardEvent } from "./base.js";
|
|
4
4
|
/**
|
|
@@ -57,4 +57,46 @@ export declare function parametersChanged(ctx: DashboardContext, parameters: IIn
|
|
|
57
57
|
* @alpha
|
|
58
58
|
*/
|
|
59
59
|
export declare const isDashboardParametersChanged: (obj: unknown) => obj is IDashboardParametersChanged;
|
|
60
|
+
/**
|
|
61
|
+
* Payload of the {@link IDashboardParametersAdded} event.
|
|
62
|
+
*
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
export interface IDashboardParametersAddedPayload {
|
|
66
|
+
readonly refs: IdentifierRef[];
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* This event is emitted after workspace parameters have been added to the active tab.
|
|
70
|
+
*
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
export interface IDashboardParametersAdded extends IDashboardEvent {
|
|
74
|
+
readonly type: "GDC.DASH/EVT.PARAMETERS.ADDED";
|
|
75
|
+
readonly payload: IDashboardParametersAddedPayload;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
export declare function parametersAdded(ctx: DashboardContext, refs: IdentifierRef[], correlationId?: string): IDashboardParametersAdded;
|
|
81
|
+
/**
|
|
82
|
+
* Payload of the {@link IDashboardParametersRemoved} event.
|
|
83
|
+
*
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
export interface IDashboardParametersRemovedPayload {
|
|
87
|
+
readonly refs: ObjRef[];
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* This event is emitted after parameters have been removed from the active tab.
|
|
91
|
+
*
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
export interface IDashboardParametersRemoved extends IDashboardEvent {
|
|
95
|
+
readonly type: "GDC.DASH/EVT.PARAMETERS.REMOVED";
|
|
96
|
+
readonly payload: IDashboardParametersRemovedPayload;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
export declare function parametersRemoved(ctx: DashboardContext, refs: ObjRef[], correlationId?: string): IDashboardParametersRemoved;
|
|
60
102
|
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/model/events/parameters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/model/events/parameters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,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QAAQ,CAAC,OAAO,EAAE,gCAAgC,CAAC;CACtD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAC3B,GAAG,EAAE,gBAAgB,EACrB,IAAI,EAAE,aAAa,EAAE,EACrB,aAAa,CAAC,EAAE,MAAM,GACvB,yBAAyB,CAS3B;AAED;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,2BAA4B,SAAQ,eAAe;IAChE,QAAQ,CAAC,IAAI,EAAE,iCAAiC,CAAC;IACjD,QAAQ,CAAC,OAAO,EAAE,kCAAkC,CAAC;CACxD;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC7B,GAAG,EAAE,gBAAgB,EACrB,IAAI,EAAE,MAAM,EAAE,EACd,aAAa,CAAC,EAAE,MAAM,GACvB,2BAA2B,CAS7B"}
|
|
@@ -39,3 +39,29 @@ export function parametersChanged(ctx, parameters, tabLocalIdentifier, correlati
|
|
|
39
39
|
* @alpha
|
|
40
40
|
*/
|
|
41
41
|
export const isDashboardParametersChanged = eventGuard("GDC.DASH/EVT.PARAMETERS.CHANGED");
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
export function parametersAdded(ctx, refs, correlationId) {
|
|
46
|
+
return {
|
|
47
|
+
type: "GDC.DASH/EVT.PARAMETERS.ADDED",
|
|
48
|
+
ctx,
|
|
49
|
+
correlationId,
|
|
50
|
+
payload: {
|
|
51
|
+
refs,
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
export function parametersRemoved(ctx, refs, correlationId) {
|
|
59
|
+
return {
|
|
60
|
+
type: "GDC.DASH/EVT.PARAMETERS.REMOVED",
|
|
61
|
+
ctx,
|
|
62
|
+
correlationId,
|
|
63
|
+
payload: {
|
|
64
|
+
refs,
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
}
|
package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDashboardScheduledEmailsCommands.d.ts","sourceRoot":"","sources":["../../../../src/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,OAAO,EAGf,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"useDashboardScheduledEmailsCommands.d.ts","sourceRoot":"","sources":["../../../../src/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,OAAO,EAGf,MAAM,qBAAqB,CAAC;AAW7B;;GAEG;AACH,UAAU,kCAAkC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACxC;AAED;;GAEG;AACH,eAAO,MAAM,mCAAmC;2CAS9B,kCAAkC;;;;;oDAyClC,OAAO,eAAe,MAAM;;;;;;;;;;CAoB7C,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2022-2026 GoodData Corporation
|
|
2
2
|
import { useCallback } from "react";
|
|
3
3
|
import { areObjRefsEqual, isInsightWidget, } from "@gooddata/sdk-model";
|
|
4
|
+
import { automationHasUneditableDateFilter } from "../../../_staging/automation/index.js";
|
|
4
5
|
import { switchDashboardTab } from "../../commands/tabs.js";
|
|
5
6
|
import { selectInsights } from "../../store/insights/insightsSelectors.js";
|
|
6
7
|
import { selectWidgets } from "../../store/tabs/layout/layoutSelectors.js";
|
|
@@ -20,6 +21,10 @@ export const useDashboardScheduledEmailsCommands = () => {
|
|
|
20
21
|
// Single Schedule Dialog
|
|
21
22
|
const openScheduleEmailingDialog = useCallback((options = {}) => {
|
|
22
23
|
const { widget, openedFrom, schedule } = options;
|
|
24
|
+
if (schedule && automationHasUneditableDateFilter(schedule)) {
|
|
25
|
+
console.warn(`Cannot edit automation ${schedule.id}. Dashboards do not support its date filters yet.`);
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
23
28
|
const targetTabIdentifier = schedule?.metadata?.targetTabIdentifier;
|
|
24
29
|
if (targetTabIdentifier && targetTabIdentifier !== activeTabId) {
|
|
25
30
|
dispatch(switchDashboardTab(targetTabIdentifier));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDashboardAlertsCommands.d.ts","sourceRoot":"","sources":["../../../../src/model/react/useDashboardAlerting/useDashboardAlertsCommands.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,OAAO,EAGf,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"useDashboardAlertsCommands.d.ts","sourceRoot":"","sources":["../../../../src/model/react/useDashboardAlerting/useDashboardAlertsCommands.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,OAAO,EAGf,MAAM,qBAAqB,CAAC;AAW7B;;GAEG;AACH,eAAO,MAAM,0BAA0B;+BAUrB,OAAO,UAAU,yBAAyB;;;;;0CAqC1C,OAAO,eAAe,MAAM;;;;;CA2B7C,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2022-2026 GoodData Corporation
|
|
2
2
|
import { useCallback } from "react";
|
|
3
3
|
import { areObjRefsEqual, isInsightWidget, } from "@gooddata/sdk-model";
|
|
4
|
+
import { automationHasUneditableDateFilter } from "../../../_staging/automation/index.js";
|
|
4
5
|
import { switchDashboardTab } from "../../commands/tabs.js";
|
|
5
6
|
import { selectInsights } from "../../store/insights/insightsSelectors.js";
|
|
6
7
|
import { selectWidgetLocalIdToTabIdMap, selectWidgets } from "../../store/tabs/layout/layoutSelectors.js";
|
|
@@ -20,6 +21,10 @@ export const useDashboardAlertsCommands = () => {
|
|
|
20
21
|
const activeTabId = useDashboardSelector(selectActiveTabLocalIdentifier);
|
|
21
22
|
// Single Alert Dialog
|
|
22
23
|
const openAlertDialog = useCallback((widget, alert) => {
|
|
24
|
+
if (alert && automationHasUneditableDateFilter(alert)) {
|
|
25
|
+
console.warn(`Cannot edit automation ${alert.id}. Dashboards do not support its date filters yet.`);
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
23
28
|
const widgetLocalId = widget?.localIdentifier ?? alert?.metadata?.widget;
|
|
24
29
|
if (widgetLocalId) {
|
|
25
30
|
const targetTabId = widgetTabMap[widgetLocalId];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInitializeDashboardStore.d.ts","sourceRoot":"","sources":["../../../src/model/react/useInitializeDashboardStore.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useInitializeDashboardStore.d.ts","sourceRoot":"","sources":["../../../src/model/react/useInitializeDashboardStore.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,KAAK,sBAAsB,EAAwB,MAAM,4BAA4B,CAAC;AAI/F,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAkE/D;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,UAC7B,4BAA4B,KACpC,sBAAsB,GAAG,IAqG3B,CAAC"}
|
|
@@ -6,7 +6,6 @@ import { enrichMapboxToken, useMapboxToken } from "@gooddata/sdk-ui-geo";
|
|
|
6
6
|
import { enrichAgGridToken, useAgGridToken } from "@gooddata/sdk-ui-pivot/next";
|
|
7
7
|
import { shallowEqualObjects } from "@gooddata/util";
|
|
8
8
|
import { newDashboardSummaryWorkflowWorker } from "../commandHandlers/dashboard/dashboardSummaryWorkflowWorker.js";
|
|
9
|
-
import { newCustomUrlDrillParametersWorker } from "../commandHandlers/parameters/customUrlDrillParametersWorker.js";
|
|
10
9
|
import { newParameterDependenciesWorker } from "../commandHandlers/parameters/parameterDependenciesWorker.js";
|
|
11
10
|
import { newRenderingWorker } from "../commandHandlers/render/renderingWorker.js";
|
|
12
11
|
import { InitialLoadCorrelationId, initializeDashboardWithPersistedDashboard, } from "../commands/dashboard.js";
|
|
@@ -114,7 +113,6 @@ export const useInitializeDashboardStore = (props) => {
|
|
|
114
113
|
}),
|
|
115
114
|
newDashboardSummaryWorkflowWorker(),
|
|
116
115
|
newParameterDependenciesWorker(),
|
|
117
|
-
newCustomUrlDrillParametersWorker(),
|
|
118
116
|
];
|
|
119
117
|
// Create new store and fire load dashboard command.
|
|
120
118
|
const newDashboardStore = createDashboardStore({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWidgetFilters.d.ts","sourceRoot":"","sources":["../../../src/model/react/useWidgetFilters.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,OAAO,EACZ,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"useWidgetFilters.d.ts","sourceRoot":"","sources":["../../../src/model/react/useWidgetFilters.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,OAAO,EACZ,KAAK,kBAAkB,EAc1B,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAGzE,OAAO,EACH,KAAK,oBAAoB,EAG5B,MAAM,kCAAkC,CAAC;AA0N1C;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC5B,MAAM,EAAE,yBAAyB,GAAG,SAAS,GAAG,IAAI,EACpD,OAAO,CAAC,EAAE,kBAAkB,GAC7B,oBAAoB,CAAC,OAAO,EAAE,CAAC,CAsBjC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2020-2026 GoodData Corporation
|
|
2
2
|
import { useEffect, useMemo, useState } from "react";
|
|
3
3
|
import stringify from "json-stable-stringify";
|
|
4
|
-
import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemLocalIdentifier, filterObjRef, isAllTimeDashboardDateFilter, isAllValuesDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardDateFilter, isDashboardDateFilterWithDimension, isDashboardMeasureValueFilter, } from "@gooddata/sdk-model";
|
|
4
|
+
import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemLocalIdentifier, filterObjRef, isAllTimeDashboardDateFilter, isAllValuesDashboardAttributeFilter, isDashboardAbsoluteGranularityDateFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilterOfAnyType, isDashboardDateFilter, isDashboardDateFilterWithDimension, isDashboardMeasureValueFilter, } from "@gooddata/sdk-model";
|
|
5
5
|
import { usePrevious } from "@gooddata/sdk-ui";
|
|
6
6
|
import { _isEqual } from "@gooddata/util";
|
|
7
7
|
import { safeSerializeObjRef } from "../../_staging/metadata/safeSerializeObjRef.js";
|
|
@@ -266,7 +266,7 @@ function filtersDigest(filters, ignoreDateFilter, isInEditMode) {
|
|
|
266
266
|
const isNoop = isAllTimeDashboardDateFilter(filter.dateFilter);
|
|
267
267
|
return !isNoop || !isInEditMode;
|
|
268
268
|
}
|
|
269
|
-
else if (
|
|
269
|
+
else if (isDashboardCommonDateFilterOfAnyType(filter)) {
|
|
270
270
|
// Common date filter: if the widget ignores date filters, remove it from the digest to avoid false positives
|
|
271
271
|
// when date filter changes to or from All time (this effectively adds/removes the date filter in the filters set,
|
|
272
272
|
// but we do not care either way, so remove it altogether)
|
|
@@ -281,6 +281,9 @@ function filtersDigest(filters, ignoreDateFilter, isInEditMode) {
|
|
|
281
281
|
else if (isDashboardDateFilter(filter)) {
|
|
282
282
|
return `ds_${safeSerializeObjRef(filter.dateFilter.dataSet)}`;
|
|
283
283
|
}
|
|
284
|
+
else if (isDashboardAbsoluteGranularityDateFilter(filter)) {
|
|
285
|
+
return `ds_${safeSerializeObjRef(filter.dashboardAbsoluteGranularityDateFilter.dataSet)}`;
|
|
286
|
+
}
|
|
284
287
|
return `unknown_${stringify(filter)}`;
|
|
285
288
|
})
|
|
286
289
|
.sort()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboardFilterSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/filtering/dashboardFilterSelectors.ts"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,
|
|
1
|
+
{"version":3,"file":"dashboardFilterSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/filtering/dashboardFilterSelectors.ts"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EActC,MAAM,qBAAqB,CAAC;AAuB7B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIrD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAOxD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAMxF;AAQD;;;;;GAKG;AACH,eAAO,MAAM,+CAA+C,EAAE,iBAAiB,CAAC,WAAW,CAAC,MAAM,CAAC,CACvB,CAAC;AAE7E;;;GAGG;AACH,eAAO,MAAM,wCAAwC,EAAE,iBAAiB,CAAC,iBAAiB,EAAE,CA0BvF,CAAC;AAEN;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,EAAE,iBAAiB,CAAC,MAAM,CAG1E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,iBAAiB,EAAE,CAInF,CAAC;AAOF;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,iBAAiB,CAChF,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,CAGtC,CAAC;AAE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D,8BAA8B,EAAE,8BAA8B,EAAE,CAAC;IACjE,sBAAsB,EAAE,+BAA+B,EAAE,CAAC;CAC7D,KACF,OA4BF,CAAC;AAMF;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,qBAAqB,EAAE,CA0FnF,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createSelector } from "@reduxjs/toolkit";
|
|
3
3
|
import { difference, mapValues } from "lodash-es";
|
|
4
4
|
import { generateDateFilterLocalIdentifier } from "@gooddata/sdk-backend-base";
|
|
5
|
-
import { areObjRefsEqual, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, isAllDashboardMeasureValueFilter, isAllValuesDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardDateFilterWithDimension, isDashboardMeasureValueFilter, newAllTimeDashboardDateFilter, } from "@gooddata/sdk-model";
|
|
5
|
+
import { areObjRefsEqual, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, isAllDashboardMeasureValueFilter, isAllValuesDashboardAttributeFilter, isDashboardAbsoluteGranularityDateFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardCommonDateFilterOfAnyType, isDashboardDateFilter, isDashboardDateFilterWithDimension, isDashboardMeasureValueFilter, newAllTimeDashboardDateFilter, } from "@gooddata/sdk-model";
|
|
6
6
|
import { createMemoizedSelector } from "../_infra/selectors.js";
|
|
7
7
|
import { selectCrossFilteringItems, selectCrossFilteringItemsByTab } from "../drill/drillSelectors.js";
|
|
8
8
|
import { selectAttributeFilterConfigsOverrides, selectAttributeFilterConfigsOverridesByTab, } from "../tabs/attributeFilterConfigs/attributeFilterConfigsSelectors.js";
|
|
@@ -74,7 +74,7 @@ export const selectRestrictedDashboardFilterLocalIdentifiersForTab = createMemoi
|
|
|
74
74
|
*/
|
|
75
75
|
export const selectExecutableDashboardFiltersByTab = createSelector(selectFiltersByTab, selectRestrictedDashboardFiltersByTab, (filtersByTab, restrictedByTab) => mapValues(filtersByTab, (filters, tabId) => difference(filters, restrictedByTab[tabId] ?? [])));
|
|
76
76
|
function withCommonDateFilterAndWithoutCrossFiltering(dashboardFilters, crossFilteringItems) {
|
|
77
|
-
const dashboardFiltersWithCommonDateFilter = dashboardFilters.some(
|
|
77
|
+
const dashboardFiltersWithCommonDateFilter = dashboardFilters.some(isDashboardCommonDateFilterOfAnyType)
|
|
78
78
|
? dashboardFilters
|
|
79
79
|
: [commonDateFilter, ...dashboardFilters];
|
|
80
80
|
return removeCrossFilteringFilters(dashboardFiltersWithCommonDateFilter, crossFilteringItems);
|
|
@@ -178,6 +178,10 @@ export const isFilterContextItemHidden = (filter, filterConfigurations) => {
|
|
|
178
178
|
const config = attributeFilterConfigs.find((attributeFilterConfig) => attributeFilterConfig.localIdentifier === attributeFilterLocalIdentifier);
|
|
179
179
|
return config?.mode === "hidden";
|
|
180
180
|
}
|
|
181
|
+
else if (isDashboardAbsoluteGranularityDateFilter(filter)) {
|
|
182
|
+
// TODO MC-5776: date filters with a dimension are not checked yet, the dashboard rejects them.
|
|
183
|
+
return isDashboardCommonDateFilterOfAnyType(filter) && commonDateFilterConfig?.mode === "hidden";
|
|
184
|
+
}
|
|
181
185
|
else if (isDashboardDateFilter(filter)) {
|
|
182
186
|
if (isDashboardCommonDateFilter(filter)) {
|
|
183
187
|
return commonDateFilterConfig?.mode === "hidden";
|
|
@@ -196,6 +200,10 @@ export const isFilterContextItemLocked = (filter, filterConfigurations) => {
|
|
|
196
200
|
const config = attributeFilterConfigs.find((attributeFilterConfig) => attributeFilterConfig.localIdentifier === attributeFilterLocalIdentifier);
|
|
197
201
|
return config?.mode === "readonly";
|
|
198
202
|
}
|
|
203
|
+
else if (isDashboardAbsoluteGranularityDateFilter(filter)) {
|
|
204
|
+
// TODO MC-5776: date filters with a dimension are not checked yet, the dashboard rejects them.
|
|
205
|
+
return isDashboardCommonDateFilterOfAnyType(filter) && commonDateFilterConfig?.mode === "readonly";
|
|
206
|
+
}
|
|
199
207
|
else if (isDashboardDateFilter(filter)) {
|
|
200
208
|
if (isDashboardCommonDateFilter(filter)) {
|
|
201
209
|
return commonDateFilterConfig?.mode === "readonly";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createSelector } from "@reduxjs/toolkit";
|
|
3
3
|
import { invariant } from "ts-invariant";
|
|
4
4
|
import { isDashboardLayoutEmpty } from "@gooddata/sdk-backend-spi";
|
|
5
|
-
import { idRef, isBrowserDetectedTimezone, isDashboardAttributeFilter,
|
|
5
|
+
import { idRef, isBrowserDetectedTimezone, isDashboardAttributeFilter, isDashboardCommonDateFilterOfAnyType, isDashboardDateFilterWithDimension, isDashboardMeasureValueFilter, isDashboardTextAttributeFilter, isTempFilterContext, normalizeDashboardTimezoneConfig, resolveTimezoneId, uriRef, } from "@gooddata/sdk-model";
|
|
6
6
|
import { _isEqual } from "@gooddata/util";
|
|
7
7
|
import { selectEnableDashboardPersistentFiltersAcrossTabs, selectEnableTimezoneChange, } from "../config/configSelectors.js";
|
|
8
8
|
import { selectIsInEditMode } from "../renderMode/renderModeSelectors.js";
|
|
@@ -679,8 +679,8 @@ export const selectIsDateFilterChanged = createSelector(selectPersistedDashboard
|
|
|
679
679
|
return tabIdentifiers.some((tabId) => {
|
|
680
680
|
const persistedFilters = persistedFiltersByTab[tabId] ?? [];
|
|
681
681
|
const workingFilters = workingFiltersByTab[tabId] ?? [];
|
|
682
|
-
const persistedDateFilter = persistedFilters.find(
|
|
683
|
-
const workingDateFilter = workingFilters.find(
|
|
682
|
+
const persistedDateFilter = persistedFilters.find(isDashboardCommonDateFilterOfAnyType);
|
|
683
|
+
const workingDateFilter = workingFilters.find(isDashboardCommonDateFilterOfAnyType);
|
|
684
684
|
return !_isEqual(persistedDateFilter, workingDateFilter);
|
|
685
685
|
});
|
|
686
686
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Action, type CaseReducer } from "@reduxjs/toolkit";
|
|
2
2
|
import { type IAttributeWithReferences } from "@gooddata/sdk-backend-spi";
|
|
3
|
-
import { type DashboardAttributeFilterItem, type DashboardAttributeFilterSelectionMode, type DashboardTextAttributeFilter, type DateFilterGranularity, type DateFilterType, type DateString, type EmptyValues, type FilterContextItem, type IAttributeDisplayFormMetadataObject, type IAttributeElements, type IDashboardAttributeFilterByDate, type IDashboardAttributeFilterParent, type IDashboardObjectIdentity, type IFilterContextDefinition, type ILowerBoundedFilter, type IUpperBoundedFilter, type MeasureValueFilterCondition, type ObjRef } from "@gooddata/sdk-model";
|
|
3
|
+
import { type DashboardAttributeFilterItem, type DashboardAttributeFilterSelectionMode, type DashboardTextAttributeFilter, type DateFilterGranularity, type DateFilterType, type DatePeriodGranularity, type DatePeriodLiteral, type DateString, type EmptyValues, type FilterContextItem, type IAttributeDisplayFormMetadataObject, type IAttributeElements, type IDashboardAttributeFilterByDate, type IDashboardAttributeFilterParent, type IDashboardObjectIdentity, type IFilterContextDefinition, type ILowerBoundedFilter, type IUpperBoundedFilter, type MeasureValueFilterCondition, type ObjRef } from "@gooddata/sdk-model";
|
|
4
4
|
import { type ITabState, type ITabsState } from "../tabsState.js";
|
|
5
5
|
type FilterContextReducer<A extends Action> = CaseReducer<ITabsState, A>;
|
|
6
6
|
type SetFilterContextPayload = {
|
|
@@ -84,9 +84,38 @@ export interface IUpsertDateFilterNonAllTimePayload {
|
|
|
84
84
|
readonly restoreTargetOriginal?: boolean;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
|
+
* Whole periods of the common date filter.
|
|
88
|
+
*
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
export interface IUpsertDateFilterAbsoluteGranularityPayload {
|
|
92
|
+
readonly type: "absoluteGranularity";
|
|
93
|
+
readonly granularity: DatePeriodGranularity;
|
|
94
|
+
readonly from?: DatePeriodLiteral;
|
|
95
|
+
readonly to?: DatePeriodLiteral;
|
|
96
|
+
readonly isWorkingSelectionChange?: boolean;
|
|
97
|
+
readonly localIdentifier?: string;
|
|
98
|
+
readonly emptyValueHandling?: EmptyValues;
|
|
99
|
+
/**
|
|
100
|
+
* Optional tab local identifier to target a specific tab.
|
|
101
|
+
* If not provided, the active tab will be used.
|
|
102
|
+
*/
|
|
103
|
+
readonly tabLocalIdentifier?: string;
|
|
104
|
+
/**
|
|
105
|
+
* When true, tabs this change is synced to restore their own saved initial date filter instead of this payload.
|
|
106
|
+
*/
|
|
107
|
+
readonly restoreTargetOriginal?: boolean;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
export type IUpsertDateFilterPayload = IUpsertDateFilterAllTimePayload | IUpsertDateFilterNonAllTimePayload | IUpsertDateFilterAbsoluteGranularityPayload;
|
|
113
|
+
/**
|
|
114
|
+
* The date data set of the upserted date filter, undefined for the common date filter.
|
|
115
|
+
*
|
|
87
116
|
* @internal
|
|
88
117
|
*/
|
|
89
|
-
export
|
|
118
|
+
export declare function upsertDateFilterPayloadDataSet(payload: IUpsertDateFilterPayload): ObjRef | undefined;
|
|
90
119
|
/**
|
|
91
120
|
* @internal
|
|
92
121
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterContextReducers.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/filterContext/filterContextReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAGrF,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,qCAAqC,EAC1C,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"filterCont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