@syncfusion/ej2-treegrid 34.1.33 → 34.2.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.
@@ -1,4 +1,4 @@
1
- import { Property, merge, ChildProperty, Collection, isNullOrUndefined, Browser, removeClass, addClass, getValue, createElement, setValue, extend as extend$1, Internationalization, getEnumValue, compile, Component, L10n, EventHandler, KeyboardEvents, SanitizeHtmlHelper, Complex, Event, NotifyPropertyChanges, closest, setStyleAttribute, select, classList, debounce, remove } from '@syncfusion/ej2-base';
1
+ import { Property, merge, ChildProperty, Collection, isNullOrUndefined, Browser, removeClass, initializeTelemetryFeature, addClass, getValue, createElement, setValue, extend as extend$1, Internationalization, getEnumValue, compile, Component, L10n, EventHandler, KeyboardEvents, initializeTelemetry, SanitizeHtmlHelper, Complex, Event, NotifyPropertyChanges, closest, setStyleAttribute, select, classList, debounce, remove } from '@syncfusion/ej2-base';
2
2
  import { Grid, Logger as Logger$1, detailLists, Clipboard, getObject, parentsUntil, Print as Print$1, templateCompiler, appendChildren, extend, CellRenderer, getUid, CellType, Freeze as Freeze$1, getNumberFormat, setEnableSeamlessScrolling, getActualProperties, iterateArrayOrObject, RowDropSettings as RowDropSettings$1, Reorder as Reorder$1, Resize as Resize$1, Scroll, RowDD as RowDD$1, VirtualRowModelGenerator, Filter as Filter$1, Data, ExportHelper, ExcelExport as ExcelExport$1, PdfExport as PdfExport$1, Page as Page$1, Toolbar as Toolbar$1, calculateAggregate, Aggregate as Aggregate$1, Sort as Sort$1, ColumnMenu as ColumnMenu$1, ContextMenu as ContextMenu$1, resetRowIndex, Edit as Edit$1, CommandColumn as CommandColumn$1, DetailRow as DetailRow$1, Cell, getVisiblePage, VirtualContentRenderer, InterSectionObserver, getTransformValues, RenderType, VirtualHeaderRenderer, VirtualScroll as VirtualScroll$1, ColumnChooser as ColumnChooser$1, getRowIndexFromElement, RowRenderer, InfiniteScroll as InfiniteScroll$1 } from '@syncfusion/ej2-grids';
3
3
  import { createCheckBox } from '@syncfusion/ej2-buttons';
4
4
  import { DataManager, ODataAdaptor, WebApiAdaptor, WebMethodAdaptor, CacheAdaptor, UrlAdaptor, Query, DataUtil, RemoteSaveAdaptor, Deferred, JsonAdaptor, Predicate as Predicate$1 } from '@syncfusion/ej2-data';
