ag-grid-community 35.2.1 → 35.3.1
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/README.md +36 -36
- package/dist/ag-grid-community.js +14155 -1430
- package/dist/ag-grid-community.min.js +882 -258
- package/dist/ag-grid-community.min.noStyle.js +51 -43
- package/dist/ag-grid-community.noStyle.js +2039 -1416
- package/dist/package/main.cjs.js +2036 -1398
- package/dist/package/main.cjs.min.js +49 -41
- package/dist/package/main.esm.min.mjs +46 -38
- package/dist/package/main.esm.mjs +2036 -1398
- package/dist/package/package.json +5 -8
- package/dist/package.json +5 -8
- package/dist/types/package.json +5 -8
- package/dist/types/src/agStack/interfaces/iIcon.d.ts +1 -1
- package/dist/types/src/agStack/popup/popupPositionUtils.d.ts +71 -0
- package/dist/types/src/agStack/rendering/agPositionableFeature.d.ts +1 -1
- package/dist/types/src/agStack/theming/shared/shared-css.d.ts +1 -0
- package/dist/types/src/agStack/utils/array.d.ts +9 -0
- package/dist/types/src/agStack/utils/dom.d.ts +1 -1
- package/dist/types/src/agStack/utils/fuzzyMatch.d.ts +2 -1
- package/dist/types/src/agStack/utils/value.d.ts +6 -1
- package/dist/types/src/agStack/widgets/agInputTextArea.d.ts +1 -0
- package/dist/types/src/api/gridApi.d.ts +60 -1
- package/dist/types/src/clientSideRowModel/clientSideRowModel.d.ts +1 -0
- package/dist/types/src/clientSideRowModel/deltaSort.d.ts +2 -0
- package/dist/types/src/clientSideRowModel/filterStage.d.ts +2 -9
- package/dist/types/src/clientSideRowModel/sortStage.d.ts +1 -1
- package/dist/types/src/columns/columnDefFactory.d.ts +1 -0
- package/dist/types/src/columns/columnModel.d.ts +6 -1
- package/dist/types/src/context/context.d.ts +17 -4
- package/dist/types/src/edit/cellEditors/largeTextCellEditor.d.ts +4 -0
- package/dist/types/src/edit/editService.d.ts +1 -1
- package/dist/types/src/edit/strategy/fullRowEditStrategy.d.ts +1 -1
- package/dist/types/src/edit/strategy/singleCellEditStrategy.d.ts +1 -1
- package/dist/types/src/entities/agColumn.d.ts +3 -5
- package/dist/types/src/entities/colDef.d.ts +20 -8
- package/dist/types/src/entities/gridOptions.d.ts +70 -5
- package/dist/types/src/entities/rowNode.d.ts +21 -2
- package/dist/types/src/filter/filterManager.d.ts +1 -5
- package/dist/types/src/filter/filterValueService.d.ts +1 -2
- package/dist/types/src/filter/provided/date/dateFilterHandler.d.ts +1 -0
- package/dist/types/src/gridBodyComp/rowContainer/rowContainerEventsFeature.d.ts +2 -0
- package/dist/types/src/gridComp/gridComp.d.ts +1 -0
- package/dist/types/src/gridComp/gridCtrl.d.ts +1 -0
- package/dist/types/src/gridOptionsDefault.d.ts +3 -0
- package/dist/types/src/gridOptionsInitial.d.ts +1 -1
- package/dist/types/src/gridOptionsService.d.ts +1 -0
- package/dist/types/src/gridOptionsUtils.d.ts +8 -2
- package/dist/types/src/headerRendering/row/headerRowCtrl.d.ts +1 -1
- package/dist/types/src/interfaces/exportParams.d.ts +12 -0
- package/dist/types/src/interfaces/formulas.d.ts +15 -0
- package/dist/types/src/interfaces/iCallbackParams.d.ts +3 -0
- package/dist/types/src/interfaces/iCellRangeFeature.d.ts +1 -1
- package/dist/types/src/interfaces/iExcelCreator.d.ts +40 -1
- package/dist/types/src/interfaces/iFilter.d.ts +1 -1
- package/dist/types/src/interfaces/iFocusableContainer.d.ts +1 -1
- package/dist/types/src/interfaces/iFrameworkOverrides.d.ts +2 -0
- package/dist/types/src/interfaces/iModule.d.ts +4 -4
- package/dist/types/src/interfaces/iRowGroupPanelBuilder.d.ts +11 -0
- package/dist/types/src/interfaces/iRowNode.d.ts +20 -6
- package/dist/types/src/interfaces/iRowNodeStage.d.ts +6 -3
- package/dist/types/src/interfaces/iServerSideDatasource.d.ts +10 -0
- package/dist/types/src/interfaces/iServerSideRowModel.d.ts +6 -0
- package/dist/types/src/interfaces/iToolbar.d.ts +178 -0
- package/dist/types/src/interfaces/menuItem.d.ts +1 -1
- package/dist/types/src/interfaces/notes.d.ts +147 -0
- package/dist/types/src/main-internal.d.ts +15 -8
- package/dist/types/src/main.d.ts +6 -3
- package/dist/types/src/navigation/cellNavigationService.d.ts +0 -3
- package/dist/types/src/pagination/{pageSizeSelector/pageSizeSelectorComp.d.ts → pageSizeSelectorComp.d.ts} +3 -4
- package/dist/types/src/pagination/pageSummaryComp.d.ts +29 -0
- package/dist/types/src/pagination/paginationService.d.ts +0 -1
- package/dist/types/src/pagination/paginationUtils.d.ts +3 -0
- package/dist/types/src/pagination/rowSummaryComp.d.ts +15 -0
- package/dist/types/src/pinnedColumns/pinnedColumnService.d.ts +2 -0
- package/dist/types/src/pinnedRowModel/manualPinnedRowModel.d.ts +2 -0
- package/dist/types/src/propertyKeys.d.ts +1 -1
- package/dist/types/src/publicEventHandlersMap.d.ts +1 -1
- package/dist/types/src/rendering/cell/cellCtrl.d.ts +6 -0
- package/dist/types/src/rendering/cell/cellPositionFeature.d.ts +0 -2
- package/dist/types/src/rendering/row/rowCtrl.d.ts +22 -2
- package/dist/types/src/rendering/spanning/rowSpanService.d.ts +2 -0
- package/dist/types/src/testing/testIdUtils.d.ts +6 -0
- package/dist/types/src/theming/core/core-css.d.ts +16 -0
- package/dist/types/src/theming/createTheme.d.ts +3 -1
- package/dist/types/src/theming/parts/notes/note-styles.d.ts +37 -0
- package/dist/types/src/theming/parts/theme/themes.d.ts +6 -2
- package/dist/types/src/utils/icon.d.ts +1 -1
- package/dist/types/src/validation/errorMessages/errorText.d.ts +25 -4
- package/dist/types/src/validation/validationService.d.ts +7 -1
- package/dist/types/src/validation/validationTypes.d.ts +5 -2
- package/dist/types/src/valueService/valueCache.d.ts +1 -2
- package/dist/types/src/valueService/valueService.d.ts +18 -13
- package/dist/types/src/vanillaFrameworkOverrides.d.ts +1 -0
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/src/widgets/component.d.ts +1 -1
- package/package.json +5 -8
- package/styles/_css-content.scss +1290 -310
- package/styles/_icon-font-codes.scss +1 -0
- package/styles/_index.scss +3 -3
- package/styles/ag-grid-no-native-widgets.css +416 -52
- package/styles/ag-grid-no-native-widgets.min.css +4 -4
- package/styles/ag-grid.css +433 -63
- package/styles/ag-grid.min.css +4 -4
- package/styles/ag-theme-alpine-no-font.css +21 -11
- package/styles/ag-theme-alpine-no-font.min.css +3 -3
- package/styles/ag-theme-alpine.css +22 -12
- package/styles/ag-theme-alpine.min.css +3 -3
- package/styles/ag-theme-balham-no-font.css +15 -2
- package/styles/ag-theme-balham-no-font.min.css +3 -3
- package/styles/ag-theme-balham.css +16 -3
- package/styles/ag-theme-balham.min.css +3 -3
- package/styles/ag-theme-material-no-font.css +92 -11
- package/styles/ag-theme-material-no-font.min.css +3 -4
- package/styles/ag-theme-material.css +93 -12
- package/styles/ag-theme-material.min.css +3 -4
- package/styles/ag-theme-quartz-no-font.css +49 -30
- package/styles/ag-theme-quartz-no-font.min.css +3 -3
- package/styles/ag-theme-quartz.css +50 -31
- package/styles/ag-theme-quartz.min.css +3 -3
- package/styles/agGridAlpineFont.css +1 -1
- package/styles/agGridAlpineFont.min.css +1 -1
- package/styles/agGridBalhamFont.css +1 -1
- package/styles/agGridBalhamFont.min.css +1 -1
- package/styles/agGridClassicFont.css +1 -1
- package/styles/agGridClassicFont.min.css +1 -1
- package/styles/agGridMaterialFont.css +1 -1
- package/styles/agGridMaterialFont.min.css +1 -1
- package/styles/agGridQuartzFont.css +1 -1
- package/styles/agGridQuartzFont.min.css +1 -1
- /package/dist/types/src/{export/downloader.d.ts → agStack/utils/download.d.ts} +0 -0
package/dist/types/src/main.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { isProvidedColumnGroup } from './entities/agProvidedColumnGroup';
|
|
|
6
6
|
export type { AutoSizeStrategy, IColumnLimit, ISizeAllColumnsToContentParams, ISizeColumnsToContentParams, ISizeColumnsToFitParams, SizeColumnsToContentColumnLimits, SizeColumnsToContentStrategy, SizeColumnsToFitGridColumnLimits, SizeColumnsToFitGridStrategy, SizeColumnsToFitProvidedWidthStrategy, } from './interfaces/autoSize';
|
|
7
7
|
export type { Column, ColumnGroup, ColumnGroupShowType, ColumnPinnedType, ProvidedColumnGroup, } from './interfaces/iColumn';
|
|
8
8
|
export type { SortModelItem } from './interfaces/iSortModelItem';
|
|
9
|
+
export { DETAIL_ROW_ID_PREFIX, GRAND_TOTAL_ROW_ID, GROUP_TOTAL_ROW_ID_PREFIX, ROOT_NODE_ID, } from './interfaces/iRowNode';
|
|
9
10
|
export type { AllChildrenCountChangedEvent, CellChangedEvent, ChildIndexChangedEvent, DataChangedEvent, DisplayedChangedEvent, DraggingChangedEvent, ExpandedChangedEvent, FirstChildChangedEvent, GroupChangedEvent, HasChildrenChangedEvent, HeightChangedEvent, DataValueFrom, IRowNode, LastChildChangedEvent, MasterChangedEvent, MouseEnterEvent, MouseLeaveEvent, RowHighlightChangedEvent, RowIndexChangedEvent, RowNodePinnedEvent, RowNodeSelectedEvent, RowPinnedType, SelectableChangedEvent, TopChangedEvent, UiLevelChangedEvent, } from './interfaces/iRowNode';
|
|
10
11
|
export { KeyCode } from './agStack/constants/keyCode';
|
|
11
12
|
export type { AgEvent } from './agStack/interfaces/agEvent';
|
|
@@ -16,7 +17,7 @@ export type { AgComponentPopupPositionParams, AgMenuPopupPositionParams, AgMouse
|
|
|
16
17
|
export { AgPromise } from './agStack/utils/promise';
|
|
17
18
|
export type { IDragAndDropImageComponent, IDragAndDropImageParams } from './dragAndDrop/dragAndDropImageComponent';
|
|
18
19
|
export type { DropIndicatorPosition, RowDropPositionIndicator, SetRowDropPositionIndicatorParams, } from './dragAndDrop/rowDropHighlightService';
|
|
19
|
-
export type { ColumnWidthCallbackParams, ExcelAlignment, ExcelBorder, ExcelBorders, ExcelCell, ExcelColumn, ExcelContentType, ExcelCustomMetadata, ExcelCustomMetadataValue, ExcelData, ExcelDataType, ExcelExportMultipleSheetParams, ExcelExportParams, ExcelFactoryMode, ExcelFont, ExcelFreezeColumnsGetter, ExcelFreezeColumnsGetterParams, ExcelFreezeRowsGetter, ExcelFreezeRowsGetterParams, ExcelHeaderFooter, ExcelHeaderFooterConfig, ExcelHeaderFooterContent, ExcelHeaderFooterImage, ExcelImage, ExcelImagePosition, ExcelInterior, ExcelNumberFormat, ExcelOOXMLDataType, ExcelOOXMLTemplate, ExcelProtection, ExcelRelationship, ExcelRow, ExcelSheetMargin, ExcelSheetProtection, ExcelSheetNameGetter, ExcelSheetNameGetterParams, ExcelSheetPageSetup, ExcelStyle, ExcelTable, ExcelTableConfig, ExcelWorksheet, ExcelWorksheetConfigParams, IExcelCreator, RowHeightCallbackParams, } from './interfaces/iExcelCreator';
|
|
20
|
+
export type { ColumnWidthCallbackParams, ExcelAlignment, ExcelBorder, ExcelBorders, ExcelCell, ExcelColumn, ExcelContentType, ExcelCustomMetadata, ExcelCustomMetadataValue, ExcelData, ExcelDataType, ExcelExportMultipleSheetParams, ExcelExportParams, ExcelFactoryMode, ExcelFont, ExcelFreezeColumnsGetter, ExcelFreezeColumnsGetterParams, ExcelFreezeRowsGetter, ExcelFreezeRowsGetterParams, ExcelHeaderFooter, ExcelHeaderFooterConfig, ExcelHeaderFooterContent, ExcelHeaderFooterImage, ExcelImage, ExcelImagePosition, ExcelInterior, ExcelNote, ExcelNumberFormat, ExcelOOXMLDataType, ExcelOOXMLTemplate, ExcelProtection, ProcessNoteForExportParams, ExcelRelationship, ExcelRow, ExcelSheetMargin, ExcelSheetProtection, ExcelSheetNameGetter, ExcelSheetNameGetterParams, ExcelSheetPageSetup, ExcelStyle, ExcelTable, ExcelTableConfig, ExcelWorksheet, ExcelWorksheetConfigParams, IExcelCreator, RowHeightCallbackParams, } from './interfaces/iExcelCreator';
|
|
20
21
|
export { DragSourceType } from './dragAndDrop/dragAndDropService';
|
|
21
22
|
export type { DragAndDropIcon, DropTarget, GridDragSource, GridDraggingEvent } from './dragAndDrop/dragAndDropService';
|
|
22
23
|
export type { DragSource, DraggingEvent, IsRowValidDropPositionCallback, IsRowValidDropPositionParams, IsRowValidDropPositionResult, RowDropTargetPosition, RowDropZoneEvents, RowDropZoneParams, RowsDropParams, } from './dragAndDrop/rowDragTypes';
|
|
@@ -79,6 +80,7 @@ export type { EventCellRendererParams, GetCellRendererInstancesParams, ICellRend
|
|
|
79
80
|
export type { GetCellValueParams } from './valueService/cellApi';
|
|
80
81
|
export type { CellValueResolveFrom } from './interfaces/iEditService';
|
|
81
82
|
export type { AggregationStatusPanelAggFunc, AggregationStatusPanelParams, IAggregationStatusPanelParams, IProvidedStatusPanelParams, IStatusPanel, IStatusPanelComp, IStatusPanelParams, IStatusPanelValueFormatterParams, StatusBar, StatusPanelDef, } from './interfaces/iStatusPanel';
|
|
83
|
+
export type { IToolbarItem, IToolbarItemComp, IToolbarItemParams, Toolbar, ToolbarBuiltInItemDef, ToolbarButtonItemDef, ToolbarCustomItemDef, ToolbarItemActionParams, ToolbarItemComponent, ToolbarItemDef, ToolbarItemShorthand, ToolbarMenuBuiltInItemDef, ToolbarMenuItemParams, } from './interfaces/iToolbar';
|
|
82
84
|
export type { IColumnToolPanel } from './interfaces/iColumnToolPanel';
|
|
83
85
|
export type { IFiltersToolPanel } from './interfaces/iFiltersToolPanel';
|
|
84
86
|
export type { FilterPanelDetailState, FilterPanelFilterState, FilterPanelSummaryState, IFilterPanelService, INewFiltersToolPanel, ISelectableFilterService, SelectableFilterDef, SelectableFilterParams, } from './interfaces/iNewFiltersToolPanel';
|
|
@@ -130,9 +132,9 @@ export { convertColumnGroupState, convertColumnState } from './misc/state/stateU
|
|
|
130
132
|
export type { CellPosition } from './interfaces/iCellPosition';
|
|
131
133
|
export type { HeaderPosition } from './interfaces/iHeaderPosition';
|
|
132
134
|
export type { RowPosition } from './interfaces/iRowPosition';
|
|
133
|
-
export type { AbstractColDef, CellClassFunc, CellClassParams, CellClassRules, CellEditorSelectorFunc, CellEditorSelectorResult, CellRendererDeferParams, CellRendererSelectorFunc, CellRendererSelectorResult, CellStyle, CellStyleFunc, CheckboxSelectionCallback, CheckboxSelectionCallbackParams, ColDef, ColDefField, ColGroupDef, ColKey, ColSpanFunc, ColSpanParams, ColTypeDef, ColTypeDefs, ColumnChooserParams, ColumnFunctionCallbackParams, ColumnMenuTab, DndSourceCallback, DndSourceCallbackParams, DndSourceOnRowDragFunc, DndSourceOnRowDragParams, EditableCallback, EditableCallbackParams, EqualsFunc, GetFindTextFunc, GetFindTextParams, GetQuickFilterText, GetQuickFilterTextParams, GroupHierarchyConfig, GroupHierarchyParts, HeaderCheckboxSelectionCallback, HeaderCheckboxSelectionCallbackParams, HeaderClass, HeaderClassParams, HeaderLocation, HeaderStyle, HeaderStyleFunc, HeaderTooltipValueGetterFunc, HeaderValueGetterFunc, HeaderValueGetterParams, IAggFunc, IAggFuncParams, IAggFuncResult, IAggFuncs, ILoadingCellRendererSelectorFunc, KeyCreatorFunc, KeyCreatorParams, NestedFieldPaths, NewValueParams, PivotComparatorFunc, RefData, RowDragCallback, RowDragCallbackParams, RowSpanFunc, RowSpanParams, SortComparatorFn, SortDef, SortDirection, SortType, SpanRowsFunc, SpanRowsParams, SuppressHeaderKeyboardEventFunc, SuppressHeaderKeyboardEventParams, SuppressKeyboardEventFunc, SuppressKeyboardEventParams, SuppressNavigableCallback, SuppressNavigableCallbackParams, SuppressPasteCallback, SuppressPasteCallbackParams, ToolPanelClass, ToolPanelClassParams, TooltipValueGetterFunc, ValueFormatterFunc, ValueFormatterParams, ValueGetterFunc, ValueGetterParams, ValueParserFunc, ValueParserParams, ValueSetterFunc, ValueSetterParams, GroupRowEditableCallback, DistributionGetValueParams, DistributionSetValueParams, GroupRowEditableCallbackParams, GroupRowValueSetterParams, GroupRowValueSetterFunc, GroupRowValueSetterDistribution, GroupRowValueSetterDistributionEntry, GroupRowValueSetterDistributionOptions, GroupRowValueSetterDistributionRecord, GroupRowValueSetterOptions, } from './entities/colDef';
|
|
135
|
+
export type { AbstractColDef, CellClassFunc, CellClassParams, CellClassRules, CellEditorSelectorFunc, CellEditorSelectorResult, CellRendererDeferParams, CellRendererSelectorFunc, CellRendererSelectorResult, CellStyle, CellStyleFunc, CheckboxSelectionCallback, CheckboxSelectionCallbackParams, ColDef, ColDefField, ColGroupDef, ColKey, ColSpanFunc, ColSpanParams, ColTypeDef, ColTypeDefs, ColumnChooserParams, ColumnFunctionCallbackParams, ColumnMenuTab, DndSourceCallback, DndSourceCallbackParams, DndSourceOnRowDragFunc, DndSourceOnRowDragParams, EditableCallback, EditableCallbackParams, EqualsFunc, GetFindTextFunc, GetFindTextParams, GetQuickFilterText, GetQuickFilterTextParams, GroupHierarchyConfig, GroupHierarchyParts, HeaderCheckboxSelectionCallback, HeaderCheckboxSelectionCallbackParams, HeaderClass, HeaderClassParams, HeaderLocation, HeaderStyle, HeaderStyleFunc, HeaderTooltipValueGetterFunc, HeaderValueGetterFunc, HeaderValueGetterParams, IAggFunc, IAggFuncParams, IAggFuncResult, IAggFuncs, ILoadingCellRendererSelectorFunc, KeyCreatorFunc, KeyCreatorParams, NestedFieldPaths, NewValueParams, PivotComparatorFunc, RefData, RowDragCallback, RowDragCallbackParams, RowSpanFunc, RowSpanParams, SortComparatorFn, SortDef, SortDirection, SortType, SpanRowsFunc, SpanRowsParams, SuppressHeaderKeyboardEventFunc, SuppressHeaderKeyboardEventParams, SuppressNoteActionsCallback, SuppressNoteActionsCallbackParams, SuppressKeyboardEventFunc, SuppressKeyboardEventParams, SuppressNavigableCallback, SuppressNavigableCallbackParams, SuppressPasteCallback, SuppressPasteCallbackParams, ToolPanelClass, ToolPanelClassParams, TooltipValueGetterFunc, ValueFormatterFunc, ValueFormatterParams, ValueGetterFunc, ValueGetterParams, ValueParserFunc, ValueParserParams, ValueSetterFunc, ValueSetterParams, GroupRowEditableCallback, DistributionGetValueParams, DistributionSetValueParams, GroupRowEditableCallbackParams, GroupRowValueSetterParams, GroupRowValueSetterFunc, GroupRowValueSetterDistribution, GroupRowValueSetterDistributionEntry, GroupRowValueSetterDistributionOptions, GroupRowValueSetterDistributionRecord, GroupRowValueSetterOptions, } from './entities/colDef';
|
|
134
136
|
export type { BaseCellDataType, BooleanDataTypeDefinition, CoreDataTypeDefinition, DataTypeDefinition, DataTypeDefinitions, DataTypeFormatValueFunc, DateDataTypeDefinition, DateStringDataTypeDefinition, DateTimeDataTypeDefinition, DateTimeStringDataTypeDefinition, NumberDataTypeDefinition, ObjectDataTypeDefinition, TextDataTypeDefinition, ValueFormatterLiteFunc, ValueFormatterLiteParams, ValueParserLiteFunc, ValueParserLiteParams, } from './entities/dataType';
|
|
135
|
-
export type { AutoGroupColumnDef, CellSelectionOptions, ChartRef, ChartRefParams, CheckboxLocation, Components, CreateChartContainer, CustomChartThemes, DomLayoutType, FillHandleOptions, GetChartMenuItems, GetChartToolbarItems, GetContextMenuItems, GetDataPath, GetDocument, GetFullRowEditValidationErrors, GetMainMenuItems, GetRowClass, GetRowIdFunc, GetRowNodeIdFunc, GetRowStyle, GetServerSideGroupKey, GridOptions, GroupSelectionMode, IsApplyServerSideTransaction, IsRowFilterable, IsRowMaster, IsRowPinnable, IsRowPinned, IsRowSelectable, IsServerSideGroup, LoadingCellRendererSelectorFunc, LoadingCellRendererSelectorResult, LocaleText, MasterSelectionMode, MultiRowSelectionOptions, ProcessPivotResultColDef, ProcessPivotResultColGroupDef, RangeHandleOptions, RowClassParams, RowClassRules, RowGroupingDisplayType, RowSelectionMode, RowSelectionOptions, RowStyle, SelectAllMode, SelectionColumnDef, SingleRowSelectionOptions, TreeDataDisplayType, UseGroupFooter, UseGroupTotalRow, } from './entities/gridOptions';
|
|
137
|
+
export type { AutoGroupColumnDef, CellSelectionOptions, ChartRef, ChartRefParams, CheckboxLocation, Components, CreateChartContainer, CustomChartThemes, DomLayoutType, FillHandleOptions, GetChartMenuItems, GetChartToolbarItems, GetContextMenuItems, GetDataPath, GetDocument, GetFullRowEditValidationErrors, GetMainMenuItems, GetRowClass, GetRowIdFunc, GetRowNodeIdFunc, GetRowStyle, GetServerSideGroupKey, GridOptions, GroupSelectionMode, IsApplyServerSideTransaction, IsRowFilterable, IsRowMaster, IsRowPinnable, IsRowPinned, IsRowSelectable, IsServerSideGroup, LoadingCellRendererSelectorFunc, LoadingCellRendererSelectorResult, LocaleText, MasterSelectionMode, MultiRowSelectionOptions, PaginationPanel, PivotColumnGroupTotals, PivotRowTotals, ProcessPivotResultColDef, ProcessPivotResultColGroupDef, RangeHandleOptions, RowClassParams, RowClassRules, RowGroupingDisplayType, RowSelectionMode, RowSelectionOptions, RowStyle, SelectAllMode, SelectionColumnDef, SingleRowSelectionOptions, TreeDataDisplayType, UseGroupFooter, UseGroupTotalRow, } from './entities/gridOptions';
|
|
136
138
|
export type { GridOptionsWithDefaults } from './gridOptionsDefault';
|
|
137
139
|
export type { ManagedGridOptionKey, ManagedGridOptions } from './gridOptionsInitial';
|
|
138
140
|
export type { DoesExternalFilterPass, FillOperation, FillOperationParams, FocusGridInnerElement, FocusGridInnerElementParams, FullRowEditValidationParams, GetBusinessKeyForNode, GetChartMenuItemsParams, GetChartToolbarItemsParams, GetChildCount, GetContextMenuItemsParams, GetGroupAggFilteringParams, GetGroupIncludeFooterParams, GetGroupIncludeTotalRowParams, GetGroupRowAgg, GetGroupRowAggParams, GetLocaleText, GetLocaleTextParams, GetMainMenuItemsParams, GetRowHeight, GetRowIdParams, GetServerSideGroupLevelParams, GetServerSideGroupLevelParamsParams, GridContainerName, IMenuActionParams, InitialGroupOrderComparator, InitialGroupOrderComparatorParams, IsApplyServerSideTransactionParams, IsExternalFilterPresent, IsExternalFilterPresentParams, IsFullWidthRow, IsFullWidthRowParams, IsGroupOpenByDefault, IsGroupOpenByDefaultParams, IsServerSideGroupOpenByDefault, IsServerSideGroupOpenByDefaultParams, NavigateToNextCell, NavigateToNextCellParams, NavigateToNextHeader, NavigateToNextHeaderParams, PaginationNumberFormatter, PaginationNumberFormatterParams, PostProcessPopup, PostProcessPopupParams, PostSortRows, PostSortRowsParams, ProcessDataFromClipboard, ProcessDataFromClipboardParams, ProcessRowParams, ProcessRowPostCreate, ProcessUnpinnedColumns, ProcessUnpinnedColumnsParams, RowHeightParams, SendToClipboard, SendToClipboardParams, ServerSideGroupLevelParams, ServerSideStoreParams, TabToNextCell, TabToNextCellParams, TabToNextGridContainer, TabToNextGridContainerParams, TabToNextGridContainerTarget, TabToNextHeader, TabToNextHeaderParams, } from './interfaces/iCallbackParams';
|
|
@@ -147,6 +149,7 @@ export * from './interfaces/iChartOptions';
|
|
|
147
149
|
export type { BaseCreateChartParams, ChartDownloadParams, ChartModel, ChartModelType, ChartParamsCellRange, CloseChartToolPanelParams, CreateCrossFilterChartParams, CreatePivotChartParams, CreateRangeChartParams, GetChartImageDataUrlParams, IChartService, OpenChartToolPanelParams, UpdateChartParams, UpdateCrossFilterChartParams, UpdatePivotChartParams, UpdateRangeChartParams, } from './interfaces/IChartService';
|
|
148
150
|
export * from './interfaces/iSparklineCellRendererParams';
|
|
149
151
|
export type { FormulaDataSource, FormulaDataSourceParams, FormulaFuncs, FormulaFunctionParams, FormulaParam, GetFormulaParams, IFormulaDataService, IFormulaService, IFormulaInputManagerService, RangeParam, SetFormulaParams, ValueParam, } from './interfaces/formulas';
|
|
152
|
+
export type { FullWidthNotesDataSource, NoteParams, Note, FullWidthRowNoteParams, GetNoteParams, NotesDataSource, FullWidthNotesDataSourceGetNoteParams, FullWidthNotesDataSourceSetNoteParams, NotesDataSourceNoteParams, NotesDataSourceFullWidthRowNoteParams, NotesDataSourceGetNoteParams, NotesDataSourceParams, NotesDataSourceSetNoteParams, RefreshNotesParams, SetNoteParams, } from './interfaces/notes';
|
|
150
153
|
export { AlignedGridsModule } from './alignedGrids/alignedGridsModule';
|
|
151
154
|
export { AllCommunityModule } from './allCommunityModule';
|
|
152
155
|
export { RowApiModule, ScrollApiModule } from './api/apiModule';
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import type { NamedBean } from '../context/bean';
|
|
2
2
|
import { BeanStub } from '../context/beanStub';
|
|
3
|
-
import type { BeanCollection } from '../context/context';
|
|
4
3
|
import type { AgColumn } from '../entities/agColumn';
|
|
5
4
|
import type { CellPosition } from '../interfaces/iCellPosition';
|
|
6
5
|
import type { IRowNode } from '../interfaces/iRowNode';
|
|
7
6
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
8
7
|
export declare class CellNavigationService extends BeanStub implements NamedBean {
|
|
9
8
|
beanName: "cellNavigation";
|
|
10
|
-
private rowSpanSvc;
|
|
11
|
-
wireBeans(beans: BeanCollection): void;
|
|
12
9
|
getNextCellToFocus(key: string, focusedCell: CellPosition, ctrlPressed?: boolean): CellPosition | null;
|
|
13
10
|
private getNextCellToFocusWithCtrlPressed;
|
|
14
11
|
private getNextCellToFocusWithoutCtrlPressed;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { BeanCollection } from '
|
|
2
|
-
import
|
|
3
|
-
import { Component } from '../../widgets/component';
|
|
1
|
+
import type { BeanCollection } from '../context/context';
|
|
2
|
+
import { Component } from '../widgets/component';
|
|
4
3
|
export declare class PageSizeSelectorComp extends Component {
|
|
5
4
|
private pagination;
|
|
6
5
|
wireBeans(beans: BeanCollection): void;
|
|
@@ -15,10 +14,10 @@ export declare class PageSizeSelectorComp extends Component {
|
|
|
15
14
|
private reset;
|
|
16
15
|
private onPageSizeSelectorValuesChange;
|
|
17
16
|
shouldShowPageSizeSelector(): boolean;
|
|
17
|
+
updateVisibility(): void;
|
|
18
18
|
private reloadPageSizesSelector;
|
|
19
19
|
private createPageSizeSelectOptions;
|
|
20
20
|
private createPageSizeSelectorComp;
|
|
21
21
|
private getPageSizeSelectorValues;
|
|
22
22
|
destroy(): void;
|
|
23
23
|
}
|
|
24
|
-
export declare const PageSizeSelectorSelector: ComponentSelector;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { BeanCollection } from '../context/context';
|
|
2
|
+
import { Component } from '../widgets/component';
|
|
3
|
+
export declare class PageSummaryComp extends Component {
|
|
4
|
+
private rowModel;
|
|
5
|
+
private pagination;
|
|
6
|
+
private readonly btFirst;
|
|
7
|
+
private readonly btPrevious;
|
|
8
|
+
private readonly btNext;
|
|
9
|
+
private readonly btLast;
|
|
10
|
+
private readonly lbCurrent;
|
|
11
|
+
private readonly lbTotal;
|
|
12
|
+
private previousAndFirstButtonsDisabled;
|
|
13
|
+
private nextButtonDisabled;
|
|
14
|
+
private lastButtonDisabled;
|
|
15
|
+
ariaStatus: string;
|
|
16
|
+
private readonly idPrefix;
|
|
17
|
+
constructor(idPrefix: string);
|
|
18
|
+
wireBeans(beans: BeanCollection): void;
|
|
19
|
+
postConstruct(): void;
|
|
20
|
+
private onBtFirst;
|
|
21
|
+
private onBtPrevious;
|
|
22
|
+
private onBtNext;
|
|
23
|
+
private onBtLast;
|
|
24
|
+
refresh(): void;
|
|
25
|
+
private enableOrDisableButtons;
|
|
26
|
+
private toggleButtonDisabled;
|
|
27
|
+
private updateLabels;
|
|
28
|
+
private formatNumber;
|
|
29
|
+
}
|
|
@@ -14,7 +14,6 @@ export declare class PaginationService extends BeanStub implements NamedBean {
|
|
|
14
14
|
private topDisplayedRowIndex;
|
|
15
15
|
private bottomDisplayedRowIndex;
|
|
16
16
|
private masterRowCount;
|
|
17
|
-
private readonly editSvc?;
|
|
18
17
|
postConstruct(): void;
|
|
19
18
|
getPaginationSelector(): ComponentSelector<Component>;
|
|
20
19
|
private isPaginateChildRows;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { LocaleTextFunc } from '../agStack/interfaces/iLocaleService';
|
|
2
|
+
import type { GridOptionsService } from '../gridOptionsService';
|
|
3
|
+
export declare function _formatPaginationNumber(value: number, gos: GridOptionsService, getLocaleTextFunc: () => LocaleTextFunc): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BeanCollection } from '../context/context';
|
|
2
|
+
import { Component } from '../widgets/component';
|
|
3
|
+
export declare class RowSummaryComp extends Component {
|
|
4
|
+
private pagination;
|
|
5
|
+
private readonly lbFirstRowOnPage;
|
|
6
|
+
private readonly lbLastRowOnPage;
|
|
7
|
+
private readonly lbRecordCount;
|
|
8
|
+
ariaStatus: string;
|
|
9
|
+
private readonly idPrefix;
|
|
10
|
+
constructor(idPrefix: string);
|
|
11
|
+
wireBeans(beans: BeanCollection): void;
|
|
12
|
+
postConstruct(): void;
|
|
13
|
+
private isZeroPages;
|
|
14
|
+
refresh(): void;
|
|
15
|
+
}
|
|
@@ -7,6 +7,8 @@ import type { ColumnEventType } from '../events';
|
|
|
7
7
|
import { SetPinnedWidthFeature } from '../gridBodyComp/rowContainer/setPinnedWidthFeature';
|
|
8
8
|
import type { HeaderRowContainerCtrl } from '../headerRendering/rowContainer/headerRowContainerCtrl';
|
|
9
9
|
import type { ColumnPinnedType } from '../interfaces/iColumn';
|
|
10
|
+
/** Minimum center viewport width (in px) reserved when pinned columns are present. */
|
|
11
|
+
export declare const MIN_CENTER_VIEWPORT_WIDTH = 50;
|
|
10
12
|
export declare class PinnedColumnService extends BeanStub implements NamedBean {
|
|
11
13
|
beanName: "pinnedCols";
|
|
12
14
|
private gridBodyCtrl;
|
|
@@ -9,6 +9,8 @@ export declare class ManualPinnedRowModel extends BeanStub implements IPinnedRow
|
|
|
9
9
|
private bottom;
|
|
10
10
|
/** Cached CSRM reference, null if not using client-side row model */
|
|
11
11
|
private csrm;
|
|
12
|
+
/** True if using server-side row model */
|
|
13
|
+
private ssrm;
|
|
12
14
|
/**
|
|
13
15
|
* Determines where the grand total row should be pinned. Need a separate flag to break
|
|
14
16
|
* an infinite recursion with CSRM.
|
|
@@ -24,7 +24,7 @@ type KeysLike<U> = Exclude<GetPropKeys<GridOptions, U>, undefined>;
|
|
|
24
24
|
type KeysWithType<U> = Exclude<GetPropKeys<GridOptions, U>, AnyGridOptions>;
|
|
25
25
|
type CallbackKeys = KeysWithType<(any: AgGridCommon<any, any>) => any>;
|
|
26
26
|
/** All function properties excluding those explicity match the common callback interface. */
|
|
27
|
-
type FunctionKeys = Exclude<KeysLike<
|
|
27
|
+
type FunctionKeys = Exclude<KeysLike<(...args: any[]) => any>, CallbackKeys>;
|
|
28
28
|
export declare const _NUMBER_GRID_OPTIONS: KeysWithType<number>[];
|
|
29
29
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
30
30
|
export declare const _BOOLEAN_MIXED_GRID_OPTIONS: KeysWithType<boolean>[];
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Map of public events to their handler names in GridOptions
|
|
3
3
|
* @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
|
|
4
4
|
*/
|
|
5
|
-
export declare const _PUBLIC_EVENT_HANDLERS_MAP: Record<"bodyScroll" | "dragStarted" | "dragStopped" | "dragCancelled" | "tooltipShow" | "tooltipHide" | "columnEverythingChanged" | "newColumnsLoaded" | "columnPivotModeChanged" | "pivotMaxColumnsExceeded" | "columnRowGroupChanged" | "expandOrCollapseAll" | "columnPivotChanged" | "gridColumnsChanged" | "columnValueChanged" | "columnMoved" | "columnVisible" | "columnPinned" | "columnGroupOpened" | "columnResized" | "displayedColumnsChanged" | "virtualColumnsChanged" | "columnHeaderMouseOver" | "columnHeaderMouseLeave" | "columnHeaderClicked" | "columnHeaderContextMenu" | "asyncTransactionsFlushed" | "rowGroupOpened" | "rowDataUpdated" | "pinnedRowDataChanged" | "pinnedRowsChanged" | "rangeSelectionChanged" | "cellSelectionChanged" | "chartCreated" | "chartRangeSelectionChanged" | "chartOptionsChanged" | "chartDestroyed" | "toolPanelVisibleChanged" | "toolPanelSizeChanged" | "modelUpdated" | "cutStart" | "cutEnd" | "pasteStart" | "pasteEnd" | "fillStart" | "fillEnd" | "cellSelectionDeleteStart" | "cellSelectionDeleteEnd" | "rangeDeleteStart" | "rangeDeleteEnd" | "undoStarted" | "undoEnded" | "redoStarted" | "redoEnded" | "cellClicked" | "cellDoubleClicked" | "cellMouseDown" | "cellContextMenu" | "cellValueChanged" | "cellEditRequest" | "rowValueChanged" | "headerFocused" | "cellFocused" | "rowSelected" | "selectionChanged" | "cellKeyDown" | "cellMouseOver" | "cellMouseOut" | "filterChanged" | "filterModified" | "filterUiChanged" | "filterOpened" | "floatingFilterUiChanged" | "advancedFilterBuilderVisibleChanged" | "sortChanged" | "virtualRowRemoved" | "rowClicked" | "rowDoubleClicked" | "gridReady" | "gridPreDestroyed" | "gridSizeChanged" | "viewportChanged" | "firstDataRendered" | "rowEditingStarted" | "rowEditingStopped" | "cellEditingStarted" | "cellEditingStopped" | "bodyScrollEnd" | "paginationChanged" | "componentStateChanged" | "storeRefreshed" | "stateUpdated" | "columnMenuVisibleChanged" | "contextMenuVisibleChanged" | "rowDragEnter" | "rowDragMove" | "rowDragLeave" | "rowDragEnd" | "rowDragCancel" | "findChanged" | "rowResizeStarted" | "rowResizeEnded" | "columnsReset" | "bulkEditingStarted" | "bulkEditingStopped" | "batchEditingStarted" | "batchEditingStopped", "onToolPanelVisibleChanged" | "onToolPanelSizeChanged" | "onColumnMenuVisibleChanged" | "onContextMenuVisibleChanged" | "onCutStart" | "onCutEnd" | "onPasteStart" | "onPasteEnd" | "onColumnVisible" | "onColumnPinned" | "onColumnResized" | "onColumnMoved" | "onColumnValueChanged" | "onColumnPivotModeChanged" | "onColumnPivotChanged" | "onColumnGroupOpened" | "onNewColumnsLoaded" | "onGridColumnsChanged" | "onDisplayedColumnsChanged" | "onVirtualColumnsChanged" | "onColumnEverythingChanged" | "onColumnsReset" | "onColumnHeaderMouseOver" | "onColumnHeaderMouseLeave" | "onColumnHeaderClicked" | "onColumnHeaderContextMenu" | "onComponentStateChanged" | "
|
|
5
|
+
export declare const _PUBLIC_EVENT_HANDLERS_MAP: Record<"bodyScroll" | "dragStarted" | "dragStopped" | "dragCancelled" | "tooltipShow" | "tooltipHide" | "columnEverythingChanged" | "newColumnsLoaded" | "columnPivotModeChanged" | "pivotMaxColumnsExceeded" | "columnRowGroupChanged" | "expandOrCollapseAll" | "columnPivotChanged" | "gridColumnsChanged" | "columnValueChanged" | "columnMoved" | "columnVisible" | "columnPinned" | "columnGroupOpened" | "columnResized" | "displayedColumnsChanged" | "virtualColumnsChanged" | "columnHeaderMouseOver" | "columnHeaderMouseLeave" | "columnHeaderClicked" | "columnHeaderContextMenu" | "asyncTransactionsFlushed" | "rowGroupOpened" | "rowDataUpdated" | "pinnedRowDataChanged" | "pinnedRowsChanged" | "rangeSelectionChanged" | "cellSelectionChanged" | "chartCreated" | "chartRangeSelectionChanged" | "chartOptionsChanged" | "chartDestroyed" | "toolPanelVisibleChanged" | "toolPanelSizeChanged" | "modelUpdated" | "cutStart" | "cutEnd" | "pasteStart" | "pasteEnd" | "fillStart" | "fillEnd" | "cellSelectionDeleteStart" | "cellSelectionDeleteEnd" | "rangeDeleteStart" | "rangeDeleteEnd" | "undoStarted" | "undoEnded" | "redoStarted" | "redoEnded" | "cellClicked" | "cellDoubleClicked" | "cellMouseDown" | "cellContextMenu" | "cellValueChanged" | "cellEditRequest" | "rowValueChanged" | "headerFocused" | "cellFocused" | "rowSelected" | "selectionChanged" | "cellKeyDown" | "cellMouseOver" | "cellMouseOut" | "filterChanged" | "filterModified" | "filterUiChanged" | "filterOpened" | "floatingFilterUiChanged" | "advancedFilterBuilderVisibleChanged" | "sortChanged" | "virtualRowRemoved" | "rowClicked" | "rowDoubleClicked" | "gridReady" | "gridPreDestroyed" | "gridSizeChanged" | "viewportChanged" | "firstDataRendered" | "rowEditingStarted" | "rowEditingStopped" | "cellEditingStarted" | "cellEditingStopped" | "bodyScrollEnd" | "paginationChanged" | "componentStateChanged" | "storeRefreshed" | "stateUpdated" | "columnMenuVisibleChanged" | "contextMenuVisibleChanged" | "rowDragEnter" | "rowDragMove" | "rowDragLeave" | "rowDragEnd" | "rowDragCancel" | "findChanged" | "rowResizeStarted" | "rowResizeEnded" | "columnsReset" | "bulkEditingStarted" | "bulkEditingStopped" | "batchEditingStarted" | "batchEditingStopped", "onCellValueChanged" | "onCellClicked" | "onCellDoubleClicked" | "onCellContextMenu" | "onToolPanelVisibleChanged" | "onToolPanelSizeChanged" | "onColumnMenuVisibleChanged" | "onContextMenuVisibleChanged" | "onCutStart" | "onCutEnd" | "onPasteStart" | "onPasteEnd" | "onColumnVisible" | "onColumnPinned" | "onColumnResized" | "onColumnMoved" | "onColumnValueChanged" | "onColumnPivotModeChanged" | "onColumnPivotChanged" | "onColumnGroupOpened" | "onNewColumnsLoaded" | "onGridColumnsChanged" | "onDisplayedColumnsChanged" | "onVirtualColumnsChanged" | "onColumnEverythingChanged" | "onColumnsReset" | "onColumnHeaderMouseOver" | "onColumnHeaderMouseLeave" | "onColumnHeaderClicked" | "onColumnHeaderContextMenu" | "onComponentStateChanged" | "onCellEditRequest" | "onRowValueChanged" | "onCellEditingStarted" | "onCellEditingStopped" | "onRowEditingStarted" | "onRowEditingStopped" | "onBulkEditingStarted" | "onBulkEditingStopped" | "onBatchEditingStarted" | "onBatchEditingStopped" | "onUndoStarted" | "onUndoEnded" | "onRedoStarted" | "onRedoEnded" | "onCellSelectionDeleteStart" | "onCellSelectionDeleteEnd" | "onRangeDeleteStart" | "onRangeDeleteEnd" | "onFillStart" | "onFillEnd" | "onFilterOpened" | "onFilterChanged" | "onFilterModified" | "onFilterUiChanged" | "onFloatingFilterUiChanged" | "onAdvancedFilterBuilderVisibleChanged" | "onFindChanged" | "onChartCreated" | "onChartRangeSelectionChanged" | "onChartOptionsChanged" | "onChartDestroyed" | "onCellKeyDown" | "onGridReady" | "onGridPreDestroyed" | "onFirstDataRendered" | "onGridSizeChanged" | "onModelUpdated" | "onVirtualRowRemoved" | "onViewportChanged" | "onBodyScroll" | "onBodyScrollEnd" | "onDragStarted" | "onDragStopped" | "onDragCancelled" | "onStateUpdated" | "onPaginationChanged" | "onRowDragEnter" | "onRowDragMove" | "onRowDragLeave" | "onRowDragEnd" | "onRowDragCancel" | "onRowResizeStarted" | "onRowResizeEnded" | "onColumnRowGroupChanged" | "onRowGroupOpened" | "onExpandOrCollapseAll" | "onPivotMaxColumnsExceeded" | "onPinnedRowDataChanged" | "onPinnedRowsChanged" | "onRowDataUpdated" | "onAsyncTransactionsFlushed" | "onStoreRefreshed" | "onHeaderFocused" | "onCellFocused" | "onCellMouseOver" | "onCellMouseOut" | "onCellMouseDown" | "onRowClicked" | "onRowDoubleClicked" | "onRowSelected" | "onSelectionChanged" | "onRangeSelectionChanged" | "onCellSelectionChanged" | "onTooltipShow" | "onTooltipHide" | "onSortChanged">;
|
|
@@ -53,6 +53,7 @@ export declare class CellCtrl extends BeanStub {
|
|
|
53
53
|
valueFormatted: any;
|
|
54
54
|
rangeFeature: ICellRangeFeature | undefined;
|
|
55
55
|
private rowResizeFeature;
|
|
56
|
+
private notesFeature;
|
|
56
57
|
private positionFeature;
|
|
57
58
|
private customStyleFeature;
|
|
58
59
|
editStyleFeature: ICellStyleFeature | undefined;
|
|
@@ -84,6 +85,8 @@ export declare class CellCtrl extends BeanStub {
|
|
|
84
85
|
disableEditorTooltipFeature(): void;
|
|
85
86
|
setComp(comp: ICellComp, eCell: HTMLElement, _eWrapper: HTMLElement | undefined, eCellWrapper: HTMLElement | undefined, printLayout: boolean, startEditing: boolean, compBean: BeanStub | undefined): void;
|
|
86
87
|
private checkFormulaError;
|
|
88
|
+
private hasFormulaError;
|
|
89
|
+
private hasCellValidationError;
|
|
87
90
|
private setupAutoHeight;
|
|
88
91
|
getCellAriaRole(): string;
|
|
89
92
|
isCellRenderer(): boolean;
|
|
@@ -118,6 +121,9 @@ export declare class CellCtrl extends BeanStub {
|
|
|
118
121
|
refreshCell(params?: RefreshCellsParams & {
|
|
119
122
|
newData?: boolean;
|
|
120
123
|
}): void;
|
|
124
|
+
showNote(focusEditor?: boolean): void;
|
|
125
|
+
refreshNoteState(): void;
|
|
126
|
+
isNoteHoverSuppressed(): boolean;
|
|
121
127
|
isCellEditable(): boolean;
|
|
122
128
|
formatValue(value: any): any;
|
|
123
129
|
private callValueFormatter;
|
|
@@ -12,8 +12,6 @@ export declare class CellPositionFeature extends BeanStub {
|
|
|
12
12
|
private readonly cellCtrl;
|
|
13
13
|
private readonly column;
|
|
14
14
|
private readonly rowNode;
|
|
15
|
-
private eSetLeft;
|
|
16
|
-
private eContent;
|
|
17
15
|
private colsSpanning;
|
|
18
16
|
private rowSpan;
|
|
19
17
|
constructor(cellCtrl: CellCtrl, beans: BeanCollection);
|
|
@@ -9,9 +9,11 @@ import type { RowContainerType } from '../../gridBodyComp/rowContainer/rowContai
|
|
|
9
9
|
import type { BrandedType } from '../../interfaces/brandedType';
|
|
10
10
|
import type { RenderedRowEvent } from '../../interfaces/iCallbackParams';
|
|
11
11
|
import type { RefreshRowsParams } from '../../interfaces/iCellsParams';
|
|
12
|
+
import type { ColumnPinnedType } from '../../interfaces/iColumn';
|
|
12
13
|
import type { RowPosition } from '../../interfaces/iRowPosition';
|
|
13
14
|
import type { IRowStyleFeature } from '../../interfaces/iRowStyleFeature';
|
|
14
15
|
import type { UserCompDetails } from '../../interfaces/iUserCompDetails';
|
|
16
|
+
import type { INotesFeature } from '../../interfaces/notes';
|
|
15
17
|
import { CellCtrl } from '../cell/cellCtrl';
|
|
16
18
|
import type { ICellRenderer, ICellRendererParams } from '../cellRenderers/iCellRenderer';
|
|
17
19
|
export type RowCtrlInstanceId = BrandedType<string, 'RowCtrlInstanceId'>;
|
|
@@ -31,6 +33,7 @@ export interface IRowComp {
|
|
|
31
33
|
setUserStyles(styles: RowStyle | undefined): void;
|
|
32
34
|
refreshFullWidth(getUpdatedParams: () => ICellRendererParams): boolean;
|
|
33
35
|
}
|
|
36
|
+
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
34
37
|
export interface RowGui {
|
|
35
38
|
rowComp: IRowComp;
|
|
36
39
|
element: HTMLElement;
|
|
@@ -45,6 +48,8 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
45
48
|
readonly printLayout: boolean;
|
|
46
49
|
readonly instanceId: RowCtrlInstanceId;
|
|
47
50
|
private tooltipFeature;
|
|
51
|
+
private readonly fullWidthNotesFeature;
|
|
52
|
+
private readonly guiListenerOwners;
|
|
48
53
|
private rowType;
|
|
49
54
|
private leftGui;
|
|
50
55
|
private centerGui;
|
|
@@ -113,12 +118,21 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
113
118
|
private setCellCtrls;
|
|
114
119
|
private getCellCtrlsForContainer;
|
|
115
120
|
private createAllCellCtrls;
|
|
121
|
+
/**
|
|
122
|
+
* CellCtrls for the container if eagerly created in the constructor, or `null`
|
|
123
|
+
* when creation is deferred (animation-frame path) or skipped (full-width rows).
|
|
124
|
+
* We don't want to enable this during scrolling as well, as it can cause sluggishness
|
|
125
|
+
* during scroll.
|
|
126
|
+
* Used by framework wrappers to seed first render and avoid bulk-add flicker.
|
|
127
|
+
*/
|
|
128
|
+
getInitialCellCtrls(containerType: RowContainerType): CellCtrl[] | null;
|
|
116
129
|
private isCellEligibleToBeRemoved;
|
|
117
130
|
getDomOrder(): boolean;
|
|
118
131
|
private listenOnDomOrder;
|
|
119
132
|
private setAnimateFlags;
|
|
120
133
|
isFullWidth(): boolean;
|
|
121
134
|
refreshFullWidth(): boolean;
|
|
135
|
+
getNotesFeature(): INotesFeature | undefined;
|
|
122
136
|
private addListeners;
|
|
123
137
|
private addListenersForCellComps;
|
|
124
138
|
/** Should only ever be triggered on source rows (i.e. not on pinned siblings) */
|
|
@@ -152,9 +166,14 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
152
166
|
findFullWidthInfoForEvent(event?: Event): {
|
|
153
167
|
rowGui: RowGui;
|
|
154
168
|
column: AgColumn;
|
|
169
|
+
pinned: ColumnPinnedType;
|
|
155
170
|
} | undefined;
|
|
156
171
|
private findFullWidthRowGui;
|
|
157
|
-
|
|
172
|
+
getColumnForFullWidth(fullWidthRowGui?: RowGui): AgColumn;
|
|
173
|
+
getPinnedForFullWidth(fullWidthRowGui?: RowGui): ColumnPinnedType;
|
|
174
|
+
addManagedGuiElementListeners<TEvent extends keyof HTMLElementEventMap>(gui: RowGui, handlers: {
|
|
175
|
+
[K in TEvent]?: (event: HTMLElementEventMap[K]) => void;
|
|
176
|
+
}): void;
|
|
158
177
|
private onRowMouseDown;
|
|
159
178
|
isSuppressMouseEvent(mouseEvent: MouseEvent): boolean;
|
|
160
179
|
onRowClick(mouseEvent: MouseEvent): void;
|
|
@@ -174,7 +193,8 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
|
|
|
174
193
|
protected getInitialRowClasses(rowContainerType: RowContainerType): string[];
|
|
175
194
|
private processStylesFromGridOptions;
|
|
176
195
|
private onRowSelected;
|
|
177
|
-
announceDescription(): void;
|
|
196
|
+
announceDescription(cellCtrl?: CellCtrl): void;
|
|
197
|
+
private announceNoteDescription;
|
|
178
198
|
protected addHoverFunctionality(eGui: RowGui): void;
|
|
179
199
|
resetHoveredStatus(el?: HTMLElement): void;
|
|
180
200
|
private roundRowTopToBounds;
|
|
@@ -6,6 +6,8 @@ import type { CellPosition } from '../../interfaces/iCellPosition';
|
|
|
6
6
|
import type { CellSpan } from './rowSpanCache';
|
|
7
7
|
export declare class RowSpanService extends BeanStub<'spannedCellsUpdated'> implements NamedBean {
|
|
8
8
|
beanName: "rowSpanSvc";
|
|
9
|
+
/** Active only if `enableCellSpan=true` */
|
|
10
|
+
active: boolean;
|
|
9
11
|
private readonly spanningColumns;
|
|
10
12
|
postConstruct(): void;
|
|
11
13
|
/**
|
|
@@ -11,6 +11,12 @@ export interface ColumnFilterSpec {
|
|
|
11
11
|
interface FloatingFilterSpec {
|
|
12
12
|
source: 'floating-filter';
|
|
13
13
|
colId?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Index of the input within a multi-text-input floating filter (e.g. number range filter
|
|
16
|
+
* with two inputs). Set by `testIdService` only when more than one input is present in
|
|
17
|
+
* the floating-filter cell; omitted for the single-input case.
|
|
18
|
+
*/
|
|
19
|
+
index?: number;
|
|
14
20
|
}
|
|
15
21
|
export type FilterSpec = FilterToolpanelSpec | ColumnFilterSpec | FloatingFilterSpec;
|
|
16
22
|
export declare const agTestIdFor: {
|
|
@@ -446,6 +446,18 @@ export interface CoreParams extends SharedThemeParams {
|
|
|
446
446
|
* Padding above and below the text in tab buttons in the sidebar
|
|
447
447
|
*/
|
|
448
448
|
sideButtonVerticalPadding: LengthValue;
|
|
449
|
+
/**
|
|
450
|
+
* Background color of the toolbar. Defaults to the header background color.
|
|
451
|
+
*/
|
|
452
|
+
toolbarBackgroundColor: ColorValue;
|
|
453
|
+
/**
|
|
454
|
+
* Text color in the toolbar. Defaults to the header text color.
|
|
455
|
+
*/
|
|
456
|
+
toolbarTextColor: ColorValue;
|
|
457
|
+
/**
|
|
458
|
+
* Border style for the vertical separator between toolbar items.
|
|
459
|
+
*/
|
|
460
|
+
toolbarSeparatorBorder: BorderValue;
|
|
449
461
|
/**
|
|
450
462
|
* The dividing line between sections of menus e.g. column menu and right-click context menu
|
|
451
463
|
*/
|
|
@@ -462,6 +474,10 @@ export interface CoreParams extends SharedThemeParams {
|
|
|
462
474
|
* Background color to apply when a cell value changes and enableCellChangeFlash is enabled
|
|
463
475
|
*/
|
|
464
476
|
valueChangeValueHighlightBackgroundColor: ColorValue;
|
|
477
|
+
/**
|
|
478
|
+
* Background color of the outermost container around the grid.
|
|
479
|
+
*/
|
|
480
|
+
wrapperBackgroundColor: ColorValue;
|
|
465
481
|
/**
|
|
466
482
|
* Borders around the outside of the grid
|
|
467
483
|
*/
|
|
@@ -3,9 +3,11 @@ import type { ThemeLogger } from '../agStack/theming/themeLogger';
|
|
|
3
3
|
import type { CoreParams } from './core/core-css';
|
|
4
4
|
import type { BatchEditStyleParams } from './parts/batch-edit/batch-edit-styles';
|
|
5
5
|
import type { ButtonStyleParams } from './parts/button-style/button-styles';
|
|
6
|
+
import type { FormulaStyleParams } from './parts/formula-style/formula-styles';
|
|
7
|
+
import type { NoteStyleParams } from './parts/notes/note-styles';
|
|
6
8
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
7
9
|
export declare const gridThemeLogger: ThemeLogger;
|
|
8
10
|
/**
|
|
9
11
|
* Create a custom theme containing core grid styles but no parts.
|
|
10
12
|
*/
|
|
11
|
-
export declare const createTheme: () => Theme<CoreParams & ButtonStyleParams & BatchEditStyleParams>;
|
|
13
|
+
export declare const createTheme: () => Theme<CoreParams & ButtonStyleParams & BatchEditStyleParams & FormulaStyleParams & NoteStyleParams>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { Part } from '../../../agStack/theming/part';
|
|
2
|
+
import type { BorderValue, ColorValue, LengthValue } from '../../../agStack/theming/themeTypes';
|
|
3
|
+
export type NoteStyleParams = {
|
|
4
|
+
/**
|
|
5
|
+
* The color of the note indicator
|
|
6
|
+
*/
|
|
7
|
+
noteIndicatorColor: ColorValue;
|
|
8
|
+
/**
|
|
9
|
+
* The size of the note indicator
|
|
10
|
+
*/
|
|
11
|
+
noteIndicatorSize: LengthValue;
|
|
12
|
+
/**
|
|
13
|
+
* The background color of the note popup
|
|
14
|
+
*/
|
|
15
|
+
notePopupBackgroundColor: ColorValue;
|
|
16
|
+
/**
|
|
17
|
+
* The color of the note popup text
|
|
18
|
+
*/
|
|
19
|
+
notePopupTextColor: ColorValue;
|
|
20
|
+
/**
|
|
21
|
+
* The color of the note popup input text
|
|
22
|
+
*/
|
|
23
|
+
notePopupInputTextColor: ColorValue;
|
|
24
|
+
/**
|
|
25
|
+
* The background color of the note popup input
|
|
26
|
+
*/
|
|
27
|
+
notePopupInputBackgroundColor: ColorValue;
|
|
28
|
+
/**
|
|
29
|
+
* The border of the note popup
|
|
30
|
+
*/
|
|
31
|
+
notePopupBorder: BorderValue;
|
|
32
|
+
/**
|
|
33
|
+
* The padding inside the note popup
|
|
34
|
+
*/
|
|
35
|
+
notePopupPadding: LengthValue;
|
|
36
|
+
};
|
|
37
|
+
export declare const noteStyleBase: Part<NoteStyleParams>;
|
|
@@ -6,15 +6,16 @@ import type { ButtonStyleParams } from '../button-style/button-styles';
|
|
|
6
6
|
import type { CheckboxStyleParams } from '../checkbox-style/checkbox-styles';
|
|
7
7
|
import type { FormulaStyleParams } from '../formula-style/formula-styles';
|
|
8
8
|
import type { InputStyleParams } from '../input-style/input-styles';
|
|
9
|
+
import type { NoteStyleParams } from '../notes/note-styles';
|
|
9
10
|
import type { TabStyleParams } from '../tab-style/tab-styles';
|
|
10
|
-
export type ThemeDefaultParams = CoreParams & ButtonStyleParams & CheckboxStyleParams & TabStyleParams & InputStyleParams & BatchEditStyleParams;
|
|
11
|
+
export type ThemeDefaultParams = CoreParams & ButtonStyleParams & CheckboxStyleParams & TabStyleParams & InputStyleParams & BatchEditStyleParams & FormulaStyleParams & NoteStyleParams;
|
|
11
12
|
/**
|
|
12
13
|
* Used as an entry point for collecting parameters for automated API
|
|
13
14
|
* documentation generation on the website and in Theme Builder
|
|
14
15
|
*
|
|
15
16
|
* @knipIgnore
|
|
16
17
|
*/
|
|
17
|
-
export type AllThemeParamsForAPIDocumentation = ThemeDefaultParams
|
|
18
|
+
export type AllThemeParamsForAPIDocumentation = ThemeDefaultParams;
|
|
18
19
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
19
20
|
export declare const themeQuartzParams: () => {
|
|
20
21
|
fontFamily: (string | {
|
|
@@ -122,6 +123,9 @@ export declare const themeBalhamParams: () => {
|
|
|
122
123
|
statusBarLabelFontWeight: number;
|
|
123
124
|
statusBarValueFontWeight: number;
|
|
124
125
|
panelTitleBarIconColor: ColorValue;
|
|
126
|
+
toolbarTextColor: {
|
|
127
|
+
ref: string;
|
|
128
|
+
};
|
|
125
129
|
colorPickerThumbSize: number;
|
|
126
130
|
colorPickerTrackSize: number;
|
|
127
131
|
colorPickerThumbBorderWidth: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BeanCollection } from '../context/context';
|
|
2
2
|
import type { AgColumn } from '../entities/agColumn';
|
|
3
|
-
export type IconName = 'columnGroupOpened' | 'columnGroupClosed' | 'columnSelectClosed' | 'columnSelectOpen' | 'columnSelectIndeterminate' | 'accordionClosed' | 'accordionOpen' | 'accordionIndeterminate' | 'columnMovePin' | 'columnMoveHide' | 'columnMoveMove' | 'columnMoveLeft' | 'columnMoveRight' | 'columnMoveGroup' | 'columnMoveValue' | 'columnMovePivot' | 'dropNotAllowed' | 'groupContracted' | 'groupExpanded' | 'setFilterGroupClosed' | 'setFilterGroupOpen' | 'setFilterGroupIndeterminate' | 'setFilterLoading' | 'chart' | 'close' | 'cancel' | 'check' | 'first' | 'previous' | 'next' | 'last' | 'linked' | 'unlinked' | 'colorPicker' | 'groupLoading' | 'overlayLoading' | 'overlayExporting' | 'menu' | 'legacyMenu' | 'loadingMenuItems' | 'menuAlt' | 'filter' | 'filterActive' | 'filterAdd' | 'filterCardExpand' | 'filterCardCollapse' | 'filterCardEditing' | 'filterTab' | 'filtersToolPanel' | 'columns' | 'columnsToolPanel' | 'maximize' | 'minimize' | 'menuPin' | 'menuValue' | 'menuAddRowGroup' | 'menuRemoveRowGroup' | 'clipboardCopy' | 'clipboardCut' | 'clipboardPaste' | 'pivotPanel' | 'rowGroupPanel' | 'valuePanel' | 'columnDrag' | 'rowDrag' | 'rowPin' | 'rowPinTop' | 'rowPinBottom' | 'rowUnpin' | 'save' | 'csvExport' | 'excelExport' | 'smallDown' | 'selectOpen' | 'richSelectOpen' | 'richSelectRemove' | 'richSelectLoading' | 'smallLeft' | 'smallRight' | 'panelDelimiter' | 'panelDelimiterRtl' | 'subMenuOpen' | 'subMenuOpenRtl' | 'smallUp' | 'sortAscending' | 'sortDescending' | 'sortAbsoluteAscending' | 'sortAbsoluteDescending' | 'sortUnSort' | 'advancedFilterBuilder' | 'advancedFilterBuilderDrag' | 'advancedFilterBuilderInvalid' | 'advancedFilterBuilderMoveUp' | 'advancedFilterBuilderMoveDown' | 'advancedFilterBuilderAdd' | 'advancedFilterBuilderRemove' | 'advancedFilterBuilderSelectOpen' | 'chartsMenu' | 'chartsMenuEdit' | 'chartsMenuAdvancedSettings' | 'chartsMenuAdd' | 'chartsColorPicker' | 'chartsThemePrevious' | 'chartsThemeNext' | 'chartsDownload' | 'ensureColumnVisible' | 'checkboxChecked' | 'checkboxIndeterminate' | 'checkboxUnchecked' | 'radioButtonOn' | 'radioButtonOff';
|
|
3
|
+
export type IconName = 'columnGroupOpened' | 'columnGroupClosed' | 'columnSelectClosed' | 'columnSelectOpen' | 'columnSelectIndeterminate' | 'accordionClosed' | 'accordionOpen' | 'accordionIndeterminate' | 'columnMovePin' | 'columnMoveHide' | 'columnMoveMove' | 'columnMoveLeft' | 'columnMoveRight' | 'columnMoveGroup' | 'columnMoveValue' | 'columnMovePivot' | 'dropNotAllowed' | 'groupContracted' | 'groupExpanded' | 'setFilterGroupClosed' | 'setFilterGroupOpen' | 'setFilterGroupIndeterminate' | 'setFilterLoading' | 'chart' | 'close' | 'cancel' | 'check' | 'first' | 'previous' | 'next' | 'last' | 'linked' | 'unlinked' | 'colorPicker' | 'groupLoading' | 'overlayLoading' | 'overlayExporting' | 'menu' | 'legacyMenu' | 'loadingMenuItems' | 'menuAlt' | 'filter' | 'filterActive' | 'filterAdd' | 'filterCardExpand' | 'filterCardCollapse' | 'filterCardEditing' | 'filterTab' | 'filtersToolPanel' | 'columns' | 'columnsToolPanel' | 'maximize' | 'minimize' | 'menuPin' | 'menuValue' | 'menuAddRowGroup' | 'menuRemoveRowGroup' | 'clipboardCopy' | 'clipboardCut' | 'clipboardPaste' | 'pivotPanel' | 'rowGroupPanel' | 'valuePanel' | 'columnDrag' | 'rowDrag' | 'rowPin' | 'rowPinTop' | 'rowPinBottom' | 'rowUnpin' | 'save' | 'csvExport' | 'excelExport' | 'smallDown' | 'selectOpen' | 'richSelectOpen' | 'richSelectRemove' | 'richSelectLoading' | 'smallLeft' | 'smallRight' | 'panelDelimiter' | 'panelDelimiterRtl' | 'subMenuOpen' | 'subMenuOpenRtl' | 'smallUp' | 'sortAscending' | 'sortDescending' | 'sortAbsoluteAscending' | 'sortAbsoluteDescending' | 'sortUnSort' | 'advancedFilterBuilder' | 'advancedFilterBuilderDrag' | 'advancedFilterBuilderInvalid' | 'advancedFilterBuilderMoveUp' | 'advancedFilterBuilderMoveDown' | 'advancedFilterBuilderAdd' | 'advancedFilterBuilderRemove' | 'advancedFilterBuilderSelectOpen' | 'chartsMenu' | 'chartsMenuEdit' | 'chartsMenuAdvancedSettings' | 'chartsMenuAdd' | 'chartsColorPicker' | 'chartsThemePrevious' | 'chartsThemeNext' | 'chartsDownload' | 'ensureColumnVisible' | 'checkboxChecked' | 'checkboxIndeterminate' | 'checkboxUnchecked' | 'radioButtonOn' | 'radioButtonOff' | 'search';
|
|
4
4
|
export type Icons = {
|
|
5
5
|
[key: string]: ((...args: any[]) => any) | string;
|
|
6
6
|
};
|
|
@@ -3,7 +3,7 @@ import type { Column } from '../../interfaces/iColumn';
|
|
|
3
3
|
import type { CommunityModuleName, EnterpriseModuleName, ValidationModuleName } from '../../interfaces/iModule';
|
|
4
4
|
import type { RowModelType } from '../../interfaces/iRowModel';
|
|
5
5
|
import type { RowNodeEventType, RowPinnedType } from '../../interfaces/iRowNode';
|
|
6
|
-
export declare const NoModulesRegisteredError: () =>
|
|
6
|
+
export declare const NoModulesRegisteredError: (usesAgGridProvider?: boolean) => string;
|
|
7
7
|
export declare function missingRowModelTypeError({ moduleName, rowModelType, }: {
|
|
8
8
|
moduleName: CommunityModuleName | EnterpriseModuleName;
|
|
9
9
|
rowModelType: RowModelType;
|
|
@@ -263,6 +263,12 @@ export declare const AG_GRID_ERRORS: {
|
|
|
263
263
|
agTotalRowCountComponent?: any;
|
|
264
264
|
agFilteredRowCountComponent?: any;
|
|
265
265
|
agTotalAndFilteredRowCountComponent?: any;
|
|
266
|
+
agButtonToolbarItem?: any;
|
|
267
|
+
agFindToolbarItem?: any;
|
|
268
|
+
agMenuToolbarItem?: any;
|
|
269
|
+
agPivotPanelToolbarItem?: any;
|
|
270
|
+
agQuickFilterToolbarItem?: any;
|
|
271
|
+
agRowGroupPanelToolbarItem?: any;
|
|
266
272
|
agFindCellRenderer?: any;
|
|
267
273
|
};
|
|
268
274
|
jsComps: {
|
|
@@ -475,7 +481,7 @@ export declare const AG_GRID_ERRORS: {
|
|
|
475
481
|
}) => `Provided ids must be of string type. Invalid id provided: ${string}`;
|
|
476
482
|
197: () => "`toggledNodes` must be an array of string ids.";
|
|
477
483
|
199: () => "getSelectedNodes and getSelectedRows functions cannot be used with select all functionality with the server-side row model. Use `api.getServerSideSelectionState()` instead.";
|
|
478
|
-
200: ({ reasonOrId, moduleName, gridScoped, gridId, rowModelType, additionalText, isUmd, }: {
|
|
484
|
+
200: ({ reasonOrId, moduleName, gridScoped, gridId, rowModelType, additionalText, isUmd, usesAgGridProvider, }: {
|
|
479
485
|
reasonOrId: string | keyof MissingModuleErrors;
|
|
480
486
|
moduleName: ValidationModuleName | ValidationModuleName[];
|
|
481
487
|
gridScoped: boolean;
|
|
@@ -483,6 +489,7 @@ export declare const AG_GRID_ERRORS: {
|
|
|
483
489
|
rowModelType: RowModelType;
|
|
484
490
|
additionalText?: string;
|
|
485
491
|
isUmd?: boolean;
|
|
492
|
+
usesAgGridProvider?: boolean;
|
|
486
493
|
}) => string;
|
|
487
494
|
201: ({ rowModelType }: {
|
|
488
495
|
rowModelType: string;
|
|
@@ -574,12 +581,13 @@ export declare const AG_GRID_ERRORS: {
|
|
|
574
581
|
259: ({ part }: {
|
|
575
582
|
part: any;
|
|
576
583
|
}) => `the argument to theme.withPart must be a Theming API part object, received: ${any}`;
|
|
577
|
-
260: ({ propName, compName, gridScoped, gridId, rowModelType, }: {
|
|
584
|
+
260: ({ propName, compName, gridScoped, gridId, rowModelType, usesAgGridProvider, }: {
|
|
578
585
|
propName: string;
|
|
579
586
|
compName: string;
|
|
580
587
|
gridScoped: boolean;
|
|
581
588
|
gridId: string;
|
|
582
589
|
rowModelType: RowModelType;
|
|
590
|
+
usesAgGridProvider?: boolean;
|
|
583
591
|
}) => string;
|
|
584
592
|
261: () => "As of v33, `column.isHovered()` is deprecated. Use `api.isColumnHovered(column)` instead.";
|
|
585
593
|
262: () => "As of v33, icon key \"smallDown\" is deprecated. Use \"advancedFilterBuilderSelect\" for Advanced Filter Builder dropdown, \"selectOpen\" for Select cell editor and dropdowns (e.g. Integrated Charts menu), \"richSelectOpen\" for Rich Select cell editor.";
|
|
@@ -600,7 +608,7 @@ export declare const AG_GRID_ERRORS: {
|
|
|
600
608
|
id: string;
|
|
601
609
|
parentId: string;
|
|
602
610
|
}) => `Parent row not found for row with id='${string}' and parent id='${string}'. Showing row with id='${string}' as a root-level node.`;
|
|
603
|
-
272: () =>
|
|
611
|
+
272: () => string;
|
|
604
612
|
273: ({ providedId, usedId }: {
|
|
605
613
|
providedId: string;
|
|
606
614
|
usedId: string;
|
|
@@ -651,6 +659,19 @@ export declare const AG_GRID_ERRORS: {
|
|
|
651
659
|
296: () => "Since v35, `api.hideOverlay()` does not hide the overlay when `activeOverlay` is set. Set `activeOverlay=null` instead.";
|
|
652
660
|
297: () => "`api.hideOverlay()` does not hide the no matching rows overlay as it is only controlled by grid state. Set `suppressOverlays=[\"noMatchingRows\"] to not show it.";
|
|
653
661
|
298: () => "Columns Tool Panel 'buttons' requires 'apply' to enable Deferred Updates.";
|
|
662
|
+
301: ({ key }: {
|
|
663
|
+
key: string;
|
|
664
|
+
}) => `Toolbar item '${string}' is missing the 'toolbarItem' property and will not be rendered.`;
|
|
665
|
+
302: ({ itemName, moduleName, gridScoped, gridId, rowModelType, }: {
|
|
666
|
+
itemName: string;
|
|
667
|
+
moduleName: ValidationModuleName | ValidationModuleName[];
|
|
668
|
+
gridScoped: boolean;
|
|
669
|
+
gridId: string;
|
|
670
|
+
rowModelType: RowModelType;
|
|
671
|
+
}) => string;
|
|
672
|
+
303: ({ key }: {
|
|
673
|
+
key: string;
|
|
674
|
+
}) => `Multiple toolbar items share the explicit key '${string}'. Only the first item is rendered.`;
|
|
654
675
|
};
|
|
655
676
|
export type ErrorMap = typeof AG_GRID_ERRORS;
|
|
656
677
|
export type ErrorId = keyof ErrorMap;
|
|
@@ -10,6 +10,13 @@ import type { IconName } from '../utils/icon';
|
|
|
10
10
|
export declare class ValidationService extends BeanStub implements NamedBean {
|
|
11
11
|
beanName: "validation";
|
|
12
12
|
private gridOptions;
|
|
13
|
+
/**
|
|
14
|
+
* Caches per-property-name validation results keyed by objectName.
|
|
15
|
+
* Each inner map records: property name → true if valid for runtime checks, false if not.
|
|
16
|
+
* A property is invalid if it has an unsupported row model, or is an unrecognised name.
|
|
17
|
+
* Deprecation warnings and fuzzy suggestions are emitted once when first encountered.
|
|
18
|
+
*/
|
|
19
|
+
private readonly propertyNameCache;
|
|
13
20
|
wireBeans(beans: BeanCollection): void;
|
|
14
21
|
warnOnInitialPropertyUpdate(source: AgPropertyChangedSource, key: string): void;
|
|
15
22
|
processGridOptions(options: GridOptions): void;
|
|
@@ -27,5 +34,4 @@ export declare class ValidationService extends BeanStub implements NamedBean {
|
|
|
27
34
|
validateColDef(colDef: ColDef | ColGroupDef): void;
|
|
28
35
|
private processOptions;
|
|
29
36
|
private checkForRequiredDependencies;
|
|
30
|
-
private checkProperties;
|
|
31
37
|
}
|
|
@@ -2,10 +2,13 @@ import type { BeanCollection } from '../context/context';
|
|
|
2
2
|
import type { GridOptions } from '../entities/gridOptions';
|
|
3
3
|
import type { ValidationModuleName } from '../interfaces/iModule';
|
|
4
4
|
import type { RowModelType } from '../interfaces/iRowModel';
|
|
5
|
+
/** Build the set of all property names that should be accepted without warning. */
|
|
6
|
+
export declare function buildAllValidNames<T extends object>(allProperties: string[], deprecations: Deprecations<T>, propertyExceptions?: string[]): Set<string>;
|
|
5
7
|
export interface OptionsValidator<T extends object> {
|
|
6
8
|
objectName: string;
|
|
7
|
-
allProperties
|
|
8
|
-
|
|
9
|
+
allProperties: string[];
|
|
10
|
+
/** Pre-computed set of all accepted property names (valid + deprecated + exceptions + Vue). */
|
|
11
|
+
allValidNames: Set<string>;
|
|
9
12
|
docsUrl?: `${string}/`;
|
|
10
13
|
deprecations: Deprecations<T>;
|
|
11
14
|
validations: Validations<T>;
|