@gooddata/sdk-ui-dashboard 11.54.0 → 11.55.0-alpha.1
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 +3 -3
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/metadata/objRefMap.d.ts +11 -0
- package/esm/_staging/metadata/objRefMap.d.ts.map +1 -1
- package/esm/_staging/metadata/objRefMap.js +19 -1
- package/esm/index.d.ts +49 -6
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +42 -2
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +4 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +9 -6
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +17 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +50 -0
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts +4 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js +5 -3
- package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.js +5 -2
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +2 -2
- package/esm/model/commands/filters.d.ts +3 -3
- 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/dashboardStore.d.ts +2 -0
- package/esm/model/store/dashboardStore.d.ts.map +1 -1
- package/esm/model/store/dashboardStore.js +2 -0
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +13 -9
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextReducers.js +28 -21
- package/esm/model/store/tabs/index.d.ts +136 -128
- package/esm/model/store/tabs/index.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +17 -4
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.js +32 -8
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts +29 -1
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersReducers.js +48 -6
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +26 -5
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +33 -14
- package/esm/model/store/tabs/parameters/parametersState.d.ts +7 -0
- package/esm/model/store/tabs/parameters/parametersState.d.ts.map +1 -1
- package/esm/model/store/tabs/tabsReducers.d.ts +14 -0
- package/esm/model/store/tabs/tabsReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/tabsReducers.js +21 -1
- package/esm/model/store/tabs/workingSelectionSelectors.d.ts +9 -0
- package/esm/model/store/tabs/workingSelectionSelectors.d.ts.map +1 -0
- package/esm/model/store/tabs/workingSelectionSelectors.js +11 -0
- package/esm/model/store/types.d.ts +3 -0
- package/esm/model/store/types.d.ts.map +1 -1
- package/esm/model/store/unavailableObjects/index.d.ts +8 -0
- package/esm/model/store/unavailableObjects/index.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/index.js +13 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts +9 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.js +12 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +18 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +20 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +8 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +21 -13
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogDestination.js → DefaultAlertingDialogDestination.js} +7 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +17 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogHeader.js → DefaultAlertingDialogHeader.js} +10 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogRecipients.js → DefaultAlertingDialogRecipients.js} +7 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +2 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.js +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertThreshold.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useThresholdValue.js +2 -2
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js +2 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +23 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts +16 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +25 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts +26 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +36 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts +13 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +21 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts +12 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.js +13 -0
- package/esm/presentation/automations/alerting/hooks/useAlertValidation.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.d.ts +20 -0
- package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.js +5 -0
- package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertActionsContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertDataContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertDraftContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertFiltersContext.js +1 -1
- package/esm/presentation/automations/alerting/state/types.d.ts +179 -9
- package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +3 -8
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertFormValidation.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +4 -16
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +13 -0
- package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → state}/useAlertSubmit.js +5 -5
- package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.js +3 -3
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +8 -8
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +7 -7
- package/esm/presentation/automations/alerting/types.d.ts +48 -6
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/types.js +3 -1
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/convertors.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/cron.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.d.ts +14 -2
- package/esm/presentation/automations/alerting/utils/getters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.js +1 -1
- package/esm/presentation/automations/alerting/utils/granularity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/guards.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/items.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.js +1 -1
- package/esm/presentation/automations/alerting/utils/responsive.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/threshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/transformation.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +9 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +21 -12
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +15 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +16 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{Header/ScheduleEmailDialogHeader.js → DefaultScheduledEmailDialogHeader.js} +11 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +13 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{ScheduleTimezoneSelect/ScheduleTimezoneSelect.js → DefaultScheduledEmailDialogTimezone.js} +6 -4
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +36 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +35 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +13 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +21 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +26 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +32 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +15 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +25 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +15 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +26 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts +14 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.js +15 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useExportTimezones.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.js +1 -1
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useScheduleTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.js +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useScheduleValidation.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/types.d.ts +204 -5
- package/esm/presentation/automations/scheduledEmail/state/types.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +12 -0
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → state}/useSaveScheduledEmailToBackend.js +3 -3
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +10 -10
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts +2 -7
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +3 -27
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +3 -3
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
- package/esm/presentation/automations/scheduledEmail/types.d.ts +4 -2
- package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts +27 -0
- package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/shared/slots/{AutomationDialogActionBar.js → DefaultAutomationDialogActionBar.js} +7 -5
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.js +1 -1
- package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.js +5 -6
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -4
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +11 -8
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +7 -7
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +6 -6
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +6 -4
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertsNew.js +1 -1
- package/esm/sdk-ui-dashboard.d.ts +1828 -250
- package/package.json +25 -25
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts +0 -6
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts +0 -8
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.js +0 -13
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts +0 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts +0 -7
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts +0 -23
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/convertors.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/cron.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/getters.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/granularity.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/guards.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/threshold.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/transformation.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts +0 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts +0 -15
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts +0 -6
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.js +0 -10
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts +0 -7
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.js +0 -11
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts +0 -6
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.js +0 -8
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useExportTimezones.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +0 -23
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts.map +0 -1
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +0 -25
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +0 -1
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.js +0 -0
- /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.d.ts +0 -0
|
@@ -25,6 +25,7 @@ import { renderModeActions } from "../../../store/renderMode/index.js";
|
|
|
25
25
|
import { tabsActions } from "../../../store/tabs/index.js";
|
|
26
26
|
import { DEFAULT_TAB_ID } from "../../../store/tabs/tabsState.js";
|
|
27
27
|
import { uiActions } from "../../../store/ui/index.js";
|
|
28
|
+
import { unavailableObjectsActions } from "../../../store/unavailableObjects/index.js";
|
|
28
29
|
import { userActions } from "../../../store/user/index.js";
|
|
29
30
|
import { changeDashboardTimezoneOverrideHandler } from "../../timezone/changeDashboardTimezoneOverrideHandler.js";
|
|
30
31
|
import { applyDefaultFilterView } from "../common/filterViews.js";
|
|
@@ -38,6 +39,7 @@ import { loadDateHierarchyTemplates } from "./loadDateHierarchyTemplates.js";
|
|
|
38
39
|
import { loadExportTimezone } from "./loadExportTimezone.js";
|
|
39
40
|
import { loadFilterViews } from "./loadFilterViews.js";
|
|
40
41
|
import { loadMeasureParameterDependencies } from "./loadMeasureParameterDependencies.js";
|
|
42
|
+
import { dashboardLoadReferenceTypes, loadUnavailableReferences } from "./loadUnavailableReferences.js";
|
|
41
43
|
import { loadUser } from "./loadUser.js";
|
|
42
44
|
import { mergeDateFilterConfigWithOverrides } from "./mergeDateFilterConfigs.js";
|
|
43
45
|
import { preloadAttributeFiltersData as preloadAttributeFiltersDataFromBackend } from "./preloadAttributeFiltersData.js";
|
|
@@ -70,7 +72,7 @@ async function loadDashboardFromBackend(ctx, privateCtx, dashboardRef, hasPersis
|
|
|
70
72
|
return backend
|
|
71
73
|
.workspace(workspace)
|
|
72
74
|
.dashboards()
|
|
73
|
-
.getDashboardReferencedObjects(preloadedDashboard,
|
|
75
|
+
.getDashboardReferencedObjects(preloadedDashboard, dashboardLoadReferenceTypes(ctx))
|
|
74
76
|
.then((references) => {
|
|
75
77
|
return {
|
|
76
78
|
dashboard: preloadedDashboard,
|
|
@@ -81,10 +83,7 @@ async function loadDashboardFromBackend(ctx, privateCtx, dashboardRef, hasPersis
|
|
|
81
83
|
return backend
|
|
82
84
|
.workspace(workspace)
|
|
83
85
|
.dashboards()
|
|
84
|
-
.getDashboardWithReferences(dashboardRef, filterContextRef, { loadUserData: true },
|
|
85
|
-
"insight",
|
|
86
|
-
"dataSet",
|
|
87
|
-
]);
|
|
86
|
+
.getDashboardWithReferences(dashboardRef, filterContextRef, { loadUserData: true }, dashboardLoadReferenceTypes(ctx));
|
|
88
87
|
}
|
|
89
88
|
async function loadInsightsForPersistedDashboard(ctx, dashboard) {
|
|
90
89
|
if (!dashboard) {
|
|
@@ -181,7 +180,11 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
181
180
|
call(loadAutomationTimezone, ctx),
|
|
182
181
|
];
|
|
183
182
|
const [dashboardWithReferences, { resolvedConfig: config, additionalData: { workspaceAutomationsCount, notificationChannelsCount }, }, permissions, entitlements, user, dashboardPermissions, dateHierarchyTemplates, filterViews, exportTimezone, automationTimezone,] = yield all(calls);
|
|
184
|
-
const { dashboard: loadedDashboard, references: { insights }, } = dashboardWithReferences;
|
|
183
|
+
const { dashboard: loadedDashboard, references: { insights, unavailable }, } = dashboardWithReferences;
|
|
184
|
+
// must be in the store before filter sanitization/resolution so they can keep forbidden refs;
|
|
185
|
+
// FF off => nothing is ever marked unavailable and behavior is unchanged
|
|
186
|
+
const unavailableReferences = yield call(loadUnavailableReferences, ctx, loadedDashboard, unavailable, Boolean(config.settings?.enableDashboardPartialRendering), !!cmd.payload.persistedDashboard);
|
|
187
|
+
yield put(unavailableObjectsActions.setUnavailableObjects(unavailableReferences));
|
|
185
188
|
const dashboardWithFilterView = applyDefaultFilterView(loadedDashboard, filterViews, config.exportId);
|
|
186
189
|
// Resolve active tab: URL's initialTabId takes precedence, otherwise default to first tab
|
|
187
190
|
// Note: activeTabLocalIdentifier is app state only, NOT persisted to/read from dashboard MD
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IUnavailableDashboardReference, SupportedDashboardReferenceTypes } from "@gooddata/sdk-backend-spi";
|
|
2
|
+
import type { IDashboard } from "@gooddata/sdk-model";
|
|
3
|
+
import { type DashboardContext } from "../../../types/commonTypes.js";
|
|
4
|
+
/**
|
|
5
|
+
* Reference types for the dashboard load. Display-form and drill-target availability needs extra
|
|
6
|
+
* side-loads, so they are requested with the dashboard only when the switch is already known to be on.
|
|
7
|
+
*/
|
|
8
|
+
export declare function dashboardLoadReferenceTypes(ctx: DashboardContext): SupportedDashboardReferenceTypes[];
|
|
9
|
+
/**
|
|
10
|
+
* Completes the availability of display forms and drill targets when the dashboard load could not
|
|
11
|
+
* request it (the switch was not known up front), with one more dashboard GET. The extra request is an
|
|
12
|
+
* enrichment: its failure keeps the base result. A persisted dashboard body may differ from the stored
|
|
13
|
+
* one, which is all the backend can inspect, so — like its insights — its availability is left to the
|
|
14
|
+
* caller-provided `config.references`.
|
|
15
|
+
*/
|
|
16
|
+
export declare function loadUnavailableReferences(ctx: DashboardContext, dashboard: IDashboard, baseUnavailable: IUnavailableDashboardReference[] | undefined, partialRenderingEnabled: boolean, hasPersistedDashboard: boolean): Promise<IUnavailableDashboardReference[]>;
|
|
17
|
+
//# sourceMappingURL=loadUnavailableReferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadUnavailableReferences.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACR,8BAA8B,EAC9B,gCAAgC,EACnC,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAmBtE;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,gBAAgB,GAAG,gCAAgC,EAAE,CAErG;AAED;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAC3C,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAE,UAAU,EACrB,eAAe,EAAE,8BAA8B,EAAE,GAAG,SAAS,EAC7D,uBAAuB,EAAE,OAAO,EAChC,qBAAqB,EAAE,OAAO,GAC/B,OAAO,CAAC,8BAA8B,EAAE,CAAC,CAkB3C"}
|
package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
const BASE_TYPES = ["insight", "dataSet"];
|
|
3
|
+
const ALL_TYPES = [
|
|
4
|
+
"insight",
|
|
5
|
+
"dataSet",
|
|
6
|
+
"displayForm",
|
|
7
|
+
"analyticalDashboard",
|
|
8
|
+
];
|
|
9
|
+
/**
|
|
10
|
+
* Whether the partial-rendering switch is known before the first request: hosts that supply
|
|
11
|
+
* `settings` (our dashboards app does) decide it up front; otherwise the switch arrives with the
|
|
12
|
+
* settings fetched in parallel with the dashboard.
|
|
13
|
+
*/
|
|
14
|
+
function isPartialRenderingKnownUpfront(ctx) {
|
|
15
|
+
return Boolean(ctx.config?.settings?.enableDashboardPartialRendering);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Reference types for the dashboard load. Display-form and drill-target availability needs extra
|
|
19
|
+
* side-loads, so they are requested with the dashboard only when the switch is already known to be on.
|
|
20
|
+
*/
|
|
21
|
+
export function dashboardLoadReferenceTypes(ctx) {
|
|
22
|
+
return isPartialRenderingKnownUpfront(ctx) ? ALL_TYPES : BASE_TYPES;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Completes the availability of display forms and drill targets when the dashboard load could not
|
|
26
|
+
* request it (the switch was not known up front), with one more dashboard GET. The extra request is an
|
|
27
|
+
* enrichment: its failure keeps the base result. A persisted dashboard body may differ from the stored
|
|
28
|
+
* one, which is all the backend can inspect, so — like its insights — its availability is left to the
|
|
29
|
+
* caller-provided `config.references`.
|
|
30
|
+
*/
|
|
31
|
+
export async function loadUnavailableReferences(ctx, dashboard, baseUnavailable, partialRenderingEnabled, hasPersistedDashboard) {
|
|
32
|
+
if (!partialRenderingEnabled) {
|
|
33
|
+
return [];
|
|
34
|
+
}
|
|
35
|
+
const base = baseUnavailable ?? [];
|
|
36
|
+
if (hasPersistedDashboard || isPartialRenderingKnownUpfront(ctx)) {
|
|
37
|
+
return base;
|
|
38
|
+
}
|
|
39
|
+
try {
|
|
40
|
+
const extra = await ctx.backend
|
|
41
|
+
.workspace(ctx.workspace)
|
|
42
|
+
.dashboards()
|
|
43
|
+
.getDashboardReferencedObjects(dashboard, ["displayForm", "analyticalDashboard"]);
|
|
44
|
+
return [...base, ...(extra.unavailable ?? [])];
|
|
45
|
+
}
|
|
46
|
+
catch (error) {
|
|
47
|
+
console.warn("Unable to resolve display form and drill target availability.", error);
|
|
48
|
+
return base;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { type ICrossFiltering } from "../../commands/drill.js";
|
|
2
2
|
import { type DashboardContext } from "../../types/commonTypes.js";
|
|
3
|
-
export declare function crossFilteringHandler(ctx: DashboardContext, cmd: ICrossFiltering): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<void>> | import("redux-saga/effects").CallEffect<void> | import("redux-saga/effects").PutEffect<import("../../events/drill.js").IDashboardCrossFilteringRequested> | import("redux-saga/effects").PutEffect<
|
|
3
|
+
export declare function crossFilteringHandler(ctx: DashboardContext, cmd: ICrossFiltering): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<void>> | import("redux-saga/effects").CallEffect<void> | import("redux-saga/effects").PutEffect<import("../../events/drill.js").IDashboardCrossFilteringRequested> | import("redux-saga/effects").PutEffect<{
|
|
4
|
+
payload: undefined;
|
|
5
|
+
type: "tabs/resetWorkingFilterSelection";
|
|
6
|
+
}> | import("redux-saga/effects").PutEffect<{
|
|
4
7
|
payload: {
|
|
5
8
|
item: import("../../../index.js").ICrossFilteringItem;
|
|
6
9
|
tabId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crossFilteringHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/crossFilteringHandler.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAmB/D,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAgGnE,wBAAiB,qBAAqB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"crossFilteringHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/crossFilteringHandler.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAmB/D,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAgGnE,wBAAiB,qBAAqB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,eAAe;;;;;;;;;yHAmJjF"}
|
|
@@ -3,7 +3,7 @@ import { isEmpty } from "lodash-es";
|
|
|
3
3
|
import { all, call, put, select } from "redux-saga/effects";
|
|
4
4
|
import { v4 as uuid } from "uuid";
|
|
5
5
|
import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemLocalIdentifier, isDashboardAttributeFilterItem, } from "@gooddata/sdk-model";
|
|
6
|
-
import { addAttributeFilter, changeAttributeFilterSelection, removeAttributeFilters,
|
|
6
|
+
import { addAttributeFilter, changeAttributeFilterSelection, removeAttributeFilters, } from "../../commands/filters.js";
|
|
7
7
|
import { crossFilteringRequested, crossFilteringResolved } from "../../events/drill.js";
|
|
8
8
|
import { generateFilterLocalIdentifier } from "../../store/_infra/generators.js";
|
|
9
9
|
import { selectCatalogDateAttributes } from "../../store/catalog/catalogSelectors.js";
|
|
@@ -12,6 +12,7 @@ import { selectCrossFilteringFiltersLocalIdentifiers, selectCrossFilteringItemBy
|
|
|
12
12
|
import { drillActions } from "../../store/drill/index.js";
|
|
13
13
|
import { selectAttributeFilterConfigsDisplayAsLabelMap } from "../../store/tabs/attributeFilterConfigs/attributeFilterConfigsSelectors.js";
|
|
14
14
|
import { selectFilterContextDraggableFilterItems } from "../../store/tabs/filterContext/filterContextSelectors.js";
|
|
15
|
+
import { tabsActions } from "../../store/tabs/index.js";
|
|
15
16
|
import { selectActiveOrDefaultTabLocalIdentifier } from "../../store/tabs/tabsSelectors.js";
|
|
16
17
|
import { addAttributeFilterHandler } from "../filterContext/attributeFilter/addAttributeFilterHandler.js";
|
|
17
18
|
import { changeAttributeFilterSelectionHandler } from "../filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js";
|
|
@@ -94,9 +95,10 @@ export function* crossFilteringHandler(ctx, cmd) {
|
|
|
94
95
|
});
|
|
95
96
|
const correlation = `crossFiltering_${uuid()}`;
|
|
96
97
|
const isApplyAllAtOnceEnabledAndSet = yield select(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
97
|
-
//
|
|
98
|
+
// Drop only the staged filters: the cross-filter writes applied filters directly, and a staged
|
|
99
|
+
// parameter value is unrelated to it, so it stays pending.
|
|
98
100
|
if (isApplyAllAtOnceEnabledAndSet) {
|
|
99
|
-
yield put(
|
|
101
|
+
yield put(tabsActions.resetWorkingFilterSelection());
|
|
100
102
|
}
|
|
101
103
|
// Cleanup of previous cross-filtering state
|
|
102
104
|
if (!shouldUpdateExisting) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/common.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAGhE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/common.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAGhE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAsBhE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,kBAAkB,CAAC,EAAE,MAAM,GAC5B,YAAY,CAAC,IAAI,CAAC,CAkCpB;AAED,wBAAiB,kBAAkB,CAAC,UAAU,EAAE,oBAAoB,GAAG,YAAY,CAAC,OAAO,CAAC,CAuB3F;AAED,wBAAiB,mBAAmB,CAAC,GAAG,EAAE,iBAAiB;;;yEAU1D;AAED,wBAAiB,4BAA4B,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,iBAAiB;;;yNAgB1F;AAED,wBAAiB,4BAA4B;;;mBAE5C"}
|
|
@@ -10,7 +10,7 @@ import { selectCrossFilteringFiltersLocalIdentifiers, selectIsCrossFiltering, }
|
|
|
10
10
|
import { drillActions } from "../../store/drill/index.js";
|
|
11
11
|
import { selectAttributeFilterConfigsOverrides, selectAttributeFilterConfigsOverridesByTab, } from "../../store/tabs/attributeFilterConfigs/attributeFilterConfigsSelectors.js";
|
|
12
12
|
import { selectEffectiveDateFilterOptions } from "../../store/tabs/dateFilterConfig/dateFilterConfigSelectors.js";
|
|
13
|
-
import { selectFilterContextDefinition, selectFilterContextDefinitionsByTab, } from "../../store/tabs/filterContext/filterContextSelectors.js";
|
|
13
|
+
import { selectFilterContextDefinition, selectFilterContextDefinitionsByTab, selectIsWorkingFilterContextChanged, } from "../../store/tabs/filterContext/filterContextSelectors.js";
|
|
14
14
|
import { tabsActions } from "../../store/tabs/index.js";
|
|
15
15
|
import { selectActiveOrDefaultTabLocalIdentifier } from "../../store/tabs/tabsSelectors.js";
|
|
16
16
|
export function* dispatchFilterContextChanged(ctx, cmd, tabLocalIdentifier) {
|
|
@@ -57,9 +57,12 @@ export function* resetCrossFiltering(cmd) {
|
|
|
57
57
|
}
|
|
58
58
|
export function* applyWorkingSelectionHandler(ctx, cmd) {
|
|
59
59
|
const enableImmediateAttributeFilterDisplayAsLabelMigration = yield select(selectEnableImmediateAttributeFilterDisplayAsLabelMigration);
|
|
60
|
+
// Read before the commit clears the staged overlay. A parameter-only apply must keep
|
|
61
|
+
// cross-filtering alive, so only a staged filter change may drop it.
|
|
62
|
+
const isWorkingFilterContextChanged = yield select(selectIsWorkingFilterContextChanged);
|
|
60
63
|
yield put(tabsActions.applyWorkingSelection({ enableImmediateAttributeFilterDisplayAsLabelMigration }));
|
|
61
64
|
const isCrossFiltering = yield select(selectIsCrossFiltering);
|
|
62
|
-
if (isCrossFiltering) {
|
|
65
|
+
if (isWorkingFilterContextChanged && isCrossFiltering) {
|
|
63
66
|
yield call(resetCrossFiltering, cmd);
|
|
64
67
|
}
|
|
65
68
|
yield dispatchDashboardEvent(filterContextWorkingSelectionApplied(ctx, cmd.correlationId));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterViewHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAc/C,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAE/B,MAAM,2BAA2B,CAAC;AA2BnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAcnE,wBAAiB,qBAAqB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,eAAe,GAAG,YAAY,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"filterViewHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAc/C,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAE/B,MAAM,2BAA2B,CAAC;AA2BnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAcnE,wBAAiB,qBAAqB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,eAAe,GAAG,YAAY,CAAC,IAAI,CAAC,CAqEtG;AAMD,wBAAiB,uBAAuB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,iBAAiB,GAAG,YAAY,CAAC,IAAI,CAAC,CAsB1G;AAOD,wBAAiB,sBAAsB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,gBAAgB,GAAG,YAAY,CAAC,IAAI,CAAC,CA+CxG;AAMD,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,IAAI,CAAC,CAuBpB;AAED,wBAAiB,wBAAwB,CAAC,GAAG,EAAE,gBAAgB,GAAG,YAAY,CAAC,IAAI,CAAC,CAcnF"}
|
|
@@ -12,7 +12,7 @@ import { filterViewsActions } from "../../store/filterViews/index.js";
|
|
|
12
12
|
import { selectAttributeFilterConfigsOverrides } from "../../store/tabs/attributeFilterConfigs/attributeFilterConfigsSelectors.js";
|
|
13
13
|
import { selectFilterContextDefinition, selectWorkingFilterContextDefinition, } from "../../store/tabs/filterContext/filterContextSelectors.js";
|
|
14
14
|
import { tabsActions } from "../../store/tabs/index.js";
|
|
15
|
-
import { selectDashboardParameterEntries,
|
|
15
|
+
import { selectDashboardParameterEntries, selectFilterViewDisplayParameters, } from "../../store/tabs/parameters/parametersSelectors.js";
|
|
16
16
|
import { selectActiveTabLocalIdentifier } from "../../store/tabs/tabsSelectors.js";
|
|
17
17
|
import { resolveParameterValuesForFilterView } from "../dashboard/common/parameterHydration.js";
|
|
18
18
|
import { loadFilterViews } from "../dashboard/initializeDashboardHandler/loadFilterViews.js";
|
|
@@ -39,7 +39,7 @@ export function* saveFilterViewHandler(ctx, cmd) {
|
|
|
39
39
|
!filter.attributeFilter.localIdentifier ||
|
|
40
40
|
!virtualFilters.includes(filter.attributeFilter.localIdentifier)),
|
|
41
41
|
};
|
|
42
|
-
const parameters = yield select(
|
|
42
|
+
const parameters = yield select(selectFilterViewDisplayParameters);
|
|
43
43
|
const filterView = {
|
|
44
44
|
name: cmd.payload.name,
|
|
45
45
|
dashboard: ctx.dashboardRef,
|
|
@@ -1128,7 +1128,7 @@ export interface IReloadFilterViews extends IDashboardCommand {
|
|
|
1128
1128
|
*/
|
|
1129
1129
|
export declare function reloadFilterViews(correlationId?: string): IReloadFilterViews;
|
|
1130
1130
|
/**
|
|
1131
|
-
* Command for applying all working filters staged for application.
|
|
1131
|
+
* Command for applying all working filters and working parameter values staged for application.
|
|
1132
1132
|
* Usually used with setting dashboardApplyFiltersMode: ALL_AT_ONCE
|
|
1133
1133
|
*
|
|
1134
1134
|
* @remarks
|
|
@@ -1149,8 +1149,8 @@ export interface IApplyFilterContextWorkingSelection extends IDashboardCommand {
|
|
|
1149
1149
|
*/
|
|
1150
1150
|
export declare function applyFilterContextWorkingSelection(correlationId?: string): IApplyFilterContextWorkingSelection;
|
|
1151
1151
|
/**
|
|
1152
|
-
* Command for resetting all working filters.
|
|
1153
|
-
* It resets the working filters
|
|
1152
|
+
* Command for resetting all working filters and working parameter values.
|
|
1153
|
+
* It resets the working filters and parameters to the same state as the applied ones.
|
|
1154
1154
|
*
|
|
1155
1155
|
* @remarks
|
|
1156
1156
|
* This command ot usually used with setting dashboardApplyFiltersMode: ALL_AT_ONCE
|
|
@@ -396,6 +396,12 @@ export declare const selectEnableNotificationChannelIdentifiers: DashboardSelect
|
|
|
396
396
|
* @internal
|
|
397
397
|
*/
|
|
398
398
|
export declare const selectEnableDashboardShareDialogLink: DashboardSelector<boolean>;
|
|
399
|
+
/**
|
|
400
|
+
* Selector for the dashboard object availability (OLP partial rendering) feature flag
|
|
401
|
+
*
|
|
402
|
+
* @internal
|
|
403
|
+
*/
|
|
404
|
+
export declare const selectEnableDashboardPartialRendering: DashboardSelector<boolean>;
|
|
399
405
|
/**
|
|
400
406
|
* Selector for the alert once per interval feature flag
|
|
401
407
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/config/configSelectors.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,SAAS,EAEjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,0BAA0B,CAAC;AAEtF,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,aAAa,CAAC;AAO1E;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,iBAAiB,CAAC,uBAAuB,CAOnE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,iBAAiB,CAKvE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,SAAS,CAEtD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MA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AAE,iBAAiB,CAAC,MAAM,GAAG,SAAS,CAQlF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,OAAO,CAKtE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,iBAAiB,CAAC,OAAO,CAKlE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,OAAO,CAKtE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,SAAS,CAkBjF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,EAAE,iBAAiB,CAAC,OAAO,CAKxE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wCAAwC,EAAE,iBAAiB,CAAC,OAAO,CAK/E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,EAAE,iBAAiB,CAAC,OAAO,CAK1E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,iBAAiB,CAAC,OAAO,CAKjE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gDAAgD,EAAE,iBAAiB,CAAC,OAAO,CAKvF,CAAC"}
|
|
@@ -522,6 +522,14 @@ export const selectEnableNotificationChannelIdentifiers = createSelector(selectC
|
|
|
522
522
|
export const selectEnableDashboardShareDialogLink = createSelector(selectConfig, (state) => {
|
|
523
523
|
return Boolean(state.settings?.enableDashboardShareDialogLink);
|
|
524
524
|
});
|
|
525
|
+
/**
|
|
526
|
+
* Selector for the dashboard object availability (OLP partial rendering) feature flag
|
|
527
|
+
*
|
|
528
|
+
* @internal
|
|
529
|
+
*/
|
|
530
|
+
export const selectEnableDashboardPartialRendering = createSelector(selectConfig, (state) => {
|
|
531
|
+
return Boolean(state.settings?.enableDashboardPartialRendering);
|
|
532
|
+
});
|
|
525
533
|
/**
|
|
526
534
|
* Selector for the alert once per interval feature flag
|
|
527
535
|
*
|
|
@@ -121,6 +121,7 @@ export declare function createDashboardRootReducer({ queryCache }?: {
|
|
|
121
121
|
listedDashboards: import("@reduxjs/toolkit").EntityState<import("@gooddata/sdk-model").IListedDashboard, import("@reduxjs/toolkit").EntityId> & object;
|
|
122
122
|
accessibleDashboards: import("./accessibleDashboards/index.js").IAccessibleDashboardsState;
|
|
123
123
|
inaccessibleDashboards: import("@reduxjs/toolkit").EntityState<import("../types/inaccessibleDashboardTypes.js").IInaccessibleDashboard, import("@reduxjs/toolkit").EntityId> & object;
|
|
124
|
+
unavailableObjects: import("@reduxjs/toolkit").EntityState<import("@gooddata/sdk-backend-spi").IUnavailableDashboardReference, import("@reduxjs/toolkit").EntityId> & object;
|
|
124
125
|
executionResults: import("@reduxjs/toolkit").EntityState<import("./executionResults/types.js").IExecutionResultEnvelope, import("@reduxjs/toolkit").EntityId> & object;
|
|
125
126
|
renderMode: import("./renderMode/renderModeState.js").IRenderModeState;
|
|
126
127
|
ui: import("./ui/uiState.js").IUiState;
|
|
@@ -149,6 +150,7 @@ export declare function createDashboardRootReducer({ queryCache }?: {
|
|
|
149
150
|
listedDashboards: (import("@reduxjs/toolkit").EntityState<import("@gooddata/sdk-model").IListedDashboard, import("@reduxjs/toolkit").EntityId> & object) | undefined;
|
|
150
151
|
accessibleDashboards: import("./accessibleDashboards/index.js").IAccessibleDashboardsState | undefined;
|
|
151
152
|
inaccessibleDashboards: (import("@reduxjs/toolkit").EntityState<import("../types/inaccessibleDashboardTypes.js").IInaccessibleDashboard, import("@reduxjs/toolkit").EntityId> & object) | undefined;
|
|
153
|
+
unavailableObjects: (import("@reduxjs/toolkit").EntityState<import("@gooddata/sdk-backend-spi").IUnavailableDashboardReference, import("@reduxjs/toolkit").EntityId> & object) | undefined;
|
|
152
154
|
executionResults: (import("@reduxjs/toolkit").EntityState<import("./executionResults/types.js").IExecutionResultEnvelope, import("@reduxjs/toolkit").EntityId> & object) | undefined;
|
|
153
155
|
renderMode: import("./renderMode/renderModeState.js").IRenderModeState | undefined;
|
|
154
156
|
ui: import("./ui/uiState.js").IUiState | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboardStore.d.ts","sourceRoot":"","sources":["../../../src/model/store/dashboardStore.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,OAAO,EAGf,MAAM,kBAAkB,CAAC;AAI1B,OAAyB,EAAa,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAMvF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAI9F,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AA2BvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"dashboardStore.d.ts","sourceRoot":"","sources":["../../../src/model/store/dashboardStore.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,OAAO,EAGf,MAAM,kBAAkB,CAAC;AAI1B,OAAyB,EAAa,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAMvF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAI9F,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AA2BvE,OAAO,EAAE,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;IAC/D,sBAAsB,EAAE,CAAC,OAAO,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjE,YAAY,EAAE,IAAI,CAAC;CACtB;AA2CD,wBAAgB,0BAA0B,CAAC,EACvC,UAAkC,EACrC,GAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+B/B;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,qBAAqB,GAAG,sBAAsB,CAuF1F"}
|
|
@@ -37,6 +37,7 @@ import { savingSliceReducer } from "./saving/index.js";
|
|
|
37
37
|
import { showWidgetAsTableSliceReducer } from "./showWidgetAsTable/index.js";
|
|
38
38
|
import { tabsSliceReducer } from "./tabs/index.js";
|
|
39
39
|
import { uiSliceReducer } from "./ui/index.js";
|
|
40
|
+
import { unavailableObjectsSliceReducer } from "./unavailableObjects/index.js";
|
|
40
41
|
import { userSliceReducer } from "./user/index.js";
|
|
41
42
|
// There are known compatibility issues between CommonJS (CJS) and ECMAScript modules (ESM).
|
|
42
43
|
// In ESM, default exports of CJS modules are wrapped in default properties instead of being exposed directly.
|
|
@@ -155,6 +156,7 @@ export function createDashboardRootReducer({ queryCache = (state = {}) => state,
|
|
|
155
156
|
listedDashboards: listedDashboardsSliceReducer,
|
|
156
157
|
accessibleDashboards: accessibleDashboardsSliceReducer,
|
|
157
158
|
inaccessibleDashboards: inaccessibleDashboardsSliceReducer,
|
|
159
|
+
unavailableObjects: unavailableObjectsSliceReducer,
|
|
158
160
|
executionResults: executionResultsSliceReducer,
|
|
159
161
|
renderMode: renderModeSliceReducer,
|
|
160
162
|
ui: uiSliceReducer,
|
|
@@ -2,7 +2,7 @@ import { type Action, type CaseReducer } from "@reduxjs/toolkit";
|
|
|
2
2
|
import { type IAttributeWithReferences } from "@gooddata/sdk-backend-spi";
|
|
3
3
|
import { type DashboardAttributeFilterItem, type DashboardAttributeFilterSelectionMode, type DashboardTextAttributeFilter, type DateFilterGranularity, type DateFilterType, type DateString, type EmptyValues, type FilterContextItem, type IAttributeDisplayFormMetadataObject, type IAttributeElements, type IDashboardAttributeFilterByDate, type IDashboardAttributeFilterParent, type IDashboardObjectIdentity, type IFilterContextDefinition, type ILowerBoundedFilter, type IUpperBoundedFilter, type MeasureValueFilterCondition, type ObjRef } from "@gooddata/sdk-model";
|
|
4
4
|
import { type IAddDateFilterPayload, type IAddMeasureValueFilterPayload } from "../../../commands/filters.js";
|
|
5
|
-
import { type ITabsState } from "../tabsState.js";
|
|
5
|
+
import { type ITabState, type ITabsState } from "../tabsState.js";
|
|
6
6
|
type FilterContextReducer<A extends Action> = CaseReducer<ITabsState, A>;
|
|
7
7
|
type SetFilterContextPayload = {
|
|
8
8
|
filterContextDefinition: IFilterContextDefinition;
|
|
@@ -230,11 +230,19 @@ export interface IChangeAttributeLimitingItemsPayload {
|
|
|
230
230
|
readonly limitingItems: ObjRef[];
|
|
231
231
|
}
|
|
232
232
|
/**
|
|
233
|
+
* Folds the tab's staged filters into the applied filter context and clears the staging overlay.
|
|
234
|
+
* No-op when the tab has no initialized filter context, so parameter-only staging can commit.
|
|
235
|
+
*
|
|
233
236
|
* @internal
|
|
234
237
|
*/
|
|
235
|
-
export
|
|
236
|
-
|
|
237
|
-
|
|
238
|
+
export declare function commitFilterContextWorkingValues(tab: ITabState, enableImmediateAttributeFilterDisplayAsLabelMigration?: boolean): void;
|
|
239
|
+
/**
|
|
240
|
+
* Drops the tab's staged filters without applying them. No-op when the tab has no initialized
|
|
241
|
+
* filter context.
|
|
242
|
+
*
|
|
243
|
+
* @internal
|
|
244
|
+
*/
|
|
245
|
+
export declare function clearFilterContextWorkingValues(tab: ITabState): void;
|
|
238
246
|
/**
|
|
239
247
|
* @internal
|
|
240
248
|
*/
|
|
@@ -360,11 +368,7 @@ export declare const filterContextReducers: {
|
|
|
360
368
|
payload: IAttributeWithReferences[];
|
|
361
369
|
type: string;
|
|
362
370
|
}>;
|
|
363
|
-
|
|
364
|
-
payload: IApplyWorkingSelectionPayload;
|
|
365
|
-
type: string;
|
|
366
|
-
}>;
|
|
367
|
-
resetWorkingSelection: FilterContextReducer<{
|
|
371
|
+
resetWorkingFilterSelection: FilterContextReducer<{
|
|
368
372
|
payload: void;
|
|
369
373
|
type: string;
|
|
370
374
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterContextReducers.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/filterContext/filterContextReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAGrF,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,qCAAqC,EAC1C,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,kBAAkB,EAEvB,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,EAiBd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAK9G,OAAO,EAAE,KAAK,UAAU,EAAgC,MAAM,iBAAiB,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,OA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;CAC/C,CAAC;AAkDF,KAAK,4CAA4C,GAAG;IAChD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,KAAK,kDAAkD,GAAG;IACtD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CACtC,CAAC;AA0EF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCjC,CAAC"}
|
|
@@ -791,32 +791,40 @@ const changeLimitingItems = (state, action) => {
|
|
|
791
791
|
}
|
|
792
792
|
// Match filters do not support validateElementsBy
|
|
793
793
|
};
|
|
794
|
-
const applyWorkingSelection = (state, action) => {
|
|
795
|
-
const activeTab = getActiveTab(state);
|
|
796
|
-
if (!activeTab) {
|
|
797
|
-
return;
|
|
798
|
-
}
|
|
799
|
-
if (!activeTab.filterContext) {
|
|
800
|
-
activeTab.filterContext = { ...filterContextInitialState };
|
|
801
|
-
}
|
|
802
|
-
invariant(activeTab.filterContext.filterContextDefinition, "Attempt to edit uninitialized filter context");
|
|
803
|
-
const { enableImmediateAttributeFilterDisplayAsLabelMigration } = action.payload;
|
|
804
|
-
activeTab.filterContext.filterContextDefinition = applyFilterContext(activeTab.filterContext.filterContextDefinition, activeTab.filterContext.workingFilterContextDefinition, enableImmediateAttributeFilterDisplayAsLabelMigration);
|
|
805
|
-
activeTab.filterContext.workingFilterContextDefinition = { filters: [] };
|
|
806
|
-
};
|
|
807
794
|
//
|
|
808
795
|
//
|
|
809
796
|
//
|
|
810
|
-
|
|
797
|
+
/**
|
|
798
|
+
* Folds the tab's staged filters into the applied filter context and clears the staging overlay.
|
|
799
|
+
* No-op when the tab has no initialized filter context, so parameter-only staging can commit.
|
|
800
|
+
*
|
|
801
|
+
* @internal
|
|
802
|
+
*/
|
|
803
|
+
export function commitFilterContextWorkingValues(tab, enableImmediateAttributeFilterDisplayAsLabelMigration) {
|
|
804
|
+
if (!tab.filterContext?.filterContextDefinition) {
|
|
805
|
+
return;
|
|
806
|
+
}
|
|
807
|
+
tab.filterContext.filterContextDefinition = applyFilterContext(tab.filterContext.filterContextDefinition, tab.filterContext.workingFilterContextDefinition, enableImmediateAttributeFilterDisplayAsLabelMigration);
|
|
808
|
+
tab.filterContext.workingFilterContextDefinition = { filters: [] };
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* Drops the tab's staged filters without applying them. No-op when the tab has no initialized
|
|
812
|
+
* filter context.
|
|
813
|
+
*
|
|
814
|
+
* @internal
|
|
815
|
+
*/
|
|
816
|
+
export function clearFilterContextWorkingValues(tab) {
|
|
817
|
+
if (!tab.filterContext?.workingFilterContextDefinition) {
|
|
818
|
+
return;
|
|
819
|
+
}
|
|
820
|
+
tab.filterContext.workingFilterContextDefinition = { filters: [] };
|
|
821
|
+
}
|
|
822
|
+
const resetWorkingFilterSelection = (state) => {
|
|
811
823
|
const activeTab = getActiveTab(state);
|
|
812
824
|
if (!activeTab) {
|
|
813
825
|
return;
|
|
814
826
|
}
|
|
815
|
-
|
|
816
|
-
activeTab.filterContext = { ...filterContextInitialState };
|
|
817
|
-
}
|
|
818
|
-
invariant(activeTab.filterContext.workingFilterContextDefinition, "Attempt to edit uninitialized working filter context");
|
|
819
|
-
activeTab.filterContext.workingFilterContextDefinition = { filters: [] };
|
|
827
|
+
clearFilterContextWorkingValues(activeTab);
|
|
820
828
|
};
|
|
821
829
|
//
|
|
822
830
|
//
|
|
@@ -936,8 +944,7 @@ export const filterContextReducers = {
|
|
|
936
944
|
changeSelectionMode,
|
|
937
945
|
changeLimitingItems,
|
|
938
946
|
setPreloadedAttributesWithReferences,
|
|
939
|
-
|
|
940
|
-
resetWorkingSelection,
|
|
947
|
+
resetWorkingFilterSelection,
|
|
941
948
|
setDefaultFilterOverrides,
|
|
942
949
|
changeMeasureValueFilterCondition,
|
|
943
950
|
setMeasureValueFilterDimensionality,
|