ag-grid-community 35.2.0 → 35.3.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/README.md +36 -36
- package/dist/ag-grid-community.js +14153 -1434
- 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 +2037 -1420
- package/dist/package/main.cjs.js +2034 -1402
- package/dist/package/main.cjs.min.js +49 -41
- package/dist/package/main.esm.min.mjs +46 -38
- package/dist/package/main.esm.mjs +2034 -1402
- 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/inject.d.ts +3 -2
- 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 +17 -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
|
@@ -42,6 +42,8 @@ export type { AgPropertyChangedSource as _AgPropertyChangedSource, AgPropertyCha
|
|
|
42
42
|
export type { ITooltipFeature as _ITooltipFeature, TooltipCtrl as _TooltipCtrl } from './agStack/interfaces/iTooltip';
|
|
43
43
|
export { AgPopupComponent } from './agStack/popup/agPopupComponent';
|
|
44
44
|
export { BasePopupService as _BasePopupService } from './agStack/popup/basePopupService';
|
|
45
|
+
export { computeAlignedPosition as _computeAlignedPosition, findBestPlacement as _findBestPlacement, getEffectivePlacements as _getEffectivePlacements, getRectSize as _getRectSize, fitsWithinBounds as _fitsWithinBounds, toRelativeRect as _toRelativeRect, } from './agStack/popup/popupPositionUtils';
|
|
46
|
+
export type { Alignment as _Alignment, Anchor as _Anchor } from './agStack/popup/popupPositionUtils';
|
|
45
47
|
export { AgPositionableFeature as _AgPositionableFeature } from './agStack/rendering/agPositionableFeature';
|
|
46
48
|
export type { PositionableOptions, ResizableSides, ResizableStructure, } from './agStack/rendering/agPositionableFeature';
|
|
47
49
|
export { AutoScrollService } from './agStack/rendering/autoScrollService';
|
|
@@ -59,7 +61,7 @@ export { BaseTooltipStateManager as _BaseTooltipStateManager } from './agStack/t
|
|
|
59
61
|
export type { BaseTooltipParams as _BaseTooltipParams } from './agStack/tooltip/baseTooltipStateManager';
|
|
60
62
|
export { _getAriaPosInSet, _removeAriaExpanded, _removeAriaSort, _setAriaActiveDescendant, _setAriaChecked, _setAriaColCount, _setAriaColIndex, _setAriaColSpan, _setAriaControls, _setAriaControlsAndLabel, _setAriaDescribedBy, _setAriaDisabled, _setAriaExpanded, _setAriaHasPopup, _setAriaHidden, _setAriaInvalid, _setAriaLabel, _setAriaLabelledBy, _setAriaLevel, _setAriaOrientation, _setAriaPosInSet, _setAriaRole, _setAriaRowCount, _setAriaRowIndex, _setAriaSelected, _setAriaSetSize, _setAriaSort, } from './agStack/utils/aria';
|
|
61
63
|
export type { AriaSortState } from './agStack/utils/aria';
|
|
62
|
-
export { _areEqual, _flatten, _last, _removeAllFromArray, _removeFromArray } from './agStack/utils/array';
|
|
64
|
+
export { _areEqual, _flatten, _last, _removeAllFromArray, _removeFromArray, _reuseArrayIfEqual, } from './agStack/utils/array';
|
|
63
65
|
export { _parseBigIntOrNull } from './agStack/utils/bigInt';
|
|
64
66
|
export { _isBrowserFirefox, _isBrowserSafari, _isIOSUserAgent } from './agStack/utils/browser';
|
|
65
67
|
export { _getDateParts, MONTHS as _MONTHS, _parseDateTimeFromString, _serialiseDate } from './agStack/utils/date';
|
|
@@ -76,7 +78,8 @@ export { _getLocaleTextFromFunc, _getLocaleTextFromMap, _getLocaleTextFunc, _tra
|
|
|
76
78
|
export { _isPromise } from './agStack/utils/promise';
|
|
77
79
|
export { _camelCaseToHumanText, _escapeString, _isExpressionString, _toString } from './agStack/utils/string';
|
|
78
80
|
export type { AgWidgetSelectorType as _AgWidgetSelectorType } from './agStack/widgets/agWidgetSelectorType';
|
|
79
|
-
export type { _AdvancedFilterGridApi, _AggregationGridApi, _AiToolkitGridApi, _BatchEditApi, _CellSelectionGridApi, _ClientSideRowModelGridApi, _ClipboardGridApi, _ColumnChooserGridApi, _ContextMenuGridApi, _CsvExportGridApi, _ExcelExportGridApi, _FindApi, _GridChartsGridApi, _InfiniteRowModelGridApi, _MasterDetailGridApi, _PinnedRowGridApi, _PivotGridApi, _RowGroupingGridApi, _ServerSideRowModelGridApi, _SideBarGridApi, _StatusBarGridApi, } from './api/gridApi';
|
|
81
|
+
export type { _AdvancedFilterGridApi, _AggregationGridApi, _AiToolkitGridApi, _BatchEditApi, _CellSelectionGridApi, _ClientSideRowModelGridApi, _ClipboardGridApi, _ColumnChooserGridApi, _ContextMenuGridApi, _CsvExportGridApi, _ExcelExportGridApi, _FindApi, _FormulaGridApi, _GridChartsGridApi, _InfiniteRowModelGridApi, _MasterDetailGridApi, _NotesGridApi, _PinnedRowGridApi, _PivotGridApi, _RowGroupingGridApi, _ServerSideRowModelGridApi, _SideBarGridApi, _StatusBarGridApi, _ToolbarGridApi, } from './api/gridApi';
|
|
82
|
+
export type { INoteAccess, INotesFeature, INotesDataService, INotesService } from './interfaces/notes';
|
|
80
83
|
export { _getClientSideRowModel, _getServerSideRowModel, _getViewportRowModel } from './api/rowModelApiUtils';
|
|
81
84
|
export { ChangedRowNodes as _ChangedRowNodes } from './clientSideRowModel/changedRowNodes';
|
|
82
85
|
export { _csrmFirstLeaf, _csrmReorderAllLeafs } from './clientSideRowModel/clientSideRowModelUtils';
|
|
@@ -100,7 +103,7 @@ export type { UserComponentFactory } from './components/framework/userComponentF
|
|
|
100
103
|
export { _getCellRendererDetails, _getEditorRendererDetails, _getFilterDetails, _getFloatingFilterCompDetails, _getInnerCellRendererDetails, } from './components/framework/userCompUtils';
|
|
101
104
|
export type { Bean, NamedBean } from './context/bean';
|
|
102
105
|
export { BeanStub } from './context/beanStub';
|
|
103
|
-
export type { BeanCollection, BeanName, SingletonBean, StatusPanelComponentName } from './context/context';
|
|
106
|
+
export type { BeanCollection, BeanName, SingletonBean, StatusPanelComponentName, ToolbarItemComponentName, } from './context/context';
|
|
104
107
|
export type { Context } from './context/context';
|
|
105
108
|
export type { CtrlsService } from './ctrlsService';
|
|
106
109
|
export type { DragAndDropService } from './dragAndDrop/dragAndDropService';
|
|
@@ -120,7 +123,7 @@ export type { Environment } from './environment';
|
|
|
120
123
|
export { _GET_ALL_EVENTS, _PUBLIC_EVENTS, ALWAYS_SYNC_GLOBAL_EVENTS } from './eventTypes';
|
|
121
124
|
export { BaseCreator } from './export/baseCreator';
|
|
122
125
|
export { BaseGridSerializingSession } from './export/baseGridSerializingSession';
|
|
123
|
-
export { _downloadFile } from './
|
|
126
|
+
export { _downloadFile } from './agStack/utils/download';
|
|
124
127
|
export { _getFilterModel, _refreshFilterUi, _refreshHandlerAndUi, _updateFilterModel, } from './filter/columnFilterUtils';
|
|
125
128
|
export { AgFilterButtonSelector, FilterButtonComp } from './filter/filterButtonComp';
|
|
126
129
|
export type { FilterButton, FilterButtonEvent } from './filter/filterButtonComp';
|
|
@@ -146,7 +149,7 @@ export type { IRowContainerComp, RowContainerName, RowContainerOptions, RowConta
|
|
|
146
149
|
export type { ScrollVisibleService } from './gridBodyComp/scrollVisibleService';
|
|
147
150
|
export { GridCtrl } from './gridComp/gridCtrl';
|
|
148
151
|
export type { IGridComp } from './gridComp/gridCtrl';
|
|
149
|
-
export { _addGridCommonParams, _canSkipShowingRowGroup, _combineAttributesAndGridOptions, _getCallbackForEvent, _getCheckboxes, _getCheckboxLocation, _getEnableColumnSelection, _getFillHandle, _getGrandTotalRow, _getGridOption, _getGroupAggFiltering, _getGroupSelection, _getGroupSelectsDescendants, _getGroupTotalRowCallback, _getHeaderCheckbox, _getIsRowSelectable, _getMaxConcurrentDatasourceRequests, _getRowHeightAsNumber, _getRowHeightForNode, _getRowIdCallback, _getRowSelectionMode, _getSuppressMultiRanges, _interpretAsRightClick, _isAnimateRows, _isCellSelectionEnabled, _isClientSideRowModel, _isColumnMenuAnchoringEnabled, _isColumnsSortingCoupledToGroup, _isDomLayout, _isFullWidthGroupRow, _isGetRowHeightFunction, _isGroupHideColumnsUntilExpanded, _isGroupMultiAutoColumn, _isGroupRowsSticky, _isGroupUseEntireRow, _isLegacyMenuEnabled, _isMultiRowSelection, _isRowNumbers, _isRowSelection, _isServerSideRowModel, _isSetFilterByDefault, _isUsingNewCellSelectionAPI, _isUsingNewRowSelectionAPI, _processOnChange, _shouldUpdateColVisibilityAfterGroup, } from './gridOptionsUtils';
|
|
152
|
+
export { _addGridCommonParams, _canSkipShowingRowGroup, _combineAttributesAndGridOptions, _getCallbackForEvent, _getCheckboxes, _getCheckboxLocation, _getEnableColumnSelection, _getFillHandle, _getGrandTotalPinnedFloat, _getGrandTotalRow, _getGridOption, _getGroupAggFiltering, _getGroupSelection, _getGroupSelectsDescendants, _getGroupTotalRowCallback, _getHeaderCheckbox, _getIsRowSelectable, _getMaxConcurrentDatasourceRequests, _getRowHeightAsNumber, _getRowHeightForNode, _getRowIdCallback, _getRowSelectionMode, _getSuppressMultiRanges, _interpretAsRightClick, _isAnimateRows, _isCellSelectionEnabled, _isClientSideRowModel, _isColumnMenuAnchoringEnabled, _isColumnsSortingCoupledToGroup, _isDomLayout, _isFullWidthGroupRow, _isGetRowHeightFunction, _isGroupHideColumnsUntilExpanded, _isGroupMultiAutoColumn, _isGroupRowsSticky, _isGroupUseEntireRow, _isLegacyMenuEnabled, _isMultiRowSelection, _isRowNumbers, _isRowSelection, _isServerSideRowModel, _isSetFilterByDefault, _isUsingNewCellSelectionAPI, _isUsingNewRowSelectionAPI, _processOnChange, _shouldUpdateColVisibilityAfterGroup, } from './gridOptionsUtils';
|
|
150
153
|
export type { AbstractHeaderCellCtrl, IAbstractHeaderCellComp, } from './headerRendering/cells/abstractCell/abstractHeaderCellCtrl';
|
|
151
154
|
export type { HeaderCellCtrl, IHeaderCellComp } from './headerRendering/cells/column/headerCellCtrl';
|
|
152
155
|
export { HeaderComp as _HeaderComp } from './headerRendering/cells/column/headerComp';
|
|
@@ -179,6 +182,7 @@ export type { IFrameworkOverrides } from './interfaces/iFrameworkOverrides';
|
|
|
179
182
|
export type { IGroupEditService as _IGroupEditService } from './interfaces/iGroupEditService';
|
|
180
183
|
export type { IGroupFilterService } from './interfaces/iGroupFilterService';
|
|
181
184
|
export type { IRowGroupingEditValueSvc as _IRowGroupingEditValueSvc } from './interfaces/iRowGroupingEditValueSvc';
|
|
185
|
+
export type { IRowGroupPanelBuilder as _IRowGroupPanelBuilder } from './interfaces/iRowGroupPanelBuilder';
|
|
182
186
|
export type { IGroupHierarchyColService } from './interfaces/iGroupHierarchyColService';
|
|
183
187
|
export type { IMenuFactory } from './interfaces/iMenuFactory';
|
|
184
188
|
export type { IMultiFilterService } from './interfaces/iMultiFilterService';
|
|
@@ -187,12 +191,13 @@ export type { IPivotColDefService } from './interfaces/iPivotColDefService';
|
|
|
187
191
|
export type { IPivotResultColsService } from './interfaces/iPivotResultColsService';
|
|
188
192
|
export type { IRangeService } from './interfaces/IRangeService';
|
|
189
193
|
export type { IRowChildrenService } from './interfaces/iRowChildrenService';
|
|
190
|
-
export type { IRowNodeAggregationStage as _IRowNodeAggregationStage, IRowNodeFilterAggregateStage as _IRowNodeFilterAggregateStage, IRowNodeFlattenStage as _IRowNodeFlattenStage, IRowNodeGroupStage as _IRowNodeGroupStage, IRowNodePivotStage as _IRowNodePivotStage, NestedDataGetter, } from './interfaces/iRowNodeStage';
|
|
194
|
+
export type { IRowNodeAggregationStage as _IRowNodeAggregationStage, IRowNodeFilterAggregateStage as _IRowNodeFilterAggregateStage, IRowNodeFilterStage as _IRowNodeFilterStage, IRowNodeFlattenStage as _IRowNodeFlattenStage, IRowNodeGroupStage as _IRowNodeGroupStage, IRowNodePivotStage as _IRowNodePivotStage, IRowNodeSortStage as _IRowNodeSortStage, NestedDataGetter, } from './interfaces/iRowNodeStage';
|
|
191
195
|
export type { ISelectionService, ISetNodesSelectedParams } from './interfaces/iSelectionService';
|
|
192
196
|
export type { IShowRowGroupColsService } from './interfaces/iShowRowGroupColsService';
|
|
193
197
|
export type { GroupValueResult, IShowRowGroupColsValueService } from './interfaces/iShowRowGroupColsValueService';
|
|
194
198
|
export type { ISideBar, ISideBarService } from './interfaces/iSideBar';
|
|
195
199
|
export type { SortOption } from './interfaces/iSortOption';
|
|
200
|
+
export type { IToolbarComp, IToolbarService } from './interfaces/iToolbar';
|
|
196
201
|
export type { IStickyRowFeature, IStickyRowService } from './interfaces/iStickyRows';
|
|
197
202
|
export type { ComponentType, UserCompDetails } from './interfaces/iUserCompDetails';
|
|
198
203
|
export type { IWatermark } from './interfaces/iWatermark';
|
|
@@ -215,7 +220,7 @@ export type { CheckboxCellRenderer } from './rendering/cellRenderers/checkboxCel
|
|
|
215
220
|
export { PositionableFeature } from './rendering/features/positionableFeature';
|
|
216
221
|
export { _getCellCtrlForEventTarget, _getRowCtrlForEventTarget, _suppressCellMouseEvent, } from './rendering/renderUtils';
|
|
217
222
|
export type { RowAutoHeightService } from './rendering/row/rowAutoHeightService';
|
|
218
|
-
export type { IRowComp, RowCtrl } from './rendering/row/rowCtrl';
|
|
223
|
+
export type { IRowComp, RowCtrl, RowGui } from './rendering/row/rowCtrl';
|
|
219
224
|
export type { RowRenderer } from './rendering/rowRenderer';
|
|
220
225
|
export { BaseSelectionService } from './selection/baseSelectionService';
|
|
221
226
|
export type { RowRangeSelectionContext } from './selection/rowRangeSelectionContext';
|
|
@@ -228,6 +233,8 @@ export { _getShouldDisplayTooltip, _isShowTooltipWhenTruncated } from './tooltip
|
|
|
228
233
|
export type { ITooltipCtrl, ITooltipCtrlParams, TooltipFeature } from './tooltip/tooltipFeature';
|
|
229
234
|
export type { ChangedCellsPath, ChangedPath, ChangedRowsPath, IChangedPathFactory } from './utils/changedPath';
|
|
230
235
|
export { _forEachChangedGroupDepthFirst } from './utils/changedPath';
|
|
236
|
+
export { updateRowNodeAfterSort as _updateRowNodeAfterSort } from './clientSideRowModel/sortStage';
|
|
237
|
+
export { doDeltaSort as _doDeltaSort } from './clientSideRowModel/deltaSort';
|
|
231
238
|
export { _createElement } from './utils/element';
|
|
232
239
|
export type { ElementParams } from './utils/element';
|
|
233
240
|
export { _isStopPropagationForAgGrid, _stopPropagationForAgGrid } from './utils/gridEvent';
|
|
@@ -259,7 +266,7 @@ export type { AgCheckboxParams, AgFieldParams, AgInputFieldParams, AgLabelParams
|
|
|
259
266
|
export { AgInputDateField } from './agStack/widgets/agInputDateField';
|
|
260
267
|
export { AgInputNumberField, AgInputNumberFieldSelector } from './agStack/widgets/agInputNumberField';
|
|
261
268
|
export type { AgInputNumberFieldParams } from './agStack/widgets/agInputNumberField';
|
|
262
|
-
export { AgInputTextArea } from './agStack/widgets/agInputTextArea';
|
|
269
|
+
export { AgInputTextArea, AgInputTextAreaSelector } from './agStack/widgets/agInputTextArea';
|
|
263
270
|
export { AgInputTextField, AgInputTextFieldSelector } from './agStack/widgets/agInputTextField';
|
|
264
271
|
export type { AgInputTextFieldParams } from './agStack/widgets/agInputTextField';
|
|
265
272
|
export type { ListOption } from './agStack/widgets/agList';
|
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
|
};
|