@gooddata/sdk-ui-dashboard 10.11.0-alpha.8 → 10.11.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +57 -15
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/_staging/dashboard/fluidLayout/index.d.ts +2 -2
- package/esm/_staging/dashboard/fluidLayout/index.d.ts.map +1 -1
- package/esm/_staging/dashboard/fluidLayout/index.js +1 -1
- package/esm/_staging/dashboard/fluidLayout/index.js.map +1 -1
- package/esm/_staging/drills/drillingUtils.d.ts +2 -1
- package/esm/_staging/drills/drillingUtils.d.ts.map +1 -1
- package/esm/_staging/drills/drillingUtils.js.map +1 -1
- package/esm/index.d.ts +3 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -2
- package/esm/index.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts +4 -0
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/filterViews.js +103 -0
- package/esm/model/commandHandlers/dashboard/common/filterViews.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +3 -18
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadFilterViews.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadFilterViews.js +8 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadFilterViews.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js +7 -3
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillDownHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillDownHandler.js +17 -20
- package/esm/model/commandHandlers/drill/drillDownHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +2 -3
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillToInsightHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToInsightHandler.js +2 -3
- package/esm/model/commandHandlers/drill/drillToInsightHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +20 -3
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js.map +1 -1
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +4 -0
- package/esm/model/commandHandlers/index.js.map +1 -1
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js +1 -3
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.d.ts +6 -0
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.js +27 -0
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.js.map +1 -0
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.js +1 -3
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.js +8 -12
- package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.d.ts +6 -0
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.js +19 -0
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.js.map +1 -0
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.d.ts +14 -1
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.js +24 -1
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.js.map +1 -1
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/index.d.ts +33 -16
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +6 -5
- package/esm/model/commands/index.js.map +1 -1
- package/esm/model/commands/visualizationSwitcher.d.ts +77 -0
- package/esm/model/commands/visualizationSwitcher.d.ts.map +1 -0
- package/esm/model/commands/visualizationSwitcher.js +45 -0
- package/esm/model/commands/visualizationSwitcher.js.map +1 -0
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/base.d.ts.map +1 -1
- package/esm/model/events/base.js.map +1 -1
- package/esm/model/events/index.d.ts +38 -18
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/index.js +7 -6
- package/esm/model/events/index.js.map +1 -1
- package/esm/model/events/visualizationSwitcher.d.ts +72 -0
- package/esm/model/events/visualizationSwitcher.d.ts.map +1 -0
- package/esm/model/events/visualizationSwitcher.js +45 -0
- package/esm/model/events/visualizationSwitcher.js.map +1 -0
- package/esm/model/headlessDashboard/index.d.ts +2 -1
- package/esm/model/headlessDashboard/index.d.ts.map +1 -1
- package/esm/model/headlessDashboard/index.js +1 -1
- package/esm/model/headlessDashboard/index.js.map +1 -1
- package/esm/model/index.d.ts +13 -9
- package/esm/model/index.d.ts.map +1 -1
- package/esm/model/index.js +1 -1
- package/esm/model/index.js.map +1 -1
- package/esm/model/queries/index.d.ts +21 -11
- package/esm/model/queries/index.d.ts.map +1 -1
- package/esm/model/queries/index.js +2 -2
- package/esm/model/queries/index.js.map +1 -1
- package/esm/model/react/index.d.ts +11 -6
- package/esm/model/react/index.d.ts.map +1 -1
- package/esm/model/react/index.js +1 -1
- package/esm/model/react/index.js.map +1 -1
- package/esm/model/react/useDashboardCommand.d.ts +2 -0
- package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
- package/esm/model/react/useDashboardCommandProcessing.d.ts +8 -0
- package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.d.ts.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.js +3 -2
- package/esm/model/react/useDashboardScheduledEmails.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +0 -12
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +1 -17
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducers.d.ts +4 -0
- package/esm/model/store/filterViews/filterViewsReducers.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducers.js +5 -0
- package/esm/model/store/filterViews/filterViewsReducers.js.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducersSelectors.d.ts +4 -0
- package/esm/model/store/filterViews/filterViewsReducersSelectors.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducersSelectors.js +4 -0
- package/esm/model/store/filterViews/filterViewsReducersSelectors.js.map +1 -1
- package/esm/model/store/filterViews/filterViewsState.d.ts +1 -0
- package/esm/model/store/filterViews/filterViewsState.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsState.js +1 -1
- package/esm/model/store/filterViews/filterViewsState.js.map +1 -1
- package/esm/model/store/filterViews/index.d.ts +6 -2
- package/esm/model/store/filterViews/index.d.ts.map +1 -1
- package/esm/model/store/filterViews/index.js +1 -1
- package/esm/model/store/filterViews/index.js.map +1 -1
- package/esm/model/store/index.d.ts +36 -34
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +4 -8
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/index.d.ts +8 -0
- package/esm/model/store/layout/index.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.d.ts +11 -1
- package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.js +27 -2
- package/esm/model/store/layout/layoutReducers.js.map +1 -1
- package/esm/model/store/layout/layoutSelectors.d.ts +1 -1
- package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/layout/layoutSelectors.js +5 -2
- package/esm/model/store/layout/layoutSelectors.js.map +1 -1
- package/esm/model/store/permissions/permissionsSelectors.d.ts +12 -0
- package/esm/model/store/permissions/permissionsSelectors.d.ts.map +1 -1
- package/esm/model/store/permissions/permissionsSelectors.js +17 -1
- package/esm/model/store/permissions/permissionsSelectors.js.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js +10 -10
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js.map +1 -1
- package/esm/plugins/index.d.ts +5 -3
- package/esm/plugins/index.d.ts.map +1 -1
- package/esm/plugins/index.js +0 -1
- package/esm/plugins/index.js.map +1 -1
- package/esm/presentation/alerting/index.d.ts +1 -1
- package/esm/presentation/alerting/index.d.ts.map +1 -1
- package/esm/presentation/cancelEditDialog/index.d.ts +1 -1
- package/esm/presentation/cancelEditDialog/index.d.ts.map +1 -1
- package/esm/presentation/cancelEditDialog/index.js +1 -1
- package/esm/presentation/cancelEditDialog/index.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +2 -2
- package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.js +7 -2
- package/esm/presentation/dashboard/hooks/useDashboard.js.map +1 -1
- package/esm/presentation/dashboard/index.d.ts +1 -1
- package/esm/presentation/dashboard/index.d.ts.map +1 -1
- package/esm/presentation/dashboard/index.js +1 -1
- package/esm/presentation/dashboard/types.d.ts +13 -1
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -0
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js.map +1 -1
- package/esm/presentation/dashboardContexts/types.d.ts +9 -1
- package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/index.d.ts +1 -1
- package/esm/presentation/deleteDialog/index.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/index.js +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +2 -4
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts +1 -2
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +4 -11
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js.map +1 -1
- package/esm/presentation/drill/index.d.ts +17 -9
- package/esm/presentation/drill/index.d.ts.map +1 -1
- package/esm/presentation/drill/index.js +1 -2
- package/esm/presentation/drill/index.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/AddFilterView.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/AddFilterView.js +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/AddFilterView.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js +8 -2
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.js +15 -9
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.js.map +1 -1
- package/esm/presentation/index.d.ts +2 -1
- package/esm/presentation/index.d.ts.map +1 -1
- package/esm/presentation/index.js +1 -1
- package/esm/presentation/index.js.map +1 -1
- package/esm/presentation/kpiDeleteDialog/index.d.ts +1 -1
- package/esm/presentation/kpiDeleteDialog/index.d.ts.map +1 -1
- package/esm/presentation/kpiDeleteDialog/index.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts +7 -5
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +65 -0
- package/esm/presentation/saveAs/index.d.ts +1 -1
- package/esm/presentation/saveAs/index.d.ts.map +1 -1
- package/esm/presentation/saveAs/index.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +7 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +2 -6
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts +6 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +14 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +17 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.d.ts +2 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.js +8 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +3 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/index.d.ts +1 -1
- package/esm/presentation/scheduledEmail/index.d.ts.map +1 -1
- package/esm/presentation/shareDialog/index.d.ts +1 -1
- package/esm/presentation/shareDialog/index.d.ts.map +1 -1
- package/esm/presentation/shareDialog/index.js +1 -1
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.d.ts +4 -2
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.d.ts.map +1 -1
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.js +3 -3
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.js.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +12 -4
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
- package/esm/presentation/widget/common/InsightDropdown.d.ts +10 -0
- package/esm/presentation/widget/common/InsightDropdown.d.ts.map +1 -0
- package/esm/presentation/widget/{insight/configuration/DrillTargets → common}/InsightDropdown.js +5 -26
- package/esm/presentation/widget/common/InsightDropdown.js.map +1 -0
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +5 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +4 -4
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.js +3 -3
- package/esm/presentation/widget/common/useInsightExport.js.map +1 -1
- package/esm/presentation/widget/description/index.d.ts +1 -1
- package/esm/presentation/widget/description/index.d.ts.map +1 -1
- package/esm/presentation/widget/index.d.ts +2 -1
- package/esm/presentation/widget/index.d.ts.map +1 -1
- package/esm/presentation/widget/index.js +0 -1
- package/esm/presentation/widget/index.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.js +4 -14
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargetInsightItem.js +3 -3
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargetInsightItem.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/{InsightDropdown.d.ts → DrillingInsightDropdown.d.ts} +3 -3
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillingInsightDropdown.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillingInsightDropdown.js +28 -0
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillingInsightDropdown.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts +3 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +6 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +8 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +4 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +7 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +51 -34
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js +4 -6
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js.map +1 -1
- package/esm/presentation/widget/insight/index.d.ts +1 -1
- package/esm/presentation/widget/insight/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightEditMenuBubble.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts +7 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +1 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +5 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.d.ts +4 -2
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.js.map +1 -1
- package/esm/presentation/widget/insightMenu/index.d.ts +1 -1
- package/esm/presentation/widget/insightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.d.ts +2 -1
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.d.ts.map +1 -1
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.js +2 -2
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.js.map +1 -1
- package/esm/presentation/widget/kpi/index.d.ts +1 -1
- package/esm/presentation/widget/kpi/index.d.ts.map +1 -1
- package/esm/presentation/widget/kpi/index.js +1 -1
- package/esm/presentation/widget/richText/index.d.ts +1 -1
- package/esm/presentation/widget/richText/index.d.ts.map +1 -1
- package/esm/presentation/widget/types.d.ts +7 -6
- package/esm/presentation/widget/types.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js +24 -4
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.js +10 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.d.ts +9 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.js +18 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js +73 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.js +9 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js +66 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.d.ts +6 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.js +27 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.js +36 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.d.ts +12 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.js +39 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.d.ts +18 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.js +3 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/index.d.ts +4 -1
- package/esm/presentation/widget/visualizationSwitcher/index.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/index.js +1 -0
- package/esm/presentation/widget/visualizationSwitcher/index.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts +10 -1
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js +2 -2
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +7 -3
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -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/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js +2 -2
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js +32 -6
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js +3 -3
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts +4 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/index.d.ts +1 -1
- package/esm/presentation/widget/widget/index.d.ts.map +1 -1
- package/esm/presentation/widgetDeleteDialog/index.d.ts +1 -1
- package/esm/presentation/widgetDeleteDialog/index.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +243 -19
- package/esm/tools/index.d.ts +2 -1
- package/esm/tools/index.d.ts.map +1 -1
- package/esm/tools/index.js +1 -2
- package/esm/tools/index.js.map +1 -1
- package/package.json +16 -15
- package/styles/css/alerting.css +8 -0
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/main.css +149 -0
- package/styles/css/main.css.map +1 -1
- package/styles/css/visualizationSwitcherToolbar.css +147 -0
- package/styles/css/visualizationSwitcherToolbar.css.map +1 -0
- package/styles/scss/alerting.scss +8 -0
- package/styles/scss/main.scss +1 -0
- package/styles/scss/visualizationSwitcherToolbar.scss +163 -0
- package/esm/presentation/widget/insight/configuration/DrillTargets/InsightDropdown.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/InsightDropdown.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { put, select } from "redux-saga/effects";
|
|
2
2
|
import { drillDownRequested, drillDownResolved } from "../../events/drill.js";
|
|
3
3
|
import { getInsightWithAppliedDrillDown } from "@gooddata/sdk-ui-ext";
|
|
4
|
-
import {
|
|
4
|
+
import { selectEnableDuplicatedLabelValuesInAttributeFilter } from "../../store/config/configSelectors.js";
|
|
5
5
|
import { selectWidgetByRef } from "../../store/layout/layoutSelectors.js";
|
|
6
6
|
import { isInsightWidget } from "@gooddata/sdk-model";
|
|
7
7
|
import { removeIgnoredValuesFromDrillIntersection } from "./common/intersectionUtils.js";
|
|
@@ -10,26 +10,23 @@ export function* drillDownHandler(ctx, cmd) {
|
|
|
10
10
|
const { drillDefinition, drillEvent, insight } = cmd.payload;
|
|
11
11
|
yield put(drillDownRequested(ctx, insight, drillDefinition, drillEvent, cmd.correlationId));
|
|
12
12
|
const enableDuplicatedLabelValuesInAttributeFilter = yield select(selectEnableDuplicatedLabelValuesInAttributeFilter);
|
|
13
|
-
const enableDrillDownIntersectionIgnoredAttributes = yield select(selectEnableDrillDownIntersectionIgnoredAttributes);
|
|
14
13
|
let effectiveDrillEvent = drillEvent;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
drillContext
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
}
|
|
14
|
+
const widget = yield select(selectWidgetByRef(drillEvent.widgetRef));
|
|
15
|
+
const drillDownIntersectionIgnoredAttributes = isInsightWidget(widget)
|
|
16
|
+
? widget.drillDownIntersectionIgnoredAttributes
|
|
17
|
+
: undefined;
|
|
18
|
+
const drillDownIntersectionIgnoredAttributesForCurrentHierarchy = drillDownIntersectionIgnoredAttributes?.find((ignored) => {
|
|
19
|
+
return isDrillDownIntersectionIgnoredAttributesForHierarchy(ignored, drillDefinition.hierarchyRef);
|
|
20
|
+
});
|
|
21
|
+
const ignoredAttributesLocalIdentifiers = drillDownIntersectionIgnoredAttributesForCurrentHierarchy?.ignoredAttributes ?? [];
|
|
22
|
+
if (ignoredAttributesLocalIdentifiers.length > 0) {
|
|
23
|
+
effectiveDrillEvent = {
|
|
24
|
+
...drillEvent,
|
|
25
|
+
drillContext: {
|
|
26
|
+
...drillEvent.drillContext,
|
|
27
|
+
intersection: removeIgnoredValuesFromDrillIntersection(drillEvent.drillContext.intersection ?? [], drillDownIntersectionIgnoredAttributesForCurrentHierarchy?.ignoredAttributes ?? []),
|
|
28
|
+
},
|
|
29
|
+
};
|
|
33
30
|
}
|
|
34
31
|
const insightWithDrillDownApplied = getInsightWithAppliedDrillDown(insight, effectiveDrillEvent, drillDefinition, ctx.backend.capabilities.supportsElementUris ?? true, enableDuplicatedLabelValuesInAttributeFilter);
|
|
35
32
|
return drillDownResolved(ctx, insightWithDrillDownApplied, cmd.payload.drillDefinition, cmd.payload.drillEvent, cmd.correlationId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drillDownHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/drillDownHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAA8B,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1G,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,
|
|
1
|
+
{"version":3,"file":"drillDownHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/drillDownHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAA8B,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAA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;YAClB,GAAG,UAAU;YACb,YAAY,EAAE;gBACV,GAAG,UAAU,CAAC,YAAY;gBAC1B,YAAY,EAAE,wCAAwC,CAClD,UAAU,CAAC,YAAY,CAAC,YAAY,IAAI,EAAE,EAC1C,yDAAyD,EAAE,iBAAiB,IAAI,EAAE,CACrF;aACJ;SACJ,CAAC;IACN,CAAC;IAED,MAAM,2BAA2B,GAAG,8BAA8B,CAC9D,OAAO,EACP,mBAAmB,EACnB,eAAe,EACf,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC,mBAAmB,IAAI,IAAI,EACpD,4CAA4C,CAC/C,CAAC;IAEF,OAAO,iBAAiB,CACpB,GAAG,EACH,2BAA2B,EAC3B,GAAG,CAAC,OAAO,CAAC,eAAe,EAC3B,GAAG,CAAC,OAAO,CAAC,UAAU,EACtB,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drillToDashboardHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/drillToDashboardHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAO1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EACH,iCAAiC,EAGpC,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"drillToDashboardHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/drillToDashboardHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAO1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EACH,iCAAiC,EAGpC,MAAM,uBAAuB,CAAC;AAiD/B,wBAAiB,uBAAuB,CACpC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,gBAAgB,GACtB,YAAY,CAAC,iCAAiC,CAAC,CAwGjD"}
|
|
@@ -13,7 +13,7 @@ import { selectCatalogDateAttributes } from "../../store/catalog/catalogSelector
|
|
|
13
13
|
import { selectInsightByRef } from "../../store/insights/insightsSelectors.js";
|
|
14
14
|
import { convertIntersectionToAttributeFilters, removeIgnoredValuesFromDrillIntersection, } from "./common/intersectionUtils.js";
|
|
15
15
|
import { selectSupportsMultipleDateFilters } from "../../store/backendCapabilities/backendCapabilitiesSelectors.js";
|
|
16
|
-
import {
|
|
16
|
+
import { selectEnableDuplicatedLabelValuesInAttributeFilter, selectEnableMultipleDateFilters, } from "../../store/config/configSelectors.js";
|
|
17
17
|
import { selectAttributeFilterConfigsDisplayAsLabelMap, selectAttributeFilterConfigsOverrides, } from "../../store/attributeFilterConfigs/attributeFilterConfigsSelectors.js";
|
|
18
18
|
export function* drillToDashboardHandler(ctx, cmd) {
|
|
19
19
|
// put start event
|
|
@@ -47,8 +47,7 @@ export function* drillToDashboardHandler(ctx, cmd) {
|
|
|
47
47
|
widgetAwareFilters;
|
|
48
48
|
const dateAttributes = yield select(selectCatalogDateAttributes);
|
|
49
49
|
const enableDuplicatedLabelValuesInAttributeFilter = yield select(selectEnableDuplicatedLabelValuesInAttributeFilter);
|
|
50
|
-
const
|
|
51
|
-
const filteredIntersection = enableDrillIntersectionIgnoredAttributes
|
|
50
|
+
const filteredIntersection = cmd.payload.drillDefinition.drillIntersectionIgnoredAttributes
|
|
52
51
|
? removeIgnoredValuesFromDrillIntersection(cmd.payload.drillEvent.drillContext.intersection ?? [], cmd.payload.drillDefinition.drillIntersectionIgnoredAttributes ?? [])
|
|
53
52
|
: cmd.payload.drillEvent.drillContext.intersection;
|
|
54
53
|
const drillIntersectionFilters = convertIntersectionToAttributeFilters(filteredIntersection, dateAttributes.map((dA) => dA.attribute.ref), ctx.backend.capabilities.supportsElementUris ?? true, enableDuplicatedLabelValuesInAttributeFilter);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drillToDashboardHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/drillToDashboardHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAkB,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAEH,yBAAyB,EACzB,wBAAwB,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACH,mCAAmC,EACnC,6BAA6B,EAC7B,mCAAmC,GACtC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAEpF,OAAO,EACH,yCAAyC,EACzC,uCAAuC,GAC1C,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACH,eAAe,EAGf,eAAe,EACf,eAAe,EACf,cAAc,EACd,YAAY,EAKZ,6BAA6B,EAE7B,0BAA0B,GAI7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAE/E,OAAO,EAEH,qCAAqC,EACrC,wCAAwC,GAC3C,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,iEAAiE,CAAC;AACpH,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"drillToDashboardHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/drillToDashboardHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,EA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AC;YACzC,CAAC;YACD,OAAO,IAAI,CAAC;QAChB,CAAC,CAAC,CAAC;AACb,CAAC;AAED,SAAS,2BAA2B,CAChC,GAAqB,EACrB,MAAsB,EACtB,OAA2B,EAC3B,sBAAyD;IAEzD,OAAO,GAAG,CAAC,OAAO;SACb,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC;SACxB,UAAU,EAAE;SACZ,kDAAkD,CAAC,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,sBAAsB,CAAC,CAAC;AACzG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drillToInsightHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/drillToInsightHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EACH,+BAA+B,EAGlC,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"drillToInsightHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/drillToInsightHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EACH,+BAA+B,EAGlC,MAAM,uBAAuB,CAAC;AAM/B,wBAAiB,qBAAqB,CAClC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,cAAc,GACpB,YAAY,CAAC,+BAA+B,CAAC,CA8B/C"}
|
|
@@ -2,15 +2,14 @@ import { put, select } from "redux-saga/effects";
|
|
|
2
2
|
import { drillToInsightRequested, drillToInsightResolved, } from "../../events/drill.js";
|
|
3
3
|
import { selectInsightByRef } from "../../store/insights/insightsSelectors.js";
|
|
4
4
|
import { addIntersectionFiltersToInsight } from "@gooddata/sdk-ui-ext";
|
|
5
|
-
import {
|
|
5
|
+
import { selectEnableDuplicatedLabelValuesInAttributeFilter } from "../../store/config/configSelectors.js";
|
|
6
6
|
import { removeIgnoredValuesFromDrillIntersection } from "./common/intersectionUtils.js";
|
|
7
7
|
export function* drillToInsightHandler(ctx, cmd) {
|
|
8
8
|
const { drillDefinition, drillEvent } = cmd.payload;
|
|
9
9
|
const insight = yield select(selectInsightByRef(drillDefinition.target));
|
|
10
10
|
yield put(drillToInsightRequested(ctx, insight, drillDefinition, drillEvent, cmd.correlationId));
|
|
11
11
|
const enableDuplicatedLabelValuesInAttributeFilter = yield select(selectEnableDuplicatedLabelValuesInAttributeFilter);
|
|
12
|
-
const
|
|
13
|
-
const filteredIntersection = enableDrillIntersectionIgnoredAttributes
|
|
12
|
+
const filteredIntersection = cmd.payload.drillDefinition.drillIntersectionIgnoredAttributes
|
|
14
13
|
? removeIgnoredValuesFromDrillIntersection(cmd.payload.drillEvent.drillContext.intersection ?? [], cmd.payload.drillDefinition.drillIntersectionIgnoredAttributes ?? [])
|
|
15
14
|
: cmd.payload.drillEvent.drillContext.intersection;
|
|
16
15
|
const insightWithDrillsApplied = addIntersectionFiltersToInsight(insight, filteredIntersection, ctx.backend.capabilities.supportsElementUris ?? true, enableDuplicatedLabelValuesInAttributeFilter);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drillToInsightHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/drillToInsightHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAEH,uBAAuB,EACvB,sBAAsB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,
|
|
1
|
+
{"version":3,"file":"drillToInsightHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/drill/drillToInsightHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAEH,uBAAuB,EACvB,sBAAsB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,kDAAkD,EAAE,MAAM,uCAAuC,CAAC;AAC3G,OAAO,EAAE,wCAAwC,EAAE,MAAM,+BAA+B,CAAC;AAEzF,MAAM,SAAS,CAAC,CAAC,qBAAqB,CAClC,GAAqB,EACrB,GAAmB;IAEnB,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC;IACpD,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IACzE,MAAM,GAAG,CAAC,uBAAuB,CAAC,GAAG,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC;IAEjG,MAAM,4CAA4C,GAE9C,MAAM,MAAM,CAAC,kDAAkD,CAAC,CAAC;IAErE,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,kCAAkC;QACvF,CAAC,CAAC,wCAAwC,CACpC,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,YAAY,IAAI,EAAE,EACtD,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,kCAAkC,IAAI,EAAE,CACvE;QACH,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,YAAa,CAAC;IAExD,MAAM,wBAAwB,GAAG,+BAA+B,CAC5D,OAAO,EACP,oBAAqB,EACrB,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC,mBAAmB,IAAI,IAAI,EACpD,4CAA4C,CAC/C,CAAC;IAEF,OAAO,sBAAsB,CACzB,GAAG,EACH,wBAAwB,EACxB,GAAG,CAAC,OAAO,CAAC,eAAe,EAC3B,GAAG,CAAC,OAAO,CAAC,UAAU,EACtB,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterViewHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"filterViewHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAY1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EACH,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EAGzB,MAAM,yBAAyB,CAAC;AAwBjC,wBAAiB,qBAAqB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,cAAc,GAAG,YAAY,CAAC,IAAI,CAAC,CA6CrG;AAMD,wBAAiB,uBAAuB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,gBAAgB,GAAG,YAAY,CAAC,IAAI,CAAC,CAgBzG;AAOD,wBAAiB,sBAAsB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,eAAe,GAAG,YAAY,CAAC,IAAI,CAAC,CAYvG;AAMD,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,sBAAsB,GAC5B,YAAY,CAAC,IAAI,CAAC,CAgBpB;AAED,wBAAiB,wBAAwB,CAAC,GAAG,EAAE,gBAAgB,GAAG,YAAY,CAAC,IAAI,CAAC,CAcnF"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
// (C) 2024 GoodData Corporation
|
|
2
2
|
import { call, select, put } from "redux-saga/effects";
|
|
3
|
-
import { areObjRefsEqual, } from "@gooddata/sdk-model";
|
|
3
|
+
import { areObjRefsEqual, isDashboardAttributeFilter, } from "@gooddata/sdk-model";
|
|
4
4
|
import { defaultErrorHandler } from "@gooddata/sdk-ui";
|
|
5
5
|
import { reloadFilterViews, changeFilterContextSelection, } from "../../commands/index.js";
|
|
6
6
|
import { selectFilterContextDefinition } from "../../store/filterContext/filterContextSelectors.js";
|
|
7
|
+
import { selectCrossFilteringFiltersLocalIdentifiers } from "../../store/drill/drillSelectors.js";
|
|
7
8
|
import { selectFilterViews, filterViewsActions } from "../../store/filterViews/index.js";
|
|
8
9
|
import { filterViewCreationSucceeded, filterViewCreationFailed, filterViewDeletionFailed, filterViewApplicationFailed, filterViewDefaultStatusChangeFailed, filterViewDeletionSucceeded, filterViewApplicationSucceeded, filterViewDefaultStatusChangeSucceeded, } from "../../events/filters.js";
|
|
9
10
|
import { loadFilterViews } from "../dashboard/initializeDashboardHandler/loadFilterViews.js";
|
|
@@ -11,14 +12,23 @@ function createFilterView(ctx, filterView) {
|
|
|
11
12
|
return ctx.backend.workspace(ctx.workspace).dashboards().createFilterView(filterView);
|
|
12
13
|
}
|
|
13
14
|
export function* saveFilterViewHandler(ctx, cmd) {
|
|
15
|
+
yield put(filterViewsActions.setFilterLoading(true));
|
|
14
16
|
if (!ctx.dashboardRef) {
|
|
15
17
|
throw Error("Dashboard ref must be provided.");
|
|
16
18
|
}
|
|
17
19
|
const filterContext = yield select(selectFilterContextDefinition);
|
|
20
|
+
const virtualFilters = yield select(selectCrossFilteringFiltersLocalIdentifiers);
|
|
21
|
+
const sanitizedFilterContext = {
|
|
22
|
+
...filterContext,
|
|
23
|
+
// accept date filters, unknown filters (will probably always be true), non-virtual filters
|
|
24
|
+
filters: filterContext.filters.filter((filter) => !isDashboardAttributeFilter(filter) ||
|
|
25
|
+
!filter.attributeFilter.localIdentifier ||
|
|
26
|
+
!virtualFilters.includes(filter.attributeFilter.localIdentifier)),
|
|
27
|
+
};
|
|
18
28
|
const filterView = {
|
|
19
29
|
name: cmd.payload.name,
|
|
20
30
|
dashboard: ctx.dashboardRef,
|
|
21
|
-
filterContext,
|
|
31
|
+
filterContext: sanitizedFilterContext,
|
|
22
32
|
isDefault: cmd.payload.isDefault,
|
|
23
33
|
};
|
|
24
34
|
try {
|
|
@@ -29,12 +39,14 @@ export function* saveFilterViewHandler(ctx, cmd) {
|
|
|
29
39
|
catch (error) {
|
|
30
40
|
defaultErrorHandler(error);
|
|
31
41
|
yield put(filterViewCreationFailed(ctx));
|
|
42
|
+
yield put(filterViewsActions.setFilterLoading(false));
|
|
32
43
|
}
|
|
33
44
|
}
|
|
34
45
|
function deleteFilterView(ctx, ref) {
|
|
35
46
|
return ctx.backend.workspace(ctx.workspace).dashboards().deleteFilterView(ref);
|
|
36
47
|
}
|
|
37
48
|
export function* deleteFilterViewHandler(ctx, cmd) {
|
|
49
|
+
yield put(filterViewsActions.setFilterLoading(true));
|
|
38
50
|
try {
|
|
39
51
|
const filterView = yield call(findFilterView, cmd.payload.ref);
|
|
40
52
|
yield call(deleteFilterView, ctx, cmd.payload.ref);
|
|
@@ -44,6 +56,7 @@ export function* deleteFilterViewHandler(ctx, cmd) {
|
|
|
44
56
|
catch (error) {
|
|
45
57
|
defaultErrorHandler(error);
|
|
46
58
|
yield put(filterViewDeletionFailed(ctx));
|
|
59
|
+
yield put(filterViewsActions.setFilterLoading(false));
|
|
47
60
|
}
|
|
48
61
|
}
|
|
49
62
|
function* findFilterView(ref) {
|
|
@@ -53,7 +66,7 @@ function* findFilterView(ref) {
|
|
|
53
66
|
export function* applyFilterViewHandler(ctx, cmd) {
|
|
54
67
|
const filterView = yield call(findFilterView, cmd.payload.ref);
|
|
55
68
|
if (filterView) {
|
|
56
|
-
yield put(changeFilterContextSelection(filterView.filterContext.filters,
|
|
69
|
+
yield put(changeFilterContextSelection(filterView.filterContext.filters, true, cmd.correlationId));
|
|
57
70
|
yield put(filterViewApplicationSucceeded(ctx, filterView, cmd.correlationId));
|
|
58
71
|
}
|
|
59
72
|
else {
|
|
@@ -64,6 +77,7 @@ function setFilterViewAsDefault(ctx, ref, isDefault) {
|
|
|
64
77
|
return ctx.backend.workspace(ctx.workspace).dashboards().setFilterViewAsDefault(ref, isDefault);
|
|
65
78
|
}
|
|
66
79
|
export function* setFilterViewAsDefaultHandler(ctx, cmd) {
|
|
80
|
+
yield put(filterViewsActions.setFilterLoading(true));
|
|
67
81
|
const filterView = yield call(findFilterView, cmd.payload.ref);
|
|
68
82
|
const updatedFilterView = {
|
|
69
83
|
...filterView,
|
|
@@ -77,9 +91,11 @@ export function* setFilterViewAsDefaultHandler(ctx, cmd) {
|
|
|
77
91
|
catch (error) {
|
|
78
92
|
defaultErrorHandler(error);
|
|
79
93
|
yield put(filterViewDefaultStatusChangeFailed(ctx, updatedFilterView));
|
|
94
|
+
yield put(filterViewsActions.setFilterLoading(false));
|
|
80
95
|
}
|
|
81
96
|
}
|
|
82
97
|
export function* reloadFilterViewsHandler(ctx) {
|
|
98
|
+
yield put(filterViewsActions.setFilterLoading(true));
|
|
83
99
|
try {
|
|
84
100
|
const filterViews = yield call(loadFilterViews, ctx);
|
|
85
101
|
yield put(filterViewsActions.setFilterViews({
|
|
@@ -89,6 +105,7 @@ export function* reloadFilterViewsHandler(ctx) {
|
|
|
89
105
|
}
|
|
90
106
|
catch (error) {
|
|
91
107
|
defaultErrorHandler(error);
|
|
108
|
+
yield put(filterViewsActions.setFilterLoading(false));
|
|
92
109
|
}
|
|
93
110
|
}
|
|
94
111
|
//# sourceMappingURL=filterViewHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterViewHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAGhC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAIH,eAAe,
|
|
1
|
+
{"version":3,"file":"filterViewHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAGhC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAIH,eAAe,EAEf,0BAA0B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAKH,iBAAiB,EACjB,4BAA4B,GAC/B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AACpG,OAAO,EAAE,2CAA2C,EAAE,MAAM,qCAAqC,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACzF,OAAO,EACH,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,mCAAmC,EACnC,2BAA2B,EAC3B,8BAA8B,EAC9B,sCAAsC,GACzC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,4DAA4D,CAAC;AAG7F,SAAS,gBAAgB,CACrB,GAAqB,EACrB,UAA2C;IAE3C,OAAO,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;AAC1F,CAAC;AAED,MAAM,SAAS,CAAC,CAAC,qBAAqB,CAAC,GAAqB,EAAE,GAAmB;IAC7E,MAAM,GAAG,CAAC,kBAAkB,CAAC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iB,EAAE,CAAC,CAAC;QAC/B,MAAM,GAAG,CAAC,sCAAsC,CAAC,GAAG,EAAE,iBAAiB,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC;IACjG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,mBAAmB,CAAC,KAAK,CAAC,CAAC;QAC3B,MAAM,GAAG,CAAC,mCAAmC,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC,CAAC;QACvE,MAAM,GAAG,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1D,CAAC;AACL,CAAC;AAED,MAAM,SAAS,CAAC,CAAC,wBAAwB,CAAC,GAAqB;IAC3D,MAAM,GAAG,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC;IACrD,IAAI,CAAC;QACD,MAAM,WAAW,GAAgD,MAAM,IAAI,CAAC,eAAe,EAAE,GAAG,CAAC,CAAC;QAClG,MAAM,GAAG,CACL,kBAAkB,CAAC,cAAc,CAAC;YAC9B,SAAS,EAAE,GAAG,CAAC,YAAa,EAAE,4BAA4B;YAC1D,WAAW;SACd,CAAC,CACL,CAAC;IACN,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,mBAAmB,CAAC,KAAK,CAAC,CAAC;QAC3B,MAAM,GAAG,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1D,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/commandHandlers/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAqB,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/commandHandlers/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAqB,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAuG1C,eAAO,MAAM,sBAAsB,EAAE;KAChC,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,YAAY,CAAC,GAAG,CAAC,GAAG,GAAG;CAmGnF,CAAC"}
|
|
@@ -38,6 +38,8 @@ import { changeInsightWidgetVisPropertiesHandler } from "./widgets/changeInsight
|
|
|
38
38
|
import { modifyDrillsForInsightWidgetHandler } from "./widgets/modifyDrillsForInsightWidgetHandler.js";
|
|
39
39
|
import { removeDrillsForInsightWidgetHandler } from "./widgets/removeDrillsForInsightWidgetHandler.js";
|
|
40
40
|
import { changeRichTextWidgetContentHandler } from "./widgets/changeRichTextWidgetContentHandler.js";
|
|
41
|
+
import { addVisualizationToSwticherWidgetContentHandler } from "./widgets/addVisualizationToSwitcherWidgetHandler.js";
|
|
42
|
+
import { updateVisualizationsFromSwticherWidgetContentHandler } from "./widgets/updateVisualizationsFromSwitcherWidgetHandler.js";
|
|
41
43
|
import { exportInsightWidgetHandler } from "./widgets/exportInsightWidgetHandler.js";
|
|
42
44
|
import { createAlertHandler } from "./alerts/createAlertHandler.js";
|
|
43
45
|
import { saveAlertHandler } from "./alerts/saveAlertHandler.js";
|
|
@@ -159,6 +161,8 @@ export const DefaultCommandHandlers = {
|
|
|
159
161
|
"GDC.DASH/CMD.INSIGHT_WIDGET.REFRESH": refreshInsightWidgetHandler,
|
|
160
162
|
"GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT": exportInsightWidgetHandler,
|
|
161
163
|
"GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_CONTENT": changeRichTextWidgetContentHandler,
|
|
164
|
+
"GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.ADD_VISUALIZATION": addVisualizationToSwticherWidgetContentHandler,
|
|
165
|
+
"GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.UPDATE_VISUALIZATIONS": updateVisualizationsFromSwticherWidgetContentHandler,
|
|
162
166
|
"GDC.DASH/CMD.ALERT.CREATE": createAlertHandler,
|
|
163
167
|
"GDC.DASH/CMD.ALERT.SAVE": saveAlertHandler,
|
|
164
168
|
"GDC.DASH/CMD.SCHEDULED_EMAIL.CREATE": createScheduledEmailHandler,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/model/commandHandlers/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iDAAiD,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAClG,OAAO,EAAE,mCAAmC,EAAE,MAAM,wDAAwD,CAAC;AAC7G,OAAO,EAAE,gCAAgC,EAAE,MAAM,gEAAgE,CAAC;AAClH,OAAO,EAAE,yBAAyB,EAAE,MAAM,8DAA8D,CAAC;AACzG,OAAO,EAAE,6BAA6B,EAAE,MAAM,kEAAkE,CAAC;AACjH,OAAO,EAAE,0BAA0B,EAAE,MAAM,+DAA+D,CAAC;AAC3G,OAAO,EAAE,qCAAqC,EAAE,MAAM,0EAA0E,CAAC;AACjI,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CAA+C,EAAE,uCAAuC;IACxF,kDAAkD,EAAE,0CAA0C;IAC9F,2DAA2D,EACvD,8CAA8C;IAClD,4CAA4C,EAAE,iCAAiC;IAC/E,2CAA2C,EAAE,mCAAmC;IAChF,2CAA2C,EAAE,iCAAiC;IAC9E,2CAA2C,EAAE,mCAAmC;IAChF,+CAA+C,EAAE,sCAAsC;IACvF,4CAA4C,EAAE,mCAAmC;IACjF,+CAA+C,EAAE,sCAAsC;IACvF,qCAAqC,EAAE,2BAA2B;IAClE,oCAAoC,EAAE,0BAA0B;IAChE,8CAA8C,EAAE,kCAAkC;IAClF,8DAA8D,EAC1D,8CAA8C;IAClD,kEAAkE,EAC9D,oDAAoD;IACxD,2BAA2B,EAAE,kBAAkB;IAC/C,yBAAyB,EAAE,gBAAgB;IAC3C,qCAAqC,EAAE,2BAA2B;IAClE,mCAAmC,EAAE,yBAAyB;IAC9D,oBAAoB,EAAE,YAAY;IAClC,+BAA+B,EAAE,gBAAgB;IACjD,qCAAqC,EAAE,qBAAqB;IAC5D,uCAAuC,EAAE,uBAAuB;IAChE,2CAA2C,EAAE,0BAA0B;IACvE,wCAAwC,EAAE,uBAAuB;IACjE,8CAA8C,EAAE,6BAA6B;IAC7E,oCAAoC,EAAE,qBAAqB;IAC3D,2CAA2C,EAAE,2BAA2B;IACxE,gCAAgC,EAAE,sBAAsB;IACxD,mCAAmC,EAAE,yBAAyB;IAC9D,mCAAmC,EAAE,yBAAyB;IAC9D,kCAAkC,EAAE,0BAA0B;IAC9D,8CAA8C,EAAE,qBAAqB;IACrE,gDAAgD,EAAE,uBAAuB;IACzE,+CAA+C,EAAE,sBAAsB;IACvE,+DAA+D,EAAE,6BAA6B;IAC9F,gDAAgD,EAAE,wBAAwB;CAC7E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addDrillDownForInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,oCAAoC,EAA+B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"addDrillDownForInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,oCAAoC,EAA+B,MAAM,yBAAyB,CAAC;AAU5G,wBAAiB,mCAAmC,CAChD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,4BAA4B,GAClC,YAAY,CAAC,oCAAoC,CAAC,CAyFpD"}
|
|
@@ -7,7 +7,6 @@ import { layoutActions } from "../../store/layout/index.js";
|
|
|
7
7
|
import { existBlacklistHierarchyPredicate } from "../../utils/attributeHierarchyUtils.js";
|
|
8
8
|
import { selectAllCatalogAttributeHierarchies } from "../../store/catalog/catalogSelectors.js";
|
|
9
9
|
import { getHierarchyRef } from "@gooddata/sdk-model";
|
|
10
|
-
import { selectEnableDrillDownIntersectionIgnoredAttributes } from "../../store/config/configSelectors.js";
|
|
11
10
|
import isEqual from "lodash/isEqual.js";
|
|
12
11
|
import { hierarchyToDrillDownReference } from "./common/drillDown.js";
|
|
13
12
|
export function* addDrillDownForInsightWidgetHandler(ctx, cmd) {
|
|
@@ -38,8 +37,7 @@ export function* addDrillDownForInsightWidgetHandler(ctx, cmd) {
|
|
|
38
37
|
cmd,
|
|
39
38
|
},
|
|
40
39
|
}));
|
|
41
|
-
|
|
42
|
-
if (enableDrillDownIntersectionIgnoredAttributes && hierarchy && intersectionIgnoredAttributes) {
|
|
40
|
+
if (hierarchy && intersectionIgnoredAttributes) {
|
|
43
41
|
const drillDownReference = hierarchyToDrillDownReference(hierarchy, attributeIdentifier);
|
|
44
42
|
const existingIgnoredAttributesWithoutChangedItem = currentDrillDownIntersectionIgnoredAttributes?.filter((item) => isEqual(item.drillDownReference, drillDownReference)) ?? [];
|
|
45
43
|
yield put(layoutActions.replaceWidgetDrillDownIntersectionIgnoredAttributes({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addDrillDownForInsightWidgetHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAGrC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAIjD,OAAO,EAAwC,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC5G,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,oCAAoC,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,
|
|
1
|
+
{"version":3,"file":"addDrillDownForInsightWidgetHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAGrC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAIjD,OAAO,EAAwC,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC5G,OAAO,EAAE,gBAAgB,EAAE,MAAM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saga";
|
|
2
|
+
import { DashboardContext } from "../../types/commonTypes.js";
|
|
3
|
+
import { AddVisualizationToVisualizationSwitcherWidgetContent } from "../../commands/index.js";
|
|
4
|
+
import { DashboardVisualizationSwitcherWidgetVisualizationAdded } from "../../events/index.js";
|
|
5
|
+
export declare function addVisualizationToSwticherWidgetContentHandler(ctx: DashboardContext, cmd: AddVisualizationToVisualizationSwitcherWidgetContent): SagaIterator<DashboardVisualizationSwitcherWidgetVisualizationAdded>;
|
|
6
|
+
//# sourceMappingURL=addVisualizationToSwitcherWidgetHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addVisualizationToSwitcherWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,oDAAoD,EAAE,MAAM,yBAAyB,CAAC;AAC/F,OAAO,EACH,sDAAsD,EAEzD,MAAM,uBAAuB,CAAC;AAM/B,wBAAiB,8CAA8C,CAC3D,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,oDAAoD,GAC1D,YAAY,CAAC,sDAAsD,CAAC,CA8BtE"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
import { put, select } from "redux-saga/effects";
|
|
3
|
+
import { batchActions } from "redux-batched-actions";
|
|
4
|
+
import { visualizationSwitcherWidgetVisualizationAdded, } from "../../events/index.js";
|
|
5
|
+
import { selectWidgetsMap } from "../../store/layout/layoutSelectors.js";
|
|
6
|
+
import { validateExistingVisualizationSwitcherWidget } from "./validation/widgetValidations.js";
|
|
7
|
+
import { layoutActions } from "../../store/layout/index.js";
|
|
8
|
+
import { insightsActions } from "../../store/insights/index.js";
|
|
9
|
+
export function* addVisualizationToSwticherWidgetContentHandler(ctx, cmd) {
|
|
10
|
+
const { payload: { visualization, insight }, correlationId, } = cmd;
|
|
11
|
+
const widgets = yield select(selectWidgetsMap);
|
|
12
|
+
const visualizationSwitcherWidget = validateExistingVisualizationSwitcherWidget(widgets, cmd, ctx);
|
|
13
|
+
// TODO INE - resize: selectLayout - get sectionIndex, itemIndex from selected vis. switcher
|
|
14
|
+
// layoutActions.changeItemWidth & layoutActions.changeItemHeight. Postponed for now waiting for UX
|
|
15
|
+
yield put(batchActions([
|
|
16
|
+
insightsActions.upsertInsight(insight),
|
|
17
|
+
layoutActions.addVisualizationSwitcherWidgetVisualization({
|
|
18
|
+
ref: visualizationSwitcherWidget.ref,
|
|
19
|
+
visualization,
|
|
20
|
+
undo: {
|
|
21
|
+
cmd,
|
|
22
|
+
},
|
|
23
|
+
}),
|
|
24
|
+
]));
|
|
25
|
+
return visualizationSwitcherWidgetVisualizationAdded(ctx, visualizationSwitcherWidget.ref, visualization, correlationId);
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=addVisualizationToSwitcherWidgetHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addVisualizationToSwitcherWidgetHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAGhC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD,OAAO,EAEH,6CAA6C,GAChD,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,2CAA2C,EAAE,MAAM,mCAAmC,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,MAAM,SAAS,CAAC,CAAC,8CAA8C,CAC3D,GAAqB,EACrB,GAAyD;IAEzD,MAAM,EACF,OAAO,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,EACnC,aAAa,GAChB,GAAG,GAAG,CAAC;IACR,MAAM,OAAO,GAAwC,MAAM,MAAM,CAAC,gBAAgB,CAAC,CAAC;IACpF,MAAM,2BAA2B,GAAG,2CAA2C,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;IAEnG,4FAA4F;IAC5F,mGAAmG;IAEnG,MAAM,GAAG,CACL,YAAY,CAAC;QACT,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC;QACtC,aAAa,CAAC,2CAA2C,CAAC;YACtD,GAAG,EAAE,2BAA2B,CAAC,GAAG;YACpC,aAAa;YACb,IAAI,EAAE;gBACF,GAAG;aACN;SACJ,CAAC;KACL,CAAC,CACL,CAAC;IAEF,OAAO,6CAA6C,CAChD,GAAG,EACH,2BAA2B,CAAC,GAAG,EAC/B,aAAa,EACb,aAAa,CAChB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modifyDrillDownForInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EACH,uCAAuC,EAE1C,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"modifyDrillDownForInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EACH,uCAAuC,EAE1C,MAAM,yBAAyB,CAAC;AASjC,wBAAiB,sCAAsC,CACnD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,+BAA+B,GACrC,YAAY,CAAC,uCAAuC,CAAC,CAuEvD"}
|
|
@@ -8,7 +8,6 @@ import { layoutActions } from "../../store/layout/index.js";
|
|
|
8
8
|
import { existBlacklistHierarchyPredicate } from "../../utils/attributeHierarchyUtils.js";
|
|
9
9
|
import { selectAllCatalogAttributeHierarchies } from "../../store/catalog/catalogSelectors.js";
|
|
10
10
|
import { getHierarchyRef } from "@gooddata/sdk-model";
|
|
11
|
-
import { selectEnableDrillDownIntersectionIgnoredAttributes } from "../../store/config/configSelectors.js";
|
|
12
11
|
import { hierarchyToDrillDownReference } from "./common/drillDown.js";
|
|
13
12
|
export function* modifyDrillDownForInsightWidgetHandler(ctx, cmd) {
|
|
14
13
|
const { payload: { attributeIdentifier, attributeHierarchyRef, blacklistHierarchies, intersectionIgnoredAttributes, }, correlationId, } = cmd;
|
|
@@ -31,8 +30,7 @@ export function* modifyDrillDownForInsightWidgetHandler(ctx, cmd) {
|
|
|
31
30
|
cmd,
|
|
32
31
|
},
|
|
33
32
|
}));
|
|
34
|
-
|
|
35
|
-
if (enableDrillDownIntersectionIgnoredAttributes && hierarchy && intersectionIgnoredAttributes) {
|
|
33
|
+
if (hierarchy && intersectionIgnoredAttributes) {
|
|
36
34
|
const drillDownReference = hierarchyToDrillDownReference(hierarchy, attributeIdentifier);
|
|
37
35
|
const existingIgnoredAttributesWithoutChangedItem = currentDrillDownIntersectionIgnoredAttributes?.filter((item) => !isEqual(item.drillDownReference, drillDownReference)) ?? [];
|
|
38
36
|
yield put(layoutActions.replaceWidgetDrillDownIntersectionIgnoredAttributes({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modifyDrillDownForInsightWidgetHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAGrC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAEH,8BAA8B,GACjC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,oCAAoC,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"modifyDrillDownForInsightWidgetHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAGrC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAEH,8BAA8B,GACjC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,oCAAoC,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,M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C;IAEF,IAAI,SAAS,IAAI,6BAA6B,EAAE,CAAC;QAC7C,MAAM,kBAAkB,GAAG,6BAA6B,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC;QACzF,MAAM,2CAA2C,GAC7C,6CAA6C,EAAE,MAAM,CACjD,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAClE,IAAI,EAAE,CAAC;QAEZ,MAAM,GAAG,CACL,aAAa,CAAC,mDAAmD,CAAC;YAC9D,GAAG,EAAE,SAAS;YACd,6CAA6C,EAAE;gBAC3C,GAAG,2CAA2C;gBAC9C;oBACI,iBAAiB,EAAE,6BAA6B;oBAChD,kBAAkB;iBACrB;aACJ;YACD,IAAI,EAAE;gBACF,GAAG;aACN;SACJ,CAAC,CACL,CAAC;IACN,CAAC;IAED,OAAO,8BAA8B,CAAC,GAAG,EAAE,SAAS,EAAE,oBAAoB,EAAE,aAAa,CAAC,CAAC;AAC/F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeDrillDownForInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EACH,sCAAsC,EAEzC,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"removeDrillDownForInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EACH,sCAAsC,EAEzC,MAAM,yBAAyB,CAAC;AAMjC,wBAAiB,sCAAsC,CACnD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,+BAA+B,GACrC,YAAY,CAAC,sCAAsC,CAAC,CA6CtD"}
|
|
@@ -4,7 +4,6 @@ import { insightWidgetDrillDownRemoved, } from "../../events/insight.js";
|
|
|
4
4
|
import { selectWidgetsMap } from "../../store/layout/layoutSelectors.js";
|
|
5
5
|
import { validateExistingInsightWidget } from "./validation/widgetValidations.js";
|
|
6
6
|
import { layoutActions } from "../../store/layout/index.js";
|
|
7
|
-
import { selectEnableDrillDownIntersectionIgnoredAttributes } from "../../store/config/configSelectors.js";
|
|
8
7
|
import isEqual from "lodash/isEqual.js";
|
|
9
8
|
export function* removeDrillDownForInsightWidgetHandler(ctx, cmd) {
|
|
10
9
|
const { payload: { blacklistHierarchies }, correlationId, } = cmd;
|
|
@@ -19,17 +18,14 @@ export function* removeDrillDownForInsightWidgetHandler(ctx, cmd) {
|
|
|
19
18
|
cmd,
|
|
20
19
|
},
|
|
21
20
|
}));
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
}));
|
|
32
|
-
}
|
|
21
|
+
const drillIntersectionIgnoredAttributesWithoutBlacklistedHierarchies = currentDrillDownIntersectionIgnoredAttributes?.filter((ignoredIntersectionAttributes) => !newBlacklistHierarchies.some((hierarchy) => isEqual(hierarchy, ignoredIntersectionAttributes.drillDownReference)));
|
|
22
|
+
yield put(layoutActions.replaceWidgetDrillDownIntersectionIgnoredAttributes({
|
|
23
|
+
ref: widgetRef,
|
|
24
|
+
ignoredDrillDownIntersectionIgnoredAttributes: drillIntersectionIgnoredAttributesWithoutBlacklistedHierarchies ?? [],
|
|
25
|
+
undo: {
|
|
26
|
+
cmd,
|
|
27
|
+
},
|
|
28
|
+
}));
|
|
33
29
|
return insightWidgetDrillDownRemoved(ctx, widgetRef, blacklistHierarchies, correlationId);
|
|
34
30
|
}
|
|
35
31
|
//# sourceMappingURL=removeDrillDownForInsightWidgetHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeDrillDownForInsightWidgetHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAGrC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAIjD,OAAO,EAEH,6BAA6B,GAChC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,
|
|
1
|
+
{"version":3,"file":"removeDrillDownForInsightWidgetHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAGrC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAIjD,OAAO,EAEH,6BAA6B,GAChC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,MAAM,SAAS,CAAC,CAAC,sCAAsC,CACnD,GAAqB,EACrB,GAAoC;IAEpC,MAAM,EACF,OAAO,EAAE,EAAE,oBAAoB,EAAE,EACjC,aAAa,GAChB,GAAG,GAAG,CAAC;IACR,MAAM,OAAO,GAAwC,MAAM,MAAM,CAAC,gBAAgB,CAAC,CAAC;IACpF,MAAM,aAAa,GAAG,6BAA6B,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;IACvE,MAAM,EACF,GAAG,EAAE,SAAS,EACd,2BAA2B,EAAE,2BAA2B,EACxD,sCAAsC,EAAE,6CAA6C,GACxF,GAAG,aAAa,CAAC;IAElB,MAAM,uBAAuB,GAAG,CAAC,GAAG,CAAC,2BAA2B,IAAI,EAAE,CAAC,EAAE,GAAG,oBAAoB,CAAC,CAAC;IAElG,MAAM,GAAG,CACL,aAAa,CAAC,iCAAiC,CAAC;QAC5C,GAAG,EAAE,SAAS;QACd,oBAAoB,EAAE,uBAAuB;QAC7C,IAAI,EAAE;YACF,GAAG;SACN;KACJ,CAAC,CACL,CAAC;IAEF,MAAM,+DAA+D,GACjE,6CAA6C,EAAE,MAAM,CACjD,CAAC,6BAA6B,EAAE,EAAE,CAC9B,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CACxC,OAAO,CAAC,SAAS,EAAE,6BAA6B,CAAC,kBAAkB,CAAC,CACvE,CACR,CAAC;IAEN,MAAM,GAAG,CACL,aAAa,CAAC,mDAAmD,CAAC;QAC9D,GAAG,EAAE,SAAS;QACd,6CAA6C,EACzC,+DAA+D,IAAI,EAAE;QACzE,IAAI,EAAE;YACF,GAAG;SACN;KACJ,CAAC,CACL,CAAC;IAEF,OAAO,6BAA6B,CAAC,GAAG,EAAE,SAAS,EAAE,oBAAoB,EAAE,aAAa,CAAC,CAAC;AAC9F,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SagaIterator } from "redux-saga";
|
|
2
|
+
import { DashboardContext } from "../../types/commonTypes.js";
|
|
3
|
+
import { UpdateVisualizationsFromVisualizationSwitcherWidgetContent } from "../../commands/index.js";
|
|
4
|
+
import { DashboardVisualizationSwitcherWidgetVisualizationsUpdated } from "../../events/index.js";
|
|
5
|
+
export declare function updateVisualizationsFromSwticherWidgetContentHandler(ctx: DashboardContext, cmd: UpdateVisualizationsFromVisualizationSwitcherWidgetContent): SagaIterator<DashboardVisualizationSwitcherWidgetVisualizationsUpdated>;
|
|
6
|
+
//# sourceMappingURL=updateVisualizationsFromSwitcherWidgetHandler.d.ts.map
|
package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateVisualizationsFromSwitcherWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,0DAA0D,EAAE,MAAM,yBAAyB,CAAC;AACrG,OAAO,EACH,yDAAyD,EAE5D,MAAM,uBAAuB,CAAC;AAK/B,wBAAiB,oDAAoD,CACjE,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,0DAA0D,GAChE,YAAY,CAAC,yDAAyD,CAAC,CAwBzE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { put, select } from "redux-saga/effects";
|
|
2
|
+
import { visualizationSwitcherWidgetVisualizationsUpdated, } from "../../events/index.js";
|
|
3
|
+
import { selectWidgetsMap } from "../../store/layout/layoutSelectors.js";
|
|
4
|
+
import { validateExistingVisualizationSwitcherWidget } from "./validation/widgetValidations.js";
|
|
5
|
+
import { layoutActions } from "../../store/layout/index.js";
|
|
6
|
+
export function* updateVisualizationsFromSwticherWidgetContentHandler(ctx, cmd) {
|
|
7
|
+
const { payload: { visualizations }, correlationId, } = cmd;
|
|
8
|
+
const widgets = yield select(selectWidgetsMap);
|
|
9
|
+
const visualizationSwitcherWidget = validateExistingVisualizationSwitcherWidget(widgets, cmd, ctx);
|
|
10
|
+
yield put(layoutActions.updateVisualizationSwitcherWidgetVisualizations({
|
|
11
|
+
ref: visualizationSwitcherWidget.ref,
|
|
12
|
+
visualizations,
|
|
13
|
+
undo: {
|
|
14
|
+
cmd,
|
|
15
|
+
},
|
|
16
|
+
}));
|
|
17
|
+
return visualizationSwitcherWidgetVisualizationsUpdated(ctx, visualizationSwitcherWidget.ref, visualizations, correlationId);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=updateVisualizationsFromSwitcherWidgetHandler.js.map
|
package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateVisualizationsFromSwitcherWidgetHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAIjD,OAAO,EAEH,gDAAgD,GACnD,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,2CAA2C,EAAE,MAAM,mCAAmC,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,MAAM,SAAS,CAAC,CAAC,oDAAoD,CACjE,GAAqB,EACrB,GAA+D;IAE/D,MAAM,EACF,OAAO,EAAE,EAAE,cAAc,EAAE,EAC3B,aAAa,GAChB,GAAG,GAAG,CAAC;IACR,MAAM,OAAO,GAAwC,MAAM,MAAM,CAAC,gBAAgB,CAAC,CAAC;IACpF,MAAM,2BAA2B,GAAG,2CAA2C,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;IAEnG,MAAM,GAAG,CACL,aAAa,CAAC,+CAA+C,CAAC;QAC1D,GAAG,EAAE,2BAA2B,CAAC,GAAG;QACpC,cAAc;QACd,IAAI,EAAE;YACF,GAAG;SACN;KACJ,CAAC,CACL,CAAC;IAEF,OAAO,gDAAgD,CACnD,GAAG,EACH,2BAA2B,CAAC,GAAG,EAC/B,cAAc,EACd,aAAa,CAChB,CAAC;AACN,CAAC"}
|