@gooddata/sdk-ui-dashboard 11.70.0-alpha.1 → 11.70.0-alpha.2

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 (82) hide show
  1. package/NOTICE +50 -83
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/automation/index.d.ts.map +1 -1
  5. package/esm/_staging/automation/index.js +18 -8
  6. package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts +11 -0
  7. package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts.map +1 -0
  8. package/esm/_staging/dashboard/absoluteGranularityDateFilters.js +46 -0
  9. package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
  10. package/esm/_staging/dashboard/dashboardFilterConverter.js +5 -2
  11. package/esm/_staging/drills/drillingUtils.d.ts +2 -2
  12. package/esm/_staging/drills/drillingUtils.d.ts.map +1 -1
  13. package/esm/_staging/drills/drillingUtils.js +3 -3
  14. package/esm/kdaDialog/components/bars/AttributeBar.d.ts.map +1 -1
  15. package/esm/kdaDialog/components/bars/AttributeBar.js +9 -2
  16. package/esm/kdaDialog/components/bars/DateBar.d.ts.map +1 -1
  17. package/esm/kdaDialog/components/bars/DateBar.js +2 -1
  18. package/esm/kdaDialog/composition/hooks/useDrillAttributeHandler.d.ts.map +1 -1
  19. package/esm/kdaDialog/composition/hooks/useDrillAttributeHandler.js +9 -5
  20. package/esm/kdaDialog/internalTypes.d.ts +3 -0
  21. package/esm/kdaDialog/internalTypes.d.ts.map +1 -1
  22. package/esm/kdaDialog/providers/KdaState.d.ts.map +1 -1
  23. package/esm/kdaDialog/providers/KdaState.js +1 -0
  24. package/esm/kdaDialog/types.d.ts +9 -2
  25. package/esm/kdaDialog/types.d.ts.map +1 -1
  26. package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.d.ts.map +1 -1
  27. package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.js +5 -0
  28. package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
  29. package/esm/model/commandHandlers/dashboard/common/filterViews.js +14 -3
  30. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  31. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +3 -0
  32. package/esm/model/commandHandlers/drill/common/filterValuesResolver.d.ts.map +1 -1
  33. package/esm/model/commandHandlers/drill/common/filterValuesResolver.js +11 -4
  34. package/esm/model/commandHandlers/drill/common/sourceDrillFilters.d.ts +2 -2
  35. package/esm/model/commandHandlers/drill/common/sourceDrillFilters.d.ts.map +1 -1
  36. package/esm/model/commandHandlers/drill/common/sourceDrillFilters.js +13 -4
  37. package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
  38. package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +15 -7
  39. package/esm/model/commandHandlers/drill/drillToInsightUtils.js +3 -3
  40. package/esm/model/commandHandlers/drill/getDrillToUrlFilters.d.ts.map +1 -1
  41. package/esm/model/commandHandlers/drill/getDrillToUrlFilters.js +5 -4
  42. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
  43. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +7 -2
  44. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  45. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +6 -1
  46. package/esm/model/commandHandlers/scheduledEmail/csvRawExecutionDefinition.js +3 -3
  47. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  48. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +27 -11
  49. package/esm/model/commands/filters.d.ts +1 -0
  50. package/esm/model/commands/filters.d.ts.map +1 -1
  51. package/esm/model/commands/filters.js +7 -2
  52. package/esm/model/events/drill.d.ts +21 -0
  53. package/esm/model/events/drill.d.ts.map +1 -1
  54. package/esm/model/queryServices/queryInsightDateDatasets.js +2 -2
  55. package/esm/model/queryServices/queryWidgetFilters.js +2 -2
  56. package/esm/model/utils/widgetFilters.d.ts +3 -3
  57. package/esm/model/utils/widgetFilters.d.ts.map +1 -1
  58. package/esm/model/utils/widgetFilters.js +2 -2
  59. package/esm/presentation/automations/shared/automationFilters/hooks/useDefaultSelectedFiltersForExistingAutomation.d.ts.map +1 -1
  60. package/esm/presentation/automations/shared/automationFilters/hooks/useDefaultSelectedFiltersForExistingAutomation.js +2 -3
  61. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.d.ts.map +1 -1
  62. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.js +12 -5
  63. package/esm/presentation/automations/shared/automationFilters/utils.d.ts +2 -2
  64. package/esm/presentation/automations/shared/automationFilters/utils.d.ts.map +1 -1
  65. package/esm/presentation/automations/shared/automationFilters/utils.js +32 -11
  66. package/esm/presentation/automations/shared/filters/conversions.js +2 -2
  67. package/esm/presentation/automations/shared/utils/automationUtils.d.ts.map +1 -1
  68. package/esm/presentation/automations/shared/utils/automationUtils.js +18 -8
  69. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
  70. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +5 -1
  71. package/esm/presentation/filterBar/utils.d.ts +1 -0
  72. package/esm/presentation/filterBar/utils.d.ts.map +1 -1
  73. package/esm/presentation/filterBar/utils.js +3 -1
  74. package/esm/presentation/insightEditor/filterContext/dateFilters.d.ts.map +1 -1
  75. package/esm/presentation/insightEditor/filterContext/dateFilters.js +12 -5
  76. package/esm/presentation/widget/common/configuration/utils.js +2 -2
  77. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useExcludedDrillDefinitionFilters.d.ts.map +1 -1
  78. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useExcludedDrillDefinitionFilters.js +4 -2
  79. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
  80. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +7 -2
  81. package/esm/sdk-ui-dashboard.d.ts +31 -2
  82. package/package.json +23 -23
