@gooddata/sdk-ui 11.68.0-alpha.8 → 11.68.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +10 -10
- package/esm/base/localization/messagesMap.d.ts.map +1 -1
- package/esm/base/localization/messagesMap.js +2 -3
- package/esm/base/react/debounce.d.ts.map +1 -1
- package/esm/base/react/debounce.js +2 -2
- package/esm/base/react/legacy/availableDrillTargets.d.ts.map +1 -1
- package/esm/base/react/legacy/availableDrillTargets.js +3 -3
- package/esm/base/react/legacy/withEntireDataView.d.ts.map +1 -1
- package/esm/base/react/legacy/withEntireDataView.js +2 -3
- package/package.json +11 -11
package/NOTICE
CHANGED
|
@@ -3,11 +3,11 @@ Copyright (c) 2017-2026 GoodData Corporation
|
|
|
3
3
|
This product includes a number of subcomponents with separate copyright notices and license terms below. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license. This GoodData project does not necessarily use all the open source software referred to below and may also only use portions of a given package. With respect to the open source software listed in this document, if you (i) have any questions, (ii) wish to receive source code for packages under licenses that require their source code to be made available (such as the GNU Lesser Public License), or (iii) discover any errors or omissions in the licensing information provided, please contact us at legal@gooddata.com. Please identify in source code requests: (i) the packages for which you are requesting corresponding source, (ii) the GoodData product (including any available version) with which the package was provided; and (iii) an email address (if available) or postal address at which GoodData may contact you.
|
|
4
4
|
|
|
5
5
|
--------------------------------------------------------------------------------
|
|
6
|
-
Attribution Notice for @gooddata/sdk-ui (11.68.0-alpha.
|
|
6
|
+
Attribution Notice for @gooddata/sdk-ui (11.68.0-alpha.9)
|
|
7
7
|
Package License: MIT
|
|
8
8
|
Own License File: LICENSE
|
|
9
9
|
Date generated: 2026-11-10
|
|
10
|
-
Revision ID:
|
|
10
|
+
Revision ID: 84da343e85211db46f29811651dc10b32662b222
|
|
11
11
|
|
|
12
12
|
This notice lists the components that @gooddata/sdk-ui depends on, directly or through other
|
|
13
13
|
packages, with the license and copyright information reported for each of them.
|
|
@@ -19,10 +19,10 @@ change those terms.
|
|
|
19
19
|
Dependencies
|
|
20
20
|
|
|
21
21
|
Local GoodData SDK components
|
|
22
|
-
- @gooddata/sdk-backend-spi (11.68.0-alpha.
|
|
23
|
-
- @gooddata/sdk-code-schemas (11.68.0-alpha.
|
|
24
|
-
- @gooddata/sdk-model (11.68.0-alpha.
|
|
25
|
-
- @gooddata/util (11.68.0-alpha.
|
|
22
|
+
- @gooddata/sdk-backend-spi (11.68.0-alpha.9) [MIT] — Direct
|
|
23
|
+
- @gooddata/sdk-code-schemas (11.68.0-alpha.9) [MIT] — Transitive
|
|
24
|
+
- @gooddata/sdk-model (11.68.0-alpha.9) [MIT] — Direct
|
|
25
|
+
- @gooddata/util (11.68.0-alpha.9) [MIT] — Direct
|
|
26
26
|
|
|
27
27
|
External components
|
|
28
28
|
- @formatjs/fast-memoize (3.1.7) [MIT] — Transitive
|
|
@@ -80,7 +80,7 @@ Local GoodData SDK components
|
|
|
80
80
|
================================================================================
|
|
81
81
|
|
|
82
82
|
--------------------------------------------------------------------------------
|
|
83
|
-
Package Title: @gooddata/sdk-backend-spi (11.68.0-alpha.
|
|
83
|
+
Package Title: @gooddata/sdk-backend-spi (11.68.0-alpha.9)
|
|
84
84
|
Package Source: Local workspace
|
|
85
85
|
Package Depth: Direct
|
|
86
86
|
--------------------------------------------------------------------------------
|
|
@@ -98,7 +98,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
98
98
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
99
99
|
|
|
100
100
|
--------------------------------------------------------------------------------
|
|
101
|
-
Package Title: @gooddata/sdk-code-schemas (11.68.0-alpha.
|
|
101
|
+
Package Title: @gooddata/sdk-code-schemas (11.68.0-alpha.9)
|
|
102
102
|
Package Source: Local workspace
|
|
103
103
|
Package Depth: Transitive
|
|
104
104
|
--------------------------------------------------------------------------------
|
|
@@ -128,7 +128,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
128
128
|
SOFTWARE.
|
|
129
129
|
|
|
130
130
|
--------------------------------------------------------------------------------
|
|
131
|
-
Package Title: @gooddata/sdk-model (11.68.0-alpha.
|
|
131
|
+
Package Title: @gooddata/sdk-model (11.68.0-alpha.9)
|
|
132
132
|
Package Source: Local workspace
|
|
133
133
|
Package Depth: Direct
|
|
134
134
|
--------------------------------------------------------------------------------
|
|
@@ -146,7 +146,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
146
146
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
147
147
|
|
|
148
148
|
--------------------------------------------------------------------------------
|
|
149
|
-
Package Title: @gooddata/util (11.68.0-alpha.
|
|
149
|
+
Package Title: @gooddata/util (11.68.0-alpha.9)
|
|
150
150
|
Package Source: Local workspace
|
|
151
151
|
Package Depth: Direct
|
|
152
152
|
--------------------------------------------------------------------------------
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messagesMap.d.ts","sourceRoot":"","sources":["../../../src/base/localization/messagesMap.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"messagesMap.d.ts","sourceRoot":"","sources":["../../../src/base/localization/messagesMap.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAsCD,eAAO,MAAM,uBAAuB,WAAkB,MAAM,KAAG,OAAO,CAAC,aAAa,CAKnF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,aAAa,CAAqC,CAAC;AAE7G;;GAEG;AACH,eAAO,MAAM,gBAAgB,UAAU,CAAC;AAExC;;GAEG;AACH,eAAO,MAAM,gBAAgB;;CAA+C,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// (C) 2007-2026 GoodData Corporation
|
|
2
|
-
import {
|
|
3
|
-
import { removeMetadata } from "@gooddata/util";
|
|
2
|
+
import { _memoize, removeMetadata } from "@gooddata/util";
|
|
4
3
|
import { en_US } from "./bundles/en-US.localization-bundle.js";
|
|
5
4
|
// English (default) messages for this library's own keys, used as the fallback
|
|
6
5
|
// for locales that are missing keys.
|
|
@@ -43,7 +42,7 @@ export const resolveMessagesInternal = async (locale) => {
|
|
|
43
42
|
/**
|
|
44
43
|
* @internal
|
|
45
44
|
*/
|
|
46
|
-
export const resolveMessages =
|
|
45
|
+
export const resolveMessages = _memoize(resolveMessagesInternal);
|
|
47
46
|
/**
|
|
48
47
|
* @internal
|
|
49
48
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../../src/base/react/debounce.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../../src/base/react/debounce.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAI/C;;;GAGG;AACH,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI;IACrC;;OAEG;IACH,CAAC;IACD;;OAEG;IACH,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI;IAClB;;OAEG;IACH,CAAC;IACD;;OAEG;IACH,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI;CACrB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,GAAI,CAAC,gBAAgB,CAAC,SAAS,MAAM,KAAG,uBAAuB,CAAC,CAAC,CAoB9F,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,EAClE,QAAQ,EAAE,CAAC,EACX,KAAK,EAAE,MAAM,GACd,aAAa,CAAC,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAkBjD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (C) 2019-2026 GoodData Corporation
|
|
2
2
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { _debounce } from "@gooddata/util";
|
|
4
4
|
/**
|
|
5
5
|
* A helper hook to provide not just state/setState pair but also a debounced version of the state.
|
|
6
6
|
* @internal
|
|
@@ -100,7 +100,7 @@ export function useDebounce(callback, delay) {
|
|
|
100
100
|
ref.current = callback;
|
|
101
101
|
}, [callback]);
|
|
102
102
|
const debouncedCallback = useMemo(() => {
|
|
103
|
-
return
|
|
103
|
+
return _debounce((...args) => ref.current?.(...args), delay);
|
|
104
104
|
}, [delay]);
|
|
105
105
|
useEffect(() => {
|
|
106
106
|
return () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"availableDrillTargets.d.ts","sourceRoot":"","sources":["../../../../src/base/react/legacy/availableDrillTargets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"availableDrillTargets.d.ts","sourceRoot":"","sources":["../../../../src/base/react/legacy/availableDrillTargets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAA2B,MAAM,qBAAqB,CAAC;AAGzF,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,5 +1,5 @@
|
|
|
1
1
|
// (C) 2021-2026 GoodData Corporation
|
|
2
|
-
import {
|
|
2
|
+
import { _uniqBy } from "@gooddata/util";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
* Provides the subset of attributes which consist from all attributes before given attribute and attribute itself.
|
|
@@ -28,7 +28,7 @@ function getAvailableDrillAttributes(dv) {
|
|
|
28
28
|
}
|
|
29
29
|
export function getAvailableDrillTargets(dv) {
|
|
30
30
|
const meta = dv.meta();
|
|
31
|
-
const attributes =
|
|
31
|
+
const attributes = _uniqBy(meta.attributeDescriptors(), (attributeDescriptor) => attributeDescriptor.attributeHeader.formOf.identifier);
|
|
32
32
|
return {
|
|
33
33
|
measures: meta
|
|
34
34
|
.measureDescriptors()
|
|
@@ -56,7 +56,7 @@ export function getMultiLayerDrillTargets(layerDataViews, primaryDataView) {
|
|
|
56
56
|
const primaryTargets = getAvailableDrillTargets(primaryDataView);
|
|
57
57
|
const primaryMeasures = primaryTargets.measures ?? [];
|
|
58
58
|
// Deduplicate primary attributes first (same attribute can appear in multiple buckets e.g. tooltip text)
|
|
59
|
-
const primaryAttributes =
|
|
59
|
+
const primaryAttributes = _uniqBy(primaryTargets.attributes ?? [], (a) => a.attribute.attributeHeader.formOf.identifier);
|
|
60
60
|
const allMeasures = [...primaryMeasures];
|
|
61
61
|
const seenMeasureIds = new Set(primaryMeasures.map((m) => m.measure.measureHeaderItem.localIdentifier));
|
|
62
62
|
const allAttributes = [...primaryAttributes];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withEntireDataView.d.ts","sourceRoot":"","sources":["../../../../src/base/react/legacy/withEntireDataView.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,KAAK,aAAa,EAA4C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"withEntireDataView.d.ts","sourceRoot":"","sources":["../../../../src/base/react/legacy/withEntireDataView.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,KAAK,aAAa,EAA4C,MAAM,OAAO,CAAC;AAE1G,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,YAAY,CAAC;AAErD,OAAO,EAEH,KAAK,SAAS,EAOjB,MAAM,2BAA2B,CAAC;AAKnC,OAAO,EAIH,KAAK,gBAAgB,EAIxB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,qBAAqB,CAAC;AAE/E,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAkC/E;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAGpC,IAAI,EAAE,SAAS,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,cAAc,EAAE,eAAe,GAAG,IAAI,CAAC;IAErD;;OAEG;IACH,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvD;;OAEG;IACH,gBAAgB,IAAI,IAAI,CAAC;CAC5B;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,uBAAuB,EAChE,cAAc,EAAE,aAAa,CAAC,CAAC,GAAG,qBAAqB,CAAC,GACzD,aAAa,CAAC,CAAC,CAAC,CAkclB"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2019-2026 GoodData Corporation
|
|
3
3
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
4
|
-
import { omit } from "lodash-es";
|
|
5
4
|
import { useIntl } from "react-intl";
|
|
6
5
|
import { isNoDataError, isUnexpectedResponseError, } from "@gooddata/sdk-backend-spi";
|
|
7
6
|
import { defFingerprint } from "@gooddata/sdk-model";
|
|
8
|
-
import { _isEqual } from "@gooddata/util";
|
|
7
|
+
import { _isEqual, _omit } from "@gooddata/util";
|
|
9
8
|
import { convertError } from "../../errors/errorHandling.js";
|
|
10
9
|
import { ClusteringNotReceivedSdkError, DataTooLargeToDisplaySdkError, ForecastNotReceivedSdkError, NegativeValuesSdkError, isClusteringNotReceived, isForecastNotReceived, } from "../../errors/GoodDataSdkError.js";
|
|
11
10
|
import { IntlWrapper } from "../../localization/IntlWrapper.js";
|
|
@@ -336,7 +335,7 @@ export function withEntireDataView(InnerComponent) {
|
|
|
336
335
|
}
|
|
337
336
|
});
|
|
338
337
|
const stripWorkspace = (allProps) => {
|
|
339
|
-
return
|
|
338
|
+
return _omit(allProps, ["workspace"]);
|
|
340
339
|
};
|
|
341
340
|
const { isLoading, error, dataView, seType } = state;
|
|
342
341
|
// lower-level components do not need workspace
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui",
|
|
3
|
-
"version": "11.68.0-alpha.
|
|
3
|
+
"version": "11.68.0-alpha.9",
|
|
4
4
|
"description": "GoodData.UI SDK - Core",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"ts-invariant": "0.10.3",
|
|
44
44
|
"tslib": "2.8.1",
|
|
45
45
|
"uuid": "11.1.1",
|
|
46
|
-
"@gooddata/sdk-backend-spi": "11.68.0-alpha.
|
|
47
|
-
"@gooddata/sdk-model": "11.68.0-alpha.
|
|
48
|
-
"@gooddata/util": "11.68.0-alpha.
|
|
46
|
+
"@gooddata/sdk-backend-spi": "11.68.0-alpha.9",
|
|
47
|
+
"@gooddata/sdk-model": "11.68.0-alpha.9",
|
|
48
|
+
"@gooddata/util": "11.68.0-alpha.9"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@microsoft/api-documenter": "7.30.20",
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
"tsd": "0.32.0",
|
|
85
85
|
"typescript": "7.0.2",
|
|
86
86
|
"vitest": "5.0.4",
|
|
87
|
-
"@gooddata/
|
|
88
|
-
"@gooddata/
|
|
89
|
-
"@gooddata/oxlint-config": "11.68.0-alpha.
|
|
90
|
-
"@gooddata/reference-workspace": "11.68.0-alpha.
|
|
91
|
-
"@gooddata/sdk-backend-base": "11.68.0-alpha.
|
|
92
|
-
"@gooddata/
|
|
93
|
-
"@gooddata/
|
|
87
|
+
"@gooddata/i18n-toolkit": "11.68.0-alpha.9",
|
|
88
|
+
"@gooddata/eslint-config": "11.68.0-alpha.9",
|
|
89
|
+
"@gooddata/oxlint-config": "11.68.0-alpha.9",
|
|
90
|
+
"@gooddata/reference-workspace": "11.68.0-alpha.9",
|
|
91
|
+
"@gooddata/sdk-backend-base": "11.68.0-alpha.9",
|
|
92
|
+
"@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.9",
|
|
93
|
+
"@gooddata/stylelint-config": "11.68.0-alpha.9"
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
96
|
"react": "^18.0.0 || ^19.0.0",
|