ag-grid-enterprise 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-enterprise.js +148 -162
- package/dist/ag-grid-enterprise.min.js +1 -1
- package/dist/ag-grid-enterprise.min.noStyle.js +1 -1
- package/dist/ag-grid-enterprise.noStyle.js +148 -162
- package/dist/package/main.cjs.js +44 -1249
- package/dist/package/main.cjs.min.js +86 -100
- package/dist/package/main.esm.min.mjs +89 -103
- package/dist/package/main.esm.mjs +46 -1279
- package/dist/package/package.json +22 -23
- package/dist/types/advanced-filter/version.d.ts +1 -1
- package/dist/types/charts/version.d.ts +1 -1
- package/dist/types/clipboard/version.d.ts +1 -1
- package/dist/types/column-tool-panel/version.d.ts +1 -1
- package/dist/types/enterprise-core/version.d.ts +1 -1
- package/dist/types/excel-export/version.d.ts +1 -1
- package/dist/types/filter-tool-panel/version.d.ts +1 -1
- package/dist/types/master-detail/version.d.ts +1 -1
- package/dist/types/menu/version.d.ts +1 -1
- package/dist/types/multi-filter/version.d.ts +1 -1
- package/dist/types/range-selection/version.d.ts +1 -1
- package/dist/types/rich-select/version.d.ts +1 -1
- package/dist/types/row-grouping/version.d.ts +1 -1
- package/dist/types/server-side-row-model/version.d.ts +1 -1
- package/dist/types/set-filter/version.d.ts +1 -1
- package/dist/types/side-bar/version.d.ts +1 -1
- package/dist/types/sparklines/version.d.ts +1 -1
- package/dist/types/status-bar/version.d.ts +1 -1
- package/dist/types/viewport-row-model/version.d.ts +1 -1
- package/package.json +22 -23
|
@@ -1906,7 +1906,7 @@ var SortStage = class extends import_core8.BeanStub {
|
|
|
1906
1906
|
};
|
|
1907
1907
|
|
|
1908
1908
|
// community-modules/client-side-row-model/src/version.ts
|
|
1909
|
-
var VERSION = "32.2.
|
|
1909
|
+
var VERSION = "32.2.2";
|
|
1910
1910
|
|
|
1911
1911
|
// community-modules/client-side-row-model/src/clientSideRowModelModule.ts
|
|
1912
1912
|
var ClientSideRowModelCoreModule = (0, import_core9._defineModule)({
|
|
@@ -2217,7 +2217,8 @@ __export(main_exports, {
|
|
|
2217
2217
|
_isRowSelection: () => _isRowSelection,
|
|
2218
2218
|
_isServerSideRowModel: () => _isServerSideRowModel,
|
|
2219
2219
|
_isStopPropagationForAgGrid: () => _isStopPropagationForAgGrid,
|
|
2220
|
-
|
|
2220
|
+
_isUsingNewCellSelectionAPI: () => _isUsingNewCellSelectionAPI,
|
|
2221
|
+
_isUsingNewRowSelectionAPI: () => _isUsingNewRowSelectionAPI,
|
|
2221
2222
|
_isVisible: () => _isVisible,
|
|
2222
2223
|
_iterateObject: () => _iterateObject,
|
|
2223
2224
|
_jsonEquals: () => _jsonEquals,
|
|
@@ -2824,48 +2825,52 @@ function _getRowIdCallback(gos) {
|
|
|
2824
2825
|
};
|
|
2825
2826
|
}
|
|
2826
2827
|
function _getCheckboxes(selection) {
|
|
2827
|
-
return
|
|
2828
|
+
return selection?.checkboxes ?? true;
|
|
2828
2829
|
}
|
|
2829
2830
|
function _getHeaderCheckbox(selection) {
|
|
2830
2831
|
return selection?.mode === "multiRow" && (selection.headerCheckbox ?? true);
|
|
2831
2832
|
}
|
|
2832
2833
|
function _getHideDisabledCheckboxes(selection) {
|
|
2833
|
-
return
|
|
2834
|
+
return selection?.hideDisabledCheckboxes ?? false;
|
|
2834
2835
|
}
|
|
2835
|
-
function
|
|
2836
|
-
|
|
2836
|
+
function _isUsingNewRowSelectionAPI(gos) {
|
|
2837
|
+
const rowSelection = gos.get("rowSelection");
|
|
2838
|
+
return typeof rowSelection !== "string";
|
|
2839
|
+
}
|
|
2840
|
+
function _isUsingNewCellSelectionAPI(gos) {
|
|
2841
|
+
return gos.get("cellSelection") !== void 0;
|
|
2837
2842
|
}
|
|
2838
2843
|
function _getSuppressMultiRanges(gos) {
|
|
2839
|
-
const selection = gos.get("
|
|
2844
|
+
const selection = gos.get("cellSelection");
|
|
2840
2845
|
const useNewAPI = selection !== void 0;
|
|
2841
2846
|
if (!useNewAPI) {
|
|
2842
2847
|
return gos.get("suppressMultiRangeSelection");
|
|
2843
2848
|
}
|
|
2844
|
-
return selection
|
|
2849
|
+
return typeof selection !== "boolean" ? selection?.suppressMultiRanges ?? false : false;
|
|
2845
2850
|
}
|
|
2846
2851
|
function _isCellSelectionEnabled(gos) {
|
|
2847
|
-
const selection = gos.get("
|
|
2852
|
+
const selection = gos.get("cellSelection");
|
|
2848
2853
|
const useNewAPI = selection !== void 0;
|
|
2849
|
-
return useNewAPI ? selection
|
|
2854
|
+
return useNewAPI ? !!selection : gos.get("enableRangeSelection");
|
|
2850
2855
|
}
|
|
2851
2856
|
function _isRangeHandleEnabled(gos) {
|
|
2852
|
-
const selection = gos.get("
|
|
2857
|
+
const selection = gos.get("cellSelection");
|
|
2853
2858
|
const useNewAPI = selection !== void 0;
|
|
2854
2859
|
if (!useNewAPI) {
|
|
2855
2860
|
return gos.get("enableRangeHandle");
|
|
2856
2861
|
}
|
|
2857
|
-
return selection
|
|
2862
|
+
return typeof selection !== "boolean" ? selection.handle?.mode === "range" : false;
|
|
2858
2863
|
}
|
|
2859
2864
|
function _isFillHandleEnabled(gos) {
|
|
2860
|
-
const selection = gos.get("
|
|
2865
|
+
const selection = gos.get("cellSelection");
|
|
2861
2866
|
const useNewAPI = selection !== void 0;
|
|
2862
2867
|
if (!useNewAPI) {
|
|
2863
2868
|
return gos.get("enableFillHandle");
|
|
2864
2869
|
}
|
|
2865
|
-
return selection
|
|
2870
|
+
return typeof selection !== "boolean" ? selection.handle?.mode === "fill" : false;
|
|
2866
2871
|
}
|
|
2867
2872
|
function _getFillHandle(gos) {
|
|
2868
|
-
const selection = gos.get("
|
|
2873
|
+
const selection = gos.get("cellSelection");
|
|
2869
2874
|
const useNewAPI = selection !== void 0;
|
|
2870
2875
|
if (!useNewAPI) {
|
|
2871
2876
|
return {
|
|
@@ -2875,12 +2880,11 @@ function _getFillHandle(gos) {
|
|
|
2875
2880
|
suppressClearOnFillReduction: gos.get("suppressClearOnFillReduction")
|
|
2876
2881
|
};
|
|
2877
2882
|
}
|
|
2878
|
-
return selection
|
|
2883
|
+
return typeof selection !== "boolean" && selection.handle?.mode === "fill" ? selection.handle : void 0;
|
|
2879
2884
|
}
|
|
2880
2885
|
function _getEnableClickSelection(gos) {
|
|
2881
|
-
const selection = gos.get("
|
|
2882
|
-
|
|
2883
|
-
if (!useNewAPI) {
|
|
2886
|
+
const selection = gos.get("rowSelection") ?? "single";
|
|
2887
|
+
if (typeof selection === "string") {
|
|
2884
2888
|
const suppressRowClickSelection = gos.get("suppressRowClickSelection");
|
|
2885
2889
|
const suppressRowDeselection = gos.get("suppressRowDeselection");
|
|
2886
2890
|
if (suppressRowClickSelection && suppressRowDeselection) {
|
|
@@ -2893,7 +2897,7 @@ function _getEnableClickSelection(gos) {
|
|
|
2893
2897
|
return true;
|
|
2894
2898
|
}
|
|
2895
2899
|
}
|
|
2896
|
-
return selection
|
|
2900
|
+
return selection.mode === "singleRow" || selection.mode === "multiRow" ? selection.enableClickSelection ?? false : false;
|
|
2897
2901
|
}
|
|
2898
2902
|
function _getEnableSelection(gos) {
|
|
2899
2903
|
const enableClickSelection = _getEnableClickSelection(gos);
|
|
@@ -2904,18 +2908,16 @@ function _getEnableDeselection(gos) {
|
|
|
2904
2908
|
return enableClickSelection === true || enableClickSelection === "enableDeselection";
|
|
2905
2909
|
}
|
|
2906
2910
|
function _getIsRowSelectable(gos) {
|
|
2907
|
-
const selection = gos.get("
|
|
2908
|
-
|
|
2909
|
-
if (!useNewAPI) {
|
|
2911
|
+
const selection = gos.get("rowSelection");
|
|
2912
|
+
if (typeof selection === "string") {
|
|
2910
2913
|
return gos.get("isRowSelectable");
|
|
2911
2914
|
}
|
|
2912
|
-
return selection
|
|
2915
|
+
return selection?.isRowSelectable;
|
|
2913
2916
|
}
|
|
2914
2917
|
function _getRowSelectionMode(gos) {
|
|
2915
|
-
const selection = gos.get("
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
switch (gos.get("rowSelection")) {
|
|
2918
|
+
const selection = gos.get("rowSelection");
|
|
2919
|
+
if (typeof selection === "string") {
|
|
2920
|
+
switch (selection) {
|
|
2919
2921
|
case "multiple":
|
|
2920
2922
|
return "multiRow";
|
|
2921
2923
|
case "single":
|
|
@@ -2924,23 +2926,22 @@ function _getRowSelectionMode(gos) {
|
|
|
2924
2926
|
return;
|
|
2925
2927
|
}
|
|
2926
2928
|
}
|
|
2927
|
-
return selection
|
|
2929
|
+
return selection?.mode;
|
|
2928
2930
|
}
|
|
2929
2931
|
function _isMultiRowSelection(gos) {
|
|
2930
|
-
|
|
2932
|
+
const mode = _getRowSelectionMode(gos);
|
|
2933
|
+
return mode === "multiRow";
|
|
2931
2934
|
}
|
|
2932
|
-
function
|
|
2933
|
-
const selection = gos.get("
|
|
2934
|
-
|
|
2935
|
-
if (!useNewAPI) {
|
|
2935
|
+
function _getEnableSelectionWithoutKeys(gos) {
|
|
2936
|
+
const selection = gos.get("rowSelection");
|
|
2937
|
+
if (typeof selection === "string") {
|
|
2936
2938
|
return gos.get("rowMultiSelectWithClick");
|
|
2937
2939
|
}
|
|
2938
|
-
return selection
|
|
2940
|
+
return selection?.enableSelectionWithoutKeys ?? false;
|
|
2939
2941
|
}
|
|
2940
2942
|
function _getGroupSelection(gos) {
|
|
2941
|
-
const selection = gos.get("
|
|
2942
|
-
|
|
2943
|
-
if (!useNewAPI) {
|
|
2943
|
+
const selection = gos.get("rowSelection");
|
|
2944
|
+
if (typeof selection === "string") {
|
|
2944
2945
|
const groupSelectsChildren = gos.get("groupSelectsChildren");
|
|
2945
2946
|
const groupSelectsFiltered = gos.get("groupSelectsFiltered");
|
|
2946
2947
|
if (groupSelectsChildren && groupSelectsFiltered) {
|
|
@@ -2951,7 +2952,7 @@ function _getGroupSelection(gos) {
|
|
|
2951
2952
|
return "self";
|
|
2952
2953
|
}
|
|
2953
2954
|
}
|
|
2954
|
-
return selection
|
|
2955
|
+
return selection?.mode === "multiRow" ? selection.groupSelects : void 0;
|
|
2955
2956
|
}
|
|
2956
2957
|
function _getGroupSelectsDescendants(gos) {
|
|
2957
2958
|
const groupSelection = _getGroupSelection(gos);
|
|
@@ -3504,11 +3505,8 @@ var ControlsColService = class extends BeanStub {
|
|
|
3504
3505
|
this.beanName = "controlsColService";
|
|
3505
3506
|
}
|
|
3506
3507
|
createControlsCols() {
|
|
3507
|
-
const so = this.gos.get("
|
|
3508
|
-
if (!so) {
|
|
3509
|
-
return [];
|
|
3510
|
-
}
|
|
3511
|
-
if (so.mode === "cell") {
|
|
3508
|
+
const so = this.gos.get("rowSelection");
|
|
3509
|
+
if (!so || typeof so === "string") {
|
|
3512
3510
|
return [];
|
|
3513
3511
|
}
|
|
3514
3512
|
const checkboxes = _getCheckboxes(so);
|
|
@@ -3992,8 +3990,8 @@ var AgColumn = class extends BeanStub {
|
|
|
3992
3990
|
return this.isColumnFunc(rowNode, this.colDef.dndSource);
|
|
3993
3991
|
}
|
|
3994
3992
|
isCellCheckboxSelection(rowNode) {
|
|
3995
|
-
const so = this.gos.get("
|
|
3996
|
-
if (so) {
|
|
3993
|
+
const so = this.gos.get("rowSelection");
|
|
3994
|
+
if (so && typeof so !== "string") {
|
|
3997
3995
|
const checkbox = isColumnControlsCol(this) && _getCheckboxes(so);
|
|
3998
3996
|
return this.isColumnFunc(rowNode, checkbox);
|
|
3999
3997
|
} else {
|
|
@@ -4823,7 +4821,7 @@ var ColumnModel = class extends BeanStub {
|
|
|
4823
4821
|
["groupDisplayType", "treeData", "treeDataDisplayType", "groupHideOpenParents"],
|
|
4824
4822
|
(event) => this.refreshAll(convertSourceType(event.source))
|
|
4825
4823
|
);
|
|
4826
|
-
this.addManagedPropertyListener("
|
|
4824
|
+
this.addManagedPropertyListener("rowSelection", (event) => {
|
|
4827
4825
|
this.onSelectionOptionsChanged(event.currentValue, event.previousValue, convertSourceType(event.source));
|
|
4828
4826
|
});
|
|
4829
4827
|
this.addManagedPropertyListener(
|
|
@@ -5518,6 +5516,9 @@ var ColumnModel = class extends BeanStub {
|
|
|
5518
5516
|
}
|
|
5519
5517
|
}
|
|
5520
5518
|
onSelectionOptionsChanged(current, prev, source) {
|
|
5519
|
+
if (typeof current === "string" || typeof prev === "string") {
|
|
5520
|
+
return;
|
|
5521
|
+
}
|
|
5521
5522
|
const prevCheckbox = prev ? _getCheckboxes(prev) : void 0;
|
|
5522
5523
|
const currCheckbox = current ? _getCheckboxes(current) : void 0;
|
|
5523
5524
|
const checkboxHasChanged = prevCheckbox !== currCheckbox;
|
|
@@ -8512,7 +8513,6 @@ var INITIAL_GRID_OPTION_KEYS = {
|
|
|
8512
8513
|
var _PropertyKeys = class _PropertyKeys {
|
|
8513
8514
|
};
|
|
8514
8515
|
_PropertyKeys.STRING_PROPERTIES = [
|
|
8515
|
-
"rowSelection",
|
|
8516
8516
|
"overlayLoadingTemplate",
|
|
8517
8517
|
"overlayNoRowsTemplate",
|
|
8518
8518
|
"gridId",
|
|
@@ -8573,7 +8573,7 @@ _PropertyKeys.OBJECT_PROPERTIES = [
|
|
|
8573
8573
|
"advancedFilterBuilderParams",
|
|
8574
8574
|
"initialState",
|
|
8575
8575
|
"autoSizeStrategy",
|
|
8576
|
-
"
|
|
8576
|
+
"cellSelection",
|
|
8577
8577
|
"selectionColumnDef"
|
|
8578
8578
|
];
|
|
8579
8579
|
_PropertyKeys.ARRAY_PROPERTIES = [
|
|
@@ -8776,7 +8776,8 @@ _PropertyKeys.BOOLEAN_PROPERTIES = [
|
|
|
8776
8776
|
_PropertyKeys.OTHER_PROPERTIES = [
|
|
8777
8777
|
"suppressStickyTotalRow",
|
|
8778
8778
|
// needs avoid coercion to boolean so that we can warn if it's unset
|
|
8779
|
-
"loadThemeGoogleFonts"
|
|
8779
|
+
"loadThemeGoogleFonts",
|
|
8780
|
+
"rowSelection"
|
|
8780
8781
|
];
|
|
8781
8782
|
_PropertyKeys.FUNCTION_PROPERTIES = [
|
|
8782
8783
|
"doesExternalFilterPass",
|
|
@@ -19790,7 +19791,7 @@ function _defineModule(definition) {
|
|
|
19790
19791
|
}
|
|
19791
19792
|
|
|
19792
19793
|
// community-modules/core/src/version.ts
|
|
19793
|
-
var VERSION = "32.2.
|
|
19794
|
+
var VERSION = "32.2.2";
|
|
19794
19795
|
|
|
19795
19796
|
// community-modules/core/src/filter/columnFilterApi.ts
|
|
19796
19797
|
function isColumnFilterPresent(beans) {
|
|
@@ -23289,8 +23290,13 @@ var SelectAllFeature = class extends BeanStub {
|
|
|
23289
23290
|
this.selectionService = beans.selectionService;
|
|
23290
23291
|
}
|
|
23291
23292
|
postConstruct() {
|
|
23292
|
-
|
|
23293
|
-
|
|
23293
|
+
const setRowSelectionOptions = (rowSelection) => {
|
|
23294
|
+
if (rowSelection && typeof rowSelection !== "string") {
|
|
23295
|
+
this.selectionOptions = rowSelection;
|
|
23296
|
+
}
|
|
23297
|
+
};
|
|
23298
|
+
setRowSelectionOptions(this.gos.get("rowSelection"));
|
|
23299
|
+
this.addManagedPropertyListener("rowSelection", (e) => setRowSelectionOptions(e.currentValue));
|
|
23294
23300
|
}
|
|
23295
23301
|
onSpaceKeyDown(e) {
|
|
23296
23302
|
const checkbox = this.cbSelectAll;
|
|
@@ -26370,7 +26376,7 @@ var DragListenerFeature = class extends BeanStub {
|
|
|
26370
26376
|
onDragStop: this.rangeService.onDragStop.bind(this.rangeService),
|
|
26371
26377
|
onDragging: this.rangeService.onDragging.bind(this.rangeService)
|
|
26372
26378
|
};
|
|
26373
|
-
this.addManagedPropertyListeners(["enableRangeSelection", "
|
|
26379
|
+
this.addManagedPropertyListeners(["enableRangeSelection", "cellSelection"], () => {
|
|
26374
26380
|
const isEnabled = _isCellSelectionEnabled(this.gos);
|
|
26375
26381
|
if (isEnabled) {
|
|
26376
26382
|
this.enableFeature();
|
|
@@ -26496,8 +26502,8 @@ var CheckboxSelectionComponent = class extends Component {
|
|
|
26496
26502
|
selectable = isVisible ?? false;
|
|
26497
26503
|
}
|
|
26498
26504
|
}
|
|
26499
|
-
const so = this.gos.get("
|
|
26500
|
-
const disableInsteadOfHide = so ? !_getHideDisabledCheckboxes(so) : this.column?.getColDef().showDisabledCheckboxes;
|
|
26505
|
+
const so = this.gos.get("rowSelection");
|
|
26506
|
+
const disableInsteadOfHide = so && typeof so !== "string" ? !_getHideDisabledCheckboxes(so) : this.column?.getColDef().showDisabledCheckboxes;
|
|
26501
26507
|
if (disableInsteadOfHide) {
|
|
26502
26508
|
this.eCheckbox.setDisabled(!selectable);
|
|
26503
26509
|
this.setVisible(true);
|
|
@@ -26514,8 +26520,8 @@ var CheckboxSelectionComponent = class extends Component {
|
|
|
26514
26520
|
if (this.overrides) {
|
|
26515
26521
|
return this.overrides.isVisible;
|
|
26516
26522
|
}
|
|
26517
|
-
const so = this.gos.get("
|
|
26518
|
-
if (so) {
|
|
26523
|
+
const so = this.gos.get("rowSelection");
|
|
26524
|
+
if (so && typeof so !== "string") {
|
|
26519
26525
|
return _getCheckboxes(so);
|
|
26520
26526
|
}
|
|
26521
26527
|
return this.column?.getColDef()?.checkboxSelection;
|
|
@@ -27533,8 +27539,8 @@ var _CellCtrl = class _CellCtrl extends BeanStub {
|
|
|
27533
27539
|
return res;
|
|
27534
27540
|
}
|
|
27535
27541
|
isCheckboxSelection(colDef) {
|
|
27536
|
-
const {
|
|
27537
|
-
return colDef.checkboxSelection || isColumnControlsCol(this.column) &&
|
|
27542
|
+
const { rowSelection } = this.beans.gridOptions;
|
|
27543
|
+
return colDef.checkboxSelection || isColumnControlsCol(this.column) && rowSelection && typeof rowSelection !== "string" && _getCheckboxes(rowSelection);
|
|
27538
27544
|
}
|
|
27539
27545
|
refreshShouldDestroy() {
|
|
27540
27546
|
const colDef = this.column.getColDef();
|
|
@@ -28271,9 +28277,7 @@ var _RowCtrl = class _RowCtrl extends BeanStub {
|
|
|
28271
28277
|
}
|
|
28272
28278
|
addRowDraggerToRow(gui) {
|
|
28273
28279
|
if (_isCellSelectionEnabled(this.gos)) {
|
|
28274
|
-
_warnOnce(
|
|
28275
|
-
"Setting `rowDragEntireRow: true` in the gridOptions doesn't work with `selection.mode = 'cell'`"
|
|
28276
|
-
);
|
|
28280
|
+
_warnOnce("Setting `rowDragEntireRow: true` in the gridOptions doesn't work with `cellSelection: true`");
|
|
28277
28281
|
return;
|
|
28278
28282
|
}
|
|
28279
28283
|
const translate = this.beans.localeService.getLocaleTextFunc();
|
|
@@ -28856,7 +28860,7 @@ var _RowCtrl = class _RowCtrl extends BeanStub {
|
|
|
28856
28860
|
) {
|
|
28857
28861
|
return;
|
|
28858
28862
|
}
|
|
28859
|
-
const multiSelectOnClick =
|
|
28863
|
+
const multiSelectOnClick = _getEnableSelectionWithoutKeys(gos);
|
|
28860
28864
|
const rowDeselectionWithCtrl = _getEnableDeselection(gos);
|
|
28861
28865
|
const source = "rowClicked";
|
|
28862
28866
|
if (isSelected) {
|
|
@@ -34414,7 +34418,7 @@ var RowRenderer = class extends BeanStub {
|
|
|
34414
34418
|
this.eventService.removeEventListener("columnVisible", onColumnMovedPinnedVisible);
|
|
34415
34419
|
};
|
|
34416
34420
|
this.addDestroyFunc(() => removeCellSelectionListeners());
|
|
34417
|
-
this.addManagedPropertyListeners(["enableRangeSelection", "
|
|
34421
|
+
this.addManagedPropertyListeners(["enableRangeSelection", "cellSelection"], () => {
|
|
34418
34422
|
const isEnabled = _isCellSelectionEnabled(this.gos);
|
|
34419
34423
|
if (isEnabled) {
|
|
34420
34424
|
addCellSelectionListeners();
|
|
@@ -34479,7 +34483,7 @@ var RowRenderer = class extends BeanStub {
|
|
|
34479
34483
|
"detailCellRendererParams",
|
|
34480
34484
|
"enableRangeSelection",
|
|
34481
34485
|
"enableCellTextSelection",
|
|
34482
|
-
"
|
|
34486
|
+
"rowSelection"
|
|
34483
34487
|
],
|
|
34484
34488
|
() => this.redrawRows()
|
|
34485
34489
|
);
|
|
@@ -42023,8 +42027,8 @@ var StateService = class extends BeanStub {
|
|
|
42023
42027
|
startColumn
|
|
42024
42028
|
});
|
|
42025
42029
|
});
|
|
42026
|
-
if (
|
|
42027
|
-
return _warnOnce("cannot add multiple ranges when `
|
|
42030
|
+
if (_isUsingNewCellSelectionAPI(gos) && _getSuppressMultiRanges(gos) && cellRanges.length > 1) {
|
|
42031
|
+
return _warnOnce("cannot add multiple ranges when `cellSelection.suppressMultiRanges = true`");
|
|
42028
42032
|
}
|
|
42029
42033
|
rangeService.setCellRanges(cellRanges);
|
|
42030
42034
|
}
|
|
@@ -43165,22 +43169,22 @@ var COLUMN_DEFINITION_DEPRECATIONS = {
|
|
|
43165
43169
|
columnsMenuParams: { version: "31.1", message: "Use `columnChooserParams` instead." },
|
|
43166
43170
|
suppressMenu: { version: "31.1", message: "Use `suppressHeaderMenuButton` instead." },
|
|
43167
43171
|
suppressCellFlash: { version: "31.2", message: "Use `enableCellChangeFlash={false}` in the ColDef" },
|
|
43168
|
-
checkboxSelection: { version: "32.2", message: "Use `
|
|
43172
|
+
checkboxSelection: { version: "32.2", message: "Use `rowSelection.checkboxes` in `GridOptions` instead." },
|
|
43169
43173
|
headerCheckboxSelection: {
|
|
43170
43174
|
version: "32.2",
|
|
43171
|
-
message: "Use `
|
|
43175
|
+
message: "Use `rowSelection.headerCheckbox = true` in `GridOptions` instead."
|
|
43172
43176
|
},
|
|
43173
43177
|
headerCheckboxSelectionFilteredOnly: {
|
|
43174
43178
|
version: "32.2",
|
|
43175
|
-
message: 'Use `
|
|
43179
|
+
message: 'Use `rowSelection.selectAll = "filtered"` in `GridOptions` instead.'
|
|
43176
43180
|
},
|
|
43177
43181
|
headerCheckboxSelectionCurrentPageOnly: {
|
|
43178
43182
|
version: "32.2",
|
|
43179
|
-
message: 'Use `
|
|
43183
|
+
message: 'Use `rowSelection.selectAll = "currentPage"` in `GridOptions` instead.'
|
|
43180
43184
|
},
|
|
43181
43185
|
showDisabledCheckboxes: {
|
|
43182
43186
|
version: "32.2",
|
|
43183
|
-
message: "Use `
|
|
43187
|
+
message: "Use `rowSelection.hideDisabledCheckboxes = true` in `GridOptions` instead."
|
|
43184
43188
|
}
|
|
43185
43189
|
};
|
|
43186
43190
|
var CSRM_REQUIRES_ROW_GROUP_MODULE = (_options, gridOptions) => {
|
|
@@ -43388,32 +43392,6 @@ var COL_DEF_VALIDATORS = {
|
|
|
43388
43392
|
validations: COLUMN_DEFINITION_VALIDATIONS
|
|
43389
43393
|
};
|
|
43390
43394
|
|
|
43391
|
-
// community-modules/core/src/validation/rules/selectionValidations.ts
|
|
43392
|
-
var SELECTION_DEPRECATIONS = {};
|
|
43393
|
-
var SELECTION_OPTIONS_VALIDATIONS = {};
|
|
43394
|
-
var selectionPropertyMap = {
|
|
43395
|
-
mode: void 0,
|
|
43396
|
-
enableClickSelection: void 0,
|
|
43397
|
-
suppressMultiRanges: void 0,
|
|
43398
|
-
hideDisabledCheckboxes: void 0,
|
|
43399
|
-
checkboxes: void 0,
|
|
43400
|
-
headerCheckbox: void 0,
|
|
43401
|
-
isRowSelectable: void 0,
|
|
43402
|
-
groupSelects: void 0,
|
|
43403
|
-
selectAll: void 0,
|
|
43404
|
-
enableMultiSelectWithClick: void 0,
|
|
43405
|
-
handle: void 0,
|
|
43406
|
-
copySelectedRows: void 0
|
|
43407
|
-
};
|
|
43408
|
-
var ALL_PROPERTIES2 = Object.keys(selectionPropertyMap);
|
|
43409
|
-
var SELECTION_VALIDATORS = {
|
|
43410
|
-
objectName: "selection",
|
|
43411
|
-
allProperties: ALL_PROPERTIES2,
|
|
43412
|
-
docsUrl: "grid-options/#reference-selection-selection/",
|
|
43413
|
-
deprecations: SELECTION_DEPRECATIONS,
|
|
43414
|
-
validations: SELECTION_OPTIONS_VALIDATIONS
|
|
43415
|
-
};
|
|
43416
|
-
|
|
43417
43395
|
// community-modules/core/src/validation/rules/gridOptionsValidations.ts
|
|
43418
43396
|
var GRID_OPTION_DEPRECATIONS = () => ({
|
|
43419
43397
|
advancedFilterModel: { version: "31", message: "Use `initialState.filter.advancedFilterModel` instead." },
|
|
@@ -43430,43 +43408,39 @@ var GRID_OPTION_DEPRECATIONS = () => ({
|
|
|
43430
43408
|
groupIncludeFooter: { version: "31.3", message: "Use `groupTotalRow` instead." },
|
|
43431
43409
|
groupIncludeTotalFooter: { version: "31.3", message: "Use `grandTotalRow` instead." },
|
|
43432
43410
|
suppressLoadingOverlay: { version: "32", message: "Use `loading`=false instead." },
|
|
43433
|
-
enableFillHandle: { version: "32.2", message: "Use `
|
|
43434
|
-
enableRangeHandle: { version: "32.2", message: "Use `
|
|
43435
|
-
enableRangeSelection: { version: "32.2", message:
|
|
43436
|
-
rowSelection: {
|
|
43437
|
-
version: "32.2",
|
|
43438
|
-
message: 'Use `selection.mode = "singleRow"` or `selection.mode = "multiRow" instead.'
|
|
43439
|
-
},
|
|
43411
|
+
enableFillHandle: { version: "32.2", message: "Use `cellSelection.handle` instead." },
|
|
43412
|
+
enableRangeHandle: { version: "32.2", message: "Use `cellSelection.handle` instead." },
|
|
43413
|
+
enableRangeSelection: { version: "32.2", message: "Use `cellSelection = true` instead." },
|
|
43440
43414
|
suppressMultiRangeSelection: {
|
|
43441
43415
|
version: "32.2",
|
|
43442
|
-
message: "Use `
|
|
43416
|
+
message: "Use `cellSelection.suppressMultiRanges` instead."
|
|
43443
43417
|
},
|
|
43444
43418
|
suppressClearOnFillReduction: {
|
|
43445
43419
|
version: "32.2",
|
|
43446
|
-
message: "Use `
|
|
43420
|
+
message: "Use `cellSelection.handle.suppressClearOnFillReduction` instead."
|
|
43447
43421
|
},
|
|
43448
|
-
fillHandleDirection: { version: "32.2", message: "Use `
|
|
43449
|
-
fillOperation: { version: "32.2", message: "Use `
|
|
43422
|
+
fillHandleDirection: { version: "32.2", message: "Use `cellSelection.handle.direction` instead." },
|
|
43423
|
+
fillOperation: { version: "32.2", message: "Use `cellSelection.handle.setFillValue` instead." },
|
|
43450
43424
|
suppressRowClickSelection: {
|
|
43451
43425
|
version: "32.2",
|
|
43452
|
-
message: "Use `
|
|
43426
|
+
message: "Use `rowSelection.enableClickSelection` instead."
|
|
43453
43427
|
},
|
|
43454
|
-
suppressRowDeselection: { version: "32.2", message: "Use `
|
|
43428
|
+
suppressRowDeselection: { version: "32.2", message: "Use `rowSelection.enableClickSelection` instead." },
|
|
43455
43429
|
rowMultiSelectWithClick: {
|
|
43456
43430
|
version: "32.2",
|
|
43457
|
-
message: "Use `
|
|
43431
|
+
message: "Use `rowSelection.enableSelectionWithoutKeys` instead."
|
|
43458
43432
|
},
|
|
43459
43433
|
groupSelectsChildren: {
|
|
43460
43434
|
version: "32.2",
|
|
43461
|
-
message: 'Use `
|
|
43435
|
+
message: 'Use `rowSelection.groupSelects = "descendants"` instead.'
|
|
43462
43436
|
},
|
|
43463
43437
|
groupSelectsFiltered: {
|
|
43464
43438
|
version: "32.2",
|
|
43465
|
-
message: 'Use `
|
|
43439
|
+
message: 'Use `rowSelection.groupSelects = "filteredDescendants"` instead.'
|
|
43466
43440
|
},
|
|
43467
43441
|
isRowSelectable: { version: "32.2", message: "Use `selectionOptions.isRowSelectable` instead." },
|
|
43468
|
-
suppressCopySingleCellRanges: { version: "32.2", message: "Use `
|
|
43469
|
-
suppressCopyRowsToClipboard: { version: "32.2", message: "Use `
|
|
43442
|
+
suppressCopySingleCellRanges: { version: "32.2", message: "Use `rowSelection.copySelectedRows` instead." },
|
|
43443
|
+
suppressCopyRowsToClipboard: { version: "32.2", message: "Use `rowSelection.copySelectedRows` instead." },
|
|
43470
43444
|
onRangeSelectionChanged: { version: "32.2", message: "Use `onCellSelectionChanged` instead." },
|
|
43471
43445
|
onRangeDeleteStart: { version: "32.2", message: "Use `onCellSelectionDeleteStart` instead." },
|
|
43472
43446
|
onRangeDeleteEnd: { version: "32.2", message: "Use `onCellSelectionDeleteEnd` instead." },
|
|
@@ -43773,12 +43747,22 @@ var GRID_OPTION_VALIDATIONS = () => ({
|
|
|
43773
43747
|
return null;
|
|
43774
43748
|
}
|
|
43775
43749
|
},
|
|
43750
|
+
rowSelection: {
|
|
43751
|
+
validate({ rowSelection }) {
|
|
43752
|
+
if (rowSelection && typeof rowSelection === "string") {
|
|
43753
|
+
return 'As of version 32.2.1, using `rowSelection` with the values "single" or "multiple" has been deprecated. Use the object value instead.';
|
|
43754
|
+
}
|
|
43755
|
+
return null;
|
|
43756
|
+
}
|
|
43757
|
+
},
|
|
43758
|
+
cellSelection: {
|
|
43759
|
+
module: "@ag-grid-enterprise/range-selection" /* RangeSelectionModule */
|
|
43760
|
+
},
|
|
43776
43761
|
columnDefs: () => COL_DEF_VALIDATORS,
|
|
43777
43762
|
defaultColDef: () => COL_DEF_VALIDATORS,
|
|
43778
43763
|
defaultColGroupDef: () => COL_DEF_VALIDATORS,
|
|
43779
43764
|
autoGroupColumnDef: () => COL_DEF_VALIDATORS,
|
|
43780
|
-
selectionColumnDef: () => COL_DEF_VALIDATORS
|
|
43781
|
-
selection: () => SELECTION_VALIDATORS
|
|
43765
|
+
selectionColumnDef: () => COL_DEF_VALIDATORS
|
|
43782
43766
|
});
|
|
43783
43767
|
var GRID_OPTIONS_VALIDATORS = () => ({
|
|
43784
43768
|
objectName: "gridOptions",
|
|
@@ -45371,7 +45355,7 @@ var SelectionService = class extends BeanStub {
|
|
|
45371
45355
|
this.selectionCtx.init(rowModel);
|
|
45372
45356
|
this.rowSelectionMode = _getRowSelectionMode(gos);
|
|
45373
45357
|
this.groupSelectsChildren = _getGroupSelectsDescendants(gos);
|
|
45374
|
-
this.addManagedPropertyListeners(["groupSelectsChildren", "rowSelection"
|
|
45358
|
+
this.addManagedPropertyListeners(["groupSelectsChildren", "rowSelection"], () => {
|
|
45375
45359
|
const groupSelectsChildren = _getGroupSelectsDescendants(gos);
|
|
45376
45360
|
const selectionMode = _getRowSelectionMode(gos);
|
|
45377
45361
|
if (groupSelectsChildren !== this.groupSelectsChildren || selectionMode !== this.rowSelectionMode) {
|
|
@@ -45783,7 +45767,7 @@ var SelectionService = class extends BeanStub {
|
|
|
45783
45767
|
}
|
|
45784
45768
|
}
|
|
45785
45769
|
selectAllRowNodes(params) {
|
|
45786
|
-
if (
|
|
45770
|
+
if (_isUsingNewRowSelectionAPI(this.gos) && !_isMultiRowSelection(this.gos)) {
|
|
45787
45771
|
return _warnOnce(`cannot multi select unless selection mode is 'multiRow'`);
|
|
45788
45772
|
}
|
|
45789
45773
|
this.validateSelectAllType();
|
|
@@ -45861,7 +45845,7 @@ var SelectableService = class extends BeanStub {
|
|
|
45861
45845
|
}
|
|
45862
45846
|
updateSelectable(skipLeafNodes = false) {
|
|
45863
45847
|
const { gos } = this;
|
|
45864
|
-
const isRowSelecting =
|
|
45848
|
+
const isRowSelecting = _isRowSelection(gos);
|
|
45865
45849
|
const isRowSelectable = _getIsRowSelectable(gos);
|
|
45866
45850
|
if (!isRowSelecting || !isRowSelectable) {
|
|
45867
45851
|
return;
|
|
@@ -47876,7 +47860,7 @@ var GridSerializer = class extends import_core6.BeanStub {
|
|
|
47876
47860
|
};
|
|
47877
47861
|
|
|
47878
47862
|
// community-modules/csv-export/src/version.ts
|
|
47879
|
-
var VERSION = "32.2.
|
|
47863
|
+
var VERSION = "32.2.2";
|
|
47880
47864
|
|
|
47881
47865
|
// community-modules/csv-export/src/csvExportModule.ts
|
|
47882
47866
|
var CsvExportCoreModule = (0, import_core7._defineModule)({
|
|
@@ -49133,7 +49117,7 @@ function getInfiniteRowCount(beans) {
|
|
|
49133
49117
|
}
|
|
49134
49118
|
|
|
49135
49119
|
// community-modules/infinite-row-model/src/version.ts
|
|
49136
|
-
var VERSION = "32.2.
|
|
49120
|
+
var VERSION = "32.2.2";
|
|
49137
49121
|
|
|
49138
49122
|
// community-modules/infinite-row-model/src/infiniteRowModelModule.ts
|
|
49139
49123
|
var InfiniteRowModelCoreModule = (0, import_core4._defineModule)({
|
|
@@ -49638,7 +49622,7 @@ var lengthValueToCss = (value) => {
|
|
|
49638
49622
|
return `${value}px`;
|
|
49639
49623
|
if ("calc" in value) {
|
|
49640
49624
|
const valueWithSpaces = value.calc.replace(/ ?[*/+] ?/g, " $& ");
|
|
49641
|
-
return `calc(${valueWithSpaces.replace(
|
|
49625
|
+
return `calc(${valueWithSpaces.replace(/-?[a-z][a-z0-9]*\b(?![-(])/gi, (p) => p[0] === "-" ? p : ` ${paramToVariableExpression(p)} `)})`;
|
|
49642
49626
|
}
|
|
49643
49627
|
if ("ref" in value)
|
|
49644
49628
|
return paramToVariableExpression(value.ref);
|
|
@@ -54589,7 +54573,7 @@ var AdvancedFilterService = class extends import_core24.BeanStub {
|
|
|
54589
54573
|
};
|
|
54590
54574
|
|
|
54591
54575
|
// enterprise-modules/advanced-filter/src/version.ts
|
|
54592
|
-
var VERSION = "32.2.
|
|
54576
|
+
var VERSION = "32.2.2";
|
|
54593
54577
|
|
|
54594
54578
|
// enterprise-modules/advanced-filter/src/advancedFilterModule.ts
|
|
54595
54579
|
var AdvancedFilterCoreModule = (0, import_core25._defineModule)({
|
|
@@ -56536,7 +56520,7 @@ var import_core101 = __webpack_require__(3423);
|
|
|
56536
56520
|
var import_ag_charts_community33 = __webpack_require__(4933);
|
|
56537
56521
|
|
|
56538
56522
|
// enterprise-modules/charts/src/version.ts
|
|
56539
|
-
var VERSION = "32.2.
|
|
56523
|
+
var VERSION = "32.2.2";
|
|
56540
56524
|
|
|
56541
56525
|
// enterprise-modules/charts/src/charts/chartComp/gridChartComp.ts
|
|
56542
56526
|
var import_core99 = __webpack_require__(3423);
|
|
@@ -67655,12 +67639,13 @@ ${apiError("readText")}`);
|
|
|
67655
67639
|
includeGroupHeaders = this.gos.get("copyGroupHeadersToClipboard");
|
|
67656
67640
|
}
|
|
67657
67641
|
const copyParams = { includeHeaders, includeGroupHeaders };
|
|
67658
|
-
const
|
|
67642
|
+
const rowSelection = this.gos.get("rowSelection");
|
|
67643
|
+
const cellSelection = this.gos.get("cellSelection");
|
|
67659
67644
|
let cellClearType = null;
|
|
67660
|
-
if (this.shouldCopyCells(
|
|
67645
|
+
if (this.shouldCopyCells(cellSelection, rowSelection)) {
|
|
67661
67646
|
this.copySelectedRangeToClipboard(copyParams);
|
|
67662
67647
|
cellClearType = 0 /* CellRange */;
|
|
67663
|
-
} else if (this.shouldCopyRows(
|
|
67648
|
+
} else if (this.shouldCopyRows(rowSelection)) {
|
|
67664
67649
|
this.copySelectedRowsToClipboard(copyParams);
|
|
67665
67650
|
cellClearType = 1 /* SelectedRows */;
|
|
67666
67651
|
} else if (this.focusService.isAnyCellFocused()) {
|
|
@@ -67671,24 +67656,25 @@ ${apiError("readText")}`);
|
|
|
67671
67656
|
this.clearCellsAfterCopy(cellClearType);
|
|
67672
67657
|
}
|
|
67673
67658
|
}
|
|
67674
|
-
shouldCopyCells(
|
|
67659
|
+
shouldCopyCells(cellSelection, rowSelection) {
|
|
67675
67660
|
if (!this.rangeService || this.rangeService.isEmpty()) {
|
|
67676
67661
|
return false;
|
|
67677
67662
|
}
|
|
67678
|
-
if (
|
|
67679
|
-
|
|
67663
|
+
if (cellSelection) {
|
|
67664
|
+
const shouldCopyRowsInstead = typeof rowSelection === "object" && rowSelection.copySelectedRows && !this.selectionService.isEmpty();
|
|
67665
|
+
return !shouldCopyRowsInstead;
|
|
67680
67666
|
} else {
|
|
67681
67667
|
const suppressCopySingleCellRanges = this.gos.get("suppressCopySingleCellRanges");
|
|
67682
67668
|
const shouldSkip = !this.rangeService.isMoreThanOneCell() && suppressCopySingleCellRanges;
|
|
67683
67669
|
return !shouldSkip;
|
|
67684
67670
|
}
|
|
67685
67671
|
}
|
|
67686
|
-
shouldCopyRows(
|
|
67672
|
+
shouldCopyRows(rowSelection) {
|
|
67687
67673
|
if (this.selectionService.isEmpty()) {
|
|
67688
67674
|
return false;
|
|
67689
67675
|
}
|
|
67690
|
-
if (
|
|
67691
|
-
return
|
|
67676
|
+
if (rowSelection && typeof rowSelection !== "string") {
|
|
67677
|
+
return rowSelection.copySelectedRows ?? false;
|
|
67692
67678
|
} else {
|
|
67693
67679
|
return !this.gos.get("suppressCopyRowsToClipboard");
|
|
67694
67680
|
}
|
|
@@ -68050,7 +68036,7 @@ ${apiError("writeText")}`);
|
|
|
68050
68036
|
};
|
|
68051
68037
|
|
|
68052
68038
|
// enterprise-modules/clipboard/src/version.ts
|
|
68053
|
-
var VERSION = "32.2.
|
|
68039
|
+
var VERSION = "32.2.2";
|
|
68054
68040
|
|
|
68055
68041
|
// enterprise-modules/clipboard/src/clipboardModule.ts
|
|
68056
68042
|
var ClipboardCoreModule = (0, import_core2._defineModule)({
|
|
@@ -70034,7 +70020,7 @@ var ModelItemUtils = class extends import_core14.BeanStub {
|
|
|
70034
70020
|
};
|
|
70035
70021
|
|
|
70036
70022
|
// enterprise-modules/column-tool-panel/src/version.ts
|
|
70037
|
-
var VERSION = "32.2.
|
|
70023
|
+
var VERSION = "32.2.2";
|
|
70038
70024
|
|
|
70039
70025
|
// enterprise-modules/column-tool-panel/src/columnsToolPanelModule.ts
|
|
70040
70026
|
var ColumnsToolPanelModule = (0, import_core15._defineModule)({
|
|
@@ -70592,7 +70578,7 @@ var _LicenseManager = class _LicenseManager {
|
|
|
70592
70578
|
this.watermarkMessage = "License Expired";
|
|
70593
70579
|
}
|
|
70594
70580
|
};
|
|
70595
|
-
_LicenseManager.RELEASE_INFORMATION = "
|
|
70581
|
+
_LicenseManager.RELEASE_INFORMATION = "MTcyODA1NzY1NzgzNA==";
|
|
70596
70582
|
var LicenseManager = _LicenseManager;
|
|
70597
70583
|
|
|
70598
70584
|
// enterprise-modules/core/src/license/watermark.ts
|
|
@@ -70662,7 +70648,7 @@ var GridLicenseManager = class extends import_core3.BeanStub {
|
|
|
70662
70648
|
};
|
|
70663
70649
|
|
|
70664
70650
|
// enterprise-modules/core/src/version.ts
|
|
70665
|
-
var VERSION = "32.2.
|
|
70651
|
+
var VERSION = "32.2.2";
|
|
70666
70652
|
|
|
70667
70653
|
// enterprise-modules/core/src/widgets/agMenuItemRenderer.ts
|
|
70668
70654
|
var import_core4 = __webpack_require__(3423);
|
|
@@ -79126,7 +79112,7 @@ function exportMultipleSheetsAsExcel2(beans, params) {
|
|
|
79126
79112
|
}
|
|
79127
79113
|
|
|
79128
79114
|
// enterprise-modules/excel-export/src/version.ts
|
|
79129
|
-
var VERSION = "32.2.
|
|
79115
|
+
var VERSION = "32.2.2";
|
|
79130
79116
|
|
|
79131
79117
|
// enterprise-modules/excel-export/src/excelExportModule.ts
|
|
79132
79118
|
var ExcelExportCoreModule = (0, import_core10._defineModule)({
|
|
@@ -80143,7 +80129,7 @@ var FiltersToolPanel = class extends import_core6.Component {
|
|
|
80143
80129
|
};
|
|
80144
80130
|
|
|
80145
80131
|
// enterprise-modules/filter-tool-panel/src/version.ts
|
|
80146
|
-
var VERSION = "32.2.
|
|
80132
|
+
var VERSION = "32.2.2";
|
|
80147
80133
|
|
|
80148
80134
|
// enterprise-modules/filter-tool-panel/src/filtersToolPanelModule.ts
|
|
80149
80135
|
var FiltersToolPanelModule = (0, import_core7._defineModule)({
|
|
@@ -80485,7 +80471,7 @@ function forEachDetailGridInfo(beans, callback) {
|
|
|
80485
80471
|
}
|
|
80486
80472
|
|
|
80487
80473
|
// enterprise-modules/master-detail/src/version.ts
|
|
80488
|
-
var VERSION = "32.2.
|
|
80474
|
+
var VERSION = "32.2.2";
|
|
80489
80475
|
|
|
80490
80476
|
// enterprise-modules/master-detail/src/masterDetailModule.ts
|
|
80491
80477
|
var MasterDetailCoreModule = (0, import_core4._defineModule)({
|
|
@@ -82380,7 +82366,7 @@ var MenuUtils = class extends import_core11.BeanStub {
|
|
|
82380
82366
|
};
|
|
82381
82367
|
|
|
82382
82368
|
// enterprise-modules/menu/src/version.ts
|
|
82383
|
-
var VERSION = "32.2.
|
|
82369
|
+
var VERSION = "32.2.2";
|
|
82384
82370
|
|
|
82385
82371
|
// enterprise-modules/menu/src/menuModule.ts
|
|
82386
82372
|
var MenuCoreModule = (0, import_core12._defineModule)({
|
|
@@ -83003,7 +82989,7 @@ var MultiFloatingFilterComp = class extends import_core3.Component {
|
|
|
83003
82989
|
};
|
|
83004
82990
|
|
|
83005
82991
|
// enterprise-modules/multi-filter/src/version.ts
|
|
83006
|
-
var VERSION = "32.2.
|
|
82992
|
+
var VERSION = "32.2.2";
|
|
83007
82993
|
|
|
83008
82994
|
// enterprise-modules/multi-filter/src/multiFilterModule.ts
|
|
83009
82995
|
var MultiFilterCoreModule = (0, import_core4._defineModule)({
|
|
@@ -83407,8 +83393,8 @@ var RangeService = class extends import_core.BeanStub {
|
|
|
83407
83393
|
if (!(0, import_core._isCellSelectionEnabled)(gos)) {
|
|
83408
83394
|
return;
|
|
83409
83395
|
}
|
|
83410
|
-
if ((0, import_core.
|
|
83411
|
-
return (0, import_core._warnOnce)("cannot add multiple ranges when `
|
|
83396
|
+
if ((0, import_core._isUsingNewCellSelectionAPI)(gos) && (0, import_core._getSuppressMultiRanges)(gos) && this.cellRanges.length > 0) {
|
|
83397
|
+
return (0, import_core._warnOnce)("cannot add multiple ranges when `cellSelection.suppressMultiRanges = true`");
|
|
83412
83398
|
}
|
|
83413
83399
|
const newRange = this.createCellRangeFromCellRangeParams(params);
|
|
83414
83400
|
if (newRange) {
|
|
@@ -84553,7 +84539,7 @@ var SelectionHandleFactory = class extends import_core5.BeanStub {
|
|
|
84553
84539
|
};
|
|
84554
84540
|
|
|
84555
84541
|
// enterprise-modules/range-selection/src/version.ts
|
|
84556
|
-
var VERSION = "32.2.
|
|
84542
|
+
var VERSION = "32.2.2";
|
|
84557
84543
|
|
|
84558
84544
|
// enterprise-modules/range-selection/src/rangeSelectionModule.ts
|
|
84559
84545
|
var RangeSelectionCoreModule = (0, import_core6._defineModule)({
|
|
@@ -84768,7 +84754,7 @@ var RichSelectCellEditor = class extends import_core.PopupComponent {
|
|
|
84768
84754
|
};
|
|
84769
84755
|
|
|
84770
84756
|
// enterprise-modules/rich-select/src/version.ts
|
|
84771
|
-
var VERSION = "32.2.
|
|
84757
|
+
var VERSION = "32.2.2";
|
|
84772
84758
|
|
|
84773
84759
|
// enterprise-modules/rich-select/src/richSelectModule.ts
|
|
84774
84760
|
var RichSelectModule = (0, import_core3._defineModule)({
|
|
@@ -88519,7 +88505,7 @@ var ShowRowGroupColsService = class extends import_core21.BeanStub {
|
|
|
88519
88505
|
};
|
|
88520
88506
|
|
|
88521
88507
|
// enterprise-modules/row-grouping/src/version.ts
|
|
88522
|
-
var VERSION = "32.2.
|
|
88508
|
+
var VERSION = "32.2.2";
|
|
88523
88509
|
|
|
88524
88510
|
// enterprise-modules/row-grouping/src/rowGroupingModule.ts
|
|
88525
88511
|
var RowGroupingCoreModule = (0, import_core22._defineModule)({
|
|
@@ -92357,7 +92343,7 @@ var DefaultStrategy = class extends import_core14.BeanStub {
|
|
|
92357
92343
|
return (0, import_core14._warnOnce)("`toggledNodes` must be an array of string ids.");
|
|
92358
92344
|
}
|
|
92359
92345
|
const isSelectingMultipleRows = newState.selectAll || newState.toggledNodes.size > 1;
|
|
92360
|
-
if ((0, import_core14.
|
|
92346
|
+
if ((0, import_core14._isUsingNewRowSelectionAPI)(this.gos) && !(0, import_core14._isMultiRowSelection)(this.gos) && isSelectingMultipleRows) {
|
|
92361
92347
|
return (0, import_core14._warnOnce)(`cannot multi select unless selection mode is 'multiRow'`);
|
|
92362
92348
|
}
|
|
92363
92349
|
this.selectedState = newState;
|
|
@@ -92389,7 +92375,7 @@ var DefaultStrategy = class extends import_core14.BeanStub {
|
|
|
92389
92375
|
const onlyThisNode = clearSelection && newValue && !rangeSelect;
|
|
92390
92376
|
if (!(0, import_core14._isMultiRowSelection)(this.gos) || onlyThisNode) {
|
|
92391
92377
|
if (nodes.length > 1) {
|
|
92392
|
-
throw new Error("AG Grid: cannot select multiple rows when
|
|
92378
|
+
throw new Error("AG Grid: cannot select multiple rows when rowSelection.mode is set to 'singleRow'");
|
|
92393
92379
|
}
|
|
92394
92380
|
const node = nodes[0];
|
|
92395
92381
|
if (newValue && node.selectable) {
|
|
@@ -92678,7 +92664,7 @@ var GroupSelectsChildrenStrategy = class extends import_core15.BeanStub {
|
|
|
92678
92664
|
const onlyThisNode = clearSelection && newValue && !rangeSelect;
|
|
92679
92665
|
if (!(0, import_core15._isMultiRowSelection)(this.gos) || onlyThisNode) {
|
|
92680
92666
|
if (nodes.length > 1) {
|
|
92681
|
-
throw new Error("AG Grid: cannot select multiple rows when
|
|
92667
|
+
throw new Error("AG Grid: cannot select multiple rows when rowSelection.mode is set to 'singleRow'");
|
|
92682
92668
|
}
|
|
92683
92669
|
this.deselectAllRowNodes();
|
|
92684
92670
|
}
|
|
@@ -92860,7 +92846,7 @@ var ServerSideSelectionService = class extends import_core16.BeanStub {
|
|
|
92860
92846
|
this.rowModel = beans.rowModel;
|
|
92861
92847
|
}
|
|
92862
92848
|
postConstruct() {
|
|
92863
|
-
this.addManagedPropertyListeners(["groupSelectsChildren", "
|
|
92849
|
+
this.addManagedPropertyListeners(["groupSelectsChildren", "rowSelection"], () => {
|
|
92864
92850
|
const groupSelectsChildren2 = (0, import_core16._getGroupSelectsDescendants)(this.gos);
|
|
92865
92851
|
const Strategy2 = groupSelectsChildren2 && this.selectionStrategy instanceof DefaultStrategy ? GroupSelectsChildrenStrategy : !groupSelectsChildren2 && this.selectionStrategy instanceof GroupSelectsChildrenStrategy ? DefaultStrategy : void 0;
|
|
92866
92852
|
if (Strategy2) {
|
|
@@ -92870,7 +92856,7 @@ var ServerSideSelectionService = class extends import_core16.BeanStub {
|
|
|
92870
92856
|
this.dispatchSelectionChanged("api");
|
|
92871
92857
|
}
|
|
92872
92858
|
});
|
|
92873
|
-
this.addManagedPropertyListeners(["rowSelection"
|
|
92859
|
+
this.addManagedPropertyListeners(["rowSelection"], () => {
|
|
92874
92860
|
const rowSelection = (0, import_core16._getRowSelectionMode)(this.gos);
|
|
92875
92861
|
if (rowSelection !== this.selectionMode) {
|
|
92876
92862
|
this.selectionMode = rowSelection;
|
|
@@ -92973,7 +92959,7 @@ var ServerSideSelectionService = class extends import_core16.BeanStub {
|
|
|
92973
92959
|
}
|
|
92974
92960
|
selectAllRowNodes(params) {
|
|
92975
92961
|
validateSelectionParameters(params);
|
|
92976
|
-
if ((0, import_core16.
|
|
92962
|
+
if ((0, import_core16._isUsingNewRowSelectionAPI)(this.gos) && (0, import_core16._getRowSelectionMode)(this.gos) !== "multiRow") {
|
|
92977
92963
|
return (0, import_core16._warnOnce)("cannot multi select unless selection mode is 'multiRow'");
|
|
92978
92964
|
}
|
|
92979
92965
|
this.selectionStrategy.selectAllRowNodes(params);
|
|
@@ -93331,7 +93317,7 @@ var TransactionManager = class extends import_core19.BeanStub {
|
|
|
93331
93317
|
};
|
|
93332
93318
|
|
|
93333
93319
|
// enterprise-modules/server-side-row-model/src/version.ts
|
|
93334
|
-
var VERSION = "32.2.
|
|
93320
|
+
var VERSION = "32.2.2";
|
|
93335
93321
|
|
|
93336
93322
|
// enterprise-modules/server-side-row-model/src/serverSideRowModelModule.ts
|
|
93337
93323
|
var ServerSideRowModelCoreModule = (0, import_core20._defineModule)({
|
|
@@ -95932,7 +95918,7 @@ var SetFloatingFilterComp = class extends import_core8.Component {
|
|
|
95932
95918
|
};
|
|
95933
95919
|
|
|
95934
95920
|
// enterprise-modules/set-filter/src/version.ts
|
|
95935
|
-
var VERSION = "32.2.
|
|
95921
|
+
var VERSION = "32.2.2";
|
|
95936
95922
|
|
|
95937
95923
|
// enterprise-modules/set-filter/src/setFilterModule.ts
|
|
95938
95924
|
var SetFilterCoreModule = (0, import_core9._defineModule)({
|
|
@@ -96899,7 +96885,7 @@ var SideBarService = class extends import_core10.BeanStub {
|
|
|
96899
96885
|
};
|
|
96900
96886
|
|
|
96901
96887
|
// enterprise-modules/side-bar/src/version.ts
|
|
96902
|
-
var VERSION = "32.2.
|
|
96888
|
+
var VERSION = "32.2.2";
|
|
96903
96889
|
|
|
96904
96890
|
// enterprise-modules/side-bar/src/sideBarModule.ts
|
|
96905
96891
|
var SideBarCoreModule = (0, import_core11._defineModule)({
|
|
@@ -99089,7 +99075,7 @@ var SparklineTooltipSingleton = class extends import_core5.BeanStub {
|
|
|
99089
99075
|
};
|
|
99090
99076
|
|
|
99091
99077
|
// enterprise-modules/sparklines/src/version.ts
|
|
99092
|
-
var VERSION = "32.2.
|
|
99078
|
+
var VERSION = "32.2.2";
|
|
99093
99079
|
|
|
99094
99080
|
// enterprise-modules/sparklines/src/sparklinesModule.ts
|
|
99095
99081
|
var SparklinesModule = (0, import_core6._defineModule)({
|
|
@@ -99713,7 +99699,7 @@ var StatusBarService = class extends import_core9.BeanStub {
|
|
|
99713
99699
|
};
|
|
99714
99700
|
|
|
99715
99701
|
// enterprise-modules/status-bar/src/version.ts
|
|
99716
|
-
var VERSION = "32.2.
|
|
99702
|
+
var VERSION = "32.2.2";
|
|
99717
99703
|
|
|
99718
99704
|
// enterprise-modules/status-bar/src/statusBarModule.ts
|
|
99719
99705
|
var StatusBarCoreModule = (0, import_core10._defineModule)({
|
|
@@ -99779,7 +99765,7 @@ var import_core2 = __webpack_require__(3423);
|
|
|
99779
99765
|
var import_core3 = __webpack_require__(8299);
|
|
99780
99766
|
|
|
99781
99767
|
// enterprise-modules/viewport-row-model/src/version.ts
|
|
99782
|
-
var VERSION = "32.2.
|
|
99768
|
+
var VERSION = "32.2.2";
|
|
99783
99769
|
|
|
99784
99770
|
// enterprise-modules/viewport-row-model/src/viewportRowModel/viewportRowModel.ts
|
|
99785
99771
|
var import_core = __webpack_require__(3423);
|