@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 { merge, Property, 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 { merge, Property, ChildProperty, Collection, isNullOrUndefined, Browser, initializeTelemetryFeature, removeClass, 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 { Logger as Logger$1, Grid, 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, RowDD as RowDD$1, Scroll, VirtualRowModelGenerator, Filter as Filter$1, ExcelExport as ExcelExport$1, Data, ExportHelper, PdfExport as PdfExport$1, Page as Page$1, Toolbar as Toolbar$1, Aggregate as Aggregate$1, calculateAggregate, Sort as Sort$1, ColumnMenu as ColumnMenu$1, ContextMenu as ContextMenu$1, Edit as Edit$1, resetRowIndex, CommandColumn as CommandColumn$1, DetailRow as DetailRow$1, VirtualContentRenderer, Cell, getVisiblePage, InterSectionObserver, getTransformValues, VirtualScroll as VirtualScroll$1, RenderType, VirtualHeaderRenderer, ColumnChooser as ColumnChooser$1, InfiniteScroll as InfiniteScroll$1, getRowIndexFromElement, RowRenderer } 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';
@@ -902,6 +902,7 @@ class Selection {
902
902
  this.headerSelectionState = 'uncheck';
903
903
  this.checkedItemCount = 0;
904
904
  this.visibleUidIndex = {};
905
+ initializeTelemetryFeature('selection', 'treegrid');
905
906
  this.parent = parent;
906
907
  this.selectedItems = [];
907
908
  this.selectedIndexes = []; // Initialize here
@@ -4753,6 +4754,7 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
4753
4754
  * @returns {void}
4754
4755
  */
4755
4756
  render() {
4757
+ initializeTelemetry('treegrid');
4756
4758
  if (this.isReact) {
4757
4759
  this.grid.isReact = true;
4758
4760
  this.grid.portals = [];
@@ -9338,6 +9340,7 @@ class RowDD {
9338
9340
  * Indicates whether the item is being added to the bottom of the TreeGrid.
9339
9341
  */
9340
9342
  this.isaddtoBottom = false;
9343
+ initializeTelemetryFeature('rowDragAndDrop', 'treegrid');
9341
9344
  Grid.Inject(RowDD$1);
9342
9345
  this.parent = parent;
9343
9346
  this.addEventListener();
@@ -11315,6 +11318,7 @@ class Filter {
11315
11318
  * @param {TreeGrid} parent - Tree Grid instance
11316
11319
  */
11317
11320
  constructor(parent) {
11321
+ initializeTelemetryFeature('filter', 'treegrid');
11318
11322
  Grid.Inject(Filter$1);
11319
11323
  this.parent = parent;
11320
11324
  this.isHierarchyFilter = false;
@@ -11999,6 +12003,7 @@ class PdfExport {
11999
12003
  */
12000
12004
  class Page {
12001
12005
  constructor(parent) {
12006
+ initializeTelemetryFeature('pager', 'treegrid');
12002
12007
  Grid.Inject(Page$1);
12003
12008
  this.parent = parent;
12004
12009
  this.addEventListener();
@@ -12578,6 +12583,7 @@ class Aggregate {
12578
12583
  */
12579
12584
  class Sort {
12580
12585
  constructor(grid) {
12586
+ initializeTelemetryFeature('sort', 'treegrid');
12581
12587
  Grid.Inject(Sort$1);
12582
12588
  this.parent = grid;
12583
12589
  this.taskIds = [];
@@ -12717,6 +12723,7 @@ class ColumnMenu {
12717
12723
  * @param {TreeGrid} parent - Tree Grid instance
12718
12724
  */
12719
12725
  constructor(parent) {
12726
+ initializeTelemetryFeature('columnMenu', 'treegrid');
12720
12727
  Grid.Inject(ColumnMenu$1);
12721
12728
  this.parent = parent;
12722
12729
  }
@@ -13584,6 +13591,7 @@ class Edit {
13584
13591
  this.isAddedRowByContextMenu = false;
13585
13592
  this.isIndexUndefined = false;
13586
13593
  this.isAddedMultipleRowsByMethod = false;
13594
+ initializeTelemetryFeature('edit', 'treegrid');
13587
13595
  Grid.Inject(Edit$1);
13588
13596
  this.parent = parent;
13589
13597
  this.isSelfReference = !isNullOrUndefined(parent.parentIdMapping);
@@ -14761,6 +14769,7 @@ class CommandColumn {
14761
14769
  */
14762
14770
  class DetailRow {
14763
14771
  constructor(parent) {
14772
+ initializeTelemetryFeature('detailRow', 'treegrid');
14764
14773
  Grid.Inject(DetailRow$1);
14765
14774
  this.parent = parent;
14766
14775
  this.addEventListener();
@@ -16362,6 +16371,7 @@ class Freeze {
16362
16371
  * @param {TreeGrid} parent - Tree Grid instance
16363
16372
  */
16364
16373
  constructor(parent) {
16374
+ initializeTelemetryFeature('freeze', 'treegrid');
16365
16375
  Grid.Inject(Freeze$1);
16366
16376
  this.parent = parent;
16367
16377
  this.addEventListener();
@@ -16461,6 +16471,7 @@ class ColumnChooser {
16461
16471
  * @param {TreeGrid} parent - Tree Grid instance.
16462
16472
  */
16463
16473
  constructor(parent) {
16474
+ initializeTelemetryFeature('ColumnChooser', 'treegrid');
16464
16475
  Grid.Inject(ColumnChooser$1);
16465
16476
  this.parent = parent;
16466
16477
  }