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)({
|
package/dist/package/main.cjs.js
CHANGED
|
@@ -17916,7 +17916,7 @@ function _defineModule(definition) {
|
|
|
17916
17916
|
}
|
|
17917
17917
|
|
|
17918
17918
|
// community-modules/core/src/version.ts
|
|
17919
|
-
var VERSION = "32.3.
|
|
17919
|
+
var VERSION = "32.3.8";
|
|
17920
17920
|
|
|
17921
17921
|
// community-modules/core/src/filter/columnFilterApi.ts
|
|
17922
17922
|
function isColumnFilterPresent(beans) {
|
|
@@ -42237,6 +42237,10 @@ var _GridOptionsService = class _GridOptionsService extends BeanStub {
|
|
|
42237
42237
|
constructor() {
|
|
42238
42238
|
super(...arguments);
|
|
42239
42239
|
this.beanName = "gos";
|
|
42240
|
+
// Used to hold user events until the grid is ready
|
|
42241
|
+
// Required to support React 19 StrictMode. See IFrameworkOverrides.runWhenReadyAsync but also is likely a good idea that onGridReady is the first event fired.
|
|
42242
|
+
this.gridReadyFired = false;
|
|
42243
|
+
this.queueEvents = [];
|
|
42240
42244
|
this.domDataKey = "__AG_" + Math.random().toString();
|
|
42241
42245
|
this.propertyEventService = new LocalEventService();
|
|
42242
42246
|
// responsible for calling the onXXX functions on gridOptions
|
|
@@ -42252,12 +42256,25 @@ var _GridOptionsService = class _GridOptionsService extends BeanStub {
|
|
|
42252
42256
|
if (alwaysSync && !restrictToSyncOnly || !alwaysSync && restrictToSyncOnly) {
|
|
42253
42257
|
return;
|
|
42254
42258
|
}
|
|
42255
|
-
const
|
|
42256
|
-
|
|
42257
|
-
|
|
42258
|
-
|
|
42259
|
-
|
|
42260
|
-
|
|
42259
|
+
const fireEvent = (name, e) => {
|
|
42260
|
+
const eventHandler = this.gridOptions[ComponentUtil.getCallbackForEvent(name)];
|
|
42261
|
+
if (typeof eventHandler === "function") {
|
|
42262
|
+
this.frameworkOverrides.wrapOutgoing(() => eventHandler(event));
|
|
42263
|
+
}
|
|
42264
|
+
};
|
|
42265
|
+
if (this.gridReadyFired) {
|
|
42266
|
+
fireEvent(eventName, event);
|
|
42267
|
+
} else {
|
|
42268
|
+
if (eventName === "gridReady") {
|
|
42269
|
+
fireEvent(eventName, event);
|
|
42270
|
+
this.gridReadyFired = true;
|
|
42271
|
+
for (const q of this.queueEvents) {
|
|
42272
|
+
fireEvent(q.eventName, q.event);
|
|
42273
|
+
}
|
|
42274
|
+
this.queueEvents = [];
|
|
42275
|
+
} else {
|
|
42276
|
+
this.queueEvents.push({ eventName, event });
|
|
42277
|
+
}
|
|
42261
42278
|
}
|
|
42262
42279
|
};
|
|
42263
42280
|
};
|
|
@@ -42285,6 +42302,10 @@ var _GridOptionsService = class _GridOptionsService extends BeanStub {
|
|
|
42285
42302
|
}
|
|
42286
42303
|
});
|
|
42287
42304
|
}
|
|
42305
|
+
destroy() {
|
|
42306
|
+
super.destroy();
|
|
42307
|
+
this.queueEvents = [];
|
|
42308
|
+
}
|
|
42288
42309
|
/**
|
|
42289
42310
|
* Get the raw value of the GridOptions property provided.
|
|
42290
42311
|
* @param property
|
|
@@ -47230,7 +47251,7 @@ var SortStage = class extends BeanStub {
|
|
|
47230
47251
|
};
|
|
47231
47252
|
|
|
47232
47253
|
// community-modules/client-side-row-model/src/version.ts
|
|
47233
|
-
var VERSION2 = "32.3.
|
|
47254
|
+
var VERSION2 = "32.3.8";
|
|
47234
47255
|
|
|
47235
47256
|
// community-modules/client-side-row-model/src/clientSideRowModelModule.ts
|
|
47236
47257
|
var ClientSideRowModelCoreModule = _defineModule({
|
|
@@ -47923,7 +47944,7 @@ var GridSerializer = class extends BeanStub {
|
|
|
47923
47944
|
});
|
|
47924
47945
|
}
|
|
47925
47946
|
};
|
|
47926
|
-
var VERSION3 = "32.3.
|
|
47947
|
+
var VERSION3 = "32.3.8";
|
|
47927
47948
|
var CsvExportCoreModule = _defineModule({
|
|
47928
47949
|
version: VERSION3,
|
|
47929
47950
|
moduleName: `${"@ag-grid-community/csv-export" /* CsvExportModule */}-core`,
|
|
@@ -49114,7 +49135,7 @@ function purgeInfiniteCache(beans) {
|
|
|
49114
49135
|
function getInfiniteRowCount(beans) {
|
|
49115
49136
|
return beans.rowModelHelperService?.getInfiniteRowModel()?.getRowCount();
|
|
49116
49137
|
}
|
|
49117
|
-
var VERSION4 = "32.3.
|
|
49138
|
+
var VERSION4 = "32.3.8";
|
|
49118
49139
|
var InfiniteRowModelCoreModule = _defineModule({
|
|
49119
49140
|
version: VERSION4,
|
|
49120
49141
|
moduleName: `${"@ag-grid-community/infinite-row-model" /* InfiniteRowModelModule */}-core`,
|