@gooddata/sdk-ui-dashboard 10.22.0-alpha.47 → 10.22.0-alpha.49

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.
Files changed (101) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/_staging/dashboard/dashboardFilterConverter.d.ts +5 -2
  4. package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
  5. package/esm/_staging/dashboard/dashboardFilterConverter.js +12 -7
  6. package/esm/_staging/dashboard/dashboardFilterConverter.js.map +1 -1
  7. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.d.ts.map +1 -1
  8. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js +14 -7
  9. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js.map +1 -1
  10. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.d.ts.map +1 -1
  11. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js +12 -4
  12. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js.map +1 -1
  13. package/esm/model/commandHandlers/filterContext/common.d.ts +4 -0
  14. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  15. package/esm/model/commandHandlers/filterContext/common.js +8 -1
  16. package/esm/model/commandHandlers/filterContext/common.js.map +1 -1
  17. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
  18. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +15 -9
  19. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js.map +1 -1
  20. package/esm/model/commandHandlers/index.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/index.js +2 -0
  22. package/esm/model/commandHandlers/index.js.map +1 -1
  23. package/esm/model/commands/base.d.ts +1 -1
  24. package/esm/model/commands/base.d.ts.map +1 -1
  25. package/esm/model/commands/filters.d.ts +74 -4
  26. package/esm/model/commands/filters.d.ts.map +1 -1
  27. package/esm/model/commands/filters.js +71 -4
  28. package/esm/model/commands/filters.js.map +1 -1
  29. package/esm/model/commands/index.d.ts +4 -4
  30. package/esm/model/commands/index.d.ts.map +1 -1
  31. package/esm/model/commands/index.js +1 -1
  32. package/esm/model/commands/index.js.map +1 -1
  33. package/esm/model/store/filterContext/filterContextReducers.d.ts +11 -0
  34. package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
  35. package/esm/model/store/filterContext/filterContextReducers.js +87 -28
  36. package/esm/model/store/filterContext/filterContextReducers.js.map +1 -1
  37. package/esm/model/store/filterContext/filterContextSelectors.d.ts +70 -5
  38. package/esm/model/store/filterContext/filterContextSelectors.d.ts.map +1 -1
  39. package/esm/model/store/filterContext/filterContextSelectors.js +124 -7
  40. package/esm/model/store/filterContext/filterContextSelectors.js.map +1 -1
  41. package/esm/model/store/filterContext/filterContextState.d.ts +44 -2
  42. package/esm/model/store/filterContext/filterContextState.d.ts.map +1 -1
  43. package/esm/model/store/filterContext/filterContextState.js +1 -0
  44. package/esm/model/store/filterContext/filterContextState.js.map +1 -1
  45. package/esm/model/store/filterContext/filterContextUtils.d.ts +10 -0
  46. package/esm/model/store/filterContext/filterContextUtils.d.ts.map +1 -0
  47. package/esm/model/store/filterContext/filterContextUtils.js +70 -0
  48. package/esm/model/store/filterContext/filterContextUtils.js.map +1 -0
  49. package/esm/model/store/filterContext/index.d.ts +4 -0
  50. package/esm/model/store/filterContext/index.d.ts.map +1 -1
  51. package/esm/model/store/index.d.ts +2 -2
  52. package/esm/model/store/index.d.ts.map +1 -1
  53. package/esm/model/store/index.js +1 -1
  54. package/esm/model/store/index.js.map +1 -1
  55. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts +1 -1
  56. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts.map +1 -1
  57. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.js +1 -1
  58. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.js.map +1 -1
  59. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
  60. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +8 -2
  61. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
  62. package/esm/presentation/filterBar/attributeFilter/types.d.ts +2 -1
  63. package/esm/presentation/filterBar/attributeFilter/types.d.ts.map +1 -1
  64. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
  65. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +14 -4
  66. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js.map +1 -1
  67. package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
  68. package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +9 -3
  69. package/esm/presentation/filterBar/attributeFilter/useParentFilters.js.map +1 -1
  70. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts.map +1 -1
  71. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +8 -2
  72. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js.map +1 -1
  73. package/esm/presentation/filterBar/dateFilter/types.d.ts +2 -1
  74. package/esm/presentation/filterBar/dateFilter/types.d.ts.map +1 -1
  75. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
  76. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +19 -10
  77. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js.map +1 -1
  78. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  79. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +15 -4
  80. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
  81. package/esm/presentation/localization/bundles/de-DE.json +1 -0
  82. package/esm/presentation/localization/bundles/en-AU.json +1 -0
  83. package/esm/presentation/localization/bundles/en-GB.json +1 -0
  84. package/esm/presentation/localization/bundles/en-US.json +5 -0
  85. package/esm/presentation/localization/bundles/es-419.json +1 -0
  86. package/esm/presentation/localization/bundles/es-ES.json +1 -0
  87. package/esm/presentation/localization/bundles/fi-FI.json +1 -0
  88. package/esm/presentation/localization/bundles/fr-CA.json +1 -0
  89. package/esm/presentation/localization/bundles/fr-FR.json +1 -0
  90. package/esm/presentation/localization/bundles/it-IT.json +1 -0
  91. package/esm/presentation/localization/bundles/ja-JP.json +1 -0
  92. package/esm/presentation/localization/bundles/nl-NL.json +1 -0
  93. package/esm/presentation/localization/bundles/pt-BR.json +1 -0
  94. package/esm/presentation/localization/bundles/pt-PT.json +1 -0
  95. package/esm/presentation/localization/bundles/ru-RU.json +1 -0
  96. package/esm/presentation/localization/bundles/zh-HK.json +1 -0
  97. package/esm/presentation/localization/bundles/zh-Hans.json +1 -0
  98. package/esm/presentation/localization/bundles/zh-Hant.json +1 -0
  99. package/esm/sdk-ui-dashboard.d.ts +205 -14
  100. package/package.json +15 -15
  101. package/styles/scss/filterBar.scss +1 -1
