@gooddata/sdk-ui-dashboard 11.65.0-alpha.0 → 11.65.0-alpha.10
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 +72077 -4
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/assets/type-csv-formatted.svg +1 -1
- package/esm/assets/type-csv-raw.svg +1 -1
- package/esm/index.d.ts +7 -4
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -2
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js +1 -3
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js +8 -7
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js +19 -28
- package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +4 -5
- package/esm/model/commandHandlers/filterContext/attributeFilter/replaceAttributeFilterItemSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/replaceAttributeFilterItemSelectionHandler.js +14 -15
- package/esm/model/commandHandlers/filterContext/attributeFilter/resolveDisplayFormMetadata.d.ts +4 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/resolveDisplayFormMetadata.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/resolveDisplayFormMetadata.js +11 -2
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +23 -45
- package/esm/model/commandHandlers/filterContext/common.d.ts +6 -5
- package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.js +12 -18
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +30 -36
- package/esm/model/commandHandlers/filterContext/measureValueFilter/changeMeasureValueFilterConditionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/measureValueFilter/changeMeasureValueFilterConditionHandler.js +11 -17
- package/esm/model/commandHandlers/filterContext/measureValueFilter/changeMeasureValueFilterDimensionalityHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/measureValueFilter/changeMeasureValueFilterDimensionalityHandler.js +7 -10
- package/esm/model/commandHandlers/filterContext/tabSync/expandActionsForTabSync.d.ts +15 -0
- package/esm/model/commandHandlers/filterContext/tabSync/expandActionsForTabSync.d.ts.map +1 -0
- package/esm/model/commandHandlers/filterContext/tabSync/expandActionsForTabSync.js +88 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts +11 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts.map +1 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.js +335 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncSaga.d.ts +52 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncSaga.d.ts.map +1 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncSaga.js +60 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncScope.d.ts +69 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncScope.d.ts.map +1 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncScope.js +2 -0
- package/esm/model/commandHandlers/parameters/changeParameterValuesHandler.d.ts +2 -1
- package/esm/model/commandHandlers/parameters/changeParameterValuesHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/parameters/changeParameterValuesHandler.js +41 -10
- package/esm/model/commands/parameters.d.ts +11 -1
- package/esm/model/commands/parameters.d.ts.map +1 -1
- package/esm/model/commands/parameters.js +2 -1
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/base.d.ts.map +1 -1
- package/esm/model/events/index.d.ts +2 -1
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/insightEditor.d.ts +128 -0
- package/esm/model/events/insightEditor.d.ts.map +1 -0
- package/esm/model/events/insightEditor.js +74 -0
- package/esm/model/queryServices/queryAttributeElements.js +1 -0
- package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.js +4 -9
- package/esm/model/store/config/configReducers.d.ts +4 -8
- package/esm/model/store/config/configReducers.d.ts.map +1 -1
- package/esm/model/store/config/configReducers.js +6 -12
- package/esm/model/store/config/configSelectors.d.ts +24 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +30 -4
- package/esm/model/store/config/index.d.ts +2 -3
- package/esm/model/store/config/index.d.ts.map +1 -1
- package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsReducers.d.ts +75 -5
- package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsReducers.js +35 -60
- package/esm/model/store/tabs/dateFilterConfigs/dateFilterConfigsReducers.js +1 -1
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +139 -31
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextReducers.js +314 -529
- package/esm/model/store/tabs/filterContext/filterSync.d.ts +35 -13
- package/esm/model/store/tabs/filterContext/filterSync.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterSync.js +79 -58
- package/esm/model/store/tabs/index.d.ts +10 -12
- package/esm/model/store/tabs/index.d.ts.map +1 -1
- package/esm/model/store/tabs/layout/layoutReducers.d.ts +1 -0
- package/esm/model/store/tabs/layout/layoutReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/measureValueFilterConfigs/measureValueFilterConfigsReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts +0 -5
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersReducers.js +8 -7
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +7 -0
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +16 -0
- package/esm/model/store/tabs/tabsReducers.d.ts +8 -4
- package/esm/model/store/tabs/tabsReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/tabsReducers.js +15 -18
- package/esm/model/store/tabs/tabsState.d.ts +0 -10
- package/esm/model/store/tabs/tabsState.d.ts.map +1 -1
- package/esm/model/store/tabs/tabsState.js +0 -20
- package/esm/model/store/ui/index.d.ts +2 -0
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +6 -0
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +8 -0
- package/esm/model/store/ui/uiSelectors.d.ts +7 -0
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +6 -0
- package/esm/model/store/ui/uiState.d.ts +5 -0
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +1 -0
- package/esm/model/types/attributeFilterTypes.d.ts +5 -0
- package/esm/model/types/attributeFilterTypes.d.ts.map +1 -1
- package/esm/model/types/attributeFilterTypes.js +1 -1
- package/esm/model/types/commonTypes.d.ts +38 -22
- package/esm/model/types/commonTypes.d.ts.map +1 -1
- package/esm/model/types/insightEditorTypes.d.ts +43 -0
- package/esm/model/types/insightEditorTypes.d.ts.map +1 -0
- package/esm/model/types/insightEditorTypes.js +2 -0
- package/esm/model/utils/attributeFilterMatching.d.ts +10 -0
- package/esm/model/utils/attributeFilterMatching.d.ts.map +1 -1
- package/esm/model/utils/attributeFilterMatching.js +14 -3
- package/esm/model/utils/attributeFilterSelectionTypeCompatibility.d.ts +8 -0
- package/esm/model/utils/attributeFilterSelectionTypeCompatibility.d.ts.map +1 -1
- package/esm/model/utils/attributeFilterSelectionTypeCompatibility.js +14 -4
- package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts +33 -2
- package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.js +29 -13
- package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.js +3 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +3 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +5 -4
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/LiveRegionLastSelectContainer.d.ts +9 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/LiveRegionLastSelectContainer.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/LiveRegionLastSelectContainer.js +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +3 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +14 -7
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectionDescription.d.ts +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectionDescription.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectionDescription.js +30 -0
- package/esm/presentation/automations/scheduledEmail/utils/users.d.ts +1 -0
- package/esm/presentation/automations/scheduledEmail/utils/users.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/utils/users.js +3 -0
- package/esm/presentation/automations/shared/automationFilters/utils.d.ts +4 -0
- package/esm/presentation/automations/shared/automationFilters/utils.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/utils.js +12 -5
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js +2 -11
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js +10 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DashboardContentLoader.d.ts +5 -0
- package/esm/presentation/dashboard/DefaultDashboardContent/DashboardContentLoader.d.ts.map +1 -0
- package/esm/presentation/dashboard/DefaultDashboardContent/DashboardContentLoader.js +27 -0
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +7 -2
- package/esm/presentation/dashboard/components/DashboardAiComposingOverlay.d.ts +4 -0
- package/esm/presentation/dashboard/components/DashboardAiComposingOverlay.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/DashboardAiComposingOverlay.js +151 -0
- package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.js +17 -14
- package/esm/presentation/dashboard/components/DashboardInteractionComposing.d.ts +8 -0
- package/esm/presentation/dashboard/components/DashboardInteractionComposing.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/DashboardInteractionComposing.js +23 -0
- package/esm/presentation/dashboard/components/DashboardInteractionLock.d.ts +8 -0
- package/esm/presentation/dashboard/components/DashboardInteractionLock.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/DashboardInteractionLock.js +29 -0
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js +10 -7
- package/esm/presentation/dashboard/components/ToastMessages.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/ToastMessages.js +6 -3
- package/esm/presentation/dashboard/components/useEditModeLayoutNoteMessages.d.ts +6 -0
- package/esm/presentation/dashboard/components/useEditModeLayoutNoteMessages.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/useEditModeLayoutNoteMessages.js +48 -0
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.js +3 -2
- package/esm/presentation/dashboard/types.d.ts +5 -0
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.js +2 -4
- package/esm/presentation/dragAndDrop/draggableWidget/AddRichTextWidgetButton.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddRichTextWidgetButton.js +3 -3
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.js +2 -4
- package/esm/presentation/drill/utils/drillDownUtils.d.ts.map +1 -1
- package/esm/presentation/drill/utils/drillDownUtils.js +3 -2
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts +8 -1
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts.map +1 -1
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +21 -5
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +3 -2
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AddAttributeFilterPlaceholder.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AddAttributeFilterPlaceholder.js +3 -2
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltip.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltip.js +4 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltipContent.d.ts +6 -2
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltipContent.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltipContent.js +8 -4
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewDeleteConfirm.d.ts +2 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewDeleteConfirm.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewDeleteConfirm.js +2 -2
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.js +11 -5
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +4 -1
- package/esm/presentation/insightEditor/InsightEditorContent.d.ts +26 -0
- package/esm/presentation/insightEditor/InsightEditorContent.d.ts.map +1 -0
- package/esm/presentation/insightEditor/InsightEditorContent.js +158 -0
- package/esm/presentation/insightEditor/InsightEditorCreatePanelItem.d.ts +7 -0
- package/esm/presentation/insightEditor/InsightEditorCreatePanelItem.d.ts.map +1 -0
- package/esm/presentation/insightEditor/InsightEditorCreatePanelItem.js +25 -0
- package/esm/presentation/insightEditor/InsightEditorOverlay.d.ts +6 -0
- package/esm/presentation/insightEditor/InsightEditorOverlay.d.ts.map +1 -0
- package/esm/presentation/insightEditor/InsightEditorOverlay.js +110 -0
- package/esm/presentation/insightEditor/InsightEditorPermissionsContext.d.ts +10 -0
- package/esm/presentation/insightEditor/InsightEditorPermissionsContext.d.ts.map +1 -0
- package/esm/presentation/insightEditor/InsightEditorPermissionsContext.js +18 -0
- package/esm/presentation/insightEditor/InsightEditorPlaceholder.d.ts +7 -0
- package/esm/presentation/insightEditor/InsightEditorPlaceholder.d.ts.map +1 -0
- package/esm/presentation/insightEditor/InsightEditorPlaceholder.js +15 -0
- package/esm/presentation/insightEditor/filterContext/attributeFilters.d.ts +4 -0
- package/esm/presentation/insightEditor/filterContext/attributeFilters.d.ts.map +1 -0
- package/esm/presentation/insightEditor/filterContext/attributeFilters.js +115 -0
- package/esm/presentation/insightEditor/filterContext/dateFilters.d.ts +5 -0
- package/esm/presentation/insightEditor/filterContext/dateFilters.d.ts.map +1 -0
- package/esm/presentation/insightEditor/filterContext/dateFilters.js +117 -0
- package/esm/presentation/insightEditor/filterContext/filterIntersection.d.ts +7 -0
- package/esm/presentation/insightEditor/filterContext/filterIntersection.d.ts.map +1 -0
- package/esm/presentation/insightEditor/filterContext/filterIntersection.js +149 -0
- package/esm/presentation/insightEditor/filterContext/insightFilterContext.d.ts +26 -0
- package/esm/presentation/insightEditor/filterContext/insightFilterContext.d.ts.map +1 -0
- package/esm/presentation/insightEditor/filterContext/insightFilterContext.js +72 -0
- package/esm/presentation/insightEditor/filterContext/measureValueFilters.d.ts +20 -0
- package/esm/presentation/insightEditor/filterContext/measureValueFilters.d.ts.map +1 -0
- package/esm/presentation/insightEditor/filterContext/measureValueFilters.js +76 -0
- package/esm/presentation/insightEditor/filterContext/objQualifiers.d.ts +11 -0
- package/esm/presentation/insightEditor/filterContext/objQualifiers.d.ts.map +1 -0
- package/esm/presentation/insightEditor/filterContext/objQualifiers.js +18 -0
- package/esm/presentation/insightEditor/insightEditorEscapeGuard.d.ts +18 -0
- package/esm/presentation/insightEditor/insightEditorEscapeGuard.d.ts.map +1 -0
- package/esm/presentation/insightEditor/insightEditorEscapeGuard.js +24 -0
- package/esm/presentation/insightEditor/insightEditorRoute.d.ts +34 -0
- package/esm/presentation/insightEditor/insightEditorRoute.d.ts.map +1 -0
- package/esm/presentation/insightEditor/insightEditorRoute.js +48 -0
- package/esm/presentation/insightEditor/types.d.ts +7 -0
- package/esm/presentation/insightEditor/types.d.ts.map +1 -0
- package/esm/presentation/insightEditor/types.js +2 -0
- package/esm/presentation/insightEditor/useCanCreateInsightInEditor.d.ts +5 -0
- package/esm/presentation/insightEditor/useCanCreateInsightInEditor.d.ts.map +1 -0
- package/esm/presentation/insightEditor/useCanCreateInsightInEditor.js +14 -0
- package/esm/presentation/insightEditor/useExploreFilterTransfer.d.ts +21 -0
- package/esm/presentation/insightEditor/useExploreFilterTransfer.d.ts.map +1 -0
- package/esm/presentation/insightEditor/useExploreFilterTransfer.js +193 -0
- package/esm/presentation/insightEditor/useInsightEditPermissions.d.ts +17 -0
- package/esm/presentation/insightEditor/useInsightEditPermissions.d.ts.map +1 -0
- package/esm/presentation/insightEditor/useInsightEditPermissions.js +42 -0
- package/esm/presentation/insightEditor/useInsightEditorMenuItems.d.ts +23 -0
- package/esm/presentation/insightEditor/useInsightEditorMenuItems.d.ts.map +1 -0
- package/esm/presentation/insightEditor/useInsightEditorMenuItems.js +126 -0
- package/esm/presentation/insightEditor/useInsightEditorSession.d.ts +19 -0
- package/esm/presentation/insightEditor/useInsightEditorSession.d.ts.map +1 -0
- package/esm/presentation/insightEditor/useInsightEditorSession.js +141 -0
- package/esm/presentation/insightList/InsightList.d.ts.map +1 -1
- package/esm/presentation/insightList/InsightList.js +10 -5
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +6 -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 +48 -42
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +6 -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 +11 -5
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +64 -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 +64 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +6 -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 +187 -181
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +6 -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 +6 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +6 -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 +7 -1
- package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.js +2 -4
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.js +3 -2
- package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.js +3 -2
- package/esm/presentation/topBar/buttonBar/button/settingButton/DefaultSettingButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/settingButton/DefaultSettingButton.js +3 -2
- package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.js +3 -2
- package/esm/presentation/topBar/title/EditableTitle.d.ts.map +1 -1
- package/esm/presentation/topBar/title/EditableTitle.js +6 -0
- package/esm/presentation/widget/insight/DefaultDashboardInsightComponentSetFactory.d.ts +1 -1
- package/esm/presentation/widget/insight/DefaultDashboardInsightComponentSetFactory.d.ts.map +1 -1
- package/esm/presentation/widget/insight/DefaultDashboardInsightComponentSetFactory.js +13 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +10 -1
- package/esm/presentation/widget/richText/EditModeDashboardRichText.js +1 -1
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js +2 -2
- package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.js +5 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +4 -1
- package/esm/sdk-ui-dashboard.d.ts +528 -68
- package/package.json +23 -21
- package/styles/css/alerting.css +1 -1
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/attributeFilterConfig.css +3 -3
- package/styles/css/automationFilters.css +1 -1
- package/styles/css/configurationPanel.css +2 -2
- package/styles/css/configurationPanel.css.map +1 -1
- package/styles/css/dashboard.css +149 -86
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardContentLoader.css +45 -0
- package/styles/css/dashboardContentLoader.css.map +1 -0
- package/styles/css/dashboardNestedLayoutToolbar.css.map +1 -1
- package/styles/css/dashboardNestedLayoutWidget.css +1 -1
- package/styles/css/dashboardSettingsDialog.css +1 -1
- package/styles/css/dragAndDrop.css +0 -8
- package/styles/css/dragAndDrop.css.map +1 -1
- package/styles/css/drillConfigPanel.css +7 -7
- package/styles/css/drillConfigPanel.css.map +1 -1
- package/styles/css/filterBar.css +4 -4
- package/styles/css/filterBar.css.map +1 -1
- package/styles/css/grouped-navigation.css +2 -2
- package/styles/css/grouped-navigation.css.map +1 -1
- package/styles/css/icons.css.map +1 -1
- package/styles/css/insightConfiguration.css +1 -1
- package/styles/css/insightConfiguration.css.map +1 -1
- package/styles/css/insightEditor.css +46 -0
- package/styles/css/insightEditor.css.map +1 -0
- package/styles/css/kpi.css +2 -2
- package/styles/css/kpi.css.map +1 -1
- package/styles/css/kpi_alert_dialog.css +2 -2
- package/styles/css/layout.css +5 -5
- package/styles/css/layout.css.map +1 -1
- package/styles/css/main.css +343 -218
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +2 -2
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/css/resizing.css.map +1 -1
- package/styles/css/richTextWidget.css.map +1 -1
- package/styles/css/saveAsDialog.css.map +1 -1
- package/styles/css/sidebar.css +35 -10
- package/styles/css/sidebar.css.map +1 -1
- package/styles/css/topBar.css.map +1 -1
- package/styles/css/visualization.css.map +1 -1
- package/styles/css/visualizationSwitcherHeader.css.map +1 -1
- package/styles/css/visualizationSwitcherToolbar.css +1 -1
- package/styles/css/visualizationSwitcherToolbar.css.map +1 -1
- package/styles/css/visualizationSwitcherWidget.css +1 -1
- package/styles/css/visualizationSwitcherWidget.css.map +1 -1
- package/styles/scss/_variables.scss +3 -2
- package/styles/scss/_zIndexes.scss +4 -0
- package/styles/scss/attributeFilterConfig.scss +1 -1
- package/styles/scss/configurationPanel.scss +1 -1
- package/styles/scss/dashboard.scss +113 -94
- package/styles/scss/dashboardContentLoader.scss +45 -0
- package/styles/scss/dragAndDrop.scss +2 -9
- package/styles/scss/drillConfigPanel.scss +3 -3
- package/styles/scss/insightEditor.scss +53 -0
- package/styles/scss/layout.scss +1 -1
- package/styles/scss/main.scss +1 -0
- package/styles/scss/sidebar.scss +47 -12
- package/esm/presentation/dashboard/components/DashboardSkeleton.d.ts +0 -5
- package/esm/presentation/dashboard/components/DashboardSkeleton.d.ts.map +0 -1
- package/esm/presentation/dashboard/components/DashboardSkeleton.js +0 -20
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { type IAttributeWithReferences } from "@gooddata/sdk-backend-spi";
|
|
2
|
-
import { type DashboardAttributeFilterItem, type FilterContextItem, type IAttributeDisplayFormMetadataObject, type IDashboardAttributeFilterConfig, type IDashboardDateFilterConfigItem, type IDashboardFilterGroupsConfig, type IDashboardMeasureValueFilterConfig, type IFilterContextDefinition, type ObjRef } from "@gooddata/sdk-model";
|
|
3
|
-
import { type ITabState
|
|
2
|
+
import { type DashboardAttributeFilterItem, type FilterContextItem, type IAttributeDisplayFormMetadataObject, type IDashboardAttributeFilterConfig, type IDashboardDateFilterConfigItem, type IDashboardFilterGroupsConfig, type IDashboardMeasureValueFilterConfig, type IFilterContextDefinition, type ObjRef, type ParameterValue } from "@gooddata/sdk-model";
|
|
3
|
+
import { type ITabState } from "../tabsState.js";
|
|
4
4
|
import { type WorkingFilterContextItem } from "./filterContextState.js";
|
|
5
5
|
type StagedFilter = FilterContextItem | WorkingFilterContextItem;
|
|
6
6
|
/**
|
|
7
|
-
* Cross-tab identity match.
|
|
8
|
-
* used when a whole filter definition is replaced. Selection-only writes leave it off so a
|
|
9
|
-
* list selection does not convert a text filter on another tab.
|
|
7
|
+
* Cross-tab identity match.
|
|
10
8
|
*/
|
|
11
9
|
export interface IFindCounterpartOptions {
|
|
12
|
-
readonly allowListToText?: boolean;
|
|
13
10
|
/**
|
|
14
11
|
* Cross-filtering virtual filters on the target tab are never a counterpart.
|
|
15
12
|
*/
|
|
@@ -31,8 +28,10 @@ export type CrossFilteringLocalIdsByTab = Readonly<Record<string, readonly strin
|
|
|
31
28
|
export declare function isCrossFilteringVirtualFilter(tab: ITabState, localIdentifier: string | undefined, crossFilteringLocalIdsByTab: CrossFilteringLocalIdsByTab | undefined): boolean;
|
|
32
29
|
/**
|
|
33
30
|
* Finds the filter on `targetTab` that is the same logical filter as `sourceFilter`.
|
|
34
|
-
*
|
|
35
|
-
*
|
|
31
|
+
* An attribute filter is a counterpart only when it is of the same type (list or text), has the
|
|
32
|
+
* same display-as label and selection type, both with their defaults applied, and the same single
|
|
33
|
+
* or multiple value selection mode.
|
|
34
|
+
* A missing or incompatible counterpart is a no-op for the caller.
|
|
36
35
|
*
|
|
37
36
|
* Assumes at most one filter per display form, date data set, and measure with a given
|
|
38
37
|
* dimensionality on a tab.
|
|
@@ -68,14 +67,37 @@ export declare function preserveFilterDependencies(existing: DashboardAttributeF
|
|
|
68
67
|
*/
|
|
69
68
|
export declare function applyMirroredFilterValue(source: FilterContextItem, target: FilterContextItem): FilterContextItem;
|
|
70
69
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* A target tab's own staged value for a mirrored filter or parameter is dropped, so it cannot
|
|
74
|
-
* shadow the mirrored value; staged values of other filters on that tab are kept.
|
|
70
|
+
* Applied filter and parameter values committed on another tab, already fitted to the tab
|
|
71
|
+
* they are written to.
|
|
75
72
|
*
|
|
76
73
|
* @internal
|
|
77
74
|
*/
|
|
78
|
-
export
|
|
75
|
+
export interface IMirroredSelection {
|
|
76
|
+
readonly filters: readonly FilterContextItem[];
|
|
77
|
+
readonly parameters: readonly IMirroredParameterValue[];
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
export interface IMirroredParameterValue {
|
|
83
|
+
readonly ref: ObjRef;
|
|
84
|
+
readonly value: ParameterValue | undefined;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Writes `selection` onto the matching applied filters and parameters of `tab`. The tab's own staged
|
|
88
|
+
* value of a written filter or parameter is dropped, so it cannot shadow the written value; staged
|
|
89
|
+
* values of other filters and parameters are kept. Does not create a filter or parameter, except the
|
|
90
|
+
* common date filter, whose absence means all time.
|
|
91
|
+
*
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
export declare function writeMirroredSelection(tab: ITabState, selection: IMirroredSelection): void;
|
|
95
|
+
/**
|
|
96
|
+
* The applied filter of `tab` that a staged entry overlays.
|
|
97
|
+
*
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
export declare function findAppliedFilterForStaged(tab: ITabState, staged: StagedFilter): FilterContextItem | undefined;
|
|
79
101
|
/**
|
|
80
102
|
* Filter state of a tab created while sync is on.
|
|
81
103
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterSync.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/filterContext/filterSync.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,4BAA4B,
|
|
1
|
+
{"version":3,"file":"filterSync.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/filterContext/filterSync.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,4BAA4B,EAEjC,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EAEpC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EAEjC,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,MAAM,EACX,KAAK,cAAc,EAgBtB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAExE,KAAK,YAAY,GAAG,iBAAiB,GAAG,wBAAwB,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;CACtE;AAED;;;;;GAKG;AACH,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC;AAEtF;;;;;GAKG;AACH,wBAAgB,6BAA6B,CACzC,GAAG,EAAE,SAAS,EACd,eAAe,EAAE,MAAM,GAAG,SAAS,EACnC,2BAA2B,EAAE,2BAA2B,GAAG,SAAS,GACrE,OAAO,CAKT;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACjC,SAAS,EAAE,SAA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,wBAAwB,CAAC;IAC3D,QAAQ,CAAC,2BAA2B,EAAE,mCAAmC,EAAE,CAAC;IAC5E,QAAQ,CAAC,sBAAsB,EAAE,+BAA+B,EAAE,CAAC;IACnE,QAAQ,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,CAAC;IAC7D,QAAQ,CAAC,yBAAyB,EAAE,kCAAkC,EAAE,CAAC;IACzE,QAAQ,CAAC,kBAAkB,EAAE,4BAA4B,GAAG,SAAS,CAAC;CACzE;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAChC,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,wBAAwB,EAC9B,2BAA2B,CAAC,EAAE,2BAA2B,GAC1D,cAAc,CAsChB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
|
-
import { areObjRefsEqual, dashboardAttributeFilterItemFilterElementsBy, dashboardAttributeFilterItemFilterElementsByDate, dashboardAttributeFilterItemLocalIdentifier, dashboardAttributeFilterItemValidateElementsBy, dashboardFilterLocalIdentifier, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardMatchAttributeFilter, isDashboardMeasureValueFilter, } from "@gooddata/sdk-model";
|
|
3
|
-
import { findAttributeFilterCounterpart } from "../../../utils/attributeFilterMatching.js";
|
|
2
|
+
import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemFilterElementsBy, dashboardAttributeFilterItemFilterElementsByDate, dashboardAttributeFilterItemLocalIdentifier, dashboardAttributeFilterItemValidateElementsBy, dashboardFilterLocalIdentifier, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardMatchAttributeFilter, isDashboardMeasureValueFilter, isSingleSelectionFilter, } from "@gooddata/sdk-model";
|
|
3
|
+
import { displayFormsEquivalent, findAttributeFilterCounterpart, } from "../../../utils/attributeFilterMatching.js";
|
|
4
|
+
import { effectiveSelectionTypeOf } from "../../../utils/attributeFilterSelectionTypeCompatibility.js";
|
|
4
5
|
/**
|
|
5
6
|
* True when `localIdentifier` belongs to a cross-filtering virtual filter on `tab`.
|
|
6
7
|
* Those filters are applied on their own tab only and are not mirrored to or from other tabs.
|
|
@@ -15,8 +16,10 @@ export function isCrossFilteringVirtualFilter(tab, localIdentifier, crossFilteri
|
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
17
18
|
* Finds the filter on `targetTab` that is the same logical filter as `sourceFilter`.
|
|
18
|
-
*
|
|
19
|
-
*
|
|
19
|
+
* An attribute filter is a counterpart only when it is of the same type (list or text), has the
|
|
20
|
+
* same display-as label and selection type, both with their defaults applied, and the same single
|
|
21
|
+
* or multiple value selection mode.
|
|
22
|
+
* A missing or incompatible counterpart is a no-op for the caller.
|
|
20
23
|
*
|
|
21
24
|
* Assumes at most one filter per display form, date data set, and measure with a given
|
|
22
25
|
* dimensionality on a tab.
|
|
@@ -30,12 +33,16 @@ export function findCounterpartFilter(sourceTab, sourceFilter, targetTab, attrib
|
|
|
30
33
|
}
|
|
31
34
|
const displayForms = collectDisplayForms(sourceTab, targetTab, attributesWithReferences);
|
|
32
35
|
if (isDashboardAttributeFilterItem(sourceFilter)) {
|
|
33
|
-
const
|
|
36
|
+
const sourcePresentation = attributeFilterPresentation(sourceTab, sourceFilter);
|
|
37
|
+
const result = findAttributeFilterCounterpart(sourceFilter, targets
|
|
38
|
+
.filter(isDashboardAttributeFilterItem)
|
|
39
|
+
.filter((target) => samePresentation(sourcePresentation, attributeFilterPresentation(targetTab, target), displayForms)), {
|
|
34
40
|
sourceFilterConfigs: sourceTab.attributeFilterConfigs?.attributeFilterConfigs,
|
|
35
41
|
targetFilterConfigs: targetTab.attributeFilterConfigs?.attributeFilterConfigs,
|
|
36
42
|
displayForms,
|
|
37
43
|
attributesWithReferences,
|
|
38
|
-
allowListToText:
|
|
44
|
+
allowListToText: false,
|
|
45
|
+
allowTextToList: false,
|
|
39
46
|
});
|
|
40
47
|
return result.status === "matched" ? result.counterpart : undefined;
|
|
41
48
|
}
|
|
@@ -176,55 +183,55 @@ export function applyMirroredFilterValue(source, target) {
|
|
|
176
183
|
return target;
|
|
177
184
|
}
|
|
178
185
|
/**
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
186
|
+
* Writes `selection` onto the matching applied filters and parameters of `tab`. The tab's own staged
|
|
187
|
+
* value of a written filter or parameter is dropped, so it cannot shadow the written value; staged
|
|
188
|
+
* values of other filters and parameters are kept. Does not create a filter or parameter, except the
|
|
189
|
+
* common date filter, whose absence means all time.
|
|
183
190
|
*
|
|
184
191
|
* @internal
|
|
185
192
|
*/
|
|
186
|
-
export function
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
if (others.length === 0) {
|
|
192
|
-
return;
|
|
193
|
-
}
|
|
194
|
-
for (const staged of stagedFilters ?? []) {
|
|
195
|
-
const applied = findAppliedFilterForStaged(sourceTab, staged);
|
|
196
|
-
if (!applied) {
|
|
197
|
-
continue;
|
|
193
|
+
export function writeMirroredSelection(tab, selection) {
|
|
194
|
+
for (const filter of selection.filters) {
|
|
195
|
+
const current = findAppliedFilterWithIdentityOf(tab, filter);
|
|
196
|
+
if (current) {
|
|
197
|
+
writeFilter(tab, current, filter);
|
|
198
198
|
}
|
|
199
|
-
if (
|
|
200
|
-
|
|
199
|
+
else if (isDashboardCommonDateFilter(filter)) {
|
|
200
|
+
tab.filterContext?.filterContextDefinition?.filters.unshift(filter);
|
|
201
201
|
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
allowListToText: false,
|
|
205
|
-
crossFilteringLocalIdsByTab,
|
|
206
|
-
});
|
|
207
|
-
if (!match) {
|
|
208
|
-
continue;
|
|
209
|
-
}
|
|
210
|
-
writeFilter(tab, match, applyMirroredFilterValue(applied, match));
|
|
211
|
-
dropStagedOverlay(tab, match);
|
|
202
|
+
else {
|
|
203
|
+
continue;
|
|
212
204
|
}
|
|
205
|
+
dropStagedOverlay(tab, filter);
|
|
213
206
|
}
|
|
214
|
-
for (const ref of
|
|
215
|
-
const
|
|
216
|
-
if (!
|
|
207
|
+
for (const { ref, value } of selection.parameters) {
|
|
208
|
+
const entry = tab.parameters?.parameters.find((candidate) => areObjRefsEqual(candidate.parameter.ref, ref));
|
|
209
|
+
if (!entry) {
|
|
217
210
|
continue;
|
|
218
211
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
212
|
+
delete entry.workingOverride;
|
|
213
|
+
entry.runtimeOverride = value;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* The applied filter of `tab` that a staged entry overlays.
|
|
218
|
+
*
|
|
219
|
+
* @internal
|
|
220
|
+
*/
|
|
221
|
+
export function findAppliedFilterForStaged(tab, staged) {
|
|
222
|
+
const filters = appliedFilters(tab);
|
|
223
|
+
if ("dateFilter" in staged && staged.dateFilter) {
|
|
224
|
+
if (!staged.dateFilter.dataSet) {
|
|
225
|
+
return filters.find(isDashboardCommonDateFilter);
|
|
226
226
|
}
|
|
227
|
+
return filters.find((filter) => isDashboardDateFilter(filter) &&
|
|
228
|
+
areObjRefsEqual(filter.dateFilter.dataSet, staged.dateFilter.dataSet));
|
|
229
|
+
}
|
|
230
|
+
const localIdentifier = stagedLocalIdentifier(staged);
|
|
231
|
+
if (!localIdentifier) {
|
|
232
|
+
return undefined;
|
|
227
233
|
}
|
|
234
|
+
return filters.find((filter) => dashboardFilterLocalIdentifier(filter) === localIdentifier);
|
|
228
235
|
}
|
|
229
236
|
/**
|
|
230
237
|
* Seeds a new tab with the applied filters of `sourceTab` and the configs that belong to them,
|
|
@@ -288,20 +295,14 @@ function dropStagedOverlay(tab, applied) {
|
|
|
288
295
|
filterContext.workingFilterContextDefinition = { filters: remaining };
|
|
289
296
|
}
|
|
290
297
|
}
|
|
291
|
-
function
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
}
|
|
300
|
-
const localIdentifier = stagedLocalIdentifier(staged);
|
|
301
|
-
if (!localIdentifier) {
|
|
302
|
-
return undefined;
|
|
303
|
-
}
|
|
304
|
-
return filters.find((filter) => dashboardFilterLocalIdentifier(filter) === localIdentifier);
|
|
298
|
+
function findAppliedFilterWithIdentityOf(tab, filter) {
|
|
299
|
+
if (isDashboardDateFilter(filter)) {
|
|
300
|
+
return findDateCounterpart(filter, appliedFilters(tab));
|
|
301
|
+
}
|
|
302
|
+
const localIdentifier = dashboardFilterLocalIdentifier(filter);
|
|
303
|
+
return localIdentifier
|
|
304
|
+
? appliedFilters(tab).find((item) => dashboardFilterLocalIdentifier(item) === localIdentifier)
|
|
305
|
+
: undefined;
|
|
305
306
|
}
|
|
306
307
|
function stagedLocalIdentifier(item) {
|
|
307
308
|
if ("attributeFilter" in item && item.attributeFilter) {
|
|
@@ -331,6 +332,26 @@ function collectDisplayForms(sourceTab, targetTab, attributesWithReferences) {
|
|
|
331
332
|
...(attributesWithReferences ?? []).flatMap((entry) => entry.attribute.displayForms ?? []),
|
|
332
333
|
];
|
|
333
334
|
}
|
|
335
|
+
function attributeFilterPresentation(tab, filter) {
|
|
336
|
+
const localIdentifier = dashboardAttributeFilterItemLocalIdentifier(filter);
|
|
337
|
+
const config = localIdentifier
|
|
338
|
+
? tab.attributeFilterConfigs?.attributeFilterConfigs?.find((item) => item.localIdentifier === localIdentifier)
|
|
339
|
+
: undefined;
|
|
340
|
+
return {
|
|
341
|
+
displayAsLabel: config?.displayAsLabel ?? dashboardAttributeFilterItemDisplayForm(filter),
|
|
342
|
+
selectionType: effectiveSelectionTypeOf(config?.selectionType, filter),
|
|
343
|
+
isSingleSelection: isDashboardAttributeFilter(filter) && isSingleSelectionFilter(filter),
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Attribute filters sync only when they show the same label, accept the same selection type
|
|
348
|
+
* and both select either a single value or multiple values.
|
|
349
|
+
*/
|
|
350
|
+
function samePresentation(left, right, displayForms) {
|
|
351
|
+
return (left.selectionType === right.selectionType &&
|
|
352
|
+
left.isSingleSelection === right.isSingleSelection &&
|
|
353
|
+
displayFormsEquivalent(left.displayAsLabel, right.displayAsLabel, displayForms));
|
|
354
|
+
}
|
|
334
355
|
function findDateCounterpart(sourceFilter, targets) {
|
|
335
356
|
// Check the data set directly. `isDashboardCommonDateFilter` is typed as
|
|
336
357
|
// `obj is IDashboardDateFilter`, so using it as a guard would narrow the
|
|
@@ -26,7 +26,7 @@ export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<
|
|
|
26
26
|
type: string;
|
|
27
27
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
28
28
|
readonly removeAttributeFilterDisplayForms: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
29
|
-
payload: import("
|
|
29
|
+
payload: import("./filterContext/filterContextReducers.js").IRemoveAttributeFilterDisplayFormsPayload;
|
|
30
30
|
type: string;
|
|
31
31
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
32
32
|
readonly addAttributeFilterDisplayForm: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
@@ -42,7 +42,7 @@ export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<
|
|
|
42
42
|
type: string;
|
|
43
43
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
44
44
|
readonly addMeasureValueFilter: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
45
|
-
payload: import("
|
|
45
|
+
payload: import("./filterContext/filterContextReducers.js").IAddMeasureValueFilterReducerPayload;
|
|
46
46
|
type: string;
|
|
47
47
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
48
48
|
readonly removeMeasureValueFilter: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
@@ -62,7 +62,7 @@ export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<
|
|
|
62
62
|
type: string;
|
|
63
63
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
64
64
|
readonly addDateFilter: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
65
|
-
payload: import("
|
|
65
|
+
payload: import("./filterContext/filterContextReducers.js").IAddDateFilterReducerPayload;
|
|
66
66
|
type: string;
|
|
67
67
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
68
68
|
readonly removeDateFilter: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
@@ -137,16 +137,13 @@ export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<
|
|
|
137
137
|
payload: {
|
|
138
138
|
readonly localIdentifier: string;
|
|
139
139
|
readonly dimensionality?: import("@gooddata/sdk-model").ObjRef[];
|
|
140
|
+
readonly tabLocalIdentifier?: string;
|
|
140
141
|
readonly restoreTargetOriginal?: boolean;
|
|
141
|
-
readonly enablePersistentFiltersAcrossTabs?: boolean;
|
|
142
142
|
};
|
|
143
143
|
type: string;
|
|
144
144
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
145
145
|
readonly changeMeasureValueFilterTitle: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
146
|
-
payload:
|
|
147
|
-
readonly filterLocalId: string;
|
|
148
|
-
readonly title?: string;
|
|
149
|
-
};
|
|
146
|
+
payload: import("./filterContext/filterContextReducers.js").IChangeMeasureValueFilterTitleReducerPayload;
|
|
150
147
|
type: string;
|
|
151
148
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
152
149
|
readonly addParameter: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
@@ -217,11 +214,11 @@ export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<
|
|
|
217
214
|
type: string;
|
|
218
215
|
}>;
|
|
219
216
|
readonly changeAttributeFilterConfigMode: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
220
|
-
payload: import("
|
|
217
|
+
payload: import("./attributeFilterConfigs/attributeFilterConfigsReducers.js").IChangeAttributeFilterConfigModePayload;
|
|
221
218
|
type: string;
|
|
222
219
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
223
220
|
readonly changeAttributeFilterSelectionType: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
224
|
-
payload: import("
|
|
221
|
+
payload: import("./attributeFilterConfigs/attributeFilterConfigsReducers.js").IChangeAttributeFilterSelectionTypePayload;
|
|
225
222
|
type: string;
|
|
226
223
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
227
224
|
readonly setAttributeFilterConfigs: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
@@ -229,11 +226,11 @@ export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<
|
|
|
229
226
|
type: string;
|
|
230
227
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
231
228
|
readonly removeAttributeFilterConfig: import("./tabsReducers.js").TabsReducer<{
|
|
232
|
-
payload:
|
|
229
|
+
payload: import("./attributeFilterConfigs/attributeFilterConfigsReducers.js").IRemoveAttributeFilterConfigPayload;
|
|
233
230
|
type: string;
|
|
234
231
|
}>;
|
|
235
232
|
readonly changeDisplayAsLabel: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
236
|
-
payload: import("
|
|
233
|
+
payload: import("./attributeFilterConfigs/attributeFilterConfigsReducers.js").IChangeAttributeFilterDisplayAsLabelPayload;
|
|
237
234
|
type: string;
|
|
238
235
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
239
236
|
readonly setDateFilterConfig: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
@@ -304,6 +301,7 @@ export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<
|
|
|
304
301
|
readonly removeIgnoredAttributeFilter: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
305
302
|
payload: {
|
|
306
303
|
displayFormRefs: import("@gooddata/sdk-model").ObjRef[];
|
|
304
|
+
tabLocalIdentifier?: string;
|
|
307
305
|
};
|
|
308
306
|
type: string;
|
|
309
307
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/store/tabs/index.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,gBAAgB,8DAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/store/tabs/index.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,gBAAgB,8DAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,sBAAsB,GAAG;IAC1B,MAAM,EAAE,UAAU,CAAC;CACtB,CAAC;AAYF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiD1B,CAAC"}
|
package/esm/model/store/tabs/measureValueFilterConfigs/measureValueFilterConfigsReducers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measureValueFilterConfigsReducers.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/measureValueFilterConfigs/measureValueFilterConfigsReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAErF,OAAO,EACH,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EAC1C,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,UAAU,EAAgB,MAAM,iBAAiB,CAAC;AAEhE,KAAK,+BAA+B,CAAC,CAAC,SAAS,MAAM,IAAI,WAAW,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;AAEpF;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,kCAAkC,CAAC;CAC7C;
|
|
1
|
+
{"version":3,"file":"measureValueFilterConfigsReducers.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/measureValueFilterConfigs/measureValueFilterConfigsReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAErF,OAAO,EACH,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EAC1C,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,UAAU,EAAgB,MAAM,iBAAiB,CAAC;AAEhE,KAAK,+BAA+B,CAAC,CAAC,SAAS,MAAM,IAAI,WAAW,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;AAEpF;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,kCAAkC,CAAC;CAC7C;AAkCD;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD,yBAAyB,CAAC,EAAE,kCAAkC,EAAE,CAAC;CACpE;AAgCD,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;CAI7C,CAAC"}
|
|
@@ -20,13 +20,8 @@ export interface ISetParameterRuntimeValuesPayload {
|
|
|
20
20
|
values: IParameterValueChange[];
|
|
21
21
|
/**
|
|
22
22
|
* Target tab. When omitted, the active tab is used.
|
|
23
|
-
* With `enablePersistentFiltersAcrossTabs`, this tab is the source and every other tab is written too.
|
|
24
23
|
*/
|
|
25
24
|
tabLocalIdentifier?: string;
|
|
26
|
-
/**
|
|
27
|
-
* When true, write the values onto every tab. A tab that does not define the parameter is unchanged.
|
|
28
|
-
*/
|
|
29
|
-
enablePersistentFiltersAcrossTabs?: boolean;
|
|
30
25
|
}
|
|
31
26
|
/**
|
|
32
27
|
* Stage a parameter value under the apply-all-at-once mode. The value is always concrete: the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parametersReducers.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAErF,OAAO,EACH,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,cAAc,EAEtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,
|
|
1
|
+
{"version":3,"file":"parametersReducers.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAErF,OAAO,EACH,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,cAAc,EAEtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAgC,MAAM,iBAAiB,CAAC;AAIhG,KAAK,iBAAiB,CAAC,CAAC,SAAS,MAAM,IAAI,WAAW,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACjC,SAAS,EAAE,mBAAmB,CAAC;IAC/B,gBAAgB,EAAE,cAAc,CAAC;CACpC;AAoBD;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C,MAAM,EAAE,qBAAqB,EAAE,CAAC;IAChC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAgBD;;;;;;GAMG;AACH,MAAM,WAAW,gCAAgC;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,cAAc,CAAC;CACzB;AAkBD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,GAAG,EAAE,MAAM,CAAC;CACf;AAoCD;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI,CAOjE;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI,CAIhE;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAK9B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { areObjRefsEqual, } from "@gooddata/sdk-model";
|
|
3
|
-
import { getActiveTab, getTabOrActive
|
|
3
|
+
import { getActiveTab, getTabOrActive } from "../tabsState.js";
|
|
4
4
|
import { parametersInitialState } from "./parametersState.js";
|
|
5
5
|
const addParameter = (state, action) => {
|
|
6
6
|
const activeTab = getActiveTab(state);
|
|
@@ -20,12 +20,13 @@ const addParameter = (state, action) => {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
const setParameterRuntimeValues = (state, action) => {
|
|
23
|
-
//
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
// A value of a parameter the tab does not define is a no-op. Working overrides are not written here.
|
|
24
|
+
const tab = getTabOrActive(state, action.payload.tabLocalIdentifier);
|
|
25
|
+
if (!tab) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
for (const entry of action.payload.values) {
|
|
29
|
+
setRuntimeOverrideOnTab(tab, entry);
|
|
29
30
|
}
|
|
30
31
|
};
|
|
31
32
|
const setParameterWorkingValue = (state, action) => {
|
|
@@ -234,5 +234,12 @@ export declare const selectExportEffectiveParameters: (widgetIds: string[] | und
|
|
|
234
234
|
* @internal
|
|
235
235
|
*/
|
|
236
236
|
export declare const selectActiveTabExportParameters: DashboardSelector<IDashboardExportParameter[]>;
|
|
237
|
+
/**
|
|
238
|
+
* Reset targets of every tab, keyed by tab `localIdentifier`, computed like
|
|
239
|
+
* {@link selectActiveTabParameterResetTargets} from each tab's own parameter entries.
|
|
240
|
+
*
|
|
241
|
+
* @internal
|
|
242
|
+
*/
|
|
243
|
+
export declare const selectParameterResetTargetsByTab: DashboardSelector<Record<string, IInsightParameterValue[]>>;
|
|
237
244
|
export {};
|
|
238
245
|
//# sourceMappingURL=parametersSelectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parametersSelectors.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersSelectors.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EAExB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,K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,MAAM,EAAE,aAAa,EAAE,CAAC,CAAC;IAIpD,WAAW,EAAE,aAAa,EAAE,CAAC;IAE7B,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;IAG/D,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,eAAe,EAAE,OAAO,CAAC;CAC5B;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B,EAAE,CACvC,GAAG,EAAE,MAAM,GAAG,SAAS,KACtB,iBAAiB,CAAC,uBAAuB,GAAG,SAAS,CA2CzD,CAAC;AA8BF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,uCAAuC,EAAE,CAClD,GAAG,EAAE,MAAM,GAAG,SAAS,KACtB,iBAAiB,CAAC,sBAAsB,EAAE,CAa9C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,+CAA+C,EAAE,CAC1D,GAAG,EAAE,MAAM,GAAG,SAAS,KACtB,iBAAiB,CAAC,sBAAsB,EAAE,CAa9C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,2CAA2C,EAAE,CACtD,GAAG,EAAE,MAAM,GAAG,SAAS,KACtB,iBAAiB,CAAC,mBAAmB,EAAE,CAe3C,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,+BAA+B,EAAE,CAC1C,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,KAC9B,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,CAuBjE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,yBAAyB,EAAE,CAI1F,CAAC"}
|
|
1
|
+
{"version":3,"file":"parametersSelectors.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersSelectors.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EAEx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,CAAC,CAoBpG,CAAC"}
|
|
@@ -419,3 +419,19 @@ export const selectExportEffectiveParameters = createMemoizedSelector((widgetIds
|
|
|
419
419
|
* @internal
|
|
420
420
|
*/
|
|
421
421
|
export const selectActiveTabExportParameters = createSelector(selectExportEffectiveParameters(undefined), selectActiveOrDefaultTabLocalIdentifier, (parametersByTab, activeTabId) => parametersByTab[activeTabId] ?? EMPTY_EXPORT_PARAMETERS);
|
|
422
|
+
/**
|
|
423
|
+
* Reset targets of every tab, keyed by tab `localIdentifier`, computed like
|
|
424
|
+
* {@link selectActiveTabParameterResetTargets} from each tab's own parameter entries.
|
|
425
|
+
*
|
|
426
|
+
* @internal
|
|
427
|
+
*/
|
|
428
|
+
export const selectParameterResetTargetsByTab = createSelector(selectTabs, selectCatalogParameters, selectIsInEditMode, selectEnableParameters, (tabs, workspaceParameters, isInEditMode, isEnabled) => {
|
|
429
|
+
const result = {};
|
|
430
|
+
if (!isEnabled) {
|
|
431
|
+
return result;
|
|
432
|
+
}
|
|
433
|
+
for (const tab of tabs ?? []) {
|
|
434
|
+
result[tab.localIdentifier] = computeParameterResetTargets(tab.parameters?.parameters ?? [], workspaceParameters, isInEditMode);
|
|
435
|
+
}
|
|
436
|
+
return result;
|
|
437
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Action, type CaseReducer } from "@reduxjs/toolkit";
|
|
2
2
|
import { type ObjRef } from "@gooddata/sdk-model";
|
|
3
|
-
import { type
|
|
3
|
+
import { type IMirroredSelection } from "./filterContext/filterSync.js";
|
|
4
4
|
import { type ITabState, type ITabsState } from "./tabsState.js";
|
|
5
5
|
/**
|
|
6
6
|
* @alpha
|
|
@@ -36,10 +36,14 @@ export interface ISetDashboardAttributeFilterConfigDisplayAsLabelPayload {
|
|
|
36
36
|
export interface IApplyWorkingSelectionPayload {
|
|
37
37
|
readonly enableImmediateAttributeFilterDisplayAsLabelMigration?: boolean;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Tab to apply. When omitted, the active tab is used.
|
|
40
40
|
*/
|
|
41
|
-
readonly
|
|
42
|
-
|
|
41
|
+
readonly tabLocalIdentifier?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Values another tab committed. When set, they are written onto the tab instead of committing
|
|
44
|
+
* its own staged values.
|
|
45
|
+
*/
|
|
46
|
+
readonly mirroredSelection?: IMirroredSelection;
|
|
43
47
|
}
|
|
44
48
|
export declare const tabsReducers: {
|
|
45
49
|
setTabs: TabsReducer<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabsReducers.d.ts","sourceRoot":"","sources":["../../../../src/model/store/tabs/tabsReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,
|
|
1
|
+
{"version":3,"file":"tabsReducers.d.ts","sourceRoot":"","sources":["../../../../src/model/store/tabs/tabsReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAErF,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAOlD,OAAO,EAAE,KAAK,kBAAkB,EAA0B,MAAM,+BAA+B,CAAC;AAKhG,OAAO,EAEH,KAAK,SAAS,EACd,KAAK,UAAU,EAGlB,MAAM,gBAAgB,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,MAAM,IAAI,WAAW,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;AAEvE,KAAK,cAAc,GAAG;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IAEnB;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC,CAAC;AA0FF;;;GAGG;AACH,MAAM,WAAW,uDAAuD;IACpE;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAkDD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C,QAAQ,CAAC,qDAAqD,CAAC,EAAE,OAAO,CAAC;IACzE;;OAEG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IACrC;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,kBAAkB,CAAC;CACnD;AA6BD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;mBAvFkC,MAAM;wBAAc,OAAO;;;;;;mBAkBlC,MAAM;mBAAS,MAAM;;;;;;gCAeA,MAAM;;;;;;;;;;;;CAiE9E,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
// (C) 2021-2026 GoodData Corporation
|
|
2
|
-
import { current } from "@reduxjs/toolkit";
|
|
3
2
|
import { clearFilterContextWorkingValues, commitFilterContextWorkingValues, } from "./filterContext/filterContextReducers.js";
|
|
4
3
|
import { initializeFilterContext } from "./filterContext/filterContextUtils.js";
|
|
5
|
-
import {
|
|
4
|
+
import { writeMirroredSelection } from "./filterContext/filterSync.js";
|
|
6
5
|
import { clearParameterWorkingValues, commitParameterWorkingValues, } from "./parameters/parametersReducers.js";
|
|
7
|
-
import { DEFAULT_TAB_ID, getActiveTab,
|
|
6
|
+
import { DEFAULT_TAB_ID, getActiveTab, getTabOrActive, } from "./tabsState.js";
|
|
8
7
|
/**
|
|
9
8
|
* Applies initialization logic to a tab's filterContext if present.
|
|
10
9
|
* Ensures filters have local identifiers and proper ordering.
|
|
@@ -117,26 +116,24 @@ const resolveDefaultTab = (state, action) => {
|
|
|
117
116
|
}
|
|
118
117
|
};
|
|
119
118
|
const applyWorkingSelection = (state, action) => {
|
|
120
|
-
const
|
|
121
|
-
if (!
|
|
119
|
+
const tab = getTabOrActive(state, action.payload.tabLocalIdentifier);
|
|
120
|
+
if (!tab) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
if (action.payload.mirroredSelection) {
|
|
124
|
+
writeMirroredSelection(tab, action.payload.mirroredSelection);
|
|
122
125
|
return;
|
|
123
126
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
: undefined;
|
|
127
|
-
const stagedParameterRefs = (activeTab.parameters?.parameters ?? [])
|
|
128
|
-
.filter((entry) => entry.workingOverride !== undefined)
|
|
129
|
-
.map((entry) => entry.parameter.ref);
|
|
130
|
-
commitFilterContextWorkingValues(activeTab, action.payload.enableImmediateAttributeFilterDisplayAsLabelMigration);
|
|
131
|
-
commitParameterWorkingValues(activeTab);
|
|
132
|
-
// Mirror the committed applied values, not the working overlay.
|
|
133
|
-
mirrorCommittedWorkingSelection(state, activeTab, stagedFilters, stagedParameterRefs, action.payload.crossFilteringLocalIdsByTab, action.payload.enablePersistentFiltersAcrossTabs);
|
|
127
|
+
commitFilterContextWorkingValues(tab, action.payload.enableImmediateAttributeFilterDisplayAsLabelMigration);
|
|
128
|
+
commitParameterWorkingValues(tab);
|
|
134
129
|
};
|
|
135
130
|
const resetWorkingSelection = (state) => {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
131
|
+
const activeTab = getActiveTab(state);
|
|
132
|
+
if (!activeTab) {
|
|
133
|
+
return;
|
|
139
134
|
}
|
|
135
|
+
clearFilterContextWorkingValues(activeTab);
|
|
136
|
+
clearParameterWorkingValues(activeTab);
|
|
140
137
|
};
|
|
141
138
|
export const tabsReducers = {
|
|
142
139
|
setTabs,
|