@siemens/ix-aggrid 1.0.0-beta.3 → 1.0.0-beta.5
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/cjs/{ag-grid-community.auto.esm-6aabb45a.js → ag-grid-community.auto.esm-42c6bc63.js} +813 -565
- package/dist/cjs/{index-15264d0e.js → index-5b0f17d6.js} +159 -141
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ix-ag-grid_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-aggrid.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/components/ix-ag-grid2.js +813 -565
- package/dist/esm/{ag-grid-community.auto.esm-02be9483.js → ag-grid-community.auto.esm-db7de02b.js} +813 -565
- package/dist/esm/{index-bc7ead06.js → index-f7e13ba2.js} +159 -141
- package/dist/esm/index.js +1 -1
- package/dist/esm/ix-ag-grid_2.entry.js +2 -2
- package/dist/esm/ix-aggrid.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/ix-aggrid/index.esm.js +1 -1
- package/dist/ix-aggrid/ix-aggrid.esm.js +1 -1
- package/dist/ix-aggrid/p-c1b50b0f.js +2 -0
- package/dist/ix-aggrid/p-ea1225ae.js +304 -0
- package/dist/ix-aggrid/{p-69c6cd58.entry.js → p-f8f88b62.entry.js} +1 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/package.json +3 -3
- package/dist/ix-aggrid/p-8689a100.js +0 -304
- package/dist/ix-aggrid/p-d40c6577.js +0 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement as HTMLElement$1, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v28.
|
|
4
|
+
* @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v28.2.0
|
|
5
5
|
* @link https://www.ag-grid.com/
|
|
6
6
|
* @license MIT
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
10
|
-
* @version v28.
|
|
10
|
+
* @version v28.2.0
|
|
11
11
|
* @link https://www.ag-grid.com/
|
|
12
12
|
* @license MIT
|
|
13
13
|
*/
|
|
@@ -161,7 +161,7 @@ var GenericUtils = /*#__PURE__*/Object.freeze({
|
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
164
|
-
* @version v28.
|
|
164
|
+
* @version v28.2.0
|
|
165
165
|
* @link https://www.ag-grid.com/
|
|
166
166
|
* @license MIT
|
|
167
167
|
*/
|
|
@@ -207,7 +207,7 @@ var ColumnKeyCreator = /** @class */ (function () {
|
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
210
|
-
* @version v28.
|
|
210
|
+
* @version v28.2.0
|
|
211
211
|
* @link https://www.ag-grid.com/
|
|
212
212
|
* @license MIT
|
|
213
213
|
*/
|
|
@@ -463,7 +463,7 @@ var ObjectUtils = /*#__PURE__*/Object.freeze({
|
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
465
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
466
|
-
* @version v28.
|
|
466
|
+
* @version v28.2.0
|
|
467
467
|
* @link https://www.ag-grid.com/
|
|
468
468
|
* @license MIT
|
|
469
469
|
*/
|
|
@@ -641,7 +641,7 @@ var FunctionUtils = /*#__PURE__*/Object.freeze({
|
|
|
641
641
|
|
|
642
642
|
/**
|
|
643
643
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
644
|
-
* @version v28.
|
|
644
|
+
* @version v28.2.0
|
|
645
645
|
* @link https://www.ag-grid.com/
|
|
646
646
|
* @license MIT
|
|
647
647
|
*/
|
|
@@ -954,12 +954,12 @@ function getOrCreateProps$1(target) {
|
|
|
954
954
|
|
|
955
955
|
/**
|
|
956
956
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
957
|
-
* @version v28.
|
|
957
|
+
* @version v28.2.0
|
|
958
958
|
* @link https://www.ag-grid.com/
|
|
959
959
|
* @license MIT
|
|
960
960
|
*/
|
|
961
|
-
var __assign$
|
|
962
|
-
__assign$
|
|
961
|
+
var __assign$i = function () {
|
|
962
|
+
__assign$i = Object.assign || function(t) {
|
|
963
963
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
964
964
|
s = arguments[i];
|
|
965
965
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -967,7 +967,7 @@ var __assign$h = function () {
|
|
|
967
967
|
}
|
|
968
968
|
return t;
|
|
969
969
|
};
|
|
970
|
-
return __assign$
|
|
970
|
+
return __assign$i.apply(this, arguments);
|
|
971
971
|
};
|
|
972
972
|
var __decorate$2A = function (decorators, target, key, desc) {
|
|
973
973
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1053,7 +1053,7 @@ var EventService = /** @class */ (function () {
|
|
|
1053
1053
|
if (this.gridOptionsWrapper) {
|
|
1054
1054
|
// Apply common properties to all dispatched events if this event service has had its beans set with gridOptionsWrapper.
|
|
1055
1055
|
// Note there are multiple instances of EventService that are used local to components which do not set gridOptionsWrapper.
|
|
1056
|
-
agEvent = __assign$
|
|
1056
|
+
agEvent = __assign$i(__assign$i({}, event), { api: this.gridOptionsWrapper.getApi(), columnApi: this.gridOptionsWrapper.getColumnApi(), context: this.gridOptionsWrapper.getContext() });
|
|
1057
1057
|
}
|
|
1058
1058
|
this.dispatchToListeners(agEvent, true);
|
|
1059
1059
|
this.dispatchToListeners(agEvent, false);
|
|
@@ -1134,7 +1134,7 @@ var EventService = /** @class */ (function () {
|
|
|
1134
1134
|
|
|
1135
1135
|
/**
|
|
1136
1136
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
1137
|
-
* @version v28.
|
|
1137
|
+
* @version v28.2.0
|
|
1138
1138
|
* @link https://www.ag-grid.com/
|
|
1139
1139
|
* @license MIT
|
|
1140
1140
|
*/
|
|
@@ -1173,7 +1173,7 @@ var Constants = /** @class */ (function () {
|
|
|
1173
1173
|
|
|
1174
1174
|
/**
|
|
1175
1175
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
1176
|
-
* @version v28.
|
|
1176
|
+
* @version v28.2.0
|
|
1177
1177
|
* @link https://www.ag-grid.com/
|
|
1178
1178
|
* @license MIT
|
|
1179
1179
|
*/
|
|
@@ -1222,7 +1222,7 @@ var ModuleNames;
|
|
|
1222
1222
|
|
|
1223
1223
|
/**
|
|
1224
1224
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
1225
|
-
* @version v28.
|
|
1225
|
+
* @version v28.2.0
|
|
1226
1226
|
* @link https://www.ag-grid.com/
|
|
1227
1227
|
* @license MIT
|
|
1228
1228
|
*/
|
|
@@ -1285,7 +1285,7 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1285
1285
|
|
|
1286
1286
|
/**
|
|
1287
1287
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
1288
|
-
* @version v28.
|
|
1288
|
+
* @version v28.2.0
|
|
1289
1289
|
* @link https://www.ag-grid.com/
|
|
1290
1290
|
* @license MIT
|
|
1291
1291
|
*/
|
|
@@ -1985,7 +1985,7 @@ var Column = /** @class */ (function () {
|
|
|
1985
1985
|
|
|
1986
1986
|
/**
|
|
1987
1987
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
1988
|
-
* @version v28.
|
|
1988
|
+
* @version v28.2.0
|
|
1989
1989
|
* @link https://www.ag-grid.com/
|
|
1990
1990
|
* @license MIT
|
|
1991
1991
|
*/
|
|
@@ -2120,7 +2120,7 @@ var ArrayUtils = /*#__PURE__*/Object.freeze({
|
|
|
2120
2120
|
|
|
2121
2121
|
/**
|
|
2122
2122
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2123
|
-
* @version v28.
|
|
2123
|
+
* @version v28.2.0
|
|
2124
2124
|
* @link https://www.ag-grid.com/
|
|
2125
2125
|
* @license MIT
|
|
2126
2126
|
*/
|
|
@@ -2407,7 +2407,7 @@ var ColumnGroup = /** @class */ (function () {
|
|
|
2407
2407
|
|
|
2408
2408
|
/**
|
|
2409
2409
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2410
|
-
* @version v28.
|
|
2410
|
+
* @version v28.2.0
|
|
2411
2411
|
* @link https://www.ag-grid.com/
|
|
2412
2412
|
* @license MIT
|
|
2413
2413
|
*/
|
|
@@ -2574,7 +2574,7 @@ var ProvidedColumnGroup = /** @class */ (function () {
|
|
|
2574
2574
|
|
|
2575
2575
|
/**
|
|
2576
2576
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2577
|
-
* @version v28.
|
|
2577
|
+
* @version v28.2.0
|
|
2578
2578
|
* @link https://www.ag-grid.com/
|
|
2579
2579
|
* @license MIT
|
|
2580
2580
|
*/
|
|
@@ -2591,7 +2591,7 @@ var DefaultColumnTypes = {
|
|
|
2591
2591
|
|
|
2592
2592
|
/**
|
|
2593
2593
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2594
|
-
* @version v28.
|
|
2594
|
+
* @version v28.2.0
|
|
2595
2595
|
* @link https://www.ag-grid.com/
|
|
2596
2596
|
* @license MIT
|
|
2597
2597
|
*/
|
|
@@ -2731,7 +2731,7 @@ var EventUtils = /*#__PURE__*/Object.freeze({
|
|
|
2731
2731
|
|
|
2732
2732
|
/**
|
|
2733
2733
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2734
|
-
* @version v28.
|
|
2734
|
+
* @version v28.2.0
|
|
2735
2735
|
* @link https://www.ag-grid.com/
|
|
2736
2736
|
* @license MIT
|
|
2737
2737
|
*/
|
|
@@ -2869,7 +2869,7 @@ var BeanStub = /** @class */ (function () {
|
|
|
2869
2869
|
|
|
2870
2870
|
/**
|
|
2871
2871
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2872
|
-
* @version v28.
|
|
2872
|
+
* @version v28.2.0
|
|
2873
2873
|
* @link https://www.ag-grid.com/
|
|
2874
2874
|
* @license MIT
|
|
2875
2875
|
*/
|
|
@@ -3285,7 +3285,7 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3285
3285
|
|
|
3286
3286
|
/**
|
|
3287
3287
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3288
|
-
* @version v28.
|
|
3288
|
+
* @version v28.2.0
|
|
3289
3289
|
* @link https://www.ag-grid.com/
|
|
3290
3290
|
* @license MIT
|
|
3291
3291
|
*/
|
|
@@ -3345,6 +3345,7 @@ var Events = /** @class */ (function () {
|
|
|
3345
3345
|
Events.EVENT_CHART_DESTROYED = 'chartDestroyed';
|
|
3346
3346
|
/** For when the tool panel is shown / hidden */
|
|
3347
3347
|
Events.EVENT_TOOL_PANEL_VISIBLE_CHANGED = 'toolPanelVisibleChanged';
|
|
3348
|
+
Events.EVENT_TOOL_PANEL_SIZE_CHANGED = 'toolPanelSizeChanged';
|
|
3348
3349
|
Events.EVENT_COLUMN_PANEL_ITEM_DRAG_START = 'columnPanelItemDragStart';
|
|
3349
3350
|
Events.EVENT_COLUMN_PANEL_ITEM_DRAG_END = 'columnPanelItemDragEnd';
|
|
3350
3351
|
/** Model was updated - grid updates the drawn rows when this happens */
|
|
@@ -3353,6 +3354,8 @@ var Events = /** @class */ (function () {
|
|
|
3353
3354
|
Events.EVENT_PASTE_END = 'pasteEnd';
|
|
3354
3355
|
Events.EVENT_FILL_START = 'fillStart';
|
|
3355
3356
|
Events.EVENT_FILL_END = 'fillEnd';
|
|
3357
|
+
Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START = 'keyShortcutChangedCellStart';
|
|
3358
|
+
Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END = 'keyShortcutChangedCellEnd';
|
|
3356
3359
|
Events.EVENT_CELL_CLICKED = 'cellClicked';
|
|
3357
3360
|
Events.EVENT_CELL_DOUBLE_CLICKED = 'cellDoubleClicked';
|
|
3358
3361
|
Events.EVENT_CELL_MOUSE_DOWN = 'cellMouseDown';
|
|
@@ -3447,7 +3450,7 @@ var Events = /** @class */ (function () {
|
|
|
3447
3450
|
|
|
3448
3451
|
/**
|
|
3449
3452
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3450
|
-
* @version v28.
|
|
3453
|
+
* @version v28.2.0
|
|
3451
3454
|
* @link https://www.ag-grid.com/
|
|
3452
3455
|
* @license MIT
|
|
3453
3456
|
*/
|
|
@@ -3484,7 +3487,7 @@ var GroupInstanceIdCreator = /** @class */ (function () {
|
|
|
3484
3487
|
|
|
3485
3488
|
/**
|
|
3486
3489
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3487
|
-
* @version v28.
|
|
3490
|
+
* @version v28.2.0
|
|
3488
3491
|
* @link https://www.ag-grid.com/
|
|
3489
3492
|
* @license MIT
|
|
3490
3493
|
*/
|
|
@@ -3610,11 +3613,19 @@ function hyphenToCamelCase(str) {
|
|
|
3610
3613
|
function capitalise(str) {
|
|
3611
3614
|
return str[0].toUpperCase() + str.substr(1).toLowerCase();
|
|
3612
3615
|
}
|
|
3613
|
-
function escapeString(toEscape) {
|
|
3616
|
+
function escapeString(toEscape, skipEscapingHtmlChars) {
|
|
3617
|
+
if (toEscape == null) {
|
|
3618
|
+
return null;
|
|
3619
|
+
}
|
|
3614
3620
|
// we call toString() twice, in case value is an object, where user provides
|
|
3615
3621
|
// a toString() method, and first call to toString() returns back something other
|
|
3616
3622
|
// than a string (eg a number to render)
|
|
3617
|
-
|
|
3623
|
+
var stringResult = toEscape.toString().toString();
|
|
3624
|
+
if (skipEscapingHtmlChars) {
|
|
3625
|
+
return stringResult;
|
|
3626
|
+
}
|
|
3627
|
+
// in react we don't need to escape html characters, as it's done by the framework
|
|
3628
|
+
return stringResult.replace(reUnescapedHtml, function (chr) { return HTML_ESCAPES[chr]; });
|
|
3618
3629
|
}
|
|
3619
3630
|
/**
|
|
3620
3631
|
* Converts a camelCase string into regular text
|
|
@@ -3643,7 +3654,7 @@ var StringUtils = /*#__PURE__*/Object.freeze({
|
|
|
3643
3654
|
|
|
3644
3655
|
/**
|
|
3645
3656
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3646
|
-
* @version v28.
|
|
3657
|
+
* @version v28.2.0
|
|
3647
3658
|
* @link https://www.ag-grid.com/
|
|
3648
3659
|
* @license MIT
|
|
3649
3660
|
*/
|
|
@@ -3673,11 +3684,11 @@ var MapUtils = /*#__PURE__*/Object.freeze({
|
|
|
3673
3684
|
|
|
3674
3685
|
/**
|
|
3675
3686
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3676
|
-
* @version v28.
|
|
3687
|
+
* @version v28.2.0
|
|
3677
3688
|
* @link https://www.ag-grid.com/
|
|
3678
3689
|
* @license MIT
|
|
3679
3690
|
*/
|
|
3680
|
-
var __read$
|
|
3691
|
+
var __read$p = function (o, n) {
|
|
3681
3692
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
3682
3693
|
if (!m) return o;
|
|
3683
3694
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -3693,8 +3704,8 @@ var __read$o = function (o, n) {
|
|
|
3693
3704
|
}
|
|
3694
3705
|
return ar;
|
|
3695
3706
|
};
|
|
3696
|
-
var __spread$
|
|
3697
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
3707
|
+
var __spread$j = function () {
|
|
3708
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$p(arguments[i]));
|
|
3698
3709
|
return ar;
|
|
3699
3710
|
};
|
|
3700
3711
|
var ColDefUtil = /** @class */ (function () {
|
|
@@ -3854,7 +3865,7 @@ var ColDefUtil = /** @class */ (function () {
|
|
|
3854
3865
|
'cellRendererSelector',
|
|
3855
3866
|
'cellEditorSelector'
|
|
3856
3867
|
];
|
|
3857
|
-
ColDefUtil.ALL_PROPERTIES = __spread$
|
|
3868
|
+
ColDefUtil.ALL_PROPERTIES = __spread$j(ColDefUtil.ARRAY_PROPERTIES, ColDefUtil.OBJECT_PROPERTIES, ColDefUtil.STRING_PROPERTIES, ColDefUtil.NUMBER_PROPERTIES, ColDefUtil.FUNCTION_PROPERTIES, ColDefUtil.BOOLEAN_PROPERTIES);
|
|
3858
3869
|
// used when doing property checks - this causes noise when using frameworks which can add their own fw specific
|
|
3859
3870
|
// properties to colDefs, gridOptions etc
|
|
3860
3871
|
ColDefUtil.FRAMEWORK_PROPERTIES = [
|
|
@@ -3871,11 +3882,11 @@ var ColDefUtil = /** @class */ (function () {
|
|
|
3871
3882
|
|
|
3872
3883
|
/**
|
|
3873
3884
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3874
|
-
* @version v28.
|
|
3885
|
+
* @version v28.2.0
|
|
3875
3886
|
* @link https://www.ag-grid.com/
|
|
3876
3887
|
* @license MIT
|
|
3877
3888
|
*/
|
|
3878
|
-
var __read$
|
|
3889
|
+
var __read$o = function (o, n) {
|
|
3879
3890
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
3880
3891
|
if (!m) return o;
|
|
3881
3892
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -3891,8 +3902,8 @@ var __read$n = function (o, n) {
|
|
|
3891
3902
|
}
|
|
3892
3903
|
return ar;
|
|
3893
3904
|
};
|
|
3894
|
-
var __spread$
|
|
3895
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
3905
|
+
var __spread$i = function () {
|
|
3906
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$o(arguments[i]));
|
|
3896
3907
|
return ar;
|
|
3897
3908
|
};
|
|
3898
3909
|
/**
|
|
@@ -3914,7 +3925,7 @@ var PropertyKeys = /** @class */ (function () {
|
|
|
3914
3925
|
'defaultColGroupDef', 'defaultColDef', 'defaultExportParams', 'defaultCsvExportParams', 'defaultExcelExportParams', 'columnTypes',
|
|
3915
3926
|
'rowClassRules', 'detailCellRendererParams', 'loadingCellRendererParams', 'loadingOverlayComponentParams',
|
|
3916
3927
|
'noRowsOverlayComponentParams', 'popupParent', 'colResizeDefault', 'statusBar', 'sideBar', 'chartThemeOverrides',
|
|
3917
|
-
'customChartThemes'
|
|
3928
|
+
'customChartThemes', 'chartToolPanelsDef'
|
|
3918
3929
|
];
|
|
3919
3930
|
PropertyKeys.ARRAY_PROPERTIES = [
|
|
3920
3931
|
'alignedGrids', 'rowData', 'columnDefs', 'excelStyles', 'pinnedTopRowData', 'pinnedBottomRowData', 'chartThemes'
|
|
@@ -3949,7 +3960,7 @@ var PropertyKeys = /** @class */ (function () {
|
|
|
3949
3960
|
'suppressCsvExport', 'treeData', 'masterDetail', 'suppressMultiRangeSelection', 'enterMovesDownAfterEdit', 'enterMovesDown',
|
|
3950
3961
|
'suppressPropertyNamesCheck', 'rowMultiSelectWithClick', 'suppressEnterpriseResetOnNewColumns',
|
|
3951
3962
|
'suppressRowHoverHighlight', 'suppressRowTransform', 'suppressClipboardPaste', 'suppressLastEmptyLineOnPaste',
|
|
3952
|
-
'suppressSetColumnStateEvents', 'suppressColumnStateEvents', 'enableCharts', 'deltaColumnMode',
|
|
3963
|
+
'suppressSetColumnStateEvents', 'suppressColumnStateEvents', 'enableCharts', 'enableChartToolPanelsButton', 'deltaColumnMode',
|
|
3953
3964
|
'suppressMaintainUnsortedOrder', 'enableCellTextSelection', 'suppressBrowserResizeObserver', 'suppressMaxRenderedRowRestriction',
|
|
3954
3965
|
'excludeChildrenWhenTreeDataFiltering', 'tooltipMouseTrack', 'keepDetailRows', 'paginateChildRows', 'preventDefaultOnContextMenu',
|
|
3955
3966
|
'undoRedoCellEditing', 'allowDragFromColumnsToolPanel', 'immutableData', 'immutableColumns', 'pivotSuppressAutoColumn',
|
|
@@ -3957,29 +3968,26 @@ var PropertyKeys = /** @class */ (function () {
|
|
|
3957
3968
|
'serverSideFilteringAlwaysResets', 'serverSideSortingAlwaysResets', 'serverSideSortAllLevels', 'serverSideFilterAllLevels',
|
|
3958
3969
|
'serverSideSortOnServer', 'serverSideFilterOnServer', 'suppressAggFilteredOnly', 'showOpenedGroup', 'suppressClipboardApi',
|
|
3959
3970
|
'suppressModelUpdateAfterUpdateTransaction', 'stopEditingWhenCellsLoseFocus', 'maintainColumnOrder', 'groupMaintainOrder',
|
|
3960
|
-
'columnHoverHighlight', 'reactUi', 'suppressReactUi', 'readOnlyEdit', 'suppressRowVirtualisation',
|
|
3971
|
+
'columnHoverHighlight', 'reactUi', 'suppressReactUi', 'readOnlyEdit', 'suppressRowVirtualisation', 'enableCellEditingOnBackspace',
|
|
3961
3972
|
'resetRowDataOnUpdate', 'removePivotHeaderRowWhenSingleValueColumn', 'suppressCopySingleCellRanges',
|
|
3962
|
-
'groupRowsSticky', 'serverSideInfiniteScroll'
|
|
3973
|
+
'groupRowsSticky', 'serverSideInfiniteScroll', 'rowGroupPanelSuppressSort',
|
|
3963
3974
|
];
|
|
3964
3975
|
/** You do not need to include event callbacks in this list, as they are generated automatically. */
|
|
3965
3976
|
PropertyKeys.FUNCTION_PROPERTIES = [
|
|
3966
|
-
'localeTextFunc', 'getLocaleText', 'groupRowInnerRenderer', 'groupRowInnerRendererFramework',
|
|
3967
|
-
'
|
|
3968
|
-
'
|
|
3969
|
-
'
|
|
3970
|
-
'
|
|
3971
|
-
'
|
|
3972
|
-
'
|
|
3973
|
-
'
|
|
3974
|
-
'
|
|
3975
|
-
'
|
|
3976
|
-
'paginationNumberFormatter', 'processDataFromClipboard', 'getServerSideGroupKey', 'isServerSideGroup', 'suppressKeyboardEvent',
|
|
3977
|
-
'createChartContainer', 'getChartToolbarItems', 'fillOperation', 'isApplyServerSideTransaction', 'getServerSideStoreParams',
|
|
3978
|
-
'getServerSideGroupLevelParams',
|
|
3977
|
+
'localeTextFunc', 'getLocaleText', 'groupRowInnerRenderer', 'groupRowInnerRendererFramework', 'groupRowRenderer', 'groupRowRendererFramework',
|
|
3978
|
+
'isExternalFilterPresent', 'getRowHeight', 'doesExternalFilterPass', 'getRowClass', 'getRowStyle', 'getContextMenuItems', 'getMainMenuItems',
|
|
3979
|
+
'processRowPostCreate', 'processCellForClipboard', 'groupRowAggNodes', 'getGroupRowAgg', 'getRowNodeId', 'isFullWidthCell', 'isFullWidthRow',
|
|
3980
|
+
'fullWidthCellRenderer', 'fullWidthCellRendererFramework', 'processSecondaryColDef', 'processSecondaryColGroupDef', 'processPivotResultColDef',
|
|
3981
|
+
'processPivotResultColGroupDef', 'getBusinessKeyForNode', 'sendToClipboard', 'navigateToNextHeader', 'tabToNextHeader', 'navigateToNextCell',
|
|
3982
|
+
'tabToNextCell', 'processCellFromClipboard', 'getDocument', 'postProcessPopup', 'getChildCount', 'getDataPath', 'loadingCellRenderer',
|
|
3983
|
+
'loadingCellRendererFramework', 'loadingOverlayComponent', 'loadingOverlayComponentFramework', 'noRowsOverlayComponent', 'noRowsOverlayComponentFramework',
|
|
3984
|
+
'detailCellRenderer', 'detailCellRendererFramework', 'isRowMaster', 'isRowSelectable', 'postSort', 'postSortRows', 'processHeaderForClipboard',
|
|
3985
|
+
'processGroupHeaderForClipboard', 'paginationNumberFormatter', 'processDataFromClipboard', 'getServerSideGroupKey', 'isServerSideGroup', 'suppressKeyboardEvent',
|
|
3986
|
+
'createChartContainer', 'getChartToolbarItems', 'fillOperation', 'isApplyServerSideTransaction', 'getServerSideStoreParams', 'getServerSideGroupLevelParams',
|
|
3979
3987
|
'isServerSideGroupOpenByDefault', 'isGroupOpenByDefault', 'defaultGroupSortComparator', 'defaultGroupOrderComparator', 'initialGroupOrderComparator',
|
|
3980
|
-
'loadingCellRendererSelector', 'getRowId', 'groupAggFiltering'
|
|
3988
|
+
'loadingCellRendererSelector', 'getRowId', 'groupAggFiltering', 'rowDragText'
|
|
3981
3989
|
];
|
|
3982
|
-
PropertyKeys.ALL_PROPERTIES = __spread$
|
|
3990
|
+
PropertyKeys.ALL_PROPERTIES = __spread$i(PropertyKeys.ARRAY_PROPERTIES, PropertyKeys.OBJECT_PROPERTIES, PropertyKeys.STRING_PROPERTIES, PropertyKeys.NUMBER_PROPERTIES, PropertyKeys.FUNCTION_PROPERTIES, PropertyKeys.BOOLEAN_PROPERTIES);
|
|
3983
3991
|
/**
|
|
3984
3992
|
* Used when performing property checks. This avoids noise caused when using frameworks, which can add their own
|
|
3985
3993
|
* framework-specific properties to colDefs, gridOptions etc.
|
|
@@ -3992,12 +4000,12 @@ var PropertyKeys = /** @class */ (function () {
|
|
|
3992
4000
|
|
|
3993
4001
|
/**
|
|
3994
4002
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3995
|
-
* @version v28.
|
|
4003
|
+
* @version v28.2.0
|
|
3996
4004
|
* @link https://www.ag-grid.com/
|
|
3997
4005
|
* @license MIT
|
|
3998
4006
|
*/
|
|
3999
|
-
var __assign$
|
|
4000
|
-
__assign$
|
|
4007
|
+
var __assign$h = function () {
|
|
4008
|
+
__assign$h = Object.assign || function(t) {
|
|
4001
4009
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4002
4010
|
s = arguments[i];
|
|
4003
4011
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -4005,9 +4013,9 @@ var __assign$g = function () {
|
|
|
4005
4013
|
}
|
|
4006
4014
|
return t;
|
|
4007
4015
|
};
|
|
4008
|
-
return __assign$
|
|
4016
|
+
return __assign$h.apply(this, arguments);
|
|
4009
4017
|
};
|
|
4010
|
-
var __read$
|
|
4018
|
+
var __read$n = function (o, n) {
|
|
4011
4019
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
4012
4020
|
if (!m) return o;
|
|
4013
4021
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -4023,8 +4031,8 @@ var __read$m = function (o, n) {
|
|
|
4023
4031
|
}
|
|
4024
4032
|
return ar;
|
|
4025
4033
|
};
|
|
4026
|
-
var __spread$
|
|
4027
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
4034
|
+
var __spread$h = function () {
|
|
4035
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$n(arguments[i]));
|
|
4028
4036
|
return ar;
|
|
4029
4037
|
};
|
|
4030
4038
|
var ComponentUtil = /** @class */ (function () {
|
|
@@ -4050,7 +4058,7 @@ var ComponentUtil = /** @class */ (function () {
|
|
|
4050
4058
|
delete component.groupAggFiltering;
|
|
4051
4059
|
}
|
|
4052
4060
|
// add in all the simple properties
|
|
4053
|
-
__spread$
|
|
4061
|
+
__spread$h(ComponentUtil.ARRAY_PROPERTIES, ComponentUtil.STRING_PROPERTIES, ComponentUtil.OBJECT_PROPERTIES, ComponentUtil.FUNCTION_PROPERTIES, ComponentUtil.getEventCallbacks()).filter(keyExists)
|
|
4054
4062
|
.forEach(function (key) { return pGridOptions[key] = component[key]; });
|
|
4055
4063
|
ComponentUtil.BOOLEAN_PROPERTIES
|
|
4056
4064
|
.filter(keyExists)
|
|
@@ -4070,7 +4078,7 @@ var ComponentUtil = /** @class */ (function () {
|
|
|
4070
4078
|
if (!changes) {
|
|
4071
4079
|
return;
|
|
4072
4080
|
}
|
|
4073
|
-
var changesToApply = __assign$
|
|
4081
|
+
var changesToApply = __assign$h({}, changes);
|
|
4074
4082
|
// to allow array style lookup in TypeScript, take type away from 'this' and 'gridOptions'
|
|
4075
4083
|
var pGridOptions = gridOptions;
|
|
4076
4084
|
var keyExists = function (key) { return changesToApply[key]; };
|
|
@@ -4099,7 +4107,7 @@ var ComponentUtil = /** @class */ (function () {
|
|
|
4099
4107
|
delete changesToApply.rowClass;
|
|
4100
4108
|
}
|
|
4101
4109
|
// check if any change for the simple types, and if so, then just copy in the new value
|
|
4102
|
-
__spread$
|
|
4110
|
+
__spread$h(ComponentUtil.ARRAY_PROPERTIES, ComponentUtil.OBJECT_PROPERTIES, ComponentUtil.STRING_PROPERTIES, ComponentUtil.getEventCallbacks()).filter(keyExists)
|
|
4103
4111
|
.forEach(function (key) { return pGridOptions[key] = changesToApply[key].currentValue; });
|
|
4104
4112
|
ComponentUtil.BOOLEAN_PROPERTIES
|
|
4105
4113
|
.filter(keyExists)
|
|
@@ -4236,6 +4244,8 @@ ComponentUtil.EXCLUDED_INTERNAL_EVENTS = [
|
|
|
4236
4244
|
Events.EVENT_COLUMN_PANEL_ITEM_DRAG_END,
|
|
4237
4245
|
Events.EVENT_FILL_START,
|
|
4238
4246
|
Events.EVENT_FILL_END,
|
|
4247
|
+
Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START,
|
|
4248
|
+
Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END,
|
|
4239
4249
|
Events.EVENT_FULL_WIDTH_ROW_FOCUSED,
|
|
4240
4250
|
Events.EVENT_HEADER_HEIGHT_CHANGED,
|
|
4241
4251
|
Events.EVENT_COLUMN_HEADER_HEIGHT_CHANGED
|
|
@@ -4245,7 +4255,7 @@ ComponentUtil.PUBLIC_EVENTS = ComponentUtil.EVENTS.filter(function (e) { return
|
|
|
4245
4255
|
|
|
4246
4256
|
/**
|
|
4247
4257
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
4248
|
-
* @version v28.
|
|
4258
|
+
* @version v28.2.0
|
|
4249
4259
|
* @link https://www.ag-grid.com/
|
|
4250
4260
|
* @license MIT
|
|
4251
4261
|
*/
|
|
@@ -4339,7 +4349,7 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4339
4349
|
|
|
4340
4350
|
/**
|
|
4341
4351
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
4342
|
-
* @version v28.
|
|
4352
|
+
* @version v28.2.0
|
|
4343
4353
|
* @link https://www.ag-grid.com/
|
|
4344
4354
|
* @license MIT
|
|
4345
4355
|
*/
|
|
@@ -4625,7 +4635,7 @@ var BrowserUtils = /*#__PURE__*/Object.freeze({
|
|
|
4625
4635
|
|
|
4626
4636
|
/**
|
|
4627
4637
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
4628
|
-
* @version v28.
|
|
4638
|
+
* @version v28.2.0
|
|
4629
4639
|
* @link https://www.ag-grid.com/
|
|
4630
4640
|
* @license MIT
|
|
4631
4641
|
*/
|
|
@@ -4728,7 +4738,7 @@ var FuzzyMatchUtils = /*#__PURE__*/Object.freeze({
|
|
|
4728
4738
|
|
|
4729
4739
|
/**
|
|
4730
4740
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
4731
|
-
* @version v28.
|
|
4741
|
+
* @version v28.2.0
|
|
4732
4742
|
* @link https://www.ag-grid.com/
|
|
4733
4743
|
* @license MIT
|
|
4734
4744
|
*/
|
|
@@ -4805,12 +4815,12 @@ var NumberUtils = /*#__PURE__*/Object.freeze({
|
|
|
4805
4815
|
|
|
4806
4816
|
/**
|
|
4807
4817
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
4808
|
-
* @version v28.
|
|
4818
|
+
* @version v28.2.0
|
|
4809
4819
|
* @link https://www.ag-grid.com/
|
|
4810
4820
|
* @license MIT
|
|
4811
4821
|
*/
|
|
4812
|
-
var __assign$
|
|
4813
|
-
__assign$
|
|
4822
|
+
var __assign$g = function () {
|
|
4823
|
+
__assign$g = Object.assign || function(t) {
|
|
4814
4824
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4815
4825
|
s = arguments[i];
|
|
4816
4826
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -4818,7 +4828,7 @@ var __assign$f = function () {
|
|
|
4818
4828
|
}
|
|
4819
4829
|
return t;
|
|
4820
4830
|
};
|
|
4821
|
-
return __assign$
|
|
4831
|
+
return __assign$g.apply(this, arguments);
|
|
4822
4832
|
};
|
|
4823
4833
|
var __decorate$2v = function (decorators, target, key, desc) {
|
|
4824
4834
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -4829,7 +4839,7 @@ var __decorate$2v = function (decorators, target, key, desc) {
|
|
|
4829
4839
|
var __param$8 = function (paramIndex, decorator) {
|
|
4830
4840
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
4831
4841
|
};
|
|
4832
|
-
var __read$
|
|
4842
|
+
var __read$m = function (o, n) {
|
|
4833
4843
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
4834
4844
|
if (!m) return o;
|
|
4835
4845
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -4845,8 +4855,8 @@ var __read$l = function (o, n) {
|
|
|
4845
4855
|
}
|
|
4846
4856
|
return ar;
|
|
4847
4857
|
};
|
|
4848
|
-
var __spread$
|
|
4849
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
4858
|
+
var __spread$g = function () {
|
|
4859
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$m(arguments[i]));
|
|
4850
4860
|
return ar;
|
|
4851
4861
|
};
|
|
4852
4862
|
var DEFAULT_ROW_HEIGHT = 25;
|
|
@@ -4977,14 +4987,14 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4977
4987
|
}
|
|
4978
4988
|
this.gridOptions.columnDefs.forEach(function (colDef) {
|
|
4979
4989
|
var userProperties = Object.getOwnPropertyNames(colDef);
|
|
4980
|
-
var validProperties = __spread$
|
|
4990
|
+
var validProperties = __spread$g(ColDefUtil.ALL_PROPERTIES, ColDefUtil.FRAMEWORK_PROPERTIES);
|
|
4981
4991
|
_this.checkProperties(userProperties, validProperties, validProperties, 'colDef', 'https://www.ag-grid.com/javascript-grid-column-properties/');
|
|
4982
4992
|
});
|
|
4983
4993
|
};
|
|
4984
4994
|
GridOptionsWrapper.prototype.checkGridOptionsProperties = function () {
|
|
4985
4995
|
var userProperties = Object.getOwnPropertyNames(this.gridOptions);
|
|
4986
|
-
var validProperties = __spread$
|
|
4987
|
-
var validPropertiesAndExceptions = __spread$
|
|
4996
|
+
var validProperties = __spread$g(PropertyKeys.ALL_PROPERTIES, PropertyKeys.FRAMEWORK_PROPERTIES, values(Events).map(function (event) { return ComponentUtil.getCallbackForEvent(event); }));
|
|
4997
|
+
var validPropertiesAndExceptions = __spread$g(validProperties, ['api', 'columnApi']);
|
|
4988
4998
|
this.checkProperties(userProperties, validPropertiesAndExceptions, validProperties, 'gridOptions', 'https://www.ag-grid.com/javascript-data-grid/grid-options/');
|
|
4989
4999
|
};
|
|
4990
5000
|
GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
|
|
@@ -5005,7 +5015,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5005
5015
|
var _this = this;
|
|
5006
5016
|
if (callback) {
|
|
5007
5017
|
var wrapped = function (callbackParams) {
|
|
5008
|
-
var mergedParams = __assign$
|
|
5018
|
+
var mergedParams = __assign$g(__assign$g({}, callbackParams), { api: _this.getApi(), columnApi: _this.getColumnApi(), context: _this.getContext() });
|
|
5009
5019
|
return callback(mergedParams);
|
|
5010
5020
|
};
|
|
5011
5021
|
return wrapped;
|
|
@@ -5159,6 +5169,9 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5159
5169
|
return this.gridOptions.groupDisplayType ?
|
|
5160
5170
|
this.matchesGroupDisplayType('groupRows', this.gridOptions.groupDisplayType) : false;
|
|
5161
5171
|
};
|
|
5172
|
+
GridOptionsWrapper.prototype.isRowGroupPanelSuppressSort = function () {
|
|
5173
|
+
return isTrue(this.gridOptions.rowGroupPanelSuppressSort);
|
|
5174
|
+
};
|
|
5162
5175
|
GridOptionsWrapper.prototype.isGroupRowsSticky = function () {
|
|
5163
5176
|
return isTrue(this.gridOptions.groupRowsSticky);
|
|
5164
5177
|
};
|
|
@@ -5219,6 +5232,15 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5219
5232
|
GridOptionsWrapper.prototype.isRowDragEntireRow = function () {
|
|
5220
5233
|
return isTrue(this.gridOptions.rowDragEntireRow);
|
|
5221
5234
|
};
|
|
5235
|
+
GridOptionsWrapper.prototype.getRowDragText = function (column) {
|
|
5236
|
+
if (column) {
|
|
5237
|
+
var colDef = column.getColDef();
|
|
5238
|
+
if (colDef.rowDragText) {
|
|
5239
|
+
return colDef.rowDragText;
|
|
5240
|
+
}
|
|
5241
|
+
}
|
|
5242
|
+
return this.gridOptions.rowDragText;
|
|
5243
|
+
};
|
|
5222
5244
|
GridOptionsWrapper.prototype.isSuppressRowDrag = function () {
|
|
5223
5245
|
return isTrue(this.gridOptions.suppressRowDrag);
|
|
5224
5246
|
};
|
|
@@ -5313,6 +5335,9 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5313
5335
|
GridOptionsWrapper.prototype.getUndoRedoCellEditingLimit = function () {
|
|
5314
5336
|
return toNumber(this.gridOptions.undoRedoCellEditingLimit);
|
|
5315
5337
|
};
|
|
5338
|
+
GridOptionsWrapper.prototype.isEnableCellEditingOnBackspace = function () {
|
|
5339
|
+
return isTrue(this.gridOptions.enableCellEditingOnBackspace);
|
|
5340
|
+
};
|
|
5316
5341
|
GridOptionsWrapper.prototype.getRowStyle = function () {
|
|
5317
5342
|
return this.gridOptions.rowStyle;
|
|
5318
5343
|
};
|
|
@@ -5421,6 +5446,9 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5421
5446
|
}
|
|
5422
5447
|
return false;
|
|
5423
5448
|
};
|
|
5449
|
+
GridOptionsWrapper.prototype.isEnableChartToolPanelsButton = function () {
|
|
5450
|
+
return isTrue(this.gridOptions.enableChartToolPanelsButton);
|
|
5451
|
+
};
|
|
5424
5452
|
GridOptionsWrapper.prototype.getColResizeDefault = function () {
|
|
5425
5453
|
return this.gridOptions.colResizeDefault;
|
|
5426
5454
|
};
|
|
@@ -5922,6 +5950,9 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5922
5950
|
// return default themes if user hasn't supplied any
|
|
5923
5951
|
return this.gridOptions.chartThemes || ['ag-default', 'ag-material', 'ag-pastel', 'ag-vivid', 'ag-solar'];
|
|
5924
5952
|
};
|
|
5953
|
+
GridOptionsWrapper.prototype.getChartToolPanelsDef = function () {
|
|
5954
|
+
return this.gridOptions.chartToolPanelsDef;
|
|
5955
|
+
};
|
|
5925
5956
|
GridOptionsWrapper.prototype.getClipboardDelimiter = function () {
|
|
5926
5957
|
return exists(this.gridOptions.clipboardDelimiter) ? this.gridOptions.clipboardDelimiter : '\t';
|
|
5927
5958
|
};
|
|
@@ -6499,7 +6530,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6499
6530
|
|
|
6500
6531
|
/**
|
|
6501
6532
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
6502
|
-
* @version v28.
|
|
6533
|
+
* @version v28.2.0
|
|
6503
6534
|
* @link https://www.ag-grid.com/
|
|
6504
6535
|
* @license MIT
|
|
6505
6536
|
*/
|
|
@@ -6547,7 +6578,7 @@ var __values$4 = function(o) {
|
|
|
6547
6578
|
};
|
|
6548
6579
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
6549
6580
|
};
|
|
6550
|
-
var __read$
|
|
6581
|
+
var __read$l = function (o, n) {
|
|
6551
6582
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
6552
6583
|
if (!m) return o;
|
|
6553
6584
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -6563,8 +6594,8 @@ var __read$k = function (o, n) {
|
|
|
6563
6594
|
}
|
|
6564
6595
|
return ar;
|
|
6565
6596
|
};
|
|
6566
|
-
var __spread$
|
|
6567
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
6597
|
+
var __spread$f = function () {
|
|
6598
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$l(arguments[i]));
|
|
6568
6599
|
return ar;
|
|
6569
6600
|
};
|
|
6570
6601
|
var ColumnModel = /** @class */ (function (_super) {
|
|
@@ -6586,6 +6617,8 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
6586
6617
|
_this.displayedColumnsAndGroupsMap = {};
|
|
6587
6618
|
// all columns to be rendered
|
|
6588
6619
|
_this.viewportColumns = [];
|
|
6620
|
+
// A hash key to keep track of changes in viewport columns
|
|
6621
|
+
_this.viewportColumnsHash = '';
|
|
6589
6622
|
// same as viewportColumns, except we always include columns with headerAutoHeight
|
|
6590
6623
|
_this.headerViewportColumns = [];
|
|
6591
6624
|
// all columns to be rendered in the centre
|
|
@@ -7104,7 +7137,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7104
7137
|
return this.getAllGridColumns().indexOf(col) + 1;
|
|
7105
7138
|
};
|
|
7106
7139
|
ColumnModel.prototype.isColumnInHeaderViewport = function (col) {
|
|
7107
|
-
// for headers, we never filter out autoHeaderHeight columns, if calculating
|
|
7140
|
+
// for headers, we never filter out autoHeaderHeight columns, if calculating
|
|
7108
7141
|
if (col.isAutoHeaderHeight()) {
|
|
7109
7142
|
return true;
|
|
7110
7143
|
}
|
|
@@ -7927,7 +7960,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7927
7960
|
};
|
|
7928
7961
|
ColumnModel.prototype.getPrimaryAndSecondaryAndAutoColumns = function () {
|
|
7929
7962
|
var _a;
|
|
7930
|
-
return (_a = []).concat.apply(_a, __spread$
|
|
7963
|
+
return (_a = []).concat.apply(_a, __spread$f([
|
|
7931
7964
|
this.primaryColumns || [],
|
|
7932
7965
|
this.groupAutoColumns || [],
|
|
7933
7966
|
this.secondaryColumns || [],
|
|
@@ -7935,14 +7968,14 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7935
7968
|
};
|
|
7936
7969
|
ColumnModel.prototype.getPrimaryAndAutoGroupCols = function () {
|
|
7937
7970
|
var _a;
|
|
7938
|
-
return (_a = []).concat.apply(_a, __spread$
|
|
7971
|
+
return (_a = []).concat.apply(_a, __spread$f([
|
|
7939
7972
|
this.primaryColumns || [],
|
|
7940
7973
|
this.groupAutoColumns || [],
|
|
7941
7974
|
]));
|
|
7942
7975
|
};
|
|
7943
7976
|
ColumnModel.prototype.getPrimaryAndSecondaryColumns = function () {
|
|
7944
7977
|
var _a;
|
|
7945
|
-
return (_a = []).concat.apply(_a, __spread$
|
|
7978
|
+
return (_a = []).concat.apply(_a, __spread$f([
|
|
7946
7979
|
this.primaryColumns || [],
|
|
7947
7980
|
this.secondaryColumns || [],
|
|
7948
7981
|
]));
|
|
@@ -9087,6 +9120,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9087
9120
|
else {
|
|
9088
9121
|
this.lastSecondaryOrder = this.gridColumns;
|
|
9089
9122
|
}
|
|
9123
|
+
var sortOrderToRecover = undefined;
|
|
9090
9124
|
if (this.secondaryColumns && this.secondaryBalancedTree) {
|
|
9091
9125
|
var hasSameColumns = this.secondaryColumns.every(function (col) {
|
|
9092
9126
|
return _this.gridColumnsMap[col.getColId()] !== undefined;
|
|
@@ -9099,7 +9133,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9099
9133
|
// we keep the previous order, otherwise we go back to the order the pivot
|
|
9100
9134
|
// cols are generated in
|
|
9101
9135
|
if (hasSameColumns) {
|
|
9102
|
-
this.
|
|
9136
|
+
sortOrderToRecover = this.lastSecondaryOrder;
|
|
9103
9137
|
}
|
|
9104
9138
|
}
|
|
9105
9139
|
else if (this.primaryColumns) {
|
|
@@ -9110,9 +9144,20 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9110
9144
|
// updateGridColumns gets called after user adds a row group. we want to maintain the order of the columns
|
|
9111
9145
|
// when this happens (eg if user moved a column) rather than revert back to the original column order.
|
|
9112
9146
|
// likewise if changing in/out of pivot mode, we want to maintain the order of the cols
|
|
9113
|
-
this.
|
|
9147
|
+
sortOrderToRecover = this.lastPrimaryOrder;
|
|
9148
|
+
}
|
|
9149
|
+
// create the new auto columns
|
|
9150
|
+
var areAutoColsChanged = this.createGroupAutoColumnsIfNeeded();
|
|
9151
|
+
// if auto group cols have changed, and we have a sort order, we need to move auto cols to the start
|
|
9152
|
+
if (areAutoColsChanged && sortOrderToRecover) {
|
|
9153
|
+
var groupAutoColsMap_1 = convertToMap(this.groupAutoColumns.map(function (col) { return [col, true]; }));
|
|
9154
|
+
// if group columns has changed, we don't preserve the group column order, so remove them from the old order
|
|
9155
|
+
sortOrderToRecover = sortOrderToRecover.filter(function (col) { return groupAutoColsMap_1.has(col); });
|
|
9156
|
+
// and add them to the start of the order
|
|
9157
|
+
sortOrderToRecover = __spread$f(this.groupAutoColumns, sortOrderToRecover);
|
|
9114
9158
|
}
|
|
9115
9159
|
this.addAutoGroupToGridColumns();
|
|
9160
|
+
this.orderGridColsLike(sortOrderToRecover);
|
|
9116
9161
|
this.gridColumns = this.placeLockedColumns(this.gridColumns);
|
|
9117
9162
|
this.setupQuickFilterColumns();
|
|
9118
9163
|
this.clearDisplayedAndViewportColumns();
|
|
@@ -9191,7 +9236,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9191
9236
|
}
|
|
9192
9237
|
// find index of last column in the group
|
|
9193
9238
|
var indexes = siblings.map(function (col) { return newGridColumns.indexOf(col); });
|
|
9194
|
-
var lastIndex = Math.max.apply(Math, __spread$
|
|
9239
|
+
var lastIndex = Math.max.apply(Math, __spread$f(indexes));
|
|
9195
9240
|
insertIntoArray(newGridColumns, newCol, lastIndex + 1);
|
|
9196
9241
|
});
|
|
9197
9242
|
this.gridColumns = newGridColumns;
|
|
@@ -9228,11 +9273,9 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9228
9273
|
normal.push(col);
|
|
9229
9274
|
}
|
|
9230
9275
|
});
|
|
9231
|
-
return __spread$
|
|
9276
|
+
return __spread$f(left, normal, right);
|
|
9232
9277
|
};
|
|
9233
9278
|
ColumnModel.prototype.addAutoGroupToGridColumns = function () {
|
|
9234
|
-
// add in auto-group here
|
|
9235
|
-
this.createGroupAutoColumnsIfNeeded();
|
|
9236
9279
|
if (missing(this.groupAutoColumns)) {
|
|
9237
9280
|
return;
|
|
9238
9281
|
}
|
|
@@ -9258,6 +9301,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9258
9301
|
this.displayedColumns = [];
|
|
9259
9302
|
this.viewportColumns = [];
|
|
9260
9303
|
this.headerViewportColumns = [];
|
|
9304
|
+
this.viewportColumnsHash = '';
|
|
9261
9305
|
};
|
|
9262
9306
|
ColumnModel.prototype.updateGroupsAndDisplayedColumns = function (source) {
|
|
9263
9307
|
this.updateOpenClosedVisibilityInColumnGroups();
|
|
@@ -9442,11 +9486,12 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9442
9486
|
testGroup(this.displayedTreeCentre, this.viewportRowCenter, 0);
|
|
9443
9487
|
};
|
|
9444
9488
|
ColumnModel.prototype.extractViewport = function () {
|
|
9445
|
-
var
|
|
9489
|
+
var hashColumn = function (c) { return c.getId() + "-" + (c.getPinned() || 'normal'); };
|
|
9446
9490
|
this.extractViewportColumns();
|
|
9447
|
-
var
|
|
9448
|
-
var changed =
|
|
9491
|
+
var newHash = this.viewportColumns.map(hashColumn).join('#');
|
|
9492
|
+
var changed = this.viewportColumnsHash !== newHash;
|
|
9449
9493
|
if (changed) {
|
|
9494
|
+
this.viewportColumnsHash = newHash;
|
|
9450
9495
|
this.calculateHeaderRows();
|
|
9451
9496
|
}
|
|
9452
9497
|
return changed;
|
|
@@ -9695,9 +9740,13 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9695
9740
|
ColumnModel.prototype.getGroupAutoColumns = function () {
|
|
9696
9741
|
return this.groupAutoColumns;
|
|
9697
9742
|
};
|
|
9743
|
+
/**
|
|
9744
|
+
* Creates new auto group columns if required
|
|
9745
|
+
* @returns whether auto cols have changed
|
|
9746
|
+
*/
|
|
9698
9747
|
ColumnModel.prototype.createGroupAutoColumnsIfNeeded = function () {
|
|
9699
9748
|
if (!this.autoGroupsNeedBuilding) {
|
|
9700
|
-
return;
|
|
9749
|
+
return false;
|
|
9701
9750
|
}
|
|
9702
9751
|
this.autoGroupsNeedBuilding = false;
|
|
9703
9752
|
var groupFullWidthRow = this.gridOptionsWrapper.isGroupUseEntireRow(this.pivotMode);
|
|
@@ -9719,11 +9768,13 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9719
9768
|
// definitions. otherwise we could ignore the new cols because they appear to be the same.
|
|
9720
9769
|
if (autoColsDifferent || this.forceRecreateAutoGroups) {
|
|
9721
9770
|
this.groupAutoColumns = newAutoGroupCols;
|
|
9771
|
+
return true;
|
|
9722
9772
|
}
|
|
9723
9773
|
}
|
|
9724
9774
|
else {
|
|
9725
9775
|
this.groupAutoColumns = null;
|
|
9726
9776
|
}
|
|
9777
|
+
return false;
|
|
9727
9778
|
};
|
|
9728
9779
|
ColumnModel.prototype.autoColsEqual = function (colsA, colsB) {
|
|
9729
9780
|
return areEqual(colsA, colsB, function (a, b) { return a.getColId() === b.getColId(); });
|
|
@@ -9786,7 +9837,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9786
9837
|
var displayedHeights = this.getAllDisplayedColumns()
|
|
9787
9838
|
.filter(function (col) { return col.isAutoHeaderHeight(); })
|
|
9788
9839
|
.map(function (col) { return col.getAutoHeaderHeight() || 0; });
|
|
9789
|
-
return Math.max.apply(Math, __spread$
|
|
9840
|
+
return Math.max.apply(Math, __spread$f([defaultHeight], displayedHeights));
|
|
9790
9841
|
};
|
|
9791
9842
|
__decorate$2u([
|
|
9792
9843
|
Autowired('expressionService')
|
|
@@ -9844,7 +9895,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9844
9895
|
|
|
9845
9896
|
/**
|
|
9846
9897
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
9847
|
-
* @version v28.
|
|
9898
|
+
* @version v28.2.0
|
|
9848
9899
|
* @link https://www.ag-grid.com/
|
|
9849
9900
|
* @license MIT
|
|
9850
9901
|
*/
|
|
@@ -9965,7 +10016,7 @@ var ColumnUtils = /** @class */ (function (_super) {
|
|
|
9965
10016
|
|
|
9966
10017
|
/**
|
|
9967
10018
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
9968
|
-
* @version v28.
|
|
10019
|
+
* @version v28.2.0
|
|
9969
10020
|
* @link https://www.ag-grid.com/
|
|
9970
10021
|
* @license MIT
|
|
9971
10022
|
*/
|
|
@@ -10135,7 +10186,7 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
|
|
|
10135
10186
|
|
|
10136
10187
|
/**
|
|
10137
10188
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
10138
|
-
* @version v28.
|
|
10189
|
+
* @version v28.2.0
|
|
10139
10190
|
* @link https://www.ag-grid.com/
|
|
10140
10191
|
* @license MIT
|
|
10141
10192
|
*/
|
|
@@ -10193,11 +10244,11 @@ var AgStackComponentsRegistry = /** @class */ (function (_super) {
|
|
|
10193
10244
|
|
|
10194
10245
|
/**
|
|
10195
10246
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
10196
|
-
* @version v28.
|
|
10247
|
+
* @version v28.2.0
|
|
10197
10248
|
* @link https://www.ag-grid.com/
|
|
10198
10249
|
* @license MIT
|
|
10199
10250
|
*/
|
|
10200
|
-
var __read$
|
|
10251
|
+
var __read$k = function (o, n) {
|
|
10201
10252
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
10202
10253
|
if (!m) return o;
|
|
10203
10254
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -10288,14 +10339,14 @@ var Color = /** @class */ (function () {
|
|
|
10288
10339
|
Color.fromHexString = function (str) {
|
|
10289
10340
|
var values = Color.parseHex(str);
|
|
10290
10341
|
if (values) {
|
|
10291
|
-
var _a = __read$
|
|
10342
|
+
var _a = __read$k(values, 4), r = _a[0], g = _a[1], b = _a[2], a = _a[3];
|
|
10292
10343
|
return new Color(r / 255, g / 255, b / 255, a / 255);
|
|
10293
10344
|
}
|
|
10294
10345
|
throw new Error("Malformed hexadecimal color string: '" + str + "'");
|
|
10295
10346
|
};
|
|
10296
10347
|
Color.stringToRgba = function (str) {
|
|
10297
10348
|
// Find positions of opening and closing parentheses.
|
|
10298
|
-
var _a = __read$
|
|
10349
|
+
var _a = __read$k([NaN, NaN], 2), po = _a[0], pc = _a[1];
|
|
10299
10350
|
for (var i = 0; i < str.length; i++) {
|
|
10300
10351
|
var c = str[i];
|
|
10301
10352
|
if (!po && c === '(') {
|
|
@@ -10664,7 +10715,7 @@ var Color = /** @class */ (function () {
|
|
|
10664
10715
|
|
|
10665
10716
|
/**
|
|
10666
10717
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
10667
|
-
* @version v28.
|
|
10718
|
+
* @version v28.2.0
|
|
10668
10719
|
* @link https://www.ag-grid.com/
|
|
10669
10720
|
* @license MIT
|
|
10670
10721
|
*/
|
|
@@ -10755,7 +10806,7 @@ var CsvUtils = /*#__PURE__*/Object.freeze({
|
|
|
10755
10806
|
|
|
10756
10807
|
/**
|
|
10757
10808
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
10758
|
-
* @version v28.
|
|
10809
|
+
* @version v28.2.0
|
|
10759
10810
|
* @link https://www.ag-grid.com/
|
|
10760
10811
|
* @license MIT
|
|
10761
10812
|
*/
|
|
@@ -11206,7 +11257,7 @@ var DomUtils = /*#__PURE__*/Object.freeze({
|
|
|
11206
11257
|
|
|
11207
11258
|
/**
|
|
11208
11259
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11209
|
-
* @version v28.
|
|
11260
|
+
* @version v28.2.0
|
|
11210
11261
|
* @link https://www.ag-grid.com/
|
|
11211
11262
|
* @license MIT
|
|
11212
11263
|
*/
|
|
@@ -11322,7 +11373,7 @@ var GeneralUtils = /*#__PURE__*/Object.freeze({
|
|
|
11322
11373
|
|
|
11323
11374
|
/**
|
|
11324
11375
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11325
|
-
* @version v28.
|
|
11376
|
+
* @version v28.2.0
|
|
11326
11377
|
* @link https://www.ag-grid.com/
|
|
11327
11378
|
* @license MIT
|
|
11328
11379
|
*/
|
|
@@ -11490,11 +11541,11 @@ var AriaUtils = /*#__PURE__*/Object.freeze({
|
|
|
11490
11541
|
|
|
11491
11542
|
/**
|
|
11492
11543
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11493
|
-
* @version v28.
|
|
11544
|
+
* @version v28.2.0
|
|
11494
11545
|
* @link https://www.ag-grid.com/
|
|
11495
11546
|
* @license MIT
|
|
11496
11547
|
*/
|
|
11497
|
-
var __read$
|
|
11548
|
+
var __read$j = function (o, n) {
|
|
11498
11549
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
11499
11550
|
if (!m) return o;
|
|
11500
11551
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -11589,7 +11640,7 @@ function parseDateTimeFromString(value) {
|
|
|
11589
11640
|
if (!value) {
|
|
11590
11641
|
return null;
|
|
11591
11642
|
}
|
|
11592
|
-
var _a = __read$
|
|
11643
|
+
var _a = __read$j(value.split(' '), 2), dateStr = _a[0], timeStr = _a[1];
|
|
11593
11644
|
if (!dateStr) {
|
|
11594
11645
|
return null;
|
|
11595
11646
|
}
|
|
@@ -11597,7 +11648,7 @@ function parseDateTimeFromString(value) {
|
|
|
11597
11648
|
if (fields.filter(function (f) { return !isNaN(f); }).length !== 3) {
|
|
11598
11649
|
return null;
|
|
11599
11650
|
}
|
|
11600
|
-
var _b = __read$
|
|
11651
|
+
var _b = __read$j(fields, 3), year = _b[0], month = _b[1], day = _b[2];
|
|
11601
11652
|
var date = new Date(year, month - 1, day);
|
|
11602
11653
|
if (date.getFullYear() !== year ||
|
|
11603
11654
|
date.getMonth() !== month - 1 ||
|
|
@@ -11608,7 +11659,7 @@ function parseDateTimeFromString(value) {
|
|
|
11608
11659
|
if (!timeStr || timeStr === '00:00:00') {
|
|
11609
11660
|
return date;
|
|
11610
11661
|
}
|
|
11611
|
-
var _c = __read$
|
|
11662
|
+
var _c = __read$j(timeStr.split(':').map(function (part) { return parseInt(part, 10); }), 3), hours = _c[0], minutes = _c[1], seconds = _c[2];
|
|
11612
11663
|
if (hours >= 0 && hours < 24) {
|
|
11613
11664
|
date.setHours(hours);
|
|
11614
11665
|
}
|
|
@@ -11630,7 +11681,7 @@ var DateUtils = /*#__PURE__*/Object.freeze({
|
|
|
11630
11681
|
|
|
11631
11682
|
/**
|
|
11632
11683
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11633
|
-
* @version v28.
|
|
11684
|
+
* @version v28.2.0
|
|
11634
11685
|
* @link https://www.ag-grid.com/
|
|
11635
11686
|
* @license MIT
|
|
11636
11687
|
*/
|
|
@@ -11829,7 +11880,7 @@ var IconUtils = /*#__PURE__*/Object.freeze({
|
|
|
11829
11880
|
|
|
11830
11881
|
/**
|
|
11831
11882
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11832
|
-
* @version v28.
|
|
11883
|
+
* @version v28.2.0
|
|
11833
11884
|
* @link https://www.ag-grid.com/
|
|
11834
11885
|
* @license MIT
|
|
11835
11886
|
*/
|
|
@@ -11864,7 +11915,7 @@ var KeyCode = /** @class */ (function () {
|
|
|
11864
11915
|
|
|
11865
11916
|
/**
|
|
11866
11917
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11867
|
-
* @version v28.
|
|
11918
|
+
* @version v28.2.0
|
|
11868
11919
|
* @link https://www.ag-grid.com/
|
|
11869
11920
|
* @license MIT
|
|
11870
11921
|
*/
|
|
@@ -11981,18 +12032,29 @@ function normaliseQwertyAzerty(keyboardEvent) {
|
|
|
11981
12032
|
}
|
|
11982
12033
|
return code;
|
|
11983
12034
|
}
|
|
12035
|
+
function isDeleteKey(key, alwaysReturnFalseOnBackspace) {
|
|
12036
|
+
if (alwaysReturnFalseOnBackspace === void 0) { alwaysReturnFalseOnBackspace = false; }
|
|
12037
|
+
if (key === KeyCode.DELETE) {
|
|
12038
|
+
return true;
|
|
12039
|
+
}
|
|
12040
|
+
if (!alwaysReturnFalseOnBackspace && key === KeyCode.BACKSPACE) {
|
|
12041
|
+
return isMacOsUserAgent();
|
|
12042
|
+
}
|
|
12043
|
+
return false;
|
|
12044
|
+
}
|
|
11984
12045
|
|
|
11985
12046
|
var KeyboardUtils = /*#__PURE__*/Object.freeze({
|
|
11986
12047
|
__proto__: null,
|
|
11987
12048
|
isEventFromPrintableCharacter: isEventFromPrintableCharacter,
|
|
11988
12049
|
isUserSuppressingKeyboardEvent: isUserSuppressingKeyboardEvent,
|
|
11989
12050
|
isUserSuppressingHeaderKeyboardEvent: isUserSuppressingHeaderKeyboardEvent,
|
|
11990
|
-
normaliseQwertyAzerty: normaliseQwertyAzerty
|
|
12051
|
+
normaliseQwertyAzerty: normaliseQwertyAzerty,
|
|
12052
|
+
isDeleteKey: isDeleteKey
|
|
11991
12053
|
});
|
|
11992
12054
|
|
|
11993
12055
|
/**
|
|
11994
12056
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11995
|
-
* @version v28.
|
|
12057
|
+
* @version v28.2.0
|
|
11996
12058
|
* @link https://www.ag-grid.com/
|
|
11997
12059
|
* @license MIT
|
|
11998
12060
|
*/
|
|
@@ -12021,7 +12083,7 @@ var MouseUtils = /*#__PURE__*/Object.freeze({
|
|
|
12021
12083
|
|
|
12022
12084
|
/**
|
|
12023
12085
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12024
|
-
* @version v28.
|
|
12086
|
+
* @version v28.2.0
|
|
12025
12087
|
* @link https://www.ag-grid.com/
|
|
12026
12088
|
* @license MIT
|
|
12027
12089
|
*/
|
|
@@ -12032,10 +12094,12 @@ var MouseUtils = /*#__PURE__*/Object.freeze({
|
|
|
12032
12094
|
* don't have order id's
|
|
12033
12095
|
* @param {RowNode[]} rowNodes
|
|
12034
12096
|
* @param {Object} rowNodeOrder
|
|
12097
|
+
*
|
|
12098
|
+
* @returns a boolean representing whether nodes were reordered
|
|
12035
12099
|
*/
|
|
12036
12100
|
function sortRowNodesByOrder(rowNodes, rowNodeOrder) {
|
|
12037
12101
|
if (!rowNodes) {
|
|
12038
|
-
return;
|
|
12102
|
+
return false;
|
|
12039
12103
|
}
|
|
12040
12104
|
var comparator = function (nodeA, nodeB) {
|
|
12041
12105
|
var positionA = rowNodeOrder[nodeA.id];
|
|
@@ -12080,7 +12144,9 @@ function sortRowNodesByOrder(rowNodes, rowNodeOrder) {
|
|
|
12080
12144
|
}
|
|
12081
12145
|
if (atLeastOneOutOfOrder) {
|
|
12082
12146
|
rowNodes.sort(comparator);
|
|
12147
|
+
return true;
|
|
12083
12148
|
}
|
|
12149
|
+
return false;
|
|
12084
12150
|
}
|
|
12085
12151
|
function traverseNodesWithKey(nodes, callback) {
|
|
12086
12152
|
var keyParts = [];
|
|
@@ -12110,7 +12176,7 @@ var RowNodeUtils = /*#__PURE__*/Object.freeze({
|
|
|
12110
12176
|
|
|
12111
12177
|
/**
|
|
12112
12178
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12113
|
-
* @version v28.
|
|
12179
|
+
* @version v28.2.0
|
|
12114
12180
|
* @link https://www.ag-grid.com/
|
|
12115
12181
|
* @license MIT
|
|
12116
12182
|
*/
|
|
@@ -12127,12 +12193,12 @@ var SetUtils = /*#__PURE__*/Object.freeze({
|
|
|
12127
12193
|
|
|
12128
12194
|
/**
|
|
12129
12195
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12130
|
-
* @version v28.
|
|
12196
|
+
* @version v28.2.0
|
|
12131
12197
|
* @link https://www.ag-grid.com/
|
|
12132
12198
|
* @license MIT
|
|
12133
12199
|
*/
|
|
12134
|
-
var __assign$
|
|
12135
|
-
__assign$
|
|
12200
|
+
var __assign$f = function () {
|
|
12201
|
+
__assign$f = Object.assign || function(t) {
|
|
12136
12202
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
12137
12203
|
s = arguments[i];
|
|
12138
12204
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -12140,14 +12206,14 @@ var __assign$e = function () {
|
|
|
12140
12206
|
}
|
|
12141
12207
|
return t;
|
|
12142
12208
|
};
|
|
12143
|
-
return __assign$
|
|
12209
|
+
return __assign$f.apply(this, arguments);
|
|
12144
12210
|
};
|
|
12145
|
-
var utils = __assign$
|
|
12211
|
+
var utils = __assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f({}, GeneralUtils), AriaUtils), ArrayUtils), BrowserUtils), CsvUtils), DateUtils), DomUtils), EventUtils), FunctionUtils), FuzzyMatchUtils), GenericUtils), IconUtils), KeyboardUtils), MapUtils), MouseUtils), NumberUtils), ObjectUtils), RowNodeUtils), SetUtils), StringUtils);
|
|
12146
12212
|
var _ = utils;
|
|
12147
12213
|
|
|
12148
12214
|
/**
|
|
12149
12215
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12150
|
-
* @version v28.
|
|
12216
|
+
* @version v28.2.0
|
|
12151
12217
|
* @link https://www.ag-grid.com/
|
|
12152
12218
|
* @license MIT
|
|
12153
12219
|
*/
|
|
@@ -12174,7 +12240,7 @@ var NumberSequence = /** @class */ (function () {
|
|
|
12174
12240
|
|
|
12175
12241
|
/**
|
|
12176
12242
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12177
|
-
* @version v28.
|
|
12243
|
+
* @version v28.2.0
|
|
12178
12244
|
* @link https://www.ag-grid.com/
|
|
12179
12245
|
* @license MIT
|
|
12180
12246
|
*/
|
|
@@ -12237,7 +12303,7 @@ var AgPromise = /** @class */ (function () {
|
|
|
12237
12303
|
|
|
12238
12304
|
/**
|
|
12239
12305
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12240
|
-
* @version v28.
|
|
12306
|
+
* @version v28.2.0
|
|
12241
12307
|
* @link https://www.ag-grid.com/
|
|
12242
12308
|
* @license MIT
|
|
12243
12309
|
*/
|
|
@@ -12254,8 +12320,8 @@ var __extends$2P = (function () {
|
|
|
12254
12320
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12255
12321
|
};
|
|
12256
12322
|
})();
|
|
12257
|
-
var __assign$
|
|
12258
|
-
__assign$
|
|
12323
|
+
var __assign$e = function () {
|
|
12324
|
+
__assign$e = Object.assign || function(t) {
|
|
12259
12325
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
12260
12326
|
s = arguments[i];
|
|
12261
12327
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -12263,7 +12329,7 @@ var __assign$d = function () {
|
|
|
12263
12329
|
}
|
|
12264
12330
|
return t;
|
|
12265
12331
|
};
|
|
12266
|
-
return __assign$
|
|
12332
|
+
return __assign$e.apply(this, arguments);
|
|
12267
12333
|
};
|
|
12268
12334
|
var __decorate$2q = function (decorators, target, key, desc) {
|
|
12269
12335
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -12386,7 +12452,7 @@ var CustomTooltipFeature = /** @class */ (function (_super) {
|
|
|
12386
12452
|
return (now - then) < this.SHOW_QUICK_TOOLTIP_DIFF;
|
|
12387
12453
|
};
|
|
12388
12454
|
CustomTooltipFeature.prototype.showTooltip = function () {
|
|
12389
|
-
var params = __assign$
|
|
12455
|
+
var params = __assign$e({}, this.parentComp.getTooltipParams());
|
|
12390
12456
|
if (!exists(params.value)) {
|
|
12391
12457
|
this.setToDoNothing();
|
|
12392
12458
|
return;
|
|
@@ -12461,7 +12527,7 @@ var CustomTooltipFeature = /** @class */ (function (_super) {
|
|
|
12461
12527
|
|
|
12462
12528
|
/**
|
|
12463
12529
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12464
|
-
* @version v28.
|
|
12530
|
+
* @version v28.2.0
|
|
12465
12531
|
* @link https://www.ag-grid.com/
|
|
12466
12532
|
* @license MIT
|
|
12467
12533
|
*/
|
|
@@ -12526,7 +12592,7 @@ var CssClassManager = /** @class */ (function () {
|
|
|
12526
12592
|
|
|
12527
12593
|
/**
|
|
12528
12594
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12529
|
-
* @version v28.
|
|
12595
|
+
* @version v28.2.0
|
|
12530
12596
|
* @link https://www.ag-grid.com/
|
|
12531
12597
|
* @license MIT
|
|
12532
12598
|
*/
|
|
@@ -12884,7 +12950,7 @@ function getOrCreateProps(target, instanceName) {
|
|
|
12884
12950
|
|
|
12885
12951
|
/**
|
|
12886
12952
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12887
|
-
* @version v28.
|
|
12953
|
+
* @version v28.2.0
|
|
12888
12954
|
* @link https://www.ag-grid.com/
|
|
12889
12955
|
* @license MIT
|
|
12890
12956
|
*/
|
|
@@ -12956,7 +13022,7 @@ var ReadOnlyFloatingFilter = /** @class */ (function (_super) {
|
|
|
12956
13022
|
|
|
12957
13023
|
/**
|
|
12958
13024
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12959
|
-
* @version v28.
|
|
13025
|
+
* @version v28.2.0
|
|
12960
13026
|
* @link https://www.ag-grid.com/
|
|
12961
13027
|
* @license MIT
|
|
12962
13028
|
*/
|
|
@@ -13047,12 +13113,12 @@ var DateCompWrapper = /** @class */ (function () {
|
|
|
13047
13113
|
|
|
13048
13114
|
/**
|
|
13049
13115
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13050
|
-
* @version v28.
|
|
13116
|
+
* @version v28.2.0
|
|
13051
13117
|
* @link https://www.ag-grid.com/
|
|
13052
13118
|
* @license MIT
|
|
13053
13119
|
*/
|
|
13054
|
-
var __assign$
|
|
13055
|
-
__assign$
|
|
13120
|
+
var __assign$d = function () {
|
|
13121
|
+
__assign$d = Object.assign || function(t) {
|
|
13056
13122
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
13057
13123
|
s = arguments[i];
|
|
13058
13124
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -13060,7 +13126,7 @@ var __assign$c = function () {
|
|
|
13060
13126
|
}
|
|
13061
13127
|
return t;
|
|
13062
13128
|
};
|
|
13063
|
-
return __assign$
|
|
13129
|
+
return __assign$d.apply(this, arguments);
|
|
13064
13130
|
};
|
|
13065
13131
|
/* Common logic for options, used by both filters and floating filters. */
|
|
13066
13132
|
var OptionsFactory = /** @class */ (function () {
|
|
@@ -13106,7 +13172,7 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13106
13172
|
return;
|
|
13107
13173
|
}
|
|
13108
13174
|
var test = filterOption.test;
|
|
13109
|
-
var mutatedFilterOptions = __assign$
|
|
13175
|
+
var mutatedFilterOptions = __assign$d({}, filterOption);
|
|
13110
13176
|
if (test != null && filterOption.predicate == null) {
|
|
13111
13177
|
mutatedFilterOptions.predicate = function (v, cv) { return test(v[0], cv); };
|
|
13112
13178
|
delete mutatedFilterOptions.test;
|
|
@@ -13149,7 +13215,7 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13149
13215
|
|
|
13150
13216
|
/**
|
|
13151
13217
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13152
|
-
* @version v28.
|
|
13218
|
+
* @version v28.2.0
|
|
13153
13219
|
* @link https://www.ag-grid.com/
|
|
13154
13220
|
* @license MIT
|
|
13155
13221
|
*/
|
|
@@ -13186,7 +13252,7 @@ var DEFAULT_FILTER_LOCALE_TEXT = {
|
|
|
13186
13252
|
|
|
13187
13253
|
/**
|
|
13188
13254
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13189
|
-
* @version v28.
|
|
13255
|
+
* @version v28.2.0
|
|
13190
13256
|
* @link https://www.ag-grid.com/
|
|
13191
13257
|
* @license MIT
|
|
13192
13258
|
*/
|
|
@@ -13203,8 +13269,8 @@ var __extends$2M = (function () {
|
|
|
13203
13269
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13204
13270
|
};
|
|
13205
13271
|
})();
|
|
13206
|
-
var __assign$
|
|
13207
|
-
__assign$
|
|
13272
|
+
var __assign$c = function () {
|
|
13273
|
+
__assign$c = Object.assign || function(t) {
|
|
13208
13274
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
13209
13275
|
s = arguments[i];
|
|
13210
13276
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -13212,7 +13278,7 @@ var __assign$b = function () {
|
|
|
13212
13278
|
}
|
|
13213
13279
|
return t;
|
|
13214
13280
|
};
|
|
13215
|
-
return __assign$
|
|
13281
|
+
return __assign$c.apply(this, arguments);
|
|
13216
13282
|
};
|
|
13217
13283
|
var __decorate$2n = function (decorators, target, key, desc) {
|
|
13218
13284
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -13227,7 +13293,7 @@ var ManagedFocusFeature = /** @class */ (function (_super) {
|
|
|
13227
13293
|
var _this = _super.call(this) || this;
|
|
13228
13294
|
_this.eFocusableElement = eFocusableElement;
|
|
13229
13295
|
_this.callbacks = callbacks;
|
|
13230
|
-
_this.callbacks = __assign$
|
|
13296
|
+
_this.callbacks = __assign$c({ shouldStopEventPropagation: function () { return false; }, onTabKeyDown: function (e) {
|
|
13231
13297
|
if (e.defaultPrevented) {
|
|
13232
13298
|
return;
|
|
13233
13299
|
}
|
|
@@ -13280,7 +13346,7 @@ var ManagedFocusFeature = /** @class */ (function (_super) {
|
|
|
13280
13346
|
|
|
13281
13347
|
/**
|
|
13282
13348
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13283
|
-
* @version v28.
|
|
13349
|
+
* @version v28.2.0
|
|
13284
13350
|
* @link https://www.ag-grid.com/
|
|
13285
13351
|
* @license MIT
|
|
13286
13352
|
*/
|
|
@@ -13570,7 +13636,7 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13570
13636
|
|
|
13571
13637
|
/**
|
|
13572
13638
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13573
|
-
* @version v28.
|
|
13639
|
+
* @version v28.2.0
|
|
13574
13640
|
* @link https://www.ag-grid.com/
|
|
13575
13641
|
* @license MIT
|
|
13576
13642
|
*/
|
|
@@ -13696,7 +13762,7 @@ var AgAbstractLabel = /** @class */ (function (_super) {
|
|
|
13696
13762
|
|
|
13697
13763
|
/**
|
|
13698
13764
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13699
|
-
* @version v28.
|
|
13765
|
+
* @version v28.2.0
|
|
13700
13766
|
* @link https://www.ag-grid.com/
|
|
13701
13767
|
* @license MIT
|
|
13702
13768
|
*/
|
|
@@ -13761,7 +13827,7 @@ var AgAbstractField = /** @class */ (function (_super) {
|
|
|
13761
13827
|
|
|
13762
13828
|
/**
|
|
13763
13829
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13764
|
-
* @version v28.
|
|
13830
|
+
* @version v28.2.0
|
|
13765
13831
|
* @link https://www.ag-grid.com/
|
|
13766
13832
|
* @license MIT
|
|
13767
13833
|
*/
|
|
@@ -13881,7 +13947,7 @@ var AgPickerField = /** @class */ (function (_super) {
|
|
|
13881
13947
|
|
|
13882
13948
|
/**
|
|
13883
13949
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13884
|
-
* @version v28.
|
|
13950
|
+
* @version v28.2.0
|
|
13885
13951
|
* @link https://www.ag-grid.com/
|
|
13886
13952
|
* @license MIT
|
|
13887
13953
|
*/
|
|
@@ -14059,7 +14125,7 @@ var AgList = /** @class */ (function (_super) {
|
|
|
14059
14125
|
|
|
14060
14126
|
/**
|
|
14061
14127
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
14062
|
-
* @version v28.
|
|
14128
|
+
* @version v28.2.0
|
|
14063
14129
|
* @link https://www.ag-grid.com/
|
|
14064
14130
|
* @license MIT
|
|
14065
14131
|
*/
|
|
@@ -14191,7 +14257,7 @@ var AgSelect = /** @class */ (function (_super) {
|
|
|
14191
14257
|
|
|
14192
14258
|
/**
|
|
14193
14259
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
14194
|
-
* @version v28.
|
|
14260
|
+
* @version v28.2.0
|
|
14195
14261
|
* @link https://www.ag-grid.com/
|
|
14196
14262
|
* @license MIT
|
|
14197
14263
|
*/
|
|
@@ -14304,7 +14370,7 @@ var AgAbstractInputField = /** @class */ (function (_super) {
|
|
|
14304
14370
|
|
|
14305
14371
|
/**
|
|
14306
14372
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
14307
|
-
* @version v28.
|
|
14373
|
+
* @version v28.2.0
|
|
14308
14374
|
* @link https://www.ag-grid.com/
|
|
14309
14375
|
* @license MIT
|
|
14310
14376
|
*/
|
|
@@ -14799,7 +14865,7 @@ var SimpleFilter = /** @class */ (function (_super) {
|
|
|
14799
14865
|
|
|
14800
14866
|
/**
|
|
14801
14867
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
14802
|
-
* @version v28.
|
|
14868
|
+
* @version v28.2.0
|
|
14803
14869
|
* @link https://www.ag-grid.com/
|
|
14804
14870
|
* @license MIT
|
|
14805
14871
|
*/
|
|
@@ -14893,7 +14959,7 @@ var ScalarFilter = /** @class */ (function (_super) {
|
|
|
14893
14959
|
|
|
14894
14960
|
/**
|
|
14895
14961
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
14896
|
-
* @version v28.
|
|
14962
|
+
* @version v28.2.0
|
|
14897
14963
|
* @link https://www.ag-grid.com/
|
|
14898
14964
|
* @license MIT
|
|
14899
14965
|
*/
|
|
@@ -14910,8 +14976,8 @@ var __extends$2C = (function () {
|
|
|
14910
14976
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14911
14977
|
};
|
|
14912
14978
|
})();
|
|
14913
|
-
var __assign$
|
|
14914
|
-
__assign$
|
|
14979
|
+
var __assign$b = function () {
|
|
14980
|
+
__assign$b = Object.assign || function(t) {
|
|
14915
14981
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
14916
14982
|
s = arguments[i];
|
|
14917
14983
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -14919,7 +14985,7 @@ var __assign$a = function () {
|
|
|
14919
14985
|
}
|
|
14920
14986
|
return t;
|
|
14921
14987
|
};
|
|
14922
|
-
return __assign$
|
|
14988
|
+
return __assign$b.apply(this, arguments);
|
|
14923
14989
|
};
|
|
14924
14990
|
var __decorate$2f = function (decorators, target, key, desc) {
|
|
14925
14991
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -15058,7 +15124,7 @@ var DateFilter = /** @class */ (function (_super) {
|
|
|
15058
15124
|
if (values.length > 1) {
|
|
15059
15125
|
model.dateTo = serialiseDate(values[1]);
|
|
15060
15126
|
}
|
|
15061
|
-
return __assign$
|
|
15127
|
+
return __assign$b({ dateFrom: null, dateTo: null, filterType: this.getFilterType(), type: type }, model);
|
|
15062
15128
|
};
|
|
15063
15129
|
DateFilter.prototype.resetPlaceholder = function () {
|
|
15064
15130
|
var globalTranslate = this.gridOptionsWrapper.getLocaleTextFunc();
|
|
@@ -15113,7 +15179,7 @@ var DateFilter = /** @class */ (function (_super) {
|
|
|
15113
15179
|
|
|
15114
15180
|
/**
|
|
15115
15181
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15116
|
-
* @version v28.
|
|
15182
|
+
* @version v28.2.0
|
|
15117
15183
|
* @link https://www.ag-grid.com/
|
|
15118
15184
|
* @license MIT
|
|
15119
15185
|
*/
|
|
@@ -15154,12 +15220,12 @@ var SimpleFloatingFilter = /** @class */ (function (_super) {
|
|
|
15154
15220
|
if (isCombined) {
|
|
15155
15221
|
var combinedModel = model;
|
|
15156
15222
|
var _a = combinedModel || {}, condition1 = _a.condition1, condition2 = _a.condition2;
|
|
15157
|
-
var customOption1 = this.
|
|
15158
|
-
var customOption2 = this.
|
|
15223
|
+
var customOption1 = this.getTextFromModel(condition1);
|
|
15224
|
+
var customOption2 = this.getTextFromModel(condition2);
|
|
15159
15225
|
return [
|
|
15160
|
-
|
|
15226
|
+
customOption1,
|
|
15161
15227
|
combinedModel.operator,
|
|
15162
|
-
|
|
15228
|
+
customOption2,
|
|
15163
15229
|
].join(' ');
|
|
15164
15230
|
}
|
|
15165
15231
|
else {
|
|
@@ -15248,7 +15314,7 @@ var SimpleFloatingFilter = /** @class */ (function (_super) {
|
|
|
15248
15314
|
|
|
15249
15315
|
/**
|
|
15250
15316
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15251
|
-
* @version v28.
|
|
15317
|
+
* @version v28.2.0
|
|
15252
15318
|
* @link https://www.ag-grid.com/
|
|
15253
15319
|
* @license MIT
|
|
15254
15320
|
*/
|
|
@@ -15372,7 +15438,7 @@ var DateFloatingFilter = /** @class */ (function (_super) {
|
|
|
15372
15438
|
|
|
15373
15439
|
/**
|
|
15374
15440
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15375
|
-
* @version v28.
|
|
15441
|
+
* @version v28.2.0
|
|
15376
15442
|
* @link https://www.ag-grid.com/
|
|
15377
15443
|
* @license MIT
|
|
15378
15444
|
*/
|
|
@@ -15467,7 +15533,7 @@ var DefaultDateComponent = /** @class */ (function (_super) {
|
|
|
15467
15533
|
|
|
15468
15534
|
/**
|
|
15469
15535
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15470
|
-
* @version v28.
|
|
15536
|
+
* @version v28.2.0
|
|
15471
15537
|
* @link https://www.ag-grid.com/
|
|
15472
15538
|
* @license MIT
|
|
15473
15539
|
*/
|
|
@@ -15628,7 +15694,7 @@ var NumberFilter = /** @class */ (function (_super) {
|
|
|
15628
15694
|
|
|
15629
15695
|
/**
|
|
15630
15696
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15631
|
-
* @version v28.
|
|
15697
|
+
* @version v28.2.0
|
|
15632
15698
|
* @link https://www.ag-grid.com/
|
|
15633
15699
|
* @license MIT
|
|
15634
15700
|
*/
|
|
@@ -15645,8 +15711,8 @@ var __extends$2x = (function () {
|
|
|
15645
15711
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15646
15712
|
};
|
|
15647
15713
|
})();
|
|
15648
|
-
var __assign$
|
|
15649
|
-
__assign$
|
|
15714
|
+
var __assign$a = function () {
|
|
15715
|
+
__assign$a = Object.assign || function(t) {
|
|
15650
15716
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
15651
15717
|
s = arguments[i];
|
|
15652
15718
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -15654,7 +15720,7 @@ var __assign$9 = function () {
|
|
|
15654
15720
|
}
|
|
15655
15721
|
return t;
|
|
15656
15722
|
};
|
|
15657
|
-
return __assign$
|
|
15723
|
+
return __assign$a.apply(this, arguments);
|
|
15658
15724
|
};
|
|
15659
15725
|
var __decorate$2b = function (decorators, target, key, desc) {
|
|
15660
15726
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -15778,7 +15844,7 @@ var TextFilter = /** @class */ (function (_super) {
|
|
|
15778
15844
|
value: cellValueFormatted,
|
|
15779
15845
|
textFormatter: textFormatter,
|
|
15780
15846
|
};
|
|
15781
|
-
return formattedValues.some(function (v) { return _this.matcher(__assign$
|
|
15847
|
+
return formattedValues.some(function (v) { return _this.matcher(__assign$a(__assign$a({}, matcherParams), { filterText: v })); });
|
|
15782
15848
|
};
|
|
15783
15849
|
TextFilter.DEFAULT_FILTER_OPTIONS = [
|
|
15784
15850
|
SimpleFilter.CONTAINS,
|
|
@@ -15832,7 +15898,7 @@ var TextFilter = /** @class */ (function (_super) {
|
|
|
15832
15898
|
|
|
15833
15899
|
/**
|
|
15834
15900
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15835
|
-
* @version v28.
|
|
15901
|
+
* @version v28.2.0
|
|
15836
15902
|
* @link https://www.ag-grid.com/
|
|
15837
15903
|
* @license MIT
|
|
15838
15904
|
*/
|
|
@@ -15951,7 +16017,7 @@ var TextInputFloatingFilter = /** @class */ (function (_super) {
|
|
|
15951
16017
|
|
|
15952
16018
|
/**
|
|
15953
16019
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15954
|
-
* @version v28.
|
|
16020
|
+
* @version v28.2.0
|
|
15955
16021
|
* @link https://www.ag-grid.com/
|
|
15956
16022
|
* @license MIT
|
|
15957
16023
|
*/
|
|
@@ -15981,7 +16047,7 @@ var NumberFloatingFilter = /** @class */ (function (_super) {
|
|
|
15981
16047
|
|
|
15982
16048
|
/**
|
|
15983
16049
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15984
|
-
* @version v28.
|
|
16050
|
+
* @version v28.2.0
|
|
15985
16051
|
* @link https://www.ag-grid.com/
|
|
15986
16052
|
* @license MIT
|
|
15987
16053
|
*/
|
|
@@ -16011,7 +16077,7 @@ var TextFloatingFilter = /** @class */ (function (_super) {
|
|
|
16011
16077
|
|
|
16012
16078
|
/**
|
|
16013
16079
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16014
|
-
* @version v28.
|
|
16080
|
+
* @version v28.2.0
|
|
16015
16081
|
* @link https://www.ag-grid.com/
|
|
16016
16082
|
* @license MIT
|
|
16017
16083
|
*/
|
|
@@ -16141,7 +16207,7 @@ var TouchListener = /** @class */ (function () {
|
|
|
16141
16207
|
|
|
16142
16208
|
/**
|
|
16143
16209
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16144
|
-
* @version v28.
|
|
16210
|
+
* @version v28.2.0
|
|
16145
16211
|
* @link https://www.ag-grid.com/
|
|
16146
16212
|
* @license MIT
|
|
16147
16213
|
*/
|
|
@@ -16297,7 +16363,7 @@ var SortIndicatorComp = /** @class */ (function (_super) {
|
|
|
16297
16363
|
|
|
16298
16364
|
/**
|
|
16299
16365
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16300
|
-
* @version v28.
|
|
16366
|
+
* @version v28.2.0
|
|
16301
16367
|
* @link https://www.ag-grid.com/
|
|
16302
16368
|
* @license MIT
|
|
16303
16369
|
*/
|
|
@@ -16568,7 +16634,7 @@ var HeaderComp = /** @class */ (function (_super) {
|
|
|
16568
16634
|
|
|
16569
16635
|
/**
|
|
16570
16636
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16571
|
-
* @version v28.
|
|
16637
|
+
* @version v28.2.0
|
|
16572
16638
|
* @link https://www.ag-grid.com/
|
|
16573
16639
|
* @license MIT
|
|
16574
16640
|
*/
|
|
@@ -16698,7 +16764,7 @@ var HeaderGroupComp = /** @class */ (function (_super) {
|
|
|
16698
16764
|
|
|
16699
16765
|
/**
|
|
16700
16766
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16701
|
-
* @version v28.
|
|
16767
|
+
* @version v28.2.0
|
|
16702
16768
|
* @link https://www.ag-grid.com/
|
|
16703
16769
|
* @license MIT
|
|
16704
16770
|
*/
|
|
@@ -16740,7 +16806,7 @@ var PopupComponent = /** @class */ (function (_super) {
|
|
|
16740
16806
|
|
|
16741
16807
|
/**
|
|
16742
16808
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16743
|
-
* @version v28.
|
|
16809
|
+
* @version v28.2.0
|
|
16744
16810
|
* @link https://www.ag-grid.com/
|
|
16745
16811
|
* @license MIT
|
|
16746
16812
|
*/
|
|
@@ -16809,7 +16875,7 @@ var LargeTextCellEditor = /** @class */ (function (_super) {
|
|
|
16809
16875
|
|
|
16810
16876
|
/**
|
|
16811
16877
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16812
|
-
* @version v28.
|
|
16878
|
+
* @version v28.2.0
|
|
16813
16879
|
* @link https://www.ag-grid.com/
|
|
16814
16880
|
* @license MIT
|
|
16815
16881
|
*/
|
|
@@ -16896,7 +16962,7 @@ var SelectCellEditor = /** @class */ (function (_super) {
|
|
|
16896
16962
|
|
|
16897
16963
|
/**
|
|
16898
16964
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16899
|
-
* @version v28.
|
|
16965
|
+
* @version v28.2.0
|
|
16900
16966
|
* @link https://www.ag-grid.com/
|
|
16901
16967
|
* @license MIT
|
|
16902
16968
|
*/
|
|
@@ -16928,7 +16994,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
|
|
|
16928
16994
|
|
|
16929
16995
|
/**
|
|
16930
16996
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16931
|
-
* @version v28.
|
|
16997
|
+
* @version v28.2.0
|
|
16932
16998
|
* @link https://www.ag-grid.com/
|
|
16933
16999
|
* @license MIT
|
|
16934
17000
|
*/
|
|
@@ -17047,7 +17113,7 @@ var TextCellEditor = /** @class */ (function (_super) {
|
|
|
17047
17113
|
|
|
17048
17114
|
/**
|
|
17049
17115
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
17050
|
-
* @version v28.
|
|
17116
|
+
* @version v28.2.0
|
|
17051
17117
|
* @link https://www.ag-grid.com/
|
|
17052
17118
|
* @license MIT
|
|
17053
17119
|
*/
|
|
@@ -17079,7 +17145,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
|
|
|
17079
17145
|
|
|
17080
17146
|
/**
|
|
17081
17147
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
17082
|
-
* @version v28.
|
|
17148
|
+
* @version v28.2.0
|
|
17083
17149
|
* @link https://www.ag-grid.com/
|
|
17084
17150
|
* @license MIT
|
|
17085
17151
|
*/
|
|
@@ -17193,7 +17259,7 @@ var AnimateShowChangeCellRenderer = /** @class */ (function (_super) {
|
|
|
17193
17259
|
|
|
17194
17260
|
/**
|
|
17195
17261
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
17196
|
-
* @version v28.
|
|
17262
|
+
* @version v28.2.0
|
|
17197
17263
|
* @link https://www.ag-grid.com/
|
|
17198
17264
|
* @license MIT
|
|
17199
17265
|
*/
|
|
@@ -17293,7 +17359,7 @@ var AnimateSlideCellRenderer = /** @class */ (function (_super) {
|
|
|
17293
17359
|
|
|
17294
17360
|
/**
|
|
17295
17361
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
17296
|
-
* @version v28.
|
|
17362
|
+
* @version v28.2.0
|
|
17297
17363
|
* @link https://www.ag-grid.com/
|
|
17298
17364
|
* @license MIT
|
|
17299
17365
|
*/
|
|
@@ -17331,7 +17397,6 @@ var RowNode = /** @class */ (function () {
|
|
|
17331
17397
|
this.alreadyRendered = false;
|
|
17332
17398
|
this.highlighted = null;
|
|
17333
17399
|
this.selected = false;
|
|
17334
|
-
this.onRowHeightChangedDebounced = debounce(this.onRowHeightChanged.bind(this), 100);
|
|
17335
17400
|
this.beans = beans;
|
|
17336
17401
|
}
|
|
17337
17402
|
/** Replaces the data on the `rowNode`. When complete, the grid will refresh the the entire rendered row if it is showing. */
|
|
@@ -17652,18 +17717,9 @@ var RowNode = /** @class */ (function () {
|
|
|
17652
17717
|
return;
|
|
17653
17718
|
}
|
|
17654
17719
|
this.setRowHeight(newRowHeight);
|
|
17655
|
-
this.onRowHeightChangedDebounced();
|
|
17656
|
-
};
|
|
17657
|
-
/** This method is debounced. It is used for row auto-height. If we don't debounce,
|
|
17658
|
-
* then the Row Models will end up recalculating each row position
|
|
17659
|
-
* for each row height change and result in the Row Renderer laying out rows.
|
|
17660
|
-
* This is particularly bad if using print layout, and showing eg 1,000 rows,
|
|
17661
|
-
* each row will change it's height, causing Row Model to update 1,000 times.
|
|
17662
|
-
*/
|
|
17663
|
-
RowNode.prototype.onRowHeightChanged = function () {
|
|
17664
17720
|
var rowModel = this.beans.rowModel;
|
|
17665
|
-
if (rowModel.
|
|
17666
|
-
rowModel.
|
|
17721
|
+
if (rowModel.onRowHeightChangedDebounced) {
|
|
17722
|
+
rowModel.onRowHeightChangedDebounced();
|
|
17667
17723
|
}
|
|
17668
17724
|
};
|
|
17669
17725
|
RowNode.prototype.setRowIndex = function (rowIndex) {
|
|
@@ -18141,7 +18197,7 @@ var RowNode = /** @class */ (function () {
|
|
|
18141
18197
|
|
|
18142
18198
|
/**
|
|
18143
18199
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
18144
|
-
* @version v28.
|
|
18200
|
+
* @version v28.2.0
|
|
18145
18201
|
* @link https://www.ag-grid.com/
|
|
18146
18202
|
* @license MIT
|
|
18147
18203
|
*/
|
|
@@ -18158,8 +18214,8 @@ var __extends$2i = (function () {
|
|
|
18158
18214
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18159
18215
|
};
|
|
18160
18216
|
})();
|
|
18161
|
-
var __assign$
|
|
18162
|
-
__assign$
|
|
18217
|
+
var __assign$9 = function () {
|
|
18218
|
+
__assign$9 = Object.assign || function(t) {
|
|
18163
18219
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18164
18220
|
s = arguments[i];
|
|
18165
18221
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -18167,7 +18223,7 @@ var __assign$8 = function () {
|
|
|
18167
18223
|
}
|
|
18168
18224
|
return t;
|
|
18169
18225
|
};
|
|
18170
|
-
return __assign$
|
|
18226
|
+
return __assign$9.apply(this, arguments);
|
|
18171
18227
|
};
|
|
18172
18228
|
var __decorate$21 = function (decorators, target, key, desc) {
|
|
18173
18229
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -18222,12 +18278,14 @@ var CheckboxSelectionComponent = /** @class */ (function (_super) {
|
|
|
18222
18278
|
this.column = params.column;
|
|
18223
18279
|
this.overrides = params.overrides;
|
|
18224
18280
|
this.onSelectionChanged();
|
|
18225
|
-
// we don't want
|
|
18226
|
-
|
|
18227
|
-
|
|
18228
|
-
|
|
18229
|
-
this.addGuiEventListener('dblclick', function (event) { return stopPropagationForAgGrid(event); });
|
|
18281
|
+
// we don't want double click on this icon to open a group
|
|
18282
|
+
this.addManagedListener(this.eCheckbox.getInputElement(), 'dblclick', function (event) {
|
|
18283
|
+
stopPropagationForAgGrid(event);
|
|
18284
|
+
});
|
|
18230
18285
|
this.addManagedListener(this.eCheckbox.getInputElement(), 'click', function (event) {
|
|
18286
|
+
// we don't want the row clicked event to fire when selecting the checkbox, otherwise the row
|
|
18287
|
+
// would possibly get selected twice
|
|
18288
|
+
stopPropagationForAgGrid(event);
|
|
18231
18289
|
var isSelected = _this.eCheckbox.getValue();
|
|
18232
18290
|
var previousValue = _this.eCheckbox.getPreviousValue();
|
|
18233
18291
|
if (previousValue === undefined || isSelected === undefined) {
|
|
@@ -18270,7 +18328,7 @@ var CheckboxSelectionComponent = /** @class */ (function (_super) {
|
|
|
18270
18328
|
if (typeof isVisible === 'function') {
|
|
18271
18329
|
var extraParams = (_a = this.overrides) === null || _a === void 0 ? void 0 : _a.callbackParams;
|
|
18272
18330
|
var params = (_b = this.column) === null || _b === void 0 ? void 0 : _b.createColumnFunctionCallbackParams(this.rowNode);
|
|
18273
|
-
selectable = params ? isVisible(__assign$
|
|
18331
|
+
selectable = params ? isVisible(__assign$9(__assign$9({}, extraParams), params)) : false;
|
|
18274
18332
|
}
|
|
18275
18333
|
else {
|
|
18276
18334
|
selectable = (isVisible !== null && isVisible !== void 0 ? isVisible : false);
|
|
@@ -18308,7 +18366,7 @@ var CheckboxSelectionComponent = /** @class */ (function (_super) {
|
|
|
18308
18366
|
|
|
18309
18367
|
/**
|
|
18310
18368
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
18311
|
-
* @version v28.
|
|
18369
|
+
* @version v28.2.0
|
|
18312
18370
|
* @link https://www.ag-grid.com/
|
|
18313
18371
|
* @license MIT
|
|
18314
18372
|
*/
|
|
@@ -18784,7 +18842,7 @@ var DragAndDropService = /** @class */ (function (_super) {
|
|
|
18784
18842
|
|
|
18785
18843
|
/**
|
|
18786
18844
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
18787
|
-
* @version v28.
|
|
18845
|
+
* @version v28.2.0
|
|
18788
18846
|
* @link https://www.ag-grid.com/
|
|
18789
18847
|
* @license MIT
|
|
18790
18848
|
*/
|
|
@@ -18877,7 +18935,7 @@ var RowDragComp = /** @class */ (function (_super) {
|
|
|
18877
18935
|
if (this.dragSource) {
|
|
18878
18936
|
this.removeDragSource();
|
|
18879
18937
|
}
|
|
18880
|
-
var rowDragText = this.
|
|
18938
|
+
var rowDragText = this.gridOptionsWrapper.getRowDragText(this.column);
|
|
18881
18939
|
var translate = this.gridOptionsWrapper.getLocaleTextFunc();
|
|
18882
18940
|
this.dragSource = {
|
|
18883
18941
|
type: DragSourceType.RowDrag,
|
|
@@ -19020,7 +19078,7 @@ var ManagedVisibilityStrategy = /** @class */ (function (_super) {
|
|
|
19020
19078
|
|
|
19021
19079
|
/**
|
|
19022
19080
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19023
|
-
* @version v28.
|
|
19081
|
+
* @version v28.2.0
|
|
19024
19082
|
* @link https://www.ag-grid.com/
|
|
19025
19083
|
* @license MIT
|
|
19026
19084
|
*/
|
|
@@ -19037,8 +19095,8 @@ var __extends$2f = (function () {
|
|
|
19037
19095
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
19038
19096
|
};
|
|
19039
19097
|
})();
|
|
19040
|
-
var __assign$
|
|
19041
|
-
__assign$
|
|
19098
|
+
var __assign$8 = function () {
|
|
19099
|
+
__assign$8 = Object.assign || function(t) {
|
|
19042
19100
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
19043
19101
|
s = arguments[i];
|
|
19044
19102
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -19046,7 +19104,7 @@ var __assign$7 = function () {
|
|
|
19046
19104
|
}
|
|
19047
19105
|
return t;
|
|
19048
19106
|
};
|
|
19049
|
-
return __assign$
|
|
19107
|
+
return __assign$8.apply(this, arguments);
|
|
19050
19108
|
};
|
|
19051
19109
|
var __decorate$1_ = function (decorators, target, key, desc) {
|
|
19052
19110
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -19251,7 +19309,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19251
19309
|
// we don't update the original params, as they could of come through React,
|
|
19252
19310
|
// as react has RowGroupCellRenderer, which means the params could be props which
|
|
19253
19311
|
// would be read only
|
|
19254
|
-
var paramsAdjusted = __assign$
|
|
19312
|
+
var paramsAdjusted = __assign$8(__assign$8({}, params), { valueFormatted: valueFormatted });
|
|
19255
19313
|
return paramsAdjusted;
|
|
19256
19314
|
};
|
|
19257
19315
|
GroupCellRendererCtrl.prototype.addFooterValue = function () {
|
|
@@ -19584,7 +19642,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19584
19642
|
|
|
19585
19643
|
/**
|
|
19586
19644
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19587
|
-
* @version v28.
|
|
19645
|
+
* @version v28.2.0
|
|
19588
19646
|
* @link https://www.ag-grid.com/
|
|
19589
19647
|
* @license MIT
|
|
19590
19648
|
*/
|
|
@@ -19685,7 +19743,7 @@ var GroupCellRenderer = /** @class */ (function (_super) {
|
|
|
19685
19743
|
|
|
19686
19744
|
/**
|
|
19687
19745
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19688
|
-
* @version v28.
|
|
19746
|
+
* @version v28.2.0
|
|
19689
19747
|
* @link https://www.ag-grid.com/
|
|
19690
19748
|
* @license MIT
|
|
19691
19749
|
*/
|
|
@@ -19747,7 +19805,7 @@ var LoadingCellRenderer = /** @class */ (function (_super) {
|
|
|
19747
19805
|
|
|
19748
19806
|
/**
|
|
19749
19807
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19750
|
-
* @version v28.
|
|
19808
|
+
* @version v28.2.0
|
|
19751
19809
|
* @link https://www.ag-grid.com/
|
|
19752
19810
|
* @license MIT
|
|
19753
19811
|
*/
|
|
@@ -19787,7 +19845,7 @@ var LoadingOverlayComponent$1 = /** @class */ (function (_super) {
|
|
|
19787
19845
|
|
|
19788
19846
|
/**
|
|
19789
19847
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19790
|
-
* @version v28.
|
|
19848
|
+
* @version v28.2.0
|
|
19791
19849
|
* @link https://www.ag-grid.com/
|
|
19792
19850
|
* @license MIT
|
|
19793
19851
|
*/
|
|
@@ -19827,7 +19885,7 @@ var NoRowsOverlayComponent$1 = /** @class */ (function (_super) {
|
|
|
19827
19885
|
|
|
19828
19886
|
/**
|
|
19829
19887
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19830
|
-
* @version v28.
|
|
19888
|
+
* @version v28.2.0
|
|
19831
19889
|
* @link https://www.ag-grid.com/
|
|
19832
19890
|
* @license MIT
|
|
19833
19891
|
*/
|
|
@@ -19859,7 +19917,7 @@ var TooltipComponent$1 = /** @class */ (function (_super) {
|
|
|
19859
19917
|
|
|
19860
19918
|
/**
|
|
19861
19919
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19862
|
-
* @version v28.
|
|
19920
|
+
* @version v28.2.0
|
|
19863
19921
|
* @link https://www.ag-grid.com/
|
|
19864
19922
|
* @license MIT
|
|
19865
19923
|
*/
|
|
@@ -20069,7 +20127,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20069
20127
|
|
|
20070
20128
|
/**
|
|
20071
20129
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20072
|
-
* @version v28.
|
|
20130
|
+
* @version v28.2.0
|
|
20073
20131
|
* @link https://www.ag-grid.com/
|
|
20074
20132
|
* @license MIT
|
|
20075
20133
|
*/
|
|
@@ -20144,7 +20202,7 @@ var FullWidthDetail = {
|
|
|
20144
20202
|
|
|
20145
20203
|
/**
|
|
20146
20204
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20147
|
-
* @version v28.
|
|
20205
|
+
* @version v28.2.0
|
|
20148
20206
|
* @link https://www.ag-grid.com/
|
|
20149
20207
|
* @license MIT
|
|
20150
20208
|
*/
|
|
@@ -20171,7 +20229,7 @@ var FloatingFilterMapper = /** @class */ (function () {
|
|
|
20171
20229
|
|
|
20172
20230
|
/**
|
|
20173
20231
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20174
|
-
* @version v28.
|
|
20232
|
+
* @version v28.2.0
|
|
20175
20233
|
* @link https://www.ag-grid.com/
|
|
20176
20234
|
* @license MIT
|
|
20177
20235
|
*/
|
|
@@ -20462,7 +20520,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20462
20520
|
|
|
20463
20521
|
/**
|
|
20464
20522
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20465
|
-
* @version v28.
|
|
20523
|
+
* @version v28.2.0
|
|
20466
20524
|
* @link https://www.ag-grid.com/
|
|
20467
20525
|
* @license MIT
|
|
20468
20526
|
*/
|
|
@@ -20475,7 +20533,7 @@ var ExcelFactoryMode;
|
|
|
20475
20533
|
|
|
20476
20534
|
/**
|
|
20477
20535
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20478
|
-
* @version v28.
|
|
20536
|
+
* @version v28.2.0
|
|
20479
20537
|
* @link https://www.ag-grid.com/
|
|
20480
20538
|
* @license MIT
|
|
20481
20539
|
*/
|
|
@@ -20545,6 +20603,9 @@ var DragService = /** @class */ (function (_super) {
|
|
|
20545
20603
|
var suppressTouch = this.gridOptionsWrapper.isSuppressTouch();
|
|
20546
20604
|
if (includeTouch && !suppressTouch) {
|
|
20547
20605
|
touchListener = function (touchEvent) {
|
|
20606
|
+
if (isFocusableFormField(touchEvent.target)) {
|
|
20607
|
+
return;
|
|
20608
|
+
}
|
|
20548
20609
|
if (touchEvent.cancelable) {
|
|
20549
20610
|
touchEvent.preventDefault();
|
|
20550
20611
|
}
|
|
@@ -20774,7 +20835,7 @@ var DragService = /** @class */ (function (_super) {
|
|
|
20774
20835
|
|
|
20775
20836
|
/**
|
|
20776
20837
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20777
|
-
* @version v28.
|
|
20838
|
+
* @version v28.2.0
|
|
20778
20839
|
* @link https://www.ag-grid.com/
|
|
20779
20840
|
* @license MIT
|
|
20780
20841
|
*/
|
|
@@ -20791,8 +20852,8 @@ var __extends$26 = (function () {
|
|
|
20791
20852
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20792
20853
|
};
|
|
20793
20854
|
})();
|
|
20794
|
-
var __assign$
|
|
20795
|
-
__assign$
|
|
20855
|
+
var __assign$7 = function () {
|
|
20856
|
+
__assign$7 = Object.assign || function(t) {
|
|
20796
20857
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20797
20858
|
s = arguments[i];
|
|
20798
20859
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -20800,7 +20861,7 @@ var __assign$6 = function () {
|
|
|
20800
20861
|
}
|
|
20801
20862
|
return t;
|
|
20802
20863
|
};
|
|
20803
|
-
return __assign$
|
|
20864
|
+
return __assign$7.apply(this, arguments);
|
|
20804
20865
|
};
|
|
20805
20866
|
var __decorate$1U = function (decorators, target, key, desc) {
|
|
20806
20867
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -21231,7 +21292,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21231
21292
|
var defaultFilter = ModuleRegistry.isRegistered(ModuleNames.SetFilterModule) ? 'agSetColumnFilter' : 'agTextColumnFilter';
|
|
21232
21293
|
var colDef = column.getColDef();
|
|
21233
21294
|
var filterInstance;
|
|
21234
|
-
var params = __assign$
|
|
21295
|
+
var params = __assign$7(__assign$7({}, this.createFilterParams(column, colDef)), { filterModifiedCallback: function () {
|
|
21235
21296
|
var event = {
|
|
21236
21297
|
type: Events.EVENT_FILTER_MODIFIED,
|
|
21237
21298
|
column: column,
|
|
@@ -21385,7 +21446,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21385
21446
|
|
|
21386
21447
|
/**
|
|
21387
21448
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
21388
|
-
* @version v28.
|
|
21449
|
+
* @version v28.2.0
|
|
21389
21450
|
* @link https://www.ag-grid.com/
|
|
21390
21451
|
* @license MIT
|
|
21391
21452
|
*/
|
|
@@ -21417,7 +21478,7 @@ var AbstractHeaderCellComp = /** @class */ (function (_super) {
|
|
|
21417
21478
|
|
|
21418
21479
|
/**
|
|
21419
21480
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
21420
|
-
* @version v28.
|
|
21481
|
+
* @version v28.2.0
|
|
21421
21482
|
* @link https://www.ag-grid.com/
|
|
21422
21483
|
* @license MIT
|
|
21423
21484
|
*/
|
|
@@ -21497,7 +21558,7 @@ var HeaderFilterCellComp = /** @class */ (function (_super) {
|
|
|
21497
21558
|
|
|
21498
21559
|
/**
|
|
21499
21560
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
21500
|
-
* @version v28.
|
|
21561
|
+
* @version v28.2.0
|
|
21501
21562
|
* @link https://www.ag-grid.com/
|
|
21502
21563
|
* @license MIT
|
|
21503
21564
|
*/
|
|
@@ -21559,7 +21620,7 @@ var LayoutFeature = /** @class */ (function (_super) {
|
|
|
21559
21620
|
|
|
21560
21621
|
/**
|
|
21561
21622
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
21562
|
-
* @version v28.
|
|
21623
|
+
* @version v28.2.0
|
|
21563
21624
|
* @link https://www.ag-grid.com/
|
|
21564
21625
|
* @license MIT
|
|
21565
21626
|
*/
|
|
@@ -22049,7 +22110,7 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
|
|
|
22049
22110
|
|
|
22050
22111
|
/**
|
|
22051
22112
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
22052
|
-
* @version v28.
|
|
22113
|
+
* @version v28.2.0
|
|
22053
22114
|
* @link https://www.ag-grid.com/
|
|
22054
22115
|
* @license MIT
|
|
22055
22116
|
*/
|
|
@@ -22137,7 +22198,7 @@ var AutoScrollService = /** @class */ (function () {
|
|
|
22137
22198
|
|
|
22138
22199
|
/**
|
|
22139
22200
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
22140
|
-
* @version v28.
|
|
22201
|
+
* @version v28.2.0
|
|
22141
22202
|
* @link https://www.ag-grid.com/
|
|
22142
22203
|
* @license MIT
|
|
22143
22204
|
*/
|
|
@@ -22154,8 +22215,8 @@ var __extends$21 = (function () {
|
|
|
22154
22215
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22155
22216
|
};
|
|
22156
22217
|
})();
|
|
22157
|
-
var __assign$
|
|
22158
|
-
__assign$
|
|
22218
|
+
var __assign$6 = function () {
|
|
22219
|
+
__assign$6 = Object.assign || function(t) {
|
|
22159
22220
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
22160
22221
|
s = arguments[i];
|
|
22161
22222
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -22163,7 +22224,7 @@ var __assign$5 = function () {
|
|
|
22163
22224
|
}
|
|
22164
22225
|
return t;
|
|
22165
22226
|
};
|
|
22166
|
-
return __assign$
|
|
22227
|
+
return __assign$6.apply(this, arguments);
|
|
22167
22228
|
};
|
|
22168
22229
|
var __decorate$1Q = function (decorators, target, key, desc) {
|
|
22169
22230
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -22171,7 +22232,7 @@ var __decorate$1Q = function (decorators, target, key, desc) {
|
|
|
22171
22232
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22172
22233
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22173
22234
|
};
|
|
22174
|
-
var __read$
|
|
22235
|
+
var __read$i = function (o, n) {
|
|
22175
22236
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
22176
22237
|
if (!m) return o;
|
|
22177
22238
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -22187,8 +22248,8 @@ var __read$h = function (o, n) {
|
|
|
22187
22248
|
}
|
|
22188
22249
|
return ar;
|
|
22189
22250
|
};
|
|
22190
|
-
var __spread$
|
|
22191
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
22251
|
+
var __spread$e = function () {
|
|
22252
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$i(arguments[i]));
|
|
22192
22253
|
return ar;
|
|
22193
22254
|
};
|
|
22194
22255
|
var RowDragFeature = /** @class */ (function (_super) {
|
|
@@ -22262,7 +22323,7 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22262
22323
|
return draggingEvent.dragItem.rowNodes || [];
|
|
22263
22324
|
}
|
|
22264
22325
|
var isRowDragMultiRow = this.gridOptionsWrapper.isRowDragMultiRow();
|
|
22265
|
-
var selectedNodes = __spread$
|
|
22326
|
+
var selectedNodes = __spread$e(this.selectionService.getSelectedNodes()).sort(function (a, b) {
|
|
22266
22327
|
if (a.rowIndex == null || b.rowIndex == null) {
|
|
22267
22328
|
return 0;
|
|
22268
22329
|
}
|
|
@@ -22412,7 +22473,7 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22412
22473
|
};
|
|
22413
22474
|
}
|
|
22414
22475
|
}
|
|
22415
|
-
this.dragAndDropService.addDropTarget(__assign$
|
|
22476
|
+
this.dragAndDropService.addDropTarget(__assign$6({ isInterestedIn: function (type) { return type === DragSourceType.RowDrag; }, getIconName: function () { return DragAndDropService.ICON_MOVE; }, external: true }, processedParams));
|
|
22416
22477
|
};
|
|
22417
22478
|
RowDragFeature.prototype.getRowDropZone = function (events) {
|
|
22418
22479
|
var _this = this;
|
|
@@ -22559,7 +22620,7 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22559
22620
|
|
|
22560
22621
|
/**
|
|
22561
22622
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
22562
|
-
* @version v28.
|
|
22623
|
+
* @version v28.2.0
|
|
22563
22624
|
* @link https://www.ag-grid.com/
|
|
22564
22625
|
* @license MIT
|
|
22565
22626
|
*/
|
|
@@ -22939,7 +23000,7 @@ var GridBodyCtrl = /** @class */ (function (_super) {
|
|
|
22939
23000
|
|
|
22940
23001
|
/**
|
|
22941
23002
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
22942
|
-
* @version v28.
|
|
23003
|
+
* @version v28.2.0
|
|
22943
23004
|
* @link https://www.ag-grid.com/
|
|
22944
23005
|
* @license MIT
|
|
22945
23006
|
*/
|
|
@@ -22956,7 +23017,7 @@ var CellRangeType;
|
|
|
22956
23017
|
|
|
22957
23018
|
/**
|
|
22958
23019
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
22959
|
-
* @version v28.
|
|
23020
|
+
* @version v28.2.0
|
|
22960
23021
|
* @link https://www.ag-grid.com/
|
|
22961
23022
|
* @license MIT
|
|
22962
23023
|
*/
|
|
@@ -23135,7 +23196,7 @@ var CellRangeFeature = /** @class */ (function () {
|
|
|
23135
23196
|
|
|
23136
23197
|
/**
|
|
23137
23198
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23138
|
-
* @version v28.
|
|
23199
|
+
* @version v28.2.0
|
|
23139
23200
|
* @link https://www.ag-grid.com/
|
|
23140
23201
|
* @license MIT
|
|
23141
23202
|
*/
|
|
@@ -23285,7 +23346,7 @@ var CellPositionFeature = /** @class */ (function (_super) {
|
|
|
23285
23346
|
|
|
23286
23347
|
/**
|
|
23287
23348
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23288
|
-
* @version v28.
|
|
23349
|
+
* @version v28.2.0
|
|
23289
23350
|
* @link https://www.ag-grid.com/
|
|
23290
23351
|
* @license MIT
|
|
23291
23352
|
*/
|
|
@@ -23392,7 +23453,7 @@ var CellCustomStyleFeature = /** @class */ (function (_super) {
|
|
|
23392
23453
|
|
|
23393
23454
|
/**
|
|
23394
23455
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23395
|
-
* @version v28.
|
|
23456
|
+
* @version v28.2.0
|
|
23396
23457
|
* @link https://www.ag-grid.com/
|
|
23397
23458
|
* @license MIT
|
|
23398
23459
|
*/
|
|
@@ -23479,7 +23540,7 @@ var TooltipFeature = /** @class */ (function (_super) {
|
|
|
23479
23540
|
|
|
23480
23541
|
/**
|
|
23481
23542
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23482
|
-
* @version v28.
|
|
23543
|
+
* @version v28.2.0
|
|
23483
23544
|
* @link https://www.ag-grid.com/
|
|
23484
23545
|
* @license MIT
|
|
23485
23546
|
*/
|
|
@@ -23640,7 +23701,7 @@ var Beans = /** @class */ (function () {
|
|
|
23640
23701
|
|
|
23641
23702
|
/**
|
|
23642
23703
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23643
|
-
* @version v28.
|
|
23704
|
+
* @version v28.2.0
|
|
23644
23705
|
* @link https://www.ag-grid.com/
|
|
23645
23706
|
* @license MIT
|
|
23646
23707
|
*/
|
|
@@ -23828,7 +23889,7 @@ var CellMouseListenerFeature = /** @class */ (function (_super) {
|
|
|
23828
23889
|
|
|
23829
23890
|
/**
|
|
23830
23891
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23831
|
-
* @version v28.
|
|
23892
|
+
* @version v28.2.0
|
|
23832
23893
|
* @link https://www.ag-grid.com/
|
|
23833
23894
|
* @license MIT
|
|
23834
23895
|
*/
|
|
@@ -23911,9 +23972,24 @@ var CellKeyboardListenerFeature = /** @class */ (function (_super) {
|
|
|
23911
23972
|
this.beans.navigationService.onTabKeyDown(this.cellCtrl, event);
|
|
23912
23973
|
};
|
|
23913
23974
|
CellKeyboardListenerFeature.prototype.onBackspaceOrDeleteKeyPressed = function (key, event) {
|
|
23914
|
-
|
|
23915
|
-
|
|
23975
|
+
var _a = this, cellCtrl = _a.cellCtrl, beans = _a.beans, rowNode = _a.rowNode;
|
|
23976
|
+
var gridOptionsWrapper = beans.gridOptionsWrapper, rangeService = beans.rangeService, eventService = beans.eventService;
|
|
23977
|
+
if (cellCtrl.isEditing()) {
|
|
23978
|
+
return;
|
|
23979
|
+
}
|
|
23980
|
+
eventService.dispatchEvent({ type: Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START });
|
|
23981
|
+
if (isDeleteKey(key, gridOptionsWrapper.isEnableCellEditingOnBackspace())) {
|
|
23982
|
+
if (rangeService && gridOptionsWrapper.isEnableRangeSelection()) {
|
|
23983
|
+
rangeService.clearCellRangeCellValues();
|
|
23984
|
+
}
|
|
23985
|
+
else if (cellCtrl.isCellEditable()) {
|
|
23986
|
+
rowNode.setDataValue(cellCtrl.getColumn(), null, 'cellKeyboardListenerFeature');
|
|
23987
|
+
}
|
|
23916
23988
|
}
|
|
23989
|
+
else {
|
|
23990
|
+
cellCtrl.startRowOrCellEdit(key, undefined, event);
|
|
23991
|
+
}
|
|
23992
|
+
eventService.dispatchEvent({ type: Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END });
|
|
23917
23993
|
};
|
|
23918
23994
|
CellKeyboardListenerFeature.prototype.onEnterKeyDown = function (e) {
|
|
23919
23995
|
if (this.cellCtrl.isEditing() || this.rowCtrl.isEditing()) {
|
|
@@ -24000,7 +24076,7 @@ var CellKeyboardListenerFeature = /** @class */ (function (_super) {
|
|
|
24000
24076
|
|
|
24001
24077
|
/**
|
|
24002
24078
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
24003
|
-
* @version v28.
|
|
24079
|
+
* @version v28.2.0
|
|
24004
24080
|
* @link https://www.ag-grid.com/
|
|
24005
24081
|
* @license MIT
|
|
24006
24082
|
*/
|
|
@@ -24086,7 +24162,7 @@ var DndSourceComp = /** @class */ (function (_super) {
|
|
|
24086
24162
|
|
|
24087
24163
|
/**
|
|
24088
24164
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
24089
|
-
* @version v28.
|
|
24165
|
+
* @version v28.2.0
|
|
24090
24166
|
* @link https://www.ag-grid.com/
|
|
24091
24167
|
* @license MIT
|
|
24092
24168
|
*/
|
|
@@ -24103,8 +24179,8 @@ var __extends$1V = (function () {
|
|
|
24103
24179
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24104
24180
|
};
|
|
24105
24181
|
})();
|
|
24106
|
-
var __assign$
|
|
24107
|
-
__assign$
|
|
24182
|
+
var __assign$5 = function () {
|
|
24183
|
+
__assign$5 = Object.assign || function(t) {
|
|
24108
24184
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
24109
24185
|
s = arguments[i];
|
|
24110
24186
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -24112,7 +24188,7 @@ var __assign$4 = function () {
|
|
|
24112
24188
|
}
|
|
24113
24189
|
return t;
|
|
24114
24190
|
};
|
|
24115
|
-
return __assign$
|
|
24191
|
+
return __assign$5.apply(this, arguments);
|
|
24116
24192
|
};
|
|
24117
24193
|
var CSS_CELL = 'ag-cell';
|
|
24118
24194
|
var CSS_AUTO_HEIGHT = 'ag-cell-auto-height';
|
|
@@ -24132,6 +24208,7 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24132
24208
|
var _this = _super.call(this) || this;
|
|
24133
24209
|
_this.suppressRefreshCell = false;
|
|
24134
24210
|
_this.onCellCompAttachedFuncs = [];
|
|
24211
|
+
_this.removeAutoHeightListeners = null;
|
|
24135
24212
|
_this.column = column;
|
|
24136
24213
|
_this.rowNode = rowNode;
|
|
24137
24214
|
_this.beans = beans;
|
|
@@ -24203,7 +24280,6 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24203
24280
|
this.cellComp = comp;
|
|
24204
24281
|
this.gow = this.beans.gridOptionsWrapper;
|
|
24205
24282
|
this.eGui = eGui;
|
|
24206
|
-
this.eCellWrapper = eCellWrapper;
|
|
24207
24283
|
this.printLayout = printLayout;
|
|
24208
24284
|
// we force to make sure formatter gets called at least once,
|
|
24209
24285
|
// even if value has not changed (is is undefined)
|
|
@@ -24216,7 +24292,9 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24216
24292
|
this.onLastLeftPinnedChanged();
|
|
24217
24293
|
this.onColumnHover();
|
|
24218
24294
|
this.setupControlComps();
|
|
24219
|
-
|
|
24295
|
+
if (eCellWrapper) {
|
|
24296
|
+
this.refreshAutoHeight(eCellWrapper);
|
|
24297
|
+
}
|
|
24220
24298
|
this.setAriaColIndex();
|
|
24221
24299
|
if (!this.gow.isSuppressCellFocus()) {
|
|
24222
24300
|
this.cellComp.setTabIndex(-1);
|
|
@@ -24242,13 +24320,12 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24242
24320
|
this.onCellCompAttachedFuncs = [];
|
|
24243
24321
|
}
|
|
24244
24322
|
};
|
|
24245
|
-
CellCtrl.prototype.
|
|
24323
|
+
CellCtrl.prototype.refreshAutoHeight = function (eCellWrapper) {
|
|
24246
24324
|
var _this = this;
|
|
24247
24325
|
if (!this.column.isAutoHeight()) {
|
|
24248
24326
|
return;
|
|
24249
24327
|
}
|
|
24250
|
-
var
|
|
24251
|
-
var eParentCell = eAutoHeightContainer.parentElement;
|
|
24328
|
+
var eParentCell = eCellWrapper.parentElement;
|
|
24252
24329
|
// taking minRowHeight from getRowHeightForNode means the getRowHeight() callback is used,
|
|
24253
24330
|
// thus allowing different min heights for different rows.
|
|
24254
24331
|
var minRowHeight = this.beans.gridOptionsWrapper.getRowHeightForNode(this.rowNode).height;
|
|
@@ -24262,13 +24339,13 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24262
24339
|
return;
|
|
24263
24340
|
}
|
|
24264
24341
|
var _a = getElementSize(eParentCell), paddingTop = _a.paddingTop, paddingBottom = _a.paddingBottom;
|
|
24265
|
-
var wrapperHeight =
|
|
24342
|
+
var wrapperHeight = eCellWrapper.offsetHeight;
|
|
24266
24343
|
var autoHeight = wrapperHeight + paddingTop + paddingBottom;
|
|
24267
24344
|
if (timesCalled < 5) {
|
|
24268
24345
|
// if not in doc yet, means framework not yet inserted, so wait for next VM turn,
|
|
24269
24346
|
// maybe it will be ready next VM turn
|
|
24270
24347
|
var doc = _this.beans.gridOptionsWrapper.getDocument();
|
|
24271
|
-
var notYetInDom = !doc || !doc.contains(
|
|
24348
|
+
var notYetInDom = !doc || !doc.contains(eCellWrapper);
|
|
24272
24349
|
// this happens in React, where React hasn't put any content in. we say 'possibly'
|
|
24273
24350
|
// as a) may not be React and b) the cell could be empty anyway
|
|
24274
24351
|
var possiblyNoContentYet = autoHeight == 0;
|
|
@@ -24283,11 +24360,15 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24283
24360
|
var listener = function () { return measureHeight(0); };
|
|
24284
24361
|
// do once to set size in case size doesn't change, common when cell is blank
|
|
24285
24362
|
listener();
|
|
24286
|
-
var destroyResizeObserver = this.beans.resizeObserverService.observeResize(
|
|
24287
|
-
this.
|
|
24363
|
+
var destroyResizeObserver = this.beans.resizeObserverService.observeResize(eCellWrapper, listener);
|
|
24364
|
+
if (this.removeAutoHeightListeners) {
|
|
24365
|
+
this.removeAutoHeightListeners();
|
|
24366
|
+
this.removeAutoHeightListeners = null;
|
|
24367
|
+
}
|
|
24368
|
+
this.removeAutoHeightListeners = function () {
|
|
24288
24369
|
destroyResizeObserver();
|
|
24289
24370
|
_this.rowNode.setRowAutoHeight(undefined, _this.column);
|
|
24290
|
-
}
|
|
24371
|
+
};
|
|
24291
24372
|
};
|
|
24292
24373
|
CellCtrl.prototype.getInstanceId = function () {
|
|
24293
24374
|
return this.instanceId;
|
|
@@ -24464,12 +24545,13 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24464
24545
|
this.cellComp.setEditDetails(); // passing nothing stops editing
|
|
24465
24546
|
this.updateAndFormatValue();
|
|
24466
24547
|
this.refreshCell({ forceRefresh: true, suppressFlash: true });
|
|
24467
|
-
this.dispatchEditingStoppedEvent(oldValue, newValue);
|
|
24548
|
+
this.dispatchEditingStoppedEvent(oldValue, newValue, !cancel && !!valueChanged);
|
|
24468
24549
|
return valueChanged;
|
|
24469
24550
|
};
|
|
24470
|
-
CellCtrl.prototype.dispatchEditingStoppedEvent = function (oldValue, newValue) {
|
|
24471
|
-
var editingStoppedEvent = __assign$
|
|
24472
|
-
newValue: newValue
|
|
24551
|
+
CellCtrl.prototype.dispatchEditingStoppedEvent = function (oldValue, newValue, valueChanged) {
|
|
24552
|
+
var editingStoppedEvent = __assign$5(__assign$5({}, this.createEvent(null, Events.EVENT_CELL_EDITING_STOPPED)), { oldValue: oldValue,
|
|
24553
|
+
newValue: newValue,
|
|
24554
|
+
valueChanged: valueChanged });
|
|
24473
24555
|
this.beans.eventService.dispatchEvent(editingStoppedEvent);
|
|
24474
24556
|
};
|
|
24475
24557
|
// if we are editing inline, then we don't have the padding in the cell (set in the themes)
|
|
@@ -24759,9 +24841,10 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24759
24841
|
return valuesDifferent;
|
|
24760
24842
|
};
|
|
24761
24843
|
CellCtrl.prototype.valuesAreEqual = function (val1, val2) {
|
|
24844
|
+
var _a, _b;
|
|
24762
24845
|
// if the user provided an equals method, use that, otherwise do simple comparison
|
|
24763
24846
|
var colDef = this.column.getColDef();
|
|
24764
|
-
return colDef.equals ? colDef.equals(val1, val2) : val1 === val2;
|
|
24847
|
+
return colDef.equals ? colDef.equals(val1, val2) : typeof val1 === typeof val2 && ((_a = val1) === null || _a === void 0 ? void 0 : _a.toString()) === ((_b = val2) === null || _b === void 0 ? void 0 : _b.toString());
|
|
24765
24848
|
};
|
|
24766
24849
|
CellCtrl.prototype.getComp = function () {
|
|
24767
24850
|
return this.cellComp;
|
|
@@ -25027,6 +25110,10 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
25027
25110
|
};
|
|
25028
25111
|
CellCtrl.prototype.destroy = function () {
|
|
25029
25112
|
this.onCellCompAttachedFuncs = [];
|
|
25113
|
+
if (this.removeAutoHeightListeners) {
|
|
25114
|
+
this.removeAutoHeightListeners();
|
|
25115
|
+
this.removeAutoHeightListeners = null;
|
|
25116
|
+
}
|
|
25030
25117
|
_super.prototype.destroy.call(this);
|
|
25031
25118
|
};
|
|
25032
25119
|
CellCtrl.prototype.createSelectionCheckbox = function () {
|
|
@@ -25081,7 +25168,7 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
25081
25168
|
|
|
25082
25169
|
/**
|
|
25083
25170
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
25084
|
-
* @version v28.
|
|
25171
|
+
* @version v28.2.0
|
|
25085
25172
|
* @link https://www.ag-grid.com/
|
|
25086
25173
|
* @license MIT
|
|
25087
25174
|
*/
|
|
@@ -25109,7 +25196,7 @@ var __values$2 = function(o) {
|
|
|
25109
25196
|
};
|
|
25110
25197
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
25111
25198
|
};
|
|
25112
|
-
var __read$
|
|
25199
|
+
var __read$h = function (o, n) {
|
|
25113
25200
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
25114
25201
|
if (!m) return o;
|
|
25115
25202
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -25125,8 +25212,8 @@ var __read$g = function (o, n) {
|
|
|
25125
25212
|
}
|
|
25126
25213
|
return ar;
|
|
25127
25214
|
};
|
|
25128
|
-
var __spread$
|
|
25129
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
25215
|
+
var __spread$d = function () {
|
|
25216
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$h(arguments[i]));
|
|
25130
25217
|
return ar;
|
|
25131
25218
|
};
|
|
25132
25219
|
var RowType$1;
|
|
@@ -25287,7 +25374,8 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25287
25374
|
}, 'rowDragAndRangeSelectionEnabled');
|
|
25288
25375
|
return;
|
|
25289
25376
|
}
|
|
25290
|
-
var
|
|
25377
|
+
var translate = gow.getLocaleTextFunc();
|
|
25378
|
+
var rowDragComp = new RowDragComp(function () { return "1 " + translate('rowDragRow', 'row'); }, this.rowNode, undefined, gui.element, undefined, true);
|
|
25291
25379
|
this.createManagedBean(rowDragComp, this.beans.context);
|
|
25292
25380
|
};
|
|
25293
25381
|
RowCtrl.prototype.setupFullWidth = function (gui) {
|
|
@@ -25972,7 +26060,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25972
26060
|
if (this.editingRow) {
|
|
25973
26061
|
return;
|
|
25974
26062
|
}
|
|
25975
|
-
this.getAllCellCtrls().
|
|
26063
|
+
var atLeastOneEditing = this.getAllCellCtrls().reduce(function (prev, cellCtrl) {
|
|
25976
26064
|
var cellStartedEdit = cellCtrl === sourceRenderedCell;
|
|
25977
26065
|
if (cellStartedEdit) {
|
|
25978
26066
|
cellCtrl.startEditing(key, charPress, cellStartedEdit, event);
|
|
@@ -25980,11 +26068,17 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25980
26068
|
else {
|
|
25981
26069
|
cellCtrl.startEditing(null, null, cellStartedEdit, event);
|
|
25982
26070
|
}
|
|
25983
|
-
|
|
25984
|
-
|
|
26071
|
+
if (prev) {
|
|
26072
|
+
return true;
|
|
26073
|
+
}
|
|
26074
|
+
return cellCtrl.isEditing();
|
|
26075
|
+
}, false);
|
|
26076
|
+
if (atLeastOneEditing) {
|
|
26077
|
+
this.setEditingRow(true);
|
|
26078
|
+
}
|
|
25985
26079
|
};
|
|
25986
26080
|
RowCtrl.prototype.getAllCellCtrls = function () {
|
|
25987
|
-
var res = __spread$
|
|
26081
|
+
var res = __spread$d(this.centerCellCtrls.list, this.leftCellCtrls.list, this.rightCellCtrls.list);
|
|
25988
26082
|
return res;
|
|
25989
26083
|
};
|
|
25990
26084
|
RowCtrl.prototype.postProcessClassesFromGridOptions = function () {
|
|
@@ -26380,7 +26474,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26380
26474
|
|
|
26381
26475
|
/**
|
|
26382
26476
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
26383
|
-
* @version v28.
|
|
26477
|
+
* @version v28.2.0
|
|
26384
26478
|
* @link https://www.ag-grid.com/
|
|
26385
26479
|
* @license MIT
|
|
26386
26480
|
*/
|
|
@@ -26403,7 +26497,7 @@ var __decorate$1M = function (decorators, target, key, desc) {
|
|
|
26403
26497
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
26404
26498
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26405
26499
|
};
|
|
26406
|
-
var __read$
|
|
26500
|
+
var __read$g = function (o, n) {
|
|
26407
26501
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
26408
26502
|
if (!m) return o;
|
|
26409
26503
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -26610,17 +26704,17 @@ var RowContainerEventsFeature = /** @class */ (function (_super) {
|
|
|
26610
26704
|
return this.onCtrlAndD(keyboardEvent);
|
|
26611
26705
|
}
|
|
26612
26706
|
if (keyCode === KeyCode.Z) {
|
|
26613
|
-
return
|
|
26707
|
+
return this.onCtrlAndZ(keyboardEvent);
|
|
26614
26708
|
}
|
|
26615
26709
|
if (keyCode === KeyCode.Y) {
|
|
26616
|
-
return this.
|
|
26710
|
+
return this.onCtrlAndY();
|
|
26617
26711
|
}
|
|
26618
26712
|
};
|
|
26619
26713
|
RowContainerEventsFeature.prototype.onCtrlAndA = function (event) {
|
|
26620
26714
|
var _a = this, pinnedRowModel = _a.pinnedRowModel, paginationProxy = _a.paginationProxy, rangeService = _a.rangeService;
|
|
26621
26715
|
var PINNED_BOTTOM = Constants.PINNED_BOTTOM, PINNED_TOP = Constants.PINNED_TOP;
|
|
26622
26716
|
if (rangeService && paginationProxy.isRowsToRender()) {
|
|
26623
|
-
var _b = __read$
|
|
26717
|
+
var _b = __read$g([
|
|
26624
26718
|
pinnedRowModel.isEmpty(PINNED_TOP),
|
|
26625
26719
|
pinnedRowModel.isEmpty(PINNED_BOTTOM)
|
|
26626
26720
|
], 2), isEmptyPinnedTop = _b[0], isEmptyPinnedBottom = _b[1];
|
|
@@ -26668,6 +26762,21 @@ var RowContainerEventsFeature = /** @class */ (function (_super) {
|
|
|
26668
26762
|
}
|
|
26669
26763
|
event.preventDefault();
|
|
26670
26764
|
};
|
|
26765
|
+
RowContainerEventsFeature.prototype.onCtrlAndZ = function (event) {
|
|
26766
|
+
if (!this.gridOptionsWrapper.isUndoRedoCellEditing()) {
|
|
26767
|
+
return;
|
|
26768
|
+
}
|
|
26769
|
+
event.preventDefault();
|
|
26770
|
+
if (event.shiftKey) {
|
|
26771
|
+
this.undoRedoService.redo();
|
|
26772
|
+
}
|
|
26773
|
+
else {
|
|
26774
|
+
this.undoRedoService.undo();
|
|
26775
|
+
}
|
|
26776
|
+
};
|
|
26777
|
+
RowContainerEventsFeature.prototype.onCtrlAndY = function () {
|
|
26778
|
+
this.undoRedoService.redo();
|
|
26779
|
+
};
|
|
26671
26780
|
__decorate$1M([
|
|
26672
26781
|
Autowired('mouseEventService')
|
|
26673
26782
|
], RowContainerEventsFeature.prototype, "mouseEventService", void 0);
|
|
@@ -26712,7 +26821,7 @@ var RowContainerEventsFeature = /** @class */ (function (_super) {
|
|
|
26712
26821
|
|
|
26713
26822
|
/**
|
|
26714
26823
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
26715
|
-
* @version v28.
|
|
26824
|
+
* @version v28.2.0
|
|
26716
26825
|
* @link https://www.ag-grid.com/
|
|
26717
26826
|
* @license MIT
|
|
26718
26827
|
*/
|
|
@@ -26850,7 +26959,7 @@ var ViewportSizeFeature = /** @class */ (function (_super) {
|
|
|
26850
26959
|
|
|
26851
26960
|
/**
|
|
26852
26961
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
26853
|
-
* @version v28.
|
|
26962
|
+
* @version v28.2.0
|
|
26854
26963
|
* @link https://www.ag-grid.com/
|
|
26855
26964
|
* @license MIT
|
|
26856
26965
|
*/
|
|
@@ -26902,7 +27011,7 @@ var SetPinnedLeftWidthFeature = /** @class */ (function (_super) {
|
|
|
26902
27011
|
|
|
26903
27012
|
/**
|
|
26904
27013
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
26905
|
-
* @version v28.
|
|
27014
|
+
* @version v28.2.0
|
|
26906
27015
|
* @link https://www.ag-grid.com/
|
|
26907
27016
|
* @license MIT
|
|
26908
27017
|
*/
|
|
@@ -26954,7 +27063,7 @@ var SetPinnedRightWidthFeature = /** @class */ (function (_super) {
|
|
|
26954
27063
|
|
|
26955
27064
|
/**
|
|
26956
27065
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
26957
|
-
* @version v28.
|
|
27066
|
+
* @version v28.2.0
|
|
26958
27067
|
* @link https://www.ag-grid.com/
|
|
26959
27068
|
* @license MIT
|
|
26960
27069
|
*/
|
|
@@ -27007,7 +27116,7 @@ var SetHeightFeature = /** @class */ (function (_super) {
|
|
|
27007
27116
|
|
|
27008
27117
|
/**
|
|
27009
27118
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27010
|
-
* @version v28.
|
|
27119
|
+
* @version v28.2.0
|
|
27011
27120
|
* @link https://www.ag-grid.com/
|
|
27012
27121
|
* @license MIT
|
|
27013
27122
|
*/
|
|
@@ -27067,7 +27176,7 @@ var DragListenerFeature = /** @class */ (function (_super) {
|
|
|
27067
27176
|
|
|
27068
27177
|
/**
|
|
27069
27178
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27070
|
-
* @version v28.
|
|
27179
|
+
* @version v28.2.0
|
|
27071
27180
|
* @link https://www.ag-grid.com/
|
|
27072
27181
|
* @license MIT
|
|
27073
27182
|
*/
|
|
@@ -27124,7 +27233,7 @@ var CenterWidthFeature = /** @class */ (function (_super) {
|
|
|
27124
27233
|
|
|
27125
27234
|
/**
|
|
27126
27235
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27127
|
-
* @version v28.
|
|
27236
|
+
* @version v28.2.0
|
|
27128
27237
|
* @link https://www.ag-grid.com/
|
|
27129
27238
|
* @license MIT
|
|
27130
27239
|
*/
|
|
@@ -27147,7 +27256,7 @@ var __decorate$1F = function (decorators, target, key, desc) {
|
|
|
27147
27256
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
27148
27257
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27149
27258
|
};
|
|
27150
|
-
var __read$
|
|
27259
|
+
var __read$f = function (o, n) {
|
|
27151
27260
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
27152
27261
|
if (!m) return o;
|
|
27153
27262
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -27163,8 +27272,8 @@ var __read$e = function (o, n) {
|
|
|
27163
27272
|
}
|
|
27164
27273
|
return ar;
|
|
27165
27274
|
};
|
|
27166
|
-
var __spread$
|
|
27167
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
27275
|
+
var __spread$c = function () {
|
|
27276
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$f(arguments[i]));
|
|
27168
27277
|
return ar;
|
|
27169
27278
|
};
|
|
27170
27279
|
var RowContainerName;
|
|
@@ -27346,7 +27455,7 @@ var RowContainerCtrl = /** @class */ (function (_super) {
|
|
|
27346
27455
|
var allStickyTopNoFW = [RowContainerName.STICKY_TOP_CENTER, RowContainerName.STICKY_TOP_LEFT, RowContainerName.STICKY_TOP_RIGHT];
|
|
27347
27456
|
var allBottomNoFW = [RowContainerName.BOTTOM_CENTER, RowContainerName.BOTTOM_LEFT, RowContainerName.BOTTOM_RIGHT];
|
|
27348
27457
|
var allMiddleNoFW = [RowContainerName.CENTER, RowContainerName.LEFT, RowContainerName.RIGHT];
|
|
27349
|
-
var allNoFW = __spread$
|
|
27458
|
+
var allNoFW = __spread$c(allTopNoFW, allBottomNoFW, allMiddleNoFW, allStickyTopNoFW);
|
|
27350
27459
|
var allMiddle = [RowContainerName.CENTER, RowContainerName.LEFT, RowContainerName.RIGHT, RowContainerName.FULL_WIDTH];
|
|
27351
27460
|
var allCenter = [RowContainerName.CENTER, RowContainerName.TOP_CENTER, RowContainerName.STICKY_TOP_CENTER, RowContainerName.BOTTOM_CENTER];
|
|
27352
27461
|
var allLeft = [RowContainerName.LEFT, RowContainerName.BOTTOM_LEFT, RowContainerName.TOP_LEFT, RowContainerName.STICKY_TOP_LEFT];
|
|
@@ -27541,7 +27650,7 @@ var RowContainerCtrl = /** @class */ (function (_super) {
|
|
|
27541
27650
|
|
|
27542
27651
|
/**
|
|
27543
27652
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27544
|
-
* @version v28.
|
|
27653
|
+
* @version v28.2.0
|
|
27545
27654
|
* @link https://www.ag-grid.com/
|
|
27546
27655
|
* @license MIT
|
|
27547
27656
|
*/
|
|
@@ -27654,7 +27763,7 @@ var GridBodyComp = /** @class */ (function (_super) {
|
|
|
27654
27763
|
|
|
27655
27764
|
/**
|
|
27656
27765
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27657
|
-
* @version v28.
|
|
27766
|
+
* @version v28.2.0
|
|
27658
27767
|
* @link https://www.ag-grid.com/
|
|
27659
27768
|
* @license MIT
|
|
27660
27769
|
*/
|
|
@@ -27747,7 +27856,7 @@ var ScrollVisibleService = /** @class */ (function (_super) {
|
|
|
27747
27856
|
|
|
27748
27857
|
/**
|
|
27749
27858
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27750
|
-
* @version v28.
|
|
27859
|
+
* @version v28.2.0
|
|
27751
27860
|
* @link https://www.ag-grid.com/
|
|
27752
27861
|
* @license MIT
|
|
27753
27862
|
*/
|
|
@@ -27846,7 +27955,7 @@ var MouseEventService = /** @class */ (function (_super) {
|
|
|
27846
27955
|
|
|
27847
27956
|
/**
|
|
27848
27957
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27849
|
-
* @version v28.
|
|
27958
|
+
* @version v28.2.0
|
|
27850
27959
|
* @link https://www.ag-grid.com/
|
|
27851
27960
|
* @license MIT
|
|
27852
27961
|
*/
|
|
@@ -27863,8 +27972,8 @@ var __extends$1I = (function () {
|
|
|
27863
27972
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27864
27973
|
};
|
|
27865
27974
|
})();
|
|
27866
|
-
var __assign$
|
|
27867
|
-
__assign$
|
|
27975
|
+
var __assign$4 = function () {
|
|
27976
|
+
__assign$4 = Object.assign || function(t) {
|
|
27868
27977
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
27869
27978
|
s = arguments[i];
|
|
27870
27979
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -27872,7 +27981,7 @@ var __assign$3 = function () {
|
|
|
27872
27981
|
}
|
|
27873
27982
|
return t;
|
|
27874
27983
|
};
|
|
27875
|
-
return __assign$
|
|
27984
|
+
return __assign$4.apply(this, arguments);
|
|
27876
27985
|
};
|
|
27877
27986
|
var __decorate$1B = function (decorators, target, key, desc) {
|
|
27878
27987
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -28271,7 +28380,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28271
28380
|
var displayedColumns = this.columnModel.getAllDisplayedColumns();
|
|
28272
28381
|
var cellPos;
|
|
28273
28382
|
if (previousCell instanceof RowCtrl) {
|
|
28274
|
-
cellPos = __assign$
|
|
28383
|
+
cellPos = __assign$4(__assign$4({}, previousCell.getRowPosition()), { column: backwards ? displayedColumns[0] : last(displayedColumns) });
|
|
28275
28384
|
}
|
|
28276
28385
|
else {
|
|
28277
28386
|
cellPos = previousCell.getCellPosition();
|
|
@@ -28617,7 +28726,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28617
28726
|
|
|
28618
28727
|
/**
|
|
28619
28728
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
28620
|
-
* @version v28.
|
|
28729
|
+
* @version v28.2.0
|
|
28621
28730
|
* @link https://www.ag-grid.com/
|
|
28622
28731
|
* @license MIT
|
|
28623
28732
|
*/
|
|
@@ -28671,7 +28780,7 @@ var PopupEditorWrapper = /** @class */ (function (_super) {
|
|
|
28671
28780
|
|
|
28672
28781
|
/**
|
|
28673
28782
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
28674
|
-
* @version v28.
|
|
28783
|
+
* @version v28.2.0
|
|
28675
28784
|
* @link https://www.ag-grid.com/
|
|
28676
28785
|
* @license MIT
|
|
28677
28786
|
*/
|
|
@@ -29107,7 +29216,7 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
29107
29216
|
|
|
29108
29217
|
/**
|
|
29109
29218
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
29110
|
-
* @version v28.
|
|
29219
|
+
* @version v28.2.0
|
|
29111
29220
|
* @link https://www.ag-grid.com/
|
|
29112
29221
|
* @license MIT
|
|
29113
29222
|
*/
|
|
@@ -29257,7 +29366,7 @@ var RowComp = /** @class */ (function (_super) {
|
|
|
29257
29366
|
|
|
29258
29367
|
/**
|
|
29259
29368
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
29260
|
-
* @version v28.
|
|
29369
|
+
* @version v28.2.0
|
|
29261
29370
|
* @link https://www.ag-grid.com/
|
|
29262
29371
|
* @license MIT
|
|
29263
29372
|
*/
|
|
@@ -29274,8 +29383,8 @@ var __extends$1E = (function () {
|
|
|
29274
29383
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
29275
29384
|
};
|
|
29276
29385
|
})();
|
|
29277
|
-
var __assign$
|
|
29278
|
-
__assign$
|
|
29386
|
+
var __assign$3 = function () {
|
|
29387
|
+
__assign$3 = Object.assign || function(t) {
|
|
29279
29388
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
29280
29389
|
s = arguments[i];
|
|
29281
29390
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -29283,7 +29392,7 @@ var __assign$2 = function () {
|
|
|
29283
29392
|
}
|
|
29284
29393
|
return t;
|
|
29285
29394
|
};
|
|
29286
|
-
return __assign$
|
|
29395
|
+
return __assign$3.apply(this, arguments);
|
|
29287
29396
|
};
|
|
29288
29397
|
var __decorate$1z = function (decorators, target, key, desc) {
|
|
29289
29398
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -29341,7 +29450,7 @@ var RowContainerComp = /** @class */ (function (_super) {
|
|
|
29341
29450
|
};
|
|
29342
29451
|
RowContainerComp.prototype.setRowCtrls = function (rowCtrls) {
|
|
29343
29452
|
var _this = this;
|
|
29344
|
-
var oldRows = __assign$
|
|
29453
|
+
var oldRows = __assign$3({}, this.rowComps);
|
|
29345
29454
|
this.rowComps = {};
|
|
29346
29455
|
this.lastPlacedElement = null;
|
|
29347
29456
|
var processRow = function (rowCon) {
|
|
@@ -29408,7 +29517,7 @@ var RowContainerComp = /** @class */ (function (_super) {
|
|
|
29408
29517
|
|
|
29409
29518
|
/**
|
|
29410
29519
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
29411
|
-
* @version v28.
|
|
29520
|
+
* @version v28.2.0
|
|
29412
29521
|
* @link https://www.ag-grid.com/
|
|
29413
29522
|
* @license MIT
|
|
29414
29523
|
*/
|
|
@@ -29499,7 +29608,7 @@ var BodyDropPivotTarget = /** @class */ (function () {
|
|
|
29499
29608
|
|
|
29500
29609
|
/**
|
|
29501
29610
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
29502
|
-
* @version v28.
|
|
29611
|
+
* @version v28.2.0
|
|
29503
29612
|
* @link https://www.ag-grid.com/
|
|
29504
29613
|
* @license MIT
|
|
29505
29614
|
*/
|
|
@@ -29509,7 +29618,7 @@ var __decorate$1x = function (decorators, target, key, desc) {
|
|
|
29509
29618
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
29510
29619
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29511
29620
|
};
|
|
29512
|
-
var __read$
|
|
29621
|
+
var __read$e = function (o, n) {
|
|
29513
29622
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
29514
29623
|
if (!m) return o;
|
|
29515
29624
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -29781,7 +29890,7 @@ var MoveColumnFeature = /** @class */ (function () {
|
|
|
29781
29890
|
var a = parents(columns[i]);
|
|
29782
29891
|
var b = parents(columns[i + 1]);
|
|
29783
29892
|
// iterate over the longest one
|
|
29784
|
-
_a = __read$
|
|
29893
|
+
_a = __read$e(a.length > b.length ? [a, b] : [b, a], 2), a = _a[0], b = _a[1];
|
|
29785
29894
|
a.forEach(function (parent) {
|
|
29786
29895
|
if (b.indexOf(parent) === -1) {
|
|
29787
29896
|
count++; // More fragmented if other column doesn't share the parent
|
|
@@ -29977,7 +30086,7 @@ var MoveColumnFeature = /** @class */ (function () {
|
|
|
29977
30086
|
|
|
29978
30087
|
/**
|
|
29979
30088
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
29980
|
-
* @version v28.
|
|
30089
|
+
* @version v28.2.0
|
|
29981
30090
|
* @link https://www.ag-grid.com/
|
|
29982
30091
|
* @license MIT
|
|
29983
30092
|
*/
|
|
@@ -30099,11 +30208,11 @@ var BodyDropTarget = /** @class */ (function (_super) {
|
|
|
30099
30208
|
|
|
30100
30209
|
/**
|
|
30101
30210
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30102
|
-
* @version v28.
|
|
30211
|
+
* @version v28.2.0
|
|
30103
30212
|
* @link https://www.ag-grid.com/
|
|
30104
30213
|
* @license MIT
|
|
30105
30214
|
*/
|
|
30106
|
-
var __read$
|
|
30215
|
+
var __read$d = function (o, n) {
|
|
30107
30216
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
30108
30217
|
if (!m) return o;
|
|
30109
30218
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -30119,8 +30228,8 @@ var __read$c = function (o, n) {
|
|
|
30119
30228
|
}
|
|
30120
30229
|
return ar;
|
|
30121
30230
|
};
|
|
30122
|
-
var __spread$
|
|
30123
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
30231
|
+
var __spread$b = function () {
|
|
30232
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$d(arguments[i]));
|
|
30124
30233
|
return ar;
|
|
30125
30234
|
};
|
|
30126
30235
|
var CssClassApplier = /** @class */ (function () {
|
|
@@ -30167,7 +30276,7 @@ var CssClassApplier = /** @class */ (function () {
|
|
|
30167
30276
|
return [classToUse];
|
|
30168
30277
|
}
|
|
30169
30278
|
if (Array.isArray(classToUse)) {
|
|
30170
|
-
return __spread$
|
|
30279
|
+
return __spread$b(classToUse);
|
|
30171
30280
|
}
|
|
30172
30281
|
return [];
|
|
30173
30282
|
};
|
|
@@ -30176,7 +30285,7 @@ var CssClassApplier = /** @class */ (function () {
|
|
|
30176
30285
|
|
|
30177
30286
|
/**
|
|
30178
30287
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30179
|
-
* @version v28.
|
|
30288
|
+
* @version v28.2.0
|
|
30180
30289
|
* @link https://www.ag-grid.com/
|
|
30181
30290
|
* @license MIT
|
|
30182
30291
|
*/
|
|
@@ -30276,7 +30385,7 @@ var HeaderCellComp = /** @class */ (function (_super) {
|
|
|
30276
30385
|
|
|
30277
30386
|
/**
|
|
30278
30387
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30279
|
-
* @version v28.
|
|
30388
|
+
* @version v28.2.0
|
|
30280
30389
|
* @link https://www.ag-grid.com/
|
|
30281
30390
|
* @license MIT
|
|
30282
30391
|
*/
|
|
@@ -30351,7 +30460,7 @@ var HeaderGroupCellComp = /** @class */ (function (_super) {
|
|
|
30351
30460
|
|
|
30352
30461
|
/**
|
|
30353
30462
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30354
|
-
* @version v28.
|
|
30463
|
+
* @version v28.2.0
|
|
30355
30464
|
* @link https://www.ag-grid.com/
|
|
30356
30465
|
* @license MIT
|
|
30357
30466
|
*/
|
|
@@ -30469,7 +30578,7 @@ var HeaderRowComp = /** @class */ (function (_super) {
|
|
|
30469
30578
|
|
|
30470
30579
|
/**
|
|
30471
30580
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30472
|
-
* @version v28.
|
|
30581
|
+
* @version v28.2.0
|
|
30473
30582
|
* @link https://www.ag-grid.com/
|
|
30474
30583
|
* @license MIT
|
|
30475
30584
|
*/
|
|
@@ -30576,7 +30685,7 @@ var AbstractHeaderCellCtrl = /** @class */ (function (_super) {
|
|
|
30576
30685
|
|
|
30577
30686
|
/**
|
|
30578
30687
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30579
|
-
* @version v28.
|
|
30688
|
+
* @version v28.2.0
|
|
30580
30689
|
* @link https://www.ag-grid.com/
|
|
30581
30690
|
* @license MIT
|
|
30582
30691
|
*/
|
|
@@ -30594,7 +30703,7 @@ var ClientSideRowModelSteps;
|
|
|
30594
30703
|
|
|
30595
30704
|
/**
|
|
30596
30705
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30597
|
-
* @version v28.
|
|
30706
|
+
* @version v28.2.0
|
|
30598
30707
|
* @link https://www.ag-grid.com/
|
|
30599
30708
|
* @license MIT
|
|
30600
30709
|
*/
|
|
@@ -30730,7 +30839,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30730
30839
|
return this.excelCreator.exportMultipleSheetsAsExcel(params);
|
|
30731
30840
|
}
|
|
30732
30841
|
};
|
|
30733
|
-
/** @deprecated */
|
|
30842
|
+
/** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
|
|
30734
30843
|
GridApi.prototype.setEnterpriseDatasource = function (datasource) {
|
|
30735
30844
|
console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
|
|
30736
30845
|
this.setServerSideDatasource(datasource);
|
|
@@ -30816,32 +30925,32 @@ var GridApi = /** @class */ (function () {
|
|
|
30816
30925
|
this.clientSideRowModel.setRowData(rowData);
|
|
30817
30926
|
}
|
|
30818
30927
|
};
|
|
30819
|
-
/** @deprecated */
|
|
30928
|
+
/** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
|
|
30820
30929
|
GridApi.prototype.setFloatingTopRowData = function (rows) {
|
|
30821
30930
|
console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
|
|
30822
30931
|
this.setPinnedTopRowData(rows);
|
|
30823
30932
|
};
|
|
30824
|
-
/** @deprecated */
|
|
30933
|
+
/** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
|
|
30825
30934
|
GridApi.prototype.setFloatingBottomRowData = function (rows) {
|
|
30826
30935
|
console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
|
|
30827
30936
|
this.setPinnedBottomRowData(rows);
|
|
30828
30937
|
};
|
|
30829
|
-
/** @deprecated */
|
|
30938
|
+
/** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
|
|
30830
30939
|
GridApi.prototype.getFloatingTopRowCount = function () {
|
|
30831
30940
|
console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
|
|
30832
30941
|
return this.getPinnedTopRowCount();
|
|
30833
30942
|
};
|
|
30834
|
-
/** @deprecated */
|
|
30943
|
+
/** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
|
|
30835
30944
|
GridApi.prototype.getFloatingBottomRowCount = function () {
|
|
30836
30945
|
console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
|
|
30837
30946
|
return this.getPinnedBottomRowCount();
|
|
30838
30947
|
};
|
|
30839
|
-
/** @deprecated */
|
|
30948
|
+
/** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
|
|
30840
30949
|
GridApi.prototype.getFloatingTopRow = function (index) {
|
|
30841
30950
|
console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
|
|
30842
30951
|
return this.getPinnedTopRow(index);
|
|
30843
30952
|
};
|
|
30844
|
-
/** @deprecated */
|
|
30953
|
+
/** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
|
|
30845
30954
|
GridApi.prototype.getFloatingBottomRow = function (index) {
|
|
30846
30955
|
console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
|
|
30847
30956
|
return this.getPinnedBottomRow(index);
|
|
@@ -30990,8 +31099,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30990
31099
|
// and thus the expand icon in the group cell won't get 'opened' or 'closed'.
|
|
30991
31100
|
this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.MAP });
|
|
30992
31101
|
};
|
|
31102
|
+
/** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
|
|
30993
31103
|
GridApi.prototype.refreshInMemoryRowModel = function (step) {
|
|
30994
|
-
console.warn("
|
|
31104
|
+
console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
|
|
30995
31105
|
this.refreshClientSideRowModel(step);
|
|
30996
31106
|
};
|
|
30997
31107
|
/** Gets the Client-Side Row Model to refresh, executing the grouping, filtering and sorting again. */
|
|
@@ -31094,7 +31204,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31094
31204
|
* A virtual row is a row that is visually rendered on the screen (rows that are not visible because of the scroll position are not rendered).
|
|
31095
31205
|
* Unlike normal events, you do not need to unregister rendered row listeners.
|
|
31096
31206
|
* When the rendered row is removed from the grid, all associated rendered row listeners will also be removed.
|
|
31097
|
-
* Currently supports only one event, `virtualRowRemoved`;
|
|
31098
31207
|
* listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
|
|
31099
31208
|
*/
|
|
31100
31209
|
GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
|
|
@@ -31107,33 +31216,37 @@ var GridApi = /** @class */ (function () {
|
|
|
31107
31216
|
GridApi.prototype.setQuickFilter = function (newFilter) {
|
|
31108
31217
|
this.filterManager.setQuickFilter(newFilter);
|
|
31109
31218
|
};
|
|
31219
|
+
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
|
|
31110
31220
|
GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
|
|
31111
|
-
console.warn('AG Grid: do not use api for selection, call
|
|
31221
|
+
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31112
31222
|
if (suppressEvents) {
|
|
31113
31223
|
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31114
31224
|
}
|
|
31115
31225
|
this.selectionService.selectIndex(index, tryMulti);
|
|
31116
31226
|
};
|
|
31227
|
+
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
|
|
31117
31228
|
GridApi.prototype.deselectIndex = function (index, suppressEvents) {
|
|
31118
31229
|
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31119
|
-
console.warn('AG Grid: do not use api for selection, call
|
|
31230
|
+
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31120
31231
|
if (suppressEvents) {
|
|
31121
31232
|
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31122
31233
|
}
|
|
31123
31234
|
this.selectionService.deselectIndex(index);
|
|
31124
31235
|
};
|
|
31236
|
+
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31125
31237
|
GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
|
|
31126
31238
|
if (tryMulti === void 0) { tryMulti = false; }
|
|
31127
31239
|
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31128
|
-
console.warn('AG Grid: API for selection is deprecated, call
|
|
31240
|
+
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31129
31241
|
if (suppressEvents) {
|
|
31130
31242
|
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31131
31243
|
}
|
|
31132
31244
|
node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
|
|
31133
31245
|
};
|
|
31246
|
+
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31134
31247
|
GridApi.prototype.deselectNode = function (node, suppressEvents) {
|
|
31135
31248
|
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31136
|
-
console.warn('AG Grid: API for selection is deprecated, call
|
|
31249
|
+
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31137
31250
|
if (suppressEvents) {
|
|
31138
31251
|
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31139
31252
|
}
|
|
@@ -31155,6 +31268,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31155
31268
|
GridApi.prototype.deselectAllFiltered = function () {
|
|
31156
31269
|
this.selectionService.deselectAllRowNodes(true);
|
|
31157
31270
|
};
|
|
31271
|
+
/** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
|
|
31158
31272
|
GridApi.prototype.recomputeAggregates = function () {
|
|
31159
31273
|
if (missing(this.clientSideRowModel)) {
|
|
31160
31274
|
console.warn('cannot call recomputeAggregates unless using normal row model');
|
|
@@ -31184,6 +31298,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31184
31298
|
console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
|
|
31185
31299
|
return node.isSelected();
|
|
31186
31300
|
};
|
|
31301
|
+
/** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
|
|
31187
31302
|
GridApi.prototype.getSelectedNodesById = function () {
|
|
31188
31303
|
console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
|
|
31189
31304
|
return null;
|
|
@@ -31212,6 +31327,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31212
31327
|
GridApi.prototype.getRenderedNodes = function () {
|
|
31213
31328
|
return this.rowRenderer.getRenderedNodes();
|
|
31214
31329
|
};
|
|
31330
|
+
/** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
|
|
31215
31331
|
GridApi.prototype.ensureColIndexVisible = function (index) {
|
|
31216
31332
|
console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
|
|
31217
31333
|
};
|
|
@@ -31544,9 +31660,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31544
31660
|
GridApi.prototype.setPaginationNumberFormatter = function (paginationNumberFormatterFunc) {
|
|
31545
31661
|
this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_PAGINATION_NUMBER_FORMATTER, paginationNumberFormatterFunc);
|
|
31546
31662
|
};
|
|
31547
|
-
/** @deprecated
|
|
31548
|
-
* use setGetServerSideGroupLevelParams instead
|
|
31549
|
-
*/
|
|
31663
|
+
/** @deprecated use setGetServerSideGroupLevelParams instead */
|
|
31550
31664
|
GridApi.prototype.setGetServerSideStoreParams = function (getServerSideStoreParamsFunc) {
|
|
31551
31665
|
this.setGetServerSideGroupLevelParams(getServerSideStoreParamsFunc);
|
|
31552
31666
|
};
|
|
@@ -31628,6 +31742,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31628
31742
|
GridApi.prototype.isToolPanelShowing = function () {
|
|
31629
31743
|
return this.sideBarComp.isToolPanelShowing();
|
|
31630
31744
|
};
|
|
31745
|
+
/** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
|
|
31631
31746
|
GridApi.prototype.doLayout = function () {
|
|
31632
31747
|
var message = "AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically";
|
|
31633
31748
|
doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
|
|
@@ -31735,6 +31850,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31735
31850
|
}
|
|
31736
31851
|
this.rowModel.forEachNode(function (node) { return node.quickFilterAggregateText = null; });
|
|
31737
31852
|
};
|
|
31853
|
+
/** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
|
|
31738
31854
|
GridApi.prototype.getRangeSelections = function () {
|
|
31739
31855
|
console.warn("AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead.\n We had to change how cell selections works a small bit to allow charting to integrate. The return type of\n getCellRanges() is a bit different, please check the AG Grid documentation.");
|
|
31740
31856
|
return null;
|
|
@@ -31750,6 +31866,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31750
31866
|
GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
|
|
31751
31867
|
return camelCaseToHumanText(camelCase);
|
|
31752
31868
|
};
|
|
31869
|
+
/** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
|
|
31753
31870
|
GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
|
|
31754
31871
|
console.warn('AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection()');
|
|
31755
31872
|
};
|
|
@@ -31799,11 +31916,28 @@ var GridApi = /** @class */ (function () {
|
|
|
31799
31916
|
};
|
|
31800
31917
|
/** Returns a string containing the requested data URL which contains a representation of the chart image. */
|
|
31801
31918
|
GridApi.prototype.getChartImageDataURL = function (params) {
|
|
31802
|
-
if (ModuleRegistry.assertRegistered(ModuleNames.
|
|
31803
|
-
ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.getChartImageDataURL')) {
|
|
31919
|
+
if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.getChartImageDataURL')) {
|
|
31804
31920
|
return this.chartService.getChartImageDataURL(params);
|
|
31805
31921
|
}
|
|
31806
31922
|
};
|
|
31923
|
+
/** Downloads the chart image in the browser. */
|
|
31924
|
+
GridApi.prototype.downloadChart = function (params) {
|
|
31925
|
+
if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.downloadChart')) {
|
|
31926
|
+
return this.chartService.downloadChart(params);
|
|
31927
|
+
}
|
|
31928
|
+
};
|
|
31929
|
+
/** Open the Chart Tool Panel. */
|
|
31930
|
+
GridApi.prototype.openChartToolPanel = function (params) {
|
|
31931
|
+
if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.openChartToolPanel')) {
|
|
31932
|
+
return this.chartService.openChartToolPanel(params);
|
|
31933
|
+
}
|
|
31934
|
+
};
|
|
31935
|
+
/** Close the Chart Tool Panel. */
|
|
31936
|
+
GridApi.prototype.closeChartToolPanel = function (params) {
|
|
31937
|
+
if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.closeChartToolPanel')) {
|
|
31938
|
+
return this.chartService.closeChartToolPanel(params.chartId);
|
|
31939
|
+
}
|
|
31940
|
+
};
|
|
31807
31941
|
/** Used to programmatically create charts from a range. */
|
|
31808
31942
|
GridApi.prototype.createRangeChart = function (params) {
|
|
31809
31943
|
if (ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'api.createRangeChart') &&
|
|
@@ -31832,6 +31966,13 @@ var GridApi = /** @class */ (function () {
|
|
|
31832
31966
|
return this.chartService.createPivotChart(params);
|
|
31833
31967
|
}
|
|
31834
31968
|
};
|
|
31969
|
+
/** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
|
|
31970
|
+
GridApi.prototype.copyToClipboard = function (params) {
|
|
31971
|
+
if (!this.clipboardService) {
|
|
31972
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
31973
|
+
}
|
|
31974
|
+
this.clipboardService.copyToClipboard(params);
|
|
31975
|
+
};
|
|
31835
31976
|
/** Copies the selected rows to the clipboard. */
|
|
31836
31977
|
GridApi.prototype.copySelectedRowsToClipboard = function (params) {
|
|
31837
31978
|
if (!this.clipboardService) {
|
|
@@ -32005,7 +32146,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32005
32146
|
GridApi.prototype.setDeltaSort = function (enable) {
|
|
32006
32147
|
this.gridOptionsWrapper.setProperty('deltaSort', enable);
|
|
32007
32148
|
};
|
|
32008
|
-
/** @deprecated */
|
|
32149
|
+
/** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
|
|
32009
32150
|
GridApi.prototype.updateRowData = function (rowDataTransaction) {
|
|
32010
32151
|
var message = 'AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). updateRowData is deprecated and will be removed in a future major release.';
|
|
32011
32152
|
doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
|
|
@@ -32027,34 +32168,34 @@ var GridApi = /** @class */ (function () {
|
|
|
32027
32168
|
}
|
|
32028
32169
|
this.clientSideRowModel.flushAsyncTransactions();
|
|
32029
32170
|
};
|
|
32030
|
-
/** @deprecated */
|
|
32171
|
+
/** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
|
|
32031
32172
|
GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
|
|
32032
32173
|
var message = 'AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). batchUpdateRowData is deprecated and will be removed in a future major release.';
|
|
32033
32174
|
doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
|
|
32034
32175
|
this.applyTransactionAsync(rowDataTransaction, callback);
|
|
32035
32176
|
};
|
|
32036
|
-
/** @deprecated
|
|
32177
|
+
/** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
|
|
32037
32178
|
GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
|
|
32038
32179
|
console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
|
|
32039
32180
|
this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
|
|
32040
32181
|
};
|
|
32041
|
-
/** @deprecated */
|
|
32182
|
+
/** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
|
|
32042
32183
|
GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
|
|
32043
32184
|
console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
|
|
32044
32185
|
var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
|
|
32045
32186
|
this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
|
|
32046
32187
|
};
|
|
32047
|
-
/** @deprecated */
|
|
32188
|
+
/** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
|
|
32048
32189
|
GridApi.prototype.addItems = function (items, skipRefresh) {
|
|
32049
32190
|
console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
|
|
32050
32191
|
this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
|
|
32051
32192
|
};
|
|
32052
|
-
/** @deprecated */
|
|
32193
|
+
/** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
32053
32194
|
GridApi.prototype.refreshVirtualPageCache = function () {
|
|
32054
32195
|
console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
32055
32196
|
this.refreshInfiniteCache();
|
|
32056
32197
|
};
|
|
32057
|
-
/** @deprecated */
|
|
32198
|
+
/** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
32058
32199
|
GridApi.prototype.refreshInfinitePageCache = function () {
|
|
32059
32200
|
console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
32060
32201
|
this.refreshInfiniteCache();
|
|
@@ -32072,12 +32213,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32072
32213
|
console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
|
|
32073
32214
|
}
|
|
32074
32215
|
};
|
|
32075
|
-
/** @deprecated */
|
|
32216
|
+
/** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
32076
32217
|
GridApi.prototype.purgeVirtualPageCache = function () {
|
|
32077
32218
|
console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
32078
32219
|
this.purgeInfinitePageCache();
|
|
32079
32220
|
};
|
|
32080
|
-
/** @deprecated */
|
|
32221
|
+
/** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
32081
32222
|
GridApi.prototype.purgeInfinitePageCache = function () {
|
|
32082
32223
|
console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
32083
32224
|
this.purgeInfiniteCache();
|
|
@@ -32096,12 +32237,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32096
32237
|
console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
|
|
32097
32238
|
}
|
|
32098
32239
|
};
|
|
32099
|
-
/** @deprecated */
|
|
32240
|
+
/** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
|
|
32100
32241
|
GridApi.prototype.purgeEnterpriseCache = function (route) {
|
|
32101
|
-
console.warn("
|
|
32242
|
+
console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
|
|
32102
32243
|
this.purgeServerSideCache(route);
|
|
32103
32244
|
};
|
|
32104
|
-
/** @deprecated */
|
|
32245
|
+
/** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
|
|
32105
32246
|
GridApi.prototype.purgeServerSideCache = function (route) {
|
|
32106
32247
|
if (route === void 0) { route = []; }
|
|
32107
32248
|
if (this.serverSideRowModel) {
|
|
@@ -32123,6 +32264,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32123
32264
|
GridApi.prototype.refreshServerSide = function (params) {
|
|
32124
32265
|
if (!this.serverSideRowModel) {
|
|
32125
32266
|
console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
|
|
32267
|
+
return;
|
|
32126
32268
|
}
|
|
32127
32269
|
this.serverSideRowModel.refreshStore(params);
|
|
32128
32270
|
};
|
|
@@ -32146,6 +32288,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32146
32288
|
}
|
|
32147
32289
|
return this.serverSideRowModel.getStoreState();
|
|
32148
32290
|
};
|
|
32291
|
+
/** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
|
|
32149
32292
|
GridApi.prototype.getVirtualRowCount = function () {
|
|
32150
32293
|
console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
|
|
32151
32294
|
return this.getInfiniteRowCount();
|
|
@@ -32159,8 +32302,9 @@ var GridApi = /** @class */ (function () {
|
|
|
32159
32302
|
console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
|
|
32160
32303
|
}
|
|
32161
32304
|
};
|
|
32305
|
+
/** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
|
|
32162
32306
|
GridApi.prototype.isMaxRowFound = function () {
|
|
32163
|
-
console.warn("AG Grid: api.
|
|
32307
|
+
console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
|
|
32164
32308
|
return this.isLastRowIndexKnown();
|
|
32165
32309
|
};
|
|
32166
32310
|
/** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
|
|
@@ -32172,10 +32316,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32172
32316
|
console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
|
|
32173
32317
|
}
|
|
32174
32318
|
};
|
|
32319
|
+
/** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
|
|
32175
32320
|
GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
|
|
32176
32321
|
console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
|
|
32177
32322
|
this.setRowCount(rowCount, maxRowFound);
|
|
32178
32323
|
};
|
|
32324
|
+
/** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
|
|
32179
32325
|
GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
|
|
32180
32326
|
console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
|
|
32181
32327
|
this.setRowCount(rowCount, maxRowFound);
|
|
@@ -32195,10 +32341,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32195
32341
|
console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
|
|
32196
32342
|
}
|
|
32197
32343
|
};
|
|
32344
|
+
/** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32198
32345
|
GridApi.prototype.getVirtualPageState = function () {
|
|
32199
32346
|
console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32200
32347
|
return this.getCacheBlockState();
|
|
32201
32348
|
};
|
|
32349
|
+
/** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32202
32350
|
GridApi.prototype.getInfinitePageState = function () {
|
|
32203
32351
|
console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32204
32352
|
return this.getCacheBlockState();
|
|
@@ -32209,17 +32357,20 @@ var GridApi = /** @class */ (function () {
|
|
|
32209
32357
|
GridApi.prototype.getCacheBlockState = function () {
|
|
32210
32358
|
return this.rowNodeBlockLoader.getBlockState();
|
|
32211
32359
|
};
|
|
32360
|
+
/** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
|
|
32212
32361
|
GridApi.prototype.checkGridSize = function () {
|
|
32213
|
-
console.warn("
|
|
32362
|
+
console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
|
|
32214
32363
|
};
|
|
32364
|
+
/** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
|
|
32215
32365
|
GridApi.prototype.getFirstRenderedRow = function () {
|
|
32216
|
-
console.warn('
|
|
32366
|
+
console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
|
|
32217
32367
|
return this.getFirstDisplayedRow();
|
|
32218
32368
|
};
|
|
32219
32369
|
/** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
32220
32370
|
GridApi.prototype.getFirstDisplayedRow = function () {
|
|
32221
32371
|
return this.rowRenderer.getFirstVirtualRenderedRow();
|
|
32222
32372
|
};
|
|
32373
|
+
/** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
|
|
32223
32374
|
GridApi.prototype.getLastRenderedRow = function () {
|
|
32224
32375
|
console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
|
|
32225
32376
|
return this.getLastDisplayedRow();
|
|
@@ -32400,7 +32551,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32400
32551
|
|
|
32401
32552
|
/**
|
|
32402
32553
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
32403
|
-
* @version v28.
|
|
32554
|
+
* @version v28.2.0
|
|
32404
32555
|
* @link https://www.ag-grid.com/
|
|
32405
32556
|
* @license MIT
|
|
32406
32557
|
*/
|
|
@@ -32540,7 +32691,7 @@ var SetLeftFeature = /** @class */ (function (_super) {
|
|
|
32540
32691
|
|
|
32541
32692
|
/**
|
|
32542
32693
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
32543
|
-
* @version v28.
|
|
32694
|
+
* @version v28.2.0
|
|
32544
32695
|
* @link https://www.ag-grid.com/
|
|
32545
32696
|
* @license MIT
|
|
32546
32697
|
*/
|
|
@@ -32597,7 +32748,7 @@ var HoverFeature = /** @class */ (function (_super) {
|
|
|
32597
32748
|
|
|
32598
32749
|
/**
|
|
32599
32750
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
32600
|
-
* @version v28.
|
|
32751
|
+
* @version v28.2.0
|
|
32601
32752
|
* @link https://www.ag-grid.com/
|
|
32602
32753
|
* @license MIT
|
|
32603
32754
|
*/
|
|
@@ -32865,7 +33016,7 @@ var HeaderFilterCellCtrl = /** @class */ (function (_super) {
|
|
|
32865
33016
|
|
|
32866
33017
|
/**
|
|
32867
33018
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
32868
|
-
* @version v28.
|
|
33019
|
+
* @version v28.2.0
|
|
32869
33020
|
* @link https://www.ag-grid.com/
|
|
32870
33021
|
* @license MIT
|
|
32871
33022
|
*/
|
|
@@ -32998,7 +33149,7 @@ var ResizeFeature = /** @class */ (function (_super) {
|
|
|
32998
33149
|
|
|
32999
33150
|
/**
|
|
33000
33151
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
33001
|
-
* @version v28.
|
|
33152
|
+
* @version v28.2.0
|
|
33002
33153
|
* @link https://www.ag-grid.com/
|
|
33003
33154
|
* @license MIT
|
|
33004
33155
|
*/
|
|
@@ -33120,7 +33271,7 @@ var AgCheckbox = /** @class */ (function (_super) {
|
|
|
33120
33271
|
|
|
33121
33272
|
/**
|
|
33122
33273
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
33123
|
-
* @version v28.
|
|
33274
|
+
* @version v28.2.0
|
|
33124
33275
|
* @link https://www.ag-grid.com/
|
|
33125
33276
|
* @license MIT
|
|
33126
33277
|
*/
|
|
@@ -33339,7 +33490,7 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33339
33490
|
|
|
33340
33491
|
/**
|
|
33341
33492
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
33342
|
-
* @version v28.
|
|
33493
|
+
* @version v28.2.0
|
|
33343
33494
|
* @link https://www.ag-grid.com/
|
|
33344
33495
|
* @license MIT
|
|
33345
33496
|
*/
|
|
@@ -33742,7 +33893,9 @@ var HeaderCellCtrl = /** @class */ (function (_super) {
|
|
|
33742
33893
|
};
|
|
33743
33894
|
var stopMeasuring = function () {
|
|
33744
33895
|
isMeasuring = false;
|
|
33745
|
-
|
|
33896
|
+
if (stopResizeObserver) {
|
|
33897
|
+
stopResizeObserver();
|
|
33898
|
+
}
|
|
33746
33899
|
stopResizeObserver = undefined;
|
|
33747
33900
|
};
|
|
33748
33901
|
checkMeasuring();
|
|
@@ -33754,7 +33907,9 @@ var HeaderCellCtrl = /** @class */ (function (_super) {
|
|
|
33754
33907
|
// Displaying the sort icon changes the available area for text, so sort changes can affect height
|
|
33755
33908
|
this.addManagedListener(this.column, Column.EVENT_SORT_CHANGED, function () {
|
|
33756
33909
|
// Rendering changes for sort, happen after the event... not ideal
|
|
33757
|
-
|
|
33910
|
+
if (isMeasuring) {
|
|
33911
|
+
_this.beans.frameworkOverrides.setTimeout(function () { return measureHeight(0); });
|
|
33912
|
+
}
|
|
33758
33913
|
});
|
|
33759
33914
|
this.addRefreshFunction(checkMeasuring);
|
|
33760
33915
|
};
|
|
@@ -33859,7 +34014,7 @@ var HeaderCellCtrl = /** @class */ (function (_super) {
|
|
|
33859
34014
|
|
|
33860
34015
|
/**
|
|
33861
34016
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
33862
|
-
* @version v28.
|
|
34017
|
+
* @version v28.2.0
|
|
33863
34018
|
* @link https://www.ag-grid.com/
|
|
33864
34019
|
* @license MIT
|
|
33865
34020
|
*/
|
|
@@ -34030,7 +34185,7 @@ var GroupResizeFeature = /** @class */ (function (_super) {
|
|
|
34030
34185
|
|
|
34031
34186
|
/**
|
|
34032
34187
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34033
|
-
* @version v28.
|
|
34188
|
+
* @version v28.2.0
|
|
34034
34189
|
* @link https://www.ag-grid.com/
|
|
34035
34190
|
* @license MIT
|
|
34036
34191
|
*/
|
|
@@ -34108,7 +34263,7 @@ var GroupWidthFeature = /** @class */ (function (_super) {
|
|
|
34108
34263
|
|
|
34109
34264
|
/**
|
|
34110
34265
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34111
|
-
* @version v28.
|
|
34266
|
+
* @version v28.2.0
|
|
34112
34267
|
* @link https://www.ag-grid.com/
|
|
34113
34268
|
* @license MIT
|
|
34114
34269
|
*/
|
|
@@ -34361,7 +34516,7 @@ var HeaderGroupCellCtrl = /** @class */ (function (_super) {
|
|
|
34361
34516
|
|
|
34362
34517
|
/**
|
|
34363
34518
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34364
|
-
* @version v28.
|
|
34519
|
+
* @version v28.2.0
|
|
34365
34520
|
* @link https://www.ag-grid.com/
|
|
34366
34521
|
* @license MIT
|
|
34367
34522
|
*/
|
|
@@ -34607,7 +34762,7 @@ var HeaderRowCtrl = /** @class */ (function (_super) {
|
|
|
34607
34762
|
|
|
34608
34763
|
/**
|
|
34609
34764
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34610
|
-
* @version v28.
|
|
34765
|
+
* @version v28.2.0
|
|
34611
34766
|
* @link https://www.ag-grid.com/
|
|
34612
34767
|
* @license MIT
|
|
34613
34768
|
*/
|
|
@@ -34630,7 +34785,7 @@ var __decorate$1g = function (decorators, target, key, desc) {
|
|
|
34630
34785
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34631
34786
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
34632
34787
|
};
|
|
34633
|
-
var __read$
|
|
34788
|
+
var __read$c = function (o, n) {
|
|
34634
34789
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
34635
34790
|
if (!m) return o;
|
|
34636
34791
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -34646,8 +34801,8 @@ var __read$b = function (o, n) {
|
|
|
34646
34801
|
}
|
|
34647
34802
|
return ar;
|
|
34648
34803
|
};
|
|
34649
|
-
var __spread$
|
|
34650
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
34804
|
+
var __spread$a = function () {
|
|
34805
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$c(arguments[i]));
|
|
34651
34806
|
return ar;
|
|
34652
34807
|
};
|
|
34653
34808
|
var HeaderRowContainerCtrl = /** @class */ (function (_super) {
|
|
@@ -34730,7 +34885,7 @@ var HeaderRowContainerCtrl = /** @class */ (function (_super) {
|
|
|
34730
34885
|
this.focusService.focusHeaderPosition({ headerPosition: position });
|
|
34731
34886
|
};
|
|
34732
34887
|
HeaderRowContainerCtrl.prototype.getAllCtrls = function () {
|
|
34733
|
-
var res = __spread$
|
|
34888
|
+
var res = __spread$a(this.groupsRowCtrls, [this.columnsRowCtrl]);
|
|
34734
34889
|
if (this.filtersRowCtrl) {
|
|
34735
34890
|
res.push(this.filtersRowCtrl);
|
|
34736
34891
|
}
|
|
@@ -34843,7 +34998,7 @@ var HeaderRowContainerCtrl = /** @class */ (function (_super) {
|
|
|
34843
34998
|
|
|
34844
34999
|
/**
|
|
34845
35000
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34846
|
-
* @version v28.
|
|
35001
|
+
* @version v28.2.0
|
|
34847
35002
|
* @link https://www.ag-grid.com/
|
|
34848
35003
|
* @license MIT
|
|
34849
35004
|
*/
|
|
@@ -34957,7 +35112,7 @@ var HeaderRowContainerComp = /** @class */ (function (_super) {
|
|
|
34957
35112
|
|
|
34958
35113
|
/**
|
|
34959
35114
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34960
|
-
* @version v28.
|
|
35115
|
+
* @version v28.2.0
|
|
34961
35116
|
* @link https://www.ag-grid.com/
|
|
34962
35117
|
* @license MIT
|
|
34963
35118
|
*/
|
|
@@ -35147,7 +35302,7 @@ var HeaderNavigationService = /** @class */ (function (_super) {
|
|
|
35147
35302
|
|
|
35148
35303
|
/**
|
|
35149
35304
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35150
|
-
* @version v28.
|
|
35305
|
+
* @version v28.2.0
|
|
35151
35306
|
* @link https://www.ag-grid.com/
|
|
35152
35307
|
* @license MIT
|
|
35153
35308
|
*/
|
|
@@ -35299,7 +35454,7 @@ var GridHeaderCtrl = /** @class */ (function (_super) {
|
|
|
35299
35454
|
|
|
35300
35455
|
/**
|
|
35301
35456
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35302
|
-
* @version v28.
|
|
35457
|
+
* @version v28.2.0
|
|
35303
35458
|
* @link https://www.ag-grid.com/
|
|
35304
35459
|
* @license MIT
|
|
35305
35460
|
*/
|
|
@@ -35355,7 +35510,7 @@ var GridHeaderComp = /** @class */ (function (_super) {
|
|
|
35355
35510
|
|
|
35356
35511
|
/**
|
|
35357
35512
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35358
|
-
* @version v28.
|
|
35513
|
+
* @version v28.2.0
|
|
35359
35514
|
* @link https://www.ag-grid.com/
|
|
35360
35515
|
* @license MIT
|
|
35361
35516
|
*/
|
|
@@ -35438,7 +35593,7 @@ var HorizontalResizeService = /** @class */ (function (_super) {
|
|
|
35438
35593
|
|
|
35439
35594
|
/**
|
|
35440
35595
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35441
|
-
* @version v28.
|
|
35596
|
+
* @version v28.2.0
|
|
35442
35597
|
* @link https://www.ag-grid.com/
|
|
35443
35598
|
* @license MIT
|
|
35444
35599
|
*/
|
|
@@ -35576,7 +35731,7 @@ var StandardMenuFactory = /** @class */ (function (_super) {
|
|
|
35576
35731
|
|
|
35577
35732
|
/**
|
|
35578
35733
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35579
|
-
* @version v28.
|
|
35734
|
+
* @version v28.2.0
|
|
35580
35735
|
* @link https://www.ag-grid.com/
|
|
35581
35736
|
* @license MIT
|
|
35582
35737
|
*/
|
|
@@ -35764,7 +35919,7 @@ var __decorate$19 = function (decorators, target, key, desc) {
|
|
|
35764
35919
|
|
|
35765
35920
|
/**
|
|
35766
35921
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35767
|
-
* @version v28.
|
|
35922
|
+
* @version v28.2.0
|
|
35768
35923
|
* @link https://www.ag-grid.com/
|
|
35769
35924
|
* @license MIT
|
|
35770
35925
|
*/
|
|
@@ -35865,7 +36020,7 @@ var ResizeObserverService = /** @class */ (function (_super) {
|
|
|
35865
36020
|
|
|
35866
36021
|
/**
|
|
35867
36022
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35868
|
-
* @version v28.
|
|
36023
|
+
* @version v28.2.0
|
|
35869
36024
|
* @link https://www.ag-grid.com/
|
|
35870
36025
|
* @license MIT
|
|
35871
36026
|
*/
|
|
@@ -36074,7 +36229,7 @@ var AnimationFrameService = /** @class */ (function (_super) {
|
|
|
36074
36229
|
|
|
36075
36230
|
/**
|
|
36076
36231
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
36077
|
-
* @version v28.
|
|
36232
|
+
* @version v28.2.0
|
|
36078
36233
|
* @link https://www.ag-grid.com/
|
|
36079
36234
|
* @license MIT
|
|
36080
36235
|
*/
|
|
@@ -36730,7 +36885,7 @@ var PositionableFeature = /** @class */ (function (_super) {
|
|
|
36730
36885
|
|
|
36731
36886
|
/**
|
|
36732
36887
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
36733
|
-
* @version v28.
|
|
36888
|
+
* @version v28.2.0
|
|
36734
36889
|
* @link https://www.ag-grid.com/
|
|
36735
36890
|
* @license MIT
|
|
36736
36891
|
*/
|
|
@@ -36888,7 +37043,7 @@ var AutoWidthCalculator = /** @class */ (function (_super) {
|
|
|
36888
37043
|
|
|
36889
37044
|
/**
|
|
36890
37045
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
36891
|
-
* @version v28.
|
|
37046
|
+
* @version v28.2.0
|
|
36892
37047
|
* @link https://www.ag-grid.com/
|
|
36893
37048
|
* @license MIT
|
|
36894
37049
|
*/
|
|
@@ -36922,7 +37077,7 @@ var __values$1 = function(o) {
|
|
|
36922
37077
|
};
|
|
36923
37078
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
36924
37079
|
};
|
|
36925
|
-
var __read$
|
|
37080
|
+
var __read$b = function (o, n) {
|
|
36926
37081
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
36927
37082
|
if (!m) return o;
|
|
36928
37083
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -36938,8 +37093,8 @@ var __read$a = function (o, n) {
|
|
|
36938
37093
|
}
|
|
36939
37094
|
return ar;
|
|
36940
37095
|
};
|
|
36941
|
-
var __spread$
|
|
36942
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
37096
|
+
var __spread$9 = function () {
|
|
37097
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$b(arguments[i]));
|
|
36943
37098
|
return ar;
|
|
36944
37099
|
};
|
|
36945
37100
|
var StickyRowFeature = /** @class */ (function (_super) {
|
|
@@ -37051,7 +37206,7 @@ var StickyRowFeature = /** @class */ (function (_super) {
|
|
|
37051
37206
|
rowNode.sticky = true;
|
|
37052
37207
|
return _this.createRowCon(rowNode, false, false);
|
|
37053
37208
|
});
|
|
37054
|
-
(_b = this.stickyRowCtrls).push.apply(_b, __spread$
|
|
37209
|
+
(_b = this.stickyRowCtrls).push.apply(_b, __spread$9(newCtrls));
|
|
37055
37210
|
this.stickyRowCtrls.forEach(function (ctrl) { return ctrl.setRowTop(ctrl.getRowNode().stickyRowTop); });
|
|
37056
37211
|
this.stickyRowCtrls.sort(function (a, b) { return b.getRowNode().rowIndex - a.getRowNode().rowIndex; });
|
|
37057
37212
|
if (this.containerHeight !== height) {
|
|
@@ -37076,7 +37231,7 @@ var StickyRowFeature = /** @class */ (function (_super) {
|
|
|
37076
37231
|
|
|
37077
37232
|
/**
|
|
37078
37233
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
37079
|
-
* @version v28.
|
|
37234
|
+
* @version v28.2.0
|
|
37080
37235
|
* @link https://www.ag-grid.com/
|
|
37081
37236
|
* @license MIT
|
|
37082
37237
|
*/
|
|
@@ -37099,7 +37254,7 @@ var __decorate$13 = function (decorators, target, key, desc) {
|
|
|
37099
37254
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
37100
37255
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
37101
37256
|
};
|
|
37102
|
-
var __read$
|
|
37257
|
+
var __read$a = function (o, n) {
|
|
37103
37258
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
37104
37259
|
if (!m) return o;
|
|
37105
37260
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -37115,8 +37270,8 @@ var __read$9 = function (o, n) {
|
|
|
37115
37270
|
}
|
|
37116
37271
|
return ar;
|
|
37117
37272
|
};
|
|
37118
|
-
var __spread$
|
|
37119
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
37273
|
+
var __spread$8 = function () {
|
|
37274
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$a(arguments[i]));
|
|
37120
37275
|
return ar;
|
|
37121
37276
|
};
|
|
37122
37277
|
var RowRenderer = /** @class */ (function (_super) {
|
|
@@ -37194,7 +37349,7 @@ var RowRenderer = /** @class */ (function (_super) {
|
|
|
37194
37349
|
}
|
|
37195
37350
|
var zombieList = getAllValuesInObject(this.zombieRowCtrls);
|
|
37196
37351
|
var cachedList = this.cachedRowCtrls ? this.cachedRowCtrls.getEntries() : [];
|
|
37197
|
-
this.allRowCtrls = __spread$
|
|
37352
|
+
this.allRowCtrls = __spread$8(liveList, zombieList, cachedList);
|
|
37198
37353
|
};
|
|
37199
37354
|
// in a clean design, each cell would register for each of these events. however when scrolling, all the cells
|
|
37200
37355
|
// registering and de-registering for events is a performance bottleneck. so we register here once and inform
|
|
@@ -37542,7 +37697,7 @@ var RowRenderer = /** @class */ (function (_super) {
|
|
|
37542
37697
|
RowRenderer.prototype.getAllRowCtrls = function () {
|
|
37543
37698
|
var _this = this;
|
|
37544
37699
|
var stickyRowCtrls = (this.stickyRowFeature && this.stickyRowFeature.getStickyRowCtrls()) || [];
|
|
37545
|
-
var res = __spread$
|
|
37700
|
+
var res = __spread$8(this.topRowCtrls, this.bottomRowCtrls, stickyRowCtrls);
|
|
37546
37701
|
Object.keys(this.rowCtrlsByRowIndex).forEach(function (key) { return res.push(_this.rowCtrlsByRowIndex[key]); });
|
|
37547
37702
|
return res;
|
|
37548
37703
|
};
|
|
@@ -38253,7 +38408,7 @@ var RowCtrlCache = /** @class */ (function () {
|
|
|
38253
38408
|
|
|
38254
38409
|
/**
|
|
38255
38410
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38256
|
-
* @version v28.
|
|
38411
|
+
* @version v28.2.0
|
|
38257
38412
|
* @link https://www.ag-grid.com/
|
|
38258
38413
|
* @license MIT
|
|
38259
38414
|
*/
|
|
@@ -38328,7 +38483,7 @@ var ValueFormatterService = /** @class */ (function (_super) {
|
|
|
38328
38483
|
|
|
38329
38484
|
/**
|
|
38330
38485
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38331
|
-
* @version v28.
|
|
38486
|
+
* @version v28.2.0
|
|
38332
38487
|
* @link https://www.ag-grid.com/
|
|
38333
38488
|
* @license MIT
|
|
38334
38489
|
*/
|
|
@@ -38474,7 +38629,7 @@ var PinnedRowModel = /** @class */ (function (_super) {
|
|
|
38474
38629
|
|
|
38475
38630
|
/**
|
|
38476
38631
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38477
|
-
* @version v28.
|
|
38632
|
+
* @version v28.2.0
|
|
38478
38633
|
* @link https://www.ag-grid.com/
|
|
38479
38634
|
* @license MIT
|
|
38480
38635
|
*/
|
|
@@ -38512,7 +38667,7 @@ var ServerSideTransactionResultStatus;
|
|
|
38512
38667
|
|
|
38513
38668
|
/**
|
|
38514
38669
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38515
|
-
* @version v28.
|
|
38670
|
+
* @version v28.2.0
|
|
38516
38671
|
* @link https://www.ag-grid.com/
|
|
38517
38672
|
* @license MIT
|
|
38518
38673
|
*/
|
|
@@ -38576,9 +38731,10 @@ var ChangedPath = /** @class */ (function () {
|
|
|
38576
38731
|
};
|
|
38577
38732
|
// traverseLeafNodes -> used when NOT doing changed path, ie traversing everything. the callback
|
|
38578
38733
|
// will be called for child nodes in addition to parent nodes.
|
|
38579
|
-
ChangedPath.prototype.forEachChangedNodeDepthFirst = function (callback, traverseLeafNodes) {
|
|
38734
|
+
ChangedPath.prototype.forEachChangedNodeDepthFirst = function (callback, traverseLeafNodes, includeUnchangedNodes) {
|
|
38580
38735
|
if (traverseLeafNodes === void 0) { traverseLeafNodes = false; }
|
|
38581
|
-
if (
|
|
38736
|
+
if (includeUnchangedNodes === void 0) { includeUnchangedNodes = false; }
|
|
38737
|
+
if (this.active && !includeUnchangedNodes) {
|
|
38582
38738
|
// if we are active, then use the change path to callback
|
|
38583
38739
|
// only for updated groups
|
|
38584
38740
|
this.depthFirstSearchChangedPath(this.pathRoot, callback);
|
|
@@ -38675,7 +38831,7 @@ var ChangedPath = /** @class */ (function () {
|
|
|
38675
38831
|
|
|
38676
38832
|
/**
|
|
38677
38833
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38678
|
-
* @version v28.
|
|
38834
|
+
* @version v28.2.0
|
|
38679
38835
|
* @link https://www.ag-grid.com/
|
|
38680
38836
|
* @license MIT
|
|
38681
38837
|
*/
|
|
@@ -38774,7 +38930,7 @@ var RowNodeBlock = /** @class */ (function (_super) {
|
|
|
38774
38930
|
|
|
38775
38931
|
/**
|
|
38776
38932
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38777
|
-
* @version v28.
|
|
38933
|
+
* @version v28.2.0
|
|
38778
38934
|
* @link https://www.ag-grid.com/
|
|
38779
38935
|
* @license MIT
|
|
38780
38936
|
*/
|
|
@@ -38898,7 +39054,7 @@ var RowNodeBlockLoader = /** @class */ (function (_super) {
|
|
|
38898
39054
|
|
|
38899
39055
|
/**
|
|
38900
39056
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38901
|
-
* @version v28.
|
|
39057
|
+
* @version v28.2.0
|
|
38902
39058
|
* @link https://www.ag-grid.com/
|
|
38903
39059
|
* @license MIT
|
|
38904
39060
|
*/
|
|
@@ -39211,7 +39367,7 @@ var PaginationProxy = /** @class */ (function (_super) {
|
|
|
39211
39367
|
|
|
39212
39368
|
/**
|
|
39213
39369
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39214
|
-
* @version v28.
|
|
39370
|
+
* @version v28.2.0
|
|
39215
39371
|
* @link https://www.ag-grid.com/
|
|
39216
39372
|
* @license MIT
|
|
39217
39373
|
*/
|
|
@@ -39315,7 +39471,7 @@ var StylingService = /** @class */ (function (_super) {
|
|
|
39315
39471
|
|
|
39316
39472
|
/**
|
|
39317
39473
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39318
|
-
* @version v28.
|
|
39474
|
+
* @version v28.2.0
|
|
39319
39475
|
* @link https://www.ag-grid.com/
|
|
39320
39476
|
* @license MIT
|
|
39321
39477
|
*/
|
|
@@ -39374,7 +39530,7 @@ var AgRadioButton = /** @class */ (function (_super) {
|
|
|
39374
39530
|
|
|
39375
39531
|
/**
|
|
39376
39532
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39377
|
-
* @version v28.
|
|
39533
|
+
* @version v28.2.0
|
|
39378
39534
|
* @link https://www.ag-grid.com/
|
|
39379
39535
|
* @license MIT
|
|
39380
39536
|
*/
|
|
@@ -39406,7 +39562,7 @@ var AgToggleButton = /** @class */ (function (_super) {
|
|
|
39406
39562
|
|
|
39407
39563
|
/**
|
|
39408
39564
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39409
|
-
* @version v28.
|
|
39565
|
+
* @version v28.2.0
|
|
39410
39566
|
* @link https://www.ag-grid.com/
|
|
39411
39567
|
* @license MIT
|
|
39412
39568
|
*/
|
|
@@ -39464,7 +39620,7 @@ var AgInputTextField = /** @class */ (function (_super) {
|
|
|
39464
39620
|
|
|
39465
39621
|
/**
|
|
39466
39622
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39467
|
-
* @version v28.
|
|
39623
|
+
* @version v28.2.0
|
|
39468
39624
|
* @link https://www.ag-grid.com/
|
|
39469
39625
|
* @license MIT
|
|
39470
39626
|
*/
|
|
@@ -39504,7 +39660,7 @@ var AgInputTextArea = /** @class */ (function (_super) {
|
|
|
39504
39660
|
|
|
39505
39661
|
/**
|
|
39506
39662
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39507
|
-
* @version v28.
|
|
39663
|
+
* @version v28.2.0
|
|
39508
39664
|
* @link https://www.ag-grid.com/
|
|
39509
39665
|
* @license MIT
|
|
39510
39666
|
*/
|
|
@@ -39609,7 +39765,7 @@ var AgInputNumberField = /** @class */ (function (_super) {
|
|
|
39609
39765
|
|
|
39610
39766
|
/**
|
|
39611
39767
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39612
|
-
* @version v28.
|
|
39768
|
+
* @version v28.2.0
|
|
39613
39769
|
* @link https://www.ag-grid.com/
|
|
39614
39770
|
* @license MIT
|
|
39615
39771
|
*/
|
|
@@ -39679,7 +39835,7 @@ var AgInputRange = /** @class */ (function (_super) {
|
|
|
39679
39835
|
|
|
39680
39836
|
/**
|
|
39681
39837
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39682
|
-
* @version v28.
|
|
39838
|
+
* @version v28.2.0
|
|
39683
39839
|
* @link https://www.ag-grid.com/
|
|
39684
39840
|
* @license MIT
|
|
39685
39841
|
*/
|
|
@@ -39780,7 +39936,7 @@ var AgSlider = /** @class */ (function (_super) {
|
|
|
39780
39936
|
|
|
39781
39937
|
/**
|
|
39782
39938
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39783
|
-
* @version v28.
|
|
39939
|
+
* @version v28.2.0
|
|
39784
39940
|
* @link https://www.ag-grid.com/
|
|
39785
39941
|
* @license MIT
|
|
39786
39942
|
*/
|
|
@@ -39998,7 +40154,7 @@ var AgAngleSelect = /** @class */ (function (_super) {
|
|
|
39998
40154
|
|
|
39999
40155
|
/**
|
|
40000
40156
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40001
|
-
* @version v28.
|
|
40157
|
+
* @version v28.2.0
|
|
40002
40158
|
* @link https://www.ag-grid.com/
|
|
40003
40159
|
* @license MIT
|
|
40004
40160
|
*/
|
|
@@ -40021,7 +40177,7 @@ var __decorate$X = function (decorators, target, key, desc) {
|
|
|
40021
40177
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
40022
40178
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
40023
40179
|
};
|
|
40024
|
-
var __read$
|
|
40180
|
+
var __read$9 = function (o, n) {
|
|
40025
40181
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
40026
40182
|
if (!m) return o;
|
|
40027
40183
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -40192,7 +40348,7 @@ var AgColorPanel = /** @class */ (function (_super) {
|
|
|
40192
40348
|
};
|
|
40193
40349
|
AgColorPanel.prototype.setValue = function (val) {
|
|
40194
40350
|
var color = Color.fromString(val);
|
|
40195
|
-
var _a = __read$
|
|
40351
|
+
var _a = __read$9(color.toHSB(), 3), h = _a[0], s = _a[1], b = _a[2];
|
|
40196
40352
|
this.H = (isNaN(h) ? 0 : h) / 360;
|
|
40197
40353
|
this.A = color.a;
|
|
40198
40354
|
var spectrumHueRect = this.spectrumHueRect || this.refreshHueRect();
|
|
@@ -40266,7 +40422,7 @@ var AgColorPanel = /** @class */ (function (_super) {
|
|
|
40266
40422
|
|
|
40267
40423
|
/**
|
|
40268
40424
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40269
|
-
* @version v28.
|
|
40425
|
+
* @version v28.2.0
|
|
40270
40426
|
* @link https://www.ag-grid.com/
|
|
40271
40427
|
* @license MIT
|
|
40272
40428
|
*/
|
|
@@ -40454,7 +40610,7 @@ var AgPanel = /** @class */ (function (_super) {
|
|
|
40454
40610
|
|
|
40455
40611
|
/**
|
|
40456
40612
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40457
|
-
* @version v28.
|
|
40613
|
+
* @version v28.2.0
|
|
40458
40614
|
* @link https://www.ag-grid.com/
|
|
40459
40615
|
* @license MIT
|
|
40460
40616
|
*/
|
|
@@ -40471,8 +40627,8 @@ var __extends$V = (function () {
|
|
|
40471
40627
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40472
40628
|
};
|
|
40473
40629
|
})();
|
|
40474
|
-
var __assign$
|
|
40475
|
-
__assign$
|
|
40630
|
+
var __assign$2 = function () {
|
|
40631
|
+
__assign$2 = Object.assign || function(t) {
|
|
40476
40632
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
40477
40633
|
s = arguments[i];
|
|
40478
40634
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -40480,7 +40636,7 @@ var __assign$1 = function () {
|
|
|
40480
40636
|
}
|
|
40481
40637
|
return t;
|
|
40482
40638
|
};
|
|
40483
|
-
return __assign$
|
|
40639
|
+
return __assign$2.apply(this, arguments);
|
|
40484
40640
|
};
|
|
40485
40641
|
var __decorate$V = function (decorators, target, key, desc) {
|
|
40486
40642
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -40491,7 +40647,7 @@ var __decorate$V = function (decorators, target, key, desc) {
|
|
|
40491
40647
|
var AgDialog = /** @class */ (function (_super) {
|
|
40492
40648
|
__extends$V(AgDialog, _super);
|
|
40493
40649
|
function AgDialog(config) {
|
|
40494
|
-
var _this = _super.call(this, __assign$
|
|
40650
|
+
var _this = _super.call(this, __assign$2(__assign$2({}, config), { popup: true })) || this;
|
|
40495
40651
|
_this.isMaximizable = false;
|
|
40496
40652
|
_this.isMaximized = false;
|
|
40497
40653
|
_this.maximizeListeners = [];
|
|
@@ -40624,7 +40780,7 @@ var AgDialog = /** @class */ (function (_super) {
|
|
|
40624
40780
|
|
|
40625
40781
|
/**
|
|
40626
40782
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40627
|
-
* @version v28.
|
|
40783
|
+
* @version v28.2.0
|
|
40628
40784
|
* @link https://www.ag-grid.com/
|
|
40629
40785
|
* @license MIT
|
|
40630
40786
|
*/
|
|
@@ -40716,7 +40872,7 @@ var AgColorPicker = /** @class */ (function (_super) {
|
|
|
40716
40872
|
|
|
40717
40873
|
/**
|
|
40718
40874
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40719
|
-
* @version v28.
|
|
40875
|
+
* @version v28.2.0
|
|
40720
40876
|
* @link https://www.ag-grid.com/
|
|
40721
40877
|
* @license MIT
|
|
40722
40878
|
*/
|
|
@@ -40945,7 +41101,7 @@ var AgGroupComponent = /** @class */ (function (_super) {
|
|
|
40945
41101
|
|
|
40946
41102
|
/**
|
|
40947
41103
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40948
|
-
* @version v28.
|
|
41104
|
+
* @version v28.2.0
|
|
40949
41105
|
* @link https://www.ag-grid.com/
|
|
40950
41106
|
* @license MIT
|
|
40951
41107
|
*/
|
|
@@ -41107,7 +41263,7 @@ var TabGuardCtrl = /** @class */ (function (_super) {
|
|
|
41107
41263
|
|
|
41108
41264
|
/**
|
|
41109
41265
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
41110
|
-
* @version v28.
|
|
41266
|
+
* @version v28.2.0
|
|
41111
41267
|
* @link https://www.ag-grid.com/
|
|
41112
41268
|
* @license MIT
|
|
41113
41269
|
*/
|
|
@@ -41124,7 +41280,7 @@ var __extends$R = (function () {
|
|
|
41124
41280
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41125
41281
|
};
|
|
41126
41282
|
})();
|
|
41127
|
-
var __read$
|
|
41283
|
+
var __read$8 = function (o, n) {
|
|
41128
41284
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
41129
41285
|
if (!m) return o;
|
|
41130
41286
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -41140,8 +41296,8 @@ var __read$7 = function (o, n) {
|
|
|
41140
41296
|
}
|
|
41141
41297
|
return ar;
|
|
41142
41298
|
};
|
|
41143
|
-
var __spread$
|
|
41144
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
41299
|
+
var __spread$7 = function () {
|
|
41300
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$8(arguments[i]));
|
|
41145
41301
|
return ar;
|
|
41146
41302
|
};
|
|
41147
41303
|
var TabGuardComp = /** @class */ (function (_super) {
|
|
@@ -41186,7 +41342,7 @@ var TabGuardComp = /** @class */ (function (_super) {
|
|
|
41186
41342
|
TabGuardComp.prototype.removeAllChildrenExceptTabGuards = function () {
|
|
41187
41343
|
var tabGuards = [this.eTopGuard, this.eBottomGuard];
|
|
41188
41344
|
clearElement(this.getFocusableElement());
|
|
41189
|
-
this.addTabGuards.apply(this, __spread$
|
|
41345
|
+
this.addTabGuards.apply(this, __spread$7(tabGuards));
|
|
41190
41346
|
};
|
|
41191
41347
|
TabGuardComp.prototype.forceFocusOutOfContainer = function (up) {
|
|
41192
41348
|
if (up === void 0) { up = false; }
|
|
@@ -41209,7 +41365,7 @@ var TabGuardComp = /** @class */ (function (_super) {
|
|
|
41209
41365
|
|
|
41210
41366
|
/**
|
|
41211
41367
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
41212
|
-
* @version v28.
|
|
41368
|
+
* @version v28.2.0
|
|
41213
41369
|
* @link https://www.ag-grid.com/
|
|
41214
41370
|
* @license MIT
|
|
41215
41371
|
*/
|
|
@@ -41226,8 +41382,8 @@ var __extends$Q = (function () {
|
|
|
41226
41382
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41227
41383
|
};
|
|
41228
41384
|
})();
|
|
41229
|
-
var __assign = function () {
|
|
41230
|
-
__assign = Object.assign || function(t) {
|
|
41385
|
+
var __assign$1 = function () {
|
|
41386
|
+
__assign$1 = Object.assign || function(t) {
|
|
41231
41387
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
41232
41388
|
s = arguments[i];
|
|
41233
41389
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -41235,7 +41391,7 @@ var __assign = function () {
|
|
|
41235
41391
|
}
|
|
41236
41392
|
return t;
|
|
41237
41393
|
};
|
|
41238
|
-
return __assign.apply(this, arguments);
|
|
41394
|
+
return __assign$1.apply(this, arguments);
|
|
41239
41395
|
};
|
|
41240
41396
|
var __decorate$S = function (decorators, target, key, desc) {
|
|
41241
41397
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -41312,7 +41468,7 @@ var AgMenuList = /** @class */ (function (_super) {
|
|
|
41312
41468
|
};
|
|
41313
41469
|
AgMenuList.prototype.addItem = function (menuItemDef) {
|
|
41314
41470
|
var _this = this;
|
|
41315
|
-
var menuItem = this.createManagedBean(new AgMenuItemComponent(__assign(__assign({}, menuItemDef), { isAnotherSubMenuOpen: function () { return _this.menuItems.some(function (m) { return m.isSubMenuOpen(); }); } })));
|
|
41471
|
+
var menuItem = this.createManagedBean(new AgMenuItemComponent(__assign$1(__assign$1({}, menuItemDef), { isAnotherSubMenuOpen: function () { return _this.menuItems.some(function (m) { return m.isSubMenuOpen(); }); } })));
|
|
41316
41472
|
menuItem.setParentComponent(this);
|
|
41317
41473
|
setAriaLevel(menuItem.getGui(), this.level);
|
|
41318
41474
|
this.menuItems.push(menuItem);
|
|
@@ -41426,7 +41582,7 @@ var AgMenuList = /** @class */ (function (_super) {
|
|
|
41426
41582
|
|
|
41427
41583
|
/**
|
|
41428
41584
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
41429
|
-
* @version v28.
|
|
41585
|
+
* @version v28.2.0
|
|
41430
41586
|
* @link https://www.ag-grid.com/
|
|
41431
41587
|
* @license MIT
|
|
41432
41588
|
*/
|
|
@@ -41489,7 +41645,7 @@ var AgMenuPanel = /** @class */ (function (_super) {
|
|
|
41489
41645
|
|
|
41490
41646
|
/**
|
|
41491
41647
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
41492
|
-
* @version v28.
|
|
41648
|
+
* @version v28.2.0
|
|
41493
41649
|
* @link https://www.ag-grid.com/
|
|
41494
41650
|
* @license MIT
|
|
41495
41651
|
*/
|
|
@@ -41806,7 +41962,7 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
|
|
|
41806
41962
|
|
|
41807
41963
|
/**
|
|
41808
41964
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
41809
|
-
* @version v28.
|
|
41965
|
+
* @version v28.2.0
|
|
41810
41966
|
* @link https://www.ag-grid.com/
|
|
41811
41967
|
* @license MIT
|
|
41812
41968
|
*/
|
|
@@ -41829,7 +41985,7 @@ var __decorate$P = function (decorators, target, key, desc) {
|
|
|
41829
41985
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
41830
41986
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
41831
41987
|
};
|
|
41832
|
-
var __read$
|
|
41988
|
+
var __read$7 = function (o, n) {
|
|
41833
41989
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
41834
41990
|
if (!m) return o;
|
|
41835
41991
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -41845,8 +42001,8 @@ var __read$6 = function (o, n) {
|
|
|
41845
42001
|
}
|
|
41846
42002
|
return ar;
|
|
41847
42003
|
};
|
|
41848
|
-
var __spread$
|
|
41849
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
42004
|
+
var __spread$6 = function () {
|
|
42005
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$7(arguments[i]));
|
|
41850
42006
|
return ar;
|
|
41851
42007
|
};
|
|
41852
42008
|
var FocusService = /** @class */ (function (_super) {
|
|
@@ -41886,7 +42042,7 @@ var FocusService = /** @class */ (function (_super) {
|
|
|
41886
42042
|
var docControllers = FocusService_1.instancesMonitored.get(doc);
|
|
41887
42043
|
var newControllers = [];
|
|
41888
42044
|
if (docControllers && docControllers.length) {
|
|
41889
|
-
newControllers = __spread$
|
|
42045
|
+
newControllers = __spread$6(docControllers).filter(function (currentGridCore) { return currentGridCore !== controller; });
|
|
41890
42046
|
FocusService_1.instancesMonitored.set(doc, newControllers);
|
|
41891
42047
|
}
|
|
41892
42048
|
if (newControllers.length === 0) {
|
|
@@ -42308,7 +42464,7 @@ var FocusService = /** @class */ (function (_super) {
|
|
|
42308
42464
|
|
|
42309
42465
|
/**
|
|
42310
42466
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
42311
|
-
* @version v28.
|
|
42467
|
+
* @version v28.2.0
|
|
42312
42468
|
* @link https://www.ag-grid.com/
|
|
42313
42469
|
* @license MIT
|
|
42314
42470
|
*/
|
|
@@ -42331,7 +42487,7 @@ var __decorate$O = function (decorators, target, key, desc) {
|
|
|
42331
42487
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
42332
42488
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
42333
42489
|
};
|
|
42334
|
-
var __read$
|
|
42490
|
+
var __read$6 = function (o, n) {
|
|
42335
42491
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
42336
42492
|
if (!m) return o;
|
|
42337
42493
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -42347,8 +42503,8 @@ var __read$5 = function (o, n) {
|
|
|
42347
42503
|
}
|
|
42348
42504
|
return ar;
|
|
42349
42505
|
};
|
|
42350
|
-
var __spread$
|
|
42351
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
42506
|
+
var __spread$5 = function () {
|
|
42507
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$6(arguments[i]));
|
|
42352
42508
|
return ar;
|
|
42353
42509
|
};
|
|
42354
42510
|
var DIRECTION;
|
|
@@ -42626,7 +42782,7 @@ var PopupService = /** @class */ (function (_super) {
|
|
|
42626
42782
|
var eWrapper = document.createElement('div');
|
|
42627
42783
|
var allThemes = this.environment.getTheme().allThemes;
|
|
42628
42784
|
if (allThemes.length) {
|
|
42629
|
-
(_a = eWrapper.classList).add.apply(_a, __spread$
|
|
42785
|
+
(_a = eWrapper.classList).add.apply(_a, __spread$5(allThemes));
|
|
42630
42786
|
}
|
|
42631
42787
|
eWrapper.classList.add('ag-popup');
|
|
42632
42788
|
eChild.classList.add(this.gridOptionsWrapper.isEnableRtl() ? 'ag-rtl' : 'ag-ltr', 'ag-popup-child');
|
|
@@ -42871,7 +43027,7 @@ var PopupService = /** @class */ (function (_super) {
|
|
|
42871
43027
|
|
|
42872
43028
|
/**
|
|
42873
43029
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
42874
|
-
* @version v28.
|
|
43030
|
+
* @version v28.2.0
|
|
42875
43031
|
* @link https://www.ag-grid.com/
|
|
42876
43032
|
* @license MIT
|
|
42877
43033
|
*/
|
|
@@ -43162,7 +43318,7 @@ var __decorate$N = function (decorators, target, key, desc) {
|
|
|
43162
43318
|
|
|
43163
43319
|
/**
|
|
43164
43320
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
43165
|
-
* @version v28.
|
|
43321
|
+
* @version v28.2.0
|
|
43166
43322
|
* @link https://www.ag-grid.com/
|
|
43167
43323
|
* @license MIT
|
|
43168
43324
|
*/
|
|
@@ -43202,7 +43358,7 @@ var VanillaFrameworkOverrides = /** @class */ (function () {
|
|
|
43202
43358
|
|
|
43203
43359
|
/**
|
|
43204
43360
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
43205
|
-
* @version v28.
|
|
43361
|
+
* @version v28.2.0
|
|
43206
43362
|
* @link https://www.ag-grid.com/
|
|
43207
43363
|
* @license MIT
|
|
43208
43364
|
*/
|
|
@@ -43225,7 +43381,7 @@ var __decorate$M = function (decorators, target, key, desc) {
|
|
|
43225
43381
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
43226
43382
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
43227
43383
|
};
|
|
43228
|
-
var __read$
|
|
43384
|
+
var __read$5 = function (o, n) {
|
|
43229
43385
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
43230
43386
|
if (!m) return o;
|
|
43231
43387
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -43241,8 +43397,8 @@ var __read$4 = function (o, n) {
|
|
|
43241
43397
|
}
|
|
43242
43398
|
return ar;
|
|
43243
43399
|
};
|
|
43244
|
-
var __spread$
|
|
43245
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
43400
|
+
var __spread$4 = function () {
|
|
43401
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$5(arguments[i]));
|
|
43246
43402
|
return ar;
|
|
43247
43403
|
};
|
|
43248
43404
|
var CellNavigationService = /** @class */ (function (_super) {
|
|
@@ -43413,7 +43569,7 @@ var CellNavigationService = /** @class */ (function (_super) {
|
|
|
43413
43569
|
if (!this.gridOptionsWrapper.isGroupRowsSticky() || !rowNode || !rowNode.sticky) {
|
|
43414
43570
|
return;
|
|
43415
43571
|
}
|
|
43416
|
-
var stickyRowCtrls = __spread$
|
|
43572
|
+
var stickyRowCtrls = __spread$4(this.rowRenderer.getStickyTopRowCtrls()).sort(function (a, b) { return a.getRowNode().rowIndex - b.getRowNode().rowIndex; });
|
|
43417
43573
|
var diff = up ? -1 : 1;
|
|
43418
43574
|
var idx = stickyRowCtrls.findIndex(function (ctrl) { return ctrl.getRowNode().rowIndex === rowNode.rowIndex; });
|
|
43419
43575
|
var nextCtrl = stickyRowCtrls[idx + diff];
|
|
@@ -43578,7 +43734,7 @@ var CellNavigationService = /** @class */ (function (_super) {
|
|
|
43578
43734
|
|
|
43579
43735
|
/**
|
|
43580
43736
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
43581
|
-
* @version v28.
|
|
43737
|
+
* @version v28.2.0
|
|
43582
43738
|
* @link https://www.ag-grid.com/
|
|
43583
43739
|
* @license MIT
|
|
43584
43740
|
*/
|
|
@@ -43831,7 +43987,7 @@ var AlignedGridsService = /** @class */ (function (_super) {
|
|
|
43831
43987
|
|
|
43832
43988
|
/**
|
|
43833
43989
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
43834
|
-
* @version v28.
|
|
43990
|
+
* @version v28.2.0
|
|
43835
43991
|
* @link https://www.ag-grid.com/
|
|
43836
43992
|
* @license MIT
|
|
43837
43993
|
*/
|
|
@@ -44162,7 +44318,7 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
44162
44318
|
|
|
44163
44319
|
/**
|
|
44164
44320
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
44165
|
-
* @version v28.
|
|
44321
|
+
* @version v28.2.0
|
|
44166
44322
|
* @link https://www.ag-grid.com/
|
|
44167
44323
|
* @license MIT
|
|
44168
44324
|
*/
|
|
@@ -44465,7 +44621,7 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44465
44621
|
|
|
44466
44622
|
/**
|
|
44467
44623
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
44468
|
-
* @version v28.
|
|
44624
|
+
* @version v28.2.0
|
|
44469
44625
|
* @link https://www.ag-grid.com/
|
|
44470
44626
|
* @license MIT
|
|
44471
44627
|
*/
|
|
@@ -44803,7 +44959,7 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44803
44959
|
|
|
44804
44960
|
/**
|
|
44805
44961
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
44806
|
-
* @version v28.
|
|
44962
|
+
* @version v28.2.0
|
|
44807
44963
|
* @link https://www.ag-grid.com/
|
|
44808
44964
|
* @license MIT
|
|
44809
44965
|
*/
|
|
@@ -44909,7 +45065,7 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
44909
45065
|
|
|
44910
45066
|
/**
|
|
44911
45067
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
44912
|
-
* @version v28.
|
|
45068
|
+
* @version v28.2.0
|
|
44913
45069
|
* @link https://www.ag-grid.com/
|
|
44914
45070
|
* @license MIT
|
|
44915
45071
|
*/
|
|
@@ -44994,7 +45150,7 @@ var TemplateService = /** @class */ (function (_super) {
|
|
|
44994
45150
|
|
|
44995
45151
|
/**
|
|
44996
45152
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
44997
|
-
* @version v28.
|
|
45153
|
+
* @version v28.2.0
|
|
44998
45154
|
* @link https://www.ag-grid.com/
|
|
44999
45155
|
* @license MIT
|
|
45000
45156
|
*/
|
|
@@ -45061,7 +45217,7 @@ var Logger = /** @class */ (function () {
|
|
|
45061
45217
|
|
|
45062
45218
|
/**
|
|
45063
45219
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45064
|
-
* @version v28.
|
|
45220
|
+
* @version v28.2.0
|
|
45065
45221
|
* @link https://www.ag-grid.com/
|
|
45066
45222
|
* @license MIT
|
|
45067
45223
|
*/
|
|
@@ -45206,7 +45362,7 @@ var GridCtrl = /** @class */ (function (_super) {
|
|
|
45206
45362
|
|
|
45207
45363
|
/**
|
|
45208
45364
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45209
|
-
* @version v28.
|
|
45365
|
+
* @version v28.2.0
|
|
45210
45366
|
* @link https://www.ag-grid.com/
|
|
45211
45367
|
* @license MIT
|
|
45212
45368
|
*/
|
|
@@ -45323,7 +45479,7 @@ var GridComp = /** @class */ (function (_super) {
|
|
|
45323
45479
|
|
|
45324
45480
|
/**
|
|
45325
45481
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45326
|
-
* @version v28.
|
|
45482
|
+
* @version v28.2.0
|
|
45327
45483
|
* @link https://www.ag-grid.com/
|
|
45328
45484
|
* @license MIT
|
|
45329
45485
|
*/
|
|
@@ -45346,7 +45502,7 @@ var __decorate$C = function (decorators, target, key, desc) {
|
|
|
45346
45502
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
45347
45503
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
45348
45504
|
};
|
|
45349
|
-
var __read$
|
|
45505
|
+
var __read$4 = function (o, n) {
|
|
45350
45506
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
45351
45507
|
if (!m) return o;
|
|
45352
45508
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -45362,8 +45518,8 @@ var __read$3 = function (o, n) {
|
|
|
45362
45518
|
}
|
|
45363
45519
|
return ar;
|
|
45364
45520
|
};
|
|
45365
|
-
var __spread$
|
|
45366
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
45521
|
+
var __spread$3 = function () {
|
|
45522
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$4(arguments[i]));
|
|
45367
45523
|
return ar;
|
|
45368
45524
|
};
|
|
45369
45525
|
var SortController = /** @class */ (function (_super) {
|
|
@@ -45389,7 +45545,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45389
45545
|
var rowGroupColumns = this.columnModel.getSourceColumnsForGroupColumn(column);
|
|
45390
45546
|
var sortableRowGroupColumns = (_a = rowGroupColumns) === null || _a === void 0 ? void 0 : _a.filter(function (col) { return col.getColDef().sortable; });
|
|
45391
45547
|
if (sortableRowGroupColumns) {
|
|
45392
|
-
columnsToUpdate = __spread$
|
|
45548
|
+
columnsToUpdate = __spread$3([column], sortableRowGroupColumns);
|
|
45393
45549
|
}
|
|
45394
45550
|
}
|
|
45395
45551
|
}
|
|
@@ -45411,7 +45567,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45411
45567
|
// reset sort index on everything
|
|
45412
45568
|
this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach(function (col) { return col.setSortIndex(null); });
|
|
45413
45569
|
var allSortedColsWithoutChanges = allSortedCols.filter(function (col) { return col !== lastSortIndexCol; });
|
|
45414
|
-
var sortedColsWithIndices = !!lastSortIndexCol.getSort() ? __spread$
|
|
45570
|
+
var sortedColsWithIndices = !!lastSortIndexCol.getSort() ? __spread$3(allSortedColsWithoutChanges, [lastSortIndexCol]) : allSortedColsWithoutChanges;
|
|
45415
45571
|
sortedColsWithIndices.forEach(function (col, idx) { return (col.setSortIndex(idx)); });
|
|
45416
45572
|
};
|
|
45417
45573
|
// gets called by API, so if data changes, use can call this, which will end up
|
|
@@ -45553,7 +45709,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45553
45709
|
}
|
|
45554
45710
|
// if column has unique data, its sorting is independent - but can still be mixed
|
|
45555
45711
|
var columnHasUniqueData = !!column.getColDef().field;
|
|
45556
|
-
var sortableColumns = columnHasUniqueData ? __spread$
|
|
45712
|
+
var sortableColumns = columnHasUniqueData ? __spread$3([column], linkedColumns) : linkedColumns;
|
|
45557
45713
|
var firstSort = sortableColumns[0].getSort();
|
|
45558
45714
|
// the == is intentional, as null and undefined both represent no sort, which means they are equivalent
|
|
45559
45715
|
var allMatch = sortableColumns.every(function (col) { return col.getSort() == firstSort; });
|
|
@@ -45592,7 +45748,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45592
45748
|
|
|
45593
45749
|
/**
|
|
45594
45750
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45595
|
-
* @version v28.
|
|
45751
|
+
* @version v28.2.0
|
|
45596
45752
|
* @link https://www.ag-grid.com/
|
|
45597
45753
|
* @license MIT
|
|
45598
45754
|
*/
|
|
@@ -45645,7 +45801,7 @@ var ColumnHoverService = /** @class */ (function (_super) {
|
|
|
45645
45801
|
|
|
45646
45802
|
/**
|
|
45647
45803
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45648
|
-
* @version v28.
|
|
45804
|
+
* @version v28.2.0
|
|
45649
45805
|
* @link https://www.ag-grid.com/
|
|
45650
45806
|
* @license MIT
|
|
45651
45807
|
*/
|
|
@@ -45763,7 +45919,7 @@ var ColumnAnimationService = /** @class */ (function (_super) {
|
|
|
45763
45919
|
|
|
45764
45920
|
/**
|
|
45765
45921
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45766
|
-
* @version v28.
|
|
45922
|
+
* @version v28.2.0
|
|
45767
45923
|
* @link https://www.ag-grid.com/
|
|
45768
45924
|
* @license MIT
|
|
45769
45925
|
*/
|
|
@@ -45905,7 +46061,7 @@ var AutoGroupColService = /** @class */ (function (_super) {
|
|
|
45905
46061
|
|
|
45906
46062
|
/**
|
|
45907
46063
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45908
|
-
* @version v28.
|
|
46064
|
+
* @version v28.2.0
|
|
45909
46065
|
* @link https://www.ag-grid.com/
|
|
45910
46066
|
* @license MIT
|
|
45911
46067
|
*/
|
|
@@ -45976,7 +46132,7 @@ var PaginationAutoPageSizeService = /** @class */ (function (_super) {
|
|
|
45976
46132
|
|
|
45977
46133
|
/**
|
|
45978
46134
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45979
|
-
* @version v28.
|
|
46135
|
+
* @version v28.2.0
|
|
45980
46136
|
* @link https://www.ag-grid.com/
|
|
45981
46137
|
* @license MIT
|
|
45982
46138
|
*/
|
|
@@ -46045,7 +46201,7 @@ var ValueCache = /** @class */ (function (_super) {
|
|
|
46045
46201
|
|
|
46046
46202
|
/**
|
|
46047
46203
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46048
|
-
* @version v28.
|
|
46204
|
+
* @version v28.2.0
|
|
46049
46205
|
* @link https://www.ag-grid.com/
|
|
46050
46206
|
* @license MIT
|
|
46051
46207
|
*/
|
|
@@ -46122,7 +46278,7 @@ var ChangeDetectionService = /** @class */ (function (_super) {
|
|
|
46122
46278
|
|
|
46123
46279
|
/**
|
|
46124
46280
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46125
|
-
* @version v28.
|
|
46281
|
+
* @version v28.2.0
|
|
46126
46282
|
* @link https://www.ag-grid.com/
|
|
46127
46283
|
* @license MIT
|
|
46128
46284
|
*/
|
|
@@ -46201,7 +46357,7 @@ var AgComponentUtils = /** @class */ (function (_super) {
|
|
|
46201
46357
|
|
|
46202
46358
|
/**
|
|
46203
46359
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46204
|
-
* @version v28.
|
|
46360
|
+
* @version v28.2.0
|
|
46205
46361
|
* @link https://www.ag-grid.com/
|
|
46206
46362
|
* @license MIT
|
|
46207
46363
|
*/
|
|
@@ -46299,11 +46455,11 @@ var ComponentMetadataProvider = /** @class */ (function (_super) {
|
|
|
46299
46455
|
},
|
|
46300
46456
|
filter: {
|
|
46301
46457
|
mandatoryMethodList: ['isFilterActive', 'doesFilterPass', 'getModel', 'setModel'],
|
|
46302
|
-
optionalMethodList: ['afterGuiAttached', 'onNewRowsLoaded', 'getModelAsString', 'onFloatingFilterChanged']
|
|
46458
|
+
optionalMethodList: ['afterGuiAttached', 'onNewRowsLoaded', 'getModelAsString', 'onFloatingFilterChanged', 'onAnyFilterChanged']
|
|
46303
46459
|
},
|
|
46304
46460
|
filterComponent: {
|
|
46305
46461
|
mandatoryMethodList: ['isFilterActive', 'doesFilterPass', 'getModel', 'setModel'],
|
|
46306
|
-
optionalMethodList: ['afterGuiAttached', 'onNewRowsLoaded', 'getModelAsString', 'onFloatingFilterChanged']
|
|
46462
|
+
optionalMethodList: ['afterGuiAttached', 'onNewRowsLoaded', 'getModelAsString', 'onFloatingFilterChanged', 'onAnyFilterChanged']
|
|
46307
46463
|
},
|
|
46308
46464
|
statusPanel: {
|
|
46309
46465
|
mandatoryMethodList: [],
|
|
@@ -46336,7 +46492,7 @@ var ComponentMetadataProvider = /** @class */ (function (_super) {
|
|
|
46336
46492
|
|
|
46337
46493
|
/**
|
|
46338
46494
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46339
|
-
* @version v28.
|
|
46495
|
+
* @version v28.2.0
|
|
46340
46496
|
* @link https://www.ag-grid.com/
|
|
46341
46497
|
* @license MIT
|
|
46342
46498
|
*/
|
|
@@ -46498,7 +46654,7 @@ var Environment = /** @class */ (function (_super) {
|
|
|
46498
46654
|
|
|
46499
46655
|
/**
|
|
46500
46656
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46501
|
-
* @version v28.
|
|
46657
|
+
* @version v28.2.0
|
|
46502
46658
|
* @link https://www.ag-grid.com/
|
|
46503
46659
|
* @license MIT
|
|
46504
46660
|
*/
|
|
@@ -46644,7 +46800,7 @@ var RowContainerHeightService = /** @class */ (function (_super) {
|
|
|
46644
46800
|
|
|
46645
46801
|
/**
|
|
46646
46802
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46647
|
-
* @version v28.
|
|
46803
|
+
* @version v28.2.0
|
|
46648
46804
|
* @link https://www.ag-grid.com/
|
|
46649
46805
|
* @license MIT
|
|
46650
46806
|
*/
|
|
@@ -46718,7 +46874,7 @@ var SelectableService = /** @class */ (function (_super) {
|
|
|
46718
46874
|
|
|
46719
46875
|
/**
|
|
46720
46876
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46721
|
-
* @version v28.
|
|
46877
|
+
* @version v28.2.0
|
|
46722
46878
|
* @link https://www.ag-grid.com/
|
|
46723
46879
|
* @license MIT
|
|
46724
46880
|
*/
|
|
@@ -46966,7 +47122,7 @@ var PaginationComp = /** @class */ (function (_super) {
|
|
|
46966
47122
|
|
|
46967
47123
|
/**
|
|
46968
47124
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46969
|
-
* @version v28.
|
|
47125
|
+
* @version v28.2.0
|
|
46970
47126
|
* @link https://www.ag-grid.com/
|
|
46971
47127
|
* @license MIT
|
|
46972
47128
|
*/
|
|
@@ -47132,7 +47288,7 @@ var OverlayWrapperComponent = /** @class */ (function (_super) {
|
|
|
47132
47288
|
|
|
47133
47289
|
/**
|
|
47134
47290
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47135
|
-
* @version v28.
|
|
47291
|
+
* @version v28.2.0
|
|
47136
47292
|
* @link https://www.ag-grid.com/
|
|
47137
47293
|
* @license MIT
|
|
47138
47294
|
*/
|
|
@@ -47277,7 +47433,7 @@ var RowPositionUtils = /** @class */ (function (_super) {
|
|
|
47277
47433
|
|
|
47278
47434
|
/**
|
|
47279
47435
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47280
|
-
* @version v28.
|
|
47436
|
+
* @version v28.2.0
|
|
47281
47437
|
* @link https://www.ag-grid.com/
|
|
47282
47438
|
* @license MIT
|
|
47283
47439
|
*/
|
|
@@ -47326,7 +47482,7 @@ var CellPositionUtils = /** @class */ (function (_super) {
|
|
|
47326
47482
|
|
|
47327
47483
|
/**
|
|
47328
47484
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47329
|
-
* @version v28.
|
|
47485
|
+
* @version v28.2.0
|
|
47330
47486
|
* @link https://www.ag-grid.com/
|
|
47331
47487
|
* @license MIT
|
|
47332
47488
|
*/
|
|
@@ -47349,15 +47505,16 @@ var UndoRedoAction = /** @class */ (function () {
|
|
|
47349
47505
|
}
|
|
47350
47506
|
return UndoRedoAction;
|
|
47351
47507
|
}());
|
|
47352
|
-
var
|
|
47353
|
-
__extends$l(
|
|
47354
|
-
function
|
|
47508
|
+
var RangeUndoRedoAction = /** @class */ (function (_super) {
|
|
47509
|
+
__extends$l(RangeUndoRedoAction, _super);
|
|
47510
|
+
function RangeUndoRedoAction(cellValueChanges, initialRange, finalRange, ranges) {
|
|
47355
47511
|
var _this = _super.call(this, cellValueChanges) || this;
|
|
47356
47512
|
_this.initialRange = initialRange;
|
|
47357
47513
|
_this.finalRange = finalRange;
|
|
47514
|
+
_this.ranges = ranges;
|
|
47358
47515
|
return _this;
|
|
47359
47516
|
}
|
|
47360
|
-
return
|
|
47517
|
+
return RangeUndoRedoAction;
|
|
47361
47518
|
}(UndoRedoAction));
|
|
47362
47519
|
var UndoRedoStack = /** @class */ (function () {
|
|
47363
47520
|
function UndoRedoStack(maxStackSize) {
|
|
@@ -47390,7 +47547,7 @@ var UndoRedoStack = /** @class */ (function () {
|
|
|
47390
47547
|
|
|
47391
47548
|
/**
|
|
47392
47549
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47393
|
-
* @version v28.
|
|
47550
|
+
* @version v28.2.0
|
|
47394
47551
|
* @link https://www.ag-grid.com/
|
|
47395
47552
|
* @license MIT
|
|
47396
47553
|
*/
|
|
@@ -47407,12 +47564,43 @@ var __extends$k = (function () {
|
|
|
47407
47564
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
47408
47565
|
};
|
|
47409
47566
|
})();
|
|
47567
|
+
var __assign = function () {
|
|
47568
|
+
__assign = Object.assign || function(t) {
|
|
47569
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
47570
|
+
s = arguments[i];
|
|
47571
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
47572
|
+
t[p] = s[p];
|
|
47573
|
+
}
|
|
47574
|
+
return t;
|
|
47575
|
+
};
|
|
47576
|
+
return __assign.apply(this, arguments);
|
|
47577
|
+
};
|
|
47410
47578
|
var __decorate$m = function (decorators, target, key, desc) {
|
|
47411
47579
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
47412
47580
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
47413
47581
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
47414
47582
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
47415
47583
|
};
|
|
47584
|
+
var __read$3 = function (o, n) {
|
|
47585
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
47586
|
+
if (!m) return o;
|
|
47587
|
+
var i = m.call(o), r, ar = [], e;
|
|
47588
|
+
try {
|
|
47589
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
47590
|
+
}
|
|
47591
|
+
catch (error) { e = { error: error }; }
|
|
47592
|
+
finally {
|
|
47593
|
+
try {
|
|
47594
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
47595
|
+
}
|
|
47596
|
+
finally { if (e) throw e.error; }
|
|
47597
|
+
}
|
|
47598
|
+
return ar;
|
|
47599
|
+
};
|
|
47600
|
+
var __spread$2 = function () {
|
|
47601
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$3(arguments[i]));
|
|
47602
|
+
return ar;
|
|
47603
|
+
};
|
|
47416
47604
|
var UndoRedoService = /** @class */ (function (_super) {
|
|
47417
47605
|
__extends$k(UndoRedoService, _super);
|
|
47418
47606
|
function UndoRedoService() {
|
|
@@ -47421,12 +47609,12 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47421
47609
|
_this.activeCellEdit = null;
|
|
47422
47610
|
_this.activeRowEdit = null;
|
|
47423
47611
|
_this.isPasting = false;
|
|
47424
|
-
_this.
|
|
47612
|
+
_this.isRangeInAction = false;
|
|
47425
47613
|
_this.onCellValueChanged = function (event) {
|
|
47426
47614
|
var eventCell = { column: event.column, rowIndex: event.rowIndex, rowPinned: event.rowPinned };
|
|
47427
47615
|
var isCellEditing = _this.activeCellEdit !== null && _this.cellPositionUtils.equals(_this.activeCellEdit, eventCell);
|
|
47428
47616
|
var isRowEditing = _this.activeRowEdit !== null && _this.rowPositionUtils.sameRow(_this.activeRowEdit, eventCell);
|
|
47429
|
-
var shouldCaptureAction = isCellEditing || isRowEditing || _this.isPasting || _this.
|
|
47617
|
+
var shouldCaptureAction = isCellEditing || isRowEditing || _this.isPasting || _this.isRangeInAction;
|
|
47430
47618
|
if (!shouldCaptureAction) {
|
|
47431
47619
|
return;
|
|
47432
47620
|
}
|
|
@@ -47461,6 +47649,7 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47461
47649
|
this.addCellEditingListeners();
|
|
47462
47650
|
this.addPasteListeners();
|
|
47463
47651
|
this.addFillListeners();
|
|
47652
|
+
this.addCellKeyListeners();
|
|
47464
47653
|
this.addManagedListener(this.eventService, Events.EVENT_CELL_VALUE_CHANGED, this.onCellValueChanged);
|
|
47465
47654
|
// undo / redo is restricted to actual editing so we clear the stacks when other operations are
|
|
47466
47655
|
// performed that change the order of the row / cols.
|
|
@@ -47477,6 +47666,9 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47477
47666
|
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PINNED, this.clearStacks);
|
|
47478
47667
|
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_VISIBLE, this.clearStacks);
|
|
47479
47668
|
this.addManagedListener(this.eventService, Events.EVENT_ROW_DRAG_END, this.clearStacks);
|
|
47669
|
+
this.ctrlsService.whenReady(function () {
|
|
47670
|
+
_this.gridBodyCtrl = _this.ctrlsService.getGridBodyCtrl();
|
|
47671
|
+
});
|
|
47480
47672
|
};
|
|
47481
47673
|
UndoRedoService.prototype.getCurrentUndoStackSize = function () {
|
|
47482
47674
|
return this.undoStack ? this.undoStack.getCurrentStackSize() : 0;
|
|
@@ -47493,11 +47685,11 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47493
47685
|
return;
|
|
47494
47686
|
}
|
|
47495
47687
|
this.processAction(undoAction, function (cellValueChange) { return cellValueChange.oldValue; });
|
|
47496
|
-
if (undoAction instanceof
|
|
47497
|
-
this.
|
|
47688
|
+
if (undoAction instanceof RangeUndoRedoAction) {
|
|
47689
|
+
this.processRange(undoAction.ranges || [undoAction.initialRange]);
|
|
47498
47690
|
}
|
|
47499
47691
|
else {
|
|
47500
|
-
this.
|
|
47692
|
+
this.processCell(undoAction.cellValueChanges);
|
|
47501
47693
|
}
|
|
47502
47694
|
this.redoStack.push(undoAction);
|
|
47503
47695
|
};
|
|
@@ -47510,11 +47702,11 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47510
47702
|
return;
|
|
47511
47703
|
}
|
|
47512
47704
|
this.processAction(redoAction, function (cellValueChange) { return cellValueChange.newValue; });
|
|
47513
|
-
if (redoAction instanceof
|
|
47514
|
-
this.
|
|
47705
|
+
if (redoAction instanceof RangeUndoRedoAction) {
|
|
47706
|
+
this.processRange(redoAction.ranges || [redoAction.finalRange]);
|
|
47515
47707
|
}
|
|
47516
47708
|
else {
|
|
47517
|
-
this.
|
|
47709
|
+
this.processCell(redoAction.cellValueChanges);
|
|
47518
47710
|
}
|
|
47519
47711
|
this.undoStack.push(redoAction);
|
|
47520
47712
|
};
|
|
@@ -47528,20 +47720,30 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47528
47720
|
if (!currentRow.displayed) {
|
|
47529
47721
|
return;
|
|
47530
47722
|
}
|
|
47531
|
-
|
|
47723
|
+
var extractedValue = valueExtractor(cellValueChange);
|
|
47724
|
+
// when values are 'complex objects' we need to invoke their `toString()` to obtain value
|
|
47725
|
+
var value = (typeof extractedValue.toString === 'function') ? extractedValue.toString() : extractedValue;
|
|
47726
|
+
currentRow.setDataValue(columnId, value);
|
|
47532
47727
|
});
|
|
47533
47728
|
};
|
|
47534
|
-
UndoRedoService.prototype.
|
|
47729
|
+
UndoRedoService.prototype.processRange = function (ranges) {
|
|
47730
|
+
var _this = this;
|
|
47535
47731
|
var lastFocusedCell;
|
|
47536
|
-
|
|
47732
|
+
this.rangeService.removeAllCellRanges(true);
|
|
47733
|
+
ranges.forEach(function (range, idx) {
|
|
47734
|
+
if (!range) {
|
|
47735
|
+
return;
|
|
47736
|
+
}
|
|
47537
47737
|
var startRow = range.startRow;
|
|
47538
47738
|
var endRow = range.endRow;
|
|
47539
|
-
|
|
47540
|
-
|
|
47541
|
-
|
|
47542
|
-
|
|
47543
|
-
|
|
47544
|
-
|
|
47739
|
+
if (idx === ranges.length - 1) {
|
|
47740
|
+
lastFocusedCell = {
|
|
47741
|
+
rowPinned: startRow.rowPinned,
|
|
47742
|
+
rowIndex: startRow.rowIndex,
|
|
47743
|
+
columnId: range.startColumn.getColId()
|
|
47744
|
+
};
|
|
47745
|
+
_this.setLastFocusedCell(lastFocusedCell);
|
|
47746
|
+
}
|
|
47545
47747
|
var cellRangeParams = {
|
|
47546
47748
|
rowStartIndex: startRow.rowIndex,
|
|
47547
47749
|
rowStartPinned: startRow.rowPinned,
|
|
@@ -47550,28 +47752,35 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47550
47752
|
columnStart: range.startColumn,
|
|
47551
47753
|
columns: range.columns
|
|
47552
47754
|
};
|
|
47553
|
-
|
|
47554
|
-
|
|
47555
|
-
|
|
47755
|
+
_this.rangeService.addCellRange(cellRangeParams);
|
|
47756
|
+
});
|
|
47757
|
+
};
|
|
47758
|
+
UndoRedoService.prototype.processCell = function (cellValueChanges) {
|
|
47556
47759
|
var cellValueChange = cellValueChanges[0];
|
|
47557
47760
|
var rowIndex = cellValueChange.rowIndex, rowPinned = cellValueChange.rowPinned;
|
|
47558
47761
|
var rowPosition = { rowIndex: rowIndex, rowPinned: rowPinned };
|
|
47559
47762
|
var row = this.getRowNode(rowPosition);
|
|
47560
|
-
lastFocusedCell = {
|
|
47763
|
+
var lastFocusedCell = {
|
|
47561
47764
|
rowPinned: cellValueChange.rowPinned,
|
|
47562
47765
|
rowIndex: row.rowIndex,
|
|
47563
47766
|
columnId: cellValueChange.columnId
|
|
47564
47767
|
};
|
|
47565
|
-
this.setLastFocusedCell(lastFocusedCell);
|
|
47768
|
+
this.setLastFocusedCell(lastFocusedCell, true);
|
|
47566
47769
|
};
|
|
47567
|
-
UndoRedoService.prototype.setLastFocusedCell = function (lastFocusedCell) {
|
|
47770
|
+
UndoRedoService.prototype.setLastFocusedCell = function (lastFocusedCell, setRangeToCell) {
|
|
47568
47771
|
var rowIndex = lastFocusedCell.rowIndex, columnId = lastFocusedCell.columnId, rowPinned = lastFocusedCell.rowPinned;
|
|
47569
|
-
this.
|
|
47570
|
-
this.
|
|
47571
|
-
if (
|
|
47572
|
-
|
|
47772
|
+
var scrollFeature = this.gridBodyCtrl.getScrollFeature();
|
|
47773
|
+
var column = this.columnModel.getGridColumn(columnId);
|
|
47774
|
+
if (!column) {
|
|
47775
|
+
return;
|
|
47776
|
+
}
|
|
47777
|
+
scrollFeature.ensureIndexVisible(rowIndex);
|
|
47778
|
+
scrollFeature.ensureColumnVisible(column);
|
|
47779
|
+
var cellPosition = { rowIndex: rowIndex, column: column, rowPinned: rowPinned };
|
|
47780
|
+
this.focusService.setFocusedCell(__assign(__assign({}, cellPosition), { forceBrowserFocus: true }));
|
|
47781
|
+
if (setRangeToCell) {
|
|
47782
|
+
this.rangeService.setRangeToCell(cellPosition);
|
|
47573
47783
|
}
|
|
47574
|
-
this.focusService.setFocusedCell({ rowIndex: rowIndex, column: columnId, rowPinned: rowPinned, forceBrowserFocus: true });
|
|
47575
47784
|
};
|
|
47576
47785
|
UndoRedoService.prototype.addRowEditingListeners = function () {
|
|
47577
47786
|
var _this = this;
|
|
@@ -47589,9 +47798,9 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47589
47798
|
this.addManagedListener(this.eventService, Events.EVENT_CELL_EDITING_STARTED, function (e) {
|
|
47590
47799
|
_this.activeCellEdit = { column: e.column, rowIndex: e.rowIndex, rowPinned: e.rowPinned };
|
|
47591
47800
|
});
|
|
47592
|
-
this.addManagedListener(this.eventService, Events.EVENT_CELL_EDITING_STOPPED, function () {
|
|
47801
|
+
this.addManagedListener(this.eventService, Events.EVENT_CELL_EDITING_STOPPED, function (e) {
|
|
47593
47802
|
_this.activeCellEdit = null;
|
|
47594
|
-
var shouldPushAction = !_this.activeRowEdit && !_this.isPasting && !_this.
|
|
47803
|
+
var shouldPushAction = e.valueChanged && !_this.activeRowEdit && !_this.isPasting && !_this.isRangeInAction;
|
|
47595
47804
|
if (shouldPushAction) {
|
|
47596
47805
|
var action = new UndoRedoAction(_this.cellValueChanges);
|
|
47597
47806
|
_this.pushActionsToUndoStack(action);
|
|
@@ -47612,12 +47821,29 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47612
47821
|
UndoRedoService.prototype.addFillListeners = function () {
|
|
47613
47822
|
var _this = this;
|
|
47614
47823
|
this.addManagedListener(this.eventService, Events.EVENT_FILL_START, function () {
|
|
47615
|
-
_this.
|
|
47824
|
+
_this.isRangeInAction = true;
|
|
47616
47825
|
});
|
|
47617
47826
|
this.addManagedListener(this.eventService, Events.EVENT_FILL_END, function (event) {
|
|
47618
|
-
var action = new
|
|
47827
|
+
var action = new RangeUndoRedoAction(_this.cellValueChanges, event.initialRange, event.finalRange);
|
|
47619
47828
|
_this.pushActionsToUndoStack(action);
|
|
47620
|
-
_this.
|
|
47829
|
+
_this.isRangeInAction = false;
|
|
47830
|
+
});
|
|
47831
|
+
};
|
|
47832
|
+
UndoRedoService.prototype.addCellKeyListeners = function () {
|
|
47833
|
+
var _this = this;
|
|
47834
|
+
this.addManagedListener(this.eventService, Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START, function () {
|
|
47835
|
+
_this.isRangeInAction = true;
|
|
47836
|
+
});
|
|
47837
|
+
this.addManagedListener(this.eventService, Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END, function () {
|
|
47838
|
+
var action;
|
|
47839
|
+
if (_this.rangeService && _this.gridOptionsWrapper.isEnableRangeSelection()) {
|
|
47840
|
+
action = new RangeUndoRedoAction(_this.cellValueChanges, undefined, undefined, __spread$2(_this.rangeService.getCellRanges()));
|
|
47841
|
+
}
|
|
47842
|
+
else {
|
|
47843
|
+
action = new UndoRedoAction(_this.cellValueChanges);
|
|
47844
|
+
}
|
|
47845
|
+
_this.pushActionsToUndoStack(action);
|
|
47846
|
+
_this.isRangeInAction = false;
|
|
47621
47847
|
});
|
|
47622
47848
|
};
|
|
47623
47849
|
UndoRedoService.prototype.pushActionsToUndoStack = function (action) {
|
|
@@ -47639,8 +47865,8 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47639
47865
|
Autowired('focusService')
|
|
47640
47866
|
], UndoRedoService.prototype, "focusService", void 0);
|
|
47641
47867
|
__decorate$m([
|
|
47642
|
-
Autowired('
|
|
47643
|
-
], UndoRedoService.prototype, "
|
|
47868
|
+
Autowired('ctrlsService')
|
|
47869
|
+
], UndoRedoService.prototype, "ctrlsService", void 0);
|
|
47644
47870
|
__decorate$m([
|
|
47645
47871
|
Autowired('rowModel')
|
|
47646
47872
|
], UndoRedoService.prototype, "rowModel", void 0);
|
|
@@ -47653,6 +47879,12 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47653
47879
|
__decorate$m([
|
|
47654
47880
|
Autowired('rowPositionUtils')
|
|
47655
47881
|
], UndoRedoService.prototype, "rowPositionUtils", void 0);
|
|
47882
|
+
__decorate$m([
|
|
47883
|
+
Autowired('columnModel')
|
|
47884
|
+
], UndoRedoService.prototype, "columnModel", void 0);
|
|
47885
|
+
__decorate$m([
|
|
47886
|
+
Optional('rangeService')
|
|
47887
|
+
], UndoRedoService.prototype, "rangeService", void 0);
|
|
47656
47888
|
__decorate$m([
|
|
47657
47889
|
PostConstruct
|
|
47658
47890
|
], UndoRedoService.prototype, "init", null);
|
|
@@ -47664,7 +47896,7 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47664
47896
|
|
|
47665
47897
|
/**
|
|
47666
47898
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47667
|
-
* @version v28.
|
|
47899
|
+
* @version v28.2.0
|
|
47668
47900
|
* @link https://www.ag-grid.com/
|
|
47669
47901
|
* @license MIT
|
|
47670
47902
|
*/
|
|
@@ -47746,7 +47978,7 @@ var HeaderPositionUtils = /** @class */ (function (_super) {
|
|
|
47746
47978
|
|
|
47747
47979
|
/**
|
|
47748
47980
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47749
|
-
* @version v28.
|
|
47981
|
+
* @version v28.2.0
|
|
47750
47982
|
* @link https://www.ag-grid.com/
|
|
47751
47983
|
* @license MIT
|
|
47752
47984
|
*/
|
|
@@ -47831,7 +48063,7 @@ var ColumnDefFactory = /** @class */ (function () {
|
|
|
47831
48063
|
|
|
47832
48064
|
/**
|
|
47833
48065
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47834
|
-
* @version v28.
|
|
48066
|
+
* @version v28.2.0
|
|
47835
48067
|
* @link https://www.ag-grid.com/
|
|
47836
48068
|
* @license MIT
|
|
47837
48069
|
*/
|
|
@@ -47972,7 +48204,7 @@ var RowCssClassCalculator = /** @class */ (function () {
|
|
|
47972
48204
|
|
|
47973
48205
|
/**
|
|
47974
48206
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47975
|
-
* @version v28.
|
|
48207
|
+
* @version v28.2.0
|
|
47976
48208
|
* @link https://www.ag-grid.com/
|
|
47977
48209
|
* @license MIT
|
|
47978
48210
|
*/
|
|
@@ -48094,7 +48326,7 @@ var RowNodeSorter = /** @class */ (function () {
|
|
|
48094
48326
|
|
|
48095
48327
|
/**
|
|
48096
48328
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48097
|
-
* @version v28.
|
|
48329
|
+
* @version v28.2.0
|
|
48098
48330
|
* @link https://www.ag-grid.com/
|
|
48099
48331
|
* @license MIT
|
|
48100
48332
|
*/
|
|
@@ -48306,7 +48538,7 @@ var CtrlsService = /** @class */ (function (_super) {
|
|
|
48306
48538
|
|
|
48307
48539
|
/**
|
|
48308
48540
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48309
|
-
* @version v28.
|
|
48541
|
+
* @version v28.2.0
|
|
48310
48542
|
* @link https://www.ag-grid.com/
|
|
48311
48543
|
* @license MIT
|
|
48312
48544
|
*/
|
|
@@ -48354,7 +48586,7 @@ var CtrlsFactory = /** @class */ (function (_super) {
|
|
|
48354
48586
|
|
|
48355
48587
|
/**
|
|
48356
48588
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48357
|
-
* @version v28.
|
|
48589
|
+
* @version v28.2.0
|
|
48358
48590
|
* @link https://www.ag-grid.com/
|
|
48359
48591
|
* @license MIT
|
|
48360
48592
|
*/
|
|
@@ -48479,6 +48711,7 @@ var FakeHScrollCtrl = /** @class */ (function (_super) {
|
|
|
48479
48711
|
this.view.setHeight(scrollContainerSize);
|
|
48480
48712
|
this.view.setViewportHeight(scrollContainerSize);
|
|
48481
48713
|
this.view.setContainerHeight(scrollContainerSize);
|
|
48714
|
+
this.view.addOrRemoveCssClass('ag-hidden', !hScrollShowing);
|
|
48482
48715
|
};
|
|
48483
48716
|
FakeHScrollCtrl.prototype.getViewport = function () {
|
|
48484
48717
|
return this.eViewport;
|
|
@@ -48503,7 +48736,7 @@ var FakeHScrollCtrl = /** @class */ (function (_super) {
|
|
|
48503
48736
|
|
|
48504
48737
|
/**
|
|
48505
48738
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48506
|
-
* @version v28.
|
|
48739
|
+
* @version v28.2.0
|
|
48507
48740
|
* @link https://www.ag-grid.com/
|
|
48508
48741
|
* @license MIT
|
|
48509
48742
|
*/
|
|
@@ -48573,7 +48806,7 @@ var FakeHScrollComp = /** @class */ (function (_super) {
|
|
|
48573
48806
|
|
|
48574
48807
|
/**
|
|
48575
48808
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48576
|
-
* @version v28.
|
|
48809
|
+
* @version v28.2.0
|
|
48577
48810
|
* @link https://www.ag-grid.com/
|
|
48578
48811
|
* @license MIT
|
|
48579
48812
|
*/
|
|
@@ -48640,7 +48873,7 @@ var PinnedWidthService = /** @class */ (function (_super) {
|
|
|
48640
48873
|
|
|
48641
48874
|
/**
|
|
48642
48875
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48643
|
-
* @version v28.
|
|
48876
|
+
* @version v28.2.0
|
|
48644
48877
|
* @link https://www.ag-grid.com/
|
|
48645
48878
|
* @license MIT
|
|
48646
48879
|
*/
|
|
@@ -48723,7 +48956,7 @@ var RowNodeEventThrottle = /** @class */ (function (_super) {
|
|
|
48723
48956
|
|
|
48724
48957
|
/**
|
|
48725
48958
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48726
|
-
* @version v28.
|
|
48959
|
+
* @version v28.2.0
|
|
48727
48960
|
* @link https://www.ag-grid.com/
|
|
48728
48961
|
* @license MIT
|
|
48729
48962
|
*/
|
|
@@ -48990,7 +49223,7 @@ var GridCoreCreator = /** @class */ (function () {
|
|
|
48990
49223
|
|
|
48991
49224
|
/**
|
|
48992
49225
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48993
|
-
* @version v28.
|
|
49226
|
+
* @version v28.2.0
|
|
48994
49227
|
* @link https://www.ag-grid.com/
|
|
48995
49228
|
* @license MIT
|
|
48996
49229
|
*/
|
|
@@ -49004,7 +49237,7 @@ var BarColumnLabelPlacement;
|
|
|
49004
49237
|
|
|
49005
49238
|
/**
|
|
49006
49239
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
49007
|
-
* @version v28.
|
|
49240
|
+
* @version v28.2.0
|
|
49008
49241
|
* @link https://www.ag-grid.com/
|
|
49009
49242
|
* @license MIT
|
|
49010
49243
|
*/
|
|
@@ -49345,6 +49578,7 @@ var ClientSideRowModel = /** @class */ (function (_super) {
|
|
|
49345
49578
|
__extends$c(ClientSideRowModel, _super);
|
|
49346
49579
|
function ClientSideRowModel() {
|
|
49347
49580
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
49581
|
+
_this.onRowHeightChanged_debounced = _.debounce(_this.onRowHeightChanged.bind(_this), 100);
|
|
49348
49582
|
_this.rowsToDisplay = []; // the rows mapped to rows to display
|
|
49349
49583
|
return _this;
|
|
49350
49584
|
}
|
|
@@ -50106,6 +50340,15 @@ var ClientSideRowModel = /** @class */ (function (_super) {
|
|
|
50106
50340
|
ClientSideRowModel.prototype.onRowHeightChanged = function () {
|
|
50107
50341
|
this.refreshModel({ step: ClientSideRowModelSteps.MAP, keepRenderedRows: true, keepEditingRows: true, keepUndoRedoStack: true });
|
|
50108
50342
|
};
|
|
50343
|
+
/** This method is debounced. It is used for row auto-height. If we don't debounce,
|
|
50344
|
+
* then the Row Models will end up recalculating each row position
|
|
50345
|
+
* for each row height change and result in the Row Renderer laying out rows.
|
|
50346
|
+
* This is particularly bad if using print layout, and showing eg 1,000 rows,
|
|
50347
|
+
* each row will change it's height, causing Row Model to update 1,000 times.
|
|
50348
|
+
*/
|
|
50349
|
+
ClientSideRowModel.prototype.onRowHeightChangedDebounced = function () {
|
|
50350
|
+
this.onRowHeightChanged_debounced();
|
|
50351
|
+
};
|
|
50109
50352
|
ClientSideRowModel.prototype.resetRowHeights = function () {
|
|
50110
50353
|
var atLeastOne = false;
|
|
50111
50354
|
this.forEachNode(function (rowNode) {
|
|
@@ -51686,7 +51929,8 @@ var BaseGridSerializingSession = /** @class */ (function () {
|
|
|
51686
51929
|
};
|
|
51687
51930
|
BaseGridSerializingSession.prototype.extractRowCellValue = function (column, index, accumulatedRowIndex, type, node) {
|
|
51688
51931
|
// we render the group summary text e.g. "-> Parent -> Child"...
|
|
51689
|
-
var
|
|
51932
|
+
var hideOpenParents = this.gridOptionsWrapper.isGroupHideOpenParents();
|
|
51933
|
+
var value = (!hideOpenParents && this.shouldRenderGroupSummaryCell(node, column, index))
|
|
51690
51934
|
? this.createValueForGroupNode(node)
|
|
51691
51935
|
: this.valueService.getValue(column, node);
|
|
51692
51936
|
var processedValue = this.processCell({
|
|
@@ -51850,7 +52094,7 @@ var CsvSerializingSession = /** @class */ (function (_super) {
|
|
|
51850
52094
|
onColumn: this.onNewHeaderGroupingRowColumn.bind(this)
|
|
51851
52095
|
};
|
|
51852
52096
|
};
|
|
51853
|
-
CsvSerializingSession.prototype.onNewHeaderGroupingRowColumn = function (header, index, span) {
|
|
52097
|
+
CsvSerializingSession.prototype.onNewHeaderGroupingRowColumn = function (columnGroup, header, index, span) {
|
|
51854
52098
|
if (index != 0) {
|
|
51855
52099
|
this.result += this.columnSeparator;
|
|
51856
52100
|
}
|
|
@@ -52188,6 +52432,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
52188
52432
|
var usingSsrm = rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
|
|
52189
52433
|
var onlySelectedNonStandardModel = !usingCsrm && params.onlySelected;
|
|
52190
52434
|
var processRow = _this.processRow.bind(_this, gridSerializingSession, params, columnsToExport);
|
|
52435
|
+
var _a = params.exportedRows, exportedRows = _a === void 0 ? 'filteredAndSorted' : _a;
|
|
52191
52436
|
if (params.rowPositions) {
|
|
52192
52437
|
params.rowPositions
|
|
52193
52438
|
// pinnedRows are processed by `processPinnedTopRows` and `processPinnedBottomsRows`
|
|
@@ -52219,7 +52464,10 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
52219
52464
|
// here is everything else - including standard row model and selected. we don't use
|
|
52220
52465
|
// the selection model even when just using selected, so that the result is the order
|
|
52221
52466
|
// of the rows appearing on the screen.
|
|
52222
|
-
if (
|
|
52467
|
+
if (exportedRows === 'all') {
|
|
52468
|
+
rowModel.forEachNode(processRow);
|
|
52469
|
+
}
|
|
52470
|
+
else if (usingCsrm) {
|
|
52223
52471
|
rowModel.forEachNodeAfterFilterAndSort(processRow);
|
|
52224
52472
|
}
|
|
52225
52473
|
else if (usingSsrm) {
|
|
@@ -52317,7 +52565,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
52317
52565
|
}
|
|
52318
52566
|
return collapsibleGroups;
|
|
52319
52567
|
}, []);
|
|
52320
|
-
gridRowIterator.onColumn(name || '', columnIndex++, columnGroup.getLeafColumns().length - 1, collapsibleGroupRanges);
|
|
52568
|
+
gridRowIterator.onColumn(columnGroup, name || '', columnIndex++, columnGroup.getLeafColumns().length - 1, collapsibleGroupRanges);
|
|
52321
52569
|
});
|
|
52322
52570
|
};
|
|
52323
52571
|
__decorate([
|