@gooddata/sdk-ui-pivot 11.69.0-alpha.2 → 11.69.0-alpha.3
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 +19 -19
- package/esm/impl/drilling/colDrillHeadersFactory.d.ts +2 -0
- package/esm/impl/drilling/colDrillHeadersFactory.d.ts.map +1 -1
- package/esm/impl/drilling/colDrillHeadersFactory.js +2 -0
- package/esm/impl/drilling/drillIntersectionFactory.d.ts +1 -0
- package/esm/impl/drilling/drillIntersectionFactory.d.ts.map +1 -1
- package/esm/impl/drilling/drillIntersectionFactory.js +1 -0
- package/esm/impl/structure/colDefFactory.d.ts +2 -0
- package/esm/impl/structure/colDefFactory.d.ts.map +1 -1
- package/esm/impl/structure/colDefFactory.js +2 -0
- package/esm/impl/structure/tableDescriptor.d.ts +3 -2
- package/esm/impl/structure/tableDescriptor.d.ts.map +1 -1
- package/esm/impl/structure/tableDescriptor.js +3 -2
- package/esm/impl/structure/tableDescriptorFactory.d.ts +2 -0
- package/esm/impl/structure/tableDescriptorFactory.d.ts.map +1 -1
- package/esm/impl/structure/tableDescriptorFactory.js +2 -0
- package/esm/next/components/Header/HeaderCell/HeaderMenuComponents.d.ts +1 -0
- package/esm/next/components/Header/HeaderCell/HeaderMenuComponents.d.ts.map +1 -1
- package/esm/next/components/Header/HeaderCell/HeaderMenuComponents.js +4 -0
- package/esm/next/features/drilling/isDrillable.d.ts +1 -2
- package/esm/next/features/drilling/isDrillable.d.ts.map +1 -1
- package/esm/next/features/drilling/isDrillable.js +1 -2
- package/esm/next/hooks/header/useHeaderMenu.d.ts +5 -10
- package/esm/next/hooks/header/useHeaderMenu.d.ts.map +1 -1
- package/esm/next/hooks/header/useHeaderMenu.js +5 -10
- package/package.json +14 -14
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-pivot (11.69.0-alpha.
|
|
6
|
+
Attribution Notice for @gooddata/sdk-ui-pivot (11.69.0-alpha.3)
|
|
7
7
|
Package License: LicenseRef-LICENSE
|
|
8
8
|
Own License File: LICENSE
|
|
9
|
-
Date generated: 2026-11-
|
|
10
|
-
Revision ID:
|
|
9
|
+
Date generated: 2026-11-16
|
|
10
|
+
Revision ID: 916dc843984d70f22c7ba476032676ba4f31a88b
|
|
11
11
|
|
|
12
12
|
This notice lists the components that @gooddata/sdk-ui-pivot depends on, directly or through other
|
|
13
13
|
packages, with the license and copyright information reported for each of them.
|
|
@@ -19,14 +19,14 @@ change those terms.
|
|
|
19
19
|
Dependencies
|
|
20
20
|
|
|
21
21
|
Local GoodData SDK components
|
|
22
|
-
- @gooddata/sdk-backend-spi (11.69.0-alpha.
|
|
23
|
-
- @gooddata/sdk-code-schemas (11.69.0-alpha.
|
|
24
|
-
- @gooddata/sdk-model (11.69.0-alpha.
|
|
25
|
-
- @gooddata/sdk-ui (11.69.0-alpha.
|
|
26
|
-
- @gooddata/sdk-ui-kit (11.69.0-alpha.
|
|
27
|
-
- @gooddata/sdk-ui-theme-provider (11.69.0-alpha.
|
|
28
|
-
- @gooddata/sdk-ui-vis-commons (11.69.0-alpha.
|
|
29
|
-
- @gooddata/util (11.69.0-alpha.
|
|
22
|
+
- @gooddata/sdk-backend-spi (11.69.0-alpha.3) [MIT] — Direct
|
|
23
|
+
- @gooddata/sdk-code-schemas (11.69.0-alpha.3) [MIT] — Transitive
|
|
24
|
+
- @gooddata/sdk-model (11.69.0-alpha.3) [MIT] — Direct
|
|
25
|
+
- @gooddata/sdk-ui (11.69.0-alpha.3) [MIT] — Direct
|
|
26
|
+
- @gooddata/sdk-ui-kit (11.69.0-alpha.3) [MIT] — Direct
|
|
27
|
+
- @gooddata/sdk-ui-theme-provider (11.69.0-alpha.3) [MIT] — Direct
|
|
28
|
+
- @gooddata/sdk-ui-vis-commons (11.69.0-alpha.3) [MIT] — Direct
|
|
29
|
+
- @gooddata/util (11.69.0-alpha.3) [MIT] — Direct
|
|
30
30
|
|
|
31
31
|
External components
|
|
32
32
|
- @aaronhayes/react-use-hubspot-form (2.1.2) [MIT] — Transitive
|
|
@@ -303,7 +303,7 @@ Local GoodData SDK components
|
|
|
303
303
|
================================================================================
|
|
304
304
|
|
|
305
305
|
--------------------------------------------------------------------------------
|
|
306
|
-
Package Title: @gooddata/sdk-backend-spi (11.69.0-alpha.
|
|
306
|
+
Package Title: @gooddata/sdk-backend-spi (11.69.0-alpha.3)
|
|
307
307
|
Package Source: Local workspace
|
|
308
308
|
Package Depth: Direct
|
|
309
309
|
--------------------------------------------------------------------------------
|
|
@@ -321,7 +321,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
321
321
|
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.
|
|
322
322
|
|
|
323
323
|
--------------------------------------------------------------------------------
|
|
324
|
-
Package Title: @gooddata/sdk-code-schemas (11.69.0-alpha.
|
|
324
|
+
Package Title: @gooddata/sdk-code-schemas (11.69.0-alpha.3)
|
|
325
325
|
Package Source: Local workspace
|
|
326
326
|
Package Depth: Transitive
|
|
327
327
|
--------------------------------------------------------------------------------
|
|
@@ -351,7 +351,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
351
351
|
SOFTWARE.
|
|
352
352
|
|
|
353
353
|
--------------------------------------------------------------------------------
|
|
354
|
-
Package Title: @gooddata/sdk-model (11.69.0-alpha.
|
|
354
|
+
Package Title: @gooddata/sdk-model (11.69.0-alpha.3)
|
|
355
355
|
Package Source: Local workspace
|
|
356
356
|
Package Depth: Direct
|
|
357
357
|
--------------------------------------------------------------------------------
|
|
@@ -369,7 +369,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
369
369
|
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.
|
|
370
370
|
|
|
371
371
|
--------------------------------------------------------------------------------
|
|
372
|
-
Package Title: @gooddata/sdk-ui (11.69.0-alpha.
|
|
372
|
+
Package Title: @gooddata/sdk-ui (11.69.0-alpha.3)
|
|
373
373
|
Package Source: Local workspace
|
|
374
374
|
Package Depth: Direct
|
|
375
375
|
--------------------------------------------------------------------------------
|
|
@@ -387,7 +387,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
387
387
|
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.
|
|
388
388
|
|
|
389
389
|
--------------------------------------------------------------------------------
|
|
390
|
-
Package Title: @gooddata/sdk-ui-kit (11.69.0-alpha.
|
|
390
|
+
Package Title: @gooddata/sdk-ui-kit (11.69.0-alpha.3)
|
|
391
391
|
Package Source: Local workspace
|
|
392
392
|
Package Depth: Direct
|
|
393
393
|
--------------------------------------------------------------------------------
|
|
@@ -405,7 +405,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
405
405
|
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.
|
|
406
406
|
|
|
407
407
|
--------------------------------------------------------------------------------
|
|
408
|
-
Package Title: @gooddata/sdk-ui-theme-provider (11.69.0-alpha.
|
|
408
|
+
Package Title: @gooddata/sdk-ui-theme-provider (11.69.0-alpha.3)
|
|
409
409
|
Package Source: Local workspace
|
|
410
410
|
Package Depth: Direct
|
|
411
411
|
--------------------------------------------------------------------------------
|
|
@@ -423,7 +423,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
423
423
|
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.
|
|
424
424
|
|
|
425
425
|
--------------------------------------------------------------------------------
|
|
426
|
-
Package Title: @gooddata/sdk-ui-vis-commons (11.69.0-alpha.
|
|
426
|
+
Package Title: @gooddata/sdk-ui-vis-commons (11.69.0-alpha.3)
|
|
427
427
|
Package Source: Local workspace
|
|
428
428
|
Package Depth: Direct
|
|
429
429
|
--------------------------------------------------------------------------------
|
|
@@ -441,7 +441,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
441
441
|
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.
|
|
442
442
|
|
|
443
443
|
--------------------------------------------------------------------------------
|
|
444
|
-
Package Title: @gooddata/util (11.69.0-alpha.
|
|
444
|
+
Package Title: @gooddata/util (11.69.0-alpha.3)
|
|
445
445
|
Package Source: Local workspace
|
|
446
446
|
Package Depth: Direct
|
|
447
447
|
--------------------------------------------------------------------------------
|
|
@@ -18,6 +18,8 @@ export declare function createSliceColHeaders(col: ISliceCol, row: IGridRow): IM
|
|
|
18
18
|
*
|
|
19
19
|
* @param col - column to get mapping headers for
|
|
20
20
|
* @param row - row
|
|
21
|
+
* @param columnHeadersPosition - position of the column headers
|
|
22
|
+
* @param isTransposed - whether the table is transposed
|
|
21
23
|
*/
|
|
22
24
|
export declare function createDrillHeaders(col: AnyCol, row: IGridRow, columnHeadersPosition: ColumnHeadersPosition, isTransposed: boolean): IMappingHeader[];
|
|
23
25
|
//# sourceMappingURL=colDrillHeadersFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colDrillHeadersFactory.d.ts","sourceRoot":"","sources":["../../../src/impl/drilling/colDrillHeadersFactory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EACH,KAAK,MAAM,EACX,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,SAAS,EAKjB,MAAM,sCAAsC,CAAC;AAE9C,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,UAAU,GAAG,cAAc,EAAE,CAe1E;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC3C,GAAG,EAAE,SAAS,EACd,sBAAsB,EAAE,OAAO,EAC/B,GAAG,CAAC,EAAE,QAAQ,GACf,cAAc,EAAE,CAQlB;AAED,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,eAAe,EAAE,GAAG,EAAE,QAAQ,GAAG,cAAc,EAAE,CAejG;AAED,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,QAAQ,GAAG,cAAc,EAAE,CAkBrF;AAgBD
|
|
1
|
+
{"version":3,"file":"colDrillHeadersFactory.d.ts","sourceRoot":"","sources":["../../../src/impl/drilling/colDrillHeadersFactory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EACH,KAAK,MAAM,EACX,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,SAAS,EAKjB,MAAM,sCAAsC,CAAC;AAE9C,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,UAAU,GAAG,cAAc,EAAE,CAe1E;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC3C,GAAG,EAAE,SAAS,EACd,sBAAsB,EAAE,OAAO,EAC/B,GAAG,CAAC,EAAE,QAAQ,GACf,cAAc,EAAE,CAQlB;AAED,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,eAAe,EAAE,GAAG,EAAE,QAAQ,GAAG,cAAc,EAAE,CAejG;AAED,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,QAAQ,GAAG,cAAc,EAAE,CAkBrF;AAgBD;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAC9B,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,QAAQ,EACb,qBAAqB,EAAE,qBAAqB,EAC5C,YAAY,EAAE,OAAO,GACtB,cAAc,EAAE,CAsBlB"}
|
|
@@ -69,6 +69,8 @@ function createDataColGroupHeaders(col) {
|
|
|
69
69
|
*
|
|
70
70
|
* @param col - column to get mapping headers for
|
|
71
71
|
* @param row - row
|
|
72
|
+
* @param columnHeadersPosition - position of the column headers
|
|
73
|
+
* @param isTransposed - whether the table is transposed
|
|
72
74
|
*/
|
|
73
75
|
export function createDrillHeaders(col, row, columnHeadersPosition, isTransposed) {
|
|
74
76
|
if (isSeriesCol(col)) {
|
|
@@ -9,6 +9,7 @@ import { type TableDescriptor } from "../structure/tableDescriptor.js";
|
|
|
9
9
|
*
|
|
10
10
|
* @param cellEvent - cell event from ag-grid
|
|
11
11
|
* @param tableDescriptor - table descriptor
|
|
12
|
+
* @param rowNodes - grid rows
|
|
12
13
|
*/
|
|
13
14
|
export declare function createDrillIntersection(cellEvent: CellEvent<AgEventType>, tableDescriptor: TableDescriptor, rowNodes: IGridRow[]): IDrillEventIntersectionElement[];
|
|
14
15
|
//# sourceMappingURL=drillIntersectionFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drillIntersectionFactory.d.ts","sourceRoot":"","sources":["../../../src/impl/drilling/drillIntersectionFactory.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAGrE,OAAO,EACH,KAAK,8BAA8B,EAGtC,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAgBvE
|
|
1
|
+
{"version":3,"file":"drillIntersectionFactory.d.ts","sourceRoot":"","sources":["../../../src/impl/drilling/drillIntersectionFactory.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAGrE,OAAO,EACH,KAAK,8BAA8B,EAGtC,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAgBvE;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACnC,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,EACjC,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,QAAQ,EAAE,GACrB,8BAA8B,EAAE,CAuClC"}
|
|
@@ -10,6 +10,7 @@ import { createDataColLeafHeaders, createMixedValuesColHeaders, createScopeColWi
|
|
|
10
10
|
*
|
|
11
11
|
* @param cellEvent - cell event from ag-grid
|
|
12
12
|
* @param tableDescriptor - table descriptor
|
|
13
|
+
* @param rowNodes - grid rows
|
|
13
14
|
*/
|
|
14
15
|
export function createDrillIntersection(cellEvent, tableDescriptor, rowNodes) {
|
|
15
16
|
const mappingHeaders = [];
|
|
@@ -10,7 +10,9 @@ import { type TableColDefs, type TableCols } from "./tableDescriptorTypes.js";
|
|
|
10
10
|
* @param table - table col descriptors
|
|
11
11
|
* @param initialSorts - initial table sorting definition
|
|
12
12
|
* @param emptyHeaderTitle - what to show for title of headers with empty title
|
|
13
|
+
* @param isTransposed - whether the table is transposed
|
|
13
14
|
* @param config - optional pivot config
|
|
15
|
+
* @param intl - optional intl
|
|
14
16
|
*/
|
|
15
17
|
export declare function createColDefsFromTableDescriptor(table: TableCols, initialSorts: ISortItem[], emptyHeaderTitle: string, isTransposed: boolean, config?: IPivotTableConfig, intl?: IntlShape): TableColDefs;
|
|
16
18
|
//# sourceMappingURL=colDefFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colDefFactory.d.ts","sourceRoot":"","sources":["../../../src/impl/structure/colDefFactory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,qBAAqB,CAAC;AAKzF,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAe9D,OAAO,EAQH,KAAK,YAAY,EACjB,KAAK,SAAS,EAEjB,MAAM,2BAA2B,CAAC;AAoOnC
|
|
1
|
+
{"version":3,"file":"colDefFactory.d.ts","sourceRoot":"","sources":["../../../src/impl/structure/colDefFactory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,qBAAqB,CAAC;AAKzF,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAe9D,OAAO,EAQH,KAAK,YAAY,EACjB,KAAK,SAAS,EAEjB,MAAM,2BAA2B,CAAC;AAoOnC;;;;;;;;;;;GAWG;AACH,wBAAgB,gCAAgC,CAC5C,KAAK,EAAE,SAAS,EAChB,YAAY,EAAE,SAAS,EAAE,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,OAAO,EACrB,MAAM,CAAC,EAAE,iBAAiB,EAC1B,IAAI,CAAC,EAAE,SAAS,GACjB,YAAY,CA4Bd"}
|
|
@@ -186,7 +186,9 @@ function createAndAddDataColDefs(table, state, intl) {
|
|
|
186
186
|
* @param table - table col descriptors
|
|
187
187
|
* @param initialSorts - initial table sorting definition
|
|
188
188
|
* @param emptyHeaderTitle - what to show for title of headers with empty title
|
|
189
|
+
* @param isTransposed - whether the table is transposed
|
|
189
190
|
* @param config - optional pivot config
|
|
191
|
+
* @param intl - optional intl
|
|
190
192
|
*/
|
|
191
193
|
export function createColDefsFromTableDescriptor(table, initialSorts, emptyHeaderTitle, isTransposed, config, intl) {
|
|
192
194
|
const state = {
|
|
@@ -50,6 +50,7 @@ export declare class TableDescriptor {
|
|
|
50
50
|
* @param dv - data view facade
|
|
51
51
|
* @param emptyHeaderTitle - what to show for title of headers with empty title
|
|
52
52
|
* @param config - optional pivot configuration
|
|
53
|
+
* @param intl - optional intl
|
|
53
54
|
*/
|
|
54
55
|
static for(dv: DataViewFacade, emptyHeaderTitle: string, config?: IPivotTableConfig, intl?: IntlShape): TableDescriptor;
|
|
55
56
|
/**
|
|
@@ -180,14 +181,14 @@ export declare class TableDescriptor {
|
|
|
180
181
|
* Attempts to match the provided slice measure width item to a transposed measure data col. The locators in the item
|
|
181
182
|
* will be used to traverse the column structure.
|
|
182
183
|
*
|
|
183
|
-
* @param
|
|
184
|
+
* @param sliceMeasureWidthItem - item to match
|
|
184
185
|
*/
|
|
185
186
|
matchSliceMeasureWidthItem(sliceMeasureWidthItem: ISliceMeasureColumnWidthItem): TransposedMeasureDataCol | undefined;
|
|
186
187
|
/**
|
|
187
188
|
* Attempts to match the provided mixed values measure width item to a tranposed measure data col. The locators in the item
|
|
188
189
|
* will be used to traverse the column structure.
|
|
189
190
|
*
|
|
190
|
-
* @param
|
|
191
|
+
* @param mixedValuesWidhItem - item to match
|
|
191
192
|
*/
|
|
192
193
|
matchMixedValuesWidthItem(mixedValuesWidhItem: IMixedValuesColumnWidthItem): TransposedMeasureDataCol | undefined;
|
|
193
194
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableDescriptor.d.ts","sourceRoot":"","sources":["../../../src/impl/structure/tableDescriptor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE/E,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAEjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACpC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAM9D,OAAO,EACH,KAAK,MAAM,EAEX,KAAK,gBAA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AI,OAAO,CAEtC;IAED;;;;OAIG;IACI,wBAAwB,IAAI,OAAO,CAOzC;IAED;;;;;;OAMG;IACI,gBAAgB,IAAI,SAAS,CAMnC;IAED;;;;;;;OAOG;IACI,4BAA4B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,EAAE,CAa5D;IAED;;;;;;;;;;OAUG;IACI,eAAe,CAClB,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,EACtC,aAAa,GAAE,SAAS,EAAO,GAChC,SAAS,EAAE,CAab;IAED;;;;;OAKG;IACI,qBAAqB,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,CAOrD;CACJ"}
|
|
@@ -61,6 +61,7 @@ export class TableDescriptor {
|
|
|
61
61
|
* @param dv - data view facade
|
|
62
62
|
* @param emptyHeaderTitle - what to show for title of headers with empty title
|
|
63
63
|
* @param config - optional pivot configuration
|
|
64
|
+
* @param intl - optional intl
|
|
64
65
|
*/
|
|
65
66
|
static for(dv, emptyHeaderTitle, config, intl) {
|
|
66
67
|
const isTransposed = TableDescriptor.isTransposed(dv);
|
|
@@ -301,7 +302,7 @@ export class TableDescriptor {
|
|
|
301
302
|
* Attempts to match the provided slice measure width item to a transposed measure data col. The locators in the item
|
|
302
303
|
* will be used to traverse the column structure.
|
|
303
304
|
*
|
|
304
|
-
* @param
|
|
305
|
+
* @param sliceMeasureWidthItem - item to match
|
|
305
306
|
*/
|
|
306
307
|
matchSliceMeasureWidthItem(sliceMeasureWidthItem) {
|
|
307
308
|
return searchForTransposedLocatorMatch(this.headers.sliceMeasureCols, sliceMeasureWidthItem.sliceMeasureColumnWidthItem.locators);
|
|
@@ -310,7 +311,7 @@ export class TableDescriptor {
|
|
|
310
311
|
* Attempts to match the provided mixed values measure width item to a tranposed measure data col. The locators in the item
|
|
311
312
|
* will be used to traverse the column structure.
|
|
312
313
|
*
|
|
313
|
-
* @param
|
|
314
|
+
* @param mixedValuesWidhItem - item to match
|
|
314
315
|
*/
|
|
315
316
|
matchMixedValuesWidthItem(mixedValuesWidhItem) {
|
|
316
317
|
return searchForTransposedLocatorMatch(this.headers.mixedValuesCols, mixedValuesWidhItem.mixedValuesColumnWidthItem.locators);
|
|
@@ -9,7 +9,9 @@ import { type TableColDefs, type TableCols } from "./tableDescriptorTypes.js";
|
|
|
9
9
|
*
|
|
10
10
|
* @param dv - data view facade
|
|
11
11
|
* @param emptyHeaderTitle - what to show for title of headers with empty title
|
|
12
|
+
* @param isTransposed - whether the table is transposed
|
|
12
13
|
* @param config - optional pivot configuration
|
|
14
|
+
* @param intl - optional intl
|
|
13
15
|
* @internal
|
|
14
16
|
*/
|
|
15
17
|
export declare function createHeadersAndColDefs(dv: DataViewFacade, emptyHeaderTitle: string, isTransposed: boolean, config?: IPivotTableConfig, intl?: IntlShape): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableDescriptorFactory.d.ts","sourceRoot":"","sources":["../../../src/impl/structure/tableDescriptorFactory.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAU5C,OAAO,EAAE,KAAK,cAAc,EAAgB,MAAM,kBAAkB,CAAC;AAGrE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAI9D,OAAO,EAWH,KAAK,YAAY,EACjB,KAAK,SAAS,EAEjB,MAAM,2BAA2B,CAAC;AAkanC
|
|
1
|
+
{"version":3,"file":"tableDescriptorFactory.d.ts","sourceRoot":"","sources":["../../../src/impl/structure/tableDescriptorFactory.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAU5C,OAAO,EAAE,KAAK,cAAc,EAAgB,MAAM,kBAAkB,CAAC;AAGrE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAI9D,OAAO,EAWH,KAAK,YAAY,EACjB,KAAK,SAAS,EAEjB,MAAM,2BAA2B,CAAC;AAkanC;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACnC,EAAE,EAAE,cAAc,EAClB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,OAAO,EACrB,MAAM,CAAC,EAAE,iBAAiB,EAC1B,IAAI,CAAC,EAAE,SAAS,GACjB;IAAE,OAAO,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,YAAY,CAAA;CAAE,CAY/C"}
|
|
@@ -346,7 +346,9 @@ function createTableHeaders(dv, isTransposed, config) {
|
|
|
346
346
|
*
|
|
347
347
|
* @param dv - data view facade
|
|
348
348
|
* @param emptyHeaderTitle - what to show for title of headers with empty title
|
|
349
|
+
* @param isTransposed - whether the table is transposed
|
|
349
350
|
* @param config - optional pivot configuration
|
|
351
|
+
* @param intl - optional intl
|
|
350
352
|
* @internal
|
|
351
353
|
*/
|
|
352
354
|
export function createHeadersAndColDefs(dv, emptyHeaderTitle, isTransposed, config, intl) {
|
|
@@ -17,6 +17,7 @@ export declare function HeaderInteractiveItem(props: IUiMenuInteractiveItemProps
|
|
|
17
17
|
* @param aggregationsItems - The aggregation menu items
|
|
18
18
|
* @param textWrappingItems - The text wrapping menu items
|
|
19
19
|
* @param sortingItems - The sorting menu items
|
|
20
|
+
* @param intl - Intl used for the menu item titles
|
|
20
21
|
* @returns Complete array of UI menu items
|
|
21
22
|
*/
|
|
22
23
|
export declare function buildUiMenuItems(aggregationsItems: IAggregationsMenuItem[], textWrappingItems: ITextWrappingMenuItem[], sortingItems: ISortingMenuItem[], intl: IntlShape): Array<IUiMenuItem<AggregationsMenuItemData>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderMenuComponents.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/Header/HeaderCell/HeaderMenuComponents.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,YAAY,CAAC;AAErD,OAAO,EAIH,KAAK,2BAA2B,EAChC,KAAK,WAAW,EAGnB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC7B,MAAM,wBAAwB,CAAC;AAgDhC,KAAK,gBAAgB,GAAG;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,eAAe,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3E,MAAM,MAAM,wBAAwB,GAAG;IACnC,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EACL,wBAAwB,GACxB,qBAAqB,GACrB,gBAAgB,GAChB,gBAAgB,GAChB,IAAI,CAAC;CACd,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,2BAA2B,CAAC,wBAAwB,CAAC,2CAejG;
|
|
1
|
+
{"version":3,"file":"HeaderMenuComponents.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/Header/HeaderCell/HeaderMenuComponents.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,YAAY,CAAC;AAErD,OAAO,EAIH,KAAK,2BAA2B,EAChC,KAAK,WAAW,EAGnB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC7B,MAAM,wBAAwB,CAAC;AAgDhC,KAAK,gBAAgB,GAAG;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,eAAe,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3E,MAAM,MAAM,wBAAwB,GAAG;IACnC,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EACL,wBAAwB,GACxB,qBAAqB,GACrB,gBAAgB,GAChB,gBAAgB,GAChB,IAAI,CAAC;CACd,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,2BAA2B,CAAC,wBAAwB,CAAC,2CAejG;AA0KD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAC5B,iBAAiB,EAAE,qBAAqB,EAAE,EAC1C,iBAAiB,EAAE,qBAAqB,EAAE,EAC1C,YAAY,EAAE,gBAAgB,EAAE,EAChC,IAAI,EAAE,SAAS,GAChB,KAAK,CAAC,WAAW,CAAC,wBAAwB,CAAC,CAAC,CAM9C"}
|
|
@@ -33,6 +33,7 @@ export function HeaderInteractiveItem(props) {
|
|
|
33
33
|
* Builds UI menu items for aggregation functionality.
|
|
34
34
|
*
|
|
35
35
|
* @param aggregationsItems - The aggregation menu items to build from
|
|
36
|
+
* @param intl - Intl used for the menu item titles
|
|
36
37
|
* @returns Array of UI menu items for aggregations
|
|
37
38
|
*/
|
|
38
39
|
function buildUiAggregationMenuItems(aggregationsItems, intl) {
|
|
@@ -106,6 +107,7 @@ function buildUiAggregationMenuItems(aggregationsItems, intl) {
|
|
|
106
107
|
* Builds UI menu items for text wrapping functionality.
|
|
107
108
|
*
|
|
108
109
|
* @param textWrappingItems - The text wrapping menu items to build from
|
|
110
|
+
* @param intl - Intl used for the section header
|
|
109
111
|
* @returns Array of UI menu items for text wrapping
|
|
110
112
|
*/
|
|
111
113
|
function buildUiTextWrappingMenuItems(textWrappingItems, intl) {
|
|
@@ -134,6 +136,7 @@ function buildUiTextWrappingMenuItems(textWrappingItems, intl) {
|
|
|
134
136
|
* Builds UI menu items for sorting functionality.
|
|
135
137
|
*
|
|
136
138
|
* @param sortingItems - The sorting menu items to build from
|
|
139
|
+
* @param intl - Intl used for the section header
|
|
137
140
|
* @returns Array of UI menu items for sorting
|
|
138
141
|
*/
|
|
139
142
|
function buildUiSortingMenuItems(sortingItems, intl) {
|
|
@@ -164,6 +167,7 @@ function buildUiSortingMenuItems(sortingItems, intl) {
|
|
|
164
167
|
* @param aggregationsItems - The aggregation menu items
|
|
165
168
|
* @param textWrappingItems - The text wrapping menu items
|
|
166
169
|
* @param sortingItems - The sorting menu items
|
|
170
|
+
* @param intl - Intl used for the menu item titles
|
|
167
171
|
* @returns Complete array of UI menu items
|
|
168
172
|
*/
|
|
169
173
|
export function buildUiMenuItems(aggregationsItems, textWrappingItems, sortingItems, intl) {
|
|
@@ -7,8 +7,7 @@ import { type AgGridRowData } from "../../types/internal.js";
|
|
|
7
7
|
* @param colDef - The column definition from ag-grid
|
|
8
8
|
* @param data - The row data from ag-grid
|
|
9
9
|
* @param drillableItems - Array of drillable items to check against
|
|
10
|
-
* @param
|
|
11
|
-
* @param isTransposed - Whether the table is transposed
|
|
10
|
+
* @param dataViewFacade - Current data view facade for context
|
|
12
11
|
* @returns True if the cell is drillable, false otherwise
|
|
13
12
|
*/
|
|
14
13
|
export declare function isCellDrillable(colDef: AgGridColumnDef, data: AgGridRowData, drillableItems: ExplicitDrill[], dataViewFacade?: DataViewFacade): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isDrillable.d.ts","sourceRoot":"","sources":["../../../../src/next/features/drilling/isDrillable.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,aAAa,EAKrB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,eAAe,EAA6B,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAsD7D
|
|
1
|
+
{"version":3,"file":"isDrillable.d.ts","sourceRoot":"","sources":["../../../../src/next/features/drilling/isDrillable.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,aAAa,EAKrB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,eAAe,EAA6B,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAsD7D;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC3B,MAAM,EAAE,eAAe,EACvB,IAAI,EAAE,aAAa,EACnB,cAAc,EAAE,aAAa,EAAE,EAC/B,cAAc,CAAC,EAAE,cAAc,GAChC,OAAO,CAYT;AAkCD;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,eAAe,EACvB,cAAc,EAAE,aAAa,EAAE,EAC/B,cAAc,CAAC,EAAE,cAAc,EAC/B,qBAAqB,CAAC,EAAE,MAAM,GAC/B,OAAO,CAkBT"}
|
|
@@ -40,8 +40,7 @@ function getCellDrillHeaders(colDef, data, isTransposed) {
|
|
|
40
40
|
* @param colDef - The column definition from ag-grid
|
|
41
41
|
* @param data - The row data from ag-grid
|
|
42
42
|
* @param drillableItems - Array of drillable items to check against
|
|
43
|
-
* @param
|
|
44
|
-
* @param isTransposed - Whether the table is transposed
|
|
43
|
+
* @param dataViewFacade - Current data view facade for context
|
|
45
44
|
* @returns True if the cell is drillable, false otherwise
|
|
46
45
|
*/
|
|
47
46
|
export function isCellDrillable(colDef, data, drillableItems, dataViewFacade) {
|
|
@@ -4,16 +4,11 @@ import { type AgGridHeaderGroupParams, type AgGridHeaderParams } from "../../typ
|
|
|
4
4
|
/**
|
|
5
5
|
* Hook for header cell components that handles menu item filtering.
|
|
6
6
|
*
|
|
7
|
-
* @param
|
|
8
|
-
*
|
|
9
|
-
* @param
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
* @param includeCellWrapping - Whether cell wrapping menu items should be included
|
|
13
|
-
* @param measureIdentifiers - Array of measure identifiers for the cell
|
|
14
|
-
* @param pivotAttributeDescriptors - Array of pivot attribute descriptors
|
|
15
|
-
* @param ariaLabelDisplayNameOverride - Overrides the name used to build the header's ARIA label
|
|
16
|
-
* @param gridApi - Optional ag-grid API for checking current state
|
|
7
|
+
* @param options - Which menu items are included: aggregations, text wrapping, sorting, drilling,
|
|
8
|
+
* header wrapping and cell wrapping
|
|
9
|
+
* @param additionalContext - Measure identifiers for the cell, pivot attribute descriptors, and an
|
|
10
|
+
* optional override of the name used to build the header's ARIA label
|
|
11
|
+
* @param agGridHeaderParams - ag-grid header params, used for checking current state
|
|
17
12
|
* @returns Filtered menu items and handlers based on permissions
|
|
18
13
|
*/
|
|
19
14
|
export declare function useHeaderMenu(options: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHeaderMenu.d.ts","sourceRoot":"","sources":["../../../../src/next/hooks/header/useHeaderMenu.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,EAAE,KAAK,uBAAuB,EAAE,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAO9F
|
|
1
|
+
{"version":3,"file":"useHeaderMenu.d.ts","sourceRoot":"","sources":["../../../../src/next/hooks/header/useHeaderMenu.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,EAAE,KAAK,uBAAuB,EAAE,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAO9F;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CACzB,OAAO,EAAE;IACL,iBAAiB,EAAE,OAAO,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;CAChC,EACD,iBAAiB,EAAE;IACf,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,yBAAyB,EAAE,oBAAoB,EAAE,CAAC;IAClD,4BAA4B,CAAC,EAAE,MAAM,CAAC;CACzC,EACD,kBAAkB,EAAE,kBAAkB,GAAG,uBAAuB,GAAG,IAAI;;;;;;;;;;;;;+BAmErC,UAAU,CAAC,cAAc,CAAC,GAAG,aAAa;;;;;;;;;;;;;;;;;EA4B/E"}
|
|
@@ -6,16 +6,11 @@ import { useHeaderMenuTextWrapping } from "./useHeaderMenuTextWrapping.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* Hook for header cell components that handles menu item filtering.
|
|
8
8
|
*
|
|
9
|
-
* @param
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
*
|
|
13
|
-
* @param
|
|
14
|
-
* @param includeCellWrapping - Whether cell wrapping menu items should be included
|
|
15
|
-
* @param measureIdentifiers - Array of measure identifiers for the cell
|
|
16
|
-
* @param pivotAttributeDescriptors - Array of pivot attribute descriptors
|
|
17
|
-
* @param ariaLabelDisplayNameOverride - Overrides the name used to build the header's ARIA label
|
|
18
|
-
* @param gridApi - Optional ag-grid API for checking current state
|
|
9
|
+
* @param options - Which menu items are included: aggregations, text wrapping, sorting, drilling,
|
|
10
|
+
* header wrapping and cell wrapping
|
|
11
|
+
* @param additionalContext - Measure identifiers for the cell, pivot attribute descriptors, and an
|
|
12
|
+
* optional override of the name used to build the header's ARIA label
|
|
13
|
+
* @param agGridHeaderParams - ag-grid header params, used for checking current state
|
|
19
14
|
* @returns Filtered menu items and handlers based on permissions
|
|
20
15
|
*/
|
|
21
16
|
export function useHeaderMenu(options, additionalContext, agGridHeaderParams) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-pivot",
|
|
3
|
-
"version": "11.69.0-alpha.
|
|
3
|
+
"version": "11.69.0-alpha.3",
|
|
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.69.0-alpha.
|
|
47
|
-
"@gooddata/sdk-model": "11.69.0-alpha.
|
|
48
|
-
"@gooddata/sdk-ui": "11.69.0-alpha.
|
|
49
|
-
"@gooddata/sdk-ui-
|
|
50
|
-
"@gooddata/sdk-ui
|
|
51
|
-
"@gooddata/sdk-ui-vis-commons": "11.69.0-alpha.
|
|
52
|
-
"@gooddata/util": "11.69.0-alpha.
|
|
46
|
+
"@gooddata/sdk-backend-spi": "11.69.0-alpha.3",
|
|
47
|
+
"@gooddata/sdk-model": "11.69.0-alpha.3",
|
|
48
|
+
"@gooddata/sdk-ui-kit": "11.69.0-alpha.3",
|
|
49
|
+
"@gooddata/sdk-ui-theme-provider": "11.69.0-alpha.3",
|
|
50
|
+
"@gooddata/sdk-ui": "11.69.0-alpha.3",
|
|
51
|
+
"@gooddata/sdk-ui-vis-commons": "11.69.0-alpha.3",
|
|
52
|
+
"@gooddata/util": "11.69.0-alpha.3"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@microsoft/api-documenter": "7.30.20",
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
"stylelint": "16.26.1",
|
|
89
89
|
"typescript": "7.0.2",
|
|
90
90
|
"vitest": "5.0.4",
|
|
91
|
-
"@gooddata/eslint-config": "11.69.0-alpha.
|
|
92
|
-
"@gooddata/oxlint-config": "11.69.0-alpha.
|
|
93
|
-
"@gooddata/
|
|
94
|
-
"@gooddata/
|
|
95
|
-
"@gooddata/
|
|
96
|
-
"@gooddata/
|
|
91
|
+
"@gooddata/eslint-config": "11.69.0-alpha.3",
|
|
92
|
+
"@gooddata/oxlint-config": "11.69.0-alpha.3",
|
|
93
|
+
"@gooddata/sdk-backend-base": "11.69.0-alpha.3",
|
|
94
|
+
"@gooddata/reference-workspace": "11.69.0-alpha.3",
|
|
95
|
+
"@gooddata/stylelint-config": "11.69.0-alpha.3",
|
|
96
|
+
"@gooddata/sdk-backend-mockingbird": "11.69.0-alpha.3"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"react": "^18.0.0 || ^19.0.0",
|