ag-grid-enterprise 33.2.2 → 33.2.3

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.
@@ -32479,7 +32479,7 @@ class LicenseManager {
32479
32479
  }
32480
32480
  }
32481
32481
  exports.LicenseManager = LicenseManager;
32482
- LicenseManager.RELEASE_INFORMATION = 'MTc0NDEwNDI3Nzc5Nw==';
32482
+ LicenseManager.RELEASE_INFORMATION = 'MTc0NDI4NzE1OTY5NQ==';
32483
32483
 
32484
32484
 
32485
32485
  /***/ }),
@@ -54540,7 +54540,7 @@ exports.clearTreeRowFlags = clearTreeRowFlags;
54540
54540
  Object.defineProperty(exports, "__esModule", ({ value: true }));
54541
54541
  exports.VERSION = void 0;
54542
54542
  // DO NOT UPDATE MANUALLY: Generated from script during build time
54543
- exports.VERSION = '33.2.2';
54543
+ exports.VERSION = '33.2.3';
54544
54544
 
54545
54545
 
54546
54546
  /***/ }),
@@ -59708,7 +59708,6 @@ function _getAriaCheckboxStateName(translate, state) {
59708
59708
 
59709
59709
  // packages/ag-grid-community/src/utils/browser.ts
59710
59710
  var isSafari;
59711
- var isChrome;
59712
59711
  var isFirefox;
59713
59712
  var isMacOs;
59714
59713
  var isIOS;
@@ -59721,13 +59720,6 @@ function _isBrowserSafari() {
59721
59720
  }
59722
59721
  return isSafari;
59723
59722
  }
59724
- function _isBrowserChrome() {
59725
- if (isChrome === void 0) {
59726
- const win = window;
59727
- isChrome = !!win.chrome && (!!win.chrome.webstore || !!win.chrome.runtime) || /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
59728
- }
59729
- return isChrome;
59730
- }
59731
59723
  function _isBrowserFirefox() {
59732
59724
  if (isFirefox === void 0) {
59733
59725
  isFirefox = /(firefox)/i.test(navigator.userAgent);
@@ -59816,7 +59808,6 @@ function _isInvisibleScrollbar() {
59816
59808
  }
59817
59809
 
59818
59810
  // packages/ag-grid-community/src/utils/dom.ts
59819
- var rtlNegativeScroll;
59820
59811
  function _radioCssClass(element, elementClass, otherElementClass) {
59821
59812
  const parent = element.parentElement;
59822
59813
  let sibling = parent && parent.firstChild;
@@ -59949,46 +59940,16 @@ function _getElementRectWithOffset(el) {
59949
59940
  bottom: offsetElementRect.bottom + (borderBottomWidth || 0)
59950
59941
  };
59951
59942
  }
59952
- function _isRtlNegativeScroll() {
59953
- if (typeof rtlNegativeScroll === "boolean") {
59954
- return rtlNegativeScroll;
59955
- }
59956
- const template = document.createElement("div");
59957
- template.style.direction = "rtl";
59958
- template.style.width = "10px";
59959
- template.style.height = "5px";
59960
- template.style.position = "fixed";
59961
- template.style.top = "0px";
59962
- template.style.overflow = "hidden";
59963
- template.dir = "rtl";
59964
- template.innerHTML = /* html */
59965
- `<div style="width: 20px">
59966
- <span style="display: inline-block; width: 1px"></span>
59967
- <span style="display: inline-block; width: 1px"></span>
59968
- </div>`;
59969
- document.body.appendChild(template);
59970
- template.scrollLeft = 1;
59971
- rtlNegativeScroll = Math.floor(template.scrollLeft) === 0;
59972
- document.body.removeChild(template);
59973
- return rtlNegativeScroll;
59974
- }
59975
59943
  function _getScrollLeft(element, rtl) {
59976
59944
  let scrollLeft = element.scrollLeft;
59977
59945
  if (rtl) {
59978
59946
  scrollLeft = Math.abs(scrollLeft);
59979
- if (_isBrowserChrome() && !_isRtlNegativeScroll()) {
59980
- scrollLeft = element.scrollWidth - element.getBoundingClientRect().width - scrollLeft;
59981
- }
59982
59947
  }
59983
59948
  return scrollLeft;
59984
59949
  }
59985
59950
  function _setScrollLeft(element, value, rtl) {
59986
59951
  if (rtl) {
59987
- if (_isRtlNegativeScroll()) {
59988
- value *= -1;
59989
- } else if (_isBrowserSafari() || _isBrowserChrome()) {
59990
- value = element.scrollWidth - element.getBoundingClientRect().width - value;
59991
- }
59952
+ value *= -1;
59992
59953
  }
59993
59954
  element.scrollLeft = value;
59994
59955
  }
@@ -60349,7 +60310,7 @@ function _waitUntil(condition, callback, timeout = 100, timeoutMessage) {
60349
60310
  }
60350
60311
 
60351
60312
  // packages/ag-grid-community/src/version.ts
60352
- var VERSION = "33.2.2";
60313
+ var VERSION = "33.2.3";
60353
60314
 
60354
60315
  // packages/ag-grid-community/src/validation/logging.ts
60355
60316
  var MAX_URL_LENGTH = 2e3;
@@ -69137,7 +69098,7 @@ var GridBodyScrollFeature = class extends BeanStub {
69137
69098
  shouldBlockHorizontalScroll(scrollTo) {
69138
69099
  const clientWidth = this.centerRowsCtrl.getCenterWidth();
69139
69100
  const { scrollWidth } = this.centerRowsCtrl.eViewport;
69140
- if (this.enableRtl && _isRtlNegativeScroll()) {
69101
+ if (this.enableRtl) {
69141
69102
  if (scrollTo > 0) {
69142
69103
  return true;
69143
69104
  }
@@ -69179,7 +69140,7 @@ var GridBodyScrollFeature = class extends BeanStub {
69179
69140
  const minScrollLeft = 0;
69180
69141
  const maxScrollLeft = this.centerRowsCtrl.eViewport.scrollWidth - this.centerRowsCtrl.getCenterWidth();
69181
69142
  if (!fromAlignedGridsService && this.shouldBlockScrollUpdate(1 /* Horizontal */, hScrollPosition)) {
69182
- if (this.enableRtl && _isRtlNegativeScroll()) {
69143
+ if (this.enableRtl) {
69183
69144
  hScrollPosition = hScrollPosition > 0 ? 0 : maxScrollLeft;
69184
69145
  } else {
69185
69146
  hScrollPosition = Math.min(Math.max(hScrollPosition, minScrollLeft), maxScrollLeft);