ag-grid-community 32.2.0 → 32.2.2
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/dist/ag-grid-community.js +109 -125
- package/dist/ag-grid-community.min.js +1 -1
- package/dist/ag-grid-community.min.noStyle.js +1 -1
- package/dist/ag-grid-community.noStyle.js +109 -125
- package/dist/package/main.cjs.js +109 -125
- package/dist/package/main.cjs.min.js +13 -13
- package/dist/package/main.esm.min.mjs +56 -56
- package/dist/package/main.esm.mjs +109 -125
- package/dist/package/package.json +7 -7
- package/dist/types/client-side-row-model/version.d.ts +1 -1
- package/dist/types/core/api/gridApi.d.ts +4 -4
- package/dist/types/core/components/componentUtil.d.ts +1 -1
- package/dist/types/core/entities/colDef.d.ts +4 -4
- package/dist/types/core/entities/gridOptions.d.ts +28 -37
- package/dist/types/core/events.d.ts +3 -3
- package/dist/types/core/gridOptionsUtils.d.ts +8 -7
- package/dist/types/core/main.d.ts +2 -2
- package/dist/types/core/version.d.ts +1 -1
- package/dist/types/csv-export/version.d.ts +1 -1
- package/dist/types/infinite-row-model/version.d.ts +1 -1
- package/dist/types/main.d.ts +1 -0
- package/dist/types/theming/Part.d.ts +33 -0
- package/dist/types/theming/Theme.d.ts +39 -0
- package/dist/types/theming/main.d.ts +9 -0
- package/dist/types/theming/styles/core/GENERATED-core.d.ts +1 -0
- package/dist/types/theming/styles/core/core-css.d.ts +468 -0
- package/dist/types/theming/styles/parts/checkbox-style/GENERATED-checkbox-style-default.d.ts +1 -0
- package/dist/types/theming/styles/parts/checkbox-style/checkbox-styles.d.ts +56 -0
- package/dist/types/theming/styles/parts/color-scheme/color-schemes.d.ts +6 -0
- package/dist/types/theming/styles/parts/icon-set/alpine/GENERATED-icon-set-alpine.d.ts +1 -0
- package/dist/types/theming/styles/parts/icon-set/alpine/icon-set-alpine.d.ts +1 -0
- package/dist/types/theming/styles/parts/icon-set/icon-sets.d.ts +3 -0
- package/dist/types/theming/styles/parts/icon-set/material/GENERATED-icon-set-material.d.ts +1 -0
- package/dist/types/theming/styles/parts/icon-set/material/icon-set-material.d.ts +1 -0
- package/dist/types/theming/styles/parts/icon-set/quartz/GENERATED-icon-set-quartz.d.ts +1 -0
- package/dist/types/theming/styles/parts/icon-set/quartz/icon-set-quartz.d.ts +6 -0
- package/dist/types/theming/styles/parts/icon-set/quartz/quartz-icon-data.d.ts +3 -0
- package/dist/types/theming/styles/parts/input-style/GENERATED-input-style-base.d.ts +1 -0
- package/dist/types/theming/styles/parts/input-style/GENERATED-input-style-underlined.d.ts +1 -0
- package/dist/types/theming/styles/parts/input-style/input-styles.d.ts +70 -0
- package/dist/types/theming/styles/parts/tab-style/GENERATED-tab-style-base.d.ts +1 -0
- package/dist/types/theming/styles/parts/tab-style/GENERATED-tab-style-rolodex.d.ts +1 -0
- package/dist/types/theming/styles/parts/tab-style/tab-styles.d.ts +101 -0
- package/dist/types/theming/styles/parts/theme/themes.d.ts +3 -0
- package/dist/types/theming/theme-types.d.ts +206 -0
- package/dist/types/theming/theme-utils.d.ts +8 -0
- package/dist/types/theming/version.d.ts +1 -0
- package/package.json +7 -7
- package/dist/types/core/validation/rules/selectionValidations.d.ts +0 -3
|
@@ -541,48 +541,52 @@ function _getRowIdCallback(gos) {
|
|
|
541
541
|
};
|
|
542
542
|
}
|
|
543
543
|
function _getCheckboxes(selection) {
|
|
544
|
-
return
|
|
544
|
+
return selection?.checkboxes ?? true;
|
|
545
545
|
}
|
|
546
546
|
function _getHeaderCheckbox(selection) {
|
|
547
547
|
return selection?.mode === "multiRow" && (selection.headerCheckbox ?? true);
|
|
548
548
|
}
|
|
549
549
|
function _getHideDisabledCheckboxes(selection) {
|
|
550
|
-
return
|
|
550
|
+
return selection?.hideDisabledCheckboxes ?? false;
|
|
551
551
|
}
|
|
552
|
-
function
|
|
553
|
-
|
|
552
|
+
function _isUsingNewRowSelectionAPI(gos) {
|
|
553
|
+
const rowSelection = gos.get("rowSelection");
|
|
554
|
+
return typeof rowSelection !== "string";
|
|
555
|
+
}
|
|
556
|
+
function _isUsingNewCellSelectionAPI(gos) {
|
|
557
|
+
return gos.get("cellSelection") !== void 0;
|
|
554
558
|
}
|
|
555
559
|
function _getSuppressMultiRanges(gos) {
|
|
556
|
-
const selection = gos.get("
|
|
560
|
+
const selection = gos.get("cellSelection");
|
|
557
561
|
const useNewAPI = selection !== void 0;
|
|
558
562
|
if (!useNewAPI) {
|
|
559
563
|
return gos.get("suppressMultiRangeSelection");
|
|
560
564
|
}
|
|
561
|
-
return selection
|
|
565
|
+
return typeof selection !== "boolean" ? selection?.suppressMultiRanges ?? false : false;
|
|
562
566
|
}
|
|
563
567
|
function _isCellSelectionEnabled(gos) {
|
|
564
|
-
const selection = gos.get("
|
|
568
|
+
const selection = gos.get("cellSelection");
|
|
565
569
|
const useNewAPI = selection !== void 0;
|
|
566
|
-
return useNewAPI ? selection
|
|
570
|
+
return useNewAPI ? !!selection : gos.get("enableRangeSelection");
|
|
567
571
|
}
|
|
568
572
|
function _isRangeHandleEnabled(gos) {
|
|
569
|
-
const selection = gos.get("
|
|
573
|
+
const selection = gos.get("cellSelection");
|
|
570
574
|
const useNewAPI = selection !== void 0;
|
|
571
575
|
if (!useNewAPI) {
|
|
572
576
|
return gos.get("enableRangeHandle");
|
|
573
577
|
}
|
|
574
|
-
return selection
|
|
578
|
+
return typeof selection !== "boolean" ? selection.handle?.mode === "range" : false;
|
|
575
579
|
}
|
|
576
580
|
function _isFillHandleEnabled(gos) {
|
|
577
|
-
const selection = gos.get("
|
|
581
|
+
const selection = gos.get("cellSelection");
|
|
578
582
|
const useNewAPI = selection !== void 0;
|
|
579
583
|
if (!useNewAPI) {
|
|
580
584
|
return gos.get("enableFillHandle");
|
|
581
585
|
}
|
|
582
|
-
return selection
|
|
586
|
+
return typeof selection !== "boolean" ? selection.handle?.mode === "fill" : false;
|
|
583
587
|
}
|
|
584
588
|
function _getFillHandle(gos) {
|
|
585
|
-
const selection = gos.get("
|
|
589
|
+
const selection = gos.get("cellSelection");
|
|
586
590
|
const useNewAPI = selection !== void 0;
|
|
587
591
|
if (!useNewAPI) {
|
|
588
592
|
return {
|
|
@@ -592,12 +596,11 @@ function _getFillHandle(gos) {
|
|
|
592
596
|
suppressClearOnFillReduction: gos.get("suppressClearOnFillReduction")
|
|
593
597
|
};
|
|
594
598
|
}
|
|
595
|
-
return selection
|
|
599
|
+
return typeof selection !== "boolean" && selection.handle?.mode === "fill" ? selection.handle : void 0;
|
|
596
600
|
}
|
|
597
601
|
function _getEnableClickSelection(gos) {
|
|
598
|
-
const selection = gos.get("
|
|
599
|
-
|
|
600
|
-
if (!useNewAPI) {
|
|
602
|
+
const selection = gos.get("rowSelection") ?? "single";
|
|
603
|
+
if (typeof selection === "string") {
|
|
601
604
|
const suppressRowClickSelection = gos.get("suppressRowClickSelection");
|
|
602
605
|
const suppressRowDeselection = gos.get("suppressRowDeselection");
|
|
603
606
|
if (suppressRowClickSelection && suppressRowDeselection) {
|
|
@@ -610,7 +613,7 @@ function _getEnableClickSelection(gos) {
|
|
|
610
613
|
return true;
|
|
611
614
|
}
|
|
612
615
|
}
|
|
613
|
-
return selection
|
|
616
|
+
return selection.mode === "singleRow" || selection.mode === "multiRow" ? selection.enableClickSelection ?? false : false;
|
|
614
617
|
}
|
|
615
618
|
function _getEnableSelection(gos) {
|
|
616
619
|
const enableClickSelection = _getEnableClickSelection(gos);
|
|
@@ -621,18 +624,16 @@ function _getEnableDeselection(gos) {
|
|
|
621
624
|
return enableClickSelection === true || enableClickSelection === "enableDeselection";
|
|
622
625
|
}
|
|
623
626
|
function _getIsRowSelectable(gos) {
|
|
624
|
-
const selection = gos.get("
|
|
625
|
-
|
|
626
|
-
if (!useNewAPI) {
|
|
627
|
+
const selection = gos.get("rowSelection");
|
|
628
|
+
if (typeof selection === "string") {
|
|
627
629
|
return gos.get("isRowSelectable");
|
|
628
630
|
}
|
|
629
|
-
return selection
|
|
631
|
+
return selection?.isRowSelectable;
|
|
630
632
|
}
|
|
631
633
|
function _getRowSelectionMode(gos) {
|
|
632
|
-
const selection = gos.get("
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
switch (gos.get("rowSelection")) {
|
|
634
|
+
const selection = gos.get("rowSelection");
|
|
635
|
+
if (typeof selection === "string") {
|
|
636
|
+
switch (selection) {
|
|
636
637
|
case "multiple":
|
|
637
638
|
return "multiRow";
|
|
638
639
|
case "single":
|
|
@@ -641,23 +642,22 @@ function _getRowSelectionMode(gos) {
|
|
|
641
642
|
return;
|
|
642
643
|
}
|
|
643
644
|
}
|
|
644
|
-
return selection
|
|
645
|
+
return selection?.mode;
|
|
645
646
|
}
|
|
646
647
|
function _isMultiRowSelection(gos) {
|
|
647
|
-
|
|
648
|
+
const mode = _getRowSelectionMode(gos);
|
|
649
|
+
return mode === "multiRow";
|
|
648
650
|
}
|
|
649
|
-
function
|
|
650
|
-
const selection = gos.get("
|
|
651
|
-
|
|
652
|
-
if (!useNewAPI) {
|
|
651
|
+
function _getEnableSelectionWithoutKeys(gos) {
|
|
652
|
+
const selection = gos.get("rowSelection");
|
|
653
|
+
if (typeof selection === "string") {
|
|
653
654
|
return gos.get("rowMultiSelectWithClick");
|
|
654
655
|
}
|
|
655
|
-
return selection
|
|
656
|
+
return selection?.enableSelectionWithoutKeys ?? false;
|
|
656
657
|
}
|
|
657
658
|
function _getGroupSelection(gos) {
|
|
658
|
-
const selection = gos.get("
|
|
659
|
-
|
|
660
|
-
if (!useNewAPI) {
|
|
659
|
+
const selection = gos.get("rowSelection");
|
|
660
|
+
if (typeof selection === "string") {
|
|
661
661
|
const groupSelectsChildren = gos.get("groupSelectsChildren");
|
|
662
662
|
const groupSelectsFiltered = gos.get("groupSelectsFiltered");
|
|
663
663
|
if (groupSelectsChildren && groupSelectsFiltered) {
|
|
@@ -668,7 +668,7 @@ function _getGroupSelection(gos) {
|
|
|
668
668
|
return "self";
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
|
-
return selection
|
|
671
|
+
return selection?.mode === "multiRow" ? selection.groupSelects : void 0;
|
|
672
672
|
}
|
|
673
673
|
function _getGroupSelectsDescendants(gos) {
|
|
674
674
|
const groupSelection = _getGroupSelection(gos);
|
|
@@ -1221,11 +1221,8 @@ var ControlsColService = class extends BeanStub {
|
|
|
1221
1221
|
this.beanName = "controlsColService";
|
|
1222
1222
|
}
|
|
1223
1223
|
createControlsCols() {
|
|
1224
|
-
const so = this.gos.get("
|
|
1225
|
-
if (!so) {
|
|
1226
|
-
return [];
|
|
1227
|
-
}
|
|
1228
|
-
if (so.mode === "cell") {
|
|
1224
|
+
const so = this.gos.get("rowSelection");
|
|
1225
|
+
if (!so || typeof so === "string") {
|
|
1229
1226
|
return [];
|
|
1230
1227
|
}
|
|
1231
1228
|
const checkboxes = _getCheckboxes(so);
|
|
@@ -1709,8 +1706,8 @@ var AgColumn = class extends BeanStub {
|
|
|
1709
1706
|
return this.isColumnFunc(rowNode, this.colDef.dndSource);
|
|
1710
1707
|
}
|
|
1711
1708
|
isCellCheckboxSelection(rowNode) {
|
|
1712
|
-
const so = this.gos.get("
|
|
1713
|
-
if (so) {
|
|
1709
|
+
const so = this.gos.get("rowSelection");
|
|
1710
|
+
if (so && typeof so !== "string") {
|
|
1714
1711
|
const checkbox = isColumnControlsCol(this) && _getCheckboxes(so);
|
|
1715
1712
|
return this.isColumnFunc(rowNode, checkbox);
|
|
1716
1713
|
} else {
|
|
@@ -2540,7 +2537,7 @@ var ColumnModel = class extends BeanStub {
|
|
|
2540
2537
|
["groupDisplayType", "treeData", "treeDataDisplayType", "groupHideOpenParents"],
|
|
2541
2538
|
(event) => this.refreshAll(convertSourceType(event.source))
|
|
2542
2539
|
);
|
|
2543
|
-
this.addManagedPropertyListener("
|
|
2540
|
+
this.addManagedPropertyListener("rowSelection", (event) => {
|
|
2544
2541
|
this.onSelectionOptionsChanged(event.currentValue, event.previousValue, convertSourceType(event.source));
|
|
2545
2542
|
});
|
|
2546
2543
|
this.addManagedPropertyListener(
|
|
@@ -3235,6 +3232,9 @@ var ColumnModel = class extends BeanStub {
|
|
|
3235
3232
|
}
|
|
3236
3233
|
}
|
|
3237
3234
|
onSelectionOptionsChanged(current, prev, source) {
|
|
3235
|
+
if (typeof current === "string" || typeof prev === "string") {
|
|
3236
|
+
return;
|
|
3237
|
+
}
|
|
3238
3238
|
const prevCheckbox = prev ? _getCheckboxes(prev) : void 0;
|
|
3239
3239
|
const currCheckbox = current ? _getCheckboxes(current) : void 0;
|
|
3240
3240
|
const checkboxHasChanged = prevCheckbox !== currCheckbox;
|
|
@@ -6229,7 +6229,6 @@ var INITIAL_GRID_OPTION_KEYS = {
|
|
|
6229
6229
|
var _PropertyKeys = class _PropertyKeys {
|
|
6230
6230
|
};
|
|
6231
6231
|
_PropertyKeys.STRING_PROPERTIES = [
|
|
6232
|
-
"rowSelection",
|
|
6233
6232
|
"overlayLoadingTemplate",
|
|
6234
6233
|
"overlayNoRowsTemplate",
|
|
6235
6234
|
"gridId",
|
|
@@ -6290,7 +6289,7 @@ _PropertyKeys.OBJECT_PROPERTIES = [
|
|
|
6290
6289
|
"advancedFilterBuilderParams",
|
|
6291
6290
|
"initialState",
|
|
6292
6291
|
"autoSizeStrategy",
|
|
6293
|
-
"
|
|
6292
|
+
"cellSelection",
|
|
6294
6293
|
"selectionColumnDef"
|
|
6295
6294
|
];
|
|
6296
6295
|
_PropertyKeys.ARRAY_PROPERTIES = [
|
|
@@ -6493,7 +6492,8 @@ _PropertyKeys.BOOLEAN_PROPERTIES = [
|
|
|
6493
6492
|
_PropertyKeys.OTHER_PROPERTIES = [
|
|
6494
6493
|
"suppressStickyTotalRow",
|
|
6495
6494
|
// needs avoid coercion to boolean so that we can warn if it's unset
|
|
6496
|
-
"loadThemeGoogleFonts"
|
|
6495
|
+
"loadThemeGoogleFonts",
|
|
6496
|
+
"rowSelection"
|
|
6497
6497
|
];
|
|
6498
6498
|
_PropertyKeys.FUNCTION_PROPERTIES = [
|
|
6499
6499
|
"doesExternalFilterPass",
|
|
@@ -17507,7 +17507,7 @@ function _defineModule(definition) {
|
|
|
17507
17507
|
}
|
|
17508
17508
|
|
|
17509
17509
|
// community-modules/core/src/version.ts
|
|
17510
|
-
var VERSION = "32.2.
|
|
17510
|
+
var VERSION = "32.2.2";
|
|
17511
17511
|
|
|
17512
17512
|
// community-modules/core/src/filter/columnFilterApi.ts
|
|
17513
17513
|
function isColumnFilterPresent(beans) {
|
|
@@ -21006,8 +21006,13 @@ var SelectAllFeature = class extends BeanStub {
|
|
|
21006
21006
|
this.selectionService = beans.selectionService;
|
|
21007
21007
|
}
|
|
21008
21008
|
postConstruct() {
|
|
21009
|
-
|
|
21010
|
-
|
|
21009
|
+
const setRowSelectionOptions = (rowSelection) => {
|
|
21010
|
+
if (rowSelection && typeof rowSelection !== "string") {
|
|
21011
|
+
this.selectionOptions = rowSelection;
|
|
21012
|
+
}
|
|
21013
|
+
};
|
|
21014
|
+
setRowSelectionOptions(this.gos.get("rowSelection"));
|
|
21015
|
+
this.addManagedPropertyListener("rowSelection", (e) => setRowSelectionOptions(e.currentValue));
|
|
21011
21016
|
}
|
|
21012
21017
|
onSpaceKeyDown(e) {
|
|
21013
21018
|
const checkbox = this.cbSelectAll;
|
|
@@ -24087,7 +24092,7 @@ var DragListenerFeature = class extends BeanStub {
|
|
|
24087
24092
|
onDragStop: this.rangeService.onDragStop.bind(this.rangeService),
|
|
24088
24093
|
onDragging: this.rangeService.onDragging.bind(this.rangeService)
|
|
24089
24094
|
};
|
|
24090
|
-
this.addManagedPropertyListeners(["enableRangeSelection", "
|
|
24095
|
+
this.addManagedPropertyListeners(["enableRangeSelection", "cellSelection"], () => {
|
|
24091
24096
|
const isEnabled = _isCellSelectionEnabled(this.gos);
|
|
24092
24097
|
if (isEnabled) {
|
|
24093
24098
|
this.enableFeature();
|
|
@@ -24213,8 +24218,8 @@ var CheckboxSelectionComponent = class extends Component {
|
|
|
24213
24218
|
selectable = isVisible ?? false;
|
|
24214
24219
|
}
|
|
24215
24220
|
}
|
|
24216
|
-
const so = this.gos.get("
|
|
24217
|
-
const disableInsteadOfHide = so ? !_getHideDisabledCheckboxes(so) : this.column?.getColDef().showDisabledCheckboxes;
|
|
24221
|
+
const so = this.gos.get("rowSelection");
|
|
24222
|
+
const disableInsteadOfHide = so && typeof so !== "string" ? !_getHideDisabledCheckboxes(so) : this.column?.getColDef().showDisabledCheckboxes;
|
|
24218
24223
|
if (disableInsteadOfHide) {
|
|
24219
24224
|
this.eCheckbox.setDisabled(!selectable);
|
|
24220
24225
|
this.setVisible(true);
|
|
@@ -24231,8 +24236,8 @@ var CheckboxSelectionComponent = class extends Component {
|
|
|
24231
24236
|
if (this.overrides) {
|
|
24232
24237
|
return this.overrides.isVisible;
|
|
24233
24238
|
}
|
|
24234
|
-
const so = this.gos.get("
|
|
24235
|
-
if (so) {
|
|
24239
|
+
const so = this.gos.get("rowSelection");
|
|
24240
|
+
if (so && typeof so !== "string") {
|
|
24236
24241
|
return _getCheckboxes(so);
|
|
24237
24242
|
}
|
|
24238
24243
|
return this.column?.getColDef()?.checkboxSelection;
|
|
@@ -25250,8 +25255,8 @@ var _CellCtrl = class _CellCtrl extends BeanStub {
|
|
|
25250
25255
|
return res;
|
|
25251
25256
|
}
|
|
25252
25257
|
isCheckboxSelection(colDef) {
|
|
25253
|
-
const {
|
|
25254
|
-
return colDef.checkboxSelection || isColumnControlsCol(this.column) &&
|
|
25258
|
+
const { rowSelection } = this.beans.gridOptions;
|
|
25259
|
+
return colDef.checkboxSelection || isColumnControlsCol(this.column) && rowSelection && typeof rowSelection !== "string" && _getCheckboxes(rowSelection);
|
|
25255
25260
|
}
|
|
25256
25261
|
refreshShouldDestroy() {
|
|
25257
25262
|
const colDef = this.column.getColDef();
|
|
@@ -25988,9 +25993,7 @@ var _RowCtrl = class _RowCtrl extends BeanStub {
|
|
|
25988
25993
|
}
|
|
25989
25994
|
addRowDraggerToRow(gui) {
|
|
25990
25995
|
if (_isCellSelectionEnabled(this.gos)) {
|
|
25991
|
-
_warnOnce(
|
|
25992
|
-
"Setting `rowDragEntireRow: true` in the gridOptions doesn't work with `selection.mode = 'cell'`"
|
|
25993
|
-
);
|
|
25996
|
+
_warnOnce("Setting `rowDragEntireRow: true` in the gridOptions doesn't work with `cellSelection: true`");
|
|
25994
25997
|
return;
|
|
25995
25998
|
}
|
|
25996
25999
|
const translate = this.beans.localeService.getLocaleTextFunc();
|
|
@@ -26573,7 +26576,7 @@ var _RowCtrl = class _RowCtrl extends BeanStub {
|
|
|
26573
26576
|
) {
|
|
26574
26577
|
return;
|
|
26575
26578
|
}
|
|
26576
|
-
const multiSelectOnClick =
|
|
26579
|
+
const multiSelectOnClick = _getEnableSelectionWithoutKeys(gos);
|
|
26577
26580
|
const rowDeselectionWithCtrl = _getEnableDeselection(gos);
|
|
26578
26581
|
const source = "rowClicked";
|
|
26579
26582
|
if (isSelected) {
|
|
@@ -32131,7 +32134,7 @@ var RowRenderer = class extends BeanStub {
|
|
|
32131
32134
|
this.eventService.removeEventListener("columnVisible", onColumnMovedPinnedVisible);
|
|
32132
32135
|
};
|
|
32133
32136
|
this.addDestroyFunc(() => removeCellSelectionListeners());
|
|
32134
|
-
this.addManagedPropertyListeners(["enableRangeSelection", "
|
|
32137
|
+
this.addManagedPropertyListeners(["enableRangeSelection", "cellSelection"], () => {
|
|
32135
32138
|
const isEnabled = _isCellSelectionEnabled(this.gos);
|
|
32136
32139
|
if (isEnabled) {
|
|
32137
32140
|
addCellSelectionListeners();
|
|
@@ -32196,7 +32199,7 @@ var RowRenderer = class extends BeanStub {
|
|
|
32196
32199
|
"detailCellRendererParams",
|
|
32197
32200
|
"enableRangeSelection",
|
|
32198
32201
|
"enableCellTextSelection",
|
|
32199
|
-
"
|
|
32202
|
+
"rowSelection"
|
|
32200
32203
|
],
|
|
32201
32204
|
() => this.redrawRows()
|
|
32202
32205
|
);
|
|
@@ -39740,8 +39743,8 @@ var StateService = class extends BeanStub {
|
|
|
39740
39743
|
startColumn
|
|
39741
39744
|
});
|
|
39742
39745
|
});
|
|
39743
|
-
if (
|
|
39744
|
-
return _warnOnce("cannot add multiple ranges when `
|
|
39746
|
+
if (_isUsingNewCellSelectionAPI(gos) && _getSuppressMultiRanges(gos) && cellRanges.length > 1) {
|
|
39747
|
+
return _warnOnce("cannot add multiple ranges when `cellSelection.suppressMultiRanges = true`");
|
|
39745
39748
|
}
|
|
39746
39749
|
rangeService.setCellRanges(cellRanges);
|
|
39747
39750
|
}
|
|
@@ -40882,22 +40885,22 @@ var COLUMN_DEFINITION_DEPRECATIONS = {
|
|
|
40882
40885
|
columnsMenuParams: { version: "31.1", message: "Use `columnChooserParams` instead." },
|
|
40883
40886
|
suppressMenu: { version: "31.1", message: "Use `suppressHeaderMenuButton` instead." },
|
|
40884
40887
|
suppressCellFlash: { version: "31.2", message: "Use `enableCellChangeFlash={false}` in the ColDef" },
|
|
40885
|
-
checkboxSelection: { version: "32.2", message: "Use `
|
|
40888
|
+
checkboxSelection: { version: "32.2", message: "Use `rowSelection.checkboxes` in `GridOptions` instead." },
|
|
40886
40889
|
headerCheckboxSelection: {
|
|
40887
40890
|
version: "32.2",
|
|
40888
|
-
message: "Use `
|
|
40891
|
+
message: "Use `rowSelection.headerCheckbox = true` in `GridOptions` instead."
|
|
40889
40892
|
},
|
|
40890
40893
|
headerCheckboxSelectionFilteredOnly: {
|
|
40891
40894
|
version: "32.2",
|
|
40892
|
-
message: 'Use `
|
|
40895
|
+
message: 'Use `rowSelection.selectAll = "filtered"` in `GridOptions` instead.'
|
|
40893
40896
|
},
|
|
40894
40897
|
headerCheckboxSelectionCurrentPageOnly: {
|
|
40895
40898
|
version: "32.2",
|
|
40896
|
-
message: 'Use `
|
|
40899
|
+
message: 'Use `rowSelection.selectAll = "currentPage"` in `GridOptions` instead.'
|
|
40897
40900
|
},
|
|
40898
40901
|
showDisabledCheckboxes: {
|
|
40899
40902
|
version: "32.2",
|
|
40900
|
-
message: "Use `
|
|
40903
|
+
message: "Use `rowSelection.hideDisabledCheckboxes = true` in `GridOptions` instead."
|
|
40901
40904
|
}
|
|
40902
40905
|
};
|
|
40903
40906
|
var CSRM_REQUIRES_ROW_GROUP_MODULE = (_options, gridOptions) => {
|
|
@@ -41105,32 +41108,6 @@ var COL_DEF_VALIDATORS = {
|
|
|
41105
41108
|
validations: COLUMN_DEFINITION_VALIDATIONS
|
|
41106
41109
|
};
|
|
41107
41110
|
|
|
41108
|
-
// community-modules/core/src/validation/rules/selectionValidations.ts
|
|
41109
|
-
var SELECTION_DEPRECATIONS = {};
|
|
41110
|
-
var SELECTION_OPTIONS_VALIDATIONS = {};
|
|
41111
|
-
var selectionPropertyMap = {
|
|
41112
|
-
mode: void 0,
|
|
41113
|
-
enableClickSelection: void 0,
|
|
41114
|
-
suppressMultiRanges: void 0,
|
|
41115
|
-
hideDisabledCheckboxes: void 0,
|
|
41116
|
-
checkboxes: void 0,
|
|
41117
|
-
headerCheckbox: void 0,
|
|
41118
|
-
isRowSelectable: void 0,
|
|
41119
|
-
groupSelects: void 0,
|
|
41120
|
-
selectAll: void 0,
|
|
41121
|
-
enableMultiSelectWithClick: void 0,
|
|
41122
|
-
handle: void 0,
|
|
41123
|
-
copySelectedRows: void 0
|
|
41124
|
-
};
|
|
41125
|
-
var ALL_PROPERTIES2 = Object.keys(selectionPropertyMap);
|
|
41126
|
-
var SELECTION_VALIDATORS = {
|
|
41127
|
-
objectName: "selection",
|
|
41128
|
-
allProperties: ALL_PROPERTIES2,
|
|
41129
|
-
docsUrl: "grid-options/#reference-selection-selection/",
|
|
41130
|
-
deprecations: SELECTION_DEPRECATIONS,
|
|
41131
|
-
validations: SELECTION_OPTIONS_VALIDATIONS
|
|
41132
|
-
};
|
|
41133
|
-
|
|
41134
41111
|
// community-modules/core/src/validation/rules/gridOptionsValidations.ts
|
|
41135
41112
|
var GRID_OPTION_DEPRECATIONS = () => ({
|
|
41136
41113
|
advancedFilterModel: { version: "31", message: "Use `initialState.filter.advancedFilterModel` instead." },
|
|
@@ -41147,43 +41124,39 @@ var GRID_OPTION_DEPRECATIONS = () => ({
|
|
|
41147
41124
|
groupIncludeFooter: { version: "31.3", message: "Use `groupTotalRow` instead." },
|
|
41148
41125
|
groupIncludeTotalFooter: { version: "31.3", message: "Use `grandTotalRow` instead." },
|
|
41149
41126
|
suppressLoadingOverlay: { version: "32", message: "Use `loading`=false instead." },
|
|
41150
|
-
enableFillHandle: { version: "32.2", message: "Use `
|
|
41151
|
-
enableRangeHandle: { version: "32.2", message: "Use `
|
|
41152
|
-
enableRangeSelection: { version: "32.2", message:
|
|
41153
|
-
rowSelection: {
|
|
41154
|
-
version: "32.2",
|
|
41155
|
-
message: 'Use `selection.mode = "singleRow"` or `selection.mode = "multiRow" instead.'
|
|
41156
|
-
},
|
|
41127
|
+
enableFillHandle: { version: "32.2", message: "Use `cellSelection.handle` instead." },
|
|
41128
|
+
enableRangeHandle: { version: "32.2", message: "Use `cellSelection.handle` instead." },
|
|
41129
|
+
enableRangeSelection: { version: "32.2", message: "Use `cellSelection = true` instead." },
|
|
41157
41130
|
suppressMultiRangeSelection: {
|
|
41158
41131
|
version: "32.2",
|
|
41159
|
-
message: "Use `
|
|
41132
|
+
message: "Use `cellSelection.suppressMultiRanges` instead."
|
|
41160
41133
|
},
|
|
41161
41134
|
suppressClearOnFillReduction: {
|
|
41162
41135
|
version: "32.2",
|
|
41163
|
-
message: "Use `
|
|
41136
|
+
message: "Use `cellSelection.handle.suppressClearOnFillReduction` instead."
|
|
41164
41137
|
},
|
|
41165
|
-
fillHandleDirection: { version: "32.2", message: "Use `
|
|
41166
|
-
fillOperation: { version: "32.2", message: "Use `
|
|
41138
|
+
fillHandleDirection: { version: "32.2", message: "Use `cellSelection.handle.direction` instead." },
|
|
41139
|
+
fillOperation: { version: "32.2", message: "Use `cellSelection.handle.setFillValue` instead." },
|
|
41167
41140
|
suppressRowClickSelection: {
|
|
41168
41141
|
version: "32.2",
|
|
41169
|
-
message: "Use `
|
|
41142
|
+
message: "Use `rowSelection.enableClickSelection` instead."
|
|
41170
41143
|
},
|
|
41171
|
-
suppressRowDeselection: { version: "32.2", message: "Use `
|
|
41144
|
+
suppressRowDeselection: { version: "32.2", message: "Use `rowSelection.enableClickSelection` instead." },
|
|
41172
41145
|
rowMultiSelectWithClick: {
|
|
41173
41146
|
version: "32.2",
|
|
41174
|
-
message: "Use `
|
|
41147
|
+
message: "Use `rowSelection.enableSelectionWithoutKeys` instead."
|
|
41175
41148
|
},
|
|
41176
41149
|
groupSelectsChildren: {
|
|
41177
41150
|
version: "32.2",
|
|
41178
|
-
message: 'Use `
|
|
41151
|
+
message: 'Use `rowSelection.groupSelects = "descendants"` instead.'
|
|
41179
41152
|
},
|
|
41180
41153
|
groupSelectsFiltered: {
|
|
41181
41154
|
version: "32.2",
|
|
41182
|
-
message: 'Use `
|
|
41155
|
+
message: 'Use `rowSelection.groupSelects = "filteredDescendants"` instead.'
|
|
41183
41156
|
},
|
|
41184
41157
|
isRowSelectable: { version: "32.2", message: "Use `selectionOptions.isRowSelectable` instead." },
|
|
41185
|
-
suppressCopySingleCellRanges: { version: "32.2", message: "Use `
|
|
41186
|
-
suppressCopyRowsToClipboard: { version: "32.2", message: "Use `
|
|
41158
|
+
suppressCopySingleCellRanges: { version: "32.2", message: "Use `rowSelection.copySelectedRows` instead." },
|
|
41159
|
+
suppressCopyRowsToClipboard: { version: "32.2", message: "Use `rowSelection.copySelectedRows` instead." },
|
|
41187
41160
|
onRangeSelectionChanged: { version: "32.2", message: "Use `onCellSelectionChanged` instead." },
|
|
41188
41161
|
onRangeDeleteStart: { version: "32.2", message: "Use `onCellSelectionDeleteStart` instead." },
|
|
41189
41162
|
onRangeDeleteEnd: { version: "32.2", message: "Use `onCellSelectionDeleteEnd` instead." },
|
|
@@ -41490,12 +41463,22 @@ var GRID_OPTION_VALIDATIONS = () => ({
|
|
|
41490
41463
|
return null;
|
|
41491
41464
|
}
|
|
41492
41465
|
},
|
|
41466
|
+
rowSelection: {
|
|
41467
|
+
validate({ rowSelection }) {
|
|
41468
|
+
if (rowSelection && typeof rowSelection === "string") {
|
|
41469
|
+
return 'As of version 32.2.1, using `rowSelection` with the values "single" or "multiple" has been deprecated. Use the object value instead.';
|
|
41470
|
+
}
|
|
41471
|
+
return null;
|
|
41472
|
+
}
|
|
41473
|
+
},
|
|
41474
|
+
cellSelection: {
|
|
41475
|
+
module: "@ag-grid-enterprise/range-selection" /* RangeSelectionModule */
|
|
41476
|
+
},
|
|
41493
41477
|
columnDefs: () => COL_DEF_VALIDATORS,
|
|
41494
41478
|
defaultColDef: () => COL_DEF_VALIDATORS,
|
|
41495
41479
|
defaultColGroupDef: () => COL_DEF_VALIDATORS,
|
|
41496
41480
|
autoGroupColumnDef: () => COL_DEF_VALIDATORS,
|
|
41497
|
-
selectionColumnDef: () => COL_DEF_VALIDATORS
|
|
41498
|
-
selection: () => SELECTION_VALIDATORS
|
|
41481
|
+
selectionColumnDef: () => COL_DEF_VALIDATORS
|
|
41499
41482
|
});
|
|
41500
41483
|
var GRID_OPTIONS_VALIDATORS = () => ({
|
|
41501
41484
|
objectName: "gridOptions",
|
|
@@ -43088,7 +43071,7 @@ var SelectionService = class extends BeanStub {
|
|
|
43088
43071
|
this.selectionCtx.init(rowModel);
|
|
43089
43072
|
this.rowSelectionMode = _getRowSelectionMode(gos);
|
|
43090
43073
|
this.groupSelectsChildren = _getGroupSelectsDescendants(gos);
|
|
43091
|
-
this.addManagedPropertyListeners(["groupSelectsChildren", "rowSelection"
|
|
43074
|
+
this.addManagedPropertyListeners(["groupSelectsChildren", "rowSelection"], () => {
|
|
43092
43075
|
const groupSelectsChildren = _getGroupSelectsDescendants(gos);
|
|
43093
43076
|
const selectionMode = _getRowSelectionMode(gos);
|
|
43094
43077
|
if (groupSelectsChildren !== this.groupSelectsChildren || selectionMode !== this.rowSelectionMode) {
|
|
@@ -43500,7 +43483,7 @@ var SelectionService = class extends BeanStub {
|
|
|
43500
43483
|
}
|
|
43501
43484
|
}
|
|
43502
43485
|
selectAllRowNodes(params) {
|
|
43503
|
-
if (
|
|
43486
|
+
if (_isUsingNewRowSelectionAPI(this.gos) && !_isMultiRowSelection(this.gos)) {
|
|
43504
43487
|
return _warnOnce(`cannot multi select unless selection mode is 'multiRow'`);
|
|
43505
43488
|
}
|
|
43506
43489
|
this.validateSelectAllType();
|
|
@@ -43578,7 +43561,7 @@ var SelectableService = class extends BeanStub {
|
|
|
43578
43561
|
}
|
|
43579
43562
|
updateSelectable(skipLeafNodes = false) {
|
|
43580
43563
|
const { gos } = this;
|
|
43581
|
-
const isRowSelecting =
|
|
43564
|
+
const isRowSelecting = _isRowSelection(gos);
|
|
43582
43565
|
const isRowSelectable = _getIsRowSelectable(gos);
|
|
43583
43566
|
if (!isRowSelecting || !isRowSelectable) {
|
|
43584
43567
|
return;
|
|
@@ -46724,7 +46707,7 @@ var SortStage = class extends BeanStub {
|
|
|
46724
46707
|
};
|
|
46725
46708
|
|
|
46726
46709
|
// community-modules/client-side-row-model/src/version.ts
|
|
46727
|
-
var VERSION2 = "32.2.
|
|
46710
|
+
var VERSION2 = "32.2.2";
|
|
46728
46711
|
|
|
46729
46712
|
// community-modules/client-side-row-model/src/clientSideRowModelModule.ts
|
|
46730
46713
|
var ClientSideRowModelCoreModule = _defineModule({
|
|
@@ -47415,7 +47398,7 @@ var GridSerializer = class extends BeanStub {
|
|
|
47415
47398
|
});
|
|
47416
47399
|
}
|
|
47417
47400
|
};
|
|
47418
|
-
var VERSION3 = "32.2.
|
|
47401
|
+
var VERSION3 = "32.2.2";
|
|
47419
47402
|
var CsvExportCoreModule = _defineModule({
|
|
47420
47403
|
version: VERSION3,
|
|
47421
47404
|
moduleName: `${"@ag-grid-community/csv-export" /* CsvExportModule */}-core`,
|
|
@@ -48606,7 +48589,7 @@ function purgeInfiniteCache(beans) {
|
|
|
48606
48589
|
function getInfiniteRowCount(beans) {
|
|
48607
48590
|
return beans.rowModelHelperService?.getInfiniteRowModel()?.getRowCount();
|
|
48608
48591
|
}
|
|
48609
|
-
var VERSION4 = "32.2.
|
|
48592
|
+
var VERSION4 = "32.2.2";
|
|
48610
48593
|
var InfiniteRowModelCoreModule = _defineModule({
|
|
48611
48594
|
version: VERSION4,
|
|
48612
48595
|
moduleName: `${"@ag-grid-community/infinite-row-model" /* InfiniteRowModelModule */}-core`,
|
|
@@ -49037,7 +49020,7 @@ var lengthValueToCss = (value) => {
|
|
|
49037
49020
|
return `${value}px`;
|
|
49038
49021
|
if ("calc" in value) {
|
|
49039
49022
|
const valueWithSpaces = value.calc.replace(/ ?[*/+] ?/g, " $& ");
|
|
49040
|
-
return `calc(${valueWithSpaces.replace(
|
|
49023
|
+
return `calc(${valueWithSpaces.replace(/-?[a-z][a-z0-9]*\b(?![-(])/gi, (p) => p[0] === "-" ? p : ` ${paramToVariableExpression(p)} `)})`;
|
|
49041
49024
|
}
|
|
49042
49025
|
if ("ref" in value)
|
|
49043
49026
|
return paramToVariableExpression(value.ref);
|
|
@@ -50076,7 +50059,8 @@ export {
|
|
|
50076
50059
|
_isRowSelection,
|
|
50077
50060
|
_isServerSideRowModel,
|
|
50078
50061
|
_isStopPropagationForAgGrid,
|
|
50079
|
-
|
|
50062
|
+
_isUsingNewCellSelectionAPI,
|
|
50063
|
+
_isUsingNewRowSelectionAPI,
|
|
50080
50064
|
_isVisible,
|
|
50081
50065
|
_iterateObject,
|
|
50082
50066
|
_jsonEquals,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ag-grid-community",
|
|
3
|
-
"version": "32.2.
|
|
3
|
+
"version": "32.2.2",
|
|
4
4
|
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
|
|
5
5
|
"main": "./dist/package/main.cjs.js",
|
|
6
6
|
"types": "./dist/types/main.d.ts",
|
|
@@ -95,12 +95,12 @@
|
|
|
95
95
|
"gulp": "^4.0.0",
|
|
96
96
|
"gulp-replace": "^1.0.0",
|
|
97
97
|
"gulp-rename": "^2.0.0",
|
|
98
|
-
"@ag-grid-community/client-side-row-model": "32.2.
|
|
99
|
-
"@ag-grid-community/core": "32.2.
|
|
100
|
-
"@ag-grid-community/csv-export": "32.2.
|
|
101
|
-
"@ag-grid-community/infinite-row-model": "32.2.
|
|
102
|
-
"@ag-grid-community/styles": "32.2.
|
|
103
|
-
"@ag-grid-community/theming": "32.2.
|
|
98
|
+
"@ag-grid-community/client-side-row-model": "32.2.2",
|
|
99
|
+
"@ag-grid-community/core": "32.2.2",
|
|
100
|
+
"@ag-grid-community/csv-export": "32.2.2",
|
|
101
|
+
"@ag-grid-community/infinite-row-model": "32.2.2",
|
|
102
|
+
"@ag-grid-community/styles": "32.2.2",
|
|
103
|
+
"@ag-grid-community/theming": "32.2.2",
|
|
104
104
|
"ts-loader": "^9.5.1",
|
|
105
105
|
"style-loader": "^3.3.4",
|
|
106
106
|
"css-loader": "^6.10.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "32.2.
|
|
1
|
+
export declare const VERSION = "32.2.2";
|
|
@@ -797,15 +797,15 @@ export interface _ServerSideRowModelGridApi {
|
|
|
797
797
|
/**
|
|
798
798
|
* Returns an object containing rules matching the selected rows in the SSRM.
|
|
799
799
|
*
|
|
800
|
-
* If `
|
|
801
|
-
* If `
|
|
800
|
+
* If `rowSelection.groupSelects` is `'self'` the returned object will be flat, and will conform to `IServerSideSelectionState`.
|
|
801
|
+
* If `rowSelection.groupSelects` is `'descendants'` or `'filteredDescendants'` the returned object will be hierarchical, and will conform to `IServerSideGroupSelectionState`.
|
|
802
802
|
*/
|
|
803
803
|
getServerSideSelectionState(): IServerSideSelectionState | IServerSideGroupSelectionState | null;
|
|
804
804
|
/**
|
|
805
805
|
* Set the rules matching the selected rows in the SSRM.
|
|
806
806
|
*
|
|
807
|
-
* If `
|
|
808
|
-
* If `
|
|
807
|
+
* If `rowSelection.groupSelects` is `'self'` the param will be flat, and should conform to `IServerSideSelectionState`.
|
|
808
|
+
* If `rowSelection.groupSelects` is `'descendants'` or `'filteredDescendants'` the param will be hierarchical, and should conform to `IServerSideGroupSelectionState`.
|
|
809
809
|
*/
|
|
810
810
|
setServerSideSelectionState(state: IServerSideSelectionState | IServerSideGroupSelectionState): void;
|
|
811
811
|
/** Apply transactions to the server side row model. */
|
|
@@ -5,7 +5,7 @@ export declare class ComponentUtil {
|
|
|
5
5
|
static PUBLIC_EVENTS: readonly ["columnEverythingChanged", "newColumnsLoaded", "columnPivotModeChanged", "pivotMaxColumnsExceeded", "columnRowGroupChanged", "expandOrCollapseAll", "columnPivotChanged", "gridColumnsChanged", "columnValueChanged", "columnMoved", "columnVisible", "columnPinned", "columnGroupOpened", "columnResized", "displayedColumnsChanged", "virtualColumnsChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "asyncTransactionsFlushed", "rowGroupOpened", "rowDataUpdated", "pinnedRowDataChanged", "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", "tooltipShow", "tooltipHide", "cellKeyDown", "cellMouseOver", "cellMouseOut", "filterChanged", "filterModified", "filterOpened", "advancedFilterBuilderVisibleChanged", "sortChanged", "virtualRowRemoved", "rowClicked", "rowDoubleClicked", "gridReady", "gridPreDestroyed", "gridSizeChanged", "viewportChanged", "firstDataRendered", "dragStarted", "dragStopped", "dragCancelled", "rowEditingStarted", "rowEditingStopped", "cellEditingStarted", "cellEditingStopped", "bodyScroll", "bodyScrollEnd", "paginationChanged", "componentStateChanged", "storeRefreshed", "stateUpdated", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel"];
|
|
6
6
|
static getCallbackForEvent(eventName: string): string;
|
|
7
7
|
static EVENT_CALLBACKS: string[];
|
|
8
|
-
static BOOLEAN_PROPERTIES: ("suppressMovableColumns" | "suppressMenuHide" | "suppressFieldDotNotation" | "api" | "sideBar" | "suppressContextMenu" | "preventDefaultOnContextMenu" | "allowContextMenuWithControlKey" | "enableBrowserTooltips" | "tooltipMouseTrack" | "tooltipInteraction" | "copyHeadersToClipboard" | "copyGroupHeadersToClipboard" | "suppressCopyRowsToClipboard" | "suppressCopySingleCellRanges" | "suppressLastEmptyLineOnPaste" | "suppressClipboardPaste" | "suppressClipboardApi" | "suppressCutToClipboard" | "maintainColumnOrder" | "enableStrictPivotColumnOrder" | "allowDragFromColumnsToolPanel" | "suppressColumnMoveAnimation" | "suppressMoveWhenColumnDragging" | "suppressDragLeaveHidesColumns" | "suppressRowGroupHidesColumns" | "suppressAutoSize" | "skipHeaderOnAutoSize" | "singleClickEdit" | "suppressClickEdit" | "readOnlyEdit" | "stopEditingWhenCellsLoseFocus" | "enterNavigatesVertically" | "enterNavigatesVerticallyAfterEdit" | "enableCellEditingOnBackspace" | "undoRedoCellEditing" | "suppressCsvExport" | "suppressExcelExport" | "cacheQuickFilter" | "includeHiddenColumnsInQuickFilter" | "applyQuickFilterBeforePivotOrAgg" | "excludeChildrenWhenTreeDataFiltering" | "enableAdvancedFilter" | "includeHiddenColumnsInAdvancedFilter" | "suppressAdvancedFilterEval" | "suppressSetFilterByDefault" | "enableCharts" | "masterDetail" | "keepDetailRows" | "detailRowAutoHeight" | "valueCache" | "valueCacheNeverExpires" | "enableCellExpressions" | "suppressTouch" | "suppressFocusAfterRefresh" | "suppressAsyncEvents" | "suppressBrowserResizeObserver" | "suppressPropertyNamesCheck" | "suppressChangeDetection" | "debug" | "loading" | "suppressLoadingOverlay" | "suppressNoRowsOverlay" | "pagination" | "paginationPageSizeSelector" | "paginationAutoPageSize" | "paginateChildRows" | "suppressPaginationPanel" | "pivotMode" | "pivotSuppressAutoColumn" | "suppressExpandablePivotGroups" | "functionsReadOnly" | "suppressAggFuncInHeader" | "alwaysAggregateAtRootLevel" | "aggregateOnlyChangedColumns" | "suppressAggFilteredOnly" | "removePivotHeaderRowWhenSingleValueColumn" | "animateRows" | "enableCellChangeFlash" | "allowShowChangeAfterFilter" | "ensureDomOrder" | "enableRtl" | "suppressColumnVirtualisation" | "suppressMaxRenderedRowRestriction" | "suppressRowVirtualisation" | "rowDragManaged" | "suppressRowDrag" | "suppressMoveWhenRowDragging" | "rowDragEntireRow" | "rowDragMultiRow" | "embedFullWidthRows" | "suppressGroupMaintainValueType" | "groupMaintainOrder" | "groupSelectsChildren" | "groupAggFiltering" | "groupIncludeFooter" | "groupIncludeTotalFooter" | "suppressStickyTotalRow" | "groupSuppressBlankHeader" | "groupSelectsFiltered" | "showOpenedGroup" | "groupRemoveSingleChildren" | "groupRemoveLowestSingleChildren" | "groupHideOpenParents" | "groupAllowUnbalanced" | "suppressMakeColumnVisibleAfterUnGroup" | "treeData" | "rowGroupPanelSuppressSort" | "suppressGroupRowsSticky" | "suppressModelUpdateAfterUpdateTransaction" | "suppressServerSideInfiniteScroll" | "suppressServerSideFullWidthLoadingRow" | "purgeClosedRowNodes" | "serverSideSortAllLevels" | "serverSideEnableClientSideSort" | "serverSideOnlyRefreshFilteredGroups" | "serverSideSortOnServer" | "serverSideFilterOnServer" | "alwaysShowHorizontalScroll" | "alwaysShowVerticalScroll" | "debounceVerticalScrollbar" | "suppressHorizontalScroll" | "suppressScrollOnNewData" | "suppressScrollWhenPopupsAreOpen" | "suppressAnimationFrame" | "suppressMiddleClickScrolls" | "suppressPreventDefaultOnMouseWheel" | "rowMultiSelectWithClick" | "suppressRowDeselection" | "suppressRowClickSelection" | "suppressCellFocus" | "suppressHeaderFocus" | "suppressMultiRangeSelection" | "enableCellTextSelection" | "enableRangeSelection" | "enableRangeHandle" | "enableFillHandle" | "suppressClearOnFillReduction" | "accentedSort" | "unSortIcon" | "suppressMultiSort" | "alwaysMultiSort" | "suppressMaintainUnsortedOrder" | "suppressRowHoverHighlight" | "suppressRowTransform" | "columnHoverHighlight" | "deltaSort" | "enableGroupEdit" | "reactiveCustomComponents" | "loadThemeGoogleFonts" | "resetRowDataOnUpdate")[];
|
|
8
|
+
static BOOLEAN_PROPERTIES: ("suppressMovableColumns" | "suppressMenuHide" | "suppressFieldDotNotation" | "api" | "sideBar" | "suppressContextMenu" | "preventDefaultOnContextMenu" | "allowContextMenuWithControlKey" | "enableBrowserTooltips" | "tooltipMouseTrack" | "tooltipInteraction" | "copyHeadersToClipboard" | "copyGroupHeadersToClipboard" | "suppressCopyRowsToClipboard" | "suppressCopySingleCellRanges" | "suppressLastEmptyLineOnPaste" | "suppressClipboardPaste" | "suppressClipboardApi" | "suppressCutToClipboard" | "maintainColumnOrder" | "enableStrictPivotColumnOrder" | "allowDragFromColumnsToolPanel" | "suppressColumnMoveAnimation" | "suppressMoveWhenColumnDragging" | "suppressDragLeaveHidesColumns" | "suppressRowGroupHidesColumns" | "suppressAutoSize" | "skipHeaderOnAutoSize" | "singleClickEdit" | "suppressClickEdit" | "readOnlyEdit" | "stopEditingWhenCellsLoseFocus" | "enterNavigatesVertically" | "enterNavigatesVerticallyAfterEdit" | "enableCellEditingOnBackspace" | "undoRedoCellEditing" | "suppressCsvExport" | "suppressExcelExport" | "cacheQuickFilter" | "includeHiddenColumnsInQuickFilter" | "applyQuickFilterBeforePivotOrAgg" | "excludeChildrenWhenTreeDataFiltering" | "enableAdvancedFilter" | "includeHiddenColumnsInAdvancedFilter" | "suppressAdvancedFilterEval" | "suppressSetFilterByDefault" | "enableCharts" | "masterDetail" | "keepDetailRows" | "detailRowAutoHeight" | "valueCache" | "valueCacheNeverExpires" | "enableCellExpressions" | "suppressTouch" | "suppressFocusAfterRefresh" | "suppressAsyncEvents" | "suppressBrowserResizeObserver" | "suppressPropertyNamesCheck" | "suppressChangeDetection" | "debug" | "loading" | "suppressLoadingOverlay" | "suppressNoRowsOverlay" | "pagination" | "paginationPageSizeSelector" | "paginationAutoPageSize" | "paginateChildRows" | "suppressPaginationPanel" | "pivotMode" | "pivotSuppressAutoColumn" | "suppressExpandablePivotGroups" | "functionsReadOnly" | "suppressAggFuncInHeader" | "alwaysAggregateAtRootLevel" | "aggregateOnlyChangedColumns" | "suppressAggFilteredOnly" | "removePivotHeaderRowWhenSingleValueColumn" | "animateRows" | "enableCellChangeFlash" | "allowShowChangeAfterFilter" | "ensureDomOrder" | "enableRtl" | "suppressColumnVirtualisation" | "suppressMaxRenderedRowRestriction" | "suppressRowVirtualisation" | "rowDragManaged" | "suppressRowDrag" | "suppressMoveWhenRowDragging" | "rowDragEntireRow" | "rowDragMultiRow" | "embedFullWidthRows" | "suppressGroupMaintainValueType" | "groupMaintainOrder" | "groupSelectsChildren" | "groupAggFiltering" | "groupIncludeFooter" | "groupIncludeTotalFooter" | "suppressStickyTotalRow" | "groupSuppressBlankHeader" | "groupSelectsFiltered" | "showOpenedGroup" | "groupRemoveSingleChildren" | "groupRemoveLowestSingleChildren" | "groupHideOpenParents" | "groupAllowUnbalanced" | "suppressMakeColumnVisibleAfterUnGroup" | "treeData" | "rowGroupPanelSuppressSort" | "suppressGroupRowsSticky" | "suppressModelUpdateAfterUpdateTransaction" | "suppressServerSideInfiniteScroll" | "suppressServerSideFullWidthLoadingRow" | "purgeClosedRowNodes" | "serverSideSortAllLevels" | "serverSideEnableClientSideSort" | "serverSideOnlyRefreshFilteredGroups" | "serverSideSortOnServer" | "serverSideFilterOnServer" | "alwaysShowHorizontalScroll" | "alwaysShowVerticalScroll" | "debounceVerticalScrollbar" | "suppressHorizontalScroll" | "suppressScrollOnNewData" | "suppressScrollWhenPopupsAreOpen" | "suppressAnimationFrame" | "suppressMiddleClickScrolls" | "suppressPreventDefaultOnMouseWheel" | "cellSelection" | "rowMultiSelectWithClick" | "suppressRowDeselection" | "suppressRowClickSelection" | "suppressCellFocus" | "suppressHeaderFocus" | "suppressMultiRangeSelection" | "enableCellTextSelection" | "enableRangeSelection" | "enableRangeHandle" | "enableFillHandle" | "suppressClearOnFillReduction" | "accentedSort" | "unSortIcon" | "suppressMultiSort" | "alwaysMultiSort" | "suppressMaintainUnsortedOrder" | "suppressRowHoverHighlight" | "suppressRowTransform" | "columnHoverHighlight" | "deltaSort" | "enableGroupEdit" | "reactiveCustomComponents" | "loadThemeGoogleFonts" | "resetRowDataOnUpdate")[];
|
|
9
9
|
static ALL_PROPERTIES: (keyof GridOptions<any>)[];
|
|
10
10
|
static ALL_PROPERTIES_AND_CALLBACKS: string[];
|
|
11
11
|
static ALL_PROPERTIES_AND_CALLBACKS_SET: Set<string>;
|