@@ -882,6 +882,29 @@ export declare function applyAttributeFilter(filterLocalId: string, filter: IAtt
882
882
  */
883
883
  export declare function applyDateFilter(filter: IDateFilter, correlationId?: string): ChangeDateFilterSelection;
884
884
 
885
+ /**
886
+ * Command for applying all working filters staged for application.
887
+ * Usually used with setting dashboardApplyFiltersMode: ALL_AT_ONCE
888
+ *
889
+ * @remarks
890
+ * See {@link applyFilterContextWorkingSelection} for a factory function that will help you create this command.
891
+ *
892
+ * @alpha
893
+ */
894
+ export declare interface ApplyFilterContextWorkingSelection extends IDashboardCommand {
895
+ readonly type: "GDC.DASH/CMD.FILTER_CONTEXT.APPLY_WORKING_SELECTION";
896
+ }
897
+
898
+ /**
899
+ * Creates the {@link ApplyFilterContextWorkingSelection} command.
900
+ *
901
+ * @param correlationId - specify correlation id. It will be included in all events that will be emitted during the command processing.
902
+ * @returns apply all filters command
903
+ *
904
+ * @alpha
905
+ */
906
+ export declare function applyFilterContextWorkingSelection(correlationId?: string): ApplyFilterContextWorkingSelection;
907
+
885
908
  /**
886
909
  * Command for application of a saved filter view.
887
910
  *
@@ -1191,7 +1214,7 @@ export declare interface ChangeAttributeFilterSelection extends IDashboardComman
1191
1214
  }
1192
1215
 
1193
1216
  /**
1194
- * Creates the ChangeAttributeFilterSelection command.
1217
+ * Creates the ChangeAttributeFilterSelection command for applied filters.
1195
1218
  *
1196
1219
  * @remarks
1197
1220
  * Dispatching this command will result in application of element selection for the dashboard attribute filter
@@ -1200,6 +1223,9 @@ export declare interface ChangeAttributeFilterSelection extends IDashboardComman
1200
1223
  * The attribute elements can be provided either using their URI (primary key) or value. Together with the
1201
1224
  * elements you must indicate the selection type - either 'IN' or 'NOT_IN'.
1202
1225
  *
1226
+ * If you want to change working filters use {@link changeWorkingAttributeFilterSelection}.
1227
+ * See {@link ChangeAttributeFilterSelectionPayload.isWorkingSelectionChange} for details.
1228
+ *
1203
1229
  * @remarks see {@link resetAttributeFilterSelection} for convenience function to select all attribute elements of
1204
1230
  * particular filter.
1205
1231
  *
@@ -1241,6 +1267,11 @@ export declare interface ChangeAttributeFilterSelectionPayload {
1241
1267
  * Selection type. Either 'IN' for positive selection or 'NOT_IN' for negative selection (All except selected items).
1242
1268
  */
1243
1269
  readonly selectionType: AttributeFilterSelectionType;
1270
+ /**
1271
+ * Determines if this command should change working (staged for application) filters or applied filters (used to compute data).
1272
+ * Default is false - command changes applied filters.
1273
+ */
1274
+ readonly isWorkingSelectionChange?: boolean;
1244
1275
  }
1245
1276
 
1246
1277
  /**
@@ -1275,7 +1306,7 @@ export declare interface ChangeDateFilterSelection extends IDashboardCommand {
1275
1306
  *
1276
1307
  * @public
1277
1308
  */
