ag-grid-community 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.
- package/dist/ag-grid-community.js +31 -10
- package/dist/ag-grid-community.min.js +1 -1
- package/dist/ag-grid-community.min.noStyle.js +1 -1
- package/dist/ag-grid-community.noStyle.js +31 -10
- package/dist/package/main.cjs.js +31 -10
- package/dist/package/main.cjs.min.js +4 -4
- package/dist/package/main.esm.min.mjs +4 -4
- package/dist/package/main.esm.mjs +31 -10
- package/dist/package/package.json +8 -8
- package/dist/types/client-side-row-model/version.d.ts +1 -1
- package/dist/types/core/gridOptionsService.d.ts +3 -0
- package/dist/types/core/version.d.ts +1 -1
- package/dist/types/csv-export/version.d.ts +1 -1
- package/dist/types/infinite-row-model/version.d.ts +1 -1
- package/dist/types/theming/version.d.ts +1 -1
- package/package.json +8 -8
|
@@ -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.
|
|
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.
|
|
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
|
|
44187
|
-
|
|
44188
|
-
|
|
44189
|
-
|
|
44190
|
-
|
|
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.
|
|
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.
|
|
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)({
|