@syncfusion/ej2-angular-treegrid 31.1.21 → 31.1.22-ngcc
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/@syncfusion/ej2-angular-treegrid.es5.js +818 -0
- package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-treegrid.js +768 -0
- package/@syncfusion/ej2-angular-treegrid.js.map +1 -0
- package/LICENSE +10 -0
- package/dist/ej2-angular-treegrid.umd.js +998 -0
- package/dist/ej2-angular-treegrid.umd.js.map +1 -0
- package/dist/ej2-angular-treegrid.umd.min.js +11 -0
- package/dist/ej2-angular-treegrid.umd.min.js.map +1 -0
- package/ej2-angular-treegrid.d.ts +5 -0
- package/ej2-angular-treegrid.metadata.json +1 -0
- package/package.json +9 -22
- package/public_api.d.ts +1 -1
- package/schematics/collection.json +10 -19
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +25 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/src/index.d.ts +8 -8
- package/src/treegrid/aggregate-columns.directive.d.ts +86 -91
- package/src/treegrid/aggregates.directive.d.ts +44 -49
- package/src/treegrid/columns.directive.d.ts +323 -328
- package/src/treegrid/stacked-column.directive.d.ts +325 -330
- package/src/treegrid/treegrid-all.module.d.ts +27 -33
- package/src/treegrid/treegrid.component.d.ts +140 -143
- package/src/treegrid/treegrid.module.d.ts +5 -15
- package/CHANGELOG.md +0 -204
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/index.mjs +0 -9
- package/esm2020/src/treegrid/aggregate-columns.directive.mjs +0 -72
- package/esm2020/src/treegrid/aggregates.directive.mjs +0 -69
- package/esm2020/src/treegrid/columns.directive.mjs +0 -100
- package/esm2020/src/treegrid/stacked-column.directive.mjs +0 -100
- package/esm2020/src/treegrid/treegrid-all.module.mjs +0 -89
- package/esm2020/src/treegrid/treegrid.component.mjs +0 -271
- package/esm2020/src/treegrid/treegrid.module.mjs +0 -61
- package/esm2020/syncfusion-ej2-angular-treegrid.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-treegrid.mjs +0 -734
- package/fesm2015/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-treegrid.mjs +0 -734
- package/fesm2020/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
- package/schematics/generators/treegrid-default/index.d.ts +0 -3
- package/schematics/generators/treegrid-default/index.js +0 -8
- package/schematics/generators/treegrid-default/index.ts +0 -8
- package/schematics/generators/treegrid-default/sample-details.d.ts +0 -5
- package/schematics/generators/treegrid-default/sample-details.js +0 -7
- package/schematics/generators/treegrid-default/sample-details.ts +0 -5
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -143
- package/schematics/generators/treegrid-default/schema.d.ts +0 -3
- package/schematics/generators/treegrid-default/schema.js +0 -2
- package/schematics/generators/treegrid-default/schema.json +0 -125
- package/schematics/generators/treegrid-default/schema.ts +0 -3
- package/schematics/generators/treegrid-feature/index.d.ts +0 -3
- package/schematics/generators/treegrid-feature/index.js +0 -8
- package/schematics/generators/treegrid-feature/index.ts +0 -8
- package/schematics/generators/treegrid-feature/sample-details.d.ts +0 -5
- package/schematics/generators/treegrid-feature/sample-details.js +0 -7
- package/schematics/generators/treegrid-feature/sample-details.ts +0 -5
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -5
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -144
- package/schematics/generators/treegrid-feature/schema.d.ts +0 -3
- package/schematics/generators/treegrid-feature/schema.js +0 -2
- package/schematics/generators/treegrid-feature/schema.json +0 -125
- package/schematics/generators/treegrid-feature/schema.ts +0 -3
- package/syncfusion-ej2-angular-treegrid.d.ts +0 -5
|
@@ -1,734 +0,0 @@
|
|
|
1
|
-
import { __decorate } from 'tslib';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { Directive, ContentChild, ContentChildren, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
4
|
-
import { ComplexBase, setValue, Template, ArrayBase, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
5
|
-
import { TreeGrid, Filter, Page, Sort, Reorder, Toolbar, Aggregate, Resize, ColumnMenu, ExcelExport, PdfExport, CommandColumn, ContextMenu, Edit, Selection, VirtualScroll, DetailRow, RowDD, Freeze, ColumnChooser, Logger, InfiniteScroll } from '@syncfusion/ej2-treegrid';
|
|
6
|
-
export * from '@syncfusion/ej2-treegrid';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
|
|
9
|
-
let input$3 = ['allowEditing', 'allowFiltering', 'allowReordering', 'allowResizing', 'allowSorting', 'clipMode', 'columns', 'commands', 'customAttributes', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'edit', 'editTemplate', 'editType', 'field', 'filter', 'filterBarTemplate', 'filterTemplate', 'format', 'formatter', 'freeze', 'headerTemplate', 'headerText', 'headerTextAlign', 'hideAtMedia', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'lockColumn', 'maxWidth', 'minWidth', 'showCheckbox', 'showColumnMenu', 'showInColumnChooser', 'sortComparer', 'template', 'textAlign', 'type', 'uid', 'validationRules', 'valueAccessor', 'visible', 'width'];
|
|
10
|
-
let outputs$4 = [];
|
|
11
|
-
/**
|
|
12
|
-
* `e-stacked-column` directive represent the stacked column of the Angular TreeGrid.
|
|
13
|
-
* It must be contained in a StackedColumns component(`e-stacked-columns`).
|
|
14
|
-
* ```html
|
|
15
|
-
* <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
|
|
16
|
-
* <e-columns>
|
|
17
|
-
* <e-column field='ID' width='100'></e-column>
|
|
18
|
-
* <e-column headerText='Details' width='100'>
|
|
19
|
-
* <e-stacked-columns>
|
|
20
|
-
* <e-stacked-column field='Name' width='140'></e-stacked-column>
|
|
21
|
-
* </e-stacked-columns>
|
|
22
|
-
* </e-column>
|
|
23
|
-
* </e-columns>
|
|
24
|
-
* </ejs-treegrid>
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
class StackedColumnDirective extends ComplexBase {
|
|
28
|
-
constructor(viewContainerRef) {
|
|
29
|
-
super();
|
|
30
|
-
this.viewContainerRef = viewContainerRef;
|
|
31
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
32
|
-
this.registerEvents(outputs$4);
|
|
33
|
-
this.directivePropList = input$3;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
StackedColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StackedColumnDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
-
StackedColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: StackedColumnDirective, selector: "ejs-treegrid>e-columns>e-column>e-stacked-columns>e-stacked-column", inputs: { allowEditing: "allowEditing", allowFiltering: "allowFiltering", allowReordering: "allowReordering", allowResizing: "allowResizing", allowSorting: "allowSorting", clipMode: "clipMode", columns: "columns", commands: "commands", customAttributes: "customAttributes", defaultValue: "defaultValue", disableHtmlEncode: "disableHtmlEncode", displayAsCheckBox: "displayAsCheckBox", edit: "edit", editTemplate: "editTemplate", editType: "editType", field: "field", filter: "filter", filterBarTemplate: "filterBarTemplate", filterTemplate: "filterTemplate", format: "format", formatter: "formatter", freeze: "freeze", headerTemplate: "headerTemplate", headerText: "headerText", headerTextAlign: "headerTextAlign", hideAtMedia: "hideAtMedia", isFrozen: "isFrozen", isIdentity: "isIdentity", isPrimaryKey: "isPrimaryKey", lockColumn: "lockColumn", maxWidth: "maxWidth", minWidth: "minWidth", showCheckbox: "showCheckbox", showColumnMenu: "showColumnMenu", showInColumnChooser: "showInColumnChooser", sortComparer: "sortComparer", template: "template", textAlign: "textAlign", type: "type", uid: "uid", validationRules: "validationRules", valueAccessor: "valueAccessor", visible: "visible", width: "width" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "filter_itemTemplate", first: true, predicate: ["filterItemTemplate"], descendants: true }, { propertyName: "filterTemplate", first: true, predicate: ["filterTemplate"], descendants: true }, { propertyName: "commandsTemplate", first: true, predicate: ["commandsTemplate"], descendants: true }, { propertyName: "editTemplate", first: true, predicate: ["editTemplate"], descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
38
|
-
__decorate([
|
|
39
|
-
Template()
|
|
40
|
-
], StackedColumnDirective.prototype, "template", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Template()
|
|
43
|
-
], StackedColumnDirective.prototype, "headerTemplate", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
Template()
|
|
46
|
-
], StackedColumnDirective.prototype, "filter_itemTemplate", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
Template()
|
|
49
|
-
], StackedColumnDirective.prototype, "filterTemplate", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
Template()
|
|
52
|
-
], StackedColumnDirective.prototype, "commandsTemplate", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
Template()
|
|
55
|
-
], StackedColumnDirective.prototype, "editTemplate", void 0);
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StackedColumnDirective, decorators: [{
|
|
57
|
-
type: Directive,
|
|
58
|
-
args: [{
|
|
59
|
-
selector: 'ejs-treegrid>e-columns>e-column>e-stacked-columns>e-stacked-column',
|
|
60
|
-
inputs: input$3,
|
|
61
|
-
outputs: outputs$4,
|
|
62
|
-
queries: {}
|
|
63
|
-
}]
|
|
64
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { template: [{
|
|
65
|
-
type: ContentChild,
|
|
66
|
-
args: ['template']
|
|
67
|
-
}], headerTemplate: [{
|
|
68
|
-
type: ContentChild,
|
|
69
|
-
args: ['headerTemplate']
|
|
70
|
-
}], filter_itemTemplate: [{
|
|
71
|
-
type: ContentChild,
|
|
72
|
-
args: ['filterItemTemplate']
|
|
73
|
-
}], filterTemplate: [{
|
|
74
|
-
type: ContentChild,
|
|
75
|
-
args: ['filterTemplate']
|
|
76
|
-
}], commandsTemplate: [{
|
|
77
|
-
type: ContentChild,
|
|
78
|
-
args: ['commandsTemplate']
|
|
79
|
-
}], editTemplate: [{
|
|
80
|
-
type: ContentChild,
|
|
81
|
-
args: ['editTemplate']
|
|
82
|
-
}] } });
|
|
83
|
-
/**
|
|
84
|
-
* StackedColumn Array Directive
|
|
85
|
-
* @private
|
|
86
|
-
*/
|
|
87
|
-
class StackedColumnsDirective extends ArrayBase {
|
|
88
|
-
constructor() {
|
|
89
|
-
super('columns');
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
StackedColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StackedColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
93
|
-
StackedColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: StackedColumnsDirective, selector: "ejs-treegrid>e-columns>e-column>e-stacked-columns", queries: [{ propertyName: "children", predicate: StackedColumnDirective }], usesInheritance: true, ngImport: i0 });
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StackedColumnsDirective, decorators: [{
|
|
95
|
-
type: Directive,
|
|
96
|
-
args: [{
|
|
97
|
-
selector: 'ejs-treegrid>e-columns>e-column>e-stacked-columns',
|
|
98
|
-
queries: {
|
|
99
|
-
children: new ContentChildren(StackedColumnDirective)
|
|
100
|
-
},
|
|
101
|
-
}]
|
|
102
|
-
}], ctorParameters: function () { return []; } });
|
|
103
|
-
|
|
104
|
-
let input$2 = ['allowEditing', 'allowFiltering', 'allowReordering', 'allowResizing', 'allowSorting', 'clipMode', 'columns', 'commands', 'customAttributes', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'edit', 'editTemplate', 'editType', 'field', 'filter', 'filterBarTemplate', 'filterTemplate', 'format', 'formatter', 'freeze', 'headerTemplate', 'headerText', 'headerTextAlign', 'hideAtMedia', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'lockColumn', 'maxWidth', 'minWidth', 'showCheckbox', 'showColumnMenu', 'showInColumnChooser', 'sortComparer', 'template', 'textAlign', 'type', 'uid', 'validationRules', 'valueAccessor', 'visible', 'width'];
|
|
105
|
-
let outputs$3 = [];
|
|
106
|
-
/**
|
|
107
|
-
* `e-column` directive represent a column of the Angular TreeGrid.
|
|
108
|
-
* It must be contained in a TreeGrid component(`ejs-treegrid`).
|
|
109
|
-
* ```html
|
|
110
|
-
* <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
|
|
111
|
-
* <e-columns>
|
|
112
|
-
* <e-column field='ID' width='100'></e-column>
|
|
113
|
-
* <e-column field='name' headerText='Name' width='100'></e-column>
|
|
114
|
-
* </e-columns>
|
|
115
|
-
* </ejs-treegrid>
|
|
116
|
-
* ```
|
|
117
|
-
*/
|
|
118
|
-
class ColumnDirective extends ComplexBase {
|
|
119
|
-
constructor(viewContainerRef) {
|
|
120
|
-
super();
|
|
121
|
-
this.viewContainerRef = viewContainerRef;
|
|
122
|
-
this.tags = ['columns'];
|
|
123
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
124
|
-
this.registerEvents(outputs$3);
|
|
125
|
-
this.directivePropList = input$2;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
ColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
129
|
-
ColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnDirective, selector: "ejs-treegrid>e-columns>e-column", inputs: { allowEditing: "allowEditing", allowFiltering: "allowFiltering", allowReordering: "allowReordering", allowResizing: "allowResizing", allowSorting: "allowSorting", clipMode: "clipMode", columns: "columns", commands: "commands", customAttributes: "customAttributes", defaultValue: "defaultValue", disableHtmlEncode: "disableHtmlEncode", displayAsCheckBox: "displayAsCheckBox", edit: "edit", editTemplate: "editTemplate", editType: "editType", field: "field", filter: "filter", filterBarTemplate: "filterBarTemplate", filterTemplate: "filterTemplate", format: "format", formatter: "formatter", freeze: "freeze", headerTemplate: "headerTemplate", headerText: "headerText", headerTextAlign: "headerTextAlign", hideAtMedia: "hideAtMedia", isFrozen: "isFrozen", isIdentity: "isIdentity", isPrimaryKey: "isPrimaryKey", lockColumn: "lockColumn", maxWidth: "maxWidth", minWidth: "minWidth", showCheckbox: "showCheckbox", showColumnMenu: "showColumnMenu", showInColumnChooser: "showInColumnChooser", sortComparer: "sortComparer", template: "template", textAlign: "textAlign", type: "type", uid: "uid", validationRules: "validationRules", valueAccessor: "valueAccessor", visible: "visible", width: "width" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "filter_itemTemplate", first: true, predicate: ["filterItemTemplate"], descendants: true }, { propertyName: "filterTemplate", first: true, predicate: ["filterTemplate"], descendants: true }, { propertyName: "commandsTemplate", first: true, predicate: ["commandsTemplate"], descendants: true }, { propertyName: "editTemplate", first: true, predicate: ["editTemplate"], descendants: true }, { propertyName: "childColumns", first: true, predicate: StackedColumnsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
130
|
-
__decorate([
|
|
131
|
-
Template()
|
|
132
|
-
], ColumnDirective.prototype, "template", void 0);
|
|
133
|
-
__decorate([
|
|
134
|
-
Template()
|
|
135
|
-
], ColumnDirective.prototype, "headerTemplate", void 0);
|
|
136
|
-
__decorate([
|
|
137
|
-
Template()
|
|
138
|
-
], ColumnDirective.prototype, "filter_itemTemplate", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
Template()
|
|
141
|
-
], ColumnDirective.prototype, "filterTemplate", void 0);
|
|
142
|
-
__decorate([
|
|
143
|
-
Template()
|
|
144
|
-
], ColumnDirective.prototype, "commandsTemplate", void 0);
|
|
145
|
-
__decorate([
|
|
146
|
-
Template()
|
|
147
|
-
], ColumnDirective.prototype, "editTemplate", void 0);
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, decorators: [{
|
|
149
|
-
type: Directive,
|
|
150
|
-
args: [{
|
|
151
|
-
selector: 'ejs-treegrid>e-columns>e-column',
|
|
152
|
-
inputs: input$2,
|
|
153
|
-
outputs: outputs$3,
|
|
154
|
-
queries: {
|
|
155
|
-
childColumns: new ContentChild(StackedColumnsDirective)
|
|
156
|
-
}
|
|
157
|
-
}]
|
|
158
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { template: [{
|
|
159
|
-
type: ContentChild,
|
|
160
|
-
args: ['template']
|
|
161
|
-
}], headerTemplate: [{
|
|
162
|
-
type: ContentChild,
|
|
163
|
-
args: ['headerTemplate']
|
|
164
|
-
}], filter_itemTemplate: [{
|
|
165
|
-
type: ContentChild,
|
|
166
|
-
args: ['filterItemTemplate']
|
|
167
|
-
}], filterTemplate: [{
|
|
168
|
-
type: ContentChild,
|
|
169
|
-
args: ['filterTemplate']
|
|
170
|
-
}], commandsTemplate: [{
|
|
171
|
-
type: ContentChild,
|
|
172
|
-
args: ['commandsTemplate']
|
|
173
|
-
}], editTemplate: [{
|
|
174
|
-
type: ContentChild,
|
|
175
|
-
args: ['editTemplate']
|
|
176
|
-
}] } });
|
|
177
|
-
/**
|
|
178
|
-
* Column Array Directive
|
|
179
|
-
* @private
|
|
180
|
-
*/
|
|
181
|
-
class ColumnsDirective extends ArrayBase {
|
|
182
|
-
constructor() {
|
|
183
|
-
super('columns');
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
ColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
187
|
-
ColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnsDirective, selector: "ejs-treegrid>e-columns", queries: [{ propertyName: "children", predicate: ColumnDirective }], usesInheritance: true, ngImport: i0 });
|
|
188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, decorators: [{
|
|
189
|
-
type: Directive,
|
|
190
|
-
args: [{
|
|
191
|
-
selector: 'ejs-treegrid>e-columns',
|
|
192
|
-
queries: {
|
|
193
|
-
children: new ContentChildren(ColumnDirective)
|
|
194
|
-
},
|
|
195
|
-
}]
|
|
196
|
-
}], ctorParameters: function () { return []; } });
|
|
197
|
-
|
|
198
|
-
let input$1 = ['columnName', 'customAggregate', 'field', 'footerTemplate', 'format', 'type'];
|
|
199
|
-
let outputs$2 = [];
|
|
200
|
-
/**
|
|
201
|
-
* `e-aggregate->e-column` directive represent a aggregate column of the Angular TreeGrid.
|
|
202
|
-
* ```html
|
|
203
|
-
* <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
|
|
204
|
-
* <e-columns>
|
|
205
|
-
* <e-column field='ID' width='100'></e-column>
|
|
206
|
-
* <e-column field='name' headerText='Name' width='100'></e-column>
|
|
207
|
-
* </e-columns>
|
|
208
|
-
* <e-aggregates>
|
|
209
|
-
* <e-aggregate>
|
|
210
|
-
* <e-columns>
|
|
211
|
-
* <e-column field='ID' type='Min'></e-column>
|
|
212
|
-
* </e-columns>
|
|
213
|
-
* </e-aggregate>
|
|
214
|
-
* </e-aggregates>
|
|
215
|
-
* </ejs-treegrid>
|
|
216
|
-
* ```
|
|
217
|
-
*/
|
|
218
|
-
class AggregateColumnDirective extends ComplexBase {
|
|
219
|
-
constructor(viewContainerRef) {
|
|
220
|
-
super();
|
|
221
|
-
this.viewContainerRef = viewContainerRef;
|
|
222
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
223
|
-
this.registerEvents(outputs$2);
|
|
224
|
-
this.directivePropList = input$1;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
AggregateColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
228
|
-
AggregateColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AggregateColumnDirective, selector: "ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column", inputs: { columnName: "columnName", customAggregate: "customAggregate", field: "field", footerTemplate: "footerTemplate", format: "format", type: "type" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
229
|
-
__decorate([
|
|
230
|
-
Template()
|
|
231
|
-
], AggregateColumnDirective.prototype, "footerTemplate", void 0);
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnDirective, decorators: [{
|
|
233
|
-
type: Directive,
|
|
234
|
-
args: [{
|
|
235
|
-
selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column',
|
|
236
|
-
inputs: input$1,
|
|
237
|
-
outputs: outputs$2,
|
|
238
|
-
queries: {}
|
|
239
|
-
}]
|
|
240
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { footerTemplate: [{
|
|
241
|
-
type: ContentChild,
|
|
242
|
-
args: ['footerTemplate']
|
|
243
|
-
}] } });
|
|
244
|
-
/**
|
|
245
|
-
* AggregateColumn Array Directive
|
|
246
|
-
* @private
|
|
247
|
-
*/
|
|
248
|
-
class AggregateColumnsDirective extends ArrayBase {
|
|
249
|
-
constructor() {
|
|
250
|
-
super('columns');
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
AggregateColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
254
|
-
AggregateColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AggregateColumnsDirective, selector: "ejs-treegrid>e-aggregates>e-aggregate>e-columns", queries: [{ propertyName: "children", predicate: AggregateColumnDirective }], usesInheritance: true, ngImport: i0 });
|
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnsDirective, decorators: [{
|
|
256
|
-
type: Directive,
|
|
257
|
-
args: [{
|
|
258
|
-
selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns',
|
|
259
|
-
queries: {
|
|
260
|
-
children: new ContentChildren(AggregateColumnDirective)
|
|
261
|
-
},
|
|
262
|
-
}]
|
|
263
|
-
}], ctorParameters: function () { return []; } });
|
|
264
|
-
|
|
265
|
-
let input = ['columns', 'showChildSummary'];
|
|
266
|
-
let outputs$1 = [];
|
|
267
|
-
/**
|
|
268
|
-
* `e-aggregate` directive represent a aggregate row of the Angular TreeGrid.
|
|
269
|
-
* It must be contained in a TreeGrid component(`ejs-treegrid`).
|
|
270
|
-
* ```html
|
|
271
|
-
* <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
|
|
272
|
-
* <e-columns>
|
|
273
|
-
* <e-column field='ID' width='100'></e-column>
|
|
274
|
-
* <e-column field='name' headerText='Name' width='100'></e-column>
|
|
275
|
-
* </e-columns>
|
|
276
|
-
* <e-aggregates>
|
|
277
|
-
* <e-aggregate>
|
|
278
|
-
* <e-columns>
|
|
279
|
-
* <e-column field='ID' type='Min'></e-column>
|
|
280
|
-
* </e-columns>
|
|
281
|
-
* </e-aggregate>
|
|
282
|
-
* </e-aggregates>
|
|
283
|
-
* </ejs-treegrid>
|
|
284
|
-
* ```
|
|
285
|
-
*/
|
|
286
|
-
class AggregateDirective extends ComplexBase {
|
|
287
|
-
constructor(viewContainerRef) {
|
|
288
|
-
super();
|
|
289
|
-
this.viewContainerRef = viewContainerRef;
|
|
290
|
-
this.tags = ['columns'];
|
|
291
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
292
|
-
this.registerEvents(outputs$1);
|
|
293
|
-
this.directivePropList = input;
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
AggregateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
297
|
-
AggregateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AggregateDirective, selector: "ejs-treegrid>e-aggregates>e-aggregate", inputs: { columns: "columns", showChildSummary: "showChildSummary" }, queries: [{ propertyName: "childColumns", first: true, predicate: AggregateColumnsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateDirective, decorators: [{
|
|
299
|
-
type: Directive,
|
|
300
|
-
args: [{
|
|
301
|
-
selector: 'ejs-treegrid>e-aggregates>e-aggregate',
|
|
302
|
-
inputs: input,
|
|
303
|
-
outputs: outputs$1,
|
|
304
|
-
queries: {
|
|
305
|
-
childColumns: new ContentChild(AggregateColumnsDirective)
|
|
306
|
-
}
|
|
307
|
-
}]
|
|
308
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
309
|
-
/**
|
|
310
|
-
* Aggregate Array Directive
|
|
311
|
-
* @private
|
|
312
|
-
*/
|
|
313
|
-
class AggregatesDirective extends ArrayBase {
|
|
314
|
-
constructor() {
|
|
315
|
-
super('aggregates');
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
AggregatesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregatesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
319
|
-
AggregatesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AggregatesDirective, selector: "ejs-treegrid>e-aggregates", queries: [{ propertyName: "children", predicate: AggregateDirective }], usesInheritance: true, ngImport: i0 });
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregatesDirective, decorators: [{
|
|
321
|
-
type: Directive,
|
|
322
|
-
args: [{
|
|
323
|
-
selector: 'ejs-treegrid>e-aggregates',
|
|
324
|
-
queries: {
|
|
325
|
-
children: new ContentChildren(AggregateDirective)
|
|
326
|
-
},
|
|
327
|
-
}]
|
|
328
|
-
}], ctorParameters: function () { return []; } });
|
|
329
|
-
|
|
330
|
-
const inputs = ['aggregates', 'allowExcelExport', 'allowFiltering', 'allowMultiSorting', 'allowPaging', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTextWrap', 'autoCheckHierarchy', 'childMapping', 'clipMode', 'columnChooserSettings', 'columnMenuItems', 'columnQueryMode', 'columns', 'contextMenuItems', 'copyHierarchyMode', 'currencyCode', 'dataSource', 'detailTemplate', 'editSettings', 'emptyRecordTemplate', 'enableAdaptiveUI', 'enableAltRow', 'enableAutoFill', 'enableCollapseAll', 'enableColumnVirtualization', 'enableHover', 'enableHtmlSanitizer', 'enableImmutableMode', 'enableInfiniteScrolling', 'enablePersistence', 'enableRtl', 'enableStickyHeader', 'enableVirtualMaskRow', 'enableVirtualization', 'expandStateMapping', 'filterSettings', 'frozenColumns', 'frozenRows', 'gridLines', 'hasChildMapping', 'height', 'idMapping', 'infiniteScrollSettings', 'loadChildOnDemand', 'loadingIndicator', 'locale', 'pageSettings', 'pagerTemplate', 'parentIdMapping', 'printMode', 'query', 'rowDropSettings', 'rowHeight', 'rowTemplate', 'searchSettings', 'selectedRowIndex', 'selectionSettings', 'showColumnChooser', 'showColumnMenu', 'sortSettings', 'textWrapSettings', 'toolbar', 'treeColumnIndex', 'width'];
|
|
331
|
-
const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'batchAdd', 'batchCancel', 'batchDelete', 'beforeBatchAdd', 'beforeBatchDelete', 'beforeBatchSave', 'beforeCopy', 'beforeDataBound', 'beforeExcelExport', 'beforePaste', 'beforePdfExport', 'beforePrint', 'beginEdit', 'cellDeselected', 'cellDeselecting', 'cellEdit', 'cellSave', 'cellSaved', 'cellSelected', 'cellSelecting', 'checkboxChange', 'collapsed', 'collapsing', 'columnDrag', 'columnDragStart', 'columnDrop', 'columnMenuClick', 'columnMenuOpen', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataBound', 'dataSourceChanged', 'dataStateChange', 'detailDataBound', 'excelAggregateQueryCellInfo', 'excelExportComplete', 'excelHeaderQueryCellInfo', 'excelQueryCellInfo', 'expanded', 'expanding', 'headerCellInfo', 'load', 'pdfAggregateQueryCellInfo', 'pdfExportComplete', 'pdfHeaderQueryCellInfo', 'pdfQueryCellInfo', 'printComplete', 'queryCellInfo', 'recordDoubleClick', 'resizeStart', 'resizeStop', 'resizing', 'rowDataBound', 'rowDeselected', 'rowDeselecting', 'rowDrag', 'rowDragStart', 'rowDragStartHelper', 'rowDrop', 'rowSelected', 'rowSelecting', 'toolbarClick', 'dataSourceChange'];
|
|
332
|
-
const twoWays = ['dataSource'];
|
|
333
|
-
/**
|
|
334
|
-
* `ejs-treegrid` represents the Angular TreeTreeGrid Component.
|
|
335
|
-
* ```html
|
|
336
|
-
* <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'></ejs-treegrid>
|
|
337
|
-
* ```
|
|
338
|
-
*/
|
|
339
|
-
let TreeGridComponent = class TreeGridComponent extends TreeGrid {
|
|
340
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
341
|
-
super();
|
|
342
|
-
this.ngEle = ngEle;
|
|
343
|
-
this.srenderer = srenderer;
|
|
344
|
-
this.viewContainerRef = viewContainerRef;
|
|
345
|
-
this.injector = injector;
|
|
346
|
-
this.tags = ['columns', 'aggregates'];
|
|
347
|
-
this.element = this.ngEle.nativeElement;
|
|
348
|
-
this.injectedModules = this.injectedModules || [];
|
|
349
|
-
try {
|
|
350
|
-
let mod = this.injector.get('TreeGridFilter');
|
|
351
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
352
|
-
this.injectedModules.push(mod);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
catch { }
|
|
356
|
-
try {
|
|
357
|
-
let mod = this.injector.get('TreeGridPage');
|
|
358
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
359
|
-
this.injectedModules.push(mod);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
catch { }
|
|
363
|
-
try {
|
|
364
|
-
let mod = this.injector.get('TreeGridSort');
|
|
365
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
366
|
-
this.injectedModules.push(mod);
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
catch { }
|
|
370
|
-
try {
|
|
371
|
-
let mod = this.injector.get('TreeGridReorder');
|
|
372
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
373
|
-
this.injectedModules.push(mod);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
catch { }
|
|
377
|
-
try {
|
|
378
|
-
let mod = this.injector.get('TreeGridToolbar');
|
|
379
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
380
|
-
this.injectedModules.push(mod);
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
catch { }
|
|
384
|
-
try {
|
|
385
|
-
let mod = this.injector.get('TreeGridAggregate');
|
|
386
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
387
|
-
this.injectedModules.push(mod);
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
catch { }
|
|
391
|
-
try {
|
|
392
|
-
let mod = this.injector.get('TreeGridResize');
|
|
393
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
394
|
-
this.injectedModules.push(mod);
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
catch { }
|
|
398
|
-
try {
|
|
399
|
-
let mod = this.injector.get('TreeGridColumnMenu');
|
|
400
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
401
|
-
this.injectedModules.push(mod);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
catch { }
|
|
405
|
-
try {
|
|
406
|
-
let mod = this.injector.get('TreeGridExcelExport');
|
|
407
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
408
|
-
this.injectedModules.push(mod);
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
catch { }
|
|
412
|
-
try {
|
|
413
|
-
let mod = this.injector.get('TreeGridPdfExport');
|
|
414
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
415
|
-
this.injectedModules.push(mod);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
catch { }
|
|
419
|
-
try {
|
|
420
|
-
let mod = this.injector.get('TreeGridCommandColumn');
|
|
421
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
422
|
-
this.injectedModules.push(mod);
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
catch { }
|
|
426
|
-
try {
|
|
427
|
-
let mod = this.injector.get('TreeGridContextMenu');
|
|
428
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
429
|
-
this.injectedModules.push(mod);
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
catch { }
|
|
433
|
-
try {
|
|
434
|
-
let mod = this.injector.get('TreeGridEdit');
|
|
435
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
436
|
-
this.injectedModules.push(mod);
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
catch { }
|
|
440
|
-
try {
|
|
441
|
-
let mod = this.injector.get('TreeGridSelection');
|
|
442
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
443
|
-
this.injectedModules.push(mod);
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
catch { }
|
|
447
|
-
try {
|
|
448
|
-
let mod = this.injector.get('TreeGridVirtualScroll');
|
|
449
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
450
|
-
this.injectedModules.push(mod);
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
catch { }
|
|
454
|
-
try {
|
|
455
|
-
let mod = this.injector.get('TreeGridDetailRow');
|
|
456
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
457
|
-
this.injectedModules.push(mod);
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
catch { }
|
|
461
|
-
try {
|
|
462
|
-
let mod = this.injector.get('TreeGridRowDD');
|
|
463
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
464
|
-
this.injectedModules.push(mod);
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
catch { }
|
|
468
|
-
try {
|
|
469
|
-
let mod = this.injector.get('TreeGridFreeze');
|
|
470
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
471
|
-
this.injectedModules.push(mod);
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
catch { }
|
|
475
|
-
try {
|
|
476
|
-
let mod = this.injector.get('TreeGridColumnChooser');
|
|
477
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
478
|
-
this.injectedModules.push(mod);
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
catch { }
|
|
482
|
-
try {
|
|
483
|
-
let mod = this.injector.get('TreeGridLogger');
|
|
484
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
485
|
-
this.injectedModules.push(mod);
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
catch { }
|
|
489
|
-
try {
|
|
490
|
-
let mod = this.injector.get('TreeGridInfiniteScroll');
|
|
491
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
492
|
-
this.injectedModules.push(mod);
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
catch { }
|
|
496
|
-
this.registerEvents(outputs);
|
|
497
|
-
this.addTwoWay.call(this, twoWays);
|
|
498
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
499
|
-
this.context = new ComponentBase();
|
|
500
|
-
}
|
|
501
|
-
ngOnInit() {
|
|
502
|
-
this.context.ngOnInit(this);
|
|
503
|
-
}
|
|
504
|
-
ngAfterViewInit() {
|
|
505
|
-
this.context.ngAfterViewInit(this);
|
|
506
|
-
}
|
|
507
|
-
ngOnDestroy() {
|
|
508
|
-
this.context.ngOnDestroy(this);
|
|
509
|
-
}
|
|
510
|
-
ngAfterContentChecked() {
|
|
511
|
-
this.tagObjects[0].instance = this.childColumns;
|
|
512
|
-
if (this.childAggregates) {
|
|
513
|
-
this.tagObjects[1].instance = this.childAggregates;
|
|
514
|
-
}
|
|
515
|
-
this.context.ngAfterContentChecked(this);
|
|
516
|
-
}
|
|
517
|
-
};
|
|
518
|
-
TreeGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TreeGridComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
519
|
-
TreeGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: TreeGridComponent, selector: "ejs-treegrid", inputs: { aggregates: "aggregates", allowExcelExport: "allowExcelExport", allowFiltering: "allowFiltering", allowMultiSorting: "allowMultiSorting", allowPaging: "allowPaging", allowPdfExport: "allowPdfExport", allowReordering: "allowReordering", allowResizing: "allowResizing", allowRowDragAndDrop: "allowRowDragAndDrop", allowSelection: "allowSelection", allowSorting: "allowSorting", allowTextWrap: "allowTextWrap", autoCheckHierarchy: "autoCheckHierarchy", childMapping: "childMapping", clipMode: "clipMode", columnChooserSettings: "columnChooserSettings", columnMenuItems: "columnMenuItems", columnQueryMode: "columnQueryMode", columns: "columns", contextMenuItems: "contextMenuItems", copyHierarchyMode: "copyHierarchyMode", currencyCode: "currencyCode", dataSource: "dataSource", detailTemplate: "detailTemplate", editSettings: "editSettings", emptyRecordTemplate: "emptyRecordTemplate", enableAdaptiveUI: "enableAdaptiveUI", enableAltRow: "enableAltRow", enableAutoFill: "enableAutoFill", enableCollapseAll: "enableCollapseAll", enableColumnVirtualization: "enableColumnVirtualization", enableHover: "enableHover", enableHtmlSanitizer: "enableHtmlSanitizer", enableImmutableMode: "enableImmutableMode", enableInfiniteScrolling: "enableInfiniteScrolling", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableStickyHeader: "enableStickyHeader", enableVirtualMaskRow: "enableVirtualMaskRow", enableVirtualization: "enableVirtualization", expandStateMapping: "expandStateMapping", filterSettings: "filterSettings", frozenColumns: "frozenColumns", frozenRows: "frozenRows", gridLines: "gridLines", hasChildMapping: "hasChildMapping", height: "height", idMapping: "idMapping", infiniteScrollSettings: "infiniteScrollSettings", loadChildOnDemand: "loadChildOnDemand", loadingIndicator: "loadingIndicator", locale: "locale", pageSettings: "pageSettings", pagerTemplate: "pagerTemplate", parentIdMapping: "parentIdMapping", printMode: "printMode", query: "query", rowDropSettings: "rowDropSettings", rowHeight: "rowHeight", rowTemplate: "rowTemplate", searchSettings: "searchSettings", selectedRowIndex: "selectedRowIndex", selectionSettings: "selectionSettings", showColumnChooser: "showColumnChooser", showColumnMenu: "showColumnMenu", sortSettings: "sortSettings", textWrapSettings: "textWrapSettings", toolbar: "toolbar", treeColumnIndex: "treeColumnIndex", width: "width" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", batchAdd: "batchAdd", batchCancel: "batchCancel", batchDelete: "batchDelete", beforeBatchAdd: "beforeBatchAdd", beforeBatchDelete: "beforeBatchDelete", beforeBatchSave: "beforeBatchSave", beforeCopy: "beforeCopy", beforeDataBound: "beforeDataBound", beforeExcelExport: "beforeExcelExport", beforePaste: "beforePaste", beforePdfExport: "beforePdfExport", beforePrint: "beforePrint", beginEdit: "beginEdit", cellDeselected: "cellDeselected", cellDeselecting: "cellDeselecting", cellEdit: "cellEdit", cellSave: "cellSave", cellSaved: "cellSaved", cellSelected: "cellSelected", cellSelecting: "cellSelecting", checkboxChange: "checkboxChange", collapsed: "collapsed", collapsing: "collapsing", columnDrag: "columnDrag", columnDragStart: "columnDragStart", columnDrop: "columnDrop", columnMenuClick: "columnMenuClick", columnMenuOpen: "columnMenuOpen", contextMenuClick: "contextMenuClick", contextMenuOpen: "contextMenuOpen", created: "created", dataBound: "dataBound", dataSourceChanged: "dataSourceChanged", dataStateChange: "dataStateChange", detailDataBound: "detailDataBound", excelAggregateQueryCellInfo: "excelAggregateQueryCellInfo", excelExportComplete: "excelExportComplete", excelHeaderQueryCellInfo: "excelHeaderQueryCellInfo", excelQueryCellInfo: "excelQueryCellInfo", expanded: "expanded", expanding: "expanding", headerCellInfo: "headerCellInfo", load: "load", pdfAggregateQueryCellInfo: "pdfAggregateQueryCellInfo", pdfExportComplete: "pdfExportComplete", pdfHeaderQueryCellInfo: "pdfHeaderQueryCellInfo", pdfQueryCellInfo: "pdfQueryCellInfo", printComplete: "printComplete", queryCellInfo: "queryCellInfo", recordDoubleClick: "recordDoubleClick", resizeStart: "resizeStart", resizeStop: "resizeStop", resizing: "resizing", rowDataBound: "rowDataBound", rowDeselected: "rowDeselected", rowDeselecting: "rowDeselecting", rowDrag: "rowDrag", rowDragStart: "rowDragStart", rowDragStartHelper: "rowDragStartHelper", rowDrop: "rowDrop", rowSelected: "rowSelected", rowSelecting: "rowSelecting", toolbarClick: "toolbarClick", dataSourceChange: "dataSourceChange" }, queries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true }, { propertyName: "pagerTemplate", first: true, predicate: ["pagerTemplate"], descendants: true }, { propertyName: "rowTemplate", first: true, predicate: ["rowTemplate"], descendants: true }, { propertyName: "detailTemplate", first: true, predicate: ["detailTemplate"], descendants: true }, { propertyName: "editSettings_template", first: true, predicate: ["editSettingsTemplate"], descendants: true }, { propertyName: "emptyRecordTemplate", first: true, predicate: ["emptyRecordTemplate"], descendants: true }, { propertyName: "columnChooserSettings_headerTemplate", first: true, predicate: ["columnChooserSettingsHeaderTemplate"], descendants: true }, { propertyName: "columnChooserSettings_template", first: true, predicate: ["columnChooserSettingsTemplate"], descendants: true }, { propertyName: "columnChooserSettings_footerTemplate", first: true, predicate: ["columnChooserSettingsFooterTemplate"], descendants: true }, { propertyName: "childColumns", first: true, predicate: ColumnsDirective, descendants: true }, { propertyName: "childAggregates", first: true, predicate: AggregatesDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
520
|
-
__decorate([
|
|
521
|
-
Template()
|
|
522
|
-
], TreeGridComponent.prototype, "toolbarTemplate", void 0);
|
|
523
|
-
__decorate([
|
|
524
|
-
Template()
|
|
525
|
-
], TreeGridComponent.prototype, "pagerTemplate", void 0);
|
|
526
|
-
__decorate([
|
|
527
|
-
Template()
|
|
528
|
-
], TreeGridComponent.prototype, "rowTemplate", void 0);
|
|
529
|
-
__decorate([
|
|
530
|
-
Template()
|
|
531
|
-
], TreeGridComponent.prototype, "detailTemplate", void 0);
|
|
532
|
-
__decorate([
|
|
533
|
-
Template()
|
|
534
|
-
], TreeGridComponent.prototype, "editSettings_template", void 0);
|
|
535
|
-
__decorate([
|
|
536
|
-
Template()
|
|
537
|
-
], TreeGridComponent.prototype, "emptyRecordTemplate", void 0);
|
|
538
|
-
__decorate([
|
|
539
|
-
Template()
|
|
540
|
-
], TreeGridComponent.prototype, "columnChooserSettings_headerTemplate", void 0);
|
|
541
|
-
__decorate([
|
|
542
|
-
Template()
|
|
543
|
-
], TreeGridComponent.prototype, "columnChooserSettings_template", void 0);
|
|
544
|
-
__decorate([
|
|
545
|
-
Template()
|
|
546
|
-
], TreeGridComponent.prototype, "columnChooserSettings_footerTemplate", void 0);
|
|
547
|
-
TreeGridComponent = __decorate([
|
|
548
|
-
ComponentMixins([ComponentBase])
|
|
549
|
-
], TreeGridComponent);
|
|
550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TreeGridComponent, decorators: [{
|
|
551
|
-
type: Component,
|
|
552
|
-
args: [{
|
|
553
|
-
selector: 'ejs-treegrid',
|
|
554
|
-
inputs: inputs,
|
|
555
|
-
outputs: outputs,
|
|
556
|
-
template: '',
|
|
557
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
558
|
-
queries: {
|
|
559
|
-
childColumns: new ContentChild(ColumnsDirective),
|
|
560
|
-
childAggregates: new ContentChild(AggregatesDirective)
|
|
561
|
-
}
|
|
562
|
-
}]
|
|
563
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { toolbarTemplate: [{
|
|
564
|
-
type: ContentChild,
|
|
565
|
-
args: ['toolbarTemplate']
|
|
566
|
-
}], pagerTemplate: [{
|
|
567
|
-
type: ContentChild,
|
|
568
|
-
args: ['pagerTemplate']
|
|
569
|
-
}], rowTemplate: [{
|
|
570
|
-
type: ContentChild,
|
|
571
|
-
args: ['rowTemplate']
|
|
572
|
-
}], detailTemplate: [{
|
|
573
|
-
type: ContentChild,
|
|
574
|
-
args: ['detailTemplate']
|
|
575
|
-
}], editSettings_template: [{
|
|
576
|
-
type: ContentChild,
|
|
577
|
-
args: ['editSettingsTemplate']
|
|
578
|
-
}], emptyRecordTemplate: [{
|
|
579
|
-
type: ContentChild,
|
|
580
|
-
args: ['emptyRecordTemplate']
|
|
581
|
-
}], columnChooserSettings_headerTemplate: [{
|
|
582
|
-
type: ContentChild,
|
|
583
|
-
args: ['columnChooserSettingsHeaderTemplate']
|
|
584
|
-
}], columnChooserSettings_template: [{
|
|
585
|
-
type: ContentChild,
|
|
586
|
-
args: ['columnChooserSettingsTemplate']
|
|
587
|
-
}], columnChooserSettings_footerTemplate: [{
|
|
588
|
-
type: ContentChild,
|
|
589
|
-
args: ['columnChooserSettingsFooterTemplate']
|
|
590
|
-
}] } });
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* NgModule definition for the TreeGrid component.
|
|
594
|
-
*/
|
|
595
|
-
class TreeGridModule {
|
|
596
|
-
}
|
|
597
|
-
TreeGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TreeGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
598
|
-
TreeGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TreeGridModule, declarations: [TreeGridComponent,
|
|
599
|
-
StackedColumnDirective,
|
|
600
|
-
StackedColumnsDirective,
|
|
601
|
-
ColumnDirective,
|
|
602
|
-
ColumnsDirective,
|
|
603
|
-
AggregateColumnDirective,
|
|
604
|
-
AggregateColumnsDirective,
|
|
605
|
-
AggregateDirective,
|
|
606
|
-
AggregatesDirective], imports: [CommonModule], exports: [TreeGridComponent,
|
|
607
|
-
StackedColumnDirective,
|
|
608
|
-
StackedColumnsDirective,
|
|
609
|
-
ColumnDirective,
|
|
610
|
-
ColumnsDirective,
|
|
611
|
-
AggregateColumnDirective,
|
|
612
|
-
AggregateColumnsDirective,
|
|
613
|
-
AggregateDirective,
|
|
614
|
-
AggregatesDirective] });
|
|
615
|
-
TreeGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TreeGridModule, imports: [[CommonModule]] });
|
|
616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TreeGridModule, decorators: [{
|
|
617
|
-
type: NgModule,
|
|
618
|
-
args: [{
|
|
619
|
-
imports: [CommonModule],
|
|
620
|
-
declarations: [
|
|
621
|
-
TreeGridComponent,
|
|
622
|
-
StackedColumnDirective,
|
|
623
|
-
StackedColumnsDirective,
|
|
624
|
-
ColumnDirective,
|
|
625
|
-
ColumnsDirective,
|
|
626
|
-
AggregateColumnDirective,
|
|
627
|
-
AggregateColumnsDirective,
|
|
628
|
-
AggregateDirective,
|
|
629
|
-
AggregatesDirective
|
|
630
|
-
],
|
|
631
|
-
exports: [
|
|
632
|
-
TreeGridComponent,
|
|
633
|
-
StackedColumnDirective,
|
|
634
|
-
StackedColumnsDirective,
|
|
635
|
-
ColumnDirective,
|
|
636
|
-
ColumnsDirective,
|
|
637
|
-
AggregateColumnDirective,
|
|
638
|
-
AggregateColumnsDirective,
|
|
639
|
-
AggregateDirective,
|
|
640
|
-
AggregatesDirective
|
|
641
|
-
]
|
|
642
|
-
}]
|
|
643
|
-
}] });
|
|
644
|
-
|
|
645
|
-
const FilterService = { provide: 'TreeGridFilter', useValue: Filter };
|
|
646
|
-
const PageService = { provide: 'TreeGridPage', useValue: Page };
|
|
647
|
-
const SortService = { provide: 'TreeGridSort', useValue: Sort };
|
|
648
|
-
const ReorderService = { provide: 'TreeGridReorder', useValue: Reorder };
|
|
649
|
-
const ToolbarService = { provide: 'TreeGridToolbar', useValue: Toolbar };
|
|
650
|
-
const AggregateService = { provide: 'TreeGridAggregate', useValue: Aggregate };
|
|
651
|
-
const ResizeService = { provide: 'TreeGridResize', useValue: Resize };
|
|
652
|
-
const ColumnMenuService = { provide: 'TreeGridColumnMenu', useValue: ColumnMenu };
|
|
653
|
-
const ExcelExportService = { provide: 'TreeGridExcelExport', useValue: ExcelExport };
|
|
654
|
-
const PdfExportService = { provide: 'TreeGridPdfExport', useValue: PdfExport };
|
|
655
|
-
const CommandColumnService = { provide: 'TreeGridCommandColumn', useValue: CommandColumn };
|
|
656
|
-
const ContextMenuService = { provide: 'TreeGridContextMenu', useValue: ContextMenu };
|
|
657
|
-
const EditService = { provide: 'TreeGridEdit', useValue: Edit };
|
|
658
|
-
const SelectionService = { provide: 'TreeGridSelection', useValue: Selection };
|
|
659
|
-
const VirtualScrollService = { provide: 'TreeGridVirtualScroll', useValue: VirtualScroll };
|
|
660
|
-
const DetailRowService = { provide: 'TreeGridDetailRow', useValue: DetailRow };
|
|
661
|
-
const RowDDService = { provide: 'TreeGridRowDD', useValue: RowDD };
|
|
662
|
-
const FreezeService = { provide: 'TreeGridFreeze', useValue: Freeze };
|
|
663
|
-
const ColumnChooserService = { provide: 'TreeGridColumnChooser', useValue: ColumnChooser };
|
|
664
|
-
const LoggerService = { provide: 'TreeGridLogger', useValue: Logger };
|
|
665
|
-
const InfiniteScrollService = { provide: 'TreeGridInfiniteScroll', useValue: InfiniteScroll };
|
|
666
|
-
/**
|
|
667
|
-
* NgModule definition for the TreeGrid component with providers.
|
|
668
|
-
*/
|
|
669
|
-
class TreeGridAllModule {
|
|
670
|
-
}
|
|
671
|
-
TreeGridAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TreeGridAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
672
|
-
TreeGridAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TreeGridAllModule, imports: [CommonModule, TreeGridModule], exports: [TreeGridModule] });
|
|
673
|
-
TreeGridAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TreeGridAllModule, providers: [
|
|
674
|
-
FilterService,
|
|
675
|
-
PageService,
|
|
676
|
-
SortService,
|
|
677
|
-
ReorderService,
|
|
678
|
-
ToolbarService,
|
|
679
|
-
AggregateService,
|
|
680
|
-
ResizeService,
|
|
681
|
-
ColumnMenuService,
|
|
682
|
-
ExcelExportService,
|
|
683
|
-
PdfExportService,
|
|
684
|
-
CommandColumnService,
|
|
685
|
-
ContextMenuService,
|
|
686
|
-
EditService,
|
|
687
|
-
SelectionService,
|
|
688
|
-
VirtualScrollService,
|
|
689
|
-
DetailRowService,
|
|
690
|
-
RowDDService,
|
|
691
|
-
FreezeService,
|
|
692
|
-
ColumnChooserService,
|
|
693
|
-
LoggerService,
|
|
694
|
-
InfiniteScrollService
|
|
695
|
-
], imports: [[CommonModule, TreeGridModule], TreeGridModule] });
|
|
696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TreeGridAllModule, decorators: [{
|
|
697
|
-
type: NgModule,
|
|
698
|
-
args: [{
|
|
699
|
-
imports: [CommonModule, TreeGridModule],
|
|
700
|
-
exports: [
|
|
701
|
-
TreeGridModule
|
|
702
|
-
],
|
|
703
|
-
providers: [
|
|
704
|
-
FilterService,
|
|
705
|
-
PageService,
|
|
706
|
-
SortService,
|
|
707
|
-
ReorderService,
|
|
708
|
-
ToolbarService,
|
|
709
|
-
AggregateService,
|
|
710
|
-
ResizeService,
|
|
711
|
-
ColumnMenuService,
|
|
712
|
-
ExcelExportService,
|
|
713
|
-
PdfExportService,
|
|
714
|
-
CommandColumnService,
|
|
715
|
-
ContextMenuService,
|
|
716
|
-
EditService,
|
|
717
|
-
SelectionService,
|
|
718
|
-
VirtualScrollService,
|
|
719
|
-
DetailRowService,
|
|
720
|
-
RowDDService,
|
|
721
|
-
FreezeService,
|
|
722
|
-
ColumnChooserService,
|
|
723
|
-
LoggerService,
|
|
724
|
-
InfiniteScrollService
|
|
725
|
-
]
|
|
726
|
-
}]
|
|
727
|
-
}] });
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* Generated bundle index. Do not edit.
|
|
731
|
-
*/
|
|
732
|
-
|
|
733
|
-
export { AggregateColumnDirective, AggregateColumnsDirective, AggregateDirective, AggregateService, AggregatesDirective, ColumnChooserService, ColumnDirective, ColumnMenuService, ColumnsDirective, CommandColumnService, ContextMenuService, DetailRowService, EditService, ExcelExportService, FilterService, FreezeService, InfiniteScrollService, LoggerService, PageService, PdfExportService, ReorderService, ResizeService, RowDDService, SelectionService, SortService, StackedColumnDirective, StackedColumnsDirective, ToolbarService, TreeGridAllModule, TreeGridComponent, TreeGridModule, VirtualScrollService };
|
|
734
|
-
//# sourceMappingURL=syncfusion-ej2-angular-treegrid.mjs.map
|