@gooddata/sdk-ui-ext 11.62.0-alpha.3 → 11.62.0-alpha.4
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 +1 -1
- package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.js +1 -1
- package/esm/internal/components/pluggableVisualizations/geoCommon/geoVisualizationPropertiesWithFallback.js +1 -1
- package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.js +1 -1
- package/esm/internal/interfaces/SortConfig.d.ts.map +1 -1
- package/esm/internal/interfaces/SortConfig.js +2 -4
- package/esm/internal/utils/keyDriverAnalysis.js +2 -2
- package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.js +1 -1
- package/package.json +21 -21
package/NOTICE
CHANGED
|
@@ -9,7 +9,7 @@ The following 3rd-party software packages may be used by or distributed with goo
|
|
|
9
9
|
|
|
10
10
|
Date generated: 2026-10-13
|
|
11
11
|
|
|
12
|
-
Revision ID:
|
|
12
|
+
Revision ID: 70dbe4e2d62ae8e80f9fe41ae018be68fe7e7a3a
|
|
13
13
|
|
|
14
14
|
================================================================================
|
|
15
15
|
================================================================================
|
|
@@ -306,7 +306,7 @@ function enhanceBaseChartWithClusteringConfiguration(fullConfig) {
|
|
|
306
306
|
return !isEmpty(fullConfig.clustering) && fullConfig.clustering.enabled
|
|
307
307
|
? {
|
|
308
308
|
clusteringConfig: {
|
|
309
|
-
...
|
|
309
|
+
...fullConfig.clustering,
|
|
310
310
|
numberOfClusters: typeof fullConfig?.clustering?.numberOfClusters === "string"
|
|
311
311
|
? parseInt(fullConfig.clustering.numberOfClusters, 10)
|
|
312
312
|
: (fullConfig?.clustering?.numberOfClusters ?? DEFAULT_NUMBER_OF_CLUSTERS),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export function getGeoControlsWithFallback(visualizationProperties, insightControlsWithFallback) {
|
|
3
3
|
return {
|
|
4
4
|
...insightControlsWithFallback,
|
|
5
|
-
...
|
|
5
|
+
...visualizationProperties.controls,
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
8
|
export function getGeoVisualizationPropertiesWithFallback(visualizationProperties, insightControlsWithFallback) {
|
|
@@ -202,7 +202,7 @@ export class PluggableRepeater extends AbstractPluggableVisualization {
|
|
|
202
202
|
const { config = {}, customVisualizationConfig = {} } = options;
|
|
203
203
|
const properties = insightProperties(insight);
|
|
204
204
|
return {
|
|
205
|
-
...
|
|
205
|
+
...properties?.["controls"],
|
|
206
206
|
...config,
|
|
207
207
|
...properties,
|
|
208
208
|
...customVisualizationConfig,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortConfig.d.ts","sourceRoot":"","sources":["../../../src/internal/interfaces/SortConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAEd,KAAK,UAAU,EAGlB,MAAM,qBAAqB,CAAC;AAE7B;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE,aAAa,CAAC;CACvB,GAAG,kBAAkB,CAAC;AAevB;;;GAGG;AACH;;GAEG;AACH,MAAM,WAAW,oBAAoB;IAEjC,MAAM,EAAE,UAAU,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE;QACZ,iBAAiB,EAAE,OAAO,CAAC;QAC3B,eAAe,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,WAAW,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACtC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,gBAClB,MAAM,eACP,MAAM,EAAE,sBACD,OAAO,oBACT,OAAO,gBACV,MAAM,KACrB,
|
|
1
|
+
{"version":3,"file":"SortConfig.d.ts","sourceRoot":"","sources":["../../../src/internal/interfaces/SortConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAEd,KAAK,UAAU,EAGlB,MAAM,qBAAqB,CAAC;AAE7B;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE,aAAa,CAAC;CACvB,GAAG,kBAAkB,CAAC;AAevB;;;GAGG;AACH;;GAEG;AACH,MAAM,WAAW,oBAAoB;IAEjC,MAAM,EAAE,UAAU,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE;QACZ,iBAAiB,EAAE,OAAO,CAAC;QAC3B,eAAe,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,WAAW,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACtC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,gBAClB,MAAM,eACP,MAAM,EAAE,sBACD,OAAO,oBACT,OAAO,gBACV,MAAM,KACrB,oBAoBF,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,EAAE,CAAC;IAC1B;;OAEG;IACH,WAAW,EAAE,SAAS,EAAE,CAAC;IACzB;;;OAGG;IACH,cAAc,EAAE,oBAAoB,EAAE,CAAC;IACvC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2019-
|
|
1
|
+
// (C) 2019-2026 GoodData Corporation
|
|
2
2
|
import { localIdRef, newMeasureSort, } from "@gooddata/sdk-model";
|
|
3
3
|
function newMeasureSortSuggestion(identifier, attributeLocators = []) {
|
|
4
4
|
const { measureSortItem: { locators }, } = newMeasureSort(identifier, "asc", attributeLocators);
|
|
@@ -13,9 +13,7 @@ function newMeasureSortSuggestion(identifier, attributeLocators = []) {
|
|
|
13
13
|
export const newAvailableSortsGroup = (attributeId, measureIds = [], normalSortEnabled = true, areaSortEnabled = true, explanation) => {
|
|
14
14
|
const metricSortsProp = measureIds.length
|
|
15
15
|
? {
|
|
16
|
-
metricSorts:
|
|
17
|
-
...measureIds.map((localIdentifier) => newMeasureSortSuggestion(localIdentifier)),
|
|
18
|
-
],
|
|
16
|
+
metricSorts: measureIds.map((localIdentifier) => newMeasureSortSuggestion(localIdentifier)),
|
|
19
17
|
}
|
|
20
18
|
: {};
|
|
21
19
|
const explanationProp = explanation
|
|
@@ -7,7 +7,7 @@ export function cleanupKeyDriverAnalysisOnMetrics(extendedPoint) {
|
|
|
7
7
|
if (!disableKeyDriveAnalysisOn) {
|
|
8
8
|
return extendedPoint;
|
|
9
9
|
}
|
|
10
|
-
const cloned = { ...
|
|
10
|
+
const cloned = { ...disableKeyDriveAnalysisOn };
|
|
11
11
|
const usedMeasures = Object.keys(cloned);
|
|
12
12
|
const unused = usedMeasures.filter((m) => !measures.includes(m));
|
|
13
13
|
for (const measure of unused) {
|
|
@@ -33,7 +33,7 @@ export function cleanupKeyDriverAnalysisOnMetrics(extendedPoint) {
|
|
|
33
33
|
export function hideKeyDriverOnMetrics(extendedPoint) {
|
|
34
34
|
const measures = getAllItemsByType(extendedPoint.buckets ?? [], [METRIC]);
|
|
35
35
|
const cloned = {
|
|
36
|
-
...
|
|
36
|
+
...extendedPoint.properties?.controls?.["disableKeyDriveAnalysisOn"],
|
|
37
37
|
};
|
|
38
38
|
measures.forEach((m) => {
|
|
39
39
|
const current = cloned[m.localIdentifier];
|
|
@@ -62,7 +62,7 @@ export function buildHeadlineVisualizationConfig(visualizationProperties, settin
|
|
|
62
62
|
export function getHeadlineSupportedProperties(visualizationProperties) {
|
|
63
63
|
const comparison = {
|
|
64
64
|
...HEADLINE_DEFAULT_CONTROL_PROPERTIES.comparison,
|
|
65
|
-
...
|
|
65
|
+
...visualizationProperties?.controls?.["comparison"],
|
|
66
66
|
};
|
|
67
67
|
return {
|
|
68
68
|
...visualizationProperties,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-ext",
|
|
3
|
-
"version": "11.62.0-alpha.
|
|
3
|
+
"version": "11.62.0-alpha.4",
|
|
4
4
|
"description": "GoodData.UI SDK - Extensions",
|
|
5
5
|
"license": "LicenseRef-LICENSE",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -63,20 +63,20 @@
|
|
|
63
63
|
"ts-invariant": "0.10.3",
|
|
64
64
|
"tslib": "2.8.1",
|
|
65
65
|
"uuid": "11.1.1",
|
|
66
|
-
"@gooddata/sdk-backend-
|
|
67
|
-
"@gooddata/sdk-
|
|
68
|
-
"@gooddata/sdk-
|
|
69
|
-
"@gooddata/sdk-
|
|
70
|
-
"@gooddata/sdk-
|
|
71
|
-
"@gooddata/sdk-ui-charts": "11.62.0-alpha.
|
|
72
|
-
"@gooddata/sdk-ui-filters": "11.62.0-alpha.
|
|
73
|
-
"@gooddata/sdk-ui-geo": "11.62.0-alpha.
|
|
74
|
-
"@gooddata/sdk-ui-kit": "11.62.0-alpha.
|
|
75
|
-
"@gooddata/sdk-ui-pivot": "11.62.0-alpha.
|
|
76
|
-
"@gooddata/sdk-ui-semantic-search": "11.62.0-alpha.
|
|
77
|
-
"@gooddata/sdk-ui-theme-provider": "11.62.0-alpha.
|
|
78
|
-
"@gooddata/
|
|
79
|
-
"@gooddata/
|
|
66
|
+
"@gooddata/sdk-backend-spi": "11.62.0-alpha.4",
|
|
67
|
+
"@gooddata/sdk-embedding": "11.62.0-alpha.4",
|
|
68
|
+
"@gooddata/sdk-ui": "11.62.0-alpha.4",
|
|
69
|
+
"@gooddata/sdk-backend-base": "11.62.0-alpha.4",
|
|
70
|
+
"@gooddata/sdk-model": "11.62.0-alpha.4",
|
|
71
|
+
"@gooddata/sdk-ui-charts": "11.62.0-alpha.4",
|
|
72
|
+
"@gooddata/sdk-ui-filters": "11.62.0-alpha.4",
|
|
73
|
+
"@gooddata/sdk-ui-geo": "11.62.0-alpha.4",
|
|
74
|
+
"@gooddata/sdk-ui-kit": "11.62.0-alpha.4",
|
|
75
|
+
"@gooddata/sdk-ui-pivot": "11.62.0-alpha.4",
|
|
76
|
+
"@gooddata/sdk-ui-semantic-search": "11.62.0-alpha.4",
|
|
77
|
+
"@gooddata/sdk-ui-theme-provider": "11.62.0-alpha.4",
|
|
78
|
+
"@gooddata/util": "11.62.0-alpha.4",
|
|
79
|
+
"@gooddata/sdk-ui-vis-commons": "11.62.0-alpha.4"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -120,12 +120,12 @@
|
|
|
120
120
|
"svgo": "2.8.4",
|
|
121
121
|
"typescript": "7.0.2",
|
|
122
122
|
"vitest": "5.0.4",
|
|
123
|
-
"@gooddata/
|
|
124
|
-
"@gooddata/
|
|
125
|
-
"@gooddata/
|
|
126
|
-
"@gooddata/
|
|
127
|
-
"@gooddata/
|
|
128
|
-
"@gooddata/
|
|
123
|
+
"@gooddata/oxlint-config": "11.62.0-alpha.4",
|
|
124
|
+
"@gooddata/eslint-config": "11.62.0-alpha.4",
|
|
125
|
+
"@gooddata/i18n-toolkit": "11.62.0-alpha.4",
|
|
126
|
+
"@gooddata/reference-workspace": "11.62.0-alpha.4",
|
|
127
|
+
"@gooddata/sdk-backend-mockingbird": "11.62.0-alpha.4",
|
|
128
|
+
"@gooddata/stylelint-config": "11.62.0-alpha.4"
|
|
129
129
|
},
|
|
130
130
|
"peerDependencies": {
|
|
131
131
|
"react": "^18.0.0 || ^19.0.0",
|