@@ -1018,6 +1018,7 @@ var Selection = /** @__PURE__ @class */ (function () {
1018
1018
  this.headerSelectionState = 'uncheck';
1019
1019
  this.checkedItemCount = 0;
1020
1020
  this.visibleUidIndex = {};
1021
+ initializeTelemetryFeature('selection', 'treegrid');
1021
1022
  this.parent = parent;
1022
1023
  this.selectedItems = [];
1023
1024
  this.selectedIndexes = []; // Initialize here
@@ -5070,6 +5071,7 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
5070
5071
  */
5071
5072
  TreeGrid.prototype.render = function () {
5072
5073
  var _this = this;
5074
+ initializeTelemetry('treegrid');
5073
5075
  if (this.isReact) {
5074
5076
  this.grid.isReact = true;
5075
5077
  this.grid.portals = [];
@@ -9711,6 +9713,7 @@ var RowDD = /** @__PURE__ @class */ (function () {
9711
9713
  * Indicates whether the item is being added to the bottom of the TreeGrid.
9712
9714
  */
9713
9715
  this.isaddtoBottom = false;
9716
+ initializeTelemetryFeature('rowDragAndDrop', 'treegrid');
9714
9717
  Grid.Inject(RowDD$1);
9715
9718
  this.parent = parent;
9716
9719
  this.addEventListener();
@@ -11735,6 +11738,7 @@ var Filter = /** @__PURE__ @class */ (function () {
11735
11738
  * @param {TreeGrid} parent - Tree Grid instance
11736
11739
  */
11737
11740
  function Filter(parent) {
11741
+ initializeTelemetryFeature('filter', 'treegrid');
11738
11742
  Grid.Inject(Filter$1);
11739
11743
  this.parent = parent;
11740
11744
  this.isHierarchyFilter = false;
@@ -12426,6 +12430,7 @@ var PdfExport = /** @__PURE__ @class */ (function () {
12426
12430
  */
12427
12431
  var Page = /** @__PURE__ @class */ (function () {
12428
12432
  function Page(parent) {
12433
+ initializeTelemetryFeature('pager', 'treegrid');
12429
12434
  Grid.Inject(Page$1);
12430
12435
  this.parent = parent;
12431
12436
  this.addEventListener();
@@ -13018,6 +13023,7 @@ var Aggregate = /** @__PURE__ @class */ (function () {
13018
13023
  */
13019
13024
  var Sort = /** @__PURE__ @class */ (function () {
13020
13025
  function Sort(grid) {
13026
+ initializeTelemetryFeature('sort', 'treegrid');
13021
13027
  Grid.Inject(Sort$1);
13022
13028
  this.parent = grid;
13023
13029
  this.taskIds = [];
@@ -13158,6 +13164,7 @@ var ColumnMenu = /** @__PURE__ @class */ (function () {
13158
13164
  * @param {TreeGrid} parent - Tree Grid instance
13159
13165
  */
13160
13166
  function ColumnMenu(parent) {
13167
+ initializeTelemetryFeature('columnMenu', 'treegrid');
13161
13168
  Grid.Inject(ColumnMenu$1);
13162
13169
  this.parent = parent;
13163
13170
  }
@@ -14045,6 +14052,7 @@ var Edit = /** @__PURE__ @class */ (function () {
14045
14052
  this.isAddedRowByContextMenu = false;
14046
14053
  this.isIndexUndefined = false;
14047
14054
  this.isAddedMultipleRowsByMethod = false;
14055
+ initializeTelemetryFeature('edit', 'treegrid');
14048
14056
  Grid.Inject(Edit$1);
14049
14057
  this.parent = parent;
14050
14058
  this.isSelfReference = !isNullOrUndefined(parent.parentIdMapping);
@@ -15237,6 +15245,7 @@ var CommandColumn = /** @__PURE__ @class */ (function () {
15237
15245
  */
15238
15246
  var DetailRow = /** @__PURE__ @class */ (function () {
15239
15247
  function DetailRow(parent) {
15248
+ initializeTelemetryFeature('detailRow', 'treegrid');
15240
15249
  Grid.Inject(DetailRow$1);
15241
15250
  this.parent = parent;
15242
15251
  this.addEventListener();
@@ -16880,6 +16889,7 @@ var Freeze = /** @__PURE__ @class */ (function () {
16880
16889
  * @param {TreeGrid} parent - Tree Grid instance
16881
16890
  */
16882
16891
  function Freeze(parent) {
16892
+ initializeTelemetryFeature('freeze', 'treegrid');
16883
16893
  Grid.Inject(Freeze$1);
16884
16894
  this.parent = parent;
16885
16895
  this.addEventListener();
@@ -16984,6 +16994,7 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
16984
16994
  * @param {TreeGrid} parent - Tree Grid instance.
16985
16995
  */
16986
16996
  function ColumnChooser(parent) {
16997
+ initializeTelemetryFeature('ColumnChooser', 'treegrid');
16987
16998
  Grid.Inject(ColumnChooser$1);
16988
16999
  this.parent = parent;
16989
17000
  }