@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.
- package/dist/ej2-treegrid.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +16 -1
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +16 -1
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/dist/global/ej2-treegrid.min.js +2 -2
- package/dist/global/ej2-treegrid.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/treegrid/actions/column-chooser.js +2 -0
- package/src/treegrid/actions/column-menu.js +2 -0
- package/src/treegrid/actions/detail-row.js +2 -1
- package/src/treegrid/actions/edit.js +2 -0
- package/src/treegrid/actions/excel-export.js +2 -1
- package/src/treegrid/actions/filter.js +2 -1
- package/src/treegrid/actions/freeze-column.js +2 -1
- package/src/treegrid/actions/infinite-scroll.js +2 -1
- package/src/treegrid/actions/page.js +2 -1
- package/src/treegrid/actions/pdf-export.js +2 -1
- package/src/treegrid/actions/rowdragdrop.js +2 -1
- package/src/treegrid/actions/selection.js +2 -1
- package/src/treegrid/actions/sort.js +2 -1
- package/src/treegrid/actions/virtual-scroll.js +2 -1
- package/src/treegrid/base/treegrid-model.d.ts +1 -1
- package/src/treegrid/base/treegrid.js +2 -1
|
@@ -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, initializeTelemetry, L10n, EventHandler, KeyboardEvents, 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
|
|
@@ -4360,6 +4361,7 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
4360
4361
|
return false;
|
|
4361
4362
|
}
|
|
4362
4363
|
};
|
|
4364
|
+
initializeTelemetry('TreeGrid');
|
|
4363
4365
|
TreeGrid_1.Inject(Selection, Logger);
|
|
4364
4366
|
setValue('mergePersistData', _this.mergePersistTreeGridData, _this);
|
|
4365
4367
|
var logger = 'Logger';
|
|
@@ -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('RowDD', '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;
|
|
@@ -11963,6 +11967,7 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
11963
11967
|
*/
|
|
11964
11968
|
function ExcelExport(parent) {
|
|
11965
11969
|
this.isCollapsedStatePersist = false;
|
|
11970
|
+
initializeTelemetryFeature('ExcelExport', 'TreeGrid');
|
|
11966
11971
|
Grid.Inject(ExcelExport$1);
|
|
11967
11972
|
this.parent = parent;
|
|
11968
11973
|
this.dataResults = {};
|
|
@@ -12225,6 +12230,7 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
12225
12230
|
*/
|
|
12226
12231
|
function PdfExport(parent) {
|
|
12227
12232
|
this.isCollapsedStatePersist = false;
|
|
12233
|
+
initializeTelemetryFeature('PdfExport', 'TreeGrid');
|
|
12228
12234
|
Grid.Inject(PdfExport$1);
|
|
12229
12235
|
this.parent = parent;
|
|
12230
12236
|
this.dataResults = {};
|
|
@@ -12426,6 +12432,7 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
12426
12432
|
*/
|
|
12427
12433
|
var Page = /** @__PURE__ @class */ (function () {
|
|
12428
12434
|
function Page(parent) {
|
|
12435
|
+
initializeTelemetryFeature('Page', 'TreeGrid');
|
|
12429
12436
|
Grid.Inject(Page$1);
|
|
12430
12437
|
this.parent = parent;
|
|
12431
12438
|
this.addEventListener();
|
|
@@ -13018,6 +13025,7 @@ var Aggregate = /** @__PURE__ @class */ (function () {
|
|
|
13018
13025
|
*/
|
|
13019
13026
|
var Sort = /** @__PURE__ @class */ (function () {
|
|
13020
13027
|
function Sort(grid) {
|
|
13028
|
+
initializeTelemetryFeature('Sort', 'TreeGrid');
|
|
13021
13029
|
Grid.Inject(Sort$1);
|
|
13022
13030
|
this.parent = grid;
|
|
13023
13031
|
this.taskIds = [];
|
|
@@ -13158,6 +13166,7 @@ var ColumnMenu = /** @__PURE__ @class */ (function () {
|
|
|
13158
13166
|
* @param {TreeGrid} parent - Tree Grid instance
|
|
13159
13167
|
*/
|
|
13160
13168
|
function ColumnMenu(parent) {
|
|
13169
|
+
initializeTelemetryFeature('columnMenu', 'treegrid');
|
|
13161
13170
|
Grid.Inject(ColumnMenu$1);
|
|
13162
13171
|
this.parent = parent;
|
|
13163
13172
|
}
|
|
@@ -14045,6 +14054,7 @@ var Edit = /** @__PURE__ @class */ (function () {
|
|
|
14045
14054
|
this.isAddedRowByContextMenu = false;
|
|
14046
14055
|
this.isIndexUndefined = false;
|
|
14047
14056
|
this.isAddedMultipleRowsByMethod = false;
|
|
14057
|
+
initializeTelemetryFeature('Edit', 'TreeGrid');
|
|
14048
14058
|
Grid.Inject(Edit$1);
|
|
14049
14059
|
this.parent = parent;
|
|
14050
14060
|
this.isSelfReference = !isNullOrUndefined(parent.parentIdMapping);
|
|
@@ -15237,6 +15247,7 @@ var CommandColumn = /** @__PURE__ @class */ (function () {
|
|
|
15237
15247
|
*/
|
|
15238
15248
|
var DetailRow = /** @__PURE__ @class */ (function () {
|
|
15239
15249
|
function DetailRow(parent) {
|
|
15250
|
+
initializeTelemetryFeature('DetailRow', 'TreeGrid');
|
|
15240
15251
|
Grid.Inject(DetailRow$1);
|
|
15241
15252
|
this.parent = parent;
|
|
15242
15253
|
this.addEventListener();
|
|
@@ -16577,6 +16588,7 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
16577
16588
|
this.setEndIndexToGantt = true;
|
|
16578
16589
|
this.prevendIndex = -1;
|
|
16579
16590
|
this.prevSelectedRecord = [];
|
|
16591
|
+
initializeTelemetryFeature('VirtualScroll', 'TreeGrid');
|
|
16580
16592
|
this.parent = parent;
|
|
16581
16593
|
Grid.Inject(TreeVirtual);
|
|
16582
16594
|
this.addEventListener();
|
|
@@ -16880,6 +16892,7 @@ var Freeze = /** @__PURE__ @class */ (function () {
|
|
|
16880
16892
|
* @param {TreeGrid} parent - Tree Grid instance
|
|
16881
16893
|
*/
|
|
16882
16894
|
function Freeze(parent) {
|
|
16895
|
+
initializeTelemetryFeature('freeze', 'treegrid');
|
|
16883
16896
|
Grid.Inject(Freeze$1);
|
|
16884
16897
|
this.parent = parent;
|
|
16885
16898
|
this.addEventListener();
|
|
@@ -16984,6 +16997,7 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
16984
16997
|
* @param {TreeGrid} parent - Tree Grid instance.
|
|
16985
16998
|
*/
|
|
16986
16999
|
function ColumnChooser(parent) {
|
|
17000
|
+
initializeTelemetryFeature('ColumnChooser', 'treegrid');
|
|
16987
17001
|
Grid.Inject(ColumnChooser$1);
|
|
16988
17002
|
this.parent = parent;
|
|
16989
17003
|
}
|
|
@@ -17030,6 +17044,7 @@ var InfiniteScroll = /** @__PURE__ @class */ (function () {
|
|
|
17030
17044
|
* @param {TreeGrid} parent - Tree Grid instance
|
|
17031
17045
|
*/
|
|
17032
17046
|
function InfiniteScroll(parent) {
|
|
17047
|
+
initializeTelemetryFeature('InfiniteScroll', 'TreeGrid');
|
|
17033
17048
|
this.parent = parent;
|
|
17034
17049
|
Grid.Inject(InfiniteScroll$1);
|
|
17035
17050
|
this.addEventListener();
|