ag-grid-enterprise 32.0.0 → 32.0.2

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.
@@ -1816,7 +1816,7 @@ var SortStage = class extends import_core8.BeanStub {
1816
1816
  };
1817
1817
 
1818
1818
  // community-modules/client-side-row-model/src/version.ts
1819
- var VERSION = "32.0.0";
1819
+ var VERSION = "32.0.2";
1820
1820
 
1821
1821
  // community-modules/client-side-row-model/src/clientSideRowModelModule.ts
1822
1822
  var ClientSideRowModelCoreModule = {
@@ -2775,6 +2775,7 @@ function _values(object) {
2775
2775
  }
2776
2776
 
2777
2777
  // community-modules/core/src/utils/object.ts
2778
+ var SKIP_JS_BUILTINS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
2778
2779
  function _iterateObject(object, callback) {
2779
2780
  if (object == null) {
2780
2781
  return;
@@ -2793,6 +2794,9 @@ function _cloneObject(object) {
2793
2794
  const copy = {};
2794
2795
  const keys = Object.keys(object);
2795
2796
  for (let i = 0; i < keys.length; i++) {
2797
+ if (SKIP_JS_BUILTINS.has(keys[i])) {
2798
+ continue;
2799
+ }
2796
2800
  const key = keys[i];
2797
2801
  const value = object[key];
2798
2802
  copy[key] = value;
@@ -2806,7 +2810,7 @@ function _deepCloneDefinition(object, keysToSkip) {
2806
2810
  const obj = object;
2807
2811
  const res = {};
2808
2812
  Object.keys(obj).forEach((key) => {
2809
- if (keysToSkip && keysToSkip.indexOf(key) >= 0) {
2813
+ if (keysToSkip && keysToSkip.indexOf(key) >= 0 || SKIP_JS_BUILTINS.has(key)) {
2810
2814
  return;
2811
2815
  }
2812
2816
  const value = obj[key];
@@ -2840,6 +2844,9 @@ function _mergeDeep(dest, source, copyUndefined = true, makeCopyOfSimpleObjects
2840
2844
  return;
2841
2845
  }
2842
2846
  _iterateObject(source, (key, sourceValue) => {
2847
+ if (SKIP_JS_BUILTINS.has(key)) {
2848
+ return;
2849
+ }
2843
2850
  let destValue = dest[key];
2844
2851
  if (destValue === sourceValue) {
2845
2852
  return;
@@ -3646,10 +3653,10 @@ function _log(message, ...args) {
3646
3653
  console.log("AG Grid: " + message, ...args);
3647
3654
  }
3648
3655
  function _warnOnce(msg, ...args) {
3649
- _doOnce(() => console.warn("AG Grid: " + msg, ...args), msg);
3656
+ _doOnce(() => console.warn("AG Grid: " + msg, ...args), msg + args?.join(""));
3650
3657
  }
3651
3658
  function _errorOnce(msg, ...args) {
3652
- _doOnce(() => console.error("AG Grid: " + msg, ...args), msg);
3659
+ _doOnce(() => console.error("AG Grid: " + msg, ...args), msg + args?.join(""));
3653
3660
  }
3654
3661
  function _isFunction(val) {
3655
3662
  return !!(val && val.constructor && val.call && val.apply);
@@ -6038,21 +6045,25 @@ var ColumnMoveService = class extends BeanStub {
6038
6045
  return proposedColumnOrder;
6039
6046
  }
6040
6047
  doesMovePassLockedPositions(proposedColumnOrder) {
6041
- let lastPlacement = 0;
6042
- let rulePassed = true;
6043
6048
  const lockPositionToPlacement = (position) => {
6044
6049
  if (!position) {
6045
- return 1;
6050
+ return 0 /* NONE */;
6046
6051
  }
6047
- if (position === true) {
6048
- return 0;
6049
- }
6050
- return position === "left" ? 0 : 2;
6052
+ return position === "left" || position === true ? -1 /* LEFT */ : 1 /* RIGHT */;
6051
6053
  };
6054
+ const isRtl = this.gos.get("enableRtl");
6055
+ let lastPlacement = isRtl ? 1 /* RIGHT */ : -1 /* LEFT */;
6056
+ let rulePassed = true;
6052
6057
  proposedColumnOrder.forEach((col) => {
6053
6058
  const placement = lockPositionToPlacement(col.getColDef().lockPosition);
6054
- if (placement < lastPlacement) {
6055
- rulePassed = false;
6059
+ if (isRtl) {
6060
+ if (placement > lastPlacement) {
6061
+ rulePassed = false;
6062
+ }
6063
+ } else {
6064
+ if (placement < lastPlacement) {
6065
+ rulePassed = false;
6066
+ }
6056
6067
  }
6057
6068
  lastPlacement = placement;
6058
6069
  });
@@ -9399,9 +9410,15 @@ var Component = class _Component extends BeanStub {
9399
9410
  );
9400
9411
  }
9401
9412
  }
9413
+ getDataRefAttribute(element) {
9414
+ if (element.getAttribute) {
9415
+ return element.getAttribute("data-ref");
9416
+ }
9417
+ return null;
9418
+ }
9402
9419
  applyElementsToComponent(element, elementRef, paramsMap, newComponent = null) {
9403
9420
  if (elementRef === void 0) {
9404
- elementRef = element.getAttribute("data-ref");
9421
+ elementRef = this.getDataRefAttribute(element);
9405
9422
  }
9406
9423
  if (elementRef) {
9407
9424
  const current = this[elementRef];
@@ -9446,7 +9463,7 @@ var Component = class _Component extends BeanStub {
9446
9463
  }
9447
9464
  createComponentFromElement(element, afterPreCreateCallback, paramsMap) {
9448
9465
  const key = element.nodeName;
9449
- const elementRef = element.getAttribute("data-ref");
9466
+ const elementRef = this.getDataRefAttribute(element);
9450
9467
  const isAgGridComponent = key.indexOf("AG-") === 0;
9451
9468
  const componentSelector = isAgGridComponent ? this.componentSelectors.get(key) : null;
9452
9469
  let newComponent = null;
@@ -12658,9 +12675,11 @@ var RowDragFeature = class extends BeanStub {
12658
12675
  addIndex--;
12659
12676
  }
12660
12677
  this.clientSideRowModel.updateRowData({
12661
- add: rowNodes.map((node) => node.data).filter(
12662
- (data) => !this.clientSideRowModel.getRowNode(getRowIdFunc?.({ data, level: 0 }) ?? data.id)
12663
- ),
12678
+ add: rowNodes.filter(
12679
+ (node) => !this.clientSideRowModel.getRowNode(
12680
+ getRowIdFunc?.({ data: node.data, level: 0, rowPinned: node.rowPinned }) ?? node.data.id
12681
+ )
12682
+ ).map((node) => node.data),
12664
12683
  addIndex
12665
12684
  });
12666
12685
  }
@@ -13135,10 +13154,19 @@ var RowDragComp = class extends Component {
13135
13154
  if (this.dragSource) {
13136
13155
  this.removeDragSource();
13137
13156
  }
13157
+ const eGui = this.getGui();
13158
+ if (this.gos.get("enableCellTextSelection")) {
13159
+ this.removeMouseDownListener();
13160
+ this.mouseDownListener = this.addManagedElementListeners(eGui, {
13161
+ mousedown: (e) => {
13162
+ e?.preventDefault();
13163
+ }
13164
+ })[0];
13165
+ }
13138
13166
  const translate = this.localeService.getLocaleTextFunc();
13139
13167
  this.dragSource = {
13140
13168
  type: 2 /* RowDrag */,
13141
- eElement: this.getGui(),
13169
+ eElement: eGui,
13142
13170
  dragItemName: () => {
13143
13171
  const dragItem = this.getDragItem();
13144
13172
  const dragItemCount = dragItem.rowNodes?.length || 1;
@@ -13156,14 +13184,23 @@ var RowDragComp = class extends Component {
13156
13184
  }
13157
13185
  destroy() {
13158
13186
  this.removeDragSource();
13187
+ this.removeMouseDownListener();
13159
13188
  super.destroy();
13160
13189
  }
13161
13190
  removeDragSource() {
13162
- if (this.dragSource) {
13163
- this.beans.dragAndDropService.removeDragSource(this.dragSource);
13191
+ if (!this.dragSource) {
13192
+ return;
13164
13193
  }
13194
+ this.beans.dragAndDropService.removeDragSource(this.dragSource);
13165
13195
  this.dragSource = null;
13166
13196
  }
13197
+ removeMouseDownListener() {
13198
+ if (!this.mouseDownListener) {
13199
+ return;
13200
+ }
13201
+ this.mouseDownListener();
13202
+ this.mouseDownListener = void 0;
13203
+ }
13167
13204
  };
13168
13205
  var VisibilityStrategy = class extends BeanStub {
13169
13206
  constructor(parent, rowNode, column) {
@@ -13398,7 +13435,8 @@ var _RowNode = class _RowNode {
13398
13435
  this.id = getRowIdFunc({
13399
13436
  data: this.data,
13400
13437
  parentKeys: parentKeys.length > 0 ? parentKeys : void 0,
13401
- level: this.level
13438
+ level: this.level,
13439
+ rowPinned: this.rowPinned
13402
13440
  });
13403
13441
  if (this.id.startsWith(_RowNode.ID_PREFIX_ROW_GROUP)) {
13404
13442
  _errorOnce(
@@ -18867,7 +18905,7 @@ var HeaderFilterCellCtrl = class extends AbstractHeaderCellCtrl {
18867
18905
  };
18868
18906
 
18869
18907
  // community-modules/core/src/version.ts
18870
- var VERSION = "32.0.0";
18908
+ var VERSION = "32.0.2";
18871
18909
 
18872
18910
  // community-modules/core/src/filter/columnFilterApi.ts
18873
18911
  function isColumnFilterPresent(beans) {
@@ -26257,35 +26295,36 @@ var CellMouseListenerFeature = class extends BeanStub {
26257
26295
  return res;
26258
26296
  }
26259
26297
  onCellDoubleClicked(mouseEvent) {
26260
- const colDef = this.column.getColDef();
26261
- const cellDoubleClickedEvent = this.cellCtrl.createEvent(
26262
- mouseEvent,
26263
- "cellDoubleClicked"
26264
- );
26265
- this.beans.eventService.dispatchEvent(cellDoubleClickedEvent);
26298
+ const { column, beans, cellCtrl } = this;
26299
+ const { eventService, frameworkOverrides, gos } = beans;
26300
+ const colDef = column.getColDef();
26301
+ const cellDoubleClickedEvent = cellCtrl.createEvent(mouseEvent, "cellDoubleClicked");
26302
+ eventService.dispatchEvent(cellDoubleClickedEvent);
26266
26303
  if (typeof colDef.onCellDoubleClicked === "function") {
26267
26304
  window.setTimeout(() => {
26268
- this.beans.frameworkOverrides.wrapOutgoing(() => {
26305
+ frameworkOverrides.wrapOutgoing(() => {
26269
26306
  colDef.onCellDoubleClicked(cellDoubleClickedEvent);
26270
26307
  });
26271
26308
  }, 0);
26272
26309
  }
26273
- const editOnDoubleClick = !this.beans.gos.get("singleClickEdit") && !this.beans.gos.get("suppressClickEdit");
26310
+ const editOnDoubleClick = !gos.get("singleClickEdit") && !gos.get("suppressClickEdit");
26274
26311
  if (editOnDoubleClick) {
26275
- this.cellCtrl.startRowOrCellEdit(null, mouseEvent);
26312
+ cellCtrl.startRowOrCellEdit(null, mouseEvent);
26276
26313
  }
26277
26314
  }
26278
26315
  onMouseDown(mouseEvent) {
26279
26316
  const { ctrlKey, metaKey, shiftKey } = mouseEvent;
26280
26317
  const target = mouseEvent.target;
26281
26318
  const { cellCtrl, beans } = this;
26282
- const { eventService, rangeService, focusService } = beans;
26319
+ const { eventService, rangeService, focusService, gos } = beans;
26283
26320
  if (this.isRightClickInExistingRange(mouseEvent)) {
26284
26321
  return;
26285
26322
  }
26286
26323
  const ranges = rangeService && rangeService.getCellRanges().length != 0;
26287
26324
  if (!shiftKey || !ranges) {
26288
- const forceBrowserFocus = _isBrowserSafari() && !cellCtrl.isEditing() && !_isFocusableFormField(target);
26325
+ const isEnableCellTextSelection = gos.get("enableCellTextSelection");
26326
+ const shouldFocus = isEnableCellTextSelection && mouseEvent.defaultPrevented;
26327
+ const forceBrowserFocus = (_isBrowserSafari() || shouldFocus) && !cellCtrl.isEditing() && !_isFocusableFormField(target);
26289
26328
  cellCtrl.focusCell(forceBrowserFocus);
26290
26329
  }
26291
26330
  if (shiftKey && ranges && !focusService.isCellFocused(cellCtrl.getCellPosition())) {
@@ -33945,6 +33984,7 @@ var PinnedRowModel = class extends BeanStub {
33945
33984
  constructor() {
33946
33985
  super(...arguments);
33947
33986
  this.beanName = "pinnedRowModel";
33987
+ this.nextId = 0;
33948
33988
  }
33949
33989
  wireBeans(beans) {
33950
33990
  this.beans = beans;
@@ -34029,11 +34069,12 @@ var PinnedRowModel = class extends BeanStub {
34029
34069
  const getRowId = this.gos.getRowIdCallback();
34030
34070
  const idPrefix = isTop ? RowNode.ID_PREFIX_TOP_PINNED : RowNode.ID_PREFIX_BOTTOM_PINNED;
34031
34071
  let nextRowTop = 0;
34072
+ const pinned = isTop ? "top" : "bottom";
34032
34073
  allData.forEach((dataItem, index) => {
34033
34074
  const rowNode = new RowNode(this.beans);
34034
34075
  rowNode.data = dataItem;
34035
- rowNode.id = getRowId?.({ data: dataItem, level: 0 }) ?? idPrefix + index;
34036
- rowNode.rowPinned = isTop ? "top" : "bottom";
34076
+ rowNode.id = getRowId?.({ data: dataItem, level: 0, rowPinned: pinned }) ?? idPrefix + this.nextId++;
34077
+ rowNode.rowPinned = pinned;
34037
34078
  rowNode.setRowTop(nextRowTop);
34038
34079
  rowNode.setRowHeight(this.gos.getRowHeightForNode(rowNode).height);
34039
34080
  rowNode.setRowIndex(index);
@@ -35793,6 +35834,9 @@ function createApi(context) {
35793
35834
  const apiFunctionService = context.getBean("apiFunctionService");
35794
35835
  return new Proxy(apiFunctionService, {
35795
35836
  get(target, prop) {
35837
+ if (prop === "then") {
35838
+ return;
35839
+ }
35796
35840
  return (...args) => target.callFunction(prop, args);
35797
35841
  }
35798
35842
  });
@@ -42513,7 +42557,7 @@ var _GridOptionsService = class _GridOptionsService extends BeanStub {
42513
42557
  return (params) => {
42514
42558
  let id = getRowId(params);
42515
42559
  if (typeof id !== "string") {
42516
- _warnOnce(`The getRowId callback must return a string. The ID ${id} is being cast to a string.`);
42560
+ _warnOnce(`The getRowId callback must return a string. The ID `, id, ` is being cast to a string.`);
42517
42561
  id = String(id);
42518
42562
  }
42519
42563
  return id;
@@ -46105,7 +46149,7 @@ var GridSerializer = class extends import_core5.BeanStub {
46105
46149
  };
46106
46150
 
46107
46151
  // community-modules/csv-export/src/version.ts
46108
- var VERSION = "32.0.0";
46152
+ var VERSION = "32.0.2";
46109
46153
 
46110
46154
  // community-modules/csv-export/src/csvExportModule.ts
46111
46155
  var CsvExportCoreModule = {
@@ -47369,7 +47413,7 @@ function isLastRowIndexKnown(beans) {
47369
47413
  }
47370
47414
 
47371
47415
  // community-modules/infinite-row-model/src/version.ts
47372
- var VERSION = "32.0.0";
47416
+ var VERSION = "32.0.2";
47373
47417
 
47374
47418
  // community-modules/infinite-row-model/src/infiniteRowModelModule.ts
47375
47419
  var InfiniteRowModelCoreModule = {
@@ -51539,7 +51583,7 @@ var AdvancedFilterService = class extends import_core24.BeanStub {
51539
51583
  };
51540
51584
 
51541
51585
  // enterprise-modules/advanced-filter/src/version.ts
51542
- var VERSION = "32.0.0";
51586
+ var VERSION = "32.0.2";
51543
51587
 
51544
51588
  // enterprise-modules/advanced-filter/src/advancedFilterModule.ts
51545
51589
  var AdvancedFilterCoreModule = {
@@ -53483,7 +53527,7 @@ var import_core101 = __webpack_require__(3423);
53483
53527
  var import_ag_charts_community33 = __webpack_require__(4933);
53484
53528
 
53485
53529
  // enterprise-modules/charts/src/version.ts
53486
- var VERSION = "32.0.0";
53530
+ var VERSION = "32.0.2";
53487
53531
 
53488
53532
  // enterprise-modules/charts/src/charts/chartComp/gridChartComp.ts
53489
53533
  var import_core99 = __webpack_require__(3423);
@@ -65050,7 +65094,7 @@ ${apiError("writeText")}`);
65050
65094
  };
65051
65095
 
65052
65096
  // enterprise-modules/clipboard/src/version.ts
65053
- var VERSION = "32.0.0";
65097
+ var VERSION = "32.0.2";
65054
65098
 
65055
65099
  // enterprise-modules/clipboard/src/clipboardModule.ts
65056
65100
  var ClipboardCoreModule = {
@@ -67030,7 +67074,7 @@ var ModelItemUtils = class extends import_core14.BeanStub {
67030
67074
  };
67031
67075
 
67032
67076
  // enterprise-modules/column-tool-panel/src/version.ts
67033
- var VERSION = "32.0.0";
67077
+ var VERSION = "32.0.2";
67034
67078
 
67035
67079
  // enterprise-modules/column-tool-panel/src/columnsToolPanelModule.ts
67036
67080
  var ColumnsToolPanelModule = {
@@ -67660,7 +67704,7 @@ var GridLicenseManager = class extends import_core3.BeanStub {
67660
67704
  };
67661
67705
 
67662
67706
  // enterprise-modules/core/src/version.ts
67663
- var VERSION = "32.0.0";
67707
+ var VERSION = "32.0.2";
67664
67708
 
67665
67709
  // enterprise-modules/core/src/widgets/agMenuItemRenderer.ts
67666
67710
  var import_core4 = __webpack_require__(3423);
@@ -75958,7 +76002,7 @@ function exportMultipleSheetsAsExcel2(beans, params) {
75958
76002
  }
75959
76003
 
75960
76004
  // enterprise-modules/excel-export/src/version.ts
75961
- var VERSION = "32.0.0";
76005
+ var VERSION = "32.0.2";
75962
76006
 
75963
76007
  // enterprise-modules/excel-export/src/excelExportModule.ts
75964
76008
  var _ExcelExportCoreModule = {
@@ -76975,7 +77019,7 @@ var FiltersToolPanel = class extends import_core6.Component {
76975
77019
  };
76976
77020
 
76977
77021
  // enterprise-modules/filter-tool-panel/src/version.ts
76978
- var VERSION = "32.0.0";
77022
+ var VERSION = "32.0.2";
76979
77023
 
76980
77024
  // enterprise-modules/filter-tool-panel/src/filtersToolPanelModule.ts
76981
77025
  var FiltersToolPanelModule = {
@@ -77308,7 +77352,7 @@ function forEachDetailGridInfo(beans, callback) {
77308
77352
  }
77309
77353
 
77310
77354
  // enterprise-modules/master-detail/src/version.ts
77311
- var VERSION = "32.0.0";
77355
+ var VERSION = "32.0.2";
77312
77356
 
77313
77357
  // enterprise-modules/master-detail/src/masterDetailModule.ts
77314
77358
  var MasterDetailCoreModule = {
@@ -79191,7 +79235,7 @@ var MenuUtils = class extends import_core11.BeanStub {
79191
79235
  };
79192
79236
 
79193
79237
  // enterprise-modules/menu/src/version.ts
79194
- var VERSION = "32.0.0";
79238
+ var VERSION = "32.0.2";
79195
79239
 
79196
79240
  // enterprise-modules/menu/src/menuModule.ts
79197
79241
  var MenuCoreModule = {
@@ -79815,7 +79859,7 @@ var MultiFloatingFilterComp = class extends import_core3.Component {
79815
79859
  };
79816
79860
 
79817
79861
  // enterprise-modules/multi-filter/src/version.ts
79818
- var VERSION = "32.0.0";
79862
+ var VERSION = "32.0.2";
79819
79863
 
79820
79864
  // enterprise-modules/multi-filter/src/multiFilterModule.ts
79821
79865
  var MultiFilterCoreModule = {
@@ -81336,7 +81380,7 @@ var SelectionHandleFactory = class extends import_core5.BeanStub {
81336
81380
  };
81337
81381
 
81338
81382
  // enterprise-modules/range-selection/src/version.ts
81339
- var VERSION = "32.0.0";
81383
+ var VERSION = "32.0.2";
81340
81384
 
81341
81385
  // enterprise-modules/range-selection/src/rangeSelectionModule.ts
81342
81386
  var RangeSelectionCoreModule = {
@@ -81550,7 +81594,7 @@ var RichSelectCellEditor = class extends import_core.PopupComponent {
81550
81594
  };
81551
81595
 
81552
81596
  // enterprise-modules/rich-select/src/version.ts
81553
- var VERSION = "32.0.0";
81597
+ var VERSION = "32.0.2";
81554
81598
 
81555
81599
  // enterprise-modules/rich-select/src/richSelectModule.ts
81556
81600
  var RichSelectModule = {
@@ -83569,6 +83613,14 @@ var GroupStage = class extends import_core15.BeanStub {
83569
83613
  const level = details.usingTreeData ? path.length - 1 : void 0;
83570
83614
  const parentGroup = this.findParentForNode(childNode, path, details, batchRemover, level);
83571
83615
  if (details.usingTreeData) {
83616
+ const existingNode = parentGroup.childrenAfterGroup?.find((node) => node.key === childNode.key);
83617
+ if (existingNode) {
83618
+ (0, import_core15._warnOnce)(`duplicate group keys for row data, keys should be unique`, [
83619
+ existingNode.data,
83620
+ childNode.data
83621
+ ]);
83622
+ return;
83623
+ }
83572
83624
  const info = (0, import_core15._last)(path);
83573
83625
  childNode.parent = parentGroup;
83574
83626
  childNode.level = path.length;
@@ -84506,7 +84558,7 @@ var ShowRowGroupColsService = class extends import_core18.BeanStub {
84506
84558
  };
84507
84559
 
84508
84560
  // enterprise-modules/row-grouping/src/version.ts
84509
- var VERSION = "32.0.0";
84561
+ var VERSION = "32.0.2";
84510
84562
 
84511
84563
  // enterprise-modules/row-grouping/src/rowGroupingModule.ts
84512
84564
  var RowGroupingCoreModule = {
@@ -89251,7 +89303,7 @@ var TransactionManager = class extends import_core19.BeanStub {
89251
89303
  };
89252
89304
 
89253
89305
  // enterprise-modules/server-side-row-model/src/version.ts
89254
- var VERSION = "32.0.0";
89306
+ var VERSION = "32.0.2";
89255
89307
 
89256
89308
  // enterprise-modules/server-side-row-model/src/serverSideRowModelModule.ts
89257
89309
  var ServerSideRowModelCoreModule = {
@@ -91826,7 +91878,7 @@ var SetFloatingFilterComp = class extends import_core7.Component {
91826
91878
  };
91827
91879
 
91828
91880
  // enterprise-modules/set-filter/src/version.ts
91829
- var VERSION = "32.0.0";
91881
+ var VERSION = "32.0.2";
91830
91882
 
91831
91883
  // enterprise-modules/set-filter/src/setFilterModule.ts
91832
91884
  var SetFilterCoreModule = {
@@ -92783,7 +92835,7 @@ var SideBarService = class extends import_core9.BeanStub {
92783
92835
  };
92784
92836
 
92785
92837
  // enterprise-modules/side-bar/src/version.ts
92786
- var VERSION = "32.0.0";
92838
+ var VERSION = "32.0.2";
92787
92839
 
92788
92840
  // enterprise-modules/side-bar/src/sideBarModule.ts
92789
92841
  var SideBarCoreModule = {
@@ -94958,7 +95010,7 @@ var SparklineTooltipSingleton = class extends import_core5.BeanStub {
94958
95010
  };
94959
95011
 
94960
95012
  // enterprise-modules/sparklines/src/version.ts
94961
- var VERSION = "32.0.0";
95013
+ var VERSION = "32.0.2";
94962
95014
 
94963
95015
  // enterprise-modules/sparklines/src/sparklinesModule.ts
94964
95016
  var SparklinesModule = {
@@ -95592,7 +95644,7 @@ var StatusBarService = class extends import_core9.BeanStub {
95592
95644
  };
95593
95645
 
95594
95646
  // enterprise-modules/status-bar/src/version.ts
95595
- var VERSION = "32.0.0";
95647
+ var VERSION = "32.0.2";
95596
95648
 
95597
95649
  // enterprise-modules/status-bar/src/statusBarModule.ts
95598
95650
  var StatusBarCoreModule = {
@@ -95658,7 +95710,7 @@ var import_core2 = __webpack_require__(3423);
95658
95710
  var import_core3 = __webpack_require__(8299);
95659
95711
 
95660
95712
  // enterprise-modules/viewport-row-model/src/version.ts
95661
- var VERSION = "32.0.0";
95713
+ var VERSION = "32.0.2";
95662
95714
 
95663
95715
  // enterprise-modules/viewport-row-model/src/viewportRowModel/viewportRowModel.ts
95664
95716
  var import_core = __webpack_require__(3423);
@@ -98265,9 +98317,12 @@ function getPath(object, path) {
98265
98317
  const pathArray = isArray(path) ? path : path.split(".");
98266
98318
  return pathArray.reduce((value, pathKey) => value[pathKey], object);
98267
98319
  }
98320
+ var SKIP_JS_BUILTINS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
98268
98321
  function setPath(object, path, newValue) {
98269
98322
  const pathArray = isArray(path) ? path.slice() : path.split(".");
98270
98323
  const lastKey = pathArray.pop();
98324
+ if (pathArray.some((p) => SKIP_JS_BUILTINS.has(p)))
98325
+ return;
98271
98326
  const lastObject = pathArray.reduce((value, pathKey) => value[pathKey], object);
98272
98327
  lastObject[lastKey] = newValue;
98273
98328
  return lastObject[lastKey];
@@ -98452,6 +98507,8 @@ function jsonApply(target, source, params = {}) {
98452
98507
  const targetAny = target;
98453
98508
  const targetType = classify(target);
98454
98509
  for (const property in source) {
98510
+ if (SKIP_JS_BUILTINS.has(property))
98511
+ continue;
98455
98512
  const propertyMatcherPath = `${matcherPath ? matcherPath + "." : ""}${property}`;
98456
98513
  if (skip.includes(propertyMatcherPath))
98457
98514
  continue;
@@ -100565,6 +100622,13 @@ var _Group = class _Group extends Node {
100565
100622
  computeTransformedBBox() {
100566
100623
  return this.computeBBox();
100567
100624
  }
100625
+ computeTransformedRegionBBox() {
100626
+ if (this.clipRect) {
100627
+ this.computeTransformMatrix();
100628
+ return this.matrix.transformBBox(this.clipRect);
100629
+ }
100630
+ return this.computeTransformedBBox();
100631
+ }
100568
100632
  preRender() {
100569
100633
  const counts = super.preRender();
100570
100634
  counts.groups += 1;
@@ -106733,7 +106797,7 @@ function buildScheduler(scheduleFn, cb) {
106733
106797
  }
106734
106798
 
106735
106799
  // packages/ag-charts-community/src/version.ts
106736
- var VERSION = "10.0.0";
106800
+ var VERSION = "10.0.2";
106737
106801
 
106738
106802
  // packages/ag-charts-community/src/api/state/memento.ts
106739
106803
  var MementoCaretaker = class {
@@ -109681,7 +109745,7 @@ var RegionManager = class {
109681
109745
  let currentRegion;
109682
109746
  for (const region of this.regions.values()) {
109683
109747
  for (const provider of region.properties.bboxproviders) {
109684
- const bbox = provider.computeTransformedBBox();
109748
+ const bbox = provider.computeTransformedRegionBBox?.() ?? provider.computeTransformedBBox();
109685
109749
  const area2 = bbox.width * bbox.height;
109686
109750
  if (area2 < currentArea && bbox.containsPoint(x, y)) {
109687
109751
  currentArea = area2;
@@ -125310,6 +125374,8 @@ var Sector = class extends Path {
125310
125374
  const sweepAngle = endAngle - startAngle;
125311
125375
  const fullPie = sweepAngle >= 2 * Math.PI - delta3;
125312
125376
  path.clear();
125377
+ if (this.innerRadius === 0 && this.outerRadius === 0)
125378
+ return;
125313
125379
  if ((clipSector?.startAngle ?? startAngle) === (clipSector?.endAngle ?? endAngle)) {
125314
125380
  return;
125315
125381
  } else if (fullPie && this.clipSector == null && startOuterCornerRadius === 0 && endOuterCornerRadius === 0 && startInnerCornerRadius === 0 && endInnerCornerRadius === 0) {
@@ -132707,6 +132773,7 @@ __export(module_support_exports, {
132707
132773
  RATIO: () => RATIO,
132708
132774
  REGIONS: () => REGIONS,
132709
132775
  RepeatType: () => RepeatType,
132776
+ SKIP_JS_BUILTINS: () => SKIP_JS_BUILTINS,
132710
132777
  SMALLEST_KEY_INTERVAL: () => SMALLEST_KEY_INTERVAL,
132711
132778
  SORT_DOMAIN_GROUPS: () => SORT_DOMAIN_GROUPS,
132712
132779
  STRING: () => STRING,