@gooddata/sdk-ui-dashboard 11.70.0-alpha.4 → 11.70.0-alpha.5
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.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
package/NOTICE
CHANGED
|
@@ -3,11 +3,11 @@ Copyright (c) 2017-2026 GoodData Corporation
|
|
|
3
3
|
This product includes a number of subcomponents with separate copyright notices and license terms below. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license. This GoodData project does not necessarily use all the open source software referred to below and may also only use portions of a given package. With respect to the open source software listed in this document, if you (i) have any questions, (ii) wish to receive source code for packages under licenses that require their source code to be made available (such as the GNU Lesser Public License), or (iii) discover any errors or omissions in the licensing information provided, please contact us at legal@gooddata.com. Please identify in source code requests: (i) the packages for which you are requesting corresponding source, (ii) the GoodData product (including any available version) with which the package was provided; and (iii) an email address (if available) or postal address at which GoodData may contact you.
|
|
4
4
|
|
|
5
5
|
--------------------------------------------------------------------------------
|
|
6
|
-
Attribution Notice for @gooddata/sdk-ui-dashboard (11.70.0-alpha.
|
|
6
|
+
Attribution Notice for @gooddata/sdk-ui-dashboard (11.70.0-alpha.5)
|
|
7
7
|
Package License: LicenseRef-LICENSE
|
|
8
8
|
Own License File: LICENSE
|
|
9
|
-
Date generated: 2026-11-
|
|
10
|
-
Revision ID:
|
|
9
|
+
Date generated: 2026-11-25
|
|
10
|
+
Revision ID: a3370d69854609dfc422c9072fe428d50caadcc8
|
|
11
11
|
|
|
12
12
|
This notice lists the components that @gooddata/sdk-ui-dashboard depends on, directly or through other
|
|
13
13
|
packages, with the license and copyright information reported for each of them.
|
|
@@ -19,29 +19,29 @@ change those terms.
|
|
|
19
19
|
Dependencies
|
|
20
20
|
|
|
21
21
|
Local GoodData SDK components
|
|
22
|
-
- @gooddata/api-client-tiger (11.70.0-alpha.
|
|
23
|
-
- @gooddata/sdk-backend-base (11.70.0-alpha.
|
|
24
|
-
- @gooddata/sdk-backend-spi (11.70.0-alpha.
|
|
25
|
-
- @gooddata/sdk-backend-tiger (11.70.0-alpha.
|
|
26
|
-
- @gooddata/sdk-code-convertors (11.70.0-alpha.
|
|
27
|
-
- @gooddata/sdk-code-schemas (11.70.0-alpha.
|
|
28
|
-
- @gooddata/sdk-embedding (11.70.0-alpha.
|
|
29
|
-
- @gooddata/sdk-maql-language-server (11.70.0-alpha.
|
|
30
|
-
- @gooddata/sdk-model (11.70.0-alpha.
|
|
31
|
-
- @gooddata/sdk-pluggable-application-model (11.70.0-alpha.
|
|
32
|
-
- @gooddata/sdk-ui (11.70.0-alpha.
|
|
33
|
-
- @gooddata/sdk-ui-analytical-designer (11.70.0-alpha.
|
|
34
|
-
- @gooddata/sdk-ui-charts (11.70.0-alpha.
|
|
35
|
-
- @gooddata/sdk-ui-ext (11.70.0-alpha.
|
|
36
|
-
- @gooddata/sdk-ui-filters (11.70.0-alpha.
|
|
37
|
-
- @gooddata/sdk-ui-geo (11.70.0-alpha.
|
|
38
|
-
- @gooddata/sdk-ui-kit (11.70.0-alpha.
|
|
39
|
-
- @gooddata/sdk-ui-metric-component (11.70.0-alpha.
|
|
40
|
-
- @gooddata/sdk-ui-pivot (11.70.0-alpha.
|
|
41
|
-
- @gooddata/sdk-ui-semantic-search (11.70.0-alpha.
|
|
42
|
-
- @gooddata/sdk-ui-theme-provider (11.70.0-alpha.
|
|
43
|
-
- @gooddata/sdk-ui-vis-commons (11.70.0-alpha.
|
|
44
|
-
- @gooddata/util (11.70.0-alpha.
|
|
22
|
+
- @gooddata/api-client-tiger (11.70.0-alpha.5) [MIT] — Transitive
|
|
23
|
+
- @gooddata/sdk-backend-base (11.70.0-alpha.5) [MIT] — Direct
|
|
24
|
+
- @gooddata/sdk-backend-spi (11.70.0-alpha.5) [MIT] — Direct
|
|
25
|
+
- @gooddata/sdk-backend-tiger (11.70.0-alpha.5) [MIT] — Transitive
|
|
26
|
+
- @gooddata/sdk-code-convertors (11.70.0-alpha.5) [MIT] — Transitive
|
|
27
|
+
- @gooddata/sdk-code-schemas (11.70.0-alpha.5) [MIT] — Transitive
|
|
28
|
+
- @gooddata/sdk-embedding (11.70.0-alpha.5) [MIT] — Direct
|
|
29
|
+
- @gooddata/sdk-maql-language-server (11.70.0-alpha.5) [MIT] — Transitive
|
|
30
|
+
- @gooddata/sdk-model (11.70.0-alpha.5) [MIT] — Direct
|
|
31
|
+
- @gooddata/sdk-pluggable-application-model (11.70.0-alpha.5) [MIT] — Transitive
|
|
32
|
+
- @gooddata/sdk-ui (11.70.0-alpha.5) [MIT] — Direct
|
|
33
|
+
- @gooddata/sdk-ui-analytical-designer (11.70.0-alpha.5) [LicenseRef-LICENSE] — Direct
|
|
34
|
+
- @gooddata/sdk-ui-charts (11.70.0-alpha.5) [LicenseRef-LICENSE] — Direct
|
|
35
|
+
- @gooddata/sdk-ui-ext (11.70.0-alpha.5) [LicenseRef-LICENSE] — Direct
|
|
36
|
+
- @gooddata/sdk-ui-filters (11.70.0-alpha.5) [MIT] — Direct
|
|
37
|
+
- @gooddata/sdk-ui-geo (11.70.0-alpha.5) [LicenseRef-LICENSE] — Direct
|
|
38
|
+
- @gooddata/sdk-ui-kit (11.70.0-alpha.5) [MIT] — Direct
|
|
39
|
+
- @gooddata/sdk-ui-metric-component (11.70.0-alpha.5) [LicenseRef-LICENSE] — Transitive
|
|
40
|
+
- @gooddata/sdk-ui-pivot (11.70.0-alpha.5) [LicenseRef-LICENSE] — Direct
|
|
41
|
+
- @gooddata/sdk-ui-semantic-search (11.70.0-alpha.5) [MIT] — Direct
|
|
42
|
+
- @gooddata/sdk-ui-theme-provider (11.70.0-alpha.5) [MIT] — Direct
|
|
43
|
+
- @gooddata/sdk-ui-vis-commons (11.70.0-alpha.5) [MIT] — Direct
|
|
44
|
+
- @gooddata/util (11.70.0-alpha.5) [MIT] — Direct
|
|
45
45
|
|
|
46
46
|
External components
|
|
47
47
|
- @aaronhayes/react-use-hubspot-form (2.1.2) [MIT] — Transitive
|
|
@@ -495,7 +495,7 @@ Local GoodData SDK components
|
|
|
495
495
|
================================================================================
|
|
496
496
|
|
|
497
497
|
--------------------------------------------------------------------------------
|
|
498
|
-
Package Title: @gooddata/api-client-tiger (11.70.0-alpha.
|
|
498
|
+
Package Title: @gooddata/api-client-tiger (11.70.0-alpha.5)
|
|
499
499
|
Package Source: Local workspace
|
|
500
500
|
Package Depth: Transitive
|
|
501
501
|
--------------------------------------------------------------------------------
|
|
@@ -513,7 +513,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
513
513
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
514
514
|
|
|
515
515
|
--------------------------------------------------------------------------------
|
|
516
|
-
Package Title: @gooddata/sdk-backend-base (11.70.0-alpha.
|
|
516
|
+
Package Title: @gooddata/sdk-backend-base (11.70.0-alpha.5)
|
|
517
517
|
Package Source: Local workspace
|
|
518
518
|
Package Depth: Direct
|
|
519
519
|
--------------------------------------------------------------------------------
|
|
@@ -531,7 +531,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
531
531
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
532
532
|
|
|
533
533
|
--------------------------------------------------------------------------------
|
|
534
|
-
Package Title: @gooddata/sdk-backend-spi (11.70.0-alpha.
|
|
534
|
+
Package Title: @gooddata/sdk-backend-spi (11.70.0-alpha.5)
|
|
535
535
|
Package Source: Local workspace
|
|
536
536
|
Package Depth: Direct
|
|
537
537
|
--------------------------------------------------------------------------------
|
|
@@ -549,7 +549,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
549
549
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
550
550
|
|
|
551
551
|
--------------------------------------------------------------------------------
|
|
552
|
-
Package Title: @gooddata/sdk-backend-tiger (11.70.0-alpha.
|
|
552
|
+
Package Title: @gooddata/sdk-backend-tiger (11.70.0-alpha.5)
|
|
553
553
|
Package Source: Local workspace
|
|
554
554
|
Package Depth: Transitive
|
|
555
555
|
--------------------------------------------------------------------------------
|
|
@@ -567,7 +567,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
567
567
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
568
568
|
|
|
569
569
|
--------------------------------------------------------------------------------
|
|
570
|
-
Package Title: @gooddata/sdk-code-convertors (11.70.0-alpha.
|
|
570
|
+
Package Title: @gooddata/sdk-code-convertors (11.70.0-alpha.5)
|
|
571
571
|
Package Source: Local workspace
|
|
572
572
|
Package Depth: Transitive
|
|
573
573
|
--------------------------------------------------------------------------------
|
|
@@ -585,7 +585,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
585
585
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
586
586
|
|
|
587
587
|
--------------------------------------------------------------------------------
|
|
588
|
-
Package Title: @gooddata/sdk-code-schemas (11.70.0-alpha.
|
|
588
|
+
Package Title: @gooddata/sdk-code-schemas (11.70.0-alpha.5)
|
|
589
589
|
Package Source: Local workspace
|
|
590
590
|
Package Depth: Transitive
|
|
591
591
|
--------------------------------------------------------------------------------
|
|
@@ -615,7 +615,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
615
615
|
SOFTWARE.
|
|
616
616
|
|
|
617
617
|
--------------------------------------------------------------------------------
|
|
618
|
-
Package Title: @gooddata/sdk-embedding (11.70.0-alpha.
|
|
618
|
+
Package Title: @gooddata/sdk-embedding (11.70.0-alpha.5)
|
|
619
619
|
Package Source: Local workspace
|
|
620
620
|
Package Depth: Direct
|
|
621
621
|
--------------------------------------------------------------------------------
|
|
@@ -633,7 +633,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
633
633
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
634
634
|
|
|
635
635
|
--------------------------------------------------------------------------------
|
|
636
|
-
Package Title: @gooddata/sdk-maql-language-server (11.70.0-alpha.
|
|
636
|
+
Package Title: @gooddata/sdk-maql-language-server (11.70.0-alpha.5)
|
|
637
637
|
Package Source: Local workspace
|
|
638
638
|
Package Depth: Transitive
|
|
639
639
|
--------------------------------------------------------------------------------
|
|
@@ -651,7 +651,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
651
651
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
652
652
|
|
|
653
653
|
--------------------------------------------------------------------------------
|
|
654
|
-
Package Title: @gooddata/sdk-model (11.70.0-alpha.
|
|
654
|
+
Package Title: @gooddata/sdk-model (11.70.0-alpha.5)
|
|
655
655
|
Package Source: Local workspace
|
|
656
656
|
Package Depth: Direct
|
|
657
657
|
--------------------------------------------------------------------------------
|
|
@@ -669,7 +669,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
669
669
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
670
670
|
|
|
671
671
|
--------------------------------------------------------------------------------
|
|
672
|
-
Package Title: @gooddata/sdk-pluggable-application-model (11.70.0-alpha.
|
|
672
|
+
Package Title: @gooddata/sdk-pluggable-application-model (11.70.0-alpha.5)
|
|
673
673
|
Package Source: Local workspace
|
|
674
674
|
Package Depth: Transitive
|
|
675
675
|
--------------------------------------------------------------------------------
|
|
@@ -699,7 +699,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
699
699
|
SOFTWARE.
|
|
700
700
|
|
|
701
701
|
--------------------------------------------------------------------------------
|
|
702
|
-
Package Title: @gooddata/sdk-ui (11.70.0-alpha.
|
|
702
|
+
Package Title: @gooddata/sdk-ui (11.70.0-alpha.5)
|
|
703
703
|
Package Source: Local workspace
|
|
704
704
|
Package Depth: Direct
|
|
705
705
|
--------------------------------------------------------------------------------
|
|
@@ -717,7 +717,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
717
717
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
718
718
|
|
|
719
719
|
--------------------------------------------------------------------------------
|
|
720
|
-
Package Title: @gooddata/sdk-ui-analytical-designer (11.70.0-alpha.
|
|
720
|
+
Package Title: @gooddata/sdk-ui-analytical-designer (11.70.0-alpha.5)
|
|
721
721
|
Package Source: Local workspace
|
|
722
722
|
Package Depth: Direct
|
|
723
723
|
--------------------------------------------------------------------------------
|
|
@@ -757,7 +757,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
757
757
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
758
758
|
|
|
759
759
|
--------------------------------------------------------------------------------
|
|
760
|
-
Package Title: @gooddata/sdk-ui-charts (11.70.0-alpha.
|
|
760
|
+
Package Title: @gooddata/sdk-ui-charts (11.70.0-alpha.5)
|
|
761
761
|
Package Source: Local workspace
|
|
762
762
|
Package Depth: Direct
|
|
763
763
|
--------------------------------------------------------------------------------
|
|
@@ -797,7 +797,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
797
797
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
798
798
|
|
|
799
799
|
--------------------------------------------------------------------------------
|
|
800
|
-
Package Title: @gooddata/sdk-ui-ext (11.70.0-alpha.
|
|
800
|
+
Package Title: @gooddata/sdk-ui-ext (11.70.0-alpha.5)
|
|
801
801
|
Package Source: Local workspace
|
|
802
802
|
Package Depth: Direct
|
|
803
803
|
--------------------------------------------------------------------------------
|
|
@@ -837,7 +837,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
837
837
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
838
838
|
|
|
839
839
|
--------------------------------------------------------------------------------
|
|
840
|
-
Package Title: @gooddata/sdk-ui-filters (11.70.0-alpha.
|
|
840
|
+
Package Title: @gooddata/sdk-ui-filters (11.70.0-alpha.5)
|
|
841
841
|
Package Source: Local workspace
|
|
842
842
|
Package Depth: Direct
|
|
843
843
|
--------------------------------------------------------------------------------
|
|
@@ -855,7 +855,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
855
855
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
856
856
|
|
|
857
857
|
--------------------------------------------------------------------------------
|
|
858
|
-
Package Title: @gooddata/sdk-ui-geo (11.70.0-alpha.
|
|
858
|
+
Package Title: @gooddata/sdk-ui-geo (11.70.0-alpha.5)
|
|
859
859
|
Package Source: Local workspace
|
|
860
860
|
Package Depth: Direct
|
|
861
861
|
--------------------------------------------------------------------------------
|
|
@@ -895,7 +895,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
895
895
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
896
896
|
|
|
897
897
|
--------------------------------------------------------------------------------
|
|
898
|
-
Package Title: @gooddata/sdk-ui-kit (11.70.0-alpha.
|
|
898
|
+
Package Title: @gooddata/sdk-ui-kit (11.70.0-alpha.5)
|
|
899
899
|
Package Source: Local workspace
|
|
900
900
|
Package Depth: Direct
|
|
901
901
|
--------------------------------------------------------------------------------
|
|
@@ -913,7 +913,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
913
913
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
914
914
|
|
|
915
915
|
--------------------------------------------------------------------------------
|
|
916
|
-
Package Title: @gooddata/sdk-ui-metric-component (11.70.0-alpha.
|
|
916
|
+
Package Title: @gooddata/sdk-ui-metric-component (11.70.0-alpha.5)
|
|
917
917
|
Package Source: Local workspace
|
|
918
918
|
Package Depth: Transitive
|
|
919
919
|
--------------------------------------------------------------------------------
|
|
@@ -953,7 +953,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
953
953
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
954
954
|
|
|
955
955
|
--------------------------------------------------------------------------------
|
|
956
|
-
Package Title: @gooddata/sdk-ui-pivot (11.70.0-alpha.
|
|
956
|
+
Package Title: @gooddata/sdk-ui-pivot (11.70.0-alpha.5)
|
|
957
957
|
Package Source: Local workspace
|
|
958
958
|
Package Depth: Direct
|
|
959
959
|
--------------------------------------------------------------------------------
|
|
@@ -993,7 +993,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
993
993
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
994
994
|
|
|
995
995
|
--------------------------------------------------------------------------------
|
|
996
|
-
Package Title: @gooddata/sdk-ui-semantic-search (11.70.0-alpha.
|
|
996
|
+
Package Title: @gooddata/sdk-ui-semantic-search (11.70.0-alpha.5)
|
|
997
997
|
Package Source: Local workspace
|
|
998
998
|
Package Depth: Direct
|
|
999
999
|
--------------------------------------------------------------------------------
|
|
@@ -1011,7 +1011,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
1011
1011
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1012
1012
|
|
|
1013
1013
|
--------------------------------------------------------------------------------
|
|
1014
|
-
Package Title: @gooddata/sdk-ui-theme-provider (11.70.0-alpha.
|
|
1014
|
+
Package Title: @gooddata/sdk-ui-theme-provider (11.70.0-alpha.5)
|
|
1015
1015
|
Package Source: Local workspace
|
|
1016
1016
|
Package Depth: Direct
|
|
1017
1017
|
--------------------------------------------------------------------------------
|
|
@@ -1029,7 +1029,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
1029
1029
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1030
1030
|
|
|
1031
1031
|
--------------------------------------------------------------------------------
|
|
1032
|
-
Package Title: @gooddata/sdk-ui-vis-commons (11.70.0-alpha.
|
|
1032
|
+
Package Title: @gooddata/sdk-ui-vis-commons (11.70.0-alpha.5)
|
|
1033
1033
|
Package Source: Local workspace
|
|
1034
1034
|
Package Depth: Direct
|
|
1035
1035
|
--------------------------------------------------------------------------------
|
|
@@ -1047,7 +1047,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
1047
1047
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1048
1048
|
|
|
1049
1049
|
--------------------------------------------------------------------------------
|
|
1050
|
-
Package Title: @gooddata/util (11.70.0-alpha.
|
|
1050
|
+
Package Title: @gooddata/util (11.70.0-alpha.5)
|
|
1051
1051
|
Package Source: Local workspace
|
|
1052
1052
|
Package Depth: Direct
|
|
1053
1053
|
--------------------------------------------------------------------------------
|
package/esm/__version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "11.70.0-alpha.
|
|
1
|
+
export declare const LIB_VERSION = "11.70.0-alpha.5";
|
|
2
2
|
export declare const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
|
|
3
3
|
export declare const LIB_NAME = "@gooddata/sdk-ui-dashboard";
|
|
4
4
|
//# sourceMappingURL=__version.d.ts.map
|
package/esm/__version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2021 GoodData Corporation
|
|
2
2
|
// DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
|
|
3
|
-
export const LIB_VERSION = "11.70.0-alpha.
|
|
3
|
+
export const LIB_VERSION = "11.70.0-alpha.5";
|
|
4
4
|
export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
|
|
5
5
|
export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
|
|
@@ -11,6 +11,7 @@ export declare const isCsvVisualizationAutomation: (automation: IAutomationMetad
|
|
|
11
11
|
export declare const isCsvVisualizationExportDefinition: (exportDefinition: IExportDefinitionMetadataObject | IExportDefinitionMetadataObjectDefinition | undefined) => boolean;
|
|
12
12
|
export declare const isXlsxVisualizationAutomation: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => boolean | undefined;
|
|
13
13
|
export declare const isXlsxVisualizationExportDefinition: (exportDefinition: IExportDefinitionMetadataObject | IExportDefinitionMetadataObjectDefinition | undefined) => boolean;
|
|
14
|
+
export declare const automationHasUneditableDateFilter: (automation: IAutomationMetadataObject) => boolean;
|
|
14
15
|
export declare const getAutomationDashboardFilters: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => FilterContextItem[] | undefined;
|
|
15
16
|
/**
|
|
16
17
|
* Extracts dashboard filters structured by tab from automation metadata object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_staging/automation/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAE9B,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EAQtB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_staging/automation/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAE9B,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EAQtB,MAAM,qBAAqB,CAAC;AAa7B,eAAO,MAAM,qBAAqB,eAClB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,wBAS1F,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,eAClB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,MAAM,GAAG,SAEqD,CAAC;AAElE,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,wBAS1F,CAAC;AAEF,eAAO,MAAM,4BAA4B,eACzB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,wBAO1F,CAAC;AAEF,eAAO,MAAM,kCAAkC,qBACzB,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,wBAO1F,CAAC;AAEF,eAAO,MAAM,mCAAmC,qBAC1B,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAGF,eAAO,MAAM,iCAAiC,eAAgB,yBAAyB,KAAG,OAKzF,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,iBAAiB,EAAE,GAAG,SAexB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,eAC/B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAiBxC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,eAC/B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,GAAG,SAShD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACpC,UAAU,EAAE,mCAAmC,EAC/C,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,GAAG,SAAS,GACzE,mCAAmC,CA+BrC;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,yBAAyB,EAAE,EACnC,yBAAyB,EAAE,OAAO,GACnC,sBAAsB,EAAE,CAa1B;AA2BD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAI1E;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACpC,UAAU,EAAE,0BAA0B,EACtC,KAAK,EAAE,cAAc,GACtB,cAAc,GAAG,SAAS,CAE5B;AAED,eAAO,MAAM,iCAAiC,eAC9B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF;IAAE,gBAAgB,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;IAAC,kBAAkB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAA;CAyBhG,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,OAAO,EAAE,GAAG,SAMd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,eACzB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,sBAAsB,EAAE,GAAG,SAE7B,CAAC;AAOF,eAAO,MAAM,mBAAmB,uBACR,mCAAmC,qBACpC,mCAAmC,YAmBzD,CAAC;AAEF,eAAO,MAAM,uCAAuC,UACzC,cAAc,EAAE,QACjB,KAAK,KACZ,oBAIF,CAAC;AAEF,eAAO,MAAM,iCAAiC,UAAW,cAAc,EAAE,QAAQ,KAAK,KAAG,cAexF,CAAC;AAEF,eAAO,MAAM,gCAAgC,SAAU,KAAK,KAAG,oBAO9D,CAAC;AAEF,eAAO,MAAM,6CAA6C,sBACnC,MAAM,KAC1B,oBAOF,CAAC"}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
3
|
import { assertNever, idRef, isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isFilterContextItem, isFilterOfAnyType, } from "@gooddata/sdk-model";
|
|
4
4
|
import { _isEqual, _omit } from "@gooddata/util";
|
|
5
|
-
import { assertNoAbsoluteGranularityDateFilter } from "../dashboard/absoluteGranularityDateFilters.js";
|
|
5
|
+
import { assertNoAbsoluteGranularityDateFilter, automationExportFilters, containsAbsoluteGranularityDateFilter, } from "../dashboard/absoluteGranularityDateFilters.js";
|
|
6
|
+
import { assertNoDashboardParameterizedDateFilter, containsDashboardParameterizedDateFilter, } from "../dashboard/parameterizedDateFilters.js";
|
|
6
7
|
export const isDashboardAutomation = (automation) => {
|
|
7
8
|
if (!automation) {
|
|
8
9
|
return false;
|
|
@@ -52,6 +53,11 @@ export const isXlsxVisualizationExportDefinition = (exportDefinition) => {
|
|
|
52
53
|
return (isExportDefinitionVisualizationObjectRequestPayload(exportDefinition.requestPayload) &&
|
|
53
54
|
exportDefinition.requestPayload.format === "XLSX");
|
|
54
55
|
};
|
|
56
|
+
// The getters below throw on granularity and parameterized date filter items, so dialogs must skip them.
|
|
57
|
+
export const automationHasUneditableDateFilter = (automation) => {
|
|
58
|
+
const filters = automationExportFilters(automation);
|
|
59
|
+
return (containsAbsoluteGranularityDateFilter(filters) || containsDashboardParameterizedDateFilter(filters));
|
|
60
|
+
};
|
|
55
61
|
export const getAutomationDashboardFilters = (automation) => {
|
|
56
62
|
if (!automation) {
|
|
57
63
|
return undefined;
|
|
@@ -59,8 +65,9 @@ export const getAutomationDashboardFilters = (automation) => {
|
|
|
59
65
|
const filters = automation.exportDefinitions?.find((exportDefinition) => {
|
|
60
66
|
return isExportDefinitionDashboardRequestPayload(exportDefinition.requestPayload);
|
|
61
67
|
})?.requestPayload?.content.filters;
|
|
62
|
-
// The filter below drops absolute date filters
|
|
68
|
+
// The filter below drops absolute granularity and parameterized date filters, so saving would lose them.
|
|
63
69
|
assertNoAbsoluteGranularityDateFilter(filters);
|
|
70
|
+
assertNoDashboardParameterizedDateFilter(filters);
|
|
64
71
|
return filters?.filter((f) => isFilterContextItem(f));
|
|
65
72
|
};
|
|
66
73
|
/**
|
|
@@ -74,8 +81,11 @@ export const getAutomationDashboardFiltersByTab = (automation) => {
|
|
|
74
81
|
const filtersByTab = automation.exportDefinitions?.find((exportDefinition) => {
|
|
75
82
|
return isExportDefinitionDashboardRequestPayload(exportDefinition.requestPayload);
|
|
76
83
|
})?.requestPayload?.content.filtersByTab;
|
|
77
|
-
// Tab filters go to the edit dialog as is, which cannot show
|
|
78
|
-
Object.values(filtersByTab ?? {}).forEach((filters) =>
|
|
84
|
+
// Tab filters go to the edit dialog as is, which cannot show granularity or parameterized date filters.
|
|
85
|
+
Object.values(filtersByTab ?? {}).forEach((filters) => {
|
|
86
|
+
assertNoAbsoluteGranularityDateFilter(filters);
|
|
87
|
+
assertNoDashboardParameterizedDateFilter(filters);
|
|
88
|
+
});
|
|
79
89
|
return filtersByTab;
|
|
80
90
|
};
|
|
81
91
|
/**
|
|
@@ -205,8 +215,9 @@ export const getAutomationVisualizationFilters = (automation) => {
|
|
|
205
215
|
const visualizationFilters = automation.exportDefinitions?.find((exportDefinition) => {
|
|
206
216
|
return isExportDefinitionVisualizationObjectRequestPayload(exportDefinition.requestPayload);
|
|
207
217
|
})?.requestPayload?.content.filters;
|
|
208
|
-
// The filter below drops absolute date filters
|
|
218
|
+
// The filter below drops absolute granularity and parameterized date filters, so saving would lose them.
|
|
209
219
|
assertNoAbsoluteGranularityDateFilter(visualizationFilters);
|
|
220
|
+
assertNoDashboardParameterizedDateFilter(visualizationFilters);
|
|
210
221
|
const filterContextItems = visualizationFilters?.filter((f) => isFilterContextItem(f));
|
|
211
222
|
return {
|
|
212
223
|
executionFilters: (executionFilters ?? []).length > 0 ? executionFilters : undefined,
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { type FilterContextItem, type IAutomationMetadataObject, type IDashboard, type IFilter } from "@gooddata/sdk-model";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const ABSOLUTE_GRANULARITY_DATE_FILTER_AUTOMATIONS_NOT_SUPPORTED = "Automations do not support absolute date filters with granularity yet.";
|
|
3
|
+
export declare const ABSOLUTE_GRANULARITY_DATE_FILTER_DRILL_TO_DASHBOARD_NOT_SUPPORTED = "Drill to a dashboard does not support absolute date filters with granularity yet.";
|
|
4
|
+
export declare const ABSOLUTE_GRANULARITY_DATE_FILTER_INSIGHT_EDITOR_NOT_SUPPORTED = "The insight editor does not support absolute date filters with granularity yet.";
|
|
5
|
+
export declare const ABSOLUTE_GRANULARITY_DATE_FILTER_WITH_DATA_SET_NOT_SUPPORTED = "Dashboards do not support absolute date filters with granularity for a date dataset yet.";
|
|
6
|
+
export declare function containsAbsoluteGranularityDateFilterWithDataSet(filters: (FilterContextItem | IFilter)[] | undefined): boolean;
|
|
3
7
|
export declare function containsAbsoluteGranularityDateFilter(filters: (FilterContextItem | IFilter)[] | undefined): boolean;
|
|
4
8
|
export declare function assertNoAbsoluteGranularityDateFilter(filters: (FilterContextItem | IFilter)[] | undefined): void;
|
|
5
|
-
export declare function
|
|
9
|
+
export declare function dashboardFilterContextFilters(dashboard: IDashboard | undefined): FilterContextItem[];
|
|
10
|
+
export declare function dashboardContainsAbsoluteGranularityDateFilterWithDataSet(dashboard: IDashboard | undefined): boolean;
|
|
11
|
+
export declare function automationExportFilters(automation: IAutomationMetadataObject | undefined): (IFilter | FilterContextItem)[];
|
|
6
12
|
export declare function automationContainsAbsoluteGranularityDateFilter(automation: IAutomationMetadataObject | undefined): boolean;
|
|
7
13
|
/**
|
|
8
14
|
* The dashboard cannot show or apply these filters, so it fails to load instead of dropping them.
|
|
9
15
|
*/
|
|
10
|
-
export declare function
|
|
16
|
+
export declare function assertNoAbsoluteGranularityDateFilterWithDataSetInDashboards(dashboards: (IDashboard | undefined)[], overrideDefaultFilters: FilterContextItem[] | undefined): void;
|
|
11
17
|
//# sourceMappingURL=absoluteGranularityDateFilters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"absoluteGranularityDateFilters.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/absoluteGranularityDateFilters.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,UAAU,EACf,KAAK,OAAO,EAKf,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"absoluteGranularityDateFilters.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/absoluteGranularityDateFilters.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,UAAU,EACf,KAAK,OAAO,EAKf,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,0DAA0D,2EACK,CAAC;AAE7E,eAAO,MAAM,iEAAiE,sFACS,CAAC;AAExF,eAAO,MAAM,6DAA6D,oFACW,CAAC;AAEtF,eAAO,MAAM,4DAA4D,6FACqB,CAAC;AAE/F,wBAAgB,gDAAgD,CAC5D,OAAO,EAAE,CAAC,iBAAiB,GAAG,OAAO,CAAC,EAAE,GAAG,SAAS,GACrD,OAAO,CAMT;AAED,wBAAgB,qCAAqC,CACjD,OAAO,EAAE,CAAC,iBAAiB,GAAG,OAAO,CAAC,EAAE,GAAG,SAAS,GACrD,OAAO,CAET;AAED,wBAAgB,qCAAqC,CACjD,OAAO,EAAE,CAAC,iBAAiB,GAAG,OAAO,CAAC,EAAE,GAAG,SAAS,GACrD,IAAI,CAIN;AAED,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,UAAU,GAAG,SAAS,GAAG,iBAAiB,EAAE,CAIpG;AAED,wBAAgB,yDAAyD,CACrE,SAAS,EAAE,UAAU,GAAG,SAAS,GAClC,OAAO,CAET;AAED,wBAAgB,uBAAuB,CACnC,UAAU,EAAE,yBAAyB,GAAG,SAAS,GAClD,CAAC,OAAO,GAAG,iBAAiB,CAAC,EAAE,CAejC;AAED,wBAAgB,+CAA+C,CAC3D,UAAU,EAAE,yBAAyB,GAAG,SAAS,GAClD,OAAO,CAST;AAED;;GAEG;AACH,wBAAgB,4DAA4D,CACxE,UAAU,EAAE,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,EACtC,sBAAsB,EAAE,iBAAiB,EAAE,GAAG,SAAS,GACxD,IAAI,CAKN"}
|
|
@@ -1,23 +1,30 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { NotSupported } from "@gooddata/sdk-backend-spi";
|
|
3
3
|
import { isAbsoluteGranularityDateFilter, isDashboardAbsoluteGranularityDateFilter, isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, } from "@gooddata/sdk-model";
|
|
4
|
-
export const
|
|
4
|
+
export const ABSOLUTE_GRANULARITY_DATE_FILTER_AUTOMATIONS_NOT_SUPPORTED = "Automations do not support absolute date filters with granularity yet.";
|
|
5
|
+
export const ABSOLUTE_GRANULARITY_DATE_FILTER_DRILL_TO_DASHBOARD_NOT_SUPPORTED = "Drill to a dashboard does not support absolute date filters with granularity yet.";
|
|
6
|
+
export const ABSOLUTE_GRANULARITY_DATE_FILTER_INSIGHT_EDITOR_NOT_SUPPORTED = "The insight editor does not support absolute date filters with granularity yet.";
|
|
7
|
+
export const ABSOLUTE_GRANULARITY_DATE_FILTER_WITH_DATA_SET_NOT_SUPPORTED = "Dashboards do not support absolute date filters with granularity for a date dataset yet.";
|
|
8
|
+
export function containsAbsoluteGranularityDateFilterWithDataSet(filters) {
|
|
9
|
+
return !!filters?.some((filter) => isDashboardAbsoluteGranularityDateFilter(filter) &&
|
|
10
|
+
!!filter.dashboardAbsoluteGranularityDateFilter.dataSet);
|
|
11
|
+
}
|
|
5
12
|
export function containsAbsoluteGranularityDateFilter(filters) {
|
|
6
13
|
return !!filters?.some(isDashboardAbsoluteGranularityDateFilter);
|
|
7
14
|
}
|
|
8
15
|
export function assertNoAbsoluteGranularityDateFilter(filters) {
|
|
9
16
|
if (containsAbsoluteGranularityDateFilter(filters)) {
|
|
10
|
-
throw new NotSupported(
|
|
17
|
+
throw new NotSupported(ABSOLUTE_GRANULARITY_DATE_FILTER_AUTOMATIONS_NOT_SUPPORTED);
|
|
11
18
|
}
|
|
12
19
|
}
|
|
13
|
-
function dashboardFilterContextFilters(dashboard) {
|
|
20
|
+
export function dashboardFilterContextFilters(dashboard) {
|
|
14
21
|
return [dashboard?.filterContext, ...(dashboard?.tabs ?? []).map((tab) => tab.filterContext)].flatMap((filterContext) => filterContext?.filters ?? []);
|
|
15
22
|
}
|
|
16
|
-
export function
|
|
17
|
-
return
|
|
23
|
+
export function dashboardContainsAbsoluteGranularityDateFilterWithDataSet(dashboard) {
|
|
24
|
+
return containsAbsoluteGranularityDateFilterWithDataSet(dashboardFilterContextFilters(dashboard));
|
|
18
25
|
}
|
|
19
|
-
export function
|
|
20
|
-
|
|
26
|
+
export function automationExportFilters(automation) {
|
|
27
|
+
return (automation?.exportDefinitions ?? []).flatMap(({ requestPayload }) => {
|
|
21
28
|
if (isExportDefinitionVisualizationObjectRequestPayload(requestPayload)) {
|
|
22
29
|
return requestPayload.content.filters ?? [];
|
|
23
30
|
}
|
|
@@ -29,18 +36,20 @@ export function automationContainsAbsoluteGranularityDateFilter(automation) {
|
|
|
29
36
|
}
|
|
30
37
|
return [];
|
|
31
38
|
});
|
|
39
|
+
}
|
|
40
|
+
export function automationContainsAbsoluteGranularityDateFilter(automation) {
|
|
32
41
|
const filters = [
|
|
33
42
|
...(automation?.alert?.execution.filters ?? []),
|
|
34
|
-
...
|
|
43
|
+
...automationExportFilters(automation),
|
|
35
44
|
];
|
|
36
45
|
return filters.some((filter) => isDashboardAbsoluteGranularityDateFilter(filter) || isAbsoluteGranularityDateFilter(filter));
|
|
37
46
|
}
|
|
38
47
|
/**
|
|
39
48
|
* The dashboard cannot show or apply these filters, so it fails to load instead of dropping them.
|
|
40
49
|
*/
|
|
41
|
-
export function
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
50
|
+
export function assertNoAbsoluteGranularityDateFilterWithDataSetInDashboards(dashboards, overrideDefaultFilters) {
|
|
51
|
+
const filters = [...(overrideDefaultFilters ?? []), ...dashboards.flatMap(dashboardFilterContextFilters)];
|
|
52
|
+
if (containsAbsoluteGranularityDateFilterWithDataSet(filters)) {
|
|
53
|
+
throw new NotSupported(ABSOLUTE_GRANULARITY_DATE_FILTER_WITH_DATA_SET_NOT_SUPPORTED);
|
|
54
|
+
}
|
|
46
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboardFilterContext.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardFilterContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,
|
|
1
|
+
{"version":3,"file":"dashboardFilterContext.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardFilterContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EA4BhC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIvD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gCAAgC,CAAC,OAAO,EACpD,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,EACjD,gBAAgB,EAAE,iBAAiB,EACnC,OAAO,CAAC,EAAE,iBAAiB,EAAE,GAC9B,wBAAwB,CA4B1B;AAED;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,EACpD,aAAa,GAChB,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,wBAAwB,GAAG,SAAS,CAU5D;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC1C,aAAa,EAAE,wBAAwB,GACxC,wBAAwB,CA4C1B;AAED;;;;;;;GAOG;AACH,wBAAgB,kCAAkC,CAC9C,MAAM,EAAE,gBAAgB,EACxB,YAAY,EAAE,OAAO,GACtB,iBAAiB,GAAG,SAAS,CAyF/B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2021-2026 GoodData Corporation
|
|
2
2
|
import { v4 as uuidv4 } from "uuid";
|
|
3
3
|
import { NotSupported } from "@gooddata/sdk-backend-spi";
|
|
4
|
-
import { dashboardAttributeFilterItemFilterElementsBy, dashboardFilterLocalIdentifier, filterAttributeElements, filterLocalIdentifier, filterObjRef, isAbsoluteDateFilter, isAllTimeDateFilter, isArbitraryAttributeFilter, isAttributeFilterWithSelection, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDateFilterGranularity, isMatchAttributeFilter, isMeasureValueFilter, isNegativeAttributeFilter, isObjRef, isRelativeBoundedDateFilter, isRelativeDateFilter, isTempFilterContext, measureValueFilterConditions, measureValueFilterMeasure, newAbsoluteDashboardDateFilter, newAllTimeDashboardDateFilter, newRelativeDashboardDateFilter, } from "@gooddata/sdk-model";
|
|
4
|
+
import { absoluteGranularityDateFilterValues, dashboardAttributeFilterItemFilterElementsBy, dashboardFilterLocalIdentifier, filterAttributeElements, filterLocalIdentifier, filterObjRef, isAbsoluteDateFilter, isAbsoluteGranularityDateFilter, isAllTimeDateFilter, isArbitraryAttributeFilter, isAttributeFilterWithSelection, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDateFilterGranularity, isMatchAttributeFilter, isMeasureValueFilter, isNegativeAttributeFilter, isObjRef, isRelativeBoundedDateFilter, isRelativeDateFilter, isTempFilterContext, measureValueFilterConditions, measureValueFilterMeasure, newAbsoluteDashboardDateFilter, newAllTimeDashboardDateFilter, newRelativeDashboardDateFilter, } from "@gooddata/sdk-model";
|
|
5
5
|
import { createDefaultFilterContext } from "./defaultFilterContext.js";
|
|
6
6
|
/**
|
|
7
7
|
* Given a dashboard, this function will inspect its filter context and always return a valid instance of IFilterContextDefinition to use.
|
|
@@ -162,6 +162,16 @@ export function dashboardFilterToFilterContextItem(filter, keepDatasets) {
|
|
|
162
162
|
else if (isRelativeDateFilter(filter)) {
|
|
163
163
|
return newRelativeDashboardDateFilter(filter.relativeDateFilter.granularity, filter.relativeDateFilter.from, filter.relativeDateFilter.to, keepDatasets ? filter.relativeDateFilter.dataSet : undefined, filter.relativeDateFilter.localIdentifier, isRelativeBoundedDateFilter(filter) ? filter.relativeDateFilter.boundedFilter : undefined, filter.relativeDateFilter.emptyValueHandling);
|
|
164
164
|
}
|
|
165
|
+
else if (isAbsoluteGranularityDateFilter(filter)) {
|
|
166
|
+
const { dataSet, localIdentifier } = filter.absoluteGranularityDateFilter;
|
|
167
|
+
return {
|
|
168
|
+
dashboardAbsoluteGranularityDateFilter: {
|
|
169
|
+
...absoluteGranularityDateFilterValues(filter),
|
|
170
|
+
...(keepDatasets ? { dataSet } : {}),
|
|
171
|
+
...(localIdentifier ? { localIdentifier } : {}),
|
|
172
|
+
},
|
|
173
|
+
};
|
|
174
|
+
}
|
|
165
175
|
else if (isMeasureValueFilter(filter)) {
|
|
166
176
|
const measure = measureValueFilterMeasure(filter);
|
|
167
177
|
// Dashboard MVFs always reference the measure by ObjRef. Insight MVFs use LocalIdRef
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboardFilterContextValidation.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardFilterContextValidation.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"dashboardFilterContextValidation.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardFilterContextValidation.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,iBAAiB,EAEtB,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EAEnC,KAAK,kCAAkC,EAa1C,MAAM,qBAAqB,CAAC;AAI7B;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAC/B,qBAAqB,GACrB,uBAAuB,GACvB,8BAA8B,GAC9B,6BAA6B,GAC7B,0BAA0B,GAC1B,0CAA0C,CAAC;AAEjD;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,KAAK,EAAE,yBAAyB,CAAC;CACpC,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC,gBAAgB,CAAC,EAAE,0BAA0B,CAAC;IAC9C,iBAAiB,CAAC,EAAE,8BAA8B,EAAE,CAAC;IACrD,sBAAsB,CAAC,EAAE,+BAA+B,EAAE,CAAC;IAC3D,yBAAyB,CAAC,EAAE,kCAAkC,EAAE,CAAC;CACpE;AAkiBD;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CACrC,eAAe,EAAE,iBAAiB,EAAE,EACpC,cAAc,EAAE,iBAAiB,EAAE,EACnC,MAAM,EAAE,2BAA2B,GACpC;IAAE,aAAa,EAAE,iBAAiB,EAAE,CAAC;IAAC,iBAAiB,EAAE,gBAAgB,EAAE,CAAA;CAAE,CAwD/E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2021-2026 GoodData Corporation
|
|
2
|
-
import { areObjRefsEqual, attributeElementsCount, dashboardFilterLocalIdentifier, dashboardFilterObjRef, dashboardMeasureValueFilterLocalIdentifier, isDashboardAttributeFilter,
|
|
2
|
+
import { areObjRefsEqual, attributeElementsCount, dashboardFilterLocalIdentifier, dashboardFilterObjRef, dashboardMeasureValueFilterLocalIdentifier, isDashboardAttributeFilter, isDashboardCommonDateFilterOfAnyType, isDashboardDateFilterOfAnyType, isDashboardMeasureValueFilter, isDashboardTextAttributeFilter, isSingleSelectionFilter, } from "@gooddata/sdk-model";
|
|
3
3
|
import { isFilterTypeCompatibleWithSelectionType } from "../../model/utils/attributeFilterSelectionTypeCompatibility.js";
|
|
4
4
|
/**
|
|
5
5
|
* Creates a mapping of attribute filter configs by their local identifiers.
|
|
@@ -38,11 +38,11 @@ function createDateFilterConfigsMap(dateFilterConfigs) {
|
|
|
38
38
|
*/
|
|
39
39
|
function findMatchingFilterToMerge(originalFilter, filtersToMerge) {
|
|
40
40
|
// Special case for common date filters (without dataSet)
|
|
41
|
-
if (
|
|
41
|
+
if (isDashboardCommonDateFilterOfAnyType(originalFilter)) {
|
|
42
42
|
// Match by localIdentifier for common date filters
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
filter
|
|
43
|
+
const localIdentifier = dashboardFilterLocalIdentifier(originalFilter);
|
|
44
|
+
return filtersToMerge.find((filter) => isDashboardCommonDateFilterOfAnyType(filter) &&
|
|
45
|
+
dashboardFilterLocalIdentifier(filter) === localIdentifier);
|
|
46
46
|
}
|
|
47
47
|
// Standard case for other filters
|
|
48
48
|
const originalDisplayForm = dashboardFilterObjRef(originalFilter);
|
|
@@ -306,13 +306,13 @@ function mergeTextAttributeFilter(originalFilter, filterToMerge, attributeFilter
|
|
|
306
306
|
*/
|
|
307
307
|
function mergeDateFilter(originalFilter, filterToMerge, dateFilterConfig, dateFilterConfigs) {
|
|
308
308
|
// No matching filter found, keep original
|
|
309
|
-
if (!filterToMerge || !
|
|
309
|
+
if (!filterToMerge || !isDashboardDateFilterOfAnyType(filterToMerge)) {
|
|
310
310
|
return {
|
|
311
311
|
mergedFilter: originalFilter,
|
|
312
312
|
validationResults: [],
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
|
-
const isCommonDateFilter =
|
|
315
|
+
const isCommonDateFilter = isDashboardCommonDateFilterOfAnyType(originalFilter);
|
|
316
316
|
const validationResults = [];
|
|
317
317
|
// Apply the appropriate validation rules based on filter type
|
|
318
318
|
if (isCommonDateFilter) {
|
|
@@ -332,7 +332,7 @@ function mergeDateFilter(originalFilter, filterToMerge, dateFilterConfig, dateFi
|
|
|
332
332
|
}
|
|
333
333
|
else {
|
|
334
334
|
// For date filters with dimensions (with dataSet)
|
|
335
|
-
const dateDataSet = originalFilter
|
|
335
|
+
const dateDataSet = dashboardFilterObjRef(originalFilter);
|
|
336
336
|
if (dateDataSet) {
|
|
337
337
|
const dateFilterConfigsMap = createDateFilterConfigsMap(dateFilterConfigs || []);
|
|
338
338
|
const filterConfig = dateFilterConfigsMap.get(dateDataSet);
|
|
@@ -450,7 +450,7 @@ export function mergeFilterContextFilters(originalFilters, filtersToMerge, confi
|
|
|
450
450
|
if (isDashboardAttributeFilter(originalFilter)) {
|
|
451
451
|
return mergeAttributeFilter(originalFilter, filterToMerge, config.attributeFilterConfigs, missingAttributeFilterLocalIdentifiers);
|
|
452
452
|
}
|
|
453
|
-
else if (
|
|
453
|
+
else if (isDashboardDateFilterOfAnyType(originalFilter)) {
|
|
454
454
|
return mergeDateFilter(originalFilter, filterToMerge, config.dateFilterConfig, config.dateFilterConfigs);
|
|
455
455
|
}
|
|
456
456
|
else if (isDashboardTextAttributeFilter(originalFilter)) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type DashboardDateFilterOfAnyType, type ObjRef } from "@gooddata/sdk-model";
|
|
2
2
|
import { type DateFilterOption } from "@gooddata/sdk-ui-filters";
|
|
3
3
|
/**
|
|
4
|
-
* Converts {@link DateFilterOption} to
|
|
4
|
+
* Converts {@link DateFilterOption} to the date filter of the filter context.
|
|
5
5
|
*
|
|
6
6
|
* @param dateFilterOption - date filter option to convert
|
|
7
7
|
* @param excludeCurrentPeriod - whether or not to exclude the current period
|
|
@@ -9,5 +9,5 @@ import { type DateFilterOption } from "@gooddata/sdk-ui-filters";
|
|
|
9
9
|
* @param localIdentifier - optional local identifier of the filter
|
|
10
10
|
* @returns converted filter
|
|
11
11
|
*/
|
|
12
|
-
export declare function dateFilterOptionToDashboardDateFilter(dateFilterOption: DateFilterOption, excludeCurrentPeriod: boolean, dataSet?: ObjRef, localIdentifier?: string):
|
|
12
|
+
export declare function dateFilterOptionToDashboardDateFilter(dateFilterOption: DateFilterOption, excludeCurrentPeriod: boolean, dataSet?: ObjRef, localIdentifier?: string): DashboardDateFilterOfAnyType | undefined;
|
|
13
13
|
//# sourceMappingURL=dashboardFilterConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboardFilterConverter.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardFilterConverter.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"dashboardFilterConverter.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardFilterConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,4BAA4B,EAEjC,KAAK,MAAM,EAWd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEpF;;;;;;;;GAQG;AACH,wBAAgB,qCAAqC,CACjD,gBAAgB,EAAE,gBAAgB,EAClC,oBAAoB,EAAE,OAAO,EAC7B,OAAO,CAAC,EAAE,MAAM,EAChB,eAAe,CAAC,EAAE,MAAM,GACzB,4BAA4B,GAAG,SAAS,CAqE1C"}
|