@siemens/ix-aggrid 1.0.0-beta.4 → 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
package/dist/esm/{ag-grid-community.auto.esm-02be9483.js → ag-grid-community.auto.esm-db7de02b.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v28.
|
|
2
|
+
* @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v28.2.0
|
|
3
3
|
* @link https://www.ag-grid.com/
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
8
|
-
* @version v28.
|
|
8
|
+
* @version v28.2.0
|
|
9
9
|
* @link https://www.ag-grid.com/
|
|
10
10
|
* @license MIT
|
|
11
11
|
*/
|
|
@@ -159,7 +159,7 @@ var GenericUtils = /*#__PURE__*/Object.freeze({
|
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
162
|
-
* @version v28.
|
|
162
|
+
* @version v28.2.0
|
|
163
163
|
* @link https://www.ag-grid.com/
|
|
164
164
|
* @license MIT
|
|
165
165
|
*/
|
|
@@ -205,7 +205,7 @@ var ColumnKeyCreator = /** @class */ (function () {
|
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
208
|
-
* @version v28.
|
|
208
|
+
* @version v28.2.0
|
|
209
209
|
* @link https://www.ag-grid.com/
|
|
210
210
|
* @license MIT
|
|
211
211
|
*/
|
|
@@ -461,7 +461,7 @@ var ObjectUtils = /*#__PURE__*/Object.freeze({
|
|
|
461
461
|
|
|
462
462
|
/**
|
|
463
463
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
464
|
-
* @version v28.
|
|
464
|
+
* @version v28.2.0
|
|
465
465
|
* @link https://www.ag-grid.com/
|
|
466
466
|
* @license MIT
|
|
467
467
|
*/
|
|
@@ -639,7 +639,7 @@ var FunctionUtils = /*#__PURE__*/Object.freeze({
|
|
|
639
639
|
|
|
640
640
|
/**
|
|
641
641
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
642
|
-
* @version v28.
|
|
642
|
+
* @version v28.2.0
|
|
643
643
|
* @link https://www.ag-grid.com/
|
|
644
644
|
* @license MIT
|
|
645
645
|
*/
|
|
@@ -952,12 +952,12 @@ function getOrCreateProps$1(target) {
|
|
|
952
952
|
|
|
953
953
|
/**
|
|
954
954
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
955
|
-
* @version v28.
|
|
955
|
+
* @version v28.2.0
|
|
956
956
|
* @link https://www.ag-grid.com/
|
|
957
957
|
* @license MIT
|
|
958
958
|
*/
|
|
959
|
-
var __assign$
|
|
960
|
-
__assign$
|
|
959
|
+
var __assign$i = function () {
|
|
960
|
+
__assign$i = Object.assign || function(t) {
|
|
961
961
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
962
962
|
s = arguments[i];
|
|
963
963
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -965,7 +965,7 @@ var __assign$h = function () {
|
|
|
965
965
|
}
|
|
966
966
|
return t;
|
|
967
967
|
};
|
|
968
|
-
return __assign$
|
|
968
|
+
return __assign$i.apply(this, arguments);
|
|
969
969
|
};
|
|
970
970
|
var __decorate$2A = function (decorators, target, key, desc) {
|
|
971
971
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1051,7 +1051,7 @@ var EventService = /** @class */ (function () {
|
|
|
1051
1051
|
if (this.gridOptionsWrapper) {
|
|
1052
1052
|
// Apply common properties to all dispatched events if this event service has had its beans set with gridOptionsWrapper.
|
|
1053
1053
|
// Note there are multiple instances of EventService that are used local to components which do not set gridOptionsWrapper.
|
|
1054
|
-
agEvent = __assign$
|
|
1054
|
+
agEvent = __assign$i(__assign$i({}, event), { api: this.gridOptionsWrapper.getApi(), columnApi: this.gridOptionsWrapper.getColumnApi(), context: this.gridOptionsWrapper.getContext() });
|
|
1055
1055
|
}
|
|
1056
1056
|
this.dispatchToListeners(agEvent, true);
|
|
1057
1057
|
this.dispatchToListeners(agEvent, false);
|
|
@@ -1132,7 +1132,7 @@ var EventService = /** @class */ (function () {
|
|
|
1132
1132
|
|
|
1133
1133
|
/**
|
|
1134
1134
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
1135
|
-
* @version v28.
|
|
1135
|
+
* @version v28.2.0
|
|
1136
1136
|
* @link https://www.ag-grid.com/
|
|
1137
1137
|
* @license MIT
|
|
1138
1138
|
*/
|
|
@@ -1171,7 +1171,7 @@ var Constants = /** @class */ (function () {
|
|
|
1171
1171
|
|
|
1172
1172
|
/**
|
|
1173
1173
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
1174
|
-
* @version v28.
|
|
1174
|
+
* @version v28.2.0
|
|
1175
1175
|
* @link https://www.ag-grid.com/
|
|
1176
1176
|
* @license MIT
|
|
1177
1177
|
*/
|
|
@@ -1220,7 +1220,7 @@ var ModuleNames;
|
|
|
1220
1220
|
|
|
1221
1221
|
/**
|
|
1222
1222
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
1223
|
-
* @version v28.
|
|
1223
|
+
* @version v28.2.0
|
|
1224
1224
|
* @link https://www.ag-grid.com/
|
|
1225
1225
|
* @license MIT
|
|
1226
1226
|
*/
|
|
@@ -1283,7 +1283,7 @@ var ModuleRegistry = /** @class */ (function () {
|
|
|
1283
1283
|
|
|
1284
1284
|
/**
|
|
1285
1285
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
1286
|
-
* @version v28.
|
|
1286
|
+
* @version v28.2.0
|
|
1287
1287
|
* @link https://www.ag-grid.com/
|
|
1288
1288
|
* @license MIT
|
|
1289
1289
|
*/
|
|
@@ -1983,7 +1983,7 @@ var Column = /** @class */ (function () {
|
|
|
1983
1983
|
|
|
1984
1984
|
/**
|
|
1985
1985
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
1986
|
-
* @version v28.
|
|
1986
|
+
* @version v28.2.0
|
|
1987
1987
|
* @link https://www.ag-grid.com/
|
|
1988
1988
|
* @license MIT
|
|
1989
1989
|
*/
|
|
@@ -2118,7 +2118,7 @@ var ArrayUtils = /*#__PURE__*/Object.freeze({
|
|
|
2118
2118
|
|
|
2119
2119
|
/**
|
|
2120
2120
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2121
|
-
* @version v28.
|
|
2121
|
+
* @version v28.2.0
|
|
2122
2122
|
* @link https://www.ag-grid.com/
|
|
2123
2123
|
* @license MIT
|
|
2124
2124
|
*/
|
|
@@ -2405,7 +2405,7 @@ var ColumnGroup = /** @class */ (function () {
|
|
|
2405
2405
|
|
|
2406
2406
|
/**
|
|
2407
2407
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2408
|
-
* @version v28.
|
|
2408
|
+
* @version v28.2.0
|
|
2409
2409
|
* @link https://www.ag-grid.com/
|
|
2410
2410
|
* @license MIT
|
|
2411
2411
|
*/
|
|
@@ -2572,7 +2572,7 @@ var ProvidedColumnGroup = /** @class */ (function () {
|
|
|
2572
2572
|
|
|
2573
2573
|
/**
|
|
2574
2574
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2575
|
-
* @version v28.
|
|
2575
|
+
* @version v28.2.0
|
|
2576
2576
|
* @link https://www.ag-grid.com/
|
|
2577
2577
|
* @license MIT
|
|
2578
2578
|
*/
|
|
@@ -2589,7 +2589,7 @@ var DefaultColumnTypes = {
|
|
|
2589
2589
|
|
|
2590
2590
|
/**
|
|
2591
2591
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2592
|
-
* @version v28.
|
|
2592
|
+
* @version v28.2.0
|
|
2593
2593
|
* @link https://www.ag-grid.com/
|
|
2594
2594
|
* @license MIT
|
|
2595
2595
|
*/
|
|
@@ -2729,7 +2729,7 @@ var EventUtils = /*#__PURE__*/Object.freeze({
|
|
|
2729
2729
|
|
|
2730
2730
|
/**
|
|
2731
2731
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2732
|
-
* @version v28.
|
|
2732
|
+
* @version v28.2.0
|
|
2733
2733
|
* @link https://www.ag-grid.com/
|
|
2734
2734
|
* @license MIT
|
|
2735
2735
|
*/
|
|
@@ -2867,7 +2867,7 @@ var BeanStub = /** @class */ (function () {
|
|
|
2867
2867
|
|
|
2868
2868
|
/**
|
|
2869
2869
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
2870
|
-
* @version v28.
|
|
2870
|
+
* @version v28.2.0
|
|
2871
2871
|
* @link https://www.ag-grid.com/
|
|
2872
2872
|
* @license MIT
|
|
2873
2873
|
*/
|
|
@@ -3283,7 +3283,7 @@ var ColumnFactory = /** @class */ (function (_super) {
|
|
|
3283
3283
|
|
|
3284
3284
|
/**
|
|
3285
3285
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3286
|
-
* @version v28.
|
|
3286
|
+
* @version v28.2.0
|
|
3287
3287
|
* @link https://www.ag-grid.com/
|
|
3288
3288
|
* @license MIT
|
|
3289
3289
|
*/
|
|
@@ -3343,6 +3343,7 @@ var Events = /** @class */ (function () {
|
|
|
3343
3343
|
Events.EVENT_CHART_DESTROYED = 'chartDestroyed';
|
|
3344
3344
|
/** For when the tool panel is shown / hidden */
|
|
3345
3345
|
Events.EVENT_TOOL_PANEL_VISIBLE_CHANGED = 'toolPanelVisibleChanged';
|
|
3346
|
+
Events.EVENT_TOOL_PANEL_SIZE_CHANGED = 'toolPanelSizeChanged';
|
|
3346
3347
|
Events.EVENT_COLUMN_PANEL_ITEM_DRAG_START = 'columnPanelItemDragStart';
|
|
3347
3348
|
Events.EVENT_COLUMN_PANEL_ITEM_DRAG_END = 'columnPanelItemDragEnd';
|
|
3348
3349
|
/** Model was updated - grid updates the drawn rows when this happens */
|
|
@@ -3351,6 +3352,8 @@ var Events = /** @class */ (function () {
|
|
|
3351
3352
|
Events.EVENT_PASTE_END = 'pasteEnd';
|
|
3352
3353
|
Events.EVENT_FILL_START = 'fillStart';
|
|
3353
3354
|
Events.EVENT_FILL_END = 'fillEnd';
|
|
3355
|
+
Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START = 'keyShortcutChangedCellStart';
|
|
3356
|
+
Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END = 'keyShortcutChangedCellEnd';
|
|
3354
3357
|
Events.EVENT_CELL_CLICKED = 'cellClicked';
|
|
3355
3358
|
Events.EVENT_CELL_DOUBLE_CLICKED = 'cellDoubleClicked';
|
|
3356
3359
|
Events.EVENT_CELL_MOUSE_DOWN = 'cellMouseDown';
|
|
@@ -3445,7 +3448,7 @@ var Events = /** @class */ (function () {
|
|
|
3445
3448
|
|
|
3446
3449
|
/**
|
|
3447
3450
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3448
|
-
* @version v28.
|
|
3451
|
+
* @version v28.2.0
|
|
3449
3452
|
* @link https://www.ag-grid.com/
|
|
3450
3453
|
* @license MIT
|
|
3451
3454
|
*/
|
|
@@ -3482,7 +3485,7 @@ var GroupInstanceIdCreator = /** @class */ (function () {
|
|
|
3482
3485
|
|
|
3483
3486
|
/**
|
|
3484
3487
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3485
|
-
* @version v28.
|
|
3488
|
+
* @version v28.2.0
|
|
3486
3489
|
* @link https://www.ag-grid.com/
|
|
3487
3490
|
* @license MIT
|
|
3488
3491
|
*/
|
|
@@ -3608,11 +3611,19 @@ function hyphenToCamelCase(str) {
|
|
|
3608
3611
|
function capitalise(str) {
|
|
3609
3612
|
return str[0].toUpperCase() + str.substr(1).toLowerCase();
|
|
3610
3613
|
}
|
|
3611
|
-
function escapeString(toEscape) {
|
|
3614
|
+
function escapeString(toEscape, skipEscapingHtmlChars) {
|
|
3615
|
+
if (toEscape == null) {
|
|
3616
|
+
return null;
|
|
3617
|
+
}
|
|
3612
3618
|
// we call toString() twice, in case value is an object, where user provides
|
|
3613
3619
|
// a toString() method, and first call to toString() returns back something other
|
|
3614
3620
|
// than a string (eg a number to render)
|
|
3615
|
-
|
|
3621
|
+
var stringResult = toEscape.toString().toString();
|
|
3622
|
+
if (skipEscapingHtmlChars) {
|
|
3623
|
+
return stringResult;
|
|
3624
|
+
}
|
|
3625
|
+
// in react we don't need to escape html characters, as it's done by the framework
|
|
3626
|
+
return stringResult.replace(reUnescapedHtml, function (chr) { return HTML_ESCAPES[chr]; });
|
|
3616
3627
|
}
|
|
3617
3628
|
/**
|
|
3618
3629
|
* Converts a camelCase string into regular text
|
|
@@ -3641,7 +3652,7 @@ var StringUtils = /*#__PURE__*/Object.freeze({
|
|
|
3641
3652
|
|
|
3642
3653
|
/**
|
|
3643
3654
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3644
|
-
* @version v28.
|
|
3655
|
+
* @version v28.2.0
|
|
3645
3656
|
* @link https://www.ag-grid.com/
|
|
3646
3657
|
* @license MIT
|
|
3647
3658
|
*/
|
|
@@ -3671,11 +3682,11 @@ var MapUtils = /*#__PURE__*/Object.freeze({
|
|
|
3671
3682
|
|
|
3672
3683
|
/**
|
|
3673
3684
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3674
|
-
* @version v28.
|
|
3685
|
+
* @version v28.2.0
|
|
3675
3686
|
* @link https://www.ag-grid.com/
|
|
3676
3687
|
* @license MIT
|
|
3677
3688
|
*/
|
|
3678
|
-
var __read$
|
|
3689
|
+
var __read$p = function (o, n) {
|
|
3679
3690
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
3680
3691
|
if (!m) return o;
|
|
3681
3692
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -3691,8 +3702,8 @@ var __read$o = function (o, n) {
|
|
|
3691
3702
|
}
|
|
3692
3703
|
return ar;
|
|
3693
3704
|
};
|
|
3694
|
-
var __spread$
|
|
3695
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
3705
|
+
var __spread$j = function () {
|
|
3706
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$p(arguments[i]));
|
|
3696
3707
|
return ar;
|
|
3697
3708
|
};
|
|
3698
3709
|
var ColDefUtil = /** @class */ (function () {
|
|
@@ -3852,7 +3863,7 @@ var ColDefUtil = /** @class */ (function () {
|
|
|
3852
3863
|
'cellRendererSelector',
|
|
3853
3864
|
'cellEditorSelector'
|
|
3854
3865
|
];
|
|
3855
|
-
ColDefUtil.ALL_PROPERTIES = __spread$
|
|
3866
|
+
ColDefUtil.ALL_PROPERTIES = __spread$j(ColDefUtil.ARRAY_PROPERTIES, ColDefUtil.OBJECT_PROPERTIES, ColDefUtil.STRING_PROPERTIES, ColDefUtil.NUMBER_PROPERTIES, ColDefUtil.FUNCTION_PROPERTIES, ColDefUtil.BOOLEAN_PROPERTIES);
|
|
3856
3867
|
// used when doing property checks - this causes noise when using frameworks which can add their own fw specific
|
|
3857
3868
|
// properties to colDefs, gridOptions etc
|
|
3858
3869
|
ColDefUtil.FRAMEWORK_PROPERTIES = [
|
|
@@ -3869,11 +3880,11 @@ var ColDefUtil = /** @class */ (function () {
|
|
|
3869
3880
|
|
|
3870
3881
|
/**
|
|
3871
3882
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3872
|
-
* @version v28.
|
|
3883
|
+
* @version v28.2.0
|
|
3873
3884
|
* @link https://www.ag-grid.com/
|
|
3874
3885
|
* @license MIT
|
|
3875
3886
|
*/
|
|
3876
|
-
var __read$
|
|
3887
|
+
var __read$o = function (o, n) {
|
|
3877
3888
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
3878
3889
|
if (!m) return o;
|
|
3879
3890
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -3889,8 +3900,8 @@ var __read$n = function (o, n) {
|
|
|
3889
3900
|
}
|
|
3890
3901
|
return ar;
|
|
3891
3902
|
};
|
|
3892
|
-
var __spread$
|
|
3893
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
3903
|
+
var __spread$i = function () {
|
|
3904
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$o(arguments[i]));
|
|
3894
3905
|
return ar;
|
|
3895
3906
|
};
|
|
3896
3907
|
/**
|
|
@@ -3912,7 +3923,7 @@ var PropertyKeys = /** @class */ (function () {
|
|
|
3912
3923
|
'defaultColGroupDef', 'defaultColDef', 'defaultExportParams', 'defaultCsvExportParams', 'defaultExcelExportParams', 'columnTypes',
|
|
3913
3924
|
'rowClassRules', 'detailCellRendererParams', 'loadingCellRendererParams', 'loadingOverlayComponentParams',
|
|
3914
3925
|
'noRowsOverlayComponentParams', 'popupParent', 'colResizeDefault', 'statusBar', 'sideBar', 'chartThemeOverrides',
|
|
3915
|
-
'customChartThemes'
|
|
3926
|
+
'customChartThemes', 'chartToolPanelsDef'
|
|
3916
3927
|
];
|
|
3917
3928
|
PropertyKeys.ARRAY_PROPERTIES = [
|
|
3918
3929
|
'alignedGrids', 'rowData', 'columnDefs', 'excelStyles', 'pinnedTopRowData', 'pinnedBottomRowData', 'chartThemes'
|
|
@@ -3947,7 +3958,7 @@ var PropertyKeys = /** @class */ (function () {
|
|
|
3947
3958
|
'suppressCsvExport', 'treeData', 'masterDetail', 'suppressMultiRangeSelection', 'enterMovesDownAfterEdit', 'enterMovesDown',
|
|
3948
3959
|
'suppressPropertyNamesCheck', 'rowMultiSelectWithClick', 'suppressEnterpriseResetOnNewColumns',
|
|
3949
3960
|
'suppressRowHoverHighlight', 'suppressRowTransform', 'suppressClipboardPaste', 'suppressLastEmptyLineOnPaste',
|
|
3950
|
-
'suppressSetColumnStateEvents', 'suppressColumnStateEvents', 'enableCharts', 'deltaColumnMode',
|
|
3961
|
+
'suppressSetColumnStateEvents', 'suppressColumnStateEvents', 'enableCharts', 'enableChartToolPanelsButton', 'deltaColumnMode',
|
|
3951
3962
|
'suppressMaintainUnsortedOrder', 'enableCellTextSelection', 'suppressBrowserResizeObserver', 'suppressMaxRenderedRowRestriction',
|
|
3952
3963
|
'excludeChildrenWhenTreeDataFiltering', 'tooltipMouseTrack', 'keepDetailRows', 'paginateChildRows', 'preventDefaultOnContextMenu',
|
|
3953
3964
|
'undoRedoCellEditing', 'allowDragFromColumnsToolPanel', 'immutableData', 'immutableColumns', 'pivotSuppressAutoColumn',
|
|
@@ -3955,29 +3966,26 @@ var PropertyKeys = /** @class */ (function () {
|
|
|
3955
3966
|
'serverSideFilteringAlwaysResets', 'serverSideSortingAlwaysResets', 'serverSideSortAllLevels', 'serverSideFilterAllLevels',
|
|
3956
3967
|
'serverSideSortOnServer', 'serverSideFilterOnServer', 'suppressAggFilteredOnly', 'showOpenedGroup', 'suppressClipboardApi',
|
|
3957
3968
|
'suppressModelUpdateAfterUpdateTransaction', 'stopEditingWhenCellsLoseFocus', 'maintainColumnOrder', 'groupMaintainOrder',
|
|
3958
|
-
'columnHoverHighlight', 'reactUi', 'suppressReactUi', 'readOnlyEdit', 'suppressRowVirtualisation',
|
|
3969
|
+
'columnHoverHighlight', 'reactUi', 'suppressReactUi', 'readOnlyEdit', 'suppressRowVirtualisation', 'enableCellEditingOnBackspace',
|
|
3959
3970
|
'resetRowDataOnUpdate', 'removePivotHeaderRowWhenSingleValueColumn', 'suppressCopySingleCellRanges',
|
|
3960
|
-
'groupRowsSticky', 'serverSideInfiniteScroll'
|
|
3971
|
+
'groupRowsSticky', 'serverSideInfiniteScroll', 'rowGroupPanelSuppressSort',
|
|
3961
3972
|
];
|
|
3962
3973
|
/** You do not need to include event callbacks in this list, as they are generated automatically. */
|
|
3963
3974
|
PropertyKeys.FUNCTION_PROPERTIES = [
|
|
3964
|
-
'localeTextFunc', 'getLocaleText', 'groupRowInnerRenderer', 'groupRowInnerRendererFramework',
|
|
3965
|
-
'
|
|
3966
|
-
'
|
|
3967
|
-
'
|
|
3968
|
-
'
|
|
3969
|
-
'
|
|
3970
|
-
'
|
|
3971
|
-
'
|
|
3972
|
-
'
|
|
3973
|
-
'
|
|
3974
|
-
'paginationNumberFormatter', 'processDataFromClipboard', 'getServerSideGroupKey', 'isServerSideGroup', 'suppressKeyboardEvent',
|
|
3975
|
-
'createChartContainer', 'getChartToolbarItems', 'fillOperation', 'isApplyServerSideTransaction', 'getServerSideStoreParams',
|
|
3976
|
-
'getServerSideGroupLevelParams',
|
|
3975
|
+
'localeTextFunc', 'getLocaleText', 'groupRowInnerRenderer', 'groupRowInnerRendererFramework', 'groupRowRenderer', 'groupRowRendererFramework',
|
|
3976
|
+
'isExternalFilterPresent', 'getRowHeight', 'doesExternalFilterPass', 'getRowClass', 'getRowStyle', 'getContextMenuItems', 'getMainMenuItems',
|
|
3977
|
+
'processRowPostCreate', 'processCellForClipboard', 'groupRowAggNodes', 'getGroupRowAgg', 'getRowNodeId', 'isFullWidthCell', 'isFullWidthRow',
|
|
3978
|
+
'fullWidthCellRenderer', 'fullWidthCellRendererFramework', 'processSecondaryColDef', 'processSecondaryColGroupDef', 'processPivotResultColDef',
|
|
3979
|
+
'processPivotResultColGroupDef', 'getBusinessKeyForNode', 'sendToClipboard', 'navigateToNextHeader', 'tabToNextHeader', 'navigateToNextCell',
|
|
3980
|
+
'tabToNextCell', 'processCellFromClipboard', 'getDocument', 'postProcessPopup', 'getChildCount', 'getDataPath', 'loadingCellRenderer',
|
|
3981
|
+
'loadingCellRendererFramework', 'loadingOverlayComponent', 'loadingOverlayComponentFramework', 'noRowsOverlayComponent', 'noRowsOverlayComponentFramework',
|
|
3982
|
+
'detailCellRenderer', 'detailCellRendererFramework', 'isRowMaster', 'isRowSelectable', 'postSort', 'postSortRows', 'processHeaderForClipboard',
|
|
3983
|
+
'processGroupHeaderForClipboard', 'paginationNumberFormatter', 'processDataFromClipboard', 'getServerSideGroupKey', 'isServerSideGroup', 'suppressKeyboardEvent',
|
|
3984
|
+
'createChartContainer', 'getChartToolbarItems', 'fillOperation', 'isApplyServerSideTransaction', 'getServerSideStoreParams', 'getServerSideGroupLevelParams',
|
|
3977
3985
|
'isServerSideGroupOpenByDefault', 'isGroupOpenByDefault', 'defaultGroupSortComparator', 'defaultGroupOrderComparator', 'initialGroupOrderComparator',
|
|
3978
|
-
'loadingCellRendererSelector', 'getRowId', 'groupAggFiltering'
|
|
3986
|
+
'loadingCellRendererSelector', 'getRowId', 'groupAggFiltering', 'rowDragText'
|
|
3979
3987
|
];
|
|
3980
|
-
PropertyKeys.ALL_PROPERTIES = __spread$
|
|
3988
|
+
PropertyKeys.ALL_PROPERTIES = __spread$i(PropertyKeys.ARRAY_PROPERTIES, PropertyKeys.OBJECT_PROPERTIES, PropertyKeys.STRING_PROPERTIES, PropertyKeys.NUMBER_PROPERTIES, PropertyKeys.FUNCTION_PROPERTIES, PropertyKeys.BOOLEAN_PROPERTIES);
|
|
3981
3989
|
/**
|
|
3982
3990
|
* Used when performing property checks. This avoids noise caused when using frameworks, which can add their own
|
|
3983
3991
|
* framework-specific properties to colDefs, gridOptions etc.
|
|
@@ -3990,12 +3998,12 @@ var PropertyKeys = /** @class */ (function () {
|
|
|
3990
3998
|
|
|
3991
3999
|
/**
|
|
3992
4000
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
3993
|
-
* @version v28.
|
|
4001
|
+
* @version v28.2.0
|
|
3994
4002
|
* @link https://www.ag-grid.com/
|
|
3995
4003
|
* @license MIT
|
|
3996
4004
|
*/
|
|
3997
|
-
var __assign$
|
|
3998
|
-
__assign$
|
|
4005
|
+
var __assign$h = function () {
|
|
4006
|
+
__assign$h = Object.assign || function(t) {
|
|
3999
4007
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4000
4008
|
s = arguments[i];
|
|
4001
4009
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -4003,9 +4011,9 @@ var __assign$g = function () {
|
|
|
4003
4011
|
}
|
|
4004
4012
|
return t;
|
|
4005
4013
|
};
|
|
4006
|
-
return __assign$
|
|
4014
|
+
return __assign$h.apply(this, arguments);
|
|
4007
4015
|
};
|
|
4008
|
-
var __read$
|
|
4016
|
+
var __read$n = function (o, n) {
|
|
4009
4017
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
4010
4018
|
if (!m) return o;
|
|
4011
4019
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -4021,8 +4029,8 @@ var __read$m = function (o, n) {
|
|
|
4021
4029
|
}
|
|
4022
4030
|
return ar;
|
|
4023
4031
|
};
|
|
4024
|
-
var __spread$
|
|
4025
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
4032
|
+
var __spread$h = function () {
|
|
4033
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$n(arguments[i]));
|
|
4026
4034
|
return ar;
|
|
4027
4035
|
};
|
|
4028
4036
|
var ComponentUtil = /** @class */ (function () {
|
|
@@ -4048,7 +4056,7 @@ var ComponentUtil = /** @class */ (function () {
|
|
|
4048
4056
|
delete component.groupAggFiltering;
|
|
4049
4057
|
}
|
|
4050
4058
|
// add in all the simple properties
|
|
4051
|
-
__spread$
|
|
4059
|
+
__spread$h(ComponentUtil.ARRAY_PROPERTIES, ComponentUtil.STRING_PROPERTIES, ComponentUtil.OBJECT_PROPERTIES, ComponentUtil.FUNCTION_PROPERTIES, ComponentUtil.getEventCallbacks()).filter(keyExists)
|
|
4052
4060
|
.forEach(function (key) { return pGridOptions[key] = component[key]; });
|
|
4053
4061
|
ComponentUtil.BOOLEAN_PROPERTIES
|
|
4054
4062
|
.filter(keyExists)
|
|
@@ -4068,7 +4076,7 @@ var ComponentUtil = /** @class */ (function () {
|
|
|
4068
4076
|
if (!changes) {
|
|
4069
4077
|
return;
|
|
4070
4078
|
}
|
|
4071
|
-
var changesToApply = __assign$
|
|
4079
|
+
var changesToApply = __assign$h({}, changes);
|
|
4072
4080
|
// to allow array style lookup in TypeScript, take type away from 'this' and 'gridOptions'
|
|
4073
4081
|
var pGridOptions = gridOptions;
|
|
4074
4082
|
var keyExists = function (key) { return changesToApply[key]; };
|
|
@@ -4097,7 +4105,7 @@ var ComponentUtil = /** @class */ (function () {
|
|
|
4097
4105
|
delete changesToApply.rowClass;
|
|
4098
4106
|
}
|
|
4099
4107
|
// check if any change for the simple types, and if so, then just copy in the new value
|
|
4100
|
-
__spread$
|
|
4108
|
+
__spread$h(ComponentUtil.ARRAY_PROPERTIES, ComponentUtil.OBJECT_PROPERTIES, ComponentUtil.STRING_PROPERTIES, ComponentUtil.getEventCallbacks()).filter(keyExists)
|
|
4101
4109
|
.forEach(function (key) { return pGridOptions[key] = changesToApply[key].currentValue; });
|
|
4102
4110
|
ComponentUtil.BOOLEAN_PROPERTIES
|
|
4103
4111
|
.filter(keyExists)
|
|
@@ -4234,6 +4242,8 @@ ComponentUtil.EXCLUDED_INTERNAL_EVENTS = [
|
|
|
4234
4242
|
Events.EVENT_COLUMN_PANEL_ITEM_DRAG_END,
|
|
4235
4243
|
Events.EVENT_FILL_START,
|
|
4236
4244
|
Events.EVENT_FILL_END,
|
|
4245
|
+
Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START,
|
|
4246
|
+
Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END,
|
|
4237
4247
|
Events.EVENT_FULL_WIDTH_ROW_FOCUSED,
|
|
4238
4248
|
Events.EVENT_HEADER_HEIGHT_CHANGED,
|
|
4239
4249
|
Events.EVENT_COLUMN_HEADER_HEIGHT_CHANGED
|
|
@@ -4243,7 +4253,7 @@ ComponentUtil.PUBLIC_EVENTS = ComponentUtil.EVENTS.filter(function (e) { return
|
|
|
4243
4253
|
|
|
4244
4254
|
/**
|
|
4245
4255
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
4246
|
-
* @version v28.
|
|
4256
|
+
* @version v28.2.0
|
|
4247
4257
|
* @link https://www.ag-grid.com/
|
|
4248
4258
|
* @license MIT
|
|
4249
4259
|
*/
|
|
@@ -4337,7 +4347,7 @@ var SideBarDefParser = /** @class */ (function () {
|
|
|
4337
4347
|
|
|
4338
4348
|
/**
|
|
4339
4349
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
4340
|
-
* @version v28.
|
|
4350
|
+
* @version v28.2.0
|
|
4341
4351
|
* @link https://www.ag-grid.com/
|
|
4342
4352
|
* @license MIT
|
|
4343
4353
|
*/
|
|
@@ -4623,7 +4633,7 @@ var BrowserUtils = /*#__PURE__*/Object.freeze({
|
|
|
4623
4633
|
|
|
4624
4634
|
/**
|
|
4625
4635
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
4626
|
-
* @version v28.
|
|
4636
|
+
* @version v28.2.0
|
|
4627
4637
|
* @link https://www.ag-grid.com/
|
|
4628
4638
|
* @license MIT
|
|
4629
4639
|
*/
|
|
@@ -4726,7 +4736,7 @@ var FuzzyMatchUtils = /*#__PURE__*/Object.freeze({
|
|
|
4726
4736
|
|
|
4727
4737
|
/**
|
|
4728
4738
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
4729
|
-
* @version v28.
|
|
4739
|
+
* @version v28.2.0
|
|
4730
4740
|
* @link https://www.ag-grid.com/
|
|
4731
4741
|
* @license MIT
|
|
4732
4742
|
*/
|
|
@@ -4803,12 +4813,12 @@ var NumberUtils = /*#__PURE__*/Object.freeze({
|
|
|
4803
4813
|
|
|
4804
4814
|
/**
|
|
4805
4815
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
4806
|
-
* @version v28.
|
|
4816
|
+
* @version v28.2.0
|
|
4807
4817
|
* @link https://www.ag-grid.com/
|
|
4808
4818
|
* @license MIT
|
|
4809
4819
|
*/
|
|
4810
|
-
var __assign$
|
|
4811
|
-
__assign$
|
|
4820
|
+
var __assign$g = function () {
|
|
4821
|
+
__assign$g = Object.assign || function(t) {
|
|
4812
4822
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4813
4823
|
s = arguments[i];
|
|
4814
4824
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -4816,7 +4826,7 @@ var __assign$f = function () {
|
|
|
4816
4826
|
}
|
|
4817
4827
|
return t;
|
|
4818
4828
|
};
|
|
4819
|
-
return __assign$
|
|
4829
|
+
return __assign$g.apply(this, arguments);
|
|
4820
4830
|
};
|
|
4821
4831
|
var __decorate$2v = function (decorators, target, key, desc) {
|
|
4822
4832
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -4827,7 +4837,7 @@ var __decorate$2v = function (decorators, target, key, desc) {
|
|
|
4827
4837
|
var __param$8 = function (paramIndex, decorator) {
|
|
4828
4838
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
4829
4839
|
};
|
|
4830
|
-
var __read$
|
|
4840
|
+
var __read$m = function (o, n) {
|
|
4831
4841
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
4832
4842
|
if (!m) return o;
|
|
4833
4843
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -4843,8 +4853,8 @@ var __read$l = function (o, n) {
|
|
|
4843
4853
|
}
|
|
4844
4854
|
return ar;
|
|
4845
4855
|
};
|
|
4846
|
-
var __spread$
|
|
4847
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
4856
|
+
var __spread$g = function () {
|
|
4857
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$m(arguments[i]));
|
|
4848
4858
|
return ar;
|
|
4849
4859
|
};
|
|
4850
4860
|
var DEFAULT_ROW_HEIGHT = 25;
|
|
@@ -4975,14 +4985,14 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
4975
4985
|
}
|
|
4976
4986
|
this.gridOptions.columnDefs.forEach(function (colDef) {
|
|
4977
4987
|
var userProperties = Object.getOwnPropertyNames(colDef);
|
|
4978
|
-
var validProperties = __spread$
|
|
4988
|
+
var validProperties = __spread$g(ColDefUtil.ALL_PROPERTIES, ColDefUtil.FRAMEWORK_PROPERTIES);
|
|
4979
4989
|
_this.checkProperties(userProperties, validProperties, validProperties, 'colDef', 'https://www.ag-grid.com/javascript-grid-column-properties/');
|
|
4980
4990
|
});
|
|
4981
4991
|
};
|
|
4982
4992
|
GridOptionsWrapper.prototype.checkGridOptionsProperties = function () {
|
|
4983
4993
|
var userProperties = Object.getOwnPropertyNames(this.gridOptions);
|
|
4984
|
-
var validProperties = __spread$
|
|
4985
|
-
var validPropertiesAndExceptions = __spread$
|
|
4994
|
+
var validProperties = __spread$g(PropertyKeys.ALL_PROPERTIES, PropertyKeys.FRAMEWORK_PROPERTIES, values(Events).map(function (event) { return ComponentUtil.getCallbackForEvent(event); }));
|
|
4995
|
+
var validPropertiesAndExceptions = __spread$g(validProperties, ['api', 'columnApi']);
|
|
4986
4996
|
this.checkProperties(userProperties, validPropertiesAndExceptions, validProperties, 'gridOptions', 'https://www.ag-grid.com/javascript-data-grid/grid-options/');
|
|
4987
4997
|
};
|
|
4988
4998
|
GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {
|
|
@@ -5003,7 +5013,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5003
5013
|
var _this = this;
|
|
5004
5014
|
if (callback) {
|
|
5005
5015
|
var wrapped = function (callbackParams) {
|
|
5006
|
-
var mergedParams = __assign$
|
|
5016
|
+
var mergedParams = __assign$g(__assign$g({}, callbackParams), { api: _this.getApi(), columnApi: _this.getColumnApi(), context: _this.getContext() });
|
|
5007
5017
|
return callback(mergedParams);
|
|
5008
5018
|
};
|
|
5009
5019
|
return wrapped;
|
|
@@ -5157,6 +5167,9 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5157
5167
|
return this.gridOptions.groupDisplayType ?
|
|
5158
5168
|
this.matchesGroupDisplayType('groupRows', this.gridOptions.groupDisplayType) : false;
|
|
5159
5169
|
};
|
|
5170
|
+
GridOptionsWrapper.prototype.isRowGroupPanelSuppressSort = function () {
|
|
5171
|
+
return isTrue(this.gridOptions.rowGroupPanelSuppressSort);
|
|
5172
|
+
};
|
|
5160
5173
|
GridOptionsWrapper.prototype.isGroupRowsSticky = function () {
|
|
5161
5174
|
return isTrue(this.gridOptions.groupRowsSticky);
|
|
5162
5175
|
};
|
|
@@ -5217,6 +5230,15 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5217
5230
|
GridOptionsWrapper.prototype.isRowDragEntireRow = function () {
|
|
5218
5231
|
return isTrue(this.gridOptions.rowDragEntireRow);
|
|
5219
5232
|
};
|
|
5233
|
+
GridOptionsWrapper.prototype.getRowDragText = function (column) {
|
|
5234
|
+
if (column) {
|
|
5235
|
+
var colDef = column.getColDef();
|
|
5236
|
+
if (colDef.rowDragText) {
|
|
5237
|
+
return colDef.rowDragText;
|
|
5238
|
+
}
|
|
5239
|
+
}
|
|
5240
|
+
return this.gridOptions.rowDragText;
|
|
5241
|
+
};
|
|
5220
5242
|
GridOptionsWrapper.prototype.isSuppressRowDrag = function () {
|
|
5221
5243
|
return isTrue(this.gridOptions.suppressRowDrag);
|
|
5222
5244
|
};
|
|
@@ -5311,6 +5333,9 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5311
5333
|
GridOptionsWrapper.prototype.getUndoRedoCellEditingLimit = function () {
|
|
5312
5334
|
return toNumber(this.gridOptions.undoRedoCellEditingLimit);
|
|
5313
5335
|
};
|
|
5336
|
+
GridOptionsWrapper.prototype.isEnableCellEditingOnBackspace = function () {
|
|
5337
|
+
return isTrue(this.gridOptions.enableCellEditingOnBackspace);
|
|
5338
|
+
};
|
|
5314
5339
|
GridOptionsWrapper.prototype.getRowStyle = function () {
|
|
5315
5340
|
return this.gridOptions.rowStyle;
|
|
5316
5341
|
};
|
|
@@ -5419,6 +5444,9 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5419
5444
|
}
|
|
5420
5445
|
return false;
|
|
5421
5446
|
};
|
|
5447
|
+
GridOptionsWrapper.prototype.isEnableChartToolPanelsButton = function () {
|
|
5448
|
+
return isTrue(this.gridOptions.enableChartToolPanelsButton);
|
|
5449
|
+
};
|
|
5422
5450
|
GridOptionsWrapper.prototype.getColResizeDefault = function () {
|
|
5423
5451
|
return this.gridOptions.colResizeDefault;
|
|
5424
5452
|
};
|
|
@@ -5920,6 +5948,9 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
5920
5948
|
// return default themes if user hasn't supplied any
|
|
5921
5949
|
return this.gridOptions.chartThemes || ['ag-default', 'ag-material', 'ag-pastel', 'ag-vivid', 'ag-solar'];
|
|
5922
5950
|
};
|
|
5951
|
+
GridOptionsWrapper.prototype.getChartToolPanelsDef = function () {
|
|
5952
|
+
return this.gridOptions.chartToolPanelsDef;
|
|
5953
|
+
};
|
|
5923
5954
|
GridOptionsWrapper.prototype.getClipboardDelimiter = function () {
|
|
5924
5955
|
return exists(this.gridOptions.clipboardDelimiter) ? this.gridOptions.clipboardDelimiter : '\t';
|
|
5925
5956
|
};
|
|
@@ -6497,7 +6528,7 @@ var GridOptionsWrapper = /** @class */ (function () {
|
|
|
6497
6528
|
|
|
6498
6529
|
/**
|
|
6499
6530
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
6500
|
-
* @version v28.
|
|
6531
|
+
* @version v28.2.0
|
|
6501
6532
|
* @link https://www.ag-grid.com/
|
|
6502
6533
|
* @license MIT
|
|
6503
6534
|
*/
|
|
@@ -6545,7 +6576,7 @@ var __values$4 = function(o) {
|
|
|
6545
6576
|
};
|
|
6546
6577
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
6547
6578
|
};
|
|
6548
|
-
var __read$
|
|
6579
|
+
var __read$l = function (o, n) {
|
|
6549
6580
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
6550
6581
|
if (!m) return o;
|
|
6551
6582
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -6561,8 +6592,8 @@ var __read$k = function (o, n) {
|
|
|
6561
6592
|
}
|
|
6562
6593
|
return ar;
|
|
6563
6594
|
};
|
|
6564
|
-
var __spread$
|
|
6565
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
6595
|
+
var __spread$f = function () {
|
|
6596
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$l(arguments[i]));
|
|
6566
6597
|
return ar;
|
|
6567
6598
|
};
|
|
6568
6599
|
var ColumnModel = /** @class */ (function (_super) {
|
|
@@ -6584,6 +6615,8 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
6584
6615
|
_this.displayedColumnsAndGroupsMap = {};
|
|
6585
6616
|
// all columns to be rendered
|
|
6586
6617
|
_this.viewportColumns = [];
|
|
6618
|
+
// A hash key to keep track of changes in viewport columns
|
|
6619
|
+
_this.viewportColumnsHash = '';
|
|
6587
6620
|
// same as viewportColumns, except we always include columns with headerAutoHeight
|
|
6588
6621
|
_this.headerViewportColumns = [];
|
|
6589
6622
|
// all columns to be rendered in the centre
|
|
@@ -7102,7 +7135,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7102
7135
|
return this.getAllGridColumns().indexOf(col) + 1;
|
|
7103
7136
|
};
|
|
7104
7137
|
ColumnModel.prototype.isColumnInHeaderViewport = function (col) {
|
|
7105
|
-
// for headers, we never filter out autoHeaderHeight columns, if calculating
|
|
7138
|
+
// for headers, we never filter out autoHeaderHeight columns, if calculating
|
|
7106
7139
|
if (col.isAutoHeaderHeight()) {
|
|
7107
7140
|
return true;
|
|
7108
7141
|
}
|
|
@@ -7925,7 +7958,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7925
7958
|
};
|
|
7926
7959
|
ColumnModel.prototype.getPrimaryAndSecondaryAndAutoColumns = function () {
|
|
7927
7960
|
var _a;
|
|
7928
|
-
return (_a = []).concat.apply(_a, __spread$
|
|
7961
|
+
return (_a = []).concat.apply(_a, __spread$f([
|
|
7929
7962
|
this.primaryColumns || [],
|
|
7930
7963
|
this.groupAutoColumns || [],
|
|
7931
7964
|
this.secondaryColumns || [],
|
|
@@ -7933,14 +7966,14 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
7933
7966
|
};
|
|
7934
7967
|
ColumnModel.prototype.getPrimaryAndAutoGroupCols = function () {
|
|
7935
7968
|
var _a;
|
|
7936
|
-
return (_a = []).concat.apply(_a, __spread$
|
|
7969
|
+
return (_a = []).concat.apply(_a, __spread$f([
|
|
7937
7970
|
this.primaryColumns || [],
|
|
7938
7971
|
this.groupAutoColumns || [],
|
|
7939
7972
|
]));
|
|
7940
7973
|
};
|
|
7941
7974
|
ColumnModel.prototype.getPrimaryAndSecondaryColumns = function () {
|
|
7942
7975
|
var _a;
|
|
7943
|
-
return (_a = []).concat.apply(_a, __spread$
|
|
7976
|
+
return (_a = []).concat.apply(_a, __spread$f([
|
|
7944
7977
|
this.primaryColumns || [],
|
|
7945
7978
|
this.secondaryColumns || [],
|
|
7946
7979
|
]));
|
|
@@ -9085,6 +9118,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9085
9118
|
else {
|
|
9086
9119
|
this.lastSecondaryOrder = this.gridColumns;
|
|
9087
9120
|
}
|
|
9121
|
+
var sortOrderToRecover = undefined;
|
|
9088
9122
|
if (this.secondaryColumns && this.secondaryBalancedTree) {
|
|
9089
9123
|
var hasSameColumns = this.secondaryColumns.every(function (col) {
|
|
9090
9124
|
return _this.gridColumnsMap[col.getColId()] !== undefined;
|
|
@@ -9097,7 +9131,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9097
9131
|
// we keep the previous order, otherwise we go back to the order the pivot
|
|
9098
9132
|
// cols are generated in
|
|
9099
9133
|
if (hasSameColumns) {
|
|
9100
|
-
this.
|
|
9134
|
+
sortOrderToRecover = this.lastSecondaryOrder;
|
|
9101
9135
|
}
|
|
9102
9136
|
}
|
|
9103
9137
|
else if (this.primaryColumns) {
|
|
@@ -9108,9 +9142,20 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9108
9142
|
// updateGridColumns gets called after user adds a row group. we want to maintain the order of the columns
|
|
9109
9143
|
// when this happens (eg if user moved a column) rather than revert back to the original column order.
|
|
9110
9144
|
// likewise if changing in/out of pivot mode, we want to maintain the order of the cols
|
|
9111
|
-
this.
|
|
9145
|
+
sortOrderToRecover = this.lastPrimaryOrder;
|
|
9146
|
+
}
|
|
9147
|
+
// create the new auto columns
|
|
9148
|
+
var areAutoColsChanged = this.createGroupAutoColumnsIfNeeded();
|
|
9149
|
+
// if auto group cols have changed, and we have a sort order, we need to move auto cols to the start
|
|
9150
|
+
if (areAutoColsChanged && sortOrderToRecover) {
|
|
9151
|
+
var groupAutoColsMap_1 = convertToMap(this.groupAutoColumns.map(function (col) { return [col, true]; }));
|
|
9152
|
+
// if group columns has changed, we don't preserve the group column order, so remove them from the old order
|
|
9153
|
+
sortOrderToRecover = sortOrderToRecover.filter(function (col) { return groupAutoColsMap_1.has(col); });
|
|
9154
|
+
// and add them to the start of the order
|
|
9155
|
+
sortOrderToRecover = __spread$f(this.groupAutoColumns, sortOrderToRecover);
|
|
9112
9156
|
}
|
|
9113
9157
|
this.addAutoGroupToGridColumns();
|
|
9158
|
+
this.orderGridColsLike(sortOrderToRecover);
|
|
9114
9159
|
this.gridColumns = this.placeLockedColumns(this.gridColumns);
|
|
9115
9160
|
this.setupQuickFilterColumns();
|
|
9116
9161
|
this.clearDisplayedAndViewportColumns();
|
|
@@ -9189,7 +9234,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9189
9234
|
}
|
|
9190
9235
|
// find index of last column in the group
|
|
9191
9236
|
var indexes = siblings.map(function (col) { return newGridColumns.indexOf(col); });
|
|
9192
|
-
var lastIndex = Math.max.apply(Math, __spread$
|
|
9237
|
+
var lastIndex = Math.max.apply(Math, __spread$f(indexes));
|
|
9193
9238
|
insertIntoArray(newGridColumns, newCol, lastIndex + 1);
|
|
9194
9239
|
});
|
|
9195
9240
|
this.gridColumns = newGridColumns;
|
|
@@ -9226,11 +9271,9 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9226
9271
|
normal.push(col);
|
|
9227
9272
|
}
|
|
9228
9273
|
});
|
|
9229
|
-
return __spread$
|
|
9274
|
+
return __spread$f(left, normal, right);
|
|
9230
9275
|
};
|
|
9231
9276
|
ColumnModel.prototype.addAutoGroupToGridColumns = function () {
|
|
9232
|
-
// add in auto-group here
|
|
9233
|
-
this.createGroupAutoColumnsIfNeeded();
|
|
9234
9277
|
if (missing(this.groupAutoColumns)) {
|
|
9235
9278
|
return;
|
|
9236
9279
|
}
|
|
@@ -9256,6 +9299,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9256
9299
|
this.displayedColumns = [];
|
|
9257
9300
|
this.viewportColumns = [];
|
|
9258
9301
|
this.headerViewportColumns = [];
|
|
9302
|
+
this.viewportColumnsHash = '';
|
|
9259
9303
|
};
|
|
9260
9304
|
ColumnModel.prototype.updateGroupsAndDisplayedColumns = function (source) {
|
|
9261
9305
|
this.updateOpenClosedVisibilityInColumnGroups();
|
|
@@ -9440,11 +9484,12 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9440
9484
|
testGroup(this.displayedTreeCentre, this.viewportRowCenter, 0);
|
|
9441
9485
|
};
|
|
9442
9486
|
ColumnModel.prototype.extractViewport = function () {
|
|
9443
|
-
var
|
|
9487
|
+
var hashColumn = function (c) { return c.getId() + "-" + (c.getPinned() || 'normal'); };
|
|
9444
9488
|
this.extractViewportColumns();
|
|
9445
|
-
var
|
|
9446
|
-
var changed =
|
|
9489
|
+
var newHash = this.viewportColumns.map(hashColumn).join('#');
|
|
9490
|
+
var changed = this.viewportColumnsHash !== newHash;
|
|
9447
9491
|
if (changed) {
|
|
9492
|
+
this.viewportColumnsHash = newHash;
|
|
9448
9493
|
this.calculateHeaderRows();
|
|
9449
9494
|
}
|
|
9450
9495
|
return changed;
|
|
@@ -9693,9 +9738,13 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9693
9738
|
ColumnModel.prototype.getGroupAutoColumns = function () {
|
|
9694
9739
|
return this.groupAutoColumns;
|
|
9695
9740
|
};
|
|
9741
|
+
/**
|
|
9742
|
+
* Creates new auto group columns if required
|
|
9743
|
+
* @returns whether auto cols have changed
|
|
9744
|
+
*/
|
|
9696
9745
|
ColumnModel.prototype.createGroupAutoColumnsIfNeeded = function () {
|
|
9697
9746
|
if (!this.autoGroupsNeedBuilding) {
|
|
9698
|
-
return;
|
|
9747
|
+
return false;
|
|
9699
9748
|
}
|
|
9700
9749
|
this.autoGroupsNeedBuilding = false;
|
|
9701
9750
|
var groupFullWidthRow = this.gridOptionsWrapper.isGroupUseEntireRow(this.pivotMode);
|
|
@@ -9717,11 +9766,13 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9717
9766
|
// definitions. otherwise we could ignore the new cols because they appear to be the same.
|
|
9718
9767
|
if (autoColsDifferent || this.forceRecreateAutoGroups) {
|
|
9719
9768
|
this.groupAutoColumns = newAutoGroupCols;
|
|
9769
|
+
return true;
|
|
9720
9770
|
}
|
|
9721
9771
|
}
|
|
9722
9772
|
else {
|
|
9723
9773
|
this.groupAutoColumns = null;
|
|
9724
9774
|
}
|
|
9775
|
+
return false;
|
|
9725
9776
|
};
|
|
9726
9777
|
ColumnModel.prototype.autoColsEqual = function (colsA, colsB) {
|
|
9727
9778
|
return areEqual(colsA, colsB, function (a, b) { return a.getColId() === b.getColId(); });
|
|
@@ -9784,7 +9835,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9784
9835
|
var displayedHeights = this.getAllDisplayedColumns()
|
|
9785
9836
|
.filter(function (col) { return col.isAutoHeaderHeight(); })
|
|
9786
9837
|
.map(function (col) { return col.getAutoHeaderHeight() || 0; });
|
|
9787
|
-
return Math.max.apply(Math, __spread$
|
|
9838
|
+
return Math.max.apply(Math, __spread$f([defaultHeight], displayedHeights));
|
|
9788
9839
|
};
|
|
9789
9840
|
__decorate$2u([
|
|
9790
9841
|
Autowired('expressionService')
|
|
@@ -9842,7 +9893,7 @@ var ColumnModel = /** @class */ (function (_super) {
|
|
|
9842
9893
|
|
|
9843
9894
|
/**
|
|
9844
9895
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
9845
|
-
* @version v28.
|
|
9896
|
+
* @version v28.2.0
|
|
9846
9897
|
* @link https://www.ag-grid.com/
|
|
9847
9898
|
* @license MIT
|
|
9848
9899
|
*/
|
|
@@ -9963,7 +10014,7 @@ var ColumnUtils = /** @class */ (function (_super) {
|
|
|
9963
10014
|
|
|
9964
10015
|
/**
|
|
9965
10016
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
9966
|
-
* @version v28.
|
|
10017
|
+
* @version v28.2.0
|
|
9967
10018
|
* @link https://www.ag-grid.com/
|
|
9968
10019
|
* @license MIT
|
|
9969
10020
|
*/
|
|
@@ -10133,7 +10184,7 @@ var DisplayedGroupCreator = /** @class */ (function (_super) {
|
|
|
10133
10184
|
|
|
10134
10185
|
/**
|
|
10135
10186
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
10136
|
-
* @version v28.
|
|
10187
|
+
* @version v28.2.0
|
|
10137
10188
|
* @link https://www.ag-grid.com/
|
|
10138
10189
|
* @license MIT
|
|
10139
10190
|
*/
|
|
@@ -10191,11 +10242,11 @@ var AgStackComponentsRegistry = /** @class */ (function (_super) {
|
|
|
10191
10242
|
|
|
10192
10243
|
/**
|
|
10193
10244
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
10194
|
-
* @version v28.
|
|
10245
|
+
* @version v28.2.0
|
|
10195
10246
|
* @link https://www.ag-grid.com/
|
|
10196
10247
|
* @license MIT
|
|
10197
10248
|
*/
|
|
10198
|
-
var __read$
|
|
10249
|
+
var __read$k = function (o, n) {
|
|
10199
10250
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
10200
10251
|
if (!m) return o;
|
|
10201
10252
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -10286,14 +10337,14 @@ var Color = /** @class */ (function () {
|
|
|
10286
10337
|
Color.fromHexString = function (str) {
|
|
10287
10338
|
var values = Color.parseHex(str);
|
|
10288
10339
|
if (values) {
|
|
10289
|
-
var _a = __read$
|
|
10340
|
+
var _a = __read$k(values, 4), r = _a[0], g = _a[1], b = _a[2], a = _a[3];
|
|
10290
10341
|
return new Color(r / 255, g / 255, b / 255, a / 255);
|
|
10291
10342
|
}
|
|
10292
10343
|
throw new Error("Malformed hexadecimal color string: '" + str + "'");
|
|
10293
10344
|
};
|
|
10294
10345
|
Color.stringToRgba = function (str) {
|
|
10295
10346
|
// Find positions of opening and closing parentheses.
|
|
10296
|
-
var _a = __read$
|
|
10347
|
+
var _a = __read$k([NaN, NaN], 2), po = _a[0], pc = _a[1];
|
|
10297
10348
|
for (var i = 0; i < str.length; i++) {
|
|
10298
10349
|
var c = str[i];
|
|
10299
10350
|
if (!po && c === '(') {
|
|
@@ -10662,7 +10713,7 @@ var Color = /** @class */ (function () {
|
|
|
10662
10713
|
|
|
10663
10714
|
/**
|
|
10664
10715
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
10665
|
-
* @version v28.
|
|
10716
|
+
* @version v28.2.0
|
|
10666
10717
|
* @link https://www.ag-grid.com/
|
|
10667
10718
|
* @license MIT
|
|
10668
10719
|
*/
|
|
@@ -10753,7 +10804,7 @@ var CsvUtils = /*#__PURE__*/Object.freeze({
|
|
|
10753
10804
|
|
|
10754
10805
|
/**
|
|
10755
10806
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
10756
|
-
* @version v28.
|
|
10807
|
+
* @version v28.2.0
|
|
10757
10808
|
* @link https://www.ag-grid.com/
|
|
10758
10809
|
* @license MIT
|
|
10759
10810
|
*/
|
|
@@ -11204,7 +11255,7 @@ var DomUtils = /*#__PURE__*/Object.freeze({
|
|
|
11204
11255
|
|
|
11205
11256
|
/**
|
|
11206
11257
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11207
|
-
* @version v28.
|
|
11258
|
+
* @version v28.2.0
|
|
11208
11259
|
* @link https://www.ag-grid.com/
|
|
11209
11260
|
* @license MIT
|
|
11210
11261
|
*/
|
|
@@ -11320,7 +11371,7 @@ var GeneralUtils = /*#__PURE__*/Object.freeze({
|
|
|
11320
11371
|
|
|
11321
11372
|
/**
|
|
11322
11373
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11323
|
-
* @version v28.
|
|
11374
|
+
* @version v28.2.0
|
|
11324
11375
|
* @link https://www.ag-grid.com/
|
|
11325
11376
|
* @license MIT
|
|
11326
11377
|
*/
|
|
@@ -11488,11 +11539,11 @@ var AriaUtils = /*#__PURE__*/Object.freeze({
|
|
|
11488
11539
|
|
|
11489
11540
|
/**
|
|
11490
11541
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11491
|
-
* @version v28.
|
|
11542
|
+
* @version v28.2.0
|
|
11492
11543
|
* @link https://www.ag-grid.com/
|
|
11493
11544
|
* @license MIT
|
|
11494
11545
|
*/
|
|
11495
|
-
var __read$
|
|
11546
|
+
var __read$j = function (o, n) {
|
|
11496
11547
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
11497
11548
|
if (!m) return o;
|
|
11498
11549
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -11587,7 +11638,7 @@ function parseDateTimeFromString(value) {
|
|
|
11587
11638
|
if (!value) {
|
|
11588
11639
|
return null;
|
|
11589
11640
|
}
|
|
11590
|
-
var _a = __read$
|
|
11641
|
+
var _a = __read$j(value.split(' '), 2), dateStr = _a[0], timeStr = _a[1];
|
|
11591
11642
|
if (!dateStr) {
|
|
11592
11643
|
return null;
|
|
11593
11644
|
}
|
|
@@ -11595,7 +11646,7 @@ function parseDateTimeFromString(value) {
|
|
|
11595
11646
|
if (fields.filter(function (f) { return !isNaN(f); }).length !== 3) {
|
|
11596
11647
|
return null;
|
|
11597
11648
|
}
|
|
11598
|
-
var _b = __read$
|
|
11649
|
+
var _b = __read$j(fields, 3), year = _b[0], month = _b[1], day = _b[2];
|
|
11599
11650
|
var date = new Date(year, month - 1, day);
|
|
11600
11651
|
if (date.getFullYear() !== year ||
|
|
11601
11652
|
date.getMonth() !== month - 1 ||
|
|
@@ -11606,7 +11657,7 @@ function parseDateTimeFromString(value) {
|
|
|
11606
11657
|
if (!timeStr || timeStr === '00:00:00') {
|
|
11607
11658
|
return date;
|
|
11608
11659
|
}
|
|
11609
|
-
var _c = __read$
|
|
11660
|
+
var _c = __read$j(timeStr.split(':').map(function (part) { return parseInt(part, 10); }), 3), hours = _c[0], minutes = _c[1], seconds = _c[2];
|
|
11610
11661
|
if (hours >= 0 && hours < 24) {
|
|
11611
11662
|
date.setHours(hours);
|
|
11612
11663
|
}
|
|
@@ -11628,7 +11679,7 @@ var DateUtils = /*#__PURE__*/Object.freeze({
|
|
|
11628
11679
|
|
|
11629
11680
|
/**
|
|
11630
11681
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11631
|
-
* @version v28.
|
|
11682
|
+
* @version v28.2.0
|
|
11632
11683
|
* @link https://www.ag-grid.com/
|
|
11633
11684
|
* @license MIT
|
|
11634
11685
|
*/
|
|
@@ -11827,7 +11878,7 @@ var IconUtils = /*#__PURE__*/Object.freeze({
|
|
|
11827
11878
|
|
|
11828
11879
|
/**
|
|
11829
11880
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11830
|
-
* @version v28.
|
|
11881
|
+
* @version v28.2.0
|
|
11831
11882
|
* @link https://www.ag-grid.com/
|
|
11832
11883
|
* @license MIT
|
|
11833
11884
|
*/
|
|
@@ -11862,7 +11913,7 @@ var KeyCode = /** @class */ (function () {
|
|
|
11862
11913
|
|
|
11863
11914
|
/**
|
|
11864
11915
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11865
|
-
* @version v28.
|
|
11916
|
+
* @version v28.2.0
|
|
11866
11917
|
* @link https://www.ag-grid.com/
|
|
11867
11918
|
* @license MIT
|
|
11868
11919
|
*/
|
|
@@ -11979,18 +12030,29 @@ function normaliseQwertyAzerty(keyboardEvent) {
|
|
|
11979
12030
|
}
|
|
11980
12031
|
return code;
|
|
11981
12032
|
}
|
|
12033
|
+
function isDeleteKey(key, alwaysReturnFalseOnBackspace) {
|
|
12034
|
+
if (alwaysReturnFalseOnBackspace === void 0) { alwaysReturnFalseOnBackspace = false; }
|
|
12035
|
+
if (key === KeyCode.DELETE) {
|
|
12036
|
+
return true;
|
|
12037
|
+
}
|
|
12038
|
+
if (!alwaysReturnFalseOnBackspace && key === KeyCode.BACKSPACE) {
|
|
12039
|
+
return isMacOsUserAgent();
|
|
12040
|
+
}
|
|
12041
|
+
return false;
|
|
12042
|
+
}
|
|
11982
12043
|
|
|
11983
12044
|
var KeyboardUtils = /*#__PURE__*/Object.freeze({
|
|
11984
12045
|
__proto__: null,
|
|
11985
12046
|
isEventFromPrintableCharacter: isEventFromPrintableCharacter,
|
|
11986
12047
|
isUserSuppressingKeyboardEvent: isUserSuppressingKeyboardEvent,
|
|
11987
12048
|
isUserSuppressingHeaderKeyboardEvent: isUserSuppressingHeaderKeyboardEvent,
|
|
11988
|
-
normaliseQwertyAzerty: normaliseQwertyAzerty
|
|
12049
|
+
normaliseQwertyAzerty: normaliseQwertyAzerty,
|
|
12050
|
+
isDeleteKey: isDeleteKey
|
|
11989
12051
|
});
|
|
11990
12052
|
|
|
11991
12053
|
/**
|
|
11992
12054
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
11993
|
-
* @version v28.
|
|
12055
|
+
* @version v28.2.0
|
|
11994
12056
|
* @link https://www.ag-grid.com/
|
|
11995
12057
|
* @license MIT
|
|
11996
12058
|
*/
|
|
@@ -12019,7 +12081,7 @@ var MouseUtils = /*#__PURE__*/Object.freeze({
|
|
|
12019
12081
|
|
|
12020
12082
|
/**
|
|
12021
12083
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12022
|
-
* @version v28.
|
|
12084
|
+
* @version v28.2.0
|
|
12023
12085
|
* @link https://www.ag-grid.com/
|
|
12024
12086
|
* @license MIT
|
|
12025
12087
|
*/
|
|
@@ -12030,10 +12092,12 @@ var MouseUtils = /*#__PURE__*/Object.freeze({
|
|
|
12030
12092
|
* don't have order id's
|
|
12031
12093
|
* @param {RowNode[]} rowNodes
|
|
12032
12094
|
* @param {Object} rowNodeOrder
|
|
12095
|
+
*
|
|
12096
|
+
* @returns a boolean representing whether nodes were reordered
|
|
12033
12097
|
*/
|
|
12034
12098
|
function sortRowNodesByOrder(rowNodes, rowNodeOrder) {
|
|
12035
12099
|
if (!rowNodes) {
|
|
12036
|
-
return;
|
|
12100
|
+
return false;
|
|
12037
12101
|
}
|
|
12038
12102
|
var comparator = function (nodeA, nodeB) {
|
|
12039
12103
|
var positionA = rowNodeOrder[nodeA.id];
|
|
@@ -12078,7 +12142,9 @@ function sortRowNodesByOrder(rowNodes, rowNodeOrder) {
|
|
|
12078
12142
|
}
|
|
12079
12143
|
if (atLeastOneOutOfOrder) {
|
|
12080
12144
|
rowNodes.sort(comparator);
|
|
12145
|
+
return true;
|
|
12081
12146
|
}
|
|
12147
|
+
return false;
|
|
12082
12148
|
}
|
|
12083
12149
|
function traverseNodesWithKey(nodes, callback) {
|
|
12084
12150
|
var keyParts = [];
|
|
@@ -12108,7 +12174,7 @@ var RowNodeUtils = /*#__PURE__*/Object.freeze({
|
|
|
12108
12174
|
|
|
12109
12175
|
/**
|
|
12110
12176
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12111
|
-
* @version v28.
|
|
12177
|
+
* @version v28.2.0
|
|
12112
12178
|
* @link https://www.ag-grid.com/
|
|
12113
12179
|
* @license MIT
|
|
12114
12180
|
*/
|
|
@@ -12125,12 +12191,12 @@ var SetUtils = /*#__PURE__*/Object.freeze({
|
|
|
12125
12191
|
|
|
12126
12192
|
/**
|
|
12127
12193
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12128
|
-
* @version v28.
|
|
12194
|
+
* @version v28.2.0
|
|
12129
12195
|
* @link https://www.ag-grid.com/
|
|
12130
12196
|
* @license MIT
|
|
12131
12197
|
*/
|
|
12132
|
-
var __assign$
|
|
12133
|
-
__assign$
|
|
12198
|
+
var __assign$f = function () {
|
|
12199
|
+
__assign$f = Object.assign || function(t) {
|
|
12134
12200
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
12135
12201
|
s = arguments[i];
|
|
12136
12202
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -12138,14 +12204,14 @@ var __assign$e = function () {
|
|
|
12138
12204
|
}
|
|
12139
12205
|
return t;
|
|
12140
12206
|
};
|
|
12141
|
-
return __assign$
|
|
12207
|
+
return __assign$f.apply(this, arguments);
|
|
12142
12208
|
};
|
|
12143
|
-
var utils = __assign$
|
|
12209
|
+
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);
|
|
12144
12210
|
var _ = utils;
|
|
12145
12211
|
|
|
12146
12212
|
/**
|
|
12147
12213
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12148
|
-
* @version v28.
|
|
12214
|
+
* @version v28.2.0
|
|
12149
12215
|
* @link https://www.ag-grid.com/
|
|
12150
12216
|
* @license MIT
|
|
12151
12217
|
*/
|
|
@@ -12172,7 +12238,7 @@ var NumberSequence = /** @class */ (function () {
|
|
|
12172
12238
|
|
|
12173
12239
|
/**
|
|
12174
12240
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12175
|
-
* @version v28.
|
|
12241
|
+
* @version v28.2.0
|
|
12176
12242
|
* @link https://www.ag-grid.com/
|
|
12177
12243
|
* @license MIT
|
|
12178
12244
|
*/
|
|
@@ -12235,7 +12301,7 @@ var AgPromise = /** @class */ (function () {
|
|
|
12235
12301
|
|
|
12236
12302
|
/**
|
|
12237
12303
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12238
|
-
* @version v28.
|
|
12304
|
+
* @version v28.2.0
|
|
12239
12305
|
* @link https://www.ag-grid.com/
|
|
12240
12306
|
* @license MIT
|
|
12241
12307
|
*/
|
|
@@ -12252,8 +12318,8 @@ var __extends$2P = (function () {
|
|
|
12252
12318
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12253
12319
|
};
|
|
12254
12320
|
})();
|
|
12255
|
-
var __assign$
|
|
12256
|
-
__assign$
|
|
12321
|
+
var __assign$e = function () {
|
|
12322
|
+
__assign$e = Object.assign || function(t) {
|
|
12257
12323
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
12258
12324
|
s = arguments[i];
|
|
12259
12325
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -12261,7 +12327,7 @@ var __assign$d = function () {
|
|
|
12261
12327
|
}
|
|
12262
12328
|
return t;
|
|
12263
12329
|
};
|
|
12264
|
-
return __assign$
|
|
12330
|
+
return __assign$e.apply(this, arguments);
|
|
12265
12331
|
};
|
|
12266
12332
|
var __decorate$2q = function (decorators, target, key, desc) {
|
|
12267
12333
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -12384,7 +12450,7 @@ var CustomTooltipFeature = /** @class */ (function (_super) {
|
|
|
12384
12450
|
return (now - then) < this.SHOW_QUICK_TOOLTIP_DIFF;
|
|
12385
12451
|
};
|
|
12386
12452
|
CustomTooltipFeature.prototype.showTooltip = function () {
|
|
12387
|
-
var params = __assign$
|
|
12453
|
+
var params = __assign$e({}, this.parentComp.getTooltipParams());
|
|
12388
12454
|
if (!exists(params.value)) {
|
|
12389
12455
|
this.setToDoNothing();
|
|
12390
12456
|
return;
|
|
@@ -12459,7 +12525,7 @@ var CustomTooltipFeature = /** @class */ (function (_super) {
|
|
|
12459
12525
|
|
|
12460
12526
|
/**
|
|
12461
12527
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12462
|
-
* @version v28.
|
|
12528
|
+
* @version v28.2.0
|
|
12463
12529
|
* @link https://www.ag-grid.com/
|
|
12464
12530
|
* @license MIT
|
|
12465
12531
|
*/
|
|
@@ -12524,7 +12590,7 @@ var CssClassManager = /** @class */ (function () {
|
|
|
12524
12590
|
|
|
12525
12591
|
/**
|
|
12526
12592
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12527
|
-
* @version v28.
|
|
12593
|
+
* @version v28.2.0
|
|
12528
12594
|
* @link https://www.ag-grid.com/
|
|
12529
12595
|
* @license MIT
|
|
12530
12596
|
*/
|
|
@@ -12882,7 +12948,7 @@ function getOrCreateProps(target, instanceName) {
|
|
|
12882
12948
|
|
|
12883
12949
|
/**
|
|
12884
12950
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12885
|
-
* @version v28.
|
|
12951
|
+
* @version v28.2.0
|
|
12886
12952
|
* @link https://www.ag-grid.com/
|
|
12887
12953
|
* @license MIT
|
|
12888
12954
|
*/
|
|
@@ -12954,7 +13020,7 @@ var ReadOnlyFloatingFilter = /** @class */ (function (_super) {
|
|
|
12954
13020
|
|
|
12955
13021
|
/**
|
|
12956
13022
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
12957
|
-
* @version v28.
|
|
13023
|
+
* @version v28.2.0
|
|
12958
13024
|
* @link https://www.ag-grid.com/
|
|
12959
13025
|
* @license MIT
|
|
12960
13026
|
*/
|
|
@@ -13045,12 +13111,12 @@ var DateCompWrapper = /** @class */ (function () {
|
|
|
13045
13111
|
|
|
13046
13112
|
/**
|
|
13047
13113
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13048
|
-
* @version v28.
|
|
13114
|
+
* @version v28.2.0
|
|
13049
13115
|
* @link https://www.ag-grid.com/
|
|
13050
13116
|
* @license MIT
|
|
13051
13117
|
*/
|
|
13052
|
-
var __assign$
|
|
13053
|
-
__assign$
|
|
13118
|
+
var __assign$d = function () {
|
|
13119
|
+
__assign$d = Object.assign || function(t) {
|
|
13054
13120
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
13055
13121
|
s = arguments[i];
|
|
13056
13122
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -13058,7 +13124,7 @@ var __assign$c = function () {
|
|
|
13058
13124
|
}
|
|
13059
13125
|
return t;
|
|
13060
13126
|
};
|
|
13061
|
-
return __assign$
|
|
13127
|
+
return __assign$d.apply(this, arguments);
|
|
13062
13128
|
};
|
|
13063
13129
|
/* Common logic for options, used by both filters and floating filters. */
|
|
13064
13130
|
var OptionsFactory = /** @class */ (function () {
|
|
@@ -13104,7 +13170,7 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13104
13170
|
return;
|
|
13105
13171
|
}
|
|
13106
13172
|
var test = filterOption.test;
|
|
13107
|
-
var mutatedFilterOptions = __assign$
|
|
13173
|
+
var mutatedFilterOptions = __assign$d({}, filterOption);
|
|
13108
13174
|
if (test != null && filterOption.predicate == null) {
|
|
13109
13175
|
mutatedFilterOptions.predicate = function (v, cv) { return test(v[0], cv); };
|
|
13110
13176
|
delete mutatedFilterOptions.test;
|
|
@@ -13147,7 +13213,7 @@ var OptionsFactory = /** @class */ (function () {
|
|
|
13147
13213
|
|
|
13148
13214
|
/**
|
|
13149
13215
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13150
|
-
* @version v28.
|
|
13216
|
+
* @version v28.2.0
|
|
13151
13217
|
* @link https://www.ag-grid.com/
|
|
13152
13218
|
* @license MIT
|
|
13153
13219
|
*/
|
|
@@ -13184,7 +13250,7 @@ var DEFAULT_FILTER_LOCALE_TEXT = {
|
|
|
13184
13250
|
|
|
13185
13251
|
/**
|
|
13186
13252
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13187
|
-
* @version v28.
|
|
13253
|
+
* @version v28.2.0
|
|
13188
13254
|
* @link https://www.ag-grid.com/
|
|
13189
13255
|
* @license MIT
|
|
13190
13256
|
*/
|
|
@@ -13201,8 +13267,8 @@ var __extends$2M = (function () {
|
|
|
13201
13267
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13202
13268
|
};
|
|
13203
13269
|
})();
|
|
13204
|
-
var __assign$
|
|
13205
|
-
__assign$
|
|
13270
|
+
var __assign$c = function () {
|
|
13271
|
+
__assign$c = Object.assign || function(t) {
|
|
13206
13272
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
13207
13273
|
s = arguments[i];
|
|
13208
13274
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -13210,7 +13276,7 @@ var __assign$b = function () {
|
|
|
13210
13276
|
}
|
|
13211
13277
|
return t;
|
|
13212
13278
|
};
|
|
13213
|
-
return __assign$
|
|
13279
|
+
return __assign$c.apply(this, arguments);
|
|
13214
13280
|
};
|
|
13215
13281
|
var __decorate$2n = function (decorators, target, key, desc) {
|
|
13216
13282
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -13225,7 +13291,7 @@ var ManagedFocusFeature = /** @class */ (function (_super) {
|
|
|
13225
13291
|
var _this = _super.call(this) || this;
|
|
13226
13292
|
_this.eFocusableElement = eFocusableElement;
|
|
13227
13293
|
_this.callbacks = callbacks;
|
|
13228
|
-
_this.callbacks = __assign$
|
|
13294
|
+
_this.callbacks = __assign$c({ shouldStopEventPropagation: function () { return false; }, onTabKeyDown: function (e) {
|
|
13229
13295
|
if (e.defaultPrevented) {
|
|
13230
13296
|
return;
|
|
13231
13297
|
}
|
|
@@ -13278,7 +13344,7 @@ var ManagedFocusFeature = /** @class */ (function (_super) {
|
|
|
13278
13344
|
|
|
13279
13345
|
/**
|
|
13280
13346
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13281
|
-
* @version v28.
|
|
13347
|
+
* @version v28.2.0
|
|
13282
13348
|
* @link https://www.ag-grid.com/
|
|
13283
13349
|
* @license MIT
|
|
13284
13350
|
*/
|
|
@@ -13568,7 +13634,7 @@ var ProvidedFilter = /** @class */ (function (_super) {
|
|
|
13568
13634
|
|
|
13569
13635
|
/**
|
|
13570
13636
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13571
|
-
* @version v28.
|
|
13637
|
+
* @version v28.2.0
|
|
13572
13638
|
* @link https://www.ag-grid.com/
|
|
13573
13639
|
* @license MIT
|
|
13574
13640
|
*/
|
|
@@ -13694,7 +13760,7 @@ var AgAbstractLabel = /** @class */ (function (_super) {
|
|
|
13694
13760
|
|
|
13695
13761
|
/**
|
|
13696
13762
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13697
|
-
* @version v28.
|
|
13763
|
+
* @version v28.2.0
|
|
13698
13764
|
* @link https://www.ag-grid.com/
|
|
13699
13765
|
* @license MIT
|
|
13700
13766
|
*/
|
|
@@ -13759,7 +13825,7 @@ var AgAbstractField = /** @class */ (function (_super) {
|
|
|
13759
13825
|
|
|
13760
13826
|
/**
|
|
13761
13827
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13762
|
-
* @version v28.
|
|
13828
|
+
* @version v28.2.0
|
|
13763
13829
|
* @link https://www.ag-grid.com/
|
|
13764
13830
|
* @license MIT
|
|
13765
13831
|
*/
|
|
@@ -13879,7 +13945,7 @@ var AgPickerField = /** @class */ (function (_super) {
|
|
|
13879
13945
|
|
|
13880
13946
|
/**
|
|
13881
13947
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
13882
|
-
* @version v28.
|
|
13948
|
+
* @version v28.2.0
|
|
13883
13949
|
* @link https://www.ag-grid.com/
|
|
13884
13950
|
* @license MIT
|
|
13885
13951
|
*/
|
|
@@ -14057,7 +14123,7 @@ var AgList = /** @class */ (function (_super) {
|
|
|
14057
14123
|
|
|
14058
14124
|
/**
|
|
14059
14125
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
14060
|
-
* @version v28.
|
|
14126
|
+
* @version v28.2.0
|
|
14061
14127
|
* @link https://www.ag-grid.com/
|
|
14062
14128
|
* @license MIT
|
|
14063
14129
|
*/
|
|
@@ -14189,7 +14255,7 @@ var AgSelect = /** @class */ (function (_super) {
|
|
|
14189
14255
|
|
|
14190
14256
|
/**
|
|
14191
14257
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
14192
|
-
* @version v28.
|
|
14258
|
+
* @version v28.2.0
|
|
14193
14259
|
* @link https://www.ag-grid.com/
|
|
14194
14260
|
* @license MIT
|
|
14195
14261
|
*/
|
|
@@ -14302,7 +14368,7 @@ var AgAbstractInputField = /** @class */ (function (_super) {
|
|
|
14302
14368
|
|
|
14303
14369
|
/**
|
|
14304
14370
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
14305
|
-
* @version v28.
|
|
14371
|
+
* @version v28.2.0
|
|
14306
14372
|
* @link https://www.ag-grid.com/
|
|
14307
14373
|
* @license MIT
|
|
14308
14374
|
*/
|
|
@@ -14797,7 +14863,7 @@ var SimpleFilter = /** @class */ (function (_super) {
|
|
|
14797
14863
|
|
|
14798
14864
|
/**
|
|
14799
14865
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
14800
|
-
* @version v28.
|
|
14866
|
+
* @version v28.2.0
|
|
14801
14867
|
* @link https://www.ag-grid.com/
|
|
14802
14868
|
* @license MIT
|
|
14803
14869
|
*/
|
|
@@ -14891,7 +14957,7 @@ var ScalarFilter = /** @class */ (function (_super) {
|
|
|
14891
14957
|
|
|
14892
14958
|
/**
|
|
14893
14959
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
14894
|
-
* @version v28.
|
|
14960
|
+
* @version v28.2.0
|
|
14895
14961
|
* @link https://www.ag-grid.com/
|
|
14896
14962
|
* @license MIT
|
|
14897
14963
|
*/
|
|
@@ -14908,8 +14974,8 @@ var __extends$2C = (function () {
|
|
|
14908
14974
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14909
14975
|
};
|
|
14910
14976
|
})();
|
|
14911
|
-
var __assign$
|
|
14912
|
-
__assign$
|
|
14977
|
+
var __assign$b = function () {
|
|
14978
|
+
__assign$b = Object.assign || function(t) {
|
|
14913
14979
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
14914
14980
|
s = arguments[i];
|
|
14915
14981
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -14917,7 +14983,7 @@ var __assign$a = function () {
|
|
|
14917
14983
|
}
|
|
14918
14984
|
return t;
|
|
14919
14985
|
};
|
|
14920
|
-
return __assign$
|
|
14986
|
+
return __assign$b.apply(this, arguments);
|
|
14921
14987
|
};
|
|
14922
14988
|
var __decorate$2f = function (decorators, target, key, desc) {
|
|
14923
14989
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -15056,7 +15122,7 @@ var DateFilter = /** @class */ (function (_super) {
|
|
|
15056
15122
|
if (values.length > 1) {
|
|
15057
15123
|
model.dateTo = serialiseDate(values[1]);
|
|
15058
15124
|
}
|
|
15059
|
-
return __assign$
|
|
15125
|
+
return __assign$b({ dateFrom: null, dateTo: null, filterType: this.getFilterType(), type: type }, model);
|
|
15060
15126
|
};
|
|
15061
15127
|
DateFilter.prototype.resetPlaceholder = function () {
|
|
15062
15128
|
var globalTranslate = this.gridOptionsWrapper.getLocaleTextFunc();
|
|
@@ -15111,7 +15177,7 @@ var DateFilter = /** @class */ (function (_super) {
|
|
|
15111
15177
|
|
|
15112
15178
|
/**
|
|
15113
15179
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15114
|
-
* @version v28.
|
|
15180
|
+
* @version v28.2.0
|
|
15115
15181
|
* @link https://www.ag-grid.com/
|
|
15116
15182
|
* @license MIT
|
|
15117
15183
|
*/
|
|
@@ -15152,12 +15218,12 @@ var SimpleFloatingFilter = /** @class */ (function (_super) {
|
|
|
15152
15218
|
if (isCombined) {
|
|
15153
15219
|
var combinedModel = model;
|
|
15154
15220
|
var _a = combinedModel || {}, condition1 = _a.condition1, condition2 = _a.condition2;
|
|
15155
|
-
var customOption1 = this.
|
|
15156
|
-
var customOption2 = this.
|
|
15221
|
+
var customOption1 = this.getTextFromModel(condition1);
|
|
15222
|
+
var customOption2 = this.getTextFromModel(condition2);
|
|
15157
15223
|
return [
|
|
15158
|
-
|
|
15224
|
+
customOption1,
|
|
15159
15225
|
combinedModel.operator,
|
|
15160
|
-
|
|
15226
|
+
customOption2,
|
|
15161
15227
|
].join(' ');
|
|
15162
15228
|
}
|
|
15163
15229
|
else {
|
|
@@ -15246,7 +15312,7 @@ var SimpleFloatingFilter = /** @class */ (function (_super) {
|
|
|
15246
15312
|
|
|
15247
15313
|
/**
|
|
15248
15314
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15249
|
-
* @version v28.
|
|
15315
|
+
* @version v28.2.0
|
|
15250
15316
|
* @link https://www.ag-grid.com/
|
|
15251
15317
|
* @license MIT
|
|
15252
15318
|
*/
|
|
@@ -15370,7 +15436,7 @@ var DateFloatingFilter = /** @class */ (function (_super) {
|
|
|
15370
15436
|
|
|
15371
15437
|
/**
|
|
15372
15438
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15373
|
-
* @version v28.
|
|
15439
|
+
* @version v28.2.0
|
|
15374
15440
|
* @link https://www.ag-grid.com/
|
|
15375
15441
|
* @license MIT
|
|
15376
15442
|
*/
|
|
@@ -15465,7 +15531,7 @@ var DefaultDateComponent = /** @class */ (function (_super) {
|
|
|
15465
15531
|
|
|
15466
15532
|
/**
|
|
15467
15533
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15468
|
-
* @version v28.
|
|
15534
|
+
* @version v28.2.0
|
|
15469
15535
|
* @link https://www.ag-grid.com/
|
|
15470
15536
|
* @license MIT
|
|
15471
15537
|
*/
|
|
@@ -15626,7 +15692,7 @@ var NumberFilter = /** @class */ (function (_super) {
|
|
|
15626
15692
|
|
|
15627
15693
|
/**
|
|
15628
15694
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15629
|
-
* @version v28.
|
|
15695
|
+
* @version v28.2.0
|
|
15630
15696
|
* @link https://www.ag-grid.com/
|
|
15631
15697
|
* @license MIT
|
|
15632
15698
|
*/
|
|
@@ -15643,8 +15709,8 @@ var __extends$2x = (function () {
|
|
|
15643
15709
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15644
15710
|
};
|
|
15645
15711
|
})();
|
|
15646
|
-
var __assign$
|
|
15647
|
-
__assign$
|
|
15712
|
+
var __assign$a = function () {
|
|
15713
|
+
__assign$a = Object.assign || function(t) {
|
|
15648
15714
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
15649
15715
|
s = arguments[i];
|
|
15650
15716
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -15652,7 +15718,7 @@ var __assign$9 = function () {
|
|
|
15652
15718
|
}
|
|
15653
15719
|
return t;
|
|
15654
15720
|
};
|
|
15655
|
-
return __assign$
|
|
15721
|
+
return __assign$a.apply(this, arguments);
|
|
15656
15722
|
};
|
|
15657
15723
|
var __decorate$2b = function (decorators, target, key, desc) {
|
|
15658
15724
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -15776,7 +15842,7 @@ var TextFilter = /** @class */ (function (_super) {
|
|
|
15776
15842
|
value: cellValueFormatted,
|
|
15777
15843
|
textFormatter: textFormatter,
|
|
15778
15844
|
};
|
|
15779
|
-
return formattedValues.some(function (v) { return _this.matcher(__assign$
|
|
15845
|
+
return formattedValues.some(function (v) { return _this.matcher(__assign$a(__assign$a({}, matcherParams), { filterText: v })); });
|
|
15780
15846
|
};
|
|
15781
15847
|
TextFilter.DEFAULT_FILTER_OPTIONS = [
|
|
15782
15848
|
SimpleFilter.CONTAINS,
|
|
@@ -15830,7 +15896,7 @@ var TextFilter = /** @class */ (function (_super) {
|
|
|
15830
15896
|
|
|
15831
15897
|
/**
|
|
15832
15898
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15833
|
-
* @version v28.
|
|
15899
|
+
* @version v28.2.0
|
|
15834
15900
|
* @link https://www.ag-grid.com/
|
|
15835
15901
|
* @license MIT
|
|
15836
15902
|
*/
|
|
@@ -15949,7 +16015,7 @@ var TextInputFloatingFilter = /** @class */ (function (_super) {
|
|
|
15949
16015
|
|
|
15950
16016
|
/**
|
|
15951
16017
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15952
|
-
* @version v28.
|
|
16018
|
+
* @version v28.2.0
|
|
15953
16019
|
* @link https://www.ag-grid.com/
|
|
15954
16020
|
* @license MIT
|
|
15955
16021
|
*/
|
|
@@ -15979,7 +16045,7 @@ var NumberFloatingFilter = /** @class */ (function (_super) {
|
|
|
15979
16045
|
|
|
15980
16046
|
/**
|
|
15981
16047
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
15982
|
-
* @version v28.
|
|
16048
|
+
* @version v28.2.0
|
|
15983
16049
|
* @link https://www.ag-grid.com/
|
|
15984
16050
|
* @license MIT
|
|
15985
16051
|
*/
|
|
@@ -16009,7 +16075,7 @@ var TextFloatingFilter = /** @class */ (function (_super) {
|
|
|
16009
16075
|
|
|
16010
16076
|
/**
|
|
16011
16077
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16012
|
-
* @version v28.
|
|
16078
|
+
* @version v28.2.0
|
|
16013
16079
|
* @link https://www.ag-grid.com/
|
|
16014
16080
|
* @license MIT
|
|
16015
16081
|
*/
|
|
@@ -16139,7 +16205,7 @@ var TouchListener = /** @class */ (function () {
|
|
|
16139
16205
|
|
|
16140
16206
|
/**
|
|
16141
16207
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16142
|
-
* @version v28.
|
|
16208
|
+
* @version v28.2.0
|
|
16143
16209
|
* @link https://www.ag-grid.com/
|
|
16144
16210
|
* @license MIT
|
|
16145
16211
|
*/
|
|
@@ -16295,7 +16361,7 @@ var SortIndicatorComp = /** @class */ (function (_super) {
|
|
|
16295
16361
|
|
|
16296
16362
|
/**
|
|
16297
16363
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16298
|
-
* @version v28.
|
|
16364
|
+
* @version v28.2.0
|
|
16299
16365
|
* @link https://www.ag-grid.com/
|
|
16300
16366
|
* @license MIT
|
|
16301
16367
|
*/
|
|
@@ -16566,7 +16632,7 @@ var HeaderComp = /** @class */ (function (_super) {
|
|
|
16566
16632
|
|
|
16567
16633
|
/**
|
|
16568
16634
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16569
|
-
* @version v28.
|
|
16635
|
+
* @version v28.2.0
|
|
16570
16636
|
* @link https://www.ag-grid.com/
|
|
16571
16637
|
* @license MIT
|
|
16572
16638
|
*/
|
|
@@ -16696,7 +16762,7 @@ var HeaderGroupComp = /** @class */ (function (_super) {
|
|
|
16696
16762
|
|
|
16697
16763
|
/**
|
|
16698
16764
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16699
|
-
* @version v28.
|
|
16765
|
+
* @version v28.2.0
|
|
16700
16766
|
* @link https://www.ag-grid.com/
|
|
16701
16767
|
* @license MIT
|
|
16702
16768
|
*/
|
|
@@ -16738,7 +16804,7 @@ var PopupComponent = /** @class */ (function (_super) {
|
|
|
16738
16804
|
|
|
16739
16805
|
/**
|
|
16740
16806
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16741
|
-
* @version v28.
|
|
16807
|
+
* @version v28.2.0
|
|
16742
16808
|
* @link https://www.ag-grid.com/
|
|
16743
16809
|
* @license MIT
|
|
16744
16810
|
*/
|
|
@@ -16807,7 +16873,7 @@ var LargeTextCellEditor = /** @class */ (function (_super) {
|
|
|
16807
16873
|
|
|
16808
16874
|
/**
|
|
16809
16875
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16810
|
-
* @version v28.
|
|
16876
|
+
* @version v28.2.0
|
|
16811
16877
|
* @link https://www.ag-grid.com/
|
|
16812
16878
|
* @license MIT
|
|
16813
16879
|
*/
|
|
@@ -16894,7 +16960,7 @@ var SelectCellEditor = /** @class */ (function (_super) {
|
|
|
16894
16960
|
|
|
16895
16961
|
/**
|
|
16896
16962
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16897
|
-
* @version v28.
|
|
16963
|
+
* @version v28.2.0
|
|
16898
16964
|
* @link https://www.ag-grid.com/
|
|
16899
16965
|
* @license MIT
|
|
16900
16966
|
*/
|
|
@@ -16926,7 +16992,7 @@ var PopupSelectCellEditor = /** @class */ (function (_super) {
|
|
|
16926
16992
|
|
|
16927
16993
|
/**
|
|
16928
16994
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
16929
|
-
* @version v28.
|
|
16995
|
+
* @version v28.2.0
|
|
16930
16996
|
* @link https://www.ag-grid.com/
|
|
16931
16997
|
* @license MIT
|
|
16932
16998
|
*/
|
|
@@ -17045,7 +17111,7 @@ var TextCellEditor = /** @class */ (function (_super) {
|
|
|
17045
17111
|
|
|
17046
17112
|
/**
|
|
17047
17113
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
17048
|
-
* @version v28.
|
|
17114
|
+
* @version v28.2.0
|
|
17049
17115
|
* @link https://www.ag-grid.com/
|
|
17050
17116
|
* @license MIT
|
|
17051
17117
|
*/
|
|
@@ -17077,7 +17143,7 @@ var PopupTextCellEditor = /** @class */ (function (_super) {
|
|
|
17077
17143
|
|
|
17078
17144
|
/**
|
|
17079
17145
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
17080
|
-
* @version v28.
|
|
17146
|
+
* @version v28.2.0
|
|
17081
17147
|
* @link https://www.ag-grid.com/
|
|
17082
17148
|
* @license MIT
|
|
17083
17149
|
*/
|
|
@@ -17191,7 +17257,7 @@ var AnimateShowChangeCellRenderer = /** @class */ (function (_super) {
|
|
|
17191
17257
|
|
|
17192
17258
|
/**
|
|
17193
17259
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
17194
|
-
* @version v28.
|
|
17260
|
+
* @version v28.2.0
|
|
17195
17261
|
* @link https://www.ag-grid.com/
|
|
17196
17262
|
* @license MIT
|
|
17197
17263
|
*/
|
|
@@ -17291,7 +17357,7 @@ var AnimateSlideCellRenderer = /** @class */ (function (_super) {
|
|
|
17291
17357
|
|
|
17292
17358
|
/**
|
|
17293
17359
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
17294
|
-
* @version v28.
|
|
17360
|
+
* @version v28.2.0
|
|
17295
17361
|
* @link https://www.ag-grid.com/
|
|
17296
17362
|
* @license MIT
|
|
17297
17363
|
*/
|
|
@@ -17329,7 +17395,6 @@ var RowNode = /** @class */ (function () {
|
|
|
17329
17395
|
this.alreadyRendered = false;
|
|
17330
17396
|
this.highlighted = null;
|
|
17331
17397
|
this.selected = false;
|
|
17332
|
-
this.onRowHeightChangedDebounced = debounce(this.onRowHeightChanged.bind(this), 100);
|
|
17333
17398
|
this.beans = beans;
|
|
17334
17399
|
}
|
|
17335
17400
|
/** Replaces the data on the `rowNode`. When complete, the grid will refresh the the entire rendered row if it is showing. */
|
|
@@ -17650,18 +17715,9 @@ var RowNode = /** @class */ (function () {
|
|
|
17650
17715
|
return;
|
|
17651
17716
|
}
|
|
17652
17717
|
this.setRowHeight(newRowHeight);
|
|
17653
|
-
this.onRowHeightChangedDebounced();
|
|
17654
|
-
};
|
|
17655
|
-
/** This method is debounced. It is used for row auto-height. If we don't debounce,
|
|
17656
|
-
* then the Row Models will end up recalculating each row position
|
|
17657
|
-
* for each row height change and result in the Row Renderer laying out rows.
|
|
17658
|
-
* This is particularly bad if using print layout, and showing eg 1,000 rows,
|
|
17659
|
-
* each row will change it's height, causing Row Model to update 1,000 times.
|
|
17660
|
-
*/
|
|
17661
|
-
RowNode.prototype.onRowHeightChanged = function () {
|
|
17662
17718
|
var rowModel = this.beans.rowModel;
|
|
17663
|
-
if (rowModel.
|
|
17664
|
-
rowModel.
|
|
17719
|
+
if (rowModel.onRowHeightChangedDebounced) {
|
|
17720
|
+
rowModel.onRowHeightChangedDebounced();
|
|
17665
17721
|
}
|
|
17666
17722
|
};
|
|
17667
17723
|
RowNode.prototype.setRowIndex = function (rowIndex) {
|
|
@@ -18139,7 +18195,7 @@ var RowNode = /** @class */ (function () {
|
|
|
18139
18195
|
|
|
18140
18196
|
/**
|
|
18141
18197
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
18142
|
-
* @version v28.
|
|
18198
|
+
* @version v28.2.0
|
|
18143
18199
|
* @link https://www.ag-grid.com/
|
|
18144
18200
|
* @license MIT
|
|
18145
18201
|
*/
|
|
@@ -18156,8 +18212,8 @@ var __extends$2i = (function () {
|
|
|
18156
18212
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18157
18213
|
};
|
|
18158
18214
|
})();
|
|
18159
|
-
var __assign$
|
|
18160
|
-
__assign$
|
|
18215
|
+
var __assign$9 = function () {
|
|
18216
|
+
__assign$9 = Object.assign || function(t) {
|
|
18161
18217
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18162
18218
|
s = arguments[i];
|
|
18163
18219
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -18165,7 +18221,7 @@ var __assign$8 = function () {
|
|
|
18165
18221
|
}
|
|
18166
18222
|
return t;
|
|
18167
18223
|
};
|
|
18168
|
-
return __assign$
|
|
18224
|
+
return __assign$9.apply(this, arguments);
|
|
18169
18225
|
};
|
|
18170
18226
|
var __decorate$21 = function (decorators, target, key, desc) {
|
|
18171
18227
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -18220,12 +18276,14 @@ var CheckboxSelectionComponent = /** @class */ (function (_super) {
|
|
|
18220
18276
|
this.column = params.column;
|
|
18221
18277
|
this.overrides = params.overrides;
|
|
18222
18278
|
this.onSelectionChanged();
|
|
18223
|
-
// we don't want
|
|
18224
|
-
|
|
18225
|
-
|
|
18226
|
-
|
|
18227
|
-
this.addGuiEventListener('dblclick', function (event) { return stopPropagationForAgGrid(event); });
|
|
18279
|
+
// we don't want double click on this icon to open a group
|
|
18280
|
+
this.addManagedListener(this.eCheckbox.getInputElement(), 'dblclick', function (event) {
|
|
18281
|
+
stopPropagationForAgGrid(event);
|
|
18282
|
+
});
|
|
18228
18283
|
this.addManagedListener(this.eCheckbox.getInputElement(), 'click', function (event) {
|
|
18284
|
+
// we don't want the row clicked event to fire when selecting the checkbox, otherwise the row
|
|
18285
|
+
// would possibly get selected twice
|
|
18286
|
+
stopPropagationForAgGrid(event);
|
|
18229
18287
|
var isSelected = _this.eCheckbox.getValue();
|
|
18230
18288
|
var previousValue = _this.eCheckbox.getPreviousValue();
|
|
18231
18289
|
if (previousValue === undefined || isSelected === undefined) {
|
|
@@ -18268,7 +18326,7 @@ var CheckboxSelectionComponent = /** @class */ (function (_super) {
|
|
|
18268
18326
|
if (typeof isVisible === 'function') {
|
|
18269
18327
|
var extraParams = (_a = this.overrides) === null || _a === void 0 ? void 0 : _a.callbackParams;
|
|
18270
18328
|
var params = (_b = this.column) === null || _b === void 0 ? void 0 : _b.createColumnFunctionCallbackParams(this.rowNode);
|
|
18271
|
-
selectable = params ? isVisible(__assign$
|
|
18329
|
+
selectable = params ? isVisible(__assign$9(__assign$9({}, extraParams), params)) : false;
|
|
18272
18330
|
}
|
|
18273
18331
|
else {
|
|
18274
18332
|
selectable = (isVisible !== null && isVisible !== void 0 ? isVisible : false);
|
|
@@ -18306,7 +18364,7 @@ var CheckboxSelectionComponent = /** @class */ (function (_super) {
|
|
|
18306
18364
|
|
|
18307
18365
|
/**
|
|
18308
18366
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
18309
|
-
* @version v28.
|
|
18367
|
+
* @version v28.2.0
|
|
18310
18368
|
* @link https://www.ag-grid.com/
|
|
18311
18369
|
* @license MIT
|
|
18312
18370
|
*/
|
|
@@ -18782,7 +18840,7 @@ var DragAndDropService = /** @class */ (function (_super) {
|
|
|
18782
18840
|
|
|
18783
18841
|
/**
|
|
18784
18842
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
18785
|
-
* @version v28.
|
|
18843
|
+
* @version v28.2.0
|
|
18786
18844
|
* @link https://www.ag-grid.com/
|
|
18787
18845
|
* @license MIT
|
|
18788
18846
|
*/
|
|
@@ -18875,7 +18933,7 @@ var RowDragComp = /** @class */ (function (_super) {
|
|
|
18875
18933
|
if (this.dragSource) {
|
|
18876
18934
|
this.removeDragSource();
|
|
18877
18935
|
}
|
|
18878
|
-
var rowDragText = this.
|
|
18936
|
+
var rowDragText = this.gridOptionsWrapper.getRowDragText(this.column);
|
|
18879
18937
|
var translate = this.gridOptionsWrapper.getLocaleTextFunc();
|
|
18880
18938
|
this.dragSource = {
|
|
18881
18939
|
type: DragSourceType.RowDrag,
|
|
@@ -19018,7 +19076,7 @@ var ManagedVisibilityStrategy = /** @class */ (function (_super) {
|
|
|
19018
19076
|
|
|
19019
19077
|
/**
|
|
19020
19078
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19021
|
-
* @version v28.
|
|
19079
|
+
* @version v28.2.0
|
|
19022
19080
|
* @link https://www.ag-grid.com/
|
|
19023
19081
|
* @license MIT
|
|
19024
19082
|
*/
|
|
@@ -19035,8 +19093,8 @@ var __extends$2f = (function () {
|
|
|
19035
19093
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
19036
19094
|
};
|
|
19037
19095
|
})();
|
|
19038
|
-
var __assign$
|
|
19039
|
-
__assign$
|
|
19096
|
+
var __assign$8 = function () {
|
|
19097
|
+
__assign$8 = Object.assign || function(t) {
|
|
19040
19098
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
19041
19099
|
s = arguments[i];
|
|
19042
19100
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -19044,7 +19102,7 @@ var __assign$7 = function () {
|
|
|
19044
19102
|
}
|
|
19045
19103
|
return t;
|
|
19046
19104
|
};
|
|
19047
|
-
return __assign$
|
|
19105
|
+
return __assign$8.apply(this, arguments);
|
|
19048
19106
|
};
|
|
19049
19107
|
var __decorate$1_ = function (decorators, target, key, desc) {
|
|
19050
19108
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -19249,7 +19307,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19249
19307
|
// we don't update the original params, as they could of come through React,
|
|
19250
19308
|
// as react has RowGroupCellRenderer, which means the params could be props which
|
|
19251
19309
|
// would be read only
|
|
19252
|
-
var paramsAdjusted = __assign$
|
|
19310
|
+
var paramsAdjusted = __assign$8(__assign$8({}, params), { valueFormatted: valueFormatted });
|
|
19253
19311
|
return paramsAdjusted;
|
|
19254
19312
|
};
|
|
19255
19313
|
GroupCellRendererCtrl.prototype.addFooterValue = function () {
|
|
@@ -19582,7 +19640,7 @@ var GroupCellRendererCtrl = /** @class */ (function (_super) {
|
|
|
19582
19640
|
|
|
19583
19641
|
/**
|
|
19584
19642
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19585
|
-
* @version v28.
|
|
19643
|
+
* @version v28.2.0
|
|
19586
19644
|
* @link https://www.ag-grid.com/
|
|
19587
19645
|
* @license MIT
|
|
19588
19646
|
*/
|
|
@@ -19683,7 +19741,7 @@ var GroupCellRenderer = /** @class */ (function (_super) {
|
|
|
19683
19741
|
|
|
19684
19742
|
/**
|
|
19685
19743
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19686
|
-
* @version v28.
|
|
19744
|
+
* @version v28.2.0
|
|
19687
19745
|
* @link https://www.ag-grid.com/
|
|
19688
19746
|
* @license MIT
|
|
19689
19747
|
*/
|
|
@@ -19745,7 +19803,7 @@ var LoadingCellRenderer = /** @class */ (function (_super) {
|
|
|
19745
19803
|
|
|
19746
19804
|
/**
|
|
19747
19805
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19748
|
-
* @version v28.
|
|
19806
|
+
* @version v28.2.0
|
|
19749
19807
|
* @link https://www.ag-grid.com/
|
|
19750
19808
|
* @license MIT
|
|
19751
19809
|
*/
|
|
@@ -19785,7 +19843,7 @@ var LoadingOverlayComponent$1 = /** @class */ (function (_super) {
|
|
|
19785
19843
|
|
|
19786
19844
|
/**
|
|
19787
19845
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19788
|
-
* @version v28.
|
|
19846
|
+
* @version v28.2.0
|
|
19789
19847
|
* @link https://www.ag-grid.com/
|
|
19790
19848
|
* @license MIT
|
|
19791
19849
|
*/
|
|
@@ -19825,7 +19883,7 @@ var NoRowsOverlayComponent$1 = /** @class */ (function (_super) {
|
|
|
19825
19883
|
|
|
19826
19884
|
/**
|
|
19827
19885
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19828
|
-
* @version v28.
|
|
19886
|
+
* @version v28.2.0
|
|
19829
19887
|
* @link https://www.ag-grid.com/
|
|
19830
19888
|
* @license MIT
|
|
19831
19889
|
*/
|
|
@@ -19857,7 +19915,7 @@ var TooltipComponent$1 = /** @class */ (function (_super) {
|
|
|
19857
19915
|
|
|
19858
19916
|
/**
|
|
19859
19917
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
19860
|
-
* @version v28.
|
|
19918
|
+
* @version v28.2.0
|
|
19861
19919
|
* @link https://www.ag-grid.com/
|
|
19862
19920
|
* @license MIT
|
|
19863
19921
|
*/
|
|
@@ -20067,7 +20125,7 @@ var UserComponentRegistry = /** @class */ (function (_super) {
|
|
|
20067
20125
|
|
|
20068
20126
|
/**
|
|
20069
20127
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20070
|
-
* @version v28.
|
|
20128
|
+
* @version v28.2.0
|
|
20071
20129
|
* @link https://www.ag-grid.com/
|
|
20072
20130
|
* @license MIT
|
|
20073
20131
|
*/
|
|
@@ -20142,7 +20200,7 @@ var FullWidthDetail = {
|
|
|
20142
20200
|
|
|
20143
20201
|
/**
|
|
20144
20202
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20145
|
-
* @version v28.
|
|
20203
|
+
* @version v28.2.0
|
|
20146
20204
|
* @link https://www.ag-grid.com/
|
|
20147
20205
|
* @license MIT
|
|
20148
20206
|
*/
|
|
@@ -20169,7 +20227,7 @@ var FloatingFilterMapper = /** @class */ (function () {
|
|
|
20169
20227
|
|
|
20170
20228
|
/**
|
|
20171
20229
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20172
|
-
* @version v28.
|
|
20230
|
+
* @version v28.2.0
|
|
20173
20231
|
* @link https://www.ag-grid.com/
|
|
20174
20232
|
* @license MIT
|
|
20175
20233
|
*/
|
|
@@ -20460,7 +20518,7 @@ var UserComponentFactory = /** @class */ (function (_super) {
|
|
|
20460
20518
|
|
|
20461
20519
|
/**
|
|
20462
20520
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20463
|
-
* @version v28.
|
|
20521
|
+
* @version v28.2.0
|
|
20464
20522
|
* @link https://www.ag-grid.com/
|
|
20465
20523
|
* @license MIT
|
|
20466
20524
|
*/
|
|
@@ -20473,7 +20531,7 @@ var ExcelFactoryMode;
|
|
|
20473
20531
|
|
|
20474
20532
|
/**
|
|
20475
20533
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20476
|
-
* @version v28.
|
|
20534
|
+
* @version v28.2.0
|
|
20477
20535
|
* @link https://www.ag-grid.com/
|
|
20478
20536
|
* @license MIT
|
|
20479
20537
|
*/
|
|
@@ -20543,6 +20601,9 @@ var DragService = /** @class */ (function (_super) {
|
|
|
20543
20601
|
var suppressTouch = this.gridOptionsWrapper.isSuppressTouch();
|
|
20544
20602
|
if (includeTouch && !suppressTouch) {
|
|
20545
20603
|
touchListener = function (touchEvent) {
|
|
20604
|
+
if (isFocusableFormField(touchEvent.target)) {
|
|
20605
|
+
return;
|
|
20606
|
+
}
|
|
20546
20607
|
if (touchEvent.cancelable) {
|
|
20547
20608
|
touchEvent.preventDefault();
|
|
20548
20609
|
}
|
|
@@ -20772,7 +20833,7 @@ var DragService = /** @class */ (function (_super) {
|
|
|
20772
20833
|
|
|
20773
20834
|
/**
|
|
20774
20835
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
20775
|
-
* @version v28.
|
|
20836
|
+
* @version v28.2.0
|
|
20776
20837
|
* @link https://www.ag-grid.com/
|
|
20777
20838
|
* @license MIT
|
|
20778
20839
|
*/
|
|
@@ -20789,8 +20850,8 @@ var __extends$26 = (function () {
|
|
|
20789
20850
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20790
20851
|
};
|
|
20791
20852
|
})();
|
|
20792
|
-
var __assign$
|
|
20793
|
-
__assign$
|
|
20853
|
+
var __assign$7 = function () {
|
|
20854
|
+
__assign$7 = Object.assign || function(t) {
|
|
20794
20855
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20795
20856
|
s = arguments[i];
|
|
20796
20857
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -20798,7 +20859,7 @@ var __assign$6 = function () {
|
|
|
20798
20859
|
}
|
|
20799
20860
|
return t;
|
|
20800
20861
|
};
|
|
20801
|
-
return __assign$
|
|
20862
|
+
return __assign$7.apply(this, arguments);
|
|
20802
20863
|
};
|
|
20803
20864
|
var __decorate$1U = function (decorators, target, key, desc) {
|
|
20804
20865
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -21229,7 +21290,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21229
21290
|
var defaultFilter = ModuleRegistry.isRegistered(ModuleNames.SetFilterModule) ? 'agSetColumnFilter' : 'agTextColumnFilter';
|
|
21230
21291
|
var colDef = column.getColDef();
|
|
21231
21292
|
var filterInstance;
|
|
21232
|
-
var params = __assign$
|
|
21293
|
+
var params = __assign$7(__assign$7({}, this.createFilterParams(column, colDef)), { filterModifiedCallback: function () {
|
|
21233
21294
|
var event = {
|
|
21234
21295
|
type: Events.EVENT_FILTER_MODIFIED,
|
|
21235
21296
|
column: column,
|
|
@@ -21383,7 +21444,7 @@ var FilterManager = /** @class */ (function (_super) {
|
|
|
21383
21444
|
|
|
21384
21445
|
/**
|
|
21385
21446
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
21386
|
-
* @version v28.
|
|
21447
|
+
* @version v28.2.0
|
|
21387
21448
|
* @link https://www.ag-grid.com/
|
|
21388
21449
|
* @license MIT
|
|
21389
21450
|
*/
|
|
@@ -21415,7 +21476,7 @@ var AbstractHeaderCellComp = /** @class */ (function (_super) {
|
|
|
21415
21476
|
|
|
21416
21477
|
/**
|
|
21417
21478
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
21418
|
-
* @version v28.
|
|
21479
|
+
* @version v28.2.0
|
|
21419
21480
|
* @link https://www.ag-grid.com/
|
|
21420
21481
|
* @license MIT
|
|
21421
21482
|
*/
|
|
@@ -21495,7 +21556,7 @@ var HeaderFilterCellComp = /** @class */ (function (_super) {
|
|
|
21495
21556
|
|
|
21496
21557
|
/**
|
|
21497
21558
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
21498
|
-
* @version v28.
|
|
21559
|
+
* @version v28.2.0
|
|
21499
21560
|
* @link https://www.ag-grid.com/
|
|
21500
21561
|
* @license MIT
|
|
21501
21562
|
*/
|
|
@@ -21557,7 +21618,7 @@ var LayoutFeature = /** @class */ (function (_super) {
|
|
|
21557
21618
|
|
|
21558
21619
|
/**
|
|
21559
21620
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
21560
|
-
* @version v28.
|
|
21621
|
+
* @version v28.2.0
|
|
21561
21622
|
* @link https://www.ag-grid.com/
|
|
21562
21623
|
* @license MIT
|
|
21563
21624
|
*/
|
|
@@ -22047,7 +22108,7 @@ var GridBodyScrollFeature = /** @class */ (function (_super) {
|
|
|
22047
22108
|
|
|
22048
22109
|
/**
|
|
22049
22110
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
22050
|
-
* @version v28.
|
|
22111
|
+
* @version v28.2.0
|
|
22051
22112
|
* @link https://www.ag-grid.com/
|
|
22052
22113
|
* @license MIT
|
|
22053
22114
|
*/
|
|
@@ -22135,7 +22196,7 @@ var AutoScrollService = /** @class */ (function () {
|
|
|
22135
22196
|
|
|
22136
22197
|
/**
|
|
22137
22198
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
22138
|
-
* @version v28.
|
|
22199
|
+
* @version v28.2.0
|
|
22139
22200
|
* @link https://www.ag-grid.com/
|
|
22140
22201
|
* @license MIT
|
|
22141
22202
|
*/
|
|
@@ -22152,8 +22213,8 @@ var __extends$21 = (function () {
|
|
|
22152
22213
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22153
22214
|
};
|
|
22154
22215
|
})();
|
|
22155
|
-
var __assign$
|
|
22156
|
-
__assign$
|
|
22216
|
+
var __assign$6 = function () {
|
|
22217
|
+
__assign$6 = Object.assign || function(t) {
|
|
22157
22218
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
22158
22219
|
s = arguments[i];
|
|
22159
22220
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -22161,7 +22222,7 @@ var __assign$5 = function () {
|
|
|
22161
22222
|
}
|
|
22162
22223
|
return t;
|
|
22163
22224
|
};
|
|
22164
|
-
return __assign$
|
|
22225
|
+
return __assign$6.apply(this, arguments);
|
|
22165
22226
|
};
|
|
22166
22227
|
var __decorate$1Q = function (decorators, target, key, desc) {
|
|
22167
22228
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -22169,7 +22230,7 @@ var __decorate$1Q = function (decorators, target, key, desc) {
|
|
|
22169
22230
|
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;
|
|
22170
22231
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22171
22232
|
};
|
|
22172
|
-
var __read$
|
|
22233
|
+
var __read$i = function (o, n) {
|
|
22173
22234
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
22174
22235
|
if (!m) return o;
|
|
22175
22236
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -22185,8 +22246,8 @@ var __read$h = function (o, n) {
|
|
|
22185
22246
|
}
|
|
22186
22247
|
return ar;
|
|
22187
22248
|
};
|
|
22188
|
-
var __spread$
|
|
22189
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
22249
|
+
var __spread$e = function () {
|
|
22250
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$i(arguments[i]));
|
|
22190
22251
|
return ar;
|
|
22191
22252
|
};
|
|
22192
22253
|
var RowDragFeature = /** @class */ (function (_super) {
|
|
@@ -22260,7 +22321,7 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22260
22321
|
return draggingEvent.dragItem.rowNodes || [];
|
|
22261
22322
|
}
|
|
22262
22323
|
var isRowDragMultiRow = this.gridOptionsWrapper.isRowDragMultiRow();
|
|
22263
|
-
var selectedNodes = __spread$
|
|
22324
|
+
var selectedNodes = __spread$e(this.selectionService.getSelectedNodes()).sort(function (a, b) {
|
|
22264
22325
|
if (a.rowIndex == null || b.rowIndex == null) {
|
|
22265
22326
|
return 0;
|
|
22266
22327
|
}
|
|
@@ -22410,7 +22471,7 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22410
22471
|
};
|
|
22411
22472
|
}
|
|
22412
22473
|
}
|
|
22413
|
-
this.dragAndDropService.addDropTarget(__assign$
|
|
22474
|
+
this.dragAndDropService.addDropTarget(__assign$6({ isInterestedIn: function (type) { return type === DragSourceType.RowDrag; }, getIconName: function () { return DragAndDropService.ICON_MOVE; }, external: true }, processedParams));
|
|
22414
22475
|
};
|
|
22415
22476
|
RowDragFeature.prototype.getRowDropZone = function (events) {
|
|
22416
22477
|
var _this = this;
|
|
@@ -22557,7 +22618,7 @@ var RowDragFeature = /** @class */ (function (_super) {
|
|
|
22557
22618
|
|
|
22558
22619
|
/**
|
|
22559
22620
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
22560
|
-
* @version v28.
|
|
22621
|
+
* @version v28.2.0
|
|
22561
22622
|
* @link https://www.ag-grid.com/
|
|
22562
22623
|
* @license MIT
|
|
22563
22624
|
*/
|
|
@@ -22937,7 +22998,7 @@ var GridBodyCtrl = /** @class */ (function (_super) {
|
|
|
22937
22998
|
|
|
22938
22999
|
/**
|
|
22939
23000
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
22940
|
-
* @version v28.
|
|
23001
|
+
* @version v28.2.0
|
|
22941
23002
|
* @link https://www.ag-grid.com/
|
|
22942
23003
|
* @license MIT
|
|
22943
23004
|
*/
|
|
@@ -22954,7 +23015,7 @@ var CellRangeType;
|
|
|
22954
23015
|
|
|
22955
23016
|
/**
|
|
22956
23017
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
22957
|
-
* @version v28.
|
|
23018
|
+
* @version v28.2.0
|
|
22958
23019
|
* @link https://www.ag-grid.com/
|
|
22959
23020
|
* @license MIT
|
|
22960
23021
|
*/
|
|
@@ -23133,7 +23194,7 @@ var CellRangeFeature = /** @class */ (function () {
|
|
|
23133
23194
|
|
|
23134
23195
|
/**
|
|
23135
23196
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23136
|
-
* @version v28.
|
|
23197
|
+
* @version v28.2.0
|
|
23137
23198
|
* @link https://www.ag-grid.com/
|
|
23138
23199
|
* @license MIT
|
|
23139
23200
|
*/
|
|
@@ -23283,7 +23344,7 @@ var CellPositionFeature = /** @class */ (function (_super) {
|
|
|
23283
23344
|
|
|
23284
23345
|
/**
|
|
23285
23346
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23286
|
-
* @version v28.
|
|
23347
|
+
* @version v28.2.0
|
|
23287
23348
|
* @link https://www.ag-grid.com/
|
|
23288
23349
|
* @license MIT
|
|
23289
23350
|
*/
|
|
@@ -23390,7 +23451,7 @@ var CellCustomStyleFeature = /** @class */ (function (_super) {
|
|
|
23390
23451
|
|
|
23391
23452
|
/**
|
|
23392
23453
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23393
|
-
* @version v28.
|
|
23454
|
+
* @version v28.2.0
|
|
23394
23455
|
* @link https://www.ag-grid.com/
|
|
23395
23456
|
* @license MIT
|
|
23396
23457
|
*/
|
|
@@ -23477,7 +23538,7 @@ var TooltipFeature = /** @class */ (function (_super) {
|
|
|
23477
23538
|
|
|
23478
23539
|
/**
|
|
23479
23540
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23480
|
-
* @version v28.
|
|
23541
|
+
* @version v28.2.0
|
|
23481
23542
|
* @link https://www.ag-grid.com/
|
|
23482
23543
|
* @license MIT
|
|
23483
23544
|
*/
|
|
@@ -23638,7 +23699,7 @@ var Beans = /** @class */ (function () {
|
|
|
23638
23699
|
|
|
23639
23700
|
/**
|
|
23640
23701
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23641
|
-
* @version v28.
|
|
23702
|
+
* @version v28.2.0
|
|
23642
23703
|
* @link https://www.ag-grid.com/
|
|
23643
23704
|
* @license MIT
|
|
23644
23705
|
*/
|
|
@@ -23826,7 +23887,7 @@ var CellMouseListenerFeature = /** @class */ (function (_super) {
|
|
|
23826
23887
|
|
|
23827
23888
|
/**
|
|
23828
23889
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
23829
|
-
* @version v28.
|
|
23890
|
+
* @version v28.2.0
|
|
23830
23891
|
* @link https://www.ag-grid.com/
|
|
23831
23892
|
* @license MIT
|
|
23832
23893
|
*/
|
|
@@ -23909,9 +23970,24 @@ var CellKeyboardListenerFeature = /** @class */ (function (_super) {
|
|
|
23909
23970
|
this.beans.navigationService.onTabKeyDown(this.cellCtrl, event);
|
|
23910
23971
|
};
|
|
23911
23972
|
CellKeyboardListenerFeature.prototype.onBackspaceOrDeleteKeyPressed = function (key, event) {
|
|
23912
|
-
|
|
23913
|
-
|
|
23973
|
+
var _a = this, cellCtrl = _a.cellCtrl, beans = _a.beans, rowNode = _a.rowNode;
|
|
23974
|
+
var gridOptionsWrapper = beans.gridOptionsWrapper, rangeService = beans.rangeService, eventService = beans.eventService;
|
|
23975
|
+
if (cellCtrl.isEditing()) {
|
|
23976
|
+
return;
|
|
23977
|
+
}
|
|
23978
|
+
eventService.dispatchEvent({ type: Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START });
|
|
23979
|
+
if (isDeleteKey(key, gridOptionsWrapper.isEnableCellEditingOnBackspace())) {
|
|
23980
|
+
if (rangeService && gridOptionsWrapper.isEnableRangeSelection()) {
|
|
23981
|
+
rangeService.clearCellRangeCellValues();
|
|
23982
|
+
}
|
|
23983
|
+
else if (cellCtrl.isCellEditable()) {
|
|
23984
|
+
rowNode.setDataValue(cellCtrl.getColumn(), null, 'cellKeyboardListenerFeature');
|
|
23985
|
+
}
|
|
23914
23986
|
}
|
|
23987
|
+
else {
|
|
23988
|
+
cellCtrl.startRowOrCellEdit(key, undefined, event);
|
|
23989
|
+
}
|
|
23990
|
+
eventService.dispatchEvent({ type: Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END });
|
|
23915
23991
|
};
|
|
23916
23992
|
CellKeyboardListenerFeature.prototype.onEnterKeyDown = function (e) {
|
|
23917
23993
|
if (this.cellCtrl.isEditing() || this.rowCtrl.isEditing()) {
|
|
@@ -23998,7 +24074,7 @@ var CellKeyboardListenerFeature = /** @class */ (function (_super) {
|
|
|
23998
24074
|
|
|
23999
24075
|
/**
|
|
24000
24076
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
24001
|
-
* @version v28.
|
|
24077
|
+
* @version v28.2.0
|
|
24002
24078
|
* @link https://www.ag-grid.com/
|
|
24003
24079
|
* @license MIT
|
|
24004
24080
|
*/
|
|
@@ -24084,7 +24160,7 @@ var DndSourceComp = /** @class */ (function (_super) {
|
|
|
24084
24160
|
|
|
24085
24161
|
/**
|
|
24086
24162
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
24087
|
-
* @version v28.
|
|
24163
|
+
* @version v28.2.0
|
|
24088
24164
|
* @link https://www.ag-grid.com/
|
|
24089
24165
|
* @license MIT
|
|
24090
24166
|
*/
|
|
@@ -24101,8 +24177,8 @@ var __extends$1V = (function () {
|
|
|
24101
24177
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24102
24178
|
};
|
|
24103
24179
|
})();
|
|
24104
|
-
var __assign$
|
|
24105
|
-
__assign$
|
|
24180
|
+
var __assign$5 = function () {
|
|
24181
|
+
__assign$5 = Object.assign || function(t) {
|
|
24106
24182
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
24107
24183
|
s = arguments[i];
|
|
24108
24184
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -24110,7 +24186,7 @@ var __assign$4 = function () {
|
|
|
24110
24186
|
}
|
|
24111
24187
|
return t;
|
|
24112
24188
|
};
|
|
24113
|
-
return __assign$
|
|
24189
|
+
return __assign$5.apply(this, arguments);
|
|
24114
24190
|
};
|
|
24115
24191
|
var CSS_CELL = 'ag-cell';
|
|
24116
24192
|
var CSS_AUTO_HEIGHT = 'ag-cell-auto-height';
|
|
@@ -24130,6 +24206,7 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24130
24206
|
var _this = _super.call(this) || this;
|
|
24131
24207
|
_this.suppressRefreshCell = false;
|
|
24132
24208
|
_this.onCellCompAttachedFuncs = [];
|
|
24209
|
+
_this.removeAutoHeightListeners = null;
|
|
24133
24210
|
_this.column = column;
|
|
24134
24211
|
_this.rowNode = rowNode;
|
|
24135
24212
|
_this.beans = beans;
|
|
@@ -24201,7 +24278,6 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24201
24278
|
this.cellComp = comp;
|
|
24202
24279
|
this.gow = this.beans.gridOptionsWrapper;
|
|
24203
24280
|
this.eGui = eGui;
|
|
24204
|
-
this.eCellWrapper = eCellWrapper;
|
|
24205
24281
|
this.printLayout = printLayout;
|
|
24206
24282
|
// we force to make sure formatter gets called at least once,
|
|
24207
24283
|
// even if value has not changed (is is undefined)
|
|
@@ -24214,7 +24290,9 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24214
24290
|
this.onLastLeftPinnedChanged();
|
|
24215
24291
|
this.onColumnHover();
|
|
24216
24292
|
this.setupControlComps();
|
|
24217
|
-
|
|
24293
|
+
if (eCellWrapper) {
|
|
24294
|
+
this.refreshAutoHeight(eCellWrapper);
|
|
24295
|
+
}
|
|
24218
24296
|
this.setAriaColIndex();
|
|
24219
24297
|
if (!this.gow.isSuppressCellFocus()) {
|
|
24220
24298
|
this.cellComp.setTabIndex(-1);
|
|
@@ -24240,13 +24318,12 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24240
24318
|
this.onCellCompAttachedFuncs = [];
|
|
24241
24319
|
}
|
|
24242
24320
|
};
|
|
24243
|
-
CellCtrl.prototype.
|
|
24321
|
+
CellCtrl.prototype.refreshAutoHeight = function (eCellWrapper) {
|
|
24244
24322
|
var _this = this;
|
|
24245
24323
|
if (!this.column.isAutoHeight()) {
|
|
24246
24324
|
return;
|
|
24247
24325
|
}
|
|
24248
|
-
var
|
|
24249
|
-
var eParentCell = eAutoHeightContainer.parentElement;
|
|
24326
|
+
var eParentCell = eCellWrapper.parentElement;
|
|
24250
24327
|
// taking minRowHeight from getRowHeightForNode means the getRowHeight() callback is used,
|
|
24251
24328
|
// thus allowing different min heights for different rows.
|
|
24252
24329
|
var minRowHeight = this.beans.gridOptionsWrapper.getRowHeightForNode(this.rowNode).height;
|
|
@@ -24260,13 +24337,13 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24260
24337
|
return;
|
|
24261
24338
|
}
|
|
24262
24339
|
var _a = getElementSize(eParentCell), paddingTop = _a.paddingTop, paddingBottom = _a.paddingBottom;
|
|
24263
|
-
var wrapperHeight =
|
|
24340
|
+
var wrapperHeight = eCellWrapper.offsetHeight;
|
|
24264
24341
|
var autoHeight = wrapperHeight + paddingTop + paddingBottom;
|
|
24265
24342
|
if (timesCalled < 5) {
|
|
24266
24343
|
// if not in doc yet, means framework not yet inserted, so wait for next VM turn,
|
|
24267
24344
|
// maybe it will be ready next VM turn
|
|
24268
24345
|
var doc = _this.beans.gridOptionsWrapper.getDocument();
|
|
24269
|
-
var notYetInDom = !doc || !doc.contains(
|
|
24346
|
+
var notYetInDom = !doc || !doc.contains(eCellWrapper);
|
|
24270
24347
|
// this happens in React, where React hasn't put any content in. we say 'possibly'
|
|
24271
24348
|
// as a) may not be React and b) the cell could be empty anyway
|
|
24272
24349
|
var possiblyNoContentYet = autoHeight == 0;
|
|
@@ -24281,11 +24358,15 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24281
24358
|
var listener = function () { return measureHeight(0); };
|
|
24282
24359
|
// do once to set size in case size doesn't change, common when cell is blank
|
|
24283
24360
|
listener();
|
|
24284
|
-
var destroyResizeObserver = this.beans.resizeObserverService.observeResize(
|
|
24285
|
-
this.
|
|
24361
|
+
var destroyResizeObserver = this.beans.resizeObserverService.observeResize(eCellWrapper, listener);
|
|
24362
|
+
if (this.removeAutoHeightListeners) {
|
|
24363
|
+
this.removeAutoHeightListeners();
|
|
24364
|
+
this.removeAutoHeightListeners = null;
|
|
24365
|
+
}
|
|
24366
|
+
this.removeAutoHeightListeners = function () {
|
|
24286
24367
|
destroyResizeObserver();
|
|
24287
24368
|
_this.rowNode.setRowAutoHeight(undefined, _this.column);
|
|
24288
|
-
}
|
|
24369
|
+
};
|
|
24289
24370
|
};
|
|
24290
24371
|
CellCtrl.prototype.getInstanceId = function () {
|
|
24291
24372
|
return this.instanceId;
|
|
@@ -24462,12 +24543,13 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24462
24543
|
this.cellComp.setEditDetails(); // passing nothing stops editing
|
|
24463
24544
|
this.updateAndFormatValue();
|
|
24464
24545
|
this.refreshCell({ forceRefresh: true, suppressFlash: true });
|
|
24465
|
-
this.dispatchEditingStoppedEvent(oldValue, newValue);
|
|
24546
|
+
this.dispatchEditingStoppedEvent(oldValue, newValue, !cancel && !!valueChanged);
|
|
24466
24547
|
return valueChanged;
|
|
24467
24548
|
};
|
|
24468
|
-
CellCtrl.prototype.dispatchEditingStoppedEvent = function (oldValue, newValue) {
|
|
24469
|
-
var editingStoppedEvent = __assign$
|
|
24470
|
-
newValue: newValue
|
|
24549
|
+
CellCtrl.prototype.dispatchEditingStoppedEvent = function (oldValue, newValue, valueChanged) {
|
|
24550
|
+
var editingStoppedEvent = __assign$5(__assign$5({}, this.createEvent(null, Events.EVENT_CELL_EDITING_STOPPED)), { oldValue: oldValue,
|
|
24551
|
+
newValue: newValue,
|
|
24552
|
+
valueChanged: valueChanged });
|
|
24471
24553
|
this.beans.eventService.dispatchEvent(editingStoppedEvent);
|
|
24472
24554
|
};
|
|
24473
24555
|
// if we are editing inline, then we don't have the padding in the cell (set in the themes)
|
|
@@ -24757,9 +24839,10 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
24757
24839
|
return valuesDifferent;
|
|
24758
24840
|
};
|
|
24759
24841
|
CellCtrl.prototype.valuesAreEqual = function (val1, val2) {
|
|
24842
|
+
var _a, _b;
|
|
24760
24843
|
// if the user provided an equals method, use that, otherwise do simple comparison
|
|
24761
24844
|
var colDef = this.column.getColDef();
|
|
24762
|
-
return colDef.equals ? colDef.equals(val1, val2) : val1 === val2;
|
|
24845
|
+
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());
|
|
24763
24846
|
};
|
|
24764
24847
|
CellCtrl.prototype.getComp = function () {
|
|
24765
24848
|
return this.cellComp;
|
|
@@ -25025,6 +25108,10 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
25025
25108
|
};
|
|
25026
25109
|
CellCtrl.prototype.destroy = function () {
|
|
25027
25110
|
this.onCellCompAttachedFuncs = [];
|
|
25111
|
+
if (this.removeAutoHeightListeners) {
|
|
25112
|
+
this.removeAutoHeightListeners();
|
|
25113
|
+
this.removeAutoHeightListeners = null;
|
|
25114
|
+
}
|
|
25028
25115
|
_super.prototype.destroy.call(this);
|
|
25029
25116
|
};
|
|
25030
25117
|
CellCtrl.prototype.createSelectionCheckbox = function () {
|
|
@@ -25079,7 +25166,7 @@ var CellCtrl = /** @class */ (function (_super) {
|
|
|
25079
25166
|
|
|
25080
25167
|
/**
|
|
25081
25168
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
25082
|
-
* @version v28.
|
|
25169
|
+
* @version v28.2.0
|
|
25083
25170
|
* @link https://www.ag-grid.com/
|
|
25084
25171
|
* @license MIT
|
|
25085
25172
|
*/
|
|
@@ -25107,7 +25194,7 @@ var __values$2 = function(o) {
|
|
|
25107
25194
|
};
|
|
25108
25195
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
25109
25196
|
};
|
|
25110
|
-
var __read$
|
|
25197
|
+
var __read$h = function (o, n) {
|
|
25111
25198
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
25112
25199
|
if (!m) return o;
|
|
25113
25200
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -25123,8 +25210,8 @@ var __read$g = function (o, n) {
|
|
|
25123
25210
|
}
|
|
25124
25211
|
return ar;
|
|
25125
25212
|
};
|
|
25126
|
-
var __spread$
|
|
25127
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
25213
|
+
var __spread$d = function () {
|
|
25214
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$h(arguments[i]));
|
|
25128
25215
|
return ar;
|
|
25129
25216
|
};
|
|
25130
25217
|
var RowType$1;
|
|
@@ -25285,7 +25372,8 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25285
25372
|
}, 'rowDragAndRangeSelectionEnabled');
|
|
25286
25373
|
return;
|
|
25287
25374
|
}
|
|
25288
|
-
var
|
|
25375
|
+
var translate = gow.getLocaleTextFunc();
|
|
25376
|
+
var rowDragComp = new RowDragComp(function () { return "1 " + translate('rowDragRow', 'row'); }, this.rowNode, undefined, gui.element, undefined, true);
|
|
25289
25377
|
this.createManagedBean(rowDragComp, this.beans.context);
|
|
25290
25378
|
};
|
|
25291
25379
|
RowCtrl.prototype.setupFullWidth = function (gui) {
|
|
@@ -25970,7 +26058,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25970
26058
|
if (this.editingRow) {
|
|
25971
26059
|
return;
|
|
25972
26060
|
}
|
|
25973
|
-
this.getAllCellCtrls().
|
|
26061
|
+
var atLeastOneEditing = this.getAllCellCtrls().reduce(function (prev, cellCtrl) {
|
|
25974
26062
|
var cellStartedEdit = cellCtrl === sourceRenderedCell;
|
|
25975
26063
|
if (cellStartedEdit) {
|
|
25976
26064
|
cellCtrl.startEditing(key, charPress, cellStartedEdit, event);
|
|
@@ -25978,11 +26066,17 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
25978
26066
|
else {
|
|
25979
26067
|
cellCtrl.startEditing(null, null, cellStartedEdit, event);
|
|
25980
26068
|
}
|
|
25981
|
-
|
|
25982
|
-
|
|
26069
|
+
if (prev) {
|
|
26070
|
+
return true;
|
|
26071
|
+
}
|
|
26072
|
+
return cellCtrl.isEditing();
|
|
26073
|
+
}, false);
|
|
26074
|
+
if (atLeastOneEditing) {
|
|
26075
|
+
this.setEditingRow(true);
|
|
26076
|
+
}
|
|
25983
26077
|
};
|
|
25984
26078
|
RowCtrl.prototype.getAllCellCtrls = function () {
|
|
25985
|
-
var res = __spread$
|
|
26079
|
+
var res = __spread$d(this.centerCellCtrls.list, this.leftCellCtrls.list, this.rightCellCtrls.list);
|
|
25986
26080
|
return res;
|
|
25987
26081
|
};
|
|
25988
26082
|
RowCtrl.prototype.postProcessClassesFromGridOptions = function () {
|
|
@@ -26378,7 +26472,7 @@ var RowCtrl = /** @class */ (function (_super) {
|
|
|
26378
26472
|
|
|
26379
26473
|
/**
|
|
26380
26474
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
26381
|
-
* @version v28.
|
|
26475
|
+
* @version v28.2.0
|
|
26382
26476
|
* @link https://www.ag-grid.com/
|
|
26383
26477
|
* @license MIT
|
|
26384
26478
|
*/
|
|
@@ -26401,7 +26495,7 @@ var __decorate$1M = function (decorators, target, key, desc) {
|
|
|
26401
26495
|
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;
|
|
26402
26496
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26403
26497
|
};
|
|
26404
|
-
var __read$
|
|
26498
|
+
var __read$g = function (o, n) {
|
|
26405
26499
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
26406
26500
|
if (!m) return o;
|
|
26407
26501
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -26608,17 +26702,17 @@ var RowContainerEventsFeature = /** @class */ (function (_super) {
|
|
|
26608
26702
|
return this.onCtrlAndD(keyboardEvent);
|
|
26609
26703
|
}
|
|
26610
26704
|
if (keyCode === KeyCode.Z) {
|
|
26611
|
-
return
|
|
26705
|
+
return this.onCtrlAndZ(keyboardEvent);
|
|
26612
26706
|
}
|
|
26613
26707
|
if (keyCode === KeyCode.Y) {
|
|
26614
|
-
return this.
|
|
26708
|
+
return this.onCtrlAndY();
|
|
26615
26709
|
}
|
|
26616
26710
|
};
|
|
26617
26711
|
RowContainerEventsFeature.prototype.onCtrlAndA = function (event) {
|
|
26618
26712
|
var _a = this, pinnedRowModel = _a.pinnedRowModel, paginationProxy = _a.paginationProxy, rangeService = _a.rangeService;
|
|
26619
26713
|
var PINNED_BOTTOM = Constants.PINNED_BOTTOM, PINNED_TOP = Constants.PINNED_TOP;
|
|
26620
26714
|
if (rangeService && paginationProxy.isRowsToRender()) {
|
|
26621
|
-
var _b = __read$
|
|
26715
|
+
var _b = __read$g([
|
|
26622
26716
|
pinnedRowModel.isEmpty(PINNED_TOP),
|
|
26623
26717
|
pinnedRowModel.isEmpty(PINNED_BOTTOM)
|
|
26624
26718
|
], 2), isEmptyPinnedTop = _b[0], isEmptyPinnedBottom = _b[1];
|
|
@@ -26666,6 +26760,21 @@ var RowContainerEventsFeature = /** @class */ (function (_super) {
|
|
|
26666
26760
|
}
|
|
26667
26761
|
event.preventDefault();
|
|
26668
26762
|
};
|
|
26763
|
+
RowContainerEventsFeature.prototype.onCtrlAndZ = function (event) {
|
|
26764
|
+
if (!this.gridOptionsWrapper.isUndoRedoCellEditing()) {
|
|
26765
|
+
return;
|
|
26766
|
+
}
|
|
26767
|
+
event.preventDefault();
|
|
26768
|
+
if (event.shiftKey) {
|
|
26769
|
+
this.undoRedoService.redo();
|
|
26770
|
+
}
|
|
26771
|
+
else {
|
|
26772
|
+
this.undoRedoService.undo();
|
|
26773
|
+
}
|
|
26774
|
+
};
|
|
26775
|
+
RowContainerEventsFeature.prototype.onCtrlAndY = function () {
|
|
26776
|
+
this.undoRedoService.redo();
|
|
26777
|
+
};
|
|
26669
26778
|
__decorate$1M([
|
|
26670
26779
|
Autowired('mouseEventService')
|
|
26671
26780
|
], RowContainerEventsFeature.prototype, "mouseEventService", void 0);
|
|
@@ -26710,7 +26819,7 @@ var RowContainerEventsFeature = /** @class */ (function (_super) {
|
|
|
26710
26819
|
|
|
26711
26820
|
/**
|
|
26712
26821
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
26713
|
-
* @version v28.
|
|
26822
|
+
* @version v28.2.0
|
|
26714
26823
|
* @link https://www.ag-grid.com/
|
|
26715
26824
|
* @license MIT
|
|
26716
26825
|
*/
|
|
@@ -26848,7 +26957,7 @@ var ViewportSizeFeature = /** @class */ (function (_super) {
|
|
|
26848
26957
|
|
|
26849
26958
|
/**
|
|
26850
26959
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
26851
|
-
* @version v28.
|
|
26960
|
+
* @version v28.2.0
|
|
26852
26961
|
* @link https://www.ag-grid.com/
|
|
26853
26962
|
* @license MIT
|
|
26854
26963
|
*/
|
|
@@ -26900,7 +27009,7 @@ var SetPinnedLeftWidthFeature = /** @class */ (function (_super) {
|
|
|
26900
27009
|
|
|
26901
27010
|
/**
|
|
26902
27011
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
26903
|
-
* @version v28.
|
|
27012
|
+
* @version v28.2.0
|
|
26904
27013
|
* @link https://www.ag-grid.com/
|
|
26905
27014
|
* @license MIT
|
|
26906
27015
|
*/
|
|
@@ -26952,7 +27061,7 @@ var SetPinnedRightWidthFeature = /** @class */ (function (_super) {
|
|
|
26952
27061
|
|
|
26953
27062
|
/**
|
|
26954
27063
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
26955
|
-
* @version v28.
|
|
27064
|
+
* @version v28.2.0
|
|
26956
27065
|
* @link https://www.ag-grid.com/
|
|
26957
27066
|
* @license MIT
|
|
26958
27067
|
*/
|
|
@@ -27005,7 +27114,7 @@ var SetHeightFeature = /** @class */ (function (_super) {
|
|
|
27005
27114
|
|
|
27006
27115
|
/**
|
|
27007
27116
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27008
|
-
* @version v28.
|
|
27117
|
+
* @version v28.2.0
|
|
27009
27118
|
* @link https://www.ag-grid.com/
|
|
27010
27119
|
* @license MIT
|
|
27011
27120
|
*/
|
|
@@ -27065,7 +27174,7 @@ var DragListenerFeature = /** @class */ (function (_super) {
|
|
|
27065
27174
|
|
|
27066
27175
|
/**
|
|
27067
27176
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27068
|
-
* @version v28.
|
|
27177
|
+
* @version v28.2.0
|
|
27069
27178
|
* @link https://www.ag-grid.com/
|
|
27070
27179
|
* @license MIT
|
|
27071
27180
|
*/
|
|
@@ -27122,7 +27231,7 @@ var CenterWidthFeature = /** @class */ (function (_super) {
|
|
|
27122
27231
|
|
|
27123
27232
|
/**
|
|
27124
27233
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27125
|
-
* @version v28.
|
|
27234
|
+
* @version v28.2.0
|
|
27126
27235
|
* @link https://www.ag-grid.com/
|
|
27127
27236
|
* @license MIT
|
|
27128
27237
|
*/
|
|
@@ -27145,7 +27254,7 @@ var __decorate$1F = function (decorators, target, key, desc) {
|
|
|
27145
27254
|
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;
|
|
27146
27255
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27147
27256
|
};
|
|
27148
|
-
var __read$
|
|
27257
|
+
var __read$f = function (o, n) {
|
|
27149
27258
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
27150
27259
|
if (!m) return o;
|
|
27151
27260
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -27161,8 +27270,8 @@ var __read$e = function (o, n) {
|
|
|
27161
27270
|
}
|
|
27162
27271
|
return ar;
|
|
27163
27272
|
};
|
|
27164
|
-
var __spread$
|
|
27165
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
27273
|
+
var __spread$c = function () {
|
|
27274
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$f(arguments[i]));
|
|
27166
27275
|
return ar;
|
|
27167
27276
|
};
|
|
27168
27277
|
var RowContainerName;
|
|
@@ -27344,7 +27453,7 @@ var RowContainerCtrl = /** @class */ (function (_super) {
|
|
|
27344
27453
|
var allStickyTopNoFW = [RowContainerName.STICKY_TOP_CENTER, RowContainerName.STICKY_TOP_LEFT, RowContainerName.STICKY_TOP_RIGHT];
|
|
27345
27454
|
var allBottomNoFW = [RowContainerName.BOTTOM_CENTER, RowContainerName.BOTTOM_LEFT, RowContainerName.BOTTOM_RIGHT];
|
|
27346
27455
|
var allMiddleNoFW = [RowContainerName.CENTER, RowContainerName.LEFT, RowContainerName.RIGHT];
|
|
27347
|
-
var allNoFW = __spread$
|
|
27456
|
+
var allNoFW = __spread$c(allTopNoFW, allBottomNoFW, allMiddleNoFW, allStickyTopNoFW);
|
|
27348
27457
|
var allMiddle = [RowContainerName.CENTER, RowContainerName.LEFT, RowContainerName.RIGHT, RowContainerName.FULL_WIDTH];
|
|
27349
27458
|
var allCenter = [RowContainerName.CENTER, RowContainerName.TOP_CENTER, RowContainerName.STICKY_TOP_CENTER, RowContainerName.BOTTOM_CENTER];
|
|
27350
27459
|
var allLeft = [RowContainerName.LEFT, RowContainerName.BOTTOM_LEFT, RowContainerName.TOP_LEFT, RowContainerName.STICKY_TOP_LEFT];
|
|
@@ -27539,7 +27648,7 @@ var RowContainerCtrl = /** @class */ (function (_super) {
|
|
|
27539
27648
|
|
|
27540
27649
|
/**
|
|
27541
27650
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27542
|
-
* @version v28.
|
|
27651
|
+
* @version v28.2.0
|
|
27543
27652
|
* @link https://www.ag-grid.com/
|
|
27544
27653
|
* @license MIT
|
|
27545
27654
|
*/
|
|
@@ -27652,7 +27761,7 @@ var GridBodyComp = /** @class */ (function (_super) {
|
|
|
27652
27761
|
|
|
27653
27762
|
/**
|
|
27654
27763
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27655
|
-
* @version v28.
|
|
27764
|
+
* @version v28.2.0
|
|
27656
27765
|
* @link https://www.ag-grid.com/
|
|
27657
27766
|
* @license MIT
|
|
27658
27767
|
*/
|
|
@@ -27745,7 +27854,7 @@ var ScrollVisibleService = /** @class */ (function (_super) {
|
|
|
27745
27854
|
|
|
27746
27855
|
/**
|
|
27747
27856
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27748
|
-
* @version v28.
|
|
27857
|
+
* @version v28.2.0
|
|
27749
27858
|
* @link https://www.ag-grid.com/
|
|
27750
27859
|
* @license MIT
|
|
27751
27860
|
*/
|
|
@@ -27844,7 +27953,7 @@ var MouseEventService = /** @class */ (function (_super) {
|
|
|
27844
27953
|
|
|
27845
27954
|
/**
|
|
27846
27955
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
27847
|
-
* @version v28.
|
|
27956
|
+
* @version v28.2.0
|
|
27848
27957
|
* @link https://www.ag-grid.com/
|
|
27849
27958
|
* @license MIT
|
|
27850
27959
|
*/
|
|
@@ -27861,8 +27970,8 @@ var __extends$1I = (function () {
|
|
|
27861
27970
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27862
27971
|
};
|
|
27863
27972
|
})();
|
|
27864
|
-
var __assign$
|
|
27865
|
-
__assign$
|
|
27973
|
+
var __assign$4 = function () {
|
|
27974
|
+
__assign$4 = Object.assign || function(t) {
|
|
27866
27975
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
27867
27976
|
s = arguments[i];
|
|
27868
27977
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -27870,7 +27979,7 @@ var __assign$3 = function () {
|
|
|
27870
27979
|
}
|
|
27871
27980
|
return t;
|
|
27872
27981
|
};
|
|
27873
|
-
return __assign$
|
|
27982
|
+
return __assign$4.apply(this, arguments);
|
|
27874
27983
|
};
|
|
27875
27984
|
var __decorate$1B = function (decorators, target, key, desc) {
|
|
27876
27985
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -28269,7 +28378,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28269
28378
|
var displayedColumns = this.columnModel.getAllDisplayedColumns();
|
|
28270
28379
|
var cellPos;
|
|
28271
28380
|
if (previousCell instanceof RowCtrl) {
|
|
28272
|
-
cellPos = __assign$
|
|
28381
|
+
cellPos = __assign$4(__assign$4({}, previousCell.getRowPosition()), { column: backwards ? displayedColumns[0] : last(displayedColumns) });
|
|
28273
28382
|
}
|
|
28274
28383
|
else {
|
|
28275
28384
|
cellPos = previousCell.getCellPosition();
|
|
@@ -28615,7 +28724,7 @@ var NavigationService = /** @class */ (function (_super) {
|
|
|
28615
28724
|
|
|
28616
28725
|
/**
|
|
28617
28726
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
28618
|
-
* @version v28.
|
|
28727
|
+
* @version v28.2.0
|
|
28619
28728
|
* @link https://www.ag-grid.com/
|
|
28620
28729
|
* @license MIT
|
|
28621
28730
|
*/
|
|
@@ -28669,7 +28778,7 @@ var PopupEditorWrapper = /** @class */ (function (_super) {
|
|
|
28669
28778
|
|
|
28670
28779
|
/**
|
|
28671
28780
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
28672
|
-
* @version v28.
|
|
28781
|
+
* @version v28.2.0
|
|
28673
28782
|
* @link https://www.ag-grid.com/
|
|
28674
28783
|
* @license MIT
|
|
28675
28784
|
*/
|
|
@@ -29105,7 +29214,7 @@ var CellComp = /** @class */ (function (_super) {
|
|
|
29105
29214
|
|
|
29106
29215
|
/**
|
|
29107
29216
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
29108
|
-
* @version v28.
|
|
29217
|
+
* @version v28.2.0
|
|
29109
29218
|
* @link https://www.ag-grid.com/
|
|
29110
29219
|
* @license MIT
|
|
29111
29220
|
*/
|
|
@@ -29255,7 +29364,7 @@ var RowComp = /** @class */ (function (_super) {
|
|
|
29255
29364
|
|
|
29256
29365
|
/**
|
|
29257
29366
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
29258
|
-
* @version v28.
|
|
29367
|
+
* @version v28.2.0
|
|
29259
29368
|
* @link https://www.ag-grid.com/
|
|
29260
29369
|
* @license MIT
|
|
29261
29370
|
*/
|
|
@@ -29272,8 +29381,8 @@ var __extends$1E = (function () {
|
|
|
29272
29381
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
29273
29382
|
};
|
|
29274
29383
|
})();
|
|
29275
|
-
var __assign$
|
|
29276
|
-
__assign$
|
|
29384
|
+
var __assign$3 = function () {
|
|
29385
|
+
__assign$3 = Object.assign || function(t) {
|
|
29277
29386
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
29278
29387
|
s = arguments[i];
|
|
29279
29388
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -29281,7 +29390,7 @@ var __assign$2 = function () {
|
|
|
29281
29390
|
}
|
|
29282
29391
|
return t;
|
|
29283
29392
|
};
|
|
29284
|
-
return __assign$
|
|
29393
|
+
return __assign$3.apply(this, arguments);
|
|
29285
29394
|
};
|
|
29286
29395
|
var __decorate$1z = function (decorators, target, key, desc) {
|
|
29287
29396
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -29339,7 +29448,7 @@ var RowContainerComp = /** @class */ (function (_super) {
|
|
|
29339
29448
|
};
|
|
29340
29449
|
RowContainerComp.prototype.setRowCtrls = function (rowCtrls) {
|
|
29341
29450
|
var _this = this;
|
|
29342
|
-
var oldRows = __assign$
|
|
29451
|
+
var oldRows = __assign$3({}, this.rowComps);
|
|
29343
29452
|
this.rowComps = {};
|
|
29344
29453
|
this.lastPlacedElement = null;
|
|
29345
29454
|
var processRow = function (rowCon) {
|
|
@@ -29406,7 +29515,7 @@ var RowContainerComp = /** @class */ (function (_super) {
|
|
|
29406
29515
|
|
|
29407
29516
|
/**
|
|
29408
29517
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
29409
|
-
* @version v28.
|
|
29518
|
+
* @version v28.2.0
|
|
29410
29519
|
* @link https://www.ag-grid.com/
|
|
29411
29520
|
* @license MIT
|
|
29412
29521
|
*/
|
|
@@ -29497,7 +29606,7 @@ var BodyDropPivotTarget = /** @class */ (function () {
|
|
|
29497
29606
|
|
|
29498
29607
|
/**
|
|
29499
29608
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
29500
|
-
* @version v28.
|
|
29609
|
+
* @version v28.2.0
|
|
29501
29610
|
* @link https://www.ag-grid.com/
|
|
29502
29611
|
* @license MIT
|
|
29503
29612
|
*/
|
|
@@ -29507,7 +29616,7 @@ var __decorate$1x = function (decorators, target, key, desc) {
|
|
|
29507
29616
|
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;
|
|
29508
29617
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29509
29618
|
};
|
|
29510
|
-
var __read$
|
|
29619
|
+
var __read$e = function (o, n) {
|
|
29511
29620
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
29512
29621
|
if (!m) return o;
|
|
29513
29622
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -29779,7 +29888,7 @@ var MoveColumnFeature = /** @class */ (function () {
|
|
|
29779
29888
|
var a = parents(columns[i]);
|
|
29780
29889
|
var b = parents(columns[i + 1]);
|
|
29781
29890
|
// iterate over the longest one
|
|
29782
|
-
_a = __read$
|
|
29891
|
+
_a = __read$e(a.length > b.length ? [a, b] : [b, a], 2), a = _a[0], b = _a[1];
|
|
29783
29892
|
a.forEach(function (parent) {
|
|
29784
29893
|
if (b.indexOf(parent) === -1) {
|
|
29785
29894
|
count++; // More fragmented if other column doesn't share the parent
|
|
@@ -29975,7 +30084,7 @@ var MoveColumnFeature = /** @class */ (function () {
|
|
|
29975
30084
|
|
|
29976
30085
|
/**
|
|
29977
30086
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
29978
|
-
* @version v28.
|
|
30087
|
+
* @version v28.2.0
|
|
29979
30088
|
* @link https://www.ag-grid.com/
|
|
29980
30089
|
* @license MIT
|
|
29981
30090
|
*/
|
|
@@ -30097,11 +30206,11 @@ var BodyDropTarget = /** @class */ (function (_super) {
|
|
|
30097
30206
|
|
|
30098
30207
|
/**
|
|
30099
30208
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30100
|
-
* @version v28.
|
|
30209
|
+
* @version v28.2.0
|
|
30101
30210
|
* @link https://www.ag-grid.com/
|
|
30102
30211
|
* @license MIT
|
|
30103
30212
|
*/
|
|
30104
|
-
var __read$
|
|
30213
|
+
var __read$d = function (o, n) {
|
|
30105
30214
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
30106
30215
|
if (!m) return o;
|
|
30107
30216
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -30117,8 +30226,8 @@ var __read$c = function (o, n) {
|
|
|
30117
30226
|
}
|
|
30118
30227
|
return ar;
|
|
30119
30228
|
};
|
|
30120
|
-
var __spread$
|
|
30121
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
30229
|
+
var __spread$b = function () {
|
|
30230
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$d(arguments[i]));
|
|
30122
30231
|
return ar;
|
|
30123
30232
|
};
|
|
30124
30233
|
var CssClassApplier = /** @class */ (function () {
|
|
@@ -30165,7 +30274,7 @@ var CssClassApplier = /** @class */ (function () {
|
|
|
30165
30274
|
return [classToUse];
|
|
30166
30275
|
}
|
|
30167
30276
|
if (Array.isArray(classToUse)) {
|
|
30168
|
-
return __spread$
|
|
30277
|
+
return __spread$b(classToUse);
|
|
30169
30278
|
}
|
|
30170
30279
|
return [];
|
|
30171
30280
|
};
|
|
@@ -30174,7 +30283,7 @@ var CssClassApplier = /** @class */ (function () {
|
|
|
30174
30283
|
|
|
30175
30284
|
/**
|
|
30176
30285
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30177
|
-
* @version v28.
|
|
30286
|
+
* @version v28.2.0
|
|
30178
30287
|
* @link https://www.ag-grid.com/
|
|
30179
30288
|
* @license MIT
|
|
30180
30289
|
*/
|
|
@@ -30274,7 +30383,7 @@ var HeaderCellComp = /** @class */ (function (_super) {
|
|
|
30274
30383
|
|
|
30275
30384
|
/**
|
|
30276
30385
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30277
|
-
* @version v28.
|
|
30386
|
+
* @version v28.2.0
|
|
30278
30387
|
* @link https://www.ag-grid.com/
|
|
30279
30388
|
* @license MIT
|
|
30280
30389
|
*/
|
|
@@ -30349,7 +30458,7 @@ var HeaderGroupCellComp = /** @class */ (function (_super) {
|
|
|
30349
30458
|
|
|
30350
30459
|
/**
|
|
30351
30460
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30352
|
-
* @version v28.
|
|
30461
|
+
* @version v28.2.0
|
|
30353
30462
|
* @link https://www.ag-grid.com/
|
|
30354
30463
|
* @license MIT
|
|
30355
30464
|
*/
|
|
@@ -30467,7 +30576,7 @@ var HeaderRowComp = /** @class */ (function (_super) {
|
|
|
30467
30576
|
|
|
30468
30577
|
/**
|
|
30469
30578
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30470
|
-
* @version v28.
|
|
30579
|
+
* @version v28.2.0
|
|
30471
30580
|
* @link https://www.ag-grid.com/
|
|
30472
30581
|
* @license MIT
|
|
30473
30582
|
*/
|
|
@@ -30574,7 +30683,7 @@ var AbstractHeaderCellCtrl = /** @class */ (function (_super) {
|
|
|
30574
30683
|
|
|
30575
30684
|
/**
|
|
30576
30685
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30577
|
-
* @version v28.
|
|
30686
|
+
* @version v28.2.0
|
|
30578
30687
|
* @link https://www.ag-grid.com/
|
|
30579
30688
|
* @license MIT
|
|
30580
30689
|
*/
|
|
@@ -30592,7 +30701,7 @@ var ClientSideRowModelSteps;
|
|
|
30592
30701
|
|
|
30593
30702
|
/**
|
|
30594
30703
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
30595
|
-
* @version v28.
|
|
30704
|
+
* @version v28.2.0
|
|
30596
30705
|
* @link https://www.ag-grid.com/
|
|
30597
30706
|
* @license MIT
|
|
30598
30707
|
*/
|
|
@@ -30728,7 +30837,7 @@ var GridApi = /** @class */ (function () {
|
|
|
30728
30837
|
return this.excelCreator.exportMultipleSheetsAsExcel(params);
|
|
30729
30838
|
}
|
|
30730
30839
|
};
|
|
30731
|
-
/** @deprecated */
|
|
30840
|
+
/** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */
|
|
30732
30841
|
GridApi.prototype.setEnterpriseDatasource = function (datasource) {
|
|
30733
30842
|
console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()");
|
|
30734
30843
|
this.setServerSideDatasource(datasource);
|
|
@@ -30814,32 +30923,32 @@ var GridApi = /** @class */ (function () {
|
|
|
30814
30923
|
this.clientSideRowModel.setRowData(rowData);
|
|
30815
30924
|
}
|
|
30816
30925
|
};
|
|
30817
|
-
/** @deprecated */
|
|
30926
|
+
/** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */
|
|
30818
30927
|
GridApi.prototype.setFloatingTopRowData = function (rows) {
|
|
30819
30928
|
console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');
|
|
30820
30929
|
this.setPinnedTopRowData(rows);
|
|
30821
30930
|
};
|
|
30822
|
-
/** @deprecated */
|
|
30931
|
+
/** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */
|
|
30823
30932
|
GridApi.prototype.setFloatingBottomRowData = function (rows) {
|
|
30824
30933
|
console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');
|
|
30825
30934
|
this.setPinnedBottomRowData(rows);
|
|
30826
30935
|
};
|
|
30827
|
-
/** @deprecated */
|
|
30936
|
+
/** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */
|
|
30828
30937
|
GridApi.prototype.getFloatingTopRowCount = function () {
|
|
30829
30938
|
console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');
|
|
30830
30939
|
return this.getPinnedTopRowCount();
|
|
30831
30940
|
};
|
|
30832
|
-
/** @deprecated */
|
|
30941
|
+
/** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */
|
|
30833
30942
|
GridApi.prototype.getFloatingBottomRowCount = function () {
|
|
30834
30943
|
console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');
|
|
30835
30944
|
return this.getPinnedBottomRowCount();
|
|
30836
30945
|
};
|
|
30837
|
-
/** @deprecated */
|
|
30946
|
+
/** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */
|
|
30838
30947
|
GridApi.prototype.getFloatingTopRow = function (index) {
|
|
30839
30948
|
console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');
|
|
30840
30949
|
return this.getPinnedTopRow(index);
|
|
30841
30950
|
};
|
|
30842
|
-
/** @deprecated */
|
|
30951
|
+
/** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */
|
|
30843
30952
|
GridApi.prototype.getFloatingBottomRow = function (index) {
|
|
30844
30953
|
console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');
|
|
30845
30954
|
return this.getPinnedBottomRow(index);
|
|
@@ -30988,8 +31097,9 @@ var GridApi = /** @class */ (function () {
|
|
|
30988
31097
|
// and thus the expand icon in the group cell won't get 'opened' or 'closed'.
|
|
30989
31098
|
this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.MAP });
|
|
30990
31099
|
};
|
|
31100
|
+
/** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */
|
|
30991
31101
|
GridApi.prototype.refreshInMemoryRowModel = function (step) {
|
|
30992
|
-
console.warn("
|
|
31102
|
+
console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()");
|
|
30993
31103
|
this.refreshClientSideRowModel(step);
|
|
30994
31104
|
};
|
|
30995
31105
|
/** Gets the Client-Side Row Model to refresh, executing the grouping, filtering and sorting again. */
|
|
@@ -31092,7 +31202,6 @@ var GridApi = /** @class */ (function () {
|
|
|
31092
31202
|
* 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).
|
|
31093
31203
|
* Unlike normal events, you do not need to unregister rendered row listeners.
|
|
31094
31204
|
* When the rendered row is removed from the grid, all associated rendered row listeners will also be removed.
|
|
31095
|
-
* Currently supports only one event, `virtualRowRemoved`;
|
|
31096
31205
|
* listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.
|
|
31097
31206
|
*/
|
|
31098
31207
|
GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {
|
|
@@ -31105,33 +31214,37 @@ var GridApi = /** @class */ (function () {
|
|
|
31105
31214
|
GridApi.prototype.setQuickFilter = function (newFilter) {
|
|
31106
31215
|
this.filterManager.setQuickFilter(newFilter);
|
|
31107
31216
|
};
|
|
31217
|
+
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */
|
|
31108
31218
|
GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {
|
|
31109
|
-
console.warn('AG Grid: do not use api for selection, call
|
|
31219
|
+
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31110
31220
|
if (suppressEvents) {
|
|
31111
31221
|
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31112
31222
|
}
|
|
31113
31223
|
this.selectionService.selectIndex(index, tryMulti);
|
|
31114
31224
|
};
|
|
31225
|
+
/** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */
|
|
31115
31226
|
GridApi.prototype.deselectIndex = function (index, suppressEvents) {
|
|
31116
31227
|
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31117
|
-
console.warn('AG Grid: do not use api for selection, call
|
|
31228
|
+
console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');
|
|
31118
31229
|
if (suppressEvents) {
|
|
31119
31230
|
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31120
31231
|
}
|
|
31121
31232
|
this.selectionService.deselectIndex(index);
|
|
31122
31233
|
};
|
|
31234
|
+
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31123
31235
|
GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {
|
|
31124
31236
|
if (tryMulti === void 0) { tryMulti = false; }
|
|
31125
31237
|
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31126
|
-
console.warn('AG Grid: API for selection is deprecated, call
|
|
31238
|
+
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31127
31239
|
if (suppressEvents) {
|
|
31128
31240
|
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31129
31241
|
}
|
|
31130
31242
|
node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });
|
|
31131
31243
|
};
|
|
31244
|
+
/** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */
|
|
31132
31245
|
GridApi.prototype.deselectNode = function (node, suppressEvents) {
|
|
31133
31246
|
if (suppressEvents === void 0) { suppressEvents = false; }
|
|
31134
|
-
console.warn('AG Grid: API for selection is deprecated, call
|
|
31247
|
+
console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');
|
|
31135
31248
|
if (suppressEvents) {
|
|
31136
31249
|
console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');
|
|
31137
31250
|
}
|
|
@@ -31153,6 +31266,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31153
31266
|
GridApi.prototype.deselectAllFiltered = function () {
|
|
31154
31267
|
this.selectionService.deselectAllRowNodes(true);
|
|
31155
31268
|
};
|
|
31269
|
+
/** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */
|
|
31156
31270
|
GridApi.prototype.recomputeAggregates = function () {
|
|
31157
31271
|
if (missing(this.clientSideRowModel)) {
|
|
31158
31272
|
console.warn('cannot call recomputeAggregates unless using normal row model');
|
|
@@ -31182,6 +31296,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31182
31296
|
console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');
|
|
31183
31297
|
return node.isSelected();
|
|
31184
31298
|
};
|
|
31299
|
+
/** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */
|
|
31185
31300
|
GridApi.prototype.getSelectedNodesById = function () {
|
|
31186
31301
|
console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');
|
|
31187
31302
|
return null;
|
|
@@ -31210,6 +31325,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31210
31325
|
GridApi.prototype.getRenderedNodes = function () {
|
|
31211
31326
|
return this.rowRenderer.getRenderedNodes();
|
|
31212
31327
|
};
|
|
31328
|
+
/** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */
|
|
31213
31329
|
GridApi.prototype.ensureColIndexVisible = function (index) {
|
|
31214
31330
|
console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');
|
|
31215
31331
|
};
|
|
@@ -31542,9 +31658,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31542
31658
|
GridApi.prototype.setPaginationNumberFormatter = function (paginationNumberFormatterFunc) {
|
|
31543
31659
|
this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_PAGINATION_NUMBER_FORMATTER, paginationNumberFormatterFunc);
|
|
31544
31660
|
};
|
|
31545
|
-
/** @deprecated
|
|
31546
|
-
* use setGetServerSideGroupLevelParams instead
|
|
31547
|
-
*/
|
|
31661
|
+
/** @deprecated use setGetServerSideGroupLevelParams instead */
|
|
31548
31662
|
GridApi.prototype.setGetServerSideStoreParams = function (getServerSideStoreParamsFunc) {
|
|
31549
31663
|
this.setGetServerSideGroupLevelParams(getServerSideStoreParamsFunc);
|
|
31550
31664
|
};
|
|
@@ -31626,6 +31740,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31626
31740
|
GridApi.prototype.isToolPanelShowing = function () {
|
|
31627
31741
|
return this.sideBarComp.isToolPanelShowing();
|
|
31628
31742
|
};
|
|
31743
|
+
/** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */
|
|
31629
31744
|
GridApi.prototype.doLayout = function () {
|
|
31630
31745
|
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";
|
|
31631
31746
|
doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');
|
|
@@ -31733,6 +31848,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31733
31848
|
}
|
|
31734
31849
|
this.rowModel.forEachNode(function (node) { return node.quickFilterAggregateText = null; });
|
|
31735
31850
|
};
|
|
31851
|
+
/** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */
|
|
31736
31852
|
GridApi.prototype.getRangeSelections = function () {
|
|
31737
31853
|
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.");
|
|
31738
31854
|
return null;
|
|
@@ -31748,6 +31864,7 @@ var GridApi = /** @class */ (function () {
|
|
|
31748
31864
|
GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {
|
|
31749
31865
|
return camelCaseToHumanText(camelCase);
|
|
31750
31866
|
};
|
|
31867
|
+
/** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */
|
|
31751
31868
|
GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {
|
|
31752
31869
|
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()');
|
|
31753
31870
|
};
|
|
@@ -31797,11 +31914,28 @@ var GridApi = /** @class */ (function () {
|
|
|
31797
31914
|
};
|
|
31798
31915
|
/** Returns a string containing the requested data URL which contains a representation of the chart image. */
|
|
31799
31916
|
GridApi.prototype.getChartImageDataURL = function (params) {
|
|
31800
|
-
if (ModuleRegistry.assertRegistered(ModuleNames.
|
|
31801
|
-
ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.getChartImageDataURL')) {
|
|
31917
|
+
if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.getChartImageDataURL')) {
|
|
31802
31918
|
return this.chartService.getChartImageDataURL(params);
|
|
31803
31919
|
}
|
|
31804
31920
|
};
|
|
31921
|
+
/** Downloads the chart image in the browser. */
|
|
31922
|
+
GridApi.prototype.downloadChart = function (params) {
|
|
31923
|
+
if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.downloadChart')) {
|
|
31924
|
+
return this.chartService.downloadChart(params);
|
|
31925
|
+
}
|
|
31926
|
+
};
|
|
31927
|
+
/** Open the Chart Tool Panel. */
|
|
31928
|
+
GridApi.prototype.openChartToolPanel = function (params) {
|
|
31929
|
+
if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.openChartToolPanel')) {
|
|
31930
|
+
return this.chartService.openChartToolPanel(params);
|
|
31931
|
+
}
|
|
31932
|
+
};
|
|
31933
|
+
/** Close the Chart Tool Panel. */
|
|
31934
|
+
GridApi.prototype.closeChartToolPanel = function (params) {
|
|
31935
|
+
if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.closeChartToolPanel')) {
|
|
31936
|
+
return this.chartService.closeChartToolPanel(params.chartId);
|
|
31937
|
+
}
|
|
31938
|
+
};
|
|
31805
31939
|
/** Used to programmatically create charts from a range. */
|
|
31806
31940
|
GridApi.prototype.createRangeChart = function (params) {
|
|
31807
31941
|
if (ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'api.createRangeChart') &&
|
|
@@ -31830,6 +31964,13 @@ var GridApi = /** @class */ (function () {
|
|
|
31830
31964
|
return this.chartService.createPivotChart(params);
|
|
31831
31965
|
}
|
|
31832
31966
|
};
|
|
31967
|
+
/** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
|
|
31968
|
+
GridApi.prototype.copyToClipboard = function (params) {
|
|
31969
|
+
if (!this.clipboardService) {
|
|
31970
|
+
console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');
|
|
31971
|
+
}
|
|
31972
|
+
this.clipboardService.copyToClipboard(params);
|
|
31973
|
+
};
|
|
31833
31974
|
/** Copies the selected rows to the clipboard. */
|
|
31834
31975
|
GridApi.prototype.copySelectedRowsToClipboard = function (params) {
|
|
31835
31976
|
if (!this.clipboardService) {
|
|
@@ -32003,7 +32144,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32003
32144
|
GridApi.prototype.setDeltaSort = function (enable) {
|
|
32004
32145
|
this.gridOptionsWrapper.setProperty('deltaSort', enable);
|
|
32005
32146
|
};
|
|
32006
|
-
/** @deprecated */
|
|
32147
|
+
/** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */
|
|
32007
32148
|
GridApi.prototype.updateRowData = function (rowDataTransaction) {
|
|
32008
32149
|
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.';
|
|
32009
32150
|
doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');
|
|
@@ -32025,34 +32166,34 @@ var GridApi = /** @class */ (function () {
|
|
|
32025
32166
|
}
|
|
32026
32167
|
this.clientSideRowModel.flushAsyncTransactions();
|
|
32027
32168
|
};
|
|
32028
|
-
/** @deprecated */
|
|
32169
|
+
/** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */
|
|
32029
32170
|
GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {
|
|
32030
32171
|
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.';
|
|
32031
32172
|
doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');
|
|
32032
32173
|
this.applyTransactionAsync(rowDataTransaction, callback);
|
|
32033
32174
|
};
|
|
32034
|
-
/** @deprecated
|
|
32175
|
+
/** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/
|
|
32035
32176
|
GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {
|
|
32036
32177
|
console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');
|
|
32037
32178
|
this.updateRowData({ add: items, addIndex: index, update: null, remove: null });
|
|
32038
32179
|
};
|
|
32039
|
-
/** @deprecated */
|
|
32180
|
+
/** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */
|
|
32040
32181
|
GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {
|
|
32041
32182
|
console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');
|
|
32042
32183
|
var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });
|
|
32043
32184
|
this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });
|
|
32044
32185
|
};
|
|
32045
|
-
/** @deprecated */
|
|
32186
|
+
/** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */
|
|
32046
32187
|
GridApi.prototype.addItems = function (items, skipRefresh) {
|
|
32047
32188
|
console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');
|
|
32048
32189
|
this.updateRowData({ add: items, addIndex: null, update: null, remove: null });
|
|
32049
32190
|
};
|
|
32050
|
-
/** @deprecated */
|
|
32191
|
+
/** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
32051
32192
|
GridApi.prototype.refreshVirtualPageCache = function () {
|
|
32052
32193
|
console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
32053
32194
|
this.refreshInfiniteCache();
|
|
32054
32195
|
};
|
|
32055
|
-
/** @deprecated */
|
|
32196
|
+
/** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */
|
|
32056
32197
|
GridApi.prototype.refreshInfinitePageCache = function () {
|
|
32057
32198
|
console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');
|
|
32058
32199
|
this.refreshInfiniteCache();
|
|
@@ -32070,12 +32211,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32070
32211
|
console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.");
|
|
32071
32212
|
}
|
|
32072
32213
|
};
|
|
32073
|
-
/** @deprecated */
|
|
32214
|
+
/** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
32074
32215
|
GridApi.prototype.purgeVirtualPageCache = function () {
|
|
32075
32216
|
console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
32076
32217
|
this.purgeInfinitePageCache();
|
|
32077
32218
|
};
|
|
32078
|
-
/** @deprecated */
|
|
32219
|
+
/** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */
|
|
32079
32220
|
GridApi.prototype.purgeInfinitePageCache = function () {
|
|
32080
32221
|
console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');
|
|
32081
32222
|
this.purgeInfiniteCache();
|
|
@@ -32094,12 +32235,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32094
32235
|
console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.");
|
|
32095
32236
|
}
|
|
32096
32237
|
};
|
|
32097
|
-
/** @deprecated */
|
|
32238
|
+
/** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */
|
|
32098
32239
|
GridApi.prototype.purgeEnterpriseCache = function (route) {
|
|
32099
|
-
console.warn("
|
|
32240
|
+
console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})");
|
|
32100
32241
|
this.purgeServerSideCache(route);
|
|
32101
32242
|
};
|
|
32102
|
-
/** @deprecated */
|
|
32243
|
+
/** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */
|
|
32103
32244
|
GridApi.prototype.purgeServerSideCache = function (route) {
|
|
32104
32245
|
if (route === void 0) { route = []; }
|
|
32105
32246
|
if (this.serverSideRowModel) {
|
|
@@ -32121,6 +32262,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32121
32262
|
GridApi.prototype.refreshServerSide = function (params) {
|
|
32122
32263
|
if (!this.serverSideRowModel) {
|
|
32123
32264
|
console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.");
|
|
32265
|
+
return;
|
|
32124
32266
|
}
|
|
32125
32267
|
this.serverSideRowModel.refreshStore(params);
|
|
32126
32268
|
};
|
|
@@ -32144,6 +32286,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32144
32286
|
}
|
|
32145
32287
|
return this.serverSideRowModel.getStoreState();
|
|
32146
32288
|
};
|
|
32289
|
+
/** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */
|
|
32147
32290
|
GridApi.prototype.getVirtualRowCount = function () {
|
|
32148
32291
|
console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');
|
|
32149
32292
|
return this.getInfiniteRowCount();
|
|
@@ -32157,8 +32300,9 @@ var GridApi = /** @class */ (function () {
|
|
|
32157
32300
|
console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.");
|
|
32158
32301
|
}
|
|
32159
32302
|
};
|
|
32303
|
+
/** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */
|
|
32160
32304
|
GridApi.prototype.isMaxRowFound = function () {
|
|
32161
|
-
console.warn("AG Grid: api.
|
|
32305
|
+
console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()");
|
|
32162
32306
|
return this.isLastRowIndexKnown();
|
|
32163
32307
|
};
|
|
32164
32308
|
/** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */
|
|
@@ -32170,10 +32314,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32170
32314
|
console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.");
|
|
32171
32315
|
}
|
|
32172
32316
|
};
|
|
32317
|
+
/** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */
|
|
32173
32318
|
GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {
|
|
32174
32319
|
console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');
|
|
32175
32320
|
this.setRowCount(rowCount, maxRowFound);
|
|
32176
32321
|
};
|
|
32322
|
+
/** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */
|
|
32177
32323
|
GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {
|
|
32178
32324
|
console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');
|
|
32179
32325
|
this.setRowCount(rowCount, maxRowFound);
|
|
@@ -32193,10 +32339,12 @@ var GridApi = /** @class */ (function () {
|
|
|
32193
32339
|
console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.");
|
|
32194
32340
|
}
|
|
32195
32341
|
};
|
|
32342
|
+
/** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32196
32343
|
GridApi.prototype.getVirtualPageState = function () {
|
|
32197
32344
|
console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32198
32345
|
return this.getCacheBlockState();
|
|
32199
32346
|
};
|
|
32347
|
+
/** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */
|
|
32200
32348
|
GridApi.prototype.getInfinitePageState = function () {
|
|
32201
32349
|
console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');
|
|
32202
32350
|
return this.getCacheBlockState();
|
|
@@ -32207,17 +32355,20 @@ var GridApi = /** @class */ (function () {
|
|
|
32207
32355
|
GridApi.prototype.getCacheBlockState = function () {
|
|
32208
32356
|
return this.rowNodeBlockLoader.getBlockState();
|
|
32209
32357
|
};
|
|
32358
|
+
/** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */
|
|
32210
32359
|
GridApi.prototype.checkGridSize = function () {
|
|
32211
|
-
console.warn("
|
|
32360
|
+
console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.");
|
|
32212
32361
|
};
|
|
32362
|
+
/** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */
|
|
32213
32363
|
GridApi.prototype.getFirstRenderedRow = function () {
|
|
32214
|
-
console.warn('
|
|
32364
|
+
console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');
|
|
32215
32365
|
return this.getFirstDisplayedRow();
|
|
32216
32366
|
};
|
|
32217
32367
|
/** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */
|
|
32218
32368
|
GridApi.prototype.getFirstDisplayedRow = function () {
|
|
32219
32369
|
return this.rowRenderer.getFirstVirtualRenderedRow();
|
|
32220
32370
|
};
|
|
32371
|
+
/** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */
|
|
32221
32372
|
GridApi.prototype.getLastRenderedRow = function () {
|
|
32222
32373
|
console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');
|
|
32223
32374
|
return this.getLastDisplayedRow();
|
|
@@ -32398,7 +32549,7 @@ var GridApi = /** @class */ (function () {
|
|
|
32398
32549
|
|
|
32399
32550
|
/**
|
|
32400
32551
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
32401
|
-
* @version v28.
|
|
32552
|
+
* @version v28.2.0
|
|
32402
32553
|
* @link https://www.ag-grid.com/
|
|
32403
32554
|
* @license MIT
|
|
32404
32555
|
*/
|
|
@@ -32538,7 +32689,7 @@ var SetLeftFeature = /** @class */ (function (_super) {
|
|
|
32538
32689
|
|
|
32539
32690
|
/**
|
|
32540
32691
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
32541
|
-
* @version v28.
|
|
32692
|
+
* @version v28.2.0
|
|
32542
32693
|
* @link https://www.ag-grid.com/
|
|
32543
32694
|
* @license MIT
|
|
32544
32695
|
*/
|
|
@@ -32595,7 +32746,7 @@ var HoverFeature = /** @class */ (function (_super) {
|
|
|
32595
32746
|
|
|
32596
32747
|
/**
|
|
32597
32748
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
32598
|
-
* @version v28.
|
|
32749
|
+
* @version v28.2.0
|
|
32599
32750
|
* @link https://www.ag-grid.com/
|
|
32600
32751
|
* @license MIT
|
|
32601
32752
|
*/
|
|
@@ -32863,7 +33014,7 @@ var HeaderFilterCellCtrl = /** @class */ (function (_super) {
|
|
|
32863
33014
|
|
|
32864
33015
|
/**
|
|
32865
33016
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
32866
|
-
* @version v28.
|
|
33017
|
+
* @version v28.2.0
|
|
32867
33018
|
* @link https://www.ag-grid.com/
|
|
32868
33019
|
* @license MIT
|
|
32869
33020
|
*/
|
|
@@ -32996,7 +33147,7 @@ var ResizeFeature = /** @class */ (function (_super) {
|
|
|
32996
33147
|
|
|
32997
33148
|
/**
|
|
32998
33149
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
32999
|
-
* @version v28.
|
|
33150
|
+
* @version v28.2.0
|
|
33000
33151
|
* @link https://www.ag-grid.com/
|
|
33001
33152
|
* @license MIT
|
|
33002
33153
|
*/
|
|
@@ -33118,7 +33269,7 @@ var AgCheckbox = /** @class */ (function (_super) {
|
|
|
33118
33269
|
|
|
33119
33270
|
/**
|
|
33120
33271
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
33121
|
-
* @version v28.
|
|
33272
|
+
* @version v28.2.0
|
|
33122
33273
|
* @link https://www.ag-grid.com/
|
|
33123
33274
|
* @license MIT
|
|
33124
33275
|
*/
|
|
@@ -33337,7 +33488,7 @@ var SelectAllFeature = /** @class */ (function (_super) {
|
|
|
33337
33488
|
|
|
33338
33489
|
/**
|
|
33339
33490
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
33340
|
-
* @version v28.
|
|
33491
|
+
* @version v28.2.0
|
|
33341
33492
|
* @link https://www.ag-grid.com/
|
|
33342
33493
|
* @license MIT
|
|
33343
33494
|
*/
|
|
@@ -33740,7 +33891,9 @@ var HeaderCellCtrl = /** @class */ (function (_super) {
|
|
|
33740
33891
|
};
|
|
33741
33892
|
var stopMeasuring = function () {
|
|
33742
33893
|
isMeasuring = false;
|
|
33743
|
-
|
|
33894
|
+
if (stopResizeObserver) {
|
|
33895
|
+
stopResizeObserver();
|
|
33896
|
+
}
|
|
33744
33897
|
stopResizeObserver = undefined;
|
|
33745
33898
|
};
|
|
33746
33899
|
checkMeasuring();
|
|
@@ -33752,7 +33905,9 @@ var HeaderCellCtrl = /** @class */ (function (_super) {
|
|
|
33752
33905
|
// Displaying the sort icon changes the available area for text, so sort changes can affect height
|
|
33753
33906
|
this.addManagedListener(this.column, Column.EVENT_SORT_CHANGED, function () {
|
|
33754
33907
|
// Rendering changes for sort, happen after the event... not ideal
|
|
33755
|
-
|
|
33908
|
+
if (isMeasuring) {
|
|
33909
|
+
_this.beans.frameworkOverrides.setTimeout(function () { return measureHeight(0); });
|
|
33910
|
+
}
|
|
33756
33911
|
});
|
|
33757
33912
|
this.addRefreshFunction(checkMeasuring);
|
|
33758
33913
|
};
|
|
@@ -33857,7 +34012,7 @@ var HeaderCellCtrl = /** @class */ (function (_super) {
|
|
|
33857
34012
|
|
|
33858
34013
|
/**
|
|
33859
34014
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
33860
|
-
* @version v28.
|
|
34015
|
+
* @version v28.2.0
|
|
33861
34016
|
* @link https://www.ag-grid.com/
|
|
33862
34017
|
* @license MIT
|
|
33863
34018
|
*/
|
|
@@ -34028,7 +34183,7 @@ var GroupResizeFeature = /** @class */ (function (_super) {
|
|
|
34028
34183
|
|
|
34029
34184
|
/**
|
|
34030
34185
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34031
|
-
* @version v28.
|
|
34186
|
+
* @version v28.2.0
|
|
34032
34187
|
* @link https://www.ag-grid.com/
|
|
34033
34188
|
* @license MIT
|
|
34034
34189
|
*/
|
|
@@ -34106,7 +34261,7 @@ var GroupWidthFeature = /** @class */ (function (_super) {
|
|
|
34106
34261
|
|
|
34107
34262
|
/**
|
|
34108
34263
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34109
|
-
* @version v28.
|
|
34264
|
+
* @version v28.2.0
|
|
34110
34265
|
* @link https://www.ag-grid.com/
|
|
34111
34266
|
* @license MIT
|
|
34112
34267
|
*/
|
|
@@ -34359,7 +34514,7 @@ var HeaderGroupCellCtrl = /** @class */ (function (_super) {
|
|
|
34359
34514
|
|
|
34360
34515
|
/**
|
|
34361
34516
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34362
|
-
* @version v28.
|
|
34517
|
+
* @version v28.2.0
|
|
34363
34518
|
* @link https://www.ag-grid.com/
|
|
34364
34519
|
* @license MIT
|
|
34365
34520
|
*/
|
|
@@ -34605,7 +34760,7 @@ var HeaderRowCtrl = /** @class */ (function (_super) {
|
|
|
34605
34760
|
|
|
34606
34761
|
/**
|
|
34607
34762
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34608
|
-
* @version v28.
|
|
34763
|
+
* @version v28.2.0
|
|
34609
34764
|
* @link https://www.ag-grid.com/
|
|
34610
34765
|
* @license MIT
|
|
34611
34766
|
*/
|
|
@@ -34628,7 +34783,7 @@ var __decorate$1g = function (decorators, target, key, desc) {
|
|
|
34628
34783
|
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;
|
|
34629
34784
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
34630
34785
|
};
|
|
34631
|
-
var __read$
|
|
34786
|
+
var __read$c = function (o, n) {
|
|
34632
34787
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
34633
34788
|
if (!m) return o;
|
|
34634
34789
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -34644,8 +34799,8 @@ var __read$b = function (o, n) {
|
|
|
34644
34799
|
}
|
|
34645
34800
|
return ar;
|
|
34646
34801
|
};
|
|
34647
|
-
var __spread$
|
|
34648
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
34802
|
+
var __spread$a = function () {
|
|
34803
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$c(arguments[i]));
|
|
34649
34804
|
return ar;
|
|
34650
34805
|
};
|
|
34651
34806
|
var HeaderRowContainerCtrl = /** @class */ (function (_super) {
|
|
@@ -34728,7 +34883,7 @@ var HeaderRowContainerCtrl = /** @class */ (function (_super) {
|
|
|
34728
34883
|
this.focusService.focusHeaderPosition({ headerPosition: position });
|
|
34729
34884
|
};
|
|
34730
34885
|
HeaderRowContainerCtrl.prototype.getAllCtrls = function () {
|
|
34731
|
-
var res = __spread$
|
|
34886
|
+
var res = __spread$a(this.groupsRowCtrls, [this.columnsRowCtrl]);
|
|
34732
34887
|
if (this.filtersRowCtrl) {
|
|
34733
34888
|
res.push(this.filtersRowCtrl);
|
|
34734
34889
|
}
|
|
@@ -34841,7 +34996,7 @@ var HeaderRowContainerCtrl = /** @class */ (function (_super) {
|
|
|
34841
34996
|
|
|
34842
34997
|
/**
|
|
34843
34998
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34844
|
-
* @version v28.
|
|
34999
|
+
* @version v28.2.0
|
|
34845
35000
|
* @link https://www.ag-grid.com/
|
|
34846
35001
|
* @license MIT
|
|
34847
35002
|
*/
|
|
@@ -34955,7 +35110,7 @@ var HeaderRowContainerComp = /** @class */ (function (_super) {
|
|
|
34955
35110
|
|
|
34956
35111
|
/**
|
|
34957
35112
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
34958
|
-
* @version v28.
|
|
35113
|
+
* @version v28.2.0
|
|
34959
35114
|
* @link https://www.ag-grid.com/
|
|
34960
35115
|
* @license MIT
|
|
34961
35116
|
*/
|
|
@@ -35145,7 +35300,7 @@ var HeaderNavigationService = /** @class */ (function (_super) {
|
|
|
35145
35300
|
|
|
35146
35301
|
/**
|
|
35147
35302
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35148
|
-
* @version v28.
|
|
35303
|
+
* @version v28.2.0
|
|
35149
35304
|
* @link https://www.ag-grid.com/
|
|
35150
35305
|
* @license MIT
|
|
35151
35306
|
*/
|
|
@@ -35297,7 +35452,7 @@ var GridHeaderCtrl = /** @class */ (function (_super) {
|
|
|
35297
35452
|
|
|
35298
35453
|
/**
|
|
35299
35454
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35300
|
-
* @version v28.
|
|
35455
|
+
* @version v28.2.0
|
|
35301
35456
|
* @link https://www.ag-grid.com/
|
|
35302
35457
|
* @license MIT
|
|
35303
35458
|
*/
|
|
@@ -35353,7 +35508,7 @@ var GridHeaderComp = /** @class */ (function (_super) {
|
|
|
35353
35508
|
|
|
35354
35509
|
/**
|
|
35355
35510
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35356
|
-
* @version v28.
|
|
35511
|
+
* @version v28.2.0
|
|
35357
35512
|
* @link https://www.ag-grid.com/
|
|
35358
35513
|
* @license MIT
|
|
35359
35514
|
*/
|
|
@@ -35436,7 +35591,7 @@ var HorizontalResizeService = /** @class */ (function (_super) {
|
|
|
35436
35591
|
|
|
35437
35592
|
/**
|
|
35438
35593
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35439
|
-
* @version v28.
|
|
35594
|
+
* @version v28.2.0
|
|
35440
35595
|
* @link https://www.ag-grid.com/
|
|
35441
35596
|
* @license MIT
|
|
35442
35597
|
*/
|
|
@@ -35574,7 +35729,7 @@ var StandardMenuFactory = /** @class */ (function (_super) {
|
|
|
35574
35729
|
|
|
35575
35730
|
/**
|
|
35576
35731
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35577
|
-
* @version v28.
|
|
35732
|
+
* @version v28.2.0
|
|
35578
35733
|
* @link https://www.ag-grid.com/
|
|
35579
35734
|
* @license MIT
|
|
35580
35735
|
*/
|
|
@@ -35762,7 +35917,7 @@ var __decorate$19 = function (decorators, target, key, desc) {
|
|
|
35762
35917
|
|
|
35763
35918
|
/**
|
|
35764
35919
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35765
|
-
* @version v28.
|
|
35920
|
+
* @version v28.2.0
|
|
35766
35921
|
* @link https://www.ag-grid.com/
|
|
35767
35922
|
* @license MIT
|
|
35768
35923
|
*/
|
|
@@ -35863,7 +36018,7 @@ var ResizeObserverService = /** @class */ (function (_super) {
|
|
|
35863
36018
|
|
|
35864
36019
|
/**
|
|
35865
36020
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
35866
|
-
* @version v28.
|
|
36021
|
+
* @version v28.2.0
|
|
35867
36022
|
* @link https://www.ag-grid.com/
|
|
35868
36023
|
* @license MIT
|
|
35869
36024
|
*/
|
|
@@ -36072,7 +36227,7 @@ var AnimationFrameService = /** @class */ (function (_super) {
|
|
|
36072
36227
|
|
|
36073
36228
|
/**
|
|
36074
36229
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
36075
|
-
* @version v28.
|
|
36230
|
+
* @version v28.2.0
|
|
36076
36231
|
* @link https://www.ag-grid.com/
|
|
36077
36232
|
* @license MIT
|
|
36078
36233
|
*/
|
|
@@ -36728,7 +36883,7 @@ var PositionableFeature = /** @class */ (function (_super) {
|
|
|
36728
36883
|
|
|
36729
36884
|
/**
|
|
36730
36885
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
36731
|
-
* @version v28.
|
|
36886
|
+
* @version v28.2.0
|
|
36732
36887
|
* @link https://www.ag-grid.com/
|
|
36733
36888
|
* @license MIT
|
|
36734
36889
|
*/
|
|
@@ -36886,7 +37041,7 @@ var AutoWidthCalculator = /** @class */ (function (_super) {
|
|
|
36886
37041
|
|
|
36887
37042
|
/**
|
|
36888
37043
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
36889
|
-
* @version v28.
|
|
37044
|
+
* @version v28.2.0
|
|
36890
37045
|
* @link https://www.ag-grid.com/
|
|
36891
37046
|
* @license MIT
|
|
36892
37047
|
*/
|
|
@@ -36920,7 +37075,7 @@ var __values$1 = function(o) {
|
|
|
36920
37075
|
};
|
|
36921
37076
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
36922
37077
|
};
|
|
36923
|
-
var __read$
|
|
37078
|
+
var __read$b = function (o, n) {
|
|
36924
37079
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
36925
37080
|
if (!m) return o;
|
|
36926
37081
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -36936,8 +37091,8 @@ var __read$a = function (o, n) {
|
|
|
36936
37091
|
}
|
|
36937
37092
|
return ar;
|
|
36938
37093
|
};
|
|
36939
|
-
var __spread$
|
|
36940
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
37094
|
+
var __spread$9 = function () {
|
|
37095
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$b(arguments[i]));
|
|
36941
37096
|
return ar;
|
|
36942
37097
|
};
|
|
36943
37098
|
var StickyRowFeature = /** @class */ (function (_super) {
|
|
@@ -37049,7 +37204,7 @@ var StickyRowFeature = /** @class */ (function (_super) {
|
|
|
37049
37204
|
rowNode.sticky = true;
|
|
37050
37205
|
return _this.createRowCon(rowNode, false, false);
|
|
37051
37206
|
});
|
|
37052
|
-
(_b = this.stickyRowCtrls).push.apply(_b, __spread$
|
|
37207
|
+
(_b = this.stickyRowCtrls).push.apply(_b, __spread$9(newCtrls));
|
|
37053
37208
|
this.stickyRowCtrls.forEach(function (ctrl) { return ctrl.setRowTop(ctrl.getRowNode().stickyRowTop); });
|
|
37054
37209
|
this.stickyRowCtrls.sort(function (a, b) { return b.getRowNode().rowIndex - a.getRowNode().rowIndex; });
|
|
37055
37210
|
if (this.containerHeight !== height) {
|
|
@@ -37074,7 +37229,7 @@ var StickyRowFeature = /** @class */ (function (_super) {
|
|
|
37074
37229
|
|
|
37075
37230
|
/**
|
|
37076
37231
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
37077
|
-
* @version v28.
|
|
37232
|
+
* @version v28.2.0
|
|
37078
37233
|
* @link https://www.ag-grid.com/
|
|
37079
37234
|
* @license MIT
|
|
37080
37235
|
*/
|
|
@@ -37097,7 +37252,7 @@ var __decorate$13 = function (decorators, target, key, desc) {
|
|
|
37097
37252
|
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;
|
|
37098
37253
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
37099
37254
|
};
|
|
37100
|
-
var __read$
|
|
37255
|
+
var __read$a = function (o, n) {
|
|
37101
37256
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
37102
37257
|
if (!m) return o;
|
|
37103
37258
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -37113,8 +37268,8 @@ var __read$9 = function (o, n) {
|
|
|
37113
37268
|
}
|
|
37114
37269
|
return ar;
|
|
37115
37270
|
};
|
|
37116
|
-
var __spread$
|
|
37117
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
37271
|
+
var __spread$8 = function () {
|
|
37272
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$a(arguments[i]));
|
|
37118
37273
|
return ar;
|
|
37119
37274
|
};
|
|
37120
37275
|
var RowRenderer = /** @class */ (function (_super) {
|
|
@@ -37192,7 +37347,7 @@ var RowRenderer = /** @class */ (function (_super) {
|
|
|
37192
37347
|
}
|
|
37193
37348
|
var zombieList = getAllValuesInObject(this.zombieRowCtrls);
|
|
37194
37349
|
var cachedList = this.cachedRowCtrls ? this.cachedRowCtrls.getEntries() : [];
|
|
37195
|
-
this.allRowCtrls = __spread$
|
|
37350
|
+
this.allRowCtrls = __spread$8(liveList, zombieList, cachedList);
|
|
37196
37351
|
};
|
|
37197
37352
|
// in a clean design, each cell would register for each of these events. however when scrolling, all the cells
|
|
37198
37353
|
// registering and de-registering for events is a performance bottleneck. so we register here once and inform
|
|
@@ -37540,7 +37695,7 @@ var RowRenderer = /** @class */ (function (_super) {
|
|
|
37540
37695
|
RowRenderer.prototype.getAllRowCtrls = function () {
|
|
37541
37696
|
var _this = this;
|
|
37542
37697
|
var stickyRowCtrls = (this.stickyRowFeature && this.stickyRowFeature.getStickyRowCtrls()) || [];
|
|
37543
|
-
var res = __spread$
|
|
37698
|
+
var res = __spread$8(this.topRowCtrls, this.bottomRowCtrls, stickyRowCtrls);
|
|
37544
37699
|
Object.keys(this.rowCtrlsByRowIndex).forEach(function (key) { return res.push(_this.rowCtrlsByRowIndex[key]); });
|
|
37545
37700
|
return res;
|
|
37546
37701
|
};
|
|
@@ -38251,7 +38406,7 @@ var RowCtrlCache = /** @class */ (function () {
|
|
|
38251
38406
|
|
|
38252
38407
|
/**
|
|
38253
38408
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38254
|
-
* @version v28.
|
|
38409
|
+
* @version v28.2.0
|
|
38255
38410
|
* @link https://www.ag-grid.com/
|
|
38256
38411
|
* @license MIT
|
|
38257
38412
|
*/
|
|
@@ -38326,7 +38481,7 @@ var ValueFormatterService = /** @class */ (function (_super) {
|
|
|
38326
38481
|
|
|
38327
38482
|
/**
|
|
38328
38483
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38329
|
-
* @version v28.
|
|
38484
|
+
* @version v28.2.0
|
|
38330
38485
|
* @link https://www.ag-grid.com/
|
|
38331
38486
|
* @license MIT
|
|
38332
38487
|
*/
|
|
@@ -38472,7 +38627,7 @@ var PinnedRowModel = /** @class */ (function (_super) {
|
|
|
38472
38627
|
|
|
38473
38628
|
/**
|
|
38474
38629
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38475
|
-
* @version v28.
|
|
38630
|
+
* @version v28.2.0
|
|
38476
38631
|
* @link https://www.ag-grid.com/
|
|
38477
38632
|
* @license MIT
|
|
38478
38633
|
*/
|
|
@@ -38510,7 +38665,7 @@ var ServerSideTransactionResultStatus;
|
|
|
38510
38665
|
|
|
38511
38666
|
/**
|
|
38512
38667
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38513
|
-
* @version v28.
|
|
38668
|
+
* @version v28.2.0
|
|
38514
38669
|
* @link https://www.ag-grid.com/
|
|
38515
38670
|
* @license MIT
|
|
38516
38671
|
*/
|
|
@@ -38574,9 +38729,10 @@ var ChangedPath = /** @class */ (function () {
|
|
|
38574
38729
|
};
|
|
38575
38730
|
// traverseLeafNodes -> used when NOT doing changed path, ie traversing everything. the callback
|
|
38576
38731
|
// will be called for child nodes in addition to parent nodes.
|
|
38577
|
-
ChangedPath.prototype.forEachChangedNodeDepthFirst = function (callback, traverseLeafNodes) {
|
|
38732
|
+
ChangedPath.prototype.forEachChangedNodeDepthFirst = function (callback, traverseLeafNodes, includeUnchangedNodes) {
|
|
38578
38733
|
if (traverseLeafNodes === void 0) { traverseLeafNodes = false; }
|
|
38579
|
-
if (
|
|
38734
|
+
if (includeUnchangedNodes === void 0) { includeUnchangedNodes = false; }
|
|
38735
|
+
if (this.active && !includeUnchangedNodes) {
|
|
38580
38736
|
// if we are active, then use the change path to callback
|
|
38581
38737
|
// only for updated groups
|
|
38582
38738
|
this.depthFirstSearchChangedPath(this.pathRoot, callback);
|
|
@@ -38673,7 +38829,7 @@ var ChangedPath = /** @class */ (function () {
|
|
|
38673
38829
|
|
|
38674
38830
|
/**
|
|
38675
38831
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38676
|
-
* @version v28.
|
|
38832
|
+
* @version v28.2.0
|
|
38677
38833
|
* @link https://www.ag-grid.com/
|
|
38678
38834
|
* @license MIT
|
|
38679
38835
|
*/
|
|
@@ -38772,7 +38928,7 @@ var RowNodeBlock = /** @class */ (function (_super) {
|
|
|
38772
38928
|
|
|
38773
38929
|
/**
|
|
38774
38930
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38775
|
-
* @version v28.
|
|
38931
|
+
* @version v28.2.0
|
|
38776
38932
|
* @link https://www.ag-grid.com/
|
|
38777
38933
|
* @license MIT
|
|
38778
38934
|
*/
|
|
@@ -38896,7 +39052,7 @@ var RowNodeBlockLoader = /** @class */ (function (_super) {
|
|
|
38896
39052
|
|
|
38897
39053
|
/**
|
|
38898
39054
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
38899
|
-
* @version v28.
|
|
39055
|
+
* @version v28.2.0
|
|
38900
39056
|
* @link https://www.ag-grid.com/
|
|
38901
39057
|
* @license MIT
|
|
38902
39058
|
*/
|
|
@@ -39209,7 +39365,7 @@ var PaginationProxy = /** @class */ (function (_super) {
|
|
|
39209
39365
|
|
|
39210
39366
|
/**
|
|
39211
39367
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39212
|
-
* @version v28.
|
|
39368
|
+
* @version v28.2.0
|
|
39213
39369
|
* @link https://www.ag-grid.com/
|
|
39214
39370
|
* @license MIT
|
|
39215
39371
|
*/
|
|
@@ -39313,7 +39469,7 @@ var StylingService = /** @class */ (function (_super) {
|
|
|
39313
39469
|
|
|
39314
39470
|
/**
|
|
39315
39471
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39316
|
-
* @version v28.
|
|
39472
|
+
* @version v28.2.0
|
|
39317
39473
|
* @link https://www.ag-grid.com/
|
|
39318
39474
|
* @license MIT
|
|
39319
39475
|
*/
|
|
@@ -39372,7 +39528,7 @@ var AgRadioButton = /** @class */ (function (_super) {
|
|
|
39372
39528
|
|
|
39373
39529
|
/**
|
|
39374
39530
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39375
|
-
* @version v28.
|
|
39531
|
+
* @version v28.2.0
|
|
39376
39532
|
* @link https://www.ag-grid.com/
|
|
39377
39533
|
* @license MIT
|
|
39378
39534
|
*/
|
|
@@ -39404,7 +39560,7 @@ var AgToggleButton = /** @class */ (function (_super) {
|
|
|
39404
39560
|
|
|
39405
39561
|
/**
|
|
39406
39562
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39407
|
-
* @version v28.
|
|
39563
|
+
* @version v28.2.0
|
|
39408
39564
|
* @link https://www.ag-grid.com/
|
|
39409
39565
|
* @license MIT
|
|
39410
39566
|
*/
|
|
@@ -39462,7 +39618,7 @@ var AgInputTextField = /** @class */ (function (_super) {
|
|
|
39462
39618
|
|
|
39463
39619
|
/**
|
|
39464
39620
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39465
|
-
* @version v28.
|
|
39621
|
+
* @version v28.2.0
|
|
39466
39622
|
* @link https://www.ag-grid.com/
|
|
39467
39623
|
* @license MIT
|
|
39468
39624
|
*/
|
|
@@ -39502,7 +39658,7 @@ var AgInputTextArea = /** @class */ (function (_super) {
|
|
|
39502
39658
|
|
|
39503
39659
|
/**
|
|
39504
39660
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39505
|
-
* @version v28.
|
|
39661
|
+
* @version v28.2.0
|
|
39506
39662
|
* @link https://www.ag-grid.com/
|
|
39507
39663
|
* @license MIT
|
|
39508
39664
|
*/
|
|
@@ -39607,7 +39763,7 @@ var AgInputNumberField = /** @class */ (function (_super) {
|
|
|
39607
39763
|
|
|
39608
39764
|
/**
|
|
39609
39765
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39610
|
-
* @version v28.
|
|
39766
|
+
* @version v28.2.0
|
|
39611
39767
|
* @link https://www.ag-grid.com/
|
|
39612
39768
|
* @license MIT
|
|
39613
39769
|
*/
|
|
@@ -39677,7 +39833,7 @@ var AgInputRange = /** @class */ (function (_super) {
|
|
|
39677
39833
|
|
|
39678
39834
|
/**
|
|
39679
39835
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39680
|
-
* @version v28.
|
|
39836
|
+
* @version v28.2.0
|
|
39681
39837
|
* @link https://www.ag-grid.com/
|
|
39682
39838
|
* @license MIT
|
|
39683
39839
|
*/
|
|
@@ -39778,7 +39934,7 @@ var AgSlider = /** @class */ (function (_super) {
|
|
|
39778
39934
|
|
|
39779
39935
|
/**
|
|
39780
39936
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39781
|
-
* @version v28.
|
|
39937
|
+
* @version v28.2.0
|
|
39782
39938
|
* @link https://www.ag-grid.com/
|
|
39783
39939
|
* @license MIT
|
|
39784
39940
|
*/
|
|
@@ -39996,7 +40152,7 @@ var AgAngleSelect = /** @class */ (function (_super) {
|
|
|
39996
40152
|
|
|
39997
40153
|
/**
|
|
39998
40154
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
39999
|
-
* @version v28.
|
|
40155
|
+
* @version v28.2.0
|
|
40000
40156
|
* @link https://www.ag-grid.com/
|
|
40001
40157
|
* @license MIT
|
|
40002
40158
|
*/
|
|
@@ -40019,7 +40175,7 @@ var __decorate$X = function (decorators, target, key, desc) {
|
|
|
40019
40175
|
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;
|
|
40020
40176
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
40021
40177
|
};
|
|
40022
|
-
var __read$
|
|
40178
|
+
var __read$9 = function (o, n) {
|
|
40023
40179
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
40024
40180
|
if (!m) return o;
|
|
40025
40181
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -40190,7 +40346,7 @@ var AgColorPanel = /** @class */ (function (_super) {
|
|
|
40190
40346
|
};
|
|
40191
40347
|
AgColorPanel.prototype.setValue = function (val) {
|
|
40192
40348
|
var color = Color.fromString(val);
|
|
40193
|
-
var _a = __read$
|
|
40349
|
+
var _a = __read$9(color.toHSB(), 3), h = _a[0], s = _a[1], b = _a[2];
|
|
40194
40350
|
this.H = (isNaN(h) ? 0 : h) / 360;
|
|
40195
40351
|
this.A = color.a;
|
|
40196
40352
|
var spectrumHueRect = this.spectrumHueRect || this.refreshHueRect();
|
|
@@ -40264,7 +40420,7 @@ var AgColorPanel = /** @class */ (function (_super) {
|
|
|
40264
40420
|
|
|
40265
40421
|
/**
|
|
40266
40422
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40267
|
-
* @version v28.
|
|
40423
|
+
* @version v28.2.0
|
|
40268
40424
|
* @link https://www.ag-grid.com/
|
|
40269
40425
|
* @license MIT
|
|
40270
40426
|
*/
|
|
@@ -40452,7 +40608,7 @@ var AgPanel = /** @class */ (function (_super) {
|
|
|
40452
40608
|
|
|
40453
40609
|
/**
|
|
40454
40610
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40455
|
-
* @version v28.
|
|
40611
|
+
* @version v28.2.0
|
|
40456
40612
|
* @link https://www.ag-grid.com/
|
|
40457
40613
|
* @license MIT
|
|
40458
40614
|
*/
|
|
@@ -40469,8 +40625,8 @@ var __extends$V = (function () {
|
|
|
40469
40625
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40470
40626
|
};
|
|
40471
40627
|
})();
|
|
40472
|
-
var __assign$
|
|
40473
|
-
__assign$
|
|
40628
|
+
var __assign$2 = function () {
|
|
40629
|
+
__assign$2 = Object.assign || function(t) {
|
|
40474
40630
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
40475
40631
|
s = arguments[i];
|
|
40476
40632
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -40478,7 +40634,7 @@ var __assign$1 = function () {
|
|
|
40478
40634
|
}
|
|
40479
40635
|
return t;
|
|
40480
40636
|
};
|
|
40481
|
-
return __assign$
|
|
40637
|
+
return __assign$2.apply(this, arguments);
|
|
40482
40638
|
};
|
|
40483
40639
|
var __decorate$V = function (decorators, target, key, desc) {
|
|
40484
40640
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -40489,7 +40645,7 @@ var __decorate$V = function (decorators, target, key, desc) {
|
|
|
40489
40645
|
var AgDialog = /** @class */ (function (_super) {
|
|
40490
40646
|
__extends$V(AgDialog, _super);
|
|
40491
40647
|
function AgDialog(config) {
|
|
40492
|
-
var _this = _super.call(this, __assign$
|
|
40648
|
+
var _this = _super.call(this, __assign$2(__assign$2({}, config), { popup: true })) || this;
|
|
40493
40649
|
_this.isMaximizable = false;
|
|
40494
40650
|
_this.isMaximized = false;
|
|
40495
40651
|
_this.maximizeListeners = [];
|
|
@@ -40622,7 +40778,7 @@ var AgDialog = /** @class */ (function (_super) {
|
|
|
40622
40778
|
|
|
40623
40779
|
/**
|
|
40624
40780
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40625
|
-
* @version v28.
|
|
40781
|
+
* @version v28.2.0
|
|
40626
40782
|
* @link https://www.ag-grid.com/
|
|
40627
40783
|
* @license MIT
|
|
40628
40784
|
*/
|
|
@@ -40714,7 +40870,7 @@ var AgColorPicker = /** @class */ (function (_super) {
|
|
|
40714
40870
|
|
|
40715
40871
|
/**
|
|
40716
40872
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40717
|
-
* @version v28.
|
|
40873
|
+
* @version v28.2.0
|
|
40718
40874
|
* @link https://www.ag-grid.com/
|
|
40719
40875
|
* @license MIT
|
|
40720
40876
|
*/
|
|
@@ -40943,7 +41099,7 @@ var AgGroupComponent = /** @class */ (function (_super) {
|
|
|
40943
41099
|
|
|
40944
41100
|
/**
|
|
40945
41101
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
40946
|
-
* @version v28.
|
|
41102
|
+
* @version v28.2.0
|
|
40947
41103
|
* @link https://www.ag-grid.com/
|
|
40948
41104
|
* @license MIT
|
|
40949
41105
|
*/
|
|
@@ -41105,7 +41261,7 @@ var TabGuardCtrl = /** @class */ (function (_super) {
|
|
|
41105
41261
|
|
|
41106
41262
|
/**
|
|
41107
41263
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
41108
|
-
* @version v28.
|
|
41264
|
+
* @version v28.2.0
|
|
41109
41265
|
* @link https://www.ag-grid.com/
|
|
41110
41266
|
* @license MIT
|
|
41111
41267
|
*/
|
|
@@ -41122,7 +41278,7 @@ var __extends$R = (function () {
|
|
|
41122
41278
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41123
41279
|
};
|
|
41124
41280
|
})();
|
|
41125
|
-
var __read$
|
|
41281
|
+
var __read$8 = function (o, n) {
|
|
41126
41282
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
41127
41283
|
if (!m) return o;
|
|
41128
41284
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -41138,8 +41294,8 @@ var __read$7 = function (o, n) {
|
|
|
41138
41294
|
}
|
|
41139
41295
|
return ar;
|
|
41140
41296
|
};
|
|
41141
|
-
var __spread$
|
|
41142
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
41297
|
+
var __spread$7 = function () {
|
|
41298
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$8(arguments[i]));
|
|
41143
41299
|
return ar;
|
|
41144
41300
|
};
|
|
41145
41301
|
var TabGuardComp = /** @class */ (function (_super) {
|
|
@@ -41184,7 +41340,7 @@ var TabGuardComp = /** @class */ (function (_super) {
|
|
|
41184
41340
|
TabGuardComp.prototype.removeAllChildrenExceptTabGuards = function () {
|
|
41185
41341
|
var tabGuards = [this.eTopGuard, this.eBottomGuard];
|
|
41186
41342
|
clearElement(this.getFocusableElement());
|
|
41187
|
-
this.addTabGuards.apply(this, __spread$
|
|
41343
|
+
this.addTabGuards.apply(this, __spread$7(tabGuards));
|
|
41188
41344
|
};
|
|
41189
41345
|
TabGuardComp.prototype.forceFocusOutOfContainer = function (up) {
|
|
41190
41346
|
if (up === void 0) { up = false; }
|
|
@@ -41207,7 +41363,7 @@ var TabGuardComp = /** @class */ (function (_super) {
|
|
|
41207
41363
|
|
|
41208
41364
|
/**
|
|
41209
41365
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
41210
|
-
* @version v28.
|
|
41366
|
+
* @version v28.2.0
|
|
41211
41367
|
* @link https://www.ag-grid.com/
|
|
41212
41368
|
* @license MIT
|
|
41213
41369
|
*/
|
|
@@ -41224,8 +41380,8 @@ var __extends$Q = (function () {
|
|
|
41224
41380
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41225
41381
|
};
|
|
41226
41382
|
})();
|
|
41227
|
-
var __assign = function () {
|
|
41228
|
-
__assign = Object.assign || function(t) {
|
|
41383
|
+
var __assign$1 = function () {
|
|
41384
|
+
__assign$1 = Object.assign || function(t) {
|
|
41229
41385
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
41230
41386
|
s = arguments[i];
|
|
41231
41387
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -41233,7 +41389,7 @@ var __assign = function () {
|
|
|
41233
41389
|
}
|
|
41234
41390
|
return t;
|
|
41235
41391
|
};
|
|
41236
|
-
return __assign.apply(this, arguments);
|
|
41392
|
+
return __assign$1.apply(this, arguments);
|
|
41237
41393
|
};
|
|
41238
41394
|
var __decorate$S = function (decorators, target, key, desc) {
|
|
41239
41395
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -41310,7 +41466,7 @@ var AgMenuList = /** @class */ (function (_super) {
|
|
|
41310
41466
|
};
|
|
41311
41467
|
AgMenuList.prototype.addItem = function (menuItemDef) {
|
|
41312
41468
|
var _this = this;
|
|
41313
|
-
var menuItem = this.createManagedBean(new AgMenuItemComponent(__assign(__assign({}, menuItemDef), { isAnotherSubMenuOpen: function () { return _this.menuItems.some(function (m) { return m.isSubMenuOpen(); }); } })));
|
|
41469
|
+
var menuItem = this.createManagedBean(new AgMenuItemComponent(__assign$1(__assign$1({}, menuItemDef), { isAnotherSubMenuOpen: function () { return _this.menuItems.some(function (m) { return m.isSubMenuOpen(); }); } })));
|
|
41314
41470
|
menuItem.setParentComponent(this);
|
|
41315
41471
|
setAriaLevel(menuItem.getGui(), this.level);
|
|
41316
41472
|
this.menuItems.push(menuItem);
|
|
@@ -41424,7 +41580,7 @@ var AgMenuList = /** @class */ (function (_super) {
|
|
|
41424
41580
|
|
|
41425
41581
|
/**
|
|
41426
41582
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
41427
|
-
* @version v28.
|
|
41583
|
+
* @version v28.2.0
|
|
41428
41584
|
* @link https://www.ag-grid.com/
|
|
41429
41585
|
* @license MIT
|
|
41430
41586
|
*/
|
|
@@ -41487,7 +41643,7 @@ var AgMenuPanel = /** @class */ (function (_super) {
|
|
|
41487
41643
|
|
|
41488
41644
|
/**
|
|
41489
41645
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
41490
|
-
* @version v28.
|
|
41646
|
+
* @version v28.2.0
|
|
41491
41647
|
* @link https://www.ag-grid.com/
|
|
41492
41648
|
* @license MIT
|
|
41493
41649
|
*/
|
|
@@ -41804,7 +41960,7 @@ var AgMenuItemComponent = /** @class */ (function (_super) {
|
|
|
41804
41960
|
|
|
41805
41961
|
/**
|
|
41806
41962
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
41807
|
-
* @version v28.
|
|
41963
|
+
* @version v28.2.0
|
|
41808
41964
|
* @link https://www.ag-grid.com/
|
|
41809
41965
|
* @license MIT
|
|
41810
41966
|
*/
|
|
@@ -41827,7 +41983,7 @@ var __decorate$P = function (decorators, target, key, desc) {
|
|
|
41827
41983
|
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;
|
|
41828
41984
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
41829
41985
|
};
|
|
41830
|
-
var __read$
|
|
41986
|
+
var __read$7 = function (o, n) {
|
|
41831
41987
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
41832
41988
|
if (!m) return o;
|
|
41833
41989
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -41843,8 +41999,8 @@ var __read$6 = function (o, n) {
|
|
|
41843
41999
|
}
|
|
41844
42000
|
return ar;
|
|
41845
42001
|
};
|
|
41846
|
-
var __spread$
|
|
41847
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
42002
|
+
var __spread$6 = function () {
|
|
42003
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$7(arguments[i]));
|
|
41848
42004
|
return ar;
|
|
41849
42005
|
};
|
|
41850
42006
|
var FocusService = /** @class */ (function (_super) {
|
|
@@ -41884,7 +42040,7 @@ var FocusService = /** @class */ (function (_super) {
|
|
|
41884
42040
|
var docControllers = FocusService_1.instancesMonitored.get(doc);
|
|
41885
42041
|
var newControllers = [];
|
|
41886
42042
|
if (docControllers && docControllers.length) {
|
|
41887
|
-
newControllers = __spread$
|
|
42043
|
+
newControllers = __spread$6(docControllers).filter(function (currentGridCore) { return currentGridCore !== controller; });
|
|
41888
42044
|
FocusService_1.instancesMonitored.set(doc, newControllers);
|
|
41889
42045
|
}
|
|
41890
42046
|
if (newControllers.length === 0) {
|
|
@@ -42306,7 +42462,7 @@ var FocusService = /** @class */ (function (_super) {
|
|
|
42306
42462
|
|
|
42307
42463
|
/**
|
|
42308
42464
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
42309
|
-
* @version v28.
|
|
42465
|
+
* @version v28.2.0
|
|
42310
42466
|
* @link https://www.ag-grid.com/
|
|
42311
42467
|
* @license MIT
|
|
42312
42468
|
*/
|
|
@@ -42329,7 +42485,7 @@ var __decorate$O = function (decorators, target, key, desc) {
|
|
|
42329
42485
|
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;
|
|
42330
42486
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
42331
42487
|
};
|
|
42332
|
-
var __read$
|
|
42488
|
+
var __read$6 = function (o, n) {
|
|
42333
42489
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
42334
42490
|
if (!m) return o;
|
|
42335
42491
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -42345,8 +42501,8 @@ var __read$5 = function (o, n) {
|
|
|
42345
42501
|
}
|
|
42346
42502
|
return ar;
|
|
42347
42503
|
};
|
|
42348
|
-
var __spread$
|
|
42349
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
42504
|
+
var __spread$5 = function () {
|
|
42505
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$6(arguments[i]));
|
|
42350
42506
|
return ar;
|
|
42351
42507
|
};
|
|
42352
42508
|
var DIRECTION;
|
|
@@ -42624,7 +42780,7 @@ var PopupService = /** @class */ (function (_super) {
|
|
|
42624
42780
|
var eWrapper = document.createElement('div');
|
|
42625
42781
|
var allThemes = this.environment.getTheme().allThemes;
|
|
42626
42782
|
if (allThemes.length) {
|
|
42627
|
-
(_a = eWrapper.classList).add.apply(_a, __spread$
|
|
42783
|
+
(_a = eWrapper.classList).add.apply(_a, __spread$5(allThemes));
|
|
42628
42784
|
}
|
|
42629
42785
|
eWrapper.classList.add('ag-popup');
|
|
42630
42786
|
eChild.classList.add(this.gridOptionsWrapper.isEnableRtl() ? 'ag-rtl' : 'ag-ltr', 'ag-popup-child');
|
|
@@ -42869,7 +43025,7 @@ var PopupService = /** @class */ (function (_super) {
|
|
|
42869
43025
|
|
|
42870
43026
|
/**
|
|
42871
43027
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
42872
|
-
* @version v28.
|
|
43028
|
+
* @version v28.2.0
|
|
42873
43029
|
* @link https://www.ag-grid.com/
|
|
42874
43030
|
* @license MIT
|
|
42875
43031
|
*/
|
|
@@ -43160,7 +43316,7 @@ var __decorate$N = function (decorators, target, key, desc) {
|
|
|
43160
43316
|
|
|
43161
43317
|
/**
|
|
43162
43318
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
43163
|
-
* @version v28.
|
|
43319
|
+
* @version v28.2.0
|
|
43164
43320
|
* @link https://www.ag-grid.com/
|
|
43165
43321
|
* @license MIT
|
|
43166
43322
|
*/
|
|
@@ -43200,7 +43356,7 @@ var VanillaFrameworkOverrides = /** @class */ (function () {
|
|
|
43200
43356
|
|
|
43201
43357
|
/**
|
|
43202
43358
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
43203
|
-
* @version v28.
|
|
43359
|
+
* @version v28.2.0
|
|
43204
43360
|
* @link https://www.ag-grid.com/
|
|
43205
43361
|
* @license MIT
|
|
43206
43362
|
*/
|
|
@@ -43223,7 +43379,7 @@ var __decorate$M = function (decorators, target, key, desc) {
|
|
|
43223
43379
|
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;
|
|
43224
43380
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
43225
43381
|
};
|
|
43226
|
-
var __read$
|
|
43382
|
+
var __read$5 = function (o, n) {
|
|
43227
43383
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
43228
43384
|
if (!m) return o;
|
|
43229
43385
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -43239,8 +43395,8 @@ var __read$4 = function (o, n) {
|
|
|
43239
43395
|
}
|
|
43240
43396
|
return ar;
|
|
43241
43397
|
};
|
|
43242
|
-
var __spread$
|
|
43243
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
43398
|
+
var __spread$4 = function () {
|
|
43399
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$5(arguments[i]));
|
|
43244
43400
|
return ar;
|
|
43245
43401
|
};
|
|
43246
43402
|
var CellNavigationService = /** @class */ (function (_super) {
|
|
@@ -43411,7 +43567,7 @@ var CellNavigationService = /** @class */ (function (_super) {
|
|
|
43411
43567
|
if (!this.gridOptionsWrapper.isGroupRowsSticky() || !rowNode || !rowNode.sticky) {
|
|
43412
43568
|
return;
|
|
43413
43569
|
}
|
|
43414
|
-
var stickyRowCtrls = __spread$
|
|
43570
|
+
var stickyRowCtrls = __spread$4(this.rowRenderer.getStickyTopRowCtrls()).sort(function (a, b) { return a.getRowNode().rowIndex - b.getRowNode().rowIndex; });
|
|
43415
43571
|
var diff = up ? -1 : 1;
|
|
43416
43572
|
var idx = stickyRowCtrls.findIndex(function (ctrl) { return ctrl.getRowNode().rowIndex === rowNode.rowIndex; });
|
|
43417
43573
|
var nextCtrl = stickyRowCtrls[idx + diff];
|
|
@@ -43576,7 +43732,7 @@ var CellNavigationService = /** @class */ (function (_super) {
|
|
|
43576
43732
|
|
|
43577
43733
|
/**
|
|
43578
43734
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
43579
|
-
* @version v28.
|
|
43735
|
+
* @version v28.2.0
|
|
43580
43736
|
* @link https://www.ag-grid.com/
|
|
43581
43737
|
* @license MIT
|
|
43582
43738
|
*/
|
|
@@ -43829,7 +43985,7 @@ var AlignedGridsService = /** @class */ (function (_super) {
|
|
|
43829
43985
|
|
|
43830
43986
|
/**
|
|
43831
43987
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
43832
|
-
* @version v28.
|
|
43988
|
+
* @version v28.2.0
|
|
43833
43989
|
* @link https://www.ag-grid.com/
|
|
43834
43990
|
* @license MIT
|
|
43835
43991
|
*/
|
|
@@ -44160,7 +44316,7 @@ var SelectionService = /** @class */ (function (_super) {
|
|
|
44160
44316
|
|
|
44161
44317
|
/**
|
|
44162
44318
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
44163
|
-
* @version v28.
|
|
44319
|
+
* @version v28.2.0
|
|
44164
44320
|
* @link https://www.ag-grid.com/
|
|
44165
44321
|
* @license MIT
|
|
44166
44322
|
*/
|
|
@@ -44463,7 +44619,7 @@ var ColumnApi = /** @class */ (function () {
|
|
|
44463
44619
|
|
|
44464
44620
|
/**
|
|
44465
44621
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
44466
|
-
* @version v28.
|
|
44622
|
+
* @version v28.2.0
|
|
44467
44623
|
* @link https://www.ag-grid.com/
|
|
44468
44624
|
* @license MIT
|
|
44469
44625
|
*/
|
|
@@ -44801,7 +44957,7 @@ var ValueService = /** @class */ (function (_super) {
|
|
|
44801
44957
|
|
|
44802
44958
|
/**
|
|
44803
44959
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
44804
|
-
* @version v28.
|
|
44960
|
+
* @version v28.2.0
|
|
44805
44961
|
* @link https://www.ag-grid.com/
|
|
44806
44962
|
* @license MIT
|
|
44807
44963
|
*/
|
|
@@ -44907,7 +45063,7 @@ var ExpressionService = /** @class */ (function (_super) {
|
|
|
44907
45063
|
|
|
44908
45064
|
/**
|
|
44909
45065
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
44910
|
-
* @version v28.
|
|
45066
|
+
* @version v28.2.0
|
|
44911
45067
|
* @link https://www.ag-grid.com/
|
|
44912
45068
|
* @license MIT
|
|
44913
45069
|
*/
|
|
@@ -44992,7 +45148,7 @@ var TemplateService = /** @class */ (function (_super) {
|
|
|
44992
45148
|
|
|
44993
45149
|
/**
|
|
44994
45150
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
44995
|
-
* @version v28.
|
|
45151
|
+
* @version v28.2.0
|
|
44996
45152
|
* @link https://www.ag-grid.com/
|
|
44997
45153
|
* @license MIT
|
|
44998
45154
|
*/
|
|
@@ -45059,7 +45215,7 @@ var Logger = /** @class */ (function () {
|
|
|
45059
45215
|
|
|
45060
45216
|
/**
|
|
45061
45217
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45062
|
-
* @version v28.
|
|
45218
|
+
* @version v28.2.0
|
|
45063
45219
|
* @link https://www.ag-grid.com/
|
|
45064
45220
|
* @license MIT
|
|
45065
45221
|
*/
|
|
@@ -45204,7 +45360,7 @@ var GridCtrl = /** @class */ (function (_super) {
|
|
|
45204
45360
|
|
|
45205
45361
|
/**
|
|
45206
45362
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45207
|
-
* @version v28.
|
|
45363
|
+
* @version v28.2.0
|
|
45208
45364
|
* @link https://www.ag-grid.com/
|
|
45209
45365
|
* @license MIT
|
|
45210
45366
|
*/
|
|
@@ -45321,7 +45477,7 @@ var GridComp = /** @class */ (function (_super) {
|
|
|
45321
45477
|
|
|
45322
45478
|
/**
|
|
45323
45479
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45324
|
-
* @version v28.
|
|
45480
|
+
* @version v28.2.0
|
|
45325
45481
|
* @link https://www.ag-grid.com/
|
|
45326
45482
|
* @license MIT
|
|
45327
45483
|
*/
|
|
@@ -45344,7 +45500,7 @@ var __decorate$C = function (decorators, target, key, desc) {
|
|
|
45344
45500
|
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;
|
|
45345
45501
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
45346
45502
|
};
|
|
45347
|
-
var __read$
|
|
45503
|
+
var __read$4 = function (o, n) {
|
|
45348
45504
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
45349
45505
|
if (!m) return o;
|
|
45350
45506
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -45360,8 +45516,8 @@ var __read$3 = function (o, n) {
|
|
|
45360
45516
|
}
|
|
45361
45517
|
return ar;
|
|
45362
45518
|
};
|
|
45363
|
-
var __spread$
|
|
45364
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$
|
|
45519
|
+
var __spread$3 = function () {
|
|
45520
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$4(arguments[i]));
|
|
45365
45521
|
return ar;
|
|
45366
45522
|
};
|
|
45367
45523
|
var SortController = /** @class */ (function (_super) {
|
|
@@ -45387,7 +45543,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45387
45543
|
var rowGroupColumns = this.columnModel.getSourceColumnsForGroupColumn(column);
|
|
45388
45544
|
var sortableRowGroupColumns = (_a = rowGroupColumns) === null || _a === void 0 ? void 0 : _a.filter(function (col) { return col.getColDef().sortable; });
|
|
45389
45545
|
if (sortableRowGroupColumns) {
|
|
45390
|
-
columnsToUpdate = __spread$
|
|
45546
|
+
columnsToUpdate = __spread$3([column], sortableRowGroupColumns);
|
|
45391
45547
|
}
|
|
45392
45548
|
}
|
|
45393
45549
|
}
|
|
@@ -45409,7 +45565,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45409
45565
|
// reset sort index on everything
|
|
45410
45566
|
this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach(function (col) { return col.setSortIndex(null); });
|
|
45411
45567
|
var allSortedColsWithoutChanges = allSortedCols.filter(function (col) { return col !== lastSortIndexCol; });
|
|
45412
|
-
var sortedColsWithIndices = !!lastSortIndexCol.getSort() ? __spread$
|
|
45568
|
+
var sortedColsWithIndices = !!lastSortIndexCol.getSort() ? __spread$3(allSortedColsWithoutChanges, [lastSortIndexCol]) : allSortedColsWithoutChanges;
|
|
45413
45569
|
sortedColsWithIndices.forEach(function (col, idx) { return (col.setSortIndex(idx)); });
|
|
45414
45570
|
};
|
|
45415
45571
|
// gets called by API, so if data changes, use can call this, which will end up
|
|
@@ -45551,7 +45707,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45551
45707
|
}
|
|
45552
45708
|
// if column has unique data, its sorting is independent - but can still be mixed
|
|
45553
45709
|
var columnHasUniqueData = !!column.getColDef().field;
|
|
45554
|
-
var sortableColumns = columnHasUniqueData ? __spread$
|
|
45710
|
+
var sortableColumns = columnHasUniqueData ? __spread$3([column], linkedColumns) : linkedColumns;
|
|
45555
45711
|
var firstSort = sortableColumns[0].getSort();
|
|
45556
45712
|
// the == is intentional, as null and undefined both represent no sort, which means they are equivalent
|
|
45557
45713
|
var allMatch = sortableColumns.every(function (col) { return col.getSort() == firstSort; });
|
|
@@ -45590,7 +45746,7 @@ var SortController = /** @class */ (function (_super) {
|
|
|
45590
45746
|
|
|
45591
45747
|
/**
|
|
45592
45748
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45593
|
-
* @version v28.
|
|
45749
|
+
* @version v28.2.0
|
|
45594
45750
|
* @link https://www.ag-grid.com/
|
|
45595
45751
|
* @license MIT
|
|
45596
45752
|
*/
|
|
@@ -45643,7 +45799,7 @@ var ColumnHoverService = /** @class */ (function (_super) {
|
|
|
45643
45799
|
|
|
45644
45800
|
/**
|
|
45645
45801
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45646
|
-
* @version v28.
|
|
45802
|
+
* @version v28.2.0
|
|
45647
45803
|
* @link https://www.ag-grid.com/
|
|
45648
45804
|
* @license MIT
|
|
45649
45805
|
*/
|
|
@@ -45761,7 +45917,7 @@ var ColumnAnimationService = /** @class */ (function (_super) {
|
|
|
45761
45917
|
|
|
45762
45918
|
/**
|
|
45763
45919
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45764
|
-
* @version v28.
|
|
45920
|
+
* @version v28.2.0
|
|
45765
45921
|
* @link https://www.ag-grid.com/
|
|
45766
45922
|
* @license MIT
|
|
45767
45923
|
*/
|
|
@@ -45903,7 +46059,7 @@ var AutoGroupColService = /** @class */ (function (_super) {
|
|
|
45903
46059
|
|
|
45904
46060
|
/**
|
|
45905
46061
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45906
|
-
* @version v28.
|
|
46062
|
+
* @version v28.2.0
|
|
45907
46063
|
* @link https://www.ag-grid.com/
|
|
45908
46064
|
* @license MIT
|
|
45909
46065
|
*/
|
|
@@ -45974,7 +46130,7 @@ var PaginationAutoPageSizeService = /** @class */ (function (_super) {
|
|
|
45974
46130
|
|
|
45975
46131
|
/**
|
|
45976
46132
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
45977
|
-
* @version v28.
|
|
46133
|
+
* @version v28.2.0
|
|
45978
46134
|
* @link https://www.ag-grid.com/
|
|
45979
46135
|
* @license MIT
|
|
45980
46136
|
*/
|
|
@@ -46043,7 +46199,7 @@ var ValueCache = /** @class */ (function (_super) {
|
|
|
46043
46199
|
|
|
46044
46200
|
/**
|
|
46045
46201
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46046
|
-
* @version v28.
|
|
46202
|
+
* @version v28.2.0
|
|
46047
46203
|
* @link https://www.ag-grid.com/
|
|
46048
46204
|
* @license MIT
|
|
46049
46205
|
*/
|
|
@@ -46120,7 +46276,7 @@ var ChangeDetectionService = /** @class */ (function (_super) {
|
|
|
46120
46276
|
|
|
46121
46277
|
/**
|
|
46122
46278
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46123
|
-
* @version v28.
|
|
46279
|
+
* @version v28.2.0
|
|
46124
46280
|
* @link https://www.ag-grid.com/
|
|
46125
46281
|
* @license MIT
|
|
46126
46282
|
*/
|
|
@@ -46199,7 +46355,7 @@ var AgComponentUtils = /** @class */ (function (_super) {
|
|
|
46199
46355
|
|
|
46200
46356
|
/**
|
|
46201
46357
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46202
|
-
* @version v28.
|
|
46358
|
+
* @version v28.2.0
|
|
46203
46359
|
* @link https://www.ag-grid.com/
|
|
46204
46360
|
* @license MIT
|
|
46205
46361
|
*/
|
|
@@ -46297,11 +46453,11 @@ var ComponentMetadataProvider = /** @class */ (function (_super) {
|
|
|
46297
46453
|
},
|
|
46298
46454
|
filter: {
|
|
46299
46455
|
mandatoryMethodList: ['isFilterActive', 'doesFilterPass', 'getModel', 'setModel'],
|
|
46300
|
-
optionalMethodList: ['afterGuiAttached', 'onNewRowsLoaded', 'getModelAsString', 'onFloatingFilterChanged']
|
|
46456
|
+
optionalMethodList: ['afterGuiAttached', 'onNewRowsLoaded', 'getModelAsString', 'onFloatingFilterChanged', 'onAnyFilterChanged']
|
|
46301
46457
|
},
|
|
46302
46458
|
filterComponent: {
|
|
46303
46459
|
mandatoryMethodList: ['isFilterActive', 'doesFilterPass', 'getModel', 'setModel'],
|
|
46304
|
-
optionalMethodList: ['afterGuiAttached', 'onNewRowsLoaded', 'getModelAsString', 'onFloatingFilterChanged']
|
|
46460
|
+
optionalMethodList: ['afterGuiAttached', 'onNewRowsLoaded', 'getModelAsString', 'onFloatingFilterChanged', 'onAnyFilterChanged']
|
|
46305
46461
|
},
|
|
46306
46462
|
statusPanel: {
|
|
46307
46463
|
mandatoryMethodList: [],
|
|
@@ -46334,7 +46490,7 @@ var ComponentMetadataProvider = /** @class */ (function (_super) {
|
|
|
46334
46490
|
|
|
46335
46491
|
/**
|
|
46336
46492
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46337
|
-
* @version v28.
|
|
46493
|
+
* @version v28.2.0
|
|
46338
46494
|
* @link https://www.ag-grid.com/
|
|
46339
46495
|
* @license MIT
|
|
46340
46496
|
*/
|
|
@@ -46496,7 +46652,7 @@ var Environment = /** @class */ (function (_super) {
|
|
|
46496
46652
|
|
|
46497
46653
|
/**
|
|
46498
46654
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46499
|
-
* @version v28.
|
|
46655
|
+
* @version v28.2.0
|
|
46500
46656
|
* @link https://www.ag-grid.com/
|
|
46501
46657
|
* @license MIT
|
|
46502
46658
|
*/
|
|
@@ -46642,7 +46798,7 @@ var RowContainerHeightService = /** @class */ (function (_super) {
|
|
|
46642
46798
|
|
|
46643
46799
|
/**
|
|
46644
46800
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46645
|
-
* @version v28.
|
|
46801
|
+
* @version v28.2.0
|
|
46646
46802
|
* @link https://www.ag-grid.com/
|
|
46647
46803
|
* @license MIT
|
|
46648
46804
|
*/
|
|
@@ -46716,7 +46872,7 @@ var SelectableService = /** @class */ (function (_super) {
|
|
|
46716
46872
|
|
|
46717
46873
|
/**
|
|
46718
46874
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46719
|
-
* @version v28.
|
|
46875
|
+
* @version v28.2.0
|
|
46720
46876
|
* @link https://www.ag-grid.com/
|
|
46721
46877
|
* @license MIT
|
|
46722
46878
|
*/
|
|
@@ -46964,7 +47120,7 @@ var PaginationComp = /** @class */ (function (_super) {
|
|
|
46964
47120
|
|
|
46965
47121
|
/**
|
|
46966
47122
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
46967
|
-
* @version v28.
|
|
47123
|
+
* @version v28.2.0
|
|
46968
47124
|
* @link https://www.ag-grid.com/
|
|
46969
47125
|
* @license MIT
|
|
46970
47126
|
*/
|
|
@@ -47130,7 +47286,7 @@ var OverlayWrapperComponent = /** @class */ (function (_super) {
|
|
|
47130
47286
|
|
|
47131
47287
|
/**
|
|
47132
47288
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47133
|
-
* @version v28.
|
|
47289
|
+
* @version v28.2.0
|
|
47134
47290
|
* @link https://www.ag-grid.com/
|
|
47135
47291
|
* @license MIT
|
|
47136
47292
|
*/
|
|
@@ -47275,7 +47431,7 @@ var RowPositionUtils = /** @class */ (function (_super) {
|
|
|
47275
47431
|
|
|
47276
47432
|
/**
|
|
47277
47433
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47278
|
-
* @version v28.
|
|
47434
|
+
* @version v28.2.0
|
|
47279
47435
|
* @link https://www.ag-grid.com/
|
|
47280
47436
|
* @license MIT
|
|
47281
47437
|
*/
|
|
@@ -47324,7 +47480,7 @@ var CellPositionUtils = /** @class */ (function (_super) {
|
|
|
47324
47480
|
|
|
47325
47481
|
/**
|
|
47326
47482
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47327
|
-
* @version v28.
|
|
47483
|
+
* @version v28.2.0
|
|
47328
47484
|
* @link https://www.ag-grid.com/
|
|
47329
47485
|
* @license MIT
|
|
47330
47486
|
*/
|
|
@@ -47347,15 +47503,16 @@ var UndoRedoAction = /** @class */ (function () {
|
|
|
47347
47503
|
}
|
|
47348
47504
|
return UndoRedoAction;
|
|
47349
47505
|
}());
|
|
47350
|
-
var
|
|
47351
|
-
__extends$l(
|
|
47352
|
-
function
|
|
47506
|
+
var RangeUndoRedoAction = /** @class */ (function (_super) {
|
|
47507
|
+
__extends$l(RangeUndoRedoAction, _super);
|
|
47508
|
+
function RangeUndoRedoAction(cellValueChanges, initialRange, finalRange, ranges) {
|
|
47353
47509
|
var _this = _super.call(this, cellValueChanges) || this;
|
|
47354
47510
|
_this.initialRange = initialRange;
|
|
47355
47511
|
_this.finalRange = finalRange;
|
|
47512
|
+
_this.ranges = ranges;
|
|
47356
47513
|
return _this;
|
|
47357
47514
|
}
|
|
47358
|
-
return
|
|
47515
|
+
return RangeUndoRedoAction;
|
|
47359
47516
|
}(UndoRedoAction));
|
|
47360
47517
|
var UndoRedoStack = /** @class */ (function () {
|
|
47361
47518
|
function UndoRedoStack(maxStackSize) {
|
|
@@ -47388,7 +47545,7 @@ var UndoRedoStack = /** @class */ (function () {
|
|
|
47388
47545
|
|
|
47389
47546
|
/**
|
|
47390
47547
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47391
|
-
* @version v28.
|
|
47548
|
+
* @version v28.2.0
|
|
47392
47549
|
* @link https://www.ag-grid.com/
|
|
47393
47550
|
* @license MIT
|
|
47394
47551
|
*/
|
|
@@ -47405,12 +47562,43 @@ var __extends$k = (function () {
|
|
|
47405
47562
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
47406
47563
|
};
|
|
47407
47564
|
})();
|
|
47565
|
+
var __assign = function () {
|
|
47566
|
+
__assign = Object.assign || function(t) {
|
|
47567
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
47568
|
+
s = arguments[i];
|
|
47569
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
47570
|
+
t[p] = s[p];
|
|
47571
|
+
}
|
|
47572
|
+
return t;
|
|
47573
|
+
};
|
|
47574
|
+
return __assign.apply(this, arguments);
|
|
47575
|
+
};
|
|
47408
47576
|
var __decorate$m = function (decorators, target, key, desc) {
|
|
47409
47577
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
47410
47578
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
47411
47579
|
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;
|
|
47412
47580
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
47413
47581
|
};
|
|
47582
|
+
var __read$3 = function (o, n) {
|
|
47583
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
47584
|
+
if (!m) return o;
|
|
47585
|
+
var i = m.call(o), r, ar = [], e;
|
|
47586
|
+
try {
|
|
47587
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
47588
|
+
}
|
|
47589
|
+
catch (error) { e = { error: error }; }
|
|
47590
|
+
finally {
|
|
47591
|
+
try {
|
|
47592
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
47593
|
+
}
|
|
47594
|
+
finally { if (e) throw e.error; }
|
|
47595
|
+
}
|
|
47596
|
+
return ar;
|
|
47597
|
+
};
|
|
47598
|
+
var __spread$2 = function () {
|
|
47599
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$3(arguments[i]));
|
|
47600
|
+
return ar;
|
|
47601
|
+
};
|
|
47414
47602
|
var UndoRedoService = /** @class */ (function (_super) {
|
|
47415
47603
|
__extends$k(UndoRedoService, _super);
|
|
47416
47604
|
function UndoRedoService() {
|
|
@@ -47419,12 +47607,12 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47419
47607
|
_this.activeCellEdit = null;
|
|
47420
47608
|
_this.activeRowEdit = null;
|
|
47421
47609
|
_this.isPasting = false;
|
|
47422
|
-
_this.
|
|
47610
|
+
_this.isRangeInAction = false;
|
|
47423
47611
|
_this.onCellValueChanged = function (event) {
|
|
47424
47612
|
var eventCell = { column: event.column, rowIndex: event.rowIndex, rowPinned: event.rowPinned };
|
|
47425
47613
|
var isCellEditing = _this.activeCellEdit !== null && _this.cellPositionUtils.equals(_this.activeCellEdit, eventCell);
|
|
47426
47614
|
var isRowEditing = _this.activeRowEdit !== null && _this.rowPositionUtils.sameRow(_this.activeRowEdit, eventCell);
|
|
47427
|
-
var shouldCaptureAction = isCellEditing || isRowEditing || _this.isPasting || _this.
|
|
47615
|
+
var shouldCaptureAction = isCellEditing || isRowEditing || _this.isPasting || _this.isRangeInAction;
|
|
47428
47616
|
if (!shouldCaptureAction) {
|
|
47429
47617
|
return;
|
|
47430
47618
|
}
|
|
@@ -47459,6 +47647,7 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47459
47647
|
this.addCellEditingListeners();
|
|
47460
47648
|
this.addPasteListeners();
|
|
47461
47649
|
this.addFillListeners();
|
|
47650
|
+
this.addCellKeyListeners();
|
|
47462
47651
|
this.addManagedListener(this.eventService, Events.EVENT_CELL_VALUE_CHANGED, this.onCellValueChanged);
|
|
47463
47652
|
// undo / redo is restricted to actual editing so we clear the stacks when other operations are
|
|
47464
47653
|
// performed that change the order of the row / cols.
|
|
@@ -47475,6 +47664,9 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47475
47664
|
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PINNED, this.clearStacks);
|
|
47476
47665
|
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_VISIBLE, this.clearStacks);
|
|
47477
47666
|
this.addManagedListener(this.eventService, Events.EVENT_ROW_DRAG_END, this.clearStacks);
|
|
47667
|
+
this.ctrlsService.whenReady(function () {
|
|
47668
|
+
_this.gridBodyCtrl = _this.ctrlsService.getGridBodyCtrl();
|
|
47669
|
+
});
|
|
47478
47670
|
};
|
|
47479
47671
|
UndoRedoService.prototype.getCurrentUndoStackSize = function () {
|
|
47480
47672
|
return this.undoStack ? this.undoStack.getCurrentStackSize() : 0;
|
|
@@ -47491,11 +47683,11 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47491
47683
|
return;
|
|
47492
47684
|
}
|
|
47493
47685
|
this.processAction(undoAction, function (cellValueChange) { return cellValueChange.oldValue; });
|
|
47494
|
-
if (undoAction instanceof
|
|
47495
|
-
this.
|
|
47686
|
+
if (undoAction instanceof RangeUndoRedoAction) {
|
|
47687
|
+
this.processRange(undoAction.ranges || [undoAction.initialRange]);
|
|
47496
47688
|
}
|
|
47497
47689
|
else {
|
|
47498
|
-
this.
|
|
47690
|
+
this.processCell(undoAction.cellValueChanges);
|
|
47499
47691
|
}
|
|
47500
47692
|
this.redoStack.push(undoAction);
|
|
47501
47693
|
};
|
|
@@ -47508,11 +47700,11 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47508
47700
|
return;
|
|
47509
47701
|
}
|
|
47510
47702
|
this.processAction(redoAction, function (cellValueChange) { return cellValueChange.newValue; });
|
|
47511
|
-
if (redoAction instanceof
|
|
47512
|
-
this.
|
|
47703
|
+
if (redoAction instanceof RangeUndoRedoAction) {
|
|
47704
|
+
this.processRange(redoAction.ranges || [redoAction.finalRange]);
|
|
47513
47705
|
}
|
|
47514
47706
|
else {
|
|
47515
|
-
this.
|
|
47707
|
+
this.processCell(redoAction.cellValueChanges);
|
|
47516
47708
|
}
|
|
47517
47709
|
this.undoStack.push(redoAction);
|
|
47518
47710
|
};
|
|
@@ -47526,20 +47718,30 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47526
47718
|
if (!currentRow.displayed) {
|
|
47527
47719
|
return;
|
|
47528
47720
|
}
|
|
47529
|
-
|
|
47721
|
+
var extractedValue = valueExtractor(cellValueChange);
|
|
47722
|
+
// when values are 'complex objects' we need to invoke their `toString()` to obtain value
|
|
47723
|
+
var value = (typeof extractedValue.toString === 'function') ? extractedValue.toString() : extractedValue;
|
|
47724
|
+
currentRow.setDataValue(columnId, value);
|
|
47530
47725
|
});
|
|
47531
47726
|
};
|
|
47532
|
-
UndoRedoService.prototype.
|
|
47727
|
+
UndoRedoService.prototype.processRange = function (ranges) {
|
|
47728
|
+
var _this = this;
|
|
47533
47729
|
var lastFocusedCell;
|
|
47534
|
-
|
|
47730
|
+
this.rangeService.removeAllCellRanges(true);
|
|
47731
|
+
ranges.forEach(function (range, idx) {
|
|
47732
|
+
if (!range) {
|
|
47733
|
+
return;
|
|
47734
|
+
}
|
|
47535
47735
|
var startRow = range.startRow;
|
|
47536
47736
|
var endRow = range.endRow;
|
|
47537
|
-
|
|
47538
|
-
|
|
47539
|
-
|
|
47540
|
-
|
|
47541
|
-
|
|
47542
|
-
|
|
47737
|
+
if (idx === ranges.length - 1) {
|
|
47738
|
+
lastFocusedCell = {
|
|
47739
|
+
rowPinned: startRow.rowPinned,
|
|
47740
|
+
rowIndex: startRow.rowIndex,
|
|
47741
|
+
columnId: range.startColumn.getColId()
|
|
47742
|
+
};
|
|
47743
|
+
_this.setLastFocusedCell(lastFocusedCell);
|
|
47744
|
+
}
|
|
47543
47745
|
var cellRangeParams = {
|
|
47544
47746
|
rowStartIndex: startRow.rowIndex,
|
|
47545
47747
|
rowStartPinned: startRow.rowPinned,
|
|
@@ -47548,28 +47750,35 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47548
47750
|
columnStart: range.startColumn,
|
|
47549
47751
|
columns: range.columns
|
|
47550
47752
|
};
|
|
47551
|
-
|
|
47552
|
-
|
|
47553
|
-
|
|
47753
|
+
_this.rangeService.addCellRange(cellRangeParams);
|
|
47754
|
+
});
|
|
47755
|
+
};
|
|
47756
|
+
UndoRedoService.prototype.processCell = function (cellValueChanges) {
|
|
47554
47757
|
var cellValueChange = cellValueChanges[0];
|
|
47555
47758
|
var rowIndex = cellValueChange.rowIndex, rowPinned = cellValueChange.rowPinned;
|
|
47556
47759
|
var rowPosition = { rowIndex: rowIndex, rowPinned: rowPinned };
|
|
47557
47760
|
var row = this.getRowNode(rowPosition);
|
|
47558
|
-
lastFocusedCell = {
|
|
47761
|
+
var lastFocusedCell = {
|
|
47559
47762
|
rowPinned: cellValueChange.rowPinned,
|
|
47560
47763
|
rowIndex: row.rowIndex,
|
|
47561
47764
|
columnId: cellValueChange.columnId
|
|
47562
47765
|
};
|
|
47563
|
-
this.setLastFocusedCell(lastFocusedCell);
|
|
47766
|
+
this.setLastFocusedCell(lastFocusedCell, true);
|
|
47564
47767
|
};
|
|
47565
|
-
UndoRedoService.prototype.setLastFocusedCell = function (lastFocusedCell) {
|
|
47768
|
+
UndoRedoService.prototype.setLastFocusedCell = function (lastFocusedCell, setRangeToCell) {
|
|
47566
47769
|
var rowIndex = lastFocusedCell.rowIndex, columnId = lastFocusedCell.columnId, rowPinned = lastFocusedCell.rowPinned;
|
|
47567
|
-
this.
|
|
47568
|
-
this.
|
|
47569
|
-
if (
|
|
47570
|
-
|
|
47770
|
+
var scrollFeature = this.gridBodyCtrl.getScrollFeature();
|
|
47771
|
+
var column = this.columnModel.getGridColumn(columnId);
|
|
47772
|
+
if (!column) {
|
|
47773
|
+
return;
|
|
47774
|
+
}
|
|
47775
|
+
scrollFeature.ensureIndexVisible(rowIndex);
|
|
47776
|
+
scrollFeature.ensureColumnVisible(column);
|
|
47777
|
+
var cellPosition = { rowIndex: rowIndex, column: column, rowPinned: rowPinned };
|
|
47778
|
+
this.focusService.setFocusedCell(__assign(__assign({}, cellPosition), { forceBrowserFocus: true }));
|
|
47779
|
+
if (setRangeToCell) {
|
|
47780
|
+
this.rangeService.setRangeToCell(cellPosition);
|
|
47571
47781
|
}
|
|
47572
|
-
this.focusService.setFocusedCell({ rowIndex: rowIndex, column: columnId, rowPinned: rowPinned, forceBrowserFocus: true });
|
|
47573
47782
|
};
|
|
47574
47783
|
UndoRedoService.prototype.addRowEditingListeners = function () {
|
|
47575
47784
|
var _this = this;
|
|
@@ -47587,9 +47796,9 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47587
47796
|
this.addManagedListener(this.eventService, Events.EVENT_CELL_EDITING_STARTED, function (e) {
|
|
47588
47797
|
_this.activeCellEdit = { column: e.column, rowIndex: e.rowIndex, rowPinned: e.rowPinned };
|
|
47589
47798
|
});
|
|
47590
|
-
this.addManagedListener(this.eventService, Events.EVENT_CELL_EDITING_STOPPED, function () {
|
|
47799
|
+
this.addManagedListener(this.eventService, Events.EVENT_CELL_EDITING_STOPPED, function (e) {
|
|
47591
47800
|
_this.activeCellEdit = null;
|
|
47592
|
-
var shouldPushAction = !_this.activeRowEdit && !_this.isPasting && !_this.
|
|
47801
|
+
var shouldPushAction = e.valueChanged && !_this.activeRowEdit && !_this.isPasting && !_this.isRangeInAction;
|
|
47593
47802
|
if (shouldPushAction) {
|
|
47594
47803
|
var action = new UndoRedoAction(_this.cellValueChanges);
|
|
47595
47804
|
_this.pushActionsToUndoStack(action);
|
|
@@ -47610,12 +47819,29 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47610
47819
|
UndoRedoService.prototype.addFillListeners = function () {
|
|
47611
47820
|
var _this = this;
|
|
47612
47821
|
this.addManagedListener(this.eventService, Events.EVENT_FILL_START, function () {
|
|
47613
|
-
_this.
|
|
47822
|
+
_this.isRangeInAction = true;
|
|
47614
47823
|
});
|
|
47615
47824
|
this.addManagedListener(this.eventService, Events.EVENT_FILL_END, function (event) {
|
|
47616
|
-
var action = new
|
|
47825
|
+
var action = new RangeUndoRedoAction(_this.cellValueChanges, event.initialRange, event.finalRange);
|
|
47617
47826
|
_this.pushActionsToUndoStack(action);
|
|
47618
|
-
_this.
|
|
47827
|
+
_this.isRangeInAction = false;
|
|
47828
|
+
});
|
|
47829
|
+
};
|
|
47830
|
+
UndoRedoService.prototype.addCellKeyListeners = function () {
|
|
47831
|
+
var _this = this;
|
|
47832
|
+
this.addManagedListener(this.eventService, Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START, function () {
|
|
47833
|
+
_this.isRangeInAction = true;
|
|
47834
|
+
});
|
|
47835
|
+
this.addManagedListener(this.eventService, Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END, function () {
|
|
47836
|
+
var action;
|
|
47837
|
+
if (_this.rangeService && _this.gridOptionsWrapper.isEnableRangeSelection()) {
|
|
47838
|
+
action = new RangeUndoRedoAction(_this.cellValueChanges, undefined, undefined, __spread$2(_this.rangeService.getCellRanges()));
|
|
47839
|
+
}
|
|
47840
|
+
else {
|
|
47841
|
+
action = new UndoRedoAction(_this.cellValueChanges);
|
|
47842
|
+
}
|
|
47843
|
+
_this.pushActionsToUndoStack(action);
|
|
47844
|
+
_this.isRangeInAction = false;
|
|
47619
47845
|
});
|
|
47620
47846
|
};
|
|
47621
47847
|
UndoRedoService.prototype.pushActionsToUndoStack = function (action) {
|
|
@@ -47637,8 +47863,8 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47637
47863
|
Autowired('focusService')
|
|
47638
47864
|
], UndoRedoService.prototype, "focusService", void 0);
|
|
47639
47865
|
__decorate$m([
|
|
47640
|
-
Autowired('
|
|
47641
|
-
], UndoRedoService.prototype, "
|
|
47866
|
+
Autowired('ctrlsService')
|
|
47867
|
+
], UndoRedoService.prototype, "ctrlsService", void 0);
|
|
47642
47868
|
__decorate$m([
|
|
47643
47869
|
Autowired('rowModel')
|
|
47644
47870
|
], UndoRedoService.prototype, "rowModel", void 0);
|
|
@@ -47651,6 +47877,12 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47651
47877
|
__decorate$m([
|
|
47652
47878
|
Autowired('rowPositionUtils')
|
|
47653
47879
|
], UndoRedoService.prototype, "rowPositionUtils", void 0);
|
|
47880
|
+
__decorate$m([
|
|
47881
|
+
Autowired('columnModel')
|
|
47882
|
+
], UndoRedoService.prototype, "columnModel", void 0);
|
|
47883
|
+
__decorate$m([
|
|
47884
|
+
Optional('rangeService')
|
|
47885
|
+
], UndoRedoService.prototype, "rangeService", void 0);
|
|
47654
47886
|
__decorate$m([
|
|
47655
47887
|
PostConstruct
|
|
47656
47888
|
], UndoRedoService.prototype, "init", null);
|
|
@@ -47662,7 +47894,7 @@ var UndoRedoService = /** @class */ (function (_super) {
|
|
|
47662
47894
|
|
|
47663
47895
|
/**
|
|
47664
47896
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47665
|
-
* @version v28.
|
|
47897
|
+
* @version v28.2.0
|
|
47666
47898
|
* @link https://www.ag-grid.com/
|
|
47667
47899
|
* @license MIT
|
|
47668
47900
|
*/
|
|
@@ -47744,7 +47976,7 @@ var HeaderPositionUtils = /** @class */ (function (_super) {
|
|
|
47744
47976
|
|
|
47745
47977
|
/**
|
|
47746
47978
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47747
|
-
* @version v28.
|
|
47979
|
+
* @version v28.2.0
|
|
47748
47980
|
* @link https://www.ag-grid.com/
|
|
47749
47981
|
* @license MIT
|
|
47750
47982
|
*/
|
|
@@ -47829,7 +48061,7 @@ var ColumnDefFactory = /** @class */ (function () {
|
|
|
47829
48061
|
|
|
47830
48062
|
/**
|
|
47831
48063
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47832
|
-
* @version v28.
|
|
48064
|
+
* @version v28.2.0
|
|
47833
48065
|
* @link https://www.ag-grid.com/
|
|
47834
48066
|
* @license MIT
|
|
47835
48067
|
*/
|
|
@@ -47970,7 +48202,7 @@ var RowCssClassCalculator = /** @class */ (function () {
|
|
|
47970
48202
|
|
|
47971
48203
|
/**
|
|
47972
48204
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
47973
|
-
* @version v28.
|
|
48205
|
+
* @version v28.2.0
|
|
47974
48206
|
* @link https://www.ag-grid.com/
|
|
47975
48207
|
* @license MIT
|
|
47976
48208
|
*/
|
|
@@ -48092,7 +48324,7 @@ var RowNodeSorter = /** @class */ (function () {
|
|
|
48092
48324
|
|
|
48093
48325
|
/**
|
|
48094
48326
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48095
|
-
* @version v28.
|
|
48327
|
+
* @version v28.2.0
|
|
48096
48328
|
* @link https://www.ag-grid.com/
|
|
48097
48329
|
* @license MIT
|
|
48098
48330
|
*/
|
|
@@ -48304,7 +48536,7 @@ var CtrlsService = /** @class */ (function (_super) {
|
|
|
48304
48536
|
|
|
48305
48537
|
/**
|
|
48306
48538
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48307
|
-
* @version v28.
|
|
48539
|
+
* @version v28.2.0
|
|
48308
48540
|
* @link https://www.ag-grid.com/
|
|
48309
48541
|
* @license MIT
|
|
48310
48542
|
*/
|
|
@@ -48352,7 +48584,7 @@ var CtrlsFactory = /** @class */ (function (_super) {
|
|
|
48352
48584
|
|
|
48353
48585
|
/**
|
|
48354
48586
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48355
|
-
* @version v28.
|
|
48587
|
+
* @version v28.2.0
|
|
48356
48588
|
* @link https://www.ag-grid.com/
|
|
48357
48589
|
* @license MIT
|
|
48358
48590
|
*/
|
|
@@ -48477,6 +48709,7 @@ var FakeHScrollCtrl = /** @class */ (function (_super) {
|
|
|
48477
48709
|
this.view.setHeight(scrollContainerSize);
|
|
48478
48710
|
this.view.setViewportHeight(scrollContainerSize);
|
|
48479
48711
|
this.view.setContainerHeight(scrollContainerSize);
|
|
48712
|
+
this.view.addOrRemoveCssClass('ag-hidden', !hScrollShowing);
|
|
48480
48713
|
};
|
|
48481
48714
|
FakeHScrollCtrl.prototype.getViewport = function () {
|
|
48482
48715
|
return this.eViewport;
|
|
@@ -48501,7 +48734,7 @@ var FakeHScrollCtrl = /** @class */ (function (_super) {
|
|
|
48501
48734
|
|
|
48502
48735
|
/**
|
|
48503
48736
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48504
|
-
* @version v28.
|
|
48737
|
+
* @version v28.2.0
|
|
48505
48738
|
* @link https://www.ag-grid.com/
|
|
48506
48739
|
* @license MIT
|
|
48507
48740
|
*/
|
|
@@ -48571,7 +48804,7 @@ var FakeHScrollComp = /** @class */ (function (_super) {
|
|
|
48571
48804
|
|
|
48572
48805
|
/**
|
|
48573
48806
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48574
|
-
* @version v28.
|
|
48807
|
+
* @version v28.2.0
|
|
48575
48808
|
* @link https://www.ag-grid.com/
|
|
48576
48809
|
* @license MIT
|
|
48577
48810
|
*/
|
|
@@ -48638,7 +48871,7 @@ var PinnedWidthService = /** @class */ (function (_super) {
|
|
|
48638
48871
|
|
|
48639
48872
|
/**
|
|
48640
48873
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48641
|
-
* @version v28.
|
|
48874
|
+
* @version v28.2.0
|
|
48642
48875
|
* @link https://www.ag-grid.com/
|
|
48643
48876
|
* @license MIT
|
|
48644
48877
|
*/
|
|
@@ -48721,7 +48954,7 @@ var RowNodeEventThrottle = /** @class */ (function (_super) {
|
|
|
48721
48954
|
|
|
48722
48955
|
/**
|
|
48723
48956
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48724
|
-
* @version v28.
|
|
48957
|
+
* @version v28.2.0
|
|
48725
48958
|
* @link https://www.ag-grid.com/
|
|
48726
48959
|
* @license MIT
|
|
48727
48960
|
*/
|
|
@@ -48988,7 +49221,7 @@ var GridCoreCreator = /** @class */ (function () {
|
|
|
48988
49221
|
|
|
48989
49222
|
/**
|
|
48990
49223
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
48991
|
-
* @version v28.
|
|
49224
|
+
* @version v28.2.0
|
|
48992
49225
|
* @link https://www.ag-grid.com/
|
|
48993
49226
|
* @license MIT
|
|
48994
49227
|
*/
|
|
@@ -49002,7 +49235,7 @@ var BarColumnLabelPlacement;
|
|
|
49002
49235
|
|
|
49003
49236
|
/**
|
|
49004
49237
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
49005
|
-
* @version v28.
|
|
49238
|
+
* @version v28.2.0
|
|
49006
49239
|
* @link https://www.ag-grid.com/
|
|
49007
49240
|
* @license MIT
|
|
49008
49241
|
*/
|
|
@@ -49343,6 +49576,7 @@ var ClientSideRowModel = /** @class */ (function (_super) {
|
|
|
49343
49576
|
__extends$c(ClientSideRowModel, _super);
|
|
49344
49577
|
function ClientSideRowModel() {
|
|
49345
49578
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
49579
|
+
_this.onRowHeightChanged_debounced = _.debounce(_this.onRowHeightChanged.bind(_this), 100);
|
|
49346
49580
|
_this.rowsToDisplay = []; // the rows mapped to rows to display
|
|
49347
49581
|
return _this;
|
|
49348
49582
|
}
|
|
@@ -50104,6 +50338,15 @@ var ClientSideRowModel = /** @class */ (function (_super) {
|
|
|
50104
50338
|
ClientSideRowModel.prototype.onRowHeightChanged = function () {
|
|
50105
50339
|
this.refreshModel({ step: ClientSideRowModelSteps.MAP, keepRenderedRows: true, keepEditingRows: true, keepUndoRedoStack: true });
|
|
50106
50340
|
};
|
|
50341
|
+
/** This method is debounced. It is used for row auto-height. If we don't debounce,
|
|
50342
|
+
* then the Row Models will end up recalculating each row position
|
|
50343
|
+
* for each row height change and result in the Row Renderer laying out rows.
|
|
50344
|
+
* This is particularly bad if using print layout, and showing eg 1,000 rows,
|
|
50345
|
+
* each row will change it's height, causing Row Model to update 1,000 times.
|
|
50346
|
+
*/
|
|
50347
|
+
ClientSideRowModel.prototype.onRowHeightChangedDebounced = function () {
|
|
50348
|
+
this.onRowHeightChanged_debounced();
|
|
50349
|
+
};
|
|
50107
50350
|
ClientSideRowModel.prototype.resetRowHeights = function () {
|
|
50108
50351
|
var atLeastOne = false;
|
|
50109
50352
|
this.forEachNode(function (rowNode) {
|
|
@@ -51684,7 +51927,8 @@ var BaseGridSerializingSession = /** @class */ (function () {
|
|
|
51684
51927
|
};
|
|
51685
51928
|
BaseGridSerializingSession.prototype.extractRowCellValue = function (column, index, accumulatedRowIndex, type, node) {
|
|
51686
51929
|
// we render the group summary text e.g. "-> Parent -> Child"...
|
|
51687
|
-
var
|
|
51930
|
+
var hideOpenParents = this.gridOptionsWrapper.isGroupHideOpenParents();
|
|
51931
|
+
var value = (!hideOpenParents && this.shouldRenderGroupSummaryCell(node, column, index))
|
|
51688
51932
|
? this.createValueForGroupNode(node)
|
|
51689
51933
|
: this.valueService.getValue(column, node);
|
|
51690
51934
|
var processedValue = this.processCell({
|
|
@@ -51848,7 +52092,7 @@ var CsvSerializingSession = /** @class */ (function (_super) {
|
|
|
51848
52092
|
onColumn: this.onNewHeaderGroupingRowColumn.bind(this)
|
|
51849
52093
|
};
|
|
51850
52094
|
};
|
|
51851
|
-
CsvSerializingSession.prototype.onNewHeaderGroupingRowColumn = function (header, index, span) {
|
|
52095
|
+
CsvSerializingSession.prototype.onNewHeaderGroupingRowColumn = function (columnGroup, header, index, span) {
|
|
51852
52096
|
if (index != 0) {
|
|
51853
52097
|
this.result += this.columnSeparator;
|
|
51854
52098
|
}
|
|
@@ -52186,6 +52430,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
52186
52430
|
var usingSsrm = rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;
|
|
52187
52431
|
var onlySelectedNonStandardModel = !usingCsrm && params.onlySelected;
|
|
52188
52432
|
var processRow = _this.processRow.bind(_this, gridSerializingSession, params, columnsToExport);
|
|
52433
|
+
var _a = params.exportedRows, exportedRows = _a === void 0 ? 'filteredAndSorted' : _a;
|
|
52189
52434
|
if (params.rowPositions) {
|
|
52190
52435
|
params.rowPositions
|
|
52191
52436
|
// pinnedRows are processed by `processPinnedTopRows` and `processPinnedBottomsRows`
|
|
@@ -52217,7 +52462,10 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
52217
52462
|
// here is everything else - including standard row model and selected. we don't use
|
|
52218
52463
|
// the selection model even when just using selected, so that the result is the order
|
|
52219
52464
|
// of the rows appearing on the screen.
|
|
52220
|
-
if (
|
|
52465
|
+
if (exportedRows === 'all') {
|
|
52466
|
+
rowModel.forEachNode(processRow);
|
|
52467
|
+
}
|
|
52468
|
+
else if (usingCsrm) {
|
|
52221
52469
|
rowModel.forEachNodeAfterFilterAndSort(processRow);
|
|
52222
52470
|
}
|
|
52223
52471
|
else if (usingSsrm) {
|
|
@@ -52315,7 +52563,7 @@ var GridSerializer = /** @class */ (function (_super) {
|
|
|
52315
52563
|
}
|
|
52316
52564
|
return collapsibleGroups;
|
|
52317
52565
|
}, []);
|
|
52318
|
-
gridRowIterator.onColumn(name || '', columnIndex++, columnGroup.getLeafColumns().length - 1, collapsibleGroupRanges);
|
|
52566
|
+
gridRowIterator.onColumn(columnGroup, name || '', columnIndex++, columnGroup.getLeafColumns().length - 1, collapsibleGroupRanges);
|
|
52319
52567
|
});
|
|
52320
52568
|
};
|
|
52321
52569
|
__decorate([
|