ag-grid-enterprise 32.3.7 → 32.3.8

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.
@@ -1929,7 +1929,7 @@ var SortStage = class extends import_core8.BeanStub {
1929
1929
  };
1930
1930
 
1931
1931
  // community-modules/client-side-row-model/src/version.ts
1932
- var VERSION = "32.3.7";
1932
+ var VERSION = "32.3.8";
1933
1933
 
1934
1934
  // community-modules/client-side-row-model/src/clientSideRowModelModule.ts
1935
1935
  var ClientSideRowModelCoreModule = (0, import_core9._defineModule)({
@@ -19847,7 +19847,7 @@ function _defineModule(definition) {
19847
19847
  }
19848
19848
 
19849
19849
  // community-modules/core/src/version.ts
19850
- var VERSION = "32.3.7";
19850
+ var VERSION = "32.3.8";
19851
19851
 
19852
19852
  // community-modules/core/src/filter/columnFilterApi.ts
19853
19853
  function isColumnFilterPresent(beans) {
@@ -44168,6 +44168,10 @@ var _GridOptionsService = class _GridOptionsService extends BeanStub {
44168
44168
  constructor() {
44169
44169
  super(...arguments);
44170
44170
  this.beanName = "gos";
44171
+ // Used to hold user events until the grid is ready
44172
+ // Required to support React 19 StrictMode. See IFrameworkOverrides.runWhenReadyAsync but also is likely a good idea that onGridReady is the first event fired.
44173
+ this.gridReadyFired = false;
44174
+ this.queueEvents = [];
44171
44175
  this.domDataKey = "__AG_" + Math.random().toString();
44172
44176
  this.propertyEventService = new LocalEventService();
44173
44177
  // responsible for calling the onXXX functions on gridOptions
@@ -44183,12 +44187,25 @@ var _GridOptionsService = class _GridOptionsService extends BeanStub {
44183
44187
  if (alwaysSync && !restrictToSyncOnly || !alwaysSync && restrictToSyncOnly) {
44184
44188
  return;
44185
44189
  }
44186
- const eventHandlerName = ComponentUtil.getCallbackForEvent(eventName);
44187
- const eventHandler = this.gridOptions[eventHandlerName];
44188
- if (typeof eventHandler === "function") {
44189
- this.frameworkOverrides.wrapOutgoing(() => {
44190
- eventHandler(event);
44191
- });
44190
+ const fireEvent = (name, e) => {
44191
+ const eventHandler = this.gridOptions[ComponentUtil.getCallbackForEvent(name)];
44192
+ if (typeof eventHandler === "function") {
44193
+ this.frameworkOverrides.wrapOutgoing(() => eventHandler(event));
44194
+ }
44195
+ };
44196
+ if (this.gridReadyFired) {
44197
+ fireEvent(eventName, event);
44198
+ } else {
44199
+ if (eventName === "gridReady") {
44200
+ fireEvent(eventName, event);
44201
+ this.gridReadyFired = true;
44202
+ for (const q of this.queueEvents) {
44203
+ fireEvent(q.eventName, q.event);
44204
+ }
44205
+ this.queueEvents = [];
44206
+ } else {
44207
+ this.queueEvents.push({ eventName, event });
44208
+ }
44192
44209
  }
44193
44210
  };
44194
44211
  };
@@ -44216,6 +44233,10 @@ var _GridOptionsService = class _GridOptionsService extends BeanStub {
44216
44233
  }
44217
44234
  });
44218
44235
  }
44236
+ destroy() {
44237
+ super.destroy();
44238
+ this.queueEvents = [];
44239
+ }
44219
44240
  /**
44220
44241
  * Get the raw value of the GridOptions property provided.
44221
44242
  * @param property
@@ -48009,7 +48030,7 @@ var GridSerializer = class extends import_core6.BeanStub {
48009
48030
  };
48010
48031
 
48011
48032
  // community-modules/csv-export/src/version.ts
48012
- var VERSION = "32.3.7";
48033
+ var VERSION = "32.3.8";
48013
48034
 
48014
48035
  // community-modules/csv-export/src/csvExportModule.ts
48015
48036
  var CsvExportCoreModule = (0, import_core7._defineModule)({
@@ -49266,7 +49287,7 @@ function getInfiniteRowCount(beans) {
49266
49287
  }
49267
49288
 
49268
49289
  // community-modules/infinite-row-model/src/version.ts
49269
- var VERSION = "32.3.7";
49290
+ var VERSION = "32.3.8";
49270
49291
 
49271
49292
  // community-modules/infinite-row-model/src/infiniteRowModelModule.ts
49272
49293
  var InfiniteRowModelCoreModule = (0, import_core4._defineModule)({
@@ -54727,7 +54748,7 @@ var AdvancedFilterService = class extends import_core24.BeanStub {
54727
54748
  };
54728
54749
 
54729
54750
  // enterprise-modules/advanced-filter/src/version.ts
54730
- var VERSION = "32.3.7";
54751
+ var VERSION = "32.3.8";
54731
54752
 
54732
54753
  // enterprise-modules/advanced-filter/src/advancedFilterModule.ts
54733
54754
  var AdvancedFilterCoreModule = (0, import_core25._defineModule)({
@@ -56674,7 +56695,7 @@ var import_core101 = __webpack_require__(3423);
56674
56695
  var import_ag_charts_community33 = __webpack_require__(4933);
56675
56696
 
56676
56697
  // enterprise-modules/charts/src/version.ts
56677
- var VERSION = "32.3.7";
56698
+ var VERSION = "32.3.8";
56678
56699
 
56679
56700
  // enterprise-modules/charts/src/charts/chartComp/gridChartComp.ts
56680
56701
  var import_core99 = __webpack_require__(3423);
@@ -68184,7 +68205,7 @@ ${apiError("writeText")}`);
68184
68205
  };
68185
68206
 
68186
68207
  // enterprise-modules/clipboard/src/version.ts
68187
- var VERSION = "32.3.7";
68208
+ var VERSION = "32.3.8";
68188
68209
 
68189
68210
  // enterprise-modules/clipboard/src/clipboardModule.ts
68190
68211
  var ClipboardCoreModule = (0, import_core2._defineModule)({
@@ -70168,7 +70189,7 @@ var ModelItemUtils = class extends import_core14.BeanStub {
70168
70189
  };
70169
70190
 
70170
70191
  // enterprise-modules/column-tool-panel/src/version.ts
70171
- var VERSION = "32.3.7";
70192
+ var VERSION = "32.3.8";
70172
70193
 
70173
70194
  // enterprise-modules/column-tool-panel/src/columnsToolPanelModule.ts
70174
70195
  var ColumnsToolPanelModule = (0, import_core15._defineModule)({
@@ -70796,7 +70817,7 @@ var GridLicenseManager = class extends import_core3.BeanStub {
70796
70817
  };
70797
70818
 
70798
70819
  // enterprise-modules/core/src/version.ts
70799
- var VERSION = "32.3.7";
70820
+ var VERSION = "32.3.8";
70800
70821
 
70801
70822
  // enterprise-modules/core/src/widgets/agMenuItemRenderer.ts
70802
70823
  var import_core4 = __webpack_require__(3423);
@@ -79260,7 +79281,7 @@ function exportMultipleSheetsAsExcel2(beans, params) {
79260
79281
  }
79261
79282
 
79262
79283
  // enterprise-modules/excel-export/src/version.ts
79263
- var VERSION = "32.3.7";
79284
+ var VERSION = "32.3.8";
79264
79285
 
79265
79286
  // enterprise-modules/excel-export/src/excelExportModule.ts
79266
79287
  var ExcelExportCoreModule = (0, import_core10._defineModule)({
@@ -80277,7 +80298,7 @@ var FiltersToolPanel = class extends import_core6.Component {
80277
80298
  };
80278
80299
 
80279
80300
  // enterprise-modules/filter-tool-panel/src/version.ts
80280
- var VERSION = "32.3.7";
80301
+ var VERSION = "32.3.8";
80281
80302
 
80282
80303
  // enterprise-modules/filter-tool-panel/src/filtersToolPanelModule.ts
80283
80304
  var FiltersToolPanelModule = (0, import_core7._defineModule)({
@@ -80619,7 +80640,7 @@ function forEachDetailGridInfo(beans, callback) {
80619
80640
  }
80620
80641
 
80621
80642
  // enterprise-modules/master-detail/src/version.ts
80622
- var VERSION = "32.3.7";
80643
+ var VERSION = "32.3.8";
80623
80644
 
80624
80645
  // enterprise-modules/master-detail/src/masterDetailModule.ts
80625
80646
  var MasterDetailCoreModule = (0, import_core4._defineModule)({
@@ -82514,7 +82535,7 @@ var MenuUtils = class extends import_core11.BeanStub {
82514
82535
  };
82515
82536
 
82516
82537
  // enterprise-modules/menu/src/version.ts
82517
- var VERSION = "32.3.7";
82538
+ var VERSION = "32.3.8";
82518
82539
 
82519
82540
  // enterprise-modules/menu/src/menuModule.ts
82520
82541
  var MenuCoreModule = (0, import_core12._defineModule)({
@@ -83137,7 +83158,7 @@ var MultiFloatingFilterComp = class extends import_core3.Component {
83137
83158
  };
83138
83159
 
83139
83160
  // enterprise-modules/multi-filter/src/version.ts
83140
- var VERSION = "32.3.7";
83161
+ var VERSION = "32.3.8";
83141
83162
 
83142
83163
  // enterprise-modules/multi-filter/src/multiFilterModule.ts
83143
83164
  var MultiFilterCoreModule = (0, import_core4._defineModule)({
@@ -84687,7 +84708,7 @@ var SelectionHandleFactory = class extends import_core5.BeanStub {
84687
84708
  };
84688
84709
 
84689
84710
  // enterprise-modules/range-selection/src/version.ts
84690
- var VERSION = "32.3.7";
84711
+ var VERSION = "32.3.8";
84691
84712
 
84692
84713
  // enterprise-modules/range-selection/src/rangeSelectionModule.ts
84693
84714
  var RangeSelectionCoreModule = (0, import_core6._defineModule)({
@@ -84902,7 +84923,7 @@ var RichSelectCellEditor = class extends import_core.PopupComponent {
84902
84923
  };
84903
84924
 
84904
84925
  // enterprise-modules/rich-select/src/version.ts
84905
- var VERSION = "32.3.7";
84926
+ var VERSION = "32.3.8";
84906
84927
 
84907
84928
  // enterprise-modules/rich-select/src/richSelectModule.ts
84908
84929
  var RichSelectModule = (0, import_core3._defineModule)({
@@ -88658,7 +88679,7 @@ var ShowRowGroupColsService = class extends import_core21.BeanStub {
88658
88679
  };
88659
88680
 
88660
88681
  // enterprise-modules/row-grouping/src/version.ts
88661
- var VERSION = "32.3.7";
88682
+ var VERSION = "32.3.8";
88662
88683
 
88663
88684
  // enterprise-modules/row-grouping/src/rowGroupingModule.ts
88664
88685
  var RowGroupingCoreModule = (0, import_core22._defineModule)({
@@ -93470,7 +93491,7 @@ var TransactionManager = class extends import_core19.BeanStub {
93470
93491
  };
93471
93492
 
93472
93493
  // enterprise-modules/server-side-row-model/src/version.ts
93473
- var VERSION = "32.3.7";
93494
+ var VERSION = "32.3.8";
93474
93495
 
93475
93496
  // enterprise-modules/server-side-row-model/src/serverSideRowModelModule.ts
93476
93497
  var ServerSideRowModelCoreModule = (0, import_core20._defineModule)({
@@ -96071,7 +96092,7 @@ var SetFloatingFilterComp = class extends import_core8.Component {
96071
96092
  };
96072
96093
 
96073
96094
  // enterprise-modules/set-filter/src/version.ts
96074
- var VERSION = "32.3.7";
96095
+ var VERSION = "32.3.8";
96075
96096
 
96076
96097
  // enterprise-modules/set-filter/src/setFilterModule.ts
96077
96098
  var SetFilterCoreModule = (0, import_core9._defineModule)({
@@ -97038,7 +97059,7 @@ var SideBarService = class extends import_core10.BeanStub {
97038
97059
  };
97039
97060
 
97040
97061
  // enterprise-modules/side-bar/src/version.ts
97041
- var VERSION = "32.3.7";
97062
+ var VERSION = "32.3.8";
97042
97063
 
97043
97064
  // enterprise-modules/side-bar/src/sideBarModule.ts
97044
97065
  var SideBarCoreModule = (0, import_core11._defineModule)({
@@ -99228,7 +99249,7 @@ var SparklineTooltipSingleton = class extends import_core5.BeanStub {
99228
99249
  };
99229
99250
 
99230
99251
  // enterprise-modules/sparklines/src/version.ts
99231
- var VERSION = "32.3.7";
99252
+ var VERSION = "32.3.8";
99232
99253
 
99233
99254
  // enterprise-modules/sparklines/src/sparklinesModule.ts
99234
99255
  var SparklinesModule = (0, import_core6._defineModule)({
@@ -99852,7 +99873,7 @@ var StatusBarService = class extends import_core9.BeanStub {
99852
99873
  };
99853
99874
 
99854
99875
  // enterprise-modules/status-bar/src/version.ts
99855
- var VERSION = "32.3.7";
99876
+ var VERSION = "32.3.8";
99856
99877
 
99857
99878
  // enterprise-modules/status-bar/src/statusBarModule.ts
99858
99879
  var StatusBarCoreModule = (0, import_core10._defineModule)({
@@ -99918,7 +99939,7 @@ var import_core2 = __webpack_require__(3423);
99918
99939
  var import_core3 = __webpack_require__(8299);
99919
99940
 
99920
99941
  // enterprise-modules/viewport-row-model/src/version.ts
99921
- var VERSION = "32.3.7";
99942
+ var VERSION = "32.3.8";
99922
99943
 
99923
99944
  // enterprise-modules/viewport-row-model/src/viewportRowModel/viewportRowModel.ts
99924
99945
  var import_core = __webpack_require__(3423);
@@ -111552,7 +111573,7 @@ var DestroyFns = class {
111552
111573
  };
111553
111574
 
111554
111575
  // packages/ag-charts-community/src/version.ts
111555
- var VERSION = "10.3.7";
111576
+ var VERSION = "10.3.8";
111556
111577
 
111557
111578
  // packages/ag-charts-community/src/api/state/historyManager.ts
111558
111579
  var NOT_FOUND = Symbol("previous-memento-not-found");