@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
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 34.
|
|
3
|
+
* version : 34.2.4
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-treegrid",
|
|
3
|
-
"version": "34.
|
|
3
|
+
"version": "34.2.4",
|
|
4
4
|
"description": "Essential JS 2 TreeGrid Component",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"es2015": "./dist/es6/ej2-treegrid.es5.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@syncfusion/ej2-base": "~34.
|
|
12
|
-
"@syncfusion/ej2-data": "~34.
|
|
13
|
-
"@syncfusion/ej2-grids": "~34.
|
|
14
|
-
"@syncfusion/ej2-popups": "~34.
|
|
11
|
+
"@syncfusion/ej2-base": "~34.2.4",
|
|
12
|
+
"@syncfusion/ej2-data": "~34.2.2",
|
|
13
|
+
"@syncfusion/ej2-grids": "~34.2.4",
|
|
14
|
+
"@syncfusion/ej2-popups": "~34.2.4"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {},
|
|
17
17
|
"keywords": [
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Grid, ColumnChooser as GridColumnChooser } from '@syncfusion/ej2-grids';
|
|
2
|
+
import { initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
2
3
|
/**
|
|
3
4
|
* TreeGrid ColumnChooser module
|
|
4
5
|
*
|
|
@@ -11,6 +12,7 @@ var ColumnChooser = /** @class */ (function () {
|
|
|
11
12
|
* @param {TreeGrid} parent - Tree Grid instance.
|
|
12
13
|
*/
|
|
13
14
|
function ColumnChooser(parent) {
|
|
15
|
+
initializeTelemetryFeature('ColumnChooser', 'treegrid');
|
|
14
16
|
Grid.Inject(GridColumnChooser);
|
|
15
17
|
this.parent = parent;
|
|
16
18
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Grid, ColumnMenu as GridColumnMenu } from '@syncfusion/ej2-grids';
|
|
2
|
+
import { initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
2
3
|
/**
|
|
3
4
|
* TreeGrid ColumnMenu module
|
|
4
5
|
*
|
|
@@ -11,6 +12,7 @@ var ColumnMenu = /** @class */ (function () {
|
|
|
11
12
|
* @param {TreeGrid} parent - Tree Grid instance
|
|
12
13
|
*/
|
|
13
14
|
function ColumnMenu(parent) {
|
|
15
|
+
initializeTelemetryFeature('columnMenu', 'treegrid');
|
|
14
16
|
Grid.Inject(GridColumnMenu);
|
|
15
17
|
this.parent = parent;
|
|
16
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Grid, getObject } from '@syncfusion/ej2-grids';
|
|
2
2
|
import { DetailRow as detailrow } from '@syncfusion/ej2-grids';
|
|
3
|
-
import { isNullOrUndefined, addClass } from '@syncfusion/ej2-base';
|
|
3
|
+
import { isNullOrUndefined, addClass, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
4
4
|
import { getExpandStatus, isRemoteData } from '../utils';
|
|
5
5
|
/**
|
|
6
6
|
* TreeGrid Detail Row module
|
|
@@ -9,6 +9,7 @@ import { getExpandStatus, isRemoteData } from '../utils';
|
|
|
9
9
|
*/
|
|
10
10
|
var DetailRow = /** @class */ (function () {
|
|
11
11
|
function DetailRow(parent) {
|
|
12
|
+
initializeTelemetryFeature('DetailRow', 'TreeGrid');
|
|
12
13
|
Grid.Inject(detailrow);
|
|
13
14
|
this.parent = parent;
|
|
14
15
|
this.addEventListener();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Grid, Edit as GridEdit, getUid, getObject, resetRowIndex } from '@syncfusion/ej2-grids';
|
|
2
2
|
import { parentsUntil } from '@syncfusion/ej2-grids';
|
|
3
|
+
import { initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
3
4
|
import * as events from '../base/constant';
|
|
4
5
|
import { isNullOrUndefined, extend, setValue, removeClass, addClass, getValue } from '@syncfusion/ej2-base';
|
|
5
6
|
import { DataManager, RemoteSaveAdaptor } from '@syncfusion/ej2-data';
|
|
@@ -24,6 +25,7 @@ var Edit = /** @class */ (function () {
|
|
|
24
25
|
this.isAddedRowByContextMenu = false;
|
|
25
26
|
this.isIndexUndefined = false;
|
|
26
27
|
this.isAddedMultipleRowsByMethod = false;
|
|
28
|
+
initializeTelemetryFeature('Edit', 'TreeGrid');
|
|
27
29
|
Grid.Inject(GridEdit);
|
|
28
30
|
this.parent = parent;
|
|
29
31
|
this.isSelfReference = !isNullOrUndefined(parent.parentIdMapping);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getObject, Grid, ExcelExport as GridExcel, ExportHelper } from '@syncfusion/ej2-grids';
|
|
2
2
|
import { Data } from '@syncfusion/ej2-grids';
|
|
3
3
|
import { isRemoteData, isOffline, getParentData, getExpandStatus } from '../utils';
|
|
4
|
-
import { isNullOrUndefined, setValue, extend } from '@syncfusion/ej2-base';
|
|
4
|
+
import { isNullOrUndefined, setValue, extend, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
5
5
|
import { DataManager, Query } from '@syncfusion/ej2-data';
|
|
6
6
|
import * as event from '../base/constant';
|
|
7
7
|
/**
|
|
@@ -17,6 +17,7 @@ var ExcelExport = /** @class */ (function () {
|
|
|
17
17
|
*/
|
|
18
18
|
function ExcelExport(parent) {
|
|
19
19
|
this.isCollapsedStatePersist = false;
|
|
20
|
+
initializeTelemetryFeature('ExcelExport', 'TreeGrid');
|
|
20
21
|
Grid.Inject(GridExcel);
|
|
21
22
|
this.parent = parent;
|
|
22
23
|
this.dataResults = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getObject, Filter as GridFilter, Grid } from '@syncfusion/ej2-grids';
|
|
2
|
-
import { isNullOrUndefined, setValue, getValue } from '@syncfusion/ej2-base';
|
|
2
|
+
import { isNullOrUndefined, setValue, getValue, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
3
3
|
import { getParentData } from '../utils';
|
|
4
4
|
/**
|
|
5
5
|
* TreeGrid Filter module will handle filtering action
|
|
@@ -13,6 +13,7 @@ var Filter = /** @class */ (function () {
|
|
|
13
13
|
* @param {TreeGrid} parent - Tree Grid instance
|
|
14
14
|
*/
|
|
15
15
|
function Filter(parent) {
|
|
16
|
+
initializeTelemetryFeature('Filter', 'TreeGrid');
|
|
16
17
|
Grid.Inject(GridFilter);
|
|
17
18
|
this.parent = parent;
|
|
18
19
|
this.isHierarchyFilter = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parentsUntil } from '@syncfusion/ej2-grids';
|
|
2
2
|
import { Grid, Freeze as FreezeColumn } from '@syncfusion/ej2-grids';
|
|
3
|
-
import { addClass, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
3
|
+
import { addClass, isNullOrUndefined, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
4
4
|
/**
|
|
5
5
|
* TreeGrid Freeze module
|
|
6
6
|
*
|
|
@@ -13,6 +13,7 @@ var Freeze = /** @class */ (function () {
|
|
|
13
13
|
* @param {TreeGrid} parent - Tree Grid instance
|
|
14
14
|
*/
|
|
15
15
|
function Freeze(parent) {
|
|
16
|
+
initializeTelemetryFeature('freeze', 'treegrid');
|
|
16
17
|
Grid.Inject(FreezeColumn);
|
|
17
18
|
this.parent = parent;
|
|
18
19
|
this.addEventListener();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Grid, InfiniteScroll as GridInfiniteScroll, getRowIndexFromElement } from '@syncfusion/ej2-grids';
|
|
2
2
|
import { RowRenderer, resetRowIndex } from '@syncfusion/ej2-grids';
|
|
3
|
-
import { getValue, isNullOrUndefined, remove } from '@syncfusion/ej2-base';
|
|
3
|
+
import { getValue, isNullOrUndefined, remove, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
4
4
|
import * as events from '../base/constant';
|
|
5
5
|
import { DataManager, Predicate, Query } from '@syncfusion/ej2-data';
|
|
6
6
|
import { findChildrenRecords } from '../utils';
|
|
@@ -16,6 +16,7 @@ var InfiniteScroll = /** @class */ (function () {
|
|
|
16
16
|
* @param {TreeGrid} parent - Tree Grid instance
|
|
17
17
|
*/
|
|
18
18
|
function InfiniteScroll(parent) {
|
|
19
|
+
initializeTelemetryFeature('InfiniteScroll', 'TreeGrid');
|
|
19
20
|
this.parent = parent;
|
|
20
21
|
Grid.Inject(GridInfiniteScroll);
|
|
21
22
|
this.addEventListener();
|
|
@@ -2,7 +2,7 @@ import { Grid } from '@syncfusion/ej2-grids';
|
|
|
2
2
|
import { Page as GridPage } from '@syncfusion/ej2-grids';
|
|
3
3
|
import * as events from '../base/constant';
|
|
4
4
|
import { DataManager, Query, Predicate } from '@syncfusion/ej2-data';
|
|
5
|
-
import { getValue, isNullOrUndefined, addClass, removeClass } from '@syncfusion/ej2-base';
|
|
5
|
+
import { getValue, isNullOrUndefined, addClass, removeClass, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
6
6
|
import { getExpandStatus, isFilterChildHierarchy } from '../utils';
|
|
7
7
|
/**
|
|
8
8
|
* The `Page` module is used to render pager and handle paging action.
|
|
@@ -11,6 +11,7 @@ import { getExpandStatus, isFilterChildHierarchy } from '../utils';
|
|
|
11
11
|
*/
|
|
12
12
|
var Page = /** @class */ (function () {
|
|
13
13
|
function Page(parent) {
|
|
14
|
+
initializeTelemetryFeature('Page', 'TreeGrid');
|
|
14
15
|
Grid.Inject(GridPage);
|
|
15
16
|
this.parent = parent;
|
|
16
17
|
this.addEventListener();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getObject, PdfExport as GridPdf, Grid } from '@syncfusion/ej2-grids';
|
|
2
2
|
import { isRemoteData, isOffline } from '../utils';
|
|
3
|
-
import { isNullOrUndefined, setValue, extend, getValue } from '@syncfusion/ej2-base';
|
|
3
|
+
import { isNullOrUndefined, setValue, extend, getValue, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
4
4
|
import { DataManager, Query } from '@syncfusion/ej2-data';
|
|
5
5
|
import * as event from '../base/constant';
|
|
6
6
|
/**
|
|
@@ -16,6 +16,7 @@ var PdfExport = /** @class */ (function () {
|
|
|
16
16
|
*/
|
|
17
17
|
function PdfExport(parent) {
|
|
18
18
|
this.isCollapsedStatePersist = false;
|
|
19
|
+
initializeTelemetryFeature('PdfExport', 'TreeGrid');
|
|
19
20
|
Grid.Inject(GridPdf);
|
|
20
21
|
this.parent = parent;
|
|
21
22
|
this.dataResults = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Grid, RowDD as GridDragDrop, parentsUntil } from '@syncfusion/ej2-grids';
|
|
2
2
|
import { getObject, Scroll } from '@syncfusion/ej2-grids';
|
|
3
|
-
import { closest, isNullOrUndefined, setValue, extend, getValue, removeClass, addClass, setStyleAttribute } from '@syncfusion/ej2-base';
|
|
3
|
+
import { closest, isNullOrUndefined, setValue, extend, getValue, removeClass, addClass, setStyleAttribute, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
4
4
|
import { DataManager } from '@syncfusion/ej2-data';
|
|
5
5
|
import * as events from '../base/constant';
|
|
6
6
|
import { editAction } from './crud-actions';
|
|
@@ -45,6 +45,7 @@ var RowDD = /** @class */ (function () {
|
|
|
45
45
|
* Indicates whether the item is being added to the bottom of the TreeGrid.
|
|
46
46
|
*/
|
|
47
47
|
this.isaddtoBottom = false;
|
|
48
|
+
initializeTelemetryFeature('RowDD', 'TreeGrid');
|
|
48
49
|
Grid.Inject(GridDragDrop);
|
|
49
50
|
this.parent = parent;
|
|
50
51
|
this.addEventListener();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isNullOrUndefined, removeClass } from '@syncfusion/ej2-base';
|
|
1
|
+
import { isNullOrUndefined, removeClass, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
2
2
|
import { createCheckBox } from '@syncfusion/ej2-buttons';
|
|
3
3
|
import { parentsUntil, getObject } from '@syncfusion/ej2-grids';
|
|
4
4
|
import * as events from '../base/constant';
|
|
@@ -23,6 +23,7 @@ var Selection = /** @class */ (function () {
|
|
|
23
23
|
this.headerSelectionState = 'uncheck';
|
|
24
24
|
this.checkedItemCount = 0;
|
|
25
25
|
this.visibleUidIndex = {};
|
|
26
|
+
initializeTelemetryFeature('selection', 'treegrid');
|
|
26
27
|
this.parent = parent;
|
|
27
28
|
this.selectedItems = [];
|
|
28
29
|
this.selectedIndexes = []; // Initialize here
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
1
|
+
import { isNullOrUndefined, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
2
2
|
import { DataManager } from '@syncfusion/ej2-data';
|
|
3
3
|
import { Sort as GridSort, Grid, getActualProperties } from '@syncfusion/ej2-grids';
|
|
4
4
|
import { getParentData } from '../utils';
|
|
@@ -9,6 +9,7 @@ import { getParentData } from '../utils';
|
|
|
9
9
|
*/
|
|
10
10
|
var Sort = /** @class */ (function () {
|
|
11
11
|
function Sort(grid) {
|
|
12
|
+
initializeTelemetryFeature('Sort', 'TreeGrid');
|
|
12
13
|
Grid.Inject(GridSort);
|
|
13
14
|
this.parent = grid;
|
|
14
15
|
this.taskIds = [];
|
|
@@ -13,7 +13,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
13
13
|
})();
|
|
14
14
|
import { Grid, VirtualScroll as GridVirtualScroll } from '@syncfusion/ej2-grids';
|
|
15
15
|
import { RenderType } from '@syncfusion/ej2-grids';
|
|
16
|
-
import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
16
|
+
import { getValue, isNullOrUndefined, initializeTelemetryFeature } from '@syncfusion/ej2-base';
|
|
17
17
|
import * as events from '../base/constant';
|
|
18
18
|
import { DataManager, Predicate, Query } from '@syncfusion/ej2-data';
|
|
19
19
|
import { getExpandStatus } from '../utils';
|
|
@@ -35,6 +35,7 @@ var VirtualScroll = /** @class */ (function () {
|
|
|
35
35
|
this.setEndIndexToGantt = true;
|
|
36
36
|
this.prevendIndex = -1;
|
|
37
37
|
this.prevSelectedRecord = [];
|
|
38
|
+
initializeTelemetryFeature('VirtualScroll', 'TreeGrid');
|
|
38
39
|
this.parent = parent;
|
|
39
40
|
Grid.Inject(TreeVirtual);
|
|
40
41
|
this.addEventListener();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, addClass, createElement, EventHandler, isNullOrUndefined, ModuleDeclaration, extend, merge, SanitizeHtmlHelper} from '@syncfusion/ej2-base';import { removeClass, EmitType, Complex, Collection, KeyboardEventArgs, getValue, NumberFormatOptions, DateFormatOptions } from '@syncfusion/ej2-base';import {Event, Property, NotifyPropertyChanges, INotifyPropertyChanged, setValue, KeyboardEvents, L10n } from '@syncfusion/ej2-base';import { Column, ColumnModel } from '../models/column';import { BeforeBatchSaveArgs, BeforeBatchAddArgs, BatchDeleteArgs, BeforeBatchDeleteArgs, Row, getNumberFormat, RowSelectable, LoadEventArgs, setEnableSeamlessScrolling } from '@syncfusion/ej2-grids';import { GridModel, ColumnQueryModeType, HeaderCellInfoEventArgs, EditSettingsModel as GridEditModel, Freeze as FreezeColumn } from '@syncfusion/ej2-grids';import { RowDragEventArgs, RowDropEventArgs, RowDropSettingsModel, RowDropSettings, getUid, parentsUntil } from '@syncfusion/ej2-grids';import { LoadingIndicator } from '../models/loading-indicator';import { LoadingIndicatorModel } from '../models/loading-indicator-model';import { TextAlign } from'@syncfusion/ej2-grids';import { DetailDataBoundEventArgs, ClipMode, ColumnChooser} from '@syncfusion/ej2-grids';import { SearchEventArgs, AddEventArgs, EditEventArgs, DeleteEventArgs} from '@syncfusion/ej2-grids';import { SaveEventArgs, CellSaveArgs, BatchAddArgs, BatchCancelArgs, BeginEditArgs, CellEditArgs} from '@syncfusion/ej2-grids';import { FilterSettings } from '../models/filter-settings';import { TextWrapSettings } from '../models/textwrap-settings';import { TextWrapSettingsModel } from '../models/textwrap-settings-model';import {Filter} from '../actions/filter';import { Logger as TreeLogger } from '../actions/logger';import { BeforeCopyEventArgs, BeforePasteEventArgs } from '@syncfusion/ej2-grids';import { TreeClipboard } from '../actions/clipboard';import {Aggregate} from '../actions/summary';import { Reorder } from '../actions/reorder';import { Resize } from '../actions/resize';import { Selection as TreeGridSelection } from '../actions/selection';import { ColumnMenu } from '../actions/column-menu';import { DetailRow } from '../actions/detail-row';import { Freeze } from '../actions/freeze-column';import { Print } from '../actions/print';import * as events from '../base/constant';import { FilterSettingsModel } from '../models/filter-settings-model';import { SearchSettings} from '../models/search-settings';import { SearchSettingsModel } from '../models/search-settings-model';import {RowInfo, RowDataBoundEventArgs, PageEventArgs, FilterEventArgs, FailureEventArgs, SortEventArgs } from '@syncfusion/ej2-grids';import { RowSelectingEventArgs, RowSelectEventArgs, RowDeselectingEventArgs, RowDeselectEventArgs, IIndex, ISelectedCell } from '@syncfusion/ej2-grids';import {ColumnModel as GridColumnModel, Column as GridColumn, CellSelectEventArgs, CellDeselectEventArgs } from '@syncfusion/ej2-grids';import { SelectionSettings } from '../models/selection-settings';import { SelectionSettingsModel } from '../models/selection-settings-model';import {getActualProperties, SortDirection, getObject, ColumnDragEventArgs } from '@syncfusion/ej2-grids';import { PrintMode, Data, IGrid, ContextMenuItemModel } from '@syncfusion/ej2-grids';import { ColumnMenuItem, ColumnMenuItemModel, CheckBoxChangeEventArgs } from '@syncfusion/ej2-grids';import { ExcelExportCompleteArgs, ExcelHeaderQueryCellInfoEventArgs, ExcelQueryCellInfoEventArgs, AggregateQueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { PdfExportCompleteArgs, PdfHeaderQueryCellInfoEventArgs, PdfQueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { ExcelExportProperties, PdfExportProperties, CellSelectingEventArgs, PrintEventArgs } from '@syncfusion/ej2-grids';import { ColumnMenuOpenEventArgs } from '@syncfusion/ej2-grids';import {BeforeDataBoundArgs} from '@syncfusion/ej2-grids';import { DataManager, ReturnOption, RemoteSaveAdaptor, Query, JsonAdaptor, Deferred, UrlAdaptor, Middlewares, QueryOptions, Predicate } from '@syncfusion/ej2-data';import { createSpinner, hideSpinner, showSpinner, Dialog } from '@syncfusion/ej2-popups';import { isRemoteData, isOffline, extendArray, isCountRequired, findChildrenRecords } from '../utils';import { Grid, QueryCellInfoEventArgs, Logger } from '@syncfusion/ej2-grids';import { Render } from '../renderer/render';import { VirtualTreeContentRenderer } from '../renderer/virtual-tree-content-render';import { DataManipulation } from './data';import { RowDD } from '../actions/rowdragdrop';import { Sort } from '../actions/sort';import { ITreeData, RowExpandedEventArgs, RowCollapsedEventArgs, RowCollapsingEventArgs, TreeGridExcelExportProperties, ActionEventArgs } from './interface';import { DataStateChangeEventArgs, RowExpandingEventArgs, TreeGridPdfExportProperties } from './interface';import { iterateArrayOrObject, GridLine } from '@syncfusion/ej2-grids';import { DataSourceChangedEventArgs, RecordDoubleClickEventArgs, ResizeArgs } from '@syncfusion/ej2-grids';import { ToolbarItems, ToolbarItem, ContextMenuItem, ContextMenuItems, RowPosition, CopyHierarchyType } from '../enum';import { ItemModel, ClickEventArgs, BeforeOpenCloseMenuEventArgs, MenuEventArgs } from '@syncfusion/ej2-navigations';import { PageSettings } from '../models/page-settings';import { PageSettingsModel } from '../models/page-settings-model';import { AggregateRow } from '../models/summary';import { AggregateRowModel } from '../models/summary-model';import { ExcelExport } from '../actions/excel-export';import { PdfExport } from '../actions/pdf-export';import { Toolbar } from '../actions/toolbar';import { Page } from '../actions/page';import { ContextMenu } from '../actions/context-menu';import { EditSettings } from '../models/edit-settings';import { EditSettingsModel } from '../models/edit-settings-model';import { Edit} from '../actions/edit';import { SortSettings } from '../models/sort-settings';import { SortSettingsModel } from '../models/sort-settings-model';import { isHidden, getExpandStatus } from '../utils';import { editAction } from '../actions/crud-actions';import { InfiniteScrollSettings } from '../models/infinite-scroll-settings';import { InfiniteScrollSettingsModel } from '../models/infinite-scroll-settings-model';import { TreeActionEventArgs } from '..';import * as literals from '../base/constant';import { ColumnChooserSettings } from '../models/column-chooser-settings';import { ColumnChooserSettingsModel } from '../models/column-chooser-settings-model';
|
|
1
|
+
import { Component, addClass, createElement, EventHandler, isNullOrUndefined, ModuleDeclaration, extend, merge, SanitizeHtmlHelper} from '@syncfusion/ej2-base';import { removeClass, EmitType, Complex, Collection, KeyboardEventArgs, getValue, NumberFormatOptions, DateFormatOptions, initializeTelemetry } from '@syncfusion/ej2-base';import {Event, Property, NotifyPropertyChanges, INotifyPropertyChanged, setValue, KeyboardEvents, L10n } from '@syncfusion/ej2-base';import { Column, ColumnModel } from '../models/column';import { BeforeBatchSaveArgs, BeforeBatchAddArgs, BatchDeleteArgs, BeforeBatchDeleteArgs, Row, getNumberFormat, RowSelectable, LoadEventArgs, setEnableSeamlessScrolling } from '@syncfusion/ej2-grids';import { GridModel, ColumnQueryModeType, HeaderCellInfoEventArgs, EditSettingsModel as GridEditModel, Freeze as FreezeColumn } from '@syncfusion/ej2-grids';import { RowDragEventArgs, RowDropEventArgs, RowDropSettingsModel, RowDropSettings, getUid, parentsUntil } from '@syncfusion/ej2-grids';import { LoadingIndicator } from '../models/loading-indicator';import { LoadingIndicatorModel } from '../models/loading-indicator-model';import { TextAlign } from'@syncfusion/ej2-grids';import { DetailDataBoundEventArgs, ClipMode, ColumnChooser} from '@syncfusion/ej2-grids';import { SearchEventArgs, AddEventArgs, EditEventArgs, DeleteEventArgs} from '@syncfusion/ej2-grids';import { SaveEventArgs, CellSaveArgs, BatchAddArgs, BatchCancelArgs, BeginEditArgs, CellEditArgs} from '@syncfusion/ej2-grids';import { FilterSettings } from '../models/filter-settings';import { TextWrapSettings } from '../models/textwrap-settings';import { TextWrapSettingsModel } from '../models/textwrap-settings-model';import {Filter} from '../actions/filter';import { Logger as TreeLogger } from '../actions/logger';import { BeforeCopyEventArgs, BeforePasteEventArgs } from '@syncfusion/ej2-grids';import { TreeClipboard } from '../actions/clipboard';import {Aggregate} from '../actions/summary';import { Reorder } from '../actions/reorder';import { Resize } from '../actions/resize';import { Selection as TreeGridSelection } from '../actions/selection';import { ColumnMenu } from '../actions/column-menu';import { DetailRow } from '../actions/detail-row';import { Freeze } from '../actions/freeze-column';import { Print } from '../actions/print';import * as events from '../base/constant';import { FilterSettingsModel } from '../models/filter-settings-model';import { SearchSettings} from '../models/search-settings';import { SearchSettingsModel } from '../models/search-settings-model';import {RowInfo, RowDataBoundEventArgs, PageEventArgs, FilterEventArgs, FailureEventArgs, SortEventArgs } from '@syncfusion/ej2-grids';import { RowSelectingEventArgs, RowSelectEventArgs, RowDeselectingEventArgs, RowDeselectEventArgs, IIndex, ISelectedCell } from '@syncfusion/ej2-grids';import {ColumnModel as GridColumnModel, Column as GridColumn, CellSelectEventArgs, CellDeselectEventArgs } from '@syncfusion/ej2-grids';import { SelectionSettings } from '../models/selection-settings';import { SelectionSettingsModel } from '../models/selection-settings-model';import {getActualProperties, SortDirection, getObject, ColumnDragEventArgs } from '@syncfusion/ej2-grids';import { PrintMode, Data, IGrid, ContextMenuItemModel } from '@syncfusion/ej2-grids';import { ColumnMenuItem, ColumnMenuItemModel, CheckBoxChangeEventArgs } from '@syncfusion/ej2-grids';import { ExcelExportCompleteArgs, ExcelHeaderQueryCellInfoEventArgs, ExcelQueryCellInfoEventArgs, AggregateQueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { PdfExportCompleteArgs, PdfHeaderQueryCellInfoEventArgs, PdfQueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { ExcelExportProperties, PdfExportProperties, CellSelectingEventArgs, PrintEventArgs } from '@syncfusion/ej2-grids';import { ColumnMenuOpenEventArgs } from '@syncfusion/ej2-grids';import {BeforeDataBoundArgs} from '@syncfusion/ej2-grids';import { DataManager, ReturnOption, RemoteSaveAdaptor, Query, JsonAdaptor, Deferred, UrlAdaptor, Middlewares, QueryOptions, Predicate } from '@syncfusion/ej2-data';import { createSpinner, hideSpinner, showSpinner, Dialog } from '@syncfusion/ej2-popups';import { isRemoteData, isOffline, extendArray, isCountRequired, findChildrenRecords } from '../utils';import { Grid, QueryCellInfoEventArgs, Logger } from '@syncfusion/ej2-grids';import { Render } from '../renderer/render';import { VirtualTreeContentRenderer } from '../renderer/virtual-tree-content-render';import { DataManipulation } from './data';import { RowDD } from '../actions/rowdragdrop';import { Sort } from '../actions/sort';import { ITreeData, RowExpandedEventArgs, RowCollapsedEventArgs, RowCollapsingEventArgs, TreeGridExcelExportProperties, ActionEventArgs } from './interface';import { DataStateChangeEventArgs, RowExpandingEventArgs, TreeGridPdfExportProperties } from './interface';import { iterateArrayOrObject, GridLine } from '@syncfusion/ej2-grids';import { DataSourceChangedEventArgs, RecordDoubleClickEventArgs, ResizeArgs } from '@syncfusion/ej2-grids';import { ToolbarItems, ToolbarItem, ContextMenuItem, ContextMenuItems, RowPosition, CopyHierarchyType } from '../enum';import { ItemModel, ClickEventArgs, BeforeOpenCloseMenuEventArgs, MenuEventArgs } from '@syncfusion/ej2-navigations';import { PageSettings } from '../models/page-settings';import { PageSettingsModel } from '../models/page-settings-model';import { AggregateRow } from '../models/summary';import { AggregateRowModel } from '../models/summary-model';import { ExcelExport } from '../actions/excel-export';import { PdfExport } from '../actions/pdf-export';import { Toolbar } from '../actions/toolbar';import { Page } from '../actions/page';import { ContextMenu } from '../actions/context-menu';import { EditSettings } from '../models/edit-settings';import { EditSettingsModel } from '../models/edit-settings-model';import { Edit} from '../actions/edit';import { SortSettings } from '../models/sort-settings';import { SortSettingsModel } from '../models/sort-settings-model';import { isHidden, getExpandStatus } from '../utils';import { editAction } from '../actions/crud-actions';import { InfiniteScrollSettings } from '../models/infinite-scroll-settings';import { InfiniteScrollSettingsModel } from '../models/infinite-scroll-settings-model';import { TreeActionEventArgs } from '..';import * as literals from '../base/constant';import { ColumnChooserSettings } from '../models/column-chooser-settings';import { ColumnChooserSettingsModel } from '../models/column-chooser-settings-model';
|
|
2
2
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -18,7 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
20
|
import { Component, addClass, createElement, EventHandler, isNullOrUndefined, extend, merge, SanitizeHtmlHelper } from '@syncfusion/ej2-base';
|
|
21
|
-
import { removeClass, Complex, Collection, getValue } from '@syncfusion/ej2-base';
|
|
21
|
+
import { removeClass, Complex, Collection, getValue, initializeTelemetry } from '@syncfusion/ej2-base';
|
|
22
22
|
import { Event, Property, NotifyPropertyChanges, setValue, KeyboardEvents, L10n } from '@syncfusion/ej2-base';
|
|
23
23
|
import { Column } from '../models/column';
|
|
24
24
|
import { getNumberFormat, setEnableSeamlessScrolling } from '@syncfusion/ej2-grids';
|
|
@@ -108,6 +108,7 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
108
108
|
return false;
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
|
+
initializeTelemetry('TreeGrid');
|
|
111
112
|
TreeGrid_1.Inject(TreeGridSelection, TreeLogger);
|
|
112
113
|
setValue('mergePersistData', _this.mergePersistTreeGridData, _this);
|
|
113
114
|
var logger = 'Logger';
|