@gooddata/sdk-ui-pivot 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 +4450 -63764
- package/esm/CorePivotTable.d.ts.map +1 -1
- package/esm/CorePivotTable.js +3 -4
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorePivotTable.d.ts","sourceRoot":"","sources":["../src/CorePivotTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CorePivotTable.d.ts","sourceRoot":"","sources":["../src/CorePivotTable.tsx"],"names":[],"mappings":"AAyEA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AA2E7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8GG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,oBAAoB,2CA2+B/D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,oBAAoB,2CAQzD"}
|
package/esm/CorePivotTable.js
CHANGED
|
@@ -4,13 +4,12 @@ import { useCallback, useLayoutEffect, useMemo, useRef, useState, } from "react"
|
|
|
4
4
|
import { AllCommunityModule, ModuleRegistry, provideGlobalGridOptions, } from "ag-grid-community";
|
|
5
5
|
import { AgGridReact } from "ag-grid-react";
|
|
6
6
|
import cx from "classnames";
|
|
7
|
-
import { cloneDeep } from "lodash-es";
|
|
8
7
|
import { useIntl } from "react-intl";
|
|
9
8
|
import { invariant } from "ts-invariant";
|
|
10
9
|
import { v4 as uuidv4 } from "uuid";
|
|
11
10
|
import { IntlWrapper, newErrorMapping, } from "@gooddata/sdk-ui";
|
|
12
11
|
import { ThemeContextProvider, useTheme } from "@gooddata/sdk-ui-theme-provider";
|
|
13
|
-
import { _isEqual } from "@gooddata/util";
|
|
12
|
+
import { _cloneDeep, _isEqual } from "@gooddata/util";
|
|
14
13
|
import { PivotTableError } from "./components/PivotTableError.js";
|
|
15
14
|
import { PivotTableLoading } from "./components/PivotTableLoading.js";
|
|
16
15
|
import { createDebouncedCallback, createStateBoundCallback } from "./components/utils/callbackHelpers.js";
|
|
@@ -193,7 +192,7 @@ export function CorePivotTableAgImpl(props) {
|
|
|
193
192
|
const { execution, config } = resolvedProps;
|
|
194
193
|
return {
|
|
195
194
|
readyToRender: false,
|
|
196
|
-
columnTotals:
|
|
195
|
+
columnTotals: _cloneDeep(getTotalsForAttributeBucket(execution.definition)),
|
|
197
196
|
rowTotals: getTotalsForColumnsBucket(execution.definition),
|
|
198
197
|
desiredHeight: config.maxHeight,
|
|
199
198
|
resized: false,
|
|
@@ -727,7 +726,7 @@ export function CorePivotTableAgImpl(props) {
|
|
|
727
726
|
const reinitialize = useCallback((execution) => {
|
|
728
727
|
setState({
|
|
729
728
|
readyToRender: false,
|
|
730
|
-
columnTotals:
|
|
729
|
+
columnTotals: _cloneDeep(getTotalsForAttributeBucket(execution.definition)),
|
|
731
730
|
rowTotals: getTotalsForColumnsBucket(execution.definition),
|
|
732
731
|
error: undefined,
|
|
733
732
|
desiredHeight: propsRef.current.config.maxHeight,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-pivot",
|
|
3
|
-
"version": "11.68.0-alpha.
|
|
3
|
+
"version": "11.68.0-alpha.7",
|
|
4
4
|
"description": "GoodData.UI SDK - Pivot Table",
|
|
5
5
|
"license": "LicenseRef-LICENSE",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"ts-invariant": "0.10.3",
|
|
44
44
|
"tslib": "2.8.1",
|
|
45
45
|
"uuid": "11.1.1",
|
|
46
|
-
"@gooddata/sdk-
|
|
47
|
-
"@gooddata/sdk-
|
|
48
|
-
"@gooddata/sdk-ui
|
|
49
|
-
"@gooddata/sdk-ui-
|
|
50
|
-
"@gooddata/sdk-ui-
|
|
51
|
-
"@gooddata/
|
|
52
|
-
"@gooddata/
|
|
46
|
+
"@gooddata/sdk-backend-spi": "11.68.0-alpha.7",
|
|
47
|
+
"@gooddata/sdk-model": "11.68.0-alpha.7",
|
|
48
|
+
"@gooddata/sdk-ui": "11.68.0-alpha.7",
|
|
49
|
+
"@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.7",
|
|
50
|
+
"@gooddata/sdk-ui-vis-commons": "11.68.0-alpha.7",
|
|
51
|
+
"@gooddata/sdk-ui-kit": "11.68.0-alpha.7",
|
|
52
|
+
"@gooddata/util": "11.68.0-alpha.7"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@microsoft/api-documenter": "7.30.20",
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
"stylelint": "16.26.1",
|
|
88
88
|
"typescript": "7.0.2",
|
|
89
89
|
"vitest": "5.0.4",
|
|
90
|
-
"@gooddata/oxlint-config": "11.68.0-alpha.
|
|
91
|
-
"@gooddata/eslint-config": "11.68.0-alpha.
|
|
92
|
-
"@gooddata/reference-workspace": "11.68.0-alpha.
|
|
93
|
-
"@gooddata/sdk-backend-base": "11.68.0-alpha.
|
|
94
|
-
"@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.
|
|
95
|
-
"@gooddata/stylelint-config": "11.68.0-alpha.
|
|
90
|
+
"@gooddata/oxlint-config": "11.68.0-alpha.7",
|
|
91
|
+
"@gooddata/eslint-config": "11.68.0-alpha.7",
|
|
92
|
+
"@gooddata/reference-workspace": "11.68.0-alpha.7",
|
|
93
|
+
"@gooddata/sdk-backend-base": "11.68.0-alpha.7",
|
|
94
|
+
"@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.7",
|
|
95
|
+
"@gooddata/stylelint-config": "11.68.0-alpha.7"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"react": "^18.0.0 || ^19.0.0",
|