@gooddata/sdk-ui-dashboard 11.39.0-alpha.3 → 11.39.0-alpha.4
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.js +1 -1
- package/esm/converters/filterConverters.d.ts +3 -2
- package/esm/converters/filterConverters.js +5 -3
- package/esm/index.d.ts +2 -2
- package/esm/index.js +2 -2
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +6 -0
- package/esm/model/commandHandlers/filterContext/measureValueFilter/changeMeasureValueFilterDimensionalityHandler.d.ts +4 -0
- package/esm/model/commandHandlers/filterContext/measureValueFilter/changeMeasureValueFilterDimensionalityHandler.js +24 -0
- package/esm/model/commandHandlers/index.js +2 -0
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/filters.d.ts +35 -0
- package/esm/model/commands/filters.js +19 -0
- package/esm/model/commands/index.d.ts +2 -2
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/filters.d.ts +36 -0
- package/esm/model/events/filters.js +19 -0
- package/esm/model/events/index.d.ts +2 -2
- package/esm/model/queryServices/queryWidgetFilters.js +10 -2
- package/esm/model/react/useDashboardCommand.d.ts +2 -1
- package/esm/model/react/useDashboardCommandProcessing.d.ts +8 -0
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +8 -0
- package/esm/model/store/tabs/filterContext/filterContextReducers.js +22 -0
- package/esm/model/store/tabs/filterContext/filterContextState.d.ts +2 -1
- package/esm/model/store/tabs/index.d.ts +7 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +11 -7
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +2 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.js +3 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts +4 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +56 -25
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts +2 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js +2 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.js +3 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts +4 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.js +10 -5
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/getters.js +8 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts +6 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.js +235 -127
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/transformation.d.ts +3 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/transformation.js +5 -2
- package/esm/presentation/filterBar/measureValueFilter/DefaultDashboardMeasureValueFilter.js +40 -7
- package/esm/presentation/filterBar/measureValueFilter/MeasureValueFilterConfiguration.d.ts +7 -2
- package/esm/presentation/filterBar/measureValueFilter/MeasureValueFilterConfiguration.js +7 -3
- package/esm/presentation/filterBar/measureValueFilter/useDashboardMeasureValueFilterData.d.ts +9 -0
- package/esm/presentation/filterBar/measureValueFilter/useDashboardMeasureValueFilterData.js +125 -6
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +8 -0
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +9 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +2 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +1 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +2 -1
- package/esm/presentation/widget/common/configuration/FilterConfiguration.js +5 -2
- package/esm/presentation/widget/common/configuration/MeasureValueFilterConfigurationItem.d.ts +2 -1
- package/esm/presentation/widget/common/configuration/MeasureValueFilterConfigurationItem.js +9 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightWidgetAlerting.js +1 -1
- package/esm/sdk-ui-dashboard.d.ts +96 -4
- package/package.json +20 -20
- package/styles/css/dashboard.css +30 -2
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/main.css +247 -2
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +30 -2
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/scss/notifications_channels_dialog.scss +46 -5
package/NOTICE
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
|
|
9
9
|
|
|
10
|
-
Date generated: 2026-5-
|
|
10
|
+
Date generated: 2026-5-27
|
|
11
11
|
|
|
12
|
-
Revision ID:
|
|
12
|
+
Revision ID: cca91b63bcb24d8939c88b56da17c29f0346e9e2
|
|
13
13
|
|
|
14
14
|
================================================================================
|
|
15
15
|
================================================================================
|
|
@@ -38189,4 +38189,4 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
38189
38189
|
--------------------------------------------------------------------------------
|
|
38190
38190
|
--------------------------------------------------------------------------------
|
|
38191
38191
|
|
|
38192
|
-
Report Generated by FOSSA on 2026-5-
|
|
38192
|
+
Report Generated by FOSSA on 2026-5-27
|
package/esm/__version.d.ts
CHANGED
package/esm/__version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2021 GoodData Corporation
|
|
2
2
|
// DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
|
|
3
|
-
export const LIB_VERSION = "11.39.0-alpha.
|
|
3
|
+
export const LIB_VERSION = "11.39.0-alpha.4";
|
|
4
4
|
export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
|
|
5
5
|
export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
|
|
@@ -58,8 +58,9 @@ export declare function dashboardDateFilterToDateFilterByDateDataSet(filter: IDa
|
|
|
58
58
|
*
|
|
59
59
|
* @remarks
|
|
60
60
|
* Dashboard measure value filters always reference a catalog metric via `ObjRef`, which is a valid
|
|
61
|
-
* `ObjRefInScope`.
|
|
62
|
-
*
|
|
61
|
+
* `ObjRefInScope`. When dashboard-level dimensionality is configured, it is passed through to the
|
|
62
|
+
* execution filter; otherwise the backend derives granularity from the widget automatically.
|
|
63
|
+
* Conditions are passed through unchanged.
|
|
63
64
|
*
|
|
64
65
|
* @param filter - dashboard measure value filter to convert
|
|
65
66
|
* @public
|
|
@@ -109,19 +109,21 @@ export function dashboardDateFilterToDateFilterByDateDataSet(filter, dateDataSet
|
|
|
109
109
|
*
|
|
110
110
|
* @remarks
|
|
111
111
|
* Dashboard measure value filters always reference a catalog metric via `ObjRef`, which is a valid
|
|
112
|
-
* `ObjRefInScope`.
|
|
113
|
-
*
|
|
112
|
+
* `ObjRefInScope`. When dashboard-level dimensionality is configured, it is passed through to the
|
|
113
|
+
* execution filter; otherwise the backend derives granularity from the widget automatically.
|
|
114
|
+
* Conditions are passed through unchanged.
|
|
114
115
|
*
|
|
115
116
|
* @param filter - dashboard measure value filter to convert
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export function dashboardMeasureValueFilterToMeasureValueFilter(filter) {
|
|
119
|
-
const { measure, localIdentifier, conditions } = filter.dashboardMeasureValueFilter;
|
|
120
|
+
const { measure, localIdentifier, conditions, dimensionality } = filter.dashboardMeasureValueFilter;
|
|
120
121
|
return {
|
|
121
122
|
measureValueFilter: {
|
|
122
123
|
measure,
|
|
123
124
|
localIdentifier,
|
|
124
125
|
...(conditions && conditions.length > 0 ? { conditions } : {}),
|
|
126
|
+
...(dimensionality && dimensionality.length > 0 ? { dimensionality } : {}),
|
|
125
127
|
},
|
|
126
128
|
};
|
|
127
129
|
}
|
package/esm/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export { type DashboardCommands } from "./model/commands/index.js";
|
|
|
41
41
|
export type { DashboardCommandType, IDashboardCommand, CommandProcessingMeta, } from "./model/commands/base.js";
|
|
42
42
|
export { type InitializeDashboard, type InitializeDashboardPayload, type SaveDashboardAs, type SaveDashboardAsPayload, type ISaveDashboard, type ISaveDashboardPayload, type IRenameDashboard, type IRenameDashboardPayload, type IResetDashboard, type IExportDashboardToPdf, type IExportDashboardToPdfPayload, type IExportDashboardToPptPresentation, type IExportDashboardToPdfPresentation, type IExportDashboardToExcel, type IExportDashboardToExcelPayload, type IDeleteDashboard, type IChangeSharing, type IChangeSharingPayload, type ISetDashboardDateFilterConfigMode, type ISetDashboardDateFilterConfigModePayload, type ISetDashboardDateFilterWithDimensionConfigMode, type ISetDashboardDateFilterWithDimensionConfigModePayload, type ISetDashboardAttributeFilterConfigMode, type ISetDashboardAttributeFilterConfigModePayload, type ISetDashboardAttributeFilterSelectionType, type ISetDashboardAttributeFilterSelectionTypePayload, type ISetDashboardMeasureValueFilterConfigMode, type ISetDashboardMeasureValueFilterConfigModePayload, type ISetDateFilterConfigTitle, type ISetDateFilterConfigTitlePayload, type ISetAttributeFilterLimitingItems, type ISetAttributeFilterLimitingItemsPayload, type ISetDashboardAttributeFilterConfigDisplayAsLabel, type ISetDashboardAttributeFilterConfigDisplayAsLabelPayload, type IChangeIgnoreExecutionTimestamp, type IChangeIgnoreExecutionTimestampPayload, type IExportDashboardToPresentationPayload, type PdfConfiguration, InitialLoadCorrelationId, initializeDashboard, initializeDashboardWithPersistedDashboard, saveDashboardAs, saveDashboard, renameDashboard, resetDashboard, exportDashboardToPdf, exportDashboardToExcel, exportDashboardToPdfPresentation, exportDashboardToPptPresentation, deleteDashboard, changeSharing, setDashboardDateFilterConfigMode, setDashboardDateFilterWithDimensionConfigMode, setDashboardAttributeFilterConfigMode, setDashboardAttributeFilterSelectionType, setDashboardMeasureValueFilterConfigMode, setDateFilterConfigTitle, setAttributeFilterLimitingItems, setDashboardAttributeFilterConfigDisplayAsLabel, changeIgnoreExecutionTimestamp, } from "./model/commands/dashboard.js";
|
|
43
43
|
export { type ITriggerEvent, type ITriggerEventPayload, triggerEvent } from "./model/commands/events.js";
|
|
44
|
-
export { type ChangeDateFilterSelection, type IAddAttributeFilter, type AddAttributeFilterPayload, type IMoveAttributeFilter, type MoveAttributeFilterPayload, type IMoveMeasureValueFilter, type MoveMeasureValueFilterPayload, type IRemoveAttributeFilters, type IRemoveAttributeFiltersPayload, type IAddDateFilter, type IAddMeasureValueFilter, type IAddMeasureValueFilterPayload, type IAddDateFilterPayload, type IRemoveMeasureValueFilter, type IRemoveMeasureValueFilters, type IRemoveMeasureValueFiltersPayload, type IRemoveDateFilters, type IRemoveDateFiltersPayload, type IMoveDateFilter, type MoveDateFilterPayload, type IChangeMeasureValueFilterCondition, type IChangeMeasureValueFilterConditionPayload, type ChangeAttributeFilterSelection, type AttributeFilterSelectionType, type ReplaceAttributeFilterItemSelection, type ReplaceAttributeFilterItemSelectionPayload, type ISetAttributeFilterParents, type SetAttributeFilterParentsPayload, type ChangeAttributeFilterSelectionPayload, type ChangeFilterContextSelection, type ChangeFilterContextSelectionPayload, type DateFilterSelection, type ChangeFilterContextSelectionParams, type ISetAttributeFilterDisplayForm, type ISetAttributeFilterDisplayFormPayload, type ISetAttributeFilterTitle, type ISetAttributeFilterTitlePayload, type ISetAttributeFilterSelectionMode, type ISetAttributeFilterSelectionModePayload, type ISetAttributeFilterDependentDateFilters, type SetAttributeFilterDependentDateFiltersPayload, type ISetMeasureValueFilterTitle, type ISetMeasureValueFilterTitlePayload, type ISaveFilterView, type ISaveFilterViewPayload, type IDeleteFilterView, type IDeleteFilterViewPayload, type IApplyFilterView, type IApplyFilterViewPayload, type ISetFilterViewAsDefault, type ISetFilterViewAsDefaultPayload, type IReloadFilterViews, type IApplyFilterContextWorkingSelection, type IResetFilterContextWorkingSelection, changeDateFilterSelection, clearDateFilterSelection, addAttributeFilter, addTextAttributeFilter, type IAddTextAttributeFilter, type IAddTextAttributeFilterPayload, moveAttributeFilter, removeAttributeFilter, removeAttributeFilters, addDateFilter, addMeasureValueFilter, removeMeasureValueFilter, removeMeasureValueFilters, removeDateFilter, moveMeasureValueFilter, moveDateFilter, changeMeasureValueFilterCondition, resetAttributeFilterSelection, changeAttributeFilterSelection, changeMigratedAttributeFilterSelection, changeWorkingAttributeFilterSelection, changeWorkingMeasureValueFilterCondition, replaceAttributeFilterItemSelection, replaceWorkingAttributeFilterItemSelection, setAttributeFilterParents, changeFilterContextSelection, changeFilterContextSelectionByParams, applyAttributeFilter, applyDateFilter, setAttributeFilterDisplayForm, setAttributeFilterTitle, setMeasureValueFilterTitle, setAttributeFilterSelectionMode, setAttributeFilterDependentDateFilters, saveFilterView, deleteFilterView, applyFilterView, setFilterViewAsDefault, reloadFilterViews, applyFilterContextWorkingSelection, resetFilterContextWorkingSelection, } from "./model/commands/filters.js";
|
|
44
|
+
export { type ChangeDateFilterSelection, type IAddAttributeFilter, type AddAttributeFilterPayload, type IMoveAttributeFilter, type MoveAttributeFilterPayload, type IMoveMeasureValueFilter, type MoveMeasureValueFilterPayload, type IRemoveAttributeFilters, type IRemoveAttributeFiltersPayload, type IAddDateFilter, type IAddMeasureValueFilter, type IAddMeasureValueFilterPayload, type IAddDateFilterPayload, type IRemoveMeasureValueFilter, type IRemoveMeasureValueFilters, type IRemoveMeasureValueFiltersPayload, type IRemoveDateFilters, type IRemoveDateFiltersPayload, type IMoveDateFilter, type MoveDateFilterPayload, type IChangeMeasureValueFilterCondition, type IChangeMeasureValueFilterConditionPayload, type ISetMeasureValueFilterDimensionality, type ISetMeasureValueFilterDimensionalityPayload, type ChangeAttributeFilterSelection, type AttributeFilterSelectionType, type ReplaceAttributeFilterItemSelection, type ReplaceAttributeFilterItemSelectionPayload, type ISetAttributeFilterParents, type SetAttributeFilterParentsPayload, type ChangeAttributeFilterSelectionPayload, type ChangeFilterContextSelection, type ChangeFilterContextSelectionPayload, type DateFilterSelection, type ChangeFilterContextSelectionParams, type ISetAttributeFilterDisplayForm, type ISetAttributeFilterDisplayFormPayload, type ISetAttributeFilterTitle, type ISetAttributeFilterTitlePayload, type ISetAttributeFilterSelectionMode, type ISetAttributeFilterSelectionModePayload, type ISetAttributeFilterDependentDateFilters, type SetAttributeFilterDependentDateFiltersPayload, type ISetMeasureValueFilterTitle, type ISetMeasureValueFilterTitlePayload, type ISaveFilterView, type ISaveFilterViewPayload, type IDeleteFilterView, type IDeleteFilterViewPayload, type IApplyFilterView, type IApplyFilterViewPayload, type ISetFilterViewAsDefault, type ISetFilterViewAsDefaultPayload, type IReloadFilterViews, type IApplyFilterContextWorkingSelection, type IResetFilterContextWorkingSelection, changeDateFilterSelection, clearDateFilterSelection, addAttributeFilter, addTextAttributeFilter, type IAddTextAttributeFilter, type IAddTextAttributeFilterPayload, moveAttributeFilter, removeAttributeFilter, removeAttributeFilters, addDateFilter, addMeasureValueFilter, removeMeasureValueFilter, removeMeasureValueFilters, removeDateFilter, moveMeasureValueFilter, moveDateFilter, changeMeasureValueFilterCondition, setMeasureValueFilterDimensionality, resetAttributeFilterSelection, changeAttributeFilterSelection, changeMigratedAttributeFilterSelection, changeWorkingAttributeFilterSelection, changeWorkingMeasureValueFilterCondition, replaceAttributeFilterItemSelection, replaceWorkingAttributeFilterItemSelection, setAttributeFilterParents, changeFilterContextSelection, changeFilterContextSelectionByParams, applyAttributeFilter, applyDateFilter, setAttributeFilterDisplayForm, setAttributeFilterTitle, setMeasureValueFilterTitle, setAttributeFilterSelectionMode, setAttributeFilterDependentDateFilters, saveFilterView, deleteFilterView, applyFilterView, setFilterViewAsDefault, reloadFilterViews, applyFilterContextWorkingSelection, resetFilterContextWorkingSelection, } from "./model/commands/filters.js";
|
|
45
45
|
export { type IAddLayoutSection, type IAddLayoutSectionPayload, type IMoveLayoutSection, type IMoveLayoutSectionPayload, type IRemoveLayoutSection, type IRemoveLayoutSectionPayload, type ChangeLayoutSectionHeader, type ChangeLayoutSectionHeaderPayload, type IAddSectionItems, type IAddSectionItemsPayload, type IReplaceSectionItem, type IReplaceSectionItemPayload, type IMoveSectionItem, type IMoveSectionItemPayload, type IMoveSectionItemToNewSection, type IMoveSectionItemToNewSectionPayload, type IRemoveSectionItem, type IRemoveSectionItemPayload, type IRemoveSectionItemByWidgetRef, type IRemoveSectionItemByWidgetRefPayload, type IUndoLayoutChanges, type IUndoLayoutChangesPayload, type DashboardLayoutCommands, type UndoPointSelector, type IResizeHeight, type IResizeHeightPayload, type IResizeWidth, type IResizeWidthPayload, type ISetScreenSize, type ISetScreenSizePayload, type IToggleLayoutSectionHeaders, type IToggleLayoutSectionHeadersPayload, type IToggleLayoutDirection, type IToggleLayoutDirectionPayload, addLayoutSection, addNestedLayoutSection, moveLayoutSection, moveNestedLayoutSection, removeLayoutSection, removeNestedLayoutSection, changeLayoutSectionHeader, changeNestedLayoutSectionHeader, addSectionItem, addNestedLayoutSectionItem, replaceSectionItem, replaceNestedLayoutSectionItem, moveSectionItem, moveNestedLayoutSectionItem, moveSectionItemAndRemoveOriginalSectionIfEmpty, moveNestedLayoutSectionItemAndRemoveOriginalSectionIfEmpty, moveSectionItemToNewSection, moveNestedLayoutSectionItemToNewSection, moveSectionItemToNewSectionAndRemoveOriginalSectionIfEmpty, moveNestedLayoutSectionItemToNewSectionAndRemoveOriginalSectionIfEmpty, removeSectionItem, removeNestedLayoutSectionItem, eagerRemoveSectionItem, eagerRemoveNestedLayoutSectionItem, removeSectionItemByWidgetRef, eagerRemoveSectionItemByWidgetRef, undoLayoutChanges, revertLastLayoutChange, resizeHeight, resizeNestedLayoutItemsHeight, resizeWidth, resizeNestedLayoutItemWidth, setScreenSize, toggleLayoutSectionHeaders, toggleLayoutDirection, } from "./model/commands/layout.js";
|
|
46
46
|
export { type ICreateAlert, type ICreateAlertPayload, type ISaveAlert, type ISaveAlertPayload, createAlert, saveAlert, } from "./model/commands/alerts.js";
|
|
47
47
|
export { type ICreateScheduledEmail, type ICreateScheduledEmailPayload, type ISaveScheduledEmail, type ISaveScheduledEmailPayload, type IRefreshAutomations, type IInitializeAutomations, createScheduledEmail, saveScheduledEmail, refreshAutomations, initializeAutomations, } from "./model/commands/scheduledEmail.js";
|
|
@@ -63,7 +63,7 @@ export { type DateFilterValidationFailed, type DateFilterValidationFailedPayload
|
|
|
63
63
|
export { type IDashboardTabSwitched, type IDashboardTabSwitchedPayload, type IDashboardTabCreated, type IDashboardTabCreatedPayload, type IDashboardTabConvertedFromDefault, type IDashboardTabConvertedFromDefaultPayload, type IDashboardTabDeleted, type IDashboardTabDeletedPayload, type IDashboardTabRenamingStarted, type IDashboardTabRenamingStartedPayload, type IDashboardTabRenamingCanceled, type IDashboardTabRenamingCanceledPayload, type IDashboardTabRenamed, type IDashboardTabRenamedPayload, dashboardTabSwitched, isDashboardTabSwitched, dashboardTabCreated, isDashboardTabCreated, dashboardTabConvertedFromDefault, isDashboardTabConvertedFromDefault, dashboardTabDeleted, isDashboardTabDeleted, dashboardTabRenamingStarted, isDashboardTabRenamingStarted, dashboardTabRenamingCanceled, isDashboardTabRenamingCanceled, dashboardTabRenamed, isDashboardTabRenamed, } from "./model/events/tabs.js";
|
|
64
64
|
export { type IDashboardParametersSelectionReset, parametersSelectionReset, isDashboardParametersSelectionReset, } from "./model/events/parameters.js";
|
|
65
65
|
export { type IDashboardCommandStarted, type IDashboardCommandStartedPayload, type IDashboardCommandRejected, type IDashboardCommandFailed, type IDashboardCommandFailedPayload, type ActionFailedErrorReason, type IDashboardQueryRejected, type IDashboardQueryFailed, type IDashboardQueryFailedPayload, type IDashboardQueryStarted, type IDashboardQueryStartedPayload, type IDashboardQueryCompleted, type IDashboardQueryCompletedPayload, isDashboardCommandStarted, isDashboardCommandFailed, isDashboardQueryFailed, isDashboardCommandRejected, isDashboardQueryCompleted, isDashboardQueryRejected, isDashboardQueryStarted, } from "./model/events/general.js";
|
|
66
|
-
export { type DashboardDateFilterSelectionChanged, type DashboardDateFilterSelectionChangedPayload, type DashboardAttributeFilterSelectionChangedPayload, type DashboardAttributeFilterItemSelectionReplaced, type DashboardAttributeFilterItemSelectionReplacedPayload, type DashboardFilterContextChanged, type DashboardFilterContextChangedPayload, type IDashboardAttributeFilterParentChanged, type IDashboardAttributeFilterParentChangedPayload, type IDashboardAttributeFilterRemoved, type IDashboardAttributeFilterRemovedPayload, type DashboardAttributeFilterSelectionChanged, type IDashboardAttributeTitleChanged, type IDashboardAttributeTitleChangedPayload, type IDashboardAttributeSelectionModeChanged, type IDashboardAttributeSelectionModeChangedPayload, type IDashboardAttributeFilterMoved, type IDashboardAttributeFilterMovedPayload, type IDashboardAttributeFilterAdded, type IDashboardAttributeFilterAddedPayload, type IDashboardAttributeFilterConfigModeChanged, type IDashboardAttributeFilterConfigModeChangedPayload, type IDashboardAttributeFilterConfigLimitingItemsChanged, type IDashboardAttributeFilterConfigLimitingItemsChangedPayload, type IDashboardMeasureValueFilterAdded, type IDashboardMeasureValueFilterAddedPayload, type IDashboardMeasureValueFilterRemoved, type IDashboardMeasureValueFilterRemovedPayload, type IDashboardMeasureValueFilterMoved, type IDashboardMeasureValueFilterMovedPayload, type IDashboardMeasureValueFilterTitleChanged, type IDashboardMeasureValueFilterTitleChangedPayload, type IDashboardMeasureValueFilterConfigModeChanged, type IDashboardMeasureValueFilterConfigModeChangedPayload, type IDashboardFilterViewCreationSucceeded, type IDashboardFilterViewCreationSucceededPayload, type IDashboardFilterViewCreationFailed, type IDashboardFilterViewDeletionSucceeded, type IDashboardFilterViewDeletionSucceededPayload, type IDashboardFilterViewDeletionFailed, type IDashboardFilterViewApplicationSucceeded, type IDashboardFilterViewApplicationSucceededPayload, type IDashboardFilterViewApplicationFailed, type IDashboardFilterViewDefaultStatusChangeSucceeded, type IDashboardFilterViewDefaultStatusChangeSucceededPayload, type IDashboardFilterViewDefaultStatusChangeFailed, type IDashboardFilterViewDefaultStatusChangeFailedPayload, type IDashboardFilterContextSelectionReset, type IDashboardFilterContextWorkingSelectionApplied, type IDashboardMeasureValueFilterConditionChanged, type IDashboardMeasureValueFilterConditionChangedPayload, isDashboardMeasureValueFilterAdded, isDashboardMeasureValueFilterRemoved, isDashboardMeasureValueFilterMoved, isDashboardMeasureValueFilterTitleChanged, isDashboardMeasureValueFilterConfigModeChanged, isDashboardMeasureValueFilterConditionChanged, isDashboardAttributeFilterAdded, isDashboardAttributeFilterMoved, isDashboardAttributeFilterParentChanged, isDashboardAttributeFilterRemoved, isDashboardAttributeFilterSelectionChanged, isDashboardAttributeFilterItemSelectionReplaced, isDashboardAttributeFilterSelectionModeChanged, isDashboardAttributeFilterTitleChanged, isDashboardDateFilterSelectionChanged, isDashboardFilterContextChanged, isDashboardAttributeFilterConfigModeChanged, isDashboardAttributeFilterConfigLimitingItemsChanged, isDashboardFilterViewCreationSucceeded, isDashboardFilterViewCreationFailed, isDashboardFilterViewDeletionSucceeded, isDashboardFilterViewDeletionFailed, isDashboardFilterViewApplicationSucceeded, isDashboardFilterViewApplicationFailed, isDashboardFilterViewDefaultStatusChangeSucceeded, isDashboardFilterViewDefaultStatusChangeFailed, isDashboardFilterContextSelectionReset, isDashboardFilterContextWorkingSelectionApplied, filterContextSelectionReset, filterContextWorkingSelectionApplied, } from "./model/events/filters.js";
|
|
66
|
+
export { type DashboardDateFilterSelectionChanged, type DashboardDateFilterSelectionChangedPayload, type DashboardAttributeFilterSelectionChangedPayload, type DashboardAttributeFilterItemSelectionReplaced, type DashboardAttributeFilterItemSelectionReplacedPayload, type DashboardFilterContextChanged, type DashboardFilterContextChangedPayload, type IDashboardAttributeFilterParentChanged, type IDashboardAttributeFilterParentChangedPayload, type IDashboardAttributeFilterRemoved, type IDashboardAttributeFilterRemovedPayload, type DashboardAttributeFilterSelectionChanged, type IDashboardAttributeTitleChanged, type IDashboardAttributeTitleChangedPayload, type IDashboardAttributeSelectionModeChanged, type IDashboardAttributeSelectionModeChangedPayload, type IDashboardAttributeFilterMoved, type IDashboardAttributeFilterMovedPayload, type IDashboardAttributeFilterAdded, type IDashboardAttributeFilterAddedPayload, type IDashboardAttributeFilterConfigModeChanged, type IDashboardAttributeFilterConfigModeChangedPayload, type IDashboardAttributeFilterConfigLimitingItemsChanged, type IDashboardAttributeFilterConfigLimitingItemsChangedPayload, type IDashboardMeasureValueFilterAdded, type IDashboardMeasureValueFilterAddedPayload, type IDashboardMeasureValueFilterRemoved, type IDashboardMeasureValueFilterRemovedPayload, type IDashboardMeasureValueFilterMoved, type IDashboardMeasureValueFilterMovedPayload, type IDashboardMeasureValueFilterTitleChanged, type IDashboardMeasureValueFilterTitleChangedPayload, type IDashboardMeasureValueFilterConfigModeChanged, type IDashboardMeasureValueFilterConfigModeChangedPayload, type IDashboardFilterViewCreationSucceeded, type IDashboardFilterViewCreationSucceededPayload, type IDashboardFilterViewCreationFailed, type IDashboardFilterViewDeletionSucceeded, type IDashboardFilterViewDeletionSucceededPayload, type IDashboardFilterViewDeletionFailed, type IDashboardFilterViewApplicationSucceeded, type IDashboardFilterViewApplicationSucceededPayload, type IDashboardFilterViewApplicationFailed, type IDashboardFilterViewDefaultStatusChangeSucceeded, type IDashboardFilterViewDefaultStatusChangeSucceededPayload, type IDashboardFilterViewDefaultStatusChangeFailed, type IDashboardFilterViewDefaultStatusChangeFailedPayload, type IDashboardFilterContextSelectionReset, type IDashboardFilterContextWorkingSelectionApplied, type IDashboardMeasureValueFilterConditionChanged, type IDashboardMeasureValueFilterConditionChangedPayload, type IDashboardMeasureValueFilterDimensionalityChanged, type IDashboardMeasureValueFilterDimensionalityChangedPayload, isDashboardMeasureValueFilterAdded, isDashboardMeasureValueFilterRemoved, isDashboardMeasureValueFilterMoved, isDashboardMeasureValueFilterTitleChanged, isDashboardMeasureValueFilterConfigModeChanged, isDashboardMeasureValueFilterConditionChanged, isDashboardMeasureValueFilterDimensionalityChanged, isDashboardAttributeFilterAdded, isDashboardAttributeFilterMoved, isDashboardAttributeFilterParentChanged, isDashboardAttributeFilterRemoved, isDashboardAttributeFilterSelectionChanged, isDashboardAttributeFilterItemSelectionReplaced, isDashboardAttributeFilterSelectionModeChanged, isDashboardAttributeFilterTitleChanged, isDashboardDateFilterSelectionChanged, isDashboardFilterContextChanged, isDashboardAttributeFilterConfigModeChanged, isDashboardAttributeFilterConfigLimitingItemsChanged, isDashboardFilterViewCreationSucceeded, isDashboardFilterViewCreationFailed, isDashboardFilterViewDeletionSucceeded, isDashboardFilterViewDeletionFailed, isDashboardFilterViewApplicationSucceeded, isDashboardFilterViewApplicationFailed, isDashboardFilterViewDefaultStatusChangeSucceeded, isDashboardFilterViewDefaultStatusChangeFailed, isDashboardFilterContextSelectionReset, isDashboardFilterContextWorkingSelectionApplied, filterContextSelectionReset, filterContextWorkingSelectionApplied, } from "./model/events/filters.js";
|
|
67
67
|
export { type IDashboardLayoutSectionAdded, type IDashboardLayoutSectionAddedPayload, type IDashboardLayoutSectionMoved, type IDashboardLayoutSectionMovedPayload, type IDashboardLayoutSectionRemoved, type IDashboardLayoutSectionRemovedPayload, type IDashboardLayoutSectionHeaderChanged, type IDashboardLayoutSectionHeaderChangedPayload, type IDashboardLayoutSectionItemsAdded, type IDashboardLayoutSectionItemsAddedPayload, type IDashboardLayoutSectionItemReplaced, type IDashboardLayoutSectionItemReplacedPayload, type IDashboardLayoutSectionItemMoved, type IDashboardLayoutSectionItemMovedPayload, type IDashboardLayoutSectionItemRemoved, type IDashboardLayoutSectionItemRemovedPayload, type IDashboardLayoutSectionItemMovedToNewSection, type IDashboardLayoutSectionItemMovedToNewSectionPayload, type IDashboardLayoutChanged, type IDashboardLayoutChangedPayload, type ILayoutSectionHeadersToggled, type ILayoutSectionHeadersToggledPayload, type IScreenSizeChanged, type IScreenSizeChangedPayload, type ILayoutDirectionChanged, type ILayoutDirectionChangedPayload, isDashboardLayoutChanged, isDashboardLayoutSectionAdded, isDashboardLayoutSectionHeaderChanged, isDashboardLayoutSectionItemMoved, isDashboardLayoutSectionItemMovedToNewSection, isDashboardLayoutSectionItemRemoved, isDashboardLayoutSectionItemReplaced, isDashboardLayoutSectionItemsAdded, isDashboardLayoutSectionMoved, isDashboardLayoutSectionRemoved, isScreenSizeChanged, isLayoutSectionHeadersToggled, isLayoutDirectionChanged, } from "./model/events/layout.js";
|
|
68
68
|
export { type IDashboardKpiWidgetHeaderChanged, type IDashboardKpiWidgetHeaderChangedPayload, type IDashboardKpiWidgetDescriptionChanged, type IDashboardKpiWidgetDescriptionChangedPayload, type IDashboardKpiWidgetConfigurationChanged, type IDashboardKpiWidgetConfigurationChangedPayload, type IDashboardKpiWidgetMeasureChanged, type IDashboardKpiWidgetMeasureChangedPayload, type IDashboardKpiWidgetFilterSettingsChanged, type IDashboardKpiWidgetFilterSettingsChangedPayload, type IDashboardKpiWidgetComparisonChanged, type IDashboardKpiWidgetComparisonChangedPayload, type IDashboardKpiWidgetDrillRemoved, type IDashboardKpiWidgetDrillRemovedPayload, type IDashboardKpiWidgetDrillSet, type IDashboardKpiWidgetDrillSetPayload, type IDashboardKpiWidgetChanged, type IDashboardKpiWidgetChangedPayload, isDashboardKpiWidgetChanged, isDashboardKpiWidgetComparisonChanged, isDashboardKpiWidgetFilterSettingsChanged, isDashboardKpiWidgetHeaderChanged, isDashboardKpiWidgetDescriptionChanged, isDashboardKpiWidgetConfigurationChanged, isDashboardKpiWidgetMeasureChanged, isDashboardKpiWidgetDrillRemoved, isDashboardKpiWidgetDrillSet, } from "./model/events/kpi.js";
|
|
69
69
|
export { type IDashboardInsightWidgetHeaderChanged, type IDashboardInsightWidgetHeaderChangedPayload, type IDashboardInsightWidgetDescriptionChanged, type IDashboardInsightWidgetDescriptionChangedPayload, type IDashboardInsightWidgetFilterSettingsChanged, type IDashboardInsightWidgetFilterSettingsChangedPayload, type IDashboardInsightWidgetVisPropertiesChanged, type IDashboardInsightWidgetVisPropertiesChangedPayload, type IDashboardInsightWidgetVisConfigurationChanged, type IDashboardInsightWidgetVisConfigurationChangedPayload, type IDashboardInsightWidgetInsightSwitched, type IDashboardInsightWidgetInsightSwitchedPayload, type IDashboardInsightWidgetDrillsModified, type IDashboardInsightWidgetDrillsModifiedPayload, type IDashboardInsightWidgetDrillsRemoved, type IDashboardInsightWidgetDrillsRemovedPayload, type IDashboardInsightWidgetChanged, type IDashboardInsightWidgetChangedPayload, type IDashboardInsightWidgetExportRequested, type IDashboardInsightWidgetExportRequestedPayload, type IDashboardInsightWidgetExportResolved, type IDashboardInsightWidgetExportResolvedPayload, type IDashboardInsightWidgetRefreshed, type IDashboardInsightWidgetRefreshedPayload, isDashboardInsightWidgetChanged, isDashboardInsightWidgetDrillsModified, isDashboardInsightWidgetDrillsRemoved, isDashboardInsightWidgetFilterSettingsChanged, isDashboardInsightWidgetHeaderChanged, isDashboardInsightWidgetDescriptionChanged, isDashboardInsightWidgetInsightSwitched, isDashboardInsightWidgetVisPropertiesChanged, isDashboardInsightWidgetVisConfigurationChanged, isDashboardInsightWidgetExportRequested, isDashboardInsightWidgetExportResolved, isDashboardInsightWidgetRefreshed, } from "./model/events/insight.js";
|
package/esm/index.js
CHANGED
|
@@ -26,7 +26,7 @@ export { useWorkspaceUsers } from "./model/react/useWorkspaceUsers.js";
|
|
|
26
26
|
export { selectAutomationCommonDateFilterId, selectAutomationAvailableDashboardFilters, selectAutomationDefaultSelectedFilters, selectAutomationFiltersByTab, selectDashboardFiltersWithoutCrossFiltering, selectDashboardHiddenFilters, selectDashboardLockedFilters, } from "./model/store/filtering/dashboardFilterSelectors.js";
|
|
27
27
|
export { InitialLoadCorrelationId, initializeDashboard, initializeDashboardWithPersistedDashboard, saveDashboardAs, saveDashboard, renameDashboard, resetDashboard, exportDashboardToPdf, exportDashboardToExcel, exportDashboardToPdfPresentation, exportDashboardToPptPresentation, deleteDashboard, changeSharing, setDashboardDateFilterConfigMode, setDashboardDateFilterWithDimensionConfigMode, setDashboardAttributeFilterConfigMode, setDashboardAttributeFilterSelectionType, setDashboardMeasureValueFilterConfigMode, setDateFilterConfigTitle, setAttributeFilterLimitingItems, setDashboardAttributeFilterConfigDisplayAsLabel, changeIgnoreExecutionTimestamp, } from "./model/commands/dashboard.js";
|
|
28
28
|
export { triggerEvent } from "./model/commands/events.js";
|
|
29
|
-
export { changeDateFilterSelection, clearDateFilterSelection, addAttributeFilter, addTextAttributeFilter, moveAttributeFilter, removeAttributeFilter, removeAttributeFilters, addDateFilter, addMeasureValueFilter, removeMeasureValueFilter, removeMeasureValueFilters, removeDateFilter, moveMeasureValueFilter, moveDateFilter, changeMeasureValueFilterCondition, resetAttributeFilterSelection, changeAttributeFilterSelection, changeMigratedAttributeFilterSelection, changeWorkingAttributeFilterSelection, changeWorkingMeasureValueFilterCondition, replaceAttributeFilterItemSelection, replaceWorkingAttributeFilterItemSelection, setAttributeFilterParents, changeFilterContextSelection, changeFilterContextSelectionByParams, applyAttributeFilter, applyDateFilter, setAttributeFilterDisplayForm, setAttributeFilterTitle, setMeasureValueFilterTitle, setAttributeFilterSelectionMode, setAttributeFilterDependentDateFilters, saveFilterView, deleteFilterView, applyFilterView, setFilterViewAsDefault, reloadFilterViews, applyFilterContextWorkingSelection, resetFilterContextWorkingSelection, } from "./model/commands/filters.js";
|
|
29
|
+
export { changeDateFilterSelection, clearDateFilterSelection, addAttributeFilter, addTextAttributeFilter, moveAttributeFilter, removeAttributeFilter, removeAttributeFilters, addDateFilter, addMeasureValueFilter, removeMeasureValueFilter, removeMeasureValueFilters, removeDateFilter, moveMeasureValueFilter, moveDateFilter, changeMeasureValueFilterCondition, setMeasureValueFilterDimensionality, resetAttributeFilterSelection, changeAttributeFilterSelection, changeMigratedAttributeFilterSelection, changeWorkingAttributeFilterSelection, changeWorkingMeasureValueFilterCondition, replaceAttributeFilterItemSelection, replaceWorkingAttributeFilterItemSelection, setAttributeFilterParents, changeFilterContextSelection, changeFilterContextSelectionByParams, applyAttributeFilter, applyDateFilter, setAttributeFilterDisplayForm, setAttributeFilterTitle, setMeasureValueFilterTitle, setAttributeFilterSelectionMode, setAttributeFilterDependentDateFilters, saveFilterView, deleteFilterView, applyFilterView, setFilterViewAsDefault, reloadFilterViews, applyFilterContextWorkingSelection, resetFilterContextWorkingSelection, } from "./model/commands/filters.js";
|
|
30
30
|
export { addLayoutSection, addNestedLayoutSection, moveLayoutSection, moveNestedLayoutSection, removeLayoutSection, removeNestedLayoutSection, changeLayoutSectionHeader, changeNestedLayoutSectionHeader, addSectionItem, addNestedLayoutSectionItem, replaceSectionItem, replaceNestedLayoutSectionItem, moveSectionItem, moveNestedLayoutSectionItem, moveSectionItemAndRemoveOriginalSectionIfEmpty, moveNestedLayoutSectionItemAndRemoveOriginalSectionIfEmpty, moveSectionItemToNewSection, moveNestedLayoutSectionItemToNewSection, moveSectionItemToNewSectionAndRemoveOriginalSectionIfEmpty, moveNestedLayoutSectionItemToNewSectionAndRemoveOriginalSectionIfEmpty, removeSectionItem, removeNestedLayoutSectionItem, eagerRemoveSectionItem, eagerRemoveNestedLayoutSectionItem, removeSectionItemByWidgetRef, eagerRemoveSectionItemByWidgetRef, undoLayoutChanges, revertLastLayoutChange, resizeHeight, resizeNestedLayoutItemsHeight, resizeWidth, resizeNestedLayoutItemWidth, setScreenSize, toggleLayoutSectionHeaders, toggleLayoutDirection, } from "./model/commands/layout.js";
|
|
31
31
|
export { createAlert, saveAlert, } from "./model/commands/alerts.js";
|
|
32
32
|
export { createScheduledEmail, saveScheduledEmail, refreshAutomations, initializeAutomations, } from "./model/commands/scheduledEmail.js";
|
|
@@ -49,7 +49,7 @@ export { isDashboardSaved, isDashboardCopySaved, isDashboardInitialized, isDashb
|
|
|
49
49
|
export { dashboardTabSwitched, isDashboardTabSwitched, dashboardTabCreated, isDashboardTabCreated, dashboardTabConvertedFromDefault, isDashboardTabConvertedFromDefault, dashboardTabDeleted, isDashboardTabDeleted, dashboardTabRenamingStarted, isDashboardTabRenamingStarted, dashboardTabRenamingCanceled, isDashboardTabRenamingCanceled, dashboardTabRenamed, isDashboardTabRenamed, } from "./model/events/tabs.js";
|
|
50
50
|
export { parametersSelectionReset, isDashboardParametersSelectionReset, } from "./model/events/parameters.js";
|
|
51
51
|
export { isDashboardCommandStarted, isDashboardCommandFailed, isDashboardQueryFailed, isDashboardCommandRejected, isDashboardQueryCompleted, isDashboardQueryRejected, isDashboardQueryStarted, } from "./model/events/general.js";
|
|
52
|
-
export { isDashboardMeasureValueFilterAdded, isDashboardMeasureValueFilterRemoved, isDashboardMeasureValueFilterMoved, isDashboardMeasureValueFilterTitleChanged, isDashboardMeasureValueFilterConfigModeChanged, isDashboardMeasureValueFilterConditionChanged, isDashboardAttributeFilterAdded, isDashboardAttributeFilterMoved, isDashboardAttributeFilterParentChanged, isDashboardAttributeFilterRemoved, isDashboardAttributeFilterSelectionChanged, isDashboardAttributeFilterItemSelectionReplaced, isDashboardAttributeFilterSelectionModeChanged, isDashboardAttributeFilterTitleChanged, isDashboardDateFilterSelectionChanged, isDashboardFilterContextChanged, isDashboardAttributeFilterConfigModeChanged, isDashboardAttributeFilterConfigLimitingItemsChanged, isDashboardFilterViewCreationSucceeded, isDashboardFilterViewCreationFailed, isDashboardFilterViewDeletionSucceeded, isDashboardFilterViewDeletionFailed, isDashboardFilterViewApplicationSucceeded, isDashboardFilterViewApplicationFailed, isDashboardFilterViewDefaultStatusChangeSucceeded, isDashboardFilterViewDefaultStatusChangeFailed, isDashboardFilterContextSelectionReset, isDashboardFilterContextWorkingSelectionApplied, filterContextSelectionReset, filterContextWorkingSelectionApplied, } from "./model/events/filters.js";
|
|
52
|
+
export { isDashboardMeasureValueFilterAdded, isDashboardMeasureValueFilterRemoved, isDashboardMeasureValueFilterMoved, isDashboardMeasureValueFilterTitleChanged, isDashboardMeasureValueFilterConfigModeChanged, isDashboardMeasureValueFilterConditionChanged, isDashboardMeasureValueFilterDimensionalityChanged, isDashboardAttributeFilterAdded, isDashboardAttributeFilterMoved, isDashboardAttributeFilterParentChanged, isDashboardAttributeFilterRemoved, isDashboardAttributeFilterSelectionChanged, isDashboardAttributeFilterItemSelectionReplaced, isDashboardAttributeFilterSelectionModeChanged, isDashboardAttributeFilterTitleChanged, isDashboardDateFilterSelectionChanged, isDashboardFilterContextChanged, isDashboardAttributeFilterConfigModeChanged, isDashboardAttributeFilterConfigLimitingItemsChanged, isDashboardFilterViewCreationSucceeded, isDashboardFilterViewCreationFailed, isDashboardFilterViewDeletionSucceeded, isDashboardFilterViewDeletionFailed, isDashboardFilterViewApplicationSucceeded, isDashboardFilterViewApplicationFailed, isDashboardFilterViewDefaultStatusChangeSucceeded, isDashboardFilterViewDefaultStatusChangeFailed, isDashboardFilterContextSelectionReset, isDashboardFilterContextWorkingSelectionApplied, filterContextSelectionReset, filterContextWorkingSelectionApplied, } from "./model/events/filters.js";
|
|
53
53
|
export { isDashboardLayoutChanged, isDashboardLayoutSectionAdded, isDashboardLayoutSectionHeaderChanged, isDashboardLayoutSectionItemMoved, isDashboardLayoutSectionItemMovedToNewSection, isDashboardLayoutSectionItemRemoved, isDashboardLayoutSectionItemReplaced, isDashboardLayoutSectionItemsAdded, isDashboardLayoutSectionMoved, isDashboardLayoutSectionRemoved, isScreenSizeChanged, isLayoutSectionHeadersToggled, isLayoutDirectionChanged, } from "./model/events/layout.js";
|
|
54
54
|
export { isDashboardKpiWidgetChanged, isDashboardKpiWidgetComparisonChanged, isDashboardKpiWidgetFilterSettingsChanged, isDashboardKpiWidgetHeaderChanged, isDashboardKpiWidgetDescriptionChanged, isDashboardKpiWidgetConfigurationChanged, isDashboardKpiWidgetMeasureChanged, isDashboardKpiWidgetDrillRemoved, isDashboardKpiWidgetDrillSet, } from "./model/events/kpi.js";
|
|
55
55
|
export { isDashboardInsightWidgetChanged, isDashboardInsightWidgetDrillsModified, isDashboardInsightWidgetDrillsRemoved, isDashboardInsightWidgetFilterSettingsChanged, isDashboardInsightWidgetHeaderChanged, isDashboardInsightWidgetDescriptionChanged, isDashboardInsightWidgetInsightSwitched, isDashboardInsightWidgetVisPropertiesChanged, isDashboardInsightWidgetVisConfigurationChanged, isDashboardInsightWidgetExportRequested, isDashboardInsightWidgetExportResolved, isDashboardInsightWidgetRefreshed, } from "./model/events/insight.js";
|
|
@@ -468,6 +468,12 @@ function* getMeasureValueFiltersUpdateActions(measureValueFilters, resetOthers)
|
|
|
468
468
|
localIdentifier,
|
|
469
469
|
conditions: incoming.dashboardMeasureValueFilter.conditions,
|
|
470
470
|
}));
|
|
471
|
+
if ("dimensionality" in incoming.dashboardMeasureValueFilter) {
|
|
472
|
+
updateActions.push(tabsActions.setMeasureValueFilterDimensionality({
|
|
473
|
+
localIdentifier,
|
|
474
|
+
dimensionality: incoming.dashboardMeasureValueFilter.dimensionality,
|
|
475
|
+
}));
|
|
476
|
+
}
|
|
471
477
|
}
|
|
472
478
|
if (resetOthers) {
|
|
473
479
|
// Reset any current MVF that wasn't covered by the incoming payload back to the "All"
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type SagaIterator } from "redux-saga";
|
|
2
|
+
import { type ISetMeasureValueFilterDimensionality } from "../../../commands/filters.js";
|
|
3
|
+
import { type DashboardContext } from "../../../types/commonTypes.js";
|
|
4
|
+
export declare function changeMeasureValueFilterDimensionalityHandler(ctx: DashboardContext, cmd: ISetMeasureValueFilterDimensionality): SagaIterator<void>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { call, put, select } from "redux-saga/effects";
|
|
3
|
+
import { invariant } from "ts-invariant";
|
|
4
|
+
import { measureValueFilterDimensionalityChanged } from "../../../events/filters.js";
|
|
5
|
+
import { invalidArgumentsProvided } from "../../../events/general.js";
|
|
6
|
+
import { dispatchDashboardEvent } from "../../../store/_infra/eventDispatcher.js";
|
|
7
|
+
import { selectFilterContextMeasureValueFilterByLocalId } from "../../../store/tabs/filterContext/filterContextSelectors.js";
|
|
8
|
+
import { tabsActions } from "../../../store/tabs/index.js";
|
|
9
|
+
import { dispatchFilterContextChanged } from "../common.js";
|
|
10
|
+
export function* changeMeasureValueFilterDimensionalityHandler(ctx, cmd) {
|
|
11
|
+
const { localIdentifier, dimensionality } = cmd.payload;
|
|
12
|
+
const existingFilter = yield select(selectFilterContextMeasureValueFilterByLocalId(localIdentifier));
|
|
13
|
+
if (!existingFilter) {
|
|
14
|
+
throw invalidArgumentsProvided(ctx, cmd, `Attempting to change dimensionality of measure value filter ${localIdentifier} that does not exist on the dashboard.`);
|
|
15
|
+
}
|
|
16
|
+
yield put(tabsActions.setMeasureValueFilterDimensionality({
|
|
17
|
+
localIdentifier,
|
|
18
|
+
dimensionality,
|
|
19
|
+
}));
|
|
20
|
+
const updatedFilter = yield select(selectFilterContextMeasureValueFilterByLocalId(localIdentifier));
|
|
21
|
+
invariant(updatedFilter, "Inconsistent state in changeMeasureValueFilterDimensionalityHandler");
|
|
22
|
+
yield dispatchDashboardEvent(measureValueFilterDimensionalityChanged(ctx, localIdentifier, updatedFilter, dimensionality, cmd.correlationId));
|
|
23
|
+
yield call(dispatchFilterContextChanged, ctx, cmd);
|
|
24
|
+
}
|
|
@@ -58,6 +58,7 @@ import { removeDateFiltersHandler } from "./filterContext/dateFilter/removeDateF
|
|
|
58
58
|
import { applyFilterViewHandler, deleteFilterViewHandler, reloadFilterViewsHandler, saveFilterViewHandler, setFilterViewAsDefaultHandler, } from "./filterContext/filterViewHandler.js";
|
|
59
59
|
import { addMeasureValueFilterHandler } from "./filterContext/measureValueFilter/addMeasureValueFilterHandler.js";
|
|
60
60
|
import { changeMeasureValueFilterConditionHandler } from "./filterContext/measureValueFilter/changeMeasureValueFilterConditionHandler.js";
|
|
61
|
+
import { changeMeasureValueFilterDimensionalityHandler } from "./filterContext/measureValueFilter/changeMeasureValueFilterDimensionalityHandler.js";
|
|
61
62
|
import { changeMeasureValueFilterTitleHandler } from "./filterContext/measureValueFilter/changeMeasureValueFilterTitleHandler.js";
|
|
62
63
|
import { moveMeasureValueFilterHandler } from "./filterContext/measureValueFilter/moveMeasureValueFilterHandler.js";
|
|
63
64
|
import { removeMeasureValueFilterHandler } from "./filterContext/measureValueFilter/removeMeasureValueFilterHandler.js";
|
|
@@ -165,6 +166,7 @@ export const DefaultCommandHandlers = {
|
|
|
165
166
|
"GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.REMOVE": removeMeasureValueFilterHandler,
|
|
166
167
|
"GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.MOVE": moveMeasureValueFilterHandler,
|
|
167
168
|
"GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CHANGE_CONDITION": changeMeasureValueFilterConditionHandler,
|
|
169
|
+
"GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_DIMENSIONALITY": changeMeasureValueFilterDimensionalityHandler,
|
|
168
170
|
"GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_TITLE": changeMeasureValueFilterTitleHandler,
|
|
169
171
|
"GDC.DASH/CMD.FILTER_CONTEXT.APPLY_WORKING_SELECTION": applyWorkingSelectionHandler,
|
|
170
172
|
"GDC.DASH/CMD.FILTER_CONTEXT.RESET_WORKING_SELECTION": resetWorkingSelectionHandler,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
|
-
export type DashboardCommandType = "GDC.DASH/CMD.INITIALIZE" | "GDC.DASH/CMD.SAVE" | "GDC.DASH/CMD.SAVEAS" | "GDC.DASH/CMD.RESET" | "GDC.DASH/CMD.RENAME" | "GDC.DASH/CMD.DELETE" | "GDC.DASH/CMD.CHANGE_RENDER_MODE" | "GDC.DASH/CMD.SHARING.CHANGE" | "GDC.DASH/CMD.EXPORT.PDF" | "GDC.DASH/CMD.EXPORT.EXCEL" | "GDC.DASH/CMD.EXPORT.PDF_PRESENTATION" | "GDC.DASH/CMD.EXPORT.PPT_PRESENTATION" | "GDC.DASH/CMD.EVENT.TRIGGER" | "GDC.DASH/CMD.EXECUTION_RESULT.UPSERT" | "GDC.DASH/CMD.FILTER_CONTEXT.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.TEXT_ATTRIBUTE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER_ITEM.REPLACE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_PARENTS" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DISPLAY_FORM" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_TITLE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_SELECTION_MODE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DEPENDENT_DATE_FILTERS" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CHANGE_CONDITION" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_TITLE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.MEASURE_VALUE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_AVAILABLE_MODE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_LIMITING_ITEMS" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_DISPLAY_AS_LABEL" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_WITH_DIMENSION_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_TITLE" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM_TO_NEW_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.CHANGE_SECTION_HEADER" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_ITEMS" | "GDC.DASH/CMD.FLUID_LAYOUT.REPLACE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM_BY_WIDGET_REF" | "GDC.DASH/CMD.FLUID_LAYOUT.UNDO" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_HEIGHT" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_WIDTH" | "GDC.DASH/CMD.FLUID_LAYOUT.SET_SCREEN_SIZE" | "GDC.DASH/CMD.FLEXIBLE_LAYOUT.TOGGLE_LAYOUT_SECTION_HEADERS" | "GDC.DASH/CMD.FLEXIBLE_LAYOUT.TOGGLE_LAYOUT_DIRECTION" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_MEASURE" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_COMPARISON" | "GDC.DASH/CMD.KPI_WIDGET.REFRESH" | "GDC.DASH/CMD.KPI_WIDGET.SET_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.REMOVE_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_PROPERTIES" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_INSIGHT" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_IGNORE_CROSS_FILTERING" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILL_TO_URL" | "GDC.DASH/CMD.INSIGHT_WIDGET.ADD_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.REFRESH" | "GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_CONTENT" | "GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.ADD_VISUALIZATION" | "GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.UPDATE_VISUALIZATIONS" | "GDC.DASH/CMD.ALERT.CREATE" | "GDC.DASH/CMD.ALERT.SAVE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.CREATE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.SAVE" | "GDC.DASH/CMD.DRILL" | "GDC.DASH/CMD.DRILL.DRILL_DOWN" | "GDC.DASH/CMD.DRILL.DRILL_TO_INSIGHT" | "GDC.DASH/CMD.DRILL.DRILL_TO_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILL_TO_ATTRIBUTE_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_CUSTOM_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_LEGACY_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILLABLE_ITEMS.CHANGE" | "GDC.DASH/CMD.DRILL.CROSS_FILTERING" | "GDC.DASH/CMD.DRILL.KEY_DRIVER_ANALYSIS" | "GDC.DASH/CMD.DRILL_TARGETS.ADD" | "GDC.DASH/CMD.RENDER.ASYNC.REQUEST" | "GDC.DASH/CMD.RENDER.ASYNC.RESOLVE" | "GDC.DASH/CMD.ATTRIBUTE_HIERARCHY_MODIFIED" | "GDC.DASH/CMD.AUTOMATIONS.INITIALIZE" | "GDC.DASH/CMD.AUTOMATIONS.REFRESH" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.SAVE" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.DELETE" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.APPLY" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.RELOAD" | "GDC.DASH/CMD.FILTER_CONTEXT.APPLY_WORKING_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.RESET_WORKING_SELECTION" | "GDC.DASH/CMD.CHANGE_IGNORE_EXECUTION_TIMESTAMP" | "GDC.DASH/CMD.TAB.SWITCH" | "GDC.DASH/CMD.TAB.REPOSITION" | "GDC.DASH/CMD.TAB.CREATE" | "GDC.DASH/CMD.TAB.CONVERT_FROM_DEFAULT" | "GDC.DASH/CMD.TAB.DELETE" | "GDC.DASH/CMD.TAB.RENAME_MODE.START" | "GDC.DASH/CMD.TAB.RENAME_MODE.CANCEL" | "GDC.DASH/CMD.TAB.RENAME" | "GDC.DASH/CMD.USERS.LOAD_ALL" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_RAW" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_SLIDES" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_IMAGE" | "GDC.DASH/CMD.SHOW_WIDGET_AS_TABLE.SET" | "GDC.DASH/CMD.CHANGE_DENSITY" | "GDC.DASH/CMD.OPEN_DENSITY_DIALOG";
|
|
12
|
+
export type DashboardCommandType = "GDC.DASH/CMD.INITIALIZE" | "GDC.DASH/CMD.SAVE" | "GDC.DASH/CMD.SAVEAS" | "GDC.DASH/CMD.RESET" | "GDC.DASH/CMD.RENAME" | "GDC.DASH/CMD.DELETE" | "GDC.DASH/CMD.CHANGE_RENDER_MODE" | "GDC.DASH/CMD.SHARING.CHANGE" | "GDC.DASH/CMD.EXPORT.PDF" | "GDC.DASH/CMD.EXPORT.EXCEL" | "GDC.DASH/CMD.EXPORT.PDF_PRESENTATION" | "GDC.DASH/CMD.EXPORT.PPT_PRESENTATION" | "GDC.DASH/CMD.EVENT.TRIGGER" | "GDC.DASH/CMD.EXECUTION_RESULT.UPSERT" | "GDC.DASH/CMD.FILTER_CONTEXT.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.TEXT_ATTRIBUTE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER_ITEM.REPLACE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_PARENTS" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DISPLAY_FORM" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_TITLE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_SELECTION_MODE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DEPENDENT_DATE_FILTERS" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CHANGE_CONDITION" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_DIMENSIONALITY" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_TITLE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.MEASURE_VALUE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_AVAILABLE_MODE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_LIMITING_ITEMS" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_DISPLAY_AS_LABEL" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_WITH_DIMENSION_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_TITLE" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM_TO_NEW_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.CHANGE_SECTION_HEADER" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_ITEMS" | "GDC.DASH/CMD.FLUID_LAYOUT.REPLACE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM_BY_WIDGET_REF" | "GDC.DASH/CMD.FLUID_LAYOUT.UNDO" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_HEIGHT" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_WIDTH" | "GDC.DASH/CMD.FLUID_LAYOUT.SET_SCREEN_SIZE" | "GDC.DASH/CMD.FLEXIBLE_LAYOUT.TOGGLE_LAYOUT_SECTION_HEADERS" | "GDC.DASH/CMD.FLEXIBLE_LAYOUT.TOGGLE_LAYOUT_DIRECTION" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_MEASURE" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_COMPARISON" | "GDC.DASH/CMD.KPI_WIDGET.REFRESH" | "GDC.DASH/CMD.KPI_WIDGET.SET_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.REMOVE_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_PROPERTIES" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_INSIGHT" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_IGNORE_CROSS_FILTERING" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILL_TO_URL" | "GDC.DASH/CMD.INSIGHT_WIDGET.ADD_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.REFRESH" | "GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_CONTENT" | "GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.ADD_VISUALIZATION" | "GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.UPDATE_VISUALIZATIONS" | "GDC.DASH/CMD.ALERT.CREATE" | "GDC.DASH/CMD.ALERT.SAVE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.CREATE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.SAVE" | "GDC.DASH/CMD.DRILL" | "GDC.DASH/CMD.DRILL.DRILL_DOWN" | "GDC.DASH/CMD.DRILL.DRILL_TO_INSIGHT" | "GDC.DASH/CMD.DRILL.DRILL_TO_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILL_TO_ATTRIBUTE_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_CUSTOM_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_LEGACY_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILLABLE_ITEMS.CHANGE" | "GDC.DASH/CMD.DRILL.CROSS_FILTERING" | "GDC.DASH/CMD.DRILL.KEY_DRIVER_ANALYSIS" | "GDC.DASH/CMD.DRILL_TARGETS.ADD" | "GDC.DASH/CMD.RENDER.ASYNC.REQUEST" | "GDC.DASH/CMD.RENDER.ASYNC.RESOLVE" | "GDC.DASH/CMD.ATTRIBUTE_HIERARCHY_MODIFIED" | "GDC.DASH/CMD.AUTOMATIONS.INITIALIZE" | "GDC.DASH/CMD.AUTOMATIONS.REFRESH" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.SAVE" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.DELETE" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.APPLY" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.RELOAD" | "GDC.DASH/CMD.FILTER_CONTEXT.APPLY_WORKING_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.RESET_WORKING_SELECTION" | "GDC.DASH/CMD.CHANGE_IGNORE_EXECUTION_TIMESTAMP" | "GDC.DASH/CMD.TAB.SWITCH" | "GDC.DASH/CMD.TAB.REPOSITION" | "GDC.DASH/CMD.TAB.CREATE" | "GDC.DASH/CMD.TAB.CONVERT_FROM_DEFAULT" | "GDC.DASH/CMD.TAB.DELETE" | "GDC.DASH/CMD.TAB.RENAME_MODE.START" | "GDC.DASH/CMD.TAB.RENAME_MODE.CANCEL" | "GDC.DASH/CMD.TAB.RENAME" | "GDC.DASH/CMD.USERS.LOAD_ALL" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_RAW" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_SLIDES" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_IMAGE" | "GDC.DASH/CMD.SHOW_WIDGET_AS_TABLE.SET" | "GDC.DASH/CMD.CHANGE_DENSITY" | "GDC.DASH/CMD.OPEN_DENSITY_DIALOG";
|
|
13
13
|
/**
|
|
14
14
|
* @public
|
|
15
15
|
*/
|
|
@@ -1321,6 +1321,41 @@ export declare function changeMeasureValueFilterCondition(localIdentifier: strin
|
|
|
1321
1321
|
* @returns change measure value filter condition command
|
|
1322
1322
|
*/
|
|
1323
1323
|
export declare function changeWorkingMeasureValueFilterCondition(localIdentifier: string, conditions?: MeasureValueFilterCondition[], correlationId?: string): IChangeMeasureValueFilterCondition;
|
|
1324
|
+
/**
|
|
1325
|
+
* Payload of the {@link ISetMeasureValueFilterDimensionality} command.
|
|
1326
|
+
*
|
|
1327
|
+
* @alpha
|
|
1328
|
+
*/
|
|
1329
|
+
export interface ISetMeasureValueFilterDimensionalityPayload {
|
|
1330
|
+
/**
|
|
1331
|
+
* Local identifier of the measure value filter to update.
|
|
1332
|
+
*/
|
|
1333
|
+
readonly localIdentifier: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* Fixed dashboard-level dimensionality to apply. When empty or undefined, the filter
|
|
1336
|
+
* falls back to widget-level granularity inheritance.
|
|
1337
|
+
*/
|
|
1338
|
+
readonly dimensionality?: ObjRef[];
|
|
1339
|
+
}
|
|
1340
|
+
/**
|
|
1341
|
+
* Command for changing the dashboard-level dimensionality of an existing measure value filter.
|
|
1342
|
+
*
|
|
1343
|
+
* @alpha
|
|
1344
|
+
*/
|
|
1345
|
+
export interface ISetMeasureValueFilterDimensionality extends IDashboardCommand {
|
|
1346
|
+
readonly type: "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_DIMENSIONALITY";
|
|
1347
|
+
readonly payload: ISetMeasureValueFilterDimensionalityPayload;
|
|
1348
|
+
}
|
|
1349
|
+
/**
|
|
1350
|
+
* Creates the {@link ISetMeasureValueFilterDimensionality} command.
|
|
1351
|
+
*
|
|
1352
|
+
* @alpha
|
|
1353
|
+
* @param localIdentifier - local identifier of the measure value filter to update
|
|
1354
|
+
* @param dimensionality - fixed dashboard-level dimensionality, or undefined to inherit per-widget granularity
|
|
1355
|
+
* @param correlationId - correlation id propagated through emitted events
|
|
1356
|
+
* @returns set measure value filter dimensionality command
|
|
1357
|
+
*/
|
|
1358
|
+
export declare function setMeasureValueFilterDimensionality(localIdentifier: string, dimensionality?: ObjRef[], correlationId?: string): ISetMeasureValueFilterDimensionality;
|
|
1324
1359
|
/**
|
|
1325
1360
|
* Payload of the {@link ISetMeasureValueFilterTitle} command.
|
|
1326
1361
|
*
|
|
@@ -985,6 +985,25 @@ export function changeWorkingMeasureValueFilterCondition(localIdentifier, condit
|
|
|
985
985
|
},
|
|
986
986
|
};
|
|
987
987
|
}
|
|
988
|
+
/**
|
|
989
|
+
* Creates the {@link ISetMeasureValueFilterDimensionality} command.
|
|
990
|
+
*
|
|
991
|
+
* @alpha
|
|
992
|
+
* @param localIdentifier - local identifier of the measure value filter to update
|
|
993
|
+
* @param dimensionality - fixed dashboard-level dimensionality, or undefined to inherit per-widget granularity
|
|
994
|
+
* @param correlationId - correlation id propagated through emitted events
|
|
995
|
+
* @returns set measure value filter dimensionality command
|
|
996
|
+
*/
|
|
997
|
+
export function setMeasureValueFilterDimensionality(localIdentifier, dimensionality, correlationId) {
|
|
998
|
+
return {
|
|
999
|
+
type: "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_DIMENSIONALITY",
|
|
1000
|
+
correlationId,
|
|
1001
|
+
payload: {
|
|
1002
|
+
localIdentifier,
|
|
1003
|
+
dimensionality,
|
|
1004
|
+
},
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
988
1007
|
/**
|
|
989
1008
|
* Creates the {@link ISetMeasureValueFilterTitle} command.
|
|
990
1009
|
*
|
|
@@ -5,7 +5,7 @@ import { type IChangeDrillableItems, type ICrossFiltering, type IDrill, type IDr
|
|
|
5
5
|
import { type IAddDrillTargets } from "./drillTargets.js";
|
|
6
6
|
import { type ITriggerEvent } from "./events.js";
|
|
7
7
|
import { type IUpsertExecutionResult } from "./executionResults.js";
|
|
8
|
-
import { type ChangeAttributeFilterSelection, type ChangeDateFilterSelection, type ChangeFilterContextSelection, type IAddAttributeFilter, type IAddDateFilter, type IAddMeasureValueFilter, type IAddTextAttributeFilter, type IApplyFilterContextWorkingSelection, type IApplyFilterView, type IChangeMeasureValueFilterCondition, type IDeleteFilterView, type IMoveAttributeFilter, type IMoveDateFilter, type IMoveMeasureValueFilter, type IReloadFilterViews, type IRemoveAttributeFilters, type IRemoveDateFilters, type IRemoveMeasureValueFilters, type IResetFilterContextWorkingSelection, type ISaveFilterView, type ISetAttributeFilterDependentDateFilters, type ISetAttributeFilterDisplayForm, type ISetAttributeFilterParents, type ISetAttributeFilterSelectionMode, type ISetAttributeFilterTitle, type ISetFilterViewAsDefault, type ISetMeasureValueFilterTitle, type ReplaceAttributeFilterItemSelection } from "./filters.js";
|
|
8
|
+
import { type ChangeAttributeFilterSelection, type ChangeDateFilterSelection, type ChangeFilterContextSelection, type IAddAttributeFilter, type IAddDateFilter, type IAddMeasureValueFilter, type IAddTextAttributeFilter, type IApplyFilterContextWorkingSelection, type IApplyFilterView, type IChangeMeasureValueFilterCondition, type IDeleteFilterView, type IMoveAttributeFilter, type IMoveDateFilter, type IMoveMeasureValueFilter, type IReloadFilterViews, type IRemoveAttributeFilters, type IRemoveDateFilters, type IRemoveMeasureValueFilters, type IResetFilterContextWorkingSelection, type ISaveFilterView, type ISetAttributeFilterDependentDateFilters, type ISetAttributeFilterDisplayForm, type ISetAttributeFilterParents, type ISetAttributeFilterSelectionMode, type ISetAttributeFilterTitle, type ISetFilterViewAsDefault, type ISetMeasureValueFilterDimensionality, type ISetMeasureValueFilterTitle, type ReplaceAttributeFilterItemSelection } from "./filters.js";
|
|
9
9
|
import { type ChangeInsightWidgetVisConfiguration, type IAddDrillDownForInsightWidget, type IAttributeHierarchyModified, type IChangeInsightWidgetDescription, type IChangeInsightWidgetFilterSettings, type IChangeInsightWidgetHeader, type IChangeInsightWidgetIgnoreCrossFiltering, type IChangeInsightWidgetInsight, type IChangeInsightWidgetVisProperties, type IExportImageInsightWidget, type IExportInsightWidget, type IExportRawInsightWidget, type IExportSlidesInsightWidget, type IModifyDrillDownForInsightWidget, type IModifyDrillsForInsightWidget, type IRefreshInsightWidget, type IRemoveDrillDownForInsightWidget, type IRemoveDrillToUrlForInsightWidget, type IRemoveDrillsForInsightWidget } from "./insight.js";
|
|
10
10
|
import { type IChangeKpiWidgetComparison, type IChangeKpiWidgetConfiguration, type IChangeKpiWidgetDescription, type IChangeKpiWidgetFilterSettings, type IChangeKpiWidgetHeader, type IChangeKpiWidgetMeasure, type IRefreshKpiWidget, type IRemoveDrillForKpiWidget, type ISetDrillForKpiWidget } from "./kpi.js";
|
|
11
11
|
import { type ChangeLayoutSectionHeader, type IAddLayoutSection, type IAddSectionItems, type IMoveLayoutSection, type IMoveSectionItem, type IMoveSectionItemToNewSection, type IRemoveLayoutSection, type IRemoveSectionItem, type IRemoveSectionItemByWidgetRef, type IReplaceSectionItem, type IResizeHeight, type IResizeWidth, type ISetScreenSize, type IToggleLayoutDirection, type IToggleLayoutSectionHeaders, type IUndoLayoutChanges } from "./layout.js";
|
|
@@ -27,4 +27,4 @@ import { type IAddVisualizationToVisualizationSwitcherWidgetContent, type IUpdat
|
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
|
-
export type DashboardCommands = InitializeDashboard | SaveDashboardAs | RequestAsyncRender | ResolveAsyncRender | ChangeFilterContextSelection | ChangeDateFilterSelection | ChangeAttributeFilterSelection | ReplaceAttributeFilterItemSelection | IChangeRenderMode | IChangeDashboardDensity | IRequestOpenDensityDialog | ISaveDashboard | IRenameDashboard | IResetDashboard | IExportDashboardToPdf | IExportDashboardToExcel | IExportDashboardToPdfPresentation | IExportDashboardToPptPresentation | IDeleteDashboard | ITriggerEvent | IUpsertExecutionResult | IAddAttributeFilter | IAddTextAttributeFilter | IRemoveAttributeFilters | IMoveAttributeFilter | ISetAttributeFilterParents | ISetAttributeFilterDependentDateFilters | IAddLayoutSection | IMoveLayoutSection | IRemoveLayoutSection | ChangeLayoutSectionHeader | IResizeHeight | IResizeWidth | IAddSectionItems | IReplaceSectionItem | IMoveSectionItem | IMoveSectionItemToNewSection | IRemoveSectionItem | IRemoveSectionItemByWidgetRef | IUndoLayoutChanges | IChangeKpiWidgetHeader | IChangeKpiWidgetDescription | IChangeKpiWidgetConfiguration | IChangeKpiWidgetMeasure | IChangeKpiWidgetFilterSettings | IChangeKpiWidgetComparison | IRefreshKpiWidget | ISetDrillForKpiWidget | IRemoveDrillForKpiWidget | IChangeInsightWidgetHeader | IChangeInsightWidgetDescription | IChangeInsightWidgetIgnoreCrossFiltering | IChangeInsightWidgetFilterSettings | IChangeInsightWidgetVisProperties | ChangeInsightWidgetVisConfiguration | IChangeInsightWidgetInsight | IModifyDrillsForInsightWidget | IRemoveDrillsForInsightWidget | IRefreshInsightWidget | IExportInsightWidget | ICreateAlert | ISaveAlert | ICreateScheduledEmail | ISaveScheduledEmail | IChangeSharing | ISetAttributeFilterDisplayForm | ISetAttributeFilterTitle | ISetMeasureValueFilterTitle | ISetAttributeFilterSelectionMode | IChangeRichTextWidgetContent | IChangeRichTextWidgetFilterSettings | IAddVisualizationToVisualizationSwitcherWidgetContent | IUpdateVisualizationsFromVisualizationSwitcherWidgetContent | IDrill | IDrillDown | IDrillToAttributeUrl | IDrillToCustomUrl | IDrillToDashboard | IDrillToInsight | IDrillToLegacyDashboard | IChangeDrillableItems | IAddDrillTargets | ISetDashboardDateFilterConfigMode | ISetDashboardAttributeFilterConfigMode | ISetDashboardMeasureValueFilterConfigMode | ISetDashboardAttributeFilterSelectionType | ISetDashboardAttributeFilterConfigDisplayAsLabel | IRemoveDrillDownForInsightWidget | IRemoveDrillToUrlForInsightWidget | IAddDrillDownForInsightWidget | IModifyDrillDownForInsightWidget | ICrossFiltering | IKeyDriverAnalysis | IAttributeHierarchyModified | IAddDateFilter | IAddMeasureValueFilter | IRemoveMeasureValueFilters | IRemoveDateFilters | IMoveDateFilter | IChangeMeasureValueFilterCondition | IMoveMeasureValueFilter | ISetDashboardDateFilterWithDimensionConfigMode | ISetDateFilterConfigTitle | IInitializeAutomations | IRefreshAutomations | ISetAttributeFilterLimitingItems | ISaveFilterView | IDeleteFilterView | IApplyFilterView | ISetFilterViewAsDefault | IReloadFilterViews | IToggleLayoutSectionHeaders | IToggleLayoutDirection | IApplyFilterContextWorkingSelection | IResetFilterContextWorkingSelection | IChangeIgnoreExecutionTimestamp | ISwitchDashboardTab | IConvertDashboardTabFromDefault | ICreateDashboardTab | IRepositionDashboardTab | IDeleteDashboardTab | IStartRenamingDashboardTab | ICancelRenamingDashboardTab | IRenameDashboardTab | ISetScreenSize | ILoadAllWorkspaceUsers | IExportRawInsightWidget | IExportSlidesInsightWidget | IExportImageInsightWidget | ISetShowWidgetAsTable;
|
|
30
|
+
export type DashboardCommands = InitializeDashboard | SaveDashboardAs | RequestAsyncRender | ResolveAsyncRender | ChangeFilterContextSelection | ChangeDateFilterSelection | ChangeAttributeFilterSelection | ReplaceAttributeFilterItemSelection | IChangeRenderMode | IChangeDashboardDensity | IRequestOpenDensityDialog | ISaveDashboard | IRenameDashboard | IResetDashboard | IExportDashboardToPdf | IExportDashboardToExcel | IExportDashboardToPdfPresentation | IExportDashboardToPptPresentation | IDeleteDashboard | ITriggerEvent | IUpsertExecutionResult | IAddAttributeFilter | IAddTextAttributeFilter | IRemoveAttributeFilters | IMoveAttributeFilter | ISetAttributeFilterParents | ISetAttributeFilterDependentDateFilters | IAddLayoutSection | IMoveLayoutSection | IRemoveLayoutSection | ChangeLayoutSectionHeader | IResizeHeight | IResizeWidth | IAddSectionItems | IReplaceSectionItem | IMoveSectionItem | IMoveSectionItemToNewSection | IRemoveSectionItem | IRemoveSectionItemByWidgetRef | IUndoLayoutChanges | IChangeKpiWidgetHeader | IChangeKpiWidgetDescription | IChangeKpiWidgetConfiguration | IChangeKpiWidgetMeasure | IChangeKpiWidgetFilterSettings | IChangeKpiWidgetComparison | IRefreshKpiWidget | ISetDrillForKpiWidget | IRemoveDrillForKpiWidget | IChangeInsightWidgetHeader | IChangeInsightWidgetDescription | IChangeInsightWidgetIgnoreCrossFiltering | IChangeInsightWidgetFilterSettings | IChangeInsightWidgetVisProperties | ChangeInsightWidgetVisConfiguration | IChangeInsightWidgetInsight | IModifyDrillsForInsightWidget | IRemoveDrillsForInsightWidget | IRefreshInsightWidget | IExportInsightWidget | ICreateAlert | ISaveAlert | ICreateScheduledEmail | ISaveScheduledEmail | IChangeSharing | ISetAttributeFilterDisplayForm | ISetAttributeFilterTitle | ISetMeasureValueFilterTitle | ISetMeasureValueFilterDimensionality | ISetAttributeFilterSelectionMode | IChangeRichTextWidgetContent | IChangeRichTextWidgetFilterSettings | IAddVisualizationToVisualizationSwitcherWidgetContent | IUpdateVisualizationsFromVisualizationSwitcherWidgetContent | IDrill | IDrillDown | IDrillToAttributeUrl | IDrillToCustomUrl | IDrillToDashboard | IDrillToInsight | IDrillToLegacyDashboard | IChangeDrillableItems | IAddDrillTargets | ISetDashboardDateFilterConfigMode | ISetDashboardAttributeFilterConfigMode | ISetDashboardMeasureValueFilterConfigMode | ISetDashboardAttributeFilterSelectionType | ISetDashboardAttributeFilterConfigDisplayAsLabel | IRemoveDrillDownForInsightWidget | IRemoveDrillToUrlForInsightWidget | IAddDrillDownForInsightWidget | IModifyDrillDownForInsightWidget | ICrossFiltering | IKeyDriverAnalysis | IAttributeHierarchyModified | IAddDateFilter | IAddMeasureValueFilter | IRemoveMeasureValueFilters | IRemoveDateFilters | IMoveDateFilter | IChangeMeasureValueFilterCondition | IMoveMeasureValueFilter | ISetDashboardDateFilterWithDimensionConfigMode | ISetDateFilterConfigTitle | IInitializeAutomations | IRefreshAutomations | ISetAttributeFilterLimitingItems | ISaveFilterView | IDeleteFilterView | IApplyFilterView | ISetFilterViewAsDefault | IReloadFilterViews | IToggleLayoutSectionHeaders | IToggleLayoutDirection | IApplyFilterContextWorkingSelection | IResetFilterContextWorkingSelection | IChangeIgnoreExecutionTimestamp | ISwitchDashboardTab | IConvertDashboardTabFromDefault | ICreateDashboardTab | IRepositionDashboardTab | IDeleteDashboardTab | IStartRenamingDashboardTab | ICancelRenamingDashboardTab | IRenameDashboardTab | ISetScreenSize | ILoadAllWorkspaceUsers | IExportRawInsightWidget | IExportSlidesInsightWidget | IExportImageInsightWidget | ISetShowWidgetAsTable;
|
|
@@ -19,7 +19,7 @@ import { type DashboardContext } from "../types/commonTypes.js";
|
|
|
19
19
|
*
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
|
-
export type DashboardEventType = "GDC.DASH/EVT.COMMAND.FAILED" | "GDC.DASH/EVT.COMMAND.REJECTED" | "GDC.DASH/EVT.COMMAND.STARTED" | "GDC.DASH/EVT.QUERY.FAILED" | "GDC.DASH/EVT.QUERY.REJECTED" | "GDC.DASH/EVT.QUERY.STARTED" | "GDC.DASH/EVT.QUERY.COMPLETED" | "GDC.DASH/EVT.USER_INTERACTION.TRIGGERED" | "GDC.DASH/EVT.INITIALIZED" | "GDC.DASH/EVT.DEINITIALIZED" | "GDC.DASH/EVT.SAVED" | "GDC.DASH/EVT.COPY_SAVED" | "GDC.DASH/EVT.RENAMED" | "GDC.DASH/EVT.RESET" | "GDC.DASH/EVT.DELETED" | "GDC.DASH/EVT.RENDER_MODE.CHANGED" | "GDC.DASH/EVT.EXPORT.PDF.REQUESTED" | "GDC.DASH/EVT.EXPORT.PDF.RESOLVED" | "GDC.DASH/EVT.EXPORT.PDF_PRESENTATION.REQUESTED" | "GDC.DASH/EVT.EXPORT.PDF_PRESENTATION.RESOLVED" | "GDC.DASH/EVT.EXPORT.PPT_PRESENTATION.REQUESTED" | "GDC.DASH/EVT.EXPORT.PPT_PRESENTATION.RESOLVED" | "GDC.DASH/EVT.EXPORT.IMAGE.REQUESTED" | "GDC.DASH/EVT.EXPORT.IMAGE.RESOLVED" | "GDC.DASH/EVT.EXPORT.EXCEL.RESOLVED" | "GDC.DASH/EVT.EXPORT.EXCEL.REQUESTED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.VALIDATION.FAILED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.SELECTION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CONDITION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.TITLE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.SELECTION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER_ITEM.SELECTION_REPLACED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.PARENT_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.DISPLAY_FORM_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.SELECTION_MODE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.TITLE_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.MEASURE_VALUE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.LIMITING_ITEMS_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.DISPLAY_AS_LABEL_CHANGED" | "GDC.DASH/EVT.DATE_FILTER_CONFIG.TITLE_CHANGED" | "GDC.DASH/EVT.DATE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ADDED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_MOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_REMOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_HEADER_CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ITEM_WIDTH_RESIZED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ITEMS_HEIGHT_RESIZED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEMS_ADDED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_REPLACED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_MOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_MOVED_TO_NEW_SECTION" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_REMOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.LAYOUT_CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SCREEN_SIZE_CHANGED" | "GDC.DASH/EVT.FLEXIBLE_LAYOUT.LAYOUT_SECTION_HEADERS_TOGGLED" | "GDC.DASH/EVT.FLEXIBLE_LAYOUT.LAYOUT_DIRECTION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.HEADER_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.DESCRIPTION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.CONFIGURATION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.MEASURE_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.COMPARISON_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.DRILL_REMOVED" | "GDC.DASH/EVT.KPI_WIDGET.DRILL_SET" | "GDC.DASH/EVT.KPI_WIDGET.WIDGET_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.HEADER_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DESCRIPTION_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.PROPERTIES_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.CONFIGURATION_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.IGNORE_CROSS_FILTERING_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.INSIGHT_SWITCHED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILLS_MODIFIED" | "GDC.DASH/EVT.SHOW_WIDGET_AS_TABLE.SET" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILLS_REMOVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_REMOVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_ADDED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_MODIFIED" | "GDC.DASH/EVT.INSIGHT_WIDGET.WIDGET_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.EXPORT_REQUESTED" | "GDC.DASH/EVT.INSIGHT_WIDGET.EXPORT_RESOLVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.REFRESHED" | "GDC.DASH/EVT.RICH_TEXT_WIDGET.CONTENT_CHANGED" | "GDC.DASH/EVT.RICH_TEXT_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.VISUALIZATION_SWITCHER_WIDGET.VISUALIZATION_ADDED" | "GDC.DASH/EVT.VISUALIZATION_SWITCHER_WIDGET.VISUALIZATIONS_UPDATED" | "GDC.DASH/EVT.WIDGET.EXECUTION_STARTED" | "GDC.DASH/EVT.WIDGET.EXECUTION_FAILED" | "GDC.DASH/EVT.WIDGET.EXECUTION_SUCCEEDED" | "GDC.DASH/EVT.ALERT.CREATED" | "GDC.DASH/EVT.ALERT.SAVED" | "GDC.DASH/EVT.SCHEDULED_EMAIL.CREATED" | "GDC.DASH/EVT.SCHEDULED_EMAIL.SAVED" | "GDC.DASH/EVT.DRILL.REQUESTED" | "GDC.DASH/EVT.DRILL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_DOWN.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_DOWN.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_INSIGHT.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_INSIGHT.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_DASHBOARD.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_DASHBOARD.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_ATTRIBUTE_URL.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_ATTRIBUTE_URL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_LEGACY_DASHBOARD.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_LEGACY_DASHBOARD.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILLABLE_ITEMS.CHANGED" | "GDC.DASH/EVT.DRILL.CROSS_FILTERING.REQUESTED" | "GDC.DASH/EVT.DRILL.CROSS_FILTERING.RESOLVED" | "GDC.DASH/EVT.DRILL.KEY_DRIVER_ANALYSIS.REQUESTED" | "GDC.DASH/EVT.DRILL.KEY_DRIVER_ANALYSIS.RESOLVED" | "GDC.DASH/EVT.DRILL_TARGETS.ADDED" | "GDC.DASH/EVT.RENDER.REQUESTED" | "GDC.DASH/EVT.RENDER.ASYNC.REQUESTED" | "GDC.DASH/EVT.RENDER.ASYNC.RESOLVED" | "GDC.DASH/EVT.RENDER.RESOLVED" | "GDC.DASH/EVT.SHARING.CHANGED" | "GDC.DASH/EVT.CREATE_INSIGHT_REQUESTED" | "GDC.DASH/EVT.CREATE_ATTRIBUTE_HIERARCHY_REQUESTED" | "GDC.DASH/EVT.DELETE_ATTRIBUTE_HIERARCHY_REQUESTED" | "GDC.DASH/EVT.ATTRIBUTE_HIERARCHY_MODIFIED" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CREATE.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CREATE.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.DELETE.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.DELETE.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.APPLY.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.APPLY.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS.FAILURE" | "GDC.DASH/EVT.AUTOMATIONS.REFRESHED" | "GDC.DASH/EVT.IGNORE_EXECUTION_TIMESTAMP_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.SELECTION.RESET" | "GDC.DASH/EVT.FILTER_CONTEXT.WORKING_SELECTION.APPLIED" | "GDC.DASH/EVT.TAB.SWITCHED" | "GDC.DASH/EVT.TAB.REPOSITIONED" | "GDC.DASH/EVT.TAB.CONVERTED_FROM_DEFAULT" | "GDC.DASH/EVT.TAB.CREATED" | "GDC.DASH/EVT.TAB.DELETED" | "GDC.DASH/EVT.TAB.RENAME_MODE.STARTED" | "GDC.DASH/EVT.TAB.RENAME_MODE.CANCELED" | "GDC.DASH/EVT.TAB.RENAMED" | "GDC.DASH/EVT.PARAMETERS.SELECTION.RESET";
|
|
22
|
+
export type DashboardEventType = "GDC.DASH/EVT.COMMAND.FAILED" | "GDC.DASH/EVT.COMMAND.REJECTED" | "GDC.DASH/EVT.COMMAND.STARTED" | "GDC.DASH/EVT.QUERY.FAILED" | "GDC.DASH/EVT.QUERY.REJECTED" | "GDC.DASH/EVT.QUERY.STARTED" | "GDC.DASH/EVT.QUERY.COMPLETED" | "GDC.DASH/EVT.USER_INTERACTION.TRIGGERED" | "GDC.DASH/EVT.INITIALIZED" | "GDC.DASH/EVT.DEINITIALIZED" | "GDC.DASH/EVT.SAVED" | "GDC.DASH/EVT.COPY_SAVED" | "GDC.DASH/EVT.RENAMED" | "GDC.DASH/EVT.RESET" | "GDC.DASH/EVT.DELETED" | "GDC.DASH/EVT.RENDER_MODE.CHANGED" | "GDC.DASH/EVT.EXPORT.PDF.REQUESTED" | "GDC.DASH/EVT.EXPORT.PDF.RESOLVED" | "GDC.DASH/EVT.EXPORT.PDF_PRESENTATION.REQUESTED" | "GDC.DASH/EVT.EXPORT.PDF_PRESENTATION.RESOLVED" | "GDC.DASH/EVT.EXPORT.PPT_PRESENTATION.REQUESTED" | "GDC.DASH/EVT.EXPORT.PPT_PRESENTATION.RESOLVED" | "GDC.DASH/EVT.EXPORT.IMAGE.REQUESTED" | "GDC.DASH/EVT.EXPORT.IMAGE.RESOLVED" | "GDC.DASH/EVT.EXPORT.EXCEL.RESOLVED" | "GDC.DASH/EVT.EXPORT.EXCEL.REQUESTED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.VALIDATION.FAILED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.SELECTION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CONDITION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.DIMENSIONALITY_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.TITLE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADDED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.MOVED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.SELECTION_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER_ITEM.SELECTION_REPLACED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.PARENT_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.DISPLAY_FORM_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.SELECTION_MODE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.ATTRIBUTE_FILTER.TITLE_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.MEASURE_VALUE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.LIMITING_ITEMS_CHANGED" | "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.DISPLAY_AS_LABEL_CHANGED" | "GDC.DASH/EVT.DATE_FILTER_CONFIG.TITLE_CHANGED" | "GDC.DASH/EVT.DATE_FILTER_CONFIG.MODE_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ADDED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_MOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_REMOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_HEADER_CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ITEM_WIDTH_RESIZED" | "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ITEMS_HEIGHT_RESIZED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEMS_ADDED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_REPLACED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_MOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_MOVED_TO_NEW_SECTION" | "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_REMOVED" | "GDC.DASH/EVT.FLUID_LAYOUT.LAYOUT_CHANGED" | "GDC.DASH/EVT.FLUID_LAYOUT.SCREEN_SIZE_CHANGED" | "GDC.DASH/EVT.FLEXIBLE_LAYOUT.LAYOUT_SECTION_HEADERS_TOGGLED" | "GDC.DASH/EVT.FLEXIBLE_LAYOUT.LAYOUT_DIRECTION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.HEADER_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.DESCRIPTION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.CONFIGURATION_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.MEASURE_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.COMPARISON_CHANGED" | "GDC.DASH/EVT.KPI_WIDGET.DRILL_REMOVED" | "GDC.DASH/EVT.KPI_WIDGET.DRILL_SET" | "GDC.DASH/EVT.KPI_WIDGET.WIDGET_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.HEADER_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DESCRIPTION_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.PROPERTIES_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.CONFIGURATION_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.IGNORE_CROSS_FILTERING_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.INSIGHT_SWITCHED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILLS_MODIFIED" | "GDC.DASH/EVT.SHOW_WIDGET_AS_TABLE.SET" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILLS_REMOVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_REMOVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_ADDED" | "GDC.DASH/EVT.INSIGHT_WIDGET.DRILL_DOWN_MODIFIED" | "GDC.DASH/EVT.INSIGHT_WIDGET.WIDGET_CHANGED" | "GDC.DASH/EVT.INSIGHT_WIDGET.EXPORT_REQUESTED" | "GDC.DASH/EVT.INSIGHT_WIDGET.EXPORT_RESOLVED" | "GDC.DASH/EVT.INSIGHT_WIDGET.REFRESHED" | "GDC.DASH/EVT.RICH_TEXT_WIDGET.CONTENT_CHANGED" | "GDC.DASH/EVT.RICH_TEXT_WIDGET.FILTER_SETTINGS_CHANGED" | "GDC.DASH/EVT.VISUALIZATION_SWITCHER_WIDGET.VISUALIZATION_ADDED" | "GDC.DASH/EVT.VISUALIZATION_SWITCHER_WIDGET.VISUALIZATIONS_UPDATED" | "GDC.DASH/EVT.WIDGET.EXECUTION_STARTED" | "GDC.DASH/EVT.WIDGET.EXECUTION_FAILED" | "GDC.DASH/EVT.WIDGET.EXECUTION_SUCCEEDED" | "GDC.DASH/EVT.ALERT.CREATED" | "GDC.DASH/EVT.ALERT.SAVED" | "GDC.DASH/EVT.SCHEDULED_EMAIL.CREATED" | "GDC.DASH/EVT.SCHEDULED_EMAIL.SAVED" | "GDC.DASH/EVT.DRILL.REQUESTED" | "GDC.DASH/EVT.DRILL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_DOWN.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_DOWN.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_INSIGHT.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_INSIGHT.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_DASHBOARD.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_DASHBOARD.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_ATTRIBUTE_URL.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_ATTRIBUTE_URL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILL_TO_LEGACY_DASHBOARD.REQUESTED" | "GDC.DASH/EVT.DRILL.DRILL_TO_LEGACY_DASHBOARD.RESOLVED" | "GDC.DASH/EVT.DRILL.DRILLABLE_ITEMS.CHANGED" | "GDC.DASH/EVT.DRILL.CROSS_FILTERING.REQUESTED" | "GDC.DASH/EVT.DRILL.CROSS_FILTERING.RESOLVED" | "GDC.DASH/EVT.DRILL.KEY_DRIVER_ANALYSIS.REQUESTED" | "GDC.DASH/EVT.DRILL.KEY_DRIVER_ANALYSIS.RESOLVED" | "GDC.DASH/EVT.DRILL_TARGETS.ADDED" | "GDC.DASH/EVT.RENDER.REQUESTED" | "GDC.DASH/EVT.RENDER.ASYNC.REQUESTED" | "GDC.DASH/EVT.RENDER.ASYNC.RESOLVED" | "GDC.DASH/EVT.RENDER.RESOLVED" | "GDC.DASH/EVT.SHARING.CHANGED" | "GDC.DASH/EVT.CREATE_INSIGHT_REQUESTED" | "GDC.DASH/EVT.CREATE_ATTRIBUTE_HIERARCHY_REQUESTED" | "GDC.DASH/EVT.DELETE_ATTRIBUTE_HIERARCHY_REQUESTED" | "GDC.DASH/EVT.ATTRIBUTE_HIERARCHY_MODIFIED" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CREATE.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CREATE.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.DELETE.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.DELETE.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.APPLY.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.APPLY.FAILURE" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS.SUCCESS" | "GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS.FAILURE" | "GDC.DASH/EVT.AUTOMATIONS.REFRESHED" | "GDC.DASH/EVT.IGNORE_EXECUTION_TIMESTAMP_CHANGED" | "GDC.DASH/EVT.FILTER_CONTEXT.SELECTION.RESET" | "GDC.DASH/EVT.FILTER_CONTEXT.WORKING_SELECTION.APPLIED" | "GDC.DASH/EVT.TAB.SWITCHED" | "GDC.DASH/EVT.TAB.REPOSITIONED" | "GDC.DASH/EVT.TAB.CONVERTED_FROM_DEFAULT" | "GDC.DASH/EVT.TAB.CREATED" | "GDC.DASH/EVT.TAB.DELETED" | "GDC.DASH/EVT.TAB.RENAME_MODE.STARTED" | "GDC.DASH/EVT.TAB.RENAME_MODE.CANCELED" | "GDC.DASH/EVT.TAB.RENAMED" | "GDC.DASH/EVT.PARAMETERS.SELECTION.RESET";
|
|
23
23
|
/**
|
|
24
24
|
* Base type for all dashboard events.
|
|
25
25
|
*
|
|
@@ -987,6 +987,42 @@ export declare function measureValueFilterConditionChanged(ctx: DashboardContext
|
|
|
987
987
|
* @alpha
|
|
988
988
|
*/
|
|
989
989
|
export declare const isDashboardMeasureValueFilterConditionChanged: (obj: unknown) => obj is IDashboardMeasureValueFilterConditionChanged;
|
|
990
|
+
/**
|
|
991
|
+
* Payload of the {@link IDashboardMeasureValueFilterDimensionalityChanged} event.
|
|
992
|
+
*
|
|
993
|
+
* @alpha
|
|
994
|
+
*/
|
|
995
|
+
export interface IDashboardMeasureValueFilterDimensionalityChangedPayload {
|
|
996
|
+
/**
|
|
997
|
+
* Local identifier of the measure value filter whose dimensionality was changed.
|
|
998
|
+
*/
|
|
999
|
+
readonly localIdentifier: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* Updated definition of the filter.
|
|
1002
|
+
*/
|
|
1003
|
+
readonly filter: IDashboardMeasureValueFilter;
|
|
1004
|
+
/**
|
|
1005
|
+
* The new dashboard-level dimensionality. Empty or undefined means per-widget inheritance.
|
|
1006
|
+
*/
|
|
1007
|
+
readonly dimensionality?: ObjRef[];
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
* This event is emitted after the dashboard-level dimensionality of a measure value filter changes.
|
|
1011
|
+
*
|
|
1012
|
+
* @alpha
|
|
1013
|
+
*/
|
|
1014
|
+
export interface IDashboardMeasureValueFilterDimensionalityChanged extends IDashboardEvent {
|
|
1015
|
+
readonly type: "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.DIMENSIONALITY_CHANGED";
|
|
1016
|
+
readonly payload: IDashboardMeasureValueFilterDimensionalityChangedPayload;
|
|
1017
|
+
}
|
|
1018
|
+
export declare function measureValueFilterDimensionalityChanged(ctx: DashboardContext, localIdentifier: string, filter: IDashboardMeasureValueFilter, dimensionality: ObjRef[] | undefined, correlationId?: string): IDashboardMeasureValueFilterDimensionalityChanged;
|
|
1019
|
+
/**
|
|
1020
|
+
* Tests whether the provided object is an instance of {@link IDashboardMeasureValueFilterDimensionalityChanged}.
|
|
1021
|
+
*
|
|
1022
|
+
* @param obj - object to test
|
|
1023
|
+
* @alpha
|
|
1024
|
+
*/
|
|
1025
|
+
export declare const isDashboardMeasureValueFilterDimensionalityChanged: (obj: unknown) => obj is IDashboardMeasureValueFilterDimensionalityChanged;
|
|
990
1026
|
/**
|
|
991
1027
|
* Payload of the {@link IDashboardMeasureValueFilterTitleChanged} event.
|
|
992
1028
|
*
|
|
@@ -574,6 +574,25 @@ export function measureValueFilterConditionChanged(ctx, localIdentifier, filter,
|
|
|
574
574
|
* @alpha
|
|
575
575
|
*/
|
|
576
576
|
export const isDashboardMeasureValueFilterConditionChanged = eventGuard("GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CONDITION_CHANGED");
|
|
577
|
+
export function measureValueFilterDimensionalityChanged(ctx, localIdentifier, filter, dimensionality, correlationId) {
|
|
578
|
+
return {
|
|
579
|
+
type: "GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.DIMENSIONALITY_CHANGED",
|
|
580
|
+
ctx,
|
|
581
|
+
correlationId,
|
|
582
|
+
payload: {
|
|
583
|
+
localIdentifier,
|
|
584
|
+
filter,
|
|
585
|
+
dimensionality,
|
|
586
|
+
},
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* Tests whether the provided object is an instance of {@link IDashboardMeasureValueFilterDimensionalityChanged}.
|
|
591
|
+
*
|
|
592
|
+
* @param obj - object to test
|
|
593
|
+
* @alpha
|
|
594
|
+
*/
|
|
595
|
+
export const isDashboardMeasureValueFilterDimensionalityChanged = eventGuard("GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.DIMENSIONALITY_CHANGED");
|
|
577
596
|
/**
|
|
578
597
|
* Creates the {@link IDashboardMeasureValueFilterTitleChanged} event.
|
|
579
598
|
*
|
|
@@ -3,7 +3,7 @@ import { type IDashboardAlertCreated, type IDashboardAlertSaved } from "./alerts
|
|
|
3
3
|
import { type ICreateAttributeHierarchyRequested, type IDeleteAttributeHierarchyRequested } from "./attributeHierarchies.js";
|
|
4
4
|
import { type DashboardCopySaved, type DashboardDeinitialized, type DashboardInitialized, type DashboardSaved, type DashboardSharingChanged, type DateFilterValidationFailed, type IDashboardExportToExcelRequested, type IDashboardExportToExcelResolved, type IDashboardExportToImageRequested, type IDashboardExportToImageResolved, type IDashboardExportToPdfPresentationRequested, type IDashboardExportToPdfPresentationResolved, type IDashboardExportToPdfRequested, type IDashboardExportToPdfResolved, type IDashboardExportToPptPresentationRequested, type IDashboardExportToPptPresentationResolved, type IDashboardIgnoreExecutionTimestampChanged, type IDashboardRenamed, type IDashboardWasReset } from "./dashboard.js";
|
|
5
5
|
import { type IDashboardDrillDownRequested, type IDashboardDrillDownResolved, type IDashboardDrillRequested, type IDashboardDrillResolved, type IDashboardDrillToAttributeUrlRequested, type IDashboardDrillToAttributeUrlResolved, type IDashboardDrillToCustomUrlRequested, type IDashboardDrillToCustomUrlResolved, type IDashboardDrillToDashboardRequested, type IDashboardDrillToDashboardResolved, type IDashboardDrillToInsightRequested, type IDashboardDrillToInsightResolved, type IDashboardDrillToLegacyDashboardRequested, type IDashboardDrillToLegacyDashboardResolved, type IDashboardDrillableItemsChanged, type IDashboardKeyDriverAnalysisRequested, type IDashboardKeyDriverAnalysisResolved } from "./drill.js";
|
|
6
|
-
import { type DashboardAttributeFilterItemSelectionReplaced, type DashboardAttributeFilterSelectionChanged, type DashboardDateFilterSelectionChanged, type DashboardFilterContextChanged, type IDashboardAttributeFilterAdded, type IDashboardAttributeFilterMoved, type IDashboardAttributeFilterParentChanged, type IDashboardAttributeFilterRemoved, type IDashboardAttributeSelectionModeChanged, type IDashboardAttributeTitleChanged, type IDashboardMeasureValueFilterAdded, type IDashboardMeasureValueFilterConfigModeChanged, type IDashboardMeasureValueFilterMoved, type IDashboardMeasureValueFilterRemoved, type IDashboardMeasureValueFilterTitleChanged } from "./filters.js";
|
|
6
|
+
import { type DashboardAttributeFilterItemSelectionReplaced, type DashboardAttributeFilterSelectionChanged, type DashboardDateFilterSelectionChanged, type DashboardFilterContextChanged, type IDashboardAttributeFilterAdded, type IDashboardAttributeFilterMoved, type IDashboardAttributeFilterParentChanged, type IDashboardAttributeFilterRemoved, type IDashboardAttributeSelectionModeChanged, type IDashboardAttributeTitleChanged, type IDashboardMeasureValueFilterAdded, type IDashboardMeasureValueFilterConditionChanged, type IDashboardMeasureValueFilterConfigModeChanged, type IDashboardMeasureValueFilterDimensionalityChanged, type IDashboardMeasureValueFilterMoved, type IDashboardMeasureValueFilterRemoved, type IDashboardMeasureValueFilterTitleChanged } from "./filters.js";
|
|
7
7
|
import { type IDashboardCommandFailed, type IDashboardCommandRejected, type IDashboardCommandStarted, type IDashboardQueryCompleted, type IDashboardQueryFailed, type IDashboardQueryRejected, type IDashboardQueryStarted } from "./general.js";
|
|
8
8
|
import { type IDashboardInsightWidgetChanged, type IDashboardInsightWidgetDescriptionChanged, type IDashboardInsightWidgetDrillsModified, type IDashboardInsightWidgetDrillsRemoved, type IDashboardInsightWidgetExportRequested, type IDashboardInsightWidgetExportResolved, type IDashboardInsightWidgetFilterSettingsChanged, type IDashboardInsightWidgetHeaderChanged, type IDashboardInsightWidgetInsightSwitched, type IDashboardInsightWidgetRefreshed, type IDashboardInsightWidgetVisConfigurationChanged, type IDashboardInsightWidgetVisPropertiesChanged } from "./insight.js";
|
|
9
9
|
import { type IDashboardKpiWidgetChanged, type IDashboardKpiWidgetComparisonChanged, type IDashboardKpiWidgetConfigurationChanged, type IDashboardKpiWidgetDescriptionChanged, type IDashboardKpiWidgetDrillRemoved, type IDashboardKpiWidgetDrillSet, type IDashboardKpiWidgetFilterSettingsChanged, type IDashboardKpiWidgetHeaderChanged, type IDashboardKpiWidgetMeasureChanged } from "./kpi.js";
|
|
@@ -29,7 +29,7 @@ import { type IDashboardWidgetExecutionFailed, type IDashboardWidgetExecutionSta
|
|
|
29
29
|
*
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
|
-
export type DashboardEvents = DashboardInitialized | DashboardDeinitialized | DateFilterValidationFailed | DashboardSaved | DashboardCopySaved | DashboardRenderRequested | DashboardAsyncRenderRequested | DashboardAsyncRenderResolved | DashboardRenderResolved | DashboardSharingChanged | IDashboardRenderModeChanged | IDashboardCommandStarted<any> | IDashboardCommandFailed<any> | IDashboardCommandRejected | IDashboardQueryFailed | IDashboardQueryRejected | IDashboardQueryStarted | IDashboardQueryCompleted<any, any> | IDashboardRenamed | IDashboardWasReset | IDashboardExportToPdfRequested | IDashboardExportToPdfResolved | IDashboardExportToExcelRequested | IDashboardExportToExcelResolved | IDashboardExportToPdfPresentationRequested | IDashboardExportToPdfPresentationResolved | IDashboardExportToPptPresentationResolved | IDashboardExportToPptPresentationRequested | IDashboardExportToImageRequested | IDashboardExportToImageResolved | IDashboardUserInteractionTriggered | DashboardDateFilterSelectionChanged | IDashboardAttributeFilterAdded | IDashboardAttributeFilterRemoved | IDashboardAttributeFilterMoved | DashboardAttributeFilterSelectionChanged | DashboardAttributeFilterItemSelectionReplaced | IDashboardAttributeTitleChanged | IDashboardAttributeSelectionModeChanged | IDashboardAttributeFilterParentChanged | IDashboardMeasureValueFilterAdded | IDashboardMeasureValueFilterMoved | IDashboardMeasureValueFilterRemoved | IDashboardMeasureValueFilterTitleChanged | IDashboardMeasureValueFilterConfigModeChanged | DashboardFilterContextChanged | IDashboardLayoutSectionAdded | IDashboardLayoutSectionMoved | IDashboardLayoutSectionRemoved | IDashboardLayoutSectionHeaderChanged | IDashboardLayoutSectionItemsAdded | IDashboardLayoutSectionItemReplaced | IDashboardLayoutSectionItemMoved | IDashboardLayoutSectionItemRemoved | IDashboardLayoutSectionItemMovedToNewSection | IDashboardLayoutChanged | IDashboardKpiWidgetHeaderChanged | IDashboardKpiWidgetDescriptionChanged | IDashboardKpiWidgetConfigurationChanged | IDashboardKpiWidgetMeasureChanged | IDashboardKpiWidgetFilterSettingsChanged | IDashboardKpiWidgetComparisonChanged | IDashboardKpiWidgetDrillRemoved | IDashboardKpiWidgetDrillSet | IDashboardKpiWidgetChanged | IDashboardInsightWidgetHeaderChanged | IDashboardInsightWidgetDescriptionChanged | IDashboardInsightWidgetFilterSettingsChanged | IDashboardInsightWidgetVisPropertiesChanged | IDashboardInsightWidgetVisConfigurationChanged | IDashboardInsightWidgetInsightSwitched | IDashboardInsightWidgetDrillsModified | IDashboardInsightWidgetDrillsRemoved | IDashboardInsightWidgetChanged | IDashboardInsightWidgetExportRequested | IDashboardInsightWidgetExportResolved | IDashboardInsightWidgetRefreshed | IDashboardRichTextWidgetContentChanged | IDashboardRichTextWidgetFilterSettingsChanged | IDashboardVisualizationSwitcherWidgetVisualizationAdded | IDashboardVisualizationSwitcherWidgetVisualizationsUpdated | IDashboardWidgetExecutionStarted | IDashboardWidgetExecutionSucceeded | IDashboardWidgetExecutionFailed | IDashboardAlertCreated | IDashboardAlertSaved | IDashboardScheduledEmailCreated | IDashboardScheduledEmailSaved | IDashboardAutomationsRefreshed | IShowWidgetAsTableSet | IDashboardDrillDownResolved | IDashboardDrillToAttributeUrlResolved | IDashboardDrillToCustomUrlResolved | IDashboardDrillToDashboardResolved | IDashboardDrillToInsightResolved | IDashboardDrillToLegacyDashboardResolved | IDashboardKeyDriverAnalysisResolved | IDashboardKeyDriverAnalysisRequested | IDashboardDrillResolved | IDashboardDrillDownRequested | IDashboardDrillToAttributeUrlRequested | IDashboardDrillToCustomUrlRequested | IDashboardDrillToDashboardRequested | IDashboardDrillToInsightRequested | IDashboardDrillToLegacyDashboardRequested | IDashboardDrillRequested | IDashboardDrillableItemsChanged | IDashboardIgnoreExecutionTimestampChanged | IDashboardTabSwitched | IDashboardTabConvertedFromDefault | IDashboardTabCreated | IDashboardTabDeleted | IDashboardTabRenamingStarted | IDashboardTabRenamingCanceled | IDashboardTabRenamed | IDashboardParametersSelectionReset | ICreateInsightRequested | ICreateAttributeHierarchyRequested | IDeleteAttributeHierarchyRequested;
|
|
32
|
+
export type DashboardEvents = DashboardInitialized | DashboardDeinitialized | DateFilterValidationFailed | DashboardSaved | DashboardCopySaved | DashboardRenderRequested | DashboardAsyncRenderRequested | DashboardAsyncRenderResolved | DashboardRenderResolved | DashboardSharingChanged | IDashboardRenderModeChanged | IDashboardCommandStarted<any> | IDashboardCommandFailed<any> | IDashboardCommandRejected | IDashboardQueryFailed | IDashboardQueryRejected | IDashboardQueryStarted | IDashboardQueryCompleted<any, any> | IDashboardRenamed | IDashboardWasReset | IDashboardExportToPdfRequested | IDashboardExportToPdfResolved | IDashboardExportToExcelRequested | IDashboardExportToExcelResolved | IDashboardExportToPdfPresentationRequested | IDashboardExportToPdfPresentationResolved | IDashboardExportToPptPresentationResolved | IDashboardExportToPptPresentationRequested | IDashboardExportToImageRequested | IDashboardExportToImageResolved | IDashboardUserInteractionTriggered | DashboardDateFilterSelectionChanged | IDashboardAttributeFilterAdded | IDashboardAttributeFilterRemoved | IDashboardAttributeFilterMoved | DashboardAttributeFilterSelectionChanged | DashboardAttributeFilterItemSelectionReplaced | IDashboardAttributeTitleChanged | IDashboardAttributeSelectionModeChanged | IDashboardAttributeFilterParentChanged | IDashboardMeasureValueFilterAdded | IDashboardMeasureValueFilterMoved | IDashboardMeasureValueFilterRemoved | IDashboardMeasureValueFilterConditionChanged | IDashboardMeasureValueFilterDimensionalityChanged | IDashboardMeasureValueFilterTitleChanged | IDashboardMeasureValueFilterConfigModeChanged | DashboardFilterContextChanged | IDashboardLayoutSectionAdded | IDashboardLayoutSectionMoved | IDashboardLayoutSectionRemoved | IDashboardLayoutSectionHeaderChanged | IDashboardLayoutSectionItemsAdded | IDashboardLayoutSectionItemReplaced | IDashboardLayoutSectionItemMoved | IDashboardLayoutSectionItemRemoved | IDashboardLayoutSectionItemMovedToNewSection | IDashboardLayoutChanged | IDashboardKpiWidgetHeaderChanged | IDashboardKpiWidgetDescriptionChanged | IDashboardKpiWidgetConfigurationChanged | IDashboardKpiWidgetMeasureChanged | IDashboardKpiWidgetFilterSettingsChanged | IDashboardKpiWidgetComparisonChanged | IDashboardKpiWidgetDrillRemoved | IDashboardKpiWidgetDrillSet | IDashboardKpiWidgetChanged | IDashboardInsightWidgetHeaderChanged | IDashboardInsightWidgetDescriptionChanged | IDashboardInsightWidgetFilterSettingsChanged | IDashboardInsightWidgetVisPropertiesChanged | IDashboardInsightWidgetVisConfigurationChanged | IDashboardInsightWidgetInsightSwitched | IDashboardInsightWidgetDrillsModified | IDashboardInsightWidgetDrillsRemoved | IDashboardInsightWidgetChanged | IDashboardInsightWidgetExportRequested | IDashboardInsightWidgetExportResolved | IDashboardInsightWidgetRefreshed | IDashboardRichTextWidgetContentChanged | IDashboardRichTextWidgetFilterSettingsChanged | IDashboardVisualizationSwitcherWidgetVisualizationAdded | IDashboardVisualizationSwitcherWidgetVisualizationsUpdated | IDashboardWidgetExecutionStarted | IDashboardWidgetExecutionSucceeded | IDashboardWidgetExecutionFailed | IDashboardAlertCreated | IDashboardAlertSaved | IDashboardScheduledEmailCreated | IDashboardScheduledEmailSaved | IDashboardAutomationsRefreshed | IShowWidgetAsTableSet | IDashboardDrillDownResolved | IDashboardDrillToAttributeUrlResolved | IDashboardDrillToCustomUrlResolved | IDashboardDrillToDashboardResolved | IDashboardDrillToInsightResolved | IDashboardDrillToLegacyDashboardResolved | IDashboardKeyDriverAnalysisResolved | IDashboardKeyDriverAnalysisRequested | IDashboardDrillResolved | IDashboardDrillDownRequested | IDashboardDrillToAttributeUrlRequested | IDashboardDrillToCustomUrlRequested | IDashboardDrillToDashboardRequested | IDashboardDrillToInsightRequested | IDashboardDrillToLegacyDashboardRequested | IDashboardDrillRequested | IDashboardDrillableItemsChanged | IDashboardIgnoreExecutionTimestampChanged | IDashboardTabSwitched | IDashboardTabConvertedFromDefault | IDashboardTabCreated | IDashboardTabDeleted | IDashboardTabRenamingStarted | IDashboardTabRenamingCanceled | IDashboardTabRenamed | IDashboardParametersSelectionReset | ICreateInsightRequested | ICreateAttributeHierarchyRequested | IDeleteAttributeHierarchyRequested;
|
|
33
33
|
/**
|
|
34
34
|
* Creates DashboardEvent predicate that test whether the provided event matches it.
|
|
35
35
|
*
|
|
@@ -141,7 +141,15 @@ export function* queryWithInsight(ctx, widget, insight) {
|
|
|
141
141
|
call(selectResolvedInsightDateFilters, widget, widgetAwareDashboardCommonDateFilters.filter(isDateFilter), widgetAwareDashboardOtherFilters.filter(isDateFilter), effectiveInsightFilters.filter(isDateFilter), supportsMultipleDateFilters),
|
|
142
142
|
call(getResolvedInsightAttributeFilters, ctx, widget, widgetAwareDashboardOtherFilters.filter(isAttributeFilter), effectiveInsightFilters.filter(isAttributeFilter)),
|
|
143
143
|
]);
|
|
144
|
-
const
|
|
144
|
+
const insightRankingFilters = effectiveInsightFilters.filter(isRankingFilter);
|
|
145
|
+
const insightHasRankingFilter = insightRankingFilters.length > 0;
|
|
146
|
+
// The backend rejects executions that combine MVFs with ranking filters with
|
|
147
|
+
// "Measure value filters with ranking filters unsupported.". AD prevents this in
|
|
148
|
+
// insights at authoring time, so when the insight has a ranking filter we drop
|
|
149
|
+
// all dashboard-level MVFs from this widget's execution to avoid the 400.
|
|
150
|
+
const dashboardMeasureValueFilters = insightHasRankingFilter
|
|
151
|
+
? []
|
|
152
|
+
: resolveDashboardMeasureValueFilters(widget, widgetAwareDashboardOtherFilters.filter(isMeasureValueFilter));
|
|
145
153
|
return [
|
|
146
154
|
...dateFilters,
|
|
147
155
|
...attributeFilters,
|
|
@@ -161,7 +169,7 @@ export function* queryWithInsight(ctx, widget, insight) {
|
|
|
161
169
|
...dashboardMeasureValueFilters,
|
|
162
170
|
...effectiveInsightFilters.filter(isMeasureValueFilter),
|
|
163
171
|
// nothing to resolve for ranking filters
|
|
164
|
-
...
|
|
172
|
+
...insightRankingFilters,
|
|
165
173
|
];
|
|
166
174
|
}
|
|
167
175
|
function* queryWithoutInsight(ctx, widget) {
|
|
@@ -87,7 +87,8 @@ export declare const useDashboardCommand: <TCommand extends DashboardCommands, T
|
|
|
87
87
|
"GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.DELETE.FAILURE"?: ((event: never) => void) | undefined;
|
|
88
88
|
"GDC.DASH/EVT.FILTER_CONTEXT.FILTER_VIEW.DELETE.SUCCESS"?: ((event: never) => void) | undefined;
|
|
89
89
|
"GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.ADDED"?: ((event: import("../events/filters.js").IDashboardMeasureValueFilterAdded) => void) | undefined;
|
|
90
|
-
"GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CONDITION_CHANGED"?: ((event:
|
|
90
|
+
"GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CONDITION_CHANGED"?: ((event: import("../events/filters.js").IDashboardMeasureValueFilterConditionChanged) => void) | undefined;
|
|
91
|
+
"GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.DIMENSIONALITY_CHANGED"?: ((event: import("../events/filters.js").IDashboardMeasureValueFilterDimensionalityChanged) => void) | undefined;
|
|
91
92
|
"GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.MOVED"?: ((event: import("../events/filters.js").IDashboardMeasureValueFilterMoved) => void) | undefined;
|
|
92
93
|
"GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.REMOVED"?: ((event: import("../events/filters.js").IDashboardMeasureValueFilterRemoved) => void) | undefined;
|
|
93
94
|
"GDC.DASH/EVT.FILTER_CONTEXT.MEASURE_VALUE_FILTER.TITLE_CHANGED"?: ((event: import("../events/filters.js").IDashboardMeasureValueFilterTitleChanged) => void) | undefined;
|