1278
- export declare function changeDateFilterSelection(type: DateFilterType, granularity: DateFilterGranularity, from?: DateString | number, to?: DateString | number, dateFilterOptionLocalId?: string, correlationId?: string, dataSet?: ObjRef): ChangeDateFilterSelection;
1309
+ export declare function changeDateFilterSelection(type: DateFilterType, granularity: DateFilterGranularity, from?: DateString | number, to?: DateString | number, dateFilterOptionLocalId?: string, correlationId?: string, dataSet?: ObjRef, isWorkingSelectionChange?: boolean): ChangeDateFilterSelection;
1279
1310
 
1280
1311
  /**
1281
1312
  * @alpha
@@ -2056,6 +2087,42 @@ export declare interface ChangeSharingPayload {
2056
2087
  readonly newSharingProperties: ISharingApplyPayload_2;
2057
2088
  }
2058
2089
 
2090
+ /**
2091
+ * Creates the ChangeAttributeFilterSelection command for working filter.
2092
+ *
2093
+ * @remarks
2094
+ * Dispatching this command will result in changing working element selection for the dashboard attribute filter
2095
+ * with the provided id, or error in case of invalid update (e.g. non-existing filterLocalId).
2096
+ *
2097
+ * The attribute elements can be provided either using their URI (primary key) or value. Together with the
2098
+ * elements you must indicate the selection type - either 'IN' or 'NOT_IN'.
2099
+ *
2100
+ * If you want to change applied filters use {@link changeAttributeFilterSelection}.
2101
+ * See {@link ChangeAttributeFilterSelectionPayload.isWorkingSelectionChange} for details.
2102
+ *
2103
+ * @remarks see {@link resetAttributeFilterSelection} for convenience function to select all attribute elements of
2104
+ * particular filter.
2105
+ *
2106
+ * See also {@link applyAttributeFilter} for convenient function when you have an {@link @gooddata/sdk-model#IAttributeFilter} instance.
2107
+ *
2108
+ * @example
2109
+ * ```
2110
+ * const selectionType = isPositiveAttributeFilter ? "IN" : "NOT_IN";
2111
+ * ```
2112
+ *
2113
+ * To create this command without a need to calculate the payload values from a {@link @gooddata/sdk-model#IFilter} object,
2114
+ * we recommend to use {@link applyAttributeFilter} command creator instead.
2115
+ *
2116
+ * @param filterLocalId - dashboard attribute filter's local id
2117
+ * @param elements - elements
2118
+ * @param selectionType - selection type. either 'IN' or 'NOT_IN'
2119
+ * @param correlationId - specify correlation id to use for this command. this will be included in all
2120
+ * events that will be emitted during the command processing
2121
+ *
2122
+ * @public
2123
+ */
2124
+ export declare function changeWorkingAttributeFilterSelection(filterLocalId: string, elements: IAttributeElements, selectionType: AttributeFilterSelectionType, correlationId?: string): ChangeAttributeFilterSelection;
2125
+
2059
2126
  /**
2060
2127
  * This convenience function will create ChangeDateFilterSelection configured so that the date filter will be
2061
2128
  * unbounded - showing data for 'All Time'.
@@ -2065,7 +2132,7 @@ export declare interface ChangeSharingPayload {
2065
2132
  *
2066
2133
  * @public
2067
2134
  */
2068
- export declare function clearDateFilterSelection(correlationId?: string, dataSet?: ObjRef): ChangeDateFilterSelection;
2135
+ export declare function clearDateFilterSelection(correlationId?: string, dataSet?: ObjRef, isWorkingSelectionChange?: boolean): ChangeDateFilterSelection;
2069
2136
 
2070
2137
  /**
2071
2138
  * Creates a {@link DashboardEventHandler} instance that will be invoked for a DashboardCommandFailed of a particular command.
@@ -2968,7 +3035,7 @@ export declare interface DashboardCommandRejected extends IDashboardEvent {
2968
3035
  *
2969
3036
  * @public
2970
3037
  */
