@gooddata/sdk-ui-charts 11.68.0-alpha.5 → 11.68.0-alpha.7
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 +6065 -64648
- package/esm/charts/headline/internal/utils/HeadlineTransformationUtils.d.ts.map +1 -1
- package/esm/charts/headline/internal/utils/HeadlineTransformationUtils.js +2 -3
- package/esm/charts/xirr/internal/utils/XirrTransformationUtils.d.ts.map +1 -1
- package/esm/charts/xirr/internal/utils/XirrTransformationUtils.js +2 -3
- package/esm/highcharts/chartTypes/_chartCreators/drilldownEventing.d.ts.map +1 -1
- package/esm/highcharts/chartTypes/_chartCreators/drilldownEventing.js +3 -2
- package/esm/highcharts/chartTypes/_chartCreators/responsive.d.ts.map +1 -1
- package/esm/highcharts/chartTypes/_chartCreators/responsive.js +4 -3
- package/esm/highcharts/chartTypes/_chartOptions/chartOptionsBuilder.js +3 -3
- package/esm/highcharts/chartTypes/barChart/barConfiguration.js +2 -2
- package/esm/highcharts/chartTypes/bulletChart/bulletConfiguration.js +2 -2
- package/esm/highcharts/chartTypes/comboChart/comboChartOptions.d.ts.map +1 -1
- package/esm/highcharts/chartTypes/comboChart/comboChartOptions.js +3 -2
- package/esm/highcharts/chartTypes/dependencyWheelChart/dependencyWheelConfiguration.d.ts.map +1 -1
- package/esm/highcharts/chartTypes/dependencyWheelChart/dependencyWheelConfiguration.js +3 -3
- package/esm/highcharts/chartTypes/funnelChart/funnelConfiguration.d.ts.map +1 -1
- package/esm/highcharts/chartTypes/funnelChart/funnelConfiguration.js +3 -3
- package/esm/highcharts/chartTypes/heatmap/heatmapConfiguration.js +3 -3
- package/esm/highcharts/chartTypes/pyramidChart/pyramidConfiguration.d.ts.map +1 -1
- package/esm/highcharts/chartTypes/pyramidChart/pyramidConfiguration.js +3 -3
- package/esm/highcharts/chartTypes/sankeyChart/sankeyConfiguration.d.ts.map +1 -1
- package/esm/highcharts/chartTypes/sankeyChart/sankeyConfiguration.js +3 -3
- package/esm/highcharts/chartTypes/treemap/treemapConfiguration.js +3 -3
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadlineTransformationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/charts/headline/internal/utils/HeadlineTransformationUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeadlineTransformationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/charts/headline/internal/utils/HeadlineTransformationUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,kBAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/F,OAAO,EACH,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAGhB,KAAK,gBAAgB,EAGxB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAExF,MAAM,WAAW,sBAAsB;IACnC,iBAAiB,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,CAAC;IAC3D,KAAK,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,yBAAyB;IACtC,eAAe,EAAE,UAAU,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,mBAAmB,CAAC;CAChC;AAiCD,wBAAgB,sBAAsB,CAClC,iBAAiB,EAAE,sBAAsB,GAAG,SAAS,EACrD,WAAW,CAAC,EAAE,OAAO,GACtB,iBAAiB,GAAG,IAAI,CAe1B;AAED,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,cAAc,GAAG,sBAAsB,EAAE,CAe7E;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,GAAG,aAAa,CAiBnF;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAC/B,YAAY,EAAE,aAAa,EAC3B,cAAc,EAAE,gBAAgB,EAAE,EAClC,QAAQ,EAAE,SAAS,GACpB,aAAa,CAef;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAC/B,WAAW,EAAE,yBAAyB,EACtC,QAAQ,EAAE,SAAS,EACnB,aAAa,CAAC,EAAE,WAAW,EAC3B,gBAAgB,CAAC,EAAE,iBAAiB,GACrC,WAAW,CA4Bb"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// (C) 2007-2026 GoodData Corporation
|
|
2
|
-
import { cloneDeep } from "lodash-es";
|
|
3
2
|
import { invariant } from "ts-invariant";
|
|
4
3
|
import { DataViewFacade, VisualizationTypes, isSomeHeaderPredicateMatched, } from "@gooddata/sdk-ui";
|
|
5
|
-
import { _isEmpty } from "@gooddata/util";
|
|
4
|
+
import { _cloneDeep, _isEmpty } from "@gooddata/util";
|
|
6
5
|
function createTertiaryItem(executionData, intl) {
|
|
7
6
|
const secondaryHeaderItem = executionData?.[1]?.measureHeaderItem;
|
|
8
7
|
if (!secondaryHeaderItem) {
|
|
@@ -83,7 +82,7 @@ export function getHeadlineData(dataView, intl) {
|
|
|
83
82
|
*/
|
|
84
83
|
export function applyDrillableItems(headlineData, drillableItems, dataView) {
|
|
85
84
|
const dv = DataViewFacade.for(dataView);
|
|
86
|
-
const data =
|
|
85
|
+
const data = _cloneDeep(headlineData);
|
|
87
86
|
const { primaryItem, secondaryItem } = data;
|
|
88
87
|
const [primaryItemHeader, secondaryItemHeader] = dv.meta().measureDescriptors();
|
|
89
88
|
if (!_isEmpty(primaryItem) && !_isEmpty(primaryItemHeader)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XirrTransformationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/charts/xirr/internal/utils/XirrTransformationUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"XirrTransformationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/charts/xirr/internal/utils/XirrTransformationUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAEH,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAGhB,KAAK,gBAAgB,EAIxB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAIxF,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,qBAAqB;IAClC,eAAe,EAAE,UAAU,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,mBAAmB,CAAC;CAChC;AAyCD;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,SAAS,GAAG,aAAa,CAgBlE;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAC/B,YAAY,EAAE,aAAa,EAC3B,cAAc,EAAE,gBAAgB,EAAE,EAClC,QAAQ,EAAE,SAAS,GACpB,aAAa,CAWf;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,qBAAqB,EAAE,QAAQ,EAAE,SAAS,GAAG,WAAW,CAqBxG"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// (C) 2019-2026 GoodData Corporation
|
|
2
|
-
import { cloneDeep } from "lodash-es";
|
|
3
2
|
import { invariant } from "ts-invariant";
|
|
4
3
|
import { DataViewFacade, VisualizationTypes, getMappingHeaderFormattedName, isSomeHeaderPredicateMatched, } from "@gooddata/sdk-ui";
|
|
5
|
-
import { _isEmpty } from "@gooddata/util";
|
|
4
|
+
import { _cloneDeep, _isEmpty } from "@gooddata/util";
|
|
6
5
|
import { calculateXirr } from "./calculateXirr.js";
|
|
7
6
|
const computeXirr = (executionData) => {
|
|
8
7
|
// prevent errors on invalid inputs
|
|
@@ -68,7 +67,7 @@ export function getHeadlineData(dataView) {
|
|
|
68
67
|
*/
|
|
69
68
|
export function applyDrillableItems(headlineData, drillableItems, dataView) {
|
|
70
69
|
const dv = DataViewFacade.for(dataView);
|
|
71
|
-
const data =
|
|
70
|
+
const data = _cloneDeep(headlineData);
|
|
72
71
|
const { primaryItem } = data;
|
|
73
72
|
const [primaryItemHeader] = dv.meta().measureDescriptors();
|
|
74
73
|
if (!_isEmpty(primaryItem) && !_isEmpty(primaryItemHeader)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drilldownEventing.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartCreators/drilldownEventing.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,YAAY,EAOjB,KAAK,OAAO,EAGf,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"drilldownEventing.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartCreators/drilldownEventing.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,YAAY,EAOjB,KAAK,OAAO,EAGf,MAAM,kBAAkB,CAAC;AAM1B,OAAO,EAAE,KAAK,sBAAsB,EAA+B,MAAM,kCAAkC,CAAC;AAE5G,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,OAAO,GAAG,gBAAgB,CAyBlF;AA8JD,wBAAgB,UAAU,CACtB,WAAW,EAAE,YAAY,EACzB,KAAK,EAAE,UAAU,CAAC,oBAAoB,EACtC,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,SAAS,GACrB,IAAI,CAEN;AAuCD,wBAAgB,cAAc,CAC1B,WAAW,EAAE,YAAY,EACzB,MAAM,EAAE,sBAAsB,EAAE,EAChC,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,SAAS,GACrB,IAAI,CAEN"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// (C) 2007-2026 GoodData Corporation
|
|
2
|
-
import {
|
|
2
|
+
import { debounce } from "lodash-es";
|
|
3
3
|
import { invariant } from "ts-invariant";
|
|
4
4
|
import { VisualizationTypes, getVisualizationType, } from "@gooddata/sdk-ui";
|
|
5
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
5
6
|
import { convertToChartType, isBulletChart, isComboChart, isHeatmap, isTreemap } from "../_util/common.js";
|
|
6
7
|
import { isGroupHighchartsDrillEvent } from "./isGroupHighchartsDrillEvent.js";
|
|
7
8
|
export function getClickableElementNameByChartType(type) {
|
|
@@ -159,7 +160,7 @@ const tickLabelClickDebounce = debounce((drillConfig, points, target, chartId, c
|
|
|
159
160
|
return {
|
|
160
161
|
x: point.x,
|
|
161
162
|
y: point.y,
|
|
162
|
-
intersection:
|
|
163
|
+
intersection: _cloneDeep(point.drillIntersection),
|
|
163
164
|
...customProps,
|
|
164
165
|
};
|
|
165
166
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartCreators/responsive.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartCreators/responsive.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,2BAA2B,EAAwC,MAAM,oBAAoB,CAAC;AAmH5G;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,cACxB,OAAO,eACL,MAAM,eACN,MAAM,KACnB,2BAEF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAAO,2BA2CxC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
// (C) 2007-
|
|
2
|
-
import {
|
|
1
|
+
// (C) 2007-2026 GoodData Corporation
|
|
2
|
+
import { range } from "lodash-es";
|
|
3
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
3
4
|
const UPPER_LIMIT_RATIO = 35;
|
|
4
5
|
const BOTTOM_LIMIT_HEIGHT_RATIO = 15;
|
|
5
6
|
const BOTTOM_LIMIT_WIDTH_RATIO = 20;
|
|
@@ -29,7 +30,7 @@ const yAxisTitleDisabledOption = {
|
|
|
29
30
|
},
|
|
30
31
|
};
|
|
31
32
|
function forMultipleAxes(count, options) {
|
|
32
|
-
return range(count).map(() =>
|
|
33
|
+
return range(count).map(() => _cloneDeep(options));
|
|
33
34
|
}
|
|
34
35
|
const getResponsiveConfigOptions = (inverted, xAxesCount, yAxesCount) => {
|
|
35
36
|
const axisKeyX = inverted ? "yAxis" : "xAxis";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// (C) 2007-2026 GoodData Corporation
|
|
2
|
-
import {
|
|
2
|
+
import { without } from "lodash-es";
|
|
3
3
|
import { invariant } from "ts-invariant";
|
|
4
4
|
import { BucketNames, DataViewFacade, VisualizationTypes, getMappingHeaderFormattedName, } from "@gooddata/sdk-ui";
|
|
5
5
|
import { valueWithEmptyHandling } from "@gooddata/sdk-ui-vis-commons";
|
|
6
|
-
import { _isEmpty } from "@gooddata/util";
|
|
6
|
+
import { _cloneDeep, _isEmpty } from "@gooddata/util";
|
|
7
7
|
import { ViewByAttributesLimit } from "../../../interfaces/limits.js";
|
|
8
8
|
import { PARENT_ATTRIBUTE_INDEX, PRIMARY_ATTRIBUTE_INDEX, STACK_BY_DIMENSION_INDEX, VIEW_BY_DIMENSION_INDEX, } from "../../constants/dimensions.js";
|
|
9
9
|
import { getChartProperties } from "../_chartCreators/helpers.js";
|
|
@@ -387,7 +387,7 @@ export function getChartOptions(dataView, chartConfig, drillableItems, emptyHead
|
|
|
387
387
|
}
|
|
388
388
|
if (isBubbleChart(type)) {
|
|
389
389
|
const measures = [];
|
|
390
|
-
const measureGroupCopy =
|
|
390
|
+
const measureGroupCopy = _cloneDeep(measureGroup);
|
|
391
391
|
const { xAxisProps, yAxisProps } = getChartProperties(config, type);
|
|
392
392
|
if (dv.def().isBucketEmpty(BucketNames.MEASURES)) {
|
|
393
393
|
measures.push(null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2007-2026 GoodData Corporation
|
|
2
|
-
import {
|
|
2
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
3
3
|
import { MAX_POINT_WIDTH } from "../_chartCreators/commonConfiguration.js";
|
|
4
4
|
import { getCommonResponsiveConfig } from "../_chartCreators/responsive.js";
|
|
5
5
|
import { getAxesCounts } from "../_util/common.js";
|
|
@@ -36,7 +36,7 @@ const BAR_TEMPLATE = {
|
|
|
36
36
|
],
|
|
37
37
|
};
|
|
38
38
|
export function getBarConfiguration(config) {
|
|
39
|
-
const barConfiguration =
|
|
39
|
+
const barConfiguration = _cloneDeep(BAR_TEMPLATE);
|
|
40
40
|
if (config?.enableCompactSize && !config?.zoomInsight) {
|
|
41
41
|
const reversed = true;
|
|
42
42
|
const [xAxesCount, yAxesCount] = getAxesCounts(config);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2007-2026 GoodData Corporation
|
|
2
|
-
import {
|
|
2
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
3
3
|
import { MAX_POINT_WIDTH } from "../_chartCreators/commonConfiguration.js";
|
|
4
4
|
import { getCommonResponsiveConfig } from "../_chartCreators/responsive.js";
|
|
5
5
|
const BULLET_TEMPLATE = {
|
|
@@ -44,7 +44,7 @@ const BULLET_TEMPLATE = {
|
|
|
44
44
|
],
|
|
45
45
|
};
|
|
46
46
|
export function getBulletConfiguration(config) {
|
|
47
|
-
const bulletConfiguration =
|
|
47
|
+
const bulletConfiguration = _cloneDeep(BULLET_TEMPLATE);
|
|
48
48
|
if (config?.enableCompactSize && !config?.zoomInsight) {
|
|
49
49
|
const reversed = true;
|
|
50
50
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comboChartOptions.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/comboChart/comboChartOptions.ts"],"names":[],"mappings":"AAIA,OAAO,EAIH,KAAK,uBAAuB,EAG/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,KAAK,cAAc,EAAsB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"comboChartOptions.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/comboChart/comboChartOptions.ts"],"names":[],"mappings":"AAIA,OAAO,EAIH,KAAK,uBAAuB,EAG/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,KAAK,cAAc,EAAsB,MAAM,kBAAkB,CAAC;AAGxF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAI9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,gCAIlC,CAAC;AAiBF,wBAAgB,mBAAmB,CAC/B,MAAM,EAAE,YAAY,EACpB,YAAY,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,EAC3D,MAAM,EAAE,WAAW,EAAE,EACrB,EAAE,EAAE,cAAc,GACnB,WAAW,EAAE,CAiDf;AAUD,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,SAAS,GAAG,OAAO,CAK1F;AAED,wBAAgB,2BAA2B,CACvC,MAAM,EAAE,YAAY,EACpB,MAAM,EAAE,WAAW,EAAE,EACrB,eAAe,EAAE,YAAY,GAC9B,YAAY,CASd"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// (C) 2007-2026 GoodData Corporation
|
|
2
|
-
import {
|
|
2
|
+
import { set, unset } from "lodash-es";
|
|
3
3
|
import { isMeasure, measureLocalId, } from "@gooddata/sdk-model";
|
|
4
4
|
import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
|
|
5
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
5
6
|
import { isSolidFill } from "../_chartOptions/patternFillOptions.js";
|
|
6
7
|
import { isAreaChart, isColumnChart, isLineChart } from "../_util/common.js";
|
|
7
8
|
export const CHART_ORDER = {
|
|
@@ -29,7 +30,7 @@ function getMeasureIndices(bucketItems, measureGroupIdentifiers) {
|
|
|
29
30
|
}, []);
|
|
30
31
|
}
|
|
31
32
|
export function getComboChartSeries(config, measureGroup, series, dv) {
|
|
32
|
-
const updatedSeries =
|
|
33
|
+
const updatedSeries = _cloneDeep(series);
|
|
33
34
|
const measureBuckets = {};
|
|
34
35
|
const types = [config.primaryChartType, config.secondaryChartType];
|
|
35
36
|
const measureGroupIdentifiers = measureGroup.items.map((item) => item?.measureHeaderItem?.localIdentifier ?? "");
|
package/esm/highcharts/chartTypes/dependencyWheelChart/dependencyWheelConfiguration.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencyWheelConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/dependencyWheelChart/dependencyWheelConfiguration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dependencyWheelConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/dependencyWheelChart/dependencyWheelConfiguration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAoC5D,wBAAgB,+BAA+B,IAAI,iBAAiB,CAOnE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// (C) 2023-
|
|
2
|
-
import {
|
|
1
|
+
// (C) 2023-2026 GoodData Corporation
|
|
2
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
3
3
|
import { getCommonResponsiveConfig } from "../_chartCreators/responsive.js";
|
|
4
4
|
const DEPENDENCY_WHEEL_TEMPLATE = {
|
|
5
5
|
chart: {
|
|
@@ -34,7 +34,7 @@ const DEPENDENCY_WHEEL_TEMPLATE = {
|
|
|
34
34
|
},
|
|
35
35
|
};
|
|
36
36
|
export function getDependencyWheelConfiguration() {
|
|
37
|
-
const configuration =
|
|
37
|
+
const configuration = _cloneDeep(DEPENDENCY_WHEEL_TEMPLATE);
|
|
38
38
|
return {
|
|
39
39
|
...configuration,
|
|
40
40
|
responsive: getCommonResponsiveConfig(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"funnelConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/funnelChart/funnelConfiguration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"funnelConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/funnelChart/funnelConfiguration.ts"],"names":[],"mappings":"AAWA,QAAA,MAAM,eAAe;;QAEb,IAAI;QACJ,YAAY;;;;;gBAKJ,OAAO;gBACP,IAAI;gBACJ,QAAQ;gBACR,OAAO;;;;;;;;;QASf,OAAO;;;;;;;;gBAWK,WAAW;oBACP,MAAM;wBACF,MAAM;wBACN,SAAS;wBACT,UAAU;wBACV,KAAK;;;;;;CAOhC,CAAC;AAEF,wBAAgB,sBAAsB,IAAI,OAAO,eAAe,CAE/D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// (C) 2007-
|
|
2
|
-
import {
|
|
1
|
+
// (C) 2007-2026 GoodData Corporation
|
|
2
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
3
3
|
const WIDTH_SPAN = 900;
|
|
4
4
|
const WIDTH = 0.8;
|
|
5
5
|
const NECK_WIDTH = 0.3;
|
|
@@ -50,5 +50,5 @@ const FUNNEL_TEMPLATE = {
|
|
|
50
50
|
},
|
|
51
51
|
};
|
|
52
52
|
export function getFunnelConfiguration() {
|
|
53
|
-
return
|
|
53
|
+
return _cloneDeep(FUNNEL_TEMPLATE);
|
|
54
54
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// (C) 2007-
|
|
2
|
-
import {
|
|
1
|
+
// (C) 2007-2026 GoodData Corporation
|
|
2
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
3
3
|
const HEATMAP_TEMPLATE = {
|
|
4
4
|
chart: {
|
|
5
5
|
type: "heatmap",
|
|
@@ -57,5 +57,5 @@ const HEATMAP_TEMPLATE = {
|
|
|
57
57
|
],
|
|
58
58
|
};
|
|
59
59
|
export function getHeatmapConfiguration() {
|
|
60
|
-
return
|
|
60
|
+
return _cloneDeep(HEATMAP_TEMPLATE);
|
|
61
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pyramidConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/pyramidChart/pyramidConfiguration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pyramidConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/pyramidChart/pyramidConfiguration.ts"],"names":[],"mappings":"AASA,QAAA,MAAM,gBAAgB;;QAEd,IAAI;QACJ,YAAY;;;;;gBAKJ,OAAO;gBACP,IAAI;gBACJ,QAAQ;gBACR,OAAO;;;;;;QAMf,OAAO;;;;;;;;gBAWK,WAAW;oBACP,OAAO;wBACH,KAAK;;;;;;CAOhC,CAAC;AAEF,wBAAgB,uBAAuB,IAAI,OAAO,gBAAgB,CAEjE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// (C) 2007-
|
|
2
|
-
import {
|
|
1
|
+
// (C) 2007-2026 GoodData Corporation
|
|
2
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
3
3
|
const WIDTH_SPAN = 900;
|
|
4
4
|
const WIDTH = 0.7;
|
|
5
5
|
const widthPercent = `${WIDTH * 100}%`;
|
|
@@ -42,5 +42,5 @@ const PYRAMID_TEMPLATE = {
|
|
|
42
42
|
},
|
|
43
43
|
};
|
|
44
44
|
export function getPyramidConfiguration() {
|
|
45
|
-
return
|
|
45
|
+
return _cloneDeep(PYRAMID_TEMPLATE);
|
|
46
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sankeyConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/sankeyChart/sankeyConfiguration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sankeyConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/sankeyChart/sankeyConfiguration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAiC5D,wBAAgB,sBAAsB,IAAI,iBAAiB,CAO1D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// (C) 2023-
|
|
2
|
-
import {
|
|
1
|
+
// (C) 2023-2026 GoodData Corporation
|
|
2
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
3
3
|
import { getCommonResponsiveConfig } from "../_chartCreators/responsive.js";
|
|
4
4
|
const SANKEY_TEMPLATE = {
|
|
5
5
|
chart: {
|
|
@@ -31,7 +31,7 @@ const SANKEY_TEMPLATE = {
|
|
|
31
31
|
},
|
|
32
32
|
};
|
|
33
33
|
export function getSankeyConfiguration() {
|
|
34
|
-
const configuration =
|
|
34
|
+
const configuration = _cloneDeep(SANKEY_TEMPLATE);
|
|
35
35
|
return {
|
|
36
36
|
...configuration,
|
|
37
37
|
responsive: getCommonResponsiveConfig(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// (C) 2007-
|
|
2
|
-
import {
|
|
1
|
+
// (C) 2007-2026 GoodData Corporation
|
|
2
|
+
import { _cloneDeep } from "@gooddata/util";
|
|
3
3
|
const TREEMAP_TEMPLATE = {
|
|
4
4
|
chart: {
|
|
5
5
|
type: "treemap",
|
|
@@ -47,5 +47,5 @@ const TREEMAP_TEMPLATE = {
|
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
49
|
export function getTreemapConfiguration() {
|
|
50
|
-
return
|
|
50
|
+
return _cloneDeep(TREEMAP_TEMPLATE);
|
|
51
51
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-charts",
|
|
3
|
-
"version": "11.68.0-alpha.
|
|
3
|
+
"version": "11.68.0-alpha.7",
|
|
4
4
|
"description": "GoodData.UI SDK - Charts",
|
|
5
5
|
"license": "LicenseRef-LICENSE",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
"ts-invariant": "0.10.3",
|
|
70
70
|
"tslib": "2.8.1",
|
|
71
71
|
"uuid": "11.1.1",
|
|
72
|
-
"@gooddata/sdk-backend-spi": "11.68.0-alpha.
|
|
73
|
-
"@gooddata/sdk-
|
|
74
|
-
"@gooddata/sdk-
|
|
75
|
-
"@gooddata/sdk-ui-kit": "11.68.0-alpha.
|
|
76
|
-
"@gooddata/sdk-ui-
|
|
77
|
-
"@gooddata/sdk-ui-
|
|
78
|
-
"@gooddata/util": "11.68.0-alpha.
|
|
72
|
+
"@gooddata/sdk-backend-spi": "11.68.0-alpha.7",
|
|
73
|
+
"@gooddata/sdk-model": "11.68.0-alpha.7",
|
|
74
|
+
"@gooddata/sdk-ui": "11.68.0-alpha.7",
|
|
75
|
+
"@gooddata/sdk-ui-kit": "11.68.0-alpha.7",
|
|
76
|
+
"@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.7",
|
|
77
|
+
"@gooddata/sdk-ui-vis-commons": "11.68.0-alpha.7",
|
|
78
|
+
"@gooddata/util": "11.68.0-alpha.7"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@microsoft/api-documenter": "7.30.20",
|
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
"stylelint": "16.26.1",
|
|
117
117
|
"typescript": "7.0.2",
|
|
118
118
|
"vitest": "5.0.4",
|
|
119
|
-
"@gooddata/
|
|
120
|
-
"@gooddata/
|
|
121
|
-
"@gooddata/
|
|
122
|
-
"@gooddata/
|
|
123
|
-
"@gooddata/
|
|
119
|
+
"@gooddata/eslint-config": "11.68.0-alpha.7",
|
|
120
|
+
"@gooddata/oxlint-config": "11.68.0-alpha.7",
|
|
121
|
+
"@gooddata/reference-workspace": "11.68.0-alpha.7",
|
|
122
|
+
"@gooddata/stylelint-config": "11.68.0-alpha.7",
|
|
123
|
+
"@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.7"
|
|
124
124
|
},
|
|
125
125
|
"peerDependencies": {
|
|
126
126
|
"react": "^18.0.0 || ^19.0.0",
|