@@ -1,6 +1,6 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
2
  import { NotSupported } from "@gooddata/sdk-backend-spi";
3
- import { attributeLocalId, dashboardFilterLocalIdentifier, filterAttributeElements, filterContextItemsToDashboardFiltersByWidget, filterLocalIdentifier, filterObjRef, hasMeasureValueFilterConditions, insightAttributes, isAbsoluteDateFilter, isAllDashboardMeasureValueFilter, isAllTimeDateFilter, isAllValuesAttributeFilter, isAllValuesDashboardAttributeFilter, isArbitraryAttributeFilter, isAttributeFilterWithSelection, isDashboardDateFilter, isDashboardMeasureValueFilter, isDateFilter, isDateFilterGranularity, isInsightWidget, isLocalIdRef, isMatchAttributeFilter, isMeasureValueFilter, isNegativeAttributeFilter, isNoopAllTimeDashboardDateFilter, isObjRef, isRankingFilter, isRelativeBoundedDateFilter, isRelativeDateFilter, measureValueFilterConditions, measureValueFilterMeasure, mergeFilters, newAbsoluteDashboardDateFilter, newAllTimeDashboardDateFilter, newRelativeDashboardDateFilter, } from "@gooddata/sdk-model";
3
+ import { attributeLocalId, dashboardFilterLocalIdentifier, filterAttributeElements, filterContextItemsToDashboardFiltersByWidget, filterLocalIdentifier, filterObjRef, hasMeasureValueFilterConditions, insightAttributes, isAbsoluteDateFilter, isAllDashboardMeasureValueFilter, isAllTimeDateFilter, isAllValuesAttributeFilter, isAllValuesDashboardAttributeFilter, isArbitraryAttributeFilter, isAttributeFilterWithSelection, isDashboardDateFilter, isDashboardMeasureValueFilter, isDateFilterGranularity, isDateFilterOfAnyType, isInsightWidget, isLocalIdRef, isMatchAttributeFilter, isMeasureValueFilter, isNegativeAttributeFilter, isNoopAllTimeDashboardDateFilter, isObjRef, isRankingFilter, isRelativeBoundedDateFilter, isRelativeDateFilter, measureValueFilterConditions, measureValueFilterMeasure, mergeFilters, newAbsoluteDashboardDateFilter, newAllTimeDashboardDateFilter, newRelativeDashboardDateFilter, } from "@gooddata/sdk-model";
4
4
  import { _compact } from "@gooddata/util";
5
5
  import { removeIgnoredWidgetFilters } from "../../../../model/utils/widgetFilters.js";
