@gooddata/sdk-ui-pivot 11.56.0-alpha.7 → 11.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"drillTargets.d.ts","sourceRoot":"","sources":["../../../src/impl/drilling/drillTargets.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,KAAK,cAAc,EAGnB,KAAK,sBAAsB,EAE9B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE9F,wBAAgB,wBAAwB,CACpC,EAAE,EAAE,cAAc,EAClB,qBAAqB,CAAC,EAAE,qBAAqB,EAC7C,qBAAqB,CAAC,EAAE,qBAAqB,GAC9C,sBAAsB,CA0BxB"}
1
+ {"version":3,"file":"drillTargets.d.ts","sourceRoot":"","sources":["../../../src/impl/drilling/drillTargets.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,KAAK,cAAc,EAGnB,KAAK,sBAAsB,EAE9B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE9F,wBAAgB,wBAAwB,CACpC,EAAE,EAAE,cAAc,EAClB,qBAAqB,CAAC,EAAE,qBAAqB,EAC7C,qBAAqB,CAAC,EAAE,qBAAqB,GAC9C,sBAAsB,CAsBxB"}
@@ -1,5 +1,4 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { attributeLocalId, isComputedAttribute } from "@gooddata/sdk-model";
3
2
  import { getIntersectionAttributes, } from "@gooddata/sdk-ui";
4
3
  export function getAvailableDrillTargets(dv, measureGroupDimension, columnHeadersPosition) {
5
4
  const measureDescriptors = dv
@@ -9,7 +8,6 @@ export function getAvailableDrillTargets(dv, measureGroupDimension, columnHeader
9
8
  measure,
10
9
  attributes: dv.meta().attributeDescriptors(),
11
10
  }));
12
- const computedAttributeLocalIds = new Set(dv.def().attributes().filter(isComputedAttribute).map(attributeLocalId));
13
11
  const dimensionIndex = measureGroupDimension === "rows" && columnHeadersPosition === "left" ? 1 : 0;
14
12
  const attributeItems = dv
15
13
  .meta()
@@ -17,8 +15,7 @@ export function getAvailableDrillTargets(dv, measureGroupDimension, columnHeader
17
15
  .map((attribute, _index, attributes) => ({
18
16
  attribute,
19
17
  intersectionAttributes: getIntersectionAttributes(attribute, attributes),
20
- }))
21
- .filter((item) => !computedAttributeLocalIds.has(item.attribute.attributeHeader.localIdentifier));
18
+ }));
22
19
  return {
23
20
  measures: measureDescriptors,
24
21
  attributes: attributeItems,
@@ -1 +1 @@
1
- {"version":3,"file":"getAvailableDrillTargets.d.ts","sourceRoot":"","sources":["../../../../src/next/features/drilling/getAvailableDrillTargets.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,KAAK,cAAc,EAGnB,KAAK,sBAAsB,EAE9B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAEtG;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACpC,EAAE,EAAE,cAAc,EAClB,qBAAqB,EAAE,qBAAqB,EAC5C,qBAAqB,EAAE,qBAAqB,GAC7C,sBAAsB,CA0BxB"}
1
+ {"version":3,"file":"getAvailableDrillTargets.d.ts","sourceRoot":"","sources":["../../../../src/next/features/drilling/getAvailableDrillTargets.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,KAAK,cAAc,EAGnB,KAAK,sBAAsB,EAE9B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAEtG;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACpC,EAAE,EAAE,cAAc,EAClB,qBAAqB,EAAE,qBAAqB,EAC5C,qBAAqB,EAAE,qBAAqB,GAC7C,sBAAsB,CAsBxB"}
@@ -1,5 +1,4 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { attributeLocalId, isComputedAttribute } from "@gooddata/sdk-model";
3
2
  import { getIntersectionAttributes, } from "@gooddata/sdk-ui";
4
3
  /**
5
4
  * Calculate available drill targets for the pivot table next implementation.
@@ -18,7 +17,6 @@ export function getAvailableDrillTargets(dv, measureGroupDimension, columnHeader
18
17
  measure,
19
18
  attributes: dv.meta().attributeDescriptors(),
20
19
  }));
21
- const computedAttributeLocalIds = new Set(dv.def().attributes().filter(isComputedAttribute).map(attributeLocalId));
22
20
  const dimensionIndex = measureGroupDimension === "rows" && columnHeadersPosition === "left" ? 1 : 0;
23
21
  const attributeItems = dv
24
22
  .meta()
@@ -26,8 +24,7 @@ export function getAvailableDrillTargets(dv, measureGroupDimension, columnHeader
26
24
  .map((attribute, _index, attributes) => ({
27
25
  attribute,
28
26
  intersectionAttributes: getIntersectionAttributes(attribute, attributes),
29
- }))
30
- .filter((item) => !computedAttributeLocalIds.has(item.attribute.attributeHeader.localIdentifier));
27
+ }));
31
28
  return {
32
29
  measures: measureDescriptors,
33
30
  attributes: attributeItems,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-pivot",
3
- "version": "11.56.0-alpha.7",
3
+ "version": "11.56.0",
4
4
  "description": "GoodData.UI SDK - Pivot Table",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -42,12 +42,12 @@
42
42
  "ts-invariant": "0.10.3",
43
43
  "tslib": "2.8.1",
44
44
  "uuid": "11.1.1",
45
- "@gooddata/sdk-backend-spi": "11.56.0-alpha.7",
46
- "@gooddata/sdk-model": "11.56.0-alpha.7",
47
- "@gooddata/sdk-ui": "11.56.0-alpha.7",
48
- "@gooddata/sdk-ui-theme-provider": "11.56.0-alpha.7",
49
- "@gooddata/sdk-ui-kit": "11.56.0-alpha.7",
50
- "@gooddata/sdk-ui-vis-commons": "11.56.0-alpha.7"
45
+ "@gooddata/sdk-backend-spi": "11.56.0",
46
+ "@gooddata/sdk-model": "11.56.0",
47
+ "@gooddata/sdk-ui": "11.56.0",
48
+ "@gooddata/sdk-ui-kit": "11.56.0",
49
+ "@gooddata/sdk-ui-theme-provider": "11.56.0",
50
+ "@gooddata/sdk-ui-vis-commons": "11.56.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@microsoft/api-documenter": "7.30.10",
@@ -85,12 +85,12 @@
85
85
  "typescript": "7.0.2",
86
86
  "vitest": "4.1.8",
87
87
  "vitest-dom": "0.1.1",
88
- "@gooddata/eslint-config": "11.56.0-alpha.7",
89
- "@gooddata/oxlint-config": "11.56.0-alpha.7",
90
- "@gooddata/reference-workspace": "11.56.0-alpha.7",
91
- "@gooddata/sdk-backend-base": "11.56.0-alpha.7",
92
- "@gooddata/sdk-backend-mockingbird": "11.56.0-alpha.7",
93
- "@gooddata/stylelint-config": "11.56.0-alpha.7"
88
+ "@gooddata/oxlint-config": "11.56.0",
89
+ "@gooddata/reference-workspace": "11.56.0",
90
+ "@gooddata/eslint-config": "11.56.0",
91
+ "@gooddata/sdk-backend-base": "11.56.0",
92
+ "@gooddata/stylelint-config": "11.56.0",
93
+ "@gooddata/sdk-backend-mockingbird": "11.56.0"
94
94
  },
95
95
  "peerDependencies": {
96
96
  "react": "^18.0.0 || ^19.0.0",