ag-grid-community 32.3.5 → 32.3.7
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 +180 -186
- 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 +180 -186
- package/dist/package/main.cjs.js +180 -186
- package/dist/package/main.cjs.min.js +7 -10
- package/dist/package/main.esm.min.mjs +46 -49
- package/dist/package/main.esm.mjs +180 -186
- package/dist/package/package.json +8 -8
- package/dist/types/client-side-row-model/version.d.ts +1 -1
- package/dist/types/core/misc/frameworkEventListenerService.d.ts +7 -2
- package/dist/types/core/utils/dom.d.ts +0 -1
- 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.7";
|
|
1933
1933
|
|
|
1934
1934
|
// community-modules/client-side-row-model/src/clientSideRowModelModule.ts
|
|
1935
1935
|
var ClientSideRowModelCoreModule = (0, import_core9._defineModule)({
|
|
@@ -3634,31 +3634,56 @@ var FrameworkEventListenerService = class {
|
|
|
3634
3634
|
this.wrappedListeners = /* @__PURE__ */ new Map();
|
|
3635
3635
|
this.wrappedGlobalListeners = /* @__PURE__ */ new Map();
|
|
3636
3636
|
}
|
|
3637
|
-
wrap(userListener) {
|
|
3637
|
+
wrap(eventType, userListener) {
|
|
3638
|
+
const { frameworkOverrides, wrappedListeners } = this;
|
|
3638
3639
|
let listener = userListener;
|
|
3639
|
-
if (
|
|
3640
|
+
if (frameworkOverrides.shouldWrapOutgoing) {
|
|
3640
3641
|
listener = (event) => {
|
|
3641
|
-
|
|
3642
|
+
frameworkOverrides.wrapOutgoing(() => userListener(event));
|
|
3642
3643
|
};
|
|
3643
|
-
|
|
3644
|
+
let eventListeners = wrappedListeners.get(eventType);
|
|
3645
|
+
if (!eventListeners) {
|
|
3646
|
+
eventListeners = /* @__PURE__ */ new Map();
|
|
3647
|
+
wrappedListeners.set(eventType, eventListeners);
|
|
3648
|
+
}
|
|
3649
|
+
eventListeners.set(userListener, listener);
|
|
3644
3650
|
}
|
|
3645
3651
|
return listener;
|
|
3646
3652
|
}
|
|
3647
3653
|
wrapGlobal(userListener) {
|
|
3654
|
+
const { frameworkOverrides, wrappedGlobalListeners } = this;
|
|
3648
3655
|
let listener = userListener;
|
|
3649
|
-
if (
|
|
3656
|
+
if (frameworkOverrides.shouldWrapOutgoing) {
|
|
3650
3657
|
listener = (eventType, event) => {
|
|
3651
|
-
|
|
3658
|
+
frameworkOverrides.wrapOutgoing(() => userListener(eventType, event));
|
|
3652
3659
|
};
|
|
3653
|
-
|
|
3660
|
+
wrappedGlobalListeners.set(userListener, listener);
|
|
3654
3661
|
}
|
|
3655
3662
|
return listener;
|
|
3656
3663
|
}
|
|
3657
|
-
unwrap(userListener) {
|
|
3658
|
-
|
|
3664
|
+
unwrap(eventType, userListener) {
|
|
3665
|
+
const { wrappedListeners } = this;
|
|
3666
|
+
const eventListeners = wrappedListeners.get(eventType);
|
|
3667
|
+
if (eventListeners) {
|
|
3668
|
+
const wrapped = eventListeners.get(userListener);
|
|
3669
|
+
if (wrapped) {
|
|
3670
|
+
eventListeners.delete(userListener);
|
|
3671
|
+
if (eventListeners.size === 0) {
|
|
3672
|
+
wrappedListeners.delete(eventType);
|
|
3673
|
+
}
|
|
3674
|
+
return wrapped;
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3677
|
+
return userListener;
|
|
3659
3678
|
}
|
|
3660
3679
|
unwrapGlobal(userListener) {
|
|
3661
|
-
|
|
3680
|
+
const { wrappedGlobalListeners } = this;
|
|
3681
|
+
const wrapped = wrappedGlobalListeners.get(userListener);
|
|
3682
|
+
if (wrapped) {
|
|
3683
|
+
wrappedGlobalListeners.delete(userListener);
|
|
3684
|
+
return wrapped;
|
|
3685
|
+
}
|
|
3686
|
+
return userListener;
|
|
3662
3687
|
}
|
|
3663
3688
|
};
|
|
3664
3689
|
|
|
@@ -3958,11 +3983,11 @@ var AgColumn = class extends BeanStub {
|
|
|
3958
3983
|
this.columnEventService.setFrameworkOverrides(this.frameworkOverrides);
|
|
3959
3984
|
this.frameworkEventListenerService = new FrameworkEventListenerService(this.frameworkOverrides);
|
|
3960
3985
|
}
|
|
3961
|
-
const listener = this.frameworkEventListenerService?.wrap(userListener) ?? userListener;
|
|
3986
|
+
const listener = this.frameworkEventListenerService?.wrap(eventType, userListener) ?? userListener;
|
|
3962
3987
|
this.columnEventService.addEventListener(eventType, listener);
|
|
3963
3988
|
}
|
|
3964
3989
|
removeEventListener(eventType, userListener) {
|
|
3965
|
-
const listener = this.frameworkEventListenerService?.unwrap(userListener) ?? userListener;
|
|
3990
|
+
const listener = this.frameworkEventListenerService?.unwrap(eventType, userListener) ?? userListener;
|
|
3966
3991
|
this.columnEventService.removeEventListener(eventType, listener);
|
|
3967
3992
|
}
|
|
3968
3993
|
createColumnFunctionCallbackParams(rowNode) {
|
|
@@ -9140,140 +9165,7 @@ function _getAriaCheckboxStateName(translate, state) {
|
|
|
9140
9165
|
return state === void 0 ? translate("ariaIndeterminate", "indeterminate") : state === true ? translate("ariaChecked", "checked") : translate("ariaUnchecked", "unchecked");
|
|
9141
9166
|
}
|
|
9142
9167
|
|
|
9143
|
-
// community-modules/core/src/utils/browser.ts
|
|
9144
|
-
var isSafari;
|
|
9145
|
-
var safariVersion;
|
|
9146
|
-
var isChrome;
|
|
9147
|
-
var isFirefox;
|
|
9148
|
-
var isMacOs;
|
|
9149
|
-
var isIOS;
|
|
9150
|
-
var invisibleScrollbar;
|
|
9151
|
-
var browserScrollbarWidth;
|
|
9152
|
-
var maxDivHeight;
|
|
9153
|
-
function _isBrowserSafari() {
|
|
9154
|
-
if (isSafari === void 0) {
|
|
9155
|
-
isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
9156
|
-
}
|
|
9157
|
-
return isSafari;
|
|
9158
|
-
}
|
|
9159
|
-
function _getSafariVersion() {
|
|
9160
|
-
if (safariVersion === void 0) {
|
|
9161
|
-
if (_isBrowserSafari()) {
|
|
9162
|
-
const versionMatch = navigator.userAgent.match(/version\/(\d+)/i);
|
|
9163
|
-
if (versionMatch) {
|
|
9164
|
-
safariVersion = versionMatch[1] != null ? parseFloat(versionMatch[1]) : 0;
|
|
9165
|
-
}
|
|
9166
|
-
} else {
|
|
9167
|
-
safariVersion = 0;
|
|
9168
|
-
}
|
|
9169
|
-
}
|
|
9170
|
-
return safariVersion;
|
|
9171
|
-
}
|
|
9172
|
-
function _isBrowserChrome() {
|
|
9173
|
-
if (isChrome === void 0) {
|
|
9174
|
-
const win = window;
|
|
9175
|
-
isChrome = !!win.chrome && (!!win.chrome.webstore || !!win.chrome.runtime) || /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
|
|
9176
|
-
}
|
|
9177
|
-
return isChrome;
|
|
9178
|
-
}
|
|
9179
|
-
function _isBrowserFirefox() {
|
|
9180
|
-
if (isFirefox === void 0) {
|
|
9181
|
-
isFirefox = /(firefox)/i.test(navigator.userAgent);
|
|
9182
|
-
}
|
|
9183
|
-
return isFirefox;
|
|
9184
|
-
}
|
|
9185
|
-
function _isMacOsUserAgent() {
|
|
9186
|
-
if (isMacOs === void 0) {
|
|
9187
|
-
isMacOs = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform);
|
|
9188
|
-
}
|
|
9189
|
-
return isMacOs;
|
|
9190
|
-
}
|
|
9191
|
-
function _isIOSUserAgent() {
|
|
9192
|
-
if (isIOS === void 0) {
|
|
9193
|
-
isIOS = /iPad|iPhone|iPod/.test(navigator.platform) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
|
|
9194
|
-
}
|
|
9195
|
-
return isIOS;
|
|
9196
|
-
}
|
|
9197
|
-
function _browserSupportsPreventScroll() {
|
|
9198
|
-
return !_isBrowserSafari() || _getSafariVersion() >= 15;
|
|
9199
|
-
}
|
|
9200
|
-
function _getTabIndex(el) {
|
|
9201
|
-
if (!el) {
|
|
9202
|
-
return null;
|
|
9203
|
-
}
|
|
9204
|
-
const numberTabIndex = el.tabIndex;
|
|
9205
|
-
const tabIndex = el.getAttribute("tabIndex");
|
|
9206
|
-
if (numberTabIndex === -1 && (tabIndex === null || tabIndex === "" && !_isBrowserFirefox())) {
|
|
9207
|
-
return null;
|
|
9208
|
-
}
|
|
9209
|
-
return numberTabIndex.toString();
|
|
9210
|
-
}
|
|
9211
|
-
function _getMaxDivHeight() {
|
|
9212
|
-
if (maxDivHeight !== void 0) {
|
|
9213
|
-
return maxDivHeight;
|
|
9214
|
-
}
|
|
9215
|
-
if (!document.body) {
|
|
9216
|
-
return -1;
|
|
9217
|
-
}
|
|
9218
|
-
let res = 1e6;
|
|
9219
|
-
const testUpTo = _isBrowserFirefox() ? 6e6 : 1e9;
|
|
9220
|
-
const div = document.createElement("div");
|
|
9221
|
-
document.body.appendChild(div);
|
|
9222
|
-
while (true) {
|
|
9223
|
-
const test = res * 2;
|
|
9224
|
-
div.style.height = test + "px";
|
|
9225
|
-
if (test > testUpTo || div.clientHeight !== test) {
|
|
9226
|
-
break;
|
|
9227
|
-
} else {
|
|
9228
|
-
res = test;
|
|
9229
|
-
}
|
|
9230
|
-
}
|
|
9231
|
-
document.body.removeChild(div);
|
|
9232
|
-
maxDivHeight = res;
|
|
9233
|
-
return res;
|
|
9234
|
-
}
|
|
9235
|
-
function _getBodyWidth() {
|
|
9236
|
-
return document.body?.clientWidth ?? (window.innerHeight || document.documentElement?.clientWidth || -1);
|
|
9237
|
-
}
|
|
9238
|
-
function _getBodyHeight() {
|
|
9239
|
-
return document.body?.clientHeight ?? (window.innerHeight || document.documentElement?.clientHeight || -1);
|
|
9240
|
-
}
|
|
9241
|
-
function _getScrollbarWidth() {
|
|
9242
|
-
if (browserScrollbarWidth == null) {
|
|
9243
|
-
initScrollbarWidthAndVisibility();
|
|
9244
|
-
}
|
|
9245
|
-
return browserScrollbarWidth;
|
|
9246
|
-
}
|
|
9247
|
-
function initScrollbarWidthAndVisibility() {
|
|
9248
|
-
const body = document.body;
|
|
9249
|
-
const div = document.createElement("div");
|
|
9250
|
-
div.style.width = div.style.height = "100px";
|
|
9251
|
-
div.style.opacity = "0";
|
|
9252
|
-
div.style.overflow = "scroll";
|
|
9253
|
-
div.style.msOverflowStyle = "scrollbar";
|
|
9254
|
-
div.style.position = "absolute";
|
|
9255
|
-
body.appendChild(div);
|
|
9256
|
-
let width = div.offsetWidth - div.clientWidth;
|
|
9257
|
-
if (width === 0 && div.clientWidth === 0) {
|
|
9258
|
-
width = null;
|
|
9259
|
-
}
|
|
9260
|
-
if (div.parentNode) {
|
|
9261
|
-
div.parentNode.removeChild(div);
|
|
9262
|
-
}
|
|
9263
|
-
if (width != null) {
|
|
9264
|
-
browserScrollbarWidth = width;
|
|
9265
|
-
invisibleScrollbar = width === 0;
|
|
9266
|
-
}
|
|
9267
|
-
}
|
|
9268
|
-
function _isInvisibleScrollbar() {
|
|
9269
|
-
if (invisibleScrollbar == null) {
|
|
9270
|
-
initScrollbarWidthAndVisibility();
|
|
9271
|
-
}
|
|
9272
|
-
return invisibleScrollbar;
|
|
9273
|
-
}
|
|
9274
|
-
|
|
9275
9168
|
// community-modules/core/src/utils/dom.ts
|
|
9276
|
-
var rtlNegativeScroll;
|
|
9277
9169
|
function _radioCssClass(element, elementClass, otherElementClass) {
|
|
9278
9170
|
const parent = element.parentElement;
|
|
9279
9171
|
let sibling = parent && parent.firstChild;
|
|
@@ -9403,46 +9295,16 @@ function _getElementRectWithOffset(el) {
|
|
|
9403
9295
|
bottom: offsetElementRect.bottom + (borderBottomWidth || 0)
|
|
9404
9296
|
};
|
|
9405
9297
|
}
|
|
9406
|
-
function _isRtlNegativeScroll() {
|
|
9407
|
-
if (typeof rtlNegativeScroll === "boolean") {
|
|
9408
|
-
return rtlNegativeScroll;
|
|
9409
|
-
}
|
|
9410
|
-
const template = document.createElement("div");
|
|
9411
|
-
template.style.direction = "rtl";
|
|
9412
|
-
template.style.width = "10px";
|
|
9413
|
-
template.style.height = "5px";
|
|
9414
|
-
template.style.position = "fixed";
|
|
9415
|
-
template.style.top = "0px";
|
|
9416
|
-
template.style.overflow = "hidden";
|
|
9417
|
-
template.dir = "rtl";
|
|
9418
|
-
template.innerHTML = /* html */
|
|
9419
|
-
`<div style="width: 20px">
|
|
9420
|
-
<span style="display: inline-block; width: 1px"></span>
|
|
9421
|
-
<span style="display: inline-block; width: 1px"></span>
|
|
9422
|
-
</div>`;
|
|
9423
|
-
document.body.appendChild(template);
|
|
9424
|
-
template.scrollLeft = 1;
|
|
9425
|
-
rtlNegativeScroll = Math.floor(template.scrollLeft) === 0;
|
|
9426
|
-
document.body.removeChild(template);
|
|
9427
|
-
return rtlNegativeScroll;
|
|
9428
|
-
}
|
|
9429
9298
|
function _getScrollLeft(element, rtl) {
|
|
9430
9299
|
let scrollLeft = element.scrollLeft;
|
|
9431
9300
|
if (rtl) {
|
|
9432
9301
|
scrollLeft = Math.abs(scrollLeft);
|
|
9433
|
-
if (_isBrowserChrome() && !_isRtlNegativeScroll()) {
|
|
9434
|
-
scrollLeft = element.scrollWidth - element.getBoundingClientRect().width - scrollLeft;
|
|
9435
|
-
}
|
|
9436
9302
|
}
|
|
9437
9303
|
return scrollLeft;
|
|
9438
9304
|
}
|
|
9439
9305
|
function _setScrollLeft(element, value, rtl) {
|
|
9440
9306
|
if (rtl) {
|
|
9441
|
-
|
|
9442
|
-
value *= -1;
|
|
9443
|
-
} else if (_isBrowserSafari() || _isBrowserChrome()) {
|
|
9444
|
-
value = element.scrollWidth - element.getBoundingClientRect().width - value;
|
|
9445
|
-
}
|
|
9307
|
+
value *= -1;
|
|
9446
9308
|
}
|
|
9447
9309
|
element.scrollLeft = value;
|
|
9448
9310
|
}
|
|
@@ -9613,6 +9475,138 @@ var NumberSequence = class {
|
|
|
9613
9475
|
}
|
|
9614
9476
|
};
|
|
9615
9477
|
|
|
9478
|
+
// community-modules/core/src/utils/browser.ts
|
|
9479
|
+
var isSafari;
|
|
9480
|
+
var safariVersion;
|
|
9481
|
+
var isChrome;
|
|
9482
|
+
var isFirefox;
|
|
9483
|
+
var isMacOs;
|
|
9484
|
+
var isIOS;
|
|
9485
|
+
var invisibleScrollbar;
|
|
9486
|
+
var browserScrollbarWidth;
|
|
9487
|
+
var maxDivHeight;
|
|
9488
|
+
function _isBrowserSafari() {
|
|
9489
|
+
if (isSafari === void 0) {
|
|
9490
|
+
isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
9491
|
+
}
|
|
9492
|
+
return isSafari;
|
|
9493
|
+
}
|
|
9494
|
+
function _getSafariVersion() {
|
|
9495
|
+
if (safariVersion === void 0) {
|
|
9496
|
+
if (_isBrowserSafari()) {
|
|
9497
|
+
const versionMatch = navigator.userAgent.match(/version\/(\d+)/i);
|
|
9498
|
+
if (versionMatch) {
|
|
9499
|
+
safariVersion = versionMatch[1] != null ? parseFloat(versionMatch[1]) : 0;
|
|
9500
|
+
}
|
|
9501
|
+
} else {
|
|
9502
|
+
safariVersion = 0;
|
|
9503
|
+
}
|
|
9504
|
+
}
|
|
9505
|
+
return safariVersion;
|
|
9506
|
+
}
|
|
9507
|
+
function _isBrowserChrome() {
|
|
9508
|
+
if (isChrome === void 0) {
|
|
9509
|
+
const win = window;
|
|
9510
|
+
isChrome = !!win.chrome && (!!win.chrome.webstore || !!win.chrome.runtime) || /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
|
|
9511
|
+
}
|
|
9512
|
+
return isChrome;
|
|
9513
|
+
}
|
|
9514
|
+
function _isBrowserFirefox() {
|
|
9515
|
+
if (isFirefox === void 0) {
|
|
9516
|
+
isFirefox = /(firefox)/i.test(navigator.userAgent);
|
|
9517
|
+
}
|
|
9518
|
+
return isFirefox;
|
|
9519
|
+
}
|
|
9520
|
+
function _isMacOsUserAgent() {
|
|
9521
|
+
if (isMacOs === void 0) {
|
|
9522
|
+
isMacOs = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform);
|
|
9523
|
+
}
|
|
9524
|
+
return isMacOs;
|
|
9525
|
+
}
|
|
9526
|
+
function _isIOSUserAgent() {
|
|
9527
|
+
if (isIOS === void 0) {
|
|
9528
|
+
isIOS = /iPad|iPhone|iPod/.test(navigator.platform) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
|
|
9529
|
+
}
|
|
9530
|
+
return isIOS;
|
|
9531
|
+
}
|
|
9532
|
+
function _browserSupportsPreventScroll() {
|
|
9533
|
+
return !_isBrowserSafari() || _getSafariVersion() >= 15;
|
|
9534
|
+
}
|
|
9535
|
+
function _getTabIndex(el) {
|
|
9536
|
+
if (!el) {
|
|
9537
|
+
return null;
|
|
9538
|
+
}
|
|
9539
|
+
const numberTabIndex = el.tabIndex;
|
|
9540
|
+
const tabIndex = el.getAttribute("tabIndex");
|
|
9541
|
+
if (numberTabIndex === -1 && (tabIndex === null || tabIndex === "" && !_isBrowserFirefox())) {
|
|
9542
|
+
return null;
|
|
9543
|
+
}
|
|
9544
|
+
return numberTabIndex.toString();
|
|
9545
|
+
}
|
|
9546
|
+
function _getMaxDivHeight() {
|
|
9547
|
+
if (maxDivHeight !== void 0) {
|
|
9548
|
+
return maxDivHeight;
|
|
9549
|
+
}
|
|
9550
|
+
if (!document.body) {
|
|
9551
|
+
return -1;
|
|
9552
|
+
}
|
|
9553
|
+
let res = 1e6;
|
|
9554
|
+
const testUpTo = _isBrowserFirefox() ? 6e6 : 1e9;
|
|
9555
|
+
const div = document.createElement("div");
|
|
9556
|
+
document.body.appendChild(div);
|
|
9557
|
+
while (true) {
|
|
9558
|
+
const test = res * 2;
|
|
9559
|
+
div.style.height = test + "px";
|
|
9560
|
+
if (test > testUpTo || div.clientHeight !== test) {
|
|
9561
|
+
break;
|
|
9562
|
+
} else {
|
|
9563
|
+
res = test;
|
|
9564
|
+
}
|
|
9565
|
+
}
|
|
9566
|
+
document.body.removeChild(div);
|
|
9567
|
+
maxDivHeight = res;
|
|
9568
|
+
return res;
|
|
9569
|
+
}
|
|
9570
|
+
function _getBodyWidth() {
|
|
9571
|
+
return document.body?.clientWidth ?? (window.innerHeight || document.documentElement?.clientWidth || -1);
|
|
9572
|
+
}
|
|
9573
|
+
function _getBodyHeight() {
|
|
9574
|
+
return document.body?.clientHeight ?? (window.innerHeight || document.documentElement?.clientHeight || -1);
|
|
9575
|
+
}
|
|
9576
|
+
function _getScrollbarWidth() {
|
|
9577
|
+
if (browserScrollbarWidth == null) {
|
|
9578
|
+
initScrollbarWidthAndVisibility();
|
|
9579
|
+
}
|
|
9580
|
+
return browserScrollbarWidth;
|
|
9581
|
+
}
|
|
9582
|
+
function initScrollbarWidthAndVisibility() {
|
|
9583
|
+
const body = document.body;
|
|
9584
|
+
const div = document.createElement("div");
|
|
9585
|
+
div.style.width = div.style.height = "100px";
|
|
9586
|
+
div.style.opacity = "0";
|
|
9587
|
+
div.style.overflow = "scroll";
|
|
9588
|
+
div.style.msOverflowStyle = "scrollbar";
|
|
9589
|
+
div.style.position = "absolute";
|
|
9590
|
+
body.appendChild(div);
|
|
9591
|
+
let width = div.offsetWidth - div.clientWidth;
|
|
9592
|
+
if (width === 0 && div.clientWidth === 0) {
|
|
9593
|
+
width = null;
|
|
9594
|
+
}
|
|
9595
|
+
if (div.parentNode) {
|
|
9596
|
+
div.parentNode.removeChild(div);
|
|
9597
|
+
}
|
|
9598
|
+
if (width != null) {
|
|
9599
|
+
browserScrollbarWidth = width;
|
|
9600
|
+
invisibleScrollbar = width === 0;
|
|
9601
|
+
}
|
|
9602
|
+
}
|
|
9603
|
+
function _isInvisibleScrollbar() {
|
|
9604
|
+
if (invisibleScrollbar == null) {
|
|
9605
|
+
initScrollbarWidthAndVisibility();
|
|
9606
|
+
}
|
|
9607
|
+
return invisibleScrollbar;
|
|
9608
|
+
}
|
|
9609
|
+
|
|
9616
9610
|
// community-modules/core/src/widgets/tooltipStateManager.ts
|
|
9617
9611
|
var SHOW_QUICK_TOOLTIP_DIFF = 1e3;
|
|
9618
9612
|
var FADE_OUT_TOOLTIP_TIMEOUT = 1e3;
|
|
@@ -14783,7 +14777,7 @@ var _RowNode = class _RowNode {
|
|
|
14783
14777
|
this.localEventService.setFrameworkOverrides(this.beans.frameworkOverrides);
|
|
14784
14778
|
this.frameworkEventListenerService = new FrameworkEventListenerService(this.beans.frameworkOverrides);
|
|
14785
14779
|
}
|
|
14786
|
-
const listener = this.frameworkEventListenerService?.wrap(userListener) ?? userListener;
|
|
14780
|
+
const listener = this.frameworkEventListenerService?.wrap(eventType, userListener) ?? userListener;
|
|
14787
14781
|
this.localEventService.addEventListener(eventType, listener);
|
|
14788
14782
|
}
|
|
14789
14783
|
/** Remove event listener. */
|
|
@@ -14791,7 +14785,7 @@ var _RowNode = class _RowNode {
|
|
|
14791
14785
|
if (!this.localEventService) {
|
|
14792
14786
|
return;
|
|
14793
14787
|
}
|
|
14794
|
-
const listener = this.frameworkEventListenerService?.unwrap(userListener) ?? userListener;
|
|
14788
|
+
const listener = this.frameworkEventListenerService?.unwrap(eventType, userListener) ?? userListener;
|
|
14795
14789
|
this.localEventService.removeEventListener(eventType, listener);
|
|
14796
14790
|
if (this.localEventService.noRegisteredListenersExist()) {
|
|
14797
14791
|
this.localEventService = null;
|
|
@@ -19853,7 +19847,7 @@ function _defineModule(definition) {
|
|
|
19853
19847
|
}
|
|
19854
19848
|
|
|
19855
19849
|
// community-modules/core/src/version.ts
|
|
19856
|
-
var VERSION = "32.3.
|
|
19850
|
+
var VERSION = "32.3.7";
|
|
19857
19851
|
|
|
19858
19852
|
// community-modules/core/src/filter/columnFilterApi.ts
|
|
19859
19853
|
function isColumnFilterPresent(beans) {
|
|
@@ -26050,7 +26044,7 @@ var GridBodyScrollFeature = class extends BeanStub {
|
|
|
26050
26044
|
shouldBlockHorizontalScroll(scrollTo) {
|
|
26051
26045
|
const clientWidth = this.centerRowsCtrl.getCenterWidth();
|
|
26052
26046
|
const { scrollWidth } = this.centerRowsCtrl.getViewportElement();
|
|
26053
|
-
if (this.enableRtl
|
|
26047
|
+
if (this.enableRtl) {
|
|
26054
26048
|
if (scrollTo > 0) {
|
|
26055
26049
|
return true;
|
|
26056
26050
|
}
|
|
@@ -26089,7 +26083,7 @@ var GridBodyScrollFeature = class extends BeanStub {
|
|
|
26089
26083
|
const minScrollLeft = 0;
|
|
26090
26084
|
const maxScrollLeft = this.centerRowsCtrl.getViewportElement().scrollWidth - this.centerRowsCtrl.getCenterWidth();
|
|
26091
26085
|
if (!fromAlignedGridsService && this.shouldBlockScrollUpdate(1 /* Horizontal */, hScrollPosition)) {
|
|
26092
|
-
if (this.enableRtl
|
|
26086
|
+
if (this.enableRtl) {
|
|
26093
26087
|
hScrollPosition = hScrollPosition > 0 ? 0 : maxScrollLeft;
|
|
26094
26088
|
} else {
|
|
26095
26089
|
hScrollPosition = Math.min(Math.max(hScrollPosition, minScrollLeft), maxScrollLeft);
|
|
@@ -44521,7 +44515,7 @@ var ApiEventService = class extends BeanStub {
|
|
|
44521
44515
|
this.frameworkEventWrappingService = new FrameworkEventListenerService(this.getFrameworkOverrides());
|
|
44522
44516
|
}
|
|
44523
44517
|
addEventListener(eventType, userListener) {
|
|
44524
|
-
const listener = this.frameworkEventWrappingService.wrap(userListener);
|
|
44518
|
+
const listener = this.frameworkEventWrappingService.wrap(eventType, userListener);
|
|
44525
44519
|
const async = _useAsyncEvents(this.gos) && !ALWAYS_SYNC_GLOBAL_EVENTS.has(eventType);
|
|
44526
44520
|
const listeners = async ? this.asyncEventListeners : this.syncEventListeners;
|
|
44527
44521
|
if (!listeners.has(eventType)) {
|
|
@@ -44531,7 +44525,7 @@ var ApiEventService = class extends BeanStub {
|
|
|
44531
44525
|
this.eventService.addEventListener(eventType, listener, async);
|
|
44532
44526
|
}
|
|
44533
44527
|
removeEventListener(eventType, userListener) {
|
|
44534
|
-
const listener = this.frameworkEventWrappingService.unwrap(userListener);
|
|
44528
|
+
const listener = this.frameworkEventWrappingService.unwrap(eventType, userListener);
|
|
44535
44529
|
const asyncListeners = this.asyncEventListeners.get(eventType);
|
|
44536
44530
|
const hasAsync = !!asyncListeners?.delete(listener);
|
|
44537
44531
|
if (!hasAsync) {
|
|
@@ -48015,7 +48009,7 @@ var GridSerializer = class extends import_core6.BeanStub {
|
|
|
48015
48009
|
};
|
|
48016
48010
|
|
|
48017
48011
|
// community-modules/csv-export/src/version.ts
|
|
48018
|
-
var VERSION = "32.3.
|
|
48012
|
+
var VERSION = "32.3.7";
|
|
48019
48013
|
|
|
48020
48014
|
// community-modules/csv-export/src/csvExportModule.ts
|
|
48021
48015
|
var CsvExportCoreModule = (0, import_core7._defineModule)({
|
|
@@ -49272,7 +49266,7 @@ function getInfiniteRowCount(beans) {
|
|
|
49272
49266
|
}
|
|
49273
49267
|
|
|
49274
49268
|
// community-modules/infinite-row-model/src/version.ts
|
|
49275
|
-
var VERSION = "32.3.
|
|
49269
|
+
var VERSION = "32.3.7";
|
|
49276
49270
|
|
|
49277
49271
|
// community-modules/infinite-row-model/src/infiniteRowModelModule.ts
|
|
49278
49272
|
var InfiniteRowModelCoreModule = (0, import_core4._defineModule)({
|