@progress/kendo-angular-grid 13.2.0 → 13.2.1-develop.10
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/esm2020/columns/column-list.mjs +1 -1
- package/esm2020/dragdrop/drag-hint.service.mjs +11 -11
- package/esm2020/filtering/filter-row.component.mjs +6 -2
- package/esm2020/grid.component.mjs +19 -7
- package/esm2020/navigation/logical-row.directive.mjs +34 -6
- package/esm2020/navigation/navigation-cursor.mjs +23 -1
- package/esm2020/navigation/navigation.service.mjs +6 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/rendering/footer/footer.component.mjs +7 -2
- package/esm2020/rendering/header/header.component.mjs +13 -14
- package/esm2020/rendering/list.component.mjs +5 -1
- package/esm2020/rendering/table-body.component.mjs +34 -14
- package/fesm2015/progress-kendo-angular-grid.mjs +158 -63
- package/fesm2020/progress-kendo-angular-grid.mjs +156 -63
- package/filtering/filter-row.component.d.ts +1 -0
- package/navigation/logical-row.directive.d.ts +5 -1
- package/navigation/navigation-cursor.d.ts +3 -1
- package/package.json +16 -16
- package/rendering/footer/footer.component.d.ts +3 -1
- package/rendering/header/header.component.d.ts +3 -1
- package/rendering/table-body.component.d.ts +4 -2
- package/schematics/ngAdd/index.js +3 -3
|
@@ -659,6 +659,20 @@ class NavigationCursor {
|
|
|
659
659
|
this.virtualCol = 0;
|
|
660
660
|
this.virtualRow = 0;
|
|
661
661
|
}
|
|
662
|
+
set metadata(value) {
|
|
663
|
+
this._metadata = value;
|
|
664
|
+
if (isPresent(value)) {
|
|
665
|
+
const newActiveCol = value.hasDetailTemplate ? 1 : 0;
|
|
666
|
+
const shouldChange = this.activeRow < value.headerRows && this.activeCol === 0;
|
|
667
|
+
if (shouldChange && newActiveCol !== this.activeCol) {
|
|
668
|
+
this.activeCol = newActiveCol;
|
|
669
|
+
this.reset();
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
get metadata() {
|
|
674
|
+
return this._metadata;
|
|
675
|
+
}
|
|
662
676
|
get row() {
|
|
663
677
|
return this.model.findRow(this.activeRow);
|
|
664
678
|
}
|
|
@@ -770,6 +784,10 @@ class NavigationCursor {
|
|
|
770
784
|
if (!cell && this.metadata.virtualColumns) {
|
|
771
785
|
return this.activate(nextRowIndex, nextColIndex);
|
|
772
786
|
}
|
|
787
|
+
if (!cell && this.metadata.hasDetailTemplate) {
|
|
788
|
+
this.virtualCol += 1;
|
|
789
|
+
return false;
|
|
790
|
+
}
|
|
773
791
|
if (cell.colSpan > 1 && cell.colIndex <= virtualCol && virtualCol < cell.colIndex + cell.colSpan) {
|
|
774
792
|
nextColIndex = offset > 0 ? Math.min(cell.colIndex + cell.colSpan, lastIndex) : Math.max(0, cell.colIndex + offset);
|
|
775
793
|
const nextCell = this.model.findCell(nextColIndex, prevRow);
|
|
@@ -802,6 +820,9 @@ class NavigationCursor {
|
|
|
802
820
|
if (nextRow) {
|
|
803
821
|
// remove duplication
|
|
804
822
|
let cell = this.model.findCell(this.virtualCol, nextRow);
|
|
823
|
+
if (!cell) {
|
|
824
|
+
return;
|
|
825
|
+
}
|
|
805
826
|
if (cell.rowIndex <= this.virtualRow && offset > 0 && cell.rowSpan > 1) {
|
|
806
827
|
cell = this.model.findCell(this.virtualCol, this.model.findRow(cell.rowIndex + cell.rowSpan - 1 + offset));
|
|
807
828
|
}
|
|
@@ -820,7 +841,7 @@ class NavigationCursor {
|
|
|
820
841
|
const nextPos = cell.rowIndex + cell.rowSpan - 1 + offset;
|
|
821
842
|
cell = this.model.findCell(this.virtualCol, this.model.findRow(nextPos));
|
|
822
843
|
}
|
|
823
|
-
if (!cell && this.metadata.virtualColumns) {
|
|
844
|
+
if (!cell && (this.metadata.virtualColumns || this.metadata.hasDetailTemplate)) {
|
|
824
845
|
return this.activate(this.virtualRow + offset, this.virtualCol);
|
|
825
846
|
}
|
|
826
847
|
this.virtualRow = cell.rowIndex;
|
|
@@ -1508,7 +1529,7 @@ const targetCell = (target, gridElement) => {
|
|
|
1508
1529
|
const cell = gridCell(target, gridElement);
|
|
1509
1530
|
const row = closest(cell, matchesNodeName('tr'));
|
|
1510
1531
|
if (cell && row) {
|
|
1511
|
-
let rowIndex = row.getAttribute('aria-rowindex');
|
|
1532
|
+
let rowIndex = row.getAttribute('aria-rowindex') || row.getAttribute('data-kendo-grid-row-index');
|
|
1512
1533
|
rowIndex = rowIndex ? parseInt(rowIndex, 10) - 1 : null;
|
|
1513
1534
|
let colIndex = cell.getAttribute('aria-colindex');
|
|
1514
1535
|
colIndex = colIndex ? parseInt(colIndex, 10) - 1 : null;
|
|
@@ -1909,7 +1930,11 @@ class NavigationService {
|
|
|
1909
1930
|
}
|
|
1910
1931
|
}
|
|
1911
1932
|
else {
|
|
1912
|
-
|
|
1933
|
+
let firstColumnIndex = 0;
|
|
1934
|
+
if (this.meta.hasDetailTemplate && row.index < this.meta.headerRows) {
|
|
1935
|
+
firstColumnIndex = 1;
|
|
1936
|
+
}
|
|
1937
|
+
this.cursor.reset(row.index, firstColumnIndex, false);
|
|
1913
1938
|
}
|
|
1914
1939
|
preventDefault = true;
|
|
1915
1940
|
break;
|
|
@@ -4397,8 +4422,8 @@ const packageMetadata = {
|
|
|
4397
4422
|
name: '@progress/kendo-angular-grid',
|
|
4398
4423
|
productName: 'Kendo UI for Angular',
|
|
4399
4424
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
4400
|
-
publishDate:
|
|
4401
|
-
version: '13.2.
|
|
4425
|
+
publishDate: 1690460595,
|
|
4426
|
+
version: '13.2.1-develop.10',
|
|
4402
4427
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
4403
4428
|
};
|
|
4404
4429
|
|
|
@@ -5099,7 +5124,7 @@ const filterHierarchy = (list, predicate) => {
|
|
|
5099
5124
|
}
|
|
5100
5125
|
}
|
|
5101
5126
|
});
|
|
5102
|
-
return result;
|
|
5127
|
+
return result.sort((a, b) => Number(b.locked) - Number(a.locked));
|
|
5103
5128
|
};
|
|
5104
5129
|
/**
|
|
5105
5130
|
* @hidden
|
|
@@ -6037,17 +6062,17 @@ const updateClass = (element, valid, svg) => {
|
|
|
6037
6062
|
const path = valid ? plusIcon.content : cancelIcon.content;
|
|
6038
6063
|
icon.firstElementChild.innerHTML = path + icon.firstElementChild.innerHTML;
|
|
6039
6064
|
}
|
|
6040
|
-
icon.
|
|
6065
|
+
icon.setAttribute('class', icon.getAttribute('class').replace(/(plus|cancel)/, valid ? 'plus' : 'cancel'));
|
|
6041
6066
|
};
|
|
6042
6067
|
const updateLock = (element, locked = null, svg) => {
|
|
6043
6068
|
const icon = element.querySelectorAll('.k-icon, .k-svg-icon')[1];
|
|
6044
6069
|
const value = locked === null ? '' : (locked ? `k${svg ? '-svg' : ''}-i-lock` : `k${svg ? '-svg' : ''}-i-unlock`);
|
|
6045
6070
|
if (svg) {
|
|
6046
|
-
icon.
|
|
6071
|
+
icon.setAttribute('class', icon.getAttribute('class').replace(/(k-svg-i-unlock|k-svg-i-lock)/, '').trim() + ` ${value}`);
|
|
6047
6072
|
icon.firstElementChild.innerHTML = locked ? lockIcon.content : unlockIcon.content;
|
|
6048
6073
|
}
|
|
6049
6074
|
else {
|
|
6050
|
-
icon.
|
|
6075
|
+
icon.setAttribute('class', icon.getAttribute('class').replace(/(k-i-unlock|k-i-lock)/, '').trim() + ` ${value}`);
|
|
6051
6076
|
}
|
|
6052
6077
|
};
|
|
6053
6078
|
const decorate = (element) => {
|
|
@@ -6063,15 +6088,15 @@ const svgIconsMarkup = (viewBox, content, safeTitle) => `
|
|
|
6063
6088
|
viewBox="${viewBox}"
|
|
6064
6089
|
aria-hidden="true">
|
|
6065
6090
|
${content}
|
|
6066
|
-
<span class="k-svg-icon k-icon-modifier">
|
|
6067
|
-
<svg
|
|
6068
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
6069
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
6070
|
-
viewBox="${viewBox}"
|
|
6071
|
-
aria-hidden="true">
|
|
6072
|
-
</svg>
|
|
6073
|
-
</span>
|
|
6074
6091
|
</svg>
|
|
6092
|
+
<span class="k-svg-icon k-icon-modifier">
|
|
6093
|
+
<svg
|
|
6094
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
6095
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
6096
|
+
viewBox="${viewBox}"
|
|
6097
|
+
aria-hidden="true">
|
|
6098
|
+
</svg>
|
|
6099
|
+
</span>
|
|
6075
6100
|
</span>
|
|
6076
6101
|
${safeTitle}`;
|
|
6077
6102
|
const fontIconsMarkup = (safeTitle) => `
|
|
@@ -14320,6 +14345,10 @@ class FilterRowComponent {
|
|
|
14320
14345
|
const columnName = column.title || column.field;
|
|
14321
14346
|
return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
|
|
14322
14347
|
}
|
|
14348
|
+
getLogicalColIndex(columnIndex) {
|
|
14349
|
+
const colIndex = this.lockedColumnsCount + columnIndex;
|
|
14350
|
+
return this.detailTemplate?.templateRef ? colIndex + 1 : colIndex;
|
|
14351
|
+
}
|
|
14323
14352
|
}
|
|
14324
14353
|
FilterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterRowComponent, deps: [{ token: ContextService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14325
14354
|
FilterRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FilterRowComponent, selector: "[kendoGridFilterRow]", inputs: { columns: "columns", filter: "filter", groups: "groups", detailTemplate: "detailTemplate", logicalRowIndex: "logicalRowIndex", lockedColumnsCount: "lockedColumnsCount" }, host: { properties: { "class.k-filter-row": "this.filterRowClass" } }, ngImport: i0, template: `
|
|
@@ -14346,7 +14375,7 @@ FilterRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
14346
14375
|
[filter]="filter"
|
|
14347
14376
|
kendoGridLogicalCell
|
|
14348
14377
|
[logicalRowIndex]="logicalRowIndex"
|
|
14349
|
-
[logicalColIndex]="
|
|
14378
|
+
[logicalColIndex]="getLogicalColIndex(columnIndex)"
|
|
14350
14379
|
></td>
|
|
14351
14380
|
`, isInline: true, components: [{ type: FilterCellComponent, selector: "[kendoGridFilterCell]", inputs: ["column", "filter", "size"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
14352
14381
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FilterRowComponent, decorators: [{
|
|
@@ -14377,7 +14406,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14377
14406
|
[filter]="filter"
|
|
14378
14407
|
kendoGridLogicalCell
|
|
14379
14408
|
[logicalRowIndex]="logicalRowIndex"
|
|
14380
|
-
[logicalColIndex]="
|
|
14409
|
+
[logicalColIndex]="getLogicalColIndex(columnIndex)"
|
|
14381
14410
|
></td>
|
|
14382
14411
|
`
|
|
14383
14412
|
}]
|
|
@@ -14419,16 +14448,35 @@ class LogicalRowDirective {
|
|
|
14419
14448
|
return this.logicalSlaveRow ? 'presentation' : 'row';
|
|
14420
14449
|
}
|
|
14421
14450
|
get ariaRowIndex() {
|
|
14422
|
-
return this.logicalRowIndex + 1;
|
|
14451
|
+
return this.logicalSlaveRow ? null : this.logicalRowIndex + 1;
|
|
14452
|
+
}
|
|
14453
|
+
get rowIndex() {
|
|
14454
|
+
return this.logicalSlaveRow ? this.logicalRowIndex + 1 : null;
|
|
14423
14455
|
}
|
|
14424
14456
|
get ariaOwns() {
|
|
14425
|
-
if (
|
|
14457
|
+
if (this.logicalSlaveRow || this.logicalSlaveCellsCount === 0) {
|
|
14426
14458
|
return undefined;
|
|
14427
14459
|
}
|
|
14428
14460
|
const ids = [];
|
|
14429
|
-
|
|
14430
|
-
|
|
14431
|
-
|
|
14461
|
+
if (this.dataRowIndex < 0) {
|
|
14462
|
+
let total = this.logicalCellsCount + this.logicalSlaveCellsCount;
|
|
14463
|
+
this.columnsArray.forEach(column => {
|
|
14464
|
+
if (column.isSpanColumn) {
|
|
14465
|
+
total += column.colspan - 1;
|
|
14466
|
+
}
|
|
14467
|
+
});
|
|
14468
|
+
for (let cellIndex = this.logicalCellsCount; cellIndex < total; cellIndex++) {
|
|
14469
|
+
ids.push(this.idService.cellId(this.logicalRowIndex, cellIndex));
|
|
14470
|
+
}
|
|
14471
|
+
}
|
|
14472
|
+
else {
|
|
14473
|
+
let columnIndex = 0;
|
|
14474
|
+
this.columnsArray.forEach(column => {
|
|
14475
|
+
if (!column.isLocked) {
|
|
14476
|
+
ids.push(this.idService.cellId(this.logicalRowIndex, columnIndex));
|
|
14477
|
+
}
|
|
14478
|
+
columnIndex += column.isSpanColumn ? column.colspan : 1;
|
|
14479
|
+
});
|
|
14432
14480
|
}
|
|
14433
14481
|
return ids.join(' ');
|
|
14434
14482
|
}
|
|
@@ -14450,9 +14498,12 @@ class LogicalRowDirective {
|
|
|
14450
14498
|
ngOnDestroy() {
|
|
14451
14499
|
this.navigation.unregisterRow(this.logicalRowIndex, this);
|
|
14452
14500
|
}
|
|
14501
|
+
get columnsArray() {
|
|
14502
|
+
return this.totalColumns?.allColumns.toArray() || [];
|
|
14503
|
+
}
|
|
14453
14504
|
}
|
|
14454
14505
|
LogicalRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LogicalRowDirective, deps: [{ token: IdService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14455
|
-
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "class.k-table-row": "this.tableRowClass", "attr.aria-owns": "this.ariaOwns" } }, usesOnChanges: true, ngImport: i0 });
|
|
14506
|
+
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem", totalColumns: "totalColumns" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "attr.data-kendo-grid-row-index": "this.rowIndex", "class.k-table-row": "this.tableRowClass", "attr.aria-owns": "this.ariaOwns" } }, usesOnChanges: true, ngImport: i0 });
|
|
14456
14507
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LogicalRowDirective, decorators: [{
|
|
14457
14508
|
type: Directive,
|
|
14458
14509
|
args: [{
|
|
@@ -14470,12 +14521,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14470
14521
|
type: Input
|
|
14471
14522
|
}], dataItem: [{
|
|
14472
14523
|
type: Input
|
|
14524
|
+
}], totalColumns: [{
|
|
14525
|
+
type: Input
|
|
14473
14526
|
}], hostRole: [{
|
|
14474
14527
|
type: HostBinding,
|
|
14475
14528
|
args: ['attr.role']
|
|
14476
14529
|
}], ariaRowIndex: [{
|
|
14477
14530
|
type: HostBinding,
|
|
14478
14531
|
args: ['attr.aria-rowindex']
|
|
14532
|
+
}], rowIndex: [{
|
|
14533
|
+
type: HostBinding,
|
|
14534
|
+
args: ['attr.data-kendo-grid-row-index']
|
|
14479
14535
|
}], tableRowClass: [{
|
|
14480
14536
|
type: HostBinding,
|
|
14481
14537
|
args: ['class.k-table-row']
|
|
@@ -15266,26 +15322,23 @@ class HeaderComponent {
|
|
|
15266
15322
|
}
|
|
15267
15323
|
}
|
|
15268
15324
|
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderComponent, deps: [{ token: SinglePopupService }, { token: DragHintService }, { token: DropCueService }, { token: ColumnReorderService }, { token: IdService }, { token: SortService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15269
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HeaderComponent, selector: "[kendoGridHeader]", inputs: { totalColumnLevels: "totalColumnLevels", columns: "columns", groups: "groups", detailTemplate: "detailTemplate", scrollable: "scrollable", filterable: "filterable", sort: "sort", filter: "filter", sortable: "sortable", groupable: "groupable", lockedColumnsCount: "lockedColumnsCount", resizable: "resizable", reorderable: "reorderable", columnMenu: "columnMenu", columnMenuTemplate: "columnMenuTemplate", totalColumnsCount: "totalColumnsCount", tabIndex: "tabIndex", size: "size" }, host: { properties: { "class.k-grid-header": "this.headerClass", "class.k-table-thead": "this.hostClass" } }, viewQueries: [{ propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }, { propertyName: "filterMenus", predicate: FilterMenuComponent, descendants: true }, { propertyName: "columnMenus", predicate: ColumnMenuComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
15325
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HeaderComponent, selector: "[kendoGridHeader]", inputs: { totalColumnLevels: "totalColumnLevels", columns: "columns", groups: "groups", detailTemplate: "detailTemplate", scrollable: "scrollable", filterable: "filterable", sort: "sort", filter: "filter", sortable: "sortable", groupable: "groupable", lockedColumnsCount: "lockedColumnsCount", resizable: "resizable", reorderable: "reorderable", columnMenu: "columnMenu", columnMenuTemplate: "columnMenuTemplate", totalColumnsCount: "totalColumnsCount", totalColumns: "totalColumns", tabIndex: "tabIndex", size: "size" }, host: { properties: { "class.k-grid-header": "this.headerClass", "class.k-table-thead": "this.hostClass" } }, viewQueries: [{ propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }, { propertyName: "filterMenus", predicate: FilterMenuComponent, descendants: true }, { propertyName: "columnMenus", predicate: ColumnMenuComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
15270
15326
|
<ng-container>
|
|
15271
15327
|
<tr *ngFor="let i of columnLevels; let levelIndex = index"
|
|
15272
15328
|
kendoGridLogicalRow
|
|
15273
15329
|
[logicalRowIndex]="levelIndex"
|
|
15274
15330
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
15275
15331
|
[logicalCellsCount]="columns.length"
|
|
15276
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
15332
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
15333
|
+
[totalColumns]="totalColumns">
|
|
15277
15334
|
<th
|
|
15278
15335
|
class="k-group-cell k-header k-table-th"
|
|
15279
15336
|
role="presentation"
|
|
15280
15337
|
*ngFor="let g of groups">
|
|
15281
15338
|
</th>
|
|
15282
15339
|
<th class="k-hierarchy-cell k-header k-table-th"
|
|
15283
|
-
role="
|
|
15340
|
+
role="presentation"
|
|
15284
15341
|
*ngIf="detailTemplate?.templateRef"
|
|
15285
|
-
kendoGridLogicalCell
|
|
15286
|
-
[logicalRowIndex]="levelIndex"
|
|
15287
|
-
[logicalColIndex]="0"
|
|
15288
|
-
aria-selected="false"
|
|
15289
15342
|
>
|
|
15290
15343
|
</th>
|
|
15291
15344
|
<ng-container *ngFor="let column of columnsForLevel(levelIndex); trackBy: trackByIndex; let columnIndex = index; let last = last;">
|
|
@@ -15489,9 +15542,10 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
15489
15542
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
15490
15543
|
[logicalCellsCount]="columns.length"
|
|
15491
15544
|
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
15545
|
+
[totalColumns]="totalColumns"
|
|
15492
15546
|
></tr>
|
|
15493
15547
|
</ng-container>
|
|
15494
|
-
`, isInline: true, components: [{ type: FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: ["column", "filter", "tabIndex"] }, { type: ColumnMenuComponent, selector: "kendo-grid-column-menu", inputs: ["standalone", "column", "settings", "sort", "filter", "sortable", "columnMenuTemplate", "tabIndex"] }, { type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: FilterRowComponent, selector: "[kendoGridFilterRow]", inputs: ["columns", "filter", "groups", "detailTemplate", "logicalRowIndex", "lockedColumnsCount"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: SelectAllCheckboxDirective, selector: "[kendoGridSelectAllCheckbox]", inputs: ["state"], outputs: ["selectAllChange"] }, { type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { type: ColumnHandleDirective, selector: "[kendoGridColumnHandle]", inputs: ["columns", "column"] }] });
|
|
15548
|
+
`, isInline: true, components: [{ type: FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: ["column", "filter", "tabIndex"] }, { type: ColumnMenuComponent, selector: "kendo-grid-column-menu", inputs: ["standalone", "column", "settings", "sort", "filter", "sortable", "columnMenuTemplate", "tabIndex"] }, { type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: FilterRowComponent, selector: "[kendoGridFilterRow]", inputs: ["columns", "filter", "groups", "detailTemplate", "logicalRowIndex", "lockedColumnsCount"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "totalColumns"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: SelectAllCheckboxDirective, selector: "[kendoGridSelectAllCheckbox]", inputs: ["state"], outputs: ["selectAllChange"] }, { type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { type: ColumnHandleDirective, selector: "[kendoGridColumnHandle]", inputs: ["columns", "column"] }] });
|
|
15495
15549
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
15496
15550
|
type: Component,
|
|
15497
15551
|
args: [{
|
|
@@ -15503,19 +15557,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15503
15557
|
[logicalRowIndex]="levelIndex"
|
|
15504
15558
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
15505
15559
|
[logicalCellsCount]="columns.length"
|
|
15506
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
15560
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
15561
|
+
[totalColumns]="totalColumns">
|
|
15507
15562
|
<th
|
|
15508
15563
|
class="k-group-cell k-header k-table-th"
|
|
15509
15564
|
role="presentation"
|
|
15510
15565
|
*ngFor="let g of groups">
|
|
15511
15566
|
</th>
|
|
15512
15567
|
<th class="k-hierarchy-cell k-header k-table-th"
|
|
15513
|
-
role="
|
|
15568
|
+
role="presentation"
|
|
15514
15569
|
*ngIf="detailTemplate?.templateRef"
|
|
15515
|
-
kendoGridLogicalCell
|
|
15516
|
-
[logicalRowIndex]="levelIndex"
|
|
15517
|
-
[logicalColIndex]="0"
|
|
15518
|
-
aria-selected="false"
|
|
15519
15570
|
>
|
|
15520
15571
|
</th>
|
|
15521
15572
|
<ng-container *ngFor="let column of columnsForLevel(levelIndex); trackBy: trackByIndex; let columnIndex = index; let last = last;">
|
|
@@ -15719,6 +15770,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15719
15770
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
15720
15771
|
[logicalCellsCount]="columns.length"
|
|
15721
15772
|
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
15773
|
+
[totalColumns]="totalColumns"
|
|
15722
15774
|
></tr>
|
|
15723
15775
|
</ng-container>
|
|
15724
15776
|
`
|
|
@@ -15755,6 +15807,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15755
15807
|
type: Input
|
|
15756
15808
|
}], totalColumnsCount: [{
|
|
15757
15809
|
type: Input
|
|
15810
|
+
}], totalColumns: [{
|
|
15811
|
+
type: Input
|
|
15758
15812
|
}], tabIndex: [{
|
|
15759
15813
|
type: Input
|
|
15760
15814
|
}], size: [{
|
|
@@ -16774,8 +16828,17 @@ class TableBodyComponent {
|
|
|
16774
16828
|
return this.editService.newDataItem;
|
|
16775
16829
|
}
|
|
16776
16830
|
// Number of unlocked columns in the next table, if any
|
|
16777
|
-
|
|
16778
|
-
|
|
16831
|
+
unlockedColumnsCount(item) {
|
|
16832
|
+
const allColumns = this.allColumns || this.columns;
|
|
16833
|
+
let allColumnsCount = allColumns.length;
|
|
16834
|
+
allColumns.forEach(column => {
|
|
16835
|
+
if (column.isSpanColumn) {
|
|
16836
|
+
allColumnsCount += column.colspan - 1;
|
|
16837
|
+
}
|
|
16838
|
+
});
|
|
16839
|
+
const contentColumnsCount = this.totalColumnsCount - this.lockedColumnsCount - allColumnsCount;
|
|
16840
|
+
const headerFooterColumnsCount = this.totalColumnsCount - this.lockedColumnsCount - (this.allColumns || this.columns).length;
|
|
16841
|
+
return item && this.isDataItem(item) ? contentColumnsCount : headerFooterColumnsCount;
|
|
16779
16842
|
}
|
|
16780
16843
|
isAriaSelected(item, column) {
|
|
16781
16844
|
return this.cellSelectionService.isCellSelected(item, column) ||
|
|
@@ -17069,14 +17132,15 @@ class TableBodyComponent {
|
|
|
17069
17132
|
}
|
|
17070
17133
|
}
|
|
17071
17134
|
TableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TableBodyComponent, deps: [{ token: DetailsService }, { token: GroupsService }, { token: ChangeNotificationService }, { token: EditService }, { token: ContextService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: DomEventsService }, { token: SelectionService }, { token: CellSelectionService }, { token: ColumnInfoService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17072
|
-
TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: { columns: "columns", allColumns: "allColumns", groups: "groups", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", data: "data", skip: "skip", selectable: "selectable", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", isLoading: "isLoading", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", skipGroupDecoration: "skipGroupDecoration", showGroupFooters: "showGroupFooters", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", trackBy: "trackBy", rowSticky: "rowSticky", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
17135
|
+
TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: { columns: "columns", allColumns: "allColumns", groups: "groups", detailTemplate: "detailTemplate", noRecordsTemplate: "noRecordsTemplate", data: "data", skip: "skip", selectable: "selectable", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", isLoading: "isLoading", isVirtual: "isVirtual", cellLoadingTemplate: "cellLoadingTemplate", skipGroupDecoration: "skipGroupDecoration", showGroupFooters: "showGroupFooters", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", trackBy: "trackBy", rowSticky: "rowSticky", totalColumns: "totalColumns", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
17073
17136
|
<ng-container *ngIf="editService.hasNewItem">
|
|
17074
17137
|
<tr class="k-grid-add-row k-grid-edit-row k-master-row"
|
|
17075
17138
|
kendoGridLogicalRow
|
|
17076
17139
|
[logicalRowIndex]="addRowLogicalIndex()"
|
|
17077
17140
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
17078
17141
|
[logicalCellsCount]="columns.length"
|
|
17079
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
17142
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount()"
|
|
17143
|
+
[totalColumns]="totalColumns">
|
|
17080
17144
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
17081
17145
|
<td class="k-group-cell k-table-td" *ngFor="let g of groups" role="presentation"></td>
|
|
17082
17146
|
</ng-container>
|
|
@@ -17138,6 +17202,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
17138
17202
|
kendoGridLogicalRow
|
|
17139
17203
|
[logicalRowIndex]="logicalRowIndex(rowIndex)"
|
|
17140
17204
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
17205
|
+
[totalColumns]="totalColumns"
|
|
17141
17206
|
[logicalCellsCount]="columns.length"
|
|
17142
17207
|
[logicalSlaveCellsCount]="groupHeaderSlaveCellsCount">
|
|
17143
17208
|
</tr>
|
|
@@ -17148,14 +17213,15 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
17148
17213
|
[dataItem]="item.data"
|
|
17149
17214
|
[logicalRowIndex]="logicalRowIndex(rowIndex)"
|
|
17150
17215
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
17216
|
+
[totalColumns]="totalColumns"
|
|
17151
17217
|
[logicalCellsCount]="columns.length"
|
|
17152
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
17218
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount(item)"
|
|
17153
17219
|
class="{{ isOdd(item) ? 'k-alt k-table-alt-row' : ''}}"
|
|
17154
17220
|
[class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"
|
|
17155
17221
|
[ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
|
|
17156
17222
|
[class.k-master-row]="true"
|
|
17157
17223
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
17158
|
-
[attr.aria-selected]="isSelectable() && isRowSelected(item)"
|
|
17224
|
+
[attr.aria-selected]="lockedColumnsCount < 1 ? isSelectable() && isRowSelected(item) : undefined"
|
|
17159
17225
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
17160
17226
|
[class.k-selected]="isSelectable() && isRowSelected(item)">
|
|
17161
17227
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
@@ -17200,7 +17266,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
17200
17266
|
[colSpan]="column.colspan"
|
|
17201
17267
|
role="gridcell"
|
|
17202
17268
|
class="k-table-td"
|
|
17203
|
-
[attr.aria-selected]="isSelectable() ? isAriaSelected(item, column) : undefined"
|
|
17269
|
+
[attr.aria-selected]="lockedColumnsCount < 1 && isSelectable() ? isAriaSelected(item, column) : undefined"
|
|
17204
17270
|
[class.k-grid-content-sticky]="column.sticky"
|
|
17205
17271
|
[class.k-touch-action-none]="isSelectable() && $any(selectable).drag"
|
|
17206
17272
|
[class.k-touch-action-auto]="!(isSelectable() && $any(selectable).drag)"
|
|
@@ -17257,8 +17323,9 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
17257
17323
|
kendoGridLogicalRow
|
|
17258
17324
|
[logicalRowIndex]="logicalRowIndex(rowIndex)"
|
|
17259
17325
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
17326
|
+
[totalColumns]="totalColumns"
|
|
17260
17327
|
[logicalCellsCount]="columns.length"
|
|
17261
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount">
|
|
17328
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount(item)">
|
|
17262
17329
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
17263
17330
|
<td class="k-group-cell" *ngFor="let g of groups"></td>
|
|
17264
17331
|
</ng-container>
|
|
@@ -17290,7 +17357,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
17290
17357
|
</tr>
|
|
17291
17358
|
</ng-container>
|
|
17292
17359
|
<kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>
|
|
17293
|
-
`, isInline: true, components: [{ type: CellComponent, selector: "[kendoGridCell]", inputs: ["column", "columnIndex", "isNew", "isLoading", "isVirtual", "loadingTemplate", "rowIndex", "dataItem"] }, { type: GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: ["rowIndex", "logicalRowIndex", "item", "skipGroupDecoration", "hasDetails", "totalColumnsCount", "hasGroupHeaderColumn", "groupHeaderColumns", "columns", "groups"] }, { type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i1$1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
17360
|
+
`, isInline: true, components: [{ type: CellComponent, selector: "[kendoGridCell]", inputs: ["column", "columnIndex", "isNew", "isLoading", "isVirtual", "loadingTemplate", "rowIndex", "dataItem"] }, { type: GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: ["rowIndex", "logicalRowIndex", "item", "skipGroupDecoration", "hasDetails", "totalColumnsCount", "hasGroupHeaderColumn", "groupHeaderColumns", "columns", "groups"] }, { type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i1$1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "totalColumns"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
17294
17361
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TableBodyComponent, decorators: [{
|
|
17295
17362
|
type: Component,
|
|
17296
17363
|
args: [{
|
|
@@ -17302,7 +17369,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17302
17369
|
[logicalRowIndex]="addRowLogicalIndex()"
|
|
17303
17370
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
17304
17371
|
[logicalCellsCount]="columns.length"
|
|
17305
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
17372
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount()"
|
|
17373
|
+
[totalColumns]="totalColumns">
|
|
17306
17374
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
17307
17375
|
<td class="k-group-cell k-table-td" *ngFor="let g of groups" role="presentation"></td>
|
|
17308
17376
|
</ng-container>
|
|
@@ -17364,6 +17432,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17364
17432
|
kendoGridLogicalRow
|
|
17365
17433
|
[logicalRowIndex]="logicalRowIndex(rowIndex)"
|
|
17366
17434
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
17435
|
+
[totalColumns]="totalColumns"
|
|
17367
17436
|
[logicalCellsCount]="columns.length"
|
|
17368
17437
|
[logicalSlaveCellsCount]="groupHeaderSlaveCellsCount">
|
|
17369
17438
|
</tr>
|
|
@@ -17374,14 +17443,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17374
17443
|
[dataItem]="item.data"
|
|
17375
17444
|
[logicalRowIndex]="logicalRowIndex(rowIndex)"
|
|
17376
17445
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
17446
|
+
[totalColumns]="totalColumns"
|
|
17377
17447
|
[logicalCellsCount]="columns.length"
|
|
17378
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount"
|
|
17448
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount(item)"
|
|
17379
17449
|
class="{{ isOdd(item) ? 'k-alt k-table-alt-row' : ''}}"
|
|
17380
17450
|
[class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"
|
|
17381
17451
|
[ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"
|
|
17382
17452
|
[class.k-master-row]="true"
|
|
17383
17453
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
17384
|
-
[attr.aria-selected]="isSelectable() && isRowSelected(item)"
|
|
17454
|
+
[attr.aria-selected]="lockedColumnsCount < 1 ? isSelectable() && isRowSelected(item) : undefined"
|
|
17385
17455
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
17386
17456
|
[class.k-selected]="isSelectable() && isRowSelected(item)">
|
|
17387
17457
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
@@ -17426,7 +17496,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17426
17496
|
[colSpan]="column.colspan"
|
|
17427
17497
|
role="gridcell"
|
|
17428
17498
|
class="k-table-td"
|
|
17429
|
-
[attr.aria-selected]="isSelectable() ? isAriaSelected(item, column) : undefined"
|
|
17499
|
+
[attr.aria-selected]="lockedColumnsCount < 1 && isSelectable() ? isAriaSelected(item, column) : undefined"
|
|
17430
17500
|
[class.k-grid-content-sticky]="column.sticky"
|
|
17431
17501
|
[class.k-touch-action-none]="isSelectable() && $any(selectable).drag"
|
|
17432
17502
|
[class.k-touch-action-auto]="!(isSelectable() && $any(selectable).drag)"
|
|
@@ -17483,8 +17553,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17483
17553
|
kendoGridLogicalRow
|
|
17484
17554
|
[logicalRowIndex]="logicalRowIndex(rowIndex)"
|
|
17485
17555
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
17556
|
+
[totalColumns]="totalColumns"
|
|
17486
17557
|
[logicalCellsCount]="columns.length"
|
|
17487
|
-
[logicalSlaveCellsCount]="unlockedColumnsCount">
|
|
17558
|
+
[logicalSlaveCellsCount]="unlockedColumnsCount(item)">
|
|
17488
17559
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
17489
17560
|
<td class="k-group-cell" *ngFor="let g of groups"></td>
|
|
17490
17561
|
</ng-container>
|
|
@@ -17560,6 +17631,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17560
17631
|
type: Input
|
|
17561
17632
|
}], rowSticky: [{
|
|
17562
17633
|
type: Input
|
|
17634
|
+
}], totalColumns: [{
|
|
17635
|
+
type: Input
|
|
17563
17636
|
}], hostClass: [{
|
|
17564
17637
|
type: HostBinding,
|
|
17565
17638
|
args: ['class.k-table-tbody']
|
|
@@ -18363,6 +18436,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
18363
18436
|
[noRecordsText]="''"
|
|
18364
18437
|
[columns]="$any(lockedLeafColumns)"
|
|
18365
18438
|
[totalColumnsCount]="leafColumns.length"
|
|
18439
|
+
[totalColumns]="columns"
|
|
18366
18440
|
[detailTemplate]="detailTemplate"
|
|
18367
18441
|
[showGroupFooters]="showFooter"
|
|
18368
18442
|
[skip]="skip"
|
|
@@ -18414,6 +18488,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
18414
18488
|
[noRecordsTemplate]="noRecordsTemplate"
|
|
18415
18489
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
18416
18490
|
[totalColumnsCount]="leafColumns.length"
|
|
18491
|
+
[totalColumns]="columns"
|
|
18417
18492
|
[skip]="skip"
|
|
18418
18493
|
[selectable]="selectable"
|
|
18419
18494
|
[trackBy]="trackBy"
|
|
@@ -18436,7 +18511,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
18436
18511
|
<div [style.width.px]="totalWidth"></div>
|
|
18437
18512
|
</div>
|
|
18438
18513
|
</div>
|
|
18439
|
-
`, isInline: true, components: [{ type: ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "rowClass"] }, { type: i1$1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }] });
|
|
18514
|
+
`, isInline: true, components: [{ type: ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "totalColumns", "rowClass"] }, { type: i1$1.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }] });
|
|
18440
18515
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ListComponent, decorators: [{
|
|
18441
18516
|
type: Component,
|
|
18442
18517
|
args: [{
|
|
@@ -18481,6 +18556,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
18481
18556
|
[noRecordsText]="''"
|
|
18482
18557
|
[columns]="$any(lockedLeafColumns)"
|
|
18483
18558
|
[totalColumnsCount]="leafColumns.length"
|
|
18559
|
+
[totalColumns]="columns"
|
|
18484
18560
|
[detailTemplate]="detailTemplate"
|
|
18485
18561
|
[showGroupFooters]="showFooter"
|
|
18486
18562
|
[skip]="skip"
|
|
@@ -18532,6 +18608,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
18532
18608
|
[noRecordsTemplate]="noRecordsTemplate"
|
|
18533
18609
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
18534
18610
|
[totalColumnsCount]="leafColumns.length"
|
|
18611
|
+
[totalColumns]="columns"
|
|
18535
18612
|
[skip]="skip"
|
|
18536
18613
|
[selectable]="selectable"
|
|
18537
18614
|
[trackBy]="trackBy"
|
|
@@ -18668,7 +18745,7 @@ class FooterComponent {
|
|
|
18668
18745
|
}
|
|
18669
18746
|
}
|
|
18670
18747
|
FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FooterComponent, deps: [{ token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18671
|
-
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FooterComponent, selector: "[kendoGridFooter]", inputs: { columns: "columns", groups: "groups", detailTemplate: "detailTemplate", scrollable: "scrollable", lockedColumnsCount: "lockedColumnsCount", logicalRowIndex: "logicalRowIndex" }, host: { properties: { "class.k-grid-footer": "this.footerClass", "class.k-table-tfoot": "this.hostClass", "attr.role": "this.hostRole" } }, ngImport: i0, template: `
|
|
18748
|
+
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FooterComponent, selector: "[kendoGridFooter]", inputs: { columns: "columns", groups: "groups", detailTemplate: "detailTemplate", scrollable: "scrollable", lockedColumnsCount: "lockedColumnsCount", logicalRowIndex: "logicalRowIndex", totalColumns: "totalColumns" }, host: { properties: { "class.k-grid-footer": "this.footerClass", "class.k-table-tfoot": "this.hostClass", "attr.role": "this.hostRole" } }, ngImport: i0, template: `
|
|
18672
18749
|
<ng-container>
|
|
18673
18750
|
<tr
|
|
18674
18751
|
[class.k-footer-template]="true"
|
|
@@ -18677,6 +18754,7 @@ FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
18677
18754
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
18678
18755
|
[logicalCellsCount]="columns.length"
|
|
18679
18756
|
[logicalSlaveCellsCount]="columns.length - lockedColumnsCount"
|
|
18757
|
+
[totalColumns]="totalColumns"
|
|
18680
18758
|
>
|
|
18681
18759
|
<td
|
|
18682
18760
|
class="k-table-td k-group-cell"
|
|
@@ -18710,7 +18788,7 @@ FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
18710
18788
|
</td>
|
|
18711
18789
|
</tr>
|
|
18712
18790
|
</ng-container>
|
|
18713
|
-
`, isInline: true, directives: [{ type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
18791
|
+
`, isInline: true, directives: [{ type: LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "totalColumns"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
18714
18792
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FooterComponent, decorators: [{
|
|
18715
18793
|
type: Component,
|
|
18716
18794
|
args: [{
|
|
@@ -18724,6 +18802,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
18724
18802
|
[logicalSlaveRow]="lockedColumnsCount > 0"
|
|
18725
18803
|
[logicalCellsCount]="columns.length"
|
|
18726
18804
|
[logicalSlaveCellsCount]="columns.length - lockedColumnsCount"
|
|
18805
|
+
[totalColumns]="totalColumns"
|
|
18727
18806
|
>
|
|
18728
18807
|
<td
|
|
18729
18808
|
class="k-table-td k-group-cell"
|
|
@@ -18771,6 +18850,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
18771
18850
|
type: Input
|
|
18772
18851
|
}], logicalRowIndex: [{
|
|
18773
18852
|
type: Input
|
|
18853
|
+
}], totalColumns: [{
|
|
18854
|
+
type: Input
|
|
18774
18855
|
}], footerClass: [{
|
|
18775
18856
|
type: HostBinding,
|
|
18776
18857
|
args: ['class.k-grid-footer']
|
|
@@ -21313,6 +21394,7 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
21313
21394
|
[columnMenu]="columnMenuOptions"
|
|
21314
21395
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
21315
21396
|
[totalColumnsCount]="leafColumns.length"
|
|
21397
|
+
[totalColumns]="columnsContainer"
|
|
21316
21398
|
[detailTemplate]="detailTemplate"
|
|
21317
21399
|
[tabIndex]="navigation.tableEnabled ? '-1' : '0'">
|
|
21318
21400
|
</thead>
|
|
@@ -21350,6 +21432,7 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
21350
21432
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
21351
21433
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
21352
21434
|
[totalColumnsCount]="leafColumns.length"
|
|
21435
|
+
[totalColumns]="columnsContainer"
|
|
21353
21436
|
[detailTemplate]="detailTemplate"
|
|
21354
21437
|
[tabIndex]="navigation.tableEnabled ? '-1' : '0'">
|
|
21355
21438
|
</thead>
|
|
@@ -21432,7 +21515,8 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
21432
21515
|
[groups]="group"
|
|
21433
21516
|
[columns]="$any(lockedLeafColumns)"
|
|
21434
21517
|
[detailTemplate]="detailTemplate"
|
|
21435
|
-
[logicalRowIndex]="ariaRowCount"
|
|
21518
|
+
[logicalRowIndex]="ariaRowCount"
|
|
21519
|
+
[totalColumns]="columnsContainer">
|
|
21436
21520
|
</tfoot>
|
|
21437
21521
|
</table>
|
|
21438
21522
|
</div>
|
|
@@ -21457,7 +21541,8 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
21457
21541
|
[groups]="isLocked ? [] : group"
|
|
21458
21542
|
[columns]="$any(nonLockedLeafColumns)"
|
|
21459
21543
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
21460
|
-
[detailTemplate]="detailTemplate"
|
|
21544
|
+
[detailTemplate]="detailTemplate"
|
|
21545
|
+
[totalColumns]="columnsContainer">
|
|
21461
21546
|
</tfoot>
|
|
21462
21547
|
</table>
|
|
21463
21548
|
</div>
|
|
@@ -21479,6 +21564,7 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
21479
21564
|
[scrollable]="false"
|
|
21480
21565
|
[columns]="$any(visibleColumns)"
|
|
21481
21566
|
[totalColumnLevels]="totalColumnLevels"
|
|
21567
|
+
[totalColumns]="columnsContainer"
|
|
21482
21568
|
[groups]="group"
|
|
21483
21569
|
[groupable]="showGroupPanel"
|
|
21484
21570
|
[reorderable]="reorderable"
|
|
@@ -21514,7 +21600,8 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
21514
21600
|
[logicalRowIndex]="ariaRowCount"
|
|
21515
21601
|
[groups]="group"
|
|
21516
21602
|
[columns]="$any(leafColumns)"
|
|
21517
|
-
[detailTemplate]="detailTemplate"
|
|
21603
|
+
[detailTemplate]="detailTemplate"
|
|
21604
|
+
[totalColumns]="columnsContainer">
|
|
21518
21605
|
</tfoot>
|
|
21519
21606
|
</table>
|
|
21520
21607
|
</ng-container>
|
|
@@ -21555,7 +21642,7 @@ GridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
21555
21642
|
</kendo-icon-wrapper>
|
|
21556
21643
|
{{hintText}}
|
|
21557
21644
|
</ng-template>
|
|
21558
|
-
`, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-grid-toolbar", inputs: ["position", "size", "navigable"] }, { type: PagerComponent, selector: "kendo-pager", inputs: ["total", "skip", "pageSize", "options", "size", "template"], outputs: ["pageChange"] }, { type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: ["text", "navigable", "groups"], outputs: ["change"] }, { type: ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { type: HeaderComponent, selector: "[kendoGridHeader]", inputs: ["totalColumnLevels", "columns", "groups", "detailTemplate", "scrollable", "filterable", "sort", "filter", "sortable", "groupable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount", "tabIndex", "size"] }, { type: ListComponent, selector: "kendo-grid-list", inputs: ["data", "groups", "total", "rowHeight", "stickyRowHeight", "detailRowHeight", "take", "skip", "columns", "detailTemplate", "noRecordsTemplate", "selectable", "groupable", "filterable", "rowClass", "rowSticky", "loading", "trackBy", "virtualColumns", "isVirtual", "cellLoadingTemplate", "loadingTemplate", "sort", "size"], outputs: ["contentScroll", "pageChange", "scrollBottom"] }, { type: FooterComponent, selector: "[kendoGridFooter]", inputs: ["columns", "groups", "detailTemplate", "scrollable", "lockedColumnsCount", "logicalRowIndex"] }, { type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "rowClass"] }, { type: LoadingComponent, selector: "[kendoGridLoading]", inputs: ["loadingTemplate"] }, { type: StatusBarComponent, selector: "kendo-grid-status-bar", inputs: ["statusBarTemplate"] }, { type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoGridLocalizedMessages]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }, { type: i41.DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: ["hint", "dragTargetFilter", "dragHandle", "dragDelay", "threshold", "dragTargetId", "dragData", "dragDisabled", "mode"], outputs: ["onDragReady", "onPress", "onDragStart", "onDrag", "onRelease", "onDragEnd"], exportAs: ["kendoDragTargetContainer"] }, { type: i41.DropTargetContainerDirective, selector: "[kendoDropTargetContainer]", inputs: ["dropTargetFilter", "dropDisabled"], outputs: ["onDragEnter", "onDragOver", "onDragLeave", "onDrop"], exportAs: ["kendoDropTargetContainer"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: GridMarqueeDirective, selector: "[kendoGridSelectionMarquee]" }], encapsulation: i0.ViewEncapsulation.None });
|
|
21645
|
+
`, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-grid-toolbar", inputs: ["position", "size", "navigable"] }, { type: PagerComponent, selector: "kendo-pager", inputs: ["total", "skip", "pageSize", "options", "size", "template"], outputs: ["pageChange"] }, { type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: ["text", "navigable", "groups"], outputs: ["change"] }, { type: ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { type: HeaderComponent, selector: "[kendoGridHeader]", inputs: ["totalColumnLevels", "columns", "groups", "detailTemplate", "scrollable", "filterable", "sort", "filter", "sortable", "groupable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount", "totalColumns", "tabIndex", "size"] }, { type: ListComponent, selector: "kendo-grid-list", inputs: ["data", "groups", "total", "rowHeight", "stickyRowHeight", "detailRowHeight", "take", "skip", "columns", "detailTemplate", "noRecordsTemplate", "selectable", "groupable", "filterable", "rowClass", "rowSticky", "loading", "trackBy", "virtualColumns", "isVirtual", "cellLoadingTemplate", "loadingTemplate", "sort", "size"], outputs: ["contentScroll", "pageChange", "scrollBottom"] }, { type: FooterComponent, selector: "[kendoGridFooter]", inputs: ["columns", "groups", "detailTemplate", "scrollable", "lockedColumnsCount", "logicalRowIndex", "totalColumns"] }, { type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "totalColumns", "rowClass"] }, { type: LoadingComponent, selector: "[kendoGridLoading]", inputs: ["loadingTemplate"] }, { type: StatusBarComponent, selector: "kendo-grid-status-bar", inputs: ["statusBarTemplate"] }, { type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoGridLocalizedMessages]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TableDirective, selector: "table", inputs: ["locked", "virtualColumns"] }, { type: GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }, { type: i41.DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: ["hint", "dragTargetFilter", "dragHandle", "dragDelay", "threshold", "dragTargetId", "dragData", "dragDisabled", "mode"], outputs: ["onDragReady", "onPress", "onDragStart", "onDrag", "onRelease", "onDragEnd"], exportAs: ["kendoDragTargetContainer"] }, { type: i41.DropTargetContainerDirective, selector: "[kendoDropTargetContainer]", inputs: ["dropTargetFilter", "dropDisabled"], outputs: ["onDragEnter", "onDragOver", "onDragLeave", "onDrop"], exportAs: ["kendoDropTargetContainer"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: GridMarqueeDirective, selector: "[kendoGridSelectionMarquee]" }], encapsulation: i0.ViewEncapsulation.None });
|
|
21559
21646
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GridComponent, decorators: [{
|
|
21560
21647
|
type: Component,
|
|
21561
21648
|
args: [{
|
|
@@ -21929,6 +22016,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
21929
22016
|
[columnMenu]="columnMenuOptions"
|
|
21930
22017
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
21931
22018
|
[totalColumnsCount]="leafColumns.length"
|
|
22019
|
+
[totalColumns]="columnsContainer"
|
|
21932
22020
|
[detailTemplate]="detailTemplate"
|
|
21933
22021
|
[tabIndex]="navigation.tableEnabled ? '-1' : '0'">
|
|
21934
22022
|
</thead>
|
|
@@ -21966,6 +22054,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
21966
22054
|
[columnMenuTemplate]="columnMenuTemplate"
|
|
21967
22055
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
21968
22056
|
[totalColumnsCount]="leafColumns.length"
|
|
22057
|
+
[totalColumns]="columnsContainer"
|
|
21969
22058
|
[detailTemplate]="detailTemplate"
|
|
21970
22059
|
[tabIndex]="navigation.tableEnabled ? '-1' : '0'">
|
|
21971
22060
|
</thead>
|
|
@@ -22048,7 +22137,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
22048
22137
|
[groups]="group"
|
|
22049
22138
|
[columns]="$any(lockedLeafColumns)"
|
|
22050
22139
|
[detailTemplate]="detailTemplate"
|
|
22051
|
-
[logicalRowIndex]="ariaRowCount"
|
|
22140
|
+
[logicalRowIndex]="ariaRowCount"
|
|
22141
|
+
[totalColumns]="columnsContainer">
|
|
22052
22142
|
</tfoot>
|
|
22053
22143
|
</table>
|
|
22054
22144
|
</div>
|
|
@@ -22073,7 +22163,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
22073
22163
|
[groups]="isLocked ? [] : group"
|
|
22074
22164
|
[columns]="$any(nonLockedLeafColumns)"
|
|
22075
22165
|
[lockedColumnsCount]="lockedLeafColumns.length"
|
|
22076
|
-
[detailTemplate]="detailTemplate"
|
|
22166
|
+
[detailTemplate]="detailTemplate"
|
|
22167
|
+
[totalColumns]="columnsContainer">
|
|
22077
22168
|
</tfoot>
|
|
22078
22169
|
</table>
|
|
22079
22170
|
</div>
|
|
@@ -22095,6 +22186,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
22095
22186
|
[scrollable]="false"
|
|
22096
22187
|
[columns]="$any(visibleColumns)"
|
|
22097
22188
|
[totalColumnLevels]="totalColumnLevels"
|
|
22189
|
+
[totalColumns]="columnsContainer"
|
|
22098
22190
|
[groups]="group"
|
|
22099
22191
|
[groupable]="showGroupPanel"
|
|
22100
22192
|
[reorderable]="reorderable"
|
|
@@ -22130,7 +22222,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
22130
22222
|
[logicalRowIndex]="ariaRowCount"
|
|
22131
22223
|
[groups]="group"
|
|
22132
22224
|
[columns]="$any(leafColumns)"
|
|
22133
|
-
[detailTemplate]="detailTemplate"
|
|
22225
|
+
[detailTemplate]="detailTemplate"
|
|
22226
|
+
[totalColumns]="columnsContainer">
|
|
22134
22227
|
</tfoot>
|
|
22135
22228
|
</table>
|
|
22136
22229
|
</ng-container>
|