@gooddata/sdk-ui-dashboard 11.71.0-alpha.0 → 11.71.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +49 -49
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts +0 -7
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts.map +1 -1
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.js +0 -17
- package/esm/_staging/dashboard/dashboardFilterContext.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterContext.js +9 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.js +13 -5
- package/esm/_staging/dashboard/parameterizedDateFilters.d.ts +1 -6
- package/esm/_staging/dashboard/parameterizedDateFilters.d.ts.map +1 -1
- package/esm/_staging/dashboard/parameterizedDateFilters.js +1 -13
- package/esm/_staging/dateFilterConfig/periodPresets.d.ts +11 -0
- package/esm/_staging/dateFilterConfig/periodPresets.d.ts.map +1 -0
- package/esm/_staging/dateFilterConfig/periodPresets.js +15 -0
- package/esm/_staging/sharedHooks/useDateFiltersTitles.d.ts +2 -2
- package/esm/_staging/sharedHooks/useDateFiltersTitles.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useDateFiltersTitles.js +7 -5
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.js +18 -10
- package/esm/index.d.ts +4 -4
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -3
- package/esm/kdaDialog/components/KdaSummaryHeadline.d.ts.map +1 -1
- package/esm/kdaDialog/components/KdaSummaryHeadline.js +3 -1
- package/esm/kdaDialog/components/bars/DateBar.js +1 -1
- package/esm/kdaDialog/composition/KeyDriversPanel.d.ts.map +1 -1
- package/esm/kdaDialog/composition/KeyDriversPanel.js +5 -2
- package/esm/kdaDialog/dialog/KdaDialog.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/KdaDialog.js +4 -3
- package/esm/kdaDialog/dialog/KdaDialogActionButtons.d.ts +5 -1
- package/esm/kdaDialog/dialog/KdaDialogActionButtons.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/KdaDialogActionButtons.js +33 -5
- package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.d.ts +5 -1
- package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.js +2 -2
- package/esm/kdaDialog/dialog/KdaReplaceConfirmationDialog.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/KdaReplaceConfirmationDialog.js +9 -1
- package/esm/kdaDialog/utils.d.ts +6 -1
- package/esm/kdaDialog/utils.d.ts.map +1 -1
- package/esm/kdaDialog/utils.js +7 -2
- package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.js +5 -10
- package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.js +8 -6
- package/esm/model/commandHandlers/dashboard/changeDateFilterWithDimensionModeHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeDateFilterWithDimensionModeHandler.js +10 -6
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.js +28 -29
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +7 -8
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +0 -6
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadDashboardParameters.d.ts +1 -2
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadDashboardParameters.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadDashboardParameters.js +1 -2
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js +1 -0
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +5 -6
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +81 -64
- package/esm/model/commandHandlers/filterContext/dateFilter/addDateFilterHandler.js +2 -2
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +2 -6
- package/esm/model/commandHandlers/filterContext/dateFilter/moveDateFilterHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/moveDateFilterHandler.js +8 -4
- package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.js +21 -17
- package/esm/model/commandHandlers/filterContext/dateFilter/validation/uniqueFiltersValidation.d.ts +2 -2
- package/esm/model/commandHandlers/filterContext/dateFilter/validation/uniqueFiltersValidation.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/validation/uniqueFiltersValidation.js +2 -2
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +1 -11
- package/esm/model/commandHandlers/filterContext/removeRestrictedFiltersHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/removeRestrictedFiltersHandler.js +3 -3
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.js +13 -6
- package/esm/model/commandHandlers/widgets/changeInsightWidgetFilterSettingsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/changeInsightWidgetFilterSettingsHandler.js +2 -2
- package/esm/model/commandHandlers/widgets/changeRichTextWidgetFilterSettingsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/changeRichTextWidgetFilterSettingsHandler.js +2 -2
- package/esm/model/commandHandlers/widgets/common/filterOperations.d.ts +3 -3
- package/esm/model/commandHandlers/widgets/common/filterOperations.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/common/filterOperations.js +14 -14
- package/esm/model/commandHandlers/widgets/common/filterReferences.d.ts +2 -2
- package/esm/model/commandHandlers/widgets/common/filterReferences.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/common/filterReferences.js +1 -1
- package/esm/model/commandHandlers/widgets/validation/filterValidation.d.ts +2 -2
- package/esm/model/commandHandlers/widgets/validation/filterValidation.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/validation/filterValidation.js +4 -4
- package/esm/model/commands/filters.d.ts +1 -2
- package/esm/model/commands/filters.d.ts.map +1 -1
- 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 +107 -0
- package/esm/model/events/filters.d.ts.map +1 -1
- package/esm/model/events/filters.js +54 -0
- package/esm/model/events/index.d.ts +2 -2
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/insight.d.ts +12 -2
- package/esm/model/events/insight.d.ts.map +1 -1
- package/esm/model/events/insight.js +2 -1
- package/esm/model/events/richText.d.ts +12 -2
- package/esm/model/events/richText.d.ts.map +1 -1
- package/esm/model/events/richText.js +2 -1
- package/esm/model/react/useWidgetFilters.d.ts.map +1 -1
- package/esm/model/react/useWidgetFilters.js +8 -10
- package/esm/model/store/config/configSelectors.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +8 -0
- package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
- package/esm/model/store/filtering/dashboardFilterSelectors.js +20 -39
- package/esm/model/store/insights/insightsSelectors.d.ts.map +1 -1
- package/esm/model/store/insights/insightsSelectors.js +9 -3
- package/esm/model/store/meta/metaSelectors.js +3 -3
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +28 -2
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextReducers.js +36 -25
- package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts +43 -3
- package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextSelectors.js +53 -9
- package/esm/model/store/tabs/filterContext/filterContextUtils.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextUtils.js +18 -20
- package/esm/model/store/tabs/filterContext/filterSync.d.ts +7 -0
- package/esm/model/store/tabs/filterContext/filterSync.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterSync.js +32 -44
- package/esm/model/utils/widgetFilters.d.ts.map +1 -1
- package/esm/model/utils/widgetFilters.js +4 -3
- package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/AlertingConnector.js +6 -0
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +6 -0
- package/esm/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.d.ts +1 -0
- package/esm/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.js +56 -2
- package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.js +4 -1
- package/esm/presentation/automations/connectors/hooks/useParameterizedDateFilterBlocksAutomation.d.ts +10 -0
- package/esm/presentation/automations/connectors/hooks/useParameterizedDateFilterBlocksAutomation.d.ts.map +1 -0
- package/esm/presentation/automations/connectors/hooks/useParameterizedDateFilterBlocksAutomation.js +20 -0
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts +2 -0
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContent.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContent.js +5 -3
- package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.js +6 -4
- package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts +2 -1
- package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.js +43 -7
- package/esm/presentation/automations/shared/components/ParameterizedDateFilterNotSupportedDialog.d.ts +12 -0
- package/esm/presentation/automations/shared/components/ParameterizedDateFilterNotSupportedDialog.d.ts.map +1 -0
- package/esm/presentation/automations/shared/components/ParameterizedDateFilterNotSupportedDialog.js +31 -0
- package/esm/presentation/automations/shared/hooks/useFiltersNamings.d.ts.map +1 -1
- package/esm/presentation/automations/shared/hooks/useFiltersNamings.js +1 -0
- package/esm/presentation/constants/automations.d.ts +1 -0
- package/esm/presentation/constants/automations.d.ts.map +1 -1
- package/esm/presentation/constants/automations.js +19 -0
- package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.js +18 -10
- package/esm/presentation/dragAndDrop/draggableDateFilter/DefaultDateFilterDraggingComponent.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DefaultDateFilterDraggingComponent.js +3 -2
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts +3 -3
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.js +1 -1
- package/esm/presentation/dragAndDrop/draggableFilterDropZone/DraggableFilterDropZoneHint.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableFilterDropZone/DraggableFilterDropZoneHint.js +2 -2
- package/esm/presentation/dragAndDrop/types.d.ts +2 -2
- package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useFilterDeleteDrop.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useFilterDeleteDrop.js +2 -2
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js +3 -3
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.d.ts +15 -3
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.js +27 -31
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts +3 -3
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.js +3 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.d.ts +2 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/AddLimitingItemDialog.d.ts +2 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/AddLimitingItemDialog.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.d.ts +2 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.js +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/ParentFiltersPage.d.ts +2 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/ParentFiltersPage.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.d.ts +3 -3
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.js +2 -4
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +42 -20
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +10 -7
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +3 -3
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +13 -4
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.js +9 -8
- package/esm/presentation/filterBar/filterBar/filterGroupUtils.js +3 -3
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js +13 -2
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +5 -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 +9 -9
- package/esm/presentation/filterBar/utils.d.ts.map +1 -1
- package/esm/presentation/filterBar/utils.js +2 -2
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +13 -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 +20 -7
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +13 -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 +15 -2
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +20 -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 +20 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +13 -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 +14 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +13 -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 +15 -2
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +13 -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 +16 -3
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +13 -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 +16 -3
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +13 -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 +17 -4
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +13 -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 +14 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +13 -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 +17 -4
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +13 -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 +15 -2
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +13 -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 +20 -7
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +13 -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 +13 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +13 -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 +22 -9
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +13 -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 +14 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +13 -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 +17 -4
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +33 -6
- package/esm/presentation/widget/common/configuration/DateDatasetFilter.js +2 -2
- package/esm/presentation/widget/common/configuration/FilterConfiguration.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/FilterConfiguration.js +5 -4
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.js +9 -2
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +3 -21
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/getDrillDialogInsightDescription.d.ts +6 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/getDrillDialogInsightDescription.d.ts.map +1 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/getDrillDialogInsightDescription.js +24 -0
- package/esm/presentation/widget/insight/configuration/DrillFilters/drillFiltersConfigUtils.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillFilters/drillFiltersConfigUtils.js +3 -3
- package/esm/presentation/widget/insight/configuration/DrillFilters/optionMappings/mapDashboardFilterToOption.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillFilters/optionMappings/mapDashboardFilterToOption.js +5 -4
- package/esm/sdk-ui-dashboard.d.ts +231 -14
- package/package.json +23 -23
- package/styles/css/kdaDialog.css +7 -0
- package/styles/css/kdaDialog.css.map +1 -1
- package/styles/css/main.css +17 -0
- package/styles/css/main.css.map +1 -1
- package/styles/scss/kdaDialog.scss +11 -0
|
@@ -585,6 +585,14 @@ export const selectEnableAlertOncePerInterval = createSelector(selectConfig, (st
|
|
|
585
585
|
export const selectEnableAutomationEvaluationMode = createSelector(selectConfig, (state) => {
|
|
586
586
|
return Boolean(state.settings?.enableAutomationEvaluationMode);
|
|
587
587
|
});
|
|
588
|
+
/**
|
|
589
|
+
* Selector for the feature flag of several attachments in one scheduled export
|
|
590
|
+
*
|
|
591
|
+
* @internal
|
|
592
|
+
*/
|
|
593
|
+
export const selectEnableScheduledExportMultipleAttachments = createSelector(selectConfig, (state) => {
|
|
594
|
+
return Boolean(state.settings?.enableScheduledExportMultipleAttachments);
|
|
595
|
+
});
|
|
588
596
|
/**
|
|
589
597
|
* Selector for the snapshot export feature flag
|
|
590
598
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboardFilterSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/filtering/dashboardFilterSelectors.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"dashboardFilterSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/filtering/dashboardFilterSelectors.ts"],"names":[],"mappings":"AAMA,OAAO,EAGH,KAAK,iBAAiB,EACtB,KAAK,+BAA+B,EACpC,K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,iBAAiB,EAAE,CAK7F,CAAC;AAEN;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,iBAAiB,EAAE,CAmB/E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,iBAAiB,EAAE,CAmB/E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,iBAAiB,CAAC,iBAAiB,EAAE,CAwBxF,CAAC;AAEN;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,iBAAiB,CAAC,iBAAiB,EAAE,CAIzF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,iBAAiB,CAAC,MAAM,GAAG,SAAS,CAMpF,CAAC;AA2GF,eAAO,MAAM,yBAAyB,WAC1B,iBAAiB,wBACH;IAClB,sBAAsB,CAAC,EAAE,0BAA0B,CAAC;IACpD,8BAA8B,EAAE,8BAA8B,EAAE,CAAC;IACjE,sBAAsB,EAAE,+BAA+B,EAAE,CAAC;CAC7D,KACF,OAA2E,CAAC;AAE/E,eAAO,MAAM,yBAAyB,WAC1B,iBAAiB,wBACH;IAClB,sBAAsB,CAAC,EAAE,0BAA0B,CAAC;IACpD,8BAA8B,EAAE,8BAA8B,EAAE,CAAC;IACjE,sBAAsB,EAAE,+BAA+B,EAAE,CAAC;CAC7D,KACF,OAA6E,CAAC;AAMjF;;;;;;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,
|
|
5
|
+
import { areObjRefsEqual, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, dashboardFilterObjRef, isAllDashboardMeasureValueFilter, isAllValuesDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardCommonDateFilterOfAnyType, isDashboardDateFilterOfAnyType, 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";
|
|
@@ -171,50 +171,31 @@ function removeHiddenFilters(filters, filterConfigurations) {
|
|
|
171
171
|
return !isFilterContextItemHidden(filter, filterConfigurations);
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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
|
-
}
|
|
185
|
-
else if (isDashboardDateFilter(filter)) {
|
|
186
|
-
if (isDashboardCommonDateFilter(filter)) {
|
|
187
|
-
return commonDateFilterConfig?.mode === "hidden";
|
|
188
|
-
}
|
|
189
|
-
else if (isDashboardDateFilterWithDimension(filter)) {
|
|
190
|
-
const config = dateFilterWithDimensionConfigs.find((date) => areObjRefsEqual(date.dateDataSet, filter.dateFilter.dataSet));
|
|
191
|
-
return config?.config.mode === "hidden";
|
|
192
|
-
}
|
|
174
|
+
/**
|
|
175
|
+
* Mode of the configuration of a date filter of any type: the common date filter configuration for the common
|
|
176
|
+
* date filter, the configuration of its dimension for a date filter with a dimension.
|
|
177
|
+
*/
|
|
178
|
+
function dateFilterOfAnyTypeMode(filter, commonDateFilterConfig, dateFilterWithDimensionConfigs) {
|
|
179
|
+
if (isDashboardCommonDateFilterOfAnyType(filter)) {
|
|
180
|
+
return commonDateFilterConfig?.mode;
|
|
193
181
|
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
182
|
+
const dataSet = dashboardFilterObjRef(filter);
|
|
183
|
+
return dateFilterWithDimensionConfigs.find((date) => areObjRefsEqual(date.dateDataSet, dataSet))?.config
|
|
184
|
+
.mode;
|
|
185
|
+
}
|
|
186
|
+
function filterContextItemMode(filter, filterConfigurations) {
|
|
197
187
|
const { dateFilterWithDimensionConfigs, attributeFilterConfigs, commonDateFilterConfig } = filterConfigurations;
|
|
198
188
|
if (isDashboardAttributeFilterItem(filter)) {
|
|
199
189
|
const attributeFilterLocalIdentifier = dashboardAttributeFilterItemLocalIdentifier(filter);
|
|
200
|
-
|
|
201
|
-
return config?.mode === "readonly";
|
|
190
|
+
return attributeFilterConfigs.find((attributeFilterConfig) => attributeFilterConfig.localIdentifier === attributeFilterLocalIdentifier)?.mode;
|
|
202
191
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
return isDashboardCommonDateFilterOfAnyType(filter) && commonDateFilterConfig?.mode === "readonly";
|
|
192
|
+
if (isDashboardDateFilterOfAnyType(filter)) {
|
|
193
|
+
return dateFilterOfAnyTypeMode(filter, commonDateFilterConfig, dateFilterWithDimensionConfigs);
|
|
206
194
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
else if (isDashboardDateFilterWithDimension(filter)) {
|
|
212
|
-
const config = dateFilterWithDimensionConfigs.find((date) => areObjRefsEqual(date.dateDataSet, filter.dateFilter.dataSet));
|
|
213
|
-
return config?.config.mode === "readonly";
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
return false;
|
|
217
|
-
};
|
|
195
|
+
return undefined;
|
|
196
|
+
}
|
|
197
|
+
export const isFilterContextItemHidden = (filter, filterConfigurations) => filterContextItemMode(filter, filterConfigurations) === "hidden";
|
|
198
|
+
export const isFilterContextItemLocked = (filter, filterConfigurations) => filterContextItemMode(filter, filterConfigurations) === "readonly";
|
|
218
199
|
//
|
|
219
200
|
// Per-tab automation filter selectors
|
|
220
201
|
//
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"insightsSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/insights/insightsSelectors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiC,KAAK,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC1G,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAEvB,KAAK,MAAM,EAad,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,SAAS,EAAiB,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"insightsSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/insights/insightsSelectors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiC,KAAK,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC1G,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAEvB,KAAK,MAAM,EAad,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,SAAS,EAAiB,MAAM,yCAAyC,CAAC;AAUxF,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAM1E;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,uCAA4B,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,iBAAiB,CAAC,MAAM,EAAE,CAExD,CAAC;AAQH;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,iBAAiB,CAAC,MAAM,EAAE,CAgBlE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,iBAAiB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAMpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAoBvE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAK5E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,iBAAiB,CAAC,QAAQ,GAAG,SAAS,CAK9F,CAAC;AAEP;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,iBAAiB,CAAC,QAAQ,GAAG,SAAS,CAMpG,CAAC;AAsTP;;;;;GAKG;AACH,eAAO,MAAM,uCAAuC,EAAE,CAClD,GAAG,EAAE,MAAM,GAAG,SAAS,KACtB,iBAAiB,CAAC,yBAAyB,GAAG,SAAS,CAa3D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kCAAkC,EAAE,CAC7C,OAAO,EAAE,kBAAkB,GAAG,SAAS,KACtC,iBAAiB,CAAC,yBAAyB,GAAG,SAAS,CAa3D,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { areObjRefsEqual, attributeAlias, attributeDisplayFormRef, attributeLoca
|
|
|
4
4
|
import { newInsightMap } from "../../../_staging/metadata/objRefMap.js";
|
|
5
5
|
import { createMemoizedSelector } from "../_infra/selectors.js";
|
|
6
6
|
import { selectBackendCapabilities } from "../backendCapabilities/backendCapabilitiesSelectors.js";
|
|
7
|
-
import {
|
|
7
|
+
import { selectCatalogAttributesWithComputed, selectCatalogDateDatasets, selectCatalogMeasures, } from "../catalog/catalogSelectors.js";
|
|
8
8
|
import { selectLocale } from "../config/configSelectors.js";
|
|
9
9
|
import { selectAllTabsInsightWidgetContexts, selectWidgetByRef } from "../tabs/layout/layoutSelectors.js";
|
|
10
10
|
import { insightsAdapter } from "./insightsEntityAdapter.js";
|
|
@@ -199,6 +199,12 @@ const selectRawExportMeasureOverridesForInsight = createMemoizedSelector((insigh
|
|
|
199
199
|
}, {});
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
|
+
/**
|
|
203
|
+
* Display forms of catalog attributes including computed attributes. Computed attributes are not part of
|
|
204
|
+
* the plain catalog attributes, so without them their titles are missing and raw export headers fall back
|
|
205
|
+
* to local ids.
|
|
206
|
+
*/
|
|
207
|
+
const selectDisplayFormsWithComputed = createSelector(selectCatalogAttributesWithComputed, (attributes) => attributes.flatMap((attribute) => [...attribute.displayForms, ...attribute.geoPinDisplayForms]));
|
|
202
208
|
/**
|
|
203
209
|
* For geo display forms (latitude, longitude, area, pin), resolves the parent attribute's
|
|
204
210
|
* default display form title instead of the geo-specific display form title.
|
|
@@ -227,7 +233,7 @@ function resolveDisplayFormTitle(catalogDisplayFormTitle, catalogDisplayFormType
|
|
|
227
233
|
* @alpha
|
|
228
234
|
*/
|
|
229
235
|
const selectRawExportDisplayFormOverridesForInsight = createMemoizedSelector((insight) => {
|
|
230
|
-
return createSelector(
|
|
236
|
+
return createSelector(selectDisplayFormsWithComputed, selectCatalogDateDatasets, selectCatalogAttributesWithComputed, (catalogAttributeDisplayForms, catalogDateDatasets, catalogAttributes) => {
|
|
231
237
|
if (!insight) {
|
|
232
238
|
return undefined;
|
|
233
239
|
}
|
|
@@ -277,7 +283,7 @@ const selectRawExportDisplayFormOverridesForInsight = createMemoizedSelector((in
|
|
|
277
283
|
* @alpha
|
|
278
284
|
*/
|
|
279
285
|
const selectRawExportDisplayFormOverridesForInsightByRef = createMemoizedSelector((ref) => {
|
|
280
|
-
return createSelector(selectInsightByRef(ref),
|
|
286
|
+
return createSelector(selectInsightByRef(ref), selectDisplayFormsWithComputed, selectCatalogDateDatasets, selectCatalogAttributesWithComputed, (insight, catalogAttributeDisplayForms, catalogDateDatasets, catalogAttributes) => {
|
|
281
287
|
if (!insight) {
|
|
282
288
|
return undefined;
|
|
283
289
|
}
|
|
@@ -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, isDashboardCommonDateFilterOfAnyType,
|
|
5
|
+
import { idRef, isBrowserDetectedTimezone, isDashboardAttributeFilter, isDashboardCommonDateFilterOfAnyType, isDashboardDateFilterWithDimensionOfAnyType, 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";
|
|
@@ -189,7 +189,7 @@ const selectWorkingAttributeFiltersByTab = createSelector(selectWorkingFilterCon
|
|
|
189
189
|
});
|
|
190
190
|
const selectPersistedDashboardDraggableFiltersByTab = createSelector(selectPersistedDashboardFilterContextFiltersByTab, (filtersByTab) => {
|
|
191
191
|
return Object.entries(filtersByTab).reduce((acc, [identifier, filters]) => {
|
|
192
|
-
acc[identifier] = filters.filter((filter) =>
|
|
192
|
+
acc[identifier] = filters.filter((filter) => isDashboardDateFilterWithDimensionOfAnyType(filter) ||
|
|
193
193
|
isDashboardAttributeFilter(filter) ||
|
|
194
194
|
isDashboardTextAttributeFilter(filter) ||
|
|
195
195
|
isDashboardMeasureValueFilter(filter));
|
|
@@ -198,7 +198,7 @@ const selectPersistedDashboardDraggableFiltersByTab = createSelector(selectPersi
|
|
|
198
198
|
});
|
|
199
199
|
const selectWorkingDraggableFiltersByTab = createSelector(selectWorkingFilterContextFiltersByTab, (filtersByTab) => {
|
|
200
200
|
return Object.entries(filtersByTab).reduce((acc, [identifier, filters]) => {
|
|
201
|
-
acc[identifier] = filters.filter((filter) =>
|
|
201
|
+
acc[identifier] = filters.filter((filter) => isDashboardDateFilterWithDimensionOfAnyType(filter) ||
|
|
202
202
|
isDashboardAttributeFilter(filter) ||
|
|
203
203
|
isDashboardTextAttributeFilter(filter) ||
|
|
204
204
|
isDashboardMeasureValueFilter(filter));
|
|
@@ -84,13 +84,17 @@ export interface IUpsertDateFilterNonAllTimePayload {
|
|
|
84
84
|
readonly restoreTargetOriginal?: boolean;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
|
-
* Whole periods of the common date filter.
|
|
87
|
+
* Whole periods of the common date filter or of a date filter with a dimension.
|
|
88
88
|
*
|
|
89
89
|
* @internal
|
|
90
90
|
*/
|
|
91
91
|
export interface IUpsertDateFilterAbsoluteGranularityPayload {
|
|
92
92
|
readonly type: "absoluteGranularity";
|
|
93
93
|
readonly granularity: DatePeriodGranularity;
|
|
94
|
+
/**
|
|
95
|
+
* Date dataset of a date filter with a dimension, undefined for the common date filter.
|
|
96
|
+
*/
|
|
97
|
+
readonly dataSet?: ObjRef;
|
|
94
98
|
readonly from?: DatePeriodLiteral;
|
|
95
99
|
readonly to?: DatePeriodLiteral;
|
|
96
100
|
readonly isWorkingSelectionChange?: boolean;
|
|
@@ -106,10 +110,32 @@ export interface IUpsertDateFilterAbsoluteGranularityPayload {
|
|
|
106
110
|
*/
|
|
107
111
|
readonly restoreTargetOriginal?: boolean;
|
|
108
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* Period of a date range parameter, in the common date filter or in the date filter of a date dataset.
|
|
115
|
+
*
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
export interface IUpsertDateFilterParameterizedPayload {
|
|
119
|
+
readonly type: "parameterized";
|
|
120
|
+
readonly parameter: ObjRef;
|
|
121
|
+
readonly dataSet?: ObjRef;
|
|
122
|
+
readonly isWorkingSelectionChange?: boolean;
|
|
123
|
+
readonly localIdentifier?: string;
|
|
124
|
+
readonly emptyValueHandling?: EmptyValues;
|
|
125
|
+
/**
|
|
126
|
+
* Optional tab local identifier to target a specific tab.
|
|
127
|
+
* If not provided, the active tab will be used.
|
|
128
|
+
*/
|
|
129
|
+
readonly tabLocalIdentifier?: string;
|
|
130
|
+
/**
|
|
131
|
+
* When true, tabs this change is synced to restore their own saved initial date filter instead of this payload.
|
|
132
|
+
*/
|
|
133
|
+
readonly restoreTargetOriginal?: boolean;
|
|
134
|
+
}
|
|
109
135
|
/**
|
|
110
136
|
* @internal
|
|
111
137
|
*/
|
|
112
|
-
export type IUpsertDateFilterPayload = IUpsertDateFilterAllTimePayload | IUpsertDateFilterNonAllTimePayload | IUpsertDateFilterAbsoluteGranularityPayload;
|
|
138
|
+
export type IUpsertDateFilterPayload = IUpsertDateFilterAllTimePayload | IUpsertDateFilterNonAllTimePayload | IUpsertDateFilterAbsoluteGranularityPayload | IUpsertDateFilterParameterizedPayload;
|
|
113
139
|
/**
|
|
114
140
|
* The date data set of the upserted date filter, undefined for the common date filter.
|
|
115
141
|
*
|
|
@@ -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,qBAAqB,EAC1B,KAAK,iBAAiB,EAEtB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,kBAAkB,EA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AQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,WAAW,CAAC;IAC1C;;;OAGG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAC5C;AAED;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAC9B,+BAA+B,GAC/B,kCAAkC,GAClC,2CAA2C,CAAC;
|
|
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,qBAAqB,EAC1B,KAAK,iBAAiB,EAEtB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,kBAAkB,EAGvB,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EAGpC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,MAAM,EAoBd,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAgC,MAAM,iBAAiB,CAAC;AAUhG,KAAK,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,WAAW,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;AA2CzE,KAAK,uBAAuB,GAAG;IAC3B,uBAAuB,EAAE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AQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAC5C,CAAC;AAyDF;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CACxC;AAED,KAAK,kDAAkD,GAAG;IACtD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAC5C,CAAC;AAqEF;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;CACtC;AAwFD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCjC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (C) 2021-2026 GoodData Corporation
|
|
2
2
|
import { invariant } from "ts-invariant";
|
|
3
|
-
import { areObjRefsEqual, attributeElementsIsEmpty, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, dashboardFilterObjRef, isAttributeElementsByRef,
|
|
3
|
+
import { areObjRefsEqual, attributeElementsIsEmpty, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, dashboardFilterObjRef, isAttributeElementsByRef, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilterOfAnyType, isDashboardDateFilter, isDashboardDateFilterOfAnyType, isDashboardDateFilterWithDimensionOfAnyType, isDashboardMatchAttributeFilter, isDashboardMeasureValueFilter, isIdentifierRef, newAllTimeDashboardDateFilter, newDashboardParameterizedDateFilter, } from "@gooddata/sdk-model";
|
|
4
4
|
import { _cloneDeep } from "@gooddata/util";
|
|
5
5
|
import { isDisplayFormMetadataReferencedBy } from "../../../utils/attributeFilterMatching.js";
|
|
6
6
|
import { generateFilterLocalIdentifier, generateMeasureValueFilterLocalIdentifier, } from "../../_infra/generators.js";
|
|
@@ -114,13 +114,14 @@ const setPreloadedAttributesWithReferences = (state, action) => {
|
|
|
114
114
|
* @internal
|
|
115
115
|
*/
|
|
116
116
|
export function upsertDateFilterPayloadDataSet(payload) {
|
|
117
|
-
return payload.
|
|
117
|
+
return payload.dataSet;
|
|
118
118
|
}
|
|
119
119
|
function newDashboardAbsoluteGranularityDateFilter(payload, localIdentifier) {
|
|
120
|
-
const { granularity, from, to, emptyValueHandling } = payload;
|
|
120
|
+
const { granularity, from, to, emptyValueHandling, dataSet } = payload;
|
|
121
121
|
return {
|
|
122
122
|
dashboardAbsoluteGranularityDateFilter: {
|
|
123
123
|
granularity,
|
|
124
|
+
...(dataSet ? { dataSet } : {}),
|
|
124
125
|
...(from === undefined
|
|
125
126
|
? { to }
|
|
126
127
|
: to === undefined
|
|
@@ -131,6 +132,10 @@ function newDashboardAbsoluteGranularityDateFilter(payload, localIdentifier) {
|
|
|
131
132
|
},
|
|
132
133
|
};
|
|
133
134
|
}
|
|
135
|
+
function newDashboardParameterizedDateFilterFromPayload(payload, localIdentifier) {
|
|
136
|
+
const { parameter, dataSet, emptyValueHandling } = payload;
|
|
137
|
+
return newDashboardParameterizedDateFilter(parameter, { dataSet, localIdentifier, emptyValueHandling });
|
|
138
|
+
}
|
|
134
139
|
const upsertDateFilter = (state, action) => {
|
|
135
140
|
const tab = getTabOrActive(state, action.payload.tabLocalIdentifier);
|
|
136
141
|
if (!tab) {
|
|
@@ -149,18 +154,22 @@ function upsertDateFilterOnTab(targetTab, payload) {
|
|
|
149
154
|
const dateDataSet = upsertDateFilterPayloadDataSet(payload);
|
|
150
155
|
let existingFilterIndex = -1;
|
|
151
156
|
if (dateDataSet) {
|
|
152
|
-
existingFilterIndex = filterContextDefinition.filters.findIndex((item) =>
|
|
157
|
+
existingFilterIndex = filterContextDefinition.filters.findIndex((item) => isDashboardDateFilterWithDimensionOfAnyType(item) &&
|
|
158
|
+
areObjRefsEqual(dashboardFilterObjRef(item), dateDataSet));
|
|
153
159
|
}
|
|
154
160
|
else {
|
|
155
161
|
existingFilterIndex = filterContextDefinition.filters.findIndex((item) => isDashboardCommonDateFilterOfAnyType(item));
|
|
156
162
|
}
|
|
157
|
-
// A change of the type of
|
|
163
|
+
// A change of the type of a date filter keeps its local identifier.
|
|
158
164
|
const existingFilter = filterContextDefinition.filters[existingFilterIndex];
|
|
159
|
-
const existingLocalIdentifier =
|
|
165
|
+
const existingLocalIdentifier = isDashboardDateFilterOfAnyType(existingFilter)
|
|
160
166
|
? dashboardFilterLocalIdentifier(existingFilter)
|
|
161
167
|
: undefined;
|
|
162
|
-
if (payload.type === "absoluteGranularity") {
|
|
163
|
-
const
|
|
168
|
+
if (payload.type === "absoluteGranularity" || payload.type === "parameterized") {
|
|
169
|
+
const localIdentifier = payload.localIdentifier ?? existingLocalIdentifier;
|
|
170
|
+
const dateFilter = payload.type === "absoluteGranularity"
|
|
171
|
+
? newDashboardAbsoluteGranularityDateFilter(payload, localIdentifier)
|
|
172
|
+
: newDashboardParameterizedDateFilterFromPayload(payload, localIdentifier);
|
|
164
173
|
if (existingFilterIndex >= 0) {
|
|
165
174
|
filterContextDefinition.filters[existingFilterIndex] = dateFilter;
|
|
166
175
|
}
|
|
@@ -175,8 +184,8 @@ function upsertDateFilterOnTab(targetTab, payload) {
|
|
|
175
184
|
if (isDashboardDateFilter(dateFilter)) {
|
|
176
185
|
filterContextDefinition.filters[existingFilterIndex] = newAllTimeDashboardDateFilter(dateFilter.dateFilter.dataSet, dateFilter.dateFilter.localIdentifier, payload.emptyValueHandling);
|
|
177
186
|
}
|
|
178
|
-
else if (
|
|
179
|
-
filterContextDefinition.filters[existingFilterIndex] = newAllTimeDashboardDateFilter(
|
|
187
|
+
else if (isDashboardDateFilterOfAnyType(dateFilter)) {
|
|
188
|
+
filterContextDefinition.filters[existingFilterIndex] = newAllTimeDashboardDateFilter(dashboardFilterObjRef(dateFilter), existingLocalIdentifier, payload.emptyValueHandling);
|
|
180
189
|
}
|
|
181
190
|
}
|
|
182
191
|
else {
|
|
@@ -187,8 +196,8 @@ function upsertDateFilterOnTab(targetTab, payload) {
|
|
|
187
196
|
if (existingFilterIndex >= 0) {
|
|
188
197
|
if (dateDataSet) {
|
|
189
198
|
const dateFilter = filterContextDefinition.filters[existingFilterIndex];
|
|
190
|
-
if (
|
|
191
|
-
filterContextDefinition.filters[existingFilterIndex] = newAllTimeDashboardDateFilter(
|
|
199
|
+
if (isDashboardDateFilterOfAnyType(dateFilter)) {
|
|
200
|
+
filterContextDefinition.filters[existingFilterIndex] = newAllTimeDashboardDateFilter(dateDataSet, existingLocalIdentifier, payload.emptyValueHandling);
|
|
192
201
|
}
|
|
193
202
|
}
|
|
194
203
|
else {
|
|
@@ -231,7 +240,7 @@ function upsertDateFilterOnTab(targetTab, payload) {
|
|
|
231
240
|
delete dateFilter.dateFilter.emptyValueHandling;
|
|
232
241
|
}
|
|
233
242
|
}
|
|
234
|
-
else if (
|
|
243
|
+
else if (isDashboardDateFilterOfAnyType(dateFilter)) {
|
|
235
244
|
const filterLocalIdentifier = localIdentifier ?? existingLocalIdentifier;
|
|
236
245
|
filterContextDefinition.filters[existingFilterIndex] = {
|
|
237
246
|
dateFilter: {
|
|
@@ -239,6 +248,7 @@ function upsertDateFilterOnTab(targetTab, payload) {
|
|
|
239
248
|
type,
|
|
240
249
|
from,
|
|
241
250
|
to,
|
|
251
|
+
...(dateDataSet ? { dataSet: dateDataSet } : {}),
|
|
242
252
|
...(filterLocalIdentifier ? { localIdentifier: filterLocalIdentifier } : {}),
|
|
243
253
|
...(boundedFilter ? { boundedFilter } : {}),
|
|
244
254
|
...(emptyValueHandling ? { emptyValueHandling } : {}),
|
|
@@ -396,11 +406,11 @@ const addAttributeFilter = (state, action) => {
|
|
|
396
406
|
const { displayForm, index, initialIsNegativeSelection, initialSelection, parentFilters, selectionMode, localIdentifier, title, } = action.payload;
|
|
397
407
|
const { definition } = target;
|
|
398
408
|
// Filters are indexed just for attribute filters, if DateFilter is present should be always first item
|
|
399
|
-
const
|
|
409
|
+
const isCommonDateFilterPresent = definition.filters.findIndex(isDashboardCommonDateFilterOfAnyType) >= 0;
|
|
400
410
|
const hasSelection = initialSelection && !attributeElementsIsEmpty(initialSelection);
|
|
401
411
|
const isNegative = selectionMode !== "single" && (initialIsNegativeSelection || !hasSelection);
|
|
402
412
|
// If DateFilter is present we have to move index by 1 because index of filter is calculated just for AttributeFilers array
|
|
403
|
-
const attributeFilterIndex =
|
|
413
|
+
const attributeFilterIndex = isCommonDateFilterPresent ? index + 1 : index;
|
|
404
414
|
const filter = {
|
|
405
415
|
attributeFilter: {
|
|
406
416
|
attributeElements: initialSelection ?? { uris: [] },
|
|
@@ -427,8 +437,8 @@ const addTextAttributeFilter = (state, action) => {
|
|
|
427
437
|
const { filter, index } = action.payload;
|
|
428
438
|
const { definition } = target;
|
|
429
439
|
// Filters are indexed just for attribute filters, if DateFilter is present should be always first item
|
|
430
|
-
const
|
|
431
|
-
const attributeFilterIndex =
|
|
440
|
+
const isCommonDateFilterPresent = definition.filters.findIndex(isDashboardCommonDateFilterOfAnyType) >= 0;
|
|
441
|
+
const attributeFilterIndex = isCommonDateFilterPresent ? index + 1 : index;
|
|
432
442
|
const filterWithLocalIdentifier = withAttributeFilterLocalIdentifier(filter, resolveAttributeFilterLocalIdentifier(definition, dashboardAttributeFilterItemDisplayForm(filter), attributeFilterIndex, dashboardAttributeFilterItemLocalIdentifier(filter)));
|
|
433
443
|
if (!filterWithLocalIdentifier) {
|
|
434
444
|
return;
|
|
@@ -533,13 +543,13 @@ const moveAttributeFilter = (state, action) => {
|
|
|
533
543
|
const filter = filters[currentFilterIndex];
|
|
534
544
|
filters.splice(currentFilterIndex, 1);
|
|
535
545
|
// Filters are indexed just for attribute filters, if DateFilter is present should be always first item
|
|
536
|
-
const
|
|
546
|
+
const isCommonDateFilterPresent = filters.findIndex(isDashboardCommonDateFilterOfAnyType) >= 0;
|
|
537
547
|
if (index === -1) {
|
|
538
548
|
filters.push(filter);
|
|
539
549
|
}
|
|
540
550
|
else {
|
|
541
551
|
// If DateFilter is present we have to move index by 1 because index of filter is calculated just for AttributeFilers array
|
|
542
|
-
const attributeFilterIndex =
|
|
552
|
+
const attributeFilterIndex = isCommonDateFilterPresent ? index + 1 : index;
|
|
543
553
|
filters.splice(attributeFilterIndex, 0, filter);
|
|
544
554
|
}
|
|
545
555
|
};
|
|
@@ -800,13 +810,13 @@ const removeDateFilter = (state, action) => {
|
|
|
800
810
|
}
|
|
801
811
|
const { dataSet } = action.payload;
|
|
802
812
|
const { filterContext, definition } = target;
|
|
803
|
-
const
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
813
|
+
const isRemovedFilter = (item) => isDashboardDateFilterWithDimensionOfAnyType(item) &&
|
|
814
|
+
areObjRefsEqual(dashboardFilterObjRef(item), dataSet);
|
|
815
|
+
const removed = definition.filters.find(isRemovedFilter);
|
|
816
|
+
const removedLocalIdentifier = removed ? dashboardFilterLocalIdentifier(removed) : undefined;
|
|
807
817
|
filterContext.filterContextDefinition = {
|
|
808
818
|
...definition,
|
|
809
|
-
filters: definition.filters.filter((item) => !
|
|
819
|
+
filters: definition.filters.filter((item) => !isRemovedFilter(item)),
|
|
810
820
|
};
|
|
811
821
|
removeDimensionDateFilterDependencies(filterContext.filterContextDefinition, dataSet, removedLocalIdentifier);
|
|
812
822
|
};
|
|
@@ -854,7 +864,8 @@ const moveDateFilter = (state, action) => {
|
|
|
854
864
|
}
|
|
855
865
|
const { dataSet, index } = action.payload;
|
|
856
866
|
const filters = target.definition.filters;
|
|
857
|
-
const currentFilterIndex = filters.findIndex((item) =>
|
|
867
|
+
const currentFilterIndex = filters.findIndex((item) => isDashboardDateFilterWithDimensionOfAnyType(item) &&
|
|
868
|
+
areObjRefsEqual(dashboardFilterObjRef(item), dataSet));
|
|
858
869
|
invariant(currentFilterIndex >= 0, "Attempt to move non-existing filter");
|
|
859
870
|
const filter = filters[currentFilterIndex];
|
|
860
871
|
filters.splice(currentFilterIndex, 1);
|
|
@@ -681,6 +681,17 @@ export declare const selectFilterContextDraggableFilters: DashboardSelector<Arra
|
|
|
681
681
|
* @public
|
|
682
682
|
*/
|
|
683
683
|
export declare const selectFilterContextDraggableFilterItems: DashboardSelector<Array<IDashboardDateFilter | DashboardAttributeFilterItem | IDashboardMeasureValueFilter>>;
|
|
684
|
+
/**
|
|
685
|
+
* This selector returns all dashboard's filter context draggable filters, like
|
|
686
|
+
* {@link selectFilterContextDraggableFilterItems}, with date filters with a dimension of any type.
|
|
687
|
+
*
|
|
688
|
+
* @remarks
|
|
689
|
+
* It is expected that the selector is called only after the filter context state is correctly initialized.
|
|
690
|
+
* Invocations before initialization lead to invariant errors.
|
|
691
|
+
*
|
|
692
|
+
* @alpha
|
|
693
|
+
*/
|
|
694
|
+
export declare const selectFilterContextDraggableFilterItemsOfAnyType: DashboardSelector<Array<DashboardDateFilterOfAnyType | DashboardAttributeFilterItem | IDashboardMeasureValueFilter>>;
|
|
684
695
|
/**
|
|
685
696
|
* This selector returns dashboard's applied filter context measure value filters.
|
|
686
697
|
*
|
|
@@ -729,6 +740,26 @@ export declare const selectFilterContextDateFiltersWithDimension: DashboardSelec
|
|
|
729
740
|
* @public
|
|
730
741
|
*/
|
|
731
742
|
export declare const selectWorkingFilterContextDateFiltersWithDimension: DashboardSelector<IDashboardDateFilter[]>;
|
|
743
|
+
/**
|
|
744
|
+
* This selector returns dashboard's filter context date filters with dimension specified, of any type.
|
|
745
|
+
*
|
|
746
|
+
* @remarks
|
|
747
|
+
* It is expected that the selector is called only after the filter context state is correctly initialized.
|
|
748
|
+
* Invocations before initialization lead to invariant errors.
|
|
749
|
+
*
|
|
750
|
+
* @alpha
|
|
751
|
+
*/
|
|
752
|
+
export declare const selectFilterContextDateFiltersWithDimensionOfAnyType: DashboardSelector<DashboardDateFilterOfAnyType[]>;
|
|
753
|
+
/**
|
|
754
|
+
* This selector returns dashboard's working filter context date filters with dimension specified, of any type.
|
|
755
|
+
*
|
|
756
|
+
* @remarks
|
|
757
|
+
* It is expected that the selector is called only after the filter context state is correctly initialized.
|
|
758
|
+
* Invocations before initialization lead to invariant errors.
|
|
759
|
+
*
|
|
760
|
+
* @alpha
|
|
761
|
+
*/
|
|
762
|
+
export declare const selectWorkingFilterContextDateFiltersWithDimensionOfAnyType: DashboardSelector<DashboardDateFilterOfAnyType[]>;
|
|
732
763
|
/**
|
|
733
764
|
* Creates a selector for selecting date filter by its dataset {@link @gooddata/sdk-model#ObjRef}.
|
|
734
765
|
*
|
|
@@ -738,6 +769,15 @@ export declare const selectWorkingFilterContextDateFiltersWithDimension: Dashboa
|
|
|
738
769
|
* @public
|
|
739
770
|
*/
|
|
740
771
|
export declare const selectFilterContextDateFilterByDataSet: (dataSet: ObjRef) => (state: DashboardState) => IDashboardDateFilter | undefined;
|
|
772
|
+
/**
|
|
773
|
+
* Creates a selector for selecting date filter of any type by its dataset {@link @gooddata/sdk-model#ObjRef}.
|
|
774
|
+
*
|
|
775
|
+
* @remarks
|
|
776
|
+
* Invocations before initialization lead to invariant errors.
|
|
777
|
+
*
|
|
778
|
+
* @alpha
|
|
779
|
+
*/
|
|
780
|
+
export declare const selectFilterContextDateFilterOfAnyTypeByDataSet: (dataSet: ObjRef) => (state: DashboardState) => DashboardDateFilterOfAnyType | undefined;
|
|
741
781
|
/**
|
|
742
782
|
* Creates a selector for selecting date filter's index by its dataset {@link @gooddata/sdk-model#ObjRef}.
|
|
743
783
|
*
|
|
@@ -755,7 +795,7 @@ export declare const selectFilterContextDateFilterIndexByDataSet: (dataSet: ObjR
|
|
|
755
795
|
*
|
|
756
796
|
* @internal
|
|
757
797
|
*/
|
|
758
|
-
export declare const selectFilterContextDateFiltersWithDimensionForTab: (tabLocalIdentifier: string) => DashboardSelector<
|
|
798
|
+
export declare const selectFilterContextDateFiltersWithDimensionForTab: (tabLocalIdentifier: string) => DashboardSelector<DashboardDateFilterOfAnyType[]>;
|
|
759
799
|
/**
|
|
760
800
|
* Returns the common date filter for a specific tab.
|
|
761
801
|
*
|
|
@@ -774,7 +814,7 @@ export declare const selectFilterContextDateFilterForTab: (tabLocalIdentifier: s
|
|
|
774
814
|
*
|
|
775
815
|
* @internal
|
|
776
816
|
*/
|
|
777
|
-
export declare const selectFilterContextDateFilterByDataSetForTab: (dataSet: ObjRef, tabLocalIdentifier: string) => DashboardSelector<
|
|
817
|
+
export declare const selectFilterContextDateFilterByDataSetForTab: (dataSet: ObjRef, tabLocalIdentifier: string) => DashboardSelector<DashboardDateFilterOfAnyType | undefined>;
|
|
778
818
|
/**
|
|
779
819
|
* Creates a selector for selecting draggable filter's index by its ref:
|
|
780
820
|
* dataSet ref for date filters {@link @gooddata/sdk-model#ObjRef}
|
|
@@ -1047,7 +1087,7 @@ export declare const selectWorkingFilterContextAttributeFilterItemsForTab: (tabL
|
|
|
1047
1087
|
*
|
|
1048
1088
|
* @internal
|
|
1049
1089
|
*/
|
|
1050
|
-
export declare const selectWorkingFilterContextDateFiltersWithDimensionForTab: (tabLocalIdentifier: string) => DashboardSelector<
|
|
1090
|
+
export declare const selectWorkingFilterContextDateFiltersWithDimensionForTab: (tabLocalIdentifier: string) => DashboardSelector<DashboardDateFilterOfAnyType[]>;
|
|
1051
1091
|
/**
|
|
1052
1092
|
* Returns the working common date filter for a specific tab.
|
|
1053
1093
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterContextSelectors.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/filterContext/filterContextSelectors.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"filterContextSelectors.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/filterContext/filterContextSelectors.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,MAAM,EAmBd,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,4CAA4C,CAAC;AAM/F,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAI7E,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,EAEvC,MAAM,yBAAyB,CAAC;AAajC;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;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