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

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.
@@ -2999,7 +2999,7 @@ export const en_US = {
2999
2999
  },
3000
3000
  "shareDialog.olp.generalAccess.restricted.description.inherited": {
3001
3001
  "text": "Access for all workspace members is granted from a parent workspace and cannot be restricted here.",
3002
- "crowdinContext": "Description of the disabled Restricted general-access option on the OLP share dialog, shown when workspace-wide access is inherited from a parent workspace and therefore cannot be revoked in the current workspace."
3002
+ "crowdinContext": "Tooltip on the disabled Restricted general-access option on the OLP share dialog, shown when workspace-wide access is inherited from a parent workspace and therefore cannot be revoked in the current workspace."
3003
3003
  },
3004
3004
  "shareDialog.olp.generalAccess.workspace.title": {
3005
3005
  "text": "All workspace members",
@@ -1 +1 @@
1
- {"version":3,"file":"availableDrillTargets.d.ts","sourceRoot":"","sources":["../../../../src/base/react/legacy/availableDrillTargets.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,oBAAoB,EAI5B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAGH,KAAK,sBAAsB,EAC9B,MAAM,qBAAqB,CAAC;AAE7B;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACrC,aAAa,EAAE,oBAAoB,EACnC,UAAU,EAAE,oBAAoB,EAAE,GACnC,oBAAoB,EAAE,CAQxB;AA0BD,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,cAAc,GAAG,sBAAsB,CAkBnF;AAED;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC,EAC5C,eAAe,EAAE,cAAc,GAAG,IAAI,GACvC,sBAAsB,GAAG,SAAS,CAoDpC"}
1
+ {"version":3,"file":"availableDrillTargets.d.ts","sourceRoot":"","sources":["../../../../src/base/react/legacy/availableDrillTargets.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAA2B,MAAM,qBAAqB,CAAC;AAEzF,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAGH,KAAK,sBAAsB,EAC9B,MAAM,qBAAqB,CAAC;AAE7B;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACrC,aAAa,EAAE,oBAAoB,EACnC,UAAU,EAAE,oBAAoB,EAAE,GACnC,oBAAoB,EAAE,CAQxB;AAiBD,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,cAAc,GAAG,sBAAsB,CAkBnF;AAED;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC,EAC5C,eAAe,EAAE,cAAc,GAAG,IAAI,GACvC,sBAAsB,GAAG,SAAS,CAoDpC"}
@@ -1,6 +1,5 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
2
  import { uniqBy } from "lodash-es";
3
- import { attributeLocalId, isComputedAttribute, } from "@gooddata/sdk-model";
4
3
  /**
5
4
  * @internal
6
5
  * Provides the subset of attributes which consist from all attributes before given attribute and attribute itself.
@@ -13,11 +12,7 @@ export function getIntersectionAttributes(fromAttribute, attributes) {
13
12
  attribute.attributeHeader.localIdentifier === fromAttribute.attributeHeader.localIdentifier);
14
13
  return attributes.slice(0, indexOfFromAttribute + 1);
15
14
  }
16
- function getComputedAttributeLocalIds(dv) {
17
- return new Set(dv.def().attributes().filter(isComputedAttribute).map(attributeLocalId));
18
- }
19
15
  function getAvailableDrillAttributes(dv) {
20
- const computedAttributeLocalIds = getComputedAttributeLocalIds(dv);
21
16
  return dv
22
17
  .meta()
23
18
  .dimensions()
@@ -28,8 +23,7 @@ function getAvailableDrillAttributes(dv) {
28
23
  .map((attribute, _index, attributes) => ({
29
24
  attribute,
30
25
  intersectionAttributes: getIntersectionAttributes(attribute, attributes),
31
- }))
32
- .filter((item) => !computedAttributeLocalIds.has(item.attribute.attributeHeader.localIdentifier));
26
+ }));
33
27
  });
34
28
  }
35
29
  export function getAvailableDrillTargets(dv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui",
3
- "version": "11.56.0-alpha.7",
3
+ "version": "11.56.0-alpha.8",
4
4
  "description": "GoodData.UI SDK - Core",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -42,9 +42,9 @@
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/util": "11.56.0-alpha.7",
47
- "@gooddata/sdk-model": "11.56.0-alpha.7"
45
+ "@gooddata/sdk-backend-spi": "11.56.0-alpha.8",
46
+ "@gooddata/sdk-model": "11.56.0-alpha.8",
47
+ "@gooddata/util": "11.56.0-alpha.8"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@microsoft/api-documenter": "7.30.10",
@@ -83,13 +83,13 @@
83
83
  "typescript": "7.0.2",
84
84
  "vitest": "4.1.8",
85
85
  "vitest-dom": "0.1.1",
86
- "@gooddata/i18n-toolkit": "11.56.0-alpha.7",
87
- "@gooddata/eslint-config": "11.56.0-alpha.7",
88
- "@gooddata/reference-workspace": "11.56.0-alpha.7",
89
- "@gooddata/oxlint-config": "11.56.0-alpha.7",
90
- "@gooddata/sdk-backend-mockingbird": "11.56.0-alpha.7",
91
- "@gooddata/stylelint-config": "11.56.0-alpha.7",
92
- "@gooddata/sdk-backend-base": "11.56.0-alpha.7"
86
+ "@gooddata/eslint-config": "11.56.0-alpha.8",
87
+ "@gooddata/i18n-toolkit": "11.56.0-alpha.8",
88
+ "@gooddata/oxlint-config": "11.56.0-alpha.8",
89
+ "@gooddata/sdk-backend-base": "11.56.0-alpha.8",
90
+ "@gooddata/reference-workspace": "11.56.0-alpha.8",
91
+ "@gooddata/sdk-backend-mockingbird": "11.56.0-alpha.8",
92
+ "@gooddata/stylelint-config": "11.56.0-alpha.8"
93
93
  },
94
94
  "peerDependencies": {
95
95
  "react": "^18.0.0 || ^19.0.0",