@syncfusion/ej2-treegrid 34.1.33 → 34.2.4

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, initializeTelemetry, L10n, EventHandler, KeyboardEvents, 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
@@ -4047,6 +4048,7 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
4047
4048
  return false;
4048
4049
  }
4049
4050
  };
4051
+ initializeTelemetry('TreeGrid');
4050
4052
  TreeGrid_1.Inject(Selection, Logger);
4051
4053
  setValue('mergePersistData', this.mergePersistTreeGridData, this);
4052
4054
  const logger = 'Logger';
@@ -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('RowDD', '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;
@@ -11542,6 +11546,7 @@ class ExcelExport {
11542
11546
  */
11543
11547
  constructor(parent) {
11544
11548
  this.isCollapsedStatePersist = false;
11549
+ initializeTelemetryFeature('ExcelExport', 'TreeGrid');
11545
11550
  Grid.Inject(ExcelExport$1);
11546
11551
  this.parent = parent;
11547
11552
  this.dataResults = {};
@@ -11801,6 +11806,7 @@ class PdfExport {
11801
11806
  */
11802
11807
  constructor(parent) {
11803
11808
  this.isCollapsedStatePersist = false;
11809
+ initializeTelemetryFeature('PdfExport', 'TreeGrid');
11804
11810
  Grid.Inject(PdfExport$1);
11805
11811
  this.parent = parent;
11806
11812
  this.dataResults = {};
@@ -11999,6 +12005,7 @@ class PdfExport {
11999
12005
  */
12000
12006
  class Page {
12001
12007
  constructor(parent) {
12008
+ initializeTelemetryFeature('Page', 'TreeGrid');
12002
12009
  Grid.Inject(Page$1);
12003
12010
  this.parent = parent;
12004
12011
  this.addEventListener();
@@ -12578,6 +12585,7 @@ class Aggregate {
12578
12585
  */
12579
12586
  class Sort {
12580
12587
  constructor(grid) {
12588
+ initializeTelemetryFeature('Sort', 'TreeGrid');
12581
12589
  Grid.Inject(Sort$1);
12582
12590
  this.parent = grid;
12583
12591
  this.taskIds = [];
@@ -12717,6 +12725,7 @@ class ColumnMenu {
12717
12725
  * @param {TreeGrid} parent - Tree Grid instance
12718
12726
  */
12719
12727
  constructor(parent) {
12728
+ initializeTelemetryFeature('columnMenu', 'treegrid');
12720
12729
  Grid.Inject(ColumnMenu$1);
12721
12730
  this.parent = parent;
12722
12731
  }
@@ -13584,6 +13593,7 @@ class Edit {
13584
13593
  this.isAddedRowByContextMenu = false;
13585
13594
  this.isIndexUndefined = false;
13586
13595
  this.isAddedMultipleRowsByMethod = false;
13596
+ initializeTelemetryFeature('Edit', 'TreeGrid');
13587
13597
  Grid.Inject(Edit$1);
13588
13598
  this.parent = parent;
13589
13599
  this.isSelfReference = !isNullOrUndefined(parent.parentIdMapping);
@@ -14761,6 +14771,7 @@ class CommandColumn {
14761
14771
  */
14762
14772
  class DetailRow {
14763
14773
  constructor(parent) {
14774
+ initializeTelemetryFeature('DetailRow', 'TreeGrid');
14764
14775
  Grid.Inject(DetailRow$1);
14765
14776
  this.parent = parent;
14766
14777
  this.addEventListener();
@@ -16064,6 +16075,7 @@ class VirtualScroll {
16064
16075
  this.setEndIndexToGantt = true;
16065
16076
  this.prevendIndex = -1;
16066
16077
  this.prevSelectedRecord = [];
16078
+ initializeTelemetryFeature('VirtualScroll', 'TreeGrid');
16067
16079
  this.parent = parent;
16068
16080
  Grid.Inject(TreeVirtual);
16069
16081
  this.addEventListener();
@@ -16362,6 +16374,7 @@ class Freeze {
16362
16374
  * @param {TreeGrid} parent - Tree Grid instance
16363
16375
  */
16364
16376
  constructor(parent) {
16377
+ initializeTelemetryFeature('freeze', 'treegrid');
16365
16378
  Grid.Inject(Freeze$1);
16366
16379
  this.parent = parent;
16367
16380
  this.addEventListener();
@@ -16461,6 +16474,7 @@ class ColumnChooser {
16461
16474
  * @param {TreeGrid} parent - Tree Grid instance.
16462
16475
  */
16463
16476
  constructor(parent) {
16477
+ initializeTelemetryFeature('ColumnChooser', 'treegrid');
16464
16478
  Grid.Inject(ColumnChooser$1);
16465
16479
  this.parent = parent;
16466
16480
  }
@@ -16506,6 +16520,7 @@ class InfiniteScroll {
16506
16520
  * @param {TreeGrid} parent - Tree Grid instance
16507
16521
  */
16508
16522
  constructor(parent) {
16523
+ initializeTelemetryFeature('InfiniteScroll', 'TreeGrid');
16509
16524
  this.parent = parent;
16510
16525
  Grid.Inject(InfiniteScroll$1);
16511
16526
  this.addEventListener();