@syncfusion/ej2-angular-grids 19.3.47 → 19.3.55
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-grids.es5.js +189 -67
- package/@syncfusion/ej2-angular-grids.es5.js.map +1 -1
- package/@syncfusion/ej2-angular-grids.js +177 -64
- package/@syncfusion/ej2-angular-grids.js.map +1 -1
- package/CHANGELOG.md +38 -0
- package/dist/ej2-angular-grids.umd.js +194 -68
- package/dist/ej2-angular-grids.umd.js.map +1 -1
- package/dist/ej2-angular-grids.umd.min.js +2 -2
- package/dist/ej2-angular-grids.umd.min.js.map +1 -1
- package/ej2-angular-grids.metadata.json +1 -1
- package/package.json +8 -8
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/grid/columns.directive.d.ts +9 -0
- package/src/grid/stacked-column.directive.d.ts +461 -0
- package/src/index.d.ts +1 -0
- package/styles/bootstrap5-dark.css +1 -0
- package/styles/bootstrap5.css +1 -0
- package/styles/excel-filter/bootstrap5-dark.css +1 -0
- package/styles/excel-filter/bootstrap5.css +1 -0
- package/styles/grid/bootstrap5-dark.css +1 -0
- package/styles/grid/bootstrap5.css +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,44 @@
|
|
|
6
6
|
|
|
7
7
|
#### Bug Fixes
|
|
8
8
|
|
|
9
|
+
- `#F170201` - Passed `groupcaption` details in the `exportGroupCaption` event arguments.
|
|
10
|
+
- `#I347287` - Maximum call stack issue occurs when checkbox columns set visible property as false for first column has been fixed.
|
|
11
|
+
- `#I347439` - The last row bottom border issue in Frozen right part has been fixed.
|
|
12
|
+
- `#I348589` - Changing grid height programmatically throws script error while scrolling issue has been fixed.
|
|
13
|
+
|
|
14
|
+
## 19.3.54 (2021-11-17)
|
|
15
|
+
|
|
16
|
+
### Grid
|
|
17
|
+
|
|
18
|
+
#### Bug Fixes
|
|
19
|
+
|
|
20
|
+
- `#I346575` - Command button click event argument type not returned properly is fixed.
|
|
21
|
+
- `#I347290` - Persist selection is not working properly when enable selection dynamically is fixed.
|
|
22
|
+
- `#I344276` - `HTMLtag` is not disable properly in tooltip has been fixed.
|
|
23
|
+
- `#I346882` - Throws script error while enabling with `filterbarTemplate` with `ShowFilterBarOperator` is fixed.
|
|
24
|
+
- `#F170007` - Autofit issue while render empty records has been fixed.
|
|
25
|
+
- `#I345285` - Footer aggregate is not aligned properly has been fixed.
|
|
26
|
+
|
|
27
|
+
#### New Features
|
|
28
|
+
|
|
29
|
+
- `#I338539` - Provided the tag helper support for single level stacked header in Angular Grid.
|
|
30
|
+
|
|
31
|
+
## 19.3.48 (2021-11-02)
|
|
32
|
+
|
|
33
|
+
### Grid
|
|
34
|
+
|
|
35
|
+
#### Bug Fixes
|
|
36
|
+
|
|
37
|
+
- `#I345881` - Script error while reordering with the column `virtualization` is resolved.
|
|
38
|
+
- `#I345229` - `expandAll` and `CollapseAll` in grouping issue has been fixed.
|
|
39
|
+
- `#I343503` - row Selected data is incorrect while apply Sorting and Grouping is fixed.
|
|
40
|
+
|
|
41
|
+
## 19.3.47 (2021-10-26)
|
|
42
|
+
|
|
43
|
+
### Grid
|
|
44
|
+
|
|
45
|
+
#### Bug Fixes
|
|
46
|
+
|
|
9
47
|
- `#I345516` - Grid sort icon overlapping with column header text in `boostrap5` theme issue has been fixed.
|
|
10
48
|
- `#I341348` - Provided the support for clearing all the Grid actions.
|
|
11
49
|
- `#I344299` - Grid data is not loaded when using custom binding with `Infinitescrolling` is fixed.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-angular-grids.umd.js
|
|
3
|
-
* version : 19.3.
|
|
3
|
+
* version : 19.3.55
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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
|
|
@@ -40,23 +40,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
40
40
|
var input = ['allowEditing', 'allowFiltering', 'allowGrouping', 'allowReordering', 'allowResizing', 'allowSearching', 'allowSorting', 'autoFit', 'clipMode', 'columns', 'commands', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'edit', 'editTemplate', 'editType', 'enableGroupByFormat', 'field', 'filter', 'filterBarTemplate', 'filterTemplate', 'foreignKeyField', 'foreignKeyValue', 'format', 'formatter', 'freeze', 'headerTemplate', 'headerText', 'headerTextAlign', 'headerValueAccessor', 'hideAtMedia', 'index', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'lockColumn', 'maxWidth', 'minWidth', 'showColumnMenu', 'showInColumnChooser', 'sortComparer', 'template', 'textAlign', 'type', 'uid', 'validationRules', 'valueAccessor', 'visible', 'width'];
|
|
41
41
|
var outputs = [];
|
|
42
42
|
/**
|
|
43
|
-
* `e-column` directive represent
|
|
44
|
-
* It must be contained in a
|
|
43
|
+
* `e-stacked-column` directive represent the stacked column of the Angular Grid.
|
|
44
|
+
* It must be contained in a StackedColumns component(`e-stacked-columns`).
|
|
45
45
|
* ```html
|
|
46
46
|
* <ejs-grid [dataSource]='data' allowPaging='true' allowSorting='true'>
|
|
47
47
|
* <e-columns>
|
|
48
|
-
*
|
|
49
|
-
*
|
|
48
|
+
* <e-column field='ID' width='100'></e-column>
|
|
49
|
+
* <e-column headerText='Details' width='100'>
|
|
50
|
+
* <e-stacked-columns>
|
|
51
|
+
* <e-stacked-column field='Name' width='140'></e-stacked-column>
|
|
52
|
+
* </e-stacked-columns>
|
|
53
|
+
* </e-column>
|
|
50
54
|
* </e-columns>
|
|
51
55
|
* </ejs-grid>
|
|
52
56
|
* ```
|
|
53
57
|
*/
|
|
54
|
-
var
|
|
55
|
-
__extends(
|
|
58
|
+
var StackedColumnDirective = /** @class */ (function (_super) {
|
|
59
|
+
__extends(StackedColumnDirective, _super);
|
|
56
60
|
/**
|
|
57
61
|
* @param {?} viewContainerRef
|
|
58
62
|
*/
|
|
59
|
-
function
|
|
63
|
+
function StackedColumnDirective(viewContainerRef) {
|
|
60
64
|
var _this = _super.call(this) || this;
|
|
61
65
|
_this.viewContainerRef = viewContainerRef;
|
|
62
66
|
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
@@ -64,11 +68,11 @@ var ColumnDirective = /** @class */ (function (_super) {
|
|
|
64
68
|
_this.directivePropList = input;
|
|
65
69
|
return _this;
|
|
66
70
|
}
|
|
67
|
-
return
|
|
71
|
+
return StackedColumnDirective;
|
|
68
72
|
}(ej2AngularBase.ComplexBase));
|
|
69
|
-
|
|
73
|
+
StackedColumnDirective.decorators = [
|
|
70
74
|
{ type: core.Directive, args: [{
|
|
71
|
-
selector: 'ejs-grid>e-columns>e-column',
|
|
75
|
+
selector: 'ejs-grid>e-columns>e-column>e-stacked-columns>e-stacked-column',
|
|
72
76
|
inputs: input,
|
|
73
77
|
outputs: outputs,
|
|
74
78
|
queries: {}
|
|
@@ -77,10 +81,10 @@ ColumnDirective.decorators = [
|
|
|
77
81
|
/**
|
|
78
82
|
* @nocollapse
|
|
79
83
|
*/
|
|
80
|
-
|
|
84
|
+
StackedColumnDirective.ctorParameters = function () { return [
|
|
81
85
|
{ type: core.ViewContainerRef, },
|
|
82
86
|
]; };
|
|
83
|
-
|
|
87
|
+
StackedColumnDirective.propDecorators = {
|
|
84
88
|
'template': [{ type: core.ContentChild, args: ['template',] },],
|
|
85
89
|
'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
|
|
86
90
|
'commandsTemplate': [{ type: core.ContentChild, args: ['commandsTemplate',] },],
|
|
@@ -91,26 +95,140 @@ ColumnDirective.propDecorators = {
|
|
|
91
95
|
__decorate([
|
|
92
96
|
ej2AngularBase.Template(),
|
|
93
97
|
__metadata("design:type", Object)
|
|
94
|
-
],
|
|
98
|
+
], StackedColumnDirective.prototype, "template", void 0);
|
|
95
99
|
__decorate([
|
|
96
100
|
ej2AngularBase.Template(),
|
|
97
101
|
__metadata("design:type", Object)
|
|
98
|
-
],
|
|
102
|
+
], StackedColumnDirective.prototype, "headerTemplate", void 0);
|
|
99
103
|
__decorate([
|
|
100
104
|
ej2AngularBase.Template(),
|
|
101
105
|
__metadata("design:type", Object)
|
|
102
|
-
],
|
|
106
|
+
], StackedColumnDirective.prototype, "commandsTemplate", void 0);
|
|
103
107
|
__decorate([
|
|
104
108
|
ej2AngularBase.Template(),
|
|
105
109
|
__metadata("design:type", Object)
|
|
106
|
-
],
|
|
110
|
+
], StackedColumnDirective.prototype, "filter_itemTemplate", void 0);
|
|
107
111
|
__decorate([
|
|
108
112
|
ej2AngularBase.Template(),
|
|
109
113
|
__metadata("design:type", Object)
|
|
110
|
-
],
|
|
114
|
+
], StackedColumnDirective.prototype, "editTemplate", void 0);
|
|
111
115
|
__decorate([
|
|
112
116
|
ej2AngularBase.Template(),
|
|
113
117
|
__metadata("design:type", Object)
|
|
118
|
+
], StackedColumnDirective.prototype, "filterTemplate", void 0);
|
|
119
|
+
/**
|
|
120
|
+
* StackedColumn Array Directive
|
|
121
|
+
*/
|
|
122
|
+
var StackedColumnsDirective = /** @class */ (function (_super) {
|
|
123
|
+
__extends(StackedColumnsDirective, _super);
|
|
124
|
+
function StackedColumnsDirective() {
|
|
125
|
+
return _super.call(this, 'columns') || this;
|
|
126
|
+
}
|
|
127
|
+
return StackedColumnsDirective;
|
|
128
|
+
}(ej2AngularBase.ArrayBase));
|
|
129
|
+
StackedColumnsDirective.decorators = [
|
|
130
|
+
{ type: core.Directive, args: [{
|
|
131
|
+
selector: 'ejs-grid>e-columns>e-column>e-stacked-columns',
|
|
132
|
+
queries: {
|
|
133
|
+
children: new core.ContentChildren(StackedColumnDirective)
|
|
134
|
+
},
|
|
135
|
+
},] },
|
|
136
|
+
];
|
|
137
|
+
/**
|
|
138
|
+
* @nocollapse
|
|
139
|
+
*/
|
|
140
|
+
StackedColumnsDirective.ctorParameters = function () { return []; };
|
|
141
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
142
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
143
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
144
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
145
|
+
else
|
|
146
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
147
|
+
if (d = decorators[i])
|
|
148
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
149
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
150
|
+
};
|
|
151
|
+
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
152
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
153
|
+
return Reflect.metadata(k, v);
|
|
154
|
+
};
|
|
155
|
+
var input$1 = ['allowEditing', 'allowFiltering', 'allowGrouping', 'allowReordering', 'allowResizing', 'allowSearching', 'allowSorting', 'autoFit', 'clipMode', 'columns', 'commands', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'edit', 'editTemplate', 'editType', 'enableGroupByFormat', 'field', 'filter', 'filterBarTemplate', 'filterTemplate', 'foreignKeyField', 'foreignKeyValue', 'format', 'formatter', 'freeze', 'headerTemplate', 'headerText', 'headerTextAlign', 'headerValueAccessor', 'hideAtMedia', 'index', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'lockColumn', 'maxWidth', 'minWidth', 'showColumnMenu', 'showInColumnChooser', 'sortComparer', 'template', 'textAlign', 'type', 'uid', 'validationRules', 'valueAccessor', 'visible', 'width'];
|
|
156
|
+
var outputs$1 = [];
|
|
157
|
+
/**
|
|
158
|
+
* `e-column` directive represent a column of the Angular Grid.
|
|
159
|
+
* It must be contained in a Grid component(`ejs-grid`).
|
|
160
|
+
* ```html
|
|
161
|
+
* <ejs-grid [dataSource]='data' allowPaging='true' allowSorting='true'>
|
|
162
|
+
* <e-columns>
|
|
163
|
+
* <e-column field='ID' width='100'></e-column>
|
|
164
|
+
* <e-column field='name' headerText='Name' width='100'></e-column>
|
|
165
|
+
* </e-columns>
|
|
166
|
+
* </ejs-grid>
|
|
167
|
+
* ```
|
|
168
|
+
*/
|
|
169
|
+
var ColumnDirective = /** @class */ (function (_super) {
|
|
170
|
+
__extends(ColumnDirective, _super);
|
|
171
|
+
/**
|
|
172
|
+
* @param {?} viewContainerRef
|
|
173
|
+
*/
|
|
174
|
+
function ColumnDirective(viewContainerRef) {
|
|
175
|
+
var _this = _super.call(this) || this;
|
|
176
|
+
_this.viewContainerRef = viewContainerRef;
|
|
177
|
+
_this.tags = ['columns'];
|
|
178
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
179
|
+
_this.registerEvents(outputs$1);
|
|
180
|
+
_this.directivePropList = input$1;
|
|
181
|
+
return _this;
|
|
182
|
+
}
|
|
183
|
+
return ColumnDirective;
|
|
184
|
+
}(ej2AngularBase.ComplexBase));
|
|
185
|
+
ColumnDirective.decorators = [
|
|
186
|
+
{ type: core.Directive, args: [{
|
|
187
|
+
selector: 'ejs-grid>e-columns>e-column',
|
|
188
|
+
inputs: input$1,
|
|
189
|
+
outputs: outputs$1,
|
|
190
|
+
queries: {
|
|
191
|
+
childColumns: new core.ContentChild(StackedColumnsDirective)
|
|
192
|
+
}
|
|
193
|
+
},] },
|
|
194
|
+
];
|
|
195
|
+
/**
|
|
196
|
+
* @nocollapse
|
|
197
|
+
*/
|
|
198
|
+
ColumnDirective.ctorParameters = function () { return [
|
|
199
|
+
{ type: core.ViewContainerRef, },
|
|
200
|
+
]; };
|
|
201
|
+
ColumnDirective.propDecorators = {
|
|
202
|
+
'template': [{ type: core.ContentChild, args: ['template',] },],
|
|
203
|
+
'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
|
|
204
|
+
'commandsTemplate': [{ type: core.ContentChild, args: ['commandsTemplate',] },],
|
|
205
|
+
'filter_itemTemplate': [{ type: core.ContentChild, args: ['filterItemTemplate',] },],
|
|
206
|
+
'editTemplate': [{ type: core.ContentChild, args: ['editTemplate',] },],
|
|
207
|
+
'filterTemplate': [{ type: core.ContentChild, args: ['filterTemplate',] },],
|
|
208
|
+
};
|
|
209
|
+
__decorate$1([
|
|
210
|
+
ej2AngularBase.Template(),
|
|
211
|
+
__metadata$1("design:type", Object)
|
|
212
|
+
], ColumnDirective.prototype, "template", void 0);
|
|
213
|
+
__decorate$1([
|
|
214
|
+
ej2AngularBase.Template(),
|
|
215
|
+
__metadata$1("design:type", Object)
|
|
216
|
+
], ColumnDirective.prototype, "headerTemplate", void 0);
|
|
217
|
+
__decorate$1([
|
|
218
|
+
ej2AngularBase.Template(),
|
|
219
|
+
__metadata$1("design:type", Object)
|
|
220
|
+
], ColumnDirective.prototype, "commandsTemplate", void 0);
|
|
221
|
+
__decorate$1([
|
|
222
|
+
ej2AngularBase.Template(),
|
|
223
|
+
__metadata$1("design:type", Object)
|
|
224
|
+
], ColumnDirective.prototype, "filter_itemTemplate", void 0);
|
|
225
|
+
__decorate$1([
|
|
226
|
+
ej2AngularBase.Template(),
|
|
227
|
+
__metadata$1("design:type", Object)
|
|
228
|
+
], ColumnDirective.prototype, "editTemplate", void 0);
|
|
229
|
+
__decorate$1([
|
|
230
|
+
ej2AngularBase.Template(),
|
|
231
|
+
__metadata$1("design:type", Object)
|
|
114
232
|
], ColumnDirective.prototype, "filterTemplate", void 0);
|
|
115
233
|
/**
|
|
116
234
|
* Column Array Directive
|
|
@@ -134,7 +252,7 @@ ColumnsDirective.decorators = [
|
|
|
134
252
|
* @nocollapse
|
|
135
253
|
*/
|
|
136
254
|
ColumnsDirective.ctorParameters = function () { return []; };
|
|
137
|
-
var __decorate$
|
|
255
|
+
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
138
256
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
139
257
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
140
258
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -144,12 +262,12 @@ var __decorate$1 = (this && this.__decorate) || function (decorators, target, ke
|
|
|
144
262
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
145
263
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
146
264
|
};
|
|
147
|
-
var __metadata$
|
|
265
|
+
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
|
148
266
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
149
267
|
return Reflect.metadata(k, v);
|
|
150
268
|
};
|
|
151
|
-
var input$
|
|
152
|
-
var outputs$
|
|
269
|
+
var input$2 = ['columnName', 'customAggregate', 'field', 'footerTemplate', 'format', 'groupCaptionTemplate', 'groupFooterTemplate', 'type'];
|
|
270
|
+
var outputs$2 = [];
|
|
153
271
|
/**
|
|
154
272
|
* `e-aggregate->e-column` directive represent a aggregate column of the Angular Grid.
|
|
155
273
|
* ```html
|
|
@@ -177,8 +295,8 @@ var AggregateColumnDirective = /** @class */ (function (_super) {
|
|
|
177
295
|
var _this = _super.call(this) || this;
|
|
178
296
|
_this.viewContainerRef = viewContainerRef;
|
|
179
297
|
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
180
|
-
_this.registerEvents(outputs$
|
|
181
|
-
_this.directivePropList = input$
|
|
298
|
+
_this.registerEvents(outputs$2);
|
|
299
|
+
_this.directivePropList = input$2;
|
|
182
300
|
return _this;
|
|
183
301
|
}
|
|
184
302
|
return AggregateColumnDirective;
|
|
@@ -186,8 +304,8 @@ var AggregateColumnDirective = /** @class */ (function (_super) {
|
|
|
186
304
|
AggregateColumnDirective.decorators = [
|
|
187
305
|
{ type: core.Directive, args: [{
|
|
188
306
|
selector: 'ejs-grid>e-aggregates>e-aggregate>e-columns>e-column',
|
|
189
|
-
inputs: input$
|
|
190
|
-
outputs: outputs$
|
|
307
|
+
inputs: input$2,
|
|
308
|
+
outputs: outputs$2,
|
|
191
309
|
queries: {}
|
|
192
310
|
},] },
|
|
193
311
|
];
|
|
@@ -202,17 +320,17 @@ AggregateColumnDirective.propDecorators = {
|
|
|
202
320
|
'groupFooterTemplate': [{ type: core.ContentChild, args: ['groupFooterTemplate',] },],
|
|
203
321
|
'groupCaptionTemplate': [{ type: core.ContentChild, args: ['groupCaptionTemplate',] },],
|
|
204
322
|
};
|
|
205
|
-
__decorate$
|
|
323
|
+
__decorate$2([
|
|
206
324
|
ej2AngularBase.Template(),
|
|
207
|
-
__metadata$
|
|
325
|
+
__metadata$2("design:type", Object)
|
|
208
326
|
], AggregateColumnDirective.prototype, "footerTemplate", void 0);
|
|
209
|
-
__decorate$
|
|
327
|
+
__decorate$2([
|
|
210
328
|
ej2AngularBase.Template(),
|
|
211
|
-
__metadata$
|
|
329
|
+
__metadata$2("design:type", Object)
|
|
212
330
|
], AggregateColumnDirective.prototype, "groupFooterTemplate", void 0);
|
|
213
|
-
__decorate$
|
|
331
|
+
__decorate$2([
|
|
214
332
|
ej2AngularBase.Template(),
|
|
215
|
-
__metadata$
|
|
333
|
+
__metadata$2("design:type", Object)
|
|
216
334
|
], AggregateColumnDirective.prototype, "groupCaptionTemplate", void 0);
|
|
217
335
|
/**
|
|
218
336
|
* AggregateColumn Array Directive
|
|
@@ -236,8 +354,8 @@ AggregateColumnsDirective.decorators = [
|
|
|
236
354
|
* @nocollapse
|
|
237
355
|
*/
|
|
238
356
|
AggregateColumnsDirective.ctorParameters = function () { return []; };
|
|
239
|
-
var input$
|
|
240
|
-
var outputs$
|
|
357
|
+
var input$3 = ['columns'];
|
|
358
|
+
var outputs$3 = [];
|
|
241
359
|
/**
|
|
242
360
|
* `e-aggregate` directive represent a aggregate row of the Angular Grid.
|
|
243
361
|
* It must be contained in a Grid component(`ejs-grid`).
|
|
@@ -267,8 +385,8 @@ var AggregateDirective = /** @class */ (function (_super) {
|
|
|
267
385
|
_this.viewContainerRef = viewContainerRef;
|
|
268
386
|
_this.tags = ['columns'];
|
|
269
387
|
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
270
|
-
_this.registerEvents(outputs$
|
|
271
|
-
_this.directivePropList = input$
|
|
388
|
+
_this.registerEvents(outputs$3);
|
|
389
|
+
_this.directivePropList = input$3;
|
|
272
390
|
return _this;
|
|
273
391
|
}
|
|
274
392
|
return AggregateDirective;
|
|
@@ -276,8 +394,8 @@ var AggregateDirective = /** @class */ (function (_super) {
|
|
|
276
394
|
AggregateDirective.decorators = [
|
|
277
395
|
{ type: core.Directive, args: [{
|
|
278
396
|
selector: 'ejs-grid>e-aggregates>e-aggregate',
|
|
279
|
-
inputs: input$
|
|
280
|
-
outputs: outputs$
|
|
397
|
+
inputs: input$3,
|
|
398
|
+
outputs: outputs$3,
|
|
281
399
|
queries: {
|
|
282
400
|
childColumns: new core.ContentChild(AggregateColumnsDirective)
|
|
283
401
|
}
|
|
@@ -311,7 +429,7 @@ AggregatesDirective.decorators = [
|
|
|
311
429
|
* @nocollapse
|
|
312
430
|
*/
|
|
313
431
|
AggregatesDirective.ctorParameters = function () { return []; };
|
|
314
|
-
var __decorate$
|
|
432
|
+
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
315
433
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
316
434
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
317
435
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -321,12 +439,12 @@ var __decorate$2 = (this && this.__decorate) || function (decorators, target, ke
|
|
|
321
439
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
322
440
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
323
441
|
};
|
|
324
|
-
var __metadata$
|
|
442
|
+
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
|
325
443
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
326
444
|
return Reflect.metadata(k, v);
|
|
327
445
|
};
|
|
328
446
|
var inputs = ['aggregates', 'allowExcelExport', 'allowFiltering', 'allowGrouping', 'allowKeyboard', 'allowMultiSorting', 'allowPaging', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTextWrap', 'childGrid', 'clipMode', 'columnChooserSettings', 'columnMenuItems', 'columnQueryMode', 'columns', 'contextMenuItems', 'currencyCode', 'currentAction', 'dataSource', 'detailTemplate', 'editSettings', 'ej2StatePersistenceVersion', 'enableAdaptiveUI', 'enableAltRow', 'enableAutoFill', 'enableColumnVirtualization', 'enableHeaderFocus', 'enableHover', 'enableImmutableMode', 'enableInfiniteScrolling', 'enablePersistence', 'enableRtl', 'enableStickyHeader', 'enableVirtualization', 'filterSettings', 'frozenColumns', 'frozenRows', 'gridLines', 'groupSettings', 'height', 'hierarchyPrintMode', 'infiniteScrollSettings', 'locale', 'pageSettings', 'pagerTemplate', 'parentDetails', 'printMode', 'query', 'queryString', 'resizeSettings', 'rowDropSettings', 'rowHeight', 'rowRenderingMode', 'rowTemplate', 'searchSettings', 'selectedRowIndex', 'selectionSettings', 'showColumnChooser', 'showColumnMenu', 'sortSettings', 'textWrapSettings', 'toolbar', 'toolbarTemplate', 'width'];
|
|
329
|
-
var outputs$
|
|
447
|
+
var outputs$4 = ['actionBegin', 'actionComplete', 'actionFailure', 'batchAdd', 'batchCancel', 'batchDelete', 'beforeAutoFill', 'beforeBatchAdd', 'beforeBatchDelete', 'beforeBatchSave', 'beforeCopy', 'beforeDataBound', 'beforeExcelExport', 'beforeOpenAdaptiveDialog', 'beforeOpenColumnChooser', 'beforePaste', 'beforePdfExport', 'beforePrint', 'beginEdit', 'cellDeselected', 'cellDeselecting', 'cellEdit', 'cellSave', 'cellSaved', 'cellSelected', 'cellSelecting', 'checkBoxChange', 'columnDataStateChange', 'columnDeselected', 'columnDeselecting', 'columnDrag', 'columnDragStart', 'columnDrop', 'columnMenuClick', 'columnMenuOpen', 'columnSelected', 'columnSelecting', 'commandClick', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataBound', 'dataSourceChanged', 'dataStateChange', 'destroyed', 'detailDataBound', 'excelAggregateQueryCellInfo', 'excelExportComplete', 'excelHeaderQueryCellInfo', 'excelQueryCellInfo', 'exportDetailDataBound', 'exportGroupCaption', 'headerCellInfo', 'keyPressed', 'lazyLoadGroupCollapse', 'lazyLoadGroupExpand', 'load', 'pdfAggregateQueryCellInfo', 'pdfExportComplete', 'pdfHeaderQueryCellInfo', 'pdfQueryCellInfo', 'printComplete', 'queryCellInfo', 'recordClick', 'recordDoubleClick', 'resizeStart', 'resizeStop', 'resizing', 'rowDataBound', 'rowDeselected', 'rowDeselecting', 'rowDrag', 'rowDragStart', 'rowDragStartHelper', 'rowDrop', 'rowSelected', 'rowSelecting', 'toolbarClick', 'dataSourceChange'];
|
|
330
448
|
var twoWays = ['dataSource'];
|
|
331
449
|
/**
|
|
332
450
|
* `ejs-grid` represents the Angular Grid Component.
|
|
@@ -519,7 +637,7 @@ exports.GridComponent = /** @class */ (function (_super) {
|
|
|
519
637
|
}
|
|
520
638
|
}
|
|
521
639
|
catch (_z) { }
|
|
522
|
-
_this.registerEvents(outputs$
|
|
640
|
+
_this.registerEvents(outputs$4);
|
|
523
641
|
_this.addTwoWay.call(_this, twoWays);
|
|
524
642
|
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
525
643
|
_this.context = new ej2AngularBase.ComponentBase();
|
|
@@ -559,7 +677,7 @@ exports.GridComponent.decorators = [
|
|
|
559
677
|
{ type: core.Component, args: [{
|
|
560
678
|
selector: 'ejs-grid',
|
|
561
679
|
inputs: inputs,
|
|
562
|
-
outputs: outputs$
|
|
680
|
+
outputs: outputs$4,
|
|
563
681
|
template: '',
|
|
564
682
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
565
683
|
queries: {
|
|
@@ -585,33 +703,33 @@ exports.GridComponent.propDecorators = {
|
|
|
585
703
|
'editSettings_template': [{ type: core.ContentChild, args: ['editSettingsTemplate',] },],
|
|
586
704
|
'groupSettings_captionTemplate': [{ type: core.ContentChild, args: ['groupSettingsCaptionTemplate',] },],
|
|
587
705
|
};
|
|
588
|
-
__decorate$
|
|
706
|
+
__decorate$3([
|
|
589
707
|
ej2AngularBase.Template(),
|
|
590
|
-
__metadata$
|
|
708
|
+
__metadata$3("design:type", Object)
|
|
591
709
|
], exports.GridComponent.prototype, "rowTemplate", void 0);
|
|
592
|
-
__decorate$
|
|
710
|
+
__decorate$3([
|
|
593
711
|
ej2AngularBase.Template(),
|
|
594
|
-
__metadata$
|
|
712
|
+
__metadata$3("design:type", Object)
|
|
595
713
|
], exports.GridComponent.prototype, "detailTemplate", void 0);
|
|
596
|
-
__decorate$
|
|
714
|
+
__decorate$3([
|
|
597
715
|
ej2AngularBase.Template(),
|
|
598
|
-
__metadata$
|
|
716
|
+
__metadata$3("design:type", Object)
|
|
599
717
|
], exports.GridComponent.prototype, "toolbarTemplate", void 0);
|
|
600
|
-
__decorate$
|
|
718
|
+
__decorate$3([
|
|
601
719
|
ej2AngularBase.Template(),
|
|
602
|
-
__metadata$
|
|
720
|
+
__metadata$3("design:type", Object)
|
|
603
721
|
], exports.GridComponent.prototype, "pagerTemplate", void 0);
|
|
604
|
-
__decorate$
|
|
722
|
+
__decorate$3([
|
|
605
723
|
ej2AngularBase.Template(),
|
|
606
|
-
__metadata$
|
|
724
|
+
__metadata$3("design:type", Object)
|
|
607
725
|
], exports.GridComponent.prototype, "editSettings_template", void 0);
|
|
608
|
-
__decorate$
|
|
726
|
+
__decorate$3([
|
|
609
727
|
ej2AngularBase.Template(),
|
|
610
|
-
__metadata$
|
|
728
|
+
__metadata$3("design:type", Object)
|
|
611
729
|
], exports.GridComponent.prototype, "groupSettings_captionTemplate", void 0);
|
|
612
|
-
exports.GridComponent = __decorate$
|
|
730
|
+
exports.GridComponent = __decorate$3([
|
|
613
731
|
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
614
|
-
__metadata$
|
|
732
|
+
__metadata$3("design:paramtypes", [core.ElementRef,
|
|
615
733
|
core.Renderer2,
|
|
616
734
|
core.ViewContainerRef,
|
|
617
735
|
core.Injector])
|
|
@@ -629,6 +747,8 @@ GridModule.decorators = [
|
|
|
629
747
|
imports: [common.CommonModule],
|
|
630
748
|
declarations: [
|
|
631
749
|
exports.GridComponent,
|
|
750
|
+
StackedColumnDirective,
|
|
751
|
+
StackedColumnsDirective,
|
|
632
752
|
ColumnDirective,
|
|
633
753
|
ColumnsDirective,
|
|
634
754
|
AggregateColumnDirective,
|
|
@@ -638,6 +758,8 @@ GridModule.decorators = [
|
|
|
638
758
|
],
|
|
639
759
|
exports: [
|
|
640
760
|
exports.GridComponent,
|
|
761
|
+
StackedColumnDirective,
|
|
762
|
+
StackedColumnsDirective,
|
|
641
763
|
ColumnDirective,
|
|
642
764
|
ColumnsDirective,
|
|
643
765
|
AggregateColumnDirective,
|
|
@@ -721,7 +843,7 @@ GridAllModule.decorators = [
|
|
|
721
843
|
* @nocollapse
|
|
722
844
|
*/
|
|
723
845
|
GridAllModule.ctorParameters = function () { return []; };
|
|
724
|
-
var __decorate$
|
|
846
|
+
var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
725
847
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
726
848
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
727
849
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -731,12 +853,12 @@ var __decorate$3 = (this && this.__decorate) || function (decorators, target, ke
|
|
|
731
853
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
732
854
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
733
855
|
};
|
|
734
|
-
var __metadata$
|
|
856
|
+
var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
|
735
857
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
736
858
|
return Reflect.metadata(k, v);
|
|
737
859
|
};
|
|
738
860
|
var inputs$1 = ['currentPage', 'customText', 'enableExternalMessage', 'enablePagerMessage', 'enablePersistence', 'enableQueryString', 'enableRtl', 'externalMessage', 'locale', 'pageCount', 'pageSize', 'pageSizes', 'template', 'totalRecordsCount'];
|
|
739
|
-
var outputs$
|
|
861
|
+
var outputs$5 = ['click', 'created', 'dropDownChanged'];
|
|
740
862
|
var twoWays$1 = [];
|
|
741
863
|
/**
|
|
742
864
|
* `ejs-pager` represents the Angular Pager Component.
|
|
@@ -760,7 +882,7 @@ exports.PagerComponent = /** @class */ (function (_super) {
|
|
|
760
882
|
_this.injector = injector;
|
|
761
883
|
_this.element = _this.ngEle.nativeElement;
|
|
762
884
|
_this.injectedModules = _this.injectedModules || [];
|
|
763
|
-
_this.registerEvents(outputs$
|
|
885
|
+
_this.registerEvents(outputs$5);
|
|
764
886
|
_this.addTwoWay.call(_this, twoWays$1);
|
|
765
887
|
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
766
888
|
_this.context = new ej2AngularBase.ComponentBase();
|
|
@@ -796,7 +918,7 @@ exports.PagerComponent.decorators = [
|
|
|
796
918
|
{ type: core.Component, args: [{
|
|
797
919
|
selector: 'ejs-pager',
|
|
798
920
|
inputs: inputs$1,
|
|
799
|
-
outputs: outputs$
|
|
921
|
+
outputs: outputs$5,
|
|
800
922
|
template: '',
|
|
801
923
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
802
924
|
queries: {}
|
|
@@ -814,13 +936,13 @@ exports.PagerComponent.ctorParameters = function () { return [
|
|
|
814
936
|
exports.PagerComponent.propDecorators = {
|
|
815
937
|
'template': [{ type: core.ContentChild, args: ['template',] },],
|
|
816
938
|
};
|
|
817
|
-
__decorate$
|
|
939
|
+
__decorate$4([
|
|
818
940
|
ej2AngularBase.Template(),
|
|
819
|
-
__metadata$
|
|
941
|
+
__metadata$4("design:type", Object)
|
|
820
942
|
], exports.PagerComponent.prototype, "template", void 0);
|
|
821
|
-
exports.PagerComponent = __decorate$
|
|
943
|
+
exports.PagerComponent = __decorate$4([
|
|
822
944
|
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
823
|
-
__metadata$
|
|
945
|
+
__metadata$4("design:paramtypes", [core.ElementRef,
|
|
824
946
|
core.Renderer2,
|
|
825
947
|
core.ViewContainerRef,
|
|
826
948
|
core.Injector])
|
|
@@ -870,6 +992,8 @@ PagerAllModule.decorators = [
|
|
|
870
992
|
*/
|
|
871
993
|
PagerAllModule.ctorParameters = function () { return []; };
|
|
872
994
|
|
|
995
|
+
exports.StackedColumnDirective = StackedColumnDirective;
|
|
996
|
+
exports.StackedColumnsDirective = StackedColumnsDirective;
|
|
873
997
|
exports.ColumnDirective = ColumnDirective;
|
|
874
998
|
exports.ColumnsDirective = ColumnsDirective;
|
|
875
999
|
exports.AggregateColumnDirective = AggregateColumnDirective;
|
|
@@ -905,9 +1029,9 @@ exports.LazyLoadGroupService = LazyLoadGroupService;
|
|
|
905
1029
|
exports.PagerModule = PagerModule;
|
|
906
1030
|
exports.PagerAllModule = PagerAllModule;
|
|
907
1031
|
exports.ɵa = inputs;
|
|
908
|
-
exports.ɵb = outputs$
|
|
1032
|
+
exports.ɵb = outputs$4;
|
|
909
1033
|
exports.ɵc = inputs$1;
|
|
910
|
-
exports.ɵd = outputs$
|
|
1034
|
+
exports.ɵd = outputs$5;
|
|
911
1035
|
exports.CheckBoxFilterBase = ej2Grids.CheckBoxFilterBase;
|
|
912
1036
|
exports.ExcelFilterBase = ej2Grids.ExcelFilterBase;
|
|
913
1037
|
exports.SortDescriptor = ej2Grids.SortDescriptor;
|
|
@@ -1383,6 +1507,8 @@ exports.InfiniteScroll = ej2Grids.InfiniteScroll;
|
|
|
1383
1507
|
exports.LazyLoadGroup = ej2Grids.LazyLoadGroup;
|
|
1384
1508
|
exports.Column = ej2Grids.Column;
|
|
1385
1509
|
exports.CommandColumnModel = ej2Grids.CommandColumnModel;
|
|
1510
|
+
exports.GridColumn = ej2Grids.GridColumn;
|
|
1511
|
+
exports.StackedColumn = ej2Grids.StackedColumn;
|
|
1386
1512
|
exports.Row = ej2Grids.Row;
|
|
1387
1513
|
exports.Cell = ej2Grids.Cell;
|
|
1388
1514
|
exports.HeaderRender = ej2Grids.HeaderRender;
|