2971
- export declare type DashboardCommands = InitializeDashboard | SaveDashboardAs | RequestAsyncRender | ResolveAsyncRender | ChangeFilterContextSelection | ChangeDateFilterSelection | ChangeAttributeFilterSelection | ChangeRenderMode | SaveDashboard | RenameDashboard | ResetDashboard | ExportDashboardToPdf | ExportDashboardToExcel | ExportDashboardToPdfPresentation | ExportDashboardToPptPresentation | DeleteDashboard | TriggerEvent | UpsertExecutionResult | AddAttributeFilter | RemoveAttributeFilters | MoveAttributeFilter | SetAttributeFilterParents | SetAttributeFilterDependentDateFilters | AddLayoutSection | MoveLayoutSection | RemoveLayoutSection | ChangeLayoutSectionHeader | ResizeHeight | ResizeWidth | AddSectionItems | ReplaceSectionItem | MoveSectionItem | MoveSectionItemToNewSection | RemoveSectionItem | RemoveSectionItemByWidgetRef | UndoLayoutChanges | ChangeKpiWidgetHeader | ChangeKpiWidgetDescription | ChangeKpiWidgetConfiguration | ChangeKpiWidgetMeasure | ChangeKpiWidgetFilterSettings | ChangeKpiWidgetComparison | RefreshKpiWidget | SetDrillForKpiWidget | RemoveDrillForKpiWidget | ChangeInsightWidgetHeader | ChangeInsightWidgetDescription | ChangeInsightWidgetIgnoreCrossFiltering | ChangeInsightWidgetFilterSettings | ChangeInsightWidgetVisProperties | ChangeInsightWidgetVisConfiguration | ChangeInsightWidgetInsight | ModifyDrillsForInsightWidget | RemoveDrillsForInsightWidget | RefreshInsightWidget | ExportInsightWidget | CreateAlert | SaveAlert | CreateScheduledEmail | SaveScheduledEmail | ChangeSharing | SetAttributeFilterDisplayForm | SetAttributeFilterTitle | SetAttributeFilterSelectionMode | ChangeRichTextWidgetContent | AddVisualizationToVisualizationSwitcherWidgetContent | UpdateVisualizationsFromVisualizationSwitcherWidgetContent | Drill | DrillDown | DrillToAttributeUrl | DrillToCustomUrl | DrillToDashboard | DrillToInsight | DrillToLegacyDashboard | ChangeDrillableItems | AddDrillTargets | SetDashboardDateFilterConfigMode | SetDashboardAttributeFilterConfigMode | SetDashboardAttributeFilterConfigDisplayAsLabel | RemoveDrillDownForInsightWidget | AddDrillDownForInsightWidget | ModifyDrillDownForInsightWidget | CrossFiltering | AttributeHierarchyModified | AddDateFilter | RemoveDateFilters | MoveDateFilter | SetDashboardDateFilterWithDimensionConfigMode | SetDateFilterConfigTitle | InitializeAutomations | RefreshAutomations | SetAttributeFilterLimitingItems | SaveFilterView | DeleteFilterView | ApplyFilterView | SetFilterViewAsDefault | ReloadFilterViews | ToggleLayoutSectionHeaders | SetScreenSize | LoadAllWorkspaceUsers | ExportRawInsightWidget | ExportSlidesInsightWidget;
3038
+ export declare type DashboardCommands = InitializeDashboard | SaveDashboardAs | RequestAsyncRender | ResolveAsyncRender | ChangeFilterContextSelection | ChangeDateFilterSelection | ChangeAttributeFilterSelection | ChangeRenderMode | SaveDashboard | RenameDashboard | ResetDashboard | ExportDashboardToPdf | ExportDashboardToExcel | ExportDashboardToPdfPresentation | ExportDashboardToPptPresentation | DeleteDashboard | TriggerEvent | UpsertExecutionResult | AddAttributeFilter | RemoveAttributeFilters | MoveAttributeFilter | SetAttributeFilterParents | SetAttributeFilterDependentDateFilters | AddLayoutSection | MoveLayoutSection | RemoveLayoutSection | ChangeLayoutSectionHeader | ResizeHeight | ResizeWidth | AddSectionItems | ReplaceSectionItem | MoveSectionItem | MoveSectionItemToNewSection | RemoveSectionItem | RemoveSectionItemByWidgetRef | UndoLayoutChanges | ChangeKpiWidgetHeader | ChangeKpiWidgetDescription | ChangeKpiWidgetConfiguration | ChangeKpiWidgetMeasure | ChangeKpiWidgetFilterSettings | ChangeKpiWidgetComparison | RefreshKpiWidget | SetDrillForKpiWidget | RemoveDrillForKpiWidget | ChangeInsightWidgetHeader | ChangeInsightWidgetDescription | ChangeInsightWidgetIgnoreCrossFiltering | ChangeInsightWidgetFilterSettings | ChangeInsightWidgetVisProperties | ChangeInsightWidgetVisConfiguration | ChangeInsightWidgetInsight | ModifyDrillsForInsightWidget | RemoveDrillsForInsightWidget | RefreshInsightWidget | ExportInsightWidget | CreateAlert | SaveAlert | CreateScheduledEmail | SaveScheduledEmail | ChangeSharing | SetAttributeFilterDisplayForm | SetAttributeFilterTitle | SetAttributeFilterSelectionMode | ChangeRichTextWidgetContent | AddVisualizationToVisualizationSwitcherWidgetContent | UpdateVisualizationsFromVisualizationSwitcherWidgetContent | Drill | DrillDown | DrillToAttributeUrl | DrillToCustomUrl | DrillToDashboard | DrillToInsight | DrillToLegacyDashboard | ChangeDrillableItems | AddDrillTargets | SetDashboardDateFilterConfigMode | SetDashboardAttributeFilterConfigMode | SetDashboardAttributeFilterConfigDisplayAsLabel | RemoveDrillDownForInsightWidget | AddDrillDownForInsightWidget | ModifyDrillDownForInsightWidget | CrossFiltering | AttributeHierarchyModified | AddDateFilter | RemoveDateFilters | MoveDateFilter | SetDashboardDateFilterWithDimensionConfigMode | SetDateFilterConfigTitle | InitializeAutomations | RefreshAutomations | SetAttributeFilterLimitingItems | SaveFilterView | DeleteFilterView | ApplyFilterView | SetFilterViewAsDefault | ReloadFilterViews | ToggleLayoutSectionHeaders | ApplyFilterContextWorkingSelection | SetScreenSize | LoadAllWorkspaceUsers | ExportRawInsightWidget | ExportSlidesInsightWidget;
2972
3039
 
