@gooddata/sdk-ui-pivot 10.36.0 → 10.37.0
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/esm/impl/cell/cellRenderer.d.ts +2 -1
- package/esm/impl/cell/cellRenderer.d.ts.map +1 -1
- package/esm/impl/cell/cellRenderer.js.map +1 -1
- package/esm/impl/structure/headers/AggregationsSubMenu.d.ts +2 -2
- package/esm/impl/structure/headers/AggregationsSubMenu.d.ts.map +1 -1
- package/esm/impl/structure/headers/AggregationsSubMenu.js +1 -1
- package/esm/impl/structure/headers/AggregationsSubMenu.js.map +1 -1
- package/esm/impl/structure/headers/AggregationsSubMenuItems.d.ts +2 -2
- package/esm/impl/structure/headers/AggregationsSubMenuItems.d.ts.map +1 -1
- package/esm/impl/structure/headers/AggregationsSubMenuItems.js +1 -1
- package/esm/impl/structure/headers/AggregationsSubMenuItems.js.map +1 -1
- package/esm/next/PivotTableNext.d.ts +6 -5
- package/esm/next/PivotTableNext.d.ts.map +1 -1
- package/esm/next/PivotTableNext.js +50 -43
- package/esm/next/PivotTableNext.js.map +1 -1
- package/esm/next/constants/agGrid.d.ts +2 -2
- package/esm/next/constants/agGrid.d.ts.map +1 -1
- package/esm/next/constants/agGrid.js +5 -16
- package/esm/next/constants/agGrid.js.map +1 -1
- package/esm/next/constants/internal.d.ts +10 -1
- package/esm/next/constants/internal.d.ts.map +1 -1
- package/esm/next/constants/internal.js +9 -1
- package/esm/next/constants/internal.js.map +1 -1
- package/esm/next/context/PivotTablePropsContext.d.ts +25 -0
- package/esm/next/context/PivotTablePropsContext.d.ts.map +1 -0
- package/esm/next/context/PivotTablePropsContext.js +44 -0
- package/esm/next/context/PivotTablePropsContext.js.map +1 -0
- package/esm/next/features/columnDefs/agGridColumnDefsApi.d.ts +8 -0
- package/esm/next/features/columnDefs/agGridColumnDefsApi.d.ts.map +1 -0
- package/esm/next/features/columnDefs/agGridColumnDefsApi.js +8 -0
- package/esm/next/features/columnDefs/agGridColumnDefsApi.js.map +1 -0
- package/esm/next/features/columnDefs/columnDefinitionToColDef.d.ts +8 -0
- package/esm/next/features/columnDefs/columnDefinitionToColDef.d.ts.map +1 -0
- package/esm/next/features/columnDefs/columnDefinitionToColDef.js +52 -0
- package/esm/next/features/columnDefs/columnDefinitionToColDef.js.map +1 -0
- package/esm/next/features/columnDefs/columnDefinitionToColId.d.ts +11 -0
- package/esm/next/features/columnDefs/columnDefinitionToColId.d.ts.map +1 -0
- package/esm/next/features/columnDefs/columnDefinitionToColId.js +71 -0
- package/esm/next/features/columnDefs/columnDefinitionToColId.js.map +1 -0
- package/esm/next/features/columnDefs/columnScopeToColumnLocators.d.ts +7 -0
- package/esm/next/features/columnDefs/columnScopeToColumnLocators.d.ts.map +1 -0
- package/esm/next/features/columnDefs/columnScopeToColumnLocators.js +31 -0
- package/esm/next/features/columnDefs/columnScopeToColumnLocators.js.map +1 -0
- package/esm/next/features/columnDefs/createAttributeColumnDef.d.ts +7 -0
- package/esm/next/features/columnDefs/createAttributeColumnDef.d.ts.map +1 -0
- package/esm/next/features/columnDefs/createAttributeColumnDef.js +41 -0
- package/esm/next/features/columnDefs/createAttributeColumnDef.js.map +1 -0
- package/esm/next/features/columnDefs/createAttributeColumnDefWithTransposition.d.ts +8 -0
- package/esm/next/features/columnDefs/createAttributeColumnDefWithTransposition.d.ts.map +1 -0
- package/esm/next/features/columnDefs/createAttributeColumnDefWithTransposition.js +23 -0
- package/esm/next/features/columnDefs/createAttributeColumnDefWithTransposition.js.map +1 -0
- package/esm/next/features/columnDefs/createAttributeTotalColumnDefWithTransposition.d.ts +8 -0
- package/esm/next/features/columnDefs/createAttributeTotalColumnDefWithTransposition.d.ts.map +1 -0
- package/esm/next/features/columnDefs/createAttributeTotalColumnDefWithTransposition.js +19 -0
- package/esm/next/features/columnDefs/createAttributeTotalColumnDefWithTransposition.js.map +1 -0
- package/esm/next/features/columnDefs/createColumnDefs.d.ts +10 -0
- package/esm/next/features/columnDefs/createColumnDefs.d.ts.map +1 -0
- package/esm/next/features/columnDefs/createColumnDefs.js +23 -0
- package/esm/next/features/columnDefs/createColumnDefs.js.map +1 -0
- package/esm/next/features/columnDefs/createMeasureColumnDef.d.ts +8 -0
- package/esm/next/features/columnDefs/createMeasureColumnDef.d.ts.map +1 -0
- package/esm/next/features/columnDefs/createMeasureColumnDef.js +25 -0
- package/esm/next/features/columnDefs/createMeasureColumnDef.js.map +1 -0
- package/esm/next/features/columnDefs/createMeasureGroupHeaderColumnDef.d.ts +7 -0
- package/esm/next/features/columnDefs/createMeasureGroupHeaderColumnDef.d.ts.map +1 -0
- package/esm/next/features/columnDefs/createMeasureGroupHeaderColumnDef.js +22 -0
- package/esm/next/features/columnDefs/createMeasureGroupHeaderColumnDef.js.map +1 -0
- package/esm/next/features/columnDefs/createMeasureGroupHeaderColumnDefWithTransposition.d.ts +7 -0
- package/esm/next/features/columnDefs/createMeasureGroupHeaderColumnDefWithTransposition.d.ts.map +1 -0
- package/esm/next/features/columnDefs/createMeasureGroupHeaderColumnDefWithTransposition.js +18 -0
- package/esm/next/features/columnDefs/createMeasureGroupHeaderColumnDefWithTransposition.js.map +1 -0
- package/esm/next/features/columnDefs/createMeasureGroupValueColumnDef.d.ts +7 -0
- package/esm/next/features/columnDefs/createMeasureGroupValueColumnDef.d.ts.map +1 -0
- package/esm/next/features/columnDefs/createMeasureGroupValueColumnDef.js +22 -0
- package/esm/next/features/columnDefs/createMeasureGroupValueColumnDef.js.map +1 -0
- package/esm/next/features/columnDefs/shared.d.ts +6 -0
- package/esm/next/features/columnDefs/shared.d.ts.map +1 -0
- package/esm/next/features/columnDefs/shared.js +13 -0
- package/esm/next/features/columnDefs/shared.js.map +1 -0
- package/esm/next/features/columnDefs/useGetAgGridColumns.d.ts +6 -0
- package/esm/next/features/columnDefs/useGetAgGridColumns.d.ts.map +1 -0
- package/esm/next/features/columnDefs/useGetAgGridColumns.js +19 -0
- package/esm/next/features/columnDefs/useGetAgGridColumns.js.map +1 -0
- package/esm/next/features/columnDefs/useUpdateAgGridColumnDefs.d.ts +6 -0
- package/esm/next/features/columnDefs/useUpdateAgGridColumnDefs.d.ts.map +1 -0
- package/esm/next/features/columnDefs/useUpdateAgGridColumnDefs.js +27 -0
- package/esm/next/features/columnDefs/useUpdateAgGridColumnDefs.js.map +1 -0
- package/esm/next/features/columnSizing/agGridColumnSizingApi.d.ts +17 -0
- package/esm/next/features/columnSizing/agGridColumnSizingApi.d.ts.map +1 -0
- package/esm/next/features/columnSizing/agGridColumnSizingApi.js +31 -0
- package/esm/next/features/columnSizing/agGridColumnSizingApi.js.map +1 -0
- package/esm/next/features/columnSizing/applyColumnWidthToColDef.d.ts +7 -0
- package/esm/next/features/columnSizing/applyColumnWidthToColDef.d.ts.map +1 -0
- package/esm/next/features/columnSizing/applyColumnWidthToColDef.js +74 -0
- package/esm/next/features/columnSizing/applyColumnWidthToColDef.js.map +1 -0
- package/esm/next/features/columnSizing/useColumnSizingDefault.d.ts +6 -0
- package/esm/next/features/columnSizing/useColumnSizingDefault.d.ts.map +1 -0
- package/esm/next/features/columnSizing/useColumnSizingDefault.js +13 -0
- package/esm/next/features/columnSizing/useColumnSizingDefault.js.map +1 -0
- package/esm/next/features/columnSizing/useColumnSizingForAutoResize.d.ts +6 -0
- package/esm/next/features/columnSizing/useColumnSizingForAutoResize.d.ts.map +1 -0
- package/esm/next/features/columnSizing/useColumnSizingForAutoResize.js +47 -0
- package/esm/next/features/columnSizing/useColumnSizingForAutoResize.js.map +1 -0
- package/esm/next/features/columnSizing/useColumnSizingForFullHorizontalSpace.d.ts +6 -0
- package/esm/next/features/columnSizing/useColumnSizingForFullHorizontalSpace.d.ts.map +1 -0
- package/esm/next/features/columnSizing/useColumnSizingForFullHorizontalSpace.js +51 -0
- package/esm/next/features/columnSizing/useColumnSizingForFullHorizontalSpace.js.map +1 -0
- package/esm/next/features/columnSizing/useColumnSizingForFullHorizontalSpaceAndAutoResize.d.ts +6 -0
- package/esm/next/features/columnSizing/useColumnSizingForFullHorizontalSpaceAndAutoResize.d.ts.map +1 -0
- package/esm/next/features/columnSizing/useColumnSizingForFullHorizontalSpaceAndAutoResize.js +52 -0
- package/esm/next/features/columnSizing/useColumnSizingForFullHorizontalSpaceAndAutoResize.js.map +1 -0
- package/esm/next/features/columnSizing/useColumnSizingProps.d.ts +6 -0
- package/esm/next/features/columnSizing/useColumnSizingProps.d.ts.map +1 -0
- package/esm/next/features/columnSizing/useColumnSizingProps.js +31 -0
- package/esm/next/features/columnSizing/useColumnSizingProps.js.map +1 -0
- package/esm/next/features/dataLoading/createServerSideDataSource.d.ts +23 -0
- package/esm/next/features/dataLoading/createServerSideDataSource.d.ts.map +1 -0
- package/esm/next/features/dataLoading/createServerSideDataSource.js +74 -0
- package/esm/next/features/dataLoading/createServerSideDataSource.js.map +1 -0
- package/esm/next/features/dataLoading/dataViewToColumnDefs.d.ts +15 -0
- package/esm/next/features/dataLoading/dataViewToColumnDefs.d.ts.map +1 -0
- package/esm/next/features/dataLoading/dataViewToColumnDefs.js +22 -0
- package/esm/next/features/dataLoading/dataViewToColumnDefs.js.map +1 -0
- package/esm/next/features/dataLoading/dataViewToRowData.d.ts +17 -0
- package/esm/next/features/dataLoading/dataViewToRowData.d.ts.map +1 -0
- package/esm/next/features/dataLoading/dataViewToRowData.js +41 -0
- package/esm/next/features/dataLoading/dataViewToRowData.js.map +1 -0
- package/esm/next/{execution → features/dataLoading}/getExecution.d.ts +1 -1
- package/esm/next/features/dataLoading/getExecution.d.ts.map +1 -0
- package/esm/next/{execution → features/dataLoading}/getExecution.js +1 -1
- package/esm/next/features/dataLoading/getExecution.js.map +1 -0
- package/esm/next/features/dataLoading/useInitExecution.d.ts +27 -0
- package/esm/next/features/dataLoading/useInitExecution.d.ts.map +1 -0
- package/esm/next/features/dataLoading/useInitExecution.js +86 -0
- package/esm/next/features/dataLoading/useInitExecution.js.map +1 -0
- package/esm/next/features/dataLoading/useServerSideRowModelProps.d.ts +7 -0
- package/esm/next/features/dataLoading/useServerSideRowModelProps.d.ts.map +1 -0
- package/esm/next/features/dataLoading/useServerSideRowModelProps.js +61 -0
- package/esm/next/features/dataLoading/useServerSideRowModelProps.js.map +1 -0
- package/esm/next/features/drilling/applyDrillingStylesToColDef.d.ts +7 -0
- package/esm/next/features/drilling/applyDrillingStylesToColDef.d.ts.map +1 -0
- package/esm/next/features/drilling/applyDrillingStylesToColDef.js +13 -0
- package/esm/next/features/drilling/applyDrillingStylesToColDef.js.map +1 -0
- package/esm/next/{drill → features/drilling}/getAvailableDrillTargets.d.ts +1 -1
- package/esm/next/features/drilling/getAvailableDrillTargets.d.ts.map +1 -0
- package/esm/next/{drill → features/drilling}/getAvailableDrillTargets.js +1 -1
- package/esm/next/features/drilling/getAvailableDrillTargets.js.map +1 -0
- package/esm/next/features/drilling/headerMapping.d.ts.map +1 -0
- package/esm/next/features/drilling/headerMapping.js.map +1 -0
- package/esm/next/features/drilling/intersection.d.ts +12 -0
- package/esm/next/features/drilling/intersection.d.ts.map +1 -0
- package/esm/next/{drill → features/drilling}/intersection.js +2 -1
- package/esm/next/features/drilling/intersection.js.map +1 -0
- package/esm/next/{drill → features/drilling}/isDrillable.d.ts +4 -3
- package/esm/next/features/drilling/isDrillable.d.ts.map +1 -0
- package/esm/next/{drill → features/drilling}/isDrillable.js +5 -4
- package/esm/next/features/drilling/isDrillable.js.map +1 -0
- package/esm/next/features/drilling/useDrillingProps.d.ts +8 -0
- package/esm/next/features/drilling/useDrillingProps.d.ts.map +1 -0
- package/esm/next/{hooks/useDrilling.js → features/drilling/useDrillingProps.js} +22 -13
- package/esm/next/features/drilling/useDrillingProps.js.map +1 -0
- package/esm/next/features/exports/exports.d.ts +7 -0
- package/esm/next/features/exports/exports.d.ts.map +1 -0
- package/esm/next/features/exports/exports.js +9 -0
- package/esm/next/features/exports/exports.js.map +1 -0
- package/esm/next/features/pivoting/agGridPivotingApi.d.ts +9 -0
- package/esm/next/features/pivoting/agGridPivotingApi.d.ts.map +1 -0
- package/esm/next/features/pivoting/agGridPivotingApi.js +8 -0
- package/esm/next/features/pivoting/agGridPivotingApi.js.map +1 -0
- package/esm/next/features/pivoting/columnDefsToPivotGroups.d.ts +20 -0
- package/esm/next/features/pivoting/columnDefsToPivotGroups.d.ts.map +1 -0
- package/esm/next/features/pivoting/columnDefsToPivotGroups.js +64 -0
- package/esm/next/features/pivoting/columnDefsToPivotGroups.js.map +1 -0
- package/esm/next/features/sorting/agGridSortingApi.d.ts +9 -0
- package/esm/next/features/sorting/agGridSortingApi.d.ts.map +1 -0
- package/esm/next/features/sorting/agGridSortingApi.js +15 -0
- package/esm/next/features/sorting/agGridSortingApi.js.map +1 -0
- package/esm/next/features/sorting/applyInitialSortToColDef.d.ts +7 -0
- package/esm/next/features/sorting/applyInitialSortToColDef.d.ts.map +1 -0
- package/esm/next/features/sorting/applyInitialSortToColDef.js +12 -0
- package/esm/next/features/sorting/applyInitialSortToColDef.js.map +1 -0
- package/esm/next/features/sorting/sortModelToSortItems.d.ts +14 -0
- package/esm/next/features/sorting/sortModelToSortItems.d.ts.map +1 -0
- package/esm/next/features/sorting/sortModelToSortItems.js +82 -0
- package/esm/next/features/sorting/sortModelToSortItems.js.map +1 -0
- package/esm/next/features/sorting/useSortingProps.d.ts +9 -0
- package/esm/next/features/sorting/useSortingProps.d.ts.map +1 -0
- package/esm/next/features/sorting/useSortingProps.js +37 -0
- package/esm/next/features/sorting/useSortingProps.js.map +1 -0
- package/esm/next/features/styling/bem.d.ts +2 -0
- package/esm/next/features/styling/bem.d.ts.map +1 -0
- package/esm/next/features/styling/bem.js +4 -0
- package/esm/next/features/styling/bem.js.map +1 -0
- package/esm/next/{styling → features/styling}/cell.d.ts +2 -2
- package/esm/next/features/styling/cell.d.ts.map +1 -0
- package/esm/next/{styling → features/styling}/cell.js +10 -4
- package/esm/next/features/styling/cell.js.map +1 -0
- package/esm/next/features/styling/icons.d.ts +4 -0
- package/esm/next/features/styling/icons.d.ts.map +1 -0
- package/esm/next/features/styling/icons.js +19 -0
- package/esm/next/features/styling/icons.js.map +1 -0
- package/esm/next/features/styling/useThemeProps.d.ts +3 -0
- package/esm/next/features/styling/useThemeProps.d.ts.map +1 -0
- package/esm/next/features/styling/useThemeProps.js +29 -0
- package/esm/next/features/styling/useThemeProps.js.map +1 -0
- package/esm/next/features/textWrapping/agGridTextWrappingOptions.d.ts +10 -0
- package/esm/next/features/textWrapping/agGridTextWrappingOptions.d.ts.map +1 -0
- package/esm/next/features/textWrapping/agGridTextWrappingOptions.js +35 -0
- package/esm/next/features/textWrapping/agGridTextWrappingOptions.js.map +1 -0
- package/esm/next/features/textWrapping/useTextWrappingProps.d.ts +6 -0
- package/esm/next/features/textWrapping/useTextWrappingProps.d.ts.map +1 -0
- package/esm/next/features/textWrapping/useTextWrappingProps.js +21 -0
- package/esm/next/features/textWrapping/useTextWrappingProps.js.map +1 -0
- package/esm/next/features/totals/agGridTotalsApi.d.ts +9 -0
- package/esm/next/features/totals/agGridTotalsApi.d.ts.map +1 -0
- package/esm/next/features/totals/agGridTotalsApi.js +8 -0
- package/esm/next/features/totals/agGridTotalsApi.js.map +1 -0
- package/esm/next/index.d.ts +6 -2
- package/esm/next/index.d.ts.map +1 -1
- package/esm/next/index.js +3 -1
- package/esm/next/index.js.map +1 -1
- package/esm/next/types/agGrid.d.ts +34 -0
- package/esm/next/types/agGrid.d.ts.map +1 -0
- package/esm/next/types/agGrid.js +2 -0
- package/esm/next/types/agGrid.js.map +1 -0
- package/esm/next/types/internal.d.ts +29 -0
- package/esm/next/types/internal.d.ts.map +1 -1
- package/esm/next/types/public.d.ts +21 -21
- package/esm/next/types/public.d.ts.map +1 -1
- package/esm/next/types/sizing.d.ts +369 -0
- package/esm/next/types/sizing.d.ts.map +1 -0
- package/esm/next/types/sizing.js +255 -0
- package/esm/next/types/sizing.js.map +1 -0
- package/package.json +10 -10
- package/styles/css/main.css +23 -11
- package/styles/css/main.css.map +1 -1
- package/styles/css/pivotTableNext.css +23 -11
- package/styles/css/pivotTableNext.css.map +1 -1
- package/styles/scss/pivotTableNext.scss +29 -7
- package/esm/next/dataSource/createServerSideDataSource.d.ts +0 -21
- package/esm/next/dataSource/createServerSideDataSource.d.ts.map +0 -1
- package/esm/next/dataSource/createServerSideDataSource.js +0 -59
- package/esm/next/dataSource/createServerSideDataSource.js.map +0 -1
- package/esm/next/drill/getAvailableDrillTargets.d.ts.map +0 -1
- package/esm/next/drill/getAvailableDrillTargets.js.map +0 -1
- package/esm/next/drill/headerMapping.d.ts.map +0 -1
- package/esm/next/drill/headerMapping.js.map +0 -1
- package/esm/next/drill/intersection.d.ts +0 -12
- package/esm/next/drill/intersection.d.ts.map +0 -1
- package/esm/next/drill/intersection.js.map +0 -1
- package/esm/next/drill/isDrillable.d.ts.map +0 -1
- package/esm/next/drill/isDrillable.js.map +0 -1
- package/esm/next/execution/getExecution.d.ts.map +0 -1
- package/esm/next/execution/getExecution.js.map +0 -1
- package/esm/next/hooks/useDrilling.d.ts +0 -18
- package/esm/next/hooks/useDrilling.d.ts.map +0 -1
- package/esm/next/hooks/useDrilling.js.map +0 -1
- package/esm/next/hooks/useInitExecution.d.ts +0 -28
- package/esm/next/hooks/useInitExecution.d.ts.map +0 -1
- package/esm/next/hooks/useInitExecution.js +0 -84
- package/esm/next/hooks/useInitExecution.js.map +0 -1
- package/esm/next/hooks/useServerSideRowModel.d.ts +0 -8
- package/esm/next/hooks/useServerSideRowModel.d.ts.map +0 -1
- package/esm/next/hooks/useServerSideRowModel.js +0 -31
- package/esm/next/hooks/useServerSideRowModel.js.map +0 -1
- package/esm/next/hooks/useSorting.d.ts +0 -18
- package/esm/next/hooks/useSorting.d.ts.map +0 -1
- package/esm/next/hooks/useSorting.js +0 -34
- package/esm/next/hooks/useSorting.js.map +0 -1
- package/esm/next/mapProps/mapDataViewToAgGridRowData.d.ts +0 -27
- package/esm/next/mapProps/mapDataViewToAgGridRowData.d.ts.map +0 -1
- package/esm/next/mapProps/mapDataViewToAgGridRowData.js +0 -116
- package/esm/next/mapProps/mapDataViewToAgGridRowData.js.map +0 -1
- package/esm/next/mapProps/mapDimensionsToColDefs.d.ts +0 -6
- package/esm/next/mapProps/mapDimensionsToColDefs.d.ts.map +0 -1
- package/esm/next/mapProps/mapDimensionsToColDefs.js +0 -144
- package/esm/next/mapProps/mapDimensionsToColDefs.js.map +0 -1
- package/esm/next/mapProps/mapSortModelToSortItems.d.ts +0 -30
- package/esm/next/mapProps/mapSortModelToSortItems.d.ts.map +0 -1
- package/esm/next/mapProps/mapSortModelToSortItems.js +0 -133
- package/esm/next/mapProps/mapSortModelToSortItems.js.map +0 -1
- package/esm/next/mapProps/props.d.ts +0 -57
- package/esm/next/mapProps/props.d.ts.map +0 -1
- package/esm/next/mapProps/props.js +0 -95
- package/esm/next/mapProps/props.js.map +0 -1
- package/esm/next/styling/cell.d.ts.map +0 -1
- package/esm/next/styling/cell.js.map +0 -1
- /package/esm/next/{drill → features/drilling}/headerMapping.d.ts +0 -0
- /package/esm/next/{drill → features/drilling}/headerMapping.js +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
1
2
|
import { ICellRendererParams } from "ag-grid-community";
|
|
2
3
|
import { TableDescriptor } from "../structure/tableDescriptor.js";
|
|
3
4
|
/**
|
|
4
5
|
* Returns common implementation of cell renderer used for normal cells, sticky header cells and totals.
|
|
5
6
|
*/
|
|
6
|
-
export declare function createCellRenderer(tableDescriptor: TableDescriptor): (params: ICellRendererParams) =>
|
|
7
|
+
export declare function createCellRenderer(tableDescriptor: TableDescriptor): (params: ICellRendererParams) => ReactElement;
|
|
7
8
|
//# sourceMappingURL=cellRenderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cellRenderer.d.ts","sourceRoot":"","sources":["../../../src/impl/cell/cellRenderer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cellRenderer.d.ts","sourceRoot":"","sources":["../../../src/impl/cell/cellRenderer.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAUxD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AA+ClE;;GAEG;AACH,wBAAgB,kBAAkB,CAC9B,eAAe,EAAE,eAAe,GACjC,CAAC,MAAM,EAAE,mBAAmB,KAAK,YAAY,CAuE/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cellRenderer.js","sourceRoot":"","sources":["../../../src/impl/cell/cellRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,
|
|
1
|
+
{"version":3,"file":"cellRenderer.js","sourceRoot":"","sources":["../../../src/impl/cell/cellRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAuB,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE7F,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B,SAAS,wBAAwB,CAAC,MAA2B;IACzD,MAAM,GAAG,GAAG,MAAM,CAAC,IAAsB,CAAC;IAE1C,IAAI,CAAC,GAAG,EAAE,oBAAoB,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;QAC/C,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAErC,OAAO,GAAG,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,GAAG,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BAAiB,EAAE,eAAe,CACpF,CAAC;YACV,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAC9B,YAAY;iBACP,eAAe,EAAE;iBACjB,MAAM,CACH,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,CAAC,iBAAiB,KAAK,iBAAiB,EAAE,eAAe,CACpF,CAAC;YAEV,MAAM,SAAS,GAAG,EAAE,CAAC,qBAAqB,EAAE;gBACxC,gBAAgB,EAAE,WAAW;aAChC,CAAC,CAAC;YAEH,OAAO,CACH,oBAAC,eAAe,OACR,YAAY,EAChB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,WAAW,EAAE,cAAc,EAC3B,YAAY,EAAE,oBAAoB,EAClC,eAAe,EAAE,oBAAoB,KACjC,YAAY,GAClB,CACL,CAAC;QACN,CAAC;QAED,MAAM,SAAS,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,KAAK,KAAK,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,WAAW,EAAE;YAC3F,gBAAgB,EAAE,WAAW;SAChC,CAAC,CAAC;QAEH,OAAO,CACH,8BAAM,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,IAAI,EAAE,IAClD,cAAc,IAAI,EAAE,CAClB,CACV,CAAC;IACN,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TotalType, IAttributeDescriptor } from "@gooddata/sdk-model";
|
|
2
|
-
import React from "react";
|
|
2
|
+
import React, { ReactElement } from "react";
|
|
3
3
|
import { IntlShape } from "react-intl";
|
|
4
4
|
import { IColumnTotal } from "./aggregationsMenuTypes.js";
|
|
5
5
|
import { IMenuAggregationClickConfig } from "../../privateTypes.js";
|
|
6
6
|
export interface IAggregationsSubMenuProps {
|
|
7
7
|
intl: IntlShape;
|
|
8
8
|
totalType: TotalType;
|
|
9
|
-
toggler:
|
|
9
|
+
toggler: ReactElement;
|
|
10
10
|
isMenuOpened?: boolean;
|
|
11
11
|
rowAttributeDescriptors: IAttributeDescriptor[];
|
|
12
12
|
columnAttributeDescriptors: IAttributeDescriptor[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregationsSubMenu.d.ts","sourceRoot":"","sources":["../../../../src/impl/structure/headers/AggregationsSubMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEtE,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AggregationsSubMenu.d.ts","sourceRoot":"","sources":["../../../../src/impl/structure/headers/AggregationsSubMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEtE,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAQpE,MAAM,WAAW,yBAAyB;IACtC,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,YAAY,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uBAAuB,EAAE,oBAAoB,EAAE,CAAC;IAChD,0BAA0B,EAAE,oBAAoB,EAAE,CAAC;IACnD,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAClC,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,mBAAmB,EAAE,CAAC,WAAW,EAAE,2BAA2B,KAAK,IAAI,CAAC;CAC3E;AAED,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,yBAAyB,CAAC;IACvF,OAAc,YAAY,EAAE,IAAI,CAAC,yBAAyB,EAAE,cAAc,CAAC,CAEzE;IAEK,MAAM;CAiEhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregationsSubMenu.js","sourceRoot":"","sources":["../../../../src/impl/structure/headers/AggregationsSubMenu.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,
|
|
1
|
+
{"version":3,"file":"AggregationsSubMenu.js","sourceRoot":"","sources":["../../../../src/impl/structure/headers/AggregationsSubMenu.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAuB,MAAM,OAAO,CAAC;AAK5C,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,kBAAkB,GAAG,CAAC,EAAE,CAAC;AAgB/B,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,KAAK,CAAC,SAAoC;IAChF,MAAM,CAAC,YAAY,GAAoD;QAC1E,YAAY,EAAE,KAAK;KACtB,CAAC;IAEK,MAAM;QACT,MAAM,EACF,OAAO,EACP,YAAY,EACZ,uBAAuB,EACvB,0BAA0B,EAC1B,IAAI,EACJ,uBAAuB,EACvB,SAAS,EACT,YAAY,EACZ,SAAS,EACT,kBAAkB,EAClB,mBAAmB,GACtB,GAAG,I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;4BAC3B,EAAE,EAAE,0CAA0C;yBACjD,CAAC,EACF,mBAAmB,EAAE,mBAAmB,GAC1C,CACL,CAAC,CAAC,CAAC,IAAI,CACN,CACK,CACT,CACb,CAAC;IACN,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
2
|
import { IntlShape } from "react-intl";
|
|
3
3
|
import { IAttributeDescriptor, TotalType } from "@gooddata/sdk-model";
|
|
4
4
|
import { IColumnTotal } from "./aggregationsMenuTypes.js";
|
|
@@ -10,7 +10,7 @@ interface IAggregationsSubMenuItemsProps {
|
|
|
10
10
|
measureLocalIdentifiers: string[];
|
|
11
11
|
totals: IColumnTotal[];
|
|
12
12
|
isColumn: boolean;
|
|
13
|
-
icon:
|
|
13
|
+
icon: ReactElement;
|
|
14
14
|
headerText: string;
|
|
15
15
|
onAggregationSelect: (clickConfig: IMenuAggregationClickConfig) => void;
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregationsSubMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/impl/structure/headers/AggregationsSubMenuItems.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AggregationsSubMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/impl/structure/headers/AggregationsSubMenuItems.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAGH,oBAAoB,EACpB,SAAS,EACZ,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAEpE,UAAU,8BAA8B;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,oBAAoB,EAAE,oBAAoB,EAAE,CAAC;IAC7C,SAAS,EAAE,SAAS,CAAC;IACrB,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAClC,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,CAAC,WAAW,EAAE,2BAA2B,KAAK,IAAI,CAAC;CAC3E;AA+BD,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA4D7E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregationsSubMenuItems.js","sourceRoot":"","sources":["../../../../src/impl/structure/headers/AggregationsSubMenuItems.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"AggregationsSubMenuItems.js","sourceRoot":"","sources":["../../../../src/impl/structure/headers/AggregationsSubMenuItems.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAuB,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EACH,0BAA0B,EAC1B,uBAAuB,GAG1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAGpD,OAAO,UAAU,MAAM,6BAA6B,CAAC;AAerD,MAAM,wBAAwB,GAAG,CAC7B,uBAA+C,EAC/C,oBAA4B,EACtB,EAAE;IACR,OAAO,uBAAuB,CAAC,uBAAuB,CAAC,oBAAoB,GAAG,CAAC,CAAC,CAAC,CAAC;AACtF,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CACrB,IAAe,EACf,uBAA+C,EAC/C,uBAA+B,EAC/B,QAAiB,EACX,EAAE;IACR,IAAI,uBAAuB,KAAK,CAAC,EAAE,CAAC;QAChC,IAAI,CAAC,QAAQ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ACX,CAAC,CAAC;QAEP,MAAM,aAAa,GAAG,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;QAC1F,OAAO,CACH,oBAAC,IAAI,IAAC,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,wBAAwB;YACpD,6BACI,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,EAAE,CACT,gCAAgC,EAChC,0BAA0B,EAC1B,wBAAwB,CAAC,wBAAwB,CAAC,EAClD;oBACI,mCAAmC,EAAE,UAAU;oBAC/C,iCAAiC,EAAE,CAAC,QAAQ;oBAC5C,8BAA8B,EAAE,QAAQ;iBAC3C,CACJ,IAEA,aAAa,CACZ,CACH,CACV,CAAC;IACN,CAAC,CACJ,CAAC;IAEF,OAAO,CACH;QACI,oBAAC,MAAM;YACF,IAAI;YACL,kCAAO,UAAU,CAAQ,CACpB;QACR,cAAc,CAChB,CACN,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { IPivotTableNextProps } from "./types/public.js";
|
|
3
|
+
import { ICorePivotTableNextProps } from "./types/internal.js";
|
|
3
4
|
/**
|
|
4
5
|
* Simple wrapper for the core pivot table component that creates execution based on provided props.
|
|
5
6
|
* There is no sophisticated props validation so when used directly, it is recommended to handle the validation yourself.
|
|
@@ -7,12 +8,12 @@ import { ICorePivotTableNextProps, IPivotTableNextProps } from "./types/public.j
|
|
|
7
8
|
* @alpha
|
|
8
9
|
*/
|
|
9
10
|
export declare function PivotTableNext(props: IPivotTableNextProps): React.JSX.Element;
|
|
10
|
-
declare function
|
|
11
|
+
declare function PivotTableNextImplementation(props: ICorePivotTableNextProps): React.JSX.Element;
|
|
11
12
|
/**
|
|
12
13
|
* Memoized wrapper for the AgGridReact component that needs to be provided with prepared execution.
|
|
13
14
|
*
|
|
14
|
-
* @
|
|
15
|
+
* @internal
|
|
15
16
|
*/
|
|
16
|
-
declare const
|
|
17
|
-
export {
|
|
17
|
+
export declare const CorePivotTableNext: React.MemoExoticComponent<typeof PivotTableNextImplementation>;
|
|
18
|
+
export {};
|
|
18
19
|
//# sourceMappingURL=PivotTableNext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PivotTableNext.d.ts","sourceRoot":"","sources":["../../src/next/PivotTableNext.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PivotTableNext.d.ts","sourceRoot":"","sources":["../../src/next/PivotTableNext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAyB,MAAM,qBAAqB,CAAC;AActF;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,oBAAoB,qBAIzD;AAED,iBAAS,4BAA4B,CAAC,KAAK,EAAE,wBAAwB,qBAUpE;AAgFD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,gEAyB7B,CAAC"}
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
// (C) 2025 GoodData Corporation
|
|
2
|
-
import { ThemeContextProvider } from "@gooddata/sdk-ui-theme-provider";
|
|
3
2
|
import React, { useMemo } from "react";
|
|
4
3
|
import { AgGridReact } from "ag-grid-react";
|
|
4
|
+
import { ThemeContextProvider } from "@gooddata/sdk-ui-theme-provider";
|
|
5
5
|
import { ModuleRegistry, AllEnterpriseModule } from "ag-grid-enterprise";
|
|
6
6
|
import isEqual from "lodash/isEqual.js";
|
|
7
|
+
import flow from "lodash/flow.js";
|
|
7
8
|
import { ErrorComponent } from "./components/ErrorComponent.js";
|
|
8
9
|
import { LoadingComponent } from "./components/LoadingComponent.js";
|
|
9
|
-
import { useInitExecution, useInitExecutionResult } from "./
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { mapDimensionsToColDefs } from "./mapProps/mapDimensionsToColDefs.js";
|
|
10
|
+
import { useInitExecution, useInitExecutionResult } from "./features/dataLoading/useInitExecution.js";
|
|
11
|
+
import { useServerSideRowModelProps } from "./features/dataLoading/useServerSideRowModelProps.js";
|
|
12
|
+
import { useDrillingProps } from "./features/drilling/useDrillingProps.js";
|
|
13
|
+
import { useSortingProps } from "./features/sorting/useSortingProps.js";
|
|
14
|
+
import { TableMetadataProvider } from "./context/TableMetadataContext.js";
|
|
15
15
|
import { AG_GRID_DEFAULT_PROPS } from "./constants/agGrid.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
16
|
+
import { useColumnSizingProps } from "./features/columnSizing/useColumnSizingProps.js";
|
|
17
|
+
import { useTextWrappingProps } from "./features/textWrapping/useTextWrappingProps.js";
|
|
18
|
+
import { PivotTablePropsProvider, usePivotTableProps } from "./context/PivotTablePropsContext.js";
|
|
19
|
+
import { dataViewToColumnDefs } from "./features/dataLoading/dataViewToColumnDefs.js";
|
|
20
|
+
import { useThemeProps } from "./features/styling/useThemeProps.js";
|
|
21
|
+
import { b } from "./features/styling/bem.js";
|
|
18
22
|
/**
|
|
19
23
|
* Simple wrapper for the core pivot table component that creates execution based on provided props.
|
|
20
24
|
* There is no sophisticated props validation so when used directly, it is recommended to handle the validation yourself.
|
|
@@ -23,58 +27,62 @@ import { TableMetadataProvider, useTableMetadata } from "./context/TableMetadata
|
|
|
23
27
|
*/
|
|
24
28
|
export function PivotTableNext(props) {
|
|
25
29
|
const execution = useInitExecution(props);
|
|
26
|
-
return React.createElement(
|
|
30
|
+
return React.createElement(PivotTableNextImplementation, { ...props, execution: execution });
|
|
27
31
|
}
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}, {
|
|
37
|
-
measureGroupDimension,
|
|
38
|
-
columnHeadersPosition,
|
|
39
|
-
pageSize,
|
|
40
|
-
});
|
|
32
|
+
function PivotTableNextImplementation(props) {
|
|
33
|
+
return (React.createElement(PivotTablePropsProvider, { ...props },
|
|
34
|
+
React.createElement(TableMetadataProvider, null,
|
|
35
|
+
React.createElement(ThemeContextProvider, { theme: props.theme || {}, themeIsLoading: false },
|
|
36
|
+
React.createElement(PivotTableNextLoading, null)))));
|
|
37
|
+
}
|
|
38
|
+
function PivotTableNextLoading() {
|
|
39
|
+
const { result, status, error } = useInitExecutionResult();
|
|
41
40
|
if (status === "error") {
|
|
42
41
|
return React.createElement(ErrorComponent, { error: error });
|
|
43
42
|
}
|
|
44
43
|
if (status === "pending" || status === "loading") {
|
|
45
44
|
return React.createElement(LoadingComponent, null);
|
|
46
45
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
React.createElement(RenderAgGrid, { ...props, executionResult: executionResult }))));
|
|
46
|
+
const { initialExecutionResult, initialDataView } = result;
|
|
47
|
+
return React.createElement(RenderAgGrid, { initialExecutionResult: initialExecutionResult, initialDataView: initialDataView });
|
|
50
48
|
}
|
|
51
|
-
function RenderAgGrid(
|
|
49
|
+
function RenderAgGrid(initialExecutionData) {
|
|
52
50
|
useMemo(() => {
|
|
53
51
|
ModuleRegistry.registerModules([
|
|
54
52
|
// TODO: replace with used modules only (to decrease bundle size)
|
|
55
53
|
AllEnterpriseModule,
|
|
56
54
|
]);
|
|
57
55
|
}, []);
|
|
58
|
-
const
|
|
59
|
-
const
|
|
60
|
-
const
|
|
61
|
-
const {
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
|
|
56
|
+
const props = usePivotTableProps();
|
|
57
|
+
const { sortBy, config, drillableItems } = props;
|
|
58
|
+
const { columnHeadersPosition, columnSizing: { columnWidths }, } = config;
|
|
59
|
+
const { initialDataView } = initialExecutionData;
|
|
60
|
+
const { columnDefs, isPivoted, columnDefinitionByColId } = useMemo(() => {
|
|
61
|
+
return dataViewToColumnDefs(initialDataView, columnHeadersPosition, columnWidths, sortBy, drillableItems);
|
|
62
|
+
}, [initialDataView, columnHeadersPosition, columnWidths, sortBy, drillableItems]);
|
|
63
|
+
const enhanceWithSorting = useSortingProps(columnDefinitionByColId);
|
|
64
|
+
const enhanceWithDrilling = useDrillingProps();
|
|
65
|
+
const enhanceWithTextWrapping = useTextWrappingProps();
|
|
66
|
+
const enhanceWithColumnSizing = useColumnSizingProps();
|
|
67
|
+
const enhanceWithServerSideRowModel = useServerSideRowModelProps(initialExecutionData, columnDefinitionByColId);
|
|
68
|
+
const enhanceWithTheme = useThemeProps();
|
|
69
|
+
const agGridReactProps = useMemo(() => flow(enhanceWithServerSideRowModel, enhanceWithColumnSizing, enhanceWithSorting, enhanceWithDrilling, enhanceWithTextWrapping, enhanceWithTheme)(AG_GRID_DEFAULT_PROPS), [
|
|
70
|
+
enhanceWithServerSideRowModel,
|
|
71
|
+
enhanceWithColumnSizing,
|
|
72
|
+
enhanceWithSorting,
|
|
73
|
+
enhanceWithDrilling,
|
|
74
|
+
enhanceWithTextWrapping,
|
|
75
|
+
enhanceWithTheme,
|
|
76
|
+
]);
|
|
77
|
+
return (React.createElement("div", { className: b() },
|
|
78
|
+
React.createElement(AgGridReact, { ...agGridReactProps, columnDefs: columnDefs, pivotMode: isPivoted })));
|
|
71
79
|
}
|
|
72
80
|
/**
|
|
73
81
|
* Memoized wrapper for the AgGridReact component that needs to be provided with prepared execution.
|
|
74
82
|
*
|
|
75
|
-
* @
|
|
83
|
+
* @internal
|
|
76
84
|
*/
|
|
77
|
-
const
|
|
85
|
+
export const CorePivotTableNext = React.memo(PivotTableNextImplementation, (prevProps, nextProps) => {
|
|
78
86
|
// More specific comparison to avoid unnecessary re-renders
|
|
79
87
|
const executionChanged = prevProps.execution.fingerprint() !== nextProps.execution.fingerprint();
|
|
80
88
|
const configChanged = !isEqual(prevProps.config, nextProps.config);
|
|
@@ -97,5 +105,4 @@ const MemoizedCorePivotTableNext = React.memo(CorePivotTableNext, (prevProps, ne
|
|
|
97
105
|
drillableItemsChanged ||
|
|
98
106
|
themeChanged);
|
|
99
107
|
});
|
|
100
|
-
export { MemoizedCorePivotTableNext as CorePivotTableNext };
|
|
101
108
|
//# sourceMappingURL=PivotTableNext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PivotTableNext.js","sourceRoot":"","sources":["../../src/next/PivotTableNext.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PivotTableNext.js","sourceRoot":"","sources":["../../src/next/PivotTableNext.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGpE,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACtG,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iD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O,CAAC,SAAS,CAAC,cAAc,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IAC3F,MAAM,YAAY,GAAG,SAAS,CAAC,KAAK,KAAK,SAAS,CAAC,KAAK,CAAC;IAEzD,OAAO,CAAC,CACJ,gBAAgB;QAChB,aAAa;QACb,eAAe;QACf,WAAW;QACX,cAAc;QACd,cAAc;QACd,WAAW;QACX,aAAa;QACb,qBAAqB;QACrB,YAAY,CACf,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgGridProps } from "../types/agGrid.js";
|
|
2
2
|
/**
|
|
3
3
|
* Separator used for pivoted values.
|
|
4
4
|
*
|
|
@@ -15,5 +15,5 @@ export declare const AG_GRID_DEFAULT_CACHE_BLOCK_SIZE = 100;
|
|
|
15
15
|
/**
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
18
|
-
export declare const AG_GRID_DEFAULT_PROPS:
|
|
18
|
+
export declare const AG_GRID_DEFAULT_PROPS: AgGridProps;
|
|
19
19
|
//# sourceMappingURL=agGrid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agGrid.d.ts","sourceRoot":"","sources":["../../../src/next/constants/agGrid.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agGrid.d.ts","sourceRoot":"","sources":["../../../src/next/constants/agGrid.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,MAAM,CAAC;AAExD;;;;;GAKG;AACH,eAAO,MAAM,gCAAgC,MAAM,CAAC;AA2CpD;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,WASnC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// (C) 2025 GoodData Corporation
|
|
2
2
|
import merge from "lodash/merge.js";
|
|
3
|
+
import { e } from "../features/styling/bem.js";
|
|
3
4
|
/**
|
|
4
5
|
* Separator used for pivoted values.
|
|
5
6
|
*
|
|
@@ -13,28 +14,16 @@ export const AG_GRID_PIVOT_RESULT_FIELD_SEPARATOR = "|";
|
|
|
13
14
|
* @internal
|
|
14
15
|
*/
|
|
15
16
|
export const AG_GRID_DEFAULT_CACHE_BLOCK_SIZE = 100;
|
|
16
|
-
const THEME_PROPS = {
|
|
17
|
-
theme: themeBalham,
|
|
18
|
-
};
|
|
19
17
|
const ROW_GROUPING_PROPS = {
|
|
20
18
|
groupDisplayType: "multipleColumns",
|
|
21
19
|
};
|
|
22
20
|
const SIZING_PROPS = {
|
|
23
|
-
autoSizeStrategy: {
|
|
24
|
-
type: "fitCellContents",
|
|
25
|
-
},
|
|
26
21
|
defaultColDef: {
|
|
27
22
|
resizable: true,
|
|
28
23
|
autoHeight: true,
|
|
29
24
|
autoHeaderHeight: true,
|
|
30
25
|
},
|
|
31
26
|
};
|
|
32
|
-
const TEXT_WRAPPING_PROPS = {
|
|
33
|
-
defaultColDef: {
|
|
34
|
-
wrapText: true,
|
|
35
|
-
wrapHeaderText: true,
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
27
|
const CELL_SELECTION_PROPS = {
|
|
39
28
|
cellSelection: {
|
|
40
29
|
handle: {
|
|
@@ -54,13 +43,13 @@ const SORTING_PROPS = {
|
|
|
54
43
|
sortingOrder: ["desc", "asc", null],
|
|
55
44
|
},
|
|
56
45
|
};
|
|
57
|
-
const
|
|
46
|
+
const STYLING_PROPS = {
|
|
58
47
|
defaultColGroupDef: {
|
|
59
|
-
headerClass: "
|
|
48
|
+
headerClass: e("header-cell"),
|
|
60
49
|
},
|
|
61
50
|
};
|
|
62
51
|
/**
|
|
63
52
|
* @internal
|
|
64
53
|
*/
|
|
65
|
-
export const AG_GRID_DEFAULT_PROPS = merge({},
|
|
54
|
+
export const AG_GRID_DEFAULT_PROPS = merge({}, ROW_GROUPING_PROPS, SIZING_PROPS, CELL_SELECTION_PROPS, AGGREGATION_PROPS, PAGING_PROPS, SORTING_PROPS, STYLING_PROPS);
|
|
66
55
|
//# sourceMappingURL=agGrid.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agGrid.js","sourceRoot":"","sources":["../../../src/next/constants/agGrid.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agGrid.js","sourceRoot":"","sources":["../../../src/next/constants/agGrid.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AAEpC,OAAO,EAAE,CAAC,EAAE,MAAM,4BAA4B,CAAC;AAE/C;;;;GAIG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,GAAG,CAAC;AAExD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,CAAC;AAEpD,MAAM,kBAAkB,GAAgB;IACpC,gBAAgB,EAAE,iBAAiB;CACtC,CAAC;AAEF,MAAM,YAAY,GAAgB;IAC9B,aAAa,EAAE;QACX,SAAS,EAAE,IAAI;QACf,UAAU,EAAE,IAAI;QAChB,gBAAgB,EAAE,IAAI;KACzB;CACJ,CAAC;AAEF,MAAM,oBAAoB,GAAgB;IACtC,aAAa,EAAE;QACX,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;SAChB;KACJ;CACJ,CAAC;AAEF,MAAM,iBAAiB,GAAgB;IACnC,uBAAuB,EAAE,IAAI;CAChC,CAAC;AAEF,MAAM,YAAY,GAAgB;IAC9B,cAAc,EAAE,gCAAgC;CACnD,CAAC;AAEF,MAAM,aAAa,GAAgB;IAC/B,aAAa,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC;KACtC;CACJ,CAAC;AAEF,MAAM,aAAa,GAAgB;IAC/B,kBAAkB,EAAE;QAChB,WAAW,EAAE,CAAC,CAAC,aAAa,CAAC;KAChC;CACJ,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgB,KAAK,CACnD,EAAE,EACF,kBAAkB,EAClB,YAAY,EACZ,oBAAoB,EACpB,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,aAAa,CAChB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IAttribute, IFilter, IMeasure, ITotal, ISortItem } from "@gooddata/sdk-model";
|
|
2
|
+
import { ExplicitDrill } from "@gooddata/sdk-ui";
|
|
2
3
|
import { PivotTableNextConfig } from "../types/public.js";
|
|
3
4
|
/**
|
|
4
5
|
* TODO: translate
|
|
@@ -9,7 +10,7 @@ export declare const ATTRIBUTE_EMPTY_VALUE = "(empty value)";
|
|
|
9
10
|
/**
|
|
10
11
|
* @internal
|
|
11
12
|
*/
|
|
12
|
-
export declare const METRIC_EMPTY_VALUE = "
|
|
13
|
+
export declare const METRIC_EMPTY_VALUE = "\u2013";
|
|
13
14
|
/**
|
|
14
15
|
* @internal
|
|
15
16
|
*/
|
|
@@ -38,6 +39,14 @@ export declare const EMPTY_CONFIG: PivotTableNextConfig;
|
|
|
38
39
|
* @internal
|
|
39
40
|
*/
|
|
40
41
|
export declare const EMPTY_SORT_BY: ISortItem[];
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
export declare const EMPTY_DRILLS: ExplicitDrill[];
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
export declare const EMPTY_OBJECT: {};
|
|
41
50
|
/**
|
|
42
51
|
* @internal
|
|
43
52
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/next/constants/internal.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAAE,oBAAoB,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AO,MAAM,6BAA6B,uBAAuB,CAAC"}
|
|
@@ -8,7 +8,7 @@ export const ATTRIBUTE_EMPTY_VALUE = "(empty value)";
|
|
|
8
8
|
/**
|
|
9
9
|
* @internal
|
|
10
10
|
*/
|
|
11
|
-
export const METRIC_EMPTY_VALUE = "
|
|
11
|
+
export const METRIC_EMPTY_VALUE = "–";
|
|
12
12
|
/**
|
|
13
13
|
* @internal
|
|
14
14
|
*/
|
|
@@ -37,6 +37,14 @@ export const EMPTY_CONFIG = {};
|
|
|
37
37
|
* @internal
|
|
38
38
|
*/
|
|
39
39
|
export const EMPTY_SORT_BY = [];
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
export const EMPTY_DRILLS = [];
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
export const EMPTY_OBJECT = {};
|
|
40
48
|
/**
|
|
41
49
|
* @internal
|
|
42
50
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/next/constants/internal.ts"],"names":[],"mappings":"AAAA,gCAAgC;
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/next/constants/internal.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAMhC;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,eAAe,CAAC;AAErD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,KAAK,CAAC;AAE5D;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAiB,EAAE,CAAC;AAEjD;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAe,EAAE,CAAC;AAE5C;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAc,EAAE,CAAC;AAE3C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAa,EAAE,CAAC;AAEzC;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAyB,EAAE,CAAC;AAErD;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAgB,EAAE,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAoB,EAAE,CAAC;AAEhD;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,EAAE,CAAC;AAE/B;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAC;AAE7B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,mBAAmB,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { ICorePivotTableNextProps } from "../types/internal.js";
|
|
3
|
+
import { PivotTableNextConfig } from "../types/public.js";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare function PivotTablePropsProvider({ children, ...props }: ICorePivotTableNextProps & {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
type WithRequired<T, K extends keyof T> = T & Required<Pick<T, K>>;
|
|
11
|
+
type RootPropsWithDefaults = "rows" | "columns" | "measures" | "filters" | "sortBy" | "totals" | "pageSize" | "drillableItems";
|
|
12
|
+
type ConfigPropsWithDefaults = "measureGroupDimension" | "columnHeadersPosition" | "columnSizing" | "textWrapping";
|
|
13
|
+
type PivotTablePropsWithDefaults = WithRequired<ICorePivotTableNextProps, RootPropsWithDefaults> & {
|
|
14
|
+
config: WithRequired<PivotTableNextConfig, ConfigPropsWithDefaults>;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export declare function applyPivotTableDefaultProps(props: ICorePivotTableNextProps): PivotTablePropsWithDefaults;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare function usePivotTableProps(): PivotTablePropsWithDefaults;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=PivotTablePropsContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PivotTablePropsContext.d.ts","sourceRoot":"","sources":["../../../src/next/context/PivotTablePropsContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAc1D;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,EACpC,QAAQ,EACR,GAAG,KAAK,EACX,EAAE,wBAAwB,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,qBAEpD;AAED,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAEnE,KAAK,qBAAqB,GACpB,MAAM,GACN,SAAS,GACT,UAAU,GACV,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,gBAAgB,CAAC;AAEvB,KAAK,uBAAuB,GACtB,uBAAuB,GACvB,uBAAuB,GACvB,cAAc,GACd,cAAc,CAAC;AAErB,KAAK,2BAA2B,GAAG,YAAY,CAAC,wBAAwB,EAAE,qBAAqB,CAAC,GAAG;IAC/F,MAAM,EAAE,YAAY,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,CAAC;CACvE,CAAC;AAEF;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,wBAAwB,GAAG,2BAA2B,CAmBxG;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,2BAA2B,CAQhE"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// (C) 2025 GoodData Corporation
|
|
2
|
+
import React, { createContext, useContext } from "react";
|
|
3
|
+
import { EMPTY_ATTRIBUTES, EMPTY_DRILLS, EMPTY_FILTERS, EMPTY_METRICS, EMPTY_OBJECT, EMPTY_SORT_BY, EMPTY_TOTALS, PAGE_SIZE, } from "../constants/internal.js";
|
|
4
|
+
const PivotTablePropsContext = createContext(undefined);
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export function PivotTablePropsProvider({ children, ...props }) {
|
|
9
|
+
return React.createElement(PivotTablePropsContext.Provider, { value: props }, children);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export function applyPivotTableDefaultProps(props) {
|
|
15
|
+
return {
|
|
16
|
+
...props,
|
|
17
|
+
rows: props.rows ?? EMPTY_ATTRIBUTES,
|
|
18
|
+
columns: props.columns ?? EMPTY_ATTRIBUTES,
|
|
19
|
+
measures: props.measures ?? EMPTY_METRICS,
|
|
20
|
+
filters: props.filters ?? EMPTY_FILTERS,
|
|
21
|
+
sortBy: props.sortBy ?? EMPTY_SORT_BY,
|
|
22
|
+
totals: props.totals ?? EMPTY_TOTALS,
|
|
23
|
+
pageSize: props.pageSize ?? PAGE_SIZE,
|
|
24
|
+
drillableItems: props.drillableItems ?? EMPTY_DRILLS,
|
|
25
|
+
config: {
|
|
26
|
+
...props.config,
|
|
27
|
+
measureGroupDimension: props.config?.measureGroupDimension ?? "columns",
|
|
28
|
+
columnHeadersPosition: props.config?.columnHeadersPosition ?? "top",
|
|
29
|
+
columnSizing: props.config?.columnSizing ?? EMPTY_OBJECT,
|
|
30
|
+
textWrapping: props.config?.textWrapping ?? EMPTY_OBJECT,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
export function usePivotTableProps() {
|
|
38
|
+
const context = useContext(PivotTablePropsContext);
|
|
39
|
+
if (context === undefined) {
|
|
40
|
+
throw new Error("usePivotTableProps must be used within a PivotTablePropsContext");
|
|
41
|
+
}
|
|
42
|
+
return applyPivotTableDefaultProps(context);
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=PivotTablePropsContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PivotTablePropsContext.js","sourceRoot":"","sources":["../../../src/next/context/PivotTablePropsContext.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAa,MAAM,OAAO,CAAC;AAGpE,OAAO,EACH,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,aAAa,EACb,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,SAAS,GACZ,MAAM,0BAA0B,CAAC;AAElC,MAAM,sBAAsB,GAAG,aAAa,CAAuC,SAAS,CAAC,CAAC;AAE9F;;GAEG;AACH,MAAM,UAAU,uBAAuB,CAAC,EACpC,QAAQ,EACR,GAAG,KAAK,EACyC;IACjD,OAAO,oBAAC,sBAAsB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,IAAG,QAAQ,CAAmC,CAAC;AACvG,CAAC;AAwBD;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAA+B;IACvE,OAAO;QACH,GAAG,KAAK;QACR,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,gBAAgB;QACpC,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,gBAAgB;QAC1C,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAAI,aAAa;QACzC,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,aAAa;QACvC,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,aAAa;QACrC,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,YAAY;QACpC,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAAI,SAAS;QACrC,cAAc,EAAE,KAAK,CAAC,cAAc,IAAI,YAAY;QACpD,MAAM,EAAE;YACJ,GAAG,KAAK,CAAC,MAAM;YACf,qBAAqB,EAAE,KAAK,CAAC,MAAM,EAAE,qBAAqB,IAAI,SAAS;YACvE,qBAAqB,EAAE,KAAK,CAAC,MAAM,EAAE,qBAAqB,IAAI,KAAK;YACnE,YAAY,EAAE,KAAK,CAAC,MAAM,EAAE,YAAY,IAAI,YAAY;YACxD,YAAY,EAAE,KAAK,CAAC,MAAM,EAAE,YAAY,IAAI,YAAY;SAC3D;KACJ,CAAC;AACN,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB;IAC9B,MAAM,OAAO,GAAG,UAAU,CAAC,sBAAsB,CAAC,CAAC;IAEnD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,IAAI,KAAK,CAAC,iEAAiE,CAAC,CAAC;IACvF,CAAC;IAED,OAAO,2BAA2B,CAAC,OAAO,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AgGridApi, AgGridColumnDef, AgGridColumnGroupDef } from "../../types/agGrid.js";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare function agGridSetColumnDefs(options: {
|
|
6
|
+
colDefs: (AgGridColumnDef | AgGridColumnGroupDef)[];
|
|
7
|
+
}, api: AgGridApi): void;
|
|
8
|
+
//# sourceMappingURL=agGridColumnDefsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agGridColumnDefsApi.d.ts","sourceRoot":"","sources":["../../../../src/next/features/columnDefs/agGridColumnDefsApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAEzF;;GAEG;AACH,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE;IAAE,OAAO,EAAE,CAAC,eAAe,GAAG,oBAAoB,CAAC,EAAE,CAAA;CAAE,EAChE,GAAG,EAAE,SAAS,QAIjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agGridColumnDefsApi.js","sourceRoot":"","sources":["../../../../src/next/features/columnDefs/agGridColumnDefsApi.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,UAAU,mBAAmB,CAC/B,OAAgE,EAChE,GAAc;IAEd,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAC5B,GAAG,CAAC,aAAa,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DataViewFacade, ExplicitDrill, ITableColumnDefinition } from "@gooddata/sdk-ui";
|
|
2
|
+
import { AgGridColumnDef } from "../../types/agGrid.js";
|
|
3
|
+
import { ColumnHeadersPosition } from "../../../publicTypes.js";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare function columnDefinitionToColDef(columnDefinition: ITableColumnDefinition, isTransposed: boolean, columnHeadersPosition: ColumnHeadersPosition, drillableItems?: ExplicitDrill[], dv?: DataViewFacade): AgGridColumnDef;
|
|
8
|
+
//# sourceMappingURL=columnDefinitionToColDef.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columnDefinitionToColDef.d.ts","sourceRoot":"","sources":["../../../../src/next/features/columnDefs/columnDefinitionToColDef.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,sBAAsB,EAAsB,MAAM,kBAAkB,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAQxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE;;GAEG;AACH,wBAAgB,wBAAwB,CACpC,gBAAgB,EAAE,sBAAsB,EACxC,YAAY,EAAE,OAAO,EACrB,qBAAqB,EAAE,qBAAqB,EAC5C,cAAc,CAAC,EAAE,aAAa,EAAE,EAChC,EAAE,CAAC,EAAE,cAAc,GACpB,eAAe,CAyDjB"}
|