@gooddata/sdk-ui-pivot 11.68.0-alpha.6 → 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 CHANGED
@@ -3,7 +3,7 @@ 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-pivot (11.68.0-alpha.6)
6
+ Attribution Notice for @gooddata/sdk-ui-pivot (11.68.0-alpha.7)
7
7
  Package License: LicenseRef-LICENSE
8
8
  Own License File: LICENSE
9
9
 
@@ -17,14 +17,14 @@ change those terms.
17
17
  Dependencies
18
18
 
19
19
  Local GoodData SDK components
20
- - @gooddata/sdk-backend-spi (11.68.0-alpha.6) [MIT] — Direct
21
- - @gooddata/sdk-code-schemas (11.68.0-alpha.6) [MIT] — Transitive
22
- - @gooddata/sdk-model (11.68.0-alpha.6) [MIT] — Direct
23
- - @gooddata/sdk-ui (11.68.0-alpha.6) [MIT] — Direct
24
- - @gooddata/sdk-ui-kit (11.68.0-alpha.6) [MIT] — Direct
25
- - @gooddata/sdk-ui-theme-provider (11.68.0-alpha.6) [MIT] — Direct
26
- - @gooddata/sdk-ui-vis-commons (11.68.0-alpha.6) [MIT] — Direct
27
- - @gooddata/util (11.68.0-alpha.6) [MIT] — Direct
20
+ - @gooddata/sdk-backend-spi (11.68.0-alpha.7) [MIT] — Direct
21
+ - @gooddata/sdk-code-schemas (11.68.0-alpha.7) [MIT] — Transitive
22
+ - @gooddata/sdk-model (11.68.0-alpha.7) [MIT] — Direct
23
+ - @gooddata/sdk-ui (11.68.0-alpha.7) [MIT] — Direct
24
+ - @gooddata/sdk-ui-kit (11.68.0-alpha.7) [MIT] — Direct
25
+ - @gooddata/sdk-ui-theme-provider (11.68.0-alpha.7) [MIT] — Direct
26
+ - @gooddata/sdk-ui-vis-commons (11.68.0-alpha.7) [MIT] — Direct
27
+ - @gooddata/util (11.68.0-alpha.7) [MIT] — Direct
28
28
 
29
29
  External components
30
30
  - @aaronhayes/react-use-hubspot-form (2.1.2) [MIT] — Transitive
@@ -301,7 +301,7 @@ Local GoodData SDK components
301
301
  ================================================================================
302
302
 
303
303
  --------------------------------------------------------------------------------
304
- Package Title: @gooddata/sdk-backend-spi (11.68.0-alpha.6)
304
+ Package Title: @gooddata/sdk-backend-spi (11.68.0-alpha.7)
305
305
  Package Source: Local workspace
306
306
  Package Depth: Direct
307
307
  --------------------------------------------------------------------------------
@@ -310,7 +310,7 @@ Package Depth: Direct
310
310
  MIT
311
311
 
312
312
  * License Text *
313
- Copyright (c) 2020-2022 GoodData Corporation
313
+ Copyright (c) 2020-2026 GoodData Corporation
314
314
 
315
315
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
316
316
 
@@ -319,7 +319,7 @@ The above copyright notice and this permission notice shall be included in all c
319
319
  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.
320
320
 
321
321
  --------------------------------------------------------------------------------
322
- Package Title: @gooddata/sdk-code-schemas (11.68.0-alpha.6)
322
+ Package Title: @gooddata/sdk-code-schemas (11.68.0-alpha.7)
323
323
  Package Source: Local workspace
324
324
  Package Depth: Transitive
325
325
  --------------------------------------------------------------------------------
@@ -349,7 +349,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
349
349
  SOFTWARE.
350
350
 
351
351
  --------------------------------------------------------------------------------
352
- Package Title: @gooddata/sdk-model (11.68.0-alpha.6)
352
+ Package Title: @gooddata/sdk-model (11.68.0-alpha.7)
353
353
  Package Source: Local workspace
354
354
  Package Depth: Direct
355
355
  --------------------------------------------------------------------------------
@@ -358,7 +358,7 @@ Package Depth: Direct
358
358
  MIT
359
359
 
360
360
  * License Text *
361
- Copyright (c) 2020-2022 GoodData Corporation
361
+ Copyright (c) 2020-2026 GoodData Corporation
362
362
 
363
363
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
364
364
 
@@ -367,7 +367,7 @@ The above copyright notice and this permission notice shall be included in all c
367
367
  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.
368
368
 
369
369
  --------------------------------------------------------------------------------
370
- Package Title: @gooddata/sdk-ui (11.68.0-alpha.6)
370
+ Package Title: @gooddata/sdk-ui (11.68.0-alpha.7)
371
371
  Package Source: Local workspace
372
372
  Package Depth: Direct