2973
3040
  /**
2974
3041
  * This event is emitted when a particular command processing starts.
@@ -3002,7 +3069,7 @@ export declare interface DashboardCommandStartedPayload<TCommand extends IDashbo
3002
3069
  *
3003
3070
  * @public
3004
3071
  */
3005
- export declare 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.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.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.ATTRIBUTE_FILTER_CONFIG.SET_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.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.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.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_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.USERS.LOAD_ALL" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_RAW" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_SLIDES";
3072
+ export declare 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.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.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.ATTRIBUTE_FILTER_CONFIG.SET_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.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.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.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_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.USERS.LOAD_ALL" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_RAW" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_SLIDES";
3006
3073
 
3007
3074
  /**
3008
3075
  * Dashboard configuration can influence the available features, look and feel and behavior of the dashboard.
@@ -6548,6 +6615,10 @@ export declare interface DateFilterSelection {
6548
6615
  * The localId of the DateFilterOption selected.
6549
6616
  */
6550
6617
  readonly dateFilterOptionLocalId?: string;
6618
+ /**
6619
+ * Determines if this command should change working (staged for application) filters or applied filters (used to compute data).
6620
+ */
6621
+ readonly isWorkingSelectionChange?: boolean;
6551
6622
  }
6552
6623
 
6553
6624
  /**
@@ -7865,10 +7936,27 @@ export declare function filterContextItemsToDashboardFiltersByWidget(filterConte
7865
7936
  */