6
6
  function findVisibleFilter(localIdentifier, visibleFilters) {
@@ -222,7 +222,7 @@ function resolveDimensionalityItems(dimensionality, attributeLocalIdToDisplayFor
222
222
  /** A filter with no effect on a widget execution: all-time date, condition-less MVF, all-values attribute. */
223
223
  export function isNoopExecutionFilter(filter) {
224
224
  // Strip noop "All time" date filters (implicit default with no extra configuration).
225
- if (isDateFilter(filter)) {
225
+ if (isDateFilterOfAnyType(filter)) {
226
226
  return isNoopAllTimeDateFilterFixed(filter);
227
227
  }
228
228
  // Strip noop "All" measure value filters (no conditions).
@@ -1 +1 @@
1
- {"version":3,"file":"automationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/utils/automationUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,KAAK,EAKb,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,qBAAqB,eAClB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,4BAA4B,eACzB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,kCAAkC,qBACzB,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,mCAAmC,qBAC1B,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,iBAAiB,EAAE,GAAG,SAUxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,eAC/B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAUxC,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAC9B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF;IAAE,gBAAgB,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;IAAC,kBAAkB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAA;CAqBhG,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,OAAO,EAAE,GAAG,SAMd,CAAC;AAOF,eAAO,MAAM,mBAAmB,uBACR,mCAAmC,qBACpC,mCAAmC,YAmBzD,CAAC;AAEF,eAAO,MAAM,gCAAgC,SAAU,KAAK,KAAG,oBAO9D,CAAC;AAEF,eAAO,MAAM,6CAA6C,sBACnC,MAAM,KAC1B,oBAOF,CAAC"}
1
+ {"version":3,"file":"automationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/utils/automationUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,KAAK,EAKb,MAAM,qBAAqB,CAAC;AAK7B,eAAO,MAAM,qBAAqB,eAClB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,4BAA4B,eACzB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,kCAAkC,qBACzB,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,mCAAmC,qBAC1B,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,iBAAiB,EAAE,GAAG,SAcxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,eAC/B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAcxC,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAC9B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF;IAAE,gBAAgB,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;IAAC,kBAAkB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAA;CAwBhG,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,OAAO,EAAE,GAAG,SAMd,CAAC;AAOF,eAAO,MAAM,mBAAmB,uBACR,mCAAmC,qBACpC,mCAAmC,YAmBzD,CAAC;AAEF,eAAO,MAAM,gCAAgC,SAAU,KAAK,KAAG,oBAO9D,CAAC;AAEF,eAAO,MAAM,6CAA6C,sBACnC,MAAM,KAC1B,oBAOF,CAAC"}
@@ -1,7 +1,8 @@
1
1
  // (C) 2024-2026 GoodData Corporation
2
2
  import { pick } from "lodash-es";
3
- import { isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isFilter, isFilterContextItem, } from "@gooddata/sdk-model";
3
+ import { isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isFilterContextItem, isFilterOfAnyType, } from "@gooddata/sdk-model";
4
4
  import { _isEqual, _omit } from "@gooddata/util";
5
+ import { assertNoAbsoluteGranularityDateFilter } from "../../../../_staging/dashboard/absoluteGranularityDateFilters.js";
5
6
  export const isDashboardAutomation = (automation) => {
6
7
  if (!automation) {
7
8
  return false;
@@ -48,9 +49,12 @@ export const getAutomationDashboardFilters = (automation) => {
48
49
  if (!automation) {
49
50
  return undefined;
50
51
  }
51
- return automation.exportDefinitions?.find((exportDefinition) => {
52
+ const filters = automation.exportDefinitions?.find((exportDefinition) => {
52
53
  return isExportDefinitionDashboardRequestPayload(exportDefinition.requestPayload);
53
- })?.requestPayload?.content.filters?.filter((f) => isFilterContextItem(f));
54
+ })?.requestPayload?.content.filters;
55
+ // The filter below drops absolute date filters with granularity, so saving would lose them.
56
+ assertNoAbsoluteGranularityDateFilter(filters);
57
+ return filters?.filter((f) => isFilterContextItem(f));
54
58
  };
55
59
  /**
56
60
  * Extracts dashboard filters structured by tab from automation metadata object.
@@ -60,9 +64,12 @@ export const getAutomationDashboardFiltersByTab = (automation) => {
60
64
  if (!automation) {
61
65
  return undefined;
62
66
  }
63
- return automation.exportDefinitions?.find((exportDefinition) => {
67
+ const filtersByTab = automation.exportDefinitions?.find((exportDefinition) => {
64
68
  return isExportDefinitionDashboardRequestPayload(exportDefinition.requestPayload);
65
69
  })?.requestPayload?.content.filtersByTab;
70
+ // Tab filters go to the edit dialog as is, which cannot show absolute date filters with granularity.
71
+ Object.values(filtersByTab ?? {}).forEach((filters) => assertNoAbsoluteGranularityDateFilter(filters));
72
+ return filtersByTab;
66
73
  };
67
74
  export const getAutomationVisualizationFilters = (automation) => {
68
75
  if (!automation) {
@@ -70,10 +77,13 @@ export const getAutomationVisualizationFilters = (automation) => {
70
77
  }
71
78
  const executionFilters = automation.exportDefinitions?.find((exportDefinition) => {
72
79
  return isExportDefinitionVisualizationObjectRequestPayload(exportDefinition.requestPayload);
73
- })?.requestPayload?.content.filters?.filter((f) => isFilter(f));
74
- const filterContextItems = automation.exportDefinitions?.find((exportDefinition) => {
80
+ })?.requestPayload?.content.filters?.filter((f) => isFilterOfAnyType(f));
81
+ const visualizationFilters = automation.exportDefinitions?.find((exportDefinition) => {
75
82
  return isExportDefinitionVisualizationObjectRequestPayload(exportDefinition.requestPayload);
76
- })?.requestPayload?.content.filters?.filter((f) => isFilterContextItem(f));
83
+ })?.requestPayload?.content.filters;
84
+ // The filter below drops absolute date filters with granularity, so saving would lose them.
85
+ assertNoAbsoluteGranularityDateFilter(visualizationFilters);
86
+ const filterContextItems = visualizationFilters?.filter((f) => isFilterContextItem(f));
77
87
  return {
78
88
  executionFilters: (executionFilters ?? []).length > 0 ? executionFilters : undefined,
79
89
  filterContextItems: (filterContextItems ?? []).length > 0 ? filterContextItems : undefined,
@@ -83,7 +93,7 @@ export const getAutomationAlertFilters = (automation) => {
83
93
  if (!automation) {
84
94
  return undefined;
85
95
  }
86
- return automation.alert?.execution?.filters?.filter(isFilter);
96
+ return automation.alert?.execution?.filters?.filter(isFilterOfAnyType);
87
97
  };
88
98
  const sortByFormat = (a, b) => a.requestPayload.format.localeCompare(b.requestPayload.format);
89
99
  export const areAutomationsEqual = (originalAutomation, updatedAutomation) => {
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultFilterBar.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,OAAO,CAAC;AAkFvD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAGlD;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAO,eA4OpC,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,YAAY,CA8IrE"}
1
+ {"version":3,"file":"DefaultFilterBar.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,OAAO,CAAC;AAkFvD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAGlD;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAO,eAmPpC,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,YAAY,CA8IrE"}
@@ -26,7 +26,7 @@ import { DraggableFilterDropZoneHint } from "../../dragAndDrop/draggableFilterDr
26
26
  import { HiddenDashboardDateFilter } from "../dateFilter/HiddenDashboardDateFilter.js";
27
27
  import { AddFilterMenu } from "../parameterFilter/AddFilterMenu.js";
28
28
  import { DashboardParameterFilter } from "../parameterFilter/DashboardParameterFilter.js";
29
- import { areAllFiltersHidden } from "../utils.js";
29
+ import { areAllFiltersHidden, isUnsupportedDateFilterChange } from "../utils.js";
30
30
  import { DefaultFilterBarContainer } from "./DefaultFilterBarContainer.js";
31
31
  import { DefaultFilterBarItem } from "./DefaultFilterBarItem.js";
32
32
  import { groupFilterItems } from "./filterGroupUtils.js";
@@ -110,6 +110,10 @@ export const useFilterBarProps = () => {
110
110
  }
111
111
  }, [dispatch, supportElementUris, filters, workingFilters, isApplyAllAtOnceEnabledAndSet]);
112
112
  const onDateFilterChanged = useCallback((filter, dateFilterOptionLocalId, isWorkingSelectionChange) => {
113
+ if (isUnsupportedDateFilterChange(filter)) {
114
+ console.warn("The filter bar ignores a date filter that is not a dashboard date filter.", filter);
115
+ return;
116
+ }
113
117
  if (!filter) {
114
118
  dispatch(clearDateFilterSelection(undefined, undefined, isWorkingSelectionChange && isApplyAllAtOnceEnabledAndSet));
115
119
  }
@@ -2,6 +2,7 @@ import { type IntlShape } from "react-intl";
2
2
  import { type DashboardAttributeFilterConfigMode, type DashboardDateFilterConfigMode } from "@gooddata/sdk-model";
3
3
  import { type IFilterButtonCustomIcon, type VisibilityMode } from "@gooddata/sdk-ui-filters";
4
4
  import { type FilterBarDraggableItems } from "./filterBar/useFiltersWithAddedPlaceholder.js";
5
+ export declare const isUnsupportedDateFilterChange: (filter: unknown) => boolean;
5
6
  export declare const getVisibilityIcon: (mode: VisibilityMode | undefined, isInEditMode: boolean, supportsHiddenAndLockedFiltersOnUI: boolean, intl: IntlShape) => IFilterButtonCustomIcon | undefined;
6
7
  export declare const areAllFiltersHidden: (draggableFilters: FilterBarDraggableItems, effectedDateFilterMode: DashboardDateFilterConfigMode, effectedAttributeFiltersModeMap: Map<string, DashboardAttributeFilterConfigMode>, effectedDateFiltersModeMap: Map<string, DashboardDateFilterConfigMode>, effectedMeasureValueFiltersModeMap?: Map<string, DashboardAttributeFilterConfigMode>) => boolean;
7
8
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/presentation/filterBar/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACH,KAAK,kCAAkC,EAEvC,KAAK,6BAA6B,EAKrC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI7F,OAAO,EACH,KAAK,uBAAuB,EAM/B,MAAM,+CAA+C,CAAC;AAMvD,eAAO,MAAM,iBAAiB,SACpB,cAAc,GAAG,SAAS,gBAClB,OAAO,sCACe,OAAO,QACrC,SAAS,KAChB,uBAAuB,GAAG,SA0B5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,qBACV,uBAAuB,0BACjB,6BAA6B,mCACpB,GAAG,CAAC,MAAM,EAAE,kCAAkC,CAAC,8BACpD,GAAG,CAAC,MAAM,EAAE,6BAA6B,CAAC,uCAClC,GAAG,CAAC,MAAM,EAAE,kCAAkC,CAAC,YAetF,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/presentation/filterBar/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACH,KAAK,kCAAkC,EAEvC,KAAK,6BAA6B,EAMrC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI7F,OAAO,EACH,KAAK,uBAAuB,EAM/B,MAAM,+CAA+C,CAAC;AAGvD,eAAO,MAAM,6BAA6B,WAAY,OAAO,KAAG,OACN,CAAC;AAM3D,eAAO,MAAM,iBAAiB,SACpB,cAAc,GAAG,SAAS,gBAClB,OAAO,sCACe,OAAO,QACrC,SAAS,KAChB,uBAAuB,GAAG,SA0B5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,qBACV,uBAAuB,0BACjB,6BAA6B,mCACpB,GAAG,CAAC,MAAM,EAAE,kCAAkC,CAAC,8BACpD,GAAG,CAAC,MAAM,EAAE,6BAA6B,CAAC,uCAClC,GAAG,CAAC,MAAM,EAAE,kCAAkC,CAAC,YAetF,CAAC"}
@@ -1,7 +1,9 @@
1
1
  // (C) 2023-2026 GoodData Corporation
2
- import { DashboardAttributeFilterConfigModeValues, DashboardDateFilterConfigModeValues, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, serializeObjRef, } from "@gooddata/sdk-model";
2
+ import { DashboardAttributeFilterConfigModeValues, DashboardDateFilterConfigModeValues, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, isDashboardDateFilter, serializeObjRef, } from "@gooddata/sdk-model";
3
3
  import { messages } from "../../locales.js";
4
4
  import { isFilterBarAttributeFilter, isFilterBarDateFilterWithDimension, isFilterBarFilterPlaceholder, isFilterBarMeasureValueFilter, } from "./filterBar/useFiltersWithAddedPlaceholder.js";
5
+ // callers without types can pass another date filter type, which the filter bar cannot apply
6
+ export const isUnsupportedDateFilterChange = (filter) => filter !== undefined && !isDashboardDateFilter(filter);
5
7
  const VISIBILITY_BUBBLE_SETTINGS = {
6
8
  bubbleClassNames: "gd-filter-button-custom-icon-bubble s-gd-filter-button-custom-icon-bubble",
7
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"dateFilters.d.ts","sourceRoot":"","sources":["../../../../src/presentation/insightEditor/filterContext/dateFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EACH,KAAK,oBAAoB,EAEzB,KAAK,OAAO,EACZ,KAAK,QAAQ,EAEb,KAAK,OAAO,EAWf,MAAM,qBAAqB,CAAC;AAwC7B,wBAAgB,uBAAuB,CACnC,MAAM,EAAE,OAAO,EACf,qBAAqB,EAAE,oBAAoB,GAAG,SAAS,GACxD,cAAc,GAAG,SAAS,CAK5B;AAoED,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,GAAG,cAAc,EAAE,CAOjG"}
1
+ {"version":3,"file":"dateFilters.d.ts","sourceRoot":"","sources":["../../../../src/presentation/insightEditor/filterContext/dateFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAEH,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,KAAK,QAAQ,EAEb,KAAK,OAAO,EAYf,MAAM,qBAAqB,CAAC;AA0C7B,wBAAgB,uBAAuB,CACnC,MAAM,EAAE,OAAO,EACf,qBAAqB,EAAE,oBAAoB,GAAG,SAAS,GACxD,cAAc,GAAG,SAAS,CAK5B;AA4ED,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,GAAG,cAAc,EAAE,CAOjG"}
@@ -1,5 +1,6 @@
1
1
  // (C) 2020-2026 GoodData Corporation
2
- import { absoluteDateFilterValues, areObjRefsEqual, filterObjRef, insightFilters, isAbsoluteDateFilter, isAllTimeDateFilter, isDateFilter, isRelativeDateFilter, relativeDateFilterValues, } from "@gooddata/sdk-model";
2
+ import { absoluteDateFilterValues, areObjRefsEqual, filterObjRef, insightFilters, isAbsoluteDateFilter, isAbsoluteGranularityDateFilter, isAllTimeDateFilter, isDateFilterOfAnyType, isRelativeDateFilter, relativeDateFilterValues, } from "@gooddata/sdk-model";
3
+ import { _compact } from "@gooddata/util";
3
4
  const ALL_TIME_GRANULARITY = "ALL_TIME_GRANULARITY";
4
5
  function getDateFilterItem(dataSet, dateFilterContextItem) {
5
6
  if (dateFilterContextItem) {
@@ -86,7 +87,10 @@ function getDateFilterContext(dateFilter) {
86
87
  },
87
88
  };
88
89
  }
89
- else {
90
+ else if (isAbsoluteGranularityDateFilter(dateFilter)) {
91
+ throw new Error("Absolute date filters with granularity are not supported in the insight editor yet.");
92
+ }
93
+ else if (isRelativeDateFilter(dateFilter)) {
90
94
  const { dataSet, from, to, granularity, boundedFilter } = relativeDateFilterValues(dateFilter, includeDataSet);
91
95
  return {
92
96
  relativeDateFilter: {
@@ -98,12 +102,15 @@ function getDateFilterContext(dateFilter) {
98
102
  },
99
103
  };
100
104
  }
105
+ const unknownFilter = dateFilter;
106
+ console.warn("Skipping a date filter of an unknown type.", unknownFilter);
107
+ return undefined;
101
108
  }
102
109
  export function getDateFilterItems(appliedFilters, insight) {
103
110
  const sanitizedAppliedDateFilters = appliedFilters
104
- .filter(isDateFilter)
111
+ .filter(isDateFilterOfAnyType)
105
112
  .map(sanitizeCorruptedAllTimeFilters);
106
- const insightDateFilters = insightFilters(insight).filter(isDateFilter);
113
+ const insightDateFilters = insightFilters(insight).filter(isDateFilterOfAnyType);
107
114
  return getDateFilterItemsFromAppliedFilters(sanitizedAppliedDateFilters, insightDateFilters);
108
115
  }
109
116
  function getDateFilterItemsFromAppliedFilters(appliedFilters, insightDateFilters) {
@@ -113,5 +120,5 @@ function getDateFilterItemsFromAppliedFilters(appliedFilters, insightDateFilters
113
120
  });
114
121
  });
115
122
  const allDateFilters = [...appliedFilters, ...uniqueInsightDateFilters];
116
- return allDateFilters.map((dateFilter) => getDateFilterContext(dateFilter));
123
+ return _compact(allDateFilters.map(getDateFilterContext));
117
124
  }
@@ -1,5 +1,5 @@
1
1
  // (C) 2022-2026 GoodData Corporation
2
- import { areObjRefsEqual, insightMeasures, isDateFilter, isSimpleMeasure, measureFilters, } from "@gooddata/sdk-model";
2
+ import { areObjRefsEqual, insightMeasures, isDateFilterOfAnyType, isSimpleMeasure, measureFilters, } from "@gooddata/sdk-model";
3
3
  import { sortDateDatasets, unrelatedHeader, } from "@gooddata/sdk-ui-kit";
4
4
  import { _isEmpty } from "@gooddata/util";
5
5
  const DATE_DROPDOWN_BODY_MARGIN = 6;
@@ -17,7 +17,7 @@ export function getUnrelatedDateDataset(relatedDateDataSets, selectedDateDataSet
17
17
  function isDateFiltered(measure) {
18
18
  if (isSimpleMeasure(measure)) {
19
19
  const filters = measureFilters(measure);
20
- return !!filters?.some(isDateFilter);
20
+ return !!filters?.some(isDateFilterOfAnyType);
21
21
  }
22
22
  return true;
23
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useExcludedDrillDefinitionFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useExcludedDrillDefinitionFilters.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,OAAO,EAMf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE7D,wBAAgB,iCAAiC,CAC7C,iBAAiB,EAAE,OAAO,EAAE,GAAG,SAAS,EACxC,SAAS,EAAE,sBAAsB,CAAC,WAAW,CAAC,yBAsBjD"}
1
+ {"version":3,"file":"useExcludedDrillDefinitionFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useExcludedDrillDefinitionFilters.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,OAAO,EAMf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE7D,wBAAgB,iCAAiC,CAC7C,iBAAiB,EAAE,OAAO,EAAE,GAAG,SAAS,EACxC,SAAS,EAAE,sBAAsB,CAAC,WAAW,CAAC,yBA0BjD"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2020-2026 GoodData Corporation
2
2
  import { useMemo } from "react";
3
- import { filterLocalIdentifier, isAttributeFilter, isDateFilter, isDrillToInsight, isMeasureValueFilter, } from "@gooddata/sdk-model";
3
+ import { filterLocalIdentifier, isAttributeFilter, isDateFilterOfAnyType, isDrillToInsight, isMeasureValueFilter, } from "@gooddata/sdk-model";
4
4
  export function useExcludedDrillDefinitionFilters(filtersForInsight, drillStep) {
5
5
  const ignoredDashboardFilterIds = useMemo(() => {
6
6
  if (!drillStep || !isDrillToInsight(drillStep.drillDefinition)) {
@@ -9,7 +9,9 @@ export function useExcludedDrillDefinitionFilters(filtersForInsight, drillStep)
9
9
  return new Set(drillStep.drillDefinition.ignoredDashboardFilters ?? []);
10
10
  }, [drillStep]);
11
11
  return useMemo(() => filtersForInsight?.filter((filter) => {
12
- if (!isAttributeFilter(filter) && !isDateFilter(filter) && !isMeasureValueFilter(filter)) {
12
+ if (!isAttributeFilter(filter) &&
13
+ !isDateFilterOfAnyType(filter) &&
14
+ !isMeasureValueFilter(filter)) {
13
15
  return true;
14
16
  }
15
17
  const localIdentifier = filterLocalIdentifier(filter);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,QAAQ,EAGb,KAAK,cAAc,EAItB,MAAM,OAAO,CAAC;AAef,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACH,KAAK,0BAA0B,EAE/B,KAAK,mBAAmB,EAE3B,MAAM,gBAAgB,CAAC;AAkJxB,wBAAgB,wBAAwB,CAAC,EACrC,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAgB,GACnB,EAAE,0BAA0B,GAAG;IAC5B,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;IAClE,UAAU,EAAE,UAAU,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,2CAuGA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,0BAA0B,2CAcrE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,QAAQ,EAGb,KAAK,cAAc,EAItB,MAAM,OAAO,CAAC;AAef,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACH,KAAK,0BAA0B,EAE/B,KAAK,mBAAmB,EAE3B,MAAM,gBAAgB,CAAC;AAkJxB,wBAAgB,wBAAwB,CAAC,EACrC,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAgB,GACnB,EAAE,0BAA0B,GAAG;IAC5B,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;IAClE,UAAU,EAAE,UAAU,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,2CA0GA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,0BAA0B,2CAcrE"}
@@ -111,7 +111,10 @@ export function DashboardInsightMenuBody({ items, widget, insight, onClose, rend
111
111
  item.data.onClick({});
112
112
  }
113
113
  };
114
+ // the title of the opened submenu; the parent's label element is not rendered while a submenu is shown
115
+ const [submenuTitle, setSubmenuTitle] = useState(undefined);
114
116
  const handleSubmenuOpen = (level, item) => {
117
+ setSubmenuTitle(level > 0 && item && "stringTitle" in item ? item.stringTitle : undefined);
115
118
  if (level > 0) {
116
119
  const submenuItem = items.find((i) => i.itemId === item?.id);
117
120
  if (submenuItem) {
@@ -127,6 +130,8 @@ export function DashboardInsightMenuBody({ items, widget, insight, onClose, rend
127
130
  const menuLabel = showTitle
128
131
  ? undefined
129
132
  : intl.formatMessage({ id: "insightMenu.restrictedWidget.options" });
133
+ // names both the dialog and the menu; a shown submenu is named by its own title
134
+ const label = submenuTitle ?? menuLabel;
130
135
  // The element that opened the menu, kept from before the menu took the focus.
131
136
  const openerRef = useRef(document.activeElement);
132
137
  // An actions menu does not trap focus: Tab out closes it and continues from where it was opened.
@@ -142,8 +147,8 @@ export function DashboardInsightMenuBody({ items, widget, insight, onClose, rend
142
147
  }
143
148
  return 350;
144
149
  };
145
- return (_jsx(UiFocusManager, { enableAutofocus: { initialFocus: menuId }, enableReturnFocusOnUnmount: true, tabOutHandler: handleTabOut, children: _jsx(DashboardInsightMenuContainer, { ariaLabelledBy: menuLabel ? undefined : menuLabelId, ariaLabel: menuLabel, children: _jsx(UiMenu, { maxHeight: getMaxHeight, containerBottomPadding: "small", items: uiMenuItems, onClose: onClose, InteractiveItem: CustomUiMenuInteractiveItemComponent, ContentItem: CustomUiMenuContentItemComponent, Content: CustomUiMenuContentComponent, MenuHeader: showTitle ? CustomUiMenuHeaderComponent : CustomUiMenuHeaderComponentWithoutTitle, shouldCloseOnSelect: true, ariaAttributes: menuLabel
146
- ? { id: menuId, "aria-label": menuLabel }
150
+ return (_jsx(UiFocusManager, { enableAutofocus: { initialFocus: menuId }, enableReturnFocusOnUnmount: true, tabOutHandler: handleTabOut, children: _jsx(DashboardInsightMenuContainer, { ariaLabelledBy: label ? undefined : menuLabelId, ariaLabel: label, children: _jsx(UiMenu, { maxHeight: getMaxHeight, containerBottomPadding: "small", items: uiMenuItems, onClose: onClose, InteractiveItem: CustomUiMenuInteractiveItemComponent, ContentItem: CustomUiMenuContentItemComponent, Content: CustomUiMenuContentComponent, MenuHeader: showTitle ? CustomUiMenuHeaderComponent : CustomUiMenuHeaderComponentWithoutTitle, shouldCloseOnSelect: true, ariaAttributes: label
151
+ ? { id: menuId, "aria-label": label }
147
152
  : { id: menuId, "aria-labelledby": menuLabelId }, onSelect: handleSelect, onLevelChange: handleSubmenuOpen, menuCtxData: {
148
153
  widget,
149
154
  insight,
@@ -1042,6 +1042,7 @@ export declare function applyAttributeFilter(filterLocalId: string, filter: IAtt
1042
1042
  * update (e.g. hidden date filter option by dateFilterConfig).
1043
1043
  *
1044
1044
  * All parameters for {@link ChangeDateFilterSelection} command is derived from the provided date filter.
1045
+ * An absolute date filter with granularity is not supported yet and throws an error.
1045
1046
  *
1046
1047
  * See {@link ChangeDateFilterSelection} for a more complete description of the different parameters
1047
1048
  *
@@ -13208,14 +13209,35 @@ export declare interface IDashboardKeyDriverAnalysisResolvedPayload {
13208
13209
  }
13209
13210
 
13210
13211
  /**
13212
+ * Describes a metric and a pair of periods available for comparison in a key driver analysis drill interaction.
13213
+ *
13211
13214
  * @internal
13212
13215
  */
13213
13216
  export declare interface IDashboardKeyDriverCombinationItem {
13217
+ /**
13218
+ * Whether the comparison uses the period before or after the drilled data point, or neither for a
13219
+ * year-to-year comparison.
13220
+ */
13214
13221
  where: "before" | "after" | "none";
13222
+ /**
13223
+ * Whether to compare adjacent periods or the same period across consecutive years.
13224
+ */
13215
13225
  type: "comparative" | "year-to-year";
13226
+ /**
13227
+ * Descriptor of the metric to analyze.
13228
+ */
13216
13229
  measure: IMeasureDescriptor;
13230
+ /**
13231
+ * Metric value difference associated with the comparison.
13232
+ */
13217
13233
  difference: number;
13234
+ /**
13235
+ * Metric values for the reference period and the analyzed period, in that order.
13236
+ */
13218
13237
  values: [number, number];
13238
+ /**
13239
+ * Date attribute scopes for the reference period and the analyzed period, matching the order of values.
13240
+ */
13219
13241
  range: [ITableDataAttributeScope, ITableDataAttributeScope];
13220
13242
  }
13221
13243
 
@@ -17472,6 +17494,8 @@ export declare interface IItemWithWidth {
17472
17494
  }
17473
17495
 
17474
17496
  /**
17497
+ * Metric value and date identifying one of the periods compared in key driver analysis.
17498
+ *
17475
17499
  * @internal
17476
17500
  */
17477
17501
  export declare interface IKdaDataPoint {
@@ -17485,7 +17509,7 @@ export declare interface IKdaDataPoint {
17485
17509
  */
17486
17510
  date: string;
17487
17511
  /**
17488
- * Valuer of metric for given range
17512
+ * Metric value for the period, or undefined if the value is unavailable.
17489
17513
  */
17490
17514
  value: number | undefined;
17491
17515
  /**
@@ -17495,6 +17519,8 @@ export declare interface IKdaDataPoint {
17495
17519
  }
17496
17520
 
17497
17521
  /**
17522
+ * Defines the metric, filters, and periods to compare in key driver analysis.
17523
+ *
17498
17524
  * @internal
17499
17525
  */
17500
17526
  export declare interface IKdaDefinition {
@@ -17530,7 +17556,7 @@ export declare interface IKdaDefinition {
17530
17556
  */
17531
17557
  type: KdaPeriodType;
17532
17558
  /**
17533
- * Ranges
17559
+ * Data points for the reference period and the analyzed period, in that order.
17534
17560
  */
17535
17561
  range: [IKdaDataPoint, IKdaDataPoint];
17536
17562
  }
@@ -25081,6 +25107,9 @@ export declare interface IXlsxExportConfig {
25081
25107
  export declare function KdaDialog(props: IKdaDialogProps): JSX.Element;
25082
25108
 
25083
25109
  /**
25110
+ * Determines whether key driver analysis compares the analyzed period with the same period in the previous
25111
+ * year or with the immediately preceding period.
25112
+ *
25084
25113
  * @internal
25085
25114
  */
25086
25115
  export declare type KdaPeriodType = "same_period_previous_year" | "previous_period";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "11.70.0-alpha.1",
3
+ "version": "11.70.0-alpha.2",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "author": "GoodData Corporation",
@@ -62,22 +62,22 @@
62
62
  "ts-invariant": "0.10.3",
63
63
  "tslib": "2.8.1",
64
64
  "uuid": "11.1.1",
65
- "@gooddata/sdk-backend-base": "11.70.0-alpha.1",
66
- "@gooddata/sdk-backend-spi": "11.70.0-alpha.1",
67
- "@gooddata/sdk-model": "11.70.0-alpha.1",
68
- "@gooddata/sdk-embedding": "11.70.0-alpha.1",
69
- "@gooddata/sdk-ui": "11.70.0-alpha.1",
70
- "@gooddata/sdk-ui-analytical-designer": "11.70.0-alpha.1",
71
- "@gooddata/sdk-ui-charts": "11.70.0-alpha.1",
72
- "@gooddata/sdk-ui-ext": "11.70.0-alpha.1",
73
- "@gooddata/sdk-ui-filters": "11.70.0-alpha.1",
74
- "@gooddata/sdk-ui-geo": "11.70.0-alpha.1",
75
- "@gooddata/sdk-ui-kit": "11.70.0-alpha.1",
76
- "@gooddata/sdk-ui-pivot": "11.70.0-alpha.1",
77
- "@gooddata/sdk-ui-semantic-search": "11.70.0-alpha.1",
78
- "@gooddata/sdk-ui-theme-provider": "11.70.0-alpha.1",
79
- "@gooddata/util": "11.70.0-alpha.1",
80
- "@gooddata/sdk-ui-vis-commons": "11.70.0-alpha.1"
65
+ "@gooddata/sdk-backend-spi": "11.70.0-alpha.2",
66
+ "@gooddata/sdk-embedding": "11.70.0-alpha.2",
67
+ "@gooddata/sdk-ui": "11.70.0-alpha.2",
68
+ "@gooddata/sdk-backend-base": "11.70.0-alpha.2",
69
+ "@gooddata/sdk-ui-analytical-designer": "11.70.0-alpha.2",
70
+ "@gooddata/sdk-model": "11.70.0-alpha.2",
71
+ "@gooddata/sdk-ui-charts": "11.70.0-alpha.2",
72
+ "@gooddata/sdk-ui-filters": "11.70.0-alpha.2",
73
+ "@gooddata/sdk-ui-geo": "11.70.0-alpha.2",
74
+ "@gooddata/sdk-ui-pivot": "11.70.0-alpha.2",
75
+ "@gooddata/sdk-ui-semantic-search": "11.70.0-alpha.2",
76
+ "@gooddata/sdk-ui-vis-commons": "11.70.0-alpha.2",
77
+ "@gooddata/sdk-ui-ext": "11.70.0-alpha.2",
78
+ "@gooddata/sdk-ui-theme-provider": "11.70.0-alpha.2",
79
+ "@gooddata/sdk-ui-kit": "11.70.0-alpha.2",
80
+ "@gooddata/util": "11.70.0-alpha.2"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@microsoft/api-documenter": "7.30.20",
@@ -119,12 +119,12 @@
119
119
  "svgo": "2.8.4",
120
120
  "typescript": "7.0.2",
121
121
  "vitest": "5.0.4",
122
- "@gooddata/eslint-config": "11.70.0-alpha.1",
123
- "@gooddata/i18n-toolkit": "11.70.0-alpha.1",
124
- "@gooddata/oxlint-config": "11.70.0-alpha.1",
125
- "@gooddata/reference-workspace": "11.70.0-alpha.1",
126
- "@gooddata/sdk-backend-mockingbird": "11.70.0-alpha.1",
127
- "@gooddata/stylelint-config": "11.70.0-alpha.1"
122
+ "@gooddata/eslint-config": "11.70.0-alpha.2",
123
+ "@gooddata/i18n-toolkit": "11.70.0-alpha.2",
124
+ "@gooddata/sdk-backend-mockingbird": "11.70.0-alpha.2",
125
+ "@gooddata/oxlint-config": "11.70.0-alpha.2",
126
+ "@gooddata/stylelint-config": "11.70.0-alpha.2",
127
+ "@gooddata/reference-workspace": "11.70.0-alpha.2"
128
128
  },
129
129
  "peerDependencies": {
130
130
  "react": "^18.0.0 || ^19.0.0",