373
373
  --------------------------------------------------------------------------------
@@ -376,7 +376,7 @@ Package Depth: Direct
376
376
  MIT
377
377
 
378
378
  * License Text *
379
- Copyright (c) 2020-2022 GoodData Corporation
379
+ Copyright (c) 2020-2026 GoodData Corporation
380
380
 
381
381
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
382
382
 
@@ -385,7 +385,7 @@ The above copyright notice and this permission notice shall be included in all c
385
385
  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.
386
386
 
387
387
  --------------------------------------------------------------------------------
388
- Package Title: @gooddata/sdk-ui-kit (11.68.0-alpha.6)
388
+ Package Title: @gooddata/sdk-ui-kit (11.68.0-alpha.7)
389
389
  Package Source: Local workspace
390
390
  Package Depth: Direct
391
391
  --------------------------------------------------------------------------------
@@ -394,7 +394,7 @@ Package Depth: Direct
394
394
  MIT
395
395
 
396
396
  * License Text *
397
- Copyright (c) 2020-2022 GoodData Corporation
397
+ Copyright (c) 2020-2026 GoodData Corporation
398
398
 
399
399
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
400
400
 
@@ -403,7 +403,7 @@ The above copyright notice and this permission notice shall be included in all c
403
403
  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.
404
404
 
405
405
  --------------------------------------------------------------------------------
406
- Package Title: @gooddata/sdk-ui-theme-provider (11.68.0-alpha.6)
406
+ Package Title: @gooddata/sdk-ui-theme-provider (11.68.0-alpha.7)
407
407
  Package Source: Local workspace
408
408
  Package Depth: Direct
409
409
  --------------------------------------------------------------------------------
@@ -412,7 +412,7 @@ Package Depth: Direct
412
412
  MIT
413
413
 
414
414
  * License Text *
415
- Copyright (c) 2020-2022 GoodData Corporation
415
+ Copyright (c) 2020-2026 GoodData Corporation
416
416
 
417
417
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
418
418
 
@@ -421,7 +421,7 @@ The above copyright notice and this permission notice shall be included in all c
421
421
  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.
422
422
 
423
423
  --------------------------------------------------------------------------------
424
- Package Title: @gooddata/sdk-ui-vis-commons (11.68.0-alpha.6)
424
+ Package Title: @gooddata/sdk-ui-vis-commons (11.68.0-alpha.7)
425
425
  Package Source: Local workspace
426
426
  Package Depth: Direct
427
427
  --------------------------------------------------------------------------------
@@ -430,7 +430,7 @@ Package Depth: Direct
430
430
  MIT
431
431
 
432
432
  * License Text *
433
- Copyright (c) 2020-2022 GoodData Corporation
433
+ Copyright (c) 2020-2026 GoodData Corporation
434
434
 
435
435
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
436
436
 
@@ -439,7 +439,7 @@ The above copyright notice and this permission notice shall be included in all c
439
439
  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.
440
440
 
441
441
  --------------------------------------------------------------------------------
442
- Package Title: @gooddata/util (11.68.0-alpha.6)
442
+ Package Title: @gooddata/util (11.68.0-alpha.7)
443
443
  Package Source: Local workspace
444
444
  Package Depth: Direct
445
445
  --------------------------------------------------------------------------------
@@ -448,7 +448,7 @@ Package Depth: Direct
448
448
  MIT
449
449
 
450
450
  * License Text *
451
- Copyright (c) 2020-2022 GoodData Corporation
451
+ Copyright (c) 2020-2026 GoodData Corporation
452
452
 
453
453
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
454
454
 
@@ -1 +1 @@
1
- {"version":3,"file":"CorePivotTable.d.ts","sourceRoot":"","sources":["../src/CorePivotTable.tsx"],"names":[],"mappings":"AA0EA,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"}
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"}
@@ -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: cloneDeep(getTotalsForAttributeBucket(execution.definition)),
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: cloneDeep(getTotalsForAttributeBucket(execution.definition)),
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.6",
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-backend-spi": "11.68.0-alpha.6",
47
- "@gooddata/sdk-model": "11.68.0-alpha.6",
48
- "@gooddata/sdk-ui-kit": "11.68.0-alpha.6",
49
- "@gooddata/sdk-ui": "11.68.0-alpha.6",
50
- "@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.6",
51
- "@gooddata/sdk-ui-vis-commons": "11.68.0-alpha.6",
52
- "@gooddata/util": "11.68.0-alpha.6"
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/eslint-config": "11.68.0-alpha.6",
91
- "@gooddata/oxlint-config": "11.68.0-alpha.6",
92
- "@gooddata/reference-workspace": "11.68.0-alpha.6",
93
- "@gooddata/sdk-backend-base": "11.68.0-alpha.6",
94
- "@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.6",
95
- "@gooddata/stylelint-config": "11.68.0-alpha.6"
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",