7866
7937
  export declare interface FilterContextState {
7867
7938
  /**
7868
- * Filter context definition contains the actual filters to use. Filter context definition is present
7939
+ * Filter context definition contains the actual filters to use. They are applied and used to compute insights data.
7940
+ * Filter context definition is present.
7869
7941
  * @beta
7870
7942
  */
7871
7943
  filterContextDefinition?: IFilterContextDefinition;
7944
+ /**
7945
+ * Contains staged filters state which are not applied by the user yet.
7946
+ * They are used to show selected values in filters and when user requests, they are applied to the filterContextDefinition (above).
7947
+ *
7948
+ * @remarks
7949
+ * This working filter context contains only changed filters and their fields.
7950
+ * before using this working, this state is merged with filterContextDefinition.
7951
+ *
7952
+ * This way we do not need to synchronize other fields, which makes it easier to maintain.
7953
+ *
7954
+ * This state is used when DashboardFiltersApplyMode is ALL_AT_ONCE.
7955
+ * But can be used programatically when embedding the dashboard too.
7956
+ *
7957
+ * @alpha
7958
+ */
7959
+ workingFilterContextDefinition?: IWorkingFilterContextDefinition;
7872
7960
  /**
7873
7961
  * Filter context definition contains the original dashboard filters stored on the backend.
7874
7962
  * @beta
@@ -8669,8 +8757,9 @@ export declare interface IDashboardAttributeFilterProps {
8669
8757
  *
8670
8758
  * @param filter - new attribute filter value.
8671
8759
  * @param displayAsLabel - label used for presentation of attribute filter elements in UI
8760
+ * @param isWorkingSelectionChange - if the change is to applied (application of filters) or unapplied filters (filters staged before application).
8672
8761
  */
8673
- onFilterChanged: (filter: IDashboardAttributeFilter, displayAsLabel?: ObjRef) => void;
8762
+ onFilterChanged: (filter: IDashboardAttributeFilter, displayAsLabel?: ObjRef, isWorkingSelectionChange?: boolean) => void;
8674
8763
  /**
8675
8764
  * Callback to be called, when user closes filter dropdown
8676
8765
  */
@@ -9376,8 +9465,9 @@ export declare interface IDashboardDateFilterProps {
9376
9465
  *
9377
9466
  * @param filter - new date filter value
9378
9467
  * @param dateFilterOptionLocalId - localId of the {@link @gooddata/sdk-backend-spi#IDateFilterOption} selected
9468
+ * @param isWorkingSelectionChange - determines if the change is in working filter state (staged for application but not applied yet)
9379
9469
  */
9380
- onFilterChanged: (filter: IDashboardDateFilter | undefined, dateFilterOptionLocalId?: string) => void;
9470
+ onFilterChanged: (filter: IDashboardDateFilter | undefined, dateFilterOptionLocalId?: string, isWorkingSelectionChange?: boolean) => void;
9381
9471
  /**
9382
9472
  * Additional DateFilter configuration.
9383
9473
  */
@@ -14097,6 +14187,18 @@ export declare interface IVisualizationSwitcherToolbarProps {
14097
14187
  onClose: () => void;
14098
14188
  }
14099
14189
 
14190
+ /**
14191
+ * Working filter context.
14192
+ *
14193
+ * @alpha
14194
+ */
14195
+ export declare interface IWorkingFilterContextDefinition {
14196
+ /**
14197
+ * Partial attribute or date filters
14198
+ */
14199
+ readonly filters: WorkingFilterContextItem[];
14200
+ }
14201
+
14100
14202
  /**
14101
14203
  * @internal
14102
14204
  */
@@ -18844,7 +18946,7 @@ export declare const selectFilterContextAttributeFilterByDisplayForm: (displayFo
18844
18946
  export declare const selectFilterContextAttributeFilterByLocalId: (localId: string) => DashboardSelector<IDashboardAttributeFilter | undefined>;
18845
18947
 
18846
18948
  /**
18847
- * This selector returns dashboard's filter context attribute filters.
18949
+ * This selector returns dashboard's applied filter context attribute filters.
18848
18950
  *
18849
18951
  * @remarks
18850
18952
  * It is expected that the selector is called only after the filter context state is correctly initialized.
@@ -18855,7 +18957,7 @@ export declare const selectFilterContextAttributeFilterByLocalId: (localId: stri
18855
18957
  export declare const selectFilterContextAttributeFilters: DashboardSelector<IDashboardAttributeFilter[]>;
18856
18958
 
18857
18959
  /**
18858
- * This selector returns dashboard's filter context date filter.
18960
+ * This selector returns dashboard's applied filter context date filter.
18859
18961
  *
18860
18962
  * @remarks
18861
18963
  * It is expected that the selector is called only after the filter context state is correctly initialized.
@@ -18876,7 +18978,7 @@ export declare const selectFilterContextDateFilter: DashboardSelector<IDashboard
18876
18978
  export declare const selectFilterContextDateFilterByDataSet: (dataSet: ObjRef) => (state: DashboardState) => IDashboardDateFilter | undefined;
18877
18979
 
18878
18980
  /**
18879
- * This selector returns dashboard's filter context date filter with dimension specified.
18981
+ * This selector returns dashboard's applied filter context date filter with dimension specified.
18880
18982
  *
18881
18983
  * @remarks
18882
18984
  * It is expected that the selector is called only after the filter context state is correctly initialized.
@@ -18887,7 +18989,7 @@ export declare const selectFilterContextDateFilterByDataSet: (dataSet: ObjRef) =
18887
18989
  export declare const selectFilterContextDateFiltersWithDimension: DashboardSelector<IDashboardDateFilter[]>;
18888
18990
 
18889
18991
  /**
18890
- * This selector returns current dashboard's filter context definition.
18992
+ * This selector returns current applied dashboard's filter context definition.
18891
18993
  *
18892
18994
  * @remarks
18893
18995
  * It is expected that the selector is called only after the filter context state is correctly initialized.
@@ -18900,7 +19002,7 @@ export declare const selectFilterContextDateFiltersWithDimension: DashboardSelec
18900
19002
  export declare const selectFilterContextDefinition: DashboardSelector<IFilterContextDefinition>;
18901
19003
 
18902
19004
  /**
18903
- * This selector returns dashboard's filter context filters.
19005
+ * This selector returns dashboard's applied filter context filters.
18904
19006
  *
18905
19007
  * @remarks
18906
19008
  * It is expected that the selector is called only after the filter context state is correctly initialized.
@@ -19473,6 +19575,20 @@ export declare const selectIsWidgetDeleteDialogOpen: DashboardSelector<boolean>;
19473
19575
  */
19474
19576
  export declare const selectIsWidgetLoadingAdditionalDataByWidgetRef: (refs: ObjRef) => DashboardSelector<boolean>;
19475
19577
 
19578
+ /**
19579
+ * Returns true if working filters and applied filters are same.
19580
+ *
19581
+ * Attribute filters are considered equal if
19582
+ * - they have same localIdentifier
19583
+ * - they have same elements (order does not matter)
19584
+ * - all other fields are deep equal EXCEPT displayForm
19585
+ * We exclude diplayForm becuase of primary display form migration code.
19586
+ * Which changes display forms after update.
19587
+ *
19588
+ * @alpha
19589
+ */
19590
+ export declare const selectIsWorkingFilterContextChanged: DashboardSelector<boolean | undefined>;
19591
+
19476
19592
  /**
19477
19593
  * @internal
19478
19594
  *
@@ -20003,6 +20119,63 @@ export declare const selectWidgetsOverlay: DashboardSelector<Record<string, IDas
20003
20119
  */
20004
20120
  export declare const selectWidgetsOverlayState: (refs: (ObjRef | undefined)[]) => DashboardSelector<boolean>;
20005
20121
 
20122
+ /**
20123
+ * This selector returns dashboard's working filter context attribute filters.
20124
+ *
20125
+ * @remarks
20126
+ * It is expected that the selector is called only after the filter context state is correctly initialized.
20127
+ * Invocations before initialization lead to invariant errors.
20128
+ *
20129
+ * @public
20130
+ */
20131
+ export declare const selectWorkingFilterContextAttributeFilters: DashboardSelector<IDashboardAttributeFilter[]>;
20132
+
20133
+ /**
20134
+ * This selector returns dashboard's working filter context date filter.
20135
+ *
20136
+ * @remarks
20137
+ * It is expected that the selector is called only after the filter context state is correctly initialized.
20138
+ * Invocations before initialization lead to invariant errors.
20139
+ *
20140
+ * @public
20141
+ */
20142
+ export declare const selectWorkingFilterContextDateFilter: DashboardSelector<IDashboardDateFilter | undefined>;
20143
+
20144
+ /**
20145
+ * This selector returns dashboard's working filter context date filter with dimension specified.
20146
+ *
20147
+ * @remarks
20148
+ * It is expected that the selector is called only after the filter context state is correctly initialized.
20149
+ * Invocations before initialization lead to invariant errors.
20150
+ *
20151
+ * @public
20152
+ */
20153
+ export declare const selectWorkingFilterContextDateFiltersWithDimension: DashboardSelector<IDashboardDateFilter[]>;
20154
+
20155
+ /**
20156
+ * This selector returns current working dashboard's filter context definition.
20157
+ *
20158
+ * @remarks
20159
+ * It is expected that the selector is called only after the wokring filter context state is correctly initialized.
20160
+ * Invocations before initialization lead to invariant errors.
20161
+ *
20162
+ * @returns a {@link @gooddata/sdk-backend-spi#IFilterContextDefinition}
20163
+ *
20164
+ * @alpha
20165
+ */
20166
+ export declare const selectWorkingFilterContextDefinition: DashboardSelector<IFilterContextDefinition>;
20167
+
20168
+ /**
20169
+ * This selector returns dashboard's working filter context filters.
20170
+ *
20171
+ * @remarks
20172
+ * It is expected that the selector is called only after the filter context state is correctly initialized.
20173
+ * Invocations before initialization lead to invariant errors.
20174
+ *
20175
+ * @public
20176
+ */
20177
+ export declare const selectWorkingFilterContextFilters: DashboardSelector<FilterContextItem[]>;
20178
+
20006
20179
  /**
20007
20180
  * @beta
20008
20181
  */
@@ -20057,9 +20230,10 @@ export declare interface SetAttributeFilterDisplayForm extends IDashboardCommand
20057
20230
  * @beta
20058
20231
  * @param filterLocalId - local identifier of the filter the display form is changed for
20059
20232
  * @param displayForm - newly selected display form
20233
+ * @param isWorkingSelectionChange - determines if command updates working filter context or applied filter context. Applied filter context is default.
20060
20234
  * @returns change filter display form command
20061
20235
  */
20062
- export declare function setAttributeFilterDisplayForm(filterLocalId: string, displayForm: ObjRef): SetAttributeFilterDisplayForm;
20236
+ export declare function setAttributeFilterDisplayForm(filterLocalId: string, displayForm: ObjRef, isWorkingSelectionChange?: boolean): SetAttributeFilterDisplayForm;
20063
20237
 
20064
20238
  /**
20065
20239
  * @beta
@@ -20067,6 +20241,7 @@ export declare function setAttributeFilterDisplayForm(filterLocalId: string, dis
20067
20241
  export declare interface SetAttributeFilterDisplayFormPayload {
20068
20242
  filterLocalId: string;
20069
20243
  displayForm: ObjRef;
20244
+ isWorkingSelectionChange?: boolean;
20070
20245
  }
20071
20246
 
20072
20247
  /**
@@ -22399,4 +22574,20 @@ export declare interface WithDrillSelectProps {
22399
22574
  }) => JSX.Element;
22400
22575
  }
22401
22576
 
22577
+ /**
22578
+ * Partial working attribute filter used in working filter context.
22579
+ *
22580
+ * @alpha
22581
+ */
22582
+ export declare type WorkingDashboardAttributeFilter = {
22583
+ attributeFilter: Partial<IDashboardAttributeFilter["attributeFilter"]>;
22584
+ };
22585
+
22586
+ /**
22587
+ * Partial working filter context item.
22588
+ *
22589
+ * @alpha
22590
+ */
22591
+ export declare type WorkingFilterContextItem = WorkingDashboardAttributeFilter | IDashboardDateFilter;
22592
+
22402
22593
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "10.22.0-alpha.47",
3
+ "version": "10.22.0-alpha.49",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "repository": {
6
6
  "type": "git",
@@ -57,17 +57,17 @@
57
57
  "ts-invariant": "^0.7.5",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2",
60
- "@gooddata/sdk-backend-base": "10.22.0-alpha.47",
61
- "@gooddata/sdk-backend-spi": "10.22.0-alpha.47",
62
- "@gooddata/sdk-model": "10.22.0-alpha.47",
63
- "@gooddata/sdk-ui-ext": "10.22.0-alpha.47",
64
- "@gooddata/sdk-ui": "10.22.0-alpha.47",
65
- "@gooddata/sdk-ui-filters": "10.22.0-alpha.47",
66
- "@gooddata/sdk-ui-geo": "10.22.0-alpha.47",
67
- "@gooddata/sdk-ui-kit": "10.22.0-alpha.47",
68
- "@gooddata/sdk-ui-vis-commons": "10.22.0-alpha.47",
69
- "@gooddata/sdk-ui-theme-provider": "10.22.0-alpha.47",
70
- "@gooddata/util": "10.22.0-alpha.47"
60
+ "@gooddata/sdk-backend-base": "10.22.0-alpha.49",
61
+ "@gooddata/sdk-backend-spi": "10.22.0-alpha.49",
62
+ "@gooddata/sdk-model": "10.22.0-alpha.49",
63
+ "@gooddata/sdk-ui": "10.22.0-alpha.49",
64
+ "@gooddata/sdk-ui-ext": "10.22.0-alpha.49",
65
+ "@gooddata/sdk-ui-filters": "10.22.0-alpha.49",
66
+ "@gooddata/sdk-ui-geo": "10.22.0-alpha.49",
67
+ "@gooddata/sdk-ui-kit": "10.22.0-alpha.49",
68
+ "@gooddata/sdk-ui-theme-provider": "10.22.0-alpha.49",
69
+ "@gooddata/sdk-ui-vis-commons": "10.22.0-alpha.49",
70
+ "@gooddata/util": "10.22.0-alpha.49"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^16.10.0 || ^17.0.0 || ^18.0.0",
@@ -120,9 +120,9 @@
120
120
  "typescript": "5.3.3",
121
121
  "vitest": "1.0.4",
122
122
  "vitest-dom": "0.1.1",
123
- "@gooddata/i18n-toolkit": "10.22.0-alpha.47",
124
- "@gooddata/reference-workspace": "10.22.0-alpha.47",
125
- "@gooddata/sdk-backend-mockingbird": "10.22.0-alpha.47"
123
+ "@gooddata/i18n-toolkit": "10.22.0-alpha.49",
124
+ "@gooddata/reference-workspace": "10.22.0-alpha.49",
125
+ "@gooddata/sdk-backend-mockingbird": "10.22.0-alpha.49"
126
126
  },
127
127
  "scripts": {
128
128
  "clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
@@ -1,4 +1,4 @@
1
- // (C) 2019-2024 GoodData Corporation
1
+ // (C) 2019-2025 GoodData Corporation
2
2
  @use "sass:color";
3
3
  @use "variables";
4
4
  @use "zIndexes";